@spfx-extensions/package 1.6.0 → 1.6.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.nvmrc +1 -1
- package/config/package-solution.json +2 -2
- package/dist/8d1029da-85e6-48cc-aaaf-37a5bbc0b9be.manifest.json +2 -2
- package/dist/d6ca1fc2-0591-4c6d-8a25-cae3262c017b.manifest.json +2 -2
- package/dist/debug/83e13c11-682e-4eaa-9ae0-74617ca28f96/Extension_8d1029da-85e6-48cc-aaaf-37a5bbc0b9be.xml +1 -1
- package/dist/debug/83e13c11-682e-4eaa-9ae0-74617ca28f96/WebPart_d6ca1fc2-0591-4c6d-8a25-cae3262c017b.xml +1 -1
- package/dist/debug/AppManifest.xml +1 -1
- package/dist/debug/ClientSideAssets/spfx-extension-application-customizer_2f30086b4bcdf92ad9a2.js +2 -0
- package/dist/debug/ClientSideAssets/spfx-extension-core.js +1 -1
- package/dist/debug/ClientSideAssets/spfx-extension-coreconfigurator.js +65 -65
- package/dist/debug/ClientSideAssets/spfx-extension-loader_b4583689ca9ee8de6592.js +2 -0
- package/dist/debug/ClientSideAssets/spfx-extension-wrapper.js +1 -1
- package/dist/debug/ClientSideAssets/spfx-extensionloader-web-part_e3a6a93dc899524b9f3f.js +3 -0
- package/dist/debug/ClientSideAssets.xml +1 -1
- package/dist/debug/ClientSideAssets.xml.config.xml +1 -1
- package/dist/debug/_rels/ClientSideAssets.xml.rels +1 -1
- package/dist/debug/feature_83e13c11-682e-4eaa-9ae0-74617ca28f96.xml +1 -1
- package/dist/debug/feature_83e13c11-682e-4eaa-9ae0-74617ca28f96.xml.config.xml +1 -1
- package/dist/deploy/sp-fx-extensions.sppkg +0 -0
- package/dist/spfx-extension-application-customizer_2f30086b4bcdf92ad9a2.js +2 -0
- package/dist/spfx-extension-core.js +1 -1
- package/dist/spfx-extension-coreconfigurator.js +65 -65
- package/dist/spfx-extension-loader_b4583689ca9ee8de6592.js +2 -0
- package/dist/spfx-extension-wrapper.js +1 -1
- package/dist/spfx-extensionloader-web-part_e3a6a93dc899524b9f3f.js +3 -0
- package/package.json +2 -2
- package/src/extensions/spfxExtension/SpfxExtensionApplicationCustomizer.ts +36 -18
- package/src/services/initCoreService.ts +33 -19
- package/src/webparts/spfxExtensionloader/SpfxExtensionloaderWebPart.ts +24 -11
- package/src/webparts/spfxExtensionloader/ai.json +38 -0
- package/dist/debug/ClientSideAssets/spfx-extension-application-customizer_5b7162422c4e8a79bbb6.js +0 -1
- package/dist/debug/ClientSideAssets/spfx-extension-loader_d4faf1b1a4f5916bf602.js +0 -3
- package/dist/debug/ClientSideAssets/spfx-extensionloader-web-part_2264673e9cb942d36fee.js +0 -3
- package/dist/spfx-extension-application-customizer_5b7162422c4e8a79bbb6.js +0 -1
- package/dist/spfx-extension-loader_d4faf1b1a4f5916bf602.js +0 -3
- package/dist/spfx-extensionloader-web-part_2264673e9cb942d36fee.js +0 -3
|
@@ -1,95 +1,95 @@
|
|
|
1
|
-
var Rf=Object.create;var{getPrototypeOf:Sf,defineProperty:Lt,getOwnPropertyNames:Df}=Object;var wf=Object.prototype.hasOwnProperty;var h6=(a,l,c)=>{c=a!=null?Rf(Sf(a)):{};let o=l||!a||!a.__esModule?Lt(c,"default",{value:a,enumerable:!0}):c;for(let e of Df(a))if(!wf.call(o,e))Lt(o,e,{get:()=>a[e],enumerable:!0});return o};var N2=(a,l)=>()=>(l||a((l={exports:{}}).exports,l),l.exports);var Rt=(a,l)=>{for(var c in l)Lt(a,c,{get:l[c],enumerable:!0,configurable:!0,set:(o)=>l[c]=()=>o})};var St=(a,l)=>()=>(a&&(l=a(a=0)),l);function j2(a,l){for(var c in l)a[c]=l[c];return a}function Bt(a){a&&a.parentNode&&a.parentNode.removeChild(a)}function e1(a,l,c){var o,e,r,t={};for(r in l)r=="key"?o=l[r]:r=="ref"?e=l[r]:t[r]=l[r];if(arguments.length>2&&(t.children=arguments.length>3?Ka.call(arguments,2):c),typeof a=="function"&&a.defaultProps!=null)for(r in a.defaultProps)t[r]===void 0&&(t[r]=a.defaultProps[r]);return Qa(a,t,o,e,null)}function Qa(a,l,c,o,e){var r={type:a,props:l,key:c,ref:o,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:e==null?++bn:e,__i:-1,__u:0};return e==null&&V1.vnode!=null&&V1.vnode(r),r}function _5(){return{current:null}}function m1(a){return a.children}function M5(a,l){this.props=a,this.context=l}function Z6(a,l){if(l==null)return a.__?Z6(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"?Z6(a):null}function Pn(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 Pn(a)}}function kt(a){(!a.__d&&(a.__d=!0)&&o4.push(a)&&!ho.__r++||Gn!=V1.debounceRendering)&&((Gn=V1.debounceRendering)||On)(ho)}function ho(){for(var a,l,c,o,e,r,t,h=1;o4.length;)o4.length>h&&o4.sort(En),a=o4.shift(),h=o4.length,a.__d&&(c=void 0,e=(o=(l=a).__v).__e,r=[],t=[],l.__P&&((c=j2({},o)).__v=o.__v+1,V1.vnode&&V1.vnode(c),Tt(l.__P,c,o,l.__n,l.__P.namespaceURI,32&o.__u?[e]:null,r,e==null?Z6(o):e,!!(32&o.__u),t),c.__v=o.__v,c.__.__k[c.__i]=c,Jn(r,c,t),c.__e!=e&&Pn(c)));ho.__r=0}function zn(a,l,c,o,e,r,t,h,Z,i,n){var v,d,m,s,p,M,u,A=o&&o.__k||qn,V=l.length;for(Z=yf(c,l,A,Z,V),v=0;v<V;v++)(m=c.__k[v])!=null&&(d=m.__i==-1?Ja:A[m.__i]||Ja,m.__i=v,M=Tt(a,m,d,e,r,t,h,Z,i,n),s=m.__e,m.ref&&d.ref!=m.ref&&(d.ref&&bt(d.ref,null,m),n.push(m.ref,m.__c||s,m)),p==null&&s!=null&&(p=s),(u=!!(4&m.__u))||d.__k===m.__k?Z=Qn(m,Z,a,u):typeof m.type=="function"&&M!==void 0?Z=M:s&&(Z=s.nextSibling),m.__u&=-7);return c.__e=p,Z}function yf(a,l,c,o,e){var r,t,h,Z,i,n=c.length,v=n,d=0;for(a.__k=new Array(e),r=0;r<e;r++)(t=l[r])!=null&&typeof t!="boolean"&&typeof t!="function"?(Z=r+d,(t=a.__k[r]=typeof t=="string"||typeof t=="number"||typeof t=="bigint"||t.constructor==String?Qa(null,t,null,null,null):$a(t)?Qa(m1,{children:t},null,null,null):t.constructor==null&&t.__b>0?Qa(t.type,t.props,t.key,t.ref?t.ref:null,t.__v):t).__=a,t.__b=a.__b+1,h=null,(i=t.__i=Uf(t,c,Z,v))!=-1&&(v--,(h=c[i])&&(h.__u|=2)),h==null||h.__v==null?(i==-1&&(e>n?d--:e<n&&d++),typeof t.type!="function"&&(t.__u|=4)):i!=Z&&(i==Z-1?d--:i==Z+1?d++:(i>Z?d--:d++,t.__u|=4))):a.__k[r]=null;if(v)for(r=0;r<n;r++)(h=c[r])!=null&&(2&h.__u)==0&&(h.__e==o&&(o=Z6(h)),$n(h,h));return o}function Qn(a,l,c,o){var e,r;if(typeof a.type=="function"){for(e=a.__k,r=0;e&&r<e.length;r++)e[r]&&(e[r].__=a,l=Qn(e[r],l,c,o));return l}a.__e!=l&&(o&&(l&&a.type&&!l.parentNode&&(l=Z6(a)),c.insertBefore(a.__e,l||null)),l=a.__e);do l=l&&l.nextSibling;while(l!=null&&l.nodeType==8);return l}function a7(a,l){return l=l||[],a==null||typeof a=="boolean"||($a(a)?a.some(function(c){a7(c,l)}):l.push(a)),l}function Uf(a,l,c,o){var e,r,t,h=a.key,Z=a.type,i=l[c],n=i!=null&&(2&i.__u)==0;if(i===null&&a.key==null||n&&h==i.key&&Z==i.type)return c;if(o>(n?1:0)){for(e=c-1,r=c+1;e>=0||r<l.length;)if((i=l[t=e>=0?e--:r++])!=null&&(2&i.__u)==0&&h==i.key&&Z==i.type)return t}return-1}function Bn(a,l,c){l[0]=="-"?a.setProperty(l,c==null?"":c):a[l]=c==null?"":typeof c!="number"||kf.test(l)?c:c+"px"}function to(a,l,c,o,e){var r,t;a:if(l=="style")if(typeof c=="string")a.style.cssText=c;else{if(typeof o=="string"&&(a.style.cssText=o=""),o)for(l in o)c&&l in c||Bn(a.style,l,"");if(c)for(l in c)o&&c[l]==o[l]||Bn(a.style,l,c[l])}else if(l[0]=="o"&&l[1]=="n")r=l!=(l=l.replace(Wn,"$1")),t=l.toLowerCase(),l=t in a||l=="onFocusOut"||l=="onFocusIn"?t.slice(2):l.slice(2),a.l||(a.l={}),a.l[l+r]=c,c?o?c.u=o.u:(c.u=Gt,a.addEventListener(l,r?wt:Dt,r)):a.removeEventListener(l,r?wt:Dt,r);else{if(e=="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(h){}typeof c=="function"||(c==null||c===!1&&l[4]!="-"?a.removeAttribute(l):a.setAttribute(l,l=="popover"&&c==1?"":c))}}function Tn(a){return function(l){if(this.l){var c=this.l[l.type+a];if(l.t==null)l.t=Gt++;else if(l.t<c.u)return;return c(V1.event?V1.event(l):l)}}}function Tt(a,l,c,o,e,r,t,h,Z,i){var n,v,d,m,s,p,M,u,A,V,H,g,S,C,E,T,c1,l1=l.type;if(l.constructor!=null)return null;128&c.__u&&(Z=!!(32&c.__u),r=[h=l.__e=c.__e]),(n=V1.__b)&&n(l);a:if(typeof l1=="function")try{if(u=l.props,A="prototype"in l1&&l1.prototype.render,V=(n=l1.contextType)&&o[n.__c],H=n?V?V.props.value:n.__:o,c.__c?M=(v=l.__c=c.__c).__=v.__E:(A?l.__c=v=new l1(u,H):(l.__c=v=new M5(u,H),v.constructor=l1,v.render=Bf),V&&V.sub(v),v.props=u,v.state||(v.state={}),v.context=H,v.__n=o,d=v.__d=!0,v.__h=[],v._sb=[]),A&&v.__s==null&&(v.__s=v.state),A&&l1.getDerivedStateFromProps!=null&&(v.__s==v.state&&(v.__s=j2({},v.__s)),j2(v.__s,l1.getDerivedStateFromProps(u,v.__s))),m=v.props,s=v.state,v.__v=l,d)A&&l1.getDerivedStateFromProps==null&&v.componentWillMount!=null&&v.componentWillMount(),A&&v.componentDidMount!=null&&v.__h.push(v.componentDidMount);else{if(A&&l1.getDerivedStateFromProps==null&&u!==m&&v.componentWillReceiveProps!=null&&v.componentWillReceiveProps(u,H),!v.__e&&v.shouldComponentUpdate!=null&&v.shouldComponentUpdate(u,v.__s,H)===!1||l.__v==c.__v){for(l.__v!=c.__v&&(v.props=u,v.state=v.__s,v.__d=!1),l.__e=c.__e,l.__k=c.__k,l.__k.some(function(Q){Q&&(Q.__=l)}),g=0;g<v._sb.length;g++)v.__h.push(v._sb[g]);v._sb=[],v.__h.length&&t.push(v);break a}v.componentWillUpdate!=null&&v.componentWillUpdate(u,v.__s,H),A&&v.componentDidUpdate!=null&&v.__h.push(function(){v.componentDidUpdate(m,s,p)})}if(v.context=H,v.props=u,v.__P=a,v.__e=!1,S=V1.__r,C=0,A){for(v.state=v.__s,v.__d=!1,S&&S(l),n=v.render(v.props,v.state,v.context),E=0;E<v._sb.length;E++)v.__h.push(v._sb[E]);v._sb=[]}else do v.__d=!1,S&&S(l),n=v.render(v.props,v.state,v.context),v.state=v.__s;while(v.__d&&++C<25);v.state=v.__s,v.getChildContext!=null&&(o=j2(j2({},o),v.getChildContext())),A&&!d&&v.getSnapshotBeforeUpdate!=null&&(p=v.getSnapshotBeforeUpdate(m,s)),T=n,n!=null&&n.type===m1&&n.key==null&&(T=Kn(n.props.children)),h=zn(a,$a(T)?T:[T],l,c,o,e,r,t,h,Z,i),v.base=l.__e,l.__u&=-161,v.__h.length&&t.push(v),M&&(v.__E=v.__=null)}catch(Q){if(l.__v=null,Z||r!=null)if(Q.then){for(l.__u|=Z?160:128;h&&h.nodeType==8&&h.nextSibling;)h=h.nextSibling;r[r.indexOf(h)]=null,l.__e=h}else{for(c1=r.length;c1--;)Bt(r[c1]);yt(l)}else l.__e=c.__e,l.__k=c.__k,Q.then||yt(l);V1.__e(Q,l,c)}else r==null&&l.__v==c.__v?(l.__k=c.__k,l.__e=c.__e):h=l.__e=Gf(c.__e,l,c,o,e,r,t,Z,i);return(n=V1.diffed)&&n(l),128&l.__u?void 0:h}function yt(a){a&&a.__c&&(a.__c.__e=!0),a&&a.__k&&a.__k.forEach(yt)}function Jn(a,l,c){for(var o=0;o<c.length;o++)bt(c[o],c[++o],c[++o]);V1.__c&&V1.__c(l,a),a.some(function(e){try{a=e.__h,e.__h=[],a.some(function(r){r.call(e)})}catch(r){V1.__e(r,e.__v)}})}function Kn(a){return typeof a!="object"||a==null||a.__b&&a.__b>0?a:$a(a)?a.map(Kn):j2({},a)}function Gf(a,l,c,o,e,r,t,h,Z){var i,n,v,d,m,s,p,M=c.props,u=l.props,A=l.type;if(A=="svg"?e="http://www.w3.org/2000/svg":A=="math"?e="http://www.w3.org/1998/Math/MathML":e||(e="http://www.w3.org/1999/xhtml"),r!=null){for(i=0;i<r.length;i++)if((m=r[i])&&"setAttribute"in m==!!A&&(A?m.localName==A:m.nodeType==3)){a=m,r[i]=null;break}}if(a==null){if(A==null)return document.createTextNode(u);a=document.createElementNS(e,A,u.is&&u),h&&(V1.__m&&V1.__m(l,r),h=!1),r=null}if(A==null)M===u||h&&a.data==u||(a.data=u);else{if(r=r&&Ka.call(a.childNodes),M=c.props||Ja,!h&&r!=null)for(M={},i=0;i<a.attributes.length;i++)M[(m=a.attributes[i]).name]=m.value;for(i in M)if(m=M[i],i=="children");else if(i=="dangerouslySetInnerHTML")v=m;else if(!(i in u)){if(i=="value"&&"defaultValue"in u||i=="checked"&&"defaultChecked"in u)continue;to(a,i,null,m,e)}for(i in u)m=u[i],i=="children"?d=m:i=="dangerouslySetInnerHTML"?n=m:i=="value"?s=m:i=="checked"?p=m:h&&typeof m!="function"||M[i]===m||to(a,i,m,M[i],e);if(n)h||v&&(n.__html==v.__html||n.__html==a.innerHTML)||(a.innerHTML=n.__html),l.__k=[];else if(v&&(a.innerHTML=""),zn(l.type=="template"?a.content:a,$a(d)?d:[d],l,c,o,A=="foreignObject"?"http://www.w3.org/1999/xhtml":e,r,t,r?r[0]:c.__k&&Z6(c,0),h,Z),r!=null)for(i=r.length;i--;)Bt(r[i]);h||(i="value",A=="progress"&&s==null?a.removeAttribute("value"):s!=null&&(s!==a[i]||A=="progress"&&!s||A=="option"&&s!=M[i])&&to(a,i,s,M[i],e),i="checked",p!=null&&p!=a[i]&&to(a,i,p,M[i],e))}return a}function bt(a,l,c){try{if(typeof a=="function"){var o=typeof a.__u=="function";o&&a.__u(),o&&l==null||(a.__u=a(l))}else a.current=l}catch(e){V1.__e(e,c)}}function $n(a,l,c){var o,e;if(V1.unmount&&V1.unmount(a),(o=a.ref)&&(o.current&&o.current!=a.__e||bt(o,null,l)),(o=a.__c)!=null){if(o.componentWillUnmount)try{o.componentWillUnmount()}catch(r){V1.__e(r,l)}o.base=o.__P=null}if(o=a.__k)for(e=0;e<o.length;e++)o[e]&&$n(o[e],l,c||typeof a.type!="function");c||Bt(a.__e),a.__c=a.__=a.__e=void 0}function Bf(a,l,c){return this.constructor(a,c)}function w7(a,l,c){var o,e,r,t;l==document&&(l=document.documentElement),V1.__&&V1.__(a,l),e=(o=typeof c=="function")?null:c&&c.__k||l.__k,r=[],t=[],Tt(l,a=(!o&&c||l).__k=e1(m1,null,[a]),e||Ja,Ja,l.namespaceURI,!o&&c?[c]:e?null:l.firstChild?Ka.call(l.childNodes):null,r,!o&&c?c:e?e.__e:l.firstChild,o,t),Jn(r,a,t)}function Ot(a,l){w7(a,l,Ot)}function Yn(a,l,c){var o,e,r,t,h=j2({},a.props);for(r in a.type&&a.type.defaultProps&&(t=a.type.defaultProps),l)r=="key"?o=l[r]:r=="ref"?e=l[r]:h[r]=l[r]===void 0&&t!=null?t[r]:l[r];return arguments.length>2&&(h.children=arguments.length>3?Ka.call(arguments,2):c),Qa(a.type,h,o||a.key,e||a.ref,null)}function v1(a){function l(c){var o,e;return this.getChildContext||(o=/*@__PURE__*/new Set,(e={})[l.__c]=this,this.getChildContext=function(){return e},this.componentWillUnmount=function(){o=null},this.shouldComponentUpdate=function(r){this.props.value!=r.value&&o.forEach(function(t){t.__e=!0,kt(t)})},this.sub=function(r){o.add(r);var t=r.componentWillUnmount;r.componentWillUnmount=function(){o&&o.delete(r),t&&t.call(r)}}),c.children}return l.__c="__cC"+In++,l.__=a,l.Provider=l.__l=(l.Consumer=function(c,o){return c.children(o)}).contextType=l,l}var Ka,V1,bn,Ut,o4,Gn,On,En,Wn,Gt,Dt,wt,In,Ja,qn,kf,$a;var i3=St(()=>{Ja={},qn=[],kf=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,$a=Array.isArray;Ka=qn.slice,V1={__e:function(a,l,c,o){for(var e,r,t;l=l.__;)if((e=l.__c)&&!e.__)try{if((r=e.constructor)&&r.getDerivedStateFromError!=null&&(e.setState(r.getDerivedStateFromError(a)),t=e.__d),e.componentDidCatch!=null&&(e.componentDidCatch(a,o||{}),t=e.__d),t)return e.__E=e}catch(h){a=h}throw a}},bn=0,Ut=function(a){return a!=null&&a.constructor==null},M5.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),kt(this))},M5.prototype.forceUpdate=function(a){this.__v&&(this.__e=!0,a&&this.__h.push(a),kt(this))},M5.prototype.render=m1,o4=[],On=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,En=function(a,l){return a.__v.__b-l.__v.__b},ho.__r=0,Wn=/(PointerCapture)$|Capture$/i,Gt=0,Dt=Tn(!1),wt=Tn(!0),In=0});function t4(a,l){v0.__h&&v0.__h(X1,a,A6||l),A6=0;var c=X1.__H||(X1.__H={__:[],__h:[]});return a>=c.__.length&&c.__.push({}),c.__[a]}function h1(a){return A6=1,M2(Hm,a)}function M2(a,l,c){var o=t4(T7++,2);if(o.t=a,!o.__c&&(o.__=[c?c(l):Hm(void 0,l),function(h){var Z=o.__N?o.__N[0]:o.__[0],i=o.t(Z,h);Z!==i&&(o.__N=[i,o.__[1]],o.__c.setState({}))}],o.__c=X1,!X1.__f)){var e=function(h,Z,i){if(!o.__c.__H)return!0;var n=o.__c.__H.__.filter(function(d){return!!d.__c});if(n.every(function(d){return!d.__N}))return!r||r.call(this,h,Z,i);var v=o.__c.props!==h;return n.forEach(function(d){if(d.__N){var m=d.__[0];d.__=d.__N,d.__N=void 0,m!==d.__[0]&&(v=!0)}}),r&&r.call(this,h,Z,i)||v};X1.__f=!0;var{shouldComponentUpdate:r,componentWillUpdate:t}=X1;X1.componentWillUpdate=function(h,Z,i){if(this.__e){var n=r;r=void 0,e(h,Z,i),r=n}t&&t.call(this,h,Z,i)},X1.shouldComponentUpdate=e}return o.__N||o.__}function j(a,l){var c=t4(T7++,3);!v0.__s&&Ah(c.__H,l)&&(c.__=a,c.u=l,X1.__H.__h.push(c))}function o7(a,l){var c=t4(T7++,4);!v0.__s&&Ah(c.__H,l)&&(c.__=a,c.u=l,X1.__h.push(c))}function G(a){return A6=5,p1(function(){return{current:a}},[])}function Z5(a,l,c){A6=6,o7(function(){if(typeof a=="function"){var o=a(l());return function(){a(null),o&&typeof o=="function"&&o()}}if(a)return a.current=l(),function(){return a.current=null}},c==null?c:c.concat(a))}function p1(a,l){var c=t4(T7++,7);return Ah(c.__H,l)&&(c.__=a(),c.__H=l,c.__h=a),c.__}function q(a,l){return A6=8,p1(function(){return a},l)}function t1(a){var l=X1.context[a.__c],c=t4(T7++,9);return c.c=a,l?(c.__==null&&(c.__=!0,l.sub(X1)),l.props.value):a.__}function Uo(a,l){v0.useDebugValue&&v0.useDebugValue(l?l(a):a)}function uh(a){var l=t4(T7++,10),c=h1();return l.__=a,X1.componentDidCatch||(X1.componentDidCatch=function(o,e){l.__&&l.__(o,e),c[1](o)}),[c[0],function(){c[1](void 0)}]}function H6(){var a=t4(T7++,11);if(!a.__){for(var l=X1.__v;l!==null&&!l.__m&&l.__!==null;)l=l.__;var c=l.__m||(l.__m=[0,0]);a.__="P"+c[0]+"-"+c[1]++}return a.__}function nF(){for(var a;a=Am.shift();)if(a.__P&&a.__H)try{a.__H.__h.forEach(yo),a.__H.__h.forEach(_h),a.__H.__h=[]}catch(l){a.__H.__h=[],v0.__e(l,a.__v)}}function dF(a){var l,c=function(){clearTimeout(o),um&&cancelAnimationFrame(l),setTimeout(a)},o=setTimeout(c,35);um&&(l=requestAnimationFrame(c))}function yo(a){var l=X1,c=a.__c;typeof c=="function"&&(a.__c=void 0,c()),X1=l}function _h(a){var l=X1;a.__c=a.__(),X1=l}function Ah(a,l){return!a||a.length!==l.length||l.some(function(c,o){return c!==a[o]})}function Hm(a,l){return typeof l=="function"?l(a):l}var T7,X1,Mh,nm,A6=0,Am,v0,dm,mm,pm,sm,Mm,_m,um;var f5=St(()=>{i3();Am=[],v0=V1,dm=v0.__b,mm=v0.__r,pm=v0.diffed,sm=v0.__c,Mm=v0.unmount,_m=v0.__;v0.__b=function(a){X1=null,dm&&dm(a)},v0.__=function(a,l){a&&l.__k&&l.__k.__m&&(a.__m=l.__k.__m),_m&&_m(a,l)},v0.__r=function(a){mm&&mm(a),T7=0;var l=(X1=a.__c).__H;l&&(Mh===X1?(l.__h=[],X1.__h=[],l.__.forEach(function(c){c.__N&&(c.__=c.__N),c.u=c.__N=void 0})):(l.__h.forEach(yo),l.__h.forEach(_h),l.__h=[],T7=0)),Mh=X1},v0.diffed=function(a){pm&&pm(a);var l=a.__c;l&&l.__H&&(l.__H.__h.length&&(Am.push(l)!==1&&nm===v0.requestAnimationFrame||((nm=v0.requestAnimationFrame)||dF)(nF)),l.__H.__.forEach(function(c){c.u&&(c.__H=c.u),c.u=void 0})),Mh=X1=null},v0.__c=function(a,l){l.some(function(c){try{c.__h.forEach(yo),c.__h=c.__h.filter(function(o){return!o.__||_h(o)})}catch(o){l.some(function(e){e.__h&&(e.__h=[])}),l=[],v0.__e(o,c.__v)}}),sm&&sm(a,l)},v0.unmount=function(a){Mm&&Mm(a);var l,c=a.__c;c&&c.__H&&(c.__H.__.forEach(function(o){try{yo(o)}catch(e){l=e}}),c.__H=void 0,l&&v0.__e(l,c.__v))};um=typeof requestAnimationFrame=="function"});var f={};Rt(f,{version:()=>Lh,useTransition:()=>xh,useSyncExternalStore:()=>gh,useState:()=>h1,useRef:()=>G,useReducer:()=>M2,useMemo:()=>p1,useLayoutEffect:()=>o7,useInsertionEffect:()=>_2,useImperativeHandle:()=>Z5,useId:()=>H6,useErrorBoundary:()=>uh,useEffect:()=>j,useDeferredValue:()=>Fh,useDebugValue:()=>Uo,useContext:()=>t1,useCallback:()=>q,unstable_batchedUpdates:()=>Z8,unmountComponentAtNode:()=>Em,startTransition:()=>fh,render:()=>Gm,memo:()=>Bo,lazy:()=>ym,isValidElement:()=>u5,isMemo:()=>Om,isFragment:()=>bm,isElement:()=>Pm,hydrate:()=>Bm,forwardRef:()=>I,flushSync:()=>Im,findDOMNode:()=>Wm,default:()=>Rh,createRef:()=>_5,createPortal:()=>To,createFactory:()=>Tm,createElement:()=>e1,createContext:()=>v1,cloneElement:()=>h4,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:()=>bo,SuspenseList:()=>V6,Suspense:()=>h8,StrictMode:()=>qm,PureComponent:()=>Go,Fragment:()=>m1,Component:()=>M5,Children:()=>e7});function Sm(a,l){for(var c in l)a[c]=l[c];return a}function Vh(a,l){for(var c in a)if(c!=="__source"&&!(c in l))return!0;for(var o in l)if(o!=="__source"&&a[o]!==l[o])return!0;return!1}function gh(a,l){var c=l(),o=h1({t:{__:c,u:l}}),e=o[0].t,r=o[1];return o7(function(){e.__=c,e.u=l,Hh(e)&&r({t:e})},[a,c,l]),j(function(){return Hh(e)&&r({t:e}),a(function(){Hh(e)&&r({t:e})})},[a]),c}function Hh(a){var l,c,o=a.u,e=a.__;try{var r=o();return!((l=e)===(c=r)&&(l!==0||1/l==1/c)||l!=l&&c!=c)}catch(t){return!0}}function fh(a){a()}function Fh(a){return a}function xh(){return[!1,fh]}function Go(a,l){this.props=a,this.context=l}function Bo(a,l){function c(e){var r=this.props.ref,t=r==e.ref;return!t&&r&&(r.call?r(null):r.current=null),l?!l(this.props,e)||!t:Vh(this.props,e)}function o(e){return this.shouldComponentUpdate=c,e1(a,e)}return o.displayName="Memo("+(a.displayName||a.name)+")",o.prototype.isReactComponent=!0,o.__f=!0,o.type=a,o}function I(a){function l(c){var o=Sm({},c);return delete o.ref,a(o,c.ref||null)}return l.$$typeof=mF,l.render=a,l.prototype.isReactComponent=l.__f=!0,l.displayName="ForwardRef("+(a.displayName||a.name)+")",l}function Dm(a,l,c){return a&&(a.__c&&a.__c.__H&&(a.__c.__H.__.forEach(function(o){typeof o.__c=="function"&&o.__c()}),a.__c.__H=null),(a=Sm({},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(o){return Dm(o,l,c)})),a}function wm(a,l,c){return a&&c&&(a.__v=null,a.__k=a.__k&&a.__k.map(function(o){return wm(o,l,c)}),a.__c&&a.__c.__P===l&&(a.__e&&c.appendChild(a.__e),a.__c.__e=!0,a.__c.__P=c)),a}function h8(){this.__u=0,this.o=null,this.__b=null}function km(a){var l=a.__.__c;return l&&l.__a&&l.__a(a)}function ym(a){var l,c,o;function e(r){if(l||(l=a()).then(function(t){c=t.default||t},function(t){o=t}),o)throw o;if(!c)throw l;return e1(c,r)}return e.displayName="Lazy",e.__f=!0,e}function V6(){this.i=null,this.l=null}function sF(a){return this.getChildContext=function(){return a.context},a.children}function MF(a){var l=this,c=a.h;if(l.componentWillUnmount=function(){w7(null,l.v),l.v=null,l.h=null},l.h&&l.h!==c&&l.componentWillUnmount(),!l.v){for(var o=l.__v;o!==null&&!o.__m&&o.__!==null;)o=o.__;l.h=c,l.v={nodeType:1,parentNode:c,childNodes:[],__k:{__m:o.__m},contains:function(){return!0},insertBefore:function(e,r){this.childNodes.push(e),l.h.insertBefore(e,r)},removeChild:function(e){this.childNodes.splice(this.childNodes.indexOf(e)>>>1,1),l.h.removeChild(e)}}}w7(e1(sF,{context:l.context},a.__v),l.v)}function To(a,l){var c=e1(MF,{__v:a,h:l});return c.containerInfo=l,c}function Gm(a,l,c){return l.__k==null&&(l.textContent=""),w7(a,l),typeof c=="function"&&c(),a?a.__c:null}function Bm(a,l,c){return Ot(a,l),typeof c=="function"&&c(),a?a.__c:null}function gF(){}function fF(){return this.cancelBubble}function FF(){return this.defaultPrevented}function Tm(a){return e1.bind(null,a)}function u5(a){return!!a&&a.$$typeof===Um}function bm(a){return u5(a)&&a.type===m1}function Om(a){return!!a&&!!a.displayName&&(typeof a.displayName=="string"||a.displayName instanceof String)&&a.displayName.startsWith("Memo(")}function h4(a){return u5(a)?Yn.apply(null,arguments):a}function Em(a){return!!a.__k&&(w7(null,a),!0)}function Wm(a){return a&&(a.base||a.nodeType===1&&a)||null}var _2,Vm,mF,gm=function(a,l){return a==null?null:a7(a7(a).map(l))},e7,pF,fm,Fm=function(a,l,c){if(++c[1]===c[0]&&a.l.delete(l),a.props.revealOrder&&(a.props.revealOrder[0]!=="t"||!a.l.size))for(c=a.i;c;){for(;c.length>3;)c.pop()();if(c[1]<c[0])break;a.i=c=c[2]}},Um,_F,uF,AF,HF,VF=function(a){return(typeof Symbol!="undefined"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(a)},xm,Ch,xF,Cm,Lm,Rm,bo,Lh="18.3.1",Z8=function(a,l){return a(l)},Im=function(a,l){return a(l)},qm,Pm,Rh;var F=St(()=>{i3();i3();f5();f5();_2=o7;(Go.prototype=new M5).isPureReactComponent=!0,Go.prototype.shouldComponentUpdate=function(a,l){return Vh(this.props,a)||Vh(this.state,l)};Vm=V1.__b;V1.__b=function(a){a.type&&a.type.__f&&a.ref&&(a.props.ref=a.ref,a.ref=null),Vm&&Vm(a)};mF=typeof Symbol!="undefined"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;e7={map:gm,forEach:gm,count:function(a){return a?a7(a).length:0},only:function(a){var l=a7(a);if(l.length!==1)throw"Children.only";return l[0]},toArray:a7},pF=V1.__e;V1.__e=function(a,l,c,o){if(a.then){for(var e,r=l;r=r.__;)if((e=r.__c)&&e.__c)return l.__e==null&&(l.__e=c.__e,l.__k=c.__k),e.__c(a,l)}pF(a,l,c,o)};fm=V1.unmount;V1.unmount=function(a){var l=a.__c;l&&l.__R&&l.__R(),l&&32&a.__u&&(a.type=null),fm&&fm(a)},(h8.prototype=new M5).__c=function(a,l){var c=l.__c,o=this;o.o==null&&(o.o=[]),o.o.push(c);var e=km(o.__v),r=!1,t=function(){r||(r=!0,c.__R=null,e?e(h):h())};c.__R=t;var h=function(){if(!--o.__u){if(o.state.__a){var Z=o.state.__a;o.__v.__k[0]=wm(Z,Z.__c.__P,Z.__c.__O)}var i;for(o.setState({__a:o.__b=null});i=o.o.pop();)i.forceUpdate()}};o.__u++||32&l.__u||o.setState({__a:o.__b=o.__v.__k[0]}),a.then(t,t)},h8.prototype.componentWillUnmount=function(){this.o=[]},h8.prototype.render=function(a,l){if(this.__b){if(this.__v.__k){var c=document.createElement("div"),o=this.__v.__k[0].__c;this.__v.__k[0]=Dm(this.__b,c,o.__O=o.__P)}this.__b=null}var e=l.__a&&e1(m1,null,a.fallback);return e&&(e.__u&=-33),[e1(m1,null,l.__a?null:a.children),e]};(V6.prototype=new M5).__a=function(a){var l=this,c=km(l.__v),o=l.l.get(a);return o[0]++,function(e){var r=function(){l.props.revealOrder?(o.push(e),Fm(l,a,o)):e()};c?c(r):r()}},V6.prototype.render=function(a){this.i=null,this.l=/*@__PURE__*/new Map;var l=a7(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},V6.prototype.componentDidUpdate=V6.prototype.componentDidMount=function(){var a=this;this.l.forEach(function(l,c){Fm(a,c,l)})};Um=typeof Symbol!="undefined"&&Symbol.for&&Symbol.for("react.element")||60103,_F=/^(?: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]/,uF=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,AF=/[A-Z0-9]/g,HF=typeof document!="undefined";M5.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(a){Object.defineProperty(M5.prototype,a,{configurable:!0,get:function(){return this["UNSAFE_"+a]},set:function(l){Object.defineProperty(this,a,{configurable:!0,writable:!0,value:l})}})});xm=V1.event;V1.event=function(a){return xm&&(a=xm(a)),a.persist=gF,a.isPropagationStopped=fF,a.isDefaultPrevented=FF,a.nativeEvent=a};xF={enumerable:!1,configurable:!0,get:function(){return this.class}},Cm=V1.vnode;V1.vnode=function(a){typeof a.type=="string"&&function(l){var{props:c,type:o}=l,e={},r=o.indexOf("-")===-1;for(var t in c){var h=c[t];if(!(t==="value"&&("defaultValue"in c)&&h==null||HF&&t==="children"&&o==="noscript"||t==="class"||t==="className")){var Z=t.toLowerCase();t==="defaultValue"&&"value"in c&&c.value==null?t="value":t==="download"&&h===!0?h="":Z==="translate"&&h==="no"?h=!1:Z[0]==="o"&&Z[1]==="n"?Z==="ondoubleclick"?t="ondblclick":Z!=="onchange"||o!=="input"&&o!=="textarea"||VF(c.type)?Z==="onfocus"?t="onfocusin":Z==="onblur"?t="onfocusout":uF.test(t)&&(t=Z):Z=t="oninput":r&&_F.test(t)?t=t.replace(AF,"-$&").toLowerCase():h===null&&(h=void 0),Z==="oninput"&&e[t=Z]&&(t="oninputCapture"),e[t]=h}}o=="select"&&e.multiple&&Array.isArray(e.value)&&(e.value=a7(c.children).forEach(function(i){i.props.selected=e.value.indexOf(i.props.value)!=-1})),o=="select"&&e.defaultValue!=null&&(e.value=a7(c.children).forEach(function(i){i.props.selected=e.multiple?e.defaultValue.indexOf(i.props.value)!=-1:e.defaultValue==i.props.value})),c.class&&!c.className?(e.class=c.class,Object.defineProperty(e,"className",xF)):(c.className&&!c.class||c.class&&c.className)&&(e.class=e.className=c.className),l.props=e}(a),a.$$typeof=Um,Cm&&Cm(a)};Lm=V1.__r;V1.__r=function(a){Lm&&Lm(a),Ch=a.__c};Rm=V1.diffed;V1.diffed=function(a){Rm&&Rm(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),Ch=null};bo={ReactCurrentDispatcher:{current:{readContext:function(a){return Ch.__n[a.__c].props.value},useCallback:q,useContext:t1,useDebugValue:Uo,useDeferredValue:Fh,useEffect:j,useId:H6,useImperativeHandle:Z5,useInsertionEffect:_2,useLayoutEffect:o7,useMemo:p1,useReducer:M2,useRef:G,useState:h1,useSyncExternalStore:gh,useTransition:xh}}};qm=m1,Pm=u5,Rh={useState:h1,useId:H6,useReducer:M2,useEffect:j,useLayoutEffect:o7,useInsertionEffect:_2,useTransition:xh,useDeferredValue:Fh,useSyncExternalStore:gh,startTransition:fh,useRef:G,useImperativeHandle:Z5,useMemo:p1,useCallback:q,useContext:t1,useDebugValue:Uo,version:"18.3.1",Children:e7,render:Gm,hydrate:Bm,unmountComponentAtNode:Em,createPortal:To,createElement:e1,createContext:v1,createFactory:Tm,cloneElement:h4,createRef:_5,Fragment:m1,isValidElement:u5,isElement:Pm,isFragment:bm,isMemo:Om,findDOMNode:Wm,Component:M5,PureComponent:Go,memo:Bo,forwardRef:I,flushSync:Im,unstable_batchedUpdates:Z8,StrictMode:qm,Suspense:h8,SuspenseList:V6,lazy:ym,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:bo}});var Rp=N2((cx)=>{(function(){var a=60103,l=60106,c=60107,o=60108,e=60114,r=60109,t=60110,h=60112,Z=60113,i=60120,n=60115,v=60116,d=60121,m=60122,s=60117,p=60119,M=60128,u=60129,A=60130,V=60131;if(typeof Symbol==="function"&&Symbol.for){var H=Symbol.for;a=H("react.element"),l=H("react.portal"),c=H("react.fragment"),o=H("react.strict_mode"),e=H("react.profiler"),r=H("react.provider"),t=H("react.context"),h=H("react.forward_ref"),Z=H("react.suspense"),i=H("react.suspense_list"),n=H("react.memo"),v=H("react.lazy"),d=H("react.block"),m=H("react.server.block"),s=H("react.fundamental"),p=H("react.scope"),M=H("react.opaque.id"),u=H("react.debug_trace_mode"),A=H("react.offscreen"),V=H("react.legacy_hidden")}var g=!1;function S(d1){if(typeof d1==="string"||typeof d1==="function")return!0;if(d1===c||d1===e||d1===u||d1===o||d1===Z||d1===i||d1===V||g)return!0;if(typeof d1==="object"&&d1!==null){if(d1.$$typeof===v||d1.$$typeof===n||d1.$$typeof===r||d1.$$typeof===t||d1.$$typeof===h||d1.$$typeof===s||d1.$$typeof===d||d1[0]===m)return!0}return!1}function C(d1){if(typeof d1==="object"&&d1!==null){var g5=d1.$$typeof;switch(g5){case a:var s2=d1.type;switch(s2){case c:case e:case o:case Z:case i:return s2;default:var E5=s2&&s2.$$typeof;switch(E5){case t:case h:case v:case n:case r:return E5;default:return g5}}case l:return g5}}return}var E=t,T=r,c1=a,l1=h,Q=c,x=v,R=n,U=l,K=e,X=o,i1=Z,J=!1,s1=!1;function H1(d1){if(!J)J=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.");return!1}function B(d1){if(!s1)s1=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.");return!1}function b(d1){return C(d1)===t}function x1(d1){return C(d1)===r}function y1(d1){return typeof d1==="object"&&d1!==null&&d1.$$typeof===a}function r0(d1){return C(d1)===h}function $5(d1){return C(d1)===c}function m2(d1){return C(d1)===v}function p2(d1){return C(d1)===n}function Y5(d1){return C(d1)===l}function b5(d1){return C(d1)===e}function n1(d1){return C(d1)===o}function O5(d1){return C(d1)===Z}cx.ContextConsumer=E,cx.ContextProvider=T,cx.Element=c1,cx.ForwardRef=l1,cx.Fragment=Q,cx.Lazy=x,cx.Memo=R,cx.Portal=U,cx.Profiler=K,cx.StrictMode=X,cx.Suspense=i1,cx.isAsyncMode=H1,cx.isConcurrentMode=B,cx.isContextConsumer=b,cx.isContextProvider=x1,cx.isElement=y1,cx.isForwardRef=r0,cx.isFragment=$5,cx.isLazy=m2,cx.isMemo=p2,cx.isPortal=Y5,cx.isProfiler=b5,cx.isStrictMode=n1,cx.isSuspense=O5,cx.isValidElementType=S,cx.typeOf=C})()});var BM=N2((EC)=>{(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 o(r1,u1){var w1=r1.length;r1.push(u1),t(r1,u1,w1)}function e(r1){return r1.length===0?null:r1[0]}function r(r1){if(r1.length===0)return null;var u1=r1[0],w1=r1.pop();if(w1!==u1)r1[0]=w1,h(r1,w1,0);return u1}function t(r1,u1,w1){var J1=w1;while(J1>0){var h0=J1-1>>>1,s5=r1[h0];if(Z(s5,u1)>0)r1[h0]=u1,r1[J1]=s5,J1=h0;else return}}function h(r1,u1,w1){var J1=w1,h0=r1.length,s5=h0>>>1;while(J1<s5){var O0=(J1+1)*2-1,X2=r1[O0],t5=O0+1,ro=r1[t5];if(Z(X2,u1)<0)if(t5<h0&&Z(ro,X2)<0)r1[J1]=ro,r1[t5]=u1,J1=t5;else r1[J1]=X2,r1[O0]=u1,J1=O0;else if(t5<h0&&Z(ro,u1)<0)r1[J1]=ro,r1[t5]=u1,J1=t5;else return}}function Z(r1,u1){var w1=r1.sortIndex-u1.sortIndex;return w1!==0?w1:r1.id-u1.id}var i=1,n=2,v=3,d=4,m=5;function s(r1,u1){}var p=typeof performance==="object"&&typeof performance.now==="function";if(p){var M=performance;EC.unstable_now=function(){return M.now()}}else{var u=Date,A=u.now();EC.unstable_now=function(){return u.now()-A}}var V=1073741823,H=-1,g=250,S=5000,C=1e4,E=V,T=[],c1=[],l1=1,Q=null,x=v,R=!1,U=!1,K=!1,X=typeof setTimeout==="function"?setTimeout:null,i1=typeof clearTimeout==="function"?clearTimeout:null,J=typeof setImmediate!=="undefined"?setImmediate:null,s1=typeof navigator!=="undefined"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0?navigator.scheduling.isInputPending.bind(navigator.scheduling):null;function H1(r1){var u1=e(c1);while(u1!==null){if(u1.callback===null)r(c1);else if(u1.startTime<=r1)r(c1),u1.sortIndex=u1.expirationTime,o(T,u1);else return;u1=e(c1)}}function B(r1){if(K=!1,H1(r1),!U)if(e(T)!==null)U=!0,t0(b);else{var u1=e(c1);if(u1!==null)s0(B,u1.startTime-r1)}}function b(r1,u1){if(U=!1,K)K=!1,r5();R=!0;var w1=x;try{if(l)try{return x1(r1,u1)}catch(h0){if(Q!==null){var J1=EC.unstable_now();s(Q,J1),Q.isQueued=!1}throw h0}else return x1(r1,u1)}finally{Q=null,x=w1,R=!1}}function x1(r1,u1){var w1=u1;H1(w1),Q=e(T);while(Q!==null&&!a){if(Q.expirationTime>w1&&(!r1||a4()))break;var J1=Q.callback;if(typeof J1==="function"){Q.callback=null,x=Q.priorityLevel;var h0=Q.expirationTime<=w1,s5=J1(h0);if(w1=EC.unstable_now(),typeof s5==="function")Q.callback=s5;else if(Q===e(T))r(T);H1(w1)}else r(T);Q=e(T)}if(Q!==null)return!0;else{var O0=e(c1);if(O0!==null)s0(B,O0.startTime-w1);return!1}}function y1(r1,u1){switch(r1){case i:case n:case v:case d:case m:break;default:r1=v}var w1=x;x=r1;try{return u1()}finally{x=w1}}function r0(r1){var u1;switch(x){case i:case n:case v:u1=v;break;default:u1=x;break}var w1=x;x=u1;try{return r1()}finally{x=w1}}function $5(r1){var u1=x;return function(){var w1=x;x=u1;try{return r1.apply(this,arguments)}finally{x=w1}}}function m2(r1,u1,w1){var J1=EC.unstable_now(),h0;if(typeof w1==="object"&&w1!==null){var s5=w1.delay;if(typeof s5==="number"&&s5>0)h0=J1+s5;else h0=J1}else h0=J1;var O0;switch(r1){case i:O0=H;break;case n:O0=g;break;case m:O0=E;break;case d:O0=C;break;case v:default:O0=S;break}var X2=h0+O0,t5={id:l1++,callback:u1,priorityLevel:r1,startTime:h0,expirationTime:X2,sortIndex:-1};if(h0>J1){if(t5.sortIndex=h0,o(c1,t5),e(T)===null&&t5===e(c1)){if(K)r5();else K=!0;s0(B,h0-J1)}}else if(t5.sortIndex=X2,o(T,t5),!U&&!R)U=!0,t0(b);return t5}function p2(){}function Y5(){if(!U&&!R)U=!0,t0(b)}function b5(){return e(T)}function n1(r1){r1.callback=null}function O5(){return x}var d1=!1,g5=null,s2=-1,E5=c,r6=-1;function a4(){var r1=EC.unstable_now()-r6;if(r1<E5)return!1;return!0}function t6(){}function Ct(r1){if(r1<0||r1>125){console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported");return}if(r1>0)E5=Math.floor(1000/r1);else E5=c}var za=function(){if(g5!==null){var r1=EC.unstable_now();r6=r1;var u1=!0,w1=!0;try{w1=g5(u1,r1)}finally{if(w1)l4();else d1=!1,g5=null}}else d1=!1},l4;if(typeof J==="function")l4=function(){J(za)};else if(typeof MessageChannel!=="undefined"){var o1=new MessageChannel,f1=o1.port2;o1.port1.onmessage=za,l4=function(){f1.postMessage(null)}}else l4=function(){X(za,0)};function t0(r1){if(g5=r1,!d1)d1=!0,l4()}function s0(r1,u1){s2=X(function(){r1(EC.unstable_now())},u1)}function r5(){i1(s2),s2=-1}var c4=t6,Z3=null;if(EC.unstable_IdlePriority=m,EC.unstable_ImmediatePriority=i,EC.unstable_LowPriority=d,EC.unstable_NormalPriority=v,EC.unstable_Profiling=Z3,EC.unstable_UserBlockingPriority=n,EC.unstable_cancelCallback=n1,EC.unstable_continueExecution=Y5,EC.unstable_forceFrameRate=Ct,EC.unstable_getCurrentPriorityLevel=O5,EC.unstable_getFirstCallbackNode=b5,EC.unstable_next=r0,EC.unstable_pauseExecution=p2,EC.unstable_requestPaint=c4,EC.unstable_runWithPriority=y1,EC.unstable_scheduleCallback=m2,EC.unstable_shouldYield=a4,EC.unstable_wrapCallback=$5,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!=="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function")__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)})()});var Ci=N2((VD)=>{(function(){var a=typeof Symbol==="function"&&Symbol.for,l=a?Symbol.for("react.element"):60103,c=a?Symbol.for("react.portal"):60106,o=a?Symbol.for("react.fragment"):60107,e=a?Symbol.for("react.strict_mode"):60108,r=a?Symbol.for("react.profiler"):60114,t=a?Symbol.for("react.provider"):60109,h=a?Symbol.for("react.context"):60110,Z=a?Symbol.for("react.async_mode"):60111,i=a?Symbol.for("react.concurrent_mode"):60111,n=a?Symbol.for("react.forward_ref"):60112,v=a?Symbol.for("react.suspense"):60113,d=a?Symbol.for("react.suspense_list"):60120,m=a?Symbol.for("react.memo"):60115,s=a?Symbol.for("react.lazy"):60116,p=a?Symbol.for("react.block"):60121,M=a?Symbol.for("react.fundamental"):60117,u=a?Symbol.for("react.responder"):60118,A=a?Symbol.for("react.scope"):60119;function V(n1){return typeof n1==="string"||typeof n1==="function"||n1===o||n1===i||n1===r||n1===e||n1===v||n1===d||typeof n1==="object"&&n1!==null&&(n1.$$typeof===s||n1.$$typeof===m||n1.$$typeof===t||n1.$$typeof===h||n1.$$typeof===n||n1.$$typeof===M||n1.$$typeof===u||n1.$$typeof===A||n1.$$typeof===p)}function H(n1){if(typeof n1==="object"&&n1!==null){var O5=n1.$$typeof;switch(O5){case l:var d1=n1.type;switch(d1){case Z:case i:case o:case r:case e:case v:return d1;default:var g5=d1&&d1.$$typeof;switch(g5){case h:case n:case s:case m:case t:return g5;default:return O5}}case c:return O5}}return}var g=Z,S=i,C=h,E=t,T=l,c1=n,l1=o,Q=s,x=m,R=c,U=r,K=e,X=v,i1=!1;function J(n1){if(!i1)i1=!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 s1(n1)||H(n1)===Z}function s1(n1){return H(n1)===i}function H1(n1){return H(n1)===h}function B(n1){return H(n1)===t}function b(n1){return typeof n1==="object"&&n1!==null&&n1.$$typeof===l}function x1(n1){return H(n1)===n}function y1(n1){return H(n1)===o}function r0(n1){return H(n1)===s}function $5(n1){return H(n1)===m}function m2(n1){return H(n1)===c}function p2(n1){return H(n1)===r}function Y5(n1){return H(n1)===e}function b5(n1){return H(n1)===v}VD.AsyncMode=g,VD.ConcurrentMode=S,VD.ContextConsumer=C,VD.ContextProvider=E,VD.Element=T,VD.ForwardRef=c1,VD.Fragment=l1,VD.Lazy=Q,VD.Memo=x,VD.Portal=R,VD.Profiler=U,VD.StrictMode=K,VD.Suspense=X,VD.isAsyncMode=J,VD.isConcurrentMode=s1,VD.isContextConsumer=H1,VD.isContextProvider=B,VD.isElement=b,VD.isForwardRef=x1,VD.isFragment=y1,VD.isLazy=r0,VD.isMemo=$5,VD.isPortal=m2,VD.isProfiler=p2,VD.isStrictMode=Y5,VD.isSuspense=b5,VD.isValidElementType=V,VD.typeOf=H})()});var DA=N2((un1,SA)=>{var RA=Object.getOwnPropertySymbols,gD=Object.prototype.hasOwnProperty,fD=Object.prototype.propertyIsEnumerable;function FD(a){if(a===null||a===void 0)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(a)}function xD(){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 o=Object.getOwnPropertyNames(l).map(function(r){return l[r]});if(o.join("")!=="0123456789")return!1;var e={};if("abcdefghijklmnopqrst".split("").forEach(function(r){e[r]=r}),Object.keys(Object.assign({},e)).join("")!=="abcdefghijklmnopqrst")return!1;return!0}catch(r){return!1}}SA.exports=xD()?Object.assign:function(a,l){var c,o=FD(a),e;for(var r=1;r<arguments.length;r++){c=Object(arguments[r]);for(var t in c)if(gD.call(c,t))o[t]=c[t];if(RA){e=RA(c);for(var h=0;h<e.length;h++)if(fD.call(c,e[h]))o[e[h]]=c[e[h]]}}return o}});var Li=N2((An1,wA)=>{var CD="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";wA.exports=CD});var Ri=N2((Hn1,kA)=>{kA.exports=Function.call.bind(Object.prototype.hasOwnProperty)});var GA=N2((Vn1,UA)=>{var Si=function(){};Di=Li(),dc={},wi=Ri(),Si=function(a){var l="Warning: "+a;if(typeof console!=="undefined")console.error(l);try{throw new Error(l)}catch(c){}};var Di,dc,wi;function yA(a,l,c,o,e){for(var r in a)if(wi(a,r)){var t;try{if(typeof a[r]!=="function"){var h=Error((o||"React class")+": "+c+" type `"+r+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof a[r]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw h.name="Invariant Violation",h}t=a[r](l,r,o,c,null,Di)}catch(i){t=i}if(t&&!(t instanceof Error))Si((o||"React class")+": type specification of "+c+" `"+r+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof t+". 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(t instanceof Error&&!(t.message in dc)){dc[t.message]=!0;var Z=e?e():"";Si("Failed "+c+" type: "+t.message+(Z!=null?Z:""))}}}yA.resetWarningCache=function(){dc={}};UA.exports=yA});var OA=N2((gn1,bA)=>{var TA=h6(Ci(),1),LD=DA(),da=Li(),ki=Ri(),BA=GA(),ma=function(){};ma=function(a){var l="Warning: "+a;if(typeof console!=="undefined")console.error(l);try{throw new Error(l)}catch(c){}};function Mr(){return null}bA.exports=function(a,l){var c=typeof Symbol==="function"&&Symbol.iterator,o="@@iterator";function e(x){var R=x&&(c&&x[c]||x[o]);if(typeof R==="function")return R}var r="<<anonymous>>",t={array:n("array"),bigint:n("bigint"),bool:n("boolean"),func:n("function"),number:n("number"),object:n("object"),string:n("string"),symbol:n("symbol"),any:v(),arrayOf:d,element:m(),elementType:s(),instanceOf:p,node:V(),objectOf:u,oneOf:M,oneOfType:A,shape:g,exact:S};function h(x,R){if(x===R)return x!==0||1/x===1/R;else return x!==x&&R!==R}function Z(x,R){this.message=x,this.data=R&&typeof R==="object"?R:{},this.stack=""}Z.prototype=Error.prototype;function i(x){var R={},U=0;function K(i1,J,s1,H1,B,b,x1){if(H1=H1||r,b=b||s1,x1!==da){if(l){var y1=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 y1.name="Invariant Violation",y1}else if(typeof console!=="undefined"){var r0=H1+":"+s1;if(!R[r0]&&U<3)ma("You are manually calling a React.PropTypes validation function for the `"+b+"` prop on `"+H1+"`. 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."),R[r0]=!0,U++}}if(J[s1]==null){if(i1){if(J[s1]===null)return new Z("The "+B+" `"+b+"` is marked as required "+("in `"+H1+"`, but its value is `null`."));return new Z("The "+B+" `"+b+"` is marked as required in "+("`"+H1+"`, but its value is `undefined`."))}return null}else return x(J,s1,H1,B,b)}var X=K.bind(null,!1);return X.isRequired=K.bind(null,!0),X}function n(x){function R(U,K,X,i1,J,s1){var H1=U[K],B=T(H1);if(B!==x){var b=c1(H1);return new Z("Invalid "+i1+" `"+J+"` of type "+("`"+b+"` supplied to `"+X+"`, expected ")+("`"+x+"`."),{expectedType:x})}return null}return i(R)}function v(){return i(Mr)}function d(x){function R(U,K,X,i1,J){if(typeof x!=="function")return new Z("Property `"+J+"` of component `"+X+"` has invalid PropType notation inside arrayOf.");var s1=U[K];if(!Array.isArray(s1)){var H1=T(s1);return new Z("Invalid "+i1+" `"+J+"` of type "+("`"+H1+"` supplied to `"+X+"`, expected an array."))}for(var B=0;B<s1.length;B++){var b=x(s1,B,X,i1,J+"["+B+"]",da);if(b instanceof Error)return b}return null}return i(R)}function m(){function x(R,U,K,X,i1){var J=R[U];if(!a(J)){var s1=T(J);return new Z("Invalid "+X+" `"+i1+"` of type "+("`"+s1+"` supplied to `"+K+"`, expected a single ReactElement."))}return null}return i(x)}function s(){function x(R,U,K,X,i1){var J=R[U];if(!TA.isValidElementType(J)){var s1=T(J);return new Z("Invalid "+X+" `"+i1+"` of type "+("`"+s1+"` supplied to `"+K+"`, expected a single ReactElement type."))}return null}return i(x)}function p(x){function R(U,K,X,i1,J){if(!(U[K]instanceof x)){var s1=x.name||r,H1=Q(U[K]);return new Z("Invalid "+i1+" `"+J+"` of type "+("`"+H1+"` supplied to `"+X+"`, expected ")+("instance of `"+s1+"`."))}return null}return i(R)}function M(x){if(!Array.isArray(x)){if(arguments.length>1)ma("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 ma("Invalid argument supplied to oneOf, expected an array.");return Mr}function R(U,K,X,i1,J){var s1=U[K];for(var H1=0;H1<x.length;H1++)if(h(s1,x[H1]))return null;var B=JSON.stringify(x,function b(x1,y1){var r0=c1(y1);if(r0==="symbol")return String(y1);return y1});return new Z("Invalid "+i1+" `"+J+"` of value `"+String(s1)+"` "+("supplied to `"+X+"`, expected one of "+B+"."))}return i(R)}function u(x){function R(U,K,X,i1,J){if(typeof x!=="function")return new Z("Property `"+J+"` of component `"+X+"` has invalid PropType notation inside objectOf.");var s1=U[K],H1=T(s1);if(H1!=="object")return new Z("Invalid "+i1+" `"+J+"` of type "+("`"+H1+"` supplied to `"+X+"`, expected an object."));for(var B in s1)if(ki(s1,B)){var b=x(s1,B,X,i1,J+"."+B,da);if(b instanceof Error)return b}return null}return i(R)}function A(x){if(!Array.isArray(x))return ma("Invalid argument supplied to oneOfType, expected an instance of array."),Mr;for(var R=0;R<x.length;R++){var U=x[R];if(typeof U!=="function")return ma("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+l1(U)+" at index "+R+"."),Mr}function K(X,i1,J,s1,H1){var B=[];for(var b=0;b<x.length;b++){var x1=x[b],y1=x1(X,i1,J,s1,H1,da);if(y1==null)return null;if(y1.data&&ki(y1.data,"expectedType"))B.push(y1.data.expectedType)}var r0=B.length>0?", expected one of type ["+B.join(", ")+"]":"";return new Z("Invalid "+s1+" `"+H1+"` supplied to "+("`"+J+"`"+r0+"."))}return i(K)}function V(){function x(R,U,K,X,i1){if(!C(R[U]))return new Z("Invalid "+X+" `"+i1+"` supplied to "+("`"+K+"`, expected a ReactNode."));return null}return i(x)}function H(x,R,U,K,X){return new Z((x||"React class")+": "+R+" type `"+U+"."+K+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+X+"`.")}function g(x){function R(U,K,X,i1,J){var s1=U[K],H1=T(s1);if(H1!=="object")return new Z("Invalid "+i1+" `"+J+"` of type `"+H1+"` "+("supplied to `"+X+"`, expected `object`."));for(var B in x){var b=x[B];if(typeof b!=="function")return H(X,i1,J,B,c1(b));var x1=b(s1,B,X,i1,J+"."+B,da);if(x1)return x1}return null}return i(R)}function S(x){function R(U,K,X,i1,J){var s1=U[K],H1=T(s1);if(H1!=="object")return new Z("Invalid "+i1+" `"+J+"` of type `"+H1+"` "+("supplied to `"+X+"`, expected `object`."));var B=LD({},U[K],x);for(var b in B){var x1=x[b];if(ki(x,b)&&typeof x1!=="function")return H(X,i1,J,b,c1(x1));if(!x1)return new Z("Invalid "+i1+" `"+J+"` key `"+b+"` supplied to `"+X+"`.\nBad object: "+JSON.stringify(U[K],null," ")+`
|
|
2
|
-
Valid keys: `+JSON.stringify(Object.keys(x),null," "));var
|
|
3
|
-
Source string: ${
|
|
4
|
-
`),l=jf(a);if(l===void 0)return;let c=pd(l);return c===null||c===void 0?void 0:c.loc}function jf(a){for(let l=a.length-1;l>=0;--l)if(a[l].includes("at getSourceURLfromError"))return a[l+3];return}var n6=()=>{let a={};return function l(c,o){if(a[c.id]===void 0)c.insertCSSRules(o),a[c.id]=!0}};function $t(a){return a.reduce(function(l,c){var o=c[0],e=c[1];return l[o]=e,l[e]=o,l},{})}function sd(a){return typeof a==="boolean"}function Md(a){return typeof a==="function"}function d6(a){return typeof a==="number"}function _d(a){return a===null||typeof a==="undefined"}function ud(a){return a&&typeof a==="object"}function Ad(a){return typeof a==="string"}function a8(a,l){return a.indexOf(l)!==-1}function Hd(a){if(parseFloat(a)===0)return a;if(a[0]==="-")return a.slice(1);return"-"+a}function m6(a,l,c,o){return l+Hd(c)+o}function Vd(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 Yt(a){return a.replace(/ +/g," ").split(" ").map(function(l){return l.trim()}).filter(Boolean).reduce(function(l,c){var{list:o,state:e}=l,r=(c.match(/\(/g)||[]).length,t=(c.match(/\)/g)||[]).length;if(e.parensDepth>0)o[o.length-1]=o[o.length-1]+" "+c;else o.push(c);return e.parensDepth+=r-t,{list:o,state:e}},{list:[],state:{parensDepth:0}}).list}function Jt(a){var l=Yt(a);if(l.length<=3||l.length>4)return a;var c=l[0],o=l[1],e=l[2],r=l[3];return[c,r,e,o].join(" ")}function gd(a){return!sd(a)&&!_d(a)}function fd(a){var l=[],c=0,o=0,e=!1;while(o<a.length)if(!e&&a[o]===",")l.push(a.substring(c,o).trim()),o++,c=o;else if(a[o]==="(")e=!0,o++;else if(a[o]===")")e=!1,o++;else o++;if(c!=o)l.push(a.substring(c,o+1));return l}var W={padding:function a(l){var c=l.value;if(d6(c))return c;return Jt(c)},textShadow:function a(l){var c=l.value,o=fd(c).map(function(e){return e.replace(/(^|\s)(-*)([.|\d]+)/,function(r,t,h,Z){if(Z==="0")return r;var i=h===""?"-":"";return""+t+i+Z})});return o.join(",")},borderColor:function a(l){var c=l.value;return Jt(c)},borderRadius:function a(l){var c=l.value;if(d6(c))return c;if(a8(c,"/")){var o=c.split("/"),e=o[0],r=o[1],t=W.borderRadius({value:e.trim()}),h=W.borderRadius({value:r.trim()});return t+" / "+h}var Z=Yt(c);switch(Z.length){case 2:return Z.reverse().join(" ");case 4:{var i=Z[0],n=Z[1],v=Z[2],d=Z[3];return[n,i,d,v].join(" ")}default:return c}},background:function a(l){var{value:c,valuesToConvert:o,isRtl:e,bgImgDirectionRegex:r,bgPosDirectionRegex:t}=l;if(d6(c))return c;var h=c.replace(/(url\(.*?\))|(rgba?\(.*?\))|(hsl\(.*?\))|(#[a-fA-F0-9]+)|((^| )(\D)+( |$))/g,"").trim();return c=c.replace(h,W.backgroundPosition({value:h,valuesToConvert:o,isRtl:e,bgPosDirectionRegex:t})),W.backgroundImage({value:c,valuesToConvert:o,bgImgDirectionRegex:r})},backgroundImage:function a(l){var{value:c,valuesToConvert:o,bgImgDirectionRegex:e}=l;if(!a8(c,"url(")&&!a8(c,"linear-gradient("))return c;return c.replace(e,function(r,t,h){return r.replace(h,o[h])})},backgroundPosition:function a(l){var{value:c,valuesToConvert:o,isRtl:e,bgPosDirectionRegex:r}=l;return c.replace(e?/^((-|\d|\.)+%)/:null,function(t,h){return Vd(h)}).replace(r,function(t){return o[t]})},backgroundPositionX:function a(l){var{value:c,valuesToConvert:o,isRtl:e,bgPosDirectionRegex:r}=l;if(d6(c))return c;return W.backgroundPosition({value:c,valuesToConvert:o,isRtl:e,bgPosDirectionRegex:r})},transition:function a(l){var{value:c,propertiesToConvert:o}=l;return c.split(/,\s*/g).map(function(e){var r=e.split(" ");return r[0]=o[r[0]]||r[0],r.join(" ")}).join(", ")},transitionProperty:function a(l){var{value:c,propertiesToConvert:o}=l;return c.split(/,\s*/g).map(function(e){return o[e]||e}).join(", ")},transform:function a(l){var c=l.value,o="[^\\u0020-\\u007e]",e="(?:(?:(?:\\[0-9a-f]{1,6})(?:\\r\\n|\\s)?)|\\\\[^\\r\\n\\f0-9a-f])",r="((?:-?"+("(?:[0-9]*\\.[0-9]+|[0-9]+)(?:\\s*(?:em|ex|px|cm|mm|in|pt|pc|deg|rad|grad|ms|s|hz|khz|%)|"+("-?"+("(?:[_a-z]|"+o+"|"+e+")")+("(?:[_a-z0-9-]|"+o+"|"+e+")")+"*")+")?")+")|(?:inherit|auto))",t=new RegExp("(translateX\\s*\\(\\s*)"+r+"(\\s*\\))","gi"),h=new RegExp("(translate\\s*\\(\\s*)"+r+"((?:\\s*,\\s*"+r+"){0,1}\\s*\\))","gi"),Z=new RegExp("(translate3d\\s*\\(\\s*)"+r+"((?:\\s*,\\s*"+r+"){0,2}\\s*\\))","gi"),i=new RegExp("(rotate[ZY]?\\s*\\(\\s*)"+r+"(\\s*\\))","gi");return c.replace(t,m6).replace(h,m6).replace(Z,m6).replace(i,m6)}};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 Xt=$t([["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"]]),Fd=["content"],Kt=$t([["ltr","rtl"],["left","right"],["w-resize","e-resize"],["sw-resize","se-resize"],["nw-resize","ne-resize"]]),aF=new RegExp("(^|\\W|_)((ltr)|(rtl)|(left)|(right))(\\W|_|$)","g"),lF=new RegExp("(left)|(right)");function no(a){return Object.keys(a).reduce(function(l,c){var o=a[c];if(Ad(o))o=o.trim();if(a8(Fd,c))return l[c]=o,l;var e=l8(c,o),r=e.key,t=e.value;return l[r]=t,l},Array.isArray(a)?[]:{})}function l8(a,l){var c=/\/\*\s?@noflip\s?\*\//.test(l),o=c?a:xd(a),e=c?l:Cd(o,l);return{key:o,value:e}}function xd(a){return Xt[a]||a}function Cd(a,l){if(!gd(l))return l;if(ud(l))return no(l);var c=d6(l),o=Md(l),e=c||o?l:l.replace(/ !important.*?$/,""),r=!c&&e.length!==l.length,t=W[a],h;if(t)h=t({value:e,valuesToConvert:Kt,propertiesToConvert:Xt,isRtl:!0,bgImgDirectionRegex:aF,bgPosDirectionRegex:lF});else h=Kt[e]||e;if(r)return h+" !important";return h}var cF=/[A-Z]/g,oF=/^ms-/,Nt={};function eF(a){return"-"+a.toLowerCase()}function d3(a){if(Object.prototype.hasOwnProperty.call(Nt,a))return Nt[a];if(a.substr(0,2)==="--")return a;let l=a.replace(cF,eF);return Nt[a]=oF.test(l)?"-"+l:l}function mo(a){if(a.charAt(0)==="&")return a.slice(1);return a}var p6="-moz-",j5="-webkit-",po="comm",m3="rule",s6="decl";var Ld="@media",Rd="@import";var Sd="@supports";var Dd="@namespace",wd="@keyframes";var so="@layer";var jt=Math.abs,M6=String.fromCharCode,ah=Object.assign;function kd(a,l){return F0(a,0)^45?(((l<<2^F0(a,0))<<2^F0(a,1))<<2^F0(a,2))<<2^F0(a,3):0}function Mo(a){return a.trim()}function _o(a,l){return(a=l.exec(a))?a[0]:a}function $0(a,l,c){return a.replace(l,c)}function uo(a,l,c){return a.indexOf(l,c)}function F0(a,l){return a.charCodeAt(l)|0}function y7(a,l,c){return a.slice(l,c)}function h5(a){return a.length}function Ao(a){return a.length}function U7(a,l){return l.push(a),a}function lh(a,l){return a.map(l).join("")}var Ho=1,_6=1,yd=0,W5=0,i0=0,u6="";function c8(a,l,c,o,e,r,t,h){return{value:a,root:l,parent:c,type:o,props:e,children:r,line:Ho,column:_6,length:t,return:"",siblings:h}}function Vo(a,l){return ah(c8("",null,null,"",null,null,0,a.siblings),a,{length:-a.length},l)}function Ud(){return i0}function Gd(){if(i0=W5>0?F0(u6,--W5):0,_6--,i0===10)_6=1,Ho--;return i0}function I5(){if(i0=W5<yd?F0(u6,W5++):0,_6++,i0===10)_6=1,Ho++;return i0}function G7(){return F0(u6,W5)}function o8(){return W5}function go(a,l){return y7(u6,a,l)}function r4(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 oh(a){return Ho=_6=1,yd=h5(u6=a),W5=0,[]}function eh(a){return u6="",a}function e8(a){return Mo(go(W5-1,ch(a===91?a+2:a===40?a+1:a)))}function Bd(a){return eh(rF(oh(a)))}function Td(a){while(i0=G7())if(i0<33)I5();else break;return r4(a)>2||r4(i0)>3?"":" "}function rF(a){while(I5())switch(r4(i0)){case 0:U7(rh(W5-1),a);break;case 2:U7(e8(i0),a);break;default:U7(M6(i0),a)}return a}function bd(a,l){while(--l&&I5())if(i0<48||i0>102||i0>57&&i0<65||i0>70&&i0<97)break;return go(a,o8()+(l<6&&G7()==32&&I5()==32))}function ch(a){while(I5())switch(i0){case a:return W5;case 34:case 39:if(a!==34&&a!==39)ch(i0);break;case 40:if(a===41)ch(a);break;case 92:I5();break}return W5}function Od(a,l){while(I5())if(a+i0===57)break;else if(a+i0===84&&G7()===47)break;return"/*"+go(l,W5-1)+"*"+M6(a===47?a:I5())}function rh(a){while(!r4(G7()))I5();return go(a,W5)}function Fo(a){return eh(fo("",null,null,null,[""],a=oh(a),0,[0],a))}function fo(a,l,c,o,e,r,t,h,Z){var i=0,n=0,v=t,d=0,m=0,s=0,p=1,M=1,u=1,A=0,V="",H=e,g=r,S=o,C=V;while(M)switch(s=A,A=I5()){case 40:if(s!=108&&F0(C,v-1)==58){if(uo(C+=$0(e8(A),"&","&\f"),"&\f",jt(i?h[i-1]:0))!=-1)u=-1;break}case 34:case 39:case 91:C+=e8(A);break;case 9:case 10:case 13:case 32:C+=Td(s);break;case 92:C+=bd(o8()-1,7);continue;case 47:switch(G7()){case 42:case 47:if(U7(tF(Od(I5(),o8()),l,c,Z),Z),(r4(s||1)==5||r4(G7()||1)==5)&&h5(C)&&y7(C,-1,void 0)!==" ")C+=" ";break;default:C+="/"}break;case 123*p:h[i++]=h5(C)*u;case 125*p:case 59:case 0:switch(A){case 0:case 125:M=0;case 59+n:if(u==-1)C=$0(C,/\f/g,"");if(m>0&&(h5(C)-v||p===0&&s===47))U7(m>32?Wd(C+";",o,c,v-1,Z):Wd($0(C," ","")+";",o,c,v-2,Z),Z);break;case 59:C+=";";default:if(U7(S=Ed(C,l,c,i,n,e,h,V,H=[],g=[],v,r),r),A===123)if(n===0)fo(C,l,S,S,H,r,v,h,g);else{switch(d){case 99:if(F0(C,3)===110)break;case 108:if(F0(C,2)===97)break;default:n=0;case 100:case 109:case 115:}if(n)fo(a,S,S,o&&U7(Ed(a,S,S,0,0,e,h,V,e,H=[],v,g),g),e,g,v,h,o?H:g);else fo(C,S,S,S,[""],g,0,h,g)}}i=n=m=0,p=u=1,V=C="",v=t;break;case 58:v=1+h5(C),m=s;default:if(p<1){if(A==123)--p;else if(A==125&&p++==0&&Gd()==125)continue}switch(C+=M6(A),A*p){case 38:u=n>0?1:(C+="\f",-1);break;case 44:h[i++]=(h5(C)-1)*u,u=1;break;case 64:if(G7()===45)C+=e8(I5());d=G7(),n=v=h5(V=C+=rh(o8())),A++;break;case 45:if(s===45&&h5(C)==2)p=0}}return r}function Ed(a,l,c,o,e,r,t,h,Z,i,n,v){var d=e-1,m=e===0?r:[""],s=Ao(m);for(var p=0,M=0,u=0;p<o;++p)for(var A=0,V=y7(a,d+1,d=jt(M=t[p])),H=a;A<s;++A)if(H=Mo(M>0?m[A]+" "+V:$0(V,/&\f/g,m[A])))Z[u++]=H;return c8(a,l,c,e===0?m3:h,Z,i,n,v)}function tF(a,l,c,o){return c8(a,l,c,po,M6(Ud()),y7(a,2,-2),0,o)}function Wd(a,l,c,o,e){return c8(a,l,c,s6,y7(a,0,o),y7(a,o+1,-1),o,e)}function B7(a,l){var c="";for(var o=0;o<a.length;o++)c+=l(a[o],o,a,l)||"";return c}function xo(a,l,c,o){switch(a.type){case so:if(a.children.length)break;case Rd:case Dd:case s6:return a.return=a.return||a.value;case po:return"";case wd:return a.return=a.value+"{"+B7(a.children,o)+"}";case m3:if(!h5(a.value=a.props.join(",")))return""}return h5(c=B7(a.children,o))?a.return=a.value+"{"+c+"}":""}function Co(a){var l=Ao(a);return function(c,o,e,r){var t="";for(var h=0;h<l;h++)t+=a[h](c,o,e,r)||"";return t}}function Lo(a){return function(l){if(!l.root){if(l=l.return)a(l)}}}var Id=(a)=>{switch(a.type){case m3: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 Bd(l).reduce((c,o,e,r)=>{if(o==="")return c;if(o===":"&&r[e+1]==="global"){let t=r[e+2].slice(1,-1)+" ";return c.unshift(t),r[e+1]="",r[e+2]="",c}return c.push(o),c},[]).join("")})}};function qd(a,l,c){switch(kd(a,l)){case 5103:return j5+"print-"+a+a;case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:return j5+a+a;case 4215:if(F0(a,9)===102)return j5+a+a;if(F0(a,l+1)===116)return j5+a+a;break;case 4789:return p6+a+a;case 5349:case 4246:case 6968:return j5+a+p6+a+a;case 6187:if(!_o(a,/grab/))return $0($0($0(a,/(zoom-|grab)/,j5+"$1"),/(image-set)/,j5+"$1"),a,"")+a;case 5495:case 3959:return $0(a,/(image-set\([^]*)/,j5+"$1$`$1");case 4095:case 3583:case 4068:case 2532:return $0(a,/(.+)-inline(.+)/,j5+"$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(h5(a)-1-l>6)switch(F0(a,l+1)){case 102:if(F0(a,l+3)===108)return $0(a,/(.+:)(.+)-([^]+)/,"$1"+j5+"$2-$3$1"+p6+(F0(a,l+3)==108?"$3":"$2-$3"))+a;case 115:return~uo(a,"stretch")?qd($0(a,"stretch","fill-available"),l)+a:a}break}return a}function Ro(a,l,c,o){if(a.length>-1){if(!a.return)switch(a.type){case s6:a.return=qd(a.value,a.length);return;case m3:if(a.length)return lh(a.props,function(e){switch(_o(e,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return B7([Vo(a,{props:[$0(e,/:(read-\w+)/,":"+p6+"$1")]})],o);case"::placeholder":return B7([Vo(a,{props:[$0(e,/:(plac\w+)/,":"+j5+"input-$1")]}),Vo(a,{props:[$0(e,/:(plac\w+)/,":"+p6+"$1")]})],o)}return""})}}return}function Pd(a){switch(a.type){case"@container":case Ld:case Sd:case so:return!0}return!1}var zd=(a)=>{if(Pd(a)&&Array.isArray(a.children))a.children.sort((l,c)=>l.props[0]>c.props[0]?1:-1)};function hF(){}function Qd(a,l){let c=[];return B7(Fo(a),Co([Id,l?zd:hF,Ro,xo,Lo((o)=>c.push(o))])),c}var ZF=/,( *[^ &])/g;function iF(a){return"&"+mo(a.replace(ZF,",&$1"))}function Jd(a,l,c){let o=l;if(c.length>0)o=c.reduceRight((e,r)=>{return`${iF(r)} { ${e} }`},l);return`${a}{${o}}`}function th(a,l){let{className:c,selectors:o,property:e,rtlClassName:r,rtlProperty:t,rtlValue:h,value:Z}=a,{container:i,layer:n,media:v,supports:d}=l,m=`.${c}`,s=Array.isArray(Z)?`${Z.map((M)=>`${d3(e)}: ${M}`).join(";")};`:`${d3(e)}: ${Z};`,p=Jd(m,s,o);if(t&&r){let M=`.${r}`,u=Array.isArray(h)?`${h.map((A)=>`${d3(t)}: ${A}`).join(";")};`:`${d3(t)}: ${h};`;p+=Jd(M,u,o)}if(v)p=`@media ${v} { ${p} }`;if(n)p=`@layer ${n} { ${p} }`;if(d)p=`@supports ${d} { ${p} }`;if(i)p=`@container ${i} { ${p} }`;return Qd(p,!0)}function Kd(a){let l="";for(let c in a){let o=a[c];if(typeof o==="string"||typeof o==="number"){l+=d3(c)+":"+o+";";continue}if(Array.isArray(o))for(let e of o)l+=d3(c)+":"+e+";"}return l}function hh(a){let l="";for(let c in a)l+=`${c}{${Kd(a[c])}}`;return l}function Zh(a,l){let c=`@keyframes ${a} {${l}}`,o=[];return B7(Fo(c),Co([xo,Ro,Lo((e)=>o.push(e))])),o}var $d={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 ih(a,l){if(a.length===0)return l;return`${a} and ${l}`}function Yd(a){return a.substr(0,6)==="@media"}function Xd(a){return a.substr(0,6)==="@layer"}var vF=/^(:|\[|>|&)/;function Nd(a){return vF.test(a)}function jd(a){return a.substr(0,9)==="@supports"}function am(a){return a.substring(0,10)==="@container"}function lm(a){return a!=null&&typeof a==="object"&&Array.isArray(a)===!1}var cm={"us-w":"w","us-v":"i",nk:"l",si:"v",cu:"f",ve:"h",ti:"a"};function vh(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 cm[c.slice(4,8)]||cm[c.slice(3,5)]||"d"}return"d"}function So(a,l){return a?l+a:a}function nh(a){return So(a.container,"c")+So(a.media,"m")+So(a.layer,"l")+So(a.supports,"s")}function Do(a,l,c){let o=a+nh(c)+l,e=l7(o),r=e.charCodeAt(0);if(r>=48&&r<=57)return String.fromCharCode(r+17)+e.slice(1);return e}function r8({property:a,selector:l,salt:c,value:o},e){return Xa+l7(c+l+nh(e)+a+o.trim())}function om(a){return a===i6}function wo(a){return a.replace(/>\s+/g,">")}function ko(...a){if(typeof document!=="undefined")console.error(...a)}function em(a,l){ko(/*@__PURE__*/(()=>{let o=JSON.stringify(l,null,2),e=["@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}": ${o.split(`
|
|
5
|
-
`).map((
|
|
6
|
-
`)}`," ".repeat(4)+"}"," ".repeat(2)+"})",""];if(a.indexOf("&")===-1)
|
|
7
|
-
`)})())}function
|
|
8
|
-
`))())}function
|
|
1
|
+
var LF=Object.create;var{getPrototypeOf:RF,defineProperty:xh,getOwnPropertyNames:wF}=Object;var SF=Object.prototype.hasOwnProperty;var h6=(a,l,c)=>{c=a!=null?LF(RF(a)):{};let o=l||!a||!a.__esModule?xh(c,"default",{value:a,enumerable:!0}):c;for(let r of wF(a))if(!SF.call(o,r))xh(o,r,{get:()=>a[r],enumerable:!0});return o};var N2=(a,l)=>()=>(l||a((l={exports:{}}).exports,l),l.exports);var Ch=(a,l)=>{for(var c in l)xh(a,c,{get:l[c],enumerable:!0,configurable:!0,set:(o)=>l[c]=()=>o})};var Lh=(a,l)=>()=>(a&&(l=a(a=0)),l);function a7(a,l){for(var c in l)a[c]=l[c];return a}function Dh(a){a&&a.parentNode&&a.parentNode.removeChild(a)}function o1(a,l,c){var o,r,e,h={};for(e in l)e=="key"?o=l[e]:e=="ref"?r=l[e]:h[e]=l[e];if(arguments.length>2&&(h.children=arguments.length>3?Q8.call(arguments,2):c),typeof a=="function"&&a.defaultProps!=null)for(e in a.defaultProps)h[e]===void 0&&(h[e]=a.defaultProps[e]);return W8(a,h,o,r,null)}function W8(a,l,c,o,r){var e={type:a,props:l,key:c,ref:o,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:r==null?++Tv:r,__i:-1,__u:0};return r==null&&V1.vnode!=null&&V1.vnode(e),e}function A5(){return{current:null}}function p1(a){return a.children}function M5(a,l){this.props=a,this.context=l}function Z6(a,l){if(l==null)return a.__?Z6(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"?Z6(a):null}function Qv(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 Qv(a)}}function Sh(a){(!a.__d&&(a.__d=!0)&&o4.push(a)&&!Zo.__r++||yv!=V1.debounceRendering)&&((yv=V1.debounceRendering)||bv)(Zo)}function Zo(){for(var a,l,c,o,r,e,h,Z=1;o4.length;)o4.length>Z&&o4.sort(Ev),a=o4.shift(),Z=o4.length,a.__d&&(c=void 0,o=void 0,r=(o=(l=a).__v).__e,e=[],h=[],l.__P&&((c=a7({},o)).__v=o.__v+1,V1.vnode&&V1.vnode(c),kh(l.__P,c,o,l.__n,l.__P.namespaceURI,32&o.__u?[r]:null,e,r==null?Z6(o):r,!!(32&o.__u),h),c.__v=o.__v,c.__.__k[c.__i]=c,$v(e,c,h),o.__e=o.__=null,c.__e!=r&&Qv(c)));Zo.__r=0}function Jv(a,l,c,o,r,e,h,Z,t,i,v){var n,d,p,M,_,A,m,u=o&&o.__k||zv,f=l.length;for(t=UF(c,l,u,t,f),n=0;n<f;n++)(p=c.__k[n])!=null&&(d=p.__i==-1?z8:u[p.__i]||z8,p.__i=n,A=kh(a,p,d,r,e,h,Z,t,i,v),M=p.__e,p.ref&&d.ref!=p.ref&&(d.ref&&yh(d.ref,null,p),v.push(p.ref,p.__c||M,p)),_==null&&M!=null&&(_=M),(m=!!(4&p.__u))||d.__k===p.__k?t=Iv(p,t,a,m):typeof p.type=="function"&&A!==void 0?t=A:M&&(t=M.nextSibling),p.__u&=-7);return c.__e=_,t}function UF(a,l,c,o,r){var e,h,Z,t,i,v=c.length,n=v,d=0;for(a.__k=Array(r),e=0;e<r;e++)(h=l[e])!=null&&typeof h!="boolean"&&typeof h!="function"?(t=e+d,(h=a.__k[e]=typeof h=="string"||typeof h=="number"||typeof h=="bigint"||h.constructor==String?W8(null,h,null,null,null):J8(h)?W8(p1,{children:h},null,null,null):h.constructor==null&&h.__b>0?W8(h.type,h.props,h.key,h.ref?h.ref:null,h.__v):h).__=a,h.__b=a.__b+1,Z=null,(i=h.__i=BF(h,c,t,n))!=-1&&(n--,(Z=c[i])&&(Z.__u|=2)),Z==null||Z.__v==null?(i==-1&&(r>v?d--:r<v&&d++),typeof h.type!="function"&&(h.__u|=4)):i!=t&&(i==t-1?d--:i==t+1?d++:(i>t?d--:d++,h.__u|=4))):a.__k[e]=null;if(n)for(e=0;e<v;e++)(Z=c[e])!=null&&(2&Z.__u)==0&&(Z.__e==o&&(o=Z6(Z)),Xv(Z,Z));return o}function Iv(a,l,c,o){var r,e;if(typeof a.type=="function"){for(r=a.__k,e=0;r&&e<r.length;e++)r[e]&&(r[e].__=a,l=Iv(r[e],l,c,o));return l}a.__e!=l&&(o&&(l&&a.type&&!l.parentNode&&(l=Z6(a)),c.insertBefore(a.__e,l||null)),l=a.__e);do l=l&&l.nextSibling;while(l!=null&&l.nodeType==8);return l}function l7(a,l){return l=l||[],a==null||typeof a=="boolean"||(J8(a)?a.some(function(c){l7(c,l)}):l.push(a)),l}function BF(a,l,c,o){var r,e,h,Z=a.key,t=a.type,i=l[c],v=i!=null&&(2&i.__u)==0;if(i===null&&a.key==null||v&&Z==i.key&&t==i.type)return c;if(o>(v?1:0)){for(r=c-1,e=c+1;r>=0||e<l.length;)if((i=l[h=r>=0?r--:e++])!=null&&(2&i.__u)==0&&Z==i.key&&t==i.type)return h}return-1}function Ov(a,l,c){l[0]=="-"?a.setProperty(l,c==null?"":c):a[l]=c==null?"":typeof c!="number"||GF.test(l)?c:c+"px"}function ho(a,l,c,o,r){var e,h;a:if(l=="style")if(typeof c=="string")a.style.cssText=c;else{if(typeof o=="string"&&(a.style.cssText=o=""),o)for(l in o)c&&l in c||Ov(a.style,l,"");if(c)for(l in c)o&&c[l]==o[l]||Ov(a.style,l,c[l])}else if(l[0]=="o"&&l[1]=="n")e=l!=(l=l.replace(qv,"$1")),h=l.toLowerCase(),l=h in a||l=="onFocusOut"||l=="onFocusIn"?h.slice(2):l.slice(2),a.l||(a.l={}),a.l[l+e]=c,c?o?c.u=o.u:(c.u=Bh,a.addEventListener(l,e?wh:Rh,e)):a.removeEventListener(l,e?wh:Rh,e);else{if(r=="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(Z){}typeof c=="function"||(c==null||c===!1&&l[4]!="-"?a.removeAttribute(l):a.setAttribute(l,l=="popover"&&c==1?"":c))}}function Pv(a){return function(l){if(this.l){var c=this.l[l.type+a];if(l.t==null)l.t=Bh++;else if(l.t<c.u)return;return c(V1.event?V1.event(l):l)}}}function kh(a,l,c,o,r,e,h,Z,t,i){var v,n,d,p,M,_,A,m,u,f,H,F,R,C,b,O,c1,l1=l.type;if(l.constructor!=null)return null;128&c.__u&&(t=!!(32&c.__u),e=[Z=l.__e=c.__e]),(v=V1.__b)&&v(l);a:if(typeof l1=="function")try{if(m=l.props,u="prototype"in l1&&l1.prototype.render,f=(v=l1.contextType)&&o[v.__c],H=v?f?f.props.value:v.__:o,c.__c?A=(n=l.__c=c.__c).__=n.__E:(u?l.__c=n=new l1(m,H):(l.__c=n=new M5(m,H),n.constructor=l1,n.render=kF),f&&f.sub(n),n.props=m,n.state||(n.state={}),n.context=H,n.__n=o,d=n.__d=!0,n.__h=[],n._sb=[]),u&&n.__s==null&&(n.__s=n.state),u&&l1.getDerivedStateFromProps!=null&&(n.__s==n.state&&(n.__s=a7({},n.__s)),a7(n.__s,l1.getDerivedStateFromProps(m,n.__s))),p=n.props,M=n.state,n.__v=l,d)u&&l1.getDerivedStateFromProps==null&&n.componentWillMount!=null&&n.componentWillMount(),u&&n.componentDidMount!=null&&n.__h.push(n.componentDidMount);else{if(u&&l1.getDerivedStateFromProps==null&&m!==p&&n.componentWillReceiveProps!=null&&n.componentWillReceiveProps(m,H),!n.__e&&n.shouldComponentUpdate!=null&&n.shouldComponentUpdate(m,n.__s,H)===!1||l.__v==c.__v){for(l.__v!=c.__v&&(n.props=m,n.state=n.__s,n.__d=!1),l.__e=c.__e,l.__k=c.__k,l.__k.some(function(J){J&&(J.__=l)}),F=0;F<n._sb.length;F++)n.__h.push(n._sb[F]);n._sb=[],n.__h.length&&h.push(n);break a}n.componentWillUpdate!=null&&n.componentWillUpdate(m,n.__s,H),u&&n.componentDidUpdate!=null&&n.__h.push(function(){n.componentDidUpdate(p,M,_)})}if(n.context=H,n.props=m,n.__P=a,n.__e=!1,R=V1.__r,C=0,u){for(n.state=n.__s,n.__d=!1,R&&R(l),v=n.render(n.props,n.state,n.context),b=0;b<n._sb.length;b++)n.__h.push(n._sb[b]);n._sb=[]}else do n.__d=!1,R&&R(l),v=n.render(n.props,n.state,n.context),n.state=n.__s;while(n.__d&&++C<25);n.state=n.__s,n.getChildContext!=null&&(o=a7(a7({},o),n.getChildContext())),u&&!d&&n.getSnapshotBeforeUpdate!=null&&(_=n.getSnapshotBeforeUpdate(p,M)),O=v,v!=null&&v.type===p1&&v.key==null&&(O=Yv(v.props.children)),Z=Jv(a,J8(O)?O:[O],l,c,o,r,e,h,Z,t,i),n.base=l.__e,l.__u&=-161,n.__h.length&&h.push(n),A&&(n.__E=n.__=null)}catch(J){if(l.__v=null,t||e!=null)if(J.then){for(l.__u|=t?160:128;Z&&Z.nodeType==8&&Z.nextSibling;)Z=Z.nextSibling;e[e.indexOf(Z)]=null,l.__e=Z}else{for(c1=e.length;c1--;)Dh(e[c1]);Gh(l)}else l.__e=c.__e,l.__k=c.__k,J.then||Gh(l);V1.__e(J,l,c)}else e==null&&l.__v==c.__v?(l.__k=c.__k,l.__e=c.__e):Z=l.__e=DF(c.__e,l,c,o,r,e,h,t,i);return(v=V1.diffed)&&v(l),128&l.__u?void 0:Z}function Gh(a){a&&a.__c&&(a.__c.__e=!0),a&&a.__k&&a.__k.forEach(Gh)}function $v(a,l,c){for(var o=0;o<c.length;o++)yh(c[o],c[++o],c[++o]);V1.__c&&V1.__c(l,a),a.some(function(r){try{a=r.__h,r.__h=[],a.some(function(e){e.call(r)})}catch(e){V1.__e(e,r.__v)}})}function Yv(a){return typeof a!="object"||a==null||a.__b&&a.__b>0?a:J8(a)?a.map(Yv):a7({},a)}function DF(a,l,c,o,r,e,h,Z,t){var i,v,n,d,p,M,_,A=c.props,m=l.props,u=l.type;if(u=="svg"?r="http://www.w3.org/2000/svg":u=="math"?r="http://www.w3.org/1998/Math/MathML":r||(r="http://www.w3.org/1999/xhtml"),e!=null){for(i=0;i<e.length;i++)if((p=e[i])&&"setAttribute"in p==!!u&&(u?p.localName==u:p.nodeType==3)){a=p,e[i]=null;break}}if(a==null){if(u==null)return document.createTextNode(m);a=document.createElementNS(r,u,m.is&&m),Z&&(V1.__m&&V1.__m(l,e),Z=!1),e=null}if(u==null)A===m||Z&&a.data==m||(a.data=m);else{if(e=e&&Q8.call(a.childNodes),A=c.props||z8,!Z&&e!=null)for(A={},i=0;i<a.attributes.length;i++)A[(p=a.attributes[i]).name]=p.value;for(i in A)if(p=A[i],i=="children");else if(i=="dangerouslySetInnerHTML")n=p;else if(!(i in m)){if(i=="value"&&"defaultValue"in m||i=="checked"&&"defaultChecked"in m)continue;ho(a,i,null,p,r)}for(i in m)p=m[i],i=="children"?d=p:i=="dangerouslySetInnerHTML"?v=p:i=="value"?M=p:i=="checked"?_=p:Z&&typeof p!="function"||A[i]===p||ho(a,i,p,A[i],r);if(v)Z||n&&(v.__html==n.__html||v.__html==a.innerHTML)||(a.innerHTML=v.__html),l.__k=[];else if(n&&(a.innerHTML=""),Jv(l.type=="template"?a.content:a,J8(d)?d:[d],l,c,o,u=="foreignObject"?"http://www.w3.org/1999/xhtml":r,e,h,e?e[0]:c.__k&&Z6(c,0),Z,t),e!=null)for(i=e.length;i--;)Dh(e[i]);Z||(i="value",u=="progress"&&M==null?a.removeAttribute("value"):M!=null&&(M!==a[i]||u=="progress"&&!M||u=="option"&&M!=A[i])&&ho(a,i,M,A[i],r),i="checked",_!=null&&_!=a[i]&&ho(a,i,_,A[i],r))}return a}function yh(a,l,c){try{if(typeof a=="function"){var o=typeof a.__u=="function";o&&a.__u(),o&&l==null||(a.__u=a(l))}else a.current=l}catch(r){V1.__e(r,c)}}function Xv(a,l,c){var o,r;if(V1.unmount&&V1.unmount(a),(o=a.ref)&&(o.current&&o.current!=a.__e||yh(o,null,l)),(o=a.__c)!=null){if(o.componentWillUnmount)try{o.componentWillUnmount()}catch(e){V1.__e(e,l)}o.base=o.__P=null}if(o=a.__k)for(r=0;r<o.length;r++)o[r]&&Xv(o[r],l,c||typeof a.type!="function");c||Dh(a.__e),a.__c=a.__=a.__e=void 0}function kF(a,l,c){return this.constructor(a,c)}function G7(a,l,c){var o,r,e,h;l==document&&(l=document.documentElement),V1.__&&V1.__(a,l),r=(o=typeof c=="function")?null:c&&c.__k||l.__k,e=[],h=[],kh(l,a=(!o&&c||l).__k=o1(p1,null,[a]),r||z8,z8,l.namespaceURI,!o&&c?[c]:r?null:l.firstChild?Q8.call(l.childNodes):null,e,!o&&c?c:r?r.__e:l.firstChild,o,h),$v(e,a,h)}function Oh(a,l){G7(a,l,Oh)}function Kv(a,l,c){var o,r,e,h,Z=a7({},a.props);for(e in a.type&&a.type.defaultProps&&(h=a.type.defaultProps),l)e=="key"?o=l[e]:e=="ref"?r=l[e]:Z[e]=l[e]===void 0&&h!=null?h[e]:l[e];return arguments.length>2&&(Z.children=arguments.length>3?Q8.call(arguments,2):c),W8(a.type,Z,o||a.key,r||a.ref,null)}function Z1(a){function l(c){var o,r;return this.getChildContext||(o=/*@__PURE__*/new Set,(r={})[l.__c]=this,this.getChildContext=function(){return r},this.componentWillUnmount=function(){o=null},this.shouldComponentUpdate=function(e){this.props.value!=e.value&&o.forEach(function(h){h.__e=!0,Sh(h)})},this.sub=function(e){o.add(e);var h=e.componentWillUnmount;e.componentWillUnmount=function(){o&&o.delete(e),h&&h.call(e)}}),c.children}return l.__c="__cC"+Wv++,l.__=a,l.Provider=l.__l=(l.Consumer=function(c,o){return c.children(o)}).contextType=l,l}var Q8,V1,Tv,Uh,o4,yv,bv,Ev,qv,Bh,Rh,wh,Wv,z8,zv,GF,J8;var i3=Lh(()=>{z8={},zv=[],GF=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,J8=Array.isArray;Q8=zv.slice,V1={__e:function(a,l,c,o){for(var r,e,h;l=l.__;)if((r=l.__c)&&!r.__)try{if((e=r.constructor)&&e.getDerivedStateFromError!=null&&(r.setState(e.getDerivedStateFromError(a)),h=r.__d),r.componentDidCatch!=null&&(r.componentDidCatch(a,o||{}),h=r.__d),h)return r.__E=r}catch(Z){a=Z}throw a}},Tv=0,Uh=function(a){return a!=null&&a.constructor==null},M5.prototype.setState=function(a,l){var c;c=this.__s!=null&&this.__s!=this.state?this.__s:this.__s=a7({},this.state),typeof a=="function"&&(a=a(a7({},c),this.props)),a&&a7(c,a),a!=null&&this.__v&&(l&&this._sb.push(l),Sh(this))},M5.prototype.forceUpdate=function(a){this.__v&&(this.__e=!0,a&&this.__h.push(a),Sh(this))},M5.prototype.render=p1,o4=[],bv=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,Ev=function(a,l){return a.__v.__b-l.__v.__b},Zo.__r=0,qv=/(PointerCapture)$|Capture$/i,Bh=0,Rh=Pv(!1),wh=Pv(!0),Wv=0});function h4(a,l){n0.__h&&n0.__h(K1,a,s6||l),s6=0;var c=K1.__H||(K1.__H={__:[],__h:[]});return a>=c.__.length&&c.__.push({}),c.__[a]}function t1(a){return s6=1,s2(fp,a)}function s2(a,l,c){var o=h4(O7++,2);if(o.t=a,!o.__c&&(o.__=[c?c(l):fp(void 0,l),function(Z){var t=o.__N?o.__N[0]:o.__[0],i=o.t(t,Z);t!==i&&(o.__N=[i,o.__[1]],o.__c.setState({}))}],o.__c=K1,!K1.__f)){var r=function(Z,t,i){if(!o.__c.__H)return!0;var v=o.__c.__H.__.filter(function(d){return!!d.__c});if(v.every(function(d){return!d.__N}))return!e||e.call(this,Z,t,i);var n=o.__c.props!==Z;return v.forEach(function(d){if(d.__N){var p=d.__[0];d.__=d.__N,d.__N=void 0,p!==d.__[0]&&(n=!0)}}),e&&e.call(this,Z,t,i)||n};K1.__f=!0;var{shouldComponentUpdate:e,componentWillUpdate:h}=K1;K1.componentWillUpdate=function(Z,t,i){if(this.__e){var v=e;e=void 0,r(Z,t,i),e=v}h&&h.call(this,Z,t,i)},K1.shouldComponentUpdate=r}return o.__N||o.__}function N(a,l){var c=h4(O7++,3);!n0.__s&&mZ(c.__H,l)&&(c.__=a,c.u=l,K1.__H.__h.push(c))}function r7(a,l){var c=h4(O7++,4);!n0.__s&&mZ(c.__H,l)&&(c.__=a,c.u=l,K1.__h.push(c))}function k(a){return s6=5,_1(function(){return{current:a}},[])}function h5(a,l,c){s6=6,r7(function(){if(typeof a=="function"){var o=a(l());return function(){a(null),o&&typeof o=="function"&&o()}}if(a)return a.current=l(),function(){return a.current=null}},c==null?c:c.concat(a))}function _1(a,l){var c=h4(O7++,7);return mZ(c.__H,l)&&(c.__=a(),c.__H=l,c.__h=a),c.__}function W(a,l){return s6=8,_1(function(){return a},l)}function e1(a){var l=K1.context[a.__c],c=h4(O7++,9);return c.c=a,l?(c.__==null&&(c.__=!0,l.sub(K1)),l.props.value):a.__}function Do(a,l){n0.useDebugValue&&n0.useDebugValue(l?l(a):a)}function AZ(a){var l=h4(O7++,10),c=t1();return l.__=a,K1.componentDidCatch||(K1.componentDidCatch=function(o,r){l.__&&l.__(o,r),c[1](o)}),[c[0],function(){c[1](void 0)}]}function ko(){var a=h4(O7++,11);if(!a.__){for(var l=K1.__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 ng(){for(var a;a=Hp.shift();)if(a.__P&&a.__H)try{a.__H.__h.forEach(Bo),a.__H.__h.forEach(MZ),a.__H.__h=[]}catch(l){a.__H.__h=[],n0.__e(l,a.__v)}}function vg(a){var l,c=function(){clearTimeout(o),up&&cancelAnimationFrame(l),setTimeout(a)},o=setTimeout(c,35);up&&(l=requestAnimationFrame(c))}function Bo(a){var l=K1,c=a.__c;typeof c=="function"&&(a.__c=void 0,c()),K1=l}function MZ(a){var l=K1;a.__c=a.__(),K1=l}function mZ(a,l){return!a||a.length!==l.length||l.some(function(c,o){return c!==a[o]})}function fp(a,l){return typeof l=="function"?l(a):l}var O7,K1,_Z,dp,s6=0,Hp,n0,pp,_p,Mp,Ap,mp,sp,up;var V5=Lh(()=>{i3();Hp=[],n0=V1,pp=n0.__b,_p=n0.__r,Mp=n0.diffed,Ap=n0.__c,mp=n0.unmount,sp=n0.__;n0.__b=function(a){K1=null,pp&&pp(a)},n0.__=function(a,l){a&&l.__k&&l.__k.__m&&(a.__m=l.__k.__m),sp&&sp(a,l)},n0.__r=function(a){_p&&_p(a),O7=0;var l=(K1=a.__c).__H;l&&(_Z===K1?(l.__h=[],K1.__h=[],l.__.forEach(function(c){c.__N&&(c.__=c.__N),c.u=c.__N=void 0})):(l.__h.forEach(Bo),l.__h.forEach(MZ),l.__h=[],O7=0)),_Z=K1},n0.diffed=function(a){Mp&&Mp(a);var l=a.__c;l&&l.__H&&(l.__H.__h.length&&(Hp.push(l)!==1&&dp===n0.requestAnimationFrame||((dp=n0.requestAnimationFrame)||vg)(ng)),l.__H.__.forEach(function(c){c.u&&(c.__H=c.u),c.u=void 0})),_Z=K1=null},n0.__c=function(a,l){l.some(function(c){try{c.__h.forEach(Bo),c.__h=c.__h.filter(function(o){return!o.__||MZ(o)})}catch(o){l.some(function(r){r.__h&&(r.__h=[])}),l=[],n0.__e(o,c.__v)}}),Ap&&Ap(a,l)},n0.unmount=function(a){mp&&mp(a);var l,c=a.__c;c&&c.__H&&(c.__H.__.forEach(function(o){try{Bo(o)}catch(r){l=r}}),c.__H=void 0,l&&n0.__e(l,c.__v))};up=typeof requestAnimationFrame=="function"});var V={};Ch(V,{version:()=>CZ,useTransition:()=>FZ,useSyncExternalStore:()=>HZ,useState:()=>t1,useRef:()=>k,useReducer:()=>s2,useMemo:()=>_1,useLayoutEffect:()=>r7,useInsertionEffect:()=>gZ,useImperativeHandle:()=>h5,useId:()=>ko,useErrorBoundary:()=>AZ,useEffect:()=>N,useDeferredValue:()=>VZ,useDebugValue:()=>Do,useContext:()=>e1,useCallback:()=>W,unstable_batchedUpdates:()=>ea,unmountComponentAtNode:()=>qp,startTransition:()=>fZ,render:()=>yp,memo:()=>Oo,lazy:()=>Dp,isValidElement:()=>m5,isMemo:()=>Ep,isFragment:()=>bp,isElement:()=>Jp,hydrate:()=>Op,forwardRef:()=>q,flushSync:()=>zp,findDOMNode:()=>Wp,default:()=>LZ,createRef:()=>A5,createPortal:()=>Po,createFactory:()=>Tp,createElement:()=>o1,createContext:()=>Z1,cloneElement:()=>Z4,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:()=>Pp,SuspenseList:()=>u6,Suspense:()=>ra,StrictMode:()=>Qp,PureComponent:()=>yo,Fragment:()=>p1,Component:()=>M5,Children:()=>l2});function Sp(a,l){for(var c in l)a[c]=l[c];return a}function uZ(a,l){for(var c in a)if(c!=="__source"&&!(c in l))return!0;for(var o in l)if(o!=="__source"&&a[o]!==l[o])return!0;return!1}function HZ(a,l){var c=l(),o=t1({t:{__:c,u:l}}),r=o[0].t,e=o[1];return r7(function(){r.__=c,r.u=l,sZ(r)&&e({t:r})},[a,c,l]),N(function(){return sZ(r)&&e({t:r}),a(function(){sZ(r)&&e({t:r})})},[a]),c}function sZ(a){var l,c,o=a.u,r=a.__;try{var e=o();return!((l=r)===(c=e)&&(l!==0||1/l==1/c)||l!=l&&c!=c)}catch(h){return!0}}function fZ(a){a()}function VZ(a){return a}function FZ(){return[!1,fZ]}function yo(a,l){this.props=a,this.context=l}function Oo(a,l){function c(r){var e=this.props.ref,h=e==r.ref;return!h&&e&&(e.call?e(null):e.current=null),l?!l(this.props,r)||!h:uZ(this.props,r)}function o(r){return this.shouldComponentUpdate=c,o1(a,r)}return o.displayName="Memo("+(a.displayName||a.name)+")",o.prototype.isReactComponent=!0,o.__f=!0,o.type=a,o}function q(a){function l(c){var o=Sp({},c);return delete o.ref,a(o,c.ref||null)}return l.$$typeof=dg,l.render=a,l.prototype.isReactComponent=l.__f=!0,l.displayName="ForwardRef("+(a.displayName||a.name)+")",l}function Gp(a,l,c){return a&&(a.__c&&a.__c.__H&&(a.__c.__H.__.forEach(function(o){typeof o.__c=="function"&&o.__c()}),a.__c.__H=null),(a=Sp({},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(o){return Gp(o,l,c)})),a}function Up(a,l,c){return a&&c&&(a.__v=null,a.__k=a.__k&&a.__k.map(function(o){return Up(o,l,c)}),a.__c&&a.__c.__P===l&&(a.__e&&c.appendChild(a.__e),a.__c.__e=!0,a.__c.__P=c)),a}function ra(){this.__u=0,this.o=null,this.__b=null}function Bp(a){var l=a.__.__c;return l&&l.__a&&l.__a(a)}function Dp(a){var l,c,o;function r(e){if(l||(l=a()).then(function(h){c=h.default||h},function(h){o=h}),o)throw o;if(!c)throw l;return o1(c,e)}return r.displayName="Lazy",r.__f=!0,r}function u6(){this.i=null,this.l=null}function _g(a){return this.getChildContext=function(){return a.context},a.children}function Mg(a){var l=this,c=a.h;if(l.componentWillUnmount=function(){G7(null,l.v),l.v=null,l.h=null},l.h&&l.h!==c&&l.componentWillUnmount(),!l.v){for(var o=l.__v;o!==null&&!o.__m&&o.__!==null;)o=o.__;l.h=c,l.v={nodeType:1,parentNode:c,childNodes:[],__k:{__m:o.__m},contains:function(){return!0},insertBefore:function(r,e){this.childNodes.push(r),l.h.insertBefore(r,e)},removeChild:function(r){this.childNodes.splice(this.childNodes.indexOf(r)>>>1,1),l.h.removeChild(r)}}}G7(o1(_g,{context:l.context},a.__v),l.v)}function Po(a,l){var c=o1(Mg,{__v:a,h:l});return c.containerInfo=l,c}function yp(a,l,c){return l.__k==null&&(l.textContent=""),G7(a,l),typeof c=="function"&&c(),a?a.__c:null}function Op(a,l,c){return Oh(a,l),typeof c=="function"&&c(),a?a.__c:null}function fg(){}function Vg(){return this.cancelBubble}function Fg(){return this.defaultPrevented}function Tp(a){return o1.bind(null,a)}function m5(a){return!!a&&a.$$typeof===kp}function bp(a){return m5(a)&&a.type===p1}function Ep(a){return!!a&&!!a.displayName&&(typeof a.displayName=="string"||a.displayName instanceof String)&&a.displayName.startsWith("Memo(")}function Z4(a){return m5(a)?Kv.apply(null,arguments):a}function qp(a){return!!a.__k&&(G7(null,a),!0)}function Wp(a){return a&&(a.base||a.nodeType===1&&a)||null}var gZ,Vp,dg,Fp=function(a,l){return a==null?null:l7(l7(a).map(l))},l2,pg,gp,xp=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]}},kp,Ag,mg,sg,ug,Hg=function(a){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(a)},Cp,xZ,gg,Lp,Rp,wp,Pp,CZ="18.3.1",ea=function(a,l){return a(l)},zp=function(a,l){return a(l)},Qp,Jp,LZ;var g=Lh(()=>{i3();i3();V5();V5();gZ=r7;(yo.prototype=new M5).isPureReactComponent=!0,yo.prototype.shouldComponentUpdate=function(a,l){return uZ(this.props,a)||uZ(this.state,l)};Vp=V1.__b;V1.__b=function(a){a.type&&a.type.__f&&a.ref&&(a.props.ref=a.ref,a.ref=null),Vp&&Vp(a)};dg=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;l2={map:Fp,forEach:Fp,count:function(a){return a?l7(a).length:0},only:function(a){var l=l7(a);if(l.length!==1)throw"Children.only";return l[0]},toArray:l7},pg=V1.__e;V1.__e=function(a,l,c,o){if(a.then){for(var r,e=l;e=e.__;)if((r=e.__c)&&r.__c)return l.__e==null&&(l.__e=c.__e,l.__k=c.__k),r.__c(a,l)}pg(a,l,c,o)};gp=V1.unmount;V1.unmount=function(a){var l=a.__c;l&&l.__R&&l.__R(),l&&32&a.__u&&(a.type=null),gp&&gp(a)},(ra.prototype=new M5).__c=function(a,l){var c=l.__c,o=this;o.o==null&&(o.o=[]),o.o.push(c);var r=Bp(o.__v),e=!1,h=function(){e||(e=!0,c.__R=null,r?r(Z):Z())};c.__R=h;var Z=function(){if(!--o.__u){if(o.state.__a){var t=o.state.__a;o.__v.__k[0]=Up(t,t.__c.__P,t.__c.__O)}var i;for(o.setState({__a:o.__b=null});i=o.o.pop();)i.forceUpdate()}};o.__u++||32&l.__u||o.setState({__a:o.__b=o.__v.__k[0]}),a.then(h,h)},ra.prototype.componentWillUnmount=function(){this.o=[]},ra.prototype.render=function(a,l){if(this.__b){if(this.__v.__k){var c=document.createElement("div"),o=this.__v.__k[0].__c;this.__v.__k[0]=Gp(this.__b,c,o.__O=o.__P)}this.__b=null}var r=l.__a&&o1(p1,null,a.fallback);return r&&(r.__u&=-33),[o1(p1,null,l.__a?null:a.children),r]};(u6.prototype=new M5).__a=function(a){var l=this,c=Bp(l.__v),o=l.l.get(a);return o[0]++,function(r){var e=function(){l.props.revealOrder?(o.push(r),xp(l,a,o)):r()};c?c(e):e()}},u6.prototype.render=function(a){this.i=null,this.l=/*@__PURE__*/new Map;var l=l7(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},u6.prototype.componentDidUpdate=u6.prototype.componentDidMount=function(){var a=this;this.l.forEach(function(l,c){xp(a,c,l)})};kp=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,Ag=/^(?: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]/,mg=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,sg=/[A-Z0-9]/g,ug=typeof document<"u";M5.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(a){Object.defineProperty(M5.prototype,a,{configurable:!0,get:function(){return this["UNSAFE_"+a]},set:function(l){Object.defineProperty(this,a,{configurable:!0,writable:!0,value:l})}})});Cp=V1.event;V1.event=function(a){return Cp&&(a=Cp(a)),a.persist=fg,a.isPropagationStopped=Vg,a.isDefaultPrevented=Fg,a.nativeEvent=a};gg={enumerable:!1,configurable:!0,get:function(){return this.class}},Lp=V1.vnode;V1.vnode=function(a){typeof a.type=="string"&&function(l){var{props:c,type:o}=l,r={},e=o.indexOf("-")===-1;for(var h in c){var Z=c[h];if(!(h==="value"&&("defaultValue"in c)&&Z==null||ug&&h==="children"&&o==="noscript"||h==="class"||h==="className")){var t=h.toLowerCase();h==="defaultValue"&&"value"in c&&c.value==null?h="value":h==="download"&&Z===!0?Z="":t==="translate"&&Z==="no"?Z=!1:t[0]==="o"&&t[1]==="n"?t==="ondoubleclick"?h="ondblclick":t!=="onchange"||o!=="input"&&o!=="textarea"||Hg(c.type)?t==="onfocus"?h="onfocusin":t==="onblur"?h="onfocusout":mg.test(h)&&(h=t):t=h="oninput":e&&Ag.test(h)?h=h.replace(sg,"-$&").toLowerCase():Z===null&&(Z=void 0),t==="oninput"&&r[h=t]&&(h="oninputCapture"),r[h]=Z}}o=="select"&&r.multiple&&Array.isArray(r.value)&&(r.value=l7(c.children).forEach(function(i){i.props.selected=r.value.indexOf(i.props.value)!=-1})),o=="select"&&r.defaultValue!=null&&(r.value=l7(c.children).forEach(function(i){i.props.selected=r.multiple?r.defaultValue.indexOf(i.props.value)!=-1:r.defaultValue==i.props.value})),c.class&&!c.className?(r.class=c.class,Object.defineProperty(r,"className",gg)):(c.className&&!c.class||c.class&&c.className)&&(r.class=r.className=c.className),l.props=r}(a),a.$$typeof=kp,Lp&&Lp(a)};Rp=V1.__r;V1.__r=function(a){Rp&&Rp(a),xZ=a.__c};wp=V1.diffed;V1.diffed=function(a){wp&&wp(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),xZ=null};Pp={ReactCurrentDispatcher:{current:{readContext:function(a){return xZ.__n[a.__c].props.value},useCallback:W,useContext:e1,useDebugValue:Do,useDeferredValue:VZ,useEffect:N,useId:ko,useImperativeHandle:h5,useInsertionEffect:gZ,useLayoutEffect:r7,useMemo:_1,useReducer:s2,useRef:k,useState:t1,useSyncExternalStore:HZ,useTransition:FZ}}};Qp=p1,Jp=m5,LZ={useState:t1,useId:ko,useReducer:s2,useEffect:N,useLayoutEffect:r7,useInsertionEffect:gZ,useTransition:FZ,useDeferredValue:VZ,useSyncExternalStore:HZ,startTransition:fZ,useRef:k,useImperativeHandle:h5,useMemo:_1,useCallback:W,useContext:e1,useDebugValue:Do,version:"18.3.1",Children:l2,render:yp,hydrate:Op,unmountComponentAtNode:qp,createPortal:Po,createElement:o1,createContext:Z1,createFactory:Tp,cloneElement:Z4,createRef:A5,Fragment:p1,isValidElement:m5,isElement:Jp,isFragment:bp,isMemo:Ep,findDOMNode:Wp,Component:M5,PureComponent:yo,memo:Oo,forwardRef:q,flushSync:zp,unstable_batchedUpdates:ea,StrictMode:Qp,Suspense:ra,SuspenseList:u6,lazy:Dp,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Pp}});var S_=N2((cx)=>{(function(){var a=60103,l=60106,c=60107,o=60108,r=60114,e=60109,h=60110,Z=60112,t=60113,i=60120,v=60115,n=60116,d=60121,p=60122,M=60117,_=60119,A=60128,m=60129,u=60130,f=60131;if(typeof Symbol==="function"&&Symbol.for){var H=Symbol.for;a=H("react.element"),l=H("react.portal"),c=H("react.fragment"),o=H("react.strict_mode"),r=H("react.profiler"),e=H("react.provider"),h=H("react.context"),Z=H("react.forward_ref"),t=H("react.suspense"),i=H("react.suspense_list"),v=H("react.memo"),n=H("react.lazy"),d=H("react.block"),p=H("react.server.block"),M=H("react.fundamental"),_=H("react.scope"),A=H("react.opaque.id"),m=H("react.debug_trace_mode"),u=H("react.offscreen"),f=H("react.legacy_hidden")}var F=!1;function R(d1){if(typeof d1==="string"||typeof d1==="function")return!0;if(d1===c||d1===r||d1===m||d1===o||d1===t||d1===i||d1===f||F)return!0;if(typeof d1==="object"&&d1!==null){if(d1.$$typeof===n||d1.$$typeof===v||d1.$$typeof===e||d1.$$typeof===h||d1.$$typeof===Z||d1.$$typeof===M||d1.$$typeof===d||d1[0]===p)return!0}return!1}function C(d1){if(typeof d1==="object"&&d1!==null){var f5=d1.$$typeof;switch(f5){case a:var m2=d1.type;switch(m2){case c:case r:case o:case t:case i:return m2;default:var P5=m2&&m2.$$typeof;switch(P5){case h:case Z:case n:case v:case e:return P5;default:return f5}}case l:return f5}}return}var b=h,O=e,c1=a,l1=Z,J=c,x=n,w=v,D=l,$=r,K=o,n1=t,I=!1,M1=!1;function f1(d1){if(!I)I=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.");return!1}function y(d1){if(!M1)M1=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.");return!1}function P(d1){return C(d1)===h}function x1(d1){return C(d1)===e}function D1(d1){return typeof d1==="object"&&d1!==null&&d1.$$typeof===a}function e0(d1){return C(d1)===Z}function X5(d1){return C(d1)===c}function M2(d1){return C(d1)===n}function A2(d1){return C(d1)===v}function K5(d1){return C(d1)===l}function y5(d1){return C(d1)===r}function v1(d1){return C(d1)===o}function O5(d1){return C(d1)===t}cx.ContextConsumer=b,cx.ContextProvider=O,cx.Element=c1,cx.ForwardRef=l1,cx.Fragment=J,cx.Lazy=x,cx.Memo=w,cx.Portal=D,cx.Profiler=$,cx.StrictMode=K,cx.Suspense=n1,cx.isAsyncMode=f1,cx.isConcurrentMode=y,cx.isContextConsumer=P,cx.isContextProvider=x1,cx.isElement=D1,cx.isForwardRef=e0,cx.isFragment=X5,cx.isLazy=M2,cx.isMemo=A2,cx.isPortal=K5,cx.isProfiler=y5,cx.isStrictMode=v1,cx.isSuspense=O5,cx.isValidElementType=R,cx.typeOf=C})()});var PA=N2((bC)=>{(function(){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function")__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var a=!1,l=!1,c=5;function o(h1,u1){var U1=h1.length;h1.push(u1),h(h1,u1,U1)}function r(h1){return h1.length===0?null:h1[0]}function e(h1){if(h1.length===0)return null;var u1=h1[0],U1=h1.pop();if(U1!==u1)h1[0]=U1,Z(h1,U1,0);return u1}function h(h1,u1,U1){var J1=U1;while(J1>0){var Z0=J1-1>>>1,_5=h1[Z0];if(t(_5,u1)>0)h1[Z0]=u1,h1[J1]=_5,J1=Z0;else return}}function Z(h1,u1,U1){var J1=U1,Z0=h1.length,_5=Z0>>>1;while(J1<_5){var b0=(J1+1)*2-1,j2=h1[b0],r5=b0+1,eo=h1[r5];if(t(j2,u1)<0)if(r5<Z0&&t(eo,j2)<0)h1[J1]=eo,h1[r5]=u1,J1=r5;else h1[J1]=j2,h1[b0]=u1,J1=b0;else if(r5<Z0&&t(eo,u1)<0)h1[J1]=eo,h1[r5]=u1,J1=r5;else return}}function t(h1,u1){var U1=h1.sortIndex-u1.sortIndex;return U1!==0?U1:h1.id-u1.id}var i=1,v=2,n=3,d=4,p=5;function M(h1,u1){}var _=typeof performance==="object"&&typeof performance.now==="function";if(_){var A=performance;bC.unstable_now=function(){return A.now()}}else{var m=Date,u=m.now();bC.unstable_now=function(){return m.now()-u}}var f=1073741823,H=-1,F=250,R=5000,C=1e4,b=f,O=[],c1=[],l1=1,J=null,x=n,w=!1,D=!1,$=!1,K=typeof setTimeout==="function"?setTimeout:null,n1=typeof clearTimeout==="function"?clearTimeout:null,I=typeof setImmediate<"u"?setImmediate:null,M1=typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0?navigator.scheduling.isInputPending.bind(navigator.scheduling):null;function f1(h1){var u1=r(c1);while(u1!==null){if(u1.callback===null)e(c1);else if(u1.startTime<=h1)e(c1),u1.sortIndex=u1.expirationTime,o(O,u1);else return;u1=r(c1)}}function y(h1){if($=!1,f1(h1),!D)if(r(O)!==null)D=!0,h0(P);else{var u1=r(c1);if(u1!==null)M0(y,u1.startTime-h1)}}function P(h1,u1){if(D=!1,$)$=!1,o5();w=!0;var U1=x;try{if(l)try{return x1(h1,u1)}catch(Z0){if(J!==null){var J1=bC.unstable_now();M(J,J1),J.isQueued=!1}throw Z0}else return x1(h1,u1)}finally{J=null,x=U1,w=!1}}function x1(h1,u1){var U1=u1;f1(U1),J=r(O);while(J!==null&&!a){if(J.expirationTime>U1&&(!h1||a4()))break;var J1=J.callback;if(typeof J1==="function"){J.callback=null,x=J.priorityLevel;var Z0=J.expirationTime<=U1,_5=J1(Z0);if(U1=bC.unstable_now(),typeof _5==="function")J.callback=_5;else if(J===r(O))e(O);f1(U1)}else e(O);J=r(O)}if(J!==null)return!0;else{var b0=r(c1);if(b0!==null)M0(y,b0.startTime-U1);return!1}}function D1(h1,u1){switch(h1){case i:case v:case n:case d:case p:break;default:h1=n}var U1=x;x=h1;try{return u1()}finally{x=U1}}function e0(h1){var u1;switch(x){case i:case v:case n:u1=n;break;default:u1=x;break}var U1=x;x=u1;try{return h1()}finally{x=U1}}function X5(h1){var u1=x;return function(){var U1=x;x=u1;try{return h1.apply(this,arguments)}finally{x=U1}}}function M2(h1,u1,U1){var J1=bC.unstable_now(),Z0;if(typeof U1==="object"&&U1!==null){var _5=U1.delay;if(typeof _5==="number"&&_5>0)Z0=J1+_5;else Z0=J1}else Z0=J1;var b0;switch(h1){case i:b0=H;break;case v:b0=F;break;case p:b0=b;break;case d:b0=C;break;case n:default:b0=R;break}var j2=Z0+b0,r5={id:l1++,callback:u1,priorityLevel:h1,startTime:Z0,expirationTime:j2,sortIndex:-1};if(Z0>J1){if(r5.sortIndex=Z0,o(c1,r5),r(O)===null&&r5===r(c1)){if($)o5();else $=!0;M0(y,Z0-J1)}}else if(r5.sortIndex=j2,o(O,r5),!D&&!w)D=!0,h0(P);return r5}function A2(){}function K5(){if(!D&&!w)D=!0,h0(P)}function y5(){return r(O)}function v1(h1){h1.callback=null}function O5(){return x}var d1=!1,f5=null,m2=-1,P5=c,r6=-1;function a4(){var h1=bC.unstable_now()-r6;if(h1<P5)return!1;return!0}function e6(){}function gh(h1){if(h1<0||h1>125){console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported");return}if(h1>0)P5=Math.floor(1000/h1);else P5=c}var q8=function(){if(f5!==null){var h1=bC.unstable_now();r6=h1;var u1=!0,U1=!0;try{U1=f5(u1,h1)}finally{if(U1)l4();else d1=!1,f5=null}}else d1=!1},l4;if(typeof I==="function")l4=function(){I(q8)};else if(typeof MessageChannel<"u"){var r1=new MessageChannel,F1=r1.port2;r1.port1.onmessage=q8,l4=function(){F1.postMessage(null)}}else l4=function(){K(q8,0)};function h0(h1){if(f5=h1,!d1)d1=!0,l4()}function M0(h1,u1){m2=K(function(){h1(bC.unstable_now())},u1)}function o5(){n1(m2),m2=-1}var c4=e6,t3=null;if(bC.unstable_IdlePriority=p,bC.unstable_ImmediatePriority=i,bC.unstable_LowPriority=d,bC.unstable_NormalPriority=n,bC.unstable_Profiling=t3,bC.unstable_UserBlockingPriority=v,bC.unstable_cancelCallback=v1,bC.unstable_continueExecution=K5,bC.unstable_forceFrameRate=gh,bC.unstable_getCurrentPriorityLevel=O5,bC.unstable_getFirstCallbackNode=y5,bC.unstable_next=e0,bC.unstable_pauseExecution=A2,bC.unstable_requestPaint=c4,bC.unstable_runWithPriority=D1,bC.unstable_scheduleCallback=M2,bC.unstable_shouldYield=a4,bC.unstable_wrapCallback=X5,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function")__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var nv=N2((DU)=>{(function(){var a=typeof Symbol==="function"&&Symbol.for,l=a?Symbol.for("react.element"):60103,c=a?Symbol.for("react.portal"):60106,o=a?Symbol.for("react.fragment"):60107,r=a?Symbol.for("react.strict_mode"):60108,e=a?Symbol.for("react.profiler"):60114,h=a?Symbol.for("react.provider"):60109,Z=a?Symbol.for("react.context"):60110,t=a?Symbol.for("react.async_mode"):60111,i=a?Symbol.for("react.concurrent_mode"):60111,v=a?Symbol.for("react.forward_ref"):60112,n=a?Symbol.for("react.suspense"):60113,d=a?Symbol.for("react.suspense_list"):60120,p=a?Symbol.for("react.memo"):60115,M=a?Symbol.for("react.lazy"):60116,_=a?Symbol.for("react.block"):60121,A=a?Symbol.for("react.fundamental"):60117,m=a?Symbol.for("react.responder"):60118,u=a?Symbol.for("react.scope"):60119;function f(v1){return typeof v1==="string"||typeof v1==="function"||v1===o||v1===i||v1===e||v1===r||v1===n||v1===d||typeof v1==="object"&&v1!==null&&(v1.$$typeof===M||v1.$$typeof===p||v1.$$typeof===h||v1.$$typeof===Z||v1.$$typeof===v||v1.$$typeof===A||v1.$$typeof===m||v1.$$typeof===u||v1.$$typeof===_)}function H(v1){if(typeof v1==="object"&&v1!==null){var O5=v1.$$typeof;switch(O5){case l:var d1=v1.type;switch(d1){case t:case i:case o:case e:case r:case n:return d1;default:var f5=d1&&d1.$$typeof;switch(f5){case Z:case v:case M:case p:case h:return f5;default:return O5}}case c:return O5}}return}var F=t,R=i,C=Z,b=h,O=l,c1=v,l1=o,J=M,x=p,w=c,D=e,$=r,K=n,n1=!1;function I(v1){if(!n1)n1=!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 M1(v1)||H(v1)===t}function M1(v1){return H(v1)===i}function f1(v1){return H(v1)===Z}function y(v1){return H(v1)===h}function P(v1){return typeof v1==="object"&&v1!==null&&v1.$$typeof===l}function x1(v1){return H(v1)===v}function D1(v1){return H(v1)===o}function e0(v1){return H(v1)===M}function X5(v1){return H(v1)===p}function M2(v1){return H(v1)===c}function A2(v1){return H(v1)===e}function K5(v1){return H(v1)===r}function y5(v1){return H(v1)===n}DU.AsyncMode=F,DU.ConcurrentMode=R,DU.ContextConsumer=C,DU.ContextProvider=b,DU.Element=O,DU.ForwardRef=c1,DU.Fragment=l1,DU.Lazy=J,DU.Memo=x,DU.Portal=w,DU.Profiler=D,DU.StrictMode=$,DU.Suspense=K,DU.isAsyncMode=I,DU.isConcurrentMode=M1,DU.isContextConsumer=f1,DU.isContextProvider=y,DU.isElement=P,DU.isForwardRef=x1,DU.isFragment=D1,DU.isLazy=e0,DU.isMemo=X5,DU.isPortal=M2,DU.isProfiler=A2,DU.isStrictMode=K5,DU.isSuspense=y5,DU.isValidElementType=f,DU.typeOf=H})()});var tV=N2((CS1,ZV)=>{var hV=Object.getOwnPropertySymbols,kU=Object.prototype.hasOwnProperty,yU=Object.prototype.propertyIsEnumerable;function OU(a){if(a===null||a===void 0)throw TypeError("Object.assign cannot be called with null or undefined");return Object(a)}function PU(){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 o=Object.getOwnPropertyNames(l).map(function(e){return l[e]});if(o.join("")!=="0123456789")return!1;var r={};if("abcdefghijklmnopqrst".split("").forEach(function(e){r[e]=e}),Object.keys(Object.assign({},r)).join("")!=="abcdefghijklmnopqrst")return!1;return!0}catch(e){return!1}}ZV.exports=PU()?Object.assign:function(a,l){var c,o=OU(a),r;for(var e=1;e<arguments.length;e++){c=Object(arguments[e]);for(var h in c)if(kU.call(c,h))o[h]=c[h];if(hV){r=hV(c);for(var Z=0;Z<r.length;Z++)if(yU.call(c,r[Z]))o[r[Z]]=c[r[Z]]}}return o}});var vv=N2((LS1,iV)=>{var TU="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";iV.exports=TU});var dv=N2((RS1,nV)=>{nV.exports=Function.call.bind(Object.prototype.hasOwnProperty)});var pV=N2((wS1,dV)=>{var pv=function(){};_v=vv(),ao={},Mv=dv(),pv=function(a){var l="Warning: "+a;if(typeof console<"u")console.error(l);try{throw Error(l)}catch(c){}};var _v,ao,Mv;function vV(a,l,c,o,r){for(var e in a)if(Mv(a,e)){var h;try{if(typeof a[e]!=="function"){var Z=Error((o||"React class")+": "+c+" type `"+e+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof a[e]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Z.name="Invariant Violation",Z}h=a[e](l,e,o,c,null,_v)}catch(i){h=i}if(h&&!(h instanceof Error))pv((o||"React class")+": type specification of "+c+" `"+e+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof h+". 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(h instanceof Error&&!(h.message in ao)){ao[h.message]=!0;var t=r?r():"";pv("Failed "+c+" type: "+h.message+(t!=null?t:""))}}}vV.resetWarningCache=function(){ao={}};dV.exports=vV});var mV=N2((SS1,AV)=>{var MV=h6(nv()),bU=tV(),T8=vv(),Av=dv(),_V=pV(),b8=function(){};b8=function(a){var l="Warning: "+a;if(typeof console<"u")console.error(l);try{throw Error(l)}catch(c){}};function dh(){return null}AV.exports=function(a,l){var c=typeof Symbol==="function"&&Symbol.iterator,o="@@iterator";function r(x){var w=x&&(c&&x[c]||x[o]);if(typeof w==="function")return w}var e="<<anonymous>>",h={array:v("array"),bigint:v("bigint"),bool:v("boolean"),func:v("function"),number:v("number"),object:v("object"),string:v("string"),symbol:v("symbol"),any:n(),arrayOf:d,element:p(),elementType:M(),instanceOf:_,node:f(),objectOf:m,oneOf:A,oneOfType:u,shape:F,exact:R};function Z(x,w){if(x===w)return x!==0||1/x===1/w;else return x!==x&&w!==w}function t(x,w){this.message=x,this.data=w&&typeof w==="object"?w:{},this.stack=""}t.prototype=Error.prototype;function i(x){var w={},D=0;function $(n1,I,M1,f1,y,P,x1){if(f1=f1||e,P=P||M1,x1!==T8){if(l){var D1=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 D1.name="Invariant Violation",D1}else if(typeof console<"u"){var e0=f1+":"+M1;if(!w[e0]&&D<3)b8("You are manually calling a React.PropTypes validation function for the `"+P+"` prop on `"+f1+"`. 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."),w[e0]=!0,D++}}if(I[M1]==null){if(n1){if(I[M1]===null)return new t("The "+y+" `"+P+"` is marked as required "+("in `"+f1+"`, but its value is `null`."));return new t("The "+y+" `"+P+"` is marked as required in "+("`"+f1+"`, but its value is `undefined`."))}return null}else return x(I,M1,f1,y,P)}var K=$.bind(null,!1);return K.isRequired=$.bind(null,!0),K}function v(x){function w(D,$,K,n1,I,M1){var f1=D[$],y=O(f1);if(y!==x){var P=c1(f1);return new t("Invalid "+n1+" `"+I+"` of type "+("`"+P+"` supplied to `"+K+"`, expected ")+("`"+x+"`."),{expectedType:x})}return null}return i(w)}function n(){return i(dh)}function d(x){function w(D,$,K,n1,I){if(typeof x!=="function")return new t("Property `"+I+"` of component `"+K+"` has invalid PropType notation inside arrayOf.");var M1=D[$];if(!Array.isArray(M1)){var f1=O(M1);return new t("Invalid "+n1+" `"+I+"` of type "+("`"+f1+"` supplied to `"+K+"`, expected an array."))}for(var y=0;y<M1.length;y++){var P=x(M1,y,K,n1,I+"["+y+"]",T8);if(P instanceof Error)return P}return null}return i(w)}function p(){function x(w,D,$,K,n1){var I=w[D];if(!a(I)){var M1=O(I);return new t("Invalid "+K+" `"+n1+"` of type "+("`"+M1+"` supplied to `"+$+"`, expected a single ReactElement."))}return null}return i(x)}function M(){function x(w,D,$,K,n1){var I=w[D];if(!MV.isValidElementType(I)){var M1=O(I);return new t("Invalid "+K+" `"+n1+"` of type "+("`"+M1+"` supplied to `"+$+"`, expected a single ReactElement type."))}return null}return i(x)}function _(x){function w(D,$,K,n1,I){if(!(D[$]instanceof x)){var M1=x.name||e,f1=J(D[$]);return new t("Invalid "+n1+" `"+I+"` of type "+("`"+f1+"` supplied to `"+K+"`, expected ")+("instance of `"+M1+"`."))}return null}return i(w)}function A(x){if(!Array.isArray(x)){if(arguments.length>1)b8("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 b8("Invalid argument supplied to oneOf, expected an array.");return dh}function w(D,$,K,n1,I){var M1=D[$];for(var f1=0;f1<x.length;f1++)if(Z(M1,x[f1]))return null;var y=JSON.stringify(x,function(x1,D1){var e0=c1(D1);if(e0==="symbol")return String(D1);return D1});return new t("Invalid "+n1+" `"+I+"` of value `"+String(M1)+"` "+("supplied to `"+K+"`, expected one of "+y+"."))}return i(w)}function m(x){function w(D,$,K,n1,I){if(typeof x!=="function")return new t("Property `"+I+"` of component `"+K+"` has invalid PropType notation inside objectOf.");var M1=D[$],f1=O(M1);if(f1!=="object")return new t("Invalid "+n1+" `"+I+"` of type "+("`"+f1+"` supplied to `"+K+"`, expected an object."));for(var y in M1)if(Av(M1,y)){var P=x(M1,y,K,n1,I+"."+y,T8);if(P instanceof Error)return P}return null}return i(w)}function u(x){if(!Array.isArray(x))return b8("Invalid argument supplied to oneOfType, expected an instance of array."),dh;for(var w=0;w<x.length;w++){var D=x[w];if(typeof D!=="function")return b8("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+l1(D)+" at index "+w+"."),dh}function $(K,n1,I,M1,f1){var y=[];for(var P=0;P<x.length;P++){var x1=x[P],D1=x1(K,n1,I,M1,f1,T8);if(D1==null)return null;if(D1.data&&Av(D1.data,"expectedType"))y.push(D1.data.expectedType)}var e0=y.length>0?", expected one of type ["+y.join(", ")+"]":"";return new t("Invalid "+M1+" `"+f1+"` supplied to "+("`"+I+"`"+e0+"."))}return i($)}function f(){function x(w,D,$,K,n1){if(!C(w[D]))return new t("Invalid "+K+" `"+n1+"` supplied to "+("`"+$+"`, expected a ReactNode."));return null}return i(x)}function H(x,w,D,$,K){return new t((x||"React class")+": "+w+" type `"+D+"."+$+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+K+"`.")}function F(x){function w(D,$,K,n1,I){var M1=D[$],f1=O(M1);if(f1!=="object")return new t("Invalid "+n1+" `"+I+"` of type `"+f1+"` "+("supplied to `"+K+"`, expected `object`."));for(var y in x){var P=x[y];if(typeof P!=="function")return H(K,n1,I,y,c1(P));var x1=P(M1,y,K,n1,I+"."+y,T8);if(x1)return x1}return null}return i(w)}function R(x){function w(D,$,K,n1,I){var M1=D[$],f1=O(M1);if(f1!=="object")return new t("Invalid "+n1+" `"+I+"` of type `"+f1+"` "+("supplied to `"+K+"`, expected `object`."));var y=bU({},D[$],x);for(var P in y){var x1=x[P];if(Av(x,P)&&typeof x1!=="function")return H(K,n1,I,P,c1(x1));if(!x1)return new t("Invalid "+n1+" `"+I+"` key `"+P+"` supplied to `"+K+"`.\nBad object: "+JSON.stringify(D[$],null," ")+`
|
|
2
|
+
Valid keys: `+JSON.stringify(Object.keys(x),null," "));var D1=x1(M1,P,K,n1,I+"."+P,T8);if(D1)return D1}return null}return i(w)}function C(x){switch(typeof x){case"number":case"string":case"undefined":return!0;case"boolean":return!x;case"object":if(Array.isArray(x))return x.every(C);if(x===null||a(x))return!0;var w=r(x);if(w){var D=w.call(x),$;if(w!==x.entries){while(!($=D.next()).done)if(!C($.value))return!1}else while(!($=D.next()).done){var K=$.value;if(K){if(!C(K[1]))return!1}}}else return!1;return!0;default:return!1}}function b(x,w){if(x==="symbol")return!0;if(!w)return!1;if(w["@@toStringTag"]==="Symbol")return!0;if(typeof Symbol==="function"&&w instanceof Symbol)return!0;return!1}function O(x){var w=typeof x;if(Array.isArray(x))return"array";if(x instanceof RegExp)return"object";if(b(w,x))return"symbol";return w}function c1(x){if(typeof x>"u"||x===null)return""+x;var w=O(x);if(w==="object"){if(x instanceof Date)return"date";else if(x instanceof RegExp)return"regexp"}return w}function l1(x){var w=c1(x);switch(w){case"array":case"object":return"an "+w;case"boolean":case"date":case"regexp":return"a "+w;default:return w}}function J(x){if(!x.constructor||!x.constructor.name)return e;return x.constructor.name}return h.checkPropTypes=_V,h.resetWarningCache=_V.resetWarningCache,h.PropTypes=h,h}});var uV=N2((GS1,sV)=>{var sv=h6(nv());mv=!0,sV.exports=mV()(sv.isElement,mv);var mv});var xV=N2((jU)=>{jU.__esModule=!0;jU.default=function(a,l){if(a&&l){var c=Array.isArray(l)?l:l.split(",");if(c.length===0)return!0;var o=a.name||"",r=(a.type||"").toLowerCase(),e=r.replace(/\/.*$/,"");return c.some(function(h){var Z=h.trim().toLowerCase();if(Z.charAt(0)===".")return o.toLowerCase().endsWith(Z);else if(Z.endsWith("/*"))return e===Z.replace(/\/.*$/,"");return r===Z})}return!0}});i3();var Ph=typeof window>"u"?global:window;function jv(a,l){if(!Ph[Symbol.for("@griffel/"+a)])Ph[Symbol.for("@griffel/"+a)]=l;return Ph[Symbol.for("@griffel/"+a)]}var n3=/*@__PURE__*/jv("DEBUG_RESET_CLASSES",{}),v3=/*@__PURE__*/jv("DEFINITION_LOOKUP_TABLE",{}),r4="data-make-styles-bucket",Th="data-priority",$8="f",Nv="r",I8=7,j5="___",bh="_",to=j5.length+I8+bh.length+I8,ad=0,Eh=1,ld={all:1,borderColor:1,borderStyle:1,borderWidth:1,borderBlock:1,borderBlockEnd:1,borderBlockStart:1,borderInline:1,borderInlineEnd:1,borderInlineStart:1},t6="DO_NOT_USE_DIRECTLY: @griffel/reset-value";function c7(a){var l=0,c,o=0,r=a.length;for(;r>=4;++o,r-=4)c=a.charCodeAt(o)&255|(a.charCodeAt(++o)&255)<<8|(a.charCodeAt(++o)&255)<<16|(a.charCodeAt(++o)&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(r){case 3:l^=(a.charCodeAt(o+2)&255)<<16;case 2:l^=(a.charCodeAt(o+1)&255)<<8;case 1:l^=a.charCodeAt(o)&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 cd(a){let l=a.length;if(l===I8)return a;for(let c=l;c<I8;c++)a+="0";return a}function io(a,l,c=[]){return j5+cd(c7(a+l))+bh+cd(c7(c.join("")))}function qh(a,l){let c="",o="";for(let r in a){let e=a[r];if(e===0){o+=r+" ";continue}let h=Array.isArray(e),Z=l==="rtl"?(h?e[1]:e)+" ":(h?e[0]:e)+" ";c+=Z,o+=Z}return[c.slice(0,-1),o.slice(0,-1)]}function i6(a,l){let c={};for(let o in a){let[r,e]=qh(a[o],l);if(e===""){c[o]="";continue}let h=io(e,l),Z=h+(r===""?"":" "+r);v3[h]=[a[o],l],c[o]=Z}return c}var Y8={};function S(){let a=null,l="",c="",o=Array(arguments.length),r="";for(let d=0;d<arguments.length;d++){let p=arguments[d];if(typeof p==="string"&&p!==""){let M=p.indexOf(j5);if(M===-1)p.split(" ").forEach((_)=>{if(_.startsWith(Nv)&&n3[_])if(r)console.error(`mergeClasses(): a passed string contains multiple classes produced by makeResetStyles (${p} & ${l}, this will lead to non-deterministic behavior. Learn more:https://griffel.js.org/react/api/make-reset-styles#limitations
|
|
3
|
+
Source string: ${p}`);else r=_}),l+=p+" ";else{let _=p.substr(M,to);if(M>0)l+=p.slice(0,M);c+=_,o[d]=_}if(p.indexOf(j5,M+1)!==-1)console.error(`mergeClasses(): a passed string contains multiple identifiers of atomic classes (classes that start with "${j5}"), it's possible that passed classes were concatenated in a wrong way. Source string: ${p}`)}}if(c==="")return l.slice(0,-1);let e=Y8[c];if(e!==void 0)return l+e;let h=[];for(let d=0;d<arguments.length;d++){let p=o[d];if(p){let M=v3[p];if(M){if(h.push(M[ad]),a!==null&&a!==M[Eh])console.error(`mergeClasses(): a passed string contains an identifier (${p}) that has different direction (dir="${M[1]?"rtl":"ltr"}") setting than other classes. This is not supported. Source string: ${arguments[d]}`);a=M[Eh]}else console.error(`mergeClasses(): a passed string contains an identifier (${p}) that does not match any entry in cache. Source string: ${arguments[d]}`)}}let Z=Object.assign.apply(Object,[{}].concat(h)),[t,i]=qh(Z,a),v=io(i,a,o),n=v+" "+t;return Y8[c]=n,v3[v]=[Z,a],l+n}var od={},rd=/*@__PURE__*/new Set,N5={getChildrenSequences:(a)=>{let l=Object.keys(Y8).find((c)=>Y8[c].startsWith(a));if(l)return l.split(j5).filter((c)=>c.length).map((c)=>j5+c);return[]},addCSSRule:(a)=>{rd.add(a)},addSequenceDetails:(a,l)=>{Object.entries(a).forEach(([c,o])=>{od[o.substring(0,to)]={slotName:c,sourceURL:l}})},getCSSRules:()=>{return Array.from(rd)},getSequenceDetails:(a)=>{return od[a]}};function ed(a,l){return Array.isArray(a)?l==="rtl"?a[1]:a[0]:a||""}function hd(a,l,c,o){let r=a[0],e=a[1];return Object.entries(r).map(([h,Z])=>{let t=ed(Z,e),i;if(c&&l){let v=c.find(({className:n})=>n===t);if(!v&&l[0][h])i=ed(l[0][h],l[1]);else if(v&&l[0][h])i=(o?o.filter(({debugClassNames:d})=>d.filter(({className:p})=>p===t).length>0).length>0:!1)?v.className:v.overriddenBy;else if(!v&&!l[0][h])i=void 0;else if(v&&!l[0][h])i=void 0}return{className:t,overriddenBy:i}})}function Wh(a,l){let c=v3[a];if(c===void 0)return;let o=l?v3[l.sequenceHash]:void 0,r=hd(c,o,l===null||l===void 0?void 0:l.debugClassNames,l===null||l===void 0?void 0:l.children),e={sequenceHash:a,direction:c[1],children:[],debugClassNames:r};if(N5.getChildrenSequences(e.sequenceHash).reverse().forEach((Z)=>{let t=Wh(Z,e);if(t)e.children.push(t)}),!e.children.length)e.rules={},e.debugClassNames.forEach(({className:Z})=>{let t=N5.getSequenceDetails(a);if(t)e.slot=t.slotName,e.sourceURL=t.sourceURL;let i=N5.getCSSRules().find((v)=>{return v.includes(Z)});e.rules[Z]=i});return e}function Zd(a){if(n3[a]===void 0)return;let o={sequenceHash:a,direction:"ltr",children:[],debugClassNames:[{className:a}]};o.rules={},o.slot="makeResetStyles()";let[{className:r}]=o.debugClassNames,e=N5.getCSSRules().filter((h)=>{return h.includes(`.${r}`)});return o.rules[r]=e.join(""),o}function td(a,l){let c=a?Wh(a):void 0,o=l?Zd(l):void 0;if(!c&&!o)return;if(!c)return o;if(!o)return c;return{sequenceHash:c.sequenceHash+o.sequenceHash,direction:c.direction,children:[c,o],debugClassNames:[...c.debugClassNames,...o.debugClassNames]}}function id(a){let l=a.defaultView;if(!l||l.__GRIFFEL_DEVTOOLS__)return;let c={getInfo:(o)=>{let r,e;for(let h of o.classList){if(h.startsWith(j5))r=h;if(n3[h])e=h}return td(r,e)}};Object.defineProperty(l,"__GRIFFEL_DEVTOOLS__",{configurable:!1,enumerable:!1,get(){return c}})}var U7=/*@__PURE__*/(()=>{var a;try{return Boolean(typeof window<"u"&&((a=window.sessionStorage)===null||a===void 0?void 0:a.getItem("__GRIFFEL_DEVTOOLS__")))}catch(l){return!1}})();function nd(a){if(!Array.isArray(a))return[a];if(a.length>2)throw Error("CSS Bucket contains an entry with greater than 2 items, please report this to https://github.com/microsoft/griffel/issues");return a}function vd(a,l,c,o){let r=[];if(o[r4]=l,o[Th]=String(c),a)for(let h in o)a.setAttribute(h,o[h]);function e(h){if(a===null||a===void 0?void 0:a.sheet)return a.sheet.insertRule(h,a.sheet.cssRules.length);return r.push(h)}return{elementAttributes:o,insertRule:e,element:a,bucketName:l,cssRules(){if(a===null||a===void 0?void 0:a.sheet)return Array.from(a.sheet.cssRules).map((h)=>h.cssText);return r}}}var yF=["r","d","l","v","w","f","i","h","a","s","k","t","m","c"],dd=/*@__PURE__*/yF.reduce((a,l,c)=>{return a[l]=c,a},{});function OF(a,l,c){return(a==="m"?a+l:a)+c}function pd(a,l,c,o,r={}){var e,h;let Z=a==="m",t=(e=r.m)!==null&&e!==void 0?e:"0",i=(h=r.p)!==null&&h!==void 0?h:0,v=OF(a,t,i);if(!o.stylesheets[v]){let n=l&&l.createElement("style"),d=vd(n,a,i,Object.assign({},o.styleElementAttributes,Z&&{media:t}));if(o.stylesheets[v]=d,(l===null||l===void 0?void 0:l.head)&&n)l.head.insertBefore(n,TF(l,c,a,o,r))}return o.stylesheets[v]}function PF(a,l,c){var o,r;let e=l+((o=c.m)!==null&&o!==void 0?o:""),h=a.getAttribute(r4)+((r=a.media)!==null&&r!==void 0?r:"");return e===h}function TF(a,l,c,o,r={}){var e,h;let Z=dd[c],t=(e=r.m)!==null&&e!==void 0?e:"",i=(h=r.p)!==null&&h!==void 0?h:0,v=(_)=>Z-dd[_.getAttribute(r4)],n=a.head.querySelectorAll(`[${r4}]`);if(c==="m"){let _=a.head.querySelectorAll(`[${r4}="${c}"]`);if(_.length)n=_,v=(A)=>o.compareMediaQueries(t,A.media)}let d=(_)=>{if(PF(_,c,r))return i-Number(_.getAttribute("data-priority"));return v(_)},p=n.length,M=p-1;while(M>=0){let _=n.item(M);if(d(_)>0)return _.nextSibling;M--}if(p>0)return n.item(0);return l?l.nextSibling:null}var bF=/*@__PURE__*/["-moz-placeholder","-moz-focus-inner","-moz-focusring","-ms-input-placeholder","-moz-read-write","-moz-read-only"].join("|"),EF=/*@__PURE__*/new RegExp(`:(${bF})`);function zh(a,l){try{a.insertRule(l)}catch(c){if(!EF.test(l))console.error(`There was a problem inserting the following rule: "${l}"`,c)}}var qF=0,_d=(a,l)=>a<l?-1:a>l?1:0;function X8(a=typeof document>"u"?void 0:document,l={}){let{classNameHashSalt:c,unstable_filterCSSRule:o,insertionPoint:r,styleElementAttributes:e,compareMediaQueries:h=_d}=l,Z={classNameHashSalt:c,insertionCache:{},stylesheets:{},styleElementAttributes:Object.freeze(e),compareMediaQueries:h,id:`d${qF++}`,insertCSSRules(t){for(let i in t){let v=t[i];for(let n=0,d=v.length;n<d;n++){let[p,M]=nd(v[n]),_=pd(i,a,r||null,Z,M);if(Z.insertionCache[p])continue;if(Z.insertionCache[p]=i,U7)N5.addCSSRule(p);if(o){if(o(p))zh(_,p)}else zh(_,p)}}}};if(a&&!0&&U7)id(a);return Z}function Md(a){return JF(a)||YF(a)||KF(a)}var WF=/^\s*at (.*?) ?\(((?:file|https?|blob|chrome-extension|native|eval|webpack|<anonymous>|\/|[a-z]:\\|\\\\).*?)?\)?\s*$/i,zF=/^\s*at ()((?:file|https?|blob|chrome-extension|native|eval|webpack|<anonymous>|\/|[a-z]:\\|\\\\).*?)\s*$/i,QF=/\((\S*)\)/;function JF(a){let l=WF.exec(a)||zF.exec(a);if(!l)return null;let c=l[2],o=c&&c.indexOf("native")===0,r=c&&c.indexOf("eval")===0,e=QF.exec(c);if(r&&e!=null)c=e[1];return{loc:!o?l[2]:null,name:l[1]||"<unknown>"}}var IF=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|webpack|resource|\[native).*?|[^@]*bundle)\s*$/i,$F=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i;function YF(a){let l=IF.exec(a);if(!l)return null;let c=l[3],o=c&&c.indexOf(" > eval")>-1,r=$F.exec(c);if(o&&r!=null)c=r[1];return{loc:l[3],name:l[1]||"<unknown>"}}var XF=/^\s*(?:([^@]*)(?:\((.*?)\))?@)?(\S.*?)\s*$/i;function KF(a){let l=XF.exec(a);if(!l)return null;return{loc:l[3],name:l[1]||"<unknown>"}}function no(){let a=String(Error().stack).split(`
|
|
4
|
+
`),l=jF(a);if(l===void 0)return;let c=Md(l);return c===null||c===void 0?void 0:c.loc}function jF(a){for(let l=a.length-1;l>=0;--l)if(a[l].includes("at getSourceURLfromError"))return a[l+3];return}var n6=()=>{let a={};return function(c,o){if(a[c.id]===void 0)c.insertCSSRules(o),a[c.id]=!0}};function Ih(a){return a.reduce(function(l,c){var o=c[0],r=c[1];return l[o]=r,l[r]=o,l},{})}function Ad(a){return typeof a==="boolean"}function md(a){return typeof a==="function"}function v6(a){return typeof a==="number"}function sd(a){return a===null||typeof a>"u"}function ud(a){return a&&typeof a==="object"}function Hd(a){return typeof a==="string"}function K8(a,l){return a.indexOf(l)!==-1}function fd(a){if(parseFloat(a)===0)return a;if(a[0]==="-")return a.slice(1);return"-"+a}function d6(a,l,c,o){return l+fd(c)+o}function Vd(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 $h(a){return a.replace(/ +/g," ").split(" ").map(function(l){return l.trim()}).filter(Boolean).reduce(function(l,c){var{list:o,state:r}=l,e=(c.match(/\(/g)||[]).length,h=(c.match(/\)/g)||[]).length;if(r.parensDepth>0)o[o.length-1]=o[o.length-1]+" "+c;else o.push(c);return r.parensDepth+=e-h,{list:o,state:r}},{list:[],state:{parensDepth:0}}).list}function Qh(a){var l=$h(a);if(l.length<=3||l.length>4)return a;var c=l[0],o=l[1],r=l[2],e=l[3];return[c,e,r,o].join(" ")}function Fd(a){return!Ad(a)&&!sd(a)}function gd(a){var l=[],c=0,o=0,r=!1;while(o<a.length)if(!r&&a[o]===",")l.push(a.substring(c,o).trim()),o++,c=o;else if(a[o]==="(")r=!0,o++;else if(a[o]===")")r=!1,o++;else o++;if(c!=o)l.push(a.substring(c,o+1));return l}var E={padding:function(l){var c=l.value;if(v6(c))return c;return Qh(c)},textShadow:function(l){var c=l.value,o=gd(c).map(function(r){return r.replace(/(^|\s)(-*)([.|\d]+)/,function(e,h,Z,t){if(t==="0")return e;var i=Z===""?"-":"";return""+h+i+t})});return o.join(",")},borderColor:function(l){var c=l.value;return Qh(c)},borderRadius:function(l){var c=l.value;if(v6(c))return c;if(K8(c,"/")){var o=c.split("/"),r=o[0],e=o[1],h=E.borderRadius({value:r.trim()}),Z=E.borderRadius({value:e.trim()});return h+" / "+Z}var t=$h(c);switch(t.length){case 2:return t.reverse().join(" ");case 4:{var i=t[0],v=t[1],n=t[2],d=t[3];return[v,i,d,n].join(" ")}default:return c}},background:function(l){var{value:c,valuesToConvert:o,isRtl:r,bgImgDirectionRegex:e,bgPosDirectionRegex:h}=l;if(v6(c))return c;var Z=c.replace(/(url\(.*?\))|(rgba?\(.*?\))|(hsl\(.*?\))|(#[a-fA-F0-9]+)|((^| )(\D)+( |$))/g,"").trim();return c=c.replace(Z,E.backgroundPosition({value:Z,valuesToConvert:o,isRtl:r,bgPosDirectionRegex:h})),E.backgroundImage({value:c,valuesToConvert:o,bgImgDirectionRegex:e})},backgroundImage:function(l){var{value:c,valuesToConvert:o,bgImgDirectionRegex:r}=l;if(!K8(c,"url(")&&!K8(c,"linear-gradient("))return c;return c.replace(r,function(e,h,Z){return e.replace(Z,o[Z])})},backgroundPosition:function(l){var{value:c,valuesToConvert:o,isRtl:r,bgPosDirectionRegex:e}=l;return c.replace(r?/^((-|\d|\.)+%)/:null,function(h,Z){return Vd(Z)}).replace(e,function(h){return o[h]})},backgroundPositionX:function(l){var{value:c,valuesToConvert:o,isRtl:r,bgPosDirectionRegex:e}=l;if(v6(c))return c;return E.backgroundPosition({value:c,valuesToConvert:o,isRtl:r,bgPosDirectionRegex:e})},transition:function(l){var{value:c,propertiesToConvert:o}=l;return c.split(/,\s*/g).map(function(r){var e=r.split(" ");return e[0]=o[e[0]]||e[0],e.join(" ")}).join(", ")},transitionProperty:function(l){var{value:c,propertiesToConvert:o}=l;return c.split(/,\s*/g).map(function(r){return o[r]||r}).join(", ")},transform:function(l){var c=l.value,o="[^\\u0020-\\u007e]",r="(?:(?:(?:\\[0-9a-f]{1,6})(?:\\r\\n|\\s)?)|\\\\[^\\r\\n\\f0-9a-f])",e="((?:-?"+("(?:[0-9]*\\.[0-9]+|[0-9]+)(?:\\s*(?:em|ex|px|cm|mm|in|pt|pc|deg|rad|grad|ms|s|hz|khz|%)|"+("-?"+("(?:[_a-z]|"+o+"|"+r+")")+("(?:[_a-z0-9-]|"+o+"|"+r+")")+"*")+")?")+")|(?:inherit|auto))",h=new RegExp("(translateX\\s*\\(\\s*)"+e+"(\\s*\\))","gi"),Z=new RegExp("(translate\\s*\\(\\s*)"+e+"((?:\\s*,\\s*"+e+"){0,1}\\s*\\))","gi"),t=new RegExp("(translate3d\\s*\\(\\s*)"+e+"((?:\\s*,\\s*"+e+"){0,2}\\s*\\))","gi"),i=new RegExp("(rotate[ZY]?\\s*\\(\\s*)"+e+"(\\s*\\))","gi");return c.replace(h,d6).replace(Z,d6).replace(t,d6).replace(i,d6)}};E.objectPosition=E.backgroundPosition;E.margin=E.padding;E.borderWidth=E.padding;E.boxShadow=E.textShadow;E.webkitBoxShadow=E.boxShadow;E.mozBoxShadow=E.boxShadow;E.WebkitBoxShadow=E.boxShadow;E.MozBoxShadow=E.boxShadow;E.borderStyle=E.borderColor;E.webkitTransform=E.transform;E.mozTransform=E.transform;E.WebkitTransform=E.transform;E.MozTransform=E.transform;E.transformOrigin=E.backgroundPosition;E.webkitTransformOrigin=E.transformOrigin;E.mozTransformOrigin=E.transformOrigin;E.WebkitTransformOrigin=E.transformOrigin;E.MozTransformOrigin=E.transformOrigin;E.webkitTransition=E.transition;E.mozTransition=E.transition;E.WebkitTransition=E.transition;E.MozTransition=E.transition;E.webkitTransitionProperty=E.transitionProperty;E.mozTransitionProperty=E.transitionProperty;E.WebkitTransitionProperty=E.transitionProperty;E.MozTransitionProperty=E.transitionProperty;E["text-shadow"]=E.textShadow;E["border-color"]=E.borderColor;E["border-radius"]=E.borderRadius;E["background-image"]=E.backgroundImage;E["background-position"]=E.backgroundPosition;E["background-position-x"]=E.backgroundPositionX;E["object-position"]=E.objectPosition;E["border-width"]=E.padding;E["box-shadow"]=E.textShadow;E["-webkit-box-shadow"]=E.textShadow;E["-moz-box-shadow"]=E.textShadow;E["border-style"]=E.borderColor;E["-webkit-transform"]=E.transform;E["-moz-transform"]=E.transform;E["transform-origin"]=E.transformOrigin;E["-webkit-transform-origin"]=E.transformOrigin;E["-moz-transform-origin"]=E.transformOrigin;E["-webkit-transition"]=E.transition;E["-moz-transition"]=E.transition;E["transition-property"]=E.transitionProperty;E["-webkit-transition-property"]=E.transitionProperty;E["-moz-transition-property"]=E.transitionProperty;var Yh=Ih([["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"]]),xd=["content"],Jh=Ih([["ltr","rtl"],["left","right"],["w-resize","e-resize"],["sw-resize","se-resize"],["nw-resize","ne-resize"]]),NF=new RegExp("(^|\\W|_)((ltr)|(rtl)|(left)|(right))(\\W|_|$)","g"),ag=new RegExp("(left)|(right)");function vo(a){return Object.keys(a).reduce(function(l,c){var o=a[c];if(Hd(o))o=o.trim();if(K8(xd,c))return l[c]=o,l;var r=j8(c,o),e=r.key,h=r.value;return l[e]=h,l},Array.isArray(a)?[]:{})}function j8(a,l){var c=/\/\*\s?@noflip\s?\*\//.test(l),o=c?a:Cd(a),r=c?l:Ld(o,l);return{key:o,value:r}}function Cd(a){return Yh[a]||a}function Ld(a,l){if(!Fd(l))return l;if(ud(l))return vo(l);var c=v6(l),o=md(l),r=c||o?l:l.replace(/ !important.*?$/,""),e=!c&&r.length!==l.length,h=E[a],Z;if(h)Z=h({value:r,valuesToConvert:Jh,propertiesToConvert:Yh,isRtl:!0,bgImgDirectionRegex:NF,bgPosDirectionRegex:ag});else Z=Jh[r]||r;if(e)return Z+" !important";return Z}var lg=/[A-Z]/g,cg=/^ms-/,Xh={};function og(a){return"-"+a.toLowerCase()}function d3(a){if(Object.prototype.hasOwnProperty.call(Xh,a))return Xh[a];if(a.substr(0,2)==="--")return a;let l=a.replace(lg,og);return Xh[a]=cg.test(l)?"-"+l:l}function po(a){if(a.charAt(0)==="&")return a.slice(1);return a}var p6="-moz-",a2="-webkit-",_o="comm",p3="rule",_6="decl";var Rd="@media",wd="@import";var Sd="@supports";var Gd="@namespace",Ud="@keyframes";var Mo="@layer";var Kh=Math.abs,M6=String.fromCharCode,jh=Object.assign;function Bd(a,l){return g0(a,0)^45?(((l<<2^g0(a,0))<<2^g0(a,1))<<2^g0(a,2))<<2^g0(a,3):0}function Ao(a){return a.trim()}function mo(a,l){return(a=l.exec(a))?a[0]:a}function $0(a,l,c){return a.replace(l,c)}function so(a,l,c){return a.indexOf(l,c)}function g0(a,l){return a.charCodeAt(l)|0}function B7(a,l,c){return a.slice(l,c)}function e5(a){return a.length}function uo(a){return a.length}function D7(a,l){return l.push(a),a}function Nh(a,l){return a.map(l).join("")}var Ho=1,A6=1,Dd=0,T5=0,i0=0,m6="";function N8(a,l,c,o,r,e,h,Z){return{value:a,root:l,parent:c,type:o,props:r,children:e,line:Ho,column:A6,length:h,return:"",siblings:Z}}function fo(a,l){return jh(N8("",null,null,"",null,null,0,a.siblings),a,{length:-a.length},l)}function kd(){return i0}function yd(){if(i0=T5>0?g0(m6,--T5):0,A6--,i0===10)A6=1,Ho--;return i0}function b5(){if(i0=T5<Dd?g0(m6,T5++):0,A6++,i0===10)A6=1,Ho++;return i0}function k7(){return g0(m6,T5)}function aa(){return T5}function Vo(a,l){return B7(m6,a,l)}function e4(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 lZ(a){return Ho=A6=1,Dd=e5(m6=a),T5=0,[]}function cZ(a){return m6="",a}function la(a){return Ao(Vo(T5-1,aZ(a===91?a+2:a===40?a+1:a)))}function Od(a){return cZ(rg(lZ(a)))}function Pd(a){while(i0=k7())if(i0<33)b5();else break;return e4(a)>2||e4(i0)>3?"":" "}function rg(a){while(b5())switch(e4(i0)){case 0:D7(oZ(T5-1),a);break;case 2:D7(la(i0),a);break;default:D7(M6(i0),a)}return a}function Td(a,l){while(--l&&b5())if(i0<48||i0>102||i0>57&&i0<65||i0>70&&i0<97)break;return Vo(a,aa()+(l<6&&k7()==32&&b5()==32))}function aZ(a){while(b5())switch(i0){case a:return T5;case 34:case 39:if(a!==34&&a!==39)aZ(i0);break;case 40:if(a===41)aZ(a);break;case 92:b5();break}return T5}function bd(a,l){while(b5())if(a+i0===57)break;else if(a+i0===84&&k7()===47)break;return"/*"+Vo(l,T5-1)+"*"+M6(a===47?a:b5())}function oZ(a){while(!e4(k7()))b5();return Vo(a,T5)}function go(a){return cZ(Fo("",null,null,null,[""],a=lZ(a),0,[0],a))}function Fo(a,l,c,o,r,e,h,Z,t){var i=0,v=0,n=h,d=0,p=0,M=0,_=1,A=1,m=1,u=0,f="",H=r,F=e,R=o,C=f;while(A)switch(M=u,u=b5()){case 40:if(M!=108&&g0(C,n-1)==58){if(so(C+=$0(la(u),"&","&\f"),"&\f",Kh(i?Z[i-1]:0))!=-1)m=-1;break}case 34:case 39:case 91:C+=la(u);break;case 9:case 10:case 13:case 32:C+=Pd(M);break;case 92:C+=Td(aa()-1,7);continue;case 47:switch(k7()){case 42:case 47:if(D7(eg(bd(b5(),aa()),l,c,t),t),(e4(M||1)==5||e4(k7()||1)==5)&&e5(C)&&B7(C,-1,void 0)!==" ")C+=" ";break;default:C+="/"}break;case 123*_:Z[i++]=e5(C)*m;case 125*_:case 59:case 0:switch(u){case 0:case 125:A=0;case 59+v:if(m==-1)C=$0(C,/\f/g,"");if(p>0&&(e5(C)-n||_===0&&M===47))D7(p>32?qd(C+";",o,c,n-1,t):qd($0(C," ","")+";",o,c,n-2,t),t);break;case 59:C+=";";default:if(D7(R=Ed(C,l,c,i,v,r,Z,f,H=[],F=[],n,e),e),u===123)if(v===0)Fo(C,l,R,R,H,e,n,Z,F);else{switch(d){case 99:if(g0(C,3)===110)break;case 108:if(g0(C,2)===97)break;default:v=0;case 100:case 109:case 115:}if(v)Fo(a,R,R,o&&D7(Ed(a,R,R,0,0,r,Z,f,r,H=[],n,F),F),r,F,n,Z,o?H:F);else Fo(C,R,R,R,[""],F,0,Z,F)}}i=v=p=0,_=m=1,f=C="",n=h;break;case 58:n=1+e5(C),p=M;default:if(_<1){if(u==123)--_;else if(u==125&&_++==0&&yd()==125)continue}switch(C+=M6(u),u*_){case 38:m=v>0?1:(C+="\f",-1);break;case 44:Z[i++]=(e5(C)-1)*m,m=1;break;case 64:if(k7()===45)C+=la(b5());d=k7(),v=n=e5(f=C+=oZ(aa())),u++;break;case 45:if(M===45&&e5(C)==2)_=0}}return e}function Ed(a,l,c,o,r,e,h,Z,t,i,v,n){var d=r-1,p=r===0?e:[""],M=uo(p);for(var _=0,A=0,m=0;_<o;++_)for(var u=0,f=B7(a,d+1,d=Kh(A=h[_])),H=a;u<M;++u)if(H=Ao(A>0?p[u]+" "+f:$0(f,/&\f/g,p[u])))t[m++]=H;return N8(a,l,c,r===0?p3:Z,t,i,v,n)}function eg(a,l,c,o){return N8(a,l,c,_o,M6(kd()),B7(a,2,-2),0,o)}function qd(a,l,c,o,r){return N8(a,l,c,_6,B7(a,0,o),B7(a,o+1,-1),o,r)}function y7(a,l){var c="";for(var o=0;o<a.length;o++)c+=l(a[o],o,a,l)||"";return c}function xo(a,l,c,o){switch(a.type){case Mo:if(a.children.length)break;case wd:case Gd:case _6:return a.return=a.return||a.value;case _o:return"";case Ud:return a.return=a.value+"{"+y7(a.children,o)+"}";case p3:if(!e5(a.value=a.props.join(",")))return""}return e5(c=y7(a.children,o))?a.return=a.value+"{"+c+"}":""}function Co(a){var l=uo(a);return function(c,o,r,e){var h="";for(var Z=0;Z<l;Z++)h+=a[Z](c,o,r,e)||"";return h}}function Lo(a){return function(l){if(!l.root){if(l=l.return)a(l)}}}var Wd=(a)=>{switch(a.type){case p3:if(typeof a.props==="string")throw 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 Od(l).reduce((c,o,r,e)=>{if(o==="")return c;if(o===":"&&e[r+1]==="global"){let h=e[r+2].slice(1,-1)+" ";return c.unshift(h),e[r+1]="",e[r+2]="",c}return c.push(o),c},[]).join("")})}};function zd(a,l,c){switch(Bd(a,l)){case 5103:return a2+"print-"+a+a;case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:return a2+a+a;case 4215:if(g0(a,9)===102)return a2+a+a;if(g0(a,l+1)===116)return a2+a+a;break;case 4789:return p6+a+a;case 5349:case 4246:case 6968:return a2+a+p6+a+a;case 6187:if(!mo(a,/grab/))return $0($0($0(a,/(zoom-|grab)/,a2+"$1"),/(image-set)/,a2+"$1"),a,"")+a;case 5495:case 3959:return $0(a,/(image-set\([^]*)/,a2+"$1$`$1");case 4095:case 3583:case 4068:case 2532:return $0(a,/(.+)-inline(.+)/,a2+"$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(e5(a)-1-l>6)switch(g0(a,l+1)){case 102:if(g0(a,l+3)===108)return $0(a,/(.+:)(.+)-([^]+)/,"$1"+a2+"$2-$3$1"+p6+(g0(a,l+3)==108?"$3":"$2-$3"))+a;case 115:return~so(a,"stretch")?zd($0(a,"stretch","fill-available"),l)+a:a}break}return a}function Ro(a,l,c,o){if(a.length>-1){if(!a.return)switch(a.type){case _6:a.return=zd(a.value,a.length);return;case p3:if(a.length)return Nh(a.props,function(r){switch(mo(r,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return y7([fo(a,{props:[$0(r,/:(read-\w+)/,":"+p6+"$1")]})],o);case"::placeholder":return y7([fo(a,{props:[$0(r,/:(plac\w+)/,":"+a2+"input-$1")]}),fo(a,{props:[$0(r,/:(plac\w+)/,":"+p6+"$1")]})],o)}return""})}}return}function Qd(a){switch(a.type){case"@container":case Rd:case Sd:case Mo:return!0}return!1}var Jd=(a)=>{if(Qd(a)&&Array.isArray(a.children))a.children.sort((l,c)=>l.props[0]>c.props[0]?1:-1)};function hg(){}function Id(a,l){let c=[];return y7(go(a),Co([Wd,l?Jd:hg,Ro,xo,Lo((o)=>c.push(o))])),c}var Zg=/,( *[^ &])/g;function tg(a){return"&"+po(a.replace(Zg,",&$1"))}function $d(a,l,c){let o=l;if(c.length>0)o=c.reduceRight((r,e)=>{return`${tg(e)} { ${r} }`},l);return`${a}{${o}}`}function rZ(a,l){let{className:c,selectors:o,property:r,rtlClassName:e,rtlProperty:h,rtlValue:Z,value:t}=a,{container:i,layer:v,media:n,supports:d}=l,p=`.${c}`,M=Array.isArray(t)?`${t.map((A)=>`${d3(r)}: ${A}`).join(";")};`:`${d3(r)}: ${t};`,_=$d(p,M,o);if(h&&e){let A=`.${e}`,m=Array.isArray(Z)?`${Z.map((u)=>`${d3(h)}: ${u}`).join(";")};`:`${d3(h)}: ${Z};`;_+=$d(A,m,o)}if(n)_=`@media ${n} { ${_} }`;if(v)_=`@layer ${v} { ${_} }`;if(d)_=`@supports ${d} { ${_} }`;if(i)_=`@container ${i} { ${_} }`;return Id(_,!0)}function Yd(a){let l="";for(let c in a){let o=a[c];if(typeof o==="string"||typeof o==="number"){l+=d3(c)+":"+o+";";continue}if(Array.isArray(o))for(let r of o)l+=d3(c)+":"+r+";"}return l}function eZ(a){let l="";for(let c in a)l+=`${c}{${Yd(a[c])}}`;return l}function hZ(a,l){let c=`@keyframes ${a} {${l}}`,o=[];return y7(go(c),Co([xo,Ro,Lo((r)=>o.push(r))])),o}var Xd={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 ZZ(a,l){if(a.length===0)return l;return`${a} and ${l}`}function Kd(a){return a.substr(0,6)==="@media"}function jd(a){return a.substr(0,6)==="@layer"}var ig=/^(:|\[|>|&)/;function Nd(a){return ig.test(a)}function ap(a){return a.substr(0,9)==="@supports"}function lp(a){return a.substring(0,10)==="@container"}function cp(a){return a!=null&&typeof a==="object"&&Array.isArray(a)===!1}var op={"us-w":"w","us-v":"i",nk:"l",si:"v",cu:"f",ve:"h",ti:"a"};function tZ(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 op[c.slice(4,8)]||op[c.slice(3,5)]||"d"}return"d"}function wo(a,l){return a?l+a:a}function iZ(a){return wo(a.container,"c")+wo(a.media,"m")+wo(a.layer,"l")+wo(a.supports,"s")}function So(a,l,c){let o=a+iZ(c)+l,r=c7(o),e=r.charCodeAt(0);if(e>=48&&e<=57)return String.fromCharCode(e+17)+r.slice(1);return r}function ca({property:a,selector:l,salt:c,value:o},r){return $8+c7(c+l+iZ(r)+a+o.trim())}function rp(a){return a===t6}function Go(a){return a.replace(/>\s+/g,">")}function Uo(...a){if(typeof document<"u")console.error(...a)}function ep(a,l){Uo(/*@__PURE__*/(()=>{let o=JSON.stringify(l,null,2),r=["@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}": ${o.split(`
|
|
5
|
+
`).map((e,h)=>" ".repeat(h===0?0:6)+e).join(`
|
|
6
|
+
`)}`," ".repeat(4)+"}"," ".repeat(2)+"})",""];if(a.indexOf("&")===-1)r.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."),r.push(`Try to update a property to include it i.e "${a}" => "&${a}".`);else r.push(""),r.push("If it's not obvious what triggers a problem, please report an issue at https://github.com/microsoft/griffel/issues");return r.join(`
|
|
7
|
+
`)})())}function hp(a,l){Uo(/*@__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 Zp(a){return Xd[a]}function tp(a){var l;return(l=a===null||a===void 0?void 0:a[0])!==null&&l!==void 0?l:0}function nZ(a,l,c,o){a[l]=o?[c,o]:c}function ip(a,l){if(l.length>0)return[a,Object.fromEntries(l)];return a}function vZ(a,l,c,o,r,e){var h;let Z=[];if(e!==0)Z.push(["p",e]);if(l==="m"&&r)Z.push(["m",r]);if((h=a[l])!==null&&h!==void 0||(a[l]=[]),c)a[l].push(ip(c,Z));if(o)a[l].push(ip(o,Z))}function o7(a,l="",c=[],o={container:"",layer:"",media:"",supports:""},r={},e={},h){for(let Z in a){if(ld.hasOwnProperty(Z)){hp(Z,a[Z]);continue}let t=a[Z];if(t==null)continue;if(rp(t)){let i=Go(c.join("")),v=So(i,Z,o);nZ(r,v,0,void 0);continue}if(typeof t==="string"||typeof t==="number"){let i=Go(c.join("")),v=Zp(Z);if(v){let H=v[1],F=Object.fromEntries(H.map((R)=>[R,t6]));o7(F,l,c,o,r,e)}let n=So(i,Z,o),d=ca({value:t.toString(),salt:l,selector:i,property:Z},o),p=h&&{key:Z,value:h}||j8(Z,t),M=p.key!==Z||p.value!==t,_=M?ca({value:p.value.toString(),property:p.key,salt:l,selector:i},o):void 0,A=M?{rtlClassName:_,rtlProperty:p.key,rtlValue:p.value}:void 0,m=tZ(c,o),[u,f]=rZ(Object.assign({className:d,selectors:c,property:Z,value:t},A),o);nZ(r,n,d,_),vZ(e,m,u,f,o.media,tp(v))}else if(Z==="animationName"){let i=Array.isArray(t)?t:[t],v=[],n=[];for(let d of i){let p=eZ(d),M=eZ(vo(d)),_=$8+c7(p),A,m=hZ(_,p),u=[];if(p===M)A=_;else A=$8+c7(M),u=hZ(A,M);for(let f=0;f<m.length;f++)vZ(e,"k",m[f],u[f],o.media,0);v.push(_),n.push(A)}o7({animationName:v.join(", ")},l,c,o,r,e,n.join(", "))}else if(Array.isArray(t)){if(t.length===0){console.warn(`makeStyles(): An empty array was passed as input to "${Z}", the property will be omitted in the styles.`);continue}let i=Go(c.join("")),v=Zp(Z);if(v){let F=v[1],R=Object.fromEntries(F.map((C)=>[C,t6]));o7(R,l,c,o,r,e)}let n=So(i,Z,o),d=ca({value:t.map((F)=>(F!==null&&F!==void 0?F:"").toString()).join(";"),salt:l,selector:i,property:Z},o),p=t.map((F)=>j8(Z,F));if(!!p.some((F)=>F.key!==p[0].key)){console.error("makeStyles(): mixing CSS fallback values which result in multiple CSS properties in RTL is not supported.");continue}let _=p[0].key!==Z||p.some((F,R)=>F.value!==t[R]),A=_?ca({value:p.map((F)=>{var R;return((R=F===null||F===void 0?void 0:F.value)!==null&&R!==void 0?R:"").toString()}).join(";"),salt:l,property:p[0].key,selector:i},o):void 0,m=_?{rtlClassName:A,rtlProperty:p[0].key,rtlValue:p.map((F)=>F.value)}:void 0,u=tZ(c,o),[f,H]=rZ(Object.assign({className:d,selectors:c,property:Z,value:t},m),o);nZ(r,n,d,A),vZ(e,u,f,H,o.media,tp(v))}else if(cp(t))if(Nd(Z))o7(t,l,c.concat(po(Z)),o,r,e);else if(Kd(Z)){let i=ZZ(o.media,Z.slice(6).trim());o7(t,l,c,Object.assign({},o,{media:i}),r,e)}else if(jd(Z)){let i=(o.layer?`${o.layer}.`:"")+Z.slice(6).trim();o7(t,l,c,Object.assign({},o,{layer:i}),r,e)}else if(ap(Z)){let i=ZZ(o.supports,Z.slice(9).trim());o7(t,l,c,Object.assign({},o,{supports:i}),r,e)}else if(lp(Z)){let i=Z.slice(10).trim();o7(t,l,c,Object.assign({},o,{container:i}),r,e)}else ep(Z,t)}return[r,e]}function np(a,l=""){let c={},o={};for(let r in a){let e=a[r],[h,Z]=o7(e,l);c[r]=h,Object.keys(Z).forEach((t)=>{o[t]=(o[t]||[]).concat(Z[t])})}return[c,o]}function dZ(a,l=n6){let c=l(),o=null,r=null,e=null,h=null,Z;if(U7)Z=no();let t;function i(v){let{dir:n,renderer:d}=v;if(o===null){if([o,r]=np(a,d.classNameHashSalt),d.classNameHashSalt){if(t!==d.classNameHashSalt)console.error(["@griffel/core:",`
|
|
9
9
|
|
|
10
|
-
`,'A provided renderer has different "classNameHashSalt".',"This is not supported and WILL cause issues with classnames generation.",'Ensure that all renderers created with "createDOMRenderer()" have the same "classNameHashSalt".'].join(" "));
|
|
10
|
+
`,'A provided renderer has different "classNameHashSalt".',"This is not supported and WILL cause issues with classnames generation.",'Ensure that all renderers created with "createDOMRenderer()" have the same "classNameHashSalt".'].join(" "));t=d.classNameHashSalt}}let p=n==="ltr";if(p){if(e===null)e=i6(o,n)}else if(h===null)h=i6(o,n);c(d,r);let M=p?e:h;if(U7)N5.addSequenceDetails(M,Z);return M}return i}function oa(a,l,c=n6){let o=c(),r=null,e=null,h;if(U7)h=no();function Z(t){let{dir:i,renderer:v}=t,n=i==="ltr";if(n){if(r===null)r=i6(a,i)}else if(e===null)e=i6(a,i);o(v,l);let d=n?r:e;if(U7)N5.addSequenceDetails(d,h);return d}return Z}function pZ(a,l,c,o=n6){let r=o();function e(h){let{dir:Z,renderer:t}=h,i=Z==="ltr"?a:l||a;return r(t,Array.isArray(c)?{r:c}:c),n3[i]=1,i}return e}function vp(){return typeof window<"u"&&!!(window.document&&window.document.createElement)}g();var RZ=V.useInsertionEffect?V.useInsertionEffect:void 0;var H6=()=>{let a={};return function(c,o){if(RZ&&vp()){RZ(()=>{c.insertCSSRules(o)},[c,o]);return}if(a[c.id]===void 0)c.insertCSSRules(o),a[c.id]=!0}};g();var xg=/*@__PURE__*/Z1(/*@__PURE__*/X8());function u2(){return e1(xg)}g();var Ip=/*@__PURE__*/Z1("ltr"),wZ=({children:a,dir:l})=>{return/*@__PURE__*/o1(Ip.Provider,{value:l},a)};function f6(){return e1(Ip)}g();function Cg(){try{return V["".concat("__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE")].H}catch(a){}try{return V["".concat("__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED")].ReactCurrentDispatcher.current}catch(a){}}function $p(){try{let a=Cg();if(a===null||a===void 0)return!1;return a.useContext({}),!0}catch(a){return!1}}function V6(a){let l=dZ(a,H6);if($p())throw 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(){let o=f6(),r=u2();return l({dir:o,renderer:r})}}function U(a,l){let c=oa(a,l,H6);return function(){let r=f6(),e=u2();return c({dir:r,renderer:e})}}function j(a,l,c){let o=pZ(a,l,c,H6);return function(){let e=f6(),h=u2();return o({dir:e,renderer:h})}}function ha(a,l){if(l){let c=Object.keys(l).reduce((o,r)=>{return`${o}--${r}: ${l[r]}; `},"");return`${a} { ${c} }`}return`${a} {}`}g();g();var G={};Ch(G,{resolveShorthand:()=>SZ,optional:()=>Rg,always:()=>To});var P7=Symbol.for("fui.slotRenderFunction"),Z5=Symbol.for("fui.slotElementType"),F6=Symbol.for("fui.slotClassNameProp");function To(a,l){let{defaultProps:c,elementType:o}=l,r=SZ(a),e={...c,...r,[Z5]:o,[F6]:r===null||r===void 0?void 0:r.className};if(r&&typeof r.children==="function")e[P7]=r.children,e.children=c===null||c===void 0?void 0:c.children;return e}function Rg(a,l){if(a===null||a===void 0&&!l.renderByDefault)return;return To(a,l)}function SZ(a){if(typeof a==="string"||typeof a==="number"||wg(a)||m5(a))return{children:a};if(a&&typeof a!=="object")console.error(`@fluentui/react-utilities [slot.${SZ.name}]:
|
|
11
11
|
A slot got an invalid value "${a}" (${typeof a}).
|
|
12
12
|
A valid value for a slot is a slot shorthand or slot properties object.
|
|
13
|
-
Slot shorthands can be strings, numbers, arrays or JSX elements`);return a}var
|
|
13
|
+
Slot shorthands can be strings, numbers, arrays or JSX elements`);return a}var wg=(a)=>typeof a==="object"&&a!==null&&(Symbol.iterator in a);g();function g6(a){return a!==null&&typeof a==="object"&&!Array.isArray(a)&&!m5(a)}function t4(a){return Boolean(a===null||a===void 0?void 0:a.hasOwnProperty(Z5))}g();function z(a){{let l=a;for(let c of Object.keys(l.components)){let o=l[c];if(o===void 0)continue;if(!t4(o))l[c]=To(o,{elementType:l.components[c]}),console.warn(`@fluentui/react-utilities [${z.name}]:
|
|
14
14
|
"state.${c}" is not a slot!
|
|
15
|
-
Be sure to create slots properly by using "slot.always" or "slot.optional".`);else{let{[
|
|
15
|
+
Be sure to create slots properly by using "slot.always" or "slot.optional".`);else{let{[Z5]:r}=o;if(r!==l.components[c])o[Z5]=l.components[c],console.warn(`@fluentui/react-utilities [${z.name}]:
|
|
16
16
|
"state.${c}" element type differs from "state.components.${c}",
|
|
17
|
-
${
|
|
18
|
-
Be sure to create slots properly by using "slot.always" or "slot.optional" with the correct elementType.`)}}}}
|
|
17
|
+
${r} !== ${l.components[c]}.
|
|
18
|
+
Be sure to create slots properly by using "slot.always" or "slot.optional" with the correct elementType.`)}}}}g();g();var c0=(...a)=>{let l={};for(let c of a){let o=Array.isArray(c)?c:Object.keys(c);for(let r of o)l[r]=1}return l},Sg=c0(["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"]),Gg=c0(["accessKey","children","className","contentEditable","dir","draggable","hidden","htmlFor","id","lang","ref","role","style","tabIndex","title","translate","spellCheck","name"]),Ug=c0(["itemID","itemProp","itemRef","itemScope","itemType"]),H0=c0(Gg,Sg,Ug),Yp=c0(H0,["form"]),GZ=c0(H0,["height","loop","muted","preload","src","width"]),Xp=c0(GZ,["poster"]),Kp=c0(H0,["start"]),jp=c0(H0,["value"]),Np=c0(H0,["download","href","hrefLang","media","referrerPolicy","rel","target","type"]),a_=c0(H0,["dateTime"]),Za=c0(H0,["autoFocus","disabled","form","formAction","formEncType","formMethod","formNoValidate","formTarget","type","value"]),l_=c0(Za,["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"]),c_=c0(Za,["autoCapitalize","cols","dirname","form","maxLength","placeholder","readOnly","required","rows","wrap"]),o_=c0(Za,["form","multiple","required"]),r_=c0(H0,["selected","value"]),e_=c0(H0,["cellPadding","cellSpacing"]),h_=H0,Z_=c0(H0,["colSpan","rowSpan","scope"]),t_=c0(H0,["colSpan","headers","rowSpan","scope"]),i_=c0(H0,["span"]),n_=c0(H0,["span"]),v_=c0(H0,["disabled","form"]),d_=c0(H0,["acceptCharset","action","encType","encType","method","noValidate","target"]),p_=c0(H0,["allow","allowFullScreen","allowPaymentRequest","allowTransparency","csp","height","importance","referrerPolicy","sandbox","src","srcDoc","width"]),__=c0(H0,["alt","crossOrigin","height","src","srcSet","useMap","width"]),M_=c0(H0,["open","onCancel","onClose"]);function A_(a,l,c){let o=Array.isArray(l),r={},e=Object.keys(a);for(let h of e)if((!o&&l[h]||o&&l.indexOf(h)>=0||h.indexOf("data-")===0||h.indexOf("aria-")===0)&&(!c||(c===null||c===void 0?void 0:c.indexOf(h))===-1))r[h]=a[h];return r}var Bg={label:Yp,audio:GZ,video:Xp,ol:Kp,li:jp,a:Np,button:Za,input:l_,textarea:c_,select:o_,option:r_,table:e_,tr:h_,th:Z_,td:t_,colGroup:i_,col:n_,fieldset:v_,form:d_,iframe:p_,img:__,time:a_,dialog:M_};function ta(a,l,c){let o=a&&Bg[a]||H0;return o.as=1,A_(l,o,c)}var h7=({primarySlotTagName:a,props:l,excludedPropNames:c})=>{return{root:{style:l.style,className:l.className},primary:ta(a,l,[...c||[],"style","className"])}};var a1=(a,l,c)=>{var o;return ta((o=l.as)!==null&&o!==void 0?o:a,l,c)};g();function bo(a,l){let c=k(void 0),o=W((e,h)=>{if(c.current!==void 0)l(c.current);return c.current=a(e,h),c.current},[l,a]),r=W(()=>{if(c.current!==void 0)l(c.current),c.current=void 0},[l]);return N(()=>r,[r]),[o,r]}g();var x6=Z1(void 0),ia=x6.Provider;g();var m_=Z1(void 0),Dg="",na=m_.Provider;function va(){var a;return(a=e1(m_))!==null&&a!==void 0?a:Dg}g();var kg=Z1(void 0);var da=kg.Provider;g();var u_=Z1(void 0),yg={targetDocument:typeof document==="object"?document:void 0,dir:"ltr"},pa=u_.Provider;function A1(){var a;return(a=e1(u_))!==null&&a!==void 0?a:yg}g();var UZ=Z1(void 0),Eo=UZ.Provider;function C6(){var a;return(a=e1(UZ))!==null&&a!==void 0?a:{}}g();var i4=Z1(void 0),Og=()=>{},_a=i4.Provider,Q=(a)=>{var l,c;return(c=(l=e1(i4))===null||l===void 0?void 0:l[a])!==null&&c!==void 0?c:Og};g();var BZ=Z1(void 0),qo=BZ.Provider;function L6(){return e1(BZ)}g();var H_=Z1(void 0),Pg=H_.Provider;function DZ(){return e1(H_)}g();var f_=Z1(void 0),kZ=f_.Provider;function Ma(){var a;return(a=e1(f_))!==null&&a!==void 0?a:{announce:()=>{return}}}var Tg=(a)=>{return a(0),0},bg=(a)=>a;function Aa(){let{targetDocument:a}=A1(),l=a===null||a===void 0?void 0:a.defaultView,c=l?l.requestAnimationFrame:Tg,o=l?l.cancelAnimationFrame:bg;return bo(c,o)}g();function Eg(a){return typeof a==="function"}var Y0=(a)=>{if(a.state!==void 0&&a.defaultState!==void 0)console.error(`@fluentui/react-utilities [useControllableState]:
|
|
19
19
|
A component must be either controlled or uncontrolled (specify either the state or the defaultState, but not both).
|
|
20
20
|
Decide between using a controlled or uncontrolled component and remove one of this props.
|
|
21
21
|
More info: https://reactjs.org/link/controlled-components
|
|
22
|
-
${
|
|
22
|
+
${Error().stack}`);let[l,c]=t1(()=>{if(a.defaultState===void 0)return a.initialState;return qg(a.defaultState)?a.defaultState():a.defaultState}),o=k(a.state);N(()=>{o.current=a.state},[a.state]);let r=W((e)=>{if(Eg(e))e(o.current)},[]);return Wg(a.state)?[a.state,r]:[l,c]};function qg(a){return typeof a==="function"}var Wg=(a)=>{let[l]=t1(()=>a!==void 0);return N(()=>{if(l!==(a!==void 0)){let c=Error();console.error(`@fluentui/react-utilities [useControllableState]:
|
|
23
23
|
A component is changing ${l?"a controlled value to be uncontrolled":"an uncontrolled value to be controlled"}. This is likely caused by the value changing from ${l?"defined to an undefined":"undefined to a defined"} value, which should not happen.
|
|
24
24
|
Decide between using a controlled or uncontrolled input element for the lifetime of the component.
|
|
25
25
|
More info: https://reactjs.org/link/controlled-components
|
|
26
|
-
${c.stack}`)}},[l,a]),l};
|
|
26
|
+
${c.stack}`)}},[l,a]),l};g();g();function _3(){return typeof window<"u"&&!!(window.document&&window.document.createElement)}g();var yZ={current:0},V_=/*@__PURE__*/Z1(void 0);function OZ(){var a;return(a=e1(V_))!==null&&a!==void 0?a:yZ}var W1=_3()?r7:N;var Y=(a)=>{let l=k(()=>{throw Error("Cannot call an event handler while rendering")});return W1(()=>{l.current=a},[a]),W((...c)=>{let o=l.current;return o(...c)},[l])};g();function R6(){let a=k(!0);return N(()=>{if(a.current)a.current=!1},[]),a.current}g();function w6(){return s2((a)=>a+1,0)[1]}g();var F_=Z1(void 0),g_=F_.Provider;function Jg(){return e1(F_)||""}function j1(a="fui-",l){let c=OZ(),o=Jg(),r=V.useId;if(r){let e=r(),h=_1(()=>e.replace(/:/g,""),[e]);return l||`${o}${a}${h}`}return _1(()=>{if(l)return l;return`${o}${a}${++c.current}`},[o,a,l,c])}g();function w1(...a){let l=W((c)=>{l.current=c;for(let o of a){if(typeof o==="string")console.error(`@fluentui/react-utilities [useMergedRefs]:
|
|
27
27
|
This hook does not support the usage of string refs. Please use React.useRef instead.
|
|
28
28
|
|
|
29
29
|
For more info on 'React.useRef', see https://react.dev/reference/react/useRef.
|
|
30
|
-
For more info on string refs, see https://react.dev/blog/2024/04/25/react-19-upgrade-guide#removed-string-refs.`);if(typeof o==="function")o(c);else if(o)o.current=c}},[...a]);return l}
|
|
30
|
+
For more info on string refs, see https://react.dev/blog/2024/04/25/react-19-upgrade-guide#removed-string-refs.`);if(typeof o==="function")o(c);else if(o)o.current=c}},[...a]);return l}g();var x_=(a,l)=>!!(a===null||a===void 0?void 0:a.contains(l)),S6=(a)=>{let{targetDocument:l}=A1(),c=l===null||l===void 0?void 0:l.defaultView,{refs:o,callback:r,element:e,disabled:h,disabledFocusOnIframe:Z,contains:t=x_}=a,i=k(void 0);$g({element:e,disabled:Z||h,callback:r,refs:o,contains:t});let v=k(!1),n=Y((p)=>{if(v.current){v.current=!1;return}let M=p.composedPath()[0];if(o.every((A)=>!t(A.current||null,M))&&!h)r(p)}),d=Y((p)=>{v.current=o.some((M)=>t(M.current||null,p.target))});N(()=>{if(h)return;let p=Ig(c),M=(_)=>{if(_===p){p=void 0;return}n(_)};return e===null||e===void 0||e.addEventListener("click",M,!0),e===null||e===void 0||e.addEventListener("touchstart",M,!0),e===null||e===void 0||e.addEventListener("contextmenu",M,!0),e===null||e===void 0||e.addEventListener("mousedown",d,!0),i.current=c===null||c===void 0?void 0:c.setTimeout(()=>{p=void 0},1),()=>{e===null||e===void 0||e.removeEventListener("click",M,!0),e===null||e===void 0||e.removeEventListener("touchstart",M,!0),e===null||e===void 0||e.removeEventListener("contextmenu",M,!0),e===null||e===void 0||e.removeEventListener("mousedown",d,!0),c===null||c===void 0||c.clearTimeout(i.current),p=void 0}},[n,e,h,d,c])},Ig=(a)=>{if(a){var l,c;if(typeof a.window==="object"&&a.window===a)return a.event;var o;return(o=(c=a.ownerDocument)===null||c===void 0?void 0:(l=c.defaultView)===null||l===void 0?void 0:l.event)!==null&&o!==void 0?o:void 0}return},PZ="fuiframefocus",$g=(a)=>{let{disabled:l,element:c,callback:o,contains:r=x_,pollDuration:e=100,refs:h}=a,Z=k(void 0),t=Y((i)=>{if(h.every((n)=>!r(n.current||null,i.target))&&!l)o(i)});N(()=>{if(l)return;return c===null||c===void 0||c.addEventListener(PZ,t,!0),()=>{c===null||c===void 0||c.removeEventListener(PZ,t,!0)}},[c,l,t]),N(()=>{var i;if(l)return;return Z.current=c===null||c===void 0?void 0:(i=c.defaultView)===null||i===void 0?void 0:i.setInterval(()=>{let v=c===null||c===void 0?void 0:c.activeElement;if((v===null||v===void 0?void 0:v.tagName)==="IFRAME"||(v===null||v===void 0?void 0:v.tagName)==="WEBVIEW"){let n=new CustomEvent(PZ,{bubbles:!0});v.dispatchEvent(n)}},e),()=>{var v;c===null||c===void 0||(v=c.defaultView)===null||v===void 0||v.clearInterval(Z.current)}},[c,l,e])};g();var Wo=(a)=>{let{refs:l,callback:c,element:o,disabled:r,contains:e}=a,h=Y((Z)=>{let t=e||((n,d)=>!!(n===null||n===void 0?void 0:n.contains(d))),i=Z.composedPath()[0];if(l.every((n)=>!t(n.current||null,i))&&!r)c(Z)});N(()=>{if(r)return;return o===null||o===void 0||o.addEventListener("wheel",h),o===null||o===void 0||o.addEventListener("touchmove",h),()=>{o===null||o===void 0||o.removeEventListener("wheel",h),o===null||o===void 0||o.removeEventListener("touchmove",h)}},[h,o,r])};g();var zo=(a)=>{let l=k(null);return N(()=>{l.current=a},[a]),l.current};var Yg=(a)=>-1,Xg=(a)=>{return};function c2(){let{targetDocument:a}=A1(),l=a===null||a===void 0?void 0:a.defaultView,c=l?l.setTimeout:Yg,o=l?l.clearTimeout:Xg;return bo(c,o)}g();var jg=parseInt(CZ,10)>=19;function M3(a){if(!a)return;if(jg)return a.props.ref;return a.ref}function $1(a,l){return(...c)=>{a===null||a===void 0||a(...c),l===null||l===void 0||l(...c)}}function P1(a,l){var c;let o=a;var r;return Boolean((o===null||o===void 0?void 0:(c=o.ownerDocument)===null||c===void 0?void 0:c.defaultView)&&o instanceof o.ownerDocument.defaultView[(r=l===null||l===void 0?void 0:l.constructorName)!==null&&r!==void 0?r:"HTMLElement"])}function G6(a){let l=[],c=0,o=(d,p)=>{let M=l[d];l[d]=l[p],l[p]=M},r=(d)=>{let p=d,M=Ng(d),_=ax(d);if(M<c&&a(l[M],l[p])<0)p=M;if(_<c&&a(l[_],l[p])<0)p=_;if(p!==d)o(p,d),r(p)};return{all:()=>{return l.slice(0,c)},clear:()=>{c=0},contains:(d)=>{let p=l.indexOf(d);return p>=0&&p<c},dequeue:()=>{if(c===0)throw Error("Priority queue empty");let d=l[0];return l[0]=l[--c],r(0),d},enqueue:(d)=>{l[c++]=d;let p=c-1,M=C_(p);while(p>0&&a(l[M],l[p])>0)o(M,p),p=M,M=C_(p)},peek:()=>{if(c===0)return null;return l[0]},remove:(d)=>{let p=l.indexOf(d);if(p===-1||p>=c)return;l[p]=l[--c],r(p)},size:()=>c}}var Ng=(a)=>{return 2*a+1},ax=(a)=>{return 2*a+2},C_=(a)=>{return Math.floor((a-1)/2)};g();g();function ma(a){return Boolean(a.type.isFluentTriggerComponent)}function U6(a,l){if(typeof a==="function")return a(l);else if(a)return L_(a,l);return a||null}function L_(a,l){if(!m5(a)||a.type===p1)throw Error("A trigger element must be a single element for this component. Please ensure that you're not using React Fragments.");if(ma(a)){let c=L_(a.props.children,l);return Z4(a,void 0,c)}else return Z4(a,l)}g();function n4(a){if(!m5(a))return null;return ma(a)?n4(a.props.children):a}function R_(a){return a&&!!a._virtual}function lx(a){return R_(a)?a._virtual.parent||null:null}function B6(a,l={}){if(!a)return null;if(!l.skipVirtual){let o=lx(a);if(o)return o}let c=a.parentNode;if(c&&c.nodeType===11)return c.host;return c}function sa(a,l){if(!a||!l)return!1;if(a===l)return!0;else{let c=/*@__PURE__*/new WeakSet;while(l){let o=B6(l,{skipVirtual:c.has(l)});if(c.add(l),o===a)return!0;l=o}}return!1}function ua(a,l){if(!a)return;Object.assign(a,{_virtual:{parent:l}})}g();g();function w_(a,l){return{...l,[Z5]:a}}g();var G_=h6(S_(),1);function U_(a){if(typeof a==="object"&&!G_.isValidElementType(a))console.error(`@fluentui/react-jsx-runtime:
|
|
31
31
|
Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: ${a}.
|
|
32
32
|
|
|
33
33
|
If this happened in a slot of Fluent UI component, you might be facing package resolution issues.
|
|
34
34
|
Please make sure you don't have multiple versions of "@fluentui/react-utilities" installed in your dependencies or sub-dependencies.
|
|
35
|
-
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 Eh(a,l){return function c(o,e,r,t,h){if(Z4(e))return l(Lp(o,e),null,r,t,h);if(Z4(o))return l(o,e,r,t,h);return Dp(o),a(o,e,r,t,h)}}F();function Qo(a){let{as:l,[x6]:c,[i5]:o,[b7]:e,...r}=a,t=r,h=typeof o==="string"?l!==null&&l!==void 0?l:o:o;if(typeof h!=="string"&&l)t.as=l;return{elementType:h,props:t,renderFunction:e}}var Ih={};Rt(Ih,{jsxs:()=>_,jsxTemplate:()=>hx,jsxEscape:()=>kp,jsxDEV:()=>_,jsxAttr:()=>ix,jsx:()=>_,Fragment:()=>m1});i3();i3();var ox=/["&<]/;function Wh(a){if(a.length===0||ox.test(a)===!1)return a;for(var l=0,c=0,o="",e="";c<a.length;c++){switch(a.charCodeAt(c)){case 34:e=""";break;case 38:e="&";break;case 60:e="<";break;default:continue}c!==l&&(o+=a.slice(l,c)),o+=e,l=c+1}return c!==l&&(o+=a.slice(l,c)),o}var ex=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,rx=0,tx=Array.isArray;function _(a,l,c,o,e,r){l||(l={});var t,h,Z=l;if("ref"in Z)for(h in Z={},l)h=="ref"?t=l[h]:Z[h]=l[h];var i={type:a,props:Z,key:c,ref:t,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:--rx,__i:-1,__u:0,__source:e,__self:r};if(typeof a=="function"&&(t=a.defaultProps))for(h in t)Z[h]===void 0&&(Z[h]=t[h]);return V1.vnode&&V1.vnode(i),i}function hx(a){var l=_(m1,{tpl:a,exprs:[].slice.call(arguments,1)});return l.key=l.__v,l}var wp={},Zx=/[A-Z]/g;function ix(a,l){if(V1.attr){var c=V1.attr(a,l);if(typeof c=="string")return c}if(l=function(Z){return Z!==null&&typeof Z=="object"&&typeof Z.valueOf=="function"?Z.valueOf():Z}(l),a==="ref"||a==="key")return"";if(a==="style"&&typeof l=="object"){var o="";for(var e in l){var r=l[e];if(r!=null&&r!==""){var t=e[0]=="-"?e:wp[e]||(wp[e]=e.replace(Zx,"-$&").toLowerCase()),h=";";typeof r!="number"||t.startsWith("--")||ex.test(t)||(h="px;"),o=o+t+":"+r+h}}return a+'="'+Wh(o)+'"'}return l==null||l===!1||typeof l=="function"||typeof l=="object"?"":l===!0?a:a+'="'+Wh(""+l)+'"'}function kp(a){if(a==null||typeof a=="boolean"||typeof a=="function")return null;if(typeof a=="object"){if(a.constructor===void 0)return a;if(tx(a)){for(var l=0;l<a.length;l++)a[l]=kp(a[l]);return a}}return Wh(""+a)}var h7=Ih;var yp=(a,l,c)=>{let{elementType:o,renderFunction:e,props:r}=Qo(a),t={...r,...l};if(e)return h7.jsx(m1,{children:e(o,t)},c);return h7.jsx(o,t,c)};F();var Up=(a,l,c)=>{let{elementType:o,renderFunction:e,props:r}=Qo(a),t={...r,...l};if(e)return h7.jsx(m1,{children:e(o,{...t,children:h7.jsxs(m1,{children:t.children},void 0)})},c);return h7.jsxs(o,t,c)};F();var L=Eh(h7.jsx,yp),A1=Eh(h7.jsxs,Up);F();var Gp=v1(void 0),vx={},qh=Gp.Provider,Ph=()=>{let a=t1(Gp);return a!==null&&a!==void 0?a:vx};var g8=(a,l)=>{return P(a),/*@__PURE__*/L(M8,{value:l.provider,children:/*@__PURE__*/L(d8,{value:l.theme,children:/*@__PURE__*/L(m8,{value:l.themeClassName,children:/*@__PURE__*/L(_8,{value:l.customStyleHooks_unstable,children:/*@__PURE__*/L(s8,{value:l.tooltip,children:/*@__PURE__*/L(Dh,{dir:l.textDirection,children:/*@__PURE__*/L(qh,{value:l.iconDirection,children:/*@__PURE__*/L(Wo,{value:l.overrides_unstable,children:/*@__PURE__*/A1(a.root,{children:[p3()?null:/*@__PURE__*/L("style",{dangerouslySetInnerHTML:{__html:a.serverStyleProps.cssRule},...a.serverStyleProps.attributes}),a.root.children]})})})})})})})})})};var nx=typeof WeakRef!=="undefined",Bp=class{constructor(a){if(nx&&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}},F5="keyborg:focusin",B6="keyborg:focusout";function dx(a){let l=a.HTMLElement,c=l.prototype.focus,o=!1;return l.prototype.focus=function r(){o=!0},a.document.createElement("button").focus(),l.prototype.focus=c,o}var zh=!1;function A2(a){let l=a.focus;if(l.__keyborgNativeFocus)l.__keyborgNativeFocus.call(a);else a.focus()}function mx(a){let l=a;if(!zh)zh=dx(l);let c=l.HTMLElement.prototype.focus;if(c.__keyborgNativeFocus)return;l.HTMLElement.prototype.focus=Z;let o=/*@__PURE__*/new Set,e=(n)=>{let v=n.target;if(!v)return;let d=new CustomEvent(B6,{cancelable:!0,bubbles:!0,composed:!0,detail:{originalEvent:n}});v.dispatchEvent(d)},r=(n)=>{let v=n.target;if(!v)return;let d=n.composedPath()[0],m=/*@__PURE__*/new Set;while(d)if(d.nodeType===Node.DOCUMENT_FRAGMENT_NODE)m.add(d),d=d.host;else d=d.parentNode;for(let s of o){let p=s.deref();if(!p||!m.has(p)){if(o.delete(s),p)p.removeEventListener("focusin",r,!0),p.removeEventListener("focusout",e,!0)}}t(v,n.relatedTarget||void 0)},t=(n,v,d)=>{var m;let s=n.shadowRoot;if(s){for(let u of o)if(u.deref()===s)return;s.addEventListener("focusin",r,!0),s.addEventListener("focusout",e,!0),o.add(new Bp(s));return}let p={relatedTarget:v,originalEvent:d},M=new CustomEvent(F5,{cancelable:!0,bubbles:!0,composed:!0,detail:p});if(M.details=p,zh||h.lastFocusedProgrammatically)p.isFocusedProgrammatically=n===((m=h.lastFocusedProgrammatically)==null?void 0:m.deref()),h.lastFocusedProgrammatically=void 0;n.dispatchEvent(M)},h=l.__keyborgData={focusInHandler:r,focusOutHandler:e,shadowTargets:o};l.document.addEventListener("focusin",l.__keyborgData.focusInHandler,!0),l.document.addEventListener("focusout",l.__keyborgData.focusOutHandler,!0);function Z(){let n=l.__keyborgData;if(n)n.lastFocusedProgrammatically=new Bp(this);return c.apply(this,arguments)}let i=l.document.activeElement;while(i&&i.shadowRoot)t(i),i=i.shadowRoot.activeElement;Z.__keyborgNativeFocus=c}function px(a){let l=a,c=l.HTMLElement.prototype,o=c.focus.__keyborgNativeFocus,e=l.__keyborgData;if(e){l.document.removeEventListener("focusin",e.focusInHandler,!0),l.document.removeEventListener("focusout",e.focusOutHandler,!0);for(let r of e.shadowTargets){let t=r.deref();if(t)t.removeEventListener("focusin",e.focusInHandler,!0),t.removeEventListener("focusout",e.focusOutHandler,!0)}e.shadowTargets.clear(),delete l.__keyborgData}if(o)c.focus=o}var sx=500,Tp=0,Mx=class{constructor(a,l){this._isNavigatingWithKeyboard_DO_NOT_USE=!1,this._onFocusIn=(o)=>{if(this._isMouseOrTouchUsedTimer)return;if(this.isNavigatingWithKeyboard)return;let e=o.detail;if(!e.relatedTarget)return;if(e.isFocusedProgrammatically||e.isFocusedProgrammatically===void 0)return;this.isNavigatingWithKeyboard=!0},this._onMouseDown=(o)=>{if(o.buttons===0||o.clientX===0&&o.clientY===0&&o.screenX===0&&o.screenY===0)return;this._onMouseOrTouch()},this._onMouseOrTouch=()=>{let o=this._win;if(o){if(this._isMouseOrTouchUsedTimer)o.clearTimeout(this._isMouseOrTouchUsedTimer);this._isMouseOrTouchUsedTimer=o.setTimeout(()=>{delete this._isMouseOrTouchUsedTimer},1000)}this.isNavigatingWithKeyboard=!1},this._onKeyDown=(o)=>{if(this.isNavigatingWithKeyboard){if(this._shouldDismissKeyboardNavigation(o))this._scheduleDismiss()}else if(this._shouldTriggerKeyboardNavigation(o))this.isNavigatingWithKeyboard=!0},this.id="c"+ ++Tp,this._win=a;let c=a.document;if(l){let{triggerKeys:o,dismissKeys:e}=l;if(o==null?void 0:o.length)this._triggerKeys=new Set(o);if(e==null?void 0:e.length)this._dismissKeys=new Set(e)}c.addEventListener(F5,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),mx(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;px(a);let l=a.document;l.removeEventListener(F5,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 o of Object.keys(c))Qh.update(c[o],this.isNavigatingWithKeyboard)}_shouldTriggerKeyboardNavigation(a){var l;if(a.key==="Tab")return!0;let c=(l=this._win)==null?void 0:l.document.activeElement,o=!this._triggerKeys||this._triggerKeys.has(a.keyCode),e=c&&(c.tagName==="INPUT"||c.tagName==="TEXTAREA"||c.isContentEditable);return o&&!e}_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},sx)}}},Qh=class a{constructor(l,c){this._cb=[],this._id="k"+ ++Tp,this._win=l;let o=l.__keyborg;if(o)this._core=o.core,o.refs[this._id]=this;else this._core=new Mx(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((o)=>o(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 M3(a,l){return Qh.create(a,l)}function _3(a){Qh.dispose(a)}/*!
|
|
35
|
+
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 TZ(a,l){return function(o,r,e,h,Z){if(t4(r))return l(w_(o,r),null,e,h,Z);if(t4(o))return l(o,r,e,h,Z);return U_(o),a(o,r,e,h,Z)}}g();function Qo(a){let{as:l,[F6]:c,[Z5]:o,[P7]:r,...e}=a,h=e,Z=typeof o==="string"?l!==null&&l!==void 0?l:o:o;if(typeof Z!=="string"&&l)h.as=l;return{elementType:Z,props:h,renderFunction:r}}i3();i3();var EZ={};Ch(EZ,{jsxs:()=>s,jsxTemplate:()=>Zx,jsxEscape:()=>D_,jsxDEV:()=>s,jsxAttr:()=>ix,jsx:()=>s,Fragment:()=>p1});var ox=/["&<]/;function bZ(a){if(a.length===0||ox.test(a)===!1)return a;for(var l=0,c=0,o="",r="";c<a.length;c++){switch(a.charCodeAt(c)){case 34:r=""";break;case 38:r="&";break;case 60:r="<";break;default:continue}c!==l&&(o+=a.slice(l,c)),o+=r,l=c+1}return c!==l&&(o+=a.slice(l,c)),o}var rx=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,ex=0,hx=Array.isArray;function s(a,l,c,o,r,e){l||(l={});var h,Z,t=l;if("ref"in t)for(Z in t={},l)Z=="ref"?h=l[Z]:t[Z]=l[Z];var i={type:a,props:t,key:c,ref:h,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:--ex,__i:-1,__u:0,__source:r,__self:e};if(typeof a=="function"&&(h=a.defaultProps))for(Z in h)t[Z]===void 0&&(t[Z]=h[Z]);return V1.vnode&&V1.vnode(i),i}function Zx(a){var l=s(p1,{tpl:a,exprs:[].slice.call(arguments,1)});return l.key=l.__v,l}var B_={},tx=/[A-Z]/g;function ix(a,l){if(V1.attr){var c=V1.attr(a,l);if(typeof c=="string")return c}if(l=function(t){return t!==null&&typeof t=="object"&&typeof t.valueOf=="function"?t.valueOf():t}(l),a==="ref"||a==="key")return"";if(a==="style"&&typeof l=="object"){var o="";for(var r in l){var e=l[r];if(e!=null&&e!==""){var h=r[0]=="-"?r:B_[r]||(B_[r]=r.replace(tx,"-$&").toLowerCase()),Z=";";typeof e!="number"||h.startsWith("--")||rx.test(h)||(Z="px;"),o=o+h+":"+e+Z}}return a+'="'+bZ(o)+'"'}return l==null||l===!1||typeof l=="function"||typeof l=="object"?"":l===!0?a:a+'="'+bZ(""+l)+'"'}function D_(a){if(a==null||typeof a=="boolean"||typeof a=="function")return null;if(typeof a=="object"){if(a.constructor===void 0)return a;if(hx(a)){for(var l=0;l<a.length;l++)a[l]=D_(a[l]);return a}}return bZ(""+a)}var Z7=EZ;var k_=(a,l,c)=>{let{elementType:o,renderFunction:r,props:e}=Qo(a),h={...e,...l};if(r)return Z7.jsx(p1,{children:r(o,h)},c);return Z7.jsx(o,h,c)};g();var y_=(a,l,c)=>{let{elementType:o,renderFunction:r,props:e}=Qo(a),h={...e,...l};if(r)return Z7.jsx(p1,{children:r(o,{...h,children:Z7.jsxs(p1,{children:h.children},void 0)})},c);return Z7.jsxs(o,h,c)};g();var L=TZ(Z7.jsx,k_),H1=TZ(Z7.jsxs,y_);g();var O_=Z1(void 0),nx={},qZ=O_.Provider,WZ=()=>{let a=e1(O_);return a!==null&&a!==void 0?a:nx};var Ha=(a,l)=>{return z(a),/*@__PURE__*/L(pa,{value:l.provider,children:/*@__PURE__*/L(ia,{value:l.theme,children:/*@__PURE__*/L(na,{value:l.themeClassName,children:/*@__PURE__*/L(_a,{value:l.customStyleHooks_unstable,children:/*@__PURE__*/L(da,{value:l.tooltip,children:/*@__PURE__*/L(wZ,{dir:l.textDirection,children:/*@__PURE__*/L(qZ,{value:l.iconDirection,children:/*@__PURE__*/L(Eo,{value:l.overrides_unstable,children:/*@__PURE__*/H1(a.root,{children:[_3()?null:/*@__PURE__*/L("style",{dangerouslySetInnerHTML:{__html:a.serverStyleProps.cssRule},...a.serverStyleProps.attributes}),a.root.children]})})})})})})})})})};var vx=typeof WeakRef<"u",P_=class{constructor(a){if(vx&&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}},F5="keyborg:focusin",D6="keyborg:focusout";function dx(a){let l=a.HTMLElement,c=l.prototype.focus,o=!1;return l.prototype.focus=function(){o=!0},a.document.createElement("button").focus(),l.prototype.focus=c,o}var zZ=!1;function H2(a){let l=a.focus;if(l.__keyborgNativeFocus)l.__keyborgNativeFocus.call(a);else a.focus()}function px(a){let l=a;if(!zZ)zZ=dx(l);let c=l.HTMLElement.prototype.focus;if(c.__keyborgNativeFocus)return;l.HTMLElement.prototype.focus=t;let o=/*@__PURE__*/new Set,r=(v)=>{let n=v.target;if(!n)return;let d=new CustomEvent(D6,{cancelable:!0,bubbles:!0,composed:!0,detail:{originalEvent:v}});n.dispatchEvent(d)},e=(v)=>{let n=v.target;if(!n)return;let d=v.composedPath()[0],p=/*@__PURE__*/new Set;while(d)if(d.nodeType===Node.DOCUMENT_FRAGMENT_NODE)p.add(d),d=d.host;else d=d.parentNode;for(let M of o){let _=M.deref();if(!_||!p.has(_)){if(o.delete(M),_)_.removeEventListener("focusin",e,!0),_.removeEventListener("focusout",r,!0)}}h(n,v.relatedTarget||void 0)},h=(v,n,d)=>{var p;let M=v.shadowRoot;if(M){for(let m of o)if(m.deref()===M)return;M.addEventListener("focusin",e,!0),M.addEventListener("focusout",r,!0),o.add(new P_(M));return}let _={relatedTarget:n,originalEvent:d},A=new CustomEvent(F5,{cancelable:!0,bubbles:!0,composed:!0,detail:_});if(A.details=_,zZ||Z.lastFocusedProgrammatically)_.isFocusedProgrammatically=v===((p=Z.lastFocusedProgrammatically)==null?void 0:p.deref()),Z.lastFocusedProgrammatically=void 0;v.dispatchEvent(A)},Z=l.__keyborgData={focusInHandler:e,focusOutHandler:r,shadowTargets:o};l.document.addEventListener("focusin",l.__keyborgData.focusInHandler,!0),l.document.addEventListener("focusout",l.__keyborgData.focusOutHandler,!0);function t(){let v=l.__keyborgData;if(v)v.lastFocusedProgrammatically=new P_(this);return c.apply(this,arguments)}let i=l.document.activeElement;while(i&&i.shadowRoot)h(i),i=i.shadowRoot.activeElement;t.__keyborgNativeFocus=c}function _x(a){let l=a,c=l.HTMLElement.prototype,o=c.focus.__keyborgNativeFocus,r=l.__keyborgData;if(r){l.document.removeEventListener("focusin",r.focusInHandler,!0),l.document.removeEventListener("focusout",r.focusOutHandler,!0);for(let e of r.shadowTargets){let h=e.deref();if(h)h.removeEventListener("focusin",r.focusInHandler,!0),h.removeEventListener("focusout",r.focusOutHandler,!0)}r.shadowTargets.clear(),delete l.__keyborgData}if(o)c.focus=o}var Mx=500,T_=0,Ax=class{constructor(a,l){this._isNavigatingWithKeyboard_DO_NOT_USE=!1,this._onFocusIn=(o)=>{if(this._isMouseOrTouchUsedTimer)return;if(this.isNavigatingWithKeyboard)return;let r=o.detail;if(!r.relatedTarget)return;if(r.isFocusedProgrammatically||r.isFocusedProgrammatically===void 0)return;this.isNavigatingWithKeyboard=!0},this._onMouseDown=(o)=>{if(o.buttons===0||o.clientX===0&&o.clientY===0&&o.screenX===0&&o.screenY===0)return;this._onMouseOrTouch()},this._onMouseOrTouch=()=>{let o=this._win;if(o){if(this._isMouseOrTouchUsedTimer)o.clearTimeout(this._isMouseOrTouchUsedTimer);this._isMouseOrTouchUsedTimer=o.setTimeout(()=>{delete this._isMouseOrTouchUsedTimer},1000)}this.isNavigatingWithKeyboard=!1},this._onKeyDown=(o)=>{if(this.isNavigatingWithKeyboard){if(this._shouldDismissKeyboardNavigation(o))this._scheduleDismiss()}else if(this._shouldTriggerKeyboardNavigation(o))this.isNavigatingWithKeyboard=!0},this.id="c"+ ++T_,this._win=a;let c=a.document;if(l){let{triggerKeys:o,dismissKeys:r}=l;if(o==null?void 0:o.length)this._triggerKeys=new Set(o);if(r==null?void 0:r.length)this._dismissKeys=new Set(r)}c.addEventListener(F5,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),px(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;_x(a);let l=a.document;l.removeEventListener(F5,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 o of Object.keys(c))QZ.update(c[o],this.isNavigatingWithKeyboard)}_shouldTriggerKeyboardNavigation(a){var l;if(a.key==="Tab")return!0;let c=(l=this._win)==null?void 0:l.document.activeElement,o=!this._triggerKeys||this._triggerKeys.has(a.keyCode),r=c&&(c.tagName==="INPUT"||c.tagName==="TEXTAREA"||c.isContentEditable);return o&&!r}_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},Mx)}}},QZ=class a{constructor(l,c){this._cb=[],this._id="k"+ ++T_,this._win=l;let o=l.__keyborg;if(o)this._core=o.core,o.refs[this._id]=this;else this._core=new Ax(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((o)=>o(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 A3(a,l){return QZ.create(a,l)}function m3(a){QZ.dispose(a)}/*!
|
|
36
36
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
37
37
|
* Licensed under the MIT License.
|
|
38
38
|
*//*!
|
|
39
39
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
40
40
|
* Licensed under the MIT License.
|
|
41
|
-
*/var
|
|
41
|
+
*/var t7="data-tabster",j_="data-tabster-dummy",N_=/*@__PURE__*/["a[href]","button:not([disabled])","input:not([disabled])","select:not([disabled])","textarea:not([disabled])","*[tabindex]","*[contenteditable]","details > summary","audio[controls]","video[controls]"].join(", "),T7={EscapeGroupper:1,Restorer:2,Deloser:3};var s3={Invisible:0,PartiallyVisible:1,Visible:2},E7={Source:0,Target:1},o2={Both:0,Vertical:1,Horizontal:2,Grid:3,GridLinear:4},f0={ArrowUp:1,ArrowDown:2,ArrowLeft:3,ArrowRight:4,PageUp:5,PageDown:6,Home:7,End:8},Va={Unlimited:0,Limited:1,LimitedTrapFocus:2},b_={Enter:1,Escape:2},mx={Auto:0,Inside:1,Outside:2};/*!
|
|
42
42
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
43
43
|
* Licensed under the MIT License.
|
|
44
|
-
*/function X0(a,l){var c;return(c=a.storageEntry(l))===null||c===void 0?void 0:c.tabster}function
|
|
44
|
+
*/function X0(a,l){var c;return(c=a.storageEntry(l))===null||c===void 0?void 0:c.tabster}function aM(a,l,c){var o,r;let e=c||a._noop?void 0:l.getAttribute(t7),h=a.storageEntry(l),Z;if(e)if(e!==((o=h===null||h===void 0?void 0:h.attr)===null||o===void 0?void 0:o.string))try{let n=JSON.parse(e);if(typeof n!=="object")throw Error(`Value is not a JSON object, got '${e}'.`);Z={string:e,object:n}}catch(n){console.error(`data-tabster attribute error: ${n}`,l)}else return;else if(!h)return;if(!h)h=a.storageEntry(l,!0);if(!h.tabster)h.tabster={};let t=h.tabster||{},i=((r=h.attr)===null||r===void 0?void 0:r.object)||{},v=(Z===null||Z===void 0?void 0:Z.object)||{};for(let n of Object.keys(i))if(!v[n]){if(n==="root"){let d=t[n];if(d)a.root.onRoot(d,!0)}switch(n){case"deloser":case"root":case"groupper":case"modalizer":case"restorer":case"mover":let d=t[n];if(d)d.dispose(),delete t[n];break;case"observed":if(delete t[n],a.observedElement)a.observedElement.onObservedElementUpdate(l);break;case"focusable":case"outline":case"uncontrolled":case"sys":delete t[n];break}}for(let n of Object.keys(v)){let d=v.sys;switch(n){case"deloser":if(t.deloser)t.deloser.setProps(v.deloser);else if(a.deloser)t.deloser=a.deloser.createDeloser(l,v.deloser);else console.error("Deloser API used before initialization, please call `getDeloser()`");break;case"root":if(t.root)t.root.setProps(v.root);else t.root=a.root.createRoot(l,v.root,d);a.root.onRoot(t.root);break;case"modalizer":if(t.modalizer)t.modalizer.setProps(v.modalizer);else if(a.modalizer)t.modalizer=a.modalizer.createModalizer(l,v.modalizer,d);else console.error("Modalizer API used before initialization, please call `getModalizer()`");break;case"restorer":if(t.restorer)t.restorer.setProps(v.restorer);else if(a.restorer){if(v.restorer)t.restorer=a.restorer.createRestorer(l,v.restorer)}else console.error("Restorer API used before initialization, please call `getRestorer()`");break;case"focusable":t.focusable=v.focusable;break;case"groupper":if(t.groupper)t.groupper.setProps(v.groupper);else if(a.groupper)t.groupper=a.groupper.createGroupper(l,v.groupper,d);else console.error("Groupper API used before initialization, please call `getGroupper()`");break;case"mover":if(t.mover)t.mover.setProps(v.mover);else if(a.mover)t.mover=a.mover.createMover(l,v.mover,d);else console.error("Mover API used before initialization, please call `getMover()`");break;case"observed":if(a.observedElement)t.observed=v.observed,a.observedElement.onObservedElementUpdate(l);else console.error("ObservedElement API used before initialization, please call `getObservedElement()`");break;case"uncontrolled":t.uncontrolled=v.uncontrolled;break;case"outline":if(a.outline)t.outline=v.outline;else console.error("Outline API used before initialization, please call `getOutline()`");break;case"sys":t.sys=v.sys;break;default:console.error(`Unknown key '${n}' in data-tabster attribute value.`)}}if(Z)h.attr=Z;else{if(Object.keys(t).length===0)delete h.tabster,delete h.attr;a.storageEntry(l,!1)}}/*!
|
|
45
45
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
46
46
|
* Licensed under the MIT License.
|
|
47
|
-
*/var
|
|
47
|
+
*/var sx="tabster:focusin",ux="tabster:focusout",Hx="tabster:movefocus";var fx="tabster:modalizer:active",Vx="tabster:modalizer:inactive";var Fx="tabster:mover:state",E_="tabster:mover:movefocus",q_="tabster:mover:memorized-element",W_="tabster:groupper:movefocus",KZ="tabster:restorer:restore-focus",gx="tabster:root:focus",xx="tabster:root:blur",Cx=typeof CustomEvent<"u"?CustomEvent:function(){};class i7 extends Cx{constructor(a,l){super(a,{bubbles:!0,cancelable:!0,composed:!0,detail:l});this.details=l}}class lM extends i7{constructor(a){super(sx,a)}}class cM extends i7{constructor(a){super(ux,a)}}class b7 extends i7{constructor(a){super(Hx,a)}}class jZ extends i7{constructor(a){super(Fx,a)}}class oM extends i7{constructor(a){super(fx,a)}}class rM extends i7{constructor(a){super(Vx,a)}}class NZ extends i7{constructor(){super(KZ)}}class eM extends i7{constructor(a){super(gx,a)}}class hM extends i7{constructor(a){super(xx,a)}}/*!
|
|
48
48
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
49
49
|
* Licensed under the MIT License.
|
|
50
|
-
*/var Lx=(a)=>new MutationObserver(a),Rx=(a,l,c,o)=>a.createTreeWalker(l,c,o),
|
|
50
|
+
*/var Lx=(a)=>new MutationObserver(a),Rx=(a,l,c,o)=>a.createTreeWalker(l,c,o),wx=(a)=>a?a.parentNode:null,Sx=(a)=>a?a.parentElement:null,Gx=(a,l)=>!!(l&&(a===null||a===void 0?void 0:a.contains(l))),Ux=(a)=>a.activeElement,Bx=(a,l)=>a.querySelector(l),Dx=(a,l)=>Array.prototype.slice.call(a.querySelectorAll(l),0),kx=(a,l)=>a.getElementById(l),yx=(a)=>(a===null||a===void 0?void 0:a.firstChild)||null,Ox=(a)=>(a===null||a===void 0?void 0:a.lastChild)||null,Px=(a)=>(a===null||a===void 0?void 0:a.nextSibling)||null,Tx=(a)=>(a===null||a===void 0?void 0:a.previousSibling)||null,bx=(a)=>(a===null||a===void 0?void 0:a.firstElementChild)||null,Ex=(a)=>(a===null||a===void 0?void 0:a.lastElementChild)||null,qx=(a)=>(a===null||a===void 0?void 0:a.nextElementSibling)||null,Wx=(a)=>(a===null||a===void 0?void 0:a.previousElementSibling)||null,zx=(a,l)=>a.appendChild(l),Qx=(a,l,c)=>a.insertBefore(l,c),Jx=(a)=>{var l;return((l=a.ownerDocument)===null||l===void 0?void 0:l.getSelection())||null},Ix=(a,l)=>a.ownerDocument.getElementsByName(l),T={createMutationObserver:Lx,createTreeWalker:Rx,getParentNode:wx,getParentElement:Sx,nodeContains:Gx,getActiveElement:Ux,querySelector:Bx,querySelectorAll:Dx,getElementById:kx,getFirstChild:yx,getLastChild:Ox,getNextSibling:Px,getPreviousSibling:Tx,getFirstElementChild:bx,getLastElementChild:Ex,getNextElementSibling:qx,getPreviousElementSibling:Wx,appendChild:zx,insertBefore:Qx,getSelection:Jx,getElementsByName:Ix};function $x(a){for(let l of Object.keys(a))T[l]=a[l]}/*!
|
|
51
51
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
52
52
|
* Licensed under the MIT License.
|
|
53
|
-
*/var lZ,Ip=typeof DOMRect!=="undefined"?DOMRect:class{constructor(a,l,c,o){this.left=a||0,this.top=l||0,this.right=(a||0)+(c||0),this.bottom=(l||0)+(o||0)}},$x=0;try{document.createTreeWalker(document,NodeFilter.SHOW_ELEMENT),lZ=!1}catch(a){lZ=!0}var Jh=100;function I7(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 Yx(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 Xx(a){let l=a.__tabsterInstanceContext;return new((l===null||l===void 0?void 0:l.basics.WeakMap)||WeakMap)}function Nx(a){return!!a.querySelector(Xp)}class eZ{constructor(a){this._target=a}deref(){return this._target}static cleanup(a,l){if(!a._target)return!0;if(l||!tZ(a._target.ownerDocument,a._target))return delete a._target,!0;return!1}}class x5{constructor(a,l,c){let o=I7(a),e;if(o.WeakRef)e=new o.WeakRef(l);else e=new eZ(l),o.fakeWeakRefs.push(e);this._ref=e,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 rs(a,l){let c=I7(a);c.fakeWeakRefs=c.fakeWeakRefs.filter((o)=>!eZ.cleanup(o,l))}function ts(a){let l=I7(a);if(!l.fakeWeakRefsStarted)l.fakeWeakRefsStarted=!0,l.WeakRef=eC(l);if(!l.fakeWeakRefsTimer)l.fakeWeakRefsTimer=a().setTimeout(()=>{l.fakeWeakRefsTimer=void 0,rs(a),ts(a)},120000)}function jx(a){let l=I7(a);if(l.fakeWeakRefsStarted=!1,l.fakeWeakRefsTimer)a().clearTimeout(l.fakeWeakRefsTimer),l.fakeWeakRefsTimer=void 0,l.fakeWeakRefs=[]}function rZ(a,l,c){if(l.nodeType!==Node.ELEMENT_NODE)return;let o=lZ?c:{acceptNode:c};return O.createTreeWalker(a,l,NodeFilter.SHOW_ELEMENT,o,!1)}function hs(a,l){let c=l.__tabsterCacheId,o=I7(a),e=c?o.containerBoundingRectCache[c]:void 0;if(e)return e.rect;let r=l.ownerDocument&&l.ownerDocument.documentElement;if(!r)return new Ip;let t=0,h=0,Z=r.clientWidth,i=r.clientHeight;if(l!==r){let v=l.getBoundingClientRect();t=Math.max(t,v.left),h=Math.max(h,v.top),Z=Math.min(Z,v.right),i=Math.min(i,v.bottom)}let n=new Ip(t<Z?t:-1,h<i?h:-1,t<Z?Z-t:0,h<i?i-h:0);if(!c)c="r-"+ ++o.lastContainerBoundingRectCacheId,l.__tabsterCacheId=c;if(o.containerBoundingRectCache[c]={rect:n,element:l},!o.containerBoundingRectCacheTimer)o.containerBoundingRectCacheTimer=window.setTimeout(()=>{o.containerBoundingRectCacheTimer=void 0;for(let v of Object.keys(o.containerBoundingRectCache))delete o.containerBoundingRectCache[v].element.__tabsterCacheId;o.containerBoundingRectCache={}},50);return n}function qp(a,l,c){let o=Zs(l);if(!o)return!1;let e=hs(a,o),r=l.getBoundingClientRect(),t=r.height*(1-c),h=Math.max(0,e.top-r.top),Z=Math.max(0,r.bottom-e.bottom),i=h+Z;return i===0||i<=t}function aC(a,l,c){let o=Zs(l);if(o){let e=hs(a,o),r=l.getBoundingClientRect();if(c)o.scrollTop+=r.top-e.top;else o.scrollTop+=r.bottom-e.bottom}}function Zs(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 lC(a){a.__shouldIgnoreFocus=!0}function is(a){return!!a.__shouldIgnoreFocus}function cC(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 o=0;o<l.length;o++)l[o]=4294967295*Math.random();let c=[];for(let o=0;o<l.length;o++)c.push(l[o].toString(36));return c.push("|"),c.push((++$x).toString(36)),c.push("|"),c.push(Date.now().toString(36)),c.join("")}function Jo(a,l){let c=I7(a),o=l.__tabsterElementUID;if(!o)o=l.__tabsterElementUID=cC(a());if(!c.elementByUId[o]&&tZ(l.ownerDocument,l))c.elementByUId[o]=new x5(a,l);return o}function Pp(a,l){let c=I7(a);for(let o of Object.keys(c.elementByUId)){let e=c.elementByUId[o],r=e&&e.get();if(r&&l){if(!O.nodeContains(l,r))continue}delete c.elementByUId[o]}}function tZ(a,l){return O.nodeContains(a===null||a===void 0?void 0:a.body,l)}function vs(a,l){let c=a.matches||a.matchesSelector||a.msMatchesSelector||a.webkitMatchesSelector;return c&&c.call(a,l)}function oC(a){let l=I7(a);if(l.basics.Promise)return l.basics.Promise;throw new Error("No Promise defined.")}function eC(a){return a.basics.WeakRef}var rC=0;class O6{constructor(a,l,c){let o=a.getWindow;this._tabster=a,this._element=new x5(o,l),this._props={...c},this.id="i"+ ++rC}getElement(){return this._element.get()}getProps(){return this._props}setProps(a){this._props={...a}}}class f8{constructor(a,l,c,o,e){var r;this._focusIn=(i)=>{if(this._fixedTarget){let v=this._fixedTarget.get();if(v)A2(v);return}let n=this.input;if(this.onFocusIn&&n){let v=i.relatedTarget;this.onFocusIn(this,this._isBackward(!0,n,v),v)}},this._focusOut=(i)=>{if(this._fixedTarget)return;this.useDefaultAction=!1;let n=this.input;if(this.onFocusOut&&n){let v=i.relatedTarget;this.onFocusOut(this,this._isBackward(!1,n,v),v)}};let t=a(),h=t.document.createElement("i");h.tabIndex=0,h.setAttribute("role","none"),h.setAttribute(Yp,""),h.setAttribute("aria-hidden","true");let Z=h.style;if(Z.position="fixed",Z.width=Z.height="1px",Z.opacity="0.001",Z.zIndex="-1",Z.setProperty("content-visibility","hidden"),lC(h),this.input=h,this.isFirst=c.isFirst,this.isOutside=l,this._isPhantom=(r=c.isPhantom)!==null&&r!==void 0?r:!1,this._fixedTarget=e,h.addEventListener("focusin",this._focusIn),h.addEventListener("focusout",this._focusOut),h.__tabsterDummyContainer=o,this._isPhantom)this._disposeTimer=t.setTimeout(()=>{delete this._disposeTimer,this.dispose()},0),this._clearDisposeTimeout=()=>{if(this._disposeTimer)t.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 o=(c=this.input)===null||c===void 0?void 0:c.style;if(o)o.top=`${a}px`,o.left=`${l}px`}_isBackward(a,l,c){return a&&!c?!this.isFirst:!!(c&&l.compareDocumentPosition(c)&Node.DOCUMENT_POSITION_FOLLOWING)}}var Ko={Root:1,Modalizer:2,Mover:3,Groupper:4};class n4{constructor(a,l,c,o,e,r){this._element=l,this._instance=new ds(a,l,this,c,o,e,r)}_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,o,e){let t=new f8(a.getWindow,!0,{isPhantom:!0,isFirst:!0}).input;if(t){let h,Z;if(l.tagName==="BODY")h=l,Z=c&&o||!c&&!o?O.getFirstElementChild(l):null;else{if(c&&(!o||o&&!a.focusable.isFocusable(l,!1,!0,!0)))h=l,Z=o?l.firstElementChild:null;else h=O.getParentElement(l),Z=c&&o||!c&&!o?l:O.getNextElementSibling(l);let i,n;do if(i=c&&o||!c&&!o?O.getPreviousElementSibling(Z):Z,n=b6(i),n===l)Z=c&&o||!c&&!o?i:O.getNextElementSibling(i);else n=null;while(n)}if(h===null||h===void 0?void 0:h.dispatchEvent(new E7({by:"root",owner:h,next:null,relatedEvent:e})))O.insertBefore(h,t,Z),A2(t)}}static addPhantomDummyWithTarget(a,l,c,o){let r=new f8(a.getWindow,!0,{isPhantom:!0,isFirst:!0},void 0,new x5(a.getWindow,o)).input;if(r){let t,h;if(Nx(l)&&!c)t=l,h=O.getFirstElementChild(l);else t=O.getParentElement(l),h=c?l:O.getNextElementSibling(l);if(t)O.insertBefore(t,r,h)}}}function A3(a,l){var c;let o={1:"Root",2:"Modalizer",3:"Mover",4:"Groupper"};(c=a.input)===null||c===void 0||c.setAttribute(Yp,[`isFirst=${a.isFirst}`,`isOutside=${a.isOutside}`,...l.map((e)=>`(${o[e.priority]}, tabbable=${e.tabbable})`)].join(", "))}class ns{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 o of this._dummyElements){let e=o.get();if(e){let r=this._dummyCallbacks.get(e);if(r){let t=O.getParentNode(e);if(!t||this._changedParents.has(t))r()}}}this._changedParents=/*@__PURE__*/new WeakSet},Jh)},this._win=a}add(a,l){if(!this._dummyCallbacks.has(a)&&this._win)this._dummyElements.push(new x5(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+Jh<=Date.now()){let l=/*@__PURE__*/new Map,c=[];for(let o of this._updateQueue)c.push(o(l));this._updateQueue.clear();for(let o of c)o();l.clear()}else this._scheduledUpdatePositions()},Jh)}}class ds{constructor(a,l,c,o,e,r,t){this._wrappers=[],this._isOutside=!1,this._transformElements=/*@__PURE__*/new Set,this._onFocusIn=(d,m,s)=>{this._onFocus(!0,d,m,s)},this._onFocusOut=(d,m,s)=>{this._onFocus(!1,d,m,s)},this.moveOut=(d)=>{var m;let s=this._firstDummy,p=this._lastDummy;if(s&&p){this._ensurePosition();let M=s.input,u=p.input,A=(m=this._element)===null||m===void 0?void 0:m.get();if(M&&u&&A){let V;if(d)M.tabIndex=0,V=M;else u.tabIndex=0,V=u;if(V)A2(V)}}},this.moveOutWithDefaultAction=(d,m)=>{var s;let p=this._firstDummy,M=this._lastDummy;if(p&&M){this._ensurePosition();let u=p.input,A=M.input,V=(s=this._element)===null||s===void 0?void 0:s.get();if(u&&A&&V){let H;if(d)if(!p.isOutside&&this._tabster.focusable.isFocusable(V,!0,!0,!0))H=V;else p.useDefaultAction=!0,u.tabIndex=0,H=u;else M.useDefaultAction=!0,A.tabIndex=0,H=A;if(H&&V.dispatchEvent(new E7({by:"root",owner:V,next:null,relatedEvent:m})))A2(H)}}},this.setTabbable=(d,m)=>{var s,p;for(let u of this._wrappers)if(u.manager===d){u.tabbable=m;break}let M=this._getCurrent();if(M){let u=M.tabbable?0:-1,A=(s=this._firstDummy)===null||s===void 0?void 0:s.input;if(A)A.tabIndex=u;if(A=(p=this._lastDummy)===null||p===void 0?void 0:p.input,A)A.tabIndex=u}this._firstDummy&&A3(this._firstDummy,this._wrappers),this._lastDummy&&A3(this._lastDummy,this._wrappers)},this._addDummyInputs=()=>{if(this._addTimer)return;this._addTimer=this._getWindow().setTimeout(()=>{delete this._addTimer,this._ensurePosition(),this._firstDummy&&A3(this._firstDummy,this._wrappers),this._lastDummy&&A3(this._lastDummy,this._wrappers),this._addTransformOffsets()},0)},this._addTransformOffsets=()=>{this._tabster._dummyObserver.updatePositions(this._computeTransformOffsets)},this._computeTransformOffsets=(d)=>{var m,s;let p=((m=this._firstDummy)===null||m===void 0?void 0:m.input)||((s=this._lastDummy)===null||s===void 0?void 0:s.input),M=this._transformElements,u=/*@__PURE__*/new Set,A=0,V=0,H=this._getWindow();for(let g=p;g&&g.nodeType===Node.ELEMENT_NODE;g=O.getParentElement(g)){let S=d.get(g);if(S===void 0){let C=H.getComputedStyle(g).transform;if(C&&C!=="none")S={scrollTop:g.scrollTop,scrollLeft:g.scrollLeft};d.set(g,S||null)}if(S){if(u.add(g),!M.has(g))g.addEventListener("scroll",this._addTransformOffsets);A+=S.scrollTop,V+=S.scrollLeft}}for(let g of M)if(!u.has(g))g.removeEventListener("scroll",this._addTransformOffsets);return this._transformElements=u,()=>{var g,S;(g=this._firstDummy)===null||g===void 0||g.setTopLeft(A,V),(S=this._lastDummy)===null||S===void 0||S.setTopLeft(A,V)}};let h=l.get();if(!h)throw new Error("No element");this._tabster=a,this._getWindow=a.getWindow,this._callForDefaultAction=t;let Z=h.__tabsterDummy;if((Z||this)._wrappers.push({manager:c,priority:o,tabbable:!0}),Z)return this._firstDummy&&A3(this._firstDummy,Z._wrappers),this._lastDummy&&A3(this._lastDummy,Z._wrappers),Z;h.__tabsterDummy=this;let i=e===null||e===void 0?void 0:e.dummyInputsPosition,n=h.tagName;this._isOutside=!i?(r||n==="UL"||n==="OL"||n==="TABLE")&&!(n==="LI"||n==="TD"||n==="TH"):i===_x.Outside,this._firstDummy=new f8(this._getWindow,this._isOutside,{isFirst:!0},l),this._lastDummy=new f8(this._getWindow,this._isOutside,{isFirst:!1},l);let v=this._firstDummy.input;v&&a._dummyObserver.add(v,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,o,e,r;let t=this._wrappers=this._wrappers.filter((h)=>h.manager!==a&&!l);if(this._firstDummy&&A3(this._firstDummy,t),this._lastDummy&&A3(this._lastDummy,t),t.length===0){delete((c=this._element)===null||c===void 0?void 0:c.get()).__tabsterDummy;for(let i of this._transformElements)i.removeEventListener("scroll",this._addTransformOffsets);this._transformElements.clear();let h=this._getWindow();if(this._addTimer)h.clearTimeout(this._addTimer),delete this._addTimer;let Z=(o=this._firstDummy)===null||o===void 0?void 0:o.input;Z&&this._tabster._dummyObserver.remove(Z),(e=this._firstDummy)===null||e===void 0||e.dispose(),(r=this._lastDummy)===null||r===void 0||r.dispose()}}_onFocus(a,l,c,o){var e;let r=this._getCurrent();if(r&&(!l.useDefaultAction||this._callForDefaultAction))(e=r.manager.getHandler(a))===null||e===void 0||e(l,c,o)}_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 o=(a=this._element)===null||a===void 0?void 0:a.get(),e=(l=this._firstDummy)===null||l===void 0?void 0:l.input,r=(c=this._lastDummy)===null||c===void 0?void 0:c.input;if(!o||!e||!r)return;if(this._isOutside){let t=O.getParentNode(o);if(t){let h=O.getNextSibling(o);if(h!==r)O.insertBefore(t,r,h);if(O.getPreviousElementSibling(o)!==e)O.insertBefore(t,e,o)}}else{if(O.getLastElementChild(o)!==r)O.appendChild(o,r);let t=O.getFirstElementChild(o);if(t&&t!==e&&t.parentNode)O.insertBefore(t.parentNode,e,t)}}}function ms(a){let l=null;for(let c=O.getLastElementChild(a);c;c=O.getLastElementChild(c))l=c;return l||void 0}function tC(a,l){let c=a,o=null;while(c&&!o)o=l?O.getPreviousElementSibling(c):O.getNextElementSibling(c),c=O.getParentElement(c);return o||void 0}function Kh(a,l,c,o){let e=a.storageEntry(l,!0),r=!1;if(!e.aug){if(o===void 0)return r;e.aug={}}if(o===void 0){if(c in e.aug){let t=e.aug[c];if(delete e.aug[c],t===null)l.removeAttribute(c);else l.setAttribute(c,t);r=!0}}else{let t;if(!(c in e.aug))t=l.getAttribute(c);if(t!==void 0&&t!==o){if(e.aug[c]=t,o===null)l.removeAttribute(c);else l.setAttribute(c,o);r=!0}}if(o===void 0&&Object.keys(e.aug).length===0)delete e.aug,a.storageEntry(l,!1);return r}function hC(a){var l,c;let o=a.ownerDocument,e=(l=o.defaultView)===null||l===void 0?void 0:l.getComputedStyle(a);if(a.offsetParent===null&&o.body!==a&&(e===null||e===void 0?void 0:e.position)!=="fixed")return!0;if((e===null||e===void 0?void 0:e.visibility)==="hidden")return!0;if((e===null||e===void 0?void 0:e.position)==="fixed"){if(e.display==="none")return!0;if(((c=a.parentElement)===null||c===void 0?void 0:c.offsetParent)===null&&o.body!==a.parentElement)return!0}return!1}function cZ(a){return a.tagName==="INPUT"&&!!a.name&&a.type==="radio"}function ZC(a){if(!cZ(a))return;let l=a.name,c=Array.from(O.getElementsByName(a,l)),o;return c=c.filter((e)=>{if(cZ(e)){if(e.checked)o=e;return!0}return!1}),{name:l,buttons:new Set(c),checked:o}}function b6(a){var l;return((l=a===null||a===void 0?void 0:a.__tabsterDummyContainer)===null||l===void 0?void 0:l.get())||null}/*!
|
|
53
|
+
*/var at,z_=typeof DOMRect<"u"?DOMRect:class{constructor(a,l,c,o){this.left=a||0,this.top=l||0,this.right=(a||0)+(c||0),this.bottom=(l||0)+(o||0)}},Yx=0;try{document.createTreeWalker(document,NodeFilter.SHOW_ELEMENT),at=!1}catch(a){at=!0}var JZ=100;function q7(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 Xx(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 Kx(a){let l=a.__tabsterInstanceContext;return new((l===null||l===void 0?void 0:l.basics.WeakMap)||WeakMap)}function jx(a){return!!a.querySelector(N_)}class ot{constructor(a){this._target=a}deref(){return this._target}static cleanup(a,l){if(!a._target)return!0;if(l||!et(a._target.ownerDocument,a._target))return delete a._target,!0;return!1}}class g5{constructor(a,l,c){let o=q7(a),r;if(o.WeakRef)r=new o.WeakRef(l);else r=new ot(l),o.fakeWeakRefs.push(r);this._ref=r,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 ZM(a,l){let c=q7(a);c.fakeWeakRefs=c.fakeWeakRefs.filter((o)=>!ot.cleanup(o,l))}function tM(a){let l=q7(a);if(!l.fakeWeakRefsStarted)l.fakeWeakRefsStarted=!0,l.WeakRef=rC(l);if(!l.fakeWeakRefsTimer)l.fakeWeakRefsTimer=a().setTimeout(()=>{l.fakeWeakRefsTimer=void 0,ZM(a),tM(a)},120000)}function Nx(a){let l=q7(a);if(l.fakeWeakRefsStarted=!1,l.fakeWeakRefsTimer)a().clearTimeout(l.fakeWeakRefsTimer),l.fakeWeakRefsTimer=void 0,l.fakeWeakRefs=[]}function rt(a,l,c){if(l.nodeType!==Node.ELEMENT_NODE)return;let o=at?c:{acceptNode:c};return T.createTreeWalker(a,l,NodeFilter.SHOW_ELEMENT,o,!1)}function iM(a,l){let c=l.__tabsterCacheId,o=q7(a),r=c?o.containerBoundingRectCache[c]:void 0;if(r)return r.rect;let e=l.ownerDocument&&l.ownerDocument.documentElement;if(!e)return new z_;let h=0,Z=0,t=e.clientWidth,i=e.clientHeight;if(l!==e){let n=l.getBoundingClientRect();h=Math.max(h,n.left),Z=Math.max(Z,n.top),t=Math.min(t,n.right),i=Math.min(i,n.bottom)}let v=new z_(h<t?h:-1,Z<i?Z:-1,h<t?t-h:0,Z<i?i-Z:0);if(!c)c="r-"+ ++o.lastContainerBoundingRectCacheId,l.__tabsterCacheId=c;if(o.containerBoundingRectCache[c]={rect:v,element:l},!o.containerBoundingRectCacheTimer)o.containerBoundingRectCacheTimer=window.setTimeout(()=>{o.containerBoundingRectCacheTimer=void 0;for(let n of Object.keys(o.containerBoundingRectCache))delete o.containerBoundingRectCache[n].element.__tabsterCacheId;o.containerBoundingRectCache={}},50);return v}function Q_(a,l,c){let o=nM(l);if(!o)return!1;let r=iM(a,o),e=l.getBoundingClientRect(),h=e.height*(1-c),Z=Math.max(0,r.top-e.top),t=Math.max(0,e.bottom-r.bottom),i=Z+t;return i===0||i<=h}function aC(a,l,c){let o=nM(l);if(o){let r=iM(a,o),e=l.getBoundingClientRect();if(c)o.scrollTop+=e.top-r.top;else o.scrollTop+=e.bottom-r.bottom}}function nM(a){let l=a.ownerDocument;if(l){for(let c=T.getParentElement(a);c;c=T.getParentElement(c))if(c.scrollWidth>c.clientWidth||c.scrollHeight>c.clientHeight)return c;return l.documentElement}return null}function lC(a){a.__shouldIgnoreFocus=!0}function vM(a){return!!a.__shouldIgnoreFocus}function cC(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 o=0;o<l.length;o++)l[o]=4294967295*Math.random();let c=[];for(let o=0;o<l.length;o++)c.push(l[o].toString(36));return c.push("|"),c.push((++Yx).toString(36)),c.push("|"),c.push(Date.now().toString(36)),c.join("")}function Jo(a,l){let c=q7(a),o=l.__tabsterElementUID;if(!o)o=l.__tabsterElementUID=cC(a());if(!c.elementByUId[o]&&et(l.ownerDocument,l))c.elementByUId[o]=new g5(a,l);return o}function J_(a,l){let c=q7(a);for(let o of Object.keys(c.elementByUId)){let r=c.elementByUId[o],e=r&&r.get();if(e&&l){if(!T.nodeContains(l,e))continue}delete c.elementByUId[o]}}function et(a,l){return T.nodeContains(a===null||a===void 0?void 0:a.body,l)}function dM(a,l){let c=a.matches||a.matchesSelector||a.msMatchesSelector||a.webkitMatchesSelector;return c&&c.call(a,l)}function oC(a){let l=q7(a);if(l.basics.Promise)return l.basics.Promise;throw Error("No Promise defined.")}function rC(a){return a.basics.WeakRef}var eC=0;class O6{constructor(a,l,c){let o=a.getWindow;this._tabster=a,this._element=new g5(o,l),this._props={...c},this.id="i"+ ++eC}getElement(){return this._element.get()}getProps(){return this._props}setProps(a){this._props={...a}}}class fa{constructor(a,l,c,o,r){var e;this._focusIn=(i)=>{if(this._fixedTarget){let n=this._fixedTarget.get();if(n)H2(n);return}let v=this.input;if(this.onFocusIn&&v){let n=i.relatedTarget;this.onFocusIn(this,this._isBackward(!0,v,n),n)}},this._focusOut=(i)=>{if(this._fixedTarget)return;this.useDefaultAction=!1;let v=this.input;if(this.onFocusOut&&v){let n=i.relatedTarget;this.onFocusOut(this,this._isBackward(!1,v,n),n)}};let h=a(),Z=h.document.createElement("i");Z.tabIndex=0,Z.setAttribute("role","none"),Z.setAttribute(j_,""),Z.setAttribute("aria-hidden","true");let t=Z.style;if(t.position="fixed",t.width=t.height="1px",t.opacity="0.001",t.zIndex="-1",t.setProperty("content-visibility","hidden"),lC(Z),this.input=Z,this.isFirst=c.isFirst,this.isOutside=l,this._isPhantom=(e=c.isPhantom)!==null&&e!==void 0?e:!1,this._fixedTarget=r,Z.addEventListener("focusin",this._focusIn),Z.addEventListener("focusout",this._focusOut),Z.__tabsterDummyContainer=o,this._isPhantom)this._disposeTimer=h.setTimeout(()=>{delete this._disposeTimer,this.dispose()},0),this._clearDisposeTimeout=()=>{if(this._disposeTimer)h.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=T.getParentNode(l))===null||a===void 0||a.removeChild(l)}setTopLeft(a,l){var c;let o=(c=this.input)===null||c===void 0?void 0:c.style;if(o)o.top=`${a}px`,o.left=`${l}px`}_isBackward(a,l,c){return a&&!c?!this.isFirst:!!(c&&l.compareDocumentPosition(c)&Node.DOCUMENT_POSITION_FOLLOWING)}}var Io={Root:1,Modalizer:2,Mover:3,Groupper:4};class v4{constructor(a,l,c,o,r,e){this._element=l,this._instance=new _M(a,l,this,c,o,r,e)}_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,o,r){let h=new fa(a.getWindow,!0,{isPhantom:!0,isFirst:!0}).input;if(h){let Z,t;if(l.tagName==="BODY")Z=l,t=c&&o||!c&&!o?T.getFirstElementChild(l):null;else{if(c&&(!o||o&&!a.focusable.isFocusable(l,!1,!0,!0)))Z=l,t=o?l.firstElementChild:null;else Z=T.getParentElement(l),t=c&&o||!c&&!o?l:T.getNextElementSibling(l);let i,v;do if(i=c&&o||!c&&!o?T.getPreviousElementSibling(t):t,v=y6(i),v===l)t=c&&o||!c&&!o?i:T.getNextElementSibling(i);else v=null;while(v)}if(Z===null||Z===void 0?void 0:Z.dispatchEvent(new b7({by:"root",owner:Z,next:null,relatedEvent:r})))T.insertBefore(Z,h,t),H2(h)}}static addPhantomDummyWithTarget(a,l,c,o){let e=new fa(a.getWindow,!0,{isPhantom:!0,isFirst:!0},void 0,new g5(a.getWindow,o)).input;if(e){let h,Z;if(jx(l)&&!c)h=l,Z=T.getFirstElementChild(l);else h=T.getParentElement(l),Z=c?l:T.getNextElementSibling(l);if(h)T.insertBefore(h,e,Z)}}}function u3(a,l){var c;let o={1:"Root",2:"Modalizer",3:"Mover",4:"Groupper"};(c=a.input)===null||c===void 0||c.setAttribute(j_,[`isFirst=${a.isFirst}`,`isOutside=${a.isOutside}`,...l.map((r)=>`(${o[r.priority]}, tabbable=${r.tabbable})`)].join(", "))}class pM{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 o of this._dummyElements){let r=o.get();if(r){let e=this._dummyCallbacks.get(r);if(e){let h=T.getParentNode(r);if(!h||this._changedParents.has(h))e()}}}this._changedParents=/*@__PURE__*/new WeakSet},JZ)},this._win=a}add(a,l){if(!this._dummyCallbacks.has(a)&&this._win)this._dummyElements.push(new g5(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+JZ<=Date.now()){let l=/*@__PURE__*/new Map,c=[];for(let o of this._updateQueue)c.push(o(l));this._updateQueue.clear();for(let o of c)o();l.clear()}else this._scheduledUpdatePositions()},JZ)}}class _M{constructor(a,l,c,o,r,e,h){this._wrappers=[],this._isOutside=!1,this._transformElements=/*@__PURE__*/new Set,this._onFocusIn=(d,p,M)=>{this._onFocus(!0,d,p,M)},this._onFocusOut=(d,p,M)=>{this._onFocus(!1,d,p,M)},this.moveOut=(d)=>{var p;let M=this._firstDummy,_=this._lastDummy;if(M&&_){this._ensurePosition();let A=M.input,m=_.input,u=(p=this._element)===null||p===void 0?void 0:p.get();if(A&&m&&u){let f;if(d)A.tabIndex=0,f=A;else m.tabIndex=0,f=m;if(f)H2(f)}}},this.moveOutWithDefaultAction=(d,p)=>{var M;let _=this._firstDummy,A=this._lastDummy;if(_&&A){this._ensurePosition();let m=_.input,u=A.input,f=(M=this._element)===null||M===void 0?void 0:M.get();if(m&&u&&f){let H;if(d)if(!_.isOutside&&this._tabster.focusable.isFocusable(f,!0,!0,!0))H=f;else _.useDefaultAction=!0,m.tabIndex=0,H=m;else A.useDefaultAction=!0,u.tabIndex=0,H=u;if(H&&f.dispatchEvent(new b7({by:"root",owner:f,next:null,relatedEvent:p})))H2(H)}}},this.setTabbable=(d,p)=>{var M,_;for(let m of this._wrappers)if(m.manager===d){m.tabbable=p;break}let A=this._getCurrent();if(A){let m=A.tabbable?0:-1,u=(M=this._firstDummy)===null||M===void 0?void 0:M.input;if(u)u.tabIndex=m;if(u=(_=this._lastDummy)===null||_===void 0?void 0:_.input,u)u.tabIndex=m}this._firstDummy&&u3(this._firstDummy,this._wrappers),this._lastDummy&&u3(this._lastDummy,this._wrappers)},this._addDummyInputs=()=>{if(this._addTimer)return;this._addTimer=this._getWindow().setTimeout(()=>{delete this._addTimer,this._ensurePosition(),this._firstDummy&&u3(this._firstDummy,this._wrappers),this._lastDummy&&u3(this._lastDummy,this._wrappers),this._addTransformOffsets()},0)},this._addTransformOffsets=()=>{this._tabster._dummyObserver.updatePositions(this._computeTransformOffsets)},this._computeTransformOffsets=(d)=>{var p,M;let _=((p=this._firstDummy)===null||p===void 0?void 0:p.input)||((M=this._lastDummy)===null||M===void 0?void 0:M.input),A=this._transformElements,m=/*@__PURE__*/new Set,u=0,f=0,H=this._getWindow();for(let F=_;F&&F.nodeType===Node.ELEMENT_NODE;F=T.getParentElement(F)){let R=d.get(F);if(R===void 0){let C=H.getComputedStyle(F).transform;if(C&&C!=="none")R={scrollTop:F.scrollTop,scrollLeft:F.scrollLeft};d.set(F,R||null)}if(R){if(m.add(F),!A.has(F))F.addEventListener("scroll",this._addTransformOffsets);u+=R.scrollTop,f+=R.scrollLeft}}for(let F of A)if(!m.has(F))F.removeEventListener("scroll",this._addTransformOffsets);return this._transformElements=m,()=>{var F,R;(F=this._firstDummy)===null||F===void 0||F.setTopLeft(u,f),(R=this._lastDummy)===null||R===void 0||R.setTopLeft(u,f)}};let Z=l.get();if(!Z)throw Error("No element");this._tabster=a,this._getWindow=a.getWindow,this._callForDefaultAction=h;let t=Z.__tabsterDummy;if((t||this)._wrappers.push({manager:c,priority:o,tabbable:!0}),t)return this._firstDummy&&u3(this._firstDummy,t._wrappers),this._lastDummy&&u3(this._lastDummy,t._wrappers),t;Z.__tabsterDummy=this;let i=r===null||r===void 0?void 0:r.dummyInputsPosition,v=Z.tagName;this._isOutside=!i?(e||v==="UL"||v==="OL"||v==="TABLE")&&!(v==="LI"||v==="TD"||v==="TH"):i===mx.Outside,this._firstDummy=new fa(this._getWindow,this._isOutside,{isFirst:!0},l),this._lastDummy=new fa(this._getWindow,this._isOutside,{isFirst:!1},l);let n=this._firstDummy.input;n&&a._dummyObserver.add(n,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,o,r,e;let h=this._wrappers=this._wrappers.filter((Z)=>Z.manager!==a&&!l);if(this._firstDummy&&u3(this._firstDummy,h),this._lastDummy&&u3(this._lastDummy,h),h.length===0){delete((c=this._element)===null||c===void 0?void 0:c.get()).__tabsterDummy;for(let i of this._transformElements)i.removeEventListener("scroll",this._addTransformOffsets);this._transformElements.clear();let Z=this._getWindow();if(this._addTimer)Z.clearTimeout(this._addTimer),delete this._addTimer;let t=(o=this._firstDummy)===null||o===void 0?void 0:o.input;t&&this._tabster._dummyObserver.remove(t),(r=this._firstDummy)===null||r===void 0||r.dispose(),(e=this._lastDummy)===null||e===void 0||e.dispose()}}_onFocus(a,l,c,o){var r;let e=this._getCurrent();if(e&&(!l.useDefaultAction||this._callForDefaultAction))(r=e.manager.getHandler(a))===null||r===void 0||r(l,c,o)}_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 o=(a=this._element)===null||a===void 0?void 0:a.get(),r=(l=this._firstDummy)===null||l===void 0?void 0:l.input,e=(c=this._lastDummy)===null||c===void 0?void 0:c.input;if(!o||!r||!e)return;if(this._isOutside){let h=T.getParentNode(o);if(h){let Z=T.getNextSibling(o);if(Z!==e)T.insertBefore(h,e,Z);if(T.getPreviousElementSibling(o)!==r)T.insertBefore(h,r,o)}}else{if(T.getLastElementChild(o)!==e)T.appendChild(o,e);let h=T.getFirstElementChild(o);if(h&&h!==r&&h.parentNode)T.insertBefore(h.parentNode,r,h)}}}function MM(a){let l=null;for(let c=T.getLastElementChild(a);c;c=T.getLastElementChild(c))l=c;return l||void 0}function hC(a,l){let c=a,o=null;while(c&&!o)o=l?T.getPreviousElementSibling(c):T.getNextElementSibling(c),c=T.getParentElement(c);return o||void 0}function IZ(a,l,c,o){let r=a.storageEntry(l,!0),e=!1;if(!r.aug){if(o===void 0)return e;r.aug={}}if(o===void 0){if(c in r.aug){let h=r.aug[c];if(delete r.aug[c],h===null)l.removeAttribute(c);else l.setAttribute(c,h);e=!0}}else{let h;if(!(c in r.aug))h=l.getAttribute(c);if(h!==void 0&&h!==o){if(r.aug[c]=h,o===null)l.removeAttribute(c);else l.setAttribute(c,o);e=!0}}if(o===void 0&&Object.keys(r.aug).length===0)delete r.aug,a.storageEntry(l,!1);return e}function ZC(a){var l,c;let o=a.ownerDocument,r=(l=o.defaultView)===null||l===void 0?void 0:l.getComputedStyle(a);if(a.offsetParent===null&&o.body!==a&&(r===null||r===void 0?void 0:r.position)!=="fixed")return!0;if((r===null||r===void 0?void 0:r.visibility)==="hidden")return!0;if((r===null||r===void 0?void 0:r.position)==="fixed"){if(r.display==="none")return!0;if(((c=a.parentElement)===null||c===void 0?void 0:c.offsetParent)===null&&o.body!==a.parentElement)return!0}return!1}function lt(a){return a.tagName==="INPUT"&&!!a.name&&a.type==="radio"}function tC(a){if(!lt(a))return;let l=a.name,c=Array.from(T.getElementsByName(a,l)),o;return c=c.filter((r)=>{if(lt(r)){if(r.checked)o=r;return!0}return!1}),{name:l,buttons:new Set(c),checked:o}}function y6(a){var l;return((l=a===null||a===void 0?void 0:a.__tabsterDummyContainer)===null||l===void 0?void 0:l.get())||null}/*!
|
|
54
54
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
55
55
|
* Licensed under the MIT License.
|
|
56
|
-
*/function
|
|
56
|
+
*/function Fa(a,l){let c=JSON.stringify(a);if(l===!0)return c;return{[t7]:c}}function iC(a,l){for(let c of Object.keys(l)){let o=l[c];if(o)a[c]=o;else delete a[c]}}function nC(a,l,c){let o;if(c){let r=a.getAttribute(t7);if(r)try{o=JSON.parse(r)}catch(e){console.error(`data-tabster attribute error: ${e}`,a)}}if(!o)o={};if(iC(o,l),Object.keys(o).length>0)a.setAttribute(t7,Fa(o,!0));else a.removeAttribute(t7)}/*!
|
|
57
57
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
58
58
|
* Licensed under the MIT License.
|
|
59
|
-
*/function
|
|
59
|
+
*/function I_(a,l,c){{let o=a.get();if(o)if(l)o.style.removeProperty("--tabster-root");else o.style.setProperty("--tabster-root",c+",")}}class ct extends v4{constructor(a,l,c,o){super(a,l,Io.Root,o,void 0,!0);this._onDummyInputFocus=(r)=>{var e;if(r.useDefaultAction)this._setFocused(!1);else{this._tabster.keyboardNavigation.setNavigatingWithKeyboard(!0);let h=this._element.get();if(h){this._setFocused(!0);let Z=this._tabster.focusedElement.getFirstOrLastTabbable(r.isFirst,{container:h,ignoreAccessibility:!0});if(Z){H2(Z);return}}(e=r.input)===null||e===void 0||e.blur()}},this._setHandlers(this._onDummyInputFocus),this._tabster=a,this._setFocused=c}}class AM extends O6{constructor(a,l,c,o,r){super(a,l,o);this._isFocused=!1,this._setFocused=(t)=>{var i;if(this._setFocusedTimer)this._tabster.getWindow().clearTimeout(this._setFocusedTimer),delete this._setFocusedTimer;if(this._isFocused===t)return;let v=this._element.get();if(v)if(t)this._isFocused=!0,(i=this._dummyManager)===null||i===void 0||i.setTabbable(!1),v.dispatchEvent(new eM({element:v}));else this._setFocusedTimer=this._tabster.getWindow().setTimeout(()=>{var n;delete this._setFocusedTimer,this._isFocused=!1,(n=this._dummyManager)===null||n===void 0||n.setTabbable(!0),v.dispatchEvent(new hM({element:v}))},0)},this._onFocusIn=(t)=>{let i=this._tabster.getParent,v=this._element.get(),n=t.composedPath()[0];do{if(n===v){this._setFocused(!0);return}n=n&&i(n)}while(n)},this._onFocusOut=()=>{this._setFocused(!1)},this._onDispose=c;let e=a.getWindow;if(this.uid=Jo(e,l),this._sys=r,a.controlTab||a.rootDummyInputs)this.addDummyInputs();let Z=e().document;Z.addEventListener(F5,this._onFocusIn),Z.addEventListener(D6,this._onFocusOut),this._add()}addDummyInputs(){if(!this._dummyManager)this._dummyManager=new ct(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(F5,this._onFocusIn),c.removeEventListener(D6,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 o=this.getElement();if(o)ct.moveWithPhantomDummy(this._tabster,o,!0,a,l)}}_add(){I_(this._element,!1,this.uid)}_remove(){I_(this._element,!0)}}class z1{constructor(a,l){this._autoRootWaiting=!1,this._roots={},this._forceDummy=!1,this.rootById={},this._autoRootCreate=()=>{var c;let o=this._win().document,r=o.body;if(r){this._autoRootUnwait(o);let e=this._autoRoot;if(e)return nC(r,{root:e},!0),aM(this._tabster,r),(c=X0(this._tabster,r))===null||c===void 0?void 0:c.root}else if(!this._autoRootWaiting)this._autoRootWaiting=!0,o.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 o=new AM(this._tabster,a,this._onRootDispose,l,c);if(this._roots[o.id]=o,this._forceDummy)o.addDummyInputs();return o}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 o,r,e,h;if(!l.ownerDocument)return;let{checkRtl:Z,referenceElement:t}=c,i=a.getParent;a.drainInitQueue();let v,n,d,p,M=!1,_,A,m,u,f=t||l,H={};while(f&&(!v||Z)){let R=X0(a,f);if(Z&&m===void 0){let l1=f.dir;if(l1)m=l1.toLowerCase()==="rtl"}if(!R){f=i(f);continue}let C=f.tagName;if((R.uncontrolled||C==="IFRAME"||C==="WEBVIEW")&&a.focusable.isVisible(f))u=f;if(!p&&((o=R.focusable)===null||o===void 0?void 0:o.excludeFromMover)&&!d)M=!0;let{modalizer:b,groupper:O,mover:c1}=R;if(!n&&b)n=b;if(!d&&O&&(!n||b))if(n){if(!O.isActive()&&O.getProps().tabbability&&n.userId!==((r=a.modalizer)===null||r===void 0?void 0:r.activeId))n=void 0,d=O;A=O}else d=O;if(!p&&c1&&(!n||b)&&(!O||f!==l)&&f.contains(l))p=c1,_=!!d&&d!==O;if(R.root)v=R.root;if((e=R.focusable)===null||e===void 0?void 0:e.ignoreKeydown)Object.assign(H,R.focusable.ignoreKeydown);f=i(f)}if(!v){let R=a.root;if(R._autoRoot){if((h=l.ownerDocument)===null||h===void 0?void 0:h.body)v=R._autoRootCreate()}}if(d&&!p)_=!0;if(!v){if(n||d||p)console.error("Tabster Root is required for Mover, Groupper and Modalizer to work.")}return v?{root:v,modalizer:n,groupper:d,mover:p,groupperBeforeMover:_,modalizerInGroupper:A,rtl:Z?!!m:void 0,uncontrolled:u,excludedFromMover:M,ignoreKeydown:(R)=>!!H[R.key]}:void 0}static getRoot(a,l){var c;let o=a.getParent;for(let r=l;r;r=o(r)){let e=(c=X0(a,r))===null||c===void 0?void 0:c.root;if(e)return e}return}onRoot(a,l){if(l)delete this.rootById[a.uid];else this.rootById[a.uid]=a}}/*!
|
|
60
60
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
61
61
|
* Licensed under the MIT License.
|
|
62
62
|
*//*!
|
|
63
63
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
64
64
|
* Licensed under the MIT License.
|
|
65
|
-
*/class
|
|
65
|
+
*/class ht{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))}}/*!
|
|
66
66
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
67
67
|
* Licensed under the MIT License.
|
|
68
68
|
*//*!
|
|
69
69
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
70
70
|
* Licensed under the MIT License.
|
|
71
|
-
*/class
|
|
71
|
+
*/class mM{constructor(a){this._tabster=a}dispose(){}getProps(a){let l=X0(this._tabster,a);return l&&l.focusable||{}}isFocusable(a,l,c,o){if(dM(a,N_)&&(l||a.tabIndex!==-1))return(c||this.isVisible(a))&&(o||this.isAccessible(a));return!1}isVisible(a){if(!a.ownerDocument||a.nodeType!==Node.ELEMENT_NODE)return!1;if(ZC(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=T.getParentElement(c)){let o=X0(this._tabster,c);if(this._isHidden(c))return!1;if(!((l=o===null||o===void 0?void 0:o.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 o,r,e;let{container:h,currentElement:Z=null,includeProgrammaticallyFocusable:t,useActiveModalizer:i,ignoreAccessibility:v,modalizerId:n,isBackward:d,onElement:p}=l;if(!c)c={};let M=[],{acceptCondition:_}=l,A=!!_;if(!h)return null;if(!_)_=(H)=>this.isFocusable(H,t,!1,v);let m={container:h,modalizerUserId:n===void 0&&i?(o=this._tabster.modalizer)===null||o===void 0?void 0:o.activeId:n||((e=(r=z1.getTabsterContext(this._tabster,h))===null||r===void 0?void 0:r.modalizer)===null||e===void 0?void 0:e.userId),from:Z||h,isBackward:d,isFindAll:a,acceptCondition:_,hasCustomCondition:A,includeProgrammaticallyFocusable:t,ignoreAccessibility:v,cachedGrouppers:{},cachedRadioGroups:{}},u=rt(h.ownerDocument,h,(H)=>this._acceptElement(H,m));if(!u)return null;let f=(H)=>{var F,R;let C=(F=m.foundElement)!==null&&F!==void 0?F:m.foundBackward;if(C)M.push(C);if(a){if(C){if(m.found=!1,delete m.foundElement,delete m.foundBackward,delete m.fromCtx,m.from=C,p&&!p(C))return!1}return!!(C||H)}else{if(C&&c)c.uncontrolled=(R=z1.getTabsterContext(this._tabster,C))===null||R===void 0?void 0:R.uncontrolled;return!!(H&&!C)}};if(!Z)c.outOfDOMOrder=!0;if(Z&&T.nodeContains(h,Z))u.currentNode=Z;else if(d){let H=MM(h);if(!H)return null;if(this._acceptElement(H,m)===NodeFilter.FILTER_ACCEPT&&!f(!0)){if(m.skippedFocusable)c.outOfDOMOrder=!0;return M}u.currentNode=H}do if(d)u.previousNode();else u.nextNode();while(f());if(m.skippedFocusable)c.outOfDOMOrder=!0;return M.length?M:null}_acceptElement(a,l){var c,o,r;if(l.found)return NodeFilter.FILTER_ACCEPT;let e=l.foundBackward;if(e&&(a===e||!T.nodeContains(e,a)))return l.found=!0,l.foundElement=e,NodeFilter.FILTER_ACCEPT;let h=l.container;if(a===h)return NodeFilter.FILTER_SKIP;if(!T.nodeContains(h,a))return NodeFilter.FILTER_REJECT;if(y6(a))return NodeFilter.FILTER_REJECT;if(T.nodeContains(l.rejectElementsFrom,a))return NodeFilter.FILTER_REJECT;let Z=l.currentCtx=z1.getTabsterContext(this._tabster,a);if(!Z)return NodeFilter.FILTER_SKIP;if(vM(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=Z.modalizer)===null||c===void 0?void 0:c.userId)===((o=this._tabster.modalizer)===null||o===void 0?void 0:o.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 t,i=l.fromCtx;if(!i)i=l.fromCtx=z1.getTabsterContext(this._tabster,l.from);let v=i===null||i===void 0?void 0:i.mover,n=Z.groupper,d=Z.mover;if(t=(r=this._tabster.modalizer)===null||r===void 0?void 0:r.acceptElement(a,l),t!==void 0)l.skippedFocusable=!0;if(t===void 0&&(n||d||v)){let p=n===null||n===void 0?void 0:n.getElement(),M=v===null||v===void 0?void 0:v.getElement(),_=d===null||d===void 0?void 0:d.getElement();if(_&&T.nodeContains(M,_)&&T.nodeContains(h,M)&&(!p||!d||T.nodeContains(M,p)))d=v,_=M;if(p){if(p===h||!T.nodeContains(h,p))n=void 0;else if(!T.nodeContains(p,a))return NodeFilter.FILTER_REJECT}if(_){if(!T.nodeContains(h,_))d=void 0;else if(!T.nodeContains(_,a))return NodeFilter.FILTER_REJECT}if(n&&d)if(_&&p&&!T.nodeContains(p,_))d=void 0;else n=void 0;if(n)t=n.acceptElement(a,l);if(d)t=d.acceptElement(a,l)}if(t===void 0){if(t=l.acceptCondition(a)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP,t===NodeFilter.FILTER_SKIP&&this.isFocusable(a,!1,!0,!0))l.skippedFocusable=!0}if(t===NodeFilter.FILTER_ACCEPT&&!l.found){if(!l.isFindAll&<(a)&&!a.checked){let p=a.name,M=l.cachedRadioGroups[p];if(!M){if(M=tC(a),M)l.cachedRadioGroups[p]=M}if((M===null||M===void 0?void 0:M.checked)&&M.checked!==a)return NodeFilter.FILTER_SKIP}if(l.isBackward)l.foundBackward=a,t=NodeFilter.FILTER_SKIP;else l.found=!0,l.foundElement=a}return t}}/*!
|
|
72
72
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
73
73
|
* Licensed under the MIT License.
|
|
74
|
-
*/var
|
|
74
|
+
*/var A0={Tab:"Tab",Enter:"Enter",Escape:"Escape",PageUp:"PageUp",PageDown:"PageDown",End:"End",Home:"Home",ArrowLeft:"ArrowLeft",ArrowUp:"ArrowUp",ArrowRight:"ArrowRight",ArrowDown:"ArrowDown"};/*!
|
|
75
75
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
76
76
|
* Licensed under the MIT License.
|
|
77
|
-
*/function
|
|
77
|
+
*/function vC(a,l){var c;let o=a.getParent,r=l;do{let e=(c=X0(a,r))===null||c===void 0?void 0:c.uncontrolled;if(e&&a.uncontrolled.isUncontrolledCompletely(r,!!e.completely))return r;r=o(r)}while(r);return}var $_={[T7.Restorer]:0,[T7.Deloser]:1,[T7.EscapeGroupper]:2};class m0 extends ht{constructor(a,l){super();this._init=()=>{let c=this._win(),o=c.document;o.addEventListener(F5,this._onFocusIn,!0),o.addEventListener(D6,this._onFocusOut,!0),c.addEventListener("keydown",this._onKeyDown,!0);let r=T.getActiveElement(o);if(r&&r!==o.body)this._setFocusedElement(r);this.subscribe(this._onChanged)},this._onFocusIn=(c)=>{let o=c.composedPath()[0];if(o)this._setFocusedElement(o,c.detail.relatedTarget,c.detail.isFocusedProgrammatically)},this._onFocusOut=(c)=>{var o;this._setFocusedElement(void 0,(o=c.detail)===null||o===void 0?void 0:o.originalEvent.relatedTarget)},this._validateFocusedElement=(c)=>{},this._onKeyDown=(c)=>{if(c.key!==A0.Tab||c.ctrlKey)return;let o=this.getVal();if(!o||!o.ownerDocument||o.contentEditable==="true")return;let r=this._tabster,e=r.controlTab,h=z1.getTabsterContext(r,o);if(!h||h.ignoreKeydown(c))return;let Z=c.shiftKey,t=m0.findNextTabbable(r,h,void 0,o,void 0,Z,!0),i=h.root.getElement();if(!i)return;let v=t===null||t===void 0?void 0:t.element,n=vC(r,o);if(v){let d=t.uncontrolled;if(h.uncontrolled||T.nodeContains(d,o)){if(!t.outOfDOMOrder&&d===h.uncontrolled||n&&!T.nodeContains(n,v))return;v4.addPhantomDummyWithTarget(r,o,Z,v);return}if(d&&r.focusable.isVisible(d)||v.tagName==="IFRAME"&&r.focusable.isVisible(v)){if(i.dispatchEvent(new b7({by:"root",owner:i,next:v,relatedEvent:c})))v4.moveWithPhantomDummy(r,d!==null&&d!==void 0?d:v,!1,Z,c);return}if(e||(t===null||t===void 0?void 0:t.outOfDOMOrder)){if(i.dispatchEvent(new b7({by:"root",owner:i,next:v,relatedEvent:c})))c.preventDefault(),c.stopImmediatePropagation(),H2(v)}}else if(!n&&i.dispatchEvent(new b7({by:"root",owner:i,next:null,relatedEvent:c})))h.root.moveOutWithDefaultAction(Z,c)},this._onChanged=(c,o)=>{var r,e;if(c)c.dispatchEvent(new lM(o));else{let h=(r=this._lastVal)===null||r===void 0?void 0:r.get();if(h){let Z={...o},t=z1.getTabsterContext(this._tabster,h),i=(e=t===null||t===void 0?void 0:t.modalizer)===null||e===void 0?void 0:e.userId;if(i)Z.modalizerId=i;h.dispatchEvent(new cM(Z))}}},this._tabster=a,this._win=l,a.queueInit(this._init)}dispose(){super.dispose();let a=this._win(),l=a.document;l.removeEventListener(F5,this._onFocusIn,!0),l.removeEventListener(D6,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 m0._lastResetElement,delete this._nextVal,delete this._lastVal}static forgetMemorized(a,l){var c,o;let r=m0._lastResetElement,e=r&&r.get();if(e&&T.nodeContains(l,e))delete m0._lastResetElement;if(e=(o=(c=a._nextVal)===null||c===void 0?void 0:c.element)===null||o===void 0?void 0:o.get(),e&&T.nodeContains(l,e))delete a._nextVal;if(r=a._lastVal,e=r&&r.get(),e&&T.nodeContains(l,e))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&&!et(l.ownerDocument,l))this._lastVal=l=void 0;return l}focus(a,l,c,o){if(!this._tabster.focusable.isFocusable(a,l,!1,c))return!1;return a.focus({preventScroll:o}),!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:o,ignoreAccessibility:r}=l,e;if(o){let h=z1.getTabsterContext(this._tabster,o);if(h)e=(c=m0.findNextTabbable(this._tabster,h,o,void 0,void 0,!a,r))===null||c===void 0?void 0:c.element}if(e&&!T.nodeContains(o,e))e=void 0;return e||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"),m0._lastResetElement=new g5(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 o=this._tabster.getWindow(),r=this._asyncFocus;if(r){if($_[a]>$_[r.source])return;o.clearTimeout(r.timeout)}this._asyncFocus={source:a,callback:l,timeout:o.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 o,r;if(this._tabster._noop)return;let e={relatedTarget:l};if(a){let Z=(o=m0._lastResetElement)===null||o===void 0?void 0:o.get();if(m0._lastResetElement=void 0,Z===a||vM(a))return;e.isFocusedProgrammatically=c;let t=z1.getTabsterContext(this._tabster,a),i=(r=t===null||t===void 0?void 0:t.modalizer)===null||r===void 0?void 0:r.userId;if(i)e.modalizerId=i}let h=this._nextVal={element:a?new g5(this._win,a):void 0,detail:e};if(a&&a!==this._val)this._validateFocusedElement(a);if(this._nextVal===h)this.setVal(a,e);this._nextVal=void 0}setVal(a,l){if(super.setVal(a,l),a)this._lastVal=new g5(this._win,a)}static findNextTabbable(a,l,c,o,r,e,h){let Z=c||l.root.getElement();if(!Z)return null;let t=null,i=m0._isTabbingTimer,v=a.getWindow();if(i)v.clearTimeout(i);m0.isTabbing=!0,m0._isTabbingTimer=v.setTimeout(()=>{delete m0._isTabbingTimer,m0.isTabbing=!1},0);let{modalizer:n,groupper:d,mover:p}=l,M=(_)=>{if(t=_.findNextTabbable(o,r,e,h),o&&!(t===null||t===void 0?void 0:t.element)){let A=_!==n&&T.getParentElement(_.getElement());if(A){let m=z1.getTabsterContext(a,o,{referenceElement:A});if(m){let u=_.getElement(),f=e?u:u&&MM(u)||u;if(f){if(t=m0.findNextTabbable(a,m,c,f,A,e,h),t)t.outOfDOMOrder=!0}}}}};if(d&&p)M(l.groupperBeforeMover?d:p);else if(d)M(d);else if(p)M(p);else if(n)M(n);else{let _={container:Z,currentElement:o,referenceElement:r,ignoreAccessibility:h,useActiveModalizer:!0},A={};t={element:a.focusable[e?"findPrev":"findNext"](_,A),outOfDOMOrder:A.outOfDOMOrder,uncontrolled:A.uncontrolled}}return t}}m0.isTabbing=!1;/*!
|
|
78
78
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
79
79
|
* Licensed under the MIT License.
|
|
80
|
-
*/class
|
|
80
|
+
*/class sM extends v4{constructor(a,l,c,o){super(c,a,Io.Groupper,o,!0);this._setHandlers((r,e,h)=>{var Z,t;let i=a.get(),v=r.input;if(i&&v){let n=z1.getTabsterContext(c,v);if(n){let d;if(d=(Z=l.findNextTabbable(h||void 0,void 0,e,!0))===null||Z===void 0?void 0:Z.element,!d)d=(t=m0.findNextTabbable(c,n,void 0,r.isOutside?v:hC(i,!e),void 0,e,!0))===null||t===void 0?void 0:t.element;if(d)H2(d)}}})}}class uM extends O6{constructor(a,l,c,o,r){super(a,l,o);if(this._shouldTabInside=!1,this.makeTabbable(!1),this._onDispose=c,!a.controlTab)this.dummyManager=new sM(this._element,this,a,r)}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)Y_(this._element,!0);delete this._first}findNextTabbable(a,l,c,o){let r=this.getElement();if(!r)return null;let e=y6(a)===r;if(!this._shouldTabInside&&a&&T.nodeContains(r,a)&&!e)return{element:void 0,outOfDOMOrder:!0};let h=this.getFirst(!0);if(!a||!T.nodeContains(r,a)||e)return{element:h,outOfDOMOrder:!0};let Z=this._tabster,t=null,i=!1,v;if(this._shouldTabInside&&h){let n={container:r,currentElement:a,referenceElement:l,ignoreAccessibility:o,useActiveModalizer:!0},d={};if(t=Z.focusable[c?"findPrev":"findNext"](n,d),i=!!d.outOfDOMOrder,!t&&this._props.tabbability===Va.LimitedTrapFocus)t=Z.focusable[c?"findLast":"findFirst"]({container:r,ignoreAccessibility:o,useActiveModalizer:!0},d),i=!0;v=d.uncontrolled}return{element:t,uncontrolled:v,outOfDOMOrder:i}}makeTabbable(a){this._shouldTabInside=a||!this._props.tabbability,Y_(this._element,!this._shouldTabInside)}isActive(a){var l;let c=this.getElement()||null,o=!0;for(let e=T.getParentElement(c);e;e=T.getParentElement(e)){let h=(l=X0(this._tabster,e))===null||l===void 0?void 0:l.groupper;if(h){if(!h._shouldTabInside)o=!1}}let r=o?this._props.tabbability?this._shouldTabInside:!1:void 0;if(r&&a){let e=this._tabster.focusedElement.getFocusedElement();if(e)r=e!==this.getFirst(!0)}return r}getFirst(a){var l;let c=this.getElement(),o;if(c){if(a&&this._tabster.focusable.isFocusable(c))return c;if(o=(l=this._first)===null||l===void 0?void 0:l.get(),!o){if(o=this._tabster.focusable.findFirst({container:c,useActiveModalizer:!0})||void 0,o)this.setFirst(o)}}return o}setFirst(a){if(a)this._first=new g5(this._tabster.getWindow,a);else delete this._first}acceptElement(a,l){let c=l.cachedGrouppers,o=T.getParentElement(this.getElement()),r=o&&z1.getTabsterContext(this._tabster,o),e=r===null||r===void 0?void 0:r.groupper,h=(r===null||r===void 0?void 0:r.groupperBeforeMover)?e:void 0,Z,t=(n)=>{let d=c[n.id],p;if(d)p=d.isActive;else p=this.isActive(!0),d=c[n.id]={isActive:p};return p};if(h){if(Z=h.getElement(),!t(h)&&Z&&l.container!==Z&&T.nodeContains(l.container,Z))return l.skippedFocusable=!0,NodeFilter.FILTER_REJECT}let i=t(this),v=this.getElement();if(v){if(i!==!0){if(v===a&&e){if(!Z)Z=e.getElement();if(Z&&!t(e)&&T.nodeContains(l.container,Z)&&Z!==l.container)return l.skippedFocusable=!0,NodeFilter.FILTER_REJECT}if(v!==a&&T.nodeContains(v,a))return l.skippedFocusable=!0,NodeFilter.FILTER_REJECT;let n=c[this.id],d;if("first"in n)d=n.first;else d=n.first=this.getFirst(!0);if(d&&l.acceptCondition(d))if(l.rejectElementsFrom=v,l.skippedFocusable=!0,d!==l.from)return l.found=!0,l.foundElement=d,NodeFilter.FILTER_ACCEPT;else return NodeFilter.FILTER_REJECT}}return}}class HM{constructor(a,l){this._current={},this._grouppers={},this._init=()=>{let c=this._win();this._tabster.focusedElement.subscribeFirst(this._onFocus);let o=c.document,r=T.getActiveElement(o);if(r)this._onFocus(r);o.addEventListener("mousedown",this._onMouseDown,!0),c.addEventListener("keydown",this._onKeyDown,!0),c.addEventListener(W_,this._onMoveFocus)},this._onGroupperDispose=(c)=>{delete this._grouppers[c.id]},this._onFocus=(c)=>{if(c)this._updateCurrent(c)},this._onMouseDown=(c)=>{let o=c.target;while(o&&!this._tabster.focusable.isFocusable(o))o=this._tabster.getParent(o);if(o)this._updateCurrent(o)},this._onKeyDown=(c)=>{if(c.key!==A0.Enter&&c.key!==A0.Escape)return;if(c.ctrlKey||c.altKey||c.shiftKey||c.metaKey)return;let o=this._tabster.focusedElement.getFocusedElement();if(o)this.handleKeyPress(o,c)},this._onMoveFocus=(c)=>{var o;let r=c.composedPath()[0],e=(o=c.detail)===null||o===void 0?void 0:o.action;if(r&&e!==void 0&&!c.defaultPrevented){if(e===b_.Enter)this._enterGroupper(r);else this._escapeGroupper(r);c.stopImmediatePropagation()}},this._tabster=a,this._win=l,a.queueInit(this._init)}dispose(){let a=this._win();if(this._tabster.focusedElement.cancelAsyncFocus(T7.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(W_,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 o=this._tabster,r=new uM(o,a,this._onGroupperDispose,l,c);this._grouppers[r.id]=r;let e=o.focusedElement.getFocusedElement();if(e&&T.nodeContains(a,e)&&!this._updateTimer)this._updateTimer=this._win().setTimeout(()=>{if(delete this._updateTimer,e===o.focusedElement.getFocusedElement())this._updateCurrent(e)},0);return r}forgetCurrentGrouppers(){this._current={}}_updateCurrent(a){var l;if(this._updateTimer)this._win().clearTimeout(this._updateTimer),delete this._updateTimer;let c=this._tabster,o={};for(let r=c.getParent(a);r;r=c.getParent(r)){let e=(l=X0(c,r))===null||l===void 0?void 0:l.groupper;if(e){o[e.id]=!0,this._current[e.id]=e;let h=e.isActive()||a!==r&&(!e.getProps().delegated||e.getFirst(!1)!==a);e.makeTabbable(h)}}for(let r of Object.keys(this._current)){let e=this._current[r];if(!(e.id in o))e.makeTabbable(!1),e.setFirst(void 0),delete this._current[r]}}_enterGroupper(a,l){let c=this._tabster,o=z1.getTabsterContext(c,a),r=(o===null||o===void 0?void 0:o.groupper)||(o===null||o===void 0?void 0:o.modalizerInGroupper),e=r===null||r===void 0?void 0:r.getElement();if(r&&e&&(a===e||r.getProps().delegated&&a===r.getFirst(!1))){let h=c.focusable.findNext({container:e,currentElement:a,useActiveModalizer:!0});if(h&&(!l||l&&e.dispatchEvent(new b7({by:"groupper",owner:e,next:h,relatedEvent:l})))){if(l)l.preventDefault(),l.stopImmediatePropagation();return h.focus(),h}}return null}_escapeGroupper(a,l,c){let o=this._tabster,r=z1.getTabsterContext(o,a),e=(r===null||r===void 0?void 0:r.groupper)||(r===null||r===void 0?void 0:r.modalizerInGroupper),h=e===null||e===void 0?void 0:e.getElement();if(e&&h&&T.nodeContains(h,a)){let Z;if(a!==h||c)Z=e.getFirst(!0);else{let t=T.getParentElement(h),i=t?z1.getTabsterContext(o,t):void 0;e=i===null||i===void 0?void 0:i.groupper,Z=e===null||e===void 0?void 0:e.getFirst(!0)}if(Z&&(!l||l&&h.dispatchEvent(new b7({by:"groupper",owner:h,next:Z,relatedEvent:l})))){if(e)e.makeTabbable(!1);return Z.focus(),Z}}return null}moveFocus(a,l){return l===b_.Enter?this._enterGroupper(a):this._escapeGroupper(a)}handleKeyPress(a,l,c){let o=this._tabster,r=z1.getTabsterContext(o,a);if(r&&((r===null||r===void 0?void 0:r.groupper)||(r===null||r===void 0?void 0:r.modalizerInGroupper))){if(o.focusedElement.cancelAsyncFocus(T7.EscapeGroupper),r.ignoreKeydown(l))return;if(l.key===A0.Enter)this._enterGroupper(a,l);else if(l.key===A0.Escape){let e=o.focusedElement.getFocusedElement();o.focusedElement.requestAsyncFocus(T7.EscapeGroupper,()=>{if(e!==o.focusedElement.getFocusedElement()&&(c&&!e||!c))return;this._escapeGroupper(a,l,c)},0)}}}}function Y_(a,l){{let c=a.get();if(c)if(l)c.style.removeProperty("--tabster-groupper");else c.style.setProperty("--tabster-groupper","unlimited")}}/*!
|
|
81
81
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
82
82
|
* Licensed under the MIT License.
|
|
83
|
-
*/class
|
|
83
|
+
*/class fM extends ht{constructor(a){super();this._onChange=(l)=>{this.setVal(l,void 0)},this._keyborg=A3(a()),this._keyborg.subscribe(this._onChange)}dispose(){if(super.dispose(),this._keyborg)this._keyborg.unsubscribe(this._onChange),m3(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())}}/*!
|
|
84
84
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
85
85
|
* Licensed under the MIT License.
|
|
86
|
-
*/var dC=0,$
|
|
86
|
+
*/var dC=0,$Z="aria-hidden";function YZ(a,l,c,o,r,e){{let h=a.get();if(h)if(l)h.style.removeProperty("--tabster-modalizer");else h.style.setProperty("--tabster-modalizer",c+","+o+","+(r?"active":"inactive")+",,"+(e?`focused(${e})`:"not-focused"))}}class VM extends v4{constructor(a,l,c){super(l,a,Io.Modalizer,c);this._setHandlers((o,r)=>{var e,h;let Z=a.get(),t=Z&&((e=z1.getRoot(l,Z))===null||e===void 0?void 0:e.getElement()),i=o.input,v;if(t&&i){let n=y6(i),d=z1.getTabsterContext(l,n||i);if(d)v=(h=m0.findNextTabbable(l,d,t,i,void 0,r,!0))===null||h===void 0?void 0:h.element;if(v)H2(v)}})}}class FM extends O6{constructor(a,l,c,o,r,e){super(a,l,o);if(this._wasFocused=0,this.userId=o.id,this._onDispose=c,this._activeElements=e,!a.controlTab)this.dummyManager=new VM(this._element,a,r);YZ(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,o=c.map((r)=>r.get()).indexOf(l);if(a){if(o<0)c.push(new g5(this._tabster.getWindow,l))}else if(o>=0)c.splice(o,1)}YZ(this._element,!1,this.id,this.userId,this._isActive,this._wasFocused),this._dispatchEvent(a)}}focused(a){if(!a)this._wasFocused=++dC;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 T.nodeContains(this.getElement(),a)}findNextTabbable(a,l,c,o){var r,e;if(!this.getElement())return null;let Z=this._tabster,t=null,i=!1,v,n=a&&((r=z1.getRoot(Z,a))===null||r===void 0?void 0:r.getElement());if(n){let d={container:n,currentElement:a,referenceElement:l,ignoreAccessibility:o,useActiveModalizer:!0},p={};if(t=Z.focusable[c?"findPrev":"findNext"](d,p),!t&&this._props.isTrapped&&((e=Z.modalizer)===null||e===void 0?void 0:e.activeId)){if(t=Z.focusable[c?"findLast":"findFirst"]({container:n,ignoreAccessibility:o,useActiveModalizer:!0},p),t===null)t=a;i=!0}else i=!!p.outOfDOMOrder;v=p.uncontrolled}return{element:t,uncontrolled:v,outOfDOMOrder:i}}_dispatchEvent(a,l){let c=this.getElement(),o=!1;if(c){let r=l?this._activeElements.map((e)=>e.get()):[c];for(let e of r)if(e){let h={id:this.userId,element:c},Z=a?new oM(h):new rM(h);if(e.dispatchEvent(Z),Z.defaultPrevented)o=!0}}return o}_remove(){YZ(this._element,!0)}}class gM{constructor(a,l,c){if(this._onModalizerDispose=(r)=>{let{id:e,userId:h}=r,Z=this._parts[h];if(delete this._modalizers[e],Z){if(delete Z[e],Object.keys(Z).length===0){delete this._parts[h];let t=this._activationHistory,i=[],v;for(let n=t.length;n--;){let d=t[n];if(d===h)continue;if(d!==v){if(v=d,d||i.length>0)i.unshift(d)}}if(this._activationHistory=i,this.activeId===h){let n=i[0],d=n?Object.values(this._parts[n])[0]:void 0;this.setActive(d)}}}},this._onKeyDown=(r)=>{var e;if(r.key!==A0.Escape)return;let h=this._tabster,Z=h.focusedElement.getFocusedElement();if(Z){let t=z1.getTabsterContext(h,Z),i=t===null||t===void 0?void 0:t.modalizer;if(t&&!t.groupper&&(i===null||i===void 0?void 0:i.isActive())&&!t.ignoreKeydown(r)){let v=i.userId;if(v){let n=this._parts[v];if(n){let d=Object.keys(n).map((p)=>{var M;let _=n[p],A=_.getElement(),m;if(A)m=(M=X0(h,A))===null||M===void 0?void 0:M.groupper;return _&&A&&m?{el:A,focusedSince:_.focused(!0)}:{focusedSince:0}}).filter((p)=>p.focusedSince>0).sort((p,M)=>p.focusedSince>M.focusedSince?-1:p.focusedSince<M.focusedSince?1:0);if(d.length){let p=d[0].el;if(p)(e=h.groupper)===null||e===void 0||e.handleKeyPress(p,r,!0)}}}}}},this._onFocus=(r,e)=>{var h;let Z=this._tabster,t=r&&z1.getTabsterContext(Z,r);if(!t||!r)return;let i=this._augMap;for(let p=r;p;p=T.getParentElement(p))if(i.has(p))i.delete(p),IZ(Z,p,$Z);let v=t.modalizer,n=X0(Z,r),d=n===null||n===void 0?void 0:n.modalizer;if(d){if(d.focused(),d.userId===this.activeId&&n.groupper){let p=Z.getParent(r),M=p&&((h=z1.getTabsterContext(Z,p))===null||h===void 0?void 0:h.modalizer);if(M)v=M;else{this.setActive(void 0);return}}}if(v===null||v===void 0||v.focused(),(v===null||v===void 0?void 0:v.userId)===this.activeId){this.currentIsOthersAccessible=v===null||v===void 0?void 0:v.getProps().isOthersAccessible;return}if(e.isFocusedProgrammatically||this.currentIsOthersAccessible||(v===null||v===void 0?void 0:v.getProps().isAlwaysAccessible))this.setActive(v);else{let p=this._win();p.clearTimeout(this._restoreModalizerFocusTimer),this._restoreModalizerFocusTimer=p.setTimeout(()=>this._restoreModalizerFocus(r),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 o;let r=new FM(this._tabster,a,this._onModalizerDispose,l,c,this.activeElements),e=r.id,h=l.id;this._modalizers[e]=r;let Z=this._parts[h];if(!Z)Z=this._parts[h]={};Z[e]=r;let t=(o=this._tabster.focusedElement.getFocusedElement())!==null&&o!==void 0?o:null;if(a!==t&&T.nodeContains(a,t))if(h!==this.activeId)this.setActive(r);else r.makeActive(!0);return r}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 r=this._parts[c];if(r)for(let e of Object.keys(r))r[e].makeActive(!1)}if(l){let r=this._parts[l];if(r)for(let e of Object.keys(r))r[e].makeActive(!0)}this.currentIsOthersAccessible=a===null||a===void 0?void 0:a.getProps().isOthersAccessible,this.hiddenUpdate();let o=this._activationHistory;if(o[0]!==l&&(l!==void 0||o.length>0))o.unshift(l)}focus(a,l,c){let o=this._tabster,r=z1.getTabsterContext(o,a),e=r===null||r===void 0?void 0:r.modalizer;if(e){this.setActive(e);let h=e.getProps(),Z=e.getElement();if(Z){if(l===void 0)l=h.isNoFocusFirst;if(!l&&o.keyboardNavigation.isNavigatingWithKeyboard()&&o.focusedElement.focusFirst({container:Z}))return!0;if(c===void 0)c=h.isNoFocusDefault;if(!c&&o.focusedElement.focusDefault(Z))return!0;o.focusedElement.resetFocus(Z)}}else console.error("Element is not in Modalizer.",a);return!1}activate(a){var l;let c=a?(l=z1.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 o=l.modalizerUserId,r=(c=l.currentCtx)===null||c===void 0?void 0:c.modalizer;if(o)for(let h of this.activeElements){let Z=h.get();if(Z&&(T.nodeContains(a,Z)||Z===a))return NodeFilter.FILTER_SKIP}let e=o===(r===null||r===void 0?void 0:r.userId)||!o&&(r===null||r===void 0?void 0:r.getProps().isAlwaysAccessible)?void 0:NodeFilter.FILTER_SKIP;if(e!==void 0)l.skippedFocusable=!0;return e}_hiddenUpdate(){var a;let l=this._tabster,c=l.getWindow().document.body,o=this.activeId,r=this._parts,e=[],h=[],Z=this._alwaysAccessibleSelector,t=Z?Array.from(T.querySelectorAll(c,Z)):[],i=[];for(let A of Object.keys(r)){let m=r[A];for(let u of Object.keys(m)){let f=m[u],H=f.getElement(),R=f.getProps().isAlwaysAccessible;if(H)if(A===o){if(i.push(H),!this.currentIsOthersAccessible)e.push(H)}else if(R)t.push(H);else h.push(H)}}let v=this._augMap,n=e.length>0?[...e,...t]:void 0,d=[],p=/*@__PURE__*/new WeakMap,M=(A,m)=>{var u;let f=A.tagName;if(f==="SCRIPT"||f==="STYLE")return;let H=!1;if(v.has(A))if(m)H=!0;else v.delete(A),IZ(l,A,$Z);else if(m&&!((u=this._accessibleCheck)===null||u===void 0?void 0:u.call(this,A,i))&&IZ(l,A,$Z,"true"))v.set(A,!0),H=!0;if(H)d.push(new g5(l.getWindow,A)),p.set(A,!0)},_=(A)=>{var m;for(let u=T.getFirstElementChild(A);u;u=T.getNextElementSibling(u)){let f=!1,H=!1,F=!1;if(n){let R=l.getParent(u);for(let C of n){if(u===C){f=!0;break}if(T.nodeContains(u,C)){H=!0;break}else if(T.nodeContains(C,R))F=!0}if(H||((m=u.__tabsterElementFlags)===null||m===void 0?void 0:m.noDirectAriaHidden))_(u);else if(!f&&!F)M(u,!0)}else M(u,!1)}};if(!n)t.forEach((A)=>M(A,!1));if(h.forEach((A)=>M(A,!0)),c)_(c);(a=this._aug)===null||a===void 0||a.map((A)=>A.get()).forEach((A)=>{if(A&&!p.get(A))M(A,!1)}),this._aug=d,this._augMap=p}_restoreModalizerFocus(a){var l;let c=a===null||a===void 0?void 0:a.ownerDocument;if(!a||!c)return;let o=this._tabster.focusedElement.getFocusedElement(),r=o&&((l=z1.getTabsterContext(this._tabster,o))===null||l===void 0?void 0:l.modalizer);if(!o||o&&(r===null||r===void 0?void 0:r.userId)===this.activeId)return;let e=this._tabster,h=z1.getTabsterContext(e,a),Z=h===null||h===void 0?void 0:h.modalizer,t=this.activeId;if(!Z&&!t||Z&&t===Z.userId)return;let i=h===null||h===void 0?void 0:h.root.getElement();if(i){let v=e.focusable.findFirst({container:i,useActiveModalizer:!0});if(v){if(a.compareDocumentPosition(v)&document.DOCUMENT_POSITION_PRECEDING){if(v=e.focusable.findLast({container:i,useActiveModalizer:!0}),!v)throw Error("Something went wrong.")}e.focusedElement.focus(v);return}}a.blur()}}/*!
|
|
87
87
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
88
88
|
* Licensed under the MIT License.
|
|
89
|
-
*/var mC=/*@__PURE__*/["input","textarea","*[contenteditable]"].join(", ");class fs extends n4{constructor(a,l,c,o){super(l,a,Ko.Mover,o);this._onFocusDummyInput=(e)=>{var r,t;let h=this._element.get(),Z=e.input;if(h&&Z){let i=P1.getTabsterContext(this._tabster,h),n;if(i)n=(r=_0.findNextTabbable(this._tabster,i,void 0,Z,void 0,!e.isFirst,!0))===null||r===void 0?void 0:r.element;let v=(t=this._getMemorized())===null||t===void 0?void 0:t.get();if(v&&this._tabster.focusable.isFocusable(v))n=v;if(n)A2(n)}},this._tabster=l,this._getMemorized=c,this._setHandlers(this._onFocusDummyInput)}}var Xh=1,Kp=2,$p=3;class Fs extends O6{constructor(a,l,c,o,e){var r;super(a,l,o);if(this._visible={},this._onIntersection=(h)=>{for(let Z of h){let i=Z.target,n=Jo(this._win,i),v,d=this._fullyVisible;if(Z.intersectionRatio>=0.25){if(v=Z.intersectionRatio>=0.75?u3.Visible:u3.PartiallyVisible,v===u3.Visible)d=n}else v=u3.Invisible;if(this._visible[n]!==v){if(v===void 0){if(delete this._visible[n],d===n)delete this._fullyVisible}else this._visible[n]=v,this._fullyVisible=d;let m=this.getState(i);if(m)i.dispatchEvent(new jh(m))}}},this._win=a.getWindow,this.visibilityTolerance=(r=o.visibilityTolerance)!==null&&r!==void 0?r: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 t=()=>o.memorizeCurrent?this._current:void 0;if(!a.controlTab)this.dummyManager=new fs(this._element,a,t,e)}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 x5(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 o of c){let e=o===null||o===void 0?void 0:o.get();if(e&&((l=this._allElements)===null||l===void 0?void 0:l.get(e))===this){let r=this._props;if(e&&(r.visibilityAware!==void 0||r.trackState)){let t=this.getState(e);if(t)e.dispatchEvent(new jh(t))}}}})}getCurrent(){var a;return((a=this._current)===null||a===void 0?void 0:a.get())||null}findNextTabbable(a,l,c,o){let e=this.getElement(),r=e&&b6(a)===e;if(!e)return null;let t=null,h=!1,Z;if(this._props.tabbable||r||a&&!O.nodeContains(e,a)){let i={currentElement:a,referenceElement:l,container:e,ignoreAccessibility:o,useActiveModalizer:!0},n={};t=this._tabster.focusable[c?"findPrev":"findNext"](i,n),h=!!n.outOfDOMOrder,Z=n.uncontrolled}return{element:t,uncontrolled:Z,outOfDOMOrder:h}}acceptElement(a,l){var c,o;if(!_0.isTabbing)return((c=l.currentCtx)===null||c===void 0?void 0:c.excludedFromMover)?NodeFilter.FILTER_REJECT:void 0;let{memorizeCurrent:e,visibilityAware:r,hasDefault:t=!0}=this._props,h=this.getElement();if(h&&(e||r||t)&&(!O.nodeContains(h,l.from)||b6(l.from)===h)){let Z;if(e){let i=(o=this._current)===null||o===void 0?void 0:o.get();if(i&&l.acceptCondition(i))Z=i}if(!Z&&t)Z=this._tabster.focusable.findDefault({container:h,useActiveModalizer:!0});if(!Z&&r)Z=this._tabster.focusable.findElement({container:h,useActiveModalizer:!0,isBackward:l.isBackward,acceptCondition:(i)=>{var n;let v=Jo(this._win,i),d=this._visible[v];return h!==i&&!!((n=this._allElements)===null||n===void 0?void 0:n.get(i))&&l.acceptCondition(i)&&(d===u3.Visible||d===u3.PartiallyVisible&&(r===u3.PartiallyVisible||!this._fullyVisible))}});if(Z)return l.found=!0,l.foundElement=Z,l.rejectElementsFrom=h,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,o=this._tabster.focusable,e=this._updateQueue=[],r=O.createMutationObserver((d)=>{for(let m of d){let{target:s,removedNodes:p,addedNodes:M}=m;if(m.type==="attributes"){if(m.attributeName==="tabindex")e.push({element:s,type:Kp})}else{for(let u=0;u<p.length;u++)e.push({element:p[u],type:$p});for(let u=0;u<M.length;u++)e.push({element:M[u],type:Xh})}}n()}),t=(d,m)=>{var s,p;let M=c.get(d);if(M&&m)(s=this._intersectionObserver)===null||s===void 0||s.unobserve(d),c.delete(d);if(!M&&!m)c.set(d,this),(p=this._intersectionObserver)===null||p===void 0||p.observe(d)},h=(d)=>{let m=o.isFocusable(d);if(c.get(d)){if(!m)t(d,!0)}else if(m)t(d)},Z=(d)=>{let{mover:m}=v(d);if(m&&m!==this)if(m.getElement()===d&&o.isFocusable(d))t(d);else return;let s=rZ(l.document,d,(p)=>{let{mover:M,groupper:u}=v(p);if(M&&M!==this)return NodeFilter.FILTER_REJECT;let A=u===null||u===void 0?void 0:u.getFirst(!0);if(u&&u.getElement()!==p&&A&&A!==p)return NodeFilter.FILTER_REJECT;if(o.isFocusable(p))t(p);return NodeFilter.FILTER_SKIP});if(s){s.currentNode=d;while(s.nextNode());}},i=(d)=>{if(c.get(d))t(d,!0);for(let s=O.getFirstElementChild(d);s;s=O.getNextElementSibling(s))i(s)},n=()=>{if(!this._updateTimer&&e.length)this._updateTimer=l.setTimeout(()=>{delete this._updateTimer;for(let{element:d,type:m}of e)switch(m){case Kp:h(d);break;case Xh:Z(d);break;case $p:i(d);break}e=this._updateQueue=[]},0)},v=(d)=>{let m={};for(let s=d;s;s=O.getParentElement(s)){let p=X0(this._tabster,s);if(p){if(p.groupper&&!m.groupper)m.groupper=p.groupper;if(p.mover){m.mover=p.mover;break}}}return m};e.push({element:a,type:Xh}),n(),r.observe(a,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["tabindex"]}),this._unobserve=()=>{r.disconnect()}}getState(a){let l=Jo(this._win,a);if(l in this._visible){let c=this._visible[l]||u3.Invisible;return{isCurrent:this._current?this._current.get()===a:void 0,visibility:c}}return}}function pC(a,l,c,o,e,r,t,h){let Z=c<e?e-c:t<a?a-t:0,i=o<r?r-o:h<l?l-h:0;return Z===0?i:i===0?Z:Math.sqrt(Z*Z+i*i)}class xs{constructor(a,l){this._init=()=>{let c=this._win();c.addEventListener("keydown",this._onKeyDown,!0),c.addEventListener(Op,this._onMoveFocus),c.addEventListener(Ep,this._onMemorizedElement),this._tabster.focusedElement.subscribe(this._onFocus)},this._onMoverDispose=(c)=>{delete this._movers[c.id]},this._onFocus=(c)=>{var o;let e=c,r=c;for(let t=O.getParentElement(c);t;t=O.getParentElement(t)){let h=(o=X0(this._tabster,t))===null||o===void 0?void 0:o.mover;if(h)h.setCurrent(r),e=void 0;if(!e&&this._tabster.focusable.isFocusable(t))e=r=t}},this._onKeyDown=async(c)=>{var o;if(this._ignoredInputTimer)this._win().clearTimeout(this._ignoredInputTimer),delete this._ignoredInputTimer;if((o=this._ignoredInputResolve)===null||o===void 0||o.call(this,!1),c.ctrlKey||c.altKey||c.shiftKey||c.metaKey)return;let e=c.key,r;if(e===M0.ArrowDown)r=V0.ArrowDown;else if(e===M0.ArrowRight)r=V0.ArrowRight;else if(e===M0.ArrowUp)r=V0.ArrowUp;else if(e===M0.ArrowLeft)r=V0.ArrowLeft;else if(e===M0.PageDown)r=V0.PageDown;else if(e===M0.PageUp)r=V0.PageUp;else if(e===M0.Home)r=V0.Home;else if(e===M0.End)r=V0.End;if(!r)return;let t=this._tabster.focusedElement.getFocusedElement();if(!t||await this._isIgnoredInput(t,e))return;this._moveFocus(t,r,c)},this._onMoveFocus=(c)=>{var o;let e=c.composedPath()[0],r=(o=c.detail)===null||o===void 0?void 0:o.key;if(e&&r!==void 0&&!c.defaultPrevented)this._moveFocus(e,r),c.stopImmediatePropagation()},this._onMemorizedElement=(c)=>{var o;let e=c.composedPath()[0],r=(o=c.detail)===null||o===void 0?void 0:o.memorizedElement;if(e){let t=P1.getTabsterContext(this._tabster,e),h=t===null||t===void 0?void 0:t.mover;if(h){if(r&&!O.nodeContains(h.getElement(),r))r=void 0;h.setCurrent(r),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(Op,this._onMoveFocus),l.removeEventListener(Ep,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 o=new Fs(this._tabster,a,this._onMoverDispose,l,c);return this._movers[o.id]=o,o}moveFocus(a,l){return this._moveFocus(a,l)}_moveFocus(a,l,c){var o,e;let r=this._tabster,t=P1.getTabsterContext(r,a,{checkRtl:!0});if(!t||!t.mover||t.excludedFromMover||c&&t.ignoreKeydown(c))return null;let h=t.mover,Z=h.getElement();if(t.groupperBeforeMover){let C=t.groupper;if(C&&!C.isActive(!0)){for(let E=O.getParentElement(C.getElement());E&&E!==Z;E=O.getParentElement(E))if((e=(o=X0(r,E))===null||o===void 0?void 0:o.groupper)===null||e===void 0?void 0:e.isActive(!0))return null}else return null}if(!Z)return null;let i=r.focusable,n=h.getProps(),v=n.direction||l2.Both,d=v===l2.Both,m=d||v===l2.Vertical,s=d||v===l2.Horizontal,p=v===l2.GridLinear,M=p||v===l2.Grid,u=n.cyclic,A,V,H,g=0,S=0;if(M)H=a.getBoundingClientRect(),g=Math.ceil(H.left),S=Math.floor(H.right);if(t.rtl){if(l===V0.ArrowRight)l=V0.ArrowLeft;else if(l===V0.ArrowLeft)l=V0.ArrowRight}if(l===V0.ArrowDown&&m||l===V0.ArrowRight&&(s||M)){if(A=i.findNext({currentElement:a,container:Z,useActiveModalizer:!0}),A&&M){let C=Math.ceil(A.getBoundingClientRect().left);if(!p&&S>C)A=void 0}else if(!A&&u)A=i.findFirst({container:Z,useActiveModalizer:!0})}else if(l===V0.ArrowUp&&m||l===V0.ArrowLeft&&(s||M)){if(A=i.findPrev({currentElement:a,container:Z,useActiveModalizer:!0}),A&&M){let C=Math.floor(A.getBoundingClientRect().right);if(!p&&C>g)A=void 0}else if(!A&&u)A=i.findLast({container:Z,useActiveModalizer:!0})}else if(l===V0.Home)if(M)i.findElement({container:Z,currentElement:a,useActiveModalizer:!0,isBackward:!0,acceptCondition:(C)=>{var E;if(!i.isFocusable(C))return!1;let T=Math.ceil((E=C.getBoundingClientRect().left)!==null&&E!==void 0?E:0);if(C!==a&&g<=T)return!0;return A=C,!1}});else A=i.findFirst({container:Z,useActiveModalizer:!0});else if(l===V0.End)if(M)i.findElement({container:Z,currentElement:a,useActiveModalizer:!0,acceptCondition:(C)=>{var E;if(!i.isFocusable(C))return!1;let T=Math.ceil((E=C.getBoundingClientRect().left)!==null&&E!==void 0?E:0);if(C!==a&&g>=T)return!0;return A=C,!1}});else A=i.findLast({container:Z,useActiveModalizer:!0});else if(l===V0.PageUp){if(i.findElement({currentElement:a,container:Z,useActiveModalizer:!0,isBackward:!0,acceptCondition:(C)=>{if(!i.isFocusable(C))return!1;if(qp(this._win,C,h.visibilityTolerance))return A=C,!1;return!0}}),M&&A){let C=Math.ceil(A.getBoundingClientRect().left);i.findElement({currentElement:A,container:Z,useActiveModalizer:!0,acceptCondition:(E)=>{if(!i.isFocusable(E))return!1;let T=Math.ceil(E.getBoundingClientRect().left);if(g<T||C>=T)return!0;return A=E,!1}})}V=!1}else if(l===V0.PageDown){if(i.findElement({currentElement:a,container:Z,useActiveModalizer:!0,acceptCondition:(C)=>{if(!i.isFocusable(C))return!1;if(qp(this._win,C,h.visibilityTolerance))return A=C,!1;return!0}}),M&&A){let C=Math.ceil(A.getBoundingClientRect().left);i.findElement({currentElement:A,container:Z,useActiveModalizer:!0,isBackward:!0,acceptCondition:(E)=>{if(!i.isFocusable(E))return!1;let T=Math.ceil(E.getBoundingClientRect().left);if(g>T||C<=T)return!0;return A=E,!1}})}V=!0}else if(M){let C=l===V0.ArrowUp,E=g,T=Math.ceil(H.top),c1=S,l1=Math.floor(H.bottom),Q,x,R=0;i.findAll({container:Z,currentElement:a,isBackward:C,onElement:(U)=>{let K=U.getBoundingClientRect(),X=Math.ceil(K.left),i1=Math.ceil(K.top),J=Math.floor(K.right),s1=Math.floor(K.bottom);if(C&&T<s1||!C&&l1>i1)return!0;let H1=Math.ceil(Math.min(c1,J))-Math.floor(Math.max(E,X)),B=Math.ceil(Math.min(c1-E,J-X));if(H1>0&&B>=H1){let b=H1/B;if(b>R)Q=U,R=b}else if(R===0){let b=pC(E,T,c1,l1,X,i1,J,s1);if(x===void 0||b<x)x=b,Q=U}else if(R>0)return!1;return!0}}),A=Q}if(A&&(!c||c&&Z.dispatchEvent(new E7({by:"mover",owner:Z,next:A,relatedEvent:c})))){if(V!==void 0)aC(this._win,A,V);if(c)c.preventDefault(),c.stopImmediatePropagation();return A2(A),A}return null}async _isIgnoredInput(a,l){if(a.getAttribute("aria-expanded")==="true"&&a.hasAttribute("aria-activedescendant"))return!0;if(vs(a,mC)){let c=0,o=0,e=0,r;if(a.tagName==="INPUT"||a.tagName==="TEXTAREA"){let t=a.type;if(e=(a.value||"").length,t==="email"||t==="number"){if(e){let Z=O.getSelection(a);if(Z){let i=Z.toString().length,n=l===M0.ArrowLeft||l===M0.ArrowUp;if(Z.modify("extend",n?"backward":"forward","character"),i!==Z.toString().length)return Z.modify("extend",n?"forward":"backward","character"),!0;else e=0}}}else{let Z=a.selectionStart;if(Z===null)return t==="hidden";c=Z||0,o=a.selectionEnd||0}}else if(a.contentEditable==="true")r=new(oC(this._win))((t)=>{this._ignoredInputResolve=(d)=>{delete this._ignoredInputResolve,t(d)};let h=this._win();if(this._ignoredInputTimer)h.clearTimeout(this._ignoredInputTimer);let{anchorNode:Z,focusNode:i,anchorOffset:n,focusOffset:v}=O.getSelection(a)||{};this._ignoredInputTimer=h.setTimeout(()=>{var d,m,s;delete this._ignoredInputTimer;let{anchorNode:p,focusNode:M,anchorOffset:u,focusOffset:A}=O.getSelection(a)||{};if(p!==Z||M!==i||u!==n||A!==v){(d=this._ignoredInputResolve)===null||d===void 0||d.call(this,!1);return}if(c=u||0,o=A||0,e=((m=a.textContent)===null||m===void 0?void 0:m.length)||0,p&&M){if(O.nodeContains(a,p)&&O.nodeContains(a,M)){if(p!==a){let V=!1,H=(g)=>{if(g===p)V=!0;else if(g===M)return!0;let S=g.textContent;if(S&&!O.getFirstChild(g)){let E=S.length;if(V){if(M!==p)o+=E}else c+=E,o+=E}let C=!1;for(let E=O.getFirstChild(g);E&&!C;E=E.nextSibling)C=H(E);return C};H(a)}}}(s=this._ignoredInputResolve)===null||s===void 0||s.call(this,!0)},0)});if(r&&!await r)return!0;if(c!==o)return!0;if(c>0&&(l===M0.ArrowLeft||l===M0.ArrowUp||l===M0.Home))return!0;if(c<e&&(l===M0.ArrowRight||l===M0.ArrowDown||l===M0.End))return!0}return!1}}/*!
|
|
89
|
+
*/var pC=/*@__PURE__*/["input","textarea","*[contenteditable]"].join(", ");class xM extends v4{constructor(a,l,c,o){super(l,a,Io.Mover,o);this._onFocusDummyInput=(r)=>{var e,h;let Z=this._element.get(),t=r.input;if(Z&&t){let i=z1.getTabsterContext(this._tabster,Z),v;if(i)v=(e=m0.findNextTabbable(this._tabster,i,void 0,t,void 0,!r.isFirst,!0))===null||e===void 0?void 0:e.element;let n=(h=this._getMemorized())===null||h===void 0?void 0:h.get();if(n&&this._tabster.focusable.isFocusable(n))v=n;if(v)H2(v)}},this._tabster=l,this._getMemorized=c,this._setHandlers(this._onFocusDummyInput)}}var XZ=1,X_=2,K_=3;class CM extends O6{constructor(a,l,c,o,r){var e;super(a,l,o);if(this._visible={},this._onIntersection=(Z)=>{for(let t of Z){let i=t.target,v=Jo(this._win,i),n,d=this._fullyVisible;if(t.intersectionRatio>=0.25){if(n=t.intersectionRatio>=0.75?s3.Visible:s3.PartiallyVisible,n===s3.Visible)d=v}else n=s3.Invisible;if(this._visible[v]!==n){if(n===void 0){if(delete this._visible[v],d===v)delete this._fullyVisible}else this._visible[v]=n,this._fullyVisible=d;let p=this.getState(i);if(p)i.dispatchEvent(new jZ(p))}}},this._win=a.getWindow,this.visibilityTolerance=(e=o.visibilityTolerance)!==null&&e!==void 0?e: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 h=()=>o.memorizeCurrent?this._current:void 0;if(!a.controlTab)this.dummyManager=new xM(this._element,a,h,r)}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 g5(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 o of c){let r=o===null||o===void 0?void 0:o.get();if(r&&((l=this._allElements)===null||l===void 0?void 0:l.get(r))===this){let e=this._props;if(r&&(e.visibilityAware!==void 0||e.trackState)){let h=this.getState(r);if(h)r.dispatchEvent(new jZ(h))}}}})}getCurrent(){var a;return((a=this._current)===null||a===void 0?void 0:a.get())||null}findNextTabbable(a,l,c,o){let r=this.getElement(),e=r&&y6(a)===r;if(!r)return null;let h=null,Z=!1,t;if(this._props.tabbable||e||a&&!T.nodeContains(r,a)){let i={currentElement:a,referenceElement:l,container:r,ignoreAccessibility:o,useActiveModalizer:!0},v={};h=this._tabster.focusable[c?"findPrev":"findNext"](i,v),Z=!!v.outOfDOMOrder,t=v.uncontrolled}return{element:h,uncontrolled:t,outOfDOMOrder:Z}}acceptElement(a,l){var c,o;if(!m0.isTabbing)return((c=l.currentCtx)===null||c===void 0?void 0:c.excludedFromMover)?NodeFilter.FILTER_REJECT:void 0;let{memorizeCurrent:r,visibilityAware:e,hasDefault:h=!0}=this._props,Z=this.getElement();if(Z&&(r||e||h)&&(!T.nodeContains(Z,l.from)||y6(l.from)===Z)){let t;if(r){let i=(o=this._current)===null||o===void 0?void 0:o.get();if(i&&l.acceptCondition(i))t=i}if(!t&&h)t=this._tabster.focusable.findDefault({container:Z,useActiveModalizer:!0});if(!t&&e)t=this._tabster.focusable.findElement({container:Z,useActiveModalizer:!0,isBackward:l.isBackward,acceptCondition:(i)=>{var v;let n=Jo(this._win,i),d=this._visible[n];return Z!==i&&!!((v=this._allElements)===null||v===void 0?void 0:v.get(i))&&l.acceptCondition(i)&&(d===s3.Visible||d===s3.PartiallyVisible&&(e===s3.PartiallyVisible||!this._fullyVisible))}});if(t)return l.found=!0,l.foundElement=t,l.rejectElementsFrom=Z,l.skippedFocusable=!0,NodeFilter.FILTER_ACCEPT}return}_observeState(){let a=this.getElement();if(this._unobserve||!a||typeof MutationObserver>"u")return;let l=this._win(),c=this._allElements=/*@__PURE__*/new WeakMap,o=this._tabster.focusable,r=this._updateQueue=[],e=T.createMutationObserver((d)=>{for(let p of d){let{target:M,removedNodes:_,addedNodes:A}=p;if(p.type==="attributes"){if(p.attributeName==="tabindex")r.push({element:M,type:X_})}else{for(let m=0;m<_.length;m++)r.push({element:_[m],type:K_});for(let m=0;m<A.length;m++)r.push({element:A[m],type:XZ})}}v()}),h=(d,p)=>{var M,_;let A=c.get(d);if(A&&p)(M=this._intersectionObserver)===null||M===void 0||M.unobserve(d),c.delete(d);if(!A&&!p)c.set(d,this),(_=this._intersectionObserver)===null||_===void 0||_.observe(d)},Z=(d)=>{let p=o.isFocusable(d);if(c.get(d)){if(!p)h(d,!0)}else if(p)h(d)},t=(d)=>{let{mover:p}=n(d);if(p&&p!==this)if(p.getElement()===d&&o.isFocusable(d))h(d);else return;let M=rt(l.document,d,(_)=>{let{mover:A,groupper:m}=n(_);if(A&&A!==this)return NodeFilter.FILTER_REJECT;let u=m===null||m===void 0?void 0:m.getFirst(!0);if(m&&m.getElement()!==_&&u&&u!==_)return NodeFilter.FILTER_REJECT;if(o.isFocusable(_))h(_);return NodeFilter.FILTER_SKIP});if(M){M.currentNode=d;while(M.nextNode());}},i=(d)=>{if(c.get(d))h(d,!0);for(let M=T.getFirstElementChild(d);M;M=T.getNextElementSibling(M))i(M)},v=()=>{if(!this._updateTimer&&r.length)this._updateTimer=l.setTimeout(()=>{delete this._updateTimer;for(let{element:d,type:p}of r)switch(p){case X_:Z(d);break;case XZ:t(d);break;case K_:i(d);break}r=this._updateQueue=[]},0)},n=(d)=>{let p={};for(let M=d;M;M=T.getParentElement(M)){let _=X0(this._tabster,M);if(_){if(_.groupper&&!p.groupper)p.groupper=_.groupper;if(_.mover){p.mover=_.mover;break}}}return p};r.push({element:a,type:XZ}),v(),e.observe(a,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["tabindex"]}),this._unobserve=()=>{e.disconnect()}}getState(a){let l=Jo(this._win,a);if(l in this._visible){let c=this._visible[l]||s3.Invisible;return{isCurrent:this._current?this._current.get()===a:void 0,visibility:c}}return}}function _C(a,l,c,o,r,e,h,Z){let t=c<r?r-c:h<a?a-h:0,i=o<e?e-o:Z<l?l-Z:0;return t===0?i:i===0?t:Math.sqrt(t*t+i*i)}class LM{constructor(a,l){this._init=()=>{let c=this._win();c.addEventListener("keydown",this._onKeyDown,!0),c.addEventListener(E_,this._onMoveFocus),c.addEventListener(q_,this._onMemorizedElement),this._tabster.focusedElement.subscribe(this._onFocus)},this._onMoverDispose=(c)=>{delete this._movers[c.id]},this._onFocus=(c)=>{var o;let r=c,e=c;for(let h=T.getParentElement(c);h;h=T.getParentElement(h)){let Z=(o=X0(this._tabster,h))===null||o===void 0?void 0:o.mover;if(Z)Z.setCurrent(e),r=void 0;if(!r&&this._tabster.focusable.isFocusable(h))r=e=h}},this._onKeyDown=async(c)=>{var o;if(this._ignoredInputTimer)this._win().clearTimeout(this._ignoredInputTimer),delete this._ignoredInputTimer;if((o=this._ignoredInputResolve)===null||o===void 0||o.call(this,!1),c.ctrlKey||c.altKey||c.shiftKey||c.metaKey)return;let r=c.key,e;if(r===A0.ArrowDown)e=f0.ArrowDown;else if(r===A0.ArrowRight)e=f0.ArrowRight;else if(r===A0.ArrowUp)e=f0.ArrowUp;else if(r===A0.ArrowLeft)e=f0.ArrowLeft;else if(r===A0.PageDown)e=f0.PageDown;else if(r===A0.PageUp)e=f0.PageUp;else if(r===A0.Home)e=f0.Home;else if(r===A0.End)e=f0.End;if(!e)return;let h=this._tabster.focusedElement.getFocusedElement();if(!h||await this._isIgnoredInput(h,r))return;this._moveFocus(h,e,c)},this._onMoveFocus=(c)=>{var o;let r=c.composedPath()[0],e=(o=c.detail)===null||o===void 0?void 0:o.key;if(r&&e!==void 0&&!c.defaultPrevented)this._moveFocus(r,e),c.stopImmediatePropagation()},this._onMemorizedElement=(c)=>{var o;let r=c.composedPath()[0],e=(o=c.detail)===null||o===void 0?void 0:o.memorizedElement;if(r){let h=z1.getTabsterContext(this._tabster,r),Z=h===null||h===void 0?void 0:h.mover;if(Z){if(e&&!T.nodeContains(Z.getElement(),e))e=void 0;Z.setCurrent(e),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(E_,this._onMoveFocus),l.removeEventListener(q_,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 o=new CM(this._tabster,a,this._onMoverDispose,l,c);return this._movers[o.id]=o,o}moveFocus(a,l){return this._moveFocus(a,l)}_moveFocus(a,l,c){var o,r;let e=this._tabster,h=z1.getTabsterContext(e,a,{checkRtl:!0});if(!h||!h.mover||h.excludedFromMover||c&&h.ignoreKeydown(c))return null;let Z=h.mover,t=Z.getElement();if(h.groupperBeforeMover){let C=h.groupper;if(C&&!C.isActive(!0)){for(let b=T.getParentElement(C.getElement());b&&b!==t;b=T.getParentElement(b))if((r=(o=X0(e,b))===null||o===void 0?void 0:o.groupper)===null||r===void 0?void 0:r.isActive(!0))return null}else return null}if(!t)return null;let i=e.focusable,v=Z.getProps(),n=v.direction||o2.Both,d=n===o2.Both,p=d||n===o2.Vertical,M=d||n===o2.Horizontal,_=n===o2.GridLinear,A=_||n===o2.Grid,m=v.cyclic,u,f,H,F=0,R=0;if(A)H=a.getBoundingClientRect(),F=Math.ceil(H.left),R=Math.floor(H.right);if(h.rtl){if(l===f0.ArrowRight)l=f0.ArrowLeft;else if(l===f0.ArrowLeft)l=f0.ArrowRight}if(l===f0.ArrowDown&&p||l===f0.ArrowRight&&(M||A)){if(u=i.findNext({currentElement:a,container:t,useActiveModalizer:!0}),u&&A){let C=Math.ceil(u.getBoundingClientRect().left);if(!_&&R>C)u=void 0}else if(!u&&m)u=i.findFirst({container:t,useActiveModalizer:!0})}else if(l===f0.ArrowUp&&p||l===f0.ArrowLeft&&(M||A)){if(u=i.findPrev({currentElement:a,container:t,useActiveModalizer:!0}),u&&A){let C=Math.floor(u.getBoundingClientRect().right);if(!_&&C>F)u=void 0}else if(!u&&m)u=i.findLast({container:t,useActiveModalizer:!0})}else if(l===f0.Home)if(A)i.findElement({container:t,currentElement:a,useActiveModalizer:!0,isBackward:!0,acceptCondition:(C)=>{var b;if(!i.isFocusable(C))return!1;let O=Math.ceil((b=C.getBoundingClientRect().left)!==null&&b!==void 0?b:0);if(C!==a&&F<=O)return!0;return u=C,!1}});else u=i.findFirst({container:t,useActiveModalizer:!0});else if(l===f0.End)if(A)i.findElement({container:t,currentElement:a,useActiveModalizer:!0,acceptCondition:(C)=>{var b;if(!i.isFocusable(C))return!1;let O=Math.ceil((b=C.getBoundingClientRect().left)!==null&&b!==void 0?b:0);if(C!==a&&F>=O)return!0;return u=C,!1}});else u=i.findLast({container:t,useActiveModalizer:!0});else if(l===f0.PageUp){if(i.findElement({currentElement:a,container:t,useActiveModalizer:!0,isBackward:!0,acceptCondition:(C)=>{if(!i.isFocusable(C))return!1;if(Q_(this._win,C,Z.visibilityTolerance))return u=C,!1;return!0}}),A&&u){let C=Math.ceil(u.getBoundingClientRect().left);i.findElement({currentElement:u,container:t,useActiveModalizer:!0,acceptCondition:(b)=>{if(!i.isFocusable(b))return!1;let O=Math.ceil(b.getBoundingClientRect().left);if(F<O||C>=O)return!0;return u=b,!1}})}f=!1}else if(l===f0.PageDown){if(i.findElement({currentElement:a,container:t,useActiveModalizer:!0,acceptCondition:(C)=>{if(!i.isFocusable(C))return!1;if(Q_(this._win,C,Z.visibilityTolerance))return u=C,!1;return!0}}),A&&u){let C=Math.ceil(u.getBoundingClientRect().left);i.findElement({currentElement:u,container:t,useActiveModalizer:!0,isBackward:!0,acceptCondition:(b)=>{if(!i.isFocusable(b))return!1;let O=Math.ceil(b.getBoundingClientRect().left);if(F>O||C<=O)return!0;return u=b,!1}})}f=!0}else if(A){let C=l===f0.ArrowUp,b=F,O=Math.ceil(H.top),c1=R,l1=Math.floor(H.bottom),J,x,w=0;i.findAll({container:t,currentElement:a,isBackward:C,onElement:(D)=>{let $=D.getBoundingClientRect(),K=Math.ceil($.left),n1=Math.ceil($.top),I=Math.floor($.right),M1=Math.floor($.bottom);if(C&&O<M1||!C&&l1>n1)return!0;let f1=Math.ceil(Math.min(c1,I))-Math.floor(Math.max(b,K)),y=Math.ceil(Math.min(c1-b,I-K));if(f1>0&&y>=f1){let P=f1/y;if(P>w)J=D,w=P}else if(w===0){let P=_C(b,O,c1,l1,K,n1,I,M1);if(x===void 0||P<x)x=P,J=D}else if(w>0)return!1;return!0}}),u=J}if(u&&(!c||c&&t.dispatchEvent(new b7({by:"mover",owner:t,next:u,relatedEvent:c})))){if(f!==void 0)aC(this._win,u,f);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(dM(a,pC)){let c=0,o=0,r=0,e;if(a.tagName==="INPUT"||a.tagName==="TEXTAREA"){let h=a.type;if(r=(a.value||"").length,h==="email"||h==="number"){if(r){let t=T.getSelection(a);if(t){let i=t.toString().length,v=l===A0.ArrowLeft||l===A0.ArrowUp;if(t.modify("extend",v?"backward":"forward","character"),i!==t.toString().length)return t.modify("extend",v?"forward":"backward","character"),!0;else r=0}}}else{let t=a.selectionStart;if(t===null)return h==="hidden";c=t||0,o=a.selectionEnd||0}}else if(a.contentEditable==="true")e=new(oC(this._win))((h)=>{this._ignoredInputResolve=(d)=>{delete this._ignoredInputResolve,h(d)};let Z=this._win();if(this._ignoredInputTimer)Z.clearTimeout(this._ignoredInputTimer);let{anchorNode:t,focusNode:i,anchorOffset:v,focusOffset:n}=T.getSelection(a)||{};this._ignoredInputTimer=Z.setTimeout(()=>{var d,p,M;delete this._ignoredInputTimer;let{anchorNode:_,focusNode:A,anchorOffset:m,focusOffset:u}=T.getSelection(a)||{};if(_!==t||A!==i||m!==v||u!==n){(d=this._ignoredInputResolve)===null||d===void 0||d.call(this,!1);return}if(c=m||0,o=u||0,r=((p=a.textContent)===null||p===void 0?void 0:p.length)||0,_&&A){if(T.nodeContains(a,_)&&T.nodeContains(a,A)){if(_!==a){let f=!1,H=(F)=>{if(F===_)f=!0;else if(F===A)return!0;let R=F.textContent;if(R&&!T.getFirstChild(F)){let b=R.length;if(f){if(A!==_)o+=b}else c+=b,o+=b}let C=!1;for(let b=T.getFirstChild(F);b&&!C;b=b.nextSibling)C=H(b);return C};H(a)}}}(M=this._ignoredInputResolve)===null||M===void 0||M.call(this,!0)},0)});if(e&&!await e)return!0;if(c!==o)return!0;if(c>0&&(l===A0.ArrowLeft||l===A0.ArrowUp||l===A0.Home))return!0;if(c<r&&(l===A0.ArrowRight||l===A0.ArrowDown||l===A0.End))return!0}return!1}}/*!
|
|
90
90
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
91
91
|
* Licensed under the MIT License.
|
|
92
|
-
*/function
|
|
92
|
+
*/function MC(a,l,c,o){if(typeof MutationObserver>"u")return()=>{};let r=l.getWindow,e,h=(v)=>{var n,d,p,M,_;let A=/*@__PURE__*/new Set;for(let m of v){let{target:u,removedNodes:f,addedNodes:H}=m;if(m.type==="attributes"){if(m.attributeName===t7){if(!A.has(u))c(l,u)}}else{for(let F=0;F<f.length;F++){let R=f[F];A.add(R),Z(R,!0),(d=(n=l._dummyObserver).domChanged)===null||d===void 0||d.call(n,u)}for(let F=0;F<H.length;F++)Z(H[F]),(M=(p=l._dummyObserver).domChanged)===null||M===void 0||M.call(p,u)}}A.clear(),(_=l.modalizer)===null||_===void 0||_.hiddenUpdate()};function Z(v,n){if(!e)e=q7(r).elementByUId;t(v,n);let d=rt(a,v,(p)=>{return t(p,n)});if(d)while(d.nextNode());}function t(v,n){var d;if(!v.getAttribute)return NodeFilter.FILTER_SKIP;let p=v.__tabsterElementUID;if(p&&e)if(n)delete e[p];else(d=e[p])!==null&&d!==void 0||(e[p]=new g5(r,v));if(X0(l,v)||v.hasAttribute(t7))c(l,v,n);return NodeFilter.FILTER_SKIP}let i=T.createMutationObserver(h);if(o)Z(r().document.body);return i.observe(a,{childList:!0,subtree:!0,attributes:!0,attributeFilter:[t7]}),()=>{i.disconnect()}}/*!
|
|
93
93
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
94
94
|
* Licensed under the MIT License.
|
|
95
95
|
*//*!
|
|
@@ -98,19 +98,19 @@ You can check this by searching up for matching entries in a lockfile produced b
|
|
|
98
98
|
*//*!
|
|
99
99
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
100
100
|
* Licensed under the MIT License.
|
|
101
|
-
*/class
|
|
101
|
+
*/class RM{constructor(a){this._isUncontrolledCompletely=a}isUncontrolledCompletely(a,l){var c;let o=(c=this._isUncontrolledCompletely)===null||c===void 0?void 0:c.call(this,a,l);return o===void 0?l:o}}/*!
|
|
102
102
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
103
103
|
* Licensed under the MIT License.
|
|
104
|
-
*/class
|
|
104
|
+
*/class wM extends O6{constructor(a,l,c){var o;super(a,l,c);if(this._hasFocus=!1,this._onFocusOut=(r)=>{var e;let h=(e=this._element)===null||e===void 0?void 0:e.get();if(h&&r.relatedTarget===null)h.dispatchEvent(new NZ);if(h&&!T.nodeContains(h,r.relatedTarget))this._hasFocus=!1},this._onFocusIn=()=>{this._hasFocus=!0},this._props.type===E7.Source){let r=(o=this._element)===null||o===void 0?void 0:o.get();r===null||r===void 0||r.addEventListener("focusout",this._onFocusOut),r===null||r===void 0||r.addEventListener("focusin",this._onFocusIn),this._hasFocus=T.nodeContains(r,r&&T.getActiveElement(r.ownerDocument))}}dispose(){var a;if(this._props.type===E7.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 NZ)}}}class $o{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>$o.DEPTH)this._stack.shift();this._stack.push(new g5(this._getWindow,a))}pop(a){if(a===void 0)a=()=>!0;var l;let c=this._getWindow().document;for(let o=this._stack.length-1;o>=0;o--){let r=(l=this._stack.pop())===null||l===void 0?void 0:l.get();if(r&&T.nodeContains(c.body,T.getParentElement(r))&&a(r))return r}return}}$o.DEPTH=10;class SM{constructor(a){this._onRestoreFocus=(l)=>{var c,o;this._focusedElementState.cancelAsyncFocus(T7.Restorer);let r=l.composedPath()[0];if(r){let e=(o=(c=X0(this._tabster,r))===null||c===void 0?void 0:c.restorer)===null||o===void 0?void 0:o.getProps().id;this._focusedElementState.requestAsyncFocus(T7.Restorer,()=>this._restoreFocus(r,e),0)}},this._onFocusIn=(l)=>{var c;if(!l)return;let o=X0(this._tabster,l);if(((c=o===null||o===void 0?void 0:o.restorer)===null||c===void 0?void 0:c.getProps().type)!==E7.Target)return;this._history.push(l)},this._restoreFocus=(l,c)=>{var o;let r=this._getWindow().document;if(T.getActiveElement(r)!==r.body)return;if(!this._keyboardNavState.isNavigatingWithKeyboard()&&T.nodeContains(r.body,l))return;let e=(h)=>{var Z,t;let i=(t=(Z=X0(this._tabster,h))===null||Z===void 0?void 0:Z.restorer)===null||t===void 0?void 0:t.getProps();return i?i.id:null};(o=this._history.pop((h)=>c===e(h)))===null||o===void 0||o.focus()},this._tabster=a,this._getWindow=a.getWindow,this._getWindow().addEventListener(KZ,this._onRestoreFocus),this._history=new $o(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(T7.Restorer),a.removeEventListener(KZ,this._onRestoreFocus)}createRestorer(a,l){let c=new wM(this._tabster,a,l);if(l.type===E7.Target&&T.getActiveElement(a.ownerDocument)===a)this._history.push(a);return c}}/*!
|
|
105
105
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
106
106
|
* Licensed under the MIT License.
|
|
107
|
-
*/function
|
|
107
|
+
*/function AC(a,l){var c,o;if(!a||!l)return!1;let r=l;while(r){if(r===a)return!0;if(typeof r.assignedElements!=="function"&&((c=r.assignedSlot)===null||c===void 0?void 0:c.parentNode))r=(o=r.assignedSlot)===null||o===void 0?void 0:o.parentNode;else if(r.nodeType===document.DOCUMENT_FRAGMENT_NODE)r=r.host;else r=r.parentNode}return!1}/*!
|
|
108
108
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
109
109
|
* Licensed under the MIT License.
|
|
110
110
|
*//*!
|
|
111
111
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
112
112
|
* Licensed under the MIT License.
|
|
113
|
-
*/class
|
|
113
|
+
*/class k6{static _overrideAttachShadow(a){let l=a.Element.prototype.attachShadow;if(l.__origAttachShadow)return;Element.prototype.attachShadow=function(c){let o=l.call(this,c);for(let r of k6._shadowObservers)r._addSubObserver(o);return o},Element.prototype.attachShadow.__origAttachShadow=l}constructor(a){this._isObserving=!1,this._callbackWrapper=(l,c)=>{for(let o of l)if(o.type==="childList"){let{removedNodes:r,addedNodes:e}=o;for(let h=0;h<r.length;h++)this._walkShadows(r[h],!0);for(let h=0;h<e.length;h++)this._walkShadows(e[h])}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&&AC(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,k6._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,o=c===null||c===void 0?void 0:c.defaultView;if(!c||!o)return;k6._overrideAttachShadow(o),k6._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 r=a.shadowRoot;if(r){this._addSubObserver(r);return}}c.createTreeWalker(a,NodeFilter.SHOW_ELEMENT,{acceptNode:(r)=>{if(r.nodeType===Node.ELEMENT_NODE)if(l){let e=this._subObservers.get(r);if(e)e.disconnect(),this._subObservers.delete(r)}else{let e=r.shadowRoot;if(e)this._addSubObserver(e)}return NodeFilter.FILTER_SKIP}}).nextNode()}takeRecords(){let a=this._observer.takeRecords();for(let l of this._subObservers.values())a.push(...l.takeRecords());return a}}k6._shadowObservers=/*@__PURE__*/new Set;/*!
|
|
114
114
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
115
115
|
* Licensed under the MIT License.
|
|
116
116
|
*//*!
|
|
@@ -119,7 +119,7 @@ You can check this by searching up for matching entries in a lockfile produced b
|
|
|
119
119
|
*//*!
|
|
120
120
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
121
121
|
* Licensed under the MIT License.
|
|
122
|
-
*/class
|
|
122
|
+
*/class GM{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 UM{constructor(a,l){var c,o;this._forgetMemorizedElements=[],this._wrappers=/*@__PURE__*/new Set,this._initQueue=[],this._version="8.5.6",this._noop=!1,this.getWindow=()=>{if(!this._win)throw Error("Using disposed Tabster.");return this._win},this._storage=Kx(a),this._win=a;let r=this.getWindow;if(l===null||l===void 0?void 0:l.DOMAPI)$x({...l.DOMAPI});this.keyboardNavigation=new fM(r),this.focusedElement=new m0(this,r),this.focusable=new mM(this),this.root=new z1(this,l===null||l===void 0?void 0:l.autoRoot),this.uncontrolled=new RM((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 pM(r),this.getParent=(o=l===null||l===void 0?void 0:l.getParent)!==null&&o!==void 0?o:T.getParentNode,this.internal={stopObserver:()=>{if(this._unobserve)this._unobserve(),delete this._unobserve},resumeObserver:(e)=>{if(!this._unobserve){let h=r().document;this._unobserve=MC(h,this,aM,e)}}},tM(r),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 GM(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,o,r,e,h,Z;this.internal.stopObserver();let t=this._win;if(t===null||t===void 0||t.clearTimeout(this._initTimer),delete this._initTimer,this._initQueue=[],this._forgetMemorizedElements=[],t&&this._forgetMemorizedTimer)t.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(),(o=this.groupper)===null||o===void 0||o.dispose(),(r=this.mover)===null||r===void 0||r.dispose(),(e=this.modalizer)===null||e===void 0||e.dispose(),(h=this.observedElement)===null||h===void 0||h.dispose(),(Z=this.restorer)===null||Z===void 0||Z.dispose(),this.keyboardNavigation.dispose(),this.focusable.dispose(),this.focusedElement.dispose(),this.root.dispose(),this._dummyObserver.dispose(),Nx(this.getWindow),J_(this.getWindow),this._storage=/*@__PURE__*/new WeakMap,this._wrappers.clear(),t)Xx(t),delete t.__tabsterInstance,delete this._win}storageEntry(a,l){let c=this._storage,o=c.get(a);if(o){if(l===!1&&Object.keys(o).length===0)c.delete(a)}else if(l===!0)o={},c.set(a,o);return o}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())J_(this.getWindow,a),m0.forgetMemorized(this.focusedElement,a)},0),ZM(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 BM(a,l){let c=mC(a);if(c)return c.createTabster(!1,l);return c=new UM(a,l),a.__tabsterInstance=c,c.createTabster()}function DM(a){let l=a.core;if(!l.groupper)l.groupper=new HM(l,l.getWindow);return l.groupper}function kM(a){let l=a.core;if(!l.mover)l.mover=new LM(l,l.getWindow);return l.mover}function Yo(a,l,c){let o=a.core;if(!o.modalizer)o.modalizer=new gM(o,l,c);return o.modalizer}function Xo(a){let l=a.core;if(!l.restorer)l.restorer=new SM(l);return l.restorer}function yM(a,l){a.core.disposeTabster(a,l)}function mC(a){return a.__tabsterInstance}/*!
|
|
123
123
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
124
124
|
* Licensed under the MIT License.
|
|
125
125
|
*//*!
|
|
@@ -128,17 +128,17 @@ You can check this by searching up for matching entries in a lockfile produced b
|
|
|
128
128
|
*//*!
|
|
129
129
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
130
130
|
* Licensed under the MIT License.
|
|
131
|
-
*/
|
|
132
|
-
`))}return c}F();var H3=(a)=>{C5();let l=x8(a,!0);return p1(()=>({[Z7]:l}),[l])};var C8=(a={})=>{let{circular:l,axis:c,memorizeCurrent:o=!0,tabbable:e,ignoreDefaultKeydown:r,unstable_hasDefault:t}=a;return C5(ys),H3({mover:{cyclic:!!l,direction:HC(c!==null&&c!==void 0?c:"vertical"),memorizeCurrent:o,tabbable:e,hasDefault:t},...r&&{focusable:{ignoreKeydown:r}}})};function HC(a){switch(a){case"horizontal":return l2.Horizontal;case"grid":return l2.Grid;case"grid-linear":return l2.GridLinear;case"both":return l2.Both;case"vertical":default:return l2.Vertical}}var d4=(a)=>{return C5(ks),H3({groupper:{tabbability:VC(a===null||a===void 0?void 0:a.tabBehavior)},focusable:{ignoreKeydown:a===null||a===void 0?void 0:a.ignoreDefaultKeydown}})},VC=(a)=>{switch(a){case"unlimited":return F8.Unlimited;case"limited":return F8.Limited;case"limited-trap-focus":return F8.LimitedTrapFocus;default:return}};F();var q7=()=>{let a=C5(),{targetDocument:l}=M1(),c=q((h,Z)=>{var i;return((i=a.current)===null||i===void 0?void 0:i.focusable.findAll({container:h,acceptCondition:Z}))||[]},[a]),o=q((h)=>{var Z;return(Z=a.current)===null||Z===void 0?void 0:Z.focusable.findFirst({container:h})},[a]),e=q((h)=>{var Z;return(Z=a.current)===null||Z===void 0?void 0:Z.focusable.findLast({container:h})},[a]),r=q((h,Z={})=>{if(!a.current||!l)return null;let{container:i=l.body}=Z;return a.current.focusable.findNext({currentElement:h,container:i})},[a,l]),t=q((h,Z={})=>{if(!a.current||!l)return null;let{container:i=l.body}=Z;return a.current.focusable.findPrev({currentElement:h,container:i})},[a,l]);return{findAllFocusable:c,findFirstFocusable:o,findLastFocusable:e,findNextFocusable:r,findPrevFocusable:t}};F();var ZZ="data-fui-focus-visible",iZ="data-fui-focus-within";function Gs(a,l){if(Bs(a))return()=>{return};let c={current:void 0},o=M3(l);function e(Z){if(o.isNavigatingWithKeyboard()&&T1(Z))c.current=Z,Z.setAttribute(ZZ,"")}function r(){if(c.current)c.current.removeAttribute(ZZ),c.current=void 0}o.subscribe((Z)=>{if(!Z)r();else e(l.document.activeElement)});let t=(Z)=>{r();let i=Z.composedPath()[0];e(i)},h=(Z)=>{if(!Z.relatedTarget||T1(Z.relatedTarget)&&!a.contains(Z.relatedTarget))r()};if(a.addEventListener(F5,t),a.addEventListener("focusout",h),a.focusVisible=!0,a.contains(l.document.activeElement))e(l.document.activeElement);return()=>{r(),a.removeEventListener(F5,t),a.removeEventListener("focusout",h),a.focusVisible=void 0,_3(o)}}function Bs(a){if(!a)return!1;if(a.focusVisible)return!0;return Bs(a===null||a===void 0?void 0:a.parentElement)}function P7(a={}){let l=M1(),c=G(null);var o;let e=(o=a.targetDocument)!==null&&o!==void 0?o:l.targetDocument;return j(()=>{if((e===null||e===void 0?void 0:e.defaultView)&&c.current)return Gs(c.current,e.defaultView)},[c,e]),c}F();function Os(a,l){let c=M3(l);c.subscribe((r)=>{if(!r)Ts(a)});let o=(r)=>{if(c.isNavigatingWithKeyboard()&&bs(r.target))gC(a)},e=(r)=>{if(!r.relatedTarget||bs(r.relatedTarget)&&!a.contains(r.relatedTarget))Ts(a)};return a.addEventListener(F5,o),a.addEventListener("focusout",e),()=>{a.removeEventListener(F5,o),a.removeEventListener("focusout",e),_3(c)}}function gC(a){a.setAttribute(iZ,"")}function Ts(a){a.removeAttribute(iZ)}function bs(a){if(!a)return!1;return Boolean(a&&typeof a==="object"&&"classList"in a&&"contains"in a)}function H2(){let{targetDocument:a}=M1(),l=G(null);return j(()=>{if((a===null||a===void 0?void 0:a.defaultView)&&l.current)return Os(l.current,a.defaultView)},[l,a]),l}F();F();function No(){let{targetDocument:a}=M1(),l=G(null);return j(()=>{let c=a===null||a===void 0?void 0:a.defaultView;if(c){let o=M3(c);return l.current=o,()=>{_3(o),l.current=null}}},[a]),l}function E6(a){let l=No(),c=$(a);j(()=>{let o=l.current;if(o){let e=(r)=>{c(r)};return o.subscribe(e),e(o.isNavigatingWithKeyboard()),()=>{o.unsubscribe(e)}}},[l,c])}var Es="data-tabster-never-hide",AI={[Es]:""};var fC=(a)=>{return a.hasAttribute(Es)};function FC(a){Yo(a,void 0,fC),Xo(a)}var V2=(a={})=>{let{trapFocus:l,alwaysFocusable:c,legacyTrapFocus:o}=a;C5(FC);let e=N1("modal-",a.id),r=H3({restorer:{type:W7.Source},...l&&{modalizer:{id:e,isOthersAccessible:!l,isAlwaysAccessible:c,isTrapped:o&&l}}}),t=H3({restorer:{type:W7.Target}});return{modalAttributes:r,triggerAttributes:t}};function z7(){return C5(Xo),x8({restorer:{type:W7.Source}})}F();function jo(){let a=No();return q((l)=>{var c;(c=a.current)===null||c===void 0||c.setVal(l)},[a])}F();function ae(){let a=C5(Yo),[l]=a2();return q((o)=>{l(()=>{var e;(e=a.current)===null||e===void 0||e.activate(o)},0)},[a,l])}var y={"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"},E0={"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)"},L5={"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)"},Is={"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)"},qs={"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)"},vZ={"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)"},L1="#ffffff",W6="#000000";var Ps={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 nZ={shade50:"#200205",shade40:"#3b0509",shade30:"#6e0811",shade20:"#960b18",shade10:"#b10e1c",primary:"#c50f1f",tint10:"#cc2635",tint20:"#d33f4c",tint30:"#dc626d",tint40:"#eeacb2",tint50:"#f6d1d5",tint60:"#fdf3f4"},zs={shade50:"#210809",shade40:"#3f1011",shade30:"#751d1f",shade20:"#9f282b",shade10:"#bc2f32",primary:"#d13438",tint10:"#d7494c",tint20:"#dc5e62",tint30:"#e37d80",tint40:"#f1bbbc",tint50:"#f8dadb",tint60:"#fdf6f6"},Qs={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 Js={shade50:"#200d03",shade40:"#3d1805",shade30:"#712d09",shade20:"#9a3d0c",shade10:"#b6480e",primary:"#ca5010",tint10:"#d06228",tint20:"#d77440",tint30:"#df8e64",tint40:"#efc4ad",tint50:"#f7dfd2",tint60:"#fdf7f4"},Ks={shade50:"#271002",shade40:"#4a1e04",shade30:"#8a3707",shade20:"#bc4b09",shade10:"#de590b",primary:"#f7630c",tint10:"#f87528",tint20:"#f98845",tint30:"#faa06b",tint40:"#fdcfb4",tint50:"#fee5d7",tint60:"#fff9f5"},$s={shade50:"#291600",shade40:"#4d2a00",shade30:"#8f4e00",shade20:"#c26a00",shade10:"#e67e00",primary:"#ff8c00",tint10:"#ff9a1f",tint20:"#ffa83d",tint30:"#ffba66",tint40:"#ffddb3",tint50:"#ffedd6",tint60:"#fffaf5"},Ys={shade50:"#251a00",shade40:"#463100",shade30:"#835b00",shade20:"#b27c00",shade10:"#d39300",primary:"#eaa300",tint10:"#edad1c",tint20:"#efb839",tint30:"#f2c661",tint40:"#f9e2ae",tint50:"#fcefd3",tint60:"#fefbf4"},Xs={shade50:"#282400",shade40:"#4c4400",shade30:"#817400",shade20:"#c0ad00",shade10:"#e4cc00",primary:"#fde300",tint10:"#fde61e",tint20:"#fdea3d",tint30:"#feee66",tint40:"#fef7b2",tint50:"#fffad6",tint60:"#fffef5"},Ns={shade50:"#1f1900",shade40:"#3a2f00",shade30:"#6c5700",shade20:"#937700",shade10:"#ae8c00",primary:"#c19c00",tint10:"#c8a718",tint20:"#d0b232",tint30:"#dac157",tint40:"#ecdfa5",tint50:"#f5eece",tint60:"#fdfbf2"},js={shade50:"#181202",shade40:"#2e2103",shade30:"#553e06",shade20:"#745408",shade10:"#89640a",primary:"#986f0b",tint10:"#a47d1e",tint20:"#b18c34",tint30:"#c1a256",tint40:"#e0cea2",tint50:"#efe4cb",tint60:"#fbf8f2"},aM={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 lM={shade50:"#0c1501",shade40:"#162702",shade30:"#294903",shade20:"#376304",shade10:"#427505",primary:"#498205",tint10:"#599116",tint20:"#6ba02b",tint30:"#85b44c",tint40:"#bdd99b",tint50:"#dbebc7",tint60:"#f6faf0"},cM={shade50:"#002111",shade40:"#003d20",shade30:"#00723b",shade20:"#009b51",shade10:"#00b85f",primary:"#00cc6a",tint10:"#19d279",tint20:"#34d889",tint30:"#5ae0a0",tint40:"#a8f0cd",tint50:"#cff7e4",tint60:"#f3fdf8"},oM={shade50:"#031a02",shade40:"#063004",shade30:"#0b5a08",shade20:"#0e7a0b",shade10:"#11910d",primary:"#13a10e",tint10:"#27ac22",tint20:"#3db838",tint30:"#5ec75a",tint40:"#a7e3a5",tint50:"#cef0cd",tint60:"#f2fbf2"},dZ={shade50:"#031403",shade40:"#052505",shade30:"#094509",shade20:"#0c5e0c",shade10:"#0e700e",primary:"#107c10",tint10:"#218c21",tint20:"#359b35",tint30:"#54b054",tint40:"#9fd89f",tint50:"#c9eac9",tint60:"#f1faf1"},eM={shade50:"#021102",shade40:"#032003",shade30:"#063b06",shade20:"#085108",shade10:"#0a5f0a",primary:"#0b6a0b",tint10:"#1a7c1a",tint20:"#2d8e2d",tint30:"#4da64d",tint40:"#9ad29a",tint50:"#c6e7c6",tint60:"#f0f9f0"},rM={shade50:"#001d1f",shade40:"#00373a",shade30:"#00666d",shade20:"#008b94",shade10:"#00a5af",primary:"#00b7c3",tint10:"#18bfca",tint20:"#32c8d1",tint30:"#58d3db",tint40:"#a6e9ed",tint50:"#cef3f5",tint60:"#f2fcfd"},tM={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 hM={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 ZM={shade50:"#001322",shade40:"#002440",shade30:"#004377",shade20:"#005ba1",shade10:"#006cbf",primary:"#0078d4",tint10:"#1a86d9",tint20:"#3595de",tint30:"#5caae5",tint40:"#a9d3f2",tint50:"#d0e7f8",tint60:"#f3f9fd"},iM={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 vM={shade50:"#0d1126",shade40:"#182047",shade30:"#2c3c85",shade20:"#3c51b4",shade10:"#4760d5",primary:"#4f6bed",tint10:"#637cef",tint20:"#778df1",tint30:"#93a4f4",tint40:"#c8d1fa",tint50:"#e1e6fc",tint60:"#f7f9fe"},nM={shade50:"#00061d",shade40:"#000c36",shade30:"#001665",shade20:"#001e89",shade10:"#0023a2",primary:"#0027b4",tint10:"#173bbd",tint20:"#3050c6",tint30:"#546fd2",tint40:"#a3b2e8",tint50:"#ccd5f3",tint60:"#f2f4fc"},dM={shade50:"#120f25",shade40:"#221d46",shade30:"#3f3682",shade20:"#5649b0",shade10:"#6656d1",primary:"#7160e8",tint10:"#8172eb",tint20:"#9184ee",tint30:"#a79cf1",tint40:"#d2ccf8",tint50:"#e7e4fb",tint60:"#f9f8fe"},mM={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 pM={shade50:"#160418",shade40:"#29072e",shade30:"#4c0d55",shade20:"#671174",shade10:"#7a1589",primary:"#881798",tint10:"#952aa4",tint20:"#a33fb1",tint30:"#b55fc1",tint40:"#d9a7e0",tint50:"#eaceef",tint60:"#faf2fb"},sM={shade50:"#1f091d",shade40:"#3a1136",shade30:"#6d2064",shade20:"#932b88",shade10:"#af33a1",primary:"#c239b3",tint10:"#c94cbc",tint20:"#d161c4",tint30:"#da7ed0",tint40:"#edbbe7",tint50:"#f5daf2",tint60:"#fdf5fc"},MM={shade50:"#1c0b1f",shade40:"#35153a",shade30:"#63276d",shade20:"#863593",shade10:"#9f3faf",primary:"#b146c2",tint10:"#ba58c9",tint20:"#c36bd1",tint30:"#cf87da",tint40:"#e6bfed",tint50:"#f2dcf5",tint60:"#fcf6fd"},_M={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 uM={shade50:"#1f0013",shade40:"#390024",shade30:"#6b0043",shade20:"#91005a",shade10:"#ac006b",primary:"#bf0077",tint10:"#c71885",tint20:"#ce3293",tint30:"#d957a8",tint40:"#eca5d1",tint50:"#f5cee6",tint60:"#fcf2f9"},AM={shade50:"#13000c",shade40:"#240017",shade30:"#43002b",shade20:"#5a003b",shade10:"#6b0045",primary:"#77004d",tint10:"#87105d",tint20:"#98246f",tint30:"#ad4589",tint40:"#d696c0",tint50:"#e9c4dc",tint60:"#faf0f6"},HM={shade50:"#141313",shade40:"#252323",shade30:"#444241",shade20:"#5d5958",shade10:"#6e6968",primary:"#7a7574",tint10:"#8a8584",tint20:"#9a9594",tint30:"#afabaa",tint40:"#d7d4d4",tint50:"#eae8e8",tint60:"#faf9f9"},VM={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 gM={shade50:"#111314",shade40:"#1f2426",shade30:"#3b4447",shade20:"#505c60",shade10:"#5f6d71",primary:"#69797e",tint10:"#79898d",tint20:"#89989d",tint30:"#a0adb2",tint40:"#cdd6d8",tint50:"#e4e9ea",tint60:"#f8f9fa"},fM={shade50:"#090a0b",shade40:"#111315",shade30:"#202427",shade20:"#2b3135",shade10:"#333a3f",primary:"#394146",tint10:"#4d565c",tint20:"#626c72",tint30:"#808a90",tint40:"#bcc3c7",tint50:"#dbdfe1",tint60:"#f6f7f8"};var W1={red:zs,green:dZ,darkOrange:Qs,yellow:Xs,berry:sM,lightGreen:oM,marigold:Ys},v7={darkRed:Ps,cranberry:nZ,pumpkin:Js,peach:$s,gold:Ns,brass:js,brown:aM,forest:lM,seafoam:cM,darkGreen:eM,lightTeal:rM,teal:tM,steel:hM,blue:ZM,royalBlue:iM,cornflower:vM,navy:nM,lavender:dM,purple:mM,grape:pM,lilac:MM,pink:_M,magenta:uM,plum:AM,beige:HM,mink:VM,platinum:gM,anchor:fM},b1={cranberry:nZ,green:dZ,orange:Ks};var le=["red","green","darkOrange","yellow","berry","lightGreen","marigold"],ce=["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 L8=le.reduce((a,l)=>{let c=l.slice(0,1).toUpperCase()+l.slice(1),o={[`colorPalette${c}Background1`]:W1[l].tint60,[`colorPalette${c}Background2`]:W1[l].tint40,[`colorPalette${c}Background3`]:W1[l].primary,[`colorPalette${c}Foreground1`]:W1[l].shade10,[`colorPalette${c}Foreground2`]:W1[l].shade30,[`colorPalette${c}Foreground3`]:W1[l].primary,[`colorPalette${c}BorderActive`]:W1[l].primary,[`colorPalette${c}Border1`]:W1[l].tint40,[`colorPalette${c}Border2`]:W1[l].primary};return Object.assign(a,o)},{});L8.colorPaletteYellowForeground1=W1.yellow.shade30;L8.colorPaletteRedForegroundInverted=W1.red.tint20;L8.colorPaletteGreenForegroundInverted=W1.green.tint20;L8.colorPaletteYellowForegroundInverted=W1.yellow.tint40;var CC=ce.reduce((a,l)=>{let c=l.slice(0,1).toUpperCase()+l.slice(1),o={[`colorPalette${c}Background2`]:v7[l].tint40,[`colorPalette${c}Foreground2`]:v7[l].shade30,[`colorPalette${c}BorderActive`]:v7[l].primary};return Object.assign(a,o)},{}),FM={...L8,...CC},m4=Object.entries(v5).reduce((a,[l,c])=>{let o=l.slice(0,1).toUpperCase()+l.slice(1),e={[`colorStatus${o}Background1`]:b1[c].tint60,[`colorStatus${o}Background2`]:b1[c].tint40,[`colorStatus${o}Background3`]:b1[c].primary,[`colorStatus${o}Foreground1`]:b1[c].shade10,[`colorStatus${o}Foreground2`]:b1[c].shade30,[`colorStatus${o}Foreground3`]:b1[c].primary,[`colorStatus${o}ForegroundInverted`]:b1[c].tint30,[`colorStatus${o}BorderActive`]:b1[c].primary,[`colorStatus${o}Border1`]:b1[c].tint40,[`colorStatus${o}Border2`]:b1[c].primary};return Object.assign(a,e)},{});m4.colorStatusDangerBackground3Hover=b1[v5.danger].shade10;m4.colorStatusDangerBackground3Pressed=b1[v5.danger].shade20;m4.colorStatusWarningForeground1=b1[v5.warning].shade20;m4.colorStatusWarningForeground3=b1[v5.warning].shade20;m4.colorStatusWarningBorder2=b1[v5.warning].shade20;var xM=(a)=>({colorNeutralForeground1:y[14],colorNeutralForeground1Hover:y[14],colorNeutralForeground1Pressed:y[14],colorNeutralForeground1Selected:y[14],colorNeutralForeground2:y[26],colorNeutralForeground2Hover:y[14],colorNeutralForeground2Pressed:y[14],colorNeutralForeground2Selected:y[14],colorNeutralForeground2BrandHover:a[80],colorNeutralForeground2BrandPressed:a[70],colorNeutralForeground2BrandSelected:a[80],colorNeutralForeground3:y[38],colorNeutralForeground3Hover:y[26],colorNeutralForeground3Pressed:y[26],colorNeutralForeground3Selected:y[26],colorNeutralForeground3BrandHover:a[80],colorNeutralForeground3BrandPressed:a[70],colorNeutralForeground3BrandSelected:a[80],colorNeutralForeground4:y[44],colorNeutralForegroundDisabled:y[74],colorNeutralForegroundInvertedDisabled:E0[40],colorBrandForegroundLink:a[70],colorBrandForegroundLinkHover:a[60],colorBrandForegroundLinkPressed:a[40],colorBrandForegroundLinkSelected:a[70],colorNeutralForeground2Link:y[26],colorNeutralForeground2LinkHover:y[14],colorNeutralForeground2LinkPressed:y[14],colorNeutralForeground2LinkSelected:y[14],colorCompoundBrandForeground1:a[80],colorCompoundBrandForeground1Hover:a[70],colorCompoundBrandForeground1Pressed:a[60],colorBrandForeground1:a[80],colorBrandForeground2:a[70],colorBrandForeground2Hover:a[60],colorBrandForeground2Pressed:a[30],colorNeutralForeground1Static:y[14],colorNeutralForegroundStaticInverted:L1,colorNeutralForegroundInverted:L1,colorNeutralForegroundInvertedHover:L1,colorNeutralForegroundInvertedPressed:L1,colorNeutralForegroundInvertedSelected:L1,colorNeutralForegroundInverted2:L1,colorNeutralForegroundOnBrand:L1,colorNeutralForegroundInvertedLink:L1,colorNeutralForegroundInvertedLinkHover:L1,colorNeutralForegroundInvertedLinkPressed:L1,colorNeutralForegroundInvertedLinkSelected:L1,colorBrandForegroundInverted:a[100],colorBrandForegroundInvertedHover:a[110],colorBrandForegroundInvertedPressed:a[100],colorBrandForegroundOnLight:a[80],colorBrandForegroundOnLightHover:a[70],colorBrandForegroundOnLightPressed:a[50],colorBrandForegroundOnLightSelected:a[60],colorNeutralBackground1:L1,colorNeutralBackground1Hover:y[96],colorNeutralBackground1Pressed:y[88],colorNeutralBackground1Selected:y[92],colorNeutralBackground2:y[98],colorNeutralBackground2Hover:y[94],colorNeutralBackground2Pressed:y[86],colorNeutralBackground2Selected:y[90],colorNeutralBackground3:y[96],colorNeutralBackground3Hover:y[92],colorNeutralBackground3Pressed:y[84],colorNeutralBackground3Selected:y[88],colorNeutralBackground4:y[94],colorNeutralBackground4Hover:y[98],colorNeutralBackground4Pressed:y[96],colorNeutralBackground4Selected:L1,colorNeutralBackground5:y[92],colorNeutralBackground5Hover:y[96],colorNeutralBackground5Pressed:y[94],colorNeutralBackground5Selected:y[98],colorNeutralBackground6:y[90],colorNeutralBackgroundInverted:y[16],colorNeutralBackgroundStatic:y[20],colorNeutralBackgroundAlpha:E0[50],colorNeutralBackgroundAlpha2:E0[80],colorSubtleBackground:"transparent",colorSubtleBackgroundHover:y[96],colorSubtleBackgroundPressed:y[88],colorSubtleBackgroundSelected:y[92],colorSubtleBackgroundLightAlphaHover:E0[70],colorSubtleBackgroundLightAlphaPressed:E0[50],colorSubtleBackgroundLightAlphaSelected:"transparent",colorSubtleBackgroundInverted:"transparent",colorSubtleBackgroundInvertedHover:L5[10],colorSubtleBackgroundInvertedPressed:L5[30],colorSubtleBackgroundInvertedSelected:L5[20],colorTransparentBackground:"transparent",colorTransparentBackgroundHover:"transparent",colorTransparentBackgroundPressed:"transparent",colorTransparentBackgroundSelected:"transparent",colorNeutralBackgroundDisabled:y[94],colorNeutralBackgroundInvertedDisabled:E0[10],colorNeutralStencil1:y[90],colorNeutralStencil2:y[98],colorNeutralStencil1Alpha:L5[10],colorNeutralStencil2Alpha:L5[5],colorBackgroundOverlay:L5[40],colorScrollbarOverlay:L5[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:L1,colorBrandBackgroundInvertedHover:a[160],colorBrandBackgroundInvertedPressed:a[140],colorBrandBackgroundInvertedSelected:a[150],colorNeutralCardBackground:y[98],colorNeutralCardBackgroundHover:L1,colorNeutralCardBackgroundPressed:y[96],colorNeutralCardBackgroundSelected:y[92],colorNeutralCardBackgroundDisabled:y[94],colorNeutralStrokeAccessible:y[38],colorNeutralStrokeAccessibleHover:y[34],colorNeutralStrokeAccessiblePressed:y[30],colorNeutralStrokeAccessibleSelected:a[80],colorNeutralStroke1:y[82],colorNeutralStroke1Hover:y[78],colorNeutralStroke1Pressed:y[70],colorNeutralStroke1Selected:y[74],colorNeutralStroke2:y[88],colorNeutralStroke3:y[94],colorNeutralStrokeSubtle:y[88],colorNeutralStrokeOnBrand:L1,colorNeutralStrokeOnBrand2:L1,colorNeutralStrokeOnBrand2Hover:L1,colorNeutralStrokeOnBrand2Pressed:L1,colorNeutralStrokeOnBrand2Selected:L1,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:y[88],colorNeutralStrokeInvertedDisabled:E0[40],colorTransparentStroke:"transparent",colorTransparentStrokeInteractive:"transparent",colorTransparentStrokeDisabled:"transparent",colorNeutralStrokeAlpha:L5[5],colorNeutralStrokeAlpha2:E0[20],colorStrokeFocus1:L1,colorStrokeFocus2:W6,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 R8={borderRadiusNone:"0",borderRadiusSmall:"2px",borderRadiusMedium:"4px",borderRadiusLarge:"6px",borderRadiusXLarge:"8px",borderRadiusCircular:"10000px"};var oe={curveAccelerateMax:"cubic-bezier(0.9,0.1,1,0.2)",curveAccelerateMid:"cubic-bezier(1,0,1,1)",curveAccelerateMin:"cubic-bezier(0.8,0,0.78,1)",curveDecelerateMax:"cubic-bezier(0.1,0.9,0.2,1)",curveDecelerateMid:"cubic-bezier(0,0,0,1)",curveDecelerateMin:"cubic-bezier(0.33,0,0.1,1)",curveEasyEaseMax:"cubic-bezier(0.8,0,0.2,1)",curveEasyEase:"cubic-bezier(0.33,0,0.67,1)",curveLinear:"cubic-bezier(0,0,1,1)"};var ee={durationUltraFast:"50ms",durationFaster:"100ms",durationFast:"150ms",durationNormal:"200ms",durationGentle:"250ms",durationSlow:"300ms",durationSlower:"400ms",durationUltraSlow:"500ms"};var S8={fontSizeBase100:"10px",fontSizeBase200:"12px",fontSizeBase300:"14px",fontSizeBase400:"16px",fontSizeBase500:"20px",fontSizeBase600:"24px",fontSizeHero700:"28px",fontSizeHero800:"32px",fontSizeHero900:"40px",fontSizeHero1000:"68px"},D8={lineHeightBase100:"14px",lineHeightBase200:"16px",lineHeightBase300:"20px",lineHeightBase400:"22px",lineHeightBase500:"28px",lineHeightBase600:"32px",lineHeightHero700:"36px",lineHeightHero800:"40px",lineHeightHero900:"52px",lineHeightHero1000:"92px"},w8={fontWeightRegular:400,fontWeightMedium:500,fontWeightSemibold:600,fontWeightBold:700},k8={fontFamilyBase:"'Segoe UI', 'Segoe UI Web (West European)', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif",fontFamilyMonospace:"Consolas, 'Courier New', Courier, monospace",fontFamilyNumeric:"Bahnschrift, 'Segoe UI', 'Segoe UI Web (West European)', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif"};var u0={none:"0",xxs:"2px",xs:"4px",sNudge:"6px",s:"8px",mNudge:"10px",m:"12px",l:"16px",xl:"20px",xxl:"24px",xxxl:"32px"},re={spacingHorizontalNone:u0.none,spacingHorizontalXXS:u0.xxs,spacingHorizontalXS:u0.xs,spacingHorizontalSNudge:u0.sNudge,spacingHorizontalS:u0.s,spacingHorizontalMNudge:u0.mNudge,spacingHorizontalM:u0.m,spacingHorizontalL:u0.l,spacingHorizontalXL:u0.xl,spacingHorizontalXXL:u0.xxl,spacingHorizontalXXXL:u0.xxxl},te={spacingVerticalNone:u0.none,spacingVerticalXXS:u0.xxs,spacingVerticalXS:u0.xs,spacingVerticalSNudge:u0.sNudge,spacingVerticalS:u0.s,spacingVerticalMNudge:u0.mNudge,spacingVerticalM:u0.m,spacingVerticalL:u0.l,spacingVerticalXL:u0.xl,spacingVerticalXXL:u0.xxl,spacingVerticalXXXL:u0.xxxl};var y8={strokeWidthThin:"1px",strokeWidthThick:"2px",strokeWidthThicker:"3px",strokeWidthThickest:"4px"};var c0={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 I6(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=xM(a);return{...R8,...S8,...D8,...k8,...w8,...y8,...re,...te,...ee,...oe,...l,...FM,...m4,...I6(l.colorNeutralShadowAmbient,l.colorNeutralShadowKey),...I6(l.colorBrandShadowAmbient,l.colorBrandShadowKey,"Brand")}};var CM={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 n7=le.reduce((a,l)=>{let c=l.slice(0,1).toUpperCase()+l.slice(1),o={[`colorPalette${c}Background1`]:W1[l].shade40,[`colorPalette${c}Background2`]:W1[l].shade30,[`colorPalette${c}Background3`]:W1[l].primary,[`colorPalette${c}Foreground1`]:W1[l].tint30,[`colorPalette${c}Foreground2`]:W1[l].tint40,[`colorPalette${c}Foreground3`]:W1[l].tint20,[`colorPalette${c}BorderActive`]:W1[l].tint30,[`colorPalette${c}Border1`]:W1[l].primary,[`colorPalette${c}Border2`]:W1[l].tint20};return Object.assign(a,o)},{});n7.colorPaletteRedForeground3=W1.red.tint30;n7.colorPaletteRedBorder2=W1.red.tint30;n7.colorPaletteGreenForeground3=W1.green.tint40;n7.colorPaletteGreenBorder2=W1.green.tint40;n7.colorPaletteDarkOrangeForeground3=W1.darkOrange.tint30;n7.colorPaletteDarkOrangeBorder2=W1.darkOrange.tint30;n7.colorPaletteRedForegroundInverted=W1.red.primary;n7.colorPaletteGreenForegroundInverted=W1.green.primary;n7.colorPaletteYellowForegroundInverted=W1.yellow.shade30;var mZ=ce.reduce((a,l)=>{let c=l.slice(0,1).toUpperCase()+l.slice(1),o={[`colorPalette${c}Background2`]:v7[l].shade30,[`colorPalette${c}Foreground2`]:v7[l].tint40,[`colorPalette${c}BorderActive`]:v7[l].tint30};return Object.assign(a,o)},{});mZ.colorPaletteDarkRedBackground2=v7.darkRed.shade20;mZ.colorPalettePlumBackground2=v7.plum.shade20;var LM={...n7,...mZ},Q7=Object.entries(v5).reduce((a,[l,c])=>{let o=l.slice(0,1).toUpperCase()+l.slice(1),e={[`colorStatus${o}Background1`]:b1[c].shade40,[`colorStatus${o}Background2`]:b1[c].shade30,[`colorStatus${o}Background3`]:b1[c].primary,[`colorStatus${o}Foreground1`]:b1[c].tint30,[`colorStatus${o}Foreground2`]:b1[c].tint40,[`colorStatus${o}Foreground3`]:b1[c].tint20,[`colorStatus${o}BorderActive`]:b1[c].tint30,[`colorStatus${o}ForegroundInverted`]:b1[c].shade10,[`colorStatus${o}Border1`]:b1[c].primary,[`colorStatus${o}Border2`]:b1[c].tint20};return Object.assign(a,e)},{});Q7.colorStatusDangerBackground3Hover=b1[v5.danger].shade10;Q7.colorStatusDangerBackground3Pressed=b1[v5.danger].shade20;Q7.colorStatusDangerForeground3=b1[v5.danger].tint40;Q7.colorStatusDangerBorder2=b1[v5.danger].tint30;Q7.colorStatusSuccessForeground3=b1[v5.success].tint40;Q7.colorStatusSuccessBorder2=b1[v5.success].tint40;Q7.colorStatusWarningForegroundInverted=b1[v5.warning].shade20;var g2=V3(CM);var RM=(a)=>({colorNeutralForeground1:L1,colorNeutralForeground1Hover:L1,colorNeutralForeground1Pressed:L1,colorNeutralForeground1Selected:L1,colorNeutralForeground2:y[84],colorNeutralForeground2Hover:L1,colorNeutralForeground2Pressed:L1,colorNeutralForeground2Selected:L1,colorNeutralForeground2BrandHover:a[100],colorNeutralForeground2BrandPressed:a[90],colorNeutralForeground2BrandSelected:a[100],colorNeutralForeground3:y[68],colorNeutralForeground3Hover:y[84],colorNeutralForeground3Pressed:y[84],colorNeutralForeground3Selected:y[84],colorNeutralForeground3BrandHover:a[100],colorNeutralForeground3BrandPressed:a[90],colorNeutralForeground3BrandSelected:a[100],colorNeutralForeground4:y[60],colorNeutralForegroundDisabled:y[36],colorNeutralForegroundInvertedDisabled:E0[40],colorBrandForegroundLink:a[100],colorBrandForegroundLinkHover:a[110],colorBrandForegroundLinkPressed:a[90],colorBrandForegroundLinkSelected:a[100],colorNeutralForeground2Link:y[84],colorNeutralForeground2LinkHover:L1,colorNeutralForeground2LinkPressed:L1,colorNeutralForeground2LinkSelected:L1,colorCompoundBrandForeground1:a[100],colorCompoundBrandForeground1Hover:a[110],colorCompoundBrandForeground1Pressed:a[90],colorBrandForeground1:a[100],colorBrandForeground2:a[110],colorBrandForeground2Hover:a[130],colorBrandForeground2Pressed:a[160],colorNeutralForeground1Static:y[14],colorNeutralForegroundStaticInverted:L1,colorNeutralForegroundInverted:y[14],colorNeutralForegroundInvertedHover:y[14],colorNeutralForegroundInvertedPressed:y[14],colorNeutralForegroundInvertedSelected:y[14],colorNeutralForegroundInverted2:y[14],colorNeutralForegroundOnBrand:L1,colorNeutralForegroundInvertedLink:L1,colorNeutralForegroundInvertedLinkHover:L1,colorNeutralForegroundInvertedLinkPressed:L1,colorNeutralForegroundInvertedLinkSelected:L1,colorBrandForegroundInverted:a[80],colorBrandForegroundInvertedHover:a[70],colorBrandForegroundInvertedPressed:a[60],colorBrandForegroundOnLight:a[80],colorBrandForegroundOnLightHover:a[70],colorBrandForegroundOnLightPressed:a[50],colorBrandForegroundOnLightSelected:a[60],colorNeutralBackground1:y[16],colorNeutralBackground1Hover:y[24],colorNeutralBackground1Pressed:y[12],colorNeutralBackground1Selected:y[22],colorNeutralBackground2:y[12],colorNeutralBackground2Hover:y[20],colorNeutralBackground2Pressed:y[8],colorNeutralBackground2Selected:y[18],colorNeutralBackground3:y[8],colorNeutralBackground3Hover:y[16],colorNeutralBackground3Pressed:y[4],colorNeutralBackground3Selected:y[14],colorNeutralBackground4:y[4],colorNeutralBackground4Hover:y[12],colorNeutralBackground4Pressed:W6,colorNeutralBackground4Selected:y[10],colorNeutralBackground5:W6,colorNeutralBackground5Hover:y[8],colorNeutralBackground5Pressed:y[2],colorNeutralBackground5Selected:y[6],colorNeutralBackground6:y[20],colorNeutralBackgroundInverted:L1,colorNeutralBackgroundStatic:y[24],colorNeutralBackgroundAlpha:Is[50],colorNeutralBackgroundAlpha2:qs[70],colorSubtleBackground:"transparent",colorSubtleBackgroundHover:y[22],colorSubtleBackgroundPressed:y[18],colorSubtleBackgroundSelected:y[20],colorSubtleBackgroundLightAlphaHover:vZ[80],colorSubtleBackgroundLightAlphaPressed:vZ[50],colorSubtleBackgroundLightAlphaSelected:"transparent",colorSubtleBackgroundInverted:"transparent",colorSubtleBackgroundInvertedHover:L5[10],colorSubtleBackgroundInvertedPressed:L5[30],colorSubtleBackgroundInvertedSelected:L5[20],colorTransparentBackground:"transparent",colorTransparentBackgroundHover:"transparent",colorTransparentBackgroundPressed:"transparent",colorTransparentBackgroundSelected:"transparent",colorNeutralBackgroundDisabled:y[8],colorNeutralBackgroundInvertedDisabled:E0[10],colorNeutralStencil1:y[34],colorNeutralStencil2:y[20],colorNeutralStencil1Alpha:E0[10],colorNeutralStencil2Alpha:E0[5],colorBackgroundOverlay:L5[50],colorScrollbarOverlay:E0[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:L1,colorBrandBackgroundInvertedHover:a[160],colorBrandBackgroundInvertedPressed:a[140],colorBrandBackgroundInvertedSelected:a[150],colorNeutralCardBackground:y[20],colorNeutralCardBackgroundHover:y[24],colorNeutralCardBackgroundPressed:y[18],colorNeutralCardBackgroundSelected:y[22],colorNeutralCardBackgroundDisabled:y[8],colorNeutralStrokeAccessible:y[68],colorNeutralStrokeAccessibleHover:y[74],colorNeutralStrokeAccessiblePressed:y[70],colorNeutralStrokeAccessibleSelected:a[100],colorNeutralStroke1:y[40],colorNeutralStroke1Hover:y[46],colorNeutralStroke1Pressed:y[42],colorNeutralStroke1Selected:y[44],colorNeutralStroke2:y[32],colorNeutralStroke3:y[24],colorNeutralStrokeSubtle:y[4],colorNeutralStrokeOnBrand:y[16],colorNeutralStrokeOnBrand2:L1,colorNeutralStrokeOnBrand2Hover:L1,colorNeutralStrokeOnBrand2Pressed:L1,colorNeutralStrokeOnBrand2Selected:L1,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:y[26],colorNeutralStrokeInvertedDisabled:E0[40],colorTransparentStroke:"transparent",colorTransparentStrokeInteractive:"transparent",colorTransparentStrokeDisabled:"transparent",colorNeutralStrokeAlpha:E0[10],colorNeutralStrokeAlpha2:E0[20],colorStrokeFocus1:W6,colorStrokeFocus2:L1,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 q6=(a)=>{let l=RM(a);return{...R8,...S8,...D8,...k8,...w8,...y8,...re,...te,...ee,...oe,...l,...LM,...Q7,...I6(l.colorNeutralShadowAmbient,l.colorNeutralShadowKey),...I6(l.colorBrandShadowAmbient,l.colorBrandShadowKey,"Brand")}};F();F();var p4={root:"fui-FluentProvider"},kC=/*@__PURE__*/t8({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);}"]}),U8=(a)=>{let l=u2(),c=kC({dir:a.dir,renderer:l});return a.root.className=D(p4.root,a.themeClassName,c.root,a.root.className),a};var yC=_2?_2:q1,UC=(a,l)=>{if(!(a===null||a===void 0?void 0:a.head))return;let c=a.createElement("style");return Object.keys(l).forEach((o)=>{c.setAttribute(o,l[o])}),a.head.appendChild(c),c},GC=(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.")},G8=(a)=>{let{targetDocument:l,theme:c,rendererAttributes:o}=a,e=G(),r=N1(p4.root),t=o,h=p1(()=>i8(`.${r}`,c),[c,r]);return p1(()=>{if(l){var Z;let n=`.${p4.root}.${r}`,v=l.querySelectorAll(n),d=`style[id="${r}"]`,m=l.querySelectorAll(d);if(m.length>1){console.error(["@fluentui/react-provider: We found multiple <style> elements with same IDs in your DOM.","Please make sure that you configured your application properly.",`
|
|
131
|
+
*/g();var sC=(a)=>{return a};function uC(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 BM(l,{autoRoot:{},controlTab:!1,getParent:B6,checkUncontrolledCompletely:(o)=>{var r;return((r=o.firstElementChild)===null||r===void 0?void 0:r.hasAttribute("data-is-focus-trap-zone-bumper"))===!0||void 0},DOMAPI:c})}function x5(a=sC){let{targetDocument:l}=A1(),c=k(null);W1(()=>{let o=uC(l);if(o)return c.current=a(o),()=>{yM(o),c.current=null}},[l,a]);{let o=zo(a);if(o!==null&&o!==a)throw Error(["@fluentui/react-tabster: ","The factory function passed to useTabster has changed. This should not ever happen."].join(`
|
|
132
|
+
`))}return c}g();var H3=(a)=>{x5();let l=Fa(a,!0);return _1(()=>({[t7]:l}),[l])};var ga=(a={})=>{let{circular:l,axis:c,memorizeCurrent:o=!0,tabbable:r,ignoreDefaultKeydown:e,unstable_hasDefault:h}=a;return x5(kM),H3({mover:{cyclic:!!l,direction:HC(c!==null&&c!==void 0?c:"vertical"),memorizeCurrent:o,tabbable:r,hasDefault:h},...e&&{focusable:{ignoreKeydown:e}}})};function HC(a){switch(a){case"horizontal":return o2.Horizontal;case"grid":return o2.Grid;case"grid-linear":return o2.GridLinear;case"both":return o2.Both;case"vertical":default:return o2.Vertical}}var d4=(a)=>{return x5(DM),H3({groupper:{tabbability:fC(a===null||a===void 0?void 0:a.tabBehavior)},focusable:{ignoreKeydown:a===null||a===void 0?void 0:a.ignoreDefaultKeydown}})},fC=(a)=>{switch(a){case"unlimited":return Va.Unlimited;case"limited":return Va.Limited;case"limited-trap-focus":return Va.LimitedTrapFocus;default:return}};g();var W7=()=>{let a=x5(),{targetDocument:l}=A1(),c=W((Z,t)=>{var i;return Z&&((i=a.current)===null||i===void 0?void 0:i.focusable.findAll({container:Z,acceptCondition:t}))||[]},[a]),o=W((Z)=>{var t;return Z&&((t=a.current)===null||t===void 0?void 0:t.focusable.findFirst({container:Z}))},[a]),r=W((Z)=>{var t;return Z&&((t=a.current)===null||t===void 0?void 0:t.focusable.findLast({container:Z}))},[a]),e=W((Z,t={})=>{if(!a.current||!l||!Z)return null;let{container:i=l.body}=t;return a.current.focusable.findNext({currentElement:Z,container:i})},[a,l]),h=W((Z,t={})=>{if(!a.current||!l||!Z)return null;let{container:i=l.body}=t;return a.current.focusable.findPrev({currentElement:Z,container:i})},[a,l]);return{findAllFocusable:c,findFirstFocusable:o,findLastFocusable:r,findNextFocusable:e,findPrevFocusable:h}};g();var Zt="data-fui-focus-visible",tt="data-fui-focus-within";function OM(a,l){if(PM(a))return()=>{return};let c={current:void 0},o=A3(l);function r(t){if(o.isNavigatingWithKeyboard()&&P1(t))c.current=t,t.setAttribute(Zt,"")}function e(){if(c.current)c.current.removeAttribute(Zt),c.current=void 0}o.subscribe((t)=>{if(!t)e();else r(l.document.activeElement)});let h=(t)=>{e();let i=t.composedPath()[0];r(i)},Z=(t)=>{if(!t.relatedTarget||P1(t.relatedTarget)&&!a.contains(t.relatedTarget))e()};if(a.addEventListener(F5,h),a.addEventListener("focusout",Z),a.focusVisible=!0,a.contains(l.document.activeElement))r(l.document.activeElement);return()=>{e(),a.removeEventListener(F5,h),a.removeEventListener("focusout",Z),a.focusVisible=void 0,m3(o)}}function PM(a){if(!a)return!1;if(a.focusVisible)return!0;return PM(a===null||a===void 0?void 0:a.parentElement)}function z7(a={}){let l=A1(),c=k(null);var o;let r=(o=a.targetDocument)!==null&&o!==void 0?o:l.targetDocument;return N(()=>{if((r===null||r===void 0?void 0:r.defaultView)&&c.current)return OM(c.current,r.defaultView)},[c,r]),c}g();function EM(a,l){let c=A3(l);c.subscribe((e)=>{if(!e)TM(a)});let o=(e)=>{if(c.isNavigatingWithKeyboard()&&bM(e.target))VC(a)},r=(e)=>{if(!e.relatedTarget||bM(e.relatedTarget)&&!a.contains(e.relatedTarget))TM(a)};return a.addEventListener(F5,o),a.addEventListener("focusout",r),()=>{a.removeEventListener(F5,o),a.removeEventListener("focusout",r),m3(c)}}function VC(a){a.setAttribute(tt,"")}function TM(a){a.removeAttribute(tt)}function bM(a){if(!a)return!1;return Boolean(a&&typeof a==="object"&&"classList"in a&&"contains"in a)}function f2(){let{targetDocument:a}=A1(),l=k(null);return N(()=>{if((a===null||a===void 0?void 0:a.defaultView)&&l.current)return EM(l.current,a.defaultView)},[l,a]),l}g();g();function Ko(){let{targetDocument:a}=A1(),l=k(null);return N(()=>{let c=a===null||a===void 0?void 0:a.defaultView;if(c){let o=A3(c);return l.current=o,()=>{m3(o),l.current=null}}},[a]),l}function P6(a){let l=Ko(),c=Y(a);N(()=>{let o=l.current;if(o){let r=(e)=>{c(e)};return o.subscribe(r),r(o.isNavigatingWithKeyboard()),()=>{o.unsubscribe(r)}}},[l,c])}var qM="data-tabster-never-hide",Vq={[qM]:""};var FC=(a)=>{return a.hasAttribute(qM)};function gC(a){Yo(a,void 0,FC),Xo(a)}var V2=(a={})=>{let{trapFocus:l,alwaysFocusable:c,legacyTrapFocus:o}=a;x5(gC);let r=j1("modal-",a.id),e=H3({restorer:{type:E7.Source},...l&&{modalizer:{id:r,isOthersAccessible:!l,isAlwaysAccessible:c,isTrapped:o&&l}}}),h=H3({restorer:{type:E7.Target}});return{modalAttributes:e,triggerAttributes:h}};function Q7(){return x5(Xo),Fa({restorer:{type:E7.Source}})}g();function jo(){let a=Ko();return W((l)=>{var c;(c=a.current)===null||c===void 0||c.setVal(l)},[a])}g();function No(){let a=x5(Yo),[l]=c2();return W((o)=>{l(()=>{var r;(r=a.current)===null||r===void 0||r.activate(o)},0)},[a,l])}var B={"2":"#050505","4":"#0a0a0a","6":"#0f0f0f","8":"#141414","10":"#1a1a1a","12":"#1f1f1f","14":"#242424","16":"#292929","18":"#2e2e2e","20":"#333333","22":"#383838","24":"#3d3d3d","26":"#424242","28":"#474747","30":"#4d4d4d","32":"#525252","34":"#575757","36":"#5c5c5c","38":"#616161","40":"#666666","42":"#6b6b6b","44":"#707070","46":"#757575","48":"#7a7a7a","50":"#808080","52":"#858585","54":"#8a8a8a","56":"#8f8f8f","58":"#949494","60":"#999999","62":"#9e9e9e","64":"#a3a3a3","66":"#a8a8a8","68":"#adadad","70":"#b3b3b3","72":"#b8b8b8","74":"#bdbdbd","76":"#c2c2c2","78":"#c7c7c7","80":"#cccccc","82":"#d1d1d1","84":"#d6d6d6","86":"#dbdbdb","88":"#e0e0e0","90":"#e6e6e6","92":"#ebebeb","94":"#f0f0f0","96":"#f5f5f5","98":"#fafafa"},E0={"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)"},C5={"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)"},zM={"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)"},QM={"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)"},it={"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)"},R1="#ffffff",T6="#000000";var JM={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 nt={shade50:"#200205",shade40:"#3b0509",shade30:"#6e0811",shade20:"#960b18",shade10:"#b10e1c",primary:"#c50f1f",tint10:"#cc2635",tint20:"#d33f4c",tint30:"#dc626d",tint40:"#eeacb2",tint50:"#f6d1d5",tint60:"#fdf3f4"},IM={shade50:"#210809",shade40:"#3f1011",shade30:"#751d1f",shade20:"#9f282b",shade10:"#bc2f32",primary:"#d13438",tint10:"#d7494c",tint20:"#dc5e62",tint30:"#e37d80",tint40:"#f1bbbc",tint50:"#f8dadb",tint60:"#fdf6f6"},$M={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 YM={shade50:"#200d03",shade40:"#3d1805",shade30:"#712d09",shade20:"#9a3d0c",shade10:"#b6480e",primary:"#ca5010",tint10:"#d06228",tint20:"#d77440",tint30:"#df8e64",tint40:"#efc4ad",tint50:"#f7dfd2",tint60:"#fdf7f4"},XM={shade50:"#271002",shade40:"#4a1e04",shade30:"#8a3707",shade20:"#bc4b09",shade10:"#de590b",primary:"#f7630c",tint10:"#f87528",tint20:"#f98845",tint30:"#faa06b",tint40:"#fdcfb4",tint50:"#fee5d7",tint60:"#fff9f5"},KM={shade50:"#291600",shade40:"#4d2a00",shade30:"#8f4e00",shade20:"#c26a00",shade10:"#e67e00",primary:"#ff8c00",tint10:"#ff9a1f",tint20:"#ffa83d",tint30:"#ffba66",tint40:"#ffddb3",tint50:"#ffedd6",tint60:"#fffaf5"},jM={shade50:"#251a00",shade40:"#463100",shade30:"#835b00",shade20:"#b27c00",shade10:"#d39300",primary:"#eaa300",tint10:"#edad1c",tint20:"#efb839",tint30:"#f2c661",tint40:"#f9e2ae",tint50:"#fcefd3",tint60:"#fefbf4"},NM={shade50:"#282400",shade40:"#4c4400",shade30:"#817400",shade20:"#c0ad00",shade10:"#e4cc00",primary:"#fde300",tint10:"#fde61e",tint20:"#fdea3d",tint30:"#feee66",tint40:"#fef7b2",tint50:"#fffad6",tint60:"#fffef5"},aA={shade50:"#1f1900",shade40:"#3a2f00",shade30:"#6c5700",shade20:"#937700",shade10:"#ae8c00",primary:"#c19c00",tint10:"#c8a718",tint20:"#d0b232",tint30:"#dac157",tint40:"#ecdfa5",tint50:"#f5eece",tint60:"#fdfbf2"},lA={shade50:"#181202",shade40:"#2e2103",shade30:"#553e06",shade20:"#745408",shade10:"#89640a",primary:"#986f0b",tint10:"#a47d1e",tint20:"#b18c34",tint30:"#c1a256",tint40:"#e0cea2",tint50:"#efe4cb",tint60:"#fbf8f2"},cA={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 oA={shade50:"#0c1501",shade40:"#162702",shade30:"#294903",shade20:"#376304",shade10:"#427505",primary:"#498205",tint10:"#599116",tint20:"#6ba02b",tint30:"#85b44c",tint40:"#bdd99b",tint50:"#dbebc7",tint60:"#f6faf0"},rA={shade50:"#002111",shade40:"#003d20",shade30:"#00723b",shade20:"#009b51",shade10:"#00b85f",primary:"#00cc6a",tint10:"#19d279",tint20:"#34d889",tint30:"#5ae0a0",tint40:"#a8f0cd",tint50:"#cff7e4",tint60:"#f3fdf8"},eA={shade50:"#031a02",shade40:"#063004",shade30:"#0b5a08",shade20:"#0e7a0b",shade10:"#11910d",primary:"#13a10e",tint10:"#27ac22",tint20:"#3db838",tint30:"#5ec75a",tint40:"#a7e3a5",tint50:"#cef0cd",tint60:"#f2fbf2"},vt={shade50:"#031403",shade40:"#052505",shade30:"#094509",shade20:"#0c5e0c",shade10:"#0e700e",primary:"#107c10",tint10:"#218c21",tint20:"#359b35",tint30:"#54b054",tint40:"#9fd89f",tint50:"#c9eac9",tint60:"#f1faf1"},hA={shade50:"#021102",shade40:"#032003",shade30:"#063b06",shade20:"#085108",shade10:"#0a5f0a",primary:"#0b6a0b",tint10:"#1a7c1a",tint20:"#2d8e2d",tint30:"#4da64d",tint40:"#9ad29a",tint50:"#c6e7c6",tint60:"#f0f9f0"},ZA={shade50:"#001d1f",shade40:"#00373a",shade30:"#00666d",shade20:"#008b94",shade10:"#00a5af",primary:"#00b7c3",tint10:"#18bfca",tint20:"#32c8d1",tint30:"#58d3db",tint40:"#a6e9ed",tint50:"#cef3f5",tint60:"#f2fcfd"},tA={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 iA={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 nA={shade50:"#001322",shade40:"#002440",shade30:"#004377",shade20:"#005ba1",shade10:"#006cbf",primary:"#0078d4",tint10:"#1a86d9",tint20:"#3595de",tint30:"#5caae5",tint40:"#a9d3f2",tint50:"#d0e7f8",tint60:"#f3f9fd"},vA={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 dA={shade50:"#0d1126",shade40:"#182047",shade30:"#2c3c85",shade20:"#3c51b4",shade10:"#4760d5",primary:"#4f6bed",tint10:"#637cef",tint20:"#778df1",tint30:"#93a4f4",tint40:"#c8d1fa",tint50:"#e1e6fc",tint60:"#f7f9fe"},pA={shade50:"#00061d",shade40:"#000c36",shade30:"#001665",shade20:"#001e89",shade10:"#0023a2",primary:"#0027b4",tint10:"#173bbd",tint20:"#3050c6",tint30:"#546fd2",tint40:"#a3b2e8",tint50:"#ccd5f3",tint60:"#f2f4fc"},_A={shade50:"#120f25",shade40:"#221d46",shade30:"#3f3682",shade20:"#5649b0",shade10:"#6656d1",primary:"#7160e8",tint10:"#8172eb",tint20:"#9184ee",tint30:"#a79cf1",tint40:"#d2ccf8",tint50:"#e7e4fb",tint60:"#f9f8fe"},MA={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 AA={shade50:"#160418",shade40:"#29072e",shade30:"#4c0d55",shade20:"#671174",shade10:"#7a1589",primary:"#881798",tint10:"#952aa4",tint20:"#a33fb1",tint30:"#b55fc1",tint40:"#d9a7e0",tint50:"#eaceef",tint60:"#faf2fb"},mA={shade50:"#1f091d",shade40:"#3a1136",shade30:"#6d2064",shade20:"#932b88",shade10:"#af33a1",primary:"#c239b3",tint10:"#c94cbc",tint20:"#d161c4",tint30:"#da7ed0",tint40:"#edbbe7",tint50:"#f5daf2",tint60:"#fdf5fc"},sA={shade50:"#1c0b1f",shade40:"#35153a",shade30:"#63276d",shade20:"#863593",shade10:"#9f3faf",primary:"#b146c2",tint10:"#ba58c9",tint20:"#c36bd1",tint30:"#cf87da",tint40:"#e6bfed",tint50:"#f2dcf5",tint60:"#fcf6fd"},uA={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 HA={shade50:"#1f0013",shade40:"#390024",shade30:"#6b0043",shade20:"#91005a",shade10:"#ac006b",primary:"#bf0077",tint10:"#c71885",tint20:"#ce3293",tint30:"#d957a8",tint40:"#eca5d1",tint50:"#f5cee6",tint60:"#fcf2f9"},fA={shade50:"#13000c",shade40:"#240017",shade30:"#43002b",shade20:"#5a003b",shade10:"#6b0045",primary:"#77004d",tint10:"#87105d",tint20:"#98246f",tint30:"#ad4589",tint40:"#d696c0",tint50:"#e9c4dc",tint60:"#faf0f6"},VA={shade50:"#141313",shade40:"#252323",shade30:"#444241",shade20:"#5d5958",shade10:"#6e6968",primary:"#7a7574",tint10:"#8a8584",tint20:"#9a9594",tint30:"#afabaa",tint40:"#d7d4d4",tint50:"#eae8e8",tint60:"#faf9f9"},FA={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 gA={shade50:"#111314",shade40:"#1f2426",shade30:"#3b4447",shade20:"#505c60",shade10:"#5f6d71",primary:"#69797e",tint10:"#79898d",tint20:"#89989d",tint30:"#a0adb2",tint40:"#cdd6d8",tint50:"#e4e9ea",tint60:"#f8f9fa"},xA={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 E1={red:IM,green:vt,darkOrange:$M,yellow:NM,berry:mA,lightGreen:eA,marigold:jM},n7={darkRed:JM,cranberry:nt,pumpkin:YM,peach:KM,gold:aA,brass:lA,brown:cA,forest:oA,seafoam:rA,darkGreen:hA,lightTeal:ZA,teal:tA,steel:iA,blue:nA,royalBlue:vA,cornflower:dA,navy:pA,lavender:_A,purple:MA,grape:AA,lilac:sA,pink:uA,magenta:HA,plum:fA,beige:VA,mink:FA,platinum:gA,anchor:xA},T1={cranberry:nt,green:vt,orange:XM};var ar=["red","green","darkOrange","yellow","berry","lightGreen","marigold"],lr=["darkRed","cranberry","pumpkin","peach","gold","brass","brown","forest","seafoam","darkGreen","lightTeal","teal","steel","blue","royalBlue","cornflower","navy","lavender","purple","grape","lilac","pink","magenta","plum","beige","mink","platinum","anchor"];var t5={success:"green",warning:"orange",danger:"cranberry"};var xa=ar.reduce((a,l)=>{let c=l.slice(0,1).toUpperCase()+l.slice(1),o={[`colorPalette${c}Background1`]:E1[l].tint60,[`colorPalette${c}Background2`]:E1[l].tint40,[`colorPalette${c}Background3`]:E1[l].primary,[`colorPalette${c}Foreground1`]:E1[l].shade10,[`colorPalette${c}Foreground2`]:E1[l].shade30,[`colorPalette${c}Foreground3`]:E1[l].primary,[`colorPalette${c}BorderActive`]:E1[l].primary,[`colorPalette${c}Border1`]:E1[l].tint40,[`colorPalette${c}Border2`]:E1[l].primary};return Object.assign(a,o)},{});xa.colorPaletteYellowForeground1=E1.yellow.shade30;xa.colorPaletteRedForegroundInverted=E1.red.tint20;xa.colorPaletteGreenForegroundInverted=E1.green.tint20;xa.colorPaletteYellowForegroundInverted=E1.yellow.tint40;var CC=lr.reduce((a,l)=>{let c=l.slice(0,1).toUpperCase()+l.slice(1),o={[`colorPalette${c}Background2`]:n7[l].tint40,[`colorPalette${c}Foreground2`]:n7[l].shade30,[`colorPalette${c}BorderActive`]:n7[l].primary};return Object.assign(a,o)},{}),CA={...xa,...CC},p4=Object.entries(t5).reduce((a,[l,c])=>{let o=l.slice(0,1).toUpperCase()+l.slice(1),r={[`colorStatus${o}Background1`]:T1[c].tint60,[`colorStatus${o}Background2`]:T1[c].tint40,[`colorStatus${o}Background3`]:T1[c].primary,[`colorStatus${o}Foreground1`]:T1[c].shade10,[`colorStatus${o}Foreground2`]:T1[c].shade30,[`colorStatus${o}Foreground3`]:T1[c].primary,[`colorStatus${o}ForegroundInverted`]:T1[c].tint30,[`colorStatus${o}BorderActive`]:T1[c].primary,[`colorStatus${o}Border1`]:T1[c].tint40,[`colorStatus${o}Border2`]:T1[c].primary};return Object.assign(a,r)},{});p4.colorStatusDangerBackground3Hover=T1[t5.danger].shade10;p4.colorStatusDangerBackground3Pressed=T1[t5.danger].shade20;p4.colorStatusWarningForeground1=T1[t5.warning].shade20;p4.colorStatusWarningForeground3=T1[t5.warning].shade20;p4.colorStatusWarningBorder2=T1[t5.warning].shade20;var LA=(a)=>({colorNeutralForeground1:B[14],colorNeutralForeground1Hover:B[14],colorNeutralForeground1Pressed:B[14],colorNeutralForeground1Selected:B[14],colorNeutralForeground2:B[26],colorNeutralForeground2Hover:B[14],colorNeutralForeground2Pressed:B[14],colorNeutralForeground2Selected:B[14],colorNeutralForeground2BrandHover:a[80],colorNeutralForeground2BrandPressed:a[70],colorNeutralForeground2BrandSelected:a[80],colorNeutralForeground3:B[38],colorNeutralForeground3Hover:B[26],colorNeutralForeground3Pressed:B[26],colorNeutralForeground3Selected:B[26],colorNeutralForeground3BrandHover:a[80],colorNeutralForeground3BrandPressed:a[70],colorNeutralForeground3BrandSelected:a[80],colorNeutralForeground4:B[44],colorNeutralForegroundDisabled:B[74],colorNeutralForegroundInvertedDisabled:E0[40],colorBrandForegroundLink:a[70],colorBrandForegroundLinkHover:a[60],colorBrandForegroundLinkPressed:a[40],colorBrandForegroundLinkSelected:a[70],colorNeutralForeground2Link:B[26],colorNeutralForeground2LinkHover:B[14],colorNeutralForeground2LinkPressed:B[14],colorNeutralForeground2LinkSelected:B[14],colorCompoundBrandForeground1:a[80],colorCompoundBrandForeground1Hover:a[70],colorCompoundBrandForeground1Pressed:a[60],colorBrandForeground1:a[80],colorBrandForeground2:a[70],colorBrandForeground2Hover:a[60],colorBrandForeground2Pressed:a[30],colorNeutralForeground1Static:B[14],colorNeutralForegroundStaticInverted:R1,colorNeutralForegroundInverted:R1,colorNeutralForegroundInvertedHover:R1,colorNeutralForegroundInvertedPressed:R1,colorNeutralForegroundInvertedSelected:R1,colorNeutralForegroundInverted2:R1,colorNeutralForegroundOnBrand:R1,colorNeutralForegroundInvertedLink:R1,colorNeutralForegroundInvertedLinkHover:R1,colorNeutralForegroundInvertedLinkPressed:R1,colorNeutralForegroundInvertedLinkSelected:R1,colorBrandForegroundInverted:a[100],colorBrandForegroundInvertedHover:a[110],colorBrandForegroundInvertedPressed:a[100],colorBrandForegroundOnLight:a[80],colorBrandForegroundOnLightHover:a[70],colorBrandForegroundOnLightPressed:a[50],colorBrandForegroundOnLightSelected:a[60],colorNeutralBackground1:R1,colorNeutralBackground1Hover:B[96],colorNeutralBackground1Pressed:B[88],colorNeutralBackground1Selected:B[92],colorNeutralBackground2:B[98],colorNeutralBackground2Hover:B[94],colorNeutralBackground2Pressed:B[86],colorNeutralBackground2Selected:B[90],colorNeutralBackground3:B[96],colorNeutralBackground3Hover:B[92],colorNeutralBackground3Pressed:B[84],colorNeutralBackground3Selected:B[88],colorNeutralBackground4:B[94],colorNeutralBackground4Hover:B[98],colorNeutralBackground4Pressed:B[96],colorNeutralBackground4Selected:R1,colorNeutralBackground5:B[92],colorNeutralBackground5Hover:B[96],colorNeutralBackground5Pressed:B[94],colorNeutralBackground5Selected:B[98],colorNeutralBackground6:B[90],colorNeutralBackgroundInverted:B[16],colorNeutralBackgroundStatic:B[20],colorNeutralBackgroundAlpha:E0[50],colorNeutralBackgroundAlpha2:E0[80],colorSubtleBackground:"transparent",colorSubtleBackgroundHover:B[96],colorSubtleBackgroundPressed:B[88],colorSubtleBackgroundSelected:B[92],colorSubtleBackgroundLightAlphaHover:E0[70],colorSubtleBackgroundLightAlphaPressed:E0[50],colorSubtleBackgroundLightAlphaSelected:"transparent",colorSubtleBackgroundInverted:"transparent",colorSubtleBackgroundInvertedHover:C5[10],colorSubtleBackgroundInvertedPressed:C5[30],colorSubtleBackgroundInvertedSelected:C5[20],colorTransparentBackground:"transparent",colorTransparentBackgroundHover:"transparent",colorTransparentBackgroundPressed:"transparent",colorTransparentBackgroundSelected:"transparent",colorNeutralBackgroundDisabled:B[94],colorNeutralBackgroundInvertedDisabled:E0[10],colorNeutralStencil1:B[90],colorNeutralStencil2:B[98],colorNeutralStencil1Alpha:C5[10],colorNeutralStencil2Alpha:C5[5],colorBackgroundOverlay:C5[40],colorScrollbarOverlay:C5[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:R1,colorBrandBackgroundInvertedHover:a[160],colorBrandBackgroundInvertedPressed:a[140],colorBrandBackgroundInvertedSelected:a[150],colorNeutralCardBackground:B[98],colorNeutralCardBackgroundHover:R1,colorNeutralCardBackgroundPressed:B[96],colorNeutralCardBackgroundSelected:B[92],colorNeutralCardBackgroundDisabled:B[94],colorNeutralStrokeAccessible:B[38],colorNeutralStrokeAccessibleHover:B[34],colorNeutralStrokeAccessiblePressed:B[30],colorNeutralStrokeAccessibleSelected:a[80],colorNeutralStroke1:B[82],colorNeutralStroke1Hover:B[78],colorNeutralStroke1Pressed:B[70],colorNeutralStroke1Selected:B[74],colorNeutralStroke2:B[88],colorNeutralStroke3:B[94],colorNeutralStrokeSubtle:B[88],colorNeutralStrokeOnBrand:R1,colorNeutralStrokeOnBrand2:R1,colorNeutralStrokeOnBrand2Hover:R1,colorNeutralStrokeOnBrand2Pressed:R1,colorNeutralStrokeOnBrand2Selected:R1,colorBrandStroke1:a[80],colorBrandStroke2:a[140],colorBrandStroke2Hover:a[120],colorBrandStroke2Pressed:a[80],colorBrandStroke2Contrast:a[140],colorCompoundBrandStroke:a[80],colorCompoundBrandStrokeHover:a[70],colorCompoundBrandStrokePressed:a[60],colorNeutralStrokeDisabled:B[88],colorNeutralStrokeInvertedDisabled:E0[40],colorTransparentStroke:"transparent",colorTransparentStrokeInteractive:"transparent",colorTransparentStrokeDisabled:"transparent",colorNeutralStrokeAlpha:C5[5],colorNeutralStrokeAlpha2:E0[20],colorStrokeFocus1:R1,colorStrokeFocus2:T6,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 Ca={borderRadiusNone:"0",borderRadiusSmall:"2px",borderRadiusMedium:"4px",borderRadiusLarge:"6px",borderRadiusXLarge:"8px",borderRadiusCircular:"10000px"};var cr={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 or={durationUltraFast:"50ms",durationFaster:"100ms",durationFast:"150ms",durationNormal:"200ms",durationGentle:"250ms",durationSlow:"300ms",durationSlower:"400ms",durationUltraSlow:"500ms"};var La={fontSizeBase100:"10px",fontSizeBase200:"12px",fontSizeBase300:"14px",fontSizeBase400:"16px",fontSizeBase500:"20px",fontSizeBase600:"24px",fontSizeHero700:"28px",fontSizeHero800:"32px",fontSizeHero900:"40px",fontSizeHero1000:"68px"},Ra={lineHeightBase100:"14px",lineHeightBase200:"16px",lineHeightBase300:"20px",lineHeightBase400:"22px",lineHeightBase500:"28px",lineHeightBase600:"32px",lineHeightHero700:"36px",lineHeightHero800:"40px",lineHeightHero900:"52px",lineHeightHero1000:"92px"},wa={fontWeightRegular:400,fontWeightMedium:500,fontWeightSemibold:600,fontWeightBold:700},Sa={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 s0={none:"0",xxs:"2px",xs:"4px",sNudge:"6px",s:"8px",mNudge:"10px",m:"12px",l:"16px",xl:"20px",xxl:"24px",xxxl:"32px"},rr={spacingHorizontalNone:s0.none,spacingHorizontalXXS:s0.xxs,spacingHorizontalXS:s0.xs,spacingHorizontalSNudge:s0.sNudge,spacingHorizontalS:s0.s,spacingHorizontalMNudge:s0.mNudge,spacingHorizontalM:s0.m,spacingHorizontalL:s0.l,spacingHorizontalXL:s0.xl,spacingHorizontalXXL:s0.xxl,spacingHorizontalXXXL:s0.xxxl},er={spacingVerticalNone:s0.none,spacingVerticalXXS:s0.xxs,spacingVerticalXS:s0.xs,spacingVerticalSNudge:s0.sNudge,spacingVerticalS:s0.s,spacingVerticalMNudge:s0.mNudge,spacingVerticalM:s0.m,spacingVerticalL:s0.l,spacingVerticalXL:s0.xl,spacingVerticalXXL:s0.xxl,spacingVerticalXXXL:s0.xxxl};var Ga={strokeWidthThin:"1px",strokeWidthThick:"2px",strokeWidthThicker:"3px",strokeWidthThickest:"4px"};var o0={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 b6(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 f3=(a)=>{let l=LA(a);return{...Ca,...La,...Ra,...Sa,...wa,...Ga,...rr,...er,...or,...cr,...l,...CA,...p4,...b6(l.colorNeutralShadowAmbient,l.colorNeutralShadowKey),...b6(l.colorBrandShadowAmbient,l.colorBrandShadowKey,"Brand")}};var RA={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 v7=ar.reduce((a,l)=>{let c=l.slice(0,1).toUpperCase()+l.slice(1),o={[`colorPalette${c}Background1`]:E1[l].shade40,[`colorPalette${c}Background2`]:E1[l].shade30,[`colorPalette${c}Background3`]:E1[l].primary,[`colorPalette${c}Foreground1`]:E1[l].tint30,[`colorPalette${c}Foreground2`]:E1[l].tint40,[`colorPalette${c}Foreground3`]:E1[l].tint20,[`colorPalette${c}BorderActive`]:E1[l].tint30,[`colorPalette${c}Border1`]:E1[l].primary,[`colorPalette${c}Border2`]:E1[l].tint20};return Object.assign(a,o)},{});v7.colorPaletteRedForeground3=E1.red.tint30;v7.colorPaletteRedBorder2=E1.red.tint30;v7.colorPaletteGreenForeground3=E1.green.tint40;v7.colorPaletteGreenBorder2=E1.green.tint40;v7.colorPaletteDarkOrangeForeground3=E1.darkOrange.tint30;v7.colorPaletteDarkOrangeBorder2=E1.darkOrange.tint30;v7.colorPaletteRedForegroundInverted=E1.red.primary;v7.colorPaletteGreenForegroundInverted=E1.green.primary;v7.colorPaletteYellowForegroundInverted=E1.yellow.shade30;var dt=lr.reduce((a,l)=>{let c=l.slice(0,1).toUpperCase()+l.slice(1),o={[`colorPalette${c}Background2`]:n7[l].shade30,[`colorPalette${c}Foreground2`]:n7[l].tint40,[`colorPalette${c}BorderActive`]:n7[l].tint30};return Object.assign(a,o)},{});dt.colorPaletteDarkRedBackground2=n7.darkRed.shade20;dt.colorPalettePlumBackground2=n7.plum.shade20;var wA={...v7,...dt},J7=Object.entries(t5).reduce((a,[l,c])=>{let o=l.slice(0,1).toUpperCase()+l.slice(1),r={[`colorStatus${o}Background1`]:T1[c].shade40,[`colorStatus${o}Background2`]:T1[c].shade30,[`colorStatus${o}Background3`]:T1[c].primary,[`colorStatus${o}Foreground1`]:T1[c].tint30,[`colorStatus${o}Foreground2`]:T1[c].tint40,[`colorStatus${o}Foreground3`]:T1[c].tint20,[`colorStatus${o}BorderActive`]:T1[c].tint30,[`colorStatus${o}ForegroundInverted`]:T1[c].shade10,[`colorStatus${o}Border1`]:T1[c].primary,[`colorStatus${o}Border2`]:T1[c].tint20};return Object.assign(a,r)},{});J7.colorStatusDangerBackground3Hover=T1[t5.danger].shade10;J7.colorStatusDangerBackground3Pressed=T1[t5.danger].shade20;J7.colorStatusDangerForeground3=T1[t5.danger].tint40;J7.colorStatusDangerBorder2=T1[t5.danger].tint30;J7.colorStatusSuccessForeground3=T1[t5.success].tint40;J7.colorStatusSuccessBorder2=T1[t5.success].tint40;J7.colorStatusWarningForegroundInverted=T1[t5.warning].shade20;var F2=f3(RA);var SA=(a)=>({colorNeutralForeground1:R1,colorNeutralForeground1Hover:R1,colorNeutralForeground1Pressed:R1,colorNeutralForeground1Selected:R1,colorNeutralForeground2:B[84],colorNeutralForeground2Hover:R1,colorNeutralForeground2Pressed:R1,colorNeutralForeground2Selected:R1,colorNeutralForeground2BrandHover:a[100],colorNeutralForeground2BrandPressed:a[90],colorNeutralForeground2BrandSelected:a[100],colorNeutralForeground3:B[68],colorNeutralForeground3Hover:B[84],colorNeutralForeground3Pressed:B[84],colorNeutralForeground3Selected:B[84],colorNeutralForeground3BrandHover:a[100],colorNeutralForeground3BrandPressed:a[90],colorNeutralForeground3BrandSelected:a[100],colorNeutralForeground4:B[60],colorNeutralForegroundDisabled:B[36],colorNeutralForegroundInvertedDisabled:E0[40],colorBrandForegroundLink:a[100],colorBrandForegroundLinkHover:a[110],colorBrandForegroundLinkPressed:a[90],colorBrandForegroundLinkSelected:a[100],colorNeutralForeground2Link:B[84],colorNeutralForeground2LinkHover:R1,colorNeutralForeground2LinkPressed:R1,colorNeutralForeground2LinkSelected:R1,colorCompoundBrandForeground1:a[100],colorCompoundBrandForeground1Hover:a[110],colorCompoundBrandForeground1Pressed:a[90],colorBrandForeground1:a[100],colorBrandForeground2:a[110],colorBrandForeground2Hover:a[130],colorBrandForeground2Pressed:a[160],colorNeutralForeground1Static:B[14],colorNeutralForegroundStaticInverted:R1,colorNeutralForegroundInverted:B[14],colorNeutralForegroundInvertedHover:B[14],colorNeutralForegroundInvertedPressed:B[14],colorNeutralForegroundInvertedSelected:B[14],colorNeutralForegroundInverted2:B[14],colorNeutralForegroundOnBrand:R1,colorNeutralForegroundInvertedLink:R1,colorNeutralForegroundInvertedLinkHover:R1,colorNeutralForegroundInvertedLinkPressed:R1,colorNeutralForegroundInvertedLinkSelected:R1,colorBrandForegroundInverted:a[80],colorBrandForegroundInvertedHover:a[70],colorBrandForegroundInvertedPressed:a[60],colorBrandForegroundOnLight:a[80],colorBrandForegroundOnLightHover:a[70],colorBrandForegroundOnLightPressed:a[50],colorBrandForegroundOnLightSelected:a[60],colorNeutralBackground1:B[16],colorNeutralBackground1Hover:B[24],colorNeutralBackground1Pressed:B[12],colorNeutralBackground1Selected:B[22],colorNeutralBackground2:B[12],colorNeutralBackground2Hover:B[20],colorNeutralBackground2Pressed:B[8],colorNeutralBackground2Selected:B[18],colorNeutralBackground3:B[8],colorNeutralBackground3Hover:B[16],colorNeutralBackground3Pressed:B[4],colorNeutralBackground3Selected:B[14],colorNeutralBackground4:B[4],colorNeutralBackground4Hover:B[12],colorNeutralBackground4Pressed:T6,colorNeutralBackground4Selected:B[10],colorNeutralBackground5:T6,colorNeutralBackground5Hover:B[8],colorNeutralBackground5Pressed:B[2],colorNeutralBackground5Selected:B[6],colorNeutralBackground6:B[20],colorNeutralBackgroundInverted:R1,colorNeutralBackgroundStatic:B[24],colorNeutralBackgroundAlpha:zM[50],colorNeutralBackgroundAlpha2:QM[70],colorSubtleBackground:"transparent",colorSubtleBackgroundHover:B[22],colorSubtleBackgroundPressed:B[18],colorSubtleBackgroundSelected:B[20],colorSubtleBackgroundLightAlphaHover:it[80],colorSubtleBackgroundLightAlphaPressed:it[50],colorSubtleBackgroundLightAlphaSelected:"transparent",colorSubtleBackgroundInverted:"transparent",colorSubtleBackgroundInvertedHover:C5[10],colorSubtleBackgroundInvertedPressed:C5[30],colorSubtleBackgroundInvertedSelected:C5[20],colorTransparentBackground:"transparent",colorTransparentBackgroundHover:"transparent",colorTransparentBackgroundPressed:"transparent",colorTransparentBackgroundSelected:"transparent",colorNeutralBackgroundDisabled:B[8],colorNeutralBackgroundInvertedDisabled:E0[10],colorNeutralStencil1:B[34],colorNeutralStencil2:B[20],colorNeutralStencil1Alpha:E0[10],colorNeutralStencil2Alpha:E0[5],colorBackgroundOverlay:C5[50],colorScrollbarOverlay:E0[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:R1,colorBrandBackgroundInvertedHover:a[160],colorBrandBackgroundInvertedPressed:a[140],colorBrandBackgroundInvertedSelected:a[150],colorNeutralCardBackground:B[20],colorNeutralCardBackgroundHover:B[24],colorNeutralCardBackgroundPressed:B[18],colorNeutralCardBackgroundSelected:B[22],colorNeutralCardBackgroundDisabled:B[8],colorNeutralStrokeAccessible:B[68],colorNeutralStrokeAccessibleHover:B[74],colorNeutralStrokeAccessiblePressed:B[70],colorNeutralStrokeAccessibleSelected:a[100],colorNeutralStroke1:B[40],colorNeutralStroke1Hover:B[46],colorNeutralStroke1Pressed:B[42],colorNeutralStroke1Selected:B[44],colorNeutralStroke2:B[32],colorNeutralStroke3:B[24],colorNeutralStrokeSubtle:B[4],colorNeutralStrokeOnBrand:B[16],colorNeutralStrokeOnBrand2:R1,colorNeutralStrokeOnBrand2Hover:R1,colorNeutralStrokeOnBrand2Pressed:R1,colorNeutralStrokeOnBrand2Selected:R1,colorBrandStroke1:a[100],colorBrandStroke2:a[50],colorBrandStroke2Hover:a[50],colorBrandStroke2Pressed:a[30],colorBrandStroke2Contrast:a[50],colorCompoundBrandStroke:a[100],colorCompoundBrandStrokeHover:a[110],colorCompoundBrandStrokePressed:a[90],colorNeutralStrokeDisabled:B[26],colorNeutralStrokeInvertedDisabled:E0[40],colorTransparentStroke:"transparent",colorTransparentStrokeInteractive:"transparent",colorTransparentStrokeDisabled:"transparent",colorNeutralStrokeAlpha:E0[10],colorNeutralStrokeAlpha2:E0[20],colorStrokeFocus1:T6,colorStrokeFocus2:R1,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 E6=(a)=>{let l=SA(a);return{...Ca,...La,...Ra,...Sa,...wa,...Ga,...rr,...er,...or,...cr,...l,...wA,...J7,...b6(l.colorNeutralShadowAmbient,l.colorNeutralShadowKey),...b6(l.colorBrandShadowAmbient,l.colorBrandShadowKey,"Brand")}};g();g();var _4={root:"fui-FluentProvider"},UC=/*@__PURE__*/oa({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);}"]}),Ua=(a)=>{let l=u2(),c=UC({dir:a.dir,renderer:l});return a.root.className=S(_4.root,a.themeClassName,c.root,a.root.className),a};var BC=V.useInsertionEffect?V.useInsertionEffect:W1,DC=(a,l)=>{if(!(a===null||a===void 0?void 0:a.head))return;let c=a.createElement("style");return Object.keys(l).forEach((o)=>{c.setAttribute(o,l[o])}),a.head.appendChild(c),c},kC=(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.")},Ba=(a)=>{let{targetDocument:l,theme:c,rendererAttributes:o}=a,r=k(void 0),e=j1(_4.root),h=o,Z=_1(()=>ha(`.${e}`,c),[c,e]);return _1(()=>{if(l){var t;let v=`.${_4.root}.${e}`,n=l.querySelectorAll(v),d=`style[id="${e}"]`,p=l.querySelectorAll(d);if(p.length>1){console.error(["@fluentui/react-provider: We found multiple <style> elements with same IDs in your DOM.","Please make sure that you configured your application properly.",`
|
|
133
133
|
`,`
|
|
134
|
-
`,"Configuration guide: https://aka.ms/fluentui-conflicting-ids"].join(" "));return}let
|
|
134
|
+
`,"Configuration guide: https://aka.ms/fluentui-conflicting-ids"].join(" "));return}let M=p.item(0);var i;let A=((i=M===null||M===void 0?void 0:(t=M.textContent)===null||t===void 0?void 0:t.length)!==null&&i!==void 0?i:0)>0?1:0;if(n.length>A)console.error(["@fluentui/react-provider: There are conflicting ids in your DOM.","Please make sure that you configured your application properly.",`
|
|
135
135
|
`,`
|
|
136
|
-
`,"Configuration guide: https://aka.ms/fluentui-conflicting-ids"].join(" "))}},[]),BC(l,r),yC(()=>{let Z=l===null||l===void 0?void 0:l.getElementById(r);if(Z)e.current=Z;else if(e.current=UC(l,{...t,id:r}),e.current)GC(e.current,h);return()=>{var i;(i=e.current)===null||i===void 0||i.remove()}},[r,l,h,t]),{styleTagId:r,rule:h}};function BC(a,l){h1(()=>{if(!a)return;let c=a.getElementById(l);if(c)a.head.append(c)})}var TC={},bC={},B8=(a,l)=>{let c=M1(),o=OC(),e=R6(),r=t1(i4)||TC,{applyStylesToPortals:t=!0,customStyleHooks_unstable:h,dir:Z=c.dir,targetDocument:i=c.targetDocument,theme:n,overrides_unstable:v={}}=a,d=MZ(o,n),m=MZ(e,v),s=MZ(r,h),p=u2();var M;let{styleTagId:u,rule:A}=G8({theme:d,targetDocument:i,rendererAttributes:(M=p.styleElementAttributes)!==null&&M!==void 0?M:bC});return j(()=>{if(d===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:t,customStyleHooks_unstable:s,dir:Z,targetDocument:i,theme:d,overrides_unstable:m,themeClassName:u,components:{root:"div"},root:w.always(a1("div",{...a,dir:Z,ref:R1(l,P7({targetDocument:i}))}),{elementType:"div"}),serverStyleProps:{cssRule:A,attributes:{...p.styleElementAttributes,id:u}}}};function MZ(a,l){if(a&&l)return{...a,...l};if(a)return a;return l}function OC(){return t1(L6)}F();function T8(a){let{applyStylesToPortals:l,customStyleHooks_unstable:c,dir:o,root:e,targetDocument:r,theme:t,themeClassName:h,overrides_unstable:Z}=a,i=p1(()=>({dir:o,targetDocument:r}),[o,r]),[n]=h1(()=>({})),v=p1(()=>({textDirection:o}),[o]);return{customStyleHooks_unstable:c,overrides_unstable:Z,provider:i,textDirection:o,iconDirection:v,tooltip:n,theme:t,themeClassName:l?e.className:h}}var s4=/*@__PURE__*/I((a,l)=>{let c=B8(a,l);U8(c);let o=T8(c);return g8(c,o)});s4.displayName="FluentProvider";F();var he=h6(BM(),1),WC=(a)=>{let l=(c)=>{let o=G(c.value),e=G(0),r=G();if(!r.current)r.current={value:o,version:e,listeners:[]};return q1(()=>{o.current=c.value,e.current+=1,he.unstable_runWithPriority(he.unstable_NormalPriority,()=>{r.current.listeners.forEach((t)=>{t([e.current,c.value])})})},[c.value]),e1(a,{value:r.current},c.children)};return l.displayName="ContextSelector.Provider",l},f2=(a)=>{let l=v1({value:{current:a},version:{current:-1},listeners:[]});return l.Provider=WC(l.Provider),delete l.Consumer,l};F();var g3=(a,l)=>{let c=t1(a),{value:{current:o},version:{current:e},listeners:r}=c,t=l(o),[h,Z]=h1([o,t]),i=(v)=>{Z((d)=>{if(!v)return[o,t];if(v[0]<=e){if(Object.is(d[1],t))return d;return[o,t]}try{if(Object.is(d[0],v[1]))return d;let m=l(v[1]);if(Object.is(d[1],m))return d;return[v[1],m]}catch(m){}return[d[0],d[1]]})};if(!Object.is(h[1],t))i(void 0);let n=$(i);return q1(()=>{return r.push(n),()=>{let v=r.indexOf(n);r.splice(v,1)}},[n,r]),h[1]};F();function _4(a){let l=t1(a);if(l.version)return l.version.current!==-1;return!1}var d7="Enter",q5=" ",b8="Tab",P6="ArrowDown";var u4="ArrowUp",_Z="End",uZ="Home",AZ="PageDown",HZ="PageUp";var VZ="Delete";var J7="Escape";F();function F2(a,l){let{disabled:c,disabledFocusable:o=!1,["aria-disabled"]:e,onClick:r,onKeyDown:t,onKeyUp:h,...Z}=l!==null&&l!==void 0?l:{},i=typeof e==="string"?e==="true":e,n=c||o||i,v=$((s)=>{if(n)s.preventDefault(),s.stopPropagation();else r===null||r===void 0||r(s)}),d=$((s)=>{if(t===null||t===void 0||t(s),s.isDefaultPrevented())return;let p=s.key;if(n&&(p===d7||p===q5)){s.preventDefault(),s.stopPropagation();return}if(p===q5){s.preventDefault();return}else if(p===d7)s.preventDefault(),s.currentTarget.click()}),m=$((s)=>{if(h===null||h===void 0||h(s),s.isDefaultPrevented())return;let p=s.key;if(n&&(p===d7||p===q5)){s.preventDefault(),s.stopPropagation();return}if(p===q5)s.preventDefault(),s.currentTarget.click()});if(a==="button"||a===void 0)return{...Z,disabled:c&&!o,"aria-disabled":o?!0:i,onClick:o?void 0:v,onKeyUp:o?void 0:h,onKeyDown:o?void 0:t};else{let s=!!Z.href,p=s?void 0:"button";if(!p&&n)p="link";let M={role:p,tabIndex:o||!s&&!c?0:void 0,...Z,onClick:v,onKeyUp:m,onKeyDown:d,"aria-disabled":n};if(a==="a"&&n)M.href=void 0;return M}}F();var R5=()=>{return},qC={controller:{active:R5,blur:R5,find:R5,first:R5,focus:R5,focusLastActive:R5,scrollActiveIntoView:R5,last:R5,next:R5,prev:R5,showAttributes:R5,hideAttributes:R5,showFocusVisibleAttributes:R5,hideFocusVisibleAttributes:R5}},gZ=v1(void 0),z6=gZ.Provider,Q6=()=>{var a;return(a=t1(gZ))!==null&&a!==void 0?a:qC},Ze=()=>!!t1(gZ);F();F();function TM(a){let{matchOption:l}=a,{targetDocument:c}=M1(),o=G(null),e=G(null),r=q((Z)=>{if(T1(Z)&&l(Z))return NodeFilter.FILTER_ACCEPT;return NodeFilter.FILTER_SKIP},[l]),t=q((Z)=>{if(Z&&c)e.current=Z,o.current=c.createTreeWalker(Z,NodeFilter.SHOW_ELEMENT,r);else e.current=null,o.current=null},[c,r]);return{optionWalker:p1(()=>({first:()=>{if(!o.current||!e.current)return null;return o.current.currentNode=e.current,o.current.firstChild()},last:()=>{if(!o.current||!e.current)return null;return o.current.currentNode=e.current,o.current.lastChild()},next:()=>{if(!o.current)return null;return o.current.nextNode()},prev:()=>{if(!o.current)return null;return o.current.previousNode()},find:(Z,i)=>{if(!o.current||!e.current)return null;let n=i?c===null||c===void 0?void 0:c.getElementById(i):null;o.current.currentNode=n!==null&&n!==void 0?n:e.current;let v=o.current.currentNode;while(v&&!Z(v.id))v=o.current.nextNode();return v},setCurrent:(Z)=>{if(!o.current)return;o.current.currentNode=Z}}),[c]),listboxCallbackRef:t}}var fZ="data-activedescendant",f3="data-activedescendant-focusvisible";var FZ=(a)=>{if(!a)return;let l=bM(a.parentElement);if(!l)return;let{offsetHeight:c}=a,o=OM(a,l),{scrollMarginTop:e,scrollMarginBottom:r}=PC(a),{offsetHeight:t,scrollTop:h}=l,Z=o-e<h,i=o+c+r>h+t,n=2;if(Z)l.scrollTo(0,o-e-n);else if(i)l.scrollTo(0,o+c+r-t+n)},bM=(a)=>{if(!a)return null;if(a.scrollHeight>a.offsetHeight)return a;return bM(a.parentElement)},OM=(a,l)=>{if(!a||a===l)return 0;if(a.contains(l))return l.offsetTop*-1;return a.offsetTop+OM(a.offsetParent,l)},PC=(a)=>{var l;let c=(l=a.ownerDocument)===null||l===void 0?void 0:l.defaultView;if(!c)return{scrollMarginTop:0,scrollMarginBottom:0};let o=c.getComputedStyle(a);var e;let r=(e=ie(o.scrollMarginTop))!==null&&e!==void 0?e:ie(o.scrollMarginBlockStart);var t;let h=(t=ie(o.scrollMarginBottom))!==null&&t!==void 0?t:ie(o.scrollMarginBlockEnd);return{scrollMarginTop:r,scrollMarginBottom:h}},ie=(a)=>{return a?parseInt(a,10):0};var EM=(a)=>new CustomEvent("activedescendantchange",{bubbles:!0,cancelable:!1,composed:!0,detail:a});function J6(a){let{imperativeRef:l,matchOption:c}=a,o=G(!1),e=G(!0),r=G(null),t=G(null),h=G(null),Z=G(!0),i=q(()=>{var H;(H=h.current)===null||H===void 0||H.removeAttribute("aria-activedescendant")},[]),n=q((H)=>{if(H)r.current=H;if(Z.current&&r.current){var g;(g=h.current)===null||g===void 0||g.setAttribute("aria-activedescendant",r.current)}},[]);E6((H)=>{o.current=H;let g=p();if(!g)return;if(H&&e.current)g.setAttribute(f3,"");else g.removeAttribute(f3)});let v=$(c),d=G(null),{optionWalker:m,listboxCallbackRef:s}=TM({matchOption:v}),p=q(()=>{var H;return(H=d.current)===null||H===void 0?void 0:H.querySelector(`#${r.current}`)},[d]),M=q((H)=>{e.current=H;let g=p();if(!g)return;if(H&&o.current)g.setAttribute(f3,"");else g.removeAttribute(f3)},[p]),u=q(()=>{let H=p();if(H)H.removeAttribute(fZ),H.removeAttribute(f3);i(),t.current=r.current,r.current=null;var g;return(g=H===null||H===void 0?void 0:H.id)!==null&&g!==void 0?g:null},[p,i]),A=q((H)=>{if(!H)return;let g=u();if(FZ(H),n(H.id),H.setAttribute(fZ,""),o.current&&e.current)H.setAttribute(f3,"");let S=EM({id:H.id,previousId:g});H.dispatchEvent(S)},[u,n]),V=p1(()=>({first:({passive:H}={})=>{let g=m.first();if(!H)A(g);return g===null||g===void 0?void 0:g.id},last:({passive:H}={})=>{let g=m.last();if(!H)A(g);return g===null||g===void 0?void 0:g.id},next:({passive:H}={})=>{let g=p();if(!g)return;m.setCurrent(g);let S=m.next();if(!H)A(S);return S===null||S===void 0?void 0:S.id},prev:({passive:H}={})=>{let g=p();if(!g)return;m.setCurrent(g);let S=m.prev();if(!H)A(S);return S===null||S===void 0?void 0:S.id},blur:()=>{u()},active:()=>{var H;return(H=p())===null||H===void 0?void 0:H.id},focus:(H)=>{if(!d.current)return;let g=d.current.querySelector(`#${H}`);if(g)A(g)},focusLastActive:()=>{if(!d.current||!t.current)return;let H=d.current.querySelector(`#${t.current}`);if(H)return A(H),!0},find(H,{passive:g,startFrom:S}={}){let C=m.find(H,S);if(!g)A(C);return C===null||C===void 0?void 0:C.id},scrollActiveIntoView:()=>{if(!d.current)return;let H=p();if(!H)return;FZ(H)},showAttributes(){Z.current=!0,n()},hideAttributes(){Z.current=!1,i()},showFocusVisibleAttributes(){M(!0)},hideFocusVisibleAttributes(){M(!1)}}),[m,d,n,i,A,u,p,M]);return Z5(l,()=>V),{listboxRef:R1(d,s),activeParentRef:h,controller:V}}F();var WM=k({root:{mc9l5x:"f1w7gpdv",Bg96gwp:"fez10in"},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);}"]});var IM=(a,l)=>{let{title:c,primaryFill:o="currentColor",...e}=a,r={...e,title:void 0,fill:o},t=WM(),h=Ph();if(r.className=D(t.root,(l===null||l===void 0?void 0:l.flipInRtl)&&(h===null||h===void 0?void 0:h.textDirection)==="rtl"&&t.rtl,r.className),c)r["aria-label"]=c;if(!r["aria-label"]&&!r["aria-labelledby"])r["aria-hidden"]=!0;else r.role="img";return r};var qM=k({root:{ycbfsm:"fg4l7m0"}},{t:["@media (forced-colors: active){.fg4l7m0{forced-color-adjust:auto;}}"]});var g1=(a,l,c,o)=>{let e=l==="1em"?"20":l,r=I((t,h)=>{let Z=qM(),i=IM(t,{flipInRtl:o===null||o===void 0?void 0:o.flipInRtl}),n={...i,className:D(i.className,Z.root),ref:h,width:l,height:l,viewBox:`0 0 ${e} ${e}`,xmlns:"http://www.w3.org/2000/svg"};if(typeof c==="string")return e1("svg",{...n,dangerouslySetInnerHTML:{__html:c}});else return e1("svg",n,...c.map((v)=>e1("path",{d:v,fill:n.fill})))});return r.displayName=a,r};var PM=/*@__PURE__*/g1("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 ve=/*@__PURE__*/g1("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 K6=/*@__PURE__*/g1("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 zM=/*@__PURE__*/g1("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 QM=/*@__PURE__*/g1("CheckmarkFilled","1em",["M7.03 13.9 3.56 10a.75.75 0 0 0-1.12 1l4 4.5c.29.32.79.34 1.09.03l10.5-10.5a.75.75 0 0 0-1.06-1.06l-9.94 9.94Z"]);var ne=/*@__PURE__*/g1("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 JM=/*@__PURE__*/g1("ChevronDownRegular","1em",["M15.85 7.65c.2.2.2.5 0 .7l-5.46 5.49a.55.55 0 0 1-.78 0L4.15 8.35a.5.5 0 1 1 .7-.7L10 12.8l5.15-5.16c.2-.2.5-.2.7 0Z"]);var de=/*@__PURE__*/g1("CircleFilled","1em",["M10 2a8 8 0 1 0 0 16 8 8 0 0 0 0-16Z"]);var KM=/*@__PURE__*/g1("DismissRegular","1em",["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 me=/*@__PURE__*/g1("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 $M=/*@__PURE__*/g1("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 YM=/*@__PURE__*/g1("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 pe=/*@__PURE__*/g1("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 XM=/*@__PURE__*/g1("TargetRegular","1em",["M10 11.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3ZM5 10a5 5 0 1 1 10 0 5 5 0 0 1-10 0Zm5-4a4 4 0 1 0 0 8 4 4 0 0 0 0-8Zm-8 4a8 8 0 1 1 16 0 8 8 0 0 1-16 0Zm8-7a7 7 0 1 0 0 14 7 7 0 0 0 0-14Z"]);var se=/*@__PURE__*/g1("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 $6=/*@__PURE__*/g1("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 NM=/*@__PURE__*/g1("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 jM=/*@__PURE__*/g1("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 Me=/*@__PURE__*/g1("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 a_=/*@__PURE__*/g1("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 l_=/*@__PURE__*/g1("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 c_=/*@__PURE__*/g1("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 o_=/*@__PURE__*/g1("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 F3=/*@__PURE__*/g1("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 e_=/*@__PURE__*/g1("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 r_=/*@__PURE__*/g1("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 m7=/*@__PURE__*/g1("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 t_=/*@__PURE__*/g1("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 h_=/*@__PURE__*/g1("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 _e=/*@__PURE__*/g1("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 Z_=/*@__PURE__*/g1("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 i_=/*@__PURE__*/g1("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 v_=/*@__PURE__*/g1("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 n_=/*@__PURE__*/g1("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 d_=/*@__PURE__*/g1("Warning20Regular","20",["M9.56 3.26a.5.5 0 0 1 .88 0l6.5 12a.5.5 0 0 1-.44.74h-13a.5.5 0 0 1-.44-.74l6.5-12Zm1.76-.47a1.5 1.5 0 0 0-2.64 0l-6.5 12A1.5 1.5 0 0 0 3.5 17h13a1.5 1.5 0 0 0 1.32-2.21l-6.5-12ZM10.5 7.5a.5.5 0 0 0-1 0v4a.5.5 0 1 0 1 0v-4Zm.25 6.25a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0Z"]);var m_=/*@__PURE__*/g1("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 p_={durationUltraFast:50,durationFaster:100,durationFast:150,durationNormal:200,durationGentle:250,durationSlow:300,durationSlower:400,durationUltraSlow:500},s_={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)"},O1={...p_,...s_};F();F();function M_(a){if(a.playState==="running"){var l;if(a.overallProgress!==void 0){var c;let h=(c=a.overallProgress)!==null&&c!==void 0?c:0;return h>0&&h<1}var o;let r=Number((o=a.currentTime)!==null&&o!==void 0?o:0);var e;let t=Number((e=(l=a.effect)===null||l===void 0?void 0:l.getTiming().duration)!==null&&e!==void 0?e:0);return r>0&&r<t}return!1}var zC={fill:"forwards"},QC={duration:1};function JC(){var a;let l=typeof window!=="undefined"&&typeof((a=window.Animation)===null||a===void 0?void 0:a.prototype.persist)==="function";return q((c,o,e)=>{let r=Array.isArray(o)?o:[o],{isReducedMotion:t}=e,h=r.map((Z)=>{let{keyframes:i,reducedMotion:n=QC,...v}=Z,{keyframes:d=i,...m}=n,s=t?d:i,p={...zC,...v,...t&&m};try{let u=c.animate(s,p);if(l)u===null||u===void 0||u.persist();else{let A=s[s.length-1];var M;Object.assign((M=c.style)!==null&&M!==void 0?M:{},A)}return u}catch(u){return null}}).filter((Z)=>!!Z);return{set playbackRate(Z){h.forEach((i)=>{i.playbackRate=Z})},setMotionEndCallbacks(Z,i){let n=h.map((v)=>{return new Promise((d,m)=>{v.onfinish=()=>d(),v.oncancel=()=>m()})});Promise.all(n).then(()=>{Z()}).catch(()=>{i()})},isRunning(){return h.some((Z)=>M_(Z))},cancel:()=>{h.forEach((Z)=>{Z.cancel()})},pause:()=>{h.forEach((Z)=>{Z.pause()})},play:()=>{h.forEach((Z)=>{Z.play()})},finish:()=>{h.forEach((Z)=>{Z.finish()})},reverse:()=>{h.forEach((Z)=>{Z.reverse()})}}},[l])}function ue(){return JC()}F();function Ae(a){let l=G();return Z5(a,()=>({setPlayState:(c)=>{if(c==="running"){var o;(o=l.current)===null||o===void 0||o.play()}if(c==="paused"){var e;(e=l.current)===null||e===void 0||e.pause()}},setPlaybackRate:(c)=>{if(l.current)l.current.playbackRate=c}})),l}F();var KC="screen and (prefers-reduced-motion: reduce)";function He(){let{targetDocument:a}=M1();var l;let c=(l=a===null||a===void 0?void 0:a.defaultView)!==null&&l!==void 0?l:null,o=G(!1),e=q(()=>o.current,[]);return q1(()=>{if(c===null||typeof c.matchMedia!=="function")return;let r=c.matchMedia(KC);if(r.matches)o.current=!0;let t=(h)=>{o.current=h.matches};return r.addEventListener("change",t),()=>{r.removeEventListener("change",t)}},[c]),e}F();var __=["@fluentui/react-motion: Invalid child element.",`
|
|
137
|
-
`,"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 Ve(a,l=!0){let c=G(null);j(()=>{if(l&&!c.current)console.error(__)},[l]);try{let o=e7.only(a);if(u5(o))return[h4(o,{ref:R1(c,s3(o))}),c]}catch{}throw new Error(__)}F();var u_=v1(void 0),SX=u_.Provider,ge=()=>{var a;return(a=t1(u_))!==null&&a!==void 0?a:"default"};function xZ(a){return(c)=>{let{children:o,imperativeRef:e,onMotionFinish:r,onMotionStart:t,onMotionCancel:h,...Z}=c,i=Z,[n,v]=Ve(o),d=Ae(e),m=ge()==="skip",s=G({skipMotions:m,params:i}),p=ue(),M=He(),u=$(()=>{t===null||t===void 0||t(null)}),A=$(()=>{r===null||r===void 0||r(null)}),V=$(()=>{h===null||h===void 0||h(null)});return q1(()=>{s.current={skipMotions:m,params:i}}),q1(()=>{let H=v.current;if(H){let g=typeof a==="function"?a({element:H,...s.current.params}):a;u();let S=p(H,g,{isReducedMotion:M()});if(d.current=S,S.setMotionEndCallbacks(A,V),s.current.skipMotions)S.finish();return()=>{S.cancel()}}},[p,v,d,M,A,u,V]),n}}F();F();var CZ=v1(void 0),bX=CZ.Provider;F();function A_(a=!1,l=!1){let c=G(l?a:!0),o=w6(),e=q((r)=>{if(c.current!==r)c.current=r,o()},[o]);return j(()=>{if(a)c.current=a}),[a||c.current,e]}var LZ=Symbol("MOTION_DEFINITION"),$C=Symbol.for("interruptablePresence");function S5(a){return Object.assign((l)=>{let o={...t1(CZ),...l},e=ge()==="skip",{appear:r,children:t,imperativeRef:h,onExit:Z,onMotionFinish:i,onMotionStart:n,onMotionCancel:v,visible:d,unmountOnExit:m,...s}=o,p=s,[M,u]=A_(d,m),[A,V]=Ve(t,M),H=Ae(h),g=G({appear:r,params:p,skipMotions:e}),S=ue(),C=D6(),E=He(),T=$((Q)=>{n===null||n===void 0||n(null,{direction:Q})}),c1=$((Q)=>{if(i===null||i===void 0||i(null,{direction:Q}),Q==="exit"&&m)u(!1),Z===null||Z===void 0||Z()}),l1=$((Q)=>{v===null||v===void 0||v(null,{direction:Q})});if(q1(()=>{g.current={appear:r,params:p,skipMotions:e}}),q1(()=>{let Q=V.current;if(!Q)return;let x;function R(){if(!x)return;if(K&&x.isRunning())return;x.cancel(),H.current=void 0}let U=typeof a==="function"?a({element:Q,...g.current.params}):a,K=U[$C];if(K){if(x=H.current,x&&x.isRunning())return x.reverse(),R}let X=d?U.enter:U.exit,i1=d?"enter":"exit",J=!g.current.appear&&C,s1=g.current.skipMotions;if(!J)T(i1);if(x=S(Q,X,{isReducedMotion:E()}),J)return x.finish(),R;if(H.current=x,x.setMotionEndCallbacks(()=>c1(i1),()=>l1(i1)),s1)x.finish();return R},[S,V,H,E,c1,T,l1,d]),M)return A;return null},{[LZ]:typeof a==="function"?a:()=>a},{In:xZ(typeof a==="function"?(...l)=>a(...l).enter:a.enter),Out:xZ(typeof a==="function"?(...l)=>a(...l).exit:a.exit)})}function YC(a,l){return(o)=>a({...l,...o})}function A4(a,l){let c=a[LZ],o=YC(c,l);return S5(o)}F();function H4(a,l){let{as:c,children:o,...e}=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 t=!l.defaultProps.visible&&l.defaultProps.unmountOnExit,h=(Z,i)=>t?null:/*@__PURE__*/e1(m1,null,i.children);return{[b7]:h,[i5]:l.elementType}}let r={...l.defaultProps,...e,[i5]:l.elementType};if(typeof o==="function")r[b7]=o;return r}var H_=(a,l)=>{let c=a==="horizontal"?"maxWidth":"maxHeight",o=a==="horizontal"?"overflowX":"overflowY",r=`${a==="horizontal"?l.scrollWidth:l.scrollHeight}px`;return{sizeName:c,overflowName:o,toSize:r}},V_=({orientation:a,duration:l,easing:c,element:o,fromSize:e="0"})=>{let{sizeName:r,overflowName:t,toSize:h}=H_(a,o);return{keyframes:[{[r]:e,[t]:"hidden"},{[r]:h,offset:0.9999,[t]:"hidden"},{[r]:"unset",[t]:"unset"}],duration:l,easing:c}},g_=({orientation:a,duration:l,easing:c,element:o,delay:e=0,fromSize:r="0"})=>{let{sizeName:t,overflowName:h,toSize:Z}=H_(a,o);return{keyframes:[{[t]:Z,[h]:"hidden"},{[t]:r,[h]:"hidden"}],duration:l,easing:c,fill:"both",delay:e}},XC=(a)=>{if(a==="horizontal")return{paddingStart:"paddingInlineStart",paddingEnd:"paddingInlineEnd",marginStart:"marginInlineStart",marginEnd:"marginInlineEnd"};return{paddingStart:"paddingBlockStart",paddingEnd:"paddingBlockEnd",marginStart:"marginBlockStart",marginEnd:"marginBlockEnd"}},RZ=({direction:a,orientation:l,duration:c,easing:o,delay:e=0})=>{let{paddingStart:r,paddingEnd:t,marginStart:h,marginEnd:Z}=XC(l),i=a==="enter"?0:1,v={keyframes:[{[r]:"0",[t]:"0",[h]:"0",[Z]:"0",offset:i}],duration:c,easing:o,delay:e};if(a==="exit")v.fill="forwards";return v};var Y6=({direction:a,duration:l,easing:c=O1.curveLinear,fromOpacity:o=0})=>{let e=[{opacity:o},{opacity:1}];if(a==="exit")e.reverse();return{keyframes:e,duration:l,easing:c}};function f_({element:a,orientation:l,animateOpacity:c,sizeDuration:o,opacityDuration:e=o,easing:r,delay:t,exitSizeDuration:h,exitOpacityDuration:Z=h,exitEasing:i,exitDelay:n}){let v=[V_({orientation:l,duration:o,easing:r,element:a}),RZ({direction:"enter",orientation:l,duration:o,easing:r})];if(c)v.push({...Y6({direction:"enter",duration:e,easing:r}),delay:t,fill:"both"});let d=[];if(c)d.push(Y6({direction:"exit",duration:Z,easing:i}));return d.push(g_({orientation:l,duration:h,easing:i,element:a,delay:n}),RZ({direction:"exit",orientation:l,duration:h,easing:i,delay:n})),{enter:v,exit:d}}var NC=({element:a,duration:l=O1.durationNormal,easing:c=O1.curveEasyEaseMax,exitDuration:o=l,exitEasing:e=c,animateOpacity:r=!0,orientation:t="vertical"})=>{return f_({element:a,orientation:t,animateOpacity:r,sizeDuration:l,opacityDuration:l,easing:c,exitSizeDuration:o,exitOpacityDuration:o,exitEasing:e,delay:0,exitDelay:0})},jC=({element:a,sizeDuration:l=O1.durationNormal,opacityDuration:c=O1.durationSlower,easing:o=O1.curveEasyEase,delay:e=O1.durationNormal,exitSizeDuration:r=l,exitOpacityDuration:t=c,exitEasing:h=o,exitDelay:Z=O1.durationSlower,animateOpacity:i=!0,orientation:n="vertical"})=>{return f_({element:a,orientation:n,animateOpacity:i,sizeDuration:l,opacityDuration:c,easing:o,delay:e,exitSizeDuration:r,exitOpacityDuration:t,exitEasing:h,exitDelay:Z})},fe=S5(NC),F_=A4(fe,{duration:O1.durationFast}),x_=A4(fe,{duration:O1.durationSlower}),Fe=S5(jC);var aL=({duration:a=O1.durationNormal,easing:l=O1.curveEasyEase,exitDuration:c=a,exitEasing:o=l})=>{return{enter:Y6({direction:"enter",duration:a,easing:l}),exit:Y6({direction:"exit",duration:c,easing:o})}},xe=S5(aL),C_=A4(xe,{duration:O1.durationFast}),Ce=A4(xe,{duration:O1.durationGentle});F();F();var O8=(a,l)=>{let{shape:c="circular",size:o="medium",iconPosition:e="before",appearance:r="filled",color:t="brand"}=a;return{shape:c,size:o,iconPosition:e,appearance:r,color:t,components:{root:"div",icon:"span"},root:w.always(a1("div",{ref:l,...a}),{elementType:"div"}),icon:w.optional(a.icon,{elementType:"span"})}};var E8={root:"fui-Badge",icon:"fui-Badge__icon"},RN=c0.spacingHorizontalXXS,lL=/*@__PURE__*/N("r1iycov","r115jdol",[".r1iycov{display:inline-flex;box-sizing:border-box;align-items:center;justify-content:center;position:relative;font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase200);font-weight:var(--fontWeightSemibold);line-height:var(--lineHeightBase200);height:20px;min-width:20px;padding:0 calc(var(--spacingHorizontalXS) + var(--spacingHorizontalXXS));border-radius:var(--borderRadiusCircular);border-color:var(--colorTransparentStroke);}",'.r1iycov::after{content:"";position:absolute;top:0;left:0;bottom:0;right:0;border-style:solid;border-color:inherit;border-width:var(--strokeWidthThin);border-radius:inherit;}',".r115jdol{display:inline-flex;box-sizing:border-box;align-items:center;justify-content:center;position:relative;font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase200);font-weight:var(--fontWeightSemibold);line-height:var(--lineHeightBase200);height:20px;min-width:20px;padding:0 calc(var(--spacingHorizontalXS) + var(--spacingHorizontalXXS));border-radius:var(--borderRadiusCircular);border-color:var(--colorTransparentStroke);}",'.r115jdol::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;border-style:solid;border-color:inherit;border-width:var(--strokeWidthThin);border-radius:inherit;}']),cL=/*@__PURE__*/k({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);}"]}),oL=/*@__PURE__*/N("rttl5z0",null,[".rttl5z0{display:flex;line-height:1;margin:0 calc(-1 * var(--spacingHorizontalXXS));font-size:12px;}"]),eL=/*@__PURE__*/k({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;}"]}),W8=(a)=>{let l=lL(),c=cL(),o=a.size==="small"||a.size==="extra-small"||a.size==="tiny";a.root.className=D(E8.root,l,o&&c.fontSmallToTiny,c[a.size],c[a.shape],a.shape==="rounded"&&o&&c.roundedSmallToTiny,a.appearance==="ghost"&&c.borderGhost,c[a.appearance],c[`${a.appearance}-${a.color}`],a.root.className);let e=oL(),r=eL();if(a.icon){let t;if(a.root.children)if(a.size==="extra-large")t=a.iconPosition==="after"?r.afterTextXL:r.beforeTextXL;else t=a.iconPosition==="after"?r.afterText:r.beforeText;a.icon.className=D(E8.icon,e,t,r[a.size],a.icon.className)}return a};var I8=(a)=>{return P(a),/*@__PURE__*/A1(a.root,{children:[a.iconPosition==="before"&&a.icon&&/*@__PURE__*/L(a.icon,{}),a.root.children,a.iconPosition==="after"&&a.icon&&/*@__PURE__*/L(a.icon,{})]})};var N0=/*@__PURE__*/I((a,l)=>{let c=O8(a,l);return W8(c),z("useBadgeStyles_unstable")(c),I8(c)});N0.displayName="Badge";F();var rL=v1(void 0);var Le=rL.Provider;F();F();function L_(a){let{clientX:l,clientY:c}=a,o=l+1,e=c+1;function r(){return{left:l,top:c,right:o,bottom:e,x:l,y:c,height:1,width:1}}return{getBoundingClientRect:r}}var SZ="data-popper-is-intersecting",DZ="data-popper-escaped",wZ="data-popper-reference-hidden",R_="data-popper-placement",q8="fui-positioningend";F();var tL=({options:a})=>{return a},S_=v1(void 0),JN=S_.Provider,D_=()=>{var a;return(a=t1(S_))!==null&&a!==void 0?a:tL};F();var w_=["top","right","bottom","left"];var{min:K7,max:D5,round:z8}=Math;var x2=(a)=>({x:a,y:a}),hL={left:"right",right:"left",bottom:"top",top:"bottom"},ZL={start:"end",end:"start"};function Se(a,l,c){return D5(a,K7(l,c))}function p7(a,l){return typeof a==="function"?a(l):a}function s7(a){return a.split("-")[0]}function V4(a){return a.split("-")[1]}function De(a){return a==="x"?"y":"x"}function we(a){return a==="y"?"height":"width"}function $7(a){return["top","bottom"].includes(s7(a))?"y":"x"}function ke(a){return De($7(a))}function k_(a,l,c){if(c===void 0)c=!1;let o=V4(a),e=ke(a),r=we(e),t=e==="x"?o===(c?"end":"start")?"right":"left":o==="start"?"bottom":"top";if(l.reference[r]>l.floating[r])t=P8(t);return[t,P8(t)]}function y_(a){let l=P8(a);return[Re(a),l,Re(l)]}function Re(a){return a.replace(/start|end/g,(l)=>ZL[l])}function iL(a,l,c){let o=["left","right"],e=["right","left"],r=["top","bottom"],t=["bottom","top"];switch(a){case"top":case"bottom":if(c)return l?e:o;return l?o:e;case"left":case"right":return l?r:t;default:return[]}}function U_(a,l,c,o){let e=V4(a),r=iL(s7(a),c==="start",o);if(e){if(r=r.map((t)=>t+"-"+e),l)r=r.concat(r.map(Re))}return r}function P8(a){return a.replace(/left|right|bottom|top/g,(l)=>hL[l])}function vL(a){return{top:0,right:0,bottom:0,left:0,...a}}function kZ(a){return typeof a!=="number"?vL(a):{top:a,right:a,bottom:a,left:a}}function g4(a){let{x:l,y:c,width:o,height:e}=a;return{width:o,height:e,top:c,left:l,right:l+o,bottom:c+e,x:l,y:c}}function G_(a,l,c){let{reference:o,floating:e}=a,r=$7(l),t=ke(l),h=we(t),Z=s7(l),i=r==="y",n=o.x+o.width/2-e.width/2,v=o.y+o.height/2-e.height/2,d=o[h]/2-e[h]/2,m;switch(Z){case"top":m={x:n,y:o.y-e.height};break;case"bottom":m={x:n,y:o.y+o.height};break;case"right":m={x:o.x+o.width,y:v};break;case"left":m={x:o.x-e.width,y:v};break;default:m={x:o.x,y:o.y}}switch(V4(l)){case"start":m[t]-=d*(c&&i?-1:1);break;case"end":m[t]+=d*(c&&i?-1:1);break}return m}var b_=async(a,l,c)=>{let{placement:o="bottom",strategy:e="absolute",middleware:r=[],platform:t}=c,h=r.filter(Boolean),Z=await(t.isRTL==null?void 0:t.isRTL(l)),i=await t.getElementRects({reference:a,floating:l,strategy:e}),{x:n,y:v}=G_(i,o,Z),d=o,m={},s=0;for(let p=0;p<h.length;p++){let{name:M,fn:u}=h[p],{x:A,y:V,data:H,reset:g}=await u({x:n,y:v,initialPlacement:o,placement:d,strategy:e,middlewareData:m,rects:i,platform:t,elements:{reference:a,floating:l}});if(n=A!=null?A:n,v=V!=null?V:v,m={...m,[M]:{...m[M],...H}},g&&s<=50){if(s++,typeof g==="object"){if(g.placement)d=g.placement;if(g.rects)i=g.rects===!0?await t.getElementRects({reference:a,floating:l,strategy:e}):g.rects;({x:n,y:v}=G_(i,d,Z))}p=-1}}return{x:n,y:v,placement:d,strategy:e,middlewareData:m}};async function f4(a,l){var c;if(l===void 0)l={};let{x:o,y:e,platform:r,rects:t,elements:h,strategy:Z}=a,{boundary:i="clippingAncestors",rootBoundary:n="viewport",elementContext:v="floating",altBoundary:d=!1,padding:m=0}=p7(l,a),s=kZ(m),M=h[d?v==="floating"?"reference":"floating":v],u=g4(await r.getClippingRect({element:((c=await(r.isElement==null?void 0:r.isElement(M)))!=null?c:!0)?M:M.contextElement||await(r.getDocumentElement==null?void 0:r.getDocumentElement(h.floating)),boundary:i,rootBoundary:n,strategy:Z})),A=v==="floating"?{x:o,y:e,width:t.floating.width,height:t.floating.height}:t.reference,V=await(r.getOffsetParent==null?void 0:r.getOffsetParent(h.floating)),H=await(r.isElement==null?void 0:r.isElement(V))?await(r.getScale==null?void 0:r.getScale(V))||{x:1,y:1}:{x:1,y:1},g=g4(r.convertOffsetParentRelativeRectToViewportRelativeRect?await r.convertOffsetParentRelativeRectToViewportRelativeRect({elements:h,rect:A,offsetParent:V,strategy:Z}):A);return{top:(u.top-g.top+s.top)/H.y,bottom:(g.bottom-u.bottom+s.bottom)/H.y,left:(u.left-g.left+s.left)/H.x,right:(g.right-u.right+s.right)/H.x}}var O_=(a)=>({name:"arrow",options:a,async fn(l){let{x:c,y:o,placement:e,rects:r,platform:t,elements:h,middlewareData:Z}=l,{element:i,padding:n=0}=p7(a,l)||{};if(i==null)return{};let v=kZ(n),d={x:c,y:o},m=ke(e),s=we(m),p=await t.getDimensions(i),M=m==="y",u=M?"top":"left",A=M?"bottom":"right",V=M?"clientHeight":"clientWidth",H=r.reference[s]+r.reference[m]-d[m]-r.floating[s],g=d[m]-r.reference[m],S=await(t.getOffsetParent==null?void 0:t.getOffsetParent(i)),C=S?S[V]:0;if(!C||!await(t.isElement==null?void 0:t.isElement(S)))C=h.floating[V]||r.floating[s];let E=H/2-g/2,T=C/2-p[s]/2-1,c1=K7(v[u],T),l1=K7(v[A],T),Q=c1,x=C-p[s]-l1,R=C/2-p[s]/2+E,U=Se(Q,R,x),K=!Z.arrow&&V4(e)!=null&&R!==U&&r.reference[s]/2-(R<Q?c1:l1)-p[s]/2<0,X=K?R<Q?R-Q:R-x:0;return{[m]:d[m]+X,data:{[m]:U,centerOffset:R-U-X,...K&&{alignmentOffset:X}},reset:K}}});var E_=function(a){if(a===void 0)a={};return{name:"flip",options:a,async fn(l){var c,o;let{placement:e,middlewareData:r,rects:t,initialPlacement:h,platform:Z,elements:i}=l,{mainAxis:n=!0,crossAxis:v=!0,fallbackPlacements:d,fallbackStrategy:m="bestFit",fallbackAxisSideDirection:s="none",flipAlignment:p=!0,...M}=p7(a,l);if((c=r.arrow)!=null&&c.alignmentOffset)return{};let u=s7(e),A=$7(h),V=s7(h)===h,H=await(Z.isRTL==null?void 0:Z.isRTL(i.floating)),g=d||(V||!p?[P8(h)]:y_(h)),S=s!=="none";if(!d&&S)g.push(...U_(h,p,s,H));let C=[h,...g],E=await f4(l,M),T=[],c1=((o=r.flip)==null?void 0:o.overflows)||[];if(n)T.push(E[u]);if(v){let R=k_(e,t,H);T.push(E[R[0]],E[R[1]])}if(c1=[...c1,{placement:e,overflows:T}],!T.every((R)=>R<=0)){var l1,Q;let R=(((l1=r.flip)==null?void 0:l1.index)||0)+1,U=C[R];if(U)return{data:{index:R,overflows:c1},reset:{placement:U}};let K=(Q=c1.filter((X)=>X.overflows[0]<=0).sort((X,i1)=>X.overflows[1]-i1.overflows[1])[0])==null?void 0:Q.placement;if(!K)switch(m){case"bestFit":{var x;let X=(x=c1.filter((i1)=>{if(S){let J=$7(i1.placement);return J===A||J==="y"}return!0}).map((i1)=>[i1.placement,i1.overflows.filter((J)=>J>0).reduce((J,s1)=>J+s1,0)]).sort((i1,J)=>i1[1]-J[1])[0])==null?void 0:x[0];if(X)K=X;break}case"initialPlacement":K=h;break}if(e!==K)return{reset:{placement:K}}}return{}}}};function B_(a,l){return{top:a.top-l.height,right:a.right-l.width,bottom:a.bottom-l.height,left:a.left-l.width}}function T_(a){return w_.some((l)=>a[l]>=0)}var W_=function(a){if(a===void 0)a={};return{name:"hide",options:a,async fn(l){let{rects:c}=l,{strategy:o="referenceHidden",...e}=p7(a,l);switch(o){case"referenceHidden":{let r=await f4(l,{...e,elementContext:"reference"}),t=B_(r,c.reference);return{data:{referenceHiddenOffsets:t,referenceHidden:T_(t)}}}case"escaped":{let r=await f4(l,{...e,altBoundary:!0}),t=B_(r,c.floating);return{data:{escapedOffsets:t,escaped:T_(t)}}}default:return{}}}}};async function nL(a,l){let{placement:c,platform:o,elements:e}=a,r=await(o.isRTL==null?void 0:o.isRTL(e.floating)),t=s7(c),h=V4(c),Z=$7(c)==="y",i=["left","top"].includes(t)?-1:1,n=r&&Z?-1:1,v=p7(l,a),{mainAxis:d,crossAxis:m,alignmentAxis:s}=typeof v==="number"?{mainAxis:v,crossAxis:0,alignmentAxis:null}:{mainAxis:v.mainAxis||0,crossAxis:v.crossAxis||0,alignmentAxis:v.alignmentAxis};if(h&&typeof s==="number")m=h==="end"?s*-1:s;return Z?{x:m*n,y:d*i}:{x:d*i,y:m*n}}var I_=function(a){if(a===void 0)a=0;return{name:"offset",options:a,async fn(l){var c,o;let{x:e,y:r,placement:t,middlewareData:h}=l,Z=await nL(l,a);if(t===((c=h.offset)==null?void 0:c.placement)&&(o=h.arrow)!=null&&o.alignmentOffset)return{};return{x:e+Z.x,y:r+Z.y,data:{...Z,placement:t}}}}},q_=function(a){if(a===void 0)a={};return{name:"shift",options:a,async fn(l){let{x:c,y:o,placement:e}=l,{mainAxis:r=!0,crossAxis:t=!1,limiter:h={fn:(M)=>{let{x:u,y:A}=M;return{x:u,y:A}}},...Z}=p7(a,l),i={x:c,y:o},n=await f4(l,Z),v=$7(s7(e)),d=De(v),m=i[d],s=i[v];if(r){let M=d==="y"?"top":"left",u=d==="y"?"bottom":"right",A=m+n[M],V=m-n[u];m=Se(A,m,V)}if(t){let M=v==="y"?"top":"left",u=v==="y"?"bottom":"right",A=s+n[M],V=s-n[u];s=Se(A,s,V)}let p=h.fn({...l,[d]:m,[v]:s});return{...p,data:{x:p.x-c,y:p.y-o,enabled:{[d]:r,[v]:t}}}}}},P_=function(a){if(a===void 0)a={};return{options:a,fn(l){let{x:c,y:o,placement:e,rects:r,middlewareData:t}=l,{offset:h=0,mainAxis:Z=!0,crossAxis:i=!0}=p7(a,l),n={x:c,y:o},v=$7(e),d=De(v),m=n[d],s=n[v],p=p7(h,l),M=typeof p==="number"?{mainAxis:p,crossAxis:0}:{mainAxis:0,crossAxis:0,...p};if(Z){let V=d==="y"?"height":"width",H=r.reference[d]-r.floating[V]+M.mainAxis,g=r.reference[d]+r.reference[V]-M.mainAxis;if(m<H)m=H;else if(m>g)m=g}if(i){var u,A;let V=d==="y"?"width":"height",H=["top","left"].includes(s7(e)),g=r.reference[v]-r.floating[V]+(H?((u=t.offset)==null?void 0:u[v])||0:0)+(H?0:M.crossAxis),S=r.reference[v]+r.reference[V]+(H?0:((A=t.offset)==null?void 0:A[v])||0)-(H?M.crossAxis:0);if(s<g)s=g;else if(s>S)s=S}return{[d]:m,[v]:s}}}},z_=function(a){if(a===void 0)a={};return{name:"size",options:a,async fn(l){var c,o;let{placement:e,rects:r,platform:t,elements:h}=l,{apply:Z=()=>{},...i}=p7(a,l),n=await f4(l,i),v=s7(e),d=V4(e),m=$7(e)==="y",{width:s,height:p}=r.floating,M,u;if(v==="top"||v==="bottom")M=v,u=d===(await(t.isRTL==null?void 0:t.isRTL(h.floating))?"start":"end")?"left":"right";else u=v,M=d==="end"?"top":"bottom";let A=p-n.top-n.bottom,V=s-n.left-n.right,H=K7(p-n[M],A),g=K7(s-n[u],V),S=!l.middlewareData.shift,C=H,E=g;if((c=l.middlewareData.shift)!=null&&c.enabled.x)E=V;if((o=l.middlewareData.shift)!=null&&o.enabled.y)C=A;if(S&&!d){let c1=D5(n.left,0),l1=D5(n.right,0),Q=D5(n.top,0),x=D5(n.bottom,0);if(m)E=s-2*(c1!==0||l1!==0?c1+l1:D5(n.left,n.right));else C=p-2*(Q!==0||x!==0?Q+x:D5(n.top,n.bottom))}await Z({...l,availableWidth:E,availableHeight:C});let T=await t.getDimensions(h.floating);if(s!==T.width||p!==T.height)return{reset:{rects:!0}};return{}}}};function Ue(){return typeof window!=="undefined"}function F4(a){if(J_(a))return(a.nodeName||"").toLowerCase();return"#document"}function w5(a){var l;return(a==null||(l=a.ownerDocument)==null?void 0:l.defaultView)||window}function M7(a){var l;return(l=(J_(a)?a.ownerDocument:a.document)||window.document)==null?void 0:l.documentElement}function J_(a){if(!Ue())return!1;return a instanceof Node||a instanceof w5(a).Node}function c2(a){if(!Ue())return!1;return a instanceof Element||a instanceof w5(a).Element}function C2(a){if(!Ue())return!1;return a instanceof HTMLElement||a instanceof w5(a).HTMLElement}function Q_(a){if(!Ue()||typeof ShadowRoot==="undefined")return!1;return a instanceof ShadowRoot||a instanceof w5(a).ShadowRoot}function X6(a){let{overflow:l,overflowX:c,overflowY:o,display:e}=o2(a);return/auto|scroll|overlay|hidden|clip/.test(l+o+c)&&!["inline","contents"].includes(e)}function K_(a){return["table","td","th"].includes(F4(a))}function Q8(a){return[":popover-open",":modal"].some((l)=>{try{return a.matches(l)}catch(c){return!1}})}function Ge(a){let l=Be(),c=c2(a)?o2(a):a;return["transform","translate","scale","rotate","perspective"].some((o)=>c[o]?c[o]!=="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((o)=>(c.willChange||"").includes(o))||["paint","layout","strict","content"].some((o)=>(c.contain||"").includes(o))}function $_(a){let l=Y7(a);while(C2(l)&&!x4(l)){if(Ge(l))return l;else if(Q8(l))return null;l=Y7(l)}return null}function Be(){if(typeof CSS==="undefined"||!CSS.supports)return!1;return CSS.supports("-webkit-backdrop-filter","none")}function x4(a){return["html","body","#document"].includes(F4(a))}function o2(a){return w5(a).getComputedStyle(a)}function J8(a){if(c2(a))return{scrollLeft:a.scrollLeft,scrollTop:a.scrollTop};return{scrollLeft:a.scrollX,scrollTop:a.scrollY}}function Y7(a){if(F4(a)==="html")return a;let l=a.assignedSlot||a.parentNode||Q_(a)&&a.host||M7(a);return Q_(l)?l.host:l}function Y_(a){let l=Y7(a);if(x4(l))return a.ownerDocument?a.ownerDocument.body:a.body;if(C2(l)&&X6(l))return l;return Y_(l)}function ye(a,l,c){var o;if(l===void 0)l=[];if(c===void 0)c=!0;let e=Y_(a),r=e===((o=a.ownerDocument)==null?void 0:o.body),t=w5(e);if(r){let h=Te(t);return l.concat(t,t.visualViewport||[],X6(e)?e:[],h&&c?ye(h):[])}return l.concat(e,ye(e,[],c))}function Te(a){return a.parent&&Object.getPrototypeOf(a.parent)?a.frameElement:null}function j_(a){let l=o2(a),c=parseFloat(l.width)||0,o=parseFloat(l.height)||0,e=C2(a),r=e?a.offsetWidth:c,t=e?a.offsetHeight:o,h=z8(c)!==r||z8(o)!==t;if(h)c=r,o=t;return{width:c,height:o,$:h}}function au(a){return!c2(a)?a.contextElement:a}function N6(a){let l=au(a);if(!C2(l))return x2(1);let c=l.getBoundingClientRect(),{width:o,height:e,$:r}=j_(l),t=(r?z8(c.width):c.width)/o,h=(r?z8(c.height):c.height)/e;if(!t||!Number.isFinite(t))t=1;if(!h||!Number.isFinite(h))h=1;return{x:t,y:h}}var dL=/*@__PURE__*/x2(0);function lu(a){let l=w5(a);if(!Be()||!l.visualViewport)return dL;return{x:l.visualViewport.offsetLeft,y:l.visualViewport.offsetTop}}function mL(a,l,c){if(l===void 0)l=!1;if(!c||l&&c!==w5(a))return!1;return l}function K8(a,l,c,o){if(l===void 0)l=!1;if(c===void 0)c=!1;let e=a.getBoundingClientRect(),r=au(a),t=x2(1);if(l)if(o){if(c2(o))t=N6(o)}else t=N6(a);let h=mL(r,c,o)?lu(r):x2(0),Z=(e.left+h.x)/t.x,i=(e.top+h.y)/t.y,n=e.width/t.x,v=e.height/t.y;if(r){let d=w5(r),m=o&&c2(o)?w5(o):o,s=d,p=Te(s);while(p&&o&&m!==s){let M=N6(p),u=p.getBoundingClientRect(),A=o2(p),V=u.left+(p.clientLeft+parseFloat(A.paddingLeft))*M.x,H=u.top+(p.clientTop+parseFloat(A.paddingTop))*M.y;Z*=M.x,i*=M.y,n*=M.x,v*=M.y,Z+=V,i+=H,s=w5(p),p=Te(s)}}return g4({width:n,height:v,x:Z,y:i})}function UZ(a,l){let c=J8(a).scrollLeft;if(!l)return K8(M7(a)).left+c;return l.left+c}function cu(a,l,c){if(c===void 0)c=!1;let o=a.getBoundingClientRect(),e=o.left+l.scrollLeft-(c?0:UZ(a,o)),r=o.top+l.scrollTop;return{x:e,y:r}}function pL(a){let{elements:l,rect:c,offsetParent:o,strategy:e}=a,r=e==="fixed",t=M7(o),h=l?Q8(l.floating):!1;if(o===t||h&&r)return c;let Z={scrollLeft:0,scrollTop:0},i=x2(1),n=x2(0),v=C2(o);if(v||!v&&!r){if(F4(o)!=="body"||X6(t))Z=J8(o);if(C2(o)){let m=K8(o);i=N6(o),n.x=m.x+o.clientLeft,n.y=m.y+o.clientTop}}let d=t&&!v&&!r?cu(t,Z,!0):x2(0);return{width:c.width*i.x,height:c.height*i.y,x:c.x*i.x-Z.scrollLeft*i.x+n.x+d.x,y:c.y*i.y-Z.scrollTop*i.y+n.y+d.y}}function sL(a){return Array.from(a.getClientRects())}function ML(a){let l=M7(a),c=J8(a),o=a.ownerDocument.body,e=D5(l.scrollWidth,l.clientWidth,o.scrollWidth,o.clientWidth),r=D5(l.scrollHeight,l.clientHeight,o.scrollHeight,o.clientHeight),t=-c.scrollLeft+UZ(a),h=-c.scrollTop;if(o2(o).direction==="rtl")t+=D5(l.clientWidth,o.clientWidth)-e;return{width:e,height:r,x:t,y:h}}function _L(a,l){let c=w5(a),o=M7(a),e=c.visualViewport,r=o.clientWidth,t=o.clientHeight,h=0,Z=0;if(e){r=e.width,t=e.height;let i=Be();if(!i||i&&l==="fixed")h=e.offsetLeft,Z=e.offsetTop}return{width:r,height:t,x:h,y:Z}}function uL(a,l){let c=K8(a,!0,l==="fixed"),o=c.top+a.clientTop,e=c.left+a.clientLeft,r=C2(a)?N6(a):x2(1),t=a.clientWidth*r.x,h=a.clientHeight*r.y,Z=e*r.x,i=o*r.y;return{width:t,height:h,x:Z,y:i}}function X_(a,l,c){let o;if(l==="viewport")o=_L(a,c);else if(l==="document")o=ML(M7(a));else if(c2(l))o=uL(l,c);else{let e=lu(a);o={x:l.x-e.x,y:l.y-e.y,width:l.width,height:l.height}}return g4(o)}function ou(a,l){let c=Y7(a);if(c===l||!c2(c)||x4(c))return!1;return o2(c).position==="fixed"||ou(c,l)}function AL(a,l){let c=l.get(a);if(c)return c;let o=ye(a,[],!1).filter((h)=>c2(h)&&F4(h)!=="body"),e=null,r=o2(a).position==="fixed",t=r?Y7(a):a;while(c2(t)&&!x4(t)){let h=o2(t),Z=Ge(t);if(!Z&&h.position==="fixed")e=null;if(r?!Z&&!e:!Z&&h.position==="static"&&!!e&&["absolute","fixed"].includes(e.position)||X6(t)&&!Z&&ou(a,t))o=o.filter((n)=>n!==t);else e=h;t=Y7(t)}return l.set(a,o),o}function HL(a){let{element:l,boundary:c,rootBoundary:o,strategy:e}=a,t=[...c==="clippingAncestors"?Q8(l)?[]:AL(l,this._c):[].concat(c),o],h=t[0],Z=t.reduce((i,n)=>{let v=X_(l,n,e);return i.top=D5(v.top,i.top),i.right=K7(v.right,i.right),i.bottom=K7(v.bottom,i.bottom),i.left=D5(v.left,i.left),i},X_(l,h,e));return{width:Z.right-Z.left,height:Z.bottom-Z.top,x:Z.left,y:Z.top}}function VL(a){let{width:l,height:c}=j_(a);return{width:l,height:c}}function gL(a,l,c){let o=C2(l),e=M7(l),r=c==="fixed",t=K8(a,!0,r,l),h={scrollLeft:0,scrollTop:0},Z=x2(0);if(o||!o&&!r){if(F4(l)!=="body"||X6(e))h=J8(l);if(o){let d=K8(l,!0,r,l);Z.x=d.x+l.clientLeft,Z.y=d.y+l.clientTop}else if(e)Z.x=UZ(e)}let i=e&&!o&&!r?cu(e,h):x2(0),n=t.left+h.scrollLeft-Z.x-i.x,v=t.top+h.scrollTop-Z.y-i.y;return{x:n,y:v,width:t.width,height:t.height}}function yZ(a){return o2(a).position==="static"}function N_(a,l){if(!C2(a)||o2(a).position==="fixed")return null;if(l)return l(a);let c=a.offsetParent;if(M7(a)===c)c=c.ownerDocument.body;return c}function eu(a,l){let c=w5(a);if(Q8(a))return c;if(!C2(a)){let e=Y7(a);while(e&&!x4(e)){if(c2(e)&&!yZ(e))return e;e=Y7(e)}return c}let o=N_(a,l);while(o&&K_(o)&&yZ(o))o=N_(o,l);if(o&&x4(o)&&yZ(o)&&!Ge(o))return c;return o||$_(a)||c}var fL=async function(a){let l=this.getOffsetParent||eu,c=this.getDimensions,o=await c(a.floating);return{reference:gL(a.reference,await l(a.floating),a.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function FL(a){return o2(a).direction==="rtl"}var xL={convertOffsetParentRelativeRectToViewportRelativeRect:pL,getDocumentElement:M7,getClippingRect:HL,getOffsetParent:eu,getElementRects:fL,getClientRects:sL,getDimensions:VL,getScale:N6,isElement:c2,isRTL:FL};var ru=f4,tu=I_;var hu=q_,Zu=E_,iu=z_,GZ=W_,vu=O_;var BZ=P_,nu=(a,l,c)=>{let o=/*@__PURE__*/new Map,e={platform:xL,...c},r={...e.platform,_c:o};return b_(a,l,{...e,platform:r})};function $8(a){let l=a.split("-");return{side:l[0],alignment:l[1]}}var du=(a)=>{if(a.nodeName==="HTML")return a;return a.parentNode||a.host},CL=(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{}},C4=(a)=>{let l=a&&du(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:o,overflowY:e}=CL(l);if(/(auto|scroll|overlay)/.test(c+e+o))return l;return C4(l)},TZ=(a)=>{var l;let c=C4(a);return c?c!==((l=c.ownerDocument)===null||l===void 0?void 0:l.body):!1};function L4(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=C4(a);if(c.nodeName==="BODY")c=a===null||a===void 0?void 0:a.ownerDocument.documentElement;return c}return l}F();function mu(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 be(a,l){if(typeof a==="number")return bZ(a,l);if(typeof a==="object"&&a!==null)return bZ(a,l);if(typeof a==="function")return(c)=>{let o=a(c);return bZ(o,l)};return{mainAxis:l}}var bZ=(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 Y8(a,l){if(typeof a==="number")return a;let{start:c,end:o,...e}=a,r=e,t=l?"end":"start",h=l?"start":"end";if(a[t])r.left=a[t];if(a[h])r.right=a[h];return r}var LL=(a)=>({above:"top",below:"bottom",before:a?"right":"left",after:a?"left":"right"}),RL=()=>({start:"start",end:"end",top:"start",bottom:"end",center:void 0}),SL=(a,l)=>{let c=a==="above"||a==="below",o=l==="top"||l==="bottom";return c&&o||!c&&!o},X8=(a,l,c)=>{let o=SL(l,a)?"center":a,e=l&&LL(c)[l],r=o&&RL()[o];if(e&&r)return`${e}-${r}`;return e};var DL=()=>({top:"above",bottom:"below",right:"after",left:"before"}),wL=(a)=>{if(a==="above"||a==="below")return{start:"start",end:"end"};return{start:"top",end:"bottom"}},N8=(a)=>{let{side:l,alignment:c}=$8(a),o=DL()[l],e=c&&wL(o)[c];return{position:o,alignment:e}};var kL={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 x3(a){if(a===void 0||a===null)return{};if(typeof a==="string")return kL[a];return a}F();function j8(a,l,c){let o=G(!0),[e]=h1(()=>({value:a,callback:l,facade:{get current(){return e.value},set current(r){let t=e.value;if(t!==r){if(e.value=r,c&&o.current)return;e.callback(r,t)}}}}));return q1(()=>{o.current=!1},[]),e.callback=l,e.facade}function OZ(a){let l;return()=>{if(!l)l=new Promise((c)=>{Promise.resolve().then(()=>{l=void 0,c(a())})});return l}}function yL(a){if(a.nodeName==="BUTTON"||a.nodeName==="INPUT"||a.nodeName==="SELECT"||a.nodeName==="TEXTAREA"){var c;return!!((c=mu(a))===null||c===void 0?void 0:c.pendingProps.autoFocus)}return!1}function EZ(a){return yL(a)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}function WZ(a){let{arrow:l,middlewareData:c}=a;if(!c.arrow||!l)return;let{x:o,y:e}=c.arrow;Object.assign(l.style,{left:o!==null&&o!==void 0?`${o}px`:"",top:e!==null&&e!==void 0?`${e}px`:""})}function IZ(a){var l,c,o;let{container:e,placement:r,middlewareData:t,strategy:h,lowPPI:Z,coordinates:i,useTransform:n=!0}=a;if(!e)return;if(e.setAttribute(R_,r),e.removeAttribute(SZ),t.intersectionObserver.intersecting)e.setAttribute(SZ,"");if(e.removeAttribute(DZ),(l=t.hide)===null||l===void 0?void 0:l.escaped)e.setAttribute(DZ,"");if(e.removeAttribute(wZ),(c=t.hide)===null||c===void 0?void 0:c.referenceHidden)e.setAttribute(wZ,"");let v=((o=e.ownerDocument.defaultView)===null||o===void 0?void 0:o.devicePixelRatio)||1,d=Math.round(i.x*v)/v,m=Math.round(i.y*v)/v;if(Object.assign(e.style,{position:h}),n){Object.assign(e.style,{transform:Z?`translate(${d}px, ${m}px)`:`translate3d(${d}px, ${m}px, 0)`});return}Object.assign(e.style,{left:`${d}px`,top:`${m}px`})}var qZ=(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 j6(a){let l=[],c=a;while(c){let o=C4(c);if(a.ownerDocument.body===o){l.push(o);break}if(o.nodeName==="BODY"&&o!==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(o),c=o}return l}function pu(a,l){return new a.ResizeObserver(l)}function su(a){let l=!1,{container:c,target:o,arrow:e,strategy:r,middleware:t,placement:h,useTransform:Z=!0,disableUpdateOnResize:i=!1}=a,n=c.ownerDocument.defaultView;if(!o||!c||!n)return{updatePosition:()=>{return},dispose:()=>{return}};let v=i?null:pu(n,(u)=>{if(u.every((V)=>{return V.contentRect.width>0&&V.contentRect.height>0}))p()}),d=!0,m=/*@__PURE__*/new Set;Object.assign(c.style,{position:"fixed",left:0,top:0,margin:0});let s=()=>{if(l)return;if(d){if(j6(c).forEach((u)=>m.add(u)),T1(o))j6(o).forEach((u)=>m.add(u));if(m.forEach((u)=>{u.addEventListener("scroll",p,{passive:!0})}),v===null||v===void 0||v.observe(c),T1(o))v===null||v===void 0||v.observe(o);d=!1}Object.assign(c.style,{position:r}),nu(o,c,{placement:h,middleware:t,strategy:r}).then(({x:u,y:A,middlewareData:V,placement:H})=>{if(l)return;WZ({arrow:e,middlewareData:V}),IZ({container:c,middlewareData:V,placement:H,coordinates:{x:u,y:A},lowPPI:((n===null||n===void 0?void 0:n.devicePixelRatio)||1)<=1,strategy:r,useTransform:Z}),c.dispatchEvent(new CustomEvent(q8))}).catch((u)=>{console.error("[usePositioning]: Failed to calculate position",u)})},p=OZ(()=>s()),M=()=>{if(l=!0,n)n.removeEventListener("scroll",p),n.removeEventListener("resize",p);m.forEach((u)=>{u.removeEventListener("scroll",p)}),m.clear(),v===null||v===void 0||v.disconnect()};if(n)n.addEventListener("scroll",p,{passive:!0}),n.addEventListener("resize",p);return p(),{updatePosition:p,dispose:M}}function Mu(a,l){var c,o;let e=a;return Boolean((e==null||(c=e.ownerDocument)==null?void 0:c.defaultView)&&e instanceof e.ownerDocument.defaultView[(o=void 0)!=null?o:"HTMLElement"])}var _u=(a)=>Boolean(Mu(a)&&"__FUIDT_ELEMENT_METADATA__"in a&&a.parentElement!==null),UL=(a)=>{let l=null,c=new MutationObserver((e)=>{if(!l)return;for(let r of e)if(r.type==="childList"&&Array.from(r.removedNodes).includes(l))o.withdraw()}),o={get selectedElement(){return l},select:(e)=>{if(_u(e))l=e,c.observe(e.parentElement,{childList:!0,subtree:!1});if(l&&e){if(l.__FUIDT_ELEMENT_METADATA__.references.has(e))return l}return o.withdraw(),l},withdraw:()=>{l=null,c.disconnect(),a.postMessage("__FUIDT_SERIALIZED_DATA_CHANGE__")}};return o},GL=(a)=>{let{defaultView:l}=a;if(!l)return;if(!l.__FUIDT_CONTROLLER__)l.__FUIDT_CONTROLLER__=UL(l)},BL=(a)=>{var l,c;return GL(a),(l=(c=a.defaultView)==null?void 0:c.__FUIDT_CONTROLLER__)!=null?l:null},TL=(a,l)=>{return JSON.parse(JSON.stringify(a,(o,e)=>{if(Mu(e))return l.add(e);if(typeof e==="object"&&e&&Object.getPrototypeOf(e)!==Object.prototype&&Object.getPrototypeOf(e)!==Array.prototype){if("toString"in e)return e.toString();return}return e}))},bL=0,OL=()=>"__FUIDT_HTML_ELEMENT_REFERENCE__:"+bL++,EL=()=>{let a=/*@__PURE__*/new Map,l=/*@__PURE__*/new WeakMap;return{add:(o)=>{if(l.has(o))return l.get(o);let e=OL();return a.set(e,o),l.set(o,e),e},get:(o)=>{let e=a.get(o);if(e&&l.has(e))return e},has:(o)=>{return l.has(o)}}},uu=function(a,l){if(a===void 0)a=document;if(l===void 0)l=WL;return{name:"@floating-ui/devtools",fn:(c)=>{let{["__FUIDT_ELEMENT_METADATA__"]:o}=_u(c.elements.floating)?c.elements.floating:Object.assign(c.elements.floating,{["__FUIDT_ELEMENT_METADATA__"]:{references:EL(),serializedData:[]}}),e=TL(l(c),o.references);o.serializedData.unshift(e);let r=BL(a);if(o.serializedData.length>1&&c.elements.floating===(r==null?void 0:r.selectedElement)){var t;(t=a.defaultView)==null||t.postMessage("__FUIDT_SERIALIZED_DATA_CHANGE__")}return{}}}},WL=(a)=>({...a,type:"FloatingUIMiddleware"});F();function PZ(){return{name:"coverTarget",fn:(a)=>{let{placement:l,rects:c,x:o,y:e}=a,r=$8(l).side,t={x:o,y:e};switch(r){case"bottom":t.y-=c.reference.height;break;case"top":t.y+=c.reference.height;break;case"left":t.x+=c.reference.width;break;case"right":t.x-=c.reference.width;break}return t}}}function zZ(a){let{hasScrollableElement:l,flipBoundary:c,container:o,fallbackPositions:e=[],isRtl:r}=a,t=e.reduce((h,Z)=>{let{position:i,align:n}=x3(Z),v=X8(n,i,r);if(v)h.push(v);return h},[]);return Zu({...l&&{boundary:"clippingAncestors"},...c&&{altBoundary:!0,boundary:L4(o,c)},fallbackStrategy:"bestFit",...t.length&&{fallbackPlacements:t}})}function QZ(){return{name:"intersectionObserver",fn:async(a)=>{let l=a.rects.floating,c=await ru(a,{altBoundary:!0}),o=c.top<l.height&&c.top>0,e=c.bottom<l.height&&c.bottom>0;return{data:{intersecting:o||e}}}}}var JZ=(a)=>({name:"resetMaxSize",fn({middlewareData:l,elements:c}){var o;if((o=l.resetMaxSize)===null||o===void 0?void 0:o.maxSizeAlreadyReset)return{};let{applyMaxWidth:e,applyMaxHeight:r}=a;if(e)c.floating.style.removeProperty("box-sizing"),c.floating.style.removeProperty("max-width"),c.floating.style.removeProperty("width");if(r)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 KZ(a,l){let{container:c,overflowBoundary:o,overflowBoundaryPadding:e,isRtl:r}=l;return iu({...e&&{padding:Y8(e,r)},...o&&{altBoundary:!0,boundary:L4(c,o)},apply({availableHeight:t,availableWidth:h,elements:Z,rects:i}){let n=(m,s,p)=>{if(!m)return;if(Z.floating.style.setProperty("box-sizing","border-box"),Z.floating.style.setProperty(`max-${s}`,`${p}px`),i.floating[s]>p){Z.floating.style.setProperty(s,`${p}px`);let M=s==="width"?"x":"y";if(!Z.floating.style.getPropertyValue(`overflow-${M}`))Z.floating.style.setProperty(`overflow-${M}`,"auto")}},{applyMaxWidth:v,applyMaxHeight:d}=a;n(v,"width",h),n(d,"height",t)}})}function Au(a){if(!a)return a;if(typeof a==="number"||typeof a==="object")return a;return({rects:{floating:l,reference:c},placement:o})=>{let{position:e,alignment:r}=N8(o);return a({positionedRect:l,targetRect:c,position:e,alignment:r})}}function $Z(a){let l=Au(a);return tu(l)}function YZ(a){let{hasScrollableElement:l,shiftToCoverTarget:c,disableTether:o,overflowBoundary:e,container:r,overflowBoundaryPadding:t,isRtl:h}=a;return hu({...l&&{boundary:"clippingAncestors"},...c&&{crossAxis:!0,limiter:BZ({crossAxis:!0,mainAxis:!1})},...o&&{crossAxis:o==="all",limiter:BZ({crossAxis:o!=="all",mainAxis:!1})},...t&&{padding:Y8(t,h)},...e&&{altBoundary:!0,boundary:L4(r,e)}})}function XZ(){return{name:"matchTargetSize",fn:async(a)=>{let{rects:{reference:l,floating:c},elements:{floating:o},middlewareData:{matchTargetSize:{matchTargetSizeAttempt:e=!1}={}}}=a;if(l.width===c.width||e)return{};let{width:r}=l;if(o.style.setProperty("--fui-match-target-size",`${r}px`),!o.style.width)o.style.width="var(--fui-match-target-size)";return{data:{matchTargetSizeAttempt:!0},reset:{rects:!0}}}}}var Hu=(a)=>(l)=>{let{elements:{floating:c,reference:o}}=l,e=/*@__PURE__*/new Set;if(T1(o))j6(o).forEach((h)=>e.add(h));j6(c).forEach((h)=>e.add(h));let r=Array.isArray(a.flipBoundary)?a.flipBoundary:T1(a.flipBoundary)?[a.flipBoundary]:[],t=Array.isArray(a.overflowBoundary)?a.overflowBoundary:T1(a.overflowBoundary)?[a.overflowBoundary]:[];return{type:"FluentUIMiddleware",middlewareState:l,options:a,initialPlacement:N8(l.initialPlacement),placement:N8(l.placement),flipBoundaries:r,overflowBoundaries:t,scrollParents:Array.from(e)}};function IL(a,l){let{align:c,arrowPadding:o,autoSize:e,coverTarget:r,disableUpdateOnResize:t,flipBoundary:h,offset:Z,overflowBoundary:i,pinned:n,position:v,unstable_disableTether:d,strategy:m,overflowBoundaryPadding:s,fallbackPositions:p,useTransform:M,matchTargetSize:u,shiftToCoverTarget:A}=l;return q((V,H)=>{return a({container:V,arrow:H,options:{autoSize:e,disableUpdateOnResize:t,matchTargetSize:u,offset:Z,strategy:m,coverTarget:r,flipBoundary:h,overflowBoundary:i,useTransform:M,overflowBoundaryPadding:s,pinned:n,arrowPadding:o,align:c,fallbackPositions:p,shiftToCoverTarget:A,position:v,unstable_disableTether:d}})},[e,t,u,Z,m,r,h,i,M,s,n,o,c,p,A,v,d,a])}function Vu(a){let{dir:l,targetDocument:c}=M1(),o=l==="rtl",e=IL(D_(),a),{positionFixed:r}=a;return q((t,h)=>{let Z=TZ(t),i=e(t,h),{autoSize:n,disableUpdateOnResize:v,matchTargetSize:d,offset:m,coverTarget:s,flipBoundary:p,overflowBoundary:M,useTransform:u,overflowBoundaryPadding:A,pinned:V,position:H,arrowPadding:g,strategy:S,align:C,fallbackPositions:E,shiftToCoverTarget:T,unstable_disableTether:c1}=i,l1=qZ(n),Q=[l1&&JZ(l1),d&&XZ(),m&&$Z(m),s&&PZ(),!V&&zZ({container:t,flipBoundary:p,hasScrollableElement:Z,isRtl:o,fallbackPositions:E}),YZ({container:t,hasScrollableElement:Z,overflowBoundary:M,disableTether:c1,overflowBoundaryPadding:A,isRtl:o,shiftToCoverTarget:T}),l1&&KZ(l1,{container:t,overflowBoundary:M,overflowBoundaryPadding:A,isRtl:o}),QZ(),h&&vu({element:h,padding:g}),GZ({strategy:"referenceHidden"}),GZ({strategy:"escaped"}),c&&uu(c,Hu(i))].filter(Boolean);return{placement:X8(C,H,o),middleware:Q,strategy:(S!==null&&S!==void 0?S:r)?"fixed":"absolute",disableUpdateOnResize:v,useTransform:u}},[e,o,c,r])}function al(a){let l=G(null),c=G(null),o=G(null),e=G(null),r=G(null),{enabled:t=!0}=a,h=Vu(a),Z=q(()=>{if(l.current)l.current.dispose();l.current=null;var s;let p=(s=o.current)!==null&&s!==void 0?s:c.current;if(t&&p3()&&p&&e.current)l.current=su({container:e.current,target:p,arrow:r.current,...h(e.current,r.current)})},[t,h]),i=$((s)=>{o.current=s,Z()});Z5(a.positioningRef,()=>({updatePosition:()=>{var s;return(s=l.current)===null||s===void 0?void 0:s.updatePosition()},setTarget:(s)=>{if(a.target){let p=new Error;console.warn("Imperative setTarget should not be used at the same time as target option"),console.warn(p.stack)}i(s)}}),[a.target,i]),q1(()=>{var s;i((s=a.target)!==null&&s!==void 0?s:null)},[a.target,i]),q1(()=>{Z()},[Z]),j(()=>{if(e.current){var s;let p=e.current,M=(s=p.ownerDocument)===null||s===void 0?void 0:s.createTreeWalker(p,NodeFilter.SHOW_ELEMENT,{acceptNode:EZ});while(M.nextNode()){let u=M.currentNode;console.warn("usePositioning():",u),console.warn(['usePositioning(): ^ this node contains "autoFocus" prop on a React element. This can break the initial',"positioning of an element and cause a window jump effect. This issue occurs because React polyfills",'"autoFocus" behavior to solve inconsistencies between different browsers:',"https://github.com/facebook/react/issues/11851#issuecomment-351787078",`
|
|
136
|
+
`,"Configuration guide: https://aka.ms/fluentui-conflicting-ids"].join(" "))}},[]),yC(l,e),BC(()=>{let t=l===null||l===void 0?void 0:l.getElementById(e);if(t)r.current=t;else if(r.current=DC(l,{...h,id:e}),r.current)kC(r.current,Z);return()=>{var i;(i=r.current)===null||i===void 0||i.remove()}},[e,l,Z,h]),{styleTagId:e,rule:Z}};function yC(a,l){t1(()=>{if(!a)return;let c=a.getElementById(l);if(c)a.head.append(c)})}var OC={},PC={},Da=(a,l)=>{let c=A1(),o=TC(),r=C6(),e=e1(i4)||OC,{applyStylesToPortals:h=!0,customStyleHooks_unstable:Z,dir:t=c.dir,targetDocument:i=c.targetDocument,theme:v,overrides_unstable:n={}}=a,d=Mt(o,v),p=Mt(r,n),M=Mt(e,Z),_=u2();var A;let{styleTagId:m,rule:u}=Ba({theme:d,targetDocument:i,rendererAttributes:(A=_.styleElementAttributes)!==null&&A!==void 0?A:PC});return N(()=>{if(d===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:h,customStyleHooks_unstable:M,dir:t,targetDocument:i,theme:d,overrides_unstable:p,themeClassName:m,components:{root:"div"},root:G.always(a1("div",{...a,dir:t,ref:w1(l,z7({targetDocument:i}))}),{elementType:"div"}),serverStyleProps:{cssRule:u,attributes:{..._.styleElementAttributes,id:m}}}};function Mt(a,l){if(a&&l)return{...a,...l};if(a)return a;return l}function TC(){return e1(x6)}g();function ka(a){let{applyStylesToPortals:l,customStyleHooks_unstable:c,dir:o,root:r,targetDocument:e,theme:h,themeClassName:Z,overrides_unstable:t}=a,i=_1(()=>({dir:o,targetDocument:e}),[o,e]),[v]=t1(()=>({})),n=_1(()=>({textDirection:o}),[o]);return{customStyleHooks_unstable:c,overrides_unstable:t,provider:i,textDirection:o,iconDirection:n,tooltip:v,theme:h,themeClassName:l?r.className:Z}}var M4=/*@__PURE__*/q((a,l)=>{let c=Da(a,l);Ua(c);let o=ka(c);return Ha(c,o)});M4.displayName="FluentProvider";g();var hr=h6(PA(),1),EC=(a)=>{let l=(c)=>{let o=k(c.value),r=k(0),e=k(null);if(!e.current)e.current={value:o,version:r,listeners:[]};return W1(()=>{o.current=c.value,r.current+=1,hr.unstable_runWithPriority(hr.unstable_NormalPriority,()=>{e.current.listeners.forEach((h)=>{h([r.current,c.value])})})},[c.value]),o1(a,{value:e.current},c.children)};return l.displayName="ContextSelector.Provider",l},g2=(a)=>{let l=Z1({value:{current:a},version:{current:-1},listeners:[]});return l.Provider=EC(l.Provider),delete l.Consumer,l};g();var V3=(a,l)=>{let c=e1(a),{value:{current:o},version:{current:r},listeners:e}=c,h=l(o),[Z,t]=t1([o,h]),i=(n)=>{t((d)=>{if(!n)return[o,h];if(n[0]<=r){if(Object.is(d[1],h))return d;return[o,h]}try{if(Object.is(d[0],n[1]))return d;let p=l(n[1]);if(Object.is(d[1],p))return d;return[n[1],p]}catch(p){}return[d[0],d[1]]})};if(!Object.is(Z[1],h))i(void 0);let v=Y(i);return W1(()=>{return e.push(v),()=>{let n=e.indexOf(v);e.splice(n,1)}},[v,e]),Z[1]};g();function m4(a){let l=e1(a);if(l.version)return l.version.current!==-1;return!1}var d7="Enter",E5=" ",ya="Tab",q6="ArrowDown";var s4="ArrowUp",At="End",mt="Home",st="PageDown",ut="PageUp";var Ht="Delete";var I7="Escape";g();function x2(a,l){let{disabled:c,disabledFocusable:o=!1,["aria-disabled"]:r,onClick:e,onKeyDown:h,onKeyUp:Z,...t}=l!==null&&l!==void 0?l:{},i=typeof r==="string"?r==="true":r,v=c||o||i,n=Y((M)=>{if(v)M.preventDefault(),M.stopPropagation();else e===null||e===void 0||e(M)}),d=Y((M)=>{if(h===null||h===void 0||h(M),M.isDefaultPrevented())return;let _=M.key;if(v&&(_===d7||_===E5)){M.preventDefault(),M.stopPropagation();return}if(_===E5){M.preventDefault();return}else if(_===d7)M.preventDefault(),M.currentTarget.click()}),p=Y((M)=>{if(Z===null||Z===void 0||Z(M),M.isDefaultPrevented())return;let _=M.key;if(v&&(_===d7||_===E5)){M.preventDefault(),M.stopPropagation();return}if(_===E5)M.preventDefault(),M.currentTarget.click()});if(a==="button"||a===void 0)return{...t,disabled:c&&!o,"aria-disabled":o?!0:i,onClick:o?void 0:n,onKeyUp:o?void 0:Z,onKeyDown:o?void 0:h};else{let M=!!t.href,_=M?void 0:"button";if(!_&&v)_="link";let A={role:_,tabIndex:o||!M&&!c?0:void 0,...t,onClick:n,onKeyUp:p,onKeyDown:d,"aria-disabled":v};if(a==="a"&&v)A.href=void 0;return A}}g();var L5=()=>{return},WC={controller:{active:L5,blur:L5,find:L5,first:L5,focus:L5,focusLastActive:L5,scrollActiveIntoView:L5,last:L5,next:L5,prev:L5,showAttributes:L5,hideAttributes:L5,showFocusVisibleAttributes:L5,hideFocusVisibleAttributes:L5}},ft=Z1(void 0),W6=ft.Provider,z6=()=>{var a;return(a=e1(ft))!==null&&a!==void 0?a:WC},Zr=()=>!!e1(ft);g();g();function TA(a){let{matchOption:l}=a,{targetDocument:c}=A1(),o=k(null),r=k(null),e=W((t)=>{if(P1(t)&&l(t))return NodeFilter.FILTER_ACCEPT;return NodeFilter.FILTER_SKIP},[l]),h=W((t)=>{if(t&&c)r.current=t,o.current=c.createTreeWalker(t,NodeFilter.SHOW_ELEMENT,e);else r.current=null,o.current=null},[c,e]);return{optionWalker:_1(()=>({first:()=>{if(!o.current||!r.current)return null;return o.current.currentNode=r.current,o.current.firstChild()},last:()=>{if(!o.current||!r.current)return null;return o.current.currentNode=r.current,o.current.lastChild()},next:()=>{if(!o.current)return null;return o.current.nextNode()},prev:()=>{if(!o.current)return null;return o.current.previousNode()},find:(t,i)=>{if(!o.current||!r.current)return null;let v=i?c===null||c===void 0?void 0:c.getElementById(i):null;o.current.currentNode=v!==null&&v!==void 0?v:r.current;let n=o.current.currentNode;while(n&&!t(n.id))n=o.current.nextNode();return n},setCurrent:(t)=>{if(!o.current)return;o.current.currentNode=t}}),[c]),listboxCallbackRef:h}}var Vt="data-activedescendant",F3="data-activedescendant-focusvisible";var Ft=(a)=>{if(!a)return;let l=bA(a.parentElement);if(!l)return;let{offsetHeight:c}=a,o=EA(a,l),{scrollMarginTop:r,scrollMarginBottom:e}=zC(a),{offsetHeight:h,scrollTop:Z}=l,t=o-r<Z,i=o+c+e>Z+h,v=2;if(t)l.scrollTo(0,o-r-v);else if(i)l.scrollTo(0,o+c+e-h+v)},bA=(a)=>{if(!a)return null;if(a.scrollHeight>a.offsetHeight)return a;return bA(a.parentElement)},EA=(a,l)=>{if(!a||a===l)return 0;if(a.contains(l))return l.offsetTop*-1;return a.offsetTop+EA(a.offsetParent,l)},zC=(a)=>{var l;let c=(l=a.ownerDocument)===null||l===void 0?void 0:l.defaultView;if(!c)return{scrollMarginTop:0,scrollMarginBottom:0};let o=c.getComputedStyle(a);var r;let e=(r=tr(o.scrollMarginTop))!==null&&r!==void 0?r:tr(o.scrollMarginBlockStart);var h;let Z=(h=tr(o.scrollMarginBottom))!==null&&h!==void 0?h:tr(o.scrollMarginBlockEnd);return{scrollMarginTop:e,scrollMarginBottom:Z}},tr=(a)=>{return a?parseInt(a,10):0};var qA=(a)=>new CustomEvent("activedescendantchange",{bubbles:!0,cancelable:!1,composed:!0,detail:a});function Q6(a){let{imperativeRef:l,matchOption:c}=a,o=k(!1),r=k(!0),e=k(null),h=k(null),Z=k(null),t=k(!0),i=W(()=>{var H;(H=Z.current)===null||H===void 0||H.removeAttribute("aria-activedescendant")},[]),v=W((H)=>{if(H)e.current=H;if(t.current&&e.current){var F;(F=Z.current)===null||F===void 0||F.setAttribute("aria-activedescendant",e.current)}},[]);P6((H)=>{o.current=H;let F=_();if(!F)return;if(H&&r.current)F.setAttribute(F3,"");else F.removeAttribute(F3)});let n=Y(c),d=k(null),{optionWalker:p,listboxCallbackRef:M}=TA({matchOption:n}),_=W(()=>{var H;return(H=d.current)===null||H===void 0?void 0:H.querySelector(`#${e.current}`)},[d]),A=W((H)=>{r.current=H;let F=_();if(!F)return;if(H&&o.current)F.setAttribute(F3,"");else F.removeAttribute(F3)},[_]),m=W(()=>{let H=_();if(H)H.removeAttribute(Vt),H.removeAttribute(F3);i(),h.current=e.current,e.current=null;var F;return(F=H===null||H===void 0?void 0:H.id)!==null&&F!==void 0?F:null},[_,i]),u=W((H)=>{if(!H)return;let F=m();if(Ft(H),v(H.id),H.setAttribute(Vt,""),o.current&&r.current)H.setAttribute(F3,"");let R=qA({id:H.id,previousId:F});H.dispatchEvent(R)},[m,v]),f=_1(()=>({first:({passive:H}={})=>{let F=p.first();if(!H)u(F);return F===null||F===void 0?void 0:F.id},last:({passive:H}={})=>{let F=p.last();if(!H)u(F);return F===null||F===void 0?void 0:F.id},next:({passive:H}={})=>{let F=_();if(!F)return;p.setCurrent(F);let R=p.next();if(!H)u(R);return R===null||R===void 0?void 0:R.id},prev:({passive:H}={})=>{let F=_();if(!F)return;p.setCurrent(F);let R=p.prev();if(!H)u(R);return R===null||R===void 0?void 0:R.id},blur:()=>{m()},active:()=>{var H;return(H=_())===null||H===void 0?void 0:H.id},focus:(H)=>{if(!d.current)return;let F=d.current.querySelector(`#${H}`);if(F)u(F)},focusLastActive:()=>{if(!d.current||!h.current)return;let H=d.current.querySelector(`#${h.current}`);if(H)return u(H),!0},find(H,{passive:F,startFrom:R}={}){let C=p.find(H,R);if(!F)u(C);return C===null||C===void 0?void 0:C.id},scrollActiveIntoView:()=>{if(!d.current)return;let H=_();if(!H)return;Ft(H)},showAttributes(){t.current=!0,v()},hideAttributes(){t.current=!1,i()},showFocusVisibleAttributes(){A(!0)},hideFocusVisibleAttributes(){A(!1)}}),[p,d,v,i,u,m,_,A]);return h5(l,()=>f),{listboxRef:w1(d,M),activeParentRef:Z,controller:f}}g();var WA=U({root:{mc9l5x:"f1w7gpdv",Bg96gwp:"fez10in"},rtl:{Bz10aip:"f13rod7r"}},{d:[".f1w7gpdv{display:inline;}",".fez10in{line-height:0;}",".f13rod7r{transform:scaleX(-1);}"]});var zA=(a,l)=>{let{title:c,primaryFill:o="currentColor",...r}=a,e={...r,title:void 0,fill:o},h=WA(),Z=WZ();if(e.className=S(h.root,(l===null||l===void 0?void 0:l.flipInRtl)&&(Z===null||Z===void 0?void 0:Z.textDirection)==="rtl"&&h.rtl,e.className),c)e["aria-label"]=c;if(!e["aria-label"]&&!e["aria-labelledby"])e["aria-hidden"]=!0;else e.role="img";return e};var QA=U({root:{B8gzw0y:"f1dd5bof"}},{m:[["@media (forced-colors: active){.f1dd5bof{forced-color-adjust:auto;}}",{m:"(forced-colors: active)"}]]});var m1=(a,l,c,o)=>{let r=l==="1em"?"20":l,e=q((h,Z)=>{let t=QA(),i=zA(h,{flipInRtl:o===null||o===void 0?void 0:o.flipInRtl}),v={...i,className:S(i.className,t.root),ref:Z,width:l,height:l,viewBox:`0 0 ${r} ${r}`,xmlns:"http://www.w3.org/2000/svg"};if(typeof c==="string")return o1("svg",{...v,dangerouslySetInnerHTML:{__html:c}});else return o1("svg",v,...c.map((n)=>o1("path",{d:n,fill:v.fill})))});return e.displayName=a,e};var JA=/*@__PURE__*/m1("TargetRegular","1em",["M10 11.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3ZM5 10a5 5 0 1 1 10 0 5 5 0 0 1-10 0Zm5-4a4 4 0 1 0 0 8 4 4 0 0 0 0-8Zm-8 4a8 8 0 1 1 16 0 8 8 0 0 1-16 0Zm8-7a7 7 0 1 0 0 14 7 7 0 0 0 0-14Z"]);var ir=/*@__PURE__*/m1("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 nr=/*@__PURE__*/m1("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 vr=/*@__PURE__*/m1("CircleFilled","1em",["M10 2a8 8 0 1 0 0 16 8 8 0 0 0 0-16Z"]);var IA=/*@__PURE__*/m1("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 $A=/*@__PURE__*/m1("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 dr=/*@__PURE__*/m1("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 J6=/*@__PURE__*/m1("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 YA=/*@__PURE__*/m1("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 XA=/*@__PURE__*/m1("CheckmarkFilled","1em",["M7.03 13.9 3.56 10a.75.75 0 0 0-1.12 1l4 4.5c.29.32.79.34 1.09.03l10.5-10.5a.75.75 0 0 0-1.06-1.06l-9.94 9.94Z"]);var pr=/*@__PURE__*/m1("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 KA=/*@__PURE__*/m1("ChevronDownRegular","1em",["M15.85 7.65c.2.2.2.5 0 .7l-5.46 5.49a.55.55 0 0 1-.78 0L4.15 8.35a.5.5 0 1 1 .7-.7L10 12.8l5.15-5.16c.2-.2.5-.2.7 0Z"]);var jA=/*@__PURE__*/m1("DismissRegular","1em",["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 _r=/*@__PURE__*/m1("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 NA=/*@__PURE__*/m1("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 am=/*@__PURE__*/m1("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 lm=/*@__PURE__*/m1("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 cm=/*@__PURE__*/m1("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 om=/*@__PURE__*/m1("Warning20Regular","20",["M9.56 3.26a.5.5 0 0 1 .88 0l6.5 12a.5.5 0 0 1-.44.74h-13a.5.5 0 0 1-.44-.74l6.5-12Zm1.76-.47a1.5 1.5 0 0 0-2.64 0l-6.5 12A1.5 1.5 0 0 0 3.5 17h13a1.5 1.5 0 0 0 1.32-2.21l-6.5-12ZM10.5 7.5a.5.5 0 0 0-1 0v4a.5.5 0 1 0 1 0v-4Zm.25 6.25a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0Z"]);var rm=/*@__PURE__*/m1("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 Mr=/*@__PURE__*/m1("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 I6=/*@__PURE__*/m1("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 em=/*@__PURE__*/m1("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 Ar=/*@__PURE__*/m1("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 hm=/*@__PURE__*/m1("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 Zm=/*@__PURE__*/m1("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 tm=/*@__PURE__*/m1("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 im=/*@__PURE__*/m1("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 nm=/*@__PURE__*/m1("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 vm=/*@__PURE__*/m1("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 dm=/*@__PURE__*/m1("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 g3=/*@__PURE__*/m1("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 pm=/*@__PURE__*/m1("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 _m=/*@__PURE__*/m1("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 p7=/*@__PURE__*/m1("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 Mm=/*@__PURE__*/m1("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 Am={durationUltraFast:50,durationFaster:100,durationFast:150,durationNormal:200,durationGentle:250,durationSlow:300,durationSlower:400,durationUltraSlow:500},mm={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)"},C1={...Am,...mm};g();g();function sm(a){if(a.playState==="running"){var l;if(a.overallProgress!==void 0){var c;let Z=(c=a.overallProgress)!==null&&c!==void 0?c:0;return Z>0&&Z<1}var o;let e=Number((o=a.currentTime)!==null&&o!==void 0?o:0);var r;let h=Number((r=(l=a.effect)===null||l===void 0?void 0:l.getTiming().duration)!==null&&r!==void 0?r:0);return e>0&&e<h}return!1}var QC={fill:"forwards"},JC={duration:1};function IC(){var a;let l=typeof window<"u"&&typeof((a=window.Animation)===null||a===void 0?void 0:a.prototype.persist)==="function";return W((c,o,r)=>{let e=Array.isArray(o)?o:[o],{isReducedMotion:h}=r,Z=e.map((t)=>{let{keyframes:i,reducedMotion:v=JC,...n}=t,{keyframes:d=i,...p}=v,M=h?d:i,_={...QC,...n,...h&&p};try{let m=c.animate(M,_);if(l)m===null||m===void 0||m.persist();else{let u=M[M.length-1];var A;Object.assign((A=c.style)!==null&&A!==void 0?A:{},u)}return m}catch(m){return null}}).filter((t)=>!!t);return{set playbackRate(t){Z.forEach((i)=>{i.playbackRate=t})},setMotionEndCallbacks(t,i){let v=Z.map((n)=>{return new Promise((d,p)=>{n.onfinish=()=>d(),n.oncancel=()=>p()})});Promise.all(v).then(()=>{t()}).catch(()=>{i()})},isRunning(){return Z.some((t)=>sm(t))},cancel:()=>{Z.forEach((t)=>{t.cancel()})},pause:()=>{Z.forEach((t)=>{t.pause()})},play:()=>{Z.forEach((t)=>{t.play()})},finish:()=>{Z.forEach((t)=>{t.finish()})},reverse:()=>{Z.forEach((t)=>{t.reverse()})}}},[l])}function mr(){return IC()}g();function sr(a){let l=k(void 0);return h5(a,()=>({setPlayState:(c)=>{if(c==="running"){var o;(o=l.current)===null||o===void 0||o.play()}if(c==="paused"){var r;(r=l.current)===null||r===void 0||r.pause()}},setPlaybackRate:(c)=>{if(l.current)l.current.playbackRate=c}})),l}g();var $C="screen and (prefers-reduced-motion: reduce)";function ur(){let{targetDocument:a}=A1();var l;let c=(l=a===null||a===void 0?void 0:a.defaultView)!==null&&l!==void 0?l:null,o=k(!1),r=W(()=>o.current,[]);return W1(()=>{if(c===null||typeof c.matchMedia!=="function")return;let e=c.matchMedia($C);if(e.matches)o.current=!0;let h=(Z)=>{o.current=Z.matches};return e.addEventListener("change",h),()=>{e.removeEventListener("change",h)}},[c]),r}g();var um=["@fluentui/react-motion: Invalid child element.",`
|
|
137
|
+
`,"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 Hr(a,l=!0){let c=k(null);N(()=>{if(l&&!c.current)console.error(um)},[l]);try{let o=l2.only(a);if(m5(o))return[Z4(o,{ref:w1(c,M3(o))}),c]}catch{}throw Error(um)}g();var Hm=Z1(void 0),bK=Hm.Provider,fr=()=>{var a;return(a=e1(Hm))!==null&&a!==void 0?a:"default"};var YC=Symbol("MOTION_DEFINITION");function gt(a){return Object.assign((c)=>{let{children:o,imperativeRef:r,onMotionFinish:e,onMotionStart:h,onMotionCancel:Z,...t}=c,i=t,[v,n]=Hr(o),d=sr(r),p=fr()==="skip",M=k({skipMotions:p,params:i}),_=mr(),A=ur(),m=Y(()=>{h===null||h===void 0||h(null)}),u=Y(()=>{e===null||e===void 0||e(null)}),f=Y(()=>{Z===null||Z===void 0||Z(null)});return W1(()=>{M.current={skipMotions:p,params:i}}),W1(()=>{let H=n.current;if(H){let F=typeof a==="function"?a({element:H,...M.current.params}):a;m();let R=_(H,F,{isReducedMotion:A()});if(d.current=R,R.setMotionEndCallbacks(u,f),M.current.skipMotions)R.finish();return()=>{R.cancel()}}},[_,n,d,A,u,m,f]),v},{[YC]:typeof a==="function"?a:()=>a})}g();g();var xt=Z1(void 0),YK=xt.Provider;g();function fm(a=!1,l=!1){let c=k(l?a:!0),o=w6(),r=W((e)=>{if(c.current!==e)c.current=e,o()},[o]);return N(()=>{if(a)c.current=a}),[a||c.current,r]}var Ct=Symbol("PRESENCE_MOTION_DEFINITION"),XC=Symbol.for("interruptablePresence");function q5(a){return Object.assign((l)=>{let o={...e1(xt),...l},r=fr()==="skip",{appear:e,children:h,imperativeRef:Z,onExit:t,onMotionFinish:i,onMotionStart:v,onMotionCancel:n,visible:d,unmountOnExit:p,...M}=o,_=M,[A,m]=fm(d,p),[u,f]=Hr(h,A),H=sr(Z),F=k({appear:e,params:_,skipMotions:r}),R=mr(),C=R6(),b=ur(),O=Y((J)=>{v===null||v===void 0||v(null,{direction:J})}),c1=Y((J)=>{if(i===null||i===void 0||i(null,{direction:J}),J==="exit"&&p)m(!1),t===null||t===void 0||t()}),l1=Y((J)=>{n===null||n===void 0||n(null,{direction:J})});if(W1(()=>{F.current={appear:e,params:_,skipMotions:r}}),W1(()=>{let J=f.current;if(!J)return;let x;function w(){if(!x)return;if($&&x.isRunning())return;x.cancel(),H.current=void 0}let D=typeof a==="function"?a({element:J,...F.current.params}):a,$=D[XC];if($){if(x=H.current,x&&x.isRunning())return x.reverse(),w}let K=d?D.enter:D.exit,n1=d?"enter":"exit",I=!F.current.appear&&C,M1=F.current.skipMotions;if(!I)O(n1);if(x=R(J,K,{isReducedMotion:b()}),I)return x.finish(),w;if(H.current=x,x.setMotionEndCallbacks(()=>c1(n1),()=>l1(n1)),M1)x.finish();return w},[R,f,H,b,c1,O,l1,d]),A)return u;return null},{[Ct]:typeof a==="function"?a:()=>a},{In:gt(typeof a==="function"?(...l)=>a(...l).enter:a.enter),Out:gt(typeof a==="function"?(...l)=>a(...l).exit:a.exit)})}function KC(a,l){return(o)=>a({...l,...o})}function W5(a,l){let c=a[Ct],o=KC(c,l);return q5(o)}g();function u4(a,l){let{as:c,children:o,...r}=a!==null&&a!==void 0?a:{};if(typeof c<"u")throw Error('@fluentui/react-motion: "as" property is not supported on motion slots.');if(a===null){let h=!l.defaultProps.visible&&l.defaultProps.unmountOnExit,Z=(t,i)=>h?null:/*@__PURE__*/o1(p1,null,i.children);return{[P7]:Z,[Z5]:l.elementType}}let e={...l.defaultProps,...r,[Z5]:l.elementType};if(typeof o==="function")e[P7]=o;return e}var Vm=(a,l)=>{let c=a==="horizontal"?"maxWidth":"maxHeight",o=a==="horizontal"?"overflowX":"overflowY",e=`${a==="horizontal"?l.scrollWidth:l.scrollHeight}px`;return{sizeName:c,overflowName:o,toSize:e}},Fm=({orientation:a,duration:l,easing:c,element:o,fromSize:r="0",delay:e=0})=>{let{sizeName:h,overflowName:Z,toSize:t}=Vm(a,o);return{keyframes:[{[h]:r,[Z]:"hidden"},{[h]:t,offset:0.9999,[Z]:"hidden"},{[h]:"unset",[Z]:"unset"}],duration:l,easing:c,delay:e,fill:"both"}},gm=({orientation:a,duration:l,easing:c,element:o,delay:r=0,fromSize:e="0"})=>{let{sizeName:h,overflowName:Z,toSize:t}=Vm(a,o);return{keyframes:[{[h]:t,[Z]:"hidden"},{[h]:e,[Z]:"hidden"}],duration:l,easing:c,delay:r,fill:"both"}},jC=(a)=>{if(a==="horizontal")return{paddingStart:"paddingInlineStart",paddingEnd:"paddingInlineEnd",marginStart:"marginInlineStart",marginEnd:"marginInlineEnd"};return{paddingStart:"paddingBlockStart",paddingEnd:"paddingBlockEnd",marginStart:"marginBlockStart",marginEnd:"marginBlockEnd"}},Lt=({direction:a,orientation:l,duration:c,easing:o,delay:r=0})=>{let{paddingStart:e,paddingEnd:h,marginStart:Z,marginEnd:t}=jC(l),i=a==="enter"?0:1;return{keyframes:[{[e]:"0",[h]:"0",[Z]:"0",[t]:"0",offset:i}],duration:c,easing:o,delay:r,fill:"both"}};var z5=({direction:a,duration:l,easing:c=C1.curveLinear,delay:o=0,fromOpacity:r=0,toOpacity:e=1})=>{let h=[{opacity:r},{opacity:e}];if(a==="exit")h.reverse();return{keyframes:h,duration:l,easing:c,delay:o,fill:"both"}};var NC=({element:a,duration:l=C1.durationNormal,exitDuration:c=l,sizeDuration:o=l,opacityDuration:r=o,exitSizeDuration:e=c,exitOpacityDuration:h=e,easing:Z=C1.curveEasyEaseMax,delay:t=0,exitEasing:i=Z,exitDelay:v=t,staggerDelay:n=0,exitStaggerDelay:d=n,animateOpacity:p=!0,orientation:M="vertical",fromSize:_="0px"})=>{let A=[Fm({orientation:M,duration:o,easing:Z,element:a,fromSize:_,delay:t}),Lt({direction:"enter",orientation:M,duration:o,easing:Z,delay:t})];if(p)A.push(z5({direction:"enter",duration:r,easing:Z,delay:t+n}));let m=[];if(p)m.push(z5({direction:"exit",duration:h,easing:i,delay:v}));return m.push(gm({orientation:M,duration:e,easing:i,element:a,delay:v+d,fromSize:_}),Lt({direction:"exit",orientation:M,duration:e,easing:i,delay:v+d})),{enter:A,exit:m}},Oa=q5(NC),xm=W5(Oa,{duration:C1.durationFast}),Cm=W5(Oa,{duration:C1.durationSlower}),Vr=W5(Oa,{sizeDuration:C1.durationNormal,opacityDuration:C1.durationSlower,staggerDelay:C1.durationNormal,exitSizeDuration:C1.durationNormal,exitOpacityDuration:C1.durationSlower,exitStaggerDelay:C1.durationSlower,easing:C1.curveEasyEase,exitEasing:C1.curveEasyEase});var aL=({duration:a=C1.durationNormal,easing:l=C1.curveEasyEase,delay:c=0,exitDuration:o=a,exitEasing:r=l,exitDelay:e=c,fromOpacity:h=0,toOpacity:Z=1})=>{return{enter:z5({direction:"enter",duration:a,easing:l,delay:c,fromOpacity:h,toOpacity:Z}),exit:z5({direction:"exit",duration:o,easing:r,delay:e,fromOpacity:h,toOpacity:Z})}},Fr=q5(aL),Lm=W5(Fr,{duration:C1.durationFast}),gr=W5(Fr,{duration:C1.durationGentle});var Rt=({direction:a,duration:l,easing:c=C1.curveLinear,delay:o=0,fromScale:r=0.9,toScale:e=1})=>{let h=[{scale:r},{scale:e}];if(a==="exit")h.reverse();return{keyframes:h,duration:l,easing:c,delay:o}};var lL=({duration:a=C1.durationGentle,easing:l=C1.curveDecelerateMax,delay:c=0,exitDuration:o=C1.durationNormal,exitEasing:r=C1.curveAccelerateMax,exitDelay:e=c,fromScale:h=0.9,toScale:Z=1,animateOpacity:t=!0})=>{let i=[Rt({direction:"enter",duration:a,easing:l,delay:c,fromScale:h,toScale:Z})],v=[Rt({direction:"exit",duration:o,easing:r,delay:e,fromScale:h,toScale:Z})];if(t)i.push(z5({direction:"enter",duration:a,easing:l,delay:c})),v.push(z5({direction:"exit",duration:o,easing:r,delay:e}));return{enter:i,exit:v}},$6=q5(lL),Rm=W5($6,{duration:C1.durationNormal,exitDuration:C1.durationFast}),wm=W5($6,{duration:C1.durationSlow,exitDuration:C1.durationGentle});g();g();var Pa=(a,l)=>{let{shape:c="circular",size:o="medium",iconPosition:r="before",appearance:e="filled",color:h="brand"}=a;return{shape:c,size:o,iconPosition:r,appearance:e,color:h,components:{root:"div",icon:"span"},root:G.always(a1("div",{ref:l,...a}),{elementType:"div"}),icon:G.optional(a.icon,{elementType:"span"})}};g();var Ta={root:"fui-Badge",icon:"fui-Badge__icon"},Yj=o0.spacingHorizontalXXS,cL=/*@__PURE__*/j("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;}']),oL=/*@__PURE__*/U({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);}"]}),rL=/*@__PURE__*/j("rttl5z0",null,[".rttl5z0{display:flex;line-height:1;margin:0 calc(-1 * var(--spacingHorizontalXXS));font-size:12px;}"]),eL=/*@__PURE__*/U({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;}"]}),ba=(a)=>{let l=cL(),c=oL(),o=a.size==="small"||a.size==="extra-small"||a.size==="tiny";a.root.className=S(Ta.root,l,o&&c.fontSmallToTiny,c[a.size],c[a.shape],a.shape==="rounded"&&o&&c.roundedSmallToTiny,a.appearance==="ghost"&&c.borderGhost,c[a.appearance],c[`${a.appearance}-${a.color}`],a.root.className);let r=rL(),e=eL();if(a.icon){let h;if(l2.toArray(a.root.children).length>0)if(a.size==="extra-large")h=a.iconPosition==="after"?e.afterTextXL:e.beforeTextXL;else h=a.iconPosition==="after"?e.afterText:e.beforeText;a.icon.className=S(Ta.icon,r,h,e[a.size],a.icon.className)}return a};var Ea=(a)=>{return z(a),/*@__PURE__*/H1(a.root,{children:[a.iconPosition==="before"&&a.icon&&/*@__PURE__*/L(a.icon,{}),a.root.children,a.iconPosition==="after"&&a.icon&&/*@__PURE__*/L(a.icon,{})]})};var K0=/*@__PURE__*/q((a,l)=>{let c=Pa(a,l);return ba(c),Q("useBadgeStyles_unstable")(c),Ea(c)});K0.displayName="Badge";g();var hL=Z1(void 0);var xr=hL.Provider;g();g();function Sm(a){let{clientX:l,clientY:c}=a,o=l+1,r=c+1;function e(){return{left:l,top:c,right:o,bottom:r,x:l,y:c,height:1,width:1}}return{getBoundingClientRect:e}}var wt="data-popper-is-intersecting",St="data-popper-escaped",Gt="data-popper-reference-hidden",Gm="data-popper-placement",qa="fui-positioningend";g();var ZL=({options:a})=>{return a},Um=Z1(void 0),_N=Um.Provider,Bm=()=>{var a;return(a=e1(Um))!==null&&a!==void 0?a:ZL};g();var Dm=["top","right","bottom","left"];var{min:$7,max:R5,round:za}=Math;var C2=(a)=>({x:a,y:a}),tL={left:"right",right:"left",bottom:"top",top:"bottom"},iL={start:"end",end:"start"};function Lr(a,l,c){return R5(a,$7(l,c))}function _7(a,l){return typeof a==="function"?a(l):a}function M7(a){return a.split("-")[0]}function H4(a){return a.split("-")[1]}function Rr(a){return a==="x"?"y":"x"}function wr(a){return a==="y"?"height":"width"}function Y7(a){return["top","bottom"].includes(M7(a))?"y":"x"}function Sr(a){return Rr(Y7(a))}function km(a,l,c){if(c===void 0)c=!1;let o=H4(a),r=Sr(a),e=wr(r),h=r==="x"?o===(c?"end":"start")?"right":"left":o==="start"?"bottom":"top";if(l.reference[e]>l.floating[e])h=Wa(h);return[h,Wa(h)]}function ym(a){let l=Wa(a);return[Cr(a),l,Cr(l)]}function Cr(a){return a.replace(/start|end/g,(l)=>iL[l])}function nL(a,l,c){let o=["left","right"],r=["right","left"],e=["top","bottom"],h=["bottom","top"];switch(a){case"top":case"bottom":if(c)return l?r:o;return l?o:r;case"left":case"right":return l?e:h;default:return[]}}function Om(a,l,c,o){let r=H4(a),e=nL(M7(a),c==="start",o);if(r){if(e=e.map((h)=>h+"-"+r),l)e=e.concat(e.map(Cr))}return e}function Wa(a){return a.replace(/left|right|bottom|top/g,(l)=>tL[l])}function vL(a){return{top:0,right:0,bottom:0,left:0,...a}}function Ut(a){return typeof a!=="number"?vL(a):{top:a,right:a,bottom:a,left:a}}function f4(a){let{x:l,y:c,width:o,height:r}=a;return{width:o,height:r,top:c,left:l,right:l+o,bottom:c+r,x:l,y:c}}function Pm(a,l,c){let{reference:o,floating:r}=a,e=Y7(l),h=Sr(l),Z=wr(h),t=M7(l),i=e==="y",v=o.x+o.width/2-r.width/2,n=o.y+o.height/2-r.height/2,d=o[Z]/2-r[Z]/2,p;switch(t){case"top":p={x:v,y:o.y-r.height};break;case"bottom":p={x:v,y:o.y+o.height};break;case"right":p={x:o.x+o.width,y:n};break;case"left":p={x:o.x-r.width,y:n};break;default:p={x:o.x,y:o.y}}switch(H4(l)){case"start":p[h]-=d*(c&&i?-1:1);break;case"end":p[h]+=d*(c&&i?-1:1);break}return p}var Em=async(a,l,c)=>{let{placement:o="bottom",strategy:r="absolute",middleware:e=[],platform:h}=c,Z=e.filter(Boolean),t=await(h.isRTL==null?void 0:h.isRTL(l)),i=await h.getElementRects({reference:a,floating:l,strategy:r}),{x:v,y:n}=Pm(i,o,t),d=o,p={},M=0;for(let _=0;_<Z.length;_++){let{name:A,fn:m}=Z[_],{x:u,y:f,data:H,reset:F}=await m({x:v,y:n,initialPlacement:o,placement:d,strategy:r,middlewareData:p,rects:i,platform:h,elements:{reference:a,floating:l}});if(v=u!=null?u:v,n=f!=null?f:n,p={...p,[A]:{...p[A],...H}},F&&M<=50){if(M++,typeof F==="object"){if(F.placement)d=F.placement;if(F.rects)i=F.rects===!0?await h.getElementRects({reference:a,floating:l,strategy:r}):F.rects;({x:v,y:n}=Pm(i,d,t))}_=-1}}return{x:v,y:n,placement:d,strategy:r,middlewareData:p}};async function V4(a,l){var c;if(l===void 0)l={};let{x:o,y:r,platform:e,rects:h,elements:Z,strategy:t}=a,{boundary:i="clippingAncestors",rootBoundary:v="viewport",elementContext:n="floating",altBoundary:d=!1,padding:p=0}=_7(l,a),M=Ut(p),A=Z[d?n==="floating"?"reference":"floating":n],m=f4(await e.getClippingRect({element:((c=await(e.isElement==null?void 0:e.isElement(A)))!=null?c:!0)?A:A.contextElement||await(e.getDocumentElement==null?void 0:e.getDocumentElement(Z.floating)),boundary:i,rootBoundary:v,strategy:t})),u=n==="floating"?{x:o,y:r,width:h.floating.width,height:h.floating.height}:h.reference,f=await(e.getOffsetParent==null?void 0:e.getOffsetParent(Z.floating)),H=await(e.isElement==null?void 0:e.isElement(f))?await(e.getScale==null?void 0:e.getScale(f))||{x:1,y:1}:{x:1,y:1},F=f4(e.convertOffsetParentRelativeRectToViewportRelativeRect?await e.convertOffsetParentRelativeRectToViewportRelativeRect({elements:Z,rect:u,offsetParent:f,strategy:t}):u);return{top:(m.top-F.top+M.top)/H.y,bottom:(F.bottom-m.bottom+M.bottom)/H.y,left:(m.left-F.left+M.left)/H.x,right:(F.right-m.right+M.right)/H.x}}var qm=(a)=>({name:"arrow",options:a,async fn(l){let{x:c,y:o,placement:r,rects:e,platform:h,elements:Z,middlewareData:t}=l,{element:i,padding:v=0}=_7(a,l)||{};if(i==null)return{};let n=Ut(v),d={x:c,y:o},p=Sr(r),M=wr(p),_=await h.getDimensions(i),A=p==="y",m=A?"top":"left",u=A?"bottom":"right",f=A?"clientHeight":"clientWidth",H=e.reference[M]+e.reference[p]-d[p]-e.floating[M],F=d[p]-e.reference[p],R=await(h.getOffsetParent==null?void 0:h.getOffsetParent(i)),C=R?R[f]:0;if(!C||!await(h.isElement==null?void 0:h.isElement(R)))C=Z.floating[f]||e.floating[M];let b=H/2-F/2,O=C/2-_[M]/2-1,c1=$7(n[m],O),l1=$7(n[u],O),J=c1,x=C-_[M]-l1,w=C/2-_[M]/2+b,D=Lr(J,w,x),$=!t.arrow&&H4(r)!=null&&w!==D&&e.reference[M]/2-(w<J?c1:l1)-_[M]/2<0,K=$?w<J?w-J:w-x:0;return{[p]:d[p]+K,data:{[p]:D,centerOffset:w-D-K,...$&&{alignmentOffset:K}},reset:$}}});var Wm=function(a){if(a===void 0)a={};return{name:"flip",options:a,async fn(l){var c,o;let{placement:r,middlewareData:e,rects:h,initialPlacement:Z,platform:t,elements:i}=l,{mainAxis:v=!0,crossAxis:n=!0,fallbackPlacements:d,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:M="none",flipAlignment:_=!0,...A}=_7(a,l);if((c=e.arrow)!=null&&c.alignmentOffset)return{};let m=M7(r),u=Y7(Z),f=M7(Z)===Z,H=await(t.isRTL==null?void 0:t.isRTL(i.floating)),F=d||(f||!_?[Wa(Z)]:ym(Z)),R=M!=="none";if(!d&&R)F.push(...Om(Z,_,M,H));let C=[Z,...F],b=await V4(l,A),O=[],c1=((o=e.flip)==null?void 0:o.overflows)||[];if(v)O.push(b[m]);if(n){let w=km(r,h,H);O.push(b[w[0]],b[w[1]])}if(c1=[...c1,{placement:r,overflows:O}],!O.every((w)=>w<=0)){var l1,J;let w=(((l1=e.flip)==null?void 0:l1.index)||0)+1,D=C[w];if(D)return{data:{index:w,overflows:c1},reset:{placement:D}};let $=(J=c1.filter((K)=>K.overflows[0]<=0).sort((K,n1)=>K.overflows[1]-n1.overflows[1])[0])==null?void 0:J.placement;if(!$)switch(p){case"bestFit":{var x;let K=(x=c1.filter((n1)=>{if(R){let I=Y7(n1.placement);return I===u||I==="y"}return!0}).map((n1)=>[n1.placement,n1.overflows.filter((I)=>I>0).reduce((I,M1)=>I+M1,0)]).sort((n1,I)=>n1[1]-I[1])[0])==null?void 0:x[0];if(K)$=K;break}case"initialPlacement":$=Z;break}if(r!==$)return{reset:{placement:$}}}return{}}}};function Tm(a,l){return{top:a.top-l.height,right:a.right-l.width,bottom:a.bottom-l.height,left:a.left-l.width}}function bm(a){return Dm.some((l)=>a[l]>=0)}var zm=function(a){if(a===void 0)a={};return{name:"hide",options:a,async fn(l){let{rects:c}=l,{strategy:o="referenceHidden",...r}=_7(a,l);switch(o){case"referenceHidden":{let e=await V4(l,{...r,elementContext:"reference"}),h=Tm(e,c.reference);return{data:{referenceHiddenOffsets:h,referenceHidden:bm(h)}}}case"escaped":{let e=await V4(l,{...r,altBoundary:!0}),h=Tm(e,c.floating);return{data:{escapedOffsets:h,escaped:bm(h)}}}default:return{}}}}};async function dL(a,l){let{placement:c,platform:o,elements:r}=a,e=await(o.isRTL==null?void 0:o.isRTL(r.floating)),h=M7(c),Z=H4(c),t=Y7(c)==="y",i=["left","top"].includes(h)?-1:1,v=e&&t?-1:1,n=_7(l,a),{mainAxis:d,crossAxis:p,alignmentAxis:M}=typeof n==="number"?{mainAxis:n,crossAxis:0,alignmentAxis:null}:{mainAxis:n.mainAxis||0,crossAxis:n.crossAxis||0,alignmentAxis:n.alignmentAxis};if(Z&&typeof M==="number")p=Z==="end"?M*-1:M;return t?{x:p*v,y:d*i}:{x:d*i,y:p*v}}var Qm=function(a){if(a===void 0)a=0;return{name:"offset",options:a,async fn(l){var c,o;let{x:r,y:e,placement:h,middlewareData:Z}=l,t=await dL(l,a);if(h===((c=Z.offset)==null?void 0:c.placement)&&(o=Z.arrow)!=null&&o.alignmentOffset)return{};return{x:r+t.x,y:e+t.y,data:{...t,placement:h}}}}},Jm=function(a){if(a===void 0)a={};return{name:"shift",options:a,async fn(l){let{x:c,y:o,placement:r}=l,{mainAxis:e=!0,crossAxis:h=!1,limiter:Z={fn:(A)=>{let{x:m,y:u}=A;return{x:m,y:u}}},...t}=_7(a,l),i={x:c,y:o},v=await V4(l,t),n=Y7(M7(r)),d=Rr(n),p=i[d],M=i[n];if(e){let A=d==="y"?"top":"left",m=d==="y"?"bottom":"right",u=p+v[A],f=p-v[m];p=Lr(u,p,f)}if(h){let A=n==="y"?"top":"left",m=n==="y"?"bottom":"right",u=M+v[A],f=M-v[m];M=Lr(u,M,f)}let _=Z.fn({...l,[d]:p,[n]:M});return{..._,data:{x:_.x-c,y:_.y-o,enabled:{[d]:e,[n]:h}}}}}},Im=function(a){if(a===void 0)a={};return{options:a,fn(l){let{x:c,y:o,placement:r,rects:e,middlewareData:h}=l,{offset:Z=0,mainAxis:t=!0,crossAxis:i=!0}=_7(a,l),v={x:c,y:o},n=Y7(r),d=Rr(n),p=v[d],M=v[n],_=_7(Z,l),A=typeof _==="number"?{mainAxis:_,crossAxis:0}:{mainAxis:0,crossAxis:0,..._};if(t){let f=d==="y"?"height":"width",H=e.reference[d]-e.floating[f]+A.mainAxis,F=e.reference[d]+e.reference[f]-A.mainAxis;if(p<H)p=H;else if(p>F)p=F}if(i){var m,u;let f=d==="y"?"width":"height",H=["top","left"].includes(M7(r)),F=e.reference[n]-e.floating[f]+(H?((m=h.offset)==null?void 0:m[n])||0:0)+(H?0:A.crossAxis),R=e.reference[n]+e.reference[f]+(H?0:((u=h.offset)==null?void 0:u[n])||0)-(H?A.crossAxis:0);if(M<F)M=F;else if(M>R)M=R}return{[d]:p,[n]:M}}}},$m=function(a){if(a===void 0)a={};return{name:"size",options:a,async fn(l){var c,o;let{placement:r,rects:e,platform:h,elements:Z}=l,{apply:t=()=>{},...i}=_7(a,l),v=await V4(l,i),n=M7(r),d=H4(r),p=Y7(r)==="y",{width:M,height:_}=e.floating,A,m;if(n==="top"||n==="bottom")A=n,m=d===(await(h.isRTL==null?void 0:h.isRTL(Z.floating))?"start":"end")?"left":"right";else m=n,A=d==="end"?"top":"bottom";let u=_-v.top-v.bottom,f=M-v.left-v.right,H=$7(_-v[A],u),F=$7(M-v[m],f),R=!l.middlewareData.shift,C=H,b=F;if((c=l.middlewareData.shift)!=null&&c.enabled.x)b=f;if((o=l.middlewareData.shift)!=null&&o.enabled.y)C=u;if(R&&!d){let c1=R5(v.left,0),l1=R5(v.right,0),J=R5(v.top,0),x=R5(v.bottom,0);if(p)b=M-2*(c1!==0||l1!==0?c1+l1:R5(v.left,v.right));else C=_-2*(J!==0||x!==0?J+x:R5(v.top,v.bottom))}await t({...l,availableWidth:b,availableHeight:C});let O=await h.getDimensions(Z.floating);if(M!==O.width||_!==O.height)return{reset:{rects:!0}};return{}}}};function Ur(){return typeof window<"u"}function F4(a){if(Xm(a))return(a.nodeName||"").toLowerCase();return"#document"}function w5(a){var l;return(a==null||(l=a.ownerDocument)==null?void 0:l.defaultView)||window}function A7(a){var l;return(l=(Xm(a)?a.ownerDocument:a.document)||window.document)==null?void 0:l.documentElement}function Xm(a){if(!Ur())return!1;return a instanceof Node||a instanceof w5(a).Node}function r2(a){if(!Ur())return!1;return a instanceof Element||a instanceof w5(a).Element}function L2(a){if(!Ur())return!1;return a instanceof HTMLElement||a instanceof w5(a).HTMLElement}function Ym(a){if(!Ur()||typeof ShadowRoot>"u")return!1;return a instanceof ShadowRoot||a instanceof w5(a).ShadowRoot}function Y6(a){let{overflow:l,overflowX:c,overflowY:o,display:r}=e2(a);return/auto|scroll|overlay|hidden|clip/.test(l+o+c)&&!["inline","contents"].includes(r)}function Km(a){return["table","td","th"].includes(F4(a))}function Qa(a){return[":popover-open",":modal"].some((l)=>{try{return a.matches(l)}catch(c){return!1}})}function Br(a){let l=Dr(),c=r2(a)?e2(a):a;return["transform","translate","scale","rotate","perspective"].some((o)=>c[o]?c[o]!=="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((o)=>(c.willChange||"").includes(o))||["paint","layout","strict","content"].some((o)=>(c.contain||"").includes(o))}function jm(a){let l=X7(a);while(L2(l)&&!g4(l)){if(Br(l))return l;else if(Qa(l))return null;l=X7(l)}return null}function Dr(){if(typeof CSS>"u"||!CSS.supports)return!1;return CSS.supports("-webkit-backdrop-filter","none")}function g4(a){return["html","body","#document"].includes(F4(a))}function e2(a){return w5(a).getComputedStyle(a)}function Ja(a){if(r2(a))return{scrollLeft:a.scrollLeft,scrollTop:a.scrollTop};return{scrollLeft:a.scrollX,scrollTop:a.scrollY}}function X7(a){if(F4(a)==="html")return a;let l=a.assignedSlot||a.parentNode||Ym(a)&&a.host||A7(a);return Ym(l)?l.host:l}function Nm(a){let l=X7(a);if(g4(l))return a.ownerDocument?a.ownerDocument.body:a.body;if(L2(l)&&Y6(l))return l;return Nm(l)}function Gr(a,l,c){var o;if(l===void 0)l=[];if(c===void 0)c=!0;let r=Nm(a),e=r===((o=a.ownerDocument)==null?void 0:o.body),h=w5(r);if(e){let Z=kr(h);return l.concat(h,h.visualViewport||[],Y6(r)?r:[],Z&&c?Gr(Z):[])}return l.concat(r,Gr(r,[],c))}function kr(a){return a.parent&&Object.getPrototypeOf(a.parent)?a.frameElement:null}function cs(a){let l=e2(a),c=parseFloat(l.width)||0,o=parseFloat(l.height)||0,r=L2(a),e=r?a.offsetWidth:c,h=r?a.offsetHeight:o,Z=za(c)!==e||za(o)!==h;if(Z)c=e,o=h;return{width:c,height:o,$:Z}}function os(a){return!r2(a)?a.contextElement:a}function X6(a){let l=os(a);if(!L2(l))return C2(1);let c=l.getBoundingClientRect(),{width:o,height:r,$:e}=cs(l),h=(e?za(c.width):c.width)/o,Z=(e?za(c.height):c.height)/r;if(!h||!Number.isFinite(h))h=1;if(!Z||!Number.isFinite(Z))Z=1;return{x:h,y:Z}}var pL=/*@__PURE__*/C2(0);function rs(a){let l=w5(a);if(!Dr()||!l.visualViewport)return pL;return{x:l.visualViewport.offsetLeft,y:l.visualViewport.offsetTop}}function _L(a,l,c){if(l===void 0)l=!1;if(!c||l&&c!==w5(a))return!1;return l}function Ia(a,l,c,o){if(l===void 0)l=!1;if(c===void 0)c=!1;let r=a.getBoundingClientRect(),e=os(a),h=C2(1);if(l)if(o){if(r2(o))h=X6(o)}else h=X6(a);let Z=_L(e,c,o)?rs(e):C2(0),t=(r.left+Z.x)/h.x,i=(r.top+Z.y)/h.y,v=r.width/h.x,n=r.height/h.y;if(e){let d=w5(e),p=o&&r2(o)?w5(o):o,M=d,_=kr(M);while(_&&o&&p!==M){let A=X6(_),m=_.getBoundingClientRect(),u=e2(_),f=m.left+(_.clientLeft+parseFloat(u.paddingLeft))*A.x,H=m.top+(_.clientTop+parseFloat(u.paddingTop))*A.y;t*=A.x,i*=A.y,v*=A.x,n*=A.y,t+=f,i+=H,M=w5(_),_=kr(M)}}return f4({width:v,height:n,x:t,y:i})}function Dt(a,l){let c=Ja(a).scrollLeft;if(!l)return Ia(A7(a)).left+c;return l.left+c}function es(a,l,c){if(c===void 0)c=!1;let o=a.getBoundingClientRect(),r=o.left+l.scrollLeft-(c?0:Dt(a,o)),e=o.top+l.scrollTop;return{x:r,y:e}}function ML(a){let{elements:l,rect:c,offsetParent:o,strategy:r}=a,e=r==="fixed",h=A7(o),Z=l?Qa(l.floating):!1;if(o===h||Z&&e)return c;let t={scrollLeft:0,scrollTop:0},i=C2(1),v=C2(0),n=L2(o);if(n||!n&&!e){if(F4(o)!=="body"||Y6(h))t=Ja(o);if(L2(o)){let p=Ia(o);i=X6(o),v.x=p.x+o.clientLeft,v.y=p.y+o.clientTop}}let d=h&&!n&&!e?es(h,t,!0):C2(0);return{width:c.width*i.x,height:c.height*i.y,x:c.x*i.x-t.scrollLeft*i.x+v.x+d.x,y:c.y*i.y-t.scrollTop*i.y+v.y+d.y}}function AL(a){return Array.from(a.getClientRects())}function mL(a){let l=A7(a),c=Ja(a),o=a.ownerDocument.body,r=R5(l.scrollWidth,l.clientWidth,o.scrollWidth,o.clientWidth),e=R5(l.scrollHeight,l.clientHeight,o.scrollHeight,o.clientHeight),h=-c.scrollLeft+Dt(a),Z=-c.scrollTop;if(e2(o).direction==="rtl")h+=R5(l.clientWidth,o.clientWidth)-r;return{width:r,height:e,x:h,y:Z}}function sL(a,l){let c=w5(a),o=A7(a),r=c.visualViewport,e=o.clientWidth,h=o.clientHeight,Z=0,t=0;if(r){e=r.width,h=r.height;let i=Dr();if(!i||i&&l==="fixed")Z=r.offsetLeft,t=r.offsetTop}return{width:e,height:h,x:Z,y:t}}function uL(a,l){let c=Ia(a,!0,l==="fixed"),o=c.top+a.clientTop,r=c.left+a.clientLeft,e=L2(a)?X6(a):C2(1),h=a.clientWidth*e.x,Z=a.clientHeight*e.y,t=r*e.x,i=o*e.y;return{width:h,height:Z,x:t,y:i}}function as(a,l,c){let o;if(l==="viewport")o=sL(a,c);else if(l==="document")o=mL(A7(a));else if(r2(l))o=uL(l,c);else{let r=rs(a);o={x:l.x-r.x,y:l.y-r.y,width:l.width,height:l.height}}return f4(o)}function hs(a,l){let c=X7(a);if(c===l||!r2(c)||g4(c))return!1;return e2(c).position==="fixed"||hs(c,l)}function HL(a,l){let c=l.get(a);if(c)return c;let o=Gr(a,[],!1).filter((Z)=>r2(Z)&&F4(Z)!=="body"),r=null,e=e2(a).position==="fixed",h=e?X7(a):a;while(r2(h)&&!g4(h)){let Z=e2(h),t=Br(h);if(!t&&Z.position==="fixed")r=null;if(e?!t&&!r:!t&&Z.position==="static"&&!!r&&["absolute","fixed"].includes(r.position)||Y6(h)&&!t&&hs(a,h))o=o.filter((v)=>v!==h);else r=Z;h=X7(h)}return l.set(a,o),o}function fL(a){let{element:l,boundary:c,rootBoundary:o,strategy:r}=a,h=[...c==="clippingAncestors"?Qa(l)?[]:HL(l,this._c):[].concat(c),o],Z=h[0],t=h.reduce((i,v)=>{let n=as(l,v,r);return i.top=R5(n.top,i.top),i.right=$7(n.right,i.right),i.bottom=$7(n.bottom,i.bottom),i.left=R5(n.left,i.left),i},as(l,Z,r));return{width:t.right-t.left,height:t.bottom-t.top,x:t.left,y:t.top}}function VL(a){let{width:l,height:c}=cs(a);return{width:l,height:c}}function FL(a,l,c){let o=L2(l),r=A7(l),e=c==="fixed",h=Ia(a,!0,e,l),Z={scrollLeft:0,scrollTop:0},t=C2(0);if(o||!o&&!e){if(F4(l)!=="body"||Y6(r))Z=Ja(l);if(o){let d=Ia(l,!0,e,l);t.x=d.x+l.clientLeft,t.y=d.y+l.clientTop}else if(r)t.x=Dt(r)}let i=r&&!o&&!e?es(r,Z):C2(0),v=h.left+Z.scrollLeft-t.x-i.x,n=h.top+Z.scrollTop-t.y-i.y;return{x:v,y:n,width:h.width,height:h.height}}function Bt(a){return e2(a).position==="static"}function ls(a,l){if(!L2(a)||e2(a).position==="fixed")return null;if(l)return l(a);let c=a.offsetParent;if(A7(a)===c)c=c.ownerDocument.body;return c}function Zs(a,l){let c=w5(a);if(Qa(a))return c;if(!L2(a)){let r=X7(a);while(r&&!g4(r)){if(r2(r)&&!Bt(r))return r;r=X7(r)}return c}let o=ls(a,l);while(o&&Km(o)&&Bt(o))o=ls(o,l);if(o&&g4(o)&&Bt(o)&&!Br(o))return c;return o||jm(a)||c}var gL=async function(a){let l=this.getOffsetParent||Zs,c=this.getDimensions,o=await c(a.floating);return{reference:FL(a.reference,await l(a.floating),a.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function xL(a){return e2(a).direction==="rtl"}var CL={convertOffsetParentRelativeRectToViewportRelativeRect:ML,getDocumentElement:A7,getClippingRect:fL,getOffsetParent:Zs,getElementRects:gL,getClientRects:AL,getDimensions:VL,getScale:X6,isElement:r2,isRTL:xL};var ts=V4,is=Qm;var ns=Jm,vs=Wm,ds=$m,kt=zm,ps=qm;var yt=Im,_s=(a,l,c)=>{let o=/*@__PURE__*/new Map,r={platform:CL,...c},e={...r.platform,_c:o};return Em(a,l,{...r,platform:e})};function $a(a){let l=a.split("-");return{side:l[0],alignment:l[1]}}var Ms=(a)=>{if(a.nodeName==="HTML")return a;return a.parentNode||a.host},LL=(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{}},x4=(a)=>{let l=a&&Ms(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:o,overflowY:r}=LL(l);if(/(auto|scroll|overlay)/.test(c+r+o))return l;return x4(l)},Ot=(a)=>{var l;let c=x4(a);return c?c!==((l=c.ownerDocument)===null||l===void 0?void 0:l.body):!1};function C4(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=x4(a);if(c.nodeName==="BODY")c=a===null||a===void 0?void 0:a.ownerDocument.documentElement;return c}return l}g();function As(a){if(!a)return null;for(let l in a)if(l.indexOf("__reactInternalInstance$")===0||l.indexOf("__reactFiber$")===0)return a[l];throw Error("getReactFiber(): Failed to find a React Fiber on a node")}function yr(a,l){if(typeof a==="number")return Pt(a,l);if(typeof a==="object"&&a!==null)return Pt(a,l);if(typeof a==="function")return(c)=>{let o=a(c);return Pt(o,l)};return{mainAxis:l}}var Pt=(a,l)=>{if(typeof a==="number")return{mainAxis:a+l};var c;return{...a,mainAxis:((c=a.mainAxis)!==null&&c!==void 0?c:0)+l}};function Ya(a,l){if(typeof a==="number")return a;let{start:c,end:o,...r}=a,e=r,h=l?"end":"start",Z=l?"start":"end";if(a[h])e.left=a[h];if(a[Z])e.right=a[Z];return e}var RL=(a)=>({above:"top",below:"bottom",before:a?"right":"left",after:a?"left":"right"}),wL=()=>({start:"start",end:"end",top:"start",bottom:"end",center:void 0}),SL=(a,l)=>{let c=a==="above"||a==="below",o=l==="top"||l==="bottom";return c&&o||!c&&!o},Xa=(a,l,c)=>{let o=SL(l,a)?"center":a,r=l&&RL(c)[l],e=o&&wL()[o];if(r&&e)return`${r}-${e}`;return r};var GL=()=>({top:"above",bottom:"below",right:"after",left:"before"}),UL=(a)=>{if(a==="above"||a==="below")return{start:"start",end:"end"};return{start:"top",end:"bottom"}},Ka=(a)=>{let{side:l,alignment:c}=$a(a),o=GL()[l],r=c&&UL(o)[c];return{position:o,alignment:r}};var BL={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 x3(a){if(a===void 0||a===null)return{};if(typeof a==="string")return BL[a];return a}g();function ja(a,l,c){let o=k(!0),[r]=t1(()=>({value:a,callback:l,facade:{get current(){return r.value},set current(e){let h=r.value;if(h!==e){if(r.value=e,c&&o.current)return;r.callback(e,h)}}}}));return W1(()=>{o.current=!1},[]),r.callback=l,r.facade}function Tt(a){let l;return()=>{if(!l)l=new Promise((c)=>{Promise.resolve().then(()=>{l=void 0,c(a())})});return l}}function DL(a){if(a.nodeName==="BUTTON"||a.nodeName==="INPUT"||a.nodeName==="SELECT"||a.nodeName==="TEXTAREA"){var c;return!!((c=As(a))===null||c===void 0?void 0:c.pendingProps.autoFocus)}return!1}function bt(a){return DL(a)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}function Et(a){let{arrow:l,middlewareData:c}=a;if(!c.arrow||!l)return;let{x:o,y:r}=c.arrow;Object.assign(l.style,{left:o!==null&&o!==void 0?`${o}px`:"",top:r!==null&&r!==void 0?`${r}px`:""})}function qt(a){var l,c,o;let{container:r,placement:e,middlewareData:h,strategy:Z,lowPPI:t,coordinates:i,useTransform:v=!0}=a;if(!r)return;if(r.setAttribute(Gm,e),r.removeAttribute(wt),h.intersectionObserver.intersecting)r.setAttribute(wt,"");if(r.removeAttribute(St),(l=h.hide)===null||l===void 0?void 0:l.escaped)r.setAttribute(St,"");if(r.removeAttribute(Gt),(c=h.hide)===null||c===void 0?void 0:c.referenceHidden)r.setAttribute(Gt,"");let n=((o=r.ownerDocument.defaultView)===null||o===void 0?void 0:o.devicePixelRatio)||1,d=Math.round(i.x*n)/n,p=Math.round(i.y*n)/n;if(Object.assign(r.style,{position:Z}),v){Object.assign(r.style,{transform:t?`translate(${d}px, ${p}px)`:`translate3d(${d}px, ${p}px, 0)`});return}Object.assign(r.style,{left:`${d}px`,top:`${p}px`})}var Wt=(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 K6(a){let l=[],c=a;while(c){let o=x4(c);if(a.ownerDocument.body===o){l.push(o);break}if(o.nodeName==="BODY"&&o!==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(o),c=o}return l}function ms(a,l){return new a.ResizeObserver(l)}function ss(a){let l=!1,{container:c,target:o,arrow:r,strategy:e,middleware:h,placement:Z,useTransform:t=!0,disableUpdateOnResize:i=!1}=a,v=c.ownerDocument.defaultView;if(!o||!c||!v)return{updatePosition:()=>{return},dispose:()=>{return}};let n=i?null:ms(v,(m)=>{if(m.every((f)=>{return f.contentRect.width>0&&f.contentRect.height>0}))_()}),d=!0,p=/*@__PURE__*/new Set;Object.assign(c.style,{position:"fixed",left:0,top:0,margin:0});let M=()=>{if(l)return;if(d){if(K6(c).forEach((m)=>p.add(m)),P1(o))K6(o).forEach((m)=>p.add(m));if(p.forEach((m)=>{m.addEventListener("scroll",_,{passive:!0})}),n===null||n===void 0||n.observe(c),P1(o))n===null||n===void 0||n.observe(o);d=!1}Object.assign(c.style,{position:e}),_s(o,c,{placement:Z,middleware:h,strategy:e}).then(({x:m,y:u,middlewareData:f,placement:H})=>{if(l)return;Et({arrow:r,middlewareData:f}),qt({container:c,middlewareData:f,placement:H,coordinates:{x:m,y:u},lowPPI:((v===null||v===void 0?void 0:v.devicePixelRatio)||1)<=1,strategy:e,useTransform:t}),c.dispatchEvent(new CustomEvent(qa))}).catch((m)=>{console.error("[usePositioning]: Failed to calculate position",m)})},_=Tt(()=>M()),A=()=>{if(l=!0,v)v.removeEventListener("scroll",_),v.removeEventListener("resize",_);p.forEach((m)=>{m.removeEventListener("scroll",_)}),p.clear(),n===null||n===void 0||n.disconnect()};if(v)v.addEventListener("scroll",_,{passive:!0}),v.addEventListener("resize",_);return _(),{updatePosition:_,dispose:A}}function us(a,l){var c,o;let r=a;return Boolean((r==null||(c=r.ownerDocument)==null?void 0:c.defaultView)&&r instanceof r.ownerDocument.defaultView[(o=void 0)!=null?o:"HTMLElement"])}var Hs=(a)=>Boolean(us(a)&&"__FUIDT_ELEMENT_METADATA__"in a&&a.parentElement!==null),kL=(a)=>{let l=null,c=new MutationObserver((r)=>{if(!l)return;for(let e of r)if(e.type==="childList"&&Array.from(e.removedNodes).includes(l))o.withdraw()}),o={get selectedElement(){return l},select:(r)=>{if(Hs(r))l=r,c.observe(r.parentElement,{childList:!0,subtree:!1});if(l&&r){if(l.__FUIDT_ELEMENT_METADATA__.references.has(r))return l}return o.withdraw(),l},withdraw:()=>{l=null,c.disconnect(),a.postMessage("__FUIDT_SERIALIZED_DATA_CHANGE__")}};return o},yL=(a)=>{let{defaultView:l}=a;if(!l)return;if(!l.__FUIDT_CONTROLLER__)l.__FUIDT_CONTROLLER__=kL(l)},OL=(a)=>{var l,c;return yL(a),(l=(c=a.defaultView)==null?void 0:c.__FUIDT_CONTROLLER__)!=null?l:null},PL=(a,l)=>{return JSON.parse(JSON.stringify(a,(o,r)=>{if(us(r))return l.add(r);if(typeof r==="object"&&r&&Object.getPrototypeOf(r)!==Object.prototype&&Object.getPrototypeOf(r)!==Array.prototype){if("toString"in r)return r.toString();return}return r}))},TL=0,bL=()=>"__FUIDT_HTML_ELEMENT_REFERENCE__:"+TL++,EL=()=>{let a=/*@__PURE__*/new Map,l=/*@__PURE__*/new WeakMap;return{add:(o)=>{if(l.has(o))return l.get(o);let r=bL();return a.set(r,o),l.set(o,r),r},get:(o)=>{let r=a.get(o);if(r&&l.has(r))return r},has:(o)=>{return l.has(o)}}},fs=function(a,l){if(a===void 0)a=document;if(l===void 0)l=qL;return{name:"@floating-ui/devtools",fn:(c)=>{let{["__FUIDT_ELEMENT_METADATA__"]:o}=Hs(c.elements.floating)?c.elements.floating:Object.assign(c.elements.floating,{["__FUIDT_ELEMENT_METADATA__"]:{references:EL(),serializedData:[]}}),r=PL(l(c),o.references);o.serializedData.unshift(r);let e=OL(a);if(o.serializedData.length>1&&c.elements.floating===(e==null?void 0:e.selectedElement)){var h;(h=a.defaultView)==null||h.postMessage("__FUIDT_SERIALIZED_DATA_CHANGE__")}return{}}}},qL=(a)=>({...a,type:"FloatingUIMiddleware"});g();function zt(){return{name:"coverTarget",fn:(a)=>{let{placement:l,rects:c,x:o,y:r}=a,e=$a(l).side,h={x:o,y:r};switch(e){case"bottom":h.y-=c.reference.height;break;case"top":h.y+=c.reference.height;break;case"left":h.x+=c.reference.width;break;case"right":h.x-=c.reference.width;break}return h}}}function Qt(a){let{hasScrollableElement:l,flipBoundary:c,container:o,fallbackPositions:r=[],isRtl:e}=a,h=r.reduce((Z,t)=>{let{position:i,align:v}=x3(t),n=Xa(v,i,e);if(n)Z.push(n);return Z},[]);return vs({...l&&{boundary:"clippingAncestors"},...c&&{altBoundary:!0,boundary:C4(o,c)},fallbackStrategy:"bestFit",...h.length&&{fallbackPlacements:h}})}function Jt(){return{name:"intersectionObserver",fn:async(a)=>{let l=a.rects.floating,c=await ts(a,{altBoundary:!0}),o=c.top<l.height&&c.top>0,r=c.bottom<l.height&&c.bottom>0;return{data:{intersecting:o||r}}}}}var It=(a)=>({name:"resetMaxSize",fn({middlewareData:l,elements:c}){var o;if((o=l.resetMaxSize)===null||o===void 0?void 0:o.maxSizeAlreadyReset)return{};let{applyMaxWidth:r,applyMaxHeight:e}=a;if(r)c.floating.style.removeProperty("box-sizing"),c.floating.style.removeProperty("max-width"),c.floating.style.removeProperty("width");if(e)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 $t(a,l){let{container:c,overflowBoundary:o,overflowBoundaryPadding:r,isRtl:e}=l;return ds({...r&&{padding:Ya(r,e)},...o&&{altBoundary:!0,boundary:C4(c,o)},apply({availableHeight:h,availableWidth:Z,elements:t,rects:i}){let v=(p,M,_)=>{if(!p)return;if(t.floating.style.setProperty("box-sizing","border-box"),t.floating.style.setProperty(`max-${M}`,`${_}px`),i.floating[M]>_){t.floating.style.setProperty(M,`${_}px`);let A=M==="width"?"x":"y";if(!t.floating.style.getPropertyValue(`overflow-${A}`))t.floating.style.setProperty(`overflow-${A}`,"auto")}},{applyMaxWidth:n,applyMaxHeight:d}=a;v(n,"width",Z),v(d,"height",h)}})}function Vs(a){if(!a)return a;if(typeof a==="number"||typeof a==="object")return a;return({rects:{floating:l,reference:c},placement:o})=>{let{position:r,alignment:e}=Ka(o);return a({positionedRect:l,targetRect:c,position:r,alignment:e})}}function Yt(a){let l=Vs(a);return is(l)}function Xt(a){let{hasScrollableElement:l,shiftToCoverTarget:c,disableTether:o,overflowBoundary:r,container:e,overflowBoundaryPadding:h,isRtl:Z}=a;return ns({...l&&{boundary:"clippingAncestors"},...c&&{crossAxis:!0,limiter:yt({crossAxis:!0,mainAxis:!1})},...o&&{crossAxis:o==="all",limiter:yt({crossAxis:o!=="all",mainAxis:!1})},...h&&{padding:Ya(h,Z)},...r&&{altBoundary:!0,boundary:C4(e,r)}})}function Kt(){return{name:"matchTargetSize",fn:async(a)=>{let{rects:{reference:l,floating:c},elements:{floating:o},middlewareData:{matchTargetSize:{matchTargetSizeAttempt:r=!1}={}}}=a;if(l.width===c.width||r)return{};let{width:e}=l;if(o.style.setProperty("--fui-match-target-size",`${e}px`),!o.style.width)o.style.width="var(--fui-match-target-size)";return{data:{matchTargetSizeAttempt:!0},reset:{rects:!0}}}}}var Fs=(a)=>(l)=>{let{elements:{floating:c,reference:o}}=l,r=/*@__PURE__*/new Set;if(P1(o))K6(o).forEach((Z)=>r.add(Z));K6(c).forEach((Z)=>r.add(Z));let e=Array.isArray(a.flipBoundary)?a.flipBoundary:P1(a.flipBoundary)?[a.flipBoundary]:[],h=Array.isArray(a.overflowBoundary)?a.overflowBoundary:P1(a.overflowBoundary)?[a.overflowBoundary]:[];return{type:"FluentUIMiddleware",middlewareState:l,options:a,initialPlacement:Ka(l.initialPlacement),placement:Ka(l.placement),flipBoundaries:e,overflowBoundaries:h,scrollParents:Array.from(r)}};function WL(a,l){let{align:c,arrowPadding:o,autoSize:r,coverTarget:e,disableUpdateOnResize:h,flipBoundary:Z,offset:t,overflowBoundary:i,pinned:v,position:n,unstable_disableTether:d,strategy:p,overflowBoundaryPadding:M,fallbackPositions:_,useTransform:A,matchTargetSize:m,shiftToCoverTarget:u}=l;return W((f,H)=>{return a({container:f,arrow:H,options:{autoSize:r,disableUpdateOnResize:h,matchTargetSize:m,offset:t,strategy:p,coverTarget:e,flipBoundary:Z,overflowBoundary:i,useTransform:A,overflowBoundaryPadding:M,pinned:v,arrowPadding:o,align:c,fallbackPositions:_,shiftToCoverTarget:u,position:n,unstable_disableTether:d}})},[r,h,m,t,p,e,Z,i,A,M,v,o,c,_,u,n,d,a])}function gs(a){let{dir:l,targetDocument:c}=A1(),o=l==="rtl",r=WL(Bm(),a),{positionFixed:e}=a;return W((h,Z)=>{let t=Ot(h),i=r(h,Z),{autoSize:v,disableUpdateOnResize:n,matchTargetSize:d,offset:p,coverTarget:M,flipBoundary:_,overflowBoundary:A,useTransform:m,overflowBoundaryPadding:u,pinned:f,position:H,arrowPadding:F,strategy:R,align:C,fallbackPositions:b,shiftToCoverTarget:O,unstable_disableTether:c1}=i,l1=Wt(v),J=[l1&&It(l1),d&&Kt(),p&&Yt(p),M&&zt(),!f&&Qt({container:h,flipBoundary:_,hasScrollableElement:t,isRtl:o,fallbackPositions:b}),Xt({container:h,hasScrollableElement:t,overflowBoundary:A,disableTether:c1,overflowBoundaryPadding:u,isRtl:o,shiftToCoverTarget:O}),l1&&$t(l1,{container:h,overflowBoundary:A,overflowBoundaryPadding:u,isRtl:o}),Jt(),Z&&ps({element:Z,padding:F}),kt({strategy:"referenceHidden"}),kt({strategy:"escaped"}),c&&fs(c,Fs(i))].filter(Boolean);return{placement:Xa(C,H,o),middleware:J,strategy:(R!==null&&R!==void 0?R:e)?"fixed":"absolute",disableUpdateOnResize:n,useTransform:m}},[r,o,c,e])}function Na(a){let l=k(null),c=k(null),o=k(null),r=k(null),e=k(null),{enabled:h=!0}=a,Z=gs(a),t=W(()=>{if(l.current)l.current.dispose();l.current=null;var M;let _=(M=o.current)!==null&&M!==void 0?M:c.current;if(h&&_3()&&_&&r.current)l.current=ss({container:r.current,target:_,arrow:e.current,...Z(r.current,e.current)})},[h,Z]),i=Y((M)=>{o.current=M,t()});h5(a.positioningRef,()=>({updatePosition:()=>{var M;return(M=l.current)===null||M===void 0?void 0:M.updatePosition()},setTarget:(M)=>{if(a.target){let _=Error();console.warn("Imperative setTarget should not be used at the same time as target option"),console.warn(_.stack)}i(M)}}),[a.target,i]),W1(()=>{var M;i((M=a.target)!==null&&M!==void 0?M:null)},[a.target,i]),W1(()=>{t()},[t]),N(()=>{if(r.current){var M;let _=r.current,A=(M=_.ownerDocument)===null||M===void 0?void 0:M.createTreeWalker(_,NodeFilter.SHOW_ELEMENT,{acceptNode:bt});while(A.nextNode()){let m=A.currentNode;console.warn("usePositioning():",m),console.warn(['usePositioning(): ^ this node contains "autoFocus" prop on a React element. This can break the initial',"positioning of an element and cause a window jump effect. This issue occurs because React polyfills",'"autoFocus" behavior to solve inconsistencies between different browsers:',"https://github.com/facebook/react/issues/11851#issuecomment-351787078",`
|
|
138
138
|
`,'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",`
|
|
139
|
-
`,'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 n=j8(null,(s)=>{if(c.current!==s)c.current=s,Z()}),v=$(()=>{var s;return(s=a.onPositioningEnd)===null||s===void 0?void 0:s.call(a)}),d=j8(null,(s)=>{if(e.current!==s){var p;(p=e.current)===null||p===void 0||p.removeEventListener(q8,v),s===null||s===void 0||s.addEventListener(q8,v),e.current=s,Z()}}),m=j8(null,(s)=>{if(r.current!==s)r.current=s,Z()});return{targetRef:n,containerRef:d,arrowRef:m}}F();var NZ=(a)=>{let[l,c]=h1(a);return[l,(e)=>{if(e===void 0||e===null){c(void 0);return}let r;if(!(e instanceof MouseEvent))r=e.nativeEvent;else r=e;if(!(r instanceof MouseEvent))console.error("usePositioningMouseTarget should only be used with MouseEvent");let t=L_(r);c(t)}]};F();F();var Oe=f2(void 0),qL={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},PL=Oe.Provider,x0=(a)=>g3(Oe,(l=qL)=>a(l));var ll=(a,l)=>{let c=x0((A)=>A.contentRef),o=x0((A)=>A.openOnHover),e=x0((A)=>A.setOpen),r=x0((A)=>A.mountNode),t=x0((A)=>A.arrowRef),h=x0((A)=>A.size),Z=x0((A)=>A.withArrow),i=x0((A)=>A.appearance),n=x0((A)=>A.trapFocus),v=x0((A)=>A.inertTrapFocus),d=x0((A)=>A.inline),{modalAttributes:m}=V2({trapFocus:n,legacyTrapFocus:!v,alwaysFocusable:!n}),s={inline:d,appearance:i,withArrow:Z,size:h,arrowRef:t,mountNode:r,components:{root:"div"},root:w.always(a1("div",{ref:R1(l,c),role:n?"dialog":"group","aria-modal":n?!0:void 0,...m,...a}),{elementType:"div"})},{onMouseEnter:p,onMouseLeave:M,onKeyDown:u}=s.root;return s.root.onMouseEnter=(A)=>{if(o)e(A,!0);p===null||p===void 0||p(A)},s.root.onMouseLeave=(A)=>{if(o)e(A,!1);M===null||M===void 0||M(A)},s.root.onKeyDown=(A)=>{var V;if(A.key==="Escape"&&((V=c.current)===null||V===void 0?void 0:V.contains(A.target)))A.preventDefault(),e(A,!1);u===null||u===void 0||u(A)},s};F();F();function cl(a){if(T1(a))return{element:a};if(typeof a==="object"){if(a===null)return{element:null};return a}return{}}F();var gu=/*@__PURE__*/k({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 fu=_2,zL=(a)=>{let{className:l,dir:c,focusVisibleRef:o,targetNode:e}=a,r=p1(()=>{if(e===void 0||a.disabled)return null;let t=e.ownerDocument.createElement("div");return e.appendChild(t),t},[e,a.disabled]);return p1(()=>{if(!r)return;r.className=l,r.setAttribute("dir",c),r.setAttribute("data-portal-node","true"),o.current=r},[l,c,r,o]),j(()=>{return()=>{r===null||r===void 0||r.remove()}},[r]),r},QL=()=>{let a=void 0;function l(o,e){if(a)return a;if(e)a=o.ownerDocument.createElement("div"),o.appendChild(a);return a}function c(){if(a)a.remove(),a=void 0}return{get:l,dispose:c}},JL=(a)=>{let{className:l,dir:c,focusVisibleRef:o,targetNode:e}=a,[r]=h1(QL),t=p1(()=>{if(e===void 0||a.disabled)return null;return new Proxy({},{get(h,Z){if(Z==="nodeType")return Node.ELEMENT_NODE;if(Z==="remove"){let v=r.get(e,!1);if(v){if(v.childNodes.length===0)r.dispose()}return()=>{}}let i=r.get(e,!0),n=i?i[Z]:void 0;if(typeof n==="function")return n.bind(i);return n},set(h,Z,i){let n=Z==="_virtual"||Z==="focusVisible",v=n?r.get(e,!1):r.get(e,!0);if(n&&!v)return!0;if(v)return Object.assign(v,{[Z]:i}),!0;return!1}})},[r,e,a.disabled]);return fu(()=>{if(!t)return;let h=l.split(" ").filter(Boolean);return t.classList.add(...h),t.setAttribute("dir",c),t.setAttribute("data-portal-node","true"),o.current=t,()=>{t.classList.remove(...h),t.removeAttribute("dir")}},[l,c,t,o]),j(()=>{return()=>{t===null||t===void 0||t.remove()}},[t]),t},KL=fu?JL:zL,Fu=(a)=>{let{targetDocument:l,dir:c}=M1(),o=Gh(),e=P7(),r=gu(),t=p8(),h={dir:c,disabled:a.disabled,focusVisibleRef:e,className:D(t,r.root,a.className),targetNode:o!==null&&o!==void 0?o:l===null||l===void 0?void 0:l.body};return KL(h)};var jZ=(a)=>{let{element:l,className:c}=cl(a.mountNode),o=G(null),e=Fu({disabled:!!l,className:c}),r=l!==null&&l!==void 0?l:e,t={children:a.children,mountNode:r,virtualParentRootRef:o};return j(()=>{if(!r)return;let h=o.current,Z=r.contains(h);if(h&&!Z)return V8(r,h),()=>{V8(r,void 0)}},[o,r]),t};F();F();var ai=(a)=>{return/*@__PURE__*/e1("span",{hidden:!0,ref:a.virtualParentRootRef},a.mountNode&&/*@__PURE__*/To(/*@__PURE__*/e1(m1,null,a.children,/*@__PURE__*/e1("span",{hidden:!0})),a.mountNode))};var L2=(a)=>{let l=jZ(a);return ai(l)};L2.displayName="Portal";var ol=(a)=>{P(a);let l=/*@__PURE__*/A1(a.root,{children:[a.withArrow&&/*@__PURE__*/L("div",{ref:a.arrowRef,className:a.arrowClassName}),a.root.children]});if(a.inline)return l;return/*@__PURE__*/L(L2,{mountNode:a.mountNode,children:l})};var el={root:"fui-PopoverSurface"},aa={small:6,medium:8,large:8},$L=/*@__PURE__*/k({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;}}"]}),la=(a)=>{let l=$L();return a.root.className=D(el.root,l.root,a.inline&&l.inline,a.size==="small"&&l.smallPadding,a.size==="medium"&&l.mediumPadding,a.size==="large"&&l.largePadding,a.appearance==="inverted"&&l.inverted,a.appearance==="brand"&&l.brand,a.root.className),a.arrowClassName=D(l.arrow,a.size==="small"?l.smallArrow:l.mediumLargeArrow),a};var R2=/*@__PURE__*/I((a,l)=>{let c=ll(a,l);return la(c),z("usePopoverSurfaceStyles_unstable")(c),ol(c)});R2.displayName="PopoverSurface";var xu=4;var rl=(a)=>{let[l,c]=NZ(),o={size:"medium",contextTarget:l,setContextTarget:c,...a},e=e7.toArray(a.children);if(e.length===0)console.warn("Popover must contain at least one child");if(e.length>2)console.warn("Popover must contain at most two children");let r=void 0,t=void 0;if(e.length===2)r=e[0],t=e[1];else if(e.length===1)t=e[0];let[h,Z]=YL(o),[i,n]=a2(),v=$((g,S)=>{if(n(),!(g instanceof Event)&&g.persist)g.persist();if(g.type==="mouseleave"){var C;i(()=>{Z(g,S)},(C=a.mouseLeaveDelay)!==null&&C!==void 0?C:500)}else Z(g,S)}),d=q((g)=>{v(g,!h)},[v,h]),m=XL(o),{targetDocument:s}=M1();var p;k6({contains:H8,element:s,callback:(g)=>v(g,!1),refs:[m.triggerRef,m.contentRef],disabled:!h,disabledFocusOnIframe:!((p=a.closeOnIframeFocus)!==null&&p!==void 0?p:!0)});let M=o.openOnContext||o.closeOnScroll;Po({contains:H8,element:s,callback:(g)=>v(g,!1),refs:[m.triggerRef,m.contentRef],disabled:!h||!M});let{findFirstFocusable:u}=q7(),A=ae();j(()=>{if(a.unstable_disableAutoFocus)return;let g=m.contentRef.current;if(h&&g){var S;let C=!isNaN((S=g.getAttribute("tabIndex"))!==null&&S!==void 0?S:void 0),E=C?g:u(g);if(E===null||E===void 0||E.focus(),C)A(g)}},[u,A,h,m.contentRef,a.unstable_disableAutoFocus]);var V,H;return{...o,...m,inertTrapFocus:(V=a.inertTrapFocus)!==null&&V!==void 0?V:a.legacyTrapFocus===void 0?!1:!a.legacyTrapFocus,popoverTrigger:r,popoverSurface:t,open:h,setOpen:v,toggleOpen:d,setContextTarget:c,contextTarget:l,inline:(H=a.inline)!==null&&H!==void 0?H:!1}};function YL(a){let l=$((t,h)=>{var Z;return(Z=a.onOpenChange)===null||Z===void 0?void 0:Z.call(a,t,h)}),[c,o]=Y0({state:a.open,defaultState:a.defaultOpen,initialState:!1});a.open=c!==void 0?c:a.open;let e=a.setContextTarget,r=q((t,h)=>{if(h&&t.type==="contextmenu")e(t);if(!h)e(void 0);o(h),l===null||l===void 0||l(t,{open:h})},[o,l,e]);return[c,r]}function XL(a){let l={position:"above",align:"center",arrowPadding:2*xu,target:a.openOnContext?a.contextTarget:void 0,...x3(a.positioning)};if(l.coverTarget)a.withArrow=!1;if(a.withArrow)l.offset=be(l.offset,aa[a.size]);let{targetRef:c,containerRef:o,arrowRef:e}=al(l);return{triggerRef:c,contentRef:o,arrowRef:e}}F();var tl=(a)=>{let{appearance:l,arrowRef:c,contentRef:o,inline:e,mountNode:r,open:t,openOnContext:h,openOnHover:Z,setOpen:i,size:n,toggleOpen:v,trapFocus:d,triggerRef:m,withArrow:s,inertTrapFocus:p}=a;return/*@__PURE__*/e1(Oe.Provider,{value:{appearance:l,arrowRef:c,contentRef:o,inline:e,mountNode:r,open:t,openOnContext:h,openOnHover:Z,setOpen:i,toggleOpen:v,triggerRef:m,size:n,trapFocus:d,inertTrapFocus:p,withArrow:s}},a.popoverTrigger,a.open&&a.popoverSurface)};var S2=(a)=>{let l=rl(a);return tl(l)};S2.displayName="Popover";F();F();var hl=(a)=>{let{children:l,disableButtonEnhancement:c=!1}=a,o=v4(l),e=x0((V)=>V.open),r=x0((V)=>V.setOpen),t=x0((V)=>V.toggleOpen),h=x0((V)=>V.triggerRef),Z=x0((V)=>V.openOnHover),i=x0((V)=>V.openOnContext),{triggerAttributes:n}=V2(),v=(V)=>{if(i)V.preventDefault(),r(V,!0)},d=(V)=>{if(!i)t(V)},m=(V)=>{if(V.key===J7&&e&&!V.isDefaultPrevented())r(V,!1),V.preventDefault()},s=(V)=>{if(Z)r(V,!0)},p=(V)=>{if(Z)r(V,!1)},M={...n,"aria-expanded":`${e}`,...o===null||o===void 0?void 0:o.props,onMouseEnter:$(K1(o===null||o===void 0?void 0:o.props.onMouseEnter,s)),onMouseLeave:$(K1(o===null||o===void 0?void 0:o.props.onMouseLeave,p)),onContextMenu:$(K1(o===null||o===void 0?void 0:o.props.onContextMenu,v)),ref:R1(h,s3(o))},u={...M,onClick:$(K1(o===null||o===void 0?void 0:o.props.onClick,d)),onKeyDown:$(K1(o===null||o===void 0?void 0:o.props.onKeyDown,m))},A=F2((o===null||o===void 0?void 0:o.type)==="button"||(o===null||o===void 0?void 0:o.type)==="a"?o.type:"div",u);return{children:U6(a.children,F2((o===null||o===void 0?void 0:o.type)==="button"||(o===null||o===void 0?void 0:o.type)==="a"?o.type:"div",i?M:c?u:A))}};var Zl=(a)=>{return a.children};var e2=(a)=>{let l=hl(a);return Zl(l)};e2.displayName="PopoverTrigger";e2.isFluentTriggerComponent=!0;F();var X7=(a)=>{P(a);let{iconOnly:l,iconPosition:c}=a;return/*@__PURE__*/A1(a.root,{children:[c!=="after"&&a.icon&&/*@__PURE__*/L(a.icon,{}),!l&&a.root.children,c==="after"&&a.icon&&/*@__PURE__*/L(a.icon,{})]})};F();F();var Cu=v1(void 0),jL={},k51=Cu.Provider,Lu=()=>{var a;return(a=t1(Cu))!==null&&a!==void 0?a:jL};var C3=(a,l)=>{let{size:c}=Lu(),{appearance:o="secondary",as:e="button",disabled:r=!1,disabledFocusable:t=!1,icon:h,iconPosition:Z="before",shape:i="rounded",size:n=c!==null&&c!==void 0?c:"medium"}=a,v=w.optional(h,{elementType:"span"});return{appearance:o,disabled:r,disabledFocusable:t,iconPosition:Z,shape:i,size:n,iconOnly:Boolean((v===null||v===void 0?void 0:v.children)&&!a.children),components:{root:"button",icon:"span"},root:w.always(a1(e,F2(a.as,a)),{elementType:"button",defaultProps:{ref:l,type:e==="button"?"button":void 0}}),icon:v}};var ca={root:"fui-Button",icon:"fui-Button__icon"};var E51=`calc(${c0.strokeWidthThin} + 0.25px)`,aR=/*@__PURE__*/N("r1alrhcs",null,{r:[".r1alrhcs{align-items:center;box-sizing:border-box;display:inline-flex;justify-content:center;text-decoration-line:none;vertical-align:middle;margin:0;overflow:hidden;background-color:var(--colorNeutralBackground1);color:var(--colorNeutralForeground1);border:var(--strokeWidthThin) solid var(--colorNeutralStroke1);font-family:var(--fontFamilyBase);outline-style:none;padding:5px var(--spacingHorizontalM);min-width:96px;border-radius:var(--borderRadiusMedium);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightSemibold);line-height:var(--lineHeightBase300);transition-duration:var(--durationFaster);transition-property:background,border,color;transition-timing-function:var(--curveEasyEase);}",".r1alrhcs:hover{background-color:var(--colorNeutralBackground1Hover);border-color:var(--colorNeutralStroke1Hover);color:var(--colorNeutralForeground1Hover);cursor:pointer;}",".r1alrhcs:hover:active{background-color:var(--colorNeutralBackground1Pressed);border-color:var(--colorNeutralStroke1Pressed);color:var(--colorNeutralForeground1Pressed);outline-style:none;}",".r1alrhcs[data-fui-focus-visible]{border-color:var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);border-width:1px;outline:var(--strokeWidthThick) solid var(--colorTransparentStroke);box-shadow:0 0 0 var(--strokeWidthThin) var(--colorStrokeFocus2) inset;z-index:1;}"],s:["@media screen and (prefers-reduced-motion: reduce){.r1alrhcs{transition-duration:0.01ms;}}","@media (forced-colors: active){.r1alrhcs:focus{border-color:ButtonText;}.r1alrhcs:hover{background-color:HighlightText;border-color:Highlight;color:Highlight;forced-color-adjust:none;}.r1alrhcs:hover:active{background-color:HighlightText;border-color:Highlight;color:Highlight;forced-color-adjust:none;}}","@supports (-moz-appearance:button){.r1alrhcs[data-fui-focus-visible]{box-shadow:0 0 0 calc(var(--strokeWidthThin) + 0.25px) var(--colorStrokeFocus2) inset;}}"]}),lR=/*@__PURE__*/N("rywnvv2",null,[".rywnvv2{align-items:center;display:inline-flex;justify-content:center;font-size:20px;height:20px;width:20px;--fui-Button__icon--spacing:var(--spacingHorizontalSNudge);}"]),cR=/*@__PURE__*/k({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)"}]]}),oR=/*@__PURE__*/k({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)"}]]}),eR=/*@__PURE__*/k({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;}}"]}),rR=/*@__PURE__*/k({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;}"]}),tR=/*@__PURE__*/k({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);}"]}),L3=(a)=>{let l=aR(),c=lR(),o=cR(),e=oR(),r=eR(),t=rR(),h=tR(),{appearance:Z,disabled:i,disabledFocusable:n,icon:v,iconOnly:d,iconPosition:m,shape:s,size:p}=a;if(a.root.className=D(ca.root,l,Z&&o[Z],o[p],v&&p==="small"&&o.smallWithIcon,v&&p==="large"&&o.largeWithIcon,o[s],(i||n)&&e.base,(i||n)&&e.highContrast,Z&&(i||n)&&e[Z],Z==="primary"&&r.primary,r[p],r[s],d&&t[p],a.root.className),a.icon)a.icon.className=D(ca.icon,c,!!a.root.children&&h[m],h[p],a.icon.className);return a};var F1=/*@__PURE__*/I((a,l)=>{let c=C3(a,l);return L3(c),z("useButtonStyles_unstable")(c),X7(c)});F1.displayName="Button";F();F();F();F();var Ru=v1(void 0),il=Ru.Provider,R4=()=>t1(Ru);F();var vl=(a)=>{var l,c,o,e;let{generatedControlId:r,orientation:t,required:h,size:Z,validationState:i}=a,n=(l=a.label)===null||l===void 0?void 0:l.htmlFor,v=(c=a.label)===null||c===void 0?void 0:c.id,d=(o=a.validationMessage)===null||o===void 0?void 0:o.id,m=(e=a.hint)===null||e===void 0?void 0:e.id;return{field:p1(()=>({generatedControlId:r,hintId:m,labelFor:n,labelId:v,orientation:t,required:h,size:Z,validationMessageId:d,validationState:i}),[r,m,n,v,t,h,Z,d,i])}};function P5(a,l){return Ee(R4(),a,l)}function Ee(a,l,c){if(!a)return l;l={...l};let{generatedControlId:o,hintId:e,labelFor:r,labelId:t,required:h,validationMessageId:Z,validationState:i}=a;if(o){var n,v;(v=(n=l).id)!==null&&v!==void 0||(n.id=o)}if(t&&(!(c===null||c===void 0?void 0:c.supportsLabelFor)||r!==l.id)){var d,m,s;(s=(d=l)[m="aria-labelledby"])!==null&&s!==void 0||(d[m]=t)}if(Z||e)l["aria-describedby"]=[Z,e,l===null||l===void 0?void 0:l["aria-describedby"]].filter(Boolean).join(" ");if(i==="error"){var p,M,u;(u=(p=l)[M="aria-invalid"])!==null&&u!==void 0||(p[M]=!0)}if(h)if(c===null||c===void 0?void 0:c.supportsRequired){var A,V;(V=(A=l).required)!==null&&V!==void 0||(A.required=!0)}else{var H,g,S;(S=(H=l)[g="aria-required"])!==null&&S!==void 0||(H[g]=!0)}if(c===null||c===void 0?void 0:c.supportsSize){var C,E;(E=(C=l).size)!==null&&E!==void 0||(C.size=a.size)}return l}var nl=(a,l)=>{P(a);let{children:c}=a;if(typeof c==="function")c=c(Ee(l.field)||{});return/*@__PURE__*/L(il,{value:l===null||l===void 0?void 0:l.field,children:/*@__PURE__*/A1(a.root,{children:[a.label&&/*@__PURE__*/L(a.label,{}),c,a.validationMessage&&/*@__PURE__*/A1(a.validationMessage,{children:[a.validationMessageIcon&&/*@__PURE__*/L(a.validationMessageIcon,{}),a.validationMessage.children]}),a.hint&&/*@__PURE__*/L(a.hint,{})]})})};F();F();F();var dl=(a,l)=>{let{disabled:c=!1,required:o=!1,weight:e="regular",size:r="medium"}=a;return{disabled:c,required:w.optional(o===!0?"*":o||void 0,{defaultProps:{"aria-hidden":"true"},elementType:"span"}),weight:e,size:r,components:{root:"label",required:"span"},root:w.always(a1("label",{ref:l,...a}),{elementType:"label"})}};var ml=(a)=>{return P(a),/*@__PURE__*/A1(a.root,{children:[a.root.children,a.required&&/*@__PURE__*/L(a.required,{})]})};var pl={root:"fui-Label",required:"fui-Label__required"},hR=/*@__PURE__*/k({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)"}]]}),sl=(a)=>{let l=hR();if(a.root.className=D(pl.root,l.root,a.disabled&&l.disabled,l[a.size],a.weight==="semibold"&&l.semibold,a.root.className),a.required)a.required.className=D(pl.required,l.required,a.disabled&&l.disabled,a.required.className);return a};var S0=/*@__PURE__*/I((a,l)=>{let c=dl(a,l);return sl(c),z("useLabelStyles_unstable")(c),ml(c)});S0.displayName="Label";var ZR={error:/*@__PURE__*/e1(h_,null),warning:/*@__PURE__*/e1(n_,null),success:/*@__PURE__*/e1(l_,null),none:void 0},Ml=(a,l)=>{let{children:c,orientation:o="vertical",required:e=!1,validationState:r=a.validationMessage?"error":"none",size:t="medium"}=a,h=N1("field-"),Z=h+"__control",i=w.always(a1("div",{...a,ref:l},["children"]),{elementType:"div"}),n=w.optional(a.label,{defaultProps:{htmlFor:Z,id:h+"__label",required:e,size:t},elementType:S0}),v=w.optional(a.validationMessage,{defaultProps:{id:h+"__validationMessage",role:r==="error"||r==="warning"?"alert":void 0},elementType:"div"}),d=w.optional(a.hint,{defaultProps:{id:h+"__hint"},elementType:"div"}),m=ZR[r],s=w.optional(a.validationMessageIcon,{renderByDefault:!!m,defaultProps:{children:m},elementType:"span"});return{children:c,generatedControlId:Z,orientation:o,required:e,size:t,validationState:r,components:{root:"div",label:S0,validationMessage:"div",validationMessageIcon:"span",hint:"div"},root:i,label:n,validationMessageIcon:s,validationMessage:v,hint:d}};var R3={root:"fui-Field",label:"fui-Field__label",validationMessage:"fui-Field__validationMessage",validationMessageIcon:"fui-Field__validationMessageIcon",hint:"fui-Field__hint"};var iR=/*@__PURE__*/k({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;}"]}),vR=/*@__PURE__*/k({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;}"]}),nR=/*@__PURE__*/N("r5c4z9l",null,[".r5c4z9l{margin-top:var(--spacingVerticalXXS);color:var(--colorNeutralForeground3);font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase200);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase200);}"]),dR=/*@__PURE__*/k({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));}"]}),mR=/*@__PURE__*/N("ra7h1uk","r1rh6bd7",[".ra7h1uk{display:inline-block;font-size:12px;margin-left:calc(-12px - var(--spacingHorizontalXS));margin-right:var(--spacingHorizontalXS);line-height:0;vertical-align:-1px;}",".r1rh6bd7{display:inline-block;font-size:12px;margin-right:calc(-12px - var(--spacingHorizontalXS));margin-left:var(--spacingHorizontalXS);line-height:0;vertical-align:-1px;}"]),pR=/*@__PURE__*/k({error:{sj55zd:"f1hcrxcs"},warning:{sj55zd:"f1k5f75o"},success:{sj55zd:"ffmvakt"}},{d:[".f1hcrxcs{color:var(--colorPaletteRedForeground1);}",".f1k5f75o{color:var(--colorPaletteDarkOrangeForeground1);}",".ffmvakt{color:var(--colorPaletteGreenForeground1);}"]}),_l=(a)=>{let{validationState:l,size:c}=a,o=a.orientation==="horizontal",e=iR();a.root.className=D(R3.root,e.base,o&&e.horizontal,o&&!a.label&&e.horizontalNoLabel,a.root.className);let r=vR();if(a.label)a.label.className=D(R3.label,o&&r.horizontal,o&&c==="small"&&r.horizontalSmall,o&&c==="large"&&r.horizontalLarge,!o&&r.vertical,!o&&c==="large"&&r.verticalLarge,a.label.className);let t=mR(),h=pR();if(a.validationMessageIcon)a.validationMessageIcon.className=D(R3.validationMessageIcon,t,l!=="none"&&h[l],a.validationMessageIcon.className);let Z=nR(),i=dR();if(a.validationMessage)a.validationMessage.className=D(R3.validationMessage,Z,l==="error"&&i.error,!!a.validationMessageIcon&&i.withIcon,a.validationMessage.className);if(a.hint)a.hint.className=D(R3.hint,Z,a.hint.className);return a};var S4=/*@__PURE__*/I((a,l)=>{let c=Ml(a,l);_l(c),z("useFieldStyles_unstable")(c);let o=vl(c);return nl(c,o)});S4.displayName="Field";var ul=(a,l)=>{a=P5(a,{supportsLabelFor:!0,supportsRequired:!0});let{disabled:c=!1,required:o,shape:e="square",size:r="medium",labelPosition:t="after",onChange:h}=a,[Z,i]=Y0({defaultState:a.defaultChecked,state:a.checked,initialState:!1}),n=t7({props:a,primarySlotTagName:"input",excludedPropNames:["checked","defaultChecked","size","onChange"]}),v=Z==="mixed",d=N1("checkbox-",n.primary.id),m;if(v)if(e==="circular")m=/*@__PURE__*/e1(de,null);else m=r==="large"?/*@__PURE__*/e1(v_,null):/*@__PURE__*/e1(i_,null);else if(Z)m=r==="large"?/*@__PURE__*/e1(a_,null):/*@__PURE__*/e1(Me,null);let s={shape:e,checked:Z,disabled:c,size:r,labelPosition:t,components:{root:"span",input:"input",indicator:"div",label:S0},root:w.always(a.root,{defaultProps:{ref:H2(),...n.root},elementType:"span"}),input:w.always(a.input,{defaultProps:{type:"checkbox",id:d,ref:l,checked:Z===!0,...n.primary},elementType:"input"}),label:w.optional(a.label,{defaultProps:{htmlFor:d,disabled:c,required:o,size:"medium"},elementType:S0}),indicator:w.optional(a.indicator,{renderByDefault:!0,defaultProps:{"aria-hidden":!0,children:m},elementType:"div"})};s.input.onChange=$((M)=>{let u=M.currentTarget.indeterminate?"mixed":M.currentTarget.checked;h===null||h===void 0||h(M,{checked:u}),i(u)});let p=R1(s.input.ref);return s.input.ref=p,q1(()=>{if(p.current)p.current.indeterminate=v},[p,v]),s};var Al=(a)=>{return P(a),/*@__PURE__*/A1(a.root,{children:[/*@__PURE__*/L(a.input,{}),a.labelPosition==="before"&&a.label&&/*@__PURE__*/L(a.label,{}),a.indicator&&/*@__PURE__*/L(a.indicator,{}),a.labelPosition==="after"&&a.label&&/*@__PURE__*/L(a.label,{})]})};var D4={root:"fui-Checkbox",label:"fui-Checkbox__label",input:"fui-Checkbox__input",indicator:"fui-Checkbox__indicator"};var sR=/*@__PURE__*/N("r1q22k1j","r18ze4k2",{r:[".r1q22k1j{position:relative;display:inline-flex;cursor:pointer;vertical-align:middle;color:var(--colorNeutralForeground3);}",".r1q22k1j:focus{outline-style:none;}",".r1q22k1j:focus-visible{outline-style:none;}",".r1q22k1j[data-fui-focus-within]:focus-within{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.r1q22k1j[data-fui-focus-within]:focus-within::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);right:calc(2px * -1);bottom:calc(2px * -1);left:calc(2px * -1);}',".r18ze4k2{position:relative;display:inline-flex;cursor:pointer;vertical-align:middle;color:var(--colorNeutralForeground3);}",".r18ze4k2:focus{outline-style:none;}",".r18ze4k2:focus-visible{outline-style:none;}",".r18ze4k2[data-fui-focus-within]:focus-within{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.r18ze4k2[data-fui-focus-within]:focus-within::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);left:calc(2px * -1);bottom:calc(2px * -1);right:calc(2px * -1);}'],s:["@media (forced-colors: active){.r1q22k1j[data-fui-focus-within]:focus-within::after{border-top-color:Highlight;border-right-color:Highlight;border-bottom-color:Highlight;border-left-color:Highlight;}}","@media (forced-colors: active){.r18ze4k2[data-fui-focus-within]:focus-within::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}"]}),MR=/*@__PURE__*/k({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)"}]]}),_R=/*@__PURE__*/N("ruo9svu",null,[".ruo9svu{box-sizing:border-box;cursor:inherit;height:100%;margin:0;opacity:0;position:absolute;top:0;width:calc(16px + 2 * var(--spacingHorizontalS));}"]),uR=/*@__PURE__*/k({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));}"]}),AR=/*@__PURE__*/N("rl7ci6d",null,[".rl7ci6d{align-self:flex-start;box-sizing:border-box;flex-shrink:0;display:flex;align-items:center;justify-content:center;overflow:hidden;color:var(--fui-Checkbox__indicator--color);background-color:var(--fui-Checkbox__indicator--backgroundColor);border-color:var(--fui-Checkbox__indicator--borderColor, var(--colorNeutralStrokeAccessible));border-style:solid;border-width:var(--strokeWidthThin);border-radius:var(--borderRadiusSmall);margin:var(--spacingVerticalS) var(--spacingHorizontalS);fill:currentColor;pointer-events:none;font-size:12px;height:16px;width:16px;}"]),HR=/*@__PURE__*/k({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}]]}),VR=/*@__PURE__*/k({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);}"]}),Hl=(a)=>{let{checked:l,disabled:c,labelPosition:o,shape:e,size:r}=a,t=sR(),h=MR();a.root.className=D(D4.root,t,c?h.disabled:l==="mixed"?h.mixed:l?h.checked:h.unchecked,a.root.className);let Z=_R(),i=uR();a.input.className=D(D4.input,Z,r==="large"&&i.large,i[o],a.input.className);let n=AR(),v=HR();if(a.indicator)a.indicator.className=D(D4.indicator,n,r==="large"&&v.large,e==="circular"&&v.circular,a.indicator.className);let d=VR();if(a.label)a.label.className=D(D4.label,d.base,d[r],d[o],a.label.className);return a};var w4=/*@__PURE__*/I((a,l)=>{let c=ul(a,l);return Hl(c),z("useCheckboxStyles_unstable")(c),Al(c)});w4.displayName="Checkbox";var li=f2({activeOption:void 0,appearance:"outline",focusVisible:!1,open:!1,registerOption(){return()=>{return}},selectedOptions:[],selectOption(){},setActiveOption(){},setOpen(){},size:"medium"}),gR=li.Provider;F();var fR={activeOption:void 0,focusVisible:!1,multiselect:!1,getOptionById(){return},getOptionsMatchingValue(){return[]},registerOption(){return()=>{return}},selectedOptions:[],onOptionClick(){},onActiveDescendantChange(){},selectOption(){},setActiveOption(){}},_7=f2(void 0),j0=(a)=>g3(_7,(l=fR)=>a(l)),FR=_7.Provider;F();function ci(a){let{appearance:l,open:c,getOptionById:o,getOptionsMatchingValue:e,registerOption:r,selectedOptions:t,selectOption:h,setOpen:Z,size:i,activeDescendantController:n,onOptionClick:v,onActiveDescendantChange:d}=a,m={activeOption:void 0,appearance:l,focusVisible:!1,open:c,registerOption:r,selectedOptions:t,selectOption:h,setActiveOption:()=>null,setOpen:Z,size:i},s={activeOption:void 0,focusVisible:!1,getOptionById:o,getOptionsMatchingValue:e,registerOption:r,selectedOptions:t,selectOption:h,setActiveOption:()=>null,onOptionClick:v,onActiveDescendantChange:d},p=p1(()=>({controller:n}),[n]);return{combobox:m,activeDescendant:p,listbox:s}}F();function oi(a){let l=_4(_7),{getOptionById:c,getOptionsMatchingValue:o,multiselect:e,registerOption:r,selectedOptions:t,selectOption:h,activeDescendantController:Z}=a,i=j0((p)=>p.registerOption),n=j0((p)=>p.onOptionClick),v=j0((p)=>p.onActiveDescendantChange),m={activeOption:void 0,focusVisible:!1,getOptionById:c,getOptionsMatchingValue:o,multiselect:e,registerOption:l?i:r,selectedOptions:t,selectOption:h,setActiveOption:()=>{return},onOptionClick:n,onActiveDescendantChange:v},s=p1(()=>({controller:Z}),[Z]);return{listbox:m,activeDescendant:s}}F();F();F();function oa(a,l={}){let{open:c=!0,multiselect:o=!1}=l,e=a.key,{altKey:r,ctrlKey:t,key:h,metaKey:Z}=a;if(h.length===1&&e!==q5&&!r&&!t&&!Z)return"Type";if(!c){if(e===P6||e===u4||e===d7||e===q5)return"Open";return"None"}if(e===u4&&r||e===d7||!o&&e===q5)return"CloseSelect";if(o&&e===q5)return"Select";if(e===J7)return"Close";if(e===P6)return"Next";if(e===u4)return"Previous";if(e===uZ)return"First";if(e===_Z)return"Last";if(e===HZ)return"PageUp";if(e===AZ)return"PageDown";if(e===b8)return"Tab";return"None"}F();var We=()=>{let a=G(/*@__PURE__*/new Map),l=p1(()=>{return{getCount:()=>a.current.size,getOptionAtIndex:()=>{return},getIndexOfId:()=>-1,getOptionById:(i)=>{return a.current.get(i)},getOptionsMatchingText:(i)=>{return Array.from(a.current.values()).filter(({text:n})=>i(n))},getOptionsMatchingValue:(i)=>{let n=[];for(let v of a.current.values())if(i(v.value))n.push(v);return n}}},[]),c=q((o)=>{return a.current.set(o.id,o),()=>a.current.delete(o.id)},[]);return{...l,options:Array.from(a.current.values()),registerOption:c}};F();var Ie=(a)=>{let{defaultSelectedOptions:l,multiselect:c,onOptionSelect:o}=a,[e,r]=Y0({state:a.selectedOptions,defaultState:l,initialState:[]}),t=q((Z,i)=>{if(i.disabled)return;let n=[i.value];if(c){let v=e.findIndex((d)=>d===i.value);if(v>-1)n=[...e.slice(0,v),...e.slice(v+1)];else n=[...e,i.value]}r(n),o===null||o===void 0||o(Z,{optionValue:i.value,optionText:i.text,selectedOptions:n})},[o,c,e,r]);return{clearSelection:(Z)=>{r([]),o===null||o===void 0||o(Z,{optionValue:void 0,optionText:void 0,selectedOptions:[]})},selectOption:t,selectedOptions:e}};var N7={root:"fui-Option",checkIcon:"fui-Option__checkIcon"},xR=/*@__PURE__*/k({root:{Bt984gj:"f122n59",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",sj55zd:"f19n0e5",i8kkvl:"f1ufnopg",Bceei9c:"f1k6fduh",mc9l5x:"f22iagw",Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bg96gwp:"f1i3iumi",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fm5eomj",qhf8xq:"f10pi13n",Jwef8y:"f1knas48",Bi91k9c:"feu1g3u",zqbkvg:"fo79ri9",h82x05:["f1osiabc","f1e8le25"],cqj998:"f1yusjty",j3hlsh:["f1e8le25","f1osiabc"],ecr2s2:"fb40n2d",lj723h:"f1g4hkjv",Btxx2vb:"f1lnr2zp",sltcwy:["f1ogfk9z","f1g7j8ec"],dnwvvm:"fiuf46r",Blyvkvs:["f1g7j8ec","f1ogfk9z"]},active:{Bowz1zl:"f11vrvdw",oxogb1:"f17hxjb7",Ix2sn8:"f1dha69c",q7v32p:"f1lm7500",B7cbj04:0,Bewtojm:0,b50fsz:0,B1wzb3v:0,Bqwk70n:0,B37u8z8:0,avt0cx:0,f0sref:0,B9fkznv:0,Be3o27t:0,Bertapg:0,B53xpsf:0,Bsv72rj:0,B39dzdd:0,Btq9bd3:0,Bqfxd14:0,atup0s:"fo7xqb",Fffuxt:0,Bttcd12:0,Beitzug:0,Bqougee:0,B86i8pi:"f1kurthe",Bhijsxg:"fwq15dy",kktds4:"f1pb3wry",Bmau3bo:["ftjv2f4","f1flhb1f"],npektv:["f1flhb1f","ftjv2f4"]},disabled:{sj55zd:"f1s2aq7o",Jwef8y:"f9ql6rf",Bi91k9c:"fvgxktp",zqbkvg:"f185j3qj",h82x05:["f1dligi3","f1vydzie"],cqj998:"fjw1di3",j3hlsh:["f1vydzie","f1dligi3"],ecr2s2:"fgj9um3",lj723h:"f19wldhg",Btxx2vb:"f1ss0kt2",sltcwy:["f1t6oli3","fjy9ci8"],dnwvvm:"fresaxk",Blyvkvs:["fjy9ci8","f1t6oli3"],Bbusuzp:"f1dcs8yz"},selected:{},checkIcon:{Bnnss6s:"fi64zpg",Be2twd7:"fod5ikn",Frg6f3:["f18b9hdq","fn6qj8t"],t21cq0:["f1xk557c","f1h9en5y"],Bcdw1i0:"fd7fpy0",Bo70h7d:"fvc9v3g"},selectedCheck:{Bcdw1i0:"f1022m68"},multiselectCheck:{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:"f1l3cf7o",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"fq9zq91",B7ck84d:"f1ewtqcl",mc9l5x:"f22iagw",Bt984gj:"f122n59",Brf1p80:"f4d9j23",Bkfmm31:"f1w9h62z",Be2twd7:"f1ugzwwg",Bqenvij:"fd461yt",a9b677:"fjw5fx7",Bcdw1i0:"f1022m68"},selectedMultiselectCheck:{De3pzq:"ftywsgz",sj55zd:"fqpbvvt",g2u3we:"f3xi7mh",h3c5rm:["ftovhe4","f1wczvin"],B9xav0g:"f68vbr6",zhjwy3:["f1wczvin","ftovhe4"]},checkDisabled:{sj55zd:"f1s2aq7o",Bbusuzp:"f1dcs8yz"},multiselectCheckDisabled:{g2u3we:"f1r1t4y1",h3c5rm:["fmj8ijw","figx54m"],B9xav0g:"f360ss8",zhjwy3:["figx54m","fmj8ijw"]}},{d:[".f122n59{align-items:center;}",[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f19n0e5{color:var(--colorNeutralForeground1);}",".f1ufnopg{column-gap:var(--spacingHorizontalXS);}",".f1k6fduh{cursor:pointer;}",".f22iagw{display:flex;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",[".fm5eomj{padding:var(--spacingVerticalSNudge) var(--spacingHorizontalS);}",{p:-1}],".f10pi13n{position:relative;}",'.f11vrvdw[data-activedescendant-focusvisible]::after{content:"";}',".f17hxjb7[data-activedescendant-focusvisible]::after{position:absolute;}",".f1dha69c[data-activedescendant-focusvisible]::after{pointer-events:none;}",".f1lm7500[data-activedescendant-focusvisible]::after{z-index:1;}",[".fo7xqb[data-activedescendant-focusvisible]::after{border:2px solid var(--colorStrokeFocus2);}",{p:-2}],[".f1kurthe[data-activedescendant-focusvisible]::after{border-radius:var(--borderRadiusMedium);}",{p:-1}],".fwq15dy[data-activedescendant-focusvisible]::after{top:-2px;}",".f1pb3wry[data-activedescendant-focusvisible]::after{bottom:-2px;}",".ftjv2f4[data-activedescendant-focusvisible]::after{left:-2px;}",".f1flhb1f[data-activedescendant-focusvisible]::after{right:-2px;}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".fi64zpg{flex-shrink:0;}",".fod5ikn{font-size:var(--fontSizeBase400);}",".f18b9hdq{margin-left:calc(var(--spacingHorizontalXXS) * -1);}",".fn6qj8t{margin-right:calc(var(--spacingHorizontalXXS) * -1);}",".f1xk557c{margin-right:var(--spacingHorizontalXXS);}",".f1h9en5y{margin-left:var(--spacingHorizontalXXS);}",".fd7fpy0{visibility:hidden;}",".fvc9v3g svg{display:block;}",".f1022m68{visibility:visible;}",[".f1l3cf7o{border:var(--strokeWidthThin) solid var(--colorNeutralStrokeAccessible);}",{p:-2}],[".fq9zq91{border-radius:var(--borderRadiusSmall);}",{p:-1}],".f1ewtqcl{box-sizing:border-box;}",".f4d9j23{justify-content:center;}",".f1w9h62z{fill:currentColor;}",".f1ugzwwg{font-size:12px;}",".fd461yt{height:16px;}",".fjw5fx7{width:16px;}",".ftywsgz{background-color:var(--colorCompoundBrandBackground);}",".fqpbvvt{color:var(--colorNeutralForegroundInverted);}",".f3xi7mh{border-top-color:var(--colorCompoundBrandBackground);}",".ftovhe4{border-right-color:var(--colorCompoundBrandBackground);}",".f1wczvin{border-left-color:var(--colorCompoundBrandBackground);}",".f68vbr6{border-bottom-color:var(--colorCompoundBrandBackground);}",".f1r1t4y1{border-top-color:var(--colorNeutralForegroundDisabled);}",".fmj8ijw{border-right-color:var(--colorNeutralForegroundDisabled);}",".figx54m{border-left-color:var(--colorNeutralForegroundDisabled);}",".f360ss8{border-bottom-color:var(--colorNeutralForegroundDisabled);}"],h:[".f1knas48:hover{background-color:var(--colorNeutralBackground1Hover);}",".feu1g3u:hover{color:var(--colorNeutralForeground1Hover);}",".fo79ri9:hover .fui-Option__checkIcon{border-top-color:var(--colorNeutralForeground1Hover);}",".f1osiabc:hover .fui-Option__checkIcon{border-right-color:var(--colorNeutralForeground1Hover);}",".f1e8le25:hover .fui-Option__checkIcon{border-left-color:var(--colorNeutralForeground1Hover);}",".f1yusjty:hover .fui-Option__checkIcon{border-bottom-color:var(--colorNeutralForeground1Hover);}",".f9ql6rf:hover{background-color:var(--colorTransparentBackground);}",".fvgxktp:hover{color:var(--colorNeutralForegroundDisabled);}",".f185j3qj:hover .fui-Option__checkIcon{border-top-color:var(--colorNeutralForegroundDisabled);}",".f1dligi3:hover .fui-Option__checkIcon{border-right-color:var(--colorNeutralForegroundDisabled);}",".f1vydzie:hover .fui-Option__checkIcon{border-left-color:var(--colorNeutralForegroundDisabled);}",".fjw1di3:hover .fui-Option__checkIcon{border-bottom-color:var(--colorNeutralForegroundDisabled);}"],a:[".fb40n2d:active{background-color:var(--colorNeutralBackground1Pressed);}",".f1g4hkjv:active{color:var(--colorNeutralForeground1Pressed);}",".f1lnr2zp:active .fui-Option__checkIcon{border-top-color:var(--colorNeutralForeground1Hover);}",".f1ogfk9z:active .fui-Option__checkIcon{border-right-color:var(--colorNeutralForeground1Hover);}",".f1g7j8ec:active .fui-Option__checkIcon{border-left-color:var(--colorNeutralForeground1Hover);}",".fiuf46r:active .fui-Option__checkIcon{border-bottom-color:var(--colorNeutralForeground1Hover);}",".fgj9um3:active{background-color:var(--colorTransparentBackground);}",".f19wldhg:active{color:var(--colorNeutralForegroundDisabled);}",".f1ss0kt2:active .fui-Option__checkIcon{border-top-color:var(--colorNeutralForegroundDisabled);}",".f1t6oli3:active .fui-Option__checkIcon{border-right-color:var(--colorNeutralForegroundDisabled);}",".fjy9ci8:active .fui-Option__checkIcon{border-left-color:var(--colorNeutralForegroundDisabled);}",".fresaxk:active .fui-Option__checkIcon{border-bottom-color:var(--colorNeutralForegroundDisabled);}"],m:[["@media (forced-colors: active){.f1dcs8yz{color:GrayText;}}",{m:"(forced-colors: active)"}]]}),Vl=(a)=>{let{disabled:l,multiselect:c,selected:o}=a,e=xR();if(a.root.className=D(N7.root,e.root,e.active,l&&e.disabled,o&&e.selected,a.root.className),a.checkIcon)a.checkIcon.className=D(N7.checkIcon,e.checkIcon,c&&e.multiselectCheck,o&&e.selectedCheck,o&&c&&e.selectedMultiselectCheck,l&&e.checkDisabled,l&&c&&e.multiselectCheckDisabled,a.checkIcon.className);return a};var Su={activeOption:void 0,focusVisible:!1,setActiveOption:()=>null},qe=(a,l)=>{let{multiselect:c,disableAutoFocus:o=!1}=a,e=We(),{listboxRef:r,activeParentRef:t,controller:h}=J6({matchOption:(R)=>R.classList.contains(N7.root)}),Z=_4(_7),i=j0((R)=>R.onActiveDescendantChange),n=j0((R)=>R.getOptionById),v=j0((R)=>R.getOptionsMatchingValue),d=Z?n:e.getOptionById,m=Z?v:e.getOptionsMatchingValue,s=p1(()=>{let R=null,U=(K)=>{i===null||i===void 0||i(K)};return(K)=>{if(!K){R===null||R===void 0||R.removeEventListener("activedescendantchange",U);return}R=K,R.addEventListener("activedescendantchange",U)}},[i]),[p,M]=h1(!1);E6(M);let u=Q6(),A=Ze(),V=A?u.controller:h,{clearSelection:H,selectedOptions:g,selectOption:S}=Ie(a),C=(R)=>{let U=oa(R,{open:!0}),K=V.active(),X=K?d(K):null;switch(U){case"First":case"Last":case"Next":case"Previous":case"PageDown":case"PageUp":case"CloseSelect":case"Select":R.preventDefault();break}switch(U){case"Next":if(X)V.next();else V.first();break;case"Previous":if(X)V.prev();else V.first();break;case"PageUp":case"First":V.first();break;case"PageDown":case"Last":V.last();break;case"Select":case"CloseSelect":X&&S(R,X);break}},E=j0((R)=>R.selectedOptions),T=j0((R)=>R.selectOption),c1=Z?{selectedOptions:E,selectOption:T,...Su}:{selectedOptions:g,selectOption:S,...Su};j(()=>{if(A)return;if(V.hideFocusVisibleAttributes(),!o)if(!c&&c1.selectedOptions.length>0){let R=m((U)=>U===c1.selectedOptions[0]).pop();if(R===null||R===void 0?void 0:R.id)V.focus(R.id)}else V.first();return()=>{V.blur()}},[]);let l1=q(()=>{if(A)return;if(V.showFocusVisibleAttributes(),p)V.scrollActiveIntoView()},[V,A,p]),Q=q(()=>{if(A)return;V.hideFocusVisibleAttributes()},[V,A]),x={components:{root:"div"},root:w.always(a1("div",{ref:R1(l,t,r,s),role:c?"menu":"listbox",tabIndex:0,...a}),{elementType:"div"}),standalone:!Z,multiselect:c,clearSelection:H,activeDescendantController:V,onActiveDescendantChange:i,...e,...c1};return x.root.onKeyDown=$(K1(x.root.onKeyDown,C)),x.root.onFocus=$(K1(x.root.onFocus,l1)),x.root.onBlur=$(K1(x.root.onBlur,Q)),x};var Pe=(a,l)=>{return P(a),/*@__PURE__*/L(z6,{value:l.activeDescendant,children:/*@__PURE__*/L(_7.Provider,{value:l.listbox,children:/*@__PURE__*/L(a.root,{})})})};var ei={root:"fui-Listbox"},CR=/*@__PURE__*/k({root:{De3pzq:"fxugw4r",B7ck84d:"f1ewtqcl",mc9l5x:"f22iagw",Beiy3e4:"f1vx9l62",Bf4jedk:"f3hsy1e",Bmxbyg5:"f5zp4f",Bw0xxkn:0,oeaueh:0,Bpd4iqm:0,Befb4lg:"f1iepc6i",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1t35pdg",Belr9w4:"fiut8dr"}},{d:[".fxugw4r{background-color:var(--colorNeutralBackground1);}",".f1ewtqcl{box-sizing:border-box;}",".f22iagw{display:flex;}",".f1vx9l62{flex-direction:column;}",".f3hsy1e{min-width:160px;}",".f5zp4f{overflow-y:auto;}",[".f1iepc6i{outline:1px solid var(--colorTransparentStroke);}",{p:-1}],[".f1t35pdg{padding:var(--spacingHorizontalXS);}",{p:-1}],".fiut8dr{row-gap:var(--spacingHorizontalXXS);}"]}),ze=(a)=>{let l=CR();return a.root.className=D(ei.root,l.root,a.root.className),a};var S3=/*@__PURE__*/I((a,l)=>{let c=qe(a,l),o=oi(c);return ze(c),z("useListboxStyles_unstable")(c),Pe(c,o)});S3.displayName="Listbox";F();F();function LR(a,l){if(a!==void 0)return a;let c="",o=!1;if(e7.forEach(l,(e)=>{if(typeof e==="string")c+=e;else o=!0}),o)console.warn("Provide a `text` prop to Option components when they contain non-string children.");return c}var gl=(a,l)=>{let{children:c,disabled:o,text:e,value:r}=a,t=G(null),h=LR(e,c),Z=r!==null&&r!==void 0?r:h,i=N1("fluent-option",a.id),n=p1(()=>({id:i,disabled:o,text:h,value:Z}),[i,o,h,Z]),{controller:v}=Q6(),d=j0((H)=>H.multiselect),m=j0((H)=>H.registerOption),s=j0((H)=>{let g=H.selectedOptions;return Z!==void 0&&g.find((S)=>S===Z)!==void 0}),p=j0((H)=>H.selectOption),M=j0((H)=>H.onOptionClick),u=/*@__PURE__*/e1(QM,null);if(d)u=s?/*@__PURE__*/e1(Me,null):"";let A=(H)=>{var g;if(o){H.preventDefault();return}v.focus(i),p(H,n),M(H),(g=a.onClick)===null||g===void 0||g.call(a,H)};j(()=>{if(i&&t.current)return m(n,t.current)},[i,n,m]);let V=d?{role:"menuitemcheckbox","aria-checked":s}:{role:"option","aria-selected":s};return{components:{root:"div",checkIcon:"span"},root:w.always(a1("div",{ref:R1(l,t),"aria-disabled":o?"true":void 0,id:i,...V,...a,onClick:A}),{elementType:"div"}),checkIcon:w.optional(a.checkIcon,{renderByDefault:!0,defaultProps:{"aria-hidden":"true",children:u},elementType:"span"}),disabled:o,multiselect:d,selected:s,focusVisible:!1,active:!1}};var fl=(a)=>{return P(a),/*@__PURE__*/A1(a.root,{children:[a.checkIcon&&/*@__PURE__*/L(a.checkIcon,{}),a.root.children]})};var k4=/*@__PURE__*/I((a,l)=>{let c=gl(a,l);return Vl(c),z("useOptionStyles_unstable")(c),fl(c)});k4.displayName="Option";F();F();var Du=(a)=>{let{appearance:l="outline",disableAutoFocus:c,children:o,clearable:e=!1,editable:r=!1,inlinePopup:t=!1,mountNode:h=void 0,multiselect:Z,onOpenChange:i,size:n="medium",activeDescendantController:v,freeform:d=!1,disabled:m=!1,onActiveOptionChange:s=null}=a,p=We(),{getOptionsMatchingValue:M}=p,{getOptionById:u}=p,A=q(()=>{let B=v.active();return B?u(B):void 0},[v,u]),V=A(),H=q((B)=>{let b=void 0;if(typeof B==="function"){let x1=A();b=B(x1)}if(b)v.focus(b.id);else v.blur()},[v,A]),[g,S]=h1(!1),[C,E]=h1(!1),T=G(!1),c1=D6(),[l1,Q]=Y0({state:a.value,initialState:void 0}),{selectedOptions:x,selectOption:R,clearSelection:U}=Ie(a),K=q((B,b)=>{Z8(()=>{Q(void 0),R(B,b)})},[Q,R]),X=p1(()=>{if(l1!==void 0)return l1;if(c1&&a.defaultValue!==void 0)return a.defaultValue;let B=M((b)=>{return x.includes(b)}).map((b)=>b.text);if(Z)return r?"":B.join(", ");return B[0]},[l1,r,M,Z,x]),[i1,J]=Y0({state:a.open,defaultState:a.defaultOpen,initialState:!1}),s1=q((B,b)=>{if(m)return;i===null||i===void 0||i(B,{open:b}),Z8(()=>{if(!b&&!d)Q(void 0);J(b)})},[i,J,Q,d,m]);j(()=>{if(i1){if(!Z&&x.length>0){let B=M((b)=>b===x[0]).pop();if(B===null||B===void 0?void 0:B.id)v.focus(B.id)}}else v.blur()},[i1,v]),j(()=>{if(i1&&!c&&!v.active())v.first()},[i1,o,c,v,u]);let H1=$((B)=>{let b=B.detail.previousId?p.getOptionById(B.detail.previousId):null,x1=p.getOptionById(B.detail.id);s===null||s===void 0||s(B,{event:B,type:"change",previousOption:b,nextOption:x1})});return{...p,freeform:d,disabled:m,selectOption:K,clearSelection:U,selectedOptions:x,activeOption:V,appearance:l,clearable:e,focusVisible:g,ignoreNextBlur:T,inlinePopup:t,mountNode:h,open:i1,hasFocus:C,setActiveOption:H,setFocusVisible:S,setHasFocus:E,setOpen:s1,setValue:Q,size:n,value:X,multiselect:Z,onOptionClick:$((B)=>{if(!Z)s1(B,!1)}),onActiveDescendantChange:H1}};F();function wu(a){let{positioning:l}=a,o={position:"below",align:"start",offset:{crossAxis:0,mainAxis:2},fallbackPositions:["above","after","after-top","before","before-top"],matchTargetSize:"width",autoSize:!0,...x3(l)},{targetRef:e,containerRef:r}=al(o);return[r,e]}F();function ku(a,l,c){let{state:{multiselect:o},triggerRef:e,defaultProps:r}=c,t=N1("fluent-listbox",C6(a)?a.id:void 0),h=w.optional(a,{renderByDefault:!0,elementType:S3,defaultProps:{id:t,multiselect:o,tabIndex:void 0,...r}}),Z=P5({id:t},{supportsLabelFor:!0});if(h&&!h["aria-label"]&&!h["aria-labelledby"]&&Z["aria-labelledby"])h["aria-labelledby"]=Z["aria-labelledby"];let i=$(K1((d)=>{d.preventDefault()},h===null||h===void 0?void 0:h.onMouseDown)),n=$(K1((d)=>{var m;d.preventDefault(),(m=e.current)===null||m===void 0||m.focus()},h===null||h===void 0?void 0:h.onClick)),v=R1(h===null||h===void 0?void 0:h.ref,l);if(h)h.ref=v,h.onMouseDown=i,h.onClick=n;return h}F();function yu(a,l,c){let{state:{open:o,setOpen:e,setHasFocus:r},defaultProps:t,elementType:h,activeDescendantController:Z}=c,i=w.always(a,{defaultProps:{type:"text","aria-expanded":o,role:"combobox",...typeof t==="object"&&t},elementType:h}),n=G(null);return i.ref=R1(n,i.ref,l),i.onBlur=K1((v)=>{e(v,!1),r(!1)},i.onBlur),i.onFocus=K1((v)=>{if(v.target===v.currentTarget)r(!0)},i.onFocus),i.onClick=K1((v)=>{e(v,!o)},i.onClick),i.onKeyDown=K1(RR({activeDescendantController:Z,...c.state}),i.onKeyDown),i}function RR(a){let{activeDescendantController:l,getOptionById:c,setOpen:o,selectOption:e,multiselect:r,open:t}=a,h=q(()=>{let p=l.active();return p?c(p):void 0},[l,c]),Z=()=>{l.first()},i=()=>{l.last()},n=(p)=>{if(p)l.next();else l.first()},v=(p)=>{if(p)l.prev();else l.first()},d=()=>{for(let p=0;p<10;p++)l.prev()},m=()=>{for(let p=0;p<10;p++)l.next()},s=jo();return $((p)=>{let M=oa(p,{open:t,multiselect:r}),u=h();switch(M){case"First":case"Last":case"Next":case"Previous":case"PageDown":case"PageUp":case"Open":case"Close":case"CloseSelect":case"Select":p.preventDefault();break}switch(s(!0),M){case"First":Z();break;case"Last":i();break;case"Next":n(u);break;case"Previous":v(u);break;case"PageDown":m();break;case"PageUp":d();break;case"Open":o(p,!0);break;case"Close":p.stopPropagation(),o(p,!1);break;case"CloseSelect":!r&&!(u===null||u===void 0?void 0:u.disabled)&&o(p,!1);case"Select":u&&e(p,u);break;case"Tab":!r&&u&&e(p,u);break}})}F();F();F();function Uu(a,l,c){let{state:{open:o,setOpen:e,getOptionById:r},defaultProps:t,activeDescendantController:h}=c,Z=G(""),[i,n]=a2(),v=(p,M={startFromNext:!1})=>{let{startFromNext:u}=M,A=h.active(),V=h.find((H)=>{let g=r(H);return!!g&&p(g.text)},{startFrom:u?h.next({passive:!0}):A});if(V)return V;return h.find((H)=>{let g=r(H);return!!g&&p(g.text)})},d=()=>{if(v((p)=>{return p.toLocaleLowerCase().indexOf(Z.current)===0},{startFromNext:Z.current.length===1}))return;if(SR(Z.current)&&v((p)=>{return p.toLocaleLowerCase().indexOf(Z.current[0])===0},{startFromNext:!0}))return;h.blur()},m=(p)=>{if(n(),oa(p)==="Type"){if(Z.current+=p.key.toLowerCase(),i(()=>{Z.current=""},500),o)d();!o&&e(p,!0)}},s=yu(a,l,{state:c.state,defaultProps:t,elementType:"button",activeDescendantController:h});return s.onKeyDown=K1(m,s.onKeyDown),s}function SR(a){for(let l=1;l<a.length;l++)if(a[l]!==a[l-1])return!1;return!0}var Fl=(a,l)=>{var c;a=P5(a,{supportsLabelFor:!0,supportsSize:!0});let{listboxRef:o,activeParentRef:e,controller:r}=J6({matchOption:(Q)=>Q.classList.contains(N7.root)}),t=Du({...a,activeDescendantController:r,freeform:!1}),{clearable:h,clearSelection:Z,disabled:i,hasFocus:n,multiselect:v,open:d,selectedOptions:m,setOpen:s}=t,{primary:p,root:M}=t7({props:a,primarySlotTagName:"button",excludedPropNames:["children"]}),[u,A]=wu(a),V=G(null),H=ku(a.listbox,R1(u,o),{state:t,triggerRef:V,defaultProps:{children:a.children}}),{targetDocument:g}=M1();k6({element:g,callback:(Q)=>s(Q,!1),refs:[V,u,A],disabled:!d});var S;let C=Uu((S=a.button)!==null&&S!==void 0?S:{},R1(V,e,l),{state:t,defaultProps:{type:"button",tabIndex:p.disabled?void 0:0,children:t.value||a.placeholder,"aria-controls":d?H===null||H===void 0?void 0:H.id:void 0,...p},activeDescendantController:r}),E=w.always(a.root,{defaultProps:{"aria-owns":!a.inlinePopup&&d?H===null||H===void 0?void 0:H.id:void 0,children:a.children,...M},elementType:"div"});E.ref=R1(E.ref,A);let T=m.length>0&&!i&&h&&!v,c1={components:{root:"div",button:"button",clearButton:"button",expandIcon:"span",listbox:S3},root:E,button:C,listbox:d||n?H:void 0,clearButton:w.optional(a.clearButton,{defaultProps:{"aria-label":"Clear selection",children:/*@__PURE__*/e1(KM,null),tabIndex:T?0:void 0,type:"button"},elementType:"button",renderByDefault:!0}),expandIcon:w.optional(a.expandIcon,{renderByDefault:!0,defaultProps:{children:/*@__PURE__*/e1(JM,null)},elementType:"span"}),placeholderVisible:!t.value&&!!a.placeholder,showClearButton:T,activeDescendantController:r,...t},l1=$(K1((c=c1.clearButton)===null||c===void 0?void 0:c.onClick,(Q)=>{var x;Z(Q),(x=V.current)===null||x===void 0||x.focus()}));if(c1.clearButton)c1.clearButton.onClick=l1;if(v)c1.clearButton=void 0;return j(()=>{if(h&&v)console.error('[@fluentui/react-combobox] "clearable" prop is not supported in multiselect mode.')},[h,v]),c1};var xl=(a,l)=>{return P(a),/*@__PURE__*/L(a.root,{children:/*@__PURE__*/L(z6,{value:l.activeDescendant,children:/*@__PURE__*/L(_7.Provider,{value:l.listbox,children:/*@__PURE__*/A1(li.Provider,{value:l.combobox,children:[/*@__PURE__*/A1(a.button,{children:[a.button.children,a.expandIcon&&/*@__PURE__*/L(a.expandIcon,{})]}),a.clearButton&&/*@__PURE__*/L(a.clearButton,{}),a.listbox&&(a.inlinePopup?/*@__PURE__*/L(a.listbox,{}):/*@__PURE__*/L(L2,{mountNode:a.mountNode,children:/*@__PURE__*/L(a.listbox,{})}))]})})})})};var D3={root:"fui-Dropdown",button:"fui-Dropdown__button",clearButton:"fui-Dropdown__clearButton",expandIcon:"fui-Dropdown__expandIcon",listbox:"fui-Dropdown__listbox"},DR=/*@__PURE__*/k({root:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",B7ck84d:"f1ewtqcl",mc9l5x:"ftuwxu6",Bf4jedk:"f1exfvgq",qhf8xq:"f10pi13n",ha4doy:"fmrv4ls",Bbr2w1p:"f14a1fxs",Bduesf4:"f3e99gv",Bpq79vn:"fhljsf7",li1rpt:"f1gw3sf2",Bsft5z2:"f13zj6fq",E3zdtr:"f1mdlcz9",Eqx8gd:["f1a7op3","f1cjjd47"],By385i5:"f1gboi2j",B1piin3:["f1cjjd47","f1a7op3"],Dlnsje:"ffyw7fx",d9w3h3:["f1kp91vd","f1ibwz09"],B3778ie:["f1ibwz09","f1kp91vd"],B1q35kw:0,Bw17bha:0,Bcgy8vk:0,Bjuhk93:"f1mnjydx",Gjdm7m:"f13evtba",b1kco5:"f1yk9hq",Ba2ppi3:"fhwpy7i",F2fol1:"f14ee0xe",lck23g:"f1xhbsuh",df92cz:"fv8e3ye",I188md:"ftb5wc6",umuwi5:"fjw5xc1",Blcqepd:"f1xdyd5c",nplu4u:"fatpbeo",Bioka5o:"fb7uyps",H713fs:"f1cmft4k",B9ooomg:"f1x58t8o",Bercvud:"f1ibeo51",Bz04dq9:"f132nw8t",Budl3uf:"f1htdosj"},listbox:{B7ck84d:"f1ewtqcl",E5pizo:"f1hg901r",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",Bxyxcbc:"fmmk62d"},listboxCollapsed:{mc9l5x:"fjseox"},inlineListbox:{Bj3rh1h:"f19g0ac"},button:{Bt984gj:"f122n59",De3pzq:"f1c21dwh",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",B7ck84d:"f1ewtqcl",sj55zd:"f19n0e5",i8kkvl:"f14mj54c",Bceei9c:"f1k6fduh",mc9l5x:"f13qh94s",Bahqtrf:"fk6fouc",Budl1dq:"f12nh0o2",Brf1p80:"f1869bpl",fsow6f:["f1o700av","fes3tcz"],a9b677:"fly5x3f",Brovlpu:"ftqa4ok"},placeholder:{sj55zd:"fxc4j92"},small:{Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:["fye6m5k","f3cq2dl"]},medium:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:["f14ev680","f58uxzw"]},large:{i8kkvl:"f1rjii52",Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"figsok6",Bg96gwp:"faaz57k",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:["f139mn7i","f1v3q0m"]},outline:{De3pzq:"fxugw4r",Bgfg5da:0,B9xav0g:"f1c1zstj",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:"fhz96rm"},outlineInteractive:{Bgoe8wy:"fvcxoqz",Bwzppfd:["f1ub3y4t","f1m52nbi"],oetu4i:"f1l4zc64",gg5e9n:["f1m52nbi","f1ub3y4t"],B6oc9vd:"fvs00aa",ak43y8:["f1assf6x","f4ruux4"],wmxk5l:"f1z0osm6",B50zh58:["f4ruux4","f1assf6x"],Bvq3b66:"f1b473iu",Brahy3i:["f381qr8","ft4skwv"],zoxjo1:"f1qzcrsd",an54nd:["ft4skwv","f381qr8"]},underline:{De3pzq:"f1c21dwh",B9xav0g:0,oivjwe:0,Bn0qgzm:0,Bgfg5da:"f9ez7ne",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"fokr779"},"filled-lighter":{De3pzq:"fxugw4r",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:"fs2rfia"},"filled-darker":{De3pzq:"f16xq7d1",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:"fs2rfia"},invalid:{tvckwq:"fs4k3qj",gk2u95:["fcee079","fmyw78r"],hhx65j:"f1fgmyf4",Bxowmz0:["fmyw78r","fcee079"]},invalidUnderline:{hhx65j:"f1fgmyf4"},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"]},disabledText:{sj55zd:"f1s2aq7o",Bceei9c:"fdrzuqr"},hidden:{mc9l5x:"fjseox"}},{d:[[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f1ewtqcl{box-sizing:border-box;}",".ftuwxu6{display:inline-flex;}",".f1exfvgq{min-width:250px;}",".f10pi13n{position:relative;}",".fmrv4ls{vertical-align:middle;}",".f1gw3sf2::after{box-sizing:border-box;}",'.f13zj6fq::after{content:"";}',".f1mdlcz9::after{position:absolute;}",".f1a7op3::after{left:-1px;}",".f1cjjd47::after{right:-1px;}",".f1gboi2j::after{bottom:-1px;}",".ffyw7fx::after{height:max(var(--strokeWidthThick), var(--borderRadiusMedium));}",".f1kp91vd::after{border-bottom-left-radius:var(--borderRadiusMedium);}",".f1ibwz09::after{border-bottom-right-radius:var(--borderRadiusMedium);}",[".f1mnjydx::after{border-bottom:var(--strokeWidthThick) solid var(--colorCompoundBrandStroke);}",{p:-1}],".f13evtba::after{clip-path:inset(calc(100% - 2px) 0 0 0);}",".f1yk9hq::after{transform:scaleX(0);}",".fhwpy7i::after{transition-property:transform;}",".f14ee0xe::after{transition-duration:var(--durationUltraFast);}",".f1xhbsuh::after{transition-delay:var(--curveAccelerateMid);}",".f1hg901r{box-shadow:var(--shadow16);}",[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".fmmk62d{max-height:80vh;}",".fjseox{display:none;}",".f19g0ac{z-index:1;}",".f122n59{align-items:center;}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",[".f3bhgqh{border:none;}",{p:-2}],".f19n0e5{color:var(--colorNeutralForeground1);}",".f14mj54c{column-gap:var(--spacingHorizontalXXS);}",".f1k6fduh{cursor:pointer;}",".f13qh94s{display:grid;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".f12nh0o2{grid-template-columns:[content] 1fr [icon] auto [end];}",".f1869bpl{justify-content:space-between;}",".f1o700av{text-align:left;}",".fes3tcz{text-align:right;}",".fly5x3f{width:100%;}",".fxc4j92{color:var(--colorNeutralForeground4);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",[".fye6m5k{padding:3px var(--spacingHorizontalSNudge) 3px calc(var(--spacingHorizontalSNudge) + var(--spacingHorizontalXXS));}",{p:-1}],[".f3cq2dl{padding:3px calc(var(--spacingHorizontalSNudge) + var(--spacingHorizontalXXS)) 3px var(--spacingHorizontalSNudge);}",{p:-1}],".fkhj508{font-size:var(--fontSizeBase300);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",[".f14ev680{padding:5px var(--spacingHorizontalMNudge) 5px calc(var(--spacingHorizontalMNudge) + var(--spacingHorizontalXXS));}",{p:-1}],[".f58uxzw{padding:5px calc(var(--spacingHorizontalMNudge) + var(--spacingHorizontalXXS)) 5px var(--spacingHorizontalMNudge);}",{p:-1}],".f1rjii52{column-gap:var(--spacingHorizontalSNudge);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".faaz57k{line-height:var(--lineHeightBase400);}",[".f139mn7i{padding:7px var(--spacingHorizontalM) 7px calc(var(--spacingHorizontalM) + var(--spacingHorizontalSNudge));}",{p:-1}],[".f1v3q0m{padding:7px calc(var(--spacingHorizontalM) + var(--spacingHorizontalSNudge)) 7px var(--spacingHorizontalM);}",{p:-1}],".fxugw4r{background-color:var(--colorNeutralBackground1);}",[".fhz96rm{border:var(--strokeWidthThin) solid var(--colorNeutralStroke1);}",{p:-2}],".f1c1zstj{border-bottom-color:var(--colorNeutralStrokeAccessible);}",[".f9ez7ne{border-bottom:var(--strokeWidthThin) solid var(--colorNeutralStrokeAccessible);}",{p:-1}],[".fokr779{border-radius:0;}",{p:-1}],[".fs2rfia{border:var(--strokeWidthThin) solid transparent;}",{p:-2}],".f16xq7d1{background-color:var(--colorNeutralBackground3);}",[".fs2rfia{border:var(--strokeWidthThin) solid transparent;}",{p:-2}],".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);}",".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);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}"],w:[".f14a1fxs:focus-within{outline-width:2px;}",".f3e99gv:focus-within{outline-style:solid;}",".fhljsf7:focus-within{outline-color:transparent;}",".fjw5xc1:focus-within::after{transform:scaleX(1);}",".f1xdyd5c:focus-within::after{transition-property:transform;}",".fatpbeo:focus-within::after{transition-duration:var(--durationNormal);}",".fb7uyps:focus-within::after{transition-delay:var(--curveDecelerateMid);}",".f1ibeo51:focus-within:active::after{border-bottom-color:var(--colorCompoundBrandStrokePressed);}",".f1b473iu:focus-within{border-top-color:var(--colorNeutralStroke1Pressed);}",".f381qr8:focus-within{border-right-color:var(--colorNeutralStroke1Pressed);}",".ft4skwv:focus-within{border-left-color:var(--colorNeutralStroke1Pressed);}",".f1qzcrsd:focus-within{border-bottom-color:var(--colorNeutralStrokeAccessiblePressed);}"],m:[["@media screen and (prefers-reduced-motion: reduce){.fv8e3ye::after{transition-duration:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.ftb5wc6::after{transition-delay:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.f1cmft4k:focus-within::after{transition-duration:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.f1x58t8o:focus-within::after{transition-delay:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@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)"}]],t:["@supports selector(:has(*)){.f132nw8t:has(.fui-Dropdown__clearButton:focus)::after{border-bottom-color:initial;}}","@supports selector(:has(*)){.f1htdosj:has(.fui-Dropdown__clearButton:focus)::after{transform:scaleX(0);}}"],f:[".ftqa4ok:focus{outline-style:none;}"],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);}"],a:[".fvs00aa:active{border-top-color:var(--colorNeutralStroke1Pressed);}",".f1assf6x:active{border-right-color:var(--colorNeutralStroke1Pressed);}",".f4ruux4:active{border-left-color:var(--colorNeutralStroke1Pressed);}",".f1z0osm6:active{border-bottom-color:var(--colorNeutralStrokeAccessiblePressed);}"]}),wR=/*@__PURE__*/k({icon:{B7ck84d:"f1ewtqcl",sj55zd:"fxkbij4",mc9l5x:"ftgm304",Be2twd7:"f1pp30po",Br312pm:"f12w6cgp",Bw0ie65:"f8bv1bt",Bo70h7d:"fvc9v3g"},small:{Be2twd7:"f4ybsrx",Frg6f3:["f1h9en5y","f1xk557c"]},medium:{Be2twd7:"fe5j1ua",Frg6f3:["f1h9en5y","f1xk557c"]},large:{Be2twd7:"f1rt2boy",Frg6f3:["f1t5qyk5","f1ikr372"]},disabled:{sj55zd:"f1s2aq7o"}},{d:[".f1ewtqcl{box-sizing:border-box;}",".fxkbij4{color:var(--colorNeutralStrokeAccessible);}",".ftgm304{display:block;}",".f1pp30po{font-size:var(--fontSizeBase500);}",".f12w6cgp{grid-column-start:icon;}",".f8bv1bt{grid-column-end:end;}",".fvc9v3g svg{display:block;}",".f4ybsrx{font-size:16px;}",".f1h9en5y{margin-left:var(--spacingHorizontalXXS);}",".f1xk557c{margin-right:var(--spacingHorizontalXXS);}",".fe5j1ua{font-size:20px;}",".f1rt2boy{font-size:24px;}",".f1t5qyk5{margin-left:var(--spacingHorizontalSNudge);}",".f1ikr372{margin-right:var(--spacingHorizontalSNudge);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}"]}),kR=/*@__PURE__*/N("rticfuj","r1vp6jef",{r:[".rticfuj{align-self:center;background-color:var(--colorTransparentBackground);border:none;cursor:pointer;height:fit-content;margin:0;margin-right:var(--spacingHorizontalMNudge);padding:0;position:relative;}",".rticfuj:focus{outline-style:none;}",".rticfuj:focus-visible{outline-style:none;}",".rticfuj[data-fui-focus-visible]{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.rticfuj[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);}',".r1vp6jef{align-self:center;background-color:var(--colorTransparentBackground);border:none;cursor:pointer;height:fit-content;margin:0;margin-left:var(--spacingHorizontalMNudge);padding:0;position:relative;}",".r1vp6jef:focus{outline-style:none;}",".r1vp6jef:focus-visible{outline-style:none;}",".r1vp6jef[data-fui-focus-visible]{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.r1vp6jef[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){.rticfuj[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){.r1vp6jef[data-fui-focus-visible]::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}"]}),Cl=(a)=>{let{appearance:l,open:c,placeholderVisible:o,showClearButton:e,size:r}=a,t=`${a.button["aria-invalid"]}`==="true",h=a.button.disabled,Z=DR(),i=wR(),n=kR();if(a.root.className=D(D3.root,Z.root,Z[l],!h&&l==="outline"&&Z.outlineInteractive,t&&l!=="underline"&&Z.invalid,t&&l==="underline"&&Z.invalidUnderline,h&&Z.disabled,a.root.className),a.button.className=D(D3.button,Z.button,Z[r],o&&Z.placeholder,h&&Z.disabledText,a.button.className),a.listbox)a.listbox.className=D(D3.listbox,Z.listbox,a.inlinePopup&&Z.inlineListbox,!c&&Z.listboxCollapsed,a.listbox.className);if(a.expandIcon)a.expandIcon.className=D(D3.expandIcon,i.icon,i[r],h&&i.disabled,e&&Z.hidden,a.expandIcon.className);if(a.clearButton)a.clearButton.className=D(D3.clearButton,n,i.icon,i[r],h&&i.disabled,!e&&Z.hidden,a.clearButton.className);return a};var y4=/*@__PURE__*/I((a,l)=>{let c=Fl(a,l),o=ci(c);return Cl(c),z("useDropdownStyles_unstable")(c),xl(c,o)});y4.displayName="Dropdown";F();var Ll=(a)=>{return P(a),/*@__PURE__*/L(a.root,{children:a.root.children!==void 0&&/*@__PURE__*/L(a.wrapper,{children:a.root.children})})};F();var Rl=(a,l)=>{let{alignContent:c="center",appearance:o="default",inset:e=!1,vertical:r=!1,wrapper:t}=a,h=N1("divider-");return{alignContent:c,appearance:o,inset:e,vertical:r,components:{root:"div",wrapper:"div"},root:w.always(a1("div",{role:"separator","aria-orientation":r?"vertical":"horizontal","aria-labelledby":a.children?h:void 0,...a,ref:l}),{elementType:"div"}),wrapper:w.always(t,{defaultProps:{id:h,children:a.children},elementType:"div"})}};var Sl={root:"fui-Divider",wrapper:"fui-Divider__wrapper"};var yR=/*@__PURE__*/k({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);}"]}),UR=/*@__PURE__*/k({base:{a9b677:"fly5x3f",Bdkvgpv:"f163fonl",B0qfbqy:"f51yk4v",pbipgd:"f13rof3u",Bm2nyyq:"f8rth92",xrcqlc:"f6czdpx",i5u598:"f1iyka9k"},inset:{uwmqm3:["fjlbh76","f11qrl6u"],z189sj:["f11qrl6u","fjlbh76"]},start:{fsow6f:["f1o700av","fes3tcz"],Ftih45:"f1wl9k8s",Bicfajf:["f1ojjlep","fk1kexq"],Bxwl2t9:"f1he2m4d",jwcpgy:["f12w1bnb","f1558wlj"]},center:{fsow6f:"f17mccla",Bicfajf:["f1ojjlep","fk1kexq"],jwcpgy:["f12w1bnb","f1558wlj"]},end:{fsow6f:["fes3tcz","f1o700av"],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;}",".f1o700av{text-align:left;}",".fes3tcz{text-align:right;}",'.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;}",".f17mccla{text-align:center;}",'.f13zj6fq::after{content:"";}',".f1ayce8x::after{max-width:8px;}"]}),GR=/*@__PURE__*/k({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;}"]}),Dl=(a)=>{let l=yR(),c=UR(),o=GR(),{alignContent:e,appearance:r,inset:t,vertical:h}=a;if(a.root.className=D(Sl.root,l.base,l[e],r&&l[r],!h&&c.base,!h&&t&&c.inset,!h&&c[e],h&&o.base,h&&t&&o.inset,h&&o[e],h&&a.root.children!==void 0&&o.withChildren,a.root.children===void 0&&l.childless,a.root.className),a.wrapper)a.wrapper.className=D(Sl.wrapper,a.wrapper.className);return a};var z5=/*@__PURE__*/I((a,l)=>{let c=Rl(a,l);return Dl(c),z("useDividerStyles_unstable")(c),Ll(c)});z5.displayName="Divider";F();F();var wl=(a,l)=>{a=P5(a,{supportsLabelFor:!0,supportsRequired:!0,supportsSize:!0});let c=R6();var o;let{size:e="medium",appearance:r=(o=c.inputDefaultAppearance)!==null&&o!==void 0?o:"outline",onChange:t}=a;if(r==="filled-darker-shadow"||r==="filled-lighter-shadow")console.error("The 'filled-darker-shadow' and 'filled-lighter-shadow' appearances are deprecated and will be removed in the future.");let[h,Z]=Y0({state:a.value,defaultState:a.defaultValue,initialState:""}),i=t7({props:a,primarySlotTagName:"input",excludedPropNames:["size","onChange","value","defaultValue"]}),n={size:e,appearance:r,components:{root:"span",input:"input",contentBefore:"span",contentAfter:"span"},input:w.always(a.input,{defaultProps:{type:"text",ref:l,...i.primary},elementType:"input"}),contentAfter:w.optional(a.contentAfter,{elementType:"span"}),contentBefore:w.optional(a.contentBefore,{elementType:"span"}),root:w.always(a.root,{defaultProps:i.root,elementType:"span"})};return n.input.value=h,n.input.onChange=$((v)=>{let d=v.target.value;t===null||t===void 0||t(v,{value:d}),Z(d)}),n};var kl=(a)=>{return P(a),/*@__PURE__*/A1(a.root,{children:[a.contentBefore&&/*@__PURE__*/L(a.contentBefore,{}),/*@__PURE__*/L(a.input,{}),a.contentAfter&&/*@__PURE__*/L(a.contentAfter,{})]})};var U4={root:"fui-Input",input:"fui-Input__input",contentBefore:"fui-Input__contentBefore",contentAfter:"fui-Input__contentAfter"};var K41={root:{small:c0.spacingHorizontalSNudge,medium:c0.spacingHorizontalMNudge,large:c0.spacingHorizontalM},input:{small:c0.spacingHorizontalXXS,medium:c0.spacingHorizontalXXS,large:c0.spacingHorizontalSNudge},combined:{small:c0.spacingHorizontalS,medium:c0.spacingHorizontalM,large:`calc(${c0.spacingHorizontalM} + ${c0.spacingHorizontalSNudge})`}},BR=/*@__PURE__*/N("r1oeeo9n","r9sxh5",{r:[".r1oeeo9n{display:inline-flex;align-items:center;flex-wrap:nowrap;gap:var(--spacingHorizontalXXS);border-radius:var(--borderRadiusMedium);position:relative;box-sizing:border-box;vertical-align:middle;min-height:32px;font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);background-color:var(--colorNeutralBackground1);border:1px solid var(--colorNeutralStroke1);border-bottom-color:var(--colorNeutralStrokeAccessible);}",'.r1oeeo9n::after{box-sizing:border-box;content:"";position:absolute;left:-1px;bottom:-1px;right:-1px;height:max(2px, var(--borderRadiusMedium));border-bottom-left-radius:var(--borderRadiusMedium);border-bottom-right-radius:var(--borderRadiusMedium);border-bottom:2px solid var(--colorCompoundBrandStroke);clip-path:inset(calc(100% - 2px) 0 0 0);transform:scaleX(0);transition-property:transform;transition-duration:var(--durationUltraFast);transition-delay:var(--curveAccelerateMid);}',".r1oeeo9n:focus-within::after{transform:scaleX(1);transition-property:transform;transition-duration:var(--durationNormal);transition-delay:var(--curveDecelerateMid);}",".r1oeeo9n:focus-within:active::after{border-bottom-color:var(--colorCompoundBrandStrokePressed);}",".r1oeeo9n:focus-within{outline:2px solid transparent;}",".r9sxh5{display:inline-flex;align-items:center;flex-wrap:nowrap;gap:var(--spacingHorizontalXXS);border-radius:var(--borderRadiusMedium);position:relative;box-sizing:border-box;vertical-align:middle;min-height:32px;font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);background-color:var(--colorNeutralBackground1);border:1px solid var(--colorNeutralStroke1);border-bottom-color:var(--colorNeutralStrokeAccessible);}",'.r9sxh5::after{box-sizing:border-box;content:"";position:absolute;right:-1px;bottom:-1px;left:-1px;height:max(2px, var(--borderRadiusMedium));border-bottom-right-radius:var(--borderRadiusMedium);border-bottom-left-radius:var(--borderRadiusMedium);border-bottom:2px solid var(--colorCompoundBrandStroke);clip-path:inset(calc(100% - 2px) 0 0 0);transform:scaleX(0);transition-property:transform;transition-duration:var(--durationUltraFast);transition-delay:var(--curveAccelerateMid);}',".r9sxh5:focus-within::after{transform:scaleX(1);transition-property:transform;transition-duration:var(--durationNormal);transition-delay:var(--curveDecelerateMid);}",".r9sxh5:focus-within:active::after{border-bottom-color:var(--colorCompoundBrandStrokePressed);}",".r9sxh5:focus-within{outline:2px solid transparent;}"],s:["@media screen and (prefers-reduced-motion: reduce){.r1oeeo9n::after{transition-duration:0.01ms;transition-delay:0.01ms;}}","@media screen and (prefers-reduced-motion: reduce){.r1oeeo9n:focus-within::after{transition-duration:0.01ms;transition-delay:0.01ms;}}","@media screen and (prefers-reduced-motion: reduce){.r9sxh5::after{transition-duration:0.01ms;transition-delay:0.01ms;}}","@media screen and (prefers-reduced-motion: reduce){.r9sxh5:focus-within::after{transition-duration:0.01ms;transition-delay:0.01ms;}}"]}),TR=/*@__PURE__*/k({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;}"]}),bR=/*@__PURE__*/N("r12stul0",null,[".r12stul0{align-self:stretch;box-sizing:border-box;flex-grow:1;min-width:0;border-style:none;padding:0 var(--spacingHorizontalM);color:var(--colorNeutralForeground1);background-color:transparent;outline-style:none;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;}",".r12stul0::-webkit-input-placeholder{color:var(--colorNeutralForeground4);opacity:1;}",".r12stul0::-moz-placeholder{color:var(--colorNeutralForeground4);opacity:1;}",".r12stul0::placeholder{color:var(--colorNeutralForeground4);opacity:1;}"]),OR=/*@__PURE__*/k({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);}"]}),ER=/*@__PURE__*/N("r1572tok",null,[".r1572tok{box-sizing:border-box;color:var(--colorNeutralForeground3);display:flex;}",".r1572tok>svg{font-size:20px;}"]),WR=/*@__PURE__*/k({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;}"]}),yl=(a)=>{let{size:l,appearance:c}=a,o=a.input.disabled,e=`${a.input["aria-invalid"]}`==="true",r=c.startsWith("filled"),t=TR(),h=OR(),Z=WR();a.root.className=D(U4.root,BR(),t[l],a.contentBefore&&t[`${l}WithContentBefore`],a.contentAfter&&t[`${l}WithContentAfter`],t[c],!o&&c==="outline"&&t.outlineInteractive,!o&&c==="underline"&&t.underlineInteractive,!o&&r&&t.filledInteractive,r&&t.filled,!o&&e&&t.invalid,o&&t.disabled,a.root.className),a.input.className=D(U4.input,bR(),h[l],a.contentBefore&&h[`${l}WithContentBefore`],a.contentAfter&&h[`${l}WithContentAfter`],o&&h.disabled,a.input.className);let i=[ER(),o&&Z.disabled,Z[l]];if(a.contentBefore)a.contentBefore.className=D(U4.contentBefore,...i,a.contentBefore.className);if(a.contentAfter)a.contentAfter.className=D(U4.contentAfter,...i,a.contentAfter.className);return a};var n5=/*@__PURE__*/I((a,l)=>{let c=wl(a,l);return yl(c),z("useInputStyles_unstable")(c),kl(c)});n5.displayName="Input";F();F();F();var Ul=(a)=>{let{disabled:l,disabledFocusable:c}=a,{onClick:o,onKeyDown:e,role:r,tabIndex:t}=a.root;if(a.root.as==="a"){if(a.root.href=l?void 0:a.root.href,l||c)a.root.role=r||"link"}if(a.root.as==="a"||a.root.as==="span")a.root.tabIndex=t!==null&&t!==void 0?t:l&&!c?void 0:0;if(a.root.onClick=(h)=>{if(l||c)h.preventDefault();else o===null||o===void 0||o(h)},a.root.onKeyDown=(h)=>{let Z=h.key===d7||h.key===q5;if((l||c)&&Z)h.preventDefault(),h.stopPropagation();else if(e===null||e===void 0||e(h),a.root.as==="span"&&!!a.root.onClick&&!e&&Z)h.preventDefault(),h.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 Gu=v1(void 0),ri={inline:!1},Qe=Gu.Provider,Je=()=>{var a;return(a=t1(Gu))!==null&&a!==void 0?a:ri};var Gl=(a,l)=>{let c=S6(),{inline:o}=Je(),{appearance:e="default",disabled:r=!1,disabledFocusable:t=!1,inline:h=!1}=a,Z=a.as||(a.href?"a":"button"),i={role:Z==="span"?"button":void 0,type:Z==="button"?"button":void 0,...a,as:Z},n={appearance:e,disabled:r,disabledFocusable:t,inline:h!==null&&h!==void 0?h:!!o,components:{root:Z},root:w.always(a1(Z,{ref:l,...i}),{elementType:Z}),backgroundAppearance:c};return Ul(n),n};var Ke={root:"fui-Link"},IR=/*@__PURE__*/k({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:"f179xftw",Bi91k9c:"f1sk1dtk",lj723h:"f182g21t"}},{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;}",".f179xftw{color:var(--colorNeutralForegroundInvertedLink);}"],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);}",".f1sk1dtk:hover{color:var(--colorNeutralForegroundInvertedLinkHover);}"],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);}",".f182g21t:active{color:var(--colorNeutralForegroundInvertedLinkPressed);}"]}),Bl=(a)=>{let l=IR(),{appearance:c,disabled:o,inline:e,root:r,backgroundAppearance:t}=a;return a.root.className=D(Ke.root,l.root,l.focusIndicator,r.as==="a"&&r.href&&l.href,r.as==="button"&&l.button,c==="subtle"&&l.subtle,t==="inverted"&&l.inverted,e&&l.inline,o&&l.disabled,a.root.className),a};var Tl=(a)=>{return P(a),/*@__PURE__*/L(a.root,{})};var W0=/*@__PURE__*/I((a,l)=>{let c=Gl(a,l);return Bl(c),z("useLinkStyles_unstable")(c),Tl(c)});W0.displayName="Link";F();F();F();var Bu=v1(void 0),qR={},U61=Bu.Provider,Tu=()=>{var a;return(a=t1(Bu))!==null&&a!==void 0?a:qR};var bl=(a,l)=>{let{size:c}=Tu(),{appearance:o="primary",labelPosition:e="after",size:r=c!==null&&c!==void 0?c:"medium",delay:t=0}=a,h=N1("spinner"),{role:Z="progressbar",...i}=a,n=w.always(a1("div",{ref:l,role:Z,...i},["size"]),{elementType:"div"}),[v,d]=h1(!1),[m,s]=a2();j(()=>{if(t<=0)return;return m(()=>{d(!0)},t),()=>{s()}},[m,s,t]);let p=w.optional(a.label,{defaultProps:{id:h},renderByDefault:!1,elementType:S0}),M=w.optional(a.spinner,{renderByDefault:!0,elementType:"span"});if(p&&n&&!n["aria-labelledby"])n["aria-labelledby"]=p.id;return{appearance:o,delay:t,labelPosition:e,size:r,shouldRenderSpinner:!t||v,components:{root:"div",spinner:"span",spinnerTail:"span",label:S0},root:n,spinner:M,spinnerTail:w.always(a.spinnerTail,{elementType:"span"}),label:p}};var Ol=(a)=>{P(a);let{labelPosition:l,shouldRenderSpinner:c}=a;return/*@__PURE__*/A1(a.root,{children:[a.label&&c&&(l==="above"||l==="before")&&/*@__PURE__*/L(a.label,{}),a.spinner&&c&&/*@__PURE__*/L(a.spinner,{children:a.spinnerTail&&/*@__PURE__*/L(a.spinnerTail,{})}),a.label&&c&&(l==="below"||l==="after")&&/*@__PURE__*/L(a.label,{})]})};var G4={root:"fui-Spinner",spinner:"fui-Spinner__spinner",spinnerTail:"fui-Spinner__spinnerTail",label:"fui-Spinner__label"};var PR=/*@__PURE__*/N("r82apo5",null,[".r82apo5{display:flex;align-items:center;justify-content:center;line-height:0;gap:8px;overflow:hidden;}"]),zR=/*@__PURE__*/k({vertical:{Beiy3e4:"f1vx9l62"}},{d:[".f1vx9l62{flex-direction:column;}"]}),QR=/*@__PURE__*/N("rvgcg50","r15nd2jo",{r:[".rvgcg50{position:relative;flex-shrink:0;-webkit-mask-image:radial-gradient(closest-side, transparent calc(100% - var(--fui-Spinner--strokeWidth) - 1px), white calc(100% - var(--fui-Spinner--strokeWidth)) calc(100% - 1px), transparent 100%);mask-image:radial-gradient(closest-side, transparent calc(100% - var(--fui-Spinner--strokeWidth) - 1px), white calc(100% - var(--fui-Spinner--strokeWidth)) calc(100% - 1px), transparent 100%);background-color:var(--colorBrandStroke2Contrast);color:var(--colorBrandStroke1);animation-duration:1.5s;animation-iteration-count:infinite;animation-timing-function:linear;animation-name:rb7n1on;}","@keyframes rb7n1on{0%{transform:rotate(0deg);}100%{transform:rotate(360deg);}}",".r15nd2jo{position:relative;flex-shrink:0;-webkit-mask-image:radial-gradient(closest-side, transparent calc(100% - var(--fui-Spinner--strokeWidth) - 1px), white calc(100% - var(--fui-Spinner--strokeWidth)) calc(100% - 1px), transparent 100%);mask-image:radial-gradient(closest-side, transparent calc(100% - var(--fui-Spinner--strokeWidth) - 1px), white calc(100% - var(--fui-Spinner--strokeWidth)) calc(100% - 1px), transparent 100%);background-color:var(--colorBrandStroke2Contrast);color:var(--colorBrandStroke1);animation-duration:1.5s;animation-iteration-count:infinite;animation-timing-function:linear;animation-name:r1gx3jof;}","@keyframes r1gx3jof{0%{transform:rotate(0deg);}100%{transform:rotate(-360deg);}}"],s:["@media screen and (forced-colors: active){.rvgcg50{background-color:HighlightText;color:Highlight;forced-color-adjust:none;}}","@media screen and (prefers-reduced-motion: reduce){.rvgcg50{animation-duration:1.8s;}}","@media screen and (forced-colors: active){.r15nd2jo{background-color:HighlightText;color:Highlight;forced-color-adjust:none;}}","@media screen and (prefers-reduced-motion: reduce){.r15nd2jo{animation-duration:1.8s;}}"]}),JR=/*@__PURE__*/N("rxov3xa","r1o544mv",{r:[".rxov3xa{position:absolute;display:block;width:100%;height:100%;-webkit-mask-image:conic-gradient(transparent 105deg, white 105deg);mask-image:conic-gradient(transparent 105deg, white 105deg);animation-duration:1.5s;animation-iteration-count:infinite;animation-timing-function:var(--curveEasyEase);animation-name:r15mim6k;}",'.rxov3xa::before,.rxov3xa::after{content:"";position:absolute;display:block;width:100%;height:100%;animation:inherit;background-image:conic-gradient(currentcolor 135deg, transparent 135deg);}',"@keyframes r15mim6k{0%{transform:rotate(-135deg);}50%{transform:rotate(0deg);}100%{transform:rotate(225deg);}}",".rxov3xa::before{animation-name:r18vhmn8;}","@keyframes r18vhmn8{0%{transform:rotate(0deg);}50%{transform:rotate(105deg);}100%{transform:rotate(0deg);}}",".rxov3xa::after{animation-name:rkgrvoi;}","@keyframes rkgrvoi{0%{transform:rotate(0deg);}50%{transform:rotate(225deg);}100%{transform:rotate(0deg);}}",".r1o544mv{position:absolute;display:block;width:100%;height:100%;-webkit-mask-image:conic-gradient(transparent 105deg, white 105deg);mask-image:conic-gradient(transparent 105deg, white 105deg);animation-duration:1.5s;animation-iteration-count:infinite;animation-timing-function:var(--curveEasyEase);animation-name:r109gmi5;}",'.r1o544mv::before,.r1o544mv::after{content:"";position:absolute;display:block;width:100%;height:100%;animation:inherit;background-image:conic-gradient(currentcolor 135deg, transparent 135deg);}',"@keyframes r109gmi5{0%{transform:rotate(135deg);}50%{transform:rotate(0deg);}100%{transform:rotate(-225deg);}}",".r1o544mv::before{animation-name:r17whflh;}","@keyframes r17whflh{0%{transform:rotate(0deg);}50%{transform:rotate(-105deg);}100%{transform:rotate(0deg);}}",".r1o544mv::after{animation-name:re4odhl;}","@keyframes re4odhl{0%{transform:rotate(0deg);}50%{transform:rotate(-225deg);}100%{transform:rotate(0deg);}}"],s:["@media screen and (prefers-reduced-motion: reduce){.rxov3xa{animation-iteration-count:0;background-image:conic-gradient(transparent 120deg, currentcolor 360deg);}.rxov3xa::before,.rxov3xa::after{content:none;}}","@media screen and (prefers-reduced-motion: reduce){.r1o544mv{animation-iteration-count:0;background-image:conic-gradient(transparent 120deg, currentcolor 360deg);}.r1o544mv::before,.r1o544mv::after{content:none;}}"]}),KR=/*@__PURE__*/k({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)"}]]}),$R=/*@__PURE__*/k({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);}"]}),El=(a)=>{let{labelPosition:l,size:c,appearance:o}=a,{dir:e}=M1(),r=PR(),t=zR(),h=QR(),Z=KR(),i=JR(),n=$R();if(a.root.className=D(G4.root,r,(l==="above"||l==="below")&&t.vertical,a.root.className),a.spinner)a.spinner.className=D(G4.spinner,h,Z[c],o==="inverted"&&Z.inverted,a.spinner.className);if(a.spinnerTail)a.spinnerTail.className=D(G4.spinnerTail,i,e==="rtl"&&Z.rtlTail,a.spinnerTail.className);if(a.label)a.label.className=D(G4.label,n[c],o==="inverted"&&n.inverted,a.label.className);return a};var Q5=/*@__PURE__*/I((a,l)=>{let c=bl(a,l);return El(c),z("useSpinnerStyles_unstable")(c),Ol(c)});Q5.displayName="Spinner";F();F();var Wl=(a,l)=>{a=P5(a,{supportsLabelFor:!0,supportsRequired:!0});let{checked:c,defaultChecked:o,disabled:e,labelPosition:r="after",onChange:t,required:h}=a,Z=t7({props:a,primarySlotTagName:"input",excludedPropNames:["checked","defaultChecked","onChange"]}),i=N1("switch-",Z.primary.id),n=w.always(a.root,{defaultProps:{ref:H2(),...Z.root},elementType:"div"}),v=w.always(a.indicator,{defaultProps:{"aria-hidden":!0,children:/*@__PURE__*/e1(de,null)},elementType:"div"}),d=w.always(a.input,{defaultProps:{checked:c,defaultChecked:o,id:i,ref:l,role:"switch",type:"checkbox",...Z.primary},elementType:"input"});d.onChange=K1(d.onChange,(s)=>t===null||t===void 0?void 0:t(s,{checked:s.currentTarget.checked}));let m=w.optional(a.label,{defaultProps:{disabled:e,htmlFor:i,required:h,size:"medium"},elementType:S0});return{labelPosition:r,components:{root:"div",indicator:"div",input:"input",label:S0},root:n,indicator:v,input:d,label:m}};var Il=(a)=>{P(a);let{labelPosition:l}=a;return/*@__PURE__*/A1(a.root,{children:[/*@__PURE__*/L(a.input,{}),l!=="after"&&a.label&&/*@__PURE__*/L(a.label,{}),/*@__PURE__*/L(a.indicator,{}),l==="after"&&a.label&&/*@__PURE__*/L(a.label,{})]})};var w3={root:"fui-Switch",indicator:"fui-Switch__indicator",input:"fui-Switch__input",label:"fui-Switch__label"},bu=w3.root,YR=2,XR=20;var ma1=XR-YR,NR=/*@__PURE__*/N("r2i81i2","rofhmb8",{r:[".r2i81i2{align-items:flex-start;box-sizing:border-box;display:inline-flex;position:relative;}",".r2i81i2:focus{outline-style:none;}",".r2i81i2:focus-visible{outline-style:none;}",".r2i81i2[data-fui-focus-within]:focus-within{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.r2i81i2[data-fui-focus-within]:focus-within::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);right:calc(2px * -1);bottom:calc(2px * -1);left:calc(2px * -1);}',".rofhmb8{align-items:flex-start;box-sizing:border-box;display:inline-flex;position:relative;}",".rofhmb8:focus{outline-style:none;}",".rofhmb8:focus-visible{outline-style:none;}",".rofhmb8[data-fui-focus-within]:focus-within{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.rofhmb8[data-fui-focus-within]:focus-within::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);left:calc(2px * -1);bottom:calc(2px * -1);right:calc(2px * -1);}'],s:["@media (forced-colors: active){.r2i81i2[data-fui-focus-within]:focus-within::after{border-top-color:Highlight;border-right-color:Highlight;border-bottom-color:Highlight;border-left-color:Highlight;}}","@media (forced-colors: active){.rofhmb8[data-fui-focus-within]:focus-within::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}"]}),jR=/*@__PURE__*/k({vertical:{Beiy3e4:"f1vx9l62"}},{d:[".f1vx9l62{flex-direction:column;}"]}),aS=/*@__PURE__*/N("r1c3hft5",null,{r:[".r1c3hft5{border-radius:var(--borderRadiusCircular);border:1px solid;line-height:0;box-sizing:border-box;fill:currentColor;flex-shrink:0;font-size:18px;height:20px;margin:var(--spacingVerticalS) var(--spacingHorizontalS);pointer-events:none;transition-duration:var(--durationNormal);transition-timing-function:var(--curveEasyEase);transition-property:background,border,color;width:40px;}",".r1c3hft5>*{transition-duration:var(--durationNormal);transition-timing-function:var(--curveEasyEase);transition-property:transform;}"],s:["@media screen and (prefers-reduced-motion: reduce){.r1c3hft5{transition-duration:0.01ms;}}","@media (forced-colors: active){.r1c3hft5{color:CanvasText;}.r1c3hft5>i{forced-color-adjust:none;}}","@media screen and (prefers-reduced-motion: reduce){.r1c3hft5>*{transition-duration:0.01ms;}}"]}),lS=/*@__PURE__*/k({labelAbove:{B6of3ja:"f1hu3pq6"}},{d:[".f1hu3pq6{margin-top:0;}"]}),cS=/*@__PURE__*/N("rsji9ng","r15xih98",{r:[".rsji9ng{box-sizing:border-box;cursor:pointer;height:100%;margin:0;opacity:0;position:absolute;width:calc(40px + 2 * var(--spacingHorizontalS));}",".rsji9ng:checked~.fui-Switch__indicator>*{transform:translateX(20px);}",".rsji9ng:disabled{cursor:default;}",".rsji9ng:disabled~.fui-Switch__indicator{color:var(--colorNeutralForegroundDisabled);}",".rsji9ng:disabled~.fui-Switch__label{cursor:default;color:var(--colorNeutralForegroundDisabled);}",".rsji9ng:enabled:not(:checked)~.fui-Switch__indicator{color:var(--colorNeutralStrokeAccessible);border-color:var(--colorNeutralStrokeAccessible);}",".rsji9ng:enabled:not(:checked)~.fui-Switch__label{color:var(--colorNeutralForeground1);}",".rsji9ng:enabled:not(:checked):hover~.fui-Switch__indicator{color:var(--colorNeutralStrokeAccessibleHover);border-color:var(--colorNeutralStrokeAccessibleHover);}",".rsji9ng:enabled:not(:checked):hover:active~.fui-Switch__indicator{color:var(--colorNeutralStrokeAccessiblePressed);border-color:var(--colorNeutralStrokeAccessiblePressed);}",".rsji9ng:enabled:checked~.fui-Switch__indicator{background-color:var(--colorCompoundBrandBackground);color:var(--colorNeutralForegroundInverted);border-color:var(--colorTransparentStroke);}",".rsji9ng:enabled:checked:hover~.fui-Switch__indicator{background-color:var(--colorCompoundBrandBackgroundHover);border-color:var(--colorTransparentStrokeInteractive);}",".rsji9ng:enabled:checked:hover:active~.fui-Switch__indicator{background-color:var(--colorCompoundBrandBackgroundPressed);border-color:var(--colorTransparentStrokeInteractive);}",".rsji9ng:disabled:not(:checked)~.fui-Switch__indicator{border-color:var(--colorNeutralStrokeDisabled);}",".rsji9ng:disabled:checked~.fui-Switch__indicator{background-color:var(--colorNeutralBackgroundDisabled);border-color:var(--colorTransparentStrokeDisabled);}",".r15xih98{box-sizing:border-box;cursor:pointer;height:100%;margin:0;opacity:0;position:absolute;width:calc(40px + 2 * var(--spacingHorizontalS));}",".r15xih98:checked~.fui-Switch__indicator>*{transform:translateX(-20px);}",".r15xih98:disabled{cursor:default;}",".r15xih98:disabled~.fui-Switch__indicator{color:var(--colorNeutralForegroundDisabled);}",".r15xih98:disabled~.fui-Switch__label{cursor:default;color:var(--colorNeutralForegroundDisabled);}",".r15xih98:enabled:not(:checked)~.fui-Switch__indicator{color:var(--colorNeutralStrokeAccessible);border-color:var(--colorNeutralStrokeAccessible);}",".r15xih98:enabled:not(:checked)~.fui-Switch__label{color:var(--colorNeutralForeground1);}",".r15xih98:enabled:not(:checked):hover~.fui-Switch__indicator{color:var(--colorNeutralStrokeAccessibleHover);border-color:var(--colorNeutralStrokeAccessibleHover);}",".r15xih98:enabled:not(:checked):hover:active~.fui-Switch__indicator{color:var(--colorNeutralStrokeAccessiblePressed);border-color:var(--colorNeutralStrokeAccessiblePressed);}",".r15xih98:enabled:checked~.fui-Switch__indicator{background-color:var(--colorCompoundBrandBackground);color:var(--colorNeutralForegroundInverted);border-color:var(--colorTransparentStroke);}",".r15xih98:enabled:checked:hover~.fui-Switch__indicator{background-color:var(--colorCompoundBrandBackgroundHover);border-color:var(--colorTransparentStrokeInteractive);}",".r15xih98:enabled:checked:hover:active~.fui-Switch__indicator{background-color:var(--colorCompoundBrandBackgroundPressed);border-color:var(--colorTransparentStrokeInteractive);}",".r15xih98:disabled:not(:checked)~.fui-Switch__indicator{border-color:var(--colorNeutralStrokeDisabled);}",".r15xih98:disabled:checked~.fui-Switch__indicator{background-color:var(--colorNeutralBackgroundDisabled);border-color:var(--colorTransparentStrokeDisabled);}"],s:["@media (forced-colors: active){.rsji9ng:disabled~.fui-Switch__indicator{color:GrayText;border-color:GrayText;}.rsji9ng:disabled~.fui-Switch__label{color:GrayText;}.rsji9ng:hover{color:CanvasText;}.rsji9ng:hover:active{color:CanvasText;}.rsji9ng:enabled:checked:hover~.fui-Switch__indicator{background-color:Highlight;color:Canvas;}.rsji9ng:enabled:checked:hover:active~.fui-Switch__indicator{background-color:Highlight;color:Canvas;}.rsji9ng:enabled:checked~.fui-Switch__indicator{background-color:Highlight;color:Canvas;}}","@media (forced-colors: active){.r15xih98:disabled~.fui-Switch__indicator{color:GrayText;border-color:GrayText;}.r15xih98:disabled~.fui-Switch__label{color:GrayText;}.r15xih98:hover{color:CanvasText;}.r15xih98:hover:active{color:CanvasText;}.r15xih98:enabled:checked:hover~.fui-Switch__indicator{background-color:Highlight;color:Canvas;}.r15xih98:enabled:checked:hover:active~.fui-Switch__indicator{background-color:Highlight;color:Canvas;}.r15xih98:enabled:checked~.fui-Switch__indicator{background-color:Highlight;color:Canvas;}}"]}),oS=/*@__PURE__*/k({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%;}"]}),eS=/*@__PURE__*/k({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);}"]}),ql=(a)=>{let l=NR(),c=jR(),o=aS(),e=lS(),r=cS(),t=oS(),h=eS(),{label:Z,labelPosition:i}=a;if(a.root.className=D(w3.root,l,i==="above"&&c.vertical,a.root.className),a.indicator.className=D(w3.indicator,o,Z&&i==="above"&&e.labelAbove,a.indicator.className),a.input.className=D(w3.input,r,Z&&t[i],a.input.className),a.label)a.label.className=D(w3.label,h.base,h[i],a.label.className);return a};var D0=/*@__PURE__*/I((a,l)=>{let c=Wl(a,l);return ql(c),z("useSwitchStyles_unstable")(c),Il(c)});D0.displayName="Switch";F();F();var k3=(a,l)=>{let{wrap:c,truncate:o,block:e,italic:r,underline:t,strikethrough:h,size:Z,font:i,weight:n,align:v}=a;return{align:v!==null&&v!==void 0?v:"start",block:e!==null&&e!==void 0?e:!1,font:i!==null&&i!==void 0?i:"base",italic:r!==null&&r!==void 0?r:!1,size:Z!==null&&Z!==void 0?Z:300,strikethrough:h!==null&&h!==void 0?h:!1,truncate:o!==null&&o!==void 0?o:!1,underline:t!==null&&t!==void 0?t:!1,weight:n!==null&&n!==void 0?n:"regular",wrap:c!==null&&c!==void 0?c:!0,components:{root:"span"},root:w.always(a1("span",{ref:l,...a}),{elementType:"span"})}};var y3=(a)=>{return P(a),/*@__PURE__*/L(a.root,{})};var Pl={root:"fui-Text"},rS=/*@__PURE__*/k({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;}"]}),U3=(a)=>{let l=rS();return a.root.className=D(Pl.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 r2=/*@__PURE__*/I((a,l)=>{let c=k3(a,l);return U3(c),z("useTextStyles_unstable")(c),y3(c)});r2.displayName="Text";F();F();function u7(a){let{useStyles:l,className:c,displayName:o}=a,e=I((r,t)=>{let h=l(),Z=k3(r,t);return U3(Z),Z.root.className=D(c,Z.root.className,h.root,r.className),y3(Z)});return e.displayName=o,e}var zl={root:"fui-Body1"},Ou=/*@__PURE__*/k({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 t2=u7({useStyles:Ou,className:zl.root,displayName:"Body1"});F();var Ql={root:"fui-Body1Strong"},Eu=/*@__PURE__*/k({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 ea=u7({useStyles:Eu,className:Ql.root,displayName:"Body1Strong"});F();var Jl={root:"fui-Subtitle1"},Wu=/*@__PURE__*/k({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 ra=u7({useStyles:Wu,className:Jl.root,displayName:"Subtitle1"});F();var Kl={root:"fui-Subtitle2"},Iu=/*@__PURE__*/k({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 d5=u7({useStyles:Iu,className:Kl.root,displayName:"Subtitle2"});F();var $l={root:"fui-Title2"},qu=/*@__PURE__*/k({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 ta=u7({useStyles:qu,className:$l.root,displayName:"Title2"});F();F();F();var Pu=/*@__PURE__*/N("r6pzz3z",null,[".r6pzz3z{overflow-y:hidden;overflow-y:clip;scrollbar-gutter:stable;}"]),zu=/*@__PURE__*/N("r144vlu9",null,[".r144vlu9{overflow-y:hidden;}"]);function Qu(){let a=Pu(),l=zu(),{targetDocument:c}=M1(),o=q(()=>{var r;if(!c)return;var t;if(!(Math.floor(c.body.getBoundingClientRect().height)>((t=(r=c.defaultView)===null||r===void 0?void 0:r.innerHeight)!==null&&t!==void 0?t:0)))return;c.documentElement.classList.add(a),c.body.classList.add(l);return},[c,a,l]),e=q(()=>{if(!c)return;c.documentElement.classList.remove(a),c.body.classList.remove(l)},[c,a,l]);return{disableBodyScroll:o,enableBodyScroll:e}}F();function ti(a,l){let{findFirstFocusable:c}=q7(),{targetDocument:o}=M1(),e=G(null);return j(()=>{if(!a)return;let r=e.current&&c(e.current);if(r)r.focus();else{var t;(t=e.current)===null||t===void 0||t.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,o]),e}F();var tS={open:!1,inertTrapFocus:!1,modalType:"modal",isNestedDialog:!1,dialogRef:{current:null},requestOpenChange(){}},Yl=f2(void 0),Xl=Yl.Provider,I0=(a)=>g3(Yl,(l=tS)=>a(l));F();var hS=!1,hi=v1(void 0),ha=hi.Provider,Nl=()=>{var a;return(a=t1(hi))!==null&&a!==void 0?a:hS};var Ju=[{opacity:0,transform:"scale(0.85) translateZ(0)"},{transform:"scale(1) translateZ(0)",opacity:1}],Zi=S5({enter:{keyframes:Ju,easing:O1.curveDecelerateMid,duration:O1.durationGentle},exit:{keyframes:[...Ju].reverse(),easing:O1.curveAccelerateMin,duration:O1.durationGentle}});var jl=(a)=>{let{children:l,modalType:c="modal",onOpenChange:o,inertTrapFocus:e=!1}=a,[r,t]=ZS(l),[h,Z]=Y0({state:a.open,defaultState:a.defaultOpen,initialState:!1}),i=$((s)=>{if(o===null||o===void 0||o(s.event,s),!s.event.isDefaultPrevented())Z(s.open)}),n=ti(h,c),{modalAttributes:v,triggerAttributes:d}=V2({trapFocus:c!=="non-modal",legacyTrapFocus:!e}),m=_4(Yl);return{components:{surfaceMotion:Zi},inertTrapFocus:e,open:h,modalType:c,content:t,trigger:r,requestOpenChange:i,dialogTitleId:N1("dialog-title-"),isNestedDialog:m,dialogRef:n,modalAttributes:v,triggerAttributes:d,surfaceMotion:H4(a.surfaceMotion,{elementType:Zi,defaultProps:{appear:!0,visible:h,unmountOnExit:!0}})}};function ZS(a){let l=e7.toArray(a);if(l.length!==1&&l.length!==2)console.warn(`@fluentui/react-dialog [useDialog]:
|
|
139
|
+
`,'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 v=ja(null,(M)=>{if(c.current!==M)c.current=M,t()}),n=Y(()=>{var M;return(M=a.onPositioningEnd)===null||M===void 0?void 0:M.call(a)}),d=ja(null,(M)=>{if(r.current!==M){var _;(_=r.current)===null||_===void 0||_.removeEventListener(qa,n),M===null||M===void 0||M.addEventListener(qa,n),r.current=M,t()}}),p=ja(null,(M)=>{if(e.current!==M)e.current=M,t()});return{targetRef:v,containerRef:d,arrowRef:p}}g();var jt=(a)=>{let[l,c]=t1(a);return[l,(r)=>{if(r===void 0||r===null){c(void 0);return}let e;if(!(r instanceof MouseEvent))e=r.nativeEvent;else e=r;if(!(e instanceof MouseEvent))console.error("usePositioningMouseTarget should only be used with MouseEvent");let h=Sm(e);c(h)}]};g();g();var Or=g2(void 0),zL={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},QL=Or.Provider,x0=(a)=>V3(Or,(l=zL)=>a(l));var al=(a,l)=>{let c=x0((u)=>u.contentRef),o=x0((u)=>u.openOnHover),r=x0((u)=>u.setOpen),e=x0((u)=>u.mountNode),h=x0((u)=>u.arrowRef),Z=x0((u)=>u.size),t=x0((u)=>u.withArrow),i=x0((u)=>u.appearance),v=x0((u)=>u.trapFocus),n=x0((u)=>u.inertTrapFocus),d=x0((u)=>u.inline),{modalAttributes:p}=V2({trapFocus:v,legacyTrapFocus:!n,alwaysFocusable:!v}),M={inline:d,appearance:i,withArrow:t,size:Z,arrowRef:h,mountNode:e,components:{root:"div"},root:G.always(a1("div",{ref:w1(l,c),role:v?"dialog":"group","aria-modal":v?!0:void 0,...p,...a}),{elementType:"div"})},{onMouseEnter:_,onMouseLeave:A,onKeyDown:m}=M.root;return M.root.onMouseEnter=(u)=>{if(o)r(u,!0);_===null||_===void 0||_(u)},M.root.onMouseLeave=(u)=>{if(o)r(u,!1);A===null||A===void 0||A(u)},M.root.onKeyDown=(u)=>{var f;if(u.key==="Escape"&&((f=c.current)===null||f===void 0?void 0:f.contains(u.target)))u.preventDefault(),r(u,!1);m===null||m===void 0||m(u)},M};g();g();function ll(a){if(P1(a))return{element:a};if(typeof a==="object"){if(a===null)return{element:null};return a}return{}}g();var xs=/*@__PURE__*/U({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 Cs=V.useInsertionEffect,JL=(a)=>{let{className:l,dir:c,focusVisibleRef:o,targetNode:r}=a,e=_1(()=>{if(r===void 0||a.disabled)return null;let h=r.ownerDocument.createElement("div");return r.appendChild(h),h},[r,a.disabled]);return _1(()=>{if(!e)return;e.className=l,e.setAttribute("dir",c),e.setAttribute("data-portal-node","true"),o.current=e},[l,c,e,o]),N(()=>{return()=>{e===null||e===void 0||e.remove()}},[e]),e},IL=()=>{let a=void 0;function l(o,r){if(a)return a;if(r)a=o.ownerDocument.createElement("div"),o.appendChild(a);return a}function c(){if(a)a.remove(),a=void 0}return{get:l,dispose:c}},$L=(a)=>{let{className:l,dir:c,focusVisibleRef:o,targetNode:r}=a,[e]=t1(IL),h=_1(()=>{if(r===void 0||a.disabled)return null;return new Proxy({},{get(Z,t){if(t==="nodeType")return 1;if(t==="remove"){let n=e.get(r,!1);if(n){if(n.childNodes.length===0)e.dispose()}return()=>{}}let i=e.get(r,!0),v=i?i[t]:void 0;if(typeof v==="function")return v.bind(i);return v},set(Z,t,i){let v=t==="_virtual"||t==="focusVisible",n=v?e.get(r,!1):e.get(r,!0);if(v&&!n)return!0;if(n)return Object.assign(n,{[t]:i}),!0;return!1}})},[e,r,a.disabled]);return Cs(()=>{if(!h)return;let Z=l.split(" ").filter(Boolean);return h.classList.add(...Z),h.setAttribute("dir",c),h.setAttribute("data-portal-node","true"),o.current=h,()=>{h.classList.remove(...Z),h.removeAttribute("dir")}},[l,c,h,o]),N(()=>{return()=>{h===null||h===void 0||h.remove()}},[h]),h},YL=Cs?$L:JL,Ls=(a)=>{let{targetDocument:l,dir:c}=A1(),o=DZ(),r=z7(),e=xs(),h=va(),Z={dir:c,disabled:a.disabled,focusVisibleRef:r,className:S(h,e.root,a.className),targetNode:o!==null&&o!==void 0?o:l===null||l===void 0?void 0:l.body};return YL(Z)};var Nt=(a)=>{let{element:l,className:c}=ll(a.mountNode),o=k(null),r=Ls({disabled:!!l,className:c}),e=l!==null&&l!==void 0?l:r,h={children:a.children,mountNode:e,virtualParentRootRef:o};return N(()=>{if(!e)return;let Z=o.current,t=e.contains(Z);if(Z&&!t)return ua(e,Z),()=>{ua(e,void 0)}},[o,e]),h};g();g();var ai=(a)=>{return/*@__PURE__*/o1("span",{hidden:!0,ref:a.virtualParentRootRef},a.mountNode&&/*@__PURE__*/Po(/*@__PURE__*/o1(p1,null,a.children,/*@__PURE__*/o1("span",{hidden:!0})),a.mountNode))};var R2=(a)=>{let l=Nt(a);return ai(l)};R2.displayName="Portal";var cl=(a)=>{z(a);let l=/*@__PURE__*/H1(a.root,{children:[a.withArrow&&/*@__PURE__*/L("div",{ref:a.arrowRef,className:a.arrowClassName}),a.root.children]});if(a.inline)return l;return/*@__PURE__*/L(R2,{mountNode:a.mountNode,children:l})};var ol={root:"fui-PopoverSurface"},j6={small:6,medium:8,large:8},XL=/*@__PURE__*/U({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",i09l9u:"f1k46bua",Bcrj8ia:"f1lhuzxm",Bmmhre5:"f1f9qikc",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){.f1k46bua[data-popper-placement]{animation-duration:1ms;}}",{m:"(prefers-reduced-motion)"}],["@media (prefers-reduced-motion){.f1lhuzxm[data-popper-placement]{animation-name:f1m0q9mo;}}",{m:"(prefers-reduced-motion)"}]],t:["@supports not (animation-composition: accumulate){.f1f9qikc[data-popper-placement]{animation-name:f1m0q9mo;}}"]}),N6=(a)=>{let l=XL();return a.root.className=S(ol.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=S(l.arrow,a.size==="small"?l.smallArrow:l.mediumLargeArrow),a};var w2=/*@__PURE__*/q((a,l)=>{let c=al(a,l);return N6(c),Q("usePopoverSurfaceStyles_unstable")(c),cl(c)});w2.displayName="PopoverSurface";var Rs=4;var rl=(a)=>{let[l,c]=jt(),o={size:"medium",contextTarget:l,setContextTarget:c,...a},r=l2.toArray(a.children);if(r.length===0)console.warn("Popover must contain at least one child");if(r.length>2)console.warn("Popover must contain at most two children");let e=void 0,h=void 0;if(r.length===2)e=r[0],h=r[1];else if(r.length===1)h=r[0];let[Z,t]=KL(o),[i,v]=c2(),n=Y((F,R)=>{if(v(),!(F instanceof Event)&&F.persist)F.persist();if(F.type==="mouseleave"){var C;i(()=>{t(F,R)},(C=a.mouseLeaveDelay)!==null&&C!==void 0?C:500)}else t(F,R)}),d=W((F)=>{n(F,!Z)},[n,Z]),p=jL(o),{targetDocument:M}=A1();var _;S6({contains:sa,element:M,callback:(F)=>n(F,!1),refs:[p.triggerRef,p.contentRef],disabled:!Z,disabledFocusOnIframe:!((_=a.closeOnIframeFocus)!==null&&_!==void 0?_:!0)});let A=o.openOnContext||o.closeOnScroll;Wo({contains:sa,element:M,callback:(F)=>n(F,!1),refs:[p.triggerRef,p.contentRef],disabled:!Z||!A});let{findFirstFocusable:m}=W7(),u=No();N(()=>{if(a.unstable_disableAutoFocus)return;let F=p.contentRef.current;if(Z&&F){var R;let C=!isNaN((R=F.getAttribute("tabIndex"))!==null&&R!==void 0?R:void 0),b=C?F:m(F);if(b===null||b===void 0||b.focus(),C)u(F)}},[m,u,Z,p.contentRef,a.unstable_disableAutoFocus]);var f,H;return{...o,...p,inertTrapFocus:(f=a.inertTrapFocus)!==null&&f!==void 0?f:a.legacyTrapFocus===void 0?!1:!a.legacyTrapFocus,popoverTrigger:e,popoverSurface:h,open:Z,setOpen:n,toggleOpen:d,setContextTarget:c,contextTarget:l,inline:(H=a.inline)!==null&&H!==void 0?H:!1}};function KL(a){let l=Y((h,Z)=>{var t;return(t=a.onOpenChange)===null||t===void 0?void 0:t.call(a,h,Z)}),[c,o]=Y0({state:a.open,defaultState:a.defaultOpen,initialState:!1});a.open=c!==void 0?c:a.open;let r=a.setContextTarget,e=W((h,Z)=>{if(Z&&h.type==="contextmenu")r(h);if(!Z)r(void 0);o(Z),l===null||l===void 0||l(h,{open:Z})},[o,l,r]);return[c,e]}function jL(a){let l={position:"above",align:"center",arrowPadding:2*Rs,target:a.openOnContext?a.contextTarget:void 0,...x3(a.positioning)};if(l.coverTarget)a.withArrow=!1;if(a.withArrow)l.offset=yr(l.offset,j6[a.size]);let{targetRef:c,containerRef:o,arrowRef:r}=Na(l);return{triggerRef:c,contentRef:o,arrowRef:r}}g();var el=(a)=>{let{appearance:l,arrowRef:c,contentRef:o,inline:r,mountNode:e,open:h,openOnContext:Z,openOnHover:t,setOpen:i,size:v,toggleOpen:n,trapFocus:d,triggerRef:p,withArrow:M,inertTrapFocus:_}=a;return/*@__PURE__*/o1(Or.Provider,{value:{appearance:l,arrowRef:c,contentRef:o,inline:r,mountNode:e,open:h,openOnContext:Z,openOnHover:t,setOpen:i,toggleOpen:n,triggerRef:p,size:v,trapFocus:d,inertTrapFocus:_,withArrow:M}},a.popoverTrigger,a.open&&a.popoverSurface)};var S2=(a)=>{let l=rl(a);return el(l)};S2.displayName="Popover";g();g();var hl=(a)=>{let{children:l,disableButtonEnhancement:c=!1}=a,o=n4(l),r=x0((f)=>f.open),e=x0((f)=>f.setOpen),h=x0((f)=>f.toggleOpen),Z=x0((f)=>f.triggerRef),t=x0((f)=>f.openOnHover),i=x0((f)=>f.openOnContext),{triggerAttributes:v}=V2(),n=(f)=>{if(i)f.preventDefault(),e(f,!0)},d=(f)=>{if(!i)h(f)},p=(f)=>{if(f.key===I7&&r&&!f.isDefaultPrevented())e(f,!1),f.preventDefault()},M=(f)=>{if(t)e(f,!0)},_=(f)=>{if(t)e(f,!1)},A={...v,"aria-expanded":`${r}`,...o===null||o===void 0?void 0:o.props,onMouseEnter:Y($1(o===null||o===void 0?void 0:o.props.onMouseEnter,M)),onMouseLeave:Y($1(o===null||o===void 0?void 0:o.props.onMouseLeave,_)),onContextMenu:Y($1(o===null||o===void 0?void 0:o.props.onContextMenu,n)),ref:w1(Z,M3(o))},m={...A,onClick:Y($1(o===null||o===void 0?void 0:o.props.onClick,d)),onKeyDown:Y($1(o===null||o===void 0?void 0:o.props.onKeyDown,p))},u=x2((o===null||o===void 0?void 0:o.type)==="button"||(o===null||o===void 0?void 0:o.type)==="a"?o.type:"div",m);return{children:U6(a.children,x2((o===null||o===void 0?void 0:o.type)==="button"||(o===null||o===void 0?void 0:o.type)==="a"?o.type:"div",i?A:c?m:u))}};var Zl=(a)=>{return a.children};var h2=(a)=>{let l=hl(a);return Zl(l)};h2.displayName="PopoverTrigger";h2.isFluentTriggerComponent=!0;g();var K7=(a)=>{z(a);let{iconOnly:l,iconPosition:c}=a;return/*@__PURE__*/H1(a.root,{children:[c!=="after"&&a.icon&&/*@__PURE__*/L(a.icon,{}),!l&&a.root.children,c==="after"&&a.icon&&/*@__PURE__*/L(a.icon,{})]})};g();g();var ws=Z1(void 0),aR={},N51=ws.Provider,Ss=()=>{var a;return(a=e1(ws))!==null&&a!==void 0?a:aR};var C3=(a,l)=>{let{size:c}=Ss(),{appearance:o="secondary",as:r="button",disabled:e=!1,disabledFocusable:h=!1,icon:Z,iconPosition:t="before",shape:i="rounded",size:v=c!==null&&c!==void 0?c:"medium"}=a,n=G.optional(Z,{elementType:"span"});return{appearance:o,disabled:e,disabledFocusable:h,iconPosition:t,shape:i,size:v,iconOnly:Boolean((n===null||n===void 0?void 0:n.children)&&!a.children),components:{root:"button",icon:"span"},root:G.always(a1(r,x2(a.as,a)),{elementType:"button",defaultProps:{ref:l,type:r==="button"?"button":void 0}}),icon:n}};var a8={root:"fui-Button",icon:"fui-Button__icon"};var Z21=`calc(${o0.strokeWidthThin} + 0.25px)`,lR=/*@__PURE__*/j("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;}}"]}),cR=/*@__PURE__*/j("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);}"]),oR=/*@__PURE__*/U({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",By8wz76:"f1nz3ub2",Bcq6wej:"fag2qd2",Jcjdmf:["fmvhcg7","f14bpyus"],sc4o1m:"f1o3dhpw",Bosien3:["f14bpyus","fmvhcg7"],B7iucu3:"fqc85l4",B8gzw0y:"f1h3a8gf",Bbkh6qg:"fkiggi6",F230oe:"f8gmj8i",Bdw8ktp:["f1ap8nzx","fjag8bx"],Bj1xduy:"f1igan7k",Bhh2cfd:["fjag8bx","f1ap8nzx"],Bahaeuw:"f1v3eptx",rxnm8d:"fpelvsg",Bso50sa:"f1r9enuy",B65bq0w:["fdvt4n0","f1grx941"],Buont6p:"f1l34yyb",B0o9ejx:["f1grx941","fdvt4n0"],Dcq74g:"fqfbdvs"},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",Bahaeuw:"f1v3eptx",Buhizc3:"fivsta0",Dcq74g:"fqfbdvs",zyxd5v:"f1wfsnb3"},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",Bbkh6qg:"fxoo9op",Bahaeuw:"f1v3eptx",rxnm8d:"f11slz88",Dcq74g:"fqfbdvs"},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){.f1nz3ub2{background-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fag2qd2{border-top-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f14bpyus{border-left-color:HighlightText;}.fmvhcg7{border-right-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1o3dhpw{border-bottom-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fqc85l4{color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1h3a8gf{forced-color-adjust:none;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fkiggi6:hover{background-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f8gmj8i:hover{border-top-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1ap8nzx:hover{border-right-color:Highlight;}.fjag8bx:hover{border-left-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1igan7k:hover{border-bottom-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1v3eptx:hover{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fpelvsg:hover:active{background-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1r9enuy:hover:active{border-top-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1grx941:hover:active{border-left-color:Highlight;}.fdvt4n0:hover:active{border-right-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1l34yyb:hover:active{border-bottom-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fqfbdvs:hover:active{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fivsta0:hover .fui-Button__icon{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1wfsnb3:hover:active .fui-Button__icon{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fxoo9op:hover{background-color:var(--colorTransparentBackground);}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f11slz88:hover:active{background-color:var(--colorTransparentBackground);}}",{m:"(forced-colors: active)"}]]}),rR=/*@__PURE__*/U({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:{By8wz76:"f14ptb23",Bcq6wej:"f9dbb4x",Jcjdmf:["f3qs60o","f5u9ap2"],sc4o1m:"fwd1oij",Bosien3:["f5u9ap2","f3qs60o"],B7iucu3:"f1cyfu5x",Grqk0h:"f127ot8j",h3ptyc:"f19etb0b",Buw724y:["f4f984j","fw441p0"],Buk7464:"f3d22hf",Hwei09:["fw441p0","f4f984j"],Bbkh6qg:"fj8k9ua",F230oe:"fifrq0d",Bdw8ktp:["f196mwp7","fnekfq"],Bj1xduy:"f1l6uprw",Bhh2cfd:["fnekfq","f196mwp7"],Bahaeuw:"fa9u7a5",Buhizc3:"f1m71e0y",rxnm8d:"f1xxg0vq",Bso50sa:"f16oldlo",B65bq0w:["f17g64ui","fqbrke7"],Buont6p:"fjvf891",B0o9ejx:["fqbrke7","f17g64ui"],Dcq74g:"f1efp33f",zyxd5v:"f1gue8i"},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){.f14ptb23{background-color:ButtonFace;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f9dbb4x{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f3qs60o{border-right-color:GrayText;}.f5u9ap2{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fwd1oij{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1cyfu5x{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f127ot8j .fui-Button__icon{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f19etb0b:focus{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f4f984j:focus{border-right-color:GrayText;}.fw441p0:focus{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f3d22hf:focus{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fj8k9ua:hover{background-color:ButtonFace;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fifrq0d:hover{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f196mwp7:hover{border-right-color:GrayText;}.fnekfq:hover{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1l6uprw:hover{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fa9u7a5:hover{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1m71e0y:hover .fui-Button__icon{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1xxg0vq:hover:active{background-color:ButtonFace;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f16oldlo:hover:active{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f17g64ui:hover:active{border-right-color:GrayText;}.fqbrke7:hover:active{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fjvf891:hover:active{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1efp33f:hover:active{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1gue8i:hover:active .fui-Button__icon{color:GrayText;}}",{m:"(forced-colors: active)"}]]}),eR=/*@__PURE__*/U({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"],Bqsb82s:["fixhny3","f18mfu3r"],jg1oma:"feygou5"},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){.f18mfu3r[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;}.fixhny3[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){.feygou5[data-fui-focus-visible]:hover{box-shadow:var(--shadow2),0 0 0 calc(var(--strokeWidthThin) + 0.25px) var(--colorStrokeFocus2) inset;}}"]}),hR=/*@__PURE__*/U({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;}"]}),ZR=/*@__PURE__*/U({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);}"]}),L3=(a)=>{let l=lR(),c=cR(),o=oR(),r=rR(),e=eR(),h=hR(),Z=ZR(),{appearance:t,disabled:i,disabledFocusable:v,icon:n,iconOnly:d,iconPosition:p,shape:M,size:_}=a;if(a.root.className=S(a8.root,l,t&&o[t],o[_],n&&_==="small"&&o.smallWithIcon,n&&_==="large"&&o.largeWithIcon,o[M],(i||v)&&r.base,(i||v)&&r.highContrast,t&&(i||v)&&r[t],t==="primary"&&e.primary,e[_],e[M],d&&h[_],a.root.className),a.icon)a.icon.className=S(a8.icon,c,!!a.root.children&&Z[p],Z[_],a.icon.className);return a};var g1=/*@__PURE__*/q((a,l)=>{let c=C3(a,l);return L3(c),Q("useButtonStyles_unstable")(c),K7(c)});g1.displayName="Button";g();g();g();g();var Gs=Z1(void 0),tl=Gs.Provider,L4=()=>e1(Gs);g();var il=(a)=>{var l,c,o,r;let{generatedControlId:e,orientation:h,required:Z,size:t,validationState:i}=a,v=(l=a.label)===null||l===void 0?void 0:l.htmlFor,n=(c=a.label)===null||c===void 0?void 0:c.id,d=(o=a.validationMessage)===null||o===void 0?void 0:o.id,p=(r=a.hint)===null||r===void 0?void 0:r.id;return{field:_1(()=>({generatedControlId:e,hintId:p,labelFor:v,labelId:n,orientation:h,required:Z,size:t,validationMessageId:d,validationState:i}),[e,p,v,n,h,Z,t,d,i])}};function Q5(a,l){return Pr(L4(),a,l)}function Pr(a,l,c){if(!a)return l;l={...l};let{generatedControlId:o,hintId:r,labelFor:e,labelId:h,required:Z,validationMessageId:t,validationState:i}=a;if(o){var v,n;(n=(v=l).id)!==null&&n!==void 0||(v.id=o)}if(h&&(!(c===null||c===void 0?void 0:c.supportsLabelFor)||e!==l.id)){var d,p,M;(M=(d=l)[p="aria-labelledby"])!==null&&M!==void 0||(d[p]=h)}if(t||r)l["aria-describedby"]=[t,r,l===null||l===void 0?void 0:l["aria-describedby"]].filter(Boolean).join(" ");if(i==="error"){var _,A,m;(m=(_=l)[A="aria-invalid"])!==null&&m!==void 0||(_[A]=!0)}if(Z)if(c===null||c===void 0?void 0:c.supportsRequired){var u,f;(f=(u=l).required)!==null&&f!==void 0||(u.required=!0)}else{var H,F,R;(R=(H=l)[F="aria-required"])!==null&&R!==void 0||(H[F]=!0)}if(c===null||c===void 0?void 0:c.supportsSize){var C,b;(b=(C=l).size)!==null&&b!==void 0||(C.size=a.size)}return l}var nl=(a,l)=>{z(a);let{children:c}=a;if(typeof c==="function")c=c(Pr(l.field)||{});return/*@__PURE__*/L(tl,{value:l===null||l===void 0?void 0:l.field,children:/*@__PURE__*/H1(a.root,{children:[a.label&&/*@__PURE__*/L(a.label,{}),c,a.validationMessage&&/*@__PURE__*/H1(a.validationMessage,{children:[a.validationMessageIcon&&/*@__PURE__*/L(a.validationMessageIcon,{}),a.validationMessage.children]}),a.hint&&/*@__PURE__*/L(a.hint,{})]})})};g();g();g();var vl=(a,l)=>{let{disabled:c=!1,required:o=!1,weight:r="regular",size:e="medium"}=a;return{disabled:c,required:G.optional(o===!0?"*":o||void 0,{defaultProps:{"aria-hidden":"true"},elementType:"span"}),weight:r,size:e,components:{root:"label",required:"span"},root:G.always(a1("label",{ref:l,...a}),{elementType:"label"})}};var dl=(a)=>{return z(a),/*@__PURE__*/H1(a.root,{children:[a.root.children,a.required&&/*@__PURE__*/L(a.required,{})]})};var pl={root:"fui-Label",required:"fui-Label__required"},tR=/*@__PURE__*/U({root:{Bahqtrf:"fk6fouc",sj55zd:"f19n0e5"},disabled:{sj55zd:"f1s2aq7o",B7iucu3:"f1cyfu5x"},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){.f1cyfu5x{color:GrayText;}}",{m:"(forced-colors: active)"}]]}),_l=(a)=>{let l=tR();if(a.root.className=S(pl.root,l.root,a.disabled&&l.disabled,l[a.size],a.weight==="semibold"&&l.semibold,a.root.className),a.required)a.required.className=S(pl.required,l.required,a.disabled&&l.disabled,a.required.className);return a};var w0=/*@__PURE__*/q((a,l)=>{let c=vl(a,l);return _l(c),Q("useLabelStyles_unstable")(c),dl(c)});w0.displayName="Label";var iR={error:/*@__PURE__*/o1(dm,null),warning:/*@__PURE__*/o1(cm,null),success:/*@__PURE__*/o1(Zm,null),none:void 0},Ml=(a,l)=>{let{children:c,orientation:o="vertical",required:r=!1,validationState:e=a.validationMessage?"error":"none",size:h="medium"}=a,Z=j1("field-"),t=Z+"__control",i=G.always(a1("div",{...a,ref:l},["children"]),{elementType:"div"}),v=G.optional(a.label,{defaultProps:{htmlFor:t,id:Z+"__label",required:r,size:h},elementType:w0}),n=G.optional(a.validationMessage,{defaultProps:{id:Z+"__validationMessage",role:e==="error"||e==="warning"?"alert":void 0},elementType:"div"}),d=G.optional(a.hint,{defaultProps:{id:Z+"__hint"},elementType:"div"}),p=iR[e],M=G.optional(a.validationMessageIcon,{renderByDefault:!!p,defaultProps:{children:p},elementType:"span"});return{children:c,generatedControlId:t,orientation:o,required:r,size:h,validationState:e,components:{root:"div",label:w0,validationMessage:"div",validationMessageIcon:"span",hint:"div"},root:i,label:v,validationMessageIcon:M,validationMessage:n,hint:d}};var R3={root:"fui-Field",label:"fui-Field__label",validationMessage:"fui-Field__validationMessage",validationMessageIcon:"fui-Field__validationMessageIcon",hint:"fui-Field__hint"};var nR=/*@__PURE__*/U({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;}"]}),vR=/*@__PURE__*/U({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;}"]}),dR=/*@__PURE__*/j("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);}"]),pR=/*@__PURE__*/U({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));}"]}),_R=/*@__PURE__*/j("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;}"]),MR=/*@__PURE__*/U({error:{sj55zd:"f1hcrxcs"},warning:{sj55zd:"f1k5f75o"},success:{sj55zd:"ffmvakt"}},{d:[".f1hcrxcs{color:var(--colorPaletteRedForeground1);}",".f1k5f75o{color:var(--colorPaletteDarkOrangeForeground1);}",".ffmvakt{color:var(--colorPaletteGreenForeground1);}"]}),Al=(a)=>{let{validationState:l,size:c}=a,o=a.orientation==="horizontal",r=nR();a.root.className=S(R3.root,r.base,o&&r.horizontal,o&&!a.label&&r.horizontalNoLabel,a.root.className);let e=vR();if(a.label)a.label.className=S(R3.label,o&&e.horizontal,o&&c==="small"&&e.horizontalSmall,o&&c==="large"&&e.horizontalLarge,!o&&e.vertical,!o&&c==="large"&&e.verticalLarge,a.label.className);let h=_R(),Z=MR();if(a.validationMessageIcon)a.validationMessageIcon.className=S(R3.validationMessageIcon,h,l!=="none"&&Z[l],a.validationMessageIcon.className);let t=dR(),i=pR();if(a.validationMessage)a.validationMessage.className=S(R3.validationMessage,t,l==="error"&&i.error,!!a.validationMessageIcon&&i.withIcon,a.validationMessage.className);if(a.hint)a.hint.className=S(R3.hint,t,a.hint.className);return a};var R4=/*@__PURE__*/q((a,l)=>{let c=Ml(a,l);Al(c),Q("useFieldStyles_unstable")(c);let o=il(c);return nl(c,o)});R4.displayName="Field";var ml=(a,l)=>{a=Q5(a,{supportsLabelFor:!0,supportsRequired:!0});let{disabled:c=!1,required:o,shape:r="square",size:e="medium",labelPosition:h="after",onChange:Z}=a,[t,i]=Y0({defaultState:a.defaultChecked,state:a.checked,initialState:!1}),v=h7({props:a,primarySlotTagName:"input",excludedPropNames:["checked","defaultChecked","size","onChange"]}),n=t==="mixed",d=j1("checkbox-",v.primary.id),p;if(n)if(r==="circular")p=/*@__PURE__*/o1(vr,null);else p=e==="large"?/*@__PURE__*/o1(vm,null):/*@__PURE__*/o1(nm,null);else if(t)p=e==="large"?/*@__PURE__*/o1(hm,null):/*@__PURE__*/o1(Ar,null);let M={shape:r,checked:t,disabled:c,size:e,labelPosition:h,components:{root:"span",input:"input",indicator:"div",label:w0},root:G.always(a.root,{defaultProps:{ref:f2(),...v.root},elementType:"span"}),input:G.always(a.input,{defaultProps:{type:"checkbox",id:d,ref:l,checked:t===!0,...v.primary},elementType:"input"}),label:G.optional(a.label,{defaultProps:{htmlFor:d,disabled:c,required:o,size:"medium"},elementType:w0}),indicator:G.optional(a.indicator,{renderByDefault:!0,defaultProps:{"aria-hidden":!0,children:p},elementType:"div"})};M.input.onChange=Y((A)=>{let m=A.currentTarget.indeterminate?"mixed":A.currentTarget.checked;Z===null||Z===void 0||Z(A,{checked:m}),i(m)});let _=w1(M.input.ref);return M.input.ref=_,W1(()=>{if(_.current)_.current.indeterminate=n},[_,n]),M};var sl=(a)=>{return z(a),/*@__PURE__*/H1(a.root,{children:[/*@__PURE__*/L(a.input,{}),a.labelPosition==="before"&&a.label&&/*@__PURE__*/L(a.label,{}),a.indicator&&/*@__PURE__*/L(a.indicator,{}),a.labelPosition==="after"&&a.label&&/*@__PURE__*/L(a.label,{})]})};var w4={root:"fui-Checkbox",label:"fui-Checkbox__label",input:"fui-Checkbox__input",indicator:"fui-Checkbox__indicator"};var AR=/*@__PURE__*/j("r1nzur1d","r128arqq",{r:[".r1nzur1d{position:relative;display:inline-flex;cursor:pointer;max-width:fit-content;vertical-align:middle;color:var(--colorNeutralForeground3);}",".r1nzur1d:focus{outline-style:none;}",".r1nzur1d:focus-visible{outline-style:none;}",".r1nzur1d[data-fui-focus-within]:focus-within{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.r1nzur1d[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);}',".r128arqq{position:relative;display:inline-flex;cursor:pointer;max-width:fit-content;vertical-align:middle;color:var(--colorNeutralForeground3);}",".r128arqq:focus{outline-style:none;}",".r128arqq:focus-visible{outline-style:none;}",".r128arqq[data-fui-focus-within]:focus-within{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.r128arqq[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){.r1nzur1d[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){.r128arqq[data-fui-focus-within]:focus-within::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}"]}),mR=/*@__PURE__*/U({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",B7iucu3:"f1cyfu5x",Bptavk6:"f1lwde8o"}},{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){.f1cyfu5x{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1lwde8o{--fui-Checkbox__indicator--color:GrayText;}}",{m:"(forced-colors: active)"}]]}),sR=/*@__PURE__*/j("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));}"]),uR=/*@__PURE__*/U({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));}"]}),HR=/*@__PURE__*/j("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;}"]),fR=/*@__PURE__*/U({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}]]}),VR=/*@__PURE__*/U({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);}"]}),ul=(a)=>{let{checked:l,disabled:c,labelPosition:o,shape:r,size:e}=a,h=AR(),Z=mR();a.root.className=S(w4.root,h,c?Z.disabled:l==="mixed"?Z.mixed:l?Z.checked:Z.unchecked,a.root.className);let t=sR(),i=uR();a.input.className=S(w4.input,t,e==="large"&&i.large,i[o],a.input.className);let v=HR(),n=fR();if(a.indicator)a.indicator.className=S(w4.indicator,v,e==="large"&&n.large,r==="circular"&&n.circular,a.indicator.className);let d=VR();if(a.label)a.label.className=S(w4.label,d.base,d[e],d[o],a.label.className);return a};var S4=/*@__PURE__*/q((a,l)=>{let c=ml(a,l);return ul(c),Q("useCheckboxStyles_unstable")(c),sl(c)});S4.displayName="Checkbox";var li=g2({activeOption:void 0,appearance:"outline",focusVisible:!1,open:!1,registerOption(){return()=>{return}},selectedOptions:[],selectOption(){},setActiveOption(){},setOpen(){},size:"medium"}),FR=li.Provider;g();var gR={activeOption:void 0,focusVisible:!1,multiselect:!1,getOptionById(){return},getOptionsMatchingValue(){return[]},registerOption(){return()=>{return}},selectedOptions:[],onOptionClick(){},onActiveDescendantChange(){},selectOption(){},setActiveOption(){}},m7=g2(void 0),j0=(a)=>V3(m7,(l=gR)=>a(l)),xR=m7.Provider;g();function ci(a){let{appearance:l,open:c,getOptionById:o,getOptionsMatchingValue:r,registerOption:e,selectedOptions:h,selectOption:Z,setOpen:t,size:i,activeDescendantController:v,onOptionClick:n,onActiveDescendantChange:d}=a,p={activeOption:void 0,appearance:l,focusVisible:!1,open:c,registerOption:e,selectedOptions:h,selectOption:Z,setActiveOption:()=>null,setOpen:t,size:i},M={activeOption:void 0,focusVisible:!1,getOptionById:o,getOptionsMatchingValue:r,registerOption:e,selectedOptions:h,selectOption:Z,setActiveOption:()=>null,onOptionClick:n,onActiveDescendantChange:d},_=_1(()=>({controller:v}),[v]);return{combobox:p,activeDescendant:_,listbox:M}}g();function oi(a){let l=m4(m7),{getOptionById:c,getOptionsMatchingValue:o,multiselect:r,registerOption:e,selectedOptions:h,selectOption:Z,activeDescendantController:t}=a,i=j0((_)=>_.registerOption),v=j0((_)=>_.onOptionClick),n=j0((_)=>_.onActiveDescendantChange),p={activeOption:void 0,focusVisible:!1,getOptionById:c,getOptionsMatchingValue:o,multiselect:r,registerOption:l?i:e,selectedOptions:h,selectOption:Z,setActiveOption:()=>{return},onOptionClick:v,onActiveDescendantChange:n},M=_1(()=>({controller:t}),[t]);return{listbox:p,activeDescendant:M}}g();g();g();function l8(a,l={}){let{open:c=!0,multiselect:o=!1}=l,r=a.key,{altKey:e,ctrlKey:h,key:Z,metaKey:t}=a;if(Z.length===1&&r!==E5&&!e&&!h&&!t)return"Type";if(!c){if(r===q6||r===s4||r===d7||r===E5)return"Open";return"None"}if(r===s4&&e||r===d7||!o&&r===E5)return"CloseSelect";if(o&&r===E5)return"Select";if(r===I7)return"Close";if(r===q6)return"Next";if(r===s4)return"Previous";if(r===mt)return"First";if(r===At)return"Last";if(r===ut)return"PageUp";if(r===st)return"PageDown";if(r===ya)return"Tab";return"None"}g();var Tr=()=>{let a=k(/*@__PURE__*/new Map),l=_1(()=>{return{getCount:()=>a.current.size,getOptionAtIndex:()=>{return},getIndexOfId:()=>-1,getOptionById:(i)=>{return a.current.get(i)},getOptionsMatchingText:(i)=>{return Array.from(a.current.values()).filter(({text:v})=>i(v))},getOptionsMatchingValue:(i)=>{let v=[];for(let n of a.current.values())if(i(n.value))v.push(n);return v}}},[]),c=W((o)=>{return a.current.set(o.id,o),()=>a.current.delete(o.id)},[]);return{...l,options:Array.from(a.current.values()),registerOption:c}};g();var br=(a)=>{let{defaultSelectedOptions:l,multiselect:c,onOptionSelect:o}=a,[r,e]=Y0({state:a.selectedOptions,defaultState:l,initialState:[]}),h=W((t,i)=>{if(i.disabled)return;let v=[i.value];if(c){let n=r.findIndex((d)=>d===i.value);if(n>-1)v=[...r.slice(0,n),...r.slice(n+1)];else v=[...r,i.value]}e(v),o===null||o===void 0||o(t,{optionValue:i.value,optionText:i.text,selectedOptions:v})},[o,c,r,e]);return{clearSelection:(t)=>{e([]),o===null||o===void 0||o(t,{optionValue:void 0,optionText:void 0,selectedOptions:[]})},selectOption:h,selectedOptions:r}};var j7={root:"fui-Option",checkIcon:"fui-Option__checkIcon"},CR=/*@__PURE__*/U({root:{Bt984gj:"f122n59",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",sj55zd:"f19n0e5",i8kkvl:"f1ufnopg",Bceei9c:"f1k6fduh",mc9l5x:"f22iagw",Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bg96gwp:"f1i3iumi",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fm5eomj",qhf8xq:"f10pi13n",Jwef8y:"f1knas48",Bi91k9c:"feu1g3u",zqbkvg:"fo79ri9",h82x05:["f1osiabc","f1e8le25"],cqj998:"f1yusjty",j3hlsh:["f1e8le25","f1osiabc"],ecr2s2:"fb40n2d",lj723h:"f1g4hkjv",Btxx2vb:"f1lnr2zp",sltcwy:["f1ogfk9z","f1g7j8ec"],dnwvvm:"fiuf46r",Blyvkvs:["f1g7j8ec","f1ogfk9z"]},active:{Bowz1zl:"f11vrvdw",oxogb1:"f17hxjb7",Ix2sn8:"f1dha69c",q7v32p:"f1lm7500",B7cbj04:0,Bewtojm:0,b50fsz:0,B1wzb3v:0,Bqwk70n:0,B37u8z8:0,avt0cx:0,f0sref:0,B9fkznv:0,Be3o27t:0,Bertapg:0,B53xpsf:0,Bsv72rj:0,B39dzdd:0,Btq9bd3:0,Bqfxd14:0,atup0s:"fo7xqb",Fffuxt:0,Bttcd12:0,Beitzug:0,Bqougee:0,B86i8pi:"f1kurthe",Bhijsxg:"fwq15dy",kktds4:"f1pb3wry",Bmau3bo:["ftjv2f4","f1flhb1f"],npektv:["f1flhb1f","ftjv2f4"]},disabled:{sj55zd:"f1s2aq7o",Jwef8y:"f9ql6rf",Bi91k9c:"fvgxktp",zqbkvg:"f185j3qj",h82x05:["f1dligi3","f1vydzie"],cqj998:"fjw1di3",j3hlsh:["f1vydzie","f1dligi3"],ecr2s2:"fgj9um3",lj723h:"f19wldhg",Btxx2vb:"f1ss0kt2",sltcwy:["f1t6oli3","fjy9ci8"],dnwvvm:"fresaxk",Blyvkvs:["fjy9ci8","f1t6oli3"],B7iucu3:"f1cyfu5x"},selected:{},checkIcon:{Bnnss6s:"fi64zpg",Be2twd7:"fod5ikn",Frg6f3:["f18b9hdq","fn6qj8t"],t21cq0:["f1xk557c","f1h9en5y"],Bcdw1i0:"fd7fpy0",Bo70h7d:"fvc9v3g"},selectedCheck:{Bcdw1i0:"f1022m68"},multiselectCheck:{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:"f1l3cf7o",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"fq9zq91",B7ck84d:"f1ewtqcl",mc9l5x:"f22iagw",Bt984gj:"f122n59",Brf1p80:"f4d9j23",Bkfmm31:"f1w9h62z",Be2twd7:"f1ugzwwg",Bqenvij:"fd461yt",a9b677:"fjw5fx7",Bcdw1i0:"f1022m68"},selectedMultiselectCheck:{De3pzq:"ftywsgz",sj55zd:"fqpbvvt",g2u3we:"f3xi7mh",h3c5rm:["ftovhe4","f1wczvin"],B9xav0g:"f68vbr6",zhjwy3:["f1wczvin","ftovhe4"]},checkDisabled:{sj55zd:"f1s2aq7o",B7iucu3:"f1cyfu5x"},multiselectCheckDisabled:{g2u3we:"f1r1t4y1",h3c5rm:["fmj8ijw","figx54m"],B9xav0g:"f360ss8",zhjwy3:["figx54m","fmj8ijw"]}},{d:[".f122n59{align-items:center;}",[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f19n0e5{color:var(--colorNeutralForeground1);}",".f1ufnopg{column-gap:var(--spacingHorizontalXS);}",".f1k6fduh{cursor:pointer;}",".f22iagw{display:flex;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",[".fm5eomj{padding:var(--spacingVerticalSNudge) var(--spacingHorizontalS);}",{p:-1}],".f10pi13n{position:relative;}",'.f11vrvdw[data-activedescendant-focusvisible]::after{content:"";}',".f17hxjb7[data-activedescendant-focusvisible]::after{position:absolute;}",".f1dha69c[data-activedescendant-focusvisible]::after{pointer-events:none;}",".f1lm7500[data-activedescendant-focusvisible]::after{z-index:1;}",[".fo7xqb[data-activedescendant-focusvisible]::after{border:2px solid var(--colorStrokeFocus2);}",{p:-2}],[".f1kurthe[data-activedescendant-focusvisible]::after{border-radius:var(--borderRadiusMedium);}",{p:-1}],".fwq15dy[data-activedescendant-focusvisible]::after{top:-2px;}",".f1pb3wry[data-activedescendant-focusvisible]::after{bottom:-2px;}",".ftjv2f4[data-activedescendant-focusvisible]::after{left:-2px;}",".f1flhb1f[data-activedescendant-focusvisible]::after{right:-2px;}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".fi64zpg{flex-shrink:0;}",".fod5ikn{font-size:var(--fontSizeBase400);}",".f18b9hdq{margin-left:calc(var(--spacingHorizontalXXS) * -1);}",".fn6qj8t{margin-right:calc(var(--spacingHorizontalXXS) * -1);}",".f1xk557c{margin-right:var(--spacingHorizontalXXS);}",".f1h9en5y{margin-left:var(--spacingHorizontalXXS);}",".fd7fpy0{visibility:hidden;}",".fvc9v3g svg{display:block;}",".f1022m68{visibility:visible;}",[".f1l3cf7o{border:var(--strokeWidthThin) solid var(--colorNeutralStrokeAccessible);}",{p:-2}],[".fq9zq91{border-radius:var(--borderRadiusSmall);}",{p:-1}],".f1ewtqcl{box-sizing:border-box;}",".f4d9j23{justify-content:center;}",".f1w9h62z{fill:currentColor;}",".f1ugzwwg{font-size:12px;}",".fd461yt{height:16px;}",".fjw5fx7{width:16px;}",".ftywsgz{background-color:var(--colorCompoundBrandBackground);}",".fqpbvvt{color:var(--colorNeutralForegroundInverted);}",".f3xi7mh{border-top-color:var(--colorCompoundBrandBackground);}",".ftovhe4{border-right-color:var(--colorCompoundBrandBackground);}",".f1wczvin{border-left-color:var(--colorCompoundBrandBackground);}",".f68vbr6{border-bottom-color:var(--colorCompoundBrandBackground);}",".f1r1t4y1{border-top-color:var(--colorNeutralForegroundDisabled);}",".fmj8ijw{border-right-color:var(--colorNeutralForegroundDisabled);}",".figx54m{border-left-color:var(--colorNeutralForegroundDisabled);}",".f360ss8{border-bottom-color:var(--colorNeutralForegroundDisabled);}"],h:[".f1knas48:hover{background-color:var(--colorNeutralBackground1Hover);}",".feu1g3u:hover{color:var(--colorNeutralForeground1Hover);}",".fo79ri9:hover .fui-Option__checkIcon{border-top-color:var(--colorNeutralForeground1Hover);}",".f1osiabc:hover .fui-Option__checkIcon{border-right-color:var(--colorNeutralForeground1Hover);}",".f1e8le25:hover .fui-Option__checkIcon{border-left-color:var(--colorNeutralForeground1Hover);}",".f1yusjty:hover .fui-Option__checkIcon{border-bottom-color:var(--colorNeutralForeground1Hover);}",".f9ql6rf:hover{background-color:var(--colorTransparentBackground);}",".fvgxktp:hover{color:var(--colorNeutralForegroundDisabled);}",".f185j3qj:hover .fui-Option__checkIcon{border-top-color:var(--colorNeutralForegroundDisabled);}",".f1dligi3:hover .fui-Option__checkIcon{border-right-color:var(--colorNeutralForegroundDisabled);}",".f1vydzie:hover .fui-Option__checkIcon{border-left-color:var(--colorNeutralForegroundDisabled);}",".fjw1di3:hover .fui-Option__checkIcon{border-bottom-color:var(--colorNeutralForegroundDisabled);}"],a:[".fb40n2d:active{background-color:var(--colorNeutralBackground1Pressed);}",".f1g4hkjv:active{color:var(--colorNeutralForeground1Pressed);}",".f1lnr2zp:active .fui-Option__checkIcon{border-top-color:var(--colorNeutralForeground1Hover);}",".f1ogfk9z:active .fui-Option__checkIcon{border-right-color:var(--colorNeutralForeground1Hover);}",".f1g7j8ec:active .fui-Option__checkIcon{border-left-color:var(--colorNeutralForeground1Hover);}",".fiuf46r:active .fui-Option__checkIcon{border-bottom-color:var(--colorNeutralForeground1Hover);}",".fgj9um3:active{background-color:var(--colorTransparentBackground);}",".f19wldhg:active{color:var(--colorNeutralForegroundDisabled);}",".f1ss0kt2:active .fui-Option__checkIcon{border-top-color:var(--colorNeutralForegroundDisabled);}",".f1t6oli3:active .fui-Option__checkIcon{border-right-color:var(--colorNeutralForegroundDisabled);}",".fjy9ci8:active .fui-Option__checkIcon{border-left-color:var(--colorNeutralForegroundDisabled);}",".fresaxk:active .fui-Option__checkIcon{border-bottom-color:var(--colorNeutralForegroundDisabled);}"],m:[["@media (forced-colors: active){.f1cyfu5x{color:GrayText;}}",{m:"(forced-colors: active)"}]]}),Hl=(a)=>{let{disabled:l,multiselect:c,selected:o}=a,r=CR();if(a.root.className=S(j7.root,r.root,r.active,l&&r.disabled,o&&r.selected,a.root.className),a.checkIcon)a.checkIcon.className=S(j7.checkIcon,r.checkIcon,c&&r.multiselectCheck,o&&r.selectedCheck,o&&c&&r.selectedMultiselectCheck,l&&r.checkDisabled,l&&c&&r.multiselectCheckDisabled,a.checkIcon.className);return a};var Us={activeOption:void 0,focusVisible:!1,setActiveOption:()=>null},Er=(a,l)=>{let{multiselect:c,disableAutoFocus:o=!1}=a,r=Tr(),{listboxRef:e,activeParentRef:h,controller:Z}=Q6({matchOption:(w)=>w.classList.contains(j7.root)}),t=m4(m7),i=j0((w)=>w.onActiveDescendantChange),v=j0((w)=>w.getOptionById),n=j0((w)=>w.getOptionsMatchingValue),d=t?v:r.getOptionById,p=t?n:r.getOptionsMatchingValue,M=_1(()=>{let w=null,D=($)=>{i===null||i===void 0||i($)};return($)=>{if(!$){w===null||w===void 0||w.removeEventListener("activedescendantchange",D);return}w=$,w.addEventListener("activedescendantchange",D)}},[i]),[_,A]=t1(!1);P6(A);let m=z6(),u=Zr(),f=u?m.controller:Z,{clearSelection:H,selectedOptions:F,selectOption:R}=br(a),C=(w)=>{let D=l8(w,{open:!0}),$=f.active(),K=$?d($):null;switch(D){case"First":case"Last":case"Next":case"Previous":case"PageDown":case"PageUp":case"CloseSelect":case"Select":w.preventDefault();break}switch(D){case"Next":if(K)f.next();else f.first();break;case"Previous":if(K)f.prev();else f.first();break;case"PageUp":case"First":f.first();break;case"PageDown":case"Last":f.last();break;case"Select":case"CloseSelect":K&&R(w,K);break}},b=j0((w)=>w.selectedOptions),O=j0((w)=>w.selectOption),c1=t?{selectedOptions:b,selectOption:O,...Us}:{selectedOptions:F,selectOption:R,...Us};N(()=>{if(u)return;if(f.hideFocusVisibleAttributes(),!o)if(!c&&c1.selectedOptions.length>0){let w=p((D)=>D===c1.selectedOptions[0]).pop();if(w===null||w===void 0?void 0:w.id)f.focus(w.id)}else f.first();return()=>{f.blur()}},[]);let l1=W(()=>{if(u)return;if(f.showFocusVisibleAttributes(),_)f.scrollActiveIntoView()},[f,u,_]),J=W(()=>{if(u)return;f.hideFocusVisibleAttributes()},[f,u]),x={components:{root:"div"},root:G.always(a1("div",{ref:w1(l,h,e,M),role:c?"menu":"listbox",tabIndex:0,...a}),{elementType:"div"}),standalone:!t,multiselect:c,clearSelection:H,activeDescendantController:f,onActiveDescendantChange:i,...r,...c1};return x.root.onKeyDown=Y($1(x.root.onKeyDown,C)),x.root.onFocus=Y($1(x.root.onFocus,l1)),x.root.onBlur=Y($1(x.root.onBlur,J)),x};var qr=(a,l)=>{return z(a),/*@__PURE__*/L(W6,{value:l.activeDescendant,children:/*@__PURE__*/L(m7.Provider,{value:l.listbox,children:/*@__PURE__*/L(a.root,{})})})};var ri={root:"fui-Listbox"},LR=/*@__PURE__*/U({root:{De3pzq:"fxugw4r",B7ck84d:"f1ewtqcl",mc9l5x:"f22iagw",Beiy3e4:"f1vx9l62",Bf4jedk:"f3hsy1e",Bmxbyg5:"f5zp4f",Bw0xxkn:0,oeaueh:0,Bpd4iqm:0,Befb4lg:"f1iepc6i",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1t35pdg",Belr9w4:"fiut8dr"}},{d:[".fxugw4r{background-color:var(--colorNeutralBackground1);}",".f1ewtqcl{box-sizing:border-box;}",".f22iagw{display:flex;}",".f1vx9l62{flex-direction:column;}",".f3hsy1e{min-width:160px;}",".f5zp4f{overflow-y:auto;}",[".f1iepc6i{outline:1px solid var(--colorTransparentStroke);}",{p:-1}],[".f1t35pdg{padding:var(--spacingHorizontalXS);}",{p:-1}],".fiut8dr{row-gap:var(--spacingHorizontalXXS);}"]}),Wr=(a)=>{let l=LR();return a.root.className=S(ri.root,l.root,a.root.className),a};var w3=/*@__PURE__*/q((a,l)=>{let c=Er(a,l),o=oi(c);return Wr(c),Q("useListboxStyles_unstable")(c),qr(c,o)});w3.displayName="Listbox";g();g();function RR(a,l){if(a!==void 0)return a;let c="",o=!1;if(l2.forEach(l,(r)=>{if(typeof r==="string")c+=r;else o=!0}),o)console.warn("Provide a `text` prop to Option components when they contain non-string children.");return c}var fl=(a,l)=>{let{children:c,disabled:o,text:r,value:e}=a,h=k(null),Z=RR(r,c),t=e!==null&&e!==void 0?e:Z,i=j1("fluent-option",a.id),v=_1(()=>({id:i,disabled:o,text:Z,value:t}),[i,o,Z,t]),{controller:n}=z6(),d=j0((H)=>H.multiselect),p=j0((H)=>H.registerOption),M=j0((H)=>{let F=H.selectedOptions;return t!==void 0&&F.find((R)=>R===t)!==void 0}),_=j0((H)=>H.selectOption),A=j0((H)=>H.onOptionClick),m=/*@__PURE__*/o1(XA,null);if(d)m=M?/*@__PURE__*/o1(Ar,null):"";let u=(H)=>{var F;if(o){H.preventDefault();return}n.focus(i),_(H,v),A(H),(F=a.onClick)===null||F===void 0||F.call(a,H)};N(()=>{if(i&&h.current)return p(v,h.current)},[i,v,p]);let f=d?{role:"menuitemcheckbox","aria-checked":M}:{role:"option","aria-selected":M};return{components:{root:"div",checkIcon:"span"},root:G.always(a1("div",{ref:w1(l,h),"aria-disabled":o?"true":void 0,id:i,...f,...a,onClick:u}),{elementType:"div"}),checkIcon:G.optional(a.checkIcon,{renderByDefault:!0,defaultProps:{"aria-hidden":"true",children:m},elementType:"span"}),disabled:o,multiselect:d,selected:M,focusVisible:!1,active:!1}};var Vl=(a)=>{return z(a),/*@__PURE__*/H1(a.root,{children:[a.checkIcon&&/*@__PURE__*/L(a.checkIcon,{}),a.root.children]})};var G4=/*@__PURE__*/q((a,l)=>{let c=fl(a,l);return Hl(c),Q("useOptionStyles_unstable")(c),Vl(c)});G4.displayName="Option";g();g();var Bs=(a)=>{let{appearance:l="outline",disableAutoFocus:c,children:o,clearable:r=!1,editable:e=!1,inlinePopup:h=!1,mountNode:Z=void 0,multiselect:t,onOpenChange:i,size:v="medium",activeDescendantController:n,freeform:d=!1,disabled:p=!1,onActiveOptionChange:M=null}=a,_=Tr(),{getOptionsMatchingValue:A}=_,{getOptionById:m}=_,u=W(()=>{let y=n.active();return y?m(y):void 0},[n,m]),f=u(),H=W((y)=>{let P=void 0;if(typeof y==="function"){let x1=u();P=y(x1)}if(P)n.focus(P.id);else n.blur()},[n,u]),[F,R]=t1(!1),[C,b]=t1(!1),O=k(!1),c1=R6(),[l1,J]=Y0({state:a.value,initialState:void 0}),{selectedOptions:x,selectOption:w,clearSelection:D}=br(a),$=W((y,P)=>{ea(()=>{J(void 0),w(y,P)})},[J,w]),K=_1(()=>{if(l1!==void 0)return l1;if(c1&&a.defaultValue!==void 0)return a.defaultValue;let y=A((P)=>{return x.includes(P)}).map((P)=>P.text);if(t)return e?"":y.join(", ");return y[0]},[l1,e,A,t,x]),[n1,I]=Y0({state:a.open,defaultState:a.defaultOpen,initialState:!1}),M1=W((y,P)=>{if(p)return;i===null||i===void 0||i(y,{open:P}),ea(()=>{if(!P&&!d)J(void 0);I(P)})},[i,I,J,d,p]);N(()=>{if(n1){if(!t&&x.length>0){let y=A((P)=>P===x[0]).pop();if(y===null||y===void 0?void 0:y.id)n.focus(y.id)}}else n.blur()},[n1,n]),N(()=>{if(n1&&!c&&!n.active())n.first()},[n1,o,c,n,m]);let f1=Y((y)=>{let P=y.detail.previousId?_.getOptionById(y.detail.previousId):null,x1=_.getOptionById(y.detail.id);M===null||M===void 0||M(y,{event:y,type:"change",previousOption:P,nextOption:x1})});return{..._,freeform:d,disabled:p,selectOption:$,clearSelection:D,selectedOptions:x,activeOption:f,appearance:l,clearable:r,focusVisible:F,ignoreNextBlur:O,inlinePopup:h,mountNode:Z,open:n1,hasFocus:C,setActiveOption:H,setFocusVisible:R,setHasFocus:b,setOpen:M1,setValue:J,size:v,value:K,multiselect:t,onOptionClick:Y((y)=>{if(!t)M1(y,!1)}),onActiveDescendantChange:f1}};g();function Ds(a){let{positioning:l}=a,o={position:"below",align:"start",offset:{crossAxis:0,mainAxis:2},fallbackPositions:["above","after","after-top","before","before-top"],matchTargetSize:"width",autoSize:!0,...x3(l)},{targetRef:r,containerRef:e}=Na(o);return[e,r]}g();function ks(a,l,c){let{state:{multiselect:o},triggerRef:r,defaultProps:e}=c,h=j1("fluent-listbox",g6(a)?a.id:void 0),Z=G.optional(a,{renderByDefault:!0,elementType:w3,defaultProps:{id:h,multiselect:o,tabIndex:void 0,...e}}),t=Q5({id:h},{supportsLabelFor:!0});if(Z&&!Z["aria-label"]&&!Z["aria-labelledby"]&&t["aria-labelledby"])Z["aria-labelledby"]=t["aria-labelledby"];let i=Y($1((d)=>{d.preventDefault()},Z===null||Z===void 0?void 0:Z.onMouseDown)),v=Y($1((d)=>{var p;d.preventDefault(),(p=r.current)===null||p===void 0||p.focus()},Z===null||Z===void 0?void 0:Z.onClick)),n=w1(Z===null||Z===void 0?void 0:Z.ref,l);if(Z)Z.ref=n,Z.onMouseDown=i,Z.onClick=v;return Z}g();function ys(a,l,c){let{state:{open:o,setOpen:r,setHasFocus:e},defaultProps:h,elementType:Z,activeDescendantController:t}=c,i=G.always(a,{defaultProps:{type:"text","aria-expanded":o,role:"combobox",...typeof h==="object"&&h},elementType:Z}),v=k(null);return i.ref=w1(v,i.ref,l),i.onBlur=$1((n)=>{r(n,!1),e(!1)},i.onBlur),i.onFocus=$1((n)=>{if(n.target===n.currentTarget)e(!0)},i.onFocus),i.onClick=$1((n)=>{r(n,!o)},i.onClick),i.onKeyDown=$1(wR({activeDescendantController:t,...c.state}),i.onKeyDown),i}function wR(a){let{activeDescendantController:l,getOptionById:c,setOpen:o,selectOption:r,multiselect:e,open:h}=a,Z=W(()=>{let _=l.active();return _?c(_):void 0},[l,c]),t=()=>{l.first()},i=()=>{l.last()},v=(_)=>{if(_)l.next();else l.first()},n=(_)=>{if(_)l.prev();else l.first()},d=()=>{for(let _=0;_<10;_++)l.prev()},p=()=>{for(let _=0;_<10;_++)l.next()},M=jo();return Y((_)=>{let A=l8(_,{open:h,multiselect:e}),m=Z();switch(A){case"First":case"Last":case"Next":case"Previous":case"PageDown":case"PageUp":case"Open":case"Close":case"CloseSelect":case"Select":_.preventDefault();break}switch(M(!0),A){case"First":t();break;case"Last":i();break;case"Next":v(m);break;case"Previous":n(m);break;case"PageDown":p();break;case"PageUp":d();break;case"Open":o(_,!0);break;case"Close":_.stopPropagation(),o(_,!1);break;case"CloseSelect":!e&&!(m===null||m===void 0?void 0:m.disabled)&&o(_,!1);case"Select":m&&r(_,m);break;case"Tab":!e&&m&&r(_,m);break}})}g();g();g();function Os(a,l,c){let{state:{open:o,setOpen:r,getOptionById:e},defaultProps:h,activeDescendantController:Z}=c,t=k(""),[i,v]=c2(),n=(_,A={startFromNext:!1})=>{let{startFromNext:m}=A,u=Z.active(),f=Z.find((H)=>{let F=e(H);return!!F&&_(F.text)},{startFrom:m?Z.next({passive:!0}):u});if(f)return f;return Z.find((H)=>{let F=e(H);return!!F&&_(F.text)})},d=()=>{if(n((_)=>{return _.toLocaleLowerCase().indexOf(t.current)===0},{startFromNext:t.current.length===1}))return;if(SR(t.current)&&n((_)=>{return _.toLocaleLowerCase().indexOf(t.current[0])===0},{startFromNext:!0}))return;Z.blur()},p=(_)=>{if(v(),l8(_)==="Type"){if(t.current+=_.key.toLowerCase(),i(()=>{t.current=""},500),o)d();!o&&r(_,!0)}},M=ys(a,l,{state:c.state,defaultProps:h,elementType:"button",activeDescendantController:Z});return M.onKeyDown=$1(p,M.onKeyDown),M}function SR(a){for(let l=1;l<a.length;l++)if(a[l]!==a[l-1])return!1;return!0}var Fl=(a,l)=>{var c;a=Q5(a,{supportsLabelFor:!0,supportsSize:!0});let{listboxRef:o,activeParentRef:r,controller:e}=Q6({matchOption:(J)=>J.classList.contains(j7.root)}),h=Bs({...a,activeDescendantController:e,freeform:!1}),{clearable:Z,clearSelection:t,disabled:i,hasFocus:v,multiselect:n,open:d,selectedOptions:p,setOpen:M}=h,{primary:_,root:A}=h7({props:a,primarySlotTagName:"button",excludedPropNames:["children"]}),[m,u]=Ds(a),f=k(null),H=ks(a.listbox,w1(m,o),{state:h,triggerRef:f,defaultProps:{children:a.children}}),{targetDocument:F}=A1();S6({element:F,callback:(J)=>M(J,!1),refs:[f,m,u],disabled:!d});var R;let C=Os((R=a.button)!==null&&R!==void 0?R:{},w1(f,r,l),{state:h,defaultProps:{type:"button",tabIndex:_.disabled?void 0:0,children:h.value||a.placeholder,"aria-controls":d?H===null||H===void 0?void 0:H.id:void 0,..._},activeDescendantController:e}),b=G.always(a.root,{defaultProps:{"aria-owns":!a.inlinePopup&&d?H===null||H===void 0?void 0:H.id:void 0,children:a.children,...A},elementType:"div"});b.ref=w1(b.ref,u);let O=p.length>0&&!i&&Z&&!n,c1={components:{root:"div",button:"button",clearButton:"button",expandIcon:"span",listbox:w3},root:b,button:C,listbox:d||v?H:void 0,clearButton:G.optional(a.clearButton,{defaultProps:{"aria-label":"Clear selection",children:/*@__PURE__*/o1(jA,null),tabIndex:O?0:void 0,type:"button"},elementType:"button",renderByDefault:!0}),expandIcon:G.optional(a.expandIcon,{renderByDefault:!0,defaultProps:{children:/*@__PURE__*/o1(KA,null)},elementType:"span"}),placeholderVisible:!h.value&&!!a.placeholder,showClearButton:O,activeDescendantController:e,...h},l1=Y($1((c=c1.clearButton)===null||c===void 0?void 0:c.onClick,(J)=>{var x;t(J),(x=f.current)===null||x===void 0||x.focus()}));if(c1.clearButton)c1.clearButton.onClick=l1;if(n)c1.clearButton=void 0;return N(()=>{if(Z&&n)console.error('[@fluentui/react-combobox] "clearable" prop is not supported in multiselect mode.')},[Z,n]),c1};var gl=(a,l)=>{return z(a),/*@__PURE__*/L(a.root,{children:/*@__PURE__*/L(W6,{value:l.activeDescendant,children:/*@__PURE__*/L(m7.Provider,{value:l.listbox,children:/*@__PURE__*/H1(li.Provider,{value:l.combobox,children:[/*@__PURE__*/H1(a.button,{children:[a.button.children,a.expandIcon&&/*@__PURE__*/L(a.expandIcon,{})]}),a.clearButton&&/*@__PURE__*/L(a.clearButton,{}),a.listbox&&(a.inlinePopup?/*@__PURE__*/L(a.listbox,{}):/*@__PURE__*/L(R2,{mountNode:a.mountNode,children:/*@__PURE__*/L(a.listbox,{})}))]})})})})};var S3={root:"fui-Dropdown",button:"fui-Dropdown__button",clearButton:"fui-Dropdown__clearButton",expandIcon:"fui-Dropdown__expandIcon",listbox:"fui-Dropdown__listbox"},GR=/*@__PURE__*/U({root:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",B7ck84d:"f1ewtqcl",mc9l5x:"ftuwxu6",Bf4jedk:"f1exfvgq",qhf8xq:"f10pi13n",ha4doy:"fmrv4ls",Bbr2w1p:"f14a1fxs",Bduesf4:"f3e99gv",Bpq79vn:"fhljsf7",li1rpt:"f1gw3sf2",Bsft5z2:"f13zj6fq",E3zdtr:"f1mdlcz9",Eqx8gd:["f1a7op3","f1cjjd47"],By385i5:"f1gboi2j",B1piin3:["f1cjjd47","f1a7op3"],Dlnsje:"ffyw7fx",d9w3h3:["f1kp91vd","f1ibwz09"],B3778ie:["f1ibwz09","f1kp91vd"],B1q35kw:0,Bw17bha:0,Bcgy8vk:0,Bjuhk93:"f1mnjydx",Gjdm7m:"f13evtba",b1kco5:"f1yk9hq",Ba2ppi3:"fhwpy7i",F2fol1:"f14ee0xe",lck23g:"f1xhbsuh",wi16st:"fsrmcvb",ywj3b2:"f1t3k7v9",umuwi5:"fjw5xc1",Blcqepd:"f1xdyd5c",nplu4u:"fatpbeo",Bioka5o:"fb7uyps",Bnupc0a:"fx04xgm",bing71:"f1c7in40",Bercvud:"f1ibeo51",Br277j9:"f18qfb8s",Btis473:"f1m082s7"},listbox:{B7ck84d:"f1ewtqcl",E5pizo:"f1hg901r",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",Bxyxcbc:"fmmk62d"},listboxCollapsed:{mc9l5x:"fjseox"},inlineListbox:{Bj3rh1h:"f19g0ac"},button:{Bt984gj:"f122n59",De3pzq:"f1c21dwh",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",B7ck84d:"f1ewtqcl",sj55zd:"f19n0e5",i8kkvl:"f14mj54c",Bceei9c:"f1k6fduh",mc9l5x:"f13qh94s",Bahqtrf:"fk6fouc",Budl1dq:"f12nh0o2",Brf1p80:"f1869bpl",fsow6f:["f1o700av","fes3tcz"],a9b677:"fly5x3f",Brovlpu:"ftqa4ok"},placeholder:{sj55zd:"fxc4j92"},small:{Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:["fye6m5k","f3cq2dl"]},medium:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:["f14ev680","f58uxzw"]},large:{i8kkvl:"f1rjii52",Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"figsok6",Bg96gwp:"faaz57k",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:["f139mn7i","f1v3q0m"]},outline:{De3pzq:"fxugw4r",Bgfg5da:0,B9xav0g:"f1c1zstj",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:"fhz96rm"},outlineInteractive:{Bgoe8wy:"fvcxoqz",Bwzppfd:["f1ub3y4t","f1m52nbi"],oetu4i:"f1l4zc64",gg5e9n:["f1m52nbi","f1ub3y4t"],B6oc9vd:"fvs00aa",ak43y8:["f1assf6x","f4ruux4"],wmxk5l:"f1z0osm6",B50zh58:["f4ruux4","f1assf6x"],Bvq3b66:"f1b473iu",Brahy3i:["f381qr8","ft4skwv"],zoxjo1:"f1qzcrsd",an54nd:["ft4skwv","f381qr8"]},underline:{De3pzq:"f1c21dwh",B9xav0g:0,oivjwe:0,Bn0qgzm:0,Bgfg5da:"f9ez7ne",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"fokr779"},"filled-lighter":{De3pzq:"fxugw4r",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:"fs2rfia"},"filled-darker":{De3pzq:"f16xq7d1",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:"fs2rfia"},invalid:{tvckwq:"fs4k3qj",gk2u95:["fcee079","fmyw78r"],hhx65j:"f1fgmyf4",Bxowmz0:["fmyw78r","fcee079"]},invalidUnderline:{hhx65j:"f1fgmyf4"},disabled:{Bceei9c:"fdrzuqr",De3pzq:"f1c21dwh",g2u3we:"f1jj8ep1",h3c5rm:["f15xbau","fy0fskl"],B9xav0g:"f4ikngz",zhjwy3:["fy0fskl","f15xbau"],Bcq6wej:"f9dbb4x",Jcjdmf:["f3qs60o","f5u9ap2"],sc4o1m:"fwd1oij",Bosien3:["f5u9ap2","f3qs60o"]},disabledText:{sj55zd:"f1s2aq7o",Bceei9c:"fdrzuqr"},hidden:{mc9l5x:"fjseox"}},{d:[[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f1ewtqcl{box-sizing:border-box;}",".ftuwxu6{display:inline-flex;}",".f1exfvgq{min-width:250px;}",".f10pi13n{position:relative;}",".fmrv4ls{vertical-align:middle;}",".f1gw3sf2::after{box-sizing:border-box;}",'.f13zj6fq::after{content:"";}',".f1mdlcz9::after{position:absolute;}",".f1a7op3::after{left:-1px;}",".f1cjjd47::after{right:-1px;}",".f1gboi2j::after{bottom:-1px;}",".ffyw7fx::after{height:max(var(--strokeWidthThick), var(--borderRadiusMedium));}",".f1kp91vd::after{border-bottom-left-radius:var(--borderRadiusMedium);}",".f1ibwz09::after{border-bottom-right-radius:var(--borderRadiusMedium);}",[".f1mnjydx::after{border-bottom:var(--strokeWidthThick) solid var(--colorCompoundBrandStroke);}",{p:-1}],".f13evtba::after{clip-path:inset(calc(100% - 2px) 0 0 0);}",".f1yk9hq::after{transform:scaleX(0);}",".fhwpy7i::after{transition-property:transform;}",".f14ee0xe::after{transition-duration:var(--durationUltraFast);}",".f1xhbsuh::after{transition-delay:var(--curveAccelerateMid);}",".f1hg901r{box-shadow:var(--shadow16);}",[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".fmmk62d{max-height:80vh;}",".fjseox{display:none;}",".f19g0ac{z-index:1;}",".f122n59{align-items:center;}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",[".f3bhgqh{border:none;}",{p:-2}],".f19n0e5{color:var(--colorNeutralForeground1);}",".f14mj54c{column-gap:var(--spacingHorizontalXXS);}",".f1k6fduh{cursor:pointer;}",".f13qh94s{display:grid;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".f12nh0o2{grid-template-columns:[content] 1fr [icon] auto [end];}",".f1869bpl{justify-content:space-between;}",".f1o700av{text-align:left;}",".fes3tcz{text-align:right;}",".fly5x3f{width:100%;}",".fxc4j92{color:var(--colorNeutralForeground4);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",[".fye6m5k{padding:3px var(--spacingHorizontalSNudge) 3px calc(var(--spacingHorizontalSNudge) + var(--spacingHorizontalXXS));}",{p:-1}],[".f3cq2dl{padding:3px calc(var(--spacingHorizontalSNudge) + var(--spacingHorizontalXXS)) 3px var(--spacingHorizontalSNudge);}",{p:-1}],".fkhj508{font-size:var(--fontSizeBase300);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",[".f14ev680{padding:5px var(--spacingHorizontalMNudge) 5px calc(var(--spacingHorizontalMNudge) + var(--spacingHorizontalXXS));}",{p:-1}],[".f58uxzw{padding:5px calc(var(--spacingHorizontalMNudge) + var(--spacingHorizontalXXS)) 5px var(--spacingHorizontalMNudge);}",{p:-1}],".f1rjii52{column-gap:var(--spacingHorizontalSNudge);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".faaz57k{line-height:var(--lineHeightBase400);}",[".f139mn7i{padding:7px var(--spacingHorizontalM) 7px calc(var(--spacingHorizontalM) + var(--spacingHorizontalSNudge));}",{p:-1}],[".f1v3q0m{padding:7px calc(var(--spacingHorizontalM) + var(--spacingHorizontalSNudge)) 7px var(--spacingHorizontalM);}",{p:-1}],".fxugw4r{background-color:var(--colorNeutralBackground1);}",[".fhz96rm{border:var(--strokeWidthThin) solid var(--colorNeutralStroke1);}",{p:-2}],".f1c1zstj{border-bottom-color:var(--colorNeutralStrokeAccessible);}",[".f9ez7ne{border-bottom:var(--strokeWidthThin) solid var(--colorNeutralStrokeAccessible);}",{p:-1}],[".fokr779{border-radius:0;}",{p:-1}],[".fs2rfia{border:var(--strokeWidthThin) solid transparent;}",{p:-2}],".f16xq7d1{background-color:var(--colorNeutralBackground3);}",[".fs2rfia{border:var(--strokeWidthThin) solid transparent;}",{p:-2}],".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);}",".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);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}"],w:[".f14a1fxs:focus-within{outline-width:2px;}",".f3e99gv:focus-within{outline-style:solid;}",".fhljsf7:focus-within{outline-color:transparent;}",".fjw5xc1:focus-within::after{transform:scaleX(1);}",".f1xdyd5c:focus-within::after{transition-property:transform;}",".fatpbeo:focus-within::after{transition-duration:var(--durationNormal);}",".fb7uyps:focus-within::after{transition-delay:var(--curveDecelerateMid);}",".f1ibeo51:focus-within:active::after{border-bottom-color:var(--colorCompoundBrandStrokePressed);}",".f1b473iu:focus-within{border-top-color:var(--colorNeutralStroke1Pressed);}",".f381qr8:focus-within{border-right-color:var(--colorNeutralStroke1Pressed);}",".ft4skwv:focus-within{border-left-color:var(--colorNeutralStroke1Pressed);}",".f1qzcrsd:focus-within{border-bottom-color:var(--colorNeutralStrokeAccessiblePressed);}"],m:[["@media screen and (prefers-reduced-motion: reduce){.fsrmcvb::after{transition-duration:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.f1t3k7v9::after{transition-delay:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.fx04xgm:focus-within::after{transition-duration:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.f1c7in40:focus-within::after{transition-delay:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media (forced-colors: active){.f9dbb4x{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f3qs60o{border-right-color:GrayText;}.f5u9ap2{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fwd1oij{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}]],t:["@supports selector(:has(*)){.f18qfb8s:has(.fui-Dropdown__clearButton:focus)::after{border-bottom-color:initial;}}","@supports selector(:has(*)){.f1m082s7:has(.fui-Dropdown__clearButton:focus)::after{transform:scaleX(0);}}"],f:[".ftqa4ok:focus{outline-style:none;}"],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);}"],a:[".fvs00aa:active{border-top-color:var(--colorNeutralStroke1Pressed);}",".f1assf6x:active{border-right-color:var(--colorNeutralStroke1Pressed);}",".f4ruux4:active{border-left-color:var(--colorNeutralStroke1Pressed);}",".f1z0osm6:active{border-bottom-color:var(--colorNeutralStrokeAccessiblePressed);}"]}),UR=/*@__PURE__*/U({icon:{B7ck84d:"f1ewtqcl",sj55zd:"fxkbij4",mc9l5x:"ftgm304",Be2twd7:"f1pp30po",Br312pm:"f12w6cgp",Bw0ie65:"f8bv1bt",Bo70h7d:"fvc9v3g"},small:{Be2twd7:"f4ybsrx",Frg6f3:["f1h9en5y","f1xk557c"]},medium:{Be2twd7:"fe5j1ua",Frg6f3:["f1h9en5y","f1xk557c"]},large:{Be2twd7:"f1rt2boy",Frg6f3:["f1t5qyk5","f1ikr372"]},disabled:{sj55zd:"f1s2aq7o"}},{d:[".f1ewtqcl{box-sizing:border-box;}",".fxkbij4{color:var(--colorNeutralStrokeAccessible);}",".ftgm304{display:block;}",".f1pp30po{font-size:var(--fontSizeBase500);}",".f12w6cgp{grid-column-start:icon;}",".f8bv1bt{grid-column-end:end;}",".fvc9v3g svg{display:block;}",".f4ybsrx{font-size:16px;}",".f1h9en5y{margin-left:var(--spacingHorizontalXXS);}",".f1xk557c{margin-right:var(--spacingHorizontalXXS);}",".fe5j1ua{font-size:20px;}",".f1rt2boy{font-size:24px;}",".f1t5qyk5{margin-left:var(--spacingHorizontalSNudge);}",".f1ikr372{margin-right:var(--spacingHorizontalSNudge);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}"]}),BR=/*@__PURE__*/j("rticfuj","r1vp6jef",{r:[".rticfuj{align-self:center;background-color:var(--colorTransparentBackground);border:none;cursor:pointer;height:fit-content;margin:0;margin-right:var(--spacingHorizontalMNudge);padding:0;position:relative;}",".rticfuj:focus{outline-style:none;}",".rticfuj:focus-visible{outline-style:none;}",".rticfuj[data-fui-focus-visible]{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.rticfuj[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);}',".r1vp6jef{align-self:center;background-color:var(--colorTransparentBackground);border:none;cursor:pointer;height:fit-content;margin:0;margin-left:var(--spacingHorizontalMNudge);padding:0;position:relative;}",".r1vp6jef:focus{outline-style:none;}",".r1vp6jef:focus-visible{outline-style:none;}",".r1vp6jef[data-fui-focus-visible]{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.r1vp6jef[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){.rticfuj[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){.r1vp6jef[data-fui-focus-visible]::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}"]}),xl=(a)=>{let{appearance:l,open:c,placeholderVisible:o,showClearButton:r,size:e}=a,h=`${a.button["aria-invalid"]}`==="true",Z=a.button.disabled,t=GR(),i=UR(),v=BR();if(a.root.className=S(S3.root,t.root,t[l],!Z&&l==="outline"&&t.outlineInteractive,h&&l!=="underline"&&t.invalid,h&&l==="underline"&&t.invalidUnderline,Z&&t.disabled,a.root.className),a.button.className=S(S3.button,t.button,t[e],o&&t.placeholder,Z&&t.disabledText,a.button.className),a.listbox)a.listbox.className=S(S3.listbox,t.listbox,a.inlinePopup&&t.inlineListbox,!c&&t.listboxCollapsed,a.listbox.className);if(a.expandIcon)a.expandIcon.className=S(S3.expandIcon,i.icon,i[e],Z&&i.disabled,r&&t.hidden,a.expandIcon.className);if(a.clearButton)a.clearButton.className=S(S3.clearButton,v,i.icon,i[e],Z&&i.disabled,!r&&t.hidden,a.clearButton.className);return a};var U4=/*@__PURE__*/q((a,l)=>{let c=Fl(a,l),o=ci(c);return xl(c),Q("useDropdownStyles_unstable")(c),gl(c,o)});U4.displayName="Dropdown";g();var Cl=(a)=>{return z(a),/*@__PURE__*/L(a.root,{children:a.root.children!==void 0&&/*@__PURE__*/L(a.wrapper,{children:a.root.children})})};g();var Ll=(a,l)=>{let{alignContent:c="center",appearance:o="default",inset:r=!1,vertical:e=!1,wrapper:h}=a,Z=j1("divider-");return{alignContent:c,appearance:o,inset:r,vertical:e,components:{root:"div",wrapper:"div"},root:G.always(a1("div",{role:"separator","aria-orientation":e?"vertical":"horizontal","aria-labelledby":a.children?Z:void 0,...a,ref:l}),{elementType:"div"}),wrapper:G.always(h,{defaultProps:{id:Z,children:a.children},elementType:"div"})}};var Rl={root:"fui-Divider",wrapper:"fui-Divider__wrapper"};var DR=/*@__PURE__*/U({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);}"]}),kR=/*@__PURE__*/U({base:{a9b677:"fly5x3f",Bdkvgpv:"f163fonl",B0qfbqy:"f51yk4v",pbipgd:"f13rof3u",Bm2nyyq:"f8rth92",xrcqlc:"f6czdpx",i5u598:"f1iyka9k"},inset:{uwmqm3:["fjlbh76","f11qrl6u"],z189sj:["f11qrl6u","fjlbh76"]},start:{fsow6f:["f1o700av","fes3tcz"],Ftih45:"f1wl9k8s",Bicfajf:["f1ojjlep","fk1kexq"],Bxwl2t9:"f1he2m4d",jwcpgy:["f12w1bnb","f1558wlj"]},center:{fsow6f:"f17mccla",Bicfajf:["f1ojjlep","fk1kexq"],jwcpgy:["f12w1bnb","f1558wlj"]},end:{fsow6f:["fes3tcz","f1o700av"],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;}",".f1o700av{text-align:left;}",".fes3tcz{text-align:right;}",'.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;}",".f17mccla{text-align:center;}",'.f13zj6fq::after{content:"";}',".f1ayce8x::after{max-width:8px;}"]}),yR=/*@__PURE__*/U({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;}"]}),wl=(a)=>{let l=DR(),c=kR(),o=yR(),{alignContent:r,appearance:e,inset:h,vertical:Z}=a;if(a.root.className=S(Rl.root,l.base,l[r],e&&l[e],!Z&&c.base,!Z&&h&&c.inset,!Z&&c[r],Z&&o.base,Z&&h&&o.inset,Z&&o[r],Z&&a.root.children!==void 0&&o.withChildren,a.root.children===void 0&&l.childless,a.root.className),a.wrapper)a.wrapper.className=S(Rl.wrapper,a.wrapper.className);return a};var J5=/*@__PURE__*/q((a,l)=>{let c=Ll(a,l);return wl(c),Q("useDividerStyles_unstable")(c),Cl(c)});J5.displayName="Divider";g();g();var Sl=(a,l)=>{a=Q5(a,{supportsLabelFor:!0,supportsRequired:!0,supportsSize:!0});let c=C6();var o;let{size:r="medium",appearance:e=(o=c.inputDefaultAppearance)!==null&&o!==void 0?o:"outline",onChange:h}=a;if(e==="filled-darker-shadow"||e==="filled-lighter-shadow")console.error("The 'filled-darker-shadow' and 'filled-lighter-shadow' appearances are deprecated and will be removed in the future.");let[Z,t]=Y0({state:a.value,defaultState:a.defaultValue,initialState:""}),i=h7({props:a,primarySlotTagName:"input",excludedPropNames:["size","onChange","value","defaultValue"]}),v={size:r,appearance:e,components:{root:"span",input:"input",contentBefore:"span",contentAfter:"span"},input:G.always(a.input,{defaultProps:{type:"text",ref:l,...i.primary},elementType:"input"}),contentAfter:G.optional(a.contentAfter,{elementType:"span"}),contentBefore:G.optional(a.contentBefore,{elementType:"span"}),root:G.always(a.root,{defaultProps:i.root,elementType:"span"})};return v.input.value=Z,v.input.onChange=Y((n)=>{let d=n.target.value;h===null||h===void 0||h(n,{value:d}),t(d)}),v};var Gl=(a)=>{return z(a),/*@__PURE__*/H1(a.root,{children:[a.contentBefore&&/*@__PURE__*/L(a.contentBefore,{}),/*@__PURE__*/L(a.input,{}),a.contentAfter&&/*@__PURE__*/L(a.contentAfter,{})]})};var B4={root:"fui-Input",input:"fui-Input__input",contentBefore:"fui-Input__contentBefore",contentAfter:"fui-Input__contentAfter"};var M61={root:{small:o0.spacingHorizontalSNudge,medium:o0.spacingHorizontalMNudge,large:o0.spacingHorizontalM},input:{small:o0.spacingHorizontalXXS,medium:o0.spacingHorizontalXXS,large:o0.spacingHorizontalSNudge},combined:{small:o0.spacingHorizontalS,medium:o0.spacingHorizontalM,large:`calc(${o0.spacingHorizontalM} + ${o0.spacingHorizontalSNudge})`}},OR=/*@__PURE__*/j("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;}}"]}),PR=/*@__PURE__*/U({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"],Bcq6wej:"f9dbb4x",Jcjdmf:["f3qs60o","f5u9ap2"],sc4o1m:"fwd1oij",Bosien3:["f5u9ap2","f3qs60o"],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){.f9dbb4x{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f3qs60o{border-right-color:GrayText;}.f5u9ap2{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fwd1oij{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}]],w:[".f99w1ws:focus-within{outline-style:none;}"]}),TR=/*@__PURE__*/j("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;}"]),bR=/*@__PURE__*/U({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);}"]}),ER=/*@__PURE__*/j("r1572tok",null,[".r1572tok{box-sizing:border-box;color:var(--colorNeutralForeground3);display:flex;}",".r1572tok>svg{font-size:20px;}"]),qR=/*@__PURE__*/U({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;}"]}),Ul=(a)=>{let{size:l,appearance:c}=a,o=a.input.disabled,r=`${a.input["aria-invalid"]}`==="true",e=c.startsWith("filled"),h=PR(),Z=bR(),t=qR();a.root.className=S(B4.root,OR(),h[l],a.contentBefore&&h[`${l}WithContentBefore`],a.contentAfter&&h[`${l}WithContentAfter`],h[c],!o&&c==="outline"&&h.outlineInteractive,!o&&c==="underline"&&h.underlineInteractive,!o&&e&&h.filledInteractive,e&&h.filled,!o&&r&&h.invalid,o&&h.disabled,a.root.className),a.input.className=S(B4.input,TR(),Z[l],a.contentBefore&&Z[`${l}WithContentBefore`],a.contentAfter&&Z[`${l}WithContentAfter`],o&&Z.disabled,a.input.className);let i=[ER(),o&&t.disabled,t[l]];if(a.contentBefore)a.contentBefore.className=S(B4.contentBefore,...i,a.contentBefore.className);if(a.contentAfter)a.contentAfter.className=S(B4.contentAfter,...i,a.contentAfter.className);return a};var i5=/*@__PURE__*/q((a,l)=>{let c=Sl(a,l);return Ul(c),Q("useInputStyles_unstable")(c),Gl(c)});i5.displayName="Input";g();g();g();var Bl=(a)=>{let{disabled:l,disabledFocusable:c}=a,{onClick:o,onKeyDown:r,role:e,tabIndex:h}=a.root;if(a.root.as==="a"){if(a.root.href=l?void 0:a.root.href,l||c)a.root.role=e||"link"}if(a.root.as==="a"||a.root.as==="span")a.root.tabIndex=h!==null&&h!==void 0?h:l&&!c?void 0:0;if(a.root.onClick=(Z)=>{if(l||c)Z.preventDefault();else o===null||o===void 0||o(Z)},a.root.onKeyDown=(Z)=>{let t=Z.key===d7||Z.key===E5;if((l||c)&&t)Z.preventDefault(),Z.stopPropagation();else if(r===null||r===void 0||r(Z),a.root.as==="span"&&!!a.root.onClick&&!r&&t)Z.preventDefault(),Z.currentTarget.click()},a.disabled=l||c,a.root["aria-disabled"]=l||c||void 0,a.root.as==="button")a.root.disabled=l&&!c;return a};g();var Ps=Z1(void 0),ei={inline:!1},zr=Ps.Provider,Qr=()=>{var a;return(a=e1(Ps))!==null&&a!==void 0?a:ei};var Dl=(a,l)=>{let c=L6(),{inline:o}=Qr(),{appearance:r="default",disabled:e=!1,disabledFocusable:h=!1,inline:Z=!1}=a,t=a.as||(a.href?"a":"button"),i={role:t==="span"?"button":void 0,type:t==="button"?"button":void 0,...a,as:t},v={appearance:r,disabled:e,disabledFocusable:h,inline:Z!==null&&Z!==void 0?Z:!!o,components:{root:t},root:G.always(a1(t,{ref:l,...i}),{elementType:t}),backgroundAppearance:c};return Bl(v),v};var Jr={root:"fui-Link"},WR=/*@__PURE__*/U({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:"f2yjg6r",Bde5pd6:"f1tx3yz7",Bi91k9c:"fj1cjhr",i089h6:"f1eh06m1",lj723h:"fhucn0c"},inline:{w71qe1:"f13mvf36"},disabled:{w71qe1:"f1iuv45f",sj55zd:"f1s2aq7o",Bceei9c:"fdrzuqr",Bde5pd6:"fbnuktb",Bi91k9c:"fvgxktp",i089h6:"fljg2da",lj723h:"f19wldhg"},inverted:{sj55zd:"f1w7i9ko",Bi91k9c:"fni4grw",lj723h:"fipv1hy"},brand:{sj55zd:"f179xftw",Bi91k9c:"f1sk1dtk",lj723h:"f182g21t"}},{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;}",".f2yjg6r{color:var(--colorNeutralForeground2Link);}",".f13mvf36{text-decoration-line:underline;}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".fdrzuqr{cursor:not-allowed;}",".f1w7i9ko{color:var(--colorNeutralForegroundInverted2);}",".f179xftw{color:var(--colorNeutralForegroundInvertedLink);}"],i:[".f2hkw1w:focus-visible{outline-style:none;}"],h:[".f1tx3yz7:hover{text-decoration-line:underline;}",".f1deo86v:hover{color:var(--colorBrandForegroundLinkHover);}",".fj1cjhr:hover{color:var(--colorNeutralForeground2LinkHover);}",".fbnuktb:hover{text-decoration-line:none;}",".fvgxktp:hover{color:var(--colorNeutralForegroundDisabled);}",".fni4grw:hover{color:var(--colorNeutralForegroundInverted2);}",".f1sk1dtk:hover{color:var(--colorNeutralForegroundInvertedLinkHover);}"],a:[".f1eh06m1:active{text-decoration-line:underline;}",".f1iescvh:active{color:var(--colorBrandForegroundLinkPressed);}",".fhucn0c:active{color:var(--colorNeutralForeground2LinkPressed);}",".fljg2da:active{text-decoration-line:none;}",".f19wldhg:active{color:var(--colorNeutralForegroundDisabled);}",".fipv1hy:active{color:var(--colorNeutralForegroundInverted2);}",".f182g21t:active{color:var(--colorNeutralForegroundInvertedLinkPressed);}"]}),kl=(a)=>{let l=WR(),{appearance:c,disabled:o,inline:r,root:e,backgroundAppearance:h}=a;return a.root.className=S(Jr.root,l.root,l.focusIndicator,e.as==="a"&&e.href&&l.href,e.as==="button"&&l.button,c==="subtle"&&l.subtle,h==="inverted"&&l.inverted,h==="brand"&&l.brand,r&&l.inline,o&&l.disabled,a.root.className),a};var yl=(a)=>{return z(a),/*@__PURE__*/L(a.root,{})};var q0=/*@__PURE__*/q((a,l)=>{let c=Dl(a,l);return kl(c),Q("useLinkStyles_unstable")(c),yl(c)});q0.displayName="Link";g();g();g();var Ts=Z1(void 0),zR={},l81=Ts.Provider,bs=()=>{var a;return(a=e1(Ts))!==null&&a!==void 0?a:zR};var Ol=(a,l)=>{let{size:c}=bs(),{appearance:o="primary",labelPosition:r="after",size:e=c!==null&&c!==void 0?c:"medium",delay:h=0}=a,Z=j1("spinner"),{role:t="progressbar",...i}=a,v=G.always(a1("div",{ref:l,role:t,...i},["size"]),{elementType:"div"}),[n,d]=t1(!1),[p,M]=c2();N(()=>{if(h<=0)return;return p(()=>{d(!0)},h),()=>{M()}},[p,M,h]);let _=G.optional(a.label,{defaultProps:{id:Z},renderByDefault:!1,elementType:w0}),A=G.optional(a.spinner,{renderByDefault:!0,elementType:"span"});if(_&&v&&!v["aria-labelledby"])v["aria-labelledby"]=_.id;return{appearance:o,delay:h,labelPosition:r,size:e,shouldRenderSpinner:!h||n,components:{root:"div",spinner:"span",spinnerTail:"span",label:w0},root:v,spinner:A,spinnerTail:G.always(a.spinnerTail,{elementType:"span"}),label:_}};var Pl=(a)=>{z(a);let{labelPosition:l,shouldRenderSpinner:c}=a;return/*@__PURE__*/H1(a.root,{children:[a.label&&c&&(l==="above"||l==="before")&&/*@__PURE__*/L(a.label,{}),a.spinner&&c&&/*@__PURE__*/L(a.spinner,{children:a.spinnerTail&&/*@__PURE__*/L(a.spinnerTail,{})}),a.label&&c&&(l==="below"||l==="after")&&/*@__PURE__*/L(a.label,{})]})};var D4={root:"fui-Spinner",spinner:"fui-Spinner__spinner",spinnerTail:"fui-Spinner__spinnerTail",label:"fui-Spinner__label"};var QR=/*@__PURE__*/j("rpp59a7",null,[".rpp59a7{display:flex;align-items:center;justify-content:center;line-height:0;gap:8px;overflow:hidden;min-width:min-content;}"]),JR=/*@__PURE__*/U({vertical:{Beiy3e4:"f1vx9l62"}},{d:[".f1vx9l62{flex-direction:column;}"]}),IR=/*@__PURE__*/j("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;}}"]}),$R=/*@__PURE__*/j("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;}}"]}),YR=/*@__PURE__*/U({inverted:{De3pzq:"fr407j0",sj55zd:"f1f7voed"},rtlTail:{btxmck:"f179dep3",gb5jj2:"fbz9ihp",Bdya8wy:"f1pme1qz"},"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){.f1pme1qz{background-image:conic-gradient(currentcolor 0deg, transparent 240deg);}}",{m:"screen and (prefers-reduced-motion: reduce)"}]]}),XR=/*@__PURE__*/U({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);}"]}),Tl=(a)=>{let{labelPosition:l,size:c,appearance:o}=a,{dir:r}=A1(),e=QR(),h=JR(),Z=IR(),t=YR(),i=$R(),v=XR();if(a.root.className=S(D4.root,e,(l==="above"||l==="below")&&h.vertical,a.root.className),a.spinner)a.spinner.className=S(D4.spinner,Z,t[c],o==="inverted"&&t.inverted,a.spinner.className);if(a.spinnerTail)a.spinnerTail.className=S(D4.spinnerTail,i,r==="rtl"&&t.rtlTail,a.spinnerTail.className);if(a.label)a.label.className=S(D4.label,v[c],o==="inverted"&&v.inverted,a.label.className);return a};var I5=/*@__PURE__*/q((a,l)=>{let c=Ol(a,l);return Tl(c),Q("useSpinnerStyles_unstable")(c),Pl(c)});I5.displayName="Spinner";g();g();var bl=(a,l)=>{a=Q5(a,{supportsLabelFor:!0,supportsRequired:!0});let{checked:c,defaultChecked:o,disabled:r,labelPosition:e="after",onChange:h,required:Z}=a,t=h7({props:a,primarySlotTagName:"input",excludedPropNames:["checked","defaultChecked","onChange"]}),i=j1("switch-",t.primary.id),v=G.always(a.root,{defaultProps:{ref:f2(),...t.root},elementType:"div"}),n=G.always(a.indicator,{defaultProps:{"aria-hidden":!0,children:/*@__PURE__*/o1(vr,null)},elementType:"div"}),d=G.always(a.input,{defaultProps:{checked:c,defaultChecked:o,id:i,ref:l,role:"switch",type:"checkbox",...t.primary},elementType:"input"});d.onChange=$1(d.onChange,(M)=>h===null||h===void 0?void 0:h(M,{checked:M.currentTarget.checked}));let p=G.optional(a.label,{defaultProps:{disabled:r,htmlFor:i,required:Z,size:"medium"},elementType:w0});return{labelPosition:e,components:{root:"div",indicator:"div",input:"input",label:w0},root:v,indicator:n,input:d,label:p}};var El=(a)=>{z(a);let{labelPosition:l}=a;return/*@__PURE__*/H1(a.root,{children:[/*@__PURE__*/L(a.input,{}),l!=="after"&&a.label&&/*@__PURE__*/L(a.label,{}),/*@__PURE__*/L(a.indicator,{}),l==="after"&&a.label&&/*@__PURE__*/L(a.label,{})]})};var G3={root:"fui-Switch",indicator:"fui-Switch__indicator",input:"fui-Switch__input",label:"fui-Switch__label"},Es=G3.root,KR=2,jR=20;var D81=jR-KR,NR=/*@__PURE__*/j("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;}}"]}),aw=/*@__PURE__*/U({vertical:{Beiy3e4:"f1vx9l62"}},{d:[".f1vx9l62{flex-direction:column;}"]}),lw=/*@__PURE__*/j("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;}}"]}),cw=/*@__PURE__*/U({labelAbove:{B6of3ja:"f1hu3pq6"}},{d:[".f1hu3pq6{margin-top:0;}"]}),ow=/*@__PURE__*/j("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;}}"]}),rw=/*@__PURE__*/U({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%;}"]}),ew=/*@__PURE__*/U({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);}"]}),ql=(a)=>{let l=NR(),c=aw(),o=lw(),r=cw(),e=ow(),h=rw(),Z=ew(),{label:t,labelPosition:i}=a;if(a.root.className=S(G3.root,l,i==="above"&&c.vertical,a.root.className),a.indicator.className=S(G3.indicator,o,t&&i==="above"&&r.labelAbove,a.indicator.className),a.input.className=S(G3.input,e,t&&h[i],a.input.className),a.label)a.label.className=S(G3.label,Z.base,Z[i],a.label.className);return a};var S0=/*@__PURE__*/q((a,l)=>{let c=bl(a,l);return ql(c),Q("useSwitchStyles_unstable")(c),El(c)});S0.displayName="Switch";g();g();var U3=(a,l)=>{let{wrap:c,truncate:o,block:r,italic:e,underline:h,strikethrough:Z,size:t,font:i,weight:v,align:n}=a;return{align:n!==null&&n!==void 0?n:"start",block:r!==null&&r!==void 0?r:!1,font:i!==null&&i!==void 0?i:"base",italic:e!==null&&e!==void 0?e:!1,size:t!==null&&t!==void 0?t:300,strikethrough:Z!==null&&Z!==void 0?Z:!1,truncate:o!==null&&o!==void 0?o:!1,underline:h!==null&&h!==void 0?h:!1,weight:v!==null&&v!==void 0?v:"regular",wrap:c!==null&&c!==void 0?c:!0,components:{root:"span"},root:G.always(a1("span",{ref:l,...a}),{elementType:"span"})}};var B3=(a)=>{return z(a),/*@__PURE__*/L(a.root,{})};var Wl={root:"fui-Text"},hw=/*@__PURE__*/U({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=hw();return a.root.className=S(Wl.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 Z2=/*@__PURE__*/q((a,l)=>{let c=U3(a,l);return D3(c),Q("useTextStyles_unstable")(c),B3(c)});Z2.displayName="Text";g();g();function s7(a){let{useStyles:l,className:c,displayName:o}=a,r=q((e,h)=>{let Z=l(),t=U3(e,h);return D3(t),t.root.className=S(c,t.root.className,Z.root,e.className),B3(t)});return r.displayName=o,r}var zl={root:"fui-Body1"},qs=/*@__PURE__*/U({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 t2=s7({useStyles:qs,className:zl.root,displayName:"Body1"});g();var Ql={root:"fui-Body1Strong"},Ws=/*@__PURE__*/U({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 c8=s7({useStyles:Ws,className:Ql.root,displayName:"Body1Strong"});g();var Jl={root:"fui-Subtitle1"},zs=/*@__PURE__*/U({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 o8=s7({useStyles:zs,className:Jl.root,displayName:"Subtitle1"});g();var Il={root:"fui-Subtitle2"},Qs=/*@__PURE__*/U({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 n5=s7({useStyles:Qs,className:Il.root,displayName:"Subtitle2"});g();var $l={root:"fui-Title2"},Js=/*@__PURE__*/U({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 r8=s7({useStyles:Js,className:$l.root,displayName:"Title2"});g();g();g();var Is=/*@__PURE__*/j("r6pzz3z",null,[".r6pzz3z{overflow-y:hidden;overflow-y:clip;scrollbar-gutter:stable;}"]),$s=/*@__PURE__*/j("r144vlu9",null,[".r144vlu9{overflow-y:hidden;}"]);function Ys(){let a=Is(),l=$s(),{targetDocument:c}=A1(),o=W(()=>{var e;if(!c)return;var h;if(!(Math.floor(c.body.getBoundingClientRect().height)>((h=(e=c.defaultView)===null||e===void 0?void 0:e.innerHeight)!==null&&h!==void 0?h:0)))return;c.documentElement.classList.add(a),c.body.classList.add(l);return},[c,a,l]),r=W(()=>{if(!c)return;c.documentElement.classList.remove(a),c.body.classList.remove(l)},[c,a,l]);return{disableBodyScroll:o,enableBodyScroll:r}}g();function hi(a,l){let{findFirstFocusable:c}=W7(),{targetDocument:o}=A1(),r=k(null);return N(()=>{if(!a)return;let e=r.current&&c(r.current);if(e)e.focus();else{var h;(h=r.current)===null||h===void 0||h.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,o]),r}g();var Zw={open:!1,inertTrapFocus:!1,modalType:"modal",isNestedDialog:!1,unmountOnClose:!0,dialogRef:{current:null},requestOpenChange(){}},Yl=g2(void 0),Xl=Yl.Provider,G0=(a)=>V3(Yl,(l=Zw)=>a(l));g();var tw=!1,Zi=Z1(void 0),e8=Zi.Provider,Kl=()=>{var a;return(a=e1(Zi))!==null&&a!==void 0?a:tw};var ti=W5($6,{fromScale:0.85,easing:C1.curveDecelerateMid,duration:C1.durationGentle,exitEasing:C1.curveAccelerateMin,exitDuration:C1.durationGentle});var jl=(a)=>{let{children:l,modalType:c="modal",onOpenChange:o,inertTrapFocus:r=!1,unmountOnClose:e=!0}=a,h=j1("dialog-title-"),[Z,t]=iw(l),[i,v]=Y0({state:a.open,defaultState:a.defaultOpen,initialState:!1}),n=Y((A)=>{if(o===null||o===void 0||o(A.event,A),!A.event.isDefaultPrevented())v(A.open)}),d=hi(i,c),{modalAttributes:p,triggerAttributes:M}=V2({trapFocus:c!=="non-modal",legacyTrapFocus:!r}),_=m4(Yl);return{components:{surfaceMotion:ti},inertTrapFocus:r,open:i,modalType:c,content:t,trigger:Z,requestOpenChange:n,dialogTitleId:h,isNestedDialog:_,unmountOnClose:e,dialogRef:d,modalAttributes:p,triggerAttributes:M,surfaceMotion:u4(a.surfaceMotion,{elementType:ti,defaultProps:{visible:i,appear:e,unmountOnExit:e}})}};function iw(a){let l=l2.toArray(a);if(l.length!==1&&l.length!==2)console.warn(`@fluentui/react-dialog [useDialog]:
|
|
140
140
|
Dialog must contain at least one child <DialogSurface/>,
|
|
141
|
-
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 Ku=/*@__PURE__*/v1(void 0);function $u(){return t1(Ku)}var Yu=/*@__PURE__*/I((a,l)=>{return/*@__PURE__*/e1(Ku.Provider,{value:l},a.children)});var a9=(a,l)=>{return P(a),/*@__PURE__*/L(Xl,{value:l.dialog,children:/*@__PURE__*/A1(ha,{value:l.dialogSurface,children:[a.trigger,a.content&&/*@__PURE__*/L(a.surfaceMotion,{children:/*@__PURE__*/L(Yu,{children:a.content})})]})})};function $e(a){let{modalType:l,open:c,dialogRef:o,dialogTitleId:e,isNestedDialog:r,inertTrapFocus:t,requestOpenChange:h,modalAttributes:Z,triggerAttributes:i}=a,n={open:c,modalType:l,dialogRef:o,dialogTitleId:e,isNestedDialog:r,inertTrapFocus:t,modalAttributes:Z,triggerAttributes:i,requestOpenChange:h},v=!1;return{dialog:n,dialogSurface:!1}}var k5=/*@__PURE__*/Bo((a)=>{let l=jl(a),c=$e(l);return a9(l,c)});k5.displayName="Dialog";F();F();var l9=(a)=>{let l=Nl(),{children:c,disableButtonEnhancement:o=!1,action:e=l?"close":"open"}=a,r=v4(c),t=I0((v)=>v.requestOpenChange),{triggerAttributes:h}=V2(),Z=$((v)=>{var d,m;if(r===null||r===void 0||(d=(m=r.props).onClick)===null||d===void 0||d.call(m,v),!v.isDefaultPrevented())t({event:v,type:"triggerClick",open:e==="open"})}),i={...r===null||r===void 0?void 0:r.props,ref:s3(r),onClick:Z,...h},n=F2((r===null||r===void 0?void 0:r.type)==="button"||(r===null||r===void 0?void 0:r.type)==="a"?r.type:"div",{...i,type:"button"});return{children:U6(c,o?i:n)}};var c9=(a)=>a.children;var q0=(a)=>{let l=l9(a);return c9(l)};q0.displayName="DialogTrigger";q0.isFluentTriggerComponent=!0;F();F();var o9=(a,l)=>{let{position:c="end",fluid:o=!1}=a;return{components:{root:"div"},root:w.always(a1("div",{ref:l,...a}),{elementType:"div"}),position:c,fluid:o}};var e9=(a)=>{return P(a),/*@__PURE__*/L(a.root,{})};var Ye={root:"fui-DialogActions"},iS=/*@__PURE__*/N("rhfpeu0",null,{r:[".rhfpeu0{gap:8px;height:fit-content;box-sizing:border-box;display:flex;grid-row-start:3;grid-row-end:3;}"],s:["@media screen and (max-width: 480px){.rhfpeu0{flex-direction:column;justify-self:stretch;}}"]}),vS=/*@__PURE__*/k({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)"}]]}),r9=(a)=>{let l=iS(),c=vS();return a.root.className=D(Ye.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 D2=/*@__PURE__*/I((a,l)=>{let c=o9(a,l);return r9(c),z("useDialogActionsStyles_unstable")(c),e9(c)});D2.displayName="DialogActions";F();F();var t9=(a,l)=>{var c;return{components:{root:"div"},root:w.always(a1((c=a.as)!==null&&c!==void 0?c:"div",{ref:l,...a}),{elementType:"div"})}};var h9=(a)=>{return P(a),/*@__PURE__*/L(a.root,{})};var Xe={root:"fui-DialogBody"},nS=/*@__PURE__*/N("rhwx3p8",null,{r:[".rhwx3p8{overflow:unset;gap:8px;display:grid;max-height:calc(100vh - 2 * 24px);max-height:calc(100dvh - 2 * 24px);box-sizing:border-box;grid-template-rows:auto 1fr;grid-template-columns:1fr 1fr auto;}"],s:["@media screen and (max-width: 480px){.rhwx3p8{max-width:100vw;grid-template-rows:auto 1fr auto;}}","@media screen and (max-height: 359px){.rhwx3p8{max-height:unset;}}"]}),Z9=(a)=>{let l=nS();return a.root.className=D(Xe.root,l,a.root.className),a};var w2=/*@__PURE__*/I((a,l)=>{let c=t9(a,l);return Z9(c),z("useDialogBodyStyles_unstable")(c),h9(c)});w2.displayName="DialogBody";F();F();var Za={root:"fui-DialogTitle",action:"fui-DialogTitle__action"},dS=/*@__PURE__*/N("rxjm636",null,[".rxjm636{font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase500);font-weight:var(--fontWeightSemibold);line-height:var(--lineHeightBase500);margin:0;grid-row-start:1;grid-row-end:1;grid-column-start:1;grid-column-end:3;}"]),mS=/*@__PURE__*/k({rootWithoutAction:{Bw0ie65:"fsyjsko"}},{d:[".fsyjsko{grid-column-end:4;}"]}),pS=/*@__PURE__*/N("r13kcrze",null,[".r13kcrze{grid-row-start:1;grid-row-end:1;grid-column-start:3;justify-self:end;align-self:start;}"]),Ne=/*@__PURE__*/N("r2avt6e","roj2bbc",{r:[".r2avt6e{overflow:visible;padding:0;border-style:none;position:relative;box-sizing:content-box;background-color:inherit;color:inherit;font-family:inherit;font-size:inherit;cursor:pointer;line-height:0;-webkit-appearance:button;text-align:unset;}",".r2avt6e:focus{outline-style:none;}",".r2avt6e:focus-visible{outline-style:none;}",".r2avt6e[data-fui-focus-visible]{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.r2avt6e[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);right:calc(2px * -1);bottom:calc(2px * -1);left:calc(2px * -1);}',".roj2bbc{overflow:visible;padding:0;border-style:none;position:relative;box-sizing:content-box;background-color:inherit;color:inherit;font-family:inherit;font-size:inherit;cursor:pointer;line-height:0;-webkit-appearance:button;text-align:unset;}",".roj2bbc:focus{outline-style:none;}",".roj2bbc:focus-visible{outline-style:none;}",".roj2bbc[data-fui-focus-visible]{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.roj2bbc[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);left:calc(2px * -1);bottom:calc(2px * -1);right:calc(2px * -1);}'],s:["@media (forced-colors: active){.r2avt6e[data-fui-focus-visible]::after{border-top-color:Highlight;border-right-color:Highlight;border-bottom-color:Highlight;border-left-color:Highlight;}}","@media (forced-colors: active){.roj2bbc[data-fui-focus-visible]::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}"]}),G3=(a)=>{let l=dS(),c=pS(),o=mS();if(a.root.className=D(Za.root,l,!a.action&&o.rootWithoutAction,a.root.className),a.action)a.action.className=D(Za.action,c,a.action.className);return a};var i9=(a,l)=>{let{action:c}=a,o=I0((r)=>r.modalType),e=Ne();return{components:{root:"h2",action:"div"},root:w.always(a1("h2",{ref:l,id:I0((r)=>r.dialogTitleId),...a}),{elementType:"h2"}),action:w.optional(c,{renderByDefault:o==="non-modal",defaultProps:{children:/*@__PURE__*/e1(q0,{disableButtonEnhancement:!0,action:"close"},/*@__PURE__*/e1("button",{type:"button",className:e,"aria-label":"close"},/*@__PURE__*/e1(r_,null)))},elementType:"div"})}};var v9=(a)=>{return P(a),/*@__PURE__*/A1(m1,{children:[/*@__PURE__*/L(a.root,{children:a.root.children}),a.action&&/*@__PURE__*/L(a.action,{})]})};var k2=/*@__PURE__*/I((a,l)=>{let c=i9(a,l);return G3(c),z("useDialogTitleStyles_unstable")(c),v9(c)});k2.displayName="DialogTitle";F();F();var ii=Ce;var B3=(a,l)=>{let c=$u(),o=I0((p)=>p.modalType),e=I0((p)=>p.isNestedDialog),r=I0((p)=>p.modalAttributes),t=I0((p)=>p.dialogRef),h=I0((p)=>p.requestOpenChange),Z=I0((p)=>p.dialogTitleId),i=I0((p)=>p.open),n=$((p)=>{if(C6(a.backdrop)){var M,u;(M=(u=a.backdrop).onClick)===null||M===void 0||M.call(u,p)}if(o==="modal"&&!p.isDefaultPrevented())h({event:p,open:!1,type:"backdropClick"})}),v=$((p)=>{var M;if((M=a.onKeyDown)===null||M===void 0||M.call(a,p),p.key===J7&&!p.isDefaultPrevented())h({event:p,open:!1,type:"escapeKeyDown"}),p.preventDefault()}),d=w.optional(a.backdrop,{renderByDefault:o!=="non-modal",defaultProps:{"aria-hidden":"true"},elementType:"div"});if(d)d.onClick=n;let{disableBodyScroll:m,enableBodyScroll:s}=Qu();return q1(()=>{if(e||o==="non-modal")return;return m(),()=>{s()}},[s,e,m,o]),{components:{backdrop:"div",root:"div",backdropMotion:ii},open:i,backdrop:d,isNestedDialog:e,mountNode:a.mountNode,root:w.always(a1("div",{tabIndex:-1,"aria-modal":o!=="non-modal",role:o==="alert"?"alertdialog":"dialog","aria-labelledby":a["aria-label"]?void 0:Z,...a,...r,onKeyDown:v,ref:R1(l,c,t)}),{elementType:"div"}),backdropMotion:H4(a.backdropMotion,{elementType:ii,defaultProps:{appear:!0,visible:i}}),transitionStatus:void 0}};var T3=(a,l)=>{return P(a),/*@__PURE__*/A1(L2,{mountNode:a.mountNode,children:[a.backdrop&&a.backdropMotion&&/*@__PURE__*/L(a.backdropMotion,{children:/*@__PURE__*/L(a.backdrop,{})}),/*@__PURE__*/L(ha,{value:l.dialogSurface,children:/*@__PURE__*/L(a.root,{})})]})};var n9={root:"fui-DialogSurface",backdrop:"fui-DialogSurface__backdrop"},sS=/*@__PURE__*/N("r1u3t6p6","r5coedp",{r:[".r1u3t6p6{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;max-height:100dvh;box-sizing:border-box;background-color:var(--colorNeutralBackground1);color:var(--colorNeutralForeground1);box-shadow:var(--shadow64);}",".r1u3t6p6:focus{outline-style:none;}",".r1u3t6p6:focus-visible{outline-style:none;}",".r1u3t6p6[data-fui-focus-visible]{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.r1u3t6p6[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);}',".r5coedp{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;max-height:100dvh;box-sizing:border-box;background-color:var(--colorNeutralBackground1);color:var(--colorNeutralForeground1);box-shadow:var(--shadow64);}",".r5coedp:focus{outline-style:none;}",".r5coedp:focus-visible{outline-style:none;}",".r5coedp[data-fui-focus-visible]{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.r5coedp[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){.r1u3t6p6[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){.r1u3t6p6{max-width:100vw;}}","@media screen and (max-height: 359px){.r1u3t6p6{overflow-y:auto;padding-right:calc(24px - 4px);border-right-width:4px;border-top-width:4px;border-bottom-width:4px;}}","@media (forced-colors: active){.r5coedp[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){.r5coedp{max-width:100vw;}}","@media screen and (max-height: 359px){.r5coedp{overflow-y:auto;padding-left:calc(24px - 4px);border-left-width:4px;border-top-width:4px;border-bottom-width:4px;}}"]}),MS=/*@__PURE__*/N("r1e18s3l",null,[".r1e18s3l{inset:0px;background-color:var(--colorBackgroundOverlay);position:fixed;}"]),_S=/*@__PURE__*/k({nestedDialogBackdrop:{De3pzq:"f1c21dwh"}},{d:[".f1c21dwh{background-color:var(--colorTransparentBackground);}"]}),d9=(a)=>{let{isNestedDialog:l,root:c,backdrop:o}=a,e=sS(),r=MS(),t=_S();if(c.className=D(n9.root,e,c.className),o)o.className=D(n9.backdrop,r,l&&t.nestedDialogBackdrop,o.className);return a};function b3(a){return{dialogSurface:!0}}var y2=/*@__PURE__*/I((a,l)=>{let c=B3(a,l),o=b3(c);return d9(c),z("useDialogSurfaceStyles_unstable")(c),T3(c,o)});y2.displayName="DialogSurface";F();F();var m9=(a,l)=>{var c;return{components:{root:"div"},root:w.always(a1((c=a.as)!==null&&c!==void 0?c:"div",{ref:l,...a}),{elementType:"div"})}};var p9=(a)=>{return P(a),/*@__PURE__*/L(a.root,{})};var je={root:"fui-DialogContent"},uS=/*@__PURE__*/N("r1v5zwsm",null,{r:[".r1v5zwsm{padding:var(--strokeWidthThick);margin:calc(var(--strokeWidthThick) * -1);font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);overflow-y:auto;min-height:32px;box-sizing:border-box;grid-row-start:2;grid-row-end:2;grid-column-start:1;grid-column-end:4;}"],s:["@media screen and (max-height: 359px){.r1v5zwsm{overflow-y:unset;}}"]}),s9=(a)=>{let l=uS();return a.root.className=D(je.root,l,a.root.className),a};var U2=/*@__PURE__*/I((a,l)=>{let c=m9(a,l);return s9(c),z("useDialogContentStyles_unstable")(c),p9(c)});U2.displayName="DialogContent";F();F();var vi=(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 ni=(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 M9=(a,l)=>{let c=R4(),o=c===null||c===void 0?void 0:c.validationState,{color:e=o==="error"||o==="warning"||o==="success"?o:"brand",shape:r="rounded",thickness:t="medium"}=a;var h;let Z=vi((h=a.max)!==null&&h!==void 0?h:1),i=ni(a.value,Z),n=w.always(a1("div",{ref:l,role:"progressbar","aria-valuemin":i!==void 0?0:void 0,"aria-valuemax":i!==void 0?Z:void 0,"aria-valuenow":i,"aria-labelledby":c===null||c===void 0?void 0:c.labelId,...a}),{elementType:"div"});if(c&&(c.validationMessageId||c.hintId))n["aria-describedby"]=[c===null||c===void 0?void 0:c.validationMessageId,c===null||c===void 0?void 0:c.hintId,n["aria-describedby"]].filter(Boolean).join(" ");let v=w.always(a.bar,{elementType:"div"});return{color:e,max:Z,shape:r,thickness:t,value:i,components:{root:"div",bar:"div"},root:n,bar:v}};var _9=(a)=>{return P(a),/*@__PURE__*/L(a.root,{children:a.bar&&/*@__PURE__*/L(a.bar,{})})};var u9={root:"fui-ProgressBar",bar:"fui-ProgressBar__bar"},AS=0.01;var HS=/*@__PURE__*/k({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)"}]]}),VS=/*@__PURE__*/k({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",B3ks32h:"f2xo07b",B3vm3ge:"f1f2ih6z",Gqtpxc:"f7h4d4t",vr3tzx:"f32r5lb"},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){.f2xo07b{max-width:100%;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.f1f2ih6z{animation-iteration-count:infinite;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.f7h4d4t{animation-duration:3s;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.f32r5lb{animation-name:ftc26vs;}}",{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(
|
|
141
|
+
and at most two children <DialogTrigger/> <DialogSurface/> (in this order).`);switch(l.length){case 2:return l;case 1:return[void 0,l[0]];default:return[void 0,void 0]}}g();g();var Xs=/*@__PURE__*/Z1(void 0);function Ks(){return e1(Xs)}var js=/*@__PURE__*/q((a,l)=>{return/*@__PURE__*/o1(Xs.Provider,{value:l},a.children)});var Nl=(a,l)=>{return z(a),/*@__PURE__*/L(Xl,{value:l.dialog,children:/*@__PURE__*/H1(e8,{value:l.dialogSurface,children:[a.trigger,a.content&&/*@__PURE__*/L(a.surfaceMotion,{children:/*@__PURE__*/L(js,{children:a.content})})]})})};function Ir(a){let{modalType:l,open:c,dialogRef:o,dialogTitleId:r,isNestedDialog:e,inertTrapFocus:h,requestOpenChange:Z,modalAttributes:t,triggerAttributes:i,unmountOnClose:v}=a,n={open:c,modalType:l,dialogRef:o,dialogTitleId:r,isNestedDialog:e,inertTrapFocus:h,modalAttributes:t,triggerAttributes:i,unmountOnClose:v,requestOpenChange:Z},d=!1;return{dialog:n,dialogSurface:!1}}var S5=/*@__PURE__*/Oo((a)=>{let l=jl(a),c=Ir(l);return Nl(l,c)});S5.displayName="Dialog";g();g();var a9=(a)=>{let l=Kl(),{children:c,disableButtonEnhancement:o=!1,action:r=l?"close":"open"}=a,e=n4(c),h=G0((n)=>n.requestOpenChange),{triggerAttributes:Z}=V2(),t=Y((n)=>{var d,p;if(e===null||e===void 0||(d=(p=e.props).onClick)===null||d===void 0||d.call(p,n),!n.isDefaultPrevented())h({event:n,type:"triggerClick",open:r==="open"})}),i={...e===null||e===void 0?void 0:e.props,ref:M3(e),onClick:t,...Z},v=x2((e===null||e===void 0?void 0:e.type)==="button"||(e===null||e===void 0?void 0:e.type)==="a"?e.type:"div",{...i,type:"button"});return{children:U6(c,o?i:v)}};var l9=(a)=>a.children;var W0=(a)=>{let l=a9(a);return l9(l)};W0.displayName="DialogTrigger";W0.isFluentTriggerComponent=!0;g();g();var c9=(a,l)=>{let{position:c="end",fluid:o=!1}=a;return{components:{root:"div"},root:G.always(a1("div",{ref:l,...a}),{elementType:"div"}),position:c,fluid:o}};var o9=(a)=>{return z(a),/*@__PURE__*/L(a.root,{})};var $r={root:"fui-DialogActions"},nw=/*@__PURE__*/j("rhfpeu0",null,{r:[".rhfpeu0{gap:8px;height:fit-content;box-sizing:border-box;display:flex;grid-row-start:3;grid-row-end:3;}"],s:["@media screen and (max-width: 480px){.rhfpeu0{flex-direction:column;justify-self:stretch;}}"]}),vw=/*@__PURE__*/U({gridPositionEnd:{Bdqf98w:"f1a7i8kp",Br312pm:"fd46tj4",Bw0ie65:"fsyjsko",Btsd7tp:"f1n00o3b",ufxxby:"f1mvsp37",Bq5p579:"flbz1vp"},gridPositionStart:{Bdqf98w:"fsxvdwy",Br312pm:"fwpfdsa",Bw0ie65:"f1e2fz10",Ew0qkd:"f119phc2",ufxxby:"f1j719yo",Bq5p579:"flbz1vp"},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){.f1n00o3b{grid-column-start:1;}}",{m:"screen and (max-width: 480px)"}],["@media screen and (max-width: 480px){.f1mvsp37{grid-row-start:4;}}",{m:"screen and (max-width: 480px)"}],["@media screen and (max-width: 480px){.flbz1vp{grid-row-end:auto;}}",{m:"screen and (max-width: 480px)"}],["@media screen and (max-width: 480px){.f119phc2{grid-column-end:4;}}",{m:"screen and (max-width: 480px)"}],["@media screen and (max-width: 480px){.f1j719yo{grid-row-start:3;}}",{m:"screen and (max-width: 480px)"}]]}),r9=(a)=>{let l=nw(),c=vw();return a.root.className=S($r.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 G2=/*@__PURE__*/q((a,l)=>{let c=c9(a,l);return r9(c),Q("useDialogActionsStyles_unstable")(c),o9(c)});G2.displayName="DialogActions";g();g();var e9=(a,l)=>{var c;return{components:{root:"div"},root:G.always(a1((c=a.as)!==null&&c!==void 0?c:"div",{ref:l,...a}),{elementType:"div"})}};var h9=(a)=>{return z(a),/*@__PURE__*/L(a.root,{})};var Yr={root:"fui-DialogBody"},dw=/*@__PURE__*/j("rhwx3p8",null,{r:[".rhwx3p8{overflow:unset;gap:8px;display:grid;max-height:calc(100vh - 2 * 24px);max-height:calc(100dvh - 2 * 24px);box-sizing:border-box;grid-template-rows:auto 1fr;grid-template-columns:1fr 1fr auto;}"],s:["@media screen and (max-width: 480px){.rhwx3p8{max-width:100vw;grid-template-rows:auto 1fr auto;}}","@media screen and (max-height: 359px){.rhwx3p8{max-height:unset;}}"]}),Z9=(a)=>{let l=dw();return a.root.className=S(Yr.root,l,a.root.className),a};var U2=/*@__PURE__*/q((a,l)=>{let c=e9(a,l);return Z9(c),Q("useDialogBodyStyles_unstable")(c),h9(c)});U2.displayName="DialogBody";g();g();var h8={root:"fui-DialogTitle",action:"fui-DialogTitle__action"},pw=/*@__PURE__*/j("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;}"]),_w=/*@__PURE__*/U({rootWithoutAction:{Bw0ie65:"fsyjsko"}},{d:[".fsyjsko{grid-column-end:4;}"]}),Mw=/*@__PURE__*/j("r13kcrze",null,[".r13kcrze{grid-row-start:1;grid-row-end:1;grid-column-start:3;justify-self:end;align-self:start;}"]),Xr=/*@__PURE__*/j("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;}}"]}),k3=(a)=>{let l=pw(),c=Mw(),o=_w();if(a.root.className=S(h8.root,l,!a.action&&o.rootWithoutAction,a.root.className),a.action)a.action.className=S(h8.action,c,a.action.className);return a};var t9=(a,l)=>{let{action:c}=a,o=G0((e)=>e.modalType),r=Xr();return{components:{root:"h2",action:"div"},root:G.always(a1("h2",{ref:l,id:G0((e)=>e.dialogTitleId),...a}),{elementType:"h2"}),action:G.optional(c,{renderByDefault:o==="non-modal",defaultProps:{children:/*@__PURE__*/o1(W0,{disableButtonEnhancement:!0,action:"close"},/*@__PURE__*/o1("button",{type:"button",className:r,"aria-label":"close"},/*@__PURE__*/o1(_m,null)))},elementType:"div"})}};var i9=(a)=>{return z(a),/*@__PURE__*/H1(p1,{children:[/*@__PURE__*/L(a.root,{children:a.root.children}),a.action&&/*@__PURE__*/L(a.action,{})]})};var B2=/*@__PURE__*/q((a,l)=>{let c=t9(a,l);return k3(c),Q("useDialogTitleStyles_unstable")(c),i9(c)});B2.displayName="DialogTitle";g();g();var ii=gr;var y3=(a,l)=>{let c=Ks(),o=G0((A)=>A.modalType),r=G0((A)=>A.isNestedDialog),e=G0((A)=>A.modalAttributes),h=G0((A)=>A.dialogRef),Z=G0((A)=>A.requestOpenChange),t=G0((A)=>A.dialogTitleId),i=G0((A)=>A.open),v=G0((A)=>A.unmountOnClose),n=Y((A)=>{if(g6(a.backdrop)){var m,u;(m=(u=a.backdrop).onClick)===null||m===void 0||m.call(u,A)}if(o==="modal"&&!A.isDefaultPrevented())Z({event:A,open:!1,type:"backdropClick"})}),d=Y((A)=>{var m;if((m=a.onKeyDown)===null||m===void 0||m.call(a,A),A.key===I7&&!A.isDefaultPrevented())Z({event:A,open:!1,type:"escapeKeyDown"}),A.preventDefault()}),p=G.optional(a.backdrop,{renderByDefault:o!=="non-modal",defaultProps:{"aria-hidden":"true"},elementType:"div"});if(p)p.onClick=n;let{disableBodyScroll:M,enableBodyScroll:_}=Ys();return W1(()=>{if(!i){_();return}if(r||o==="non-modal")return;return M(),()=>_()},[i,o,r,M,_]),{components:{backdrop:"div",root:"div",backdropMotion:ii},open:i,backdrop:p,isNestedDialog:r,unmountOnClose:v,mountNode:a.mountNode,root:G.always(a1("div",{tabIndex:-1,role:o==="alert"?"alertdialog":"dialog","aria-modal":o!=="non-modal","aria-labelledby":a["aria-label"]?void 0:t,"aria-hidden":!v&&!i?!0:void 0,...a,...e,onKeyDown:d,ref:w1(l,c,h)}),{elementType:"div"}),backdropMotion:u4(a.backdropMotion,{elementType:ii,defaultProps:{appear:v,visible:i}}),transitionStatus:void 0}};var O3=(a,l)=>{return z(a),/*@__PURE__*/H1(R2,{mountNode:a.mountNode,children:[a.backdrop&&a.backdropMotion&&/*@__PURE__*/L(a.backdropMotion,{children:/*@__PURE__*/L(a.backdrop,{})}),/*@__PURE__*/L(e8,{value:l.dialogSurface,children:/*@__PURE__*/L(a.root,{})})]})};var n9={root:"fui-DialogSurface",backdrop:"fui-DialogSurface__backdrop"},Aw=/*@__PURE__*/j("r1u3t6p6","r5coedp",{r:[".r1u3t6p6{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;max-height:100dvh;box-sizing:border-box;background-color:var(--colorNeutralBackground1);color:var(--colorNeutralForeground1);box-shadow:var(--shadow64);}",".r1u3t6p6:focus{outline-style:none;}",".r1u3t6p6:focus-visible{outline-style:none;}",".r1u3t6p6[data-fui-focus-visible]{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.r1u3t6p6[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);}',".r5coedp{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;max-height:100dvh;box-sizing:border-box;background-color:var(--colorNeutralBackground1);color:var(--colorNeutralForeground1);box-shadow:var(--shadow64);}",".r5coedp:focus{outline-style:none;}",".r5coedp:focus-visible{outline-style:none;}",".r5coedp[data-fui-focus-visible]{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.r5coedp[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){.r1u3t6p6[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){.r1u3t6p6{max-width:100vw;}}","@media screen and (max-height: 359px){.r1u3t6p6{overflow-y:auto;padding-right:calc(24px - 4px);border-right-width:4px;border-top-width:4px;border-bottom-width:4px;}}","@media (forced-colors: active){.r5coedp[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){.r5coedp{max-width:100vw;}}","@media screen and (max-height: 359px){.r5coedp{overflow-y:auto;padding-left:calc(24px - 4px);border-left-width:4px;border-top-width:4px;border-bottom-width:4px;}}"]}),mw=/*@__PURE__*/j("r1e18s3l",null,[".r1e18s3l{inset:0px;background-color:var(--colorBackgroundOverlay);position:fixed;}"]),sw=/*@__PURE__*/U({nestedDialogBackdrop:{De3pzq:"f1c21dwh"},dialogHidden:{Bkecrkj:"f1aehjj5"}},{d:[".f1c21dwh{background-color:var(--colorTransparentBackground);}",".f1aehjj5{pointer-events:none;}"]}),v9=(a)=>{let{isNestedDialog:l,root:c,backdrop:o,open:r,unmountOnClose:e}=a,h=Aw(),Z=mw(),t=sw(),i=!e&&!r;if(c.className=S(n9.root,h,i&&t.dialogHidden,c.className),o)o.className=S(n9.backdrop,Z,l&&t.nestedDialogBackdrop,i&&t.dialogHidden,o.className);return a};function P3(a){return{dialogSurface:!0}}var D2=/*@__PURE__*/q((a,l)=>{let c=y3(a,l),o=P3(c);return v9(c),Q("useDialogSurfaceStyles_unstable")(c),O3(c,o)});D2.displayName="DialogSurface";g();g();var d9=(a,l)=>{var c;return{components:{root:"div"},root:G.always(a1((c=a.as)!==null&&c!==void 0?c:"div",{ref:l,...a}),{elementType:"div"})}};var p9=(a)=>{return z(a),/*@__PURE__*/L(a.root,{})};var Kr={root:"fui-DialogContent"},uw=/*@__PURE__*/j("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;}}"]}),_9=(a)=>{let l=uw();return a.root.className=S(Kr.root,l,a.root.className),a};var k2=/*@__PURE__*/q((a,l)=>{let c=d9(a,l);return _9(c),Q("useDialogContentStyles_unstable")(c),p9(c)});k2.displayName="DialogContent";g();g();var ni=(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 vi=(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 M9=(a,l)=>{let c=L4(),o=c===null||c===void 0?void 0:c.validationState,{color:r=o==="error"||o==="warning"||o==="success"?o:"brand",shape:e="rounded",thickness:h="medium"}=a;var Z;let t=ni((Z=a.max)!==null&&Z!==void 0?Z:1),i=vi(a.value,t),v=G.always(a1("div",{ref:l,role:"progressbar","aria-valuemin":i!==void 0?0:void 0,"aria-valuemax":i!==void 0?t:void 0,"aria-valuenow":i,"aria-labelledby":c===null||c===void 0?void 0:c.labelId,...a}),{elementType:"div"});if(c&&(c.validationMessageId||c.hintId))v["aria-describedby"]=[c===null||c===void 0?void 0:c.validationMessageId,c===null||c===void 0?void 0:c.hintId,v["aria-describedby"]].filter(Boolean).join(" ");let n=G.always(a.bar,{elementType:"div"});return{color:r,max:t,shape:e,thickness:h,value:i,components:{root:"div",bar:"div"},root:v,bar:n}};var A9=(a)=>{return z(a),/*@__PURE__*/L(a.root,{children:a.bar&&/*@__PURE__*/L(a.bar,{})})};var m9={root:"fui-ProgressBar",bar:"fui-ProgressBar__bar"},Hw=0.01;var fw=/*@__PURE__*/U({root:{mc9l5x:"ftgm304",De3pzq:"f18f03hv",a9b677:"fly5x3f",B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1a3p1vp",Bomf52o:"f1skxd4g"},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){.f1skxd4g{background-color:CanvasText;}}",{m:"screen and (forced-colors: active)"}]]}),Vw=/*@__PURE__*/U({base:{Bomf52o:"f1tnpuu0",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",jpy9cc:"f3z2g5w",Bqo2lbl:"fz5izi4",B6plc1d:"fv40pdu",I82g5a:"f1uj6jbf"},brand:{De3pzq:"ftywsgz"},error:{De3pzq:"fdl5y0r"},warning:{De3pzq:"f1s438gw"},success:{De3pzq:"flxk52p"}},{m:[["@media screen and (forced-colors: active){.f1tnpuu0{background-color:Highlight;}}",{m:"screen and (forced-colors: active)"}],["@media screen and (prefers-reduced-motion: reduce){.f3z2g5w{max-width:100%;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.fz5izi4{animation-iteration-count:infinite;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.fv40pdu{animation-duration:3s;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.f1uj6jbf{animation-name:ftc26vs;}}",{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(
|
|
142
142
|
to right,
|
|
143
143
|
var(--colorNeutralBackground6) 0%,
|
|
144
144
|
var(--colorTransparentBackground) 50%,
|
|
@@ -148,28 +148,28 @@ and at most two children <DialogTrigger/> <DialogSurface/> (in this order).`);sw
|
|
|
148
148
|
var(--colorNeutralBackground6) 0%,
|
|
149
149
|
var(--colorTransparentBackground) 50%,
|
|
150
150
|
var(--colorNeutralBackground6) 100%
|
|
151
|
-
);}`,".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%;}}","@keyframes ftc26vs{0%{opacity:.2;}50%{opacity:1;}100%{opacity:.2;}}"]}),A9=(a)=>{let{color:l,max:c,shape:o,thickness:e,value:r}=a,t=HS(),h=VS();if(a.root.className=D(u9.root,t.root,t[o],t[e],a.root.className),a.bar)a.bar.className=D(u9.bar,h.base,h.brand,r===void 0&&h.indeterminate,r!==void 0&&r>AS&&h.nonZeroDeterminate,l&&r!==void 0&&h[l],a.bar.className);if(a.bar&&r!==void 0)a.bar.style={width:Math.min(100,Math.max(0,r/c*100))+"%",...a.bar.style};return a};var j7=/*@__PURE__*/I((a,l)=>{let c=M9(a,l);return A9(c),z("useProgressBarStyles_unstable")(c),_9(c)});j7.displayName="ProgressBar";F();F();var H9=(a,l)=>{let{size:c="medium",vertical:o=!1}=a,e=C8({circular:!0,axis:"both"}),r={size:c,vertical:o,components:{root:"div"},root:w.always(a1("div",{role:"toolbar",ref:l,...o&&{"aria-orientation":"vertical"},...e,...a}),{elementType:"div"})},[t,h]=gS({checkedValues:a.checkedValues,defaultCheckedValues:a.defaultCheckedValues,onCheckedValueChange:a.onCheckedValueChange}),Z=$((n,v,d,m)=>{if(v&&d){let p=[...(t===null||t===void 0?void 0:t[v])||[]];if(m)p.splice(p.indexOf(d),1);else p.push(d);h===null||h===void 0||h(n,{name:v,checkedItems:p})}}),i=$((n,v,d,m)=>{if(v&&d)h===null||h===void 0||h(n,{name:v,checkedItems:[d]})});return{...r,handleToggleButton:Z,handleRadio:i,checkedValues:t!==null&&t!==void 0?t:{}}},gS=(a)=>{let[l,c]=Y0({state:a.checkedValues,defaultState:a.defaultCheckedValues,initialState:{}}),{onCheckedValueChange:o}=a,e=$((r,{name:t,checkedItems:h})=>{if(o)o(r,{name:t,checkedItems:h});c((Z)=>{return Z?{...Z,[t]:h}:{[t]:h}})});return[l,e]};var Xu=f2(void 0);var V9=(a,l)=>{return P(a),/*@__PURE__*/L(Xu.Provider,{value:l.toolbar,children:/*@__PURE__*/L(a.root,{children:a.root.children})})};var ar={root:"fui-Toolbar"},fS=/*@__PURE__*/k({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}]]}),g9=(a)=>{let l=fS(),{vertical:c,size:o}=a;return a.root.className=D(ar.root,l.root,c&&l.vertical,o==="small"&&!c&&l.small,o==="medium"&&!c&&l.medium,o==="large"&&!c&&l.large,a.root.className),a};function Nu(a){let{size:l,handleToggleButton:c,vertical:o,checkedValues:e,handleRadio:r}=a;return{toolbar:{size:l,vertical:o,handleToggleButton:c,handleRadio:r,checkedValues:e}}}var B4=/*@__PURE__*/I((a,l)=>{let c=H9(a,l),o=Nu(c);return g9(c),z("useToolbarStyles_unstable")(c),V9(c,o)});B4.displayName="Toolbar";F();var FS=/*@__PURE__*/k({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}]]}),f9=(a)=>{let l=FS();if(a.root.className=D(a.vertical&&l.vertical,a.root.className),a.icon)a.icon.className=D(a.vertical&&l.verticalIcon,a.icon.className);L3(a)};F();var F9=(a,l)=>{let{vertical:c=!1,...o}=a,e=C3({appearance:"subtle",...o,size:"medium"},l);return{vertical:c,...e}};var G2=/*@__PURE__*/I((a,l)=>{let c=F9(a,l);return f9(c),z("useToolbarButtonStyles_unstable")(c),X7(c)});G2.displayName="ToolbarButton";F();F();F();var ju=v1(void 0),xS={size:"medium",noNativeElements:!1,sortable:!1},di=ju.Provider,J5=()=>{var a;return(a=t1(ju))!==null&&a!==void 0?a:xS};var x9=(a,l)=>{let{noNativeElements:c,size:o}=J5();var e;let r=((e=a.as)!==null&&e!==void 0?e:c)?"div":"td";return{components:{root:r},root:w.always(a1(r,{ref:l,role:r==="div"?"cell":void 0,...a}),{elementType:r}),noNativeElements:c,size:o}};var C9=(a)=>{return P(a),/*@__PURE__*/L(a.root,{})};var lr="fui-TableCell",cr={root:lr},CS=/*@__PURE__*/k({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;}"]}),LS=/*@__PURE__*/k({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;}"]}),RS=/*@__PURE__*/k({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}]]}),L9=(a)=>{let l=RS(),c={table:CS(),flex:LS()};return a.root.className=D(cr.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 A7=/*@__PURE__*/I((a,l)=>{let c=x9(a,l);return L9(c),z("useTableCellStyles_unstable")(c),C9(c)});A7.displayName="TableCell";F();F();F();var aA=v1(void 0),SS="",mi=aA.Provider,pi=()=>t1(aA)===SS;var R9=(a,l)=>{let{noNativeElements:c,size:o}=J5();var e;let r=((e=a.as)!==null&&e!==void 0?e:c)?"div":"tr",t=P7(),h=H2(),Z=pi();var i;return{components:{root:r},root:w.always(a1(r,{ref:R1(l,t,h),role:r==="div"?"row":void 0,...a}),{elementType:r}),size:o,noNativeElements:c,appearance:(i=a.appearance)!==null&&i!==void 0?i:"none",isHeaderRow:Z}};var S9=(a)=>{return P(a),/*@__PURE__*/L(a.root,{})};var or="fui-TableRow",er={root:or},DS=/*@__PURE__*/k({root:{mc9l5x:"f1u0rzck"}},{d:[".f1u0rzck{display:table-row;}"]}),wS=/*@__PURE__*/k({root:{mc9l5x:"f22iagw",Bt984gj:"f122n59"}},{d:[".f22iagw{display:flex;}",".f122n59{align-items:center;}"]}),kS=/*@__PURE__*/k({root:{sj55zd:"f19n0e5",B7ck84d:"f1ewtqcl",Bconypa:"f1jazu75",B6guboy:"f1xeqee6",Bfpq7zp:0,g9k6zt:0,Bn4voq9:0,giviqs:"f1dxfoyt",Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"f2krc9w"},rootInteractive:{B6guboy:"f1xeqee6",ecr2s2:"f1wfn5kd",lj723h:"f1g4hkjv",B43xm9u:"f15ngxrw",i921ia:"fjbbrdp",Jwef8y:"f1t94bn6",Bi91k9c:"feu1g3u",Bpt6rm4:"f1uorfem",ff6mpl:"fw60kww",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;}",".f1jazu75[data-fui-focus-within]:focus-within .fui-TableSelectionCell{opacity:1;}",".f1xeqee6[data-fui-focus-within]:focus-within .fui-TableCellActions{opacity:1;}",[".f1dxfoyt[data-fui-focus-visible]{outline:2px solid var(--colorStrokeFocus2);}",{p:-1}],[".f2krc9w[data-fui-focus-visible]{border-radius:var(--borderRadiusMedium);}",{p:-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);}"],a:[".f1wfn5kd:active{background-color:var(--colorSubtleBackgroundPressed);}",".f1g4hkjv:active{color:var(--colorNeutralForeground1Pressed);}",".f15ngxrw:active .fui-TableCellActions{opacity:1;}",".fjbbrdp:active .fui-TableSelectionCell{opacity:1;}",".f7tkmfy:active{background-color:var(--colorBrandBackground2);}",".f1r2dosr:active{color:var(--colorNeutralForeground1);}",".fa9o754:active{background-color:var(--colorSubtleBackgroundSelected);}"],h:[".f1t94bn6:hover{background-color:var(--colorSubtleBackgroundHover);}",".feu1g3u:hover{color:var(--colorNeutralForeground1Hover);}",".f1uorfem:hover .fui-TableCellActions{opacity:1;}",".fw60kww:hover .fui-TableSelectionCell{opacity:1;}",".f1uqaxdt:hover{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)"}]]}),D9=(a)=>{let l=kS(),c={table:DS(),flex:wS()};return a.root.className=D(er.root,l.root,!a.isHeaderRow&&l.rootInteractive,l[a.size],a.noNativeElements?c.flex.root:c.table.root,l[a.appearance],a.root.className),a};var O3=/*@__PURE__*/I((a,l)=>{let c=R9(a,l);return D9(c),z("useTableRowStyles_unstable")(c),S9(c)});O3.displayName="TableRow";F();F();var w9=(a,l)=>{let{noNativeElements:c}=J5();var o;let e=((o=a.as)!==null&&o!==void 0?o:c)?"div":"tbody";return{components:{root:e},root:w.always(a1(e,{ref:l,role:e==="div"?"rowgroup":void 0,...a}),{elementType:e}),noNativeElements:c}};var k9=(a)=>{return P(a),/*@__PURE__*/L(a.root,{})};var yS=/*@__PURE__*/k({root:{mc9l5x:"f1tp1avn"}},{d:[".f1tp1avn{display:table-row-group;}"]}),US=/*@__PURE__*/k({root:{mc9l5x:"ftgm304"}},{d:[".ftgm304{display:block;}"]}),rr="fui-TableBody";var y9=(a)=>{let l={table:yS(),flex:US()};return a.root.className=D(rr,a.noNativeElements?l.flex.root:l.table.root,a.root.className),a};var T4=/*@__PURE__*/I((a,l)=>{let c=w9(a,l);return y9(c),z("useTableBodyStyles_unstable")(c),k9(c)});T4.displayName="TableBody";F();F();var U9=(a,l)=>{var c;let o=((c=a.as)!==null&&c!==void 0?c:a.noNativeElements)?"div":"table";var e,r,t;return{components:{root:o},root:w.always(a1(o,{ref:l,role:o==="div"?"table":void 0,...a}),{elementType:o}),size:(e=a.size)!==null&&e!==void 0?e:"medium",noNativeElements:(r=a.noNativeElements)!==null&&r!==void 0?r:!1,sortable:(t=a.sortable)!==null&&t!==void 0?t:!1}};var G9=(a,l)=>{return P(a),/*@__PURE__*/L(di,{value:l.table,children:/*@__PURE__*/L(a.root,{})})};var tr="fui-Table";var GS=/*@__PURE__*/k({root:{mc9l5x:"f1w4nmp0",ha4doy:"fmrv4ls",a9b677:"fly5x3f",B73mfa3:"f14m3nip"}},{d:[".f1w4nmp0{display:table;}",".fmrv4ls{vertical-align:middle;}",".fly5x3f{width:100%;}",".f14m3nip{table-layout:fixed;}"]}),BS=/*@__PURE__*/k({root:{mc9l5x:"ftgm304"}},{d:[".ftgm304{display:block;}"]}),TS=/*@__PURE__*/k({root:{po53p8:"fgkb47j",De3pzq:"fhovq9v"}},{d:[".fgkb47j{border-collapse:collapse;}",".fhovq9v{background-color:var(--colorSubtleBackground);}"]}),B9=(a)=>{let l=TS(),c={table:GS(),flex:BS()};return a.root.className=D(tr,l.root,a.noNativeElements?c.flex.root:c.table.root,a.root.className),a};F();function cA(a){let{size:l,noNativeElements:c,sortable:o}=a;return{table:p1(()=>({noNativeElements:c,size:l,sortable:o}),[c,l,o])}}var b4=/*@__PURE__*/I((a,l)=>{let c=U9(a,l);return B9(c),z("useTableStyles_unstable")(c),G9(c,cA(c))});b4.displayName="Table";F();F();var T9=(a,l)=>{let{noNativeElements:c}=J5();var o;let e=((o=a.as)!==null&&o!==void 0?o:c)?"div":"thead";return{components:{root:e},root:w.always(a1(e,{ref:l,role:e==="div"?"rowgroup":void 0,...a}),{elementType:e}),noNativeElements:c}};var b9=(a)=>{return P(a),/*@__PURE__*/L(mi,{value:"",children:/*@__PURE__*/L(a.root,{})})};var hr="fui-TableHeader";var bS=/*@__PURE__*/k({root:{mc9l5x:"ftgm304"}},{d:[".ftgm304{display:block;}"]}),OS=/*@__PURE__*/k({root:{mc9l5x:"f1tp1avn"}},{d:[".f1tp1avn{display:table-row-group;}"]}),O9=(a)=>{let l={table:OS(),flex:bS()};return a.root.className=D(hr,a.noNativeElements?l.flex.root:l.table.root,a.root.className),a};var O4=/*@__PURE__*/I((a,l)=>{let c=T9(a,l);return O9(c),z("useTableHeaderStyles_unstable")(c),b9(c)});O4.displayName="TableHeader";F();F();var ES={ascending:/*@__PURE__*/e1(zM,{fontSize:12}),descending:/*@__PURE__*/e1(PM,{fontSize:12})},E9=(a,l)=>{let{noNativeElements:c,sortable:o}=J5(),{sortable:e=o}=a;var r;let t=((r=a.as)!==null&&r!==void 0?r:c)?"div":"th",h=w.always(a.button,{elementType:"div",defaultProps:{as:"div",...!e&&{role:"presentation",tabIndex:void 0}}});var Z;return{components:{root:t,button:"div",sortIcon:"span",aside:"span"},root:w.always(a1(t,{ref:R1(l,H2()),role:t==="div"?"columnheader":void 0,"aria-sort":e?(Z=a.sortDirection)!==null&&Z!==void 0?Z:"none":void 0,...a}),{elementType:t}),aside:w.optional(a.aside,{elementType:"span"}),sortIcon:w.optional(a.sortIcon,{renderByDefault:!!a.sortDirection,defaultProps:{children:a.sortDirection?ES[a.sortDirection]:void 0},elementType:"span"}),button:F2(h.as,h),sortable:e,noNativeElements:c}};var W9=(a)=>{return P(a),/*@__PURE__*/A1(a.root,{children:[/*@__PURE__*/A1(a.button,{children:[a.root.children,a.sortIcon&&/*@__PURE__*/L(a.sortIcon,{})]}),a.aside&&/*@__PURE__*/L(a.aside,{})]})};var E4={root:"fui-TableHeaderCell",button:"fui-TableHeaderCell__button",sortIcon:"fui-TableHeaderCell__sortIcon",aside:"fui-TableHeaderCell__aside"},WS=/*@__PURE__*/k({root:{mc9l5x:"f15pt5es",ha4doy:"fmrv4ls"}},{d:[".f15pt5es{display:table-cell;}",".fmrv4ls{vertical-align:middle;}"]}),IS=/*@__PURE__*/k({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;}"]}),qS=/*@__PURE__*/k({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);}"]}),I9=(a)=>{let l=qS(),c={table:WS(),flex:IS()};if(a.root.className=D(E4.root,l.root,a.sortable&&l.rootInteractive,a.noNativeElements?c.flex.root:c.table.root,a.root.className),a.button.className=D(E4.button,l.resetButton,l.button,a.sortable&&l.sortable,a.button.className),a.sortIcon)a.sortIcon.className=D(E4.sortIcon,l.sortIcon,a.sortIcon.className);if(a.aside)a.aside.className=D(E4.aside,l.resizeHandle,a.aside.className);return a};var W4=/*@__PURE__*/I((a,l)=>{let c=E9(a,l);return I9(c),z("useTableHeaderCellStyles_unstable")(c),W9(c)});W4.displayName="TableHeaderCell";F();F();var PS={medium:32,small:24,"extra-small":20},q9=(a,l)=>{let{size:c}=J5();return{components:{root:"div",main:"span",description:"span",content:"div",media:"span"},root:w.always(a1("div",{ref:l,...a},["content"]),{elementType:"div"}),appearance:a.appearance,truncate:a.truncate,main:w.optional(a.main,{renderByDefault:!0,elementType:"span"}),media:w.optional(a.media,{elementType:"span"}),description:w.optional(a.description,{elementType:"span"}),content:w.optional(a.content,{renderByDefault:!!a.description||!!a.children,elementType:"div"}),avatarSize:PS[c],size:c}};var P9=(a,l)=>{return P(a),/*@__PURE__*/A1(a.root,{children:[a.media&&/*@__PURE__*/L(Le,{value:l.avatar,children:/*@__PURE__*/L(a.media,{})}),a.content&&/*@__PURE__*/A1(a.content,{children:[a.main&&/*@__PURE__*/L(a.main,{children:a.root.children}),a.description&&/*@__PURE__*/L(a.description,{})]})]})};var E3={root:"fui-TableCellLayout",media:"fui-TableCellLayout__media",main:"fui-TableCellLayout__main",description:"fui-TableCellLayout__description",content:"fui-TableCellLayout__content"},zS=/*@__PURE__*/k({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);}"]}),z9=(a)=>{let l=zS(),{truncate:c}=a;a.root.className=D(E3.root,l.root,c&&l.rootTruncate,a.root.className);let o=a.appearance==="primary";if(a.media){let e={small:l.mediaSmallAndMedium,medium:l.mediaSmallAndMedium,"extra-small":l.mediaExtraSmall};a.media.className=D(E3.media,l.media,e[a.size],o&&l.mediaPrimary,a.media.className)}if(a.main)a.main.className=D(E3.main,c&&l.mainTruncate,o&&l.mainPrimary,a.main.className);if(a.description)a.description.className=D(E3.description,l.description,a.description.className);if(a.content)a.content.className=D(E3.content,l.content,c&&l.contentTruncate,a.content.className);return a};F();function tA(a){let{avatarSize:l}=a;return{avatar:p1(()=>({size:l}),[l])}}var H7=/*@__PURE__*/I((a,l)=>{let c=q9(a,l);return z9(c),z("useTableCellLayoutStyles_unstable")(c),P9(c,tA(c))});H7.displayName="TableCellLayout";F();var w0={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"},A5={bottom:"bottom",bottomEnd:"bottom-end",bottomStart:"bottom-start",top:"top",topEnd:"top-end",topStart:"top-start"};var QS=0;function si(a,l={},c){var o;let e={...l,content:a,toastId:(o=l.toastId)!==null&&o!==void 0?o:(QS++).toString()},r=new CustomEvent(w0.show,{bubbles:!1,cancelable:!1,detail:e});c.dispatchEvent(r)}function Mi(a,l=void 0,c){let o=new CustomEvent(w0.dismiss,{bubbles:!1,cancelable:!1,detail:{toastId:a,toasterId:l}});c.dispatchEvent(o)}function _i(a=void 0,l){let c=new CustomEvent(w0.dismissAll,{bubbles:!1,cancelable:!1,detail:{toasterId:a}});l.dispatchEvent(c)}function ui(a,l){let c=new CustomEvent(w0.update,{bubbles:!1,cancelable:!1,detail:a});l.dispatchEvent(c)}function Ai(a,l=void 0,c){let o=new CustomEvent(w0.pause,{bubbles:!1,cancelable:!1,detail:{toastId:a,toasterId:l}});c.dispatchEvent(o)}function Hi(a,l=void 0,c){let o=new CustomEvent(w0.play,{bubbles:!1,cancelable:!1,detail:{toastId:a,toasterId:l}});c.dispatchEvent(o)}F();function hA(a,l){for(let[c,o]of Object.entries(l))if(o!=null)a[c]=o}var JS={onStatusChange:void 0,priority:0,pauseOnHover:!1,pauseOnWindowBlur:!1,position:"bottom-end",timeout:3000},KS=0;function Vi(a){let{limit:l=Number.POSITIVE_INFINITY}=a,c=/*@__PURE__*/new Set,o=/*@__PURE__*/new Map,e=y6((n,v)=>{let d=o.get(n),m=o.get(v);if(!d||!m)return 0;if(d.priority===m.priority)return d.order-m.order;return d.priority-m.priority});return{buildToast:(n,v)=>{var d;let{toastId:m,content:s,toasterId:p}=n;if(o.has(m))return;let A={...JS,close:()=>{var V;let H=o.get(m);if(!H)return;c.delete(m),v(),(V=H.onStatusChange)===null||V===void 0||V.call(H,null,{status:"dismissed",...H})},remove:()=>{if(!o.get(m))return;if(o.delete(m),c.size<l&&e.peek()){let H=o.get(e.dequeue());if(!H)return;c.add(H.toastId)}v()},toastId:m,content:s,updateId:0,toasterId:p,order:KS++,data:{},imperativeRef:_5()};if(hA(A,a),hA(A,n),o.set(m,A),(d=A.onStatusChange)===null||d===void 0||d.call(A,null,{status:"queued",...A}),c.size>=l)e.enqueue(m);else c.add(m)},dismissAllToasts:()=>{c.clear(),e.clear()},dismissToast:(n)=>{c.delete(n)},isToastVisible:(n)=>{return c.has(n)},updateToast:(n)=>{let{toastId:v}=n,d=o.get(v);if(!d)return;Object.assign(d,n),d.updateId++},visibleToasts:c,toasts:o}}var a3=(a,l,c)=>{let o={};var e;let r=c?$S(c)?c:(e=c[a])!==null&&e!==void 0?e:{}:{},t=a==="top"||a==="bottom",{horizontal:h=t?0:20,vertical:Z=16}=r,i=l==="ltr"?"left":"right",n=l==="ltr"?"right":"left";switch(a){case"top":Object.assign(o,{top:Z,left:`calc(50% + ${h}px)`,transform:"translateX(-50%)"});break;case"bottom":Object.assign(o,{bottom:Z,left:`calc(50% + ${h}px)`,transform:"translateX(-50%)"});break;case"top-start":Object.assign(o,{top:Z,[i]:h});break;case"top-end":Object.assign(o,{top:Z,[n]:h});break;case"bottom-start":Object.assign(o,{bottom:Z,[i]:h});break;case"bottom-end":Object.assign(o,{bottom:Z,[n]:h});break}return o};function $S(a){return"horizontal"in a||"vertical"in a}function gi(a={}){let l=w6(),{toasterId:c,shortcuts:o}=a,[e]=h1(()=>Vi(a)),{targetDocument:r}=M1(),t=G(null),h=$((p)=>{return p===c}),Z=$((p)=>{if(o===null||o===void 0?void 0:o.focus)return o.focus(p)}),i=q(()=>{e.visibleToasts.forEach((p)=>{var M;let u=e.toasts.get(p);u===null||u===void 0||(M=u.imperativeRef.current)===null||M===void 0||M.pause()})},[e]),n=q(()=>{e.visibleToasts.forEach((p)=>{var M;let u=e.toasts.get(p);u===null||u===void 0||(M=u.imperativeRef.current)===null||M===void 0||M.play()})},[e]),v=q(()=>{return Array.from(e.visibleToasts).reduce((p,M)=>{let u=e.toasts.get(M);if(!u)return p;if(!p)return u;if(p.order<(u===null||u===void 0?void 0:u.order))return u;return p},void 0)},[e]),d=q(()=>{let p=v();if(p===null||p===void 0?void 0:p.imperativeRef.current)p.imperativeRef.current.focus();else{var M;(M=t.current)===null||M===void 0||M.focus(),t.current=null}},[v]),m=q(()=>{e.visibleToasts.forEach((p)=>{let M=e.toasts.get(p);M===null||M===void 0||M.close()}),d()},[e,d]);j(()=>{if(!r)return;let p=(x,R)=>{let U=(K)=>{if(!h(K.detail.toasterId))return;R(K),l()};return r.addEventListener(x,U),()=>r.removeEventListener(x,U)},M=(x)=>{e.buildToast(x.detail,l)},u=(x)=>{e.dismissToast(x.detail.toastId)},A=(x)=>{e.updateToast(x.detail)},V=(x)=>{e.dismissAllToasts()},H=(x)=>{let R=e.toasts.get(x.detail.toastId);if(R){var U;(U=R.imperativeRef.current)===null||U===void 0||U.pause()}},g=(x)=>{let R=e.toasts.get(x.detail.toastId);if(R){var U;(U=R.imperativeRef.current)===null||U===void 0||U.play()}},S=p(w0.show,M),C=p(w0.update,A),E=p(w0.dismiss,u),T=p(w0.dismissAll,V),c1=p(w0.pause,H),l1=p(w0.play,g),Q=(x)=>{if(Z(x)){i();let U=v();if(U){var R;t.current=T1(r.activeElement)?r.activeElement:null,(R=U.imperativeRef.current)===null||R===void 0||R.focus()}}};return r.addEventListener("keydown",Q),()=>{S(),T(),C(),E(),c1(),l1(),r.removeEventListener("keydown",Q)}},[e,l,r,h,i,v,Z]);let s=(()=>{if(!e)return/*@__PURE__*/new Map;let p=/*@__PURE__*/new Map;return Array.from(e.toasts.values()).forEach((u)=>{let{position:A}=u;if(p.has(A)||p.set(A,[]),A.startsWith("bottom"))p.get(A).push(u);else p.get(A).unshift(u)}),p})();return{isToastVisible:e.isToastVisible,toastsToRender:s,pauseAllToasts:i,playAllToasts:n,tryRestoreFocus:d,closeAllToasts:m}}F();var ia=()=>{return};function I4(a){let{targetDocument:l}=M1();return p1(()=>{if(!l)return{dispatchToast:ia,dismissToast:ia,dismissAllToasts:ia,updateToast:ia,pauseToast:ia,playToast:ia};return{dispatchToast:(c,o)=>{si(c,{...o,toasterId:a,data:{root:o===null||o===void 0?void 0:o.root}},l)},dismissToast:(c)=>{Mi(c,a,l)},dismissAllToasts:()=>{_i(a,l)},updateToast:(c)=>{ui({...c,data:{root:c.root},toasterId:a},l)},pauseToast:(c)=>{Ai(c,a,l)},playToast:(c)=>{Hi(c,a,l)}}},[l,a])}F();var YS={close:()=>null,intent:void 0,bodyId:"",titleId:""},ZA=/*@__PURE__*/v1(void 0),iA=ZA.Provider,Zr=()=>{var a;return(a=t1(ZA))!==null&&a!==void 0?a:YS};F();F();F();F();F();var vA=/*@__PURE__*/N("r16zaflb","r75casi",[".r16zaflb{animation-name:rsacmq1;}","@keyframes rsacmq1{from{opacity:0;}to{opacity:0;}}",".r75casi{animation-name:rsacmq1;}"]);var ir=/*@__PURE__*/I((a,l)=>{let c=vA(),{running:o,timeout:e,onTimeout:r}=a,t={animationDuration:`${e}ms`,animationPlayState:o?"running":"paused"};if(e<0)return null;return/*@__PURE__*/e1("span",{onAnimationEnd:r,"data-timer-status":t.animationPlayState,ref:l,style:t,className:c})});ir.displayName="Timer";var XS={success:"assertive",warning:"assertive",error:"assertive",info:"polite"},nA=(a,l)=>{let{visible:c,children:o,close:e,remove:r,updateId:t,announce:h,data:Z,timeout:i,politeness:n,intent:v="info",pauseOnHover:d,pauseOnWindowBlur:m,imperativeRef:s,tryRestoreFocus:p,content:M,...u}=a,A=N1("toast-title"),V=N1("toast-body"),H=G(null),{targetDocument:g}=M1(),[S,C]=h1(!1),E=G(!1),T=G(!1),c1=d4({tabBehavior:"limited-trap-focus",ignoreDefaultKeydown:{Tab:!0,Escape:!0,Enter:!0}}),l1=$(()=>{var B;let b=g===null||g===void 0?void 0:g.activeElement;if(b&&((B=H.current)===null||B===void 0?void 0:B.contains(b)))T.current=!0;e()}),Q=$((B)=>{var b;return(b=a.onStatusChange)===null||b===void 0?void 0:b.call(a,null,{status:B,...a})}),x=$(()=>C(!1)),R=$(()=>{var B;if(E.current)return;var b;let x1=!!((B=H.current)===null||B===void 0?void 0:B.contains((b=g===null||g===void 0?void 0:g.activeElement)!==null&&b!==void 0?b:null));if(i<0){C(!0);return}if(!x1)C(!0)});Z5(s,()=>({focus:()=>{if(!H.current)return;H.current.focus()},play:()=>{E.current=!1,R()},pause:()=>{E.current=!0,x()}})),j(()=>{return()=>Q("unmounted")},[Q]),j(()=>{if(!g)return;if(m){var B,b;return(B=g.defaultView)===null||B===void 0||B.addEventListener("focus",R),(b=g.defaultView)===null||b===void 0||b.addEventListener("blur",x),()=>{var x1,y1;(x1=g.defaultView)===null||x1===void 0||x1.removeEventListener("focus",R),(y1=g.defaultView)===null||y1===void 0||y1.removeEventListener("blur",x)}}},[g,x,R,m]);let U=Z.root,K=q((B,{direction:b})=>{if(b==="exit")r();if(b==="enter")R(),Q("visible")},[Q,R,r]),X=$((B)=>{var b;x(),U===null||U===void 0||(b=U.onMouseEnter)===null||b===void 0||b.call(U,B)}),i1=$((B)=>{var b;R(),U===null||U===void 0||(b=U.onMouseEnter)===null||b===void 0||b.call(U,B)}),{findFirstFocusable:J,findLastFocusable:s1}=q7(),H1=$((B)=>{var b;if(B.key===VZ)B.preventDefault(),l1();if(B.key===b8&&B.currentTarget===B.target)if(B.preventDefault(),B.shiftKey){var x1;(x1=s1(B.currentTarget))===null||x1===void 0||x1.focus()}else{var y1;(y1=J(B.currentTarget))===null||y1===void 0||y1.focus()}U===null||U===void 0||(b=U.onKeyDown)===null||b===void 0||b.call(U,B)});return j(()=>{var B;if(!c)return;let b=n!==null&&n!==void 0?n:XS[v];var x1;h((x1=(B=H.current)===null||B===void 0?void 0:B.textContent)!==null&&x1!==void 0?x1:"",{politeness:b})},[h,n,H,c,t,v]),j(()=>{return()=>{if(T.current)T.current=!1,p()}},[p]),{components:{timer:ir,root:"div"},timer:w.always({onTimeout:l1,running:S,timeout:i!==null&&i!==void 0?i:-1},{elementType:ir}),root:w.always(a1("div",{ref:R1(l,H),children:o,tabIndex:0,role:"listitem","aria-labelledby":A,"aria-describedby":V,...u,...U,...c1,onMouseEnter:X,onMouseLeave:i1,onKeyDown:H1}),{elementType:"div"}),timerTimeout:i,transitionTimeout:0,running:S,visible:c,remove:r,close:l1,onTransitionEntering:()=>{},updateId:t,nodeRef:H,intent:v,titleId:A,bodyId:V,onMotionFinish:K}};var dA=(a,l)=>{let{onMotionFinish:c,visible:o,updateId:e}=a;return P(a),/*@__PURE__*/L(iA,{value:l.toast,children:/*@__PURE__*/L(Fe,{appear:!0,onMotionFinish:c,visible:o,unmountOnExit:!0,children:/*@__PURE__*/A1(a.root,{children:[a.root.children,/*@__PURE__*/L(a.timer,{},e)]})})})};var vr={root:"fui-ToastContainer",timer:"fui-ToastContainer__timer"},NS=/*@__PURE__*/N("r98b696",null,[".r98b696{box-sizing:border-box;margin-top:16px;pointer-events:all;border-radius:var(--borderRadiusMedium);}",".r98b696[data-fui-focus-visible]{outline:var(--strokeWidthThick) solid var(--colorStrokeFocus2);}"]),fi=(a)=>{let l=NS();return a.root.className=D(vr.root,l,a.root.className),a};F();function mA(a){let{close:l,intent:c,titleId:o,bodyId:e}=a;return{toast:p1(()=>({close:l,intent:c,titleId:o,bodyId:e}),[l,c,o,e])}}var nr=/*@__PURE__*/I((a,l)=>{let c=nA(a,l);return fi(c),z("useToastContainerStyles_unstable")(c),dA(c,mA(c))});nr.displayName="ToastContainer";F();var pA=()=>{return};function sA(a,l){let{targetDocument:c}=M1(),o=G(pA);return q((e)=>{if(!e||!c){o.current(),o.current=pA;return}let r=c.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode(i){if(T1(i)&&i.classList.contains(vr.root))return NodeFilter.FILTER_ACCEPT;return NodeFilter.FILTER_SKIP}}),t=(i)=>{let{target:n,key:v}=i;if(!T1(n))return;if(v===P6){r.currentNode=n;let d=r.nextNode();if(!d)r.currentNode=e,d=r.nextNode();if(T1(d))d.focus()}if(v===u4){r.currentNode=n;let d=r.previousNode();if(d&&d.contains(n))d=r.previousNode();if(!d)r.currentNode=e,d=r.lastChild();if(T1(d))d.focus()}},h=(i)=>{if(T1(i.currentTarget)&&!i.currentTarget.contains(T1(i.relatedTarget)?i.relatedTarget:null))a()},Z=(i)=>{if(T1(i.currentTarget)&&!i.currentTarget.contains(T1(i.relatedTarget)?i.relatedTarget:null))l()};e.addEventListener("keydown",t),e.addEventListener("focusin",h),e.addEventListener("focusout",Z),o.current=()=>{e.removeEventListener("keydown",t),e.removeEventListener("focusin",h),e.removeEventListener("focusout",Z)}},[c,a,l])}F();function MA(a){let l=G(!0),c=G(()=>{return}),o=q((r,t)=>{if(l.current)a(r,t)},[a]),e=q((r)=>{if(!r){c.current();return}let t=(Z)=>{if(T1(Z.currentTarget)&&Z.currentTarget.contains(T1(Z.relatedTarget)?Z.relatedTarget:null))return;l.current=!1},h=(Z)=>{if(T1(Z.currentTarget)&&Z.currentTarget.contains(T1(Z.relatedTarget)?Z.relatedTarget:null))return;l.current=!0};r.addEventListener("focusin",t),r.addEventListener("focusout",h),c.current=()=>{r.removeEventListener("focusin",t),r.removeEventListener("focusout",h)}},[]);return{announceToast:o,toasterRef:e}}var Q9=(a)=>{let{offset:l,announce:c,mountNode:o,inline:e=!1,...r}=a,t=G(()=>null),{toastsToRender:h,isToastVisible:Z,pauseAllToasts:i,playAllToasts:n,tryRestoreFocus:v,closeAllToasts:d}=gi(r),m=q((H,g)=>t.current(H,g),[]),{dir:s}=M1(),{onKeyDown:p,...M}=w.always(a1("div",r),{elementType:"div"}),u=d4({tabBehavior:"limited-trap-focus",ignoreDefaultKeydown:{Escape:!0}}),A=$((H)=>{if(H.key===J7)H.preventDefault(),d();p===null||p===void 0||p(H)}),V=(H)=>{var g;let S=sA(i,n),{announceToast:C,toasterRef:E}=MA(c!==null&&c!==void 0?c:m);return w.optional(h.has(H)?M:null,{defaultProps:{ref:R1(S,E),children:(g=h.get(H))===null||g===void 0?void 0:g.map((T)=>/*@__PURE__*/e1(nr,{...T,tryRestoreFocus:v,intent:T.intent,announce:C,key:T.toastId,visible:Z(T.toastId)},T.content)),onKeyDown:A,...u,"data-toaster-position":H,role:"list"},elementType:"div"})};return{dir:s,mountNode:o,components:{root:"div",bottomStart:"div",bottomEnd:"div",topStart:"div",topEnd:"div",top:"div",bottom:"div"},root:w.always(M,{elementType:"div"}),bottomStart:V(A5.bottomStart),bottomEnd:V(A5.bottomEnd),topStart:V(A5.topStart),topEnd:V(A5.topEnd),top:V(A5.top),bottom:V(A5.bottom),announceRef:t,offset:l,announce:c!==null&&c!==void 0?c:m,renderAriaLive:!c,inline:e}};F();F();var jS=500,_A=(a)=>{let[l,c]=h1(void 0),o=G(0),[e]=h1(()=>y6((n,v)=>{if(n.politeness===v.politeness)return n.createdAt-v.createdAt;return n.politeness==="assertive"?-1:1})),r=$((n,v)=>{let{politeness:d}=v;if(n===(l===null||l===void 0?void 0:l.message))return;let m={message:n,politeness:d,createdAt:o.current++};if(!l)c(m);else e.enqueue(m)}),[t,h]=a2();j(()=>{return t(()=>{if(e.peek())c(e.dequeue());else c(void 0)},jS),()=>h()},[l,e,t,h]),Z5(a.announceRef,()=>r);let Z=(l===null||l===void 0?void 0:l.politeness)==="polite"?l.message:void 0,i=(l===null||l===void 0?void 0:l.politeness)==="assertive"?l.message:void 0;return{components:{assertive:"div",polite:"div"},assertive:w.always(a.assertive,{defaultProps:{"aria-live":"assertive",children:i},elementType:"div"}),polite:w.always(a.polite,{defaultProps:{"aria-live":"polite",children:Z},elementType:"div"})}};var uA=(a)=>{return P(a),/*@__PURE__*/A1(m1,{children:[/*@__PURE__*/L(a.assertive,{}),/*@__PURE__*/L(a.polite,{})]})};var AA={assertive:"fui-AriaLive__assertive",polite:"fui-AriaLive__polite"},aD=/*@__PURE__*/N("rrd10u0",null,[".rrd10u0{clip:rect(0px, 0px, 0px, 0px);height:1px;margin:-1px;overflow:hidden;padding:0px;width:1px;position:absolute;}"]),HA=(a)=>{let l=aD();return a.assertive.className=D(l,AA.assertive,a.assertive.className),a.polite.className=D(l,AA.polite,a.polite.className),a};var dr=(a)=>{let l=_A(a);return HA(l),uA(l)};dr.displayName="AriaLive";var J9=(a)=>{let{announceRef:l,renderAriaLive:c,inline:o,mountNode:e}=a;P(a);let r=!!a.bottomStart||!!a.bottomEnd||!!a.topStart||!!a.topEnd||!!a.top||!!a.bottom,t=c?/*@__PURE__*/L(dr,{announceRef:l}):null,h=/*@__PURE__*/A1(m1,{children:[a.bottom?/*@__PURE__*/L(a.bottom,{}):null,a.bottomStart?/*@__PURE__*/L(a.bottomStart,{}):null,a.bottomEnd?/*@__PURE__*/L(a.bottomEnd,{}):null,a.topStart?/*@__PURE__*/L(a.topStart,{}):null,a.topEnd?/*@__PURE__*/L(a.topEnd,{}):null,a.top?/*@__PURE__*/L(a.top,{}):null]});if(o)return/*@__PURE__*/A1(m1,{children:[t,r?h:null]});return/*@__PURE__*/A1(m1,{children:[t,r?/*@__PURE__*/L(L2,{mountNode:e,children:h}):null]})};var mr={root:"fui-Toaster"},lD=/*@__PURE__*/N("r3hfdjz",null,[".r3hfdjz{position:fixed;width:292px;pointer-events:none;}"]),cD=/*@__PURE__*/k({inline:{qhf8xq:"f1euv43f"}},{d:[".f1euv43f{position:absolute;}"]}),K9=(a)=>{let l=lD(),c=cD(),o=D(mr.root,l,a.inline&&c.inline,a.root.className);if(a.bottomStart){var e;a.bottomStart.className=o;var r;(r=(e=a.bottomStart).style)!==null&&r!==void 0||(e.style={}),Object.assign(a.bottomStart.style,a3(A5.bottomStart,a.dir,a.offset))}if(a.bottomEnd){var t;a.bottomEnd.className=o;var h;(h=(t=a.bottomEnd).style)!==null&&h!==void 0||(t.style={}),Object.assign(a.bottomEnd.style,a3(A5.bottomEnd,a.dir,a.offset))}if(a.topStart){var Z;a.topStart.className=o;var i;(i=(Z=a.topStart).style)!==null&&i!==void 0||(Z.style={}),Object.assign(a.topStart.style,a3(A5.topStart,a.dir,a.offset))}if(a.topEnd){var n;a.topEnd.className=o;var v;(v=(n=a.topEnd).style)!==null&&v!==void 0||(n.style={}),Object.assign(a.topEnd.style,a3(A5.topEnd,a.dir,a.offset))}if(a.top){var d;a.top.className=o;var m;(m=(d=a.top).style)!==null&&m!==void 0||(d.style={}),Object.assign(a.top.style,a3(A5.top,a.dir,a.offset))}if(a.bottom){var s;a.bottom.className=o;var p;(p=(s=a.bottom).style)!==null&&p!==void 0||(s.style={}),Object.assign(a.bottom.style,a3(A5.bottom,a.dir,a.offset))}return a};var q4=(a)=>{let l=Q9(a);return K9(l),z("useToasterStyles_unstable")(l),J9(l)};q4.displayName="Toaster";F();F();var $9=(a,l)=>{let{intent:c}=Zr();return{components:{root:"div"},root:w.always(a1("div",{ref:l,...a}),{elementType:"div"}),backgroundAppearance:a.appearance,intent:c}};var Y9=(a,l)=>{return P(a),/*@__PURE__*/L(Io,{value:l.backgroundAppearance,children:/*@__PURE__*/L(a.root,{})})};var Fi={root:"fui-Toast"},oD=/*@__PURE__*/N("rhf7k35",null,[".rhf7k35{display:grid;grid-template-columns:auto 1fr auto;padding:12px;border-radius:var(--borderRadiusMedium);border:1px solid var(--colorTransparentStroke);box-shadow:var(--shadow8);font-size:var(--fontSizeBase300);line-height:20px;font-weight:var(--fontWeightSemibold);color:var(--colorNeutralForeground1);background-color:var(--colorNeutralBackground1);}"]),eD=/*@__PURE__*/k({inverted:{sj55zd:"f1w7i9ko",De3pzq:"f5pduvr"}},{d:[".f1w7i9ko{color:var(--colorNeutralForegroundInverted2);}",".f5pduvr{background-color:var(--colorNeutralBackgroundInverted);}"]}),X9=(a)=>{let l=oD(),c=eD();return a.root.className=D(Fi.root,l,a.backgroundAppearance==="inverted"&&c.inverted,a.root.className),a};function VA(a){let{backgroundAppearance:l}=a;return{backgroundAppearance:l}}var B2=/*@__PURE__*/I((a,l)=>{let c=$9(a,l);return X9(c),z("useToastStyles_unstable")(c),Y9(c,VA(c))});B2.displayName="Toast";F();F();var N9=(a,l)=>{let{intent:c,titleId:o}=Zr(),e=S6(),r;switch(c){case"success":r=/*@__PURE__*/e1(ne,null);break;case"error":r=/*@__PURE__*/e1(me,null);break;case"warning":r=/*@__PURE__*/e1(se,null);break;case"info":r=/*@__PURE__*/e1(pe,null);break}return{action:w.optional(a.action,{elementType:"div"}),components:{root:"div",media:"div",action:"div"},media:w.optional(a.media,{renderByDefault:!!c,defaultProps:{children:r},elementType:"div"}),root:w.always(a1("div",{ref:l,children:a.children,id:o,...a}),{elementType:"div"}),intent:c,backgroundAppearance:e}};var j9=(a)=>{return P(a),/*@__PURE__*/A1(m1,{children:[a.media?/*@__PURE__*/L(a.media,{}):null,/*@__PURE__*/L(a.root,{}),a.action?/*@__PURE__*/L(a.action,{}):null]})};var va={root:"fui-ToastTitle",media:"fui-ToastTitle__media",action:"fui-ToastTitle__action"},rD=/*@__PURE__*/N("rdjap1e",null,[".rdjap1e{display:flex;grid-column-end:3;color:var(--colorNeutralForeground1);word-break:break-word;}"]),tD=/*@__PURE__*/N("r8x5mrd","r1soj19y",[".r8x5mrd{display:flex;padding-top:2px;grid-column-end:2;padding-right:8px;font-size:16px;color:var(--colorNeutralForeground1);}",".r1soj19y{display:flex;padding-top:2px;grid-column-end:2;padding-left:8px;font-size:16px;color:var(--colorNeutralForeground1);}"]),hD=/*@__PURE__*/N("r2j19ip","rjfozdo",[".r2j19ip{display:flex;align-items:start;padding-left:12px;grid-column-end:-1;color:var(--colorBrandForeground1);}",".rjfozdo{display:flex;align-items:start;padding-right:12px;grid-column-end:-1;color:var(--colorBrandForeground1);}"]),ZD=/*@__PURE__*/k({root:{sj55zd:"f1w7i9ko"},action:{sj55zd:"f1qz2gb0"},media:{sj55zd:"fqpbvvt"}},{d:[".f1w7i9ko{color:var(--colorNeutralForegroundInverted2);}",".f1qz2gb0{color:var(--colorBrandForegroundInverted);}",".fqpbvvt{color:var(--colorNeutralForegroundInverted);}"]}),iD=/*@__PURE__*/k({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);}"]}),vD=/*@__PURE__*/k({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);}"]}),ac=(a)=>{let l=rD(),c=hD(),o=tD(),e=iD(),r=vD(),{intent:t}=a,h=ZD();if(a.root.className=D(va.root,l,a.backgroundAppearance==="inverted"&&h.root,a.root.className),a.media)a.media.className=D(va.media,o,a.backgroundAppearance==="inverted"&&h.media,t&&e[t],t&&a.backgroundAppearance==="inverted"&&r[t],a.media.className);if(a.action)a.action.className=D(va.action,c,a.backgroundAppearance==="inverted"&&h.action,a.action.className);return a};var T2=/*@__PURE__*/I((a,l)=>{let c=N9(a,l);return ac(c),z("useToastTitleStyles_unstable")(c),j9(c)});T2.displayName="ToastTitle";F();F();F();function gA(a){switch(a){case"info":return/*@__PURE__*/e1(pe,null);case"warning":return/*@__PURE__*/e1(se,null);case"error":return/*@__PURE__*/e1(me,null);case"success":return/*@__PURE__*/e1(ne,null);default:return null}}F();function fA(a=!1){let{targetDocument:l}=M1(),c=M2(()=>({}),{})[1],o=G(!1),e=G(null),r=G(-1),t=q((Z)=>{var i,n;if(Z.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 v=Z[0];var d;let m=(d=v===null||v===void 0?void 0:(n=v.borderBoxSize)===null||n===void 0?void 0:(i=n[0])===null||i===void 0?void 0:i.inlineSize)!==null&&d!==void 0?d:v===null||v===void 0?void 0:v.target.getBoundingClientRect().width;if(m===void 0||!v)return;let{target:s}=v;if(!T1(s))return;let p;if(o.current){if(r.current<m)p=!1}else{let M=s.scrollWidth;if(m<M)p=!0}if(r.current=m,typeof p!=="undefined"&&o.current!==p)o.current=p,c()},[c]),h=q((Z)=>{var i;if(!a||!Z||!(l===null||l===void 0?void 0:l.defaultView))return;(i=e.current)===null||i===void 0||i.disconnect();let v=new l.defaultView.ResizeObserver(t);e.current=v,v.observe(Z,{box:"border-box"})},[l,t,a]);return j(()=>{return()=>{var Z;(Z=e.current)===null||Z===void 0||Z.disconnect()}},[]),{ref:h,reflowing:o.current}}F();var FA=v1(void 0),nD={className:"",nodeRef:_5()},Ui1=FA.Provider,xA=()=>{var a;return(a=t1(FA))!==null&&a!==void 0?a:nD};var lc=(a,l)=>{let{layout:c="auto",intent:o="info",politeness:e,shape:r="rounded"}=a,t=(e!==null&&e!==void 0?e:o==="info")?"polite":"assertive",h=c==="auto",{ref:Z,reflowing:i}=fA(h),n=h?i?"multiline":"singleline":c,{className:v,nodeRef:d}=xA(),m=G(null),s=G(null),{announce:p}=u8(),M=N1();return j(()=>{var u,A;let V=(u=s.current)===null||u===void 0?void 0:u.textContent,H=(A=m.current)===null||A===void 0?void 0:A.textContent,g=[V,H].filter(Boolean).join(",");p(g,{polite:t==="polite",alert:t==="assertive"})},[s,m,p,t]),{components:{root:"div",icon:"div",bottomReflowSpacer:"div"},root:w.always(a1("div",{ref:R1(l,Z,d),role:"group","aria-labelledby":M,...a}),{elementType:"div"}),icon:w.optional(a.icon,{renderByDefault:!0,elementType:"div",defaultProps:{children:gA(o)}}),bottomReflowSpacer:w.optional(a.bottomReflowSpacer,{renderByDefault:n==="multiline",elementType:"div"}),layout:n,intent:o,transitionClassName:v,actionsRef:m,bodyRef:s,titleId:M,shape:r}};F();var CA=v1(void 0),dD={titleId:"",layout:"singleline",actionsRef:_5(),bodyRef:_5()},xi=CA.Provider,cc=()=>{var a;return(a=t1(CA))!==null&&a!==void 0?a:dD};var oc=(a,l)=>{return P(a),/*@__PURE__*/L(xi,{value:l.messageBar,children:/*@__PURE__*/A1(a.root,{children:[a.icon&&/*@__PURE__*/L(a.icon,{}),a.root.children,a.bottomReflowSpacer&&/*@__PURE__*/L(a.bottomReflowSpacer,{})]})})};var na={root:"fui-MessageBar",icon:"fui-MessageBar__icon",bottomReflowSpacer:"fui-MessageBar__bottomReflowSpacer"},mD=/*@__PURE__*/N("r2oyxsj","r1wuyrhw",['.r2oyxsj{white-space:nowrap;display:grid;grid-template-columns:auto 1fr auto auto;grid-template-rows:1fr;grid-template-areas:"icon body secondaryActions actions";padding-left:var(--spacingHorizontalM);border:var(--strokeWidthThin) solid var(--colorNeutralStroke1);border-radius:var(--borderRadiusMedium);align-items:center;min-height:36px;box-sizing:border-box;background-color:var(--colorNeutralBackground3);}','.r1wuyrhw{white-space:nowrap;display:grid;grid-template-columns:auto 1fr auto auto;grid-template-rows:1fr;grid-template-areas:"icon body secondaryActions actions";padding-right:var(--spacingHorizontalM);border:var(--strokeWidthThin) solid var(--colorNeutralStroke1);border-radius:var(--borderRadiusMedium);align-items:center;min-height:36px;box-sizing:border-box;background-color:var(--colorNeutralBackground3);}']),pD=/*@__PURE__*/N("r1df1z33","rivnfjc",[".r1df1z33{grid-area:icon;font-size:var(--fontSizeBase500);margin-right:var(--spacingHorizontalS);color:var(--colorNeutralForeground3);display:flex;align-items:center;}",".rivnfjc{grid-area:icon;font-size:var(--fontSizeBase500);margin-left:var(--spacingHorizontalS);color:var(--colorNeutralForeground3);display:flex;align-items:center;}"]),sD=/*@__PURE__*/N("r1vx593n",null,[".r1vx593n{margin-bottom:var(--spacingVerticalS);grid-area:secondaryActions;}"]),MD=/*@__PURE__*/k({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}]]}),_D=/*@__PURE__*/k({info:{},error:{sj55zd:"f1ca9wz"},warning:{sj55zd:"f14a4cve"},success:{sj55zd:"f36rra6"}},{d:[".f1ca9wz{color:var(--colorStatusDangerForeground1);}",".f14a4cve{color:var(--colorStatusWarningForeground3);}",".f36rra6{color:var(--colorStatusSuccessForeground1);}"]}),uD=/*@__PURE__*/k({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);}"]}),ec=(a)=>{let l=mD(),c=pD(),o=_D(),e=uD(),r=sD(),t=MD();if(a.root.className=D(na.root,l,a.layout==="multiline"&&t.rootMultiline,a.shape==="square"&&t.square,e[a.intent],a.transitionClassName,a.root.className),a.icon)a.icon.className=D(na.icon,c,o[a.intent],a.icon.className);if(a.bottomReflowSpacer)a.bottomReflowSpacer.className=D(na.bottomReflowSpacer,r);return a};F();function rc(a){let{layout:l,actionsRef:c,bodyRef:o,titleId:e}=a;return{messageBar:p1(()=>({layout:l,actionsRef:c,bodyRef:o,titleId:e}),[l,c,o,e])}}var l3=/*@__PURE__*/I((a,l)=>{let c=lc(a,l);return ec(c),z("useMessageBarStyles_unstable")(c),oc(c,rc(c))});l3.displayName="MessageBar";F();F();var tc=(a,l)=>{let{titleId:c}=cc();return{components:{root:"span"},root:w.always(a1("span",{ref:l,id:c,...a}),{elementType:"span"})}};var hc=(a)=>{return P(a),/*@__PURE__*/L(a.root,{})};var pr={root:"fui-MessageBarTitle"},AD=/*@__PURE__*/N("r168xkm9",null,[".r168xkm9{font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightSemibold);line-height:var(--lineHeightBase300);}",'.r168xkm9::after{content:" ";}']),Zc=(a)=>{let l=AD();return a.root.className=D(pr.root,l,a.root.className),a};var P4=/*@__PURE__*/I((a,l)=>{let c=tc(a,l);return Zc(c),z("useMessageBarTitleStyles_unstable")(c),hc(c)});P4.displayName="MessageBarTitle";F();F();var ic=(a,l)=>{let{bodyRef:c}=cc();return{components:{root:"div"},root:w.always(a1("div",{ref:R1(l,c),...a}),{elementType:"div"})}};var vc=(a,l)=>{return P(a),/*@__PURE__*/L(Qe,{value:l.link,children:/*@__PURE__*/L(a.root,{})})};var sr={root:"fui-MessageBarBody"},HD=/*@__PURE__*/N("rtatq2b","re2rary",[".rtatq2b{font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);grid-area:body;padding-right:var(--spacingHorizontalM);}",".re2rary{font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);grid-area:body;padding-left:var(--spacingHorizontalM);}"]),nc=(a)=>{let l=HD();return a.root.className=D(sr.root,l,a.root.className),a};F();function LA(a){return{link:p1(()=>({inline:!0}),[])}}var c3=/*@__PURE__*/I((a,l)=>{let c=ic(a,l),o=LA(c);return nc(c),z("useMessageBarBodyStyles_unstable")(c),vc(c,o)});c3.displayName="MessageBarBody";F();var RD={scrollState:"none",setScrollState:()=>({})},IA=v1(void 0),z4=IA.Provider,Q4=()=>{var a;return(a=t1(IA))!==null&&a!==void 0?a:RD},J4=()=>{let[a,l]=h1("none");return{setScrollState:l,scrollState:a}};F();F();F();F();var pa={drawerSizeVar:"--fui-Drawer--size"},qA={overflow:"hidden",width:`var(${pa.drawerSizeVar})`,maxWidth:"100vw",height:"auto",maxHeight:"100vh",boxSizing:"border-box",display:"flex",flexDirection:"column",alignItems:"flex-start",justifyContent:"flex-start",backgroundColor:c0.colorNeutralBackground1,color:c0.colorNeutralForeground1},SD=/*@__PURE__*/k({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;}"]}),DD=/*@__PURE__*/k({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%;}"]}),_r=({position:a,size:l})=>{let c=SD(),o=DD();return D(c[a],a==="bottom"&&o[l],a!=="bottom"&&c[l])};var Gi={small:O1.durationGentle,medium:O1.durationSlow,large:O1.durationSlower,full:O1.durationUltraSlow};function PA(a,l,c){let o=`translate3d(var(${l}), 0, 0)`,e=`translate3d(calc(var(${l}) * -1), 0, 0)`,r=`translate3d(0, var(${l}), 0)`;if(a==="start")return c==="ltr"?e:o;if(a==="end")return c==="ltr"?o:e;if(a==="bottom")return r;return"translate3d(0, 0, 0)"}var Bi=S5(({position:a,size:l,dir:c})=>{let o=[{transform:PA(a,pa.drawerSizeVar,c),opacity:0},{transform:"translate3d(0, 0, 0)",opacity:1}],e=Gi[l];return{enter:{keyframes:o,duration:e,easing:O1.curveDecelerateMid},exit:{keyframes:[...o].reverse(),duration:e,easing:O1.curveAccelerateMin}}}),zA=S5(({position:a,size:l,dir:c})=>{let o=[{transform:PA(a,pa.drawerSizeVar,c),boxShadow:`0px ${c0.colorTransparentBackground}`,opacity:0},{transform:"translate3d(0, 0, 0)",boxShadow:c0.shadow64,opacity:1}],e=Gi[l];return{enter:{keyframes:o,duration:e,easing:O1.curveDecelerateMid},exit:{keyframes:[...o].reverse(),duration:e,easing:O1.curveAccelerateMin}}}),QA=S5(({size:a})=>{let l=[{opacity:0},{opacity:1}],c=Gi[a];return{enter:{keyframes:l,easing:O1.curveLinear,duration:c},exit:{keyframes:[...l].reverse(),easing:O1.curveLinear,duration:c}}});function ur(a){let{open:l=!1,size:c="small",position:o="start"}=a;return{size:c,position:o,open:l}}F();var wD=/*@__PURE__*/N("rl76ifk",null,[".rl76ifk{inset:0px;position:fixed;background-color:var(--colorBackgroundOverlay);}"]),kD=/*@__PURE__*/k({nested:{De3pzq:"f1c21dwh"}},{d:[".f1c21dwh{background-color:var(--colorTransparentBackground);}"]}),JA=(a)=>{let l=wD(),c=kD();if(a.backdrop)a.backdrop.className=D(l,a.isNestedDialog&&c.nested,a.backdrop.className);return a};var mc=/*@__PURE__*/I((a,l)=>{let c=B3({...a,as:a.as},l),o=b3(c);return JA(c),z("useOverlayDrawerSurfaceStyles_unstable")(c),T3(c,o)});mc.displayName="OverlayDrawerSurface";F();function Ti(a,l,c){if(a===null)return null;return{...a,children:(o,e)=>{if(a===null||a===void 0?void 0:a.children)return a.children(l,{...e,...c});return/*@__PURE__*/e1(l,{...e,...c},e.children)}}}var yD={active:!0,canRender:!0,ref:/*@__PURE__*/_5(),type:"idle"},bi=(a,l)=>{let{open:c,size:o,position:e}=ur(a),{backdropMotion:r,modalType:t="modal",inertTrapFocus:h,onOpenChange:Z,surfaceMotion:i,mountNode:n}=a,{dir:v,targetDocument:d}=M1(),{element:m}=cl(n),s=Boolean(m&&(d===null||d===void 0?void 0:d.body)!==m),p=w.resolveShorthand(a.backdrop),M=t!=="non-modal"&&p!==null,u=w.always({...a,ref:l,backdrop:M?{...p}:null,backdropMotion:Ti(r,QA,{size:o})},{elementType:mc}),A=w.always({open:c,onOpenChange:Z,inertTrapFocus:h,modalType:t,surfaceMotion:Ti(i,zA,{position:e,size:o,dir:v}),children:null},{elementType:k5});return{components:{root:mc,dialog:k5},root:u,dialog:A,open:c,size:o,position:e,hasMountNodeElement:s,mountNode:n,motion:yD}};var Oi=(a,l)=>{return P(a),/*@__PURE__*/L(z4,{value:l,children:/*@__PURE__*/L(a.dialog,{children:/*@__PURE__*/L(a.root,{})})})};F();var Ei={root:"fui-OverlayDrawer",backdrop:"fui-OverlayDrawer__backdrop"},UD=/*@__PURE__*/N("r7dfyj8","rmx02j7",{r:[".r7dfyj8{overflow:hidden;width:var(--fui-Drawer--size);max-width:100vw;height:auto;max-height:100vh;box-sizing:border-box;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;background-color:var(--colorNeutralBackground1);color:var(--colorNeutralForeground1);position:fixed;top:0;bottom:0;}",".r7dfyj8:focus{outline-style:none;}",".r7dfyj8:focus-visible{outline-style:none;}",".r7dfyj8[data-fui-focus-visible]{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.r7dfyj8[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);right:calc(2px * -1);bottom:calc(2px * -1);left:calc(2px * -1);}',".rmx02j7{overflow:hidden;width:var(--fui-Drawer--size);max-width:100vw;height:auto;max-height:100vh;box-sizing:border-box;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;background-color:var(--colorNeutralBackground1);color:var(--colorNeutralForeground1);position:fixed;top:0;bottom:0;}",".rmx02j7:focus{outline-style:none;}",".rmx02j7:focus-visible{outline-style:none;}",".rmx02j7[data-fui-focus-visible]{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.rmx02j7[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);left:calc(2px * -1);bottom:calc(2px * -1);right:calc(2px * -1);}'],s:["@media (forced-colors: active){.r7dfyj8[data-fui-focus-visible]::after{border-top-color:Highlight;border-right-color:Highlight;border-bottom-color:Highlight;border-left-color:Highlight;}}","@media (forced-colors: active){.rmx02j7[data-fui-focus-visible]::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}"]}),GD=/*@__PURE__*/k({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;}"]}),Wi=(a)=>{let l=_r(a),c=UD(),o=GD(),e=a.hasMountNodeElement&&o.absolute,r=a.root.backdrop;if(a.root.className=D(Ei.root,l,c,o[a.position],e,a.root.className),r)r.className=D(Ei.backdrop,e,r.className);return a};var pc=/*@__PURE__*/I((a,l)=>{let c=bi(a,l),o=J4();return Wi(c),z("useDrawerOverlayStyles_unstable")(c),z("useOverlayDrawerStyles_unstable")(c),Oi(c,o)});pc.displayName="OverlayDrawer";F();F();var BD={active:!0,canRender:!0,ref:_5(),type:"idle"},Ii=(a,l)=>{let{size:c,position:o,open:e}=ur(a),{separator:r=!1,surfaceMotion:t}=a,{dir:h}=M1();return{components:{root:"div",surfaceMotion:Bi},root:w.always(a1("div",{...a,ref:l}),{elementType:"div"}),open:e,position:o,size:c,separator:r,surfaceMotion:H4(t,{elementType:Bi,defaultProps:{position:o,size:c,dir:h,visible:e,unmountOnExit:!0}}),motion:BD}};var qi=(a,l)=>{return P(a),/*@__PURE__*/L(z4,{value:l,children:/*@__PURE__*/L(a.surfaceMotion,{children:/*@__PURE__*/L(a.root,{})})})};var KA={root:"fui-InlineDrawer"},TD=/*@__PURE__*/N("rkjj3x6",null,[".rkjj3x6{overflow:hidden;width:var(--fui-Drawer--size);max-width:100vw;height:auto;max-height:100vh;box-sizing:border-box;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;background-color:var(--colorNeutralBackground1);color:var(--colorNeutralForeground1);position:relative;}"]),Dd1=`1px solid ${c0.colorNeutralBackground3}`,bD=/*@__PURE__*/k({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 OD(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 Pi=(a)=>{let l=TD(),c=_r(a),o=bD();return a.root.className=D(KA.root,l,c,OD(a,o),o[a.position],a.root.className),a};var sc=/*@__PURE__*/I((a,l)=>{let c=Ii(a,l),o=J4();return Pi(c),z("useDrawerInlineStyles_unstable")(c),z("useInlineDrawerStyles_unstable")(c),qi(c,o)});sc.displayName="InlineDrawer";var Mc=(a,l)=>{let c=a.type==="inline"?sc:pc,o=w.always({ref:l,...a},{elementType:c});return{components:{root:c},root:o}};var _c=(a,l)=>{return P(a),/*@__PURE__*/L(z4,{value:l,children:/*@__PURE__*/L(a.root,{})})};var $A={root:"fui-Drawer"},uc=(a)=>{return a.root.className=D($A.root,a.root.className),a};var b2=/*@__PURE__*/I((a,l)=>{let c=Mc(a,l),o=J4();return uc(c),z("useDrawerStyles_unstable")(c),_c(c,o)});b2.displayName="Drawer";F();F();var ED=({scrollTop:a,scrollHeight:l,clientHeight:c})=>{if(l<=c)return"none";if(a===0)return"top";if(a+c===l)return"bottom";return"middle"},Ac=(a,l)=>{let{setScrollState:c}=Q4(),o=G(null),[e,r]=qo(),t=q(()=>{if(!o.current)return;c(ED(o.current))},[c]),h=q(()=>{r(),e(()=>t())},[r,e,t]);return q1(()=>{return r(),e(()=>t()),()=>r()},[a.children,r,t,e]),q1(()=>{return r(),e(()=>t()),()=>r()},[r,t,e]),{components:{root:"div"},root:w.always(a1("div",{ref:R1(l,o),...a,onScroll:K1(a.onScroll,h)}),{elementType:"div"})}};var Hc=(a)=>{return P(a),/*@__PURE__*/L(a.root,{})};var Ar={root:"fui-DrawerBody"},WD=/*@__PURE__*/N("ri6rvx7",null,[".ri6rvx7{padding:0 var(--spacingHorizontalXXL);flex:1;align-self:stretch;position:relative;z-index:1;overflow:auto;}",".ri6rvx7:last-child{padding-bottom:calc(var(--spacingHorizontalXXL) + 1px);}",".ri6rvx7:first-child{padding-top:calc(var(--spacingHorizontalXXL) + 1px);}"]),Vc=(a)=>{let l=WD();return a.root.className=D(Ar.root,l,a.root.className),a};var O2=/*@__PURE__*/I((a,l)=>{let c=Ac(a,l);return Vc(c),z("useDrawerBodyStyles_unstable")(c),Hc(c)});O2.displayName="DrawerBody";F();F();var gc=(a,l)=>{let{scrollState:c}=Q4();return{components:{root:"header"},root:w.always(a1("header",{ref:l,role:"none",...a}),{elementType:"header"}),scrollState:c}};var fc=(a)=>{return P(a),/*@__PURE__*/L(a.root,{})};var Hr={root:"fui-DrawerHeader"},ID=/*@__PURE__*/N("r3ovn4i",null,[".r3ovn4i{width:100%;max-width:100%;padding:var(--spacingVerticalXXL) var(--spacingHorizontalXXL) var(--spacingVerticalS);gap:var(--spacingHorizontalS);align-self:stretch;display:flex;flex-direction:column;box-sizing:border-box;position:relative;z-index:2;}"]),qD=/*@__PURE__*/k({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;}"]}),Fc=(a)=>{let l=ID(),c=qD();return a.root.className=D(Hr.root,l,a.scrollState!=="none"&&c.separator,["middle","bottom"].includes(a.scrollState)&&c.separatorVisible,a.root.className),a};var E2=/*@__PURE__*/I((a,l)=>{let c=gc(a,l);return Fc(c),z("useDrawerHeaderStyles_unstable")(c),fc(c)});E2.displayName="DrawerHeader";F();F();var xc=(a,l)=>{let{children:c,heading:o}=a,e=I0((r)=>r.dialogTitleId);return{components:{root:"div",heading:"h2",action:"div"},root:w.always(a1("div",{ref:l,...a}),{elementType:"div"}),heading:w.optional(o,{defaultProps:{id:e,children:c},renderByDefault:!0,elementType:"h2"}),action:w.optional(a.action,{elementType:"div"})}};var Cc=(a)=>{return P(a),/*@__PURE__*/A1(a.root,{children:[a.heading&&/*@__PURE__*/L(a.heading,{}),a.action&&/*@__PURE__*/L(a.action,{})]})};var sa={root:"fui-DrawerHeaderTitle",heading:"fui-DrawerHeaderTitle__heading",action:"fui-DrawerHeaderTitle__action"},PD=/*@__PURE__*/k({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);}"]}),Lc=(a)=>{let l=PD(),{heading:c={},action:o,components:e}=a;if(G3({components:{root:e.heading,action:e.action},root:c,action:o}),a.root.className=D(sa.root,l.root,a.root.className),a.heading)a.heading.className=D(sa.heading,a.heading.className);if(a.action)a.action.className=D(sa.action,l.action,a.action.className);return a};var W2=/*@__PURE__*/I((a,l)=>{let c=xc(a,l);return Lc(c),z("useDrawerHeaderTitleStyles_unstable")(c),Cc(c)});W2.displayName="DrawerHeaderTitle";F();F();var Rc=(a,l)=>{let{scrollState:c}=Q4();return{components:{root:"footer"},root:w.always(a1("footer",{ref:l,role:"none",...a}),{elementType:"footer"}),scrollState:c}};var Sc=(a)=>{return P(a),/*@__PURE__*/L(a.root,{})};var Vr={root:"fui-DrawerFooter"},zD=/*@__PURE__*/N("r1snvl2j",null,[".r1snvl2j{width:100%;max-width:100%;padding:var(--spacingVerticalL) var(--spacingHorizontalXXL) var(--spacingVerticalXXL);display:flex;justify-content:flex-start;align-items:center;column-gap:var(--spacingHorizontalS);box-sizing:border-box;position:relative;z-index:2;}"]),QD=/*@__PURE__*/k({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;}"]}),Dc=(a)=>{let l=zD(),c=QD();return a.root.className=D(Vr.root,l,a.scrollState!=="none"&&c.separator,["middle","top"].includes(a.scrollState)&&c.separatorVisible,a.root.className),a};var o3=/*@__PURE__*/I((a,l)=>{let c=Rc(a,l);return Dc(c),z("useDrawerFooterStyles_unstable")(c),Sc(c)});o3.displayName="DrawerFooter";function k0(a,l){if(JD(a))a="100%";var c=KD(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 wc(a){return Math.min(1,Math.max(0,a))}function JD(a){return typeof a==="string"&&a.indexOf(".")!==-1&&parseFloat(a)===1}function KD(a){return typeof a==="string"&&a.indexOf("%")!==-1}function gr(a){if(a=parseFloat(a),isNaN(a)||a<0||a>1)a=1;return a}function kc(a){if(a<=1)return"".concat(Number(a)*100,"%");return a}function W3(a){return a.length===1?"0"+a:String(a)}function YA(a,l,c){return{r:k0(a,255)*255,g:k0(l,255)*255,b:k0(c,255)*255}}function Qi(a,l,c){a=k0(a,255),l=k0(l,255),c=k0(c,255);var o=Math.max(a,l,c),e=Math.min(a,l,c),r=0,t=0,h=(o+e)/2;if(o===e)t=0,r=0;else{var Z=o-e;switch(t=h>0.5?Z/(2-o-e):Z/(o+e),o){case a:r=(l-c)/Z+(l<c?6:0);break;case l:r=(c-a)/Z+2;break;case c:r=(a-l)/Z+4;break;default:break}r/=6}return{h:r,s:t,l:h}}function zi(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 XA(a,l,c){var o,e,r;if(a=k0(a,360),l=k0(l,100),c=k0(c,100),l===0)e=c,r=c,o=c;else{var t=c<0.5?c*(1+l):c+l-c*l,h=2*c-t;o=zi(h,t,a+0.3333333333333333),e=zi(h,t,a),r=zi(h,t,a-0.3333333333333333)}return{r:o*255,g:e*255,b:r*255}}function Ji(a,l,c){a=k0(a,255),l=k0(l,255),c=k0(c,255);var o=Math.max(a,l,c),e=Math.min(a,l,c),r=0,t=o,h=o-e,Z=o===0?0:h/o;if(o===e)r=0;else{switch(o){case a:r=(l-c)/h+(l<c?6:0);break;case l:r=(c-a)/h+2;break;case c:r=(a-l)/h+4;break;default:break}r/=6}return{h:r,s:Z,v:t}}function NA(a,l,c){a=k0(a,360)*6,l=k0(l,100),c=k0(c,100);var o=Math.floor(a),e=a-o,r=c*(1-l),t=c*(1-e*l),h=c*(1-(1-e)*l),Z=o%6,i=[c,t,r,r,h,c][Z],n=[h,c,c,t,r,r][Z],v=[r,r,h,c,c,t][Z];return{r:i*255,g:n*255,b:v*255}}function Ki(a,l,c,o){var e=[W3(Math.round(a).toString(16)),W3(Math.round(l).toString(16)),W3(Math.round(c).toString(16))];if(o&&e[0].startsWith(e[0].charAt(1))&&e[1].startsWith(e[1].charAt(1))&&e[2].startsWith(e[2].charAt(1)))return e[0].charAt(0)+e[1].charAt(0)+e[2].charAt(0);return e.join("")}function jA(a,l,c,o,e){var r=[W3(Math.round(a).toString(16)),W3(Math.round(l).toString(16)),W3(Math.round(c).toString(16)),W3($D(o))];if(e&&r[0].startsWith(r[0].charAt(1))&&r[1].startsWith(r[1].charAt(1))&&r[2].startsWith(r[2].charAt(1))&&r[3].startsWith(r[3].charAt(1)))return r[0].charAt(0)+r[1].charAt(0)+r[2].charAt(0)+r[3].charAt(0);return r.join("")}function $D(a){return Math.round(parseFloat(a)*255).toString(16)}function $i(a){return y5(a)/255}function y5(a){return parseInt(a,16)}function aH(a){return{r:a>>16,g:(a&65280)>>8,b:a&255}}var yc={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 lH(a){var l={r:0,g:0,b:0},c=1,o=null,e=null,r=null,t=!1,h=!1;if(typeof a==="string")a=ND(a);if(typeof a==="object"){if(e3(a.r)&&e3(a.g)&&e3(a.b))l=YA(a.r,a.g,a.b),t=!0,h=String(a.r).substr(-1)==="%"?"prgb":"rgb";else if(e3(a.h)&&e3(a.s)&&e3(a.v))o=kc(a.s),e=kc(a.v),l=NA(a.h,o,e),t=!0,h="hsv";else if(e3(a.h)&&e3(a.s)&&e3(a.l))o=kc(a.s),r=kc(a.l),l=XA(a.h,o,r),t=!0,h="hsl";if(Object.prototype.hasOwnProperty.call(a,"a"))c=a.a}return c=gr(c),{ok:t,format:a.format||h,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 YD="[-\\+]?\\d+%?",XD="[-\\+]?\\d*\\.\\d+%?",I3="(?:".concat(XD,")|(?:").concat(YD,")"),Yi="[\\s|\\(]+(".concat(I3,")[,|\\s]+(").concat(I3,")[,|\\s]+(").concat(I3,")\\s*\\)?"),Xi="[\\s|\\(]+(".concat(I3,")[,|\\s]+(").concat(I3,")[,|\\s]+(").concat(I3,")[,|\\s]+(").concat(I3,")\\s*\\)?"),I2={CSS_UNIT:new RegExp(I3),rgb:new RegExp("rgb"+Yi),rgba:new RegExp("rgba"+Xi),hsl:new RegExp("hsl"+Yi),hsla:new RegExp("hsla"+Xi),hsv:new RegExp("hsv"+Yi),hsva:new RegExp("hsva"+Xi),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 ND(a){if(a=a.trim().toLowerCase(),a.length===0)return!1;var l=!1;if(yc[a])a=yc[a],l=!0;else if(a==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var c=I2.rgb.exec(a);if(c)return{r:c[1],g:c[2],b:c[3]};if(c=I2.rgba.exec(a),c)return{r:c[1],g:c[2],b:c[3],a:c[4]};if(c=I2.hsl.exec(a),c)return{h:c[1],s:c[2],l:c[3]};if(c=I2.hsla.exec(a),c)return{h:c[1],s:c[2],l:c[3],a:c[4]};if(c=I2.hsv.exec(a),c)return{h:c[1],s:c[2],v:c[3]};if(c=I2.hsva.exec(a),c)return{h:c[1],s:c[2],v:c[3],a:c[4]};if(c=I2.hex8.exec(a),c)return{r:y5(c[1]),g:y5(c[2]),b:y5(c[3]),a:$i(c[4]),format:l?"name":"hex8"};if(c=I2.hex6.exec(a),c)return{r:y5(c[1]),g:y5(c[2]),b:y5(c[3]),format:l?"name":"hex"};if(c=I2.hex4.exec(a),c)return{r:y5(c[1]+c[1]),g:y5(c[2]+c[2]),b:y5(c[3]+c[3]),a:$i(c[4]+c[4]),format:l?"name":"hex8"};if(c=I2.hex3.exec(a),c)return{r:y5(c[1]+c[1]),g:y5(c[2]+c[2]),b:y5(c[3]+c[3]),format:l?"name":"hex"};return!1}function e3(a){return Boolean(I2.CSS_UNIT.exec(String(a)))}var Ni=function(){function a(l,c){if(l===void 0)l="";if(c===void 0)c={};var o;if(l instanceof a)return l;if(typeof l==="number")l=aH(l);this.originalInput=l;var e=lH(l);if(this.originalInput=l,this.r=e.r,this.g=e.g,this.b=e.b,this.a=e.a,this.roundA=Math.round(100*this.a)/100,this.format=(o=c.format)!==null&&o!==void 0?o:e.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=e.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,o,e,r=l.r/255,t=l.g/255,h=l.b/255;if(r<=0.03928)c=r/12.92;else c=Math.pow((r+0.055)/1.055,2.4);if(t<=0.03928)o=t/12.92;else o=Math.pow((t+0.055)/1.055,2.4);if(h<=0.03928)e=h/12.92;else e=Math.pow((h+0.055)/1.055,2.4);return 0.2126*c+0.7152*o+0.0722*e},a.prototype.getAlpha=function(){return this.a},a.prototype.setAlpha=function(l){return this.a=gr(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=Ji(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=Ji(this.r,this.g,this.b),c=Math.round(l.h*360),o=Math.round(l.s*100),e=Math.round(l.v*100);return this.a===1?"hsv(".concat(c,", ").concat(o,"%, ").concat(e,"%)"):"hsva(".concat(c,", ").concat(o,"%, ").concat(e,"%, ").concat(this.roundA,")")},a.prototype.toHsl=function(){var l=Qi(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=Qi(this.r,this.g,this.b),c=Math.round(l.h*360),o=Math.round(l.s*100),e=Math.round(l.l*100);return this.a===1?"hsl(".concat(c,", ").concat(o,"%, ").concat(e,"%)"):"hsla(".concat(c,", ").concat(o,"%, ").concat(e,"%, ").concat(this.roundA,")")},a.prototype.toHex=function(l){if(l===void 0)l=!1;return Ki(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 jA(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),o=Math.round(this.b);return this.a===1?"rgb(".concat(l,", ").concat(c,", ").concat(o,")"):"rgba(".concat(l,", ").concat(c,", ").concat(o,", ").concat(this.roundA,")")},a.prototype.toPercentageRgb=function(){var l=function(c){return"".concat(Math.round(k0(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(k0(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="#"+Ki(this.r,this.g,this.b,!1);for(var c=0,o=Object.entries(yc);c<o.length;c++){var e=o[c],r=e[0],t=e[1];if(l===t)return r}return!1},a.prototype.toString=function(l){var c=Boolean(l);l=l!==null&&l!==void 0?l:this.format;var o=!1,e=this.a<1&&this.a>=0,r=!c&&e&&(l.startsWith("hex")||l==="name");if(r){if(l==="name"&&this.a===0)return this.toName();return this.toRgbString()}if(l==="rgb")o=this.toRgbString();if(l==="prgb")o=this.toPercentageRgbString();if(l==="hex"||l==="hex6")o=this.toHexString();if(l==="hex3")o=this.toHexString(!0);if(l==="hex4")o=this.toHex8String(!0);if(l==="hex8")o=this.toHex8String();if(l==="name")o=this.toName();if(l==="hsl")o=this.toHslString();if(l==="hsv")o=this.toHsvString();return o||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=wc(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=wc(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=wc(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=wc(c.s),new a(c)},a.prototype.greyscale=function(){return this.desaturate(100)},a.prototype.spin=function(l){var c=this.toHsl(),o=(c.h+l)%360;return c.h=o<0?360+o:o,new a(c)},a.prototype.mix=function(l,c){if(c===void 0)c=50;var o=this.toRgb(),e=new a(l).toRgb(),r=c/100,t={r:(e.r-o.r)*r+o.r,g:(e.g-o.g)*r+o.g,b:(e.b-o.b)*r+o.b,a:(e.a-o.a)*r+o.a};return new a(t)},a.prototype.analogous=function(l,c){if(l===void 0)l=6;if(c===void 0)c=30;var o=this.toHsl(),e=360/c,r=[this];for(o.h=(o.h-(e*l>>1)+720)%360;--l;)o.h=(o.h+e)%360,r.push(new a(o));return r},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(),o=c.h,e=c.s,r=c.v,t=[],h=1/l;while(l--)t.push(new a({h:o,s:e,v:r})),r=(r+h)%1;return t},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(),o=new a(l).toRgb(),e=c.a+o.a*(1-c.a);return new a({r:(c.r*c.a+o.r*o.a*(1-c.a))/e,g:(c.g*c.a+o.g*o.a*(1-c.a))/e,b:(c.b*c.a+o.b*o.a*(1-c.a))/e,a:e})},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(),o=c.h,e=[this],r=360/l;for(var t=1;t<l;t++)e.push(new a({h:(o+t*r)%360,s:c.s,l:c.l}));return e},a.prototype.equals=function(l){return this.toRgbString()===new a(l).toRgbString()},a}();function q3(a,l,c,o){function e(r){return r instanceof c?r:new c(function(t){t(r)})}return new(c||(c=Promise))(function(r,t){function h(n){try{i(o.next(n))}catch(v){t(v)}}function Z(n){try{i(o.throw(n))}catch(v){t(v)}}function i(n){n.done?r(n.value):e(n.value).then(h,Z)}i((o=o.apply(a,l||[])).next())})}var g0=(a,l,c)=>{return new Ni(a).mix(new Ni(l),c).toHexString()},jD=(a)=>{return{10:a.themeDarker,20:g0(a.themeDarker,a.themeDark),30:a.themeDark,40:g0(a.themeDark,a.themeDarkAlt),50:a.themeDarkAlt,60:g0(a.themeDarkAlt,a.themePrimary),70:a.themePrimary,80:g0(a.themePrimary,a.themeSecondary),90:a.themeSecondary,100:g0(a.themeSecondary,a.themeTertiary),110:a.themeTertiary,120:g0(a.themeTertiary,a.themeLight),130:a.themeLight,140:g0(a.themeLight,a.themeLighter),150:a.themeLighter,160:g0(a.themeLighter,a.themeLighterAlt)}},aw=(a)=>{return{10:a.themeDarker,20:g0(a.themeDarker,a.themePrimary,20),30:g0(a.themeDarker,a.themePrimary,30),40:g0(a.themeDarker,a.themePrimary,40),50:g0(a.themeDarker,a.themePrimary,50),60:g0(a.themeDarker,a.themePrimary,60),70:g0(a.themeDarker,a.themePrimary,70),80:a.themePrimary,90:g0(a.themePrimary,a.themeLighterAlt,10),100:g0(a.themePrimary,a.themeLighterAlt,20),110:g0(a.themePrimary,a.themeLighterAlt,30),120:g0(a.themePrimary,a.themeLighterAlt,40),130:g0(a.themePrimary,a.themeLighterAlt,50),140:g0(a.themePrimary,a.themeLighterAlt,60),150:g0(a.themePrimary,a.themeLighterAlt,70),160:a.themeLighterAlt}},fr=(a,l="pairs")=>{switch(l){case"primaryAndEnds":return aw(a);case"pairs":default:return jD(a)}};f5();async function cH(){if(window.moduleLoaderPromise)return(await window.moduleLoaderPromise)?.context;console.error("Unable to retrieve Modern SP Context...")}async function oH(){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 ji="d6ca1fc2-0591-4c6d-8a25-cae3262c017b",eH="45e75137-13c5-4bb2-a2b3-8ab6382682ee",rH="SPFxExtensionsConfigurator",Fr="SitePages/SPFxExtensionsConfigurator.aspx",P0="manifest.txt",h2="collectionconfig.txt",iA1="Loading...",Ma="SPFxExtensionsConfiguration",_a="SPFxExtensionsWhiteList",k1="SPFxExtensions",tH="/SPFxExtensions/",C0="SPFxExtensionsData",xr="[SPFxExtensionCore]",Uc={appDefinitionMap:[],appRelativeEntryPointUrls:[],manualEntries:[]},Gc={enabledEverywhere:!1,excludedHubIds:[],excludedIds:[],includedHubIds:[],includedIds:[]},Bc={enabledAppCollections:[],urlMap:[]},a5="00000000-0000-0000-0000-000000000000";function S1(a,l,c=a){return(o)=>{let e=""+o,r=e.indexOf(l,a.length);return~r?a+lw(e,l,c,r)+l:a+e+l}}function lw(a,l,c,o){let e="",r=0;do e+=a.substring(r,o)+c,r=o+l.length,o=a.indexOf(l,r);while(~o);return e+a.substring(r)}var nA1=S1("\x1B[0m","\x1B[0m"),dA1=S1("\x1B[1m","\x1B[22m","\x1B[22m\x1B[1m"),mA1=S1("\x1B[2m","\x1B[22m","\x1B[22m\x1B[2m"),pA1=S1("\x1B[3m","\x1B[23m"),sA1=S1("\x1B[4m","\x1B[24m"),MA1=S1("\x1B[7m","\x1B[27m"),_A1=S1("\x1B[8m","\x1B[28m"),uA1=S1("\x1B[9m","\x1B[29m"),AA1=S1("\x1B[30m","\x1B[39m"),HA1=S1("\x1B[31m","\x1B[39m"),VA1=S1("\x1B[32m","\x1B[39m"),gA1=S1("\x1B[33m","\x1B[39m"),fA1=S1("\x1B[34m","\x1B[39m"),FA1=S1("\x1B[35m","\x1B[39m"),xA1=S1("\x1B[36m","\x1B[39m"),CA1=S1("\x1B[37m","\x1B[39m"),LA1=S1("\x1B[90m","\x1B[39m"),RA1=S1("\x1B[40m","\x1B[49m"),SA1=S1("\x1B[41m","\x1B[49m"),DA1=S1("\x1B[42m","\x1B[49m"),wA1=S1("\x1B[43m","\x1B[49m"),kA1=S1("\x1B[44m","\x1B[49m"),yA1=S1("\x1B[45m","\x1B[49m"),UA1=S1("\x1B[46m","\x1B[49m"),GA1=S1("\x1B[47m","\x1B[49m"),BA1=S1("\x1B[90m","\x1B[39m"),TA1=S1("\x1B[91m","\x1B[39m"),Cr=S1("\x1B[92m","\x1B[39m"),bA1=S1("\x1B[93m","\x1B[39m"),OA1=S1("\x1B[94m","\x1B[39m"),EA1=S1("\x1B[95m","\x1B[39m"),WA1=S1("\x1B[96m","\x1B[39m"),IA1=S1("\x1B[97m","\x1B[39m"),qA1=S1("\x1B[100m","\x1B[49m"),PA1=S1("\x1B[101m","\x1B[49m"),zA1=S1("\x1B[102m","\x1B[49m"),QA1=S1("\x1B[103m","\x1B[49m"),JA1=S1("\x1B[104m","\x1B[49m"),KA1=S1("\x1B[105m","\x1B[49m"),$A1=S1("\x1B[106m","\x1B[49m"),YA1=S1("\x1B[107m","\x1B[49m");function _1(...a){console.error(Cr(xr),(/*@__PURE__*/new Date()).toISOString(),...a)}function q2(...a){console.warn(Cr(xr),(/*@__PURE__*/new Date()).toISOString(),...a)}function y0(...a){console.info(Cr(xr),(/*@__PURE__*/new Date()).toISOString(),...a)}function aH1(...a){}function lH1(a,l,c){_1("Error while executing onInstanceRequested for app",a.id,"with name",a.name,c?`Additional Data: ${c}`:"",l)}function eH1(){return q2("The app instance event was called before app instance was initialized."),()=>{}}var av=window.crypto.randomUUID();function rH1(){return av}function tH1(){return av=window.crypto.randomUUID(),av}function lv(a){return a.replace("{","").replace("}","")}function G1(a){return JSON.parse(JSON.stringify(a))}var z0=await oH();function nH1(){return z0.contextType==="SPOModernContext"?z0.context.web.id.toString():lv(z0.context.webId)}function K4(){return(z0.contextType==="SPOModernContext"?z0.context.web.absoluteUrl:z0.context.webAbsoluteUrl).replace(/\/$/,"")}function dH1(){return z0.contextType==="SPOModernContext"?z0.context.site.id.toString():lv(z0.context.siteId)}function mH1(){return z0.contextType==="SPOModernContext"?z0.context.site.absoluteUrl:z0.context.siteAbsoluteUrl}function pH1(){return(z0.contextType==="SPOModernContext"?z0.context.legacyPageContext.hubSiteId?.toString():z0.context.hubSiteId)??a5}function sH1(){return z0.contextType==="SPOModernContext"?z0.context.legacyPageContext.isHubSite:z0.context.isHubSite}i3();f5();var cw=Symbol.for("preact-signals");function Rr(){if(!(P3>1)){var a,l=!1;while(Tc!==void 0){var c=Tc;Tc=void 0,cv++;while(c!==void 0){var o=c.o;if(c.o=void 0,c.f&=-3,!(8&c.f)&&ZH(c))try{c.c()}catch(e){if(!l)a=e,l=!0}c=o}}if(cv=0,P3--,l)throw a}else P3--}function Sr(a){if(P3>0)return a();P3++;try{return a()}finally{Rr()}}var z1=void 0;function ov(a){var l=z1;z1=void 0;try{return a()}finally{z1=l}}var Tc=void 0,P3=0,cv=0,Lr=0;function hH(a){if(z1!==void 0){var l=a.n;if(l===void 0||l.t!==z1){if(l={i:0,S:a,p:z1.s,n:void 0,t:z1,e:void 0,x:void 0,r:l},z1.s!==void 0)z1.s.n=l;if(z1.s=l,a.n=l,32&z1.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=z1.s,l.n=void 0,z1.s.n=l,z1.s=l}return l}}}function U0(a,l){this.v=a,this.i=0,this.n=void 0,this.t=void 0,this.W=l==null?void 0:l.watched,this.Z=l==null?void 0:l.unwatched,this.name=l==null?void 0:l.name}U0.prototype.brand=cw;U0.prototype.h=function(){return!0};U0.prototype.S=function(a){var l=this,c=this.t;if(c!==a&&a.e===void 0)if(a.x=c,this.t=a,c!==void 0)c.e=a;else ov(function(){var o;(o=l.W)==null||o.call(l)})};U0.prototype.U=function(a){var l=this;if(this.t!==void 0){var{e:c,x:o}=a;if(c!==void 0)c.x=o,a.e=void 0;if(o!==void 0)o.e=c,a.x=void 0;if(a===this.t){if(this.t=o,o===void 0)ov(function(){var e;(e=l.Z)==null||e.call(l)})}}};U0.prototype.subscribe=function(a){var l=this;return V7(function(){var c=l.value,o=z1;z1=void 0;try{a(c)}finally{z1=o}},{name:"sub"})};U0.prototype.valueOf=function(){return this.value};U0.prototype.toString=function(){return this.value+""};U0.prototype.toJSON=function(){return this.value};U0.prototype.peek=function(){var a=z1;z1=void 0;try{return this.value}finally{z1=a}};Object.defineProperty(U0.prototype,"value",{get:function(){var a=hH(this);if(a!==void 0)a.i=this.i;return this.v},set:function(a){if(a!==this.v){if(cv>100)throw new Error("Cycle detected");this.v=a,this.i++,Lr++,P3++;try{for(var l=this.t;l!==void 0;l=l.x)l.t.N()}finally{Rr()}}}});function G0(a,l){return new U0(a,l)}function ZH(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 iH(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 vH(a){var l=a.s,c=void 0;while(l!==void 0){var o=l.p;if(l.i===-1){if(l.S.U(l),o!==void 0)o.n=l.n;if(l.n!==void 0)l.n.p=o}else c=l;if(l.S.n=l.r,l.r!==void 0)l.r=void 0;l=o}a.s=c}function $4(a,l){U0.call(this,void 0),this.x=a,this.s=void 0,this.g=Lr-1,this.f=4,this.W=l==null?void 0:l.watched,this.Z=l==null?void 0:l.unwatched,this.name=l==null?void 0:l.name}$4.prototype=new U0;$4.prototype.h=function(){if(this.f&=-3,1&this.f)return!1;if((36&this.f)==32)return!0;if(this.f&=-5,this.g===Lr)return!0;if(this.g=Lr,this.f|=1,this.i>0&&!ZH(this))return this.f&=-2,!0;var a=z1;try{iH(this),z1=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 z1=a,vH(this),this.f&=-2,!0};$4.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)}U0.prototype.S.call(this,a)};$4.prototype.U=function(a){if(this.t!==void 0){if(U0.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)}}};$4.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($4.prototype,"value",{get:function(){if(1&this.f)throw new Error("Cycle detected");var a=hH(this);if(this.h(),a!==void 0)a.i=this.i;if(16&this.f)throw this.v;return this.v}});function Dr(a,l){return new $4(a,l)}function nH(a){var l=a.u;if(a.u=void 0,typeof l=="function"){P3++;var c=z1;z1=void 0;try{l()}catch(o){throw a.f&=-2,a.f|=8,ev(a),o}finally{z1=c,Rr()}}}function ev(a){for(var l=a.s;l!==void 0;l=l.n)l.S.U(l);a.x=void 0,a.s=void 0,nH(a)}function ow(a){if(z1!==this)throw new Error("Out-of-order effect");if(vH(this),z1=a,this.f&=-2,8&this.f)ev(this);Rr()}function ua(a,l){this.x=a,this.u=void 0,this.s=void 0,this.o=void 0,this.f=32,this.name=l==null?void 0:l.name}ua.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()}};ua.prototype.S=function(){if(1&this.f)throw new Error("Cycle detected");this.f|=1,this.f&=-9,nH(this),iH(this),P3++;var a=z1;return z1=this,ow.bind(this,a)};ua.prototype.N=function(){if(!(2&this.f))this.f|=2,this.o=Tc,Tc=this};ua.prototype.d=function(){if(this.f|=8,!(1&this.f))ev(this)};ua.prototype.dispose=function(){this.d()};function V7(a,l){var c=new ua(a,l);try{c.c()}catch(e){throw c.d(),e}var o=c.d.bind(c);return o[Symbol.dispose]=o,o}var tv,hv,rv,dH=[],mH=[];V7(function(){tv=this.N})();function Aa(a,l){V1[a]=l.bind(null,V1[a]||function(){})}function wr(a){if(rv)rv();rv=a&&a.S()}function pH(a){var l=this,c=a.data,o=g7(c);o.value=c;var e=p1(function(){var h=l,Z=l.__v;while(Z=Z.__)if(Z.__c){Z.__c.__$f|=4;break}var i=Dr(function(){var m=o.value.value;return m===0?0:m===!0?"":m||""}),n=Dr(function(){return!Array.isArray(i.value)&&!Ut(i.value)}),v=V7(function(){if(this.N=sH,n.value){var m=i.value;if(h.__v&&h.__v.__e&&h.__v.__e.nodeType===3)h.__v.__e.data=m}}),d=l.__$u.d;return l.__$u.d=function(){v(),d.call(this)},[n,i]},[]),r=e[0],t=e[1];return r.value?t.peek():t.value}pH.displayName="ReactiveTextNode";Object.defineProperties(U0.prototype,{constructor:{configurable:!0,value:void 0},type:{configurable:!0,value:pH},props:{configurable:!0,get:function(){return{data:this}}},__b:{configurable:!0,value:1}});Aa("__b",function(a,l){if(typeof l.type=="function"&&typeof window!="undefined"&&window.__PREACT_SIGNALS_DEVTOOLS__)window.__PREACT_SIGNALS_DEVTOOLS__.exitComponent();if(typeof l.type=="string"){var c,o=l.props;for(var e in o)if(e!=="children"){var r=o[e];if(r instanceof U0){if(!c)l.__np=c={};c[e]=r,o[e]=r.peek()}}}a(l)});Aa("__r",function(a,l){if(typeof l.type=="function"&&typeof window!="undefined"&&window.__PREACT_SIGNALS_DEVTOOLS__)window.__PREACT_SIGNALS_DEVTOOLS__.enterComponent(l.type.displayName||l.type.name||"Unknown");if(l.type!==m1){wr();var c,o=l.__c;if(o){if(o.__$f&=-2,(c=o.__$u)===void 0)o.__$u=c=function(e){var r;return V7(function(){r=this}),r.c=function(){o.__$f|=1,o.setState({})},r}()}hv=o,wr(c)}a(l)});Aa("__e",function(a,l,c,o){if(typeof window!="undefined"&&window.__PREACT_SIGNALS_DEVTOOLS__)window.__PREACT_SIGNALS_DEVTOOLS__.exitComponent();wr(),hv=void 0,a(l,c,o)});Aa("diffed",function(a,l){if(typeof l.type=="function"&&typeof window!="undefined"&&window.__PREACT_SIGNALS_DEVTOOLS__)window.__PREACT_SIGNALS_DEVTOOLS__.exitComponent();wr(),hv=void 0;var c;if(typeof l.type=="string"&&(c=l.__e)){var{__np:o,props:e}=l;if(o){var r=c.U;if(r)for(var t in r){var h=r[t];if(h!==void 0&&!(t in o))h.d(),r[t]=void 0}else r={},c.U=r;for(var Z in o){var i=r[Z],n=o[Z];if(i===void 0)i=ew(c,Z,n,e),r[Z]=i;else i.o(n,e)}}}a(l)});function ew(a,l,c,o){var e=l in a&&a.ownerSVGElement===void 0,r=G0(c);return{o:function(t,h){r.value=t,o=h},d:V7(function(){this.N=sH;var t=r.value.value;if(o[l]!==t)if(o[l]=t,e)a[l]=t;else if(t)a.setAttribute(l,t);else a.removeAttribute(l)})}}Aa("unmount",function(a,l){if(typeof l.type=="string"){var c=l.__e;if(c){var o=c.U;if(o){c.U=void 0;for(var e in o){var r=o[e];if(r)r.d()}}}}else{var t=l.__c;if(t){var h=t.__$u;if(h)t.__$u=void 0,h.d()}}a(l)});Aa("__h",function(a,l,c,o){if(o<3||o===9)l.__$f|=2;a(l,c,o)});M5.prototype.shouldComponentUpdate=function(a,l){var c=this.__$u,o=c&&c.s!==void 0;for(var e in l)return!0;if(this.__f||typeof this.u=="boolean"&&this.u===!0){var r=2&this.__$f;if(!(o||r||4&this.__$f))return!0;if(1&this.__$f)return!0}else{if(!(o||4&this.__$f))return!0;if(3&this.__$f)return!0}for(var t in a)if(t!=="__source"&&a[t]!==this.props[t])return!0;for(var h in this.props)if(!(h in a))return!0;return!1};function g7(a,l){return h1(function(){return G0(a,l)})[0]}var rw=typeof requestAnimationFrame=="undefined"?setTimeout:function(a){var l=function(){clearTimeout(c),cancelAnimationFrame(o),a()},c=setTimeout(l,35),o=requestAnimationFrame(l)},tw=function(a){queueMicrotask(function(){queueMicrotask(a)})};function hw(){Sr(function(){var a;while(a=dH.shift())tv.call(a)})}function Zw(){if(dH.push(this)===1)(V1.requestAnimationFrame||rw)(hw)}function iw(){Sr(function(){var a;while(a=mH.shift())tv.call(a)})}function sH(){if(mH.push(this)===1)(V1.requestAnimationFrame||tw)(iw)}function Z2(a,l){var c=G(a);c.current=a,j(function(){return V7(function(){return this.N=Zw,c.current()},l)},[])}function z3(a,l,c){let o=new Date(a.toString());switch(l.toLowerCase()){case"year":o.setFullYear(o.getFullYear()+c);break;case"quarter":o.setMonth(o.getMonth()+3*c);break;case"month":o.setMonth(o.getMonth()+c);break;case"week":o.setDate(o.getDate()+7*c);break;case"day":o.setDate(o.getDate()+c);break;case"hour":o.setTime(o.getTime()+c*3600000);break;case"minute":o.setTime(o.getTime()+c*60000);break;case"second":o.setTime(o.getTime()+c*1000);break;default:o=void 0;break}return o}function I1(...a){return a.filter((l)=>!G5(l)).map((l)=>l.replace(/^[\\|/]/,"").replace(/[\\|/]$/,"")).join("/").replace(/\\/g,"/")}function r3(){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 U5(a){return typeof a==="function"}function Q0(a){return Array.isArray(a)}function B0(a){return/^https?:\/\/|^\/\//i.test(a)}function G5(a){return typeof a==="undefined"||a===null||a.length<1}function L0(a){return typeof a!=="undefined"&&a!==null}function kr(a){return JSON.stringify(a)}function $1(a,l){return Object.hasOwnProperty.call(a,l)}function MH(a){let l=0;if(a.length===0)return l;for(let c=0;c<a.length;c++){let o=a.charCodeAt(c);l=(l<<5)-l+o,l|=0}return l}function _H(a){return new Promise((l)=>{setTimeout(l,a)})}var Zv;function uH(){if(typeof Zv==="undefined")Zv=new AH;return Zv}class iv{constructor(a){this.store=a,this.enabled=this.test()}get(a){if(!this.enabled)return null;let l=this.store.getItem(a);if(!L0(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 o=this.get(a);if(o===null)o=await l(),this.put(a,o,c);return o}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=z3(/*@__PURE__*/new Date,"minute",5);return kr({pnp:1,expiration:l,value:a})}}class AH{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 vv{constructor(a=null,l=null){this._local=a,this._session=l}get local(){if(this._local===null)this._local=new iv(typeof localStorage==="undefined"?uH():localStorage);return this._local}get session(){if(this._session===null)this._session=new iv(typeof sessionStorage==="undefined"?uH():sessionStorage);return this._session}}function yr(){return function(a,...l){let c=[...a];for(let o=0;o<c.length;o++)Reflect.apply(c[o],this,l)}}function HH(){return function(a,...l){return[...a].reduce((o,e)=>Reflect.apply(e,this,o),l)}}function bc(){return async function(a,...l){return[...a].reduce((o,e)=>o.then((r)=>Reflect.apply(e,this,r)),Promise.resolve(l))}}function VH(){return async function(a,...l){if(!Q0(a)||a.length<1)return;let c=a[0];return Reflect.apply(c,this,l)}}function Ur(){return function(a,...l){let c=[...a];for(let o=0;o<c.length;o++)Reflect.apply(c[o],this,l);return this}}var dv=Symbol.for("ObserverLifecycleFlags"),gH=(a)=>(l)=>!((l[dv]||0)&a),fH=(a)=>(l)=>{return l[dv]=(l[dv]||0)|a,l},Y4=fH(1),DH1=fH(2);class mv{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(),nv(a.observers,l,c,1),a},{toArray:()=>{return Reflect.has(a.observers,l)?[...Reflect.get(a.observers,l)]:[]},replace:(c)=>{return a.cloneObserversOnChange(),nv(a.observers,l,c,3),a},prepend:(c)=>{return a.cloneObserversOnChange(),nv(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(L0(a))this.emit.error(a)}get emit(){if(this._emitProxy===null)this._emitProxy=new Proxy(this,{get:(a,l)=>(...c)=>{let o=Reflect.has(a.observers,l)?Reflect.get(a.observers,l):[];if((!Q0(o)||o.length<1)&&l==="error")throw Error(`Unhandled Exception: ${c[0]}`);try{let e=Reflect.has(a.moments,l)?Reflect.get(a.moments,l):l==="init"||l==="dispose"?Ur():yr();return Reflect.apply(e,a,[o,...c])}catch(e){if(l!=="error")this.error(e);else throw e}finally{if(o&&o.length>0)Reflect.set(a.observers,l,o.filter(gH(2)))}}});return this._emitProxy}start(a){this.emit.init();let l=this.execute(a);return l.finally(()=>{try{this.emit.dispose()}catch(c){let o=Object.assign(Error("Error in dispose."),{innerException:c});this.error(o)}}).catch(()=>{return}),l}cloneObserversOnChange(){if(this._inheritingObservers)this._inheritingObservers=!1,this.observers=pv(this.observers)}}function nv(a,l,c,o){if(!U5(c))throw Error("Observers must be functions.");if(!Reflect.has(a,l))a[l]=[c];else switch(o){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 pv(a){return Reflect.ownKeys(a).reduce((l,c)=>{return l[c]=[...a[c].filter(gH(1))],l},{})}function Oc(a,l="append",c){return(o)=>{return Reflect.apply(vw,o,[a,l,c])}}function vw(a,l,c){if(!L0(a)||!L0(a.observers))return this;if(!U5(c))c=()=>!0;let o=pv(a.observers),e=Object.keys(o).filter(c);for(let r=0;r<e.length;r++){let t=e[r],h=this.on[t];if(l==="replace")h.clear();o[t].forEach((i)=>h(i))}return this}function FH(a,l,c,o){var e=arguments.length,r=e<3?l:o===null?o=Object.getOwnPropertyDescriptor(l,c):o,t;if(typeof Reflect==="object"&&typeof Reflect.decorate==="function")r=Reflect.decorate(a,l,c,o);else for(var h=a.length-1;h>=0;h--)if(t=a[h])r=(e<3?t(r):e>3?t(l,c,r):t(l,c))||r;return e>3&&r&&Object.defineProperty(l,c,r),r}var nw={construct:Ur(),pre:bc(),auth:bc(),send:VH(),parse:bc(),post:bc(),data:yr()},Ec=class a extends mv{constructor(l,c){super(nw);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]=HH();let o;if(typeof l==="string")this._url=I1(l,c);else if(Q0(l)){if(l.length!==2)throw Error("When using the tuple param exactly two arguments are expected.");if(typeof l[1]!=="string")throw Error("Expected second tuple param to be a string.");o=l[0],this._url=I1(l[1],c)}else o=l,this._url=I1(o._url,c);if(typeof o!=="undefined")this.observers=o.observers,this._inheritingObservers=!0}concat(l){return this._url+=l,this}toRequestUrl(){let l=this.toUrl(),c=this.query.toString();if(!G5(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=r3(),o,e=(r,t)=>{this.log(`[${c}] ${r}`,t)};try{e("Beginning request",0);let r={...l,headers:{...l.headers,"X-PnPjs-RequestId":c}},[t,h,Z]=await this.emit.pre(this.toRequestUrl(),r,void 0);if(e(`Url: ${t}`,1),typeof Z!=="undefined"){e("Result returned from pre, Emitting data"),this.emit.data(Z),e("Emitted data");return}e("Emitting auth"),[o,h]=await this.emit.auth(new URL(t),h),e("Emitted auth"),h={...h,...l,headers:{...h.headers,...l.headers}},e("Emitting send");let i=await this.emit.send(o,h);e("Emitted send"),e("Emitting parse"),[o,i,Z]=await this.emit.parse(o,i,Z),e("Emitted parse"),e("Emitting post"),[o,Z]=await this.emit.post(o,Z),e("Emitted post"),e("Emitting data"),this.emit.data(Z),e("Emitted data")}catch(r){e(`Emitting error: "${r.message||r}"`,3),this.error(r),e("Emitted error",3)}finally{e("Finished request",0)}},0),this.emit[this.InternalPromise](new Promise((c,o)=>{this.on[this.InternalResolve].replace(c),this.on[this.InternalReject].replace(o)}))[0]}};Ec=FH([dw()],Ec);function sv(a,l={headers:{}}){return{method:a,...l,headers:{...l.headers}}}function Mv(a){return this.start(sv("GET",a))}function xH(a){return this.start(sv("POST",a))}function CH(a){return this.start(sv("PATCH",a))}function Wc(a,l,c){return Reflect.apply(l,a,[c])}function LH(a){return(l,c)=>{let o=new a(l,c);return o.emit.construct(l,c),o}}function dw(a){return(l)=>{return new Proxy(l,{construct(c,o,e){let r=Object.assign(function(t){if(!U5(a))a=function(h){return Wc(this,Mv,h)};return Reflect.apply(a,r,[t])},Reflect.construct(c,o,e));return Reflect.setPrototypeOf(r,e.prototype),r}})}}function _v(a,l=!1){return(c)=>{let o=async function(e,r,t){return r.headers={...r.headers,...a},[e,r,t]};if(l)c.on.pre.prepend(o);else c.on.pre(o);return c}}function Gr(){return i2(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 uv(c)})}function Ha(){return i2((a)=>a.text())}function RH(){return i2((a)=>a.blob())}function Br(){return i2((a)=>a.json())}function SH(){return i2((a)=>U5(a.arrayBuffer)?a.arrayBuffer():a.buffer())}async function mw(a,l,c){if(!l.ok)throw await X4.init(l);return[a,l,c]}function uv(a){let l=a;if($1(a,"d"))if($1(a.d,"results"))l=a.d.results;else l=a.d;else if($1(a,"value"))l=a.value;return l}function i2(a){return(l)=>{return l.on.parse.replace(mw),l.on.parse(async(c,o,e)=>{if(o.ok&&typeof e==="undefined")e=await a(o);return[c,o,e]}),l}}class X4 extends Error{constructor(a,l,c=l.status,o=l.statusText){super(a);this.response=l,this.status=c,this.statusText=o,this.isHttpRequestError=!0}static async init(a){let l=await a.clone().text();return new X4(`Error making HttpClient request in queryable [${a.status}] ${a.statusText} ::> ${l}`,a)}}function Tr(a){let{interval:l,replace:c,retries:o}={replace:!0,interval:200,retries:3,...a};return(e)=>{if(c)e.on.send.clear();return e.on.send(function(r,t){let h,Z=l,i=0,n,v=async()=>{if(i>=o)throw n||new X4(`Retry count exceeded (${o}) for this request. ${h.status}: ${h.statusText};`,h);if(i++,typeof h==="undefined"||(h===null||h===void 0?void 0:h.status)===429||(h===null||h===void 0?void 0:h.status)===503||(h===null||h===void 0?void 0:h.status)===504){if(typeof h!=="undefined"){if(h.headers.has("Retry-After"))Z=parseInt(h.headers.get("Retry-After"),10)*1000;else Z*=2;this.log(`Attempt #${i} to retry request which failed with ${h.status}: ${h.statusText}`,0),await _H(Z)}try{let d=r.toString();return this.log(`Fetch: ${t.method} ${d}`,0),h=await fetch(d,t),h.ok?h:v()}catch(d){if(/AbortError/.test(d.name))throw d;return n=d,v()}}else return h};return v()}),e}}function Av(){return(a)=>{return a.on.pre.prepend(async function(l,c,o){return c.headers={...c.headers,"X-PnP-CacheNever":"1"},[l,c,o]}),a}}function wH(a){return(l)=>{return l.on.pre(async function(c,o,e){let[r,t,h]=kH(c,o,a);if(r){let Z=t();if(Z===null)this.on.post(Y4(async function(i,n){return h(n),[i,n]}));else e=Z}return[c,o,e]}),l}}var DH=new vv;function kH(a,l,c){var o,e;let{store:r,keyFactory:t,expireFunc:h}={store:"local",keyFactory:(n)=>MH(n.toLowerCase()).toString(),expireFunc:()=>z3(/*@__PURE__*/new Date,"minute",5),...c},Z=r==="session"?DH.session:DH.local,i=(l===null||l===void 0?void 0:l.headers["X-PnP-CacheKey"])?l.headers["X-PnP-CacheKey"]:t(a);return[(/get/i.test(l.method)||((o=l===null||l===void 0?void 0:l.headers["X-PnP-CacheAlways"])!==null&&o!==void 0?o:!1))&&!((e=l===null||l===void 0?void 0:l.headers["X-PnP-CacheNever"])!==null&&e!==void 0?e:!1),()=>Z.get(i),(n)=>Z.put(i,n,h(a))]}var yH="__CancelMoment__",Va=Symbol.for("CancelScopeId"),Ic=/*@__PURE__*/new Map;async function pw(a){let l=Ic.get(a);if(l.controller.abort(),Q0(l===null||l===void 0?void 0:l.actions))l.actions.map((c)=>l.currentSelf.on[yH](c));try{await l.currentSelf.emit[yH]()}catch(c){l.currentSelf.log(`Error in cancel: ${c}`,3)}}function sw(a){let l=r3();return a[Va]=l,Ic.set(l,{cancel:pw.bind({},l),actions:[],controller:null,currentSelf:a}),l}var Mw=(a)=>{return function(...l){if(!Reflect.has(this,Va))sw(this);let c=a.apply(this,l).finally(()=>{Ic.delete(this[Va]),delete this[Va]});return c.cancel=Ic.get(this[Va]).cancel,c}};function f7(a,l,c){c.value=Mw(c.value)}function Hv(a){return(l)=>{return l.on.pre(async function(...c){let o=Ic.get(this[Va]);if(L0(o)){if(!Q0(o.actions))o.actions=[];if(o.actions.indexOf(a)<0)o.actions.push(a)}return c}),l}}function UH(){return(a)=>{return a.on.data(function(l){this.emit[this.InternalResolve](l)}),a}}function GH(){return(a)=>{return a.on.error(function(l){this.emit[this.InternalReject](l)}),a}}function J0(a,l,c,o){Reflect.defineProperty(a.prototype,l,{configurable:!0,enumerable:!0,get:function(){return c(this,o||l)}})}function B1(a,l){return Object.assign({body:kr(a)},l)}function ga(a,l){return Object.assign({},l,{headers:{...l===null||l===void 0?void 0:l.headers,...a}})}var _w="This folder contains extensions that are loaded by the SPFxExtensions application.";async function br(a){try{await a.web.lists.ensure(k1,_w,101,!1,{Hidden:!0})}catch(l){if(l instanceof X4){if(l.message.includes("-2130575342"))return}throw l}}async function BH(a,l,c){let o=`${l}/${k1}/${c}`,e=await a.web.lists.getByTitle(k1).items.filter(`startswith(FileDirRef,'${o}') and FSObjType eq 0`).select("Id")();if(e.length>0){let[t,h]=a.web.batched();e.forEach((Z)=>{t.lists.getByTitle(k1).items.getById(Z.Id).delete()}),await h()}let r=a.web.lists.getByTitle(k1).rootFolder.folders.getByUrl(c);await TH(r)}async function TH(a){let l=await a.folders();for(let c of l)await TH(a.folders.getByUrl(c.Name));await a.delete()}var j1=(a)=>{return LH(a)};class Q3 extends Ec{constructor(a,l){if(typeof a==="string"){let c="",o="";if(B0(a)||a.lastIndexOf("/")<0)o=a,c=I1(a,l);else if(a.lastIndexOf("/")>a.lastIndexOf("(")){let e=a.lastIndexOf("/");o=a.slice(0,e),l=I1(a.slice(e),l),c=I1(o,l)}else{let e=a.lastIndexOf("(");o=a.slice(0,e),c=I1(a,l)}super(c);this.parentUrl=o}else{super(a,l);let c=Q0(a)?a[0]:a;this.parentUrl=Q0(a)?a[1]:c.toUrl()}}toRequestUrl(){let a=new URLSearchParams(this.query),l=this.toUrl().replace(/'!(@.+?)::((?:[^']|'')+)'/ig,(o,e,r)=>{return this.log(`Rewriting aliased parameter from match ${o} to label: ${e} value: ${r}`,0),a.set(e,`'${r}'`),e}),c=a.toString();if(!G5(c))l+=`${l.indexOf("?")>-1?"&":"?"}${c}`;return l}select(...a){if(a.length>0)this.query.set("$select",a.join(","));return this}expand(...a){if(a.length>0)this.query.set("$expand",a.join(","));return this}getParent(a,l,c=this.parentUrl){return a([this,c],l)}}var b0=j1(Q3);class p5 extends Q3{filter(a){if(typeof a==="object")return this.query.set("$filter",a.toString()),this;if(typeof a==="function")return this.query.set("$filter",a(Or.Where()).toString()),this;return this.query.set("$filter",a.toString()),this}orderBy(a,l=!0){let o=this.query.has("$orderby")?this.query.get("$orderby").split(","):[];return o.push(`${a} ${l?"asc":"desc"}`),this.query.set("$orderby",o.join(",")),this}skip(a){return this.query.set("$skip",a.toString()),this}top(a){return this.query.set("$top",a.toString()),this}}var K5=j1(p5);class l5 extends Q3{}var v2=j1(l5);function Wr(){return function(){return OH(this)}}function t3(){return function(a="*"){return uw(this,{},a)}}var bH=(a,l)=>{return Wc(a,Mv,l)},Y=(a,l)=>Wc(a,xH,l),Fa=(a,l)=>{return l=l||{},l.headers={...l.headers,"X-HTTP-Method":"MERGE"},Y(a,l)},OH=(a,l)=>{return l=l||{},l.headers={...l.headers||{},"X-HTTP-Method":"DELETE"},Y(a,l)},uw=(a,l,c="*")=>{return l=l||{},l.headers={...l.headers||{},"IF-Match":c},OH(a,l)};var EH=(a,l)=>Wc(a,CH,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 m5;(function(a){a.And="and",a.AndWithSpace=" and ",a.Or="or",a.OrWithSpace=" or "})(m5||(m5={}));class Or{static Where(){return new qH([])}}class Pc{constructor(a){this.query=[],this.query=a}}class fa extends Pc{constructor(a){super(a)}text(a){return new qc([...this.query,a])}choice(a){return new qc([...this.query,a])}multiChoice(a){return new qc([...this.query,a])}number(a){return new Er([...this.query,a])}date(a){return new QH([...this.query,a])}boolean(a){return new zH([...this.query,a])}lookup(a){return new PH([...this.query],a)}lookupId(a){let l=a.endsWith("Id")?a:`${a}Id`;return new Er([...this.query,l])}}class WH extends fa{or(...a){return new A0([...this.query,`(${a.map((l)=>l.toString()).join(m5.OrWithSpace)})`])}}class IH extends fa{and(...a){return new A0([...this.query,`(${a.map((l)=>l.toString()).join(m5.AndWithSpace)})`])}}class qH extends fa{or(...a){if(a==null||a.length===0)return new fa([...this.query,m5.Or]);return new A0([...this.query,`(${a.map((l)=>l.toString()).join(m5.OrWithSpace)})`])}and(...a){if(a==null||a.length===0)return new fa([...this.query,m5.And]);return new A0([...this.query,`(${a.map((l)=>l.toString()).join(m5.AndWithSpace)})`])}}class PH extends Pc{constructor(a,l){super(a);this.LookupField=l}Id(a){return new A0([...this.query,`${this.LookupField}/Id`,T0.Equals,a.toString()])}text(a){return new qc([...this.query,`${this.LookupField}/${a}`])}number(a){return new Er([...this.query,`${this.LookupField}/${a}`])}}class Vv extends Pc{constructor(a){super(a);this.LastIndex=a.length-1,this.InternalName=a[this.LastIndex]}toODataValue(a){return`'${a}'`}isNull(){return new A0([...this.query,T0.Equals,"null"])}isNotNull(){return new A0([...this.query,T0.NotEquals,"null"])}}class gv extends Vv{equals(a){return new A0([...this.query,T0.Equals,this.toODataValue(a)])}notEquals(a){return new A0([...this.query,T0.NotEquals,this.toODataValue(a)])}in(...a){return Or.Where().or(...a.map((l)=>this.equals(l)))}notIn(...a){return Or.Where().and(...a.map((l)=>this.notEquals(l)))}}class qc extends gv{startsWith(a){let l=`${T0.StartsWith}(${this.InternalName}, ${this.toODataValue(a)})`;return this.query[this.LastIndex]=l,new A0([...this.query])}contains(a){let l=`${T0.SubstringOf}(${this.toODataValue(a)}, ${this.InternalName})`;return this.query[this.LastIndex]=l,new A0([...this.query])}}class zH extends Vv{toODataValue(a){return`${a==null?"null":a?1:0}`}isTrue(){return new A0([...this.query,T0.Equals,this.toODataValue(!0)])}isFalse(){return new A0([...this.query,T0.Equals,this.toODataValue(!1)])}isFalseOrNull(){let a=`(${[this.InternalName,T0.Equals,this.toODataValue(null),m5.Or,this.InternalName,T0.Equals,this.toODataValue(!1)].join(" ")})`;return this.query[this.LastIndex]=a,new A0([...this.query])}}class fv extends gv{greaterThan(a){return new A0([...this.query,T0.GreaterThan,this.toODataValue(a)])}greaterThanOrEquals(a){return new A0([...this.query,T0.GreaterThanOrEqualTo,this.toODataValue(a)])}lessThan(a){return new A0([...this.query,T0.LessThan,this.toODataValue(a)])}lessThanOrEquals(a){return new A0([...this.query,T0.LessThanOrEqualTo,this.toODataValue(a)])}}class Er extends fv{toODataValue(a){return`${a}`}}class QH extends fv{toODataValue(a){return`'${a.toISOString()}'`}isBetween(a,l){let c=`(${[this.InternalName,T0.GreaterThan,this.toODataValue(a),m5.And,this.InternalName,T0.LessThan,this.toODataValue(l)].join(" ")})`;return this.query[this.LastIndex]=c,new A0([...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 A0 extends Pc{and(...a){if(a==null||a.length===0)return new WH([...this.query,m5.And]);return new A0([...this.query,m5.And,`(${a.map((l)=>l.toString()).join(m5.AndWithSpace)})`])}or(...a){if(a==null||a.length===0)return new IH([...this.query,m5.Or]);return new A0([...this.query,m5.Or,`(${a.map((l)=>l.toString()).join(m5.OrWithSpace)})`])}toString(){return this.query.join(" ")}}function c5(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=b0(a)}using(...a){return this._root.using(...a),this}create(a,l){return a(this._root,l)}}function xa(a=""){if(typeof a==="object"&&!Reflect.has(a,"length"))a=a._root;return new P2(a)}var zc="00000000-0000-0000-0000-000000000000",JH;(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"})(JH||(JH={}));var KH;(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"})(KH||(KH={}));var $H;(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"})($H||($H={}));function n0(a){if(G5(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 z2(a){let l=[],c=["odata.type","odata.editLink","__metadata","odata.metadata","odata.id"];if($1(a,c[0])&&a[c[0]]==="SP.Web"){if($1(a,c[4]))l.push(a[c[4]]);else if($1(a,c[2]))l.push(a.__metadata.uri)}else if($1(a,c[3])&&$1(a,c[1])){let o=B0(a[c[1]])?a[c[1]].split("_api")[1]:a[c[1]];l.push(n0(a[c[3]]),"_api",o)}else if($1(a,c[1]))l.push("_api",a[c[1]]);else if($1(a,c[2]))l.push(a.__metadata.uri);if(l.length<1)return"";return I1(...l)}function F7(a){return{DecodedUrl:a}}function Q1(a){if(G5(a))return"";if(/!(@.*?)::(.*?)/ig.test(a))return a.replace(/!(@.*?)::(.*)$/ig,(l,c,o)=>{return`!${c}::${o.replace(/'/ig,"''")}`});else return encodeURIComponent(a.replace(/'/ig,"''"))}function YH(a){if(G5(a))return"";if(/!(@.*?)::(.*?)/ig.test(a))return a.replace(/!(@.*?)::(.*)$/ig,(l,c,o)=>{return`!${c}::${o.replace(/'/ig,"''")}`});else return a.replace(/'/ig,"''")}function XH(){return(a)=>{return a.on.pre(async function(l,c,o){let e="PnPCoreJS:4.16.0:",{pathname:r}=new URL(l);if(e=r.split("/").filter((t)=>!G5(t)&&["_api","v2.1","v2.0"].indexOf(t)<0).map((t,h,Z)=>h===Z.length-1?t.replace(/\(.*?$/i,"()"):t[0]).join("."),e.length>32)e=e.substring(0,32);return this.log(`Request Tag: ${e}`,0),c.headers={...c.headers,["X-ClientService-ClientTag"]:e},[l,c,o]}),a}}function Ir(){return(a)=>{return a.on.pre(async(l,c,o)=>{return c.cache="no-cache",c.credentials="same-origin",[l,c,o]}),a.using(XH(),GH(),UH()),a}}function qr(){return(a)=>{return a.using(_v({Accept:"application/json","Content-Type":"application/json;charset=utf-8"})),a}}function e0(a,l,c,o){var e=arguments.length,r=e<3?l:o===null?o=Object.getOwnPropertyDescriptor(l,c):o,t;if(typeof Reflect==="object"&&typeof Reflect.decorate==="function")r=Reflect.decorate(a,l,c,o);else for(var h=a.length-1;h>=0;h--)if(t=a[h])r=(e<3?t(r):e>3?t(l,c,r):t(l,c))||r;return e>3&&r&&Object.defineProperty(l,c,r),r}var xv=class a extends p5{async add(l,c,o="",e="STS",r=1033,t=!0){let h=B1({parameters:{Description:o,Language:r,Title:l,Url:c,UseSamePermissionsAsParentSite:t,WebTemplate:e}});return Y(Cv(this,"add"),h)}};xv=e0([c5("webs")],xv);var Cv=j1(xv);function Fv(a,l){let c="_api/web",o=/(_api[/|\\](site\/rootweb|site|web))/i.exec(a);if((o===null||o===void 0?void 0:o.length)>0)a=n0(a),c=o[1];if((l===null||l===void 0?void 0:l.indexOf("_api"))<0)a=I1(a,c);return a}var Z0=class a extends l5{constructor(l,c){if(typeof l==="string")l=Fv(l,c);else if(Q0(l))l=[l[0],Fv(l[1],c)];else l=[l,Fv(l.toUrl(),c)];super(l,c);this.delete=Wr()}get webs(){return Cv(this)}get allProperties(){return v2(this,"allproperties")}get webinfos(){return K5(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 d0([this,I1(new URL(l).origin,c.ServerRelativeUrl)]);return null}async update(l){return Fa(this,B1(l))}applyTheme(l,c,o,e){let r=B1({backgroundImageUrl:o,colorPaletteUrl:l,fontSchemeUrl:c,shareGenerated:e});return Y(d0(this,"applytheme"),r)}applyWebTemplate(l){return Y(d0(this,`applywebtemplate(webTemplate='${Q1(l)}')`))}getChanges(l){return Y(d0(this,"getchanges"),B1({query:l}))}mapToIcon(l,c=0,o=""){return d0(this,`maptoicon(filename='${Q1(l)}',progid='${Q1(o)}',size=${c})`)()}getStorageEntity(l){return d0(this,`getStorageEntity('${Q1(l)}')`)()}setStorageEntity(l,c,o="",e=""){return Y(d0(this,"setStorageEntity"),B1({comments:e,description:o,key:l,value:c}))}removeStorageEntity(l){return Y(d0(this,`removeStorageEntity('${Q1(l)}')`))}getSubwebsFilteredForCurrentUser(l=-1,c=-1){return K5(this,`getSubwebsFilteredForCurrentUser(nWebTemplateFilter=${l},nConfigurationFilter=${c})`)}availableWebTemplates(l=1033,c=!0){return K5(this,`getavailablewebtemplates(lcid=${l},doincludecrosslanguage=${c})`)}};Z0=e0([c5("_api/web")],Z0);var d0=j1(Z0);P2.prototype.batched=function(a){let l=xa(this),[c,o]=NH(l._root,a);return l.using(c),[l,o]};Z0.prototype.batched=function(a){let l=d0(this),[c,o]=NH(l,a);return l.using(c),[l,o]};var Ca=Symbol.for("batch_registration"),N4=Symbol.for("batch_request");function Aw(){return i2(async(a)=>{let l=await a.text();return Hw(l)})}class Lv extends Q3{constructor(a,l=a.toUrl().replace(/_api[\\|/].*$/i,"")){super(l,"_api/$batch");this.requestBaseUrl=l,this.using(Oc(a,"replace"),Aw()),this.on.dispose(()=>{a.using(Oc(this,"replace",(c)=>/(auth|send|pre|init)/i.test(c)))})}}function NH(a,l){let c=[],o=[],e=[],r=new Lv(a),t=r3(),h=new Lv(a),{headersCopyPattern:Z,maxRequests:i}={headersCopyPattern:/Accept|Content-Type|IF-Match/i,maxRequests:20,...l};return[(d)=>{return d.on.init(function(){if(U5(this[Ca]))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((m)=>{this[Ca]=m})),this}),d.on.pre(async function(m,s,p){if($1(s.headers,"X-PnP-BatchNever")){if(typeof this[N4]==="function")this[N4](),delete this[N4];return this.using(Oc(h,"replace",(M)=>/(init|pre)/i.test(M))),[m,s,p]}return this.on.auth.clear(),this.on.send.replace(async function(M,u){let A=new Promise((V)=>{e.push([this,M.toString(),u,V])});return this.log(`[batch:${t}] (${(/*@__PURE__*/new Date()).getTime()}) Adding request ${u.method} ${M.toString()} to batch.`,0),o.push(new Promise((V)=>{this[N4]=V})),this[Ca](),A}),this.on.dispose(function(){if(U5(this[Ca]))this[Ca](),delete this[Ca];if(U5(this[N4]))this[N4](),delete this[N4],this.using(Oc(h,"replace",(M)=>/(auth|pre|send|init|dispose)/i.test(M)))}),[m,s,p]}),d},async()=>{if(await Promise.all(c),e.length<1)return Promise.all(o).then(()=>{return});let d=e.slice();while(d.length>0){let m=d.splice(0,i),s=[],p="";for(let u=0;u<m.length;u++){let[,A,V]=m[u];if(V.method==="GET"){if(p.length>0)s.push(`--changeset_${p}--
|
|
151
|
+
);}`,".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%;}}","@keyframes ftc26vs{0%{opacity:.2;}50%{opacity:1;}100%{opacity:.2;}}"]}),s9=(a)=>{let{color:l,max:c,shape:o,thickness:r,value:e}=a,h=fw(),Z=Vw();if(a.root.className=S(m9.root,h.root,h[o],h[r],a.root.className),a.bar)a.bar.className=S(m9.bar,Z.base,Z.brand,e===void 0&&Z.indeterminate,e!==void 0&&e>Hw&&Z.nonZeroDeterminate,l&&e!==void 0&&Z[l],a.bar.className);if(a.bar&&e!==void 0)a.bar.style={width:Math.min(100,Math.max(0,e/c*100))+"%",...a.bar.style};return a};var N7=/*@__PURE__*/q((a,l)=>{let c=M9(a,l);return s9(c),Q("useProgressBarStyles_unstable")(c),A9(c)});N7.displayName="ProgressBar";g();g();var u9=(a,l)=>{let{size:c="medium",vertical:o=!1}=a,r=ga({circular:!0,axis:"both"}),e={size:c,vertical:o,components:{root:"div"},root:G.always(a1("div",{role:"toolbar",ref:l,...o&&{"aria-orientation":"vertical"},...r,...a}),{elementType:"div"})},[h,Z]=Fw({checkedValues:a.checkedValues,defaultCheckedValues:a.defaultCheckedValues,onCheckedValueChange:a.onCheckedValueChange}),t=Y((v,n,d,p)=>{if(n&&d){let _=[...(h===null||h===void 0?void 0:h[n])||[]];if(p)_.splice(_.indexOf(d),1);else _.push(d);Z===null||Z===void 0||Z(v,{name:n,checkedItems:_})}}),i=Y((v,n,d,p)=>{if(n&&d)Z===null||Z===void 0||Z(v,{name:n,checkedItems:[d]})});return{...e,handleToggleButton:t,handleRadio:i,checkedValues:h!==null&&h!==void 0?h:{}}},Fw=(a)=>{let[l,c]=Y0({state:a.checkedValues,defaultState:a.defaultCheckedValues,initialState:{}}),{onCheckedValueChange:o}=a,r=Y((e,{name:h,checkedItems:Z})=>{if(o)o(e,{name:h,checkedItems:Z});c((t)=>{return t?{...t,[h]:Z}:{[h]:Z}})});return[l,r]};var Ns=g2(void 0);var H9=(a,l)=>{return z(a),/*@__PURE__*/L(Ns.Provider,{value:l.toolbar,children:/*@__PURE__*/L(a.root,{children:a.root.children})})};var jr={root:"fui-Toolbar"},gw=/*@__PURE__*/U({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}]]}),f9=(a)=>{let l=gw(),{vertical:c,size:o}=a;return a.root.className=S(jr.root,l.root,c&&l.vertical,o==="small"&&!c&&l.small,o==="medium"&&!c&&l.medium,o==="large"&&!c&&l.large,a.root.className),a};function au(a){let{size:l,handleToggleButton:c,vertical:o,checkedValues:r,handleRadio:e}=a;return{toolbar:{size:l,vertical:o,handleToggleButton:c,handleRadio:e,checkedValues:r}}}var k4=/*@__PURE__*/q((a,l)=>{let c=u9(a,l),o=au(c);return f9(c),Q("useToolbarStyles_unstable")(c),H9(c,o)});k4.displayName="Toolbar";g();var xw=/*@__PURE__*/U({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}]]}),V9=(a)=>{let l=xw();if(a.root.className=S(a.vertical&&l.vertical,a.root.className),a.icon)a.icon.className=S(a.vertical&&l.verticalIcon,a.icon.className);L3(a)};g();var F9=(a,l)=>{let{vertical:c=!1,...o}=a,r=C3({appearance:"subtle",...o,size:"medium"},l);return{vertical:c,...r}};var y2=/*@__PURE__*/q((a,l)=>{let c=F9(a,l);return V9(c),Q("useToolbarButtonStyles_unstable")(c),K7(c)});y2.displayName="ToolbarButton";g();g();g();var lu=Z1(void 0),Cw={size:"medium",noNativeElements:!1,sortable:!1},di=lu.Provider,$5=()=>{var a;return(a=e1(lu))!==null&&a!==void 0?a:Cw};var g9=(a,l)=>{let{noNativeElements:c,size:o}=$5();var r;let e=((r=a.as)!==null&&r!==void 0?r:c)?"div":"td";return{components:{root:e},root:G.always(a1(e,{ref:l,role:e==="div"?"cell":void 0,...a}),{elementType:e}),noNativeElements:c,size:o}};var x9=(a)=>{return z(a),/*@__PURE__*/L(a.root,{})};var Nr="fui-TableCell",ae={root:Nr},Lw=/*@__PURE__*/U({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;}"]}),Rw=/*@__PURE__*/U({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;}"]}),ww=/*@__PURE__*/U({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}]]}),C9=(a)=>{let l=ww(),c={table:Lw(),flex:Rw()};return a.root.className=S(ae.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 u7=/*@__PURE__*/q((a,l)=>{let c=g9(a,l);return C9(c),Q("useTableCellStyles_unstable")(c),x9(c)});u7.displayName="TableCell";g();g();g();var cu=Z1(void 0),Sw="",pi=cu.Provider,_i=()=>e1(cu)===Sw;var L9=(a,l)=>{let{noNativeElements:c,size:o}=$5();var r;let e=((r=a.as)!==null&&r!==void 0?r:c)?"div":"tr",h=z7(),Z=f2(),t=_i();var i;return{components:{root:e},root:G.always(a1(e,{ref:w1(l,h,Z),role:e==="div"?"row":void 0,...a}),{elementType:e}),size:o,noNativeElements:c,appearance:(i=a.appearance)!==null&&i!==void 0?i:"none",isHeaderRow:t}};var R9=(a)=>{return z(a),/*@__PURE__*/L(a.root,{})};var le="fui-TableRow",ce={root:le},Gw=/*@__PURE__*/U({root:{mc9l5x:"f1u0rzck"}},{d:[".f1u0rzck{display:table-row;}"]}),Uw=/*@__PURE__*/U({root:{mc9l5x:"f22iagw",Bt984gj:"f122n59"}},{d:[".f22iagw{display:flex;}",".f122n59{align-items:center;}"]}),Bw=/*@__PURE__*/U({root:{sj55zd:"f19n0e5",B7ck84d:"f1ewtqcl",Bconypa:"f1jazu75",B6guboy:"f1xeqee6",Bfpq7zp:0,g9k6zt:0,Bn4voq9:0,giviqs:"f1dxfoyt",Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"f2krc9w"},rootInteractive:{B6guboy:"f1xeqee6",ecr2s2:"f1wfn5kd",lj723h:"f1g4hkjv",B43xm9u:"f15ngxrw",i921ia:"fjbbrdp",Jwef8y:"f1t94bn6",Bi91k9c:"feu1g3u",Bpt6rm4:"f1uorfem",ff6mpl:"fw60kww",Bahaeuw:"f1v3eptx",F230oe:"f8gmj8i",Bdw8ktp:["f1ap8nzx","fjag8bx"],Bj1xduy:"f1igan7k",Bhh2cfd:["fjag8bx","f1ap8nzx"]},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",wmvzou:0,sc4o1m:0,wymq9i:0,u9orzk:0,puiv5t:0,Bosien3:0,b2z72d:0,Beulxaw:0,B57pkaw:0,Jcjdmf:0,B8qgbzl:0,Bbmb0sr:0,B14q8qp:0,Bcq6wej:0,Byz1pjr:0,kr9cjb:0,Ff9ifp:"f1msmgpi",Bmclvqj:0,psczho:0,B0tx59b:0,sk7i8k:0,zlwzm7:"fbo0xvd",Bkp2nk:"fjuvmhu",gy0h4g:"f1kvufhq"},neutral:{wmvzou:0,sc4o1m:0,wymq9i:0,u9orzk:0,puiv5t:0,Bosien3:0,b2z72d:0,Beulxaw:0,B57pkaw:0,Jcjdmf:0,B8qgbzl:0,Bbmb0sr:0,B14q8qp:0,Bcq6wej:0,Byz1pjr:0,kr9cjb:0,Ff9ifp:"f1msmgpi",Bmclvqj:0,psczho:0,B0tx59b:0,sk7i8k:0,zlwzm7:"fbo0xvd",Bkp2nk:"fjuvmhu",gy0h4g:"f1kvufhq",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;}",".f1jazu75[data-fui-focus-within]:focus-within .fui-TableSelectionCell{opacity:1;}",".f1xeqee6[data-fui-focus-within]:focus-within .fui-TableCellActions{opacity:1;}",[".f1dxfoyt[data-fui-focus-visible]{outline:2px solid var(--colorStrokeFocus2);}",{p:-1}],[".f2krc9w[data-fui-focus-visible]{border-radius:var(--borderRadiusMedium);}",{p:-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);}"],a:[".f1wfn5kd:active{background-color:var(--colorSubtleBackgroundPressed);}",".f1g4hkjv:active{color:var(--colorNeutralForeground1Pressed);}",".f15ngxrw:active .fui-TableCellActions{opacity:1;}",".fjbbrdp:active .fui-TableSelectionCell{opacity:1;}",".f7tkmfy:active{background-color:var(--colorBrandBackground2);}",".f1r2dosr:active{color:var(--colorNeutralForeground1);}",".fa9o754:active{background-color:var(--colorSubtleBackgroundSelected);}"],h:[".f1t94bn6:hover{background-color:var(--colorSubtleBackgroundHover);}",".feu1g3u:hover{color:var(--colorNeutralForeground1Hover);}",".f1uorfem:hover .fui-TableCellActions{opacity:1;}",".fw60kww:hover .fui-TableSelectionCell{opacity:1;}",".f1uqaxdt:hover{background-color:var(--colorSubtleBackgroundSelected);}"],m:[["@media (forced-colors: active){.f1v3eptx:hover{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f8gmj8i:hover{border-top-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1ap8nzx:hover{border-right-color:Highlight;}.fjag8bx:hover{border-left-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1igan7k:hover{border-bottom-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1msmgpi{border:2px solid transparent;}}",{p:-2,m:"(forced-colors: active)"}],["@media (forced-colors: active){.fbo0xvd{border-radius:var(--borderRadiusMedium);}}",{p:-1,m:"(forced-colors: active)"}],["@media (forced-colors: active){.fjuvmhu{box-sizing:border-box;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1kvufhq:focus-visible{outline-offset:-4px;}}",{m:"(forced-colors: active)"}]]}),w9=(a)=>{let l=Bw(),c={table:Gw(),flex:Uw()};return a.root.className=S(ce.root,l.root,!a.isHeaderRow&&l.rootInteractive,l[a.size],a.noNativeElements?c.flex.root:c.table.root,l[a.appearance],a.root.className),a};var T3=/*@__PURE__*/q((a,l)=>{let c=L9(a,l);return w9(c),Q("useTableRowStyles_unstable")(c),R9(c)});T3.displayName="TableRow";g();g();var S9=(a,l)=>{let{noNativeElements:c}=$5();var o;let r=((o=a.as)!==null&&o!==void 0?o:c)?"div":"tbody";return{components:{root:r},root:G.always(a1(r,{ref:l,role:r==="div"?"rowgroup":void 0,...a}),{elementType:r}),noNativeElements:c}};var G9=(a)=>{return z(a),/*@__PURE__*/L(a.root,{})};var Dw=/*@__PURE__*/U({root:{mc9l5x:"f1tp1avn"}},{d:[".f1tp1avn{display:table-row-group;}"]}),kw=/*@__PURE__*/U({root:{mc9l5x:"ftgm304"}},{d:[".ftgm304{display:block;}"]}),oe="fui-TableBody";var U9=(a)=>{let l={table:Dw(),flex:kw()};return a.root.className=S(oe,a.noNativeElements?l.flex.root:l.table.root,a.root.className),a};var y4=/*@__PURE__*/q((a,l)=>{let c=S9(a,l);return U9(c),Q("useTableBodyStyles_unstable")(c),G9(c)});y4.displayName="TableBody";g();g();var B9=(a,l)=>{var c;let o=((c=a.as)!==null&&c!==void 0?c:a.noNativeElements)?"div":"table";var r,e,h;return{components:{root:o},root:G.always(a1(o,{ref:l,role:o==="div"?"table":void 0,...a}),{elementType:o}),size:(r=a.size)!==null&&r!==void 0?r:"medium",noNativeElements:(e=a.noNativeElements)!==null&&e!==void 0?e:!1,sortable:(h=a.sortable)!==null&&h!==void 0?h:!1}};var D9=(a,l)=>{return z(a),/*@__PURE__*/L(di,{value:l.table,children:/*@__PURE__*/L(a.root,{})})};var re="fui-Table";var yw=/*@__PURE__*/U({root:{mc9l5x:"f1w4nmp0",ha4doy:"fmrv4ls",a9b677:"fly5x3f",B73mfa3:"f14m3nip"}},{d:[".f1w4nmp0{display:table;}",".fmrv4ls{vertical-align:middle;}",".fly5x3f{width:100%;}",".f14m3nip{table-layout:fixed;}"]}),Ow=/*@__PURE__*/U({root:{mc9l5x:"ftgm304"}},{d:[".ftgm304{display:block;}"]}),Pw=/*@__PURE__*/U({root:{po53p8:"fgkb47j",De3pzq:"fhovq9v"}},{d:[".fgkb47j{border-collapse:collapse;}",".fhovq9v{background-color:var(--colorSubtleBackground);}"]}),k9=(a)=>{let l=Pw(),c={table:yw(),flex:Ow()};return a.root.className=S(re,l.root,a.noNativeElements?c.flex.root:c.table.root,a.root.className),a};g();function ru(a){let{size:l,noNativeElements:c,sortable:o}=a;return{table:_1(()=>({noNativeElements:c,size:l,sortable:o}),[c,l,o])}}var O4=/*@__PURE__*/q((a,l)=>{let c=B9(a,l);return k9(c),Q("useTableStyles_unstable")(c),D9(c,ru(c))});O4.displayName="Table";g();g();var y9=(a,l)=>{let{noNativeElements:c}=$5();var o;let r=((o=a.as)!==null&&o!==void 0?o:c)?"div":"thead";return{components:{root:r},root:G.always(a1(r,{ref:l,role:r==="div"?"rowgroup":void 0,...a}),{elementType:r}),noNativeElements:c}};var O9=(a)=>{return z(a),/*@__PURE__*/L(pi,{value:"",children:/*@__PURE__*/L(a.root,{})})};var ee="fui-TableHeader";var Tw=/*@__PURE__*/U({root:{mc9l5x:"ftgm304"}},{d:[".ftgm304{display:block;}"]}),bw=/*@__PURE__*/U({root:{mc9l5x:"f1tp1avn"}},{d:[".f1tp1avn{display:table-row-group;}"]}),P9=(a)=>{let l={table:bw(),flex:Tw()};return a.root.className=S(ee,a.noNativeElements?l.flex.root:l.table.root,a.root.className),a};var P4=/*@__PURE__*/q((a,l)=>{let c=y9(a,l);return P9(c),Q("useTableHeaderStyles_unstable")(c),O9(c)});P4.displayName="TableHeader";g();g();var Ew={ascending:/*@__PURE__*/o1(YA,{fontSize:12}),descending:/*@__PURE__*/o1($A,{fontSize:12})},T9=(a,l)=>{let{noNativeElements:c,sortable:o}=$5(),{sortable:r=o}=a;var e;let h=((e=a.as)!==null&&e!==void 0?e:c)?"div":"th",Z=G.always(a.button,{elementType:"div",defaultProps:{as:"div"}}),t=x2(Z.as,Z);var i;return{components:{root:h,button:"div",sortIcon:"span",aside:"span"},root:G.always(a1(h,{ref:w1(l,f2()),role:h==="div"?"columnheader":void 0,"aria-sort":r?(i=a.sortDirection)!==null&&i!==void 0?i:"none":void 0,...a}),{elementType:h}),aside:G.optional(a.aside,{elementType:"span"}),sortIcon:G.optional(a.sortIcon,{renderByDefault:!!a.sortDirection,defaultProps:{children:a.sortDirection?Ew[a.sortDirection]:void 0},elementType:"span"}),button:r?t:Z,sortable:r,noNativeElements:c}};var b9=(a)=>{return z(a),/*@__PURE__*/H1(a.root,{children:[/*@__PURE__*/H1(a.button,{children:[a.root.children,a.sortIcon&&/*@__PURE__*/L(a.sortIcon,{})]}),a.aside&&/*@__PURE__*/L(a.aside,{})]})};var T4={root:"fui-TableHeaderCell",button:"fui-TableHeaderCell__button",sortIcon:"fui-TableHeaderCell__sortIcon",aside:"fui-TableHeaderCell__aside"},qw=/*@__PURE__*/U({root:{mc9l5x:"f15pt5es",ha4doy:"fmrv4ls"}},{d:[".f15pt5es{display:table-cell;}",".fmrv4ls{vertical-align:middle;}"]}),Ww=/*@__PURE__*/U({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;}"]}),zw=/*@__PURE__*/U({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);}"]}),E9=(a)=>{let l=zw(),c={table:qw(),flex:Ww()};if(a.root.className=S(T4.root,l.root,a.sortable&&l.rootInteractive,a.noNativeElements?c.flex.root:c.table.root,a.root.className),a.button.className=S(T4.button,l.resetButton,l.button,a.sortable&&l.sortable,a.button.className),a.sortIcon)a.sortIcon.className=S(T4.sortIcon,l.sortIcon,a.sortIcon.className);if(a.aside)a.aside.className=S(T4.aside,l.resizeHandle,a.aside.className);return a};var b4=/*@__PURE__*/q((a,l)=>{let c=T9(a,l);return E9(c),Q("useTableHeaderCellStyles_unstable")(c),b9(c)});b4.displayName="TableHeaderCell";g();g();var Qw={medium:32,small:24,"extra-small":20},q9=(a,l)=>{let{size:c}=$5();return{components:{root:"div",main:"span",description:"span",content:"div",media:"span"},root:G.always(a1("div",{ref:l,...a},["content"]),{elementType:"div"}),appearance:a.appearance,truncate:a.truncate,main:G.optional(a.main,{renderByDefault:!0,elementType:"span"}),media:G.optional(a.media,{elementType:"span"}),description:G.optional(a.description,{elementType:"span"}),content:G.optional(a.content,{renderByDefault:!!a.description||!!a.children,elementType:"div"}),avatarSize:Qw[c],size:c}};var W9=(a,l)=>{return z(a),/*@__PURE__*/H1(a.root,{children:[a.media&&/*@__PURE__*/L(xr,{value:l.avatar,children:/*@__PURE__*/L(a.media,{})}),a.content&&/*@__PURE__*/H1(a.content,{children:[a.main&&/*@__PURE__*/L(a.main,{children:a.root.children}),a.description&&/*@__PURE__*/L(a.description,{})]})]})};var b3={root:"fui-TableCellLayout",media:"fui-TableCellLayout__media",main:"fui-TableCellLayout__main",description:"fui-TableCellLayout__description",content:"fui-TableCellLayout__content"},Jw=/*@__PURE__*/U({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);}"]}),z9=(a)=>{let l=Jw(),{truncate:c}=a;a.root.className=S(b3.root,l.root,c&&l.rootTruncate,a.root.className);let o=a.appearance==="primary";if(a.media){let r={small:l.mediaSmallAndMedium,medium:l.mediaSmallAndMedium,"extra-small":l.mediaExtraSmall};a.media.className=S(b3.media,l.media,r[a.size],o&&l.mediaPrimary,a.media.className)}if(a.main)a.main.className=S(b3.main,c&&l.mainTruncate,o&&l.mainPrimary,a.main.className);if(a.description)a.description.className=S(b3.description,l.description,a.description.className);if(a.content)a.content.className=S(b3.content,l.content,c&&l.contentTruncate,a.content.className);return a};g();function tu(a){let{avatarSize:l}=a;return{avatar:_1(()=>({size:l}),[l])}}var H7=/*@__PURE__*/q((a,l)=>{let c=q9(a,l);return z9(c),Q("useTableCellLayoutStyles_unstable")(c),W9(c,tu(c))});H7.displayName="TableCellLayout";g();var U0={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"},s5={bottom:"bottom",bottomEnd:"bottom-end",bottomStart:"bottom-start",top:"top",topEnd:"top-end",topStart:"top-start"};var Iw=0;function Mi(a,l={},c){var o;let r={...l,content:a,toastId:(o=l.toastId)!==null&&o!==void 0?o:(Iw++).toString()},e=new CustomEvent(U0.show,{bubbles:!1,cancelable:!1,detail:r});c.dispatchEvent(e)}function Ai(a,l=void 0,c){let o=new CustomEvent(U0.dismiss,{bubbles:!1,cancelable:!1,detail:{toastId:a,toasterId:l}});c.dispatchEvent(o)}function mi(a=void 0,l){let c=new CustomEvent(U0.dismissAll,{bubbles:!1,cancelable:!1,detail:{toasterId:a}});l.dispatchEvent(c)}function si(a,l){let c=new CustomEvent(U0.update,{bubbles:!1,cancelable:!1,detail:a});l.dispatchEvent(c)}function ui(a,l=void 0,c){let o=new CustomEvent(U0.pause,{bubbles:!1,cancelable:!1,detail:{toastId:a,toasterId:l}});c.dispatchEvent(o)}function Hi(a,l=void 0,c){let o=new CustomEvent(U0.play,{bubbles:!1,cancelable:!1,detail:{toastId:a,toasterId:l}});c.dispatchEvent(o)}g();function iu(a,l){for(let[c,o]of Object.entries(l))if(o!=null)a[c]=o}var $w={onStatusChange:void 0,priority:0,pauseOnHover:!1,pauseOnWindowBlur:!1,position:"bottom-end",timeout:3000},Yw=0;function fi(a){let{limit:l=Number.POSITIVE_INFINITY}=a,c=/*@__PURE__*/new Set,o=/*@__PURE__*/new Map,r=G6((v,n)=>{let d=o.get(v),p=o.get(n);if(!d||!p)return 0;if(d.priority===p.priority)return d.order-p.order;return d.priority-p.priority});return{buildToast:(v,n)=>{var d;let{toastId:p,content:M,toasterId:_}=v;if(o.has(p))return;let u={...$w,close:()=>{var f;let H=o.get(p);if(!H)return;c.delete(p),n(),(f=H.onStatusChange)===null||f===void 0||f.call(H,null,{status:"dismissed",...H})},remove:()=>{if(!o.get(p))return;if(o.delete(p),c.size<l&&r.peek()){let H=o.get(r.dequeue());if(!H)return;c.add(H.toastId)}n()},toastId:p,content:M,updateId:0,toasterId:_,order:Yw++,data:{},imperativeRef:A5()};if(iu(u,a),iu(u,v),o.set(p,u),(d=u.onStatusChange)===null||d===void 0||d.call(u,null,{status:"queued",...u}),c.size>=l)r.enqueue(p);else c.add(p)},dismissAllToasts:()=>{c.clear(),r.clear()},dismissToast:(v)=>{c.delete(v)},isToastVisible:(v)=>{return c.has(v)},updateToast:(v)=>{let{toastId:n}=v,d=o.get(n);if(!d)return;Object.assign(d,v),d.updateId++},visibleToasts:c,toasts:o}}var a3=(a,l,c)=>{let o={};var r;let e=c?Xw(c)?c:(r=c[a])!==null&&r!==void 0?r:{}:{},h=a==="top"||a==="bottom",{horizontal:Z=h?0:20,vertical:t=16}=e,i=l==="ltr"?"left":"right",v=l==="ltr"?"right":"left";switch(a){case"top":Object.assign(o,{top:t,left:`calc(50% + ${Z}px)`,transform:"translateX(-50%)"});break;case"bottom":Object.assign(o,{bottom:t,left:`calc(50% + ${Z}px)`,transform:"translateX(-50%)"});break;case"top-start":Object.assign(o,{top:t,[i]:Z});break;case"top-end":Object.assign(o,{top:t,[v]:Z});break;case"bottom-start":Object.assign(o,{bottom:t,[i]:Z});break;case"bottom-end":Object.assign(o,{bottom:t,[v]:Z});break}return o};function Xw(a){return"horizontal"in a||"vertical"in a}function Vi(a={}){let l=w6(),{toasterId:c,shortcuts:o}=a,[r]=t1(()=>fi(a)),{targetDocument:e}=A1(),h=k(null),Z=Y((_)=>{return _===c}),t=Y((_)=>{if(o===null||o===void 0?void 0:o.focus)return o.focus(_)}),i=W(()=>{r.visibleToasts.forEach((_)=>{var A;let m=r.toasts.get(_);m===null||m===void 0||(A=m.imperativeRef.current)===null||A===void 0||A.pause()})},[r]),v=W(()=>{r.visibleToasts.forEach((_)=>{var A;let m=r.toasts.get(_);m===null||m===void 0||(A=m.imperativeRef.current)===null||A===void 0||A.play()})},[r]),n=W(()=>{return Array.from(r.visibleToasts).reduce((_,A)=>{let m=r.toasts.get(A);if(!m)return _;if(!_)return m;if(_.order<(m===null||m===void 0?void 0:m.order))return m;return _},void 0)},[r]),d=W(()=>{let _=n();if(_===null||_===void 0?void 0:_.imperativeRef.current)_.imperativeRef.current.focus();else{var A;(A=h.current)===null||A===void 0||A.focus(),h.current=null}},[n]),p=W(()=>{r.visibleToasts.forEach((_)=>{let A=r.toasts.get(_);A===null||A===void 0||A.close()}),d()},[r,d]);N(()=>{if(!e)return;let _=(x,w)=>{let D=($)=>{if(!Z($.detail.toasterId))return;w($),l()};return e.addEventListener(x,D),()=>e.removeEventListener(x,D)},A=(x)=>{r.buildToast(x.detail,l)},m=(x)=>{r.dismissToast(x.detail.toastId)},u=(x)=>{r.updateToast(x.detail)},f=(x)=>{r.dismissAllToasts()},H=(x)=>{let w=r.toasts.get(x.detail.toastId);if(w){var D;(D=w.imperativeRef.current)===null||D===void 0||D.pause()}},F=(x)=>{let w=r.toasts.get(x.detail.toastId);if(w){var D;(D=w.imperativeRef.current)===null||D===void 0||D.play()}},R=_(U0.show,A),C=_(U0.update,u),b=_(U0.dismiss,m),O=_(U0.dismissAll,f),c1=_(U0.pause,H),l1=_(U0.play,F),J=(x)=>{if(t(x)){i();let D=n();if(D){var w;h.current=P1(e.activeElement)?e.activeElement:null,(w=D.imperativeRef.current)===null||w===void 0||w.focus()}}};return e.addEventListener("keydown",J),()=>{R(),O(),C(),b(),c1(),l1(),e.removeEventListener("keydown",J)}},[r,l,e,Z,i,n,t]);let M=(()=>{if(!r)return/*@__PURE__*/new Map;let _=/*@__PURE__*/new Map;return Array.from(r.toasts.values()).forEach((m)=>{let{position:u}=m;if(_.has(u)||_.set(u,[]),u.startsWith("bottom"))_.get(u).push(m);else _.get(u).unshift(m)}),_})();return{isToastVisible:r.isToastVisible,toastsToRender:M,pauseAllToasts:i,playAllToasts:v,tryRestoreFocus:d,closeAllToasts:p}}g();var Z8=()=>{return};function E4(a){let{targetDocument:l}=A1();return _1(()=>{if(!l)return{dispatchToast:Z8,dismissToast:Z8,dismissAllToasts:Z8,updateToast:Z8,pauseToast:Z8,playToast:Z8};return{dispatchToast:(c,o)=>{Mi(c,{...o,toasterId:a,data:{root:o===null||o===void 0?void 0:o.root}},l)},dismissToast:(c)=>{Ai(c,a,l)},dismissAllToasts:()=>{mi(a,l)},updateToast:(c)=>{si({...c,data:{root:c.root},toasterId:a},l)},pauseToast:(c)=>{ui(c,a,l)},playToast:(c)=>{Hi(c,a,l)}}},[l,a])}g();var Kw={close:()=>null,intent:void 0,bodyId:"",titleId:""},nu=/*@__PURE__*/Z1(void 0),vu=nu.Provider,he=()=>{var a;return(a=e1(nu))!==null&&a!==void 0?a:Kw};g();g();g();g();g();var du=/*@__PURE__*/j("r16zaflb","r75casi",[".r16zaflb{animation-name:rsacmq1;}","@keyframes rsacmq1{from{opacity:0;}to{opacity:0;}}",".r75casi{animation-name:rsacmq1;}"]);var Ze=/*@__PURE__*/q((a,l)=>{let c=du(),{running:o,timeout:r,onTimeout:e}=a,h={animationDuration:`${r}ms`,animationPlayState:o?"running":"paused"};if(r<0)return null;return/*@__PURE__*/o1("span",{onAnimationEnd:e,"data-timer-status":h.animationPlayState,ref:l,style:h,className:c})});Ze.displayName="Timer";var jw={success:"assertive",warning:"assertive",error:"assertive",info:"polite"},pu=(a,l)=>{let{visible:c,children:o,close:r,remove:e,updateId:h,announce:Z,data:t,timeout:i,politeness:v,intent:n="info",pauseOnHover:d,pauseOnWindowBlur:p,imperativeRef:M,tryRestoreFocus:_,content:A,...m}=a,u=j1("toast-title"),f=j1("toast-body"),H=k(null),{targetDocument:F}=A1(),[R,C]=t1(!1),b=k(!1),O=k(!1),c1=d4({tabBehavior:"limited-trap-focus",ignoreDefaultKeydown:{Tab:!0,Escape:!0,Enter:!0}}),l1=Y(()=>{var y;let P=F===null||F===void 0?void 0:F.activeElement;if(P&&((y=H.current)===null||y===void 0?void 0:y.contains(P)))O.current=!0;r()}),J=Y((y)=>{var P;return(P=a.onStatusChange)===null||P===void 0?void 0:P.call(a,null,{status:y,...a})}),x=Y(()=>C(!1)),w=Y(()=>{var y;if(b.current)return;var P;let x1=!!((y=H.current)===null||y===void 0?void 0:y.contains((P=F===null||F===void 0?void 0:F.activeElement)!==null&&P!==void 0?P:null));if(i<0){C(!0);return}if(!x1)C(!0)});h5(M,()=>({focus:()=>{if(!H.current)return;H.current.focus()},play:()=>{b.current=!1,w()},pause:()=>{b.current=!0,x()}})),N(()=>{return()=>J("unmounted")},[J]),N(()=>{if(!F)return;if(p){var y,P;return(y=F.defaultView)===null||y===void 0||y.addEventListener("focus",w),(P=F.defaultView)===null||P===void 0||P.addEventListener("blur",x),()=>{var x1,D1;(x1=F.defaultView)===null||x1===void 0||x1.removeEventListener("focus",w),(D1=F.defaultView)===null||D1===void 0||D1.removeEventListener("blur",x)}}},[F,x,w,p]);let D=t.root,$=W((y,{direction:P})=>{if(P==="exit")e();if(P==="enter")w(),J("visible")},[J,w,e]),K=Y((y)=>{var P;x(),D===null||D===void 0||(P=D.onMouseEnter)===null||P===void 0||P.call(D,y)}),n1=Y((y)=>{var P;w(),D===null||D===void 0||(P=D.onMouseEnter)===null||P===void 0||P.call(D,y)}),{findFirstFocusable:I,findLastFocusable:M1}=W7(),f1=Y((y)=>{var P;if(y.key===Ht)y.preventDefault(),l1();if(y.key===ya&&y.currentTarget===y.target)if(y.preventDefault(),y.shiftKey){var x1;(x1=M1(y.currentTarget))===null||x1===void 0||x1.focus()}else{var D1;(D1=I(y.currentTarget))===null||D1===void 0||D1.focus()}D===null||D===void 0||(P=D.onKeyDown)===null||P===void 0||P.call(D,y)});return N(()=>{var y;if(!c)return;let P=v!==null&&v!==void 0?v:jw[n];var x1;Z((x1=(y=H.current)===null||y===void 0?void 0:y.textContent)!==null&&x1!==void 0?x1:"",{politeness:P})},[Z,v,H,c,h,n]),N(()=>{return()=>{if(O.current)O.current=!1,_()}},[_]),{components:{timer:Ze,root:"div"},timer:G.always({onTimeout:l1,running:R,timeout:i!==null&&i!==void 0?i:-1},{elementType:Ze}),root:G.always(a1("div",{ref:w1(l,H),children:o,tabIndex:0,role:"listitem","aria-labelledby":u,"aria-describedby":f,...m,...D,...c1,onMouseEnter:K,onMouseLeave:n1,onKeyDown:f1}),{elementType:"div"}),timerTimeout:i,transitionTimeout:0,running:R,visible:c,remove:e,close:l1,onTransitionEntering:()=>{},updateId:h,nodeRef:H,intent:n,titleId:u,bodyId:f,onMotionFinish:$}};var _u=(a,l)=>{let{onMotionFinish:c,visible:o,updateId:r}=a;return z(a),/*@__PURE__*/L(vu,{value:l.toast,children:/*@__PURE__*/L(Vr,{appear:!0,onMotionFinish:c,visible:o,unmountOnExit:!0,children:/*@__PURE__*/H1(a.root,{children:[a.root.children,/*@__PURE__*/L(a.timer,{},r)]})})})};var te={root:"fui-ToastContainer",timer:"fui-ToastContainer__timer"},Nw=/*@__PURE__*/j("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);}"]),Fi=(a)=>{let l=Nw();return a.root.className=S(te.root,l,a.root.className),a};g();function Mu(a){let{close:l,intent:c,titleId:o,bodyId:r}=a;return{toast:_1(()=>({close:l,intent:c,titleId:o,bodyId:r}),[l,c,o,r])}}var ie=/*@__PURE__*/q((a,l)=>{let c=pu(a,l);return Fi(c),Q("useToastContainerStyles_unstable")(c),_u(c,Mu(c))});ie.displayName="ToastContainer";g();var Au=()=>{return};function mu(a,l){let{targetDocument:c}=A1(),o=k(Au);return W((r)=>{if(!r||!c){o.current(),o.current=Au;return}let e=c.createTreeWalker(r,NodeFilter.SHOW_ELEMENT,{acceptNode(i){if(P1(i)&&i.classList.contains(te.root))return NodeFilter.FILTER_ACCEPT;return NodeFilter.FILTER_SKIP}}),h=(i)=>{let{target:v,key:n}=i;if(!P1(v))return;if(n===q6){e.currentNode=v;let d=e.nextNode();if(!d)e.currentNode=r,d=e.nextNode();if(P1(d))d.focus()}if(n===s4){e.currentNode=v;let d=e.previousNode();if(d&&d.contains(v))d=e.previousNode();if(!d)e.currentNode=r,d=e.lastChild();if(P1(d))d.focus()}},Z=(i)=>{if(P1(i.currentTarget)&&!i.currentTarget.contains(P1(i.relatedTarget)?i.relatedTarget:null))a()},t=(i)=>{if(P1(i.currentTarget)&&!i.currentTarget.contains(P1(i.relatedTarget)?i.relatedTarget:null))l()};r.addEventListener("keydown",h),r.addEventListener("focusin",Z),r.addEventListener("focusout",t),o.current=()=>{r.removeEventListener("keydown",h),r.removeEventListener("focusin",Z),r.removeEventListener("focusout",t)}},[c,a,l])}g();function su(a){let l=k(!0),c=k(()=>{return}),o=W((e,h)=>{if(l.current)a(e,h)},[a]),r=W((e)=>{if(!e){c.current();return}let h=(t)=>{if(P1(t.currentTarget)&&t.currentTarget.contains(P1(t.relatedTarget)?t.relatedTarget:null))return;l.current=!1},Z=(t)=>{if(P1(t.currentTarget)&&t.currentTarget.contains(P1(t.relatedTarget)?t.relatedTarget:null))return;l.current=!0};e.addEventListener("focusin",h),e.addEventListener("focusout",Z),c.current=()=>{e.removeEventListener("focusin",h),e.removeEventListener("focusout",Z)}},[]);return{announceToast:o,toasterRef:r}}var Q9=(a)=>{let{offset:l,announce:c,mountNode:o,inline:r=!1,...e}=a,h=k(()=>null),{toastsToRender:Z,isToastVisible:t,pauseAllToasts:i,playAllToasts:v,tryRestoreFocus:n,closeAllToasts:d}=Vi(e),p=W((H,F)=>h.current(H,F),[]),{dir:M}=A1(),{onKeyDown:_,...A}=G.always(a1("div",e),{elementType:"div"}),m=d4({tabBehavior:"limited-trap-focus",ignoreDefaultKeydown:{Escape:!0}}),u=Y((H)=>{if(H.key===I7)H.preventDefault(),d();_===null||_===void 0||_(H)}),f=(H)=>{var F;let R=mu(i,v),{announceToast:C,toasterRef:b}=su(c!==null&&c!==void 0?c:p);return G.optional(Z.has(H)?A:null,{defaultProps:{ref:w1(R,b),children:(F=Z.get(H))===null||F===void 0?void 0:F.map((O)=>/*@__PURE__*/o1(ie,{...O,tryRestoreFocus:n,intent:O.intent,announce:C,key:O.toastId,visible:t(O.toastId)},O.content)),onKeyDown:u,...m,"data-toaster-position":H,role:"list"},elementType:"div"})};return{dir:M,mountNode:o,components:{root:"div",bottomStart:"div",bottomEnd:"div",topStart:"div",topEnd:"div",top:"div",bottom:"div"},root:G.always(A,{elementType:"div"}),bottomStart:f(s5.bottomStart),bottomEnd:f(s5.bottomEnd),topStart:f(s5.topStart),topEnd:f(s5.topEnd),top:f(s5.top),bottom:f(s5.bottom),announceRef:h,offset:l,announce:c!==null&&c!==void 0?c:p,renderAriaLive:!c,inline:r}};g();g();var aS=500,uu=(a)=>{let[l,c]=t1(void 0),o=k(0),[r]=t1(()=>G6((v,n)=>{if(v.politeness===n.politeness)return v.createdAt-n.createdAt;return v.politeness==="assertive"?-1:1})),e=Y((v,n)=>{let{politeness:d}=n;if(v===(l===null||l===void 0?void 0:l.message))return;let p={message:v,politeness:d,createdAt:o.current++};if(!l)c(p);else r.enqueue(p)}),[h,Z]=c2();N(()=>{return h(()=>{if(r.peek())c(r.dequeue());else c(void 0)},aS),()=>Z()},[l,r,h,Z]),h5(a.announceRef,()=>e);let t=(l===null||l===void 0?void 0:l.politeness)==="polite"?l.message:void 0,i=(l===null||l===void 0?void 0:l.politeness)==="assertive"?l.message:void 0;return{components:{assertive:"div",polite:"div"},assertive:G.always(a.assertive,{defaultProps:{"aria-live":"assertive",children:i},elementType:"div"}),polite:G.always(a.polite,{defaultProps:{"aria-live":"polite",children:t},elementType:"div"})}};var Hu=(a)=>{return z(a),/*@__PURE__*/H1(p1,{children:[/*@__PURE__*/L(a.assertive,{}),/*@__PURE__*/L(a.polite,{})]})};var fu={assertive:"fui-AriaLive__assertive",polite:"fui-AriaLive__polite"},lS=/*@__PURE__*/j("rrd10u0",null,[".rrd10u0{clip:rect(0px, 0px, 0px, 0px);height:1px;margin:-1px;overflow:hidden;padding:0px;width:1px;position:absolute;}"]),Vu=(a)=>{let l=lS();return a.assertive.className=S(l,fu.assertive,a.assertive.className),a.polite.className=S(l,fu.polite,a.polite.className),a};var ne=(a)=>{let l=uu(a);return Vu(l),Hu(l)};ne.displayName="AriaLive";var J9=(a)=>{let{announceRef:l,renderAriaLive:c,inline:o,mountNode:r}=a;z(a);let e=!!a.bottomStart||!!a.bottomEnd||!!a.topStart||!!a.topEnd||!!a.top||!!a.bottom,h=c?/*@__PURE__*/L(ne,{announceRef:l}):null,Z=/*@__PURE__*/H1(p1,{children:[a.bottom?/*@__PURE__*/L(a.bottom,{}):null,a.bottomStart?/*@__PURE__*/L(a.bottomStart,{}):null,a.bottomEnd?/*@__PURE__*/L(a.bottomEnd,{}):null,a.topStart?/*@__PURE__*/L(a.topStart,{}):null,a.topEnd?/*@__PURE__*/L(a.topEnd,{}):null,a.top?/*@__PURE__*/L(a.top,{}):null]});if(o)return/*@__PURE__*/H1(p1,{children:[h,e?Z:null]});return/*@__PURE__*/H1(p1,{children:[h,e?/*@__PURE__*/L(R2,{mountNode:r,children:Z}):null]})};var ve={root:"fui-Toaster"},cS=/*@__PURE__*/j("r3hfdjz",null,[".r3hfdjz{position:fixed;width:292px;pointer-events:none;}"]),oS=/*@__PURE__*/U({inline:{qhf8xq:"f1euv43f"}},{d:[".f1euv43f{position:absolute;}"]}),I9=(a)=>{let l=cS(),c=oS(),o=S(ve.root,l,a.inline&&c.inline,a.root.className);if(a.bottomStart){var r;a.bottomStart.className=o;var e;(e=(r=a.bottomStart).style)!==null&&e!==void 0||(r.style={}),Object.assign(a.bottomStart.style,a3(s5.bottomStart,a.dir,a.offset))}if(a.bottomEnd){var h;a.bottomEnd.className=o;var Z;(Z=(h=a.bottomEnd).style)!==null&&Z!==void 0||(h.style={}),Object.assign(a.bottomEnd.style,a3(s5.bottomEnd,a.dir,a.offset))}if(a.topStart){var t;a.topStart.className=o;var i;(i=(t=a.topStart).style)!==null&&i!==void 0||(t.style={}),Object.assign(a.topStart.style,a3(s5.topStart,a.dir,a.offset))}if(a.topEnd){var v;a.topEnd.className=o;var n;(n=(v=a.topEnd).style)!==null&&n!==void 0||(v.style={}),Object.assign(a.topEnd.style,a3(s5.topEnd,a.dir,a.offset))}if(a.top){var d;a.top.className=o;var p;(p=(d=a.top).style)!==null&&p!==void 0||(d.style={}),Object.assign(a.top.style,a3(s5.top,a.dir,a.offset))}if(a.bottom){var M;a.bottom.className=o;var _;(_=(M=a.bottom).style)!==null&&_!==void 0||(M.style={}),Object.assign(a.bottom.style,a3(s5.bottom,a.dir,a.offset))}return a};var q4=(a)=>{let l=Q9(a);return I9(l),Q("useToasterStyles_unstable")(l),J9(l)};q4.displayName="Toaster";g();g();var $9=(a,l)=>{let{intent:c}=he();return{components:{root:"div"},root:G.always(a1("div",{ref:l,...a}),{elementType:"div"}),backgroundAppearance:a.appearance,intent:c}};var Y9=(a,l)=>{return z(a),/*@__PURE__*/L(qo,{value:l.backgroundAppearance,children:/*@__PURE__*/L(a.root,{})})};var gi={root:"fui-Toast"},rS=/*@__PURE__*/j("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);}"]),eS=/*@__PURE__*/U({inverted:{sj55zd:"f1w7i9ko",De3pzq:"f5pduvr"}},{d:[".f1w7i9ko{color:var(--colorNeutralForegroundInverted2);}",".f5pduvr{background-color:var(--colorNeutralBackgroundInverted);}"]}),X9=(a)=>{let l=rS(),c=eS();return a.root.className=S(gi.root,l,a.backgroundAppearance==="inverted"&&c.inverted,a.root.className),a};function Fu(a){let{backgroundAppearance:l}=a;return{backgroundAppearance:l}}var O2=/*@__PURE__*/q((a,l)=>{let c=$9(a,l);return X9(c),Q("useToastStyles_unstable")(c),Y9(c,Fu(c))});O2.displayName="Toast";g();g();var K9=(a,l)=>{let{intent:c,titleId:o}=he(),r=L6(),e;switch(c){case"success":e=/*@__PURE__*/o1(pr,null);break;case"error":e=/*@__PURE__*/o1(_r,null);break;case"warning":e=/*@__PURE__*/o1(ir,null);break;case"info":e=/*@__PURE__*/o1(nr,null);break}return{action:G.optional(a.action,{elementType:"div"}),components:{root:"div",media:"div",action:"div"},media:G.optional(a.media,{renderByDefault:!!c,defaultProps:{children:e},elementType:"div"}),root:G.always(a1("div",{ref:l,children:a.children,id:o,...a}),{elementType:"div"}),intent:c,backgroundAppearance:r}};var j9=(a)=>{return z(a),/*@__PURE__*/H1(p1,{children:[a.media?/*@__PURE__*/L(a.media,{}):null,/*@__PURE__*/L(a.root,{}),a.action?/*@__PURE__*/L(a.action,{}):null]})};var t8={root:"fui-ToastTitle",media:"fui-ToastTitle__media",action:"fui-ToastTitle__action"},hS=/*@__PURE__*/j("rdjap1e",null,[".rdjap1e{display:flex;grid-column-end:3;color:var(--colorNeutralForeground1);word-break:break-word;}"]),ZS=/*@__PURE__*/j("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);}"]),tS=/*@__PURE__*/j("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);}"]),iS=/*@__PURE__*/U({root:{sj55zd:"f1w7i9ko"},action:{sj55zd:"f1qz2gb0"},media:{sj55zd:"fqpbvvt"}},{d:[".f1w7i9ko{color:var(--colorNeutralForegroundInverted2);}",".f1qz2gb0{color:var(--colorBrandForegroundInverted);}",".fqpbvvt{color:var(--colorNeutralForegroundInverted);}"]}),nS=/*@__PURE__*/U({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);}"]}),vS=/*@__PURE__*/U({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);}"]}),N9=(a)=>{let l=hS(),c=tS(),o=ZS(),r=nS(),e=vS(),{intent:h}=a,Z=iS();if(a.root.className=S(t8.root,l,a.backgroundAppearance==="inverted"&&Z.root,a.root.className),a.media)a.media.className=S(t8.media,o,a.backgroundAppearance==="inverted"&&Z.media,h&&r[h],h&&a.backgroundAppearance==="inverted"&&e[h],a.media.className);if(a.action)a.action.className=S(t8.action,c,a.backgroundAppearance==="inverted"&&Z.action,a.action.className);return a};var P2=/*@__PURE__*/q((a,l)=>{let c=K9(a,l);return N9(c),Q("useToastTitleStyles_unstable")(c),j9(c)});P2.displayName="ToastTitle";g();g();g();function gu(a){switch(a){case"info":return/*@__PURE__*/o1(nr,null);case"warning":return/*@__PURE__*/o1(ir,null);case"error":return/*@__PURE__*/o1(_r,null);case"success":return/*@__PURE__*/o1(pr,null);default:return null}}g();function xu(a=!1){let{targetDocument:l}=A1(),c=s2(()=>({}),{})[1],o=k(!1),r=k(null),e=k(-1),h=W((t)=>{var i,v;if(t.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 n=t[0];var d;let p=(d=n===null||n===void 0?void 0:(v=n.borderBoxSize)===null||v===void 0?void 0:(i=v[0])===null||i===void 0?void 0:i.inlineSize)!==null&&d!==void 0?d:n===null||n===void 0?void 0:n.target.getBoundingClientRect().width;if(p===void 0||!n)return;let{target:M}=n;if(!P1(M))return;let _;if(o.current){if(e.current<p)_=!1}else{let A=M.scrollWidth;if(p<A)_=!0}if(e.current=p,typeof _<"u"&&o.current!==_)o.current=_,c()},[c]),Z=W((t)=>{var i;if(!a||!t||!(l===null||l===void 0?void 0:l.defaultView))return;(i=r.current)===null||i===void 0||i.disconnect();let n=new l.defaultView.ResizeObserver(h);r.current=n,n.observe(t,{box:"border-box"})},[l,h,a]);return N(()=>{return()=>{var t;(t=r.current)===null||t===void 0||t.disconnect()}},[]),{ref:Z,reflowing:o.current}}g();var Cu=Z1(void 0),dS={className:"",nodeRef:A5()},cn1=Cu.Provider,Lu=()=>{var a;return(a=e1(Cu))!==null&&a!==void 0?a:dS};g();var pS=/*@__PURE__*/Z1(void 0);function Ru(){return e1(pS)}var ac=(a,l)=>{let{layout:c="auto",intent:o="info",politeness:r,shape:e="rounded"}=a,h=(r!==null&&r!==void 0?r:o==="info")?"polite":"assertive",Z=c==="auto",{ref:t,reflowing:i}=xu(Z),v=Z?i?"multiline":"singleline":c,{className:n,nodeRef:d}=Lu(),p=Ru(),M=k(null),_=k(null),{announce:A}=Ma(),m=j1();return N(()=>{var u,f;let H=(u=_.current)===null||u===void 0?void 0:u.textContent,F=(f=M.current)===null||f===void 0?void 0:f.textContent,R=[H,F].filter(Boolean).join(",");A(R,{polite:h==="polite",alert:h==="assertive"})},[_,M,A,h]),{components:{root:"div",icon:"div",bottomReflowSpacer:"div"},root:G.always(a1("div",{ref:w1(l,t,d,p),role:"group","aria-labelledby":m,...a}),{elementType:"div"}),icon:G.optional(a.icon,{renderByDefault:!0,elementType:"div",defaultProps:{children:gu(o)}}),bottomReflowSpacer:G.optional(a.bottomReflowSpacer,{renderByDefault:v==="multiline",elementType:"div"}),layout:v,intent:o,transitionClassName:n,actionsRef:M,bodyRef:_,titleId:m,shape:e}};g();var wu=Z1(void 0),_S={titleId:"",layout:"singleline",actionsRef:A5(),bodyRef:A5()},xi=wu.Provider,lc=()=>{var a;return(a=e1(wu))!==null&&a!==void 0?a:_S};var cc=(a,l)=>{return z(a),/*@__PURE__*/L(xi,{value:l.messageBar,children:/*@__PURE__*/H1(a.root,{children:[a.icon&&/*@__PURE__*/L(a.icon,{}),a.root.children,a.bottomReflowSpacer&&/*@__PURE__*/L(a.bottomReflowSpacer,{})]})})};var i8={root:"fui-MessageBar",icon:"fui-MessageBar__icon",bottomReflowSpacer:"fui-MessageBar__bottomReflowSpacer"},MS=/*@__PURE__*/j("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);}']),AS=/*@__PURE__*/j("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;}"]),mS=/*@__PURE__*/j("r1vx593n",null,[".r1vx593n{margin-bottom:var(--spacingVerticalS);grid-area:secondaryActions;}"]),sS=/*@__PURE__*/U({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}]]}),uS=/*@__PURE__*/U({info:{},error:{sj55zd:"f1ca9wz"},warning:{sj55zd:"f14a4cve"},success:{sj55zd:"f36rra6"}},{d:[".f1ca9wz{color:var(--colorStatusDangerForeground1);}",".f14a4cve{color:var(--colorStatusWarningForeground3);}",".f36rra6{color:var(--colorStatusSuccessForeground1);}"]}),HS=/*@__PURE__*/U({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);}"]}),oc=(a)=>{let l=MS(),c=AS(),o=uS(),r=HS(),e=mS(),h=sS();if(a.root.className=S(i8.root,l,a.layout==="multiline"&&h.rootMultiline,a.shape==="square"&&h.square,r[a.intent],a.root.className),a.icon)a.icon.className=S(i8.icon,c,o[a.intent],a.icon.className);if(a.bottomReflowSpacer)a.bottomReflowSpacer.className=S(i8.bottomReflowSpacer,e);return a};g();function rc(a){let{layout:l,actionsRef:c,bodyRef:o,titleId:r}=a;return{messageBar:_1(()=>({layout:l,actionsRef:c,bodyRef:o,titleId:r}),[l,c,o,r])}}var l3=/*@__PURE__*/q((a,l)=>{let c=ac(a,l);return oc(c),Q("useMessageBarStyles_unstable")(c),cc(c,rc(c))});l3.displayName="MessageBar";g();g();var ec=(a,l)=>{let{titleId:c}=lc();return{components:{root:"span"},root:G.always(a1("span",{ref:l,id:c,...a}),{elementType:"span"})}};var hc=(a)=>{return z(a),/*@__PURE__*/L(a.root,{})};var de={root:"fui-MessageBarTitle"},fS=/*@__PURE__*/j("r168xkm9",null,[".r168xkm9{font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightSemibold);line-height:var(--lineHeightBase300);}",'.r168xkm9::after{content:" ";}']),Zc=(a)=>{let l=fS();return a.root.className=S(de.root,l,a.root.className),a};var W4=/*@__PURE__*/q((a,l)=>{let c=ec(a,l);return Zc(c),Q("useMessageBarTitleStyles_unstable")(c),hc(c)});W4.displayName="MessageBarTitle";g();g();var tc=(a,l)=>{let{bodyRef:c}=lc();return{components:{root:"div"},root:G.always(a1("div",{ref:w1(l,c),...a}),{elementType:"div"})}};var ic=(a,l)=>{return z(a),/*@__PURE__*/L(zr,{value:l.link,children:/*@__PURE__*/L(a.root,{})})};var pe={root:"fui-MessageBarBody"},VS=/*@__PURE__*/j("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);}"]),nc=(a)=>{let l=VS();return a.root.className=S(pe.root,l,a.root.className),a};g();function Su(a){return{link:_1(()=>({inline:!0}),[])}}var c3=/*@__PURE__*/q((a,l)=>{let c=tc(a,l),o=Su(c);return nc(c),Q("useMessageBarBodyStyles_unstable")(c),ic(c,o)});c3.displayName="MessageBarBody";g();var FS={scrollState:"none",setScrollState:()=>({})},Gu=Z1(void 0),z4=Gu.Provider,Q4=()=>{var a;return(a=e1(Gu))!==null&&a!==void 0?a:FS},J4=()=>{let[a,l]=t1("none");return{setScrollState:l,scrollState:a}};g();g();g();g();var n8={drawerSizeVar:"--fui-Drawer--size"},Uu={overflow:"hidden",width:`var(${n8.drawerSizeVar})`,maxWidth:"100vw",height:"auto",maxHeight:"100vh",boxSizing:"border-box",display:"flex",flexDirection:"column",alignItems:"flex-start",justifyContent:"flex-start",backgroundColor:o0.colorNeutralBackground1,color:o0.colorNeutralForeground1},gS=/*@__PURE__*/U({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;}"]}),xS=/*@__PURE__*/U({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%;}"]}),_e=({position:a,size:l})=>{let c=gS(),o=xS();return S(c[a],a==="bottom"&&o[l],a!=="bottom"&&c[l])};var Ci={small:C1.durationGentle,medium:C1.durationSlow,large:C1.durationSlower,full:C1.durationUltraSlow};function Bu(a,l,c){let o=`translate3d(var(${l}), 0, 0)`,r=`translate3d(calc(var(${l}) * -1), 0, 0)`,e=`translate3d(0, var(${l}), 0)`;if(a==="start")return c==="ltr"?r:o;if(a==="end")return c==="ltr"?o:r;if(a==="bottom")return e;return"translate3d(0, 0, 0)"}var Li=q5(({position:a,size:l,dir:c})=>{let o=[{transform:Bu(a,n8.drawerSizeVar,c),opacity:0},{transform:"translate3d(0, 0, 0)",opacity:1}],r=Ci[l];return{enter:{keyframes:o,duration:r,easing:C1.curveDecelerateMid},exit:{keyframes:[...o].reverse(),duration:r,easing:C1.curveAccelerateMin}}}),Du=q5(({position:a,size:l,dir:c})=>{let o=[{transform:Bu(a,n8.drawerSizeVar,c),boxShadow:`0px ${o0.colorTransparentBackground}`,opacity:0},{transform:"translate3d(0, 0, 0)",boxShadow:o0.shadow64,opacity:1}],r=Ci[l];return{enter:{keyframes:o,duration:r,easing:C1.curveDecelerateMid},exit:{keyframes:[...o].reverse(),duration:r,easing:C1.curveAccelerateMin}}}),ku=q5(({size:a})=>{let l=Ci[a],c=C1.curveLinear;return{enter:z5({direction:"enter",duration:l,easing:c}),exit:z5({direction:"exit",duration:l,easing:c})}});function Me(a){let{open:l=!1,size:c="small",position:o="start"}=a;return{size:c,position:o,open:l}}g();var CS=/*@__PURE__*/j("rl76ifk",null,[".rl76ifk{inset:0px;position:fixed;background-color:var(--colorBackgroundOverlay);}"]),LS=/*@__PURE__*/U({nested:{De3pzq:"f1c21dwh"}},{d:[".f1c21dwh{background-color:var(--colorTransparentBackground);}"]}),yu=(a)=>{let l=CS(),c=LS();if(a.backdrop)a.backdrop.className=S(l,a.isNestedDialog&&c.nested,a.backdrop.className);return a};var vc=/*@__PURE__*/q((a,l)=>{let c=y3({...a,as:a.as},l),o=P3(c);return yu(c),Q("useOverlayDrawerSurfaceStyles_unstable")(c),O3(c,o)});vc.displayName="OverlayDrawerSurface";g();function Ri(a,l,c){if(a===null)return null;return{...a,children:(o,r)=>{if(a===null||a===void 0?void 0:a.children)return a.children(l,{...r,...c});return/*@__PURE__*/o1(l,{...r,...c},r.children)}}}var RS={active:!0,canRender:!0,ref:/*@__PURE__*/A5(),type:"idle"},wi=(a,l)=>{let{open:c,size:o,position:r}=Me(a),{backdropMotion:e,modalType:h="modal",inertTrapFocus:Z,onOpenChange:t,surfaceMotion:i,mountNode:v}=a,{dir:n,targetDocument:d}=A1(),{element:p}=ll(v),M=Boolean(p&&(d===null||d===void 0?void 0:d.body)!==p),_=G.resolveShorthand(a.backdrop),A=h!=="non-modal"&&_!==null,m=G.always({...a,ref:l,backdrop:A?{..._}:null,backdropMotion:Ri(e,ku,{size:o})},{elementType:vc}),u=G.always({open:c,onOpenChange:t,inertTrapFocus:Z,modalType:h,surfaceMotion:Ri(i,Du,{position:r,size:o,dir:n}),children:null},{elementType:S5});return{components:{root:vc,dialog:S5},root:m,dialog:u,open:c,size:o,position:r,hasMountNodeElement:M,mountNode:v,motion:RS}};var Si=(a,l)=>{return z(a),/*@__PURE__*/L(z4,{value:l,children:/*@__PURE__*/L(a.dialog,{children:/*@__PURE__*/L(a.root,{})})})};g();var Gi={root:"fui-OverlayDrawer",backdrop:"fui-OverlayDrawer__backdrop"},wS=/*@__PURE__*/j("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;}}"]}),SS=/*@__PURE__*/U({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;}"]}),Ui=(a)=>{let l=_e(a),c=wS(),o=SS(),r=a.hasMountNodeElement&&o.absolute,e=a.root.backdrop;if(a.root.className=S(Gi.root,l,c,o[a.position],r,a.root.className),e)e.className=S(Gi.backdrop,r,e.className);return a};var dc=/*@__PURE__*/q((a,l)=>{let c=wi(a,l),o=J4();return Ui(c),Q("useDrawerOverlayStyles_unstable")(c),Q("useOverlayDrawerStyles_unstable")(c),Si(c,o)});dc.displayName="OverlayDrawer";g();g();var GS={active:!0,canRender:!0,ref:A5(),type:"idle"},Bi=(a,l)=>{let{size:c,position:o,open:r}=Me(a),{separator:e=!1,surfaceMotion:h}=a,{dir:Z}=A1();return{components:{root:"div",surfaceMotion:Li},root:G.always(a1("div",{...a,ref:l}),{elementType:"div"}),open:r,position:o,size:c,separator:e,surfaceMotion:u4(h,{elementType:Li,defaultProps:{position:o,size:c,dir:Z,visible:r,unmountOnExit:!0}}),motion:GS}};var Di=(a,l)=>{return z(a),/*@__PURE__*/L(z4,{value:l,children:/*@__PURE__*/L(a.surfaceMotion,{children:/*@__PURE__*/L(a.root,{})})})};var Ou={root:"fui-InlineDrawer"},US=/*@__PURE__*/j("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;}"]),ud1=`1px solid ${o0.colorNeutralBackground3}`,BS=/*@__PURE__*/U({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 DS(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 ki=(a)=>{let l=US(),c=_e(a),o=BS();return a.root.className=S(Ou.root,l,c,DS(a,o),o[a.position],a.root.className),a};var pc=/*@__PURE__*/q((a,l)=>{let c=Bi(a,l),o=J4();return ki(c),Q("useDrawerInlineStyles_unstable")(c),Q("useInlineDrawerStyles_unstable")(c),Di(c,o)});pc.displayName="InlineDrawer";var _c=(a,l)=>{let c=a.type==="inline"?pc:dc,o=G.always({ref:l,...a},{elementType:c});return{components:{root:c},root:o}};var Mc=(a,l)=>{return z(a),/*@__PURE__*/L(z4,{value:l,children:/*@__PURE__*/L(a.root,{})})};var Pu={root:"fui-Drawer"},Ac=(a)=>{return a.root.className=S(Pu.root,a.root.className),a};var T2=/*@__PURE__*/q((a,l)=>{let c=_c(a,l),o=J4();return Ac(c),Q("useDrawerStyles_unstable")(c),Mc(c,o)});T2.displayName="Drawer";g();g();var kS=({scrollTop:a,scrollHeight:l,clientHeight:c})=>{if(l<=c)return"none";if(a===0)return"top";if(a+c===l)return"bottom";return"middle"},mc=(a,l)=>{let{targetDocument:c}=A1(),o=c===null||c===void 0?void 0:c.defaultView,{setScrollState:r}=Q4(),e=k(null),h=w1(l,e),[Z,t]=Aa(),[i,v]=Aa(),n=W(()=>{if(!e.current)return;r(kS(e.current))},[r]),d=W(()=>{t(),Z(n)},[t,Z,n]);return W1(n,[a.children,n]),W1(()=>{if(!e.current||!(o===null||o===void 0?void 0:o.ResizeObserver))return;let p=new o.ResizeObserver(()=>i(n));return p.observe(e.current),()=>{p.disconnect(),v()}},[i,v,n,o]),{components:{root:"div"},root:G.always(a1("div",{ref:h,...a,onScroll:$1(a.onScroll,d)}),{elementType:"div"})}};var sc=(a)=>{return z(a),/*@__PURE__*/L(a.root,{})};var Ae={root:"fui-DrawerBody"},yS=/*@__PURE__*/j("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);}"]),uc=(a)=>{let l=yS();return a.root.className=S(Ae.root,l,a.root.className),a};var b2=/*@__PURE__*/q((a,l)=>{let c=mc(a,l);return uc(c),Q("useDrawerBodyStyles_unstable")(c),sc(c)});b2.displayName="DrawerBody";g();g();var Hc=(a,l)=>{let{scrollState:c}=Q4();return{components:{root:"header"},root:G.always(a1("header",{ref:l,role:"none",...a}),{elementType:"header"}),scrollState:c}};var fc=(a)=>{return z(a),/*@__PURE__*/L(a.root,{})};var me={root:"fui-DrawerHeader"},OS=/*@__PURE__*/j("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;}"]),PS=/*@__PURE__*/U({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;}"]}),Vc=(a)=>{let l=OS(),c=PS();return a.root.className=S(me.root,l,a.scrollState!=="none"&&c.separator,["middle","bottom"].includes(a.scrollState)&&c.separatorVisible,a.root.className),a};var E2=/*@__PURE__*/q((a,l)=>{let c=Hc(a,l);return Vc(c),Q("useDrawerHeaderStyles_unstable")(c),fc(c)});E2.displayName="DrawerHeader";g();g();var Fc=(a,l)=>{let{children:c,heading:o}=a,r=G0((e)=>e.dialogTitleId);return{components:{root:"div",heading:"h2",action:"div"},root:G.always(a1("div",{ref:l,...a}),{elementType:"div"}),heading:G.optional(o,{defaultProps:{id:r,children:c},renderByDefault:!0,elementType:"h2"}),action:G.optional(a.action,{elementType:"div"})}};var gc=(a)=>{return z(a),/*@__PURE__*/H1(a.root,{children:[a.heading&&/*@__PURE__*/L(a.heading,{}),a.action&&/*@__PURE__*/L(a.action,{})]})};var v8={root:"fui-DrawerHeaderTitle",heading:"fui-DrawerHeaderTitle__heading",action:"fui-DrawerHeaderTitle__action"},TS=/*@__PURE__*/U({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);}"]}),xc=(a)=>{let l=TS(),{heading:c={},action:o,components:r}=a;if(k3({components:{root:r.heading,action:r.action},root:c,action:o}),a.root.className=S(v8.root,l.root,a.root.className),a.heading)a.heading.className=S(v8.heading,a.heading.className);if(a.action)a.action.className=S(v8.action,l.action,a.action.className);return a};var q2=/*@__PURE__*/q((a,l)=>{let c=Fc(a,l);return xc(c),Q("useDrawerHeaderTitleStyles_unstable")(c),gc(c)});q2.displayName="DrawerHeaderTitle";g();g();var Cc=(a,l)=>{let{scrollState:c}=Q4();return{components:{root:"footer"},root:G.always(a1("footer",{ref:l,role:"none",...a}),{elementType:"footer"}),scrollState:c}};var Lc=(a)=>{return z(a),/*@__PURE__*/L(a.root,{})};var se={root:"fui-DrawerFooter"},bS=/*@__PURE__*/j("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;}"]),ES=/*@__PURE__*/U({separator:{Baz25je:"f16b62f1",Brfgrao:"f1j7ml58",mdwyqc:["f1f351id","f1fzr1x6"],Fbdkly:["f1fzr1x6","f1f351id"],vz82u:"f1dhznln",cmx5o7:"f1p5zmk",h7gv66:"f1ljjo4k",B8bqphf:"ffd2d9j",wjn42g:"ffdt3s5",Ftih45:"f1wl9k8s",Bciustq:"ffi060y"},separatorVisible:{vz82u:"f1b3qyzu"}},{d:[".f16b62f1::before{height:1px;}",".f1j7ml58::before{position:absolute;}",".f1f351id::before{right:0;}",".f1fzr1x6::before{left:0;}",".f1dhznln::before{opacity:0;}",".f1p5zmk::before{background-color:var(--colorNeutralStroke1);}",".f1ljjo4k::before{transition-duration:var(--durationNormal);}",".ffd2d9j::before{transition-property:opacity;}",".ffdt3s5::before{transition-timing-function:var(--curveEasyEase);}",'.f1wl9k8s::before{content:"";}',".ffi060y::before{top:0;}",".f1b3qyzu::before{opacity:1;}"]}),Rc=(a)=>{let l=bS(),c=ES();return a.root.className=S(se.root,l,a.scrollState!=="none"&&c.separator,["middle","top"].includes(a.scrollState)&&c.separatorVisible,a.root.className),a};var o3=/*@__PURE__*/q((a,l)=>{let c=Cc(a,l);return Rc(c),Q("useDrawerFooterStyles_unstable")(c),Lc(c)});o3.displayName="DrawerFooter";function B0(a,l){if(qS(a))a="100%";var c=WS(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 wc(a){return Math.min(1,Math.max(0,a))}function qS(a){return typeof a==="string"&&a.indexOf(".")!==-1&&parseFloat(a)===1}function WS(a){return typeof a==="string"&&a.indexOf("%")!==-1}function ue(a){if(a=parseFloat(a),isNaN(a)||a<0||a>1)a=1;return a}function Sc(a){if(a<=1)return"".concat(Number(a)*100,"%");return a}function E3(a){return a.length===1?"0"+a:String(a)}function Tu(a,l,c){return{r:B0(a,255)*255,g:B0(l,255)*255,b:B0(c,255)*255}}function Oi(a,l,c){a=B0(a,255),l=B0(l,255),c=B0(c,255);var o=Math.max(a,l,c),r=Math.min(a,l,c),e=0,h=0,Z=(o+r)/2;if(o===r)h=0,e=0;else{var t=o-r;switch(h=Z>0.5?t/(2-o-r):t/(o+r),o){case a:e=(l-c)/t+(l<c?6:0);break;case l:e=(c-a)/t+2;break;case c:e=(a-l)/t+4;break;default:break}e/=6}return{h:e,s:h,l:Z}}function yi(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 bu(a,l,c){var o,r,e;if(a=B0(a,360),l=B0(l,100),c=B0(c,100),l===0)r=c,e=c,o=c;else{var h=c<0.5?c*(1+l):c+l-c*l,Z=2*c-h;o=yi(Z,h,a+0.3333333333333333),r=yi(Z,h,a),e=yi(Z,h,a-0.3333333333333333)}return{r:o*255,g:r*255,b:e*255}}function Pi(a,l,c){a=B0(a,255),l=B0(l,255),c=B0(c,255);var o=Math.max(a,l,c),r=Math.min(a,l,c),e=0,h=o,Z=o-r,t=o===0?0:Z/o;if(o===r)e=0;else{switch(o){case a:e=(l-c)/Z+(l<c?6:0);break;case l:e=(c-a)/Z+2;break;case c:e=(a-l)/Z+4;break;default:break}e/=6}return{h:e,s:t,v:h}}function Eu(a,l,c){a=B0(a,360)*6,l=B0(l,100),c=B0(c,100);var o=Math.floor(a),r=a-o,e=c*(1-l),h=c*(1-r*l),Z=c*(1-(1-r)*l),t=o%6,i=[c,h,e,e,Z,c][t],v=[Z,c,c,h,e,e][t],n=[e,e,Z,c,c,h][t];return{r:i*255,g:v*255,b:n*255}}function Ti(a,l,c,o){var r=[E3(Math.round(a).toString(16)),E3(Math.round(l).toString(16)),E3(Math.round(c).toString(16))];if(o&&r[0].startsWith(r[0].charAt(1))&&r[1].startsWith(r[1].charAt(1))&&r[2].startsWith(r[2].charAt(1)))return r[0].charAt(0)+r[1].charAt(0)+r[2].charAt(0);return r.join("")}function qu(a,l,c,o,r){var e=[E3(Math.round(a).toString(16)),E3(Math.round(l).toString(16)),E3(Math.round(c).toString(16)),E3(zS(o))];if(r&&e[0].startsWith(e[0].charAt(1))&&e[1].startsWith(e[1].charAt(1))&&e[2].startsWith(e[2].charAt(1))&&e[3].startsWith(e[3].charAt(1)))return e[0].charAt(0)+e[1].charAt(0)+e[2].charAt(0)+e[3].charAt(0);return e.join("")}function zS(a){return Math.round(parseFloat(a)*255).toString(16)}function bi(a){return G5(a)/255}function G5(a){return parseInt(a,16)}function Wu(a){return{r:a>>16,g:(a&65280)>>8,b:a&255}}var Gc={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 zu(a){var l={r:0,g:0,b:0},c=1,o=null,r=null,e=null,h=!1,Z=!1;if(typeof a==="string")a=IS(a);if(typeof a==="object"){if(r3(a.r)&&r3(a.g)&&r3(a.b))l=Tu(a.r,a.g,a.b),h=!0,Z=String(a.r).substr(-1)==="%"?"prgb":"rgb";else if(r3(a.h)&&r3(a.s)&&r3(a.v))o=Sc(a.s),r=Sc(a.v),l=Eu(a.h,o,r),h=!0,Z="hsv";else if(r3(a.h)&&r3(a.s)&&r3(a.l))o=Sc(a.s),e=Sc(a.l),l=bu(a.h,o,e),h=!0,Z="hsl";if(Object.prototype.hasOwnProperty.call(a,"a"))c=a.a}return c=ue(c),{ok:h,format:a.format||Z,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 QS="[-\\+]?\\d+%?",JS="[-\\+]?\\d*\\.\\d+%?",q3="(?:".concat(JS,")|(?:").concat(QS,")"),Ei="[\\s|\\(]+(".concat(q3,")[,|\\s]+(").concat(q3,")[,|\\s]+(").concat(q3,")\\s*\\)?"),qi="[\\s|\\(]+(".concat(q3,")[,|\\s]+(").concat(q3,")[,|\\s]+(").concat(q3,")[,|\\s]+(").concat(q3,")\\s*\\)?"),W2={CSS_UNIT:new RegExp(q3),rgb:new RegExp("rgb"+Ei),rgba:new RegExp("rgba"+qi),hsl:new RegExp("hsl"+Ei),hsla:new RegExp("hsla"+qi),hsv:new RegExp("hsv"+Ei),hsva:new RegExp("hsva"+qi),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 IS(a){if(a=a.trim().toLowerCase(),a.length===0)return!1;var l=!1;if(Gc[a])a=Gc[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:G5(c[1]),g:G5(c[2]),b:G5(c[3]),a:bi(c[4]),format:l?"name":"hex8"};if(c=W2.hex6.exec(a),c)return{r:G5(c[1]),g:G5(c[2]),b:G5(c[3]),format:l?"name":"hex"};if(c=W2.hex4.exec(a),c)return{r:G5(c[1]+c[1]),g:G5(c[2]+c[2]),b:G5(c[3]+c[3]),a:bi(c[4]+c[4]),format:l?"name":"hex8"};if(c=W2.hex3.exec(a),c)return{r:G5(c[1]+c[1]),g:G5(c[2]+c[2]),b:G5(c[3]+c[3]),format:l?"name":"hex"};return!1}function r3(a){return Boolean(W2.CSS_UNIT.exec(String(a)))}var Wi=function(){function a(l,c){if(l===void 0)l="";if(c===void 0)c={};var o;if(l instanceof a)return l;if(typeof l==="number")l=Wu(l);this.originalInput=l;var r=zu(l);if(this.originalInput=l,this.r=r.r,this.g=r.g,this.b=r.b,this.a=r.a,this.roundA=Math.round(100*this.a)/100,this.format=(o=c.format)!==null&&o!==void 0?o:r.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=r.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,o,r,e=l.r/255,h=l.g/255,Z=l.b/255;if(e<=0.03928)c=e/12.92;else c=Math.pow((e+0.055)/1.055,2.4);if(h<=0.03928)o=h/12.92;else o=Math.pow((h+0.055)/1.055,2.4);if(Z<=0.03928)r=Z/12.92;else r=Math.pow((Z+0.055)/1.055,2.4);return 0.2126*c+0.7152*o+0.0722*r},a.prototype.getAlpha=function(){return this.a},a.prototype.setAlpha=function(l){return this.a=ue(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=Pi(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=Pi(this.r,this.g,this.b),c=Math.round(l.h*360),o=Math.round(l.s*100),r=Math.round(l.v*100);return this.a===1?"hsv(".concat(c,", ").concat(o,"%, ").concat(r,"%)"):"hsva(".concat(c,", ").concat(o,"%, ").concat(r,"%, ").concat(this.roundA,")")},a.prototype.toHsl=function(){var l=Oi(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=Oi(this.r,this.g,this.b),c=Math.round(l.h*360),o=Math.round(l.s*100),r=Math.round(l.l*100);return this.a===1?"hsl(".concat(c,", ").concat(o,"%, ").concat(r,"%)"):"hsla(".concat(c,", ").concat(o,"%, ").concat(r,"%, ").concat(this.roundA,")")},a.prototype.toHex=function(l){if(l===void 0)l=!1;return Ti(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 qu(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),o=Math.round(this.b);return this.a===1?"rgb(".concat(l,", ").concat(c,", ").concat(o,")"):"rgba(".concat(l,", ").concat(c,", ").concat(o,", ").concat(this.roundA,")")},a.prototype.toPercentageRgb=function(){var l=function(c){return"".concat(Math.round(B0(c,255)*100),"%")};return{r:l(this.r),g:l(this.g),b:l(this.b),a:this.a}},a.prototype.toPercentageRgbString=function(){var l=function(c){return Math.round(B0(c,255)*100)};return this.a===1?"rgb(".concat(l(this.r),"%, ").concat(l(this.g),"%, ").concat(l(this.b),"%)"):"rgba(".concat(l(this.r),"%, ").concat(l(this.g),"%, ").concat(l(this.b),"%, ").concat(this.roundA,")")},a.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;var l="#"+Ti(this.r,this.g,this.b,!1);for(var c=0,o=Object.entries(Gc);c<o.length;c++){var r=o[c],e=r[0],h=r[1];if(l===h)return e}return!1},a.prototype.toString=function(l){var c=Boolean(l);l=l!==null&&l!==void 0?l:this.format;var o=!1,r=this.a<1&&this.a>=0,e=!c&&r&&(l.startsWith("hex")||l==="name");if(e){if(l==="name"&&this.a===0)return this.toName();return this.toRgbString()}if(l==="rgb")o=this.toRgbString();if(l==="prgb")o=this.toPercentageRgbString();if(l==="hex"||l==="hex6")o=this.toHexString();if(l==="hex3")o=this.toHexString(!0);if(l==="hex4")o=this.toHex8String(!0);if(l==="hex8")o=this.toHex8String();if(l==="name")o=this.toName();if(l==="hsl")o=this.toHslString();if(l==="hsv")o=this.toHsvString();return o||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=wc(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=wc(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=wc(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=wc(c.s),new a(c)},a.prototype.greyscale=function(){return this.desaturate(100)},a.prototype.spin=function(l){var c=this.toHsl(),o=(c.h+l)%360;return c.h=o<0?360+o:o,new a(c)},a.prototype.mix=function(l,c){if(c===void 0)c=50;var o=this.toRgb(),r=new a(l).toRgb(),e=c/100,h={r:(r.r-o.r)*e+o.r,g:(r.g-o.g)*e+o.g,b:(r.b-o.b)*e+o.b,a:(r.a-o.a)*e+o.a};return new a(h)},a.prototype.analogous=function(l,c){if(l===void 0)l=6;if(c===void 0)c=30;var o=this.toHsl(),r=360/c,e=[this];for(o.h=(o.h-(r*l>>1)+720)%360;--l;)o.h=(o.h+r)%360,e.push(new a(o));return e},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(),o=c.h,r=c.s,e=c.v,h=[],Z=1/l;while(l--)h.push(new a({h:o,s:r,v:e})),e=(e+Z)%1;return h},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(),o=new a(l).toRgb(),r=c.a+o.a*(1-c.a);return new a({r:(c.r*c.a+o.r*o.a*(1-c.a))/r,g:(c.g*c.a+o.g*o.a*(1-c.a))/r,b:(c.b*c.a+o.b*o.a*(1-c.a))/r,a:r})},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(),o=c.h,r=[this],e=360/l;for(var h=1;h<l;h++)r.push(new a({h:(o+h*e)%360,s:c.s,l:c.l}));return r},a.prototype.equals=function(l){return this.toRgbString()===new a(l).toRgbString()},a}();function N1(a,l,c,o){var r=arguments.length,e=r<3?l:o===null?o=Object.getOwnPropertyDescriptor(l,c):o,h;if(typeof Reflect==="object"&&typeof Reflect.decorate==="function")e=Reflect.decorate(a,l,c,o);else for(var Z=a.length-1;Z>=0;Z--)if(h=a[Z])e=(r<3?h(e):r>3?h(l,c,e):h(l,c))||e;return r>3&&e&&Object.defineProperty(l,c,e),e}function W3(a,l,c,o){function r(e){return e instanceof c?e:new c(function(h){h(e)})}return new(c||(c=Promise))(function(e,h){function Z(v){try{i(o.next(v))}catch(n){h(n)}}function t(v){try{i(o.throw(v))}catch(n){h(n)}}function i(v){v.done?e(v.value):r(v.value).then(Z,t)}i((o=o.apply(a,l||[])).next())})}var V0=(a,l,c)=>{return new Wi(a).mix(new Wi(l),c).toHexString()},$S=(a)=>{return{10:a.themeDarker,20:V0(a.themeDarker,a.themeDark),30:a.themeDark,40:V0(a.themeDark,a.themeDarkAlt),50:a.themeDarkAlt,60:V0(a.themeDarkAlt,a.themePrimary),70:a.themePrimary,80:V0(a.themePrimary,a.themeSecondary),90:a.themeSecondary,100:V0(a.themeSecondary,a.themeTertiary),110:a.themeTertiary,120:V0(a.themeTertiary,a.themeLight),130:a.themeLight,140:V0(a.themeLight,a.themeLighter),150:a.themeLighter,160:V0(a.themeLighter,a.themeLighterAlt)}},YS=(a)=>{return{10:a.themeDarker,20:V0(a.themeDarker,a.themePrimary,20),30:V0(a.themeDarker,a.themePrimary,30),40:V0(a.themeDarker,a.themePrimary,40),50:V0(a.themeDarker,a.themePrimary,50),60:V0(a.themeDarker,a.themePrimary,60),70:V0(a.themeDarker,a.themePrimary,70),80:a.themePrimary,90:V0(a.themePrimary,a.themeLighterAlt,10),100:V0(a.themePrimary,a.themeLighterAlt,20),110:V0(a.themePrimary,a.themeLighterAlt,30),120:V0(a.themePrimary,a.themeLighterAlt,40),130:V0(a.themePrimary,a.themeLighterAlt,50),140:V0(a.themePrimary,a.themeLighterAlt,60),150:V0(a.themePrimary,a.themeLighterAlt,70),160:a.themeLighterAlt}},He=(a,l="pairs")=>{switch(l){case"primaryAndEnds":return YS(a);case"pairs":default:return $S(a)}};V5();var Qu="7d56fff0-e90e-40a7-98cf-fcdbc63a9b01",zi="d6ca1fc2-0591-4c6d-8a25-cae3262c017b",Ju="45e75137-13c5-4bb2-a2b3-8ab6382682ee",Iu="SPFxExtensionsConfigurator",fe="SitePages/SPFxExtensionsConfigurator.aspx",z0="manifest.txt",i2="collectionconfig.txt",js1="Loading...",d8="SPFxExtensionsConfiguration",p8="SPFxExtensionsWhiteList",B1="SPFxExtensions",$u="/SPFxExtensions/",C0="SPFxExtensionsData",Ve="[SPFxExtensionCore]",Uc={appDefinitionMap:[],appRelativeEntryPointUrls:[],manualEntries:[]},Bc={enabledEverywhere:!1,excludedHubIds:[],excludedIds:[],includedHubIds:[],includedIds:[]},Dc={enabledAppCollections:[],urlMap:[]},N0="00000000-0000-0000-0000-000000000000";function S1(a,l,c=a){return(o)=>{let r=""+o,e=r.indexOf(l,a.length);return~e?a+XS(r,l,c,e)+l:a+r+l}}function XS(a,l,c,o){let r="",e=0;do r+=a.substring(e,o)+c,e=o+l.length,o=a.indexOf(l,e);while(~o);return r+a.substring(e)}var au1=S1("\x1B[0m","\x1B[0m"),lu1=S1("\x1B[1m","\x1B[22m","\x1B[22m\x1B[1m"),cu1=S1("\x1B[2m","\x1B[22m","\x1B[22m\x1B[2m"),ou1=S1("\x1B[3m","\x1B[23m"),ru1=S1("\x1B[4m","\x1B[24m"),eu1=S1("\x1B[7m","\x1B[27m"),hu1=S1("\x1B[8m","\x1B[28m"),Zu1=S1("\x1B[9m","\x1B[29m"),tu1=S1("\x1B[30m","\x1B[39m"),iu1=S1("\x1B[31m","\x1B[39m"),nu1=S1("\x1B[32m","\x1B[39m"),vu1=S1("\x1B[33m","\x1B[39m"),du1=S1("\x1B[34m","\x1B[39m"),pu1=S1("\x1B[35m","\x1B[39m"),_u1=S1("\x1B[36m","\x1B[39m"),Mu1=S1("\x1B[37m","\x1B[39m"),Au1=S1("\x1B[90m","\x1B[39m"),mu1=S1("\x1B[40m","\x1B[49m"),su1=S1("\x1B[41m","\x1B[49m"),uu1=S1("\x1B[42m","\x1B[49m"),Hu1=S1("\x1B[43m","\x1B[49m"),fu1=S1("\x1B[44m","\x1B[49m"),Vu1=S1("\x1B[45m","\x1B[49m"),Fu1=S1("\x1B[46m","\x1B[49m"),gu1=S1("\x1B[47m","\x1B[49m"),xu1=S1("\x1B[90m","\x1B[39m"),Cu1=S1("\x1B[91m","\x1B[39m"),Fe=S1("\x1B[92m","\x1B[39m"),Lu1=S1("\x1B[93m","\x1B[39m"),Ru1=S1("\x1B[94m","\x1B[39m"),wu1=S1("\x1B[95m","\x1B[39m"),Su1=S1("\x1B[96m","\x1B[39m"),Gu1=S1("\x1B[97m","\x1B[39m"),Uu1=S1("\x1B[100m","\x1B[49m"),Bu1=S1("\x1B[101m","\x1B[49m"),Du1=S1("\x1B[102m","\x1B[49m"),ku1=S1("\x1B[103m","\x1B[49m"),yu1=S1("\x1B[104m","\x1B[49m"),Ou1=S1("\x1B[105m","\x1B[49m"),Pu1=S1("\x1B[106m","\x1B[49m"),Tu1=S1("\x1B[107m","\x1B[49m");function s1(...a){console.error(Fe(Ve),(/*@__PURE__*/new Date()).toISOString(),...a)}function z2(...a){console.warn(Fe(Ve),(/*@__PURE__*/new Date()).toISOString(),...a)}function D0(...a){console.info(Fe(Ve),(/*@__PURE__*/new Date()).toISOString(),...a)}function Wu1(...a){}function zu1(a,l,c){s1("Error while executing onInstanceRequested for app",a.id,"with name",a.name,c?`Additional Data: ${c}`:"",l)}function Iu1(){return z2("The app instance event was called before app instance was initialized."),()=>{}}var Qi=window.crypto.randomUUID();function $u1(){return Qi}function Yu1(){return Qi=window.crypto.randomUUID(),Qi}function Ji(a){return a.replace("{","").replace("}","")}function y1(a){return JSON.parse(JSON.stringify(a))}function Nu1(){return window.__SPFxExtensions.__CurrentContext.contextType==="SPOModernContext"?window.__SPFxExtensions.__CurrentContext.context.web.id.toString():Ji(window.__SPFxExtensions.__CurrentContext.context.webId)}function I4(){return(window.__SPFxExtensions.__CurrentContext.contextType==="SPOModernContext"?window.__SPFxExtensions.__CurrentContext.context.web.absoluteUrl:window.__SPFxExtensions.__CurrentContext.context.webAbsoluteUrl).replace(/\/$/,"")}function aH1(){return window.__SPFxExtensions.__CurrentContext.contextType==="SPOModernContext"?window.__SPFxExtensions.__CurrentContext.context.site.id.toString():Ji(window.__SPFxExtensions.__CurrentContext.context.siteId)}function lH1(){return window.__SPFxExtensions.__CurrentContext.contextType==="SPOModernContext"?window.__SPFxExtensions.__CurrentContext.context.site.absoluteUrl:window.__SPFxExtensions.__CurrentContext.context.siteAbsoluteUrl}function cH1(){return(window.__SPFxExtensions.__CurrentContext.contextType==="SPOModernContext"?window.__SPFxExtensions.__CurrentContext.context.legacyPageContext.hubSiteId?.toString():window.__SPFxExtensions.__CurrentContext.context.hubSiteId)??N0}function oH1(){return window.__SPFxExtensions.__CurrentContext.contextType==="SPOModernContext"?window.__SPFxExtensions.__CurrentContext.context.legacyPageContext.isHubSite:window.__SPFxExtensions.__CurrentContext.context.isHubSite}i3();V5();var KS=Symbol.for("preact-signals");function xe(){if(!(z3>1)){var a,l=!1;while(kc!==void 0){var c=kc;kc=void 0,Ii++;while(c!==void 0){var o=c.o;if(c.o=void 0,c.f&=-3,!(8&c.f)&&Xu(c))try{c.c()}catch(r){if(!l)a=r,l=!0}c=o}}if(Ii=0,z3--,l)throw a}else z3--}function Ce(a){if(z3>0)return a();z3++;try{return a()}finally{xe()}}var Q1=void 0;function $i(a){var l=Q1;Q1=void 0;try{return a()}finally{Q1=l}}var kc=void 0,z3=0,Ii=0,ge=0;function Yu(a){if(Q1!==void 0){var l=a.n;if(l===void 0||l.t!==Q1){if(l={i:0,S:a,p:Q1.s,n:void 0,t:Q1,e:void 0,x:void 0,r:l},Q1.s!==void 0)Q1.s.n=l;if(Q1.s=l,a.n=l,32&Q1.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=Q1.s,l.n=void 0,Q1.s.n=l,Q1.s=l}return l}}}function k0(a,l){this.v=a,this.i=0,this.n=void 0,this.t=void 0,this.W=l==null?void 0:l.watched,this.Z=l==null?void 0:l.unwatched,this.name=l==null?void 0:l.name}k0.prototype.brand=KS;k0.prototype.h=function(){return!0};k0.prototype.S=function(a){var l=this,c=this.t;if(c!==a&&a.e===void 0)if(a.x=c,this.t=a,c!==void 0)c.e=a;else $i(function(){var o;(o=l.W)==null||o.call(l)})};k0.prototype.U=function(a){var l=this;if(this.t!==void 0){var{e:c,x:o}=a;if(c!==void 0)c.x=o,a.e=void 0;if(o!==void 0)o.e=c,a.x=void 0;if(a===this.t){if(this.t=o,o===void 0)$i(function(){var r;(r=l.Z)==null||r.call(l)})}}};k0.prototype.subscribe=function(a){var l=this;return f7(function(){var c=l.value,o=Q1;Q1=void 0;try{a(c)}finally{Q1=o}},{name:"sub"})};k0.prototype.valueOf=function(){return this.value};k0.prototype.toString=function(){return this.value+""};k0.prototype.toJSON=function(){return this.value};k0.prototype.peek=function(){var a=Q1;Q1=void 0;try{return this.value}finally{Q1=a}};Object.defineProperty(k0.prototype,"value",{get:function(){var a=Yu(this);if(a!==void 0)a.i=this.i;return this.v},set:function(a){if(a!==this.v){if(Ii>100)throw Error("Cycle detected");this.v=a,this.i++,ge++,z3++;try{for(var l=this.t;l!==void 0;l=l.x)l.t.N()}finally{xe()}}}});function y0(a,l){return new k0(a,l)}function Xu(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 Ku(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 ju(a){var l=a.s,c=void 0;while(l!==void 0){var o=l.p;if(l.i===-1){if(l.S.U(l),o!==void 0)o.n=l.n;if(l.n!==void 0)l.n.p=o}else c=l;if(l.S.n=l.r,l.r!==void 0)l.r=void 0;l=o}a.s=c}function $4(a,l){k0.call(this,void 0),this.x=a,this.s=void 0,this.g=ge-1,this.f=4,this.W=l==null?void 0:l.watched,this.Z=l==null?void 0:l.unwatched,this.name=l==null?void 0:l.name}$4.prototype=new k0;$4.prototype.h=function(){if(this.f&=-3,1&this.f)return!1;if((36&this.f)==32)return!0;if(this.f&=-5,this.g===ge)return!0;if(this.g=ge,this.f|=1,this.i>0&&!Xu(this))return this.f&=-2,!0;var a=Q1;try{Ku(this),Q1=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 Q1=a,ju(this),this.f&=-2,!0};$4.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)}k0.prototype.S.call(this,a)};$4.prototype.U=function(a){if(this.t!==void 0){if(k0.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)}}};$4.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($4.prototype,"value",{get:function(){if(1&this.f)throw Error("Cycle detected");var a=Yu(this);if(this.h(),a!==void 0)a.i=this.i;if(16&this.f)throw this.v;return this.v}});function Le(a,l){return new $4(a,l)}function Nu(a){var l=a.u;if(a.u=void 0,typeof l=="function"){z3++;var c=Q1;Q1=void 0;try{l()}catch(o){throw a.f&=-2,a.f|=8,Yi(a),o}finally{Q1=c,xe()}}}function Yi(a){for(var l=a.s;l!==void 0;l=l.n)l.S.U(l);a.x=void 0,a.s=void 0,Nu(a)}function jS(a){if(Q1!==this)throw Error("Out-of-order effect");if(ju(this),Q1=a,this.f&=-2,8&this.f)Yi(this);xe()}function _8(a,l){this.x=a,this.u=void 0,this.s=void 0,this.o=void 0,this.f=32,this.name=l==null?void 0:l.name}_8.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()}};_8.prototype.S=function(){if(1&this.f)throw Error("Cycle detected");this.f|=1,this.f&=-9,Nu(this),Ku(this),z3++;var a=Q1;return Q1=this,jS.bind(this,a)};_8.prototype.N=function(){if(!(2&this.f))this.f|=2,this.o=kc,kc=this};_8.prototype.d=function(){if(this.f|=8,!(1&this.f))Yi(this)};_8.prototype.dispose=function(){this.d()};function f7(a,l){var c=new _8(a,l);try{c.c()}catch(r){throw c.d(),r}var o=c.d.bind(c);return o[Symbol.dispose]=o,o}var Ki,ji,Xi,aH=[],lH=[];f7(function(){Ki=this.N})();function M8(a,l){V1[a]=l.bind(null,V1[a]||function(){})}function Re(a){if(Xi)Xi();Xi=a&&a.S()}function cH(a){var l=this,c=a.data,o=V7(c);o.value=c;var r=_1(function(){var Z=l,t=l.__v;while(t=t.__)if(t.__c){t.__c.__$f|=4;break}var i=Le(function(){var p=o.value.value;return p===0?0:p===!0?"":p||""}),v=Le(function(){return!Array.isArray(i.value)&&!Uh(i.value)}),n=f7(function(){if(this.N=oH,v.value){var p=i.value;if(Z.__v&&Z.__v.__e&&Z.__v.__e.nodeType===3)Z.__v.__e.data=p}}),d=l.__$u.d;return l.__$u.d=function(){n(),d.call(this)},[v,i]},[]),e=r[0],h=r[1];return e.value?h.peek():h.value}cH.displayName="ReactiveTextNode";Object.defineProperties(k0.prototype,{constructor:{configurable:!0,value:void 0},type:{configurable:!0,value:cH},props:{configurable:!0,get:function(){return{data:this}}},__b:{configurable:!0,value:1}});M8("__b",function(a,l){if(typeof l.type=="function"&&typeof window<"u"&&window.__PREACT_SIGNALS_DEVTOOLS__)window.__PREACT_SIGNALS_DEVTOOLS__.exitComponent();if(typeof l.type=="string"){var c,o=l.props;for(var r in o)if(r!=="children"){var e=o[r];if(e instanceof k0){if(!c)l.__np=c={};c[r]=e,o[r]=e.peek()}}}a(l)});M8("__r",function(a,l){if(typeof l.type=="function"&&typeof window<"u"&&window.__PREACT_SIGNALS_DEVTOOLS__)window.__PREACT_SIGNALS_DEVTOOLS__.enterComponent(l);if(l.type!==p1){Re();var c,o=l.__c;if(o){if(o.__$f&=-2,(c=o.__$u)===void 0)o.__$u=c=function(r){var e;return f7(function(){e=this}),e.c=function(){o.__$f|=1,o.setState({})},e}()}ji=o,Re(c)}a(l)});M8("__e",function(a,l,c,o){if(typeof window<"u"&&window.__PREACT_SIGNALS_DEVTOOLS__)window.__PREACT_SIGNALS_DEVTOOLS__.exitComponent();Re(),ji=void 0,a(l,c,o)});M8("diffed",function(a,l){if(typeof l.type=="function"&&typeof window<"u"&&window.__PREACT_SIGNALS_DEVTOOLS__)window.__PREACT_SIGNALS_DEVTOOLS__.exitComponent();Re(),ji=void 0;var c;if(typeof l.type=="string"&&(c=l.__e)){var{__np:o,props:r}=l;if(o){var e=c.U;if(e)for(var h in e){var Z=e[h];if(Z!==void 0&&!(h in o))Z.d(),e[h]=void 0}else e={},c.U=e;for(var t in o){var i=e[t],v=o[t];if(i===void 0)i=NS(c,t,v,r),e[t]=i;else i.o(v,r)}}}a(l)});function NS(a,l,c,o){var r=l in a&&a.ownerSVGElement===void 0,e=y0(c);return{o:function(h,Z){e.value=h,o=Z},d:f7(function(){this.N=oH;var h=e.value.value;if(o[l]!==h)if(o[l]=h,r)a[l]=h;else if(h!=null&&(h!==!1||l[4]==="-"))a.setAttribute(l,h);else a.removeAttribute(l)})}}M8("unmount",function(a,l){if(typeof l.type=="string"){var c=l.__e;if(c){var o=c.U;if(o){c.U=void 0;for(var r in o){var e=o[r];if(e)e.d()}}}}else{var h=l.__c;if(h){var Z=h.__$u;if(Z)h.__$u=void 0,Z.d()}}a(l)});M8("__h",function(a,l,c,o){if(o<3||o===9)l.__$f|=2;a(l,c,o)});M5.prototype.shouldComponentUpdate=function(a,l){var c=this.__$u,o=c&&c.s!==void 0;for(var r in l)return!0;if(this.__f||typeof this.u=="boolean"&&this.u===!0){var e=2&this.__$f;if(!(o||e||4&this.__$f))return!0;if(1&this.__$f)return!0}else{if(!(o||4&this.__$f))return!0;if(3&this.__$f)return!0}for(var h in a)if(h!=="__source"&&a[h]!==this.props[h])return!0;for(var Z in this.props)if(!(Z in a))return!0;return!1};function V7(a,l){return t1(function(){return y0(a,l)})[0]}var aG=typeof requestAnimationFrame>"u"?setTimeout:function(a){var l=function(){clearTimeout(c),cancelAnimationFrame(o),a()},c=setTimeout(l,35),o=requestAnimationFrame(l)},lG=function(a){queueMicrotask(function(){queueMicrotask(a)})};function cG(){Ce(function(){var a;while(a=aH.shift())Ki.call(a)})}function oG(){if(aH.push(this)===1)(V1.requestAnimationFrame||aG)(cG)}function rG(){Ce(function(){var a;while(a=lH.shift())Ki.call(a)})}function oH(){if(lH.push(this)===1)(V1.requestAnimationFrame||lG)(rG)}function n2(a,l){var c=k(a);c.current=a,N(function(){return f7(function(){return this.N=oG,c.current()},l)},[])}function Q3(a,l,c){let o=new Date(a.toString());switch(l.toLowerCase()){case"year":o.setFullYear(o.getFullYear()+c);break;case"quarter":o.setMonth(o.getMonth()+3*c);break;case"month":o.setMonth(o.getMonth()+c);break;case"week":o.setDate(o.getDate()+7*c);break;case"day":o.setDate(o.getDate()+c);break;case"hour":o.setTime(o.getTime()+c*3600000);break;case"minute":o.setTime(o.getTime()+c*60000);break;case"second":o.setTime(o.getTime()+c*1000);break;default:o=void 0;break}return o}function q1(...a){return a.filter((l)=>!B5(l)).map((l)=>l.replace(/^[\\|/]/,"").replace(/[\\|/]$/,"")).join("/").replace(/\\/g,"/")}function e3(){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 U5(a){return typeof a==="function"}function Q0(a){return Array.isArray(a)}function O0(a){return/^https?:\/\/|^\/\//i.test(a)}function B5(a){return typeof a>"u"||a===null||a.length<1}function L0(a){return typeof a<"u"&&a!==null}function we(a){return JSON.stringify(a)}function Y1(a,l){return Object.hasOwnProperty.call(a,l)}function rH(a){let l=0;if(a.length===0)return l;for(let c=0;c<a.length;c++){let o=a.charCodeAt(c);l=(l<<5)-l+o,l|=0}return l}function eH(a){return new Promise((l)=>{setTimeout(l,a)})}var Ni;function hH(){if(typeof Ni>"u")Ni=new ZH;return Ni}class an{constructor(a){this.store=a,this.enabled=this.test()}get(a){if(!this.enabled)return null;let l=this.store.getItem(a);if(!L0(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 o=this.get(a);if(o===null)o=await l(),this.put(a,o,c);return o}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=Q3(/*@__PURE__*/new Date,"minute",5);return we({pnp:1,expiration:l,value:a})}}class ZH{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 ln{constructor(a=null,l=null){this._local=a,this._session=l}get local(){if(this._local===null)this._local=new an(typeof localStorage>"u"?hH():localStorage);return this._local}get session(){if(this._session===null)this._session=new an(typeof sessionStorage>"u"?hH():sessionStorage);return this._session}}function Se(){return function(a,...l){let c=[...a];for(let o=0;o<c.length;o++)Reflect.apply(c[o],this,l)}}function tH(){return function(a,...l){return[...a].reduce((o,r)=>Reflect.apply(r,this,o),l)}}function yc(){return async function(a,...l){return[...a].reduce((o,r)=>o.then((e)=>Reflect.apply(r,this,e)),Promise.resolve(l))}}function iH(){return async function(a,...l){if(!Q0(a)||a.length<1)return;let c=a[0];return Reflect.apply(c,this,l)}}function Ge(){return function(a,...l){let c=[...a];for(let o=0;o<c.length;o++)Reflect.apply(c[o],this,l);return this}}var on=Symbol.for("ObserverLifecycleFlags"),nH=(a)=>(l)=>!((l[on]||0)&a),vH=(a)=>(l)=>{return l[on]=(l[on]||0)|a,l},Y4=vH(1),sH1=vH(2);class rn{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(),cn(a.observers,l,c,1),a},{toArray:()=>{return Reflect.has(a.observers,l)?[...Reflect.get(a.observers,l)]:[]},replace:(c)=>{return a.cloneObserversOnChange(),cn(a.observers,l,c,3),a},prepend:(c)=>{return a.cloneObserversOnChange(),cn(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(L0(a))this.emit.error(a)}get emit(){if(this._emitProxy===null)this._emitProxy=new Proxy(this,{get:(a,l)=>(...c)=>{let o=Reflect.has(a.observers,l)?Reflect.get(a.observers,l):[];if((!Q0(o)||o.length<1)&&l==="error")throw Error(`Unhandled Exception: ${c[0]}`);try{let r=Reflect.has(a.moments,l)?Reflect.get(a.moments,l):l==="init"||l==="dispose"?Ge():Se();return Reflect.apply(r,a,[o,...c])}catch(r){if(l!=="error")this.error(r);else throw r}finally{if(o&&o.length>0)Reflect.set(a.observers,l,o.filter(nH(2)))}}});return this._emitProxy}start(a){this.emit.init();let l=this.execute(a);return l.finally(()=>{try{this.emit.dispose()}catch(c){let o=Object.assign(Error("Error in dispose."),{innerException:c});this.error(o)}}).catch(()=>{return}),l}cloneObserversOnChange(){if(this._inheritingObservers)this._inheritingObservers=!1,this.observers=en(this.observers)}}function cn(a,l,c,o){if(!U5(c))throw Error("Observers must be functions.");if(!Reflect.has(a,l))a[l]=[c];else switch(o){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 en(a){return Reflect.ownKeys(a).reduce((l,c)=>{return l[c]=[...a[c].filter(nH(1))],l},{})}function Oc(a,l="append",c){return(o)=>{return Reflect.apply(eG,o,[a,l,c])}}function eG(a,l,c){if(!L0(a)||!L0(a.observers))return this;if(!U5(c))c=()=>!0;let o=en(a.observers),r=Object.keys(o).filter(c);for(let e=0;e<r.length;e++){let h=r[e],Z=this.on[h];if(l==="replace")Z.clear();o[h].forEach((i)=>Z(i))}return this}var hG={construct:Ge(),pre:yc(),auth:yc(),send:iH(),parse:yc(),post:yc(),data:Se()},Pc=class extends rn{constructor(l,c){super(hG);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]=tH();let o;if(typeof l==="string")this._url=q1(l,c);else if(Q0(l)){if(l.length!==2)throw Error("When using the tuple param exactly two arguments are expected.");if(typeof l[1]!=="string")throw Error("Expected second tuple param to be a string.");o=l[0],this._url=q1(l[1],c)}else o=l,this._url=q1(o._url,c);if(typeof o<"u")this.observers=o.observers,this._inheritingObservers=!0}concat(l){return this._url+=l,this}toRequestUrl(){let l=this.toUrl(),c=this.query.toString();if(!B5(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=e3(),o,r=(e,h)=>{this.log(`[${c}] ${e}`,h)};try{r("Beginning request",0);let e={...l,headers:{...l.headers,"X-PnPjs-RequestId":c}},[h,Z,t]=await this.emit.pre(this.toRequestUrl(),e,void 0);if(r(`Url: ${h}`,1),typeof t<"u"){r("Result returned from pre, Emitting data"),this.emit.data(t),r("Emitted data");return}r("Emitting auth"),[o,Z]=await this.emit.auth(new URL(h),Z),r("Emitted auth"),Z={...Z,...l,headers:{...Z.headers,...l.headers}},r("Emitting send");let i=await this.emit.send(o,Z);r("Emitted send"),r("Emitting parse"),[o,i,t]=await this.emit.parse(o,i,t),r("Emitted parse"),r("Emitting post"),[o,t]=await this.emit.post(o,t),r("Emitted post"),r("Emitting data"),this.emit.data(t),r("Emitted data")}catch(e){r(`Emitting error: "${e.message||e}"`,3),this.error(e),r("Emitted error",3)}finally{r("Finished request",0)}},0),this.emit[this.InternalPromise](new Promise((c,o)=>{this.on[this.InternalResolve].replace(c),this.on[this.InternalReject].replace(o)}))[0]}};Pc=N1([ZG()],Pc);function hn(a,l={headers:{}}){return{method:a,...l,headers:{...l.headers}}}function Zn(a){return this.start(hn("GET",a))}function dH(a){return this.start(hn("POST",a))}function pH(a){return this.start(hn("PATCH",a))}function Tc(a,l,c){return Reflect.apply(l,a,[c])}function _H(a){return(l,c)=>{let o=new a(l,c);return o.emit.construct(l,c),o}}function ZG(a){return(l)=>{return new Proxy(l,{construct(c,o,r){let e=Object.assign(function(h){if(!U5(a))a=function(Z){return Tc(this,Zn,Z)};return Reflect.apply(a,e,[h])},Reflect.construct(c,o,r));return Reflect.setPrototypeOf(e,r.prototype),e}})}}function tn(a,l=!1){return(c)=>{let o=async function(r,e,h){return e.headers={...e.headers,...a},[r,e,h]};if(l)c.on.pre.prepend(o);else c.on.pre(o);return c}}function Ue(){return v2(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 nn(c)})}function A8(){return v2((a)=>a.text())}function MH(){return v2((a)=>a.blob())}function Be(){return v2((a)=>a.json())}function AH(){return v2((a)=>U5(a.arrayBuffer)?a.arrayBuffer():a.buffer())}async function tG(a,l,c){if(!l.ok)throw await X4.init(l);return[a,l,c]}function nn(a){let l=a;if(Y1(a,"d"))if(Y1(a.d,"results"))l=a.d.results;else l=a.d;else if(Y1(a,"value"))l=a.value;return l}function v2(a){return(l)=>{return l.on.parse.replace(tG),l.on.parse(async(c,o,r)=>{if(o.ok&&typeof r>"u")r=await a(o);return[c,o,r]}),l}}class X4 extends Error{constructor(a,l,c=l.status,o=l.statusText){super(a);this.response=l,this.status=c,this.statusText=o,this.isHttpRequestError=!0}static async init(a){let l=await a.clone().text();return new X4(`Error making HttpClient request in queryable [${a.status}] ${a.statusText} ::> ${l}`,a)}}function De(a){let{interval:l,replace:c,retries:o}={replace:!0,interval:200,retries:3,...a};return(r)=>{if(c)r.on.send.clear();return r.on.send(function(e,h){let Z,t=l,i=0,v,n=async()=>{if(i>=o)throw v||new X4(`Retry count exceeded (${o}) for this request. ${Z.status}: ${Z.statusText};`,Z);if(i++,typeof Z>"u"||(Z===null||Z===void 0?void 0:Z.status)===429||(Z===null||Z===void 0?void 0:Z.status)===503||(Z===null||Z===void 0?void 0:Z.status)===504){if(typeof Z<"u"){if(Z.headers.has("Retry-After"))t=parseInt(Z.headers.get("Retry-After"),10)*1000;else t*=2;this.log(`Attempt #${i} to retry request which failed with ${Z.status}: ${Z.statusText}`,0),await eH(t)}try{let d=e.toString();return this.log(`Fetch: ${h.method} ${d}`,0),Z=await fetch(d,h),Z.ok?Z:n()}catch(d){if(/AbortError/.test(d.name))throw d;return v=d,n()}}else return Z};return n()}),r}}function vn(){return(a)=>{return a.on.pre.prepend(async function(l,c,o){return c.headers={...c.headers,"X-PnP-CacheNever":"1"},[l,c,o]}),a}}function sH(a){return(l)=>{return l.on.pre(async function(c,o,r){let[e,h,Z]=uH(c,o,a);if(e){let t=h();if(t===null)this.on.post(Y4(async function(i,v){return Z(v),[i,v]}));else r=t}return[c,o,r]}),l}}var mH=new ln;function uH(a,l,c){var o,r;let{store:e,keyFactory:h,expireFunc:Z}={store:"local",keyFactory:(v)=>rH(v.toLowerCase()).toString(),expireFunc:()=>Q3(/*@__PURE__*/new Date,"minute",5),...c},t=e==="session"?mH.session:mH.local,i=(l===null||l===void 0?void 0:l.headers["X-PnP-CacheKey"])?l.headers["X-PnP-CacheKey"]:h(a);return[(/get/i.test(l.method)||((o=l===null||l===void 0?void 0:l.headers["X-PnP-CacheAlways"])!==null&&o!==void 0?o:!1))&&!((r=l===null||l===void 0?void 0:l.headers["X-PnP-CacheNever"])!==null&&r!==void 0?r:!1),()=>t.get(i),(v)=>t.put(i,v,Z(a))]}var HH="__CancelMoment__",m8=Symbol.for("CancelScopeId"),bc=/*@__PURE__*/new Map;async function iG(a){let l=bc.get(a);if(l.controller.abort(),Q0(l===null||l===void 0?void 0:l.actions))l.actions.map((c)=>l.currentSelf.on[HH](c));try{await l.currentSelf.emit[HH]()}catch(c){l.currentSelf.log(`Error in cancel: ${c}`,3)}}function nG(a){let l=e3();return a[m8]=l,bc.set(l,{cancel:iG.bind({},l),actions:[],controller:null,currentSelf:a}),l}var vG=(a)=>{return function(...l){if(!Reflect.has(this,m8))nG(this);let c=a.apply(this,l).finally(()=>{bc.delete(this[m8]),delete this[m8]});return c.cancel=bc.get(this[m8]).cancel,c}};function F7(a,l,c){c.value=vG(c.value)}function dn(a){return(l)=>{return l.on.pre(async function(...c){let o=bc.get(this[m8]);if(L0(o)){if(!Q0(o.actions))o.actions=[];if(o.actions.indexOf(a)<0)o.actions.push(a)}return c}),l}}function fH(){return(a)=>{return a.on.data(function(l){this.emit[this.InternalResolve](l)}),a}}function VH(){return(a)=>{return a.on.error(function(l){this.emit[this.InternalReject](l)}),a}}function J0(a,l,c,o){Reflect.defineProperty(a.prototype,l,{configurable:!0,enumerable:!0,get:function(){return c(this,o||l)}})}function O1(a,l){return Object.assign({body:we(a)},l)}function s8(a,l){return Object.assign({},l,{headers:{...l===null||l===void 0?void 0:l.headers,...a}})}var dG="This folder contains extensions that are loaded by the SPFxExtensions application.";async function ke(a){try{await a.web.lists.ensure(B1,dG,101,!1,{Hidden:!0})}catch(l){if(l instanceof X4){if(l.message.includes("-2130575342"))return}throw l}}async function FH(a,l,c){let o=`${l}/${B1}/${c}`,r=await a.web.lists.getByTitle(B1).items.filter(`startswith(FileDirRef,'${o}') and FSObjType eq 0`).select("Id")();if(r.length>0){let[h,Z]=a.web.batched();r.forEach((t)=>{h.lists.getByTitle(B1).items.getById(t.Id).delete()}),await Z()}let e=a.web.lists.getByTitle(B1).rootFolder.folders.getByUrl(c);await gH(e)}async function gH(a){let l=await a.folders();for(let c of l)await gH(a.folders.getByUrl(c.Name));await a.delete()}var a0=(a)=>{return _H(a)};class J3 extends Pc{constructor(a,l){if(typeof a==="string"){let c="",o="";if(O0(a)||a.lastIndexOf("/")<0)o=a,c=q1(a,l);else if(a.lastIndexOf("/")>a.lastIndexOf("(")){let r=a.lastIndexOf("/");o=a.slice(0,r),l=q1(a.slice(r),l),c=q1(o,l)}else{let r=a.lastIndexOf("(");o=a.slice(0,r),c=q1(a,l)}super(c);this.parentUrl=o}else{super(a,l);let c=Q0(a)?a[0]:a;this.parentUrl=Q0(a)?a[1]:c.toUrl()}}toRequestUrl(){let a=new URLSearchParams(this.query),l=this.toUrl().replace(/'!(@.+?)::((?:[^']|'')+)'/ig,(o,r,e)=>{return this.log(`Rewriting aliased parameter from match ${o} to label: ${r} value: ${e}`,0),a.set(r,`'${e}'`),r}),c=a.toString();if(!B5(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 T0=a0(J3);class d5 extends J3{filter(a){if(typeof a==="object")return this.query.set("$filter",a.toString()),this;if(typeof a==="function")return this.query.set("$filter",a(ye.Where()).toString()),this;return this.query.set("$filter",a.toString()),this}orderBy(a,l=!0){let o=this.query.has("$orderby")?this.query.get("$orderby").split(","):[];return o.push(`${a} ${l?"asc":"desc"}`),this.query.set("$orderby",o.join(",")),this}skip(a){return this.query.set("$skip",a.toString()),this}top(a){return this.query.set("$top",a.toString()),this}}var Y5=a0(d5);class a5 extends J3{}var d2=a0(a5);function Pe(){return function(){return CH(this)}}function h3(){return function(a="*"){return pG(this,{},a)}}var xH=(a,l)=>{return Tc(a,Zn,l)},X=(a,l)=>Tc(a,dH,l),H8=(a,l)=>{return l=l||{},l.headers={...l.headers,"X-HTTP-Method":"MERGE"},X(a,l)},CH=(a,l)=>{return l=l||{},l.headers={...l.headers||{},"X-HTTP-Method":"DELETE"},X(a,l)},pG=(a,l,c="*")=>{return l=l||{},l.headers={...l.headers||{},"IF-Match":c},CH(a,l)};var LH=(a,l)=>Tc(a,pH,l),P0;(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"})(P0||(P0={}));var v5;(function(a){a.And="and",a.AndWithSpace=" and ",a.Or="or",a.OrWithSpace=" or "})(v5||(v5={}));class ye{static Where(){return new SH([])}}class qc{constructor(a){this.query=[],this.query=a}}class u8 extends qc{constructor(a){super(a)}text(a){return new Ec([...this.query,a])}choice(a){return new Ec([...this.query,a])}multiChoice(a){return new Ec([...this.query,a])}number(a){return new Oe([...this.query,a])}date(a){return new BH([...this.query,a])}boolean(a){return new UH([...this.query,a])}lookup(a){return new GH([...this.query],a)}lookupId(a){let l=a.endsWith("Id")?a:`${a}Id`;return new Oe([...this.query,l])}}class RH extends u8{or(...a){return new u0([...this.query,`(${a.map((l)=>l.toString()).join(v5.OrWithSpace)})`])}}class wH extends u8{and(...a){return new u0([...this.query,`(${a.map((l)=>l.toString()).join(v5.AndWithSpace)})`])}}class SH extends u8{or(...a){if(a==null||a.length===0)return new u8([...this.query,v5.Or]);return new u0([...this.query,`(${a.map((l)=>l.toString()).join(v5.OrWithSpace)})`])}and(...a){if(a==null||a.length===0)return new u8([...this.query,v5.And]);return new u0([...this.query,`(${a.map((l)=>l.toString()).join(v5.AndWithSpace)})`])}}class GH extends qc{constructor(a,l){super(a);this.LookupField=l}Id(a){return new u0([...this.query,`${this.LookupField}/Id`,P0.Equals,a.toString()])}text(a){return new Ec([...this.query,`${this.LookupField}/${a}`])}number(a){return new Oe([...this.query,`${this.LookupField}/${a}`])}}class pn extends qc{constructor(a){super(a);this.LastIndex=a.length-1,this.InternalName=a[this.LastIndex]}toODataValue(a){return`'${a}'`}isNull(){return new u0([...this.query,P0.Equals,"null"])}isNotNull(){return new u0([...this.query,P0.NotEquals,"null"])}}class _n extends pn{equals(a){return new u0([...this.query,P0.Equals,this.toODataValue(a)])}notEquals(a){return new u0([...this.query,P0.NotEquals,this.toODataValue(a)])}in(...a){return ye.Where().or(...a.map((l)=>this.equals(l)))}notIn(...a){return ye.Where().and(...a.map((l)=>this.notEquals(l)))}}class Ec extends _n{startsWith(a){let l=`${P0.StartsWith}(${this.InternalName}, ${this.toODataValue(a)})`;return this.query[this.LastIndex]=l,new u0([...this.query])}contains(a){let l=`${P0.SubstringOf}(${this.toODataValue(a)}, ${this.InternalName})`;return this.query[this.LastIndex]=l,new u0([...this.query])}}class UH extends pn{toODataValue(a){return`${a==null?"null":a?1:0}`}isTrue(){return new u0([...this.query,P0.Equals,this.toODataValue(!0)])}isFalse(){return new u0([...this.query,P0.Equals,this.toODataValue(!1)])}isFalseOrNull(){let a=`(${[this.InternalName,P0.Equals,this.toODataValue(null),v5.Or,this.InternalName,P0.Equals,this.toODataValue(!1)].join(" ")})`;return this.query[this.LastIndex]=a,new u0([...this.query])}}class Mn extends _n{greaterThan(a){return new u0([...this.query,P0.GreaterThan,this.toODataValue(a)])}greaterThanOrEquals(a){return new u0([...this.query,P0.GreaterThanOrEqualTo,this.toODataValue(a)])}lessThan(a){return new u0([...this.query,P0.LessThan,this.toODataValue(a)])}lessThanOrEquals(a){return new u0([...this.query,P0.LessThanOrEqualTo,this.toODataValue(a)])}}class Oe extends Mn{toODataValue(a){return`${a}`}}class BH extends Mn{toODataValue(a){return`'${a.toISOString()}'`}isBetween(a,l){let c=`(${[this.InternalName,P0.GreaterThan,this.toODataValue(a),v5.And,this.InternalName,P0.LessThan,this.toODataValue(l)].join(" ")})`;return this.query[this.LastIndex]=c,new u0([...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 u0 extends qc{and(...a){if(a==null||a.length===0)return new RH([...this.query,v5.And]);return new u0([...this.query,v5.And,`(${a.map((l)=>l.toString()).join(v5.AndWithSpace)})`])}or(...a){if(a==null||a.length===0)return new wH([...this.query,v5.Or]);return new u0([...this.query,v5.Or,`(${a.map((l)=>l.toString()).join(v5.OrWithSpace)})`])}toString(){return this.query.join(" ")}}function l5(a){return function(l){return class extends l{constructor(...c){super(c[0],c.length>1&&c[1]!==void 0?c[1]:a)}}}}class Q2{constructor(a=""){this._root=T0(a)}using(...a){return this._root.using(...a),this}create(a,l){return a(this._root,l)}}function f8(a=""){if(typeof a==="object"&&!Reflect.has(a,"length"))a=a._root;return new Q2(a)}var Wc="00000000-0000-0000-0000-000000000000",DH;(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"})(DH||(DH={}));var kH;(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"})(kH||(kH={}));var yH;(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"})(yH||(yH={}));function v0(a){if(B5(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 J2(a){let l=[],c=["odata.type","odata.editLink","__metadata","odata.metadata","odata.id"];if(Y1(a,c[0])&&a[c[0]]==="SP.Web"){if(Y1(a,c[4]))l.push(a[c[4]]);else if(Y1(a,c[2]))l.push(a.__metadata.uri)}else if(Y1(a,c[3])&&Y1(a,c[1])){let o=O0(a[c[1]])?a[c[1]].split("_api")[1]:a[c[1]];l.push(v0(a[c[3]]),"_api",o)}else if(Y1(a,c[1]))l.push("_api",a[c[1]]);else if(Y1(a,c[2]))l.push(a.__metadata.uri);if(l.length<1)return"";return q1(...l)}function g7(a){return{DecodedUrl:a}}function I1(a){if(B5(a))return"";if(/!(@.*?)::(.*?)/ig.test(a))return a.replace(/!(@.*?)::(.*)$/ig,(l,c,o)=>{return`!${c}::${o.replace(/'/ig,"''")}`});else return encodeURIComponent(a.replace(/'/ig,"''"))}function OH(a){if(B5(a))return"";if(/!(@.*?)::(.*?)/ig.test(a))return a.replace(/!(@.*?)::(.*)$/ig,(l,c,o)=>{return`!${c}::${o.replace(/'/ig,"''")}`});else return a.replace(/'/ig,"''")}function PH(){return(a)=>{return a.on.pre(async function(l,c,o){let r="PnPCoreJS:4.17.0:",{pathname:e}=new URL(l);if(r=e.split("/").filter((h)=>!B5(h)&&["_api","v2.1","v2.0"].indexOf(h)<0).map((h,Z,t)=>Z===t.length-1?h.replace(/\(.*?$/i,"()"):h[0]).join("."),r.length>32)r=r.substring(0,32);return this.log(`Request Tag: ${r}`,0),c.headers={...c.headers,["X-ClientService-ClientTag"]:r},[l,c,o]}),a}}function Te(){return(a)=>{return a.on.pre(async(l,c,o)=>{return c.cache="no-cache",c.credentials="same-origin",[l,c,o]}),a.using(PH(),VH(),fH()),a}}function be(){return(a)=>{return a.using(tn({Accept:"application/json","Content-Type":"application/json;charset=utf-8"})),a}}var mn=class extends d5{async add(l,c,o="",r="STS",e=1033,h=!0){let Z=O1({parameters:{Description:o,Language:e,Title:l,Url:c,UseSamePermissionsAsParentSite:h,WebTemplate:r}});return X(sn(this,"add"),Z)}};mn=N1([l5("webs")],mn);var sn=a0(mn);function An(a,l){let c="_api/web",o=/(_api[/|\\](site\/rootweb|site|web))/i.exec(a);if((o===null||o===void 0?void 0:o.length)>0)a=v0(a),c=o[1];if((l===null||l===void 0?void 0:l.indexOf("_api"))<0)a=q1(a,c);return a}var t0=class extends a5{constructor(l,c){if(typeof l==="string")l=An(l,c);else if(Q0(l))l=[l[0],An(l[1],c)];else l=[l,An(l.toUrl(),c)];super(l,c);this.delete=Pe()}get webs(){return sn(this)}get allProperties(){return d2(this,"allproperties")}get webinfos(){return Y5(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 d0([this,q1(new URL(l).origin,c.ServerRelativeUrl)]);return null}async update(l){return H8(this,O1(l))}applyTheme(l,c,o,r){let e=O1({backgroundImageUrl:o,colorPaletteUrl:l,fontSchemeUrl:c,shareGenerated:r});return X(d0(this,"applytheme"),e)}applyWebTemplate(l){return X(d0(this,`applywebtemplate(webTemplate='${I1(l)}')`))}getChanges(l){return X(d0(this,"getchanges"),O1({query:l}))}mapToIcon(l,c=0,o=""){return d0(this,`maptoicon(filename='${I1(l)}',progid='${I1(o)}',size=${c})`)()}getStorageEntity(l){return d0(this,`getStorageEntity('${I1(l)}')`)()}setStorageEntity(l,c,o="",r=""){return X(d0(this,"setStorageEntity"),O1({comments:r,description:o,key:l,value:c}))}removeStorageEntity(l){return X(d0(this,`removeStorageEntity('${I1(l)}')`))}getSubwebsFilteredForCurrentUser(l=-1,c=-1){return Y5(this,`getSubwebsFilteredForCurrentUser(nWebTemplateFilter=${l},nConfigurationFilter=${c})`)}availableWebTemplates(l=1033,c=!0){return Y5(this,`getavailablewebtemplates(lcid=${l},doincludecrosslanguage=${c})`)}};t0=N1([l5("_api/web")],t0);var d0=a0(t0);Q2.prototype.batched=function(a){let l=f8(this),[c,o]=TH(l._root,a);return l.using(c),[l,o]};t0.prototype.batched=function(a){let l=d0(this),[c,o]=TH(l,a);return l.using(c),[l,o]};var V8=Symbol.for("batch_registration"),K4=Symbol.for("batch_request");function _G(){return v2(async(a)=>{let l=await a.text();return MG(l)})}class un extends J3{constructor(a,l=a.toUrl().replace(/_api[\\|/].*$/i,"")){super(l,"_api/$batch");this.requestBaseUrl=l,this.using(Oc(a,"replace"),_G()),this.on.dispose(()=>{a.using(Oc(this,"replace",(c)=>/(auth|send|pre|init)/i.test(c)))})}}function TH(a,l){let c=[],o=[],r=[],e=new un(a),h=e3(),Z=new un(a),{headersCopyPattern:t,maxRequests:i}={headersCopyPattern:/Accept|Content-Type|IF-Match/i,maxRequests:20,...l};return[(d)=>{return d.on.init(function(){if(U5(this[V8]))throw Error("This instance is already part of a batch. Please review the docs at https://pnp.github.io/pnpjs/concepts/batching#reuse.");return c.push(new Promise((p)=>{this[V8]=p})),this}),d.on.pre(async function(p,M,_){if(Y1(M.headers,"X-PnP-BatchNever")){if(typeof this[K4]==="function")this[K4](),delete this[K4];return this.using(Oc(Z,"replace",(A)=>/(init|pre)/i.test(A))),[p,M,_]}return this.on.auth.clear(),this.on.send.replace(async function(A,m){let u=new Promise((f)=>{r.push([this,A.toString(),m,f])});return this.log(`[batch:${h}] (${(/*@__PURE__*/new Date()).getTime()}) Adding request ${m.method} ${A.toString()} to batch.`,0),o.push(new Promise((f)=>{this[K4]=f})),this[V8](),u}),this.on.dispose(function(){if(U5(this[V8]))this[V8](),delete this[V8];if(U5(this[K4]))this[K4](),delete this[K4],this.using(Oc(Z,"replace",(A)=>/(auth|pre|send|init|dispose)/i.test(A)))}),[p,M,_]}),d},async()=>{if(await Promise.all(c),r.length<1)return Promise.all(o).then(()=>{return});let d=r.slice();while(d.length>0){let p=d.splice(0,i),M=[],_="";for(let m=0;m<p.length;m++){let[,u,f]=p[m];if(f.method==="GET"){if(_.length>0)M.push(`--changeset_${_}--
|
|
152
152
|
|
|
153
|
-
`),
|
|
154
|
-
`)}else{if(
|
|
155
|
-
`),
|
|
153
|
+
`),_="";M.push(`--batch_${h}
|
|
154
|
+
`)}else{if(_.length<1)_=e3(),M.push(`--batch_${h}
|
|
155
|
+
`),M.push(`Content-Type: multipart/mixed; boundary="changeset_${_}"
|
|
156
156
|
|
|
157
|
-
`);
|
|
158
|
-
`)}
|
|
159
|
-
`),
|
|
157
|
+
`);M.push(`--changeset_${_}
|
|
158
|
+
`)}M.push(`Content-Type: application/http
|
|
159
|
+
`),M.push(`Content-Transfer-Encoding: binary
|
|
160
160
|
|
|
161
|
-
`);let H=new Headers(
|
|
162
|
-
`)}else
|
|
163
|
-
`);if(!H.has("Accept"))H.append("Accept","application/json");if(!H.has("Content-Type"))H.append("Content-Type","application/json;charset=utf-8");if(H.forEach((
|
|
164
|
-
`)}),
|
|
165
|
-
`),
|
|
161
|
+
`);let H=new Headers(f.headers),F=O0(u)?u:q1(e.requestBaseUrl,u);if(f.method!=="GET"){let R=f.method;if(H.has("X-HTTP-Method"))R=H.get("X-HTTP-Method"),H.delete("X-HTTP-Method");M.push(`${R} ${F} HTTP/1.1
|
|
162
|
+
`)}else M.push(`${f.method} ${F} HTTP/1.1
|
|
163
|
+
`);if(!H.has("Accept"))H.append("Accept","application/json");if(!H.has("Content-Type"))H.append("Content-Type","application/json;charset=utf-8");if(H.forEach((R,C)=>{if(t.test(C))M.push(`${C}: ${R}
|
|
164
|
+
`)}),M.push(`
|
|
165
|
+
`),f.body)M.push(`${f.body}
|
|
166
166
|
|
|
167
|
-
`)}if(
|
|
167
|
+
`)}if(_.length>0)M.push(`--changeset_${_}--
|
|
168
168
|
|
|
169
|
-
`),
|
|
170
|
-
`);let
|
|
171
|
-
`),r="batch",t,h,Z={},i=[];for(let n=0;n<e.length;++n){let v=e[n];switch(r){case"batch":if(v.substring(0,16)==="--batchresponse_")r="batchHeaders";else if(v.trim()!=="")throw Error(`Invalid response, line ${n}`);break;case"batchHeaders":if(v.trim()==="")r="status";break;case"status":{let d=o.exec(v);if(d.length!==3)throw Error(`Invalid status, line ${n}`);t=parseInt(d[1],10),h=d[2],r="statusHeaders";break}case"statusHeaders":if(v.trim()==="")r="body";else{let d=v.split(":");if((d===null||d===void 0?void 0:d.length)===2)Z[d[0].trim()]=d[1].trim()}break;case"body":i.length=0;while(v.substring(0,16)!=="--batchresponse_")i.push(v),v=e[++n];n--,l.push(new Response(t===204?null:i.join(""),{status:t,statusText:h,headers:Z})),r="batch",Z={};break}}if(r!=="status")throw Error("Unexpected end of input");return l}function jH(a){let l=/*@__PURE__*/new Date;return!L0(a)||l>a.expiration?null:a}var aV=/*@__PURE__*/new Map;function Pr(a){return(l)=>{return l.on.pre(async function(c,o,e){return this.on.auth(async(r,t)=>{if(/get/i.test(t.method)||t.headers&&($1(t.headers,"X-RequestDigest")||$1(t.headers,"Authorization")||$1(t.headers,"X-PnPjs-NoDigest")))return[r,t];let h=r.toString(),Z=n0(h),i=jH(aV.get(Z));if(!L0(i)&&U5(a))i=jH(a(h,t));if(!L0(i))i=await Y(b0([this,I1(Z,"_api/contextinfo")]).using(Br(),J3()),{headers:{Accept:"application/json","X-PnPjs-NoDigest":"1"}}).then((n)=>({expiration:z3(/*@__PURE__*/new Date,"second",n.FormDigestTimeoutSeconds),value:n.FormDigestValue}));if(L0(i))t.headers={"X-RequestDigest":i.value,...t.headers},aV.set(Z,i);return[r,t]}),[c,o,e]}),l}}function zr(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(qr(),Ir(),Tr(),Gr(),Pr()),B0(a===null||a===void 0?void 0:a.baseUrl))l.on.pre.prepend(async(c,o,e)=>{if(!B0(c))c=I1(a.baseUrl,c);return[c,o,e]});return l}}class Rv 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 Rv(a)}}function lV(a){return Rv.check("SPFx",a),(l)=>{return l.using(qr(),Ir(),Tr(),Gr(),Pr((c)=>{var o,e,r;if(new RegExp(`^${I1(a.pageContext.web.absoluteUrl,"/_api")}`,"i").test(c)&&((e=(o=a===null||a===void 0?void 0:a.pageContext)===null||o===void 0?void 0:o.legacyPageContext)===null||e===void 0?void 0:e.formDigestValue)){let h=new Date(a.pageContext.legacyPageContext.formDigestValue.split(",")[1]);return{value:a.pageContext.legacyPageContext.formDigestValue,expiration:z3(h,"second",((r=a.pageContext.legacyPageContext)===null||r===void 0?void 0:r.formDigestTimeoutSeconds)-15||1585)}}})),l.on.pre.prepend(async(c,o,e)=>{if(!B0(c))c=I1(a.pageContext.web.absoluteUrl,c);return[c,o,e]}),l}}var Sv=class a extends p5{getById(l){return f0(this).concat(`('${l}')`)}getByTitle(l){return f0(this,`getByTitle('${Q1(l)}')`)}async add(l,c="",o=100,e=!1,r={}){let t={AllowContentTypes:e,BaseTemplate:o,ContentTypesEnabled:e,Description:c,Title:l,...r};return Y(this,B1(t))}async ensure(l,c="",o=100,e=!1,r={}){let t={Title:l,Description:c,ContentTypesEnabled:e,...r},h=this.getByTitle(t.Title);try{return await h.select("Title")(),{created:!1,data:await h.update(t),list:this.getByTitle(t.Title)}}catch(Z){return{created:!0,data:await this.add(l,c,o,e,t),list:this.getByTitle(t.Title)}}}async ensureSiteAssetsLibrary(){let l=await Y(Qc(this,"ensuresiteassetslibrary"));return f0([this,z2(l)])}async ensureSitePagesLibrary(){let l=await Y(Qc(this,"ensuresitepageslibrary"));return f0([this,z2(l)])}};Sv=e0([c5("lists")],Sv);var Qc=j1(Sv);class La extends l5{constructor(){super(...arguments);this.delete=t3()}get effectiveBasePermissions(){return b0(this,"EffectiveBasePermissions")}get eventReceivers(){return K5(this,"EventReceivers")}get relatedFields(){return b0(this,"getRelatedFields")}get informationRightsManagementSettings(){return b0(this,"InformationRightsManagementSettings")}async update(a,l="*"){return await Fa(this,B1(a,ga({"IF-Match":l})))}getChanges(a){return Y(f0(this,"getchanges"),B1({query:a}))}getItemsByCAMLQuery(a,...l){return Y(f0(this,"getitems").expand(...l),B1({query:a}))}getListItemChangesSinceToken(a){return Y(f0(this,"getlistitemchangessincetoken").using(Ha()),B1({query:a}))}async recycle(){return Y(f0(this,"recycle"))}async renderListData(a){let l=f0(this,"renderlistdata(@viewXml)");l.query.set("@viewXml",`'${a}'`);let c=await Y(l);return JSON.parse(c)}renderListDataAsStream(a,l=null,c=/*@__PURE__*/new Map){if($1(a,"RenderOptions")&&Q0(a.RenderOptions))a.RenderOptions=a.RenderOptions.reduce((r,t)=>r+t);let o=f0(this,"RenderListDataAsStream");if(c&&c.size>0)c.forEach((r,t)=>o.query.set(t,r));let e=L0(l)?{parameters:a,overrideParameters:l}:{parameters:a};return Y(o,B1(e))}async renderListFormData(a,l,c){let o=await Y(f0(this,`renderlistformdata(itemid=${a}, formid='${l}', mode='${c}')`));return JSON.parse(o)}async reserveListItemId(){return Y(f0(this,"reservelistitemid"))}async addValidateUpdateItemUsingPath(a,l,c=!1,o,e){let r={FolderPath:F7(l)};if(L0(e)){if(e.leafName)r.LeafName=F7(e.leafName);if(e.objectType)r.UnderlyingObjectType=e.objectType}return Y(f0(this,"AddValidateUpdateItemUsingPath()"),B1({bNewDocumentUpdate:c,checkInComment:o,formValues:a,listItemCreateInfo:r}))}async getParentInfos(){let a=await this.select("Id","RootFolder/UniqueId","RootFolder/ServerRelativeUrl","RootFolder/ServerRelativePath","ParentWeb/Id","ParentWeb/Url","ParentWeb/ServerRelativeUrl","ParentWeb/ServerRelativePath").expand("RootFolder","ParentWeb")();return{List:{Id:a.Id,RootFolderServerRelativePath:a.RootFolder.ServerRelativePath,RootFolderServerRelativeUrl:a.RootFolder.ServerRelativeUrl,RootFolderUniqueId:a.RootFolder.UniqueId},ParentWeb:{Id:a.ParentWeb.Id,ServerRelativePath:a.ParentWeb.ServerRelativePath,ServerRelativeUrl:a.ParentWeb.ServerRelativeUrl,Url:a.ParentWeb.Url}}}}var f0=j1(La),Dv;(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"})(Dv||(Dv={}));var wv;(function(a){a[a.Display=1]="Display",a[a.Edit=2]="Edit",a[a.New=3]="New"})(wv||(wv={}));var kv=class a extends p5{getById(l){return n2(this).concat(`(${l})`)}getItemByStringId(l){return n2([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=K5(this).using(i2(async(o)=>{let e=await o.json(),r=$1(e,"d")&&$1(e.d,"__next")?e.d.__next:e["odata.nextLink"];return{hasNext:typeof r==="string"&&r.length>0,nextLink:r,value:uv(e)}})),c=["$top","$select","$expand","$filter","$orderby","$skiptoken"];for(let o=0;o<c.length;o++){let e=this.query.get(c[o]);if(L0(e))l.query.set(c[o],e)}return{_next:l,async next(){if(this._next===null)return{done:!0,value:void 0};let o=await this._next();if(o.hasNext)return this._next=K5([this._next,o.nextLink]),{done:!1,value:o.value};else return this._next=null,{done:!1,value:o.value}}}}async add(l={}){return Y(this,B1(l))}};kv=e0([c5("items")],kv);var Uv=j1(kv);class Ra extends l5{constructor(){super(...arguments);this.delete=t3()}get effectiveBasePermissions(){return b0(this,"EffectiveBasePermissions")}get effectiveBasePermissionsForUI(){return b0(this,"EffectiveBasePermissionsForUI")}get fieldValuesAsHTML(){return v2(this,"FieldValuesAsHTML")}get fieldValuesAsText(){return v2(this,"FieldValuesAsText")}get fieldValuesForEdit(){return v2(this,"FieldValuesForEdit")}get versions(){return cV(this)}get list(){return this.getParent(f0,"",this.parentUrl.substring(0,this.parentUrl.lastIndexOf("/")))}async update(a,l="*"){let c=B1(a,ga({"IF-Match":l,"X-HTTP-Method":"MERGE"}));return Y(n2(this).using(Vw()),c)}recycle(){return Y(n2(this,"recycle"))}async deleteWithParams(a){return Y(n2(this,"DeleteWithParameters"),B1({parameters:a}))}async getWopiFrameUrl(a=0){let l=n2(this,"getWOPIFrameUrl(@action)");return l.query.set("@action",a),Y(l)}validateUpdateListItem(a,l=!1){return Y(n2(this,"validateupdatelistitem"),B1({formValues:a,bNewDocumentUpdate:l}))}async getParentInfos(){let a=await this.select("Id","ParentList/Id","ParentList/Title","ParentList/RootFolder/UniqueId","ParentList/RootFolder/ServerRelativeUrl","ParentList/RootFolder/ServerRelativePath","ParentList/ParentWeb/Id","ParentList/ParentWeb/Url","ParentList/ParentWeb/ServerRelativeUrl","ParentList/ParentWeb/ServerRelativePath").expand("ParentList","ParentList/RootFolder","ParentList/ParentWeb")();return{Item:{Id:a.Id},ParentList:{Id:a.ParentList.Id,Title:a.ParentList.Title,RootFolderServerRelativePath:a.ParentList.RootFolder.ServerRelativePath,RootFolderServerRelativeUrl:a.ParentList.RootFolder.ServerRelativeUrl,RootFolderUniqueId:a.ParentList.RootFolder.UniqueId},ParentWeb:{Id:a.ParentList.ParentWeb.Id,ServerRelativePath:a.ParentList.ParentWeb.ServerRelativePath,ServerRelativeUrl:a.ParentList.ParentWeb.ServerRelativeUrl,Url:a.ParentList.ParentWeb.Url}}}async setImageField(a,l,c){let o=await this.getParentInfos(),e=n0(this.toUrl()),r=b0([this,e],"/_api/web/UploadImage");r.concat("(listTitle=@a1,imageName=@a2,listId=@a3,itemId=@a4)"),r.query.set("@a1",`'${o.ParentList.Title}'`),r.query.set("@a2",`'${l}'`),r.query.set("@a3",`'${o.ParentList.Id}'`),r.query.set("@a4",o.Item.Id);let t=await Y(r,{body:c}),h={type:"thumbnail",fileName:t.Name,nativeFile:{},fieldName:a,serverUrl:o.ParentWeb.Url.replace(o.ParentWeb.ServerRelativeUrl,""),serverRelativeUrl:t.ServerRelativeUrl,id:t.UniqueId};return this.validateUpdateListItem([{FieldName:a,FieldValue:JSON.stringify(h)}])}}var n2=j1(Ra),yv=class a extends p5{getById(l){return eV(this).concat(`(${l})`)}};yv=e0([c5("versions")],yv);var cV=j1(yv);class oV extends l5{constructor(){super(...arguments);this.delete=t3()}}var eV=j1(oV);function Vw(){return i2(async(a)=>({etag:a.headers.get("etag")}))}Q3.prototype.getContextInfo=async function(a=this.parentUrl){let l=await Y(b0([this,n0(a)],"_api/contextinfo"));if($1(l,"GetContextWebInformation")){let c=l.GetContextWebInformation;return c.SupportedSchemaVersions=c.SupportedSchemaVersions.results,c}else return l};var Gv=class a extends p5{getByUrl(l){return K0(this).concat(`('${Q1(l)}')`)}async addUsingPath(l,c=!1){return Y(Jc(this,`addUsingPath(DecodedUrl='${Q1(l)}',overwrite=${c})`))}};Gv=e0([c5("folders")],Gv);var Jc=j1(Gv);class Sa extends l5{constructor(){super(...arguments);this.delete=t3()}get folders(){return Jc(this)}get listItemAllFields(){return v2(this,"listItemAllFields")}get parentFolder(){return K0(this,"parentFolder")}get properties(){return v2(this,"properties")}get storageMetrics(){return v2(this,"storagemetrics")}async update(a){return Fa(this,B1(a))}recycle(){return Y(K0(this,"recycle"))}async getItem(...a){let c=await this.listItemAllFields.select(...a)();if(c["odata.null"])throw Error("No associated item was found for this folder. It may be the root folder, which does not have an item.");return Object.assign(n2([this,z2(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 Y(K0(this,"DeleteWithParameters"),B1({parameters:a}))}async addSubFolderUsingPath(a){return await Y(K0(this,"AddSubFolderUsingPath"),B1({leafPath:F7(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 o=K0(this);return o.on.pre(Y4(async(e,r,t)=>{let{ServerRelativeUrl:h,["odata.id"]:Z}=await K0(this).using(J3()).select("ServerRelativeUrl")(),i=new URL(n0(Z));return e=I1(i.href,`/_api/SP.MoveCopyUtil.${c}()`),r=B1({destPath:F7(B0(a)?a:I1(i.origin,a)),options:l,srcPath:F7(I1(i.origin,h))},r),[e,r,t]})),Y(o).then(()=>tV(this,a))}}e0([f7],Sa.prototype,"moveByPath",null);e0([f7],Sa.prototype,"copyByPath",null);var K0=j1(Sa);function Kc(a,l){return K0([a,n0(a.toUrl())],`_api/web/getFolderByServerRelativePath(decodedUrl='${YH(l)}')`)}async function rV(a,l){let{WebFullUrl:c}=await K0(a).using(J3()).getContextInfo(l),{pathname:o}=new URL(l);return Kc(K0([a,I1(c,"_api/web")]),decodeURIComponent(o))}async function tV(a,l){return(B0(l)?rV:Kc)(a,l)}J0(La,"items",Uv);function gw(){return i2(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 Qr extends l5{getText(){return this.getParsed(Ha())}getBlob(){return this.getParsed(RH())}getBuffer(){return this.getParsed(SH())}getJSON(){return this.getParsed(Br())}getStream(){return b0(this,"$value").using(gw(),Av())(ga({binaryStringResponseBody:"true"}))}getParsed(a){return b0(this,"$value").using(a,Av())()}}var Da=class a extends p5{getByUrl(l){if(/%#/.test(l))throw Error("For file names containing % or # please use web.getFileByServerRelativePath");return E1(this).concat(`('${Q1(l)}')`)}async addUsingPath(l,c,o={Overwrite:!1}){let e=[`AddUsingPath(decodedurl='${Q1(l)}'`];if(o){if(o.Overwrite)e.push(",Overwrite=true");if(o.EnsureUniqueFileName)e.push(`,EnsureUniqueFileName=${o.EnsureUniqueFileName}`);if(o.AutoCheckoutOnInvalidData)e.push(",AutoCheckoutOnInvalidData=true");if(!G5(o.XorHash))e.push(`,XorHash=${Q1(o.XorHash)}`)}return e.push(")"),Y($c(this,e.join("")),{body:c})}async addChunked(l,c,o){let e=await this.addUsingPath(l,null,o),r=wa(this,e.ServerRelativeUrl);return r.using(Hv(()=>{return E1(r).delete()})),r.setContentChunked(c,o)}async addTemplateFile(l,c){return Y($c(this,`addTemplateFile(urloffile='${Q1(l)}',templatefiletype=${c})`))}};e0([f7],Da.prototype,"addUsingPath",null);e0([f7],Da.prototype,"addChunked",null);e0([f7],Da.prototype,"addTemplateFile",null);Da=e0([c5("files")],Da);var $c=j1(Da);class Yc extends Qr{constructor(){super(...arguments);this.delete=t3()}get listItemAllFields(){return v2(this,"listItemAllFields")}get versions(){return K3(this)}async getLockedByUser(){let a=await bH(E1(this,"lockedByUser"));if(a["odata.null"]===!0)return null;else return a}approve(a=""){return Y(E1(this,`approve(comment='${Q1(a)}')`))}cancelUpload(a){return Y(E1(this,`cancelUpload(uploadId=guid'${a}')`))}checkin(a="",l=Jr.Major){if(a.length>1023)throw Error("The maximum comment length is 1023 characters.");return Y(E1(this,`checkin(comment='${Q1(a)}',checkintype=${l})`))}checkout(){return Y(E1(this,"checkout"))}copyTo(a,l=!0){return Y(E1(this,`copyTo(strnewurl='${Q1(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 Y(E1(this,`deny(comment='${Q1(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 Y(E1(this,`publish(comment='${Q1(a)}')`))}recycle(){return Y(E1(this,"recycle"))}async deleteWithParams(a){return Y(E1(this,"DeleteWithParameters"),B1({parameters:a}))}undoCheckout(){return Y(E1(this,"undoCheckout"))}unpublish(a=""){if(a.length>1023)throw Error("The maximum comment length is 1023 characters.");return Y(E1(this,`unpublish(comment='${Q1(a)}')`))}async exists(){try{return(await E1(this).select("Exists")()).Exists}catch(a){return!1}}async setContent(a){return await Y(E1(this,"$value"),{body:a,headers:{"X-HTTP-Method":"PUT"}}),E1(this)}async getItem(...a){let c=await this.listItemAllFields.select(...a)();return Object.assign(n2([this,z2(c)]),c)}async setContentChunked(a,l){let{progress:c,chunkSize:o=10485760}=fw(l),e=r3(),r=!0,t,h=0,Z=E1(this).using(Hv(()=>{return E1(Z).cancelUpload(e)})),n=Fw(a).getReader(),v=new Uint8Array;while(t=await n.read()){if(t.value){let d=new Uint8Array(v.length+t.value.length);d.set(v),d.set(t.value,v.length),v=d}while(v.length>=o){let d=v.slice(0,o);if(v=v.slice(o),r)c({offset:h,stage:"starting",uploadId:e}),h=await Y(E1(Z,`startUpload(uploadId=guid'${e}')`),{body:d}),r=!1;else c({offset:h,stage:"continue",uploadId:e}),h=await Y(E1(Z,`continueUpload(uploadId=guid'${e}',fileOffset=${h})`),{body:d})}if(t.done){if(r)c({offset:h,stage:"starting",uploadId:e}),h=await Y(E1(Z,`startUpload(uploadId=guid'${e}')`),{body:v}),r=!1,v=new Uint8Array;return c({offset:h,stage:"finishing",uploadId:e}),Y(E1(Z,`finishUpload(uploadId=guid'${e}',fileOffset=${h})`),{body:v.length?v:""})}}}moveCopyImpl(a,l,c,o){let e=E1(this);return e.on.pre(Y4(async(r,t,h)=>{let{ServerRelativeUrl:Z,["odata.id"]:i}=await E1(this).using(J3()).select("ServerRelativeUrl")(),n=new URL(n0(i));return r=I1(n.toString(),`/_api/SP.MoveCopyUtil.${o}(overwrite=@a1)?@a1=${c}`),t=B1({destPath:F7(B0(a)?a:`${n.protocol}//${n.host}${a}`),options:l,srcPath:F7(B0(Z)?Z:`${n.protocol}//${n.host}${Z}`)},t),[r,t,h]})),Y(e).then(()=>ZV(this,a))}}e0([f7],Yc.prototype,"copyByPath",null);e0([f7],Yc.prototype,"moveByPath",null);e0([f7],Yc.prototype,"setContentChunked",null);var E1=j1(Yc);function wa(a,l){return E1([a,n0(a.toUrl())],`_api/web/getFileByServerRelativePath(decodedUrl='${Q1(l)}')`)}async function hV(a,l){let{WebFullUrl:c}=await E1(a).using(J3()).getContextInfo(l),{pathname:o}=new URL(l);return wa(E1([a,I1(c,"_api/web")]),decodeURIComponent(o))}async function ZV(a,l){return(B0(l)?hV:wa)(a,l)}var Bv=class a extends p5{getById(l){return vV(this).concat(`(${l})`)}deleteAll(){return Y(K3(this,"deleteAll"))}deleteById(l){return Y(K3(this,`deleteById(vid=${l})`))}recycleByID(l){return Y(K3(this,`recycleByID(vid=${l})`))}deleteByLabel(l){return Y(K3(this,`deleteByLabel(versionlabel='${Q1(l)}')`))}recycleByLabel(l){return Y(K3(this,`recycleByLabel(versionlabel='${Q1(l)}')`))}restoreByLabel(l){return Y(K3(this,`restoreByLabel(versionlabel='${Q1(l)}')`))}};Bv=e0([c5("versions")],Bv);var K3=j1(Bv);class iV extends Qr{constructor(){super(...arguments);this.delete=Wr()}}var vV=j1(iV),Jr;(function(a){a[a.Minor=0]="Minor",a[a.Major=1]="Major",a[a.Overwrite=2]="Overwrite"})(Jr||(Jr={}));var Tv;(function(a){a[a.None=0]="None",a[a.Overwrite=1]="Overwrite",a[a.AllowBrokenThickets=8]="AllowBrokenThickets",a[a.RetainEditorAndModifiedOnMove=2048]="RetainEditorAndModifiedOnMove"})(Tv||(Tv={}));var bv;(function(a){a[a.StandardPage=0]="StandardPage",a[a.WikiPage=1]="WikiPage",a[a.FormPage=2]="FormPage",a[a.ClientSidePage=3]="ClientSidePage"})(bv||(bv={}));function fw(a){return{progress:()=>null,...a}}function Fw(a){if(Lw(a))return a.stream();else if(Cw(a))return new ReadableStream({start(l){a.on("data",(c)=>{l.enqueue(c)}),a.on("end",()=>{l.close()})}});else if(Rw(a))return new ReadableStream({start(l){l.enqueue(a),l.close()}});else if(Sw(a))return a.readable;else return a}var xw=Symbol.toStringTag;function Cw(a){return typeof a.on==="function"}function Lw(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[xw])||/^(Blob|File)$/.test(a.constructor.name))}function Rw(a){return typeof a==="object"&&typeof a.length==="number"}function Sw(a){return typeof a==="object"&&typeof a.readable==="object"}J0(Sa,"files",$c);J0(Ra,"file",E1,"file");Z0.prototype.getFileByServerRelativePath=function(a){return wa(this,a)};Z0.prototype.getFileById=function(a){return E1(this,`getFileById('${a}')`)};Z0.prototype.getFileByUrl=function(a){return E1(this,`getFileByUrl('${Q1("!@p1::"+a)}')`)};J0(Ra,"folder",K0);J0(La,"rootFolder",K0);J0(Z0,"folders",Jc);J0(Z0,"rootFolder",K0);Z0.prototype.getFolderByServerRelativePath=function(a){return Kc(this,a)};Z0.prototype.getFolderById=function(a){return K0(this,`getFolderById('${a}')`)};J0(Z0,"lists",Qc);J0(Z0,"siteUserInfoList",f0);J0(Z0,"defaultDocumentLibrary",f0);J0(Z0,"customListTemplates",K5,"getcustomlisttemplates");Z0.prototype.getList=function(a){return f0(this,`getList('${Q1(a)}')`)};Z0.prototype.getCatalog=async function(a){let l=await d0(this,`getcatalog(${a})`).select("Id")();return f0([this,z2(l)])};function Ov(a,l){let c="_api/site",o=/(_api[/|\\](site|web))/i.exec(a);if((o===null||o===void 0?void 0:o.length)>0)a=n0(a),c=o[1];if((l===null||l===void 0?void 0:l.indexOf("_api"))<0)a=I1(a,c);return a}var j4=class a extends l5{constructor(l,c){if(typeof l==="string")l=Ov(l,c);else if(Q0(l))l=[l[0],Ov(l[1],c)];else l=[l,Ov(l.toUrl(),c)];super(l,c)}get rootWeb(){return d0(this,"rootweb")}getChanges(l){let c=B1({query:l});return Y(d0(this,"getchanges"),c)}async openWebById(l){let c=await Y(o5(this,`openWebById('${l}')`));return{data:c,web:d0([this,n0(z2(c))])}}async getRootWeb(){let l=await this.rootWeb.select("Url")();return d0([this,l.Url])}async delete(){let l=await o5(this,"").select("Id")(),c=o5([this,this.parentUrl],"_api/SPSiteManager/Delete");await Y(c,B1({siteId:l.Id}))}async getDocumentLibraries(l){let c=o5([this,this.parentUrl],"_api/sp.web.getdocumentlibraries(@v)");c.query.set("@v",`'${l}'`);let o=await c();return $1(o,"GetDocumentLibraries")?o.GetDocumentLibraries:o}async getWebUrlFromPageUrl(l){let c=o5([this,this.parentUrl],"_api/sp.web.getweburlfrompageurl(@v)");c.query.set("@v",`'${l}'`);let o=await c();return $1(o,"GetWebUrlFromPageUrl")?o.GetWebUrlFromPageUrl:o}async createCommunicationSite(l,c=1033,o=!1,e,r,t,h,Z,i){return this.createCommunicationSiteFromProps({Classification:t,Description:r,HubSiteId:Z,Lcid:c,Owner:i,ShareByEmailEnabled:o,SiteDesignId:h,Title:l,Url:e})}async createCommunicationSiteFromProps(l){let c={Classification:"",Description:"",HubSiteId:zc,Lcid:1033,ShareByEmailEnabled:!1,SiteDesignId:zc,WebTemplate:"SITEPAGEPUBLISHING#0",WebTemplateExtensionId:zc,...l};return Y(o5([this,n0(this.toUrl())],"/_api/SPSiteManager/Create"),B1({request:c}))}async exists(l){return Y(o5([this,n0(this.toUrl())],"/_api/SP.Site.Exists"),B1({url:l}))}async createModernTeamSite(l,c,o,e,r,t,h,Z,i){return this.createModernTeamSiteFromProps({alias:c,classification:t,description:r,displayName:l,hubSiteId:Z,isPublic:o,lcid:e,owners:h,siteDesignId:i})}async createModernTeamSiteFromProps(l){let c=Object.assign({},{classification:"",description:"",hubSiteId:zc,isPublic:!0,lcid:1033,owners:[]},l),o={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)o.optionalParams.CreationOptions.push(`implicit_formula_292aa8a00786498a87a5ca52d9f4214a_${c.siteDesignId}`);return Y(o5([this,n0(this.toUrl())],"/_api/GroupSiteManager/CreateGroupEx").using(Ha()),B1(o))}update(l){return EH(this,B1(l))}setSiteLogo(l){return Y(b0([this,n0(this.toUrl())],"_api/siteiconmanager/setsitelogo"),B1(l))}};j4=e0([c5("_api/site")],j4);var o5=j1(j4),Ev;(function(a){a[a.WebLogo=0]="WebLogo",a[a.HubLogo=1]="HubLogo",a[a.HeaderBackground=2]="HeaderBackground",a[a.GlobalNavLogo=3]="GlobalNavLogo"})(Ev||(Ev={}));var Wv;(function(a){a[a.Square=0]="Square",a[a.Rectangular=1]="Rectangular"})(Wv||(Wv={}));Reflect.defineProperty(P2.prototype,"site",{configurable:!0,enumerable:!0,get:function(){return this.create(o5)}});Reflect.defineProperty(P2.prototype,"web",{configurable:!0,enumerable:!0,get:function(){return this.create(d0)}});function ka(){return new URL(window.location.href).searchParams.get("web")??""}var nV=await cH();function Xc(a=""){let l=a?a:K4();if(!nV)return xa(l).using(zr());return xa(l).using(lV(nV))}function x7(a){return a.web.toUrl().replace("/_api/web","")}function dV(){let l=ka()??K4();return Xc(l)}function Kr(a){if(!a.appDefinitionMap)a.appDefinitionMap=[];if(!a.appRelativeEntryPointUrls)a.appRelativeEntryPointUrls=[];if(!a.manualEntries)a.manualEntries=[];return a}async function $r(a,l,c){let o=[],[e,r]=a.web.batched();for(let t of l)e.getFileByUrl(`${k1}/${t}/${P0}`).getText().then((h)=>{let Z=Iv(t);try{let i=JSON.parse(h);Kr(i),Z.manifest=i,Z.activated=c.includes(t),o.push(Z)}catch{o.push(Z)}}).catch(()=>{o.push(Iv(t))});return await r(),o}var Dw=["Forms"];async function ya(a,l){try{await br(a);let c=a.web.lists.getByTitle(k1).rootFolder,o=await Pv(a),e=await Ua(a);if(!o.some((r)=>r===l))await c.folders.addUsingPath(l),o.push(l);return C7.value=await $r(a,o,e.data.enabledAppCollections),C7.value.find((r)=>r.name===l)}catch(c){return c?.message}}async function mV(a,l){let o=a.web.lists.getByTitle(k1).rootFolder;try{let e=await o.folders.getByUrl(l)();await BH(a,a6.data.ServerRelativeUrl,l)}catch(e){_1(`Error while removing ${l} from ${k1} folder in ${x7(a)}`,e)}return!1}async function Pv(a){return await br(a),(await a.web.lists.getByTitle(k1).rootFolder.folders()).filter((o)=>!Dw.includes(o.Name)).map((o)=>o.Name)}async function Yr(a,l){qv.value=!0,await Ua(a);let c=x7(a),o=a.web.getFileByUrl(`${k1}/${h2}`);try{return await o.setContent(JSON.stringify(l)),!0}catch(e){return _1(`Error while updating ${h2} in ${k1} folder in ${c}`,e),!1}finally{qv.value=!1}}async function Ua(a){let l=a.web.getFileByUrl(`${k1}/${h2}`),c=x7(a),o=await l.exists(),e={data:Bc,error:"",isError:!1,warnings:[]};if(!o)return await br(a),await a.web.lists.getByTitle(k1).rootFolder.files.addUsingPath(h2,JSON.stringify(Bc)),y0(`Created ${h2} in ${k1} folder in ${c}`),e;try{let t=await(await l.getBlob()).text(),h=JSON.parse(t);if(!Array.isArray(h.enabledAppCollections)||!Array.isArray(h.urlMap)){let Z=`Invalid data inside ${h2} in ${k1} folder in ${c}, it should be an array`;return _1(Z),e.error=Z,e.isError=!0,e.data=Bc,e}return e.data=h,e}catch(r){let t=`Error while parsing ${h2} in ${k1} folder in ${c}`;return _1(t,r),e.error=t,e.isError=!0,e.data=Bc,e}}async function pV(a,l,c){if(c.some((t)=>t.indexOf("/")>-1))throw new Error("Nested path cannot contain /");let o=x7(a),e=a.web.getFolderByServerRelativePath(`${k1}/${l}`),r="";for(let t of c){if(r=`${r?`${r}/`:""}${t}`,!(await e.folders()).some((Z)=>Z.Name.toLowerCase()===t.toLowerCase()))y0(`Creating subfolder ${r} in ${k1}/${l} folder in ${o}`),await e.addSubFolderUsingPath(t);e=e.folders.getByUrl(t)}}var zv=class a extends p5{getById(l){return MV(this,`GetById?hubSiteId='${l}'`)}};zv=e0([c5("_api/hubsites")],zv);var Qv=j1(zv);class sV extends l5{async getSite(){let a=await this.select("SiteUrl")();return o5([this,a.SiteUrl])}}var MV=j1(sV);j4.prototype.joinHubSite=async function(a){await Y(o5(this,`joinHubSite('${a}')`))};j4.prototype.registerHubSite=async function(){await Y(o5(this,"registerHubSite"))};j4.prototype.unRegisterHubSite=async function(){await Y(o5(this,"unRegisterHubSite"))};Z0.prototype.hubSiteData=async function(a=!1){let l=await d0(this,`hubSiteData(${a})`)();if(typeof l==="string")return JSON.parse(l);return l};Z0.prototype.syncHubSiteTheme=function(){return Y(d0(this,"syncHubSiteTheme"))};Reflect.defineProperty(P2.prototype,"hubSites",{configurable:!0,enumerable:!0,get:function(){return this.create(Qv)}});function Jv(a,l){let c=a.findIndex((Z)=>Z.isHubRoot&&Z.hubid===l);if(c<0)return;let o=a.splice(c,1)[0],e={...o,webs:[o]},r={...o,sites:[e],webs:[]},t=Ga(a,r.siteId,l);e.webs.push(...t);let h=Nr(a,l);return r.sites.push(...h),r.webs.push(...Ga(a,r.siteId,l)),r}function Xr(a){let l=Object.groupBy(a,(i)=>i.hubid),c=Object.keys(l).filter((i)=>i&&i!==a5),o=Object.keys(l).filter((i)=>!i||i===a5),e=c.map((i)=>l[i]??[]).flat(),r=o.map((i)=>l[i]??[]).flat(),t=[],h=[],Z=[];for(let i of c){let n=Jv(e,i);if(!n)continue;t.push(n)}if(e.length>0)r.push(...e);return h.push(...Nr(r)),Z.push(...r),{hubs:t,sites:h,webs:Z}}function Nr(a,l){let c=[];function o(r){return l?r.isRootWeb&&r.hubid===l:r.isRootWeb}let e=a.findIndex(o);while(e>-1){let r=a.splice(e,1)[0],t=c.find((Z)=>Z.id===r.id);if(!t)t={...r,webs:[r]},c.push(t);let h=Ga(a,r.siteId);t.webs.push(...h.sort((Z,i)=>Z.url.localeCompare(i.url))),e=a.findIndex(o)}return c}function Ga(a,l,c){let o=[];function e(t){return c?t.siteId===l&&t.hubid===c:t.siteId===l}let r=a.findIndex(e);while(r>-1){let t=a.splice(r,1)[0];o.push(t),r=a.findIndex(e)}return o.sort((t,h)=>t.url.localeCompare(h.url))}function _V(a){let l=Object.groupBy(a,(r)=>r.sharepointIds.siteId),c=Object.keys(l),o=[];for(let r of c){let t=l[r];if(!t)continue;let h=t.sort((Z,i)=>Z.webUrl.localeCompare(i.webUrl));o.push({id:h[0].sharepointIds.webId,url:h[0].webUrl,siteId:h[0].sharepointIds.siteId,hubid:h[0].sharepointIds.hubSiteId,isHubRoot:h[0].sharepointIds.hubSiteId===h[0].sharepointIds.siteId,isRootWeb:!0})}return a.map((r)=>{return{id:r.sharepointIds.webId,url:r.webUrl,siteId:r.sharepointIds.siteId,hubid:r.sharepointIds.hubSiteId,isHubRoot:r.sharepointIds.hubSiteId===r.sharepointIds.siteId,isRootWeb:o.some((t)=>t.id===r.sharepointIds.webId),title:r.title,template:r.template.name}})}function jr(a,l,c){return{id:a.Id,url:a.Url,siteId:l,hubid:c,isHubRoot:!1,isRootWeb:!1}}function at(a,l,c){return a.map((o)=>{return jr(o,l,c)})}async function ww(a){let l=await HV(a);if(l.isError)return _1("Unable to get web info",l.error),[];let c=await $v(l.data);return[...l.data,...c.filter((o)=>!o.isError).flatMap((o)=>o.data)]}async function $v(a){let l=[];for(let e of a){let r=Xc(e.Url);l.push(HV(r))}let c=await Promise.all(l),o=c.filter((e)=>!e.isError&&e.data.length>0).flatMap((e)=>e.data);if(o.length>0)c.push(...await $v(o));return c.some((e)=>e.data.length>0||e.isError)?c:[]}async function uV(a,l=!1){let c=Xc(a.origin+a.pathname),o={data:[],error:"",warnings:[],isError:!1};try{let e=await Xv(c);if(e.isError){let v=`Unable to get site info ${e.error}`;o.warnings.push(v),_1(v,a.href)}let r=await Yv(c);if(r.isError){let v=`Unable to get root web info ${r.error}`;o.warnings.push(v),_1(v,a.href)}let t=await Nv(c);if(t.isError){let v=`Unable to get web info ${t.error}`;return o.isError=!0,o.error=v,_1(v,a.href),o}if(!l||r.isError){let v=jr(t.data,e.data?.Id??a5,e.data?.HubSiteId??a5);return v.isRootWeb=r.data?.Id===t.data.Id,v.isHubRoot=e.data?.IsHubSite&&r.data?.Id===t.data.Id,o.data.push(v),o}let h=Xc(r.data.Url),Z=await ww(h),i=jr(r.data,e.data?.Id??a5,e.data?.HubSiteId??a5),n=at(Z,e.data?.Id??a5,e.data?.HubSiteId??a5);i.isRootWeb=!0,i.isHubRoot=e.data?.IsHubSite??!1,o.data.push(i),o.data.push(...n)}catch(e){o.isError=!0,o.error=`${e}`,_1("Unable to get web structure",a.href,e)}return o}async function lt(a){if(!ot())return;let l=Q2,c={hubid:a5,id:a5,url:"",siteId:a5,isHubRoot:!1,isRootWeb:!1,webs:[]};if(l.isError)return _1(`Unable to get site info ${l.error}`),c;let o=L7;if(o.isError)return _1(`Unable to get root web info ${o.error}`),c;let e=await kw(a);if(e.isError)return _1(`Unable to get root subweb info ${o.error}`),c;let r=await $v(e.data),t=at(e.data,l.data.Id,l.data.HubSiteId),h=at(r.filter((n)=>!n.isError).flatMap((n)=>n.data),l.data.Id,l.data.HubSiteId),Z=[...t,...h],i={hubid:l.data.HubSiteId,id:o.data.Id,url:o.data.Url,siteId:l.data.Id,isHubRoot:l.data.IsHubSite,isRootWeb:!0};return c={...i,webs:[i,...Ga(Z,l.data.Id)]},c}async function ct(a,l,c){if(!B5())return;if(!Kv)return;let o=c??Q2.data.HubSiteId,e=[];for await(let s of AV(a.web.toUrl().replace("_api/web",""),o))e.push(...s);let r={id:"",url:"",siteId:o,hubid:o,isHubRoot:!0,isRootWeb:!0,sites:[],webs:[]},t=_V(e),h=t.findIndex((s)=>s.hubid===o&&s.siteId===o),Z=h>-1?t.splice(h,1)[0]:void 0;if(!Z)q2("API Call did not return Hub ROOT",o),Z={id:L7.data.Id,url:L7.data.Url,hubid:o,siteId:o,isHubRoot:!0,isRootWeb:!0};r.id=Z.id,r.url=Z.url,r.hubid=Z.hubid,r.siteId=Z.siteId,r.sites.push({...Z,webs:[Z]});let i=Ga(t,Z.siteId),n=r.sites.find((s)=>s.id===Z.id);if(n)n.webs.push(...i);else r.webs.push(...i);let v=Nr(t);r.sites.push(...v),r.webs.push(...t);for(let s of Kv.webs.sort((p,M)=>p.url.localeCompare(M.url)))if(r.sites.flatMap((p)=>p.webs).findIndex((p)=>p.id===s.id)===-1){let p=r.sites.findIndex((M)=>M.siteId===s.siteId);if(p<0){r.sites.push({id:s.id,url:s.url,hubid:s.hubid,siteId:s.siteId,isHubRoot:!1,isRootWeb:!0,webs:[s]});continue}r.sites[p].webs.push(s),r.sites[p].webs=r.sites[p].webs.sort((M,u)=>M.url.localeCompare(u.url))}let d=Jv([...l],o);if(d){for(let s of d.sites){let p=r.sites.find((M)=>M.id===s.id);if(p){for(let M of s.webs)if(p.webs.find((A)=>A.id===M.id))continue;else p.webs.push(M);p.webs=p.webs.sort((M,u)=>M.url.localeCompare(u.url));continue}r.sites.push(s)}for(let s of d.webs)if(r.webs.find((M)=>M.id===s.id))continue;else r.webs.push(s)}let m=[];for(let s of r.webs){let p=r.sites.find((u)=>u.id===s.siteId);if(!p)continue;if(m.push({...s}),!p.webs.find((u)=>u.id===s.id))p.webs.push({...s}),p.webs=p.webs.sort((u,A)=>u.url.localeCompare(A.url))}return r.webs=r.webs.filter((s)=>m.findIndex((p)=>p.id===s.id)>-1),r.webs=r.webs.sort((s,p)=>s.url.localeCompare(p.url)),r}async function*AV(a,l,c=!0){let o=K5(a,c?"_api/v2.1/sites":"").using(zr());if(c)o.filter(`sharepointIds/hubSiteId eq '${l}'`).top(99);o.on.parse.replace(async(r,t,h)=>{let Z={"@odata.context":"",value:[],"@odata.nextLink":""};if(t.ok)try{return h=await t.json(),[r,t,h]}catch(i){return _1("Unable to parse hubdata response",r,i),[r,t,Z]}return _1("Error getting hubdata",r,t.statusText),[r,t,Z]});let e=await o();if(yield e.value,e["@odata.nextLink"])yield*AV(e["@odata.nextLink"],l,!1)}async function Yv(a){return Nc(()=>a.site.rootWeb(),{})}async function kw(a){return Nc(()=>a.site.rootWeb.webs(),[])}async function Xv(a){return Nc(()=>a.site(),{})}async function Nv(a){return Nc(()=>a.web(),{})}async function HV(a){return Nc(()=>a.web.webs(),[])}async function Nc(a,l){let c={data:l,error:"",warnings:[],isError:!1};try{let o=await a();c.data=o}catch(o){c.isError=!0,c.error=`${o}`}return c}var jv=ka(),et=new URL(jv?jv:K4()),o0=dV(),[Q2,a6,yw,VV]=await Promise.all([Xv(o0),Nv(o0),Pv(o0),Ua(o0)]);var J2=!jv,L7=!Q2.isError?await Yv(o0):{data:{},warnings:[],error:"Unable to get root web since site is not available",isError:!0};function B5(){if(Q2.isError||L7.isError||a6.isError)return!1;return Q2.data.IsHubSite&&L7.data.Id===a6.data.Id}function an(){if(Q2.isError)return!1;return Q2.data.HubSiteId!==a5}function ot(){if(L7.isError||a6.isError)return!1;return a6.data.Id===L7.data.Id}function gV(){if(Q2.isError||L7.isError)return!0;return L7.data.Id!==a6.data.Id}var[Kv,Uw]=await Promise.all([lt(o0),$r(o0,yw,VV.data.enabledAppCollections)]);var R0=G0(VV.data),qv=G0(!1),C7=G0(Uw),D1=G0(),C1=G0(),Ba=G0(),jc=G0(),l6=G0([]),Ta=G0(!1);function Iv(a){return{name:a,manifest:Uc,activated:!1}}function ln(a){let l=G1(C7.value),c=l.findIndex((o)=>o.name===a.name);if(c>-1)l.splice(c,1,a);else l.push(a);C7.value=l}function R7(a,l=!1){let c=G1(a);if(D1.value=c,l)ln(c)}function rt(){if(J2)return"global";if(B5())return"hubRoot";if(an()&&!B5())return"hubChild";if(!an())return"nonHub";if(gV())return"subsite";return"other"}var Gw=F6({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 Z1(a){let l=Gw(),c=[l.root],o={};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)o.flexGrow=a.grow;if(a.gap)o.gap=a.gap;return c.push(a.wrap?l.wrap:l.noWrap),Bw(a,c,l),Tw(a,c,l),/*@__PURE__*/_("div",{className:c.join(" "),style:{...o,...a.style},children:a.children},void 0,!1,void 0,this)}function Bw(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 Tw(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}}f5();var $3="global-toast-notification";function fV(){return/*@__PURE__*/_(q4,{toasterId:$3},void 0,!1,void 0,this)}function FV(){let[a,l]=h1(""),c=g7(!1);async function o(Z,i){c.value=i.open}let{dispatchToast:e,updateToast:r}=I4($3),t=(Z)=>{switch(Z){case"progress":e(/*@__PURE__*/_(B2,{children:/*@__PURE__*/_(T2,{media:/*@__PURE__*/_(Q5,{size:"tiny"},void 0,!1,void 0,this),children:"Creating..."},void 0,!1,void 0,this)},void 0,!1,void 0,this),{toastId:$3,timeout:-1});break}};async function h(){if(!a)return;t("progress");let Z=await ya(o0,a);if(Z&&Z.name){r({content:/*@__PURE__*/_(B2,{children:/*@__PURE__*/_(T2,{children:"Application created."},void 0,!1,void 0,this)},void 0,!1,void 0,this),intent:"success",toastId:$3,timeout:2000}),c.value=!1;return}r({content:/*@__PURE__*/_(B2,{children:/*@__PURE__*/_(T2,{children:"Error occured. Please check console."},void 0,!1,void 0,this)},void 0,!1,void 0,this),intent:"error",toastId:$3,timeout:2000})}return/*@__PURE__*/_(k5,{open:c.value,surfaceMotion:null,modalType:"alert",onOpenChange:o,children:[/*@__PURE__*/_(q0,{disableButtonEnhancement:!0,children:/*@__PURE__*/_(G2,{appearance:"primary",icon:/*@__PURE__*/_($6,{},void 0,!1,void 0,this),children:"Create collection"},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/_(y2,{children:/*@__PURE__*/_(w2,{children:[/*@__PURE__*/_(k2,{action:/*@__PURE__*/_(q0,{disableButtonEnhancement:!0,action:"close",children:/*@__PURE__*/_(F1,{appearance:"subtle","aria-label":"close",icon:/*@__PURE__*/_(m7,{},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__*/_(U2,{style:{padding:"16px 0"},children:/*@__PURE__*/_(n5,{value:a,style:{width:"100%"},placeholder:"Enter application name",onChange:(Z,i)=>{l(i.value)}},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/_(D2,{children:[/*@__PURE__*/_(q0,{disableButtonEnhancement:!0,action:"close",children:/*@__PURE__*/_(F1,{appearance:"secondary",children:"Close"},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/_(F1,{appearance:"primary",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)}function xV({app:a,onChange:l}){return/*@__PURE__*/_(D0,{defaultChecked:a.activated,onChange:(c,o)=>{l?.(a,o.checked)}},void 0,!1,void 0,this)}f5();var h3={SPFXEXT:"SPFXEXT_",SPFXEXT_CORE:"SPFXEXT"};function cn(){try{let a=typeof globalThis!=="undefined"?globalThis:void 0;if(a&&a.localStorage)return a.localStorage}catch{}try{if(typeof window!=="undefined"&&window.localStorage)return window.localStorage}catch{}return}function bw(){let a=cn();if(!a)return[];try{let l=[];for(let c=0;c<a.length;c++){let o=a.key(c);if(o)l.push(o)}return l}catch{return[]}}function Ow(a){let l=cn();if(!l)return null;try{return l.getItem(a)}catch{return null}}function Ew(){return bw().some((a)=>a.indexOf(h3.SPFXEXT)>-1&&Number(Ow(a))>0)}function CV(a){return a.hostname.toLowerCase()==="localhost"}function LV(a){try{let l=`${h3.SPFXEXT}${a}`,c=cn(),o=c?c.getItem?c.getItem(l):c[l]:null;return Number(o)>0}catch{return!1}}var ao=Ew();function RV({app:a}){let[l,c]=h1(window.localStorage.getItem(`${h3.SPFXEXT}${a.name}`)??""),[o,e]=h1(!1);return/*@__PURE__*/_(S2,{positioning:"after",open:o,children:[/*@__PURE__*/_(e2,{disableButtonEnhancement:!0,children:/*@__PURE__*/_(w4,{checked:LV(a.name),onChange:()=>{e(!o)}},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/_(R2,{tabIndex:-1,children:[/*@__PURE__*/_(n5,{defaultValue:l,onChange:(r,t)=>{c(t.value)}},void 0,!1,void 0,this),/*@__PURE__*/_(F1,{appearance:"primary",onClick:()=>{window.localStorage.setItem(`${h3.SPFXEXT}${a.name}`,l),e(!1)},children:"Save"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}f5();async function Ww(a){try{jc.value=G1(a),await mV(o0,a.name),C7.value=C7.value.filter((l)=>l.name!==a.name)}finally{jc.value=void 0}}function SV({item:a}){let[l,c]=h1(!1);function o(e,r){c(r.open)}return/*@__PURE__*/_(m1,{children:[/*@__PURE__*/_(W0,{disabled:jc?.value?.name!==void 0,onClick:()=>{c(!0)},children:/*@__PURE__*/_("div",{style:{display:"flex"},children:[/*@__PURE__*/_(e_,{},void 0,!1,void 0,this),jc.value?.name===a.name&&/*@__PURE__*/_(Q5,{size:"extra-small"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/_(k5,{open:l,surfaceMotion:null,modalType:"modal",onOpenChange:o,children:/*@__PURE__*/_(y2,{children:/*@__PURE__*/_(w2,{children:[/*@__PURE__*/_(k2,{children:["Delete ",a.name,"?"]},void 0,!0,void 0,this),/*@__PURE__*/_(U2,{children:[/*@__PURE__*/_(r2,{children:["Are you sure you want to delete app collection ",/*@__PURE__*/_("b",{children:a.name},void 0,!1,void 0,this),"?"]},void 0,!0,void 0,this),/*@__PURE__*/_("br",{},void 0,!1,void 0,this),/*@__PURE__*/_(r2,{children:["Deleting appcollection will result in deletion of all files in"," ",/*@__PURE__*/_(W0,{target:"_blank",onClick:()=>{window.open(`${et}/${k1}/${a.name}`,"_blank")},children:"this location"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),/*@__PURE__*/_(D2,{children:[/*@__PURE__*/_(F1,{appearance:"primary",onClick:()=>{Ww(a),c(!1)},children:"Yes"},void 0,!1,void 0,this),/*@__PURE__*/_(q0,{disableButtonEnhancement:!0,children:/*@__PURE__*/_(F1,{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)}f5();function ba(a,l,c="86px"){return/*@__PURE__*/_(N0,{size:"medium",color:a,style:{width:c},children:l},void 0,!1,void 0,this)}function Y3({webs:a,control:l,onDeleteClick:c,additionalIcon:o,disableControl:e}){if(a.length===0)return null;function r(h,Z){if(!C1.value)return;let i=G1(C1.value),n=i.config.excludedIds.filter((s)=>h.id!==s),v=i.config.excludedHubIds.filter((s)=>h.id!==s),d=i.config.includedIds.filter((s)=>h.id!==s),m=i.config.includedHubIds.filter((s)=>h.id!==s);if(!i.config.enabledEverywhere&&Z)d.push(h.id);if(i.config.enabledEverywhere&&!Z)n.push(h.id);i.config.excludedIds=n,i.config.excludedHubIds=v,i.config.includedIds=d,i.config.includedHubIds=m,C1.value=i}function t(h){if(!C1.value)return!1;if(C1.value.config.enabledEverywhere)return!C1.value.config.excludedIds.includes(h.id);return C1.value.config.includedIds.includes(h.id)}return/*@__PURE__*/_(m1,{children:a.map((h)=>/*@__PURE__*/_(Z1,{horizontal:!0,horizontalAlign:"space-between",verticalAlign:"center",style:{minHeight:"36px"},children:[/*@__PURE__*/_(Z1,{horizontal:!0,gap:8,verticalAlign:"center",children:[o,ba(void 0,"Web","64px"),/*@__PURE__*/_(t2,{children:`${h.url}`},void 0,!1,void 0,this)]},void 0,!0,void 0,this),l==="switch"?/*@__PURE__*/_(D0,{disabled:e,onChange:(Z,i)=>{r(h,i.checked)},checked:t(h)},void 0,!1,void 0,this):/*@__PURE__*/_(F1,{onClick:()=>c?.({item:h,itemType:"web"}),icon:/*@__PURE__*/_(F3,{},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 Oa({siteCollections:a,control:l,onDeleteClick:c,additionalIcon:o,disableControl:e}){function r(t,h){if(!C1.value)return;let Z=G1(C1.value),i=Z.config.excludedIds.filter((v)=>!t.webs.some((d)=>d.id===v)&&t.siteId!==v),n=Z.config.includedIds.filter((v)=>!t.webs.some((d)=>d.id===v)&&t.siteId!==v);if(!Z.config.enabledEverywhere&&h)n.push(t.siteId);if(Z.config.enabledEverywhere&&!h)i.push(t.siteId);Z.config.excludedIds=i,Z.config.includedIds=n,C1.value=Z}return/*@__PURE__*/_(m1,{children:a.map((t)=>/*@__PURE__*/_(Z1,{children:[/*@__PURE__*/_(Z1,{horizontal:!0,style:{minHeight:"36px"},verticalAlign:"center",horizontalAlign:"space-between",children:[/*@__PURE__*/_(Z1,{horizontal:!0,verticalAlign:"center",gap:8,children:[ba("warning","Site"),t.url]},void 0,!0,void 0,this),l==="switch"?/*@__PURE__*/_(D0,{checked:(C1.value?.config?.enabledEverywhere||C1.value?.config?.includedIds?.includes(t.siteId))&&!C1.value?.config?.excludedIds?.includes(t.siteId),disabled:e,onChange:(h,Z)=>{r(t,Z.checked)}},void 0,!1,void 0,this):/*@__PURE__*/_(F1,{onClick:()=>c?.({item:t,itemType:"site"}),icon:/*@__PURE__*/_(F3,{},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),/*@__PURE__*/_(Y3,{webs:t.webs,control:l,onDeleteClick:c,additionalIcon:o,disableControl:e||C1.value?.config.excludedIds.includes(t.siteId)||C1.value?.config.includedIds.includes(t.siteId)},void 0,!1,void 0,this)]},void 0,!0,void 0,this))},void 0,!1,void 0,this)}function tt({hubSites:a,onDeleteClick:l,control:c}){function o(e,r){if(!C1.value)return;let t=G1(C1.value);function h(d){let m=!e.webs.some((u)=>u.id===d||u.hubid===d),s=!e.sites.some((u)=>u.id===d||u.hubid===d),p=!e.sites.some((u)=>u.webs.some((A)=>A.id===d||A.hubid===d)),M=e.hubid!==d&&e.siteId!==d;return m&&s&&p&&M}let Z=t.config.excludedIds.filter(h),i=t.config.excludedHubIds.filter(h),n=t.config.includedIds.filter(h),v=t.config.includedHubIds.filter(h);if(!t.config.enabledEverywhere&&r)v.push(e.hubid);if(t.config.enabledEverywhere&&!r)i.push(e.hubid);t.config.excludedIds=Z,t.config.excludedHubIds=i,t.config.includedIds=n,t.config.includedHubIds=v,C1.value=t}return/*@__PURE__*/_(m1,{children:a.map((e)=>/*@__PURE__*/_(Z1,{children:[/*@__PURE__*/_(Z1,{horizontal:!0,verticalAlign:"center",horizontalAlign:"space-between",children:[/*@__PURE__*/_(Z1,{horizontal:!0,gap:8,verticalAlign:"center",style:{height:"36px"},children:[ba("success","Hub"),e.url]},void 0,!0,void 0,this),c==="switch"?/*@__PURE__*/_(D0,{checked:(C1.value?.config?.enabledEverywhere||C1.value?.config?.includedHubIds?.includes(e.hubid))&&!C1.value?.config?.excludedHubIds?.includes(e.hubid),onChange:(r,t)=>{o(e,t.checked)}},void 0,!1,void 0,this):/*@__PURE__*/_(F1,{onClick:()=>l?.({item:e,itemType:"hub"}),icon:/*@__PURE__*/_(F3,{},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),/*@__PURE__*/_(Oa,{control:c,siteCollections:e.sites,onDeleteClick:l,additionalIcon:/*@__PURE__*/_(K6,{},void 0,!1,void 0,this),disableControl:C1.value?.config.excludedHubIds.includes(e.hubid)||C1.value?.config.includedHubIds.includes(e.hubid)},void 0,!1,void 0,this),/*@__PURE__*/_(Y3,{control:c,webs:e.webs,onDeleteClick:l,additionalIcon:/*@__PURE__*/_(ve,{},void 0,!1,void 0,this),disableControl:C1.value?.config.excludedHubIds.includes(e.hubid)||C1.value?.config.includedHubIds.includes(e.hubid)},void 0,!1,void 0,this)]},void 0,!0,void 0,this))},void 0,!1,void 0,this)}f5();var Iw={invalid:{message:"Invalid URL"},duplicate:{message:"URL already exists"}};function DV(a){let l;if(!(a.toLowerCase().startsWith(window.location.origin.toLowerCase())||a.startsWith("/")))l=Iw.invalid;return{urlInput:a,error:l}}function wV(){let[a,l]=h1(""),[c,o]=h1(""),[e,r]=h1(!1);async function t(){if(!c)return;let h=DV(c);if(h.error){l(h.error.message);return}let Z=c.startsWith("/")?new URL(c,window.location.origin):new URL(c);r(!0);let i=await uV(Z,!0);if(r(!1),i.isError){l(i.error);return}if(B5()){if(!i.data.every((v)=>v.hubid===Q2.data.HubSiteId)){l("You can only add child hub sites when configuring a hub root.");return}}let n=G1(R0.value);n.urlMap=n.urlMap.filter((v)=>{return!i.data.some((d)=>d.id===v.id)}),n.urlMap.push(...i.data),R0.value=n,l(""),o("")}return/*@__PURE__*/_(Z1,{style:{padding:"8px 24px",width:"100%"},gap:8,children:[/*@__PURE__*/_(l3,{intent:"info",children:/*@__PURE__*/_(c3,{children:"Add site collections and hub child sites."},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/_(Z1,{horizontal:!0,gap:8,children:[/*@__PURE__*/_(n5,{style:{width:"100%"},onChange:(h,Z)=>{o(Z.value)},onKeyDown:(h)=>{if(h.key==="Enter")t()},onFocus:()=>{l("")},value:c,placeholder:"Site/Web URL"},void 0,!1,void 0,this),/*@__PURE__*/_(F1,{disabled:!c||e,onClick:()=>t(),icon:e?/*@__PURE__*/_(Q5,{size:"tiny"},void 0,!1,void 0,this):/*@__PURE__*/_($6,{},void 0,!1,void 0,this),children:"Add"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),a?/*@__PURE__*/_(t2,{style:{color:g2.colorPaletteRedForeground1},children:a},void 0,!1,void 0,this):null]},void 0,!0,void 0,this)}var Ea=G0(!1);function kV(){let a=z7(),[l,c]=h1(!1),[o,e]=h1(!1),[r,t]=h1(R0.value),[h,Z]=h1([]),[i,n]=h1([]),[v,d]=h1([]);Z2(()=>{if(!R0.value)return;if(!r){t(R0.value);return}let p=JSON.stringify(R0.value),M=JSON.stringify(r);t(R0.value),e(p!==M)}),Z2(()=>{if(!R0.value)return;if(J2){let p=Xr(R0.value.urlMap);Z(p.hubs),n(p.sites),d(p.webs);return}if(!J2&&B5())ct(o0,R0.value.urlMap).then((p)=>{if(p)Z([p])})});function m(p){if(!R0.value)return;let M=G1(R0.value);if(p.itemType==="hub")M.urlMap=M.urlMap.filter((u)=>u.hubid!==p.item.hubid);if(p.itemType==="site")M.urlMap=M.urlMap.filter((u)=>u.siteId!==p.item.siteId);if(p.itemType==="web")M.urlMap=M.urlMap.filter((u)=>u.id!==p.item.id);R0.value=M}async function s(){if(!R0.value)return;c(!0);try{await Yr(o0,R0.value)}finally{c(!1),e(!1),Ea.value=!1}}return/*@__PURE__*/_(b2,{...a,separator:!0,open:Ea.value,onOpenChange:()=>{},position:"end",size:"large",children:[/*@__PURE__*/_(E2,{children:/*@__PURE__*/_(W2,{action:/*@__PURE__*/_(F1,{appearance:"subtle","aria-label":"Close",icon:/*@__PURE__*/_(m7,{},void 0,!1,void 0,this),onClick:()=>{Ea.value=!1}},void 0,!1,void 0,this),children:"Manage sites"},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/_(O2,{children:/*@__PURE__*/_(m1,{children:[/*@__PURE__*/_(wV,{},void 0,!1,void 0,this),/*@__PURE__*/_(Z1,{gap:12,children:[h.length>0?/*@__PURE__*/_(m1,{children:[/*@__PURE__*/_(d5,{children:"Hub sites"},void 0,!1,void 0,this),/*@__PURE__*/_(z5,{},void 0,!1,void 0,this),/*@__PURE__*/_(Z1,{children:/*@__PURE__*/_(tt,{hubSites:h,control:"delete",onDeleteClick:m},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this):null,i.length>0?/*@__PURE__*/_(m1,{children:[/*@__PURE__*/_(d5,{children:"Site collections"},void 0,!1,void 0,this),/*@__PURE__*/_(z5,{},void 0,!1,void 0,this),/*@__PURE__*/_(Z1,{children:/*@__PURE__*/_(Oa,{siteCollections:i,control:"delete",additionalIcon:/*@__PURE__*/_(K6,{},void 0,!1,void 0,this),onDeleteClick:m},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this):null,v.length>0?/*@__PURE__*/_(m1,{children:[/*@__PURE__*/_(d5,{children:"Webs"},void 0,!1,void 0,this),/*@__PURE__*/_(z5,{},void 0,!1,void 0,this),/*@__PURE__*/_(Z1,{children:/*@__PURE__*/_(Y3,{webs:v,control:"delete",onDeleteClick:m},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__*/_(o3,{children:/*@__PURE__*/_(Z1,{horizontal:!0,gap:8,horizontalAlign:"center",children:[/*@__PURE__*/_(F1,{appearance:"secondary",onClick:()=>{Ea.value=!1},children:"Cancel"},void 0,!1,void 0,this),/*@__PURE__*/_(F1,{disabled:!o||l,appearance:"primary",onClick:()=>{s()},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 qw(a,l){let c=await Ua(o0),o=c.data.enabledAppCollections.includes(a.name);if(l!==o){if(l)c.data.enabledAppCollections.push(a.name);else c.data.enabledAppCollections.splice(c.data.enabledAppCollections.indexOf(a.name),1);await Yr(o0,c.data)}a.activated=l,ln(a)}var Pw=[{columnId:"name",text:"App Collection"},{columnId:"enabled",text:"Enabled"},{columnId:"InDebug",text:"In Debug"},{columnId:"Delete",text:""}];function yV(a){if(D1.value)return null;return/*@__PURE__*/_(Z1,{gap:16,children:[/*@__PURE__*/_(B4,{children:/*@__PURE__*/_(Z1,{gap:8,horizontal:!0,children:[/*@__PURE__*/_(FV,{},void 0,!1,void 0,this),J2||B5()?/*@__PURE__*/_(G2,{appearance:"secondary",onClick:()=>{Ea.value=!0},icon:/*@__PURE__*/_(m_,{},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__*/_(b4,{children:[/*@__PURE__*/_(O4,{children:/*@__PURE__*/_(O3,{children:Pw.map((l)=>/*@__PURE__*/_(W4,{children:l.text},l.columnId,!1,void 0,this))},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/_(T4,{children:C7.value.map((l)=>/*@__PURE__*/_(O3,{children:[/*@__PURE__*/_(A7,{children:/*@__PURE__*/_(H7,{media:/*@__PURE__*/_(YM,{},void 0,!1,void 0,this),children:/*@__PURE__*/_(W0,{onClick:()=>{D1.value=G1(l)},children:l.name},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/_(A7,{children:/*@__PURE__*/_(H7,{children:/*@__PURE__*/_(xV,{app:l,onChange:qw},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/_(A7,{children:/*@__PURE__*/_(H7,{children:/*@__PURE__*/_(RV,{app:l},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/_(A7,{children:/*@__PURE__*/_(H7,{children:/*@__PURE__*/_(SV,{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)}f5();async function zw(a,l){let c=x7(a),o=a.web.getFileByUrl(`${k1}/${l}/${P0}`),e=await o.exists(),r={data:Uc,error:"",isError:!1,warnings:[]};if(!e)return await ya(a,l),await a.web.lists.getByTitle(k1).rootFolder.folders.getByUrl(l).files.addUsingPath(P0,JSON.stringify(Uc)),y0(`Created ${P0} in ${k1}/${l} folder in ${c}`),r;try{let h=await(await o.getBlob()).text(),Z=JSON.parse(h);return r.data=Z,r}catch(t){let h=`Error while parsing ${P0} in ${k1}/${l} folder in ${c}`;return _1(h,t),r.error=h,r.isError=!0,r}}async function UV(a,l,c){await zw(a,l);let o=a.web.getFileByUrl(`${k1}/${l}/${P0}`);try{return await o.setContent(JSON.stringify(Kr(c))),!0}catch(e){let r=x7(a);return _1(`Error while updating ${P0} in ${k1}/${l} folder in ${r}`,e),!1}}var Qw=F6({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 GV(a){let l=Qw(),c=[l.root],o={};if(a.disableShrink)c.push(l.disableShrink);else if(a.shrink)o.flexShrink=a.shrink;if(a.grow)o.flexGrow=a.grow;if(a.basis)o.flexBasis=a.basis;if(Jw(a,c,l),a.className)c.push(a.className);return/*@__PURE__*/_("div",{className:c.join(" "),style:{...o},children:a.children},void 0,!1,void 0,this)}function Jw(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 BV(a,l=0){let o=(/*@__PURE__*/new TextEncoder()).encode(a),e=await window.crypto.subtle.digest("SHA-1",o),t=Array.from(new Uint8Array(e)).map((h)=>h.toString(16).padStart(2,"0")).join("");return l>0?t.substring(0,l):t}var rn=(a,l)=>l.some((c)=>a instanceof c),TV,bV;function Kw(){return TV||(TV=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])}function $w(){return bV||(bV=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])}var tn=/*@__PURE__*/new WeakMap,on=/*@__PURE__*/new WeakMap,ht=/*@__PURE__*/new WeakMap;function Yw(a){let l=new Promise((c,o)=>{let e=()=>{a.removeEventListener("success",r),a.removeEventListener("error",t)},r=()=>{c(X3(a.result)),e()},t=()=>{o(a.error),e()};a.addEventListener("success",r),a.addEventListener("error",t)});return ht.set(l,a),l}function Xw(a){if(tn.has(a))return;let l=new Promise((c,o)=>{let e=()=>{a.removeEventListener("complete",r),a.removeEventListener("error",t),a.removeEventListener("abort",t)},r=()=>{c(),e()},t=()=>{o(a.error||new DOMException("AbortError","AbortError")),e()};a.addEventListener("complete",r),a.addEventListener("error",t),a.addEventListener("abort",t)});tn.set(a,l)}var hn={get(a,l,c){if(a instanceof IDBTransaction){if(l==="done")return tn.get(a);if(l==="store")return c.objectStoreNames[1]?void 0:c.objectStore(c.objectStoreNames[0])}return X3(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 IV(a){hn=a(hn)}function Nw(a){if($w().includes(a))return function(...l){return a.apply(Zn(this),l),X3(this.request)};return function(...l){return X3(a.apply(Zn(this),l))}}function jw(a){if(typeof a==="function")return Nw(a);if(a instanceof IDBTransaction)Xw(a);if(rn(a,Kw()))return new Proxy(a,hn);return a}function X3(a){if(a instanceof IDBRequest)return Yw(a);if(on.has(a))return on.get(a);let l=jw(a);if(l!==a)on.set(a,l),ht.set(l,a);return l}var Zn=(a)=>ht.get(a);function qV(a,l,{blocked:c,upgrade:o,blocking:e,terminated:r}={}){let t=indexedDB.open(a,l),h=X3(t);if(o)t.addEventListener("upgradeneeded",(Z)=>{o(X3(t.result),Z.oldVersion,Z.newVersion,X3(t.transaction),Z)});if(c)t.addEventListener("blocked",(Z)=>c(Z.oldVersion,Z.newVersion,Z));return h.then((Z)=>{if(r)Z.addEventListener("close",()=>r());if(e)Z.addEventListener("versionchange",(i)=>e(i.oldVersion,i.newVersion,i))}).catch(()=>{}),h}function PV(a,{blocked:l}={}){let c=indexedDB.deleteDatabase(a);if(l)c.addEventListener("blocked",(o)=>l(o.oldVersion,o));return X3(c).then(()=>{return})}var ak=["get","getKey","getAll","getAllKeys","count"],lk=["put","add","delete","clear"],en=/*@__PURE__*/new Map;function OV(a,l){if(!(a instanceof IDBDatabase&&!(l in a)&&typeof l==="string"))return;if(en.get(l))return en.get(l);let c=l.replace(/FromIndex$/,""),o=l!==c,e=lk.includes(c);if(!(c in(o?IDBIndex:IDBObjectStore).prototype)||!(e||ak.includes(c)))return;let r=async function(t,...h){let Z=this.transaction(t,e?"readwrite":"readonly"),i=Z.store;if(o)i=i.index(h.shift());return(await Promise.all([i[c](...h),e&&Z.done]))[0]};return en.set(l,r),r}IV((a)=>({...a,get:(l,c,o)=>OV(l,c)||a.get(l,c,o),has:(l,c)=>!!OV(l,c)||a.has(l,c)}));var ck=["continue","continuePrimaryKey","advance"],EV={},vn=/*@__PURE__*/new WeakMap,zV=/*@__PURE__*/new WeakMap,ok={get(a,l){if(!ck.includes(l))return a[l];let c=EV[l];if(!c)c=EV[l]=function(...o){vn.set(this,zV.get(this)[l](...o))};return c}};async function*ek(...a){let l=this;if(!(l instanceof IDBCursor))l=await l.openCursor(...a);if(!l)return;l=l;let c=new Proxy(l,ok);zV.set(c,l),ht.set(c,Zn(l));while(l)yield c,l=await(vn.get(c)||l.continue()),vn.delete(c)}function WV(a,l){return l===Symbol.asyncIterator&&rn(a,[IDBIndex,IDBObjectStore,IDBCursor])||l==="iterate"&&rn(a,[IDBIndex,IDBObjectStore])}IV((a)=>({...a,get(l,c,o){if(WV(l,c))return ek;return a.get(l,c,o)},has(l,c){return WV(l,c)||a.has(l,c)}}));var a0={AppFolderManifestCache:"AppFolderManifestCache",AppCollectionManifestCache:"AppCollectionManifestCache",AllowedApps:"AllowedApps",HubSiteData:"HubSiteData",SPFxExtensionConfig:"SPFxExtensionConfig"},QV=`${h3.SPFXEXT}COREDB`,JV=qV(QV,1,{blocking(a,l,c){e5.close(),alert("A new version of this page is ready. Please reload the page.")},async upgrade(a,l,c,o,e){if(l===0)a.createObjectStore(a0.AppFolderManifestCache,{keyPath:"url"}),a.createObjectStore(a0.AppCollectionManifestCache,{keyPath:"url"}),a.createObjectStore(a0.AllowedApps,{keyPath:"Id"}),a.createObjectStore(a0.HubSiteData,{keyPath:"SiteId"}),a.createObjectStore(a0.SPFxExtensionConfig,{keyPath:"Title"})}});JV.catch((a)=>{throw _1("Error opening database for Core, please contact your administrator."),PV(QV).then(()=>{window.location.reload()}),a});var e5=await JV;function Wa(a){let l=/*@__PURE__*/new Date;return l.setMinutes(l.getMinutes()+a),{expires:l.toISOString()}}async function Ia(a,l){let c=await e5.getAll(a),o=/*@__PURE__*/new Date,e=c.filter((t)=>{let h=new Date(t.expires);return o>=h}),r=e.length;if(r>0){let t=e5.transaction(a,"readwrite"),h=t.objectStore(a);e.forEach((Z)=>h.delete(Z[l])),await t.done,q2(`Evicted ${r} items from ${a} cache.`)}return r}async function nn(){return await Ia(a0.SPFxExtensionConfig,"Title"),e5.getAll(a0.SPFxExtensionConfig)}async function N3(a){return await Ia(a0.SPFxExtensionConfig,"Title"),e5.get(a0.SPFxExtensionConfig,a)}async function K2(a,l=60){await e5.put(a0.SPFxExtensionConfig,{...a,...Wa(l)})}function KV(a,l){let c=e5.transaction(a0.SPFxExtensionConfig,"readwrite"),o=c.objectStore(a0.SPFxExtensionConfig);return a.forEach((e)=>o.put({...e,...Wa(l)})),c.done}async function $V(){return e5.getAll(a0.AllowedApps)}async function dn(a){return e5.get(a0.AppFolderManifestCache,a)}async function mn(a){return e5.get(a0.AppCollectionManifestCache,a)}async function AR1(a){return e5.get(a0.HubSiteData,a)}async function HR1(a,l=60){await e5.put(a0.HubSiteData,{...a,...Wa(l)})}async function rk(a,l=60){await e5.put(a0.AppCollectionManifestCache,{...a,...Wa(l)})}async function tk(a,l=60){await e5.put(a0.AppFolderManifestCache,{...a,...Wa(l)})}async function YV(a,l=5){let c=Wa(l),o=e5.transaction(a0.AllowedApps,"readwrite"),e=o.objectStore(a0.AllowedApps);return a.forEach((r)=>e.put({...c,...r})),o.done}function hk(a){return e5.delete(a0.AppCollectionManifestCache,a)}function Zk(a){return e5.delete(a0.AppFolderManifestCache,a)}async function ik(){return Ia(a0.AppCollectionManifestCache,"url")}async function vk(){return Ia(a0.AppFolderManifestCache,"url")}async function XV(){return Ia(a0.AllowedApps,"Id")}async function VR1(){return Ia(a0.HubSiteData,"SiteId")}async function NV(a){if(a){let l=await dn(a.url);if(l){if(l.hash!==a.hash){await Zk(a.url);let c=a.url.toLowerCase().replace(`/${P0}`,"");await Zt([c],!1),q2(`Evicted ${P0} ${l.url} from cache. Because of hash mismatch.`)}}}return vk()}async function jV(a){if(a){let l=await mn(a.url);if(l){if(l.hash!==a.hash)await hk(a.url),await Zt([a.url],!1),q2(`Evicted ${h2} ${l.url} from cache. Because of hash mismatch.`)}}return ik()}async function gR1(a){if(await NV(),ao)return;return dn(a)}async function fR1(a,l){await NV(a);let c=await dn(a.url);if(c&&c.hash===a.hash&&!ao)return;await tk(a,l)}async function FR1(a,l){await jV(a);let c=await mn(a.url);if(c&&c.hash===a.hash&&!ao)return;await rk(a,l)}async function xR1(a){if(await jV(),ao)return;return mn(a)}var pn=/*@__PURE__*/new Map;async function ag(a,l=!1){let c="";if(pn.has(a)&&!l)c=pn.get(a)||"";if(c)return c;let o=await fetch(`${a}/_api/contextinfo`,{method:"POST",headers:{Accept:"application/json;odata=verbose","Content-Type":"application/json"}});if(o.status===200){let r=(await o.json()).d.GetContextWebInformation.FormDigestValue;return pn.set(a,r),r}else _1("Error while getting digest",o.status);return""}var sn=(a)=>{},it;async function vt(a=""){if(it)return it;it=new Promise((l)=>{sn=l});try{let o=(await(await fetch(`${a}/_api/SP_TenantSettings_Current`,{headers:{Accept:"application/json;odata=verbose"}})).json()).d.CorporateCatalogUrl;sn(o)}catch(l){_1("Error while getting app catalog url. Trying default /sites/appcatalog",l);let c=`${window.location.origin}/sites/appcatalog`;sn(c)}return it}async function lg(a=""){let l=await N3("AppCatalogUrl");if(l?.Data)return l.Data;let c=await vt(a);return await K2({Title:"AppCatalogUrl",Data:c,date:"",expires:""},240),c}async function T5(a=""){let c=`${await lg()}${a?`/${a}`:""}`;return ag(c)}var nk=await lg(),m0=`${nk}/${C0}`;var og={Status:"Status",RootCDNLocation:"RootCDNLocation",InterceptHistory:"InterceptHistory",EnableAppWhiteList:"EnableAppWhiteList",AppCatalogUrl:"AppCatalogUrl",SPFxDataSite:"SPFxDataSite",ConfiguratorPageData:"ConfiguratorPageData",AppWhiteList:"AppWhiteList",Version:"2025-08-24T10:40:36.039Z"},cg=[{Title:"Status",Data:"Installed"},{Title:"InterceptHistory",Data:"true"},{Title:"EnableAppWhiteList",Data:"false"},{Title:"RootCDNLocation",Data:`/sites/appcatalog/${C0}`}];function eg(a){let l=cg.find((c)=>c.Title==="RootCDNLocation");if(l)l.Data=a;return cg}var dk=Object.keys(og).length,nt;async function mk(){let a=`${m0}/_api/web/lists/GetByTitle('${Ma}')/fields`;try{let l=await fetch(a,{headers:{Accept:"application/json;odata=verbose"}});if(l.status===200){let o=(await l.json()).d.results,e=o.map((t)=>t.InternalName),r=o.find((t)=>t.InternalName==="Title");if(!r){_1("Title field not found.");return}if(!r.EnforceUniqueValues){let t=await T5(C0);if((await fetch(`${m0}/_api/web/lists/GetByTitle('${Ma}')/fields('${r.Id}')`,{method:"POST",headers:{Accept:"application/json;odata=verbose","Content-Type":"application/json;odata=verbose","X-RequestDigest":t,"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 _1("Unable to update Title field.")}if(!e.includes("Data")){let t=await T5(C0);if((await fetch(a,{method:"POST",headers:{Accept:"application/json;odata=verbose","Content-Type":"application/json;odata=verbose","X-RequestDigest":t},body:JSON.stringify({__metadata:{type:"SP.Field"},Title:"Data",FieldTypeKind:2,Required:!0})})).status===201)y0("Data field added successfully.");else _1("Unable to add Data field.")}}}catch(l){_1("Error while ensuring configuration list data fields.",l)}}async function pk(){let a=!1;try{if(a=(await fetch(`${m0}/_api/web/lists/GetByTitle('${Ma}')`)).status===404,a){let c=await T5(C0);if(y0("Creating configuration list."),(await fetch(`${m0}/_api/web/lists`,{method:"POST",headers:{Accept:"application/json;odata=verbose","Content-Type":"application/json;odata=verbose","X-RequestDigest":c},body:JSON.stringify({__metadata:{type:"SP.List"},BaseTemplate:100,Title:"SPFxExtensionsConfiguration",Description:"Configuration list for SPFxExtensions"})})).status===201)y0("Configuration list created successfully.");else _1("Unable to create configuration list.")}await mk()}catch(l){_1("Error while ensuring configuration list.",l)}return a}async function rg(){let a=`${m0}/_api/web/lists/GetByTitle('${Ma}')/items?$select=Title,Data`,c=await fetch(a,{...{headers:{Accept:"application/json;odata=verbose"}}});if(c.status!==200)return _1("Unable to fetch configuration list items."),[];return(await c.json()).d.results}async function sk(){let a=await T5(C0);for(let l of eg(m0))if((await fetch(`${m0}/_api/web/lists/GetByTitle('${Ma}')/items`,{method:"POST",headers:{Accept:"application/json;odata=verbose","Content-Type":"application/json;odata=verbose","X-RequestDigest":a},body:JSON.stringify({__metadata:{type:"SP.Data.SPFxExtensionsConfigurationListItem"},...l})})).status===201)y0(`Item ${l.Title} added successfully.`);else _1(`Unable to add item ${l.Title}.`)}function tg(a=!1){if(a)return rg();if(nt)return nt;return nt=Mk(),nt}async function Mk(){let a=await nn();if(a.length<dk){if(await pk())await sk();let c=await rg();await KV(c,240),a=await nn()}return a}async function _k(a){let l=await vt(),c=await T5(),o=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(!o.ok)throw new Error(`Failed to create SPFxExtensionsData web in ${l}`);return await o.json()}async function uk(){let a=await vt(),l=await T5(),c=await fetch(`${a}/${C0}/_api/web`,{method:"GET",headers:{Accept:"application/json;odata=nometadata","X-RequestDigest":l}});if(!c.ok){if(c.status===404)return{data:void 0,isError:!1,error:"",warnings:[`SPFxExtensionsData web not found in ${a}`]};return _1(`Failed to fetch data from ${a}/${C0}/_api/web`),{data:void 0,isError:!0,error:`Failed to fetch data from ${a}/${C0}/_api/web`,warnings:[]}}return{data:await c.json(),isError:!1,error:"",warnings:[]}}async function Ak(){return(await N3("SPFxDataSite"))?.Data}var dt;function hg(){if(dt)return dt;return dt=Hk(),dt}async function Hk(){let a=await Ak();if(!a){let l=await uk();if(!l.isError&&!l.data){let c=await _k(C0);l.data=c}return await K2({Title:"SPFxDataSite",Data:l.data,date:"",expires:""},240),l.data}return a}var Mn="f3ab710f-2c08-422e-a7ad-5d93eb51e7a3",mt={accept:"application/json"},Vk={"Content-Type":"application/json"};async function gk(){let l={"X-RequestDigest":await T5(C0)};return(await(await fetch(`${m0}/_api/sitepages/pages`,{headers:{...mt,...l,...Vk},body:JSON.stringify({PageLayoutType:"SingleWebPartAppPage",PromotedState:0}),method:"POST"})).json()).Id}async function _n(){let a=await fetch(`${m0}/_api/sitepages/pages/GetByUrl('${Fr}')`,{headers:{...mt},method:"GET"});if(a.status===404)return;return await a.json()}var fk=[{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"}],Fk=[{addedFromPersistedData:!1,controlType:3,displayMode:2,emphasis:{},id:Mn,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:ji,instanceId:Mn,properties:{description:"Select an app to load from the dropdown below",selectedApp:eH,SPFxExtensionAppConfiguration:void 0},title:"SPFx Extension Loader"},webPartId:ji},{controlType:0,pageSettingsSlice:{isDefaultDescription:!0,isDefaultThumbnail:!0}}],xk={CanvasContent1:`${JSON.stringify(Fk)}`,LayoutWebpartsContent:`${JSON.stringify(fk)}`,Title:rH};async function Zg(a){let c={"X-RequestDigest":await T5(C0)};await fetch(`${m0}/_api/sitepages/pages(${a})/savepage`,{headers:{"Content-Type":"application/json",...mt,...c},body:JSON.stringify(xk),method:"POST"}),await fetch(`${m0}/_api/sitepages/pages(${a})/publish`,{headers:{...mt,...c},method:"POST"})}async function Ck(){let a=await gk();return await Zg(a),_n()}async function Lk(){let a=await N3("ConfiguratorPageData");if(a?.Data)return a.Data;let l=await _n();if(l)await K2({Title:"ConfiguratorPageData",Data:l,date:"",expires:""},480);return l}async function ig(){let a=await Lk();if(!a)return Ck();if(a.CanvasContent1.indexOf(Mn)===-1){await Zg(a.Id);let l=await _n();return await K2({Title:"ConfiguratorPageData",Data:l,date:"",expires:""},480),l}return a}async function Rk(){let a=`${m0}/_api/web/lists/GetByTitle('${_a}')/fields`;try{let l=await fetch(a,{headers:{Accept:"application/json;odata=verbose"}});if(l.status===200){if(!(await l.json()).d.results.map((r)=>r.InternalName).some((r)=>r==="EntryPointUrl"))await Sk(a,"EntryPointUrl","Full URL to the Entrypoint JS file, if * is specified all entries will be allowed.",!0)}}catch(l){_1("Error while ensuring list fields.",l)}}async function Sk(a,l,c,o){let e=await T5(C0);if((await fetch(a,{method:"POST",headers:{Accept:"application/json;odata=verbose","Content-Type":"application/json;odata=verbose","X-RequestDigest":e},body:JSON.stringify({__metadata:{type:"SP.Field"},Title:l,FieldTypeKind:3,Required:o,Description:c})})).status===201)y0(l,"field added successfully.");else _1(l,"Unable to add field.")}async function Dk(){try{let a=await fetch(`${m0}/_api/web/lists/GetByTitle('${_a}')?$select=*`,{method:"GET",headers:{Accept:"application/json;odata=verbose"}});if(a.status===404){y0("Creating app white list.");let c=await T5(C0),o=await fetch(`${m0}/_api/web/lists`,{method:"POST",headers:{Accept:"application/json;odata=verbose","Content-Type":"application/json;odata=verbose","X-RequestDigest":c},body:JSON.stringify({__metadata:{type:"SP.List"},BaseTemplate:100,Title:_a,Description:"App whitelist for SPFxExtensions"})});if(o.status===201)return y0("App whitelist created successfully."),o.json();else{_1("Unable to create app whitelist.");return}}return await Rk(),a.json()}catch(a){_1("Error while ensuring app whitelist.",a)}return}async function vg(){let a=await N3("AppWhiteList");if(a?.Data)return a.Data;let l=await Dk();if(l)await K2({Title:"AppWhiteList",Data:l,date:"",expires:""},480);return l}var pt;async function wk(){if(pt)return pt;return pt=kk(),pt}async function kk(){await hg(),await vg(),await ig(),window.__SPFxExtensions.Utils.ConfiguratorPageUrl=`${m0}/${Fr}`}async function qa(a=!1){return await wk(),tg(a)}async function ZS1(){return`${`${(await qa()).find((o)=>o.Title==="RootCDNLocation")?.Data??`${m0}`}${tH}`}${h2}`}async function pS1(){let a=await qa(),l=["7d56fff0-e90e-40a7-98cf-fcdbc63a9b01"];if(a.find((c)=>c.Title==="Version")?.Data!=="2025-08-24T10:40:36.039Z")a=await qa(!0),K2({Title:"Version",Data:"2025-08-24T10:40:36.039Z",date:"",expires:""},240),await Zt(l,!0)}async function Zt(a,l){let c=await window.caches.keys(),o=!1;for(let e of c){let r=await window.caches.open(e),t=await r.keys(),h=[];for(let Z of t){let i=Z.url.toLowerCase();if(a.some((n)=>i.indexOf(n.toLowerCase())>-1))y0("Deleting cache key",Z,"from",e),o=!0,h.push(r.delete(Z,{ignoreMethod:!0,ignoreSearch:!0,ignoreVary:!0}))}await Promise.allSettled(h)}if(o&&l)window.location.reload()}function ng(){return BV(`${Date.now()}`,13)}var dg={appId:"",name:"",entryPoint:""};function mg(){let a=g7(G1(dg)),l=g7(!1),c=g7(!1);if(Z2(()=>{if(Ba.value)a.value=G1(Ba.value),l.value=!0,c.value=!0}),!D1.value)return null;let o=D1.value;async function e(h,Z){if(c.value=Z.open,!Z.open)Ba.value=void 0}async function r(){if(!a.value.appId||!a.value.name||!a.value.entryPoint)return;let h=G1(o);h.manifest.manualEntries=h.manifest.manualEntries.filter((Z)=>Z.appId!==a.value.appId),h.manifest.appDefinitionMap=h.manifest.appDefinitionMap.filter((Z)=>Z.appId!==a.value.appId),h.manifest.appDefinitionMap.push({appId:a.value.appId,config:G1(Gc)}),h.manifest.manualEntries.push(G1(a.value)),D1.value=h,c.value=!1}let t=l6.value.filter((h)=>{return!o.manifest.appRelativeEntryPointUrls.includes(h)});return/*@__PURE__*/_(k5,{open:c.value,surfaceMotion:null,modalType:"alert",onOpenChange:e,children:[/*@__PURE__*/_(q0,{disableButtonEnhancement:!0,children:/*@__PURE__*/_(G2,{appearance:"outline",icon:/*@__PURE__*/_($6,{},void 0,!1,void 0,this),children:"Add Entry"},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/_(y2,{children:/*@__PURE__*/_(w2,{children:[/*@__PURE__*/_(k2,{action:/*@__PURE__*/_(q0,{disableButtonEnhancement:!0,action:"close",children:/*@__PURE__*/_(F1,{appearance:"subtle","aria-label":"close",icon:/*@__PURE__*/_(m7,{},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__*/_(U2,{style:{padding:"16px 0"},children:/*@__PURE__*/_(Z1,{gap:16,children:[/*@__PURE__*/_(Z1,{gap:8,horizontal:!0,children:[/*@__PURE__*/_(n5,{disabled:l.value,value:a.value.appId,style:{width:"100%"},placeholder:"Enter application id (guid) or click Generate",onChange:(h,Z)=>{a.value={...a.value,appId:Z.value}}},void 0,!1,void 0,this),/*@__PURE__*/_(F1,{disabled:l.value,onClick:()=>{a.value={...a.value,appId:window.crypto.randomUUID()}},children:"Generate"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),/*@__PURE__*/_(n5,{defaultValue:a.value.name,style:{width:"100%"},placeholder:"Enter application name to be shown below",onChange:(h,Z)=>{a.value={...a.value,name:Z.value}}},void 0,!1,void 0,this),/*@__PURE__*/_(y4,{placeholder:"Select entry point",defaultValue:a.value.entryPoint,onOptionSelect:(h,Z)=>{a.value={...a.value,entryPoint:Z.optionValue??""}},children:t.map((h)=>/*@__PURE__*/_(k4,{value:h,children:h},h,!1,void 0,this))},void 0,!1,void 0,this),/*@__PURE__*/_(l3,{children:/*@__PURE__*/_(c3,{children:[/*@__PURE__*/_(P4,{children:"Remember:"},void 0,!1,void 0,this),"While adding your app manually, you have to ensure that the code inside entry point calls window.__SPFxExtensions.RegisterApp and/or window.__SPFxExtensions.InstantiateApp methods. This ensures proper lifecycle management of your SPFx application. If you want just a side-effect, you do not need to call those methods."]},void 0,!0,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/_(D2,{children:[/*@__PURE__*/_(q0,{disableButtonEnhancement:!0,action:"close",children:/*@__PURE__*/_(F1,{appearance:"secondary",children:"Close"},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/_(F1,{appearance:"primary",disabled:!a.value.appId||!a.value.name||!a.value.entryPoint,onClick:()=>{r()},children:l.value?"Save":"Add"},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 yk=Uk();async function Uk(){try{let a=await XV(),l=await $V();if(l.length>0&&!a)return l;if(l.length>0)y0("Cache mismatch, loading allowed apps data...");let c=await pg();return await YV(c,5),c}catch(a){return _1("Unable to load allowed apps data...",a),[]}}async function pg(a=!1){if((await qa(a)).find((o)=>o.Title==="EnableAppWhiteList")?.Data!=="true")return[{Id:1,Title:"All apps allowed",EntryPointUrl:"*",date:(/*@__PURE__*/new Date()).toISOString(),expires:(/*@__PURE__*/new Date()).toISOString()}];return Gk()}async function Gk(){let a=`${m0}/_api/web/lists/getByTitle('${_a}')/Items?$select=Id,Title,EntryPointUrl&$top=1000`;return await Bk(a)}async function Bk(a){let l=a,c=[];while(l){let e=await(await fetch(l,{method:"GET",headers:{Accept:"application/json;odata=verbose"}})).json();if(e.error)throw new Error(JSON.stringify(e.error));c.push(...e.d.results),l=e.d.__next}return c}function Tk(a,l){if(l.some((e)=>e.EntryPointUrl==="*"))return!0;let o=(a.origin+a.pathname).toLowerCase();return l.some((e)=>{try{let r=new URL(e.EntryPointUrl),t=r.origin+r.pathname;return o===t.toLowerCase()}catch(r){return _1("Error while parsing allowed entry URL",e.EntryPointUrl,r),!1}})}async function sg(a,l,c=!1){if(CV(a))return!0;let o=c?await pg(c):await yk;if(!Tk(a,o))return q2("File",a,`is not allowed to be executed. Please add it to whitelist @ ${m0}.`),q2(`If you are a developer you can enable this app by adding window.localStorage item ${h3.SPFXEXT}${l} with a number value corresponding to development port of the localhost server.`),!1;return!0}function Mg(a,l,c,o){let e=o.find((r)=>r.appId===a);if(e){e.name=l,e.resolved=!0,e.isManual=c;return}o.push({appId:a,name:l,resolved:!0,isManual:c,config:G1(Gc)})}async function _g(a){let l=a.manifest.appDefinitionMap.map((c)=>{return{appId:c.appId,name:`Unknown_${c.appId}`,isManual:!1,resolved:!1,config:c.config??G1(Gc)}});for(let c of a.manifest.appRelativeEntryPointUrls){let o=c.replace(/\.\.\/?/g,"").replace(/\.\//g,""),e=new URL(`${et}/${k1}/${a.name}/${o}`);if(!await sg(e,a.name,!0))continue;e.searchParams.set("t",`${Date.now()}`);try{let t=await import(`${e}`);if(!t.default){_1(`Invalid app definition file ${e}, default export not available.`);continue}if(!Array.isArray(t.default)){_1(`Invalid app definition file ${e}, default export should be an array.`);continue}if(t.default.some((h)=>!h.id||!h.name)){_1(`Invalid app definition file ${e}, default export should be an array of objects with id and name properties.`);continue}for(let h of t.default)Mg(h.id,h.name,!1,l)}catch(t){_1(`Error loading ${e}`,t);continue}}for(let c of a.manifest.manualEntries)Mg(c.appId,c.name,!0,l);return l}f5();var bk=rt();function ug(a){let l=z7(),[c,o]=h1(C1.value),[e,r]=h1(!1),[t,h]=h1([]),[Z,i]=h1([]),[n,v]=h1([]);if(Z2(()=>{if(!C1.value)return;if(!c){o(C1.value);return}let d=JSON.stringify(C1.value),m=JSON.stringify(c);o(C1.value),r(d!==m)}),Z2(()=>{if(!J2){if(B5())ct(o0,R0.value.urlMap).then((d)=>{h(d?[d]:[])});if(ot()&&!B5())lt(o0).then((d)=>{i(d?[d]:[])})}else{let d=Xr(R0.value.urlMap);h(d.hubs),i(d.sites),v(d.webs)}}),!C1.value||!D1.value)return null;return/*@__PURE__*/_(b2,{...l,separator:!0,open:!!C1.value,position:"end",size:"large",children:[/*@__PURE__*/_(E2,{children:/*@__PURE__*/_(W2,{action:/*@__PURE__*/_(F1,{appearance:"subtle","aria-label":"Close",icon:/*@__PURE__*/_(m7,{},void 0,!1,void 0,this),onClick:()=>{C1.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__*/_(O2,{children:/*@__PURE__*/_(m1,{children:[/*@__PURE__*/_(Z1,{horizontal:!0,horizontalAlign:"space-between",verticalAlign:"center",children:[/*@__PURE__*/_(Z1,{horizontal:!0,verticalAlign:"center",gap:8,children:[/*@__PURE__*/_(S0,{children:"Enable everywhere"},void 0,!1,void 0,this),/*@__PURE__*/_(S2,{withArrow:!0,children:[/*@__PURE__*/_(e2,{disableButtonEnhancement:!0,children:/*@__PURE__*/_(W0,{children:/*@__PURE__*/_(_e,{},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/_(R2,{tabIndex:-1,children:/*@__PURE__*/_(t2,{children:bk==="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__*/_(D0,{defaultChecked:C1.value.config.enabledEverywhere,onChange:(d,m)=>{let s=G1(C1.value);s.config.enabledEverywhere=m.checked,s.config.includedIds=[],s.config.excludedIds=[],s.config.includedHubIds=[],s.config.excludedHubIds=[],C1.value=s}},void 0,!1,void 0,this)]},void 0,!0,void 0,this),/*@__PURE__*/_(Z1,{gap:12,children:[/*@__PURE__*/_(d5,{children:"Hub sites"},void 0,!1,void 0,this),/*@__PURE__*/_(z5,{},void 0,!1,void 0,this),/*@__PURE__*/_(Z1,{children:t.length>0?/*@__PURE__*/_(tt,{hubSites:t,control:"switch"},void 0,!1,void 0,this):null},void 0,!1,void 0,this),/*@__PURE__*/_(d5,{children:"Site collections"},void 0,!1,void 0,this),/*@__PURE__*/_(z5,{},void 0,!1,void 0,this),/*@__PURE__*/_(Z1,{children:Z.length>0?/*@__PURE__*/_(Oa,{additionalIcon:/*@__PURE__*/_(K6,{},void 0,!1,void 0,this),siteCollections:Z,control:"switch"},void 0,!1,void 0,this):null},void 0,!1,void 0,this),/*@__PURE__*/_(d5,{children:"Webs"},void 0,!1,void 0,this),/*@__PURE__*/_(z5,{},void 0,!1,void 0,this),/*@__PURE__*/_(Z1,{children:n.length>0?/*@__PURE__*/_(Y3,{additionalIcon:/*@__PURE__*/_(ve,{},void 0,!1,void 0,this),webs:n,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__*/_(o3,{children:/*@__PURE__*/_(Z1,{horizontal:!0,gap:8,horizontalAlign:"center",children:[/*@__PURE__*/_(F1,{appearance:"secondary",onClick:()=>{C1.value=void 0},children:"Cancel"},void 0,!1,void 0,this),/*@__PURE__*/_(F1,{appearance:"primary",disabled:!e,onClick:()=>{if(!C1.value)return;let d=G1(D1.value),m=G1(C1.value);d.manifest.appDefinitionMap=d.manifest.appDefinitionMap.filter((s)=>s.appId!==m.appId),d.manifest.appDefinitionMap.push(m),D1.value=d,C1.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 Ag(){let a=g7([]),l=g7(!1);async function c(e){l.value=!1;let r=await _g(e);l.value=!0,a.value=r}function o(e){if(!D1.value)return;let r=G1(D1.value);r.manifest.appDefinitionMap=r.manifest.appDefinitionMap.filter((t)=>t.appId!==e.appId),r.manifest.manualEntries=r.manifest.manualEntries.filter((t)=>t.appId!==e.appId),D1.value=r}if(Z2(()=>{if(!D1.value)return;c(D1.value)}),!D1.value)return null;if(!l.value)return/*@__PURE__*/_(Z1,{style:{marginTop:"10px"},children:/*@__PURE__*/_(j7,{},void 0,!1,void 0,this)},void 0,!1,void 0,this);return/*@__PURE__*/_(Z1,{style:{marginTop:"10px",borderBottom:"1px solid #eaeaea"},children:[a.value.map((e)=>{return/*@__PURE__*/_(Z1,{horizontal:!0,gap:8,horizontalAlign:"space-between",verticalAlign:"center",style:{borderTop:"1px solid #eaeaea",padding:"10px 6px",minHeight:"53px"},children:[/*@__PURE__*/_(Z1,{horizontal:!0,verticalAlign:"center",gap:8,grow:!0,children:[e.isManual?/*@__PURE__*/_(d_,{},void 0,!1,void 0,this):/*@__PURE__*/_(NM,{},void 0,!1,void 0,this)," ",/*@__PURE__*/_(W0,{size:"medium",onClick:()=>{C1.value={appId:e.appId,config:e.config}},children:e.name},void 0,!1,void 0,this)]},void 0,!0,void 0,this),/*@__PURE__*/_(Z1,{gap:8,horizontal:!0,children:[/*@__PURE__*/_(F1,{"aria-label":"Delete configuration item",icon:/*@__PURE__*/_(F3,{},void 0,!1,void 0,this),disabled:!e.isManual&&e.resolved,onClick:()=>{o(e)}},void 0,!1,void 0,this),/*@__PURE__*/_(F1,{"aria-label":"Edit item",icon:/*@__PURE__*/_($M,{},void 0,!1,void 0,this),disabled:!e.isManual,onClick:()=>{let r=D1.value?.manifest.manualEntries.find((t)=>t.appId===e.appId);if(!r)return;Ba.value=G1(r)}},void 0,!1,void 0,this),/*@__PURE__*/_(F1,{"aria-label":"Edit sites",icon:/*@__PURE__*/_(XM,{},void 0,!1,void 0,this),onClick:()=>{C1.value={appId:e.appId,config:e.config}}},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}),/*@__PURE__*/_(ug,{appDefinitions:a.value},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}f5();f5();F();var Y1=h6(WA(),1);var Ok=/*@__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 c6(a,l,c){let o=Ek(a),{webkitRelativePath:e}=a,r=typeof l==="string"?l:typeof e==="string"&&e.length>0?e:`./${a.name}`;if(typeof o.path!=="string")Hg(o,"path",r);if(c!==void 0)Object.defineProperty(o,"handle",{value:c,writable:!1,configurable:!1,enumerable:!0});return Hg(o,"relativePath",r),o}function Ek(a){let{name:l}=a;if(l&&l.lastIndexOf(".")!==-1&&!a.type){let o=l.split(".").pop().toLowerCase(),e=Ok.get(o);if(e)Object.defineProperty(a,"type",{value:e,writable:!1,configurable:!1,enumerable:!0})}return a}function Hg(a,l,c){Object.defineProperty(a,l,{value:c,writable:!1,configurable:!1,enumerable:!0})}var Wk=[".DS_Store","Thumbs.db"];function An(a){return q3(this,void 0,void 0,function*(){if(st(a)&&Ik(a.dataTransfer))return Qk(a.dataTransfer,a.type);else if(qk(a))return Pk(a);else if(Array.isArray(a)&&a.every((l)=>("getFile"in l)&&typeof l.getFile==="function"))return zk(a);return[]})}function Ik(a){return st(a)}function qk(a){return st(a)&&st(a.target)}function st(a){return typeof a==="object"&&a!==null}function Pk(a){return un(a.target.files).map((l)=>c6(l))}function zk(a){return q3(this,void 0,void 0,function*(){return(yield Promise.all(a.map((c)=>c.getFile()))).map((c)=>c6(c))})}function Qk(a,l){return q3(this,void 0,void 0,function*(){if(a.items){let c=un(a.items).filter((e)=>e.kind==="file");if(l!=="drop")return c;let o=yield Promise.all(c.map(Jk));return Vg(fg(o))}return Vg(un(a.files).map((c)=>c6(c)))})}function Vg(a){return a.filter((l)=>Wk.indexOf(l.name)===-1)}function un(a){if(a===null)return[];let l=[];for(let c=0;c<a.length;c++){let o=a[c];l.push(o)}return l}function Jk(a){if(typeof a.webkitGetAsEntry!=="function")return gg(a);let l=a.webkitGetAsEntry();if(l&&l.isDirectory)return Fg(l);return gg(a,l)}function fg(a){return a.reduce((l,c)=>[...l,...Array.isArray(c)?fg(c):[c]],[])}function gg(a,l){return q3(this,void 0,void 0,function*(){var c;if(globalThis.isSecureContext&&typeof a.getAsFileSystemHandle==="function"){let r=yield a.getAsFileSystemHandle();if(r===null)throw new Error(`${a} is not a File`);if(r!==void 0){let t=yield r.getFile();return t.handle=r,c6(t)}}let o=a.getAsFile();if(!o)throw new Error(`${a} is not a File`);return c6(o,(c=l===null||l===void 0?void 0:l.fullPath)!==null&&c!==void 0?c:void 0)})}function Kk(a){return q3(this,void 0,void 0,function*(){return a.isDirectory?Fg(a):$k(a)})}function Fg(a){let l=a.createReader();return new Promise((c,o)=>{let e=[];function r(){l.readEntries((t)=>q3(this,void 0,void 0,function*(){if(!t.length)try{let h=yield Promise.all(e);c(h)}catch(h){o(h)}else{let h=Promise.all(t.map(Kk));e.push(h),r()}}),(t)=>{o(t)})}r()})}function $k(a){return q3(this,void 0,void 0,function*(){return new Promise((l,c)=>{a.file((o)=>{let e=c6(o,a.fullPath);l(e)},(o)=>{c(o)})})})}var Mt=h6(xg(),1);function Cg(a){return ly(a)||ay(a)||kg(a)||jk()}function jk(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
172
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function
|
|
173
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function
|
|
174
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function
|
|
175
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function zg(a,l){if(!a)return;if(typeof a==="string")return xn(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 xn(a,l)}function xn(a,l){if(l==null||l>a.length)l=a.length;for(var c=0,o=new Array(l);c<l;c++)o[c]=a[c];return o}function gy(a,l){var c=a==null?null:typeof Symbol!=="undefined"&&a[Symbol.iterator]||a["@@iterator"];if(c==null)return;var o=[],e=!0,r=!1,t,h;try{for(c=c.call(a);!(e=(t=c.next()).done);e=!0)if(o.push(t.value),l&&o.length===l)break}catch(Z){r=!0,h=Z}finally{try{if(!e&&c.return!=null)c.return()}finally{if(r)throw h}}return o}function fy(a){if(Array.isArray(a))return a}function qg(a,l){var c=Object.keys(a);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(a);l&&(o=o.filter(function(e){return Object.getOwnPropertyDescriptor(a,e).enumerable})),c.push.apply(c,o)}return c}function p0(a){for(var l=1;l<arguments.length;l++){var c=arguments[l]!=null?arguments[l]:{};l%2?qg(Object(c),!0).forEach(function(o){Cn(a,o,c[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(a,Object.getOwnPropertyDescriptors(c)):qg(Object(c)).forEach(function(o){Object.defineProperty(a,o,Object.getOwnPropertyDescriptor(c,o))})}return a}function Cn(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 _t(a,l){if(a==null)return{};var c=Fy(a,l),o,e;if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(a);for(e=0;e<r.length;e++){if(o=r[e],l.indexOf(o)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(a,o))continue;c[o]=a[o]}}return c}function Fy(a,l){if(a==null)return{};var c={},o=Object.keys(a),e,r;for(r=0;r<o.length;r++){if(e=o[r],l.indexOf(e)>=0)continue;c[e]=a[e]}return c}var ut=/*@__PURE__*/I(function(a,l){var c=a.children,o=_t(a,my),e=xy(o),r=e.open,t=_t(e,py);return Z5(l,function(){return{open:r}},[r]),/*@__PURE__*/Rh.createElement(m1,null,c(p0(p0({},t),{},{open:r})))});ut.displayName="Dropzone";var Qg={disabled:!1,getFilesFromEvent:An,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};ut.defaultProps=Qg;ut.propTypes={children:Y1.default.func,accept:Y1.default.objectOf(Y1.default.arrayOf(Y1.default.string)),multiple:Y1.default.bool,preventDropOnDocument:Y1.default.bool,noClick:Y1.default.bool,noKeyboard:Y1.default.bool,noDrag:Y1.default.bool,noDragEventsBubbling:Y1.default.bool,minSize:Y1.default.number,maxSize:Y1.default.number,maxFiles:Y1.default.number,disabled:Y1.default.bool,getFilesFromEvent:Y1.default.func,onFileDialogCancel:Y1.default.func,onFileDialogOpen:Y1.default.func,useFsAccessApi:Y1.default.bool,autoFocus:Y1.default.bool,onDragEnter:Y1.default.func,onDragLeave:Y1.default.func,onDragOver:Y1.default.func,onDrop:Y1.default.func,onDropAccepted:Y1.default.func,onDropRejected:Y1.default.func,onError:Y1.default.func,validator:Y1.default.func};var Jg=ut,Ln={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,acceptedFiles:[],fileRejections:[]};function xy(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},l=p0(p0({},Qg),a),c=l.accept,o=l.disabled,e=l.getFilesFromEvent,r=l.maxSize,t=l.minSize,h=l.multiple,Z=l.maxFiles,i=l.onDragEnter,n=l.onDragLeave,v=l.onDragOver,d=l.onDrop,m=l.onDropAccepted,s=l.onDropRejected,p=l.onFileDialogCancel,M=l.onFileDialogOpen,u=l.useFsAccessApi,A=l.autoFocus,V=l.preventDropOnDocument,H=l.noClick,g=l.noKeyboard,S=l.noDrag,C=l.noDragEventsBubbling,E=l.onError,T=l.validator,c1=p1(function(){return bg(c)},[c]),l1=p1(function(){return Tg(c)},[c]),Q=p1(function(){return typeof M==="function"?M:Pg},[M]),x=p1(function(){return typeof p==="function"?p:Pg},[p]),R=G(null),U=G(null),K=M2(Cy,Ln),X=Fn(K,2),i1=X[0],J=X[1],s1=i1.isFocused,H1=i1.isFileDialogActive,B=G(typeof window!=="undefined"&&window.isSecureContext&&u&&Bg()),b=function o1(){if(!B.current&&H1)setTimeout(function(){if(U.current){var f1=U.current.files;if(!f1.length)J({type:"closeDialog"}),x()}},300)};j(function(){return window.addEventListener("focus",b,!1),function(){window.removeEventListener("focus",b,!1)}},[U,H1,x,B]);var x1=G([]),y1=function o1(f1){if(R.current&&R.current.contains(f1.target))return;f1.preventDefault(),x1.current=[]};j(function(){if(V)document.addEventListener("dragover",fn,!1),document.addEventListener("drop",y1,!1);return function(){if(V)document.removeEventListener("dragover",fn),document.removeEventListener("drop",y1)}},[R,V]),j(function(){if(!o&&A&&R.current)R.current.focus();return function(){}},[R,A,o]);var r0=q(function(o1){if(E)E(o1);else console.error(o1)},[E]),$5=q(function(o1){if(o1.preventDefault(),o1.persist(),t6(o1),x1.current=[].concat(_y(x1.current),[o1.target]),oo(o1))Promise.resolve(e(o1)).then(function(f1){if(co(o1)&&!C)return;var t0=f1.length,s0=t0>0&&Ug({files:f1,accept:c1,minSize:t,maxSize:r,multiple:h,maxFiles:Z,validator:T}),r5=t0>0&&!s0;if(J({isDragAccept:s0,isDragReject:r5,isDragActive:!0,type:"setDraggedFiles"}),i)i(o1)}).catch(function(f1){return r0(f1)})},[e,i,r0,C,c1,t,r,h,Z,T]),m2=q(function(o1){o1.preventDefault(),o1.persist(),t6(o1);var f1=oo(o1);if(f1&&o1.dataTransfer)try{o1.dataTransfer.dropEffect="copy"}catch(t0){}if(f1&&v)v(o1);return!1},[v,C]),p2=q(function(o1){o1.preventDefault(),o1.persist(),t6(o1);var f1=x1.current.filter(function(s0){return R.current&&R.current.contains(s0)}),t0=f1.indexOf(o1.target);if(t0!==-1)f1.splice(t0,1);if(x1.current=f1,f1.length>0)return;if(J({type:"setDraggedFiles",isDragActive:!1,isDragAccept:!1,isDragReject:!1}),oo(o1)&&n)n(o1)},[R,n,C]),Y5=q(function(o1,f1){var t0=[],s0=[];if(o1.forEach(function(r5){var c4=Vn(r5,c1),Z3=Fn(c4,2),r1=Z3[0],u1=Z3[1],w1=gn(r5,t,r),J1=Fn(w1,2),h0=J1[0],s5=J1[1],O0=T?T(r5):null;if(r1&&h0&&!O0)t0.push(r5);else{var X2=[u1,s5];if(O0)X2=X2.concat(O0);s0.push({file:r5,errors:X2.filter(function(t5){return t5})})}}),!h&&t0.length>1||h&&Z>=1&&t0.length>Z)t0.forEach(function(r5){s0.push({file:r5,errors:[yg]})}),t0.splice(0);if(J({acceptedFiles:t0,fileRejections:s0,isDragReject:s0.length>0,type:"setFiles"}),d)d(t0,s0,f1);if(s0.length>0&&s)s(s0,f1);if(t0.length>0&&m)m(t0,f1)},[J,h,c1,t,r,Z,d,m,s,T]),b5=q(function(o1){if(o1.preventDefault(),o1.persist(),t6(o1),x1.current=[],oo(o1))Promise.resolve(e(o1)).then(function(f1){if(co(o1)&&!C)return;Y5(f1,o1)}).catch(function(f1){return r0(f1)});J({type:"reset"})},[e,Y5,r0,C]),n1=q(function(){if(B.current){J({type:"openDialog"}),Q();var o1={multiple:h,types:l1};window.showOpenFilePicker(o1).then(function(f1){return e(f1)}).then(function(f1){Y5(f1,null),J({type:"closeDialog"})}).catch(function(f1){if(Og(f1))x(f1),J({type:"closeDialog"});else if(Eg(f1))if(B.current=!1,U.current)U.current.value=null,U.current.click();else r0(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 r0(f1)});return}if(U.current)J({type:"openDialog"}),Q(),U.current.value=null,U.current.click()},[J,Q,x,u,Y5,r0,l1,h]),O5=q(function(o1){if(!R.current||!R.current.isEqualNode(o1.target))return;if(o1.key===" "||o1.key==="Enter"||o1.keyCode===32||o1.keyCode===13)o1.preventDefault(),n1()},[R,n1]),d1=q(function(){J({type:"focus"})},[]),g5=q(function(){J({type:"blur"})},[]),s2=q(function(){if(H)return;if(Gg())setTimeout(n1,0);else n1()},[H,n1]),E5=function o1(f1){return o?null:f1},r6=function o1(f1){return g?null:E5(f1)},a4=function o1(f1){return S?null:E5(f1)},t6=function o1(f1){if(C)f1.stopPropagation()},Ct=p1(function(){return function(){var o1=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},f1=o1.refKey,t0=f1===void 0?"ref":f1,s0=o1.role,r5=o1.onKeyDown,c4=o1.onFocus,Z3=o1.onBlur,r1=o1.onClick,u1=o1.onDragEnter,w1=o1.onDragOver,J1=o1.onDragLeave,h0=o1.onDrop,s5=_t(o1,sy);return p0(p0(Cn({onKeyDown:r6($2(r5,O5)),onFocus:r6($2(c4,d1)),onBlur:r6($2(Z3,g5)),onClick:E5($2(r1,s2)),onDragEnter:a4($2(u1,$5)),onDragOver:a4($2(w1,m2)),onDragLeave:a4($2(J1,p2)),onDrop:a4($2(h0,b5)),role:typeof s0==="string"&&s0!==""?s0:"presentation"},t0,R),!o&&!g?{tabIndex:0}:{}),s5)}},[R,O5,d1,g5,s2,$5,m2,p2,b5,g,S,o]),za=q(function(o1){o1.stopPropagation()},[]),l4=p1(function(){return function(){var o1=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},f1=o1.refKey,t0=f1===void 0?"ref":f1,s0=o1.onChange,r5=o1.onClick,c4=_t(o1,My),Z3=Cn({accept:c1,multiple:h,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:E5($2(s0,b5)),onClick:E5($2(r5,za)),tabIndex:-1},t0,U);return p0(p0({},Z3),c4)}},[U,c,h,b5,o]);return p0(p0({},i1),{},{isFocused:s1&&!o,getRootProps:Ct,getInputProps:l4,rootRef:R,inputRef:U,open:E5(n1)})}function Cy(a,l){switch(l.type){case"focus":return p0(p0({},a),{},{isFocused:!0});case"blur":return p0(p0({},a),{},{isFocused:!1});case"openDialog":return p0(p0({},Ln),{},{isFileDialogActive:!0});case"closeDialog":return p0(p0({},a),{},{isFileDialogActive:!1});case"setDraggedFiles":return p0(p0({},a),{},{isDragActive:l.isDragActive,isDragAccept:l.isDragAccept,isDragReject:l.isDragReject});case"setFiles":return p0(p0({},a),{},{acceptedFiles:l.acceptedFiles,fileRejections:l.fileRejections,isDragReject:l.isDragReject});case"reset":return p0({},Ln);default:return a}}function Pg(){}async function Kg(a){let l={data:[],warnings:[],error:"",isError:!1},c=a.find((t)=>t.path.toLowerCase().endsWith(P0)),o=-1,e="/";if(!c)l.warnings.push("No manifest.txt file found."),l.isError=!1;else o=c.path.lastIndexOf("/"),e=c.path.substring(0,o+1);for(let t of a){if(t.size===0)continue;let h=await t.arrayBuffer(),Z=new Uint8Array(h),i=t.path,n=t.path.lastIndexOf("/"),v=n>-1?t.path.substring(0,n+1):"",d="/";if(v){let m=v.split("/").filter((p)=>p.length>0),s=e.split("/").filter((p)=>p.length>0);m.forEach((p)=>{if(s.includes(p))d+=`${p}/`})}i=i.replace(d,"").replace(/^\./,""),l.data.push({fileName:i,content:Z})}let r=[];if(e!=="/"){if(r=a.filter((t)=>!t.path.startsWith(e)),r.length>0)l.warnings.push("Some files are outside of manifest.txt directory."),l.warnings.push(...r.map((t)=>`File: ${t.relativePath}`))}return l}async function*$g(a,l,c){await ya(a,l);let o=x7(a),e={data:[],error:"",isError:!1,warnings:[]},r=[];for(let t of c){let h=t.fileName.lastIndexOf("/"),Z=h>-1,i=Z?t.fileName.substring(h+1):t.fileName,n=t.fileName.substring(0,h),v=`${k1}/${l}${n?`/${n}`:""}`,d=a.web.getFolderByServerRelativePath(v);if(Z){if(!r.includes(n))try{await pV(a,l,n.split("/")),r.push(n)}catch(m){return e.error=`Error while creating ${n} in ${v} folder in ${o}. ${m}`,e.isError=!0,e}}try{await d.files.addUsingPath(i,new Blob([t.content]),{Overwrite:!0});let m=`${i} uploaded successfully`;e.data.push(m),yield{data:m,success:!0,fileName:t.fileName}}catch(m){let s=`Error while uploading ${i} in ${v} folder in ${o}`;_1(s,m),e.warnings.push(s),yield{data:s,success:!1,fileName:t.fileName}}}if(e.data.length===0&&e.warnings.length>0)e.error="All files failed to upload.",e.isError=!0;return e}async function Ly(a,l){let c=await a.web.using(wH())(),o=a.web.lists.getByTitle(k1).items.select("FileLeafRef","FileDirRef").filter(`FSObjType eq 0 and substringof('${k1}/${l}',FileDirRef)`).top(100),e=[],r=c.ServerRelativeUrl.replace(/\/$/,"");for await(let t of o)t.forEach((Z)=>{let i=Z.FileDirRef.replace(`${r}/${k1}/${l}`,"."),n=Z.FileLeafRef;e.push(`${i}/${n}`)});return e}async function Ry(a,l){return(await Ly(a,l)).filter((o)=>/\.js$/.test(o))}V7(()=>{if(D1.value?.name)Ry(o0,D1.value.name).then((a)=>{l6.value=a})});var Yg={},Sy=function(a,l,c,o,e){var r=new Worker(Yg[l]||(Yg[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 r.onmessage=function(t){var h=t.data,Z=h.$e$;if(Z){var i=new Error(Z[0]);i.code=Z[1],i.stack=Z[2],e(i,null)}else e(null,h)},r.postMessage(c,o),r},V5=Uint8Array,e6=Uint16Array,jg=Int32Array,Dn=new V5([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]),wn=new V5([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]),af=new V5([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),lf=function(a,l){var c=new e6(31);for(var o=0;o<31;++o)c[o]=l+=1<<a[o-1];var e=new jg(c[30]);for(var o=1;o<30;++o)for(var r=c[o];r<c[o+1];++r)e[r]=r-c[o]<<5|o;return{b:c,r:e}},cf=lf(Dn,2),kn=cf.b,Dy=cf.r;kn[28]=258,Dy[258]=28;var of=lf(wn,0),ef=of.b,wD1=of.r,gt=new e6(32768);for(U1=0;U1<32768;++U1)S7=(U1&43690)>>1|(U1&21845)<<1,S7=(S7&52428)>>2|(S7&13107)<<2,S7=(S7&61680)>>4|(S7&3855)<<4,gt[U1]=((S7&65280)>>8|(S7&255)<<8)>>1;var S7,U1,Pa=function(a,l,c){var o=a.length,e=0,r=new e6(l);for(;e<o;++e)if(a[e])++r[a[e]-1];var t=new e6(l);for(e=1;e<l;++e)t[e]=t[e-1]+r[e-1]<<1;var h;if(c){h=new e6(1<<l);var Z=15-l;for(e=0;e<o;++e)if(a[e]){var i=e<<4|a[e],n=l-a[e],v=t[a[e]-1]++<<n;for(var d=v|(1<<n)-1;v<=d;++v)h[gt[v]>>Z]=i}}else{h=new e6(o);for(e=0;e<o;++e)if(a[e])h[e]=gt[t[a[e]-1]++]>>15-a[e]}return h},eo=new V5(288);for(U1=0;U1<144;++U1)eo[U1]=8;var U1;for(U1=144;U1<256;++U1)eo[U1]=9;var U1;for(U1=256;U1<280;++U1)eo[U1]=7;var U1;for(U1=280;U1<288;++U1)eo[U1]=8;var U1,rf=new V5(32);for(U1=0;U1<32;++U1)rf[U1]=5;var U1;var tf=/*@__PURE__*/Pa(eo,9,1);var hf=/*@__PURE__*/Pa(rf,5,1),Ht=function(a){var l=a[0];for(var c=1;c<a.length;++c)if(a[c]>l)l=a[c];return l},d2=function(a,l,c){var o=l/8|0;return(a[o]|a[o+1]<<8)>>(l&7)&c},Vt=function(a,l){var c=l/8|0;return(a[c]|a[c+1]<<8|a[c+2]<<16)>>(l&7)},Zf=function(a){return(a+7)/8|0},ft=function(a,l,c){if(l==null||l<0)l=0;if(c==null||c>a.length)c=a.length;return new V5(a.subarray(l,c))};var vf=["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"],H5=function(a,l,c){var o=new Error(l||vf[a]);if(o.code=a,Error.captureStackTrace)Error.captureStackTrace(o,H5);if(!c)throw o;return o},nf=function(a,l,c,o){var e=a.length,r=o?o.length:0;if(!e||l.f&&!l.l)return c||new V5(0);var t=!c,h=t||l.i!=2,Z=l.i;if(t)c=new V5(e*3);var i=function(b5){var n1=c.length;if(b5>n1){var O5=new V5(Math.max(n1*2,b5));O5.set(c),c=O5}},n=l.f||0,v=l.p||0,d=l.b||0,m=l.l,s=l.d,p=l.m,M=l.n,u=e*8;do{if(!m){n=d2(a,v,1);var A=d2(a,v+1,3);if(v+=3,!A){var V=Zf(v)+4,H=a[V-4]|a[V-3]<<8,g=V+H;if(g>e){if(Z)H5(0);break}if(h)i(d+H);c.set(a.subarray(V,g),d),l.b=d+=H,l.p=v=g*8,l.f=n;continue}else if(A==1)m=tf,s=hf,p=9,M=5;else if(A==2){var S=d2(a,v,31)+257,C=d2(a,v+10,15)+4,E=S+d2(a,v+5,31)+1;v+=14;var T=new V5(E),c1=new V5(19);for(var l1=0;l1<C;++l1)c1[af[l1]]=d2(a,v+l1*3,7);v+=C*3;var Q=Ht(c1),x=(1<<Q)-1,R=Pa(c1,Q,1);for(var l1=0;l1<E;){var U=R[d2(a,v,x)];v+=U&15;var V=U>>4;if(V<16)T[l1++]=V;else{var K=0,X=0;if(V==16)X=3+d2(a,v,3),v+=2,K=T[l1-1];else if(V==17)X=3+d2(a,v,7),v+=3;else if(V==18)X=11+d2(a,v,127),v+=7;while(X--)T[l1++]=K}}var i1=T.subarray(0,S),J=T.subarray(S);p=Ht(i1),M=Ht(J),m=Pa(i1,p,1),s=Pa(J,M,1)}else H5(1);if(v>u){if(Z)H5(0);break}}if(h)i(d+131072);var s1=(1<<p)-1,H1=(1<<M)-1,B=v;for(;;B=v){var K=m[Vt(a,v)&s1],b=K>>4;if(v+=K&15,v>u){if(Z)H5(0);break}if(!K)H5(2);if(b<256)c[d++]=b;else if(b==256){B=v,m=null;break}else{var x1=b-254;if(b>264){var l1=b-257,y1=Dn[l1];x1=d2(a,v,(1<<y1)-1)+kn[l1],v+=y1}var r0=s[Vt(a,v)&H1],$5=r0>>4;if(!r0)H5(3);v+=r0&15;var J=ef[$5];if($5>3){var y1=wn[$5];J+=Vt(a,v)&(1<<y1)-1,v+=y1}if(v>u){if(Z)H5(0);break}if(h)i(d+131072);var m2=d+x1;if(d<J){var p2=r-J,Y5=Math.min(J,m2);if(p2+d<0)H5(3);for(;d<Y5;++d)c[d]=o[p2+d]}for(;d<m2;++d)c[d]=c[d-J]}}if(l.l=m,l.p=B,l.b=d,l.f=n,m)n=1,l.m=p,l.d=s,l.n=M}while(!n);return d!=c.length&&t?ft(c,0,d):c.subarray(0,d)};var wy=/*@__PURE__*/new V5(0);var ky=function(a,l){var c={};for(var o in a)c[o]=a[o];for(var o in l)c[o]=l[o];return c},Xg=function(a,l,c){var o=a(),e=a.toString(),r=e.slice(e.indexOf("[")+1,e.lastIndexOf("]")).replace(/\s+/g,"").split(",");for(var t=0;t<o.length;++t){var h=o[t],Z=r[t];if(typeof h=="function"){l+=";"+Z+"=";var i=h.toString();if(h.prototype)if(i.indexOf("[native code]")!=-1){var n=i.indexOf(" ",8)+1;l+=i.slice(n,i.indexOf("(",n))}else{l+=i;for(var v in h.prototype)l+=";"+Z+".prototype."+v+"="+h.prototype[v].toString()}else l+=i}else c[Z]=h}return l},At=[],yy=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},Uy=function(a,l,c,o){if(!At[c]){var e="",r={},t=a.length-1;for(var h=0;h<t;++h)e=Xg(a[h],e,r);At[c]={c:Xg(a[t],e,r),e:r}}var Z=ky({},At[c].e);return Sy(At[c].c+";onmessage=function(e){for(var k in e.data)self[k]=e.data[k];onmessage="+l.toString()+"}",c,Z,yy(Z),o)},Gy=function(){return[V5,e6,jg,Dn,wn,af,kn,ef,tf,hf,gt,vf,Pa,Ht,d2,Vt,Zf,ft,H5,nf,yn,df,mf]};var df=function(a){return postMessage(a,[a.buffer])},mf=function(a){return a&&{out:a.size&&new V5(a.size),dictionary:a.dictionary}},By=function(a,l,c,o,e,r){var t=Uy(c,o,e,function(h,Z){t.terminate(),r(h,Z)});return t.postMessage([a,l],l.consume?[a.buffer]:[]),function(){t.terminate()}};var D7=function(a,l){return a[l]|a[l+1]<<8},Y2=function(a,l){return(a[l]|a[l+1]<<8|a[l+2]<<16|a[l+3]<<24)>>>0},Rn=function(a,l){return Y2(a,l)+Y2(a,l+4)*4294967296};function Ty(a,l,c){if(!c)c=l,l={};if(typeof c!="function")H5(7);return By(a,l,[Gy],function(o){return df(yn(o.data[0],mf(o.data[1])))},1,c)}function yn(a,l){return nf(a,{i:2},l&&l.out,l&&l.dictionary)}var Sn=typeof TextDecoder!="undefined"&&/*@__PURE__*/new TextDecoder,by=0;try{Sn.decode(wy,{stream:!0}),by=1}catch(a){}var Oy=function(a){for(var l="",c=0;;){var o=a[c++],e=(o>127)+(o>223)+(o>239);if(c+e>a.length)return{s:l,r:ft(a,c-1)};if(!e)l+=String.fromCharCode(o);else if(e==3)o=((o&15)<<18|(a[c++]&63)<<12|(a[c++]&63)<<6|a[c++]&63)-65536,l+=String.fromCharCode(55296|o>>10,56320|o&1023);else if(e&1)l+=String.fromCharCode((o&31)<<6|a[c++]&63);else l+=String.fromCharCode((o&15)<<12|(a[c++]&63)<<6|a[c++]&63)}};function Ey(a,l){if(l){var c="";for(var o=0;o<a.length;o+=16384)c+=String.fromCharCode.apply(null,a.subarray(o,o+16384));return c}else if(Sn)return Sn.decode(a);else{var e=Oy(a),r=e.s,c=e.r;if(c.length)H5(8);return r}}var Wy=function(a,l){return l+30+D7(a,l+26)+D7(a,l+28)},Iy=function(a,l,c){var o=D7(a,l+28),e=Ey(a.subarray(l+46,l+46+o),!(D7(a,l+8)&2048)),r=l+46+o,t=Y2(a,l+20),h=c&&t==4294967295?qy(a,r):[t,Y2(a,l+24),Y2(a,l+42)],Z=h[0],i=h[1],n=h[2];return[D7(a,l+10),Z,i,e,r+D7(a,l+30)+D7(a,l+32),n]},qy=function(a,l){for(;D7(a,l)!=1;l+=4+D7(a,l+2));return[Rn(a,l+12),Rn(a,l+4),Rn(a,l+20)]};var Ng=typeof queueMicrotask=="function"?queueMicrotask:typeof setTimeout=="function"?setTimeout:function(a){a()};function pf(a,l,c){if(!c)c=l,l={};if(typeof c!="function")H5(7);var o=[],e=function(){for(var M=0;M<o.length;++M)o[M]()},r={},t=function(M,u){Ng(function(){c(M,u)})};Ng(function(){t=c});var h=a.length-22;for(;Y2(a,h)!=101010256;--h)if(!h||a.length-h>65558)return t(H5(13,0,1),null),e;var Z=D7(a,h+8);if(Z){var i=Z,n=Y2(a,h+16),v=n==4294967295||i==65535;if(v){var d=Y2(a,h-12);if(v=Y2(a,d)==101075792,v)i=Z=Y2(a,d+32),n=Y2(a,d+48)}var m=l&&l.filter,s=function(M){var u=Iy(a,n,v),A=u[0],V=u[1],H=u[2],g=u[3],S=u[4],C=u[5],E=Wy(a,C);n=S;var T=function(l1,Q){if(l1)e(),t(l1,null);else{if(Q)r[g]=Q;if(!--Z)t(null,r)}};if(!m||m({name:g,size:V,originalSize:H,compression:A}))if(!A)T(null,ft(a,E,E+V));else if(A==8){var c1=a.subarray(E,E+V);if(H<524288||V>0.8*H)try{T(null,yn(c1,{out:new V5(H)}))}catch(l1){T(l1,null)}else o.push(Ty(c1,{size:H},T))}else T(H5(14,"unknown compression type "+A,1),null);else T(null,null)};for(var p=0;p<i;++p)s(p)}else t(null,{});return e}async function sf(a){let l=await a.arrayBuffer(),c={data:[],warnings:[],error:"",isError:!1},o=new Promise((v,d)=>{pf(new Uint8Array(l),(m,s)=>{if(m)d(m);v(s)})}),e=void 0;try{e=await o}catch(v){return c.error=`${v}`,c.isError=!0,c}let r=[];Object.keys(e).forEach((v)=>{r.push(v)});let t=r.find((v)=>v.toLowerCase().endsWith(P0));if(!t)c.warnings.push("No manifest file found in the zip."),t="";let h=t.lastIndexOf("/"),Z="";if(h>-1)Z=t.substring(0,h+1);let i=r.filter((v)=>!v.startsWith(Z)),n=r.filter((v)=>v.startsWith(Z));if(i.length>0)c.warnings.push("Some files are not in the root directory and wont be included."),c.warnings.push(...i.map((v)=>`File: ${v}`));return n.forEach((v)=>{let d=e[v],m=v.substring(Z.length);if(d.length>0)c.data.push({fileName:m,content:d})}),c}var Mf={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"},_f={borderColor:g2.colorCompoundBrandForeground1},uf={borderColor:g2.colorPaletteGreenForeground1},Af={borderColor:g2.colorPaletteRedForeground1};var j3=G0([]),Py=G0(!1);function Hf(){let[a,l]=h1(0);async function c(o){j3.value=[...o];let e=$g(o0,D1.value.name,o),r=await e.next(),t=1;while(!r.done){l(t++);let h=r.value,Z=o.find((n)=>n.fileName===h.fileName),i=h.fileName.toLowerCase().endsWith(P0);if(Z)Z.status=h.success?"uploaded":"error";if(i&&h.success&&Z){let n=G1(D1.value),v=(/*@__PURE__*/new TextDecoder()).decode(Z.content),d=JSON.parse(v);n.manifest=d,R7(n,!0)}j3.value=[...o],r=await e.next()}setTimeout(()=>{Py.value=!0,j3.value=[],l(0)},3000)}return/*@__PURE__*/_(Z1,{gap:16,children:/*@__PURE__*/_(Z1,{children:/*@__PURE__*/_(Jg,{useFsAccessApi:!1,onDropAccepted:(o,e)=>{if(o.length===1&&o[0].name.endsWith(".zip")){sf(o[0]).then((r)=>{let t=r.data.map((h)=>{return{status:"uploading",...h}});c(t)});return}Kg(o).then((r)=>{let t=r.data.map((h)=>{return{status:"uploading",...h}});c(t)})},multiple:!0,noClick:!0,noKeyboard:!0,children:({getRootProps:o,getInputProps:e,isFocused:r,isDragAccept:t,isDragReject:h,open:Z})=>/*@__PURE__*/_("div",{...o({style:{...Mf,...r?_f:{},...t?uf:{},...h?Af:{}}}),children:j3.value.some((i)=>i.status==="uploading")?/*@__PURE__*/_(S4,{validationMessage:`Uploaded ${a} of ${j3.value.length} files `,validationState:"none",validation:!0,style:{width:"100%"},children:/*@__PURE__*/_(j7,{max:j3.value.length-1,value:a,thickness:"large"},void 0,!1,void 0,this)},void 0,!1,void 0,this):/*@__PURE__*/_(m1,{children:[/*@__PURE__*/_("input",{...e()},void 0,!1,void 0,this),/*@__PURE__*/_(r2,{children:[/*@__PURE__*/_(ea,{children:"Choose a file(s) "},void 0,!1,void 0,this),"or drag it here"]},void 0,!0,void 0,this),/*@__PURE__*/_(F1,{appearance:"primary",onClick:Z,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 Vf({jsFiles:a}){let l=D1.value,c=z7();async function o(e,r){if(!l)return;if(e)l.manifest.appRelativeEntryPointUrls.push(r);if(!e)l.manifest.appRelativeEntryPointUrls=l.manifest.appRelativeEntryPointUrls.filter((t)=>t!==r);R7(l,!0)}if(!l)return null;return/*@__PURE__*/_(b2,{...c,separator:!0,open:Ta.value,onOpenChange:(e,{open:r})=>{Ta.value=r},style:{width:"440px"},children:[/*@__PURE__*/_(E2,{children:/*@__PURE__*/_(W2,{action:/*@__PURE__*/_(F1,{appearance:"subtle","aria-label":"Close",icon:/*@__PURE__*/_(m7,{},void 0,!1,void 0,this),onClick:()=>Ta.value=!1},void 0,!1,void 0,this),children:"Manage Entry Points"},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/_(O2,{children:/*@__PURE__*/_(Z1,{gap:16,style:{padding:"12px 0px"},children:[/*@__PURE__*/_(Hf,{},void 0,!1,void 0,this),/*@__PURE__*/_(Z1,{gap:4,children:[a.map((e)=>/*@__PURE__*/_(D0,{label:e,labelPosition:"before",defaultChecked:l.manifest.appRelativeEntryPointUrls.some((r)=>r===e),onChange:(r,t)=>{o(t.checked,e)},root:{style:{justifyContent:"space-between"}}},void 0,!1,void 0,this)),/*@__PURE__*/_(Z1,{gap:20,style:{marginTop:"10px",padding:"0px 10px 0 8px"},children:j3.value.map((e)=>/*@__PURE__*/_(Z1,{horizontalAlign:"space-between",horizontal:!0,children:[/*@__PURE__*/_(Z1,{children:e.fileName},void 0,!1,void 0,this),e.status==="uploaded"&&/*@__PURE__*/_(N0,{size:"medium",appearance:"ghost",color:"success",icon:/*@__PURE__*/_(c_,{},void 0,!1,void 0,this)},void 0,!1,void 0,this),e.status==="error"&&/*@__PURE__*/_(N0,{size:"medium",appearance:"ghost",color:"danger",icon:/*@__PURE__*/_(t_,{},void 0,!1,void 0,this)},void 0,!1,void 0,this),e.status==="uploading"&&/*@__PURE__*/_(Q5,{size:"tiny"},void 0,!1,void 0,this)]},e.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)}function gf(){let a=D1.value,l=G(null),c=q((o)=>{l.current?.setTarget(o)},[l]);if(!a)return null;return/*@__PURE__*/_(m1,{children:[/*@__PURE__*/_(Z1,{horizontal:!0,horizontalAlign:"space-between",verticalAlign:"center",style:{borderBottom:"1px solid #eaeaea",paddingBottom:"10px"},children:[/*@__PURE__*/_(d5,{children:"Entry points"},void 0,!1,void 0,this),/*@__PURE__*/_(Z1,{horizontal:!0,verticalAlign:"center",children:/*@__PURE__*/_(S2,{positioning:{positioningRef:l},withArrow:!0,children:[/*@__PURE__*/_(e2,{disableButtonEnhancement:!0,children:/*@__PURE__*/_(W0,{children:/*@__PURE__*/_(_e,{},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/_(R2,{tabIndex:-1,children:/*@__PURE__*/_(t2,{children:/*@__PURE__*/_(r2,{children:["Select files that export an array of ",/*@__PURE__*/_("i",{children:"SPFxExtensionAppRegistration"},void 0,!1,void 0,this)," as default export."]},void 0,!0,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),l6.value.filter((o)=>a.manifest.appRelativeEntryPointUrls.some((e)=>o===e)).map((o)=>/*@__PURE__*/_(Z1,{horizontal:!0,gap:4,verticalAlign:"center",children:[/*@__PURE__*/_(Z_,{},void 0,!1,void 0,this)," ",o]},void 0,!0,void 0,this)),/*@__PURE__*/_(F1,{onClick:()=>{Ta.value=!0},children:"Upload / Edit"},void 0,!1,void 0,this),/*@__PURE__*/_(Vf,{jsFiles:l6.value},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function ff(){let a=D1.value;if(!a)return null;return/*@__PURE__*/_(Z1,{horizontal:!0,gap:20,children:[/*@__PURE__*/_(Z1,{gap:16,style:{paddingBottom:"20px",flexBasis:"300px",flexShrink:0,paddingRight:"20px",borderRight:"1px solid #eaeaea"},children:/*@__PURE__*/_(gf,{},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/_(Z1,{style:{flexGrow:1},children:[/*@__PURE__*/_(Z1,{horizontal:!0,horizontalAlign:"space-between",verticalAlign:"center",style:{minHeight:"32px"},children:[/*@__PURE__*/_(Z1,{horizontal:!0,gap:16,verticalAlign:"center",children:[/*@__PURE__*/_(d5,{children:"App/Entry Point Configuration"},void 0,!1,void 0,this),/*@__PURE__*/_(mg,{},void 0,!1,void 0,this)]},void 0,!0,void 0,this),/*@__PURE__*/_(Z1,{gap:8,horizontal:!0,children:[/*@__PURE__*/_(D0,{checked:a.manifest.enableCaching,label:"Enable caching",onChange:(l,c)=>{a.manifest.enableCaching=c.checked,R7(a)}},void 0,!1,void 0,this),/*@__PURE__*/_(n5,{placeholder:"Cache string",disabled:!a.manifest.enableCaching,type:"text",value:a.manifest.cacheString??"",onChange:(l,c)=>{a.manifest.cacheString=c.value,R7(a)}},void 0,!1,void 0,this),/*@__PURE__*/_(F1,{size:"medium",disabled:!a.manifest.enableCaching,onClick:async()=>{a.manifest.cacheString=await ng(),R7(a)},children:"Generate"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),/*@__PURE__*/_(Ag,{},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function Ff(){let[a,l]=h1(""),[c,o]=h1(!1);Z2(()=>{if(!D1.value)return;let r=JSON.stringify(D1.value);if(!a){l(r);return}l(r),o(a!==r)});async function e(){let r=D1.value;await UV(o0,r.name,r.manifest),R7(r,!0),D1.value=void 0}if(!D1.value)return null;return/*@__PURE__*/_(Z1,{gap:20,style:{height:"100%"},children:[/*@__PURE__*/_(Z1,{horizontalAlign:"space-between",horizontal:!0,verticalAlign:"center",children:[/*@__PURE__*/_(Z1,{gap:10,horizontal:!0,verticalAlign:"center",children:[/*@__PURE__*/_(F1,{appearance:"secondary",icon:/*@__PURE__*/_(jM,{},void 0,!1,void 0,this),onClick:()=>{D1.value=void 0}},void 0,!1,void 0,this),/*@__PURE__*/_(ra,{children:["Configuration of ",D1.value.name]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),/*@__PURE__*/_(Z1,{horizontal:!0,gap:15,children:/*@__PURE__*/_(GV,{children:/*@__PURE__*/_(F1,{appearance:"primary",disabled:!c,onClick:e,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__*/_(ff,{},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}var Un=ka(),Ft=Un??K4(),xt=rt();function zy(){let a=[];if(J2)return a.push(/*@__PURE__*/_(N0,{size:"extra-large",shape:"rounded",color:"danger",children:"Global"},"global",!1,void 0,this)),a;if(xt==="hubRoot")a.push(/*@__PURE__*/_(N0,{size:"extra-large",shape:"rounded",color:"success",children:"Hub root site"},"hubRoot",!1,void 0,this));if(xt==="hubChild")a.push(/*@__PURE__*/_(N0,{size:"extra-large",shape:"rounded",color:"warning",children:"Hub child site"},"child",!1,void 0,this));if(xt==="nonHub")a.push(/*@__PURE__*/_(N0,{size:"extra-large",shape:"rounded",color:"brand",children:"Non hub site"},"nonhub",!1,void 0,this));if(xt==="subsite")a.push(/*@__PURE__*/_(N0,{size:"extra-large",shape:"rounded",color:"informative",children:"Sub site"},"subsite",!1,void 0,this));else a.push(/*@__PURE__*/_(N0,{size:"extra-large",shape:"rounded",color:"informative",children:"Site collection"},"siteCollectionRoot",!1,void 0,this));return a}function xf(){let[a]=uh(),{dispatchToast:l}=I4($3);if(a)return _1("Error in App component:",a),/*@__PURE__*/_("div",{children:["Error: ",a.message]},void 0,!0,void 0,this);let c=()=>l(/*@__PURE__*/_(B2,{children:/*@__PURE__*/_(T2,{children:"Link copied to clipboard."},void 0,!1,void 0,this)},void 0,!1,void 0,this),{position:"top",intent:"info",timeout:1000,toastId:Ft});return/*@__PURE__*/_(Z1,{style:{padding:"30px"},gap:20,children:[/*@__PURE__*/_(Z1,{horizontal:!0,gap:16,verticalAlign:"center",children:[/*@__PURE__*/_(ta,{children:[Un?"Web":"Global"," application list"]},void 0,!0,void 0,this),...zy()]},void 0,!0,void 0,this),Un&&/*@__PURE__*/_(Z1,{horizontal:!0,gap:8,verticalAlign:"center",children:[/*@__PURE__*/_(W0,{target:"_blank",href:Ft,children:Ft},void 0,!1,void 0,this),/*@__PURE__*/_(o_,{onClick:()=>{navigator.clipboard.writeText(Ft),c()}},void 0,!1,void 0,this)]},void 0,!0,void 0,this),/*@__PURE__*/_(yV,{},void 0,!1,void 0,this),/*@__PURE__*/_(Ff,{},void 0,!1,void 0,this),/*@__PURE__*/_(kV,{},void 0,!1,void 0,this),/*@__PURE__*/_(fV,{},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}var Cf=fr(window.__globalSettings__.customizations.settings.theme.palette),Qy=window.__globalSettings__.customizations.settings.theme.isInverted?q6(Cf):V3(Cf);document.querySelector("#spCommandBar button[name='Edit']")?.setAttribute("style","display:none;");function Lf(a){return/*@__PURE__*/_(s4,{theme:Qy,style:{height:"100%"},children:/*@__PURE__*/_(xf,{},void 0,!1,void 0,this)},void 0,!1,void 0,this)}async function ek1(a){if(a.domElement)w7(Lf({instance:a}),a.domElement);return()=>{if(a.domElement)w7(null,a.domElement)}}export{ek1 as launch};
|
|
169
|
+
`),_="";M.push(`--batch_${h}--
|
|
170
|
+
`);let A=await X(e,{body:M.join(""),headers:{"Content-Type":`multipart/mixed; boundary=batch_${h}`}});if(A.length!==p.length)throw Error("Could not properly parse responses to match requests in batch.");for(let m=0;m<A.length;m++)p[m][3](A[m])}await Promise.all(o).then(()=>{return})}]}function I3(){return(a)=>{return a.on.pre.prepend(async function(l,c,o){return c.headers={...c.headers,"X-PnP-BatchNever":"1"},[l,c,o]}),a}}function MG(a){let l=[],c="--batchresponse_",o=new RegExp("^HTTP/[0-9.]+ +([0-9]+) +(.*)","i"),r=a.split(`
|
|
171
|
+
`),e="batch",h,Z,t={},i=[];for(let v=0;v<r.length;++v){let n=r[v];switch(e){case"batch":if(n.substring(0,16)==="--batchresponse_")e="batchHeaders";else if(n.trim()!=="")throw Error(`Invalid response, line ${v}`);break;case"batchHeaders":if(n.trim()==="")e="status";break;case"status":{let d=o.exec(n);if(d.length!==3)throw Error(`Invalid status, line ${v}`);h=parseInt(d[1],10),Z=d[2],e="statusHeaders";break}case"statusHeaders":if(n.trim()==="")e="body";else{let d=n.split(":");if((d===null||d===void 0?void 0:d.length)===2)t[d[0].trim()]=d[1].trim()}break;case"body":i.length=0;while(n.substring(0,16)!=="--batchresponse_")i.push(n),n=r[++v];v--,l.push(new Response(h===204?null:i.join(""),{status:h,statusText:Z,headers:t})),e="batch",t={};break}}if(e!=="status")throw Error("Unexpected end of input");return l}function bH(a){let l=/*@__PURE__*/new Date;return!L0(a)||l>a.expiration?null:a}var EH=/*@__PURE__*/new Map;function Ee(a){return(l)=>{return l.on.pre(async function(c,o,r){return this.on.auth(async(e,h)=>{if(/get/i.test(h.method)||h.headers&&(Y1(h.headers,"X-RequestDigest")||Y1(h.headers,"Authorization")||Y1(h.headers,"X-PnPjs-NoDigest")))return[e,h];let Z=e.toString(),t=v0(Z),i=bH(EH.get(t));if(!L0(i)&&U5(a))i=bH(a(Z,h));if(!L0(i))i=await X(T0([this,q1(t,"_api/contextinfo")]).using(Be(),I3()),{headers:{Accept:"application/json","X-PnPjs-NoDigest":"1"}}).then((v)=>({expiration:Q3(/*@__PURE__*/new Date,"second",v.FormDigestTimeoutSeconds),value:v.FormDigestValue}));if(L0(i))h.headers={"X-RequestDigest":i.value,...h.headers},EH.set(t,i);return[e,h]}),[c,o,r]}),l}}function qe(a){if((a===null||a===void 0?void 0:a.baseUrl)&&!O0(a.baseUrl))throw Error("SPBrowser props.baseUrl must be absolute when supplied.");return(l)=>{if(l.using(be(),Te(),De(),Ue(),Ee()),O0(a===null||a===void 0?void 0:a.baseUrl))l.on.pre.prepend(async(c,o,r)=>{if(!O0(c))c=q1(a.baseUrl,c);return[c,o,r]});return l}}class Hn extends Error{constructor(a){super(`SPFx Context supplied to ${a} Behavior is null or undefined.`)}static check(a,l){if(typeof l>"u"||l===null)throw new Hn(a)}}function qH(a){return Hn.check("SPFx",a),(l)=>{return l.using(be(),Te(),De(),Ue(),Ee((c)=>{var o,r,e;if(new RegExp(`^${q1(a.pageContext.web.absoluteUrl,"/_api")}`,"i").test(c)&&((r=(o=a===null||a===void 0?void 0:a.pageContext)===null||o===void 0?void 0:o.legacyPageContext)===null||r===void 0?void 0:r.formDigestValue)){let Z=new Date(a.pageContext.legacyPageContext.formDigestValue.split(",")[1]);return{value:a.pageContext.legacyPageContext.formDigestValue,expiration:Q3(Z,"second",((e=a.pageContext.legacyPageContext)===null||e===void 0?void 0:e.formDigestTimeoutSeconds)-15||1585)}}})),l.on.pre.prepend(async(c,o,r)=>{if(!O0(c))c=q1(a.pageContext.web.absoluteUrl,c);return[c,o,r]}),l}}var fn=class extends d5{getById(l){return F0(this).concat(`('${l}')`)}getByTitle(l){return F0(this,`getByTitle('${I1(l)}')`)}async add(l,c="",o=100,r=!1,e={}){let h={AllowContentTypes:r,BaseTemplate:o,ContentTypesEnabled:r,Description:c,Title:l,...e};return X(this,O1(h))}async ensure(l,c="",o=100,r=!1,e={}){let h={Title:l,Description:c,ContentTypesEnabled:r,...e},Z=this.getByTitle(h.Title);try{return await Z.select("Title")(),{created:!1,data:await Z.update(h),list:this.getByTitle(h.Title)}}catch(t){return{created:!0,data:await this.add(l,c,o,r,h),list:this.getByTitle(h.Title)}}}async ensureSiteAssetsLibrary(){let l=await X(zc(this,"ensuresiteassetslibrary"));return F0([this,J2(l)])}async ensureSitePagesLibrary(){let l=await X(zc(this,"ensuresitepageslibrary"));return F0([this,J2(l)])}};fn=N1([l5("lists")],fn);var zc=a0(fn);class F8 extends a5{constructor(){super(...arguments);this.delete=h3()}get effectiveBasePermissions(){return T0(this,"EffectiveBasePermissions")}get eventReceivers(){return Y5(this,"EventReceivers")}get relatedFields(){return T0(this,"getRelatedFields")}get informationRightsManagementSettings(){return T0(this,"InformationRightsManagementSettings")}async update(a,l="*"){return await H8(this,O1(a,s8({"IF-Match":l})))}getChanges(a){return X(F0(this,"getchanges"),O1({query:a}))}getItemsByCAMLQuery(a,...l){return X(F0(this,"getitems").expand(...l),O1({query:a}))}getListItemChangesSinceToken(a){return X(F0(this,"getlistitemchangessincetoken").using(A8()),O1({query:a}))}async recycle(){return X(F0(this,"recycle"))}async renderListData(a){let l=F0(this,"renderlistdata(@viewXml)");l.query.set("@viewXml",`'${a}'`);let c=await X(l);return JSON.parse(c)}renderListDataAsStream(a,l=null,c=/*@__PURE__*/new Map){if(Y1(a,"RenderOptions")&&Q0(a.RenderOptions))a.RenderOptions=a.RenderOptions.reduce((e,h)=>e+h);let o=F0(this,"RenderListDataAsStream");if(c&&c.size>0)c.forEach((e,h)=>o.query.set(h,e));let r=L0(l)?{parameters:a,overrideParameters:l}:{parameters:a};return X(o,O1(r))}async renderListFormData(a,l,c){let o=await X(F0(this,`renderlistformdata(itemid=${a}, formid='${l}', mode='${c}')`));return JSON.parse(o)}async reserveListItemId(){return X(F0(this,"reservelistitemid"))}async addValidateUpdateItemUsingPath(a,l,c=!1,o,r){let e={FolderPath:g7(l)};if(L0(r)){if(r.leafName)e.LeafName=g7(r.leafName);if(r.objectType)e.UnderlyingObjectType=r.objectType}return X(F0(this,"AddValidateUpdateItemUsingPath()"),O1({bNewDocumentUpdate:c,checkInComment:o,formValues:a,listItemCreateInfo:e}))}async getParentInfos(){let a=await this.select("Id","RootFolder/UniqueId","RootFolder/ServerRelativeUrl","RootFolder/ServerRelativePath","ParentWeb/Id","ParentWeb/Url","ParentWeb/ServerRelativeUrl","ParentWeb/ServerRelativePath").expand("RootFolder","ParentWeb")();return{List:{Id:a.Id,RootFolderServerRelativePath:a.RootFolder.ServerRelativePath,RootFolderServerRelativeUrl:a.RootFolder.ServerRelativeUrl,RootFolderUniqueId:a.RootFolder.UniqueId},ParentWeb:{Id:a.ParentWeb.Id,ServerRelativePath:a.ParentWeb.ServerRelativePath,ServerRelativeUrl:a.ParentWeb.ServerRelativeUrl,Url:a.ParentWeb.Url}}}}var F0=a0(F8),Vn;(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"})(Vn||(Vn={}));var Fn;(function(a){a[a.Display=1]="Display",a[a.Edit=2]="Edit",a[a.New=3]="New"})(Fn||(Fn={}));var gn=class extends d5{getById(l){return p2(this).concat(`(${l})`)}getItemByStringId(l){return p2([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=Y5(this).using(v2(async(o)=>{let r=await o.json(),e=Y1(r,"d")&&Y1(r.d,"__next")?r.d.__next:r["odata.nextLink"];return{hasNext:typeof e==="string"&&e.length>0,nextLink:e,value:nn(r)}})),c=["$top","$select","$expand","$filter","$orderby","$skiptoken"];for(let o=0;o<c.length;o++){let r=this.query.get(c[o]);if(L0(r))l.query.set(c[o],r)}return{_next:l,async next(){if(this._next===null)return{done:!0,value:void 0};let o=await this._next();if(o.hasNext)return this._next=Y5([this._next,o.nextLink]),{done:!1,value:o.value};else return this._next=null,{done:!1,value:o.value}}}}async add(l={}){return X(this,O1(l))}};gn=N1([l5("items")],gn);var Cn=a0(gn);class g8 extends a5{constructor(){super(...arguments);this.delete=h3()}get effectiveBasePermissions(){return T0(this,"EffectiveBasePermissions")}get effectiveBasePermissionsForUI(){return T0(this,"EffectiveBasePermissionsForUI")}get fieldValuesAsHTML(){return d2(this,"FieldValuesAsHTML")}get fieldValuesAsText(){return d2(this,"FieldValuesAsText")}get fieldValuesForEdit(){return d2(this,"FieldValuesForEdit")}get versions(){return WH(this)}get list(){return this.getParent(F0,"",this.parentUrl.substring(0,this.parentUrl.lastIndexOf("/")))}async update(a,l="*"){let c=O1(a,s8({"IF-Match":l,"X-HTTP-Method":"MERGE"}));return X(p2(this).using(AG()),c)}recycle(){return X(p2(this,"recycle"))}async deleteWithParams(a){return X(p2(this,"DeleteWithParameters"),O1({parameters:a}))}async getWopiFrameUrl(a=0){let l=p2(this,"getWOPIFrameUrl(@action)");return l.query.set("@action",a),X(l)}validateUpdateListItem(a,l=!1){return X(p2(this,"validateupdatelistitem"),O1({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 o=await this.getParentInfos(),r=v0(this.toUrl()),e=T0([this,r],"/_api/web/UploadImage");e.concat("(listTitle=@a1,imageName=@a2,listId=@a3,itemId=@a4)"),e.query.set("@a1",`'${o.ParentList.Title}'`),e.query.set("@a2",`'${l}'`),e.query.set("@a3",`'${o.ParentList.Id}'`),e.query.set("@a4",o.Item.Id);let h=await X(e,{body:c}),Z={type:"thumbnail",fileName:h.Name,nativeFile:{},fieldName:a,serverUrl:o.ParentWeb.Url.replace(o.ParentWeb.ServerRelativeUrl,""),serverRelativeUrl:h.ServerRelativeUrl,id:h.UniqueId};return this.validateUpdateListItem([{FieldName:a,FieldValue:JSON.stringify(Z)}])}}var p2=a0(g8),xn=class extends d5{getById(l){return QH(this).concat(`(${l})`)}};xn=N1([l5("versions")],xn);var WH=a0(xn);class zH extends a5{constructor(){super(...arguments);this.delete=h3()}}var QH=a0(zH);function AG(){return v2(async(a)=>({etag:a.headers.get("etag")}))}J3.prototype.getContextInfo=async function(a=this.parentUrl){let l=await X(T0([this,v0(a)],"_api/contextinfo"));if(Y1(l,"GetContextWebInformation")){let c=l.GetContextWebInformation;return c.SupportedSchemaVersions=c.SupportedSchemaVersions.results,c}else return l};var Ln=class extends d5{getByUrl(l){return I0(this).concat(`('${I1(l)}')`)}async addUsingPath(l,c=!1){return X(Qc(this,`addUsingPath(DecodedUrl='${I1(l)}',overwrite=${c})`))}};Ln=N1([l5("folders")],Ln);var Qc=a0(Ln);class x8 extends a5{constructor(){super(...arguments);this.delete=h3()}get folders(){return Qc(this)}get listItemAllFields(){return d2(this,"listItemAllFields")}get parentFolder(){return I0(this,"parentFolder")}get properties(){return d2(this,"properties")}get storageMetrics(){return d2(this,"storagemetrics")}async update(a){return H8(this,O1(a))}recycle(){return X(I0(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(p2([this,J2(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 X(I0(this,"DeleteWithParameters"),O1({parameters:a}))}async addSubFolderUsingPath(a){return await X(I0(this,"AddSubFolderUsingPath"),O1({leafPath:g7(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 o=I0(this);return o.on.pre(Y4(async(r,e,h)=>{let{ServerRelativeUrl:Z,["odata.id"]:t}=await I0(this).using(I3()).select("ServerRelativeUrl")(),i=new URL(v0(t));return r=q1(i.href,`/_api/SP.MoveCopyUtil.${c}()`),e=O1({destPath:g7(O0(a)?a:q1(i.origin,a)),options:l,srcPath:g7(q1(i.origin,Z))},e),[r,e,h]})),X(o).then(()=>IH(this,a))}}N1([F7],x8.prototype,"moveByPath",null);N1([F7],x8.prototype,"copyByPath",null);var I0=a0(x8);function Jc(a,l){return I0([a,v0(a.toUrl())],`_api/web/getFolderByServerRelativePath(decodedUrl='${OH(l)}')`)}async function JH(a,l){let{WebFullUrl:c}=await I0(a).using(I3()).getContextInfo(l),{pathname:o}=new URL(l);return Jc(I0([a,q1(c,"_api/web")]),decodeURIComponent(o))}async function IH(a,l){return(O0(l)?JH:Jc)(a,l)}J0(F8,"items",Cn);function mG(){return v2(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 We extends a5{getText(){return this.getParsed(A8())}getBlob(){return this.getParsed(MH())}getBuffer(){return this.getParsed(AH())}getJSON(){return this.getParsed(Be())}getStream(){return T0(this,"$value").using(mG(),vn())(s8({binaryStringResponseBody:"true"}))}getParsed(a){return T0(this,"$value").using(a,vn())()}}var C8=class extends d5{getByUrl(l){if(/%#/.test(l))throw Error("For file names containing % or # please use web.getFileByServerRelativePath");return b1(this).concat(`('${I1(l)}')`)}async addUsingPath(l,c,o={Overwrite:!1}){let r=[`AddUsingPath(decodedurl='${I1(l)}'`];if(o){if(o.Overwrite)r.push(",Overwrite=true");if(o.EnsureUniqueFileName)r.push(`,EnsureUniqueFileName=${o.EnsureUniqueFileName}`);if(o.AutoCheckoutOnInvalidData)r.push(",AutoCheckoutOnInvalidData=true");if(!B5(o.XorHash))r.push(`,XorHash=${I1(o.XorHash)}`)}return r.push(")"),X(Ic(this,r.join("")),{body:c})}async addChunked(l,c,o){let r=await this.addUsingPath(l,null,o),e=L8(this,r.ServerRelativeUrl);return e.using(dn(()=>{return b1(e).delete()})),e.setContentChunked(c,o)}async addTemplateFile(l,c){return X(Ic(this,`addTemplateFile(urloffile='${I1(l)}',templatefiletype=${c})`))}};N1([F7],C8.prototype,"addUsingPath",null);N1([F7],C8.prototype,"addChunked",null);N1([F7],C8.prototype,"addTemplateFile",null);C8=N1([l5("files")],C8);var Ic=a0(C8);class $c extends We{constructor(){super(...arguments);this.delete=h3()}get listItemAllFields(){return d2(this,"listItemAllFields")}get versions(){return $3(this)}async getLockedByUser(){let a=await xH(b1(this,"lockedByUser"));if(a["odata.null"]===!0)return null;else return a}approve(a=""){return X(b1(this,`approve(comment='${I1(a)}')`))}cancelUpload(a){return X(b1(this,`cancelUpload(uploadId=guid'${a}')`))}checkin(a="",l=ze.Major){if(a.length>1023)throw Error("The maximum comment length is 1023 characters.");return X(b1(this,`checkin(comment=@a2,checkintype=@a3)?@a2=${encodeURIComponent(`'${a.replace(/'/g,"''")}'`)}&@a3=${l}`))}checkout(){return X(b1(this,"checkout"))}copyTo(a,l=!0){return X(b1(this,`copyTo(strnewurl='${I1(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 X(b1(this,`deny(comment='${I1(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 X(b1(this,`publish(comment='${I1(a)}')`))}recycle(){return X(b1(this,"recycle"))}async deleteWithParams(a){return X(b1(this,"DeleteWithParameters"),O1({parameters:a}))}undoCheckout(){return X(b1(this,"undoCheckout"))}unpublish(a=""){if(a.length>1023)throw Error("The maximum comment length is 1023 characters.");return X(b1(this,`unpublish(comment='${I1(a)}')`))}async exists(){try{return(await b1(this).select("Exists")()).Exists}catch(a){return!1}}async setContent(a){return await X(b1(this,"$value"),{body:a,headers:{"X-HTTP-Method":"PUT"}}),b1(this)}async getItem(...a){let c=await this.listItemAllFields.select(...a)();return Object.assign(p2([this,J2(c)]),c)}async setContentChunked(a,l){let{progress:c,chunkSize:o=10485760}=sG(l),r=e3(),e=!0,h,Z=0,t=b1(this).using(dn(()=>{return b1(t).cancelUpload(r)})),v=uG(a).getReader(),n=new Uint8Array;while(h=await v.read()){if(h.value){let d=new Uint8Array(n.length+h.value.length);d.set(n),d.set(h.value,n.length),n=d}while(n.length>=o){let d=n.slice(0,o);if(n=n.slice(o),e)c({offset:Z,stage:"starting",uploadId:r}),Z=await X(b1(t,`startUpload(uploadId=guid'${r}')`),{body:d}),e=!1;else c({offset:Z,stage:"continue",uploadId:r}),Z=await X(b1(t,`continueUpload(uploadId=guid'${r}',fileOffset=${Z})`),{body:d})}if(h.done){if(e)c({offset:Z,stage:"starting",uploadId:r}),Z=await X(b1(t,`startUpload(uploadId=guid'${r}')`),{body:n}),e=!1,n=new Uint8Array;return c({offset:Z,stage:"finishing",uploadId:r}),X(b1(t,`finishUpload(uploadId=guid'${r}',fileOffset=${Z})`),{body:n.length?n:""})}}}moveCopyImpl(a,l,c,o){let r=b1(this);return r.on.pre(Y4(async(e,h,Z)=>{let{ServerRelativeUrl:t,["odata.id"]:i}=await b1(this).using(I3()).select("ServerRelativeUrl")(),v=new URL(v0(i));return e=q1(v.toString(),`/_api/SP.MoveCopyUtil.${o}(overwrite=@a1)?@a1=${c}`),h=O1({destPath:g7(O0(a)?a:`${v.protocol}//${v.host}${a}`),options:l,srcPath:g7(O0(t)?t:`${v.protocol}//${v.host}${t}`)},h),[e,h,Z]})),X(r).then(()=>YH(this,a))}}N1([F7],$c.prototype,"copyByPath",null);N1([F7],$c.prototype,"moveByPath",null);N1([F7],$c.prototype,"setContentChunked",null);var b1=a0($c);function L8(a,l){return b1([a,v0(a.toUrl())],`_api/web/getFileByServerRelativePath(decodedUrl='${I1(l)}')`)}async function $H(a,l){let{WebFullUrl:c}=await b1(a).using(I3()).getContextInfo(l),{pathname:o}=new URL(l);return L8(b1([a,q1(c,"_api/web")]),decodeURIComponent(o))}async function YH(a,l){return(O0(l)?$H:L8)(a,l)}var Rn=class extends d5{getById(l){return KH(this).concat(`(${l})`)}deleteAll(){return X($3(this,"deleteAll"))}deleteById(l){return X($3(this,`deleteById(vid=${l})`))}recycleByID(l){return X($3(this,`recycleByID(vid=${l})`))}deleteByLabel(l){return X($3(this,`deleteByLabel(versionlabel='${I1(l)}')`))}recycleByLabel(l){return X($3(this,`recycleByLabel(versionlabel='${I1(l)}')`))}restoreByLabel(l){return X($3(this,`restoreByLabel(versionlabel='${I1(l)}')`))}};Rn=N1([l5("versions")],Rn);var $3=a0(Rn);class XH extends We{constructor(){super(...arguments);this.delete=Pe()}}var KH=a0(XH),ze;(function(a){a[a.Minor=0]="Minor",a[a.Major=1]="Major",a[a.Overwrite=2]="Overwrite"})(ze||(ze={}));var wn;(function(a){a[a.None=0]="None",a[a.Overwrite=1]="Overwrite",a[a.AllowBrokenThickets=8]="AllowBrokenThickets",a[a.RetainEditorAndModifiedOnMove=2048]="RetainEditorAndModifiedOnMove"})(wn||(wn={}));var Sn;(function(a){a[a.StandardPage=0]="StandardPage",a[a.WikiPage=1]="WikiPage",a[a.FormPage=2]="FormPage",a[a.ClientSidePage=3]="ClientSidePage"})(Sn||(Sn={}));function sG(a){return{progress:()=>null,...a}}function uG(a){if(VG(a))return a.stream();else if(fG(a))return new ReadableStream({start(l){a.on("data",(c)=>{l.enqueue(c)}),a.on("end",()=>{l.close()})}});else if(FG(a))return new ReadableStream({start(l){l.enqueue(a),l.close()}});else if(gG(a))return a.readable;else return a}var HG=Symbol.toStringTag;function fG(a){return typeof a.on==="function"}function VG(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[HG])||/^(Blob|File)$/.test(a.constructor.name))}function FG(a){return typeof a==="object"&&typeof a.length==="number"}function gG(a){return typeof a==="object"&&typeof a.readable==="object"}J0(x8,"files",Ic);J0(g8,"file",b1,"file");t0.prototype.getFileByServerRelativePath=function(a){return L8(this,a)};t0.prototype.getFileById=function(a){return b1(this,`getFileById('${a}')`)};t0.prototype.getFileByUrl=function(a){return b1(this,`getFileByUrl('${I1("!@p1::"+a)}')`)};J0(g8,"folder",I0);J0(F8,"rootFolder",I0);J0(t0,"folders",Qc);J0(t0,"rootFolder",I0);t0.prototype.getFolderByServerRelativePath=function(a){return Jc(this,a)};t0.prototype.getFolderById=function(a){return I0(this,`getFolderById('${a}')`)};J0(t0,"lists",zc);J0(t0,"siteUserInfoList",F0);J0(t0,"defaultDocumentLibrary",F0);J0(t0,"customListTemplates",Y5,"getcustomlisttemplates");t0.prototype.getList=function(a){return F0(this,`getList('${I1(a)}')`)};t0.prototype.getCatalog=async function(a){let l=await d0(this,`getcatalog(${a})`).select("Id")();return F0([this,J2(l)])};function Gn(a,l){let c="_api/site",o=/(_api[/|\\](site|web))/i.exec(a);if((o===null||o===void 0?void 0:o.length)>0)a=v0(a),c=o[1];if((l===null||l===void 0?void 0:l.indexOf("_api"))<0)a=q1(a,c);return a}var j4=class extends a5{constructor(l,c){if(typeof l==="string")l=Gn(l,c);else if(Q0(l))l=[l[0],Gn(l[1],c)];else l=[l,Gn(l.toUrl(),c)];super(l,c)}get rootWeb(){return d0(this,"rootweb")}getChanges(l){let c=O1({query:l});return X(d0(this,"getchanges"),c)}async openWebById(l){let c=await X(c5(this,`openWebById('${l}')`));return{data:c,web:d0([this,v0(J2(c))])}}async getRootWeb(){let l=await this.rootWeb.select("Url")();return d0([this,l.Url])}async delete(){let l=await c5(this,"").select("Id")(),c=c5([this,this.parentUrl],"_api/SPSiteManager/Delete");await X(c,O1({siteId:l.Id}))}async getDocumentLibraries(l){let c=c5([this,this.parentUrl],"_api/sp.web.getdocumentlibraries(@v)");c.query.set("@v",`'${l}'`);let o=await c();return Y1(o,"GetDocumentLibraries")?o.GetDocumentLibraries:o}async getWebUrlFromPageUrl(l){let c=c5([this,this.parentUrl],"_api/sp.web.getweburlfrompageurl(@v)");c.query.set("@v",`'${l}'`);let o=await c();return Y1(o,"GetWebUrlFromPageUrl")?o.GetWebUrlFromPageUrl:o}async createCommunicationSite(l,c=1033,o=!1,r,e,h,Z,t,i){return this.createCommunicationSiteFromProps({Classification:h,Description:e,HubSiteId:t,Lcid:c,Owner:i,ShareByEmailEnabled:o,SiteDesignId:Z,Title:l,Url:r})}async createCommunicationSiteFromProps(l){let c={Classification:"",Description:"",HubSiteId:Wc,Lcid:1033,ShareByEmailEnabled:!1,SiteDesignId:Wc,WebTemplate:"SITEPAGEPUBLISHING#0",WebTemplateExtensionId:Wc,...l};return X(c5([this,v0(this.toUrl())],"/_api/SPSiteManager/Create"),O1({request:c}))}async exists(l){return X(c5([this,v0(this.toUrl())],"/_api/SP.Site.Exists"),O1({url:l}))}async createModernTeamSite(l,c,o,r,e,h,Z,t,i){return this.createModernTeamSiteFromProps({alias:c,classification:h,description:e,displayName:l,hubSiteId:t,isPublic:o,lcid:r,owners:Z,siteDesignId:i})}async createModernTeamSiteFromProps(l){let c=Object.assign({},{classification:"",description:"",hubSiteId:Wc,isPublic:!0,lcid:1033,owners:[]},l),o={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)o.optionalParams.CreationOptions.push(`implicit_formula_292aa8a00786498a87a5ca52d9f4214a_${c.siteDesignId}`);return X(c5([this,v0(this.toUrl())],"/_api/GroupSiteManager/CreateGroupEx").using(A8()),O1(o))}update(l){return LH(this,O1(l))}setSiteLogo(l){return X(T0([this,v0(this.toUrl())],"_api/siteiconmanager/setsitelogo"),O1(l))}};j4=N1([l5("_api/site")],j4);var c5=a0(j4),Un;(function(a){a[a.WebLogo=0]="WebLogo",a[a.HubLogo=1]="HubLogo",a[a.HeaderBackground=2]="HeaderBackground",a[a.GlobalNavLogo=3]="GlobalNavLogo"})(Un||(Un={}));var Bn;(function(a){a[a.Square=0]="Square",a[a.Rectangular=1]="Rectangular"})(Bn||(Bn={}));Reflect.defineProperty(Q2.prototype,"site",{configurable:!0,enumerable:!0,get:function(){return this.create(c5)}});Reflect.defineProperty(Q2.prototype,"web",{configurable:!0,enumerable:!0,get:function(){return this.create(d0)}});function R8(){return new URL(window.location.href).searchParams.get("web")??""}function Yc(a=""){let l=a?a:I4();if(!window.__SPFxExtensions.__CurrentContext)return f8(l).using(qe());let c;if(window.__SPFxExtensions.__CurrentContext.contextType==="SPOModernContext")c={pageContext:{web:{absoluteUrl:window.__SPFxExtensions.__CurrentContext.context.web.absoluteUrl},legacyPageContext:{formDigestTimeoutSeconds:window.__SPFxExtensions.__CurrentContext.context.legacyPageContext.formDigestTimeoutSeconds,formDigestValue:window.__SPFxExtensions.__CurrentContext.context.legacyPageContext.formDigestValue}}};else c={pageContext:{web:{absoluteUrl:window.__SPFxExtensions.__CurrentContext.context.webAbsoluteUrl},legacyPageContext:{formDigestTimeoutSeconds:window.__SPFxExtensions.__CurrentContext.context.formDigestTimeoutSeconds,formDigestValue:window.__SPFxExtensions.__CurrentContext.context.formDigestValue}}};return f8(l).using(qH(c))}function x7(a){return a.web.toUrl().replace("/_api/web","")}function jH(){let l=R8()??I4();return Yc(l)}function Qe(a){if(!a.appDefinitionMap)a.appDefinitionMap=[];if(!a.appRelativeEntryPointUrls)a.appRelativeEntryPointUrls=[];if(!a.manualEntries)a.manualEntries=[];return a}async function Je(a,l,c){let o=[],[r,e]=a.web.batched();for(let h of l)r.getFileByUrl(`${B1}/${h}/${z0}`).getText().then((Z)=>{let t=Dn(h);try{let i=JSON.parse(Z);Qe(i),t.manifest=i,t.activated=c.includes(h),o.push(t)}catch{o.push(t)}}).catch(()=>{o.push(Dn(h))});return await e(),o}var xG=["Forms"];async function w8(a,l){try{await ke(a);let c=a.web.lists.getByTitle(B1).rootFolder,o=await yn(a),r=await S8(a);if(!o.some((e)=>e===l))await c.folders.addUsingPath(l),o.push(l);return C7.value=await Je(a,o,r.data.enabledAppCollections),C7.value.find((e)=>e.name===l)}catch(c){return c?.message}}async function NH(a,l){let o=a.web.lists.getByTitle(B1).rootFolder;try{let r=await o.folders.getByUrl(l)();await FH(a,N4.data.ServerRelativeUrl,l)}catch(r){s1(`Error while removing ${l} from ${B1} folder in ${x7(a)}`,r)}return!1}async function yn(a){return await ke(a),(await a.web.lists.getByTitle(B1).rootFolder.folders()).filter((o)=>!xG.includes(o.Name)).map((o)=>o.Name)}async function Ie(a,l){kn.value=!0,await S8(a);let c=x7(a),o=a.web.getFileByUrl(`${B1}/${i2}`);try{return await o.setContent(JSON.stringify(l)),!0}catch(r){return s1(`Error while updating ${i2} in ${B1} folder in ${c}`,r),!1}finally{kn.value=!1}}async function S8(a){let l=a.web.getFileByUrl(`${B1}/${i2}`),c=x7(a),o=await l.exists(),r={data:Dc,error:"",isError:!1,warnings:[]};if(!o)return await ke(a),await a.web.lists.getByTitle(B1).rootFolder.files.addUsingPath(i2,JSON.stringify(Dc)),D0(`Created ${i2} in ${B1} folder in ${c}`),r;try{let h=await(await l.getBlob()).text(),Z=JSON.parse(h);if(!Array.isArray(Z.enabledAppCollections)||!Array.isArray(Z.urlMap)){let t=`Invalid data inside ${i2} in ${B1} folder in ${c}, it should be an array`;return s1(t),r.error=t,r.isError=!0,r.data=Dc,r}return r.data=Z,r}catch(e){let h=`Error while parsing ${i2} in ${B1} folder in ${c}`;return s1(h,e),r.error=h,r.isError=!0,r.data=Dc,r}}async function af(a,l,c){if(c.some((h)=>h.indexOf("/")>-1))throw Error("Nested path cannot contain /");let o=x7(a),r=a.web.getFolderByServerRelativePath(`${B1}/${l}`),e="";for(let h of c){if(e=`${e?`${e}/`:""}${h}`,!(await r.folders()).some((t)=>t.Name.toLowerCase()===h.toLowerCase()))D0(`Creating subfolder ${e} in ${B1}/${l} folder in ${o}`),await r.addSubFolderUsingPath(h);r=r.folders.getByUrl(h)}}var On=class extends d5{getById(l){return cf(this,`GetById?hubSiteId='${l}'`)}};On=N1([l5("_api/hubsites")],On);var Pn=a0(On);class lf extends a5{async getSite(){let a=await this.select("SiteUrl")();return c5([this,a.SiteUrl])}}var cf=a0(lf);j4.prototype.joinHubSite=async function(a){await X(c5(this,`joinHubSite('${a}')`))};j4.prototype.registerHubSite=async function(){await X(c5(this,"registerHubSite"))};j4.prototype.unRegisterHubSite=async function(){await X(c5(this,"unRegisterHubSite"))};t0.prototype.hubSiteData=async function(a=!1){let l=await d0(this,`hubSiteData(${a})`)();if(typeof l==="string")return JSON.parse(l);return l};t0.prototype.syncHubSiteTheme=function(){return X(d0(this,"syncHubSiteTheme"))};Reflect.defineProperty(Q2.prototype,"hubSites",{configurable:!0,enumerable:!0,get:function(){return this.create(Pn)}});function Tn(a,l){let c=a.findIndex((t)=>t.isHubRoot&&t.hubid===l);if(c<0)return;let o=a.splice(c,1)[0],r={...o,webs:[o]},e={...o,sites:[r],webs:[]},h=G8(a,e.siteId,l);r.webs.push(...h);let Z=Ye(a,l);return e.sites.push(...Z),e.webs.push(...G8(a,e.siteId,l)),e}function $e(a){let l=Object.groupBy(a,(i)=>i.hubid),c=Object.keys(l).filter((i)=>i&&i!==N0),o=Object.keys(l).filter((i)=>!i||i===N0),r=c.map((i)=>l[i]??[]).flat(),e=o.map((i)=>l[i]??[]).flat(),h=[],Z=[],t=[];for(let i of c){let v=Tn(r,i);if(!v)continue;h.push(v)}if(r.length>0)e.push(...r);return Z.push(...Ye(e)),t.push(...e),{hubs:h,sites:Z,webs:t}}function Ye(a,l){let c=[];function o(e){return l?e.isRootWeb&&e.hubid===l:e.isRootWeb}let r=a.findIndex(o);while(r>-1){let e=a.splice(r,1)[0],h=c.find((t)=>t.id===e.id);if(!h)h={...e,webs:[e]},c.push(h);let Z=G8(a,e.siteId);h.webs.push(...Z.sort((t,i)=>t.url.localeCompare(i.url))),r=a.findIndex(o)}return c}function G8(a,l,c){let o=[];function r(h){return c?h.siteId===l&&h.hubid===c:h.siteId===l}let e=a.findIndex(r);while(e>-1){let h=a.splice(e,1)[0];o.push(h),e=a.findIndex(r)}return o.sort((h,Z)=>h.url.localeCompare(Z.url))}function of(a){let l=Object.groupBy(a,(e)=>e.sharepointIds.siteId),c=Object.keys(l),o=[];for(let e of c){let h=l[e];if(!h)continue;let Z=h.sort((t,i)=>t.webUrl.localeCompare(i.webUrl));o.push({id:Z[0].sharepointIds.webId,url:Z[0].webUrl,siteId:Z[0].sharepointIds.siteId,hubid:Z[0].sharepointIds.hubSiteId,isHubRoot:Z[0].sharepointIds.hubSiteId===Z[0].sharepointIds.siteId,isRootWeb:!0})}return a.map((e)=>{return{id:e.sharepointIds.webId,url:e.webUrl,siteId:e.sharepointIds.siteId,hubid:e.sharepointIds.hubSiteId,isHubRoot:e.sharepointIds.hubSiteId===e.sharepointIds.siteId,isRootWeb:o.some((h)=>h.id===e.sharepointIds.webId),title:e.title,template:e.template.name}})}function Xe(a,l,c){return{id:a.Id,url:a.Url,siteId:l,hubid:c,isHubRoot:!1,isRootWeb:!1}}function Ke(a,l,c){return a.map((o)=>{return Xe(o,l,c)})}async function CG(a){let l=await hf(a);if(l.isError)return s1("Unable to get web info",l.error),[];let c=await En(l.data);return[...l.data,...c.filter((o)=>!o.isError).flatMap((o)=>o.data)]}async function En(a){let l=[];for(let r of a){let e=Yc(r.Url);l.push(hf(e))}let c=await Promise.all(l),o=c.filter((r)=>!r.isError&&r.data.length>0).flatMap((r)=>r.data);if(o.length>0)c.push(...await En(o));return c.some((r)=>r.data.length>0||r.isError)?c:[]}async function rf(a,l=!1){let c=Yc(a.origin+a.pathname),o={data:[],error:"",warnings:[],isError:!1};try{let r=await Wn(c);if(r.isError){let n=`Unable to get site info ${r.error}`;o.warnings.push(n),s1(n,a.href)}let e=await qn(c);if(e.isError){let n=`Unable to get root web info ${e.error}`;o.warnings.push(n),s1(n,a.href)}let h=await zn(c);if(h.isError){let n=`Unable to get web info ${h.error}`;return o.isError=!0,o.error=n,s1(n,a.href),o}if(!l||e.isError){let n=Xe(h.data,r.data?.Id??N0,r.data?.HubSiteId??N0);return n.isRootWeb=e.data?.Id===h.data.Id,n.isHubRoot=r.data?.IsHubSite&&e.data?.Id===h.data.Id,o.data.push(n),o}let Z=Yc(e.data.Url),t=await CG(Z),i=Xe(e.data,r.data?.Id??N0,r.data?.HubSiteId??N0),v=Ke(t,r.data?.Id??N0,r.data?.HubSiteId??N0);i.isRootWeb=!0,i.isHubRoot=r.data?.IsHubSite??!1,o.data.push(i),o.data.push(...v)}catch(r){o.isError=!0,o.error=`${r}`,s1("Unable to get web structure",a.href,r)}return o}async function je(a){if(!ah())return;let l=I2,c={hubid:N0,id:N0,url:"",siteId:N0,isHubRoot:!1,isRootWeb:!1,webs:[]};if(l.isError)return s1(`Unable to get site info ${l.error}`),c;let o=L7;if(o.isError)return s1(`Unable to get root web info ${o.error}`),c;let r=await LG(a);if(r.isError)return s1(`Unable to get root subweb info ${o.error}`),c;let e=await En(r.data),h=Ke(r.data,l.data.Id,l.data.HubSiteId),Z=Ke(e.filter((v)=>!v.isError).flatMap((v)=>v.data),l.data.Id,l.data.HubSiteId),t=[...h,...Z],i={hubid:l.data.HubSiteId,id:o.data.Id,url:o.data.Url,siteId:l.data.Id,isHubRoot:l.data.IsHubSite,isRootWeb:!0};return c={...i,webs:[i,...G8(t,l.data.Id)]},c}async function Ne(a,l,c){if(!D5())return;if(!bn)return;let o=c??I2.data.HubSiteId,r=[];for await(let M of ef(a.web.toUrl().replace("_api/web",""),o))r.push(...M);let e={id:"",url:"",siteId:o,hubid:o,isHubRoot:!0,isRootWeb:!0,sites:[],webs:[]},h=of(r),Z=h.findIndex((M)=>M.hubid===o&&M.siteId===o),t=Z>-1?h.splice(Z,1)[0]:void 0;if(!t)z2("API Call did not return Hub ROOT",o),t={id:L7.data.Id,url:L7.data.Url,hubid:o,siteId:o,isHubRoot:!0,isRootWeb:!0};e.id=t.id,e.url=t.url,e.hubid=t.hubid,e.siteId=t.siteId,e.sites.push({...t,webs:[t]});let i=G8(h,t.siteId),v=e.sites.find((M)=>M.id===t.id);if(v)v.webs.push(...i);else e.webs.push(...i);let n=Ye(h);e.sites.push(...n),e.webs.push(...h);for(let M of bn.webs.sort((_,A)=>_.url.localeCompare(A.url)))if(e.sites.flatMap((_)=>_.webs).findIndex((_)=>_.id===M.id)===-1){let _=e.sites.findIndex((A)=>A.siteId===M.siteId);if(_<0){e.sites.push({id:M.id,url:M.url,hubid:M.hubid,siteId:M.siteId,isHubRoot:!1,isRootWeb:!0,webs:[M]});continue}e.sites[_].webs.push(M),e.sites[_].webs=e.sites[_].webs.sort((A,m)=>A.url.localeCompare(m.url))}let d=Tn([...l],o);if(d){for(let M of d.sites){let _=e.sites.find((A)=>A.id===M.id);if(_){for(let A of M.webs)if(_.webs.find((u)=>u.id===A.id))continue;else _.webs.push(A);_.webs=_.webs.sort((A,m)=>A.url.localeCompare(m.url));continue}e.sites.push(M)}for(let M of d.webs)if(e.webs.find((A)=>A.id===M.id))continue;else e.webs.push(M)}let p=[];for(let M of e.webs){let _=e.sites.find((m)=>m.id===M.siteId);if(!_)continue;if(p.push({...M}),!_.webs.find((m)=>m.id===M.id))_.webs.push({...M}),_.webs=_.webs.sort((m,u)=>m.url.localeCompare(u.url))}return e.webs=e.webs.filter((M)=>p.findIndex((_)=>_.id===M.id)>-1),e.webs=e.webs.sort((M,_)=>M.url.localeCompare(_.url)),e}async function*ef(a,l,c=!0){let o=Y5(a,c?"_api/v2.1/sites":"").using(qe());if(c)o.filter(`sharepointIds/hubSiteId eq '${l}'`).top(99);o.on.parse.replace(async(e,h,Z)=>{let t={"@odata.context":"",value:[],"@odata.nextLink":""};if(h.ok)try{return Z=await h.json(),[e,h,Z]}catch(i){return s1("Unable to parse hubdata response",e,i),[e,h,t]}return s1("Error getting hubdata",e,h.statusText),[e,h,t]});let r=await o();if(yield r.value,r["@odata.nextLink"])yield*ef(r["@odata.nextLink"],l,!1)}async function qn(a){return Xc(()=>a.site.rootWeb(),{})}async function LG(a){return Xc(()=>a.site.rootWeb.webs(),[])}async function Wn(a){return Xc(()=>a.site(),{})}async function zn(a){return Xc(()=>a.web(),{})}async function hf(a){return Xc(()=>a.web.webs(),[])}async function Xc(a,l){let c={data:l,error:"",warnings:[],isError:!1};try{let o=await a();c.data=o}catch(o){c.isError=!0,c.error=`${o}`}return c}var Qn=R8(),lh=new URL(Qn?Qn:I4()),r0=jH(),[I2,N4,RG,Zf]=await Promise.all([Wn(r0),zn(r0),yn(r0),S8(r0)]);var $2=!Qn,L7=!I2.isError?await qn(r0):{data:{},warnings:[],error:"Unable to get root web since site is not available",isError:!0};function D5(){if(I2.isError||L7.isError||N4.isError)return!1;return I2.data.IsHubSite&&L7.data.Id===N4.data.Id}function Jn(){if(I2.isError)return!1;return I2.data.HubSiteId!==N0}function ah(){if(L7.isError||N4.isError)return!1;return N4.data.Id===L7.data.Id}function tf(){if(I2.isError||L7.isError)return!0;return L7.data.Id!==N4.data.Id}var[bn,wG]=await Promise.all([je(r0),Je(r0,RG,Zf.data.enabledAppCollections)]);var R0=y0(Zf.data),kn=y0(!1),C7=y0(wG),G1=y0(),L1=y0(),U8=y0(),Kc=y0(),a6=y0([]),B8=y0(!1);function Dn(a){return{name:a,manifest:Uc,activated:!1}}function In(a){let l=y1(C7.value),c=l.findIndex((o)=>o.name===a.name);if(c>-1)l.splice(c,1,a);else l.push(a);C7.value=l}function R7(a,l=!1){let c=y1(a);if(G1.value=c,l)In(c)}function ch(){if($2)return"global";if(D5())return"hubRoot";if(Jn()&&!D5())return"hubChild";if(!Jn())return"nonHub";if(tf())return"subsite";return"other"}var SG=V6({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 i1(a){let l=SG(),c=[l.root],o={};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)o.flexGrow=a.grow;if(a.gap)o.gap=a.gap;return c.push(a.wrap?l.wrap:l.noWrap),GG(a,c,l),UG(a,c,l),/*@__PURE__*/s("div",{className:c.join(" "),style:{...o,...a.style},children:a.children},void 0,!1,void 0,this)}function GG(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 UG(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}}V5();var Y3="global-toast-notification";function nf(){return/*@__PURE__*/s(q4,{toasterId:Y3},void 0,!1,void 0,this)}function vf(){let[a,l]=t1(""),c=V7(!1);async function o(t,i){c.value=i.open}let{dispatchToast:r,updateToast:e}=E4(Y3),h=(t)=>{switch(t){case"progress":r(/*@__PURE__*/s(O2,{children:/*@__PURE__*/s(P2,{media:/*@__PURE__*/s(I5,{size:"tiny"},void 0,!1,void 0,this),children:"Creating..."},void 0,!1,void 0,this)},void 0,!1,void 0,this),{toastId:Y3,timeout:-1});break}};async function Z(){if(!a)return;h("progress");let t=await w8(r0,a);if(t&&t.name){e({content:/*@__PURE__*/s(O2,{children:/*@__PURE__*/s(P2,{children:"Application created."},void 0,!1,void 0,this)},void 0,!1,void 0,this),intent:"success",toastId:Y3,timeout:2000}),c.value=!1;return}e({content:/*@__PURE__*/s(O2,{children:/*@__PURE__*/s(P2,{children:"Error occured. Please check console."},void 0,!1,void 0,this)},void 0,!1,void 0,this),intent:"error",toastId:Y3,timeout:2000})}return/*@__PURE__*/s(S5,{open:c.value,surfaceMotion:null,modalType:"alert",onOpenChange:o,children:[/*@__PURE__*/s(W0,{disableButtonEnhancement:!0,children:/*@__PURE__*/s(y2,{appearance:"primary",icon:/*@__PURE__*/s(I6,{},void 0,!1,void 0,this),children:"Create collection"},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/s(D2,{children:/*@__PURE__*/s(U2,{children:[/*@__PURE__*/s(B2,{action:/*@__PURE__*/s(W0,{disableButtonEnhancement:!0,action:"close",children:/*@__PURE__*/s(g1,{appearance:"subtle","aria-label":"close",icon:/*@__PURE__*/s(p7,{},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__*/s(k2,{style:{padding:"16px 0"},children:/*@__PURE__*/s(i5,{value:a,style:{width:"100%"},placeholder:"Enter application name",onChange:(t,i)=>{l(i.value)}},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/s(G2,{children:[/*@__PURE__*/s(W0,{disableButtonEnhancement:!0,action:"close",children:/*@__PURE__*/s(g1,{appearance:"secondary",children:"Close"},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/s(g1,{appearance:"primary",onClick:()=>{Z()},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 df({app:a,onChange:l}){return/*@__PURE__*/s(S0,{defaultChecked:a.activated,onChange:(c,o)=>{l?.(a,o.checked)}},void 0,!1,void 0,this)}V5();var Z3={SPFXEXT:"SPFXEXT_",SPFXEXT_CORE:"SPFXEXT"};function $n(){try{let a=typeof globalThis<"u"?globalThis:void 0;if(a&&a.localStorage)return a.localStorage}catch{}try{if(typeof window<"u"&&window.localStorage)return window.localStorage}catch{}return}function BG(){let a=$n();if(!a)return[];try{let l=[];for(let c=0;c<a.length;c++){let o=a.key(c);if(o)l.push(o)}return l}catch{return[]}}function DG(a){let l=$n();if(!l)return null;try{return l.getItem(a)}catch{return null}}function kG(){return BG().some((a)=>a.indexOf(Z3.SPFXEXT)>-1&&Number(DG(a))>0)}function pf(a){return a.hostname.toLowerCase()==="localhost"}function _f(a){try{let l=`${Z3.SPFXEXT}${a}`,c=$n(),o=c?c.getItem?c.getItem(l):c[l]:null;return Number(o)>0}catch{return!1}}var jc=kG();function Mf({app:a}){let[l,c]=t1(window.localStorage.getItem(`${Z3.SPFXEXT}${a.name}`)??""),[o,r]=t1(!1);return/*@__PURE__*/s(S2,{positioning:"after",open:o,children:[/*@__PURE__*/s(h2,{disableButtonEnhancement:!0,children:/*@__PURE__*/s(S4,{checked:_f(a.name),onChange:()=>{r(!o)}},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/s(w2,{tabIndex:-1,children:[/*@__PURE__*/s(i5,{defaultValue:l,onChange:(e,h)=>{c(h.value)}},void 0,!1,void 0,this),/*@__PURE__*/s(g1,{appearance:"primary",onClick:()=>{window.localStorage.setItem(`${Z3.SPFXEXT}${a.name}`,l),r(!1)},children:"Save"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}V5();async function yG(a){try{Kc.value=y1(a),await NH(r0,a.name),C7.value=C7.value.filter((l)=>l.name!==a.name)}finally{Kc.value=void 0}}function Af({item:a}){let[l,c]=t1(!1);function o(r,e){c(e.open)}return/*@__PURE__*/s(p1,{children:[/*@__PURE__*/s(q0,{disabled:Kc?.value?.name!==void 0,onClick:()=>{c(!0)},children:/*@__PURE__*/s("div",{style:{display:"flex"},children:[/*@__PURE__*/s(pm,{},void 0,!1,void 0,this),Kc.value?.name===a.name&&/*@__PURE__*/s(I5,{size:"extra-small"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/s(S5,{open:l,surfaceMotion:null,modalType:"modal",onOpenChange:o,children:/*@__PURE__*/s(D2,{children:/*@__PURE__*/s(U2,{children:[/*@__PURE__*/s(B2,{children:["Delete ",a.name,"?"]},void 0,!0,void 0,this),/*@__PURE__*/s(k2,{children:[/*@__PURE__*/s(Z2,{children:["Are you sure you want to delete app collection ",/*@__PURE__*/s("b",{children:a.name},void 0,!1,void 0,this),"?"]},void 0,!0,void 0,this),/*@__PURE__*/s("br",{},void 0,!1,void 0,this),/*@__PURE__*/s(Z2,{children:["Deleting appcollection will result in deletion of all files in"," ",/*@__PURE__*/s(q0,{target:"_blank",onClick:()=>{window.open(`${lh}/${B1}/${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__*/s(G2,{children:[/*@__PURE__*/s(g1,{appearance:"primary",onClick:()=>{yG(a),c(!1)},children:"Yes"},void 0,!1,void 0,this),/*@__PURE__*/s(W0,{disableButtonEnhancement:!0,children:/*@__PURE__*/s(g1,{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)}V5();function D8(a,l,c="86px"){return/*@__PURE__*/s(K0,{size:"medium",color:a,style:{width:c},children:l},void 0,!1,void 0,this)}function X3({webs:a,control:l,onDeleteClick:c,additionalIcon:o,disableControl:r}){if(a.length===0)return null;function e(Z,t){if(!L1.value)return;let i=y1(L1.value),v=i.config.excludedIds.filter((M)=>Z.id!==M),n=i.config.excludedHubIds.filter((M)=>Z.id!==M),d=i.config.includedIds.filter((M)=>Z.id!==M),p=i.config.includedHubIds.filter((M)=>Z.id!==M);if(!i.config.enabledEverywhere&&t)d.push(Z.id);if(i.config.enabledEverywhere&&!t)v.push(Z.id);i.config.excludedIds=v,i.config.excludedHubIds=n,i.config.includedIds=d,i.config.includedHubIds=p,L1.value=i}function h(Z){if(!L1.value)return!1;if(L1.value.config.enabledEverywhere)return!L1.value.config.excludedIds.includes(Z.id);return L1.value.config.includedIds.includes(Z.id)}return/*@__PURE__*/s(p1,{children:a.map((Z)=>/*@__PURE__*/s(i1,{horizontal:!0,horizontalAlign:"space-between",verticalAlign:"center",style:{minHeight:"36px"},children:[/*@__PURE__*/s(i1,{horizontal:!0,gap:8,verticalAlign:"center",children:[o,D8(void 0,"Web","64px"),/*@__PURE__*/s(t2,{children:`${Z.url}`},void 0,!1,void 0,this)]},void 0,!0,void 0,this),l==="switch"?/*@__PURE__*/s(S0,{disabled:r,onChange:(t,i)=>{e(Z,i.checked)},checked:h(Z)},void 0,!1,void 0,this):/*@__PURE__*/s(g1,{onClick:()=>c?.({item:Z,itemType:"web"}),icon:/*@__PURE__*/s(g3,{},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 k8({siteCollections:a,control:l,onDeleteClick:c,additionalIcon:o,disableControl:r}){function e(h,Z){if(!L1.value)return;let t=y1(L1.value),i=t.config.excludedIds.filter((n)=>!h.webs.some((d)=>d.id===n)&&h.siteId!==n),v=t.config.includedIds.filter((n)=>!h.webs.some((d)=>d.id===n)&&h.siteId!==n);if(!t.config.enabledEverywhere&&Z)v.push(h.siteId);if(t.config.enabledEverywhere&&!Z)i.push(h.siteId);t.config.excludedIds=i,t.config.includedIds=v,L1.value=t}return/*@__PURE__*/s(p1,{children:a.map((h)=>/*@__PURE__*/s(i1,{children:[/*@__PURE__*/s(i1,{horizontal:!0,style:{minHeight:"36px"},verticalAlign:"center",horizontalAlign:"space-between",children:[/*@__PURE__*/s(i1,{horizontal:!0,verticalAlign:"center",gap:8,children:[D8("warning","Site"),h.url]},void 0,!0,void 0,this),l==="switch"?/*@__PURE__*/s(S0,{checked:(L1.value?.config?.enabledEverywhere||L1.value?.config?.includedIds?.includes(h.siteId))&&!L1.value?.config?.excludedIds?.includes(h.siteId),disabled:r,onChange:(Z,t)=>{e(h,t.checked)}},void 0,!1,void 0,this):/*@__PURE__*/s(g1,{onClick:()=>c?.({item:h,itemType:"site"}),icon:/*@__PURE__*/s(g3,{},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),/*@__PURE__*/s(X3,{webs:h.webs,control:l,onDeleteClick:c,additionalIcon:o,disableControl:r||L1.value?.config.excludedIds.includes(h.siteId)||L1.value?.config.includedIds.includes(h.siteId)},void 0,!1,void 0,this)]},void 0,!0,void 0,this))},void 0,!1,void 0,this)}function oh({hubSites:a,onDeleteClick:l,control:c}){function o(r,e){if(!L1.value)return;let h=y1(L1.value);function Z(d){let p=!r.webs.some((m)=>m.id===d||m.hubid===d),M=!r.sites.some((m)=>m.id===d||m.hubid===d),_=!r.sites.some((m)=>m.webs.some((u)=>u.id===d||u.hubid===d)),A=r.hubid!==d&&r.siteId!==d;return p&&M&&_&&A}let t=h.config.excludedIds.filter(Z),i=h.config.excludedHubIds.filter(Z),v=h.config.includedIds.filter(Z),n=h.config.includedHubIds.filter(Z);if(!h.config.enabledEverywhere&&e)n.push(r.hubid);if(h.config.enabledEverywhere&&!e)i.push(r.hubid);h.config.excludedIds=t,h.config.excludedHubIds=i,h.config.includedIds=v,h.config.includedHubIds=n,L1.value=h}return/*@__PURE__*/s(p1,{children:a.map((r)=>/*@__PURE__*/s(i1,{children:[/*@__PURE__*/s(i1,{horizontal:!0,verticalAlign:"center",horizontalAlign:"space-between",children:[/*@__PURE__*/s(i1,{horizontal:!0,gap:8,verticalAlign:"center",style:{height:"36px"},children:[D8("success","Hub"),r.url]},void 0,!0,void 0,this),c==="switch"?/*@__PURE__*/s(S0,{checked:(L1.value?.config?.enabledEverywhere||L1.value?.config?.includedHubIds?.includes(r.hubid))&&!L1.value?.config?.excludedHubIds?.includes(r.hubid),onChange:(e,h)=>{o(r,h.checked)}},void 0,!1,void 0,this):/*@__PURE__*/s(g1,{onClick:()=>l?.({item:r,itemType:"hub"}),icon:/*@__PURE__*/s(g3,{},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),/*@__PURE__*/s(k8,{control:c,siteCollections:r.sites,onDeleteClick:l,additionalIcon:/*@__PURE__*/s(J6,{},void 0,!1,void 0,this),disableControl:L1.value?.config.excludedHubIds.includes(r.hubid)||L1.value?.config.includedHubIds.includes(r.hubid)},void 0,!1,void 0,this),/*@__PURE__*/s(X3,{control:c,webs:r.webs,onDeleteClick:l,additionalIcon:/*@__PURE__*/s(dr,{},void 0,!1,void 0,this),disableControl:L1.value?.config.excludedHubIds.includes(r.hubid)||L1.value?.config.includedHubIds.includes(r.hubid)},void 0,!1,void 0,this)]},void 0,!0,void 0,this))},void 0,!1,void 0,this)}V5();var OG={invalid:{message:"Invalid URL"},duplicate:{message:"URL already exists"}};function mf(a){let l;if(!(a.toLowerCase().startsWith(window.location.origin.toLowerCase())||a.startsWith("/")))l=OG.invalid;return{urlInput:a,error:l}}function sf(){let[a,l]=t1(""),[c,o]=t1(""),[r,e]=t1(!1);async function h(){if(!c)return;let Z=mf(c);if(Z.error){l(Z.error.message);return}let t=c.startsWith("/")?new URL(c,window.location.origin):new URL(c);e(!0);let i=await rf(t,!0);if(e(!1),i.isError){l(i.error);return}if(D5()){if(!i.data.every((n)=>n.hubid===I2.data.HubSiteId)){l("You can only add child hub sites when configuring a hub root.");return}}let v=y1(R0.value);v.urlMap=v.urlMap.filter((n)=>{return!i.data.some((d)=>d.id===n.id)}),v.urlMap.push(...i.data),R0.value=v,l(""),o("")}return/*@__PURE__*/s(i1,{style:{padding:"8px 24px",width:"100%"},gap:8,children:[/*@__PURE__*/s(l3,{intent:"info",children:/*@__PURE__*/s(c3,{children:"Add site collections and hub child sites."},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/s(i1,{horizontal:!0,gap:8,children:[/*@__PURE__*/s(i5,{style:{width:"100%"},onChange:(Z,t)=>{o(t.value)},onKeyDown:(Z)=>{if(Z.key==="Enter")h()},onFocus:()=>{l("")},value:c,placeholder:"Site/Web URL"},void 0,!1,void 0,this),/*@__PURE__*/s(g1,{disabled:!c||r,onClick:()=>h(),icon:r?/*@__PURE__*/s(I5,{size:"tiny"},void 0,!1,void 0,this):/*@__PURE__*/s(I6,{},void 0,!1,void 0,this),children:"Add"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),a?/*@__PURE__*/s(t2,{style:{color:F2.colorPaletteRedForeground1},children:a},void 0,!1,void 0,this):null]},void 0,!0,void 0,this)}var y8=y0(!1);function uf(){let a=Q7(),[l,c]=t1(!1),[o,r]=t1(!1),[e,h]=t1(R0.value),[Z,t]=t1([]),[i,v]=t1([]),[n,d]=t1([]);n2(()=>{if(!R0.value)return;if(!e){h(R0.value);return}let _=JSON.stringify(R0.value),A=JSON.stringify(e);h(R0.value),r(_!==A)}),n2(()=>{if(!R0.value)return;if($2){let _=$e(R0.value.urlMap);t(_.hubs),v(_.sites),d(_.webs);return}if(!$2&&D5())Ne(r0,R0.value.urlMap).then((_)=>{if(_)t([_])})});function p(_){if(!R0.value)return;let A=y1(R0.value);if(_.itemType==="hub")A.urlMap=A.urlMap.filter((m)=>m.hubid!==_.item.hubid);if(_.itemType==="site")A.urlMap=A.urlMap.filter((m)=>m.siteId!==_.item.siteId);if(_.itemType==="web")A.urlMap=A.urlMap.filter((m)=>m.id!==_.item.id);R0.value=A}async function M(){if(!R0.value)return;c(!0);try{await Ie(r0,R0.value)}finally{c(!1),r(!1),y8.value=!1}}return/*@__PURE__*/s(T2,{...a,separator:!0,open:y8.value,onOpenChange:()=>{},position:"end",size:"large",children:[/*@__PURE__*/s(E2,{children:/*@__PURE__*/s(q2,{action:/*@__PURE__*/s(g1,{appearance:"subtle","aria-label":"Close",icon:/*@__PURE__*/s(p7,{},void 0,!1,void 0,this),onClick:()=>{y8.value=!1}},void 0,!1,void 0,this),children:"Manage sites"},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/s(b2,{children:/*@__PURE__*/s(p1,{children:[/*@__PURE__*/s(sf,{},void 0,!1,void 0,this),/*@__PURE__*/s(i1,{gap:12,children:[Z.length>0?/*@__PURE__*/s(p1,{children:[/*@__PURE__*/s(n5,{children:"Hub sites"},void 0,!1,void 0,this),/*@__PURE__*/s(J5,{},void 0,!1,void 0,this),/*@__PURE__*/s(i1,{children:/*@__PURE__*/s(oh,{hubSites:Z,control:"delete",onDeleteClick:p},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this):null,i.length>0?/*@__PURE__*/s(p1,{children:[/*@__PURE__*/s(n5,{children:"Site collections"},void 0,!1,void 0,this),/*@__PURE__*/s(J5,{},void 0,!1,void 0,this),/*@__PURE__*/s(i1,{children:/*@__PURE__*/s(k8,{siteCollections:i,control:"delete",additionalIcon:/*@__PURE__*/s(J6,{},void 0,!1,void 0,this),onDeleteClick:p},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this):null,n.length>0?/*@__PURE__*/s(p1,{children:[/*@__PURE__*/s(n5,{children:"Webs"},void 0,!1,void 0,this),/*@__PURE__*/s(J5,{},void 0,!1,void 0,this),/*@__PURE__*/s(i1,{children:/*@__PURE__*/s(X3,{webs:n,control:"delete",onDeleteClick:p},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__*/s(o3,{children:/*@__PURE__*/s(i1,{horizontal:!0,gap:8,horizontalAlign:"center",children:[/*@__PURE__*/s(g1,{appearance:"secondary",onClick:()=>{y8.value=!1},children:"Cancel"},void 0,!1,void 0,this),/*@__PURE__*/s(g1,{disabled:!o||l,appearance:"primary",onClick:()=>{M()},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 PG(a,l){let c=await S8(r0),o=c.data.enabledAppCollections.includes(a.name);if(l!==o){if(l)c.data.enabledAppCollections.push(a.name);else c.data.enabledAppCollections.splice(c.data.enabledAppCollections.indexOf(a.name),1);await Ie(r0,c.data)}a.activated=l,In(a)}var TG=[{columnId:"name",text:"App Collection"},{columnId:"enabled",text:"Enabled"},{columnId:"InDebug",text:"In Debug"},{columnId:"Delete",text:""}];function Hf(a){if(G1.value)return null;return/*@__PURE__*/s(i1,{gap:16,children:[/*@__PURE__*/s(k4,{children:/*@__PURE__*/s(i1,{gap:8,horizontal:!0,children:[/*@__PURE__*/s(vf,{},void 0,!1,void 0,this),$2||D5()?/*@__PURE__*/s(y2,{appearance:"secondary",onClick:()=>{y8.value=!0},icon:/*@__PURE__*/s(am,{},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__*/s(O4,{children:[/*@__PURE__*/s(P4,{children:/*@__PURE__*/s(T3,{children:TG.map((l)=>/*@__PURE__*/s(b4,{children:l.text},l.columnId,!1,void 0,this))},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/s(y4,{children:C7.value.map((l)=>/*@__PURE__*/s(T3,{children:[/*@__PURE__*/s(u7,{children:/*@__PURE__*/s(H7,{media:/*@__PURE__*/s(NA,{},void 0,!1,void 0,this),children:/*@__PURE__*/s(q0,{onClick:()=>{G1.value=y1(l)},children:l.name},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/s(u7,{children:/*@__PURE__*/s(H7,{children:/*@__PURE__*/s(df,{app:l,onChange:PG},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/s(u7,{children:/*@__PURE__*/s(H7,{children:/*@__PURE__*/s(Mf,{app:l},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/s(u7,{children:/*@__PURE__*/s(H7,{children:/*@__PURE__*/s(Af,{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)}V5();async function bG(a,l){let c=x7(a),o=a.web.getFileByUrl(`${B1}/${l}/${z0}`),r=await o.exists(),e={data:Uc,error:"",isError:!1,warnings:[]};if(!r)return await w8(a,l),await a.web.lists.getByTitle(B1).rootFolder.folders.getByUrl(l).files.addUsingPath(z0,JSON.stringify(Uc)),D0(`Created ${z0} in ${B1}/${l} folder in ${c}`),e;try{let Z=await(await o.getBlob()).text(),t=JSON.parse(Z);return e.data=t,e}catch(h){let Z=`Error while parsing ${z0} in ${B1}/${l} folder in ${c}`;return s1(Z,h),e.error=Z,e.isError=!0,e}}async function ff(a,l,c){await bG(a,l);let o=a.web.getFileByUrl(`${B1}/${l}/${z0}`);try{return await o.setContent(JSON.stringify(Qe(c))),!0}catch(r){let e=x7(a);return s1(`Error while updating ${z0} in ${B1}/${l} folder in ${e}`,r),!1}}var EG=V6({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 Vf(a){let l=EG(),c=[l.root],o={};if(a.disableShrink)c.push(l.disableShrink);else if(a.shrink)o.flexShrink=a.shrink;if(a.grow)o.flexGrow=a.grow;if(a.basis)o.flexBasis=a.basis;if(qG(a,c,l),a.className)c.push(a.className);return/*@__PURE__*/s("div",{className:c.join(" "),style:{...o},children:a.children},void 0,!1,void 0,this)}function qG(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 Ff(a,l=0){let o=(/*@__PURE__*/new TextEncoder()).encode(a),r=await window.crypto.subtle.digest("SHA-1",o),h=Array.from(new Uint8Array(r)).map((Z)=>Z.toString(16).padStart(2,"0")).join("");return l>0?h.substring(0,l):h}var Kn=(a,l)=>l.some((c)=>a instanceof c),gf,xf;function WG(){return gf||(gf=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])}function zG(){return xf||(xf=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])}var jn=/*@__PURE__*/new WeakMap,Yn=/*@__PURE__*/new WeakMap,rh=/*@__PURE__*/new WeakMap;function QG(a){let l=new Promise((c,o)=>{let r=()=>{a.removeEventListener("success",e),a.removeEventListener("error",h)},e=()=>{c(K3(a.result)),r()},h=()=>{o(a.error),r()};a.addEventListener("success",e),a.addEventListener("error",h)});return rh.set(l,a),l}function JG(a){if(jn.has(a))return;let l=new Promise((c,o)=>{let r=()=>{a.removeEventListener("complete",e),a.removeEventListener("error",h),a.removeEventListener("abort",h)},e=()=>{c(),r()},h=()=>{o(a.error||new DOMException("AbortError","AbortError")),r()};a.addEventListener("complete",e),a.addEventListener("error",h),a.addEventListener("abort",h)});jn.set(a,l)}var Nn={get(a,l,c){if(a instanceof IDBTransaction){if(l==="done")return jn.get(a);if(l==="store")return c.objectStoreNames[1]?void 0:c.objectStore(c.objectStoreNames[0])}return K3(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 wf(a){Nn=a(Nn)}function IG(a){if(zG().includes(a))return function(...l){return a.apply(av(this),l),K3(this.request)};return function(...l){return K3(a.apply(av(this),l))}}function $G(a){if(typeof a==="function")return IG(a);if(a instanceof IDBTransaction)JG(a);if(Kn(a,WG()))return new Proxy(a,Nn);return a}function K3(a){if(a instanceof IDBRequest)return QG(a);if(Yn.has(a))return Yn.get(a);let l=$G(a);if(l!==a)Yn.set(a,l),rh.set(l,a);return l}var av=(a)=>rh.get(a);function Sf(a,l,{blocked:c,upgrade:o,blocking:r,terminated:e}={}){let h=indexedDB.open(a,l),Z=K3(h);if(o)h.addEventListener("upgradeneeded",(t)=>{o(K3(h.result),t.oldVersion,t.newVersion,K3(h.transaction),t)});if(c)h.addEventListener("blocked",(t)=>c(t.oldVersion,t.newVersion,t));return Z.then((t)=>{if(e)t.addEventListener("close",()=>e());if(r)t.addEventListener("versionchange",(i)=>r(i.oldVersion,i.newVersion,i))}).catch(()=>{}),Z}function Gf(a,{blocked:l}={}){let c=indexedDB.deleteDatabase(a);if(l)c.addEventListener("blocked",(o)=>l(o.oldVersion,o));return K3(c).then(()=>{return})}var YG=["get","getKey","getAll","getAllKeys","count"],XG=["put","add","delete","clear"],Xn=/*@__PURE__*/new Map;function Cf(a,l){if(!(a instanceof IDBDatabase&&!(l in a)&&typeof l==="string"))return;if(Xn.get(l))return Xn.get(l);let c=l.replace(/FromIndex$/,""),o=l!==c,r=XG.includes(c);if(!(c in(o?IDBIndex:IDBObjectStore).prototype)||!(r||YG.includes(c)))return;let e=async function(h,...Z){let t=this.transaction(h,r?"readwrite":"readonly"),i=t.store;if(o)i=i.index(Z.shift());return(await Promise.all([i[c](...Z),r&&t.done]))[0]};return Xn.set(l,e),e}wf((a)=>({...a,get:(l,c,o)=>Cf(l,c)||a.get(l,c,o),has:(l,c)=>!!Cf(l,c)||a.has(l,c)}));var KG=["continue","continuePrimaryKey","advance"],Lf={},lv=/*@__PURE__*/new WeakMap,Uf=/*@__PURE__*/new WeakMap,jG={get(a,l){if(!KG.includes(l))return a[l];let c=Lf[l];if(!c)c=Lf[l]=function(...o){lv.set(this,Uf.get(this)[l](...o))};return c}};async function*NG(...a){let l=this;if(!(l instanceof IDBCursor))l=await l.openCursor(...a);if(!l)return;l=l;let c=new Proxy(l,jG);Uf.set(c,l),rh.set(c,av(l));while(l)yield c,l=await(lv.get(c)||l.continue()),lv.delete(c)}function Rf(a,l){return l===Symbol.asyncIterator&&Kn(a,[IDBIndex,IDBObjectStore,IDBCursor])||l==="iterate"&&Kn(a,[IDBIndex,IDBObjectStore])}wf((a)=>({...a,get(l,c,o){if(Rf(l,c))return NG;return a.get(l,c,o)},has(l,c){return Rf(l,c)||a.has(l,c)}}));var l0={AppFolderManifestCache:"AppFolderManifestCache",AppCollectionManifestCache:"AppCollectionManifestCache",AllowedApps:"AllowedApps",HubSiteData:"HubSiteData",SPFxExtensionConfig:"SPFxExtensionConfig"},Bf=`${Z3.SPFXEXT}COREDB`,cv=Sf(Bf,1,{blocking(a,l,c){cv.then((o)=>o.close()),alert("A new version of this page is ready. Please reload the page.")},async upgrade(a,l,c,o,r){if(l===0)a.createObjectStore(l0.AppFolderManifestCache,{keyPath:"url"}),a.createObjectStore(l0.AppCollectionManifestCache,{keyPath:"url"}),a.createObjectStore(l0.AllowedApps,{keyPath:"Id"}),a.createObjectStore(l0.HubSiteData,{keyPath:"SiteId"}),a.createObjectStore(l0.SPFxExtensionConfig,{keyPath:"Title"})}});cv.catch((a)=>{throw s1("Error opening database for Core, please contact your administrator."),Gf(Bf).then(()=>{window.location.reload()}),a});var p5=await cv;function O8(a){let l="never";if(a!==1/0){let c=/*@__PURE__*/new Date;c.setMinutes(c.getMinutes()+a),l=c.toISOString()}return{expires:l}}async function P8(a,l){let c=await p5.getAll(a),o=/*@__PURE__*/new Date,r=c.filter((h)=>{if(h.expires==="never")return!1;let Z=new Date(h.expires);return o>=Z}),e=r.length;if(e>0){let h=p5.transaction(a,"readwrite"),Z=h.objectStore(a);r.forEach((t)=>Z.delete(t[l])),await h.done,z2(`Evicted ${e} items from ${a} cache.`)}return e}async function ov(){return await P8(l0.SPFxExtensionConfig,"Title"),p5.getAll(l0.SPFxExtensionConfig)}async function j3(a){return await P8(l0.SPFxExtensionConfig,"Title"),p5.get(l0.SPFxExtensionConfig,a)}async function Y2(a,l=60){await p5.put(l0.SPFxExtensionConfig,{...a,...O8(l)})}async function Df(a,l){let c=p5.transaction(l0.SPFxExtensionConfig,"readwrite"),o=c.objectStore(l0.SPFxExtensionConfig);return a.forEach((r)=>o.put({...r,...O8(l)})),c.done}async function kf(){return p5.getAll(l0.AllowedApps)}async function rv(a){return p5.get(l0.AppFolderManifestCache,a)}async function ev(a){return p5.get(l0.AppCollectionManifestCache,a)}async function rR1(a){return p5.get(l0.HubSiteData,a)}async function eR1(a,l=60){await p5.put(l0.HubSiteData,{...a,...O8(l)})}async function aU(a,l=60){await p5.put(l0.AppCollectionManifestCache,{...a,...O8(l)})}async function lU(a,l=60){await p5.put(l0.AppFolderManifestCache,{...a,...O8(l)})}async function yf(a,l=5){let c=O8(l),o=p5.transaction(l0.AllowedApps,"readwrite"),r=o.objectStore(l0.AllowedApps);return a.forEach((e)=>r.put({...c,...e})),o.done}async function cU(a){return p5.delete(l0.AppCollectionManifestCache,a)}async function oU(a){return p5.delete(l0.AppFolderManifestCache,a)}async function rU(){return P8(l0.AppCollectionManifestCache,"url")}async function eU(){return P8(l0.AppFolderManifestCache,"url")}async function Of(){return P8(l0.AllowedApps,"Id")}async function hR1(){return P8(l0.HubSiteData,"SiteId")}async function Pf(a){if(a){let l=await rv(a.url);if(l){if(l.hash!==a.hash){await oU(a.url);let c=a.url.toLowerCase().replace(`/${z0}`,"");await eh([c],!1),z2(`Evicted ${z0} ${l.url} from cache. Because of hash mismatch.`)}}}return eU()}async function Tf(a){if(a){let l=await ev(a.url);if(l){if(l.hash!==a.hash)await cU(a.url),await eh([a.url],!1),z2(`Evicted ${i2} ${l.url} from cache. Because of hash mismatch.`)}}return rU()}async function ZR1(a){if(await Pf(),jc)return;return rv(a)}async function tR1(a,l){await Pf(a);let c=await rv(a.url);if(c&&c.hash===a.hash&&!jc)return;await lU(a,l)}async function iR1(a,l){await Tf(a);let c=await ev(a.url);if(c&&c.hash===a.hash&&!jc)return;await aU(a,l)}async function nR1(a){if(await Tf(),jc)return;return ev(a)}var hv=/*@__PURE__*/new Map;async function bf(a,l=!1){let c="";if(hv.has(a)&&!l)c=hv.get(a)||"";if(c)return c;let o=await fetch(`${a}/_api/contextinfo`,{method:"POST",headers:{Accept:"application/json;odata=verbose","Content-Type":"application/json"}});if(o.status===200){let e=(await o.json()).d.GetContextWebInformation.FormDigestValue;return hv.set(a,e),e}else s1("Error while getting digest",o.status);return""}var Zv=(a)=>{},hh;async function Zh(a=""){if(hh)return hh;hh=new Promise((l)=>{Zv=l});try{let o=(await(await fetch(`${a}/_api/SP_TenantSettings_Current`,{headers:{Accept:"application/json;odata=verbose"}})).json()).d.CorporateCatalogUrl;Zv(o)}catch(l){s1("Error while getting app catalog url. Trying default /sites/appcatalog",l);let c=`${window.location.origin}/sites/appcatalog`;Zv(c)}return hh}async function Ef(a=""){let l=await j3("AppCatalogUrl");if(l?.Data)return l.Data;let c=await Zh(a);return await Y2({Title:"AppCatalogUrl",Data:c},240),c}async function k5(a=""){let c=`${await Ef()}${a?`/${a}`:""}`;return bf(c)}var hU=await Ef(),p0=`${hU}/${C0}`;var Wf={RootCDNLocation:"RootCDNLocation",InterceptHistory:"InterceptHistory",EnableAppWhiteList:"EnableAppWhiteList",AppCatalogUrl:"AppCatalogUrl",SPFxDataSite:"SPFxDataSite",ConfiguratorPageData:"ConfiguratorPageData",AppWhiteList:"AppWhiteList",Version:"2025-11-15T13:20:18.050Z"},qf=[{Title:"InterceptHistory",Data:"true"},{Title:"EnableAppWhiteList",Data:"false"},{Title:"RootCDNLocation",Data:`/sites/appcatalog/${C0}`}];function zf(a){let l=qf.find((c)=>c.Title==="RootCDNLocation");if(l)l.Data=a;return qf}var ZU=Object.keys(Wf).length,th;async function tU(){let a=`${p0}/_api/web/lists/GetByTitle('${d8}')/fields`;try{let l=await fetch(a,{headers:{Accept:"application/json;odata=verbose"}});if(l.status===200){let o=(await l.json()).d.results,r=o.map((h)=>h.InternalName),e=o.find((h)=>h.InternalName==="Title");if(!e){s1("Title field not found.");return}if(!e.EnforceUniqueValues){let h=await k5(C0);if((await fetch(`${p0}/_api/web/lists/GetByTitle('${d8}')/fields('${e.Id}')`,{method:"POST",headers:{Accept:"application/json;odata=verbose","Content-Type":"application/json;odata=verbose","X-RequestDigest":h,"X-HTTP-Method":"MERGE","If-Match":"*"},body:JSON.stringify({__metadata:{type:"SP.Field"},Indexed:!0,EnforceUniqueValues:!0})})).status===204)D0("Title field updated successfully.");else s1("Unable to update Title field.")}if(!r.includes("Data")){let h=await k5(C0);if((await fetch(a,{method:"POST",headers:{Accept:"application/json;odata=verbose","Content-Type":"application/json;odata=verbose","X-RequestDigest":h},body:JSON.stringify({__metadata:{type:"SP.Field"},Title:"Data",FieldTypeKind:2,Required:!0})})).status===201)D0("Data field added successfully.");else s1("Unable to add Data field.")}}}catch(l){s1("Error while ensuring configuration list data fields.",l)}}async function iU(){let a=!1;try{if(a=(await fetch(`${p0}/_api/web/lists/GetByTitle('${d8}')`)).status===404,a){let c=await k5(C0);if(D0("Creating configuration list."),(await fetch(`${p0}/_api/web/lists`,{method:"POST",headers:{Accept:"application/json;odata=verbose","Content-Type":"application/json;odata=verbose","X-RequestDigest":c},body:JSON.stringify({__metadata:{type:"SP.List"},BaseTemplate:100,Title:"SPFxExtensionsConfiguration",Description:"Configuration list for SPFxExtensions"})})).status===201)D0("Configuration list created successfully.");else s1("Unable to create configuration list.")}await tU()}catch(l){s1("Error while ensuring configuration list.",l)}return a}async function Qf(){let a=`${p0}/_api/web/lists/GetByTitle('${d8}')/items?$select=Title,Data`,c=await fetch(a,{...{headers:{Accept:"application/json;odata=verbose"}}});if(c.status!==200)return s1("Unable to fetch configuration list items."),[];return(await c.json()).d.results}async function nU(){let a=await k5(C0);for(let l of zf(p0))if((await fetch(`${p0}/_api/web/lists/GetByTitle('${d8}')/items`,{method:"POST",headers:{Accept:"application/json;odata=verbose","Content-Type":"application/json;odata=verbose","X-RequestDigest":a},body:JSON.stringify({__metadata:{type:"SP.Data.SPFxExtensionsConfigurationListItem"},...l})})).status===201)D0(`Item ${l.Title} added successfully.`);else s1(`Unable to add item ${l.Title}.`)}function Jf(a=!1){if(a)return Qf();if(th)return th;return th=vU(),th}async function vU(){let a=await ov();if(a.length<ZU){if(await iU())await nU();let c=await Qf();await Df(c,240),a=await ov()}return a}async function dU(a){let l=await Zh(),c=await k5(),o=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(!o.ok)throw Error(`Failed to create SPFxExtensionsData web in ${l}`);return await o.json()}async function pU(){let a=await Zh(),l=await k5(),c=await fetch(`${a}/${C0}/_api/web`,{method:"GET",headers:{Accept:"application/json;odata=nometadata","X-RequestDigest":l}});if(!c.ok){if(c.status===404)return{data:void 0,isError:!1,error:"",warnings:[`SPFxExtensionsData web not found in ${a}`]};return s1(`Failed to fetch data from ${a}/${C0}/_api/web`),{data:void 0,isError:!0,error:`Failed to fetch data from ${a}/${C0}/_api/web`,warnings:[]}}return{data:await c.json(),isError:!1,error:"",warnings:[]}}async function _U(){return(await j3("SPFxDataSite"))?.Data}var ih;function If(){if(ih)return ih;return ih=MU(),ih}async function MU(){let a=await _U();if(!a){let l=await pU();if(!l.isError&&!l.data){let c=await dU(C0);l.data=c}return await Y2({Title:"SPFxDataSite",Data:l.data},240),l.data}return a}var tv="f3ab710f-2c08-422e-a7ad-5d93eb51e7a3",nh={accept:"application/json"},AU={"Content-Type":"application/json"};async function mU(){let l={"X-RequestDigest":await k5(C0)};return(await(await fetch(`${p0}/_api/sitepages/pages`,{headers:{...nh,...l,...AU},body:JSON.stringify({PageLayoutType:"SingleWebPartAppPage",PromotedState:0}),method:"POST"})).json()).Id}async function iv(){let a=await fetch(`${p0}/_api/sitepages/pages/GetByUrl('${fe}')`,{headers:{...nh},method:"GET"});if(a.status===404)return;return await a.json()}var sU=[{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"}],uU=[{addedFromPersistedData:!1,controlType:3,displayMode:2,emphasis:{},id:tv,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:zi,instanceId:tv,properties:{description:"Select an app to load from the dropdown below",selectedApp:Ju,SPFxExtensionAppConfiguration:void 0},title:"SPFx Extension Loader"},webPartId:zi},{controlType:0,pageSettingsSlice:{isDefaultDescription:!0,isDefaultThumbnail:!0}}],HU={CanvasContent1:`${JSON.stringify(uU)}`,LayoutWebpartsContent:`${JSON.stringify(sU)}`,Title:Iu};async function $f(a){let c={"X-RequestDigest":await k5(C0)};await fetch(`${p0}/_api/sitepages/pages(${a})/savepage`,{headers:{"Content-Type":"application/json",...nh,...c},body:JSON.stringify(HU),method:"POST"}),await fetch(`${p0}/_api/sitepages/pages(${a})/publish`,{headers:{...nh,...c},method:"POST"})}async function fU(){let a=await mU();return await $f(a),iv()}async function VU(){let a=await j3("ConfiguratorPageData");if(a?.Data)return a.Data;let l=await iv();if(l)await Y2({Title:"ConfiguratorPageData",Data:l},480);return l}async function Yf(){let a=await VU();if(!a)return fU();if(a.CanvasContent1.indexOf(tv)===-1){await $f(a.Id);let l=await iv();return await Y2({Title:"ConfiguratorPageData",Data:l},480),l}return a}async function FU(){let a=`${p0}/_api/web/lists/GetByTitle('${p8}')/fields`;try{let l=await fetch(a,{headers:{Accept:"application/json;odata=verbose"}});if(l.status===200){if(!(await l.json()).d.results.map((e)=>e.InternalName).some((e)=>e==="EntryPointUrl"))await gU(a,"EntryPointUrl","Full URL to the Entrypoint JS file, if * is specified all entries will be allowed.",!0)}}catch(l){s1("Error while ensuring list fields.",l)}}async function gU(a,l,c,o){let r=await k5(C0);if((await fetch(a,{method:"POST",headers:{Accept:"application/json;odata=verbose","Content-Type":"application/json;odata=verbose","X-RequestDigest":r},body:JSON.stringify({__metadata:{type:"SP.Field"},Title:l,FieldTypeKind:3,Required:o,Description:c})})).status===201)D0(l,"field added successfully.");else s1(l,"Unable to add field.")}async function xU(){try{let a=await fetch(`${p0}/_api/web/lists/GetByTitle('${p8}')?$select=*`,{method:"GET",headers:{Accept:"application/json;odata=verbose"}});if(a.status===404){D0("Creating app white list.");let c=await k5(C0),o=await fetch(`${p0}/_api/web/lists`,{method:"POST",headers:{Accept:"application/json;odata=verbose","Content-Type":"application/json;odata=verbose","X-RequestDigest":c},body:JSON.stringify({__metadata:{type:"SP.List"},BaseTemplate:100,Title:p8,Description:"App whitelist for SPFxExtensions"})});if(o.status===201)return D0("App whitelist created successfully."),o.json();else{s1("Unable to create app whitelist.");return}}return await FU(),a.json()}catch(a){s1("Error while ensuring app whitelist.",a)}return}async function Xf(){let a=await j3("AppWhiteList");if(a?.Data)return a.Data;let l=await xU();if(l)await Y2({Title:"AppWhiteList",Data:l},480);return l}var vh;async function CU(){if(vh)return vh;return vh=LU(),vh}async function LU(){await If(),await Xf(),await Yf(),window.__SPFxExtensions.Utils.ConfiguratorPageUrl=`${p0}/${fe}`}async function Nc(a=!1){return await CU(),Jf(a)}async function IR1(){return`${`${(await Nc()).find((o)=>o.Title==="RootCDNLocation")?.Data??`${p0}`}${$u}`}${i2}`}async function aw1(){let a=await Nc(),l=[Qu];if(a.find((c)=>c.Title==="Version")?.Data!=="2025-11-15T13:20:18.050Z")await Y2({Title:"Version",Data:"2025-11-15T13:20:18.050Z"},1/0),await eh(l,!0)}async function eh(a,l){let c=await window.caches.keys(),o=!1;for(let r of c){let e=await window.caches.open(r),h=await e.keys(),Z=[];for(let t of h){let i=t.url.toLowerCase();if(a.some((v)=>i.indexOf(v.toLowerCase())>-1))D0("Deleting cache key",t,"from",r),o=!0,Z.push(e.delete(t,{ignoreMethod:!0,ignoreSearch:!0,ignoreVary:!0}))}await Promise.allSettled(Z)}if(o&&l)window.location.reload()}function Kf(){return Ff(`${Date.now()}`,13)}var jf={appId:"",name:"",entryPoint:""};function Nf(){let a=V7(y1(jf)),l=V7(!1),c=V7(!1);if(n2(()=>{if(U8.value)a.value=y1(U8.value),l.value=!0,c.value=!0}),!G1.value)return null;let o=G1.value;async function r(Z,t){if(c.value=t.open,!t.open)U8.value=void 0}async function e(){if(!a.value.appId||!a.value.name||!a.value.entryPoint)return;let Z=y1(o);Z.manifest.manualEntries=Z.manifest.manualEntries.filter((t)=>t.appId!==a.value.appId),Z.manifest.appDefinitionMap=Z.manifest.appDefinitionMap.filter((t)=>t.appId!==a.value.appId),Z.manifest.appDefinitionMap.push({appId:a.value.appId,config:y1(Bc)}),Z.manifest.manualEntries.push(y1(a.value)),G1.value=Z,c.value=!1}let h=a6.value.filter((Z)=>{return!o.manifest.appRelativeEntryPointUrls.includes(Z)});return/*@__PURE__*/s(S5,{open:c.value,surfaceMotion:null,modalType:"alert",onOpenChange:r,children:[/*@__PURE__*/s(W0,{disableButtonEnhancement:!0,children:/*@__PURE__*/s(y2,{appearance:"outline",icon:/*@__PURE__*/s(I6,{},void 0,!1,void 0,this),children:"Add Entry"},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/s(D2,{children:/*@__PURE__*/s(U2,{children:[/*@__PURE__*/s(B2,{action:/*@__PURE__*/s(W0,{disableButtonEnhancement:!0,action:"close",children:/*@__PURE__*/s(g1,{appearance:"subtle","aria-label":"close",icon:/*@__PURE__*/s(p7,{},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__*/s(k2,{style:{padding:"16px 0"},children:/*@__PURE__*/s(i1,{gap:16,children:[/*@__PURE__*/s(i1,{gap:8,horizontal:!0,children:[/*@__PURE__*/s(i5,{disabled:l.value,value:a.value.appId,style:{width:"100%"},placeholder:"Enter application id (guid) or click Generate",onChange:(Z,t)=>{a.value={...a.value,appId:t.value}}},void 0,!1,void 0,this),/*@__PURE__*/s(g1,{disabled:l.value,onClick:()=>{a.value={...a.value,appId:window.crypto.randomUUID()}},children:"Generate"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),/*@__PURE__*/s(i5,{defaultValue:a.value.name,style:{width:"100%"},placeholder:"Enter application name to be shown below",onChange:(Z,t)=>{a.value={...a.value,name:t.value}}},void 0,!1,void 0,this),/*@__PURE__*/s(U4,{placeholder:"Select entry point",defaultValue:a.value.entryPoint,onOptionSelect:(Z,t)=>{a.value={...a.value,entryPoint:t.optionValue??""}},children:h.map((Z)=>/*@__PURE__*/s(G4,{value:Z,children:Z},Z,!1,void 0,this))},void 0,!1,void 0,this),/*@__PURE__*/s(l3,{children:/*@__PURE__*/s(c3,{children:[/*@__PURE__*/s(W4,{children:"Remember:"},void 0,!1,void 0,this),"While adding your app manually, you have to ensure that the code inside entry point calls window.__SPFxExtensions.RegisterApp and/or window.__SPFxExtensions.InstantiateApp methods. This ensures proper lifecycle management of your SPFx application. If you want just a side-effect, you do not need to call those methods."]},void 0,!0,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/s(G2,{children:[/*@__PURE__*/s(W0,{disableButtonEnhancement:!0,action:"close",children:/*@__PURE__*/s(g1,{appearance:"secondary",children:"Close"},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/s(g1,{appearance:"primary",disabled:!a.value.appId||!a.value.name||!a.value.entryPoint,onClick:()=>{e()},children:l.value?"Save":"Add"},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 RU=wU();async function wU(){try{let a=await Of(),l=await kf();if(l.length>0&&!a)return l;if(l.length>0)D0("Cache mismatch, loading allowed apps data...");let c=await aV();return await yf(c,5),c}catch(a){return s1("Unable to load allowed apps data...",a),[]}}async function aV(a=!1){if((await Nc(a)).find((o)=>o.Title==="EnableAppWhiteList")?.Data!=="true")return[{Id:1,Title:"All apps allowed",EntryPointUrl:"*",date:(/*@__PURE__*/new Date()).toISOString(),expires:(/*@__PURE__*/new Date()).toISOString()}];return SU()}async function SU(){let a=`${p0}/_api/web/lists/getByTitle('${p8}')/Items?$select=Id,Title,EntryPointUrl&$top=1000`;return await GU(a)}async function GU(a){let l=a,c=[];while(l){let r=await(await fetch(l,{method:"GET",headers:{Accept:"application/json;odata=verbose"}})).json();if(r.error)throw Error(JSON.stringify(r.error));c.push(...r.d.results),l=r.d.__next}return c}function UU(a,l){if(l.some((r)=>r.EntryPointUrl==="*"))return!0;let o=(a.origin+a.pathname).toLowerCase();return l.some((r)=>{try{let e=new URL(r.EntryPointUrl),h=e.origin+e.pathname;return o===h.toLowerCase()}catch(e){return s1("Error while parsing allowed entry URL",r.EntryPointUrl,e),!1}})}async function lV(a,l,c=!1){if(pf(a))return!0;let o=c?await aV(c):await RU;if(!UU(a,o))return z2("File",a,`is not allowed to be executed. Please add it to whitelist @ ${p0}.`),z2(`If you are a developer you can enable this app by adding window.localStorage item ${Z3.SPFXEXT}${l} with a number value corresponding to development port of the localhost server.`),!1;return!0}function cV(a,l,c,o){let r=o.find((e)=>e.appId===a);if(r){r.name=l,r.resolved=!0,r.isManual=c;return}o.push({appId:a,name:l,resolved:!0,isManual:c,config:y1(Bc)})}async function oV(a){let l=a.manifest.appDefinitionMap.map((c)=>{return{appId:c.appId,name:`Unknown_${c.appId}`,isManual:!1,resolved:!1,config:c.config??y1(Bc)}});for(let c of a.manifest.appRelativeEntryPointUrls){let o=c.replace(/\.\.\/?/g,"").replace(/\.\//g,""),r=new URL(`${lh}/${B1}/${a.name}/${o}`);if(!await lV(r,a.name,!0))continue;r.searchParams.set("t",`${Date.now()}`);try{let h=await import(`${r}`);if(!h.default){s1(`Invalid app definition file ${r}, default export not available.`);continue}if(!Array.isArray(h.default)){s1(`Invalid app definition file ${r}, default export should be an array.`);continue}if(h.default.some((Z)=>!Z.id||!Z.name)){s1(`Invalid app definition file ${r}, default export should be an array of objects with id and name properties.`);continue}for(let Z of h.default)cV(Z.id,Z.name,!1,l)}catch(h){s1(`Error loading ${r}`,h);continue}}for(let c of a.manifest.manualEntries)cV(c.appId,c.name,!0,l);return l}V5();var BU=ch();function rV(a){let l=Q7(),[c,o]=t1(L1.value),[r,e]=t1(!1),[h,Z]=t1([]),[t,i]=t1([]),[v,n]=t1([]);if(n2(()=>{if(!L1.value)return;if(!c){o(L1.value);return}let d=JSON.stringify(L1.value),p=JSON.stringify(c);o(L1.value),e(d!==p)}),n2(()=>{if(!$2){if(D5())Ne(r0,R0.value.urlMap).then((d)=>{Z(d?[d]:[])});if(ah()&&!D5())je(r0).then((d)=>{i(d?[d]:[])})}else{let d=$e(R0.value.urlMap);Z(d.hubs),i(d.sites),n(d.webs)}}),!L1.value||!G1.value)return null;return/*@__PURE__*/s(T2,{...l,separator:!0,open:!!L1.value,position:"end",size:"large",children:[/*@__PURE__*/s(E2,{children:/*@__PURE__*/s(q2,{action:/*@__PURE__*/s(g1,{appearance:"subtle","aria-label":"Close",icon:/*@__PURE__*/s(p7,{},void 0,!1,void 0,this),onClick:()=>{L1.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__*/s(b2,{children:/*@__PURE__*/s(p1,{children:[/*@__PURE__*/s(i1,{horizontal:!0,horizontalAlign:"space-between",verticalAlign:"center",children:[/*@__PURE__*/s(i1,{horizontal:!0,verticalAlign:"center",gap:8,children:[/*@__PURE__*/s(w0,{children:"Enable everywhere"},void 0,!1,void 0,this),/*@__PURE__*/s(S2,{withArrow:!0,children:[/*@__PURE__*/s(h2,{disableButtonEnhancement:!0,children:/*@__PURE__*/s(q0,{children:/*@__PURE__*/s(Mr,{},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/s(w2,{tabIndex:-1,children:/*@__PURE__*/s(t2,{children:BU==="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__*/s(S0,{defaultChecked:L1.value.config.enabledEverywhere,onChange:(d,p)=>{let M=y1(L1.value);M.config.enabledEverywhere=p.checked,M.config.includedIds=[],M.config.excludedIds=[],M.config.includedHubIds=[],M.config.excludedHubIds=[],L1.value=M}},void 0,!1,void 0,this)]},void 0,!0,void 0,this),/*@__PURE__*/s(i1,{gap:12,children:[/*@__PURE__*/s(n5,{children:"Hub sites"},void 0,!1,void 0,this),/*@__PURE__*/s(J5,{},void 0,!1,void 0,this),/*@__PURE__*/s(i1,{children:h.length>0?/*@__PURE__*/s(oh,{hubSites:h,control:"switch"},void 0,!1,void 0,this):null},void 0,!1,void 0,this),/*@__PURE__*/s(n5,{children:"Site collections"},void 0,!1,void 0,this),/*@__PURE__*/s(J5,{},void 0,!1,void 0,this),/*@__PURE__*/s(i1,{children:t.length>0?/*@__PURE__*/s(k8,{additionalIcon:/*@__PURE__*/s(J6,{},void 0,!1,void 0,this),siteCollections:t,control:"switch"},void 0,!1,void 0,this):null},void 0,!1,void 0,this),/*@__PURE__*/s(n5,{children:"Webs"},void 0,!1,void 0,this),/*@__PURE__*/s(J5,{},void 0,!1,void 0,this),/*@__PURE__*/s(i1,{children:v.length>0?/*@__PURE__*/s(X3,{additionalIcon:/*@__PURE__*/s(dr,{},void 0,!1,void 0,this),webs:v,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__*/s(o3,{children:/*@__PURE__*/s(i1,{horizontal:!0,gap:8,horizontalAlign:"center",children:[/*@__PURE__*/s(g1,{appearance:"secondary",onClick:()=>{L1.value=void 0},children:"Cancel"},void 0,!1,void 0,this),/*@__PURE__*/s(g1,{appearance:"primary",disabled:!r,onClick:()=>{if(!L1.value)return;let d=y1(G1.value),p=y1(L1.value);d.manifest.appDefinitionMap=d.manifest.appDefinitionMap.filter((M)=>M.appId!==p.appId),d.manifest.appDefinitionMap.push(p),G1.value=d,L1.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 eV(){let a=V7([]),l=V7(!1);async function c(r){l.value=!1;let e=await oV(r);l.value=!0,a.value=e}function o(r){if(!G1.value)return;let e=y1(G1.value);e.manifest.appDefinitionMap=e.manifest.appDefinitionMap.filter((h)=>h.appId!==r.appId),e.manifest.manualEntries=e.manifest.manualEntries.filter((h)=>h.appId!==r.appId),G1.value=e}if(n2(()=>{if(!G1.value)return;c(G1.value)}),!G1.value)return null;if(!l.value)return/*@__PURE__*/s(i1,{style:{marginTop:"10px"},children:/*@__PURE__*/s(N7,{},void 0,!1,void 0,this)},void 0,!1,void 0,this);return/*@__PURE__*/s(i1,{style:{marginTop:"10px",borderBottom:"1px solid #eaeaea"},children:[a.value.map((r)=>{return/*@__PURE__*/s(i1,{horizontal:!0,gap:8,horizontalAlign:"space-between",verticalAlign:"center",style:{borderTop:"1px solid #eaeaea",padding:"10px 6px",minHeight:"53px"},children:[/*@__PURE__*/s(i1,{horizontal:!0,verticalAlign:"center",gap:8,grow:!0,children:[r.isManual?/*@__PURE__*/s(om,{},void 0,!1,void 0,this):/*@__PURE__*/s(rm,{},void 0,!1,void 0,this)," ",/*@__PURE__*/s(q0,{size:"medium",onClick:()=>{L1.value={appId:r.appId,config:r.config}},children:r.name},void 0,!1,void 0,this)]},void 0,!0,void 0,this),/*@__PURE__*/s(i1,{gap:8,horizontal:!0,children:[/*@__PURE__*/s(g1,{"aria-label":"Delete configuration item",icon:/*@__PURE__*/s(g3,{},void 0,!1,void 0,this),disabled:!r.isManual&&r.resolved,onClick:()=>{o(r)}},void 0,!1,void 0,this),/*@__PURE__*/s(g1,{"aria-label":"Edit item",icon:/*@__PURE__*/s(IA,{},void 0,!1,void 0,this),disabled:!r.isManual,onClick:()=>{let e=G1.value?.manifest.manualEntries.find((h)=>h.appId===r.appId);if(!e)return;U8.value=y1(e)}},void 0,!1,void 0,this),/*@__PURE__*/s(g1,{"aria-label":"Edit sites",icon:/*@__PURE__*/s(JA,{},void 0,!1,void 0,this),onClick:()=>{L1.value={appId:r.appId,config:r.config}}},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}),/*@__PURE__*/s(rV,{appDefinitions:a.value},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}V5();V5();g();var X1=h6(uV(),1);var EU=/*@__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 l6(a,l,c){let o=qU(a),{webkitRelativePath:r}=a,e=typeof l==="string"?l:typeof r==="string"&&r.length>0?r:`./${a.name}`;if(typeof o.path!=="string")HV(o,"path",e);if(c!==void 0)Object.defineProperty(o,"handle",{value:c,writable:!1,configurable:!1,enumerable:!0});return HV(o,"relativePath",e),o}function qU(a){let{name:l}=a;if(l&&l.lastIndexOf(".")!==-1&&!a.type){let o=l.split(".").pop().toLowerCase(),r=EU.get(o);if(r)Object.defineProperty(a,"type",{value:r,writable:!1,configurable:!1,enumerable:!0})}return a}function HV(a,l,c){Object.defineProperty(a,l,{value:c,writable:!1,configurable:!1,enumerable:!0})}var WU=[".DS_Store","Thumbs.db"];function Hv(a){return W3(this,void 0,void 0,function*(){if(ph(a)&&zU(a.dataTransfer))return $U(a.dataTransfer,a.type);else if(QU(a))return JU(a);else if(Array.isArray(a)&&a.every((l)=>("getFile"in l)&&typeof l.getFile==="function"))return IU(a);return[]})}function zU(a){return ph(a)}function QU(a){return ph(a)&&ph(a.target)}function ph(a){return typeof a==="object"&&a!==null}function JU(a){return uv(a.target.files).map((l)=>l6(l))}function IU(a){return W3(this,void 0,void 0,function*(){return(yield Promise.all(a.map((c)=>c.getFile()))).map((c)=>l6(c))})}function $U(a,l){return W3(this,void 0,void 0,function*(){if(a.items){let c=uv(a.items).filter((r)=>r.kind==="file");if(l!=="drop")return c;let o=yield Promise.all(c.map(YU));return fV(FV(o))}return fV(uv(a.files).map((c)=>l6(c)))})}function fV(a){return a.filter((l)=>WU.indexOf(l.name)===-1)}function uv(a){if(a===null)return[];let l=[];for(let c=0;c<a.length;c++){let o=a[c];l.push(o)}return l}function YU(a){if(typeof a.webkitGetAsEntry!=="function")return VV(a);let l=a.webkitGetAsEntry();if(l&&l.isDirectory)return gV(l);return VV(a,l)}function FV(a){return a.reduce((l,c)=>[...l,...Array.isArray(c)?FV(c):[c]],[])}function VV(a,l){return W3(this,void 0,void 0,function*(){var c;if(globalThis.isSecureContext&&typeof a.getAsFileSystemHandle==="function"){let e=yield a.getAsFileSystemHandle();if(e===null)throw Error(`${a} is not a File`);if(e!==void 0){let h=yield e.getFile();return h.handle=e,l6(h)}}let o=a.getAsFile();if(!o)throw Error(`${a} is not a File`);return l6(o,(c=l===null||l===void 0?void 0:l.fullPath)!==null&&c!==void 0?c:void 0)})}function XU(a){return W3(this,void 0,void 0,function*(){return a.isDirectory?gV(a):KU(a)})}function gV(a){let l=a.createReader();return new Promise((c,o)=>{let r=[];function e(){l.readEntries((h)=>W3(this,void 0,void 0,function*(){if(!h.length)try{let Z=yield Promise.all(r);c(Z)}catch(Z){o(Z)}else{let Z=Promise.all(h.map(XU));r.push(Z),e()}}),(h)=>{o(h)})}e()})}function KU(a){return W3(this,void 0,void 0,function*(){return new Promise((l,c)=>{a.file((o)=>{let r=l6(o,a.fullPath);l(r)},(o)=>{c(o)})})})}var _h=h6(xV(),1);function CV(a){return oB(a)||cB(a)||UV(a)||lB()}function lB(){throw TypeError(`Invalid attempt to spread non-iterable instance.
|
|
172
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function cB(a){if(typeof Symbol<"u"&&a[Symbol.iterator]!=null||a["@@iterator"]!=null)return Array.from(a)}function oB(a){if(Array.isArray(a))return fv(a)}function LV(a,l){var c=Object.keys(a);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(a);l&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(a,r).enumerable})),c.push.apply(c,o)}return c}function RV(a){for(var l=1;l<arguments.length;l++){var c=arguments[l]!=null?arguments[l]:{};l%2?LV(Object(c),!0).forEach(function(o){GV(a,o,c[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(a,Object.getOwnPropertyDescriptors(c)):LV(Object(c)).forEach(function(o){Object.defineProperty(a,o,Object.getOwnPropertyDescriptor(c,o))})}return a}function GV(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 lo(a,l){return hB(a)||eB(a,l)||UV(a,l)||rB()}function rB(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
173
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function UV(a,l){if(!a)return;if(typeof a==="string")return fv(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 fv(a,l)}function fv(a,l){if(l==null||l>a.length)l=a.length;for(var c=0,o=Array(l);c<l;c++)o[c]=a[c];return o}function eB(a,l){var c=a==null?null:typeof Symbol<"u"&&a[Symbol.iterator]||a["@@iterator"];if(c==null)return;var o=[],r=!0,e=!1,h,Z;try{for(c=c.call(a);!(r=(h=c.next()).done);r=!0)if(o.push(h.value),l&&o.length===l)break}catch(t){e=!0,Z=t}finally{try{if(!r&&c.return!=null)c.return()}finally{if(e)throw Z}}return o}function hB(a){if(Array.isArray(a))return a}var ZB=typeof _h.default==="function"?_h.default:_h.default.default,tB="file-invalid-type",iB="file-too-large",nB="file-too-small",vB="too-many-files";var dB=function(){var l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",c=l.split(","),o=c.length>1?"one of ".concat(c.join(", ")):c[0];return{code:tB,message:"File type must be ".concat(o)}},wV=function(l){return{code:iB,message:"File is larger than ".concat(l," ").concat(l===1?"byte":"bytes")}},SV=function(l){return{code:nB,message:"File is smaller than ".concat(l," ").concat(l===1?"byte":"bytes")}},BV={code:vB,message:"Too many files"};function Vv(a,l){var c=a.type==="application/x-moz-file"||ZB(a,l);return[c,c?null:dB(l)]}function Fv(a,l,c){if(c6(a.size)){if(c6(l)&&c6(c)){if(a.size>c)return[!1,wV(c)];if(a.size<l)return[!1,SV(l)]}else if(c6(l)&&a.size<l)return[!1,SV(l)];else if(c6(c)&&a.size>c)return[!1,wV(c)]}return[!0,null]}function c6(a){return a!==void 0&&a!==null}function DV(a){var{files:l,accept:c,minSize:o,maxSize:r,multiple:e,maxFiles:h,validator:Z}=a;if(!e&&l.length>1||e&&h>=1&&l.length>h)return!1;return l.every(function(t){var i=Vv(t,c),v=lo(i,1),n=v[0],d=Fv(t,o,r),p=lo(d,1),M=p[0],_=Z?Z(t):null;return n&&M&&!_})}function co(a){if(typeof a.isPropagationStopped==="function")return a.isPropagationStopped();else if(typeof a.cancelBubble<"u")return a.cancelBubble;return!1}function oo(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 gv(a){a.preventDefault()}function pB(a){return a.indexOf("MSIE")!==-1||a.indexOf("Trident/")!==-1}function _B(a){return a.indexOf("Edge/")!==-1}function kV(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:window.navigator.userAgent;return pB(a)||_B(a)}function X2(){for(var a=arguments.length,l=Array(a),c=0;c<a;c++)l[c]=arguments[c];return function(o){for(var r=arguments.length,e=Array(r>1?r-1:0),h=1;h<r;h++)e[h-1]=arguments[h];return l.some(function(Z){if(!co(o)&&Z)Z.apply(void 0,[o].concat(e));return co(o)})}}function yV(){return"showOpenFilePicker"in window}function OV(a){if(c6(a)){var l=Object.entries(a).filter(function(c){var o=lo(c,2),r=o[0],e=o[1],h=!0;if(!EV(r))console.warn('Skipped "'.concat(r,'" 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.')),h=!1;if(!Array.isArray(e)||!e.every(qV))console.warn('Skipped "'.concat(r,'" because an invalid file extension was provided.')),h=!1;return h}).reduce(function(c,o){var r=lo(o,2),e=r[0],h=r[1];return RV(RV({},c),{},GV({},e,h))},{});return[{description:"Files",accept:l}]}return a}function PV(a){if(c6(a))return Object.entries(a).reduce(function(l,c){var o=lo(c,2),r=o[0],e=o[1];return[].concat(CV(l),[r],CV(e))},[]).filter(function(l){return EV(l)||qV(l)}).join(",");return}function TV(a){return a instanceof DOMException&&(a.name==="AbortError"||a.code===a.ABORT_ERR)}function bV(a){return a instanceof DOMException&&(a.name==="SecurityError"||a.code===a.SECURITY_ERR)}function EV(a){return a==="audio/*"||a==="video/*"||a==="image/*"||a==="text/*"||a==="application/*"||/\w+\/[-+.\w]+/g.test(a)}function qV(a){return/^.*\.[\w]+$/.test(a)}var MB=["children"],AB=["open"],mB=["refKey","role","onKeyDown","onFocus","onBlur","onClick","onDragEnter","onDragOver","onDragLeave","onDrop"],sB=["refKey","onChange","onClick"];function uB(a){return VB(a)||fB(a)||QV(a)||HB()}function HB(){throw TypeError(`Invalid attempt to spread non-iterable instance.
|
|
174
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function fB(a){if(typeof Symbol<"u"&&a[Symbol.iterator]!=null||a["@@iterator"]!=null)return Array.from(a)}function VB(a){if(Array.isArray(a))return Cv(a)}function xv(a,l){return xB(a)||gB(a,l)||QV(a,l)||FB()}function FB(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
175
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function QV(a,l){if(!a)return;if(typeof a==="string")return Cv(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 Cv(a,l)}function Cv(a,l){if(l==null||l>a.length)l=a.length;for(var c=0,o=Array(l);c<l;c++)o[c]=a[c];return o}function gB(a,l){var c=a==null?null:typeof Symbol<"u"&&a[Symbol.iterator]||a["@@iterator"];if(c==null)return;var o=[],r=!0,e=!1,h,Z;try{for(c=c.call(a);!(r=(h=c.next()).done);r=!0)if(o.push(h.value),l&&o.length===l)break}catch(t){e=!0,Z=t}finally{try{if(!r&&c.return!=null)c.return()}finally{if(e)throw Z}}return o}function xB(a){if(Array.isArray(a))return a}function WV(a,l){var c=Object.keys(a);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(a);l&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(a,r).enumerable})),c.push.apply(c,o)}return c}function _0(a){for(var l=1;l<arguments.length;l++){var c=arguments[l]!=null?arguments[l]:{};l%2?WV(Object(c),!0).forEach(function(o){Lv(a,o,c[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(a,Object.getOwnPropertyDescriptors(c)):WV(Object(c)).forEach(function(o){Object.defineProperty(a,o,Object.getOwnPropertyDescriptor(c,o))})}return a}function Lv(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 Mh(a,l){if(a==null)return{};var c=CB(a,l),o,r;if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(a);for(r=0;r<e.length;r++){if(o=e[r],l.indexOf(o)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(a,o))continue;c[o]=a[o]}}return c}function CB(a,l){if(a==null)return{};var c={},o=Object.keys(a),r,e;for(e=0;e<o.length;e++){if(r=o[e],l.indexOf(r)>=0)continue;c[r]=a[r]}return c}var Ah=/*@__PURE__*/q(function(a,l){var c=a.children,o=Mh(a,MB),r=LB(o),e=r.open,h=Mh(r,AB);return h5(l,function(){return{open:e}},[e]),/*@__PURE__*/LZ.createElement(p1,null,c(_0(_0({},h),{},{open:e})))});Ah.displayName="Dropzone";var JV={disabled:!1,getFilesFromEvent:Hv,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};Ah.defaultProps=JV;Ah.propTypes={children:X1.default.func,accept:X1.default.objectOf(X1.default.arrayOf(X1.default.string)),multiple:X1.default.bool,preventDropOnDocument:X1.default.bool,noClick:X1.default.bool,noKeyboard:X1.default.bool,noDrag:X1.default.bool,noDragEventsBubbling:X1.default.bool,minSize:X1.default.number,maxSize:X1.default.number,maxFiles:X1.default.number,disabled:X1.default.bool,getFilesFromEvent:X1.default.func,onFileDialogCancel:X1.default.func,onFileDialogOpen:X1.default.func,useFsAccessApi:X1.default.bool,autoFocus:X1.default.bool,onDragEnter:X1.default.func,onDragLeave:X1.default.func,onDragOver:X1.default.func,onDrop:X1.default.func,onDropAccepted:X1.default.func,onDropRejected:X1.default.func,onError:X1.default.func,validator:X1.default.func};var IV=Ah,Rv={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,acceptedFiles:[],fileRejections:[]};function LB(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},l=_0(_0({},JV),a),c=l.accept,o=l.disabled,r=l.getFilesFromEvent,e=l.maxSize,h=l.minSize,Z=l.multiple,t=l.maxFiles,i=l.onDragEnter,v=l.onDragLeave,n=l.onDragOver,d=l.onDrop,p=l.onDropAccepted,M=l.onDropRejected,_=l.onFileDialogCancel,A=l.onFileDialogOpen,m=l.useFsAccessApi,u=l.autoFocus,f=l.preventDropOnDocument,H=l.noClick,F=l.noKeyboard,R=l.noDrag,C=l.noDragEventsBubbling,b=l.onError,O=l.validator,c1=_1(function(){return PV(c)},[c]),l1=_1(function(){return OV(c)},[c]),J=_1(function(){return typeof A==="function"?A:zV},[A]),x=_1(function(){return typeof _==="function"?_:zV},[_]),w=k(null),D=k(null),$=s2(RB,Rv),K=xv($,2),n1=K[0],I=K[1],M1=n1.isFocused,f1=n1.isFileDialogActive,y=k(typeof window<"u"&&window.isSecureContext&&m&&yV()),P=function(){if(!y.current&&f1)setTimeout(function(){if(D.current){var F1=D.current.files;if(!F1.length)I({type:"closeDialog"}),x()}},300)};N(function(){return window.addEventListener("focus",P,!1),function(){window.removeEventListener("focus",P,!1)}},[D,f1,x,y]);var x1=k([]),D1=function(F1){if(w.current&&w.current.contains(F1.target))return;F1.preventDefault(),x1.current=[]};N(function(){if(f)document.addEventListener("dragover",gv,!1),document.addEventListener("drop",D1,!1);return function(){if(f)document.removeEventListener("dragover",gv),document.removeEventListener("drop",D1)}},[w,f]),N(function(){if(!o&&u&&w.current)w.current.focus();return function(){}},[w,u,o]);var e0=W(function(r1){if(b)b(r1);else console.error(r1)},[b]),X5=W(function(r1){if(r1.preventDefault(),r1.persist(),e6(r1),x1.current=[].concat(uB(x1.current),[r1.target]),oo(r1))Promise.resolve(r(r1)).then(function(F1){if(co(r1)&&!C)return;var h0=F1.length,M0=h0>0&&DV({files:F1,accept:c1,minSize:h,maxSize:e,multiple:Z,maxFiles:t,validator:O}),o5=h0>0&&!M0;if(I({isDragAccept:M0,isDragReject:o5,isDragActive:!0,type:"setDraggedFiles"}),i)i(r1)}).catch(function(F1){return e0(F1)})},[r,i,e0,C,c1,h,e,Z,t,O]),M2=W(function(r1){r1.preventDefault(),r1.persist(),e6(r1);var F1=oo(r1);if(F1&&r1.dataTransfer)try{r1.dataTransfer.dropEffect="copy"}catch(h0){}if(F1&&n)n(r1);return!1},[n,C]),A2=W(function(r1){r1.preventDefault(),r1.persist(),e6(r1);var F1=x1.current.filter(function(M0){return w.current&&w.current.contains(M0)}),h0=F1.indexOf(r1.target);if(h0!==-1)F1.splice(h0,1);if(x1.current=F1,F1.length>0)return;if(I({type:"setDraggedFiles",isDragActive:!1,isDragAccept:!1,isDragReject:!1}),oo(r1)&&v)v(r1)},[w,v,C]),K5=W(function(r1,F1){var h0=[],M0=[];if(r1.forEach(function(o5){var c4=Vv(o5,c1),t3=xv(c4,2),h1=t3[0],u1=t3[1],U1=Fv(o5,h,e),J1=xv(U1,2),Z0=J1[0],_5=J1[1],b0=O?O(o5):null;if(h1&&Z0&&!b0)h0.push(o5);else{var j2=[u1,_5];if(b0)j2=j2.concat(b0);M0.push({file:o5,errors:j2.filter(function(r5){return r5})})}}),!Z&&h0.length>1||Z&&t>=1&&h0.length>t)h0.forEach(function(o5){M0.push({file:o5,errors:[BV]})}),h0.splice(0);if(I({acceptedFiles:h0,fileRejections:M0,isDragReject:M0.length>0,type:"setFiles"}),d)d(h0,M0,F1);if(M0.length>0&&M)M(M0,F1);if(h0.length>0&&p)p(h0,F1)},[I,Z,c1,h,e,t,d,p,M,O]),y5=W(function(r1){if(r1.preventDefault(),r1.persist(),e6(r1),x1.current=[],oo(r1))Promise.resolve(r(r1)).then(function(F1){if(co(r1)&&!C)return;K5(F1,r1)}).catch(function(F1){return e0(F1)});I({type:"reset"})},[r,K5,e0,C]),v1=W(function(){if(y.current){I({type:"openDialog"}),J();var r1={multiple:Z,types:l1};window.showOpenFilePicker(r1).then(function(F1){return r(F1)}).then(function(F1){K5(F1,null),I({type:"closeDialog"})}).catch(function(F1){if(TV(F1))x(F1),I({type:"closeDialog"});else if(bV(F1))if(y.current=!1,D.current)D.current.value=null,D.current.click();else e0(Error("Cannot open the file picker because the https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API is not supported and no <input> was provided."));else e0(F1)});return}if(D.current)I({type:"openDialog"}),J(),D.current.value=null,D.current.click()},[I,J,x,m,K5,e0,l1,Z]),O5=W(function(r1){if(!w.current||!w.current.isEqualNode(r1.target))return;if(r1.key===" "||r1.key==="Enter"||r1.keyCode===32||r1.keyCode===13)r1.preventDefault(),v1()},[w,v1]),d1=W(function(){I({type:"focus"})},[]),f5=W(function(){I({type:"blur"})},[]),m2=W(function(){if(H)return;if(kV())setTimeout(v1,0);else v1()},[H,v1]),P5=function(F1){return o?null:F1},r6=function(F1){return F?null:P5(F1)},a4=function(F1){return R?null:P5(F1)},e6=function(F1){if(C)F1.stopPropagation()},gh=_1(function(){return function(){var r1=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},F1=r1.refKey,h0=F1===void 0?"ref":F1,M0=r1.role,o5=r1.onKeyDown,c4=r1.onFocus,t3=r1.onBlur,h1=r1.onClick,u1=r1.onDragEnter,U1=r1.onDragOver,J1=r1.onDragLeave,Z0=r1.onDrop,_5=Mh(r1,mB);return _0(_0(Lv({onKeyDown:r6(X2(o5,O5)),onFocus:r6(X2(c4,d1)),onBlur:r6(X2(t3,f5)),onClick:P5(X2(h1,m2)),onDragEnter:a4(X2(u1,X5)),onDragOver:a4(X2(U1,M2)),onDragLeave:a4(X2(J1,A2)),onDrop:a4(X2(Z0,y5)),role:typeof M0==="string"&&M0!==""?M0:"presentation"},h0,w),!o&&!F?{tabIndex:0}:{}),_5)}},[w,O5,d1,f5,m2,X5,M2,A2,y5,F,R,o]),q8=W(function(r1){r1.stopPropagation()},[]),l4=_1(function(){return function(){var r1=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},F1=r1.refKey,h0=F1===void 0?"ref":F1,M0=r1.onChange,o5=r1.onClick,c4=Mh(r1,sB),t3=Lv({accept:c1,multiple:Z,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:P5(X2(M0,y5)),onClick:P5(X2(o5,q8)),tabIndex:-1},h0,D);return _0(_0({},t3),c4)}},[D,c,Z,y5,o]);return _0(_0({},n1),{},{isFocused:M1&&!o,getRootProps:gh,getInputProps:l4,rootRef:w,inputRef:D,open:P5(v1)})}function RB(a,l){switch(l.type){case"focus":return _0(_0({},a),{},{isFocused:!0});case"blur":return _0(_0({},a),{},{isFocused:!1});case"openDialog":return _0(_0({},Rv),{},{isFileDialogActive:!0});case"closeDialog":return _0(_0({},a),{},{isFileDialogActive:!1});case"setDraggedFiles":return _0(_0({},a),{},{isDragActive:l.isDragActive,isDragAccept:l.isDragAccept,isDragReject:l.isDragReject});case"setFiles":return _0(_0({},a),{},{acceptedFiles:l.acceptedFiles,fileRejections:l.fileRejections,isDragReject:l.isDragReject});case"reset":return _0({},Rv);default:return a}}function zV(){}async function $V(a){let l={data:[],warnings:[],error:"",isError:!1},c=a.find((h)=>h.path.toLowerCase().endsWith(z0)),o=-1,r="/";if(!c)l.warnings.push("No manifest.txt file found."),l.isError=!1;else o=c.path.lastIndexOf("/"),r=c.path.substring(0,o+1);for(let h of a){if(h.size===0)continue;let Z=await h.arrayBuffer(),t=new Uint8Array(Z),i=h.path,v=h.path.lastIndexOf("/"),n=v>-1?h.path.substring(0,v+1):"",d="/";if(n){let p=n.split("/").filter((_)=>_.length>0),M=r.split("/").filter((_)=>_.length>0);p.forEach((_)=>{if(M.includes(_))d+=`${_}/`})}i=i.replace(d,"").replace(/^\./,""),l.data.push({fileName:i,content:t})}let e=[];if(r!=="/"){if(e=a.filter((h)=>!h.path.startsWith(r)),e.length>0)l.warnings.push("Some files are outside of manifest.txt directory."),l.warnings.push(...e.map((h)=>`File: ${h.relativePath}`))}return l}async function*YV(a,l,c){await w8(a,l);let o=x7(a),r={data:[],error:"",isError:!1,warnings:[]},e=[];for(let h of c){let Z=h.fileName.lastIndexOf("/"),t=Z>-1,i=t?h.fileName.substring(Z+1):h.fileName,v=h.fileName.substring(0,Z),n=`${B1}/${l}${v?`/${v}`:""}`,d=a.web.getFolderByServerRelativePath(n);if(t){if(!e.includes(v))try{await af(a,l,v.split("/")),e.push(v)}catch(p){return r.error=`Error while creating ${v} in ${n} folder in ${o}. ${p}`,r.isError=!0,r}}try{await d.files.addUsingPath(i,new Blob([h.content]),{Overwrite:!0});let p=`${i} uploaded successfully`;r.data.push(p),yield{data:p,success:!0,fileName:h.fileName}}catch(p){let M=`Error while uploading ${i} in ${n} folder in ${o}`;s1(M,p),r.warnings.push(M),yield{data:M,success:!1,fileName:h.fileName}}}if(r.data.length===0&&r.warnings.length>0)r.error="All files failed to upload.",r.isError=!0;return r}async function wB(a,l){let c=await a.web.using(sH())(),o=a.web.lists.getByTitle(B1).items.select("FileLeafRef","FileDirRef").filter(`FSObjType eq 0 and substringof('${B1}/${l}',FileDirRef)`).top(100),r=[],e=c.ServerRelativeUrl.replace(/\/$/,"");for await(let h of o)h.forEach((t)=>{let i=t.FileDirRef.replace(`${e}/${B1}/${l}`,"."),v=t.FileLeafRef;r.push(`${i}/${v}`)});return r}async function SB(a,l){return(await wB(a,l)).filter((o)=>/\.js$/.test(o))}f7(()=>{if(G1.value?.name)SB(r0,G1.value.name).then((a)=>{a6.value=a})});var XV={},GB=function(a,l,c,o,r){var e=new Worker(XV[l]||(XV[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 e.onmessage=function(h){var Z=h.data,t=Z.$e$;if(t){var i=Error(t[0]);i.code=t[1],i.stack=t[2],r(i,null)}else r(null,Z)},e.postMessage(c,o),e},H5=Uint8Array,o6=Uint16Array,NV=Int32Array,Gv=new H5([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]),Uv=new H5([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]),aF=new H5([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),lF=function(a,l){var c=new o6(31);for(var o=0;o<31;++o)c[o]=l+=1<<a[o-1];var r=new NV(c[30]);for(var o=1;o<30;++o)for(var e=c[o];e<c[o+1];++e)r[e]=e-c[o]<<5|o;return{b:c,r}},cF=lF(Gv,2),Bv=cF.b,UB=cF.r;Bv[28]=258,UB[258]=28;var oF=lF(Uv,0),rF=oF.b,NS1=oF.r,Hh=new o6(32768);for(k1=0;k1<32768;++k1)w7=(k1&43690)>>1|(k1&21845)<<1,w7=(w7&52428)>>2|(w7&13107)<<2,w7=(w7&61680)>>4|(w7&3855)<<4,Hh[k1]=((w7&65280)>>8|(w7&255)<<8)>>1;var w7,k1,E8=function(a,l,c){var o=a.length,r=0,e=new o6(l);for(;r<o;++r)if(a[r])++e[a[r]-1];var h=new o6(l);for(r=1;r<l;++r)h[r]=h[r-1]+e[r-1]<<1;var Z;if(c){Z=new o6(1<<l);var t=15-l;for(r=0;r<o;++r)if(a[r]){var i=r<<4|a[r],v=l-a[r],n=h[a[r]-1]++<<v;for(var d=n|(1<<v)-1;n<=d;++n)Z[Hh[n]>>t]=i}}else{Z=new o6(o);for(r=0;r<o;++r)if(a[r])Z[r]=Hh[h[a[r]-1]++]>>15-a[r]}return Z},ro=new H5(288);for(k1=0;k1<144;++k1)ro[k1]=8;var k1;for(k1=144;k1<256;++k1)ro[k1]=9;var k1;for(k1=256;k1<280;++k1)ro[k1]=7;var k1;for(k1=280;k1<288;++k1)ro[k1]=8;var k1,eF=new H5(32);for(k1=0;k1<32;++k1)eF[k1]=5;var k1;var hF=/*@__PURE__*/E8(ro,9,1);var ZF=/*@__PURE__*/E8(eF,5,1),sh=function(a){var l=a[0];for(var c=1;c<a.length;++c)if(a[c]>l)l=a[c];return l},_2=function(a,l,c){var o=l/8|0;return(a[o]|a[o+1]<<8)>>(l&7)&c},uh=function(a,l){var c=l/8|0;return(a[c]|a[c+1]<<8|a[c+2]<<16)>>(l&7)},tF=function(a){return(a+7)/8|0},fh=function(a,l,c){if(l==null||l<0)l=0;if(c==null||c>a.length)c=a.length;return new H5(a.subarray(l,c))};var iF=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],u5=function(a,l,c){var o=Error(l||iF[a]);if(o.code=a,Error.captureStackTrace)Error.captureStackTrace(o,u5);if(!c)throw o;return o},nF=function(a,l,c,o){var r=a.length,e=o?o.length:0;if(!r||l.f&&!l.l)return c||new H5(0);var h=!c,Z=h||l.i!=2,t=l.i;if(h)c=new H5(r*3);var i=function(y5){var v1=c.length;if(y5>v1){var O5=new H5(Math.max(v1*2,y5));O5.set(c),c=O5}},v=l.f||0,n=l.p||0,d=l.b||0,p=l.l,M=l.d,_=l.m,A=l.n,m=r*8;do{if(!p){v=_2(a,n,1);var u=_2(a,n+1,3);if(n+=3,!u){var f=tF(n)+4,H=a[f-4]|a[f-3]<<8,F=f+H;if(F>r){if(t)u5(0);break}if(Z)i(d+H);c.set(a.subarray(f,F),d),l.b=d+=H,l.p=n=F*8,l.f=v;continue}else if(u==1)p=hF,M=ZF,_=9,A=5;else if(u==2){var R=_2(a,n,31)+257,C=_2(a,n+10,15)+4,b=R+_2(a,n+5,31)+1;n+=14;var O=new H5(b),c1=new H5(19);for(var l1=0;l1<C;++l1)c1[aF[l1]]=_2(a,n+l1*3,7);n+=C*3;var J=sh(c1),x=(1<<J)-1,w=E8(c1,J,1);for(var l1=0;l1<b;){var D=w[_2(a,n,x)];n+=D&15;var f=D>>4;if(f<16)O[l1++]=f;else{var $=0,K=0;if(f==16)K=3+_2(a,n,3),n+=2,$=O[l1-1];else if(f==17)K=3+_2(a,n,7),n+=3;else if(f==18)K=11+_2(a,n,127),n+=7;while(K--)O[l1++]=$}}var n1=O.subarray(0,R),I=O.subarray(R);_=sh(n1),A=sh(I),p=E8(n1,_,1),M=E8(I,A,1)}else u5(1);if(n>m){if(t)u5(0);break}}if(Z)i(d+131072);var M1=(1<<_)-1,f1=(1<<A)-1,y=n;for(;;y=n){var $=p[uh(a,n)&M1],P=$>>4;if(n+=$&15,n>m){if(t)u5(0);break}if(!$)u5(2);if(P<256)c[d++]=P;else if(P==256){y=n,p=null;break}else{var x1=P-254;if(P>264){var l1=P-257,D1=Gv[l1];x1=_2(a,n,(1<<D1)-1)+Bv[l1],n+=D1}var e0=M[uh(a,n)&f1],X5=e0>>4;if(!e0)u5(3);n+=e0&15;var I=rF[X5];if(X5>3){var D1=Uv[X5];I+=uh(a,n)&(1<<D1)-1,n+=D1}if(n>m){if(t)u5(0);break}if(Z)i(d+131072);var M2=d+x1;if(d<I){var A2=e-I,K5=Math.min(I,M2);if(A2+d<0)u5(3);for(;d<K5;++d)c[d]=o[A2+d]}for(;d<M2;++d)c[d]=c[d-I]}}if(l.l=p,l.p=y,l.b=d,l.f=v,p)v=1,l.m=_,l.d=M,l.n=A}while(!v);return d!=c.length&&h?fh(c,0,d):c.subarray(0,d)};var BB=/*@__PURE__*/new H5(0);var DB=function(a,l){var c={};for(var o in a)c[o]=a[o];for(var o in l)c[o]=l[o];return c},KV=function(a,l,c){var o=a(),r=a.toString(),e=r.slice(r.indexOf("[")+1,r.lastIndexOf("]")).replace(/\s+/g,"").split(",");for(var h=0;h<o.length;++h){var Z=o[h],t=e[h];if(typeof Z=="function"){l+=";"+t+"=";var i=Z.toString();if(Z.prototype)if(i.indexOf("[native code]")!=-1){var v=i.indexOf(" ",8)+1;l+=i.slice(v,i.indexOf("(",v))}else{l+=i;for(var n in Z.prototype)l+=";"+t+".prototype."+n+"="+Z.prototype[n].toString()}else l+=i}else c[t]=Z}return l},mh=[],kB=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},yB=function(a,l,c,o){if(!mh[c]){var r="",e={},h=a.length-1;for(var Z=0;Z<h;++Z)r=KV(a[Z],r,e);mh[c]={c:KV(a[h],r,e),e}}var t=DB({},mh[c].e);return GB(mh[c].c+";onmessage=function(e){for(var k in e.data)self[k]=e.data[k];onmessage="+l.toString()+"}",c,t,kB(t),o)},OB=function(){return[H5,o6,NV,Gv,Uv,aF,Bv,rF,hF,ZF,Hh,iF,E8,sh,_2,uh,tF,fh,u5,nF,Dv,vF,dF]};var vF=function(a){return postMessage(a,[a.buffer])},dF=function(a){return a&&{out:a.size&&new H5(a.size),dictionary:a.dictionary}},PB=function(a,l,c,o,r,e){var h=yB(c,o,r,function(Z,t){h.terminate(),e(Z,t)});return h.postMessage([a,l],l.consume?[a.buffer]:[]),function(){h.terminate()}};var S7=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},wv=function(a,l){return K2(a,l)+K2(a,l+4)*4294967296};function TB(a,l,c){if(!c)c=l,l={};if(typeof c!="function")u5(7);return PB(a,l,[OB],function(o){return vF(Dv(o.data[0],dF(o.data[1])))},1,c)}function Dv(a,l){return nF(a,{i:2},l&&l.out,l&&l.dictionary)}var Sv=typeof TextDecoder<"u"&&/*@__PURE__*/new TextDecoder,bB=0;try{Sv.decode(BB,{stream:!0}),bB=1}catch(a){}var EB=function(a){for(var l="",c=0;;){var o=a[c++],r=(o>127)+(o>223)+(o>239);if(c+r>a.length)return{s:l,r:fh(a,c-1)};if(!r)l+=String.fromCharCode(o);else if(r==3)o=((o&15)<<18|(a[c++]&63)<<12|(a[c++]&63)<<6|a[c++]&63)-65536,l+=String.fromCharCode(55296|o>>10,56320|o&1023);else if(r&1)l+=String.fromCharCode((o&31)<<6|a[c++]&63);else l+=String.fromCharCode((o&15)<<12|(a[c++]&63)<<6|a[c++]&63)}};function qB(a,l){if(l){var c="";for(var o=0;o<a.length;o+=16384)c+=String.fromCharCode.apply(null,a.subarray(o,o+16384));return c}else if(Sv)return Sv.decode(a);else{var r=EB(a),e=r.s,c=r.r;if(c.length)u5(8);return e}}var WB=function(a,l){return l+30+S7(a,l+26)+S7(a,l+28)},zB=function(a,l,c){var o=S7(a,l+28),r=qB(a.subarray(l+46,l+46+o),!(S7(a,l+8)&2048)),e=l+46+o,h=K2(a,l+20),Z=c&&h==4294967295?QB(a,e):[h,K2(a,l+24),K2(a,l+42)],t=Z[0],i=Z[1],v=Z[2];return[S7(a,l+10),t,i,r,e+S7(a,l+30)+S7(a,l+32),v]},QB=function(a,l){for(;S7(a,l)!=1;l+=4+S7(a,l+2));return[wv(a,l+12),wv(a,l+4),wv(a,l+20)]};var jV=typeof queueMicrotask=="function"?queueMicrotask:typeof setTimeout=="function"?setTimeout:function(a){a()};function pF(a,l,c){if(!c)c=l,l={};if(typeof c!="function")u5(7);var o=[],r=function(){for(var A=0;A<o.length;++A)o[A]()},e={},h=function(A,m){jV(function(){c(A,m)})};jV(function(){h=c});var Z=a.length-22;for(;K2(a,Z)!=101010256;--Z)if(!Z||a.length-Z>65558)return h(u5(13,0,1),null),r;var t=S7(a,Z+8);if(t){var i=t,v=K2(a,Z+16),n=v==4294967295||i==65535;if(n){var d=K2(a,Z-12);if(n=K2(a,d)==101075792,n)i=t=K2(a,d+32),v=K2(a,d+48)}var p=l&&l.filter,M=function(A){var m=zB(a,v,n),u=m[0],f=m[1],H=m[2],F=m[3],R=m[4],C=m[5],b=WB(a,C);v=R;var O=function(l1,J){if(l1)r(),h(l1,null);else{if(J)e[F]=J;if(!--t)h(null,e)}};if(!p||p({name:F,size:f,originalSize:H,compression:u}))if(!u)O(null,fh(a,b,b+f));else if(u==8){var c1=a.subarray(b,b+f);if(H<524288||f>0.8*H)try{O(null,Dv(c1,{out:new H5(H)}))}catch(l1){O(l1,null)}else o.push(TB(c1,{size:H},O))}else O(u5(14,"unknown compression type "+u,1),null);else O(null,null)};for(var _=0;_<i;++_)M(_)}else h(null,{});return r}async function _F(a){let l=await a.arrayBuffer(),c={data:[],warnings:[],error:"",isError:!1},o=new Promise((n,d)=>{pF(new Uint8Array(l),(p,M)=>{if(p)d(p);n(M)})}),r=void 0;try{r=await o}catch(n){return c.error=`${n}`,c.isError=!0,c}let e=[];Object.keys(r).forEach((n)=>{e.push(n)});let h=e.find((n)=>n.toLowerCase().endsWith(z0));if(!h)c.warnings.push("No manifest file found in the zip."),h="";let Z=h.lastIndexOf("/"),t="";if(Z>-1)t=h.substring(0,Z+1);let i=e.filter((n)=>!n.startsWith(t)),v=e.filter((n)=>n.startsWith(t));if(i.length>0)c.warnings.push("Some files are not in the root directory and wont be included."),c.warnings.push(...i.map((n)=>`File: ${n}`));return v.forEach((n)=>{let d=r[n],p=n.substring(t.length);if(d.length>0)c.data.push({fileName:p,content:d})}),c}var MF={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"},AF={borderColor:F2.colorCompoundBrandForeground1},mF={borderColor:F2.colorPaletteGreenForeground1},sF={borderColor:F2.colorPaletteRedForeground1};var N3=y0([]),JB=y0(!1);function uF(){let[a,l]=t1(0);async function c(o){N3.value=[...o];let r=YV(r0,G1.value.name,o),e=await r.next(),h=1;while(!e.done){l(h++);let Z=e.value,t=o.find((v)=>v.fileName===Z.fileName),i=Z.fileName.toLowerCase().endsWith(z0);if(t)t.status=Z.success?"uploaded":"error";if(i&&Z.success&&t){let v=y1(G1.value),n=(/*@__PURE__*/new TextDecoder()).decode(t.content),d=JSON.parse(n);v.manifest=d,R7(v,!0)}N3.value=[...o],e=await r.next()}setTimeout(()=>{JB.value=!0,N3.value=[],l(0)},3000)}return/*@__PURE__*/s(i1,{gap:16,children:/*@__PURE__*/s(i1,{children:/*@__PURE__*/s(IV,{useFsAccessApi:!1,onDropAccepted:(o,r)=>{if(o.length===1&&o[0].name.endsWith(".zip")){_F(o[0]).then((e)=>{let h=e.data.map((Z)=>{return{status:"uploading",...Z}});c(h)});return}$V(o).then((e)=>{let h=e.data.map((Z)=>{return{status:"uploading",...Z}});c(h)})},multiple:!0,noClick:!0,noKeyboard:!0,children:({getRootProps:o,getInputProps:r,isFocused:e,isDragAccept:h,isDragReject:Z,open:t})=>/*@__PURE__*/s("div",{...o({style:{...MF,...e?AF:{},...h?mF:{},...Z?sF:{}}}),children:N3.value.some((i)=>i.status==="uploading")?/*@__PURE__*/s(R4,{validationMessage:`Uploaded ${a} of ${N3.value.length} files `,validationState:"none",validation:!0,style:{width:"100%"},children:/*@__PURE__*/s(N7,{max:N3.value.length-1,value:a,thickness:"large"},void 0,!1,void 0,this)},void 0,!1,void 0,this):/*@__PURE__*/s(p1,{children:[/*@__PURE__*/s("input",{...r()},void 0,!1,void 0,this),/*@__PURE__*/s(Z2,{children:[/*@__PURE__*/s(c8,{children:"Choose a file(s) "},void 0,!1,void 0,this),"or drag it here"]},void 0,!0,void 0,this),/*@__PURE__*/s(g1,{appearance:"primary",onClick:t,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 HF({jsFiles:a}){let l=G1.value,c=Q7();async function o(r,e){if(!l)return;if(r)l.manifest.appRelativeEntryPointUrls.push(e);if(!r)l.manifest.appRelativeEntryPointUrls=l.manifest.appRelativeEntryPointUrls.filter((h)=>h!==e);R7(l,!0)}if(!l)return null;return/*@__PURE__*/s(T2,{...c,separator:!0,open:B8.value,onOpenChange:(r,{open:e})=>{B8.value=e},style:{width:"440px"},children:[/*@__PURE__*/s(E2,{children:/*@__PURE__*/s(q2,{action:/*@__PURE__*/s(g1,{appearance:"subtle","aria-label":"Close",icon:/*@__PURE__*/s(p7,{},void 0,!1,void 0,this),onClick:()=>B8.value=!1},void 0,!1,void 0,this),children:"Manage Entry Points"},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/s(b2,{children:/*@__PURE__*/s(i1,{gap:16,style:{padding:"12px 0px"},children:[/*@__PURE__*/s(uF,{},void 0,!1,void 0,this),/*@__PURE__*/s(i1,{gap:4,children:[a.map((r)=>/*@__PURE__*/s(S0,{label:r,labelPosition:"before",defaultChecked:l.manifest.appRelativeEntryPointUrls.some((e)=>e===r),onChange:(e,h)=>{o(h.checked,r)},root:{style:{justifyContent:"space-between"}}},void 0,!1,void 0,this)),/*@__PURE__*/s(i1,{gap:20,style:{marginTop:"10px",padding:"0px 10px 0 8px"},children:N3.value.map((r)=>/*@__PURE__*/s(i1,{horizontalAlign:"space-between",horizontal:!0,children:[/*@__PURE__*/s(i1,{children:r.fileName},void 0,!1,void 0,this),r.status==="uploaded"&&/*@__PURE__*/s(K0,{size:"medium",appearance:"ghost",color:"success",icon:/*@__PURE__*/s(tm,{},void 0,!1,void 0,this)},void 0,!1,void 0,this),r.status==="error"&&/*@__PURE__*/s(K0,{size:"medium",appearance:"ghost",color:"danger",icon:/*@__PURE__*/s(Mm,{},void 0,!1,void 0,this)},void 0,!1,void 0,this),r.status==="uploading"&&/*@__PURE__*/s(I5,{size:"tiny"},void 0,!1,void 0,this)]},r.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)}function fF(){let a=G1.value,l=k(null),c=W((o)=>{l.current?.setTarget(o)},[l]);if(!a)return null;return/*@__PURE__*/s(p1,{children:[/*@__PURE__*/s(i1,{horizontal:!0,horizontalAlign:"space-between",verticalAlign:"center",style:{borderBottom:"1px solid #eaeaea",paddingBottom:"10px"},children:[/*@__PURE__*/s(n5,{children:"Entry points"},void 0,!1,void 0,this),/*@__PURE__*/s(i1,{horizontal:!0,verticalAlign:"center",children:/*@__PURE__*/s(S2,{positioning:{positioningRef:l},withArrow:!0,children:[/*@__PURE__*/s(h2,{disableButtonEnhancement:!0,children:/*@__PURE__*/s(q0,{children:/*@__PURE__*/s(Mr,{},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/s(w2,{tabIndex:-1,children:/*@__PURE__*/s(t2,{children:/*@__PURE__*/s(Z2,{children:["Select files that export an array of ",/*@__PURE__*/s("i",{children:"SPFxExtensionAppRegistration"},void 0,!1,void 0,this)," as default export."]},void 0,!0,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),a6.value.filter((o)=>a.manifest.appRelativeEntryPointUrls.some((r)=>o===r)).map((o)=>/*@__PURE__*/s(i1,{horizontal:!0,gap:4,verticalAlign:"center",children:[/*@__PURE__*/s(im,{},void 0,!1,void 0,this)," ",o]},void 0,!0,void 0,this)),/*@__PURE__*/s(g1,{onClick:()=>{B8.value=!0},children:"Upload / Edit"},void 0,!1,void 0,this),/*@__PURE__*/s(HF,{jsFiles:a6.value},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function VF(){let a=G1.value;if(!a)return null;return/*@__PURE__*/s(i1,{horizontal:!0,gap:20,children:[/*@__PURE__*/s(i1,{gap:16,style:{paddingBottom:"20px",flexBasis:"300px",flexShrink:0,paddingRight:"20px",borderRight:"1px solid #eaeaea"},children:/*@__PURE__*/s(fF,{},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/s(i1,{style:{flexGrow:1},children:[/*@__PURE__*/s(i1,{horizontal:!0,horizontalAlign:"space-between",verticalAlign:"center",style:{minHeight:"32px"},children:[/*@__PURE__*/s(i1,{horizontal:!0,gap:16,verticalAlign:"center",children:[/*@__PURE__*/s(n5,{children:"App/Entry Point Configuration"},void 0,!1,void 0,this),/*@__PURE__*/s(Nf,{},void 0,!1,void 0,this)]},void 0,!0,void 0,this),/*@__PURE__*/s(i1,{gap:8,horizontal:!0,children:[/*@__PURE__*/s(S0,{checked:a.manifest.enableCaching,label:"Enable caching",onChange:(l,c)=>{a.manifest.enableCaching=c.checked,R7(a)}},void 0,!1,void 0,this),/*@__PURE__*/s(i5,{placeholder:"Cache string",disabled:!a.manifest.enableCaching,type:"text",value:a.manifest.cacheString??"",onChange:(l,c)=>{a.manifest.cacheString=c.value,R7(a)}},void 0,!1,void 0,this),/*@__PURE__*/s(g1,{size:"medium",disabled:!a.manifest.enableCaching,onClick:async()=>{a.manifest.cacheString=await Kf(),R7(a)},children:"Generate"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),/*@__PURE__*/s(eV,{},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function FF(){let[a,l]=t1(""),[c,o]=t1(!1);n2(()=>{if(!G1.value)return;let e=JSON.stringify(G1.value);if(!a){l(e);return}l(e),o(a!==e)});async function r(){let e=G1.value;await ff(r0,e.name,e.manifest),R7(e,!0),G1.value=void 0}if(!G1.value)return null;return/*@__PURE__*/s(i1,{gap:20,style:{height:"100%"},children:[/*@__PURE__*/s(i1,{horizontalAlign:"space-between",horizontal:!0,verticalAlign:"center",children:[/*@__PURE__*/s(i1,{gap:10,horizontal:!0,verticalAlign:"center",children:[/*@__PURE__*/s(g1,{appearance:"secondary",icon:/*@__PURE__*/s(em,{},void 0,!1,void 0,this),onClick:()=>{G1.value=void 0}},void 0,!1,void 0,this),/*@__PURE__*/s(o8,{children:["Configuration of ",G1.value.name]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),/*@__PURE__*/s(i1,{horizontal:!0,gap:15,children:/*@__PURE__*/s(Vf,{children:/*@__PURE__*/s(g1,{appearance:"primary",disabled:!c,onClick:r,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__*/s(VF,{},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}var kv=R8(),Vh=kv??I4(),Fh=ch();function IB(){let a=[];if($2)return a.push(/*@__PURE__*/s(K0,{size:"extra-large",shape:"rounded",color:"danger",children:"Global"},"global",!1,void 0,this)),a;if(Fh==="hubRoot")a.push(/*@__PURE__*/s(K0,{size:"extra-large",shape:"rounded",color:"success",children:"Hub root site"},"hubRoot",!1,void 0,this));if(Fh==="hubChild")a.push(/*@__PURE__*/s(K0,{size:"extra-large",shape:"rounded",color:"warning",children:"Hub child site"},"child",!1,void 0,this));if(Fh==="nonHub")a.push(/*@__PURE__*/s(K0,{size:"extra-large",shape:"rounded",color:"brand",children:"Non hub site"},"nonhub",!1,void 0,this));if(Fh==="subsite")a.push(/*@__PURE__*/s(K0,{size:"extra-large",shape:"rounded",color:"informative",children:"Sub site"},"subsite",!1,void 0,this));else a.push(/*@__PURE__*/s(K0,{size:"extra-large",shape:"rounded",color:"informative",children:"Site collection"},"siteCollectionRoot",!1,void 0,this));return a}function gF(){let[a]=AZ(),{dispatchToast:l}=E4(Y3);if(a)return s1("Error in App component:",a),/*@__PURE__*/s("div",{children:["Error: ",a.message]},void 0,!0,void 0,this);let c=()=>l(/*@__PURE__*/s(O2,{children:/*@__PURE__*/s(P2,{children:"Link copied to clipboard."},void 0,!1,void 0,this)},void 0,!1,void 0,this),{position:"top",intent:"info",timeout:1000,toastId:Vh});return/*@__PURE__*/s(i1,{style:{padding:"30px"},gap:20,children:[/*@__PURE__*/s(i1,{horizontal:!0,gap:16,verticalAlign:"center",children:[/*@__PURE__*/s(r8,{children:[kv?"Web":"Global"," application list"]},void 0,!0,void 0,this),...IB()]},void 0,!0,void 0,this),kv&&/*@__PURE__*/s(i1,{horizontal:!0,gap:8,verticalAlign:"center",children:[/*@__PURE__*/s(q0,{target:"_blank",href:Vh,children:Vh},void 0,!1,void 0,this),/*@__PURE__*/s(lm,{onClick:()=>{navigator.clipboard.writeText(Vh),c()}},void 0,!1,void 0,this)]},void 0,!0,void 0,this),/*@__PURE__*/s(Hf,{},void 0,!1,void 0,this),/*@__PURE__*/s(FF,{},void 0,!1,void 0,this),/*@__PURE__*/s(uf,{},void 0,!1,void 0,this),/*@__PURE__*/s(nf,{},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}var xF=He(window.__globalSettings__.customizations.settings.theme.palette),$B=window.__globalSettings__.customizations.settings.theme.isInverted?E6(xF):f3(xF);document.querySelector("#spCommandBar button[name='Edit']")?.setAttribute("style","display:none;");function CF(a){return/*@__PURE__*/s(M4,{theme:$B,style:{height:"100%"},children:/*@__PURE__*/s(gF,{},void 0,!1,void 0,this)},void 0,!1,void 0,this)}async function CU1(a){if(a.domElement)G7(CF({instance:a}),a.domElement);return()=>{if(a.domElement)G7(null,a.domElement)}}export{CU1 as launch};
|