WordPress/wp-includes/js/dist/core-data.min.js
desrosj 30d8319aa9 Block Editor: Update WordPress packages to include the latest bug fixes.
Updated packages:

@wordpress/annotations@1.7.1
@wordpress/api-fetch@3.6.1
@wordpress/babel-plugin-makepot@3.2.1
@wordpress/babel-preset-default@4.6.1
@wordpress/block-directory@1.0.1
@wordpress/block-editor@3.2.1
@wordpress/block-library@2.9.1
@wordpress/blocks@6.7.1
@wordpress/components@8.3.1
@wordpress/compose@3.7.1
@wordpress/core-data@2.7.1
@wordpress/data-controls@1.3.1
@wordpress/data@4.9.1
@wordpress/docgen@1.4.1
@wordpress/dom@2.5.1
@wordpress/e2e-test-utils@2.4.1
@wordpress/e2e-tests@1.7.1
@wordpress/edit-post@3.8.1
@wordpress/editor@9.7.1
@wordpress/element@2.8.1
@wordpress/format-library@1.9.1
@wordpress/i18n@3.6.1
@wordpress/jest-console@3.3.1
@wordpress/jest-preset-default@5.1.1
@wordpress/keycodes@2.6.1
@wordpress/library-export-default-webpack-plugin@1.4.1
@wordpress/list-reusable-blocks@1.8.1
@wordpress/media-utils@1.2.1
@wordpress/notices@1.8.1
@wordpress/nux@3.7.1
@wordpress/plugins@2.7.1
@wordpress/redux-routine@3.6.1
@wordpress/rich-text@3.7.1
@wordpress/scripts@5.0.1
@wordpress/server-side-render@1.3.1
@wordpress/shortcode@2.4.1
@wordpress/token-list@1.6.1
@wordpress/viewport@2.8.1
@wordpress/wordcount@2.6.1 

Props epiqueras, youknowriad, donmhico, jorgefilipecosta, soean, mcsf, noisysocks, andraganescu, gziolo, talldanwp, iseulde, nrqsnchz, mapk, karmatosed, joen, afercia, kjellr, desrosj.
Fixes #48186.
Built from https://develop.svn.wordpress.org/trunk@46364


git-svn-id: http://core.svn.wordpress.org/trunk@46163 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-09-30 20:07:06 +00:00

1 line
38 KiB
JavaScript

