this.wp=this.wp||{},this.wp.nux=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=320)}({0:function(e,t){!function(){e.exports=this.wp.element}()},1:function(e,t){!function(){e.exports=this.wp.i18n}()},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);t0&&void 0!==arguments[0])||arguments[0];switch((arguments.length>1?arguments[1]:void 0).type){case"DISABLE_TIPS":return!1;case"ENABLE_TIPS":return!0}return e},dismissedTips:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"DISMISS_TIP":return Object(c.a)({},e,Object(o.a)({},t.id,!0));case"ENABLE_TIPS":return{}}return e}}),f=Object(u.combineReducers)({guides:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"TRIGGER_GUIDE":return Object(a.a)(e).concat([t.tipIds])}return e},preferences:s});function l(e){return{type:"TRIGGER_GUIDE",tipIds:e}}function p(e){return{type:"DISMISS_TIP",id:e}}function d(){return{type:"DISABLE_TIPS"}}function b(){return{type:"ENABLE_TIPS"}}var v=n(24),h=n(32),y=n(2),g=Object(h.a)(function(e,t){var n=!0,r=!1,i=void 0;try{for(var u,o=e.guides[Symbol.iterator]();!(n=(u=o.next()).done);n=!0){var c=u.value;if(Object(y.includes)(c,t)){var a=Object(y.difference)(c,Object(y.keys)(e.preferences.dismissedTips)),s=Object(v.a)(a,2),f=s[0],l=void 0===f?null:f,p=s[1];return{tipIds:c,currentTipId:l,nextTipId:void 0===p?null:p}}}}catch(e){r=!0,i=e}finally{try{n||null==o.return||o.return()}finally{if(r)throw i}}return null},function(e){return[e.guides,e.preferences.dismissedTips]});function O(e,t){if(!e.preferences.areTipsEnabled)return!1;if(e.preferences.dismissedTips[t])return!1;var n=g(e,t);return!n||n.currentTipId===t}function j(e){return e.preferences.areTipsEnabled}Object(u.registerStore)("core/nux",{reducer:f,actions:r,selectors:i,persist:["preferences"]});var m=n(0),T=n(7),x=n(4),w=n(1),I=n(28),S=n.n(I);function _(e){return e.parentNode.getBoundingClientRect()}function E(e){e.stopPropagation()}var D=Object(T.compose)(Object(u.withSelect)(function(e,t){var n=t.tipId,r=t.id;r&&(n=r,S()("The id prop of wp.nux.DotTip",{plugin:"Gutenberg",version:"4.4",alternative:"the tipId prop"}));var i=e("core/nux"),u=i.isTipVisible,o=(0,i.getAssociatedGuide)(n);return{isVisible:u(n),hasNextTip:!(!o||!o.nextTipId)}}),Object(u.withDispatch)(function(e,t){var n=t.tipId,r=t.id,i=e("core/nux"),u=i.dismissTip,o=i.disableTips;return{onDismiss:function(){u(n||r)},onDisable:function(){o()}}}))(function(e){var t=e.children,n=e.isVisible,r=e.hasNextTip,i=e.onDismiss,u=e.onDisable;return n?Object(m.createElement)(x.Popover,{className:"nux-dot-tip",position:"middle right",noArrow:!0,focusOnMount:"container",getAnchorRect:_,role:"dialog","aria-label":Object(w.__)("Gutenberg tips"),onClick:E},Object(m.createElement)("p",null,t),Object(m.createElement)("p",null,Object(m.createElement)(x.Button,{isLink:!0,onClick:i},r?Object(w.__)("See next tip"):Object(w.__)("Got it"))),Object(m.createElement)(x.IconButton,{className:"nux-dot-tip__disable",icon:"no-alt",label:Object(w.__)("Disable tips"),onClick:u})):null});n.d(t,"DotTip",function(){return D})},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})},36:function(e,t,n){"use strict";function r(e){if(Array.isArray(e))return e}n.d(t,"a",function(){return r})},37: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})},4:function(e,t){!function(){e.exports=this.wp.components}()},5:function(e,t){!function(){e.exports=this.wp.data}()},7:function(e,t){!function(){e.exports=this.wp.compose}()},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