@strapi/admin 4.6.0-beta.2 → 4.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/admin/src/components/ConfigurationsProvider/index.js +21 -18
- package/admin/src/components/ConfigurationsProvider/reducer.js +1 -0
- package/admin/src/components/LeftMenu/index.js +53 -50
- package/admin/src/components/UnauthenticatedLogo/index.js +1 -1
- package/admin/src/content-manager/components/Hint/index.js +4 -17
- package/admin/src/content-manager/components/InputUID/index.js +3 -14
- package/admin/src/content-manager/components/PreviewWysiwyg/Wrapper.js +22 -27
- package/admin/src/content-manager/components/Wysiwyg/EditorLayout.js +19 -28
- package/admin/src/content-manager/components/Wysiwyg/index.js +4 -8
- package/admin/src/content-manager/pages/App/LeftMenu/index.js +3 -8
- package/admin/src/content-manager/pages/App/LeftMenu/utils/index.js +1 -0
- package/admin/src/content-manager/pages/App/LeftMenu/utils/matchByTitle.js +24 -0
- package/admin/src/content-manager/pages/EditView/{Informations → Information}/index.js +55 -39
- package/admin/src/content-manager/pages/EditView/{Informations → Information}/utils/getUnits.js +0 -0
- package/admin/src/content-manager/pages/EditView/index.js +3 -3
- package/admin/src/core/store/configureStore.js +22 -4
- package/admin/src/core/utils/axiosInstance.js +4 -2
- package/admin/src/hooks/useSettingsMenu/init.js +2 -25
- package/admin/src/hooks/useSettingsMenu/utils/adminLinks.js +4 -0
- package/admin/src/hooks/useSettingsMenu/utils/customAdminLinks.js +1 -0
- package/admin/src/hooks/useSettingsMenu/utils/defaultAdminLinks.js +21 -0
- package/admin/src/index.js +3 -3
- package/admin/src/pages/App/index.js +6 -2
- package/admin/src/pages/SettingsPage/pages/ApplicationInfosPage/components/CustomizationInfos/index.js +142 -0
- package/admin/src/pages/SettingsPage/pages/ApplicationInfosPage/components/{Form → CustomizationInfos}/init.js +3 -0
- package/admin/src/pages/SettingsPage/pages/ApplicationInfosPage/components/{Form → CustomizationInfos}/reducer.js +20 -0
- package/admin/src/pages/SettingsPage/pages/ApplicationInfosPage/components/LogoInput/index.js +21 -17
- package/admin/src/pages/SettingsPage/pages/ApplicationInfosPage/index.js +68 -42
- package/admin/src/pages/SettingsPage/pages/ApplicationInfosPage/utils/api.js +5 -1
- package/admin/src/pages/SettingsPage/pages/Webhooks/EditView/components/EventInput/index.js +1 -1
- package/admin/src/pages/SettingsPage/utils/defaultRoutes.js +0 -11
- package/admin/src/permissions/defaultPermissions.js +4 -0
- package/admin/src/translations/en.json +22 -16
- package/build/2607.ce06608e.chunk.js +66 -0
- package/build/{2743.692b1f21.chunk.js → 2743.dea372fb.chunk.js} +14 -14
- package/build/3075.03ebe93d.chunk.js +115 -0
- package/build/3632.963ac97d.chunk.js +138 -0
- package/build/{4318.87affaf2.chunk.js → 4318.8cb388a5.chunk.js} +1 -1
- package/build/4656.a0d43cca.chunk.js +159 -0
- package/build/{5015.f5e15fdb.chunk.js → 5015.8e3fe50b.chunk.js} +1 -1
- package/build/{3557.e7115160.chunk.js → 5910.a5374848.chunk.js} +130 -90
- package/build/{8633.6f546066.chunk.js → 8633.4af74a50.chunk.js} +1 -1
- package/build/9641.a311b612.chunk.js +276 -0
- package/build/9707.62831b4d.chunk.js +101 -0
- package/build/Admin-authenticatedApp.50dc27f9.chunk.js +75 -0
- package/build/Admin_homePage.79ab880c.chunk.js +77 -0
- package/build/Admin_marketplace.eabf21b2.chunk.js +26 -0
- package/build/{Admin_pluginsPage.d2a9a619.chunk.js → Admin_pluginsPage.953e796b.chunk.js} +1 -1
- package/build/{Admin_profilePage.5e830ceb.chunk.js → Admin_profilePage.5c2efda5.chunk.js} +1 -1
- package/build/Admin_settingsPage.19cfb9ca.chunk.js +178 -0
- package/build/{Upload_ConfigureTheView.9bdf41b5.chunk.js → Upload_ConfigureTheView.3f2b6e6a.chunk.js} +1 -1
- package/build/admin-app.34295b50.chunk.js +112 -0
- package/build/{admin-edit-roles-page.32bfe5ea.chunk.js → admin-edit-roles-page.d50d9654.chunk.js} +1 -1
- package/build/admin-edit-users.912b856d.chunk.js +10 -0
- package/build/admin-users.e36e7111.chunk.js +11 -0
- package/build/{api-tokens-list-page.a55e427c.chunk.js → api-tokens-list-page.1cd86136.chunk.js} +1 -1
- package/build/audit-logs-settings-page.308a6250.chunk.js +1 -0
- package/build/{content-manager.ad929a94.chunk.js → content-manager.851f40ce.chunk.js} +128 -132
- package/build/content-type-builder-list-view.4243b2b1.chunk.js +198 -0
- package/build/{content-type-builder-translation-de-json.29df67b8.chunk.js → content-type-builder-translation-de-json.0979cccb.chunk.js} +1 -1
- package/build/{content-type-builder-translation-dk-json.e22d2527.chunk.js → content-type-builder-translation-dk-json.e05583e9.chunk.js} +1 -1
- package/build/content-type-builder-translation-en-json.e577d595.chunk.js +1 -0
- package/build/{content-type-builder-translation-es-json.1044b252.chunk.js → content-type-builder-translation-es-json.fe4daad8.chunk.js} +1 -1
- package/build/{content-type-builder-translation-fr-json.2183e6b3.chunk.js → content-type-builder-translation-fr-json.b1eb52f6.chunk.js} +1 -1
- package/build/{content-type-builder-translation-id-json.ba3e8891.chunk.js → content-type-builder-translation-id-json.ee3b36bb.chunk.js} +1 -1
- package/build/{content-type-builder-translation-it-json.d4661201.chunk.js → content-type-builder-translation-it-json.13b3c26a.chunk.js} +1 -1
- package/build/{content-type-builder-translation-ko-json.57ff7f51.chunk.js → content-type-builder-translation-ko-json.8a274be5.chunk.js} +1 -1
- package/build/{content-type-builder-translation-pl-json.a057b51e.chunk.js → content-type-builder-translation-pl-json.24a34349.chunk.js} +1 -1
- package/build/{content-type-builder-translation-pt-BR-json.446df9da.chunk.js → content-type-builder-translation-pt-BR-json.97f71a9d.chunk.js} +1 -1
- package/build/{content-type-builder-translation-ru-json.8c51843e.chunk.js → content-type-builder-translation-ru-json.54d11230.chunk.js} +1 -1
- package/build/{content-type-builder-translation-sv-json.af6ecca1.chunk.js → content-type-builder-translation-sv-json.59f5e1e5.chunk.js} +1 -1
- package/build/{content-type-builder-translation-tr-json.da83a07e.chunk.js → content-type-builder-translation-tr-json.cea4d226.chunk.js} +1 -1
- package/build/{content-type-builder-translation-zh-json.42f94cb3.chunk.js → content-type-builder-translation-zh-json.faedd610.chunk.js} +1 -1
- package/build/content-type-builder.365b6bf4.chunk.js +125 -0
- package/build/email-settings-page.379552b1.chunk.js +15 -0
- package/build/en-json.38d182e5.chunk.js +1 -0
- package/build/i18n-settings-page.3ab28b1a.chunk.js +65 -0
- package/build/{i18n-translation-de-json.dc876c08.chunk.js → i18n-translation-de-json.362384a6.chunk.js} +1 -1
- package/build/{i18n-translation-dk-json.49aaf933.chunk.js → i18n-translation-dk-json.89401417.chunk.js} +1 -1
- package/build/{i18n-translation-en-json.ac9ebc1b.chunk.js → i18n-translation-en-json.60af6722.chunk.js} +1 -1
- package/build/{i18n-translation-es-json.57072ed3.chunk.js → i18n-translation-es-json.87b494d1.chunk.js} +1 -1
- package/build/{i18n-translation-fr-json.84733f34.chunk.js → i18n-translation-fr-json.57ddc77e.chunk.js} +1 -1
- package/build/{i18n-translation-ko-json.fc73fe20.chunk.js → i18n-translation-ko-json.ef4f9471.chunk.js} +1 -1
- package/build/{i18n-translation-pl-json.16e5df90.chunk.js → i18n-translation-pl-json.dfac513d.chunk.js} +1 -1
- package/build/{i18n-translation-tr-json.cb39c048.chunk.js → i18n-translation-tr-json.10f0600d.chunk.js} +1 -1
- package/build/{i18n-translation-zh-Hans-json.2cf82d2d.chunk.js → i18n-translation-zh-Hans-json.757ce62d.chunk.js} +1 -1
- package/build/{i18n-translation-zh-json.ed1d272e.chunk.js → i18n-translation-zh-json.bef2dc07.chunk.js} +1 -1
- package/build/index.html +1 -1
- package/build/main.9f31732e.js +4454 -0
- package/build/runtime~main.2b8e2318.js +2 -0
- package/build/sso-settings-page.b64a44e8.chunk.js +41 -0
- package/build/upload-settings.6c26ff37.chunk.js +89 -0
- package/build/upload.2c69d238.chunk.js +38 -0
- package/build/users-advanced-settings-page.c4270682.chunk.js +13 -0
- package/build/users-email-settings-page.60422a2f.chunk.js +28 -0
- package/build/users-providers-settings-page.e1834060.chunk.js +104 -0
- package/build/{users-roles-settings-page.ad28ab42.chunk.js → users-roles-settings-page.3ef35132.chunk.js} +1 -1
- package/build/webhook-edit-page.c0080dc1.chunk.js +75 -0
- package/build/webhook-list-page.f75ba3f2.chunk.js +42 -0
- package/ee/admin/hooks/useSettingsMenu/utils/customAdminLinks.js +17 -0
- package/{admin/src → ee/admin}/pages/SettingsPage/pages/AuditLogs/ListView/Modal/ActionBody.js +0 -0
- package/{admin/src → ee/admin}/pages/SettingsPage/pages/AuditLogs/ListView/Modal/ActionItem.js +0 -0
- package/{admin/src → ee/admin}/pages/SettingsPage/pages/AuditLogs/ListView/Modal/index.js +5 -1
- package/{admin/src → ee/admin}/pages/SettingsPage/pages/AuditLogs/ListView/PaginationFooter/index.js +0 -0
- package/{admin/src → ee/admin}/pages/SettingsPage/pages/AuditLogs/ListView/TableRows/index.js +0 -0
- package/{admin/src → ee/admin}/pages/SettingsPage/pages/AuditLogs/ListView/hooks/useFormatTimeStamp.js +0 -0
- package/{admin/src → ee/admin}/pages/SettingsPage/pages/AuditLogs/ListView/index.js +7 -7
- package/{admin/src → ee/admin}/pages/SettingsPage/pages/AuditLogs/ListView/utils/getActionTypesDefaultMessages.js +3 -0
- package/{admin/src → ee/admin}/pages/SettingsPage/pages/AuditLogs/ListView/utils/tableHeaders.js +0 -0
- package/{admin/src → ee/admin}/pages/SettingsPage/pages/AuditLogs/ProtectedListPage/index.js +1 -1
- package/ee/admin/pages/SettingsPage/{SingleSignOn → pages/SingleSignOn}/index.js +3 -3
- package/ee/admin/pages/SettingsPage/{SingleSignOn → pages/SingleSignOn}/utils/schema.js +0 -0
- package/ee/admin/pages/SettingsPage/utils/customRoutes.js +28 -16
- package/ee/server/bootstrap.js +2 -0
- package/ee/server/routes/index.js +94 -10
- package/ee/server/services/audit-logs.js +19 -1
- package/ee/server/services/passport/sso.js +13 -1
- package/ee/server/services/passport.js +1 -4
- package/package.json +11 -16
- package/server/controllers/admin.js +3 -2
- package/server/register.js +7 -7
- package/server/services/project-settings.js +10 -6
- package/server/services/user.js +3 -1
- package/server/validation/project-settings.js +19 -10
- package/strapi-server.js +1 -1
- package/admin/src/core/store/createReducer.js +0 -5
- package/admin/src/pages/SettingsPage/pages/ApplicationInfosPage/components/Form/index.js +0 -85
- package/build/2235.746d3cf7.chunk.js +0 -106
- package/build/2598.01c96bd5.chunk.js +0 -159
- package/build/4958.1979bbf5.chunk.js +0 -276
- package/build/5052.c2eacff2.chunk.js +0 -65
- package/build/7295.4e2dfbbb.chunk.js +0 -114
- package/build/805.da20168c.chunk.js +0 -138
- package/build/874.be41e4b3.chunk.js +0 -104
- package/build/9707.a07db355.chunk.js +0 -101
- package/build/Admin-authenticatedApp.9933974c.chunk.js +0 -75
- package/build/Admin_homePage.045bb0c8.chunk.js +0 -77
- package/build/Admin_marketplace.bf3ac090.chunk.js +0 -26
- package/build/Admin_settingsPage.53fa00a4.chunk.js +0 -178
- package/build/admin-app.8ed108ca.chunk.js +0 -112
- package/build/admin-audit-logs.68f833bf.chunk.js +0 -1
- package/build/admin-edit-users.795f155c.chunk.js +0 -10
- package/build/admin-users.cbd9bcf7.chunk.js +0 -11
- package/build/content-type-builder-list-view.3048854d.chunk.js +0 -198
- package/build/content-type-builder-translation-en-json.08e28f4e.chunk.js +0 -1
- package/build/content-type-builder.4edd1c22.chunk.js +0 -127
- package/build/email-settings-page.7c9e6c5e.chunk.js +0 -15
- package/build/en-json.d65a13ef.chunk.js +0 -1
- package/build/i18n-settings-page.fbccdf12.chunk.js +0 -1
- package/build/main.6bbf9950.js +0 -4417
- package/build/runtime~main.c2bf62af.js +0 -2
- package/build/sso-settings-page.4031de9e.chunk.js +0 -41
- package/build/upload-settings.657790fd.chunk.js +0 -89
- package/build/upload.608a9856.chunk.js +0 -38
- package/build/users-advanced-settings-page.e3ab865f.chunk.js +0 -13
- package/build/users-email-settings-page.57adf9b7.chunk.js +0 -28
- package/build/users-providers-settings-page.7d1fb45c.chunk.js +0 -1
- package/build/webhook-edit-page.1dd6d040.chunk.js +0 -75
- package/build/webhook-list-page.98afa3ea.chunk.js +0 -42
- package/ee/server/routes/features-routes.js +0 -66
|
@@ -1,159 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_strapi_admin=self.webpackChunk_strapi_admin||[]).push([[2598],{56671:function(P,g,t){var e=t(35897),o=t(74741),i=o(e);P.exports=i},91131:function(P,g,t){var e=t(94318),o=t(3387),i="[object RegExp]";function u(f){return o(f)&&e(f)==i}P.exports=u},52920:function(P,g,t){var e=t(56671),o=t(81580);function i(u,f){var c=-1,s=o(u)?Array(u.length):[];return e(u,function(d,a,r){s[++c]=f(d,a,r)}),s}P.exports=i},50690:function(P,g,t){var e=t(26460),o=t(80166),i=t(88904),u=t(52920),f=t(36024),c=t(76535),s=t(1397),d=t(15362),a=t(77236);function r(n,x,b){x.length?x=e(x,function(h){return a(h)?function(R){return o(R,h.length===1?h[0]:h)}:h}):x=[d];var O=-1;x=e(x,c(i));var y=u(n,function(h,R,D){var z=e(x,function(p){return p(h)});return{criteria:z,index:++O,value:h}});return f(y,function(h,R){return s(h,R,b)})}P.exports=r},36024:function(P){function g(t,e){var o=t.length;for(t.sort(e);o--;)t[o]=t[o].value;return t}P.exports=g},40709:function(P,g,t){var e=t(22945);function o(i,u){if(i!==u){var f=i!==void 0,c=i===null,s=i===i,d=e(i),a=u!==void 0,r=u===null,n=u===u,x=e(u);if(!r&&!x&&!d&&i>u||d&&a&&n&&!r&&!x||c&&a&&n||!f&&n||!s)return 1;if(!c&&!d&&!x&&i<u||x&&f&&s&&!c&&!d||r&&f&&s||!a&&s||!n)return-1}return 0}P.exports=o},1397:function(P,g,t){var e=t(40709);function o(i,u,f){for(var c=-1,s=i.criteria,d=u.criteria,a=s.length,r=f.length;++c<a;){var n=e(s[c],d[c]);if(n){if(c>=r)return n;var x=f[c];return n*(x=="desc"?-1:1)}}return i.index-u.index}P.exports=o},74741:function(P,g,t){var e=t(81580);function o(i,u){return function(f,c){if(f==null)return f;if(!e(f))return i(f,c);for(var s=f.length,d=u?s:-1,a=Object(f);(u?d--:++d<s)&&c(a[d],d,a)!==!1;);return f}}P.exports=o},52654:function(P,g,t){var e=t(91131),o=t(76535),i=t(91782),u=i&&i.isRegExp,f=u?o(u):e;P.exports=f},98978:function(P,g,t){var e=t(40314),o=t(50690),i=t(94569),u=t(63108),f=i(function(c,s){if(c==null)return[];var d=s.length;return d>1&&u(c,s[0],s[1])?s=[]:d>2&&u(s[0],s[1],s[2])&&(s=[s[0]]),o(c,e(s,1),[])});P.exports=f},51382:function(P,g,t){var e=t(90454),o=t(24793),i=t(34327),u=t(85973),f=t(52654),c=t(38788),s=t(51119),d=t(25225),a=t(41119),r=30,n="...",x=/\w*$/;function b(O,y){var h=r,R=n;if(u(y)){var D="separator"in y?y.separator:D;h="length"in y?d(y.length):h,R="omission"in y?e(y.omission):R}O=a(O);var z=O.length;if(i(O)){var p=s(O);z=p.length}if(h>=z)return O;var v=h-c(R);if(v<1)return R;var l=p?o(p,0,v).join(""):O.slice(0,v);if(D===void 0)return l+R;if(p&&(v+=l.length-v),f(D)){if(O.slice(v).search(D)){var E,L=l;for(D.global||(D=RegExp(D.source,a(x.exec(D))+"g")),D.lastIndex=0;E=D.exec(L);)var A=E.index;l=l.slice(0,A===void 0?v:A)}}else if(O.indexOf(e(D),v)!=v){var k=l.lastIndexOf(D);k>-1&&(l=l.slice(0,k))}return l+R}P.exports=b},91815:function(P,g,t){var e=t(84351);function o(i){return i&&i.length?e(i):[]}P.exports=o},11299:function(P,g,t){"use strict";t.d(g,{$:function(){return R},O:function(){return z}});var e=t(32735),o=t(60216),i=t(83292),u=t(77277),f=t(88860),c=t(62345),s=t(36320),d=t(3685),a=Object.defineProperty,r=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,b=(p,v,l)=>v in p?a(p,v,{enumerable:!0,configurable:!0,writable:!0,value:l}):p[v]=l,O=(p,v)=>{for(var l in v||(v={}))n.call(v,l)&&b(p,l,v[l]);if(r)for(var l of r(v))x.call(v,l)&&b(p,l,v[l]);return p},y=(p,v)=>{var l={};for(var E in p)n.call(p,E)&&v.indexOf(E)<0&&(l[E]=p[E]);if(p!=null&&r)for(var E of r(p))v.indexOf(E)<0&&x.call(p,E)&&(l[E]=p[E]);return l};const h=(0,i.default)(s.k)`
|
|
2
|
-
svg {
|
|
3
|
-
height: ${10/16}rem;
|
|
4
|
-
width: ${10/16}rem;
|
|
5
|
-
path {
|
|
6
|
-
fill: ${({theme:p})=>p.colors.neutral500};
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
:last-of-type ${c.x} {
|
|
10
|
-
display: none;
|
|
11
|
-
}
|
|
12
|
-
:last-of-type ${f.Z} {
|
|
13
|
-
color: ${({theme:p})=>p.colors.neutral800};
|
|
14
|
-
font-weight: ${({theme:p})=>p.fontWeights.bold};
|
|
15
|
-
}
|
|
16
|
-
`,R=({children:p})=>e.createElement(h,{inline:!0,as:"li"},e.createElement(f.Z,{variant:"pi",textColor:"neutral600"},p),e.createElement(c.x,{"aria-hidden":!0,paddingLeft:3,paddingRight:3},e.createElement(u.default,null)));R.displayName="Crumb",R.propTypes={children:o.node.isRequired};const D=o.shape({type:o.oneOf([R])}),z=p=>{var v=p,{children:l,label:E}=v,L=y(v,["children","label"]);return e.createElement(s.k,O({},L),e.createElement(d.T,null,E),e.createElement("ol",{"aria-hidden":!0},l))};z.displayName="Breadcrumbs",z.propTypes={children:o.oneOfType([o.arrayOf(D),D]).isRequired,label:o.string.isRequired}},21590:function(P,g,t){"use strict";t.d(g,{h:function(){return V},X:function(){return ie}});var e=t(32735),o=t(60216),i=t(16899),u=t(35331),f=t(59002),c=t(96892),s=t(94486);const d={Close:"Close",CloseSelect:"CloseSelect",First:"First",Last:"Last",Next:"Next",Open:"Open",PageDown:"PageDown",PageUp:"PageUp",Previous:"Previous",Select:"Select",Space:"Space",Type:"Type"},a={Close:"Close",First:"First",Last:"Last",Next:"Next",Open:"Open",Previous:"Previous",Select:"Select",UpLevel:"UpLevel"};function r(m=[],C=null,T=[]){const U=String(C??"").toLowerCase();return U?m.filter(K=>K.props.children.toString().toLowerCase().includes(U)&&T.indexOf(K)<0):m}function n(m,C){if(!C&&m===s.y.DOWN)return d.Open;if(m===s.y.DOWN)return d.Next;if(m===s.y.UP)return d.Previous;if(m===s.y.HOME)return d.First;if(m===s.y.END)return d.Last;if(m===s.y.ESCAPE)return d.Close;if(m===s.y.ENTER)return d.CloseSelect;if(m===s.y.BACKSPACE||m===s.y.CLEAR||m.length===1)return d.Type}function x(m,C,T){switch(T){case d.First:return 0;case d.Last:return C;case d.Previous:return Math.max(0,m-1);case d.Next:return Math.min(C,m+1);default:return m}}function b(m){c(m,{scrollMode:"if-needed",block:"nearest",inline:"nearest"}).forEach(({el:C,top:T,left:U})=>{C.scrollTop=T,C.scrollLeft=U})}var O=t(36320),y=t(93958),h=t(46406),R=t(62345),D=t(88860),z=t(97405),p=t(91225),v=t(90333);const l=({options:m,activeOptionRef:C})=>((0,e.useEffect)(()=>{C.current&&b(C.current)},[C]),m);l.defaultProps={activeOptionRef:void 0},l.propTypes={options:o.array.isRequired};var E=t(87107),L=t(76437),A=t(67014),k=t(47851),te=t(27677),H=t(3685),ne=Object.defineProperty,Q=Object.defineProperties,M=Object.getOwnPropertyDescriptors,_=Object.getOwnPropertySymbols,B=Object.prototype.hasOwnProperty,j=Object.prototype.propertyIsEnumerable,F=(m,C,T)=>C in m?ne(m,C,{enumerable:!0,configurable:!0,writable:!0,value:T}):m[C]=T,X=(m,C)=>{for(var T in C||(C={}))B.call(C,T)&&F(m,T,C[T]);if(_)for(var T of _(C))j.call(C,T)&&F(m,T,C[T]);return m},re=(m,C)=>Q(m,M(C)),fe=(m,C)=>{var T={};for(var U in m)B.call(m,U)&&C.indexOf(U)<0&&(T[U]=m[U]);if(m!=null&&_)for(var U of _(m))C.indexOf(U)<0&&j.call(m,U)&&(T[U]=m[U]);return T};const V=m=>{var C=m,{children:T,clearLabel:U,creatable:K,createMessage:Me,disabled:N,error:pe,hasMoreItems:xe,hint:ve,label:J,labelAction:me,loading:Y,loadingMessage:Ce,noOptionsMessage:ae,onChange:he,onClear:Ee,onCreateOption:be,onInputChange:Oe,onLoadMore:De,placeholder:w,required:W,value:oe}=C,Ae=fe(C,["children","clearLabel","creatable","createMessage","disabled","error","hasMoreItems","hint","label","labelAction","loading","loadingMessage","noOptionsMessage","onChange","onClear","onCreateOption","onInputChange","onLoadMore","placeholder","required","value"]);const ze=()=>{var I;return(I=T.find($=>{var S;return((S=$.props)==null?void 0:S.value.toLowerCase())===oe.toLowerCase()}).props)==null?void 0:I.children},[G,Re]=(0,e.useState)(0),[$e,Ue]=(0,e.useState)(null),[ee,_e]=(0,e.useState)(T),[se,Ke]=(0,e.useState)(!1),[Z,ye]=(0,e.useState)(""),ce=(0,e.useRef)(),Pe=(0,e.useRef)(!1),ge=(0,e.useRef)(),Be=(0,e.useRef)(),We=(0,e.useRef)(),Te=(0,e.useRef)(!0),q=(0,f.M)("combobox"),Ie=`${q}-label`;if(!J&&!Ae["aria-label"])throw new Error('The Combobox component needs a "label" or an "aria-label" props');(0,e.useEffect)(()=>{_e(r(T,Z))},[Z,T]),(0,e.useEffect)(()=>{se&&ce.current&&b(ce.current)},[G,se]),(0,e.useLayoutEffect)(()=>{Te.current&&(Te.current=!1)},[oe]);const Se=se?`${q}-${G}`:"",je=()=>{he(null),ye("")},Fe=I=>{Oe&&Oe(I);const $=ge.current.value;_e(r(T,$)),Re(0),Ue(null),Z!==$&&ye($),se||le(!0,!1)},Ne=I=>{const{key:$}=I,S=K&&Z?ee.length:ee.length-1,ue=n($,se);switch(oe&&!Z&&$===s.y.BACKSPACE&&je(),ue){case d.Next:{if(G===S){de(0);break}de(x(G,S,ue));break}case d.Previous:{if(G===0){de(S);break}de(x(G,S,ue));break}case d.Last:case d.First:{if(G===S){de(0);break}de(x(G,S,ue));break}case d.CloseSelect:I.preventDefault(),Le(G);break;case d.Close:I.preventDefault(),le(!1);break;case d.Open:le(!0);break}},He=I=>{if(I.preventDefault(),oe&&!Pe.current&&ye(""),Pe.current){Pe.current=!1;return}le(!1,!1)},de=I=>{Re(I)},Ze=I=>{de(I),Le(I)},we=()=>{Pe.current=!0},Le=I=>{const $=ee[I];if(ye(""),$){he($.props.value),le(!1);return}K&&(be(Z),le(!1))},le=(I,$=!0)=>{Ke(I),$&&ge.current.focus()},ke=e.Children.toArray(ee).map((I,$)=>{const S=G===$;return(0,e.cloneElement)(I,{id:`${q}-${$}`,"aria-selected":$e===$,"aria-posinset":$+1,"aria-setsize":e.Children.toArray(ee).length,ref(ue){S&&(ce.current=ue)},onClick:()=>Ze($),onMouseDown:we,isSelected:S})}),Ve=()=>{ge.current.focus(),Ee&&Ee(),je()},Je=()=>{ge.current.focus(),le(!0)},Ge=()=>{const I=ee.findIndex($=>{var S;return((S=$.props)==null?void 0:S.children)===Z});return Z&&I===-1},Qe=I=>{I.preventDefault(),le(I,!0)};return e.createElement(E.g,{hint:ve,error:pe,id:q,required:W},e.createElement(H.T,{"aria-live":"polite","aria-atomic":"false","aria-relevant":"additions text"},oe),e.createElement(te.K,{spacing:J||ve||pe?1:0},J&&e.createElement(L.Q,{action:me},J),e.createElement(p.d8,{ref:Be,$disabled:N,hasError:pe},e.createElement(p.fv,{wrap:"wrap"},!Z&&oe&&e.createElement(p.K7,{id:`${q}-selected-value`},e.createElement(D.Z,null,ze())),e.createElement(p.II,{"aria-activedescendant":Se,"aria-autocomplete":"list","aria-controls":`${q}-listbox`,"aria-disabled":N,"aria-expanded":se,"aria-haspopup":"listbox","aria-labelledby":J?Ie:void 0,autoComplete:"off",autoCorrect:"off",id:q,onBlur:N?void 0:He,onClick:N?void 0:Qe,onInput:N?void 0:Fe,onKeyDown:N?void 0:Ne,placeholder:oe?"":w,readOnly:N,ref:ge,required:W,role:"combobox",spellCheck:"off",type:"text",value:Z})),e.createElement(O.k,null,(oe||Z)&&e.createElement(y.zb,{id:`${q}-clear`,"aria-label":U,disabled:N,paddingLeft:3,as:"button",onClick:Ve,type:"button"},e.createElement(u.default,null)),e.createElement(y.AV,{disabled:N,paddingLeft:3,"aria-hidden":!0,as:"button",onClick:Je,tabIndex:-1,type:"button"},e.createElement(i.default,null)))),e.createElement(A.J,null),e.createElement(k.c,null)),se&&e.createElement(h.J,{id:`${q}-popover`,source:Be,spacing:4,fullWidth:!0,intersectionId:`${q}-listbox-popover-intersection`,onReachEnd:xe&&!Y?De:void 0},e.createElement("div",{role:"listbox",ref:We,id:`${q}-listbox`,"aria-labelledby":J?Ie:void 0},(Boolean(ee.length)||K)&&e.createElement(e.Fragment,null,e.createElement(l,{activeOptionRef:ce,options:ke}),Ge()&&K&&e.createElement(v.O,{isSelected:G===ee.length,ref:I=>{G===ee.length&&(ce.current=I)},onMouseDown:we,onClick:()=>Le(),taindex:0},Me(Z))),!ee.length&&!K&&!Y&&e.createElement(R.x,{paddingLeft:4,paddingRight:4,paddingTop:2,paddingBottom:2,ref:ce},e.createElement(D.Z,{textColor:"neutral800"},ae(Z))),Y&&e.createElement(O.k,{justifyContent:"center",alignItems:"center",paddingTop:2,paddingBottom:2},e.createElement(z.a,{small:!0},Ce)))))},ie=m=>e.createElement(V,re(X({},m),{creatable:!0}));V.defaultProps={"aria-label":void 0,clearLabel:"clear",creatable:!1,createMessage:m=>`Create "${m}"`,disabled:!1,error:void 0,hasMoreItems:!1,hint:void 0,label:void 0,loading:!1,loadingMessage:"Loading content...",noOptionsMessage:()=>"No results found",onClear:void 0,onCreateOption:void 0,onInputChange:void 0,onLoadMore:void 0,placeholder:"Select or enter a value",value:void 0},ie.defaultProps=V.defaultProps,V.propTypes={"aria-label":o.string,children:o.oneOfType([o.arrayOf(o.node),o.node]),clearLabel:o.string,creatable:o.bool,createMessage:o.func,disabled:o.bool,error:o.string,hasMoreItems:o.bool,hint:o.oneOfType([o.string,o.node,o.arrayOf(o.node)]),label:o.string,labelAction:o.element,loading:o.bool,loadingMessage:o.string,noOptionsMessage:o.func,onChange:o.func.isRequired,onClear:o.func,onCreateOption:o.func,onInputChange:o.func,onLoadMore:o.func,placeholder:o.string,value:o.string},ie.propTypes=re(X({},V.propTypes),{onCreateOption:o.func.isRequired})},90333:function(P,g,t){"use strict";t.d(g,{O:function(){return x}});var e=t(32735),o=t(60216),i=t(88860),u=t(91225),f=Object.defineProperty,c=Object.getOwnPropertySymbols,s=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable,a=(b,O,y)=>O in b?f(b,O,{enumerable:!0,configurable:!0,writable:!0,value:y}):b[O]=y,r=(b,O)=>{for(var y in O||(O={}))s.call(O,y)&&a(b,y,O[y]);if(c)for(var y of c(O))d.call(O,y)&&a(b,y,O[y]);return b},n=(b,O)=>{var y={};for(var h in b)s.call(b,h)&&O.indexOf(h)<0&&(y[h]=b[h]);if(b!=null&&c)for(var h of c(b))O.indexOf(h)<0&&d.call(b,h)&&(y[h]=b[h]);return y};const x=(0,e.forwardRef)((b,O)=>{var y=b,{isSelected:h,children:R}=y,D=n(y,["isSelected","children"]);return e.createElement(u.Zq,r({hasRadius:!0,paddingLeft:4,paddingRight:4,paddingTop:2,paddingBottom:2,role:"option",background:"neutral0",isSelected:h,ref:O},D),e.createElement(i.Z,{textColor:h?"primary600":"neutral800",fontWeight:h?"bold":null},R))});x.defaultProps={isSelected:!1},x.propTypes={children:o.oneOfType([o.string,o.number]).isRequired,isSelected:o.bool},x.displayName="ComboboxOption"},91225:function(P,g,t){"use strict";t.d(g,{II:function(){return d},K7:function(){return c},Zq:function(){return a},d8:function(){return f},fv:function(){return s}});var e=t(83292),o=t(62345),i=t(36320),u=t(30350);const f=(0,e.default)(i.k)`
|
|
17
|
-
position: relative;
|
|
18
|
-
border: 1px solid ${({theme:r,hasError:n})=>n?r.colors.danger600:r.colors.neutral200};
|
|
19
|
-
padding-right: ${({theme:r})=>r.spaces[3]};
|
|
20
|
-
padding-left: ${({theme:r})=>r.spaces[3]};
|
|
21
|
-
border-radius: ${({theme:r})=>r.borderRadius};
|
|
22
|
-
background: ${({theme:r})=>r.colors.neutral0};
|
|
23
|
-
|
|
24
|
-
${({theme:r,$disabled:n})=>n?`
|
|
25
|
-
color: ${r.colors.neutral600};
|
|
26
|
-
background: ${r.colors.neutral150};
|
|
27
|
-
`:void 0}
|
|
28
|
-
|
|
29
|
-
${(0,u.k3)()}
|
|
30
|
-
`,c=e.default.div`
|
|
31
|
-
padding: 1px 2px;
|
|
32
|
-
grid-area: 1 / 1 / 2 / 3;
|
|
33
|
-
`,s=(0,e.default)(i.k)`
|
|
34
|
-
display: grid;
|
|
35
|
-
flex: 1 1 0%;
|
|
36
|
-
position: relative;
|
|
37
|
-
`,d=e.default.input`
|
|
38
|
-
display: inline-grid;
|
|
39
|
-
grid-area: 1 / 1 / 2 / 3;
|
|
40
|
-
grid-template-columns: 0px min-content;
|
|
41
|
-
background: transparent;
|
|
42
|
-
min-height: ${40/16}rem;
|
|
43
|
-
border: none;
|
|
44
|
-
flex: 1;
|
|
45
|
-
font-size: ${14/16}rem;
|
|
46
|
-
color: ${({theme:r})=>r.colors.neutral800};
|
|
47
|
-
outline: none;
|
|
48
|
-
&:focus-visible {
|
|
49
|
-
outline: none;
|
|
50
|
-
box-shadow: none;
|
|
51
|
-
outline-offset: 0;
|
|
52
|
-
}
|
|
53
|
-
&[aria-disabled='true'] {
|
|
54
|
-
background: inherit;
|
|
55
|
-
color: inherit;
|
|
56
|
-
cursor: not-allowed;
|
|
57
|
-
}
|
|
58
|
-
`,a=(0,e.default)(o.x)`
|
|
59
|
-
width: 100%;
|
|
60
|
-
border: none;
|
|
61
|
-
text-align: left;
|
|
62
|
-
outline-offset: -3px;
|
|
63
|
-
${({isSelected:r,theme:n})=>r&&`background: ${n.colors.primary100};`}
|
|
64
|
-
|
|
65
|
-
&:hover {
|
|
66
|
-
background: ${({theme:r})=>r.colors.primary100};
|
|
67
|
-
}
|
|
68
|
-
`},25148:function(P,g,t){"use strict";t.d(g,{Q:function(){return v}});var e=t(32735),o=t(5141),i=t(83292),u=t(60216),f=t(88860),c=t(62345),s=t(73342),d=t(24705),a=t(69783),r=Object.defineProperty,n=Object.defineProperties,x=Object.getOwnPropertyDescriptors,b=Object.getOwnPropertySymbols,O=Object.prototype.hasOwnProperty,y=Object.prototype.propertyIsEnumerable,h=(l,E,L)=>E in l?r(l,E,{enumerable:!0,configurable:!0,writable:!0,value:L}):l[E]=L,R=(l,E)=>{for(var L in E||(E={}))O.call(E,L)&&h(l,L,E[L]);if(b)for(var L of b(E))y.call(E,L)&&h(l,L,E[L]);return l},D=(l,E)=>n(l,x(E)),z=(l,E)=>{var L={};for(var A in l)O.call(l,A)&&E.indexOf(A)<0&&(L[A]=l[A]);if(l!=null&&b)for(var A of b(l))E.indexOf(A)<0&&y.call(l,A)&&(L[A]=l[A]);return L};const p=(0,i.default)(a.G)`
|
|
69
|
-
padding: ${({theme:l,size:E})=>`${E==="S"?l.spaces[2]:"10px"} ${l.spaces[4]}`};
|
|
70
|
-
background: ${({theme:l})=>l.colors.buttonPrimary600};
|
|
71
|
-
border: 1px solid ${({theme:l})=>l.colors.buttonPrimary600};
|
|
72
|
-
border-radius: ${({theme:l})=>l.borderRadius};
|
|
73
|
-
${c.x} {
|
|
74
|
-
display: flex;
|
|
75
|
-
align-items: center;
|
|
76
|
-
}
|
|
77
|
-
${f.Z} {
|
|
78
|
-
color: ${({theme:l})=>l.colors.buttonNeutral0};
|
|
79
|
-
}
|
|
80
|
-
&[aria-disabled='true'] {
|
|
81
|
-
${s.sg}
|
|
82
|
-
&:active {
|
|
83
|
-
${s.sg}
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
&:hover {
|
|
87
|
-
${s.yP}
|
|
88
|
-
}
|
|
89
|
-
&:active {
|
|
90
|
-
${s.tB}
|
|
91
|
-
}
|
|
92
|
-
${s.PD}
|
|
93
|
-
/**
|
|
94
|
-
Link specific properties
|
|
95
|
-
*/
|
|
96
|
-
display: inline-flex;
|
|
97
|
-
text-decoration: none;
|
|
98
|
-
pointer-events: ${({disabled:l})=>l?"none":void 0};
|
|
99
|
-
`,v=e.forwardRef((l,E)=>{var L=l,{variant:A,startIcon:k,endIcon:te,disabled:H,children:ne,size:Q,href:M,to:_}=L,B=z(L,["variant","startIcon","endIcon","disabled","children","size","href","to"]);const j=M?"_blank":void 0,F=M?"noreferrer noopener":void 0;return e.createElement(p,D(R({ref:E,"aria-disabled":H,size:Q,variant:A,target:j,rel:F,to:H?void 0:_,href:H?"#":M},B),{as:_&&!H?o.NavLink:"a"}),k&&e.createElement(c.x,{"aria-hidden":!0,paddingRight:2},k),Q==="S"?e.createElement(f.Z,{variant:"pi",fontWeight:"bold"},ne):e.createElement(f.Z,{fontWeight:"bold"},ne),te&&e.createElement(c.x,{"aria-hidden":!0,paddingLeft:2},te))});v.displayName="LinkButton",v.defaultProps={disabled:!1,startIcon:void 0,endIcon:void 0,size:"S",variant:"default",onClick:void 0,href:void 0,to:void 0},v.propTypes={children:u.node.isRequired,disabled:u.bool,endIcon:u.element,href(l){if(!l.disabled&&!l.to&&!l.href)return new Error("href must be defined")},onClick:u.func,size:u.oneOf(d.Gt),startIcon:u.element,to(l){if(!l.disabled&&!l.href&&!l.to)return new Error("to must be defined")},variant:u.oneOf(d.ZC)}},81595:function(P,g,t){"use strict";t.d(g,{Y:function(){return Q}});var e=t(32735),o=t(60216),i=t(83292),u=t(16899),f=t(60872),c=t(87107),s=t(76437),d=t(98275),a=t(67014),r=t(47851),n=t(27677),x=t(99140),b=t(78542),O=t(59002),y=t(94486);const h="en-EN",R=()=>typeof navigator>"u"?h:navigator.language?navigator.language:navigator.userLanguage?navigator.userLanguage:h;var D=t(81002);function z({prop:M,defaultProp:_,onChange:B=()=>{}}){const[j,F]=p({defaultProp:_,onChange:B}),X=M!==void 0,re=typeof M=="function"?M(j):M,fe=X?re:j,V=(0,D.useCallbackRef)(B),ie=e.useCallback(m=>{if(X){const C=typeof m=="function"?m(re):m;C!==re&&(V(C),F(m))}else F(m)},[X,re,F,V]);return[fe,ie]}function p({defaultProp:M,onChange:_}){const B=e.useState(M),[j]=B,F=e.useRef(j),X=(0,D.useCallbackRef)(_);return e.useEffect(()=>{F.current!==j&&(X(j),F.current=j)},[j,F,X]),B}var v=Object.defineProperty,l=Object.getOwnPropertySymbols,E=Object.prototype.hasOwnProperty,L=Object.prototype.propertyIsEnumerable,A=(M,_,B)=>_ in M?v(M,_,{enumerable:!0,configurable:!0,writable:!0,value:B}):M[_]=B,k=(M,_)=>{for(var B in _||(_={}))E.call(_,B)&&A(M,B,_[B]);if(l)for(var B of l(_))L.call(_,B)&&A(M,B,_[B]);return M},te=(M,_)=>{var B={};for(var j in M)E.call(M,j)&&_.indexOf(j)<0&&(B[j]=M[j]);if(M!=null&&l)for(var j of l(M))_.indexOf(j)<0&&L.call(M,j)&&(B[j]=M[j]);return B};const H=i.default.button`
|
|
100
|
-
display: flex;
|
|
101
|
-
height: 1rem;
|
|
102
|
-
align-items: ${({reverse:M})=>M?"flex-end":"flex-start"};
|
|
103
|
-
transform: translateY(${({reverse:M})=>M?"-2px":"2px"});
|
|
104
|
-
cursor: ${({disabled:M})=>M?"not-allowed":void 0};
|
|
105
|
-
svg {
|
|
106
|
-
display: block;
|
|
107
|
-
height: ${4/16}rem;
|
|
108
|
-
transform: ${({reverse:M})=>M?"rotateX(180deg)":void 0};
|
|
109
|
-
}
|
|
110
|
-
`,ne="",Q=e.forwardRef((M,_)=>{var B=M,{size:j,startAction:F,name:X,hint:re,error:fe,label:V,labelAction:ie,locale:m,id:C,onValueChange:T,value:U,step:K,required:Me,disabled:N}=B,pe=te(B,["size","startAction","name","hint","error","label","labelAction","locale","id","onValueChange","value","step","required","disabled"]);const xe=(0,O.M)("numberinput",C),ve=m||R(),J=(0,e.useRef)(new f.NumberParser(ve,{style:"decimal"})),me=(0,e.useRef)(new f.NumberFormatter(ve,{maximumFractionDigits:20})),[Y,Ce]=z({prop(w){const W=String(U);return isNaN(W)||W!==w&&w!==""?w:W},defaultProp:ne,onChange(w){const W=J.current.parse(w);T(isNaN(W)?void 0:W)}}),ae=w=>{Ce(String(w))},he=({target:{value:w}})=>{J.current.isValidPartialNumber(w)&&ae(w)},Ee=()=>{if(!Y){ae(K);return}const w=J.current.parse(Y),W=isNaN(w)?K:w+K;ae(me.current.format(W))},be=()=>{if(!Y){ae(-K);return}const w=J.current.parse(Y),W=isNaN(w)?-K:w-K;ae(me.current.format(W))},Oe=w=>{if(!N)switch(w.key){case y.y.DOWN:{w.preventDefault(),be();break}case y.y.UP:{w.preventDefault(),Ee();break}}},De=()=>{if(Y){const w=J.current.parse(Y),W=isNaN(w)?"":me.current.format(w);ae(W)}};return e.createElement(c.g,{name:X,hint:re,error:fe,id:xe,required:Me},e.createElement(n.K,{spacing:1},V&&e.createElement(s.Q,{action:ie},V),e.createElement(d._,k({ref:_,startAction:F,disabled:N,type:"text",inputmode:"decimal",onChange:he,onKeyDown:Oe,onBlur:De,value:Y,size:j,endAction:e.createElement(e.Fragment,null,e.createElement(H,{disabled:N,"aria-hidden":!0,reverse:!0,onClick:Ee,tabIndex:-1,type:"button","data-testid":"ArrowUp"},e.createElement(x.J,{as:u.default,color:"neutral500"})),e.createElement(H,{disabled:N,"aria-hidden":!0,onClick:be,tabIndex:-1,type:"button","data-testid":"ArrowDown"},e.createElement(x.J,{as:u.default,color:"neutral500"})))},pe)),e.createElement(a.J,null),e.createElement(r.c,null)))});Q.displayName="NumberInput",Q.defaultProps={"aria-label":void 0,disabled:!1,error:void 0,hint:void 0,id:void 0,label:void 0,labelAction:void 0,locale:void 0,required:!1,size:"M",startAction:void 0,step:1,value:void 0},Q.propTypes={"aria-label":o.string,disabled:o.bool,error:o.string,hint:o.oneOfType([o.string,o.node,o.arrayOf(o.node)]),id:o.string,label:o.string,labelAction:o.element,locale:o.string,name:o.string.isRequired,onValueChange:o.func.isRequired,required:o.bool,size:o.oneOf(Object.keys(b.J.input)),startAction:o.element,step:o.number,value:o.number}},7563:function(P,g,t){"use strict";t.d(g,{A:function(){return z}});var e=t(32735),o=t(60216),i=t(83292),u=t(27169),f=t(62345),c=t(88860),s=t(36320),d=t(30350),a=Object.defineProperty,r=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,b=(p,v,l)=>v in p?a(p,v,{enumerable:!0,configurable:!0,writable:!0,value:l}):p[v]=l,O=(p,v)=>{for(var l in v||(v={}))n.call(v,l)&&b(p,l,v[l]);if(r)for(var l of r(v))x.call(v,l)&&b(p,l,v[l]);return p},y=(p,v)=>{var l={};for(var E in p)n.call(p,E)&&v.indexOf(E)<0&&(l[E]=p[E]);if(p!=null&&r)for(var E of r(p))v.indexOf(E)<0&&x.call(p,E)&&(l[E]=p[E]);return l};const h=i.keyframes`
|
|
111
|
-
from {
|
|
112
|
-
transform: rotate(0deg);
|
|
113
|
-
}
|
|
114
|
-
to {
|
|
115
|
-
transform: rotate(359deg);
|
|
116
|
-
}
|
|
117
|
-
`,R=i.default.div`
|
|
118
|
-
animation: ${h} 2s infinite linear;
|
|
119
|
-
will-change: transform;
|
|
120
|
-
`,D=(0,i.default)(s.k)`
|
|
121
|
-
background: transparent;
|
|
122
|
-
border: none;
|
|
123
|
-
|
|
124
|
-
&[aria-disabled='true'] {
|
|
125
|
-
pointer-events: none;
|
|
126
|
-
svg path {
|
|
127
|
-
fill: ${({theme:p})=>p.colors.neutral600};
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
svg {
|
|
132
|
-
display: flex;
|
|
133
|
-
font-size: ${10/16}rem;
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
svg path {
|
|
137
|
-
fill: ${({theme:p})=>p.colors.primary600};
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
${d.BF}
|
|
141
|
-
`,z=e.forwardRef((p,v)=>{var l=p,{children:E,startIcon:L,endIcon:A,onClick:k,disabled:te,loading:H}=l,ne=y(l,["children","startIcon","endIcon","onClick","disabled","loading"]);const Q=k&&!te?k:void 0,M=te||H;return e.createElement(D,O({ref:v,"aria-disabled":M,onClick:Q,as:"button",type:"button"},ne),(L||H)&&e.createElement(f.x,{as:"span",paddingRight:2,"aria-hidden":!0},H?e.createElement(R,null,e.createElement(u.default,null)):L),e.createElement(c.Z,{variant:"pi",textColor:M?"neutral600":"primary600"},E),A&&e.createElement(f.x,{as:"span",paddingLeft:2,"aria-hidden":!0},A))});z.displayName="TextButton",z.defaultProps={disabled:!1,startIcon:void 0,endIcon:void 0,loading:!1,onClick:void 0},z.propTypes={children:o.node.isRequired,disabled:o.bool,endIcon:o.element,loading:o.bool,onClick:o.func,startIcon:o.element}},28832:function(P,g,t){"use strict";t.d(g,{z:function(){return x}});var e=t(32735),o=t(60216),i=t(83292),u=t(16899),f=t(62345),c=t(36320),s=t(88860),d=t(59002);const a=(0,i.default)(f.x)`
|
|
142
|
-
svg {
|
|
143
|
-
height: ${4/16}rem;
|
|
144
|
-
path {
|
|
145
|
-
fill: ${({theme:b})=>b.colors.neutral700};
|
|
146
|
-
}
|
|
147
|
-
}
|
|
148
|
-
`,r=i.default.button`
|
|
149
|
-
border: none;
|
|
150
|
-
padding: 0;
|
|
151
|
-
background: transparent;
|
|
152
|
-
display: flex;
|
|
153
|
-
align-items: center;
|
|
154
|
-
`,n=i.default.div`
|
|
155
|
-
display: flex;
|
|
156
|
-
align-items: center;
|
|
157
|
-
width: ${12/16}rem;
|
|
158
|
-
transform: rotateX(${({rotated:b})=>b?"0deg":"180deg"});
|
|
159
|
-
`,x=({label:b,children:O,id:y})=>{const[h,R]=(0,e.useState)(!0),D=(0,d.M)("subnav-list",y),z=()=>{R(p=>!p)};return e.createElement(f.x,null,e.createElement(a,{paddingLeft:7,paddingTop:2,paddingBottom:2,paddingRight:4},e.createElement(c.k,{justifyContent:"space-between"},e.createElement(r,{onClick:z,"aria-expanded":h,"aria-controls":D},e.createElement(n,{rotated:h},e.createElement(u.default,{"aria-hidden":!0})),e.createElement(f.x,{paddingLeft:2},e.createElement(s.Z,{as:"span",fontWeight:"semiBold",textColor:"neutral800"},b))))),h&&e.createElement("ul",{id:D},e.Children.map(O,(p,v)=>e.createElement("li",{key:v},p))))};x.defaultProps={id:void 0},x.propTypes={children:o.node.isRequired,id:o.string,label:o.string.isRequired}},35071:function(P,g,t){"use strict";t.d(g,{Z:function(){return d}});var e=t(32735),o=Object.defineProperty,i=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,c=(a,r,n)=>r in a?o(a,r,{enumerable:!0,configurable:!0,writable:!0,value:n}):a[r]=n,s=(a,r)=>{for(var n in r||(r={}))u.call(r,n)&&c(a,n,r[n]);if(i)for(var n of i(r))f.call(r,n)&&c(a,n,r[n]);return a};function d(a){return e.createElement("svg",s({width:"1em",height:"1em",viewBox:"0 0 32 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a),e.createElement("rect",{x:.5,y:.5,width:31,height:23,rx:2.5,fill:"#4945FF",stroke:"#4945FF"}),e.createElement("path",{d:"M15.328 10.54h1.723c.012-.089.012-.165.012-.253 0-1.676-1.471-2.959-3.41-2.959-2.696 0-4.647 2.22-4.647 5.344 0 2.15 1.383 3.545 3.504 3.545 2.045 0 3.597-1.154 3.967-2.936h-1.752c-.276.826-1.102 1.371-2.063 1.371-1.137 0-1.846-.802-1.846-2.103 0-2.08 1.19-3.65 2.725-3.65 1.037 0 1.746.62 1.787 1.558v.082zM21.053 16l1.488-6.943h2.531l.31-1.512H18.54l-.31 1.512h2.53L19.272 16h1.782z",fill:"#fff"}))}},26253:function(P,g,t){"use strict";t.d(g,{Z:function(){return d}});var e=t(32735),o=Object.defineProperty,i=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,c=(a,r,n)=>r in a?o(a,r,{enumerable:!0,configurable:!0,writable:!0,value:n}):a[r]=n,s=(a,r)=>{for(var n in r||(r={}))u.call(r,n)&&c(a,n,r[n]);if(i)for(var n of i(r))f.call(r,n)&&c(a,n,r[n]);return a};function d(a){return e.createElement("svg",s({width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.4 14.4a2.4 2.4 0 100-4.8 2.4 2.4 0 000 4.8zm0 1.2a3.6 3.6 0 100-7.2 3.6 3.6 0 000 7.2zM3.6 14.4a2.4 2.4 0 100-4.8 2.4 2.4 0 000 4.8zm0 1.2a3.6 3.6 0 100-7.2 3.6 3.6 0 000 7.2zM20.4 22.8a2.4 2.4 0 100-4.8 2.4 2.4 0 000 4.8zm0 1.2a3.6 3.6 0 100-7.2 3.6 3.6 0 000 7.2zM20.4 6a2.4 2.4 0 100-4.8 2.4 2.4 0 000 4.8zm0 1.2a3.6 3.6 0 100-7.2 3.6 3.6 0 000 7.2z",fill:"#212134"}),e.createElement("path",{d:"M6.24 11.28H18v1.44H6.24v-1.44z",fill:"#212134"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.6 22.8a2.4 2.4 0 110-4.8 2.4 2.4 0 010 4.8zm0 1.2a3.6 3.6 0 110-7.2 3.6 3.6 0 010 7.2zM3.6 6a2.4 2.4 0 110-4.8 2.4 2.4 0 010 4.8zm0 1.2a3.6 3.6 0 110-7.2 3.6 3.6 0 010 7.2z",fill:"#212134"}),e.createElement("path",{d:"M18.328 13.863L6.49 19.765l-.652-1.307 11.838-5.902.652 1.307zM18.358 10.078L6.398 4.115l-.646 1.294 11.961 5.963.645-1.294z",fill:"#212134"}),e.createElement("path",{d:"M18.323 18.83L6.252 12.813l-.643 1.29 12.071 6.019.643-1.29zM18.136 5.228L6.207 11.176l-.653-1.311 11.928-5.948.654 1.311z",fill:"#212134"}))}},79634:function(P,g,t){"use strict";t.d(g,{Z:function(){return d}});var e=t(32735),o=Object.defineProperty,i=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,c=(a,r,n)=>r in a?o(a,r,{enumerable:!0,configurable:!0,writable:!0,value:n}):a[r]=n,s=(a,r)=>{for(var n in r||(r={}))u.call(r,n)&&c(a,n,r[n]);if(i)for(var n of i(r))f.call(r,n)&&c(a,n,r[n]);return a};function d(a){return e.createElement("svg",s({width:"1em",height:"1em",viewBox:"0 0 24 25",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a),e.createElement("path",{d:"M17.76 11.28H6v1.44h11.76v-1.44z",fill:"#212134"}),e.createElement("path",{d:"M18.129 10.699L9.782 4.523l-.86 1.162 8.347 6.177.86-1.163zM18.101 13.354L9.755 19.53l-.864-1.167 8.347-6.176.863 1.167z",fill:"#212134"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.4 14.399a2.4 2.4 0 110-4.8 2.4 2.4 0 010 4.8zm0 1.2a3.6 3.6 0 110-7.2 3.6 3.6 0 010 7.2zM3.6 14.399a2.4 2.4 0 110-4.8 2.4 2.4 0 010 4.8zm0 1.2a3.6 3.6 0 110-7.2 3.6 3.6 0 010 7.2zM7.2 22.8a2.4 2.4 0 110-4.8 2.4 2.4 0 010 4.8zm0 1.2a3.6 3.6 0 110-7.2 3.6 3.6 0 010 7.2zM7.2 6a2.4 2.4 0 110-4.8 2.4 2.4 0 010 4.8zm0 1.2a3.6 3.6 0 110-7.2 3.6 3.6 0 010 7.2z",fill:"#212134"}))}},32548:function(P,g,t){"use strict";t.d(g,{Z:function(){return d}});var e=t(32735),o=Object.defineProperty,i=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,c=(a,r,n)=>r in a?o(a,r,{enumerable:!0,configurable:!0,writable:!0,value:n}):a[r]=n,s=(a,r)=>{for(var n in r||(r={}))u.call(r,n)&&c(a,n,r[n]);if(i)for(var n of i(r))f.call(r,n)&&c(a,n,r[n]);return a};function d(a){return e.createElement("svg",s({width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.6 14.132a2.4 2.4 0 100-4.8 2.4 2.4 0 000 4.8zm0 1.2a3.6 3.6 0 100-7.2 3.6 3.6 0 000 7.2z",fill:"#212134"}),e.createElement("path",{d:"M6.24 11.011h13.44v1.44H6.24v-1.44z",fill:"#212134"}),e.createElement("path",{d:"M5.872 10.43l8.347-6.176.86 1.163-8.347 6.176-.86-1.162zM5.9 13.087l8.346 6.177.864-1.168-8.347-6.176-.864 1.167zM18.72 8.613l5.28 3.12-5.28 3.12v-6.24z",fill:"#212134"}),e.createElement("path",{d:"M12.72 2.633L18.82 2 16.43 7.649 12.72 2.633zM12.72 21.307l6.1.633-2.389-5.649-3.711 5.016z",fill:"#212134"}))}},7733:function(P,g,t){"use strict";t.d(g,{Z:function(){return d}});var e=t(32735),o=Object.defineProperty,i=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,c=(a,r,n)=>r in a?o(a,r,{enumerable:!0,configurable:!0,writable:!0,value:n}):a[r]=n,s=(a,r)=>{for(var n in r||(r={}))u.call(r,n)&&c(a,n,r[n]);if(i)for(var n of i(r))f.call(r,n)&&c(a,n,r[n]);return a};function d(a){return e.createElement("svg",s({width:"1em",height:"1em",viewBox:"0 0 24 25",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a),e.createElement("path",{d:"M6.24 11.28H18v1.44H6.24v-1.44z",fill:"#212134"}),e.createElement("path",{d:"M5.871 10.699l8.347-6.176.86 1.162-8.347 6.177-.86-1.163zM5.899 13.354l8.346 6.176.864-1.167-8.347-6.176-.863 1.167z",fill:"#212134"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.6 14.399a2.4 2.4 0 100-4.8 2.4 2.4 0 000 4.8zm0 1.2a3.6 3.6 0 100-7.2 3.6 3.6 0 000 7.2zM20.4 14.399a2.4 2.4 0 100-4.8 2.4 2.4 0 000 4.8zm0 1.2a3.6 3.6 0 100-7.2 3.6 3.6 0 000 7.2zM16.8 22.8a2.4 2.4 0 100-4.8 2.4 2.4 0 000 4.8zm0 1.2a3.6 3.6 0 100-7.2 3.6 3.6 0 000 7.2zM16.8 6a2.4 2.4 0 100-4.8 2.4 2.4 0 000 4.8zm0 1.2a3.6 3.6 0 100-7.2 3.6 3.6 0 000 7.2z",fill:"#212134"}))}},10168:function(P,g,t){"use strict";t.d(g,{Z:function(){return d}});var e=t(32735),o=Object.defineProperty,i=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,c=(a,r,n)=>r in a?o(a,r,{enumerable:!0,configurable:!0,writable:!0,value:n}):a[r]=n,s=(a,r)=>{for(var n in r||(r={}))u.call(r,n)&&c(a,n,r[n]);if(i)for(var n of i(r))f.call(r,n)&&c(a,n,r[n]);return a};function d(a){return e.createElement("svg",s({width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.6 14a2.4 2.4 0 100-4.8 2.4 2.4 0 000 4.8zm0 1.2a3.6 3.6 0 100-7.2 3.6 3.6 0 000 7.2zM20.4 14a2.4 2.4 0 100-4.8 2.4 2.4 0 000 4.8zm0 1.2a3.6 3.6 0 100-7.2 3.6 3.6 0 000 7.2z",fill:"#212134"}),e.createElement("path",{d:"M6.24 10.881H18v1.44H6.24v-1.44z",fill:"#212134"}))}},25449:function(P,g,t){"use strict";t.d(g,{Z:function(){return d}});var e=t(32735),o=Object.defineProperty,i=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,c=(a,r,n)=>r in a?o(a,r,{enumerable:!0,configurable:!0,writable:!0,value:n}):a[r]=n,s=(a,r)=>{for(var n in r||(r={}))u.call(r,n)&&c(a,n,r[n]);if(i)for(var n of i(r))f.call(r,n)&&c(a,n,r[n]);return a};function d(a){return e.createElement("svg",s({width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.128 12.321a3.601 3.601 0 110-1.44H18.72v-2.4L24 11.6l-5.28 3.12v-2.4H7.128zM6 11.6a2.4 2.4 0 11-4.8 0 2.4 2.4 0 014.8 0z",fill:"#212134"}))}},89135:function(P,g,t){"use strict";t.d(g,{Z:function(){return d}});var e=t(32735),o=Object.defineProperty,i=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,c=(a,r,n)=>r in a?o(a,r,{enumerable:!0,configurable:!0,writable:!0,value:n}):a[r]=n,s=(a,r)=>{for(var n in r||(r={}))u.call(r,n)&&c(a,n,r[n]);if(i)for(var n of i(r))f.call(r,n)&&c(a,n,r[n]);return a};function d(a){return e.createElement("svg",s({width:"1em",height:"1em",viewBox:"0 0 32 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a),e.createElement("path",{d:"M.5 3A2.5 2.5 0 013 .5h26A2.5 2.5 0 0131.5 3v18a2.5 2.5 0 01-2.5 2.5H3A2.5 2.5 0 01.5 21V3z",fill:"#FDF4DC",stroke:"#FAE7B9"}),e.createElement("path",{d:"M20.158 11.995c0-.591-.463-1.073-1.045-1.11H13.53V9.245a2.05 2.05 0 012.046-2.049c1.13 0 2.048.784 2.049 1.913 0 .24.194.433.433.433h.33a.433.433 0 00.433-.433C18.82 7.32 17.365 5.999 15.577 6a3.246 3.246 0 00-3.241 3.244v1.642h-.223c-.615 0-1.113.499-1.113 1.114v4.887c.001.615.5 1.113 1.115 1.113l6.93-.003c.616 0 1.114-.5 1.114-1.115l-.001-4.887z",fill:"#D9822F"}))}},61642:function(P,g,t){"use strict";t.d(g,{Z:function(){return d}});var e=t(32735),o=Object.defineProperty,i=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,c=(a,r,n)=>r in a?o(a,r,{enumerable:!0,configurable:!0,writable:!0,value:n}):a[r]=n,s=(a,r)=>{for(var n in r||(r={}))u.call(r,n)&&c(a,n,r[n]);if(i)for(var n of i(r))f.call(r,n)&&c(a,n,r[n]);return a};function d(a){return e.createElement("svg",s({width:"1em",height:"1em",viewBox:"0 0 32 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a),e.createElement("rect",{x:.5,y:.5,width:31,height:23,rx:2.5,fill:"#EAF5FF",stroke:"#B8E1FF"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19.286 9.286v-.857a.397.397 0 00-.138-.302A.465.465 0 0018.82 8h-8.357a.465.465 0 00-.326.127.397.397 0 00-.138.302v.857c0 .116.046.216.138.301.092.085.2.127.326.127h8.357a.465.465 0 00.327-.127.397.397 0 00.138-.301zm2.785 2.713v.857a.397.397 0 01-.137.301.465.465 0 01-.327.128H10.464a.465.465 0 01-.326-.128.397.397 0 01-.138-.301v-.857c0-.116.046-.217.138-.302a.465.465 0 01.326-.127h11.143c.126 0 .235.043.327.127a.397.397 0 01.137.302zm-1.857 3.574v.857a.397.397 0 01-.137.302.465.465 0 01-.327.127h-9.286a.465.465 0 01-.326-.127.397.397 0 01-.138-.302v-.857c0-.116.046-.216.138-.301a.465.465 0 01.326-.127h9.286c.126 0 .235.042.326.127a.397.397 0 01.138.301z",fill:"#0C75AF"}))}},58656:function(P,g,t){"use strict";t.d(g,{Z:function(){return d}});var e=t(32735),o=Object.defineProperty,i=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,c=(a,r,n)=>r in a?o(a,r,{enumerable:!0,configurable:!0,writable:!0,value:n}):a[r]=n,s=(a,r)=>{for(var n in r||(r={}))u.call(r,n)&&c(a,n,r[n]);if(i)for(var n of i(r))f.call(r,n)&&c(a,n,r[n]);return a};function d(a){return e.createElement("svg",s({width:"1em",height:"1em",viewBox:"0 0 32 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a),e.createElement("rect",{x:.5,y:.5,width:31,height:23,rx:2.5,fill:"#0C75AF",stroke:"#0C75AF"}),e.createElement("path",{d:"M8.523 13.586c.106 1.64 1.418 2.63 3.34 2.63 2.098 0 3.516-1.113 3.516-2.788 0-1.143-.65-1.846-2.086-2.297l-.867-.27c-.797-.252-1.137-.597-1.137-1.066 0-.598.633-1.031 1.459-1.031.873 0 1.512.474 1.617 1.183h1.67c-.053-1.54-1.36-2.619-3.217-2.619-1.91 0-3.328 1.131-3.328 2.678 0 1.09.715 1.922 1.963 2.309l.879.275c.914.287 1.266.592 1.266 1.084 0 .662-.657 1.107-1.606 1.107-.914 0-1.635-.469-1.758-1.195h-1.71zM20.107 16l1.489-6.943h2.531l.31-1.512h-6.843l-.31 1.512h2.53L18.326 16h1.781z",fill:"#fff"}))}}}]);
|