ok

Mini Shell

Direktori : /proc/self/root/usr/local/sitepad/editor/site-inc/js/dist/
Upload File :
Current File : //proc/self/root/usr/local/sitepad/editor/site-inc/js/dist/core-data.min.js

this.wp=this.wp||{},this.wp.coreData=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=310)}({120:function(e,t){e.exports=function(e){if(!e.webpackPolyfill){var t=Object.create(e);t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),Object.defineProperty(t,"exports",{enumerable:!0}),t.webpackPolyfill=1}return t}},15:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"a",function(){return r})},19:function(e,t,n){"use strict";var r=n(33);function i(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||Object(r.a)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}n.d(t,"a",function(){return i})},2:function(e,t){!function(){e.exports=this.lodash}()},24:function(e,t){!function(){e.exports=this.wp.url}()},25:function(e,t,n){"use strict";var r=n(35);var i=n(36);function o(e,t){return Object(r.a)(e)||function(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var u,a=e[Symbol.iterator]();!(r=(u=a.next()).done)&&(n.push(u.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{r||null==a.return||a.return()}finally{if(i)throw o}}return n}(e,t)||Object(i.a)()}n.d(t,"a",function(){return o})},30:function(e,t){!function(){e.exports=this.wp.apiFetch}()},31:function(e,t,n){"use strict";var r,i;function o(e){return[e]}function u(){var e={clear:function(){e.head=null}};return e}function a(e,t,n){var r;if(e.length!==t.length)return!1;for(r=n;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}r={},i="undefined"!=typeof WeakMap,t.a=function(e,t){var n,c;function s(){n=i?new WeakMap:u()}function f(){var n,r,i,o,u,s=arguments.length;for(o=new Array(s),i=0;i<s;i++)o[i]=arguments[i];for(u=t.apply(null,o),(n=c(u)).isUniqueByDependants||(n.lastDependants&&!a(u,n.lastDependants,0)&&n.clear(),n.lastDependants=u),r=n.head;r;){if(a(r.args,o,1))return r!==n.head&&(r.prev.next=r.next,r.next&&(r.next.prev=r.prev),r.next=n.head,r.prev=null,n.head.prev=r,n.head=r),r.val;r=r.next}return r={val:e.apply(null,o)},o[0]=null,r.args=o,n.head&&(n.head.prev=r,r.next=n.head),n.head=r,r.val}return t||(t=o),c=i?function(e){var t,i,o,a,c,s=n,f=!0;for(t=0;t<e.length;t++){if(i=e[t],!(c=i)||"object"!=typeof c){f=!1;break}s.has(i)?s=s.get(i):(o=new WeakMap,s.set(i,o),s=o)}return s.has(r)||((a=u()).isUniqueByDependants=f,s.set(r,a)),s.get(r)}:function(){return n},f.getDependants=t,f.clear=s,s(),f}},310:function(e,t,n){"use strict";n.r(t);var r={};n.r(r),n.d(r,"receiveUserQuery",function(){return T}),n.d(r,"addEntities",function(){return A}),n.d(r,"receiveEntityRecords",function(){return M}),n.d(r,"receiveThemeSupports",function(){return U}),n.d(r,"receiveEmbedPreview",function(){return C}),n.d(r,"saveEntityRecord",function(){return N}),n.d(r,"receiveUploadPermissions",function(){return D});var i={};n.r(i),n.d(i,"isRequestingEmbedPreview",function(){return Z}),n.d(i,"getAuthors",function(){return $}),n.d(i,"getUserQueryResults",function(){return ee}),n.d(i,"getEntitiesByKind",function(){return te}),n.d(i,"getEntity",function(){return ne}),n.d(i,"getEntityRecord",function(){return re}),n.d(i,"getEntityRecords",function(){return ie}),n.d(i,"getThemeSupports",function(){return oe}),n.d(i,"getEmbedPreview",function(){return ue}),n.d(i,"isPreviewEmbedFallback",function(){return ae}),n.d(i,"hasUploadPermissions",function(){return ce});var o={};n.r(o),n.d(o,"getAuthors",function(){return ve}),n.d(o,"getEntityRecord",function(){return be}),n.d(o,"getEntityRecords",function(){return ye}),n.d(o,"getThemeSupports",function(){return ge}),n.d(o,"getEmbedPreview",function(){return me}),n.d(o,"hasUploadPermissions",function(){return we});var u=n(8),a=n(5),c=n(25),s=n(19),f=n(15),d=n(2),l=function(e){return function(t){return function(n,r){return void 0===n||e(r)?t(n,r):n}}},p=function(e){return function(t){return function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0,i=r[e];if(void 0===i)return n;var o=t(n[i],r);return o===n[i]?n:Object(u.a)({},n,Object(f.a)({},i,o))}}},h=function(e){return function(t){return function(n,r){return t(n,e(r))}}};var v=function(e){var t=new WeakMap;return function(n){var r;return t.has(n)?r=t.get(n):(r=e(n),Object(d.isObjectLike)(n)&&t.set(n,r)),r}};function b(e){return{type:"RECEIVE_ITEMS",items:Object(d.castArray)(e)}}var y=n(31),g=n(66),m=n.n(g),w=n(24);var O=v(function(e){for(var t={stableKey:"",page:1,perPage:10},n=Object.keys(e).sort(),r=0;r<n.length;r++){var i=n[r],o=e[i];switch(i){case"page":t[i]=Number(o);break;case"per_page":t.perPage=Number(o);break;default:t.stableKey+=(t.stableKey?"&":"")+Object(w.addQueryArgs)("",Object(f.a)({},i,o)).slice(1)}}return t}),E=new WeakMap;var j=Object(y.a)(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=E.get(e);if(n){var r=n.get(t);if(void 0!==r)return r}else n=new m.a,E.set(e,n);var i=function(e,t){var n=O(t),r=n.stableKey,i=n.page,o=n.perPage;if(!e.queries[r])return null;var u=e.queries[r];if(!u)return null;for(var a=-1===o?0:(i-1)*o,c=-1===o?u.length:Math.min(a+o,u.length),s=[],f=a;f<c;f++){var d=u[f];s.push(e.items[d])}return s}(e,t);return n.set(t,i),i}),x=n(62),k=n(30),R=n.n(k);function I(e){return{type:"API_FETCH",request:e}}function _(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return{type:"SELECT",selectorName:e,args:n}}var P={API_FETCH:function(e){var t=e.request;return R()(t)},SELECT:function(e){var t,n=e.selectorName,r=e.args;return(t=Object(a.select)("core"))[n].apply(t,Object(s.a)(r))}},S=regeneratorRuntime.mark(N);function T(e,t){return{type:"RECEIVE_USER_QUERY",users:Object(d.castArray)(t),queryID:e}}function A(e){return{type:"ADD_ENTITIES",entities:e}}function M(e,t,n,r){var i,o=arguments.length>4&&void 0!==arguments[4]&&arguments[4];return i=r?function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object(u.a)({},b(e),{query:t})}(n,r):b(n),Object(u.a)({},i,{kind:e,name:t,invalidateCache:o})}function U(e){return{type:"RECEIVE_THEME_SUPPORTS",themeSupports:e}}function C(e,t){return{type:"RECEIVE_EMBED_PREVIEW",url:e,preview:t}}function N(e,t,n){var r,i,o,u,a;return regeneratorRuntime.wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return c.next=2,Y(e);case 2:if(r=c.sent,i=Object(d.find)(r,{kind:e,name:t})){c.next=6;break}return c.abrupt("return");case 6:return o=i.key||B,u=n[o],c.next=10,I({path:"".concat(i.baseURL).concat(u?"/"+u:""),method:u?"PUT":"POST",data:n});case 10:return a=c.sent,c.next=13,M(e,t,a,void 0,!0);case 13:return c.abrupt("return",a);case 14:case"end":return c.stop()}},S,this)}function D(e){return{type:"RECEIVE_UPLOAD_PERMISSIONS",hasUploadPermissions:e}}var q=regeneratorRuntime.mark(F),L=regeneratorRuntime.mark(Q),V=regeneratorRuntime.mark(Y),B="id",K=[{name:"postType",kind:"root",key:"slug",baseURL:"/core/types"},{name:"media",kind:"root",baseURL:"/core/media",plural:"mediaItems"},{name:"taxonomy",kind:"root",key:"slug",baseURL:"/core/taxonomies",plural:"taxonomies"}],W=[{name:"postType",loadEntities:F},{name:"taxonomy",loadEntities:Q}];function F(){var e;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,I({path:"/core/types?context=edit"});case 2:return e=t.sent,t.abrupt("return",Object(d.map)(e,function(e,t){return{kind:"postType",baseURL:"/core/"+e.rest_base,name:t}}));case 4:case"end":return t.stop()}},q,this)}function Q(){var e;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,I({path:"/core/taxonomies?context=edit"});case 2:return e=t.sent,t.abrupt("return",Object(d.map)(e,function(e,t){return{kind:"taxonomy",baseURL:"/core/"+e.rest_base,name:t}}));case 4:case"end":return t.stop()}},L,this)}var H=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"get",r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=Object(d.find)(K,{kind:e,name:t}),o="root"===e?"":Object(d.upperFirst)(Object(d.camelCase)(e)),u=Object(d.upperFirst)(Object(d.camelCase)(t))+(r?"s":""),a=r&&i.plural?Object(d.upperFirst)(Object(d.camelCase)(i.plural)):u;return"".concat(n).concat(o).concat(a)};function Y(e){var t,n;return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,_("getEntitiesByKind",e);case 2:if(!(t=r.sent)||0===t.length){r.next=5;break}return r.abrupt("return",t);case 5:if(n=Object(d.find)(W,{name:e})){r.next=8;break}return r.abrupt("return",[]);case 8:return r.next=10,n.loadEntities();case 10:return t=r.sent,r.next=13,A(t);case 13:return r.abrupt("return",t);case 14:case"end":return r.stop()}},V,this)}var z=Object(d.flowRight)([l(function(e){return"query"in e}),h(function(e){return e.query?Object(u.a)({},e,O(e.query)):e}),p("stableKey")])(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0,n=t.type,r=t.page,i=t.perPage,o=t.key,u=void 0===o?B:o;return"RECEIVE_ITEMS"!==n?e:function(e,t,n,r){for(var i=(n-1)*r,o=Math.max(e.length,i+t.length),u=new Array(o),a=0;a<o;a++){var c=a>=i&&a<i+t.length;u[a]=c?t[a-i]:e[a]}return u}(e||[],Object(d.map)(t.items,u),r,i)}),G=Object(x.b)({items:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_ITEMS":return Object(u.a)({},e,Object(d.keyBy)(t.items,t.key||B))}return e},queries:z});var X=Object(a.combineReducers)({terms:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_TERMS":return Object(u.a)({},e,Object(f.a)({},t.taxonomy,t.terms))}return e},users:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{byId:{},queries:{}},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_USER_QUERY":return{byId:Object(u.a)({},e.byId,Object(d.keyBy)(t.users,"id")),queries:Object(u.a)({},e.queries,Object(f.a)({},t.queryID,Object(d.map)(t.users,function(e){return e.id})))}}return e},taxonomies:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_TAXONOMIES":return t.taxonomies}return e},themeSupports:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_THEME_SUPPORTS":return Object(u.a)({},e,t.themeSupports)}return e},entities:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:K,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"ADD_ENTITIES":return Object(s.a)(e).concat(Object(s.a)(t.entities))}return e}(e.config,t),r=e.reducer;if(!r||n!==e.config){var i=Object(d.groupBy)(n,"kind");r=Object(a.combineReducers)(Object.entries(i).reduce(function(e,t){var n=Object(c.a)(t,2),r=n[0],i=n[1],o=Object(a.combineReducers)(i.reduce(function(e,t){return Object(u.a)({},e,Object(f.a)({},t.name,function(e){return Object(d.flowRight)([l(function(t){return t.name&&t.kind&&t.name===e.name&&t.kind===e.kind}),h(function(t){return Object(u.a)({},t,{key:e.key||B})})])(G)}(t)))},{}));return e[r]=o,e},{}))}var o=r(e.data,t);return o===e.data&&n===e.config&&r===e.reducer?e:{reducer:r,data:o,config:n}},embedPreviews:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_EMBED_PREVIEW":var n=t.url,r=t.preview;return Object(u.a)({},e,Object(f.a)({},n,r))}return e},hasUploadPermissions:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_UPLOAD_PERMISSIONS":return t.hasUploadPermissions}return e}}),J="core";function Z(e,t){return function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return Object(a.select)("core/data").isResolving(J,e,n)}("getEmbedPreview",t)}function $(e){return ee(e,"authors")}var ee=Object(y.a)(function(e,t){var n=e.users.queries[t];return Object(d.map)(n,function(t){return e.users.byId[t]})},function(e,t){return[e.users.queries[t],e.users.byId]});function te(e,t){return Object(d.filter)(e.entities.config,{kind:t})}function ne(e,t,n){return Object(d.find)(e.entities.config,{kind:t,name:n})}function re(e,t,n,r){return Object(d.get)(e.entities.data,[t,n,"items",r])}function ie(e,t,n,r){var i=Object(d.get)(e.entities.data,[t,n]);return i?j(i,r):[]}function oe(e){return e.themeSupports}function ue(e,t){return e.embedPreviews[t]}function ae(e,t){var n=e.embedPreviews[t],r='<a href="'+t+'">'+t+"</a>";return!!n&&n.html===r}function ce(e){return e.hasUploadPermissions}var se=regeneratorRuntime.mark(ve),fe=regeneratorRuntime.mark(be),de=regeneratorRuntime.mark(ye),le=regeneratorRuntime.mark(ge),pe=regeneratorRuntime.mark(me),he=regeneratorRuntime.mark(we);function ve(){var e;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,I({path:"/core/users/?who=authors&per_page=-1"});case 2:return e=t.sent,t.next=5,T("authors",e);case 5:case"end":return t.stop()}},se,this)}function be(e,t,n){var r,i,o;return regeneratorRuntime.wrap(function(u){for(;;)switch(u.prev=u.next){case 0:return u.next=2,Y(e);case 2:if(r=u.sent,i=Object(d.find)(r,{kind:e,name:t})){u.next=6;break}return u.abrupt("return");case 6:return u.next=8,I({path:"".concat(i.baseURL,"/").concat(n,"?context=edit")});case 8:return o=u.sent,u.next=11,M(e,t,o);case 11:case"end":return u.stop()}},fe,this)}function ye(e,t){var n,r,i,o,a,c=arguments;return regeneratorRuntime.wrap(function(s){for(;;)switch(s.prev=s.next){case 0:return n=c.length>2&&void 0!==c[2]?c[2]:{},s.next=3,Y(e);case 3:if(r=s.sent,i=Object(d.find)(r,{kind:e,name:t})){s.next=7;break}return s.abrupt("return");case 7:return o=Object(w.addQueryArgs)(i.baseURL,Object(u.a)({},n,{context:"edit"})),s.next=10,I({path:o});case 10:return a=s.sent,s.next=13,M(e,t,Object.values(a),n);case 13:case"end":return s.stop()}},de,this)}function ge(){var e;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,I({path:"/core/themes?status=active"});case 2:return e=t.sent,t.next=5,U(e[0].theme_supports);case 5:case"end":return t.stop()}},le,this)}function me(e){var t;return regeneratorRuntime.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,I({path:Object(w.addQueryArgs)("/oembed/1.0/proxy",{url:e})});case 3:return t=n.sent,n.next=6,C(e,t);case 6:n.next=12;break;case 8:return n.prev=8,n.t0=n.catch(0),n.next=12,C(e,!1);case 12:case"end":return n.stop()}},pe,this,[[0,8]])}function we(){var e,t;return regeneratorRuntime.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,I({path:"/core/media",method:"OPTIONS",parse:!1});case 2:return e=n.sent,t=Object(d.hasIn)(e,["headers","get"])?e.headers.get("allow"):Object(d.get)(e,["headers","Allow"],""),n.next=6,D(Object(d.includes)(t,"POST"));case 6:case"end":return n.stop()}},he,this)}ye.shouldInvalidate=function(e,t,n){return"RECEIVE_ITEMS"===e.type&&e.invalidateCache&&t===e.kind&&n===e.name};var Oe=K.reduce(function(e,t){var n=t.kind,r=t.name;return e[H(n,r)]=function(e,t){return re(e,n,r,t)},e[H(n,r,"get",!0)]=function(e){for(var t=arguments.length,o=new Array(t>1?t-1:0),u=1;u<t;u++)o[u-1]=arguments[u];return ie.apply(i,[e,n,r].concat(o))},e},{}),Ee=K.reduce(function(e,t){var n=t.kind,r=t.name;e[H(n,r)]=function(e){return be(n,r,e)};var i=H(n,r,"get",!0);return e[i]=function(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];return ye.apply(o,[n,r].concat(t))},e[i].shouldInvalidate=function(e){for(var t,i=arguments.length,o=new Array(i>1?i-1:0),u=1;u<i;u++)o[u-1]=arguments[u];return(t=ye).shouldInvalidate.apply(t,[e,n,r].concat(o))},e},{}),je=K.reduce(function(e,t){var n=t.kind,r=t.name;return e[H(n,r,"save")]=function(e){return N(n,r,e)},e},{});Object(a.registerStore)(J,{reducer:X,controls:P,actions:Object(u.a)({},r,je),selectors:Object(u.a)({},i,Oe),resolvers:Object(u.a)({},o,Ee)})},33:function(e,t,n){"use strict";function r(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}n.d(t,"a",function(){return r})},35:function(e,t,n){"use strict";function r(e){if(Array.isArray(e))return e}n.d(t,"a",function(){return r})},36:function(e,t,n){"use strict";function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}n.d(t,"a",function(){return r})},5:function(e,t){!function(){e.exports=this.wp.data}()},51:function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},62:function(e,t,n){"use strict";n.d(t,"c",function(){return a}),n.d(t,"b",function(){return s}),n.d(t,"a",function(){return d});var r=n(67),i=function(){return Math.random().toString(36).substring(7).split("").join(".")},o={INIT:"@@redux/INIT"+i(),REPLACE:"@@redux/REPLACE"+i(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+i()}};function u(e){if("object"!=typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function a(e,t,n){var i;if("function"==typeof t&&"function"==typeof n||"function"==typeof n&&"function"==typeof arguments[3])throw new Error("It looks like you are passing several store enhancers to createStore(). This is not supported. Instead, compose them together to a single function");if("function"==typeof t&&void 0===n&&(n=t,t=void 0),void 0!==n){if("function"!=typeof n)throw new Error("Expected the enhancer to be a function.");return n(a)(e,t)}if("function"!=typeof e)throw new Error("Expected the reducer to be a function.");var c=e,s=t,f=[],d=f,l=!1;function p(){d===f&&(d=f.slice())}function h(){if(l)throw new Error("You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store.");return s}function v(e){if("function"!=typeof e)throw new Error("Expected the listener to be a function.");if(l)throw new Error("You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api-reference/store#subscribe(listener) for more details.");var t=!0;return p(),d.push(e),function(){if(t){if(l)throw new Error("You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api-reference/store#subscribe(listener) for more details.");t=!1,p();var n=d.indexOf(e);d.splice(n,1)}}}function b(e){if(!u(e))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if(void 0===e.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(l)throw new Error("Reducers may not dispatch actions.");try{l=!0,s=c(s,e)}finally{l=!1}for(var t=f=d,n=0;n<t.length;n++){(0,t[n])()}return e}return b({type:o.INIT}),(i={dispatch:b,subscribe:v,getState:h,replaceReducer:function(e){if("function"!=typeof e)throw new Error("Expected the nextReducer to be a function.");c=e,b({type:o.REPLACE})}})[r.a]=function(){var e,t=v;return(e={subscribe:function(e){if("object"!=typeof e||null===e)throw new TypeError("Expected the observer to be an object.");function n(){e.next&&e.next(h())}return n(),{unsubscribe:t(n)}}})[r.a]=function(){return this},e},i}function c(e,t){var n=t&&t.type;return"Given "+(n&&'action "'+String(n)+'"'||"an action")+', reducer "'+e+'" returned undefined. To ignore an action, you must explicitly return the previous state. If you want this reducer to hold no value, you can return null instead of undefined.'}function s(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++){var i=t[r];0,"function"==typeof e[i]&&(n[i]=e[i])}var u,a=Object.keys(n);try{!function(e){Object.keys(e).forEach(function(t){var n=e[t];if(void 0===n(void 0,{type:o.INIT}))throw new Error('Reducer "'+t+"\" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined. If you don't want to set a value for this reducer, you can use null instead of undefined.");if(void 0===n(void 0,{type:o.PROBE_UNKNOWN_ACTION()}))throw new Error('Reducer "'+t+"\" returned undefined when probed with a random type. Don't try to handle "+o.INIT+' or other actions in "redux/*" namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined, but can be null.')})}(n)}catch(e){u=e}return function(e,t){if(void 0===e&&(e={}),u)throw u;for(var r=!1,i={},o=0;o<a.length;o++){var s=a[o],f=n[s],d=e[s],l=f(d,t);if(void 0===l){var p=c(s,t);throw new Error(p)}i[s]=l,r=r||l!==d}return r?i:e}}function f(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(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return function(){var n=e.apply(void 0,arguments),r=function(){throw new Error("Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")},i={getState:n.getState,dispatch:function(){return r.apply(void 0,arguments)}},o=t.map(function(e){return e(i)});return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){f(e,t,n[t])})}return e}({},n,{dispatch:r=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce(function(e,t){return function(){return e(t.apply(void 0,arguments))}})}.apply(void 0,o)(n.dispatch)})}}}},66:function(e,t,n){"use strict";function r(e){return(r="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)}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t){var n=e._map,r=e._arrayTreeMap,i=e._objectTreeMap;if(n.has(t))return n.get(t);for(var o=Object.keys(t).sort(),u=Array.isArray(t)?r:i,a=0;a<o.length;a++){var c=o[a];if(void 0===(u=u.get(c)))return;var s=t[c];if(void 0===(u=u.get(s)))return}var f=u.get("_ekm_value");return f?(n.delete(f[0]),f[0]=t,u.set("_ekm_value",f),n.set(t,f),f):void 0}var u=function(){function e(t){if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.clear(),t instanceof e){var n=[];t.forEach(function(e,t){n.push([t,e])}),t=n}if(null!=t)for(var r=0;r<t.length;r++)this.set(t[r][0],t[r][1])}var t,n,u;return t=e,(n=[{key:"set",value:function(t,n){if(null===t||"object"!==r(t))return this._map.set(t,n),this;for(var i=Object.keys(t).sort(),o=[t,n],u=Array.isArray(t)?this._arrayTreeMap:this._objectTreeMap,a=0;a<i.length;a++){var c=i[a];u.has(c)||u.set(c,new e),u=u.get(c);var s=t[c];u.has(s)||u.set(s,new e),u=u.get(s)}var f=u.get("_ekm_value");return f&&this._map.delete(f[0]),u.set("_ekm_value",o),this._map.set(t,o),this}},{key:"get",value:function(e){if(null===e||"object"!==r(e))return this._map.get(e);var t=o(this,e);return t?t[1]:void 0}},{key:"has",value:function(e){return null===e||"object"!==r(e)?this._map.has(e):void 0!==o(this,e)}},{key:"delete",value:function(e){return!!this.has(e)&&(this.set(e,void 0),!0)}},{key:"forEach",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this;this._map.forEach(function(i,o){null!==o&&"object"===r(o)&&(i=i[1]),e.call(n,i,o,t)})}},{key:"clear",value:function(){this._map=new Map,this._arrayTreeMap=new Map,this._objectTreeMap=new Map}},{key:"size",get:function(){return this._map.size}}])&&i(t.prototype,n),u&&i(t,u),e}();e.exports=u},67:function(e,t,n){"use strict";(function(e,r){var i,o=n(85);i="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==e?e:r;var u=Object(o.a)(i);t.a=u}).call(this,n(51),n(120)(e))},8:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=n(15);function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),i.forEach(function(t){Object(r.a)(e,t,n[t])})}return e}},85:function(e,t,n){"use strict";function r(e){var t,n=e.Symbol;return"function"==typeof n?n.observable?t=n.observable:(t=n("observable"),n.observable=t):t="@@observable",t}n.d(t,"a",function(){return r})}});

Zerion Mini Shell 1.0