this.wp=this.wp||{},this.wp.coreData=function(t){var e={};function r(n){if(e[n])return e[n].exports;var a=e[n]={i:n,l:!1,exports:{}};return t[n].call(a.exports,a,a.exports,r),a.l=!0,a.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var a in t)r.d(n,a,function(e){return t[e]}.bind(null,a));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=387)}({10:function(t,e,r){"use strict";function n(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}r.d(e,"a",function(){return n})},17:function(t,e,r){"use strict";var n=r(30);function a(t){return function(t){if(Array.isArray(t)){for(var e=0,r=new Array(t.length);e<t.length;e++)r[e]=t[e];return r}}(t)||Object(n.a)(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}r.d(e,"a",function(){return a})},2:function(t,e){!function(){t.exports=this.lodash}()},20:function(t,e,r){t.exports=r(48)},23:function(t,e,r){"use strict";var n=r(38);var a=r(39);function i(t,e){return Object(n.a)(t)||function(t,e){var r=[],n=!0,a=!1,i=void 0;try{for(var o,u=t[Symbol.iterator]();!(n=(o=u.next()).done)&&(r.push(o.value),!e||r.length!==e);n=!0);}catch(t){a=!0,i=t}finally{try{n||null==u.return||u.return()}finally{if(a)throw i}}return r}(t,e)||Object(a.a)()}r.d(e,"a",function(){return i})},26:function(t,e){!function(){t.exports=this.wp.url}()},30:function(t,e,r){"use strict";function n(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}r.d(e,"a",function(){return n})},32:function(t,e){!function(){t.exports=this.wp.apiFetch}()},36:function(t,e,r){"use strict";var n,a;function i(t){return[t]}function o(){var t={clear:function(){t.head=null}};return t}function u(t,e,r){var n;if(t.length!==e.length)return!1;for(n=r;n<t.length;n++)if(t[n]!==e[n])return!1;return!0}n={},a="undefined"!=typeof WeakMap,e.a=function(t,e){var r,c;function s(){r=a?new WeakMap:o()}function f(){var r,n,a,i,o,s=arguments.length;for(i=new Array(s),a=0;a<s;a++)i[a]=arguments[a];for(o=e.apply(null,i),(r=c(o)).isUniqueByDependants||(r.lastDependants&&!u(o,r.lastDependants,0)&&r.clear(),r.lastDependants=o),n=r.head;n;){if(u(n.args,i,1))return n!==r.head&&(n.prev.next=n.next,n.next&&(n.next.prev=n.prev),n.next=r.head,n.prev=null,r.head.prev=n,r.head=n),n.val;n=n.next}return n={val:t.apply(null,i)},i[0]=null,n.args=i,r.head&&(r.head.prev=n,n.next=r.head),r.head=n,n.val}return e||(e=i),c=a?function(t){var e,a,i,u,c,s=r,f=!0;for(e=0;e<t.length;e++){if(a=t[e],!(c=a)||"object"!=typeof c){f=!1;break}s.has(a)?s=s.get(a):(i=new WeakMap,s.set(a,i),s=i)}return s.has(n)||((u=o()).isUniqueByDependants=f,s.set(n,u)),s.get(n)}:function(){return r},f.getDependants=e,f.clear=s,s(),f}},37:function(t,e){!function(){t.exports=this.wp.deprecated}()},38:function(t,e,r){"use strict";function n(t){if(Array.isArray(t))return t}r.d(e,"a",function(){return n})},387:function(t,e,r){"use strict";r.r(e);var n={};r.r(n),r.d(n,"receiveUserQuery",function(){return V}),r.d(n,"receiveCurrentUser",function(){return q}),r.d(n,"addEntities",function(){return F}),r.d(n,"receiveEntityRecords",function(){return Y}),r.d(n,"receiveThemeSupports",function(){return B}),r.d(n,"receiveEmbedPreview",function(){return G}),r.d(n,"editEntityRecord",function(){return K}),r.d(n,"undo",function(){return Q}),r.d(n,"redo",function(){return W}),r.d(n,"__unstableCreateUndoLevel",function(){return H}),r.d(n,"saveEntityRecord",function(){return z}),r.d(n,"saveEditedEntityRecord",function(){return X}),r.d(n,"receiveUploadPermissions",function(){return J}),r.d(n,"receiveUserPermission",function(){return Z}),r.d(n,"receiveAutosaves",function(){return $});var a={};r.r(a),r.d(a,"isRequestingEmbedPreview",function(){return bt}),r.d(a,"getAuthors",function(){return gt}),r.d(a,"getCurrentUser",function(){return Et}),r.d(a,"getUserQueryResults",function(){return mt}),r.d(a,"getEntitiesByKind",function(){return Ot}),r.d(a,"getEntity",function(){return jt}),r.d(a,"getEntityRecord",function(){return wt}),r.d(a,"getRawEntityRecord",function(){return xt}),r.d(a,"getEntityRecords",function(){return Rt}),r.d(a,"getEntityRecordEdits",function(){return kt}),r.d(a,"getEntityRecordNonTransientEdits",function(){return _t}),r.d(a,"hasEditsForEntityRecord",function(){return Tt}),r.d(a,"getEditedEntityRecord",function(){return It}),r.d(a,"isAutosavingEntityRecord",function(){return St}),r.d(a,"isSavingEntityRecord",function(){return At}),r.d(a,"getLastEntitySaveError",function(){return Ut}),r.d(a,"getUndoEdit",function(){return Ct}),r.d(a,"getRedoEdit",function(){return Lt}),r.d(a,"hasUndo",function(){return Dt}),r.d(a,"hasRedo",function(){return Nt}),r.d(a,"getThemeSupports",function(){return Mt}),r.d(a,"getEmbedPreview",function(){return Vt}),r.d(a,"isPreviewEmbedFallback",function(){return qt}),r.d(a,"hasUploadPermissions",function(){return Ft}),r.d(a,"canUser",function(){return Yt}),r.d(a,"getAutosaves",function(){return Bt}),r.d(a,"getAutosave",function(){return Gt}),r.d(a,"hasFetchedAutosaves",function(){return Kt}),r.d(a,"getReferenceByDistinctEdits",function(){return Qt});var i={};r.r(i),r.d(i,"getAuthors",function(){return ne}),r.d(i,"getCurrentUser",function(){return ae}),r.d(i,"getEntityRecord",function(){return ie}),r.d(i,"getEntityRecords",function(){return oe}),r.d(i,"getThemeSupports",function(){return ue}),r.d(i,"getEmbedPreview",function(){return ce}),r.d(i,"hasUploadPermissions",function(){return se}),r.d(i,"canUser",function(){return fe}),r.d(i,"getAutosaves",function(){return de}),r.d(i,"getAutosave",function(){return le});var o=r(7),u=r(4),c=r(23),s=r(17),f=r(10),d=r(2),l=r(41),p=r.n(l);var v=function(t){return function(e){return function(r,n){return void 0===r||t(n)?e(r,n):r}}},h=function(t){return function(e){return function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0,a=n[t];if(void 0===a)return r;var i=e(r[a],n);return i===r[a]?r:Object(o.a)({},r,Object(f.a)({},a,i))}}},y=function(t){return function(e){return function(r,n){return e(r,t(n))}}};var b=function(t){var e=new WeakMap;return function(r){var n;return e.has(r)?n=e.get(r):(n=t(r),Object(d.isObjectLike)(r)&&e.set(r,n)),n}};function g(t){return{type:"RECEIVE_ITEMS",items:Object(d.castArray)(t)}}var E=r(36),m=r(79),O=r.n(m),j=r(26);var w=b(function(t){for(var e={stableKey:"",page:1,perPage:10},r=Object.keys(t).sort(),n=0;n<r.length;n++){var a=r[n],i=t[a];switch(a){case"page":e[a]=Number(i);break;case"per_page":e.perPage=Number(i);break;default:e.stableKey+=(e.stableKey?"&":"")+Object(j.addQueryArgs)("",Object(f.a)({},a,i)).slice(1)}}return e}),x=new WeakMap;var R=Object(E.a)(function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=x.get(t);if(r){var n=r.get(e);if(void 0!==n)return n}else r=new O.a,x.set(t,r);var a=function(t,e){var r=w(e),n=r.stableKey,a=r.page,i=r.perPage;if(!t.queries[n])return null;var o=t.queries[n];if(!o)return null;for(var u=-1===i?0:(a-1)*i,c=-1===i?o.length:Math.min(u+i,o.length),s=[],f=u;f<c;f++){var d=o[f];s.push(t.items[d])}return s}(t,e);return r.set(e,a),a}),k=r(20),_=r.n(k),T=r(32),I=r.n(T);function S(t){return{type:"API_FETCH",request:t}}function A(t){for(var e=arguments.length,r=new Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];return{type:"SELECT",selectorName:t,args:r}}function U(t){for(var e=arguments.length,r=new Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];return{type:"RESOLVE_SELECT",selectorName:t,args:r}}var P={API_FETCH:function(t){var e=t.request;return I()(e)},SELECT:Object(u.createRegistryControl)(function(t){return function(e){var r,n=e.selectorName,a=e.args;return(r=t.select("core"))[n].apply(r,Object(s.a)(a))}}),RESOLVE_SELECT:Object(u.createRegistryControl)(function(t){return function(e){var r=e.selectorName,n=e.args;return new Promise(function(e){var a=function(){return t.select("core/data").hasFinishedResolution("core",r,n)},i=function(){return t.select("core")[r].apply(null,n)},o=i();if(a())return e(o);var u=t.subscribe(function(){a()&&(u(),e(i()))})})}})},C=_.a.mark(K),L=_.a.mark(Q),D=_.a.mark(W),N=_.a.mark(z),M=_.a.mark(X);function V(t,e){return{type:"RECEIVE_USER_QUERY",users:Object(d.castArray)(e),queryID:t}}function q(t){return{type:"RECEIVE_CURRENT_USER",currentUser:t}}function F(t){return{type:"ADD_ENTITIES",entities:t}}function Y(t,e,r,n){var a,i=arguments.length>4&&void 0!==arguments[4]&&arguments[4];return"postType"===t&&(r=Object(d.castArray)(r).map(function(t){return"auto-draft"===t.status?Object(o.a)({},t,{title:""}):t})),a=n?function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object(o.a)({},g(t),{query:e})}(r,n):g(r),Object(o.a)({},a,{kind:t,name:e,invalidateCache:i})}function B(t){return{type:"RECEIVE_THEME_SUPPORTS",themeSupports:t}}function G(t,e){return{type:"RECEIVE_EMBED_PREVIEW",url:t,preview:e}}function K(t,e,r,n){var a,i,u,c,s,f,l,p,v,h=arguments;return _.a.wrap(function(y){for(;;)switch(y.prev=y.next){case 0:return a=h.length>4&&void 0!==h[4]?h[4]:{},y.next=3,A("getEntity",t,e);case 3:return i=y.sent,u=i.transientEdits,c=void 0===u?{}:u,s=i.mergedEdits,f=void 0===s?{}:s,y.next=10,A("getRawEntityRecord",t,e,r);case 10:return l=y.sent,y.next=13,A("getEditedEntityRecord",t,e,r);case 13:return p=y.sent,v={kind:t,name:e,recordId:r,edits:Object.keys(n).reduce(function(t,e){var r=l[e],a=p[e],i=f[e]?Object(d.merge)({},a,n[e]):n[e];return t[e]=Object(d.isEqual)(r,i)?void 0:i,t},{}),transientEdits:c},y.abrupt("return",Object(o.a)({type:"EDIT_ENTITY_RECORD"},v,{meta:{undo:!a.undoIgnore&&Object(o.a)({},v,{edits:Object.keys(n).reduce(function(t,e){return t[e]=p[e],t},{})})}}));case 16:case"end":return y.stop()}},C)}function Q(){var t;return _.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,A("getUndoEdit");case 2:if(t=e.sent){e.next=5;break}return e.abrupt("return");case 5:return e.next=7,Object(o.a)({type:"EDIT_ENTITY_RECORD"},t,{meta:{isUndo:!0}});case 7:case"end":return e.stop()}},L)}function W(){var t;return _.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,A("getRedoEdit");case 2:if(t=e.sent){e.next=5;break}return e.abrupt("return");case 5:return e.next=7,Object(o.a)({type:"EDIT_ENTITY_RECORD"},t,{meta:{isRedo:!0}});case 7:case"end":return e.stop()}},D)}function H(){return{type:"CREATE_UNDO_LEVEL"}}function z(t,e,r){var n,a,i,u,c,s,f,l,p,v,h,y,b,g,E,m,O,j,w,x=arguments;return _.a.wrap(function(R){for(;;)switch(R.prev=R.next){case 0:return n=x.length>3&&void 0!==x[3]?x[3]:{isAutosave:!1},a=n.isAutosave,i=void 0!==a&&a,R.next=3,st(t);case 3:if(u=R.sent,c=Object(d.find)(u,{kind:t,name:e})){R.next=7;break}return R.abrupt("return");case 7:return s=c.key||nt,f=r[s],R.next=11,{type:"SAVE_ENTITY_RECORD_START",kind:t,name:e,recordId:f,isAutosave:i};case 11:return R.prev=11,y="".concat(c.baseURL).concat(f?"/"+f:""),R.next=15,A("getRawEntityRecord",t,e,f);case 15:if(b=R.sent,!i){R.next=40;break}return R.next=19,A("getCurrentUser");case 19:return g=R.sent,E=g?g.id:void 0,R.next=23,A("getAutosave",b.type,b.id,E);case 23:return m=R.sent,O=Object(o.a)({},b,m,r),O=Object.keys(O).reduce(function(t,e){return["title","excerpt","content"].includes(e)&&(t[e]=Object(d.get)(O[e],"raw",O[e])),t},{status:"auto-draft"===O.status?"draft":O.status}),R.next=28,S({path:"".concat(y,"/autosaves"),method:"POST",data:O});case 28:if(l=R.sent,b.id!==l.id){R.next=36;break}return j=Object(o.a)({},b,O,l),j=Object.keys(j).reduce(function(t,e){return["title","excerpt","content"].includes(e)?t[e]=Object(d.get)(j[e],"raw",j[e]):t[e]="status"===e?"auto-draft"===b.status&&"draft"===j.status?j.status:b.status:Object(d.get)(b[e],"raw",b[e]),t},{}),R.next=34,Y(t,e,j,void 0,!0);case 34:R.next=38;break;case 36:return R.next=38,$(b.id,l);case 38:R.next=55;break;case 40:return w=r,"postType"===t&&b&&"auto-draft"===b.status&&(w.status||(w=Object(o.a)({},w,{status:"draft"})),w.title&&"Auto Draft"!==w.title||(w=Object(o.a)({},w,{title:""}))),R.next=44,A("getEntityRecord",t,e,f);case 44:return v=R.sent,R.next=47,A("getEntityRecordEdits",t,e,f);case 47:return h=R.sent,R.next=50,Y(t,e,Object(o.a)({},v,w),void 0,!0);case 50:return R.next=52,S({path:y,method:f?"PUT":"POST",data:w});case 52:return l=R.sent,R.next=55,Y(t,e,l,void 0,!0);case 55:R.next=77;break;case 57:if(R.prev=57,R.t0=R.catch(11),p=R.t0,!v||!h){R.next=77;break}return R.next=63,Y(t,e,v,void 0,!0);case 63:return R.t1=K,R.t2=t,R.t3=e,R.t4=f,R.t5=o.a,R.t6={},R.t7=h,R.next=72,A("getEntityRecordEdits",t,e,f);case 72:return R.t8=R.sent,R.t9=(0,R.t5)(R.t6,R.t7,R.t8),R.t10={undoIgnore:!0},R.next=77,(0,R.t1)(R.t2,R.t3,R.t4,R.t9,R.t10);case 77:return R.next=79,{type:"SAVE_ENTITY_RECORD_FINISH",kind:t,name:e,recordId:f,error:p,isAutosave:i};case 79:return R.abrupt("return",l);case 80:case"end":return R.stop()}},N,null,[[11,57]])}function X(t,e,r,n){var a,i;return _.a.wrap(function(u){for(;;)switch(u.prev=u.next){case 0:return u.next=2,A("hasEditsForEntityRecord",t,e,r);case 2:if(u.sent){u.next=4;break}return u.abrupt("return");case 4:return u.next=6,A("getEntityRecordNonTransientEdits",t,e,r);case 6:return a=u.sent,i=Object(o.a)({id:r},a),u.delegateYield(z(t,e,i,n),"t0",9);case 9:case"end":return u.stop()}},M)}function J(t){return{type:"RECEIVE_USER_PERMISSION",key:"create/media",isAllowed:t}}function Z(t,e){return{type:"RECEIVE_USER_PERMISSION",key:t,isAllowed:e}}function $(t,e){return{type:"RECEIVE_AUTOSAVES",postId:t,autosaves:Object(d.castArray)(e)}}var tt=_.a.mark(ot),et=_.a.mark(ut),rt=_.a.mark(st),nt="id",at=[{name:"postType",kind:"root",key:"slug",baseURL:"/wp/v2/types"},{name:"media",kind:"root",baseURL:"/wp/v2/media",plural:"mediaItems"},{name:"taxonomy",kind:"root",key:"slug",baseURL:"/wp/v2/taxonomies",plural:"taxonomies"},{name:"widgetArea",kind:"root",baseURL:"/__experimental/widget-areas",plural:"widgetAreas"}],it=[{name:"postType",loadEntities:ot},{name:"taxonomy",loadEntities:ut}];function ot(){var t;return _.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,S({path:"/wp/v2/types?context=edit"});case 2:return t=e.sent,e.abrupt("return",Object(d.map)(t,function(t,e){return{kind:"postType",baseURL:"/wp/v2/"+t.rest_base,name:e,transientEdits:{blocks:!0},mergedEdits:{meta:!0}}}));case 4:case"end":return e.stop()}},tt)}function ut(){var t;return _.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,S({path:"/wp/v2/taxonomies?context=edit"});case 2:return t=e.sent,e.abrupt("return",Object(d.map)(t,function(t,e){return{kind:"taxonomy",baseURL:"/wp/v2/"+t.rest_base,name:e}}));case 4:case"end":return e.stop()}},et)}var ct=function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"get",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],a=Object(d.find)(at,{kind:t,name:e}),i="root"===t?"":Object(d.upperFirst)(Object(d.camelCase)(t)),o=Object(d.upperFirst)(Object(d.camelCase)(e))+(n?"s":""),u=n&&a.plural?Object(d.upperFirst)(Object(d.camelCase)(a.plural)):o;return"".concat(r).concat(i).concat(u)};function st(t){var e,r;return _.a.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,A("getEntitiesByKind",t);case 2:if(!(e=n.sent)||0===e.length){n.next=5;break}return n.abrupt("return",e);case 5:if(r=Object(d.find)(it,{name:t})){n.next=8;break}return n.abrupt("return",[]);case 8:return n.next=10,r.loadEntities();case 10:return e=n.sent,n.next=13,F(e);case 13:return n.abrupt("return",e);case 14:case"end":return n.stop()}},rt)}var ft=Object(d.flowRight)([v(function(t){return"query"in t}),y(function(t){return t.query?Object(o.a)({},t,w(t.query)):t}),h("stableKey")])(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1?arguments[1]:void 0,r=e.type,n=e.page,a=e.perPage,i=e.key,o=void 0===i?nt:i;return"RECEIVE_ITEMS"!==r?t:function(t,e,r,n){for(var a=(r-1)*n,i=Math.max(t.length,a+e.length),o=new Array(i),u=0;u<i;u++){var c=u>=a&&u<a+e.length;o[u]=c?e[u-a]:t[u]}return o}(t||[],Object(d.map)(e.items,o),n,a)}),dt=Object(u.combineReducers)({items:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case"RECEIVE_ITEMS":var r=e.key||nt;return Object(o.a)({},t,e.items.reduce(function(e,n){var a=n[r];return e[a]=function(t,e){if(!t)return e;var r=!1,n={};for(var a in e)Object(d.isEqual)(t[a],e[a])?n[a]=t[a]:(r=!0,n[a]=e[a]);return r?n:t}(t[a],n),e},{}))}return t},queries:ft});var lt,pt=[];pt.offset=0;var vt=Object(u.combineReducers)({terms:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case"RECEIVE_TERMS":return Object(o.a)({},t,Object(f.a)({},e.taxonomy,e.terms))}return t},users:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{byId:{},queries:{}},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case"RECEIVE_USER_QUERY":return{byId:Object(o.a)({},t.byId,Object(d.keyBy)(e.users,"id")),queries:Object(o.a)({},t.queries,Object(f.a)({},e.queryID,Object(d.map)(e.users,function(t){return t.id})))}}return t},currentUser:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case"RECEIVE_CURRENT_USER":return e.currentUser}return t},taxonomies:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1?arguments[1]:void 0;switch(e.type){case"RECEIVE_TAXONOMIES":return e.taxonomies}return t},themeSupports:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case"RECEIVE_THEME_SUPPORTS":return Object(o.a)({},t,e.themeSupports)}return t},entities:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0,r=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:at,e=arguments.length>1?arguments[1]:void 0;switch(e.type){case"ADD_ENTITIES":return[].concat(Object(s.a)(t),Object(s.a)(e.entities))}return t}(t.config,e),n=t.reducer;if(!n||r!==t.config){var a=Object(d.groupBy)(r,"kind");n=Object(u.combineReducers)(Object.entries(a).reduce(function(t,e){var r=Object(c.a)(e,2),n=r[0],a=r[1],i=Object(u.combineReducers)(a.reduce(function(t,e){return Object(o.a)({},t,Object(f.a)({},e.name,function(t){return Object(d.flowRight)([v(function(e){return e.name&&e.kind&&e.name===t.name&&e.kind===t.kind}),y(function(e){return Object(o.a)({},e,{key:t.key||nt})})])(Object(u.combineReducers)({queriedData:dt,edits:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case"RECEIVE_ITEMS":var r=Object(o.a)({},t),n=!0,a=!1,i=void 0;try{for(var u,c=function(){var t=u.value,n=t[e.key],a=r[n];if(!a)return"continue";var i=Object.keys(a).reduce(function(e,r){return Object(d.isEqual)(a[r],Object(d.get)(t[r],"raw",t[r]))||(e[r]=a[r]),e},{});Object.keys(i).length?r[n]=i:delete r[n]},s=e.items[Symbol.iterator]();!(n=(u=s.next()).done);n=!0)c()}catch(t){a=!0,i=t}finally{try{n||null==s.return||s.return()}finally{if(a)throw i}}return r;case"EDIT_ENTITY_RECORD":var l=Object(o.a)({},t[e.recordId],e.edits);return Object.keys(l).forEach(function(t){void 0===l[t]&&delete l[t]}),Object(o.a)({},t,Object(f.a)({},e.recordId,l))}return t},saving:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case"SAVE_ENTITY_RECORD_START":case"SAVE_ENTITY_RECORD_FINISH":return Object(o.a)({},t,Object(f.a)({},e.recordId,{pending:"SAVE_ENTITY_RECORD_START"===e.type,error:e.error,isAutosave:e.isAutosave}))}return t}}))}(e)))},{}));return t[n]=i,t},{}))}var i=n(t.data,e);return i===t.data&&r===t.config&&n===t.reducer?t:{reducer:n,data:i,config:r}},undo:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:pt,e=arguments.length>1?arguments[1]:void 0;switch(e.type){case"EDIT_ENTITY_RECORD":case"CREATE_UNDO_LEVEL":if("CREATE_UNDO_LEVEL"===e.type?e=lt:lt=e,e.meta.isUndo||e.meta.isRedo){var r=Object(s.a)(t);return r.offset=t.offset+(e.meta.isUndo?-1:1),r}if(!e.meta.undo)return t;if(!Object.keys(e.edits).some(function(t){return!e.transientEdits[t]})){var n=Object(s.a)(t);return n.flattenedUndo=Object(o.a)({},t.flattenedUndo,e.edits),n.offset=t.offset,n}var a=t.slice(0,t.offset||void 0);a.offset=0,a.pop(),a.push({kind:e.meta.undo.kind,name:e.meta.undo.name,recordId:e.meta.undo.recordId,edits:Object(o.a)({},t.flattenedUndo,e.meta.undo.edits)});var i=Object.values(e.meta.undo.edits).filter(function(t){return"function"!=typeof t}),u=Object.values(e.edits).filter(function(t){return"function"!=typeof t});return p()(i,u)||a.push({kind:e.kind,name:e.name,recordId:e.recordId,edits:e.edits}),a}return t},embedPreviews:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case"RECEIVE_EMBED_PREVIEW":var r=e.url,n=e.preview;return Object(o.a)({},t,Object(f.a)({},r,n))}return t},userPermissions:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case"RECEIVE_USER_PERMISSION":return Object(o.a)({},t,Object(f.a)({},e.key,e.isAllowed))}return t},autosaves:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case"RECEIVE_AUTOSAVES":var r=e.postId,n=e.autosaves;return Object(o.a)({},t,Object(f.a)({},r,n))}return t}}),ht=r(37),yt=r.n(ht),bt=Object(u.createRegistrySelector)(function(t){return function(e,r){return t("core/data").isResolving("core","getEmbedPreview",[r])}});function gt(t){return mt(t,"authors")}function Et(t){return t.currentUser}var mt=Object(E.a)(function(t,e){var r=t.users.queries[e];return Object(d.map)(r,function(e){return t.users.byId[e]})},function(t,e){return[t.users.queries[e],t.users.byId]});function Ot(t,e){return Object(d.filter)(t.entities.config,{kind:e})}function jt(t,e,r){return Object(d.find)(t.entities.config,{kind:e,name:r})}function wt(t,e,r,n){return Object(d.get)(t.entities.data,[e,r,"queriedData","items",n])}var xt=Object(E.a)(function(t,e,r,n){var a=wt(t,e,r,n);return a&&Object.keys(a).reduce(function(t,e){return t[e]=Object(d.get)(a[e],"raw",a[e]),t},{})},function(t){return[t.entities.data]});function Rt(t,e,r,n){var a=Object(d.get)(t.entities.data,[e,r,"queriedData"]);return a?R(a,n):[]}function kt(t,e,r,n){return Object(d.get)(t.entities.data,[e,r,"edits",n])}var _t=Object(E.a)(function(t,e,r,n){var a=jt(t,e,r).transientEdits,i=void 0===a?{}:a,o=kt(t,e,r,n)||[];return Object.keys(o).reduce(function(t,e){return i[e]||(t[e]=o[e]),t},{})},function(t){return[t.entities.config,t.entities.data]});function Tt(t,e,r,n){return At(t,e,r,n)||Object.keys(_t(t,e,r,n)).length>0}var It=Object(E.a)(function(t,e,r,n){return Object(o.a)({},xt(t,e,r,n),kt(t,e,r,n))},function(t){return[t.entities.data]});function St(t,e,r,n){var a=Object(d.get)(t.entities.data,[e,r,"saving",n],{}),i=a.pending,o=a.isAutosave;return Boolean(i&&o)}function At(t,e,r,n){return Object(d.get)(t.entities.data,[e,r,"saving",n,"pending"],!1)}function Ut(t,e,r,n){return Object(d.get)(t.entities.data,[e,r,"saving",n,"error"])}function Pt(t){return t.undo.offset}function Ct(t){return t.undo[t.undo.length-2+Pt(t)]}function Lt(t){return t.undo[t.undo.length+Pt(t)]}function Dt(t){return Boolean(Ct(t))}function Nt(t){return Boolean(Lt(t))}function Mt(t){return t.themeSupports}function Vt(t,e){return t.embedPreviews[e]}function qt(t,e){var r=t.embedPreviews[e],n='<a href="'+e+'">'+e+"</a>";return!!r&&r.html===n}function Ft(t){return yt()("select( 'core' ).hasUploadPermissions()",{alternative:"select( 'core' ).canUser( 'create', 'media' )"}),Object(d.defaultTo)(Yt(t,"create","media"),!0)}function Yt(t,e,r,n){var a=Object(d.compact)([e,r,n]).join("/");return Object(d.get)(t,["userPermissions",a])}function Bt(t,e,r){return t.autosaves[r]}function Gt(t,e,r,n){if(void 0!==n){var a=t.autosaves[r];return Object(d.find)(a,{author:n})}}var Kt=Object(u.createRegistrySelector)(function(t){return function(e,r,n){return t("core").hasFinishedResolution("getAutosaves",[r,n])}}),Qt=Object(E.a)(function(){return[]},function(t){return[t.undo.length,t.undo.offset]}),Wt=_.a.mark(ne),Ht=_.a.mark(ae),zt=_.a.mark(ie),Xt=_.a.mark(oe),Jt=_.a.mark(ue),Zt=_.a.mark(ce),$t=_.a.mark(se),te=_.a.mark(fe),ee=_.a.mark(de),re=_.a.mark(le);function ne(){var t;return _.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,S({path:"/wp/v2/users/?who=authors&per_page=-1"});case 2:return t=e.sent,e.next=5,V("authors",t);case 5:case"end":return e.stop()}},Wt)}function ae(){var t;return _.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,S({path:"/wp/v2/users/me"});case 2:return t=e.sent,e.next=5,q(t);case 5:case"end":return e.stop()}},Ht)}function ie(t,e,r){var n,a,i;return _.a.wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return o.next=2,st(t);case 2:if(n=o.sent,a=Object(d.find)(n,{kind:t,name:e})){o.next=6;break}return o.abrupt("return");case 6:return o.next=8,S({path:"".concat(a.baseURL,"/").concat(r,"?context=edit")});case 8:return i=o.sent,o.next=11,Y(t,e,i);case 11:case"end":return o.stop()}},zt)}function oe(t,e){var r,n,a,i,u,c=arguments;return _.a.wrap(function(s){for(;;)switch(s.prev=s.next){case 0:return r=c.length>2&&void 0!==c[2]?c[2]:{},s.next=3,st(t);case 3:if(n=s.sent,a=Object(d.find)(n,{kind:t,name:e})){s.next=7;break}return s.abrupt("return");case 7:return i=Object(j.addQueryArgs)(a.baseURL,Object(o.a)({},r,{context:"edit"})),s.next=10,S({path:i});case 10:return u=s.sent,s.next=13,Y(t,e,Object.values(u),r);case 13:case"end":return s.stop()}},Xt)}function ue(){var t;return _.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,S({path:"/wp/v2/themes?status=active"});case 2:return t=e.sent,e.next=5,B(t[0].theme_supports);case 5:case"end":return e.stop()}},Jt)}function ce(t){var e;return _.a.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,S({path:Object(j.addQueryArgs)("/oembed/1.0/proxy",{url:t})});case 3:return e=r.sent,r.next=6,G(t,e);case 6:r.next=12;break;case 8:return r.prev=8,r.t0=r.catch(0),r.next=12,G(t,!1);case 12:case"end":return r.stop()}},Zt,null,[[0,8]])}function se(){return _.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return yt()("select( 'core' ).hasUploadPermissions()",{alternative:"select( 'core' ).canUser( 'create', 'media' )"}),t.delegateYield(fe("create","media"),"t0",2);case 2:case"end":return t.stop()}},$t)}function fe(t,e,r){var n,a,i,o,u,c;return _.a.wrap(function(s){for(;;)switch(s.prev=s.next){case 0:if(n={create:"POST",read:"GET",update:"PUT",delete:"DELETE"}[t]){s.next=4;break}throw new Error("'".concat(t,"' is not a valid action."));case 4:return a=r?"/wp/v2/".concat(e,"/").concat(r):"/wp/v2/".concat(e),s.prev=5,s.next=8,S({path:a,method:r?"GET":"OPTIONS",parse:!1});case 8:i=s.sent,s.next=14;break;case 11:return s.prev=11,s.t0=s.catch(5),s.abrupt("return");case 14:return o=Object(d.hasIn)(i,["headers","get"])?i.headers.get("allow"):Object(d.get)(i,["headers","Allow"],""),u=Object(d.compact)([t,e,r]).join("/"),c=Object(d.includes)(o,n),s.next=19,Z(u,c);case 19:case"end":return s.stop()}},te,null,[[5,11]])}function de(t,e){var r,n,a;return _.a.wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return i.next=2,U("getPostType",t);case 2:return r=i.sent,n=r.rest_base,i.next=6,S({path:"/wp/v2/".concat(n,"/").concat(e,"/autosaves?context=edit")});case 6:if(!(a=i.sent)||!a.length){i.next=10;break}return i.next=10,$(e,a);case 10:case"end":return i.stop()}},ee)}function le(t,e){return _.a.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,U("getAutosaves",t,e);case 2:case"end":return r.stop()}},re)}oe.shouldInvalidate=function(t,e,r){return"RECEIVE_ITEMS"===t.type&&t.invalidateCache&&e===t.kind&&r===t.name};var pe=at.reduce(function(t,e){var r=e.kind,n=e.name;return t[ct(r,n)]=function(t,e){return wt(t,r,n,e)},t[ct(r,n,"get",!0)]=function(t){for(var e=arguments.length,i=new Array(e>1?e-1:0),o=1;o<e;o++)i[o-1]=arguments[o];return Rt.apply(a,[t,r,n].concat(i))},t},{}),ve=at.reduce(function(t,e){var r=e.kind,n=e.name;t[ct(r,n)]=function(t){return ie(r,n,t)};var a=ct(r,n,"get",!0);return t[a]=function(){for(var t=arguments.length,e=new Array(t),a=0;a<t;a++)e[a]=arguments[a];return oe.apply(i,[r,n].concat(e))},t[a].shouldInvalidate=function(t){for(var e,a=arguments.length,i=new Array(a>1?a-1:0),o=1;o<a;o++)i[o-1]=arguments[o];return(e=oe).shouldInvalidate.apply(e,[t,r,n].concat(i))},t},{}),he=at.reduce(function(t,e){var r=e.kind,n=e.name;return t[ct(r,n,"save")]=function(t){return z(r,n,t)},t},{});Object(u.registerStore)("core",{reducer:vt,controls:P,actions:Object(o.a)({},n,he),selectors:Object(o.a)({},a,pe),resolvers:Object(o.a)({},i,ve)})},39:function(t,e,r){"use strict";function n(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}r.d(e,"a",function(){return n})},4:function(t,e){!function(){t.exports=this.wp.data}()},41:function(t,e){!function(){t.exports=this.wp.isShallowEqual}()},48:function(t,e,r){var n=function(t){"use strict";var e,r=Object.prototype,n=r.hasOwnProperty,a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",o=a.asyncIterator||"@@asyncIterator",u=a.toStringTag||"@@toStringTag";function c(t,e,r,n){var a=e&&e.prototype instanceof h?e:h,i=Object.create(a.prototype),o=new _(n||[]);return i._invoke=function(t,e,r){var n=f;return function(a,i){if(n===l)throw new Error("Generator is already running");if(n===p){if("throw"===a)throw i;return I()}for(r.method=a,r.arg=i;;){var o=r.delegate;if(o){var u=x(o,r);if(u){if(u===v)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===f)throw n=p,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=l;var c=s(t,e,r);if("normal"===c.type){if(n=r.done?p:d,c.arg===v)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n=p,r.method="throw",r.arg=c.arg)}}}(t,r,o),i}function s(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=c;var f="suspendedStart",d="suspendedYield",l="executing",p="completed",v={};function h(){}function y(){}function b(){}var g={};g[i]=function(){return this};var E=Object.getPrototypeOf,m=E&&E(E(T([])));m&&m!==r&&n.call(m,i)&&(g=m);var O=b.prototype=h.prototype=Object.create(g);function j(t){["next","throw","return"].forEach(function(e){t[e]=function(t){return this._invoke(e,t)}})}function w(t){var e;this._invoke=function(r,a){function i(){return new Promise(function(e,i){!function e(r,a,i,o){var u=s(t[r],t,a);if("throw"!==u.type){var c=u.arg,f=c.value;return f&&"object"==typeof f&&n.call(f,"__await")?Promise.resolve(f.__await).then(function(t){e("next",t,i,o)},function(t){e("throw",t,i,o)}):Promise.resolve(f).then(function(t){c.value=t,i(c)},function(t){return e("throw",t,i,o)})}o(u.arg)}(r,a,e,i)})}return e=e?e.then(i,i):i()}}function x(t,r){var n=t.iterator[r.method];if(n===e){if(r.delegate=null,"throw"===r.method){if(t.iterator.return&&(r.method="return",r.arg=e,x(t,r),"throw"===r.method))return v;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return v}var a=s(n,t.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,v;var i=a.arg;return i?i.done?(r[t.resultName]=i.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,v):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function R(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function k(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function _(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(R,this),this.reset(!0)}function T(t){if(t){var r=t[i];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var a=-1,o=function r(){for(;++a<t.length;)if(n.call(t,a))return r.value=t[a],r.done=!1,r;return r.value=e,r.done=!0,r};return o.next=o}}return{next:I}}function I(){return{value:e,done:!0}}return y.prototype=O.constructor=b,b.constructor=y,b[u]=y.displayName="GeneratorFunction",t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===y||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,u in t||(t[u]="GeneratorFunction")),t.prototype=Object.create(O),t},t.awrap=function(t){return{__await:t}},j(w.prototype),w.prototype[o]=function(){return this},t.AsyncIterator=w,t.async=function(e,r,n,a){var i=new w(c(e,r,n,a));return t.isGeneratorFunction(r)?i:i.next().then(function(t){return t.done?t.value:i.next()})},j(O),O[u]="Generator",O[i]=function(){return this},O.toString=function(){return"[object Generator]"},t.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function r(){for(;e.length;){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},t.values=T,_.prototype={constructor:_,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(k),!t)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function a(n,a){return u.type="throw",u.arg=t,r.next=n,a&&(r.method="next",r.arg=e),!!a}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],u=o.completion;if("root"===o.tryLoc)return a("end");if(o.tryLoc<=this.prev){var c=n.call(o,"catchLoc"),s=n.call(o,"finallyLoc");if(c&&s){if(this.prev<o.catchLoc)return a(o.catchLoc,!0);if(this.prev<o.finallyLoc)return a(o.finallyLoc)}else if(c){if(this.prev<o.catchLoc)return a(o.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return a(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var a=this.tryEntries[r];if(a.tryLoc<=this.prev&&n.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var i=a;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var o=i?i.completion:{};return o.type=t,o.arg=e,i?(this.method="next",this.next=i.finallyLoc,v):this.complete(o)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),v},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),k(r),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var a=n.arg;k(r)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:T(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}(t.exports);try{regeneratorRuntime=n}catch(t){Function("r","regeneratorRuntime = r")(n)}},7:function(t,e,r){"use strict";r.d(e,"a",function(){return a});var n=r(10);function a(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{},a=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(r).filter(function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable}))),a.forEach(function(e){Object(n.a)(t,e,r[e])})}return t}},79:function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function a(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function i(t,e){var r=t._map,n=t._arrayTreeMap,a=t._objectTreeMap;if(r.has(e))return r.get(e);for(var i=Object.keys(e).sort(),o=Array.isArray(e)?n:a,u=0;u<i.length;u++){var c=i[u];if(void 0===(o=o.get(c)))return;var s=e[c];if(void 0===(o=o.get(s)))return}var f=o.get("_ekm_value");return f?(r.delete(f[0]),f[0]=e,o.set("_ekm_value",f),r.set(e,f),f):void 0}var o=function(){function t(e){if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.clear(),e instanceof t){var r=[];e.forEach(function(t,e){r.push([e,t])}),e=r}if(null!=e)for(var n=0;n<e.length;n++)this.set(e[n][0],e[n][1])}var e,r,o;return e=t,(r=[{key:"set",value:function(e,r){if(null===e||"object"!==n(e))return this._map.set(e,r),this;for(var a=Object.keys(e).sort(),i=[e,r],o=Array.isArray(e)?this._arrayTreeMap:this._objectTreeMap,u=0;u<a.length;u++){var c=a[u];o.has(c)||o.set(c,new t),o=o.get(c);var s=e[c];o.has(s)||o.set(s,new t),o=o.get(s)}var f=o.get("_ekm_value");return f&&this._map.delete(f[0]),o.set("_ekm_value",i),this._map.set(e,i),this}},{key:"get",value:function(t){if(null===t||"object"!==n(t))return this._map.get(t);var e=i(this,t);return e?e[1]:void 0}},{key:"has",value:function(t){return null===t||"object"!==n(t)?this._map.has(t):void 0!==i(this,t)}},{key:"delete",value:function(t){return!!this.has(t)&&(this.set(t,void 0),!0)}},{key:"forEach",value:function(t){var e=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this;this._map.forEach(function(a,i){null!==i&&"object"===n(i)&&(a=a[1]),t.call(r,a,i,e)})}},{key:"clear",value:function(){this._map=new Map,this._arrayTreeMap=new Map,this._objectTreeMap=new Map}},{key:"size",get:function(){return this._map.size}}])&&a(e.prototype,r),o&&a(e,o),t}();t.exports=o}});