mirror of
https://github.com/mediacms-io/mediacms.git
synced 2024-11-22 08:13:33 +01:00
1 line
23 KiB
JavaScript
1 line
23 KiB
JavaScript
!function(){var e,t={84782:function(e,t,n){"use strict";var r=n(92541),i=n(47905);(0,r.X)("page-members",i.MembersPage)},47446:function(e,t,n){"use strict";n.d(t,{j:function(){return a}}),n(92070);var r=n(35466),i=n(3074),u=n.n(i),o=n(2299);function a(e){return e.options.map((function(t){return r.createElement("div",{key:t.id,className:t.id===e.selected?"active":""},r.createElement("button",{onClick:e.onSelect,filter:e.id,value:t.id},r.createElement("span",null,t.title),t.id===e.selected?r.createElement(o.O,{type:"close"}):null))}))}a.propTypes={id:u().string.isRequired,selected:u().string.isRequired,onSelect:u().func.isRequired}},2915:function(e,t,n){"use strict";n.d(t,{_:function(){return c}}),n(52004),n(28407),n(56394),n(38288),n(55677),n(92129),n(24655),n(20288),n(54458),n(23675);var r=n(35466),i=n(3074),u=n.n(i),o=n(2299);function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function c(e){var t,n,i=(t=(0,r.useState)(e.active),n=2,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,u=[],o=!0,a=!1;try{for(n=n.call(e);!(o=(r=n.next()).done)&&(u.push(r.value),!t||u.length!==t);o=!0);}catch(e){a=!0,i=e}finally{try{o||null==n.return||n.return()}finally{if(a)throw i}}return u}}(t,n)||function(e,t){if(e){if("string"==typeof e)return a(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?a(e,t):void 0}}(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),u=i[0],c=i[1];return r.createElement("div",{className:"mi-filters-toggle"},r.createElement("button",{className:u?"active":"","aria-label":"Filter",onClick:function(){c(!u),void 0!==e.onClick&&e.onClick()}},r.createElement(o.O,{type:"filter_list"}),r.createElement("span",{className:"filter-button-label"},r.createElement("span",{className:"filter-button-label-text"},"FILTERS"))))}c.propTypes={onClick:u().func,active:u().bool},c.defaultProps={active:!1}},84234:function(e,t,n){"use strict";n.r(t),n.d(t,{CircleIconButton:function(){return r.M},FilterOptions:function(){return i.j},FiltersToggleButton:function(){return u._},MaterialIcon:function(){return o.O},NavigationContentApp:function(){return a.o},NavigationMenuList:function(){return c.S},Notifications:function(){return l.T},NumericInputWithUnit:function(){return s.O},PopupMain:function(){return f.W8},PopupTop:function(){return f.HF},SpinnerLoader:function(){return p.i},UserThumbnail:function(){return d.q}});var r=n(17714),i=n(47446),u=n(2915),o=n(2299),a=n(72917),c=n(5671),l=n(72436),s=n(15517),f=n(60940),p=n(26309),d=n(86142)},15517:function(e,t,n){"use strict";n.d(t,{O:function(){return c}}),n(52004),n(28407),n(56394),n(38288),n(55677),n(92129),n(24655),n(20288),n(54458),n(23675);var r=n(35466),i=n(3074),u=n.n(i);function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,u=[],o=!0,a=!1;try{for(n=n.call(e);!(o=(r=n.next()).done)&&(u.push(r.value),!t||u.length!==t);o=!0);}catch(e){a=!0,i=e}finally{try{o||null==n.return||n.return()}finally{if(a)throw i}}return u}}(e,t)||function(e,t){if(e){if("string"==typeof e)return a(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?a(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function c(e){var t=(0,r.useRef)(null),n=(0,r.useRef)(null),i=o((0,r.useState)(null),2),u=i[0],a=i[1],c=o((0,r.useState)(null),2),l=c[0],s=c[1];return(0,r.useEffect)((function(){a(function(e,t,n){if(void 0!==e){var r;return r=void 0!==t&&t>e?t:e,void 0!==n&&n<r?n:r}return void 0!==t?t:void 0!==n?n:void 0}(0+e.defaultValue,e.minValue,e.maxValue)),s(function(e,t){if(!t||!t.length)return null;for(var n=0;n<t.length;){if(void 0!==t[n].key&&e===t[n].key)return t[n].key;n+=1}return t[0].key}(e.defaultUnit,e.units))})),r.createElement("div",{className:"num-value-unit"},void 0!==e.label?r.createElement("span",{className:"label"},e.label):null,r.createElement("input",{ref:t,className:"value-input",type:"number",value:null!==u?u:"",min:void 0!==e.minValue?e.minValue:null,max:void 0!==e.maxValue?e.maxValue:null,onChange:function(){a(t.current.value),void 0!==e.valueCallback&&e.valueCallback(t.current.value)}}),r.createElement("select",{ref:n,className:"value-unit",onChange:function(){s(n.current.value),void 0!==e.unitCallback&&e.unitCallback(n.current.value)},value:null!==l?l:""},function(){if(!e.units.length)return null;for(var t=[],n=0;n<e.units.length;)void 0!==e.units[n].key&&t.push(r.createElement("option",{key:e.units[n].key,value:e.units[n].key},void 0!==e.units[n].label?e.units[n].label:e.units[n].key)),n+=1;return t}()))}c.propTypes={label:u().string,units:u().array.isRequired,defaultUnit:u().string,defaultValue:u().number,minValue:u().number,maxValue:u().number,valueCallback:u().func,unitCallback:u().func}},58982:function(e,t,n){"use strict";n.d(t,{ItemListAsync:function(){return v}}),n(92070),n(52004),n(28407),n(56394),n(38288),n(55677),n(92129),n(24655),n(20288),n(54458),n(23675),n(74517),n(99751),n(38833),n(10815),n(55090),n(79174);var r=n(35466),i=n(3074),u=n.n(i),o=n(62546),a=n(67777),c=n(32832),l=n(83632),s=n(28986);function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach((function(t){d(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function d(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function m(){return(m=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function y(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function v(e){var t,n,i=(t=(0,o.useItemListSync)(e),n=11,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,u=[],o=!0,a=!1;try{for(n=n.call(e);!(o=(r=n.next()).done)&&(u.push(r.value),!t||u.length!==t);o=!0);}catch(e){a=!0,i=e}finally{try{o||null==n.return||n.return()}finally{if(a)throw i}}return u}}(t,n)||function(e,t){if(e){if("string"==typeof e)return y(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?y(e,t):void 0}}(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),u=i[0],a=i[1],f=i[2],p=i[3],d=i[4],v=i[5],b=i[6],g=i[7],h=i[8],O=i[9],w=i[10];return(0,r.useEffect)((function(){return p(new s.g(e.pageItems,e.maxItems,e.firstItemRequestUrl,e.requestUrl,g,h)),function(){f&&(f.cancelAll(),p(null))}}),[]),u?a.length?r.createElement("div",{className:d.listOuter},O(),r.createElement("div",{ref:v,className:"items-list-wrap"},r.createElement("div",{ref:b,className:d.list},a.map((function(t,n){return r.createElement(l.H,m({key:n},(0,l.j)(e,t,n)))})))),w()):null:r.createElement(c.K,{className:d.listOuter})}v.propTypes=p(p({},a.s.propTypes),{},{items:u().array,requestUrl:u().string.isRequired,firstItemRequestUrl:u().string}),v.defaultProps=p(p({},a.s.defaultProps),{},{requestUrl:null,firstItemRequestUrl:null,pageItems:24})},40824:function(e,t,n){"use strict";n.r(t),n.d(t,{LazyLoadItemListAsync:function(){return y}}),n(92070),n(52004),n(28407),n(56394),n(38288),n(55677),n(92129),n(24655),n(20288),n(54458),n(23675),n(74517),n(99751),n(38833),n(10815),n(55090),n(79174);var r=n(35466),i=n(98578),u=n(62546),o=n(58982),a=n(32832),c=n(83632),l=n(28986);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){p(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function p(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function d(){return(d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function m(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function y(e){var t,n,o=(t=(0,u.useItemListLazyLoad)(e),n=13,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,u=[],o=!0,a=!1;try{for(n=n.call(e);!(o=(r=n.next()).done)&&(u.push(r.value),!t||u.length!==t);o=!0);}catch(e){a=!0,i=e}finally{try{o||null==n.return||n.return()}finally{if(a)throw i}}return u}}(t,n)||function(e,t){if(e){if("string"==typeof e)return m(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?m(e,t):void 0}}(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),s=o[0],f=o[1],p=o[2],y=o[3],v=o[4],b=o[5],g=o[6],h=o[7],O=o[8],w=o[9],j=o[10],S=o[11],A=o[12];return(0,r.useEffect)((function(){return y(new l.g(e.pageItems,e.maxItems,e.firstItemRequestUrl,e.requestUrl,b,g)),i.PageStore.on("window_scroll",h),i.PageStore.on("document_visibility_change",O),h(),function(){i.PageStore.removeListener("window_scroll",h),i.PageStore.removeListener("document_visibility_change",O),p&&(p.cancelAll(),y(null))}}),[]),f?s.length?r.createElement("div",{className:v.listOuter},S(),r.createElement("div",{ref:w,className:"items-list-wrap"},r.createElement("div",{ref:j,className:v.list},s.map((function(t,n){return r.createElement(c.H,d({key:n},(0,c.j)(e,t,n)))})))),A()):null:r.createElement(a.K,{className:v.listOuter})}y.propTypes=f({},o.ItemListAsync.propTypes),y.defaultProps=f(f({},o.ItemListAsync.defaultProps),{},{pageItems:2})},36191:function(e,t,n){"use strict";n.r(t),n.d(t,{PageHeader:function(){return r.m},PageMain:function(){return i.r},PageSidebar:function(){return u.$},PageSidebarContentOverlay:function(){return o.a}});var r=n(56006),i=n(29198),u=n(22947),o=n(41542)},82083:function(e,t,n){var r=n(64835).Dispatcher;e.exports=new r},91450:function(e,t,n){"use strict";function r(){var e,t,n,r=null;if(document.cookie&&""!==document.cookie)for(t=document.cookie.split(";"),e=0;e<t.length;){if("csrftoken="===(n=t[e].trim()).substring(0,10)){r=decodeURIComponent(n.substring(10));break}e+=1}return r}n.d(t,{o:function(){return r}}),n(62322),n(49268),n(13233)},39039:function(e,t,n){"use strict";n.d(t,{O:function(){return o},a:function(){return a}}),n(11646),n(20288),n(52004),n(28407),n(56394),n(38288),n(55677),n(92129),n(24655),n(23675),n(54458);var r=n(24646);function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function u(e,t,n){var r,u;switch(n){case TypeError:case RangeError:case SyntaxError:case ReferenceError:r=new n(t[0]);break;default:r=new Error(t[0])}return e.apply(void 0,[r.message].concat(function(e){if(Array.isArray(e))return i(e)}(u=t.slice(1))||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(u)||function(e,t){if(e){if("string"==typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?i(e,t):void 0}}(u)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())),r}function o(e,t){return u(r.v,e,t)}function a(e,t){return u(r.Z,e,t)}},89264:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(82083);function i(e,t){return r.register(e[t].bind(e)),e}},51397:function(e,t,n){"use strict";n.d(t,{U:function(){return u}}),n(62322),n(93296),n(56394),n(64669);var r=n(50137),i=n.n(r);function u(e,t){var n=i()(e,{});return""!==n.origin&&"null"!==n.origin&&n.origin||(n=i()(t+"/"+e.replace(/^\//g,""),{})),n.toString()}},20705:function(e,t,n){"use strict";function r(e,t){function n(e,t,n){return Number(parseFloat(e/t).toFixed(e<10*t?1:0))+n}return t?e.toLocaleString():function(e,t,r,i,u,o){for(;t>=i;)u*=r,i*=r,e+=1;return e<o.length?n(t,u,o[e]):n(t*(r*(e-(o.length-1))),u,o[o.length-1])}(0,e,1e3,1e3,1,["","K","M","B","T"])}n.d(t,{Z:function(){return r}}),n(30717),n(56660)},12161:function(e,t,n){"use strict";n.d(t,{s:function(){return r}}),n(62322),n(49268);var r=function(e){if(e){var t=e.split(".");return t[t.length-1]}}},24646:function(e,t,n){"use strict";n.d(t,{Z:function(){return a},v:function(){return c}}),n(20288),n(11646),n(52004),n(28407),n(56394),n(38288),n(55677),n(92129),n(24655),n(23675),n(54458);var r=n(1283);function i(e){return function(e){if(Array.isArray(e))return u(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return u(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?u(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var o=function(){for(var e,t=arguments.length,n=new Array(t),u=0;u<t;u++)n[u]=arguments[u];return(e=r)[n[0]].apply(e,i(n.slice(1)))},a=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return o.apply(void 0,["warn"].concat(t))},c=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return o.apply(void 0,["error"].concat(t))}},50408:function(e,t,n){"use strict";n.d(t,{ju:function(){return r},Fr:function(){return i},hj:function(){return u},U:function(){return o},xP:function(){return a},r:function(){return c},aP:function(){return l},ZU:function(){return s},$A:function(){return f}}),n(45777);var r=function(e,t){return e>t},i=function(e){return 0===e},u=function(e){return!isNaN(e)&&e===0+e},o=function(e){return e===Math.trunc(e)},a=function(e){return r(e,0)},c=function(e){return u(e)&&a(e)},l=function(e){return o(e)&&a(e)},s=function(e){return o(e)&&(a(e)||i(e))},f=function e(t,n){return n?e(n,t%n):t}},65477:function(e,t,n){"use strict";n.d(t,{g:function(){return o},n:function(){return a}}),n(52004),n(28407),n(56394),n(38288),n(55677),n(92129),n(24655);var r=n(39039),i=n(50408);function u(e){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var o=function(e,t,n){return void 0===e[t]||(0,i.ZU)(e[t])?null:(0,r.O)(["Invalid prop `"+t+"` of type `"+u(e[t])+"` supplied to `"+(n||"N/A")+"`, expected `positive integer or zero` ("+e[t]+")."])},a=function(e,t,n){return void 0===e[t]||(0,i.aP)(e[t])?null:(0,r.O)(["Invalid prop `"+t+"` of type `"+u(e[t])+"` supplied to `"+(n||"N/A")+"`, expected `positive integer` ("+e[t]+")."])}},41024:function(e,t,n){"use strict";function r(e){for(var t in window.REPLACEMENTS)e=e.replace(t,window.REPLACEMENTS[t]);return e}n.d(t,{G:function(){return r}}),n(62322),n(93296)},40447:function(e,t,n){"use strict";n.d(t,{A_:function(){return a},j0:function(){return l},GH:function(){return f},Jl:function(){return d}}),n(77588),n(56394),n(25334);var r=n(24559),i=n.n(r);function u(e,t,n,r,i,u,o){try{var a=e[u](o),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,i)}function o(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){u(o,r,i,a,c,"next",e)}function c(e){u(o,r,i,a,c,"throw",e)}a(void 0)}))}}function a(e,t,n,r){return c.apply(this,arguments)}function c(){return(c=o(regeneratorRuntime.mark((function e(t,n,i,u){var o,a,c;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(c=function(e){if(u instanceof Function){var t=e;if(void 0===e.response)t={type:"network",error:e};else if(void 0!==e.response.status)switch(e.response.status){case 401:t={type:"private",error:e,message:"Media is private"};break;case 400:t={type:"unavailable",error:e,message:"Media is unavailable"}}u(t)}},a=function(e){i instanceof Function&&i(e)},o={timeout:null,maxContentLength:null},!n){e.next=8;break}return e.next=6,(0,r.get)(t,o).then(a).catch(c||null);case 6:e.next=9;break;case 8:(0,r.get)(t,o).then(a).catch(c||null);case 9:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function l(e,t,n,r,i,u){return s.apply(this,arguments)}function s(){return(s=o(regeneratorRuntime.mark((function e(t,n,i,u,o,a){var c,l;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(l=function(e){a instanceof Function&&a(e)},c=function(e){o instanceof Function&&o(e)},n=n||{},!u){e.next=8;break}return e.next=6,(0,r.post)(t,n,i||null).then(c).catch(l||null);case 6:e.next=9;break;case 8:(0,r.post)(t,n,i||null).then(c).catch(l||null);case 9:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function f(e,t,n,r,i,u){return p.apply(this,arguments)}function p(){return(p=o(regeneratorRuntime.mark((function e(t,n,i,u,o,a){var c,l;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(l=function(e){a instanceof Function&&a(e)},c=function(e){o instanceof Function&&o(e)},n=n||{},!u){e.next=8;break}return e.next=6,(0,r.put)(t,n,i||null).then(c).catch(l||null);case 6:e.next=9;break;case 8:(0,r.put)(t,n,i||null).then(c).catch(l||null);case 9:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function d(e,t,n,r,i){return m.apply(this,arguments)}function m(){return(m=o(regeneratorRuntime.mark((function e(t,n,r,u,o){var a,c;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(c=function(e){o instanceof Function&&o(e)},a=function(e){u instanceof Function&&u(e)},n=n||{},!r){e.next=8;break}return e.next=6,i().delete(t,n||null).then(a).catch(c||null);case 6:e.next=9;break;case 8:i().delete(t,n||null).then(a).catch(c||null);case 9:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},25910:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.MediaListWrapper=void 0;var i=r(n(35466)),u=n(27180);n(23804),t.MediaListWrapper=function(e){var t=e.title,n=e.viewAllLink,r=e.viewAllText,o=e.className,a=e.style,c=e.children;return i.default.createElement("div",{className:(o?o+" ":"")+"media-list-wrapper",style:a},i.default.createElement(u.MediaListRow,{title:t,viewAllLink:n,viewAllText:r},c||null))}},47905:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.MembersPage=void 0;var i=r(n(35466)),u=n(43613),o=n(25910),a=n(40824),c=n(37637);t.MembersPage=function(e){var t=e.id,n=void 0===t?"members":t,r=e.title,l=void 0===r?"Members":r;return i.default.createElement(c.Page,{id:n},i.default.createElement(u.ApiUrlConsumer,null,(function(e){return i.default.createElement(o.MediaListWrapper,{title:l,className:"items-list-ver"},i.default.createElement(a.LazyLoadItemListAsync,{requestUrl:e.users}))})))}},37637:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),u=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return i(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.Page=void 0;var o=u(n(35466)),a=n(20541),c=n(84234),l=n(36191);t.Page=function(e){var t=e.id,n=e.children,r=void 0===n?null:n;return o.useEffect((function(){a.PageActions.initPage(t)}),[]),o.default.createElement(o.default.Fragment,null,o.default.createElement(l.PageMain,{key:"page-main"},r),o.default.createElement(c.Notifications,{key:"notifications"}))}}},n={};function r(e){var i=n[e];if(void 0!==i)return i.exports;var u=n[e]={exports:{}};return t[e].call(u.exports,u,u.exports,r),u.exports}r.m=t,e=[],r.O=function(t,n,i,u){if(!n){var o=1/0;for(l=0;l<e.length;l++){n=e[l][0],i=e[l][1],u=e[l][2];for(var a=!0,c=0;c<n.length;c++)(!1&u||o>=u)&&Object.keys(r.O).every((function(e){return r.O[e](n[c])}))?n.splice(c--,1):(a=!1,u<o&&(o=u));a&&(e.splice(l--,1),t=i())}return t}u=u||0;for(var l=e.length;l>0&&e[l-1][2]>u;l--)e[l]=e[l-1];e[l]=[n,i,u]},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,{a:t}),t},r.d=function(e,t){for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.j=21,function(){var e={21:0};r.O.j=function(t){return 0===e[t]};var t=function(t,n){var i,u,o=n[0],a=n[1],c=n[2],l=0;for(i in a)r.o(a,i)&&(r.m[i]=a[i]);if(c)var s=c(r);for(t&&t(n);l<o.length;l++)u=o[l],r.o(e,u)&&e[u]&&e[u][0](),e[o[l]]=0;return r.O(s)},n=self.webpackChunkmediacms_frontend=self.webpackChunkmediacms_frontend||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))}();var i=r.O(void 0,[431],(function(){return r(84782)}));i=r.O(i)}(); |