/*! This file is auto-generated */
this.wp=this.wp||{},this.wp.keyboardShortcuts=function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=382)}({18:function(t,e,n){"use strict";var r=n(31);function o(t){return function(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e<t.length;e++)n[e]=t[e];return n}}(t)||Object(r.a)(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}n.d(e,"a",(function(){return o}))},19:function(t,e){!function(){t.exports=this.wp.keycodes}()},2:function(t,e){!function(){t.exports=this.lodash}()},31:function(t,e,n){"use strict";function r(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}n.d(e,"a",(function(){return r}))},34:function(t,e,n){"use strict";var r,o;function u(t){return[t]}function i(){var t={clear:function(){t.head=null}};return t}function a(t,e,n){var r;if(t.length!==e.length)return!1;for(r=n;r<t.length;r++)if(t[r]!==e[r])return!1;return!0}r={},o="undefined"!=typeof WeakMap,e.a=function(t,e){var n,c;function s(){n=o?new WeakMap:i()}function f(){var n,r,o,u,i,s=arguments.length;for(u=new Array(s),o=0;o<s;o++)u[o]=arguments[o];for(i=e.apply(null,u),(n=c(i)).isUniqueByDependants||(n.lastDependants&&!a(i,n.lastDependants,0)&&n.clear(),n.lastDependants=i),r=n.head;r;){if(a(r.args,u,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:t.apply(null,u)},u[0]=null,r.args=u,n.head&&(n.head.prev=r,r.next=n.head),n.head=r,r.val}return e||(e=u),c=o?function(t){var e,o,u,a,c,s=n,f=!0;for(e=0;e<t.length;e++){if(o=t[e],!(c=o)||"object"!=typeof c){f=!1;break}s.has(o)?s=s.get(o):(u=new WeakMap,s.set(o,u),s=u)}return s.has(r)||((a=i()).isUniqueByDependants=f,s.set(r,a)),s.get(r)}:function(){return n},f.getDependants=e,f.clear=s,s(),f}},382:function(t,e,n){"use strict";n.r(e);var r={};n.r(r),n.d(r,"registerShortcut",(function(){return f})),n.d(r,"unregisterShortcut",(function(){return l}));var o={};n.r(o),n.d(o,"getShortcutKeyCombination",(function(){return g})),n.d(o,"getShortcutRepresentation",(function(){return m})),n.d(o,"getShortcutDescription",(function(){return O})),n.d(o,"getShortcutAliases",(function(){return S})),n.d(o,"getAllShortcutRawKeyCombinations",(function(){return j}));var u=n(4),i=n(9),a=n(6),c=n(2);var s=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case"REGISTER_SHORTCUT":return Object(a.a)({},t,Object(i.a)({},e.name,{category:e.category,keyCombination:e.keyCombination,aliases:e.aliases,description:e.description}));case"UNREGISTER_SHORTCUT":return Object(c.omit)(t,e.name)}return t};function f(t){var e=t.name,n=t.category,r=t.description;return{type:"REGISTER_SHORTCUT",name:e,category:n,keyCombination:t.keyCombination,aliases:t.aliases,description:r}}function l(t){return{type:"UNREGISTER_SHORTCUT",name:t}}var p=n(18),d=n(34),b=n(19),y=[],h={display:b.displayShortcut,raw:b.rawShortcut,ariaLabel:b.shortcutAriaLabel};function v(t,e){return t?t.modifier?h[e][t.modifier](t.character):t.character:null}function g(t,e){return t[e]?t[e].keyCombination:null}function m(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"display";return v(g(t,e),n)}function O(t,e){return t[e]?t[e].description:null}function S(t,e){return t[e]&&t[e].aliases?t[e].aliases:y}var j=Object(d.a)((function(t,e){return Object(c.compact)([v(g(t,e),"raw")].concat(Object(p.a)(S(t,e).map((function(t){return v(t,"raw")})))))}),(function(t,e){return[t[e]]})),w=(Object(u.registerStore)("core/keyboard-shortcuts",{reducer:s,actions:r,selectors:o}),n(8));var x=function(t,e,n){var r=Object(u.useSelect)((function(e){return e("core/keyboard-shortcuts").getAllShortcutRawKeyCombinations(t)}),[t]);Object(w.useKeyboardShortcut)(r,e,n)};n.d(e,"useShortcut",(function(){return x}))},4:function(t,e){!function(){t.exports=this.wp.data}()},6:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(9);function o(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?Object(arguments[e]):{},o=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),o.forEach((function(e){Object(r.a)(t,e,n[e])}))}return t}},8:function(t,e){!function(){t.exports=this.wp.compose}()},9:function(t,e,n){"use strict";function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}n.d(e,"a",(function(){return r}))}});