@strapi/admin 4.11.0-beta.1 → 4.11.0-exp.9xg4-3qfm-9w8f

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.
Files changed (78) hide show
  1. package/admin/src/components/Providers/index.js +32 -32
  2. package/admin/src/components/Theme/index.js +3 -5
  3. package/admin/src/content-manager/components/DynamicTable/ConfirmDialogDeleteAll/index.js +73 -0
  4. package/admin/src/content-manager/components/DynamicTable/index.js +4 -20
  5. package/admin/src/content-manager/components/EditViewDataManagerProvider/index.js +2 -3
  6. package/admin/src/content-manager/components/EditViewDataManagerProvider/utils/index.js +1 -0
  7. package/admin/src/content-manager/{utils → components/EditViewDataManagerProvider/utils}/schema.js +1 -1
  8. package/admin/src/content-manager/components/Inputs/index.js +11 -18
  9. package/admin/src/content-manager/components/Inputs/utils/getStep.js +13 -0
  10. package/admin/src/content-manager/components/Inputs/utils/index.js +1 -0
  11. package/admin/src/content-manager/pages/ListView/index.js +2 -118
  12. package/admin/src/content-manager/utils/index.js +0 -2
  13. package/admin/src/hooks/useContentTypes/useContentTypes.js +0 -2
  14. package/admin/src/injectionZones.js +1 -6
  15. package/admin/src/translations/en.json +1 -5
  16. package/build/{1657.ca8562dd.chunk.js → 1657.3f2b2c11.chunk.js} +1 -9
  17. package/build/3081.7e9329cb.chunk.js +105 -0
  18. package/build/462.6f8cbd19.chunk.js +71 -0
  19. package/build/5542.64b623c9.chunk.js +63 -0
  20. package/build/617.1591eeb0.chunk.js +155 -0
  21. package/build/6858.85d76858.chunk.js +50 -0
  22. package/build/6970.6a329e15.chunk.js +1 -0
  23. package/build/9036.f7ce35cc.chunk.js +211 -0
  24. package/build/{Admin-authenticatedApp.990df65d.chunk.js → Admin-authenticatedApp.0f366684.chunk.js} +2 -2
  25. package/build/{Admin_homePage.107a9fe0.chunk.js → Admin_homePage.94dc81b1.chunk.js} +16 -16
  26. package/build/Admin_marketplace.1b0c3d3b.chunk.js +55 -0
  27. package/build/Admin_pluginsPage.a28b96d5.chunk.js +6 -0
  28. package/build/{Admin_profilePage.75bc083a.chunk.js → Admin_profilePage.a8fa3a56.chunk.js} +1 -1
  29. package/build/Admin_settingsPage.ee76d19e.chunk.js +79 -0
  30. package/build/admin-app.bd209f08.chunk.js +63 -0
  31. package/build/admin-roles-list.af53b372.chunk.js +23 -0
  32. package/build/admin-users.004d5c68.chunk.js +26 -0
  33. package/build/audit-logs-settings-page.dc07596e.chunk.js +121 -0
  34. package/build/content-manager.70548048.chunk.js +1123 -0
  35. package/build/content-type-builder-list-view.26aab6f3.chunk.js +215 -0
  36. package/build/email-settings-page.63f269ff.chunk.js +11 -0
  37. package/build/{en-json.0f5cc115.chunk.js → en-json.ba3290b8.chunk.js} +1 -1
  38. package/build/i18n-settings-page.f84c4782.chunk.js +114 -0
  39. package/build/i18n-translation-en-json.60af6722.chunk.js +1 -0
  40. package/build/index.html +1 -1
  41. package/build/main.4016f4ad.js +2630 -0
  42. package/build/{review-workflows-settings.4b39b837.chunk.js → review-workflows-settings.56cab253.chunk.js} +1 -1
  43. package/build/{runtime~main.55d43bd7.js → runtime~main.b22be595.js} +2 -2
  44. package/build/upload-settings.1d187578.chunk.js +14 -0
  45. package/build/upload.bc340679.chunk.js +26 -0
  46. package/build/users-advanced-settings-page.7b4bf63a.chunk.js +9 -0
  47. package/build/users-email-settings-page.035a026c.chunk.js +24 -0
  48. package/build/users-providers-settings-page.6873dce9.chunk.js +29 -0
  49. package/build/{users-roles-settings-page.c773086b.chunk.js → users-roles-settings-page.2549794b.chunk.js} +1 -1
  50. package/build/webhook-list-page.0861d3e9.chunk.js +63 -0
  51. package/package.json +11 -11
  52. package/admin/src/content-manager/components/DynamicTable/BulkActionsBar/index.js +0 -307
  53. package/build/3081.c2cdfac8.chunk.js +0 -108
  54. package/build/3562.e0b1a0b3.chunk.js +0 -50
  55. package/build/456.9b85d4c6.chunk.js +0 -39
  56. package/build/462.a073ff1f.chunk.js +0 -71
  57. package/build/5542.002522eb.chunk.js +0 -71
  58. package/build/617.87b2fe96.chunk.js +0 -155
  59. package/build/6970.7ea35fbd.chunk.js +0 -1
  60. package/build/Admin_marketplace.1436fc2b.chunk.js +0 -55
  61. package/build/Admin_pluginsPage.e1afd5ed.chunk.js +0 -6
  62. package/build/Admin_settingsPage.bd715ed3.chunk.js +0 -79
  63. package/build/admin-app.8b102fe2.chunk.js +0 -63
  64. package/build/admin-roles-list.e8bf9685.chunk.js +0 -31
  65. package/build/admin-users.751b28b2.chunk.js +0 -34
  66. package/build/audit-logs-settings-page.3c6cea81.chunk.js +0 -129
  67. package/build/content-manager.89099707.chunk.js +0 -1123
  68. package/build/content-type-builder-list-view.1e821eb9.chunk.js +0 -215
  69. package/build/email-settings-page.4368689f.chunk.js +0 -11
  70. package/build/i18n-settings-page.7988d872.chunk.js +0 -114
  71. package/build/i18n-translation-en-json.1ec7becf.chunk.js +0 -1
  72. package/build/main.5a232c3d.js +0 -2630
  73. package/build/upload-settings.63d99bf5.chunk.js +0 -14
  74. package/build/upload.c50d8c7a.chunk.js +0 -34
  75. package/build/users-advanced-settings-page.2cfb5d24.chunk.js +0 -9
  76. package/build/users-email-settings-page.bd6c774a.chunk.js +0 -24
  77. package/build/users-providers-settings-page.528f0036.chunk.js +0 -29
  78. package/build/webhook-list-page.b0f5a02c.chunk.js +0 -71
