@strapi/admin 4.2.0-beta.4 → 4.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (151) hide show
  1. package/admin/src/app.js +4 -7
  2. package/admin/src/components/OverlayBlocker/index.js +4 -0
  3. package/admin/src/content-manager/components/Wysiwyg/EditorStylesContainer.js +1 -1
  4. package/admin/src/hooks/{useFetchInstalledPlugins → useFetchEnabledPlugins}/index.js +4 -4
  5. package/admin/src/hooks/{useFetchInstalledPlugins → useFetchEnabledPlugins}/utils/api.js +2 -2
  6. package/admin/src/hooks/useFetchMarketplaceProviders/index.js +23 -0
  7. package/admin/src/hooks/useFetchMarketplaceProviders/utils/api.js +11 -0
  8. package/admin/src/pages/Admin/index.js +5 -15
  9. package/admin/src/pages/App/index.js +3 -17
  10. package/admin/src/pages/InstalledPluginsPage/Plugins.js +2 -2
  11. package/admin/src/pages/MarketplacePage/components/{EmptyPluginSearch/EmptyPluginGrid.js → EmptyNpmPackageSearch/EmptyNpmPackageGrid.js} +1 -1
  12. package/admin/src/pages/MarketplacePage/components/{EmptyPluginSearch → EmptyNpmPackageSearch}/index.js +6 -4
  13. package/admin/src/pages/MarketplacePage/components/{PluginCard → NpmPackageCard}/InstallPluginButton.js +0 -0
  14. package/admin/src/pages/MarketplacePage/components/{PluginCard → NpmPackageCard}/index.js +22 -11
  15. package/admin/src/pages/MarketplacePage/components/NpmPackagesGrid/index.js +48 -0
  16. package/admin/src/pages/MarketplacePage/components/PageHeader/index.js +12 -5
  17. package/admin/src/pages/MarketplacePage/index.js +91 -59
  18. package/admin/src/reducers.js +2 -4
  19. package/admin/src/translations/en.json +7 -3
  20. package/admin/src/translations/hi.json +699 -0
  21. package/admin/src/translations/languageNativeNames.js +1 -0
  22. package/admin/src/translations/pl.json +335 -78
  23. package/admin/src/translations/vi.json +17 -17
  24. package/admin/src/translations/zh-Hans.json +28 -1
  25. package/build/1856.6a94980b.chunk.js +172 -0
  26. package/build/2077.5456ccd1.chunk.js +194 -0
  27. package/build/2758.9475712b.chunk.js +162 -0
  28. package/build/2912.dd031292.chunk.js +253 -0
  29. package/build/4715.a6e62860.chunk.js +385 -0
  30. package/build/4982.c57c5675.chunk.js +308 -0
  31. package/build/7197.74d81c4c.chunk.js +113 -0
  32. package/build/{6229.a5cca9f2.chunk.js → 7589.77ef4fbf.chunk.js} +2 -2
  33. package/build/{472.0350a5bd.chunk.js → 7757.f6eb5e92.chunk.js} +58 -58
  34. package/build/7841.9e9cf739.chunk.js +253 -0
  35. package/build/8681.2fd4020a.chunk.js +163 -0
  36. package/build/9066.2847fdff.chunk.js +101 -0
  37. package/build/{4073.e144a91a.chunk.js → 9115.623dc4f7.chunk.js} +1 -1
  38. package/build/9158.c5f772d6.chunk.js +503 -0
  39. package/build/{9298.aff28744.chunk.js → 9298.cb3b6bc1.chunk.js} +93 -93
  40. package/build/9420.ba035f29.chunk.js +508 -0
  41. package/build/Admin-authenticatedApp.2a22d6f4.chunk.js +80 -0
  42. package/build/{Admin_homePage.0ac648e8.chunk.js → Admin_homePage.447df176.chunk.js} +1 -1
  43. package/build/Admin_marketplace.0724f650.chunk.js +11 -0
  44. package/build/Admin_pluginsPage.6f1187fe.chunk.js +1 -0
  45. package/build/{Admin_profilePage.27191ed2.chunk.js → Admin_profilePage.249cbfc9.chunk.js} +2 -2
  46. package/build/Admin_settingsPage.0d138832.chunk.js +180 -0
  47. package/build/{admin-edit-roles-page.fb374555.chunk.js → admin-edit-roles-page.7c2c9752.chunk.js} +1 -1
  48. package/build/admin-edit-users.b835bc48.chunk.js +11 -0
  49. package/build/admin-users.19900b75.chunk.js +12 -0
  50. package/build/{api-tokens-create-page.698f132d.chunk.js → api-tokens-create-page.8d299dde.chunk.js} +1 -1
  51. package/build/{api-tokens-edit-page.afece2fe.chunk.js → api-tokens-edit-page.3e453fc1.chunk.js} +1 -1
  52. package/build/{api-tokens-list-page.46d96dee.chunk.js → api-tokens-list-page.872c3800.chunk.js} +1 -1
  53. package/build/{codemirror-css.b467b1de.chunk.js → codemirror-css.98490df3.chunk.js} +2 -2
  54. package/build/{codemirror-javacript.41bdefda.chunk.js → codemirror-javacript.cafbda9c.chunk.js} +1 -1
  55. package/build/codemirror-theme.b3c64617.chunk.js +34 -0
  56. package/build/{content-manager.7cd28f84.chunk.js → content-manager.18834aa8.chunk.js} +10 -10
  57. package/build/content-type-builder-translation-pl-json.4a42349b.chunk.js +1 -0
  58. package/build/content-type-builder.55dd9554.chunk.js +142 -0
  59. package/build/{cropper-css.ecc0d670.chunk.js → cropper-css.0055cd53.chunk.js} +2 -2
  60. package/build/email-settings-page.1f235173.chunk.js +103 -0
  61. package/build/email-translation-pl-json.a03bcf98.chunk.js +1 -0
  62. package/build/en-json.0a5ba154.chunk.js +1 -0
  63. package/build/{fontawesome-css-all.04f33619.chunk.js → fontawesome-css-all.b88d464e.chunk.js} +3 -3
  64. package/build/{fontawesome-css.477ba714.chunk.js → fontawesome-css.a92a7b6c.chunk.js} +2 -2
  65. package/build/hi-json.b4ae16d1.chunk.js +1 -0
  66. package/build/highlight.js.9d8ef460.chunk.js +86 -0
  67. package/build/i18n-settings-page.06e88cf2.chunk.js +101 -0
  68. package/build/i18n-translation-pl-json.cea5bf23.chunk.js +1 -0
  69. package/build/index.html +1 -1
  70. package/build/main.fcb539e3.js +8406 -0
  71. package/build/pl-json.4d11f53d.chunk.js +1 -0
  72. package/build/runtime~main.ade14a85.js +2 -0
  73. package/build/sso-settings-page.a7c2e854.chunk.js +1 -0
  74. package/build/upload-settings.4ee2f135.chunk.js +101 -0
  75. package/build/upload-translation-pl-json.bb2aa937.chunk.js +1 -0
  76. package/build/upload.0d4153e8.chunk.js +105 -0
  77. package/build/users-advanced-settings-page.583c5dda.chunk.js +101 -0
  78. package/build/users-email-settings-page.8b9a266d.chunk.js +1 -0
  79. package/build/users-permissions-translation-en-json.765abf48.chunk.js +1 -0
  80. package/build/users-permissions-translation-pl-json.1dbdd4a1.chunk.js +1 -0
  81. package/build/users-providers-settings-page.fc9d8f9d.chunk.js +1 -0
  82. package/build/{users-roles-settings-page.988ebc3b.chunk.js → users-roles-settings-page.1bf4ffc5.chunk.js} +2 -2
  83. package/build/vi-json.bf3424be.chunk.js +1 -0
  84. package/build/{webhook-edit-page.a7ae6e3b.chunk.js → webhook-edit-page.142b23ac.chunk.js} +2 -2
  85. package/build/webhook-list-page.671582a0.chunk.js +133 -0
  86. package/build/zh-Hans-json.562f3b6f.chunk.js +1 -0
  87. package/index.js +239 -53
  88. package/package.json +9 -11
  89. package/scripts/build.js +3 -17
  90. package/server/controllers/admin.js +2 -15
  91. package/server/policies/index.js +0 -1
  92. package/server/routes/admin.js +0 -9
  93. package/server/routes/serve-admin-panel.js +1 -1
  94. package/webpack.alias.js +30 -19
  95. package/webpack.config.js +9 -29
  96. package/admin/src/pages/App/constants.js +0 -1
  97. package/admin/src/pages/App/reducer.js +0 -22
  98. package/admin/src/pages/MarketplacePage/utils/api.js +0 -9
  99. package/admin/src/tsconfig.json +0 -10
  100. package/build/1541.6c1c96f9.chunk.js +0 -307
  101. package/build/1856.521a99fd.chunk.js +0 -172
  102. package/build/2077.51485bfb.chunk.js +0 -194
  103. package/build/2912.79c2b3c8.chunk.js +0 -253
  104. package/build/3214.9196aeff.chunk.js +0 -235
  105. package/build/3865.21cec9de.chunk.js +0 -310
  106. package/build/4715.77e04177.chunk.js +0 -385
  107. package/build/4982.f53b78a4.chunk.js +0 -308
  108. package/build/7351.b95e65ae.chunk.js +0 -428
  109. package/build/7418.6db737ce.chunk.js +0 -112
  110. package/build/7841.f0e7d629.chunk.js +0 -253
  111. package/build/8826.58e236d4.chunk.js +0 -1057
  112. package/build/9066.118ecccd.chunk.js +0 -101
  113. package/build/9420.cb0b75e8.chunk.js +0 -508
  114. package/build/9988.f84412d9.chunk.js +0 -162
  115. package/build/Admin-authenticatedApp.162a5805.chunk.js +0 -80
  116. package/build/Admin_marketplace.0bb91ec8.chunk.js +0 -11
  117. package/build/Admin_pluginsPage.788fb2f6.chunk.js +0 -1
  118. package/build/Admin_settingsPage.23e873f0.chunk.js +0 -178
  119. package/build/admin-edit-users.a360deaf.chunk.js +0 -10
  120. package/build/admin-users.47d06d24.chunk.js +0 -11
  121. package/build/codemirror-theme.cf9f9eb6.chunk.js +0 -34
  122. package/build/content-type-builder-translation-pl-json.a866acda.chunk.js +0 -1
  123. package/build/content-type-builder.7456cabe.chunk.js +0 -141
  124. package/build/email-settings-page.f67d13b2.chunk.js +0 -103
  125. package/build/email-translation-pl-json.6da50d0f.chunk.js +0 -1
  126. package/build/en-json.40ee00aa.chunk.js +0 -1
  127. package/build/highlight.js.3381ffc3.chunk.js +0 -86
  128. package/build/i18n-settings-page.6b67cb75.chunk.js +0 -101
  129. package/build/main.b632a0d6.js +0 -11625
  130. package/build/pl-json.94f05d2c.chunk.js +0 -1
  131. package/build/runtime~main.38d418e9.js +0 -2
  132. package/build/sso-settings-page.dfb0b917.chunk.js +0 -1
  133. package/build/upload-settings.3db55de0.chunk.js +0 -101
  134. package/build/upload-translation-pl-json.6071e38c.chunk.js +0 -1
  135. package/build/upload.070c189b.chunk.js +0 -105
  136. package/build/users-advanced-settings-page.a23cda17.chunk.js +0 -101
  137. package/build/users-email-settings-page.0a096388.chunk.js +0 -1
  138. package/build/users-permissions-translation-en-json.3fe86528.chunk.js +0 -1
  139. package/build/users-permissions-translation-pl-json.3c4fe81c.chunk.js +0 -1
  140. package/build/users-providers-settings-page.bfe7755a.chunk.js +0 -1
  141. package/build/vi-json.3d14e91e.chunk.js +0 -1
  142. package/build/webhook-list-page.83297d98.chunk.js +0 -133
  143. package/build/zh-Hans-json.c84ce330.chunk.js +0 -1
  144. package/server/policies/isTelemetryEnabled.js +0 -16
  145. package/utils/create-cache-dir.js +0 -161
  146. package/utils/get-custom-app-config-file.js +0 -23
  147. package/utils/get-custom-webpack-config.js +0 -38
  148. package/utils/get-plugins-path.js +0 -26
  149. package/utils/index.js +0 -13
  150. package/utils/should-build-admin.js +0 -52
  151. package/utils/watch-admin-files.js +0 -59
