@strapi/admin 4.12.0 → 4.12.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/admin/src/components/LeftMenu/index.js +1 -1
- package/admin/src/components/PluginsInitializer/index.js +23 -0
- package/admin/src/content-manager/components/CollectionTypeFormWrapper/index.js +9 -14
- package/admin/src/content-manager/components/EditViewDataManagerProvider/utils/cleanData.js +1 -1
- package/admin/src/content-manager/components/InputUID/index.js +2 -3
- package/admin/src/content-manager/components/RelationInput/RelationInput.js +1 -1
- package/admin/src/content-manager/components/RelationInputDataManager/utils/getRelationLink.js +1 -3
- package/admin/src/content-manager/components/RelationInputDataManager/utils/select.js +4 -6
- package/admin/src/content-manager/components/SingleTypeFormWrapper/index.js +7 -9
- package/admin/src/content-manager/pages/App/utils/getContentTypeLinks.js +1 -3
- package/admin/src/content-manager/pages/EditSettingsView/index.js +31 -18
- package/admin/src/content-manager/pages/ListSettingsView/components/EditFieldForm.js +1 -3
- package/admin/src/content-manager/pages/ListSettingsView/components/Settings.js +1 -3
- package/admin/src/content-manager/pages/ListSettingsView/components/SortDisplayedFields.js +14 -32
- package/admin/src/content-manager/pages/ListSettingsView/index.js +50 -40
- package/admin/src/content-manager/pages/ListView/components/BulkActionButtons/SelectedEntriesModal/index.js +7 -2
- package/admin/src/content-manager/pages/ListView/components/CellContent/RelationMultiple/index.js +2 -2
- package/admin/src/content-manager/pages/ListView/index.js +10 -4
- package/admin/src/content-manager/sharedReducers/crudReducer/reducer.js +1 -1
- package/admin/src/content-manager/utils/checkIfAttributeIsDisplayable.js +2 -4
- package/admin/src/content-manager/utils/index.js +0 -1
- package/admin/src/hooks/index.js +0 -3
- package/admin/src/hooks/useAdminRolePermissions/__mocks__/index.js +5 -0
- package/admin/src/hooks/useAdminRolePermissions/index.js +34 -0
- package/admin/src/hooks/useAdminRoles/__mocks__/index.js +5 -0
- package/admin/src/hooks/useAdminRoles/index.js +40 -0
- package/admin/src/pages/AuthPage/components/Register/index.js +4 -0
- package/admin/src/pages/AuthPage/constants.js +2 -2
- package/admin/src/pages/InstalledPluginsPage/Plugins.js +2 -2
- package/admin/src/pages/InstalledPluginsPage/hooks/usePlugins/index.js +29 -0
- package/admin/src/pages/MarketplacePage/hooks/useFetchMarketplacePlugins/index.js +44 -0
- package/admin/src/pages/MarketplacePage/hooks/useFetchMarketplaceProviders/index.js +44 -0
- package/admin/src/pages/MarketplacePage/utils/useMarketplaceData.js +2 -2
- package/admin/src/pages/SettingsPage/pages/Roles/CreatePage/index.js +24 -9
- package/admin/src/pages/SettingsPage/pages/Roles/EditPage/components/RoleForm/index.js +1 -0
- package/admin/src/pages/SettingsPage/pages/Roles/EditPage/index.js +34 -20
- package/admin/src/pages/SettingsPage/pages/Roles/ListPage/index.js +31 -84
- package/admin/src/pages/SettingsPage/pages/Roles/hooks/useAdminRolePermissionLayout/index.js +23 -0
- package/admin/src/translations/ar.json +9 -3
- package/admin/src/translations/ca.json +8 -2
- package/admin/src/translations/de.json +8 -2
- package/admin/src/translations/dk.json +8 -2
- package/admin/src/translations/en.json +9 -3
- package/admin/src/translations/es.json +9 -3
- package/admin/src/translations/eu.json +8 -2
- package/admin/src/translations/fr.json +9 -2
- package/admin/src/translations/gu.json +8 -2
- package/admin/src/translations/hi.json +9 -3
- package/admin/src/translations/hu.json +9 -3
- package/admin/src/translations/ja.json +12 -6
- package/admin/src/translations/ko.json +12 -6
- package/admin/src/translations/ml.json +8 -2
- package/admin/src/translations/nl.json +8 -2
- package/admin/src/translations/pl.json +8 -2
- package/admin/src/translations/pt-BR.json +8 -2
- package/admin/src/translations/ru.json +8 -2
- package/admin/src/translations/sa.json +9 -3
- package/admin/src/translations/sk.json +8 -2
- package/admin/src/translations/sv.json +7 -2
- package/admin/src/translations/tr.json +8 -2
- package/admin/src/translations/zh-Hans.json +8 -2
- package/admin/src/translations/zh.json +8 -2
- package/admin/src/utils/index.js +0 -1
- package/build/1049.f76cb14b.chunk.js +1 -0
- package/build/1386.879bcd90.chunk.js +7 -0
- package/build/{2225.15d1df72.chunk.js → 2225.c6244756.chunk.js} +1 -1
- package/build/2379.f1641312.chunk.js +1 -0
- package/build/2395.46f8d0c1.chunk.js +26 -0
- package/build/2801.5cef5ec8.chunk.js +1 -0
- package/build/{3483.e2ee2547.chunk.js → 3483.03c24f96.chunk.js} +1 -1
- package/build/3929.5632f24d.chunk.js +114 -0
- package/build/4546.cfafae68.chunk.js +1 -0
- package/build/6691.4985ef22.chunk.js +105 -0
- package/build/7464.3e64a1d5.chunk.js +1 -0
- package/build/8276.10a3f883.chunk.js +26 -0
- package/build/{9806.aa25371d.chunk.js → 9806.3392505e.chunk.js} +2 -2
- package/build/{Admin-authenticatedApp.376233ff.chunk.js → Admin-authenticatedApp.3c585a0d.chunk.js} +3 -3
- package/build/{Admin_marketplace.f0b87fce.chunk.js → Admin_marketplace.dde9c148.chunk.js} +6 -6
- package/build/Admin_pluginsPage.bbe79434.chunk.js +6 -0
- package/build/{Admin_profilePage.a968035f.chunk.js → Admin_profilePage.192edc52.chunk.js} +1 -1
- package/build/{Admin_settingsPage.8c600d1a.chunk.js → Admin_settingsPage.97cb9d41.chunk.js} +1 -1
- package/build/admin-app.91898385.chunk.js +36 -0
- package/build/admin-edit-roles-page.6d567273.chunk.js +267 -0
- package/build/{admin-edit-users.67704088.chunk.js → admin-edit-users.79eeb125.chunk.js} +1 -1
- package/build/admin-roles-list.23ddff26.chunk.js +22 -0
- package/build/{admin-users.3279ffb0.chunk.js → admin-users.123aa08e.chunk.js} +1 -1
- package/build/ar-json.74e40bc7.chunk.js +1 -0
- package/build/{ca-json.a53c10b6.chunk.js → ca-json.fc6001d3.chunk.js} +1 -1
- package/build/content-manager.2af15f57.chunk.js +1099 -0
- package/build/{de-json.b3be02c7.chunk.js → de-json.e72545cf.chunk.js} +1 -1
- package/build/dk-json.e77140ef.chunk.js +1 -0
- package/build/{en-json.e34140fc.chunk.js → en-json.08c05fcf.chunk.js} +1 -1
- package/build/es-json.b1f2284b.chunk.js +1 -0
- package/build/{eu-json.633025f0.chunk.js → eu-json.63d0a898.chunk.js} +1 -1
- package/build/{fr-json.aa8839d2.chunk.js → fr-json.33c6428b.chunk.js} +1 -1
- package/build/{gu-json.5bd62812.chunk.js → gu-json.7efe8cc2.chunk.js} +1 -1
- package/build/{hi-json.9104eb78.chunk.js → hi-json.0d633692.chunk.js} +1 -1
- package/build/{hu-json.9f4aae42.chunk.js → hu-json.c74b6a1e.chunk.js} +1 -1
- package/build/index.html +1 -1
- package/build/{ja-json.91286391.chunk.js → ja-json.e1959a1c.chunk.js} +1 -1
- package/build/{ko-json.fcf3ec4b.chunk.js → ko-json.ce5d6d94.chunk.js} +1 -1
- package/build/main.f13fc96c.js +2856 -0
- package/build/{ml-json.557aa14c.chunk.js → ml-json.940d7ace.chunk.js} +1 -1
- package/build/{nl-json.b2b16eea.chunk.js → nl-json.fe38f0fb.chunk.js} +1 -1
- package/build/{pl-json.f094a417.chunk.js → pl-json.d55e8e78.chunk.js} +1 -1
- package/build/{pt-BR-json.dec7fb01.chunk.js → pt-BR-json.ae0a0d2e.chunk.js} +1 -1
- package/build/review-workflows-settings-create-view.cb08cfa2.chunk.js +1 -0
- package/build/review-workflows-settings-edit-view.3c7cbe63.chunk.js +1 -0
- package/build/review-workflows-settings-list-view.1611dc1f.chunk.js +56 -0
- package/build/{ru-json.8193d8c4.chunk.js → ru-json.1c976644.chunk.js} +1 -1
- package/build/{runtime~main.58ec8df6.js → runtime~main.2902859a.js} +1 -1
- package/build/{sa-json.a56836f1.chunk.js → sa-json.2c03ef4e.chunk.js} +1 -1
- package/build/sk-json.b41847e8.chunk.js +1 -0
- package/build/sso-settings-page.12b6d8ae.chunk.js +1 -0
- package/build/{sv-json.fd0e86c6.chunk.js → sv-json.568cb7ae.chunk.js} +1 -1
- package/build/{tr-json.56c32cf6.chunk.js → tr-json.c9f22432.chunk.js} +1 -1
- package/build/upload-settings.7f93d4c0.chunk.js +14 -0
- package/build/upload.37488080.chunk.js +58 -0
- package/build/users-advanced-settings-page.f0760eb8.chunk.js +9 -0
- package/build/users-email-settings-page.ff4b32f3.chunk.js +9 -0
- package/build/users-providers-settings-page.48de0306.chunk.js +14 -0
- package/build/users-roles-settings-page.3f9f063e.chunk.js +30 -0
- package/build/{zh-Hans-json.36d81cdc.chunk.js → zh-Hans-json.937b395b.chunk.js} +1 -1
- package/build/{zh-json.1cc86ff0.chunk.js → zh-json.bfc2e036.chunk.js} +1 -1
- package/ee/admin/hooks/useAuthProviders/index.js +1 -3
- package/ee/admin/pages/AuthResponse/index.js +1 -3
- package/ee/admin/pages/SettingsPage/pages/ReviewWorkflows/components/Stages/Stage/Stage.js +35 -32
- package/ee/admin/pages/SettingsPage/pages/ReviewWorkflows/pages/CreateView/CreateView.js +1 -7
- package/ee/admin/pages/SettingsPage/pages/ReviewWorkflows/pages/EditView/EditView.js +16 -14
- package/ee/admin/pages/SettingsPage/pages/ReviewWorkflows/pages/ListView/ListView.js +32 -31
- package/ee/admin/pages/SettingsPage/pages/SingleSignOn/index.js +16 -26
- package/ee/server/config/admin-actions.js +6 -6
- package/ee/server/services/review-workflows/entity-service-decorator.js +4 -3
- package/index.js +2 -0
- package/package.json +16 -16
- package/scripts/build.js +1 -0
- package/server/controllers/role.js +9 -1
- package/server/middlewares/rateLimit.js +6 -2
- package/server/services/role.js +3 -2
- package/server/services/transfer/token.js +27 -4
- package/server/validation/authentication/register.js +2 -2
- package/webpack.config.js +2 -1
- package/admin/src/content-manager/components/SingleTypeFormWrapper/utils/getRequestUrl.js +0 -5
- package/admin/src/content-manager/components/SingleTypeFormWrapper/utils/index.js +0 -2
- package/admin/src/content-manager/pages/EditSettingsView/utils/api.js +0 -16
- package/admin/src/content-manager/pages/ListSettingsView/init.js +0 -9
- package/admin/src/content-manager/utils/getRequestUrl.js +0 -4
- package/admin/src/hooks/marketplace/useFetchMarketplacePlugins/index.js +0 -44
- package/admin/src/hooks/marketplace/useFetchMarketplaceProviders/index.js +0 -44
- package/admin/src/hooks/useFetchEnabledPlugins/index.js +0 -24
- package/admin/src/hooks/useFetchEnabledPlugins/utils/api.js +0 -10
- package/admin/src/hooks/useFetchPermissionsLayout/index.js +0 -42
- package/admin/src/hooks/useFetchPermissionsLayout/reducer.js +0 -35
- package/admin/src/hooks/useFetchRole/index.js +0 -68
- package/admin/src/hooks/useFetchRole/reducer.js +0 -33
- package/admin/src/hooks/useRolesList/index.js +0 -58
- package/admin/src/hooks/useRolesList/init.js +0 -5
- package/admin/src/hooks/useRolesList/reducer.js +0 -31
- package/admin/src/utils/getRequestUrl.js +0 -3
- package/build/1049.758a01f5.chunk.js +0 -1
- package/build/1386.762d6eb8.chunk.js +0 -7
- package/build/2379.0ca87a89.chunk.js +0 -1
- package/build/2395.df7a044a.chunk.js +0 -26
- package/build/2801.b1140c9b.chunk.js +0 -1
- package/build/4546.ff9fdf30.chunk.js +0 -1
- package/build/6691.f880a0b6.chunk.js +0 -105
- package/build/7065.ec811562.chunk.js +0 -114
- package/build/7464.8a6c1e6c.chunk.js +0 -1
- package/build/8276.6c7b8e6e.chunk.js +0 -26
- package/build/Admin_pluginsPage.8728ff6e.chunk.js +0 -6
- package/build/admin-app.1c3f7fd6.chunk.js +0 -36
- package/build/admin-edit-roles-page.a49b9f4f.chunk.js +0 -267
- package/build/admin-roles-list.0c129e98.chunk.js +0 -23
- package/build/ar-json.f530bc3f.chunk.js +0 -1
- package/build/content-manager.e9205db1.chunk.js +0 -1103
- package/build/dk-json.842aa391.chunk.js +0 -1
- package/build/es-json.f57b5335.chunk.js +0 -1
- package/build/main.1e3b0985.js +0 -2856
- package/build/review-workflows-settings-create-view.05758184.chunk.js +0 -1
- package/build/review-workflows-settings-edit-view.c33f7c58.chunk.js +0 -1
- package/build/review-workflows-settings-list-view.f055e1be.chunk.js +0 -56
- package/build/sk-json.bf2f057a.chunk.js +0 -1
- package/build/sso-settings-page.7c9b2fd9.chunk.js +0 -1
- package/build/upload-settings.cac210a0.chunk.js +0 -14
- package/build/upload.cbfeefa5.chunk.js +0 -58
- package/build/users-advanced-settings-page.18379a56.chunk.js +0 -9
- package/build/users-email-settings-page.a87978e5.chunk.js +0 -9
- package/build/users-providers-settings-page.8876c1ee.chunk.js +0 -14
- package/build/users-roles-settings-page.0431f48c.chunk.js +0 -30
- /package/admin/src/{hooks/marketplace → pages/MarketplacePage}/constants.js +0 -0
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
(self.webpackChunk_strapi_admin=self.webpackChunk_strapi_admin||[]).push([[6691],{93994:function(g,E,e){var n=e(33795);function a(l,h){for(var c=-1,s=h.length,t=Array(s),r=l==null;++c<s;)t[c]=r?void 0:n(l,h[c]);return t}g.exports=a},88311:function(g,E,e){var n=e(93994),a=e(83368),l=a(n);g.exports=l},65923:function(g,E,e){"use strict";const n=e(52138),a=Symbol("max"),l=Symbol("length"),h=Symbol("lengthCalculator"),c=Symbol("allowStale"),s=Symbol("maxAge"),t=Symbol("dispose"),r=Symbol("noDisposeOnSet"),d=Symbol("lruList"),o=Symbol("cache"),i=Symbol("updateAgeOnGet"),u=()=>1;class f{constructor(T){if(typeof T=="number"&&(T={max:T}),T||(T={}),T.max&&(typeof T.max!="number"||T.max<0))throw new TypeError("max must be a non-negative number");const _=this[a]=T.max||1/0,R=T.length||u;if(this[h]=typeof R!="function"?u:R,this[c]=T.stale||!1,T.maxAge&&typeof T.maxAge!="number")throw new TypeError("maxAge must be a number");this[s]=T.maxAge||0,this[t]=T.dispose,this[r]=T.noDisposeOnSet||!1,this[i]=T.updateAgeOnGet||!1,this.reset()}set max(T){if(typeof T!="number"||T<0)throw new TypeError("max must be a non-negative number");this[a]=T||1/0,v(this)}get max(){return this[a]}set allowStale(T){this[c]=!!T}get allowStale(){return this[c]}set maxAge(T){if(typeof T!="number")throw new TypeError("maxAge must be a non-negative number");this[s]=T,v(this)}get maxAge(){return this[s]}set lengthCalculator(T){typeof T!="function"&&(T=u),T!==this[h]&&(this[h]=T,this[l]=0,this[d].forEach(_=>{_.length=this[h](_.value,_.key),this[l]+=_.length})),v(this)}get lengthCalculator(){return this[h]}get length(){return this[l]}get itemCount(){return this[d].length}rforEach(T,_){_=_||this;for(let R=this[d].tail;R!==null;){const y=R.prev;C(this,T,R,_),R=y}}forEach(T,_){_=_||this;for(let R=this[d].head;R!==null;){const y=R.next;C(this,T,R,_),R=y}}keys(){return this[d].toArray().map(T=>T.key)}values(){return this[d].toArray().map(T=>T.value)}reset(){this[t]&&this[d]&&this[d].length&&this[d].forEach(T=>this[t](T.key,T.value)),this[o]=new Map,this[d]=new n,this[l]=0}dump(){return this[d].map(T=>m(this,T)?!1:{k:T.key,v:T.value,e:T.now+(T.maxAge||0)}).toArray().filter(T=>T)}dumpLru(){return this[d]}set(T,_,R){if(R=R||this[s],R&&typeof R!="number")throw new TypeError("maxAge must be a number");const y=R?Date.now():0,x=this[h](_,T);if(this[o].has(T)){if(x>this[a])return D(this,this[o].get(T)),!1;const H=this[o].get(T).value;return this[t]&&(this[r]||this[t](T,H.value)),H.now=y,H.maxAge=R,H.value=_,this[l]+=x-H.length,H.length=x,this.get(T),v(this),!0}const F=new A(T,_,x,y,R);return F.length>this[a]?(this[t]&&this[t](T,_),!1):(this[l]+=F.length,this[d].unshift(F),this[o].set(T,this[d].head),v(this),!0)}has(T){if(!this[o].has(T))return!1;const _=this[o].get(T).value;return!m(this,_)}get(T){return p(this,T,!0)}peek(T){return p(this,T,!1)}pop(){const T=this[d].tail;return T?(D(this,T),T.value):null}del(T){D(this,this[o].get(T))}load(T){this.reset();const _=Date.now();for(let R=T.length-1;R>=0;R--){const y=T[R],x=y.e||0;if(x===0)this.set(y.k,y.v);else{const F=x-_;F>0&&this.set(y.k,y.v,F)}}}prune(){this[o].forEach((T,_)=>p(this,_,!1))}}const p=(P,T,_)=>{const R=P[o].get(T);if(R){const y=R.value;if(m(P,y)){if(D(P,R),!P[c])return}else _&&(P[i]&&(R.value.now=Date.now()),P[d].unshiftNode(R));return y.value}},m=(P,T)=>{if(!T||!T.maxAge&&!P[s])return!1;const _=Date.now()-T.now;return T.maxAge?_>T.maxAge:P[s]&&_>P[s]},v=P=>{if(P[l]>P[a])for(let T=P[d].tail;P[l]>P[a]&&T!==null;){const _=T.prev;D(P,T),T=_}},D=(P,T)=>{if(T){const _=T.value;P[t]&&P[t](_.key,_.value),P[l]-=_.length,P[o].delete(_.key),P[d].removeNode(T)}};class A{constructor(T,_,R,y,x){this.key=T,this.value=_,this.length=R,this.now=y,this.maxAge=x||0}}const C=(P,T,_,R)=>{let y=_.value;m(P,y)&&(D(P,_),P[c]||(y=void 0)),y&&T.call(R,y.value,y.key,P)};g.exports=f},13272:function(g,E,e){"use strict";Object.defineProperty(E,"__esModule",{value:!0}),E.isSafari=E.isFirefox=void 0;var n=e(17611);const a=n.memoize(()=>/firefox/i.test(navigator.userAgent));E.isFirefox=a;const l=n.memoize(()=>Boolean(window.safari));E.isSafari=l},24284:function(g,E,e){"use strict";Object.defineProperty(E,"__esModule",{value:!0});var n=e(17611);class a{enter(h){const c=this.entered.length,s=t=>this.isNodeInDocument(t)&&(!t.contains||t.contains(h));return this.entered=n.union(this.entered.filter(s),[h]),c===0&&this.entered.length>0}leave(h){const c=this.entered.length;return this.entered=n.without(this.entered.filter(this.isNodeInDocument),h),c>0&&this.entered.length===0}reset(){this.entered=[]}constructor(h){this.entered=[],this.isNodeInDocument=h}}E.EnterLeaveCounter=a},32022:function(g,E,e){"use strict";Object.defineProperty(E,"__esModule",{value:!0});var n=e(24284),a=e(5782),l=e(54935),h=t(e(9689)),c=e(44444);function s(o,i,u){return i in o?Object.defineProperty(o,i,{value:u,enumerable:!0,configurable:!0,writable:!0}):o[i]=u,o}function t(o){if(o&&o.__esModule)return o;var i={};if(o!=null){for(var u in o)if(Object.prototype.hasOwnProperty.call(o,u)){var f=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(o,u):{};f.get||f.set?Object.defineProperty(i,u,f):i[u]=o[u]}}return i.default=o,i}function r(o){for(var i=1;i<arguments.length;i++){var u=arguments[i]!=null?arguments[i]:{},f=Object.keys(u);typeof Object.getOwnPropertySymbols=="function"&&(f=f.concat(Object.getOwnPropertySymbols(u).filter(function(p){return Object.getOwnPropertyDescriptor(u,p).enumerable}))),f.forEach(function(p){s(o,p,u[p])})}return o}class d{profile(){var i,u;return{sourcePreviewNodes:this.sourcePreviewNodes.size,sourcePreviewNodeOptions:this.sourcePreviewNodeOptions.size,sourceNodeOptions:this.sourceNodeOptions.size,sourceNodes:this.sourceNodes.size,dragStartSourceIds:((i=this.dragStartSourceIds)===null||i===void 0?void 0:i.length)||0,dropTargetIds:this.dropTargetIds.length,dragEnterTargetIds:this.dragEnterTargetIds.length,dragOverTargetIds:((u=this.dragOverTargetIds)===null||u===void 0?void 0:u.length)||0}}get window(){return this.options.window}get document(){return this.options.document}get rootElement(){return this.options.rootElement}setup(){const i=this.rootElement;if(i!==void 0){if(i.__isReactDndBackendSetUp)throw new Error("Cannot have two HTML5 backends at the same time.");i.__isReactDndBackendSetUp=!0,this.addEventListeners(i)}}teardown(){const i=this.rootElement;if(i!==void 0&&(i.__isReactDndBackendSetUp=!1,this.removeEventListeners(this.rootElement),this.clearCurrentDragSourceNode(),this.asyncEndDragFrameId)){var u;(u=this.window)===null||u===void 0||u.cancelAnimationFrame(this.asyncEndDragFrameId)}}connectDragPreview(i,u,f){return this.sourcePreviewNodeOptions.set(i,f),this.sourcePreviewNodes.set(i,u),()=>{this.sourcePreviewNodes.delete(i),this.sourcePreviewNodeOptions.delete(i)}}connectDragSource(i,u,f){this.sourceNodes.set(i,u),this.sourceNodeOptions.set(i,f);const p=v=>this.handleDragStart(v,i),m=v=>this.handleSelectStart(v);return u.setAttribute("draggable","true"),u.addEventListener("dragstart",p),u.addEventListener("selectstart",m),()=>{this.sourceNodes.delete(i),this.sourceNodeOptions.delete(i),u.removeEventListener("dragstart",p),u.removeEventListener("selectstart",m),u.setAttribute("draggable","false")}}connectDropTarget(i,u){const f=v=>this.handleDragEnter(v,i),p=v=>this.handleDragOver(v,i),m=v=>this.handleDrop(v,i);return u.addEventListener("dragenter",f),u.addEventListener("dragover",p),u.addEventListener("drop",m),()=>{u.removeEventListener("dragenter",f),u.removeEventListener("dragover",p),u.removeEventListener("drop",m)}}addEventListeners(i){i.addEventListener&&(i.addEventListener("dragstart",this.handleTopDragStart),i.addEventListener("dragstart",this.handleTopDragStartCapture,!0),i.addEventListener("dragend",this.handleTopDragEndCapture,!0),i.addEventListener("dragenter",this.handleTopDragEnter),i.addEventListener("dragenter",this.handleTopDragEnterCapture,!0),i.addEventListener("dragleave",this.handleTopDragLeaveCapture,!0),i.addEventListener("dragover",this.handleTopDragOver),i.addEventListener("dragover",this.handleTopDragOverCapture,!0),i.addEventListener("drop",this.handleTopDrop),i.addEventListener("drop",this.handleTopDropCapture,!0))}removeEventListeners(i){i.removeEventListener&&(i.removeEventListener("dragstart",this.handleTopDragStart),i.removeEventListener("dragstart",this.handleTopDragStartCapture,!0),i.removeEventListener("dragend",this.handleTopDragEndCapture,!0),i.removeEventListener("dragenter",this.handleTopDragEnter),i.removeEventListener("dragenter",this.handleTopDragEnterCapture,!0),i.removeEventListener("dragleave",this.handleTopDragLeaveCapture,!0),i.removeEventListener("dragover",this.handleTopDragOver),i.removeEventListener("dragover",this.handleTopDragOverCapture,!0),i.removeEventListener("drop",this.handleTopDrop),i.removeEventListener("drop",this.handleTopDropCapture,!0))}getCurrentSourceNodeOptions(){const i=this.monitor.getSourceId(),u=this.sourceNodeOptions.get(i);return r({dropEffect:this.altKeyPressed?"copy":"move"},u||{})}getCurrentDropEffect(){return this.isDraggingNativeItem()?"copy":this.getCurrentSourceNodeOptions().dropEffect}getCurrentSourcePreviewNodeOptions(){const i=this.monitor.getSourceId(),u=this.sourcePreviewNodeOptions.get(i);return r({anchorX:.5,anchorY:.5,captureDraggingState:!1},u||{})}isDraggingNativeItem(){const i=this.monitor.getItemType();return Object.keys(h).some(u=>h[u]===i)}beginDragNativeItem(i,u){this.clearCurrentDragSourceNode(),this.currentNativeSource=l.createNativeDragSource(i,u),this.currentNativeHandle=this.registry.addSource(i,this.currentNativeSource),this.actions.beginDrag([this.currentNativeHandle])}setCurrentDragSourceNode(i){this.clearCurrentDragSourceNode(),this.currentDragSourceNode=i;const u=1e3;this.mouseMoveTimeoutTimer=setTimeout(()=>{var f;return(f=this.rootElement)===null||f===void 0?void 0:f.addEventListener("mousemove",this.endDragIfSourceWasRemovedFromDOM,!0)},u)}clearCurrentDragSourceNode(){if(this.currentDragSourceNode){if(this.currentDragSourceNode=null,this.rootElement){var i;(i=this.window)===null||i===void 0||i.clearTimeout(this.mouseMoveTimeoutTimer||void 0),this.rootElement.removeEventListener("mousemove",this.endDragIfSourceWasRemovedFromDOM,!0)}return this.mouseMoveTimeoutTimer=null,!0}return!1}handleDragStart(i,u){i.defaultPrevented||(this.dragStartSourceIds||(this.dragStartSourceIds=[]),this.dragStartSourceIds.unshift(u))}handleDragEnter(i,u){this.dragEnterTargetIds.unshift(u)}handleDragOver(i,u){this.dragOverTargetIds===null&&(this.dragOverTargetIds=[]),this.dragOverTargetIds.unshift(u)}handleDrop(i,u){this.dropTargetIds.unshift(u)}constructor(i,u,f){this.sourcePreviewNodes=new Map,this.sourcePreviewNodeOptions=new Map,this.sourceNodes=new Map,this.sourceNodeOptions=new Map,this.dragStartSourceIds=null,this.dropTargetIds=[],this.dragEnterTargetIds=[],this.currentNativeSource=null,this.currentNativeHandle=null,this.currentDragSourceNode=null,this.altKeyPressed=!1,this.mouseMoveTimeoutTimer=null,this.asyncEndDragFrameId=null,this.dragOverTargetIds=null,this.lastClientOffset=null,this.hoverRafId=null,this.getSourceClientOffset=p=>{const m=this.sourceNodes.get(p);return m&&a.getNodeClientOffset(m)||null},this.endDragNativeItem=()=>{this.isDraggingNativeItem()&&(this.actions.endDrag(),this.currentNativeHandle&&this.registry.removeSource(this.currentNativeHandle),this.currentNativeHandle=null,this.currentNativeSource=null)},this.isNodeInDocument=p=>Boolean(p&&this.document&&this.document.body&&this.document.body.contains(p)),this.endDragIfSourceWasRemovedFromDOM=()=>{const p=this.currentDragSourceNode;p==null||this.isNodeInDocument(p)||(this.clearCurrentDragSourceNode()&&this.monitor.isDragging()&&this.actions.endDrag(),this.cancelHover())},this.scheduleHover=p=>{this.hoverRafId===null&&typeof requestAnimationFrame<"u"&&(this.hoverRafId=requestAnimationFrame(()=>{this.monitor.isDragging()&&this.actions.hover(p||[],{clientOffset:this.lastClientOffset}),this.hoverRafId=null}))},this.cancelHover=()=>{this.hoverRafId!==null&&typeof cancelAnimationFrame<"u"&&(cancelAnimationFrame(this.hoverRafId),this.hoverRafId=null)},this.handleTopDragStartCapture=()=>{this.clearCurrentDragSourceNode(),this.dragStartSourceIds=[]},this.handleTopDragStart=p=>{if(p.defaultPrevented)return;const{dragStartSourceIds:m}=this;this.dragStartSourceIds=null;const v=a.getEventClientOffset(p);this.monitor.isDragging()&&(this.actions.endDrag(),this.cancelHover()),this.actions.beginDrag(m||[],{publishSource:!1,getSourceClientOffset:this.getSourceClientOffset,clientOffset:v});const{dataTransfer:D}=p,A=l.matchNativeItemType(D);if(this.monitor.isDragging()){if(D&&typeof D.setDragImage=="function"){const P=this.monitor.getSourceId(),T=this.sourceNodes.get(P),_=this.sourcePreviewNodes.get(P)||T;if(_){const{anchorX:R,anchorY:y,offsetX:x,offsetY:F}=this.getCurrentSourcePreviewNodeOptions(),K={anchorX:R,anchorY:y},H={offsetX:x,offsetY:F},G=a.getDragPreviewOffset(T,_,v,K,H);D.setDragImage(_,G.x,G.y)}}try{D?.setData("application/json",{})}catch{}this.setCurrentDragSourceNode(p.target);const{captureDraggingState:C}=this.getCurrentSourcePreviewNodeOptions();C?this.actions.publishDragSource():setTimeout(()=>this.actions.publishDragSource(),0)}else if(A)this.beginDragNativeItem(A);else{if(D&&!D.types&&(p.target&&!p.target.hasAttribute||!p.target.hasAttribute("draggable")))return;p.preventDefault()}},this.handleTopDragEndCapture=()=>{this.clearCurrentDragSourceNode()&&this.monitor.isDragging()&&this.actions.endDrag(),this.cancelHover()},this.handleTopDragEnterCapture=p=>{if(this.dragEnterTargetIds=[],this.isDraggingNativeItem()){var m;(m=this.currentNativeSource)===null||m===void 0||m.loadDataTransfer(p.dataTransfer)}if(!this.enterLeaveCounter.enter(p.target)||this.monitor.isDragging())return;const{dataTransfer:D}=p,A=l.matchNativeItemType(D);A&&this.beginDragNativeItem(A,D)},this.handleTopDragEnter=p=>{const{dragEnterTargetIds:m}=this;if(this.dragEnterTargetIds=[],!this.monitor.isDragging())return;this.altKeyPressed=p.altKey,m.length>0&&this.actions.hover(m,{clientOffset:a.getEventClientOffset(p)}),m.some(D=>this.monitor.canDropOnTarget(D))&&(p.preventDefault(),p.dataTransfer&&(p.dataTransfer.dropEffect=this.getCurrentDropEffect()))},this.handleTopDragOverCapture=p=>{if(this.dragOverTargetIds=[],this.isDraggingNativeItem()){var m;(m=this.currentNativeSource)===null||m===void 0||m.loadDataTransfer(p.dataTransfer)}},this.handleTopDragOver=p=>{const{dragOverTargetIds:m}=this;if(this.dragOverTargetIds=[],!this.monitor.isDragging()){p.preventDefault(),p.dataTransfer&&(p.dataTransfer.dropEffect="none");return}this.altKeyPressed=p.altKey,this.lastClientOffset=a.getEventClientOffset(p),this.scheduleHover(m),(m||[]).some(D=>this.monitor.canDropOnTarget(D))?(p.preventDefault(),p.dataTransfer&&(p.dataTransfer.dropEffect=this.getCurrentDropEffect())):this.isDraggingNativeItem()?p.preventDefault():(p.preventDefault(),p.dataTransfer&&(p.dataTransfer.dropEffect="none"))},this.handleTopDragLeaveCapture=p=>{this.isDraggingNativeItem()&&p.preventDefault(),this.enterLeaveCounter.leave(p.target)&&(this.isDraggingNativeItem()&&setTimeout(()=>this.endDragNativeItem(),0),this.cancelHover())},this.handleTopDropCapture=p=>{if(this.dropTargetIds=[],this.isDraggingNativeItem()){var m;p.preventDefault(),(m=this.currentNativeSource)===null||m===void 0||m.loadDataTransfer(p.dataTransfer)}else l.matchNativeItemType(p.dataTransfer)&&p.preventDefault();this.enterLeaveCounter.reset()},this.handleTopDrop=p=>{const{dropTargetIds:m}=this;this.dropTargetIds=[],this.actions.hover(m,{clientOffset:a.getEventClientOffset(p)}),this.actions.drop({dropEffect:this.getCurrentDropEffect()}),this.isDraggingNativeItem()?this.endDragNativeItem():this.monitor.isDragging()&&this.actions.endDrag(),this.cancelHover()},this.handleSelectStart=p=>{const m=p.target;typeof m.dragDrop=="function"&&(m.tagName==="INPUT"||m.tagName==="SELECT"||m.tagName==="TEXTAREA"||m.isContentEditable||(p.preventDefault(),m.dragDrop()))},this.options=new c.OptionsReader(u,f),this.actions=i.getActions(),this.monitor=i.getMonitor(),this.registry=i.getRegistry(),this.enterLeaveCounter=new n.EnterLeaveCounter(this.isNodeInDocument)}}E.HTML5BackendImpl=d},80557:function(g,E){"use strict";Object.defineProperty(E,"__esModule",{value:!0});class e{interpolate(a){const{xs:l,ys:h,c1s:c,c2s:s,c3s:t}=this;let r=l.length-1;if(a===l[r])return h[r];let d=0,o=t.length-1,i;for(;d<=o;){i=Math.floor(.5*(d+o));const p=l[i];if(p<a)d=i+1;else if(p>a)o=i-1;else return h[i]}r=Math.max(0,o);const u=a-l[r],f=u*u;return h[r]+c[r]*u+s[r]*f+t[r]*u*f}constructor(a,l){const{length:h}=a,c=[];for(let m=0;m<h;m++)c.push(m);c.sort((m,v)=>a[m]<a[v]?-1:1);const s=[],t=[],r=[];let d,o;for(let m=0;m<h-1;m++)d=a[m+1]-a[m],o=l[m+1]-l[m],t.push(d),s.push(o),r.push(o/d);const i=[r[0]];for(let m=0;m<t.length-1;m++){const v=r[m],D=r[m+1];if(v*D<=0)i.push(0);else{d=t[m];const A=t[m+1],C=d+A;i.push(3*C/((C+A)/v+(C+d)/D))}}i.push(r[r.length-1]);const u=[],f=[];let p;for(let m=0;m<i.length-1;m++){p=r[m];const v=i[m],D=1/t[m],A=v+i[m+1]-p-p;u.push((p-v-A)*D),f.push(A*D*D)}this.xs=a,this.ys=l,this.c1s=i,this.c2s=u,this.c3s=f}}E.MonotonicInterpolant=e},81061:function(g,E){"use strict";Object.defineProperty(E,"__esModule",{value:!0});class e{initializeExposedProperties(){Object.keys(this.config.exposeProperties).forEach(a=>{Object.defineProperty(this.item,a,{configurable:!0,enumerable:!0,get(){return console.warn(`Browser doesn't allow reading "${a}" until the drop event.`),null}})})}loadDataTransfer(a){if(a){const l={};Object.keys(this.config.exposeProperties).forEach(h=>{const c=this.config.exposeProperties[h];c!=null&&(l[h]={value:c(a,this.config.matchesTypes),configurable:!0,enumerable:!0})}),Object.defineProperties(this.item,l)}}canDrag(){return!0}beginDrag(){return this.item}isDragging(a,l){return l===a.getSourceId()}endDrag(){}constructor(a){this.config=a,this.item={},this.initializeExposedProperties()}}E.NativeDragSource=e},17892:function(g,E){"use strict";Object.defineProperty(E,"__esModule",{value:!0}),E.getDataFromDataTransfer=e;function e(n,a,l){const h=a.reduce((c,s)=>c||n.getData(s),"");return h??l}},54935:function(g,E,e){"use strict";Object.defineProperty(E,"__esModule",{value:!0}),E.createNativeDragSource=l,E.matchNativeItemType=h;var n=e(66826),a=e(81061);function l(c,s){const t=n.nativeTypesConfig[c];if(!t)throw new Error(`native type ${c} has no configuration`);const r=new a.NativeDragSource(t);return r.loadDataTransfer(s),r}function h(c){if(!c)return null;const s=Array.prototype.slice.call(c.types||[]);return Object.keys(n.nativeTypesConfig).filter(t=>{const r=n.nativeTypesConfig[t];return r?.matchesTypes?r.matchesTypes.some(d=>s.indexOf(d)>-1):!1})[0]||null}},66826:function(g,E,e){"use strict";Object.defineProperty(E,"__esModule",{value:!0}),E.nativeTypesConfig=void 0;var n=l(e(9689)),a=e(17892);function l(c){if(c&&c.__esModule)return c;var s={};if(c!=null){for(var t in c)if(Object.prototype.hasOwnProperty.call(c,t)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(c,t):{};r.get||r.set?Object.defineProperty(s,t,r):s[t]=c[t]}}return s.default=c,s}const h={[n.FILE]:{exposeProperties:{files:c=>Array.prototype.slice.call(c.files),items:c=>c.items,dataTransfer:c=>c},matchesTypes:["Files"]},[n.HTML]:{exposeProperties:{html:(c,s)=>a.getDataFromDataTransfer(c,s,""),dataTransfer:c=>c},matchesTypes:["Html","text/html"]},[n.URL]:{exposeProperties:{urls:(c,s)=>a.getDataFromDataTransfer(c,s,"").split(`
|
|
2
|
+
`),dataTransfer:c=>c},matchesTypes:["Url","text/uri-list"]},[n.TEXT]:{exposeProperties:{text:(c,s)=>a.getDataFromDataTransfer(c,s,""),dataTransfer:c=>c},matchesTypes:["Text","text/plain"]}};E.nativeTypesConfig=h},9689:function(g,E){"use strict";Object.defineProperty(E,"__esModule",{value:!0}),E.HTML=E.TEXT=E.URL=E.FILE=void 0;const e="__NATIVE_FILE__";E.FILE=e;const n="__NATIVE_URL__";E.URL=n;const a="__NATIVE_TEXT__";E.TEXT=a;const l="__NATIVE_HTML__";E.HTML=l},5782:function(g,E,e){"use strict";Object.defineProperty(E,"__esModule",{value:!0}),E.getNodeClientOffset=h,E.getEventClientOffset=c,E.getDragPreviewOffset=r;var n=e(13272),a=e(80557);const l=1;function h(d){const o=d.nodeType===l?d:d.parentElement;if(!o)return null;const{top:i,left:u}=o.getBoundingClientRect();return{x:u,y:i}}function c(d){return{x:d.clientX,y:d.clientY}}function s(d){var o;return d.nodeName==="IMG"&&(n.isFirefox()||!(!((o=document.documentElement)===null||o===void 0)&&o.contains(d)))}function t(d,o,i,u){let f=d?o.width:i,p=d?o.height:u;return n.isSafari()&&d&&(p/=window.devicePixelRatio,f/=window.devicePixelRatio),{dragPreviewWidth:f,dragPreviewHeight:p}}function r(d,o,i,u,f){const p=s(o),v=h(p?d:o),D={x:i.x-v.x,y:i.y-v.y},{offsetWidth:A,offsetHeight:C}=d,{anchorX:P,anchorY:T}=u,{dragPreviewWidth:_,dragPreviewHeight:R}=t(p,o,A,C),y=()=>{let O=new a.MonotonicInterpolant([0,.5,1],[D.y,D.y/C*R,D.y+R-C]).interpolate(T);return n.isSafari()&&p&&(O+=(window.devicePixelRatio-1)*R),O},x=()=>new a.MonotonicInterpolant([0,.5,1],[D.x,D.x/A*_,D.x+_-A]).interpolate(P),{offsetX:F,offsetY:K}=f,H=F===0||F,G=K===0||K;return{x:H?F:x(),y:G?K:y()}}},44444:function(g,E){"use strict";Object.defineProperty(E,"__esModule",{value:!0});class e{get window(){if(this.globalContext)return this.globalContext;if(typeof window<"u")return window}get document(){var a;return!((a=this.globalContext)===null||a===void 0)&&a.document?this.globalContext.document:this.window?this.window.document:void 0}get rootElement(){var a;return((a=this.optionsArgs)===null||a===void 0?void 0:a.rootElement)||this.window}constructor(a,l){this.ownerDocument=null,this.globalContext=a,this.optionsArgs=l}}E.OptionsReader=e},15970:function(g,E){"use strict";Object.defineProperty(E,"__esModule",{value:!0}),E.getEmptyImage=n;let e;function n(){return e||(e=new Image,e.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="),e}},51968:function(g,E,e){"use strict";var n;n={value:!0},Object.defineProperty(E,"rX",{enumerable:!0,get:function(){return h.getEmptyImage}}),E.PD=n=void 0;var a=e(32022),l=c(e(9689)),h=e(15970);n=l;function c(t){if(t&&t.__esModule)return t;var r={};if(t!=null){for(var d in t)if(Object.prototype.hasOwnProperty.call(t,d)){var o=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(t,d):{};o.get||o.set?Object.defineProperty(r,d,o):r[d]=t[d]}}return r.default=t,r}const s=function(r,d,o){return new a.HTML5BackendImpl(r,d,o)};E.PD=s},17611:function(g,E){"use strict";Object.defineProperty(E,"__esModule",{value:!0}),E.memoize=e,E.without=n,E.union=a;function e(l){let h=null;return()=>(h==null&&(h=l()),h)}function n(l,h){return l.filter(c=>c!==h)}function a(l,h){const c=new Set,s=r=>c.add(r);l.forEach(s),h.forEach(s);const t=[];return c.forEach(r=>t.push(r)),t}},84074:function(g,E,e){const n=Symbol("SemVer ANY");class a{static get ANY(){return n}constructor(i,u){if(u=l(u),i instanceof a){if(i.loose===!!u.loose)return i;i=i.value}i=i.trim().split(/\s+/).join(" "),t("comparator",i,u),this.options=u,this.loose=!!u.loose,this.parse(i),this.semver===n?this.value="":this.value=this.operator+this.semver.version,t("comp",this)}parse(i){const u=this.options.loose?h[c.COMPARATORLOOSE]:h[c.COMPARATOR],f=i.match(u);if(!f)throw new TypeError(`Invalid comparator: ${i}`);this.operator=f[1]!==void 0?f[1]:"",this.operator==="="&&(this.operator=""),f[2]?this.semver=new r(f[2],this.options.loose):this.semver=n}toString(){return this.value}test(i){if(t("Comparator.test",i,this.options.loose),this.semver===n||i===n)return!0;if(typeof i=="string")try{i=new r(i,this.options)}catch{return!1}return s(i,this.operator,this.semver,this.options)}intersects(i,u){if(!(i instanceof a))throw new TypeError("a Comparator is required");return this.operator===""?this.value===""?!0:new d(i.value,u).test(this.value):i.operator===""?i.value===""?!0:new d(this.value,u).test(i.semver):(u=l(u),u.includePrerelease&&(this.value==="<0.0.0-0"||i.value==="<0.0.0-0")||!u.includePrerelease&&(this.value.startsWith("<0.0.0")||i.value.startsWith("<0.0.0"))?!1:!!(this.operator.startsWith(">")&&i.operator.startsWith(">")||this.operator.startsWith("<")&&i.operator.startsWith("<")||this.semver.version===i.semver.version&&this.operator.includes("=")&&i.operator.includes("=")||s(this.semver,"<",i.semver,u)&&this.operator.startsWith(">")&&i.operator.startsWith("<")||s(this.semver,">",i.semver,u)&&this.operator.startsWith("<")&&i.operator.startsWith(">")))}}g.exports=a;const l=e(30156),{safeRe:h,t:c}=e(90887),s=e(62401),t=e(33843),r=e(39405),d=e(14355)},14355:function(g,E,e){class n{constructor(O,S){if(S=h(S),O instanceof n)return O.loose===!!S.loose&&O.includePrerelease===!!S.includePrerelease?O:new n(O.raw,S);if(O instanceof c)return this.raw=O.value,this.set=[[O]],this.format(),this;if(this.options=S,this.loose=!!S.loose,this.includePrerelease=!!S.includePrerelease,this.raw=O.trim().split(/\s+/).join(" "),this.set=this.raw.split("||").map(N=>this.parseRange(N.trim())).filter(N=>N.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){const N=this.set[0];if(this.set=this.set.filter($=>!m($[0])),this.set.length===0)this.set=[N];else if(this.set.length>1){for(const $ of this.set)if($.length===1&&v($[0])){this.set=[$];break}}}this.format()}format(){return this.range=this.set.map(O=>O.join(" ").trim()).join("||").trim(),this.range}toString(){return this.range}parseRange(O){const N=((this.options.includePrerelease&&f)|(this.options.loose&&p))+":"+O,$=l.get(N);if($)return $;const L=this.options.loose,M=L?r[d.HYPHENRANGELOOSE]:r[d.HYPHENRANGE];O=O.replace(M,H(this.options.includePrerelease)),s("hyphen replace",O),O=O.replace(r[d.COMPARATORTRIM],o),s("comparator trim",O),O=O.replace(r[d.TILDETRIM],i),s("tilde trim",O),O=O.replace(r[d.CARETTRIM],u),s("caret trim",O);let j=O.split(" ").map(U=>A(U,this.options)).join(" ").split(/\s+/).map(U=>K(U,this.options));L&&(j=j.filter(U=>(s("loose invalid filter",U,this.options),!!U.match(r[d.COMPARATORLOOSE])))),s("range list",j);const w=new Map,B=j.map(U=>new c(U,this.options));for(const U of B){if(m(U))return[U];w.set(U.value,U)}w.size>1&&w.has("")&&w.delete("");const W=[...w.values()];return l.set(N,W),W}intersects(O,S){if(!(O instanceof n))throw new TypeError("a Range is required");return this.set.some(N=>D(N,S)&&O.set.some($=>D($,S)&&N.every(L=>$.every(M=>L.intersects(M,S)))))}test(O){if(!O)return!1;if(typeof O=="string")try{O=new t(O,this.options)}catch{return!1}for(let S=0;S<this.set.length;S++)if(G(this.set[S],O,this.options))return!0;return!1}}g.exports=n;const a=e(65923),l=new a({max:1e3}),h=e(30156),c=e(84074),s=e(33843),t=e(39405),{safeRe:r,t:d,comparatorTrimReplace:o,tildeTrimReplace:i,caretTrimReplace:u}=e(90887),{FLAG_INCLUDE_PRERELEASE:f,FLAG_LOOSE:p}=e(88202),m=I=>I.value==="<0.0.0-0",v=I=>I.value==="",D=(I,O)=>{let S=!0;const N=I.slice();let $=N.pop();for(;S&&N.length;)S=N.every(L=>$.intersects(L,O)),$=N.pop();return S},A=(I,O)=>(s("comp",I,O),I=_(I,O),s("caret",I),I=P(I,O),s("tildes",I),I=y(I,O),s("xrange",I),I=F(I,O),s("stars",I),I),C=I=>!I||I.toLowerCase()==="x"||I==="*",P=(I,O)=>I.trim().split(/\s+/).map(S=>T(S,O)).join(" "),T=(I,O)=>{const S=O.loose?r[d.TILDELOOSE]:r[d.TILDE];return I.replace(S,(N,$,L,M,j)=>{s("tilde",I,N,$,L,M,j);let w;return C($)?w="":C(L)?w=`>=${$}.0.0 <${+$+1}.0.0-0`:C(M)?w=`>=${$}.${L}.0 <${$}.${+L+1}.0-0`:j?(s("replaceTilde pr",j),w=`>=${$}.${L}.${M}-${j} <${$}.${+L+1}.0-0`):w=`>=${$}.${L}.${M} <${$}.${+L+1}.0-0`,s("tilde return",w),w})},_=(I,O)=>I.trim().split(/\s+/).map(S=>R(S,O)).join(" "),R=(I,O)=>{s("caret",I,O);const S=O.loose?r[d.CARETLOOSE]:r[d.CARET],N=O.includePrerelease?"-0":"";return I.replace(S,($,L,M,j,w)=>{s("caret",I,$,L,M,j,w);let B;return C(L)?B="":C(M)?B=`>=${L}.0.0${N} <${+L+1}.0.0-0`:C(j)?L==="0"?B=`>=${L}.${M}.0${N} <${L}.${+M+1}.0-0`:B=`>=${L}.${M}.0${N} <${+L+1}.0.0-0`:w?(s("replaceCaret pr",w),L==="0"?M==="0"?B=`>=${L}.${M}.${j}-${w} <${L}.${M}.${+j+1}-0`:B=`>=${L}.${M}.${j}-${w} <${L}.${+M+1}.0-0`:B=`>=${L}.${M}.${j}-${w} <${+L+1}.0.0-0`):(s("no pr"),L==="0"?M==="0"?B=`>=${L}.${M}.${j}${N} <${L}.${M}.${+j+1}-0`:B=`>=${L}.${M}.${j}${N} <${L}.${+M+1}.0-0`:B=`>=${L}.${M}.${j} <${+L+1}.0.0-0`),s("caret return",B),B})},y=(I,O)=>(s("replaceXRanges",I,O),I.split(/\s+/).map(S=>x(S,O)).join(" ")),x=(I,O)=>{I=I.trim();const S=O.loose?r[d.XRANGELOOSE]:r[d.XRANGE];return I.replace(S,(N,$,L,M,j,w)=>{s("xRange",I,N,$,L,M,j,w);const B=C(L),W=B||C(M),U=W||C(j),b=U;return $==="="&&b&&($=""),w=O.includePrerelease?"-0":"",B?$===">"||$==="<"?N="<0.0.0-0":N="*":$&&b?(W&&(M=0),j=0,$===">"?($=">=",W?(L=+L+1,M=0,j=0):(M=+M+1,j=0)):$==="<="&&($="<",W?L=+L+1:M=+M+1),$==="<"&&(w="-0"),N=`${$+L}.${M}.${j}${w}`):W?N=`>=${L}.0.0${w} <${+L+1}.0.0-0`:U&&(N=`>=${L}.${M}.0${w} <${L}.${+M+1}.0-0`),s("xRange return",N),N})},F=(I,O)=>(s("replaceStars",I,O),I.trim().replace(r[d.STAR],"")),K=(I,O)=>(s("replaceGTE0",I,O),I.trim().replace(r[O.includePrerelease?d.GTE0PRE:d.GTE0],"")),H=I=>(O,S,N,$,L,M,j,w,B,W,U,b,X)=>(C(N)?S="":C($)?S=`>=${N}.0.0${I?"-0":""}`:C(L)?S=`>=${N}.${$}.0${I?"-0":""}`:M?S=`>=${S}`:S=`>=${S}${I?"-0":""}`,C(B)?w="":C(W)?w=`<${+B+1}.0.0-0`:C(U)?w=`<${B}.${+W+1}.0-0`:b?w=`<=${B}.${W}.${U}-${b}`:I?w=`<${B}.${W}.${+U+1}-0`:w=`<=${w}`,`${S} ${w}`.trim()),G=(I,O,S)=>{for(let N=0;N<I.length;N++)if(!I[N].test(O))return!1;if(O.prerelease.length&&!S.includePrerelease){for(let N=0;N<I.length;N++)if(s(I[N].semver),I[N].semver!==c.ANY&&I[N].semver.prerelease.length>0){const $=I[N].semver;if($.major===O.major&&$.minor===O.minor&&$.patch===O.patch)return!0}return!1}return!0}},39405:function(g,E,e){const n=e(33843),{MAX_LENGTH:a,MAX_SAFE_INTEGER:l}=e(88202),{safeRe:h,t:c}=e(90887),s=e(30156),{compareIdentifiers:t}=e(31630);class r{constructor(o,i){if(i=s(i),o instanceof r){if(o.loose===!!i.loose&&o.includePrerelease===!!i.includePrerelease)return o;o=o.version}else if(typeof o!="string")throw new TypeError(`Invalid version. Must be a string. Got type "${typeof o}".`);if(o.length>a)throw new TypeError(`version is longer than ${a} characters`);n("SemVer",o,i),this.options=i,this.loose=!!i.loose,this.includePrerelease=!!i.includePrerelease;const u=o.trim().match(i.loose?h[c.LOOSE]:h[c.FULL]);if(!u)throw new TypeError(`Invalid Version: ${o}`);if(this.raw=o,this.major=+u[1],this.minor=+u[2],this.patch=+u[3],this.major>l||this.major<0)throw new TypeError("Invalid major version");if(this.minor>l||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>l||this.patch<0)throw new TypeError("Invalid patch version");u[4]?this.prerelease=u[4].split(".").map(f=>{if(/^[0-9]+$/.test(f)){const p=+f;if(p>=0&&p<l)return p}return f}):this.prerelease=[],this.build=u[5]?u[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(o){if(n("SemVer.compare",this.version,this.options,o),!(o instanceof r)){if(typeof o=="string"&&o===this.version)return 0;o=new r(o,this.options)}return o.version===this.version?0:this.compareMain(o)||this.comparePre(o)}compareMain(o){return o instanceof r||(o=new r(o,this.options)),t(this.major,o.major)||t(this.minor,o.minor)||t(this.patch,o.patch)}comparePre(o){if(o instanceof r||(o=new r(o,this.options)),this.prerelease.length&&!o.prerelease.length)return-1;if(!this.prerelease.length&&o.prerelease.length)return 1;if(!this.prerelease.length&&!o.prerelease.length)return 0;let i=0;do{const u=this.prerelease[i],f=o.prerelease[i];if(n("prerelease compare",i,u,f),u===void 0&&f===void 0)return 0;if(f===void 0)return 1;if(u===void 0)return-1;if(u===f)continue;return t(u,f)}while(++i)}compareBuild(o){o instanceof r||(o=new r(o,this.options));let i=0;do{const u=this.build[i],f=o.build[i];if(n("prerelease compare",i,u,f),u===void 0&&f===void 0)return 0;if(f===void 0)return 1;if(u===void 0)return-1;if(u===f)continue;return t(u,f)}while(++i)}inc(o,i,u){switch(o){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",i,u);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",i,u);break;case"prepatch":this.prerelease.length=0,this.inc("patch",i,u),this.inc("pre",i,u);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",i,u),this.inc("pre",i,u);break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":{const f=Number(u)?1:0;if(!i&&u===!1)throw new Error("invalid increment argument: identifier is empty");if(this.prerelease.length===0)this.prerelease=[f];else{let p=this.prerelease.length;for(;--p>=0;)typeof this.prerelease[p]=="number"&&(this.prerelease[p]++,p=-2);if(p===-1){if(i===this.prerelease.join(".")&&u===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(f)}}if(i){let p=[i,f];u===!1&&(p=[i]),t(this.prerelease[0],i)===0?isNaN(this.prerelease[1])&&(this.prerelease=p):this.prerelease=p}break}default:throw new Error(`invalid increment argument: ${o}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}}g.exports=r},10953:function(g,E,e){const n=e(15497),a=(l,h)=>{const c=n(l.trim().replace(/^[=v]+/,""),h);return c?c.version:null};g.exports=a},62401:function(g,E,e){const n=e(38896),a=e(38378),l=e(99261),h=e(56647),c=e(63433),s=e(64622),t=(r,d,o,i)=>{switch(d){case"===":return typeof r=="object"&&(r=r.version),typeof o=="object"&&(o=o.version),r===o;case"!==":return typeof r=="object"&&(r=r.version),typeof o=="object"&&(o=o.version),r!==o;case"":case"=":case"==":return n(r,o,i);case"!=":return a(r,o,i);case">":return l(r,o,i);case">=":return h(r,o,i);case"<":return c(r,o,i);case"<=":return s(r,o,i);default:throw new TypeError(`Invalid operator: ${d}`)}};g.exports=t},36839:function(g,E,e){const n=e(39405),a=e(15497),{safeRe:l,t:h}=e(90887),c=(s,t)=>{if(s instanceof n)return s;if(typeof s=="number"&&(s=String(s)),typeof s!="string")return null;t=t||{};let r=null;if(!t.rtl)r=s.match(l[h.COERCE]);else{let d;for(;(d=l[h.COERCERTL].exec(s))&&(!r||r.index+r[0].length!==s.length);)(!r||d.index+d[0].length!==r.index+r[0].length)&&(r=d),l[h.COERCERTL].lastIndex=d.index+d[1].length+d[2].length;l[h.COERCERTL].lastIndex=-1}return r===null?null:a(`${r[2]}.${r[3]||"0"}.${r[4]||"0"}`,t)};g.exports=c},6218:function(g,E,e){const n=e(39405),a=(l,h,c)=>{const s=new n(l,c),t=new n(h,c);return s.compare(t)||s.compareBuild(t)};g.exports=a},9643:function(g,E,e){const n=e(73308),a=(l,h)=>n(l,h,!0);g.exports=a},73308:function(g,E,e){const n=e(39405),a=(l,h,c)=>new n(l,c).compare(new n(h,c));g.exports=a},93948:function(g,E,e){const n=e(15497),a=(l,h)=>{const c=n(l,null,!0),s=n(h,null,!0),t=c.compare(s);if(t===0)return null;const r=t>0,d=r?c:s,o=r?s:c,i=!!d.prerelease.length;if(!!o.prerelease.length&&!i)return!o.patch&&!o.minor?"major":d.patch?"patch":d.minor?"minor":"major";const f=i?"pre":"";return c.major!==s.major?f+"major":c.minor!==s.minor?f+"minor":c.patch!==s.patch?f+"patch":"prerelease"};g.exports=a},38896:function(g,E,e){const n=e(73308),a=(l,h,c)=>n(l,h,c)===0;g.exports=a},99261:function(g,E,e){const n=e(73308),a=(l,h,c)=>n(l,h,c)>0;g.exports=a},56647:function(g,E,e){const n=e(73308),a=(l,h,c)=>n(l,h,c)>=0;g.exports=a},35791:function(g,E,e){const n=e(39405),a=(l,h,c,s,t)=>{typeof c=="string"&&(t=s,s=c,c=void 0);try{return new n(l instanceof n?l.version:l,c).inc(h,s,t).version}catch{return null}};g.exports=a},63433:function(g,E,e){const n=e(73308),a=(l,h,c)=>n(l,h,c)<0;g.exports=a},64622:function(g,E,e){const n=e(73308),a=(l,h,c)=>n(l,h,c)<=0;g.exports=a},60629:function(g,E,e){const n=e(39405),a=(l,h)=>new n(l,h).major;g.exports=a},59986:function(g,E,e){const n=e(39405),a=(l,h)=>new n(l,h).minor;g.exports=a},38378:function(g,E,e){const n=e(73308),a=(l,h,c)=>n(l,h,c)!==0;g.exports=a},15497:function(g,E,e){const n=e(39405),a=(l,h,c=!1)=>{if(l instanceof n)return l;try{return new n(l,h)}catch(s){if(!c)return null;throw s}};g.exports=a},89800:function(g,E,e){const n=e(39405),a=(l,h)=>new n(l,h).patch;g.exports=a},44408:function(g,E,e){const n=e(15497),a=(l,h)=>{const c=n(l,h);return c&&c.prerelease.length?c.prerelease:null};g.exports=a},80762:function(g,E,e){const n=e(73308),a=(l,h,c)=>n(h,l,c);g.exports=a},72743:function(g,E,e){const n=e(6218),a=(l,h)=>l.sort((c,s)=>n(s,c,h));g.exports=a},15312:function(g,E,e){const n=e(14355),a=(l,h,c)=>{try{h=new n(h,c)}catch{return!1}return h.test(l)};g.exports=a},52354:function(g,E,e){const n=e(6218),a=(l,h)=>l.sort((c,s)=>n(c,s,h));g.exports=a},34512:function(g,E,e){const n=e(15497),a=(l,h)=>{const c=n(l,h);return c?c.version:null};g.exports=a},54770:function(g,E,e){const n=e(90887),a=e(88202),l=e(39405),h=e(31630),c=e(15497),s=e(34512),t=e(10953),r=e(35791),d=e(93948),o=e(60629),i=e(59986),u=e(89800),f=e(44408),p=e(73308),m=e(80762),v=e(9643),D=e(6218),A=e(52354),C=e(72743),P=e(99261),T=e(63433),_=e(38896),R=e(38378),y=e(56647),x=e(64622),F=e(62401),K=e(36839),H=e(84074),G=e(14355),I=e(15312),O=e(59663),S=e(94931),N=e(65891),$=e(24925),L=e(69965),M=e(93260),j=e(60715),w=e(30006),B=e(9560),W=e(77795),U=e(57732);g.exports={parse:c,valid:s,clean:t,inc:r,diff:d,major:o,minor:i,patch:u,prerelease:f,compare:p,rcompare:m,compareLoose:v,compareBuild:D,sort:A,rsort:C,gt:P,lt:T,eq:_,neq:R,gte:y,lte:x,cmp:F,coerce:K,Comparator:H,Range:G,satisfies:I,toComparators:O,maxSatisfying:S,minSatisfying:N,minVersion:$,validRange:L,outside:M,gtr:j,ltr:w,intersects:B,simplifyRange:W,subset:U,SemVer:l,re:n.re,src:n.src,tokens:n.t,SEMVER_SPEC_VERSION:a.SEMVER_SPEC_VERSION,RELEASE_TYPES:a.RELEASE_TYPES,compareIdentifiers:h.compareIdentifiers,rcompareIdentifiers:h.rcompareIdentifiers}},88202:function(g){const E="2.0.0",n=Number.MAX_SAFE_INTEGER||9007199254740991,a=16,l=256-6,h=["major","premajor","minor","preminor","patch","prepatch","prerelease"];g.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:a,MAX_SAFE_BUILD_LENGTH:l,MAX_SAFE_INTEGER:n,RELEASE_TYPES:h,SEMVER_SPEC_VERSION:E,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}},33843:function(g){const E=typeof process=="object"&&{ADMIN_PATH:"/admin/",NODE_ENV:"production",STRAPI_ADMIN_BACKEND_URL:"http://localhost:1337",STRAPI_TELEMETRY_DISABLED:!1}&&{ADMIN_PATH:"/admin/",NODE_ENV:"production",STRAPI_ADMIN_BACKEND_URL:"http://localhost:1337",STRAPI_TELEMETRY_DISABLED:!1}.NODE_DEBUG&&/\bsemver\b/i.test({ADMIN_PATH:"/admin/",NODE_ENV:"production",STRAPI_ADMIN_BACKEND_URL:"http://localhost:1337",STRAPI_TELEMETRY_DISABLED:!1}.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};g.exports=E},31630:function(g){const E=/^[0-9]+$/,e=(a,l)=>{const h=E.test(a),c=E.test(l);return h&&c&&(a=+a,l=+l),a===l?0:h&&!c?-1:c&&!h?1:a<l?-1:1},n=(a,l)=>e(l,a);g.exports={compareIdentifiers:e,rcompareIdentifiers:n}},30156:function(g){const E=Object.freeze({loose:!0}),e=Object.freeze({}),n=a=>a?typeof a!="object"?E:a:e;g.exports=n},90887:function(g,E,e){const{MAX_SAFE_COMPONENT_LENGTH:n,MAX_SAFE_BUILD_LENGTH:a,MAX_LENGTH:l}=e(88202),h=e(33843);E=g.exports={};const c=E.re=[],s=E.safeRe=[],t=E.src=[],r=E.t={};let d=0;const o="[a-zA-Z0-9-]",i=[["\\s",1],["\\d",l],[o,a]],u=p=>{for(const[m,v]of i)p=p.split(`${m}*`).join(`${m}{0,${v}}`).split(`${m}+`).join(`${m}{1,${v}}`);return p},f=(p,m,v)=>{const D=u(m),A=d++;h(p,A,m),r[p]=A,t[A]=m,c[A]=new RegExp(m,v?"g":void 0),s[A]=new RegExp(D,v?"g":void 0)};f("NUMERICIDENTIFIER","0|[1-9]\\d*"),f("NUMERICIDENTIFIERLOOSE","\\d+"),f("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${o}*`),f("MAINVERSION",`(${t[r.NUMERICIDENTIFIER]})\\.(${t[r.NUMERICIDENTIFIER]})\\.(${t[r.NUMERICIDENTIFIER]})`),f("MAINVERSIONLOOSE",`(${t[r.NUMERICIDENTIFIERLOOSE]})\\.(${t[r.NUMERICIDENTIFIERLOOSE]})\\.(${t[r.NUMERICIDENTIFIERLOOSE]})`),f("PRERELEASEIDENTIFIER",`(?:${t[r.NUMERICIDENTIFIER]}|${t[r.NONNUMERICIDENTIFIER]})`),f("PRERELEASEIDENTIFIERLOOSE",`(?:${t[r.NUMERICIDENTIFIERLOOSE]}|${t[r.NONNUMERICIDENTIFIER]})`),f("PRERELEASE",`(?:-(${t[r.PRERELEASEIDENTIFIER]}(?:\\.${t[r.PRERELEASEIDENTIFIER]})*))`),f("PRERELEASELOOSE",`(?:-?(${t[r.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${t[r.PRERELEASEIDENTIFIERLOOSE]})*))`),f("BUILDIDENTIFIER",`${o}+`),f("BUILD",`(?:\\+(${t[r.BUILDIDENTIFIER]}(?:\\.${t[r.BUILDIDENTIFIER]})*))`),f("FULLPLAIN",`v?${t[r.MAINVERSION]}${t[r.PRERELEASE]}?${t[r.BUILD]}?`),f("FULL",`^${t[r.FULLPLAIN]}$`),f("LOOSEPLAIN",`[v=\\s]*${t[r.MAINVERSIONLOOSE]}${t[r.PRERELEASELOOSE]}?${t[r.BUILD]}?`),f("LOOSE",`^${t[r.LOOSEPLAIN]}$`),f("GTLT","((?:<|>)?=?)"),f("XRANGEIDENTIFIERLOOSE",`${t[r.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),f("XRANGEIDENTIFIER",`${t[r.NUMERICIDENTIFIER]}|x|X|\\*`),f("XRANGEPLAIN",`[v=\\s]*(${t[r.XRANGEIDENTIFIER]})(?:\\.(${t[r.XRANGEIDENTIFIER]})(?:\\.(${t[r.XRANGEIDENTIFIER]})(?:${t[r.PRERELEASE]})?${t[r.BUILD]}?)?)?`),f("XRANGEPLAINLOOSE",`[v=\\s]*(${t[r.XRANGEIDENTIFIERLOOSE]})(?:\\.(${t[r.XRANGEIDENTIFIERLOOSE]})(?:\\.(${t[r.XRANGEIDENTIFIERLOOSE]})(?:${t[r.PRERELEASELOOSE]})?${t[r.BUILD]}?)?)?`),f("XRANGE",`^${t[r.GTLT]}\\s*${t[r.XRANGEPLAIN]}$`),f("XRANGELOOSE",`^${t[r.GTLT]}\\s*${t[r.XRANGEPLAINLOOSE]}$`),f("COERCE",`(^|[^\\d])(\\d{1,${n}})(?:\\.(\\d{1,${n}}))?(?:\\.(\\d{1,${n}}))?(?:$|[^\\d])`),f("COERCERTL",t[r.COERCE],!0),f("LONETILDE","(?:~>?)"),f("TILDETRIM",`(\\s*)${t[r.LONETILDE]}\\s+`,!0),E.tildeTrimReplace="$1~",f("TILDE",`^${t[r.LONETILDE]}${t[r.XRANGEPLAIN]}$`),f("TILDELOOSE",`^${t[r.LONETILDE]}${t[r.XRANGEPLAINLOOSE]}$`),f("LONECARET","(?:\\^)"),f("CARETTRIM",`(\\s*)${t[r.LONECARET]}\\s+`,!0),E.caretTrimReplace="$1^",f("CARET",`^${t[r.LONECARET]}${t[r.XRANGEPLAIN]}$`),f("CARETLOOSE",`^${t[r.LONECARET]}${t[r.XRANGEPLAINLOOSE]}$`),f("COMPARATORLOOSE",`^${t[r.GTLT]}\\s*(${t[r.LOOSEPLAIN]})$|^$`),f("COMPARATOR",`^${t[r.GTLT]}\\s*(${t[r.FULLPLAIN]})$|^$`),f("COMPARATORTRIM",`(\\s*)${t[r.GTLT]}\\s*(${t[r.LOOSEPLAIN]}|${t[r.XRANGEPLAIN]})`,!0),E.comparatorTrimReplace="$1$2$3",f("HYPHENRANGE",`^\\s*(${t[r.XRANGEPLAIN]})\\s+-\\s+(${t[r.XRANGEPLAIN]})\\s*$`),f("HYPHENRANGELOOSE",`^\\s*(${t[r.XRANGEPLAINLOOSE]})\\s+-\\s+(${t[r.XRANGEPLAINLOOSE]})\\s*$`),f("STAR","(<|>)?=?\\s*\\*"),f("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),f("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")},60715:function(g,E,e){const n=e(93260),a=(l,h,c)=>n(l,h,">",c);g.exports=a},9560:function(g,E,e){const n=e(14355),a=(l,h,c)=>(l=new n(l,c),h=new n(h,c),l.intersects(h,c));g.exports=a},30006:function(g,E,e){const n=e(93260),a=(l,h,c)=>n(l,h,"<",c);g.exports=a},94931:function(g,E,e){const n=e(39405),a=e(14355),l=(h,c,s)=>{let t=null,r=null,d=null;try{d=new a(c,s)}catch{return null}return h.forEach(o=>{d.test(o)&&(!t||r.compare(o)===-1)&&(t=o,r=new n(t,s))}),t};g.exports=l},65891:function(g,E,e){const n=e(39405),a=e(14355),l=(h,c,s)=>{let t=null,r=null,d=null;try{d=new a(c,s)}catch{return null}return h.forEach(o=>{d.test(o)&&(!t||r.compare(o)===1)&&(t=o,r=new n(t,s))}),t};g.exports=l},24925:function(g,E,e){const n=e(39405),a=e(14355),l=e(99261),h=(c,s)=>{c=new a(c,s);let t=new n("0.0.0");if(c.test(t)||(t=new n("0.0.0-0"),c.test(t)))return t;t=null;for(let r=0;r<c.set.length;++r){const d=c.set[r];let o=null;d.forEach(i=>{const u=new n(i.semver.version);switch(i.operator){case">":u.prerelease.length===0?u.patch++:u.prerelease.push(0),u.raw=u.format();case"":case">=":(!o||l(u,o))&&(o=u);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${i.operator}`)}}),o&&(!t||l(t,o))&&(t=o)}return t&&c.test(t)?t:null};g.exports=h},93260:function(g,E,e){const n=e(39405),a=e(84074),{ANY:l}=a,h=e(14355),c=e(15312),s=e(99261),t=e(63433),r=e(64622),d=e(56647),o=(i,u,f,p)=>{i=new n(i,p),u=new h(u,p);let m,v,D,A,C;switch(f){case">":m=s,v=r,D=t,A=">",C=">=";break;case"<":m=t,v=d,D=s,A="<",C="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(c(i,u,p))return!1;for(let P=0;P<u.set.length;++P){const T=u.set[P];let _=null,R=null;if(T.forEach(y=>{y.semver===l&&(y=new a(">=0.0.0")),_=_||y,R=R||y,m(y.semver,_.semver,p)?_=y:D(y.semver,R.semver,p)&&(R=y)}),_.operator===A||_.operator===C||(!R.operator||R.operator===A)&&v(i,R.semver))return!1;if(R.operator===C&&D(i,R.semver))return!1}return!0};g.exports=o},77795:function(g,E,e){const n=e(15312),a=e(73308);g.exports=(l,h,c)=>{const s=[];let t=null,r=null;const d=l.sort((f,p)=>a(f,p,c));for(const f of d)n(f,h,c)?(r=f,t||(t=f)):(r&&s.push([t,r]),r=null,t=null);t&&s.push([t,null]);const o=[];for(const[f,p]of s)f===p?o.push(f):!p&&f===d[0]?o.push("*"):p?f===d[0]?o.push(`<=${p}`):o.push(`${f} - ${p}`):o.push(`>=${f}`);const i=o.join(" || "),u=typeof h.raw=="string"?h.raw:String(h);return i.length<u.length?i:h}},57732:function(g,E,e){const n=e(14355),a=e(84074),{ANY:l}=a,h=e(15312),c=e(73308),s=(u,f,p={})=>{if(u===f)return!0;u=new n(u,p),f=new n(f,p);let m=!1;e:for(const v of u.set){for(const D of f.set){const A=d(v,D,p);if(m=m||A!==null,A)continue e}if(m)return!1}return!0},t=[new a(">=0.0.0-0")],r=[new a(">=0.0.0")],d=(u,f,p)=>{if(u===f)return!0;if(u.length===1&&u[0].semver===l){if(f.length===1&&f[0].semver===l)return!0;p.includePrerelease?u=t:u=r}if(f.length===1&&f[0].semver===l){if(p.includePrerelease)return!0;f=r}const m=new Set;let v,D;for(const x of u)x.operator===">"||x.operator===">="?v=o(v,x,p):x.operator==="<"||x.operator==="<="?D=i(D,x,p):m.add(x.semver);if(m.size>1)return null;let A;if(v&&D){if(A=c(v.semver,D.semver,p),A>0)return null;if(A===0&&(v.operator!==">="||D.operator!=="<="))return null}for(const x of m){if(v&&!h(x,String(v),p)||D&&!h(x,String(D),p))return null;for(const F of f)if(!h(x,String(F),p))return!1;return!0}let C,P,T,_,R=D&&!p.includePrerelease&&D.semver.prerelease.length?D.semver:!1,y=v&&!p.includePrerelease&&v.semver.prerelease.length?v.semver:!1;R&&R.prerelease.length===1&&D.operator==="<"&&R.prerelease[0]===0&&(R=!1);for(const x of f){if(_=_||x.operator===">"||x.operator===">=",T=T||x.operator==="<"||x.operator==="<=",v){if(y&&x.semver.prerelease&&x.semver.prerelease.length&&x.semver.major===y.major&&x.semver.minor===y.minor&&x.semver.patch===y.patch&&(y=!1),x.operator===">"||x.operator===">="){if(C=o(v,x,p),C===x&&C!==v)return!1}else if(v.operator===">="&&!h(v.semver,String(x),p))return!1}if(D){if(R&&x.semver.prerelease&&x.semver.prerelease.length&&x.semver.major===R.major&&x.semver.minor===R.minor&&x.semver.patch===R.patch&&(R=!1),x.operator==="<"||x.operator==="<="){if(P=i(D,x,p),P===x&&P!==D)return!1}else if(D.operator==="<="&&!h(D.semver,String(x),p))return!1}if(!x.operator&&(D||v)&&A!==0)return!1}return!(v&&T&&!D&&A!==0||D&&_&&!v&&A!==0||y||R)},o=(u,f,p)=>{if(!u)return f;const m=c(u.semver,f.semver,p);return m>0?u:m<0||f.operator===">"&&u.operator===">="?f:u},i=(u,f,p)=>{if(!u)return f;const m=c(u.semver,f.semver,p);return m<0?u:m>0||f.operator==="<"&&u.operator==="<="?f:u};g.exports=s},59663:function(g,E,e){const n=e(14355),a=(l,h)=>new n(l,h).set.map(c=>c.map(s=>s.value).join(" ").trim().split(" "));g.exports=a},69965:function(g,E,e){const n=e(14355),a=(l,h)=>{try{return new n(l,h).range||"*"}catch{return null}};g.exports=a},19961:function(g){"use strict";g.exports=function(E){E.prototype[Symbol.iterator]=function*(){for(let e=this.head;e;e=e.next)yield e.value}}},52138:function(g,E,e){"use strict";g.exports=n,n.Node=c,n.create=n;function n(s){var t=this;if(t instanceof n||(t=new n),t.tail=null,t.head=null,t.length=0,s&&typeof s.forEach=="function")s.forEach(function(o){t.push(o)});else if(arguments.length>0)for(var r=0,d=arguments.length;r<d;r++)t.push(arguments[r]);return t}n.prototype.removeNode=function(s){if(s.list!==this)throw new Error("removing node which does not belong to this list");var t=s.next,r=s.prev;return t&&(t.prev=r),r&&(r.next=t),s===this.head&&(this.head=t),s===this.tail&&(this.tail=r),s.list.length--,s.next=null,s.prev=null,s.list=null,t},n.prototype.unshiftNode=function(s){if(s!==this.head){s.list&&s.list.removeNode(s);var t=this.head;s.list=this,s.next=t,t&&(t.prev=s),this.head=s,this.tail||(this.tail=s),this.length++}},n.prototype.pushNode=function(s){if(s!==this.tail){s.list&&s.list.removeNode(s);var t=this.tail;s.list=this,s.prev=t,t&&(t.next=s),this.tail=s,this.head||(this.head=s),this.length++}},n.prototype.push=function(){for(var s=0,t=arguments.length;s<t;s++)l(this,arguments[s]);return this.length},n.prototype.unshift=function(){for(var s=0,t=arguments.length;s<t;s++)h(this,arguments[s]);return this.length},n.prototype.pop=function(){if(this.tail){var s=this.tail.value;return this.tail=this.tail.prev,this.tail?this.tail.next=null:this.head=null,this.length--,s}},n.prototype.shift=function(){if(this.head){var s=this.head.value;return this.head=this.head.next,this.head?this.head.prev=null:this.tail=null,this.length--,s}},n.prototype.forEach=function(s,t){t=t||this;for(var r=this.head,d=0;r!==null;d++)s.call(t,r.value,d,this),r=r.next},n.prototype.forEachReverse=function(s,t){t=t||this;for(var r=this.tail,d=this.length-1;r!==null;d--)s.call(t,r.value,d,this),r=r.prev},n.prototype.get=function(s){for(var t=0,r=this.head;r!==null&&t<s;t++)r=r.next;if(t===s&&r!==null)return r.value},n.prototype.getReverse=function(s){for(var t=0,r=this.tail;r!==null&&t<s;t++)r=r.prev;if(t===s&&r!==null)return r.value},n.prototype.map=function(s,t){t=t||this;for(var r=new n,d=this.head;d!==null;)r.push(s.call(t,d.value,this)),d=d.next;return r},n.prototype.mapReverse=function(s,t){t=t||this;for(var r=new n,d=this.tail;d!==null;)r.push(s.call(t,d.value,this)),d=d.prev;return r},n.prototype.reduce=function(s,t){var r,d=this.head;if(arguments.length>1)r=t;else if(this.head)d=this.head.next,r=this.head.value;else throw new TypeError("Reduce of empty list with no initial value");for(var o=0;d!==null;o++)r=s(r,d.value,o),d=d.next;return r},n.prototype.reduceReverse=function(s,t){var r,d=this.tail;if(arguments.length>1)r=t;else if(this.tail)d=this.tail.prev,r=this.tail.value;else throw new TypeError("Reduce of empty list with no initial value");for(var o=this.length-1;d!==null;o--)r=s(r,d.value,o),d=d.prev;return r},n.prototype.toArray=function(){for(var s=new Array(this.length),t=0,r=this.head;r!==null;t++)s[t]=r.value,r=r.next;return s},n.prototype.toArrayReverse=function(){for(var s=new Array(this.length),t=0,r=this.tail;r!==null;t++)s[t]=r.value,r=r.prev;return s},n.prototype.slice=function(s,t){t=t||this.length,t<0&&(t+=this.length),s=s||0,s<0&&(s+=this.length);var r=new n;if(t<s||t<0)return r;s<0&&(s=0),t>this.length&&(t=this.length);for(var d=0,o=this.head;o!==null&&d<s;d++)o=o.next;for(;o!==null&&d<t;d++,o=o.next)r.push(o.value);return r},n.prototype.sliceReverse=function(s,t){t=t||this.length,t<0&&(t+=this.length),s=s||0,s<0&&(s+=this.length);var r=new n;if(t<s||t<0)return r;s<0&&(s=0),t>this.length&&(t=this.length);for(var d=this.length,o=this.tail;o!==null&&d>t;d--)o=o.prev;for(;o!==null&&d>s;d--,o=o.prev)r.push(o.value);return r},n.prototype.splice=function(s,t,...r){s>this.length&&(s=this.length-1),s<0&&(s=this.length+s);for(var d=0,o=this.head;o!==null&&d<s;d++)o=o.next;for(var i=[],d=0;o&&d<t;d++)i.push(o.value),o=this.removeNode(o);o===null&&(o=this.tail),o!==this.head&&o!==this.tail&&(o=o.prev);for(var d=0;d<r.length;d++)o=a(this,o,r[d]);return i},n.prototype.reverse=function(){for(var s=this.head,t=this.tail,r=s;r!==null;r=r.prev){var d=r.prev;r.prev=r.next,r.next=d}return this.head=t,this.tail=s,this};function a(s,t,r){var d=t===s.head?new c(r,null,t,s):new c(r,t,t.next,s);return d.next===null&&(s.tail=d),d.prev===null&&(s.head=d),s.length++,d}function l(s,t){s.tail=new c(t,s.tail,null,s),s.head||(s.head=s.tail),s.length++}function h(s,t){s.head=new c(t,null,s.head,s),s.tail||(s.tail=s.head),s.length++}function c(s,t,r,d){if(!(this instanceof c))return new c(s,t,r,d);this.list=d,this.value=s,t?(t.next=this,this.prev=t):this.prev=null,r?(r.prev=this,this.next=r):this.next=null}try{e(19961)(n)}catch{}},15300:function(g,E,e){"use strict";e.d(E,{$:function(){return s}});var n=e(74512),a=e(8471),l=e(82875),h=e(87933);const c=(0,a.ZP)(h.k)`
|
|
3
|
+
width: ${({condensed:t})=>t?"max-content":`${224/16}rem`};
|
|
4
|
+
border-right: 1px solid ${({theme:t})=>t.colors.neutral150};
|
|
5
|
+
`,s=({condensed:t=!1,...r})=>(0,n.jsx)(l.f.Provider,{value:t,children:(0,n.jsx)(c,{alignItems:"normal",as:"nav",background:"neutral0",condensed:t,direction:"column",height:"100vh",position:"sticky",top:0,zIndex:2,...r})})},82875:function(g,E,e){"use strict";e.d(E,{S:function(){return l},f:function(){return a}});var n=e(32735);const a=(0,n.createContext)(!1),l=()=>(0,n.useContext)(a)},61450:function(g,E,e){"use strict";e.d(E,{D:function(){return u}});var n=e(74512),a=e(32735),l=e(8471),h=e(82875),c=e(62499),s=e(72850),t=e(3685),r=e(87933),d=e(49372);const o=l.ZP.div`
|
|
6
|
+
border-radius: ${({theme:f})=>f.borderRadius};
|
|
7
|
+
|
|
8
|
+
svg,
|
|
9
|
+
img {
|
|
10
|
+
height: ${({condensed:f})=>f?`${40/16}rem`:`${32/16}rem`};
|
|
11
|
+
width: ${({condensed:f})=>f?`${40/16}rem`:`${32/16}rem`};
|
|
12
|
+
}
|
|
13
|
+
`,i=(0,l.ZP)(c.f)`
|
|
14
|
+
text-decoration: unset;
|
|
15
|
+
color: inherit;
|
|
16
|
+
`,u=a.forwardRef(({workplace:f,title:p,icon:m,...v},D)=>{const A=(0,h.S)();return v.to=v?.to??"/",A?(0,n.jsx)(c.f,{ref:D,...v,children:(0,n.jsx)(s.x,{paddingLeft:3,paddingRight:3,paddingTop:4,paddingBottom:4,children:(0,n.jsxs)(o,{condensed:!0,children:[m,(0,n.jsxs)(t.T,{children:[(0,n.jsx)("span",{children:p}),(0,n.jsx)("span",{children:f})]})]})})}):(0,n.jsx)(i,{ref:D,...v,children:(0,n.jsx)(s.x,{paddingLeft:3,paddingRight:3,paddingTop:4,paddingBottom:4,children:(0,n.jsxs)(r.k,{children:[(0,n.jsx)(o,{"aria-hidden":!0,tabIndex:-1,children:m}),(0,n.jsxs)(s.x,{paddingLeft:2,children:[(0,n.jsxs)(d.Z,{fontWeight:"bold",textColor:"neutral800",as:"span",children:[p,(0,n.jsx)(t.T,{as:"span",children:f})]}),(0,n.jsx)(d.Z,{variant:"pi",as:"p",textColor:"neutral600","aria-hidden":!0,children:f})]})]})})})})},9371:function(g,E,e){"use strict";e.d(E,{w:function(){return o}});var n=e(74512),a=e(77277),l=e(76913),h=e(8471),c=e(82875),s=e(87933),t=e(99140),r=e(3685);const d=(0,h.ZP)(s.k).attrs(i=>({justifyContent:"center",...i}))`
|
|
17
|
+
background: ${({theme:i})=>i.colors.neutral0};
|
|
18
|
+
border: 1px solid ${({theme:i})=>i.colors.neutral150};
|
|
19
|
+
border-radius: ${({theme:i})=>i.borderRadius};
|
|
20
|
+
position: absolute;
|
|
21
|
+
bottom: ${(9+4)/16}rem; // 9 is the height of the svg and 4 is the padding below
|
|
22
|
+
right: ${({theme:i,condensed:u})=>u?0:i.spaces[5]};
|
|
23
|
+
transform: ${({condensed:i})=>i?"translateX(50%)":void 0};
|
|
24
|
+
z-index: 2;
|
|
25
|
+
width: ${18/16}rem;
|
|
26
|
+
height: ${25/16}rem;
|
|
27
|
+
|
|
28
|
+
svg {
|
|
29
|
+
width: ${6/16}rem;
|
|
30
|
+
height: ${9/16}rem;
|
|
31
|
+
}
|
|
32
|
+
`,o=({children:i,...u})=>{const f=(0,c.S)();return(0,n.jsxs)(d,{as:"button",condensed:f,...u,children:[(0,n.jsx)(t.J,{as:f?a.Z:l.Z,"aria-hidden":!0,color:"neutral600"}),(0,n.jsx)(r.T,{children:i})]})}},25390:function(g,E,e){"use strict";e.d(E,{q:function(){return l}});var n=e(74512),a=e(72850);const l=({children:h})=>(0,n.jsx)(a.x,{position:"relative",children:h})},78464:function(g,E,e){"use strict";e.d(E,{O:function(){return m}});var n=e(74512),a=e(32735),l=e(8471),h=e(82875),c=e(72850),s=e(62499),t=e(49372),r=e(87933),d=e(6518),o=e(63919);const i=(0,l.ZP)(c.x)`
|
|
33
|
+
svg {
|
|
34
|
+
width: 1rem;
|
|
35
|
+
height: 1rem;
|
|
36
|
+
}
|
|
37
|
+
`,u=(0,l.ZP)(s.f)`
|
|
38
|
+
position: relative;
|
|
39
|
+
text-decoration: none;
|
|
40
|
+
display: block;
|
|
41
|
+
border-radius: ${({theme:v})=>v.borderRadius};
|
|
42
|
+
background: ${({theme:v})=>v.colors.neutral0};
|
|
43
|
+
|
|
44
|
+
${t.Z} {
|
|
45
|
+
color: ${({theme:v})=>v.colors.neutral600};
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
svg path {
|
|
49
|
+
fill: ${({theme:v})=>v.colors.neutral500};
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
&:hover {
|
|
53
|
+
background: ${({theme:v})=>v.colors.neutral100};
|
|
54
|
+
|
|
55
|
+
${t.Z} {
|
|
56
|
+
color: ${({theme:v})=>v.colors.neutral700};
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
svg path {
|
|
60
|
+
fill: ${({theme:v})=>v.colors.neutral600};
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
&.active {
|
|
65
|
+
background: ${({theme:v})=>v.colors.primary100};
|
|
66
|
+
|
|
67
|
+
svg path {
|
|
68
|
+
fill: ${({theme:v})=>v.colors.primary600};
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
${t.Z} {
|
|
72
|
+
color: ${({theme:v})=>v.colors.primary600};
|
|
73
|
+
font-weight: 500;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
`,f=(0,l.ZP)(r.k)`
|
|
77
|
+
padding: ${({theme:v})=>`${v.spaces[2]} ${v.spaces[3]}`};
|
|
78
|
+
`,p=(0,l.ZP)(d.C)`
|
|
79
|
+
${({theme:v,condensed:D})=>D&&`
|
|
80
|
+
position: absolute;
|
|
81
|
+
// Values based on visual aspect
|
|
82
|
+
top: -${v.spaces[3]};
|
|
83
|
+
right: -${v.spaces[1]};
|
|
84
|
+
`}
|
|
85
|
+
|
|
86
|
+
${t.Z} {
|
|
87
|
+
//find a solution to remove !important
|
|
88
|
+
color: ${({theme:v})=>v.colors.neutral0} !important;
|
|
89
|
+
line-height: 0;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
display: flex;
|
|
93
|
+
justify-content: center;
|
|
94
|
+
align-items: center;
|
|
95
|
+
min-width: ${({theme:v})=>v.spaces[6]};
|
|
96
|
+
height: ${({theme:v})=>v.spaces[5]};
|
|
97
|
+
padding: ${({theme:v})=>`0 ${v.spaces[2]}`};
|
|
98
|
+
border-radius: ${({theme:v})=>v.spaces[10]};
|
|
99
|
+
background: ${({theme:v})=>v.colors.primary600};
|
|
100
|
+
`,m=a.forwardRef(({children:v,icon:D,badgeContent:A,badgeAriaLabel:C,...P},T)=>(0,h.S)()?(0,n.jsx)(u,{ref:T,...P,children:(0,n.jsx)(o.u,{position:"right",label:v,children:(0,n.jsxs)(f,{as:"span",justifyContent:"center",children:[(0,n.jsx)(i,{"aria-hidden":!0,paddingRight:0,as:"span",children:D}),A&&(0,n.jsx)(p,{condensed:!0,"aria-label":C,children:A})]})})}):(0,n.jsx)(u,{ref:T,...P,children:(0,n.jsxs)(f,{as:"span",justifyContent:"space-between",children:[(0,n.jsxs)(r.k,{children:[(0,n.jsx)(i,{"aria-hidden":!0,paddingRight:3,as:"span",children:D}),(0,n.jsx)(t.Z,{children:v})]}),A&&(0,n.jsx)(p,{justifyContent:"center","aria-label":C,children:A})]})}))},42889:function(g,E,e){"use strict";e.d(E,{y:function(){return d}});var n=e(74512),a=e(32735),l=e(82875),h=e(87933),c=e(72850),s=e(9026),t=e(3685),r=e(49372);const d=({label:o,children:i,horizontal:u=!1,spacing:f=2,...p})=>(0,l.S)()?(0,n.jsxs)(h.k,{direction:"column",alignItems:"stretch",gap:2,children:[(0,n.jsxs)(c.x,{paddingTop:1,paddingBottom:1,background:"neutral0",hasRadius:!0,as:"span",children:[(0,n.jsx)(s.i,{}),(0,n.jsx)(t.T,{children:(0,n.jsx)("span",{children:o})})]}),(0,n.jsx)(h.k,{as:"ul",gap:f,direction:u?"row":"column",alignItems:u?"center":"stretch",...p,children:a.Children.map(i,(m,v)=>(0,n.jsx)("li",{children:m},v))})]}):(0,n.jsxs)(h.k,{direction:"column",alignItems:"stretch",gap:2,children:[(0,n.jsx)(c.x,{paddingTop:1,paddingBottom:1,background:"neutral0",paddingRight:3,paddingLeft:3,hasRadius:!0,as:"span",children:(0,n.jsx)(r.Z,{variant:"sigma",textColor:"neutral600",children:o})}),(0,n.jsx)(h.k,{as:"ul",gap:f,direction:u?"row":"column",alignItems:u?"center":"stretch",...p,children:a.Children.map(i,(m,v)=>(0,n.jsx)("li",{children:m},v))})]})},1897:function(g,E,e){"use strict";e.d(E,{_:function(){return t}});var n=e(74512),a=e(32735),l=e(8471),h=e(72850),c=e(87933);const s=(0,l.ZP)(h.x)`
|
|
101
|
+
flex-grow: 1;
|
|
102
|
+
overflow-y: auto;
|
|
103
|
+
`,t=({children:r,spacing:d=4,horizontal:o=!1,...i})=>(0,n.jsx)(s,{paddingLeft:3,paddingRight:2,paddingTop:3,paddingBottom:8,children:(0,n.jsx)(c.k,{as:"ul",gap:d,direction:o?"row":"column",alignItems:o?"center":"stretch",...i,children:a.Children.map(r,(u,f)=>(0,n.jsx)("li",{children:u},f))})})},64838:function(g,E,e){"use strict";e.d(E,{r:function(){return i}});var n=e(74512),a=e(32735),l=e(8471),h=e(82875),c=e(72850),s=e(87933),t=e(69033),r=e(3685),d=e(49372);const o=(0,l.ZP)(c.x)`
|
|
104
|
+
border-top: 1px solid ${({theme:u})=>u.colors.neutral150};
|
|
105
|
+
`,i=a.forwardRef(({src:u,children:f,initials:p,...m},v)=>{const D=(0,h.S)();return(0,n.jsx)(o,{paddingTop:3,paddingBottom:3,paddingLeft:5,paddingRight:5,...m,children:(0,n.jsxs)(s.k,{as:"button",justifyContent:D?"center":void 0,ref:v,children:[u?(0,n.jsx)(t.q,{src:u,alt:"","aria-hidden":!0}):(0,n.jsx)(t.L,{children:p}),D?(0,n.jsx)(r.T,{children:(0,n.jsx)("span",{children:f})}):(0,n.jsx)(c.x,{width:`${130/16}rem`,paddingLeft:2,as:"span",children:(0,n.jsx)(d.Z,{ellipsis:!0,textColor:"neutral600",children:f})})]})})})},37272:function(g,E,e){"use strict";e.d(E,{Z:function(){return l}});var n=e(74512);const a=h=>(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...h,children:(0,n.jsx)("path",{fill:"#212134",d:"M13 21v2.5l-3-2-3 2V21h-.5A3.5 3.5 0 0 1 3 17.5V5a3 3 0 0 1 3-3h14a1 1 0 0 1 1 1v17a1 1 0 0 1-1 1h-7Zm-6-2v-2h6v2h6v-3H6.5a1.5 1.5 0 1 0 0 3H7ZM7 5v2h2V5H7Zm0 3v2h2V8H7Zm0 3v2h2v-2H7Z"})}),l=a},92967:function(g,E,e){"use strict";e.d(E,{Z:function(){return l}});var n=e(74512);const a=h=>(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...h,children:[(0,n.jsx)("path",{fill:"#212134",d:"M11.987 23.036v-.964H1.876V1.876h10.111V0H0v24h11.987v-.964Z"}),(0,n.jsx)("path",{fill:"#212134",d:"M8 11.2c0-.11.09-.2.2-.2h11.973l-5.445-5.445a.2.2 0 0 1 0-.283l1.13-1.13a.2.2 0 0 1 .283 0l7.718 7.717a.2.2 0 0 1 0 .282L16.14 19.86a.2.2 0 0 1-.282 0l-1.13-1.13a.2.2 0 0 1 0-.284L20.172 13H8.2a.2.2 0 0 1-.2-.2v-1.6Z"})]}),l=a},45323:function(g,E,e){"use strict";e.d(E,{Z:function(){return l}});var n=e(74512);const a=h=>(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...h,children:(0,n.jsx)("path",{fill:"#212134",d:"M6.455 19 2 22.5V4a1 1 0 0 1 1-1h18a1 1 0 0 1 1 1v14a1 1 0 0 1-1 1H6.455ZM7 10v2h2v-2H7Zm4 0v2h2v-2h-2Zm4 0v2h2v-2h-2Z"})}),l=a},78429:function(g,E,e){"use strict";e.d(E,{Z:function(){return l}});var n=e(74512);const a=h=>(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...h,children:(0,n.jsx)("path",{fill:"#212134",d:"M1.946 9.315c-.522-.174-.527-.455.01-.634l19.087-6.362c.53-.176.832.12.684.638l-5.454 19.086c-.15.529-.455.547-.679.045L12 14l6-8-8 6-8.054-2.685Z"})}),l=a},2438:function(g,E,e){"use strict";e.d(E,{Z:function(){return l}});var n=e(74512);const a=h=>(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 8 8",...h,children:(0,n.jsx)("path",{fill:"#212134",d:"M2 .93c0-.4.45-.63.78-.41l4.6 3.06c.3.2.3.64 0 .84l-4.6 3.06A.5.5 0 0 1 2 7.07V.93Z"})}),l=a},29685:function(g,E,e){"use strict";e.d(E,{Z:function(){return l}});var n=e(74512);const a=h=>(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 15 14",...h,children:(0,n.jsx)("path",{fill:"#212134",d:"M5.08 4.1c0-1.19 1.18-2.17 2.42-2.17s2.43.98 2.43 2.17c0 1.1-.56 1.61-1.31 2.28l-.03.03c-.75.65-1.66 1.47-1.66 3.09a.57.57 0 1 0 1.15 0c0-1.08.55-1.6 1.3-2.26l.02-.02c.75-.66 1.67-1.48 1.67-3.12C11.07 2.13 9.22.78 7.5.78 5.78.78 3.93 2.13 3.93 4.1a.57.57 0 1 0 1.15 0Zm2.42 9.26a.88.88 0 1 0 0-1.75.88.88 0 0 0 0 1.75Z"})}),l=a},73165:function(g,E,e){"use strict";e.d(E,{Z:function(){return l}});var n=e(74512);const a=h=>(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...h,children:(0,n.jsx)("path",{fill:"#212134",fillRule:"evenodd",d:"M23.707.297A1 1 0 0 0 23 .004h-2a13.907 13.907 0 0 0-5.38 1.077 1 1 0 0 0-.615.923V4.92a.035.035 0 0 1-.022.038l-2-1.47a1 1 0 0 0-1.265.052A14 14 0 0 0 7 14.004v1.585l-2.707 2.707a1 1 0 1 0 1.415 1.415l2.707-2.708H10a14.014 14.014 0 0 0 14-14v-2a1 1 0 0 0-.293-.706ZM18 23.999H3a3 3 0 0 1-3-3V6A3 3 0 0 1 3 3h3a1 1 0 1 1 0 2H3a1 1 0 0 0-1 1v15a1 1 0 0 0 1 1h15a1 1 0 0 0 1-1v-3a1 1 0 1 1 2 0v3a3 3 0 0 1-3 3Z",clipRule:"evenodd"})}),l=a}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk_strapi_admin=self.webpackChunk_strapi_admin||[]).push([[7464],{50337:function(O,r,t){t.d(r,{pl:function(){return A},aY:function(){return M},q5:function(){return I.q}});var s=t(32735),n=t(19565),c=t(97889);const l={data:[],isLoading:!0};var T=(i,a)=>(0,c.ZP)(i,e=>{switch(a.type){case"GET_DATA_SUCCEEDED":{e.data=a.data,e.isLoading=!1;break}case"GET_DATA_ERROR":{e.isLoading=!1;break}default:return e}}),A=({ssoEnabled:i})=>{const[a,e]=(0,s.useReducer)(T,l),m=(0,n.lm)(),{get:E}=(0,n.kY)();return(0,s.useEffect)(()=>{(async()=>{try{if(!i){e({type:"GET_DATA_SUCCEEDED",data:[]});return}const{data:u}=await E("/admin/providers");e({type:"GET_DATA_SUCCEEDED",data:u})}catch(u){console.error(u),e({type:"GET_DATA_ERROR"}),m({type:"warning",message:{id:"notification.error"}})}})()},[E,i,m]),a},v=t(36866),d=t.n(v),h=t(67879),f=t(53038),I=t(53104);const g="strapi-notification-seat-limit",S="https://cloud.strapi.io/profile/billing",y="https://strapi.io/billing/request-seats";var M=()=>{const{formatMessage:i}=(0,h.Z)();let{license:a,isError:e,isLoading:m}=(0,I.q)();const E=(0,n.lm)(),{pathname:L}=(0,f.TH)(),{enforcementUserCount:u,permittedSeats:p,licenseLimitStatus:o,isHostedOnStrapiCloud:D}=a;(0,s.useEffect)(()=>{if(e||m)return;const U=!d()(p)&&!window.sessionStorage.getItem(`${g}-${L}`)&&(o==="AT_LIMIT"||o==="OVER_LIMIT");let C;o==="OVER_LIMIT"?C="warning":o==="AT_LIMIT"&&(C="softWarning"),U&&E({type:C,message:i({id:"notification.ee.warning.over-.message",defaultMessage:"Add seats to {licenseLimitStatus, select, OVER_LIMIT {invite} other {re-enable}} Users. If you already did it but it's not reflected in Strapi yet, make sure to restart your app."},{licenseLimitStatus:o}),title:i({id:"notification.ee.warning.at-seat-limit.title",defaultMessage:"{licenseLimitStatus, select, OVER_LIMIT {Over} other {At}} seat limit ({enforcementUserCount}/{permittedSeats})"},{licenseLimitStatus:o,enforcementUserCount:u,permittedSeats:p}),link:{url:D?S:y,label:i({id:"notification.ee.warning.seat-limit.link",defaultMessage:"{isHostedOnStrapiCloud, select, true {ADD SEATS} other {CONTACT SALES}}"},{isHostedOnStrapiCloud:D})},blockTransition:!0,onClose(){window.sessionStorage.setItem(`${g}-${L}`,!0)}})},[E,a,L,i,m,p,o,u,D,e])}},53104:function(O,r,t){t.d(r,{q:function(){return l}});var s=t(32735),n=t(19565),c=t(20108);function l({enabled:P}={enabled:!0}){const{get:T}=(0,n.kY)(),{data:R,isError:A,isLoading:v}=(0,c.useQuery)(["ee","license-limit-info"],async()=>{const{data:{data:f}}=await T("/admin/license-limit-information");return f},{enabled:P}),d=R??{},h=s.useCallback(f=>(d?.features??[]).find(g=>g.name===f)?.options??{},[d?.features]);return{license:d,getFeature:h,isError:A,isLoading:v}}},37363:function(O,r,t){t.r(r),t.d(r,{HomePageEE:function(){return l}});var s=t(32735),n=t(83555),c=t(50337);function l(){return(0,c.aY)(),s.createElement(n.HomePageCE,null)}}}]);
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk_strapi_admin=self.webpackChunk_strapi_admin||[]).push([[8276],{50337:function(I,v,e){e.d(v,{pl:function(){return i},aY:function(){return R},q5:function(){return P.q}});var t=e(32735),m=e(19565),p=e(97889);const c={data:[],isLoading:!0};var o=(s,g)=>(0,p.ZP)(s,a=>{switch(g.type){case"GET_DATA_SUCCEEDED":{a.data=g.data,a.isLoading=!1;break}case"GET_DATA_ERROR":{a.isLoading=!1;break}default:return a}}),i=({ssoEnabled:s})=>{const[g,a]=(0,t.useReducer)(o,c),T=(0,m.lm)(),{get:l}=(0,m.kY)();return(0,t.useEffect)(()=>{(async()=>{try{if(!s){a({type:"GET_DATA_SUCCEEDED",data:[]});return}const{data:h}=await l("/admin/providers");a({type:"GET_DATA_SUCCEEDED",data:h})}catch(h){console.error(h),a({type:"GET_DATA_ERROR"}),T({type:"warning",message:{id:"notification.error"}})}})()},[l,s,T]),g},L=e(36866),E=e.n(L),f=e(67879),u=e(53038),P=e(53104);const r="strapi-notification-seat-limit",O="https://cloud.strapi.io/profile/billing",n="https://strapi.io/billing/request-seats";var R=()=>{const{formatMessage:s}=(0,f.Z)();let{license:g,isError:a,isLoading:T}=(0,P.q)();const l=(0,m.lm)(),{pathname:y}=(0,u.TH)(),{enforcementUserCount:h,permittedSeats:C,licenseLimitStatus:A,isHostedOnStrapiCloud:S}=g;(0,t.useEffect)(()=>{if(a||T)return;const B=!E()(C)&&!window.sessionStorage.getItem(`${r}-${y}`)&&(A==="AT_LIMIT"||A==="OVER_LIMIT");let U;A==="OVER_LIMIT"?U="warning":A==="AT_LIMIT"&&(U="softWarning"),B&&l({type:U,message:s({id:"notification.ee.warning.over-.message",defaultMessage:"Add seats to {licenseLimitStatus, select, OVER_LIMIT {invite} other {re-enable}} Users. If you already did it but it's not reflected in Strapi yet, make sure to restart your app."},{licenseLimitStatus:A}),title:s({id:"notification.ee.warning.at-seat-limit.title",defaultMessage:"{licenseLimitStatus, select, OVER_LIMIT {Over} other {At}} seat limit ({enforcementUserCount}/{permittedSeats})"},{licenseLimitStatus:A,enforcementUserCount:h,permittedSeats:C}),link:{url:S?O:n,label:s({id:"notification.ee.warning.seat-limit.link",defaultMessage:"{isHostedOnStrapiCloud, select, true {ADD SEATS} other {CONTACT SALES}}"},{isHostedOnStrapiCloud:S})},blockTransition:!0,onClose(){window.sessionStorage.setItem(`${r}-${y}`,!0)}})},[l,g,y,s,T,C,A,h,S,a])}},53104:function(I,v,e){e.d(v,{q:function(){return c}});var t=e(32735),m=e(19565),p=e(20108);function c({enabled:d}={enabled:!0}){const{get:o}=(0,m.kY)(),{data:D,isError:i,isLoading:L}=(0,p.useQuery)(["ee","license-limit-info"],async()=>{const{data:{data:u}}=await o("/admin/license-limit-information");return u},{enabled:d}),E=D??{},f=t.useCallback(u=>(E?.features??[]).find(r=>r.name===u)?.options??{},[E?.features]);return{license:E,getFeature:f,isError:i,isLoading:L}}},68726:function(I,v,e){var t=e(32735),m=e(87933),p=e(63919),c=e(49372),d=e(15335),o=e(5803),D=e(60216),i=e.n(D),L=e(67879),E=e(14911),f=e(8471);const u=f.ZP.a`
|
|
2
|
+
width: ${136/16}rem;
|
|
3
|
+
display: flex;
|
|
4
|
+
justify-content: center;
|
|
5
|
+
align-items: center;
|
|
6
|
+
height: ${48/16}rem;
|
|
7
|
+
border: 1px solid ${({theme:n})=>n.colors.neutral150};
|
|
8
|
+
border-radius: ${({theme:n})=>n.borderRadius};
|
|
9
|
+
text-decoration: inherit;
|
|
10
|
+
&:link {
|
|
11
|
+
text-decoration: none;
|
|
12
|
+
}
|
|
13
|
+
color: ${({theme:n})=>n.colors.neutral600};
|
|
14
|
+
`,P=(0,f.ZP)(m.k)`
|
|
15
|
+
& a:not(:first-child):not(:last-child) {
|
|
16
|
+
margin: 0 ${({theme:n})=>n.spaces[2]};
|
|
17
|
+
}
|
|
18
|
+
& a:first-child {
|
|
19
|
+
margin-right: ${({theme:n})=>n.spaces[2]};
|
|
20
|
+
}
|
|
21
|
+
& a:last-child {
|
|
22
|
+
margin-left: ${({theme:n})=>n.spaces[2]};
|
|
23
|
+
}
|
|
24
|
+
`,r=({provider:n})=>t.createElement(p.u,{label:n.displayName},t.createElement(u,{href:`${window.strapi.backendURL}/admin/connect/${n.uid}`},n.icon?t.createElement("img",{src:n.icon,"aria-hidden":!0,alt:"",height:"32px"}):t.createElement(c.Z,null,n.displayName)));r.propTypes={provider:i().shape({icon:i().string,displayName:i().string.isRequired,uid:i().string.isRequired}).isRequired};const O=({providers:n,displayAllProviders:M})=>{const{formatMessage:R}=(0,L.Z)();return M?t.createElement(d.r,{gap:4},n.map(s=>t.createElement(o.P,{key:s.uid,col:4},t.createElement(r,{provider:s})))):n.length>2&&!M?t.createElement(d.r,{gap:4},n.slice(0,2).map(s=>t.createElement(o.P,{key:s.uid,col:4},t.createElement(r,{provider:s}))),t.createElement(o.P,{col:4},t.createElement(p.u,{label:R({id:"global.see-more"})},t.createElement(u,{as:E.rU,to:"/auth/providers"},t.createElement("span",{"aria-hidden":!0},"\u2022\u2022\u2022"))))):t.createElement(P,{justifyContent:"center"},n.map(s=>t.createElement(r,{key:s.uid,provider:s})))};O.defaultProps={displayAllProviders:!0},O.propTypes={providers:i().arrayOf(i().object).isRequired,displayAllProviders:i().bool},v.Z=O},18276:function(I,v,e){e.r(v),e.d(v,{FORMS:function(){return g}});var t=e(32735),m=e(9026),p=e(27649),c=e(72850),d=e(49372),o=e(87933),D=e(23866),i=e(41415),L=e(19565),E=e(67879),f=e(53038),u=e(8471),P=e(73678),r=e(11060),O=e(50337),n=e(68726);const M=(0,u.ZP)(m.i)`
|
|
25
|
+
flex: 1;
|
|
26
|
+
`;var s=()=>{const a=window.strapi.features.isEnabled(window.strapi.features.SSO),{push:T}=(0,f.k6)(),{formatMessage:l}=(0,E.Z)(),{isLoading:y,data:h}=(0,O.pl)({ssoEnabled:a}),C=()=>{T("/auth/login")};return!a||!y&&h.length===0?t.createElement(f.l_,{to:"/auth/login"}):t.createElement(r.ZP,null,t.createElement(p.o,null,t.createElement(r.bU,null,t.createElement(r.sg,null,t.createElement(P.Z,null),t.createElement(c.x,{paddingTop:6,paddingBottom:1},t.createElement(d.Z,{as:"h1",variant:"alpha"},l({id:"Auth.form.welcome.title"}))),t.createElement(c.x,{paddingBottom:7},t.createElement(d.Z,{variant:"epsilon",textColor:"neutral600"},l({id:"Auth.login.sso.subtitle"})))),t.createElement(o.k,{direction:"column",alignItems:"stretch",gap:7},y?t.createElement(o.k,{justifyContent:"center"},t.createElement(D.a,null,l({id:"Auth.login.sso.loading"}))):t.createElement(n.Z,{providers:h}),t.createElement(o.k,null,t.createElement(M,null),t.createElement(c.x,{paddingLeft:3,paddingRight:3},t.createElement(d.Z,{variant:"sigma",textColor:"neutral600"},l({id:"or"}))),t.createElement(M,null)),t.createElement(i.z,{fullWidth:!0,size:"L",onClick:C},l({id:"Auth.form.button.login.strapi"})))),t.createElement(o.k,{justifyContent:"center"},t.createElement(c.x,{paddingTop:4},t.createElement(L.rU,{to:"/auth/forgot-password"},t.createElement(d.Z,{variant:"pi"},l({id:"Auth.link.forgot-password"})))))))};const g={providers:{Component:s,endPoint:null,fieldsToDisable:[],fieldsToOmit:[],schema:null,inputsPrefix:""}}}}]);
|