@@ -0,0 +1,155 @@
1
+ (self.webpackChunk_strapi_admin=self.webpackChunk_strapi_admin||[]).push([[617],{56671:function(_,i,e){var n=e(35897),l=e(74741),s=l(n);_.exports=s},91131:function(_,i,e){var n=e(94318),l=e(3387),s="[object RegExp]";function t(a){return l(a)&&n(a)==s}_.exports=t},52920:function(_,i,e){var n=e(56671),l=e(81580);function s(t,a){var o=-1,d=l(t)?Array(t.length):[];return n(t,function(h,c,g){d[++o]=a(h,c,g)}),d}_.exports=s},50690:function(_,i,e){var n=e(26460),l=e(80166),s=e(88904),t=e(52920),a=e(36024),o=e(76535),d=e(1397),h=e(15362),c=e(77236);function g(u,f,m){f.length?f=n(f,function(x){return c(x)?function(M){return l(M,x.length===1?x[0]:x)}:x}):f=[h];var E=-1;f=n(f,o(s));var p=t(u,function(x,M,v){var C=n(f,function(j){return j(x)});return{criteria:C,index:++E,value:x}});return a(p,function(x,M){return d(x,M,m)})}_.exports=g},36024:function(_){function i(e,n){var l=e.length;for(e.sort(n);l--;)e[l]=e[l].value;return e}_.exports=i},40709:function(_,i,e){var n=e(22945);function l(s,t){if(s!==t){var a=s!==void 0,o=s===null,d=s===s,h=n(s),c=t!==void 0,g=t===null,u=t===t,f=n(t);if(!g&&!f&&!h&&s>t||h&&c&&u&&!g&&!f||o&&c&&u||!a&&u||!d)return 1;if(!o&&!h&&!f&&s<t||f&&a&&d&&!o&&!h||g&&a&&d||!c&&d||!u)return-1}return 0}_.exports=l},1397:function(_,i,e){var n=e(40709);function l(s,t,a){for(var o=-1,d=s.criteria,h=t.criteria,c=d.length,g=a.length;++o<c;){var u=n(d[o],h[o]);if(u){if(o>=g)return u;var f=a[o];return u*(f=="desc"?-1:1)}}return s.index-t.index}_.exports=l},74741:function(_,i,e){var n=e(81580);function l(s,t){return function(a,o){if(a==null)return a;if(!n(a))return s(a,o);for(var d=a.length,h=t?d:-1,c=Object(a);(t?h--:++h<d)&&o(c[h],h,c)!==!1;);return a}}_.exports=l},52654:function(_,i,e){var n=e(91131),l=e(76535),s=e(91782),t=s&&s.isRegExp,a=t?l(t):n;_.exports=a},98978:function(_,i,e){var n=e(40314),l=e(50690),s=e(94569),t=e(63108),a=s(function(o,d){if(o==null)return[];var h=d.length;return h>1&&t(o,d[0],d[1])?d=[]:h>2&&t(d[0],d[1],d[2])&&(d=[d[0]]),l(o,n(d,1),[])});_.exports=a},51382:function(_,i,e){var n=e(90454),l=e(24793),s=e(34327),t=e(85973),a=e(52654),o=e(38788),d=e(51119),h=e(25225),c=e(41119),g=30,u="...",f=/\w*$/;function m(E,p){var x=g,M=u;if(t(p)){var v="separator"in p?p.separator:v;x="length"in p?h(p.length):x,M="omission"in p?n(p.omission):M}E=c(E);var C=E.length;if(s(E)){var j=d(E);C=j.length}if(x>=C)return E;var P=x-o(M);if(P<1)return M;var O=j?l(j,0,P).join(""):E.slice(0,P);if(v===void 0)return O+M;if(j&&(P+=O.length-P),a(v)){if(E.slice(P).search(v)){var B,R=O;for(v.global||(v=RegExp(v.source,c(f.exec(v))+"g")),v.lastIndex=0;B=v.exec(R);)var A=B.index;O=O.slice(0,A===void 0?P:A)}}else if(E.indexOf(n(v),P)!=P){var U=O.lastIndexOf(v);U>-1&&(O=O.slice(0,U))}return O+M}_.exports=m},11299:function(_,i,e){"use strict";e.d(i,{$:function(){return c},O:function(){return g}});var n=e(74512),l=e(77277),s=e(8471),t=e(3685),a=e(87933),o=e(72850),d=e(49372);const h=(0,s.ZP)(a.k)`
2
+ svg {
3
+ height: ${10/16}rem;
4
+ width: ${10/16}rem;
5
+ path {
6
+ fill: ${({theme:u})=>u.colors.neutral500};
7
+ }
8
+ }
9
+ :last-of-type ${o.x} {
10
+ display: none;
11
+ }
12
+ :last-of-type ${d.Z} {
13
+ color: ${({theme:u})=>u.colors.neutral800};
14
+ font-weight: ${({theme:u})=>u.fontWeights.bold};
15
+ }
16
+ `,c=({children:u})=>(0,n.jsxs)(h,{inline:!0,as:"li",children:[(0,n.jsx)(d.Z,{variant:"pi",textColor:"neutral600",children:u}),(0,n.jsx)(o.x,{"aria-hidden":!0,paddingLeft:3,paddingRight:3,children:(0,n.jsx)(l.Z,{})})]});c.displayName="Crumb";const g=({children:u,label:f,...m})=>(0,n.jsxs)(a.k,{...m,children:[(0,n.jsx)(t.T,{children:f}),(0,n.jsx)("ol",{"aria-hidden":!0,children:u})]});g.displayName="Breadcrumbs"},21428:function(_,i,e){"use strict";e.d(i,{Wx:function(){return l0},XU:function(){return P},hQ:function(){return j}});var n=e(74512),l=e(32735),s=e(35331),t=e(16899),a=e(42345),o=e(8471),d=e(14268),h=e(95976),c=e(74971),g=e(36971),u=e(30350),f=e(23866),m=e(72850),E=e(49372),p=e(87107),x=e(87933),M=e(28847),v=e(67014),C=e(47851);const j=({children:r,clearLabel:Z="clear",creatable:L=!1,createMessage:b=I=>`Create "${I}"`,defaultFilterValue:w,defaultTextValue:K,defaultOpen:r0=!1,open:a0,onOpenChange:i0,disabled:y=!1,error:F,filterValue:o0,hasMoreItems:d0=!1,hint:h0,id:_0,label:c0,labelAction:u0,loading:H=!1,loadingMessage:x0="Loading content...",noOptionsMessage:f0=()=>"No results found",onChange:Q,onClear:V,onCreateOption:S,onFilterValueChange:E0,onInputChange:z,onTextValueChange:v0,onLoadMore:N,placeholder:g0="Select or enter a value",required:k=!1,startIcon:G,textValue:M0,value:J})=>{const[I,m0]=(0,h.T)({prop:a0,defaultProp:r0,onChange:i0}),[T,X]=(0,h.T)({prop:M0,defaultProp:K,onChange:v0}),[p0,Y]=(0,h.T)({prop:o0,defaultProp:w,onChange:E0}),q=l.useRef(null),e0=l.useRef(null),j0=l.useRef(null),W=(0,c.M)(_0),P0=D=>{V&&!y&&(X(""),Y(""),V(D),e0.current.focus())},O0=D=>{m0(D)},D0=D=>{X(D)},C0=D=>{Y(D)},Z0=D=>{z&&z(D)},B0=D=>{Q&&Q(D)},R0=(0,c.M)(),n0=`intersection-${(0,d.B)(R0)}`,T0=D=>{N&&d0&&!H&&N(D)},t0=()=>{S&&T&&S(T)};(0,g.s)(q,T0,{selectorToWatch:`#${n0}`,skipWhen:!I});const L0=`${W}-hint`,A0=`${W}-error`;return(0,n.jsx)(p.g,{hint:h0,error:F,id:W,required:k,children:(0,n.jsxs)(x.k,{direction:"column",alignItems:"stretch",gap:1,children:[(0,n.jsx)(M.Q,{action:u0,children:c0}),(0,n.jsxs)(a.hQ.Root,{autocomplete:L?"list":"both",open:I,onOpenChange:O0,onTextValueChange:D0,textValue:T,allowCustomValue:!0,disabled:y,required:k,value:J===null?void 0:J,onValueChange:B0,filterValue:p0,onFilterValueChange:C0,children:[(0,n.jsxs)(B,{$hasError:!!F,children:[(0,n.jsxs)(x.k,{flex:"1",as:"span",gap:3,children:[G?(0,n.jsx)(m.x,{as:"span","aria-hidden":!0,children:G}):null,(0,n.jsx)(R,{placeholder:g0,id:W,"aria-invalid":!!F,"aria-labelledby":`${L0} ${A0}`,onChange:Z0,ref:e0})]}),(0,n.jsxs)(x.k,{as:"span",gap:3,children:[T&&V?(0,n.jsx)(O,{as:"button",hasRadius:!0,background:"transparent",type:"button",onClick:P0,"aria-disabled":y,"aria-label":Z,title:Z,ref:j0,children:(0,n.jsx)(s.Z,{})}):null,(0,n.jsx)(A,{children:(0,n.jsx)(t.Z,{})})]})]}),(0,n.jsx)(a.hQ.Portal,{children:(0,n.jsx)(U,{sideOffset:4,children:(0,n.jsxs)(s0,{ref:q,children:[r,L?(0,n.jsx)(a.hQ.CreateItem,{onPointerUp:t0,onClick:t0,asChild:!0,children:(0,n.jsx)($,{children:(0,n.jsx)(E.Z,{children:b(T??"")})})}):null,!L&&!H?(0,n.jsx)(a.hQ.NoValueFound,{asChild:!0,children:(0,n.jsx)($,{$hasHover:!1,children:(0,n.jsx)(E.Z,{children:f0(T??"")})})}):null,H?(0,n.jsx)(x.k,{justifyContent:"center",alignItems:"center",paddingTop:2,paddingBottom:2,children:(0,n.jsx)(f.a,{small:!0,children:x0})}):null,(0,n.jsx)(m.x,{id:n0,width:"100%",height:"1px"})]})})})]}),(0,n.jsx)(v.J,{}),(0,n.jsx)(C.c,{})]})})},P=r=>(0,n.jsx)(j,{...r,creatable:!0}),O=(0,o.ZP)(m.x)`
17
+ border: none;
18
+
19
+ svg {
20
+ height: ${11/16}rem;
21
+ width: ${11/16}rem;
22
+ }
23
+
24
+ svg path {
25
+ fill: ${({theme:r})=>r.colors.neutral600};
26
+ }
27
+ `,B=(0,o.ZP)(a.hQ.Trigger)`
28
+ position: relative;
29
+ border: 1px solid ${({theme:r,$hasError:Z})=>Z?r.colors.danger600:r.colors.neutral200};
30
+ padding-right: ${({theme:r})=>r.spaces[3]};
31
+ padding-left: ${({theme:r})=>r.spaces[3]};
32
+ border-radius: ${({theme:r})=>r.borderRadius};
33
+ background: ${({theme:r})=>r.colors.neutral0};
34
+ overflow: hidden;
35
+ display: flex;
36
+ align-items: center;
37
+ justify-content: space-between;
38
+ gap: ${({theme:r})=>r.spaces[4]};
39
+
40
+ &[data-disabled] {
41
+ color: ${({theme:r})=>r.colors.neutral600};
42
+ background: ${({theme:r})=>r.colors.neutral150};
43
+ cursor: not-allowed;
44
+ }
45
+
46
+ /* Required to ensure the below inputFocusStyles are adhered too */
47
+ &:focus-visible {
48
+ outline: none;
49
+ }
50
+
51
+ ${({theme:r,$hasError:Z})=>(0,u.k3)()({theme:r,hasError:Z})};
52
+ `,R=(0,o.ZP)(a.hQ.TextInput)`
53
+ width: 100%;
54
+ font-size: ${14/16}rem;
55
+ color: ${({theme:r})=>r.colors.neutral800};
56
+ min-height: ${40/16}rem;
57
+ border: none;
58
+ background-color: transparent;
59
+
60
+ &:focus-visible {
61
+ outline: none;
62
+ }
63
+
64
+ &[aria-disabled='true'] {
65
+ cursor: inherit;
66
+ }
67
+ `,A=(0,o.ZP)(a.hQ.Icon)`
68
+ & > svg {
69
+ width: ${6/16}rem;
70
+
71
+ & > path {
72
+ fill: ${({theme:r})=>r.colors.neutral600};
73
+ }
74
+ }
75
+
76
+ &[aria-disabled='true'] {
77
+ cursor: inherit;
78
+ }
79
+ `,U=(0,o.ZP)(a.hQ.Content)`
80
+ background: ${({theme:r})=>r.colors.neutral0};
81
+ box-shadow: ${({theme:r})=>r.shadows.filterShadow};
82
+ border: 1px solid ${({theme:r})=>r.colors.neutral150};
83
+ border-radius: ${({theme:r})=>r.borderRadius};
84
+ width: var(--radix-combobox-trigger-width);
85
+ /* This is from the design-system figma file. */
86
+ max-height: 15rem;
87
+ z-index: ${({theme:r})=>r.zIndices[1]};
88
+ `,s0=(0,o.ZP)(a.hQ.Viewport)`
89
+ padding: ${({theme:r})=>r.spaces[1]};
90
+ `,l0=l.forwardRef(({children:r,value:Z,disabled:L,textValue:b,...w},K)=>(0,n.jsx)(a.hQ.ComboboxItem,{asChild:!0,value:Z,disabled:L,textValue:b,children:(0,n.jsx)($,{ref:K,...w,children:(0,n.jsx)(a.hQ.ItemText,{asChild:!0,children:(0,n.jsx)(E.Z,{children:r})})})})),$=o.ZP.div`
91
+ width: 100%;
92
+ border: none;
93
+ text-align: left;
94
+ outline-offset: -3px;
95
+ padding: ${({theme:r})=>r.spaces[2]} ${({theme:r})=>r.spaces[4]};
96
+ background-color: ${({theme:r})=>r.colors.neutral0};
97
+ border-radius: ${({theme:r})=>r.borderRadius};
98
+ user-select: none;
99
+
100
+ &[data-selected] {
101
+ background-color: ${({theme:r})=>r.colors.primary100};
102
+
103
+ ${E.Z} {
104
+ color: ${({theme:r})=>r.colors.primary600};
105
+ font-weight: bold;
106
+ }
107
+ }
108
+
109
+ &:hover,
110
+ &[data-highlighted] {
111
+ outline: none;
112
+ background-color: ${({theme:r,$hasHover:Z=!0})=>Z?r.colors.primary100:r.colors.neutral0};
113
+ }
114
+
115
+ &[data-highlighted] {
116
+ ${E.Z} {
117
+ color: ${({theme:r})=>r.colors.primary600};
118
+ font-weight: bold;
119
+ }
120
+ }
121
+ `},90333:function(_,i,e){"use strict";e.d(i,{O:function(){return l}});var n=e(21428);const l=n.Wx},25148:function(_,i,e){"use strict";e.d(i,{Q:function(){return g}});var n=e(74512),l=e(32735),s=e(14911),t=e(8471),a=e(73342),o=e(69783),d=e(87933),h=e(49372);const c=(0,t.ZP)(o.G)`
122
+ &[aria-disabled='true'] {
123
+ ${a.sg}
124
+ &:active {
125
+ ${a.sg}
126
+ }
127
+ }
128
+ &:hover {
129
+ ${a.yP}
130
+ }
131
+ &:active {
132
+ ${a.tB}
133
+ }
134
+ ${a.PD}
135
+ `,g=l.forwardRef(({variant:u="default",startIcon:f,endIcon:m,disabled:E=!1,children:p,size:x="S",href:M,to:v,...C},j)=>{const P=M?"_blank":void 0,O=M?"noreferrer noopener":void 0,B=x==="S"?2:"10px",R=4;return(0,n.jsxs)(c,{ref:j,"aria-disabled":E,size:x,variant:u,target:P,rel:O,to:E?void 0:v,href:E?"#":M,background:"buttonPrimary600",borderColor:"buttonPrimary600",hasRadius:!0,gap:2,inline:!0,paddingBottom:B,paddingLeft:R,paddingRight:R,paddingTop:B,pointerEvents:E?"none":void 0,...C,as:v&&!E?s.OL:"a",children:[f&&(0,n.jsx)(d.k,{"aria-hidden":!0,children:f}),(0,n.jsx)(h.Z,{variant:x==="S"?"pi":void 0,fontWeight:"bold",textColor:"buttonNeutral0",children:p}),m&&(0,n.jsx)(d.k,{"aria-hidden":!0,children:m})]})})},27799:function(_,i,e){"use strict";e.d(i,{Q:function(){return t}});var n=e(74512),l=e(8471),s=e(6407);const t=({options:o,...d})=>(0,n.jsx)(s.NU,{...d,children:o.map(h=>"children"in h?(0,n.jsx)(s.Ab,{label:h.label,values:h.children.map(c=>c.value.toString()),children:h.children.map(c=>(0,n.jsx)(a,{value:c.value,children:c.label},c.value))},h.label):(0,n.jsx)(s.ML,{value:h.value,children:h.label},h.value))}),a=(0,l.ZP)(s.ML)`
136
+ padding-left: ${({theme:o})=>o.spaces[7]};
137
+ `},28832:function(_,i,e){"use strict";e.d(i,{z:function(){return f}});var n=e(74512),l=e(32735),s=e(16899),t=e(8471),a=e(74971),o=e(72850),d=e(87933),h=e(49372);const c=(0,t.ZP)(o.x)`
138
+ svg {
139
+ height: ${4/16}rem;
140
+ path {
141
+ fill: ${({theme:m})=>m.colors.neutral700};
142
+ }
143
+ }
144
+ `,g=t.ZP.button`
145
+ border: none;
146
+ padding: 0;
147
+ background: transparent;
148
+ display: flex;
149
+ align-items: center;
150
+ `,u=t.ZP.div`
151
+ display: flex;
152
+ align-items: center;
153
+ width: ${12/16}rem;
154
+ transform: rotateX(${({rotated:m})=>m?"0deg":"180deg"});
155
+ `,f=({label:m,children:E,id:p})=>{const[x,M]=(0,l.useState)(!0),v=(0,a.M)(p);return(0,n.jsxs)(o.x,{children:[(0,n.jsx)(c,{paddingLeft:7,paddingTop:2,paddingBottom:2,paddingRight:4,children:(0,n.jsx)(d.k,{justifyContent:"space-between",children:(0,n.jsxs)(g,{onClick:()=>{M(C=>!C)},"aria-expanded":x,"aria-controls":v,children:[(0,n.jsx)(u,{rotated:x,children:(0,n.jsx)(s.Z,{"aria-hidden":!0})}),(0,n.jsx)(o.x,{paddingLeft:2,children:(0,n.jsx)(h.Z,{as:"span",fontWeight:"semiBold",textColor:"neutral800",children:m})})]})})}),x&&(0,n.jsx)("ul",{id:v,children:l.Children.map(E,(C,j)=>(0,n.jsx)("li",{children:C},j))})]})}},35071:function(_,i,e){"use strict";e.d(i,{Z:function(){return s}});var n=e(74512);const l=t=>(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 32 24",...t,children:[(0,n.jsx)("rect",{width:31,height:23,x:.5,y:.5,fill:"#4945FF",stroke:"#4945FF",rx:2.5}),(0,n.jsx)("path",{fill:"#fff",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"})]}),s=l},26253:function(_,i,e){"use strict";e.d(i,{Z:function(){return s}});var n=e(74512);const l=t=>(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...t,children:[(0,n.jsx)("path",{fill:"#212134",fillRule:"evenodd",d:"M20.4 14.4a2.4 2.4 0 1 0 0-4.8 2.4 2.4 0 0 0 0 4.8Zm0 1.2a3.6 3.6 0 1 0 0-7.2 3.6 3.6 0 0 0 0 7.2ZM3.6 14.4a2.4 2.4 0 1 0 0-4.8 2.4 2.4 0 0 0 0 4.8Zm0 1.2a3.6 3.6 0 1 0 0-7.2 3.6 3.6 0 0 0 0 7.2ZM20.4 22.8a2.4 2.4 0 1 0 0-4.8 2.4 2.4 0 0 0 0 4.8Zm0 1.2a3.6 3.6 0 1 0 0-7.2 3.6 3.6 0 0 0 0 7.2ZM20.4 6a2.4 2.4 0 1 0 0-4.8 2.4 2.4 0 0 0 0 4.8Zm0 1.2a3.6 3.6 0 1 0 0-7.2 3.6 3.6 0 0 0 0 7.2Z",clipRule:"evenodd"}),(0,n.jsx)("path",{fill:"#212134",d:"M6.24 11.28H18v1.44H6.24v-1.44Z"}),(0,n.jsx)("path",{fill:"#212134",fillRule:"evenodd",d:"M3.6 22.8a2.4 2.4 0 1 1 0-4.8 2.4 2.4 0 0 1 0 4.8Zm0 1.2a3.6 3.6 0 1 1 0-7.2 3.6 3.6 0 0 1 0 7.2ZM3.6 6a2.4 2.4 0 1 1 0-4.8 2.4 2.4 0 0 1 0 4.8Zm0 1.2a3.6 3.6 0 1 1 0-7.2 3.6 3.6 0 0 1 0 7.2Z",clipRule:"evenodd"}),(0,n.jsx)("path",{fill:"#212134",d:"M18.328 13.863 6.49 19.765l-.652-1.307 11.838-5.902.652 1.307ZM18.358 10.078 6.398 4.115l-.646 1.294 11.961 5.963.645-1.294Z"}),(0,n.jsx)("path",{fill:"#212134",d:"M18.323 18.83 6.252 12.813l-.643 1.29 12.071 6.019.643-1.29ZM18.136 5.228 6.207 11.176l-.653-1.311 11.928-5.948.654 1.311Z"})]}),s=l},79634:function(_,i,e){"use strict";e.d(i,{Z:function(){return s}});var n=e(74512);const l=t=>(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 25",...t,children:[(0,n.jsx)("path",{fill:"#212134",d:"M17.76 11.28H6v1.44h11.76v-1.44Z"}),(0,n.jsx)("path",{fill:"#212134",d:"M18.129 10.699 9.782 4.523l-.86 1.162 8.347 6.177.86-1.163ZM18.101 13.354 9.755 19.53l-.864-1.167 8.347-6.176.863 1.167Z"}),(0,n.jsx)("path",{fill:"#212134",fillRule:"evenodd",d:"M20.4 14.399a2.4 2.4 0 1 1 0-4.8 2.4 2.4 0 0 1 0 4.8Zm0 1.2a3.6 3.6 0 1 1 0-7.2 3.6 3.6 0 0 1 0 7.2ZM3.6 14.399a2.4 2.4 0 1 1 0-4.8 2.4 2.4 0 0 1 0 4.8Zm0 1.2a3.6 3.6 0 1 1 0-7.2 3.6 3.6 0 0 1 0 7.2ZM7.2 22.8a2.4 2.4 0 1 1 0-4.8 2.4 2.4 0 0 1 0 4.8Zm0 1.2a3.6 3.6 0 1 1 0-7.2 3.6 3.6 0 0 1 0 7.2ZM7.2 6a2.4 2.4 0 1 1 0-4.8 2.4 2.4 0 0 1 0 4.8Zm0 1.2a3.6 3.6 0 1 1 0-7.2 3.6 3.6 0 0 1 0 7.2Z",clipRule:"evenodd"})]}),s=l},32548:function(_,i,e){"use strict";e.d(i,{Z:function(){return s}});var n=e(74512);const l=t=>(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...t,children:[(0,n.jsx)("path",{fill:"#212134",fillRule:"evenodd",d:"M3.6 14.132a2.4 2.4 0 1 0 0-4.8 2.4 2.4 0 0 0 0 4.8Zm0 1.2a3.6 3.6 0 1 0 0-7.2 3.6 3.6 0 0 0 0 7.2Z",clipRule:"evenodd"}),(0,n.jsx)("path",{fill:"#212134",d:"M6.24 11.011h13.44v1.44H6.24v-1.44Z"}),(0,n.jsx)("path",{fill:"#212134",d:"m5.872 10.43 8.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"}),(0,n.jsx)("path",{fill:"#212134",d:"M12.72 2.633 18.82 2 16.43 7.649 12.72 2.633ZM12.72 21.307l6.1.633-2.389-5.649-3.711 5.016Z"})]}),s=l},7733:function(_,i,e){"use strict";e.d(i,{Z:function(){return s}});var n=e(74512);const l=t=>(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 25",...t,children:[(0,n.jsx)("path",{fill:"#212134",d:"M6.24 11.28H18v1.44H6.24v-1.44Z"}),(0,n.jsx)("path",{fill:"#212134",d:"m5.871 10.699 8.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"}),(0,n.jsx)("path",{fill:"#212134",fillRule:"evenodd",d:"M3.6 14.399a2.4 2.4 0 1 0 0-4.8 2.4 2.4 0 0 0 0 4.8Zm0 1.2a3.6 3.6 0 1 0 0-7.2 3.6 3.6 0 0 0 0 7.2ZM20.4 14.399a2.4 2.4 0 1 0 0-4.8 2.4 2.4 0 0 0 0 4.8Zm0 1.2a3.6 3.6 0 1 0 0-7.2 3.6 3.6 0 0 0 0 7.2ZM16.8 22.8a2.4 2.4 0 1 0 0-4.8 2.4 2.4 0 0 0 0 4.8Zm0 1.2a3.6 3.6 0 1 0 0-7.2 3.6 3.6 0 0 0 0 7.2ZM16.8 6a2.4 2.4 0 1 0 0-4.8 2.4 2.4 0 0 0 0 4.8Zm0 1.2a3.6 3.6 0 1 0 0-7.2 3.6 3.6 0 0 0 0 7.2Z",clipRule:"evenodd"})]}),s=l},10168:function(_,i,e){"use strict";e.d(i,{Z:function(){return s}});var n=e(74512);const l=t=>(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...t,children:[(0,n.jsx)("path",{fill:"#212134",fillRule:"evenodd",d:"M3.6 14a2.4 2.4 0 1 0 0-4.8 2.4 2.4 0 0 0 0 4.8Zm0 1.2a3.6 3.6 0 1 0 0-7.2 3.6 3.6 0 0 0 0 7.2ZM20.4 14a2.4 2.4 0 1 0 0-4.8 2.4 2.4 0 0 0 0 4.8Zm0 1.2a3.6 3.6 0 1 0 0-7.2 3.6 3.6 0 0 0 0 7.2Z",clipRule:"evenodd"}),(0,n.jsx)("path",{fill:"#212134",d:"M6.24 10.881H18v1.44H6.24v-1.44Z"})]}),s=l},25449:function(_,i,e){"use strict";e.d(i,{Z:function(){return s}});var n=e(74512);const l=t=>(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...t,children:(0,n.jsx)("path",{fill:"#212134",fillRule:"evenodd",d:"M7.128 12.321a3.601 3.601 0 1 1 0-1.44H18.72v-2.4L24 11.6l-5.28 3.12v-2.4H7.128ZM6 11.6a2.4 2.4 0 1 1-4.8 0 2.4 2.4 0 0 1 4.8 0Z",clipRule:"evenodd"})}),s=l},89135:function(_,i,e){"use strict";e.d(i,{Z:function(){return s}});var n=e(74512);const l=t=>(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 32 24",...t,children:[(0,n.jsx)("path",{fill:"#FDF4DC",stroke:"#FAE7B9",d:"M.5 3A2.5 2.5 0 0 1 3 .5h26A2.5 2.5 0 0 1 31.5 3v18a2.5 2.5 0 0 1-2.5 2.5H3A2.5 2.5 0 0 1 .5 21V3Z"}),(0,n.jsx)("path",{fill:"#D9822F",d:"M20.158 11.995c0-.591-.463-1.073-1.045-1.11H13.53V9.245a2.05 2.05 0 0 1 2.046-2.049c1.13 0 2.048.784 2.049 1.913 0 .24.194.433.433.433h.33a.433.433 0 0 0 .433-.433C18.82 7.32 17.365 5.999 15.577 6a3.246 3.246 0 0 0-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"})]}),s=l},61642:function(_,i,e){"use strict";e.d(i,{Z:function(){return s}});var n=e(74512);const l=t=>(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 32 24",...t,children:[(0,n.jsx)("rect",{width:31,height:23,x:.5,y:.5,fill:"#EAF5FF",stroke:"#B8E1FF",rx:2.5}),(0,n.jsx)("path",{fill:"#0C75AF",fillRule:"evenodd",d:"M19.286 9.286v-.857a.397.397 0 0 0-.138-.302A.465.465 0 0 0 18.82 8h-8.357a.465.465 0 0 0-.326.127.397.397 0 0 0-.138.302v.857c0 .116.046.216.138.301.092.085.2.127.326.127h8.357a.465.465 0 0 0 .327-.127.397.397 0 0 0 .138-.301Zm2.785 2.713v.857a.397.397 0 0 1-.137.301.465.465 0 0 1-.327.128H10.464a.465.465 0 0 1-.326-.128.397.397 0 0 1-.138-.301v-.857c0-.116.046-.217.138-.302a.465.465 0 0 1 .326-.127h11.143c.126 0 .235.043.327.127a.397.397 0 0 1 .137.302Zm-1.857 3.574v.857a.397.397 0 0 1-.137.302.465.465 0 0 1-.327.127h-9.286a.465.465 0 0 1-.326-.127.397.397 0 0 1-.138-.302v-.857c0-.116.046-.216.138-.301a.465.465 0 0 1 .326-.127h9.286c.126 0 .235.042.326.127a.397.397 0 0 1 .138.301Z",clipRule:"evenodd"})]}),s=l},58656:function(_,i,e){"use strict";e.d(i,{Z:function(){return s}});var n=e(74512);const l=t=>(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 32 24",...t,children:[(0,n.jsx)("rect",{width:31,height:23,x:.5,y:.5,fill:"#0C75AF",stroke:"#0C75AF",rx:2.5}),(0,n.jsx)("path",{fill:"#fff",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"})]}),s=l}}]);
@@ -0,0 +1,50 @@
1
+ (self.webpackChunk_strapi_admin=self.webpackChunk_strapi_admin||[]).push([[6858],{95919:function(y,m,n){var r=n(80022);function f(c){return r(c)&&c!=+c}y.exports=f},80022:function(y,m,n){var r=n(94318),f=n(3387),c="[object Number]";function _(E){return typeof E=="number"||f(E)&&r(E)==c}y.exports=_},59578:function(y,m,n){var r=n(41119);function f(c){return r(c).toLowerCase()}y.exports=f},98178:function(y,m,n){"use strict";n.d(m,{P1:function(){return M}});var r="NOT_FOUND";function f(u){var a;return{get:function(t){return a&&u(a.key,t)?a.value:r},put:function(t,o){a={key:t,value:o}},getEntries:function(){return a?[a]:[]},clear:function(){a=void 0}}}function c(u,a){var e=[];function t(l){var p=e.findIndex(function(v){return a(l,v.key)});if(p>-1){var h=e[p];return p>0&&(e.splice(p,1),e.unshift(h)),h.value}return r}function o(l,p){t(l)===r&&(e.unshift({key:l,value:p}),e.length>u&&e.pop())}function i(){return e}function s(){e=[]}return{get:t,put:o,getEntries:i,clear:s}}var _=function(a,e){return a===e};function E(u){return function(e,t){if(e===null||t===null||e.length!==t.length)return!1;for(var o=e.length,i=0;i<o;i++)if(!u(e[i],t[i]))return!1;return!0}}function b(u,a){var e=typeof a=="object"?a:{equalityCheck:a},t=e.equalityCheck,o=t===void 0?_:t,i=e.maxSize,s=i===void 0?1:i,l=e.resultEqualityCheck,p=E(o),h=s===1?f(p):c(s,p);function v(){var d=h.get(arguments);if(d===r){if(d=u.apply(null,arguments),l){var g=h.getEntries(),x=g.find(function(O){return l(O.value,d)});x&&(d=x.value)}h.put(arguments,d)}return d}return v.clearCache=function(){return h.clear()},v}function P(u){var a=Array.isArray(u[0])?u[0]:u;if(!a.every(function(t){return typeof t=="function"})){var e=a.map(function(t){return typeof t=="function"?"function "+(t.name||"unnamed")+"()":typeof t}).join(", ");throw new Error("createSelector expects all input-selectors to be functions, but received the following types: ["+e+"]")}return a}function j(u){for(var a=arguments.length,e=new Array(a>1?a-1:0),t=1;t<a;t++)e[t-1]=arguments[t];var o=function(){for(var s=arguments.length,l=new Array(s),p=0;p<s;p++)l[p]=arguments[p];var h=0,v,d={memoizeOptions:void 0},g=l.pop();if(typeof g=="object"&&(d=g,g=l.pop()),typeof g!="function")throw new Error("createSelector expects an output function after the inputs, but received: ["+typeof g+"]");var x=d,O=x.memoizeOptions,C=O===void 0?e:O,Z=Array.isArray(C)?C:[C],D=P(l),R=u.apply(void 0,[function(){return h++,g.apply(null,arguments)}].concat(Z)),A=u(function(){for(var B=[],S=D.length,T=0;T<S;T++)B.push(D[T].apply(null,arguments));return v=R.apply(null,B),v});return Object.assign(A,{resultFunc:g,memoizedResultFunc:R,dependencies:D,lastResult:function(){return v},recomputations:function(){return h},resetRecomputations:function(){return h=0}}),A};return o}var M=j(b),w=function(a,e){if(e===void 0&&(e=M),typeof a!="object")throw new Error("createStructuredSelector expects first argument to be an object "+("where each property is a selector, instead received a "+typeof a));var t=Object.keys(a),o=e(t.map(function(i){return a[i]}),function(){for(var i=arguments.length,s=new Array(i),l=0;l<i;l++)s[l]=arguments[l];return s.reduce(function(p,h,v){return p[t[v]]=h,p},{})});return o}},83828:function(y,m,n){"use strict";n.d(m,{U:function(){return a},y:function(){return w}});var r=n(74512),f=n(32735),c=n(8471),_=n(91045),E=n(74971),b=n(49372),P=n(87933),j=n(72850);const M=({theme:e,expanded:t,variant:o,disabled:i,error:s})=>s?`1px solid ${e.colors.danger600} !important`:i?`1px solid ${e.colors.neutral150}`:t?`1px solid ${e.colors.primary600}`:o==="primary"?`1px solid ${e.colors.neutral0}`:`1px solid ${e.colors.neutral100}`,w=(0,c.ZP)(b.Z)``,u=(0,c.ZP)(j.x)`
2
+ border: ${M};
3
+
4
+ &:hover:not([aria-disabled='true']) {
5
+ border: 1px solid ${({theme:e})=>e.colors.primary600};
6
+
7
+ ${w} {
8
+ color: ${({theme:e,expanded:t})=>t?void 0:e.colors.primary700};
9
+ }
10
+
11
+ ${b.Z} {
12
+ color: ${({theme:e,expanded:t})=>t?void 0:e.colors.primary600};
13
+ }
14
+
15
+ & > ${P.k} {
16
+ background: ${({theme:e})=>e.colors.primary100};
17
+ }
18
+
19
+ [data-strapi-dropdown='true'] {
20
+ background: ${({theme:e})=>e.colors.primary200};
21
+ }
22
+ }
23
+ `,a=({children:e,disabled:t=!1,error:o,expanded:i=!1,hasErrorMessage:s=!0,id:l,onToggle:p,toggle:h,size:v="M",variant:d="primary",shadow:g})=>{const x=(0,E.M)(l),O=f.useMemo(()=>({expanded:i,onToggle:p,toggle:h,id:x,size:v,variant:d,disabled:t}),[t,i,x,p,v,h,d]);return(0,r.jsxs)(_.S.Provider,{value:O,children:[(0,r.jsx)(u,{"data-strapi-expanded":i,disabled:t,"aria-disabled":t,expanded:i,hasRadius:!0,variant:d,error:o,shadow:g,children:e}),o&&s&&(0,r.jsx)(j.x,{paddingTop:1,children:(0,r.jsx)(b.Z,{variant:"pi",textColor:"danger600",children:o})})]})}},89966:function(y,m,n){"use strict";n.d(m,{v:function(){return _}});var r=n(74512),f=n(91045),c=n(72850);const _=({children:E,...b})=>{const{expanded:P,id:j}=(0,f.A)();if(!P)return null;const M=`accordion-content-${j}`,w=`accordion-label-${j}`,u=`accordion-desc-${j}`;return(0,r.jsx)(c.x,{role:"region",id:M,"aria-labelledby":w,"aria-describedby":u,...b,children:E})}},91045:function(y,m,n){"use strict";n.d(m,{A:function(){return c},S:function(){return f}});var r=n(32735);const f=(0,r.createContext)({disabled:!1,expanded:!1,id:"",size:"M",variant:"primary"}),c=()=>(0,r.useContext)(f)},61762:function(y,m,n){"use strict";n.d(m,{B:function(){return e}});var r=n(74512),f=n(16899),c=n(8471),_=n(83828),E=n(91045);const b=({expanded:t,disabled:o,variant:i})=>{let s="neutral100";return t?s="primary100":o?s="neutral150":i==="primary"&&(s="neutral0"),s};var P=n(7563),j=n(99140),M=n(87933),w=n(49372);const u=(0,c.ZP)(P.A)`
24
+ text-align: left;
25
+
26
+ // necessary to make the ellipsis prop work on the title
27
+ > span {
28
+ max-width: 100%;
29
+ }
30
+
31
+ svg {
32
+ width: ${14/16}rem;
33
+ height: ${14/16}rem;
34
+
35
+ path {
36
+ fill: ${({theme:t,expanded:o})=>o?t.colors.primary600:t.colors.neutral500};
37
+ }
38
+ }
39
+ `,a=(0,c.ZP)(M.k)`
40
+ min-height: ${({theme:t,size:o})=>t.sizes.accordions[o]};
41
+ border-radius: ${({theme:t,expanded:o})=>o?`${t.borderRadius} ${t.borderRadius} 0 0`:t.borderRadius};
42
+
43
+ &:hover {
44
+ svg {
45
+ path {
46
+ fill: ${({theme:t})=>t.colors.primary600};
47
+ }
48
+ }
49
+ }
50
+ `,e=({title:t,description:o,as:i="span",togglePosition:s="right",action:l,...p})=>{const{onToggle:h,toggle:v,expanded:d,id:g,size:x,variant:O,disabled:C}=(0,E.A)(),Z=`accordion-content-${g}`,D=`accordion-label-${g}`,R=`accordion-desc-${g}`,A=x==="M"?6:4,$=x==="M"?A:A-2,B=b({expanded:d,disabled:C,variant:O}),S={as:i,fontWeight:x==="S"?"bold":void 0,id:D,textColor:d?"primary600":"neutral700",ellipsis:!0,variant:x==="M"?"delta":void 0},T=d?"primary600":"neutral600",W=d?"primary200":"neutral200",L=x==="M"?`${32/16}rem`:`${24/16}rem`,I=()=>{C||(v&&!h?(console.warn('Deprecation warning: Usage of "toggle" prop in Accordion component is deprecated. This is discouraged and will be removed in the next major release. Please use "onToggle" instead'),v()):h&&h())},U=(0,r.jsx)(M.k,{justifyContent:"center",borderRadius:"50%",height:L,width:L,transform:d?"rotate(180deg)":void 0,"data-strapi-dropdown":!0,"aria-hidden":!0,as:"span",background:W,cursor:C?"not-allowed":"pointer",onClick:I,shrink:0,children:(0,r.jsx)(j.J,{as:f.Z,width:x==="M"?`${11/16}rem`:`${8/16}rem`,color:d?"primary600":"neutral600"})});return(0,r.jsx)(a,{paddingBottom:$,paddingLeft:A,paddingRight:A,paddingTop:$,background:B,expanded:d,size:x,justifyContent:"space-between",cursor:C?"not-allowed":"",children:(0,r.jsxs)(M.k,{gap:3,flex:1,maxWidth:"100%",children:[s==="left"&&U,(0,r.jsx)(u,{onClick:I,"aria-disabled":C,"aria-expanded":d,"aria-controls":Z,"aria-labelledby":D,"data-strapi-accordion-toggle":!0,expanded:d,type:"button",flex:1,minWidth:0,...p,children:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(_.y,{...S,children:t}),o&&(0,r.jsx)(w.Z,{as:"p",id:R,textColor:T,children:o})]})}),s==="right"&&(0,r.jsxs)(M.k,{gap:3,children:[U,l]}),s==="left"&&l]})})}},47081:function(y,m,n){"use strict";n.d(m,{Z:function(){return c}});var r=n(74512);const f=_=>(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",..._,children:[(0,r.jsx)("path",{fill:"#212134",d:"M16.563 5.587a2.503 2.503 0 1 0 0-5.007 2.503 2.503 0 0 0 0 5.007Z"}),(0,r.jsx)("path",{fill:"#212134",d:"M18.487 3.083c-.012.788-.487 1.513-1.229 1.797a1.954 1.954 0 0 1-2.184-.574A1.943 1.943 0 0 1 14.9 2.11c.4-.684 1.2-1.066 1.981-.927a1.954 1.954 0 0 1 1.606 1.9c.011.748 1.17.748 1.158 0A3.138 3.138 0 0 0 17.565.17c-1.176-.423-2.567-.03-3.36.933-.83 1.002-.968 2.45-.284 3.575.678 1.124 1.993 1.674 3.273 1.431 1.432-.272 2.428-1.593 2.451-3.019.012-.753-1.147-.753-1.158-.006ZM16.563 14.372a2.503 2.503 0 1 0 0-5.007 2.503 2.503 0 0 0 0 5.007Z"}),(0,r.jsx)("path",{fill:"#212134",d:"M18.487 11.867c-.012.789-.487 1.513-1.229 1.797a1.954 1.954 0 0 1-2.184-.574 1.943 1.943 0 0 1-.174-2.196c.4-.684 1.2-1.066 1.981-.927.928.156 1.588.968 1.606 1.9.011.748 1.17.748 1.158 0a3.138 3.138 0 0 0-2.08-2.914c-1.176-.423-2.567-.029-3.36.933-.83 1.002-.968 2.45-.284 3.575.678 1.124 1.993 1.675 3.273 1.431 1.432-.272 2.428-1.593 2.451-3.019.012-.753-1.147-.753-1.158-.005ZM16.563 23.392a2.503 2.503 0 1 0 0-5.006 2.503 2.503 0 0 0 0 5.006Z"}),(0,r.jsx)("path",{fill:"#212134",d:"M18.487 20.89c-.012.787-.487 1.512-1.229 1.796a1.954 1.954 0 0 1-2.184-.574 1.943 1.943 0 0 1-.174-2.196c.4-.684 1.2-1.066 1.981-.927.928.156 1.588.967 1.606 1.9.011.748 1.17.748 1.158 0a3.138 3.138 0 0 0-2.08-2.914c-1.176-.423-2.567-.03-3.36.933-.83 1.002-.968 2.45-.284 3.575.678 1.124 1.993 1.674 3.273 1.431 1.432-.272 2.428-1.593 2.451-3.019.012-.753-1.147-.753-1.158-.006ZM7.378 5.622a2.503 2.503 0 1 0 0-5.007 2.503 2.503 0 0 0 0 5.007Z"}),(0,r.jsx)("path",{fill:"#212134",d:"M9.302 3.119c-.011.788-.486 1.512-1.228 1.796a1.954 1.954 0 0 1-2.185-.574 1.943 1.943 0 0 1-.173-2.196c.4-.684 1.199-1.066 1.981-.927a1.943 1.943 0 0 1 1.605 1.9c.012.748 1.17.748 1.16 0A3.138 3.138 0 0 0 8.38.205c-1.176-.423-2.567-.029-3.36.933-.83 1.002-.968 2.45-.285 3.575.678 1.124 1.994 1.675 3.274 1.431 1.431-.272 2.428-1.593 2.451-3.019.012-.753-1.147-.753-1.159-.005ZM7.378 14.406a2.503 2.503 0 1 0 0-5.006 2.503 2.503 0 0 0 0 5.006Z"}),(0,r.jsx)("path",{fill:"#212134",d:"M9.302 11.902c-.011.788-.486 1.513-1.228 1.797a1.954 1.954 0 0 1-2.185-.574 1.943 1.943 0 0 1-.173-2.196c.4-.684 1.199-1.066 1.981-.927a1.943 1.943 0 0 1 1.605 1.9c.012.748 1.17.748 1.16 0A3.138 3.138 0 0 0 8.38 8.988c-1.176-.423-2.567-.03-3.36.933-.83 1.002-.968 2.45-.285 3.575.678 1.124 1.994 1.674 3.274 1.431 1.431-.272 2.428-1.593 2.451-3.019.012-.753-1.147-.753-1.159-.006ZM7.378 23.427a2.503 2.503 0 1 0 0-5.007 2.503 2.503 0 0 0 0 5.007Z"}),(0,r.jsx)("path",{fill:"#212134",d:"M9.302 20.924c-.011.788-.486 1.513-1.228 1.797a1.954 1.954 0 0 1-2.185-.574 1.943 1.943 0 0 1-.173-2.196c.4-.684 1.199-1.066 1.981-.927.933.156 1.594.967 1.605 1.9.012.748 1.17.748 1.16 0A3.139 3.139 0 0 0 8.38 18.01c-1.176-.423-2.567-.03-3.36.933-.83 1.002-.968 2.45-.285 3.569.678 1.124 1.994 1.675 3.274 1.431 1.431-.272 2.428-1.593 2.451-3.019.012-.747-1.147-.747-1.159 0Z"})]}),c=f},86308:function(y,m,n){"use strict";n.d(m,{Z:function(){return c}});var r=n(74512);const f=_=>(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",..._,children:[(0,r.jsx)("circle",{cx:12,cy:12,r:12,fill:"#212134"}),(0,r.jsx)("path",{fill:"#F6F6F9",d:"M17 12.569c0 .124-.1.224-.225.224h-3.981v3.982c0 .124-.101.225-.226.225h-1.136a.225.225 0 0 1-.226-.225v-3.981H7.226A.225.225 0 0 1 7 12.567v-1.136c0-.125.1-.226.225-.226h3.982V7.226c0-.124.1-.225.224-.225h1.138c.124 0 .224.1.224.225v3.982h3.982c.124 0 .225.1.225.224v1.138Z"})]}),c=f}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunk_strapi_admin=self.webpackChunk_strapi_admin||[]).push([[6970],{55433:function(U,p,e){e.d(p,{r:function(){return g}});var o=e(32735),l=e(60216),m=e.n(l),h=e(74506),v=e(72850);function E(c,T,a){if(!c||!T)return{display:"none"};const{x:d,y:C}=a;return{transform:`translate(${d}px, ${C}px)`}}function g({renderItem:c}){const{itemType:T,isDragging:a,item:d,initialOffset:C,currentOffset:k,mouseOffset:B}=(0,h.useDragLayer)(P=>({item:P.getItem(),itemType:P.getItemType(),initialOffset:P.getInitialSourceClientOffset(),currentOffset:P.getSourceClientOffset(),isDragging:P.isDragging(),mouseOffset:P.getClientOffset()}));return a?o.createElement(v.x,{height:"100%",left:0,position:"fixed",pointerEvents:"none",top:0,zIndex:100,width:"100%"},o.createElement(v.x,{style:E(C,k,B)},c({type:T,item:d}))):null}g.propTypes={renderItem:m().func.isRequired}},73386:function(U,p,e){var o=e(32735);const l=(0,o.createContext)();var m=null},56327:function(U,p,e){e.d(p,{PL:function(){return v},Y9:function(){return Te.Y},zE:function(){return J},Ky:function(){return r},fi:function(){return D},zH:function(){return ge},r5:function(){return V}});var o=e(32735),l=e(15062),m=e(70031),v=()=>{const t=(0,l.v9)(m.Z),s=(0,o.useCallback)(n=>t?.components?.[n]??{},[t]);return{...t,getComponentLayout:s}},E=e(84306),g=e(24989),c=e(99381),T=e.n(c),a=e(33795),d=e.n(a),C=e(3040),k=e.n(C),B=e(95952);const P=(t,s)=>s.find(n=>n.uid===t),G=(t,s)=>{const n=w(t,s),i=H(n.contentType,s),O=q(n.contentType,n.components);return k()(n,["contentType","layouts","edit"],i),k()(n,["contentType","layouts","list"],O),Object.keys(n.components).forEach(f=>{const A=H(n.components[f],s);k()(n,["components",f,"layouts","edit"],A)}),n},w=(t,s)=>{const n=(0,B.w8)(T()(t),s,"contentType"),{components:i,contentType:O}=n,f=A=>Object.keys(A.metadatas).reduce((W,I)=>{const b=d()(A,["attributes",I],{});let x=A.metadatas[I];if(b.type==="relation"){const fe=P(b.targetModel,s),j=x.edit.mainField,z={name:j,schema:d()(fe,["attributes",j])};x={list:{...x.list,mainField:z},edit:{...x.edit,mainField:z}}}return W[I]=x,W},{});return k()(n,["contentType","metadatas"],f(O)),Object.keys(i).forEach(A=>{const W=i[A],I=f(W);k()(n,["components",A,"metadatas"],I)}),n},H=(t,s)=>t.layouts.edit.reduce((n,i)=>{const O=i.map(f=>{const A=d()(t,["attributes",f.name],{}),W={...f,fieldSchema:A,metadatas:d()(t,["metadatas",f.name,"edit"],{})};if(A.type==="relation"){const b=P(A.targetModel,s).pluginOptions||{};k()(W,"targetModelPluginOptions",b),k()(W,"queryInfos",{shouldDisplayRelationLink:re(t,f.name,s)})}return W});return n.push(O),n},[]),q=(t,s)=>t.layouts.list.reduce((i,O)=>{const f=d()(t,["attributes",O],{}),A=d()(t,["metadatas",O,"list"],{}),W=f.type;if(W==="relation")return i.push({key:`__${O}_key__`,name:O,fieldSchema:f,metadatas:A}),i;if(W==="component"){const I=s[f.component],b=I.settings.mainField,x=I.attributes[b];return i.push({key:`__${O}_key__`,name:O,fieldSchema:f,metadatas:{...A,mainField:{...x,name:b}}}),i}return i.push({key:`__${O}_key__`,name:O,fieldSchema:f,metadatas:A}),i},[]),re=(t,s,n)=>{const i=d()(t,["attributes",s,"targetModel"],"");return ee(n).includes(i)},ee=t=>t.filter(s=>s.isDisplayed).map(({uid:s})=>s);var X=G,te=e(97889);const K={error:null,isLoading:!0,layout:{},layouts:{}};var Q=(t,s)=>(0,te.ZP)(t,n=>{switch(s.type){case"GET_DATA":{n.isLoading=!0,n.error=null,n.layout={};break}case"GET_DATA_SUCCEEDED":{const i=s.data.contentType.uid;n.layout=s.data,n.layouts[i]=s.data,n.isLoading=!1;break}case"GET_DATA_ERROR":{n.isLoading=!1,n.error=s.error;break}case"SET_LAYOUT_FROM_STATE":{n.error=null,n.layout=t.layouts[s.uid];break}case"UPDATE_LAYOUT":{const i=t.layout;n.layout={...i,contentType:{uid:i.contentType.uid,...s.newLayout.contentType}},n.layouts[i.contentType.uid]={...i,contentType:{uid:i.contentType.uid,...s.newLayout.contentType}};break}default:return n}}),Y=e(42882),J=t=>{const[{error:s,isLoading:n,layout:i,layouts:O},f]=(0,o.useReducer)(Q,K),A=(0,o.useMemo)(Y.Vo,[]),{schemas:W}=(0,l.v9)(j=>A(j),l.wU),I=(0,o.useRef)(!0),{get:b}=(0,g.kY)(),x=(0,o.useCallback)(async(j,z)=>{if(O[j]){f({type:"SET_LAYOUT_FROM_STATE",uid:j});return}f({type:"GET_DATA"});try{const{data:{data:oe}}=await b(`/content-manager/content-types/${j}/configuration`,{cancelToken:z.token});f({type:"GET_DATA_SUCCEEDED",data:X(oe,W)})}catch(oe){if(E.default.isCancel(oe))return;I.current&&console.error(oe),I.current&&f({type:"GET_DATA_ERROR",error:oe})}},[O,W,b]);(0,o.useEffect)(()=>()=>{I.current=!1},[]),(0,o.useEffect)(()=>{const z=E.default.CancelToken.source();return x(t,z),()=>{z.cancel("Operation canceled by the user.")}},[t,x]);const fe=(0,o.useCallback)(j=>{f({type:"UPDATE_LAYOUT",newLayout:X(j,W)})},[W]);return{error:s,isLoading:n,layout:i,updateLayout:fe}},_=t=>t["content-manager_app"].collectionTypeLinks,Z=e(33348),ie=e(85973),me=e.n(ie);const ue=(t,s)=>Object.keys(t).reduce((n,i)=>{const O=t[i],f=d()(s,[i],O);return me()(O)?{...n,[i]:ue(O,f)}:(n[i]=f,n)},{});var ye=(t,s,n)=>{const i=t.find(({to:x})=>x.includes(s));if(!i)return"/";const{to:O,search:f}=i,A=(0,Z.parse)(f),W=(0,Z.parse)(n.substring(1)),I=ue(A,W);return`${O}?${(0,Z.stringify)(I,{encode:!1})}`},r=t=>{const[{rawQuery:s}]=(0,g.Kx)(),n=(0,l.v9)(_);return ye(n,t,s)},u=e(53038),D=()=>{const{search:t}=(0,u.TH)(),s=t?(0,Z.parse)(t.substring(1)):{};return s.plugins?(0,Z.stringify)({plugins:s.plugins},{encode:!1}):""},F=e(89334);const N=(t,s,n)=>({type:F.m,permissions:t,__meta__:{plugins:s,containerName:n}}),R=()=>({type:F.Q}),L=t=>t["content-manager_rbacManager"].permissions,M=t=>t.rbacProvider.collectionTypesRelatedPermissions;var V=(t,s,n="listView")=>{const i=(0,l.v9)(M),O=(0,l.v9)(L),f=(0,l.I0)(),A=i[s];return(0,o.useEffect)(()=>A?(f(N(A,t?t.plugins:null,n)),()=>{f(R())}):()=>{},[A,f,t,n]),O},ce=e(73386);const $=()=>useContext(WysiwygContext);var se=null;const ge=t=>{const s=(0,o.useRef)();return(0,o.useEffect)(()=>{s.current=t},[t]),s.current};var Te=e(90553),ve=e(18777)},90553:function(U,p,e){e.d(p,{Y:function(){return v}});var o=e(32735),l=e(74506),m=e.n(l),h=e(18777);const v=(E,{type:g="STRAPI_DND",index:c,item:T={},onStart:a,onEnd:d,onGrabItem:C,onDropItem:k,onCancel:B,onMoveItem:P,dropSensitivity:G="regular"})=>{const w=(0,o.useRef)(null),[{handlerId:H},q]=(0,l.useDrop)({accept:g,collect(K){return{handlerId:K.getHandlerId()}},hover(K,ae){if(!w.current)return;const Q=K.index,Y=c;if(Q!==Y){if(G==="regular"){const ne=w.current.getBoundingClientRect(),J=(ne.bottom-ne.top)/2,_=ae.getClientOffset().y-ne.top;if(Q<Y&&_<J||Q>Y&&_>J)return}P(Y,Q),K.index=Y}}}),[{isDragging:re},ee,X]=(0,l.useDrag)({type:g,item(){a&&a();const{width:K}=w.current?.getBoundingClientRect()??{};return{index:c,width:K,...T}},end(){d&&d()},canDrag:E,isDragging:T.id?K=>T.id===K.getItem().id:void 0,collect:K=>({isDragging:K.isDragging()})}),te=(0,h.A)(E,c,{onGrabItem:C,onDropItem:k,onCancel:B,onMoveItem:P});return[{handlerId:H,isDragging:re,handleKeyDown:te},w,q,ee,X]}},18777:function(U,p,e){e.d(p,{A:function(){return l}});var o=e(32735);const l=(m,h,{onCancel:v,onDropItem:E,onGrabItem:g,onMoveItem:c})=>{const[T,a]=(0,o.useState)(!1),d=P=>{T&&(P==="UP"?c(h-1,h):P==="DOWN"&&c(h+1,h))},C=()=>{T?(E&&E(h),a(!1)):(g&&g(h),a(!0))},k=()=>{T&&(a(!1),v&&v(h))};return P=>{if(m&&!(P.key==="Tab"&&!T))switch(P.preventDefault(),P.key){case" ":case"Enter":C();break;case"Escape":k();break;case"ArrowDown":case"ArrowRight":d("DOWN");break;case"ArrowUp":case"ArrowLeft":d("UP");break;default:}}}},42882:function(U,p,e){e.d(p,{Jg:function(){return c},KQ:function(){return E},Vo:function(){return g},Yg:function(){return m}});var o=e(98178),l=e(34947);const m=()=>a=>a["content-manager_app"]||l.E,h=()=>createSelector(m(),a=>a),v=()=>createSelector(m(),a=>a.models),E=()=>(0,o.P1)(m(),a=>({collectionTypeLinks:a.collectionTypeLinks,singleTypeLinks:a.singleTypeLinks})),g=()=>(0,o.P1)(m(),({components:a,models:d})=>({schemas:[...a,...d]})),c=(0,o.P1)(m(),a=>a.fieldSizes);var T=null},70031:function(U,p){const e=o=>o["content-manager_editViewLayoutManager"].currentLayout;p.Z=e},25708:function(U,p){p.Z={COMPONENT:"component",EDIT_FIELD:"editField",FIELD:"field",DYNAMIC_ZONE:"dynamicZone",RELATION:"relation"}},47510:function(U,p){const e=o=>`content-manager.${o}`;p.Z=e},95952:function(U,p,e){e.d(p,{_Q:function(){return _.Z},W3:function(){return h},ko:function(){return c},FE:function(){return a},Di:function(){return B},du:function(){return H},TA:function(){return ee},Ts:function(){return ae},Uo:function(){return Y},IF:function(){return J},OB:function(){return de.Z},w8:function(){return ue},kc:function(){return pe}});var o=e(99381),l=e.n(o),h=(r,u,y)=>{if(Array.isArray(r)&&u>=0&&y>=0&&u<=r.length-1&&y<=r.length-1){const D=l()(r),F=D.splice(u,1);return D.splice(y,0,F[0]),D}return r},v=e(59578),E=e.n(v),c=r=>{const u=r.type;return u==="relation"?!E()(r.relationType).includes("morph"):!["json","dynamiczone","richtext","password"].includes(u)&&!!u};const T=(r,u)=>{typeof r=="function"?r(u):r!=null&&(r.current=u)},a=(...r)=>u=>r.forEach(y=>T(y,u));var d=e(33795),C=e.n(d);const k=(r,u)=>Object.keys(r).reduce((y,D)=>{const F=C()(r,[D],{}),{default:N,component:R,type:L,required:M,min:S,repeatable:V}=F;if(N!==void 0&&(y[D]=N),L==="component"){const ce=u?.[R]?.attributes??{},$=k(ce,u);if(M===!0&&(y[D]=V===!0?[]:$),S&&V===!0&&M){y[D]=[];for(let se=0;se<S;se+=1)y[D].push($)}}return L==="dynamiczone"&&M===!0&&(y[D]=[]),y},{});var B=k,P=e(9086),G=e.n(P),H=({layouts:r,metadatas:u,...y})=>{const D=r.list.map(R=>R.name?R.name:R),F=Object.keys(u).reduce((R,L)=>{const M=C()(u,[L],{});let S=M.edit;return S.mainField&&(S={...S,mainField:M.edit.mainField.name}),{...R,[L]:{edit:S,list:G()(M.list,["mainField"])}}},{}),N=r.edit.map(R=>R.map(({name:L,size:M})=>({name:L,size:M})));return{...y,layouts:{edit:N,list:D},metadatas:F}};const q=(r,u)=>r.map(y=>({...y,subject:u}));var ee=r=>{const u={create:[{action:"plugin::content-manager.explorer.create",subject:null}],delete:[{action:"plugin::content-manager.explorer.delete",subject:null}],publish:[{action:"plugin::content-manager.explorer.publish",subject:null}],read:[{action:"plugin::content-manager.explorer.read",subject:null}],update:[{action:"plugin::content-manager.explorer.update",subject:null}]};return Object.keys(u).reduce((y,D)=>(y[D]=q(u[D],r),y),{})},X=e(95919),te=e.n(X),ae=r=>r.split(".").filter(u=>te()(parseInt(u,10))),Y=r=>{if(r.length===0)return-1;const u=Math.max.apply(Math,r.map(y=>y.__temp_key__??0));return Number.isNaN(u)?-1:u},J=r=>`/content-manager/${r}`,de=e(47510),_=e(25708),Z=e(3040),ie=e.n(Z),ue=(r,u,y)=>{const D=L=>u.find(M=>M.uid===L),F=Object.assign({},r),N=r[y].uid,R=D(N);return ie()(F,[y],{...r[y],...R}),Object.keys(r.components).forEach(L=>{const M=D(L);ie()(F,["components",L],{...r.components[L],...M})}),F},le=e(24989),pe=(r,u,y)=>{const D=(F,N)=>Object.keys(F).reduce((R,L)=>{const M=(0,le.UN)(N,L),S=C()(F,L),V=(0,le.k2)(N,[L,"component"]),ce=(0,le.k2)(N,[L,"repeatable"]);return M==="dynamiczone"?(R[L]=S.map($=>D($,y[$.__component])),R):M==="component"?(ce?R[L]=S&&S.map($=>D($,y[V])):R[L]=S&&D(S,y[V]),R):(M!=="password"&&(R[L]=S),R)},{});return D(r,u)}},28315:function(U,p,e){e.d(p,{K:function(){return c}});var o=e(32735),l=e(60216),m=e.n(l),h=e(67582),v=e(87933),E=e(49372),g=e(54504);function c({children:T,...a}){const{color:d}=a.data,{themeColorName:C}=(0,g.k)(d);return o.createElement(h.c.Option,{...a},o.createElement(v.k,{alignItems:"center",gap:2},o.createElement(v.k,{height:2,background:d,borderColor:C==="neutral0"?"neutral150":"transparent",hasRadius:!0,shrink:0,width:2}),o.createElement(E.Z,{textColor:"neutral800",ellipsis:!0},T)))}c.propTypes={children:m().node.isRequired,data:m().shape({color:m().string}).isRequired}},8445:function(U,p,e){e.d(p,{R:function(){return c}});var o=e(32735),l=e(60216),m=e.n(l),h=e(67582),v=e(87933),E=e(49372),g=e(54504);function c({children:T,...a}){const{color:d}=a.data,{themeColorName:C}=d?(0,g.k)(d):{};return o.createElement(h.c.SingleValue,{...a},o.createElement(v.k,{alignItems:"center",gap:2},o.createElement(v.k,{height:2,background:d,borderColor:C==="neutral0"?"neutral150":"transparent",hasRadius:!0,shrink:0,width:2}),o.createElement(E.Z,{textColor:"neutral800",ellipsis:!0},T)))}c.defaultProps={children:null},c.propTypes={children:m().node,data:m().shape({color:m().string}).isRequired}},61937:function(U,p,e){e.d(p,{$k:function(){return g},FT:function(){return T},Nj:function(){return E},Ot:function(){return v},QM:function(){return m},lv:function(){return c},sN:function(){return l},uL:function(){return a},x4:function(){return h}});var o=e(12301);const l="settings_review-workflows",m="Settings/Review_Workflows/SET_WORKFLOWS",h="Settings/Review_Workflows/WORKFLOW_DELETE_STAGE",v="Settings/Review_Workflows/WORKFLOW_ADD_STAGE",E="Settings/Review_Workflows/WORKFLOW_UPDATE_STAGE",g="Settings/Review_Workflows/WORKFLOW_UPDATE_STAGE_POSITION",c={primary600:"Blue",primary200:"Lilac",alternative600:"Violet",alternative200:"Lavender",success600:"Green",success200:"Pale Green",danger500:"Cherry",danger200:"Pink",warning600:"Orange",warning200:"Yellow",secondary600:"Teal",secondary200:"Baby Blue",neutral400:"Gray",neutral0:"White"},T=o.W.colors.primary600,a={STAGE:"stage"}},67350:function(U,p,e){e.d(p,{n:function(){return v}});var o=e(20108),l=e(24989),m=e(33348),h=e.n(m);function v(E={}){const{id:g="",...c}=E,T={populate:"stages"},{get:a}=(0,l.kY)(),d=(0,m.stringify)({...T,...c},{encode:!1}),{data:C,isLoading:k,status:B,refetch:P}=(0,o.useQuery)(["review-workflows","workflows",g],async()=>{try{const{data:{data:w}}=await a(`/admin/review-workflows/workflows/${g}${d?`?${d}`:""}`);return w}catch{return null}});let G=[];return g&&C?G=[C]:Array.isArray(C)&&(G=C),{workflows:G,isLoading:k,status:B,refetch:P}}},54504:function(U,p,e){e.d(p,{k:function(){return m},s:function(){return h}});var o=e(12301),l=e(61937);function m(v){if(!v)return null;const g=Object.entries(o.W.colors).filter(([,c])=>c.toUpperCase()===v.toUpperCase()).reduce((c,[T])=>(l.lv?.[T]&&(c=T),c),null);return g?{themeColorName:g,name:l.lv[g]}:null}function h(){return Object.entries(l.lv).map(([v,E])=>({hex:o.W.colors[v].toUpperCase(),name:E}))}}}]);