@@ -1,162 +0,0 @@
1
- (self.webpackChunk_strapi_admin=self.webpackChunk_strapi_admin||[]).push([[9988],{71657:(j,ne,R)=>{"use strict";j.exports=R(16966)},16966:function(j,ne,R){(function(C,P){j.exports=P(R(32735),R(19615),R(63797))})(this,function(C,P,m){return function(l){var f={};function i(u){if(f[u])return f[u].exports;var y=f[u]={i:u,l:!1,exports:{}};return l[u].call(y.exports,y,y.exports,i),y.l=!0,y.exports}return i.m=l,i.c=f,i.d=function(u,y,g){i.o(u,y)||Object.defineProperty(u,y,{enumerable:!0,get:g})},i.r=function(u){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(u,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(u,"__esModule",{value:!0})},i.t=function(u,y){if(1&y&&(u=i(u)),8&y||4&y&&typeof u=="object"&&u&&u.__esModule)return u;var g=Object.create(null);if(i.r(g),Object.defineProperty(g,"default",{enumerable:!0,value:u}),2&y&&typeof u!="string")for(var v in u)i.d(g,v,function(c){return u[c]}.bind(null,v));return g},i.n=function(u){var y=u&&u.__esModule?function(){return u.default}:function(){return u};return i.d(y,"a",y),y},i.o=function(u,y){return Object.prototype.hasOwnProperty.call(u,y)},i.p="",i(i.s=112)}({0:function(l,f,i){l.exports=i(19)()},1:function(l,f){l.exports=C},10:function(l,f,i){var u=i(25),y=i(26),g=i(22),v=i(27);l.exports=function(c,Y){return u(c)||y(c,Y)||g(c,Y)||v()},l.exports.default=l.exports,l.exports.__esModule=!0},112:function(l,f,i){"use strict";i.r(f),i.d(f,"Crumb",function(){return z}),i.d(f,"Breadcrumbs",function(){return Me});var u,y=i(4),g=i.n(y),v=i(3),c=i.n(v),Y=i(1),x=i.n(Y),D=i(0),H=i.n(D),p=i(2),o=i.n(p),h=i(50),M=i.n(h),Q=i(8),se=i(6),be=i(9),ge=i(18),J=["children","label"],Ge=o()(be.Flex)(u||(u=c()([`
2
- svg {
3
- height: 10px;
4
- width: 10px;
5
- }
6
- svg path {
7
- fill: `,`;
8
- }
9
- :last-of-type `,` {
10
- display: none;
11
- }
12
- `])),function(V){return V.theme.colors.neutral300},se.Box),z=function(V){var Ne=V.children;return x.a.createElement(Ge,{inline:!0,as:"li"},x.a.createElement(Q.Typography,{fontWeight:"bold",color:"neutral800"},Ne),x.a.createElement(se.Box,{paddingLeft:3,paddingRight:3},x.a.createElement(M.a,null)))};z.displayName="Crumb",z.propTypes={children:H.a.string.isRequired};var Re=H.a.shape({type:H.a.oneOf([z])}),Me=function(V){var Ne=V.children,Fe=V.label,Ce=g()(V,J);return x.a.createElement(be.Flex,Ce,x.a.createElement(ge.VisuallyHidden,null,Fe),x.a.createElement("ol",{"aria-hidden":!0},Ne))};Me.displayName="Breadcrumbs",Me.propTypes={children:H.a.oneOfType([H.a.arrayOf(Re),Re]).isRequired,label:H.a.string.isRequired}},13:function(l,f){function i(u){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?(l.exports=i=function(y){return typeof y},l.exports.default=l.exports,l.exports.__esModule=!0):(l.exports=i=function(y){return y&&typeof Symbol=="function"&&y.constructor===Symbol&&y!==Symbol.prototype?"symbol":typeof y},l.exports.default=l.exports,l.exports.__esModule=!0),i(u)}l.exports=i,l.exports.default=l.exports,l.exports.__esModule=!0},18:function(l,f,i){"use strict";i.r(f),i.d(f,"VisuallyHidden",function(){return c});var u,y=i(3),g=i.n(y),v=i(2),c=i.n(v).a.div(u||(u=g()([`
13
- border: 0;
14
- clip: rect(0 0 0 0);
15
- height: 1px;
16
- margin: -1px;
17
- overflow: hidden;
18
- padding: 0;
19
- position: absolute;
20
- width: 1px;
21
- `])))},19:function(l,f,i){"use strict";var u=i(20);function y(){}function g(){}g.resetWarningCache=y,l.exports=function(){function v(x,D,H,p,o,h){if(h!==u){var M=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw M.name="Invariant Violation",M}}function c(){return v}v.isRequired=v;var Y={array:v,bool:v,func:v,number:v,object:v,string:v,symbol:v,any:v,arrayOf:c,element:v,elementType:v,instanceOf:c,node:v,objectOf:c,oneOf:c,oneOfType:c,shape:c,exact:c,checkPropTypes:g,resetWarningCache:y};return Y.PropTypes=Y,Y}},2:function(l,f){l.exports=P},20:function(l,f,i){"use strict";l.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},21:function(l,f){l.exports=function(i,u){(u==null||u>i.length)&&(u=i.length);for(var y=0,g=new Array(u);y<u;y++)g[y]=i[y];return g},l.exports.default=l.exports,l.exports.__esModule=!0},22:function(l,f,i){var u=i(21);l.exports=function(y,g){if(y){if(typeof y=="string")return u(y,g);var v=Object.prototype.toString.call(y).slice(8,-1);return v==="Object"&&y.constructor&&(v=y.constructor.name),v==="Map"||v==="Set"?Array.from(y):v==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(v)?u(y,g):void 0}},l.exports.default=l.exports,l.exports.__esModule=!0},24:function(l,f){l.exports=function(i,u){if(i==null)return{};var y,g,v={},c=Object.keys(i);for(g=0;g<c.length;g++)y=c[g],u.indexOf(y)>=0||(v[y]=i[y]);return v},l.exports.default=l.exports,l.exports.__esModule=!0},25:function(l,f){l.exports=function(i){if(Array.isArray(i))return i},l.exports.default=l.exports,l.exports.__esModule=!0},26:function(l,f){l.exports=function(i,u){var y=i==null?null:typeof Symbol!="undefined"&&i[Symbol.iterator]||i["@@iterator"];if(y!=null){var g,v,c=[],Y=!0,x=!1;try{for(y=y.call(i);!(Y=(g=y.next()).done)&&(c.push(g.value),!u||c.length!==u);Y=!0);}catch(D){x=!0,v=D}finally{try{Y||y.return==null||y.return()}finally{if(x)throw v}}return c}},l.exports.default=l.exports,l.exports.__esModule=!0},27:function(l,f){l.exports=function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
22
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)},l.exports.default=l.exports,l.exports.__esModule=!0},3:function(l,f){l.exports=function(i,u){return u||(u=i.slice(0)),Object.freeze(Object.defineProperties(i,{raw:{value:Object.freeze(u)}}))},l.exports.default=l.exports,l.exports.__esModule=!0},4:function(l,f,i){var u=i(24);l.exports=function(y,g){if(y==null)return{};var v,c,Y=u(y,g);if(Object.getOwnPropertySymbols){var x=Object.getOwnPropertySymbols(y);for(c=0;c<x.length;c++)v=x[c],g.indexOf(v)>=0||Object.prototype.propertyIsEnumerable.call(y,v)&&(Y[v]=y[v])}return Y},l.exports.default=l.exports,l.exports.__esModule=!0},50:function(l,f){l.exports=m},6:function(l,f,i){"use strict";i.r(f),i.d(f,"Box",function(){return p});var u,y=i(3),g=i.n(y),v=i(0),c=i.n(v),Y=i(2),x=i.n(Y),D=i(7),H={color:!0},p=x.a.div.withConfig({shouldForwardProp:function(o,h){return!H[o]&&h(o)}})(u||(u=g()([`
23
- // Font
24
- font-size: `,`;
25
-
26
- // Colors
27
- background: `,`;
28
- color: `,`;
29
-
30
- // Spaces
31
- `,`
32
- `,`
33
- `,`
34
- `,`
35
- `,`
36
- `,`
37
- `,`
38
- `,`
39
- `,`
40
-
41
- // Responsive hiding
42
- `,`
43
- `,`
44
-
45
-
46
- // Borders
47
- border-radius: `,`;
48
- border-style: `,`;
49
- border-width: `,`;
50
- border-color: `,`;
51
- border: `,`;
52
-
53
- // Shadows
54
- box-shadow: `,`;
55
-
56
- // Handlers
57
- pointer-events: `,`;
58
- &:hover {
59
- `,`
60
- }
61
-
62
- // Display
63
- display: `,`;
64
-
65
- // Position
66
- position: `,`;
67
- left: `,`;
68
- right: `,`;
69
- top: `,`;
70
- bottom: `,`;
71
- z-index: `,`;
72
- overflow: `,`;
73
- cursor: `,`;
74
-
75
- // Size
76
- width: `,`;
77
- max-width: `,`;
78
- min-width: `,`;
79
- height: `,`;
80
- max-height: `,`;
81
- min-height: `,`;
82
-
83
- // Animation
84
- transition: `,`;
85
- transform: `,`;
86
- animation: `,`;
87
-
88
- //Flexbox children props
89
- flex-shrink: `,`;
90
- flex-grow: `,`;
91
- flex-basis: `,`;
92
- flex: `,`;
93
-
94
- // Text
95
- text-align: `,`;
96
- text-transform: `,`;
97
- line-height: `,`;
98
-
99
- // Cursor
100
- cursor: `,`;
101
- `])),function(o){var h=o.fontSize;return o.theme.fontSizes[h]||h},function(o){var h=o.theme,M=o.background;return h.colors[M]},function(o){var h=o.theme,M=o.color;return h.colors[M]},function(o){var h=o.theme,M=o.padding;return Object(D.a)("padding",M,h)},function(o){var h=o.theme,M=o.paddingTop;return Object(D.a)("padding-top",M,h)},function(o){var h=o.theme,M=o.paddingRight;return Object(D.a)("padding-right",M,h)},function(o){var h=o.theme,M=o.paddingBottom;return Object(D.a)("padding-bottom",M,h)},function(o){var h=o.theme,M=o.paddingLeft;return Object(D.a)("padding-left",M,h)},function(o){var h=o.theme,M=o.marginLeft;return Object(D.a)("margin-left",M,h)},function(o){var h=o.theme,M=o.marginRight;return Object(D.a)("margin-right",M,h)},function(o){var h=o.theme,M=o.marginTop;return Object(D.a)("margin-top",M,h)},function(o){var h=o.theme,M=o.marginBottom;return Object(D.a)("margin-bottom",M,h)},function(o){var h=o.theme;return o.hiddenS?"".concat(h.mediaQueries.tablet," { display: none; }"):void 0},function(o){var h=o.theme;return o.hiddenXS?"".concat(h.mediaQueries.mobile," { display: none; }"):void 0},function(o){var h=o.theme,M=o.hasRadius,Q=o.borderRadius;return M?h.borderRadius:Q},function(o){return o.borderStyle},function(o){return o.borderWidth},function(o){var h=o.borderColor;return o.theme.colors[h]},function(o){var h=o.theme,M=o.borderColor,Q=o.borderStyle,se=o.borderWidth;if(M&&!Q&&!se)return"1px solid ".concat(h.colors[M])},function(o){var h=o.theme,M=o.shadow;return h.shadows[M]},function(o){return o.pointerEvents},function(o){var h=o._hover,M=o.theme;return h?h(M):void 0},function(o){return o.display},function(o){return o.position},function(o){var h=o.left;return o.theme.spaces[h]||h},function(o){var h=o.right;return o.theme.spaces[h]||h},function(o){var h=o.top;return o.theme.spaces[h]||h},function(o){var h=o.bottom;return o.theme.spaces[h]||h},function(o){return o.zIndex},function(o){return o.overflow},function(o){return o.cursor},function(o){var h=o.width;return o.theme.spaces[h]||h},function(o){var h=o.maxWidth;return o.theme.spaces[h]||h},function(o){var h=o.minWidth;return o.theme.spaces[h]||h},function(o){var h=o.height;return o.theme.spaces[h]||h},function(o){var h=o.maxHeight;return o.theme.spaces[h]||h},function(o){var h=o.minHeight;return o.theme.spaces[h]||h},function(o){return o.transition},function(o){return o.transform},function(o){return o.animation},function(o){return o.shrink},function(o){return o.grow},function(o){return o.basis},function(o){return o.flex},function(o){return o.textAlign},function(o){return o.textTransform},function(o){return o.lineHeight},function(o){return o.cursor});p.displayName="Box",p.defaultProps={background:void 0,borderColor:void 0,color:void 0,hiddenS:!1,hiddenXS:!1,padding:void 0,paddingTop:void 0,paddingRight:void 0,paddingBottom:void 0,paddingLeft:void 0,hasRadius:!1,shadow:void 0,children:null,shrink:void 0,grow:void 0,basis:void 0,flex:void 0,_hover:function(){}},p.propTypes={_hover:c.a.func,background:c.a.string,basis:c.a.oneOfType([c.a.string,c.a.string]),borderColor:c.a.string,children:c.a.oneOfType([c.a.node,c.a.string]),color:c.a.string,flex:c.a.oneOfType([c.a.string,c.a.string]),grow:c.a.oneOfType([c.a.string,c.a.string]),hasRadius:c.a.bool,hiddenS:c.a.bool,hiddenXS:c.a.bool,padding:c.a.oneOfType([c.a.number,c.a.arrayOf(c.a.number)]),paddingBottom:c.a.oneOfType([c.a.number,c.a.arrayOf(c.a.number)]),paddingLeft:c.a.oneOfType([c.a.number,c.a.arrayOf(c.a.number)]),paddingRight:c.a.oneOfType([c.a.number,c.a.arrayOf(c.a.number)]),paddingTop:c.a.oneOfType([c.a.number,c.a.arrayOf(c.a.number)]),shadow:c.a.string,shrink:c.a.oneOfType([c.a.string,c.a.string])}},7:function(l,f,i){"use strict";var u=i(10),y=i.n(u),g=i(13),v=i.n(g);f.a=function(c,Y,x){var D=Y;if(Array.isArray(Y)||v()(Y)!=="object"||(D=[Y==null?void 0:Y.desktop,Y==null?void 0:Y.tablet,Y==null?void 0:Y.mobile]),D!==void 0){if(Array.isArray(D)){var H=D,p=y()(H,3),o=p[0],h=p[1],M=p[2],Q="".concat(c,": ").concat(x.spaces[o],";");return h!==void 0&&(Q+="".concat(x.mediaQueries.tablet,`{
102
- `).concat(c,": ").concat(x.spaces[h],`;
103
- }`)),M!==void 0&&(Q+="".concat(x.mediaQueries.mobile,`{
104
- `).concat(c,": ").concat(x.spaces[M],`;
105
- }`)),Q}var se=x.spaces[D]||D;return"".concat(c,": ").concat(se,";")}}},8:function(l,f,i){"use strict";i.r(f),i.d(f,"Typography",function(){return H});var u,y=i(3),g=i.n(y),v=i(0),c=i.n(v),Y=i(2),x=["alpha","beta","delta","epsilon","omega","pi","sigma"],D={fontSize:!0,fontWeight:!0},H=i.n(Y).a.span.withConfig({shouldForwardProp:function(p,o){return!D[p]&&o(p)}})(u||(u=g()([`
106
- font-weight: `,`;
107
- font-size: `,`;
108
- line-height: `,`;
109
- color: `,`;
110
- text-transform: `,`;
111
- `,`
112
- `,`
113
- `])),function(p){var o=p.theme,h=p.fontWeight;return o.fontWeights[h]},function(p){var o=p.theme,h=p.fontSize;return o.fontSizes[h]},function(p){var o=p.theme,h=p.lineHeight;return o.lineHeights[h]},function(p){var o=p.theme,h=p.textColor;return o.colors[h||"neutral800"]},function(p){return p.textTransform},function(p){return p.ellipsis&&`
114
- display: block;
115
- white-space: nowrap;
116
- overflow: hidden;
117
- text-overflow: ellipsis;
118
- `},function(p){var o=p.variant,h=p.theme;switch(o){case"alpha":return`
119
- font-weight: `.concat(h.fontWeights.bold,`;
120
- font-size: `).concat(h.fontSizes[5],`;
121
- line-height: `).concat(h.lineHeights[2],`;
122
- `);case"beta":return`
123
- font-weight: `.concat(h.fontWeights.bold,`;
124
- font-size: `).concat(h.fontSizes[4],`;
125
- line-height: `).concat(h.lineHeights[1],`;
126
- `);case"delta":return`
127
- font-weight: `.concat(h.fontWeights.semiBold,`;
128
- font-size: `).concat(h.fontSizes[3],`;
129
- line-height: `).concat(h.lineHeights[2],`;
130
- `);case"epsilon":return`
131
- font-size: `.concat(h.fontSizes[3],`;
132
- line-height: `).concat(h.lineHeights[6],`;
133
- `);case"omega":return`
134
- font-size: `.concat(h.fontSizes[2],`;
135
- line-height: `).concat(h.lineHeights[4],`;
136
- `);case"pi":return`
137
- font-size: `.concat(h.fontSizes[1],`;
138
- line-height: `).concat(h.lineHeights[3],`;
139
- `);case"sigma":return`
140
- font-weight: `.concat(h.fontWeights.bold,`;
141
- font-size: `).concat(h.fontSizes[0],`;
142
- line-height: `).concat(h.lineHeights[5],`;
143
- text-transform: uppercase;
144
- `);default:return`
145
- font-size: `.concat(h.fontSizes[2],`;
146
- `)}});H.defaultProps={fontWeight:void 0,fontSize:void 0,lineHeight:void 0,textColor:void 0,textTransform:void 0,variant:"omega"},H.propTypes={fontSize:c.a.oneOfType([c.a.number,c.a.string]),fontWeight:c.a.string,lineHeight:c.a.oneOfType([c.a.number,c.a.string]),textColor:c.a.string,textTransform:c.a.string,variant:c.a.oneOf(x)}},9:function(l,f,i){"use strict";i.r(f),i.d(f,"Flex",function(){return o});var u,y=i(3),g=i.n(y),v=i(0),c=i.n(v),Y=i(2),x=i.n(Y),D=i(6),H=i(7),p={direction:!0},o=x()(D.Box).withConfig({shouldForwardProp:function(h,M){return!p[h]&&M(h)}})(u||(u=g()([`
147
- align-items: `,`;
148
- display: `,`;
149
- flex-direction: `,`;
150
- flex-wrap: `,`;
151
- `,`};
152
- justify-content: `,`;
153
- `])),function(h){return h.alignItems},function(h){return h.inline?"inline-flex":"flex"},function(h){return h.direction},function(h){return h.wrap},function(h){var M=h.gap,Q=h.theme;return Object(H.a)("gap",M,Q)},function(h){return h.justifyContent});o.defaultProps={alignItems:"center",basis:void 0,direction:"row",gap:void 0,inline:!1,justifyContent:void 0,reverse:!1,wrap:void 0},o.propTypes={alignItems:c.a.string,basis:c.a.oneOfType([c.a.string,c.a.number]),direction:c.a.string,gap:c.a.oneOfType([c.a.shape({desktop:c.a.number,mobile:c.a.number,tablet:c.a.number}),c.a.number,c.a.arrayOf(c.a.number),c.a.string]),inline:c.a.bool,justifyContent:c.a.string,reverse:c.a.bool,wrap:c.a.string}}})})},67793:function(j,ne,R){(function(C,P){j.exports=P(R(32735))})(this,function(C){return function(P){var m={};function l(f){if(m[f])return m[f].exports;var i=m[f]={i:f,l:!1,exports:{}};return P[f].call(i.exports,i,i.exports,l),i.l=!0,i.exports}return l.m=P,l.c=m,l.d=function(f,i,u){l.o(f,i)||Object.defineProperty(f,i,{enumerable:!0,get:u})},l.r=function(f){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(f,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(f,"__esModule",{value:!0})},l.t=function(f,i){if(1&i&&(f=l(f)),8&i||4&i&&typeof f=="object"&&f&&f.__esModule)return f;var u=Object.create(null);if(l.r(u),Object.defineProperty(u,"default",{enumerable:!0,value:f}),2&i&&typeof f!="string")for(var y in f)l.d(u,y,function(g){return f[g]}.bind(null,y));return u},l.n=function(f){var i=f&&f.__esModule?function(){return f.default}:function(){return f};return l.d(i,"a",i),i},l.o=function(f,i){return Object.prototype.hasOwnProperty.call(f,i)},l.p="",l(l.s=26)}({0:function(P,m){P.exports=C},26:function(P,m,l){"use strict";l.r(m);var f=l(0);function i(){return(i=Object.assign||function(u){for(var y=1;y<arguments.length;y++){var g=arguments[y];for(var v in g)Object.prototype.hasOwnProperty.call(g,v)&&(u[v]=g[v])}return u}).apply(this,arguments)}m.default=function(u){return f.createElement("svg",i({width:"1em",height:"1em",viewBox:"0 0 17 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},u),f.createElement("path",{d:"M15.06.06L8.94 6.167 2.82.06.94 1.94l8 8 8-8L15.06.06z",fill:"#32324D"}))}}})})},31476:function(j,ne,R){(function(C,P){j.exports=P(R(32735))})(this,function(C){return function(P){var m={};function l(f){if(m[f])return m[f].exports;var i=m[f]={i:f,l:!1,exports:{}};return P[f].call(i.exports,i,i.exports,l),i.l=!0,i.exports}return l.m=P,l.c=m,l.d=function(f,i,u){l.o(f,i)||Object.defineProperty(f,i,{enumerable:!0,get:u})},l.r=function(f){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(f,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(f,"__esModule",{value:!0})},l.t=function(f,i){if(1&i&&(f=l(f)),8&i||4&i&&typeof f=="object"&&f&&f.__esModule)return f;var u=Object.create(null);if(l.r(u),Object.defineProperty(u,"default",{enumerable:!0,value:f}),2&i&&typeof f!="string")for(var y in f)l.d(u,y,function(g){return f[g]}.bind(null,y));return u},l.n=function(f){var i=f&&f.__esModule?function(){return f.default}:function(){return f};return l.d(i,"a",i),i},l.o=function(f,i){return Object.prototype.hasOwnProperty.call(f,i)},l.p="",l(l.s=29)}({0:function(P,m){P.exports=C},29:function(P,m,l){"use strict";l.r(m);var f=l(0);function i(){return(i=Object.assign||function(u){for(var y=1;y<arguments.length;y++){var g=arguments[y];for(var v in g)Object.prototype.hasOwnProperty.call(g,v)&&(u[v]=g[v])}return u}).apply(this,arguments)}m.default=function(u){return f.createElement("svg",i({width:"1em",height:"1em",viewBox:"0 0 17 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},u),f.createElement("path",{d:"M1.94 9.94l6.12-6.107 6.12 6.107 1.88-1.88-8-8-8 8 1.88 1.88z",fill:"#32324D"}))}}})})},84802:j=>{function ne(R,C,P,m){for(var l=-1,f=R==null?0:R.length;++l<f;){var i=R[l];C(m,i,P(i),R)}return m}j.exports=ne},62435:(j,ne,R)=>{var C=R(56671);function P(m,l,f,i){return C(m,function(u,y,g){l(i,u,f(u),g)}),i}j.exports=P},13782:(j,ne,R)=>{var C=R(84802),P=R(62435),m=R(88904),l=R(77236);function f(i,u){return function(y,g){var v=l(y)?C:P,c=u?u():{};return v(y,i,m(g,2),c)}}j.exports=f},3704:(j,ne,R)=>{var C=R(40314),P=R(37213);function m(l,f){return C(P(l,f),1)}j.exports=m},81346:(j,ne,R)=>{var C=R(40999),P=R(13782),m=Object.prototype,l=m.hasOwnProperty,f=P(function(i,u,y){l.call(i,y)?i[y].push(u):C(i,y,[u])});j.exports=f},53806:function(j,ne,R){j=R.nmd(j);var C=R(98399);//! moment.js
154
- //! version : 2.29.2
155
- //! authors : Tim Wood, Iskren Chernev, Moment.js contributors
156
- //! license : MIT
157
- //! momentjs.com
158
- (function(P,m){j.exports=m()})(this,function(){"use strict";var P;function m(){return P.apply(null,arguments)}function l(e){P=e}function f(e){return e instanceof Array||Object.prototype.toString.call(e)==="[object Array]"}function i(e){return e!=null&&Object.prototype.toString.call(e)==="[object Object]"}function u(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function y(e){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(e).length===0;var t;for(t in e)if(u(e,t))return!1;return!0}function g(e){return e===void 0}function v(e){return typeof e=="number"||Object.prototype.toString.call(e)==="[object Number]"}function c(e){return e instanceof Date||Object.prototype.toString.call(e)==="[object Date]"}function Y(e,t){var r=[],n,s=e.length;for(n=0;n<s;++n)r.push(t(e[n],n));return r}function x(e,t){for(var r in t)u(t,r)&&(e[r]=t[r]);return u(t,"toString")&&(e.toString=t.toString),u(t,"valueOf")&&(e.valueOf=t.valueOf),e}function D(e,t,r,n){return ir(e,t,r,n,!0).utc()}function H(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function p(e){return e._pf==null&&(e._pf=H()),e._pf}var o;Array.prototype.some?o=Array.prototype.some:o=function(e){var t=Object(this),r=t.length>>>0,n;for(n=0;n<r;n++)if(n in t&&e.call(this,t[n],n,t))return!0;return!1};function h(e){if(e._isValid==null){var t=p(e),r=o.call(t.parsedDateParts,function(s){return s!=null}),n=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&r);if(e._strict&&(n=n&&t.charsLeftOver===0&&t.unusedTokens.length===0&&t.bigHour===void 0),Object.isFrozen==null||!Object.isFrozen(e))e._isValid=n;else return n}return e._isValid}function M(e){var t=D(NaN);return e!=null?x(p(t),e):p(t).userInvalidated=!0,t}var Q=m.momentProperties=[],se=!1;function be(e,t){var r,n,s,a=Q.length;if(g(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),g(t._i)||(e._i=t._i),g(t._f)||(e._f=t._f),g(t._l)||(e._l=t._l),g(t._strict)||(e._strict=t._strict),g(t._tzm)||(e._tzm=t._tzm),g(t._isUTC)||(e._isUTC=t._isUTC),g(t._offset)||(e._offset=t._offset),g(t._pf)||(e._pf=p(t)),g(t._locale)||(e._locale=t._locale),a>0)for(r=0;r<a;r++)n=Q[r],s=t[n],g(s)||(e[n]=s);return e}function ge(e){be(this,e),this._d=new Date(e._d!=null?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),se===!1&&(se=!0,m.updateOffset(this),se=!1)}function J(e){return e instanceof ge||e!=null&&e._isAMomentObject!=null}function Ge(e){m.suppressDeprecationWarnings===!1&&typeof C!="undefined"&&C.warn&&C.warn("Deprecation warning: "+e)}function z(e,t){var r=!0;return x(function(){if(m.deprecationHandler!=null&&m.deprecationHandler(null,e),r){var n=[],s,a,d,b=arguments.length;for(a=0;a<b;a++){if(s="",typeof arguments[a]=="object"){s+=`
159
- [`+a+"] ";for(d in arguments[0])u(arguments[0],d)&&(s+=d+": "+arguments[0][d]+", ");s=s.slice(0,-2)}else s=arguments[a];n.push(s)}Ge(e+`
160
- Arguments: `+Array.prototype.slice.call(n).join("")+`
161
- `+new Error().stack),r=!1}return t.apply(this,arguments)},t)}var Re={};function Me(e,t){m.deprecationHandler!=null&&m.deprecationHandler(e,t),Re[e]||(Ge(t),Re[e]=!0)}m.suppressDeprecationWarnings=!1,m.deprecationHandler=null;function V(e){return typeof Function!="undefined"&&e instanceof Function||Object.prototype.toString.call(e)==="[object Function]"}function Ne(e){var t,r;for(r in e)u(e,r)&&(t=e[r],V(t)?this[r]=t:this["_"+r]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function Fe(e,t){var r=x({},e),n;for(n in t)u(t,n)&&(i(e[n])&&i(t[n])?(r[n]={},x(r[n],e[n]),x(r[n],t[n])):t[n]!=null?r[n]=t[n]:delete r[n]);for(n in e)u(e,n)&&!u(t,n)&&i(e[n])&&(r[n]=x({},r[n]));return r}function Ce(e){e!=null&&this.set(e)}var mt;Object.keys?mt=Object.keys:mt=function(e){var t,r=[];for(t in e)u(e,t)&&r.push(t);return r};var Yr={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function Tr(e,t,r){var n=this._calendar[e]||this._calendar.sameElse;return V(n)?n.call(t,r):n}function ae(e,t,r){var n=""+Math.abs(e),s=t-n.length,a=e>=0;return(a?r?"+":"":"-")+Math.pow(10,Math.max(0,s)).toString().substr(1)+n}var yt=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,$e=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,_t={},Oe={};function S(e,t,r,n){var s=n;typeof n=="string"&&(s=function(){return this[n]()}),e&&(Oe[e]=s),t&&(Oe[t[0]]=function(){return ae(s.apply(this,arguments),t[1],t[2])}),r&&(Oe[r]=function(){return this.localeData().ordinal(s.apply(this,arguments),e)})}function Pr(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function Wr(e){var t=e.match(yt),r,n;for(r=0,n=t.length;r<n;r++)Oe[t[r]]?t[r]=Oe[t[r]]:t[r]=Pr(t[r]);return function(s){var a="",d;for(d=0;d<n;d++)a+=V(t[d])?t[d].call(s,e):t[d];return a}}function Ze(e,t){return e.isValid()?(t=Et(t,e.localeData()),_t[t]=_t[t]||Wr(t),_t[t](e)):e.localeData().invalidDate()}function Et(e,t){var r=5;function n(s){return t.longDateFormat(s)||s}for($e.lastIndex=0;r>=0&&$e.test(e);)e=e.replace($e,n),$e.lastIndex=0,r-=1;return e}var Rr={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function Nr(e){var t=this._longDateFormat[e],r=this._longDateFormat[e.toUpperCase()];return t||!r?t:(this._longDateFormat[e]=r.match(yt).map(function(n){return n==="MMMM"||n==="MM"||n==="DD"||n==="dddd"?n.slice(1):n}).join(""),this._longDateFormat[e])}var Fr="Invalid date";function Cr(){return this._invalidDate}var Lr="%d",Ir=/\d{1,2}/;function Er(e){return this._ordinal.replace("%d",e)}var jr={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function Ar(e,t,r,n){var s=this._relativeTime[r];return V(s)?s(e,t,r,n):s.replace(/%d/i,e)}function Hr(e,t){var r=this._relativeTime[e>0?"future":"past"];return V(r)?r(t):r.replace(/%s/i,t)}var Le={};function G(e,t){var r=e.toLowerCase();Le[r]=Le[r+"s"]=Le[t]=e}function K(e){return typeof e=="string"?Le[e]||Le[e.toLowerCase()]:void 0}function pt(e){var t={},r,n;for(n in e)u(e,n)&&(r=K(n),r&&(t[r]=e[n]));return t}var jt={};function $(e,t){jt[e]=t}function Ur(e){var t=[],r;for(r in e)u(e,r)&&t.push({unit:r,priority:jt[r]});return t.sort(function(n,s){return n.priority-s.priority}),t}function Be(e){return e%4===0&&e%100!==0||e%400===0}function ee(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function k(e){var t=+e,r=0;return t!==0&&isFinite(t)&&(r=ee(t)),r}function ke(e,t){return function(r){return r!=null?(At(this,e,r),m.updateOffset(this,t),this):Qe(this,e)}}function Qe(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function At(e,t,r){e.isValid()&&!isNaN(r)&&(t==="FullYear"&&Be(e.year())&&e.month()===1&&e.date()===29?(r=k(r),e._d["set"+(e._isUTC?"UTC":"")+t](r,e.month(),rt(r,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](r))}function Vr(e){return e=K(e),V(this[e])?this[e]():this}function zr(e,t){if(typeof e=="object"){e=pt(e);var r=Ur(e),n,s=r.length;for(n=0;n<s;n++)this[r[n].unit](e[r[n].unit])}else if(e=K(e),V(this[e]))return this[e](t);return this}var Ht=/\d/,q=/\d\d/,Ut=/\d{3}/,gt=/\d{4}/,Je=/[+-]?\d{6}/,L=/\d\d?/,Vt=/\d\d\d\d?/,zt=/\d\d\d\d\d\d?/,qe=/\d{1,3}/,vt=/\d{1,4}/,Xe=/[+-]?\d{1,6}/,xe=/\d+/,Ke=/[+-]?\d+/,Gr=/Z|[+-]\d\d:?\d\d/gi,et=/Z|[+-]\d\d(?::?\d\d)?/gi,$r=/[+-]?\d+(\.\d{1,3})?/,Ie=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,tt;tt={};function w(e,t,r){tt[e]=V(t)?t:function(n,s){return n&&r?r:t}}function Zr(e,t){return u(tt,e)?tt[e](t._strict,t._locale):new RegExp(Br(e))}function Br(e){return X(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,r,n,s,a){return r||n||s||a}))}function X(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var wt={};function N(e,t){var r,n=t,s;for(typeof e=="string"&&(e=[e]),v(t)&&(n=function(a,d){d[t]=k(a)}),s=e.length,r=0;r<s;r++)wt[e[r]]=n}function Ee(e,t){N(e,function(r,n,s,a){s._w=s._w||{},t(r,s._w,s,a)})}function Qr(e,t,r){t!=null&&u(wt,e)&&wt[e](t,r._a,r,e)}var Z=0,oe=1,ie=2,U=3,te=4,ue=5,ve=6,Jr=7,qr=8;function Xr(e,t){return(e%t+t)%t}var A;Array.prototype.indexOf?A=Array.prototype.indexOf:A=function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1};function rt(e,t){if(isNaN(e)||isNaN(t))return NaN;var r=Xr(t,12);return e+=(t-r)/12,r===1?Be(e)?29:28:31-r%7%2}S("M",["MM",2],"Mo",function(){return this.month()+1}),S("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),S("MMMM",0,0,function(e){return this.localeData().months(this,e)}),G("month","M"),$("month",8),w("M",L),w("MM",L,q),w("MMM",function(e,t){return t.monthsShortRegex(e)}),w("MMMM",function(e,t){return t.monthsRegex(e)}),N(["M","MM"],function(e,t){t[oe]=k(e)-1}),N(["MMM","MMMM"],function(e,t,r,n){var s=r._locale.monthsParse(e,n,r._strict);s!=null?t[oe]=s:p(r).invalidMonth=e});var Kr="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Gt="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),$t=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,en=Ie,tn=Ie;function rn(e,t){return e?f(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||$t).test(t)?"format":"standalone"][e.month()]:f(this._months)?this._months:this._months.standalone}function nn(e,t){return e?f(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[$t.test(t)?"format":"standalone"][e.month()]:f(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function sn(e,t,r){var n,s,a,d=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],n=0;n<12;++n)a=D([2e3,n]),this._shortMonthsParse[n]=this.monthsShort(a,"").toLocaleLowerCase(),this._longMonthsParse[n]=this.months(a,"").toLocaleLowerCase();return r?t==="MMM"?(s=A.call(this._shortMonthsParse,d),s!==-1?s:null):(s=A.call(this._longMonthsParse,d),s!==-1?s:null):t==="MMM"?(s=A.call(this._shortMonthsParse,d),s!==-1?s:(s=A.call(this._longMonthsParse,d),s!==-1?s:null)):(s=A.call(this._longMonthsParse,d),s!==-1?s:(s=A.call(this._shortMonthsParse,d),s!==-1?s:null))}function an(e,t,r){var n,s,a;if(this._monthsParseExact)return sn.call(this,e,t,r);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),n=0;n<12;n++){if(s=D([2e3,n]),r&&!this._longMonthsParse[n]&&(this._longMonthsParse[n]=new RegExp("^"+this.months(s,"").replace(".","")+"$","i"),this._shortMonthsParse[n]=new RegExp("^"+this.monthsShort(s,"").replace(".","")+"$","i")),!r&&!this._monthsParse[n]&&(a="^"+this.months(s,"")+"|^"+this.monthsShort(s,""),this._monthsParse[n]=new RegExp(a.replace(".",""),"i")),r&&t==="MMMM"&&this._longMonthsParse[n].test(e))return n;if(r&&t==="MMM"&&this._shortMonthsParse[n].test(e))return n;if(!r&&this._monthsParse[n].test(e))return n}}function Zt(e,t){var r;if(!e.isValid())return e;if(typeof t=="string"){if(/^\d+$/.test(t))t=k(t);else if(t=e.localeData().monthsParse(t),!v(t))return e}return r=Math.min(e.date(),rt(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,r),e}function Bt(e){return e!=null?(Zt(this,e),m.updateOffset(this,!0),this):Qe(this,"Month")}function on(){return rt(this.year(),this.month())}function un(e){return this._monthsParseExact?(u(this,"_monthsRegex")||Qt.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(u(this,"_monthsShortRegex")||(this._monthsShortRegex=en),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function ln(e){return this._monthsParseExact?(u(this,"_monthsRegex")||Qt.call(this),e?this._monthsStrictRegex:this._monthsRegex):(u(this,"_monthsRegex")||(this._monthsRegex=tn),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function Qt(){function e(d,b){return b.length-d.length}var t=[],r=[],n=[],s,a;for(s=0;s<12;s++)a=D([2e3,s]),t.push(this.monthsShort(a,"")),r.push(this.months(a,"")),n.push(this.months(a,"")),n.push(this.monthsShort(a,""));for(t.sort(e),r.sort(e),n.sort(e),s=0;s<12;s++)t[s]=X(t[s]),r[s]=X(r[s]);for(s=0;s<24;s++)n[s]=X(n[s]);this._monthsRegex=new RegExp("^("+n.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+t.join("|")+")","i")}S("Y",0,0,function(){var e=this.year();return e<=9999?ae(e,4):"+"+e}),S(0,["YY",2],0,function(){return this.year()%100}),S(0,["YYYY",4],0,"year"),S(0,["YYYYY",5],0,"year"),S(0,["YYYYYY",6,!0],0,"year"),G("year","y"),$("year",1),w("Y",Ke),w("YY",L,q),w("YYYY",vt,gt),w("YYYYY",Xe,Je),w("YYYYYY",Xe,Je),N(["YYYYY","YYYYYY"],Z),N("YYYY",function(e,t){t[Z]=e.length===2?m.parseTwoDigitYear(e):k(e)}),N("YY",function(e,t){t[Z]=m.parseTwoDigitYear(e)}),N("Y",function(e,t){t[Z]=parseInt(e,10)});function je(e){return Be(e)?366:365}m.parseTwoDigitYear=function(e){return k(e)+(k(e)>68?1900:2e3)};var Jt=ke("FullYear",!0);function dn(){return Be(this.year())}function fn(e,t,r,n,s,a,d){var b;return e<100&&e>=0?(b=new Date(e+400,t,r,n,s,a,d),isFinite(b.getFullYear())&&b.setFullYear(e)):b=new Date(e,t,r,n,s,a,d),b}function Ae(e){var t,r;return e<100&&e>=0?(r=Array.prototype.slice.call(arguments),r[0]=e+400,t=new Date(Date.UTC.apply(null,r)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function nt(e,t,r){var n=7+t-r,s=(7+Ae(e,0,n).getUTCDay()-t)%7;return-s+n-1}function qt(e,t,r,n,s){var a=(7+r-n)%7,d=nt(e,n,s),b=1+7*(t-1)+a+d,O,F;return b<=0?(O=e-1,F=je(O)+b):b>je(e)?(O=e+1,F=b-je(e)):(O=e,F=b),{year:O,dayOfYear:F}}function He(e,t,r){var n=nt(e.year(),t,r),s=Math.floor((e.dayOfYear()-n-1)/7)+1,a,d;return s<1?(d=e.year()-1,a=s+le(d,t,r)):s>le(e.year(),t,r)?(a=s-le(e.year(),t,r),d=e.year()+1):(d=e.year(),a=s),{week:a,year:d}}function le(e,t,r){var n=nt(e,t,r),s=nt(e+1,t,r);return(je(e)-n+s)/7}S("w",["ww",2],"wo","week"),S("W",["WW",2],"Wo","isoWeek"),G("week","w"),G("isoWeek","W"),$("week",5),$("isoWeek",5),w("w",L),w("ww",L,q),w("W",L),w("WW",L,q),Ee(["w","ww","W","WW"],function(e,t,r,n){t[n.substr(0,1)]=k(e)});function hn(e){return He(e,this._week.dow,this._week.doy).week}var cn={dow:0,doy:6};function mn(){return this._week.dow}function yn(){return this._week.doy}function _n(e){var t=this.localeData().week(this);return e==null?t:this.add((e-t)*7,"d")}function pn(e){var t=He(this,1,4).week;return e==null?t:this.add((e-t)*7,"d")}S("d",0,"do","day"),S("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),S("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),S("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),S("e",0,0,"weekday"),S("E",0,0,"isoWeekday"),G("day","d"),G("weekday","e"),G("isoWeekday","E"),$("day",11),$("weekday",11),$("isoWeekday",11),w("d",L),w("e",L),w("E",L),w("dd",function(e,t){return t.weekdaysMinRegex(e)}),w("ddd",function(e,t){return t.weekdaysShortRegex(e)}),w("dddd",function(e,t){return t.weekdaysRegex(e)}),Ee(["dd","ddd","dddd"],function(e,t,r,n){var s=r._locale.weekdaysParse(e,n,r._strict);s!=null?t.d=s:p(r).invalidWeekday=e}),Ee(["d","e","E"],function(e,t,r,n){t[n]=k(e)});function gn(e,t){return typeof e!="string"?e:isNaN(e)?(e=t.weekdaysParse(e),typeof e=="number"?e:null):parseInt(e,10)}function vn(e,t){return typeof e=="string"?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function St(e,t){return e.slice(t,7).concat(e.slice(0,t))}var wn="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Xt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Sn="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),bn=Ie,Mn=Ie,On=Ie;function kn(e,t){var r=f(this._weekdays)?this._weekdays:this._weekdays[e&&e!==!0&&this._weekdays.isFormat.test(t)?"format":"standalone"];return e===!0?St(r,this._week.dow):e?r[e.day()]:r}function xn(e){return e===!0?St(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Dn(e){return e===!0?St(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Yn(e,t,r){var n,s,a,d=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],n=0;n<7;++n)a=D([2e3,1]).day(n),this._minWeekdaysParse[n]=this.weekdaysMin(a,"").toLocaleLowerCase(),this._shortWeekdaysParse[n]=this.weekdaysShort(a,"").toLocaleLowerCase(),this._weekdaysParse[n]=this.weekdays(a,"").toLocaleLowerCase();return r?t==="dddd"?(s=A.call(this._weekdaysParse,d),s!==-1?s:null):t==="ddd"?(s=A.call(this._shortWeekdaysParse,d),s!==-1?s:null):(s=A.call(this._minWeekdaysParse,d),s!==-1?s:null):t==="dddd"?(s=A.call(this._weekdaysParse,d),s!==-1||(s=A.call(this._shortWeekdaysParse,d),s!==-1)?s:(s=A.call(this._minWeekdaysParse,d),s!==-1?s:null)):t==="ddd"?(s=A.call(this._shortWeekdaysParse,d),s!==-1||(s=A.call(this._weekdaysParse,d),s!==-1)?s:(s=A.call(this._minWeekdaysParse,d),s!==-1?s:null)):(s=A.call(this._minWeekdaysParse,d),s!==-1||(s=A.call(this._weekdaysParse,d),s!==-1)?s:(s=A.call(this._shortWeekdaysParse,d),s!==-1?s:null))}function Tn(e,t,r){var n,s,a;if(this._weekdaysParseExact)return Yn.call(this,e,t,r);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),n=0;n<7;n++){if(s=D([2e3,1]).day(n),r&&!this._fullWeekdaysParse[n]&&(this._fullWeekdaysParse[n]=new RegExp("^"+this.weekdays(s,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[n]=new RegExp("^"+this.weekdaysShort(s,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[n]=new RegExp("^"+this.weekdaysMin(s,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[n]||(a="^"+this.weekdays(s,"")+"|^"+this.weekdaysShort(s,"")+"|^"+this.weekdaysMin(s,""),this._weekdaysParse[n]=new RegExp(a.replace(".",""),"i")),r&&t==="dddd"&&this._fullWeekdaysParse[n].test(e))return n;if(r&&t==="ddd"&&this._shortWeekdaysParse[n].test(e))return n;if(r&&t==="dd"&&this._minWeekdaysParse[n].test(e))return n;if(!r&&this._weekdaysParse[n].test(e))return n}}function Pn(e){if(!this.isValid())return e!=null?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return e!=null?(e=gn(e,this.localeData()),this.add(e-t,"d")):t}function Wn(e){if(!this.isValid())return e!=null?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return e==null?t:this.add(e-t,"d")}function Rn(e){if(!this.isValid())return e!=null?this:NaN;if(e!=null){var t=vn(e,this.localeData());return this.day(this.day()%7?t:t-7)}else return this.day()||7}function Nn(e){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||bt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(u(this,"_weekdaysRegex")||(this._weekdaysRegex=bn),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function Fn(e){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||bt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(u(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Mn),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Cn(e){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||bt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(u(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=On),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function bt(){function e(B,me){return me.length-B.length}var t=[],r=[],n=[],s=[],a,d,b,O,F;for(a=0;a<7;a++)d=D([2e3,1]).day(a),b=X(this.weekdaysMin(d,"")),O=X(this.weekdaysShort(d,"")),F=X(this.weekdays(d,"")),t.push(b),r.push(O),n.push(F),s.push(b),s.push(O),s.push(F);t.sort(e),r.sort(e),n.sort(e),s.sort(e),this._weekdaysRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+t.join("|")+")","i")}function Mt(){return this.hours()%12||12}function Ln(){return this.hours()||24}S("H",["HH",2],0,"hour"),S("h",["hh",2],0,Mt),S("k",["kk",2],0,Ln),S("hmm",0,0,function(){return""+Mt.apply(this)+ae(this.minutes(),2)}),S("hmmss",0,0,function(){return""+Mt.apply(this)+ae(this.minutes(),2)+ae(this.seconds(),2)}),S("Hmm",0,0,function(){return""+this.hours()+ae(this.minutes(),2)}),S("Hmmss",0,0,function(){return""+this.hours()+ae(this.minutes(),2)+ae(this.seconds(),2)});function Kt(e,t){S(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}Kt("a",!0),Kt("A",!1),G("hour","h"),$("hour",13);function er(e,t){return t._meridiemParse}w("a",er),w("A",er),w("H",L),w("h",L),w("k",L),w("HH",L,q),w("hh",L,q),w("kk",L,q),w("hmm",Vt),w("hmmss",zt),w("Hmm",Vt),w("Hmmss",zt),N(["H","HH"],U),N(["k","kk"],function(e,t,r){var n=k(e);t[U]=n===24?0:n}),N(["a","A"],function(e,t,r){r._isPm=r._locale.isPM(e),r._meridiem=e}),N(["h","hh"],function(e,t,r){t[U]=k(e),p(r).bigHour=!0}),N("hmm",function(e,t,r){var n=e.length-2;t[U]=k(e.substr(0,n)),t[te]=k(e.substr(n)),p(r).bigHour=!0}),N("hmmss",function(e,t,r){var n=e.length-4,s=e.length-2;t[U]=k(e.substr(0,n)),t[te]=k(e.substr(n,2)),t[ue]=k(e.substr(s)),p(r).bigHour=!0}),N("Hmm",function(e,t,r){var n=e.length-2;t[U]=k(e.substr(0,n)),t[te]=k(e.substr(n))}),N("Hmmss",function(e,t,r){var n=e.length-4,s=e.length-2;t[U]=k(e.substr(0,n)),t[te]=k(e.substr(n,2)),t[ue]=k(e.substr(s))});function In(e){return(e+"").toLowerCase().charAt(0)==="p"}var En=/[ap]\.?m?\.?/i,jn=ke("Hours",!0);function An(e,t,r){return e>11?r?"pm":"PM":r?"am":"AM"}var tr={calendar:Yr,longDateFormat:Rr,invalidDate:Fr,ordinal:Lr,dayOfMonthOrdinalParse:Ir,relativeTime:jr,months:Kr,monthsShort:Gt,week:cn,weekdays:wn,weekdaysMin:Sn,weekdaysShort:Xt,meridiemParse:En},E={},Ue={},Ve;function Hn(e,t){var r,n=Math.min(e.length,t.length);for(r=0;r<n;r+=1)if(e[r]!==t[r])return r;return n}function rr(e){return e&&e.toLowerCase().replace("_","-")}function Un(e){for(var t=0,r,n,s,a;t<e.length;){for(a=rr(e[t]).split("-"),r=a.length,n=rr(e[t+1]),n=n?n.split("-"):null;r>0;){if(s=st(a.slice(0,r).join("-")),s)return s;if(n&&n.length>=r&&Hn(a,n)>=r-1)break;r--}t++}return Ve}function Vn(e){return e.match("^[^/\\\\]*$")!=null}function st(e){var t=null,r;if(E[e]===void 0&&!0&&j&&j.exports&&Vn(e))try{t=Ve._abbr,r=void 0,Object(function(){var s=new Error("Cannot find module 'undefined'");throw s.code="MODULE_NOT_FOUND",s}()),ye(t)}catch(n){E[e]=null}return E[e]}function ye(e,t){var r;return e&&(g(t)?r=de(e):r=Ot(e,t),r?Ve=r:typeof C!="undefined"&&C.warn&&C.warn("Locale "+e+" not found. Did you forget to load it?")),Ve._abbr}function Ot(e,t){if(t!==null){var r,n=tr;if(t.abbr=e,E[e]!=null)Me("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=E[e]._config;else if(t.parentLocale!=null)if(E[t.parentLocale]!=null)n=E[t.parentLocale]._config;else if(r=st(t.parentLocale),r!=null)n=r._config;else return Ue[t.parentLocale]||(Ue[t.parentLocale]=[]),Ue[t.parentLocale].push({name:e,config:t}),null;return E[e]=new Ce(Fe(n,t)),Ue[e]&&Ue[e].forEach(function(s){Ot(s.name,s.config)}),ye(e),E[e]}else return delete E[e],null}function zn(e,t){if(t!=null){var r,n,s=tr;E[e]!=null&&E[e].parentLocale!=null?E[e].set(Fe(E[e]._config,t)):(n=st(e),n!=null&&(s=n._config),t=Fe(s,t),n==null&&(t.abbr=e),r=new Ce(t),r.parentLocale=E[e],E[e]=r),ye(e)}else E[e]!=null&&(E[e].parentLocale!=null?(E[e]=E[e].parentLocale,e===ye()&&ye(e)):E[e]!=null&&delete E[e]);return E[e]}function de(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return Ve;if(!f(e)){if(t=st(e),t)return t;e=[e]}return Un(e)}function Gn(){return mt(E)}function kt(e){var t,r=e._a;return r&&p(e).overflow===-2&&(t=r[oe]<0||r[oe]>11?oe:r[ie]<1||r[ie]>rt(r[Z],r[oe])?ie:r[U]<0||r[U]>24||r[U]===24&&(r[te]!==0||r[ue]!==0||r[ve]!==0)?U:r[te]<0||r[te]>59?te:r[ue]<0||r[ue]>59?ue:r[ve]<0||r[ve]>999?ve:-1,p(e)._overflowDayOfYear&&(t<Z||t>ie)&&(t=ie),p(e)._overflowWeeks&&t===-1&&(t=Jr),p(e)._overflowWeekday&&t===-1&&(t=qr),p(e).overflow=t),e}var $n=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Zn=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Bn=/Z|[+-]\d\d(?::?\d\d)?/,at=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],xt=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Qn=/^\/?Date\((-?\d+)/i,Jn=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,qn={UT:0,GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function nr(e){var t,r,n=e._i,s=$n.exec(n)||Zn.exec(n),a,d,b,O,F=at.length,B=xt.length;if(s){for(p(e).iso=!0,t=0,r=F;t<r;t++)if(at[t][1].exec(s[1])){d=at[t][0],a=at[t][2]!==!1;break}if(d==null){e._isValid=!1;return}if(s[3]){for(t=0,r=B;t<r;t++)if(xt[t][1].exec(s[3])){b=(s[2]||" ")+xt[t][0];break}if(b==null){e._isValid=!1;return}}if(!a&&b!=null){e._isValid=!1;return}if(s[4])if(Bn.exec(s[4]))O="Z";else{e._isValid=!1;return}e._f=d+(b||"")+(O||""),Yt(e)}else e._isValid=!1}function Xn(e,t,r,n,s,a){var d=[Kn(e),Gt.indexOf(t),parseInt(r,10),parseInt(n,10),parseInt(s,10)];return a&&d.push(parseInt(a,10)),d}function Kn(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function es(e){return e.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function ts(e,t,r){if(e){var n=Xt.indexOf(e),s=new Date(t[0],t[1],t[2]).getDay();if(n!==s)return p(r).weekdayMismatch=!0,r._isValid=!1,!1}return!0}function rs(e,t,r){if(e)return qn[e];if(t)return 0;var n=parseInt(r,10),s=n%100,a=(n-s)/100;return a*60+s}function sr(e){var t=Jn.exec(es(e._i)),r;if(t){if(r=Xn(t[4],t[3],t[2],t[5],t[6],t[7]),!ts(t[1],r,e))return;e._a=r,e._tzm=rs(t[8],t[9],t[10]),e._d=Ae.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),p(e).rfc2822=!0}else e._isValid=!1}function ns(e){var t=Qn.exec(e._i);if(t!==null){e._d=new Date(+t[1]);return}if(nr(e),e._isValid===!1)delete e._isValid;else return;if(sr(e),e._isValid===!1)delete e._isValid;else return;e._strict?e._isValid=!1:m.createFromInputFallback(e)}m.createFromInputFallback=z("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))});function De(e,t,r){return e!=null?e:t!=null?t:r}function ss(e){var t=new Date(m.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function Dt(e){var t,r,n=[],s,a,d;if(!e._d){for(s=ss(e),e._w&&e._a[ie]==null&&e._a[oe]==null&&as(e),e._dayOfYear!=null&&(d=De(e._a[Z],s[Z]),(e._dayOfYear>je(d)||e._dayOfYear===0)&&(p(e)._overflowDayOfYear=!0),r=Ae(d,0,e._dayOfYear),e._a[oe]=r.getUTCMonth(),e._a[ie]=r.getUTCDate()),t=0;t<3&&e._a[t]==null;++t)e._a[t]=n[t]=s[t];for(;t<7;t++)e._a[t]=n[t]=e._a[t]==null?t===2?1:0:e._a[t];e._a[U]===24&&e._a[te]===0&&e._a[ue]===0&&e._a[ve]===0&&(e._nextDay=!0,e._a[U]=0),e._d=(e._useUTC?Ae:fn).apply(null,n),a=e._useUTC?e._d.getUTCDay():e._d.getDay(),e._tzm!=null&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[U]=24),e._w&&typeof e._w.d!="undefined"&&e._w.d!==a&&(p(e).weekdayMismatch=!0)}}function as(e){var t,r,n,s,a,d,b,O,F;t=e._w,t.GG!=null||t.W!=null||t.E!=null?(a=1,d=4,r=De(t.GG,e._a[Z],He(I(),1,4).year),n=De(t.W,1),s=De(t.E,1),(s<1||s>7)&&(O=!0)):(a=e._locale._week.dow,d=e._locale._week.doy,F=He(I(),a,d),r=De(t.gg,e._a[Z],F.year),n=De(t.w,F.week),t.d!=null?(s=t.d,(s<0||s>6)&&(O=!0)):t.e!=null?(s=t.e+a,(t.e<0||t.e>6)&&(O=!0)):s=a),n<1||n>le(r,a,d)?p(e)._overflowWeeks=!0:O!=null?p(e)._overflowWeekday=!0:(b=qt(r,n,s,a,d),e._a[Z]=b.year,e._dayOfYear=b.dayOfYear)}m.ISO_8601=function(){},m.RFC_2822=function(){};function Yt(e){if(e._f===m.ISO_8601){nr(e);return}if(e._f===m.RFC_2822){sr(e);return}e._a=[],p(e).empty=!0;var t=""+e._i,r,n,s,a,d,b=t.length,O=0,F,B;for(s=Et(e._f,e._locale).match(yt)||[],B=s.length,r=0;r<B;r++)a=s[r],n=(t.match(Zr(a,e))||[])[0],n&&(d=t.substr(0,t.indexOf(n)),d.length>0&&p(e).unusedInput.push(d),t=t.slice(t.indexOf(n)+n.length),O+=n.length),Oe[a]?(n?p(e).empty=!1:p(e).unusedTokens.push(a),Qr(a,n,e)):e._strict&&!n&&p(e).unusedTokens.push(a);p(e).charsLeftOver=b-O,t.length>0&&p(e).unusedInput.push(t),e._a[U]<=12&&p(e).bigHour===!0&&e._a[U]>0&&(p(e).bigHour=void 0),p(e).parsedDateParts=e._a.slice(0),p(e).meridiem=e._meridiem,e._a[U]=is(e._locale,e._a[U],e._meridiem),F=p(e).era,F!==null&&(e._a[Z]=e._locale.erasConvertYear(F,e._a[Z])),Dt(e),kt(e)}function is(e,t,r){var n;return r==null?t:e.meridiemHour!=null?e.meridiemHour(t,r):(e.isPM!=null&&(n=e.isPM(r),n&&t<12&&(t+=12),!n&&t===12&&(t=0)),t)}function os(e){var t,r,n,s,a,d,b=!1,O=e._f.length;if(O===0){p(e).invalidFormat=!0,e._d=new Date(NaN);return}for(s=0;s<O;s++)a=0,d=!1,t=be({},e),e._useUTC!=null&&(t._useUTC=e._useUTC),t._f=e._f[s],Yt(t),h(t)&&(d=!0),a+=p(t).charsLeftOver,a+=p(t).unusedTokens.length*10,p(t).score=a,b?a<n&&(n=a,r=t):(n==null||a<n||d)&&(n=a,r=t,d&&(b=!0));x(e,r||t)}function us(e){if(!e._d){var t=pt(e._i),r=t.day===void 0?t.date:t.day;e._a=Y([t.year,t.month,r,t.hour,t.minute,t.second,t.millisecond],function(n){return n&&parseInt(n,10)}),Dt(e)}}function ls(e){var t=new ge(kt(ar(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function ar(e){var t=e._i,r=e._f;return e._locale=e._locale||de(e._l),t===null||r===void 0&&t===""?M({nullInput:!0}):(typeof t=="string"&&(e._i=t=e._locale.preparse(t)),J(t)?new ge(kt(t)):(c(t)?e._d=t:f(r)?os(e):r?Yt(e):ds(e),h(e)||(e._d=null),e))}function ds(e){var t=e._i;g(t)?e._d=new Date(m.now()):c(t)?e._d=new Date(t.valueOf()):typeof t=="string"?ns(e):f(t)?(e._a=Y(t.slice(0),function(r){return parseInt(r,10)}),Dt(e)):i(t)?us(e):v(t)?e._d=new Date(t):m.createFromInputFallback(e)}function ir(e,t,r,n,s){var a={};return(t===!0||t===!1)&&(n=t,t=void 0),(r===!0||r===!1)&&(n=r,r=void 0),(i(e)&&y(e)||f(e)&&e.length===0)&&(e=void 0),a._isAMomentObject=!0,a._useUTC=a._isUTC=s,a._l=r,a._i=e,a._f=t,a._strict=n,ls(a)}function I(e,t,r,n){return ir(e,t,r,n,!1)}var fs=z("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=I.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:M()}),hs=z("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=I.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:M()});function or(e,t){var r,n;if(t.length===1&&f(t[0])&&(t=t[0]),!t.length)return I();for(r=t[0],n=1;n<t.length;++n)(!t[n].isValid()||t[n][e](r))&&(r=t[n]);return r}function cs(){var e=[].slice.call(arguments,0);return or("isBefore",e)}function ms(){var e=[].slice.call(arguments,0);return or("isAfter",e)}var ys=function(){return Date.now?Date.now():+new Date},ze=["year","quarter","month","week","day","hour","minute","second","millisecond"];function _s(e){var t,r=!1,n,s=ze.length;for(t in e)if(u(e,t)&&!(A.call(ze,t)!==-1&&(e[t]==null||!isNaN(e[t]))))return!1;for(n=0;n<s;++n)if(e[ze[n]]){if(r)return!1;parseFloat(e[ze[n]])!==k(e[ze[n]])&&(r=!0)}return!0}function ps(){return this._isValid}function gs(){return re(NaN)}function it(e){var t=pt(e),r=t.year||0,n=t.quarter||0,s=t.month||0,a=t.week||t.isoWeek||0,d=t.day||0,b=t.hour||0,O=t.minute||0,F=t.second||0,B=t.millisecond||0;this._isValid=_s(t),this._milliseconds=+B+F*1e3+O*6e4+b*1e3*60*60,this._days=+d+a*7,this._months=+s+n*3+r*12,this._data={},this._locale=de(),this._bubble()}function ot(e){return e instanceof it}function Tt(e){return e<0?Math.round(-1*e)*-1:Math.round(e)}function vs(e,t,r){var n=Math.min(e.length,t.length),s=Math.abs(e.length-t.length),a=0,d;for(d=0;d<n;d++)(r&&e[d]!==t[d]||!r&&k(e[d])!==k(t[d]))&&a++;return a+s}function ur(e,t){S(e,0,0,function(){var r=this.utcOffset(),n="+";return r<0&&(r=-r,n="-"),n+ae(~~(r/60),2)+t+ae(~~r%60,2)})}ur("Z",":"),ur("ZZ",""),w("Z",et),w("ZZ",et),N(["Z","ZZ"],function(e,t,r){r._useUTC=!0,r._tzm=Pt(et,e)});var ws=/([\+\-]|\d\d)/gi;function Pt(e,t){var r=(t||"").match(e),n,s,a;return r===null?null:(n=r[r.length-1]||[],s=(n+"").match(ws)||["-",0,0],a=+(s[1]*60)+k(s[2]),a===0?0:s[0]==="+"?a:-a)}function Wt(e,t){var r,n;return t._isUTC?(r=t.clone(),n=(J(e)||c(e)?e.valueOf():I(e).valueOf())-r.valueOf(),r._d.setTime(r._d.valueOf()+n),m.updateOffset(r,!1),r):I(e).local()}function Rt(e){return-Math.round(e._d.getTimezoneOffset())}m.updateOffset=function(){};function Ss(e,t,r){var n=this._offset||0,s;if(!this.isValid())return e!=null?this:NaN;if(e!=null){if(typeof e=="string"){if(e=Pt(et,e),e===null)return this}else Math.abs(e)<16&&!r&&(e=e*60);return!this._isUTC&&t&&(s=Rt(this)),this._offset=e,this._isUTC=!0,s!=null&&this.add(s,"m"),n!==e&&(!t||this._changeInProgress?hr(this,re(e-n,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,m.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?n:Rt(this)}function bs(e,t){return e!=null?(typeof e!="string"&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function Ms(e){return this.utcOffset(0,e)}function Os(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Rt(this),"m")),this}function ks(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var e=Pt(Gr,this._i);e!=null?this.utcOffset(e):this.utcOffset(0,!0)}return this}function xs(e){return this.isValid()?(e=e?I(e).utcOffset():0,(this.utcOffset()-e)%60===0):!1}function Ds(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Ys(){if(!g(this._isDSTShifted))return this._isDSTShifted;var e={},t;return be(e,this),e=ar(e),e._a?(t=e._isUTC?D(e._a):I(e._a),this._isDSTShifted=this.isValid()&&vs(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function Ts(){return this.isValid()?!this._isUTC:!1}function Ps(){return this.isValid()?this._isUTC:!1}function lr(){return this.isValid()?this._isUTC&&this._offset===0:!1}var Ws=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Rs=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function re(e,t){var r=e,n=null,s,a,d;return ot(e)?r={ms:e._milliseconds,d:e._days,M:e._months}:v(e)||!isNaN(+e)?(r={},t?r[t]=+e:r.milliseconds=+e):(n=Ws.exec(e))?(s=n[1]==="-"?-1:1,r={y:0,d:k(n[ie])*s,h:k(n[U])*s,m:k(n[te])*s,s:k(n[ue])*s,ms:k(Tt(n[ve]*1e3))*s}):(n=Rs.exec(e))?(s=n[1]==="-"?-1:1,r={y:we(n[2],s),M:we(n[3],s),w:we(n[4],s),d:we(n[5],s),h:we(n[6],s),m:we(n[7],s),s:we(n[8],s)}):r==null?r={}:typeof r=="object"&&("from"in r||"to"in r)&&(d=Ns(I(r.from),I(r.to)),r={},r.ms=d.milliseconds,r.M=d.months),a=new it(r),ot(e)&&u(e,"_locale")&&(a._locale=e._locale),ot(e)&&u(e,"_isValid")&&(a._isValid=e._isValid),a}re.fn=it.prototype,re.invalid=gs;function we(e,t){var r=e&&parseFloat(e.replace(",","."));return(isNaN(r)?0:r)*t}function dr(e,t){var r={};return r.months=t.month()-e.month()+(t.year()-e.year())*12,e.clone().add(r.months,"M").isAfter(t)&&--r.months,r.milliseconds=+t-+e.clone().add(r.months,"M"),r}function Ns(e,t){var r;return e.isValid()&&t.isValid()?(t=Wt(t,e),e.isBefore(t)?r=dr(e,t):(r=dr(t,e),r.milliseconds=-r.milliseconds,r.months=-r.months),r):{milliseconds:0,months:0}}function fr(e,t){return function(r,n){var s,a;return n!==null&&!isNaN(+n)&&(Me(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),a=r,r=n,n=a),s=re(r,n),hr(this,s,e),this}}function hr(e,t,r,n){var s=t._milliseconds,a=Tt(t._days),d=Tt(t._months);!e.isValid()||(n=n==null?!0:n,d&&Zt(e,Qe(e,"Month")+d*r),a&&At(e,"Date",Qe(e,"Date")+a*r),s&&e._d.setTime(e._d.valueOf()+s*r),n&&m.updateOffset(e,a||d))}var Fs=fr(1,"add"),Cs=fr(-1,"subtract");function cr(e){return typeof e=="string"||e instanceof String}function Ls(e){return J(e)||c(e)||cr(e)||v(e)||Es(e)||Is(e)||e===null||e===void 0}function Is(e){var t=i(e)&&!y(e),r=!1,n=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],s,a,d=n.length;for(s=0;s<d;s+=1)a=n[s],r=r||u(e,a);return t&&r}function Es(e){var t=f(e),r=!1;return t&&(r=e.filter(function(n){return!v(n)&&cr(e)}).length===0),t&&r}function js(e){var t=i(e)&&!y(e),r=!1,n=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],s,a;for(s=0;s<n.length;s+=1)a=n[s],r=r||u(e,a);return t&&r}function As(e,t){var r=e.diff(t,"days",!0);return r<-6?"sameElse":r<-1?"lastWeek":r<0?"lastDay":r<1?"sameDay":r<2?"nextDay":r<7?"nextWeek":"sameElse"}function Hs(e,t){arguments.length===1&&(arguments[0]?Ls(arguments[0])?(e=arguments[0],t=void 0):js(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var r=e||I(),n=Wt(r,this).startOf("day"),s=m.calendarFormat(this,n)||"sameElse",a=t&&(V(t[s])?t[s].call(this,r):t[s]);return this.format(a||this.localeData().calendar(s,this,I(r)))}function Us(){return new ge(this)}function Vs(e,t){var r=J(e)?e:I(e);return this.isValid()&&r.isValid()?(t=K(t)||"millisecond",t==="millisecond"?this.valueOf()>r.valueOf():r.valueOf()<this.clone().startOf(t).valueOf()):!1}function zs(e,t){var r=J(e)?e:I(e);return this.isValid()&&r.isValid()?(t=K(t)||"millisecond",t==="millisecond"?this.valueOf()<r.valueOf():this.clone().endOf(t).valueOf()<r.valueOf()):!1}function Gs(e,t,r,n){var s=J(e)?e:I(e),a=J(t)?t:I(t);return this.isValid()&&s.isValid()&&a.isValid()?(n=n||"()",(n[0]==="("?this.isAfter(s,r):!this.isBefore(s,r))&&(n[1]===")"?this.isBefore(a,r):!this.isAfter(a,r))):!1}function $s(e,t){var r=J(e)?e:I(e),n;return this.isValid()&&r.isValid()?(t=K(t)||"millisecond",t==="millisecond"?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf())):!1}function Zs(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function Bs(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function Qs(e,t,r){var n,s,a;if(!this.isValid())return NaN;if(n=Wt(e,this),!n.isValid())return NaN;switch(s=(n.utcOffset()-this.utcOffset())*6e4,t=K(t),t){case"year":a=ut(this,n)/12;break;case"month":a=ut(this,n);break;case"quarter":a=ut(this,n)/3;break;case"second":a=(this-n)/1e3;break;case"minute":a=(this-n)/6e4;break;case"hour":a=(this-n)/36e5;break;case"day":a=(this-n-s)/864e5;break;case"week":a=(this-n-s)/6048e5;break;default:a=this-n}return r?a:ee(a)}function ut(e,t){if(e.date()<t.date())return-ut(t,e);var r=(t.year()-e.year())*12+(t.month()-e.month()),n=e.clone().add(r,"months"),s,a;return t-n<0?(s=e.clone().add(r-1,"months"),a=(t-n)/(n-s)):(s=e.clone().add(r+1,"months"),a=(t-n)/(s-n)),-(r+a)||0}m.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",m.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function Js(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function qs(e){if(!this.isValid())return null;var t=e!==!0,r=t?this.clone().utc():this;return r.year()<0||r.year()>9999?Ze(r,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):V(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",Ze(r,"Z")):Ze(r,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function Xs(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="",r,n,s,a;return this.isLocal()||(e=this.utcOffset()===0?"moment.utc":"moment.parseZone",t="Z"),r="["+e+'("]',n=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",s="-MM-DD[T]HH:mm:ss.SSS",a=t+'[")]',this.format(r+n+s+a)}function Ks(e){e||(e=this.isUtc()?m.defaultFormatUtc:m.defaultFormat);var t=Ze(this,e);return this.localeData().postformat(t)}function ea(e,t){return this.isValid()&&(J(e)&&e.isValid()||I(e).isValid())?re({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function ta(e){return this.from(I(),e)}function ra(e,t){return this.isValid()&&(J(e)&&e.isValid()||I(e).isValid())?re({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function na(e){return this.to(I(),e)}function mr(e){var t;return e===void 0?this._locale._abbr:(t=de(e),t!=null&&(this._locale=t),this)}var yr=z("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return e===void 0?this.localeData():this.locale(e)});function _r(){return this._locale}var lt=1e3,Ye=60*lt,dt=60*Ye,pr=(365*400+97)*24*dt;function Te(e,t){return(e%t+t)%t}function gr(e,t,r){return e<100&&e>=0?new Date(e+400,t,r)-pr:new Date(e,t,r).valueOf()}function vr(e,t,r){return e<100&&e>=0?Date.UTC(e+400,t,r)-pr:Date.UTC(e,t,r)}function sa(e){var t,r;if(e=K(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?vr:gr,e){case"year":t=r(this.year(),0,1);break;case"quarter":t=r(this.year(),this.month()-this.month()%3,1);break;case"month":t=r(this.year(),this.month(),1);break;case"week":t=r(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=r(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=Te(t+(this._isUTC?0:this.utcOffset()*Ye),dt);break;case"minute":t=this._d.valueOf(),t-=Te(t,Ye);break;case"second":t=this._d.valueOf(),t-=Te(t,lt);break}return this._d.setTime(t),m.updateOffset(this,!0),this}function aa(e){var t,r;if(e=K(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?vr:gr,e){case"year":t=r(this.year()+1,0,1)-1;break;case"quarter":t=r(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=r(this.year(),this.month()+1,1)-1;break;case"week":t=r(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=r(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=dt-Te(t+(this._isUTC?0:this.utcOffset()*Ye),dt)-1;break;case"minute":t=this._d.valueOf(),t+=Ye-Te(t,Ye)-1;break;case"second":t=this._d.valueOf(),t+=lt-Te(t,lt)-1;break}return this._d.setTime(t),m.updateOffset(this,!0),this}function ia(){return this._d.valueOf()-(this._offset||0)*6e4}function oa(){return Math.floor(this.valueOf()/1e3)}function ua(){return new Date(this.valueOf())}function la(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function da(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function fa(){return this.isValid()?this.toISOString():null}function ha(){return h(this)}function ca(){return x({},p(this))}function ma(){return p(this).overflow}function ya(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}S("N",0,0,"eraAbbr"),S("NN",0,0,"eraAbbr"),S("NNN",0,0,"eraAbbr"),S("NNNN",0,0,"eraName"),S("NNNNN",0,0,"eraNarrow"),S("y",["y",1],"yo","eraYear"),S("y",["yy",2],0,"eraYear"),S("y",["yyy",3],0,"eraYear"),S("y",["yyyy",4],0,"eraYear"),w("N",Nt),w("NN",Nt),w("NNN",Nt),w("NNNN",xa),w("NNNNN",Da),N(["N","NN","NNN","NNNN","NNNNN"],function(e,t,r,n){var s=r._locale.erasParse(e,n,r._strict);s?p(r).era=s:p(r).invalidEra=e}),w("y",xe),w("yy",xe),w("yyy",xe),w("yyyy",xe),w("yo",Ya),N(["y","yy","yyy","yyyy"],Z),N(["yo"],function(e,t,r,n){var s;r._locale._eraYearOrdinalRegex&&(s=e.match(r._locale._eraYearOrdinalRegex)),r._locale.eraYearOrdinalParse?t[Z]=r._locale.eraYearOrdinalParse(e,s):t[Z]=parseInt(e,10)});function _a(e,t){var r,n,s,a=this._eras||de("en")._eras;for(r=0,n=a.length;r<n;++r){switch(typeof a[r].since){case"string":s=m(a[r].since).startOf("day"),a[r].since=s.valueOf();break}switch(typeof a[r].until){case"undefined":a[r].until=1/0;break;case"string":s=m(a[r].until).startOf("day").valueOf(),a[r].until=s.valueOf();break}}return a}function pa(e,t,r){var n,s,a=this.eras(),d,b,O;for(e=e.toUpperCase(),n=0,s=a.length;n<s;++n)if(d=a[n].name.toUpperCase(),b=a[n].abbr.toUpperCase(),O=a[n].narrow.toUpperCase(),r)switch(t){case"N":case"NN":case"NNN":if(b===e)return a[n];break;case"NNNN":if(d===e)return a[n];break;case"NNNNN":if(O===e)return a[n];break}else if([d,b,O].indexOf(e)>=0)return a[n]}function ga(e,t){var r=e.since<=e.until?1:-1;return t===void 0?m(e.since).year():m(e.since).year()+(t-e.offset)*r}function va(){var e,t,r,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),n[e].since<=r&&r<=n[e].until||n[e].until<=r&&r<=n[e].since)return n[e].name;return""}function wa(){var e,t,r,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),n[e].since<=r&&r<=n[e].until||n[e].until<=r&&r<=n[e].since)return n[e].narrow;return""}function Sa(){var e,t,r,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),n[e].since<=r&&r<=n[e].until||n[e].until<=r&&r<=n[e].since)return n[e].abbr;return""}function ba(){var e,t,r,n,s=this.localeData().eras();for(e=0,t=s.length;e<t;++e)if(r=s[e].since<=s[e].until?1:-1,n=this.clone().startOf("day").valueOf(),s[e].since<=n&&n<=s[e].until||s[e].until<=n&&n<=s[e].since)return(this.year()-m(s[e].since).year())*r+s[e].offset;return this.year()}function Ma(e){return u(this,"_erasNameRegex")||Ft.call(this),e?this._erasNameRegex:this._erasRegex}function Oa(e){return u(this,"_erasAbbrRegex")||Ft.call(this),e?this._erasAbbrRegex:this._erasRegex}function ka(e){return u(this,"_erasNarrowRegex")||Ft.call(this),e?this._erasNarrowRegex:this._erasRegex}function Nt(e,t){return t.erasAbbrRegex(e)}function xa(e,t){return t.erasNameRegex(e)}function Da(e,t){return t.erasNarrowRegex(e)}function Ya(e,t){return t._eraYearOrdinalRegex||xe}function Ft(){var e=[],t=[],r=[],n=[],s,a,d=this.eras();for(s=0,a=d.length;s<a;++s)t.push(X(d[s].name)),e.push(X(d[s].abbr)),r.push(X(d[s].narrow)),n.push(X(d[s].name)),n.push(X(d[s].abbr)),n.push(X(d[s].narrow));this._erasRegex=new RegExp("^("+n.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+r.join("|")+")","i")}S(0,["gg",2],0,function(){return this.weekYear()%100}),S(0,["GG",2],0,function(){return this.isoWeekYear()%100});function ft(e,t){S(0,[e,e.length],0,t)}ft("gggg","weekYear"),ft("ggggg","weekYear"),ft("GGGG","isoWeekYear"),ft("GGGGG","isoWeekYear"),G("weekYear","gg"),G("isoWeekYear","GG"),$("weekYear",1),$("isoWeekYear",1),w("G",Ke),w("g",Ke),w("GG",L,q),w("gg",L,q),w("GGGG",vt,gt),w("gggg",vt,gt),w("GGGGG",Xe,Je),w("ggggg",Xe,Je),Ee(["gggg","ggggg","GGGG","GGGGG"],function(e,t,r,n){t[n.substr(0,2)]=k(e)}),Ee(["gg","GG"],function(e,t,r,n){t[n]=m.parseTwoDigitYear(e)});function Ta(e){return wr.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function Pa(e){return wr.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function Wa(){return le(this.year(),1,4)}function Ra(){return le(this.isoWeekYear(),1,4)}function Na(){var e=this.localeData()._week;return le(this.year(),e.dow,e.doy)}function Fa(){var e=this.localeData()._week;return le(this.weekYear(),e.dow,e.doy)}function wr(e,t,r,n,s){var a;return e==null?He(this,n,s).year:(a=le(e,n,s),t>a&&(t=a),Ca.call(this,e,t,r,n,s))}function Ca(e,t,r,n,s){var a=qt(e,t,r,n,s),d=Ae(a.year,0,a.dayOfYear);return this.year(d.getUTCFullYear()),this.month(d.getUTCMonth()),this.date(d.getUTCDate()),this}S("Q",0,"Qo","quarter"),G("quarter","Q"),$("quarter",7),w("Q",Ht),N("Q",function(e,t){t[oe]=(k(e)-1)*3});function La(e){return e==null?Math.ceil((this.month()+1)/3):this.month((e-1)*3+this.month()%3)}S("D",["DD",2],"Do","date"),G("date","D"),$("date",9),w("D",L),w("DD",L,q),w("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),N(["D","DD"],ie),N("Do",function(e,t){t[ie]=k(e.match(L)[0])});var Sr=ke("Date",!0);S("DDD",["DDDD",3],"DDDo","dayOfYear"),G("dayOfYear","DDD"),$("dayOfYear",4),w("DDD",qe),w("DDDD",Ut),N(["DDD","DDDD"],function(e,t,r){r._dayOfYear=k(e)});function Ia(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return e==null?t:this.add(e-t,"d")}S("m",["mm",2],0,"minute"),G("minute","m"),$("minute",14),w("m",L),w("mm",L,q),N(["m","mm"],te);var Ea=ke("Minutes",!1);S("s",["ss",2],0,"second"),G("second","s"),$("second",15),w("s",L),w("ss",L,q),N(["s","ss"],ue);var ja=ke("Seconds",!1);S("S",0,0,function(){return~~(this.millisecond()/100)}),S(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),S(0,["SSS",3],0,"millisecond"),S(0,["SSSS",4],0,function(){return this.millisecond()*10}),S(0,["SSSSS",5],0,function(){return this.millisecond()*100}),S(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3}),S(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4}),S(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5}),S(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6}),G("millisecond","ms"),$("millisecond",16),w("S",qe,Ht),w("SS",qe,q),w("SSS",qe,Ut);var _e,br;for(_e="SSSS";_e.length<=9;_e+="S")w(_e,xe);function Aa(e,t){t[ve]=k(("0."+e)*1e3)}for(_e="S";_e.length<=9;_e+="S")N(_e,Aa);br=ke("Milliseconds",!1),S("z",0,0,"zoneAbbr"),S("zz",0,0,"zoneName");function Ha(){return this._isUTC?"UTC":""}function Ua(){return this._isUTC?"Coordinated Universal Time":""}var _=ge.prototype;_.add=Fs,_.calendar=Hs,_.clone=Us,_.diff=Qs,_.endOf=aa,_.format=Ks,_.from=ea,_.fromNow=ta,_.to=ra,_.toNow=na,_.get=Vr,_.invalidAt=ma,_.isAfter=Vs,_.isBefore=zs,_.isBetween=Gs,_.isSame=$s,_.isSameOrAfter=Zs,_.isSameOrBefore=Bs,_.isValid=ha,_.lang=yr,_.locale=mr,_.localeData=_r,_.max=hs,_.min=fs,_.parsingFlags=ca,_.set=zr,_.startOf=sa,_.subtract=Cs,_.toArray=la,_.toObject=da,_.toDate=ua,_.toISOString=qs,_.inspect=Xs,typeof Symbol!="undefined"&&Symbol.for!=null&&(_[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),_.toJSON=fa,_.toString=Js,_.unix=oa,_.valueOf=ia,_.creationData=ya,_.eraName=va,_.eraNarrow=wa,_.eraAbbr=Sa,_.eraYear=ba,_.year=Jt,_.isLeapYear=dn,_.weekYear=Ta,_.isoWeekYear=Pa,_.quarter=_.quarters=La,_.month=Bt,_.daysInMonth=on,_.week=_.weeks=_n,_.isoWeek=_.isoWeeks=pn,_.weeksInYear=Na,_.weeksInWeekYear=Fa,_.isoWeeksInYear=Wa,_.isoWeeksInISOWeekYear=Ra,_.date=Sr,_.day=_.days=Pn,_.weekday=Wn,_.isoWeekday=Rn,_.dayOfYear=Ia,_.hour=_.hours=jn,_.minute=_.minutes=Ea,_.second=_.seconds=ja,_.millisecond=_.milliseconds=br,_.utcOffset=Ss,_.utc=Ms,_.local=Os,_.parseZone=ks,_.hasAlignedHourOffset=xs,_.isDST=Ds,_.isLocal=Ts,_.isUtcOffset=Ps,_.isUtc=lr,_.isUTC=lr,_.zoneAbbr=Ha,_.zoneName=Ua,_.dates=z("dates accessor is deprecated. Use date instead.",Sr),_.months=z("months accessor is deprecated. Use month instead",Bt),_.years=z("years accessor is deprecated. Use year instead",Jt),_.zone=z("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",bs),_.isDSTShifted=z("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Ys);function Va(e){return I(e*1e3)}function za(){return I.apply(null,arguments).parseZone()}function Mr(e){return e}var W=Ce.prototype;W.calendar=Tr,W.longDateFormat=Nr,W.invalidDate=Cr,W.ordinal=Er,W.preparse=Mr,W.postformat=Mr,W.relativeTime=Ar,W.pastFuture=Hr,W.set=Ne,W.eras=_a,W.erasParse=pa,W.erasConvertYear=ga,W.erasAbbrRegex=Oa,W.erasNameRegex=Ma,W.erasNarrowRegex=ka,W.months=rn,W.monthsShort=nn,W.monthsParse=an,W.monthsRegex=ln,W.monthsShortRegex=un,W.week=hn,W.firstDayOfYear=yn,W.firstDayOfWeek=mn,W.weekdays=kn,W.weekdaysMin=Dn,W.weekdaysShort=xn,W.weekdaysParse=Tn,W.weekdaysRegex=Nn,W.weekdaysShortRegex=Fn,W.weekdaysMinRegex=Cn,W.isPM=In,W.meridiem=An;function ht(e,t,r,n){var s=de(),a=D().set(n,t);return s[r](a,e)}function Or(e,t,r){if(v(e)&&(t=e,e=void 0),e=e||"",t!=null)return ht(e,t,r,"month");var n,s=[];for(n=0;n<12;n++)s[n]=ht(e,n,r,"month");return s}function Ct(e,t,r,n){typeof e=="boolean"?(v(t)&&(r=t,t=void 0),t=t||""):(t=e,r=t,e=!1,v(t)&&(r=t,t=void 0),t=t||"");var s=de(),a=e?s._week.dow:0,d,b=[];if(r!=null)return ht(t,(r+a)%7,n,"day");for(d=0;d<7;d++)b[d]=ht(t,(d+a)%7,n,"day");return b}function Ga(e,t){return Or(e,t,"months")}function $a(e,t){return Or(e,t,"monthsShort")}function Za(e,t,r){return Ct(e,t,r,"weekdays")}function Ba(e,t,r){return Ct(e,t,r,"weekdaysShort")}function Qa(e,t,r){return Ct(e,t,r,"weekdaysMin")}ye("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,r=k(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+r}}),m.lang=z("moment.lang is deprecated. Use moment.locale instead.",ye),m.langData=z("moment.langData is deprecated. Use moment.localeData instead.",de);var fe=Math.abs;function Ja(){var e=this._data;return this._milliseconds=fe(this._milliseconds),this._days=fe(this._days),this._months=fe(this._months),e.milliseconds=fe(e.milliseconds),e.seconds=fe(e.seconds),e.minutes=fe(e.minutes),e.hours=fe(e.hours),e.months=fe(e.months),e.years=fe(e.years),this}function kr(e,t,r,n){var s=re(t,r);return e._milliseconds+=n*s._milliseconds,e._days+=n*s._days,e._months+=n*s._months,e._bubble()}function qa(e,t){return kr(this,e,t,1)}function Xa(e,t){return kr(this,e,t,-1)}function xr(e){return e<0?Math.floor(e):Math.ceil(e)}function Ka(){var e=this._milliseconds,t=this._days,r=this._months,n=this._data,s,a,d,b,O;return e>=0&&t>=0&&r>=0||e<=0&&t<=0&&r<=0||(e+=xr(Lt(r)+t)*864e5,t=0,r=0),n.milliseconds=e%1e3,s=ee(e/1e3),n.seconds=s%60,a=ee(s/60),n.minutes=a%60,d=ee(a/60),n.hours=d%24,t+=ee(d/24),O=ee(Dr(t)),r+=O,t-=xr(Lt(O)),b=ee(r/12),r%=12,n.days=t,n.months=r,n.years=b,this}function Dr(e){return e*4800/146097}function Lt(e){return e*146097/4800}function ei(e){if(!this.isValid())return NaN;var t,r,n=this._milliseconds;if(e=K(e),e==="month"||e==="quarter"||e==="year")switch(t=this._days+n/864e5,r=this._months+Dr(t),e){case"month":return r;case"quarter":return r/3;case"year":return r/12}else switch(t=this._days+Math.round(Lt(this._months)),e){case"week":return t/7+n/6048e5;case"day":return t+n/864e5;case"hour":return t*24+n/36e5;case"minute":return t*1440+n/6e4;case"second":return t*86400+n/1e3;case"millisecond":return Math.floor(t*864e5)+n;default:throw new Error("Unknown unit "+e)}}function ti(){return this.isValid()?this._milliseconds+this._days*864e5+this._months%12*2592e6+k(this._months/12)*31536e6:NaN}function he(e){return function(){return this.as(e)}}var ri=he("ms"),ni=he("s"),si=he("m"),ai=he("h"),ii=he("d"),oi=he("w"),ui=he("M"),li=he("Q"),di=he("y");function fi(){return re(this)}function hi(e){return e=K(e),this.isValid()?this[e+"s"]():NaN}function Se(e){return function(){return this.isValid()?this._data[e]:NaN}}var ci=Se("milliseconds"),mi=Se("seconds"),yi=Se("minutes"),_i=Se("hours"),pi=Se("days"),gi=Se("months"),vi=Se("years");function wi(){return ee(this.days()/7)}var ce=Math.round,Pe={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Si(e,t,r,n,s){return s.relativeTime(t||1,!!r,e,n)}function bi(e,t,r,n){var s=re(e).abs(),a=ce(s.as("s")),d=ce(s.as("m")),b=ce(s.as("h")),O=ce(s.as("d")),F=ce(s.as("M")),B=ce(s.as("w")),me=ce(s.as("y")),pe=a<=r.ss&&["s",a]||a<r.s&&["ss",a]||d<=1&&["m"]||d<r.m&&["mm",d]||b<=1&&["h"]||b<r.h&&["hh",b]||O<=1&&["d"]||O<r.d&&["dd",O];return r.w!=null&&(pe=pe||B<=1&&["w"]||B<r.w&&["ww",B]),pe=pe||F<=1&&["M"]||F<r.M&&["MM",F]||me<=1&&["y"]||["yy",me],pe[2]=t,pe[3]=+e>0,pe[4]=n,Si.apply(null,pe)}function Mi(e){return e===void 0?ce:typeof e=="function"?(ce=e,!0):!1}function Oi(e,t){return Pe[e]===void 0?!1:t===void 0?Pe[e]:(Pe[e]=t,e==="s"&&(Pe.ss=t-1),!0)}function ki(e,t){if(!this.isValid())return this.localeData().invalidDate();var r=!1,n=Pe,s,a;return typeof e=="object"&&(t=e,e=!1),typeof e=="boolean"&&(r=e),typeof t=="object"&&(n=Object.assign({},Pe,t),t.s!=null&&t.ss==null&&(n.ss=t.s-1)),s=this.localeData(),a=bi(this,!r,n,s),r&&(a=s.pastFuture(+this,a)),s.postformat(a)}var It=Math.abs;function We(e){return(e>0)-(e<0)||+e}function ct(){if(!this.isValid())return this.localeData().invalidDate();var e=It(this._milliseconds)/1e3,t=It(this._days),r=It(this._months),n,s,a,d,b=this.asSeconds(),O,F,B,me;return b?(n=ee(e/60),s=ee(n/60),e%=60,n%=60,a=ee(r/12),r%=12,d=e?e.toFixed(3).replace(/\.?0+$/,""):"",O=b<0?"-":"",F=We(this._months)!==We(b)?"-":"",B=We(this._days)!==We(b)?"-":"",me=We(this._milliseconds)!==We(b)?"-":"",O+"P"+(a?F+a+"Y":"")+(r?F+r+"M":"")+(t?B+t+"D":"")+(s||n||e?"T":"")+(s?me+s+"H":"")+(n?me+n+"M":"")+(e?me+d+"S":"")):"P0D"}var T=it.prototype;T.isValid=ps,T.abs=Ja,T.add=qa,T.subtract=Xa,T.as=ei,T.asMilliseconds=ri,T.asSeconds=ni,T.asMinutes=si,T.asHours=ai,T.asDays=ii,T.asWeeks=oi,T.asMonths=ui,T.asQuarters=li,T.asYears=di,T.valueOf=ti,T._bubble=Ka,T.clone=fi,T.get=hi,T.milliseconds=ci,T.seconds=mi,T.minutes=yi,T.hours=_i,T.days=pi,T.weeks=wi,T.months=gi,T.years=vi,T.humanize=ki,T.toISOString=ct,T.toString=ct,T.toJSON=ct,T.locale=mr,T.localeData=_r,T.toIsoString=z("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",ct),T.lang=yr,S("X",0,0,"unix"),S("x",0,0,"valueOf"),w("x",Ke),w("X",$r),N("X",function(e,t,r){r._d=new Date(parseFloat(e)*1e3)}),N("x",function(e,t,r){r._d=new Date(k(e))});//! moment.js
162
- return m.version="2.29.2",l(I),m.fn=_,m.min=cs,m.max=ms,m.now=ys,m.utc=D,m.unix=Va,m.months=Ga,m.isDate=c,m.locale=ye,m.invalid=M,m.duration=re,m.isMoment=J,m.weekdays=Za,m.parseZone=za,m.localeData=de,m.isDuration=ot,m.monthsShort=$a,m.weekdaysMin=Qa,m.defineLocale=Ot,m.updateLocale=zn,m.locales=Gn,m.weekdaysShort=Ba,m.normalizeUnits=K,m.relativeTimeRounding=Mi,m.relativeTimeThreshold=Oi,m.calendarFormat=As,m.prototype=_,m.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},m})}}]);
@@ -1,80 +0,0 @@
1
- "use strict";(self.webpackChunk_strapi_admin=self.webpackChunk_strapi_admin||[]).push([[801],{72331:(H,C,n)=>{n.r(C),n.d(C,{default:()=>en});var e=n(32735),i=n(10938),N=n(84968),P=n(33795),X=n.n(P);const M=JSON.parse('{"i8":"4.2.0-beta.4"}');var $=n(41072),c=n(5141),G=n(4409),L=n(74506),K=n(51968),W=n(88311),U=n.n(W),O=n(52846),T=n(19615),F=n(60216),r=n.n(F),l=n(5636),v=n(64410),E=n(54742),g=n(19192),R=n(9808),J=n(90662),Ne=n(20763),oe=n(44526),Ge=n(94009),Ue=n.n(Ge);const Fe=(0,T.default)(g.Flex)`
2
- position: fixed;
3
- z-index: 4;
4
- inset: 0;
5
- /* this is theme.colors.neutral800 with opacity */
6
- background: ${({theme:t})=>`${t.colors.neutral800}1F`};
7
- `,se=({onClose:t,onSkip:a,children:o,hideSkip:s})=>{const{formatMessage:p}=(0,l.useIntl)();return e.createElement(v.Portal,null,e.createElement(Fe,{onClick:t,padding:8,justifyContent:"center"},e.createElement(E.FocusTrap,{onEscape:t},e.createElement(J.Stack,{background:"neutral0",width:(0,i.pxToRem)(660),shadow:"popupShadow",hasRadius:!0,padding:4,spacing:8,role:"dialog","aria-modal":!0,onClick:d=>d.stopPropagation()},e.createElement(g.Flex,{justifyContent:"flex-end"},e.createElement(Ne.IconButton,{onClick:t,"aria-label":p({id:"app.utils.close-label",defaultMessage:"Close"}),icon:e.createElement(Ue(),null)})),e.createElement(R.Box,{paddingLeft:7,paddingRight:7,paddingBottom:s?8:0},o),!s&&e.createElement(g.Flex,{justifyContent:"flex-end"},e.createElement(oe.Button,{variant:"tertiary",onClick:a},p({id:"app.components.GuidedTour.skip",defaultMessage:"Skip the tour"})))))))};se.propTypes={children:r().node.isRequired,onClose:r().func.isRequired,onSkip:r().func.isRequired,hideSkip:r().bool.isRequired};const We=se;var re=n(49415);const ie={stepContent:null,sectionIndex:null,stepIndex:null,hasSectionAfter:!1,hasStepAfter:!1},be=(t=ie,a)=>(0,re.default)(t,o=>{switch(a.type){case"UPDATE_MODAL":{o.stepContent=a.content,o.sectionIndex=a.newSectionIndex,o.stepIndex=a.newStepIndex,o.hasSectionAfter=a.newHasSectionAfter,o.hasStepAfter=a.newHasStepAfter;break}default:return o}});var S=n(95602),je=n(30345),le=n.n(je);const $e=T.default.li`
8
- list-style: disc;
9
- `,de=({id:t,defaultMessage:a})=>{const{formatMessage:o}=(0,l.useIntl)();return e.createElement(J.Stack,{spacing:4,paddingBottom:6},o({id:t,defaultMessage:a},{documentationLink:s=>e.createElement("a",{target:"_blank",rel:"noopener noreferrer",href:"https://docs.strapi.io/developer-docs/latest/developer-resources/database-apis-reference/rest-api.html#api-parameters"},s),b:s=>e.createElement(S.Typography,{fontWeight:"semiBold"},s),p:s=>e.createElement(S.Typography,null,s),light:s=>e.createElement(S.Typography,{textColor:"neutral600"},s),ul:s=>e.createElement(R.Box,{paddingLeft:6},e.createElement("ul",null,s)),li:s=>e.createElement($e,null,s)}))};de.propTypes={id:r().string.isRequired,defaultMessage:r().string.isRequired};const Ke=de;var w=n(59872),Ve=n(99378);const q=({number:t,last:a,type:o})=>e.createElement(R.Box,{paddingTop:3,paddingBottom:a?0:3},e.createElement(Ve.Z,{number:t,type:o}));q.defaultProps={number:void 0,last:!1,type:""},q.propTypes={number:r().number,last:r().bool,type:r().string};const ce=q;var b=n(56565),ze=Object.defineProperty,pe=Object.getOwnPropertySymbols,He=Object.prototype.hasOwnProperty,Ze=Object.prototype.propertyIsEnumerable,ue=(t,a,o)=>a in t?ze(t,a,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[a]=o,ke=(t,a)=>{for(var o in a||(a={}))He.call(a,o)&&ue(t,o,a[o]);if(pe)for(var o of pe(a))Ze.call(a,o)&&ue(t,o,a[o]);return t};const _=({title:t,content:a,cta:o,onCtaClick:s,sectionIndex:p,stepIndex:d,hasSectionAfter:f})=>{const{formatMessage:y}=(0,l.useIntl)(),h=p>0,m=d>0,D=p+1;return e.createElement(e.Fragment,null,e.createElement(g.Flex,{alignItems:"stretch"},e.createElement(g.Flex,{marginRight:8,justifyContent:"center",minWidth:(0,i.pxToRem)(30)},h&&e.createElement(w.Z,{type:b.hx,minHeight:(0,i.pxToRem)(24)})),e.createElement(S.Typography,{variant:"sigma",textColor:"primary600"},y({id:"app.components.GuidedTour.title",defaultMessage:"3 steps to get started"}))),e.createElement(g.Flex,null,e.createElement(g.Flex,{marginRight:8,minWidth:(0,i.pxToRem)(30)},e.createElement(ce,{number:p+1,type:m?b.hx:b.lW})),e.createElement(S.Typography,{variant:"alpha",fontWeight:"bold",textColor:"neutral800",as:"h3",id:"title"},y(t))),e.createElement(g.Flex,{alignItems:"stretch"},e.createElement(g.Flex,{marginRight:8,direction:"column",justifyContent:"center",minWidth:(0,i.pxToRem)(30)},f&&e.createElement(e.Fragment,null,e.createElement(w.Z,{type:b.hx}),m&&e.createElement(ce,{number:D+1,type:b.lW,last:!0}))),e.createElement(R.Box,null,e.createElement(Ke,ke({},a)),o&&(o.target?e.createElement(i.LinkButton,{endIcon:e.createElement(le(),null),onClick:s,to:o.target},y(o.title)):e.createElement(oe.Button,{endIcon:e.createElement(le(),null),onClick:s},y(o.title))))),m&&f&&e.createElement(R.Box,{paddingTop:3},e.createElement(g.Flex,{marginRight:8,justifyContent:"center",width:(0,i.pxToRem)(30)},e.createElement(w.Z,{type:b.hx,minHeight:(0,i.pxToRem)(24)}))))};_.defaultProps={currentStep:null,cta:void 0},_.propTypes={sectionIndex:r().number.isRequired,stepIndex:r().number.isRequired,hasSectionAfter:r().bool.isRequired,content:r().shape({id:r().string.isRequired,defaultMessage:r().string.isRequired}).isRequired,cta:r().shape({target:r().string,title:r().shape({id:r().string.isRequired,defaultMessage:r().string.isRequired})}),currentStep:r().string,onCtaClick:r().func.isRequired,title:r().shape({id:r().string.isRequired,defaultMessage:r().string.isRequired}).isRequired};const Qe=_;var Ye=Object.defineProperty,Xe=Object.defineProperties,Je=Object.getOwnPropertyDescriptors,me=Object.getOwnPropertySymbols,we=Object.prototype.hasOwnProperty,qe=Object.prototype.propertyIsEnumerable,ge=(t,a,o)=>a in t?Ye(t,a,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[a]=o,_e=(t,a)=>{for(var o in a||(a={}))we.call(a,o)&&ge(t,o,a[o]);if(me)for(var o of me(a))qe.call(a,o)&&ge(t,o,a[o]);return t},et=(t,a)=>Xe(t,Je(a));const tt=()=>{const{currentStep:t,guidedTourState:a,setCurrentStep:o,setStepState:s,isGuidedTourVisible:p,setSkipped:d}=(0,i.useGuidedTour)(),[f,y]=(0,e.useState)(t),[{stepContent:h,sectionIndex:m,stepIndex:D,hasSectionAfter:B,hasStepAfter:V},z]=(0,e.useReducer)(be,ie),{trackUsage:j}=(0,i.useTracking)();(0,e.useEffect)(()=>{if(!t){y(!1);return}const[x]=U()(a,t);y(!x&&p)},[t,a,p]),(0,e.useEffect)(()=>{if(t){const[x]=U()(O.Z,t),k=Object.keys(a),[Q,Be]=t.split("."),ae=k.indexOf(Q),Y=Object.keys(a[Q]).indexOf(Be),tn=ae<k.length-1,nn=Y<Object.keys(a[Q]).length-1;z({type:"UPDATE_MODAL",content:x,newSectionIndex:ae,newStepIndex:Y,newHasSectionAfter:tn,newHasStepAfter:nn})}},[t,a]);const u=()=>{s(t,!0),j(h.trackingEvent),o(null)},I=()=>{d(!0),o(null),j("didSkipGuidedtour")};return f&&h?e.createElement(We,{hideSkip:!V&&!B,onSkip:I,onClose:u},e.createElement(Qe,et(_e({},h),{onCtaClick:u,currentStep:t,sectionIndex:m,stepIndex:D,hasSectionAfter:B}))):null};var nt=n(27635),A=n(34499),at=n(82926),ot=n.n(at),st=n(70258),rt=n.n(st),it=n(44485);const lt=(0,T.default)(R.Box)`
10
- width: ${150/16}rem;
11
- position: absolute;
12
- bottom: ${({theme:t})=>t.spaces[9]};
13
- left: ${({theme:t})=>t.spaces[5]};
14
- `,fe=(0,T.default)(c.NavLink)`
15
- display: flex;
16
- justify-content: space-between;
17
- align-items: center;
18
- text-decoration: none;
19
- padding: ${({theme:t})=>`${t.spaces[2]} ${t.spaces[4]}`};
20
- border-radius: ${({theme:t})=>t.spaces[1]};
21
-
22
- &:hover {
23
- background: ${({theme:t,logout:a})=>a?t.colors.danger100:t.colors.primary100};
24
- text-decoration: none;
25
- }
26
-
27
- svg {
28
- path {
29
- fill: ${({theme:t})=>t.colors.danger600};
30
- }
31
- }
32
- `,he=({generalSectionLinks:t,pluginsSectionLinks:a})=>{const o=(0,e.useRef)(),[s,p]=(0,e.useState)(!1),{logos:{menu:d}}=(0,it.Z)(),[f,y]=(0,i.usePersistentState)("navbar-condensed",!1),{userDisplayName:h}=(0,i.useAppInfos)(),{formatMessage:m}=(0,l.useIntl)(),D=h.split(" ").map(u=>u.substring(0,1)).join("").substring(0,2),B=()=>p(u=>!u),V=()=>{i.auth.clearAppStorage(),B()},z=u=>{var I,x;!u.currentTarget.contains(u.relatedTarget)&&((x=(I=u.relatedTarget)==null?void 0:I.parentElement)==null?void 0:x.id)!=="main-nav-user-button"&&p(!1)},j=m({id:"app.components.LeftMenu.navbrand.title",defaultMessage:"Strapi Dashboard"});return e.createElement(A.MainNav,{condensed:f},e.createElement(A.NavBrand,{as:c.NavLink,workplace:m({id:"app.components.LeftMenu.navbrand.workplace",defaultMessage:"Workplace"}),title:j,icon:e.createElement("img",{src:d.custom||d.default,alt:m({id:"app.components.LeftMenu.logo.alt",defaultMessage:"Application logo"})})}),e.createElement(nt.Divider,null),e.createElement(A.NavSections,null,e.createElement(A.NavLink,{as:c.NavLink,to:"/content-manager",icon:e.createElement(ot(),null)},m({id:"global.content-manager",defaultMessage:"Content manager"})),a.length>0?e.createElement(A.NavSection,{label:"Plugins"},a.map(u=>{const I=u.icon;return e.createElement(A.NavLink,{as:c.NavLink,to:u.to,key:u.to,icon:e.createElement(I,null)},m(u.intlLabel))})):null,t.length>0?e.createElement(A.NavSection,{label:"General"},t.map(u=>{const I=u.icon;return e.createElement(A.NavLink,{as:c.NavLink,badgeContent:u.notificationsCount>0&&u.notificationsCount.toString()||void 0,to:u.to,key:u.to,icon:e.createElement(I,null)},m(u.intlLabel))})):null),e.createElement(A.NavUser,{id:"main-nav-user-button",ref:o,onClick:B,initials:D},h),s&&e.createElement(lt,{onBlur:z,padding:1,shadow:"tableShadow",background:"neutral0",hasRadius:!0},e.createElement(E.FocusTrap,{onEscape:B},e.createElement(J.Stack,{spacing:0},e.createElement(fe,{tabIndex:0,onClick:B,to:"/me"},e.createElement(S.Typography,null,m({id:"global.profile",defaultMessage:"Profile"}))),e.createElement(fe,{tabIndex:0,onClick:V,logout:"logout",to:"/auth/login"},e.createElement(S.Typography,{textColor:"danger600"},m({id:"app.components.LeftMenu.logout",defaultMessage:"Logout"})),e.createElement(rt(),null))))),e.createElement(A.NavCondense,{onClick:()=>y(u=>!u)},m(f?{id:"app.components.LeftMenu.expand",defaultMessage:"Expand the navbar"}:{id:"app.components.LeftMenu.collapse",defaultMessage:"Collapse the navbar"})))};he.propTypes={generalSectionLinks:r().array.isRequired,pluginsSectionLinks:r().array.isRequired};const dt=he;var ct=n(16540);const pt=(0,T.default)(R.Box)`
33
- flex: 1;
34
- `,Ee=({children:t,sideNav:a})=>{const{formatMessage:o}=(0,l.useIntl)();return e.createElement(R.Box,{background:"neutral100"},e.createElement(ct.SkipToContent,null,o({id:"skipToContent",defaultMessage:"Skip to content"})),e.createElement(g.Flex,{alignItems:"flex-start"},a,e.createElement(pt,null,t)))};Ee.propTypes={children:r().node.isRequired,sideNav:r().node.isRequired};const ut=Ee;var ye=n(13271),mt=n(83563),ee=n(16925),ve=n(28257);const gt=(0,T.default)(R.Box)`
35
- position: fixed;
36
- bottom: ${({theme:t})=>t.spaces[2]};
37
- right: ${({theme:t})=>t.spaces[2]};
38
- `,ft=T.default.button`
39
- width: ${({theme:t})=>t.spaces[8]};
40
- height: ${({theme:t})=>t.spaces[8]};
41
- background: ${({theme:t})=>t.colors.primary600};
42
- box-shadow: ${({theme:t})=>t.shadows.tableShadow};
43
- border-radius: 50%;
44
- svg {
45
- color: ${({theme:t})=>t.colors.buttonNeutral0};
46
- }
47
- `,ht=(0,T.default)(R.Box)`
48
- position: absolute;
49
- bottom: ${({theme:t})=>`${t.spaces[9]}`};
50
- right: 0;
51
- width: ${200/16}rem;
52
- `,Et=T.default.a`
53
- display: flex;
54
- align-items: center;
55
- text-decoration: none;
56
- padding: ${({theme:t})=>t.spaces[2]};
57
- padding-left: ${({theme:t})=>t.spaces[5]};
58
-
59
- svg {
60
- color: ${({theme:t})=>t.colors.neutral600};
61
- margin-right: ${({theme:t})=>t.spaces[2]};
62
- }
63
-
64
- &:hover {
65
- background: ${({theme:t})=>t.colors.neutral100};
66
- color: ${({theme:t})=>t.colors.neutral500};
67
-
68
- svg {
69
- color: ${({theme:t})=>t.colors.neutral700};
70
- }
71
-
72
- ${[S.Typography]} {
73
- color: ${({theme:t})=>t.colors.neutral700};
74
- }
75
- }
76
-
77
- ${[S.Typography]} {
78
- color: ${({theme:t})=>t.colors.neutral600};
79
- }
80
- `,yt=()=>{const[t,a]=(0,e.useState)(!1),{formatMessage:o}=(0,l.useIntl)(),{showTutorials:s}=(0,$.um)();if(!s)return null;const p=[{icon:"book",label:o({id:"global.documentation",defaultMessage:"Documentation"}),destination:"https://docs.strapi.io"},{icon:"file",label:o({id:"app.static.links.cheatsheet",defaultMessage:"CheatSheet"}),destination:"https://strapi-showcase.s3-us-west-2.amazonaws.com/CheatSheet.pdf"}],d=()=>{a(f=>!f)};return e.createElement(gt,{as:"aside"},e.createElement(ft,{id:"onboarding","aria-label":o({id:"app.components.Onboarding.help.button",defaultMessage:"Help button"}),onClick:d},!t&&e.createElement(ee.G,{icon:ve.faQuestion}),t&&e.createElement(ee.G,{icon:ve.faTimes})),t&&e.createElement(E.FocusTrap,{onEscape:d},e.createElement(ht,{background:"neutral0",hasRadius:!0,shadow:"tableShadow",paddingBottom:2,paddingTop:2},p.map(f=>e.createElement(Et,{key:f.label,rel:"nofollow noreferrer noopener",target:"_blank",href:f.destination},e.createElement(ee.G,{icon:f.icon}),e.createElement(S.Typography,null,f.label))))))},vt=(0,e.lazy)(()=>Promise.all([n.e(3214),n.e(3865),n.e(8469),n.e(9420),n.e(4982),n.e(948),n.e(9298),n.e(994)]).then(n.bind(n,7659))),Tt=(0,e.lazy)(()=>Promise.all([n.e(1541),n.e(4800),n.e(3981)]).then(n.bind(n,40279))),Pt=(0,e.lazy)(()=>Promise.all([n.e(3214),n.e(3677)]).then(n.bind(n,46789))),Ct=(0,e.lazy)(()=>Promise.all([n.e(8469),n.e(1541),n.e(5516)]).then(n.bind(n,51141))),Te=(0,e.lazy)(()=>Promise.resolve().then(n.bind(n,24578))),Mt=(0,e.lazy)(()=>n.e(4073).then(n.bind(n,34073))),Ot=(0,e.lazy)(()=>n.e(9497).then(n.bind(n,10902))),Pe=(0,e.lazy)(()=>Promise.all([n.e(3214),n.e(8469),n.e(9420),n.e(4982),n.e(1541),n.e(9988),n.e(5895)]).then(n.bind(n,77409))),Rt=()=>{const{trackUsage:t}=(0,i.useTracking)(),a=(0,G.I0)(),o=(0,G.v9)(s=>s.admin_app.status);(0,e.useEffect)(()=>{o==="init"&&(t("didAccessAuthenticatedAdministration"),a({type:mt.e}))},[o])},St=()=>{Rt();const{isLoading:t,generalSectionLinks:a,pluginsSectionLinks:o}=(0,$.H9)(),{menu:s}=(0,i.useStrapiApp)(),p=(0,e.useMemo)(()=>s.filter(d=>d.Component).map(({to:d,Component:f,exact:y})=>(0,ye.ot)(f,d,y)),[s]);return t?e.createElement(i.LoadingIndicatorPage,null):e.createElement(L.DndProvider,{backend:K.PD},e.createElement(ut,{sideNav:e.createElement(dt,{generalSectionLinks:a,pluginsSectionLinks:o})},e.createElement(e.Suspense,{fallback:e.createElement(i.LoadingIndicatorPage,null)},e.createElement(c.Switch,null,e.createElement(c.Route,{path:"/",component:Tt,exact:!0}),e.createElement(c.Route,{path:"/me",component:Ot,exact:!0}),e.createElement(c.Route,{path:"/content-manager",component:vt}),p,e.createElement(c.Route,{path:"/settings/:settingId",component:Pe}),e.createElement(c.Route,{path:"/settings",component:Pe,exact:!0}),e.createElement(c.Route,{path:"/marketplace"},e.createElement(Ct,null)),e.createElement(c.Route,{path:"/list-plugins",exact:!0},e.createElement(Pt,null)),e.createElement(c.Route,{path:"/404",component:Te}),e.createElement(c.Route,{path:"/500",component:Mt}),e.createElement(c.Route,{path:"",component:Te}))),e.createElement(tt,null),e.createElement(yt,null)))};var At=Object.defineProperty,Ce=Object.getOwnPropertySymbols,It=Object.prototype.hasOwnProperty,xt=Object.prototype.propertyIsEnumerable,Me=(t,a,o)=>a in t?At(t,a,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[a]=o,Lt=(t,a)=>{for(var o in a||(a={}))It.call(a,o)&&Me(t,o,a[o]);if(Ce)for(var o of Ce(a))xt.call(a,o)&&Me(t,o,a[o]);return t};const Dt=t=>({plugins:Object.keys(t).reduce((a,o)=>(a[o]=Lt({},t[o]),a),{})});var Bt=n(3040),Nt=n.n(Bt);const Oe={plugins:null},Gt=(t=Oe,a)=>(0,re.default)(t,o=>{switch(a.type){case"SET_PLUGIN_READY":{Nt()(o,["plugins",a.pluginId,"isReady"],!0);break}default:return o}}),Ut=()=>{const{plugins:t}=(0,i.useStrapiApp)(),[{plugins:a},o]=(0,e.useReducer)(Gt,Oe,()=>Dt(t)),s=(0,e.useRef)(d=>{o({type:"SET_PLUGIN_READY",pluginId:d})});if(Object.keys(a).some(d=>a[d].isReady===!1)){const d=Object.keys(a).reduce((f,y)=>{const h=a[y].initializer;if(h){const m=a[y].pluginId;f.push(e.createElement(h,{key:m,setPlugin:s.current}))}return f},[]);return e.createElement(e.Fragment,null,d,e.createElement(i.LoadingIndicatorPage,null))}return e.createElement(St,null)};var Re=n(59157);const Ft=()=>({type:Re.l}),Wt=t=>({type:Re.m,permissions:t}),Se=({children:t,permissions:a,refetchPermissions:o})=>{const{allPermissions:s}=(0,G.v9)(d=>d.rbacProvider),p=(0,G.I0)();return(0,e.useEffect)(()=>(p(Wt(a)),()=>{p(Ft())}),[a,p]),s?e.createElement(i.RBACProviderContext.Provider,{value:{allPermissions:s,refetchPermissions:o}},t):e.createElement(i.LoadingIndicatorPage,null)};Se.propTypes={children:r().element.isRequired,permissions:r().array.isRequired,refetchPermissions:r().func.isRequired};const bt=Se;var jt=n(43653),$t=n.n(jt),Kt=n(55593),te=n.n(Kt);const Ae=(t,a)=>!te().valid(t)||!te().valid(a)?!1:te().lt(t,a);var ne=n(16558),Z=(t,a,o)=>new Promise((s,p)=>{var d=h=>{try{y(o.next(h))}catch(m){p(m)}},f=h=>{try{y(o.throw(h))}catch(m){p(m)}},y=h=>h.done?s(h.value):Promise.resolve(h.value).then(d,f);y((o=o.apply(t,a)).next())});const Ie=M.i8,Vt=!JSON.parse(localStorage.getItem("STRAPI_UPDATE_NOTIF")),zt=t=>Z(void 0,null,function*(){try{const{data:{tag_name:a}}=yield $t().get("https://api.github.com/repos/strapi/strapi/releases/latest");return Ae(Ie,a)&&Vt&&t({type:"info",message:{id:"notification.version.update.message"},link:{url:`https://github.com/strapi/strapi/releases/tag/${a}`,label:{id:"global.see-more"}},blockTransition:!0,onClose:()=>localStorage.setItem("STRAPI_UPDATE_NOTIF",!0)}),a}catch(a){return Ie}}),Ht=()=>Z(void 0,null,function*(){try{const{data:t,headers:a}=yield ne.be.get("/admin/information");if(!a["content-type"].includes("application/json"))throw new Error("Not found");return t.data}catch(t){throw new Error(t)}}),Zt=()=>Z(void 0,null,function*(){try{const{data:t,headers:a}=yield ne.be.get("/admin/users/me/permissions");if(!a["content-type"].includes("application/json"))throw new Error("Not found");return t.data}catch(t){throw new Error(t)}}),kt=()=>Z(void 0,null,function*(){try{const{data:{data:{roles:t}}}=yield ne.be.get("/admin/users/me");return t}catch(t){throw new Error(t)}});var Qt=Object.defineProperty,Yt=Object.defineProperties,Xt=Object.getOwnPropertyDescriptors,xe=Object.getOwnPropertySymbols,Jt=Object.prototype.hasOwnProperty,wt=Object.prototype.propertyIsEnumerable,Le=(t,a,o)=>a in t?Qt(t,a,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[a]=o,qt=(t,a)=>{for(var o in a||(a={}))Jt.call(a,o)&&Le(t,o,a[o]);if(xe)for(var o of xe(a))wt.call(a,o)&&Le(t,o,a[o]);return t},_t=(t,a)=>Yt(t,Xt(a));const De=M.i8,en=()=>{const{setGuidedTourVisibility:t}=(0,i.useGuidedTour)(),a=(0,i.useNotification)(),o=(0,e.useRef)(t),s=i.auth.getUserInfo(),p=X()(s,"username")||(0,ye.Pp)(s.firstname,s.lastname),[d,f]=(0,e.useState)(p),{showReleaseNotification:y}=(0,$.um)(),[{data:h,status:m},{data:D,isLoading:B},{data:V,status:z,refetch:j,isFetched:u,isFetching:I},{data:x}]=(0,N.useQueries)([{queryKey:"app-infos",queryFn:Ht},{queryKey:"strapi-release",queryFn:()=>zt(a),enabled:y,initialData:De},{queryKey:"admin-users-permission",queryFn:Zt,initialData:[]},{queryKey:"user-roles",queryFn:kt}]),k=(0,e.useMemo)(()=>Ae(De,D),[D]);return(0,e.useEffect)(()=>{x&&x.find(({code:Y})=>Y==="strapi-super-admin")&&o.current(!0)},[x]),B||(I&&u||m==="loading"||z==="loading")?e.createElement(i.LoadingIndicatorPage,null):m==="error"?e.createElement("div",null,"error..."):e.createElement(i.AppInfosContext.Provider,{value:_t(qt({},h),{latestStrapiReleaseTag:D,setUserDisplayName:f,shouldUpdateStrapi:k,userDisplayName:d})},e.createElement(bt,{permissions:V,refetchPermissions:j},e.createElement(Ut,null)))}},59872:(H,C,n)=>{n.d(C,{Z:()=>r});var e=n(32735),i=n(60216),N=n.n(i),P=n(10938),X=n.n(P),M=n(9808),$=n.n(M),c=n(56565),G=Object.defineProperty,L=Object.getOwnPropertySymbols,K=Object.prototype.hasOwnProperty,W=Object.prototype.propertyIsEnumerable,U=(l,v,E)=>v in l?G(l,v,{enumerable:!0,configurable:!0,writable:!0,value:E}):l[v]=E,O=(l,v)=>{for(var E in v||(v={}))K.call(v,E)&&U(l,E,v[E]);if(L)for(var E of L(v))W.call(v,E)&&U(l,E,v[E]);return l},T=(l,v)=>{var E={};for(var g in l)K.call(l,g)&&v.indexOf(g)<0&&(E[g]=l[g]);if(l!=null&&L)for(var g of L(l))v.indexOf(g)<0&&W.call(l,g)&&(E[g]=l[g]);return E};const F=l=>{var v=l,{type:E}=v,g=T(v,["type"]);return e.createElement(M.Box,O({width:(0,P.pxToRem)(2),height:"100%",background:E===c.VM?"neutral300":"primary500",hasRadius:!0},g))};F.defaultProps={type:c.VM},F.propTypes={type:N().oneOf([c.lW,c.hx,c.VM])};const r=F},99378:(H,C,n)=>{n.d(C,{Z:()=>F});var e=n(32735),i=n(60216),N=n.n(i),P=n(10938),X=n.n(P),M=n(19192),$=n.n(M),c=n(95602),G=n.n(c),L=n(78752),K=n.n(L),W=n(88677),U=n.n(W),O=n(56565);const T=({type:r,number:l})=>r===O.hx?e.createElement(M.Flex,{background:"primary600",padding:2,borderRadius:"50%",width:(0,P.pxToRem)(30),height:(0,P.pxToRem)(30),justifyContent:"center"},e.createElement(L.Icon,{as:U(),"aria-hidden":!0,width:(0,P.pxToRem)(16),color:"neutral0"})):r===O.lW?e.createElement(M.Flex,{background:"primary600",padding:2,borderRadius:"50%",width:(0,P.pxToRem)(30),height:(0,P.pxToRem)(30),justifyContent:"center"},e.createElement(c.Typography,{fontWeight:"semiBold",textColor:"neutral0"},l)):e.createElement(M.Flex,{borderColor:"neutral500",borderWidth:"1px",borderStyle:"solid",padding:2,borderRadius:"50%",width:(0,P.pxToRem)(30),height:(0,P.pxToRem)(30),justifyContent:"center"},e.createElement(c.Typography,{fontWeight:"semiBold",textColor:"neutral600"},l));T.defaultProps={number:void 0,type:O.VM},T.propTypes={number:N().number,type:N().oneOf([O.lW,O.hx,O.VM])};const F=T},56565:(H,C,n)=>{n.d(C,{lW:()=>e,hx:()=>i,VM:()=>N});const e="isActive",i="isDone",N="isNotDone"},52846:(H,C,n)=>{n.d(C,{Z:()=>i});const i={contentTypeBuilder:{home:{title:{id:"app.components.GuidedTour.home.CTB.title",defaultMessage:"\u{1F9E0} Build the content structure"},cta:{title:{id:"app.components.GuidedTour.home.CTB.cta.title",defaultMessage:"Go to the Content type Builder"},type:"REDIRECT",target:"/plugins/content-type-builder"},trackingEvent:"didClickGuidedTourHomepageContentTypeBuilder"},create:{title:{id:"app.components.GuidedTour.CTB.create.title",defaultMessage:"\u{1F9E0} Create a first Collection type"},content:{id:"app.components.GuidedTour.CTB.create.content",defaultMessage:"<p>Collection types help you manage several entries, Single types are suitable to manage only one entry.</p> <p>Ex: For a Blog website, Articles would be a Collection type whereas a Homepage would be a Single type.</p>"},cta:{title:{id:"app.components.GuidedTour.CTB.create.cta.title",defaultMessage:"Build a Collection type"},type:"CLOSE"},trackingEvent:"didClickGuidedTourStep1CollectionType"},success:{title:{id:"app.components.GuidedTour.CTB.success.title",defaultMessage:"Step 1: Completed \u2705"},content:{id:"app.components.GuidedTour.CTB.success.content",defaultMessage:"<p>Good going!</p><b>\u26A1\uFE0F What would you like to share with the world?</b>"},cta:{title:{id:"app.components.GuidedTour.create-content",defaultMessage:"Create content"},type:"REDIRECT",target:"/content-manager"},trackingEvent:"didCreateGuidedTourCollectionType"}},contentManager:{home:{title:{id:"app.components.GuidedTour.home.CM.title",defaultMessage:"\u26A1\uFE0F What would you like to share with the world?"},cta:{title:{id:"app.components.GuidedTour.create-content",defaultMessage:"Create content"},type:"REDIRECT",target:"/content-manager"},trackingEvent:"didClickGuidedTourHomepageContentManager"},create:{title:{id:"app.components.GuidedTour.CM.create.title",defaultMessage:"\u26A1\uFE0F Create content"},content:{id:"app.components.GuidedTour.CM.create.content",defaultMessage:"<p>Create and manage all the content here in the Content Manager.</p><p>Ex: Taking the Blog website example further, one can write an Article, save and publish it as they like.</p><p>\u{1F4A1} Quick tip - Don't forget to hit publish on the content you create.</p>"},cta:{title:{id:"app.components.GuidedTour.create-content",defaultMessage:"Create content"},type:"CLOSE"},trackingEvent:"didClickGuidedTourStep2ContentManager"},success:{title:{id:"app.components.GuidedTour.CM.success.title",defaultMessage:"Step 2: Completed \u2705"},content:{id:"app.components.GuidedTour.CM.success.content",defaultMessage:"<p>Awesome, one last step to go!</p><b>\u{1F680} See content in action</b>"},cta:{title:{id:"app.components.GuidedTour.CM.success.cta.title",defaultMessage:"Test the API"},type:"REDIRECT",target:"/settings/api-tokens"},trackingEvent:"didCreateGuidedTourEntry"}},apiTokens:{home:{title:{id:"app.components.GuidedTour.apiTokens.create.title",defaultMessage:"\u{1F680} See content in action"},cta:{title:{id:"app.components.GuidedTour.home.apiTokens.cta.title",defaultMessage:"Test the API"},type:"REDIRECT",target:"/settings/api-tokens"},trackingEvent:"didClickGuidedTourHomepageApiTokens"},create:{title:{id:"app.components.GuidedTour.apiTokens.create.title",defaultMessage:"\u{1F680} See content in action"},content:{id:"app.components.GuidedTour.apiTokens.create.content",defaultMessage:"<p>Generate an authentication token here and retrieve the content you just created.</p>"},cta:{title:{id:"app.components.GuidedTour.apiTokens.create.cta.title",defaultMessage:"Generate an API Token"},type:"CLOSE"},trackingEvent:"didClickGuidedTourStep3ApiTokens"},success:{title:{id:"app.components.GuidedTour.apiTokens.success.title",defaultMessage:"Step 3: Completed \u2705"},content:{id:"app.components.GuidedTour.apiTokens.success.content",defaultMessage:"<p>See content in action by making an HTTP request:</p><ul><li><p>To this URL: <light>https://'<'YOUR_DOMAIN'>'/api/'<'YOUR_CT'>'</light></p></li><li><p>With the header: <light>Authorization: bearer '<'YOUR_API_TOKEN'>'</light></p></li></ul><p>For more ways to interact with content, see the <documentationLink>documentation</documentationLink>.</p>"},trackingEvent:"didGenerateGuidedTourApiTokens"}}}}}]);
@@ -1,11 +0,0 @@
1
- (self.webpackChunk_strapi_admin=self.webpackChunk_strapi_admin||[]).push([[5516],{28992:function(x,b,a){(function(e,p){x.exports=p(a(32735))})(this,function(e){return function(p){var g={};function l(t){if(g[t])return g[t].exports;var n=g[t]={i:t,l:!1,exports:{}};return p[t].call(n.exports,n,n.exports,l),n.l=!0,n.exports}return l.m=p,l.c=g,l.d=function(t,n,c){l.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:c})},l.r=function(t){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},l.t=function(t,n){if(1&n&&(t=l(t)),8&n||4&n&&typeof t=="object"&&t&&t.__esModule)return t;var c=Object.create(null);if(l.r(c),Object.defineProperty(c,"default",{enumerable:!0,value:t}),2&n&&typeof t!="string")for(var u in t)l.d(c,u,function(f){return t[f]}.bind(null,u));return c},l.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return l.d(n,"a",n),n},l.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},l.p="",l(l.s=86)}({0:function(p,g){p.exports=e},86:function(p,g,l){"use strict";l.r(g);var t=l(0);function n(){return(n=Object.assign||function(c){for(var u=1;u<arguments.length;u++){var f=arguments[u];for(var h in f)Object.prototype.hasOwnProperty.call(f,h)&&(c[h]=f[h])}return c}).apply(this,arguments)}g.default=function(c){return t.createElement("svg",n({width:"1em",height:"1em",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},c),t.createElement("path",{d:"M0 4a4 4 0 014-4h24a4 4 0 014 4v24a4 4 0 01-4 4H4a4 4 0 01-4-4V4z",fill:"#AC73E6"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.027 13.839c-3.19-.836-6.305-1.064-10.18-.608-1.215.152-1.063 1.975.076 2.203.304.836.456 2.355.912 3.267.987 2.279 5.622 1.975 7.369.835 1.14-.683 1.443-2.279 1.9-3.494.227-.684 1.595-.684 1.822 0 .38 1.215.76 2.81 1.9 3.494 1.747 1.14 6.381 1.444 7.369-.835.456-.912.607-2.431.911-3.267 1.14-.228 1.216-2.051.076-2.203-3.874-.456-6.989-.228-10.18.608-.455.075-1.519.075-1.975 0z",fill:"#fff"}))}}})})},75152:function(x,b,a){(function(e,p){x.exports=p(a(32735))})(this,function(e){return function(p){var g={};function l(t){if(g[t])return g[t].exports;var n=g[t]={i:t,l:!1,exports:{}};return p[t].call(n.exports,n,n.exports,l),n.l=!0,n.exports}return l.m=p,l.c=g,l.d=function(t,n,c){l.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:c})},l.r=function(t){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},l.t=function(t,n){if(1&n&&(t=l(t)),8&n||4&n&&typeof t=="object"&&t&&t.__esModule)return t;var c=Object.create(null);if(l.r(c),Object.defineProperty(c,"default",{enumerable:!0,value:t}),2&n&&typeof t!="string")for(var u in t)l.d(c,u,function(f){return t[f]}.bind(null,u));return c},l.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return l.d(n,"a",n),n},l.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},l.p="",l(l.s=187)}({0:function(p,g){p.exports=e},187:function(p,g,l){"use strict";l.r(g);var t=l(0);function n(){return(n=Object.assign||function(c){for(var u=1;u<arguments.length;u++){var f=arguments[u];for(var h in f)Object.prototype.hasOwnProperty.call(f,h)&&(c[h]=f[h])}return c}).apply(this,arguments)}g.default=function(c){return t.createElement("svg",n({width:"1em",height:"1em",viewBox:"0 0 24 25",fill:"none",xmlns:"http://www.w3.org/2000/svg"},c),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.571 18.272H10.43v-8.47H2.487a.2.2 0 01-.14-.343L11.858.058a.2.2 0 01.282 0l9.513 9.4a.2.2 0 01-.14.343H13.57v8.47zM2.2 21.095a.2.2 0 00-.2.2v2.424c0 .11.09.2.2.2h19.6a.2.2 0 00.2-.2v-2.424a.2.2 0 00-.2-.2H2.2z",fill:"#212134"}))}}})})},60799:(x,b,a)=>{"use strict";a.d(b,{Z:()=>c});var e=a(84968),p=a(10938),g=a(16558),l=(u,f,h)=>new Promise((v,C)=>{var k=s=>{try{I(h.next(s))}catch(O){C(O)}},S=s=>{try{I(h.throw(s))}catch(O){C(O)}},I=s=>s.done?v(s.value):Promise.resolve(s.value).then(k,S);I((h=h.apply(u,f)).next())});const t=()=>l(void 0,null,function*(){const{data:u}=yield g.be.get("/admin/plugins");return u}),c=u=>{const f=(0,p.useNotification)();return(0,e.useQuery)("list-installed-plugins",()=>t(),{onSuccess:()=>{u&&u()},onError:()=>{f({type:"warning",message:{id:"notification.error",defaultMessage:"An error occured"}})}})}},51141:(x,b,a)=>{"use strict";a.r(b),a.d(b,{MarketPlacePage:()=>$,default:()=>Fe});var e=a(32735),p=a(5636),g=a(99357),l=a(84968),t=a(58469),n=a(10938),c=a(78330),u=a(11856),f=a(16540),h=a(89978),v=a(9808),C=a(29270),k=a(95602),S=a(19192),I=a(60216),s=a.n(I),O=a(19615),Y=a(90662),j=a(61541),B=a(78752),N=a(44826),V=a(82372),w=a.n(V),K=a(14356),J=a.n(K),X=a(77016),q=a(59087),_=a(88677),ee=a.n(_),te=a(68192),ne=a.n(te),ae=a(44526);const A=({isInstalled:r,isInDevelopmentMode:o,commandToCopy:i})=>{const E=(0,n.useNotification)(),{formatMessage:d}=(0,p.useIntl)(),{trackUsage:y}=(0,n.useTracking)();return r?e.createElement(v.Box,{paddingLeft:4},e.createElement(B.Icon,{as:ee(),marginRight:2,width:12,height:12,color:"success600"}),e.createElement(k.Typography,{variant:"omega",textColor:"success600",fontWeight:"bold"},d({id:"admin.pages.MarketPlacePage.plugin.installed",defaultMessage:"Installed"}))):o?e.createElement(q.CopyToClipboard,{onCopy:()=>{y("willInstallPlugin"),E({type:"success",message:{id:"admin.pages.MarketPlacePage.plugin.copy.success"}})},text:i},e.createElement(ae.Button,{size:"S",startIcon:e.createElement(ne(),null),variant:"secondary"},d({id:"admin.pages.MarketPlacePage.plugin.copy",defaultMessage:"Copy install command"}))):null};A.propTypes={isInstalled:s().bool.isRequired,isInDevelopmentMode:s().bool.isRequired,commandToCopy:s().string.isRequired};const re=A,le=(0,O.default)(k.Typography)`
2
- /* stylelint-disable value-no-vendor-prefix, property-no-vendor-prefix */
3
- display: -webkit-box;
4
- -webkit-box-orient: vertical;
5
- -webkit-line-clamp: 2;
6
- /* stylelint-enable value-no-vendor-prefix, property-no-vendor-prefix */
7
- overflow: hidden;
8
- `,L=({plugin:r,installedPluginNames:o,useYarn:i,isInDevelopmentMode:E})=>{const{attributes:d}=r,{formatMessage:y}=(0,p.useIntl)(),{trackUsage:T}=(0,n.useTracking)(),P=o.includes(d.npmPackageName),m=i?`yarn add ${d.npmPackageName}`:`npm install ${d.npmPackageName}`,M=y({id:"admin.pages.MarketPlacePage.plugin.tooltip.madeByStrapi",defaultMessage:"Made by Strapi"});return e.createElement(S.Flex,{direction:"column",justifyContent:"space-between",paddingTop:4,paddingRight:4,paddingBottom:4,paddingLeft:4,hasRadius:!0,background:"neutral0",shadow:"tableShadow",height:"100%",alignItems:"normal"},e.createElement(v.Box,null,e.createElement(v.Box,{as:"img",src:d.logo.url,alt:`${d.name} logo`,hasRadius:!0,width:11,height:11}),e.createElement(v.Box,{paddingTop:4},e.createElement(k.Typography,{as:"h3",variant:"delta"},e.createElement(S.Flex,{alignItems:"center"},d.name,d.validated&&!d.madeByStrapi&&e.createElement(N.Tooltip,{description:y({id:"admin.pages.MarketPlacePage.plugin.tooltip.verified",defaultMessage:"Plugin verified by Strapi"})},e.createElement(S.Flex,null,e.createElement(B.Icon,{as:J(),marginLeft:2,color:"success600"}))),d.madeByStrapi&&e.createElement(N.Tooltip,{description:M},e.createElement(S.Flex,null,e.createElement(v.Box,{as:"img",src:X,alt:M,marginLeft:1,width:6,height:"auto"})))))),e.createElement(v.Box,{paddingTop:2},e.createElement(le,{as:"p",variant:"omega",textColor:"neutral600"},d.description))),e.createElement(Y.Stack,{horizontal:!0,spacing:2,style:{alignSelf:"flex-end"},paddingTop:6},e.createElement(j.LinkButton,{size:"S",href:`https://market.strapi.io/plugins/${d.slug}`,isExternal:!0,endIcon:e.createElement(w(),null),"aria-label":y({id:"admin.pages.MarketPlacePage.plugin.info.label",defaultMessage:"Learn more about {pluginName}"},{pluginName:d.name}),variant:"tertiary",onClick:()=>T("didPluginLearnMore")},y({id:"admin.pages.MarketPlacePage.plugin.info.text",defaultMessage:"Learn more"})),e.createElement(re,{isInstalled:P,isInDevelopmentMode:E,commandToCopy:m})))};L.defaultProps={isInDevelopmentMode:!1},L.propTypes={plugin:s().shape({id:s().string.isRequired,attributes:s().shape({name:s().string.isRequired,description:s().string.isRequired,slug:s().string.isRequired,npmPackageName:s().string.isRequired,npmPackageUrl:s().string.isRequired,repositoryUrl:s().string.isRequired,logo:s().object.isRequired,developerName:s().string.isRequired,validated:s().bool.isRequired,madeByStrapi:s().bool.isRequired,strapiCompatibility:s().oneOf(["v3","v4"]).isRequired}).isRequired}).isRequired,installedPluginNames:s().arrayOf(s().string).isRequired,useYarn:s().bool.isRequired,isInDevelopmentMode:s().bool};const oe=L;var ie=a(97042),se=a.n(ie);const ue=(0,O.default)(v.Box)`
9
- background: ${({theme:r})=>`linear-gradient(180deg, rgba(234, 234, 239, 0) 0%, ${r.colors.neutral150} 100%)`};
10
- opacity: 0.33;
11
- `,ce=()=>e.createElement(u.GridLayout,null,Array(12).fill(null).map((r,o)=>e.createElement(ue,{key:`empty-plugin-card-${o}`,height:"234px",hasRadius:!0}))),F=({content:r})=>e.createElement(v.Box,{position:"relative"},e.createElement(ce,null),e.createElement(v.Box,{position:"absolute",top:11,width:"100%"},e.createElement(S.Flex,{alignItems:"center",justifyContent:"center",direction:"column"},e.createElement(B.Icon,{as:se(),color:"",width:"160px",height:"88px"}),e.createElement(v.Box,{paddingTop:6},e.createElement(k.Typography,{variant:"delta",as:"p",textColor:"neutral600"},r)))));F.propTypes={content:s().string.isRequired};var de=a(75152),pe=a.n(de);const D=({isOnline:r})=>{const{formatMessage:o}=(0,p.useIntl)(),{trackUsage:i}=(0,n.useTracking)();return e.createElement(u.HeaderLayout,{title:o({id:"global.marketplace",defaultMessage:"Marketplace"}),subtitle:o({id:"admin.pages.MarketPlacePage.subtitle",defaultMessage:"Get more out of Strapi"}),primaryAction:r&&e.createElement(j.LinkButton,{startIcon:e.createElement(pe(),null),variant:"tertiary",href:"https://market.strapi.io/submit-plugin",onClick:()=>i("didSubmitPlugin"),isExternal:!0},o({id:"admin.pages.MarketPlacePage.submit.plugin.link",defaultMessage:"Submit your plugin"}))})},H=D;D.propTypes={isOnline:s().bool.isRequired};var ge=a(16558),me=(r,o,i)=>new Promise((E,d)=>{var y=m=>{try{P(i.next(m))}catch(M){d(M)}},T=m=>{try{P(i.throw(m))}catch(M){d(M)}},P=m=>m.done?E(m.value):Promise.resolve(m.value).then(y,T);P((i=i.apply(r,o)).next())});const fe=()=>me(void 0,null,function*(){const{data:r}=yield ge.be.get("/admin/information");return r});var ve=a(60799),ye=a(43653),he=a.n(ye),Pe=Object.defineProperty,Ee=Object.defineProperties,Me=Object.getOwnPropertyDescriptors,U=Object.getOwnPropertySymbols,xe=Object.prototype.hasOwnProperty,be=Object.prototype.propertyIsEnumerable,G=(r,o,i)=>o in r?Pe(r,o,{enumerable:!0,configurable:!0,writable:!0,value:i}):r[o]=i,ke=(r,o)=>{for(var i in o||(o={}))xe.call(o,i)&&G(r,i,o[i]);if(U)for(var i of U(o))be.call(o,i)&&G(r,i,o[i]);return r},Se=(r,o)=>Ee(r,Me(o)),Te=(r,o,i)=>new Promise((E,d)=>{var y=m=>{try{P(i.next(m))}catch(M){d(M)}},T=m=>{try{P(i.throw(m))}catch(M){d(M)}},P=m=>m.done?E(m.value):Promise.resolve(m.value).then(y,T);P((i=i.apply(r,o)).next())});const Oe="https://market-api.strapi.io",Re=()=>Te(void 0,null,function*(){const{data:r}=yield he().get(`${Oe}/plugins`);return Se(ke({},r),{data:r.data.filter(i=>i.attributes.strapiCompatibility==="v4")})}),Ie=r=>{const o=(0,n.useNotification)();return(0,l.useQuery)("list-marketplace-plugins",()=>Re(),{onSuccess:()=>{r&&r()},onError:()=>{o({type:"warning",message:{id:"notification.error",defaultMessage:"An error occured"}})}})};var Ce=a(2805),Be=a(72661);const Le=()=>{const r=typeof navigator!="undefined"&&typeof navigator.onLine=="boolean"?navigator.onLine:!0,[o,i]=(0,e.useState)(r),E=()=>i(!0),d=()=>i(!1);return(0,e.useEffect)(()=>(window.addEventListener("online",E),window.addEventListener("offline",d),()=>{window.removeEventListener("online",E),window.removeEventListener("offline",d)}),[]),o};var je=a(28992),Ne=a.n(je);const we=()=>{const{formatMessage:r}=(0,p.useIntl)(),{trackUsage:o}=(0,n.useTracking)();return e.createElement("a",{href:"https://strapi.canny.io/plugin-requests",target:"_blank",rel:"noopener noreferrer nofollow",style:{textDecoration:"none"},onClick:()=>o("didMissMarketplacePlugin")},e.createElement(n.ContentBox,{title:r({id:"admin.pages.MarketPlacePage.missingPlugin.title",defaultMessage:"Documentation"}),subtitle:r({id:"admin.pages.MarketPlacePage.missingPlugin.description",defaultMessage:"Tell us what plugin you are looking for and we'll let our community plugin developers know in case they are in search for inspiration!"}),icon:e.createElement(Ne(),null),iconBackground:"alternative100",endAction:e.createElement(B.Icon,{as:w(),color:"neutral600",width:3,height:3,marginLeft:2})}))},Ae=(r,o)=>(0,t.ZP)(r,o,{keys:[{threshold:t.ZP.rankings.WORD_STARTS_WITH,key:"attributes.name"},{threshold:t.ZP.rankings.WORD_STARTS_WITH,key:"attributes.description"}]}),$=()=>{const{formatMessage:r}=(0,p.useIntl)(),{trackUsage:o}=(0,n.useTracking)(),{notifyStatus:i}=(0,C.useNotifyAT)(),E=(0,e.useRef)(o),d=(0,n.useNotification)(),[y,T]=(0,e.useState)(""),{autoReload:P}=(0,n.useAppInfos)(),m=Le();(0,n.useFocusWhenNavigate)();const M=r({id:"global.marketplace",defaultMessage:"Marketplace"}),De=()=>{i(r({id:"app.utils.notify.data-loaded",defaultMessage:"The {target} has loaded"},{target:M}))},{status:z,data:He}=Ie(De),{status:W,data:Ue}=(0,ve.Z)(),{data:Ge,status:Z}=(0,l.useQuery)("app-information",fe,{onError:()=>{d({type:"warning",message:{id:"notification.error",defaultMessage:"An error occured"}})}}),$e=[z,W,Z].includes("loading"),ze=[z,W,Z].includes("error");if((0,e.useEffect)(()=>{E.current("didGoToMarketplace")},[]),(0,e.useEffect)(()=>{P||d({type:"info",message:{id:"admin.pages.MarketPlacePage.production",defaultMessage:"Manage plugins from the development environment"},blockTransition:!0})},[d,P]),!m)return e.createElement(u.Layout,null,e.createElement(f.Main,null,e.createElement(H,{isOnline:m}),e.createElement(S.Flex,{width:"100%",direction:"column",alignItems:"center",justifyContent:"center",style:{paddingTop:"120px"}},e.createElement(v.Box,{paddingBottom:2},e.createElement(k.Typography,{textColor:"neutral700",variant:"alpha"},r({id:"admin.pages.MarketPlacePage.offline.title",defaultMessage:"You are offline"}))),e.createElement(v.Box,{paddingBottom:6},e.createElement(k.Typography,{textColor:"neutral700",variant:"epsilon"},r({id:"admin.pages.MarketPlacePage.offline.subtitle",defaultMessage:"You need to be connected to the Internet to access Strapi Market."}))),e.createElement("img",{src:Be,alt:"offline",style:{width:"88px",height:"88px"}}))));if(ze)return e.createElement(u.Layout,null,e.createElement(u.ContentLayout,null,e.createElement(v.Box,{paddingTop:8},e.createElement(n.AnErrorOccurred,null))));if($e)return e.createElement(u.Layout,null,e.createElement(f.Main,{"aria-busy":!0},e.createElement(n.LoadingIndicatorPage,null)));const Q=Ae(He.data,y),We=Ue.plugins.map(R=>R.packageName);return e.createElement(u.Layout,null,e.createElement(f.Main,null,e.createElement(g.Helmet,{title:r({id:"admin.pages.MarketPlacePage.helmet",defaultMessage:"Marketplace - Plugins"})}),e.createElement(H,{isOnline:m}),e.createElement(u.ContentLayout,null,e.createElement(v.Box,{width:"25%",paddingBottom:4},e.createElement(h.Searchbar,{name:"searchbar",onClear:()=>T(""),value:y,onChange:R=>T(R.target.value),clearLabel:r({id:"admin.pages.MarketPlacePage.search.clear",defaultMessage:"Clear the plugin search"}),placeholder:r({id:"admin.pages.MarketPlacePage.search.placeholder",defaultMessage:"Search for a plugin"})},r({id:"admin.pages.MarketPlacePage.search.placeholder",defaultMessage:"Search for a plugin"}))),y.length>0&&!Q.length?e.createElement(F,{content:r({id:"admin.pages.MarketPlacePage.search.empty",defaultMessage:'No result for "{target}"'},{target:y})}):e.createElement(c.Grid,{gap:4},Q.map(R=>e.createElement(c.GridItem,{col:4,s:6,xs:12,style:{height:"100%"},key:R.id},e.createElement(oe,{plugin:R,installedPluginNames:We,useYarn:Ge.data.useYarn,isInDevelopmentMode:P})))),e.createElement(v.Box,{paddingTop:7},e.createElement(we,null)))))},Fe=()=>e.createElement(n.CheckPagePermissions,{permissions:Ce.Z.marketplace.main},e.createElement($,null))},77016:(x,b,a)=>{"use strict";x.exports=a.p+"90f49a385afb000fb1d4.svg"},72661:(x,b,a)=>{"use strict";x.exports=a.p+"a6b842e0b6d2b61135d1.svg"}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunk_strapi_admin=self.webpackChunk_strapi_admin||[]).push([[3677],{60799:(I,d,t)=>{t.d(d,{Z:()=>i});var e=t(84968),u=t(10938),c=t(16558),g=(a,s,n)=>new Promise((h,y)=>{var f=l=>{try{r(n.next(l))}catch(o){y(o)}},p=l=>{try{r(n.throw(l))}catch(o){y(o)}},r=l=>l.done?h(l.value):Promise.resolve(l.value).then(f,p);r((n=n.apply(a,s)).next())});const m=()=>g(void 0,null,function*(){const{data:a}=yield c.be.get("/admin/plugins");return a}),i=a=>{const s=(0,u.useNotification)();return(0,e.useQuery)("list-installed-plugins",()=>m(),{onSuccess:()=>{a&&a()},onError:()=>{s({type:"warning",message:{id:"notification.error",defaultMessage:"An error occured"}})}})}},46789:(I,d,t)=>{t.r(d),t.d(d,{default:()=>r});var e=t(32735),u=t(10938),c=t(99357),g=t(5636),m=t(2805),P=t(29270),i=t(11856),a=t(16540),s=t(95602),n=t(53214),h=t(60799);const f=()=>{const{formatMessage:l}=(0,g.useIntl)(),{notifyStatus:o}=(0,P.useNotifyAT)();(0,u.useFocusWhenNavigate)();const E=l({id:"global.plugins",defaultMessage:"Plugins"}),M=()=>{o(l({id:"app.utils.notify.data-loaded",defaultMessage:"The {target} has loaded"},{target:E}))},{status:T,data:v}=(0,h.Z)(M);return T!=="success"&&T!=="error"?e.createElement(i.Layout,null,e.createElement(a.Main,{"aria-busy":!0},e.createElement(u.LoadingIndicatorPage,null))):e.createElement(i.Layout,null,e.createElement(a.Main,null,e.createElement(i.HeaderLayout,{title:E,subtitle:l({id:"app.components.ListPluginsPage.description",defaultMessage:"List of the installed plugins in the project."})}),e.createElement(i.ContentLayout,null,e.createElement(n.Table,{colCount:2,rowCount:(v==null?void 0:v.plugins.length)+1},e.createElement(n.Thead,null,e.createElement(n.Tr,null,e.createElement(n.Th,null,e.createElement(s.Typography,{variant:"sigma",textColor:"neutral600"},l({id:"global.name",defaultMessage:"Name"}))),e.createElement(n.Th,null,e.createElement(s.Typography,{variant:"sigma",textColor:"neutral600"},l({id:"global.description",defaultMessage:"description"}))))),e.createElement(n.Tbody,null,v.plugins.map(({name:L,displayName:C,description:F})=>e.createElement(n.Tr,{key:L},e.createElement(n.Td,null,e.createElement(s.Typography,{textColor:"neutral800",variant:"omega",fontWeight:"bold"},C)),e.createElement(n.Td,null,e.createElement(s.Typography,{textColor:"neutral800"},F)))))))))},r=()=>{const{formatMessage:l}=(0,g.useIntl)(),o=l({id:"global.plugins",defaultMessage:"Plugins"});return e.createElement(u.CheckPagePermissions,{permissions:m.Z.marketplace.main},e.createElement(c.Helmet,{title:o}),e.createElement(f,null))}}}]);