mirror of
https://github.com/mediacms-io/mediacms.git
synced 2026-04-23 15:58:08 -04:00
1 line
4.2 KiB
JavaScript
1 line
4.2 KiB
JavaScript
!function(){var e,r={83:function(e,r,t){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0}),r.CategoriesPage=void 0;var i=n(t(9471)),o=t(8790),u=t(2855),a=t(7731),c=t(9287),f=t(9200);r.CategoriesPage=function(e){var r=e.id,t=void 0===r?"categories":r,n=e.title,s=void 0===n?(0,f.inEmbeddedApp)()?(0,f.translateString)("Courses"):(0,f.translateString)("Categories"):n;return i.default.createElement(c.Page,{id:t},i.default.createElement(o.ApiUrlConsumer,null,(function(e){return i.default.createElement(u.MediaListWrapper,{title:s,className:"items-list-ver"},i.default.createElement(a.LazyLoadItemListAsync,{singleLinkContent:!0,inCategoriesList:!0,requestUrl:e.archive.categories}))})))}},463:function(e,r,t){"use strict";t.d(r,{c:function(){return o}});var n=t(4571),i=t.n(n);function o(e,r){let t=i()(e,{});return""!==t.origin&&"null"!==t.origin&&t.origin||(t=i()(r+"/"+e.replace(/^\//g,""),{})),t.toString()}},977:function(e,r,t){"use strict";t.d(r,{A:function(){return i}});var n=t(7143);function i(e,r){return n.register(e[r].bind(e)),e}},1702:function(e,r,t){"use strict";t.d(r,{R:function(){return i},e:function(){return o}});var n=t(6403);const i=function(e,r,t){return void 0===e[r]||(i=e[r])===Math.trunc(i)&&i>=0?null:(0,n.m)(["Invalid prop `"+r+"` of type `"+typeof e[r]+"` supplied to `"+(t||"N/A")+"`, expected `positive integer or zero` ("+e[r]+")."]);var i},o=function(e,r,t){return void 0===e[r]||(i=e[r])===Math.trunc(i)&&i>0?null:(0,n.m)(["Invalid prop `"+r+"` of type `"+typeof e[r]+"` supplied to `"+(t||"N/A")+"`, expected `positive integer` ("+e[r]+")."]);var i}},3461:function(e,r,t){"use strict";var n=t(2985),i=t(83);(0,n.C)("page-categories",i.CategoriesPage)},6403:function(e,r,t){"use strict";t.d(r,{g:function(){return u},m:function(){return o}});var n=t(8004);function i(e,r,t){let n;switch(t){case TypeError:case RangeError:case SyntaxError:case ReferenceError:n=new t(r[0]);break;default:n=new Error(r[0])}return e(n.message,...r.slice(1)),n}function o(e,r){return i(n.z,e,r)}function u(e,r){return i(n.R,e,r)}},7143:function(e,r,t){const n=t(2063).Dispatcher;e.exports=new n},8004:function(e,r,t){"use strict";t.d(r,{R:function(){return o},z:function(){return u}});var n=t(8974);const i=function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return n[r[0]](...r.slice(1))},o=function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return i("warn",...r)},u=function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return i("error",...r)}}},t={};function n(e){var i=t[e];if(void 0!==i)return i.exports;var o=t[e]={exports:{}};return r[e].call(o.exports,o,o.exports,n),o.exports}n.m=r,e=[],n.O=function(r,t,i,o){if(!t){var u=1/0;for(s=0;s<e.length;s++){t=e[s][0],i=e[s][1],o=e[s][2];for(var a=!0,c=0;c<t.length;c++)(!1&o||u>=o)&&Object.keys(n.O).every((function(e){return n.O[e](t[c])}))?t.splice(c--,1):(a=!1,o<u&&(u=o));if(a){e.splice(s--,1);var f=i();void 0!==f&&(r=f)}}return r}o=o||0;for(var s=e.length;s>0&&e[s-1][2]>o;s--)e[s]=e[s-1];e[s]=[t,i,o]},n.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(r,{a:r}),r},n.d=function(e,r){for(var t in r)n.o(r,t)&&!n.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.j=639,function(){var e={639:0};n.O.j=function(r){return 0===e[r]};var r=function(r,t){var i,o,u=t[0],a=t[1],c=t[2],f=0;if(u.some((function(r){return 0!==e[r]}))){for(i in a)n.o(a,i)&&(n.m[i]=a[i]);if(c)var s=c(n)}for(r&&r(t);f<u.length;f++)o=u[f],n.o(e,o)&&e[o]&&e[o][0](),e[o]=0;return n.O(s)},t=self.webpackChunkmediacms_frontend=self.webpackChunkmediacms_frontend||[];t.forEach(r.bind(null,0)),t.push=r.bind(null,t.push.bind(t))}();var i=n.O(void 0,[276],(function(){return n(3461)}));i=n.O(i)}(); |