Plugin Directory

Changeset 3391853


Ignore:
Timestamp:
11/07/2025 04:49:21 PM (2 weeks ago)
Author:
Mat Lipe
Message:

Update to version 9.8.2 from GitHub

Location:
advanced-sidebar-menu
Files:
18 edited
1 copied

Legend:

Unmodified
Added
Removed
  • advanced-sidebar-menu/tags/9.8.2/advanced-sidebar-menu.php

    r3391412 r3391853  
    55 * Description: Creates dynamic menus based on parent/child relationship of your pages or categories.
    66 * Author: OnPoint Plugins
    7  * Version: 9.8.1
     7 * Version: 9.8.2
    88 * Author URI: https://onpointplugins.com
    99 * Text Domain: advanced-sidebar-menu
     
    2020}
    2121
    22 define( 'ADVANCED_SIDEBAR_MENU_BASIC_VERSION', '9.8.1' );
     22define( 'ADVANCED_SIDEBAR_MENU_BASIC_VERSION', '9.8.2' );
    2323define( 'ADVANCED_SIDEBAR_MENU_REQUIRED_PRO_VERSION', '9.9.0' );
    2424define( 'ADVANCED_SIDEBAR_MENU_DIR', plugin_dir_path( __FILE__ ) );
  • advanced-sidebar-menu/tags/9.8.2/js/dist/advanced-sidebar-menu-admin.css.map

    r3391412 r3391853  
    1 {"version":3,"file":"advanced-sidebar-menu-admin.css","mappings":";;;AAAA;;;;gDAIgD;AAChD;EACE,WAAW;EACX;AACF;AACA;EACE;AACF;AACA;EACE,mBAAmB;EACnB,sBAAsB;EACtB,mBAAmB;EACnB;AACF;AACA;EACE,eAAe;EACf,2BAA2B;EAC3B;AACF;AACA;EACE,4BAA4B;EAC5B;AACF;AACA;EACE,0BAA0B;EAC1B;AACF;AACA;EACE,cAAc;EACd,cAAc;EACd,eAAe;EACf,4BAA4B;EAC5B,4BAA4B;EAC5B;AACF;AACA;EACE;AACF;AACA;;;EAGE;AACF;AACA;EACE,gCAAgC;EAChC,oCAAoC;EACpC;AACF;AACA;;EAEE;AACF;AACA;EACE;AACF;AACA;EACE,yBAAyB;EACzB,4BAA4B;EAC5B;AACF;AACA;EACE,gBAAgB;EAChB,yBAAyB;EACzB,0BAA0B;EAC1B,2BAA2B;EAC3B,mBAAmB;EACnB,4BAA4B;EAC5B,4BAA4B;EAC5B;AACF;AACA;EACE,qCAAqC;EACrC;AACF;AACA;EACE,eAAe;EACf,uBAAuB;EACvB,6BAA6B;EAC7B;AACF;AACA;EACE,gBAAgB;EAChB,yBAAyB;EACzB;AACF;AACA;;EAEE,kBAAkB;EAClB;AACF;AACA;EACE,sBAAsB;EACtB;AACF;AACA;EACE;AACF;AACA;EACE,WAAW;EACX;AACF;AACA;EACE;AACF;AACA;;EAEE,0BAA0B;EAC1B;AACF;AACA;EACE;AACF;AACA;EACE,6BAA6B;EAC7B;AACF;AACA;EACE,cAAc;EACd,2BAA2B;EAC3B;AACF;AACA;;;wDAGwD;AACxD,0DAA0D;AAC1D;EACE;AACF;AACA;EACE,gCAAgC;EAChC;AACF;AACA;EACE,gCAAgC;EAChC,uBAAuB;EACvB,yBAAyB;EACzB,4BAA4B;EAC5B,8BAA8B;EAC9B,8BAA8B;EAC9B;AACF;AACA;;;wDAGwD;AACxD;EACE,qBAAqB;EACrB;AACF;AACA;;;EAGE,yBAAyB;EACzB;AACF;AACA;EACE,eAAe;EACf;AACF;AACA;;EAEE,yBAAyB;EACzB,4BAA4B;EAC5B;AACF;AACA;EACE;AACF;AACA;EACE,eAAe;EACf,aAAa;EACb,eAAe;EACf,iBAAiB;EACjB,kBAAkB;EAClB,WAAW;EACX;AACF;AACA;EACE;AACF;AACA;EACE,gBAAgB;EAChB,8BAA8B;EAC9B;AACF;AACA;EACE;AACF;AACA;EACE;AACF;AACA;;EAEE;AACF;AACA;EACE;AACF;AACA;EACE,yBAAyB;EACzB;AACF;AACA;;;4CAG4C;AAC5C;;;gDAGgD;AAChD;EACE;AACF;AACA;EACE;AACF;AACA;;;;EAIE,gBAAgB;EAChB,WAAW;EACX;AACF;AACA;EACE;AACF;AACA;EACE,gBAAgB;EAChB,gBAAgB;EAChB;AACF;AACA;EACE,kBAAkB;EAClB;AACF;AACA;EACE,eAAe;EACf,iBAAiB;EACjB;AACF;AACA;EACE;AACF;AACA;EACE;AACF;AACA;EACE,eAAe;EACf,0BAA0B;EAC1B;AACF;AACA;EACE,SAAS;EACT,oBAAoB;EACpB,UAAU;EACV,kBAAkB;EAClB,8BAA8B;EAC9B,uBAAuB;EACvB;AACF;AACA;EACE,YAAY;EACZ,uBAAuB;EACvB;AACF;AACA;EACE,kBAAkB;EAClB;AACF;AACA;EACE;AACF;AACA;EACE;AACF;AACA;EACE;AACF;AACA;EACE,gDAAgD;EAChD;AACF;AACA;;;gDAGgD;AAChD;EACE,6BAA6B;EAC7B;AACF;AACA;EACE;AACF;AACA;EACE,qCAAqC;EACrC,6BAA6B;EAC7B;AACF;AACA;EACE,kBAAkB;EAClB;AACF;AACA;EACE;AACF;AACA;EACE;AACF;AACA;EACE;AACF;AACA;EACE,kBAAkB;EAClB;AACF;AACA;EACE,eAAe;EACf;AACF;AACA;EACE;AACF;AACA;EACE,0BAA0B;EAC1B,gBAAgB;EAChB;AACF;AACA;EACE;AACF;AACA;EACE,WAAW;EACX;AACF;AACA;EACE;AACF;AACA;EACE,+BAA+B;EAC/B;AACF;AACA;EACE,kBAAkB;EAClB;AACF;AACA;EACE,kBAAkB;EAClB;AACF;AACA;EACE;AACF;AACA;EACE;AACF;AACA;EACE,eAAe;EACf,0BAA0B;EAC1B;AACF;AACA;EACE,SAAS;EACT,oBAAoB;EACpB,UAAU;EACV,kBAAkB;EAClB,iCAAiC;EACjC,uBAAuB;EACvB;AACF;AACA;EACE,YAAY;EACZ,sCAAsC;EACtC;AACF;AACA;EACE,iBAAiB;EACjB,kBAAkB;EAClB;AACF;AACA;EACE;AACF;AACA;EACE;AACF;AACA;EACE;AACF;AACA;EACE,gDAAgD;EAChD;AACF;AACA;;;wCAGwC;AACxC;EACE;AACF;AACA;EACE;AACF;AACA;EACE;AACF;AACA;EACE;AACF;AACA;EACE;AACF;AACA;EACE;AACF;AACA;EACE,SAAS;EACT,oBAAoB;EACpB,UAAU;EACV,kBAAkB;EAClB,8BAA8B;EAC9B,uBAAuB;EACvB;AACF;AACA;EACE,YAAY;EACZ,gCAAgC;EAChC;AACF;AACA;EACE;AACF;AACA;EACE;AACF;AACA;EACE;IACE;EACF;AACF;AACA;EACE;IACE,oCAAoC;IACpC;EACF;AACF;AACA;EACE;IACE;EACF;EACA;IACE;EACF;EACA;IACE;EACF;EACA;IACE;EACF;EACA;IACE;EACF;EACA;IACE;EACF;AACF;AACA;EACE;IACE;EACF;EACA;;IAEE;EACF;EACA;;IAEE;EACF;EACA;IACE;EACF;EACA;IACE;EACF;EACA;IACE;EACF;EACA;IACE;EACF;EACA;IACE;EACF;EACA;IACE;EACF;EACA;IACE;EACF;EACA;IACE;EACF;EACA;IACE;EACF;AACF,C","sources":["webpack://@onpointplugins/advanced-sidebar-menu/./js/src/pcss/%3Cinput%20css%20C-BIiu%3E"],"sourcesContent":["/**\n * Admin styles for widgets and some light\n * styles used by blocks.\n *\n ----------------------------------------------*/\n.advanced-sidebar-menu-column {\n  float: left;\n  width: 49%\n}\n.advanced-sidebar-menu-column-right {\n  margin-left: 2%\n}\n.advanced-sidebar-menu-column-box {\n  background: #f1f1f1;\n  border: 1px solid #ddd;\n  margin-bottom: 10px;\n  padding: 10px\n}\n.advanced-sidebar-menu-column-box h3 {\n  font-size: 17px;\n  font-weight: 600 !important;\n  margin: 17px 0 !important\n}\n.advanced-sidebar-menu-column-box p {\n  line-height: 19px !important;\n  padding: 0 !important\n}\n.advanced-sidebar-menu-column-box label {\n  display: inline !important;\n  line-height: 19px !important\n}\n.advanced-sidebar-menu-column-box .description {\n  color: #646970;\n  display: block;\n  font-size: 12px;\n  line-height: 14px !important;\n  margin: 4px 0 0 0 !important;\n  padding: 0 !important\n}\n.advanced-sidebar-menu-column-box .advanced-sidebar-menu-column a {\n  color: #0073aa !important\n}\n.advanced-sidebar-menu-column-box select,\n.advanced-sidebar-menu-column-box input[type='number'],\n.advanced-sidebar-menu-column-box input[type='text'] {\n  background-color: #fff !important\n}\n.advanced-sidebar-menu-column-box select {\n  display: inline-block !important;\n  padding: 4px 24px 4px 8px !important;\n  width: auto !important\n}\n.advanced-sidebar-menu-column-box select,\n.advanced-sidebar-menu-column-box input[type='text'] {\n  line-height: 1.5 !important\n}\n.advanced-sidebar-menu-column-box input[type='text'] {\n  padding: 4px 8px !important\n}\n.advanced-sidebar-menu-column-box select.widefat {\n  display: block !important;\n  margin: 4px 0 0 0 !important;\n  width: 100% !important\n}\n.advanced-sidebar-info-panel h3 {\n  box-shadow: none;\n  color: #3db634 !important;\n  font-size: 20px !important;\n  font-weight: 700 !important;\n  letter-spacing: 2px;\n  line-height: 22px !important;\n  margin: 3px 0 0 0 !important;\n  text-align: center !important\n}\n.advanced-sidebar-info-panel ol {\n  margin: 10px 13px 8px 26px !important;\n  padding: 0 !important\n}\n.advanced-sidebar-info-panel li {\n  font-size: 13px;\n  line-height: 1.23076923;\n  list-style: square !important;\n  margin: 0 0 6px 0 !important\n}\n.advanced-sidebar-info-panel li a {\n  box-shadow: none;\n  color: #0073aa !important;\n  text-decoration: none\n}\n.advanced-sidebar-info-panel .button-primary,\n.advanced-sidebar-info-panel .button-secondary {\n  text-align: center;\n  width: 100%\n}\n.advanced-sidebar-info-panel .button-primary {\n  color: #fff !important;\n  margin: 15px 0 15px 0\n}\n.advanced-sidebar-info-panel .button-secondary {\n  margin: 0 0 11px 0\n}\n.advanced-sidebar-menu-full-width {\n  clear: both;\n  width: 100%\n}\n.advanced-sidebar-menu-styles-box {\n  padding: 0 10px 10px\n}\n.advanced-sidebar-menu-styles-box .advanced-sidebar-menu-column select,\n.advanced-sidebar-menu-styles-box .advanced-sidebar-menu-column input {\n  margin: 0 0 6px !important;\n  width: 103px !important\n}\n.advanced-sidebar-menu-styles-box .wp-picker-active {\n  margin: 30px 0 10px calc(-100% - 5px) !important\n}\n.advanced-sidebar-menu-links-expand-all {\n  margin: -4px 0 4px !important;\n  padding: 0 !important\n}\n.advanced-sidebar-menu-links-expand-all li {\n  line-height: 1;\n  list-style: none !important;\n  margin-bottom: 2px\n}\n/**\n * Color pickers\n *\n * --------------------------------------------------- */\n/* stylelint-disable-line -- allowing duplicate selector */\n.advanced-sidebar-menu-column .wp-color-result-text {\n  background: #fff\n}\n.advanced-sidebar-menu-column .asm-color-select {\n  display: inline-block !important;\n  width: 100px !important\n}\n.advanced-sidebar-menu-column .wp-picker-active .wp-picker-clear {\n  display: inline-block !important;\n  height: 30px !important;\n  line-height: 1 !important;\n  margin: 0 0 0 6px !important;\n  min-height: inherit !important;\n  vertical-align: top !important;\n  width: auto !important\n}\n/**\n * Preview\n *\n * --------------------------------------------------- */\n.advanced-sidebar-menu-icon-preview {\n  display: inline-block;\n  margin: 0 0 0 5px\n}\n.advanced-sidebar-menu-icon-preview g,\n.advanced-sidebar-menu-icon-preview path,\n.advanced-sidebar-menu-icon-preview svg {\n  color: inherit !important;\n  fill: currentcolor !important\n}\n.advanced-sidebar-menu-icon-preview .dashicons {\n  font-size: 25px;\n  outline: none !important\n}\n.advanced-sidebar-menu-block-field,\nselect.advanced-sidebar-menu-block-field {\n  display: block !important;\n  margin: 5px 0 0 0 !important;\n  width: 100% !important\n}\n.advanced-sidebar-menu-styles-button {\n  text-align: center\n}\n.advanced-sidebar-menu-close-icon {\n  cursor: pointer;\n  display: none;\n  font-size: 40px;\n  margin: 5px 0 0 0;\n  position: absolute;\n  right: 40px;\n  transition: all 300ms linear\n}\n.block-editor-page .advanced-sidebar-menu-close-icon {\n  right: 25px\n}\n.advanced-sidebar-menu-preview-image {\n  background: #fff;\n  transition: width 300ms linear;\n  width: 0\n}\n.advanced-sidebar-menu-preview-wrap {\n  height: 0\n}\n.advanced-sidebar-menu-open .advanced-sidebar-menu-preview-wrap {\n  height: auto\n}\n.advanced-sidebar-menu-open .advanced-sidebar-menu-column-box,\n.advanced-sidebar-menu-open .widget-control-actions {\n  display: none\n}\n.advanced-sidebar-widget-documentation {\n  text-align: right\n}\n.advanced-sidebar-widget-documentation a {\n  color: #0073aa !important;\n  font-size: 13px\n}\n/*\n* Media Queries\n*\n------------------------------------------ */\n/**\n * Elementor\n *\n ----------------------------------------------*/\n.elementor-control-content .advanced-sidebar-menu-column {\n  width: 100%\n}\n.elementor-control-content .advanced-sidebar-menu-column-right {\n  margin-left: 0\n}\n.elementor-control-content .advanced-sidebar-menu-column-box select,\n.elementor-control-content .advanced-sidebar-menu-column-box input[type='text'],\n.elementor-control-content .advanced-sidebar-menu-column-box input[type='number'],\n.elementor-control-content .advanced-sidebar-menu-column-box .widefat {\n  background: #fff;\n  color: #000;\n  width: 100%\n}\n.elementor-control-content .advanced-sidebar-menu-column-box p {\n  margin-bottom: 8px\n}\n.elementor-control-content .advanced-sidebar-menu-column-box .wp-picker-container input[type='text'].wp-color-picker {\n  font-weight: 600;\n  min-height: auto;\n  padding: 0 5px\n}\n.elementor-control-content .advanced-sidebar-menu-column-box .advanced-sidebar-menu-border-color .wp-color-result {\n  position: relative;\n  top: 7px\n}\n.elementor-control-content .advanced-sidebar-menu-column-box h3 {\n  font-size: 17px;\n  line-height: 22px;\n  margin: 10px 0\n}\n.elementor-control-content .advanced-sidebar-menu-column-box .description {\n  margin: 8px 0 !important\n}\n.elementor-control-content .advanced-sidebar-info-panel {\n  overflow: hidden\n}\n.elementor-control-content .advanced-sidebar-info-panel h3 {\n  cursor: pointer;\n  font-size: 18px !important;\n  margin: 0 0 8px !important\n}\n.elementor-control-content .advanced-sidebar-info-panel ol {\n  height: 0;\n  margin: 0 !important;\n  opacity: 0;\n  overflow-y: hidden;\n  padding: 0 0 0 12px !important;\n  transition: opacity .6s;\n  z-index: 1\n}\n.elementor-control-content .advanced-sidebar-info-panel.open ol {\n  height: auto;\n  margin: 13px !important;\n  opacity: 1\n}\n.elementor-control-content .advanced-sidebar-info-panel .button-primary {\n  position: relative;\n  z-index: 2\n}\n.elementor-control-content .advanced-sidebar-preview-trigger {\n  display: none\n}\n.elementor-control-content .advanced-sidebar-menu-accordion-wrap select {\n  margin: 0 0 4px\n}\n.elementor-control-content .advanced-sidebar-menu-styles-box .advanced-sidebar-menu-column {\n  width: 49% !important\n}\n.elementor-control-content .advanced-sidebar-menu-styles-box .wp-picker-active {\n  margin: 30px 0 10px calc(-100% - 5px) !important;\n  width: 198%\n}\n/**\n * Beaver Builder\n *\n ----------------------------------------------*/\n.fl-field-control-wrapper .advanced-sidebar-menu-column {\n  margin-left: -20px !important;\n  width: calc(100% + 20px) !important\n}\n.fl-field-control-wrapper .advanced-sidebar-menu-column .advanced-sidebar-menu-column {\n  margin-left: 0 !important\n}\n.fl-field-control-wrapper .advanced-sidebar-menu-styles-button {\n  margin: 6px auto 18px auto !important;\n  margin-left: -20px !important;\n  width: 100%\n}\n.fl-field-control-wrapper .advanced-sidebar-menu-styles-button > div {\n  text-align: center;\n  width: 100%\n}\n.fl-field-control-wrapper .advanced-sidebar-menu-styles-button button {\n  border: 1px solid var(--fl-builder-muted-accent-color, #555d66) !important\n}\n.fl-field-control-wrapper .advanced-sidebar-menu-column select {\n  width: 90% !important\n}\n.fl-field-control-wrapper .advanced-sidebar-menu-column-right {\n  margin-left: 0\n}\n.fl-field-control-wrapper .advanced-sidebar-menu-column-box .widefat {\n  text-align: center;\n  width: 90%\n}\n.fl-field-control-wrapper .advanced-sidebar-menu-column-box h3 {\n  font-size: 17px;\n  margin: 10px 0\n}\n.fl-field-control-wrapper .advanced-sidebar-menu-column-box input {\n  margin: 0 !important\n}\n.fl-field-control-wrapper .advanced-sidebar-menu-column-box label {\n  display: inline !important;\n  font-weight: 500;\n  vertical-align: middle !important\n}\n.fl-field-control-wrapper .advanced-sidebar-menu-column-box input[type='checkbox'] {\n  vertical-align: middle !important\n}\n.fl-field-control-wrapper .advanced-sidebar-menu-column-box .wp-color-result-text {\n  color: #555;\n  line-height: 2.545\n}\n.fl-field-control-wrapper .advanced-sidebar-menu-column-box .wp-picker-container input[type='text'].wp-color-picker {\n  margin: 0 6px 0 0 !important\n}\n.fl-field-control-wrapper .advanced-sidebar-menu-column-box .wp-picker-active {\n  margin: 5px 0 10px 0 !important;\n  width: 100%\n}\n.fl-field-control-wrapper .advanced-sidebar-menu-column-box .wp-picker-active input {\n  position: relative;\n  top: -3px\n}\n.fl-field-control-wrapper .advanced-sidebar-menu-column-box .wp-picker-active .wp-picker-clear {\n  position: relative;\n  top: 0\n}\n.fl-field-control-wrapper .advanced-sidebar-menu-column-box .description em {\n  color: #50575e\n}\n.fl-field-control-wrapper .advanced-sidebar-info-panel {\n  overflow: hidden\n}\n.fl-field-control-wrapper .advanced-sidebar-info-panel h3 {\n  cursor: pointer;\n  font-size: 18px !important;\n  margin: 0 0 -5px !important\n}\n.fl-field-control-wrapper .advanced-sidebar-info-panel ol {\n  height: 0;\n  margin: 0 !important;\n  opacity: 0;\n  overflow-y: hidden;\n  padding: 12px 0 0 40px !important;\n  transition: opacity .6s;\n  z-index: 1\n}\n.fl-field-control-wrapper .advanced-sidebar-info-panel.open ol {\n  height: auto;\n  margin: 13px 7px 16px -14px !important;\n  opacity: 1\n}\n.fl-field-control-wrapper .advanced-sidebar-info-panel .button-primary {\n  margin: 0 0 4px 0;\n  position: relative;\n  z-index: 2\n}\n.fl-field-control-wrapper .advanced-sidebar-preview-trigger {\n  display: none\n}\n.fl-field-control-wrapper .advanced-sidebar-levels {\n  margin: -8px 0 4px !important\n}\n.fl-field-control-wrapper .advanced-sidebar-menu-styles-box .advanced-sidebar-menu-column {\n  width: 49% !important\n}\n.fl-field-control-wrapper .advanced-sidebar-menu-styles-box .wp-picker-active {\n  margin: 30px 0 10px calc(-100% - 5px) !important;\n  width: 198%\n}\n/**\n * Customizer\n *\n ------------------------------------- */\n.wp-customizer .advanced-sidebar-menu-icon-preview {\n  margin: 5px 0 0 5px\n}\n.wp-customizer .advanced-sidebar-menu-column {\n  width: 100%\n}\n.wp-customizer .advanced-sidebar-menu-column .advanced-sidebar-menu-column {\n  width: 49%\n}\n.wp-customizer .advanced-sidebar-menu-column-right {\n  margin-left: 0\n}\n.wp-customizer .advanced-sidebar-info-panel {\n  overflow: hidden\n}\n.wp-customizer .advanced-sidebar-info-panel h3 {\n  cursor: pointer\n}\n.wp-customizer .advanced-sidebar-info-panel ol {\n  height: 0;\n  margin: 0 !important;\n  opacity: 0;\n  overflow-y: hidden;\n  padding: 0 0 0 12px !important;\n  transition: opacity .6s;\n  z-index: 1\n}\n.wp-customizer .advanced-sidebar-info-panel.open ol {\n  height: auto;\n  margin: 13px 13px 4px !important;\n  opacity: 1\n}\n.wp-customizer .advanced-sidebar-preview-trigger {\n  display: none\n}\n.wp-customizer .wp-picker-container .wp-color-result.button {\n  margin: 0 6px 6px 0\n}\n@media (any-hover: hover) {\n  .advanced-sidebar-menu-close-icon:hover {\n    color: #000\n  }\n}\n@media (prefers-color-scheme: dark) {\n  .elementor-control-content .advanced-sidebar-menu-column-box {\n    background-color: #404349 !important;\n    color: #e0e1e3 !important\n  }\n}\n@media all and (max-width: 960px) {\n  .advanced-sidebar-menu-column {\n    width: 100%\n  }\n  .advanced-sidebar-menu-column .advanced-sidebar-menu-column {\n    width: 49%\n  }\n  .advanced-sidebar-menu-column-right {\n    margin-left: 0\n  }\n  .advanced-sidebar-menu-column .advanced-sidebar-menu-column-right {\n    margin-left: 2%\n  }\n  .advanced-sidebar-desktop-only {\n    display: none !important\n  }\n  .advanced-sidebar-menu-open .advanced-sidebar-menu-column-box {\n    display: inherit\n  }\n}\n@media all and (max-width: 782px) {\n  .advanced-sidebar-menu-column-box .description {\n    margin: 4px 0 8px !important\n  }\n  .advanced-sidebar-menu-styles-box .advanced-sidebar-menu-column select,\n  .advanced-sidebar-menu-styles-box .advanced-sidebar-menu-column input {\n    width: 145px !important\n  }\n  .advanced-sidebar-menu-styles-box .advanced-sidebar-menu-column select.asm-color-select,\n  .advanced-sidebar-menu-styles-box .advanced-sidebar-menu-column input.asm-color-select {\n    width: 75px !important\n  }\n  .advanced-sidebar-menu-links-expand-all {\n    margin: 12px 0 4px !important\n  }\n  .advanced-sidebar-menu-links-expand-all li {\n    margin-bottom: 8px\n  }\n  .elementor-control-content .advanced-sidebar-menu-styles-box .advanced-sidebar-menu-column {\n    width: 100% !important\n  }\n  .elementor-control-content .advanced-sidebar-menu-styles-box .wp-picker-active {\n    margin: 0 0 10px !important\n  }\n  .elementor-control-content .advanced-sidebar-menu-styles-box .wp-picker-open + .wp-picker-input-wrap {\n    display: block\n  }\n  .fl-field-control-wrapper .advanced-sidebar-menu-column-box .description {\n    margin: 4px 0 0 !important\n  }\n  .fl-field-control-wrapper .advanced-sidebar-levels {\n    margin: -8px 0 4px !important\n  }\n  .fl-field-control-wrapper .advanced-sidebar-levels li {\n    margin-bottom: 2px\n  }\n  .wp-customizer .advanced-sidebar-menu-column .wp-picker-container {\n    margin-bottom: 8px\n  }\n}"],"names":[],"sourceRoot":""}
     1{"version":3,"file":"advanced-sidebar-menu-admin.css","mappings":";;;AAAA;;;;gDAIgD;AAChD;EACE,WAAW;EACX;AACF;AACA;EACE;AACF;AACA;EACE,mBAAmB;EACnB,sBAAsB;EACtB,mBAAmB;EACnB;AACF;AACA;EACE,eAAe;EACf,2BAA2B;EAC3B;AACF;AACA;EACE,4BAA4B;EAC5B;AACF;AACA;EACE,0BAA0B;EAC1B;AACF;AACA;EACE,cAAc;EACd,cAAc;EACd,eAAe;EACf,4BAA4B;EAC5B,4BAA4B;EAC5B;AACF;AACA;EACE;AACF;AACA;;;EAGE;AACF;AACA;EACE,gCAAgC;EAChC,oCAAoC;EACpC;AACF;AACA;;EAEE;AACF;AACA;EACE;AACF;AACA;EACE,yBAAyB;EACzB,4BAA4B;EAC5B;AACF;AACA;EACE,gBAAgB;EAChB,yBAAyB;EACzB,0BAA0B;EAC1B,2BAA2B;EAC3B,mBAAmB;EACnB,4BAA4B;EAC5B,4BAA4B;EAC5B;AACF;AACA;EACE,qCAAqC;EACrC;AACF;AACA;EACE,eAAe;EACf,uBAAuB;EACvB,6BAA6B;EAC7B;AACF;AACA;EACE,gBAAgB;EAChB,yBAAyB;EACzB;AACF;AACA;;EAEE,kBAAkB;EAClB;AACF;AACA;EACE,sBAAsB;EACtB;AACF;AACA;EACE;AACF;AACA;EACE,WAAW;EACX;AACF;AACA;EACE;AACF;AACA;;EAEE,0BAA0B;EAC1B;AACF;AACA;EACE;AACF;AACA;EACE,6BAA6B;EAC7B;AACF;AACA;EACE,cAAc;EACd,2BAA2B;EAC3B;AACF;AACA;;;wDAGwD;AACxD,0DAA0D;AAC1D;EACE;AACF;AACA;EACE,gCAAgC;EAChC;AACF;AACA;EACE,gCAAgC;EAChC,uBAAuB;EACvB,yBAAyB;EACzB,4BAA4B;EAC5B,8BAA8B;EAC9B,8BAA8B;EAC9B;AACF;AACA;;;wDAGwD;AACxD;EACE,qBAAqB;EACrB;AACF;AACA;;;EAGE,yBAAyB;EACzB;AACF;AACA;EACE,eAAe;EACf;AACF;AACA;;EAEE,yBAAyB;EACzB,4BAA4B;EAC5B;AACF;AACA;EACE;AACF;AACA;EACE,eAAe;EACf,aAAa;EACb,eAAe;EACf,iBAAiB;EACjB,kBAAkB;EAClB,WAAW;EACX;AACF;AACA;EACE;AACF;AACA;EACE,gBAAgB;EAChB,8BAA8B;EAC9B;AACF;AACA;EACE;AACF;AACA;EACE;AACF;AACA;;EAEE;AACF;AACA;EACE;AACF;AACA;EACE,yBAAyB;EACzB;AACF;AACA;;;4CAG4C;AAC5C;;;gDAGgD;AAChD;EACE;AACF;AACA;EACE;AACF;AACA;;;;EAIE,gBAAgB;EAChB,WAAW;EACX;AACF;AACA;EACE;AACF;AACA;EACE,gBAAgB;EAChB,gBAAgB;EAChB;AACF;AACA;EACE,kBAAkB;EAClB;AACF;AACA;EACE,eAAe;EACf,iBAAiB;EACjB;AACF;AACA;EACE;AACF;AACA;EACE;AACF;AACA;EACE,eAAe;EACf,0BAA0B;EAC1B;AACF;AACA;EACE,SAAS;EACT,oBAAoB;EACpB,UAAU;EACV,kBAAkB;EAClB,8BAA8B;EAC9B,uBAAuB;EACvB;AACF;AACA;EACE,YAAY;EACZ,uBAAuB;EACvB;AACF;AACA;EACE,kBAAkB;EAClB;AACF;AACA;EACE;AACF;AACA;EACE;AACF;AACA;EACE;AACF;AACA;EACE,gDAAgD;EAChD;AACF;AACA;;;gDAGgD;AAChD;EACE,6BAA6B;EAC7B;AACF;AACA;EACE;AACF;AACA;EACE,qCAAqC;EACrC,6BAA6B;EAC7B;AACF;AACA;EACE,kBAAkB;EAClB;AACF;AACA;EACE;AACF;AACA;EACE;AACF;AACA;EACE;AACF;AACA;EACE,kBAAkB;EAClB;AACF;AACA;EACE,eAAe;EACf;AACF;AACA;EACE;AACF;AACA;EACE,0BAA0B;EAC1B,gBAAgB;EAChB;AACF;AACA;EACE;AACF;AACA;EACE,WAAW;EACX;AACF;AACA;EACE;AACF;AACA;EACE,+BAA+B;EAC/B;AACF;AACA;EACE,kBAAkB;EAClB;AACF;AACA;EACE,kBAAkB;EAClB;AACF;AACA;EACE;AACF;AACA;EACE;AACF;AACA;EACE,eAAe;EACf,0BAA0B;EAC1B;AACF;AACA;EACE,SAAS;EACT,oBAAoB;EACpB,UAAU;EACV,kBAAkB;EAClB,iCAAiC;EACjC,uBAAuB;EACvB;AACF;AACA;EACE,YAAY;EACZ,sCAAsC;EACtC;AACF;AACA;EACE,iBAAiB;EACjB,kBAAkB;EAClB;AACF;AACA;EACE;AACF;AACA;EACE;AACF;AACA;EACE;AACF;AACA;EACE,gDAAgD;EAChD;AACF;AACA;;;wCAGwC;AACxC;EACE;AACF;AACA;EACE;AACF;AACA;EACE;AACF;AACA;EACE;AACF;AACA;EACE;AACF;AACA;EACE;AACF;AACA;EACE,SAAS;EACT,oBAAoB;EACpB,UAAU;EACV,kBAAkB;EAClB,8BAA8B;EAC9B,uBAAuB;EACvB;AACF;AACA;EACE,YAAY;EACZ,gCAAgC;EAChC;AACF;AACA;EACE;AACF;AACA;EACE;AACF;AACA;EACE;IACE;EACF;AACF;AACA;EACE;IACE,oCAAoC;IACpC;EACF;AACF;AACA;EACE;IACE;EACF;EACA;IACE;EACF;EACA;IACE;EACF;EACA;IACE;EACF;EACA;IACE;EACF;EACA;IACE;EACF;AACF;AACA;EACE;IACE;EACF;EACA;;IAEE;EACF;EACA;;IAEE;EACF;EACA;IACE;EACF;EACA;IACE;EACF;EACA;IACE;EACF;EACA;IACE;EACF;EACA;IACE;EACF;EACA;IACE;EACF;EACA;IACE;EACF;EACA;IACE;EACF;EACA;IACE;EACF;AACF,C","sources":["webpack://@onpointplugins/advanced-sidebar-menu/./js/src/pcss/%3Cinput%20css%20A7b4Z-%3E"],"sourcesContent":["/**\n * Admin styles for widgets and some light\n * styles used by blocks.\n *\n ----------------------------------------------*/\n.advanced-sidebar-menu-column {\n  float: left;\n  width: 49%\n}\n.advanced-sidebar-menu-column-right {\n  margin-left: 2%\n}\n.advanced-sidebar-menu-column-box {\n  background: #f1f1f1;\n  border: 1px solid #ddd;\n  margin-bottom: 10px;\n  padding: 10px\n}\n.advanced-sidebar-menu-column-box h3 {\n  font-size: 17px;\n  font-weight: 600 !important;\n  margin: 17px 0 !important\n}\n.advanced-sidebar-menu-column-box p {\n  line-height: 19px !important;\n  padding: 0 !important\n}\n.advanced-sidebar-menu-column-box label {\n  display: inline !important;\n  line-height: 19px !important\n}\n.advanced-sidebar-menu-column-box .description {\n  color: #646970;\n  display: block;\n  font-size: 12px;\n  line-height: 14px !important;\n  margin: 4px 0 0 0 !important;\n  padding: 0 !important\n}\n.advanced-sidebar-menu-column-box .advanced-sidebar-menu-column a {\n  color: #0073aa !important\n}\n.advanced-sidebar-menu-column-box select,\n.advanced-sidebar-menu-column-box input[type='number'],\n.advanced-sidebar-menu-column-box input[type='text'] {\n  background-color: #fff !important\n}\n.advanced-sidebar-menu-column-box select {\n  display: inline-block !important;\n  padding: 4px 24px 4px 8px !important;\n  width: auto !important\n}\n.advanced-sidebar-menu-column-box select,\n.advanced-sidebar-menu-column-box input[type='text'] {\n  line-height: 1.5 !important\n}\n.advanced-sidebar-menu-column-box input[type='text'] {\n  padding: 4px 8px !important\n}\n.advanced-sidebar-menu-column-box select.widefat {\n  display: block !important;\n  margin: 4px 0 0 0 !important;\n  width: 100% !important\n}\n.advanced-sidebar-info-panel h3 {\n  box-shadow: none;\n  color: #3db634 !important;\n  font-size: 20px !important;\n  font-weight: 700 !important;\n  letter-spacing: 2px;\n  line-height: 22px !important;\n  margin: 3px 0 0 0 !important;\n  text-align: center !important\n}\n.advanced-sidebar-info-panel ol {\n  margin: 10px 13px 8px 26px !important;\n  padding: 0 !important\n}\n.advanced-sidebar-info-panel li {\n  font-size: 13px;\n  line-height: 1.23076923;\n  list-style: square !important;\n  margin: 0 0 6px 0 !important\n}\n.advanced-sidebar-info-panel li a {\n  box-shadow: none;\n  color: #0073aa !important;\n  text-decoration: none\n}\n.advanced-sidebar-info-panel .button-primary,\n.advanced-sidebar-info-panel .button-secondary {\n  text-align: center;\n  width: 100%\n}\n.advanced-sidebar-info-panel .button-primary {\n  color: #fff !important;\n  margin: 15px 0 15px 0\n}\n.advanced-sidebar-info-panel .button-secondary {\n  margin: 0 0 11px 0\n}\n.advanced-sidebar-menu-full-width {\n  clear: both;\n  width: 100%\n}\n.advanced-sidebar-menu-styles-box {\n  padding: 0 10px 10px\n}\n.advanced-sidebar-menu-styles-box .advanced-sidebar-menu-column select,\n.advanced-sidebar-menu-styles-box .advanced-sidebar-menu-column input {\n  margin: 0 0 6px !important;\n  width: 103px !important\n}\n.advanced-sidebar-menu-styles-box .wp-picker-active {\n  margin: 30px 0 10px calc(-100% - 5px) !important\n}\n.advanced-sidebar-menu-links-expand-all {\n  margin: -4px 0 4px !important;\n  padding: 0 !important\n}\n.advanced-sidebar-menu-links-expand-all li {\n  line-height: 1;\n  list-style: none !important;\n  margin-bottom: 2px\n}\n/**\n * Color pickers\n *\n * --------------------------------------------------- */\n/* stylelint-disable-line -- allowing duplicate selector */\n.advanced-sidebar-menu-column .wp-color-result-text {\n  background: #fff\n}\n.advanced-sidebar-menu-column .asm-color-select {\n  display: inline-block !important;\n  width: 100px !important\n}\n.advanced-sidebar-menu-column .wp-picker-active .wp-picker-clear {\n  display: inline-block !important;\n  height: 30px !important;\n  line-height: 1 !important;\n  margin: 0 0 0 6px !important;\n  min-height: inherit !important;\n  vertical-align: top !important;\n  width: auto !important\n}\n/**\n * Preview\n *\n * --------------------------------------------------- */\n.advanced-sidebar-menu-icon-preview {\n  display: inline-block;\n  margin: 0 0 0 5px\n}\n.advanced-sidebar-menu-icon-preview g,\n.advanced-sidebar-menu-icon-preview path,\n.advanced-sidebar-menu-icon-preview svg {\n  color: inherit !important;\n  fill: currentcolor !important\n}\n.advanced-sidebar-menu-icon-preview .dashicons {\n  font-size: 25px;\n  outline: none !important\n}\n.advanced-sidebar-menu-block-field,\nselect.advanced-sidebar-menu-block-field {\n  display: block !important;\n  margin: 5px 0 0 0 !important;\n  width: 100% !important\n}\n.advanced-sidebar-menu-styles-button {\n  text-align: center\n}\n.advanced-sidebar-menu-close-icon {\n  cursor: pointer;\n  display: none;\n  font-size: 40px;\n  margin: 5px 0 0 0;\n  position: absolute;\n  right: 40px;\n  transition: all 300ms linear\n}\n.block-editor-page .advanced-sidebar-menu-close-icon {\n  right: 25px\n}\n.advanced-sidebar-menu-preview-image {\n  background: #fff;\n  transition: width 300ms linear;\n  width: 0\n}\n.advanced-sidebar-menu-preview-wrap {\n  height: 0\n}\n.advanced-sidebar-menu-open .advanced-sidebar-menu-preview-wrap {\n  height: auto\n}\n.advanced-sidebar-menu-open .advanced-sidebar-menu-column-box,\n.advanced-sidebar-menu-open .widget-control-actions {\n  display: none\n}\n.advanced-sidebar-widget-documentation {\n  text-align: right\n}\n.advanced-sidebar-widget-documentation a {\n  color: #0073aa !important;\n  font-size: 13px\n}\n/*\n* Media Queries\n*\n------------------------------------------ */\n/**\n * Elementor\n *\n ----------------------------------------------*/\n.elementor-control-content .advanced-sidebar-menu-column {\n  width: 100%\n}\n.elementor-control-content .advanced-sidebar-menu-column-right {\n  margin-left: 0\n}\n.elementor-control-content .advanced-sidebar-menu-column-box select,\n.elementor-control-content .advanced-sidebar-menu-column-box input[type='text'],\n.elementor-control-content .advanced-sidebar-menu-column-box input[type='number'],\n.elementor-control-content .advanced-sidebar-menu-column-box .widefat {\n  background: #fff;\n  color: #000;\n  width: 100%\n}\n.elementor-control-content .advanced-sidebar-menu-column-box p {\n  margin-bottom: 8px\n}\n.elementor-control-content .advanced-sidebar-menu-column-box .wp-picker-container input[type='text'].wp-color-picker {\n  font-weight: 600;\n  min-height: auto;\n  padding: 0 5px\n}\n.elementor-control-content .advanced-sidebar-menu-column-box .advanced-sidebar-menu-border-color .wp-color-result {\n  position: relative;\n  top: 7px\n}\n.elementor-control-content .advanced-sidebar-menu-column-box h3 {\n  font-size: 17px;\n  line-height: 22px;\n  margin: 10px 0\n}\n.elementor-control-content .advanced-sidebar-menu-column-box .description {\n  margin: 8px 0 !important\n}\n.elementor-control-content .advanced-sidebar-info-panel {\n  overflow: hidden\n}\n.elementor-control-content .advanced-sidebar-info-panel h3 {\n  cursor: pointer;\n  font-size: 18px !important;\n  margin: 0 0 8px !important\n}\n.elementor-control-content .advanced-sidebar-info-panel ol {\n  height: 0;\n  margin: 0 !important;\n  opacity: 0;\n  overflow-y: hidden;\n  padding: 0 0 0 12px !important;\n  transition: opacity .6s;\n  z-index: 1\n}\n.elementor-control-content .advanced-sidebar-info-panel.open ol {\n  height: auto;\n  margin: 13px !important;\n  opacity: 1\n}\n.elementor-control-content .advanced-sidebar-info-panel .button-primary {\n  position: relative;\n  z-index: 2\n}\n.elementor-control-content .advanced-sidebar-preview-trigger {\n  display: none\n}\n.elementor-control-content .advanced-sidebar-menu-accordion-wrap select {\n  margin: 0 0 4px\n}\n.elementor-control-content .advanced-sidebar-menu-styles-box .advanced-sidebar-menu-column {\n  width: 49% !important\n}\n.elementor-control-content .advanced-sidebar-menu-styles-box .wp-picker-active {\n  margin: 30px 0 10px calc(-100% - 5px) !important;\n  width: 198%\n}\n/**\n * Beaver Builder\n *\n ----------------------------------------------*/\n.fl-field-control-wrapper .advanced-sidebar-menu-column {\n  margin-left: -20px !important;\n  width: calc(100% + 20px) !important\n}\n.fl-field-control-wrapper .advanced-sidebar-menu-column .advanced-sidebar-menu-column {\n  margin-left: 0 !important\n}\n.fl-field-control-wrapper .advanced-sidebar-menu-styles-button {\n  margin: 6px auto 18px auto !important;\n  margin-left: -20px !important;\n  width: 100%\n}\n.fl-field-control-wrapper .advanced-sidebar-menu-styles-button > div {\n  text-align: center;\n  width: 100%\n}\n.fl-field-control-wrapper .advanced-sidebar-menu-styles-button button {\n  border: 1px solid var(--fl-builder-muted-accent-color, #555d66) !important\n}\n.fl-field-control-wrapper .advanced-sidebar-menu-column select {\n  width: 90% !important\n}\n.fl-field-control-wrapper .advanced-sidebar-menu-column-right {\n  margin-left: 0\n}\n.fl-field-control-wrapper .advanced-sidebar-menu-column-box .widefat {\n  text-align: center;\n  width: 90%\n}\n.fl-field-control-wrapper .advanced-sidebar-menu-column-box h3 {\n  font-size: 17px;\n  margin: 10px 0\n}\n.fl-field-control-wrapper .advanced-sidebar-menu-column-box input {\n  margin: 0 !important\n}\n.fl-field-control-wrapper .advanced-sidebar-menu-column-box label {\n  display: inline !important;\n  font-weight: 500;\n  vertical-align: middle !important\n}\n.fl-field-control-wrapper .advanced-sidebar-menu-column-box input[type='checkbox'] {\n  vertical-align: middle !important\n}\n.fl-field-control-wrapper .advanced-sidebar-menu-column-box .wp-color-result-text {\n  color: #555;\n  line-height: 2.545\n}\n.fl-field-control-wrapper .advanced-sidebar-menu-column-box .wp-picker-container input[type='text'].wp-color-picker {\n  margin: 0 6px 0 0 !important\n}\n.fl-field-control-wrapper .advanced-sidebar-menu-column-box .wp-picker-active {\n  margin: 5px 0 10px 0 !important;\n  width: 100%\n}\n.fl-field-control-wrapper .advanced-sidebar-menu-column-box .wp-picker-active input {\n  position: relative;\n  top: -3px\n}\n.fl-field-control-wrapper .advanced-sidebar-menu-column-box .wp-picker-active .wp-picker-clear {\n  position: relative;\n  top: 0\n}\n.fl-field-control-wrapper .advanced-sidebar-menu-column-box .description em {\n  color: #50575e\n}\n.fl-field-control-wrapper .advanced-sidebar-info-panel {\n  overflow: hidden\n}\n.fl-field-control-wrapper .advanced-sidebar-info-panel h3 {\n  cursor: pointer;\n  font-size: 18px !important;\n  margin: 0 0 -5px !important\n}\n.fl-field-control-wrapper .advanced-sidebar-info-panel ol {\n  height: 0;\n  margin: 0 !important;\n  opacity: 0;\n  overflow-y: hidden;\n  padding: 12px 0 0 40px !important;\n  transition: opacity .6s;\n  z-index: 1\n}\n.fl-field-control-wrapper .advanced-sidebar-info-panel.open ol {\n  height: auto;\n  margin: 13px 7px 16px -14px !important;\n  opacity: 1\n}\n.fl-field-control-wrapper .advanced-sidebar-info-panel .button-primary {\n  margin: 0 0 4px 0;\n  position: relative;\n  z-index: 2\n}\n.fl-field-control-wrapper .advanced-sidebar-preview-trigger {\n  display: none\n}\n.fl-field-control-wrapper .advanced-sidebar-levels {\n  margin: -8px 0 4px !important\n}\n.fl-field-control-wrapper .advanced-sidebar-menu-styles-box .advanced-sidebar-menu-column {\n  width: 49% !important\n}\n.fl-field-control-wrapper .advanced-sidebar-menu-styles-box .wp-picker-active {\n  margin: 30px 0 10px calc(-100% - 5px) !important;\n  width: 198%\n}\n/**\n * Customizer\n *\n ------------------------------------- */\n.wp-customizer .advanced-sidebar-menu-icon-preview {\n  margin: 5px 0 0 5px\n}\n.wp-customizer .advanced-sidebar-menu-column {\n  width: 100%\n}\n.wp-customizer .advanced-sidebar-menu-column .advanced-sidebar-menu-column {\n  width: 49%\n}\n.wp-customizer .advanced-sidebar-menu-column-right {\n  margin-left: 0\n}\n.wp-customizer .advanced-sidebar-info-panel {\n  overflow: hidden\n}\n.wp-customizer .advanced-sidebar-info-panel h3 {\n  cursor: pointer\n}\n.wp-customizer .advanced-sidebar-info-panel ol {\n  height: 0;\n  margin: 0 !important;\n  opacity: 0;\n  overflow-y: hidden;\n  padding: 0 0 0 12px !important;\n  transition: opacity .6s;\n  z-index: 1\n}\n.wp-customizer .advanced-sidebar-info-panel.open ol {\n  height: auto;\n  margin: 13px 13px 4px !important;\n  opacity: 1\n}\n.wp-customizer .advanced-sidebar-preview-trigger {\n  display: none\n}\n.wp-customizer .wp-picker-container .wp-color-result.button {\n  margin: 0 6px 6px 0\n}\n@media (any-hover: hover) {\n  .advanced-sidebar-menu-close-icon:hover {\n    color: #000\n  }\n}\n@media (prefers-color-scheme: dark) {\n  .elementor-control-content .advanced-sidebar-menu-column-box {\n    background-color: #404349 !important;\n    color: #e0e1e3 !important\n  }\n}\n@media all and (max-width: 960px) {\n  .advanced-sidebar-menu-column {\n    width: 100%\n  }\n  .advanced-sidebar-menu-column .advanced-sidebar-menu-column {\n    width: 49%\n  }\n  .advanced-sidebar-menu-column-right {\n    margin-left: 0\n  }\n  .advanced-sidebar-menu-column .advanced-sidebar-menu-column-right {\n    margin-left: 2%\n  }\n  .advanced-sidebar-desktop-only {\n    display: none !important\n  }\n  .advanced-sidebar-menu-open .advanced-sidebar-menu-column-box {\n    display: inherit\n  }\n}\n@media all and (max-width: 782px) {\n  .advanced-sidebar-menu-column-box .description {\n    margin: 4px 0 8px !important\n  }\n  .advanced-sidebar-menu-styles-box .advanced-sidebar-menu-column select,\n  .advanced-sidebar-menu-styles-box .advanced-sidebar-menu-column input {\n    width: 145px !important\n  }\n  .advanced-sidebar-menu-styles-box .advanced-sidebar-menu-column select.asm-color-select,\n  .advanced-sidebar-menu-styles-box .advanced-sidebar-menu-column input.asm-color-select {\n    width: 75px !important\n  }\n  .advanced-sidebar-menu-links-expand-all {\n    margin: 12px 0 4px !important\n  }\n  .advanced-sidebar-menu-links-expand-all li {\n    margin-bottom: 8px\n  }\n  .elementor-control-content .advanced-sidebar-menu-styles-box .advanced-sidebar-menu-column {\n    width: 100% !important\n  }\n  .elementor-control-content .advanced-sidebar-menu-styles-box .wp-picker-active {\n    margin: 0 0 10px !important\n  }\n  .elementor-control-content .advanced-sidebar-menu-styles-box .wp-picker-open + .wp-picker-input-wrap {\n    display: block\n  }\n  .fl-field-control-wrapper .advanced-sidebar-menu-column-box .description {\n    margin: 4px 0 0 !important\n  }\n  .fl-field-control-wrapper .advanced-sidebar-levels {\n    margin: -8px 0 4px !important\n  }\n  .fl-field-control-wrapper .advanced-sidebar-levels li {\n    margin-bottom: 2px\n  }\n  .wp-customizer .advanced-sidebar-menu-column .wp-picker-container {\n    margin-bottom: 8px\n  }\n}"],"names":[],"sourceRoot":""}
  • advanced-sidebar-menu/tags/9.8.2/js/dist/advanced-sidebar-menu-block-editor.css.map

    r3391412 r3391853  
    1 {"version":3,"file":"advanced-sidebar-menu-block-editor.css","mappings":";;;AAAA;EACE,yBAAyB;EACzB,8BAA8B;EAC9B,SAAS;EACT;AACF,C;;;;ACLA;EACE,0BAA0B;EAC1B;AACF;AACA;EACE,2BAA2B;EAC3B,sBAAsB;EACtB;AACF;AACA;EACE;AACF;AACA;EACE,2BAA2B;EAC3B,yBAAyB;EACzB,kBAAkB;EAClB;AACF;AACA;EACE,eAAe;EACf,YAAY;EACZ;AACF;AACA;EACE,YAAY;EACZ;AACF;AACA;EACE,2BAA2B;EAC3B;AACF;AACA;EACE,0BAA0B;EAC1B,eAAe;EACf,gBAAgB;EAChB,WAAW;EACX;AACF;AACA;EACE,iBAAiB;EACjB;AACF;AACA;EACE,SAAS;EACT,qBAAqB;EACrB,kBAAkB;EAClB;AACF;AACA;EACE;AACF,C;;;;AClDA;EACE;AACF;AACA;EACE,gBAAgB;EAChB;AACF;AACA;EACE,uBAAuB;EACvB;AACF,C;;;;ACVA;EACE,0BAA0B;EAC1B,gBAAgB;EAChB,WAAW;EACX;AACF,C","sources":["webpack://@onpointplugins/advanced-sidebar-menu/./js/src/components/%3Cinput%20css%20GZ8CzZ%3E","webpack://@onpointplugins/advanced-sidebar-menu/./js/src/gutenberg/blocks/%3Cinput%20css%20VgJuDa%3E","webpack://@onpointplugins/advanced-sidebar-menu/./js/src/gutenberg/blocks/%3Cinput%20css%20hH1WpJ%3E","webpack://@onpointplugins/advanced-sidebar-menu/./js/src/gutenberg/blocks/pages/%3Cinput%20css%20GLRElO%3E"],"sourcesContent":[".wrap {\n  border: 1px solid #e0e0e0;\n  border-left: 4px solid #72aee6;\n  margin: 0;\n  padding-right: 12px !important\n}",".wrap svg {\n  cursor: pointer !important;\n  pointer-events: unset !important\n}\n.placeholder :global(.components-placeholder__label) {\n  /* stylelint-disable-line */\n  flex-direction: column;\n  width: 100%\n}\n.placeholder :global(.components-placeholder__label) svg {\n  margin-bottom: 6px\n}\n.placeholder :global(.components-placeholder__instructions) {\n  /* stylelint-disable-line */\n  display: block !important;\n  text-align: center;\n  width: 100%\n}\n.placeholder :global(.dashicons) {\n  font-size: 30px;\n  height: 35px;\n  width: 35px\n}\n.placeholder svg {\n  height: 30px;\n  width: 30px\n}\n.placeholder :global(.components-placeholder__fieldset) {\n  /* stylelint-disable-line */\n  text-align: center\n}\n.error {\n  border: 4px double #d63638;\n  font-size: 14px;\n  font-weight: 600;\n  margin: 2px;\n  padding: 10px\n}\n.spin-wrap {\n  min-height: 100px;\n  position: relative\n}\n.spin {\n  left: 50%;\n  margin: -9px 0 0 -9px;\n  position: absolute;\n  top: 50%\n}\n.spin-content {\n  opacity: .2\n}",".wrap ul {\n  margin-block-end: 1em\n}\n.wrap li {\n  list-style: disc;\n  margin: 0 0 0 15px\n}\n.button {\n  justify-content: center;\n  width: 100%\n}",".error {\n  border: 4px double #d63638;\n  font-weight: 600;\n  margin: 2px;\n  padding: 10px\n}"],"names":[],"sourceRoot":""}
     1{"version":3,"file":"advanced-sidebar-menu-block-editor.css","mappings":";;;AAAA;EACE,yBAAyB;EACzB,8BAA8B;EAC9B,SAAS;EACT;AACF,C;;;;ACLA;EACE,0BAA0B;EAC1B;AACF;AACA;EACE,2BAA2B;EAC3B,sBAAsB;EACtB;AACF;AACA;EACE;AACF;AACA;EACE,2BAA2B;EAC3B,yBAAyB;EACzB,kBAAkB;EAClB;AACF;AACA;EACE,eAAe;EACf,YAAY;EACZ;AACF;AACA;EACE,YAAY;EACZ;AACF;AACA;EACE,2BAA2B;EAC3B;AACF;AACA;EACE,0BAA0B;EAC1B,eAAe;EACf,gBAAgB;EAChB,WAAW;EACX;AACF;AACA;EACE,iBAAiB;EACjB;AACF;AACA;EACE,SAAS;EACT,qBAAqB;EACrB,kBAAkB;EAClB;AACF;AACA;EACE;AACF,C;;;;AClDA;EACE;AACF;AACA;EACE,gBAAgB;EAChB;AACF;AACA;EACE,uBAAuB;EACvB;AACF,C;;;;ACVA;EACE,0BAA0B;EAC1B,gBAAgB;EAChB,WAAW;EACX;AACF,C","sources":["webpack://@onpointplugins/advanced-sidebar-menu/./js/src/components/%3Cinput%20css%20zJWa7r%3E","webpack://@onpointplugins/advanced-sidebar-menu/./js/src/gutenberg/blocks/%3Cinput%20css%20zFphe8%3E","webpack://@onpointplugins/advanced-sidebar-menu/./js/src/gutenberg/blocks/%3Cinput%20css%20el71tI%3E","webpack://@onpointplugins/advanced-sidebar-menu/./js/src/gutenberg/blocks/pages/%3Cinput%20css%20anZg3Y%3E"],"sourcesContent":[".wrap {\n  border: 1px solid #e0e0e0;\n  border-left: 4px solid #72aee6;\n  margin: 0;\n  padding-right: 12px !important\n}",".wrap svg {\n  cursor: pointer !important;\n  pointer-events: unset !important\n}\n.placeholder :global(.components-placeholder__label) {\n  /* stylelint-disable-line */\n  flex-direction: column;\n  width: 100%\n}\n.placeholder :global(.components-placeholder__label) svg {\n  margin-bottom: 6px\n}\n.placeholder :global(.components-placeholder__instructions) {\n  /* stylelint-disable-line */\n  display: block !important;\n  text-align: center;\n  width: 100%\n}\n.placeholder :global(.dashicons) {\n  font-size: 30px;\n  height: 35px;\n  width: 35px\n}\n.placeholder svg {\n  height: 30px;\n  width: 30px\n}\n.placeholder :global(.components-placeholder__fieldset) {\n  /* stylelint-disable-line */\n  text-align: center\n}\n.error {\n  border: 4px double #d63638;\n  font-size: 14px;\n  font-weight: 600;\n  margin: 2px;\n  padding: 10px\n}\n.spin-wrap {\n  min-height: 100px;\n  position: relative\n}\n.spin {\n  left: 50%;\n  margin: -9px 0 0 -9px;\n  position: absolute;\n  top: 50%\n}\n.spin-content {\n  opacity: .2\n}",".wrap ul {\n  margin-block-end: 1em\n}\n.wrap li {\n  list-style: disc;\n  margin: 0 0 0 15px\n}\n.button {\n  justify-content: center;\n  width: 100%\n}",".error {\n  border: 4px double #d63638;\n  font-weight: 600;\n  margin: 2px;\n  padding: 10px\n}"],"names":[],"sourceRoot":""}
  • advanced-sidebar-menu/tags/9.8.2/js/dist/advanced-sidebar-menu-block-editor.js

    r3391412 r3391853  
    42814281          setAttributes: setAttributes,
    42824282          type: taxonomy,
    4283           children: [(0,_helpers__WEBPACK_IMPORTED_MODULE_14__.isScreen)(['post']) && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_17__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_10__.CheckboxControl
     4283          children: [!(0,_helpers__WEBPACK_IMPORTED_MODULE_14__.isScreen)(['post']) && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_17__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_10__.CheckboxControl
    42844284          /* translators: %s: Selected taxonomy plural label */, {
    42854285            label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_11__.sprintf)((0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_11__.__)('Display %s on single posts', 'advanced-sidebar-menu'), taxonomy?.labels?.name.toLowerCase() ?? ''),
  • advanced-sidebar-menu/tags/9.8.2/js/dist/advanced-sidebar-menu-block-editor.js.map

    r3391412 r3391853  
    1 {"version":3,"file":"advanced-sidebar-menu-block-editor.js","mappings":";;;;;;;;;;AAAa;AACb,YAAY,mBAAO,CAAC,8BAAoB;AACxC,iBAAiB,mBAAO,CAAC,oCAA0B;;AAEnD;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;;;;;;;;;;;;;;;ACtBA;AACA,iEAAe,CAA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AACA;AACA;;AAEA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ,EAAE;AACF;AACA;AACA;AACA;AACA;AACA,IAAI,gBAAgB;AACpB;AACA;AACA;AACA;;;;;;;;;;;;AC3Ca;AACb,cAAc,mBAAO,CAAC,+BAAsB;AAC5C,iBAAiB,mBAAO,CAAC,oCAA0B;AACnD,2BAA2B,mBAAO,CAAC,+CAAqC;;AAExE;AACA,kFAAkF;;AAElF;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACdY;AACb,8BAA8B;AAC9B;AACA;;AAEA;AACA,4EAA4E,MAAM;;AAElF;AACA;AACA,SAAS;AACT;AACA;AACA,EAAE;;;;;;;;;;;;ACbW;AACb,YAAY,mBAAO,CAAC,qCAA2B;;AAE/C;AACA,gDAAgD;AAChD;;;;;;;;;;;;ACLa;AACb,kBAAkB,mBAAO,CAAC,8CAAoC;;AAE9D,6BAA6B;AAC7B;;AAEA;AACA;AACA;;;;;;;;;;;;ACRa;AACb,kBAAkB,mBAAO,CAAC,oCAA0B;AACpD,8BAA8B,mBAAO,CAAC,gDAAsC;AAC5E,2BAA2B,mBAAO,CAAC,+CAAqC;AACxE,eAAe,mBAAO,CAAC,kCAAwB;AAC/C,sBAAsB,mBAAO,CAAC,0CAAgC;AAC9D,iBAAiB,mBAAO,CAAC,oCAA0B;;AAEnD;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;;ACpBA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE;AACF;AACA;AACA;AACA;AACA,EAAE,UAAU;AACZ;AACA;AACA;AACA,EAAE;AACF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,2FAA2F,aAAa;AACxG;AACA;AACA;AACA;AACA;AACA;AACA;AACA,+FAA+F,eAAe;AAC9G;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,+FAA+F,eAAe;AAC9G;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,2EAA2E,eAAe;AAC1F;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,sBAAsB,sBAAsB;AAC5C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,8BAA8B,EAAE,iBAAiB,EAAE,MAAM;AACzD;AACA,8BAA8B,aAAa;AAC3C,wDAAwD;AACxD,0CAA0C;AAC1C;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA,KAAK;AACL,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;AACA,0CAA0C;AAC1C;AACA;AACA,0CAA0C;AAC1C;AACA;AACA,gBAAgB,sBAAsB;AACtC,gBAAgB,sBAAsB;AACtC,gBAAgB,SAAS;AACzB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,6CAA6C;AAC7C;AACA;AACA,2CAA2C;AAC3C;AACA;AACA,iDAAiD;AACjD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gDAAgD;AAChD,kDAAkD;AAClD,2CAA2C;AAC3C;AACA;AACA;AACA;AACA,kDAAkD;AAClD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,0EAA0E;AAC1E,0EAA0E;AAC1E,sFAAsF;AACtF;AACA;AACA,gFAAgF;AAChF,wEAAwE,gDAAgD;AACxH,wEAAwE,gDAAgD;AACxH;AACA,qDAAqD;AACrD,qDAAqD;AACrD,oEAAoE;AACpE,uEAAuE;AACvE,0DAA0D;AAC1D,+CAA+C;AAC/C,kDAAkD;AAClD,0CAA0C;AAC1C,4DAA4D;AAC5D,4DAA4D;AAC5D,0CAA0C;AAC1C,+CAA+C;AAC/C,8DAA8D;AAC9D,+CAA+C;AAC/C,sCAAsC;AACtC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gCAAgC;AAChC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kCAAkC;AAClC,qCAAqC;AACrC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP,MAAM;AACN;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAU;AACV,QAAQ;AACR;AACA;AACA,UAAU;AACV;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uCAAuC,QAAQ;AAC/C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,0CAA0C;AAC1C,oFAAoF,6DAA6D,8HAA8H;AAC/Q;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qTAAqT;AACrT;AACA;AACA;AACA,MAAM,wCAAwC,oFAAoF,oKAAoK,iHAAiH;AACvZ;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN,oCAAoC;AACpC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,yCAAyC;AACzC;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA,2CAA2C;AAC3C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,4BAA4B;AAC5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY;AACZ;AACA;AACA;AACA;AACA;AACA,YAAY;AACZ;AACA;AACA,UAAU;AACV;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA,QAAQ;AACR;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qBAAqB;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAC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AAoB,mBAAO,CAAC,uCAA6B;;AAEzD;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,MAAM;AACN;;AAEA;AACA;AACA,IAAI;AACJ;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA,4DAA4D,gBAAgB;AAC5E;AACA;AACA,QAAQ;AACR;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA,IAAI;AACJ;;;;;;;;;;;;ACpEa;AACb,wBAAwB,mBAAO,CAAC,6CAAmC;;AAEnE;;AAEA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACVa;AACb,iBAAiB,mBAAO,CAAC,oCAA0B;AACnD,2BAA2B,mBAAO,CAAC,+CAAqC;AACxE,kBAAkB,mBAAO,CAAC,qCAA4B;AACtD,2BAA2B,mBAAO,CAAC,+CAAqC;;AAExE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA,MAAM,gBAAgB;AACtB;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,IAAI;AACJ;;;;;;;;;;;;AC3BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEa;;AAEb,IAAI,IAAqC;AACzC;AACA;;AAEA,YAAY,mBAAO,CAAC,iBAAO;;AAE3B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,iGAAiG,eAAe;AAChH;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,MAAM;;;AAGN;AACA;AACA,KAAK,GAAG;;AAER,kDAAkD;AAClD;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA,4BAA4B;AAC5B;AACA,qCAAqC;;AAErC,gCAAgC;AAChC;AACA;;AAEA,gCAAgC;;AAEhC;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,IAAI;;;AAGJ;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,EAAE;;;AAGF;AACA;AACA,EAAE;;;AAGF;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,YAAY;AACZ;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uCAAuC;;AAEvC;AACA;AACA;AACA;AACA;AACA,SAAS;;AAET;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;;AAET;AACA,sBAAsB;AACtB;AACA,SAAS;AACT,uBAAuB;AACvB;AACA,SAAS;AACT,uBAAuB;AACvB;AACA,SAAS;AACT,wBAAwB;AACxB;AACA,SAAS;AACT,wBAAwB;AACxB;AACA,SAAS;AACT,iCAAiC;AACjC;AACA,SAAS;AACT,2BAA2B;AAC3B;AACA,SAAS;AACT,OAAO;AACP;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA,MAAM;;;AAGN;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,2DAA2D;;AAE3D;AACA;;AAEA;AACA,yDAAyD;AACzD;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;;;AAGT;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;;AAEP;AACA;AACA;AACA;AACA;AACA,UAAU;AACV;AACA;;AAEA;AACA,QAAQ;AACR;AACA;AACA,UAAU;AACV;AACA;;AAEA;AACA;AACA,MAAM;AACN;AACA;AACA,QAAQ;AACR;AACA;;AAEA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,aAAa,kBAAkB;AAC/B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB;AACnB;;AAEA;AACA;AACA,gFAAgF;AAChF;AACA;;;AAGA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,kBAAkB;;;AAGlB;AACA;AACA,cAAc;AACd;;AAEA;AACA;AACA;AACA;AACA,IAAI;AACJ;;AAEA;AACA;AACA;AACA;;AAEA;AACA,IAAI;;;AAGJ;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,YAAY;AACZ;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,8BAA8B;AAC9B;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,2HAA2H;AAC3H;AACA;AACA;;AAEA;AACA,UAAU;AACV;AACA;;AAEA;AACA;;AAEA,oEAAoE;;AAEpE;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA,iCAAiC;;AAEjC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE;;;AAGF;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,wCAAwC;AACxC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,GAAG;AACd,WAAW,GAAG;AACd,WAAW,GAAG;AACd,WAAW,eAAe;AAC1B,WAAW,GAAG;AACd,WAAW,GAAG;AACd;AACA;AACA;AACA;AACA,WAAW,GAAG;AACd;AACA;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,yBAAyB;AACzB;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK,GAAG;;AAER;AACA;AACA;AACA;AACA;AACA,KAAK,GAAG;AACR;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW,GAAG;AACd,WAAW,QAAQ;AACnB,WAAW,QAAQ;AACnB;;AAEA;AACA;AACA,kBAAkB;;AAElB;AACA;AACA,oBAAoB;AACpB,2DAA2D,UAAU;AACrE,yBAAyB,UAAU;AACnC;AACA,aAAa,UAAU;AACvB;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,MAAM;;;AAGN;AACA;AACA;AACA;AACA,MAAM;;;AAGN;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,SAAS;AACpB,YAAY,SAAS;AACrB;AACA;;;AAGA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AAGA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,cAAc;AACzB,WAAW,GAAG;AACd;;;AAGA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA,6DAA6D;AAC7D;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,WAAW;AACtB,WAAW,GAAG;AACd;;;AAGA;AACA;AACA;AACA;AACA;;AAEA;AACA,sBAAsB,iBAAiB;AACvC;;AAEA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA,MAAM;AACN;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,cAAc;AACzB;;;AAGA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA,MAAM;AACN;AACA;;AAEA;AACA;AACA;AACA;AACA,MAAM;AACN,4CAA4C;;AAE5C;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,cAAc;AACzB;;;AAGA;AACA;AACA;;AAEA,oBAAoB,iBAAiB;AACrC;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,8CAA8C;AAC9C;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA,QAAQ;AACR;AACA;;AAEA;;AAEA;AACA;AACA,QAAQ;AACR;AACA,QAAQ;AACR;AACA;AACA,QAAQ;AACR;AACA;;AAEA;AACA;;AAEA,0DAA0D;AAC1D;;AAEA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;;;AAGA;AACA;;AAEA;AACA;AACA;AACA,4BAA4B,qBAAqB;AACjD;AACA;;AAEA;AACA;AACA;AACA,YAAY;AACZ;AACA;AACA,UAAU;AACV;AACA;AACA;AACA;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W,mBAAO,CAAC,sCAA4B;AAC/C,eAAe,mBAAO,CAAC,kCAAwB;AAC/C,gBAAgB,mBAAO,CAAC,mCAAyB;;AAEjD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACvBa;AACb,iBAAiB,mBAAO,CAAC,qCAA2B;AACpD,iBAAiB,mBAAO,CAAC,oCAA0B;AACnD,oBAAoB,mBAAO,CAAC,+CAAqC;AACjE,wBAAwB,mBAAO,CAAC,0CAAgC;;AAEhE;;AAEA;AACA;AACA,EAAE;AACF;AACA;AACA;;;;;;;;;;;;ACba;AACb;AACA,eAAe,mBAAO,CAAC,kCAAwB;AAC/C,6BAA6B,mBAAO,CAAC,iDAAuC;AAC5E,kBAAkB,mBAAO,CAAC,sCAA4B;AACtD,iBAAiB,mBAAO,CAAC,oCAA0B;AACnD,WAAW,mBAAO,CAAC,6BAAmB;AACtC,4BAA4B,mBAAO,CAAC,gDAAsC;AAC1E,gBAAgB,mBAAO,CAAC,kCAAyB;;AAEjD;AACA;AACA;AACA;AACA;;AAEA,qCAAqC;;AAErC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI,gBAAgB;AACpB;AACA;AACA;AACA;AACA,kDAAkD;AAClD;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;;;;;;;;;;;;ACpFa;AACb,kBAAkB,mBAAO,CAAC,8CAAoC;;AAE9D;AACA;AACA;;AAEA;AACA;AACA;;;;;;;;;;;;ACTa;AACb;AACA;AACA;AACA;AACA;AACA;AACA,kBAAkB,YAAY;AAC9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AAG;EAC3FvO,yDAAgC,CAAC,CAAC;AACnC,CAAC,MAAM,IAAK,OAAOxC,MAAM,CAAC8Q,EAAE,CAACG,SAAS,KAAK,WAAW,EAAG;EACxDjR,MAAM,CAAC8Q,EAAE,CAACG,SAAS,CAACC,IAAI,CAAE,OAAO,EAAE,MAAM;IACxC1O,yDAAgC,CAAC,CAAC;EACnC,CAAE,CAAC;AACJ,C","sources":["webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/is-forced.js","webpack://@onpointplugins/advanced-sidebar-menu/./js/src/components/transform-notice.pcss","webpack://@onpointplugins/advanced-sidebar-menu/external var \"window.wp?d615","webpack://@onpointplugins/advanced-sidebar-menu/./js/src/globals/config.ts","webpack://@onpointplugins/advanced-sidebar-menu/./js/src/components/TransformNotice.tsx","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/is-pure.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/shared-key.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/environment-user-agent.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/make-built-in.js","webpack://@onpointplugins/advanced-sidebar-menu/./js/src/gutenberg/blocks/pages/PagesIcon.tsx","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/object-define-property.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/shared-store.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/object-property-is-enumerable.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/shared.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/classof-raw.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/object-define-properties.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/dompurify-npm-3.3.0-caeafd3783-66b1787b0b.zip/node_modules/dompurify/dist/purify.es.mjs","webpack://@onpointplugins/advanced-sidebar-menu/./js/src/gutenberg/index.ts","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/to-string-tag-support.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/define-built-ins.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/descriptors.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/get-method.js","webpack://@onpointplugins/advanced-sidebar-menu/external var \"React\"","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/try-to-string.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/iterator-close-all.js","webpack://@onpointplugins/advanced-sidebar-menu/external var \"jQuery\"","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/is-array-iterator-method.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/function-name.js","webpack://@onpointplugins/advanced-sidebar-menu/./js/src/gutenberg/blocks/pages/Edit.tsx","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/iterate.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/require-object-coercible.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/define-built-in.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/react-npm-18.2.0-1eae08fee2-b562d9b569.zip/node_modules/react/cjs/react-jsx-runtime.development.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/export.js","webpack://@onpointplugins/advanced-sidebar-menu/external var \"window.wp?d71d","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/to-property-key.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/fails.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/well-known-symbol.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/to-indexed-object.js","webpack://@onpointplugins/advanced-sidebar-menu/./js/src/gutenberg/blocks/categories/CategoriesIcon.tsx","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/object-keys-internal.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/an-object.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/to-object.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/weak-map-basic-detection.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/has-own-property.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/create-property-descriptor.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/enum-bug-keys.js","webpack://@onpointplugins/advanced-sidebar-menu/./js/src/gutenberg/blocks/preview.pcss","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/function-bind-context.js","webpack://@onpointplugins/advanced-sidebar-menu/./js/src/gutenberg/blocks/categories/Edit.tsx","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/ordinary-to-primitive.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/is-object.js","webpack://@onpointplugins/advanced-sidebar-menu/./js/src/gutenberg/SideLoad.tsx","webpack://@onpointplugins/advanced-sidebar-menu/./js/src/components/ErrorBoundary.tsx","webpack://@onpointplugins/advanced-sidebar-menu/external var \"window.wp?a199","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/inspect-source.js","webpack://@onpointplugins/advanced-sidebar-menu/external var \"window.wp?72e5","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/__virtual__/react-dom-virtual-aadcd0dad6/0/cache/react-dom-npm-18.2.0-dd675bca1c-66dfc5f93e.zip/node_modules/react-dom/client.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/object-get-prototype-of.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/to-primitive.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/hidden-keys.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/modules/es.iterator.for-each.js","webpack://@onpointplugins/advanced-sidebar-menu/./js/src/gutenberg/blocks/pages/block.tsx","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/an-instance.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/length-of-array-like.js","webpack://@onpointplugins/advanced-sidebar-menu/./js/src/gutenberg/blocks/NavigationIcon.tsx","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/iterators-core.js","webpack://@onpointplugins/advanced-sidebar-menu/external var \"window.wp?537d","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/own-keys.js","webpack://@onpointplugins/advanced-sidebar-menu/external var \"window.wp?f6f0","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/classof.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/iterators.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/to-integer-or-infinity.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/use-symbol-as-uid.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/define-built-in-accessor.js","webpack://@onpointplugins/advanced-sidebar-menu/external var \"ReactDOM\"","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/internal-state.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/object-get-own-property-descriptor.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/create-iter-result-object.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/array-includes.js","webpack://@onpointplugins/advanced-sidebar-menu/./js/src/modules/widgets.tsx","webpack://@onpointplugins/advanced-sidebar-menu/external var \"window.wp?0dcf","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/to-absolute-index.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/modules/es.iterator.map.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/object-is-prototype-of.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/ie8-dom-define.js","webpack://@onpointplugins/advanced-sidebar-menu/./js/src/gutenberg/helpers.ts","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/get-built-in.js","webpack://@onpointplugins/advanced-sidebar-menu/external var \"window.wp?8ca5","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/function-uncurry-this-clause.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/create-property.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/indexed-object.js","webpack://@onpointplugins/advanced-sidebar-menu/external var \"window.wp?3ade","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/iterator-helper-without-closing-on-early-error.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/document-create-element.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/function-uncurry-this.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/iterator-create-proxy.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/get-iterator-direct.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/copy-constructor-properties.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/create-non-enumerable-property.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/__virtual__/@lipemat-js-boilerplate-gutenberg-virtual-7af610892b/0/cache/@lipemat-js-boilerplate-gutenberg-npm-4.2.0-cef29811c4-5c50528ede.zip/node_modules/@lipemat/js-boilerplate-gutenberg/dist/index.module.js","webpack://@onpointplugins/advanced-sidebar-menu/./js/src/gutenberg/blocks/InfoPanel.tsx","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/react-npm-18.2.0-1eae08fee2-b562d9b569.zip/node_modules/react/jsx-runtime.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/get-iterator.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/iterator-close.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/is-symbol.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/object-create.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/uid.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/iterator-helper-throws-on-invalid-iterator.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/function-call.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/symbol-constructor-detection.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/object-get-own-property-names.js","webpack://@onpointplugins/advanced-sidebar-menu/external var \"window.wp","webpack://@onpointplugins/advanced-sidebar-menu/external var \"lodash\"","webpack://@onpointplugins/advanced-sidebar-menu/./js/src/gutenberg/blocks/categories/block.tsx","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/math-trunc.js","webpack://@onpointplugins/advanced-sidebar-menu/external var \"window.wp?3f6b","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/modules/es.iterator.constructor.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/object-keys.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/html.js","webpack://@onpointplugins/advanced-sidebar-menu/./js/src/gutenberg/blocks/Preview.tsx","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/call-with-safe-iteration-closing.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/to-length.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/function-bind-native.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/correct-prototype-getter.js","webpack://@onpointplugins/advanced-sidebar-menu/./js/src/gutenberg/blocks/ sync block\\.tsx$","webpack://@onpointplugins/advanced-sidebar-menu/./js/src/gutenberg/blocks/Display.tsx","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/is-null-or-undefined.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/global-this.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/get-iterator-method.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/environment-v8-version.js","webpack://@onpointplugins/advanced-sidebar-menu/./js/src/gutenberg/blocks/ExcludeField.tsx","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/is-callable.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/object-get-own-property-symbols.js","webpack://@onpointplugins/advanced-sidebar-menu/./js/src/gutenberg/blocks/pages/edit.pcss","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/a-callable.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/v8-prototype-define-bug.js","webpack://@onpointplugins/advanced-sidebar-menu/./js/src/gutenberg/blocks/info-panel.pcss","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/define-global-property.js","webpack://@onpointplugins/advanced-sidebar-menu/webpack/bootstrap","webpack://@onpointplugins/advanced-sidebar-menu/webpack/runtime/compat get default export","webpack://@onpointplugins/advanced-sidebar-menu/webpack/runtime/define property getters","webpack://@onpointplugins/advanced-sidebar-menu/webpack/runtime/global","webpack://@onpointplugins/advanced-sidebar-menu/webpack/runtime/harmony module decorator","webpack://@onpointplugins/advanced-sidebar-menu/webpack/runtime/hasOwnProperty shorthand","webpack://@onpointplugins/advanced-sidebar-menu/webpack/runtime/make namespace object","webpack://@onpointplugins/advanced-sidebar-menu/./js/src/block-editor.ts"],"sourcesContent":["'use strict';\nvar fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\n\nvar replacement = /#|\\.prototype\\./;\n\nvar isForced = function (feature, detection) {\n  var value = data[normalize(feature)];\n  return value === POLYFILL ? true\n    : value === NATIVE ? false\n    : isCallable(detection) ? fails(detection)\n    : !!detection;\n};\n\nvar normalize = isForced.normalize = function (string) {\n  return String(string).replace(replacement, '.').toLowerCase();\n};\n\nvar data = isForced.data = {};\nvar NATIVE = isForced.NATIVE = 'N';\nvar POLYFILL = isForced.POLYFILL = 'P';\n\nmodule.exports = isForced;\n","// extracted by mini-css-extract-plugin\nexport default {\"wrap\":\"transform-notice__wrap__mq\"};","module.exports = window.wp?.plugins;","import type {Attr as PageAttr} from '../gutenberg/blocks/pages/block';\nimport type {Attr as CategoryAttr} from '../gutenberg/blocks/categories/block';\nimport type {BlockAttributes, BlockSupports} from '@wordpress/blocks';\nimport type {CommonAttr, ServerSideRenderRequired} from '../gutenberg/blocks/Preview';\nimport type {PassedGlobals} from '../gutenberg/index';\n\nexport type Screen = 'site-editor' | 'widgets' | 'post' | 'customize';\n\nexport type WPBoolean = '1' | '';\n\nexport interface JSConfig {\n\tblocks: {\n\t\tcommonAttr: BlockAttributes<CommonAttr>;\n\t\tpreviewAttr: BlockAttributes<ServerSideRenderRequired>;\n\t\tblockSupport: BlockSupports;\n\t\tcategories: {\n\t\t\tid: 'advanced-sidebar-menu/categories';\n\t\t\tattributes: BlockAttributes<CategoryAttr>;\n\t\t};\n\t\tpages: {\n\t\t\tid: 'advanced-sidebar-menu/pages';\n\t\t\tattributes: BlockAttributes<PageAttr>;\n\t\t};\n\t\tnavigation?: {\n\t\t\tid: 'advanced-sidebar-menu/navigation';\n\t\t\tattributes: BlockAttributes<object>;\n\t\t}\n\t};\n\tcategories: {\n\t\tdisplayEach: {\n\t\t\tlist: string;\n\t\t\twidget: string;\n\t\t};\n\t};\n\tcurrentScreen: Screen;\n\tdocs: {\n\t\tpage: string;\n\t\tcategory: string;\n\t};\n\terror: string;\n\tfeatures: Array<string>;\n\tisPostEdit: WPBoolean;\n\tisPro: WPBoolean;\n\tisWidgets: WPBoolean;\n\tpages: {\n\t\torderBy: { [ value: string ]: string };\n\t};\n\tsiteInfo: {\n\t\tbasic: string;\n\t\tclassicWidgets: boolean;\n\t\tmenus: Array<object>;\n\t\tphp: string;\n\t\tpro: string | false;\n\t\tscriptDebug: boolean;\n\t\tWordPress: string;\n\t};\n\tsupport: string;\n}\n\n\ndeclare global {\n\tinterface Window {\n\t\tADVANCED_SIDEBAR_MENU: JSConfig & PassedGlobals;\n\t\tadvancedSidebarMenuAdmin: {\n\t\t\tinit: () => void;\n\t\t\thandlePreviews: () => void;\n\t\t\tshowHideElements: () => void;\n\t\t\tclickReveal: ( id: string ) => void;\n\t\t\tsetHideState( target: JQuery<HTMLElement> ): void;\n\t\t};\n\t\t__TEST__?: boolean;\n\t}\n}\n\nexport const CONFIG: JSConfig & PassedGlobals = window.ADVANCED_SIDEBAR_MENU;\n","import {__} from '@wordpress/i18n';\nimport {useState} from 'react';\nimport {Notice} from '@wordpress/components';\n\nimport styles from './transform-notice.pcss';\n\ntype Props = Record<string, never>;\n\nexport const DISMISS_KEY = 'advanced-sidebar-menu/transform-notice-dismissed';\n\n/**\n * Display a dismissible notice above widget forms to inform\n * users the widget may be transformed into a block.\n *\n * Only applies to legacy widgets which should theoretically\n * be phased out in favor of blocks.\n * This notice is intended to help facilitate the transition.\n *\n */\nconst TransformNotice = ( {}: Props ) => {\n\tconst [ shown, setShown ] = useState<boolean>( true );\n\n\tif ( ! shown ) {\n\t\treturn null;\n\t}\n\n\treturn (\n\t\t<Notice\n\t\t\tclassName={styles.wrap}\n\t\t\tpoliteness={'polite'}\n\t\t\tonDismiss={() => {\n\t\t\t\tsetShown( false );\n\t\t\t\tlocalStorage.setItem( DISMISS_KEY, '1' );\n\t\t\t}}\n\t\t\tactions={[ {\n\t\t\t\tlabel: __( 'Blocks are the future of Advanced Sidebar Menu.', 'advanced-sidebar-menu' ),\n\t\t\t\turl: 'https://onpointplugins.com/advanced-sidebar-menu/advanced-sidebar-menu-gutenberg-blocks/#transform-widgets-to-blocks',\n\t\t\t\tvariant: 'link',\n\t\t\t} ]}\n\t\t>\n\t\t\t<span className=\"dashicons dashicons-arrow-up-alt\" />&nbsp;\n\t\t\t{__( 'This widget may be transformed into a block.', 'advanced-sidebar-menu' )}\n\t\t</Notice>\n\t);\n};\n\nexport default TransformNotice;\n","'use strict';\nmodule.exports = false;\n","'use strict';\nvar shared = require('../internals/shared');\nvar uid = require('../internals/uid');\n\nvar keys = shared('keys');\n\nmodule.exports = function (key) {\n  return keys[key] || (keys[key] = uid(key));\n};\n","'use strict';\nvar globalThis = require('../internals/global-this');\n\nvar navigator = globalThis.navigator;\nvar userAgent = navigator && navigator.userAgent;\n\nmodule.exports = userAgent ? String(userAgent) : '';\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\nvar hasOwn = require('../internals/has-own-property');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar CONFIGURABLE_FUNCTION_NAME = require('../internals/function-name').CONFIGURABLE;\nvar inspectSource = require('../internals/inspect-source');\nvar InternalStateModule = require('../internals/internal-state');\n\nvar enforceInternalState = InternalStateModule.enforce;\nvar getInternalState = InternalStateModule.get;\nvar $String = String;\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar defineProperty = Object.defineProperty;\nvar stringSlice = uncurryThis(''.slice);\nvar replace = uncurryThis(''.replace);\nvar join = uncurryThis([].join);\n\nvar CONFIGURABLE_LENGTH = DESCRIPTORS && !fails(function () {\n  return defineProperty(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;\n});\n\nvar TEMPLATE = String(String).split('String');\n\nvar makeBuiltIn = module.exports = function (value, name, options) {\n  if (stringSlice($String(name), 0, 7) === 'Symbol(') {\n    name = '[' + replace($String(name), /^Symbol\\(([^)]*)\\).*$/, '$1') + ']';\n  }\n  if (options && options.getter) name = 'get ' + name;\n  if (options && options.setter) name = 'set ' + name;\n  if (!hasOwn(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {\n    if (DESCRIPTORS) defineProperty(value, 'name', { value: name, configurable: true });\n    else value.name = name;\n  }\n  if (CONFIGURABLE_LENGTH && options && hasOwn(options, 'arity') && value.length !== options.arity) {\n    defineProperty(value, 'length', { value: options.arity });\n  }\n  try {\n    if (options && hasOwn(options, 'constructor') && options.constructor) {\n      if (DESCRIPTORS) defineProperty(value, 'prototype', { writable: false });\n    // in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable\n    } else if (value.prototype) value.prototype = undefined;\n  } catch (error) { /* empty */ }\n  var state = enforceInternalState(value);\n  if (!hasOwn(state, 'source')) {\n    state.source = join(TEMPLATE, typeof name == 'string' ? name : '');\n  } return value;\n};\n\n// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative\n// eslint-disable-next-line no-extend-native -- required\nFunction.prototype.toString = makeBuiltIn(function toString() {\n  return isCallable(this) && getInternalState(this).source || inspectSource(this);\n}, 'toString');\n","const PagesIcon = <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\">\n\t<rect x=\"0\" fill=\"none\" width=\"20\" height=\"20\" />\n\t<g>\n\t\t<path\n\t\t\tfill=\"#044567\"\n\t\t\td=\"M19 17V2c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v15c0 .55.45 1 1 1h15c.55 0 1-.45 1-1z M4 3h13v4H4V3z M5 4h3v2H5V4zm4 0h3v2H9V4zm4 0h3v2H13V4z M4.5 9 c .28 0 .5 .22 .5 .5s-.22.5-.5.5s-.5-.22-.5-.5s.22-.5 .5-.5z M6 9h4v1H6v-1z M4.5 12 c .28 0 .5 .22 .5 .5s-.22.5-.5.5s-.5-.22-.5-.5s.22-.5 .5-.5z M6 12h4v1H6v-1z M4.5 15 c .28 0 .5 .22 .5 .5s-.22.5-.5.5s-.5-.22-.5-.5s.22-.5 .5-.5z M6 15h4v1H6v-1z M12 9 H15.5 L17 10.5 V15.5 H12 V9 Z M15.5 9 V10.5 H17 M12.5 12 H16.5 M12.5 13.5 H16.5\"\n\t\t/>\n\t</g>\n</svg>;\n\nexport default PagesIcon;\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar IE8_DOM_DEFINE = require('../internals/ie8-dom-define');\nvar V8_PROTOTYPE_DEFINE_BUG = require('../internals/v8-prototype-define-bug');\nvar anObject = require('../internals/an-object');\nvar toPropertyKey = require('../internals/to-property-key');\n\nvar $TypeError = TypeError;\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar $defineProperty = Object.defineProperty;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\nvar ENUMERABLE = 'enumerable';\nvar CONFIGURABLE = 'configurable';\nvar WRITABLE = 'writable';\n\n// `Object.defineProperty` method\n// https://tc39.es/ecma262/#sec-object.defineproperty\nexports.f = DESCRIPTORS ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P, Attributes) {\n  anObject(O);\n  P = toPropertyKey(P);\n  anObject(Attributes);\n  if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {\n    var current = $getOwnPropertyDescriptor(O, P);\n    if (current && current[WRITABLE]) {\n      O[P] = Attributes.value;\n      Attributes = {\n        configurable: CONFIGURABLE in Attributes ? Attributes[CONFIGURABLE] : current[CONFIGURABLE],\n        enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],\n        writable: false\n      };\n    }\n  } return $defineProperty(O, P, Attributes);\n} : $defineProperty : function defineProperty(O, P, Attributes) {\n  anObject(O);\n  P = toPropertyKey(P);\n  anObject(Attributes);\n  if (IE8_DOM_DEFINE) try {\n    return $defineProperty(O, P, Attributes);\n  } catch (error) { /* empty */ }\n  if ('get' in Attributes || 'set' in Attributes) throw new $TypeError('Accessors not supported');\n  if ('value' in Attributes) O[P] = Attributes.value;\n  return O;\n};\n","'use strict';\nvar IS_PURE = require('../internals/is-pure');\nvar globalThis = require('../internals/global-this');\nvar defineGlobalProperty = require('../internals/define-global-property');\n\nvar SHARED = '__core-js_shared__';\nvar store = module.exports = globalThis[SHARED] || defineGlobalProperty(SHARED, {});\n\n(store.versions || (store.versions = [])).push({\n  version: '3.46.0',\n  mode: IS_PURE ? 'pure' : 'global',\n  copyright: '© 2014-2025 Denis Pushkarev (zloirock.ru), 2025 CoreJS Company (core-js.io)',\n  license: 'https://github.com/zloirock/core-js/blob/v3.46.0/LICENSE',\n  source: 'https://github.com/zloirock/core-js'\n});\n","'use strict';\nvar $propertyIsEnumerable = {}.propertyIsEnumerable;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// Nashorn ~ JDK8 bug\nvar NASHORN_BUG = getOwnPropertyDescriptor && !$propertyIsEnumerable.call({ 1: 2 }, 1);\n\n// `Object.prototype.propertyIsEnumerable` method implementation\n// https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable\nexports.f = NASHORN_BUG ? function propertyIsEnumerable(V) {\n  var descriptor = getOwnPropertyDescriptor(this, V);\n  return !!descriptor && descriptor.enumerable;\n} : $propertyIsEnumerable;\n","'use strict';\nvar store = require('../internals/shared-store');\n\nmodule.exports = function (key, value) {\n  return store[key] || (store[key] = value || {});\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\n\nvar toString = uncurryThis({}.toString);\nvar stringSlice = uncurryThis(''.slice);\n\nmodule.exports = function (it) {\n  return stringSlice(toString(it), 8, -1);\n};\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar V8_PROTOTYPE_DEFINE_BUG = require('../internals/v8-prototype-define-bug');\nvar definePropertyModule = require('../internals/object-define-property');\nvar anObject = require('../internals/an-object');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar objectKeys = require('../internals/object-keys');\n\n// `Object.defineProperties` method\n// https://tc39.es/ecma262/#sec-object.defineproperties\n// eslint-disable-next-line es/no-object-defineproperties -- safe\nexports.f = DESCRIPTORS && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {\n  anObject(O);\n  var props = toIndexedObject(Properties);\n  var keys = objectKeys(Properties);\n  var length = keys.length;\n  var index = 0;\n  var key;\n  while (length > index) definePropertyModule.f(O, key = keys[index++], props[key]);\n  return O;\n};\n","/*! @license DOMPurify 3.3.0 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.3.0/LICENSE */\n\nconst {\n  entries,\n  setPrototypeOf,\n  isFrozen,\n  getPrototypeOf,\n  getOwnPropertyDescriptor\n} = Object;\nlet {\n  freeze,\n  seal,\n  create\n} = Object; // eslint-disable-line import/no-mutable-exports\nlet {\n  apply,\n  construct\n} = typeof Reflect !== 'undefined' && Reflect;\nif (!freeze) {\n  freeze = function freeze(x) {\n    return x;\n  };\n}\nif (!seal) {\n  seal = function seal(x) {\n    return x;\n  };\n}\nif (!apply) {\n  apply = function apply(func, thisArg) {\n    for (var _len = arguments.length, args = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {\n      args[_key - 2] = arguments[_key];\n    }\n    return func.apply(thisArg, args);\n  };\n}\nif (!construct) {\n  construct = function construct(Func) {\n    for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {\n      args[_key2 - 1] = arguments[_key2];\n    }\n    return new Func(...args);\n  };\n}\nconst arrayForEach = unapply(Array.prototype.forEach);\nconst arrayLastIndexOf = unapply(Array.prototype.lastIndexOf);\nconst arrayPop = unapply(Array.prototype.pop);\nconst arrayPush = unapply(Array.prototype.push);\nconst arraySplice = unapply(Array.prototype.splice);\nconst stringToLowerCase = unapply(String.prototype.toLowerCase);\nconst stringToString = unapply(String.prototype.toString);\nconst stringMatch = unapply(String.prototype.match);\nconst stringReplace = unapply(String.prototype.replace);\nconst stringIndexOf = unapply(String.prototype.indexOf);\nconst stringTrim = unapply(String.prototype.trim);\nconst objectHasOwnProperty = unapply(Object.prototype.hasOwnProperty);\nconst regExpTest = unapply(RegExp.prototype.test);\nconst typeErrorCreate = unconstruct(TypeError);\n/**\n * Creates a new function that calls the given function with a specified thisArg and arguments.\n *\n * @param func - The function to be wrapped and called.\n * @returns A new function that calls the given function with a specified thisArg and arguments.\n */\nfunction unapply(func) {\n  return function (thisArg) {\n    if (thisArg instanceof RegExp) {\n      thisArg.lastIndex = 0;\n    }\n    for (var _len3 = arguments.length, args = new Array(_len3 > 1 ? _len3 - 1 : 0), _key3 = 1; _key3 < _len3; _key3++) {\n      args[_key3 - 1] = arguments[_key3];\n    }\n    return apply(func, thisArg, args);\n  };\n}\n/**\n * Creates a new function that constructs an instance of the given constructor function with the provided arguments.\n *\n * @param func - The constructor function to be wrapped and called.\n * @returns A new function that constructs an instance of the given constructor function with the provided arguments.\n */\nfunction unconstruct(Func) {\n  return function () {\n    for (var _len4 = arguments.length, args = new Array(_len4), _key4 = 0; _key4 < _len4; _key4++) {\n      args[_key4] = arguments[_key4];\n    }\n    return construct(Func, args);\n  };\n}\n/**\n * Add properties to a lookup table\n *\n * @param set - The set to which elements will be added.\n * @param array - The array containing elements to be added to the set.\n * @param transformCaseFunc - An optional function to transform the case of each element before adding to the set.\n * @returns The modified set with added elements.\n */\nfunction addToSet(set, array) {\n  let transformCaseFunc = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : stringToLowerCase;\n  if (setPrototypeOf) {\n    // Make 'in' and truthy checks like Boolean(set.constructor)\n    // independent of any properties defined on Object.prototype.\n    // Prevent prototype setters from intercepting set as a this value.\n    setPrototypeOf(set, null);\n  }\n  let l = array.length;\n  while (l--) {\n    let element = array[l];\n    if (typeof element === 'string') {\n      const lcElement = transformCaseFunc(element);\n      if (lcElement !== element) {\n        // Config presets (e.g. tags.js, attrs.js) are immutable.\n        if (!isFrozen(array)) {\n          array[l] = lcElement;\n        }\n        element = lcElement;\n      }\n    }\n    set[element] = true;\n  }\n  return set;\n}\n/**\n * Clean up an array to harden against CSPP\n *\n * @param array - The array to be cleaned.\n * @returns The cleaned version of the array\n */\nfunction cleanArray(array) {\n  for (let index = 0; index < array.length; index++) {\n    const isPropertyExist = objectHasOwnProperty(array, index);\n    if (!isPropertyExist) {\n      array[index] = null;\n    }\n  }\n  return array;\n}\n/**\n * Shallow clone an object\n *\n * @param object - The object to be cloned.\n * @returns A new object that copies the original.\n */\nfunction clone(object) {\n  const newObject = create(null);\n  for (const [property, value] of entries(object)) {\n    const isPropertyExist = objectHasOwnProperty(object, property);\n    if (isPropertyExist) {\n      if (Array.isArray(value)) {\n        newObject[property] = cleanArray(value);\n      } else if (value && typeof value === 'object' && value.constructor === Object) {\n        newObject[property] = clone(value);\n      } else {\n        newObject[property] = value;\n      }\n    }\n  }\n  return newObject;\n}\n/**\n * This method automatically checks if the prop is function or getter and behaves accordingly.\n *\n * @param object - The object to look up the getter function in its prototype chain.\n * @param prop - The property name for which to find the getter function.\n * @returns The getter function found in the prototype chain or a fallback function.\n */\nfunction lookupGetter(object, prop) {\n  while (object !== null) {\n    const desc = getOwnPropertyDescriptor(object, prop);\n    if (desc) {\n      if (desc.get) {\n        return unapply(desc.get);\n      }\n      if (typeof desc.value === 'function') {\n        return unapply(desc.value);\n      }\n    }\n    object = getPrototypeOf(object);\n  }\n  function fallbackValue() {\n    return null;\n  }\n  return fallbackValue;\n}\n\nconst html$1 = freeze(['a', 'abbr', 'acronym', 'address', 'area', 'article', 'aside', 'audio', 'b', 'bdi', 'bdo', 'big', 'blink', 'blockquote', 'body', 'br', 'button', 'canvas', 'caption', 'center', 'cite', 'code', 'col', 'colgroup', 'content', 'data', 'datalist', 'dd', 'decorator', 'del', 'details', 'dfn', 'dialog', 'dir', 'div', 'dl', 'dt', 'element', 'em', 'fieldset', 'figcaption', 'figure', 'font', 'footer', 'form', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'head', 'header', 'hgroup', 'hr', 'html', 'i', 'img', 'input', 'ins', 'kbd', 'label', 'legend', 'li', 'main', 'map', 'mark', 'marquee', 'menu', 'menuitem', 'meter', 'nav', 'nobr', 'ol', 'optgroup', 'option', 'output', 'p', 'picture', 'pre', 'progress', 'q', 'rp', 'rt', 'ruby', 's', 'samp', 'search', 'section', 'select', 'shadow', 'slot', 'small', 'source', 'spacer', 'span', 'strike', 'strong', 'style', 'sub', 'summary', 'sup', 'table', 'tbody', 'td', 'template', 'textarea', 'tfoot', 'th', 'thead', 'time', 'tr', 'track', 'tt', 'u', 'ul', 'var', 'video', 'wbr']);\nconst svg$1 = freeze(['svg', 'a', 'altglyph', 'altglyphdef', 'altglyphitem', 'animatecolor', 'animatemotion', 'animatetransform', 'circle', 'clippath', 'defs', 'desc', 'ellipse', 'enterkeyhint', 'exportparts', 'filter', 'font', 'g', 'glyph', 'glyphref', 'hkern', 'image', 'inputmode', 'line', 'lineargradient', 'marker', 'mask', 'metadata', 'mpath', 'part', 'path', 'pattern', 'polygon', 'polyline', 'radialgradient', 'rect', 'stop', 'style', 'switch', 'symbol', 'text', 'textpath', 'title', 'tref', 'tspan', 'view', 'vkern']);\nconst svgFilters = freeze(['feBlend', 'feColorMatrix', 'feComponentTransfer', 'feComposite', 'feConvolveMatrix', 'feDiffuseLighting', 'feDisplacementMap', 'feDistantLight', 'feDropShadow', 'feFlood', 'feFuncA', 'feFuncB', 'feFuncG', 'feFuncR', 'feGaussianBlur', 'feImage', 'feMerge', 'feMergeNode', 'feMorphology', 'feOffset', 'fePointLight', 'feSpecularLighting', 'feSpotLight', 'feTile', 'feTurbulence']);\n// List of SVG elements that are disallowed by default.\n// We still need to know them so that we can do namespace\n// checks properly in case one wants to add them to\n// allow-list.\nconst svgDisallowed = freeze(['animate', 'color-profile', 'cursor', 'discard', 'font-face', 'font-face-format', 'font-face-name', 'font-face-src', 'font-face-uri', 'foreignobject', 'hatch', 'hatchpath', 'mesh', 'meshgradient', 'meshpatch', 'meshrow', 'missing-glyph', 'script', 'set', 'solidcolor', 'unknown', 'use']);\nconst mathMl$1 = freeze(['math', 'menclose', 'merror', 'mfenced', 'mfrac', 'mglyph', 'mi', 'mlabeledtr', 'mmultiscripts', 'mn', 'mo', 'mover', 'mpadded', 'mphantom', 'mroot', 'mrow', 'ms', 'mspace', 'msqrt', 'mstyle', 'msub', 'msup', 'msubsup', 'mtable', 'mtd', 'mtext', 'mtr', 'munder', 'munderover', 'mprescripts']);\n// Similarly to SVG, we want to know all MathML elements,\n// even those that we disallow by default.\nconst mathMlDisallowed = freeze(['maction', 'maligngroup', 'malignmark', 'mlongdiv', 'mscarries', 'mscarry', 'msgroup', 'mstack', 'msline', 'msrow', 'semantics', 'annotation', 'annotation-xml', 'mprescripts', 'none']);\nconst text = freeze(['#text']);\n\nconst html = freeze(['accept', 'action', 'align', 'alt', 'autocapitalize', 'autocomplete', 'autopictureinpicture', 'autoplay', 'background', 'bgcolor', 'border', 'capture', 'cellpadding', 'cellspacing', 'checked', 'cite', 'class', 'clear', 'color', 'cols', 'colspan', 'controls', 'controlslist', 'coords', 'crossorigin', 'datetime', 'decoding', 'default', 'dir', 'disabled', 'disablepictureinpicture', 'disableremoteplayback', 'download', 'draggable', 'enctype', 'enterkeyhint', 'exportparts', 'face', 'for', 'headers', 'height', 'hidden', 'high', 'href', 'hreflang', 'id', 'inert', 'inputmode', 'integrity', 'ismap', 'kind', 'label', 'lang', 'list', 'loading', 'loop', 'low', 'max', 'maxlength', 'media', 'method', 'min', 'minlength', 'multiple', 'muted', 'name', 'nonce', 'noshade', 'novalidate', 'nowrap', 'open', 'optimum', 'part', 'pattern', 'placeholder', 'playsinline', 'popover', 'popovertarget', 'popovertargetaction', 'poster', 'preload', 'pubdate', 'radiogroup', 'readonly', 'rel', 'required', 'rev', 'reversed', 'role', 'rows', 'rowspan', 'spellcheck', 'scope', 'selected', 'shape', 'size', 'sizes', 'slot', 'span', 'srclang', 'start', 'src', 'srcset', 'step', 'style', 'summary', 'tabindex', 'title', 'translate', 'type', 'usemap', 'valign', 'value', 'width', 'wrap', 'xmlns', 'slot']);\nconst svg = freeze(['accent-height', 'accumulate', 'additive', 'alignment-baseline', 'amplitude', 'ascent', 'attributename', 'attributetype', 'azimuth', 'basefrequency', 'baseline-shift', 'begin', 'bias', 'by', 'class', 'clip', 'clippathunits', 'clip-path', 'clip-rule', 'color', 'color-interpolation', 'color-interpolation-filters', 'color-profile', 'color-rendering', 'cx', 'cy', 'd', 'dx', 'dy', 'diffuseconstant', 'direction', 'display', 'divisor', 'dur', 'edgemode', 'elevation', 'end', 'exponent', 'fill', 'fill-opacity', 'fill-rule', 'filter', 'filterunits', 'flood-color', 'flood-opacity', 'font-family', 'font-size', 'font-size-adjust', 'font-stretch', 'font-style', 'font-variant', 'font-weight', 'fx', 'fy', 'g1', 'g2', 'glyph-name', 'glyphref', 'gradientunits', 'gradienttransform', 'height', 'href', 'id', 'image-rendering', 'in', 'in2', 'intercept', 'k', 'k1', 'k2', 'k3', 'k4', 'kerning', 'keypoints', 'keysplines', 'keytimes', 'lang', 'lengthadjust', 'letter-spacing', 'kernelmatrix', 'kernelunitlength', 'lighting-color', 'local', 'marker-end', 'marker-mid', 'marker-start', 'markerheight', 'markerunits', 'markerwidth', 'maskcontentunits', 'maskunits', 'max', 'mask', 'mask-type', 'media', 'method', 'mode', 'min', 'name', 'numoctaves', 'offset', 'operator', 'opacity', 'order', 'orient', 'orientation', 'origin', 'overflow', 'paint-order', 'path', 'pathlength', 'patterncontentunits', 'patterntransform', 'patternunits', 'points', 'preservealpha', 'preserveaspectratio', 'primitiveunits', 'r', 'rx', 'ry', 'radius', 'refx', 'refy', 'repeatcount', 'repeatdur', 'restart', 'result', 'rotate', 'scale', 'seed', 'shape-rendering', 'slope', 'specularconstant', 'specularexponent', 'spreadmethod', 'startoffset', 'stddeviation', 'stitchtiles', 'stop-color', 'stop-opacity', 'stroke-dasharray', 'stroke-dashoffset', 'stroke-linecap', 'stroke-linejoin', 'stroke-miterlimit', 'stroke-opacity', 'stroke', 'stroke-width', 'style', 'surfacescale', 'systemlanguage', 'tabindex', 'tablevalues', 'targetx', 'targety', 'transform', 'transform-origin', 'text-anchor', 'text-decoration', 'text-rendering', 'textlength', 'type', 'u1', 'u2', 'unicode', 'values', 'viewbox', 'visibility', 'version', 'vert-adv-y', 'vert-origin-x', 'vert-origin-y', 'width', 'word-spacing', 'wrap', 'writing-mode', 'xchannelselector', 'ychannelselector', 'x', 'x1', 'x2', 'xmlns', 'y', 'y1', 'y2', 'z', 'zoomandpan']);\nconst mathMl = freeze(['accent', 'accentunder', 'align', 'bevelled', 'close', 'columnsalign', 'columnlines', 'columnspan', 'denomalign', 'depth', 'dir', 'display', 'displaystyle', 'encoding', 'fence', 'frame', 'height', 'href', 'id', 'largeop', 'length', 'linethickness', 'lspace', 'lquote', 'mathbackground', 'mathcolor', 'mathsize', 'mathvariant', 'maxsize', 'minsize', 'movablelimits', 'notation', 'numalign', 'open', 'rowalign', 'rowlines', 'rowspacing', 'rowspan', 'rspace', 'rquote', 'scriptlevel', 'scriptminsize', 'scriptsizemultiplier', 'selection', 'separator', 'separators', 'stretchy', 'subscriptshift', 'supscriptshift', 'symmetric', 'voffset', 'width', 'xmlns']);\nconst xml = freeze(['xlink:href', 'xml:id', 'xlink:title', 'xml:space', 'xmlns:xlink']);\n\n// eslint-disable-next-line unicorn/better-regex\nconst MUSTACHE_EXPR = seal(/\\{\\{[\\w\\W]*|[\\w\\W]*\\}\\}/gm); // Specify template detection regex for SAFE_FOR_TEMPLATES mode\nconst ERB_EXPR = seal(/<%[\\w\\W]*|[\\w\\W]*%>/gm);\nconst TMPLIT_EXPR = seal(/\\$\\{[\\w\\W]*/gm); // eslint-disable-line unicorn/better-regex\nconst DATA_ATTR = seal(/^data-[\\-\\w.\\u00B7-\\uFFFF]+$/); // eslint-disable-line no-useless-escape\nconst ARIA_ATTR = seal(/^aria-[\\-\\w]+$/); // eslint-disable-line no-useless-escape\nconst IS_ALLOWED_URI = seal(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\\-]+(?:[^a-z+.\\-:]|$))/i // eslint-disable-line no-useless-escape\n);\nconst IS_SCRIPT_OR_DATA = seal(/^(?:\\w+script|data):/i);\nconst ATTR_WHITESPACE = seal(/[\\u0000-\\u0020\\u00A0\\u1680\\u180E\\u2000-\\u2029\\u205F\\u3000]/g // eslint-disable-line no-control-regex\n);\nconst DOCTYPE_NAME = seal(/^html$/i);\nconst CUSTOM_ELEMENT = seal(/^[a-z][.\\w]*(-[.\\w]+)+$/i);\n\nvar EXPRESSIONS = /*#__PURE__*/Object.freeze({\n  __proto__: null,\n  ARIA_ATTR: ARIA_ATTR,\n  ATTR_WHITESPACE: ATTR_WHITESPACE,\n  CUSTOM_ELEMENT: CUSTOM_ELEMENT,\n  DATA_ATTR: DATA_ATTR,\n  DOCTYPE_NAME: DOCTYPE_NAME,\n  ERB_EXPR: ERB_EXPR,\n  IS_ALLOWED_URI: IS_ALLOWED_URI,\n  IS_SCRIPT_OR_DATA: IS_SCRIPT_OR_DATA,\n  MUSTACHE_EXPR: MUSTACHE_EXPR,\n  TMPLIT_EXPR: TMPLIT_EXPR\n});\n\n/* eslint-disable @typescript-eslint/indent */\n// https://developer.mozilla.org/en-US/docs/Web/API/Node/nodeType\nconst NODE_TYPE = {\n  element: 1,\n  attribute: 2,\n  text: 3,\n  cdataSection: 4,\n  entityReference: 5,\n  // Deprecated\n  entityNode: 6,\n  // Deprecated\n  progressingInstruction: 7,\n  comment: 8,\n  document: 9,\n  documentType: 10,\n  documentFragment: 11,\n  notation: 12 // Deprecated\n};\nconst getGlobal = function getGlobal() {\n  return typeof window === 'undefined' ? null : window;\n};\n/**\n * Creates a no-op policy for internal use only.\n * Don't export this function outside this module!\n * @param trustedTypes The policy factory.\n * @param purifyHostElement The Script element used to load DOMPurify (to determine policy name suffix).\n * @return The policy created (or null, if Trusted Types\n * are not supported or creating the policy failed).\n */\nconst _createTrustedTypesPolicy = function _createTrustedTypesPolicy(trustedTypes, purifyHostElement) {\n  if (typeof trustedTypes !== 'object' || typeof trustedTypes.createPolicy !== 'function') {\n    return null;\n  }\n  // Allow the callers to control the unique policy name\n  // by adding a data-tt-policy-suffix to the script element with the DOMPurify.\n  // Policy creation with duplicate names throws in Trusted Types.\n  let suffix = null;\n  const ATTR_NAME = 'data-tt-policy-suffix';\n  if (purifyHostElement && purifyHostElement.hasAttribute(ATTR_NAME)) {\n    suffix = purifyHostElement.getAttribute(ATTR_NAME);\n  }\n  const policyName = 'dompurify' + (suffix ? '#' + suffix : '');\n  try {\n    return trustedTypes.createPolicy(policyName, {\n      createHTML(html) {\n        return html;\n      },\n      createScriptURL(scriptUrl) {\n        return scriptUrl;\n      }\n    });\n  } catch (_) {\n    // Policy creation failed (most likely another DOMPurify script has\n    // already run). Skip creating the policy, as this will only cause errors\n    // if TT are enforced.\n    console.warn('TrustedTypes policy ' + policyName + ' could not be created.');\n    return null;\n  }\n};\nconst _createHooksMap = function _createHooksMap() {\n  return {\n    afterSanitizeAttributes: [],\n    afterSanitizeElements: [],\n    afterSanitizeShadowDOM: [],\n    beforeSanitizeAttributes: [],\n    beforeSanitizeElements: [],\n    beforeSanitizeShadowDOM: [],\n    uponSanitizeAttribute: [],\n    uponSanitizeElement: [],\n    uponSanitizeShadowNode: []\n  };\n};\nfunction createDOMPurify() {\n  let window = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : getGlobal();\n  const DOMPurify = root => createDOMPurify(root);\n  DOMPurify.version = '3.3.0';\n  DOMPurify.removed = [];\n  if (!window || !window.document || window.document.nodeType !== NODE_TYPE.document || !window.Element) {\n    // Not running in a browser, provide a factory function\n    // so that you can pass your own Window\n    DOMPurify.isSupported = false;\n    return DOMPurify;\n  }\n  let {\n    document\n  } = window;\n  const originalDocument = document;\n  const currentScript = originalDocument.currentScript;\n  const {\n    DocumentFragment,\n    HTMLTemplateElement,\n    Node,\n    Element,\n    NodeFilter,\n    NamedNodeMap = window.NamedNodeMap || window.MozNamedAttrMap,\n    HTMLFormElement,\n    DOMParser,\n    trustedTypes\n  } = window;\n  const ElementPrototype = Element.prototype;\n  const cloneNode = lookupGetter(ElementPrototype, 'cloneNode');\n  const remove = lookupGetter(ElementPrototype, 'remove');\n  const getNextSibling = lookupGetter(ElementPrototype, 'nextSibling');\n  const getChildNodes = lookupGetter(ElementPrototype, 'childNodes');\n  const getParentNode = lookupGetter(ElementPrototype, 'parentNode');\n  // As per issue #47, the web-components registry is inherited by a\n  // new document created via createHTMLDocument. As per the spec\n  // (http://w3c.github.io/webcomponents/spec/custom/#creating-and-passing-registries)\n  // a new empty registry is used when creating a template contents owner\n  // document, so we use that as our parent document to ensure nothing\n  // is inherited.\n  if (typeof HTMLTemplateElement === 'function') {\n    const template = document.createElement('template');\n    if (template.content && template.content.ownerDocument) {\n      document = template.content.ownerDocument;\n    }\n  }\n  let trustedTypesPolicy;\n  let emptyHTML = '';\n  const {\n    implementation,\n    createNodeIterator,\n    createDocumentFragment,\n    getElementsByTagName\n  } = document;\n  const {\n    importNode\n  } = originalDocument;\n  let hooks = _createHooksMap();\n  /**\n   * Expose whether this browser supports running the full DOMPurify.\n   */\n  DOMPurify.isSupported = typeof entries === 'function' && typeof getParentNode === 'function' && implementation && implementation.createHTMLDocument !== undefined;\n  const {\n    MUSTACHE_EXPR,\n    ERB_EXPR,\n    TMPLIT_EXPR,\n    DATA_ATTR,\n    ARIA_ATTR,\n    IS_SCRIPT_OR_DATA,\n    ATTR_WHITESPACE,\n    CUSTOM_ELEMENT\n  } = EXPRESSIONS;\n  let {\n    IS_ALLOWED_URI: IS_ALLOWED_URI$1\n  } = EXPRESSIONS;\n  /**\n   * We consider the elements and attributes below to be safe. Ideally\n   * don't add any new ones but feel free to remove unwanted ones.\n   */\n  /* allowed element names */\n  let ALLOWED_TAGS = null;\n  const DEFAULT_ALLOWED_TAGS = addToSet({}, [...html$1, ...svg$1, ...svgFilters, ...mathMl$1, ...text]);\n  /* Allowed attribute names */\n  let ALLOWED_ATTR = null;\n  const DEFAULT_ALLOWED_ATTR = addToSet({}, [...html, ...svg, ...mathMl, ...xml]);\n  /*\n   * Configure how DOMPurify should handle custom elements and their attributes as well as customized built-in elements.\n   * @property {RegExp|Function|null} tagNameCheck one of [null, regexPattern, predicate]. Default: `null` (disallow any custom elements)\n   * @property {RegExp|Function|null} attributeNameCheck one of [null, regexPattern, predicate]. Default: `null` (disallow any attributes not on the allow list)\n   * @property {boolean} allowCustomizedBuiltInElements allow custom elements derived from built-ins if they pass CUSTOM_ELEMENT_HANDLING.tagNameCheck. Default: `false`.\n   */\n  let CUSTOM_ELEMENT_HANDLING = Object.seal(create(null, {\n    tagNameCheck: {\n      writable: true,\n      configurable: false,\n      enumerable: true,\n      value: null\n    },\n    attributeNameCheck: {\n      writable: true,\n      configurable: false,\n      enumerable: true,\n      value: null\n    },\n    allowCustomizedBuiltInElements: {\n      writable: true,\n      configurable: false,\n      enumerable: true,\n      value: false\n    }\n  }));\n  /* Explicitly forbidden tags (overrides ALLOWED_TAGS/ADD_TAGS) */\n  let FORBID_TAGS = null;\n  /* Explicitly forbidden attributes (overrides ALLOWED_ATTR/ADD_ATTR) */\n  let FORBID_ATTR = null;\n  /* Config object to store ADD_TAGS/ADD_ATTR functions (when used as functions) */\n  const EXTRA_ELEMENT_HANDLING = Object.seal(create(null, {\n    tagCheck: {\n      writable: true,\n      configurable: false,\n      enumerable: true,\n      value: null\n    },\n    attributeCheck: {\n      writable: true,\n      configurable: false,\n      enumerable: true,\n      value: null\n    }\n  }));\n  /* Decide if ARIA attributes are okay */\n  let ALLOW_ARIA_ATTR = true;\n  /* Decide if custom data attributes are okay */\n  let ALLOW_DATA_ATTR = true;\n  /* Decide if unknown protocols are okay */\n  let ALLOW_UNKNOWN_PROTOCOLS = false;\n  /* Decide if self-closing tags in attributes are allowed.\n   * Usually removed due to a mXSS issue in jQuery 3.0 */\n  let ALLOW_SELF_CLOSE_IN_ATTR = true;\n  /* Output should be safe for common template engines.\n   * This means, DOMPurify removes data attributes, mustaches and ERB\n   */\n  let SAFE_FOR_TEMPLATES = false;\n  /* Output should be safe even for XML used within HTML and alike.\n   * This means, DOMPurify removes comments when containing risky content.\n   */\n  let SAFE_FOR_XML = true;\n  /* Decide if document with <html>... should be returned */\n  let WHOLE_DOCUMENT = false;\n  /* Track whether config is already set on this instance of DOMPurify. */\n  let SET_CONFIG = false;\n  /* Decide if all elements (e.g. style, script) must be children of\n   * document.body. By default, browsers might move them to document.head */\n  let FORCE_BODY = false;\n  /* Decide if a DOM `HTMLBodyElement` should be returned, instead of a html\n   * string (or a TrustedHTML object if Trusted Types are supported).\n   * If `WHOLE_DOCUMENT` is enabled a `HTMLHtmlElement` will be returned instead\n   */\n  let RETURN_DOM = false;\n  /* Decide if a DOM `DocumentFragment` should be returned, instead of a html\n   * string  (or a TrustedHTML object if Trusted Types are supported) */\n  let RETURN_DOM_FRAGMENT = false;\n  /* Try to return a Trusted Type object instead of a string, return a string in\n   * case Trusted Types are not supported  */\n  let RETURN_TRUSTED_TYPE = false;\n  /* Output should be free from DOM clobbering attacks?\n   * This sanitizes markups named with colliding, clobberable built-in DOM APIs.\n   */\n  let SANITIZE_DOM = true;\n  /* Achieve full DOM Clobbering protection by isolating the namespace of named\n   * properties and JS variables, mitigating attacks that abuse the HTML/DOM spec rules.\n   *\n   * HTML/DOM spec rules that enable DOM Clobbering:\n   *   - Named Access on Window (§7.3.3)\n   *   - DOM Tree Accessors (§3.1.5)\n   *   - Form Element Parent-Child Relations (§4.10.3)\n   *   - Iframe srcdoc / Nested WindowProxies (§4.8.5)\n   *   - HTMLCollection (§4.2.10.2)\n   *\n   * Namespace isolation is implemented by prefixing `id` and `name` attributes\n   * with a constant string, i.e., `user-content-`\n   */\n  let SANITIZE_NAMED_PROPS = false;\n  const SANITIZE_NAMED_PROPS_PREFIX = 'user-content-';\n  /* Keep element content when removing element? */\n  let KEEP_CONTENT = true;\n  /* If a `Node` is passed to sanitize(), then performs sanitization in-place instead\n   * of importing it into a new Document and returning a sanitized copy */\n  let IN_PLACE = false;\n  /* Allow usage of profiles like html, svg and mathMl */\n  let USE_PROFILES = {};\n  /* Tags to ignore content of when KEEP_CONTENT is true */\n  let FORBID_CONTENTS = null;\n  const DEFAULT_FORBID_CONTENTS = addToSet({}, ['annotation-xml', 'audio', 'colgroup', 'desc', 'foreignobject', 'head', 'iframe', 'math', 'mi', 'mn', 'mo', 'ms', 'mtext', 'noembed', 'noframes', 'noscript', 'plaintext', 'script', 'style', 'svg', 'template', 'thead', 'title', 'video', 'xmp']);\n  /* Tags that are safe for data: URIs */\n  let DATA_URI_TAGS = null;\n  const DEFAULT_DATA_URI_TAGS = addToSet({}, ['audio', 'video', 'img', 'source', 'image', 'track']);\n  /* Attributes safe for values like \"javascript:\" */\n  let URI_SAFE_ATTRIBUTES = null;\n  const DEFAULT_URI_SAFE_ATTRIBUTES = addToSet({}, ['alt', 'class', 'for', 'id', 'label', 'name', 'pattern', 'placeholder', 'role', 'summary', 'title', 'value', 'style', 'xmlns']);\n  const MATHML_NAMESPACE = 'http://www.w3.org/1998/Math/MathML';\n  const SVG_NAMESPACE = 'http://www.w3.org/2000/svg';\n  const HTML_NAMESPACE = 'http://www.w3.org/1999/xhtml';\n  /* Document namespace */\n  let NAMESPACE = HTML_NAMESPACE;\n  let IS_EMPTY_INPUT = false;\n  /* Allowed XHTML+XML namespaces */\n  let ALLOWED_NAMESPACES = null;\n  const DEFAULT_ALLOWED_NAMESPACES = addToSet({}, [MATHML_NAMESPACE, SVG_NAMESPACE, HTML_NAMESPACE], stringToString);\n  let MATHML_TEXT_INTEGRATION_POINTS = addToSet({}, ['mi', 'mo', 'mn', 'ms', 'mtext']);\n  let HTML_INTEGRATION_POINTS = addToSet({}, ['annotation-xml']);\n  // Certain elements are allowed in both SVG and HTML\n  // namespace. We need to specify them explicitly\n  // so that they don't get erroneously deleted from\n  // HTML namespace.\n  const COMMON_SVG_AND_HTML_ELEMENTS = addToSet({}, ['title', 'style', 'font', 'a', 'script']);\n  /* Parsing of strict XHTML documents */\n  let PARSER_MEDIA_TYPE = null;\n  const SUPPORTED_PARSER_MEDIA_TYPES = ['application/xhtml+xml', 'text/html'];\n  const DEFAULT_PARSER_MEDIA_TYPE = 'text/html';\n  let transformCaseFunc = null;\n  /* Keep a reference to config to pass to hooks */\n  let CONFIG = null;\n  /* Ideally, do not touch anything below this line */\n  /* ______________________________________________ */\n  const formElement = document.createElement('form');\n  const isRegexOrFunction = function isRegexOrFunction(testValue) {\n    return testValue instanceof RegExp || testValue instanceof Function;\n  };\n  /**\n   * _parseConfig\n   *\n   * @param cfg optional config literal\n   */\n  // eslint-disable-next-line complexity\n  const _parseConfig = function _parseConfig() {\n    let cfg = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n    if (CONFIG && CONFIG === cfg) {\n      return;\n    }\n    /* Shield configuration object from tampering */\n    if (!cfg || typeof cfg !== 'object') {\n      cfg = {};\n    }\n    /* Shield configuration object from prototype pollution */\n    cfg = clone(cfg);\n    PARSER_MEDIA_TYPE =\n    // eslint-disable-next-line unicorn/prefer-includes\n    SUPPORTED_PARSER_MEDIA_TYPES.indexOf(cfg.PARSER_MEDIA_TYPE) === -1 ? DEFAULT_PARSER_MEDIA_TYPE : cfg.PARSER_MEDIA_TYPE;\n    // HTML tags and attributes are not case-sensitive, converting to lowercase. Keeping XHTML as is.\n    transformCaseFunc = PARSER_MEDIA_TYPE === 'application/xhtml+xml' ? stringToString : stringToLowerCase;\n    /* Set configuration parameters */\n    ALLOWED_TAGS = objectHasOwnProperty(cfg, 'ALLOWED_TAGS') ? addToSet({}, cfg.ALLOWED_TAGS, transformCaseFunc) : DEFAULT_ALLOWED_TAGS;\n    ALLOWED_ATTR = objectHasOwnProperty(cfg, 'ALLOWED_ATTR') ? addToSet({}, cfg.ALLOWED_ATTR, transformCaseFunc) : DEFAULT_ALLOWED_ATTR;\n    ALLOWED_NAMESPACES = objectHasOwnProperty(cfg, 'ALLOWED_NAMESPACES') ? addToSet({}, cfg.ALLOWED_NAMESPACES, stringToString) : DEFAULT_ALLOWED_NAMESPACES;\n    URI_SAFE_ATTRIBUTES = objectHasOwnProperty(cfg, 'ADD_URI_SAFE_ATTR') ? addToSet(clone(DEFAULT_URI_SAFE_ATTRIBUTES), cfg.ADD_URI_SAFE_ATTR, transformCaseFunc) : DEFAULT_URI_SAFE_ATTRIBUTES;\n    DATA_URI_TAGS = objectHasOwnProperty(cfg, 'ADD_DATA_URI_TAGS') ? addToSet(clone(DEFAULT_DATA_URI_TAGS), cfg.ADD_DATA_URI_TAGS, transformCaseFunc) : DEFAULT_DATA_URI_TAGS;\n    FORBID_CONTENTS = objectHasOwnProperty(cfg, 'FORBID_CONTENTS') ? addToSet({}, cfg.FORBID_CONTENTS, transformCaseFunc) : DEFAULT_FORBID_CONTENTS;\n    FORBID_TAGS = objectHasOwnProperty(cfg, 'FORBID_TAGS') ? addToSet({}, cfg.FORBID_TAGS, transformCaseFunc) : clone({});\n    FORBID_ATTR = objectHasOwnProperty(cfg, 'FORBID_ATTR') ? addToSet({}, cfg.FORBID_ATTR, transformCaseFunc) : clone({});\n    USE_PROFILES = objectHasOwnProperty(cfg, 'USE_PROFILES') ? cfg.USE_PROFILES : false;\n    ALLOW_ARIA_ATTR = cfg.ALLOW_ARIA_ATTR !== false; // Default true\n    ALLOW_DATA_ATTR = cfg.ALLOW_DATA_ATTR !== false; // Default true\n    ALLOW_UNKNOWN_PROTOCOLS = cfg.ALLOW_UNKNOWN_PROTOCOLS || false; // Default false\n    ALLOW_SELF_CLOSE_IN_ATTR = cfg.ALLOW_SELF_CLOSE_IN_ATTR !== false; // Default true\n    SAFE_FOR_TEMPLATES = cfg.SAFE_FOR_TEMPLATES || false; // Default false\n    SAFE_FOR_XML = cfg.SAFE_FOR_XML !== false; // Default true\n    WHOLE_DOCUMENT = cfg.WHOLE_DOCUMENT || false; // Default false\n    RETURN_DOM = cfg.RETURN_DOM || false; // Default false\n    RETURN_DOM_FRAGMENT = cfg.RETURN_DOM_FRAGMENT || false; // Default false\n    RETURN_TRUSTED_TYPE = cfg.RETURN_TRUSTED_TYPE || false; // Default false\n    FORCE_BODY = cfg.FORCE_BODY || false; // Default false\n    SANITIZE_DOM = cfg.SANITIZE_DOM !== false; // Default true\n    SANITIZE_NAMED_PROPS = cfg.SANITIZE_NAMED_PROPS || false; // Default false\n    KEEP_CONTENT = cfg.KEEP_CONTENT !== false; // Default true\n    IN_PLACE = cfg.IN_PLACE || false; // Default false\n    IS_ALLOWED_URI$1 = cfg.ALLOWED_URI_REGEXP || IS_ALLOWED_URI;\n    NAMESPACE = cfg.NAMESPACE || HTML_NAMESPACE;\n    MATHML_TEXT_INTEGRATION_POINTS = cfg.MATHML_TEXT_INTEGRATION_POINTS || MATHML_TEXT_INTEGRATION_POINTS;\n    HTML_INTEGRATION_POINTS = cfg.HTML_INTEGRATION_POINTS || HTML_INTEGRATION_POINTS;\n    CUSTOM_ELEMENT_HANDLING = cfg.CUSTOM_ELEMENT_HANDLING || {};\n    if (cfg.CUSTOM_ELEMENT_HANDLING && isRegexOrFunction(cfg.CUSTOM_ELEMENT_HANDLING.tagNameCheck)) {\n      CUSTOM_ELEMENT_HANDLING.tagNameCheck = cfg.CUSTOM_ELEMENT_HANDLING.tagNameCheck;\n    }\n    if (cfg.CUSTOM_ELEMENT_HANDLING && isRegexOrFunction(cfg.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)) {\n      CUSTOM_ELEMENT_HANDLING.attributeNameCheck = cfg.CUSTOM_ELEMENT_HANDLING.attributeNameCheck;\n    }\n    if (cfg.CUSTOM_ELEMENT_HANDLING && typeof cfg.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements === 'boolean') {\n      CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements = cfg.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements;\n    }\n    if (SAFE_FOR_TEMPLATES) {\n      ALLOW_DATA_ATTR = false;\n    }\n    if (RETURN_DOM_FRAGMENT) {\n      RETURN_DOM = true;\n    }\n    /* Parse profile info */\n    if (USE_PROFILES) {\n      ALLOWED_TAGS = addToSet({}, text);\n      ALLOWED_ATTR = [];\n      if (USE_PROFILES.html === true) {\n        addToSet(ALLOWED_TAGS, html$1);\n        addToSet(ALLOWED_ATTR, html);\n      }\n      if (USE_PROFILES.svg === true) {\n        addToSet(ALLOWED_TAGS, svg$1);\n        addToSet(ALLOWED_ATTR, svg);\n        addToSet(ALLOWED_ATTR, xml);\n      }\n      if (USE_PROFILES.svgFilters === true) {\n        addToSet(ALLOWED_TAGS, svgFilters);\n        addToSet(ALLOWED_ATTR, svg);\n        addToSet(ALLOWED_ATTR, xml);\n      }\n      if (USE_PROFILES.mathMl === true) {\n        addToSet(ALLOWED_TAGS, mathMl$1);\n        addToSet(ALLOWED_ATTR, mathMl);\n        addToSet(ALLOWED_ATTR, xml);\n      }\n    }\n    /* Merge configuration parameters */\n    if (cfg.ADD_TAGS) {\n      if (typeof cfg.ADD_TAGS === 'function') {\n        EXTRA_ELEMENT_HANDLING.tagCheck = cfg.ADD_TAGS;\n      } else {\n        if (ALLOWED_TAGS === DEFAULT_ALLOWED_TAGS) {\n          ALLOWED_TAGS = clone(ALLOWED_TAGS);\n        }\n        addToSet(ALLOWED_TAGS, cfg.ADD_TAGS, transformCaseFunc);\n      }\n    }\n    if (cfg.ADD_ATTR) {\n      if (typeof cfg.ADD_ATTR === 'function') {\n        EXTRA_ELEMENT_HANDLING.attributeCheck = cfg.ADD_ATTR;\n      } else {\n        if (ALLOWED_ATTR === DEFAULT_ALLOWED_ATTR) {\n          ALLOWED_ATTR = clone(ALLOWED_ATTR);\n        }\n        addToSet(ALLOWED_ATTR, cfg.ADD_ATTR, transformCaseFunc);\n      }\n    }\n    if (cfg.ADD_URI_SAFE_ATTR) {\n      addToSet(URI_SAFE_ATTRIBUTES, cfg.ADD_URI_SAFE_ATTR, transformCaseFunc);\n    }\n    if (cfg.FORBID_CONTENTS) {\n      if (FORBID_CONTENTS === DEFAULT_FORBID_CONTENTS) {\n        FORBID_CONTENTS = clone(FORBID_CONTENTS);\n      }\n      addToSet(FORBID_CONTENTS, cfg.FORBID_CONTENTS, transformCaseFunc);\n    }\n    /* Add #text in case KEEP_CONTENT is set to true */\n    if (KEEP_CONTENT) {\n      ALLOWED_TAGS['#text'] = true;\n    }\n    /* Add html, head and body to ALLOWED_TAGS in case WHOLE_DOCUMENT is true */\n    if (WHOLE_DOCUMENT) {\n      addToSet(ALLOWED_TAGS, ['html', 'head', 'body']);\n    }\n    /* Add tbody to ALLOWED_TAGS in case tables are permitted, see #286, #365 */\n    if (ALLOWED_TAGS.table) {\n      addToSet(ALLOWED_TAGS, ['tbody']);\n      delete FORBID_TAGS.tbody;\n    }\n    if (cfg.TRUSTED_TYPES_POLICY) {\n      if (typeof cfg.TRUSTED_TYPES_POLICY.createHTML !== 'function') {\n        throw typeErrorCreate('TRUSTED_TYPES_POLICY configuration option must provide a \"createHTML\" hook.');\n      }\n      if (typeof cfg.TRUSTED_TYPES_POLICY.createScriptURL !== 'function') {\n        throw typeErrorCreate('TRUSTED_TYPES_POLICY configuration option must provide a \"createScriptURL\" hook.');\n      }\n      // Overwrite existing TrustedTypes policy.\n      trustedTypesPolicy = cfg.TRUSTED_TYPES_POLICY;\n      // Sign local variables required by `sanitize`.\n      emptyHTML = trustedTypesPolicy.createHTML('');\n    } else {\n      // Uninitialized policy, attempt to initialize the internal dompurify policy.\n      if (trustedTypesPolicy === undefined) {\n        trustedTypesPolicy = _createTrustedTypesPolicy(trustedTypes, currentScript);\n      }\n      // If creating the internal policy succeeded sign internal variables.\n      if (trustedTypesPolicy !== null && typeof emptyHTML === 'string') {\n        emptyHTML = trustedTypesPolicy.createHTML('');\n      }\n    }\n    // Prevent further manipulation of configuration.\n    // Not available in IE8, Safari 5, etc.\n    if (freeze) {\n      freeze(cfg);\n    }\n    CONFIG = cfg;\n  };\n  /* Keep track of all possible SVG and MathML tags\n   * so that we can perform the namespace checks\n   * correctly. */\n  const ALL_SVG_TAGS = addToSet({}, [...svg$1, ...svgFilters, ...svgDisallowed]);\n  const ALL_MATHML_TAGS = addToSet({}, [...mathMl$1, ...mathMlDisallowed]);\n  /**\n   * @param element a DOM element whose namespace is being checked\n   * @returns Return false if the element has a\n   *  namespace that a spec-compliant parser would never\n   *  return. Return true otherwise.\n   */\n  const _checkValidNamespace = function _checkValidNamespace(element) {\n    let parent = getParentNode(element);\n    // In JSDOM, if we're inside shadow DOM, then parentNode\n    // can be null. We just simulate parent in this case.\n    if (!parent || !parent.tagName) {\n      parent = {\n        namespaceURI: NAMESPACE,\n        tagName: 'template'\n      };\n    }\n    const tagName = stringToLowerCase(element.tagName);\n    const parentTagName = stringToLowerCase(parent.tagName);\n    if (!ALLOWED_NAMESPACES[element.namespaceURI]) {\n      return false;\n    }\n    if (element.namespaceURI === SVG_NAMESPACE) {\n      // The only way to switch from HTML namespace to SVG\n      // is via <svg>. If it happens via any other tag, then\n      // it should be killed.\n      if (parent.namespaceURI === HTML_NAMESPACE) {\n        return tagName === 'svg';\n      }\n      // The only way to switch from MathML to SVG is via`\n      // svg if parent is either <annotation-xml> or MathML\n      // text integration points.\n      if (parent.namespaceURI === MATHML_NAMESPACE) {\n        return tagName === 'svg' && (parentTagName === 'annotation-xml' || MATHML_TEXT_INTEGRATION_POINTS[parentTagName]);\n      }\n      // We only allow elements that are defined in SVG\n      // spec. All others are disallowed in SVG namespace.\n      return Boolean(ALL_SVG_TAGS[tagName]);\n    }\n    if (element.namespaceURI === MATHML_NAMESPACE) {\n      // The only way to switch from HTML namespace to MathML\n      // is via <math>. If it happens via any other tag, then\n      // it should be killed.\n      if (parent.namespaceURI === HTML_NAMESPACE) {\n        return tagName === 'math';\n      }\n      // The only way to switch from SVG to MathML is via\n      // <math> and HTML integration points\n      if (parent.namespaceURI === SVG_NAMESPACE) {\n        return tagName === 'math' && HTML_INTEGRATION_POINTS[parentTagName];\n      }\n      // We only allow elements that are defined in MathML\n      // spec. All others are disallowed in MathML namespace.\n      return Boolean(ALL_MATHML_TAGS[tagName]);\n    }\n    if (element.namespaceURI === HTML_NAMESPACE) {\n      // The only way to switch from SVG to HTML is via\n      // HTML integration points, and from MathML to HTML\n      // is via MathML text integration points\n      if (parent.namespaceURI === SVG_NAMESPACE && !HTML_INTEGRATION_POINTS[parentTagName]) {\n        return false;\n      }\n      if (parent.namespaceURI === MATHML_NAMESPACE && !MATHML_TEXT_INTEGRATION_POINTS[parentTagName]) {\n        return false;\n      }\n      // We disallow tags that are specific for MathML\n      // or SVG and should never appear in HTML namespace\n      return !ALL_MATHML_TAGS[tagName] && (COMMON_SVG_AND_HTML_ELEMENTS[tagName] || !ALL_SVG_TAGS[tagName]);\n    }\n    // For XHTML and XML documents that support custom namespaces\n    if (PARSER_MEDIA_TYPE === 'application/xhtml+xml' && ALLOWED_NAMESPACES[element.namespaceURI]) {\n      return true;\n    }\n    // The code should never reach this place (this means\n    // that the element somehow got namespace that is not\n    // HTML, SVG, MathML or allowed via ALLOWED_NAMESPACES).\n    // Return false just in case.\n    return false;\n  };\n  /**\n   * _forceRemove\n   *\n   * @param node a DOM node\n   */\n  const _forceRemove = function _forceRemove(node) {\n    arrayPush(DOMPurify.removed, {\n      element: node\n    });\n    try {\n      // eslint-disable-next-line unicorn/prefer-dom-node-remove\n      getParentNode(node).removeChild(node);\n    } catch (_) {\n      remove(node);\n    }\n  };\n  /**\n   * _removeAttribute\n   *\n   * @param name an Attribute name\n   * @param element a DOM node\n   */\n  const _removeAttribute = function _removeAttribute(name, element) {\n    try {\n      arrayPush(DOMPurify.removed, {\n        attribute: element.getAttributeNode(name),\n        from: element\n      });\n    } catch (_) {\n      arrayPush(DOMPurify.removed, {\n        attribute: null,\n        from: element\n      });\n    }\n    element.removeAttribute(name);\n    // We void attribute values for unremovable \"is\" attributes\n    if (name === 'is') {\n      if (RETURN_DOM || RETURN_DOM_FRAGMENT) {\n        try {\n          _forceRemove(element);\n        } catch (_) {}\n      } else {\n        try {\n          element.setAttribute(name, '');\n        } catch (_) {}\n      }\n    }\n  };\n  /**\n   * _initDocument\n   *\n   * @param dirty - a string of dirty markup\n   * @return a DOM, filled with the dirty markup\n   */\n  const _initDocument = function _initDocument(dirty) {\n    /* Create a HTML document */\n    let doc = null;\n    let leadingWhitespace = null;\n    if (FORCE_BODY) {\n      dirty = '<remove></remove>' + dirty;\n    } else {\n      /* If FORCE_BODY isn't used, leading whitespace needs to be preserved manually */\n      const matches = stringMatch(dirty, /^[\\r\\n\\t ]+/);\n      leadingWhitespace = matches && matches[0];\n    }\n    if (PARSER_MEDIA_TYPE === 'application/xhtml+xml' && NAMESPACE === HTML_NAMESPACE) {\n      // Root of XHTML doc must contain xmlns declaration (see https://www.w3.org/TR/xhtml1/normative.html#strict)\n      dirty = '<html xmlns=\"http://www.w3.org/1999/xhtml\"><head></head><body>' + dirty + '</body></html>';\n    }\n    const dirtyPayload = trustedTypesPolicy ? trustedTypesPolicy.createHTML(dirty) : dirty;\n    /*\n     * Use the DOMParser API by default, fallback later if needs be\n     * DOMParser not work for svg when has multiple root element.\n     */\n    if (NAMESPACE === HTML_NAMESPACE) {\n      try {\n        doc = new DOMParser().parseFromString(dirtyPayload, PARSER_MEDIA_TYPE);\n      } catch (_) {}\n    }\n    /* Use createHTMLDocument in case DOMParser is not available */\n    if (!doc || !doc.documentElement) {\n      doc = implementation.createDocument(NAMESPACE, 'template', null);\n      try {\n        doc.documentElement.innerHTML = IS_EMPTY_INPUT ? emptyHTML : dirtyPayload;\n      } catch (_) {\n        // Syntax error if dirtyPayload is invalid xml\n      }\n    }\n    const body = doc.body || doc.documentElement;\n    if (dirty && leadingWhitespace) {\n      body.insertBefore(document.createTextNode(leadingWhitespace), body.childNodes[0] || null);\n    }\n    /* Work on whole document or just its body */\n    if (NAMESPACE === HTML_NAMESPACE) {\n      return getElementsByTagName.call(doc, WHOLE_DOCUMENT ? 'html' : 'body')[0];\n    }\n    return WHOLE_DOCUMENT ? doc.documentElement : body;\n  };\n  /**\n   * Creates a NodeIterator object that you can use to traverse filtered lists of nodes or elements in a document.\n   *\n   * @param root The root element or node to start traversing on.\n   * @return The created NodeIterator\n   */\n  const _createNodeIterator = function _createNodeIterator(root) {\n    return createNodeIterator.call(root.ownerDocument || root, root,\n    // eslint-disable-next-line no-bitwise\n    NodeFilter.SHOW_ELEMENT | NodeFilter.SHOW_COMMENT | NodeFilter.SHOW_TEXT | NodeFilter.SHOW_PROCESSING_INSTRUCTION | NodeFilter.SHOW_CDATA_SECTION, null);\n  };\n  /**\n   * _isClobbered\n   *\n   * @param element element to check for clobbering attacks\n   * @return true if clobbered, false if safe\n   */\n  const _isClobbered = function _isClobbered(element) {\n    return element instanceof HTMLFormElement && (typeof element.nodeName !== 'string' || typeof element.textContent !== 'string' || typeof element.removeChild !== 'function' || !(element.attributes instanceof NamedNodeMap) || typeof element.removeAttribute !== 'function' || typeof element.setAttribute !== 'function' || typeof element.namespaceURI !== 'string' || typeof element.insertBefore !== 'function' || typeof element.hasChildNodes !== 'function');\n  };\n  /**\n   * Checks whether the given object is a DOM node.\n   *\n   * @param value object to check whether it's a DOM node\n   * @return true is object is a DOM node\n   */\n  const _isNode = function _isNode(value) {\n    return typeof Node === 'function' && value instanceof Node;\n  };\n  function _executeHooks(hooks, currentNode, data) {\n    arrayForEach(hooks, hook => {\n      hook.call(DOMPurify, currentNode, data, CONFIG);\n    });\n  }\n  /**\n   * _sanitizeElements\n   *\n   * @protect nodeName\n   * @protect textContent\n   * @protect removeChild\n   * @param currentNode to check for permission to exist\n   * @return true if node was killed, false if left alive\n   */\n  const _sanitizeElements = function _sanitizeElements(currentNode) {\n    let content = null;\n    /* Execute a hook if present */\n    _executeHooks(hooks.beforeSanitizeElements, currentNode, null);\n    /* Check if element is clobbered or can clobber */\n    if (_isClobbered(currentNode)) {\n      _forceRemove(currentNode);\n      return true;\n    }\n    /* Now let's check the element's type and name */\n    const tagName = transformCaseFunc(currentNode.nodeName);\n    /* Execute a hook if present */\n    _executeHooks(hooks.uponSanitizeElement, currentNode, {\n      tagName,\n      allowedTags: ALLOWED_TAGS\n    });\n    /* Detect mXSS attempts abusing namespace confusion */\n    if (SAFE_FOR_XML && currentNode.hasChildNodes() && !_isNode(currentNode.firstElementChild) && regExpTest(/<[/\\w!]/g, currentNode.innerHTML) && regExpTest(/<[/\\w!]/g, currentNode.textContent)) {\n      _forceRemove(currentNode);\n      return true;\n    }\n    /* Remove any occurrence of processing instructions */\n    if (currentNode.nodeType === NODE_TYPE.progressingInstruction) {\n      _forceRemove(currentNode);\n      return true;\n    }\n    /* Remove any kind of possibly harmful comments */\n    if (SAFE_FOR_XML && currentNode.nodeType === NODE_TYPE.comment && regExpTest(/<[/\\w]/g, currentNode.data)) {\n      _forceRemove(currentNode);\n      return true;\n    }\n    /* Remove element if anything forbids its presence */\n    if (!(EXTRA_ELEMENT_HANDLING.tagCheck instanceof Function && EXTRA_ELEMENT_HANDLING.tagCheck(tagName)) && (!ALLOWED_TAGS[tagName] || FORBID_TAGS[tagName])) {\n      /* Check if we have a custom element to handle */\n      if (!FORBID_TAGS[tagName] && _isBasicCustomElement(tagName)) {\n        if (CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof RegExp && regExpTest(CUSTOM_ELEMENT_HANDLING.tagNameCheck, tagName)) {\n          return false;\n        }\n        if (CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof Function && CUSTOM_ELEMENT_HANDLING.tagNameCheck(tagName)) {\n          return false;\n        }\n      }\n      /* Keep content except for bad-listed elements */\n      if (KEEP_CONTENT && !FORBID_CONTENTS[tagName]) {\n        const parentNode = getParentNode(currentNode) || currentNode.parentNode;\n        const childNodes = getChildNodes(currentNode) || currentNode.childNodes;\n        if (childNodes && parentNode) {\n          const childCount = childNodes.length;\n          for (let i = childCount - 1; i >= 0; --i) {\n            const childClone = cloneNode(childNodes[i], true);\n            childClone.__removalCount = (currentNode.__removalCount || 0) + 1;\n            parentNode.insertBefore(childClone, getNextSibling(currentNode));\n          }\n        }\n      }\n      _forceRemove(currentNode);\n      return true;\n    }\n    /* Check whether element has a valid namespace */\n    if (currentNode instanceof Element && !_checkValidNamespace(currentNode)) {\n      _forceRemove(currentNode);\n      return true;\n    }\n    /* Make sure that older browsers don't get fallback-tag mXSS */\n    if ((tagName === 'noscript' || tagName === 'noembed' || tagName === 'noframes') && regExpTest(/<\\/no(script|embed|frames)/i, currentNode.innerHTML)) {\n      _forceRemove(currentNode);\n      return true;\n    }\n    /* Sanitize element content to be template-safe */\n    if (SAFE_FOR_TEMPLATES && currentNode.nodeType === NODE_TYPE.text) {\n      /* Get the element's text content */\n      content = currentNode.textContent;\n      arrayForEach([MUSTACHE_EXPR, ERB_EXPR, TMPLIT_EXPR], expr => {\n        content = stringReplace(content, expr, ' ');\n      });\n      if (currentNode.textContent !== content) {\n        arrayPush(DOMPurify.removed, {\n          element: currentNode.cloneNode()\n        });\n        currentNode.textContent = content;\n      }\n    }\n    /* Execute a hook if present */\n    _executeHooks(hooks.afterSanitizeElements, currentNode, null);\n    return false;\n  };\n  /**\n   * _isValidAttribute\n   *\n   * @param lcTag Lowercase tag name of containing element.\n   * @param lcName Lowercase attribute name.\n   * @param value Attribute value.\n   * @return Returns true if `value` is valid, otherwise false.\n   */\n  // eslint-disable-next-line complexity\n  const _isValidAttribute = function _isValidAttribute(lcTag, lcName, value) {\n    /* Make sure attribute cannot clobber */\n    if (SANITIZE_DOM && (lcName === 'id' || lcName === 'name') && (value in document || value in formElement)) {\n      return false;\n    }\n    /* Allow valid data-* attributes: At least one character after \"-\"\n        (https://html.spec.whatwg.org/multipage/dom.html#embedding-custom-non-visible-data-with-the-data-*-attributes)\n        XML-compatible (https://html.spec.whatwg.org/multipage/infrastructure.html#xml-compatible and http://www.w3.org/TR/xml/#d0e804)\n        We don't need to check the value; it's always URI safe. */\n    if (ALLOW_DATA_ATTR && !FORBID_ATTR[lcName] && regExpTest(DATA_ATTR, lcName)) ; else if (ALLOW_ARIA_ATTR && regExpTest(ARIA_ATTR, lcName)) ; else if (EXTRA_ELEMENT_HANDLING.attributeCheck instanceof Function && EXTRA_ELEMENT_HANDLING.attributeCheck(lcName, lcTag)) ; else if (!ALLOWED_ATTR[lcName] || FORBID_ATTR[lcName]) {\n      if (\n      // First condition does a very basic check if a) it's basically a valid custom element tagname AND\n      // b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck\n      // and c) if the attribute name passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.attributeNameCheck\n      _isBasicCustomElement(lcTag) && (CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof RegExp && regExpTest(CUSTOM_ELEMENT_HANDLING.tagNameCheck, lcTag) || CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof Function && CUSTOM_ELEMENT_HANDLING.tagNameCheck(lcTag)) && (CUSTOM_ELEMENT_HANDLING.attributeNameCheck instanceof RegExp && regExpTest(CUSTOM_ELEMENT_HANDLING.attributeNameCheck, lcName) || CUSTOM_ELEMENT_HANDLING.attributeNameCheck instanceof Function && CUSTOM_ELEMENT_HANDLING.attributeNameCheck(lcName, lcTag)) ||\n      // Alternative, second condition checks if it's an `is`-attribute, AND\n      // the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck\n      lcName === 'is' && CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements && (CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof RegExp && regExpTest(CUSTOM_ELEMENT_HANDLING.tagNameCheck, value) || CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof Function && CUSTOM_ELEMENT_HANDLING.tagNameCheck(value))) ; else {\n        return false;\n      }\n      /* Check value is safe. First, is attr inert? If so, is safe */\n    } else if (URI_SAFE_ATTRIBUTES[lcName]) ; else if (regExpTest(IS_ALLOWED_URI$1, stringReplace(value, ATTR_WHITESPACE, ''))) ; else if ((lcName === 'src' || lcName === 'xlink:href' || lcName === 'href') && lcTag !== 'script' && stringIndexOf(value, 'data:') === 0 && DATA_URI_TAGS[lcTag]) ; else if (ALLOW_UNKNOWN_PROTOCOLS && !regExpTest(IS_SCRIPT_OR_DATA, stringReplace(value, ATTR_WHITESPACE, ''))) ; else if (value) {\n      return false;\n    } else ;\n    return true;\n  };\n  /**\n   * _isBasicCustomElement\n   * checks if at least one dash is included in tagName, and it's not the first char\n   * for more sophisticated checking see https://github.com/sindresorhus/validate-element-name\n   *\n   * @param tagName name of the tag of the node to sanitize\n   * @returns Returns true if the tag name meets the basic criteria for a custom element, otherwise false.\n   */\n  const _isBasicCustomElement = function _isBasicCustomElement(tagName) {\n    return tagName !== 'annotation-xml' && stringMatch(tagName, CUSTOM_ELEMENT);\n  };\n  /**\n   * _sanitizeAttributes\n   *\n   * @protect attributes\n   * @protect nodeName\n   * @protect removeAttribute\n   * @protect setAttribute\n   *\n   * @param currentNode to sanitize\n   */\n  const _sanitizeAttributes = function _sanitizeAttributes(currentNode) {\n    /* Execute a hook if present */\n    _executeHooks(hooks.beforeSanitizeAttributes, currentNode, null);\n    const {\n      attributes\n    } = currentNode;\n    /* Check if we have attributes; if not we might have a text node */\n    if (!attributes || _isClobbered(currentNode)) {\n      return;\n    }\n    const hookEvent = {\n      attrName: '',\n      attrValue: '',\n      keepAttr: true,\n      allowedAttributes: ALLOWED_ATTR,\n      forceKeepAttr: undefined\n    };\n    let l = attributes.length;\n    /* Go backwards over all attributes; safely remove bad ones */\n    while (l--) {\n      const attr = attributes[l];\n      const {\n        name,\n        namespaceURI,\n        value: attrValue\n      } = attr;\n      const lcName = transformCaseFunc(name);\n      const initValue = attrValue;\n      let value = name === 'value' ? initValue : stringTrim(initValue);\n      /* Execute a hook if present */\n      hookEvent.attrName = lcName;\n      hookEvent.attrValue = value;\n      hookEvent.keepAttr = true;\n      hookEvent.forceKeepAttr = undefined; // Allows developers to see this is a property they can set\n      _executeHooks(hooks.uponSanitizeAttribute, currentNode, hookEvent);\n      value = hookEvent.attrValue;\n      /* Full DOM Clobbering protection via namespace isolation,\n       * Prefix id and name attributes with `user-content-`\n       */\n      if (SANITIZE_NAMED_PROPS && (lcName === 'id' || lcName === 'name')) {\n        // Remove the attribute with this value\n        _removeAttribute(name, currentNode);\n        // Prefix the value and later re-create the attribute with the sanitized value\n        value = SANITIZE_NAMED_PROPS_PREFIX + value;\n      }\n      /* Work around a security issue with comments inside attributes */\n      if (SAFE_FOR_XML && regExpTest(/((--!?|])>)|<\\/(style|title|textarea)/i, value)) {\n        _removeAttribute(name, currentNode);\n        continue;\n      }\n      /* Make sure we cannot easily use animated hrefs, even if animations are allowed */\n      if (lcName === 'attributename' && stringMatch(value, 'href')) {\n        _removeAttribute(name, currentNode);\n        continue;\n      }\n      /* Did the hooks approve of the attribute? */\n      if (hookEvent.forceKeepAttr) {\n        continue;\n      }\n      /* Did the hooks approve of the attribute? */\n      if (!hookEvent.keepAttr) {\n        _removeAttribute(name, currentNode);\n        continue;\n      }\n      /* Work around a security issue in jQuery 3.0 */\n      if (!ALLOW_SELF_CLOSE_IN_ATTR && regExpTest(/\\/>/i, value)) {\n        _removeAttribute(name, currentNode);\n        continue;\n      }\n      /* Sanitize attribute content to be template-safe */\n      if (SAFE_FOR_TEMPLATES) {\n        arrayForEach([MUSTACHE_EXPR, ERB_EXPR, TMPLIT_EXPR], expr => {\n          value = stringReplace(value, expr, ' ');\n        });\n      }\n      /* Is `value` valid for this attribute? */\n      const lcTag = transformCaseFunc(currentNode.nodeName);\n      if (!_isValidAttribute(lcTag, lcName, value)) {\n        _removeAttribute(name, currentNode);\n        continue;\n      }\n      /* Handle attributes that require Trusted Types */\n      if (trustedTypesPolicy && typeof trustedTypes === 'object' && typeof trustedTypes.getAttributeType === 'function') {\n        if (namespaceURI) ; else {\n          switch (trustedTypes.getAttributeType(lcTag, lcName)) {\n            case 'TrustedHTML':\n              {\n                value = trustedTypesPolicy.createHTML(value);\n                break;\n              }\n            case 'TrustedScriptURL':\n              {\n                value = trustedTypesPolicy.createScriptURL(value);\n                break;\n              }\n          }\n        }\n      }\n      /* Handle invalid data-* attribute set by try-catching it */\n      if (value !== initValue) {\n        try {\n          if (namespaceURI) {\n            currentNode.setAttributeNS(namespaceURI, name, value);\n          } else {\n            /* Fallback to setAttribute() for browser-unrecognized namespaces e.g. \"x-schema\". */\n            currentNode.setAttribute(name, value);\n          }\n          if (_isClobbered(currentNode)) {\n            _forceRemove(currentNode);\n          } else {\n            arrayPop(DOMPurify.removed);\n          }\n        } catch (_) {\n          _removeAttribute(name, currentNode);\n        }\n      }\n    }\n    /* Execute a hook if present */\n    _executeHooks(hooks.afterSanitizeAttributes, currentNode, null);\n  };\n  /**\n   * _sanitizeShadowDOM\n   *\n   * @param fragment to iterate over recursively\n   */\n  const _sanitizeShadowDOM = function _sanitizeShadowDOM(fragment) {\n    let shadowNode = null;\n    const shadowIterator = _createNodeIterator(fragment);\n    /* Execute a hook if present */\n    _executeHooks(hooks.beforeSanitizeShadowDOM, fragment, null);\n    while (shadowNode = shadowIterator.nextNode()) {\n      /* Execute a hook if present */\n      _executeHooks(hooks.uponSanitizeShadowNode, shadowNode, null);\n      /* Sanitize tags and elements */\n      _sanitizeElements(shadowNode);\n      /* Check attributes next */\n      _sanitizeAttributes(shadowNode);\n      /* Deep shadow DOM detected */\n      if (shadowNode.content instanceof DocumentFragment) {\n        _sanitizeShadowDOM(shadowNode.content);\n      }\n    }\n    /* Execute a hook if present */\n    _executeHooks(hooks.afterSanitizeShadowDOM, fragment, null);\n  };\n  // eslint-disable-next-line complexity\n  DOMPurify.sanitize = function (dirty) {\n    let cfg = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n    let body = null;\n    let importedNode = null;\n    let currentNode = null;\n    let returnNode = null;\n    /* Make sure we have a string to sanitize.\n      DO NOT return early, as this will return the wrong type if\n      the user has requested a DOM object rather than a string */\n    IS_EMPTY_INPUT = !dirty;\n    if (IS_EMPTY_INPUT) {\n      dirty = '<!-->';\n    }\n    /* Stringify, in case dirty is an object */\n    if (typeof dirty !== 'string' && !_isNode(dirty)) {\n      if (typeof dirty.toString === 'function') {\n        dirty = dirty.toString();\n        if (typeof dirty !== 'string') {\n          throw typeErrorCreate('dirty is not a string, aborting');\n        }\n      } else {\n        throw typeErrorCreate('toString is not a function');\n      }\n    }\n    /* Return dirty HTML if DOMPurify cannot run */\n    if (!DOMPurify.isSupported) {\n      return dirty;\n    }\n    /* Assign config vars */\n    if (!SET_CONFIG) {\n      _parseConfig(cfg);\n    }\n    /* Clean up removed elements */\n    DOMPurify.removed = [];\n    /* Check if dirty is correctly typed for IN_PLACE */\n    if (typeof dirty === 'string') {\n      IN_PLACE = false;\n    }\n    if (IN_PLACE) {\n      /* Do some early pre-sanitization to avoid unsafe root nodes */\n      if (dirty.nodeName) {\n        const tagName = transformCaseFunc(dirty.nodeName);\n        if (!ALLOWED_TAGS[tagName] || FORBID_TAGS[tagName]) {\n          throw typeErrorCreate('root node is forbidden and cannot be sanitized in-place');\n        }\n      }\n    } else if (dirty instanceof Node) {\n      /* If dirty is a DOM element, append to an empty document to avoid\n         elements being stripped by the parser */\n      body = _initDocument('<!---->');\n      importedNode = body.ownerDocument.importNode(dirty, true);\n      if (importedNode.nodeType === NODE_TYPE.element && importedNode.nodeName === 'BODY') {\n        /* Node is already a body, use as is */\n        body = importedNode;\n      } else if (importedNode.nodeName === 'HTML') {\n        body = importedNode;\n      } else {\n        // eslint-disable-next-line unicorn/prefer-dom-node-append\n        body.appendChild(importedNode);\n      }\n    } else {\n      /* Exit directly if we have nothing to do */\n      if (!RETURN_DOM && !SAFE_FOR_TEMPLATES && !WHOLE_DOCUMENT &&\n      // eslint-disable-next-line unicorn/prefer-includes\n      dirty.indexOf('<') === -1) {\n        return trustedTypesPolicy && RETURN_TRUSTED_TYPE ? trustedTypesPolicy.createHTML(dirty) : dirty;\n      }\n      /* Initialize the document to work on */\n      body = _initDocument(dirty);\n      /* Check we have a DOM node from the data */\n      if (!body) {\n        return RETURN_DOM ? null : RETURN_TRUSTED_TYPE ? emptyHTML : '';\n      }\n    }\n    /* Remove first element node (ours) if FORCE_BODY is set */\n    if (body && FORCE_BODY) {\n      _forceRemove(body.firstChild);\n    }\n    /* Get node iterator */\n    const nodeIterator = _createNodeIterator(IN_PLACE ? dirty : body);\n    /* Now start iterating over the created document */\n    while (currentNode = nodeIterator.nextNode()) {\n      /* Sanitize tags and elements */\n      _sanitizeElements(currentNode);\n      /* Check attributes next */\n      _sanitizeAttributes(currentNode);\n      /* Shadow DOM detected, sanitize it */\n      if (currentNode.content instanceof DocumentFragment) {\n        _sanitizeShadowDOM(currentNode.content);\n      }\n    }\n    /* If we sanitized `dirty` in-place, return it. */\n    if (IN_PLACE) {\n      return dirty;\n    }\n    /* Return sanitized string or DOM */\n    if (RETURN_DOM) {\n      if (RETURN_DOM_FRAGMENT) {\n        returnNode = createDocumentFragment.call(body.ownerDocument);\n        while (body.firstChild) {\n          // eslint-disable-next-line unicorn/prefer-dom-node-append\n          returnNode.appendChild(body.firstChild);\n        }\n      } else {\n        returnNode = body;\n      }\n      if (ALLOWED_ATTR.shadowroot || ALLOWED_ATTR.shadowrootmode) {\n        /*\n          AdoptNode() is not used because internal state is not reset\n          (e.g. the past names map of a HTMLFormElement), this is safe\n          in theory but we would rather not risk another attack vector.\n          The state that is cloned by importNode() is explicitly defined\n          by the specs.\n        */\n        returnNode = importNode.call(originalDocument, returnNode, true);\n      }\n      return returnNode;\n    }\n    let serializedHTML = WHOLE_DOCUMENT ? body.outerHTML : body.innerHTML;\n    /* Serialize doctype if allowed */\n    if (WHOLE_DOCUMENT && ALLOWED_TAGS['!doctype'] && body.ownerDocument && body.ownerDocument.doctype && body.ownerDocument.doctype.name && regExpTest(DOCTYPE_NAME, body.ownerDocument.doctype.name)) {\n      serializedHTML = '<!DOCTYPE ' + body.ownerDocument.doctype.name + '>\\n' + serializedHTML;\n    }\n    /* Sanitize final string template-safe */\n    if (SAFE_FOR_TEMPLATES) {\n      arrayForEach([MUSTACHE_EXPR, ERB_EXPR, TMPLIT_EXPR], expr => {\n        serializedHTML = stringReplace(serializedHTML, expr, ' ');\n      });\n    }\n    return trustedTypesPolicy && RETURN_TRUSTED_TYPE ? trustedTypesPolicy.createHTML(serializedHTML) : serializedHTML;\n  };\n  DOMPurify.setConfig = function () {\n    let cfg = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n    _parseConfig(cfg);\n    SET_CONFIG = true;\n  };\n  DOMPurify.clearConfig = function () {\n    CONFIG = null;\n    SET_CONFIG = false;\n  };\n  DOMPurify.isValidAttribute = function (tag, attr, value) {\n    /* Initialize shared config vars if necessary. */\n    if (!CONFIG) {\n      _parseConfig({});\n    }\n    const lcTag = transformCaseFunc(tag);\n    const lcName = transformCaseFunc(attr);\n    return _isValidAttribute(lcTag, lcName, value);\n  };\n  DOMPurify.addHook = function (entryPoint, hookFunction) {\n    if (typeof hookFunction !== 'function') {\n      return;\n    }\n    arrayPush(hooks[entryPoint], hookFunction);\n  };\n  DOMPurify.removeHook = function (entryPoint, hookFunction) {\n    if (hookFunction !== undefined) {\n      const index = arrayLastIndexOf(hooks[entryPoint], hookFunction);\n      return index === -1 ? undefined : arraySplice(hooks[entryPoint], index, 1)[0];\n    }\n    return arrayPop(hooks[entryPoint]);\n  };\n  DOMPurify.removeHooks = function (entryPoint) {\n    hooks[entryPoint] = [];\n  };\n  DOMPurify.removeAllHooks = function () {\n    hooks = _createHooksMap();\n  };\n  return DOMPurify;\n}\nvar purify = createDOMPurify();\n\nexport { purify as default };\n//# sourceMappingURL=purify.es.mjs.map\n","import {autoloadBlocks} from '@lipemat/js-boilerplate-gutenberg';\nimport Preview from './blocks/Preview';\nimport {getBlockSupports, TransformLegacy, transformLegacyWidget, translateBlockAttributes} from './helpers';\nimport ErrorBoundary from '../components/ErrorBoundary';\nimport NavigationIcon from './blocks/NavigationIcon';\n\n\n// @see content/plugins/advanced-sidebar-menu-pro/js/src/globals/config.ts\nexport type PassedGlobals = Partial<{\n\tErrorBoundary: typeof ErrorBoundary;\n\tNavigationIcon: typeof NavigationIcon;\n\tPreview: typeof Preview;\n\tgetBlockSupports: typeof getBlockSupports;\n\ttransformLegacyWidget: TransformLegacy;\n\ttranslateBlockAttributes: typeof translateBlockAttributes;\n}>;\n\n/**\n * Use our custom autoloader to automatically require,\n * register and add HMR support to the Gutenberg-related items.\n *\n * Will load from the specified directory recursively.\n */\nexport default () => {\n\t// Load all blocks\n\tautoloadBlocks( () => require.context( './blocks', true, /block\\.tsx$/ ), module );\n\n\n\t// Expose helpers and Preview component to the window, so we can use them in PRO.\n\tif ( '' === window.ADVANCED_SIDEBAR_MENU.isPro ) {\n\t\treturn;\n\t}\n\twindow.ADVANCED_SIDEBAR_MENU.ErrorBoundary = ErrorBoundary;\n\twindow.ADVANCED_SIDEBAR_MENU.NavigationIcon = NavigationIcon;\n\twindow.ADVANCED_SIDEBAR_MENU.Preview = Preview;\n\twindow.ADVANCED_SIDEBAR_MENU.getBlockSupports = getBlockSupports;\n\twindow.ADVANCED_SIDEBAR_MENU.transformLegacyWidget = transformLegacyWidget;\n\twindow.ADVANCED_SIDEBAR_MENU.translateBlockAttributes = translateBlockAttributes;\n}\n","'use strict';\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\nvar test = {};\n\ntest[TO_STRING_TAG] = 'z';\n\nmodule.exports = String(test) === '[object z]';\n","'use strict';\nvar defineBuiltIn = require('../internals/define-built-in');\n\nmodule.exports = function (target, src, options) {\n  for (var key in src) defineBuiltIn(target, key, src[key], options);\n  return target;\n};\n","'use strict';\nvar fails = require('../internals/fails');\n\n// Detect IE8's incomplete defineProperty implementation\nmodule.exports = !fails(function () {\n  // eslint-disable-next-line es/no-object-defineproperty -- required for testing\n  return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7;\n});\n","'use strict';\nvar aCallable = require('../internals/a-callable');\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\n\n// `GetMethod` abstract operation\n// https://tc39.es/ecma262/#sec-getmethod\nmodule.exports = function (V, P) {\n  var func = V[P];\n  return isNullOrUndefined(func) ? undefined : aCallable(func);\n};\n","module.exports = React;","'use strict';\nvar $String = String;\n\nmodule.exports = function (argument) {\n  try {\n    return $String(argument);\n  } catch (error) {\n    return 'Object';\n  }\n};\n","'use strict';\nvar iteratorClose = require('../internals/iterator-close');\n\nmodule.exports = function (iters, kind, value) {\n  for (var i = iters.length - 1; i >= 0; i--) {\n    if (iters[i] === undefined) continue;\n    try {\n      value = iteratorClose(iters[i].iterator, kind, value);\n    } catch (error) {\n      kind = 'throw';\n      value = error;\n    }\n  }\n  if (kind === 'throw') throw value;\n  return value;\n};\n","module.exports = jQuery;","'use strict';\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar Iterators = require('../internals/iterators');\n\nvar ITERATOR = wellKnownSymbol('iterator');\nvar ArrayPrototype = Array.prototype;\n\n// check on default Array iterator\nmodule.exports = function (it) {\n  return it !== undefined && (Iterators.Array === it || ArrayPrototype[ITERATOR] === it);\n};\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar hasOwn = require('../internals/has-own-property');\n\nvar FunctionPrototype = Function.prototype;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar getDescriptor = DESCRIPTORS && Object.getOwnPropertyDescriptor;\n\nvar EXISTS = hasOwn(FunctionPrototype, 'name');\n// additional protection from minified / mangled / dropped function names\nvar PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';\nvar CONFIGURABLE = EXISTS && (!DESCRIPTORS || (DESCRIPTORS && getDescriptor(FunctionPrototype, 'name').configurable));\n\nmodule.exports = {\n  EXISTS: EXISTS,\n  PROPER: PROPER,\n  CONFIGURABLE: CONFIGURABLE\n};\n","import {BlockControls, InspectorControls} from '@wordpress/block-editor';\nimport {PanelBody, SelectControl, Slot, TextControl} from '@wordpress/components';\nimport {BlockEditProps} from '@wordpress/blocks';\nimport {Attr, block} from './block';\nimport Preview from '../Preview';\nimport Display from '../Display';\nimport {useSelect} from '@wordpress/data';\nimport InfoPanel from '../InfoPanel';\nimport {CONFIG} from '../../../globals/config';\nimport {__} from '@wordpress/i18n';\nimport {Type} from '@wordpress/api/types';\nimport ErrorBoundary from '../../../components/ErrorBoundary';\nimport SideLoad from '../../SideLoad';\nimport {isScreen} from '../../helpers';\nimport ExcludeField from '../ExcludeField';\nimport DOMPurify from 'dompurify';\n\nimport styles from './edit.pcss';\n\n\nexport type FillProps =\n\tPick<BlockEditProps<Attr>, 'clientId' | 'attributes' | 'setAttributes' | 'name'>\n\t& { type?: Type }\n\ntype Props = BlockEditProps<Attr>;\n\n/**\n * Pages block content in the editor.\n */\nconst Edit = ( {attributes, setAttributes, clientId, name}: Props ) => {\n\tconst postType: Type<'edit'> | undefined = useSelect( select => {\n\t\tconst type = select( 'core' ).getPostType( attributes.post_type ?? 'page' );\n\t\treturn type ?? select( 'core' ).getPostType( 'page' );\n\t}, [ attributes.post_type ] );\n\n\t// We have a version conflict or license error.\n\tif ( '' !== CONFIG.error ) {\n\t\treturn ( <>\n\t\t\t<InspectorControls>\n\t\t\t\t<div\n\t\t\t\t\tclassName={styles.error}\n\t\t\t\t\tdangerouslySetInnerHTML={{__html: DOMPurify.sanitize( CONFIG.error )}} />\n\t\t\t</InspectorControls>\n\t\t\t<Preview<Attr> attributes={attributes} block={block.id} clientId={clientId} />\n\t\t</> );\n\t}\n\n\tconst fillProps: FillProps = {\n\t\ttype: postType,\n\t\tattributes,\n\t\tname,\n\t\tsetAttributes,\n\t\tclientId,\n\t};\n\n\n\treturn ( <>\n\t\t<InspectorControls>\n\t\t\t<div className={'components-panel__body is-opened'}>\n\t\t\t\t<a\n\t\t\t\t\thref={CONFIG.docs.page}\n\t\t\t\t\ttarget=\"_blank\"\n\t\t\t\t\trel=\"noopener noreferrer\"\n\t\t\t\t>\n\t\t\t\t\t{__( 'Documentation', 'advanced-sidebar-menu' )}\n\t\t\t\t</a>\n\t\t\t</div>\n\t\t</InspectorControls>\n\t\t<InspectorControls>\n\t\t\t{isScreen( [ 'widgets', 'site-editor', 'customize' ] ) && <PanelBody>\n\t\t\t\t<TextControl\n\t\t\t\t\tvalue={attributes.title ?? ''}\n\t\t\t\t\tlabel={__( 'Title', 'advanced-sidebar-menu' )}\n\t\t\t\t\tonChange={title => setAttributes( {title} )}\n\t\t\t\t\t// @ts-expect-error -- Not technically supported until WP 6.7\n\t\t\t\t\t__nextHasNoMarginBottom\n\t\t\t\t/>\n\t\t\t</PanelBody>}\n\t\t\t<ErrorBoundary attributes={attributes} block={name} section={'pages/Edit/general'}>\n\t\t\t\t<Display\n\t\t\t\t\tattributes={attributes}\n\t\t\t\t\tclientId={clientId}\n\t\t\t\t\tname={name}\n\t\t\t\t\tsetAttributes={setAttributes}\n\t\t\t\t\ttype={postType} />\n\n\t\t\t\t<div className={'components-panel__body is-opened'}>\n\t\t\t\t\t<Slot<FillProps>\n\t\t\t\t\t\tname=\"advanced-sidebar-menu/pages/general\"\n\t\t\t\t\t\tfillProps={fillProps} />\n\n\t\t\t\t\t<SelectControl\n\t\t\t\t\t\tlabel={__( 'Order by', 'advanced-sidebar-menu' )}\n\t\t\t\t\t\tvalue={attributes.order_by}\n\t\t\t\t\t\tlabelPosition={'side'}\n\t\t\t\t\t\toptions={Object.entries( CONFIG.pages.orderBy ).map( ( [ value, label ] ) => ( {\n\t\t\t\t\t\t\tvalue,\n\t\t\t\t\t\t\tlabel,\n\t\t\t\t\t\t} ) )}\n\t\t\t\t\t\tonChange={value => {\n\t\t\t\t\t\t\tsetAttributes( {\n\t\t\t\t\t\t\t\torder_by: value,\n\t\t\t\t\t\t\t} );\n\t\t\t\t\t\t}} />\n\n\t\t\t\t\t<ExcludeField\n\t\t\t\t\t\ttype={postType}\n\t\t\t\t\t\tattributes={attributes}\n\t\t\t\t\t\tsetAttributes={setAttributes} />\n\n\t\t\t\t\t<Slot<FillProps>\n\t\t\t\t\t\tname=\"advanced-sidebar-menu/pages/general-after\"\n\t\t\t\t\t\tfillProps={fillProps} />\n\t\t\t\t</div>\n\n\t\t\t</ErrorBoundary>\n\t\t\t<ErrorBoundary attributes={attributes} block={name} section={'pages/Edit/inspector'}>\n\t\t\t\t<Slot<FillProps>\n\t\t\t\t\tname=\"advanced-sidebar-menu/pages/inspector\"\n\t\t\t\t\tfillProps={fillProps} />\n\n\t\t\t</ErrorBoundary>\n\t\t</InspectorControls>\n\n\t\t<BlockControls>\n\t\t\t<ErrorBoundary\n\t\t\t\tattributes={attributes}\n\t\t\t\tblock={name}\n\t\t\t\tsection={'pages/Edit/block-controls'}\n\t\t\t>\n\t\t\t\t<Slot<FillProps>\n\t\t\t\t\tname=\"advanced-sidebar-menu/pages/block-controls\"\n\t\t\t\t\tfillProps={fillProps} />\n\t\t\t</ErrorBoundary>\n\t\t</BlockControls>\n\n\t\t<InfoPanel clientId={clientId} />\n\n\t\t<ErrorBoundary attributes={attributes} block={name} section={'pages/Edit/preview'}>\n\t\t\t<Preview<Attr> attributes={attributes} block={block.id} clientId={clientId} />\n\t\t</ErrorBoundary>\n\n\t\t<SideLoad clientId={clientId} />\n\t</> );\n};\n\nexport default Edit;\n","'use strict';\nvar bind = require('../internals/function-bind-context');\nvar call = require('../internals/function-call');\nvar anObject = require('../internals/an-object');\nvar tryToString = require('../internals/try-to-string');\nvar isArrayIteratorMethod = require('../internals/is-array-iterator-method');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar getIterator = require('../internals/get-iterator');\nvar getIteratorMethod = require('../internals/get-iterator-method');\nvar iteratorClose = require('../internals/iterator-close');\n\nvar $TypeError = TypeError;\n\nvar Result = function (stopped, result) {\n  this.stopped = stopped;\n  this.result = result;\n};\n\nvar ResultPrototype = Result.prototype;\n\nmodule.exports = function (iterable, unboundFunction, options) {\n  var that = options && options.that;\n  var AS_ENTRIES = !!(options && options.AS_ENTRIES);\n  var IS_RECORD = !!(options && options.IS_RECORD);\n  var IS_ITERATOR = !!(options && options.IS_ITERATOR);\n  var INTERRUPTED = !!(options && options.INTERRUPTED);\n  var fn = bind(unboundFunction, that);\n  var iterator, iterFn, index, length, result, next, step;\n\n  var stop = function (condition) {\n    if (iterator) iteratorClose(iterator, 'normal');\n    return new Result(true, condition);\n  };\n\n  var callFn = function (value) {\n    if (AS_ENTRIES) {\n      anObject(value);\n      return INTERRUPTED ? fn(value[0], value[1], stop) : fn(value[0], value[1]);\n    } return INTERRUPTED ? fn(value, stop) : fn(value);\n  };\n\n  if (IS_RECORD) {\n    iterator = iterable.iterator;\n  } else if (IS_ITERATOR) {\n    iterator = iterable;\n  } else {\n    iterFn = getIteratorMethod(iterable);\n    if (!iterFn) throw new $TypeError(tryToString(iterable) + ' is not iterable');\n    // optimisation for array iterators\n    if (isArrayIteratorMethod(iterFn)) {\n      for (index = 0, length = lengthOfArrayLike(iterable); length > index; index++) {\n        result = callFn(iterable[index]);\n        if (result && isPrototypeOf(ResultPrototype, result)) return result;\n      } return new Result(false);\n    }\n    iterator = getIterator(iterable, iterFn);\n  }\n\n  next = IS_RECORD ? iterable.next : iterator.next;\n  while (!(step = call(next, iterator)).done) {\n    try {\n      result = callFn(step.value);\n    } catch (error) {\n      iteratorClose(iterator, 'throw', error);\n    }\n    if (typeof result == 'object' && result && isPrototypeOf(ResultPrototype, result)) return result;\n  } return new Result(false);\n};\n","'use strict';\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\n\nvar $TypeError = TypeError;\n\n// `RequireObjectCoercible` abstract operation\n// https://tc39.es/ecma262/#sec-requireobjectcoercible\nmodule.exports = function (it) {\n  if (isNullOrUndefined(it)) throw new $TypeError(\"Can't call method on \" + it);\n  return it;\n};\n","'use strict';\nvar isCallable = require('../internals/is-callable');\nvar definePropertyModule = require('../internals/object-define-property');\nvar makeBuiltIn = require('../internals/make-built-in');\nvar defineGlobalProperty = require('../internals/define-global-property');\n\nmodule.exports = function (O, key, value, options) {\n  if (!options) options = {};\n  var simple = options.enumerable;\n  var name = options.name !== undefined ? options.name : key;\n  if (isCallable(value)) makeBuiltIn(value, name, options);\n  if (options.global) {\n    if (simple) O[key] = value;\n    else defineGlobalProperty(key, value);\n  } else {\n    try {\n      if (!options.unsafe) delete O[key];\n      else if (O[key]) simple = true;\n    } catch (error) { /* empty */ }\n    if (simple) O[key] = value;\n    else definePropertyModule.f(O, key, {\n      value: value,\n      enumerable: false,\n      configurable: !options.nonConfigurable,\n      writable: !options.nonWritable\n    });\n  } return O;\n};\n","/**\n * @license React\n * react-jsx-runtime.development.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nif (process.env.NODE_ENV !== \"production\") {\n  (function() {\n'use strict';\n\nvar React = require('react');\n\n// ATTENTION\n// When adding new symbols to this file,\n// Please consider also adding to 'react-devtools-shared/src/backend/ReactSymbols'\n// The Symbol used to tag the ReactElement-like types.\nvar REACT_ELEMENT_TYPE = Symbol.for('react.element');\nvar REACT_PORTAL_TYPE = Symbol.for('react.portal');\nvar REACT_FRAGMENT_TYPE = Symbol.for('react.fragment');\nvar REACT_STRICT_MODE_TYPE = Symbol.for('react.strict_mode');\nvar REACT_PROFILER_TYPE = Symbol.for('react.profiler');\nvar REACT_PROVIDER_TYPE = Symbol.for('react.provider');\nvar REACT_CONTEXT_TYPE = Symbol.for('react.context');\nvar REACT_FORWARD_REF_TYPE = Symbol.for('react.forward_ref');\nvar REACT_SUSPENSE_TYPE = Symbol.for('react.suspense');\nvar REACT_SUSPENSE_LIST_TYPE = Symbol.for('react.suspense_list');\nvar REACT_MEMO_TYPE = Symbol.for('react.memo');\nvar REACT_LAZY_TYPE = Symbol.for('react.lazy');\nvar REACT_OFFSCREEN_TYPE = Symbol.for('react.offscreen');\nvar MAYBE_ITERATOR_SYMBOL = Symbol.iterator;\nvar FAUX_ITERATOR_SYMBOL = '@@iterator';\nfunction getIteratorFn(maybeIterable) {\n  if (maybeIterable === null || typeof maybeIterable !== 'object') {\n    return null;\n  }\n\n  var maybeIterator = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL];\n\n  if (typeof maybeIterator === 'function') {\n    return maybeIterator;\n  }\n\n  return null;\n}\n\nvar ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;\n\nfunction error(format) {\n  {\n    {\n      for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {\n        args[_key2 - 1] = arguments[_key2];\n      }\n\n      printWarning('error', format, args);\n    }\n  }\n}\n\nfunction printWarning(level, format, args) {\n  // When changing this logic, you might want to also\n  // update consoleWithStackDev.www.js as well.\n  {\n    var ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;\n    var stack = ReactDebugCurrentFrame.getStackAddendum();\n\n    if (stack !== '') {\n      format += '%s';\n      args = args.concat([stack]);\n    } // eslint-disable-next-line react-internal/safe-string-coercion\n\n\n    var argsWithFormat = args.map(function (item) {\n      return String(item);\n    }); // Careful: RN currently depends on this prefix\n\n    argsWithFormat.unshift('Warning: ' + format); // We intentionally don't use spread (or .apply) directly because it\n    // breaks IE9: https://github.com/facebook/react/issues/13610\n    // eslint-disable-next-line react-internal/no-production-logging\n\n    Function.prototype.apply.call(console[level], console, argsWithFormat);\n  }\n}\n\n// -----------------------------------------------------------------------------\n\nvar enableScopeAPI = false; // Experimental Create Event Handle API.\nvar enableCacheElement = false;\nvar enableTransitionTracing = false; // No known bugs, but needs performance testing\n\nvar enableLegacyHidden = false; // Enables unstable_avoidThisFallback feature in Fiber\n// stuff. Intended to enable React core members to more easily debug scheduling\n// issues in DEV builds.\n\nvar enableDebugTracing = false; // Track which Fiber(s) schedule render work.\n\nvar REACT_MODULE_REFERENCE;\n\n{\n  REACT_MODULE_REFERENCE = Symbol.for('react.module.reference');\n}\n\nfunction isValidElementType(type) {\n  if (typeof type === 'string' || typeof type === 'function') {\n    return true;\n  } // Note: typeof might be other than 'symbol' or 'number' (e.g. if it's a polyfill).\n\n\n  if (type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || enableDebugTracing  || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || enableLegacyHidden  || type === REACT_OFFSCREEN_TYPE || enableScopeAPI  || enableCacheElement  || enableTransitionTracing ) {\n    return true;\n  }\n\n  if (typeof type === 'object' && type !== null) {\n    if (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || // This needs to include all possible module reference object\n    // types supported by any Flight configuration anywhere since\n    // we don't know which Flight build this will end up being used\n    // with.\n    type.$$typeof === REACT_MODULE_REFERENCE || type.getModuleId !== undefined) {\n      return true;\n    }\n  }\n\n  return false;\n}\n\nfunction getWrappedName(outerType, innerType, wrapperName) {\n  var displayName = outerType.displayName;\n\n  if (displayName) {\n    return displayName;\n  }\n\n  var functionName = innerType.displayName || innerType.name || '';\n  return functionName !== '' ? wrapperName + \"(\" + functionName + \")\" : wrapperName;\n} // Keep in sync with react-reconciler/getComponentNameFromFiber\n\n\nfunction getContextName(type) {\n  return type.displayName || 'Context';\n} // Note that the reconciler package should generally prefer to use getComponentNameFromFiber() instead.\n\n\nfunction getComponentNameFromType(type) {\n  if (type == null) {\n    // Host root, text node or just invalid type.\n    return null;\n  }\n\n  {\n    if (typeof type.tag === 'number') {\n      error('Received an unexpected object in getComponentNameFromType(). ' + 'This is likely a bug in React. Please file an issue.');\n    }\n  }\n\n  if (typeof type === 'function') {\n    return type.displayName || type.name || null;\n  }\n\n  if (typeof type === 'string') {\n    return type;\n  }\n\n  switch (type) {\n    case REACT_FRAGMENT_TYPE:\n      return 'Fragment';\n\n    case REACT_PORTAL_TYPE:\n      return 'Portal';\n\n    case REACT_PROFILER_TYPE:\n      return 'Profiler';\n\n    case REACT_STRICT_MODE_TYPE:\n      return 'StrictMode';\n\n    case REACT_SUSPENSE_TYPE:\n      return 'Suspense';\n\n    case REACT_SUSPENSE_LIST_TYPE:\n      return 'SuspenseList';\n\n  }\n\n  if (typeof type === 'object') {\n    switch (type.$$typeof) {\n      case REACT_CONTEXT_TYPE:\n        var context = type;\n        return getContextName(context) + '.Consumer';\n\n      case REACT_PROVIDER_TYPE:\n        var provider = type;\n        return getContextName(provider._context) + '.Provider';\n\n      case REACT_FORWARD_REF_TYPE:\n        return getWrappedName(type, type.render, 'ForwardRef');\n\n      case REACT_MEMO_TYPE:\n        var outerName = type.displayName || null;\n\n        if (outerName !== null) {\n          return outerName;\n        }\n\n        return getComponentNameFromType(type.type) || 'Memo';\n\n      case REACT_LAZY_TYPE:\n        {\n          var lazyComponent = type;\n          var payload = lazyComponent._payload;\n          var init = lazyComponent._init;\n\n          try {\n            return getComponentNameFromType(init(payload));\n          } catch (x) {\n            return null;\n          }\n        }\n\n      // eslint-disable-next-line no-fallthrough\n    }\n  }\n\n  return null;\n}\n\nvar assign = Object.assign;\n\n// Helpers to patch console.logs to avoid logging during side-effect free\n// replaying on render function. This currently only patches the object\n// lazily which won't cover if the log function was extracted eagerly.\n// We could also eagerly patch the method.\nvar disabledDepth = 0;\nvar prevLog;\nvar prevInfo;\nvar prevWarn;\nvar prevError;\nvar prevGroup;\nvar prevGroupCollapsed;\nvar prevGroupEnd;\n\nfunction disabledLog() {}\n\ndisabledLog.__reactDisabledLog = true;\nfunction disableLogs() {\n  {\n    if (disabledDepth === 0) {\n      /* eslint-disable react-internal/no-production-logging */\n      prevLog = console.log;\n      prevInfo = console.info;\n      prevWarn = console.warn;\n      prevError = console.error;\n      prevGroup = console.group;\n      prevGroupCollapsed = console.groupCollapsed;\n      prevGroupEnd = console.groupEnd; // https://github.com/facebook/react/issues/19099\n\n      var props = {\n        configurable: true,\n        enumerable: true,\n        value: disabledLog,\n        writable: true\n      }; // $FlowFixMe Flow thinks console is immutable.\n\n      Object.defineProperties(console, {\n        info: props,\n        log: props,\n        warn: props,\n        error: props,\n        group: props,\n        groupCollapsed: props,\n        groupEnd: props\n      });\n      /* eslint-enable react-internal/no-production-logging */\n    }\n\n    disabledDepth++;\n  }\n}\nfunction reenableLogs() {\n  {\n    disabledDepth--;\n\n    if (disabledDepth === 0) {\n      /* eslint-disable react-internal/no-production-logging */\n      var props = {\n        configurable: true,\n        enumerable: true,\n        writable: true\n      }; // $FlowFixMe Flow thinks console is immutable.\n\n      Object.defineProperties(console, {\n        log: assign({}, props, {\n          value: prevLog\n        }),\n        info: assign({}, props, {\n          value: prevInfo\n        }),\n        warn: assign({}, props, {\n          value: prevWarn\n        }),\n        error: assign({}, props, {\n          value: prevError\n        }),\n        group: assign({}, props, {\n          value: prevGroup\n        }),\n        groupCollapsed: assign({}, props, {\n          value: prevGroupCollapsed\n        }),\n        groupEnd: assign({}, props, {\n          value: prevGroupEnd\n        })\n      });\n      /* eslint-enable react-internal/no-production-logging */\n    }\n\n    if (disabledDepth < 0) {\n      error('disabledDepth fell below zero. ' + 'This is a bug in React. Please file an issue.');\n    }\n  }\n}\n\nvar ReactCurrentDispatcher = ReactSharedInternals.ReactCurrentDispatcher;\nvar prefix;\nfunction describeBuiltInComponentFrame(name, source, ownerFn) {\n  {\n    if (prefix === undefined) {\n      // Extract the VM specific prefix used by each line.\n      try {\n        throw Error();\n      } catch (x) {\n        var match = x.stack.trim().match(/\\n( *(at )?)/);\n        prefix = match && match[1] || '';\n      }\n    } // We use the prefix to ensure our stacks line up with native stack frames.\n\n\n    return '\\n' + prefix + name;\n  }\n}\nvar reentry = false;\nvar componentFrameCache;\n\n{\n  var PossiblyWeakMap = typeof WeakMap === 'function' ? WeakMap : Map;\n  componentFrameCache = new PossiblyWeakMap();\n}\n\nfunction describeNativeComponentFrame(fn, construct) {\n  // If something asked for a stack inside a fake render, it should get ignored.\n  if ( !fn || reentry) {\n    return '';\n  }\n\n  {\n    var frame = componentFrameCache.get(fn);\n\n    if (frame !== undefined) {\n      return frame;\n    }\n  }\n\n  var control;\n  reentry = true;\n  var previousPrepareStackTrace = Error.prepareStackTrace; // $FlowFixMe It does accept undefined.\n\n  Error.prepareStackTrace = undefined;\n  var previousDispatcher;\n\n  {\n    previousDispatcher = ReactCurrentDispatcher.current; // Set the dispatcher in DEV because this might be call in the render function\n    // for warnings.\n\n    ReactCurrentDispatcher.current = null;\n    disableLogs();\n  }\n\n  try {\n    // This should throw.\n    if (construct) {\n      // Something should be setting the props in the constructor.\n      var Fake = function () {\n        throw Error();\n      }; // $FlowFixMe\n\n\n      Object.defineProperty(Fake.prototype, 'props', {\n        set: function () {\n          // We use a throwing setter instead of frozen or non-writable props\n          // because that won't throw in a non-strict mode function.\n          throw Error();\n        }\n      });\n\n      if (typeof Reflect === 'object' && Reflect.construct) {\n        // We construct a different control for this case to include any extra\n        // frames added by the construct call.\n        try {\n          Reflect.construct(Fake, []);\n        } catch (x) {\n          control = x;\n        }\n\n        Reflect.construct(fn, [], Fake);\n      } else {\n        try {\n          Fake.call();\n        } catch (x) {\n          control = x;\n        }\n\n        fn.call(Fake.prototype);\n      }\n    } else {\n      try {\n        throw Error();\n      } catch (x) {\n        control = x;\n      }\n\n      fn();\n    }\n  } catch (sample) {\n    // This is inlined manually because closure doesn't do it for us.\n    if (sample && control && typeof sample.stack === 'string') {\n      // This extracts the first frame from the sample that isn't also in the control.\n      // Skipping one frame that we assume is the frame that calls the two.\n      var sampleLines = sample.stack.split('\\n');\n      var controlLines = control.stack.split('\\n');\n      var s = sampleLines.length - 1;\n      var c = controlLines.length - 1;\n\n      while (s >= 1 && c >= 0 && sampleLines[s] !== controlLines[c]) {\n        // We expect at least one stack frame to be shared.\n        // Typically this will be the root most one. However, stack frames may be\n        // cut off due to maximum stack limits. In this case, one maybe cut off\n        // earlier than the other. We assume that the sample is longer or the same\n        // and there for cut off earlier. So we should find the root most frame in\n        // the sample somewhere in the control.\n        c--;\n      }\n\n      for (; s >= 1 && c >= 0; s--, c--) {\n        // Next we find the first one that isn't the same which should be the\n        // frame that called our sample function and the control.\n        if (sampleLines[s] !== controlLines[c]) {\n          // In V8, the first line is describing the message but other VMs don't.\n          // If we're about to return the first line, and the control is also on the same\n          // line, that's a pretty good indicator that our sample threw at same line as\n          // the control. I.e. before we entered the sample frame. So we ignore this result.\n          // This can happen if you passed a class to function component, or non-function.\n          if (s !== 1 || c !== 1) {\n            do {\n              s--;\n              c--; // We may still have similar intermediate frames from the construct call.\n              // The next one that isn't the same should be our match though.\n\n              if (c < 0 || sampleLines[s] !== controlLines[c]) {\n                // V8 adds a \"new\" prefix for native classes. Let's remove it to make it prettier.\n                var _frame = '\\n' + sampleLines[s].replace(' at new ', ' at '); // If our component frame is labeled \"<anonymous>\"\n                // but we have a user-provided \"displayName\"\n                // splice it in to make the stack more readable.\n\n\n                if (fn.displayName && _frame.includes('<anonymous>')) {\n                  _frame = _frame.replace('<anonymous>', fn.displayName);\n                }\n\n                {\n                  if (typeof fn === 'function') {\n                    componentFrameCache.set(fn, _frame);\n                  }\n                } // Return the line we found.\n\n\n                return _frame;\n              }\n            } while (s >= 1 && c >= 0);\n          }\n\n          break;\n        }\n      }\n    }\n  } finally {\n    reentry = false;\n\n    {\n      ReactCurrentDispatcher.current = previousDispatcher;\n      reenableLogs();\n    }\n\n    Error.prepareStackTrace = previousPrepareStackTrace;\n  } // Fallback to just using the name if we couldn't make it throw.\n\n\n  var name = fn ? fn.displayName || fn.name : '';\n  var syntheticFrame = name ? describeBuiltInComponentFrame(name) : '';\n\n  {\n    if (typeof fn === 'function') {\n      componentFrameCache.set(fn, syntheticFrame);\n    }\n  }\n\n  return syntheticFrame;\n}\nfunction describeFunctionComponentFrame(fn, source, ownerFn) {\n  {\n    return describeNativeComponentFrame(fn, false);\n  }\n}\n\nfunction shouldConstruct(Component) {\n  var prototype = Component.prototype;\n  return !!(prototype && prototype.isReactComponent);\n}\n\nfunction describeUnknownElementTypeFrameInDEV(type, source, ownerFn) {\n\n  if (type == null) {\n    return '';\n  }\n\n  if (typeof type === 'function') {\n    {\n      return describeNativeComponentFrame(type, shouldConstruct(type));\n    }\n  }\n\n  if (typeof type === 'string') {\n    return describeBuiltInComponentFrame(type);\n  }\n\n  switch (type) {\n    case REACT_SUSPENSE_TYPE:\n      return describeBuiltInComponentFrame('Suspense');\n\n    case REACT_SUSPENSE_LIST_TYPE:\n      return describeBuiltInComponentFrame('SuspenseList');\n  }\n\n  if (typeof type === 'object') {\n    switch (type.$$typeof) {\n      case REACT_FORWARD_REF_TYPE:\n        return describeFunctionComponentFrame(type.render);\n\n      case REACT_MEMO_TYPE:\n        // Memo may contain any component type so we recursively resolve it.\n        return describeUnknownElementTypeFrameInDEV(type.type, source, ownerFn);\n\n      case REACT_LAZY_TYPE:\n        {\n          var lazyComponent = type;\n          var payload = lazyComponent._payload;\n          var init = lazyComponent._init;\n\n          try {\n            // Lazy may contain any component type so we recursively resolve it.\n            return describeUnknownElementTypeFrameInDEV(init(payload), source, ownerFn);\n          } catch (x) {}\n        }\n    }\n  }\n\n  return '';\n}\n\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\n\nvar loggedTypeFailures = {};\nvar ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;\n\nfunction setCurrentlyValidatingElement(element) {\n  {\n    if (element) {\n      var owner = element._owner;\n      var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);\n      ReactDebugCurrentFrame.setExtraStackFrame(stack);\n    } else {\n      ReactDebugCurrentFrame.setExtraStackFrame(null);\n    }\n  }\n}\n\nfunction checkPropTypes(typeSpecs, values, location, componentName, element) {\n  {\n    // $FlowFixMe This is okay but Flow doesn't know it.\n    var has = Function.call.bind(hasOwnProperty);\n\n    for (var typeSpecName in typeSpecs) {\n      if (has(typeSpecs, typeSpecName)) {\n        var error$1 = void 0; // Prop type validation may throw. In case they do, we don't want to\n        // fail the render phase where it didn't fail before. So we log it.\n        // After these have been cleaned up, we'll let them throw.\n\n        try {\n          // This is intentionally an invariant that gets caught. It's the same\n          // behavior as without this statement except with a better message.\n          if (typeof typeSpecs[typeSpecName] !== 'function') {\n            // eslint-disable-next-line react-internal/prod-error-codes\n            var err = Error((componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' + 'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.' + 'This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.');\n            err.name = 'Invariant Violation';\n            throw err;\n          }\n\n          error$1 = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED');\n        } catch (ex) {\n          error$1 = ex;\n        }\n\n        if (error$1 && !(error$1 instanceof Error)) {\n          setCurrentlyValidatingElement(element);\n\n          error('%s: type specification of %s' + ' `%s` is invalid; the type checker ' + 'function must return `null` or an `Error` but returned a %s. ' + 'You may have forgotten to pass an argument to the type checker ' + 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' + 'shape all require an argument).', componentName || 'React class', location, typeSpecName, typeof error$1);\n\n          setCurrentlyValidatingElement(null);\n        }\n\n        if (error$1 instanceof Error && !(error$1.message in loggedTypeFailures)) {\n          // Only monitor this failure once because there tends to be a lot of the\n          // same error.\n          loggedTypeFailures[error$1.message] = true;\n          setCurrentlyValidatingElement(element);\n\n          error('Failed %s type: %s', location, error$1.message);\n\n          setCurrentlyValidatingElement(null);\n        }\n      }\n    }\n  }\n}\n\nvar isArrayImpl = Array.isArray; // eslint-disable-next-line no-redeclare\n\nfunction isArray(a) {\n  return isArrayImpl(a);\n}\n\n/*\n * The `'' + value` pattern (used in in perf-sensitive code) throws for Symbol\n * and Temporal.* types. See https://github.com/facebook/react/pull/22064.\n *\n * The functions in this module will throw an easier-to-understand,\n * easier-to-debug exception with a clear errors message message explaining the\n * problem. (Instead of a confusing exception thrown inside the implementation\n * of the `value` object).\n */\n// $FlowFixMe only called in DEV, so void return is not possible.\nfunction typeName(value) {\n  {\n    // toStringTag is needed for namespaced types like Temporal.Instant\n    var hasToStringTag = typeof Symbol === 'function' && Symbol.toStringTag;\n    var type = hasToStringTag && value[Symbol.toStringTag] || value.constructor.name || 'Object';\n    return type;\n  }\n} // $FlowFixMe only called in DEV, so void return is not possible.\n\n\nfunction willCoercionThrow(value) {\n  {\n    try {\n      testStringCoercion(value);\n      return false;\n    } catch (e) {\n      return true;\n    }\n  }\n}\n\nfunction testStringCoercion(value) {\n  // If you ended up here by following an exception call stack, here's what's\n  // happened: you supplied an object or symbol value to React (as a prop, key,\n  // DOM attribute, CSS property, string ref, etc.) and when React tried to\n  // coerce it to a string using `'' + value`, an exception was thrown.\n  //\n  // The most common types that will cause this exception are `Symbol` instances\n  // and Temporal objects like `Temporal.Instant`. But any object that has a\n  // `valueOf` or `[Symbol.toPrimitive]` method that throws will also cause this\n  // exception. (Library authors do this to prevent users from using built-in\n  // numeric operators like `+` or comparison operators like `>=` because custom\n  // methods are needed to perform accurate arithmetic or comparison.)\n  //\n  // To fix the problem, coerce this object or symbol value to a string before\n  // passing it to React. The most reliable way is usually `String(value)`.\n  //\n  // To find which value is throwing, check the browser or debugger console.\n  // Before this exception was thrown, there should be `console.error` output\n  // that shows the type (Symbol, Temporal.PlainDate, etc.) that caused the\n  // problem and how that type was used: key, atrribute, input value prop, etc.\n  // In most cases, this console output also shows the component and its\n  // ancestor components where the exception happened.\n  //\n  // eslint-disable-next-line react-internal/safe-string-coercion\n  return '' + value;\n}\nfunction checkKeyStringCoercion(value) {\n  {\n    if (willCoercionThrow(value)) {\n      error('The provided key is an unsupported type %s.' + ' This value must be coerced to a string before before using it here.', typeName(value));\n\n      return testStringCoercion(value); // throw (to help callers find troubleshooting comments)\n    }\n  }\n}\n\nvar ReactCurrentOwner = ReactSharedInternals.ReactCurrentOwner;\nvar RESERVED_PROPS = {\n  key: true,\n  ref: true,\n  __self: true,\n  __source: true\n};\nvar specialPropKeyWarningShown;\nvar specialPropRefWarningShown;\nvar didWarnAboutStringRefs;\n\n{\n  didWarnAboutStringRefs = {};\n}\n\nfunction hasValidRef(config) {\n  {\n    if (hasOwnProperty.call(config, 'ref')) {\n      var getter = Object.getOwnPropertyDescriptor(config, 'ref').get;\n\n      if (getter && getter.isReactWarning) {\n        return false;\n      }\n    }\n  }\n\n  return config.ref !== undefined;\n}\n\nfunction hasValidKey(config) {\n  {\n    if (hasOwnProperty.call(config, 'key')) {\n      var getter = Object.getOwnPropertyDescriptor(config, 'key').get;\n\n      if (getter && getter.isReactWarning) {\n        return false;\n      }\n    }\n  }\n\n  return config.key !== undefined;\n}\n\nfunction warnIfStringRefCannotBeAutoConverted(config, self) {\n  {\n    if (typeof config.ref === 'string' && ReactCurrentOwner.current && self && ReactCurrentOwner.current.stateNode !== self) {\n      var componentName = getComponentNameFromType(ReactCurrentOwner.current.type);\n\n      if (!didWarnAboutStringRefs[componentName]) {\n        error('Component \"%s\" contains the string ref \"%s\". ' + 'Support for string refs will be removed in a future major release. ' + 'This case cannot be automatically converted to an arrow function. ' + 'We ask you to manually fix this case by using useRef() or createRef() instead. ' + 'Learn more about using refs safely here: ' + 'https://reactjs.org/link/strict-mode-string-ref', getComponentNameFromType(ReactCurrentOwner.current.type), config.ref);\n\n        didWarnAboutStringRefs[componentName] = true;\n      }\n    }\n  }\n}\n\nfunction defineKeyPropWarningGetter(props, displayName) {\n  {\n    var warnAboutAccessingKey = function () {\n      if (!specialPropKeyWarningShown) {\n        specialPropKeyWarningShown = true;\n\n        error('%s: `key` is not a prop. Trying to access it will result ' + 'in `undefined` being returned. If you need to access the same ' + 'value within the child component, you should pass it as a different ' + 'prop. (https://reactjs.org/link/special-props)', displayName);\n      }\n    };\n\n    warnAboutAccessingKey.isReactWarning = true;\n    Object.defineProperty(props, 'key', {\n      get: warnAboutAccessingKey,\n      configurable: true\n    });\n  }\n}\n\nfunction defineRefPropWarningGetter(props, displayName) {\n  {\n    var warnAboutAccessingRef = function () {\n      if (!specialPropRefWarningShown) {\n        specialPropRefWarningShown = true;\n\n        error('%s: `ref` is not a prop. Trying to access it will result ' + 'in `undefined` being returned. If you need to access the same ' + 'value within the child component, you should pass it as a different ' + 'prop. (https://reactjs.org/link/special-props)', displayName);\n      }\n    };\n\n    warnAboutAccessingRef.isReactWarning = true;\n    Object.defineProperty(props, 'ref', {\n      get: warnAboutAccessingRef,\n      configurable: true\n    });\n  }\n}\n/**\n * Factory method to create a new React element. This no longer adheres to\n * the class pattern, so do not use new to call it. Also, instanceof check\n * will not work. Instead test $$typeof field against Symbol.for('react.element') to check\n * if something is a React Element.\n *\n * @param {*} type\n * @param {*} props\n * @param {*} key\n * @param {string|object} ref\n * @param {*} owner\n * @param {*} self A *temporary* helper to detect places where `this` is\n * different from the `owner` when React.createElement is called, so that we\n * can warn. We want to get rid of owner and replace string `ref`s with arrow\n * functions, and as long as `this` and owner are the same, there will be no\n * change in behavior.\n * @param {*} source An annotation object (added by a transpiler or otherwise)\n * indicating filename, line number, and/or other information.\n * @internal\n */\n\n\nvar ReactElement = function (type, key, ref, self, source, owner, props) {\n  var element = {\n    // This tag allows us to uniquely identify this as a React Element\n    $$typeof: REACT_ELEMENT_TYPE,\n    // Built-in properties that belong on the element\n    type: type,\n    key: key,\n    ref: ref,\n    props: props,\n    // Record the component responsible for creating this element.\n    _owner: owner\n  };\n\n  {\n    // The validation flag is currently mutative. We put it on\n    // an external backing store so that we can freeze the whole object.\n    // This can be replaced with a WeakMap once they are implemented in\n    // commonly used development environments.\n    element._store = {}; // To make comparing ReactElements easier for testing purposes, we make\n    // the validation flag non-enumerable (where possible, which should\n    // include every environment we run tests in), so the test framework\n    // ignores it.\n\n    Object.defineProperty(element._store, 'validated', {\n      configurable: false,\n      enumerable: false,\n      writable: true,\n      value: false\n    }); // self and source are DEV only properties.\n\n    Object.defineProperty(element, '_self', {\n      configurable: false,\n      enumerable: false,\n      writable: false,\n      value: self\n    }); // Two elements created in two different places should be considered\n    // equal for testing purposes and therefore we hide it from enumeration.\n\n    Object.defineProperty(element, '_source', {\n      configurable: false,\n      enumerable: false,\n      writable: false,\n      value: source\n    });\n\n    if (Object.freeze) {\n      Object.freeze(element.props);\n      Object.freeze(element);\n    }\n  }\n\n  return element;\n};\n/**\n * https://github.com/reactjs/rfcs/pull/107\n * @param {*} type\n * @param {object} props\n * @param {string} key\n */\n\nfunction jsxDEV(type, config, maybeKey, source, self) {\n  {\n    var propName; // Reserved names are extracted\n\n    var props = {};\n    var key = null;\n    var ref = null; // Currently, key can be spread in as a prop. This causes a potential\n    // issue if key is also explicitly declared (ie. <div {...props} key=\"Hi\" />\n    // or <div key=\"Hi\" {...props} /> ). We want to deprecate key spread,\n    // but as an intermediary step, we will use jsxDEV for everything except\n    // <div {...props} key=\"Hi\" />, because we aren't currently able to tell if\n    // key is explicitly declared to be undefined or not.\n\n    if (maybeKey !== undefined) {\n      {\n        checkKeyStringCoercion(maybeKey);\n      }\n\n      key = '' + maybeKey;\n    }\n\n    if (hasValidKey(config)) {\n      {\n        checkKeyStringCoercion(config.key);\n      }\n\n      key = '' + config.key;\n    }\n\n    if (hasValidRef(config)) {\n      ref = config.ref;\n      warnIfStringRefCannotBeAutoConverted(config, self);\n    } // Remaining properties are added to a new props object\n\n\n    for (propName in config) {\n      if (hasOwnProperty.call(config, propName) && !RESERVED_PROPS.hasOwnProperty(propName)) {\n        props[propName] = config[propName];\n      }\n    } // Resolve default props\n\n\n    if (type && type.defaultProps) {\n      var defaultProps = type.defaultProps;\n\n      for (propName in defaultProps) {\n        if (props[propName] === undefined) {\n          props[propName] = defaultProps[propName];\n        }\n      }\n    }\n\n    if (key || ref) {\n      var displayName = typeof type === 'function' ? type.displayName || type.name || 'Unknown' : type;\n\n      if (key) {\n        defineKeyPropWarningGetter(props, displayName);\n      }\n\n      if (ref) {\n        defineRefPropWarningGetter(props, displayName);\n      }\n    }\n\n    return ReactElement(type, key, ref, self, source, ReactCurrentOwner.current, props);\n  }\n}\n\nvar ReactCurrentOwner$1 = ReactSharedInternals.ReactCurrentOwner;\nvar ReactDebugCurrentFrame$1 = ReactSharedInternals.ReactDebugCurrentFrame;\n\nfunction setCurrentlyValidatingElement$1(element) {\n  {\n    if (element) {\n      var owner = element._owner;\n      var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);\n      ReactDebugCurrentFrame$1.setExtraStackFrame(stack);\n    } else {\n      ReactDebugCurrentFrame$1.setExtraStackFrame(null);\n    }\n  }\n}\n\nvar propTypesMisspellWarningShown;\n\n{\n  propTypesMisspellWarningShown = false;\n}\n/**\n * Verifies the object is a ReactElement.\n * See https://reactjs.org/docs/react-api.html#isvalidelement\n * @param {?object} object\n * @return {boolean} True if `object` is a ReactElement.\n * @final\n */\n\n\nfunction isValidElement(object) {\n  {\n    return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;\n  }\n}\n\nfunction getDeclarationErrorAddendum() {\n  {\n    if (ReactCurrentOwner$1.current) {\n      var name = getComponentNameFromType(ReactCurrentOwner$1.current.type);\n\n      if (name) {\n        return '\\n\\nCheck the render method of `' + name + '`.';\n      }\n    }\n\n    return '';\n  }\n}\n\nfunction getSourceInfoErrorAddendum(source) {\n  {\n    if (source !== undefined) {\n      var fileName = source.fileName.replace(/^.*[\\\\\\/]/, '');\n      var lineNumber = source.lineNumber;\n      return '\\n\\nCheck your code at ' + fileName + ':' + lineNumber + '.';\n    }\n\n    return '';\n  }\n}\n/**\n * Warn if there's no key explicitly set on dynamic arrays of children or\n * object keys are not valid. This allows us to keep track of children between\n * updates.\n */\n\n\nvar ownerHasKeyUseWarning = {};\n\nfunction getCurrentComponentErrorInfo(parentType) {\n  {\n    var info = getDeclarationErrorAddendum();\n\n    if (!info) {\n      var parentName = typeof parentType === 'string' ? parentType : parentType.displayName || parentType.name;\n\n      if (parentName) {\n        info = \"\\n\\nCheck the top-level render call using <\" + parentName + \">.\";\n      }\n    }\n\n    return info;\n  }\n}\n/**\n * Warn if the element doesn't have an explicit key assigned to it.\n * This element is in an array. The array could grow and shrink or be\n * reordered. All children that haven't already been validated are required to\n * have a \"key\" property assigned to it. Error statuses are cached so a warning\n * will only be shown once.\n *\n * @internal\n * @param {ReactElement} element Element that requires a key.\n * @param {*} parentType element's parent's type.\n */\n\n\nfunction validateExplicitKey(element, parentType) {\n  {\n    if (!element._store || element._store.validated || element.key != null) {\n      return;\n    }\n\n    element._store.validated = true;\n    var currentComponentErrorInfo = getCurrentComponentErrorInfo(parentType);\n\n    if (ownerHasKeyUseWarning[currentComponentErrorInfo]) {\n      return;\n    }\n\n    ownerHasKeyUseWarning[currentComponentErrorInfo] = true; // Usually the current owner is the offender, but if it accepts children as a\n    // property, it may be the creator of the child that's responsible for\n    // assigning it a key.\n\n    var childOwner = '';\n\n    if (element && element._owner && element._owner !== ReactCurrentOwner$1.current) {\n      // Give the component that originally created this child.\n      childOwner = \" It was passed a child from \" + getComponentNameFromType(element._owner.type) + \".\";\n    }\n\n    setCurrentlyValidatingElement$1(element);\n\n    error('Each child in a list should have a unique \"key\" prop.' + '%s%s See https://reactjs.org/link/warning-keys for more information.', currentComponentErrorInfo, childOwner);\n\n    setCurrentlyValidatingElement$1(null);\n  }\n}\n/**\n * Ensure that every element either is passed in a static location, in an\n * array with an explicit keys property defined, or in an object literal\n * with valid key property.\n *\n * @internal\n * @param {ReactNode} node Statically passed child of any type.\n * @param {*} parentType node's parent's type.\n */\n\n\nfunction validateChildKeys(node, parentType) {\n  {\n    if (typeof node !== 'object') {\n      return;\n    }\n\n    if (isArray(node)) {\n      for (var i = 0; i < node.length; i++) {\n        var child = node[i];\n\n        if (isValidElement(child)) {\n          validateExplicitKey(child, parentType);\n        }\n      }\n    } else if (isValidElement(node)) {\n      // This element was passed in a valid location.\n      if (node._store) {\n        node._store.validated = true;\n      }\n    } else if (node) {\n      var iteratorFn = getIteratorFn(node);\n\n      if (typeof iteratorFn === 'function') {\n        // Entry iterators used to provide implicit keys,\n        // but now we print a separate warning for them later.\n        if (iteratorFn !== node.entries) {\n          var iterator = iteratorFn.call(node);\n          var step;\n\n          while (!(step = iterator.next()).done) {\n            if (isValidElement(step.value)) {\n              validateExplicitKey(step.value, parentType);\n            }\n          }\n        }\n      }\n    }\n  }\n}\n/**\n * Given an element, validate that its props follow the propTypes definition,\n * provided by the type.\n *\n * @param {ReactElement} element\n */\n\n\nfunction validatePropTypes(element) {\n  {\n    var type = element.type;\n\n    if (type === null || type === undefined || typeof type === 'string') {\n      return;\n    }\n\n    var propTypes;\n\n    if (typeof type === 'function') {\n      propTypes = type.propTypes;\n    } else if (typeof type === 'object' && (type.$$typeof === REACT_FORWARD_REF_TYPE || // Note: Memo only checks outer props here.\n    // Inner props are checked in the reconciler.\n    type.$$typeof === REACT_MEMO_TYPE)) {\n      propTypes = type.propTypes;\n    } else {\n      return;\n    }\n\n    if (propTypes) {\n      // Intentionally inside to avoid triggering lazy initializers:\n      var name = getComponentNameFromType(type);\n      checkPropTypes(propTypes, element.props, 'prop', name, element);\n    } else if (type.PropTypes !== undefined && !propTypesMisspellWarningShown) {\n      propTypesMisspellWarningShown = true; // Intentionally inside to avoid triggering lazy initializers:\n\n      var _name = getComponentNameFromType(type);\n\n      error('Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?', _name || 'Unknown');\n    }\n\n    if (typeof type.getDefaultProps === 'function' && !type.getDefaultProps.isReactClassApproved) {\n      error('getDefaultProps is only used on classic React.createClass ' + 'definitions. Use a static property named `defaultProps` instead.');\n    }\n  }\n}\n/**\n * Given a fragment, validate that it can only be provided with fragment props\n * @param {ReactElement} fragment\n */\n\n\nfunction validateFragmentProps(fragment) {\n  {\n    var keys = Object.keys(fragment.props);\n\n    for (var i = 0; i < keys.length; i++) {\n      var key = keys[i];\n\n      if (key !== 'children' && key !== 'key') {\n        setCurrentlyValidatingElement$1(fragment);\n\n        error('Invalid prop `%s` supplied to `React.Fragment`. ' + 'React.Fragment can only have `key` and `children` props.', key);\n\n        setCurrentlyValidatingElement$1(null);\n        break;\n      }\n    }\n\n    if (fragment.ref !== null) {\n      setCurrentlyValidatingElement$1(fragment);\n\n      error('Invalid attribute `ref` supplied to `React.Fragment`.');\n\n      setCurrentlyValidatingElement$1(null);\n    }\n  }\n}\n\nfunction jsxWithValidation(type, props, key, isStaticChildren, source, self) {\n  {\n    var validType = isValidElementType(type); // We warn in this case but don't throw. We expect the element creation to\n    // succeed and there will likely be errors in render.\n\n    if (!validType) {\n      var info = '';\n\n      if (type === undefined || typeof type === 'object' && type !== null && Object.keys(type).length === 0) {\n        info += ' You likely forgot to export your component from the file ' + \"it's defined in, or you might have mixed up default and named imports.\";\n      }\n\n      var sourceInfo = getSourceInfoErrorAddendum(source);\n\n      if (sourceInfo) {\n        info += sourceInfo;\n      } else {\n        info += getDeclarationErrorAddendum();\n      }\n\n      var typeString;\n\n      if (type === null) {\n        typeString = 'null';\n      } else if (isArray(type)) {\n        typeString = 'array';\n      } else if (type !== undefined && type.$$typeof === REACT_ELEMENT_TYPE) {\n        typeString = \"<\" + (getComponentNameFromType(type.type) || 'Unknown') + \" />\";\n        info = ' Did you accidentally export a JSX literal instead of a component?';\n      } else {\n        typeString = typeof type;\n      }\n\n      error('React.jsx: type is invalid -- expected a string (for ' + 'built-in components) or a class/function (for composite ' + 'components) but got: %s.%s', typeString, info);\n    }\n\n    var element = jsxDEV(type, props, key, source, self); // The result can be nullish if a mock or a custom function is used.\n    // TODO: Drop this when these are no longer allowed as the type argument.\n\n    if (element == null) {\n      return element;\n    } // Skip key warning if the type isn't valid since our key validation logic\n    // doesn't expect a non-string/function type and can throw confusing errors.\n    // We don't want exception behavior to differ between dev and prod.\n    // (Rendering will throw with a helpful message and as soon as the type is\n    // fixed, the key warnings will appear.)\n\n\n    if (validType) {\n      var children = props.children;\n\n      if (children !== undefined) {\n        if (isStaticChildren) {\n          if (isArray(children)) {\n            for (var i = 0; i < children.length; i++) {\n              validateChildKeys(children[i], type);\n            }\n\n            if (Object.freeze) {\n              Object.freeze(children);\n            }\n          } else {\n            error('React.jsx: Static children should always be an array. ' + 'You are likely explicitly calling React.jsxs or React.jsxDEV. ' + 'Use the Babel transform instead.');\n          }\n        } else {\n          validateChildKeys(children, type);\n        }\n      }\n    }\n\n    if (type === REACT_FRAGMENT_TYPE) {\n      validateFragmentProps(element);\n    } else {\n      validatePropTypes(element);\n    }\n\n    return element;\n  }\n} // These two functions exist to still get child warnings in dev\n// even with the prod transform. This means that jsxDEV is purely\n// opt-in behavior for better messages but that we won't stop\n// giving you warnings if you use production apis.\n\nfunction jsxWithValidationStatic(type, props, key) {\n  {\n    return jsxWithValidation(type, props, key, true);\n  }\n}\nfunction jsxWithValidationDynamic(type, props, key) {\n  {\n    return jsxWithValidation(type, props, key, false);\n  }\n}\n\nvar jsx =  jsxWithValidationDynamic ; // we may want to special case jsxs internally to take advantage of static children.\n// for now we can ship identical prod functions\n\nvar jsxs =  jsxWithValidationStatic ;\n\nexports.Fragment = REACT_FRAGMENT_TYPE;\nexports.jsx = jsx;\nexports.jsxs = jsxs;\n  })();\n}\n","'use strict';\nvar globalThis = require('../internals/global-this');\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar defineGlobalProperty = require('../internals/define-global-property');\nvar copyConstructorProperties = require('../internals/copy-constructor-properties');\nvar isForced = require('../internals/is-forced');\n\n/*\n  options.target         - name of the target object\n  options.global         - target is the global object\n  options.stat           - export as static methods of target\n  options.proto          - export as prototype methods of target\n  options.real           - real prototype method for the `pure` version\n  options.forced         - export even if the native feature is available\n  options.bind           - bind methods to the target, required for the `pure` version\n  options.wrap           - wrap constructors to preventing global pollution, required for the `pure` version\n  options.unsafe         - use the simple assignment of property instead of delete + defineProperty\n  options.sham           - add a flag to not completely full polyfills\n  options.enumerable     - export as enumerable property\n  options.dontCallGetSet - prevent calling a getter on target\n  options.name           - the .name of the function if it does not match the key\n*/\nmodule.exports = function (options, source) {\n  var TARGET = options.target;\n  var GLOBAL = options.global;\n  var STATIC = options.stat;\n  var FORCED, target, key, targetProperty, sourceProperty, descriptor;\n  if (GLOBAL) {\n    target = globalThis;\n  } else if (STATIC) {\n    target = globalThis[TARGET] || defineGlobalProperty(TARGET, {});\n  } else {\n    target = globalThis[TARGET] && globalThis[TARGET].prototype;\n  }\n  if (target) for (key in source) {\n    sourceProperty = source[key];\n    if (options.dontCallGetSet) {\n      descriptor = getOwnPropertyDescriptor(target, key);\n      targetProperty = descriptor && descriptor.value;\n    } else targetProperty = target[key];\n    FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);\n    // contained in target\n    if (!FORCED && targetProperty !== undefined) {\n      if (typeof sourceProperty == typeof targetProperty) continue;\n      copyConstructorProperties(sourceProperty, targetProperty);\n    }\n    // add a flag to not completely full polyfills\n    if (options.sham || (targetProperty && targetProperty.sham)) {\n      createNonEnumerableProperty(sourceProperty, 'sham', true);\n    }\n    defineBuiltIn(target, key, sourceProperty, options);\n  }\n};\n","module.exports = window.wp?.blocks;","'use strict';\nvar toPrimitive = require('../internals/to-primitive');\nvar isSymbol = require('../internals/is-symbol');\n\n// `ToPropertyKey` abstract operation\n// https://tc39.es/ecma262/#sec-topropertykey\nmodule.exports = function (argument) {\n  var key = toPrimitive(argument, 'string');\n  return isSymbol(key) ? key : key + '';\n};\n","'use strict';\nmodule.exports = function (exec) {\n  try {\n    return !!exec();\n  } catch (error) {\n    return true;\n  }\n};\n","'use strict';\nvar globalThis = require('../internals/global-this');\nvar shared = require('../internals/shared');\nvar hasOwn = require('../internals/has-own-property');\nvar uid = require('../internals/uid');\nvar NATIVE_SYMBOL = require('../internals/symbol-constructor-detection');\nvar USE_SYMBOL_AS_UID = require('../internals/use-symbol-as-uid');\n\nvar Symbol = globalThis.Symbol;\nvar WellKnownSymbolsStore = shared('wks');\nvar createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol['for'] || Symbol : Symbol && Symbol.withoutSetter || uid;\n\nmodule.exports = function (name) {\n  if (!hasOwn(WellKnownSymbolsStore, name)) {\n    WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn(Symbol, name)\n      ? Symbol[name]\n      : createWellKnownSymbol('Symbol.' + name);\n  } return WellKnownSymbolsStore[name];\n};\n","'use strict';\n// toObject with fallback for non-array-like ES3 strings\nvar IndexedObject = require('../internals/indexed-object');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\nmodule.exports = function (it) {\n  return IndexedObject(requireObjectCoercible(it));\n};\n","const CategoriesIcon = <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\">\n\t<rect x=\"0\" fill=\"none\" width=\"20\" height=\"20\" />\n\t<g>\n\t\t<path\n\t\t\tfill=\"#044567\"\n\t\t\td=\"M19 17V2c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v15c0 .55.45 1 1 1h15c.55 0 1-.45 1-1z M4 3h13v4H4V3z M5 4h3v2H5V4zm4 0h3v2H9V4zm4 0h3v2H13V4z M4.5 9 c .28 0 .5 .22 .5 .5s-.22.5-.5.5s-.5-.22-.5-.5s.22-.5 .5-.5z M6 9h4v1H6v-1z M4.5 12 c .28 0 .5 .22 .5 .5s-.22.5-.5.5s-.5-.22-.5-.5s.22-.5 .5-.5z M6 12h4v1H6v-1z M4.5 15 c .28 0 .5 .22 .5 .5s-.22.5-.5.5s-.5-.22-.5-.5s.22-.5 .5-.5z M6 15h4v1H6v-1z M12 10 H15.5 L17 12.5 L15.5 15 H12 V10 Z M13 12.5 m -0.6 0 a 0.6 0.6 0 1 0 1.2 0 a 0.6 0.6 0 1 0 -1.2 0\" />\n\t</g>\n</svg>;\n\nexport default CategoriesIcon;\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar hasOwn = require('../internals/has-own-property');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar indexOf = require('../internals/array-includes').indexOf;\nvar hiddenKeys = require('../internals/hidden-keys');\n\nvar push = uncurryThis([].push);\n\nmodule.exports = function (object, names) {\n  var O = toIndexedObject(object);\n  var i = 0;\n  var result = [];\n  var key;\n  for (key in O) !hasOwn(hiddenKeys, key) && hasOwn(O, key) && push(result, key);\n  // Don't enum bug & hidden keys\n  while (names.length > i) if (hasOwn(O, key = names[i++])) {\n    ~indexOf(result, key) || push(result, key);\n  }\n  return result;\n};\n","'use strict';\nvar isObject = require('../internals/is-object');\n\nvar $String = String;\nvar $TypeError = TypeError;\n\n// `Assert: Type(argument) is Object`\nmodule.exports = function (argument) {\n  if (isObject(argument)) return argument;\n  throw new $TypeError($String(argument) + ' is not an object');\n};\n","'use strict';\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\nvar $Object = Object;\n\n// `ToObject` abstract operation\n// https://tc39.es/ecma262/#sec-toobject\nmodule.exports = function (argument) {\n  return $Object(requireObjectCoercible(argument));\n};\n","'use strict';\nvar globalThis = require('../internals/global-this');\nvar isCallable = require('../internals/is-callable');\n\nvar WeakMap = globalThis.WeakMap;\n\nmodule.exports = isCallable(WeakMap) && /native code/.test(String(WeakMap));\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar toObject = require('../internals/to-object');\n\nvar hasOwnProperty = uncurryThis({}.hasOwnProperty);\n\n// `HasOwnProperty` abstract operation\n// https://tc39.es/ecma262/#sec-hasownproperty\n// eslint-disable-next-line es/no-object-hasown -- safe\nmodule.exports = Object.hasOwn || function hasOwn(it, key) {\n  return hasOwnProperty(toObject(it), key);\n};\n","'use strict';\nmodule.exports = function (bitmap, value) {\n  return {\n    enumerable: !(bitmap & 1),\n    configurable: !(bitmap & 2),\n    writable: !(bitmap & 4),\n    value: value\n  };\n};\n","'use strict';\n// IE8- don't enum bug keys\nmodule.exports = [\n  'constructor',\n  'hasOwnProperty',\n  'isPrototypeOf',\n  'propertyIsEnumerable',\n  'toLocaleString',\n  'toString',\n  'valueOf'\n];\n","// extracted by mini-css-extract-plugin\nexport default {\"wrap\":\"preview__wrap__BD\",\"placeholder\":\"preview__placeholder__HI\",\"error\":\"preview__error__Nl\",\"spin-wrap\":\"preview__spin-wrap__o0\",\"spinWrap\":\"preview__spin-wrap__o0\",\"spin\":\"preview__spin__Oj\",\"spin-content\":\"preview__spin-content__uC\",\"spinContent\":\"preview__spin-content__uC\"};","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this-clause');\nvar aCallable = require('../internals/a-callable');\nvar NATIVE_BIND = require('../internals/function-bind-native');\n\nvar bind = uncurryThis(uncurryThis.bind);\n\n// optional / simple context binding\nmodule.exports = function (fn, that) {\n  aCallable(fn);\n  return that === undefined ? fn : NATIVE_BIND ? bind(fn, that) : function (/* ...args */) {\n    return fn.apply(that, arguments);\n  };\n};\n","import {useSelect} from '@wordpress/data';\nimport {CONFIG} from '../../../globals/config';\nimport DOMPurify from 'dompurify';\nimport {BlockControls, InspectorControls} from '@wordpress/block-editor';\nimport Preview from '../Preview';\nimport {Attr, block} from './block';\nimport {Taxonomy} from '@wordpress/api/taxonomies';\nimport {BlockEditProps} from '@wordpress/blocks';\nimport ErrorBoundary from '../../../components/ErrorBoundary';\nimport Display from '../Display';\nimport {CheckboxControl, PanelBody, SelectControl, Slot, TextControl} from '@wordpress/components';\nimport {__, sprintf} from '@wordpress/i18n';\nimport InfoPanel from '../InfoPanel';\nimport SideLoad from '../../SideLoad';\nimport {isScreen} from '../../helpers';\nimport ExcludeField from '../ExcludeField';\n\nimport styles from '../pages/edit.pcss';\n\n\nexport type FillProps =\n\tPick<BlockEditProps<Attr>, 'clientId' | 'attributes' | 'setAttributes' | 'name'>\n\t& { type?: Taxonomy }\n\ntype Props = BlockEditProps<Attr>;\n\nconst Edit = ( {attributes, setAttributes, clientId, name}: Props ) => {\n\tconst taxonomy: Taxonomy<'edit'> | undefined = useSelect( select => {\n\t\tconst type = select( 'core' ).getTaxonomy( attributes.taxonomy ?? 'category' );\n\t\treturn type ?? select( 'core' ).getTaxonomy( 'category' );\n\t}, [ attributes.taxonomy ] );\n\n\t// We have a version conflict or license error.\n\tif ( '' !== CONFIG.error ) {\n\t\treturn ( <>\n\t\t\t<InspectorControls>\n\t\t\t\t<div\n\t\t\t\t\tclassName={styles.error}\n\t\t\t\t\tdangerouslySetInnerHTML={{__html: DOMPurify.sanitize( CONFIG.error )}} />\n\t\t\t</InspectorControls>\n\t\t\t<Preview<Attr> attributes={attributes} block={block.id} clientId={clientId} />\n\t\t</> );\n\t}\n\n\tconst fillProps: FillProps = {\n\t\ttype: taxonomy,\n\t\tattributes,\n\t\tname,\n\t\tsetAttributes,\n\t\tclientId,\n\t};\n\n\treturn ( <>\n\t\t<InspectorControls>\n\t\t\t<div className={'components-panel__body is-opened'}>\n\t\t\t\t<a\n\t\t\t\t\thref={CONFIG.docs.category}\n\t\t\t\t\ttarget=\"_blank\"\n\t\t\t\t\trel=\"noopener noreferrer\"\n\t\t\t\t>\n\t\t\t\t\t{__( 'Documentation', 'advanced-sidebar-menu' )}\n\t\t\t\t</a>\n\t\t\t</div>\n\t\t</InspectorControls>\n\t\t<InspectorControls>\n\t\t\t{isScreen( [ 'widgets', 'site-editor', 'customize' ] ) && <PanelBody>\n\t\t\t\t<TextControl\n\t\t\t\t\tvalue={attributes.title ?? ''}\n\t\t\t\t\tlabel={__( 'Title', 'advanced-sidebar-menu' )}\n\t\t\t\t\tonChange={title => setAttributes( {title} )}\n\t\t\t\t\t// @ts-expect-error -- Not technically supported until WP 6.7\n\t\t\t\t\t__nextHasNoMarginBottom\n\t\t\t\t/>\n\t\t\t</PanelBody>}\n\t\t\t<ErrorBoundary attributes={attributes} block={name} section={'categories/Edit/general'}>\n\t\t\t\t<Display\n\t\t\t\t\tattributes={attributes}\n\t\t\t\t\tclientId={clientId}\n\t\t\t\t\tname={name}\n\t\t\t\t\tsetAttributes={setAttributes}\n\t\t\t\t\ttype={taxonomy}\n\t\t\t\t>\n\t\t\t\t\t{/* Not offering \"Display categories on single posts\"\n\t\t                when editing a post because this must be true, or\n\t\t                the block won't display.\n\n\t\t                We default the attribute to `true` if we are editing\n\t\t                a post during register of block attributes. */}\n\t\t\t\t\t{isScreen( [ 'post' ] ) && <CheckboxControl\n\t\t\t\t\t\t/* translators: %s: Selected taxonomy plural label */\n\t\t\t\t\t\tlabel={sprintf( __( 'Display %s on single posts', 'advanced-sidebar-menu' ), taxonomy?.labels?.name.toLowerCase() ?? '' )}\n\t\t\t\t\t\tchecked={attributes.single}\n\t\t\t\t\t\tonChange={value => {\n\t\t\t\t\t\t\tsetAttributes( {\n\t\t\t\t\t\t\t\tsingle: value,\n\t\t\t\t\t\t\t} );\n\t\t\t\t\t\t}}\n\t\t\t\t\t\t// @ts-expect-error -- Not technically available until WP 6.7.\n\t\t\t\t\t\t__nextHasNoMarginBottom\n\t\t\t\t\t/>}\n\t\t\t\t\t{/*\n\t\t\t\t\t\t  Only widget screens support this option because we\n\t\t\t\t\t\t  have no widget wrap to use on other screens, so they are\n\t\t\t\t\t\t  list only. */}\n\t\t\t\t\t{isScreen( [ 'widgets', 'customize' ] ) && attributes.single &&\n\t\t\t\t\t\t<SelectControl<'list' | 'widget'>\n\t\t\t\t\t\t\t/* translators: %s: Selected taxonomy single label */\n\t\t\t\t\t\t\tlabel={sprintf( __( 'Display each single post\\'s %s', 'advanced-sidebar-menu' ), taxonomy?.labels?.name.toLowerCase() ?? '' )}\n\t\t\t\t\t\t\tvalue={attributes.new_widget}\n\t\t\t\t\t\t\toptions={Object.keys( CONFIG.categories.displayEach ).map( ( key: 'list' | 'widget' ) => ( {\n\t\t\t\t\t\t\t\tvalue: key,\n\t\t\t\t\t\t\t\tlabel: CONFIG.categories.displayEach[ key ],\n\t\t\t\t\t\t\t} ) )}\n\t\t\t\t\t\t\t/* eslint-disable-next-line camelcase */\n\t\t\t\t\t\t\tonChange={new_widget => setAttributes( {new_widget} )}\n\t\t\t\t\t\t/>}\n\t\t\t\t</Display>\n\n\t\t\t\t<div className={'components-panel__body is-opened'}>\n\n\t\t\t\t\t<Slot<FillProps>\n\t\t\t\t\t\tname=\"advanced-sidebar-menu/categories/general\"\n\t\t\t\t\t\tfillProps={fillProps} />\n\n\t\t\t\t\t<ExcludeField\n\t\t\t\t\t\ttype={taxonomy}\n\t\t\t\t\t\tattributes={attributes}\n\t\t\t\t\t\tsetAttributes={setAttributes} />\n\n\t\t\t\t</div>\n\t\t\t</ErrorBoundary>\n\t\t\t<ErrorBoundary\n\t\t\t\tattributes={attributes}\n\t\t\t\tblock={name}\n\t\t\t\tsection={'categories/Edit/inspector'}\n\t\t\t>\n\t\t\t\t<Slot<FillProps>\n\t\t\t\t\tname=\"advanced-sidebar-menu/categories/inspector\"\n\t\t\t\t\tfillProps={fillProps} />\n\n\t\t\t</ErrorBoundary>\n\t\t</InspectorControls>\n\n\t\t<BlockControls>\n\t\t\t<ErrorBoundary\n\t\t\t\tattributes={attributes}\n\t\t\t\tblock={name}\n\t\t\t\tsection={'categories/Edit/block-controls'}\n\t\t\t>\n\t\t\t\t<Slot<FillProps>\n\t\t\t\t\tname=\"advanced-sidebar-menu/categories/block-controls\"\n\t\t\t\t\tfillProps={fillProps} />\n\t\t\t</ErrorBoundary>\n\t\t</BlockControls>\n\n\n\t\t<InfoPanel clientId={clientId} />\n\n\t\t<ErrorBoundary attributes={attributes} block={name} section={'categories/Edit/preview'}>\n\t\t\t<Preview<Attr> attributes={attributes} block={block.id} clientId={clientId} />\n\t\t</ErrorBoundary>\n\n\t\t<SideLoad clientId={clientId} />\n\n\t</> );\n};\n\nexport default Edit;\n","'use strict';\nvar call = require('../internals/function-call');\nvar isCallable = require('../internals/is-callable');\nvar isObject = require('../internals/is-object');\n\nvar $TypeError = TypeError;\n\n// `OrdinaryToPrimitive` abstract operation\n// https://tc39.es/ecma262/#sec-ordinarytoprimitive\nmodule.exports = function (input, pref) {\n  var fn, val;\n  if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;\n  if (isCallable(fn = input.valueOf) && !isObject(val = call(fn, input))) return val;\n  if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;\n  throw new $TypeError(\"Can't convert object to primitive value\");\n};\n","'use strict';\nvar isCallable = require('../internals/is-callable');\n\nmodule.exports = function (it) {\n  return typeof it == 'object' ? it !== null : isCallable(it);\n};\n","import {withFilters} from '@wordpress/components';\nimport {select} from '@wordpress/data';\nimport {isEmpty} from 'lodash';\n\ntype Props = {\n\tclientId: string;\n};\n\nlet firstClientId = '';\n/**\n * The customizer area does not include a `PluginArea` component,\n * so our slot fills do not load.\n *\n * We can use filters, but the Fills double up each time\n * another block is added to the page.\n *\n * Track the clientId of the first block we add the Fill to\n * and only return the Fill for that block. The rest of the blocks\n * inherit the Fill from the first block via their Slots.\n */\nconst SideLoad = ( {clientId, children} ) => {\n\tif ( ! isEmpty( firstClientId ) && clientId !== firstClientId ) {\n\t\t// Make sure block still exists.\n\t\tif ( -1 !== select( 'core/block-editor' ).getBlockIndex( firstClientId ) ) {\n\t\t\treturn null;\n\t\t}\n\t}\n\tfirstClientId = clientId;\n\treturn children ?? null;\n};\n\nexport default withFilters<Props>( 'advanced-sidebar-menu.blocks.side-load' )( SideLoad );\n","import {Component, ErrorInfo, PropsWithChildren} from 'react';\nimport {CONFIG} from '../globals/config';\nimport {addQueryArgs} from '@wordpress/url';\nimport DOMPurify from 'dompurify';\n\nconst {sanitize} = DOMPurify;\n\ntype Props = {\n\tattributes: object,\n\tblock: string;\n\tsection: string;\n}\n\n/**\n * Wrap any component in me, which may throw errors, and I will\n * prevent the entire UI from disappearing.\n *\n * Custom version special to Advanced Sidebar Menu with links to\n * support as well as debugging information.\n *\n * @link https://reactjs.org/docs/error-boundaries.html#introducing-error-boundaries\n */\nclass ErrorBoundary extends Component<PropsWithChildren<Props>, {\n\thasError: boolean,\n\terror: Error | null\n}> {\n\tconstructor( props: Props ) {\n\t\tsuper( props );\n\t\tthis.state = {\n\t\t\thasError: false,\n\t\t\terror: null,\n\t\t};\n\t}\n\n\tstatic getDerivedStateFromError() {\n\t\t// Update state, so the next render will show the fallback UI.\n\t\treturn {\n\t\t\thasError: true,\n\t\t};\n\t}\n\n\t/**\n\t * Log information about the error when it happens.\n\t *\n\t * @notice Will log \"Error: A cross-origin error was thrown. React doesn't have\n\t *         access to the actual error object in development\" in React development\n\t *         mode but provides full error info in React production.\n\t */\n\tcomponentDidCatch( error: Error, info: ErrorInfo ) {\n\t\tconsole.warn( '%cError caught by the Advanced Sidebar ErrorBoundary!', 'color:orange; font-size: large; font-weight: bold' );\n\t\tconsole.warn( this.props );\n\t\tconsole.warn( error );\n\t\tconsole.warn( info );\n\t\tthis.setState( {\n\t\t\terror,\n\t\t} );\n\t}\n\n\trender() {\n\t\tif ( this.state.hasError ) {\n\t\t\tif ( ! CONFIG.siteInfo.scriptDebug ) {\n\t\t\t\treturn ( <div className={'components-panel__body is-opened'}>\n\t\t\t\t\t<h4 style={{color: 'red'}}>\n\t\t\t\t\t\tSomething went wrong!\n\t\t\t\t\t</h4>\n\t\t\t\t\t<p>\n\t\t\t\t\t\t<button\n\t\t\t\t\t\t\tclassName={'components-button is-link'}\n\t\t\t\t\t\t\tonClick={e => {\n\t\t\t\t\t\t\t\te.preventDefault();\n\t\t\t\t\t\t\t\tconst location = addQueryArgs( sanitize( window.location.href ), {\n\t\t\t\t\t\t\t\t\t'script-debug': 'true',\n\t\t\t\t\t\t\t\t} );\n\t\t\t\t\t\t\t\twindow.open( sanitize( location ), '_blank', 'noopener,noreferrer' );\n\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\tPlease enable script debug\n\t\t\t\t\t\t</button>\n\t\t\t\t\t\tto retrieve error information.\n\t\t\t\t\t</p>\n\t\t\t\t</div> );\n\t\t\t}\n\t\t\treturn (\n\t\t\t\t<div className={'components-panel__body is-opened'}>\n\t\t\t\t\t<h4 style={{color: 'red'}}>\n\t\t\t\t\t\tSomething went wrong!\n\t\t\t\t\t</h4>\n\t\t\t\t\t<p>\n\t\t\t\t\t\t<button\n\t\t\t\t\t\t\tclassName={'components-button is-link'}\n\t\t\t\t\t\t\tonClick={e => {\n\t\t\t\t\t\t\t\te.preventDefault();\n\t\t\t\t\t\t\t\twindow.open( sanitize( CONFIG.support ), '_blank', 'noopener,noreferrer' );\n\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\tPlease create a support request\n\t\t\t\t\t\t</button>\n\t\t\t\t\t\t&nbsp;with the following information:\n\t\t\t\t\t</p>\n\t\t\t\t\t<ol>\n\t\t\t\t\t\t<li>\n\t\t\t\t\t\t\t<button\n\t\t\t\t\t\t\t\tclassName={'components-button is-link'}\n\t\t\t\t\t\t\t\tonClick={e => {\n\t\t\t\t\t\t\t\t\te.preventDefault();\n\t\t\t\t\t\t\t\t\twindow.open( 'https://onpointplugins.com/how-to-retrieve-console-logs-from-your-browser/', '_blank', 'noopener,noreferrer' );\n\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\tThe logs from your browser console.\n\t\t\t\t\t\t\t</button>\n\t\t\t\t\t\t</li>\n\t\t\t\t\t\t<li>\n\t\t\t\t\t\t\tThe following information.\n\t\t\t\t\t\t</li>\n\t\t\t\t\t</ol>\n\n\t\t\t\t\t<div\n\t\t\t\t\t\tstyle={{\n\t\t\t\t\t\t\tborder: '2px groove',\n\t\t\t\t\t\t\tpadding: '10px',\n\t\t\t\t\t\t\twidth: '100%',\n\t\t\t\t\t\t\toverflowWrap: 'break-word',\n\t\t\t\t\t\t}}\n\t\t\t\t\t>\n\t\t\t\t\t\t<p>\n\t\t\t\t\t\t\t<strong><em>Section</em></strong> <br />\n\t\t\t\t\t\t\t<code>\n\t\t\t\t\t\t\t\t{this.props.section}\n\t\t\t\t\t\t\t</code>\n\t\t\t\t\t\t</p>\n\t\t\t\t\t\t<p>\n\t\t\t\t\t\t\t<strong><em>Screen</em></strong> <br />\n\t\t\t\t\t\t\t<code>\n\t\t\t\t\t\t\t\t{CONFIG.currentScreen}\n\t\t\t\t\t\t\t</code>\n\t\t\t\t\t\t</p>\n\t\t\t\t\t\t<p>\n\t\t\t\t\t\t\t<strong><em>Message</em></strong> <br />\n\t\t\t\t\t\t\t<code>\n\t\t\t\t\t\t\t\t{this.state.error?.message}\n\t\t\t\t\t\t\t</code>\n\t\t\t\t\t\t</p>\n\t\t\t\t\t\t<p>\n\t\t\t\t\t\t\t<strong><em>Block</em></strong> <br />\n\t\t\t\t\t\t\t<code>\n\t\t\t\t\t\t\t\t{this.props.block}\n\t\t\t\t\t\t\t</code>\n\t\t\t\t\t\t</p>\n\t\t\t\t\t\t<p>\n\t\t\t\t\t\t\t<strong><em>Attributes</em></strong> <br />\n\t\t\t\t\t\t\t<code>\n\t\t\t\t\t\t\t\t{JSON.stringify( this.props.attributes )}\n\t\t\t\t\t\t\t</code>\n\t\t\t\t\t\t</p>\n\t\t\t\t\t\t<p>\n\t\t\t\t\t\t\t<strong><em>Site Info</em></strong> <br />\n\t\t\t\t\t\t\t<code>\n\t\t\t\t\t\t\t\t{JSON.stringify( CONFIG.siteInfo )}\n\t\t\t\t\t\t\t</code>\n\t\t\t\t\t\t</p>\n\t\t\t\t\t\t<p>\n\t\t\t\t\t\t\t<strong><em>Stack</em></strong> <br />\n\t\t\t\t\t\t\t<code>\n\t\t\t\t\t\t\t\t{this.state.error?.stack}\n\t\t\t\t\t\t\t</code>\n\t\t\t\t\t\t</p>\n\t\t\t\t\t</div>\n\t\t\t\t\t<p>\n\t\t\t\t\t\t&nbsp;\n\t\t\t\t\t</p>\n\t\t\t\t\t<p>\n\t\t\t\t\t\t&nbsp;\n\t\t\t\t\t</p>\n\t\t\t\t</div>\n\t\t\t);\n\t\t}\n\n\t\treturn this.props.children;\n\t}\n}\n\nexport default ErrorBoundary;\n","module.exports = window.wp?.hooks;","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar isCallable = require('../internals/is-callable');\nvar store = require('../internals/shared-store');\n\nvar functionToString = uncurryThis(Function.toString);\n\n// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper\nif (!isCallable(store.inspectSource)) {\n  store.inspectSource = function (it) {\n    return functionToString(it);\n  };\n}\n\nmodule.exports = store.inspectSource;\n","module.exports = window.wp?.serverSideRender;","'use strict';\n\nvar m = require('react-dom');\nif (process.env.NODE_ENV === 'production') {\n  exports.createRoot = m.createRoot;\n  exports.hydrateRoot = m.hydrateRoot;\n} else {\n  var i = m.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;\n  exports.createRoot = function(c, o) {\n    i.usingClientEntryPoint = true;\n    try {\n      return m.createRoot(c, o);\n    } finally {\n      i.usingClientEntryPoint = false;\n    }\n  };\n  exports.hydrateRoot = function(c, h, o) {\n    i.usingClientEntryPoint = true;\n    try {\n      return m.hydrateRoot(c, h, o);\n    } finally {\n      i.usingClientEntryPoint = false;\n    }\n  };\n}\n","'use strict';\nvar hasOwn = require('../internals/has-own-property');\nvar isCallable = require('../internals/is-callable');\nvar toObject = require('../internals/to-object');\nvar sharedKey = require('../internals/shared-key');\nvar CORRECT_PROTOTYPE_GETTER = require('../internals/correct-prototype-getter');\n\nvar IE_PROTO = sharedKey('IE_PROTO');\nvar $Object = Object;\nvar ObjectPrototype = $Object.prototype;\n\n// `Object.getPrototypeOf` method\n// https://tc39.es/ecma262/#sec-object.getprototypeof\n// eslint-disable-next-line es/no-object-getprototypeof -- safe\nmodule.exports = CORRECT_PROTOTYPE_GETTER ? $Object.getPrototypeOf : function (O) {\n  var object = toObject(O);\n  if (hasOwn(object, IE_PROTO)) return object[IE_PROTO];\n  var constructor = object.constructor;\n  if (isCallable(constructor) && object instanceof constructor) {\n    return constructor.prototype;\n  } return object instanceof $Object ? ObjectPrototype : null;\n};\n","'use strict';\nvar call = require('../internals/function-call');\nvar isObject = require('../internals/is-object');\nvar isSymbol = require('../internals/is-symbol');\nvar getMethod = require('../internals/get-method');\nvar ordinaryToPrimitive = require('../internals/ordinary-to-primitive');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar $TypeError = TypeError;\nvar TO_PRIMITIVE = wellKnownSymbol('toPrimitive');\n\n// `ToPrimitive` abstract operation\n// https://tc39.es/ecma262/#sec-toprimitive\nmodule.exports = function (input, pref) {\n  if (!isObject(input) || isSymbol(input)) return input;\n  var exoticToPrim = getMethod(input, TO_PRIMITIVE);\n  var result;\n  if (exoticToPrim) {\n    if (pref === undefined) pref = 'default';\n    result = call(exoticToPrim, input, pref);\n    if (!isObject(result) || isSymbol(result)) return result;\n    throw new $TypeError(\"Can't convert object to primitive value\");\n  }\n  if (pref === undefined) pref = 'number';\n  return ordinaryToPrimitive(input, pref);\n};\n","'use strict';\nmodule.exports = {};\n","'use strict';\nvar $ = require('../internals/export');\nvar call = require('../internals/function-call');\nvar iterate = require('../internals/iterate');\nvar aCallable = require('../internals/a-callable');\nvar anObject = require('../internals/an-object');\nvar getIteratorDirect = require('../internals/get-iterator-direct');\nvar iteratorClose = require('../internals/iterator-close');\nvar iteratorHelperWithoutClosingOnEarlyError = require('../internals/iterator-helper-without-closing-on-early-error');\n\nvar forEachWithoutClosingOnEarlyError = iteratorHelperWithoutClosingOnEarlyError('forEach', TypeError);\n\n// `Iterator.prototype.forEach` method\n// https://tc39.es/ecma262/#sec-iterator.prototype.foreach\n$({ target: 'Iterator', proto: true, real: true, forced: forEachWithoutClosingOnEarlyError }, {\n  forEach: function forEach(fn) {\n    anObject(this);\n    try {\n      aCallable(fn);\n    } catch (error) {\n      iteratorClose(this, 'throw', error);\n    }\n\n    if (forEachWithoutClosingOnEarlyError) return call(forEachWithoutClosingOnEarlyError, this, fn);\n\n    var record = getIteratorDirect(this);\n    var counter = 0;\n    iterate(record, function (value) {\n      fn(value, counter++);\n    }, { IS_RECORD: true });\n  }\n});\n","import type {BlockSettings, LegacyWidget} from '@wordpress/blocks';\nimport {CONFIG} from '../../../globals/config';\nimport Edit from './Edit';\nimport type {DisplayOptions} from '../Display';\nimport {getBlockSupports, transformLegacyWidget, translateBlockAttributes} from '../../helpers';\nimport {__} from '@wordpress/i18n';\nimport type {CommonAttr} from '../Preview';\nimport PagesIcon from './PagesIcon';\n\n/**\n * Attributes specific to the widget as well as shared\n * widget attributes.\n *\n * @see \\Advanced_Sidebar_Menu\\Blocks\\Pages::get_attributes\n * @see \\Advanced_Sidebar_Menu\\Blocks\\Common\n */\nexport type Attr = {\n\texclude: string;\n\torder_by: string;\n} & DisplayOptions & ProRegistered & CommonAttr;\n\n// Options used by basic when available from PRO.\ntype ProRegistered = {\n\tpost_type?: string;\n}\n\nexport type setAttributes = ( newValue: {\n\t[attribute in keyof Attr]?: Attr[attribute]\n} ) => void;\n\n\n/**\n * Attributes used for the example preview.\n * Combines some PRO and basic attributes.\n * The PRO attributes will only be sent if PRO is active.\n */\nconst EXAMPLE = {\n\tapply_current_page_parent_styles_to_parent: true,\n\tapply_current_page_styles_to_parent: true,\n\tblock_style: true,\n\tborder: true,\n\tborder_color: '#333',\n\tbullet_style: 'none',\n\tchild_page_bg_color: '#666',\n\tchild_page_color: '#fff',\n\tcurrent_page_bg_color: '#282828',\n\tcurrent_page_color: '#0cc4c6',\n\tcurrent_page_font_weight: 'normal',\n\tcurrent_page_parent_bg_color: '#333',\n\tdisplay_all: true,\n\tgrandchild_page_bg_color: '#989898',\n\tgrandchild_page_color: '#282828',\n\tgrandchild_page_font_weight: 'bold',\n\tinclude_childless_parent: true,\n\tinclude_parent: true,\n\tlevels: 2,\n\tparent_page_bg_color: '#666',\n\tparent_page_color: '#fff',\n};\n\nexport const block = CONFIG.blocks.pages;\n\nexport const name = block.id;\n\nexport const settings: BlockSettings<Attr, '', LegacyWidget<Attr & { title: string }>> = {\n\ttitle: __( 'Advanced Sidebar - Pages', 'advanced-sidebar-menu' ),\n\ticon: PagesIcon,\n\tcategory: 'widgets',\n\tdescription: __( 'Creates a menu of all the pages using the parent/child relationship', 'advanced-sidebar-menu' ),\n\texample: {\n\t\tattributes: EXAMPLE,\n\t},\n\ttransforms: {\n\t\tfrom: [\n\t\t\t{\n\t\t\t\ttype: 'block',\n\t\t\t\tblocks: [ 'core/legacy-widget' ],\n\t\t\t\tisMatch: ( {idBase, instance} ) => {\n\t\t\t\t\tif ( null === instance?.raw ) {\n\t\t\t\t\t\t// Can't transform if the raw instance is not shown in REST API.\n\t\t\t\t\t\treturn false;\n\t\t\t\t\t}\n\t\t\t\t\treturn 'advanced_sidebar_menu' === idBase;\n\t\t\t\t},\n\t\t\t\ttransform: transformLegacyWidget<Attr>( name ),\n\t\t\t},\n\t\t],\n\t},\n\tattributes: translateBlockAttributes<Attr>( block.attributes ),\n\tsupports: getBlockSupports(),\n\tedit: props => (\n\t\t<Edit {...props} />\n\t),\n\tsave: () => null,\n\tapiVersion: 3,\n};\n","'use strict';\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\n\nvar $TypeError = TypeError;\n\nmodule.exports = function (it, Prototype) {\n  if (isPrototypeOf(Prototype, it)) return it;\n  throw new $TypeError('Incorrect invocation');\n};\n","'use strict';\nvar toLength = require('../internals/to-length');\n\n// `LengthOfArrayLike` abstract operation\n// https://tc39.es/ecma262/#sec-lengthofarraylike\nmodule.exports = function (obj) {\n  return toLength(obj.length);\n};\n","const NavigationIcon = <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\">\n\t<rect x=\"0\" fill=\"none\" width=\"20\" height=\"20\" />\n\t<g>\n\t\t<path\n\t\t\tfill=\"#044567\"\n\t\t\td=\"M19 17V2c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v15c0 .55.45 1 1 1h15c.55 0 1-.45 1-1z M4 3h13v4H4V3z M5 4h3v2H5V4zm4 0h3v2H9V4zm4 0h3v2H13V4z M4.5 9 c .28 0 .5 .22 .5 .5s-.22.5-.5.5s-.5-.22-.5-.5s.22-.5 .5-.5z M6 9h4v1H6v-1z M4.5 12 c .28 0 .5 .22 .5 .5s-.22.5-.5.5s-.5-.22-.5-.5s.22-.5 .5-.5z M6 12h4v1H6v-1z M4.5 15 c .28 0 .5 .22 .5 .5s-.22.5-.5.5s-.5-.22-.5-.5s.22-.5 .5-.5z M6 15h4v1H6v-1z M12.5 10.5 h4v1h-4v-1z M12.5 12 h4v1h-4v-1z M12.5 13.5 h4v1h-4v-1z\" />\n\t</g>\n</svg>;\n\nexport default NavigationIcon;\n","'use strict';\nvar fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\nvar isObject = require('../internals/is-object');\nvar create = require('../internals/object-create');\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar IS_PURE = require('../internals/is-pure');\n\nvar ITERATOR = wellKnownSymbol('iterator');\nvar BUGGY_SAFARI_ITERATORS = false;\n\n// `%IteratorPrototype%` object\n// https://tc39.es/ecma262/#sec-%iteratorprototype%-object\nvar IteratorPrototype, PrototypeOfArrayIteratorPrototype, arrayIterator;\n\n/* eslint-disable es/no-array-prototype-keys -- safe */\nif ([].keys) {\n  arrayIterator = [].keys();\n  // Safari 8 has buggy iterators w/o `next`\n  if (!('next' in arrayIterator)) BUGGY_SAFARI_ITERATORS = true;\n  else {\n    PrototypeOfArrayIteratorPrototype = getPrototypeOf(getPrototypeOf(arrayIterator));\n    if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype = PrototypeOfArrayIteratorPrototype;\n  }\n}\n\nvar NEW_ITERATOR_PROTOTYPE = !isObject(IteratorPrototype) || fails(function () {\n  var test = {};\n  // FF44- legacy iterators case\n  return IteratorPrototype[ITERATOR].call(test) !== test;\n});\n\nif (NEW_ITERATOR_PROTOTYPE) IteratorPrototype = {};\nelse if (IS_PURE) IteratorPrototype = create(IteratorPrototype);\n\n// `%IteratorPrototype%[@@iterator]()` method\n// https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator\nif (!isCallable(IteratorPrototype[ITERATOR])) {\n  defineBuiltIn(IteratorPrototype, ITERATOR, function () {\n    return this;\n  });\n}\n\nmodule.exports = {\n  IteratorPrototype: IteratorPrototype,\n  BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS\n};\n","module.exports = window.wp?.richText;","'use strict';\nvar getBuiltIn = require('../internals/get-built-in');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar getOwnPropertyNamesModule = require('../internals/object-get-own-property-names');\nvar getOwnPropertySymbolsModule = require('../internals/object-get-own-property-symbols');\nvar anObject = require('../internals/an-object');\n\nvar concat = uncurryThis([].concat);\n\n// all object keys, includes non-enumerable and symbols\nmodule.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {\n  var keys = getOwnPropertyNamesModule.f(anObject(it));\n  var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;\n  return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys;\n};\n","module.exports = window.wp?.i18n;","'use strict';\nvar TO_STRING_TAG_SUPPORT = require('../internals/to-string-tag-support');\nvar isCallable = require('../internals/is-callable');\nvar classofRaw = require('../internals/classof-raw');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\nvar $Object = Object;\n\n// ES3 wrong here\nvar CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) === 'Arguments';\n\n// fallback for IE11 Script Access Denied error\nvar tryGet = function (it, key) {\n  try {\n    return it[key];\n  } catch (error) { /* empty */ }\n};\n\n// getting tag from ES6+ `Object.prototype.toString`\nmodule.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {\n  var O, tag, result;\n  return it === undefined ? 'Undefined' : it === null ? 'Null'\n    // @@toStringTag case\n    : typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag\n    // builtinTag case\n    : CORRECT_ARGUMENTS ? classofRaw(O)\n    // ES3 arguments fallback\n    : (result = classofRaw(O)) === 'Object' && isCallable(O.callee) ? 'Arguments' : result;\n};\n","'use strict';\nmodule.exports = {};\n","'use strict';\nvar trunc = require('../internals/math-trunc');\n\n// `ToIntegerOrInfinity` abstract operation\n// https://tc39.es/ecma262/#sec-tointegerorinfinity\nmodule.exports = function (argument) {\n  var number = +argument;\n  // eslint-disable-next-line no-self-compare -- NaN check\n  return number !== number || number === 0 ? 0 : trunc(number);\n};\n","'use strict';\n/* eslint-disable es/no-symbol -- required for testing */\nvar NATIVE_SYMBOL = require('../internals/symbol-constructor-detection');\n\nmodule.exports = NATIVE_SYMBOL &&\n  !Symbol.sham &&\n  typeof Symbol.iterator == 'symbol';\n","'use strict';\nvar makeBuiltIn = require('../internals/make-built-in');\nvar defineProperty = require('../internals/object-define-property');\n\nmodule.exports = function (target, name, descriptor) {\n  if (descriptor.get) makeBuiltIn(descriptor.get, name, { getter: true });\n  if (descriptor.set) makeBuiltIn(descriptor.set, name, { setter: true });\n  return defineProperty.f(target, name, descriptor);\n};\n","module.exports = ReactDOM;","'use strict';\nvar NATIVE_WEAK_MAP = require('../internals/weak-map-basic-detection');\nvar globalThis = require('../internals/global-this');\nvar isObject = require('../internals/is-object');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar hasOwn = require('../internals/has-own-property');\nvar shared = require('../internals/shared-store');\nvar sharedKey = require('../internals/shared-key');\nvar hiddenKeys = require('../internals/hidden-keys');\n\nvar OBJECT_ALREADY_INITIALIZED = 'Object already initialized';\nvar TypeError = globalThis.TypeError;\nvar WeakMap = globalThis.WeakMap;\nvar set, get, has;\n\nvar enforce = function (it) {\n  return has(it) ? get(it) : set(it, {});\n};\n\nvar getterFor = function (TYPE) {\n  return function (it) {\n    var state;\n    if (!isObject(it) || (state = get(it)).type !== TYPE) {\n      throw new TypeError('Incompatible receiver, ' + TYPE + ' required');\n    } return state;\n  };\n};\n\nif (NATIVE_WEAK_MAP || shared.state) {\n  var store = shared.state || (shared.state = new WeakMap());\n  /* eslint-disable no-self-assign -- prototype methods protection */\n  store.get = store.get;\n  store.has = store.has;\n  store.set = store.set;\n  /* eslint-enable no-self-assign -- prototype methods protection */\n  set = function (it, metadata) {\n    if (store.has(it)) throw new TypeError(OBJECT_ALREADY_INITIALIZED);\n    metadata.facade = it;\n    store.set(it, metadata);\n    return metadata;\n  };\n  get = function (it) {\n    return store.get(it) || {};\n  };\n  has = function (it) {\n    return store.has(it);\n  };\n} else {\n  var STATE = sharedKey('state');\n  hiddenKeys[STATE] = true;\n  set = function (it, metadata) {\n    if (hasOwn(it, STATE)) throw new TypeError(OBJECT_ALREADY_INITIALIZED);\n    metadata.facade = it;\n    createNonEnumerableProperty(it, STATE, metadata);\n    return metadata;\n  };\n  get = function (it) {\n    return hasOwn(it, STATE) ? it[STATE] : {};\n  };\n  has = function (it) {\n    return hasOwn(it, STATE);\n  };\n}\n\nmodule.exports = {\n  set: set,\n  get: get,\n  has: has,\n  enforce: enforce,\n  getterFor: getterFor\n};\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar call = require('../internals/function-call');\nvar propertyIsEnumerableModule = require('../internals/object-property-is-enumerable');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar toPropertyKey = require('../internals/to-property-key');\nvar hasOwn = require('../internals/has-own-property');\nvar IE8_DOM_DEFINE = require('../internals/ie8-dom-define');\n\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// `Object.getOwnPropertyDescriptor` method\n// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor\nexports.f = DESCRIPTORS ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {\n  O = toIndexedObject(O);\n  P = toPropertyKey(P);\n  if (IE8_DOM_DEFINE) try {\n    return $getOwnPropertyDescriptor(O, P);\n  } catch (error) { /* empty */ }\n  if (hasOwn(O, P)) return createPropertyDescriptor(!call(propertyIsEnumerableModule.f, O, P), O[P]);\n};\n","'use strict';\n// `CreateIterResultObject` abstract operation\n// https://tc39.es/ecma262/#sec-createiterresultobject\nmodule.exports = function (value, done) {\n  return { value: value, done: done };\n};\n","'use strict';\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\n\n// `Array.prototype.{ indexOf, includes }` methods implementation\nvar createMethod = function (IS_INCLUDES) {\n  return function ($this, el, fromIndex) {\n    var O = toIndexedObject($this);\n    var length = lengthOfArrayLike(O);\n    if (length === 0) return !IS_INCLUDES && -1;\n    var index = toAbsoluteIndex(fromIndex, length);\n    var value;\n    // Array#includes uses SameValueZero equality algorithm\n    // eslint-disable-next-line no-self-compare -- NaN check\n    if (IS_INCLUDES && el !== el) while (length > index) {\n      value = O[index++];\n      // eslint-disable-next-line no-self-compare -- NaN check\n      if (value !== value) return true;\n    // Array#indexOf ignores holes, Array#includes - not\n    } else for (;length > index; index++) {\n      if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;\n    } return !IS_INCLUDES && -1;\n  };\n};\n\nmodule.exports = {\n  // `Array.prototype.includes` method\n  // https://tc39.es/ecma262/#sec-array.prototype.includes\n  includes: createMethod(true),\n  // `Array.prototype.indexOf` method\n  // https://tc39.es/ecma262/#sec-array.prototype.indexof\n  indexOf: createMethod(false)\n};\n","import {createRoot} from 'react-dom/client';\nimport TransformNotice, {DISMISS_KEY} from '../components/TransformNotice';\nimport {CONFIG} from '../globals/config';\n\n\nfunction renderTransformNotice() {\n\t// Only render on the block based widgets screen.\n\tif ( CONFIG.siteInfo.classicWidgets ) {\n\t\treturn;\n\t}\n\t// Don't render if the user has dismissed the notice.\n\tif ( '1' === localStorage.getItem( DISMISS_KEY ) ) {\n\t\treturn;\n\t}\n\tconst placeholders = document.querySelectorAll( '[data-js=\"advanced-sidebar-menu/transform-notice\"]' );\n\n\t/**\n\t * This is not a priority component, so it anything fails\n\t * we fail silently.\n\t */\n\ttry {\n\t\tplaceholders.forEach( placeholder => {\n\t\t\tconst root = createRoot( placeholder );\n\t\t\troot.render( <TransformNotice /> );\n\t\t} );\n\t} catch ( e ) {\n\t\tconsole.error( e );\n\t}\n}\n\n\n/**\n * Modern JS for legacy widgets on the widgets screen.\n *\n * @see resources/js/advanced-sidebar-menu.js for the legacy JS.\n */\nexport default () => {\n\t// Only load on the widgets screen.\n\tif ( '1' !== CONFIG.isWidgets ) {\n\t\treturn;\n\t}\n\t// Fire when each widget loads.\n\tjQuery( document ).on( 'widget-added', function() {\n\t\trenderTransformNotice();\n\t} );\n}\n","module.exports = window.wp?.data;","'use strict';\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\n\nvar max = Math.max;\nvar min = Math.min;\n\n// Helper for a popular repeating case of the spec:\n// Let integer be ? ToInteger(index).\n// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).\nmodule.exports = function (index, length) {\n  var integer = toIntegerOrInfinity(index);\n  return integer < 0 ? max(integer + length, 0) : min(integer, length);\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar call = require('../internals/function-call');\nvar aCallable = require('../internals/a-callable');\nvar anObject = require('../internals/an-object');\nvar getIteratorDirect = require('../internals/get-iterator-direct');\nvar createIteratorProxy = require('../internals/iterator-create-proxy');\nvar callWithSafeIterationClosing = require('../internals/call-with-safe-iteration-closing');\nvar iteratorClose = require('../internals/iterator-close');\nvar iteratorHelperThrowsOnInvalidIterator = require('../internals/iterator-helper-throws-on-invalid-iterator');\nvar iteratorHelperWithoutClosingOnEarlyError = require('../internals/iterator-helper-without-closing-on-early-error');\nvar IS_PURE = require('../internals/is-pure');\n\nvar MAP_WITHOUT_THROWING_ON_INVALID_ITERATOR = !IS_PURE && !iteratorHelperThrowsOnInvalidIterator('map', function () { /* empty */ });\nvar mapWithoutClosingOnEarlyError = !IS_PURE && !MAP_WITHOUT_THROWING_ON_INVALID_ITERATOR\n  && iteratorHelperWithoutClosingOnEarlyError('map', TypeError);\n\nvar FORCED = IS_PURE || MAP_WITHOUT_THROWING_ON_INVALID_ITERATOR || mapWithoutClosingOnEarlyError;\n\nvar IteratorProxy = createIteratorProxy(function () {\n  var iterator = this.iterator;\n  var result = anObject(call(this.next, iterator));\n  var done = this.done = !!result.done;\n  if (!done) return callWithSafeIterationClosing(iterator, this.mapper, [result.value, this.counter++], true);\n});\n\n// `Iterator.prototype.map` method\n// https://tc39.es/ecma262/#sec-iterator.prototype.map\n$({ target: 'Iterator', proto: true, real: true, forced: FORCED }, {\n  map: function map(mapper) {\n    anObject(this);\n    try {\n      aCallable(mapper);\n    } catch (error) {\n      iteratorClose(this, 'throw', error);\n    }\n\n    if (mapWithoutClosingOnEarlyError) return call(mapWithoutClosingOnEarlyError, this, mapper);\n\n    return new IteratorProxy(getIteratorDirect(this), {\n      mapper: mapper\n    });\n  }\n});\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\n\nmodule.exports = uncurryThis({}.isPrototypeOf);\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar fails = require('../internals/fails');\nvar createElement = require('../internals/document-create-element');\n\n// Thanks to IE8 for its funny defineProperty\nmodule.exports = !DESCRIPTORS && !fails(function () {\n  // eslint-disable-next-line es/no-object-defineproperty -- required for testing\n  return Object.defineProperty(createElement('div'), 'a', {\n    get: function () { return 7; }\n  }).a !== 7;\n});\n","import {type BlockAttributes, BlockSupports, createBlock, CreateBlock} from '@wordpress/blocks';\nimport {CONFIG, Screen} from '../globals/config';\nimport type {CommonAttr, ServerSideRenderRequired} from './blocks/Preview';\n\nexport type TransformLegacy = <Attr>( name: string ) => ( widgetValues: {\n\tinstance: { [ key: string ]: string | number | object | boolean }\n} ) => CreateBlock<Attr>;\n\n/**\n * Are we on one of the provided screens?\n */\nexport const isScreen = ( screens: Array<Screen> ): boolean => {\n\treturn screens.includes( CONFIG.currentScreen );\n};\n\n/**\n * Transform a legacy widget to the matching block.\n *\n */\nexport const transformLegacyWidget: TransformLegacy = <A>( name: string ) => ( {instance} ) => {\n\treturn createBlock<A>( name, translateLegacyWidget<A>( instance.raw ) );\n};\n\n/**\n * Merge the common attributes and preview attributes into the block attributes.\n *\n * @since 9.7.0\n */\nexport function translateBlockAttributes<Attr>( attributes: BlockAttributes<Attr> ): BlockAttributes<Attr & CommonAttr & ServerSideRenderRequired> {\n\treturn {...attributes, ...CONFIG.blocks.commonAttr, ...CONFIG.blocks.previewAttr};\n}\n\n/**\n * Get block support from a common location.\n *\n * @since 9.7.0\n */\nexport function getBlockSupports(): BlockSupports {\n\treturn CONFIG.blocks.blockSupport;\n}\n\n/**\n * Translate the widget's \"checked\" to the boolean\n * version used in the block.\n *\n */\nconst translateLegacyWidget = <A>( settings ): A => {\n\tObject.entries( settings ).forEach( ( [ key, value ] ) => {\n\t\tif ( 'checked' === value ) {\n\t\t\tsettings[ key ] = true;\n\t\t}\n\t\tif ( 'object' === typeof value ) {\n\t\t\ttranslateLegacyWidget( settings[ key ] );\n\t\t}\n\t\t// Old widgets used to use \"0\" for some defaults.\n\t\tif ( '0' === value ) {\n\t\t\tdelete settings[ key ];\n\t\t}\n\t} );\n\treturn settings;\n};\n","'use strict';\nvar globalThis = require('../internals/global-this');\nvar isCallable = require('../internals/is-callable');\n\nvar aFunction = function (argument) {\n  return isCallable(argument) ? argument : undefined;\n};\n\nmodule.exports = function (namespace, method) {\n  return arguments.length < 2 ? aFunction(globalThis[namespace]) : globalThis[namespace] && globalThis[namespace][method];\n};\n","module.exports = window.wp?.components;","'use strict';\nvar classofRaw = require('../internals/classof-raw');\nvar uncurryThis = require('../internals/function-uncurry-this');\n\nmodule.exports = function (fn) {\n  // Nashorn bug:\n  //   https://github.com/zloirock/core-js/issues/1128\n  //   https://github.com/zloirock/core-js/issues/1130\n  if (classofRaw(fn) === 'Function') return uncurryThis(fn);\n};\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar definePropertyModule = require('../internals/object-define-property');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\n\nmodule.exports = function (object, key, value) {\n  if (DESCRIPTORS) definePropertyModule.f(object, key, createPropertyDescriptor(0, value));\n  else object[key] = value;\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar classof = require('../internals/classof-raw');\n\nvar $Object = Object;\nvar split = uncurryThis(''.split);\n\n// fallback for non-array-like ES3 and non-enumerable old V8 strings\nmodule.exports = fails(function () {\n  // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346\n  // eslint-disable-next-line no-prototype-builtins -- safe\n  return !$Object('z').propertyIsEnumerable(0);\n}) ? function (it) {\n  return classof(it) === 'String' ? split(it, '') : $Object(it);\n} : $Object;\n","module.exports = window.wp?.blockEditor;","'use strict';\nvar globalThis = require('../internals/global-this');\n\n// https://github.com/tc39/ecma262/pull/3467\nmodule.exports = function (METHOD_NAME, ExpectedError) {\n  var Iterator = globalThis.Iterator;\n  var IteratorPrototype = Iterator && Iterator.prototype;\n  var method = IteratorPrototype && IteratorPrototype[METHOD_NAME];\n\n  var CLOSED = false;\n\n  if (method) try {\n    method.call({\n      next: function () { return { done: true }; },\n      'return': function () { CLOSED = true; }\n    }, -1);\n  } catch (error) {\n    // https://bugs.webkit.org/show_bug.cgi?id=291195\n    if (!(error instanceof ExpectedError)) CLOSED = false;\n  }\n\n  if (!CLOSED) return method;\n};\n","'use strict';\nvar globalThis = require('../internals/global-this');\nvar isObject = require('../internals/is-object');\n\nvar document = globalThis.document;\n// typeof document.createElement is 'object' in old IE\nvar EXISTS = isObject(document) && isObject(document.createElement);\n\nmodule.exports = function (it) {\n  return EXISTS ? document.createElement(it) : {};\n};\n","'use strict';\nvar NATIVE_BIND = require('../internals/function-bind-native');\n\nvar FunctionPrototype = Function.prototype;\nvar call = FunctionPrototype.call;\n// eslint-disable-next-line es/no-function-prototype-bind -- safe\nvar uncurryThisWithBind = NATIVE_BIND && FunctionPrototype.bind.bind(call, call);\n\nmodule.exports = NATIVE_BIND ? uncurryThisWithBind : function (fn) {\n  return function () {\n    return call.apply(fn, arguments);\n  };\n};\n","'use strict';\nvar call = require('../internals/function-call');\nvar create = require('../internals/object-create');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar defineBuiltIns = require('../internals/define-built-ins');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar InternalStateModule = require('../internals/internal-state');\nvar getMethod = require('../internals/get-method');\nvar IteratorPrototype = require('../internals/iterators-core').IteratorPrototype;\nvar createIterResultObject = require('../internals/create-iter-result-object');\nvar iteratorClose = require('../internals/iterator-close');\nvar iteratorCloseAll = require('../internals/iterator-close-all');\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\nvar ITERATOR_HELPER = 'IteratorHelper';\nvar WRAP_FOR_VALID_ITERATOR = 'WrapForValidIterator';\nvar NORMAL = 'normal';\nvar THROW = 'throw';\nvar setInternalState = InternalStateModule.set;\n\nvar createIteratorProxyPrototype = function (IS_ITERATOR) {\n  var getInternalState = InternalStateModule.getterFor(IS_ITERATOR ? WRAP_FOR_VALID_ITERATOR : ITERATOR_HELPER);\n\n  return defineBuiltIns(create(IteratorPrototype), {\n    next: function next() {\n      var state = getInternalState(this);\n      // for simplification:\n      //   for `%WrapForValidIteratorPrototype%.next` or with `state.returnHandlerResult` our `nextHandler` returns `IterResultObject`\n      //   for `%IteratorHelperPrototype%.next` - just a value\n      if (IS_ITERATOR) return state.nextHandler();\n      if (state.done) return createIterResultObject(undefined, true);\n      try {\n        var result = state.nextHandler();\n        return state.returnHandlerResult ? result : createIterResultObject(result, state.done);\n      } catch (error) {\n        state.done = true;\n        throw error;\n      }\n    },\n    'return': function () {\n      var state = getInternalState(this);\n      var iterator = state.iterator;\n      state.done = true;\n      if (IS_ITERATOR) {\n        var returnMethod = getMethod(iterator, 'return');\n        return returnMethod ? call(returnMethod, iterator) : createIterResultObject(undefined, true);\n      }\n      if (state.inner) try {\n        iteratorClose(state.inner.iterator, NORMAL);\n      } catch (error) {\n        return iteratorClose(iterator, THROW, error);\n      }\n      if (state.openIters) try {\n        iteratorCloseAll(state.openIters, NORMAL);\n      } catch (error) {\n        return iteratorClose(iterator, THROW, error);\n      }\n      if (iterator) iteratorClose(iterator, NORMAL);\n      return createIterResultObject(undefined, true);\n    }\n  });\n};\n\nvar WrapForValidIteratorPrototype = createIteratorProxyPrototype(true);\nvar IteratorHelperPrototype = createIteratorProxyPrototype(false);\n\ncreateNonEnumerableProperty(IteratorHelperPrototype, TO_STRING_TAG, 'Iterator Helper');\n\nmodule.exports = function (nextHandler, IS_ITERATOR, RETURN_HANDLER_RESULT) {\n  var IteratorProxy = function Iterator(record, state) {\n    if (state) {\n      state.iterator = record.iterator;\n      state.next = record.next;\n    } else state = record;\n    state.type = IS_ITERATOR ? WRAP_FOR_VALID_ITERATOR : ITERATOR_HELPER;\n    state.returnHandlerResult = !!RETURN_HANDLER_RESULT;\n    state.nextHandler = nextHandler;\n    state.counter = 0;\n    state.done = false;\n    setInternalState(this, state);\n  };\n\n  IteratorProxy.prototype = IS_ITERATOR ? WrapForValidIteratorPrototype : IteratorHelperPrototype;\n\n  return IteratorProxy;\n};\n","'use strict';\n// `GetIteratorDirect(obj)` abstract operation\n// https://tc39.es/ecma262/#sec-getiteratordirect\nmodule.exports = function (obj) {\n  return {\n    iterator: obj,\n    next: obj.next,\n    done: false\n  };\n};\n","'use strict';\nvar hasOwn = require('../internals/has-own-property');\nvar ownKeys = require('../internals/own-keys');\nvar getOwnPropertyDescriptorModule = require('../internals/object-get-own-property-descriptor');\nvar definePropertyModule = require('../internals/object-define-property');\n\nmodule.exports = function (target, source, exceptions) {\n  var keys = ownKeys(source);\n  var defineProperty = definePropertyModule.f;\n  var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;\n  for (var i = 0; i < keys.length; i++) {\n    var key = keys[i];\n    if (!hasOwn(target, key) && !(exceptions && hasOwn(exceptions, key))) {\n      defineProperty(target, key, getOwnPropertyDescriptor(source, key));\n    }\n  }\n};\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar definePropertyModule = require('../internals/object-define-property');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\n\nmodule.exports = DESCRIPTORS ? function (object, key, value) {\n  return definePropertyModule.f(object, key, createPropertyDescriptor(1, value));\n} : function (object, key, value) {\n  object[key] = value;\n  return object;\n};\n","import{registerBlockType as t,unregisterBlockType as n}from\"@wordpress/blocks\";import{registerPlugin as e,unregisterPlugin as r}from\"@wordpress/plugins\";import{select as o,dispatch as i,useDispatch as u,useSelect as c}from\"@wordpress/data\";import{registerFormatType as a,unregisterFormatType as s}from\"@wordpress/rich-text\";var l=\"\",f=\"\";function d(t){\"\"===f&&void 0!==t&&(l=t,f=t)}function p(){return l}function v(){return\"\"!==l&&\"\"!==f&&l!==f}function h(t){l=t}function m(){l=\"\"}function g(){l=f}function y(t,n){try{var e=t()}catch(t){return n(t)}return e&&e.then?e.then(void 0,n):e}var w=function(t,n){void 0===n&&(n=!0);try{if(!n)throw t;return Promise.resolve(b(t)).then(function(t){throw\"rest_cookie_invalid_nonce\"===(null==t?void 0:t.code)&&v()&&(t.code=\"external_rest_cookie_invalid_nonce\"),t||{code:\"unknown_error\",message:\"An unknown error occurred.\"}})}catch(t){return Promise.reject(t)}},b=function(t){try{var n={code:\"invalid_json\",message:\"The response is not a valid JSON response.\"};if(!t||void 0===t.json)throw n;return Promise.resolve(y(function(){return Promise.resolve(t.json())},function(){throw n}))}catch(t){return Promise.reject(t)}},P=function(t,n){return void 0===n&&(n=!0),Promise.resolve(y(function(){return function(t,n){return void 0===n&&(n=!0),n?204===t.status?null:void 0!==t.json?t.json():Promise.reject(t):t}(t,n)},function(t){return Promise.resolve(w(t,n))}))};function E(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=Array(n);e<n;e++)r[e]=t[e];return r}function T(t,n){var e=\"undefined\"!=typeof Symbol&&t[Symbol.iterator]||t[\"@@iterator\"];if(e)return(e=e.call(t)).next.bind(e);if(Array.isArray(t)||(e=function(t,n){if(t){if(\"string\"==typeof t)return E(t,n);var e={}.toString.call(t).slice(8,-1);return\"Object\"===e&&t.constructor&&(e=t.constructor.name),\"Map\"===e||\"Set\"===e?Array.from(t):\"Arguments\"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?E(t,n):void 0}}(t))||n&&t&&\"number\"==typeof t.length){e&&(t=e);var r=0;return function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}}}throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\")}function j(){return j=Object.assign?Object.assign.bind():function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)({}).hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t},j.apply(null,arguments)}function k(t){return\"\"===t.trim()?t:t.replace(/\\/?$/,\"/\")}function A(t){return\"\"===t.trim()?t:t.replace(/^\\/?/,\"/\")}function _(t){return\"\"===t.trim()?t:t.replace(/^\\//,\"\")}function x(t){return\"\"===t.trim()?t:t.replace(/\\/$/,\"\")}function O(t,n){var e;return null!=(e=I(t)[n])?e:void 0}function I(t){var n;return(null!=(n=R(t))?n:\"\").replace(/\\+/g,\"%20\").split(\"&\").reduce(function(t,n){if(\"\"===n)return t;var e=n.split(\"=\").filter(Boolean).map(function(t){try{return decodeURIComponent(t)}catch(n){return console.debug(\"Invalid URL component: \"+t,n),t}}),r=e[1],o=void 0===r?\"\":r;return function(t,n,e){for(var r=n.length,o=r-1,i=0;i<r;i++){var u=n[i];\"\"===u&&Array.isArray(t)&&(u=t.length.toString()),u=[\"__proto__\",\"constructor\",\"prototype\"].includes(u)?u.toUpperCase():u;var c=!isNaN(Number(n[i+1]));i===o?t[u]=e:void 0===t[u]&&(t[u]=c?[]:{}),Array.isArray(t[u])&&!c&&(t[u]=j({},t[u])),t=t[u]}}(t,e[0].replace(/]/g,\"\").split(\"[\"),o),t},Object.create(null))}function R(t){try{var n=new URL(t,\"https://ex.com\").search.substring(1);return n.length>0?n:void 0}catch(n){return void console.debug(\"Invalid URL:\",t,n)}}function S(t,n){if(void 0===n&&(n={}),0===Object.keys(n).length)return null!=t?t:\"\";var e=\"\",r=\"\";if(void 0!==t){var o;r=null!=(o=B(t))?o:\"\",e=t.replace(r,\"\");var i=t.indexOf(\"?\");-1!==i&&(n=Object.assign(I(t),n),e=e=e.slice(0,i))}return e+\"?\"+U(n)+r}function B(t){var n=/^\\S+?(#[^\\s?]*)/.exec(t);if(null!==n&&n.length>1)return n[1]}function U(t){for(var n,e=\"\",r=Object.entries(t);n=r.shift();){var o=n[0],i=n[1];if(null===i||\"object\"!=typeof i&&!Array.isArray(i))void 0!==i&&(null===i&&(i=\"\"),e+=\"&\"+[o,i].map(encodeURIComponent).join(\"=\"));else for(var u,c=T(Object.entries(i).reverse());!(u=c()).done;){var a=u.value;r.unshift([o+\"[\"+a[0]+\"]\",a[1]])}}return e.slice(1)}var G=\"\",C=\"\";function L(t){C=t,G=t}function N(){\"\"===C?(G=\"\",G=M()):G=C}function M(){var t;if(\"\"!==G)return k(G);var n=document.querySelector('link[rel=\"https://api.w.org/\"]'),e=null==n?void 0:n.getAttribute(\"href\");if(\"string\"==typeof e)G=e;else{if(void 0===(null==(t=window.wpApiSettings)?void 0:t.root))throw new URIError(\"Unable to determine the root URL. Use `setInitialRootURL` to set the root URL.\");G=window.wpApiSettings.root}return k(G)}function W(t,n){void 0===n&&(n=!0);var e=\"\";return void 0===t.url?\"string\"==typeof t.path?((e=M()).indexOf(\"?\")>-1&&(t.path=t.path.replace(\"?\",\"&\")),e+=_(t.path)):e=M():e=t.url,n?$(e):e}function D(t,n){G=t.replace(/\\/$/,\"\")+\"/\",\"\"===window.location.hostname||new URL(G).hostname!==window.location.hostname?void 0!==n?h(n):v()||m():g()}var $=function(t){return void 0===O(t,\"_locale\")&&(t=S(t,{_locale:\"user\"})),t},q=\"\";function X(){return q}function z(){return\"\"!==q}function H(){q=\"\"}function J(t,n){q=\"Basic \"+btoa(t+\":\"+n)}var Y=[\"data\",\"parse\"],F=function(t){return Promise.resolve(function(){try{var n=Promise.resolve(tt({path:\"/\",method:\"GET\"})).then(function(n){return n.authentication[\"application-passwords\"]?S(n.authentication[\"application-passwords\"].endpoints.authorization,t):{code:\"application_passwords_disabled\",message:\"Application passwords are not enabled on this site.\",data:null}})}catch(t){return t}return n&&n.then?n.then(void 0,function(t){return t}):n}())},K={Accept:\"application/json, */*;q=0.1\"},Q={credentials:\"include\"},V=!1,Z=function(t){if(t.status>=200&&t.status<300)return t;throw t},tt=function(t){var n=t,e=t.data,r=t.parse,o=void 0===r||r,i=function(t,n){if(null==t)return{};var e={};for(var r in t)if({}.hasOwnProperty.call(t,r)){if(-1!==n.indexOf(r))continue;e[r]=t[r]}return e}(t,Y);delete i.url,delete i.path;var u=n.body,c=j({},K,\"\"!==p()?{\"X-WP-Nonce\":p()}:{},\"\"!==X()?{Authorization:X()}:{},n.headers);void 0!==e&&(u=JSON.stringify(e),c[\"Content-Type\"]=\"application/json\");var a=j({},Q,i,{body:u,headers:c});return window.fetch(W(t),a).then(function(n){return Promise.resolve(n).then(Z).catch(function(t){return w(t,o)}).then(function(t){return P(t,o)}).catch(function(n){return nt(n,function(){return tt(t)})})},function(t){if(t&&\"AbortError\"===t.name)throw t;throw{code:\"fetch_error\",message:\"You are probably offline.\"}})};function nt(t,n){return\"rest_cookie_invalid_nonce\"!==t.code?Promise.reject(t):(m(),V?Promise.reject(t):(V=!0,window.fetch(W({path:\"wp-admin/admin-ajax.php?action=rest-nonce\"},!1)).then(Z).then(function(t){return t.text()}).then(function(t){return h(t),n()}).finally(function(){V=!1})))}var et=function(t,n,e){try{var r,o,i=function(t){return r?t:Promise.resolve(P(o)).then(function(t){var n,e;return{items:t,totalPages:parseInt(null!=(n=o.headers.get(\"X-WP-TotalPages\"))?n:\"1\"),totalItems:parseInt(null!=(e=o.headers.get(\"X-WP-Total\"))?e:\"0\")}})},u=function(r,i){try{var u=Promise.resolve(rt(t,n,e,!1)).then(function(t){o=t})}catch(t){return i(t)}return u&&u.then?u.then(void 0,i):u}(0,function(o){return Promise.resolve(P(o)).then(function(o){var i=nt(o,function(){return et(t,n,e)});return r=1,i})});return Promise.resolve(u&&u.then?u.then(i):i(u))}catch(t){return Promise.reject(t)}},rt=function(t,n,e,r){void 0===r&&(r=!0);try{return Promise.resolve(tt(void 0===e||\"GET\"===n||\"OPTIONS\"===n?{method:n,parse:r,path:S(t,null!=e?e:{})}:{data:e,method:n,parse:r,path:t}))}catch(t){return Promise.reject(t)}};function ot(t){var n=A(t);return{create:function(t){return rt(n,\"POST\",t)},delete:function(t){return rt(k(n)+t,\"DELETE\",{force:!0})},get:function(t){return rt(n,\"GET\",t)},getById:function(t,e){return rt(k(n)+t,\"GET\",e)},getWithPagination:function(t){return et(n,\"GET\",t)},trash:function(t){return rt(k(n)+t,\"DELETE\")},update:function(t){return rt(k(n)+t.id,\"PATCH\",t)}}}function it(t){var n={};return[\"categories\",\"comments\",\"blocks\",\"media\",\"menus\",\"menu-locations\",\"menu-items\",\"pages\",\"posts\",\"tags\",\"taxonomies\",\"search\"].map(function(t){return n[t]=function(){return ot(\"/wp/v2/\"+t)}}),n.menuItems=function(){return ot(\"/wp/v2/menu-items\")},n.users=function(){var t=ot(\"/wp/v2/users\");return t.delete=function(t,n){return void 0===n&&(n=!1),rt(\"/wp/v2/users/\"+t,\"DELETE\",{force:!0,reassign:n})},t},n.applicationPasswords=function(){return{create:function(t,n){return rt(\"/wp/v2/users/\"+t+\"/application-passwords\",\"POST\",n)},delete:function(t,n){return rt(\"/wp/v2/users/\"+t+\"/application-passwords/\"+n,\"DELETE\")},get:function(t){return rt(\"/wp/v2/users/\"+t+\"/application-passwords\",\"GET\")},getById:function(t,n){return rt(\"/wp/v2/users/\"+t+\"/application-passwords/\"+n,\"GET\")},introspect:function(t){return rt(\"/wp/v2/users/\"+t+\"/application-passwords/introspect\",\"GET\")},update:function(t,n,e){return rt(\"/wp/v2/users/\"+t+\"/application-passwords/\"+n,\"PUT\",e)}}},n.menuLocations=function(){return{get:function(){return rt(\"/wp/v2/menu-locations\",\"GET\")},getById:function(t){return rt(\"/wp/v2/menu-locations/\"+t,\"GET\")}}},n.settings=function(){return{get:function(){return rt(\"/wp/v2/settings\",\"GET\")},update:function(t){return rt(\"/wp/v2/settings\",\"POST\",t)}}},n.statuses=function(){return{get:function(t){return rt(\"/wp/v2/statuses\",\"GET\",null!=t?t:{})}}},n.types=function(){return{get:function(){return rt(\"/wp/v2/types\",\"GET\")},getById:function(t){return rt(\"'/wp/v2/types'/\"+t,\"GET\")}}},void 0!==t&&Object.keys(t).map(function(e){return n[e]=t[e]}),n}function ut(t,n,e){if(!t.s){if(e instanceof ct){if(!e.s)return void(e.o=ut.bind(null,t,n));1&n&&(n=e.s),e=e.v}if(e&&e.then)return void e.then(ut.bind(null,t,n),ut.bind(null,t,2));t.s=n,t.v=e;const r=t.o;r&&r(t)}}var ct=/*#__PURE__*/function(){function t(){}return t.prototype.then=function(n,e){var r=new t,o=this.s;if(o){var i=1&o?n:e;if(i){try{ut(r,1,i(this.v))}catch(t){ut(r,2,t)}return r}return this}return this.o=function(t){try{var o=t.v;1&t.s?ut(r,1,n?n(o):o):e?ut(r,1,e(o)):ut(r,2,o)}catch(t){ut(r,2,t)}},r},t}();function at(t){return t instanceof ct&&1&t.s}var st=function(e,r){dt({afterReload:gt,beforeReload:ht,getContext:e,pluginModule:r,register:t,unregister:n,type:\"block\"})},lt=function(t,n){dt({afterReload:function(){},beforeReload:function(){},getContext:t,pluginModule:n,register:e,unregister:r,type:\"plugin\"})},ft=function(t,n){dt({afterReload:function(){},beforeReload:function(){},getContext:t,pluginModule:n,register:a,unregister:s,type:\"format\"})},dt=function(t){var n=t.afterReload,e=t.beforeReload,r=t.getContext,o=t.pluginModule,i=t.register,u=t.unregister,c=t.type,a={},s=function(){e();var t=r();if(t){var o=[];return t.keys().forEach(function(n){var e=t(n);Boolean(e.exclude)||e!==a[n]&&(Boolean(a[e.name+\"-\"+c])&&u(e.name),i(e.name,e.settings),o.push(e.name),a[e.name+\"-\"+c]=e)}),n(o),t}},l=s();o.hot&&void 0!==(null==l?void 0:l.id)&&o.hot.accept(l.id.toString(),s)},pt=null,vt=[],ht=function(){pt=o(\"core/block-editor\").getSelectedBlockClientId()},mt=function(t,n){void 0===t&&(t=[]);var e=n.clientId,r=n.innerBlocks;t.includes(n.name)&&vt.push(e),r.forEach(function(n){return mt(t,n)})},gt=function(t){void 0===t&&(t=[]);try{return Promise.resolve(i(\"core/block-editor\").clearSelectedBlock()).then(function(){function n(){function t(){vt=[],pt=null}var n=null!==pt?Promise.resolve(i(\"core/block-editor\").selectBlock(pt)).then(function(){}):Promise.resolve(i(\"core/block-editor\").clearSelectedBlock()).then(function(){});return n&&n.then?n.then(t):t()}o(\"core/block-editor\").getBlocks().forEach(function(n){return mt(t,n)});var e,r,u,c,a,s=(e=vt,r=function(t){return Promise.resolve(i(\"core/block-editor\").selectBlock(vt[t])).then(function(){})},a=-1,function t(n){try{for(;++a<e.length;)if((n=r(a))&&n.then){if(!at(n))return void n.then(t,c||(c=ut.bind(null,u=new ct,2)));n=n.v}u?ut(u,1,n):u=n}catch(t){ut(u||(u=new ct),2,t)}}(),u);return s&&s.then?s.then(n):n()})}catch(t){return Promise.reject(t)}};function yt(t,n){var e={current:t},r={current:n};return n.some(function(t,n){return t!==r.current[n]})&&(e.current=t,r.current=n),function(){return e.current.apply(e,[].slice.call(arguments))}}function wt(t){var n=u(\"core/editor\").editPost,e=c(function(t){return{previous:t(\"core/editor\").getCurrentPostAttribute(\"meta\"),current:t(\"core/editor\").getEditedPostAttribute(\"meta\")}},[]),r=\"string\"==typeof t&&\"\"!==t,o=r?e.current[t]:e.current,i=r?e.previous[t]:e.previous,a=yt(function(e){var o;r&&n({meta:(o={},o[t]=e,o)})},[n,t,r]),s=yt(function(t,e){var r;n({meta:(r={},r[t]=e,r)})},[n]);return r?[o,a,i]:[o,s,i]}function bt(t){var n,e,r=u(\"core/editor\").editPost,o=c(function(n){var e=n(\"core\").getTaxonomy(t);return e?{taxonomy:e,current:n(\"core/editor\").getEditedPostAttribute(e.rest_base),previous:n(\"core/editor\").getCurrentPostAttribute(e.rest_base)}:{taxonomy:null,current:null,previous:null}},[t]),i=yt(function(t){try{var n;return Promise.resolve(o.taxonomy?r(((n={})[o.taxonomy.rest_base]=t,n)):void 0)}catch(t){return Promise.reject(t)}},[o,r]);return[null!=(n=o.current)?n:[],i,null!=(e=o.previous)?e:[]]}export{A as addLeadingSlash,S as addQueryArgs,k as addTrailingSlash,dt as autoload,st as autoloadBlocks,ft as autoloadFormats,lt as autoloadPlugins,U as buildQueryString,H as clearApplicationPassword,m as clearNonce,ot as createMethods,rt as doRequest,et as doRequestWithPagination,J as enableApplicationPassword,tt as fetchHandler,X as getApplicationPassword,F as getAuthorizationUrl,B as getFragment,O as getQueryArg,I as getQueryArgs,R as getQueryString,z as hasApplicationPassword,v as hasExternalNonce,nt as maybeRefreshNonce,_ as removeLeadingSlash,x as removeTrailingSlash,g as restoreNonce,N as restoreRootURL,d as setInitialNonce,L as setInitialRootURL,h as setNonce,D as setRootURL,wt as usePostMeta,bt as useTerms,it as wpapi};\n//# sourceMappingURL=index.module.js.map\n","import {CONFIG} from '../../globals/config';\nimport {Button, PanelBody, withFilters} from '@wordpress/components';\nimport {InspectorControls} from '@wordpress/block-editor';\nimport {decodeEntities} from '@wordpress/html-entities';\nimport {__} from '@wordpress/i18n';\n\nimport styles from './info-panel.pcss';\n\ntype Props = {\n\tclientId: string;\n};\n\nconst titleStyles = {\n\tcolor: '#3db634',\n\tfontWeight: 700,\n};\n\nconst headingStyles = {\n\tmargin: '16px 0 0',\n\tfontSize: '1.2em',\n};\n\nconst InfoPanel = ( {}: Props ) => {\n\treturn ( <InspectorControls>\n\t\t<PanelBody\n\t\t\ttitle={<span style={titleStyles}>\n\t\t\t\t{__( 'Go PRO', 'advanced-sidebar-menu' )}\n\t\t\t</span>}\n\t\t\tclassName={styles.wrap}\n\t\t\tinitialOpen={false}\n\t\t>\n\t\t\t<h2 style={headingStyles}>\n\t\t\t\t{__( 'Advanced Sidebar Menu PRO', 'advanced-sidebar-menu' )}\n\t\t\t</h2>\n\t\t\t<ul>\n\t\t\t\t{CONFIG.features.map( feature => (\n\t\t\t\t\t<li key={feature}>\n\t\t\t\t\t\t{decodeEntities( feature )}\n\t\t\t\t\t</li>\n\t\t\t\t) )}\n\t\t\t\t<li>\n\t\t\t\t\t{__( 'And so much more…', 'advanced-sidebar-menu' )}\n\t\t\t\t</li>\n\t\t\t</ul>\n\t\t\t<Button\n\t\t\t\tclassName={styles.button}\n\t\t\t\thref={'https://onpointplugins.com/product/advanced-sidebar-menu-pro/?utm_source=block-upgrade&utm_campaign=gopro&utm_medium=wp-dash#buy-now-choices'}\n\t\t\t\ttarget={'_blank'}\n\t\t\t\trel={'noreferrer'}\n\t\t\t\tisPrimary\n\t\t\t>\n\t\t\t\t{__( 'Upgrade', 'advanced-sidebar-menu' )}\n\t\t\t</Button>\n\t\t</PanelBody>\n\t</InspectorControls> );\n};\n\nexport default withFilters<Props>( 'advanced-sidebar-menu.blocks.info-panel' )( InfoPanel );\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n  module.exports = require('./cjs/react-jsx-runtime.production.min.js');\n} else {\n  module.exports = require('./cjs/react-jsx-runtime.development.js');\n}\n","'use strict';\nvar call = require('../internals/function-call');\nvar aCallable = require('../internals/a-callable');\nvar anObject = require('../internals/an-object');\nvar tryToString = require('../internals/try-to-string');\nvar getIteratorMethod = require('../internals/get-iterator-method');\n\nvar $TypeError = TypeError;\n\nmodule.exports = function (argument, usingIterator) {\n  var iteratorMethod = arguments.length < 2 ? getIteratorMethod(argument) : usingIterator;\n  if (aCallable(iteratorMethod)) return anObject(call(iteratorMethod, argument));\n  throw new $TypeError(tryToString(argument) + ' is not iterable');\n};\n","'use strict';\nvar call = require('../internals/function-call');\nvar anObject = require('../internals/an-object');\nvar getMethod = require('../internals/get-method');\n\nmodule.exports = function (iterator, kind, value) {\n  var innerResult, innerError;\n  anObject(iterator);\n  try {\n    innerResult = getMethod(iterator, 'return');\n    if (!innerResult) {\n      if (kind === 'throw') throw value;\n      return value;\n    }\n    innerResult = call(innerResult, iterator);\n  } catch (error) {\n    innerError = true;\n    innerResult = error;\n  }\n  if (kind === 'throw') throw value;\n  if (innerError) throw innerResult;\n  anObject(innerResult);\n  return value;\n};\n","'use strict';\nvar getBuiltIn = require('../internals/get-built-in');\nvar isCallable = require('../internals/is-callable');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar USE_SYMBOL_AS_UID = require('../internals/use-symbol-as-uid');\n\nvar $Object = Object;\n\nmodule.exports = USE_SYMBOL_AS_UID ? function (it) {\n  return typeof it == 'symbol';\n} : function (it) {\n  var $Symbol = getBuiltIn('Symbol');\n  return isCallable($Symbol) && isPrototypeOf($Symbol.prototype, $Object(it));\n};\n","'use strict';\n/* global ActiveXObject -- old IE, WSH */\nvar anObject = require('../internals/an-object');\nvar definePropertiesModule = require('../internals/object-define-properties');\nvar enumBugKeys = require('../internals/enum-bug-keys');\nvar hiddenKeys = require('../internals/hidden-keys');\nvar html = require('../internals/html');\nvar documentCreateElement = require('../internals/document-create-element');\nvar sharedKey = require('../internals/shared-key');\n\nvar GT = '>';\nvar LT = '<';\nvar PROTOTYPE = 'prototype';\nvar SCRIPT = 'script';\nvar IE_PROTO = sharedKey('IE_PROTO');\n\nvar EmptyConstructor = function () { /* empty */ };\n\nvar scriptTag = function (content) {\n  return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT;\n};\n\n// Create object with fake `null` prototype: use ActiveX Object with cleared prototype\nvar NullProtoObjectViaActiveX = function (activeXDocument) {\n  activeXDocument.write(scriptTag(''));\n  activeXDocument.close();\n  var temp = activeXDocument.parentWindow.Object;\n  // eslint-disable-next-line no-useless-assignment -- avoid memory leak\n  activeXDocument = null;\n  return temp;\n};\n\n// Create object with fake `null` prototype: use iframe Object with cleared prototype\nvar NullProtoObjectViaIFrame = function () {\n  // Thrash, waste and sodomy: IE GC bug\n  var iframe = documentCreateElement('iframe');\n  var JS = 'java' + SCRIPT + ':';\n  var iframeDocument;\n  iframe.style.display = 'none';\n  html.appendChild(iframe);\n  // https://github.com/zloirock/core-js/issues/475\n  iframe.src = String(JS);\n  iframeDocument = iframe.contentWindow.document;\n  iframeDocument.open();\n  iframeDocument.write(scriptTag('document.F=Object'));\n  iframeDocument.close();\n  return iframeDocument.F;\n};\n\n// Check for document.domain and active x support\n// No need to use active x approach when document.domain is not set\n// see https://github.com/es-shims/es5-shim/issues/150\n// variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346\n// avoid IE GC bug\nvar activeXDocument;\nvar NullProtoObject = function () {\n  try {\n    activeXDocument = new ActiveXObject('htmlfile');\n  } catch (error) { /* ignore */ }\n  NullProtoObject = typeof document != 'undefined'\n    ? document.domain && activeXDocument\n      ? NullProtoObjectViaActiveX(activeXDocument) // old IE\n      : NullProtoObjectViaIFrame()\n    : NullProtoObjectViaActiveX(activeXDocument); // WSH\n  var length = enumBugKeys.length;\n  while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];\n  return NullProtoObject();\n};\n\nhiddenKeys[IE_PROTO] = true;\n\n// `Object.create` method\n// https://tc39.es/ecma262/#sec-object.create\n// eslint-disable-next-line es/no-object-create -- safe\nmodule.exports = Object.create || function create(O, Properties) {\n  var result;\n  if (O !== null) {\n    EmptyConstructor[PROTOTYPE] = anObject(O);\n    result = new EmptyConstructor();\n    EmptyConstructor[PROTOTYPE] = null;\n    // add \"__proto__\" for Object.getPrototypeOf polyfill\n    result[IE_PROTO] = O;\n  } else result = NullProtoObject();\n  return Properties === undefined ? result : definePropertiesModule.f(result, Properties);\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\n\nvar id = 0;\nvar postfix = Math.random();\nvar toString = uncurryThis(1.1.toString);\n\nmodule.exports = function (key) {\n  return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);\n};\n","'use strict';\n// Should throw an error on invalid iterator\n// https://issues.chromium.org/issues/336839115\nmodule.exports = function (methodName, argument) {\n  // eslint-disable-next-line es/no-iterator -- required for testing\n  var method = typeof Iterator == 'function' && Iterator.prototype[methodName];\n  if (method) try {\n    method.call({ next: null }, argument).next();\n  } catch (error) {\n    return true;\n  }\n};\n","'use strict';\nvar NATIVE_BIND = require('../internals/function-bind-native');\n\nvar call = Function.prototype.call;\n// eslint-disable-next-line es/no-function-prototype-bind -- safe\nmodule.exports = NATIVE_BIND ? call.bind(call) : function () {\n  return call.apply(call, arguments);\n};\n","'use strict';\n/* eslint-disable es/no-symbol -- required for testing */\nvar V8_VERSION = require('../internals/environment-v8-version');\nvar fails = require('../internals/fails');\nvar globalThis = require('../internals/global-this');\n\nvar $String = globalThis.String;\n\n// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing\nmodule.exports = !!Object.getOwnPropertySymbols && !fails(function () {\n  var symbol = Symbol('symbol detection');\n  // Chrome 38 Symbol has incorrect toString conversion\n  // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances\n  // nb: Do not call `String` directly to avoid this being optimized out to `symbol+''` which will,\n  // of course, fail.\n  return !$String(symbol) || !(Object(symbol) instanceof Symbol) ||\n    // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances\n    !Symbol.sham && V8_VERSION && V8_VERSION < 41;\n});\n","'use strict';\nvar internalObjectKeys = require('../internals/object-keys-internal');\nvar enumBugKeys = require('../internals/enum-bug-keys');\n\nvar hiddenKeys = enumBugKeys.concat('length', 'prototype');\n\n// `Object.getOwnPropertyNames` method\n// https://tc39.es/ecma262/#sec-object.getownpropertynames\n// eslint-disable-next-line es/no-object-getownpropertynames -- safe\nexports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {\n  return internalObjectKeys(O, hiddenKeys);\n};\n","module.exports = window.wp?.url;","module.exports = lodash;","import {CONFIG} from '../../../globals/config';\nimport {BlockSettings, LegacyWidget} from '@wordpress/blocks';\nimport Edit from './Edit';\nimport {DisplayOptions} from '../Display';\nimport {getBlockSupports, transformLegacyWidget, translateBlockAttributes} from '../../helpers';\nimport {__} from '@wordpress/i18n';\nimport type {CommonAttr} from '../Preview';\nimport CategoriesIcon from './CategoriesIcon';\n\n/**\n * Attributes specific to the widget as well as shared\n * widget attributes.\n *\n * @see \\Advanced_Sidebar_Menu\\Blocks\\Block_Abstract::get_all_attributes\n * @see \\Advanced_Sidebar_Menu\\Blocks\\Pages::get_attributes\n */\nexport type Attr = {\n\texclude: string;\n\tnew_widget: 'widget' | 'list';\n\tsingle: boolean;\n} & DisplayOptions & ProRegistered & CommonAttr;\n\n// Options used by basic when available from PRO.\ntype ProRegistered = {\n\ttaxonomy?: string;\n}\n\nexport type setAttributes = ( newValue: {\n\t[attribute in keyof Attr]?: Attr[attribute]\n} ) => void;\n\n/**\n * Attributes used for the example preview.\n * Combines some PRO and basic attributes.\n * The PRO attributes will only be sent if PRO is active.\n */\nconst EXAMPLE = {\n\t'display-posts': 'all',\n\t'display-posts/limit': 2,\n\tapply_current_page_parent_styles_to_parent: true,\n\tapply_current_page_styles_to_parent: true,\n\tblock_style: true,\n\tborder: true,\n\tborder_color: '#333',\n\tbullet_style: 'none',\n\tchild_page_bg_color: '#666',\n\tchild_page_color: '#fff',\n\tparent_page_bg_color: '#282828',\n\tparent_page_color: '#0cc4c6',\n\tparent_page_font_weight: 'normal',\n\tdisplay_all: true,\n\tgrandchild_page_bg_color: '#989898',\n\tgrandchild_page_color: '#282828',\n\tgrandchild_page_font_weight: 'bold',\n\tinclude_childless_parent: true,\n\tinclude_parent: true,\n\tlevels: 2,\n};\n\n\nexport const block = CONFIG.blocks.categories;\n\nexport const name = block.id;\n\nexport const settings: BlockSettings<Attr, '', LegacyWidget<Attr & { title: string }>> = {\n\ttitle: __( 'Advanced Sidebar - Categories', 'advanced-sidebar-menu' ),\n\ticon: CategoriesIcon,\n\tcategory: 'widgets',\n\tdescription: __( 'Creates a menu of all the categories using the parent/child relationship',\n\t\t'advanced-sidebar-menu' ),\n\tkeywords: [\n\t\t__( 'taxonomy', 'advanced-sidebar-menu' ),\n\t\t__( 'term', 'advanced-sidebar-menu' ),\n\t\t__( 'category', 'advanced-sidebar-menu' ),\n\t\t__( 'menu', 'advanced-sidebar-menu' ),\n\t],\n\texample: {\n\t\tattributes: EXAMPLE,\n\t},\n\ttransforms: {\n\t\tfrom: [\n\t\t\t{\n\t\t\t\ttype: 'block',\n\t\t\t\tblocks: [ 'core/legacy-widget' ],\n\t\t\t\tisMatch: ( {idBase, instance} ) => {\n\t\t\t\t\tif ( null === instance?.raw ) {\n\t\t\t\t\t\t// Can't transform if the raw instance is not shown in REST API.\n\t\t\t\t\t\treturn false;\n\t\t\t\t\t}\n\t\t\t\t\treturn 'advanced_sidebar_menu_category' === idBase;\n\t\t\t\t},\n\t\t\t\ttransform: transformLegacyWidget<Attr>( name ),\n\t\t\t},\n\t\t],\n\t},\n\tattributes: translateBlockAttributes<Attr>( block.attributes ),\n\tsupports: getBlockSupports(),\n\tedit: props => (\n\t\t<Edit {...props} />\n\t),\n\tsave: () => null,\n\tapiVersion: 3,\n};\n","'use strict';\nvar ceil = Math.ceil;\nvar floor = Math.floor;\n\n// `Math.trunc` method\n// https://tc39.es/ecma262/#sec-math.trunc\n// eslint-disable-next-line es/no-math-trunc -- safe\nmodule.exports = Math.trunc || function trunc(x) {\n  var n = +x;\n  return (n > 0 ? floor : ceil)(n);\n};\n","module.exports = window.wp?.htmlEntities;","'use strict';\nvar $ = require('../internals/export');\nvar globalThis = require('../internals/global-this');\nvar anInstance = require('../internals/an-instance');\nvar anObject = require('../internals/an-object');\nvar isCallable = require('../internals/is-callable');\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\nvar defineBuiltInAccessor = require('../internals/define-built-in-accessor');\nvar createProperty = require('../internals/create-property');\nvar fails = require('../internals/fails');\nvar hasOwn = require('../internals/has-own-property');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar IteratorPrototype = require('../internals/iterators-core').IteratorPrototype;\nvar DESCRIPTORS = require('../internals/descriptors');\nvar IS_PURE = require('../internals/is-pure');\n\nvar CONSTRUCTOR = 'constructor';\nvar ITERATOR = 'Iterator';\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\n\nvar $TypeError = TypeError;\nvar NativeIterator = globalThis[ITERATOR];\n\n// FF56- have non-standard global helper `Iterator`\nvar FORCED = IS_PURE\n  || !isCallable(NativeIterator)\n  || NativeIterator.prototype !== IteratorPrototype\n  // FF44- non-standard `Iterator` passes previous tests\n  || !fails(function () { NativeIterator({}); });\n\nvar IteratorConstructor = function Iterator() {\n  anInstance(this, IteratorPrototype);\n  if (getPrototypeOf(this) === IteratorPrototype) throw new $TypeError('Abstract class Iterator not directly constructable');\n};\n\nvar defineIteratorPrototypeAccessor = function (key, value) {\n  if (DESCRIPTORS) {\n    defineBuiltInAccessor(IteratorPrototype, key, {\n      configurable: true,\n      get: function () {\n        return value;\n      },\n      set: function (replacement) {\n        anObject(this);\n        if (this === IteratorPrototype) throw new $TypeError(\"You can't redefine this property\");\n        if (hasOwn(this, key)) this[key] = replacement;\n        else createProperty(this, key, replacement);\n      }\n    });\n  } else IteratorPrototype[key] = value;\n};\n\nif (!hasOwn(IteratorPrototype, TO_STRING_TAG)) defineIteratorPrototypeAccessor(TO_STRING_TAG, ITERATOR);\n\nif (FORCED || !hasOwn(IteratorPrototype, CONSTRUCTOR) || IteratorPrototype[CONSTRUCTOR] === Object) {\n  defineIteratorPrototypeAccessor(CONSTRUCTOR, IteratorConstructor);\n}\n\nIteratorConstructor.prototype = IteratorPrototype;\n\n// `Iterator` constructor\n// https://tc39.es/ecma262/#sec-iterator\n$({ global: true, constructor: true, forced: FORCED }, {\n  Iterator: IteratorConstructor\n});\n","'use strict';\nvar internalObjectKeys = require('../internals/object-keys-internal');\nvar enumBugKeys = require('../internals/enum-bug-keys');\n\n// `Object.keys` method\n// https://tc39.es/ecma262/#sec-object.keys\n// eslint-disable-next-line es/no-object-keys -- safe\nmodule.exports = Object.keys || function keys(O) {\n  return internalObjectKeys(O, enumBugKeys);\n};\n","'use strict';\nvar getBuiltIn = require('../internals/get-built-in');\n\nmodule.exports = getBuiltIn('document', 'documentElement');\n","import {type ReactElement, useEffect} from 'react';\nimport {CONFIG} from '../../globals/config';\nimport ServerSideRender from '@wordpress/server-side-render';\nimport {Placeholder, Spinner} from '@wordpress/components';\nimport {useBlockProps} from '@wordpress/block-editor';\nimport DOMPurify from 'dompurify';\nimport {applyFilters, doAction} from '@wordpress/hooks';\nimport {__} from '@wordpress/i18n';\nimport {select} from '@wordpress/data';\nimport {isScreen} from '../helpers';\nimport PagesIcon from './pages/PagesIcon';\nimport CategoriesIcon from './categories/CategoriesIcon';\nimport NavigationIcon from './NavigationIcon';\n\nimport styles from './preview.pcss';\n\n\n/**\n * @see \\Advanced_Sidebar_Menu\\Blocks\\Common_Attributes::get_common_attributes\n */\nexport type CommonAttr = {\n\ttitle?: string;\n\tstyle?: object;\n}\n\n/**\n * @see \\Advanced_Sidebar_Menu\\Blocks\\Common_Attributes::get_server_side_render_attributes\n */\nexport type ServerSideRenderRequired = {\n\tisServerSideRenderRequest: boolean;\n\tclientId: string;\n\tsidebarId: string;\n}\n\ntype Props<A> = {\n\tattributes: A;\n\tblock: string;\n\tclientId: string;\n};\n\n/**\n * Sanitize a client id for use as an HTML id.\n *\n * Must not start with a `-` or a digit.\n *\n */\nexport const sanitizeClientId = ( clientId: string ): string => {\n\treturn clientId.replace( /^([\\d-])/, '_$1' );\n};\n\n/**\n * If we are in the widgets' area, the block is wrapped in\n * a \"sidebar\" block. We retrieve the id to pass along with\n * the request to use the `widget_args` within the preview.\n *\n */\nconst getSidebarId = ( clientId: string ): string => {\n\tif ( ! isScreen( [ 'widgets' ] ) ) {\n\t\treturn '';\n\t}\n\tconst rootId = select( 'core/block-editor' ).getBlockRootClientId( clientId );\n\tif ( 'undefined' !== typeof rootId && '' !== rootId ) {\n\t\tconst ParentBlock = select( 'core/block-editor' ).getBlocksByClientId( [ rootId ] );\n\t\tif ( null !== ParentBlock[ 0 ] && 'undefined' !== typeof ParentBlock[ 0 ] && 'core/widget-area' === ParentBlock[ 0 ]?.name ) {\n\t\t\treturn ParentBlock[ 0 ]?.attributes?.id;\n\t\t}\n\t}\n\n\treturn '';\n};\n\n/**\n * @notice Must use static constants, or the ServerSide requests\n *         will fire anytime something on the page is changed\n *         because the component re-renders.\n */\nconst Page = () => <Placeholder\n\tclassName={styles.placeholder}\n\ticon={PagesIcon}\n\tlabel={__( 'Advanced Sidebar - Pages', 'advanced-sidebar-menu' )}\n\tinstructions={__( 'No preview available', 'advanced-sidebar-menu' )}\n/>;\n\nconst Category = () => <Placeholder\n\tclassName={styles.placeholder}\n\ticon={CategoriesIcon}\n\tlabel={__( 'Advanced Sidebar - Categories', 'advanced-sidebar-menu' )}\n\tinstructions={__( 'No preview available', 'advanced-sidebar-menu' )}\n/>;\n\nconst Navigation = () => <Placeholder\n\tclassName={styles.placeholder}\n\ticon={NavigationIcon}\n\tlabel={__( 'Advanced Sidebar - Navigation', 'advanced-sidebar-menu' )}\n\tinstructions={__( 'No preview available', 'advanced-sidebar-menu' )}\n/>;\n\n/**\n * @notice The styles will not display for the preview\n *         in the block inserter sidebar when Webpack\n *         is enabled because the iframe has a late init.\n */\nconst placeholder = ( block: string ): () => ReactElement => {\n\tswitch ( block ) {\n\t\tcase CONFIG.blocks.pages.id:\n\t\t\treturn Page;\n\t\tcase CONFIG.blocks.categories.id:\n\t\t\treturn Category;\n\t\tcase CONFIG.blocks.navigation?.id:\n\t\t\treturn Navigation;\n\t}\n\treturn () => <></>;\n};\n\n\n/**\n * Same as the `DefaultLoadingResponsePlaceholder` except we trigger\n * an action when the loading component is unmounted to allow\n * components to hook into when ServerSideRender has finished loading.\n *\n * @notice Using a constant to prevent a reload on every content change.\n */\nconst TriggerWhenLoadingFinished = ( {\n\tchildren,\n\tattributes = {\n\t\tclientId: '',\n\t},\n} ) => {\n\tuseEffect( () => {\n\t\t// Call action when the loading component unmounts because loading is finished.\n\t\treturn () => {\n\t\t\t// Give the preview a chance to load on WP 5.8.\n\t\t\tsetTimeout( () => {\n\t\t\t\tdoAction( 'advanced-sidebar-menu.blocks.preview.loading-finished', {\n\t\t\t\t\tvalues: attributes,\n\t\t\t\t\tclientId: attributes.clientId,\n\t\t\t\t} );\n\t\t\t}, 100 );\n\t\t};\n\t} );\n\n\t/**\n\t * ServerSideRender returns a <RawHTML /> filled with an error object when fetch fails.\n\t *\n\t * We throw an error, so our `ErrorBoundary` will catch it, otherwise we end up\n\t * with a \"React objects may not be used as children\" error, which means nothing.\n\t */\n\tif ( 'string' === typeof children?.props?.children?.errorMsg ) {\n\t\tthrow new Error( children?.props?.children?.errorMsg ?? 'Failed' );\n\t}\n\n\treturn (\n\t\t<div className={styles.spinWrap}>\n\t\t\t<div className={styles.spin}>\n\t\t\t\t<Spinner />\n\t\t\t</div>\n\t\t\t<div className={styles.spinContent}>\n\t\t\t\t{children}\n\t\t\t</div>\n\t\t</div>\n\t);\n};\n\n\nconst Preview = <A, >( {attributes, block, clientId}: Props<A> ) => {\n\tconst blockProps = useBlockProps( {\n\t\tclassName: styles.wrap,\n\t} );\n\n\tif ( '' !== CONFIG.error ) {\n\t\treturn <div\n\t\t\tclassName={styles.error}\n\t\t\tdangerouslySetInnerHTML={{__html: DOMPurify.sanitize( CONFIG.error )}} />;\n\t}\n\n\n\tconst sanitizedClientId = sanitizeClientId( clientId );\n\n\tlet attributesToSend: A & ServerSideRenderRequired = {\n\t\t...attributes,\n\t\tisServerSideRenderRequest: true,\n\t\tclientId: sanitizedClientId,\n\t\tsidebarId: getSidebarId( clientId ),\n\t};\n\t/**\n\t * Filters the attributes sent to the preview.\n\t *\n\t * @since 9.6.3\n\t *\n\t * @param {Object} attributes The attributes to send to the preview.\n\t * @param {string} block      The block name.\n\t * @param {string} clientId   The client id.\n\t */\n\tattributesToSend = applyFilters( 'advanced-sidebar-menu.blocks.preview.attributes', attributesToSend, block, clientId );\n\n\treturn (\n\t\t// eslint-disable-next-line jsx-a11y/click-events-have-key-events,jsx-a11y/no-static-element-interactions\n\t\t<div\n\t\t\t{...blockProps}\n\t\t\tonClick={ev => {\n\t\t\t\tconst element = ev.target as HTMLElement;\n\t\t\t\tif ( 'A' === element.nodeName || ( 'SPAN' === element.nodeName && 'A' === element.parentNode?.nodeName ) ) {\n\t\t\t\t\tev.preventDefault();\n\t\t\t\t}\n\t\t\t}}\n\t\t>\n\t\t\t<ServerSideRender<A & ServerSideRenderRequired>\n\t\t\t\tEmptyResponsePlaceholder={placeholder( block )}\n\t\t\t\tLoadingResponsePlaceholder={TriggerWhenLoadingFinished}\n\t\t\t\tattributes={attributesToSend}\n\t\t\t\tblock={block}\n\t\t\t\thttpMethod={'POST'}\n\t\t\t\tskipBlockSupportAttributes\n\t\t\t/>\n\t\t</div>\n\t);\n};\n\nexport default Preview;\n","'use strict';\nvar anObject = require('../internals/an-object');\nvar iteratorClose = require('../internals/iterator-close');\n\n// call something on iterator step with safe closing on error\nmodule.exports = function (iterator, fn, value, ENTRIES) {\n  try {\n    return ENTRIES ? fn(anObject(value)[0], value[1]) : fn(value);\n  } catch (error) {\n    iteratorClose(iterator, 'throw', error);\n  }\n};\n","'use strict';\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\n\nvar min = Math.min;\n\n// `ToLength` abstract operation\n// https://tc39.es/ecma262/#sec-tolength\nmodule.exports = function (argument) {\n  var len = toIntegerOrInfinity(argument);\n  return len > 0 ? min(len, 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991\n};\n","'use strict';\nvar fails = require('../internals/fails');\n\nmodule.exports = !fails(function () {\n  // eslint-disable-next-line es/no-function-prototype-bind -- safe\n  var test = (function () { /* empty */ }).bind();\n  // eslint-disable-next-line no-prototype-builtins -- safe\n  return typeof test != 'function' || test.hasOwnProperty('prototype');\n});\n","'use strict';\nvar fails = require('../internals/fails');\n\nmodule.exports = !fails(function () {\n  function F() { /* empty */ }\n  F.prototype.constructor = null;\n  // eslint-disable-next-line es/no-object-getprototypeof -- required for testing\n  return Object.getPrototypeOf(new F()) !== F.prototype;\n});\n","var map = {\n\t\"./categories/block.tsx\": 8148,\n\t\"./pages/block.tsx\": 4334,\n\t\"gutenberg/blocks/categories/block.tsx\": 8148,\n\t\"gutenberg/blocks/pages/block.tsx\": 4334\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = 9406;","import {CheckboxControl, PanelBody, SelectControl, Slot} from '@wordpress/components';\nimport {CONFIG} from '../../globals/config';\nimport type {Attr as PageAttr} from './pages/block';\nimport type {Attr as CategoryAttr} from './categories/block';\nimport {__, sprintf} from '@wordpress/i18n';\nimport {Type} from '@wordpress/api/types';\nimport {range} from 'lodash';\nimport {Taxonomy} from '@wordpress/api/taxonomies';\nimport ErrorBoundary from '../../components/ErrorBoundary';\nimport {BlockEditProps} from '@wordpress/blocks';\nimport {PropsWithChildren} from 'react';\n\n\nexport type DisplayOptions = {\n\tdisplay_all?: boolean;\n\tinclude_childless_parent?: boolean;\n\tinclude_parent?: boolean;\n\tlevels: number;\n}\n\nexport type FillProps =\n\tPick<BlockEditProps<PageAttr | CategoryAttr>, 'clientId' | 'attributes' | 'setAttributes' | 'name'>\n\t& { type?: Type<'edit'> | Taxonomy<'edit'> }\n\ntype Props = PropsWithChildren<{\n\tattributes: PageAttr | CategoryAttr;\n\tsetAttributes: BlockEditProps<PageAttr | CategoryAttr>['setAttributes'];\n\ttype?: Type<'edit'> | Taxonomy<'edit'>;\n\tname: string;\n\tclientId: string;\n}>;\n\nconst checkboxes: { [attr in keyof Partial<DisplayOptions>]: string } = {\n\t/* translators: %s Selected taxonomy single label */\n\tinclude_parent: __( 'Display highest level parent %s', 'advanced-sidebar-menu' ),\n\t/* translators: %s Selected taxonomy single label */\n\tinclude_childless_parent: __( 'Display menu when there is only the parent %s', 'advanced-sidebar-menu' ),\n\t/* translators: %s Selected taxonomy plural label */\n\tdisplay_all: __( 'Always display child %s', 'advanced-sidebar-menu' ),\n};\n\nconst LEVEL_OPTIONS: Array<{ value: string, label: string }> = [\n\t{\n\t\tvalue: '100',\n\t\tlabel: __( '- All -', 'advanced-sidebar-menu' ),\n\t},\n\t...range( 1, 11 ).map( n => (\n\t\t{\n\t\t\tvalue: n.toString(),\n\t\t\tlabel: n.toString(),\n\t\t}\n\t) ),\n];\n\n/**\n * Display Options shared between widgets.\n *\n * 1. Display the highest level parent page.\n * 2. Display the menu when there is only the parent page.\n * 3. Always display child pages.\n * 5. Display levels of child pages.\n *\n */\nconst Display = ( {\n\tattributes,\n\tsetAttributes,\n\ttype,\n\tname,\n\tclientId,\n\tchildren,\n}: Props ) => {\n\tconst showLevels = ( CONFIG.blocks.pages.id === name && '1' === CONFIG.isPro ) || true === attributes.display_all;\n\n\tconst fillProps: FillProps = {\n\t\ttype,\n\t\tattributes,\n\t\tname,\n\t\tsetAttributes,\n\t\tclientId,\n\t};\n\n\treturn (\n\t\t<PanelBody title={__( 'Display', 'advanced-sidebar-menu' )}>\n\t\t\t{Object.keys( checkboxes ).map( item => {\n\t\t\t\tlet label = type?.labels?.singular_name.toLowerCase() ?? '';\n\t\t\t\tif ( 'display_all' === item ) {\n\t\t\t\t\tlabel = type?.labels?.name.toLowerCase() ?? '';\n\t\t\t\t}\n\t\t\t\treturn <CheckboxControl\n\t\t\t\t\tkey={item}\n\t\t\t\t\t//eslint-disable-next-line @wordpress/valid-sprintf\n\t\t\t\t\tlabel={sprintf( checkboxes[ item ], label )}\n\t\t\t\t\tchecked={true === attributes[ item ]}\n\t\t\t\t\tonChange={checked => {\n\t\t\t\t\t\tsetAttributes( {\n\t\t\t\t\t\t\t[ item ]: checked,\n\t\t\t\t\t\t} );\n\t\t\t\t\t}}\n\t\t\t\t\t// @ts-expect-error -- Not technically available until WP 6.7.\n\t\t\t\t\t__nextHasNoMarginBottom\n\t\t\t\t/>;\n\t\t\t} )}\n\t\t\t{showLevels &&\n\t\t\t\t<SelectControl\n\t\t\t\t\tkey={'levels'}\n\t\t\t\t\t/* translators: %s {select HTML input}, {post type plural label} */\n\t\t\t\t\tlabel={sprintf( __( 'Levels of child %s to display', 'advanced-sidebar-menu' ), type?.labels?.name.toLowerCase() ?? '' )}\n\t\t\t\t\tclassName={'advanced-sidebar-menu-display-select'}\n\t\t\t\t\tvalue={attributes.levels.toString()}\n\t\t\t\t\tonChange={value => {\n\t\t\t\t\t\tsetAttributes( {\n\t\t\t\t\t\t\tlevels: parseInt( value ),\n\t\t\t\t\t\t} );\n\t\t\t\t\t}}\n\t\t\t\t\toptions={LEVEL_OPTIONS}\n\t\t\t\t\t// @ts-expect-error -- Not technically available until WP 6.7.\n\t\t\t\t\t__next40pxDefaultSize\n\t\t\t\t\t__nextHasNoMarginBottom\n\t\t\t\t/>}\n\t\t\t{children}\n\n\t\t\t<ErrorBoundary attributes={attributes} block={name} section={'Display/slots'}>\n\t\t\t\t{CONFIG.blocks.pages.id === name &&\n\t\t\t\t\t<Slot<FillProps>\n\t\t\t\t\t\tname=\"advanced-sidebar-menu/pages/display\"\n\t\t\t\t\t\tfillProps={fillProps} />}\n\t\t\t\t{CONFIG.blocks.categories.id === name &&\n\t\t\t\t\t<Slot<FillProps>\n\t\t\t\t\t\tname=\"advanced-sidebar-menu/categories/display\"\n\t\t\t\t\t\tfillProps={fillProps} />}\n\t\t\t</ErrorBoundary>\n\n\t\t</PanelBody>\n\t);\n};\n\nexport default Display;\n","'use strict';\n// we can't use just `it == null` since of `document.all` special case\n// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec\nmodule.exports = function (it) {\n  return it === null || it === undefined;\n};\n","'use strict';\nvar check = function (it) {\n  return it && it.Math === Math && it;\n};\n\n// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028\nmodule.exports =\n  // eslint-disable-next-line es/no-global-this -- safe\n  check(typeof globalThis == 'object' && globalThis) ||\n  check(typeof window == 'object' && window) ||\n  // eslint-disable-next-line no-restricted-globals -- safe\n  check(typeof self == 'object' && self) ||\n  check(typeof global == 'object' && global) ||\n  check(typeof this == 'object' && this) ||\n  // eslint-disable-next-line no-new-func -- fallback\n  (function () { return this; })() || Function('return this')();\n","'use strict';\nvar classof = require('../internals/classof');\nvar getMethod = require('../internals/get-method');\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\nvar Iterators = require('../internals/iterators');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar ITERATOR = wellKnownSymbol('iterator');\n\nmodule.exports = function (it) {\n  if (!isNullOrUndefined(it)) return getMethod(it, ITERATOR)\n    || getMethod(it, '@@iterator')\n    || Iterators[classof(it)];\n};\n","'use strict';\nvar globalThis = require('../internals/global-this');\nvar userAgent = require('../internals/environment-user-agent');\n\nvar process = globalThis.process;\nvar Deno = globalThis.Deno;\nvar versions = process && process.versions || Deno && Deno.version;\nvar v8 = versions && versions.v8;\nvar match, version;\n\nif (v8) {\n  match = v8.split('.');\n  // in old Chrome, versions of V8 isn't V8 = Chrome / 10\n  // but their correct versions are not interesting for us\n  version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);\n}\n\n// BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`\n// so check `userAgent` even if `.v8` exists, but 0\nif (!version && userAgent) {\n  match = userAgent.match(/Edge\\/(\\d+)/);\n  if (!match || match[1] >= 74) {\n    match = userAgent.match(/Chrome\\/(\\d+)/);\n    if (match) version = +match[1];\n  }\n}\n\nmodule.exports = version;\n","import {TextControl, withFilters} from '@wordpress/components';\nimport {__, sprintf} from '@wordpress/i18n';\nimport {Type} from '@wordpress/api/types';\nimport {Attr as PageAttr} from './pages/block';\nimport {Attr as CategoryAttr} from './categories/block';\nimport {BlockEditProps} from '@wordpress/blocks';\nimport {Taxonomy} from '@wordpress/api/taxonomies';\nimport DOMPurify from 'dompurify';\n\ntype Props = {\n\tattributes: PageAttr | CategoryAttr;\n\tsetAttributes: BlockEditProps<PageAttr | CategoryAttr>['setAttributes'];\n\ttype?: Type<'edit'> | Taxonomy<'edit'>;\n};\n\n/**\n * The Exclude field shared between widgets.\n *\n * Removed and replaced via filter by the PRO version.\n */\nconst ExcludeField = ( {type, attributes, setAttributes}: Props ) => {\n\tconst help = <p>\n\t\t<br />\n\t\t<span\n\t\t\tdangerouslySetInnerHTML={{\n\t\t\t\t__html: DOMPurify.sanitize( sprintf(\n\t\t\t\t\t/* translators: 1: Opening anchor tag, 2: Closing anchor tag */\n\t\t\t\t\t__( 'For more robust and intuitive exclusions use the %1$sPRO version%2$s.', 'advanced-sidebar-menu' ), '<a href=\"https://onpointplugins.com/advanced-sidebar-menu/advanced-sidebar-menu-pro-widget-docs/advanced-sidebar-menu-pro-excluding-menu-items/?utm_source=exclude-field&utm_campaign=gopro&utm_medium=wp-dash\" target=\"_blank\" rel=\"noopener noreferrer\">', '</a>' ), {ADD_ATTR: [ 'target' ]} ),\n\t\t\t}} />\n\t</p>;\n\n\treturn (\n\t\t<TextControl\n\t\t\t/* translators: %s: Selected post type plural label */\n\t\t\tlabel={sprintf( __( '%s to exclude', 'advanced-sidebar-menu' ), type?.labels?.name ?? '' )}\n\t\t\tvalue={attributes.exclude}\n\t\t\thelp={<>{__( 'ids, comma separated', 'advanced-sidebar-menu' )}{help}</>}\n\t\t\tonChange={value => {\n\t\t\t\tsetAttributes( {\n\t\t\t\t\texclude: value,\n\t\t\t\t} );\n\t\t\t}}\n\t\t\t// @ts-expect-error -- Not technically supported until WP 6.7\n\t\t\t__nextHasNoMarginBottom\n\t\t/>\n\t);\n};\n\nexport default withFilters<Props>( 'advanced-sidebar-menu.blocks.exclude-field' )( ExcludeField );\n","'use strict';\n// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot\nvar documentAll = typeof document == 'object' && document.all;\n\n// `IsCallable` abstract operation\n// https://tc39.es/ecma262/#sec-iscallable\n// eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing\nmodule.exports = typeof documentAll == 'undefined' && documentAll !== undefined ? function (argument) {\n  return typeof argument == 'function' || argument === documentAll;\n} : function (argument) {\n  return typeof argument == 'function';\n};\n","'use strict';\n// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe\nexports.f = Object.getOwnPropertySymbols;\n","// extracted by mini-css-extract-plugin\nexport default {\"error\":\"edit__error__lZ\"};","'use strict';\nvar isCallable = require('../internals/is-callable');\nvar tryToString = require('../internals/try-to-string');\n\nvar $TypeError = TypeError;\n\n// `Assert: IsCallable(argument) is true`\nmodule.exports = function (argument) {\n  if (isCallable(argument)) return argument;\n  throw new $TypeError(tryToString(argument) + ' is not a function');\n};\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar fails = require('../internals/fails');\n\n// V8 ~ Chrome 36-\n// https://bugs.chromium.org/p/v8/issues/detail?id=3334\nmodule.exports = DESCRIPTORS && fails(function () {\n  // eslint-disable-next-line es/no-object-defineproperty -- required for testing\n  return Object.defineProperty(function () { /* empty */ }, 'prototype', {\n    value: 42,\n    writable: false\n  }).prototype !== 42;\n});\n","// extracted by mini-css-extract-plugin\nexport default {\"wrap\":\"info-panel__wrap__k_\",\"button\":\"info-panel__button__Fg\"};","'use strict';\nvar globalThis = require('../internals/global-this');\n\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar defineProperty = Object.defineProperty;\n\nmodule.exports = function (key, value) {\n  try {\n    defineProperty(globalThis, key, { value: value, configurable: true, writable: true });\n  } catch (error) {\n    globalThis[key] = value;\n  } return value;\n};\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\tid: moduleId,\n\t\tloaded: false,\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Flag the module as loaded\n\tmodule.loaded = true;\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.hmd = (module) => {\n\tmodule = Object.create(module);\n\tif (!module.children) module.children = [];\n\tObject.defineProperty(module, 'exports', {\n\t\tenumerable: true,\n\t\tset: () => {\n\t\t\tthrow new Error('ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: ' + module.id);\n\t\t}\n\t});\n\treturn module;\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","import widgets from './modules/widgets';\n\nconsole.debug( 'Advanced Sidebar - Loaded' );\n\nwidgets();\n\n/**\n * 1. Blocks can't be lazy loaded, or they will be unavailable\n *    intermittently when developing.\n * 2. Theme Customizers must wait until the page is finished loading.\n *\n * @version 1.1.0\n */\nif ( typeof window.wp.element !== 'undefined' && typeof window.wp.plugins !== 'undefined' ) {\n\trequire( './gutenberg' ).default();\n} else if ( typeof window.wp.customize !== 'undefined' ) {\n\twindow.wp.customize.bind( 'ready', () => {\n\t\trequire( './gutenberg' ).default();\n\t} );\n}\n"],"names":["CONFIG","window","ADVANCED_SIDEBAR_MENU","__","useState","Notice","styles","jsx","_jsx","jsxs","_jsxs","DISMISS_KEY","TransformNotice","shown","setShown","className","wrap","politeness","onDismiss","localStorage","setItem","actions","label","url","variant","children","PagesIcon","xmlns","viewBox","x","fill","width","height","d","autoloadBlocks","Preview","getBlockSupports","transformLegacyWidget","translateBlockAttributes","ErrorBoundary","NavigationIcon","require","context","module","isPro","BlockControls","InspectorControls","PanelBody","SelectControl","Slot","TextControl","block","Display","useSelect","InfoPanel","SideLoad","isScreen","ExcludeField","DOMPurify","Fragment","_Fragment","Edit","attributes","setAttributes","clientId","name","postType","select","type","getPostType","post_type","error","dangerouslySetInnerHTML","__html","sanitize","id","fillProps","href","docs","page","target","rel","value","title","onChange","__nextHasNoMarginBottom","section","order_by","labelPosition","options","Object","entries","pages","orderBy","map","CategoriesIcon","CheckboxControl","sprintf","taxonomy","getTaxonomy","category","labels","toLowerCase","checked","single","new_widget","keys","categories","displayEach","key","withFilters","isEmpty","firstClientId","getBlockIndex","Component","addQueryArgs","constructor","props","state","hasError","getDerivedStateFromError","componentDidCatch","info","console","warn","setState","render","siteInfo","scriptDebug","style","color","onClick","e","preventDefault","location","open","support","border","padding","overflowWrap","currentScreen","message","JSON","stringify","stack","EXAMPLE","apply_current_page_parent_styles_to_parent","apply_current_page_styles_to_parent","block_style","border_color","bullet_style","child_page_bg_color","child_page_color","current_page_bg_color","current_page_color","current_page_font_weight","current_page_parent_bg_color","display_all","grandchild_page_bg_color","grandchild_page_color","grandchild_page_font_weight","include_childless_parent","include_parent","levels","parent_page_bg_color","parent_page_color","blocks","settings","icon","description","example","transforms","from","isMatch","idBase","instance","raw","transform","supports","edit","save","apiVersion","createRoot","renderTransformNotice","classicWidgets","getItem","placeholders","document","querySelectorAll","forEach","placeholder","root","isWidgets","jQuery","on","createBlock","screens","includes","translateLegacyWidget","commonAttr","previewAttr","blockSupport","Button","decodeEntities","titleStyles","fontWeight","headingStyles","margin","fontSize","initialOpen","features","feature","button","isPrimary","parent_page_font_weight","keywords","useEffect","ServerSideRender","Placeholder","Spinner","useBlockProps","applyFilters","doAction","sanitizeClientId","replace","getSidebarId","rootId","getBlockRootClientId","ParentBlock","getBlocksByClientId","Page","instructions","Category","Navigation","navigation","TriggerWhenLoadingFinished","setTimeout","values","errorMsg","Error","spinWrap","spin","spinContent","blockProps","sanitizedClientId","attributesToSend","isServerSideRenderRequest","sidebarId","ev","element","nodeName","parentNode","EmptyResponsePlaceholder","LoadingResponsePlaceholder","httpMethod","skipBlockSupportAttributes","range","checkboxes","LEVEL_OPTIONS","n","toString","showLevels","item","singular_name","parseInt","__next40pxDefaultSize","help","ADD_ATTR","exclude","widgets","debug","wp","plugins","default","customize","bind"],"sourceRoot":""}
     1{"version":3,"file":"advanced-sidebar-menu-block-editor.js","mappings":";;;;;;;;;;AAAa;AACb,YAAY,mBAAO,CAAC,8BAAoB;AACxC,iBAAiB,mBAAO,CAAC,oCAA0B;;AAEnD;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;;;;;;;;;;;;;;;ACtBA;AACA,iEAAe,CAAC,oCAAoC,E;;;;;;;;;;;ACDpD,oC;;;;;;;;;;;;;;;AC0EO,MAAMA,MAAgC,GAAGC,MAAM,CAACC,qBAAqB,C;;;;;;;;;;;;;;;;;;;;;;;;AC1EzC;AACJ;AACc;AAEA;AAAA;AAItC,MAAMS,WAAW,GAAG,kDAAkD;;AAE7E;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAMC,eAAe,GAAGA,CAAE,CAAQ,CAAC,KAAM;EACxC,MAAM,CAAEC,KAAK,EAAEC,QAAQ,CAAE,GAAGV,+CAAQ,CAAW,IAAK,CAAC;EAErD,IAAK,CAAES,KAAK,EAAG;IACd,OAAO,IAAI;EACZ;EAEA,oBACCH,uDAAA,CAACL,yDAAM;IACNU,SAAS,EAAET,8DAAM,CAACU,IAAK;IACvBC,UAAU,EAAE,QAAS;IACrBC,SAAS,EAAEA,CAAA,KAAM;MAChBJ,QAAQ,CAAE,KAAM,CAAC;MACjBK,YAAY,CAACC,OAAO,CAAET,WAAW,EAAE,GAAI,CAAC;IACzC,CAAE;IACFU,OAAO,EAAE,CAAE;MACVC,KAAK,EAAEnB,mDAAE,CAAE,iDAAiD,EAAE,uBAAwB,CAAC;MACvFoB,GAAG,EAAE,sHAAsH;MAC3HC,OAAO,EA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ACxE,eAAe,mBAAO,CAAC,kCAAwB;AAC/C,sBAAsB,mBAAO,CAAC,0CAAgC;AAC9D,iBAAiB,mBAAO,CAAC,oCAA0B;;AAEnD;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;;ACpBA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE;AACF;AACA;AACA;AACA;AACA,EAAE,UAAU;AACZ;AACA;AACA;AACA,EAAE;AACF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,2FAA2F,aAAa;AACxG;AACA;AACA;AACA;AACA;AACA;AACA;AACA,+FAA+F,eAAe;AAC9G;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,+FAA+F,eAAe;AAC9G;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,2EAA2E,eAAe;AAC1F;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,sBAAsB,sBAAsB;AAC5C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,8BAA8B,EAAE,iBAAiB,EAAE,MAAM;AACzD;AACA,8BAA8B,aAAa;AAC3C,wDAAwD;AACxD,0CAA0C;AAC1C;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA,KAAK;AACL,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;AACA,0CAA0C;AAC1C;AACA;AACA,0CAA0C;AAC1C;AACA;AACA,gBAAgB,sBAAsB;AACtC,gBAAgB,sBAAsB;AACtC,gBAAgB,SAAS;AACzB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,6CAA6C;AAC7C;AACA;AACA,2CAA2C;AAC3C;AACA;AACA,iDAAiD;AACjD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gDAAgD;AAChD,kDAAkD;AAClD,2CAA2C;AAC3C;AACA;AACA;AACA;AACA,kDAAkD;AAClD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,0EAA0E;AAC1E,0EAA0E;AAC1E,sFAAsF;AACtF;AACA;AACA,gFAAgF;AAChF,wEAAwE,gDAAgD;AACxH,wEAAwE,gDAAgD;AACxH;AACA,qDAAqD;AACrD,qDAAqD;AACrD,oEAAoE;AACpE,uEAAuE;AACvE,0DAA0D;AAC1D,+CAA+C;AAC/C,kDAAkD;AAClD,0CAA0C;AAC1C,4DAA4D;AAC5D,4DAA4D;AAC5D,0CAA0C;AAC1C,+CAA+C;AAC/C,8DAA8D;AAC9D,+CAA+C;AAC/C,sCAAsC;AACtC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gCAAgC;AAChC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kCAAkC;AAClC,qCAAqC;AACrC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP,MAAM;AACN;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAU;AACV,QAAQ;AACR;AACA;AACA,UAAU;AACV;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uCAAuC,QAAQ;AAC/C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,0CAA0C;AAC1C,oFAAoF,6DAA6D,8HAA8H;AAC/Q;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qTAAqT;AACrT;AACA;AACA;AACA,MAAM,wCAAwC,oFAAoF,oKAAoK,iHAAiH;AACvZ;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN,oCAAoC;AACpC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,yCAAyC;AACzC;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA,2CAA2C;AAC3C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,4BAA4B;AAC5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY;AACZ;AACA;AACA;AACA;AACA;AACA,YAAY;AACZ;AACA;AACA,UAAU;AACV;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA,QAAQ;AACR;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qBAAqB;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAE6B;AAC7B;;;;;;;;;;;;;;;;;;;;;;ACn2CiE;AAC1B;AACsE;AACrD;AACH;;AAGrD;;AAUA;AACA;AACA;AACA;AACA;AACA;AACA,iEAAe,MAAM;EACpB;EACAQ,iFAAc,CAAE,MAAMO,yBAAkD,EAAEE,MAAO,CAAC;;EAGlF;EACA,IAAK,EAAE,KAAK1C,MAAM,CAACC,qBAAqB,CAAC0C,KAAK,EAAG;IAChD;EACD;EACA3C,MAAM,CAACC,qBAAqB,CAACqC,aAAa,GAAGA,iEAAa;EAC1DtC,MAAM,CAACC,qBAAqB,CAACsC,cAAc,GAAGA,8DAAc;EAC5DvC,MAAM,CAACC,qBAAqB,CAACiC,OAAO,GAAGA,uDAAO;EAC9ClC,MAAM,CAACC,qBAAqB,CAACkC,gBAAgB,GAAGA,sDAAgB;EAChEnC,MAAM,CAACC,qBAAqB,CAACmC,qBAAqB,GAAGA,2DAAqB;EAC1EpC,MAAM,CAACC,qBAAqB,CAACoC,wBAAwB,GAAGA,8DAAwB;AACjF,CAAC,E;;;;;;;;;;;ACtCY;AACb,sBAAsB,mBAAO,CAAC,0CAAgC;;AAE9D;AACA;;AAEA;;AAEA;;;;;;;;;;;;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;AACA;AACA;AACA;AACA;;AAEa;;AAEb,IAAI,IAAqC;AACzC;AACA;;AAEA,YAAY,mBAAO,CAAC,iBAAO;;AAE3B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,iGAAiG,eAAe;AAChH;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,MAAM;;;AAGN;AACA;AACA,KAAK,GAAG;;AAER,kDAAkD;AAClD;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA,4BAA4B;AAC5B;AACA,qCAAqC;;AAErC,gCAAgC;AAChC;AACA;;AAEA,gCAAgC;;AAEhC;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,IAAI;;;AAGJ;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,EAAE;;;AAGF;AACA;AACA,EAAE;;;AAGF;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,YAAY;AACZ;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uCAAuC;;AAEvC;AACA;AACA;AACA;AACA;AACA,SAAS;;AAET;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;;AAET;AACA,sBAAsB;AACtB;AACA,SAAS;AACT,uBAAuB;AACvB;AACA,SAAS;AACT,uBAAuB;AACvB;AACA,SAAS;AACT,wBAAwB;AACxB;AACA,SAAS;AACT,wBAAwB;AACxB;AACA,SAAS;AACT,iCAAiC;AACjC;AACA,SAAS;AACT,2BAA2B;AAC3B;AACA,SAAS;AACT,OAAO;AACP;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA,MAAM;;;AAGN;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,2DAA2D;;AAE3D;AACA;;AAEA;AACA,yDAAyD;AACzD;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;;;AAGT;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;;AAEP;AACA;AACA;AACA;AACA;AACA,UAAU;AACV;AACA;;AAEA;AACA,QAAQ;AACR;AACA;AACA,UAAU;AACV;AACA;;AAEA;AACA;AACA,MAAM;AACN;AACA;AACA,QAAQ;AACR;AACA;;AAEA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,aAAa,kBAAkB;AAC/B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB;AACnB;;AAEA;AACA;AACA,gFAAgF;AAChF;AACA;;;AAGA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,kBAAkB;;;AAGlB;AACA;AACA,cAAc;AACd;;AAEA;AACA;AACA;AACA;AACA,IAAI;AACJ;;AAEA;AACA;AACA;AACA;;AAEA;AACA,IAAI;;;AAGJ;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,YAAY;AACZ;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,8BAA8B;AAC9B;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,2HAA2H;AAC3H;AACA;AACA;;AAEA;AACA,UAAU;AACV;AACA;;AAEA;AACA;;AAEA,oEAAoE;;AAEpE;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA,iCAAiC;;AAEjC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE;;;AAGF;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,wCAAwC;AACxC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,GAAG;AACd,WAAW,GAAG;AACd,WAAW,GAAG;AACd,WAAW,eAAe;AAC1B,WAAW,GAAG;AACd,WAAW,GAAG;AACd;AACA;AACA;AACA;AACA,WAAW,GAAG;AACd;AACA;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,yBAAyB;AACzB;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK,GAAG;;AAER;AACA;AACA;AACA;AACA;AACA,KAAK,GAAG;AACR;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW,GAAG;AACd,WAAW,QAAQ;AACnB,WAAW,QAAQ;AACnB;;AAEA;AACA;AACA,kBAAkB;;AAElB;AACA;AACA,oBAAoB;AACpB,2DAA2D,UAAU;AACrE,yBAAyB,UAAU;AACnC;AACA,aAAa,UAAU;AACvB;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,MAAM;;;AAGN;AACA;AACA;AACA;AACA,MAAM;;;AAGN;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,SAAS;AACpB,YAAY,SAAS;AACrB;AACA;;;AAGA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AAGA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,cAAc;AACzB,WAAW,GAAG;AACd;;;AAGA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA,6DAA6D;AAC7D;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,WAAW;AACtB,WAAW,GAAG;AACd;;;AAGA;AACA;AACA;AACA;AACA;;AAEA;AACA,sBAAsB,iBAAiB;AACvC;;AAEA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA,MAAM;AACN;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,cAAc;AACzB;;;AAGA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA,MAAM;AACN;AACA;;AAEA;AACA;AACA;AACA;AACA,MAAM;AACN,4CAA4C;;AAE5C;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,cAAc;AACzB;;;AAGA;AACA;AACA;;AAEA,oBAAoB,iBAAiB;AACrC;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,8CAA8C;AAC9C;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA,QAAQ;AACR;AACA;;AAEA;;AAEA;AACA;AACA,QAAQ;AACR;AACA,QAAQ;AACR;AACA;AACA,QAAQ;AACR;AACA;;AAEA;AACA;;AAEA,0DAA0D;AAC1D;;AAEA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;;;AAGA;AACA;;AAEA;AACA;AACA;AACA,4BAA4B,qBAAqB;AACjD;AACA;;AAEA;AACA;AACA;AACA,YAAY;AACZ;AACA;AACA,UAAU;AACV;AACA;AACA;AACA;;AAEA;AACA;AACA,MAAM;AACN;AACA;;AAEA;AACA;AACA,EAAE;AACF;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,sCAAsC;AACtC;;AAEA;;AAEA,gBAAgB;AAChB,WAAW;AACX,YAAY;AACZ,GAAG;AACH;;;;;;;;;;;;ACjyCa;AACb,iBAAiB,mBAAO,CAAC,oCAA0B;AACnD,+BAA+B,oFAA4D;AAC3F,kCAAkC,mBAAO,CAAC,uDAA6C;AACvF,oBAAoB,mBAAO,CAAC,wCAA8B;AAC1D,2BAA2B,mBAAO,CAAC,+CAAqC;AACxE,gCAAgC,mBAAO,CAAC,oDAA0C;AAClF,eAAe,mBAAO,CAAC,gCAAwB;;AAE/C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ,kEAAkE;AAClE,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACtDA,mC;;;;;;;;;;;ACAa;AACb,kBAAkB,mBAAO,CAAC,q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ACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI,gBAAgB;AACpB;AACA;AACA;AACA;AACA,kDAAkD;AAClD;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;;;;;;;;;;;;ACpFa;AACb,kBAAkB,mBAAO,CAAC,8CAAoC;;AAE9D;AACA;AACA;;AAEA;AACA;AACA;;;;;;;;;;;;ACTa;AACb;AACA;AACA;AACA;AACA;AACA;AACA,kBAAkB,YAAY;AAC9B,IAAI;AACJ;AACA;AACA;;;;;;;;;;;;ACXa;AACb,kBAAkB,mBAAO,CAAC,6CAAmC;;AAE7D;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACPa;AACb;AACA,iBAAiB,mBAAO,CAAC,+CAAqC;AAC9D,YAAY,mBAAO,CAAC,8BAAoB;AACxC,iBAAiB,mBAAO,CAAC,oCAA0B;;AAEnD;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;AClBY;AACb,yBAAyB,mBAAO,CAAC,6CAAmC;AACpE,kBAAkB,mBAAO,CAAC,sCAA4B;;AAEtD;;AAEA;AACA;AACA;AACA,SAAS;AACT;AACA;;;;;;;;;;;;ACXA,gC;;;;;;;;;;;ACAA,wB;;;;;;;;;;;;;;;;;;;;;;;;ACA+C;AAErB;AAEsE;AAC7D;AAEW;;AAE9C;AACA;AACA;AACA;AACA;AACA;AACA;;AAOA;AAAA;AASA;AACA;AACA;AACA;AACA;AACA,MAAM2F,OAAO,GAAG;EACf,eAAe,EAAE,KAAK;EACtB,qBAAqB,EAAE,CAAC;EACxBC,0CAA0C,EAAE,IAAI;EAChDC,mCAAmC,EAAE,IAAI;EACzCC,WAAW,EAAE,IAAI;EACjBX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AAG;WACH;WACA;WACA,CAAC,I;;;;;WCPD;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA,EAAE;WACF;WACA,E;;;;;WCVA,wF;;;;;WCAA;WACA;WACA;WACA,uDAAuD,iBAAiB;WACxE;WACA,gDAAgD,aAAa;WAC7D,E;;;;;;;;;;;;;ACNwC;AAExCkE,OAAO,CAACmJ,KAAK,CAAE,2BAA4B,CAAC;AAE5CD,4DAAO,CAAC,CAAC;;AAET;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAK,OAAO5Q,MAAM,CAAC8Q,EAAE,CAACtB,OAAO,KAAK,WAAW,IAAI,OAAOxP,MAAM,CAAC8Q,EAAE,CAACC,OAAO,KAAK,WAAW,EAAG;EAC3FvO,yDAAgC,CAAC,CAAC;AACnC,CAAC,MAAM,IAAK,OAAOxC,MAAM,CAAC8Q,EAAE,CAACG,SAAS,KAAK,WAAW,EAAG;EACxDjR,MAAM,CAAC8Q,EAAE,CAACG,SAAS,CAACC,IAAI,CAAE,OAAO,EAAE,MAAM;IACxC1O,yDAAgC,CAAC,CAAC;EACnC,CAAE,CAAC;AACJ,C","sources":["webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/is-forced.js","webpack://@onpointplugins/advanced-sidebar-menu/./js/src/components/transform-notice.pcss","webpack://@onpointplugins/advanced-sidebar-menu/external var \"window.wp?d615","webpack://@onpointplugins/advanced-sidebar-menu/./js/src/globals/config.ts","webpack://@onpointplugins/advanced-sidebar-menu/./js/src/components/TransformNotice.tsx","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/is-pure.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/shared-key.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/environment-user-agent.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/make-built-in.js","webpack://@onpointplugins/advanced-sidebar-menu/./js/src/gutenberg/blocks/pages/PagesIcon.tsx","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/object-define-property.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/shared-store.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/object-property-is-enumerable.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/shared.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/classof-raw.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/object-define-properties.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/dompurify-npm-3.3.0-caeafd3783-66b1787b0b.zip/node_modules/dompurify/dist/purify.es.mjs","webpack://@onpointplugins/advanced-sidebar-menu/./js/src/gutenberg/index.ts","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/to-string-tag-support.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/define-built-ins.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/descriptors.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/get-method.js","webpack://@onpointplugins/advanced-sidebar-menu/external var \"React\"","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/try-to-string.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/iterator-close-all.js","webpack://@onpointplugins/advanced-sidebar-menu/external var \"jQuery\"","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/is-array-iterator-method.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/function-name.js","webpack://@onpointplugins/advanced-sidebar-menu/./js/src/gutenberg/blocks/pages/Edit.tsx","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/iterate.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/require-object-coercible.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/define-built-in.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/react-npm-18.2.0-1eae08fee2-b562d9b569.zip/node_modules/react/cjs/react-jsx-runtime.development.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/export.js","webpack://@onpointplugins/advanced-sidebar-menu/external var \"window.wp?d71d","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/to-property-key.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/fails.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/well-known-symbol.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/to-indexed-object.js","webpack://@onpointplugins/advanced-sidebar-menu/./js/src/gutenberg/blocks/categories/CategoriesIcon.tsx","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/object-keys-internal.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/an-object.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/to-object.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/weak-map-basic-detection.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/has-own-property.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/create-property-descriptor.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/enum-bug-keys.js","webpack://@onpointplugins/advanced-sidebar-menu/./js/src/gutenberg/blocks/preview.pcss","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/function-bind-context.js","webpack://@onpointplugins/advanced-sidebar-menu/./js/src/gutenberg/blocks/categories/Edit.tsx","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/ordinary-to-primitive.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/is-object.js","webpack://@onpointplugins/advanced-sidebar-menu/./js/src/gutenberg/SideLoad.tsx","webpack://@onpointplugins/advanced-sidebar-menu/./js/src/components/ErrorBoundary.tsx","webpack://@onpointplugins/advanced-sidebar-menu/external var \"window.wp?a199","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/inspect-source.js","webpack://@onpointplugins/advanced-sidebar-menu/external var \"window.wp?72e5","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/__virtual__/react-dom-virtual-aadcd0dad6/0/cache/react-dom-npm-18.2.0-dd675bca1c-66dfc5f93e.zip/node_modules/react-dom/client.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/object-get-prototype-of.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/to-primitive.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/hidden-keys.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/modules/es.iterator.for-each.js","webpack://@onpointplugins/advanced-sidebar-menu/./js/src/gutenberg/blocks/pages/block.tsx","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/an-instance.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/length-of-array-like.js","webpack://@onpointplugins/advanced-sidebar-menu/./js/src/gutenberg/blocks/NavigationIcon.tsx","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/iterators-core.js","webpack://@onpointplugins/advanced-sidebar-menu/external var \"window.wp?537d","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/own-keys.js","webpack://@onpointplugins/advanced-sidebar-menu/external var \"window.wp?f6f0","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/classof.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/iterators.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/to-integer-or-infinity.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/use-symbol-as-uid.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/define-built-in-accessor.js","webpack://@onpointplugins/advanced-sidebar-menu/external var \"ReactDOM\"","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/internal-state.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/object-get-own-property-descriptor.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/create-iter-result-object.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/array-includes.js","webpack://@onpointplugins/advanced-sidebar-menu/./js/src/modules/widgets.tsx","webpack://@onpointplugins/advanced-sidebar-menu/external var \"window.wp?0dcf","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/to-absolute-index.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/modules/es.iterator.map.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/object-is-prototype-of.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/ie8-dom-define.js","webpack://@onpointplugins/advanced-sidebar-menu/./js/src/gutenberg/helpers.ts","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/get-built-in.js","webpack://@onpointplugins/advanced-sidebar-menu/external var \"window.wp?8ca5","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/function-uncurry-this-clause.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/create-property.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/indexed-object.js","webpack://@onpointplugins/advanced-sidebar-menu/external var \"window.wp?3ade","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/iterator-helper-without-closing-on-early-error.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/document-create-element.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/function-uncurry-this.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/iterator-create-proxy.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/get-iterator-direct.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/copy-constructor-properties.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/create-non-enumerable-property.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/__virtual__/@lipemat-js-boilerplate-gutenberg-virtual-7af610892b/0/cache/@lipemat-js-boilerplate-gutenberg-npm-4.2.0-cef29811c4-5c50528ede.zip/node_modules/@lipemat/js-boilerplate-gutenberg/dist/index.module.js","webpack://@onpointplugins/advanced-sidebar-menu/./js/src/gutenberg/blocks/InfoPanel.tsx","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/react-npm-18.2.0-1eae08fee2-b562d9b569.zip/node_modules/react/jsx-runtime.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/get-iterator.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/iterator-close.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/is-symbol.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/object-create.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/uid.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/iterator-helper-throws-on-invalid-iterator.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/function-call.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/symbol-constructor-detection.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/object-get-own-property-names.js","webpack://@onpointplugins/advanced-sidebar-menu/external var \"window.wp","webpack://@onpointplugins/advanced-sidebar-menu/external var \"lodash\"","webpack://@onpointplugins/advanced-sidebar-menu/./js/src/gutenberg/blocks/categories/block.tsx","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/math-trunc.js","webpack://@onpointplugins/advanced-sidebar-menu/external var \"window.wp?3f6b","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/modules/es.iterator.constructor.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/object-keys.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/html.js","webpack://@onpointplugins/advanced-sidebar-menu/./js/src/gutenberg/blocks/Preview.tsx","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/call-with-safe-iteration-closing.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/to-length.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/function-bind-native.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/correct-prototype-getter.js","webpack://@onpointplugins/advanced-sidebar-menu/./js/src/gutenberg/blocks/ sync block\\.tsx$","webpack://@onpointplugins/advanced-sidebar-menu/./js/src/gutenberg/blocks/Display.tsx","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/is-null-or-undefined.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/global-this.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/get-iterator-method.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/environment-v8-version.js","webpack://@onpointplugins/advanced-sidebar-menu/./js/src/gutenberg/blocks/ExcludeField.tsx","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/is-callable.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/object-get-own-property-symbols.js","webpack://@onpointplugins/advanced-sidebar-menu/./js/src/gutenberg/blocks/pages/edit.pcss","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/a-callable.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/v8-prototype-define-bug.js","webpack://@onpointplugins/advanced-sidebar-menu/./js/src/gutenberg/blocks/info-panel.pcss","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/define-global-property.js","webpack://@onpointplugins/advanced-sidebar-menu/webpack/bootstrap","webpack://@onpointplugins/advanced-sidebar-menu/webpack/runtime/compat get default export","webpack://@onpointplugins/advanced-sidebar-menu/webpack/runtime/define property getters","webpack://@onpointplugins/advanced-sidebar-menu/webpack/runtime/global","webpack://@onpointplugins/advanced-sidebar-menu/webpack/runtime/harmony module decorator","webpack://@onpointplugins/advanced-sidebar-menu/webpack/runtime/hasOwnProperty shorthand","webpack://@onpointplugins/advanced-sidebar-menu/webpack/runtime/make namespace object","webpack://@onpointplugins/advanced-sidebar-menu/./js/src/block-editor.ts"],"sourcesContent":["'use strict';\nvar fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\n\nvar replacement = /#|\\.prototype\\./;\n\nvar isForced = function (feature, detection) {\n  var value = data[normalize(feature)];\n  return value === POLYFILL ? true\n    : value === NATIVE ? false\n    : isCallable(detection) ? fails(detection)\n    : !!detection;\n};\n\nvar normalize = isForced.normalize = function (string) {\n  return String(string).replace(replacement, '.').toLowerCase();\n};\n\nvar data = isForced.data = {};\nvar NATIVE = isForced.NATIVE = 'N';\nvar POLYFILL = isForced.POLYFILL = 'P';\n\nmodule.exports = isForced;\n","// extracted by mini-css-extract-plugin\nexport default {\"wrap\":\"transform-notice__wrap__mq\"};","module.exports = window.wp?.plugins;","import type {Attr as PageAttr} from '../gutenberg/blocks/pages/block';\nimport type {Attr as CategoryAttr} from '../gutenberg/blocks/categories/block';\nimport type {BlockAttributes, BlockSupports} from '@wordpress/blocks';\nimport type {CommonAttr, ServerSideRenderRequired} from '../gutenberg/blocks/Preview';\nimport type {PassedGlobals} from '../gutenberg/index';\n\nexport type Screen = 'site-editor' | 'widgets' | 'post' | 'customize';\n\nexport type WPBoolean = '1' | '';\n\nexport interface JSConfig {\n\tblocks: {\n\t\tcommonAttr: BlockAttributes<CommonAttr>;\n\t\tpreviewAttr: BlockAttributes<ServerSideRenderRequired>;\n\t\tblockSupport: BlockSupports;\n\t\tcategories: {\n\t\t\tid: 'advanced-sidebar-menu/categories';\n\t\t\tattributes: BlockAttributes<CategoryAttr>;\n\t\t};\n\t\tpages: {\n\t\t\tid: 'advanced-sidebar-menu/pages';\n\t\t\tattributes: BlockAttributes<PageAttr>;\n\t\t};\n\t\tnavigation?: {\n\t\t\tid: 'advanced-sidebar-menu/navigation';\n\t\t\tattributes: BlockAttributes<object>;\n\t\t}\n\t};\n\tcategories: {\n\t\tdisplayEach: {\n\t\t\tlist: string;\n\t\t\twidget: string;\n\t\t};\n\t};\n\tcurrentScreen: Screen;\n\tdocs: {\n\t\tpage: string;\n\t\tcategory: string;\n\t};\n\terror: string;\n\tfeatures: Array<string>;\n\tisPostEdit: WPBoolean;\n\tisPro: WPBoolean;\n\tisWidgets: WPBoolean;\n\tpages: {\n\t\torderBy: { [ value: string ]: string };\n\t};\n\tsiteInfo: {\n\t\tbasic: string;\n\t\tclassicWidgets: boolean;\n\t\tmenus: Array<object>;\n\t\tphp: string;\n\t\tpro: string | false;\n\t\tscriptDebug: boolean;\n\t\tWordPress: string;\n\t};\n\tsupport: string;\n}\n\n\ndeclare global {\n\tinterface Window {\n\t\tADVANCED_SIDEBAR_MENU: JSConfig & PassedGlobals;\n\t\tadvancedSidebarMenuAdmin: {\n\t\t\tinit: () => void;\n\t\t\thandlePreviews: () => void;\n\t\t\tshowHideElements: () => void;\n\t\t\tclickReveal: ( id: string ) => void;\n\t\t\tsetHideState( target: JQuery<HTMLElement> ): void;\n\t\t};\n\t\t__TEST__?: boolean;\n\t}\n}\n\nexport const CONFIG: JSConfig & PassedGlobals = window.ADVANCED_SIDEBAR_MENU;\n","import {__} from '@wordpress/i18n';\nimport {useState} from 'react';\nimport {Notice} from '@wordpress/components';\n\nimport styles from './transform-notice.pcss';\n\ntype Props = Record<string, never>;\n\nexport const DISMISS_KEY = 'advanced-sidebar-menu/transform-notice-dismissed';\n\n/**\n * Display a dismissible notice above widget forms to inform\n * users the widget may be transformed into a block.\n *\n * Only applies to legacy widgets which should theoretically\n * be phased out in favor of blocks.\n * This notice is intended to help facilitate the transition.\n *\n */\nconst TransformNotice = ( {}: Props ) => {\n\tconst [ shown, setShown ] = useState<boolean>( true );\n\n\tif ( ! shown ) {\n\t\treturn null;\n\t}\n\n\treturn (\n\t\t<Notice\n\t\t\tclassName={styles.wrap}\n\t\t\tpoliteness={'polite'}\n\t\t\tonDismiss={() => {\n\t\t\t\tsetShown( false );\n\t\t\t\tlocalStorage.setItem( DISMISS_KEY, '1' );\n\t\t\t}}\n\t\t\tactions={[ {\n\t\t\t\tlabel: __( 'Blocks are the future of Advanced Sidebar Menu.', 'advanced-sidebar-menu' ),\n\t\t\t\turl: 'https://onpointplugins.com/advanced-sidebar-menu/advanced-sidebar-menu-gutenberg-blocks/#transform-widgets-to-blocks',\n\t\t\t\tvariant: 'link',\n\t\t\t} ]}\n\t\t>\n\t\t\t<span className=\"dashicons dashicons-arrow-up-alt\" />&nbsp;\n\t\t\t{__( 'This widget may be transformed into a block.', 'advanced-sidebar-menu' )}\n\t\t</Notice>\n\t);\n};\n\nexport default TransformNotice;\n","'use strict';\nmodule.exports = false;\n","'use strict';\nvar shared = require('../internals/shared');\nvar uid = require('../internals/uid');\n\nvar keys = shared('keys');\n\nmodule.exports = function (key) {\n  return keys[key] || (keys[key] = uid(key));\n};\n","'use strict';\nvar globalThis = require('../internals/global-this');\n\nvar navigator = globalThis.navigator;\nvar userAgent = navigator && navigator.userAgent;\n\nmodule.exports = userAgent ? String(userAgent) : '';\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\nvar hasOwn = require('../internals/has-own-property');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar CONFIGURABLE_FUNCTION_NAME = require('../internals/function-name').CONFIGURABLE;\nvar inspectSource = require('../internals/inspect-source');\nvar InternalStateModule = require('../internals/internal-state');\n\nvar enforceInternalState = InternalStateModule.enforce;\nvar getInternalState = InternalStateModule.get;\nvar $String = String;\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar defineProperty = Object.defineProperty;\nvar stringSlice = uncurryThis(''.slice);\nvar replace = uncurryThis(''.replace);\nvar join = uncurryThis([].join);\n\nvar CONFIGURABLE_LENGTH = DESCRIPTORS && !fails(function () {\n  return defineProperty(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;\n});\n\nvar TEMPLATE = String(String).split('String');\n\nvar makeBuiltIn = module.exports = function (value, name, options) {\n  if (stringSlice($String(name), 0, 7) === 'Symbol(') {\n    name = '[' + replace($String(name), /^Symbol\\(([^)]*)\\).*$/, '$1') + ']';\n  }\n  if (options && options.getter) name = 'get ' + name;\n  if (options && options.setter) name = 'set ' + name;\n  if (!hasOwn(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {\n    if (DESCRIPTORS) defineProperty(value, 'name', { value: name, configurable: true });\n    else value.name = name;\n  }\n  if (CONFIGURABLE_LENGTH && options && hasOwn(options, 'arity') && value.length !== options.arity) {\n    defineProperty(value, 'length', { value: options.arity });\n  }\n  try {\n    if (options && hasOwn(options, 'constructor') && options.constructor) {\n      if (DESCRIPTORS) defineProperty(value, 'prototype', { writable: false });\n    // in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable\n    } else if (value.prototype) value.prototype = undefined;\n  } catch (error) { /* empty */ }\n  var state = enforceInternalState(value);\n  if (!hasOwn(state, 'source')) {\n    state.source = join(TEMPLATE, typeof name == 'string' ? name : '');\n  } return value;\n};\n\n// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative\n// eslint-disable-next-line no-extend-native -- required\nFunction.prototype.toString = makeBuiltIn(function toString() {\n  return isCallable(this) && getInternalState(this).source || inspectSource(this);\n}, 'toString');\n","const PagesIcon = <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\">\n\t<rect x=\"0\" fill=\"none\" width=\"20\" height=\"20\" />\n\t<g>\n\t\t<path\n\t\t\tfill=\"#044567\"\n\t\t\td=\"M19 17V2c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v15c0 .55.45 1 1 1h15c.55 0 1-.45 1-1z M4 3h13v4H4V3z M5 4h3v2H5V4zm4 0h3v2H9V4zm4 0h3v2H13V4z M4.5 9 c .28 0 .5 .22 .5 .5s-.22.5-.5.5s-.5-.22-.5-.5s.22-.5 .5-.5z M6 9h4v1H6v-1z M4.5 12 c .28 0 .5 .22 .5 .5s-.22.5-.5.5s-.5-.22-.5-.5s.22-.5 .5-.5z M6 12h4v1H6v-1z M4.5 15 c .28 0 .5 .22 .5 .5s-.22.5-.5.5s-.5-.22-.5-.5s.22-.5 .5-.5z M6 15h4v1H6v-1z M12 9 H15.5 L17 10.5 V15.5 H12 V9 Z M15.5 9 V10.5 H17 M12.5 12 H16.5 M12.5 13.5 H16.5\"\n\t\t/>\n\t</g>\n</svg>;\n\nexport default PagesIcon;\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar IE8_DOM_DEFINE = require('../internals/ie8-dom-define');\nvar V8_PROTOTYPE_DEFINE_BUG = require('../internals/v8-prototype-define-bug');\nvar anObject = require('../internals/an-object');\nvar toPropertyKey = require('../internals/to-property-key');\n\nvar $TypeError = TypeError;\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar $defineProperty = Object.defineProperty;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\nvar ENUMERABLE = 'enumerable';\nvar CONFIGURABLE = 'configurable';\nvar WRITABLE = 'writable';\n\n// `Object.defineProperty` method\n// https://tc39.es/ecma262/#sec-object.defineproperty\nexports.f = DESCRIPTORS ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P, Attributes) {\n  anObject(O);\n  P = toPropertyKey(P);\n  anObject(Attributes);\n  if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {\n    var current = $getOwnPropertyDescriptor(O, P);\n    if (current && current[WRITABLE]) {\n      O[P] = Attributes.value;\n      Attributes = {\n        configurable: CONFIGURABLE in Attributes ? Attributes[CONFIGURABLE] : current[CONFIGURABLE],\n        enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],\n        writable: false\n      };\n    }\n  } return $defineProperty(O, P, Attributes);\n} : $defineProperty : function defineProperty(O, P, Attributes) {\n  anObject(O);\n  P = toPropertyKey(P);\n  anObject(Attributes);\n  if (IE8_DOM_DEFINE) try {\n    return $defineProperty(O, P, Attributes);\n  } catch (error) { /* empty */ }\n  if ('get' in Attributes || 'set' in Attributes) throw new $TypeError('Accessors not supported');\n  if ('value' in Attributes) O[P] = Attributes.value;\n  return O;\n};\n","'use strict';\nvar IS_PURE = require('../internals/is-pure');\nvar globalThis = require('../internals/global-this');\nvar defineGlobalProperty = require('../internals/define-global-property');\n\nvar SHARED = '__core-js_shared__';\nvar store = module.exports = globalThis[SHARED] || defineGlobalProperty(SHARED, {});\n\n(store.versions || (store.versions = [])).push({\n  version: '3.46.0',\n  mode: IS_PURE ? 'pure' : 'global',\n  copyright: '© 2014-2025 Denis Pushkarev (zloirock.ru), 2025 CoreJS Company (core-js.io)',\n  license: 'https://github.com/zloirock/core-js/blob/v3.46.0/LICENSE',\n  source: 'https://github.com/zloirock/core-js'\n});\n","'use strict';\nvar $propertyIsEnumerable = {}.propertyIsEnumerable;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// Nashorn ~ JDK8 bug\nvar NASHORN_BUG = getOwnPropertyDescriptor && !$propertyIsEnumerable.call({ 1: 2 }, 1);\n\n// `Object.prototype.propertyIsEnumerable` method implementation\n// https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable\nexports.f = NASHORN_BUG ? function propertyIsEnumerable(V) {\n  var descriptor = getOwnPropertyDescriptor(this, V);\n  return !!descriptor && descriptor.enumerable;\n} : $propertyIsEnumerable;\n","'use strict';\nvar store = require('../internals/shared-store');\n\nmodule.exports = function (key, value) {\n  return store[key] || (store[key] = value || {});\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\n\nvar toString = uncurryThis({}.toString);\nvar stringSlice = uncurryThis(''.slice);\n\nmodule.exports = function (it) {\n  return stringSlice(toString(it), 8, -1);\n};\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar V8_PROTOTYPE_DEFINE_BUG = require('../internals/v8-prototype-define-bug');\nvar definePropertyModule = require('../internals/object-define-property');\nvar anObject = require('../internals/an-object');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar objectKeys = require('../internals/object-keys');\n\n// `Object.defineProperties` method\n// https://tc39.es/ecma262/#sec-object.defineproperties\n// eslint-disable-next-line es/no-object-defineproperties -- safe\nexports.f = DESCRIPTORS && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {\n  anObject(O);\n  var props = toIndexedObject(Properties);\n  var keys = objectKeys(Properties);\n  var length = keys.length;\n  var index = 0;\n  var key;\n  while (length > index) definePropertyModule.f(O, key = keys[index++], props[key]);\n  return O;\n};\n","/*! @license DOMPurify 3.3.0 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.3.0/LICENSE */\n\nconst {\n  entries,\n  setPrototypeOf,\n  isFrozen,\n  getPrototypeOf,\n  getOwnPropertyDescriptor\n} = Object;\nlet {\n  freeze,\n  seal,\n  create\n} = Object; // eslint-disable-line import/no-mutable-exports\nlet {\n  apply,\n  construct\n} = typeof Reflect !== 'undefined' && Reflect;\nif (!freeze) {\n  freeze = function freeze(x) {\n    return x;\n  };\n}\nif (!seal) {\n  seal = function seal(x) {\n    return x;\n  };\n}\nif (!apply) {\n  apply = function apply(func, thisArg) {\n    for (var _len = arguments.length, args = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {\n      args[_key - 2] = arguments[_key];\n    }\n    return func.apply(thisArg, args);\n  };\n}\nif (!construct) {\n  construct = function construct(Func) {\n    for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {\n      args[_key2 - 1] = arguments[_key2];\n    }\n    return new Func(...args);\n  };\n}\nconst arrayForEach = unapply(Array.prototype.forEach);\nconst arrayLastIndexOf = unapply(Array.prototype.lastIndexOf);\nconst arrayPop = unapply(Array.prototype.pop);\nconst arrayPush = unapply(Array.prototype.push);\nconst arraySplice = unapply(Array.prototype.splice);\nconst stringToLowerCase = unapply(String.prototype.toLowerCase);\nconst stringToString = unapply(String.prototype.toString);\nconst stringMatch = unapply(String.prototype.match);\nconst stringReplace = unapply(String.prototype.replace);\nconst stringIndexOf = unapply(String.prototype.indexOf);\nconst stringTrim = unapply(String.prototype.trim);\nconst objectHasOwnProperty = unapply(Object.prototype.hasOwnProperty);\nconst regExpTest = unapply(RegExp.prototype.test);\nconst typeErrorCreate = unconstruct(TypeError);\n/**\n * Creates a new function that calls the given function with a specified thisArg and arguments.\n *\n * @param func - The function to be wrapped and called.\n * @returns A new function that calls the given function with a specified thisArg and arguments.\n */\nfunction unapply(func) {\n  return function (thisArg) {\n    if (thisArg instanceof RegExp) {\n      thisArg.lastIndex = 0;\n    }\n    for (var _len3 = arguments.length, args = new Array(_len3 > 1 ? _len3 - 1 : 0), _key3 = 1; _key3 < _len3; _key3++) {\n      args[_key3 - 1] = arguments[_key3];\n    }\n    return apply(func, thisArg, args);\n  };\n}\n/**\n * Creates a new function that constructs an instance of the given constructor function with the provided arguments.\n *\n * @param func - The constructor function to be wrapped and called.\n * @returns A new function that constructs an instance of the given constructor function with the provided arguments.\n */\nfunction unconstruct(Func) {\n  return function () {\n    for (var _len4 = arguments.length, args = new Array(_len4), _key4 = 0; _key4 < _len4; _key4++) {\n      args[_key4] = arguments[_key4];\n    }\n    return construct(Func, args);\n  };\n}\n/**\n * Add properties to a lookup table\n *\n * @param set - The set to which elements will be added.\n * @param array - The array containing elements to be added to the set.\n * @param transformCaseFunc - An optional function to transform the case of each element before adding to the set.\n * @returns The modified set with added elements.\n */\nfunction addToSet(set, array) {\n  let transformCaseFunc = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : stringToLowerCase;\n  if (setPrototypeOf) {\n    // Make 'in' and truthy checks like Boolean(set.constructor)\n    // independent of any properties defined on Object.prototype.\n    // Prevent prototype setters from intercepting set as a this value.\n    setPrototypeOf(set, null);\n  }\n  let l = array.length;\n  while (l--) {\n    let element = array[l];\n    if (typeof element === 'string') {\n      const lcElement = transformCaseFunc(element);\n      if (lcElement !== element) {\n        // Config presets (e.g. tags.js, attrs.js) are immutable.\n        if (!isFrozen(array)) {\n          array[l] = lcElement;\n        }\n        element = lcElement;\n      }\n    }\n    set[element] = true;\n  }\n  return set;\n}\n/**\n * Clean up an array to harden against CSPP\n *\n * @param array - The array to be cleaned.\n * @returns The cleaned version of the array\n */\nfunction cleanArray(array) {\n  for (let index = 0; index < array.length; index++) {\n    const isPropertyExist = objectHasOwnProperty(array, index);\n    if (!isPropertyExist) {\n      array[index] = null;\n    }\n  }\n  return array;\n}\n/**\n * Shallow clone an object\n *\n * @param object - The object to be cloned.\n * @returns A new object that copies the original.\n */\nfunction clone(object) {\n  const newObject = create(null);\n  for (const [property, value] of entries(object)) {\n    const isPropertyExist = objectHasOwnProperty(object, property);\n    if (isPropertyExist) {\n      if (Array.isArray(value)) {\n        newObject[property] = cleanArray(value);\n      } else if (value && typeof value === 'object' && value.constructor === Object) {\n        newObject[property] = clone(value);\n      } else {\n        newObject[property] = value;\n      }\n    }\n  }\n  return newObject;\n}\n/**\n * This method automatically checks if the prop is function or getter and behaves accordingly.\n *\n * @param object - The object to look up the getter function in its prototype chain.\n * @param prop - The property name for which to find the getter function.\n * @returns The getter function found in the prototype chain or a fallback function.\n */\nfunction lookupGetter(object, prop) {\n  while (object !== null) {\n    const desc = getOwnPropertyDescriptor(object, prop);\n    if (desc) {\n      if (desc.get) {\n        return unapply(desc.get);\n      }\n      if (typeof desc.value === 'function') {\n        return unapply(desc.value);\n      }\n    }\n    object = getPrototypeOf(object);\n  }\n  function fallbackValue() {\n    return null;\n  }\n  return fallbackValue;\n}\n\nconst html$1 = freeze(['a', 'abbr', 'acronym', 'address', 'area', 'article', 'aside', 'audio', 'b', 'bdi', 'bdo', 'big', 'blink', 'blockquote', 'body', 'br', 'button', 'canvas', 'caption', 'center', 'cite', 'code', 'col', 'colgroup', 'content', 'data', 'datalist', 'dd', 'decorator', 'del', 'details', 'dfn', 'dialog', 'dir', 'div', 'dl', 'dt', 'element', 'em', 'fieldset', 'figcaption', 'figure', 'font', 'footer', 'form', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'head', 'header', 'hgroup', 'hr', 'html', 'i', 'img', 'input', 'ins', 'kbd', 'label', 'legend', 'li', 'main', 'map', 'mark', 'marquee', 'menu', 'menuitem', 'meter', 'nav', 'nobr', 'ol', 'optgroup', 'option', 'output', 'p', 'picture', 'pre', 'progress', 'q', 'rp', 'rt', 'ruby', 's', 'samp', 'search', 'section', 'select', 'shadow', 'slot', 'small', 'source', 'spacer', 'span', 'strike', 'strong', 'style', 'sub', 'summary', 'sup', 'table', 'tbody', 'td', 'template', 'textarea', 'tfoot', 'th', 'thead', 'time', 'tr', 'track', 'tt', 'u', 'ul', 'var', 'video', 'wbr']);\nconst svg$1 = freeze(['svg', 'a', 'altglyph', 'altglyphdef', 'altglyphitem', 'animatecolor', 'animatemotion', 'animatetransform', 'circle', 'clippath', 'defs', 'desc', 'ellipse', 'enterkeyhint', 'exportparts', 'filter', 'font', 'g', 'glyph', 'glyphref', 'hkern', 'image', 'inputmode', 'line', 'lineargradient', 'marker', 'mask', 'metadata', 'mpath', 'part', 'path', 'pattern', 'polygon', 'polyline', 'radialgradient', 'rect', 'stop', 'style', 'switch', 'symbol', 'text', 'textpath', 'title', 'tref', 'tspan', 'view', 'vkern']);\nconst svgFilters = freeze(['feBlend', 'feColorMatrix', 'feComponentTransfer', 'feComposite', 'feConvolveMatrix', 'feDiffuseLighting', 'feDisplacementMap', 'feDistantLight', 'feDropShadow', 'feFlood', 'feFuncA', 'feFuncB', 'feFuncG', 'feFuncR', 'feGaussianBlur', 'feImage', 'feMerge', 'feMergeNode', 'feMorphology', 'feOffset', 'fePointLight', 'feSpecularLighting', 'feSpotLight', 'feTile', 'feTurbulence']);\n// List of SVG elements that are disallowed by default.\n// We still need to know them so that we can do namespace\n// checks properly in case one wants to add them to\n// allow-list.\nconst svgDisallowed = freeze(['animate', 'color-profile', 'cursor', 'discard', 'font-face', 'font-face-format', 'font-face-name', 'font-face-src', 'font-face-uri', 'foreignobject', 'hatch', 'hatchpath', 'mesh', 'meshgradient', 'meshpatch', 'meshrow', 'missing-glyph', 'script', 'set', 'solidcolor', 'unknown', 'use']);\nconst mathMl$1 = freeze(['math', 'menclose', 'merror', 'mfenced', 'mfrac', 'mglyph', 'mi', 'mlabeledtr', 'mmultiscripts', 'mn', 'mo', 'mover', 'mpadded', 'mphantom', 'mroot', 'mrow', 'ms', 'mspace', 'msqrt', 'mstyle', 'msub', 'msup', 'msubsup', 'mtable', 'mtd', 'mtext', 'mtr', 'munder', 'munderover', 'mprescripts']);\n// Similarly to SVG, we want to know all MathML elements,\n// even those that we disallow by default.\nconst mathMlDisallowed = freeze(['maction', 'maligngroup', 'malignmark', 'mlongdiv', 'mscarries', 'mscarry', 'msgroup', 'mstack', 'msline', 'msrow', 'semantics', 'annotation', 'annotation-xml', 'mprescripts', 'none']);\nconst text = freeze(['#text']);\n\nconst html = freeze(['accept', 'action', 'align', 'alt', 'autocapitalize', 'autocomplete', 'autopictureinpicture', 'autoplay', 'background', 'bgcolor', 'border', 'capture', 'cellpadding', 'cellspacing', 'checked', 'cite', 'class', 'clear', 'color', 'cols', 'colspan', 'controls', 'controlslist', 'coords', 'crossorigin', 'datetime', 'decoding', 'default', 'dir', 'disabled', 'disablepictureinpicture', 'disableremoteplayback', 'download', 'draggable', 'enctype', 'enterkeyhint', 'exportparts', 'face', 'for', 'headers', 'height', 'hidden', 'high', 'href', 'hreflang', 'id', 'inert', 'inputmode', 'integrity', 'ismap', 'kind', 'label', 'lang', 'list', 'loading', 'loop', 'low', 'max', 'maxlength', 'media', 'method', 'min', 'minlength', 'multiple', 'muted', 'name', 'nonce', 'noshade', 'novalidate', 'nowrap', 'open', 'optimum', 'part', 'pattern', 'placeholder', 'playsinline', 'popover', 'popovertarget', 'popovertargetaction', 'poster', 'preload', 'pubdate', 'radiogroup', 'readonly', 'rel', 'required', 'rev', 'reversed', 'role', 'rows', 'rowspan', 'spellcheck', 'scope', 'selected', 'shape', 'size', 'sizes', 'slot', 'span', 'srclang', 'start', 'src', 'srcset', 'step', 'style', 'summary', 'tabindex', 'title', 'translate', 'type', 'usemap', 'valign', 'value', 'width', 'wrap', 'xmlns', 'slot']);\nconst svg = freeze(['accent-height', 'accumulate', 'additive', 'alignment-baseline', 'amplitude', 'ascent', 'attributename', 'attributetype', 'azimuth', 'basefrequency', 'baseline-shift', 'begin', 'bias', 'by', 'class', 'clip', 'clippathunits', 'clip-path', 'clip-rule', 'color', 'color-interpolation', 'color-interpolation-filters', 'color-profile', 'color-rendering', 'cx', 'cy', 'd', 'dx', 'dy', 'diffuseconstant', 'direction', 'display', 'divisor', 'dur', 'edgemode', 'elevation', 'end', 'exponent', 'fill', 'fill-opacity', 'fill-rule', 'filter', 'filterunits', 'flood-color', 'flood-opacity', 'font-family', 'font-size', 'font-size-adjust', 'font-stretch', 'font-style', 'font-variant', 'font-weight', 'fx', 'fy', 'g1', 'g2', 'glyph-name', 'glyphref', 'gradientunits', 'gradienttransform', 'height', 'href', 'id', 'image-rendering', 'in', 'in2', 'intercept', 'k', 'k1', 'k2', 'k3', 'k4', 'kerning', 'keypoints', 'keysplines', 'keytimes', 'lang', 'lengthadjust', 'letter-spacing', 'kernelmatrix', 'kernelunitlength', 'lighting-color', 'local', 'marker-end', 'marker-mid', 'marker-start', 'markerheight', 'markerunits', 'markerwidth', 'maskcontentunits', 'maskunits', 'max', 'mask', 'mask-type', 'media', 'method', 'mode', 'min', 'name', 'numoctaves', 'offset', 'operator', 'opacity', 'order', 'orient', 'orientation', 'origin', 'overflow', 'paint-order', 'path', 'pathlength', 'patterncontentunits', 'patterntransform', 'patternunits', 'points', 'preservealpha', 'preserveaspectratio', 'primitiveunits', 'r', 'rx', 'ry', 'radius', 'refx', 'refy', 'repeatcount', 'repeatdur', 'restart', 'result', 'rotate', 'scale', 'seed', 'shape-rendering', 'slope', 'specularconstant', 'specularexponent', 'spreadmethod', 'startoffset', 'stddeviation', 'stitchtiles', 'stop-color', 'stop-opacity', 'stroke-dasharray', 'stroke-dashoffset', 'stroke-linecap', 'stroke-linejoin', 'stroke-miterlimit', 'stroke-opacity', 'stroke', 'stroke-width', 'style', 'surfacescale', 'systemlanguage', 'tabindex', 'tablevalues', 'targetx', 'targety', 'transform', 'transform-origin', 'text-anchor', 'text-decoration', 'text-rendering', 'textlength', 'type', 'u1', 'u2', 'unicode', 'values', 'viewbox', 'visibility', 'version', 'vert-adv-y', 'vert-origin-x', 'vert-origin-y', 'width', 'word-spacing', 'wrap', 'writing-mode', 'xchannelselector', 'ychannelselector', 'x', 'x1', 'x2', 'xmlns', 'y', 'y1', 'y2', 'z', 'zoomandpan']);\nconst mathMl = freeze(['accent', 'accentunder', 'align', 'bevelled', 'close', 'columnsalign', 'columnlines', 'columnspan', 'denomalign', 'depth', 'dir', 'display', 'displaystyle', 'encoding', 'fence', 'frame', 'height', 'href', 'id', 'largeop', 'length', 'linethickness', 'lspace', 'lquote', 'mathbackground', 'mathcolor', 'mathsize', 'mathvariant', 'maxsize', 'minsize', 'movablelimits', 'notation', 'numalign', 'open', 'rowalign', 'rowlines', 'rowspacing', 'rowspan', 'rspace', 'rquote', 'scriptlevel', 'scriptminsize', 'scriptsizemultiplier', 'selection', 'separator', 'separators', 'stretchy', 'subscriptshift', 'supscriptshift', 'symmetric', 'voffset', 'width', 'xmlns']);\nconst xml = freeze(['xlink:href', 'xml:id', 'xlink:title', 'xml:space', 'xmlns:xlink']);\n\n// eslint-disable-next-line unicorn/better-regex\nconst MUSTACHE_EXPR = seal(/\\{\\{[\\w\\W]*|[\\w\\W]*\\}\\}/gm); // Specify template detection regex for SAFE_FOR_TEMPLATES mode\nconst ERB_EXPR = seal(/<%[\\w\\W]*|[\\w\\W]*%>/gm);\nconst TMPLIT_EXPR = seal(/\\$\\{[\\w\\W]*/gm); // eslint-disable-line unicorn/better-regex\nconst DATA_ATTR = seal(/^data-[\\-\\w.\\u00B7-\\uFFFF]+$/); // eslint-disable-line no-useless-escape\nconst ARIA_ATTR = seal(/^aria-[\\-\\w]+$/); // eslint-disable-line no-useless-escape\nconst IS_ALLOWED_URI = seal(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\\-]+(?:[^a-z+.\\-:]|$))/i // eslint-disable-line no-useless-escape\n);\nconst IS_SCRIPT_OR_DATA = seal(/^(?:\\w+script|data):/i);\nconst ATTR_WHITESPACE = seal(/[\\u0000-\\u0020\\u00A0\\u1680\\u180E\\u2000-\\u2029\\u205F\\u3000]/g // eslint-disable-line no-control-regex\n);\nconst DOCTYPE_NAME = seal(/^html$/i);\nconst CUSTOM_ELEMENT = seal(/^[a-z][.\\w]*(-[.\\w]+)+$/i);\n\nvar EXPRESSIONS = /*#__PURE__*/Object.freeze({\n  __proto__: null,\n  ARIA_ATTR: ARIA_ATTR,\n  ATTR_WHITESPACE: ATTR_WHITESPACE,\n  CUSTOM_ELEMENT: CUSTOM_ELEMENT,\n  DATA_ATTR: DATA_ATTR,\n  DOCTYPE_NAME: DOCTYPE_NAME,\n  ERB_EXPR: ERB_EXPR,\n  IS_ALLOWED_URI: IS_ALLOWED_URI,\n  IS_SCRIPT_OR_DATA: IS_SCRIPT_OR_DATA,\n  MUSTACHE_EXPR: MUSTACHE_EXPR,\n  TMPLIT_EXPR: TMPLIT_EXPR\n});\n\n/* eslint-disable @typescript-eslint/indent */\n// https://developer.mozilla.org/en-US/docs/Web/API/Node/nodeType\nconst NODE_TYPE = {\n  element: 1,\n  attribute: 2,\n  text: 3,\n  cdataSection: 4,\n  entityReference: 5,\n  // Deprecated\n  entityNode: 6,\n  // Deprecated\n  progressingInstruction: 7,\n  comment: 8,\n  document: 9,\n  documentType: 10,\n  documentFragment: 11,\n  notation: 12 // Deprecated\n};\nconst getGlobal = function getGlobal() {\n  return typeof window === 'undefined' ? null : window;\n};\n/**\n * Creates a no-op policy for internal use only.\n * Don't export this function outside this module!\n * @param trustedTypes The policy factory.\n * @param purifyHostElement The Script element used to load DOMPurify (to determine policy name suffix).\n * @return The policy created (or null, if Trusted Types\n * are not supported or creating the policy failed).\n */\nconst _createTrustedTypesPolicy = function _createTrustedTypesPolicy(trustedTypes, purifyHostElement) {\n  if (typeof trustedTypes !== 'object' || typeof trustedTypes.createPolicy !== 'function') {\n    return null;\n  }\n  // Allow the callers to control the unique policy name\n  // by adding a data-tt-policy-suffix to the script element with the DOMPurify.\n  // Policy creation with duplicate names throws in Trusted Types.\n  let suffix = null;\n  const ATTR_NAME = 'data-tt-policy-suffix';\n  if (purifyHostElement && purifyHostElement.hasAttribute(ATTR_NAME)) {\n    suffix = purifyHostElement.getAttribute(ATTR_NAME);\n  }\n  const policyName = 'dompurify' + (suffix ? '#' + suffix : '');\n  try {\n    return trustedTypes.createPolicy(policyName, {\n      createHTML(html) {\n        return html;\n      },\n      createScriptURL(scriptUrl) {\n        return scriptUrl;\n      }\n    });\n  } catch (_) {\n    // Policy creation failed (most likely another DOMPurify script has\n    // already run). Skip creating the policy, as this will only cause errors\n    // if TT are enforced.\n    console.warn('TrustedTypes policy ' + policyName + ' could not be created.');\n    return null;\n  }\n};\nconst _createHooksMap = function _createHooksMap() {\n  return {\n    afterSanitizeAttributes: [],\n    afterSanitizeElements: [],\n    afterSanitizeShadowDOM: [],\n    beforeSanitizeAttributes: [],\n    beforeSanitizeElements: [],\n    beforeSanitizeShadowDOM: [],\n    uponSanitizeAttribute: [],\n    uponSanitizeElement: [],\n    uponSanitizeShadowNode: []\n  };\n};\nfunction createDOMPurify() {\n  let window = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : getGlobal();\n  const DOMPurify = root => createDOMPurify(root);\n  DOMPurify.version = '3.3.0';\n  DOMPurify.removed = [];\n  if (!window || !window.document || window.document.nodeType !== NODE_TYPE.document || !window.Element) {\n    // Not running in a browser, provide a factory function\n    // so that you can pass your own Window\n    DOMPurify.isSupported = false;\n    return DOMPurify;\n  }\n  let {\n    document\n  } = window;\n  const originalDocument = document;\n  const currentScript = originalDocument.currentScript;\n  const {\n    DocumentFragment,\n    HTMLTemplateElement,\n    Node,\n    Element,\n    NodeFilter,\n    NamedNodeMap = window.NamedNodeMap || window.MozNamedAttrMap,\n    HTMLFormElement,\n    DOMParser,\n    trustedTypes\n  } = window;\n  const ElementPrototype = Element.prototype;\n  const cloneNode = lookupGetter(ElementPrototype, 'cloneNode');\n  const remove = lookupGetter(ElementPrototype, 'remove');\n  const getNextSibling = lookupGetter(ElementPrototype, 'nextSibling');\n  const getChildNodes = lookupGetter(ElementPrototype, 'childNodes');\n  const getParentNode = lookupGetter(ElementPrototype, 'parentNode');\n  // As per issue #47, the web-components registry is inherited by a\n  // new document created via createHTMLDocument. As per the spec\n  // (http://w3c.github.io/webcomponents/spec/custom/#creating-and-passing-registries)\n  // a new empty registry is used when creating a template contents owner\n  // document, so we use that as our parent document to ensure nothing\n  // is inherited.\n  if (typeof HTMLTemplateElement === 'function') {\n    const template = document.createElement('template');\n    if (template.content && template.content.ownerDocument) {\n      document = template.content.ownerDocument;\n    }\n  }\n  let trustedTypesPolicy;\n  let emptyHTML = '';\n  const {\n    implementation,\n    createNodeIterator,\n    createDocumentFragment,\n    getElementsByTagName\n  } = document;\n  const {\n    importNode\n  } = originalDocument;\n  let hooks = _createHooksMap();\n  /**\n   * Expose whether this browser supports running the full DOMPurify.\n   */\n  DOMPurify.isSupported = typeof entries === 'function' && typeof getParentNode === 'function' && implementation && implementation.createHTMLDocument !== undefined;\n  const {\n    MUSTACHE_EXPR,\n    ERB_EXPR,\n    TMPLIT_EXPR,\n    DATA_ATTR,\n    ARIA_ATTR,\n    IS_SCRIPT_OR_DATA,\n    ATTR_WHITESPACE,\n    CUSTOM_ELEMENT\n  } = EXPRESSIONS;\n  let {\n    IS_ALLOWED_URI: IS_ALLOWED_URI$1\n  } = EXPRESSIONS;\n  /**\n   * We consider the elements and attributes below to be safe. Ideally\n   * don't add any new ones but feel free to remove unwanted ones.\n   */\n  /* allowed element names */\n  let ALLOWED_TAGS = null;\n  const DEFAULT_ALLOWED_TAGS = addToSet({}, [...html$1, ...svg$1, ...svgFilters, ...mathMl$1, ...text]);\n  /* Allowed attribute names */\n  let ALLOWED_ATTR = null;\n  const DEFAULT_ALLOWED_ATTR = addToSet({}, [...html, ...svg, ...mathMl, ...xml]);\n  /*\n   * Configure how DOMPurify should handle custom elements and their attributes as well as customized built-in elements.\n   * @property {RegExp|Function|null} tagNameCheck one of [null, regexPattern, predicate]. Default: `null` (disallow any custom elements)\n   * @property {RegExp|Function|null} attributeNameCheck one of [null, regexPattern, predicate]. Default: `null` (disallow any attributes not on the allow list)\n   * @property {boolean} allowCustomizedBuiltInElements allow custom elements derived from built-ins if they pass CUSTOM_ELEMENT_HANDLING.tagNameCheck. Default: `false`.\n   */\n  let CUSTOM_ELEMENT_HANDLING = Object.seal(create(null, {\n    tagNameCheck: {\n      writable: true,\n      configurable: false,\n      enumerable: true,\n      value: null\n    },\n    attributeNameCheck: {\n      writable: true,\n      configurable: false,\n      enumerable: true,\n      value: null\n    },\n    allowCustomizedBuiltInElements: {\n      writable: true,\n      configurable: false,\n      enumerable: true,\n      value: false\n    }\n  }));\n  /* Explicitly forbidden tags (overrides ALLOWED_TAGS/ADD_TAGS) */\n  let FORBID_TAGS = null;\n  /* Explicitly forbidden attributes (overrides ALLOWED_ATTR/ADD_ATTR) */\n  let FORBID_ATTR = null;\n  /* Config object to store ADD_TAGS/ADD_ATTR functions (when used as functions) */\n  const EXTRA_ELEMENT_HANDLING = Object.seal(create(null, {\n    tagCheck: {\n      writable: true,\n      configurable: false,\n      enumerable: true,\n      value: null\n    },\n    attributeCheck: {\n      writable: true,\n      configurable: false,\n      enumerable: true,\n      value: null\n    }\n  }));\n  /* Decide if ARIA attributes are okay */\n  let ALLOW_ARIA_ATTR = true;\n  /* Decide if custom data attributes are okay */\n  let ALLOW_DATA_ATTR = true;\n  /* Decide if unknown protocols are okay */\n  let ALLOW_UNKNOWN_PROTOCOLS = false;\n  /* Decide if self-closing tags in attributes are allowed.\n   * Usually removed due to a mXSS issue in jQuery 3.0 */\n  let ALLOW_SELF_CLOSE_IN_ATTR = true;\n  /* Output should be safe for common template engines.\n   * This means, DOMPurify removes data attributes, mustaches and ERB\n   */\n  let SAFE_FOR_TEMPLATES = false;\n  /* Output should be safe even for XML used within HTML and alike.\n   * This means, DOMPurify removes comments when containing risky content.\n   */\n  let SAFE_FOR_XML = true;\n  /* Decide if document with <html>... should be returned */\n  let WHOLE_DOCUMENT = false;\n  /* Track whether config is already set on this instance of DOMPurify. */\n  let SET_CONFIG = false;\n  /* Decide if all elements (e.g. style, script) must be children of\n   * document.body. By default, browsers might move them to document.head */\n  let FORCE_BODY = false;\n  /* Decide if a DOM `HTMLBodyElement` should be returned, instead of a html\n   * string (or a TrustedHTML object if Trusted Types are supported).\n   * If `WHOLE_DOCUMENT` is enabled a `HTMLHtmlElement` will be returned instead\n   */\n  let RETURN_DOM = false;\n  /* Decide if a DOM `DocumentFragment` should be returned, instead of a html\n   * string  (or a TrustedHTML object if Trusted Types are supported) */\n  let RETURN_DOM_FRAGMENT = false;\n  /* Try to return a Trusted Type object instead of a string, return a string in\n   * case Trusted Types are not supported  */\n  let RETURN_TRUSTED_TYPE = false;\n  /* Output should be free from DOM clobbering attacks?\n   * This sanitizes markups named with colliding, clobberable built-in DOM APIs.\n   */\n  let SANITIZE_DOM = true;\n  /* Achieve full DOM Clobbering protection by isolating the namespace of named\n   * properties and JS variables, mitigating attacks that abuse the HTML/DOM spec rules.\n   *\n   * HTML/DOM spec rules that enable DOM Clobbering:\n   *   - Named Access on Window (§7.3.3)\n   *   - DOM Tree Accessors (§3.1.5)\n   *   - Form Element Parent-Child Relations (§4.10.3)\n   *   - Iframe srcdoc / Nested WindowProxies (§4.8.5)\n   *   - HTMLCollection (§4.2.10.2)\n   *\n   * Namespace isolation is implemented by prefixing `id` and `name` attributes\n   * with a constant string, i.e., `user-content-`\n   */\n  let SANITIZE_NAMED_PROPS = false;\n  const SANITIZE_NAMED_PROPS_PREFIX = 'user-content-';\n  /* Keep element content when removing element? */\n  let KEEP_CONTENT = true;\n  /* If a `Node` is passed to sanitize(), then performs sanitization in-place instead\n   * of importing it into a new Document and returning a sanitized copy */\n  let IN_PLACE = false;\n  /* Allow usage of profiles like html, svg and mathMl */\n  let USE_PROFILES = {};\n  /* Tags to ignore content of when KEEP_CONTENT is true */\n  let FORBID_CONTENTS = null;\n  const DEFAULT_FORBID_CONTENTS = addToSet({}, ['annotation-xml', 'audio', 'colgroup', 'desc', 'foreignobject', 'head', 'iframe', 'math', 'mi', 'mn', 'mo', 'ms', 'mtext', 'noembed', 'noframes', 'noscript', 'plaintext', 'script', 'style', 'svg', 'template', 'thead', 'title', 'video', 'xmp']);\n  /* Tags that are safe for data: URIs */\n  let DATA_URI_TAGS = null;\n  const DEFAULT_DATA_URI_TAGS = addToSet({}, ['audio', 'video', 'img', 'source', 'image', 'track']);\n  /* Attributes safe for values like \"javascript:\" */\n  let URI_SAFE_ATTRIBUTES = null;\n  const DEFAULT_URI_SAFE_ATTRIBUTES = addToSet({}, ['alt', 'class', 'for', 'id', 'label', 'name', 'pattern', 'placeholder', 'role', 'summary', 'title', 'value', 'style', 'xmlns']);\n  const MATHML_NAMESPACE = 'http://www.w3.org/1998/Math/MathML';\n  const SVG_NAMESPACE = 'http://www.w3.org/2000/svg';\n  const HTML_NAMESPACE = 'http://www.w3.org/1999/xhtml';\n  /* Document namespace */\n  let NAMESPACE = HTML_NAMESPACE;\n  let IS_EMPTY_INPUT = false;\n  /* Allowed XHTML+XML namespaces */\n  let ALLOWED_NAMESPACES = null;\n  const DEFAULT_ALLOWED_NAMESPACES = addToSet({}, [MATHML_NAMESPACE, SVG_NAMESPACE, HTML_NAMESPACE], stringToString);\n  let MATHML_TEXT_INTEGRATION_POINTS = addToSet({}, ['mi', 'mo', 'mn', 'ms', 'mtext']);\n  let HTML_INTEGRATION_POINTS = addToSet({}, ['annotation-xml']);\n  // Certain elements are allowed in both SVG and HTML\n  // namespace. We need to specify them explicitly\n  // so that they don't get erroneously deleted from\n  // HTML namespace.\n  const COMMON_SVG_AND_HTML_ELEMENTS = addToSet({}, ['title', 'style', 'font', 'a', 'script']);\n  /* Parsing of strict XHTML documents */\n  let PARSER_MEDIA_TYPE = null;\n  const SUPPORTED_PARSER_MEDIA_TYPES = ['application/xhtml+xml', 'text/html'];\n  const DEFAULT_PARSER_MEDIA_TYPE = 'text/html';\n  let transformCaseFunc = null;\n  /* Keep a reference to config to pass to hooks */\n  let CONFIG = null;\n  /* Ideally, do not touch anything below this line */\n  /* ______________________________________________ */\n  const formElement = document.createElement('form');\n  const isRegexOrFunction = function isRegexOrFunction(testValue) {\n    return testValue instanceof RegExp || testValue instanceof Function;\n  };\n  /**\n   * _parseConfig\n   *\n   * @param cfg optional config literal\n   */\n  // eslint-disable-next-line complexity\n  const _parseConfig = function _parseConfig() {\n    let cfg = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n    if (CONFIG && CONFIG === cfg) {\n      return;\n    }\n    /* Shield configuration object from tampering */\n    if (!cfg || typeof cfg !== 'object') {\n      cfg = {};\n    }\n    /* Shield configuration object from prototype pollution */\n    cfg = clone(cfg);\n    PARSER_MEDIA_TYPE =\n    // eslint-disable-next-line unicorn/prefer-includes\n    SUPPORTED_PARSER_MEDIA_TYPES.indexOf(cfg.PARSER_MEDIA_TYPE) === -1 ? DEFAULT_PARSER_MEDIA_TYPE : cfg.PARSER_MEDIA_TYPE;\n    // HTML tags and attributes are not case-sensitive, converting to lowercase. Keeping XHTML as is.\n    transformCaseFunc = PARSER_MEDIA_TYPE === 'application/xhtml+xml' ? stringToString : stringToLowerCase;\n    /* Set configuration parameters */\n    ALLOWED_TAGS = objectHasOwnProperty(cfg, 'ALLOWED_TAGS') ? addToSet({}, cfg.ALLOWED_TAGS, transformCaseFunc) : DEFAULT_ALLOWED_TAGS;\n    ALLOWED_ATTR = objectHasOwnProperty(cfg, 'ALLOWED_ATTR') ? addToSet({}, cfg.ALLOWED_ATTR, transformCaseFunc) : DEFAULT_ALLOWED_ATTR;\n    ALLOWED_NAMESPACES = objectHasOwnProperty(cfg, 'ALLOWED_NAMESPACES') ? addToSet({}, cfg.ALLOWED_NAMESPACES, stringToString) : DEFAULT_ALLOWED_NAMESPACES;\n    URI_SAFE_ATTRIBUTES = objectHasOwnProperty(cfg, 'ADD_URI_SAFE_ATTR') ? addToSet(clone(DEFAULT_URI_SAFE_ATTRIBUTES), cfg.ADD_URI_SAFE_ATTR, transformCaseFunc) : DEFAULT_URI_SAFE_ATTRIBUTES;\n    DATA_URI_TAGS = objectHasOwnProperty(cfg, 'ADD_DATA_URI_TAGS') ? addToSet(clone(DEFAULT_DATA_URI_TAGS), cfg.ADD_DATA_URI_TAGS, transformCaseFunc) : DEFAULT_DATA_URI_TAGS;\n    FORBID_CONTENTS = objectHasOwnProperty(cfg, 'FORBID_CONTENTS') ? addToSet({}, cfg.FORBID_CONTENTS, transformCaseFunc) : DEFAULT_FORBID_CONTENTS;\n    FORBID_TAGS = objectHasOwnProperty(cfg, 'FORBID_TAGS') ? addToSet({}, cfg.FORBID_TAGS, transformCaseFunc) : clone({});\n    FORBID_ATTR = objectHasOwnProperty(cfg, 'FORBID_ATTR') ? addToSet({}, cfg.FORBID_ATTR, transformCaseFunc) : clone({});\n    USE_PROFILES = objectHasOwnProperty(cfg, 'USE_PROFILES') ? cfg.USE_PROFILES : false;\n    ALLOW_ARIA_ATTR = cfg.ALLOW_ARIA_ATTR !== false; // Default true\n    ALLOW_DATA_ATTR = cfg.ALLOW_DATA_ATTR !== false; // Default true\n    ALLOW_UNKNOWN_PROTOCOLS = cfg.ALLOW_UNKNOWN_PROTOCOLS || false; // Default false\n    ALLOW_SELF_CLOSE_IN_ATTR = cfg.ALLOW_SELF_CLOSE_IN_ATTR !== false; // Default true\n    SAFE_FOR_TEMPLATES = cfg.SAFE_FOR_TEMPLATES || false; // Default false\n    SAFE_FOR_XML = cfg.SAFE_FOR_XML !== false; // Default true\n    WHOLE_DOCUMENT = cfg.WHOLE_DOCUMENT || false; // Default false\n    RETURN_DOM = cfg.RETURN_DOM || false; // Default false\n    RETURN_DOM_FRAGMENT = cfg.RETURN_DOM_FRAGMENT || false; // Default false\n    RETURN_TRUSTED_TYPE = cfg.RETURN_TRUSTED_TYPE || false; // Default false\n    FORCE_BODY = cfg.FORCE_BODY || false; // Default false\n    SANITIZE_DOM = cfg.SANITIZE_DOM !== false; // Default true\n    SANITIZE_NAMED_PROPS = cfg.SANITIZE_NAMED_PROPS || false; // Default false\n    KEEP_CONTENT = cfg.KEEP_CONTENT !== false; // Default true\n    IN_PLACE = cfg.IN_PLACE || false; // Default false\n    IS_ALLOWED_URI$1 = cfg.ALLOWED_URI_REGEXP || IS_ALLOWED_URI;\n    NAMESPACE = cfg.NAMESPACE || HTML_NAMESPACE;\n    MATHML_TEXT_INTEGRATION_POINTS = cfg.MATHML_TEXT_INTEGRATION_POINTS || MATHML_TEXT_INTEGRATION_POINTS;\n    HTML_INTEGRATION_POINTS = cfg.HTML_INTEGRATION_POINTS || HTML_INTEGRATION_POINTS;\n    CUSTOM_ELEMENT_HANDLING = cfg.CUSTOM_ELEMENT_HANDLING || {};\n    if (cfg.CUSTOM_ELEMENT_HANDLING && isRegexOrFunction(cfg.CUSTOM_ELEMENT_HANDLING.tagNameCheck)) {\n      CUSTOM_ELEMENT_HANDLING.tagNameCheck = cfg.CUSTOM_ELEMENT_HANDLING.tagNameCheck;\n    }\n    if (cfg.CUSTOM_ELEMENT_HANDLING && isRegexOrFunction(cfg.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)) {\n      CUSTOM_ELEMENT_HANDLING.attributeNameCheck = cfg.CUSTOM_ELEMENT_HANDLING.attributeNameCheck;\n    }\n    if (cfg.CUSTOM_ELEMENT_HANDLING && typeof cfg.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements === 'boolean') {\n      CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements = cfg.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements;\n    }\n    if (SAFE_FOR_TEMPLATES) {\n      ALLOW_DATA_ATTR = false;\n    }\n    if (RETURN_DOM_FRAGMENT) {\n      RETURN_DOM = true;\n    }\n    /* Parse profile info */\n    if (USE_PROFILES) {\n      ALLOWED_TAGS = addToSet({}, text);\n      ALLOWED_ATTR = [];\n      if (USE_PROFILES.html === true) {\n        addToSet(ALLOWED_TAGS, html$1);\n        addToSet(ALLOWED_ATTR, html);\n      }\n      if (USE_PROFILES.svg === true) {\n        addToSet(ALLOWED_TAGS, svg$1);\n        addToSet(ALLOWED_ATTR, svg);\n        addToSet(ALLOWED_ATTR, xml);\n      }\n      if (USE_PROFILES.svgFilters === true) {\n        addToSet(ALLOWED_TAGS, svgFilters);\n        addToSet(ALLOWED_ATTR, svg);\n        addToSet(ALLOWED_ATTR, xml);\n      }\n      if (USE_PROFILES.mathMl === true) {\n        addToSet(ALLOWED_TAGS, mathMl$1);\n        addToSet(ALLOWED_ATTR, mathMl);\n        addToSet(ALLOWED_ATTR, xml);\n      }\n    }\n    /* Merge configuration parameters */\n    if (cfg.ADD_TAGS) {\n      if (typeof cfg.ADD_TAGS === 'function') {\n        EXTRA_ELEMENT_HANDLING.tagCheck = cfg.ADD_TAGS;\n      } else {\n        if (ALLOWED_TAGS === DEFAULT_ALLOWED_TAGS) {\n          ALLOWED_TAGS = clone(ALLOWED_TAGS);\n        }\n        addToSet(ALLOWED_TAGS, cfg.ADD_TAGS, transformCaseFunc);\n      }\n    }\n    if (cfg.ADD_ATTR) {\n      if (typeof cfg.ADD_ATTR === 'function') {\n        EXTRA_ELEMENT_HANDLING.attributeCheck = cfg.ADD_ATTR;\n      } else {\n        if (ALLOWED_ATTR === DEFAULT_ALLOWED_ATTR) {\n          ALLOWED_ATTR = clone(ALLOWED_ATTR);\n        }\n        addToSet(ALLOWED_ATTR, cfg.ADD_ATTR, transformCaseFunc);\n      }\n    }\n    if (cfg.ADD_URI_SAFE_ATTR) {\n      addToSet(URI_SAFE_ATTRIBUTES, cfg.ADD_URI_SAFE_ATTR, transformCaseFunc);\n    }\n    if (cfg.FORBID_CONTENTS) {\n      if (FORBID_CONTENTS === DEFAULT_FORBID_CONTENTS) {\n        FORBID_CONTENTS = clone(FORBID_CONTENTS);\n      }\n      addToSet(FORBID_CONTENTS, cfg.FORBID_CONTENTS, transformCaseFunc);\n    }\n    /* Add #text in case KEEP_CONTENT is set to true */\n    if (KEEP_CONTENT) {\n      ALLOWED_TAGS['#text'] = true;\n    }\n    /* Add html, head and body to ALLOWED_TAGS in case WHOLE_DOCUMENT is true */\n    if (WHOLE_DOCUMENT) {\n      addToSet(ALLOWED_TAGS, ['html', 'head', 'body']);\n    }\n    /* Add tbody to ALLOWED_TAGS in case tables are permitted, see #286, #365 */\n    if (ALLOWED_TAGS.table) {\n      addToSet(ALLOWED_TAGS, ['tbody']);\n      delete FORBID_TAGS.tbody;\n    }\n    if (cfg.TRUSTED_TYPES_POLICY) {\n      if (typeof cfg.TRUSTED_TYPES_POLICY.createHTML !== 'function') {\n        throw typeErrorCreate('TRUSTED_TYPES_POLICY configuration option must provide a \"createHTML\" hook.');\n      }\n      if (typeof cfg.TRUSTED_TYPES_POLICY.createScriptURL !== 'function') {\n        throw typeErrorCreate('TRUSTED_TYPES_POLICY configuration option must provide a \"createScriptURL\" hook.');\n      }\n      // Overwrite existing TrustedTypes policy.\n      trustedTypesPolicy = cfg.TRUSTED_TYPES_POLICY;\n      // Sign local variables required by `sanitize`.\n      emptyHTML = trustedTypesPolicy.createHTML('');\n    } else {\n      // Uninitialized policy, attempt to initialize the internal dompurify policy.\n      if (trustedTypesPolicy === undefined) {\n        trustedTypesPolicy = _createTrustedTypesPolicy(trustedTypes, currentScript);\n      }\n      // If creating the internal policy succeeded sign internal variables.\n      if (trustedTypesPolicy !== null && typeof emptyHTML === 'string') {\n        emptyHTML = trustedTypesPolicy.createHTML('');\n      }\n    }\n    // Prevent further manipulation of configuration.\n    // Not available in IE8, Safari 5, etc.\n    if (freeze) {\n      freeze(cfg);\n    }\n    CONFIG = cfg;\n  };\n  /* Keep track of all possible SVG and MathML tags\n   * so that we can perform the namespace checks\n   * correctly. */\n  const ALL_SVG_TAGS = addToSet({}, [...svg$1, ...svgFilters, ...svgDisallowed]);\n  const ALL_MATHML_TAGS = addToSet({}, [...mathMl$1, ...mathMlDisallowed]);\n  /**\n   * @param element a DOM element whose namespace is being checked\n   * @returns Return false if the element has a\n   *  namespace that a spec-compliant parser would never\n   *  return. Return true otherwise.\n   */\n  const _checkValidNamespace = function _checkValidNamespace(element) {\n    let parent = getParentNode(element);\n    // In JSDOM, if we're inside shadow DOM, then parentNode\n    // can be null. We just simulate parent in this case.\n    if (!parent || !parent.tagName) {\n      parent = {\n        namespaceURI: NAMESPACE,\n        tagName: 'template'\n      };\n    }\n    const tagName = stringToLowerCase(element.tagName);\n    const parentTagName = stringToLowerCase(parent.tagName);\n    if (!ALLOWED_NAMESPACES[element.namespaceURI]) {\n      return false;\n    }\n    if (element.namespaceURI === SVG_NAMESPACE) {\n      // The only way to switch from HTML namespace to SVG\n      // is via <svg>. If it happens via any other tag, then\n      // it should be killed.\n      if (parent.namespaceURI === HTML_NAMESPACE) {\n        return tagName === 'svg';\n      }\n      // The only way to switch from MathML to SVG is via`\n      // svg if parent is either <annotation-xml> or MathML\n      // text integration points.\n      if (parent.namespaceURI === MATHML_NAMESPACE) {\n        return tagName === 'svg' && (parentTagName === 'annotation-xml' || MATHML_TEXT_INTEGRATION_POINTS[parentTagName]);\n      }\n      // We only allow elements that are defined in SVG\n      // spec. All others are disallowed in SVG namespace.\n      return Boolean(ALL_SVG_TAGS[tagName]);\n    }\n    if (element.namespaceURI === MATHML_NAMESPACE) {\n      // The only way to switch from HTML namespace to MathML\n      // is via <math>. If it happens via any other tag, then\n      // it should be killed.\n      if (parent.namespaceURI === HTML_NAMESPACE) {\n        return tagName === 'math';\n      }\n      // The only way to switch from SVG to MathML is via\n      // <math> and HTML integration points\n      if (parent.namespaceURI === SVG_NAMESPACE) {\n        return tagName === 'math' && HTML_INTEGRATION_POINTS[parentTagName];\n      }\n      // We only allow elements that are defined in MathML\n      // spec. All others are disallowed in MathML namespace.\n      return Boolean(ALL_MATHML_TAGS[tagName]);\n    }\n    if (element.namespaceURI === HTML_NAMESPACE) {\n      // The only way to switch from SVG to HTML is via\n      // HTML integration points, and from MathML to HTML\n      // is via MathML text integration points\n      if (parent.namespaceURI === SVG_NAMESPACE && !HTML_INTEGRATION_POINTS[parentTagName]) {\n        return false;\n      }\n      if (parent.namespaceURI === MATHML_NAMESPACE && !MATHML_TEXT_INTEGRATION_POINTS[parentTagName]) {\n        return false;\n      }\n      // We disallow tags that are specific for MathML\n      // or SVG and should never appear in HTML namespace\n      return !ALL_MATHML_TAGS[tagName] && (COMMON_SVG_AND_HTML_ELEMENTS[tagName] || !ALL_SVG_TAGS[tagName]);\n    }\n    // For XHTML and XML documents that support custom namespaces\n    if (PARSER_MEDIA_TYPE === 'application/xhtml+xml' && ALLOWED_NAMESPACES[element.namespaceURI]) {\n      return true;\n    }\n    // The code should never reach this place (this means\n    // that the element somehow got namespace that is not\n    // HTML, SVG, MathML or allowed via ALLOWED_NAMESPACES).\n    // Return false just in case.\n    return false;\n  };\n  /**\n   * _forceRemove\n   *\n   * @param node a DOM node\n   */\n  const _forceRemove = function _forceRemove(node) {\n    arrayPush(DOMPurify.removed, {\n      element: node\n    });\n    try {\n      // eslint-disable-next-line unicorn/prefer-dom-node-remove\n      getParentNode(node).removeChild(node);\n    } catch (_) {\n      remove(node);\n    }\n  };\n  /**\n   * _removeAttribute\n   *\n   * @param name an Attribute name\n   * @param element a DOM node\n   */\n  const _removeAttribute = function _removeAttribute(name, element) {\n    try {\n      arrayPush(DOMPurify.removed, {\n        attribute: element.getAttributeNode(name),\n        from: element\n      });\n    } catch (_) {\n      arrayPush(DOMPurify.removed, {\n        attribute: null,\n        from: element\n      });\n    }\n    element.removeAttribute(name);\n    // We void attribute values for unremovable \"is\" attributes\n    if (name === 'is') {\n      if (RETURN_DOM || RETURN_DOM_FRAGMENT) {\n        try {\n          _forceRemove(element);\n        } catch (_) {}\n      } else {\n        try {\n          element.setAttribute(name, '');\n        } catch (_) {}\n      }\n    }\n  };\n  /**\n   * _initDocument\n   *\n   * @param dirty - a string of dirty markup\n   * @return a DOM, filled with the dirty markup\n   */\n  const _initDocument = function _initDocument(dirty) {\n    /* Create a HTML document */\n    let doc = null;\n    let leadingWhitespace = null;\n    if (FORCE_BODY) {\n      dirty = '<remove></remove>' + dirty;\n    } else {\n      /* If FORCE_BODY isn't used, leading whitespace needs to be preserved manually */\n      const matches = stringMatch(dirty, /^[\\r\\n\\t ]+/);\n      leadingWhitespace = matches && matches[0];\n    }\n    if (PARSER_MEDIA_TYPE === 'application/xhtml+xml' && NAMESPACE === HTML_NAMESPACE) {\n      // Root of XHTML doc must contain xmlns declaration (see https://www.w3.org/TR/xhtml1/normative.html#strict)\n      dirty = '<html xmlns=\"http://www.w3.org/1999/xhtml\"><head></head><body>' + dirty + '</body></html>';\n    }\n    const dirtyPayload = trustedTypesPolicy ? trustedTypesPolicy.createHTML(dirty) : dirty;\n    /*\n     * Use the DOMParser API by default, fallback later if needs be\n     * DOMParser not work for svg when has multiple root element.\n     */\n    if (NAMESPACE === HTML_NAMESPACE) {\n      try {\n        doc = new DOMParser().parseFromString(dirtyPayload, PARSER_MEDIA_TYPE);\n      } catch (_) {}\n    }\n    /* Use createHTMLDocument in case DOMParser is not available */\n    if (!doc || !doc.documentElement) {\n      doc = implementation.createDocument(NAMESPACE, 'template', null);\n      try {\n        doc.documentElement.innerHTML = IS_EMPTY_INPUT ? emptyHTML : dirtyPayload;\n      } catch (_) {\n        // Syntax error if dirtyPayload is invalid xml\n      }\n    }\n    const body = doc.body || doc.documentElement;\n    if (dirty && leadingWhitespace) {\n      body.insertBefore(document.createTextNode(leadingWhitespace), body.childNodes[0] || null);\n    }\n    /* Work on whole document or just its body */\n    if (NAMESPACE === HTML_NAMESPACE) {\n      return getElementsByTagName.call(doc, WHOLE_DOCUMENT ? 'html' : 'body')[0];\n    }\n    return WHOLE_DOCUMENT ? doc.documentElement : body;\n  };\n  /**\n   * Creates a NodeIterator object that you can use to traverse filtered lists of nodes or elements in a document.\n   *\n   * @param root The root element or node to start traversing on.\n   * @return The created NodeIterator\n   */\n  const _createNodeIterator = function _createNodeIterator(root) {\n    return createNodeIterator.call(root.ownerDocument || root, root,\n    // eslint-disable-next-line no-bitwise\n    NodeFilter.SHOW_ELEMENT | NodeFilter.SHOW_COMMENT | NodeFilter.SHOW_TEXT | NodeFilter.SHOW_PROCESSING_INSTRUCTION | NodeFilter.SHOW_CDATA_SECTION, null);\n  };\n  /**\n   * _isClobbered\n   *\n   * @param element element to check for clobbering attacks\n   * @return true if clobbered, false if safe\n   */\n  const _isClobbered = function _isClobbered(element) {\n    return element instanceof HTMLFormElement && (typeof element.nodeName !== 'string' || typeof element.textContent !== 'string' || typeof element.removeChild !== 'function' || !(element.attributes instanceof NamedNodeMap) || typeof element.removeAttribute !== 'function' || typeof element.setAttribute !== 'function' || typeof element.namespaceURI !== 'string' || typeof element.insertBefore !== 'function' || typeof element.hasChildNodes !== 'function');\n  };\n  /**\n   * Checks whether the given object is a DOM node.\n   *\n   * @param value object to check whether it's a DOM node\n   * @return true is object is a DOM node\n   */\n  const _isNode = function _isNode(value) {\n    return typeof Node === 'function' && value instanceof Node;\n  };\n  function _executeHooks(hooks, currentNode, data) {\n    arrayForEach(hooks, hook => {\n      hook.call(DOMPurify, currentNode, data, CONFIG);\n    });\n  }\n  /**\n   * _sanitizeElements\n   *\n   * @protect nodeName\n   * @protect textContent\n   * @protect removeChild\n   * @param currentNode to check for permission to exist\n   * @return true if node was killed, false if left alive\n   */\n  const _sanitizeElements = function _sanitizeElements(currentNode) {\n    let content = null;\n    /* Execute a hook if present */\n    _executeHooks(hooks.beforeSanitizeElements, currentNode, null);\n    /* Check if element is clobbered or can clobber */\n    if (_isClobbered(currentNode)) {\n      _forceRemove(currentNode);\n      return true;\n    }\n    /* Now let's check the element's type and name */\n    const tagName = transformCaseFunc(currentNode.nodeName);\n    /* Execute a hook if present */\n    _executeHooks(hooks.uponSanitizeElement, currentNode, {\n      tagName,\n      allowedTags: ALLOWED_TAGS\n    });\n    /* Detect mXSS attempts abusing namespace confusion */\n    if (SAFE_FOR_XML && currentNode.hasChildNodes() && !_isNode(currentNode.firstElementChild) && regExpTest(/<[/\\w!]/g, currentNode.innerHTML) && regExpTest(/<[/\\w!]/g, currentNode.textContent)) {\n      _forceRemove(currentNode);\n      return true;\n    }\n    /* Remove any occurrence of processing instructions */\n    if (currentNode.nodeType === NODE_TYPE.progressingInstruction) {\n      _forceRemove(currentNode);\n      return true;\n    }\n    /* Remove any kind of possibly harmful comments */\n    if (SAFE_FOR_XML && currentNode.nodeType === NODE_TYPE.comment && regExpTest(/<[/\\w]/g, currentNode.data)) {\n      _forceRemove(currentNode);\n      return true;\n    }\n    /* Remove element if anything forbids its presence */\n    if (!(EXTRA_ELEMENT_HANDLING.tagCheck instanceof Function && EXTRA_ELEMENT_HANDLING.tagCheck(tagName)) && (!ALLOWED_TAGS[tagName] || FORBID_TAGS[tagName])) {\n      /* Check if we have a custom element to handle */\n      if (!FORBID_TAGS[tagName] && _isBasicCustomElement(tagName)) {\n        if (CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof RegExp && regExpTest(CUSTOM_ELEMENT_HANDLING.tagNameCheck, tagName)) {\n          return false;\n        }\n        if (CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof Function && CUSTOM_ELEMENT_HANDLING.tagNameCheck(tagName)) {\n          return false;\n        }\n      }\n      /* Keep content except for bad-listed elements */\n      if (KEEP_CONTENT && !FORBID_CONTENTS[tagName]) {\n        const parentNode = getParentNode(currentNode) || currentNode.parentNode;\n        const childNodes = getChildNodes(currentNode) || currentNode.childNodes;\n        if (childNodes && parentNode) {\n          const childCount = childNodes.length;\n          for (let i = childCount - 1; i >= 0; --i) {\n            const childClone = cloneNode(childNodes[i], true);\n            childClone.__removalCount = (currentNode.__removalCount || 0) + 1;\n            parentNode.insertBefore(childClone, getNextSibling(currentNode));\n          }\n        }\n      }\n      _forceRemove(currentNode);\n      return true;\n    }\n    /* Check whether element has a valid namespace */\n    if (currentNode instanceof Element && !_checkValidNamespace(currentNode)) {\n      _forceRemove(currentNode);\n      return true;\n    }\n    /* Make sure that older browsers don't get fallback-tag mXSS */\n    if ((tagName === 'noscript' || tagName === 'noembed' || tagName === 'noframes') && regExpTest(/<\\/no(script|embed|frames)/i, currentNode.innerHTML)) {\n      _forceRemove(currentNode);\n      return true;\n    }\n    /* Sanitize element content to be template-safe */\n    if (SAFE_FOR_TEMPLATES && currentNode.nodeType === NODE_TYPE.text) {\n      /* Get the element's text content */\n      content = currentNode.textContent;\n      arrayForEach([MUSTACHE_EXPR, ERB_EXPR, TMPLIT_EXPR], expr => {\n        content = stringReplace(content, expr, ' ');\n      });\n      if (currentNode.textContent !== content) {\n        arrayPush(DOMPurify.removed, {\n          element: currentNode.cloneNode()\n        });\n        currentNode.textContent = content;\n      }\n    }\n    /* Execute a hook if present */\n    _executeHooks(hooks.afterSanitizeElements, currentNode, null);\n    return false;\n  };\n  /**\n   * _isValidAttribute\n   *\n   * @param lcTag Lowercase tag name of containing element.\n   * @param lcName Lowercase attribute name.\n   * @param value Attribute value.\n   * @return Returns true if `value` is valid, otherwise false.\n   */\n  // eslint-disable-next-line complexity\n  const _isValidAttribute = function _isValidAttribute(lcTag, lcName, value) {\n    /* Make sure attribute cannot clobber */\n    if (SANITIZE_DOM && (lcName === 'id' || lcName === 'name') && (value in document || value in formElement)) {\n      return false;\n    }\n    /* Allow valid data-* attributes: At least one character after \"-\"\n        (https://html.spec.whatwg.org/multipage/dom.html#embedding-custom-non-visible-data-with-the-data-*-attributes)\n        XML-compatible (https://html.spec.whatwg.org/multipage/infrastructure.html#xml-compatible and http://www.w3.org/TR/xml/#d0e804)\n        We don't need to check the value; it's always URI safe. */\n    if (ALLOW_DATA_ATTR && !FORBID_ATTR[lcName] && regExpTest(DATA_ATTR, lcName)) ; else if (ALLOW_ARIA_ATTR && regExpTest(ARIA_ATTR, lcName)) ; else if (EXTRA_ELEMENT_HANDLING.attributeCheck instanceof Function && EXTRA_ELEMENT_HANDLING.attributeCheck(lcName, lcTag)) ; else if (!ALLOWED_ATTR[lcName] || FORBID_ATTR[lcName]) {\n      if (\n      // First condition does a very basic check if a) it's basically a valid custom element tagname AND\n      // b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck\n      // and c) if the attribute name passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.attributeNameCheck\n      _isBasicCustomElement(lcTag) && (CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof RegExp && regExpTest(CUSTOM_ELEMENT_HANDLING.tagNameCheck, lcTag) || CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof Function && CUSTOM_ELEMENT_HANDLING.tagNameCheck(lcTag)) && (CUSTOM_ELEMENT_HANDLING.attributeNameCheck instanceof RegExp && regExpTest(CUSTOM_ELEMENT_HANDLING.attributeNameCheck, lcName) || CUSTOM_ELEMENT_HANDLING.attributeNameCheck instanceof Function && CUSTOM_ELEMENT_HANDLING.attributeNameCheck(lcName, lcTag)) ||\n      // Alternative, second condition checks if it's an `is`-attribute, AND\n      // the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck\n      lcName === 'is' && CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements && (CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof RegExp && regExpTest(CUSTOM_ELEMENT_HANDLING.tagNameCheck, value) || CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof Function && CUSTOM_ELEMENT_HANDLING.tagNameCheck(value))) ; else {\n        return false;\n      }\n      /* Check value is safe. First, is attr inert? If so, is safe */\n    } else if (URI_SAFE_ATTRIBUTES[lcName]) ; else if (regExpTest(IS_ALLOWED_URI$1, stringReplace(value, ATTR_WHITESPACE, ''))) ; else if ((lcName === 'src' || lcName === 'xlink:href' || lcName === 'href') && lcTag !== 'script' && stringIndexOf(value, 'data:') === 0 && DATA_URI_TAGS[lcTag]) ; else if (ALLOW_UNKNOWN_PROTOCOLS && !regExpTest(IS_SCRIPT_OR_DATA, stringReplace(value, ATTR_WHITESPACE, ''))) ; else if (value) {\n      return false;\n    } else ;\n    return true;\n  };\n  /**\n   * _isBasicCustomElement\n   * checks if at least one dash is included in tagName, and it's not the first char\n   * for more sophisticated checking see https://github.com/sindresorhus/validate-element-name\n   *\n   * @param tagName name of the tag of the node to sanitize\n   * @returns Returns true if the tag name meets the basic criteria for a custom element, otherwise false.\n   */\n  const _isBasicCustomElement = function _isBasicCustomElement(tagName) {\n    return tagName !== 'annotation-xml' && stringMatch(tagName, CUSTOM_ELEMENT);\n  };\n  /**\n   * _sanitizeAttributes\n   *\n   * @protect attributes\n   * @protect nodeName\n   * @protect removeAttribute\n   * @protect setAttribute\n   *\n   * @param currentNode to sanitize\n   */\n  const _sanitizeAttributes = function _sanitizeAttributes(currentNode) {\n    /* Execute a hook if present */\n    _executeHooks(hooks.beforeSanitizeAttributes, currentNode, null);\n    const {\n      attributes\n    } = currentNode;\n    /* Check if we have attributes; if not we might have a text node */\n    if (!attributes || _isClobbered(currentNode)) {\n      return;\n    }\n    const hookEvent = {\n      attrName: '',\n      attrValue: '',\n      keepAttr: true,\n      allowedAttributes: ALLOWED_ATTR,\n      forceKeepAttr: undefined\n    };\n    let l = attributes.length;\n    /* Go backwards over all attributes; safely remove bad ones */\n    while (l--) {\n      const attr = attributes[l];\n      const {\n        name,\n        namespaceURI,\n        value: attrValue\n      } = attr;\n      const lcName = transformCaseFunc(name);\n      const initValue = attrValue;\n      let value = name === 'value' ? initValue : stringTrim(initValue);\n      /* Execute a hook if present */\n      hookEvent.attrName = lcName;\n      hookEvent.attrValue = value;\n      hookEvent.keepAttr = true;\n      hookEvent.forceKeepAttr = undefined; // Allows developers to see this is a property they can set\n      _executeHooks(hooks.uponSanitizeAttribute, currentNode, hookEvent);\n      value = hookEvent.attrValue;\n      /* Full DOM Clobbering protection via namespace isolation,\n       * Prefix id and name attributes with `user-content-`\n       */\n      if (SANITIZE_NAMED_PROPS && (lcName === 'id' || lcName === 'name')) {\n        // Remove the attribute with this value\n        _removeAttribute(name, currentNode);\n        // Prefix the value and later re-create the attribute with the sanitized value\n        value = SANITIZE_NAMED_PROPS_PREFIX + value;\n      }\n      /* Work around a security issue with comments inside attributes */\n      if (SAFE_FOR_XML && regExpTest(/((--!?|])>)|<\\/(style|title|textarea)/i, value)) {\n        _removeAttribute(name, currentNode);\n        continue;\n      }\n      /* Make sure we cannot easily use animated hrefs, even if animations are allowed */\n      if (lcName === 'attributename' && stringMatch(value, 'href')) {\n        _removeAttribute(name, currentNode);\n        continue;\n      }\n      /* Did the hooks approve of the attribute? */\n      if (hookEvent.forceKeepAttr) {\n        continue;\n      }\n      /* Did the hooks approve of the attribute? */\n      if (!hookEvent.keepAttr) {\n        _removeAttribute(name, currentNode);\n        continue;\n      }\n      /* Work around a security issue in jQuery 3.0 */\n      if (!ALLOW_SELF_CLOSE_IN_ATTR && regExpTest(/\\/>/i, value)) {\n        _removeAttribute(name, currentNode);\n        continue;\n      }\n      /* Sanitize attribute content to be template-safe */\n      if (SAFE_FOR_TEMPLATES) {\n        arrayForEach([MUSTACHE_EXPR, ERB_EXPR, TMPLIT_EXPR], expr => {\n          value = stringReplace(value, expr, ' ');\n        });\n      }\n      /* Is `value` valid for this attribute? */\n      const lcTag = transformCaseFunc(currentNode.nodeName);\n      if (!_isValidAttribute(lcTag, lcName, value)) {\n        _removeAttribute(name, currentNode);\n        continue;\n      }\n      /* Handle attributes that require Trusted Types */\n      if (trustedTypesPolicy && typeof trustedTypes === 'object' && typeof trustedTypes.getAttributeType === 'function') {\n        if (namespaceURI) ; else {\n          switch (trustedTypes.getAttributeType(lcTag, lcName)) {\n            case 'TrustedHTML':\n              {\n                value = trustedTypesPolicy.createHTML(value);\n                break;\n              }\n            case 'TrustedScriptURL':\n              {\n                value = trustedTypesPolicy.createScriptURL(value);\n                break;\n              }\n          }\n        }\n      }\n      /* Handle invalid data-* attribute set by try-catching it */\n      if (value !== initValue) {\n        try {\n          if (namespaceURI) {\n            currentNode.setAttributeNS(namespaceURI, name, value);\n          } else {\n            /* Fallback to setAttribute() for browser-unrecognized namespaces e.g. \"x-schema\". */\n            currentNode.setAttribute(name, value);\n          }\n          if (_isClobbered(currentNode)) {\n            _forceRemove(currentNode);\n          } else {\n            arrayPop(DOMPurify.removed);\n          }\n        } catch (_) {\n          _removeAttribute(name, currentNode);\n        }\n      }\n    }\n    /* Execute a hook if present */\n    _executeHooks(hooks.afterSanitizeAttributes, currentNode, null);\n  };\n  /**\n   * _sanitizeShadowDOM\n   *\n   * @param fragment to iterate over recursively\n   */\n  const _sanitizeShadowDOM = function _sanitizeShadowDOM(fragment) {\n    let shadowNode = null;\n    const shadowIterator = _createNodeIterator(fragment);\n    /* Execute a hook if present */\n    _executeHooks(hooks.beforeSanitizeShadowDOM, fragment, null);\n    while (shadowNode = shadowIterator.nextNode()) {\n      /* Execute a hook if present */\n      _executeHooks(hooks.uponSanitizeShadowNode, shadowNode, null);\n      /* Sanitize tags and elements */\n      _sanitizeElements(shadowNode);\n      /* Check attributes next */\n      _sanitizeAttributes(shadowNode);\n      /* Deep shadow DOM detected */\n      if (shadowNode.content instanceof DocumentFragment) {\n        _sanitizeShadowDOM(shadowNode.content);\n      }\n    }\n    /* Execute a hook if present */\n    _executeHooks(hooks.afterSanitizeShadowDOM, fragment, null);\n  };\n  // eslint-disable-next-line complexity\n  DOMPurify.sanitize = function (dirty) {\n    let cfg = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n    let body = null;\n    let importedNode = null;\n    let currentNode = null;\n    let returnNode = null;\n    /* Make sure we have a string to sanitize.\n      DO NOT return early, as this will return the wrong type if\n      the user has requested a DOM object rather than a string */\n    IS_EMPTY_INPUT = !dirty;\n    if (IS_EMPTY_INPUT) {\n      dirty = '<!-->';\n    }\n    /* Stringify, in case dirty is an object */\n    if (typeof dirty !== 'string' && !_isNode(dirty)) {\n      if (typeof dirty.toString === 'function') {\n        dirty = dirty.toString();\n        if (typeof dirty !== 'string') {\n          throw typeErrorCreate('dirty is not a string, aborting');\n        }\n      } else {\n        throw typeErrorCreate('toString is not a function');\n      }\n    }\n    /* Return dirty HTML if DOMPurify cannot run */\n    if (!DOMPurify.isSupported) {\n      return dirty;\n    }\n    /* Assign config vars */\n    if (!SET_CONFIG) {\n      _parseConfig(cfg);\n    }\n    /* Clean up removed elements */\n    DOMPurify.removed = [];\n    /* Check if dirty is correctly typed for IN_PLACE */\n    if (typeof dirty === 'string') {\n      IN_PLACE = false;\n    }\n    if (IN_PLACE) {\n      /* Do some early pre-sanitization to avoid unsafe root nodes */\n      if (dirty.nodeName) {\n        const tagName = transformCaseFunc(dirty.nodeName);\n        if (!ALLOWED_TAGS[tagName] || FORBID_TAGS[tagName]) {\n          throw typeErrorCreate('root node is forbidden and cannot be sanitized in-place');\n        }\n      }\n    } else if (dirty instanceof Node) {\n      /* If dirty is a DOM element, append to an empty document to avoid\n         elements being stripped by the parser */\n      body = _initDocument('<!---->');\n      importedNode = body.ownerDocument.importNode(dirty, true);\n      if (importedNode.nodeType === NODE_TYPE.element && importedNode.nodeName === 'BODY') {\n        /* Node is already a body, use as is */\n        body = importedNode;\n      } else if (importedNode.nodeName === 'HTML') {\n        body = importedNode;\n      } else {\n        // eslint-disable-next-line unicorn/prefer-dom-node-append\n        body.appendChild(importedNode);\n      }\n    } else {\n      /* Exit directly if we have nothing to do */\n      if (!RETURN_DOM && !SAFE_FOR_TEMPLATES && !WHOLE_DOCUMENT &&\n      // eslint-disable-next-line unicorn/prefer-includes\n      dirty.indexOf('<') === -1) {\n        return trustedTypesPolicy && RETURN_TRUSTED_TYPE ? trustedTypesPolicy.createHTML(dirty) : dirty;\n      }\n      /* Initialize the document to work on */\n      body = _initDocument(dirty);\n      /* Check we have a DOM node from the data */\n      if (!body) {\n        return RETURN_DOM ? null : RETURN_TRUSTED_TYPE ? emptyHTML : '';\n      }\n    }\n    /* Remove first element node (ours) if FORCE_BODY is set */\n    if (body && FORCE_BODY) {\n      _forceRemove(body.firstChild);\n    }\n    /* Get node iterator */\n    const nodeIterator = _createNodeIterator(IN_PLACE ? dirty : body);\n    /* Now start iterating over the created document */\n    while (currentNode = nodeIterator.nextNode()) {\n      /* Sanitize tags and elements */\n      _sanitizeElements(currentNode);\n      /* Check attributes next */\n      _sanitizeAttributes(currentNode);\n      /* Shadow DOM detected, sanitize it */\n      if (currentNode.content instanceof DocumentFragment) {\n        _sanitizeShadowDOM(currentNode.content);\n      }\n    }\n    /* If we sanitized `dirty` in-place, return it. */\n    if (IN_PLACE) {\n      return dirty;\n    }\n    /* Return sanitized string or DOM */\n    if (RETURN_DOM) {\n      if (RETURN_DOM_FRAGMENT) {\n        returnNode = createDocumentFragment.call(body.ownerDocument);\n        while (body.firstChild) {\n          // eslint-disable-next-line unicorn/prefer-dom-node-append\n          returnNode.appendChild(body.firstChild);\n        }\n      } else {\n        returnNode = body;\n      }\n      if (ALLOWED_ATTR.shadowroot || ALLOWED_ATTR.shadowrootmode) {\n        /*\n          AdoptNode() is not used because internal state is not reset\n          (e.g. the past names map of a HTMLFormElement), this is safe\n          in theory but we would rather not risk another attack vector.\n          The state that is cloned by importNode() is explicitly defined\n          by the specs.\n        */\n        returnNode = importNode.call(originalDocument, returnNode, true);\n      }\n      return returnNode;\n    }\n    let serializedHTML = WHOLE_DOCUMENT ? body.outerHTML : body.innerHTML;\n    /* Serialize doctype if allowed */\n    if (WHOLE_DOCUMENT && ALLOWED_TAGS['!doctype'] && body.ownerDocument && body.ownerDocument.doctype && body.ownerDocument.doctype.name && regExpTest(DOCTYPE_NAME, body.ownerDocument.doctype.name)) {\n      serializedHTML = '<!DOCTYPE ' + body.ownerDocument.doctype.name + '>\\n' + serializedHTML;\n    }\n    /* Sanitize final string template-safe */\n    if (SAFE_FOR_TEMPLATES) {\n      arrayForEach([MUSTACHE_EXPR, ERB_EXPR, TMPLIT_EXPR], expr => {\n        serializedHTML = stringReplace(serializedHTML, expr, ' ');\n      });\n    }\n    return trustedTypesPolicy && RETURN_TRUSTED_TYPE ? trustedTypesPolicy.createHTML(serializedHTML) : serializedHTML;\n  };\n  DOMPurify.setConfig = function () {\n    let cfg = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n    _parseConfig(cfg);\n    SET_CONFIG = true;\n  };\n  DOMPurify.clearConfig = function () {\n    CONFIG = null;\n    SET_CONFIG = false;\n  };\n  DOMPurify.isValidAttribute = function (tag, attr, value) {\n    /* Initialize shared config vars if necessary. */\n    if (!CONFIG) {\n      _parseConfig({});\n    }\n    const lcTag = transformCaseFunc(tag);\n    const lcName = transformCaseFunc(attr);\n    return _isValidAttribute(lcTag, lcName, value);\n  };\n  DOMPurify.addHook = function (entryPoint, hookFunction) {\n    if (typeof hookFunction !== 'function') {\n      return;\n    }\n    arrayPush(hooks[entryPoint], hookFunction);\n  };\n  DOMPurify.removeHook = function (entryPoint, hookFunction) {\n    if (hookFunction !== undefined) {\n      const index = arrayLastIndexOf(hooks[entryPoint], hookFunction);\n      return index === -1 ? undefined : arraySplice(hooks[entryPoint], index, 1)[0];\n    }\n    return arrayPop(hooks[entryPoint]);\n  };\n  DOMPurify.removeHooks = function (entryPoint) {\n    hooks[entryPoint] = [];\n  };\n  DOMPurify.removeAllHooks = function () {\n    hooks = _createHooksMap();\n  };\n  return DOMPurify;\n}\nvar purify = createDOMPurify();\n\nexport { purify as default };\n//# sourceMappingURL=purify.es.mjs.map\n","import {autoloadBlocks} from '@lipemat/js-boilerplate-gutenberg';\nimport Preview from './blocks/Preview';\nimport {getBlockSupports, TransformLegacy, transformLegacyWidget, translateBlockAttributes} from './helpers';\nimport ErrorBoundary from '../components/ErrorBoundary';\nimport NavigationIcon from './blocks/NavigationIcon';\n\n\n// @see content/plugins/advanced-sidebar-menu-pro/js/src/globals/config.ts\nexport type PassedGlobals = Partial<{\n\tErrorBoundary: typeof ErrorBoundary;\n\tNavigationIcon: typeof NavigationIcon;\n\tPreview: typeof Preview;\n\tgetBlockSupports: typeof getBlockSupports;\n\ttransformLegacyWidget: TransformLegacy;\n\ttranslateBlockAttributes: typeof translateBlockAttributes;\n}>;\n\n/**\n * Use our custom autoloader to automatically require,\n * register and add HMR support to the Gutenberg-related items.\n *\n * Will load from the specified directory recursively.\n */\nexport default () => {\n\t// Load all blocks\n\tautoloadBlocks( () => require.context( './blocks', true, /block\\.tsx$/ ), module );\n\n\n\t// Expose helpers and Preview component to the window, so we can use them in PRO.\n\tif ( '' === window.ADVANCED_SIDEBAR_MENU.isPro ) {\n\t\treturn;\n\t}\n\twindow.ADVANCED_SIDEBAR_MENU.ErrorBoundary = ErrorBoundary;\n\twindow.ADVANCED_SIDEBAR_MENU.NavigationIcon = NavigationIcon;\n\twindow.ADVANCED_SIDEBAR_MENU.Preview = Preview;\n\twindow.ADVANCED_SIDEBAR_MENU.getBlockSupports = getBlockSupports;\n\twindow.ADVANCED_SIDEBAR_MENU.transformLegacyWidget = transformLegacyWidget;\n\twindow.ADVANCED_SIDEBAR_MENU.translateBlockAttributes = translateBlockAttributes;\n}\n","'use strict';\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\nvar test = {};\n\ntest[TO_STRING_TAG] = 'z';\n\nmodule.exports = String(test) === '[object z]';\n","'use strict';\nvar defineBuiltIn = require('../internals/define-built-in');\n\nmodule.exports = function (target, src, options) {\n  for (var key in src) defineBuiltIn(target, key, src[key], options);\n  return target;\n};\n","'use strict';\nvar fails = require('../internals/fails');\n\n// Detect IE8's incomplete defineProperty implementation\nmodule.exports = !fails(function () {\n  // eslint-disable-next-line es/no-object-defineproperty -- required for testing\n  return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7;\n});\n","'use strict';\nvar aCallable = require('../internals/a-callable');\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\n\n// `GetMethod` abstract operation\n// https://tc39.es/ecma262/#sec-getmethod\nmodule.exports = function (V, P) {\n  var func = V[P];\n  return isNullOrUndefined(func) ? undefined : aCallable(func);\n};\n","module.exports = React;","'use strict';\nvar $String = String;\n\nmodule.exports = function (argument) {\n  try {\n    return $String(argument);\n  } catch (error) {\n    return 'Object';\n  }\n};\n","'use strict';\nvar iteratorClose = require('../internals/iterator-close');\n\nmodule.exports = function (iters, kind, value) {\n  for (var i = iters.length - 1; i >= 0; i--) {\n    if (iters[i] === undefined) continue;\n    try {\n      value = iteratorClose(iters[i].iterator, kind, value);\n    } catch (error) {\n      kind = 'throw';\n      value = error;\n    }\n  }\n  if (kind === 'throw') throw value;\n  return value;\n};\n","module.exports = jQuery;","'use strict';\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar Iterators = require('../internals/iterators');\n\nvar ITERATOR = wellKnownSymbol('iterator');\nvar ArrayPrototype = Array.prototype;\n\n// check on default Array iterator\nmodule.exports = function (it) {\n  return it !== undefined && (Iterators.Array === it || ArrayPrototype[ITERATOR] === it);\n};\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar hasOwn = require('../internals/has-own-property');\n\nvar FunctionPrototype = Function.prototype;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar getDescriptor = DESCRIPTORS && Object.getOwnPropertyDescriptor;\n\nvar EXISTS = hasOwn(FunctionPrototype, 'name');\n// additional protection from minified / mangled / dropped function names\nvar PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';\nvar CONFIGURABLE = EXISTS && (!DESCRIPTORS || (DESCRIPTORS && getDescriptor(FunctionPrototype, 'name').configurable));\n\nmodule.exports = {\n  EXISTS: EXISTS,\n  PROPER: PROPER,\n  CONFIGURABLE: CONFIGURABLE\n};\n","import {BlockControls, InspectorControls} from '@wordpress/block-editor';\nimport {PanelBody, SelectControl, Slot, TextControl} from '@wordpress/components';\nimport {BlockEditProps} from '@wordpress/blocks';\nimport {Attr, block} from './block';\nimport Preview from '../Preview';\nimport Display from '../Display';\nimport {useSelect} from '@wordpress/data';\nimport InfoPanel from '../InfoPanel';\nimport {CONFIG} from '../../../globals/config';\nimport {__} from '@wordpress/i18n';\nimport {Type} from '@wordpress/api/types';\nimport ErrorBoundary from '../../../components/ErrorBoundary';\nimport SideLoad from '../../SideLoad';\nimport {isScreen} from '../../helpers';\nimport ExcludeField from '../ExcludeField';\nimport DOMPurify from 'dompurify';\n\nimport styles from './edit.pcss';\n\n\nexport type FillProps =\n\tPick<BlockEditProps<Attr>, 'clientId' | 'attributes' | 'setAttributes' | 'name'>\n\t& { type?: Type }\n\ntype Props = BlockEditProps<Attr>;\n\n/**\n * Pages block content in the editor.\n */\nconst Edit = ( {attributes, setAttributes, clientId, name}: Props ) => {\n\tconst postType: Type<'edit'> | undefined = useSelect( select => {\n\t\tconst type = select( 'core' ).getPostType( attributes.post_type ?? 'page' );\n\t\treturn type ?? select( 'core' ).getPostType( 'page' );\n\t}, [ attributes.post_type ] );\n\n\t// We have a version conflict or license error.\n\tif ( '' !== CONFIG.error ) {\n\t\treturn ( <>\n\t\t\t<InspectorControls>\n\t\t\t\t<div\n\t\t\t\t\tclassName={styles.error}\n\t\t\t\t\tdangerouslySetInnerHTML={{__html: DOMPurify.sanitize( CONFIG.error )}} />\n\t\t\t</InspectorControls>\n\t\t\t<Preview<Attr> attributes={attributes} block={block.id} clientId={clientId} />\n\t\t</> );\n\t}\n\n\tconst fillProps: FillProps = {\n\t\ttype: postType,\n\t\tattributes,\n\t\tname,\n\t\tsetAttributes,\n\t\tclientId,\n\t};\n\n\n\treturn ( <>\n\t\t<InspectorControls>\n\t\t\t<div className={'components-panel__body is-opened'}>\n\t\t\t\t<a\n\t\t\t\t\thref={CONFIG.docs.page}\n\t\t\t\t\ttarget=\"_blank\"\n\t\t\t\t\trel=\"noopener noreferrer\"\n\t\t\t\t>\n\t\t\t\t\t{__( 'Documentation', 'advanced-sidebar-menu' )}\n\t\t\t\t</a>\n\t\t\t</div>\n\t\t</InspectorControls>\n\t\t<InspectorControls>\n\t\t\t{isScreen( [ 'widgets', 'site-editor', 'customize' ] ) && <PanelBody>\n\t\t\t\t<TextControl\n\t\t\t\t\tvalue={attributes.title ?? ''}\n\t\t\t\t\tlabel={__( 'Title', 'advanced-sidebar-menu' )}\n\t\t\t\t\tonChange={title => setAttributes( {title} )}\n\t\t\t\t\t// @ts-expect-error -- Not technically supported until WP 6.7\n\t\t\t\t\t__nextHasNoMarginBottom\n\t\t\t\t/>\n\t\t\t</PanelBody>}\n\t\t\t<ErrorBoundary attributes={attributes} block={name} section={'pages/Edit/general'}>\n\t\t\t\t<Display\n\t\t\t\t\tattributes={attributes}\n\t\t\t\t\tclientId={clientId}\n\t\t\t\t\tname={name}\n\t\t\t\t\tsetAttributes={setAttributes}\n\t\t\t\t\ttype={postType} />\n\n\t\t\t\t<div className={'components-panel__body is-opened'}>\n\t\t\t\t\t<Slot<FillProps>\n\t\t\t\t\t\tname=\"advanced-sidebar-menu/pages/general\"\n\t\t\t\t\t\tfillProps={fillProps} />\n\n\t\t\t\t\t<SelectControl\n\t\t\t\t\t\tlabel={__( 'Order by', 'advanced-sidebar-menu' )}\n\t\t\t\t\t\tvalue={attributes.order_by}\n\t\t\t\t\t\tlabelPosition={'side'}\n\t\t\t\t\t\toptions={Object.entries( CONFIG.pages.orderBy ).map( ( [ value, label ] ) => ( {\n\t\t\t\t\t\t\tvalue,\n\t\t\t\t\t\t\tlabel,\n\t\t\t\t\t\t} ) )}\n\t\t\t\t\t\tonChange={value => {\n\t\t\t\t\t\t\tsetAttributes( {\n\t\t\t\t\t\t\t\torder_by: value,\n\t\t\t\t\t\t\t} );\n\t\t\t\t\t\t}} />\n\n\t\t\t\t\t<ExcludeField\n\t\t\t\t\t\ttype={postType}\n\t\t\t\t\t\tattributes={attributes}\n\t\t\t\t\t\tsetAttributes={setAttributes} />\n\n\t\t\t\t\t<Slot<FillProps>\n\t\t\t\t\t\tname=\"advanced-sidebar-menu/pages/general-after\"\n\t\t\t\t\t\tfillProps={fillProps} />\n\t\t\t\t</div>\n\n\t\t\t</ErrorBoundary>\n\t\t\t<ErrorBoundary attributes={attributes} block={name} section={'pages/Edit/inspector'}>\n\t\t\t\t<Slot<FillProps>\n\t\t\t\t\tname=\"advanced-sidebar-menu/pages/inspector\"\n\t\t\t\t\tfillProps={fillProps} />\n\n\t\t\t</ErrorBoundary>\n\t\t</InspectorControls>\n\n\t\t<BlockControls>\n\t\t\t<ErrorBoundary\n\t\t\t\tattributes={attributes}\n\t\t\t\tblock={name}\n\t\t\t\tsection={'pages/Edit/block-controls'}\n\t\t\t>\n\t\t\t\t<Slot<FillProps>\n\t\t\t\t\tname=\"advanced-sidebar-menu/pages/block-controls\"\n\t\t\t\t\tfillProps={fillProps} />\n\t\t\t</ErrorBoundary>\n\t\t</BlockControls>\n\n\t\t<InfoPanel clientId={clientId} />\n\n\t\t<ErrorBoundary attributes={attributes} block={name} section={'pages/Edit/preview'}>\n\t\t\t<Preview<Attr> attributes={attributes} block={block.id} clientId={clientId} />\n\t\t</ErrorBoundary>\n\n\t\t<SideLoad clientId={clientId} />\n\t</> );\n};\n\nexport default Edit;\n","'use strict';\nvar bind = require('../internals/function-bind-context');\nvar call = require('../internals/function-call');\nvar anObject = require('../internals/an-object');\nvar tryToString = require('../internals/try-to-string');\nvar isArrayIteratorMethod = require('../internals/is-array-iterator-method');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar getIterator = require('../internals/get-iterator');\nvar getIteratorMethod = require('../internals/get-iterator-method');\nvar iteratorClose = require('../internals/iterator-close');\n\nvar $TypeError = TypeError;\n\nvar Result = function (stopped, result) {\n  this.stopped = stopped;\n  this.result = result;\n};\n\nvar ResultPrototype = Result.prototype;\n\nmodule.exports = function (iterable, unboundFunction, options) {\n  var that = options && options.that;\n  var AS_ENTRIES = !!(options && options.AS_ENTRIES);\n  var IS_RECORD = !!(options && options.IS_RECORD);\n  var IS_ITERATOR = !!(options && options.IS_ITERATOR);\n  var INTERRUPTED = !!(options && options.INTERRUPTED);\n  var fn = bind(unboundFunction, that);\n  var iterator, iterFn, index, length, result, next, step;\n\n  var stop = function (condition) {\n    if (iterator) iteratorClose(iterator, 'normal');\n    return new Result(true, condition);\n  };\n\n  var callFn = function (value) {\n    if (AS_ENTRIES) {\n      anObject(value);\n      return INTERRUPTED ? fn(value[0], value[1], stop) : fn(value[0], value[1]);\n    } return INTERRUPTED ? fn(value, stop) : fn(value);\n  };\n\n  if (IS_RECORD) {\n    iterator = iterable.iterator;\n  } else if (IS_ITERATOR) {\n    iterator = iterable;\n  } else {\n    iterFn = getIteratorMethod(iterable);\n    if (!iterFn) throw new $TypeError(tryToString(iterable) + ' is not iterable');\n    // optimisation for array iterators\n    if (isArrayIteratorMethod(iterFn)) {\n      for (index = 0, length = lengthOfArrayLike(iterable); length > index; index++) {\n        result = callFn(iterable[index]);\n        if (result && isPrototypeOf(ResultPrototype, result)) return result;\n      } return new Result(false);\n    }\n    iterator = getIterator(iterable, iterFn);\n  }\n\n  next = IS_RECORD ? iterable.next : iterator.next;\n  while (!(step = call(next, iterator)).done) {\n    try {\n      result = callFn(step.value);\n    } catch (error) {\n      iteratorClose(iterator, 'throw', error);\n    }\n    if (typeof result == 'object' && result && isPrototypeOf(ResultPrototype, result)) return result;\n  } return new Result(false);\n};\n","'use strict';\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\n\nvar $TypeError = TypeError;\n\n// `RequireObjectCoercible` abstract operation\n// https://tc39.es/ecma262/#sec-requireobjectcoercible\nmodule.exports = function (it) {\n  if (isNullOrUndefined(it)) throw new $TypeError(\"Can't call method on \" + it);\n  return it;\n};\n","'use strict';\nvar isCallable = require('../internals/is-callable');\nvar definePropertyModule = require('../internals/object-define-property');\nvar makeBuiltIn = require('../internals/make-built-in');\nvar defineGlobalProperty = require('../internals/define-global-property');\n\nmodule.exports = function (O, key, value, options) {\n  if (!options) options = {};\n  var simple = options.enumerable;\n  var name = options.name !== undefined ? options.name : key;\n  if (isCallable(value)) makeBuiltIn(value, name, options);\n  if (options.global) {\n    if (simple) O[key] = value;\n    else defineGlobalProperty(key, value);\n  } else {\n    try {\n      if (!options.unsafe) delete O[key];\n      else if (O[key]) simple = true;\n    } catch (error) { /* empty */ }\n    if (simple) O[key] = value;\n    else definePropertyModule.f(O, key, {\n      value: value,\n      enumerable: false,\n      configurable: !options.nonConfigurable,\n      writable: !options.nonWritable\n    });\n  } return O;\n};\n","/**\n * @license React\n * react-jsx-runtime.development.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nif (process.env.NODE_ENV !== \"production\") {\n  (function() {\n'use strict';\n\nvar React = require('react');\n\n// ATTENTION\n// When adding new symbols to this file,\n// Please consider also adding to 'react-devtools-shared/src/backend/ReactSymbols'\n// The Symbol used to tag the ReactElement-like types.\nvar REACT_ELEMENT_TYPE = Symbol.for('react.element');\nvar REACT_PORTAL_TYPE = Symbol.for('react.portal');\nvar REACT_FRAGMENT_TYPE = Symbol.for('react.fragment');\nvar REACT_STRICT_MODE_TYPE = Symbol.for('react.strict_mode');\nvar REACT_PROFILER_TYPE = Symbol.for('react.profiler');\nvar REACT_PROVIDER_TYPE = Symbol.for('react.provider');\nvar REACT_CONTEXT_TYPE = Symbol.for('react.context');\nvar REACT_FORWARD_REF_TYPE = Symbol.for('react.forward_ref');\nvar REACT_SUSPENSE_TYPE = Symbol.for('react.suspense');\nvar REACT_SUSPENSE_LIST_TYPE = Symbol.for('react.suspense_list');\nvar REACT_MEMO_TYPE = Symbol.for('react.memo');\nvar REACT_LAZY_TYPE = Symbol.for('react.lazy');\nvar REACT_OFFSCREEN_TYPE = Symbol.for('react.offscreen');\nvar MAYBE_ITERATOR_SYMBOL = Symbol.iterator;\nvar FAUX_ITERATOR_SYMBOL = '@@iterator';\nfunction getIteratorFn(maybeIterable) {\n  if (maybeIterable === null || typeof maybeIterable !== 'object') {\n    return null;\n  }\n\n  var maybeIterator = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL];\n\n  if (typeof maybeIterator === 'function') {\n    return maybeIterator;\n  }\n\n  return null;\n}\n\nvar ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;\n\nfunction error(format) {\n  {\n    {\n      for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {\n        args[_key2 - 1] = arguments[_key2];\n      }\n\n      printWarning('error', format, args);\n    }\n  }\n}\n\nfunction printWarning(level, format, args) {\n  // When changing this logic, you might want to also\n  // update consoleWithStackDev.www.js as well.\n  {\n    var ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;\n    var stack = ReactDebugCurrentFrame.getStackAddendum();\n\n    if (stack !== '') {\n      format += '%s';\n      args = args.concat([stack]);\n    } // eslint-disable-next-line react-internal/safe-string-coercion\n\n\n    var argsWithFormat = args.map(function (item) {\n      return String(item);\n    }); // Careful: RN currently depends on this prefix\n\n    argsWithFormat.unshift('Warning: ' + format); // We intentionally don't use spread (or .apply) directly because it\n    // breaks IE9: https://github.com/facebook/react/issues/13610\n    // eslint-disable-next-line react-internal/no-production-logging\n\n    Function.prototype.apply.call(console[level], console, argsWithFormat);\n  }\n}\n\n// -----------------------------------------------------------------------------\n\nvar enableScopeAPI = false; // Experimental Create Event Handle API.\nvar enableCacheElement = false;\nvar enableTransitionTracing = false; // No known bugs, but needs performance testing\n\nvar enableLegacyHidden = false; // Enables unstable_avoidThisFallback feature in Fiber\n// stuff. Intended to enable React core members to more easily debug scheduling\n// issues in DEV builds.\n\nvar enableDebugTracing = false; // Track which Fiber(s) schedule render work.\n\nvar REACT_MODULE_REFERENCE;\n\n{\n  REACT_MODULE_REFERENCE = Symbol.for('react.module.reference');\n}\n\nfunction isValidElementType(type) {\n  if (typeof type === 'string' || typeof type === 'function') {\n    return true;\n  } // Note: typeof might be other than 'symbol' or 'number' (e.g. if it's a polyfill).\n\n\n  if (type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || enableDebugTracing  || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || enableLegacyHidden  || type === REACT_OFFSCREEN_TYPE || enableScopeAPI  || enableCacheElement  || enableTransitionTracing ) {\n    return true;\n  }\n\n  if (typeof type === 'object' && type !== null) {\n    if (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || // This needs to include all possible module reference object\n    // types supported by any Flight configuration anywhere since\n    // we don't know which Flight build this will end up being used\n    // with.\n    type.$$typeof === REACT_MODULE_REFERENCE || type.getModuleId !== undefined) {\n      return true;\n    }\n  }\n\n  return false;\n}\n\nfunction getWrappedName(outerType, innerType, wrapperName) {\n  var displayName = outerType.displayName;\n\n  if (displayName) {\n    return displayName;\n  }\n\n  var functionName = innerType.displayName || innerType.name || '';\n  return functionName !== '' ? wrapperName + \"(\" + functionName + \")\" : wrapperName;\n} // Keep in sync with react-reconciler/getComponentNameFromFiber\n\n\nfunction getContextName(type) {\n  return type.displayName || 'Context';\n} // Note that the reconciler package should generally prefer to use getComponentNameFromFiber() instead.\n\n\nfunction getComponentNameFromType(type) {\n  if (type == null) {\n    // Host root, text node or just invalid type.\n    return null;\n  }\n\n  {\n    if (typeof type.tag === 'number') {\n      error('Received an unexpected object in getComponentNameFromType(). ' + 'This is likely a bug in React. Please file an issue.');\n    }\n  }\n\n  if (typeof type === 'function') {\n    return type.displayName || type.name || null;\n  }\n\n  if (typeof type === 'string') {\n    return type;\n  }\n\n  switch (type) {\n    case REACT_FRAGMENT_TYPE:\n      return 'Fragment';\n\n    case REACT_PORTAL_TYPE:\n      return 'Portal';\n\n    case REACT_PROFILER_TYPE:\n      return 'Profiler';\n\n    case REACT_STRICT_MODE_TYPE:\n      return 'StrictMode';\n\n    case REACT_SUSPENSE_TYPE:\n      return 'Suspense';\n\n    case REACT_SUSPENSE_LIST_TYPE:\n      return 'SuspenseList';\n\n  }\n\n  if (typeof type === 'object') {\n    switch (type.$$typeof) {\n      case REACT_CONTEXT_TYPE:\n        var context = type;\n        return getContextName(context) + '.Consumer';\n\n      case REACT_PROVIDER_TYPE:\n        var provider = type;\n        return getContextName(provider._context) + '.Provider';\n\n      case REACT_FORWARD_REF_TYPE:\n        return getWrappedName(type, type.render, 'ForwardRef');\n\n      case REACT_MEMO_TYPE:\n        var outerName = type.displayName || null;\n\n        if (outerName !== null) {\n          return outerName;\n        }\n\n        return getComponentNameFromType(type.type) || 'Memo';\n\n      case REACT_LAZY_TYPE:\n        {\n          var lazyComponent = type;\n          var payload = lazyComponent._payload;\n          var init = lazyComponent._init;\n\n          try {\n            return getComponentNameFromType(init(payload));\n          } catch (x) {\n            return null;\n          }\n        }\n\n      // eslint-disable-next-line no-fallthrough\n    }\n  }\n\n  return null;\n}\n\nvar assign = Object.assign;\n\n// Helpers to patch console.logs to avoid logging during side-effect free\n// replaying on render function. This currently only patches the object\n// lazily which won't cover if the log function was extracted eagerly.\n// We could also eagerly patch the method.\nvar disabledDepth = 0;\nvar prevLog;\nvar prevInfo;\nvar prevWarn;\nvar prevError;\nvar prevGroup;\nvar prevGroupCollapsed;\nvar prevGroupEnd;\n\nfunction disabledLog() {}\n\ndisabledLog.__reactDisabledLog = true;\nfunction disableLogs() {\n  {\n    if (disabledDepth === 0) {\n      /* eslint-disable react-internal/no-production-logging */\n      prevLog = console.log;\n      prevInfo = console.info;\n      prevWarn = console.warn;\n      prevError = console.error;\n      prevGroup = console.group;\n      prevGroupCollapsed = console.groupCollapsed;\n      prevGroupEnd = console.groupEnd; // https://github.com/facebook/react/issues/19099\n\n      var props = {\n        configurable: true,\n        enumerable: true,\n        value: disabledLog,\n        writable: true\n      }; // $FlowFixMe Flow thinks console is immutable.\n\n      Object.defineProperties(console, {\n        info: props,\n        log: props,\n        warn: props,\n        error: props,\n        group: props,\n        groupCollapsed: props,\n        groupEnd: props\n      });\n      /* eslint-enable react-internal/no-production-logging */\n    }\n\n    disabledDepth++;\n  }\n}\nfunction reenableLogs() {\n  {\n    disabledDepth--;\n\n    if (disabledDepth === 0) {\n      /* eslint-disable react-internal/no-production-logging */\n      var props = {\n        configurable: true,\n        enumerable: true,\n        writable: true\n      }; // $FlowFixMe Flow thinks console is immutable.\n\n      Object.defineProperties(console, {\n        log: assign({}, props, {\n          value: prevLog\n        }),\n        info: assign({}, props, {\n          value: prevInfo\n        }),\n        warn: assign({}, props, {\n          value: prevWarn\n        }),\n        error: assign({}, props, {\n          value: prevError\n        }),\n        group: assign({}, props, {\n          value: prevGroup\n        }),\n        groupCollapsed: assign({}, props, {\n          value: prevGroupCollapsed\n        }),\n        groupEnd: assign({}, props, {\n          value: prevGroupEnd\n        })\n      });\n      /* eslint-enable react-internal/no-production-logging */\n    }\n\n    if (disabledDepth < 0) {\n      error('disabledDepth fell below zero. ' + 'This is a bug in React. Please file an issue.');\n    }\n  }\n}\n\nvar ReactCurrentDispatcher = ReactSharedInternals.ReactCurrentDispatcher;\nvar prefix;\nfunction describeBuiltInComponentFrame(name, source, ownerFn) {\n  {\n    if (prefix === undefined) {\n      // Extract the VM specific prefix used by each line.\n      try {\n        throw Error();\n      } catch (x) {\n        var match = x.stack.trim().match(/\\n( *(at )?)/);\n        prefix = match && match[1] || '';\n      }\n    } // We use the prefix to ensure our stacks line up with native stack frames.\n\n\n    return '\\n' + prefix + name;\n  }\n}\nvar reentry = false;\nvar componentFrameCache;\n\n{\n  var PossiblyWeakMap = typeof WeakMap === 'function' ? WeakMap : Map;\n  componentFrameCache = new PossiblyWeakMap();\n}\n\nfunction describeNativeComponentFrame(fn, construct) {\n  // If something asked for a stack inside a fake render, it should get ignored.\n  if ( !fn || reentry) {\n    return '';\n  }\n\n  {\n    var frame = componentFrameCache.get(fn);\n\n    if (frame !== undefined) {\n      return frame;\n    }\n  }\n\n  var control;\n  reentry = true;\n  var previousPrepareStackTrace = Error.prepareStackTrace; // $FlowFixMe It does accept undefined.\n\n  Error.prepareStackTrace = undefined;\n  var previousDispatcher;\n\n  {\n    previousDispatcher = ReactCurrentDispatcher.current; // Set the dispatcher in DEV because this might be call in the render function\n    // for warnings.\n\n    ReactCurrentDispatcher.current = null;\n    disableLogs();\n  }\n\n  try {\n    // This should throw.\n    if (construct) {\n      // Something should be setting the props in the constructor.\n      var Fake = function () {\n        throw Error();\n      }; // $FlowFixMe\n\n\n      Object.defineProperty(Fake.prototype, 'props', {\n        set: function () {\n          // We use a throwing setter instead of frozen or non-writable props\n          // because that won't throw in a non-strict mode function.\n          throw Error();\n        }\n      });\n\n      if (typeof Reflect === 'object' && Reflect.construct) {\n        // We construct a different control for this case to include any extra\n        // frames added by the construct call.\n        try {\n          Reflect.construct(Fake, []);\n        } catch (x) {\n          control = x;\n        }\n\n        Reflect.construct(fn, [], Fake);\n      } else {\n        try {\n          Fake.call();\n        } catch (x) {\n          control = x;\n        }\n\n        fn.call(Fake.prototype);\n      }\n    } else {\n      try {\n        throw Error();\n      } catch (x) {\n        control = x;\n      }\n\n      fn();\n    }\n  } catch (sample) {\n    // This is inlined manually because closure doesn't do it for us.\n    if (sample && control && typeof sample.stack === 'string') {\n      // This extracts the first frame from the sample that isn't also in the control.\n      // Skipping one frame that we assume is the frame that calls the two.\n      var sampleLines = sample.stack.split('\\n');\n      var controlLines = control.stack.split('\\n');\n      var s = sampleLines.length - 1;\n      var c = controlLines.length - 1;\n\n      while (s >= 1 && c >= 0 && sampleLines[s] !== controlLines[c]) {\n        // We expect at least one stack frame to be shared.\n        // Typically this will be the root most one. However, stack frames may be\n        // cut off due to maximum stack limits. In this case, one maybe cut off\n        // earlier than the other. We assume that the sample is longer or the same\n        // and there for cut off earlier. So we should find the root most frame in\n        // the sample somewhere in the control.\n        c--;\n      }\n\n      for (; s >= 1 && c >= 0; s--, c--) {\n        // Next we find the first one that isn't the same which should be the\n        // frame that called our sample function and the control.\n        if (sampleLines[s] !== controlLines[c]) {\n          // In V8, the first line is describing the message but other VMs don't.\n          // If we're about to return the first line, and the control is also on the same\n          // line, that's a pretty good indicator that our sample threw at same line as\n          // the control. I.e. before we entered the sample frame. So we ignore this result.\n          // This can happen if you passed a class to function component, or non-function.\n          if (s !== 1 || c !== 1) {\n            do {\n              s--;\n              c--; // We may still have similar intermediate frames from the construct call.\n              // The next one that isn't the same should be our match though.\n\n              if (c < 0 || sampleLines[s] !== controlLines[c]) {\n                // V8 adds a \"new\" prefix for native classes. Let's remove it to make it prettier.\n                var _frame = '\\n' + sampleLines[s].replace(' at new ', ' at '); // If our component frame is labeled \"<anonymous>\"\n                // but we have a user-provided \"displayName\"\n                // splice it in to make the stack more readable.\n\n\n                if (fn.displayName && _frame.includes('<anonymous>')) {\n                  _frame = _frame.replace('<anonymous>', fn.displayName);\n                }\n\n                {\n                  if (typeof fn === 'function') {\n                    componentFrameCache.set(fn, _frame);\n                  }\n                } // Return the line we found.\n\n\n                return _frame;\n              }\n            } while (s >= 1 && c >= 0);\n          }\n\n          break;\n        }\n      }\n    }\n  } finally {\n    reentry = false;\n\n    {\n      ReactCurrentDispatcher.current = previousDispatcher;\n      reenableLogs();\n    }\n\n    Error.prepareStackTrace = previousPrepareStackTrace;\n  } // Fallback to just using the name if we couldn't make it throw.\n\n\n  var name = fn ? fn.displayName || fn.name : '';\n  var syntheticFrame = name ? describeBuiltInComponentFrame(name) : '';\n\n  {\n    if (typeof fn === 'function') {\n      componentFrameCache.set(fn, syntheticFrame);\n    }\n  }\n\n  return syntheticFrame;\n}\nfunction describeFunctionComponentFrame(fn, source, ownerFn) {\n  {\n    return describeNativeComponentFrame(fn, false);\n  }\n}\n\nfunction shouldConstruct(Component) {\n  var prototype = Component.prototype;\n  return !!(prototype && prototype.isReactComponent);\n}\n\nfunction describeUnknownElementTypeFrameInDEV(type, source, ownerFn) {\n\n  if (type == null) {\n    return '';\n  }\n\n  if (typeof type === 'function') {\n    {\n      return describeNativeComponentFrame(type, shouldConstruct(type));\n    }\n  }\n\n  if (typeof type === 'string') {\n    return describeBuiltInComponentFrame(type);\n  }\n\n  switch (type) {\n    case REACT_SUSPENSE_TYPE:\n      return describeBuiltInComponentFrame('Suspense');\n\n    case REACT_SUSPENSE_LIST_TYPE:\n      return describeBuiltInComponentFrame('SuspenseList');\n  }\n\n  if (typeof type === 'object') {\n    switch (type.$$typeof) {\n      case REACT_FORWARD_REF_TYPE:\n        return describeFunctionComponentFrame(type.render);\n\n      case REACT_MEMO_TYPE:\n        // Memo may contain any component type so we recursively resolve it.\n        return describeUnknownElementTypeFrameInDEV(type.type, source, ownerFn);\n\n      case REACT_LAZY_TYPE:\n        {\n          var lazyComponent = type;\n          var payload = lazyComponent._payload;\n          var init = lazyComponent._init;\n\n          try {\n            // Lazy may contain any component type so we recursively resolve it.\n            return describeUnknownElementTypeFrameInDEV(init(payload), source, ownerFn);\n          } catch (x) {}\n        }\n    }\n  }\n\n  return '';\n}\n\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\n\nvar loggedTypeFailures = {};\nvar ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;\n\nfunction setCurrentlyValidatingElement(element) {\n  {\n    if (element) {\n      var owner = element._owner;\n      var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);\n      ReactDebugCurrentFrame.setExtraStackFrame(stack);\n    } else {\n      ReactDebugCurrentFrame.setExtraStackFrame(null);\n    }\n  }\n}\n\nfunction checkPropTypes(typeSpecs, values, location, componentName, element) {\n  {\n    // $FlowFixMe This is okay but Flow doesn't know it.\n    var has = Function.call.bind(hasOwnProperty);\n\n    for (var typeSpecName in typeSpecs) {\n      if (has(typeSpecs, typeSpecName)) {\n        var error$1 = void 0; // Prop type validation may throw. In case they do, we don't want to\n        // fail the render phase where it didn't fail before. So we log it.\n        // After these have been cleaned up, we'll let them throw.\n\n        try {\n          // This is intentionally an invariant that gets caught. It's the same\n          // behavior as without this statement except with a better message.\n          if (typeof typeSpecs[typeSpecName] !== 'function') {\n            // eslint-disable-next-line react-internal/prod-error-codes\n            var err = Error((componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' + 'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.' + 'This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.');\n            err.name = 'Invariant Violation';\n            throw err;\n          }\n\n          error$1 = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED');\n        } catch (ex) {\n          error$1 = ex;\n        }\n\n        if (error$1 && !(error$1 instanceof Error)) {\n          setCurrentlyValidatingElement(element);\n\n          error('%s: type specification of %s' + ' `%s` is invalid; the type checker ' + 'function must return `null` or an `Error` but returned a %s. ' + 'You may have forgotten to pass an argument to the type checker ' + 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' + 'shape all require an argument).', componentName || 'React class', location, typeSpecName, typeof error$1);\n\n          setCurrentlyValidatingElement(null);\n        }\n\n        if (error$1 instanceof Error && !(error$1.message in loggedTypeFailures)) {\n          // Only monitor this failure once because there tends to be a lot of the\n          // same error.\n          loggedTypeFailures[error$1.message] = true;\n          setCurrentlyValidatingElement(element);\n\n          error('Failed %s type: %s', location, error$1.message);\n\n          setCurrentlyValidatingElement(null);\n        }\n      }\n    }\n  }\n}\n\nvar isArrayImpl = Array.isArray; // eslint-disable-next-line no-redeclare\n\nfunction isArray(a) {\n  return isArrayImpl(a);\n}\n\n/*\n * The `'' + value` pattern (used in in perf-sensitive code) throws for Symbol\n * and Temporal.* types. See https://github.com/facebook/react/pull/22064.\n *\n * The functions in this module will throw an easier-to-understand,\n * easier-to-debug exception with a clear errors message message explaining the\n * problem. (Instead of a confusing exception thrown inside the implementation\n * of the `value` object).\n */\n// $FlowFixMe only called in DEV, so void return is not possible.\nfunction typeName(value) {\n  {\n    // toStringTag is needed for namespaced types like Temporal.Instant\n    var hasToStringTag = typeof Symbol === 'function' && Symbol.toStringTag;\n    var type = hasToStringTag && value[Symbol.toStringTag] || value.constructor.name || 'Object';\n    return type;\n  }\n} // $FlowFixMe only called in DEV, so void return is not possible.\n\n\nfunction willCoercionThrow(value) {\n  {\n    try {\n      testStringCoercion(value);\n      return false;\n    } catch (e) {\n      return true;\n    }\n  }\n}\n\nfunction testStringCoercion(value) {\n  // If you ended up here by following an exception call stack, here's what's\n  // happened: you supplied an object or symbol value to React (as a prop, key,\n  // DOM attribute, CSS property, string ref, etc.) and when React tried to\n  // coerce it to a string using `'' + value`, an exception was thrown.\n  //\n  // The most common types that will cause this exception are `Symbol` instances\n  // and Temporal objects like `Temporal.Instant`. But any object that has a\n  // `valueOf` or `[Symbol.toPrimitive]` method that throws will also cause this\n  // exception. (Library authors do this to prevent users from using built-in\n  // numeric operators like `+` or comparison operators like `>=` because custom\n  // methods are needed to perform accurate arithmetic or comparison.)\n  //\n  // To fix the problem, coerce this object or symbol value to a string before\n  // passing it to React. The most reliable way is usually `String(value)`.\n  //\n  // To find which value is throwing, check the browser or debugger console.\n  // Before this exception was thrown, there should be `console.error` output\n  // that shows the type (Symbol, Temporal.PlainDate, etc.) that caused the\n  // problem and how that type was used: key, atrribute, input value prop, etc.\n  // In most cases, this console output also shows the component and its\n  // ancestor components where the exception happened.\n  //\n  // eslint-disable-next-line react-internal/safe-string-coercion\n  return '' + value;\n}\nfunction checkKeyStringCoercion(value) {\n  {\n    if (willCoercionThrow(value)) {\n      error('The provided key is an unsupported type %s.' + ' This value must be coerced to a string before before using it here.', typeName(value));\n\n      return testStringCoercion(value); // throw (to help callers find troubleshooting comments)\n    }\n  }\n}\n\nvar ReactCurrentOwner = ReactSharedInternals.ReactCurrentOwner;\nvar RESERVED_PROPS = {\n  key: true,\n  ref: true,\n  __self: true,\n  __source: true\n};\nvar specialPropKeyWarningShown;\nvar specialPropRefWarningShown;\nvar didWarnAboutStringRefs;\n\n{\n  didWarnAboutStringRefs = {};\n}\n\nfunction hasValidRef(config) {\n  {\n    if (hasOwnProperty.call(config, 'ref')) {\n      var getter = Object.getOwnPropertyDescriptor(config, 'ref').get;\n\n      if (getter && getter.isReactWarning) {\n        return false;\n      }\n    }\n  }\n\n  return config.ref !== undefined;\n}\n\nfunction hasValidKey(config) {\n  {\n    if (hasOwnProperty.call(config, 'key')) {\n      var getter = Object.getOwnPropertyDescriptor(config, 'key').get;\n\n      if (getter && getter.isReactWarning) {\n        return false;\n      }\n    }\n  }\n\n  return config.key !== undefined;\n}\n\nfunction warnIfStringRefCannotBeAutoConverted(config, self) {\n  {\n    if (typeof config.ref === 'string' && ReactCurrentOwner.current && self && ReactCurrentOwner.current.stateNode !== self) {\n      var componentName = getComponentNameFromType(ReactCurrentOwner.current.type);\n\n      if (!didWarnAboutStringRefs[componentName]) {\n        error('Component \"%s\" contains the string ref \"%s\". ' + 'Support for string refs will be removed in a future major release. ' + 'This case cannot be automatically converted to an arrow function. ' + 'We ask you to manually fix this case by using useRef() or createRef() instead. ' + 'Learn more about using refs safely here: ' + 'https://reactjs.org/link/strict-mode-string-ref', getComponentNameFromType(ReactCurrentOwner.current.type), config.ref);\n\n        didWarnAboutStringRefs[componentName] = true;\n      }\n    }\n  }\n}\n\nfunction defineKeyPropWarningGetter(props, displayName) {\n  {\n    var warnAboutAccessingKey = function () {\n      if (!specialPropKeyWarningShown) {\n        specialPropKeyWarningShown = true;\n\n        error('%s: `key` is not a prop. Trying to access it will result ' + 'in `undefined` being returned. If you need to access the same ' + 'value within the child component, you should pass it as a different ' + 'prop. (https://reactjs.org/link/special-props)', displayName);\n      }\n    };\n\n    warnAboutAccessingKey.isReactWarning = true;\n    Object.defineProperty(props, 'key', {\n      get: warnAboutAccessingKey,\n      configurable: true\n    });\n  }\n}\n\nfunction defineRefPropWarningGetter(props, displayName) {\n  {\n    var warnAboutAccessingRef = function () {\n      if (!specialPropRefWarningShown) {\n        specialPropRefWarningShown = true;\n\n        error('%s: `ref` is not a prop. Trying to access it will result ' + 'in `undefined` being returned. If you need to access the same ' + 'value within the child component, you should pass it as a different ' + 'prop. (https://reactjs.org/link/special-props)', displayName);\n      }\n    };\n\n    warnAboutAccessingRef.isReactWarning = true;\n    Object.defineProperty(props, 'ref', {\n      get: warnAboutAccessingRef,\n      configurable: true\n    });\n  }\n}\n/**\n * Factory method to create a new React element. This no longer adheres to\n * the class pattern, so do not use new to call it. Also, instanceof check\n * will not work. Instead test $$typeof field against Symbol.for('react.element') to check\n * if something is a React Element.\n *\n * @param {*} type\n * @param {*} props\n * @param {*} key\n * @param {string|object} ref\n * @param {*} owner\n * @param {*} self A *temporary* helper to detect places where `this` is\n * different from the `owner` when React.createElement is called, so that we\n * can warn. We want to get rid of owner and replace string `ref`s with arrow\n * functions, and as long as `this` and owner are the same, there will be no\n * change in behavior.\n * @param {*} source An annotation object (added by a transpiler or otherwise)\n * indicating filename, line number, and/or other information.\n * @internal\n */\n\n\nvar ReactElement = function (type, key, ref, self, source, owner, props) {\n  var element = {\n    // This tag allows us to uniquely identify this as a React Element\n    $$typeof: REACT_ELEMENT_TYPE,\n    // Built-in properties that belong on the element\n    type: type,\n    key: key,\n    ref: ref,\n    props: props,\n    // Record the component responsible for creating this element.\n    _owner: owner\n  };\n\n  {\n    // The validation flag is currently mutative. We put it on\n    // an external backing store so that we can freeze the whole object.\n    // This can be replaced with a WeakMap once they are implemented in\n    // commonly used development environments.\n    element._store = {}; // To make comparing ReactElements easier for testing purposes, we make\n    // the validation flag non-enumerable (where possible, which should\n    // include every environment we run tests in), so the test framework\n    // ignores it.\n\n    Object.defineProperty(element._store, 'validated', {\n      configurable: false,\n      enumerable: false,\n      writable: true,\n      value: false\n    }); // self and source are DEV only properties.\n\n    Object.defineProperty(element, '_self', {\n      configurable: false,\n      enumerable: false,\n      writable: false,\n      value: self\n    }); // Two elements created in two different places should be considered\n    // equal for testing purposes and therefore we hide it from enumeration.\n\n    Object.defineProperty(element, '_source', {\n      configurable: false,\n      enumerable: false,\n      writable: false,\n      value: source\n    });\n\n    if (Object.freeze) {\n      Object.freeze(element.props);\n      Object.freeze(element);\n    }\n  }\n\n  return element;\n};\n/**\n * https://github.com/reactjs/rfcs/pull/107\n * @param {*} type\n * @param {object} props\n * @param {string} key\n */\n\nfunction jsxDEV(type, config, maybeKey, source, self) {\n  {\n    var propName; // Reserved names are extracted\n\n    var props = {};\n    var key = null;\n    var ref = null; // Currently, key can be spread in as a prop. This causes a potential\n    // issue if key is also explicitly declared (ie. <div {...props} key=\"Hi\" />\n    // or <div key=\"Hi\" {...props} /> ). We want to deprecate key spread,\n    // but as an intermediary step, we will use jsxDEV for everything except\n    // <div {...props} key=\"Hi\" />, because we aren't currently able to tell if\n    // key is explicitly declared to be undefined or not.\n\n    if (maybeKey !== undefined) {\n      {\n        checkKeyStringCoercion(maybeKey);\n      }\n\n      key = '' + maybeKey;\n    }\n\n    if (hasValidKey(config)) {\n      {\n        checkKeyStringCoercion(config.key);\n      }\n\n      key = '' + config.key;\n    }\n\n    if (hasValidRef(config)) {\n      ref = config.ref;\n      warnIfStringRefCannotBeAutoConverted(config, self);\n    } // Remaining properties are added to a new props object\n\n\n    for (propName in config) {\n      if (hasOwnProperty.call(config, propName) && !RESERVED_PROPS.hasOwnProperty(propName)) {\n        props[propName] = config[propName];\n      }\n    } // Resolve default props\n\n\n    if (type && type.defaultProps) {\n      var defaultProps = type.defaultProps;\n\n      for (propName in defaultProps) {\n        if (props[propName] === undefined) {\n          props[propName] = defaultProps[propName];\n        }\n      }\n    }\n\n    if (key || ref) {\n      var displayName = typeof type === 'function' ? type.displayName || type.name || 'Unknown' : type;\n\n      if (key) {\n        defineKeyPropWarningGetter(props, displayName);\n      }\n\n      if (ref) {\n        defineRefPropWarningGetter(props, displayName);\n      }\n    }\n\n    return ReactElement(type, key, ref, self, source, ReactCurrentOwner.current, props);\n  }\n}\n\nvar ReactCurrentOwner$1 = ReactSharedInternals.ReactCurrentOwner;\nvar ReactDebugCurrentFrame$1 = ReactSharedInternals.ReactDebugCurrentFrame;\n\nfunction setCurrentlyValidatingElement$1(element) {\n  {\n    if (element) {\n      var owner = element._owner;\n      var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);\n      ReactDebugCurrentFrame$1.setExtraStackFrame(stack);\n    } else {\n      ReactDebugCurrentFrame$1.setExtraStackFrame(null);\n    }\n  }\n}\n\nvar propTypesMisspellWarningShown;\n\n{\n  propTypesMisspellWarningShown = false;\n}\n/**\n * Verifies the object is a ReactElement.\n * See https://reactjs.org/docs/react-api.html#isvalidelement\n * @param {?object} object\n * @return {boolean} True if `object` is a ReactElement.\n * @final\n */\n\n\nfunction isValidElement(object) {\n  {\n    return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;\n  }\n}\n\nfunction getDeclarationErrorAddendum() {\n  {\n    if (ReactCurrentOwner$1.current) {\n      var name = getComponentNameFromType(ReactCurrentOwner$1.current.type);\n\n      if (name) {\n        return '\\n\\nCheck the render method of `' + name + '`.';\n      }\n    }\n\n    return '';\n  }\n}\n\nfunction getSourceInfoErrorAddendum(source) {\n  {\n    if (source !== undefined) {\n      var fileName = source.fileName.replace(/^.*[\\\\\\/]/, '');\n      var lineNumber = source.lineNumber;\n      return '\\n\\nCheck your code at ' + fileName + ':' + lineNumber + '.';\n    }\n\n    return '';\n  }\n}\n/**\n * Warn if there's no key explicitly set on dynamic arrays of children or\n * object keys are not valid. This allows us to keep track of children between\n * updates.\n */\n\n\nvar ownerHasKeyUseWarning = {};\n\nfunction getCurrentComponentErrorInfo(parentType) {\n  {\n    var info = getDeclarationErrorAddendum();\n\n    if (!info) {\n      var parentName = typeof parentType === 'string' ? parentType : parentType.displayName || parentType.name;\n\n      if (parentName) {\n        info = \"\\n\\nCheck the top-level render call using <\" + parentName + \">.\";\n      }\n    }\n\n    return info;\n  }\n}\n/**\n * Warn if the element doesn't have an explicit key assigned to it.\n * This element is in an array. The array could grow and shrink or be\n * reordered. All children that haven't already been validated are required to\n * have a \"key\" property assigned to it. Error statuses are cached so a warning\n * will only be shown once.\n *\n * @internal\n * @param {ReactElement} element Element that requires a key.\n * @param {*} parentType element's parent's type.\n */\n\n\nfunction validateExplicitKey(element, parentType) {\n  {\n    if (!element._store || element._store.validated || element.key != null) {\n      return;\n    }\n\n    element._store.validated = true;\n    var currentComponentErrorInfo = getCurrentComponentErrorInfo(parentType);\n\n    if (ownerHasKeyUseWarning[currentComponentErrorInfo]) {\n      return;\n    }\n\n    ownerHasKeyUseWarning[currentComponentErrorInfo] = true; // Usually the current owner is the offender, but if it accepts children as a\n    // property, it may be the creator of the child that's responsible for\n    // assigning it a key.\n\n    var childOwner = '';\n\n    if (element && element._owner && element._owner !== ReactCurrentOwner$1.current) {\n      // Give the component that originally created this child.\n      childOwner = \" It was passed a child from \" + getComponentNameFromType(element._owner.type) + \".\";\n    }\n\n    setCurrentlyValidatingElement$1(element);\n\n    error('Each child in a list should have a unique \"key\" prop.' + '%s%s See https://reactjs.org/link/warning-keys for more information.', currentComponentErrorInfo, childOwner);\n\n    setCurrentlyValidatingElement$1(null);\n  }\n}\n/**\n * Ensure that every element either is passed in a static location, in an\n * array with an explicit keys property defined, or in an object literal\n * with valid key property.\n *\n * @internal\n * @param {ReactNode} node Statically passed child of any type.\n * @param {*} parentType node's parent's type.\n */\n\n\nfunction validateChildKeys(node, parentType) {\n  {\n    if (typeof node !== 'object') {\n      return;\n    }\n\n    if (isArray(node)) {\n      for (var i = 0; i < node.length; i++) {\n        var child = node[i];\n\n        if (isValidElement(child)) {\n          validateExplicitKey(child, parentType);\n        }\n      }\n    } else if (isValidElement(node)) {\n      // This element was passed in a valid location.\n      if (node._store) {\n        node._store.validated = true;\n      }\n    } else if (node) {\n      var iteratorFn = getIteratorFn(node);\n\n      if (typeof iteratorFn === 'function') {\n        // Entry iterators used to provide implicit keys,\n        // but now we print a separate warning for them later.\n        if (iteratorFn !== node.entries) {\n          var iterator = iteratorFn.call(node);\n          var step;\n\n          while (!(step = iterator.next()).done) {\n            if (isValidElement(step.value)) {\n              validateExplicitKey(step.value, parentType);\n            }\n          }\n        }\n      }\n    }\n  }\n}\n/**\n * Given an element, validate that its props follow the propTypes definition,\n * provided by the type.\n *\n * @param {ReactElement} element\n */\n\n\nfunction validatePropTypes(element) {\n  {\n    var type = element.type;\n\n    if (type === null || type === undefined || typeof type === 'string') {\n      return;\n    }\n\n    var propTypes;\n\n    if (typeof type === 'function') {\n      propTypes = type.propTypes;\n    } else if (typeof type === 'object' && (type.$$typeof === REACT_FORWARD_REF_TYPE || // Note: Memo only checks outer props here.\n    // Inner props are checked in the reconciler.\n    type.$$typeof === REACT_MEMO_TYPE)) {\n      propTypes = type.propTypes;\n    } else {\n      return;\n    }\n\n    if (propTypes) {\n      // Intentionally inside to avoid triggering lazy initializers:\n      var name = getComponentNameFromType(type);\n      checkPropTypes(propTypes, element.props, 'prop', name, element);\n    } else if (type.PropTypes !== undefined && !propTypesMisspellWarningShown) {\n      propTypesMisspellWarningShown = true; // Intentionally inside to avoid triggering lazy initializers:\n\n      var _name = getComponentNameFromType(type);\n\n      error('Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?', _name || 'Unknown');\n    }\n\n    if (typeof type.getDefaultProps === 'function' && !type.getDefaultProps.isReactClassApproved) {\n      error('getDefaultProps is only used on classic React.createClass ' + 'definitions. Use a static property named `defaultProps` instead.');\n    }\n  }\n}\n/**\n * Given a fragment, validate that it can only be provided with fragment props\n * @param {ReactElement} fragment\n */\n\n\nfunction validateFragmentProps(fragment) {\n  {\n    var keys = Object.keys(fragment.props);\n\n    for (var i = 0; i < keys.length; i++) {\n      var key = keys[i];\n\n      if (key !== 'children' && key !== 'key') {\n        setCurrentlyValidatingElement$1(fragment);\n\n        error('Invalid prop `%s` supplied to `React.Fragment`. ' + 'React.Fragment can only have `key` and `children` props.', key);\n\n        setCurrentlyValidatingElement$1(null);\n        break;\n      }\n    }\n\n    if (fragment.ref !== null) {\n      setCurrentlyValidatingElement$1(fragment);\n\n      error('Invalid attribute `ref` supplied to `React.Fragment`.');\n\n      setCurrentlyValidatingElement$1(null);\n    }\n  }\n}\n\nfunction jsxWithValidation(type, props, key, isStaticChildren, source, self) {\n  {\n    var validType = isValidElementType(type); // We warn in this case but don't throw. We expect the element creation to\n    // succeed and there will likely be errors in render.\n\n    if (!validType) {\n      var info = '';\n\n      if (type === undefined || typeof type === 'object' && type !== null && Object.keys(type).length === 0) {\n        info += ' You likely forgot to export your component from the file ' + \"it's defined in, or you might have mixed up default and named imports.\";\n      }\n\n      var sourceInfo = getSourceInfoErrorAddendum(source);\n\n      if (sourceInfo) {\n        info += sourceInfo;\n      } else {\n        info += getDeclarationErrorAddendum();\n      }\n\n      var typeString;\n\n      if (type === null) {\n        typeString = 'null';\n      } else if (isArray(type)) {\n        typeString = 'array';\n      } else if (type !== undefined && type.$$typeof === REACT_ELEMENT_TYPE) {\n        typeString = \"<\" + (getComponentNameFromType(type.type) || 'Unknown') + \" />\";\n        info = ' Did you accidentally export a JSX literal instead of a component?';\n      } else {\n        typeString = typeof type;\n      }\n\n      error('React.jsx: type is invalid -- expected a string (for ' + 'built-in components) or a class/function (for composite ' + 'components) but got: %s.%s', typeString, info);\n    }\n\n    var element = jsxDEV(type, props, key, source, self); // The result can be nullish if a mock or a custom function is used.\n    // TODO: Drop this when these are no longer allowed as the type argument.\n\n    if (element == null) {\n      return element;\n    } // Skip key warning if the type isn't valid since our key validation logic\n    // doesn't expect a non-string/function type and can throw confusing errors.\n    // We don't want exception behavior to differ between dev and prod.\n    // (Rendering will throw with a helpful message and as soon as the type is\n    // fixed, the key warnings will appear.)\n\n\n    if (validType) {\n      var children = props.children;\n\n      if (children !== undefined) {\n        if (isStaticChildren) {\n          if (isArray(children)) {\n            for (var i = 0; i < children.length; i++) {\n              validateChildKeys(children[i], type);\n            }\n\n            if (Object.freeze) {\n              Object.freeze(children);\n            }\n          } else {\n            error('React.jsx: Static children should always be an array. ' + 'You are likely explicitly calling React.jsxs or React.jsxDEV. ' + 'Use the Babel transform instead.');\n          }\n        } else {\n          validateChildKeys(children, type);\n        }\n      }\n    }\n\n    if (type === REACT_FRAGMENT_TYPE) {\n      validateFragmentProps(element);\n    } else {\n      validatePropTypes(element);\n    }\n\n    return element;\n  }\n} // These two functions exist to still get child warnings in dev\n// even with the prod transform. This means that jsxDEV is purely\n// opt-in behavior for better messages but that we won't stop\n// giving you warnings if you use production apis.\n\nfunction jsxWithValidationStatic(type, props, key) {\n  {\n    return jsxWithValidation(type, props, key, true);\n  }\n}\nfunction jsxWithValidationDynamic(type, props, key) {\n  {\n    return jsxWithValidation(type, props, key, false);\n  }\n}\n\nvar jsx =  jsxWithValidationDynamic ; // we may want to special case jsxs internally to take advantage of static children.\n// for now we can ship identical prod functions\n\nvar jsxs =  jsxWithValidationStatic ;\n\nexports.Fragment = REACT_FRAGMENT_TYPE;\nexports.jsx = jsx;\nexports.jsxs = jsxs;\n  })();\n}\n","'use strict';\nvar globalThis = require('../internals/global-this');\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar defineGlobalProperty = require('../internals/define-global-property');\nvar copyConstructorProperties = require('../internals/copy-constructor-properties');\nvar isForced = require('../internals/is-forced');\n\n/*\n  options.target         - name of the target object\n  options.global         - target is the global object\n  options.stat           - export as static methods of target\n  options.proto          - export as prototype methods of target\n  options.real           - real prototype method for the `pure` version\n  options.forced         - export even if the native feature is available\n  options.bind           - bind methods to the target, required for the `pure` version\n  options.wrap           - wrap constructors to preventing global pollution, required for the `pure` version\n  options.unsafe         - use the simple assignment of property instead of delete + defineProperty\n  options.sham           - add a flag to not completely full polyfills\n  options.enumerable     - export as enumerable property\n  options.dontCallGetSet - prevent calling a getter on target\n  options.name           - the .name of the function if it does not match the key\n*/\nmodule.exports = function (options, source) {\n  var TARGET = options.target;\n  var GLOBAL = options.global;\n  var STATIC = options.stat;\n  var FORCED, target, key, targetProperty, sourceProperty, descriptor;\n  if (GLOBAL) {\n    target = globalThis;\n  } else if (STATIC) {\n    target = globalThis[TARGET] || defineGlobalProperty(TARGET, {});\n  } else {\n    target = globalThis[TARGET] && globalThis[TARGET].prototype;\n  }\n  if (target) for (key in source) {\n    sourceProperty = source[key];\n    if (options.dontCallGetSet) {\n      descriptor = getOwnPropertyDescriptor(target, key);\n      targetProperty = descriptor && descriptor.value;\n    } else targetProperty = target[key];\n    FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);\n    // contained in target\n    if (!FORCED && targetProperty !== undefined) {\n      if (typeof sourceProperty == typeof targetProperty) continue;\n      copyConstructorProperties(sourceProperty, targetProperty);\n    }\n    // add a flag to not completely full polyfills\n    if (options.sham || (targetProperty && targetProperty.sham)) {\n      createNonEnumerableProperty(sourceProperty, 'sham', true);\n    }\n    defineBuiltIn(target, key, sourceProperty, options);\n  }\n};\n","module.exports = window.wp?.blocks;","'use strict';\nvar toPrimitive = require('../internals/to-primitive');\nvar isSymbol = require('../internals/is-symbol');\n\n// `ToPropertyKey` abstract operation\n// https://tc39.es/ecma262/#sec-topropertykey\nmodule.exports = function (argument) {\n  var key = toPrimitive(argument, 'string');\n  return isSymbol(key) ? key : key + '';\n};\n","'use strict';\nmodule.exports = function (exec) {\n  try {\n    return !!exec();\n  } catch (error) {\n    return true;\n  }\n};\n","'use strict';\nvar globalThis = require('../internals/global-this');\nvar shared = require('../internals/shared');\nvar hasOwn = require('../internals/has-own-property');\nvar uid = require('../internals/uid');\nvar NATIVE_SYMBOL = require('../internals/symbol-constructor-detection');\nvar USE_SYMBOL_AS_UID = require('../internals/use-symbol-as-uid');\n\nvar Symbol = globalThis.Symbol;\nvar WellKnownSymbolsStore = shared('wks');\nvar createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol['for'] || Symbol : Symbol && Symbol.withoutSetter || uid;\n\nmodule.exports = function (name) {\n  if (!hasOwn(WellKnownSymbolsStore, name)) {\n    WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn(Symbol, name)\n      ? Symbol[name]\n      : createWellKnownSymbol('Symbol.' + name);\n  } return WellKnownSymbolsStore[name];\n};\n","'use strict';\n// toObject with fallback for non-array-like ES3 strings\nvar IndexedObject = require('../internals/indexed-object');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\nmodule.exports = function (it) {\n  return IndexedObject(requireObjectCoercible(it));\n};\n","const CategoriesIcon = <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\">\n\t<rect x=\"0\" fill=\"none\" width=\"20\" height=\"20\" />\n\t<g>\n\t\t<path\n\t\t\tfill=\"#044567\"\n\t\t\td=\"M19 17V2c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v15c0 .55.45 1 1 1h15c.55 0 1-.45 1-1z M4 3h13v4H4V3z M5 4h3v2H5V4zm4 0h3v2H9V4zm4 0h3v2H13V4z M4.5 9 c .28 0 .5 .22 .5 .5s-.22.5-.5.5s-.5-.22-.5-.5s.22-.5 .5-.5z M6 9h4v1H6v-1z M4.5 12 c .28 0 .5 .22 .5 .5s-.22.5-.5.5s-.5-.22-.5-.5s.22-.5 .5-.5z M6 12h4v1H6v-1z M4.5 15 c .28 0 .5 .22 .5 .5s-.22.5-.5.5s-.5-.22-.5-.5s.22-.5 .5-.5z M6 15h4v1H6v-1z M12 10 H15.5 L17 12.5 L15.5 15 H12 V10 Z M13 12.5 m -0.6 0 a 0.6 0.6 0 1 0 1.2 0 a 0.6 0.6 0 1 0 -1.2 0\" />\n\t</g>\n</svg>;\n\nexport default CategoriesIcon;\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar hasOwn = require('../internals/has-own-property');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar indexOf = require('../internals/array-includes').indexOf;\nvar hiddenKeys = require('../internals/hidden-keys');\n\nvar push = uncurryThis([].push);\n\nmodule.exports = function (object, names) {\n  var O = toIndexedObject(object);\n  var i = 0;\n  var result = [];\n  var key;\n  for (key in O) !hasOwn(hiddenKeys, key) && hasOwn(O, key) && push(result, key);\n  // Don't enum bug & hidden keys\n  while (names.length > i) if (hasOwn(O, key = names[i++])) {\n    ~indexOf(result, key) || push(result, key);\n  }\n  return result;\n};\n","'use strict';\nvar isObject = require('../internals/is-object');\n\nvar $String = String;\nvar $TypeError = TypeError;\n\n// `Assert: Type(argument) is Object`\nmodule.exports = function (argument) {\n  if (isObject(argument)) return argument;\n  throw new $TypeError($String(argument) + ' is not an object');\n};\n","'use strict';\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\nvar $Object = Object;\n\n// `ToObject` abstract operation\n// https://tc39.es/ecma262/#sec-toobject\nmodule.exports = function (argument) {\n  return $Object(requireObjectCoercible(argument));\n};\n","'use strict';\nvar globalThis = require('../internals/global-this');\nvar isCallable = require('../internals/is-callable');\n\nvar WeakMap = globalThis.WeakMap;\n\nmodule.exports = isCallable(WeakMap) && /native code/.test(String(WeakMap));\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar toObject = require('../internals/to-object');\n\nvar hasOwnProperty = uncurryThis({}.hasOwnProperty);\n\n// `HasOwnProperty` abstract operation\n// https://tc39.es/ecma262/#sec-hasownproperty\n// eslint-disable-next-line es/no-object-hasown -- safe\nmodule.exports = Object.hasOwn || function hasOwn(it, key) {\n  return hasOwnProperty(toObject(it), key);\n};\n","'use strict';\nmodule.exports = function (bitmap, value) {\n  return {\n    enumerable: !(bitmap & 1),\n    configurable: !(bitmap & 2),\n    writable: !(bitmap & 4),\n    value: value\n  };\n};\n","'use strict';\n// IE8- don't enum bug keys\nmodule.exports = [\n  'constructor',\n  'hasOwnProperty',\n  'isPrototypeOf',\n  'propertyIsEnumerable',\n  'toLocaleString',\n  'toString',\n  'valueOf'\n];\n","// extracted by mini-css-extract-plugin\nexport default {\"wrap\":\"preview__wrap__BD\",\"placeholder\":\"preview__placeholder__HI\",\"error\":\"preview__error__Nl\",\"spin-wrap\":\"preview__spin-wrap__o0\",\"spinWrap\":\"preview__spin-wrap__o0\",\"spin\":\"preview__spin__Oj\",\"spin-content\":\"preview__spin-content__uC\",\"spinContent\":\"preview__spin-content__uC\"};","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this-clause');\nvar aCallable = require('../internals/a-callable');\nvar NATIVE_BIND = require('../internals/function-bind-native');\n\nvar bind = uncurryThis(uncurryThis.bind);\n\n// optional / simple context binding\nmodule.exports = function (fn, that) {\n  aCallable(fn);\n  return that === undefined ? fn : NATIVE_BIND ? bind(fn, that) : function (/* ...args */) {\n    return fn.apply(that, arguments);\n  };\n};\n","import {useSelect} from '@wordpress/data';\nimport {CONFIG} from '../../../globals/config';\nimport DOMPurify from 'dompurify';\nimport {BlockControls, InspectorControls} from '@wordpress/block-editor';\nimport Preview from '../Preview';\nimport {Attr, block} from './block';\nimport {Taxonomy} from '@wordpress/api/taxonomies';\nimport {BlockEditProps} from '@wordpress/blocks';\nimport ErrorBoundary from '../../../components/ErrorBoundary';\nimport Display from '../Display';\nimport {CheckboxControl, PanelBody, SelectControl, Slot, TextControl} from '@wordpress/components';\nimport {__, sprintf} from '@wordpress/i18n';\nimport InfoPanel from '../InfoPanel';\nimport SideLoad from '../../SideLoad';\nimport {isScreen} from '../../helpers';\nimport ExcludeField from '../ExcludeField';\n\nimport styles from '../pages/edit.pcss';\n\n\nexport type FillProps =\n\tPick<BlockEditProps<Attr>, 'clientId' | 'attributes' | 'setAttributes' | 'name'>\n\t& { type?: Taxonomy }\n\ntype Props = BlockEditProps<Attr>;\n\nconst Edit = ( {attributes, setAttributes, clientId, name}: Props ) => {\n\tconst taxonomy: Taxonomy<'edit'> | undefined = useSelect( select => {\n\t\tconst type = select( 'core' ).getTaxonomy( attributes.taxonomy ?? 'category' );\n\t\treturn type ?? select( 'core' ).getTaxonomy( 'category' );\n\t}, [ attributes.taxonomy ] );\n\n\t// We have a version conflict or license error.\n\tif ( '' !== CONFIG.error ) {\n\t\treturn ( <>\n\t\t\t<InspectorControls>\n\t\t\t\t<div\n\t\t\t\t\tclassName={styles.error}\n\t\t\t\t\tdangerouslySetInnerHTML={{__html: DOMPurify.sanitize( CONFIG.error )}} />\n\t\t\t</InspectorControls>\n\t\t\t<Preview<Attr> attributes={attributes} block={block.id} clientId={clientId} />\n\t\t</> );\n\t}\n\n\tconst fillProps: FillProps = {\n\t\ttype: taxonomy,\n\t\tattributes,\n\t\tname,\n\t\tsetAttributes,\n\t\tclientId,\n\t};\n\n\treturn ( <>\n\t\t<InspectorControls>\n\t\t\t<div className={'components-panel__body is-opened'}>\n\t\t\t\t<a\n\t\t\t\t\thref={CONFIG.docs.category}\n\t\t\t\t\ttarget=\"_blank\"\n\t\t\t\t\trel=\"noopener noreferrer\"\n\t\t\t\t>\n\t\t\t\t\t{__( 'Documentation', 'advanced-sidebar-menu' )}\n\t\t\t\t</a>\n\t\t\t</div>\n\t\t</InspectorControls>\n\t\t<InspectorControls>\n\t\t\t{isScreen( [ 'widgets', 'site-editor', 'customize' ] ) && <PanelBody>\n\t\t\t\t<TextControl\n\t\t\t\t\tvalue={attributes.title ?? ''}\n\t\t\t\t\tlabel={__( 'Title', 'advanced-sidebar-menu' )}\n\t\t\t\t\tonChange={title => setAttributes( {title} )}\n\t\t\t\t\t// @ts-expect-error -- Not technically supported until WP 6.7\n\t\t\t\t\t__nextHasNoMarginBottom\n\t\t\t\t/>\n\t\t\t</PanelBody>}\n\t\t\t<ErrorBoundary attributes={attributes} block={name} section={'categories/Edit/general'}>\n\t\t\t\t<Display\n\t\t\t\t\tattributes={attributes}\n\t\t\t\t\tclientId={clientId}\n\t\t\t\t\tname={name}\n\t\t\t\t\tsetAttributes={setAttributes}\n\t\t\t\t\ttype={taxonomy}\n\t\t\t\t>\n\t\t\t\t\t{/* Not offering \"Display categories on single posts\"\n\t\t                when editing a post because this must be true, or\n\t\t                the block won't display.\n\n\t\t                We default the attribute to `true` if we are editing\n\t\t                a post during register of block attributes. */}\n\t\t\t\t\t{! isScreen( [ 'post' ] ) && <CheckboxControl\n\t\t\t\t\t\t/* translators: %s: Selected taxonomy plural label */\n\t\t\t\t\t\tlabel={sprintf( __( 'Display %s on single posts', 'advanced-sidebar-menu' ), taxonomy?.labels?.name.toLowerCase() ?? '' )}\n\t\t\t\t\t\tchecked={attributes.single}\n\t\t\t\t\t\tonChange={value => {\n\t\t\t\t\t\t\tsetAttributes( {\n\t\t\t\t\t\t\t\tsingle: value,\n\t\t\t\t\t\t\t} );\n\t\t\t\t\t\t}}\n\t\t\t\t\t\t// @ts-expect-error -- Not technically available until WP 6.7.\n\t\t\t\t\t\t__nextHasNoMarginBottom\n\t\t\t\t\t/>}\n\t\t\t\t\t{/*\n\t\t\t\t\t\t  Only widget screens support this option because we\n\t\t\t\t\t\t  have no widget wrap to use on other screens, so they are\n\t\t\t\t\t\t  list only. */}\n\t\t\t\t\t{isScreen( [ 'widgets', 'customize' ] ) && attributes.single &&\n\t\t\t\t\t\t<SelectControl<'list' | 'widget'>\n\t\t\t\t\t\t\t/* translators: %s: Selected taxonomy single label */\n\t\t\t\t\t\t\tlabel={sprintf( __( 'Display each single post\\'s %s', 'advanced-sidebar-menu' ), taxonomy?.labels?.name.toLowerCase() ?? '' )}\n\t\t\t\t\t\t\tvalue={attributes.new_widget}\n\t\t\t\t\t\t\toptions={Object.keys( CONFIG.categories.displayEach ).map( ( key: 'list' | 'widget' ) => ( {\n\t\t\t\t\t\t\t\tvalue: key,\n\t\t\t\t\t\t\t\tlabel: CONFIG.categories.displayEach[ key ],\n\t\t\t\t\t\t\t} ) )}\n\t\t\t\t\t\t\t/* eslint-disable-next-line camelcase */\n\t\t\t\t\t\t\tonChange={new_widget => setAttributes( {new_widget} )}\n\t\t\t\t\t\t/>}\n\t\t\t\t</Display>\n\n\t\t\t\t<div className={'components-panel__body is-opened'}>\n\n\t\t\t\t\t<Slot<FillProps>\n\t\t\t\t\t\tname=\"advanced-sidebar-menu/categories/general\"\n\t\t\t\t\t\tfillProps={fillProps} />\n\n\t\t\t\t\t<ExcludeField\n\t\t\t\t\t\ttype={taxonomy}\n\t\t\t\t\t\tattributes={attributes}\n\t\t\t\t\t\tsetAttributes={setAttributes} />\n\n\t\t\t\t</div>\n\t\t\t</ErrorBoundary>\n\t\t\t<ErrorBoundary\n\t\t\t\tattributes={attributes}\n\t\t\t\tblock={name}\n\t\t\t\tsection={'categories/Edit/inspector'}\n\t\t\t>\n\t\t\t\t<Slot<FillProps>\n\t\t\t\t\tname=\"advanced-sidebar-menu/categories/inspector\"\n\t\t\t\t\tfillProps={fillProps} />\n\n\t\t\t</ErrorBoundary>\n\t\t</InspectorControls>\n\n\t\t<BlockControls>\n\t\t\t<ErrorBoundary\n\t\t\t\tattributes={attributes}\n\t\t\t\tblock={name}\n\t\t\t\tsection={'categories/Edit/block-controls'}\n\t\t\t>\n\t\t\t\t<Slot<FillProps>\n\t\t\t\t\tname=\"advanced-sidebar-menu/categories/block-controls\"\n\t\t\t\t\tfillProps={fillProps} />\n\t\t\t</ErrorBoundary>\n\t\t</BlockControls>\n\n\n\t\t<InfoPanel clientId={clientId} />\n\n\t\t<ErrorBoundary attributes={attributes} block={name} section={'categories/Edit/preview'}>\n\t\t\t<Preview<Attr> attributes={attributes} block={block.id} clientId={clientId} />\n\t\t</ErrorBoundary>\n\n\t\t<SideLoad clientId={clientId} />\n\n\t</> );\n};\n\nexport default Edit;\n","'use strict';\nvar call = require('../internals/function-call');\nvar isCallable = require('../internals/is-callable');\nvar isObject = require('../internals/is-object');\n\nvar $TypeError = TypeError;\n\n// `OrdinaryToPrimitive` abstract operation\n// https://tc39.es/ecma262/#sec-ordinarytoprimitive\nmodule.exports = function (input, pref) {\n  var fn, val;\n  if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;\n  if (isCallable(fn = input.valueOf) && !isObject(val = call(fn, input))) return val;\n  if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;\n  throw new $TypeError(\"Can't convert object to primitive value\");\n};\n","'use strict';\nvar isCallable = require('../internals/is-callable');\n\nmodule.exports = function (it) {\n  return typeof it == 'object' ? it !== null : isCallable(it);\n};\n","import {withFilters} from '@wordpress/components';\nimport {select} from '@wordpress/data';\nimport {isEmpty} from 'lodash';\n\ntype Props = {\n\tclientId: string;\n};\n\nlet firstClientId = '';\n/**\n * The customizer area does not include a `PluginArea` component,\n * so our slot fills do not load.\n *\n * We can use filters, but the Fills double up each time\n * another block is added to the page.\n *\n * Track the clientId of the first block we add the Fill to\n * and only return the Fill for that block. The rest of the blocks\n * inherit the Fill from the first block via their Slots.\n */\nconst SideLoad = ( {clientId, children} ) => {\n\tif ( ! isEmpty( firstClientId ) && clientId !== firstClientId ) {\n\t\t// Make sure block still exists.\n\t\tif ( -1 !== select( 'core/block-editor' ).getBlockIndex( firstClientId ) ) {\n\t\t\treturn null;\n\t\t}\n\t}\n\tfirstClientId = clientId;\n\treturn children ?? null;\n};\n\nexport default withFilters<Props>( 'advanced-sidebar-menu.blocks.side-load' )( SideLoad );\n","import {Component, ErrorInfo, PropsWithChildren} from 'react';\nimport {CONFIG} from '../globals/config';\nimport {addQueryArgs} from '@wordpress/url';\nimport DOMPurify from 'dompurify';\n\nconst {sanitize} = DOMPurify;\n\ntype Props = {\n\tattributes: object,\n\tblock: string;\n\tsection: string;\n}\n\n/**\n * Wrap any component in me, which may throw errors, and I will\n * prevent the entire UI from disappearing.\n *\n * Custom version special to Advanced Sidebar Menu with links to\n * support as well as debugging information.\n *\n * @link https://reactjs.org/docs/error-boundaries.html#introducing-error-boundaries\n */\nclass ErrorBoundary extends Component<PropsWithChildren<Props>, {\n\thasError: boolean,\n\terror: Error | null\n}> {\n\tconstructor( props: Props ) {\n\t\tsuper( props );\n\t\tthis.state = {\n\t\t\thasError: false,\n\t\t\terror: null,\n\t\t};\n\t}\n\n\tstatic getDerivedStateFromError() {\n\t\t// Update state, so the next render will show the fallback UI.\n\t\treturn {\n\t\t\thasError: true,\n\t\t};\n\t}\n\n\t/**\n\t * Log information about the error when it happens.\n\t *\n\t * @notice Will log \"Error: A cross-origin error was thrown. React doesn't have\n\t *         access to the actual error object in development\" in React development\n\t *         mode but provides full error info in React production.\n\t */\n\tcomponentDidCatch( error: Error, info: ErrorInfo ) {\n\t\tconsole.warn( '%cError caught by the Advanced Sidebar ErrorBoundary!', 'color:orange; font-size: large; font-weight: bold' );\n\t\tconsole.warn( this.props );\n\t\tconsole.warn( error );\n\t\tconsole.warn( info );\n\t\tthis.setState( {\n\t\t\terror,\n\t\t} );\n\t}\n\n\trender() {\n\t\tif ( this.state.hasError ) {\n\t\t\tif ( ! CONFIG.siteInfo.scriptDebug ) {\n\t\t\t\treturn ( <div className={'components-panel__body is-opened'}>\n\t\t\t\t\t<h4 style={{color: 'red'}}>\n\t\t\t\t\t\tSomething went wrong!\n\t\t\t\t\t</h4>\n\t\t\t\t\t<p>\n\t\t\t\t\t\t<button\n\t\t\t\t\t\t\tclassName={'components-button is-link'}\n\t\t\t\t\t\t\tonClick={e => {\n\t\t\t\t\t\t\t\te.preventDefault();\n\t\t\t\t\t\t\t\tconst location = addQueryArgs( sanitize( window.location.href ), {\n\t\t\t\t\t\t\t\t\t'script-debug': 'true',\n\t\t\t\t\t\t\t\t} );\n\t\t\t\t\t\t\t\twindow.open( sanitize( location ), '_blank', 'noopener,noreferrer' );\n\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\tPlease enable script debug\n\t\t\t\t\t\t</button>\n\t\t\t\t\t\tto retrieve error information.\n\t\t\t\t\t</p>\n\t\t\t\t</div> );\n\t\t\t}\n\t\t\treturn (\n\t\t\t\t<div className={'components-panel__body is-opened'}>\n\t\t\t\t\t<h4 style={{color: 'red'}}>\n\t\t\t\t\t\tSomething went wrong!\n\t\t\t\t\t</h4>\n\t\t\t\t\t<p>\n\t\t\t\t\t\t<button\n\t\t\t\t\t\t\tclassName={'components-button is-link'}\n\t\t\t\t\t\t\tonClick={e => {\n\t\t\t\t\t\t\t\te.preventDefault();\n\t\t\t\t\t\t\t\twindow.open( sanitize( CONFIG.support ), '_blank', 'noopener,noreferrer' );\n\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\tPlease create a support request\n\t\t\t\t\t\t</button>\n\t\t\t\t\t\t&nbsp;with the following information:\n\t\t\t\t\t</p>\n\t\t\t\t\t<ol>\n\t\t\t\t\t\t<li>\n\t\t\t\t\t\t\t<button\n\t\t\t\t\t\t\t\tclassName={'components-button is-link'}\n\t\t\t\t\t\t\t\tonClick={e => {\n\t\t\t\t\t\t\t\t\te.preventDefault();\n\t\t\t\t\t\t\t\t\twindow.open( 'https://onpointplugins.com/how-to-retrieve-console-logs-from-your-browser/', '_blank', 'noopener,noreferrer' );\n\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\tThe logs from your browser console.\n\t\t\t\t\t\t\t</button>\n\t\t\t\t\t\t</li>\n\t\t\t\t\t\t<li>\n\t\t\t\t\t\t\tThe following information.\n\t\t\t\t\t\t</li>\n\t\t\t\t\t</ol>\n\n\t\t\t\t\t<div\n\t\t\t\t\t\tstyle={{\n\t\t\t\t\t\t\tborder: '2px groove',\n\t\t\t\t\t\t\tpadding: '10px',\n\t\t\t\t\t\t\twidth: '100%',\n\t\t\t\t\t\t\toverflowWrap: 'break-word',\n\t\t\t\t\t\t}}\n\t\t\t\t\t>\n\t\t\t\t\t\t<p>\n\t\t\t\t\t\t\t<strong><em>Section</em></strong> <br />\n\t\t\t\t\t\t\t<code>\n\t\t\t\t\t\t\t\t{this.props.section}\n\t\t\t\t\t\t\t</code>\n\t\t\t\t\t\t</p>\n\t\t\t\t\t\t<p>\n\t\t\t\t\t\t\t<strong><em>Screen</em></strong> <br />\n\t\t\t\t\t\t\t<code>\n\t\t\t\t\t\t\t\t{CONFIG.currentScreen}\n\t\t\t\t\t\t\t</code>\n\t\t\t\t\t\t</p>\n\t\t\t\t\t\t<p>\n\t\t\t\t\t\t\t<strong><em>Message</em></strong> <br />\n\t\t\t\t\t\t\t<code>\n\t\t\t\t\t\t\t\t{this.state.error?.message}\n\t\t\t\t\t\t\t</code>\n\t\t\t\t\t\t</p>\n\t\t\t\t\t\t<p>\n\t\t\t\t\t\t\t<strong><em>Block</em></strong> <br />\n\t\t\t\t\t\t\t<code>\n\t\t\t\t\t\t\t\t{this.props.block}\n\t\t\t\t\t\t\t</code>\n\t\t\t\t\t\t</p>\n\t\t\t\t\t\t<p>\n\t\t\t\t\t\t\t<strong><em>Attributes</em></strong> <br />\n\t\t\t\t\t\t\t<code>\n\t\t\t\t\t\t\t\t{JSON.stringify( this.props.attributes )}\n\t\t\t\t\t\t\t</code>\n\t\t\t\t\t\t</p>\n\t\t\t\t\t\t<p>\n\t\t\t\t\t\t\t<strong><em>Site Info</em></strong> <br />\n\t\t\t\t\t\t\t<code>\n\t\t\t\t\t\t\t\t{JSON.stringify( CONFIG.siteInfo )}\n\t\t\t\t\t\t\t</code>\n\t\t\t\t\t\t</p>\n\t\t\t\t\t\t<p>\n\t\t\t\t\t\t\t<strong><em>Stack</em></strong> <br />\n\t\t\t\t\t\t\t<code>\n\t\t\t\t\t\t\t\t{this.state.error?.stack}\n\t\t\t\t\t\t\t</code>\n\t\t\t\t\t\t</p>\n\t\t\t\t\t</div>\n\t\t\t\t\t<p>\n\t\t\t\t\t\t&nbsp;\n\t\t\t\t\t</p>\n\t\t\t\t\t<p>\n\t\t\t\t\t\t&nbsp;\n\t\t\t\t\t</p>\n\t\t\t\t</div>\n\t\t\t);\n\t\t}\n\n\t\treturn this.props.children;\n\t}\n}\n\nexport default ErrorBoundary;\n","module.exports = window.wp?.hooks;","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar isCallable = require('../internals/is-callable');\nvar store = require('../internals/shared-store');\n\nvar functionToString = uncurryThis(Function.toString);\n\n// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper\nif (!isCallable(store.inspectSource)) {\n  store.inspectSource = function (it) {\n    return functionToString(it);\n  };\n}\n\nmodule.exports = store.inspectSource;\n","module.exports = window.wp?.serverSideRender;","'use strict';\n\nvar m = require('react-dom');\nif (process.env.NODE_ENV === 'production') {\n  exports.createRoot = m.createRoot;\n  exports.hydrateRoot = m.hydrateRoot;\n} else {\n  var i = m.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;\n  exports.createRoot = function(c, o) {\n    i.usingClientEntryPoint = true;\n    try {\n      return m.createRoot(c, o);\n    } finally {\n      i.usingClientEntryPoint = false;\n    }\n  };\n  exports.hydrateRoot = function(c, h, o) {\n    i.usingClientEntryPoint = true;\n    try {\n      return m.hydrateRoot(c, h, o);\n    } finally {\n      i.usingClientEntryPoint = false;\n    }\n  };\n}\n","'use strict';\nvar hasOwn = require('../internals/has-own-property');\nvar isCallable = require('../internals/is-callable');\nvar toObject = require('../internals/to-object');\nvar sharedKey = require('../internals/shared-key');\nvar CORRECT_PROTOTYPE_GETTER = require('../internals/correct-prototype-getter');\n\nvar IE_PROTO = sharedKey('IE_PROTO');\nvar $Object = Object;\nvar ObjectPrototype = $Object.prototype;\n\n// `Object.getPrototypeOf` method\n// https://tc39.es/ecma262/#sec-object.getprototypeof\n// eslint-disable-next-line es/no-object-getprototypeof -- safe\nmodule.exports = CORRECT_PROTOTYPE_GETTER ? $Object.getPrototypeOf : function (O) {\n  var object = toObject(O);\n  if (hasOwn(object, IE_PROTO)) return object[IE_PROTO];\n  var constructor = object.constructor;\n  if (isCallable(constructor) && object instanceof constructor) {\n    return constructor.prototype;\n  } return object instanceof $Object ? ObjectPrototype : null;\n};\n","'use strict';\nvar call = require('../internals/function-call');\nvar isObject = require('../internals/is-object');\nvar isSymbol = require('../internals/is-symbol');\nvar getMethod = require('../internals/get-method');\nvar ordinaryToPrimitive = require('../internals/ordinary-to-primitive');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar $TypeError = TypeError;\nvar TO_PRIMITIVE = wellKnownSymbol('toPrimitive');\n\n// `ToPrimitive` abstract operation\n// https://tc39.es/ecma262/#sec-toprimitive\nmodule.exports = function (input, pref) {\n  if (!isObject(input) || isSymbol(input)) return input;\n  var exoticToPrim = getMethod(input, TO_PRIMITIVE);\n  var result;\n  if (exoticToPrim) {\n    if (pref === undefined) pref = 'default';\n    result = call(exoticToPrim, input, pref);\n    if (!isObject(result) || isSymbol(result)) return result;\n    throw new $TypeError(\"Can't convert object to primitive value\");\n  }\n  if (pref === undefined) pref = 'number';\n  return ordinaryToPrimitive(input, pref);\n};\n","'use strict';\nmodule.exports = {};\n","'use strict';\nvar $ = require('../internals/export');\nvar call = require('../internals/function-call');\nvar iterate = require('../internals/iterate');\nvar aCallable = require('../internals/a-callable');\nvar anObject = require('../internals/an-object');\nvar getIteratorDirect = require('../internals/get-iterator-direct');\nvar iteratorClose = require('../internals/iterator-close');\nvar iteratorHelperWithoutClosingOnEarlyError = require('../internals/iterator-helper-without-closing-on-early-error');\n\nvar forEachWithoutClosingOnEarlyError = iteratorHelperWithoutClosingOnEarlyError('forEach', TypeError);\n\n// `Iterator.prototype.forEach` method\n// https://tc39.es/ecma262/#sec-iterator.prototype.foreach\n$({ target: 'Iterator', proto: true, real: true, forced: forEachWithoutClosingOnEarlyError }, {\n  forEach: function forEach(fn) {\n    anObject(this);\n    try {\n      aCallable(fn);\n    } catch (error) {\n      iteratorClose(this, 'throw', error);\n    }\n\n    if (forEachWithoutClosingOnEarlyError) return call(forEachWithoutClosingOnEarlyError, this, fn);\n\n    var record = getIteratorDirect(this);\n    var counter = 0;\n    iterate(record, function (value) {\n      fn(value, counter++);\n    }, { IS_RECORD: true });\n  }\n});\n","import type {BlockSettings, LegacyWidget} from '@wordpress/blocks';\nimport {CONFIG} from '../../../globals/config';\nimport Edit from './Edit';\nimport type {DisplayOptions} from '../Display';\nimport {getBlockSupports, transformLegacyWidget, translateBlockAttributes} from '../../helpers';\nimport {__} from '@wordpress/i18n';\nimport type {CommonAttr} from '../Preview';\nimport PagesIcon from './PagesIcon';\n\n/**\n * Attributes specific to the widget as well as shared\n * widget attributes.\n *\n * @see \\Advanced_Sidebar_Menu\\Blocks\\Pages::get_attributes\n * @see \\Advanced_Sidebar_Menu\\Blocks\\Common\n */\nexport type Attr = {\n\texclude: string;\n\torder_by: string;\n} & DisplayOptions & ProRegistered & CommonAttr;\n\n// Options used by basic when available from PRO.\ntype ProRegistered = {\n\tpost_type?: string;\n}\n\nexport type setAttributes = ( newValue: {\n\t[attribute in keyof Attr]?: Attr[attribute]\n} ) => void;\n\n\n/**\n * Attributes used for the example preview.\n * Combines some PRO and basic attributes.\n * The PRO attributes will only be sent if PRO is active.\n */\nconst EXAMPLE = {\n\tapply_current_page_parent_styles_to_parent: true,\n\tapply_current_page_styles_to_parent: true,\n\tblock_style: true,\n\tborder: true,\n\tborder_color: '#333',\n\tbullet_style: 'none',\n\tchild_page_bg_color: '#666',\n\tchild_page_color: '#fff',\n\tcurrent_page_bg_color: '#282828',\n\tcurrent_page_color: '#0cc4c6',\n\tcurrent_page_font_weight: 'normal',\n\tcurrent_page_parent_bg_color: '#333',\n\tdisplay_all: true,\n\tgrandchild_page_bg_color: '#989898',\n\tgrandchild_page_color: '#282828',\n\tgrandchild_page_font_weight: 'bold',\n\tinclude_childless_parent: true,\n\tinclude_parent: true,\n\tlevels: 2,\n\tparent_page_bg_color: '#666',\n\tparent_page_color: '#fff',\n};\n\nexport const block = CONFIG.blocks.pages;\n\nexport const name = block.id;\n\nexport const settings: BlockSettings<Attr, '', LegacyWidget<Attr & { title: string }>> = {\n\ttitle: __( 'Advanced Sidebar - Pages', 'advanced-sidebar-menu' ),\n\ticon: PagesIcon,\n\tcategory: 'widgets',\n\tdescription: __( 'Creates a menu of all the pages using the parent/child relationship', 'advanced-sidebar-menu' ),\n\texample: {\n\t\tattributes: EXAMPLE,\n\t},\n\ttransforms: {\n\t\tfrom: [\n\t\t\t{\n\t\t\t\ttype: 'block',\n\t\t\t\tblocks: [ 'core/legacy-widget' ],\n\t\t\t\tisMatch: ( {idBase, instance} ) => {\n\t\t\t\t\tif ( null === instance?.raw ) {\n\t\t\t\t\t\t// Can't transform if the raw instance is not shown in REST API.\n\t\t\t\t\t\treturn false;\n\t\t\t\t\t}\n\t\t\t\t\treturn 'advanced_sidebar_menu' === idBase;\n\t\t\t\t},\n\t\t\t\ttransform: transformLegacyWidget<Attr>( name ),\n\t\t\t},\n\t\t],\n\t},\n\tattributes: translateBlockAttributes<Attr>( block.attributes ),\n\tsupports: getBlockSupports(),\n\tedit: props => (\n\t\t<Edit {...props} />\n\t),\n\tsave: () => null,\n\tapiVersion: 3,\n};\n","'use strict';\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\n\nvar $TypeError = TypeError;\n\nmodule.exports = function (it, Prototype) {\n  if (isPrototypeOf(Prototype, it)) return it;\n  throw new $TypeError('Incorrect invocation');\n};\n","'use strict';\nvar toLength = require('../internals/to-length');\n\n// `LengthOfArrayLike` abstract operation\n// https://tc39.es/ecma262/#sec-lengthofarraylike\nmodule.exports = function (obj) {\n  return toLength(obj.length);\n};\n","const NavigationIcon = <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\">\n\t<rect x=\"0\" fill=\"none\" width=\"20\" height=\"20\" />\n\t<g>\n\t\t<path\n\t\t\tfill=\"#044567\"\n\t\t\td=\"M19 17V2c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v15c0 .55.45 1 1 1h15c.55 0 1-.45 1-1z M4 3h13v4H4V3z M5 4h3v2H5V4zm4 0h3v2H9V4zm4 0h3v2H13V4z M4.5 9 c .28 0 .5 .22 .5 .5s-.22.5-.5.5s-.5-.22-.5-.5s.22-.5 .5-.5z M6 9h4v1H6v-1z M4.5 12 c .28 0 .5 .22 .5 .5s-.22.5-.5.5s-.5-.22-.5-.5s.22-.5 .5-.5z M6 12h4v1H6v-1z M4.5 15 c .28 0 .5 .22 .5 .5s-.22.5-.5.5s-.5-.22-.5-.5s.22-.5 .5-.5z M6 15h4v1H6v-1z M12.5 10.5 h4v1h-4v-1z M12.5 12 h4v1h-4v-1z M12.5 13.5 h4v1h-4v-1z\" />\n\t</g>\n</svg>;\n\nexport default NavigationIcon;\n","'use strict';\nvar fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\nvar isObject = require('../internals/is-object');\nvar create = require('../internals/object-create');\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar IS_PURE = require('../internals/is-pure');\n\nvar ITERATOR = wellKnownSymbol('iterator');\nvar BUGGY_SAFARI_ITERATORS = false;\n\n// `%IteratorPrototype%` object\n// https://tc39.es/ecma262/#sec-%iteratorprototype%-object\nvar IteratorPrototype, PrototypeOfArrayIteratorPrototype, arrayIterator;\n\n/* eslint-disable es/no-array-prototype-keys -- safe */\nif ([].keys) {\n  arrayIterator = [].keys();\n  // Safari 8 has buggy iterators w/o `next`\n  if (!('next' in arrayIterator)) BUGGY_SAFARI_ITERATORS = true;\n  else {\n    PrototypeOfArrayIteratorPrototype = getPrototypeOf(getPrototypeOf(arrayIterator));\n    if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype = PrototypeOfArrayIteratorPrototype;\n  }\n}\n\nvar NEW_ITERATOR_PROTOTYPE = !isObject(IteratorPrototype) || fails(function () {\n  var test = {};\n  // FF44- legacy iterators case\n  return IteratorPrototype[ITERATOR].call(test) !== test;\n});\n\nif (NEW_ITERATOR_PROTOTYPE) IteratorPrototype = {};\nelse if (IS_PURE) IteratorPrototype = create(IteratorPrototype);\n\n// `%IteratorPrototype%[@@iterator]()` method\n// https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator\nif (!isCallable(IteratorPrototype[ITERATOR])) {\n  defineBuiltIn(IteratorPrototype, ITERATOR, function () {\n    return this;\n  });\n}\n\nmodule.exports = {\n  IteratorPrototype: IteratorPrototype,\n  BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS\n};\n","module.exports = window.wp?.richText;","'use strict';\nvar getBuiltIn = require('../internals/get-built-in');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar getOwnPropertyNamesModule = require('../internals/object-get-own-property-names');\nvar getOwnPropertySymbolsModule = require('../internals/object-get-own-property-symbols');\nvar anObject = require('../internals/an-object');\n\nvar concat = uncurryThis([].concat);\n\n// all object keys, includes non-enumerable and symbols\nmodule.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {\n  var keys = getOwnPropertyNamesModule.f(anObject(it));\n  var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;\n  return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys;\n};\n","module.exports = window.wp?.i18n;","'use strict';\nvar TO_STRING_TAG_SUPPORT = require('../internals/to-string-tag-support');\nvar isCallable = require('../internals/is-callable');\nvar classofRaw = require('../internals/classof-raw');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\nvar $Object = Object;\n\n// ES3 wrong here\nvar CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) === 'Arguments';\n\n// fallback for IE11 Script Access Denied error\nvar tryGet = function (it, key) {\n  try {\n    return it[key];\n  } catch (error) { /* empty */ }\n};\n\n// getting tag from ES6+ `Object.prototype.toString`\nmodule.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {\n  var O, tag, result;\n  return it === undefined ? 'Undefined' : it === null ? 'Null'\n    // @@toStringTag case\n    : typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag\n    // builtinTag case\n    : CORRECT_ARGUMENTS ? classofRaw(O)\n    // ES3 arguments fallback\n    : (result = classofRaw(O)) === 'Object' && isCallable(O.callee) ? 'Arguments' : result;\n};\n","'use strict';\nmodule.exports = {};\n","'use strict';\nvar trunc = require('../internals/math-trunc');\n\n// `ToIntegerOrInfinity` abstract operation\n// https://tc39.es/ecma262/#sec-tointegerorinfinity\nmodule.exports = function (argument) {\n  var number = +argument;\n  // eslint-disable-next-line no-self-compare -- NaN check\n  return number !== number || number === 0 ? 0 : trunc(number);\n};\n","'use strict';\n/* eslint-disable es/no-symbol -- required for testing */\nvar NATIVE_SYMBOL = require('../internals/symbol-constructor-detection');\n\nmodule.exports = NATIVE_SYMBOL &&\n  !Symbol.sham &&\n  typeof Symbol.iterator == 'symbol';\n","'use strict';\nvar makeBuiltIn = require('../internals/make-built-in');\nvar defineProperty = require('../internals/object-define-property');\n\nmodule.exports = function (target, name, descriptor) {\n  if (descriptor.get) makeBuiltIn(descriptor.get, name, { getter: true });\n  if (descriptor.set) makeBuiltIn(descriptor.set, name, { setter: true });\n  return defineProperty.f(target, name, descriptor);\n};\n","module.exports = ReactDOM;","'use strict';\nvar NATIVE_WEAK_MAP = require('../internals/weak-map-basic-detection');\nvar globalThis = require('../internals/global-this');\nvar isObject = require('../internals/is-object');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar hasOwn = require('../internals/has-own-property');\nvar shared = require('../internals/shared-store');\nvar sharedKey = require('../internals/shared-key');\nvar hiddenKeys = require('../internals/hidden-keys');\n\nvar OBJECT_ALREADY_INITIALIZED = 'Object already initialized';\nvar TypeError = globalThis.TypeError;\nvar WeakMap = globalThis.WeakMap;\nvar set, get, has;\n\nvar enforce = function (it) {\n  return has(it) ? get(it) : set(it, {});\n};\n\nvar getterFor = function (TYPE) {\n  return function (it) {\n    var state;\n    if (!isObject(it) || (state = get(it)).type !== TYPE) {\n      throw new TypeError('Incompatible receiver, ' + TYPE + ' required');\n    } return state;\n  };\n};\n\nif (NATIVE_WEAK_MAP || shared.state) {\n  var store = shared.state || (shared.state = new WeakMap());\n  /* eslint-disable no-self-assign -- prototype methods protection */\n  store.get = store.get;\n  store.has = store.has;\n  store.set = store.set;\n  /* eslint-enable no-self-assign -- prototype methods protection */\n  set = function (it, metadata) {\n    if (store.has(it)) throw new TypeError(OBJECT_ALREADY_INITIALIZED);\n    metadata.facade = it;\n    store.set(it, metadata);\n    return metadata;\n  };\n  get = function (it) {\n    return store.get(it) || {};\n  };\n  has = function (it) {\n    return store.has(it);\n  };\n} else {\n  var STATE = sharedKey('state');\n  hiddenKeys[STATE] = true;\n  set = function (it, metadata) {\n    if (hasOwn(it, STATE)) throw new TypeError(OBJECT_ALREADY_INITIALIZED);\n    metadata.facade = it;\n    createNonEnumerableProperty(it, STATE, metadata);\n    return metadata;\n  };\n  get = function (it) {\n    return hasOwn(it, STATE) ? it[STATE] : {};\n  };\n  has = function (it) {\n    return hasOwn(it, STATE);\n  };\n}\n\nmodule.exports = {\n  set: set,\n  get: get,\n  has: has,\n  enforce: enforce,\n  getterFor: getterFor\n};\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar call = require('../internals/function-call');\nvar propertyIsEnumerableModule = require('../internals/object-property-is-enumerable');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar toPropertyKey = require('../internals/to-property-key');\nvar hasOwn = require('../internals/has-own-property');\nvar IE8_DOM_DEFINE = require('../internals/ie8-dom-define');\n\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// `Object.getOwnPropertyDescriptor` method\n// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor\nexports.f = DESCRIPTORS ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {\n  O = toIndexedObject(O);\n  P = toPropertyKey(P);\n  if (IE8_DOM_DEFINE) try {\n    return $getOwnPropertyDescriptor(O, P);\n  } catch (error) { /* empty */ }\n  if (hasOwn(O, P)) return createPropertyDescriptor(!call(propertyIsEnumerableModule.f, O, P), O[P]);\n};\n","'use strict';\n// `CreateIterResultObject` abstract operation\n// https://tc39.es/ecma262/#sec-createiterresultobject\nmodule.exports = function (value, done) {\n  return { value: value, done: done };\n};\n","'use strict';\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\n\n// `Array.prototype.{ indexOf, includes }` methods implementation\nvar createMethod = function (IS_INCLUDES) {\n  return function ($this, el, fromIndex) {\n    var O = toIndexedObject($this);\n    var length = lengthOfArrayLike(O);\n    if (length === 0) return !IS_INCLUDES && -1;\n    var index = toAbsoluteIndex(fromIndex, length);\n    var value;\n    // Array#includes uses SameValueZero equality algorithm\n    // eslint-disable-next-line no-self-compare -- NaN check\n    if (IS_INCLUDES && el !== el) while (length > index) {\n      value = O[index++];\n      // eslint-disable-next-line no-self-compare -- NaN check\n      if (value !== value) return true;\n    // Array#indexOf ignores holes, Array#includes - not\n    } else for (;length > index; index++) {\n      if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;\n    } return !IS_INCLUDES && -1;\n  };\n};\n\nmodule.exports = {\n  // `Array.prototype.includes` method\n  // https://tc39.es/ecma262/#sec-array.prototype.includes\n  includes: createMethod(true),\n  // `Array.prototype.indexOf` method\n  // https://tc39.es/ecma262/#sec-array.prototype.indexof\n  indexOf: createMethod(false)\n};\n","import {createRoot} from 'react-dom/client';\nimport TransformNotice, {DISMISS_KEY} from '../components/TransformNotice';\nimport {CONFIG} from '../globals/config';\n\n\nfunction renderTransformNotice() {\n\t// Only render on the block based widgets screen.\n\tif ( CONFIG.siteInfo.classicWidgets ) {\n\t\treturn;\n\t}\n\t// Don't render if the user has dismissed the notice.\n\tif ( '1' === localStorage.getItem( DISMISS_KEY ) ) {\n\t\treturn;\n\t}\n\tconst placeholders = document.querySelectorAll( '[data-js=\"advanced-sidebar-menu/transform-notice\"]' );\n\n\t/**\n\t * This is not a priority component, so it anything fails\n\t * we fail silently.\n\t */\n\ttry {\n\t\tplaceholders.forEach( placeholder => {\n\t\t\tconst root = createRoot( placeholder );\n\t\t\troot.render( <TransformNotice /> );\n\t\t} );\n\t} catch ( e ) {\n\t\tconsole.error( e );\n\t}\n}\n\n\n/**\n * Modern JS for legacy widgets on the widgets screen.\n *\n * @see resources/js/advanced-sidebar-menu.js for the legacy JS.\n */\nexport default () => {\n\t// Only load on the widgets screen.\n\tif ( '1' !== CONFIG.isWidgets ) {\n\t\treturn;\n\t}\n\t// Fire when each widget loads.\n\tjQuery( document ).on( 'widget-added', function() {\n\t\trenderTransformNotice();\n\t} );\n}\n","module.exports = window.wp?.data;","'use strict';\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\n\nvar max = Math.max;\nvar min = Math.min;\n\n// Helper for a popular repeating case of the spec:\n// Let integer be ? ToInteger(index).\n// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).\nmodule.exports = function (index, length) {\n  var integer = toIntegerOrInfinity(index);\n  return integer < 0 ? max(integer + length, 0) : min(integer, length);\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar call = require('../internals/function-call');\nvar aCallable = require('../internals/a-callable');\nvar anObject = require('../internals/an-object');\nvar getIteratorDirect = require('../internals/get-iterator-direct');\nvar createIteratorProxy = require('../internals/iterator-create-proxy');\nvar callWithSafeIterationClosing = require('../internals/call-with-safe-iteration-closing');\nvar iteratorClose = require('../internals/iterator-close');\nvar iteratorHelperThrowsOnInvalidIterator = require('../internals/iterator-helper-throws-on-invalid-iterator');\nvar iteratorHelperWithoutClosingOnEarlyError = require('../internals/iterator-helper-without-closing-on-early-error');\nvar IS_PURE = require('../internals/is-pure');\n\nvar MAP_WITHOUT_THROWING_ON_INVALID_ITERATOR = !IS_PURE && !iteratorHelperThrowsOnInvalidIterator('map', function () { /* empty */ });\nvar mapWithoutClosingOnEarlyError = !IS_PURE && !MAP_WITHOUT_THROWING_ON_INVALID_ITERATOR\n  && iteratorHelperWithoutClosingOnEarlyError('map', TypeError);\n\nvar FORCED = IS_PURE || MAP_WITHOUT_THROWING_ON_INVALID_ITERATOR || mapWithoutClosingOnEarlyError;\n\nvar IteratorProxy = createIteratorProxy(function () {\n  var iterator = this.iterator;\n  var result = anObject(call(this.next, iterator));\n  var done = this.done = !!result.done;\n  if (!done) return callWithSafeIterationClosing(iterator, this.mapper, [result.value, this.counter++], true);\n});\n\n// `Iterator.prototype.map` method\n// https://tc39.es/ecma262/#sec-iterator.prototype.map\n$({ target: 'Iterator', proto: true, real: true, forced: FORCED }, {\n  map: function map(mapper) {\n    anObject(this);\n    try {\n      aCallable(mapper);\n    } catch (error) {\n      iteratorClose(this, 'throw', error);\n    }\n\n    if (mapWithoutClosingOnEarlyError) return call(mapWithoutClosingOnEarlyError, this, mapper);\n\n    return new IteratorProxy(getIteratorDirect(this), {\n      mapper: mapper\n    });\n  }\n});\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\n\nmodule.exports = uncurryThis({}.isPrototypeOf);\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar fails = require('../internals/fails');\nvar createElement = require('../internals/document-create-element');\n\n// Thanks to IE8 for its funny defineProperty\nmodule.exports = !DESCRIPTORS && !fails(function () {\n  // eslint-disable-next-line es/no-object-defineproperty -- required for testing\n  return Object.defineProperty(createElement('div'), 'a', {\n    get: function () { return 7; }\n  }).a !== 7;\n});\n","import {type BlockAttributes, BlockSupports, createBlock, CreateBlock} from '@wordpress/blocks';\nimport {CONFIG, Screen} from '../globals/config';\nimport type {CommonAttr, ServerSideRenderRequired} from './blocks/Preview';\n\nexport type TransformLegacy = <Attr>( name: string ) => ( widgetValues: {\n\tinstance: { [ key: string ]: string | number | object | boolean }\n} ) => CreateBlock<Attr>;\n\n/**\n * Are we on one of the provided screens?\n */\nexport const isScreen = ( screens: Array<Screen> ): boolean => {\n\treturn screens.includes( CONFIG.currentScreen );\n};\n\n/**\n * Transform a legacy widget to the matching block.\n *\n */\nexport const transformLegacyWidget: TransformLegacy = <A>( name: string ) => ( {instance} ) => {\n\treturn createBlock<A>( name, translateLegacyWidget<A>( instance.raw ) );\n};\n\n/**\n * Merge the common attributes and preview attributes into the block attributes.\n *\n * @since 9.7.0\n */\nexport function translateBlockAttributes<Attr>( attributes: BlockAttributes<Attr> ): BlockAttributes<Attr & CommonAttr & ServerSideRenderRequired> {\n\treturn {...attributes, ...CONFIG.blocks.commonAttr, ...CONFIG.blocks.previewAttr};\n}\n\n/**\n * Get block support from a common location.\n *\n * @since 9.7.0\n */\nexport function getBlockSupports(): BlockSupports {\n\treturn CONFIG.blocks.blockSupport;\n}\n\n/**\n * Translate the widget's \"checked\" to the boolean\n * version used in the block.\n *\n */\nconst translateLegacyWidget = <A>( settings ): A => {\n\tObject.entries( settings ).forEach( ( [ key, value ] ) => {\n\t\tif ( 'checked' === value ) {\n\t\t\tsettings[ key ] = true;\n\t\t}\n\t\tif ( 'object' === typeof value ) {\n\t\t\ttranslateLegacyWidget( settings[ key ] );\n\t\t}\n\t\t// Old widgets used to use \"0\" for some defaults.\n\t\tif ( '0' === value ) {\n\t\t\tdelete settings[ key ];\n\t\t}\n\t} );\n\treturn settings;\n};\n","'use strict';\nvar globalThis = require('../internals/global-this');\nvar isCallable = require('../internals/is-callable');\n\nvar aFunction = function (argument) {\n  return isCallable(argument) ? argument : undefined;\n};\n\nmodule.exports = function (namespace, method) {\n  return arguments.length < 2 ? aFunction(globalThis[namespace]) : globalThis[namespace] && globalThis[namespace][method];\n};\n","module.exports = window.wp?.components;","'use strict';\nvar classofRaw = require('../internals/classof-raw');\nvar uncurryThis = require('../internals/function-uncurry-this');\n\nmodule.exports = function (fn) {\n  // Nashorn bug:\n  //   https://github.com/zloirock/core-js/issues/1128\n  //   https://github.com/zloirock/core-js/issues/1130\n  if (classofRaw(fn) === 'Function') return uncurryThis(fn);\n};\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar definePropertyModule = require('../internals/object-define-property');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\n\nmodule.exports = function (object, key, value) {\n  if (DESCRIPTORS) definePropertyModule.f(object, key, createPropertyDescriptor(0, value));\n  else object[key] = value;\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar classof = require('../internals/classof-raw');\n\nvar $Object = Object;\nvar split = uncurryThis(''.split);\n\n// fallback for non-array-like ES3 and non-enumerable old V8 strings\nmodule.exports = fails(function () {\n  // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346\n  // eslint-disable-next-line no-prototype-builtins -- safe\n  return !$Object('z').propertyIsEnumerable(0);\n}) ? function (it) {\n  return classof(it) === 'String' ? split(it, '') : $Object(it);\n} : $Object;\n","module.exports = window.wp?.blockEditor;","'use strict';\nvar globalThis = require('../internals/global-this');\n\n// https://github.com/tc39/ecma262/pull/3467\nmodule.exports = function (METHOD_NAME, ExpectedError) {\n  var Iterator = globalThis.Iterator;\n  var IteratorPrototype = Iterator && Iterator.prototype;\n  var method = IteratorPrototype && IteratorPrototype[METHOD_NAME];\n\n  var CLOSED = false;\n\n  if (method) try {\n    method.call({\n      next: function () { return { done: true }; },\n      'return': function () { CLOSED = true; }\n    }, -1);\n  } catch (error) {\n    // https://bugs.webkit.org/show_bug.cgi?id=291195\n    if (!(error instanceof ExpectedError)) CLOSED = false;\n  }\n\n  if (!CLOSED) return method;\n};\n","'use strict';\nvar globalThis = require('../internals/global-this');\nvar isObject = require('../internals/is-object');\n\nvar document = globalThis.document;\n// typeof document.createElement is 'object' in old IE\nvar EXISTS = isObject(document) && isObject(document.createElement);\n\nmodule.exports = function (it) {\n  return EXISTS ? document.createElement(it) : {};\n};\n","'use strict';\nvar NATIVE_BIND = require('../internals/function-bind-native');\n\nvar FunctionPrototype = Function.prototype;\nvar call = FunctionPrototype.call;\n// eslint-disable-next-line es/no-function-prototype-bind -- safe\nvar uncurryThisWithBind = NATIVE_BIND && FunctionPrototype.bind.bind(call, call);\n\nmodule.exports = NATIVE_BIND ? uncurryThisWithBind : function (fn) {\n  return function () {\n    return call.apply(fn, arguments);\n  };\n};\n","'use strict';\nvar call = require('../internals/function-call');\nvar create = require('../internals/object-create');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar defineBuiltIns = require('../internals/define-built-ins');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar InternalStateModule = require('../internals/internal-state');\nvar getMethod = require('../internals/get-method');\nvar IteratorPrototype = require('../internals/iterators-core').IteratorPrototype;\nvar createIterResultObject = require('../internals/create-iter-result-object');\nvar iteratorClose = require('../internals/iterator-close');\nvar iteratorCloseAll = require('../internals/iterator-close-all');\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\nvar ITERATOR_HELPER = 'IteratorHelper';\nvar WRAP_FOR_VALID_ITERATOR = 'WrapForValidIterator';\nvar NORMAL = 'normal';\nvar THROW = 'throw';\nvar setInternalState = InternalStateModule.set;\n\nvar createIteratorProxyPrototype = function (IS_ITERATOR) {\n  var getInternalState = InternalStateModule.getterFor(IS_ITERATOR ? WRAP_FOR_VALID_ITERATOR : ITERATOR_HELPER);\n\n  return defineBuiltIns(create(IteratorPrototype), {\n    next: function next() {\n      var state = getInternalState(this);\n      // for simplification:\n      //   for `%WrapForValidIteratorPrototype%.next` or with `state.returnHandlerResult` our `nextHandler` returns `IterResultObject`\n      //   for `%IteratorHelperPrototype%.next` - just a value\n      if (IS_ITERATOR) return state.nextHandler();\n      if (state.done) return createIterResultObject(undefined, true);\n      try {\n        var result = state.nextHandler();\n        return state.returnHandlerResult ? result : createIterResultObject(result, state.done);\n      } catch (error) {\n        state.done = true;\n        throw error;\n      }\n    },\n    'return': function () {\n      var state = getInternalState(this);\n      var iterator = state.iterator;\n      state.done = true;\n      if (IS_ITERATOR) {\n        var returnMethod = getMethod(iterator, 'return');\n        return returnMethod ? call(returnMethod, iterator) : createIterResultObject(undefined, true);\n      }\n      if (state.inner) try {\n        iteratorClose(state.inner.iterator, NORMAL);\n      } catch (error) {\n        return iteratorClose(iterator, THROW, error);\n      }\n      if (state.openIters) try {\n        iteratorCloseAll(state.openIters, NORMAL);\n      } catch (error) {\n        return iteratorClose(iterator, THROW, error);\n      }\n      if (iterator) iteratorClose(iterator, NORMAL);\n      return createIterResultObject(undefined, true);\n    }\n  });\n};\n\nvar WrapForValidIteratorPrototype = createIteratorProxyPrototype(true);\nvar IteratorHelperPrototype = createIteratorProxyPrototype(false);\n\ncreateNonEnumerableProperty(IteratorHelperPrototype, TO_STRING_TAG, 'Iterator Helper');\n\nmodule.exports = function (nextHandler, IS_ITERATOR, RETURN_HANDLER_RESULT) {\n  var IteratorProxy = function Iterator(record, state) {\n    if (state) {\n      state.iterator = record.iterator;\n      state.next = record.next;\n    } else state = record;\n    state.type = IS_ITERATOR ? WRAP_FOR_VALID_ITERATOR : ITERATOR_HELPER;\n    state.returnHandlerResult = !!RETURN_HANDLER_RESULT;\n    state.nextHandler = nextHandler;\n    state.counter = 0;\n    state.done = false;\n    setInternalState(this, state);\n  };\n\n  IteratorProxy.prototype = IS_ITERATOR ? WrapForValidIteratorPrototype : IteratorHelperPrototype;\n\n  return IteratorProxy;\n};\n","'use strict';\n// `GetIteratorDirect(obj)` abstract operation\n// https://tc39.es/ecma262/#sec-getiteratordirect\nmodule.exports = function (obj) {\n  return {\n    iterator: obj,\n    next: obj.next,\n    done: false\n  };\n};\n","'use strict';\nvar hasOwn = require('../internals/has-own-property');\nvar ownKeys = require('../internals/own-keys');\nvar getOwnPropertyDescriptorModule = require('../internals/object-get-own-property-descriptor');\nvar definePropertyModule = require('../internals/object-define-property');\n\nmodule.exports = function (target, source, exceptions) {\n  var keys = ownKeys(source);\n  var defineProperty = definePropertyModule.f;\n  var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;\n  for (var i = 0; i < keys.length; i++) {\n    var key = keys[i];\n    if (!hasOwn(target, key) && !(exceptions && hasOwn(exceptions, key))) {\n      defineProperty(target, key, getOwnPropertyDescriptor(source, key));\n    }\n  }\n};\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar definePropertyModule = require('../internals/object-define-property');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\n\nmodule.exports = DESCRIPTORS ? function (object, key, value) {\n  return definePropertyModule.f(object, key, createPropertyDescriptor(1, value));\n} : function (object, key, value) {\n  object[key] = value;\n  return object;\n};\n","import{registerBlockType as t,unregisterBlockType as n}from\"@wordpress/blocks\";import{registerPlugin as e,unregisterPlugin as r}from\"@wordpress/plugins\";import{select as o,dispatch as i,useDispatch as u,useSelect as c}from\"@wordpress/data\";import{registerFormatType as a,unregisterFormatType as s}from\"@wordpress/rich-text\";var l=\"\",f=\"\";function d(t){\"\"===f&&void 0!==t&&(l=t,f=t)}function p(){return l}function v(){return\"\"!==l&&\"\"!==f&&l!==f}function h(t){l=t}function m(){l=\"\"}function g(){l=f}function y(t,n){try{var e=t()}catch(t){return n(t)}return e&&e.then?e.then(void 0,n):e}var w=function(t,n){void 0===n&&(n=!0);try{if(!n)throw t;return Promise.resolve(b(t)).then(function(t){throw\"rest_cookie_invalid_nonce\"===(null==t?void 0:t.code)&&v()&&(t.code=\"external_rest_cookie_invalid_nonce\"),t||{code:\"unknown_error\",message:\"An unknown error occurred.\"}})}catch(t){return Promise.reject(t)}},b=function(t){try{var n={code:\"invalid_json\",message:\"The response is not a valid JSON response.\"};if(!t||void 0===t.json)throw n;return Promise.resolve(y(function(){return Promise.resolve(t.json())},function(){throw n}))}catch(t){return Promise.reject(t)}},P=function(t,n){return void 0===n&&(n=!0),Promise.resolve(y(function(){return function(t,n){return void 0===n&&(n=!0),n?204===t.status?null:void 0!==t.json?t.json():Promise.reject(t):t}(t,n)},function(t){return Promise.resolve(w(t,n))}))};function E(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=Array(n);e<n;e++)r[e]=t[e];return r}function T(t,n){var e=\"undefined\"!=typeof Symbol&&t[Symbol.iterator]||t[\"@@iterator\"];if(e)return(e=e.call(t)).next.bind(e);if(Array.isArray(t)||(e=function(t,n){if(t){if(\"string\"==typeof t)return E(t,n);var e={}.toString.call(t).slice(8,-1);return\"Object\"===e&&t.constructor&&(e=t.constructor.name),\"Map\"===e||\"Set\"===e?Array.from(t):\"Arguments\"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?E(t,n):void 0}}(t))||n&&t&&\"number\"==typeof t.length){e&&(t=e);var r=0;return function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}}}throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\")}function j(){return j=Object.assign?Object.assign.bind():function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)({}).hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t},j.apply(null,arguments)}function k(t){return\"\"===t.trim()?t:t.replace(/\\/?$/,\"/\")}function A(t){return\"\"===t.trim()?t:t.replace(/^\\/?/,\"/\")}function _(t){return\"\"===t.trim()?t:t.replace(/^\\//,\"\")}function x(t){return\"\"===t.trim()?t:t.replace(/\\/$/,\"\")}function O(t,n){var e;return null!=(e=I(t)[n])?e:void 0}function I(t){var n;return(null!=(n=R(t))?n:\"\").replace(/\\+/g,\"%20\").split(\"&\").reduce(function(t,n){if(\"\"===n)return t;var e=n.split(\"=\").filter(Boolean).map(function(t){try{return decodeURIComponent(t)}catch(n){return console.debug(\"Invalid URL component: \"+t,n),t}}),r=e[1],o=void 0===r?\"\":r;return function(t,n,e){for(var r=n.length,o=r-1,i=0;i<r;i++){var u=n[i];\"\"===u&&Array.isArray(t)&&(u=t.length.toString()),u=[\"__proto__\",\"constructor\",\"prototype\"].includes(u)?u.toUpperCase():u;var c=!isNaN(Number(n[i+1]));i===o?t[u]=e:void 0===t[u]&&(t[u]=c?[]:{}),Array.isArray(t[u])&&!c&&(t[u]=j({},t[u])),t=t[u]}}(t,e[0].replace(/]/g,\"\").split(\"[\"),o),t},Object.create(null))}function R(t){try{var n=new URL(t,\"https://ex.com\").search.substring(1);return n.length>0?n:void 0}catch(n){return void console.debug(\"Invalid URL:\",t,n)}}function S(t,n){if(void 0===n&&(n={}),0===Object.keys(n).length)return null!=t?t:\"\";var e=\"\",r=\"\";if(void 0!==t){var o;r=null!=(o=B(t))?o:\"\",e=t.replace(r,\"\");var i=t.indexOf(\"?\");-1!==i&&(n=Object.assign(I(t),n),e=e=e.slice(0,i))}return e+\"?\"+U(n)+r}function B(t){var n=/^\\S+?(#[^\\s?]*)/.exec(t);if(null!==n&&n.length>1)return n[1]}function U(t){for(var n,e=\"\",r=Object.entries(t);n=r.shift();){var o=n[0],i=n[1];if(null===i||\"object\"!=typeof i&&!Array.isArray(i))void 0!==i&&(null===i&&(i=\"\"),e+=\"&\"+[o,i].map(encodeURIComponent).join(\"=\"));else for(var u,c=T(Object.entries(i).reverse());!(u=c()).done;){var a=u.value;r.unshift([o+\"[\"+a[0]+\"]\",a[1]])}}return e.slice(1)}var G=\"\",C=\"\";function L(t){C=t,G=t}function N(){\"\"===C?(G=\"\",G=M()):G=C}function M(){var t;if(\"\"!==G)return k(G);var n=document.querySelector('link[rel=\"https://api.w.org/\"]'),e=null==n?void 0:n.getAttribute(\"href\");if(\"string\"==typeof e)G=e;else{if(void 0===(null==(t=window.wpApiSettings)?void 0:t.root))throw new URIError(\"Unable to determine the root URL. Use `setInitialRootURL` to set the root URL.\");G=window.wpApiSettings.root}return k(G)}function W(t,n){void 0===n&&(n=!0);var e=\"\";return void 0===t.url?\"string\"==typeof t.path?((e=M()).indexOf(\"?\")>-1&&(t.path=t.path.replace(\"?\",\"&\")),e+=_(t.path)):e=M():e=t.url,n?$(e):e}function D(t,n){G=t.replace(/\\/$/,\"\")+\"/\",\"\"===window.location.hostname||new URL(G).hostname!==window.location.hostname?void 0!==n?h(n):v()||m():g()}var $=function(t){return void 0===O(t,\"_locale\")&&(t=S(t,{_locale:\"user\"})),t},q=\"\";function X(){return q}function z(){return\"\"!==q}function H(){q=\"\"}function J(t,n){q=\"Basic \"+btoa(t+\":\"+n)}var Y=[\"data\",\"parse\"],F=function(t){return Promise.resolve(function(){try{var n=Promise.resolve(tt({path:\"/\",method:\"GET\"})).then(function(n){return n.authentication[\"application-passwords\"]?S(n.authentication[\"application-passwords\"].endpoints.authorization,t):{code:\"application_passwords_disabled\",message:\"Application passwords are not enabled on this site.\",data:null}})}catch(t){return t}return n&&n.then?n.then(void 0,function(t){return t}):n}())},K={Accept:\"application/json, */*;q=0.1\"},Q={credentials:\"include\"},V=!1,Z=function(t){if(t.status>=200&&t.status<300)return t;throw t},tt=function(t){var n=t,e=t.data,r=t.parse,o=void 0===r||r,i=function(t,n){if(null==t)return{};var e={};for(var r in t)if({}.hasOwnProperty.call(t,r)){if(-1!==n.indexOf(r))continue;e[r]=t[r]}return e}(t,Y);delete i.url,delete i.path;var u=n.body,c=j({},K,\"\"!==p()?{\"X-WP-Nonce\":p()}:{},\"\"!==X()?{Authorization:X()}:{},n.headers);void 0!==e&&(u=JSON.stringify(e),c[\"Content-Type\"]=\"application/json\");var a=j({},Q,i,{body:u,headers:c});return window.fetch(W(t),a).then(function(n){return Promise.resolve(n).then(Z).catch(function(t){return w(t,o)}).then(function(t){return P(t,o)}).catch(function(n){return nt(n,function(){return tt(t)})})},function(t){if(t&&\"AbortError\"===t.name)throw t;throw{code:\"fetch_error\",message:\"You are probably offline.\"}})};function nt(t,n){return\"rest_cookie_invalid_nonce\"!==t.code?Promise.reject(t):(m(),V?Promise.reject(t):(V=!0,window.fetch(W({path:\"wp-admin/admin-ajax.php?action=rest-nonce\"},!1)).then(Z).then(function(t){return t.text()}).then(function(t){return h(t),n()}).finally(function(){V=!1})))}var et=function(t,n,e){try{var r,o,i=function(t){return r?t:Promise.resolve(P(o)).then(function(t){var n,e;return{items:t,totalPages:parseInt(null!=(n=o.headers.get(\"X-WP-TotalPages\"))?n:\"1\"),totalItems:parseInt(null!=(e=o.headers.get(\"X-WP-Total\"))?e:\"0\")}})},u=function(r,i){try{var u=Promise.resolve(rt(t,n,e,!1)).then(function(t){o=t})}catch(t){return i(t)}return u&&u.then?u.then(void 0,i):u}(0,function(o){return Promise.resolve(P(o)).then(function(o){var i=nt(o,function(){return et(t,n,e)});return r=1,i})});return Promise.resolve(u&&u.then?u.then(i):i(u))}catch(t){return Promise.reject(t)}},rt=function(t,n,e,r){void 0===r&&(r=!0);try{return Promise.resolve(tt(void 0===e||\"GET\"===n||\"OPTIONS\"===n?{method:n,parse:r,path:S(t,null!=e?e:{})}:{data:e,method:n,parse:r,path:t}))}catch(t){return Promise.reject(t)}};function ot(t){var n=A(t);return{create:function(t){return rt(n,\"POST\",t)},delete:function(t){return rt(k(n)+t,\"DELETE\",{force:!0})},get:function(t){return rt(n,\"GET\",t)},getById:function(t,e){return rt(k(n)+t,\"GET\",e)},getWithPagination:function(t){return et(n,\"GET\",t)},trash:function(t){return rt(k(n)+t,\"DELETE\")},update:function(t){return rt(k(n)+t.id,\"PATCH\",t)}}}function it(t){var n={};return[\"categories\",\"comments\",\"blocks\",\"media\",\"menus\",\"menu-locations\",\"menu-items\",\"pages\",\"posts\",\"tags\",\"taxonomies\",\"search\"].map(function(t){return n[t]=function(){return ot(\"/wp/v2/\"+t)}}),n.menuItems=function(){return ot(\"/wp/v2/menu-items\")},n.users=function(){var t=ot(\"/wp/v2/users\");return t.delete=function(t,n){return void 0===n&&(n=!1),rt(\"/wp/v2/users/\"+t,\"DELETE\",{force:!0,reassign:n})},t},n.applicationPasswords=function(){return{create:function(t,n){return rt(\"/wp/v2/users/\"+t+\"/application-passwords\",\"POST\",n)},delete:function(t,n){return rt(\"/wp/v2/users/\"+t+\"/application-passwords/\"+n,\"DELETE\")},get:function(t){return rt(\"/wp/v2/users/\"+t+\"/application-passwords\",\"GET\")},getById:function(t,n){return rt(\"/wp/v2/users/\"+t+\"/application-passwords/\"+n,\"GET\")},introspect:function(t){return rt(\"/wp/v2/users/\"+t+\"/application-passwords/introspect\",\"GET\")},update:function(t,n,e){return rt(\"/wp/v2/users/\"+t+\"/application-passwords/\"+n,\"PUT\",e)}}},n.menuLocations=function(){return{get:function(){return rt(\"/wp/v2/menu-locations\",\"GET\")},getById:function(t){return rt(\"/wp/v2/menu-locations/\"+t,\"GET\")}}},n.settings=function(){return{get:function(){return rt(\"/wp/v2/settings\",\"GET\")},update:function(t){return rt(\"/wp/v2/settings\",\"POST\",t)}}},n.statuses=function(){return{get:function(t){return rt(\"/wp/v2/statuses\",\"GET\",null!=t?t:{})}}},n.types=function(){return{get:function(){return rt(\"/wp/v2/types\",\"GET\")},getById:function(t){return rt(\"'/wp/v2/types'/\"+t,\"GET\")}}},void 0!==t&&Object.keys(t).map(function(e){return n[e]=t[e]}),n}function ut(t,n,e){if(!t.s){if(e instanceof ct){if(!e.s)return void(e.o=ut.bind(null,t,n));1&n&&(n=e.s),e=e.v}if(e&&e.then)return void e.then(ut.bind(null,t,n),ut.bind(null,t,2));t.s=n,t.v=e;const r=t.o;r&&r(t)}}var ct=/*#__PURE__*/function(){function t(){}return t.prototype.then=function(n,e){var r=new t,o=this.s;if(o){var i=1&o?n:e;if(i){try{ut(r,1,i(this.v))}catch(t){ut(r,2,t)}return r}return this}return this.o=function(t){try{var o=t.v;1&t.s?ut(r,1,n?n(o):o):e?ut(r,1,e(o)):ut(r,2,o)}catch(t){ut(r,2,t)}},r},t}();function at(t){return t instanceof ct&&1&t.s}var st=function(e,r){dt({afterReload:gt,beforeReload:ht,getContext:e,pluginModule:r,register:t,unregister:n,type:\"block\"})},lt=function(t,n){dt({afterReload:function(){},beforeReload:function(){},getContext:t,pluginModule:n,register:e,unregister:r,type:\"plugin\"})},ft=function(t,n){dt({afterReload:function(){},beforeReload:function(){},getContext:t,pluginModule:n,register:a,unregister:s,type:\"format\"})},dt=function(t){var n=t.afterReload,e=t.beforeReload,r=t.getContext,o=t.pluginModule,i=t.register,u=t.unregister,c=t.type,a={},s=function(){e();var t=r();if(t){var o=[];return t.keys().forEach(function(n){var e=t(n);Boolean(e.exclude)||e!==a[n]&&(Boolean(a[e.name+\"-\"+c])&&u(e.name),i(e.name,e.settings),o.push(e.name),a[e.name+\"-\"+c]=e)}),n(o),t}},l=s();o.hot&&void 0!==(null==l?void 0:l.id)&&o.hot.accept(l.id.toString(),s)},pt=null,vt=[],ht=function(){pt=o(\"core/block-editor\").getSelectedBlockClientId()},mt=function(t,n){void 0===t&&(t=[]);var e=n.clientId,r=n.innerBlocks;t.includes(n.name)&&vt.push(e),r.forEach(function(n){return mt(t,n)})},gt=function(t){void 0===t&&(t=[]);try{return Promise.resolve(i(\"core/block-editor\").clearSelectedBlock()).then(function(){function n(){function t(){vt=[],pt=null}var n=null!==pt?Promise.resolve(i(\"core/block-editor\").selectBlock(pt)).then(function(){}):Promise.resolve(i(\"core/block-editor\").clearSelectedBlock()).then(function(){});return n&&n.then?n.then(t):t()}o(\"core/block-editor\").getBlocks().forEach(function(n){return mt(t,n)});var e,r,u,c,a,s=(e=vt,r=function(t){return Promise.resolve(i(\"core/block-editor\").selectBlock(vt[t])).then(function(){})},a=-1,function t(n){try{for(;++a<e.length;)if((n=r(a))&&n.then){if(!at(n))return void n.then(t,c||(c=ut.bind(null,u=new ct,2)));n=n.v}u?ut(u,1,n):u=n}catch(t){ut(u||(u=new ct),2,t)}}(),u);return s&&s.then?s.then(n):n()})}catch(t){return Promise.reject(t)}};function yt(t,n){var e={current:t},r={current:n};return n.some(function(t,n){return t!==r.current[n]})&&(e.current=t,r.current=n),function(){return e.current.apply(e,[].slice.call(arguments))}}function wt(t){var n=u(\"core/editor\").editPost,e=c(function(t){return{previous:t(\"core/editor\").getCurrentPostAttribute(\"meta\"),current:t(\"core/editor\").getEditedPostAttribute(\"meta\")}},[]),r=\"string\"==typeof t&&\"\"!==t,o=r?e.current[t]:e.current,i=r?e.previous[t]:e.previous,a=yt(function(e){var o;r&&n({meta:(o={},o[t]=e,o)})},[n,t,r]),s=yt(function(t,e){var r;n({meta:(r={},r[t]=e,r)})},[n]);return r?[o,a,i]:[o,s,i]}function bt(t){var n,e,r=u(\"core/editor\").editPost,o=c(function(n){var e=n(\"core\").getTaxonomy(t);return e?{taxonomy:e,current:n(\"core/editor\").getEditedPostAttribute(e.rest_base),previous:n(\"core/editor\").getCurrentPostAttribute(e.rest_base)}:{taxonomy:null,current:null,previous:null}},[t]),i=yt(function(t){try{var n;return Promise.resolve(o.taxonomy?r(((n={})[o.taxonomy.rest_base]=t,n)):void 0)}catch(t){return Promise.reject(t)}},[o,r]);return[null!=(n=o.current)?n:[],i,null!=(e=o.previous)?e:[]]}export{A as addLeadingSlash,S as addQueryArgs,k as addTrailingSlash,dt as autoload,st as autoloadBlocks,ft as autoloadFormats,lt as autoloadPlugins,U as buildQueryString,H as clearApplicationPassword,m as clearNonce,ot as createMethods,rt as doRequest,et as doRequestWithPagination,J as enableApplicationPassword,tt as fetchHandler,X as getApplicationPassword,F as getAuthorizationUrl,B as getFragment,O as getQueryArg,I as getQueryArgs,R as getQueryString,z as hasApplicationPassword,v as hasExternalNonce,nt as maybeRefreshNonce,_ as removeLeadingSlash,x as removeTrailingSlash,g as restoreNonce,N as restoreRootURL,d as setInitialNonce,L as setInitialRootURL,h as setNonce,D as setRootURL,wt as usePostMeta,bt as useTerms,it as wpapi};\n//# sourceMappingURL=index.module.js.map\n","import {CONFIG} from '../../globals/config';\nimport {Button, PanelBody, withFilters} from '@wordpress/components';\nimport {InspectorControls} from '@wordpress/block-editor';\nimport {decodeEntities} from '@wordpress/html-entities';\nimport {__} from '@wordpress/i18n';\n\nimport styles from './info-panel.pcss';\n\ntype Props = {\n\tclientId: string;\n};\n\nconst titleStyles = {\n\tcolor: '#3db634',\n\tfontWeight: 700,\n};\n\nconst headingStyles = {\n\tmargin: '16px 0 0',\n\tfontSize: '1.2em',\n};\n\nconst InfoPanel = ( {}: Props ) => {\n\treturn ( <InspectorControls>\n\t\t<PanelBody\n\t\t\ttitle={<span style={titleStyles}>\n\t\t\t\t{__( 'Go PRO', 'advanced-sidebar-menu' )}\n\t\t\t</span>}\n\t\t\tclassName={styles.wrap}\n\t\t\tinitialOpen={false}\n\t\t>\n\t\t\t<h2 style={headingStyles}>\n\t\t\t\t{__( 'Advanced Sidebar Menu PRO', 'advanced-sidebar-menu' )}\n\t\t\t</h2>\n\t\t\t<ul>\n\t\t\t\t{CONFIG.features.map( feature => (\n\t\t\t\t\t<li key={feature}>\n\t\t\t\t\t\t{decodeEntities( feature )}\n\t\t\t\t\t</li>\n\t\t\t\t) )}\n\t\t\t\t<li>\n\t\t\t\t\t{__( 'And so much more…', 'advanced-sidebar-menu' )}\n\t\t\t\t</li>\n\t\t\t</ul>\n\t\t\t<Button\n\t\t\t\tclassName={styles.button}\n\t\t\t\thref={'https://onpointplugins.com/product/advanced-sidebar-menu-pro/?utm_source=block-upgrade&utm_campaign=gopro&utm_medium=wp-dash#buy-now-choices'}\n\t\t\t\ttarget={'_blank'}\n\t\t\t\trel={'noreferrer'}\n\t\t\t\tisPrimary\n\t\t\t>\n\t\t\t\t{__( 'Upgrade', 'advanced-sidebar-menu' )}\n\t\t\t</Button>\n\t\t</PanelBody>\n\t</InspectorControls> );\n};\n\nexport default withFilters<Props>( 'advanced-sidebar-menu.blocks.info-panel' )( InfoPanel );\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n  module.exports = require('./cjs/react-jsx-runtime.production.min.js');\n} else {\n  module.exports = require('./cjs/react-jsx-runtime.development.js');\n}\n","'use strict';\nvar call = require('../internals/function-call');\nvar aCallable = require('../internals/a-callable');\nvar anObject = require('../internals/an-object');\nvar tryToString = require('../internals/try-to-string');\nvar getIteratorMethod = require('../internals/get-iterator-method');\n\nvar $TypeError = TypeError;\n\nmodule.exports = function (argument, usingIterator) {\n  var iteratorMethod = arguments.length < 2 ? getIteratorMethod(argument) : usingIterator;\n  if (aCallable(iteratorMethod)) return anObject(call(iteratorMethod, argument));\n  throw new $TypeError(tryToString(argument) + ' is not iterable');\n};\n","'use strict';\nvar call = require('../internals/function-call');\nvar anObject = require('../internals/an-object');\nvar getMethod = require('../internals/get-method');\n\nmodule.exports = function (iterator, kind, value) {\n  var innerResult, innerError;\n  anObject(iterator);\n  try {\n    innerResult = getMethod(iterator, 'return');\n    if (!innerResult) {\n      if (kind === 'throw') throw value;\n      return value;\n    }\n    innerResult = call(innerResult, iterator);\n  } catch (error) {\n    innerError = true;\n    innerResult = error;\n  }\n  if (kind === 'throw') throw value;\n  if (innerError) throw innerResult;\n  anObject(innerResult);\n  return value;\n};\n","'use strict';\nvar getBuiltIn = require('../internals/get-built-in');\nvar isCallable = require('../internals/is-callable');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar USE_SYMBOL_AS_UID = require('../internals/use-symbol-as-uid');\n\nvar $Object = Object;\n\nmodule.exports = USE_SYMBOL_AS_UID ? function (it) {\n  return typeof it == 'symbol';\n} : function (it) {\n  var $Symbol = getBuiltIn('Symbol');\n  return isCallable($Symbol) && isPrototypeOf($Symbol.prototype, $Object(it));\n};\n","'use strict';\n/* global ActiveXObject -- old IE, WSH */\nvar anObject = require('../internals/an-object');\nvar definePropertiesModule = require('../internals/object-define-properties');\nvar enumBugKeys = require('../internals/enum-bug-keys');\nvar hiddenKeys = require('../internals/hidden-keys');\nvar html = require('../internals/html');\nvar documentCreateElement = require('../internals/document-create-element');\nvar sharedKey = require('../internals/shared-key');\n\nvar GT = '>';\nvar LT = '<';\nvar PROTOTYPE = 'prototype';\nvar SCRIPT = 'script';\nvar IE_PROTO = sharedKey('IE_PROTO');\n\nvar EmptyConstructor = function () { /* empty */ };\n\nvar scriptTag = function (content) {\n  return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT;\n};\n\n// Create object with fake `null` prototype: use ActiveX Object with cleared prototype\nvar NullProtoObjectViaActiveX = function (activeXDocument) {\n  activeXDocument.write(scriptTag(''));\n  activeXDocument.close();\n  var temp = activeXDocument.parentWindow.Object;\n  // eslint-disable-next-line no-useless-assignment -- avoid memory leak\n  activeXDocument = null;\n  return temp;\n};\n\n// Create object with fake `null` prototype: use iframe Object with cleared prototype\nvar NullProtoObjectViaIFrame = function () {\n  // Thrash, waste and sodomy: IE GC bug\n  var iframe = documentCreateElement('iframe');\n  var JS = 'java' + SCRIPT + ':';\n  var iframeDocument;\n  iframe.style.display = 'none';\n  html.appendChild(iframe);\n  // https://github.com/zloirock/core-js/issues/475\n  iframe.src = String(JS);\n  iframeDocument = iframe.contentWindow.document;\n  iframeDocument.open();\n  iframeDocument.write(scriptTag('document.F=Object'));\n  iframeDocument.close();\n  return iframeDocument.F;\n};\n\n// Check for document.domain and active x support\n// No need to use active x approach when document.domain is not set\n// see https://github.com/es-shims/es5-shim/issues/150\n// variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346\n// avoid IE GC bug\nvar activeXDocument;\nvar NullProtoObject = function () {\n  try {\n    activeXDocument = new ActiveXObject('htmlfile');\n  } catch (error) { /* ignore */ }\n  NullProtoObject = typeof document != 'undefined'\n    ? document.domain && activeXDocument\n      ? NullProtoObjectViaActiveX(activeXDocument) // old IE\n      : NullProtoObjectViaIFrame()\n    : NullProtoObjectViaActiveX(activeXDocument); // WSH\n  var length = enumBugKeys.length;\n  while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];\n  return NullProtoObject();\n};\n\nhiddenKeys[IE_PROTO] = true;\n\n// `Object.create` method\n// https://tc39.es/ecma262/#sec-object.create\n// eslint-disable-next-line es/no-object-create -- safe\nmodule.exports = Object.create || function create(O, Properties) {\n  var result;\n  if (O !== null) {\n    EmptyConstructor[PROTOTYPE] = anObject(O);\n    result = new EmptyConstructor();\n    EmptyConstructor[PROTOTYPE] = null;\n    // add \"__proto__\" for Object.getPrototypeOf polyfill\n    result[IE_PROTO] = O;\n  } else result = NullProtoObject();\n  return Properties === undefined ? result : definePropertiesModule.f(result, Properties);\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\n\nvar id = 0;\nvar postfix = Math.random();\nvar toString = uncurryThis(1.1.toString);\n\nmodule.exports = function (key) {\n  return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);\n};\n","'use strict';\n// Should throw an error on invalid iterator\n// https://issues.chromium.org/issues/336839115\nmodule.exports = function (methodName, argument) {\n  // eslint-disable-next-line es/no-iterator -- required for testing\n  var method = typeof Iterator == 'function' && Iterator.prototype[methodName];\n  if (method) try {\n    method.call({ next: null }, argument).next();\n  } catch (error) {\n    return true;\n  }\n};\n","'use strict';\nvar NATIVE_BIND = require('../internals/function-bind-native');\n\nvar call = Function.prototype.call;\n// eslint-disable-next-line es/no-function-prototype-bind -- safe\nmodule.exports = NATIVE_BIND ? call.bind(call) : function () {\n  return call.apply(call, arguments);\n};\n","'use strict';\n/* eslint-disable es/no-symbol -- required for testing */\nvar V8_VERSION = require('../internals/environment-v8-version');\nvar fails = require('../internals/fails');\nvar globalThis = require('../internals/global-this');\n\nvar $String = globalThis.String;\n\n// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing\nmodule.exports = !!Object.getOwnPropertySymbols && !fails(function () {\n  var symbol = Symbol('symbol detection');\n  // Chrome 38 Symbol has incorrect toString conversion\n  // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances\n  // nb: Do not call `String` directly to avoid this being optimized out to `symbol+''` which will,\n  // of course, fail.\n  return !$String(symbol) || !(Object(symbol) instanceof Symbol) ||\n    // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances\n    !Symbol.sham && V8_VERSION && V8_VERSION < 41;\n});\n","'use strict';\nvar internalObjectKeys = require('../internals/object-keys-internal');\nvar enumBugKeys = require('../internals/enum-bug-keys');\n\nvar hiddenKeys = enumBugKeys.concat('length', 'prototype');\n\n// `Object.getOwnPropertyNames` method\n// https://tc39.es/ecma262/#sec-object.getownpropertynames\n// eslint-disable-next-line es/no-object-getownpropertynames -- safe\nexports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {\n  return internalObjectKeys(O, hiddenKeys);\n};\n","module.exports = window.wp?.url;","module.exports = lodash;","import {CONFIG} from '../../../globals/config';\nimport {BlockSettings, LegacyWidget} from '@wordpress/blocks';\nimport Edit from './Edit';\nimport {DisplayOptions} from '../Display';\nimport {getBlockSupports, transformLegacyWidget, translateBlockAttributes} from '../../helpers';\nimport {__} from '@wordpress/i18n';\nimport type {CommonAttr} from '../Preview';\nimport CategoriesIcon from './CategoriesIcon';\n\n/**\n * Attributes specific to the widget as well as shared\n * widget attributes.\n *\n * @see \\Advanced_Sidebar_Menu\\Blocks\\Block_Abstract::get_all_attributes\n * @see \\Advanced_Sidebar_Menu\\Blocks\\Pages::get_attributes\n */\nexport type Attr = {\n\texclude: string;\n\tnew_widget: 'widget' | 'list';\n\tsingle: boolean;\n} & DisplayOptions & ProRegistered & CommonAttr;\n\n// Options used by basic when available from PRO.\ntype ProRegistered = {\n\ttaxonomy?: string;\n}\n\nexport type setAttributes = ( newValue: {\n\t[attribute in keyof Attr]?: Attr[attribute]\n} ) => void;\n\n/**\n * Attributes used for the example preview.\n * Combines some PRO and basic attributes.\n * The PRO attributes will only be sent if PRO is active.\n */\nconst EXAMPLE = {\n\t'display-posts': 'all',\n\t'display-posts/limit': 2,\n\tapply_current_page_parent_styles_to_parent: true,\n\tapply_current_page_styles_to_parent: true,\n\tblock_style: true,\n\tborder: true,\n\tborder_color: '#333',\n\tbullet_style: 'none',\n\tchild_page_bg_color: '#666',\n\tchild_page_color: '#fff',\n\tparent_page_bg_color: '#282828',\n\tparent_page_color: '#0cc4c6',\n\tparent_page_font_weight: 'normal',\n\tdisplay_all: true,\n\tgrandchild_page_bg_color: '#989898',\n\tgrandchild_page_color: '#282828',\n\tgrandchild_page_font_weight: 'bold',\n\tinclude_childless_parent: true,\n\tinclude_parent: true,\n\tlevels: 2,\n};\n\n\nexport const block = CONFIG.blocks.categories;\n\nexport const name = block.id;\n\nexport const settings: BlockSettings<Attr, '', LegacyWidget<Attr & { title: string }>> = {\n\ttitle: __( 'Advanced Sidebar - Categories', 'advanced-sidebar-menu' ),\n\ticon: CategoriesIcon,\n\tcategory: 'widgets',\n\tdescription: __( 'Creates a menu of all the categories using the parent/child relationship',\n\t\t'advanced-sidebar-menu' ),\n\tkeywords: [\n\t\t__( 'taxonomy', 'advanced-sidebar-menu' ),\n\t\t__( 'term', 'advanced-sidebar-menu' ),\n\t\t__( 'category', 'advanced-sidebar-menu' ),\n\t\t__( 'menu', 'advanced-sidebar-menu' ),\n\t],\n\texample: {\n\t\tattributes: EXAMPLE,\n\t},\n\ttransforms: {\n\t\tfrom: [\n\t\t\t{\n\t\t\t\ttype: 'block',\n\t\t\t\tblocks: [ 'core/legacy-widget' ],\n\t\t\t\tisMatch: ( {idBase, instance} ) => {\n\t\t\t\t\tif ( null === instance?.raw ) {\n\t\t\t\t\t\t// Can't transform if the raw instance is not shown in REST API.\n\t\t\t\t\t\treturn false;\n\t\t\t\t\t}\n\t\t\t\t\treturn 'advanced_sidebar_menu_category' === idBase;\n\t\t\t\t},\n\t\t\t\ttransform: transformLegacyWidget<Attr>( name ),\n\t\t\t},\n\t\t],\n\t},\n\tattributes: translateBlockAttributes<Attr>( block.attributes ),\n\tsupports: getBlockSupports(),\n\tedit: props => (\n\t\t<Edit {...props} />\n\t),\n\tsave: () => null,\n\tapiVersion: 3,\n};\n","'use strict';\nvar ceil = Math.ceil;\nvar floor = Math.floor;\n\n// `Math.trunc` method\n// https://tc39.es/ecma262/#sec-math.trunc\n// eslint-disable-next-line es/no-math-trunc -- safe\nmodule.exports = Math.trunc || function trunc(x) {\n  var n = +x;\n  return (n > 0 ? floor : ceil)(n);\n};\n","module.exports = window.wp?.htmlEntities;","'use strict';\nvar $ = require('../internals/export');\nvar globalThis = require('../internals/global-this');\nvar anInstance = require('../internals/an-instance');\nvar anObject = require('../internals/an-object');\nvar isCallable = require('../internals/is-callable');\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\nvar defineBuiltInAccessor = require('../internals/define-built-in-accessor');\nvar createProperty = require('../internals/create-property');\nvar fails = require('../internals/fails');\nvar hasOwn = require('../internals/has-own-property');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar IteratorPrototype = require('../internals/iterators-core').IteratorPrototype;\nvar DESCRIPTORS = require('../internals/descriptors');\nvar IS_PURE = require('../internals/is-pure');\n\nvar CONSTRUCTOR = 'constructor';\nvar ITERATOR = 'Iterator';\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\n\nvar $TypeError = TypeError;\nvar NativeIterator = globalThis[ITERATOR];\n\n// FF56- have non-standard global helper `Iterator`\nvar FORCED = IS_PURE\n  || !isCallable(NativeIterator)\n  || NativeIterator.prototype !== IteratorPrototype\n  // FF44- non-standard `Iterator` passes previous tests\n  || !fails(function () { NativeIterator({}); });\n\nvar IteratorConstructor = function Iterator() {\n  anInstance(this, IteratorPrototype);\n  if (getPrototypeOf(this) === IteratorPrototype) throw new $TypeError('Abstract class Iterator not directly constructable');\n};\n\nvar defineIteratorPrototypeAccessor = function (key, value) {\n  if (DESCRIPTORS) {\n    defineBuiltInAccessor(IteratorPrototype, key, {\n      configurable: true,\n      get: function () {\n        return value;\n      },\n      set: function (replacement) {\n        anObject(this);\n        if (this === IteratorPrototype) throw new $TypeError(\"You can't redefine this property\");\n        if (hasOwn(this, key)) this[key] = replacement;\n        else createProperty(this, key, replacement);\n      }\n    });\n  } else IteratorPrototype[key] = value;\n};\n\nif (!hasOwn(IteratorPrototype, TO_STRING_TAG)) defineIteratorPrototypeAccessor(TO_STRING_TAG, ITERATOR);\n\nif (FORCED || !hasOwn(IteratorPrototype, CONSTRUCTOR) || IteratorPrototype[CONSTRUCTOR] === Object) {\n  defineIteratorPrototypeAccessor(CONSTRUCTOR, IteratorConstructor);\n}\n\nIteratorConstructor.prototype = IteratorPrototype;\n\n// `Iterator` constructor\n// https://tc39.es/ecma262/#sec-iterator\n$({ global: true, constructor: true, forced: FORCED }, {\n  Iterator: IteratorConstructor\n});\n","'use strict';\nvar internalObjectKeys = require('../internals/object-keys-internal');\nvar enumBugKeys = require('../internals/enum-bug-keys');\n\n// `Object.keys` method\n// https://tc39.es/ecma262/#sec-object.keys\n// eslint-disable-next-line es/no-object-keys -- safe\nmodule.exports = Object.keys || function keys(O) {\n  return internalObjectKeys(O, enumBugKeys);\n};\n","'use strict';\nvar getBuiltIn = require('../internals/get-built-in');\n\nmodule.exports = getBuiltIn('document', 'documentElement');\n","import {type ReactElement, useEffect} from 'react';\nimport {CONFIG} from '../../globals/config';\nimport ServerSideRender from '@wordpress/server-side-render';\nimport {Placeholder, Spinner} from '@wordpress/components';\nimport {useBlockProps} from '@wordpress/block-editor';\nimport DOMPurify from 'dompurify';\nimport {applyFilters, doAction} from '@wordpress/hooks';\nimport {__} from '@wordpress/i18n';\nimport {select} from '@wordpress/data';\nimport {isScreen} from '../helpers';\nimport PagesIcon from './pages/PagesIcon';\nimport CategoriesIcon from './categories/CategoriesIcon';\nimport NavigationIcon from './NavigationIcon';\n\nimport styles from './preview.pcss';\n\n\n/**\n * @see \\Advanced_Sidebar_Menu\\Blocks\\Common_Attributes::get_common_attributes\n */\nexport type CommonAttr = {\n\ttitle?: string;\n\tstyle?: object;\n}\n\n/**\n * @see \\Advanced_Sidebar_Menu\\Blocks\\Common_Attributes::get_server_side_render_attributes\n */\nexport type ServerSideRenderRequired = {\n\tisServerSideRenderRequest: boolean;\n\tclientId: string;\n\tsidebarId: string;\n}\n\ntype Props<A> = {\n\tattributes: A;\n\tblock: string;\n\tclientId: string;\n};\n\n/**\n * Sanitize a client id for use as an HTML id.\n *\n * Must not start with a `-` or a digit.\n *\n */\nexport const sanitizeClientId = ( clientId: string ): string => {\n\treturn clientId.replace( /^([\\d-])/, '_$1' );\n};\n\n/**\n * If we are in the widgets' area, the block is wrapped in\n * a \"sidebar\" block. We retrieve the id to pass along with\n * the request to use the `widget_args` within the preview.\n *\n */\nconst getSidebarId = ( clientId: string ): string => {\n\tif ( ! isScreen( [ 'widgets' ] ) ) {\n\t\treturn '';\n\t}\n\tconst rootId = select( 'core/block-editor' ).getBlockRootClientId( clientId );\n\tif ( 'undefined' !== typeof rootId && '' !== rootId ) {\n\t\tconst ParentBlock = select( 'core/block-editor' ).getBlocksByClientId( [ rootId ] );\n\t\tif ( null !== ParentBlock[ 0 ] && 'undefined' !== typeof ParentBlock[ 0 ] && 'core/widget-area' === ParentBlock[ 0 ]?.name ) {\n\t\t\treturn ParentBlock[ 0 ]?.attributes?.id;\n\t\t}\n\t}\n\n\treturn '';\n};\n\n/**\n * @notice Must use static constants, or the ServerSide requests\n *         will fire anytime something on the page is changed\n *         because the component re-renders.\n */\nconst Page = () => <Placeholder\n\tclassName={styles.placeholder}\n\ticon={PagesIcon}\n\tlabel={__( 'Advanced Sidebar - Pages', 'advanced-sidebar-menu' )}\n\tinstructions={__( 'No preview available', 'advanced-sidebar-menu' )}\n/>;\n\nconst Category = () => <Placeholder\n\tclassName={styles.placeholder}\n\ticon={CategoriesIcon}\n\tlabel={__( 'Advanced Sidebar - Categories', 'advanced-sidebar-menu' )}\n\tinstructions={__( 'No preview available', 'advanced-sidebar-menu' )}\n/>;\n\nconst Navigation = () => <Placeholder\n\tclassName={styles.placeholder}\n\ticon={NavigationIcon}\n\tlabel={__( 'Advanced Sidebar - Navigation', 'advanced-sidebar-menu' )}\n\tinstructions={__( 'No preview available', 'advanced-sidebar-menu' )}\n/>;\n\n/**\n * @notice The styles will not display for the preview\n *         in the block inserter sidebar when Webpack\n *         is enabled because the iframe has a late init.\n */\nconst placeholder = ( block: string ): () => ReactElement => {\n\tswitch ( block ) {\n\t\tcase CONFIG.blocks.pages.id:\n\t\t\treturn Page;\n\t\tcase CONFIG.blocks.categories.id:\n\t\t\treturn Category;\n\t\tcase CONFIG.blocks.navigation?.id:\n\t\t\treturn Navigation;\n\t}\n\treturn () => <></>;\n};\n\n\n/**\n * Same as the `DefaultLoadingResponsePlaceholder` except we trigger\n * an action when the loading component is unmounted to allow\n * components to hook into when ServerSideRender has finished loading.\n *\n * @notice Using a constant to prevent a reload on every content change.\n */\nconst TriggerWhenLoadingFinished = ( {\n\tchildren,\n\tattributes = {\n\t\tclientId: '',\n\t},\n} ) => {\n\tuseEffect( () => {\n\t\t// Call action when the loading component unmounts because loading is finished.\n\t\treturn () => {\n\t\t\t// Give the preview a chance to load on WP 5.8.\n\t\t\tsetTimeout( () => {\n\t\t\t\tdoAction( 'advanced-sidebar-menu.blocks.preview.loading-finished', {\n\t\t\t\t\tvalues: attributes,\n\t\t\t\t\tclientId: attributes.clientId,\n\t\t\t\t} );\n\t\t\t}, 100 );\n\t\t};\n\t} );\n\n\t/**\n\t * ServerSideRender returns a <RawHTML /> filled with an error object when fetch fails.\n\t *\n\t * We throw an error, so our `ErrorBoundary` will catch it, otherwise we end up\n\t * with a \"React objects may not be used as children\" error, which means nothing.\n\t */\n\tif ( 'string' === typeof children?.props?.children?.errorMsg ) {\n\t\tthrow new Error( children?.props?.children?.errorMsg ?? 'Failed' );\n\t}\n\n\treturn (\n\t\t<div className={styles.spinWrap}>\n\t\t\t<div className={styles.spin}>\n\t\t\t\t<Spinner />\n\t\t\t</div>\n\t\t\t<div className={styles.spinContent}>\n\t\t\t\t{children}\n\t\t\t</div>\n\t\t</div>\n\t);\n};\n\n\nconst Preview = <A, >( {attributes, block, clientId}: Props<A> ) => {\n\tconst blockProps = useBlockProps( {\n\t\tclassName: styles.wrap,\n\t} );\n\n\tif ( '' !== CONFIG.error ) {\n\t\treturn <div\n\t\t\tclassName={styles.error}\n\t\t\tdangerouslySetInnerHTML={{__html: DOMPurify.sanitize( CONFIG.error )}} />;\n\t}\n\n\n\tconst sanitizedClientId = sanitizeClientId( clientId );\n\n\tlet attributesToSend: A & ServerSideRenderRequired = {\n\t\t...attributes,\n\t\tisServerSideRenderRequest: true,\n\t\tclientId: sanitizedClientId,\n\t\tsidebarId: getSidebarId( clientId ),\n\t};\n\t/**\n\t * Filters the attributes sent to the preview.\n\t *\n\t * @since 9.6.3\n\t *\n\t * @param {Object} attributes The attributes to send to the preview.\n\t * @param {string} block      The block name.\n\t * @param {string} clientId   The client id.\n\t */\n\tattributesToSend = applyFilters( 'advanced-sidebar-menu.blocks.preview.attributes', attributesToSend, block, clientId );\n\n\treturn (\n\t\t// eslint-disable-next-line jsx-a11y/click-events-have-key-events,jsx-a11y/no-static-element-interactions\n\t\t<div\n\t\t\t{...blockProps}\n\t\t\tonClick={ev => {\n\t\t\t\tconst element = ev.target as HTMLElement;\n\t\t\t\tif ( 'A' === element.nodeName || ( 'SPAN' === element.nodeName && 'A' === element.parentNode?.nodeName ) ) {\n\t\t\t\t\tev.preventDefault();\n\t\t\t\t}\n\t\t\t}}\n\t\t>\n\t\t\t<ServerSideRender<A & ServerSideRenderRequired>\n\t\t\t\tEmptyResponsePlaceholder={placeholder( block )}\n\t\t\t\tLoadingResponsePlaceholder={TriggerWhenLoadingFinished}\n\t\t\t\tattributes={attributesToSend}\n\t\t\t\tblock={block}\n\t\t\t\thttpMethod={'POST'}\n\t\t\t\tskipBlockSupportAttributes\n\t\t\t/>\n\t\t</div>\n\t);\n};\n\nexport default Preview;\n","'use strict';\nvar anObject = require('../internals/an-object');\nvar iteratorClose = require('../internals/iterator-close');\n\n// call something on iterator step with safe closing on error\nmodule.exports = function (iterator, fn, value, ENTRIES) {\n  try {\n    return ENTRIES ? fn(anObject(value)[0], value[1]) : fn(value);\n  } catch (error) {\n    iteratorClose(iterator, 'throw', error);\n  }\n};\n","'use strict';\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\n\nvar min = Math.min;\n\n// `ToLength` abstract operation\n// https://tc39.es/ecma262/#sec-tolength\nmodule.exports = function (argument) {\n  var len = toIntegerOrInfinity(argument);\n  return len > 0 ? min(len, 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991\n};\n","'use strict';\nvar fails = require('../internals/fails');\n\nmodule.exports = !fails(function () {\n  // eslint-disable-next-line es/no-function-prototype-bind -- safe\n  var test = (function () { /* empty */ }).bind();\n  // eslint-disable-next-line no-prototype-builtins -- safe\n  return typeof test != 'function' || test.hasOwnProperty('prototype');\n});\n","'use strict';\nvar fails = require('../internals/fails');\n\nmodule.exports = !fails(function () {\n  function F() { /* empty */ }\n  F.prototype.constructor = null;\n  // eslint-disable-next-line es/no-object-getprototypeof -- required for testing\n  return Object.getPrototypeOf(new F()) !== F.prototype;\n});\n","var map = {\n\t\"./categories/block.tsx\": 8148,\n\t\"./pages/block.tsx\": 4334,\n\t\"gutenberg/blocks/categories/block.tsx\": 8148,\n\t\"gutenberg/blocks/pages/block.tsx\": 4334\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = 9406;","import {CheckboxControl, PanelBody, SelectControl, Slot} from '@wordpress/components';\nimport {CONFIG} from '../../globals/config';\nimport type {Attr as PageAttr} from './pages/block';\nimport type {Attr as CategoryAttr} from './categories/block';\nimport {__, sprintf} from '@wordpress/i18n';\nimport {Type} from '@wordpress/api/types';\nimport {range} from 'lodash';\nimport {Taxonomy} from '@wordpress/api/taxonomies';\nimport ErrorBoundary from '../../components/ErrorBoundary';\nimport {BlockEditProps} from '@wordpress/blocks';\nimport {PropsWithChildren} from 'react';\n\n\nexport type DisplayOptions = {\n\tdisplay_all?: boolean;\n\tinclude_childless_parent?: boolean;\n\tinclude_parent?: boolean;\n\tlevels: number;\n}\n\nexport type FillProps =\n\tPick<BlockEditProps<PageAttr | CategoryAttr>, 'clientId' | 'attributes' | 'setAttributes' | 'name'>\n\t& { type?: Type<'edit'> | Taxonomy<'edit'> }\n\ntype Props = PropsWithChildren<{\n\tattributes: PageAttr | CategoryAttr;\n\tsetAttributes: BlockEditProps<PageAttr | CategoryAttr>['setAttributes'];\n\ttype?: Type<'edit'> | Taxonomy<'edit'>;\n\tname: string;\n\tclientId: string;\n}>;\n\nconst checkboxes: { [attr in keyof Partial<DisplayOptions>]: string } = {\n\t/* translators: %s Selected taxonomy single label */\n\tinclude_parent: __( 'Display highest level parent %s', 'advanced-sidebar-menu' ),\n\t/* translators: %s Selected taxonomy single label */\n\tinclude_childless_parent: __( 'Display menu when there is only the parent %s', 'advanced-sidebar-menu' ),\n\t/* translators: %s Selected taxonomy plural label */\n\tdisplay_all: __( 'Always display child %s', 'advanced-sidebar-menu' ),\n};\n\nconst LEVEL_OPTIONS: Array<{ value: string, label: string }> = [\n\t{\n\t\tvalue: '100',\n\t\tlabel: __( '- All -', 'advanced-sidebar-menu' ),\n\t},\n\t...range( 1, 11 ).map( n => (\n\t\t{\n\t\t\tvalue: n.toString(),\n\t\t\tlabel: n.toString(),\n\t\t}\n\t) ),\n];\n\n/**\n * Display Options shared between widgets.\n *\n * 1. Display the highest level parent page.\n * 2. Display the menu when there is only the parent page.\n * 3. Always display child pages.\n * 5. Display levels of child pages.\n *\n */\nconst Display = ( {\n\tattributes,\n\tsetAttributes,\n\ttype,\n\tname,\n\tclientId,\n\tchildren,\n}: Props ) => {\n\tconst showLevels = ( CONFIG.blocks.pages.id === name && '1' === CONFIG.isPro ) || true === attributes.display_all;\n\n\tconst fillProps: FillProps = {\n\t\ttype,\n\t\tattributes,\n\t\tname,\n\t\tsetAttributes,\n\t\tclientId,\n\t};\n\n\treturn (\n\t\t<PanelBody title={__( 'Display', 'advanced-sidebar-menu' )}>\n\t\t\t{Object.keys( checkboxes ).map( item => {\n\t\t\t\tlet label = type?.labels?.singular_name.toLowerCase() ?? '';\n\t\t\t\tif ( 'display_all' === item ) {\n\t\t\t\t\tlabel = type?.labels?.name.toLowerCase() ?? '';\n\t\t\t\t}\n\t\t\t\treturn <CheckboxControl\n\t\t\t\t\tkey={item}\n\t\t\t\t\t//eslint-disable-next-line @wordpress/valid-sprintf\n\t\t\t\t\tlabel={sprintf( checkboxes[ item ], label )}\n\t\t\t\t\tchecked={true === attributes[ item ]}\n\t\t\t\t\tonChange={checked => {\n\t\t\t\t\t\tsetAttributes( {\n\t\t\t\t\t\t\t[ item ]: checked,\n\t\t\t\t\t\t} );\n\t\t\t\t\t}}\n\t\t\t\t\t// @ts-expect-error -- Not technically available until WP 6.7.\n\t\t\t\t\t__nextHasNoMarginBottom\n\t\t\t\t/>;\n\t\t\t} )}\n\t\t\t{showLevels &&\n\t\t\t\t<SelectControl\n\t\t\t\t\tkey={'levels'}\n\t\t\t\t\t/* translators: %s {select HTML input}, {post type plural label} */\n\t\t\t\t\tlabel={sprintf( __( 'Levels of child %s to display', 'advanced-sidebar-menu' ), type?.labels?.name.toLowerCase() ?? '' )}\n\t\t\t\t\tclassName={'advanced-sidebar-menu-display-select'}\n\t\t\t\t\tvalue={attributes.levels.toString()}\n\t\t\t\t\tonChange={value => {\n\t\t\t\t\t\tsetAttributes( {\n\t\t\t\t\t\t\tlevels: parseInt( value ),\n\t\t\t\t\t\t} );\n\t\t\t\t\t}}\n\t\t\t\t\toptions={LEVEL_OPTIONS}\n\t\t\t\t\t// @ts-expect-error -- Not technically available until WP 6.7.\n\t\t\t\t\t__next40pxDefaultSize\n\t\t\t\t\t__nextHasNoMarginBottom\n\t\t\t\t/>}\n\t\t\t{children}\n\n\t\t\t<ErrorBoundary attributes={attributes} block={name} section={'Display/slots'}>\n\t\t\t\t{CONFIG.blocks.pages.id === name &&\n\t\t\t\t\t<Slot<FillProps>\n\t\t\t\t\t\tname=\"advanced-sidebar-menu/pages/display\"\n\t\t\t\t\t\tfillProps={fillProps} />}\n\t\t\t\t{CONFIG.blocks.categories.id === name &&\n\t\t\t\t\t<Slot<FillProps>\n\t\t\t\t\t\tname=\"advanced-sidebar-menu/categories/display\"\n\t\t\t\t\t\tfillProps={fillProps} />}\n\t\t\t</ErrorBoundary>\n\n\t\t</PanelBody>\n\t);\n};\n\nexport default Display;\n","'use strict';\n// we can't use just `it == null` since of `document.all` special case\n// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec\nmodule.exports = function (it) {\n  return it === null || it === undefined;\n};\n","'use strict';\nvar check = function (it) {\n  return it && it.Math === Math && it;\n};\n\n// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028\nmodule.exports =\n  // eslint-disable-next-line es/no-global-this -- safe\n  check(typeof globalThis == 'object' && globalThis) ||\n  check(typeof window == 'object' && window) ||\n  // eslint-disable-next-line no-restricted-globals -- safe\n  check(typeof self == 'object' && self) ||\n  check(typeof global == 'object' && global) ||\n  check(typeof this == 'object' && this) ||\n  // eslint-disable-next-line no-new-func -- fallback\n  (function () { return this; })() || Function('return this')();\n","'use strict';\nvar classof = require('../internals/classof');\nvar getMethod = require('../internals/get-method');\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\nvar Iterators = require('../internals/iterators');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar ITERATOR = wellKnownSymbol('iterator');\n\nmodule.exports = function (it) {\n  if (!isNullOrUndefined(it)) return getMethod(it, ITERATOR)\n    || getMethod(it, '@@iterator')\n    || Iterators[classof(it)];\n};\n","'use strict';\nvar globalThis = require('../internals/global-this');\nvar userAgent = require('../internals/environment-user-agent');\n\nvar process = globalThis.process;\nvar Deno = globalThis.Deno;\nvar versions = process && process.versions || Deno && Deno.version;\nvar v8 = versions && versions.v8;\nvar match, version;\n\nif (v8) {\n  match = v8.split('.');\n  // in old Chrome, versions of V8 isn't V8 = Chrome / 10\n  // but their correct versions are not interesting for us\n  version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);\n}\n\n// BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`\n// so check `userAgent` even if `.v8` exists, but 0\nif (!version && userAgent) {\n  match = userAgent.match(/Edge\\/(\\d+)/);\n  if (!match || match[1] >= 74) {\n    match = userAgent.match(/Chrome\\/(\\d+)/);\n    if (match) version = +match[1];\n  }\n}\n\nmodule.exports = version;\n","import {TextControl, withFilters} from '@wordpress/components';\nimport {__, sprintf} from '@wordpress/i18n';\nimport {Type} from '@wordpress/api/types';\nimport {Attr as PageAttr} from './pages/block';\nimport {Attr as CategoryAttr} from './categories/block';\nimport {BlockEditProps} from '@wordpress/blocks';\nimport {Taxonomy} from '@wordpress/api/taxonomies';\nimport DOMPurify from 'dompurify';\n\ntype Props = {\n\tattributes: PageAttr | CategoryAttr;\n\tsetAttributes: BlockEditProps<PageAttr | CategoryAttr>['setAttributes'];\n\ttype?: Type<'edit'> | Taxonomy<'edit'>;\n};\n\n/**\n * The Exclude field shared between widgets.\n *\n * Removed and replaced via filter by the PRO version.\n */\nconst ExcludeField = ( {type, attributes, setAttributes}: Props ) => {\n\tconst help = <p>\n\t\t<br />\n\t\t<span\n\t\t\tdangerouslySetInnerHTML={{\n\t\t\t\t__html: DOMPurify.sanitize( sprintf(\n\t\t\t\t\t/* translators: 1: Opening anchor tag, 2: Closing anchor tag */\n\t\t\t\t\t__( 'For more robust and intuitive exclusions use the %1$sPRO version%2$s.', 'advanced-sidebar-menu' ), '<a href=\"https://onpointplugins.com/advanced-sidebar-menu/advanced-sidebar-menu-pro-widget-docs/advanced-sidebar-menu-pro-excluding-menu-items/?utm_source=exclude-field&utm_campaign=gopro&utm_medium=wp-dash\" target=\"_blank\" rel=\"noopener noreferrer\">', '</a>' ), {ADD_ATTR: [ 'target' ]} ),\n\t\t\t}} />\n\t</p>;\n\n\treturn (\n\t\t<TextControl\n\t\t\t/* translators: %s: Selected post type plural label */\n\t\t\tlabel={sprintf( __( '%s to exclude', 'advanced-sidebar-menu' ), type?.labels?.name ?? '' )}\n\t\t\tvalue={attributes.exclude}\n\t\t\thelp={<>{__( 'ids, comma separated', 'advanced-sidebar-menu' )}{help}</>}\n\t\t\tonChange={value => {\n\t\t\t\tsetAttributes( {\n\t\t\t\t\texclude: value,\n\t\t\t\t} );\n\t\t\t}}\n\t\t\t// @ts-expect-error -- Not technically supported until WP 6.7\n\t\t\t__nextHasNoMarginBottom\n\t\t/>\n\t);\n};\n\nexport default withFilters<Props>( 'advanced-sidebar-menu.blocks.exclude-field' )( ExcludeField );\n","'use strict';\n// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot\nvar documentAll = typeof document == 'object' && document.all;\n\n// `IsCallable` abstract operation\n// https://tc39.es/ecma262/#sec-iscallable\n// eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing\nmodule.exports = typeof documentAll == 'undefined' && documentAll !== undefined ? function (argument) {\n  return typeof argument == 'function' || argument === documentAll;\n} : function (argument) {\n  return typeof argument == 'function';\n};\n","'use strict';\n// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe\nexports.f = Object.getOwnPropertySymbols;\n","// extracted by mini-css-extract-plugin\nexport default {\"error\":\"edit__error__lZ\"};","'use strict';\nvar isCallable = require('../internals/is-callable');\nvar tryToString = require('../internals/try-to-string');\n\nvar $TypeError = TypeError;\n\n// `Assert: IsCallable(argument) is true`\nmodule.exports = function (argument) {\n  if (isCallable(argument)) return argument;\n  throw new $TypeError(tryToString(argument) + ' is not a function');\n};\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar fails = require('../internals/fails');\n\n// V8 ~ Chrome 36-\n// https://bugs.chromium.org/p/v8/issues/detail?id=3334\nmodule.exports = DESCRIPTORS && fails(function () {\n  // eslint-disable-next-line es/no-object-defineproperty -- required for testing\n  return Object.defineProperty(function () { /* empty */ }, 'prototype', {\n    value: 42,\n    writable: false\n  }).prototype !== 42;\n});\n","// extracted by mini-css-extract-plugin\nexport default {\"wrap\":\"info-panel__wrap__k_\",\"button\":\"info-panel__button__Fg\"};","'use strict';\nvar globalThis = require('../internals/global-this');\n\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar defineProperty = Object.defineProperty;\n\nmodule.exports = function (key, value) {\n  try {\n    defineProperty(globalThis, key, { value: value, configurable: true, writable: true });\n  } catch (error) {\n    globalThis[key] = value;\n  } return value;\n};\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\tid: moduleId,\n\t\tloaded: false,\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Flag the module as loaded\n\tmodule.loaded = true;\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.hmd = (module) => {\n\tmodule = Object.create(module);\n\tif (!module.children) module.children = [];\n\tObject.defineProperty(module, 'exports', {\n\t\tenumerable: true,\n\t\tset: () => {\n\t\t\tthrow new Error('ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: ' + module.id);\n\t\t}\n\t});\n\treturn module;\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","import widgets from './modules/widgets';\n\nconsole.debug( 'Advanced Sidebar - Loaded' );\n\nwidgets();\n\n/**\n * 1. Blocks can't be lazy loaded, or they will be unavailable\n *    intermittently when developing.\n * 2. Theme Customizers must wait until the page is finished loading.\n *\n * @version 1.1.0\n */\nif ( typeof window.wp.element !== 'undefined' && typeof window.wp.plugins !== 'undefined' ) {\n\trequire( './gutenberg' ).default();\n} else if ( typeof window.wp.customize !== 'undefined' ) {\n\twindow.wp.customize.bind( 'ready', () => {\n\t\trequire( './gutenberg' ).default();\n\t} );\n}\n"],"names":["CONFIG","window","ADVANCED_SIDEBAR_MENU","__","useState","Notice","styles","jsx","_jsx","jsxs","_jsxs","DISMISS_KEY","TransformNotice","shown","setShown","className","wrap","politeness","onDismiss","localStorage","setItem","actions","label","url","variant","children","PagesIcon","xmlns","viewBox","x","fill","width","height","d","autoloadBlocks","Preview","getBlockSupports","transformLegacyWidget","translateBlockAttributes","ErrorBoundary","NavigationIcon","require","context","module","isPro","BlockControls","InspectorControls","PanelBody","SelectControl","Slot","TextControl","block","Display","useSelect","InfoPanel","SideLoad","isScreen","ExcludeField","DOMPurify","Fragment","_Fragment","Edit","attributes","setAttributes","clientId","name","postType","select","type","getPostType","post_type","error","dangerouslySetInnerHTML","__html","sanitize","id","fillProps","href","docs","page","target","rel","value","title","onChange","__nextHasNoMarginBottom","section","order_by","labelPosition","options","Object","entries","pages","orderBy","map","CategoriesIcon","CheckboxControl","sprintf","taxonomy","getTaxonomy","category","labels","toLowerCase","checked","single","new_widget","keys","categories","displayEach","key","withFilters","isEmpty","firstClientId","getBlockIndex","Component","addQueryArgs","constructor","props","state","hasError","getDerivedStateFromError","componentDidCatch","info","console","warn","setState","render","siteInfo","scriptDebug","style","color","onClick","e","preventDefault","location","open","support","border","padding","overflowWrap","currentScreen","message","JSON","stringify","stack","EXAMPLE","apply_current_page_parent_styles_to_parent","apply_current_page_styles_to_parent","block_style","border_color","bullet_style","child_page_bg_color","child_page_color","current_page_bg_color","current_page_color","current_page_font_weight","current_page_parent_bg_color","display_all","grandchild_page_bg_color","grandchild_page_color","grandchild_page_font_weight","include_childless_parent","include_parent","levels","parent_page_bg_color","parent_page_color","blocks","settings","icon","description","example","transforms","from","isMatch","idBase","instance","raw","transform","supports","edit","save","apiVersion","createRoot","renderTransformNotice","classicWidgets","getItem","placeholders","document","querySelectorAll","forEach","placeholder","root","isWidgets","jQuery","on","createBlock","screens","includes","translateLegacyWidget","commonAttr","previewAttr","blockSupport","Button","decodeEntities","titleStyles","fontWeight","headingStyles","margin","fontSize","initialOpen","features","feature","button","isPrimary","parent_page_font_weight","keywords","useEffect","ServerSideRender","Placeholder","Spinner","useBlockProps","applyFilters","doAction","sanitizeClientId","replace","getSidebarId","rootId","getBlockRootClientId","ParentBlock","getBlocksByClientId","Page","instructions","Category","Navigation","navigation","TriggerWhenLoadingFinished","setTimeout","values","errorMsg","Error","spinWrap","spin","spinContent","blockProps","sanitizedClientId","attributesToSend","isServerSideRenderRequest","sidebarId","ev","element","nodeName","parentNode","EmptyResponsePlaceholder","LoadingResponsePlaceholder","httpMethod","skipBlockSupportAttributes","range","checkboxes","LEVEL_OPTIONS","n","toString","showLevels","item","singular_name","parseInt","__next40pxDefaultSize","help","ADD_ATTR","exclude","widgets","debug","wp","plugins","default","customize","bind"],"sourceRoot":""}
  • advanced-sidebar-menu/tags/9.8.2/js/dist/advanced-sidebar-menu-block-editor.min.js

    r3391412 r3391853  
    11/*! For license information please see advanced-sidebar-menu-block-editor.min.js.LICENSE.txt */
    2 (()=>{var e={26:(e,t,r)=>{"use strict";var n=r(2617),o=r(9659),i=/#|\.prototype\./,s=function(e,t){var r=c[a(e)];return r===u||r!==l&&(o(t)?n(t):!!t)},a=s.normalize=function(e){return String(e).replace(i,".").toLowerCase()},c=s.data={},l=s.NATIVE="N",u=s.POLYFILL="P";e.exports=s},380:(e,t,r)=>{"use strict";r.d(t,{P:()=>n});const n=window.ADVANCED_SIDEBAR_MENU},613:e=>{"use strict";e.exports=!1},705:(e,t,r)=>{"use strict";var n=r(1303),o=r(7386),i=n("keys");e.exports=function(e){return i[e]||(i[e]=o(e))}},709:(e,t,r)=>{"use strict";var n=r(9498).navigator,o=n&&n.userAgent;e.exports=o?String(o):""},729:(e,t,r)=>{"use strict";r.r(t),r.d(t,{block:()=>_,name:()=>x,settings:()=>w});var n=r(380),o=(r(8369),r(5831),r(5705)),i=r(1426),s=r(6423),a=r(2415),c=r(3945),l=r(9458),u=r(6021),d=r(4833),p=r(3229),f=r(3922),m=r(5924),h=r(9636),g=r(9679),b=r(7157);const v=({attributes:e,setAttributes:t,clientId:r,name:v})=>{const y=(0,o.useSelect)(t=>t("core").getTaxonomy(e.taxonomy??"category")??t("core").getTaxonomy("category"),[e.taxonomy]);if(""!==n.P.error)return(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(s.InspectorControls,{children:(0,b.jsx)("div",{className:g.A.error,dangerouslySetInnerHTML:{__html:i.A.sanitize(n.P.error)}})}),(0,b.jsx)(a.A,{attributes:e,block:_.id,clientId:r})]});const x={type:y,attributes:e,name:v,setAttributes:t,clientId:r};return(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(s.InspectorControls,{children:(0,b.jsx)("div",{className:"components-panel__body is-opened",children:(0,b.jsx)("a",{href:n.P.docs.category,target:"_blank",rel:"noopener noreferrer",children:(0,d.__)("Documentation","advanced-sidebar-menu")})})}),(0,b.jsxs)(s.InspectorControls,{children:[(0,m.vL)(["widgets","site-editor","customize"])&&(0,b.jsx)(u.PanelBody,{children:(0,b.jsx)(u.TextControl,{value:e.title??"",label:(0,d.__)("Title","advanced-sidebar-menu"),onChange:e=>t({title:e}),__nextHasNoMarginBottom:!0})}),(0,b.jsxs)(c.A,{attributes:e,block:v,section:"categories/Edit/general",children:[(0,b.jsxs)(l.A,{attributes:e,clientId:r,name:v,setAttributes:t,type:y,children:[(0,m.vL)(["post"])&&(0,b.jsx)(u.CheckboxControl,{label:(0,d.sprintf)((0,d.__)("Display %s on single posts","advanced-sidebar-menu"),y?.labels?.name.toLowerCase()??""),checked:e.single,onChange:e=>{t({single:e})},__nextHasNoMarginBottom:!0}),(0,m.vL)(["widgets","customize"])&&e.single&&(0,b.jsx)(u.SelectControl,{label:(0,d.sprintf)((0,d.__)("Display each single post's %s","advanced-sidebar-menu"),y?.labels?.name.toLowerCase()??""),value:e.new_widget,options:Object.keys(n.P.categories.displayEach).map(e=>({value:e,label:n.P.categories.displayEach[e]})),onChange:e=>t({new_widget:e})})]}),(0,b.jsxs)("div",{className:"components-panel__body is-opened",children:[(0,b.jsx)(u.Slot,{name:"advanced-sidebar-menu/categories/general",fillProps:x}),(0,b.jsx)(h.A,{type:y,attributes:e,setAttributes:t})]})]}),(0,b.jsx)(c.A,{attributes:e,block:v,section:"categories/Edit/inspector",children:(0,b.jsx)(u.Slot,{name:"advanced-sidebar-menu/categories/inspector",fillProps:x})})]}),(0,b.jsx)(s.BlockControls,{children:(0,b.jsx)(c.A,{attributes:e,block:v,section:"categories/Edit/block-controls",children:(0,b.jsx)(u.Slot,{name:"advanced-sidebar-menu/categories/block-controls",fillProps:x})})}),(0,b.jsx)(p.A,{clientId:r}),(0,b.jsx)(c.A,{attributes:e,block:v,section:"categories/Edit/preview",children:(0,b.jsx)(a.A,{attributes:e,block:_.id,clientId:r})}),(0,b.jsx)(f.A,{clientId:r})]})};var y=r(2968);const _=n.P.blocks.categories,x=_.id,w={title:(0,d.__)("Advanced Sidebar - Categories","advanced-sidebar-menu"),icon:y.A,category:"widgets",description:(0,d.__)("Creates a menu of all the categories using the parent/child relationship","advanced-sidebar-menu"),keywords:[(0,d.__)("taxonomy","advanced-sidebar-menu"),(0,d.__)("term","advanced-sidebar-menu"),(0,d.__)("category","advanced-sidebar-menu"),(0,d.__)("menu","advanced-sidebar-menu")],example:{attributes:{"display-posts":"all","display-posts/limit":2,apply_current_page_parent_styles_to_parent:!0,apply_current_page_styles_to_parent:!0,block_style:!0,border:!0,border_color:"#333",bullet_style:"none",child_page_bg_color:"#666",child_page_color:"#fff",parent_page_bg_color:"#282828",parent_page_color:"#0cc4c6",parent_page_font_weight:"normal",display_all:!0,grandchild_page_bg_color:"#989898",grandchild_page_color:"#282828",grandchild_page_font_weight:"bold",include_childless_parent:!0,include_parent:!0,levels:2}},transforms:{from:[{type:"block",blocks:["core/legacy-widget"],isMatch:({idBase:e,instance:t})=>null!==t?.raw&&"advanced_sidebar_menu_category"===e,transform:(0,m.od)(x)}]},attributes:(0,m.$O)(_.attributes),supports:(0,m.MP)(),edit:e=>(0,b.jsx)(v,{...e}),save:()=>null,apiVersion:3}},873:(e,t,r)=>{"use strict";var n=r(6666),o=r(2617),i=r(9659),s=r(3640),a=r(1582),c=r(1776).CONFIGURABLE,l=r(4036),u=r(5267),d=u.enforce,p=u.get,f=String,m=Object.defineProperty,h=n("".slice),g=n("".replace),b=n([].join),v=a&&!o(function(){return 8!==m(function(){},"length",{value:8}).length}),y=String(String).split("String"),_=e.exports=function(e,t,r){"Symbol("===h(f(t),0,7)&&(t="["+g(f(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),r&&r.getter&&(t="get "+t),r&&r.setter&&(t="set "+t),(!s(e,"name")||c&&e.name!==t)&&(a?m(e,"name",{value:t,configurable:!0}):e.name=t),v&&r&&s(r,"arity")&&e.length!==r.arity&&m(e,"length",{value:r.arity});try{r&&s(r,"constructor")&&r.constructor?a&&m(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var n=d(e);return s(n,"source")||(n.source=b(y,"string"==typeof t?t:"")),e};Function.prototype.toString=_(function(){return i(this)&&p(this).source||l(this)},"toString")},1034:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(7157);const o=(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",children:[(0,n.jsx)("rect",{x:"0",fill:"none",width:"20",height:"20"}),(0,n.jsx)("g",{children:(0,n.jsx)("path",{fill:"#044567",d:"M19 17V2c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v15c0 .55.45 1 1 1h15c.55 0 1-.45 1-1z M4 3h13v4H4V3z M5 4h3v2H5V4zm4 0h3v2H9V4zm4 0h3v2H13V4z M4.5 9 c .28 0 .5 .22 .5 .5s-.22.5-.5.5s-.5-.22-.5-.5s.22-.5 .5-.5z M6 9h4v1H6v-1z M4.5 12 c .28 0 .5 .22 .5 .5s-.22.5-.5.5s-.5-.22-.5-.5s.22-.5 .5-.5z M6 12h4v1H6v-1z M4.5 15 c .28 0 .5 .22 .5 .5s-.22.5-.5.5s-.5-.22-.5-.5s.22-.5 .5-.5z M6 15h4v1H6v-1z M12 9 H15.5 L17 10.5 V15.5 H12 V9 Z M15.5 9 V10.5 H17 M12.5 12 H16.5 M12.5 13.5 H16.5"})})]})},1067:(e,t,r)=>{"use strict";var n=r(1582),o=r(5879),i=r(9752),s=r(3429),a=r(2471),c=TypeError,l=Object.defineProperty,u=Object.getOwnPropertyDescriptor,d="enumerable",p="configurable",f="writable";t.f=n?i?function(e,t,r){if(s(e),t=a(t),s(r),"function"==typeof e&&"prototype"===t&&"value"in r&&f in r&&!r[f]){var n=u(e,t);n&&n[f]&&(e[t]=r.value,r={configurable:p in r?r[p]:n[p],enumerable:d in r?r[d]:n[d],writable:!1})}return l(e,t,r)}:l:function(e,t,r){if(s(e),t=a(t),s(r),o)try{return l(e,t,r)}catch(e){}if("get"in r||"set"in r)throw new c("Accessors not supported");return"value"in r&&(e[t]=r.value),e}},1159:(e,t,r)=>{"use strict";var n=r(613),o=r(9498),i=r(9951),s="__core-js_shared__",a=e.exports=o[s]||i(s,{});(a.versions||(a.versions=[])).push({version:"3.46.0",mode:n?"pure":"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru), 2025 CoreJS Company (core-js.io)",license:"https://github.com/zloirock/core-js/blob/v3.46.0/LICENSE",source:"https://github.com/zloirock/core-js"})},1259:(e,t)=>{"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,o=n&&!r.call({1:2},1);t.f=o?function(e){var t=n(this,e);return!!t&&t.enumerable}:r},1303:(e,t,r)=>{"use strict";var n=r(1159);e.exports=function(e,t){return n[e]||(n[e]=t||{})}},1304:(e,t,r)=>{"use strict";r.d(t,{A:()=>b});var n=r(2463);window.wp;var o=r(5705);function i(e,t,r){if(!e.s){if(r instanceof s){if(!r.s)return void(r.o=i.bind(null,e,t));1&t&&(t=r.s),r=r.v}if(r&&r.then)return void r.then(i.bind(null,e,t),i.bind(null,e,2));e.s=t,e.v=r;const n=e.o;n&&n(e)}}window.wp;var s=function(){function e(){}return e.prototype.then=function(t,r){var n=new e,o=this.s;if(o){var s=1&o?t:r;if(s){try{i(n,1,s(this.v))}catch(e){i(n,2,e)}return n}return this}return this.o=function(e){try{var o=e.v;1&e.s?i(n,1,t?t(o):o):r?i(n,1,r(o)):i(n,2,o)}catch(e){i(n,2,e)}},n},e}();function a(e){return e instanceof s&&1&e.s}var c=null,l=[],u=function(){c=(0,o.select)("core/block-editor").getSelectedBlockClientId()},d=function(e,t){void 0===e&&(e=[]);var r=t.clientId,n=t.innerBlocks;e.includes(t.name)&&l.push(r),n.forEach(function(t){return d(e,t)})},p=function(e){void 0===e&&(e=[]);try{return Promise.resolve((0,o.dispatch)("core/block-editor").clearSelectedBlock()).then(function(){function t(){function e(){l=[],c=null}var t=null!==c?Promise.resolve((0,o.dispatch)("core/block-editor").selectBlock(c)).then(function(){}):Promise.resolve((0,o.dispatch)("core/block-editor").clearSelectedBlock()).then(function(){});return t&&t.then?t.then(e):e()}(0,o.select)("core/block-editor").getBlocks().forEach(function(t){return d(e,t)});var r,n,u,p,f,m=(r=l,n=function(e){return Promise.resolve((0,o.dispatch)("core/block-editor").selectBlock(l[e])).then(function(){})},f=-1,function e(t){try{for(;++f<r.length;)if((t=n(f))&&t.then){if(!a(t))return void t.then(e,p||(p=i.bind(null,u=new s,2)));t=t.v}u?i(u,1,t):u=t}catch(e){i(u||(u=new s),2,e)}}(),u);return m&&m.then?m.then(t):t()})}catch(e){return Promise.reject(e)}},f=r(2415),m=r(5924),h=r(3945),g=r(4559);e=r.hmd(e);const b=()=>{(function(e){var t=e.afterReload,r=e.beforeReload,n=e.getContext,o=e.pluginModule,i=e.register,s=e.unregister,a=e.type,c={},l=function(){r();var e=n();if(e){var o=[];return e.keys().forEach(function(t){var r=e(t);Boolean(r.exclude)||r!==c[t]&&(Boolean(c[r.name+"-"+a])&&s(r.name),i(r.name,r.settings),o.push(r.name),c[r.name+"-"+a]=r)}),t(o),e}},u=l();o.hot&&void 0!==(null==u?void 0:u.id)&&o.hot.accept(u.id.toString(),l)})({afterReload:p,beforeReload:u,getContext:()=>r(9406),pluginModule:e,register:n.registerBlockType,unregister:n.unregisterBlockType,type:"block"}),""!==window.ADVANCED_SIDEBAR_MENU.isPro&&(window.ADVANCED_SIDEBAR_MENU.ErrorBoundary=h.A,window.ADVANCED_SIDEBAR_MENU.NavigationIcon=g.A,window.ADVANCED_SIDEBAR_MENU.Preview=f.A,window.ADVANCED_SIDEBAR_MENU.getBlockSupports=m.MP,window.ADVANCED_SIDEBAR_MENU.transformLegacyWidget=m.od,window.ADVANCED_SIDEBAR_MENU.translateBlockAttributes=m.$O)}},1374:(e,t,r)=>{"use strict";var n=r(6666),o=n({}.toString),i=n("".slice);e.exports=function(e){return i(o(e),8,-1)}},1399:(e,t,r)=>{"use strict";var n=r(1582),o=r(9752),i=r(1067),s=r(3429),a=r(2879),c=r(8794);t.f=n&&!o?Object.defineProperties:function(e,t){s(e);for(var r,n=a(t),o=c(t),l=o.length,u=0;l>u;)i.f(e,r=o[u++],n[r]);return e}},1426:(e,t,r)=>{"use strict";r.d(t,{A:()=>re});const{entries:n,setPrototypeOf:o,isFrozen:i,getPrototypeOf:s,getOwnPropertyDescriptor:a}=Object;let{freeze:c,seal:l,create:u}=Object,{apply:d,construct:p}="undefined"!=typeof Reflect&&Reflect;c||(c=function(e){return e}),l||(l=function(e){return e}),d||(d=function(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),o=2;o<r;o++)n[o-2]=arguments[o];return e.apply(t,n)}),p||(p=function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return new e(...r)});const f=k(Array.prototype.forEach),m=k(Array.prototype.lastIndexOf),h=k(Array.prototype.pop),g=k(Array.prototype.push),b=k(Array.prototype.splice),v=k(String.prototype.toLowerCase),y=k(String.prototype.toString),_=k(String.prototype.match),x=k(String.prototype.replace),w=k(String.prototype.indexOf),A=k(String.prototype.trim),S=k(Object.prototype.hasOwnProperty),E=k(RegExp.prototype.test),T=(j=TypeError,function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return p(j,t)});var j;function k(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var r=arguments.length,n=new Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];return d(e,t,n)}}function N(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:v;o&&o(e,null);let n=t.length;for(;n--;){let o=t[n];if("string"==typeof o){const e=r(o);e!==o&&(i(t)||(t[n]=e),o=e)}e[o]=!0}return e}function O(e){for(let t=0;t<e.length;t++)S(e,t)||(e[t]=null);return e}function I(e){const t=u(null);for(const[r,o]of n(e))S(e,r)&&(Array.isArray(o)?t[r]=O(o):o&&"object"==typeof o&&o.constructor===Object?t[r]=I(o):t[r]=o);return t}function C(e,t){for(;null!==e;){const r=a(e,t);if(r){if(r.get)return k(r.get);if("function"==typeof r.value)return k(r.value)}e=s(e)}return function(){return null}}const M=c(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),P=c(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),D=c(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),R=c(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),L=c(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),z=c(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),H=c(["#text"]),B=c(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),F=c(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),U=c(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),W=c(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),V=l(/\{\{[\w\W]*|[\w\W]*\}\}/gm),G=l(/<%[\w\W]*|[\w\W]*%>/gm),Y=l(/\$\{[\w\W]*/gm),$=l(/^data-[\-\w.\u00B7-\uFFFF]+$/),q=l(/^aria-[\-\w]+$/),X=l(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),K=l(/^(?:\w+script|data):/i),Z=l(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),J=l(/^html$/i),Q=l(/^[a-z][.\w]*(-[.\w]+)+$/i);var ee=Object.freeze({__proto__:null,ARIA_ATTR:q,ATTR_WHITESPACE:Z,CUSTOM_ELEMENT:Q,DATA_ATTR:$,DOCTYPE_NAME:J,ERB_EXPR:G,IS_ALLOWED_URI:X,IS_SCRIPT_OR_DATA:K,MUSTACHE_EXPR:V,TMPLIT_EXPR:Y});const te=function(){return"undefined"==typeof window?null:window};var re=function e(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:te();const r=t=>e(t);if(r.version="3.3.0",r.removed=[],!t||!t.document||9!==t.document.nodeType||!t.Element)return r.isSupported=!1,r;let{document:o}=t;const i=o,s=i.currentScript,{DocumentFragment:a,HTMLTemplateElement:l,Node:d,Element:p,NodeFilter:j,NamedNodeMap:k=t.NamedNodeMap||t.MozNamedAttrMap,HTMLFormElement:O,DOMParser:V,trustedTypes:G}=t,Y=p.prototype,$=C(Y,"cloneNode"),q=C(Y,"remove"),K=C(Y,"nextSibling"),Z=C(Y,"childNodes"),Q=C(Y,"parentNode");if("function"==typeof l){const e=o.createElement("template");e.content&&e.content.ownerDocument&&(o=e.content.ownerDocument)}let re,ne="";const{implementation:oe,createNodeIterator:ie,createDocumentFragment:se,getElementsByTagName:ae}=o,{importNode:ce}=i;let le={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]};r.isSupported="function"==typeof n&&"function"==typeof Q&&oe&&void 0!==oe.createHTMLDocument;const{MUSTACHE_EXPR:ue,ERB_EXPR:de,TMPLIT_EXPR:pe,DATA_ATTR:fe,ARIA_ATTR:me,IS_SCRIPT_OR_DATA:he,ATTR_WHITESPACE:ge,CUSTOM_ELEMENT:be}=ee;let{IS_ALLOWED_URI:ve}=ee,ye=null;const _e=N({},[...M,...P,...D,...L,...H]);let xe=null;const we=N({},[...B,...F,...U,...W]);let Ae=Object.seal(u(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Se=null,Ee=null;const Te=Object.seal(u(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let je=!0,ke=!0,Ne=!1,Oe=!0,Ie=!1,Ce=!0,Me=!1,Pe=!1,De=!1,Re=!1,Le=!1,ze=!1,He=!0,Be=!1,Fe=!0,Ue=!1,We={},Ve=null;const Ge=N({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let Ye=null;const $e=N({},["audio","video","img","source","image","track"]);let qe=null;const Xe=N({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Ke="http://www.w3.org/1998/Math/MathML",Ze="http://www.w3.org/2000/svg",Je="http://www.w3.org/1999/xhtml";let Qe=Je,et=!1,tt=null;const rt=N({},[Ke,Ze,Je],y);let nt=N({},["mi","mo","mn","ms","mtext"]),ot=N({},["annotation-xml"]);const it=N({},["title","style","font","a","script"]);let st=null;const at=["application/xhtml+xml","text/html"];let ct=null,lt=null;const ut=o.createElement("form"),dt=function(e){return e instanceof RegExp||e instanceof Function},pt=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!lt||lt!==e){if(e&&"object"==typeof e||(e={}),e=I(e),st=-1===at.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE,ct="application/xhtml+xml"===st?y:v,ye=S(e,"ALLOWED_TAGS")?N({},e.ALLOWED_TAGS,ct):_e,xe=S(e,"ALLOWED_ATTR")?N({},e.ALLOWED_ATTR,ct):we,tt=S(e,"ALLOWED_NAMESPACES")?N({},e.ALLOWED_NAMESPACES,y):rt,qe=S(e,"ADD_URI_SAFE_ATTR")?N(I(Xe),e.ADD_URI_SAFE_ATTR,ct):Xe,Ye=S(e,"ADD_DATA_URI_TAGS")?N(I($e),e.ADD_DATA_URI_TAGS,ct):$e,Ve=S(e,"FORBID_CONTENTS")?N({},e.FORBID_CONTENTS,ct):Ge,Se=S(e,"FORBID_TAGS")?N({},e.FORBID_TAGS,ct):I({}),Ee=S(e,"FORBID_ATTR")?N({},e.FORBID_ATTR,ct):I({}),We=!!S(e,"USE_PROFILES")&&e.USE_PROFILES,je=!1!==e.ALLOW_ARIA_ATTR,ke=!1!==e.ALLOW_DATA_ATTR,Ne=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Oe=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,Ie=e.SAFE_FOR_TEMPLATES||!1,Ce=!1!==e.SAFE_FOR_XML,Me=e.WHOLE_DOCUMENT||!1,Re=e.RETURN_DOM||!1,Le=e.RETURN_DOM_FRAGMENT||!1,ze=e.RETURN_TRUSTED_TYPE||!1,De=e.FORCE_BODY||!1,He=!1!==e.SANITIZE_DOM,Be=e.SANITIZE_NAMED_PROPS||!1,Fe=!1!==e.KEEP_CONTENT,Ue=e.IN_PLACE||!1,ve=e.ALLOWED_URI_REGEXP||X,Qe=e.NAMESPACE||Je,nt=e.MATHML_TEXT_INTEGRATION_POINTS||nt,ot=e.HTML_INTEGRATION_POINTS||ot,Ae=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&dt(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(Ae.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&dt(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(Ae.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(Ae.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Ie&&(ke=!1),Le&&(Re=!0),We&&(ye=N({},H),xe=[],!0===We.html&&(N(ye,M),N(xe,B)),!0===We.svg&&(N(ye,P),N(xe,F),N(xe,W)),!0===We.svgFilters&&(N(ye,D),N(xe,F),N(xe,W)),!0===We.mathMl&&(N(ye,L),N(xe,U),N(xe,W))),e.ADD_TAGS&&("function"==typeof e.ADD_TAGS?Te.tagCheck=e.ADD_TAGS:(ye===_e&&(ye=I(ye)),N(ye,e.ADD_TAGS,ct))),e.ADD_ATTR&&("function"==typeof e.ADD_ATTR?Te.attributeCheck=e.ADD_ATTR:(xe===we&&(xe=I(xe)),N(xe,e.ADD_ATTR,ct))),e.ADD_URI_SAFE_ATTR&&N(qe,e.ADD_URI_SAFE_ATTR,ct),e.FORBID_CONTENTS&&(Ve===Ge&&(Ve=I(Ve)),N(Ve,e.FORBID_CONTENTS,ct)),Fe&&(ye["#text"]=!0),Me&&N(ye,["html","head","body"]),ye.table&&(N(ye,["tbody"]),delete Se.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw T('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw T('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');re=e.TRUSTED_TYPES_POLICY,ne=re.createHTML("")}else void 0===re&&(re=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let r=null;const n="data-tt-policy-suffix";t&&t.hasAttribute(n)&&(r=t.getAttribute(n));const o="dompurify"+(r?"#"+r:"");try{return e.createPolicy(o,{createHTML:e=>e,createScriptURL:e=>e})}catch(e){return console.warn("TrustedTypes policy "+o+" could not be created."),null}}(G,s)),null!==re&&"string"==typeof ne&&(ne=re.createHTML(""));c&&c(e),lt=e}},ft=N({},[...P,...D,...R]),mt=N({},[...L,...z]),ht=function(e){g(r.removed,{element:e});try{Q(e).removeChild(e)}catch(t){q(e)}},gt=function(e,t){try{g(r.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){g(r.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e)if(Re||Le)try{ht(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},bt=function(e){let t=null,r=null;if(De)e="<remove></remove>"+e;else{const t=_(e,/^[\r\n\t ]+/);r=t&&t[0]}"application/xhtml+xml"===st&&Qe===Je&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");const n=re?re.createHTML(e):e;if(Qe===Je)try{t=(new V).parseFromString(n,st)}catch(e){}if(!t||!t.documentElement){t=oe.createDocument(Qe,"template",null);try{t.documentElement.innerHTML=et?ne:n}catch(e){}}const i=t.body||t.documentElement;return e&&r&&i.insertBefore(o.createTextNode(r),i.childNodes[0]||null),Qe===Je?ae.call(t,Me?"html":"body")[0]:Me?t.documentElement:i},vt=function(e){return ie.call(e.ownerDocument||e,e,j.SHOW_ELEMENT|j.SHOW_COMMENT|j.SHOW_TEXT|j.SHOW_PROCESSING_INSTRUCTION|j.SHOW_CDATA_SECTION,null)},yt=function(e){return e instanceof O&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof k)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes)},_t=function(e){return"function"==typeof d&&e instanceof d};function xt(e,t,n){f(e,e=>{e.call(r,t,n,lt)})}const wt=function(e){let t=null;if(xt(le.beforeSanitizeElements,e,null),yt(e))return ht(e),!0;const n=ct(e.nodeName);if(xt(le.uponSanitizeElement,e,{tagName:n,allowedTags:ye}),Ce&&e.hasChildNodes()&&!_t(e.firstElementChild)&&E(/<[/\w!]/g,e.innerHTML)&&E(/<[/\w!]/g,e.textContent))return ht(e),!0;if(7===e.nodeType)return ht(e),!0;if(Ce&&8===e.nodeType&&E(/<[/\w]/g,e.data))return ht(e),!0;if(!(Te.tagCheck instanceof Function&&Te.tagCheck(n))&&(!ye[n]||Se[n])){if(!Se[n]&&St(n)){if(Ae.tagNameCheck instanceof RegExp&&E(Ae.tagNameCheck,n))return!1;if(Ae.tagNameCheck instanceof Function&&Ae.tagNameCheck(n))return!1}if(Fe&&!Ve[n]){const t=Q(e)||e.parentNode,r=Z(e)||e.childNodes;if(r&&t)for(let n=r.length-1;n>=0;--n){const o=$(r[n],!0);o.__removalCount=(e.__removalCount||0)+1,t.insertBefore(o,K(e))}}return ht(e),!0}return e instanceof p&&!function(e){let t=Q(e);t&&t.tagName||(t={namespaceURI:Qe,tagName:"template"});const r=v(e.tagName),n=v(t.tagName);return!!tt[e.namespaceURI]&&(e.namespaceURI===Ze?t.namespaceURI===Je?"svg"===r:t.namespaceURI===Ke?"svg"===r&&("annotation-xml"===n||nt[n]):Boolean(ft[r]):e.namespaceURI===Ke?t.namespaceURI===Je?"math"===r:t.namespaceURI===Ze?"math"===r&&ot[n]:Boolean(mt[r]):e.namespaceURI===Je?!(t.namespaceURI===Ze&&!ot[n])&&!(t.namespaceURI===Ke&&!nt[n])&&!mt[r]&&(it[r]||!ft[r]):!("application/xhtml+xml"!==st||!tt[e.namespaceURI]))}(e)?(ht(e),!0):"noscript"!==n&&"noembed"!==n&&"noframes"!==n||!E(/<\/no(script|embed|frames)/i,e.innerHTML)?(Ie&&3===e.nodeType&&(t=e.textContent,f([ue,de,pe],e=>{t=x(t,e," ")}),e.textContent!==t&&(g(r.removed,{element:e.cloneNode()}),e.textContent=t)),xt(le.afterSanitizeElements,e,null),!1):(ht(e),!0)},At=function(e,t,r){if(He&&("id"===t||"name"===t)&&(r in o||r in ut))return!1;if(ke&&!Ee[t]&&E(fe,t));else if(je&&E(me,t));else if(Te.attributeCheck instanceof Function&&Te.attributeCheck(t,e));else if(!xe[t]||Ee[t]){if(!(St(e)&&(Ae.tagNameCheck instanceof RegExp&&E(Ae.tagNameCheck,e)||Ae.tagNameCheck instanceof Function&&Ae.tagNameCheck(e))&&(Ae.attributeNameCheck instanceof RegExp&&E(Ae.attributeNameCheck,t)||Ae.attributeNameCheck instanceof Function&&Ae.attributeNameCheck(t,e))||"is"===t&&Ae.allowCustomizedBuiltInElements&&(Ae.tagNameCheck instanceof RegExp&&E(Ae.tagNameCheck,r)||Ae.tagNameCheck instanceof Function&&Ae.tagNameCheck(r))))return!1}else if(qe[t]);else if(E(ve,x(r,ge,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==w(r,"data:")||!Ye[e])if(Ne&&!E(he,x(r,ge,"")));else if(r)return!1;return!0},St=function(e){return"annotation-xml"!==e&&_(e,be)},Et=function(e){xt(le.beforeSanitizeAttributes,e,null);const{attributes:t}=e;if(!t||yt(e))return;const n={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:xe,forceKeepAttr:void 0};let o=t.length;for(;o--;){const i=t[o],{name:s,namespaceURI:a,value:c}=i,l=ct(s),u=c;let d="value"===s?u:A(u);if(n.attrName=l,n.attrValue=d,n.keepAttr=!0,n.forceKeepAttr=void 0,xt(le.uponSanitizeAttribute,e,n),d=n.attrValue,!Be||"id"!==l&&"name"!==l||(gt(s,e),d="user-content-"+d),Ce&&E(/((--!?|])>)|<\/(style|title|textarea)/i,d)){gt(s,e);continue}if("attributename"===l&&_(d,"href")){gt(s,e);continue}if(n.forceKeepAttr)continue;if(!n.keepAttr){gt(s,e);continue}if(!Oe&&E(/\/>/i,d)){gt(s,e);continue}Ie&&f([ue,de,pe],e=>{d=x(d,e," ")});const p=ct(e.nodeName);if(At(p,l,d)){if(re&&"object"==typeof G&&"function"==typeof G.getAttributeType)if(a);else switch(G.getAttributeType(p,l)){case"TrustedHTML":d=re.createHTML(d);break;case"TrustedScriptURL":d=re.createScriptURL(d)}if(d!==u)try{a?e.setAttributeNS(a,s,d):e.setAttribute(s,d),yt(e)?ht(e):h(r.removed)}catch(t){gt(s,e)}}else gt(s,e)}xt(le.afterSanitizeAttributes,e,null)},Tt=function e(t){let r=null;const n=vt(t);for(xt(le.beforeSanitizeShadowDOM,t,null);r=n.nextNode();)xt(le.uponSanitizeShadowNode,r,null),wt(r),Et(r),r.content instanceof a&&e(r.content);xt(le.afterSanitizeShadowDOM,t,null)};return r.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=null,o=null,s=null,c=null;if(et=!e,et&&(e="\x3c!--\x3e"),"string"!=typeof e&&!_t(e)){if("function"!=typeof e.toString)throw T("toString is not a function");if("string"!=typeof(e=e.toString()))throw T("dirty is not a string, aborting")}if(!r.isSupported)return e;if(Pe||pt(t),r.removed=[],"string"==typeof e&&(Ue=!1),Ue){if(e.nodeName){const t=ct(e.nodeName);if(!ye[t]||Se[t])throw T("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof d)n=bt("\x3c!----\x3e"),o=n.ownerDocument.importNode(e,!0),1===o.nodeType&&"BODY"===o.nodeName||"HTML"===o.nodeName?n=o:n.appendChild(o);else{if(!Re&&!Ie&&!Me&&-1===e.indexOf("<"))return re&&ze?re.createHTML(e):e;if(n=bt(e),!n)return Re?null:ze?ne:""}n&&De&&ht(n.firstChild);const l=vt(Ue?e:n);for(;s=l.nextNode();)wt(s),Et(s),s.content instanceof a&&Tt(s.content);if(Ue)return e;if(Re){if(Le)for(c=se.call(n.ownerDocument);n.firstChild;)c.appendChild(n.firstChild);else c=n;return(xe.shadowroot||xe.shadowrootmode)&&(c=ce.call(i,c,!0)),c}let u=Me?n.outerHTML:n.innerHTML;return Me&&ye["!doctype"]&&n.ownerDocument&&n.ownerDocument.doctype&&n.ownerDocument.doctype.name&&E(J,n.ownerDocument.doctype.name)&&(u="<!DOCTYPE "+n.ownerDocument.doctype.name+">\n"+u),Ie&&f([ue,de,pe],e=>{u=x(u,e," ")}),re&&ze?re.createHTML(u):u},r.setConfig=function(){pt(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),Pe=!0},r.clearConfig=function(){lt=null,Pe=!1},r.isValidAttribute=function(e,t,r){lt||pt({});const n=ct(e),o=ct(t);return At(n,o,r)},r.addHook=function(e,t){"function"==typeof t&&g(le[e],t)},r.removeHook=function(e,t){if(void 0!==t){const r=m(le[e],t);return-1===r?void 0:b(le[e],r,1)[0]}return h(le[e])},r.removeHooks=function(e){le[e]=[]},r.removeAllHooks=function(){le={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},r}()},1490:(e,t,r)=>{"use strict";var n={};n[r(2769)("toStringTag")]="z",e.exports="[object z]"===String(n)},1529:(e,t,r)=>{"use strict";var n=r(2314);e.exports=function(e,t,r){for(var o in t)n(e,o,t[o],r);return e}},1582:(e,t,r)=>{"use strict";var n=r(2617);e.exports=!n(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})},1588:(e,t,r)=>{"use strict";var n=r(9704),o=r(9471);e.exports=function(e,t){var r=e[t];return o(r)?void 0:n(r)}},1594:e=>{"use strict";e.exports=React},1609:e=>{"use strict";var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},1631:(e,t,r)=>{"use strict";var n=r(7217);e.exports=function(e,t,r){for(var o=e.length-1;o>=0;o--)if(void 0!==e[o])try{r=n(e[o].iterator,t,r)}catch(e){t="throw",r=e}if("throw"===t)throw r;return r}},1669:e=>{"use strict";e.exports=jQuery},1699:(e,t,r)=>{"use strict";var n=r(2769),o=r(4903),i=n("iterator"),s=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||s[i]===e)}},1776:(e,t,r)=>{"use strict";var n=r(1582),o=r(3640),i=Function.prototype,s=n&&Object.getOwnPropertyDescriptor,a=o(i,"name"),c=a&&"something"===function(){}.name,l=a&&(!n||n&&s(i,"name").configurable);e.exports={EXISTS:a,PROPER:c,CONFIGURABLE:l}},2210:(e,t,r)=>{"use strict";var n=r(3826),o=r(7615),i=r(3429),s=r(1609),a=r(1699),c=r(4512),l=r(5871),u=r(7191),d=r(9545),p=r(7217),f=TypeError,m=function(e,t){this.stopped=e,this.result=t},h=m.prototype;e.exports=function(e,t,r){var g,b,v,y,_,x,w,A=r&&r.that,S=!(!r||!r.AS_ENTRIES),E=!(!r||!r.IS_RECORD),T=!(!r||!r.IS_ITERATOR),j=!(!r||!r.INTERRUPTED),k=n(t,A),N=function(e){return g&&p(g,"normal"),new m(!0,e)},O=function(e){return S?(i(e),j?k(e[0],e[1],N):k(e[0],e[1])):j?k(e,N):k(e)};if(E)g=e.iterator;else if(T)g=e;else{if(!(b=d(e)))throw new f(s(e)+" is not iterable");if(a(b)){for(v=0,y=c(e);y>v;v++)if((_=O(e[v]))&&l(h,_))return _;return new m(!1)}g=u(e,b)}for(x=E?e.next:g.next;!(w=o(x,g)).done;){try{_=O(w.value)}catch(e){p(g,"throw",e)}if("object"==typeof _&&_&&l(h,_))return _}return new m(!1)}},2304:(e,t,r)=>{"use strict";var n=r(9471),o=TypeError;e.exports=function(e){if(n(e))throw new o("Can't call method on "+e);return e}},2314:(e,t,r)=>{"use strict";var n=r(9659),o=r(1067),i=r(873),s=r(9951);e.exports=function(e,t,r,a){a||(a={});var c=a.enumerable,l=void 0!==a.name?a.name:t;if(n(r)&&i(r,l,a),a.global)c?e[t]=r:s(t,r);else{try{a.unsafe?e[t]&&(c=!0):delete e[t]}catch(e){}c?e[t]=r:o.f(e,t,{value:r,enumerable:!1,configurable:!a.nonConfigurable,writable:!a.nonWritable})}return e}},2415:(e,t,r)=>{"use strict";r.d(t,{A:()=>E});var n=r(1594),o=r(380);const i=window.wp?.serverSideRender;var s=r.n(i),a=r(6021),c=r(6423),l=r(1426);const u=window.wp?.hooks;var d=r(4833),p=r(5705),f=r(5924),m=r(1034),h=r(2968),g=r(4559);const b="HIcdI";var v=r(7157);const y=e=>{if(!(0,f.vL)(["widgets"]))return"";const t=(0,p.select)("core/block-editor").getBlockRootClientId(e);if(void 0!==t&&""!==t){const e=(0,p.select)("core/block-editor").getBlocksByClientId([t]);if(null!==e[0]&&void 0!==e[0]&&"core/widget-area"===e[0]?.name)return e[0]?.attributes?.id}return""},_=()=>(0,v.jsx)(a.Placeholder,{className:b,icon:m.A,label:(0,d.__)("Advanced Sidebar - Pages","advanced-sidebar-menu"),instructions:(0,d.__)("No preview available","advanced-sidebar-menu")}),x=()=>(0,v.jsx)(a.Placeholder,{className:b,icon:h.A,label:(0,d.__)("Advanced Sidebar - Categories","advanced-sidebar-menu"),instructions:(0,d.__)("No preview available","advanced-sidebar-menu")}),w=()=>(0,v.jsx)(a.Placeholder,{className:b,icon:g.A,label:(0,d.__)("Advanced Sidebar - Navigation","advanced-sidebar-menu"),instructions:(0,d.__)("No preview available","advanced-sidebar-menu")}),A=e=>{switch(e){case o.P.blocks.pages.id:return _;case o.P.blocks.categories.id:return x;case o.P.blocks.navigation?.id:return w}return()=>(0,v.jsx)(v.Fragment,{})},S=({children:e,attributes:t={clientId:""}})=>{if((0,n.useEffect)(()=>()=>{setTimeout(()=>{(0,u.doAction)("advanced-sidebar-menu.blocks.preview.loading-finished",{values:t,clientId:t.clientId})},100)}),"string"==typeof e?.props?.children?.errorMsg)throw new Error(e?.props?.children?.errorMsg??"Failed");return(0,v.jsxs)("div",{className:"o0fph",children:[(0,v.jsx)("div",{className:"OjXVm",children:(0,v.jsx)(a.Spinner,{})}),(0,v.jsx)("div",{className:"uCxNS",children:e})]})},E=({attributes:e,block:t,clientId:r})=>{const n=(0,c.useBlockProps)({className:"BDuIu"});if(""!==o.P.error)return(0,v.jsx)("div",{className:"Nl9o0",dangerouslySetInnerHTML:{__html:l.A.sanitize(o.P.error)}});const i=(e=>e.replace(/^([\d-])/,"_$1"))(r);let a={...e,isServerSideRenderRequest:!0,clientId:i,sidebarId:y(r)};return a=(0,u.applyFilters)("advanced-sidebar-menu.blocks.preview.attributes",a,t,r),(0,v.jsx)("div",{...n,onClick:e=>{const t=e.target;("A"===t.nodeName||"SPAN"===t.nodeName&&"A"===t.parentNode?.nodeName)&&e.preventDefault()},children:(0,v.jsx)(s(),{EmptyResponsePlaceholder:A(t),LoadingResponsePlaceholder:S,attributes:a,block:t,httpMethod:"POST",skipBlockSupportAttributes:!0})})}},2420:(e,t,r)=>{"use strict";var n=r(9498),o=r(5329).f,i=r(6957),s=r(2314),a=r(9951),c=r(6870),l=r(26);e.exports=function(e,t){var r,u,d,p,f,m=e.target,h=e.global,g=e.stat;if(r=h?n:g?n[m]||a(m,{}):n[m]&&n[m].prototype)for(u in t){if(p=t[u],d=e.dontCallGetSet?(f=o(r,u))&&f.value:r[u],!l(h?u:m+(g?".":"#")+u,e.forced)&&void 0!==d){if(typeof p==typeof d)continue;c(p,d)}(e.sham||d&&d.sham)&&i(p,"sham",!0),s(r,u,p,e)}}},2463:e=>{"use strict";e.exports=window.wp?.blocks},2471:(e,t,r)=>{"use strict";var n=r(4195),o=r(7295);e.exports=function(e){var t=n(e,"string");return o(t)?t:t+""}},2617:e=>{"use strict";e.exports=function(e){try{return!!e()}catch(e){return!0}}},2769:(e,t,r)=>{"use strict";var n=r(9498),o=r(1303),i=r(3640),s=r(7386),a=r(7693),c=r(5166),l=n.Symbol,u=o("wks"),d=c?l.for||l:l&&l.withoutSetter||s;e.exports=function(e){return i(u,e)||(u[e]=a&&i(l,e)?l[e]:d("Symbol."+e)),u[e]}},2879:(e,t,r)=>{"use strict";var n=r(6409),o=r(2304);e.exports=function(e){return n(o(e))}},2968:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(7157);const o=(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",children:[(0,n.jsx)("rect",{x:"0",fill:"none",width:"20",height:"20"}),(0,n.jsx)("g",{children:(0,n.jsx)("path",{fill:"#044567",d:"M19 17V2c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v15c0 .55.45 1 1 1h15c.55 0 1-.45 1-1z M4 3h13v4H4V3z M5 4h3v2H5V4zm4 0h3v2H9V4zm4 0h3v2H13V4z M4.5 9 c .28 0 .5 .22 .5 .5s-.22.5-.5.5s-.5-.22-.5-.5s.22-.5 .5-.5z M6 9h4v1H6v-1z M4.5 12 c .28 0 .5 .22 .5 .5s-.22.5-.5.5s-.5-.22-.5-.5s.22-.5 .5-.5z M6 12h4v1H6v-1z M4.5 15 c .28 0 .5 .22 .5 .5s-.22.5-.5.5s-.5-.22-.5-.5s.22-.5 .5-.5z M6 15h4v1H6v-1z M12 10 H15.5 L17 12.5 L15.5 15 H12 V10 Z M13 12.5 m -0.6 0 a 0.6 0.6 0 1 0 1.2 0 a 0.6 0.6 0 1 0 -1.2 0"})})]})},3030:(e,t,r)=>{"use strict";var n=r(6666),o=r(3640),i=r(2879),s=r(5643).indexOf,a=r(4307),c=n([].push);e.exports=function(e,t){var r,n=i(e),l=0,u=[];for(r in n)!o(a,r)&&o(n,r)&&c(u,r);for(;t.length>l;)o(n,r=t[l++])&&(~s(u,r)||c(u,r));return u}},3229:(e,t,r)=>{"use strict";r.d(t,{A:()=>d}),r(8369),r(5831);var n=r(380),o=r(6021),i=r(6423);const s=window.wp?.htmlEntities;var a=r(4833);var c=r(7157);const l={color:"#3db634",fontWeight:700},u={margin:"16px 0 0",fontSize:"1.2em"},d=(0,o.withFilters)("advanced-sidebar-menu.blocks.info-panel")(({})=>(0,c.jsx)(i.InspectorControls,{children:(0,c.jsxs)(o.PanelBody,{title:(0,c.jsx)("span",{style:l,children:(0,a.__)("Go PRO","advanced-sidebar-menu")}),className:"k_HzP",initialOpen:!1,children:[(0,c.jsx)("h2",{style:u,children:(0,a.__)("Advanced Sidebar Menu PRO","advanced-sidebar-menu")}),(0,c.jsxs)("ul",{children:[n.P.features.map(e=>(0,c.jsx)("li",{children:(0,s.decodeEntities)(e)},e)),(0,c.jsx)("li",{children:(0,a.__)("And so much more…","advanced-sidebar-menu")})]}),(0,c.jsx)(o.Button,{className:"FgH_t",href:"https://onpointplugins.com/product/advanced-sidebar-menu-pro/?utm_source=block-upgrade&utm_campaign=gopro&utm_medium=wp-dash#buy-now-choices",target:"_blank",rel:"noreferrer",isPrimary:!0,children:(0,a.__)("Upgrade","advanced-sidebar-menu")})]})}))},3429:(e,t,r)=>{"use strict";var n=r(3912),o=String,i=TypeError;e.exports=function(e){if(n(e))return e;throw new i(o(e)+" is not an object")}},3595:(e,t,r)=>{"use strict";var n=r(2304),o=Object;e.exports=function(e){return o(n(e))}},3604:(e,t,r)=>{"use strict";var n=r(9498),o=r(9659),i=n.WeakMap;e.exports=o(i)&&/native code/.test(String(i))},3640:(e,t,r)=>{"use strict";var n=r(6666),o=r(3595),i=n({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return i(o(e),t)}},3658:e=>{"use strict";e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},3701:e=>{"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},3826:(e,t,r)=>{"use strict";var n=r(6394),o=r(9704),i=r(9202),s=n(n.bind);e.exports=function(e,t){return o(e),void 0===t?e:i?s(e,t):function(){return e.apply(t,arguments)}}},3884:(e,t,r)=>{"use strict";var n=r(7615),o=r(9659),i=r(3912),s=TypeError;e.exports=function(e,t){var r,a;if("string"===t&&o(r=e.toString)&&!i(a=n(r,e)))return a;if(o(r=e.valueOf)&&!i(a=n(r,e)))return a;if("string"!==t&&o(r=e.toString)&&!i(a=n(r,e)))return a;throw new s("Can't convert object to primitive value")}},3912:(e,t,r)=>{"use strict";var n=r(9659);e.exports=function(e){return"object"==typeof e?null!==e:n(e)}},3922:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(6021),o=r(5705),i=r(8110);let s="";const a=(0,n.withFilters)("advanced-sidebar-menu.blocks.side-load")(({clientId:e,children:t})=>(0,i.isEmpty)(s)||e===s||-1===(0,o.select)("core/block-editor").getBlockIndex(s)?(s=e,t??null):null)},3945:(e,t,r)=>{"use strict";r.d(t,{A:()=>u});var n=r(1594),o=r(380);const i=window.wp?.url;var s=r(1426),a=r(7157);const{sanitize:c}=s.A;class l extends n.Component{constructor(e){super(e),this.state={hasError:!1,error:null}}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(e,t){console.warn("%cError caught by the Advanced Sidebar ErrorBoundary!","color:orange; font-size: large; font-weight: bold"),console.warn(this.props),console.warn(e),console.warn(t),this.setState({error:e})}render(){return this.state.hasError?o.P.siteInfo.scriptDebug?(0,a.jsxs)("div",{className:"components-panel__body is-opened",children:[(0,a.jsx)("h4",{style:{color:"red"},children:"Something went wrong!"}),(0,a.jsxs)("p",{children:[(0,a.jsx)("button",{className:"components-button is-link",onClick:e=>{e.preventDefault(),window.open(c(o.P.support),"_blank","noopener,noreferrer")},children:"Please create a support request"})," with the following information:"]}),(0,a.jsxs)("ol",{children:[(0,a.jsx)("li",{children:(0,a.jsx)("button",{className:"components-button is-link",onClick:e=>{e.preventDefault(),window.open("https://onpointplugins.com/how-to-retrieve-console-logs-from-your-browser/","_blank","noopener,noreferrer")},children:"The logs from your browser console."})}),(0,a.jsx)("li",{children:"The following information."})]}),(0,a.jsxs)("div",{style:{border:"2px groove",padding:"10px",width:"100%",overflowWrap:"break-word"},children:[(0,a.jsxs)("p",{children:[(0,a.jsx)("strong",{children:(0,a.jsx)("em",{children:"Section"})})," ",(0,a.jsx)("br",{}),(0,a.jsx)("code",{children:this.props.section})]}),(0,a.jsxs)("p",{children:[(0,a.jsx)("strong",{children:(0,a.jsx)("em",{children:"Screen"})})," ",(0,a.jsx)("br",{}),(0,a.jsx)("code",{children:o.P.currentScreen})]}),(0,a.jsxs)("p",{children:[(0,a.jsx)("strong",{children:(0,a.jsx)("em",{children:"Message"})})," ",(0,a.jsx)("br",{}),(0,a.jsx)("code",{children:this.state.error?.message})]}),(0,a.jsxs)("p",{children:[(0,a.jsx)("strong",{children:(0,a.jsx)("em",{children:"Block"})})," ",(0,a.jsx)("br",{}),(0,a.jsx)("code",{children:this.props.block})]}),(0,a.jsxs)("p",{children:[(0,a.jsx)("strong",{children:(0,a.jsx)("em",{children:"Attributes"})})," ",(0,a.jsx)("br",{}),(0,a.jsx)("code",{children:JSON.stringify(this.props.attributes)})]}),(0,a.jsxs)("p",{children:[(0,a.jsx)("strong",{children:(0,a.jsx)("em",{children:"Site Info"})})," ",(0,a.jsx)("br",{}),(0,a.jsx)("code",{children:JSON.stringify(o.P.siteInfo)})]}),(0,a.jsxs)("p",{children:[(0,a.jsx)("strong",{children:(0,a.jsx)("em",{children:"Stack"})})," ",(0,a.jsx)("br",{}),(0,a.jsx)("code",{children:this.state.error?.stack})]})]}),(0,a.jsx)("p",{children:" "}),(0,a.jsx)("p",{children:" "})]}):(0,a.jsxs)("div",{className:"components-panel__body is-opened",children:[(0,a.jsx)("h4",{style:{color:"red"},children:"Something went wrong!"}),(0,a.jsxs)("p",{children:[(0,a.jsx)("button",{className:"components-button is-link",onClick:e=>{e.preventDefault();const t=(0,i.addQueryArgs)(c(window.location.href),{"script-debug":"true"});window.open(c(t),"_blank","noopener,noreferrer")},children:"Please enable script debug"}),"to retrieve error information."]})]}):this.props.children}}const u=l},4036:(e,t,r)=>{"use strict";var n=r(6666),o=r(9659),i=r(1159),s=n(Function.toString);o(i.inspectSource)||(i.inspectSource=function(e){return s(e)}),e.exports=i.inspectSource},4116:(e,t,r)=>{"use strict";var n=r(5206);t.H=n.createRoot,n.hydrateRoot},4139:(e,t,r)=>{"use strict";r.r(t),r.d(t,{block:()=>_,name:()=>x,settings:()=>w});var n=r(380),o=(r(8369),r(5831),r(6423)),i=r(6021),s=r(2415),a=r(9458),c=r(5705),l=r(3229),u=r(4833),d=r(3945),p=r(3922),f=r(5924),m=r(9636),h=r(1426),g=r(9679),b=r(7157);const v=({attributes:e,setAttributes:t,clientId:r,name:v})=>{const y=(0,c.useSelect)(t=>t("core").getPostType(e.post_type??"page")??t("core").getPostType("page"),[e.post_type]);if(""!==n.P.error)return(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(o.InspectorControls,{children:(0,b.jsx)("div",{className:g.A.error,dangerouslySetInnerHTML:{__html:h.A.sanitize(n.P.error)}})}),(0,b.jsx)(s.A,{attributes:e,block:_.id,clientId:r})]});const x={type:y,attributes:e,name:v,setAttributes:t,clientId:r};return(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(o.InspectorControls,{children:(0,b.jsx)("div",{className:"components-panel__body is-opened",children:(0,b.jsx)("a",{href:n.P.docs.page,target:"_blank",rel:"noopener noreferrer",children:(0,u.__)("Documentation","advanced-sidebar-menu")})})}),(0,b.jsxs)(o.InspectorControls,{children:[(0,f.vL)(["widgets","site-editor","customize"])&&(0,b.jsx)(i.PanelBody,{children:(0,b.jsx)(i.TextControl,{value:e.title??"",label:(0,u.__)("Title","advanced-sidebar-menu"),onChange:e=>t({title:e}),__nextHasNoMarginBottom:!0})}),(0,b.jsxs)(d.A,{attributes:e,block:v,section:"pages/Edit/general",children:[(0,b.jsx)(a.A,{attributes:e,clientId:r,name:v,setAttributes:t,type:y}),(0,b.jsxs)("div",{className:"components-panel__body is-opened",children:[(0,b.jsx)(i.Slot,{name:"advanced-sidebar-menu/pages/general",fillProps:x}),(0,b.jsx)(i.SelectControl,{label:(0,u.__)("Order by","advanced-sidebar-menu"),value:e.order_by,labelPosition:"side",options:Object.entries(n.P.pages.orderBy).map(([e,t])=>({value:e,label:t})),onChange:e=>{t({order_by:e})}}),(0,b.jsx)(m.A,{type:y,attributes:e,setAttributes:t}),(0,b.jsx)(i.Slot,{name:"advanced-sidebar-menu/pages/general-after",fillProps:x})]})]}),(0,b.jsx)(d.A,{attributes:e,block:v,section:"pages/Edit/inspector",children:(0,b.jsx)(i.Slot,{name:"advanced-sidebar-menu/pages/inspector",fillProps:x})})]}),(0,b.jsx)(o.BlockControls,{children:(0,b.jsx)(d.A,{attributes:e,block:v,section:"pages/Edit/block-controls",children:(0,b.jsx)(i.Slot,{name:"advanced-sidebar-menu/pages/block-controls",fillProps:x})})}),(0,b.jsx)(l.A,{clientId:r}),(0,b.jsx)(d.A,{attributes:e,block:v,section:"pages/Edit/preview",children:(0,b.jsx)(s.A,{attributes:e,block:_.id,clientId:r})}),(0,b.jsx)(p.A,{clientId:r})]})};var y=r(1034);const _=n.P.blocks.pages,x=_.id,w={title:(0,u.__)("Advanced Sidebar - Pages","advanced-sidebar-menu"),icon:y.A,category:"widgets",description:(0,u.__)("Creates a menu of all the pages using the parent/child relationship","advanced-sidebar-menu"),example:{attributes:{apply_current_page_parent_styles_to_parent:!0,apply_current_page_styles_to_parent:!0,block_style:!0,border:!0,border_color:"#333",bullet_style:"none",child_page_bg_color:"#666",child_page_color:"#fff",current_page_bg_color:"#282828",current_page_color:"#0cc4c6",current_page_font_weight:"normal",current_page_parent_bg_color:"#333",display_all:!0,grandchild_page_bg_color:"#989898",grandchild_page_color:"#282828",grandchild_page_font_weight:"bold",include_childless_parent:!0,include_parent:!0,levels:2,parent_page_bg_color:"#666",parent_page_color:"#fff"}},transforms:{from:[{type:"block",blocks:["core/legacy-widget"],isMatch:({idBase:e,instance:t})=>null!==t?.raw&&"advanced_sidebar_menu"===e,transform:(0,f.od)(x)}]},attributes:(0,f.$O)(_.attributes),supports:(0,f.MP)(),edit:e=>(0,b.jsx)(v,{...e}),save:()=>null,apiVersion:3}},4173:(e,t,r)=>{"use strict";var n=r(3640),o=r(9659),i=r(3595),s=r(705),a=r(9249),c=s("IE_PROTO"),l=Object,u=l.prototype;e.exports=a?l.getPrototypeOf:function(e){var t=i(e);if(n(t,c))return t[c];var r=t.constructor;return o(r)&&t instanceof r?r.prototype:t instanceof l?u:null}},4195:(e,t,r)=>{"use strict";var n=r(7615),o=r(3912),i=r(7295),s=r(1588),a=r(3884),c=r(2769),l=TypeError,u=c("toPrimitive");e.exports=function(e,t){if(!o(e)||i(e))return e;var r,c=s(e,u);if(c){if(void 0===t&&(t="default"),r=n(c,e,t),!o(r)||i(r))return r;throw new l("Can't convert object to primitive value")}return void 0===t&&(t="number"),a(e,t)}},4307:e=>{"use strict";e.exports={}},4330:(e,t,r)=>{"use strict";var n=r(2420),o=r(7615),i=r(2210),s=r(9704),a=r(3429),c=r(6857),l=r(7217),u=r(6435)("forEach",TypeError);n({target:"Iterator",proto:!0,real:!0,forced:u},{forEach:function(e){a(this);try{s(e)}catch(e){l(this,"throw",e)}if(u)return o(u,this,e);var t=c(this),r=0;i(t,function(t){e(t,r++)},{IS_RECORD:!0})}})},4357:(e,t,r)=>{"use strict";var n=r(5871),o=TypeError;e.exports=function(e,t){if(n(t,e))return e;throw new o("Incorrect invocation")}},4512:(e,t,r)=>{"use strict";var n=r(9124);e.exports=function(e){return n(e.length)}},4559:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(7157);const o=(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",children:[(0,n.jsx)("rect",{x:"0",fill:"none",width:"20",height:"20"}),(0,n.jsx)("g",{children:(0,n.jsx)("path",{fill:"#044567",d:"M19 17V2c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v15c0 .55.45 1 1 1h15c.55 0 1-.45 1-1z M4 3h13v4H4V3z M5 4h3v2H5V4zm4 0h3v2H9V4zm4 0h3v2H13V4z M4.5 9 c .28 0 .5 .22 .5 .5s-.22.5-.5.5s-.5-.22-.5-.5s.22-.5 .5-.5z M6 9h4v1H6v-1z M4.5 12 c .28 0 .5 .22 .5 .5s-.22.5-.5.5s-.5-.22-.5-.5s.22-.5 .5-.5z M6 12h4v1H6v-1z M4.5 15 c .28 0 .5 .22 .5 .5s-.22.5-.5.5s-.5-.22-.5-.5s.22-.5 .5-.5z M6 15h4v1H6v-1z M12.5 10.5 h4v1h-4v-1z M12.5 12 h4v1h-4v-1z M12.5 13.5 h4v1h-4v-1z"})})]})},4779:(e,t,r)=>{"use strict";var n,o,i,s=r(2617),a=r(9659),c=r(3912),l=r(7306),u=r(4173),d=r(2314),p=r(2769),f=r(613),m=p("iterator"),h=!1;[].keys&&("next"in(i=[].keys())?(o=u(u(i)))!==Object.prototype&&(n=o):h=!0),!c(n)||s(function(){var e={};return n[m].call(e)!==e})?n={}:f&&(n=l(n)),a(n[m])||d(n,m,function(){return this}),e.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:h}},4809:(e,t,r)=>{"use strict";var n=r(6001),o=r(6666),i=r(8006),s=r(9675),a=r(3429),c=o([].concat);e.exports=n("Reflect","ownKeys")||function(e){var t=i.f(a(e)),r=s.f;return r?c(t,r(e)):t}},4833:e=>{"use strict";e.exports=window.wp?.i18n},4849:(e,t,r)=>{"use strict";var n=r(1490),o=r(9659),i=r(1374),s=r(2769)("toStringTag"),a=Object,c="Arguments"===i(function(){return arguments}());e.exports=n?i:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=a(e),s))?r:c?i(t):"Object"===(n=i(t))&&o(t.callee)?"Arguments":n}},4903:e=>{"use strict";e.exports={}},4925:(e,t,r)=>{"use strict";var n=r(8247);e.exports=function(e){var t=+e;return t!=t||0===t?0:n(t)}},5166:(e,t,r)=>{"use strict";var n=r(7693);e.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},5176:(e,t,r)=>{"use strict";var n=r(873),o=r(1067);e.exports=function(e,t,r){return r.get&&n(r.get,t,{getter:!0}),r.set&&n(r.set,t,{setter:!0}),o.f(e,t,r)}},5199:(e,t,r)=>{"use strict";var n=r(1594),o=Symbol.for("react.element"),i=Symbol.for("react.fragment"),s=Object.prototype.hasOwnProperty,a=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,c={key:!0,ref:!0,__self:!0,__source:!0};function l(e,t,r){var n,i={},l=null,u=null;for(n in void 0!==r&&(l=""+r),void 0!==t.key&&(l=""+t.key),void 0!==t.ref&&(u=t.ref),t)s.call(t,n)&&!c.hasOwnProperty(n)&&(i[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps)void 0===i[n]&&(i[n]=t[n]);return{$$typeof:o,type:e,key:l,ref:u,props:i,_owner:a.current}}t.Fragment=i,t.jsx=l,t.jsxs=l},5206:e=>{"use strict";e.exports=ReactDOM},5267:(e,t,r)=>{"use strict";var n,o,i,s=r(3604),a=r(9498),c=r(3912),l=r(6957),u=r(3640),d=r(1159),p=r(705),f=r(4307),m="Object already initialized",h=a.TypeError,g=a.WeakMap;if(s||d.state){var b=d.state||(d.state=new g);b.get=b.get,b.has=b.has,b.set=b.set,n=function(e,t){if(b.has(e))throw new h(m);return t.facade=e,b.set(e,t),t},o=function(e){return b.get(e)||{}},i=function(e){return b.has(e)}}else{var v=p("state");f[v]=!0,n=function(e,t){if(u(e,v))throw new h(m);return t.facade=e,l(e,v,t),t},o=function(e){return u(e,v)?e[v]:{}},i=function(e){return u(e,v)}}e.exports={set:n,get:o,has:i,enforce:function(e){return i(e)?o(e):n(e,{})},getterFor:function(e){return function(t){var r;if(!c(t)||(r=o(t)).type!==e)throw new h("Incompatible receiver, "+e+" required");return r}}}},5329:(e,t,r)=>{"use strict";var n=r(1582),o=r(7615),i=r(1259),s=r(3658),a=r(2879),c=r(2471),l=r(3640),u=r(5879),d=Object.getOwnPropertyDescriptor;t.f=n?d:function(e,t){if(e=a(e),t=c(t),u)try{return d(e,t)}catch(e){}if(l(e,t))return s(!o(i.f,e,t),e[t])}},5583:e=>{"use strict";e.exports=function(e,t){return{value:e,done:t}}},5643:(e,t,r)=>{"use strict";var n=r(2879),o=r(5776),i=r(4512),s=function(e){return function(t,r,s){var a=n(t),c=i(a);if(0===c)return!e&&-1;var l,u=o(s,c);if(e&&r!=r){for(;c>u;)if((l=a[u++])!=l)return!0}else for(;c>u;u++)if((e||u in a)&&a[u]===r)return e||u||0;return!e&&-1}};e.exports={includes:s(!0),indexOf:s(!1)}},5705:e=>{"use strict";e.exports=window.wp?.data},5776:(e,t,r)=>{"use strict";var n=r(4925),o=Math.max,i=Math.min;e.exports=function(e,t){var r=n(e);return r<0?o(r+t,0):i(r,t)}},5831:(e,t,r)=>{"use strict";var n=r(2420),o=r(7615),i=r(9704),s=r(3429),a=r(6857),c=r(6820),l=r(9109),u=r(7217),d=r(7454),p=r(6435),f=r(613),m=!f&&!d("map",function(){}),h=!f&&!m&&p("map",TypeError),g=f||m||h,b=c(function(){var e=this.iterator,t=s(o(this.next,e));if(!(this.done=!!t.done))return l(e,this.mapper,[t.value,this.counter++],!0)});n({target:"Iterator",proto:!0,real:!0,forced:g},{map:function(e){s(this);try{i(e)}catch(e){u(this,"throw",e)}return h?o(h,this,e):new b(a(this),{mapper:e})}})},5871:(e,t,r)=>{"use strict";var n=r(6666);e.exports=n({}.isPrototypeOf)},5879:(e,t,r)=>{"use strict";var n=r(1582),o=r(2617),i=r(6601);e.exports=!n&&!o(function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a})},5924:(e,t,r)=>{"use strict";r.d(t,{$O:()=>a,MP:()=>c,od:()=>s,vL:()=>i}),r(8369),r(4330);var n=r(2463),o=r(380);const i=e=>e.includes(o.P.currentScreen),s=e=>({instance:t})=>(0,n.createBlock)(e,l(t.raw));function a(e){return{...e,...o.P.blocks.commonAttr,...o.P.blocks.previewAttr}}function c(){return o.P.blocks.blockSupport}const l=e=>(Object.entries(e).forEach(([t,r])=>{"checked"===r&&(e[t]=!0),"object"==typeof r&&l(e[t]),"0"===r&&delete e[t]}),e)},6001:(e,t,r)=>{"use strict";var n=r(9498),o=r(9659);e.exports=function(e,t){return arguments.length<2?(r=n[e],o(r)?r:void 0):n[e]&&n[e][t];var r}},6021:e=>{"use strict";e.exports=window.wp?.components},6394:(e,t,r)=>{"use strict";var n=r(1374),o=r(6666);e.exports=function(e){if("Function"===n(e))return o(e)}},6398:(e,t,r)=>{"use strict";var n=r(1582),o=r(1067),i=r(3658);e.exports=function(e,t,r){n?o.f(e,t,i(0,r)):e[t]=r}},6409:(e,t,r)=>{"use strict";var n=r(6666),o=r(2617),i=r(1374),s=Object,a=n("".split);e.exports=o(function(){return!s("z").propertyIsEnumerable(0)})?function(e){return"String"===i(e)?a(e,""):s(e)}:s},6423:e=>{"use strict";e.exports=window.wp?.blockEditor},6435:(e,t,r)=>{"use strict";var n=r(9498);e.exports=function(e,t){var r=n.Iterator,o=r&&r.prototype,i=o&&o[e],s=!1;if(i)try{i.call({next:function(){return{done:!0}},return:function(){s=!0}},-1)}catch(e){e instanceof t||(s=!1)}if(!s)return i}},6601:(e,t,r)=>{"use strict";var n=r(9498),o=r(3912),i=n.document,s=o(i)&&o(i.createElement);e.exports=function(e){return s?i.createElement(e):{}}},6666:(e,t,r)=>{"use strict";var n=r(9202),o=Function.prototype,i=o.call,s=n&&o.bind.bind(i,i);e.exports=n?s:function(e){return function(){return i.apply(e,arguments)}}},6820:(e,t,r)=>{"use strict";var n=r(7615),o=r(7306),i=r(6957),s=r(1529),a=r(2769),c=r(5267),l=r(1588),u=r(4779).IteratorPrototype,d=r(5583),p=r(7217),f=r(1631),m=a("toStringTag"),h="IteratorHelper",g="WrapForValidIterator",b="normal",v="throw",y=c.set,_=function(e){var t=c.getterFor(e?g:h);return s(o(u),{next:function(){var r=t(this);if(e)return r.nextHandler();if(r.done)return d(void 0,!0);try{var n=r.nextHandler();return r.returnHandlerResult?n:d(n,r.done)}catch(e){throw r.done=!0,e}},return:function(){var r=t(this),o=r.iterator;if(r.done=!0,e){var i=l(o,"return");return i?n(i,o):d(void 0,!0)}if(r.inner)try{p(r.inner.iterator,b)}catch(e){return p(o,v,e)}if(r.openIters)try{f(r.openIters,b)}catch(e){return p(o,v,e)}return o&&p(o,b),d(void 0,!0)}})},x=_(!0),w=_(!1);i(w,m,"Iterator Helper"),e.exports=function(e,t,r){var n=function(n,o){o?(o.iterator=n.iterator,o.next=n.next):o=n,o.type=t?g:h,o.returnHandlerResult=!!r,o.nextHandler=e,o.counter=0,o.done=!1,y(this,o)};return n.prototype=t?x:w,n}},6857:e=>{"use strict";e.exports=function(e){return{iterator:e,next:e.next,done:!1}}},6870:(e,t,r)=>{"use strict";var n=r(3640),o=r(4809),i=r(5329),s=r(1067);e.exports=function(e,t,r){for(var a=o(t),c=s.f,l=i.f,u=0;u<a.length;u++){var d=a[u];n(e,d)||r&&n(r,d)||c(e,d,l(t,d))}}},6957:(e,t,r)=>{"use strict";var n=r(1582),o=r(1067),i=r(3658);e.exports=n?function(e,t,r){return o.f(e,t,i(1,r))}:function(e,t,r){return e[t]=r,e}},7157:(e,t,r)=>{"use strict";e.exports=r(5199)},7191:(e,t,r)=>{"use strict";var n=r(7615),o=r(9704),i=r(3429),s=r(1609),a=r(9545),c=TypeError;e.exports=function(e,t){var r=arguments.length<2?a(e):t;if(o(r))return i(n(r,e));throw new c(s(e)+" is not iterable")}},7217:(e,t,r)=>{"use strict";var n=r(7615),o=r(3429),i=r(1588);e.exports=function(e,t,r){var s,a;o(e);try{if(!(s=i(e,"return"))){if("throw"===t)throw r;return r}s=n(s,e)}catch(e){a=!0,s=e}if("throw"===t)throw r;if(a)throw s;return o(s),r}},7295:(e,t,r)=>{"use strict";var n=r(6001),o=r(9659),i=r(5871),s=r(5166),a=Object;e.exports=s?function(e){return"symbol"==typeof e}:function(e){var t=n("Symbol");return o(t)&&i(t.prototype,a(e))}},7306:(e,t,r)=>{"use strict";var n,o=r(3429),i=r(1399),s=r(3701),a=r(4307),c=r(8827),l=r(6601),u=r(705),d="prototype",p="script",f=u("IE_PROTO"),m=function(){},h=function(e){return"<"+p+">"+e+"</"+p+">"},g=function(e){e.write(h("")),e.close();var t=e.parentWindow.Object;return e=null,t},b=function(){try{n=new ActiveXObject("htmlfile")}catch(e){}var e,t,r;b="undefined"!=typeof document?document.domain&&n?g(n):(t=l("iframe"),r="java"+p+":",t.style.display="none",c.appendChild(t),t.src=String(r),(e=t.contentWindow.document).open(),e.write(h("document.F=Object")),e.close(),e.F):g(n);for(var o=s.length;o--;)delete b[d][s[o]];return b()};a[f]=!0,e.exports=Object.create||function(e,t){var r;return null!==e?(m[d]=o(e),r=new m,m[d]=null,r[f]=e):r=b(),void 0===t?r:i.f(r,t)}},7386:(e,t,r)=>{"use strict";var n=r(6666),o=0,i=Math.random(),s=n(1.1.toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+s(++o+i,36)}},7454:e=>{"use strict";e.exports=function(e,t){var r="function"==typeof Iterator&&Iterator.prototype[e];if(r)try{r.call({next:null},t).next()}catch(e){return!0}}},7615:(e,t,r)=>{"use strict";var n=r(9202),o=Function.prototype.call;e.exports=n?o.bind(o):function(){return o.apply(o,arguments)}},7693:(e,t,r)=>{"use strict";var n=r(9581),o=r(2617),i=r(9498).String;e.exports=!!Object.getOwnPropertySymbols&&!o(function(){var e=Symbol("symbol detection");return!i(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41})},8006:(e,t,r)=>{"use strict";var n=r(3030),o=r(3701).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,o)}},8110:e=>{"use strict";e.exports=lodash},8247:e=>{"use strict";var t=Math.ceil,r=Math.floor;e.exports=Math.trunc||function(e){var n=+e;return(n>0?r:t)(n)}},8369:(e,t,r)=>{"use strict";var n=r(2420),o=r(9498),i=r(4357),s=r(3429),a=r(9659),c=r(4173),l=r(5176),u=r(6398),d=r(2617),p=r(3640),f=r(2769),m=r(4779).IteratorPrototype,h=r(1582),g=r(613),b="constructor",v="Iterator",y=f("toStringTag"),_=TypeError,x=o[v],w=g||!a(x)||x.prototype!==m||!d(function(){x({})}),A=function(){if(i(this,m),c(this)===m)throw new _("Abstract class Iterator not directly constructable")},S=function(e,t){h?l(m,e,{configurable:!0,get:function(){return t},set:function(t){if(s(this),this===m)throw new _("You can't redefine this property");p(this,e)?this[e]=t:u(this,e,t)}}):m[e]=t};p(m,y)||S(y,v),!w&&p(m,b)&&m[b]!==Object||S(b,A),A.prototype=m,n({global:!0,constructor:!0,forced:w},{Iterator:A})},8794:(e,t,r)=>{"use strict";var n=r(3030),o=r(3701);e.exports=Object.keys||function(e){return n(e,o)}},8827:(e,t,r)=>{"use strict";var n=r(6001);e.exports=n("document","documentElement")},9109:(e,t,r)=>{"use strict";var n=r(3429),o=r(7217);e.exports=function(e,t,r,i){try{return i?t(n(r)[0],r[1]):t(r)}catch(t){o(e,"throw",t)}}},9124:(e,t,r)=>{"use strict";var n=r(4925),o=Math.min;e.exports=function(e){var t=n(e);return t>0?o(t,9007199254740991):0}},9202:(e,t,r)=>{"use strict";var n=r(2617);e.exports=!n(function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})},9249:(e,t,r)=>{"use strict";var n=r(2617);e.exports=!n(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})},9406:(e,t,r)=>{var n={"./categories/block.tsx":729,"./pages/block.tsx":4139,"gutenberg/blocks/categories/block.tsx":729,"gutenberg/blocks/pages/block.tsx":4139};function o(e){var t=i(e);return r(t)}function i(e){if(!r.o(n,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return n[e]}o.keys=function(){return Object.keys(n)},o.resolve=i,e.exports=o,o.id=9406},9458:(e,t,r)=>{"use strict";r.d(t,{A:()=>d}),r(8369),r(5831);var n=r(6021),o=r(380),i=r(4833),s=r(8110),a=r(3945),c=r(7157);const l={include_parent:(0,i.__)("Display highest level parent %s","advanced-sidebar-menu"),include_childless_parent:(0,i.__)("Display menu when there is only the parent %s","advanced-sidebar-menu"),display_all:(0,i.__)("Always display child %s","advanced-sidebar-menu")},u=[{value:"100",label:(0,i.__)("- All -","advanced-sidebar-menu")},...(0,s.range)(1,11).map(e=>({value:e.toString(),label:e.toString()}))],d=({attributes:e,setAttributes:t,type:r,name:s,clientId:d,children:p})=>{const f=o.P.blocks.pages.id===s&&"1"===o.P.isPro||!0===e.display_all,m={type:r,attributes:e,name:s,setAttributes:t,clientId:d};return(0,c.jsxs)(n.PanelBody,{title:(0,i.__)("Display","advanced-sidebar-menu"),children:[Object.keys(l).map(o=>{let s=r?.labels?.singular_name.toLowerCase()??"";return"display_all"===o&&(s=r?.labels?.name.toLowerCase()??""),(0,c.jsx)(n.CheckboxControl,{label:(0,i.sprintf)(l[o],s),checked:!0===e[o],onChange:e=>{t({[o]:e})},__nextHasNoMarginBottom:!0},o)}),f&&(0,c.jsx)(n.SelectControl,{label:(0,i.sprintf)((0,i.__)("Levels of child %s to display","advanced-sidebar-menu"),r?.labels?.name.toLowerCase()??""),className:"advanced-sidebar-menu-display-select",value:e.levels.toString(),onChange:e=>{t({levels:parseInt(e)})},options:u,__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0},"levels"),p,(0,c.jsxs)(a.A,{attributes:e,block:s,section:"Display/slots",children:[o.P.blocks.pages.id===s&&(0,c.jsx)(n.Slot,{name:"advanced-sidebar-menu/pages/display",fillProps:m}),o.P.blocks.categories.id===s&&(0,c.jsx)(n.Slot,{name:"advanced-sidebar-menu/categories/display",fillProps:m})]})]})}},9471:e=>{"use strict";e.exports=function(e){return null==e}},9498:function(e,t,r){"use strict";var n=function(e){return e&&e.Math===Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||n("object"==typeof this&&this)||function(){return this}()||Function("return this")()},9545:(e,t,r)=>{"use strict";var n=r(4849),o=r(1588),i=r(9471),s=r(4903),a=r(2769)("iterator");e.exports=function(e){if(!i(e))return o(e,a)||o(e,"@@iterator")||s[n(e)]}},9581:(e,t,r)=>{"use strict";var n,o,i=r(9498),s=r(709),a=i.process,c=i.Deno,l=a&&a.versions||c&&c.version,u=l&&l.v8;u&&(o=(n=u.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!o&&s&&(!(n=s.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=s.match(/Chrome\/(\d+)/))&&(o=+n[1]),e.exports=o},9636:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(6021),o=r(4833),i=r(1426),s=r(7157);const a=(0,n.withFilters)("advanced-sidebar-menu.blocks.exclude-field")(({type:e,attributes:t,setAttributes:r})=>{const a=(0,s.jsxs)("p",{children:[(0,s.jsx)("br",{}),(0,s.jsx)("span",{dangerouslySetInnerHTML:{__html:i.A.sanitize((0,o.sprintf)((0,o.__)("For more robust and intuitive exclusions use the %1$sPRO version%2$s.","advanced-sidebar-menu"),'<a href="https://onpointplugins.com/advanced-sidebar-menu/advanced-sidebar-menu-pro-widget-docs/advanced-sidebar-menu-pro-excluding-menu-items/?utm_source=exclude-field&utm_campaign=gopro&utm_medium=wp-dash" target="_blank" rel="noopener noreferrer">',"</a>"),{ADD_ATTR:["target"]})}})]});return(0,s.jsx)(n.TextControl,{label:(0,o.sprintf)((0,o.__)("%s to exclude","advanced-sidebar-menu"),e?.labels?.name??""),value:t.exclude,help:(0,s.jsxs)(s.Fragment,{children:[(0,o.__)("ids, comma separated","advanced-sidebar-menu"),a]}),onChange:e=>{r({exclude:e})},__nextHasNoMarginBottom:!0})})},9659:e=>{"use strict";var t="object"==typeof document&&document.all;e.exports=void 0===t&&void 0!==t?function(e){return"function"==typeof e||e===t}:function(e){return"function"==typeof e}},9675:(e,t)=>{"use strict";t.f=Object.getOwnPropertySymbols},9679:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});const n={error:"lZo8N"}},9704:(e,t,r)=>{"use strict";var n=r(9659),o=r(1609),i=TypeError;e.exports=function(e){if(n(e))return e;throw new i(o(e)+" is not a function")}},9752:(e,t,r)=>{"use strict";var n=r(1582),o=r(2617);e.exports=n&&o(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})},9951:(e,t,r)=>{"use strict";var n=r(9498),o=Object.defineProperty;e.exports=function(e,t){try{o(n,e,{value:t,configurable:!0,writable:!0})}catch(r){n[e]=t}return t}}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var i=t[n]={id:n,loaded:!1,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.loaded=!0,i.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.hmd=e=>((e=Object.create(e)).children||(e.children=[]),Object.defineProperty(e,"exports",{enumerable:!0,set:()=>{throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}}),e),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{"use strict";r(8369),r(4330);var e=r(4116),t=r(4833),n=r(1594),o=r(6021);var i=r(7157);const s="advanced-sidebar-menu/transform-notice-dismissed",a=({})=>{const[e,r]=(0,n.useState)(!0);return e?(0,i.jsxs)(o.Notice,{className:"mq3sZ",politeness:"polite",onDismiss:()=>{r(!1),localStorage.setItem(s,"1")},actions:[{label:(0,t.__)("Blocks are the future of Advanced Sidebar Menu.","advanced-sidebar-menu"),url:"https://onpointplugins.com/advanced-sidebar-menu/advanced-sidebar-menu-gutenberg-blocks/#transform-widgets-to-blocks",variant:"link"}],children:[(0,i.jsx)("span",{className:"dashicons dashicons-arrow-up-alt"})," ",(0,t.__)("This widget may be transformed into a block.","advanced-sidebar-menu")]}):null};var c=r(380),l=r(1669);console.debug("Advanced Sidebar - Loaded"),"1"===c.P.isWidgets&&l(document).on("widget-added",function(){!function(){if(c.P.siteInfo.classicWidgets)return;if("1"===localStorage.getItem(s))return;const t=document.querySelectorAll('[data-js="advanced-sidebar-menu/transform-notice"]');try{t.forEach(t=>{(0,e.H)(t).render((0,i.jsx)(a,{}))})}catch(e){console.error(e)}}()}),void 0!==window.wp.element&&void 0!==window.wp.plugins?r(1304).A():void 0!==window.wp.customize&&window.wp.customize.bind("ready",()=>{r(1304).A()})})()})();
     2(()=>{var e={26:(e,t,r)=>{"use strict";var n=r(2617),o=r(9659),i=/#|\.prototype\./,s=function(e,t){var r=c[a(e)];return r===u||r!==l&&(o(t)?n(t):!!t)},a=s.normalize=function(e){return String(e).replace(i,".").toLowerCase()},c=s.data={},l=s.NATIVE="N",u=s.POLYFILL="P";e.exports=s},380:(e,t,r)=>{"use strict";r.d(t,{P:()=>n});const n=window.ADVANCED_SIDEBAR_MENU},613:e=>{"use strict";e.exports=!1},705:(e,t,r)=>{"use strict";var n=r(1303),o=r(7386),i=n("keys");e.exports=function(e){return i[e]||(i[e]=o(e))}},709:(e,t,r)=>{"use strict";var n=r(9498).navigator,o=n&&n.userAgent;e.exports=o?String(o):""},729:(e,t,r)=>{"use strict";r.r(t),r.d(t,{block:()=>_,name:()=>x,settings:()=>w});var n=r(380),o=(r(8369),r(5831),r(5705)),i=r(1426),s=r(6423),a=r(2415),c=r(3945),l=r(9458),u=r(6021),d=r(4833),p=r(3229),f=r(3922),m=r(5924),h=r(9636),g=r(9679),b=r(7157);const v=({attributes:e,setAttributes:t,clientId:r,name:v})=>{const y=(0,o.useSelect)(t=>t("core").getTaxonomy(e.taxonomy??"category")??t("core").getTaxonomy("category"),[e.taxonomy]);if(""!==n.P.error)return(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(s.InspectorControls,{children:(0,b.jsx)("div",{className:g.A.error,dangerouslySetInnerHTML:{__html:i.A.sanitize(n.P.error)}})}),(0,b.jsx)(a.A,{attributes:e,block:_.id,clientId:r})]});const x={type:y,attributes:e,name:v,setAttributes:t,clientId:r};return(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(s.InspectorControls,{children:(0,b.jsx)("div",{className:"components-panel__body is-opened",children:(0,b.jsx)("a",{href:n.P.docs.category,target:"_blank",rel:"noopener noreferrer",children:(0,d.__)("Documentation","advanced-sidebar-menu")})})}),(0,b.jsxs)(s.InspectorControls,{children:[(0,m.vL)(["widgets","site-editor","customize"])&&(0,b.jsx)(u.PanelBody,{children:(0,b.jsx)(u.TextControl,{value:e.title??"",label:(0,d.__)("Title","advanced-sidebar-menu"),onChange:e=>t({title:e}),__nextHasNoMarginBottom:!0})}),(0,b.jsxs)(c.A,{attributes:e,block:v,section:"categories/Edit/general",children:[(0,b.jsxs)(l.A,{attributes:e,clientId:r,name:v,setAttributes:t,type:y,children:[!(0,m.vL)(["post"])&&(0,b.jsx)(u.CheckboxControl,{label:(0,d.sprintf)((0,d.__)("Display %s on single posts","advanced-sidebar-menu"),y?.labels?.name.toLowerCase()??""),checked:e.single,onChange:e=>{t({single:e})},__nextHasNoMarginBottom:!0}),(0,m.vL)(["widgets","customize"])&&e.single&&(0,b.jsx)(u.SelectControl,{label:(0,d.sprintf)((0,d.__)("Display each single post's %s","advanced-sidebar-menu"),y?.labels?.name.toLowerCase()??""),value:e.new_widget,options:Object.keys(n.P.categories.displayEach).map(e=>({value:e,label:n.P.categories.displayEach[e]})),onChange:e=>t({new_widget:e})})]}),(0,b.jsxs)("div",{className:"components-panel__body is-opened",children:[(0,b.jsx)(u.Slot,{name:"advanced-sidebar-menu/categories/general",fillProps:x}),(0,b.jsx)(h.A,{type:y,attributes:e,setAttributes:t})]})]}),(0,b.jsx)(c.A,{attributes:e,block:v,section:"categories/Edit/inspector",children:(0,b.jsx)(u.Slot,{name:"advanced-sidebar-menu/categories/inspector",fillProps:x})})]}),(0,b.jsx)(s.BlockControls,{children:(0,b.jsx)(c.A,{attributes:e,block:v,section:"categories/Edit/block-controls",children:(0,b.jsx)(u.Slot,{name:"advanced-sidebar-menu/categories/block-controls",fillProps:x})})}),(0,b.jsx)(p.A,{clientId:r}),(0,b.jsx)(c.A,{attributes:e,block:v,section:"categories/Edit/preview",children:(0,b.jsx)(a.A,{attributes:e,block:_.id,clientId:r})}),(0,b.jsx)(f.A,{clientId:r})]})};var y=r(2968);const _=n.P.blocks.categories,x=_.id,w={title:(0,d.__)("Advanced Sidebar - Categories","advanced-sidebar-menu"),icon:y.A,category:"widgets",description:(0,d.__)("Creates a menu of all the categories using the parent/child relationship","advanced-sidebar-menu"),keywords:[(0,d.__)("taxonomy","advanced-sidebar-menu"),(0,d.__)("term","advanced-sidebar-menu"),(0,d.__)("category","advanced-sidebar-menu"),(0,d.__)("menu","advanced-sidebar-menu")],example:{attributes:{"display-posts":"all","display-posts/limit":2,apply_current_page_parent_styles_to_parent:!0,apply_current_page_styles_to_parent:!0,block_style:!0,border:!0,border_color:"#333",bullet_style:"none",child_page_bg_color:"#666",child_page_color:"#fff",parent_page_bg_color:"#282828",parent_page_color:"#0cc4c6",parent_page_font_weight:"normal",display_all:!0,grandchild_page_bg_color:"#989898",grandchild_page_color:"#282828",grandchild_page_font_weight:"bold",include_childless_parent:!0,include_parent:!0,levels:2}},transforms:{from:[{type:"block",blocks:["core/legacy-widget"],isMatch:({idBase:e,instance:t})=>null!==t?.raw&&"advanced_sidebar_menu_category"===e,transform:(0,m.od)(x)}]},attributes:(0,m.$O)(_.attributes),supports:(0,m.MP)(),edit:e=>(0,b.jsx)(v,{...e}),save:()=>null,apiVersion:3}},873:(e,t,r)=>{"use strict";var n=r(6666),o=r(2617),i=r(9659),s=r(3640),a=r(1582),c=r(1776).CONFIGURABLE,l=r(4036),u=r(5267),d=u.enforce,p=u.get,f=String,m=Object.defineProperty,h=n("".slice),g=n("".replace),b=n([].join),v=a&&!o(function(){return 8!==m(function(){},"length",{value:8}).length}),y=String(String).split("String"),_=e.exports=function(e,t,r){"Symbol("===h(f(t),0,7)&&(t="["+g(f(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),r&&r.getter&&(t="get "+t),r&&r.setter&&(t="set "+t),(!s(e,"name")||c&&e.name!==t)&&(a?m(e,"name",{value:t,configurable:!0}):e.name=t),v&&r&&s(r,"arity")&&e.length!==r.arity&&m(e,"length",{value:r.arity});try{r&&s(r,"constructor")&&r.constructor?a&&m(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var n=d(e);return s(n,"source")||(n.source=b(y,"string"==typeof t?t:"")),e};Function.prototype.toString=_(function(){return i(this)&&p(this).source||l(this)},"toString")},1034:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(7157);const o=(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",children:[(0,n.jsx)("rect",{x:"0",fill:"none",width:"20",height:"20"}),(0,n.jsx)("g",{children:(0,n.jsx)("path",{fill:"#044567",d:"M19 17V2c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v15c0 .55.45 1 1 1h15c.55 0 1-.45 1-1z M4 3h13v4H4V3z M5 4h3v2H5V4zm4 0h3v2H9V4zm4 0h3v2H13V4z M4.5 9 c .28 0 .5 .22 .5 .5s-.22.5-.5.5s-.5-.22-.5-.5s.22-.5 .5-.5z M6 9h4v1H6v-1z M4.5 12 c .28 0 .5 .22 .5 .5s-.22.5-.5.5s-.5-.22-.5-.5s.22-.5 .5-.5z M6 12h4v1H6v-1z M4.5 15 c .28 0 .5 .22 .5 .5s-.22.5-.5.5s-.5-.22-.5-.5s.22-.5 .5-.5z M6 15h4v1H6v-1z M12 9 H15.5 L17 10.5 V15.5 H12 V9 Z M15.5 9 V10.5 H17 M12.5 12 H16.5 M12.5 13.5 H16.5"})})]})},1067:(e,t,r)=>{"use strict";var n=r(1582),o=r(5879),i=r(9752),s=r(3429),a=r(2471),c=TypeError,l=Object.defineProperty,u=Object.getOwnPropertyDescriptor,d="enumerable",p="configurable",f="writable";t.f=n?i?function(e,t,r){if(s(e),t=a(t),s(r),"function"==typeof e&&"prototype"===t&&"value"in r&&f in r&&!r[f]){var n=u(e,t);n&&n[f]&&(e[t]=r.value,r={configurable:p in r?r[p]:n[p],enumerable:d in r?r[d]:n[d],writable:!1})}return l(e,t,r)}:l:function(e,t,r){if(s(e),t=a(t),s(r),o)try{return l(e,t,r)}catch(e){}if("get"in r||"set"in r)throw new c("Accessors not supported");return"value"in r&&(e[t]=r.value),e}},1159:(e,t,r)=>{"use strict";var n=r(613),o=r(9498),i=r(9951),s="__core-js_shared__",a=e.exports=o[s]||i(s,{});(a.versions||(a.versions=[])).push({version:"3.46.0",mode:n?"pure":"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru), 2025 CoreJS Company (core-js.io)",license:"https://github.com/zloirock/core-js/blob/v3.46.0/LICENSE",source:"https://github.com/zloirock/core-js"})},1259:(e,t)=>{"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,o=n&&!r.call({1:2},1);t.f=o?function(e){var t=n(this,e);return!!t&&t.enumerable}:r},1303:(e,t,r)=>{"use strict";var n=r(1159);e.exports=function(e,t){return n[e]||(n[e]=t||{})}},1304:(e,t,r)=>{"use strict";r.d(t,{A:()=>b});var n=r(2463);window.wp;var o=r(5705);function i(e,t,r){if(!e.s){if(r instanceof s){if(!r.s)return void(r.o=i.bind(null,e,t));1&t&&(t=r.s),r=r.v}if(r&&r.then)return void r.then(i.bind(null,e,t),i.bind(null,e,2));e.s=t,e.v=r;const n=e.o;n&&n(e)}}window.wp;var s=function(){function e(){}return e.prototype.then=function(t,r){var n=new e,o=this.s;if(o){var s=1&o?t:r;if(s){try{i(n,1,s(this.v))}catch(e){i(n,2,e)}return n}return this}return this.o=function(e){try{var o=e.v;1&e.s?i(n,1,t?t(o):o):r?i(n,1,r(o)):i(n,2,o)}catch(e){i(n,2,e)}},n},e}();function a(e){return e instanceof s&&1&e.s}var c=null,l=[],u=function(){c=(0,o.select)("core/block-editor").getSelectedBlockClientId()},d=function(e,t){void 0===e&&(e=[]);var r=t.clientId,n=t.innerBlocks;e.includes(t.name)&&l.push(r),n.forEach(function(t){return d(e,t)})},p=function(e){void 0===e&&(e=[]);try{return Promise.resolve((0,o.dispatch)("core/block-editor").clearSelectedBlock()).then(function(){function t(){function e(){l=[],c=null}var t=null!==c?Promise.resolve((0,o.dispatch)("core/block-editor").selectBlock(c)).then(function(){}):Promise.resolve((0,o.dispatch)("core/block-editor").clearSelectedBlock()).then(function(){});return t&&t.then?t.then(e):e()}(0,o.select)("core/block-editor").getBlocks().forEach(function(t){return d(e,t)});var r,n,u,p,f,m=(r=l,n=function(e){return Promise.resolve((0,o.dispatch)("core/block-editor").selectBlock(l[e])).then(function(){})},f=-1,function e(t){try{for(;++f<r.length;)if((t=n(f))&&t.then){if(!a(t))return void t.then(e,p||(p=i.bind(null,u=new s,2)));t=t.v}u?i(u,1,t):u=t}catch(e){i(u||(u=new s),2,e)}}(),u);return m&&m.then?m.then(t):t()})}catch(e){return Promise.reject(e)}},f=r(2415),m=r(5924),h=r(3945),g=r(4559);e=r.hmd(e);const b=()=>{(function(e){var t=e.afterReload,r=e.beforeReload,n=e.getContext,o=e.pluginModule,i=e.register,s=e.unregister,a=e.type,c={},l=function(){r();var e=n();if(e){var o=[];return e.keys().forEach(function(t){var r=e(t);Boolean(r.exclude)||r!==c[t]&&(Boolean(c[r.name+"-"+a])&&s(r.name),i(r.name,r.settings),o.push(r.name),c[r.name+"-"+a]=r)}),t(o),e}},u=l();o.hot&&void 0!==(null==u?void 0:u.id)&&o.hot.accept(u.id.toString(),l)})({afterReload:p,beforeReload:u,getContext:()=>r(9406),pluginModule:e,register:n.registerBlockType,unregister:n.unregisterBlockType,type:"block"}),""!==window.ADVANCED_SIDEBAR_MENU.isPro&&(window.ADVANCED_SIDEBAR_MENU.ErrorBoundary=h.A,window.ADVANCED_SIDEBAR_MENU.NavigationIcon=g.A,window.ADVANCED_SIDEBAR_MENU.Preview=f.A,window.ADVANCED_SIDEBAR_MENU.getBlockSupports=m.MP,window.ADVANCED_SIDEBAR_MENU.transformLegacyWidget=m.od,window.ADVANCED_SIDEBAR_MENU.translateBlockAttributes=m.$O)}},1374:(e,t,r)=>{"use strict";var n=r(6666),o=n({}.toString),i=n("".slice);e.exports=function(e){return i(o(e),8,-1)}},1399:(e,t,r)=>{"use strict";var n=r(1582),o=r(9752),i=r(1067),s=r(3429),a=r(2879),c=r(8794);t.f=n&&!o?Object.defineProperties:function(e,t){s(e);for(var r,n=a(t),o=c(t),l=o.length,u=0;l>u;)i.f(e,r=o[u++],n[r]);return e}},1426:(e,t,r)=>{"use strict";r.d(t,{A:()=>re});const{entries:n,setPrototypeOf:o,isFrozen:i,getPrototypeOf:s,getOwnPropertyDescriptor:a}=Object;let{freeze:c,seal:l,create:u}=Object,{apply:d,construct:p}="undefined"!=typeof Reflect&&Reflect;c||(c=function(e){return e}),l||(l=function(e){return e}),d||(d=function(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),o=2;o<r;o++)n[o-2]=arguments[o];return e.apply(t,n)}),p||(p=function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return new e(...r)});const f=k(Array.prototype.forEach),m=k(Array.prototype.lastIndexOf),h=k(Array.prototype.pop),g=k(Array.prototype.push),b=k(Array.prototype.splice),v=k(String.prototype.toLowerCase),y=k(String.prototype.toString),_=k(String.prototype.match),x=k(String.prototype.replace),w=k(String.prototype.indexOf),A=k(String.prototype.trim),S=k(Object.prototype.hasOwnProperty),E=k(RegExp.prototype.test),T=(j=TypeError,function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return p(j,t)});var j;function k(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var r=arguments.length,n=new Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];return d(e,t,n)}}function N(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:v;o&&o(e,null);let n=t.length;for(;n--;){let o=t[n];if("string"==typeof o){const e=r(o);e!==o&&(i(t)||(t[n]=e),o=e)}e[o]=!0}return e}function O(e){for(let t=0;t<e.length;t++)S(e,t)||(e[t]=null);return e}function I(e){const t=u(null);for(const[r,o]of n(e))S(e,r)&&(Array.isArray(o)?t[r]=O(o):o&&"object"==typeof o&&o.constructor===Object?t[r]=I(o):t[r]=o);return t}function C(e,t){for(;null!==e;){const r=a(e,t);if(r){if(r.get)return k(r.get);if("function"==typeof r.value)return k(r.value)}e=s(e)}return function(){return null}}const M=c(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),P=c(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),D=c(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),R=c(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),L=c(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),z=c(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),H=c(["#text"]),B=c(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),F=c(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),U=c(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),W=c(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),V=l(/\{\{[\w\W]*|[\w\W]*\}\}/gm),G=l(/<%[\w\W]*|[\w\W]*%>/gm),Y=l(/\$\{[\w\W]*/gm),$=l(/^data-[\-\w.\u00B7-\uFFFF]+$/),q=l(/^aria-[\-\w]+$/),X=l(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),K=l(/^(?:\w+script|data):/i),Z=l(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),J=l(/^html$/i),Q=l(/^[a-z][.\w]*(-[.\w]+)+$/i);var ee=Object.freeze({__proto__:null,ARIA_ATTR:q,ATTR_WHITESPACE:Z,CUSTOM_ELEMENT:Q,DATA_ATTR:$,DOCTYPE_NAME:J,ERB_EXPR:G,IS_ALLOWED_URI:X,IS_SCRIPT_OR_DATA:K,MUSTACHE_EXPR:V,TMPLIT_EXPR:Y});const te=function(){return"undefined"==typeof window?null:window};var re=function e(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:te();const r=t=>e(t);if(r.version="3.3.0",r.removed=[],!t||!t.document||9!==t.document.nodeType||!t.Element)return r.isSupported=!1,r;let{document:o}=t;const i=o,s=i.currentScript,{DocumentFragment:a,HTMLTemplateElement:l,Node:d,Element:p,NodeFilter:j,NamedNodeMap:k=t.NamedNodeMap||t.MozNamedAttrMap,HTMLFormElement:O,DOMParser:V,trustedTypes:G}=t,Y=p.prototype,$=C(Y,"cloneNode"),q=C(Y,"remove"),K=C(Y,"nextSibling"),Z=C(Y,"childNodes"),Q=C(Y,"parentNode");if("function"==typeof l){const e=o.createElement("template");e.content&&e.content.ownerDocument&&(o=e.content.ownerDocument)}let re,ne="";const{implementation:oe,createNodeIterator:ie,createDocumentFragment:se,getElementsByTagName:ae}=o,{importNode:ce}=i;let le={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]};r.isSupported="function"==typeof n&&"function"==typeof Q&&oe&&void 0!==oe.createHTMLDocument;const{MUSTACHE_EXPR:ue,ERB_EXPR:de,TMPLIT_EXPR:pe,DATA_ATTR:fe,ARIA_ATTR:me,IS_SCRIPT_OR_DATA:he,ATTR_WHITESPACE:ge,CUSTOM_ELEMENT:be}=ee;let{IS_ALLOWED_URI:ve}=ee,ye=null;const _e=N({},[...M,...P,...D,...L,...H]);let xe=null;const we=N({},[...B,...F,...U,...W]);let Ae=Object.seal(u(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Se=null,Ee=null;const Te=Object.seal(u(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let je=!0,ke=!0,Ne=!1,Oe=!0,Ie=!1,Ce=!0,Me=!1,Pe=!1,De=!1,Re=!1,Le=!1,ze=!1,He=!0,Be=!1,Fe=!0,Ue=!1,We={},Ve=null;const Ge=N({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let Ye=null;const $e=N({},["audio","video","img","source","image","track"]);let qe=null;const Xe=N({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Ke="http://www.w3.org/1998/Math/MathML",Ze="http://www.w3.org/2000/svg",Je="http://www.w3.org/1999/xhtml";let Qe=Je,et=!1,tt=null;const rt=N({},[Ke,Ze,Je],y);let nt=N({},["mi","mo","mn","ms","mtext"]),ot=N({},["annotation-xml"]);const it=N({},["title","style","font","a","script"]);let st=null;const at=["application/xhtml+xml","text/html"];let ct=null,lt=null;const ut=o.createElement("form"),dt=function(e){return e instanceof RegExp||e instanceof Function},pt=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!lt||lt!==e){if(e&&"object"==typeof e||(e={}),e=I(e),st=-1===at.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE,ct="application/xhtml+xml"===st?y:v,ye=S(e,"ALLOWED_TAGS")?N({},e.ALLOWED_TAGS,ct):_e,xe=S(e,"ALLOWED_ATTR")?N({},e.ALLOWED_ATTR,ct):we,tt=S(e,"ALLOWED_NAMESPACES")?N({},e.ALLOWED_NAMESPACES,y):rt,qe=S(e,"ADD_URI_SAFE_ATTR")?N(I(Xe),e.ADD_URI_SAFE_ATTR,ct):Xe,Ye=S(e,"ADD_DATA_URI_TAGS")?N(I($e),e.ADD_DATA_URI_TAGS,ct):$e,Ve=S(e,"FORBID_CONTENTS")?N({},e.FORBID_CONTENTS,ct):Ge,Se=S(e,"FORBID_TAGS")?N({},e.FORBID_TAGS,ct):I({}),Ee=S(e,"FORBID_ATTR")?N({},e.FORBID_ATTR,ct):I({}),We=!!S(e,"USE_PROFILES")&&e.USE_PROFILES,je=!1!==e.ALLOW_ARIA_ATTR,ke=!1!==e.ALLOW_DATA_ATTR,Ne=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Oe=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,Ie=e.SAFE_FOR_TEMPLATES||!1,Ce=!1!==e.SAFE_FOR_XML,Me=e.WHOLE_DOCUMENT||!1,Re=e.RETURN_DOM||!1,Le=e.RETURN_DOM_FRAGMENT||!1,ze=e.RETURN_TRUSTED_TYPE||!1,De=e.FORCE_BODY||!1,He=!1!==e.SANITIZE_DOM,Be=e.SANITIZE_NAMED_PROPS||!1,Fe=!1!==e.KEEP_CONTENT,Ue=e.IN_PLACE||!1,ve=e.ALLOWED_URI_REGEXP||X,Qe=e.NAMESPACE||Je,nt=e.MATHML_TEXT_INTEGRATION_POINTS||nt,ot=e.HTML_INTEGRATION_POINTS||ot,Ae=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&dt(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(Ae.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&dt(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(Ae.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(Ae.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Ie&&(ke=!1),Le&&(Re=!0),We&&(ye=N({},H),xe=[],!0===We.html&&(N(ye,M),N(xe,B)),!0===We.svg&&(N(ye,P),N(xe,F),N(xe,W)),!0===We.svgFilters&&(N(ye,D),N(xe,F),N(xe,W)),!0===We.mathMl&&(N(ye,L),N(xe,U),N(xe,W))),e.ADD_TAGS&&("function"==typeof e.ADD_TAGS?Te.tagCheck=e.ADD_TAGS:(ye===_e&&(ye=I(ye)),N(ye,e.ADD_TAGS,ct))),e.ADD_ATTR&&("function"==typeof e.ADD_ATTR?Te.attributeCheck=e.ADD_ATTR:(xe===we&&(xe=I(xe)),N(xe,e.ADD_ATTR,ct))),e.ADD_URI_SAFE_ATTR&&N(qe,e.ADD_URI_SAFE_ATTR,ct),e.FORBID_CONTENTS&&(Ve===Ge&&(Ve=I(Ve)),N(Ve,e.FORBID_CONTENTS,ct)),Fe&&(ye["#text"]=!0),Me&&N(ye,["html","head","body"]),ye.table&&(N(ye,["tbody"]),delete Se.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw T('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw T('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');re=e.TRUSTED_TYPES_POLICY,ne=re.createHTML("")}else void 0===re&&(re=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let r=null;const n="data-tt-policy-suffix";t&&t.hasAttribute(n)&&(r=t.getAttribute(n));const o="dompurify"+(r?"#"+r:"");try{return e.createPolicy(o,{createHTML:e=>e,createScriptURL:e=>e})}catch(e){return console.warn("TrustedTypes policy "+o+" could not be created."),null}}(G,s)),null!==re&&"string"==typeof ne&&(ne=re.createHTML(""));c&&c(e),lt=e}},ft=N({},[...P,...D,...R]),mt=N({},[...L,...z]),ht=function(e){g(r.removed,{element:e});try{Q(e).removeChild(e)}catch(t){q(e)}},gt=function(e,t){try{g(r.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){g(r.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e)if(Re||Le)try{ht(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},bt=function(e){let t=null,r=null;if(De)e="<remove></remove>"+e;else{const t=_(e,/^[\r\n\t ]+/);r=t&&t[0]}"application/xhtml+xml"===st&&Qe===Je&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");const n=re?re.createHTML(e):e;if(Qe===Je)try{t=(new V).parseFromString(n,st)}catch(e){}if(!t||!t.documentElement){t=oe.createDocument(Qe,"template",null);try{t.documentElement.innerHTML=et?ne:n}catch(e){}}const i=t.body||t.documentElement;return e&&r&&i.insertBefore(o.createTextNode(r),i.childNodes[0]||null),Qe===Je?ae.call(t,Me?"html":"body")[0]:Me?t.documentElement:i},vt=function(e){return ie.call(e.ownerDocument||e,e,j.SHOW_ELEMENT|j.SHOW_COMMENT|j.SHOW_TEXT|j.SHOW_PROCESSING_INSTRUCTION|j.SHOW_CDATA_SECTION,null)},yt=function(e){return e instanceof O&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof k)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes)},_t=function(e){return"function"==typeof d&&e instanceof d};function xt(e,t,n){f(e,e=>{e.call(r,t,n,lt)})}const wt=function(e){let t=null;if(xt(le.beforeSanitizeElements,e,null),yt(e))return ht(e),!0;const n=ct(e.nodeName);if(xt(le.uponSanitizeElement,e,{tagName:n,allowedTags:ye}),Ce&&e.hasChildNodes()&&!_t(e.firstElementChild)&&E(/<[/\w!]/g,e.innerHTML)&&E(/<[/\w!]/g,e.textContent))return ht(e),!0;if(7===e.nodeType)return ht(e),!0;if(Ce&&8===e.nodeType&&E(/<[/\w]/g,e.data))return ht(e),!0;if(!(Te.tagCheck instanceof Function&&Te.tagCheck(n))&&(!ye[n]||Se[n])){if(!Se[n]&&St(n)){if(Ae.tagNameCheck instanceof RegExp&&E(Ae.tagNameCheck,n))return!1;if(Ae.tagNameCheck instanceof Function&&Ae.tagNameCheck(n))return!1}if(Fe&&!Ve[n]){const t=Q(e)||e.parentNode,r=Z(e)||e.childNodes;if(r&&t)for(let n=r.length-1;n>=0;--n){const o=$(r[n],!0);o.__removalCount=(e.__removalCount||0)+1,t.insertBefore(o,K(e))}}return ht(e),!0}return e instanceof p&&!function(e){let t=Q(e);t&&t.tagName||(t={namespaceURI:Qe,tagName:"template"});const r=v(e.tagName),n=v(t.tagName);return!!tt[e.namespaceURI]&&(e.namespaceURI===Ze?t.namespaceURI===Je?"svg"===r:t.namespaceURI===Ke?"svg"===r&&("annotation-xml"===n||nt[n]):Boolean(ft[r]):e.namespaceURI===Ke?t.namespaceURI===Je?"math"===r:t.namespaceURI===Ze?"math"===r&&ot[n]:Boolean(mt[r]):e.namespaceURI===Je?!(t.namespaceURI===Ze&&!ot[n])&&!(t.namespaceURI===Ke&&!nt[n])&&!mt[r]&&(it[r]||!ft[r]):!("application/xhtml+xml"!==st||!tt[e.namespaceURI]))}(e)?(ht(e),!0):"noscript"!==n&&"noembed"!==n&&"noframes"!==n||!E(/<\/no(script|embed|frames)/i,e.innerHTML)?(Ie&&3===e.nodeType&&(t=e.textContent,f([ue,de,pe],e=>{t=x(t,e," ")}),e.textContent!==t&&(g(r.removed,{element:e.cloneNode()}),e.textContent=t)),xt(le.afterSanitizeElements,e,null),!1):(ht(e),!0)},At=function(e,t,r){if(He&&("id"===t||"name"===t)&&(r in o||r in ut))return!1;if(ke&&!Ee[t]&&E(fe,t));else if(je&&E(me,t));else if(Te.attributeCheck instanceof Function&&Te.attributeCheck(t,e));else if(!xe[t]||Ee[t]){if(!(St(e)&&(Ae.tagNameCheck instanceof RegExp&&E(Ae.tagNameCheck,e)||Ae.tagNameCheck instanceof Function&&Ae.tagNameCheck(e))&&(Ae.attributeNameCheck instanceof RegExp&&E(Ae.attributeNameCheck,t)||Ae.attributeNameCheck instanceof Function&&Ae.attributeNameCheck(t,e))||"is"===t&&Ae.allowCustomizedBuiltInElements&&(Ae.tagNameCheck instanceof RegExp&&E(Ae.tagNameCheck,r)||Ae.tagNameCheck instanceof Function&&Ae.tagNameCheck(r))))return!1}else if(qe[t]);else if(E(ve,x(r,ge,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==w(r,"data:")||!Ye[e])if(Ne&&!E(he,x(r,ge,"")));else if(r)return!1;return!0},St=function(e){return"annotation-xml"!==e&&_(e,be)},Et=function(e){xt(le.beforeSanitizeAttributes,e,null);const{attributes:t}=e;if(!t||yt(e))return;const n={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:xe,forceKeepAttr:void 0};let o=t.length;for(;o--;){const i=t[o],{name:s,namespaceURI:a,value:c}=i,l=ct(s),u=c;let d="value"===s?u:A(u);if(n.attrName=l,n.attrValue=d,n.keepAttr=!0,n.forceKeepAttr=void 0,xt(le.uponSanitizeAttribute,e,n),d=n.attrValue,!Be||"id"!==l&&"name"!==l||(gt(s,e),d="user-content-"+d),Ce&&E(/((--!?|])>)|<\/(style|title|textarea)/i,d)){gt(s,e);continue}if("attributename"===l&&_(d,"href")){gt(s,e);continue}if(n.forceKeepAttr)continue;if(!n.keepAttr){gt(s,e);continue}if(!Oe&&E(/\/>/i,d)){gt(s,e);continue}Ie&&f([ue,de,pe],e=>{d=x(d,e," ")});const p=ct(e.nodeName);if(At(p,l,d)){if(re&&"object"==typeof G&&"function"==typeof G.getAttributeType)if(a);else switch(G.getAttributeType(p,l)){case"TrustedHTML":d=re.createHTML(d);break;case"TrustedScriptURL":d=re.createScriptURL(d)}if(d!==u)try{a?e.setAttributeNS(a,s,d):e.setAttribute(s,d),yt(e)?ht(e):h(r.removed)}catch(t){gt(s,e)}}else gt(s,e)}xt(le.afterSanitizeAttributes,e,null)},Tt=function e(t){let r=null;const n=vt(t);for(xt(le.beforeSanitizeShadowDOM,t,null);r=n.nextNode();)xt(le.uponSanitizeShadowNode,r,null),wt(r),Et(r),r.content instanceof a&&e(r.content);xt(le.afterSanitizeShadowDOM,t,null)};return r.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=null,o=null,s=null,c=null;if(et=!e,et&&(e="\x3c!--\x3e"),"string"!=typeof e&&!_t(e)){if("function"!=typeof e.toString)throw T("toString is not a function");if("string"!=typeof(e=e.toString()))throw T("dirty is not a string, aborting")}if(!r.isSupported)return e;if(Pe||pt(t),r.removed=[],"string"==typeof e&&(Ue=!1),Ue){if(e.nodeName){const t=ct(e.nodeName);if(!ye[t]||Se[t])throw T("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof d)n=bt("\x3c!----\x3e"),o=n.ownerDocument.importNode(e,!0),1===o.nodeType&&"BODY"===o.nodeName||"HTML"===o.nodeName?n=o:n.appendChild(o);else{if(!Re&&!Ie&&!Me&&-1===e.indexOf("<"))return re&&ze?re.createHTML(e):e;if(n=bt(e),!n)return Re?null:ze?ne:""}n&&De&&ht(n.firstChild);const l=vt(Ue?e:n);for(;s=l.nextNode();)wt(s),Et(s),s.content instanceof a&&Tt(s.content);if(Ue)return e;if(Re){if(Le)for(c=se.call(n.ownerDocument);n.firstChild;)c.appendChild(n.firstChild);else c=n;return(xe.shadowroot||xe.shadowrootmode)&&(c=ce.call(i,c,!0)),c}let u=Me?n.outerHTML:n.innerHTML;return Me&&ye["!doctype"]&&n.ownerDocument&&n.ownerDocument.doctype&&n.ownerDocument.doctype.name&&E(J,n.ownerDocument.doctype.name)&&(u="<!DOCTYPE "+n.ownerDocument.doctype.name+">\n"+u),Ie&&f([ue,de,pe],e=>{u=x(u,e," ")}),re&&ze?re.createHTML(u):u},r.setConfig=function(){pt(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),Pe=!0},r.clearConfig=function(){lt=null,Pe=!1},r.isValidAttribute=function(e,t,r){lt||pt({});const n=ct(e),o=ct(t);return At(n,o,r)},r.addHook=function(e,t){"function"==typeof t&&g(le[e],t)},r.removeHook=function(e,t){if(void 0!==t){const r=m(le[e],t);return-1===r?void 0:b(le[e],r,1)[0]}return h(le[e])},r.removeHooks=function(e){le[e]=[]},r.removeAllHooks=function(){le={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},r}()},1490:(e,t,r)=>{"use strict";var n={};n[r(2769)("toStringTag")]="z",e.exports="[object z]"===String(n)},1529:(e,t,r)=>{"use strict";var n=r(2314);e.exports=function(e,t,r){for(var o in t)n(e,o,t[o],r);return e}},1582:(e,t,r)=>{"use strict";var n=r(2617);e.exports=!n(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})},1588:(e,t,r)=>{"use strict";var n=r(9704),o=r(9471);e.exports=function(e,t){var r=e[t];return o(r)?void 0:n(r)}},1594:e=>{"use strict";e.exports=React},1609:e=>{"use strict";var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},1631:(e,t,r)=>{"use strict";var n=r(7217);e.exports=function(e,t,r){for(var o=e.length-1;o>=0;o--)if(void 0!==e[o])try{r=n(e[o].iterator,t,r)}catch(e){t="throw",r=e}if("throw"===t)throw r;return r}},1669:e=>{"use strict";e.exports=jQuery},1699:(e,t,r)=>{"use strict";var n=r(2769),o=r(4903),i=n("iterator"),s=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||s[i]===e)}},1776:(e,t,r)=>{"use strict";var n=r(1582),o=r(3640),i=Function.prototype,s=n&&Object.getOwnPropertyDescriptor,a=o(i,"name"),c=a&&"something"===function(){}.name,l=a&&(!n||n&&s(i,"name").configurable);e.exports={EXISTS:a,PROPER:c,CONFIGURABLE:l}},2210:(e,t,r)=>{"use strict";var n=r(3826),o=r(7615),i=r(3429),s=r(1609),a=r(1699),c=r(4512),l=r(5871),u=r(7191),d=r(9545),p=r(7217),f=TypeError,m=function(e,t){this.stopped=e,this.result=t},h=m.prototype;e.exports=function(e,t,r){var g,b,v,y,_,x,w,A=r&&r.that,S=!(!r||!r.AS_ENTRIES),E=!(!r||!r.IS_RECORD),T=!(!r||!r.IS_ITERATOR),j=!(!r||!r.INTERRUPTED),k=n(t,A),N=function(e){return g&&p(g,"normal"),new m(!0,e)},O=function(e){return S?(i(e),j?k(e[0],e[1],N):k(e[0],e[1])):j?k(e,N):k(e)};if(E)g=e.iterator;else if(T)g=e;else{if(!(b=d(e)))throw new f(s(e)+" is not iterable");if(a(b)){for(v=0,y=c(e);y>v;v++)if((_=O(e[v]))&&l(h,_))return _;return new m(!1)}g=u(e,b)}for(x=E?e.next:g.next;!(w=o(x,g)).done;){try{_=O(w.value)}catch(e){p(g,"throw",e)}if("object"==typeof _&&_&&l(h,_))return _}return new m(!1)}},2304:(e,t,r)=>{"use strict";var n=r(9471),o=TypeError;e.exports=function(e){if(n(e))throw new o("Can't call method on "+e);return e}},2314:(e,t,r)=>{"use strict";var n=r(9659),o=r(1067),i=r(873),s=r(9951);e.exports=function(e,t,r,a){a||(a={});var c=a.enumerable,l=void 0!==a.name?a.name:t;if(n(r)&&i(r,l,a),a.global)c?e[t]=r:s(t,r);else{try{a.unsafe?e[t]&&(c=!0):delete e[t]}catch(e){}c?e[t]=r:o.f(e,t,{value:r,enumerable:!1,configurable:!a.nonConfigurable,writable:!a.nonWritable})}return e}},2415:(e,t,r)=>{"use strict";r.d(t,{A:()=>E});var n=r(1594),o=r(380);const i=window.wp?.serverSideRender;var s=r.n(i),a=r(6021),c=r(6423),l=r(1426);const u=window.wp?.hooks;var d=r(4833),p=r(5705),f=r(5924),m=r(1034),h=r(2968),g=r(4559);const b="HIcdI";var v=r(7157);const y=e=>{if(!(0,f.vL)(["widgets"]))return"";const t=(0,p.select)("core/block-editor").getBlockRootClientId(e);if(void 0!==t&&""!==t){const e=(0,p.select)("core/block-editor").getBlocksByClientId([t]);if(null!==e[0]&&void 0!==e[0]&&"core/widget-area"===e[0]?.name)return e[0]?.attributes?.id}return""},_=()=>(0,v.jsx)(a.Placeholder,{className:b,icon:m.A,label:(0,d.__)("Advanced Sidebar - Pages","advanced-sidebar-menu"),instructions:(0,d.__)("No preview available","advanced-sidebar-menu")}),x=()=>(0,v.jsx)(a.Placeholder,{className:b,icon:h.A,label:(0,d.__)("Advanced Sidebar - Categories","advanced-sidebar-menu"),instructions:(0,d.__)("No preview available","advanced-sidebar-menu")}),w=()=>(0,v.jsx)(a.Placeholder,{className:b,icon:g.A,label:(0,d.__)("Advanced Sidebar - Navigation","advanced-sidebar-menu"),instructions:(0,d.__)("No preview available","advanced-sidebar-menu")}),A=e=>{switch(e){case o.P.blocks.pages.id:return _;case o.P.blocks.categories.id:return x;case o.P.blocks.navigation?.id:return w}return()=>(0,v.jsx)(v.Fragment,{})},S=({children:e,attributes:t={clientId:""}})=>{if((0,n.useEffect)(()=>()=>{setTimeout(()=>{(0,u.doAction)("advanced-sidebar-menu.blocks.preview.loading-finished",{values:t,clientId:t.clientId})},100)}),"string"==typeof e?.props?.children?.errorMsg)throw new Error(e?.props?.children?.errorMsg??"Failed");return(0,v.jsxs)("div",{className:"o0fph",children:[(0,v.jsx)("div",{className:"OjXVm",children:(0,v.jsx)(a.Spinner,{})}),(0,v.jsx)("div",{className:"uCxNS",children:e})]})},E=({attributes:e,block:t,clientId:r})=>{const n=(0,c.useBlockProps)({className:"BDuIu"});if(""!==o.P.error)return(0,v.jsx)("div",{className:"Nl9o0",dangerouslySetInnerHTML:{__html:l.A.sanitize(o.P.error)}});const i=(e=>e.replace(/^([\d-])/,"_$1"))(r);let a={...e,isServerSideRenderRequest:!0,clientId:i,sidebarId:y(r)};return a=(0,u.applyFilters)("advanced-sidebar-menu.blocks.preview.attributes",a,t,r),(0,v.jsx)("div",{...n,onClick:e=>{const t=e.target;("A"===t.nodeName||"SPAN"===t.nodeName&&"A"===t.parentNode?.nodeName)&&e.preventDefault()},children:(0,v.jsx)(s(),{EmptyResponsePlaceholder:A(t),LoadingResponsePlaceholder:S,attributes:a,block:t,httpMethod:"POST",skipBlockSupportAttributes:!0})})}},2420:(e,t,r)=>{"use strict";var n=r(9498),o=r(5329).f,i=r(6957),s=r(2314),a=r(9951),c=r(6870),l=r(26);e.exports=function(e,t){var r,u,d,p,f,m=e.target,h=e.global,g=e.stat;if(r=h?n:g?n[m]||a(m,{}):n[m]&&n[m].prototype)for(u in t){if(p=t[u],d=e.dontCallGetSet?(f=o(r,u))&&f.value:r[u],!l(h?u:m+(g?".":"#")+u,e.forced)&&void 0!==d){if(typeof p==typeof d)continue;c(p,d)}(e.sham||d&&d.sham)&&i(p,"sham",!0),s(r,u,p,e)}}},2463:e=>{"use strict";e.exports=window.wp?.blocks},2471:(e,t,r)=>{"use strict";var n=r(4195),o=r(7295);e.exports=function(e){var t=n(e,"string");return o(t)?t:t+""}},2617:e=>{"use strict";e.exports=function(e){try{return!!e()}catch(e){return!0}}},2769:(e,t,r)=>{"use strict";var n=r(9498),o=r(1303),i=r(3640),s=r(7386),a=r(7693),c=r(5166),l=n.Symbol,u=o("wks"),d=c?l.for||l:l&&l.withoutSetter||s;e.exports=function(e){return i(u,e)||(u[e]=a&&i(l,e)?l[e]:d("Symbol."+e)),u[e]}},2879:(e,t,r)=>{"use strict";var n=r(6409),o=r(2304);e.exports=function(e){return n(o(e))}},2968:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(7157);const o=(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",children:[(0,n.jsx)("rect",{x:"0",fill:"none",width:"20",height:"20"}),(0,n.jsx)("g",{children:(0,n.jsx)("path",{fill:"#044567",d:"M19 17V2c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v15c0 .55.45 1 1 1h15c.55 0 1-.45 1-1z M4 3h13v4H4V3z M5 4h3v2H5V4zm4 0h3v2H9V4zm4 0h3v2H13V4z M4.5 9 c .28 0 .5 .22 .5 .5s-.22.5-.5.5s-.5-.22-.5-.5s.22-.5 .5-.5z M6 9h4v1H6v-1z M4.5 12 c .28 0 .5 .22 .5 .5s-.22.5-.5.5s-.5-.22-.5-.5s.22-.5 .5-.5z M6 12h4v1H6v-1z M4.5 15 c .28 0 .5 .22 .5 .5s-.22.5-.5.5s-.5-.22-.5-.5s.22-.5 .5-.5z M6 15h4v1H6v-1z M12 10 H15.5 L17 12.5 L15.5 15 H12 V10 Z M13 12.5 m -0.6 0 a 0.6 0.6 0 1 0 1.2 0 a 0.6 0.6 0 1 0 -1.2 0"})})]})},3030:(e,t,r)=>{"use strict";var n=r(6666),o=r(3640),i=r(2879),s=r(5643).indexOf,a=r(4307),c=n([].push);e.exports=function(e,t){var r,n=i(e),l=0,u=[];for(r in n)!o(a,r)&&o(n,r)&&c(u,r);for(;t.length>l;)o(n,r=t[l++])&&(~s(u,r)||c(u,r));return u}},3229:(e,t,r)=>{"use strict";r.d(t,{A:()=>d}),r(8369),r(5831);var n=r(380),o=r(6021),i=r(6423);const s=window.wp?.htmlEntities;var a=r(4833);var c=r(7157);const l={color:"#3db634",fontWeight:700},u={margin:"16px 0 0",fontSize:"1.2em"},d=(0,o.withFilters)("advanced-sidebar-menu.blocks.info-panel")(({})=>(0,c.jsx)(i.InspectorControls,{children:(0,c.jsxs)(o.PanelBody,{title:(0,c.jsx)("span",{style:l,children:(0,a.__)("Go PRO","advanced-sidebar-menu")}),className:"k_HzP",initialOpen:!1,children:[(0,c.jsx)("h2",{style:u,children:(0,a.__)("Advanced Sidebar Menu PRO","advanced-sidebar-menu")}),(0,c.jsxs)("ul",{children:[n.P.features.map(e=>(0,c.jsx)("li",{children:(0,s.decodeEntities)(e)},e)),(0,c.jsx)("li",{children:(0,a.__)("And so much more…","advanced-sidebar-menu")})]}),(0,c.jsx)(o.Button,{className:"FgH_t",href:"https://onpointplugins.com/product/advanced-sidebar-menu-pro/?utm_source=block-upgrade&utm_campaign=gopro&utm_medium=wp-dash#buy-now-choices",target:"_blank",rel:"noreferrer",isPrimary:!0,children:(0,a.__)("Upgrade","advanced-sidebar-menu")})]})}))},3429:(e,t,r)=>{"use strict";var n=r(3912),o=String,i=TypeError;e.exports=function(e){if(n(e))return e;throw new i(o(e)+" is not an object")}},3595:(e,t,r)=>{"use strict";var n=r(2304),o=Object;e.exports=function(e){return o(n(e))}},3604:(e,t,r)=>{"use strict";var n=r(9498),o=r(9659),i=n.WeakMap;e.exports=o(i)&&/native code/.test(String(i))},3640:(e,t,r)=>{"use strict";var n=r(6666),o=r(3595),i=n({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return i(o(e),t)}},3658:e=>{"use strict";e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},3701:e=>{"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},3826:(e,t,r)=>{"use strict";var n=r(6394),o=r(9704),i=r(9202),s=n(n.bind);e.exports=function(e,t){return o(e),void 0===t?e:i?s(e,t):function(){return e.apply(t,arguments)}}},3884:(e,t,r)=>{"use strict";var n=r(7615),o=r(9659),i=r(3912),s=TypeError;e.exports=function(e,t){var r,a;if("string"===t&&o(r=e.toString)&&!i(a=n(r,e)))return a;if(o(r=e.valueOf)&&!i(a=n(r,e)))return a;if("string"!==t&&o(r=e.toString)&&!i(a=n(r,e)))return a;throw new s("Can't convert object to primitive value")}},3912:(e,t,r)=>{"use strict";var n=r(9659);e.exports=function(e){return"object"==typeof e?null!==e:n(e)}},3922:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(6021),o=r(5705),i=r(8110);let s="";const a=(0,n.withFilters)("advanced-sidebar-menu.blocks.side-load")(({clientId:e,children:t})=>(0,i.isEmpty)(s)||e===s||-1===(0,o.select)("core/block-editor").getBlockIndex(s)?(s=e,t??null):null)},3945:(e,t,r)=>{"use strict";r.d(t,{A:()=>u});var n=r(1594),o=r(380);const i=window.wp?.url;var s=r(1426),a=r(7157);const{sanitize:c}=s.A;class l extends n.Component{constructor(e){super(e),this.state={hasError:!1,error:null}}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(e,t){console.warn("%cError caught by the Advanced Sidebar ErrorBoundary!","color:orange; font-size: large; font-weight: bold"),console.warn(this.props),console.warn(e),console.warn(t),this.setState({error:e})}render(){return this.state.hasError?o.P.siteInfo.scriptDebug?(0,a.jsxs)("div",{className:"components-panel__body is-opened",children:[(0,a.jsx)("h4",{style:{color:"red"},children:"Something went wrong!"}),(0,a.jsxs)("p",{children:[(0,a.jsx)("button",{className:"components-button is-link",onClick:e=>{e.preventDefault(),window.open(c(o.P.support),"_blank","noopener,noreferrer")},children:"Please create a support request"})," with the following information:"]}),(0,a.jsxs)("ol",{children:[(0,a.jsx)("li",{children:(0,a.jsx)("button",{className:"components-button is-link",onClick:e=>{e.preventDefault(),window.open("https://onpointplugins.com/how-to-retrieve-console-logs-from-your-browser/","_blank","noopener,noreferrer")},children:"The logs from your browser console."})}),(0,a.jsx)("li",{children:"The following information."})]}),(0,a.jsxs)("div",{style:{border:"2px groove",padding:"10px",width:"100%",overflowWrap:"break-word"},children:[(0,a.jsxs)("p",{children:[(0,a.jsx)("strong",{children:(0,a.jsx)("em",{children:"Section"})})," ",(0,a.jsx)("br",{}),(0,a.jsx)("code",{children:this.props.section})]}),(0,a.jsxs)("p",{children:[(0,a.jsx)("strong",{children:(0,a.jsx)("em",{children:"Screen"})})," ",(0,a.jsx)("br",{}),(0,a.jsx)("code",{children:o.P.currentScreen})]}),(0,a.jsxs)("p",{children:[(0,a.jsx)("strong",{children:(0,a.jsx)("em",{children:"Message"})})," ",(0,a.jsx)("br",{}),(0,a.jsx)("code",{children:this.state.error?.message})]}),(0,a.jsxs)("p",{children:[(0,a.jsx)("strong",{children:(0,a.jsx)("em",{children:"Block"})})," ",(0,a.jsx)("br",{}),(0,a.jsx)("code",{children:this.props.block})]}),(0,a.jsxs)("p",{children:[(0,a.jsx)("strong",{children:(0,a.jsx)("em",{children:"Attributes"})})," ",(0,a.jsx)("br",{}),(0,a.jsx)("code",{children:JSON.stringify(this.props.attributes)})]}),(0,a.jsxs)("p",{children:[(0,a.jsx)("strong",{children:(0,a.jsx)("em",{children:"Site Info"})})," ",(0,a.jsx)("br",{}),(0,a.jsx)("code",{children:JSON.stringify(o.P.siteInfo)})]}),(0,a.jsxs)("p",{children:[(0,a.jsx)("strong",{children:(0,a.jsx)("em",{children:"Stack"})})," ",(0,a.jsx)("br",{}),(0,a.jsx)("code",{children:this.state.error?.stack})]})]}),(0,a.jsx)("p",{children:" "}),(0,a.jsx)("p",{children:" "})]}):(0,a.jsxs)("div",{className:"components-panel__body is-opened",children:[(0,a.jsx)("h4",{style:{color:"red"},children:"Something went wrong!"}),(0,a.jsxs)("p",{children:[(0,a.jsx)("button",{className:"components-button is-link",onClick:e=>{e.preventDefault();const t=(0,i.addQueryArgs)(c(window.location.href),{"script-debug":"true"});window.open(c(t),"_blank","noopener,noreferrer")},children:"Please enable script debug"}),"to retrieve error information."]})]}):this.props.children}}const u=l},4036:(e,t,r)=>{"use strict";var n=r(6666),o=r(9659),i=r(1159),s=n(Function.toString);o(i.inspectSource)||(i.inspectSource=function(e){return s(e)}),e.exports=i.inspectSource},4116:(e,t,r)=>{"use strict";var n=r(5206);t.H=n.createRoot,n.hydrateRoot},4139:(e,t,r)=>{"use strict";r.r(t),r.d(t,{block:()=>_,name:()=>x,settings:()=>w});var n=r(380),o=(r(8369),r(5831),r(6423)),i=r(6021),s=r(2415),a=r(9458),c=r(5705),l=r(3229),u=r(4833),d=r(3945),p=r(3922),f=r(5924),m=r(9636),h=r(1426),g=r(9679),b=r(7157);const v=({attributes:e,setAttributes:t,clientId:r,name:v})=>{const y=(0,c.useSelect)(t=>t("core").getPostType(e.post_type??"page")??t("core").getPostType("page"),[e.post_type]);if(""!==n.P.error)return(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(o.InspectorControls,{children:(0,b.jsx)("div",{className:g.A.error,dangerouslySetInnerHTML:{__html:h.A.sanitize(n.P.error)}})}),(0,b.jsx)(s.A,{attributes:e,block:_.id,clientId:r})]});const x={type:y,attributes:e,name:v,setAttributes:t,clientId:r};return(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(o.InspectorControls,{children:(0,b.jsx)("div",{className:"components-panel__body is-opened",children:(0,b.jsx)("a",{href:n.P.docs.page,target:"_blank",rel:"noopener noreferrer",children:(0,u.__)("Documentation","advanced-sidebar-menu")})})}),(0,b.jsxs)(o.InspectorControls,{children:[(0,f.vL)(["widgets","site-editor","customize"])&&(0,b.jsx)(i.PanelBody,{children:(0,b.jsx)(i.TextControl,{value:e.title??"",label:(0,u.__)("Title","advanced-sidebar-menu"),onChange:e=>t({title:e}),__nextHasNoMarginBottom:!0})}),(0,b.jsxs)(d.A,{attributes:e,block:v,section:"pages/Edit/general",children:[(0,b.jsx)(a.A,{attributes:e,clientId:r,name:v,setAttributes:t,type:y}),(0,b.jsxs)("div",{className:"components-panel__body is-opened",children:[(0,b.jsx)(i.Slot,{name:"advanced-sidebar-menu/pages/general",fillProps:x}),(0,b.jsx)(i.SelectControl,{label:(0,u.__)("Order by","advanced-sidebar-menu"),value:e.order_by,labelPosition:"side",options:Object.entries(n.P.pages.orderBy).map(([e,t])=>({value:e,label:t})),onChange:e=>{t({order_by:e})}}),(0,b.jsx)(m.A,{type:y,attributes:e,setAttributes:t}),(0,b.jsx)(i.Slot,{name:"advanced-sidebar-menu/pages/general-after",fillProps:x})]})]}),(0,b.jsx)(d.A,{attributes:e,block:v,section:"pages/Edit/inspector",children:(0,b.jsx)(i.Slot,{name:"advanced-sidebar-menu/pages/inspector",fillProps:x})})]}),(0,b.jsx)(o.BlockControls,{children:(0,b.jsx)(d.A,{attributes:e,block:v,section:"pages/Edit/block-controls",children:(0,b.jsx)(i.Slot,{name:"advanced-sidebar-menu/pages/block-controls",fillProps:x})})}),(0,b.jsx)(l.A,{clientId:r}),(0,b.jsx)(d.A,{attributes:e,block:v,section:"pages/Edit/preview",children:(0,b.jsx)(s.A,{attributes:e,block:_.id,clientId:r})}),(0,b.jsx)(p.A,{clientId:r})]})};var y=r(1034);const _=n.P.blocks.pages,x=_.id,w={title:(0,u.__)("Advanced Sidebar - Pages","advanced-sidebar-menu"),icon:y.A,category:"widgets",description:(0,u.__)("Creates a menu of all the pages using the parent/child relationship","advanced-sidebar-menu"),example:{attributes:{apply_current_page_parent_styles_to_parent:!0,apply_current_page_styles_to_parent:!0,block_style:!0,border:!0,border_color:"#333",bullet_style:"none",child_page_bg_color:"#666",child_page_color:"#fff",current_page_bg_color:"#282828",current_page_color:"#0cc4c6",current_page_font_weight:"normal",current_page_parent_bg_color:"#333",display_all:!0,grandchild_page_bg_color:"#989898",grandchild_page_color:"#282828",grandchild_page_font_weight:"bold",include_childless_parent:!0,include_parent:!0,levels:2,parent_page_bg_color:"#666",parent_page_color:"#fff"}},transforms:{from:[{type:"block",blocks:["core/legacy-widget"],isMatch:({idBase:e,instance:t})=>null!==t?.raw&&"advanced_sidebar_menu"===e,transform:(0,f.od)(x)}]},attributes:(0,f.$O)(_.attributes),supports:(0,f.MP)(),edit:e=>(0,b.jsx)(v,{...e}),save:()=>null,apiVersion:3}},4173:(e,t,r)=>{"use strict";var n=r(3640),o=r(9659),i=r(3595),s=r(705),a=r(9249),c=s("IE_PROTO"),l=Object,u=l.prototype;e.exports=a?l.getPrototypeOf:function(e){var t=i(e);if(n(t,c))return t[c];var r=t.constructor;return o(r)&&t instanceof r?r.prototype:t instanceof l?u:null}},4195:(e,t,r)=>{"use strict";var n=r(7615),o=r(3912),i=r(7295),s=r(1588),a=r(3884),c=r(2769),l=TypeError,u=c("toPrimitive");e.exports=function(e,t){if(!o(e)||i(e))return e;var r,c=s(e,u);if(c){if(void 0===t&&(t="default"),r=n(c,e,t),!o(r)||i(r))return r;throw new l("Can't convert object to primitive value")}return void 0===t&&(t="number"),a(e,t)}},4307:e=>{"use strict";e.exports={}},4330:(e,t,r)=>{"use strict";var n=r(2420),o=r(7615),i=r(2210),s=r(9704),a=r(3429),c=r(6857),l=r(7217),u=r(6435)("forEach",TypeError);n({target:"Iterator",proto:!0,real:!0,forced:u},{forEach:function(e){a(this);try{s(e)}catch(e){l(this,"throw",e)}if(u)return o(u,this,e);var t=c(this),r=0;i(t,function(t){e(t,r++)},{IS_RECORD:!0})}})},4357:(e,t,r)=>{"use strict";var n=r(5871),o=TypeError;e.exports=function(e,t){if(n(t,e))return e;throw new o("Incorrect invocation")}},4512:(e,t,r)=>{"use strict";var n=r(9124);e.exports=function(e){return n(e.length)}},4559:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(7157);const o=(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",children:[(0,n.jsx)("rect",{x:"0",fill:"none",width:"20",height:"20"}),(0,n.jsx)("g",{children:(0,n.jsx)("path",{fill:"#044567",d:"M19 17V2c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v15c0 .55.45 1 1 1h15c.55 0 1-.45 1-1z M4 3h13v4H4V3z M5 4h3v2H5V4zm4 0h3v2H9V4zm4 0h3v2H13V4z M4.5 9 c .28 0 .5 .22 .5 .5s-.22.5-.5.5s-.5-.22-.5-.5s.22-.5 .5-.5z M6 9h4v1H6v-1z M4.5 12 c .28 0 .5 .22 .5 .5s-.22.5-.5.5s-.5-.22-.5-.5s.22-.5 .5-.5z M6 12h4v1H6v-1z M4.5 15 c .28 0 .5 .22 .5 .5s-.22.5-.5.5s-.5-.22-.5-.5s.22-.5 .5-.5z M6 15h4v1H6v-1z M12.5 10.5 h4v1h-4v-1z M12.5 12 h4v1h-4v-1z M12.5 13.5 h4v1h-4v-1z"})})]})},4779:(e,t,r)=>{"use strict";var n,o,i,s=r(2617),a=r(9659),c=r(3912),l=r(7306),u=r(4173),d=r(2314),p=r(2769),f=r(613),m=p("iterator"),h=!1;[].keys&&("next"in(i=[].keys())?(o=u(u(i)))!==Object.prototype&&(n=o):h=!0),!c(n)||s(function(){var e={};return n[m].call(e)!==e})?n={}:f&&(n=l(n)),a(n[m])||d(n,m,function(){return this}),e.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:h}},4809:(e,t,r)=>{"use strict";var n=r(6001),o=r(6666),i=r(8006),s=r(9675),a=r(3429),c=o([].concat);e.exports=n("Reflect","ownKeys")||function(e){var t=i.f(a(e)),r=s.f;return r?c(t,r(e)):t}},4833:e=>{"use strict";e.exports=window.wp?.i18n},4849:(e,t,r)=>{"use strict";var n=r(1490),o=r(9659),i=r(1374),s=r(2769)("toStringTag"),a=Object,c="Arguments"===i(function(){return arguments}());e.exports=n?i:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=a(e),s))?r:c?i(t):"Object"===(n=i(t))&&o(t.callee)?"Arguments":n}},4903:e=>{"use strict";e.exports={}},4925:(e,t,r)=>{"use strict";var n=r(8247);e.exports=function(e){var t=+e;return t!=t||0===t?0:n(t)}},5166:(e,t,r)=>{"use strict";var n=r(7693);e.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},5176:(e,t,r)=>{"use strict";var n=r(873),o=r(1067);e.exports=function(e,t,r){return r.get&&n(r.get,t,{getter:!0}),r.set&&n(r.set,t,{setter:!0}),o.f(e,t,r)}},5199:(e,t,r)=>{"use strict";var n=r(1594),o=Symbol.for("react.element"),i=Symbol.for("react.fragment"),s=Object.prototype.hasOwnProperty,a=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,c={key:!0,ref:!0,__self:!0,__source:!0};function l(e,t,r){var n,i={},l=null,u=null;for(n in void 0!==r&&(l=""+r),void 0!==t.key&&(l=""+t.key),void 0!==t.ref&&(u=t.ref),t)s.call(t,n)&&!c.hasOwnProperty(n)&&(i[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps)void 0===i[n]&&(i[n]=t[n]);return{$$typeof:o,type:e,key:l,ref:u,props:i,_owner:a.current}}t.Fragment=i,t.jsx=l,t.jsxs=l},5206:e=>{"use strict";e.exports=ReactDOM},5267:(e,t,r)=>{"use strict";var n,o,i,s=r(3604),a=r(9498),c=r(3912),l=r(6957),u=r(3640),d=r(1159),p=r(705),f=r(4307),m="Object already initialized",h=a.TypeError,g=a.WeakMap;if(s||d.state){var b=d.state||(d.state=new g);b.get=b.get,b.has=b.has,b.set=b.set,n=function(e,t){if(b.has(e))throw new h(m);return t.facade=e,b.set(e,t),t},o=function(e){return b.get(e)||{}},i=function(e){return b.has(e)}}else{var v=p("state");f[v]=!0,n=function(e,t){if(u(e,v))throw new h(m);return t.facade=e,l(e,v,t),t},o=function(e){return u(e,v)?e[v]:{}},i=function(e){return u(e,v)}}e.exports={set:n,get:o,has:i,enforce:function(e){return i(e)?o(e):n(e,{})},getterFor:function(e){return function(t){var r;if(!c(t)||(r=o(t)).type!==e)throw new h("Incompatible receiver, "+e+" required");return r}}}},5329:(e,t,r)=>{"use strict";var n=r(1582),o=r(7615),i=r(1259),s=r(3658),a=r(2879),c=r(2471),l=r(3640),u=r(5879),d=Object.getOwnPropertyDescriptor;t.f=n?d:function(e,t){if(e=a(e),t=c(t),u)try{return d(e,t)}catch(e){}if(l(e,t))return s(!o(i.f,e,t),e[t])}},5583:e=>{"use strict";e.exports=function(e,t){return{value:e,done:t}}},5643:(e,t,r)=>{"use strict";var n=r(2879),o=r(5776),i=r(4512),s=function(e){return function(t,r,s){var a=n(t),c=i(a);if(0===c)return!e&&-1;var l,u=o(s,c);if(e&&r!=r){for(;c>u;)if((l=a[u++])!=l)return!0}else for(;c>u;u++)if((e||u in a)&&a[u]===r)return e||u||0;return!e&&-1}};e.exports={includes:s(!0),indexOf:s(!1)}},5705:e=>{"use strict";e.exports=window.wp?.data},5776:(e,t,r)=>{"use strict";var n=r(4925),o=Math.max,i=Math.min;e.exports=function(e,t){var r=n(e);return r<0?o(r+t,0):i(r,t)}},5831:(e,t,r)=>{"use strict";var n=r(2420),o=r(7615),i=r(9704),s=r(3429),a=r(6857),c=r(6820),l=r(9109),u=r(7217),d=r(7454),p=r(6435),f=r(613),m=!f&&!d("map",function(){}),h=!f&&!m&&p("map",TypeError),g=f||m||h,b=c(function(){var e=this.iterator,t=s(o(this.next,e));if(!(this.done=!!t.done))return l(e,this.mapper,[t.value,this.counter++],!0)});n({target:"Iterator",proto:!0,real:!0,forced:g},{map:function(e){s(this);try{i(e)}catch(e){u(this,"throw",e)}return h?o(h,this,e):new b(a(this),{mapper:e})}})},5871:(e,t,r)=>{"use strict";var n=r(6666);e.exports=n({}.isPrototypeOf)},5879:(e,t,r)=>{"use strict";var n=r(1582),o=r(2617),i=r(6601);e.exports=!n&&!o(function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a})},5924:(e,t,r)=>{"use strict";r.d(t,{$O:()=>a,MP:()=>c,od:()=>s,vL:()=>i}),r(8369),r(4330);var n=r(2463),o=r(380);const i=e=>e.includes(o.P.currentScreen),s=e=>({instance:t})=>(0,n.createBlock)(e,l(t.raw));function a(e){return{...e,...o.P.blocks.commonAttr,...o.P.blocks.previewAttr}}function c(){return o.P.blocks.blockSupport}const l=e=>(Object.entries(e).forEach(([t,r])=>{"checked"===r&&(e[t]=!0),"object"==typeof r&&l(e[t]),"0"===r&&delete e[t]}),e)},6001:(e,t,r)=>{"use strict";var n=r(9498),o=r(9659);e.exports=function(e,t){return arguments.length<2?(r=n[e],o(r)?r:void 0):n[e]&&n[e][t];var r}},6021:e=>{"use strict";e.exports=window.wp?.components},6394:(e,t,r)=>{"use strict";var n=r(1374),o=r(6666);e.exports=function(e){if("Function"===n(e))return o(e)}},6398:(e,t,r)=>{"use strict";var n=r(1582),o=r(1067),i=r(3658);e.exports=function(e,t,r){n?o.f(e,t,i(0,r)):e[t]=r}},6409:(e,t,r)=>{"use strict";var n=r(6666),o=r(2617),i=r(1374),s=Object,a=n("".split);e.exports=o(function(){return!s("z").propertyIsEnumerable(0)})?function(e){return"String"===i(e)?a(e,""):s(e)}:s},6423:e=>{"use strict";e.exports=window.wp?.blockEditor},6435:(e,t,r)=>{"use strict";var n=r(9498);e.exports=function(e,t){var r=n.Iterator,o=r&&r.prototype,i=o&&o[e],s=!1;if(i)try{i.call({next:function(){return{done:!0}},return:function(){s=!0}},-1)}catch(e){e instanceof t||(s=!1)}if(!s)return i}},6601:(e,t,r)=>{"use strict";var n=r(9498),o=r(3912),i=n.document,s=o(i)&&o(i.createElement);e.exports=function(e){return s?i.createElement(e):{}}},6666:(e,t,r)=>{"use strict";var n=r(9202),o=Function.prototype,i=o.call,s=n&&o.bind.bind(i,i);e.exports=n?s:function(e){return function(){return i.apply(e,arguments)}}},6820:(e,t,r)=>{"use strict";var n=r(7615),o=r(7306),i=r(6957),s=r(1529),a=r(2769),c=r(5267),l=r(1588),u=r(4779).IteratorPrototype,d=r(5583),p=r(7217),f=r(1631),m=a("toStringTag"),h="IteratorHelper",g="WrapForValidIterator",b="normal",v="throw",y=c.set,_=function(e){var t=c.getterFor(e?g:h);return s(o(u),{next:function(){var r=t(this);if(e)return r.nextHandler();if(r.done)return d(void 0,!0);try{var n=r.nextHandler();return r.returnHandlerResult?n:d(n,r.done)}catch(e){throw r.done=!0,e}},return:function(){var r=t(this),o=r.iterator;if(r.done=!0,e){var i=l(o,"return");return i?n(i,o):d(void 0,!0)}if(r.inner)try{p(r.inner.iterator,b)}catch(e){return p(o,v,e)}if(r.openIters)try{f(r.openIters,b)}catch(e){return p(o,v,e)}return o&&p(o,b),d(void 0,!0)}})},x=_(!0),w=_(!1);i(w,m,"Iterator Helper"),e.exports=function(e,t,r){var n=function(n,o){o?(o.iterator=n.iterator,o.next=n.next):o=n,o.type=t?g:h,o.returnHandlerResult=!!r,o.nextHandler=e,o.counter=0,o.done=!1,y(this,o)};return n.prototype=t?x:w,n}},6857:e=>{"use strict";e.exports=function(e){return{iterator:e,next:e.next,done:!1}}},6870:(e,t,r)=>{"use strict";var n=r(3640),o=r(4809),i=r(5329),s=r(1067);e.exports=function(e,t,r){for(var a=o(t),c=s.f,l=i.f,u=0;u<a.length;u++){var d=a[u];n(e,d)||r&&n(r,d)||c(e,d,l(t,d))}}},6957:(e,t,r)=>{"use strict";var n=r(1582),o=r(1067),i=r(3658);e.exports=n?function(e,t,r){return o.f(e,t,i(1,r))}:function(e,t,r){return e[t]=r,e}},7157:(e,t,r)=>{"use strict";e.exports=r(5199)},7191:(e,t,r)=>{"use strict";var n=r(7615),o=r(9704),i=r(3429),s=r(1609),a=r(9545),c=TypeError;e.exports=function(e,t){var r=arguments.length<2?a(e):t;if(o(r))return i(n(r,e));throw new c(s(e)+" is not iterable")}},7217:(e,t,r)=>{"use strict";var n=r(7615),o=r(3429),i=r(1588);e.exports=function(e,t,r){var s,a;o(e);try{if(!(s=i(e,"return"))){if("throw"===t)throw r;return r}s=n(s,e)}catch(e){a=!0,s=e}if("throw"===t)throw r;if(a)throw s;return o(s),r}},7295:(e,t,r)=>{"use strict";var n=r(6001),o=r(9659),i=r(5871),s=r(5166),a=Object;e.exports=s?function(e){return"symbol"==typeof e}:function(e){var t=n("Symbol");return o(t)&&i(t.prototype,a(e))}},7306:(e,t,r)=>{"use strict";var n,o=r(3429),i=r(1399),s=r(3701),a=r(4307),c=r(8827),l=r(6601),u=r(705),d="prototype",p="script",f=u("IE_PROTO"),m=function(){},h=function(e){return"<"+p+">"+e+"</"+p+">"},g=function(e){e.write(h("")),e.close();var t=e.parentWindow.Object;return e=null,t},b=function(){try{n=new ActiveXObject("htmlfile")}catch(e){}var e,t,r;b="undefined"!=typeof document?document.domain&&n?g(n):(t=l("iframe"),r="java"+p+":",t.style.display="none",c.appendChild(t),t.src=String(r),(e=t.contentWindow.document).open(),e.write(h("document.F=Object")),e.close(),e.F):g(n);for(var o=s.length;o--;)delete b[d][s[o]];return b()};a[f]=!0,e.exports=Object.create||function(e,t){var r;return null!==e?(m[d]=o(e),r=new m,m[d]=null,r[f]=e):r=b(),void 0===t?r:i.f(r,t)}},7386:(e,t,r)=>{"use strict";var n=r(6666),o=0,i=Math.random(),s=n(1.1.toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+s(++o+i,36)}},7454:e=>{"use strict";e.exports=function(e,t){var r="function"==typeof Iterator&&Iterator.prototype[e];if(r)try{r.call({next:null},t).next()}catch(e){return!0}}},7615:(e,t,r)=>{"use strict";var n=r(9202),o=Function.prototype.call;e.exports=n?o.bind(o):function(){return o.apply(o,arguments)}},7693:(e,t,r)=>{"use strict";var n=r(9581),o=r(2617),i=r(9498).String;e.exports=!!Object.getOwnPropertySymbols&&!o(function(){var e=Symbol("symbol detection");return!i(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41})},8006:(e,t,r)=>{"use strict";var n=r(3030),o=r(3701).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,o)}},8110:e=>{"use strict";e.exports=lodash},8247:e=>{"use strict";var t=Math.ceil,r=Math.floor;e.exports=Math.trunc||function(e){var n=+e;return(n>0?r:t)(n)}},8369:(e,t,r)=>{"use strict";var n=r(2420),o=r(9498),i=r(4357),s=r(3429),a=r(9659),c=r(4173),l=r(5176),u=r(6398),d=r(2617),p=r(3640),f=r(2769),m=r(4779).IteratorPrototype,h=r(1582),g=r(613),b="constructor",v="Iterator",y=f("toStringTag"),_=TypeError,x=o[v],w=g||!a(x)||x.prototype!==m||!d(function(){x({})}),A=function(){if(i(this,m),c(this)===m)throw new _("Abstract class Iterator not directly constructable")},S=function(e,t){h?l(m,e,{configurable:!0,get:function(){return t},set:function(t){if(s(this),this===m)throw new _("You can't redefine this property");p(this,e)?this[e]=t:u(this,e,t)}}):m[e]=t};p(m,y)||S(y,v),!w&&p(m,b)&&m[b]!==Object||S(b,A),A.prototype=m,n({global:!0,constructor:!0,forced:w},{Iterator:A})},8794:(e,t,r)=>{"use strict";var n=r(3030),o=r(3701);e.exports=Object.keys||function(e){return n(e,o)}},8827:(e,t,r)=>{"use strict";var n=r(6001);e.exports=n("document","documentElement")},9109:(e,t,r)=>{"use strict";var n=r(3429),o=r(7217);e.exports=function(e,t,r,i){try{return i?t(n(r)[0],r[1]):t(r)}catch(t){o(e,"throw",t)}}},9124:(e,t,r)=>{"use strict";var n=r(4925),o=Math.min;e.exports=function(e){var t=n(e);return t>0?o(t,9007199254740991):0}},9202:(e,t,r)=>{"use strict";var n=r(2617);e.exports=!n(function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})},9249:(e,t,r)=>{"use strict";var n=r(2617);e.exports=!n(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})},9406:(e,t,r)=>{var n={"./categories/block.tsx":729,"./pages/block.tsx":4139,"gutenberg/blocks/categories/block.tsx":729,"gutenberg/blocks/pages/block.tsx":4139};function o(e){var t=i(e);return r(t)}function i(e){if(!r.o(n,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return n[e]}o.keys=function(){return Object.keys(n)},o.resolve=i,e.exports=o,o.id=9406},9458:(e,t,r)=>{"use strict";r.d(t,{A:()=>d}),r(8369),r(5831);var n=r(6021),o=r(380),i=r(4833),s=r(8110),a=r(3945),c=r(7157);const l={include_parent:(0,i.__)("Display highest level parent %s","advanced-sidebar-menu"),include_childless_parent:(0,i.__)("Display menu when there is only the parent %s","advanced-sidebar-menu"),display_all:(0,i.__)("Always display child %s","advanced-sidebar-menu")},u=[{value:"100",label:(0,i.__)("- All -","advanced-sidebar-menu")},...(0,s.range)(1,11).map(e=>({value:e.toString(),label:e.toString()}))],d=({attributes:e,setAttributes:t,type:r,name:s,clientId:d,children:p})=>{const f=o.P.blocks.pages.id===s&&"1"===o.P.isPro||!0===e.display_all,m={type:r,attributes:e,name:s,setAttributes:t,clientId:d};return(0,c.jsxs)(n.PanelBody,{title:(0,i.__)("Display","advanced-sidebar-menu"),children:[Object.keys(l).map(o=>{let s=r?.labels?.singular_name.toLowerCase()??"";return"display_all"===o&&(s=r?.labels?.name.toLowerCase()??""),(0,c.jsx)(n.CheckboxControl,{label:(0,i.sprintf)(l[o],s),checked:!0===e[o],onChange:e=>{t({[o]:e})},__nextHasNoMarginBottom:!0},o)}),f&&(0,c.jsx)(n.SelectControl,{label:(0,i.sprintf)((0,i.__)("Levels of child %s to display","advanced-sidebar-menu"),r?.labels?.name.toLowerCase()??""),className:"advanced-sidebar-menu-display-select",value:e.levels.toString(),onChange:e=>{t({levels:parseInt(e)})},options:u,__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0},"levels"),p,(0,c.jsxs)(a.A,{attributes:e,block:s,section:"Display/slots",children:[o.P.blocks.pages.id===s&&(0,c.jsx)(n.Slot,{name:"advanced-sidebar-menu/pages/display",fillProps:m}),o.P.blocks.categories.id===s&&(0,c.jsx)(n.Slot,{name:"advanced-sidebar-menu/categories/display",fillProps:m})]})]})}},9471:e=>{"use strict";e.exports=function(e){return null==e}},9498:function(e,t,r){"use strict";var n=function(e){return e&&e.Math===Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||n("object"==typeof this&&this)||function(){return this}()||Function("return this")()},9545:(e,t,r)=>{"use strict";var n=r(4849),o=r(1588),i=r(9471),s=r(4903),a=r(2769)("iterator");e.exports=function(e){if(!i(e))return o(e,a)||o(e,"@@iterator")||s[n(e)]}},9581:(e,t,r)=>{"use strict";var n,o,i=r(9498),s=r(709),a=i.process,c=i.Deno,l=a&&a.versions||c&&c.version,u=l&&l.v8;u&&(o=(n=u.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!o&&s&&(!(n=s.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=s.match(/Chrome\/(\d+)/))&&(o=+n[1]),e.exports=o},9636:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(6021),o=r(4833),i=r(1426),s=r(7157);const a=(0,n.withFilters)("advanced-sidebar-menu.blocks.exclude-field")(({type:e,attributes:t,setAttributes:r})=>{const a=(0,s.jsxs)("p",{children:[(0,s.jsx)("br",{}),(0,s.jsx)("span",{dangerouslySetInnerHTML:{__html:i.A.sanitize((0,o.sprintf)((0,o.__)("For more robust and intuitive exclusions use the %1$sPRO version%2$s.","advanced-sidebar-menu"),'<a href="https://onpointplugins.com/advanced-sidebar-menu/advanced-sidebar-menu-pro-widget-docs/advanced-sidebar-menu-pro-excluding-menu-items/?utm_source=exclude-field&utm_campaign=gopro&utm_medium=wp-dash" target="_blank" rel="noopener noreferrer">',"</a>"),{ADD_ATTR:["target"]})}})]});return(0,s.jsx)(n.TextControl,{label:(0,o.sprintf)((0,o.__)("%s to exclude","advanced-sidebar-menu"),e?.labels?.name??""),value:t.exclude,help:(0,s.jsxs)(s.Fragment,{children:[(0,o.__)("ids, comma separated","advanced-sidebar-menu"),a]}),onChange:e=>{r({exclude:e})},__nextHasNoMarginBottom:!0})})},9659:e=>{"use strict";var t="object"==typeof document&&document.all;e.exports=void 0===t&&void 0!==t?function(e){return"function"==typeof e||e===t}:function(e){return"function"==typeof e}},9675:(e,t)=>{"use strict";t.f=Object.getOwnPropertySymbols},9679:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});const n={error:"lZo8N"}},9704:(e,t,r)=>{"use strict";var n=r(9659),o=r(1609),i=TypeError;e.exports=function(e){if(n(e))return e;throw new i(o(e)+" is not a function")}},9752:(e,t,r)=>{"use strict";var n=r(1582),o=r(2617);e.exports=n&&o(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})},9951:(e,t,r)=>{"use strict";var n=r(9498),o=Object.defineProperty;e.exports=function(e,t){try{o(n,e,{value:t,configurable:!0,writable:!0})}catch(r){n[e]=t}return t}}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var i=t[n]={id:n,loaded:!1,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.loaded=!0,i.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.hmd=e=>((e=Object.create(e)).children||(e.children=[]),Object.defineProperty(e,"exports",{enumerable:!0,set:()=>{throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}}),e),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{"use strict";r(8369),r(4330);var e=r(4116),t=r(4833),n=r(1594),o=r(6021);var i=r(7157);const s="advanced-sidebar-menu/transform-notice-dismissed",a=({})=>{const[e,r]=(0,n.useState)(!0);return e?(0,i.jsxs)(o.Notice,{className:"mq3sZ",politeness:"polite",onDismiss:()=>{r(!1),localStorage.setItem(s,"1")},actions:[{label:(0,t.__)("Blocks are the future of Advanced Sidebar Menu.","advanced-sidebar-menu"),url:"https://onpointplugins.com/advanced-sidebar-menu/advanced-sidebar-menu-gutenberg-blocks/#transform-widgets-to-blocks",variant:"link"}],children:[(0,i.jsx)("span",{className:"dashicons dashicons-arrow-up-alt"})," ",(0,t.__)("This widget may be transformed into a block.","advanced-sidebar-menu")]}):null};var c=r(380),l=r(1669);console.debug("Advanced Sidebar - Loaded"),"1"===c.P.isWidgets&&l(document).on("widget-added",function(){!function(){if(c.P.siteInfo.classicWidgets)return;if("1"===localStorage.getItem(s))return;const t=document.querySelectorAll('[data-js="advanced-sidebar-menu/transform-notice"]');try{t.forEach(t=>{(0,e.H)(t).render((0,i.jsx)(a,{}))})}catch(e){console.error(e)}}()}),void 0!==window.wp.element&&void 0!==window.wp.plugins?r(1304).A():void 0!==window.wp.customize&&window.wp.customize.bind("ready",()=>{r(1304).A()})})()})();
  • advanced-sidebar-menu/tags/9.8.2/js/dist/manifest.json

    r3391412 r3391853  
    3232  "advanced-sidebar-menu-block-editor.min.js": {
    3333    "src": "advanced-sidebar-menu-block-editor.min.js",
    34     "integrity": "sha384-lVrw+SOJEgxurYoAmq33aK2I200B9dEL2IbPz1o1SOr6vYBDBj+yf4qHkqhgTztE",
    35     "hash": "3ce7b2e99134f3a9538a"
     34    "integrity": "sha384-//QtBRMJ6kGYJTnCYeDK4I29rapgg4T3s8ySvH61eV8PaXsPFblPf+3Ayi1zi7Zq",
     35    "hash": "18f8f8ac885a41f3ca09"
    3636  },
    3737  "advanced-sidebar-menu-block-editor.min.js.LICENSE.txt": {
     
    4242  "advanced-sidebar-menu-block-editor.min.js.br": {
    4343    "src": "advanced-sidebar-menu-block-editor.min.js.br",
    44     "integrity": "sha384-519u1UPhXIPZbeXk2f6Czr+KuqaSSS7PcBwsIO5X/5Uf0m/ilbFdwD2STAOYPl80",
    45     "hash": "f90a064d1af1230cd176"
     44    "integrity": "sha384-ekAS3/qYS3QiGDPEkhUSE7+KXG1MlhV7Yl8vyDtM+wN5aFXHSGJMFlaYNa8EW6Hy",
     45    "hash": "f577a4e0d6196faa084b"
    4646  },
    4747  "advanced-sidebar-menu-debug.min.js": {
  • advanced-sidebar-menu/tags/9.8.2/readme.txt

    r3391412 r3391853  
    66Tested up to: 6.8.3
    77Requires PHP: 7.4.0
    8 Stable tag: 9.8.1
     8Stable tag: 9.8.2
    99License: GPLv3 or later
    1010License URI: http://www.gnu.org/licenses/gpl-3.0.html
     
    220220== Changelog ==
    221221
     222= 9.8.2 =
     223* Fixed the display of the "Show on single posts" option in category blocks.
     224
    222225= 9.8.1 =
    223226* Introduced 'advanced-sidebar-menu/pages/general-after' slot fill.
  • advanced-sidebar-menu/trunk/advanced-sidebar-menu.php

    r3391412 r3391853  
    55 * Description: Creates dynamic menus based on parent/child relationship of your pages or categories.
    66 * Author: OnPoint Plugins
    7  * Version: 9.8.1
     7 * Version: 9.8.2
    88 * Author URI: https://onpointplugins.com
    99 * Text Domain: advanced-sidebar-menu
     
    2020}
    2121
    22 define( 'ADVANCED_SIDEBAR_MENU_BASIC_VERSION', '9.8.1' );
     22define( 'ADVANCED_SIDEBAR_MENU_BASIC_VERSION', '9.8.2' );
    2323define( 'ADVANCED_SIDEBAR_MENU_REQUIRED_PRO_VERSION', '9.9.0' );
    2424define( 'ADVANCED_SIDEBAR_MENU_DIR', plugin_dir_path( __FILE__ ) );
  • advanced-sidebar-menu/trunk/js/dist/advanced-sidebar-menu-admin.css.map

    r3391412 r3391853  
    1 {"version":3,"file":"advanced-sidebar-menu-admin.css","mappings":";;;AAAA;;;;gDAIgD;AAChD;EACE,WAAW;EACX;AACF;AACA;EACE;AACF;AACA;EACE,mBAAmB;EACnB,sBAAsB;EACtB,mBAAmB;EACnB;AACF;AACA;EACE,eAAe;EACf,2BAA2B;EAC3B;AACF;AACA;EACE,4BAA4B;EAC5B;AACF;AACA;EACE,0BAA0B;EAC1B;AACF;AACA;EACE,cAAc;EACd,cAAc;EACd,eAAe;EACf,4BAA4B;EAC5B,4BAA4B;EAC5B;AACF;AACA;EACE;AACF;AACA;;;EAGE;AACF;AACA;EACE,gCAAgC;EAChC,oCAAoC;EACpC;AACF;AACA;;EAEE;AACF;AACA;EACE;AACF;AACA;EACE,yBAAyB;EACzB,4BAA4B;EAC5B;AACF;AACA;EACE,gBAAgB;EAChB,yBAAyB;EACzB,0BAA0B;EAC1B,2BAA2B;EAC3B,mBAAmB;EACnB,4BAA4B;EAC5B,4BAA4B;EAC5B;AACF;AACA;EACE,qCAAqC;EACrC;AACF;AACA;EACE,eAAe;EACf,uBAAuB;EACvB,6BAA6B;EAC7B;AACF;AACA;EACE,gBAAgB;EAChB,yBAAyB;EACzB;AACF;AACA;;EAEE,kBAAkB;EAClB;AACF;AACA;EACE,sBAAsB;EACtB;AACF;AACA;EACE;AACF;AACA;EACE,WAAW;EACX;AACF;AACA;EACE;AACF;AACA;;EAEE,0BAA0B;EAC1B;AACF;AACA;EACE;AACF;AACA;EACE,6BAA6B;EAC7B;AACF;AACA;EACE,cAAc;EACd,2BAA2B;EAC3B;AACF;AACA;;;wDAGwD;AACxD,0DAA0D;AAC1D;EACE;AACF;AACA;EACE,gCAAgC;EAChC;AACF;AACA;EACE,gCAAgC;EAChC,uBAAuB;EACvB,yBAAyB;EACzB,4BAA4B;EAC5B,8BAA8B;EAC9B,8BAA8B;EAC9B;AACF;AACA;;;wDAGwD;AACxD;EACE,qBAAqB;EACrB;AACF;AACA;;;EAGE,yBAAyB;EACzB;AACF;AACA;EACE,eAAe;EACf;AACF;AACA;;EAEE,yBAAyB;EACzB,4BAA4B;EAC5B;AACF;AACA;EACE;AACF;AACA;EACE,eAAe;EACf,aAAa;EACb,eAAe;EACf,iBAAiB;EACjB,kBAAkB;EAClB,WAAW;EACX;AACF;AACA;EACE;AACF;AACA;EACE,gBAAgB;EAChB,8BAA8B;EAC9B;AACF;AACA;EACE;AACF;AACA;EACE;AACF;AACA;;EAEE;AACF;AACA;EACE;AACF;AACA;EACE,yBAAyB;EACzB;AACF;AACA;;;4CAG4C;AAC5C;;;gDAGgD;AAChD;EACE;AACF;AACA;EACE;AACF;AACA;;;;EAIE,gBAAgB;EAChB,WAAW;EACX;AACF;AACA;EACE;AACF;AACA;EACE,gBAAgB;EAChB,gBAAgB;EAChB;AACF;AACA;EACE,kBAAkB;EAClB;AACF;AACA;EACE,eAAe;EACf,iBAAiB;EACjB;AACF;AACA;EACE;AACF;AACA;EACE;AACF;AACA;EACE,eAAe;EACf,0BAA0B;EAC1B;AACF;AACA;EACE,SAAS;EACT,oBAAoB;EACpB,UAAU;EACV,kBAAkB;EAClB,8BAA8B;EAC9B,uBAAuB;EACvB;AACF;AACA;EACE,YAAY;EACZ,uBAAuB;EACvB;AACF;AACA;EACE,kBAAkB;EAClB;AACF;AACA;EACE;AACF;AACA;EACE;AACF;AACA;EACE;AACF;AACA;EACE,gDAAgD;EAChD;AACF;AACA;;;gDAGgD;AAChD;EACE,6BAA6B;EAC7B;AACF;AACA;EACE;AACF;AACA;EACE,qCAAqC;EACrC,6BAA6B;EAC7B;AACF;AACA;EACE,kBAAkB;EAClB;AACF;AACA;EACE;AACF;AACA;EACE;AACF;AACA;EACE;AACF;AACA;EACE,kBAAkB;EAClB;AACF;AACA;EACE,eAAe;EACf;AACF;AACA;EACE;AACF;AACA;EACE,0BAA0B;EAC1B,gBAAgB;EAChB;AACF;AACA;EACE;AACF;AACA;EACE,WAAW;EACX;AACF;AACA;EACE;AACF;AACA;EACE,+BAA+B;EAC/B;AACF;AACA;EACE,kBAAkB;EAClB;AACF;AACA;EACE,kBAAkB;EAClB;AACF;AACA;EACE;AACF;AACA;EACE;AACF;AACA;EACE,eAAe;EACf,0BAA0B;EAC1B;AACF;AACA;EACE,SAAS;EACT,oBAAoB;EACpB,UAAU;EACV,kBAAkB;EAClB,iCAAiC;EACjC,uBAAuB;EACvB;AACF;AACA;EACE,YAAY;EACZ,sCAAsC;EACtC;AACF;AACA;EACE,iBAAiB;EACjB,kBAAkB;EAClB;AACF;AACA;EACE;AACF;AACA;EACE;AACF;AACA;EACE;AACF;AACA;EACE,gDAAgD;EAChD;AACF;AACA;;;wCAGwC;AACxC;EACE;AACF;AACA;EACE;AACF;AACA;EACE;AACF;AACA;EACE;AACF;AACA;EACE;AACF;AACA;EACE;AACF;AACA;EACE,SAAS;EACT,oBAAoB;EACpB,UAAU;EACV,kBAAkB;EAClB,8BAA8B;EAC9B,uBAAuB;EACvB;AACF;AACA;EACE,YAAY;EACZ,gCAAgC;EAChC;AACF;AACA;EACE;AACF;AACA;EACE;AACF;AACA;EACE;IACE;EACF;AACF;AACA;EACE;IACE,oCAAoC;IACpC;EACF;AACF;AACA;EACE;IACE;EACF;EACA;IACE;EACF;EACA;IACE;EACF;EACA;IACE;EACF;EACA;IACE;EACF;EACA;IACE;EACF;AACF;AACA;EACE;IACE;EACF;EACA;;IAEE;EACF;EACA;;IAEE;EACF;EACA;IACE;EACF;EACA;IACE;EACF;EACA;IACE;EACF;EACA;IACE;EACF;EACA;IACE;EACF;EACA;IACE;EACF;EACA;IACE;EACF;EACA;IACE;EACF;EACA;IACE;EACF;AACF,C","sources":["webpack://@onpointplugins/advanced-sidebar-menu/./js/src/pcss/%3Cinput%20css%20C-BIiu%3E"],"sourcesContent":["/**\n * Admin styles for widgets and some light\n * styles used by blocks.\n *\n ----------------------------------------------*/\n.advanced-sidebar-menu-column {\n  float: left;\n  width: 49%\n}\n.advanced-sidebar-menu-column-right {\n  margin-left: 2%\n}\n.advanced-sidebar-menu-column-box {\n  background: #f1f1f1;\n  border: 1px solid #ddd;\n  margin-bottom: 10px;\n  padding: 10px\n}\n.advanced-sidebar-menu-column-box h3 {\n  font-size: 17px;\n  font-weight: 600 !important;\n  margin: 17px 0 !important\n}\n.advanced-sidebar-menu-column-box p {\n  line-height: 19px !important;\n  padding: 0 !important\n}\n.advanced-sidebar-menu-column-box label {\n  display: inline !important;\n  line-height: 19px !important\n}\n.advanced-sidebar-menu-column-box .description {\n  color: #646970;\n  display: block;\n  font-size: 12px;\n  line-height: 14px !important;\n  margin: 4px 0 0 0 !important;\n  padding: 0 !important\n}\n.advanced-sidebar-menu-column-box .advanced-sidebar-menu-column a {\n  color: #0073aa !important\n}\n.advanced-sidebar-menu-column-box select,\n.advanced-sidebar-menu-column-box input[type='number'],\n.advanced-sidebar-menu-column-box input[type='text'] {\n  background-color: #fff !important\n}\n.advanced-sidebar-menu-column-box select {\n  display: inline-block !important;\n  padding: 4px 24px 4px 8px !important;\n  width: auto !important\n}\n.advanced-sidebar-menu-column-box select,\n.advanced-sidebar-menu-column-box input[type='text'] {\n  line-height: 1.5 !important\n}\n.advanced-sidebar-menu-column-box input[type='text'] {\n  padding: 4px 8px !important\n}\n.advanced-sidebar-menu-column-box select.widefat {\n  display: block !important;\n  margin: 4px 0 0 0 !important;\n  width: 100% !important\n}\n.advanced-sidebar-info-panel h3 {\n  box-shadow: none;\n  color: #3db634 !important;\n  font-size: 20px !important;\n  font-weight: 700 !important;\n  letter-spacing: 2px;\n  line-height: 22px !important;\n  margin: 3px 0 0 0 !important;\n  text-align: center !important\n}\n.advanced-sidebar-info-panel ol {\n  margin: 10px 13px 8px 26px !important;\n  padding: 0 !important\n}\n.advanced-sidebar-info-panel li {\n  font-size: 13px;\n  line-height: 1.23076923;\n  list-style: square !important;\n  margin: 0 0 6px 0 !important\n}\n.advanced-sidebar-info-panel li a {\n  box-shadow: none;\n  color: #0073aa !important;\n  text-decoration: none\n}\n.advanced-sidebar-info-panel .button-primary,\n.advanced-sidebar-info-panel .button-secondary {\n  text-align: center;\n  width: 100%\n}\n.advanced-sidebar-info-panel .button-primary {\n  color: #fff !important;\n  margin: 15px 0 15px 0\n}\n.advanced-sidebar-info-panel .button-secondary {\n  margin: 0 0 11px 0\n}\n.advanced-sidebar-menu-full-width {\n  clear: both;\n  width: 100%\n}\n.advanced-sidebar-menu-styles-box {\n  padding: 0 10px 10px\n}\n.advanced-sidebar-menu-styles-box .advanced-sidebar-menu-column select,\n.advanced-sidebar-menu-styles-box .advanced-sidebar-menu-column input {\n  margin: 0 0 6px !important;\n  width: 103px !important\n}\n.advanced-sidebar-menu-styles-box .wp-picker-active {\n  margin: 30px 0 10px calc(-100% - 5px) !important\n}\n.advanced-sidebar-menu-links-expand-all {\n  margin: -4px 0 4px !important;\n  padding: 0 !important\n}\n.advanced-sidebar-menu-links-expand-all li {\n  line-height: 1;\n  list-style: none !important;\n  margin-bottom: 2px\n}\n/**\n * Color pickers\n *\n * --------------------------------------------------- */\n/* stylelint-disable-line -- allowing duplicate selector */\n.advanced-sidebar-menu-column .wp-color-result-text {\n  background: #fff\n}\n.advanced-sidebar-menu-column .asm-color-select {\n  display: inline-block !important;\n  width: 100px !important\n}\n.advanced-sidebar-menu-column .wp-picker-active .wp-picker-clear {\n  display: inline-block !important;\n  height: 30px !important;\n  line-height: 1 !important;\n  margin: 0 0 0 6px !important;\n  min-height: inherit !important;\n  vertical-align: top !important;\n  width: auto !important\n}\n/**\n * Preview\n *\n * --------------------------------------------------- */\n.advanced-sidebar-menu-icon-preview {\n  display: inline-block;\n  margin: 0 0 0 5px\n}\n.advanced-sidebar-menu-icon-preview g,\n.advanced-sidebar-menu-icon-preview path,\n.advanced-sidebar-menu-icon-preview svg {\n  color: inherit !important;\n  fill: currentcolor !important\n}\n.advanced-sidebar-menu-icon-preview .dashicons {\n  font-size: 25px;\n  outline: none !important\n}\n.advanced-sidebar-menu-block-field,\nselect.advanced-sidebar-menu-block-field {\n  display: block !important;\n  margin: 5px 0 0 0 !important;\n  width: 100% !important\n}\n.advanced-sidebar-menu-styles-button {\n  text-align: center\n}\n.advanced-sidebar-menu-close-icon {\n  cursor: pointer;\n  display: none;\n  font-size: 40px;\n  margin: 5px 0 0 0;\n  position: absolute;\n  right: 40px;\n  transition: all 300ms linear\n}\n.block-editor-page .advanced-sidebar-menu-close-icon {\n  right: 25px\n}\n.advanced-sidebar-menu-preview-image {\n  background: #fff;\n  transition: width 300ms linear;\n  width: 0\n}\n.advanced-sidebar-menu-preview-wrap {\n  height: 0\n}\n.advanced-sidebar-menu-open .advanced-sidebar-menu-preview-wrap {\n  height: auto\n}\n.advanced-sidebar-menu-open .advanced-sidebar-menu-column-box,\n.advanced-sidebar-menu-open .widget-control-actions {\n  display: none\n}\n.advanced-sidebar-widget-documentation {\n  text-align: right\n}\n.advanced-sidebar-widget-documentation a {\n  color: #0073aa !important;\n  font-size: 13px\n}\n/*\n* Media Queries\n*\n------------------------------------------ */\n/**\n * Elementor\n *\n ----------------------------------------------*/\n.elementor-control-content .advanced-sidebar-menu-column {\n  width: 100%\n}\n.elementor-control-content .advanced-sidebar-menu-column-right {\n  margin-left: 0\n}\n.elementor-control-content .advanced-sidebar-menu-column-box select,\n.elementor-control-content .advanced-sidebar-menu-column-box input[type='text'],\n.elementor-control-content .advanced-sidebar-menu-column-box input[type='number'],\n.elementor-control-content .advanced-sidebar-menu-column-box .widefat {\n  background: #fff;\n  color: #000;\n  width: 100%\n}\n.elementor-control-content .advanced-sidebar-menu-column-box p {\n  margin-bottom: 8px\n}\n.elementor-control-content .advanced-sidebar-menu-column-box .wp-picker-container input[type='text'].wp-color-picker {\n  font-weight: 600;\n  min-height: auto;\n  padding: 0 5px\n}\n.elementor-control-content .advanced-sidebar-menu-column-box .advanced-sidebar-menu-border-color .wp-color-result {\n  position: relative;\n  top: 7px\n}\n.elementor-control-content .advanced-sidebar-menu-column-box h3 {\n  font-size: 17px;\n  line-height: 22px;\n  margin: 10px 0\n}\n.elementor-control-content .advanced-sidebar-menu-column-box .description {\n  margin: 8px 0 !important\n}\n.elementor-control-content .advanced-sidebar-info-panel {\n  overflow: hidden\n}\n.elementor-control-content .advanced-sidebar-info-panel h3 {\n  cursor: pointer;\n  font-size: 18px !important;\n  margin: 0 0 8px !important\n}\n.elementor-control-content .advanced-sidebar-info-panel ol {\n  height: 0;\n  margin: 0 !important;\n  opacity: 0;\n  overflow-y: hidden;\n  padding: 0 0 0 12px !important;\n  transition: opacity .6s;\n  z-index: 1\n}\n.elementor-control-content .advanced-sidebar-info-panel.open ol {\n  height: auto;\n  margin: 13px !important;\n  opacity: 1\n}\n.elementor-control-content .advanced-sidebar-info-panel .button-primary {\n  position: relative;\n  z-index: 2\n}\n.elementor-control-content .advanced-sidebar-preview-trigger {\n  display: none\n}\n.elementor-control-content .advanced-sidebar-menu-accordion-wrap select {\n  margin: 0 0 4px\n}\n.elementor-control-content .advanced-sidebar-menu-styles-box .advanced-sidebar-menu-column {\n  width: 49% !important\n}\n.elementor-control-content .advanced-sidebar-menu-styles-box .wp-picker-active {\n  margin: 30px 0 10px calc(-100% - 5px) !important;\n  width: 198%\n}\n/**\n * Beaver Builder\n *\n ----------------------------------------------*/\n.fl-field-control-wrapper .advanced-sidebar-menu-column {\n  margin-left: -20px !important;\n  width: calc(100% + 20px) !important\n}\n.fl-field-control-wrapper .advanced-sidebar-menu-column .advanced-sidebar-menu-column {\n  margin-left: 0 !important\n}\n.fl-field-control-wrapper .advanced-sidebar-menu-styles-button {\n  margin: 6px auto 18px auto !important;\n  margin-left: -20px !important;\n  width: 100%\n}\n.fl-field-control-wrapper .advanced-sidebar-menu-styles-button > div {\n  text-align: center;\n  width: 100%\n}\n.fl-field-control-wrapper .advanced-sidebar-menu-styles-button button {\n  border: 1px solid var(--fl-builder-muted-accent-color, #555d66) !important\n}\n.fl-field-control-wrapper .advanced-sidebar-menu-column select {\n  width: 90% !important\n}\n.fl-field-control-wrapper .advanced-sidebar-menu-column-right {\n  margin-left: 0\n}\n.fl-field-control-wrapper .advanced-sidebar-menu-column-box .widefat {\n  text-align: center;\n  width: 90%\n}\n.fl-field-control-wrapper .advanced-sidebar-menu-column-box h3 {\n  font-size: 17px;\n  margin: 10px 0\n}\n.fl-field-control-wrapper .advanced-sidebar-menu-column-box input {\n  margin: 0 !important\n}\n.fl-field-control-wrapper .advanced-sidebar-menu-column-box label {\n  display: inline !important;\n  font-weight: 500;\n  vertical-align: middle !important\n}\n.fl-field-control-wrapper .advanced-sidebar-menu-column-box input[type='checkbox'] {\n  vertical-align: middle !important\n}\n.fl-field-control-wrapper .advanced-sidebar-menu-column-box .wp-color-result-text {\n  color: #555;\n  line-height: 2.545\n}\n.fl-field-control-wrapper .advanced-sidebar-menu-column-box .wp-picker-container input[type='text'].wp-color-picker {\n  margin: 0 6px 0 0 !important\n}\n.fl-field-control-wrapper .advanced-sidebar-menu-column-box .wp-picker-active {\n  margin: 5px 0 10px 0 !important;\n  width: 100%\n}\n.fl-field-control-wrapper .advanced-sidebar-menu-column-box .wp-picker-active input {\n  position: relative;\n  top: -3px\n}\n.fl-field-control-wrapper .advanced-sidebar-menu-column-box .wp-picker-active .wp-picker-clear {\n  position: relative;\n  top: 0\n}\n.fl-field-control-wrapper .advanced-sidebar-menu-column-box .description em {\n  color: #50575e\n}\n.fl-field-control-wrapper .advanced-sidebar-info-panel {\n  overflow: hidden\n}\n.fl-field-control-wrapper .advanced-sidebar-info-panel h3 {\n  cursor: pointer;\n  font-size: 18px !important;\n  margin: 0 0 -5px !important\n}\n.fl-field-control-wrapper .advanced-sidebar-info-panel ol {\n  height: 0;\n  margin: 0 !important;\n  opacity: 0;\n  overflow-y: hidden;\n  padding: 12px 0 0 40px !important;\n  transition: opacity .6s;\n  z-index: 1\n}\n.fl-field-control-wrapper .advanced-sidebar-info-panel.open ol {\n  height: auto;\n  margin: 13px 7px 16px -14px !important;\n  opacity: 1\n}\n.fl-field-control-wrapper .advanced-sidebar-info-panel .button-primary {\n  margin: 0 0 4px 0;\n  position: relative;\n  z-index: 2\n}\n.fl-field-control-wrapper .advanced-sidebar-preview-trigger {\n  display: none\n}\n.fl-field-control-wrapper .advanced-sidebar-levels {\n  margin: -8px 0 4px !important\n}\n.fl-field-control-wrapper .advanced-sidebar-menu-styles-box .advanced-sidebar-menu-column {\n  width: 49% !important\n}\n.fl-field-control-wrapper .advanced-sidebar-menu-styles-box .wp-picker-active {\n  margin: 30px 0 10px calc(-100% - 5px) !important;\n  width: 198%\n}\n/**\n * Customizer\n *\n ------------------------------------- */\n.wp-customizer .advanced-sidebar-menu-icon-preview {\n  margin: 5px 0 0 5px\n}\n.wp-customizer .advanced-sidebar-menu-column {\n  width: 100%\n}\n.wp-customizer .advanced-sidebar-menu-column .advanced-sidebar-menu-column {\n  width: 49%\n}\n.wp-customizer .advanced-sidebar-menu-column-right {\n  margin-left: 0\n}\n.wp-customizer .advanced-sidebar-info-panel {\n  overflow: hidden\n}\n.wp-customizer .advanced-sidebar-info-panel h3 {\n  cursor: pointer\n}\n.wp-customizer .advanced-sidebar-info-panel ol {\n  height: 0;\n  margin: 0 !important;\n  opacity: 0;\n  overflow-y: hidden;\n  padding: 0 0 0 12px !important;\n  transition: opacity .6s;\n  z-index: 1\n}\n.wp-customizer .advanced-sidebar-info-panel.open ol {\n  height: auto;\n  margin: 13px 13px 4px !important;\n  opacity: 1\n}\n.wp-customizer .advanced-sidebar-preview-trigger {\n  display: none\n}\n.wp-customizer .wp-picker-container .wp-color-result.button {\n  margin: 0 6px 6px 0\n}\n@media (any-hover: hover) {\n  .advanced-sidebar-menu-close-icon:hover {\n    color: #000\n  }\n}\n@media (prefers-color-scheme: dark) {\n  .elementor-control-content .advanced-sidebar-menu-column-box {\n    background-color: #404349 !important;\n    color: #e0e1e3 !important\n  }\n}\n@media all and (max-width: 960px) {\n  .advanced-sidebar-menu-column {\n    width: 100%\n  }\n  .advanced-sidebar-menu-column .advanced-sidebar-menu-column {\n    width: 49%\n  }\n  .advanced-sidebar-menu-column-right {\n    margin-left: 0\n  }\n  .advanced-sidebar-menu-column .advanced-sidebar-menu-column-right {\n    margin-left: 2%\n  }\n  .advanced-sidebar-desktop-only {\n    display: none !important\n  }\n  .advanced-sidebar-menu-open .advanced-sidebar-menu-column-box {\n    display: inherit\n  }\n}\n@media all and (max-width: 782px) {\n  .advanced-sidebar-menu-column-box .description {\n    margin: 4px 0 8px !important\n  }\n  .advanced-sidebar-menu-styles-box .advanced-sidebar-menu-column select,\n  .advanced-sidebar-menu-styles-box .advanced-sidebar-menu-column input {\n    width: 145px !important\n  }\n  .advanced-sidebar-menu-styles-box .advanced-sidebar-menu-column select.asm-color-select,\n  .advanced-sidebar-menu-styles-box .advanced-sidebar-menu-column input.asm-color-select {\n    width: 75px !important\n  }\n  .advanced-sidebar-menu-links-expand-all {\n    margin: 12px 0 4px !important\n  }\n  .advanced-sidebar-menu-links-expand-all li {\n    margin-bottom: 8px\n  }\n  .elementor-control-content .advanced-sidebar-menu-styles-box .advanced-sidebar-menu-column {\n    width: 100% !important\n  }\n  .elementor-control-content .advanced-sidebar-menu-styles-box .wp-picker-active {\n    margin: 0 0 10px !important\n  }\n  .elementor-control-content .advanced-sidebar-menu-styles-box .wp-picker-open + .wp-picker-input-wrap {\n    display: block\n  }\n  .fl-field-control-wrapper .advanced-sidebar-menu-column-box .description {\n    margin: 4px 0 0 !important\n  }\n  .fl-field-control-wrapper .advanced-sidebar-levels {\n    margin: -8px 0 4px !important\n  }\n  .fl-field-control-wrapper .advanced-sidebar-levels li {\n    margin-bottom: 2px\n  }\n  .wp-customizer .advanced-sidebar-menu-column .wp-picker-container {\n    margin-bottom: 8px\n  }\n}"],"names":[],"sourceRoot":""}
     1{"version":3,"file":"advanced-sidebar-menu-admin.css","mappings":";;;AAAA;;;;gDAIgD;AAChD;EACE,WAAW;EACX;AACF;AACA;EACE;AACF;AACA;EACE,mBAAmB;EACnB,sBAAsB;EACtB,mBAAmB;EACnB;AACF;AACA;EACE,eAAe;EACf,2BAA2B;EAC3B;AACF;AACA;EACE,4BAA4B;EAC5B;AACF;AACA;EACE,0BAA0B;EAC1B;AACF;AACA;EACE,cAAc;EACd,cAAc;EACd,eAAe;EACf,4BAA4B;EAC5B,4BAA4B;EAC5B;AACF;AACA;EACE;AACF;AACA;;;EAGE;AACF;AACA;EACE,gCAAgC;EAChC,oCAAoC;EACpC;AACF;AACA;;EAEE;AACF;AACA;EACE;AACF;AACA;EACE,yBAAyB;EACzB,4BAA4B;EAC5B;AACF;AACA;EACE,gBAAgB;EAChB,yBAAyB;EACzB,0BAA0B;EAC1B,2BAA2B;EAC3B,mBAAmB;EACnB,4BAA4B;EAC5B,4BAA4B;EAC5B;AACF;AACA;EACE,qCAAqC;EACrC;AACF;AACA;EACE,eAAe;EACf,uBAAuB;EACvB,6BAA6B;EAC7B;AACF;AACA;EACE,gBAAgB;EAChB,yBAAyB;EACzB;AACF;AACA;;EAEE,kBAAkB;EAClB;AACF;AACA;EACE,sBAAsB;EACtB;AACF;AACA;EACE;AACF;AACA;EACE,WAAW;EACX;AACF;AACA;EACE;AACF;AACA;;EAEE,0BAA0B;EAC1B;AACF;AACA;EACE;AACF;AACA;EACE,6BAA6B;EAC7B;AACF;AACA;EACE,cAAc;EACd,2BAA2B;EAC3B;AACF;AACA;;;wDAGwD;AACxD,0DAA0D;AAC1D;EACE;AACF;AACA;EACE,gCAAgC;EAChC;AACF;AACA;EACE,gCAAgC;EAChC,uBAAuB;EACvB,yBAAyB;EACzB,4BAA4B;EAC5B,8BAA8B;EAC9B,8BAA8B;EAC9B;AACF;AACA;;;wDAGwD;AACxD;EACE,qBAAqB;EACrB;AACF;AACA;;;EAGE,yBAAyB;EACzB;AACF;AACA;EACE,eAAe;EACf;AACF;AACA;;EAEE,yBAAyB;EACzB,4BAA4B;EAC5B;AACF;AACA;EACE;AACF;AACA;EACE,eAAe;EACf,aAAa;EACb,eAAe;EACf,iBAAiB;EACjB,kBAAkB;EAClB,WAAW;EACX;AACF;AACA;EACE;AACF;AACA;EACE,gBAAgB;EAChB,8BAA8B;EAC9B;AACF;AACA;EACE;AACF;AACA;EACE;AACF;AACA;;EAEE;AACF;AACA;EACE;AACF;AACA;EACE,yBAAyB;EACzB;AACF;AACA;;;4CAG4C;AAC5C;;;gDAGgD;AAChD;EACE;AACF;AACA;EACE;AACF;AACA;;;;EAIE,gBAAgB;EAChB,WAAW;EACX;AACF;AACA;EACE;AACF;AACA;EACE,gBAAgB;EAChB,gBAAgB;EAChB;AACF;AACA;EACE,kBAAkB;EAClB;AACF;AACA;EACE,eAAe;EACf,iBAAiB;EACjB;AACF;AACA;EACE;AACF;AACA;EACE;AACF;AACA;EACE,eAAe;EACf,0BAA0B;EAC1B;AACF;AACA;EACE,SAAS;EACT,oBAAoB;EACpB,UAAU;EACV,kBAAkB;EAClB,8BAA8B;EAC9B,uBAAuB;EACvB;AACF;AACA;EACE,YAAY;EACZ,uBAAuB;EACvB;AACF;AACA;EACE,kBAAkB;EAClB;AACF;AACA;EACE;AACF;AACA;EACE;AACF;AACA;EACE;AACF;AACA;EACE,gDAAgD;EAChD;AACF;AACA;;;gDAGgD;AAChD;EACE,6BAA6B;EAC7B;AACF;AACA;EACE;AACF;AACA;EACE,qCAAqC;EACrC,6BAA6B;EAC7B;AACF;AACA;EACE,kBAAkB;EAClB;AACF;AACA;EACE;AACF;AACA;EACE;AACF;AACA;EACE;AACF;AACA;EACE,kBAAkB;EAClB;AACF;AACA;EACE,eAAe;EACf;AACF;AACA;EACE;AACF;AACA;EACE,0BAA0B;EAC1B,gBAAgB;EAChB;AACF;AACA;EACE;AACF;AACA;EACE,WAAW;EACX;AACF;AACA;EACE;AACF;AACA;EACE,+BAA+B;EAC/B;AACF;AACA;EACE,kBAAkB;EAClB;AACF;AACA;EACE,kBAAkB;EAClB;AACF;AACA;EACE;AACF;AACA;EACE;AACF;AACA;EACE,eAAe;EACf,0BAA0B;EAC1B;AACF;AACA;EACE,SAAS;EACT,oBAAoB;EACpB,UAAU;EACV,kBAAkB;EAClB,iCAAiC;EACjC,uBAAuB;EACvB;AACF;AACA;EACE,YAAY;EACZ,sCAAsC;EACtC;AACF;AACA;EACE,iBAAiB;EACjB,kBAAkB;EAClB;AACF;AACA;EACE;AACF;AACA;EACE;AACF;AACA;EACE;AACF;AACA;EACE,gDAAgD;EAChD;AACF;AACA;;;wCAGwC;AACxC;EACE;AACF;AACA;EACE;AACF;AACA;EACE;AACF;AACA;EACE;AACF;AACA;EACE;AACF;AACA;EACE;AACF;AACA;EACE,SAAS;EACT,oBAAoB;EACpB,UAAU;EACV,kBAAkB;EAClB,8BAA8B;EAC9B,uBAAuB;EACvB;AACF;AACA;EACE,YAAY;EACZ,gCAAgC;EAChC;AACF;AACA;EACE;AACF;AACA;EACE;AACF;AACA;EACE;IACE;EACF;AACF;AACA;EACE;IACE,oCAAoC;IACpC;EACF;AACF;AACA;EACE;IACE;EACF;EACA;IACE;EACF;EACA;IACE;EACF;EACA;IACE;EACF;EACA;IACE;EACF;EACA;IACE;EACF;AACF;AACA;EACE;IACE;EACF;EACA;;IAEE;EACF;EACA;;IAEE;EACF;EACA;IACE;EACF;EACA;IACE;EACF;EACA;IACE;EACF;EACA;IACE;EACF;EACA;IACE;EACF;EACA;IACE;EACF;EACA;IACE;EACF;EACA;IACE;EACF;EACA;IACE;EACF;AACF,C","sources":["webpack://@onpointplugins/advanced-sidebar-menu/./js/src/pcss/%3Cinput%20css%20A7b4Z-%3E"],"sourcesContent":["/**\n * Admin styles for widgets and some light\n * styles used by blocks.\n *\n ----------------------------------------------*/\n.advanced-sidebar-menu-column {\n  float: left;\n  width: 49%\n}\n.advanced-sidebar-menu-column-right {\n  margin-left: 2%\n}\n.advanced-sidebar-menu-column-box {\n  background: #f1f1f1;\n  border: 1px solid #ddd;\n  margin-bottom: 10px;\n  padding: 10px\n}\n.advanced-sidebar-menu-column-box h3 {\n  font-size: 17px;\n  font-weight: 600 !important;\n  margin: 17px 0 !important\n}\n.advanced-sidebar-menu-column-box p {\n  line-height: 19px !important;\n  padding: 0 !important\n}\n.advanced-sidebar-menu-column-box label {\n  display: inline !important;\n  line-height: 19px !important\n}\n.advanced-sidebar-menu-column-box .description {\n  color: #646970;\n  display: block;\n  font-size: 12px;\n  line-height: 14px !important;\n  margin: 4px 0 0 0 !important;\n  padding: 0 !important\n}\n.advanced-sidebar-menu-column-box .advanced-sidebar-menu-column a {\n  color: #0073aa !important\n}\n.advanced-sidebar-menu-column-box select,\n.advanced-sidebar-menu-column-box input[type='number'],\n.advanced-sidebar-menu-column-box input[type='text'] {\n  background-color: #fff !important\n}\n.advanced-sidebar-menu-column-box select {\n  display: inline-block !important;\n  padding: 4px 24px 4px 8px !important;\n  width: auto !important\n}\n.advanced-sidebar-menu-column-box select,\n.advanced-sidebar-menu-column-box input[type='text'] {\n  line-height: 1.5 !important\n}\n.advanced-sidebar-menu-column-box input[type='text'] {\n  padding: 4px 8px !important\n}\n.advanced-sidebar-menu-column-box select.widefat {\n  display: block !important;\n  margin: 4px 0 0 0 !important;\n  width: 100% !important\n}\n.advanced-sidebar-info-panel h3 {\n  box-shadow: none;\n  color: #3db634 !important;\n  font-size: 20px !important;\n  font-weight: 700 !important;\n  letter-spacing: 2px;\n  line-height: 22px !important;\n  margin: 3px 0 0 0 !important;\n  text-align: center !important\n}\n.advanced-sidebar-info-panel ol {\n  margin: 10px 13px 8px 26px !important;\n  padding: 0 !important\n}\n.advanced-sidebar-info-panel li {\n  font-size: 13px;\n  line-height: 1.23076923;\n  list-style: square !important;\n  margin: 0 0 6px 0 !important\n}\n.advanced-sidebar-info-panel li a {\n  box-shadow: none;\n  color: #0073aa !important;\n  text-decoration: none\n}\n.advanced-sidebar-info-panel .button-primary,\n.advanced-sidebar-info-panel .button-secondary {\n  text-align: center;\n  width: 100%\n}\n.advanced-sidebar-info-panel .button-primary {\n  color: #fff !important;\n  margin: 15px 0 15px 0\n}\n.advanced-sidebar-info-panel .button-secondary {\n  margin: 0 0 11px 0\n}\n.advanced-sidebar-menu-full-width {\n  clear: both;\n  width: 100%\n}\n.advanced-sidebar-menu-styles-box {\n  padding: 0 10px 10px\n}\n.advanced-sidebar-menu-styles-box .advanced-sidebar-menu-column select,\n.advanced-sidebar-menu-styles-box .advanced-sidebar-menu-column input {\n  margin: 0 0 6px !important;\n  width: 103px !important\n}\n.advanced-sidebar-menu-styles-box .wp-picker-active {\n  margin: 30px 0 10px calc(-100% - 5px) !important\n}\n.advanced-sidebar-menu-links-expand-all {\n  margin: -4px 0 4px !important;\n  padding: 0 !important\n}\n.advanced-sidebar-menu-links-expand-all li {\n  line-height: 1;\n  list-style: none !important;\n  margin-bottom: 2px\n}\n/**\n * Color pickers\n *\n * --------------------------------------------------- */\n/* stylelint-disable-line -- allowing duplicate selector */\n.advanced-sidebar-menu-column .wp-color-result-text {\n  background: #fff\n}\n.advanced-sidebar-menu-column .asm-color-select {\n  display: inline-block !important;\n  width: 100px !important\n}\n.advanced-sidebar-menu-column .wp-picker-active .wp-picker-clear {\n  display: inline-block !important;\n  height: 30px !important;\n  line-height: 1 !important;\n  margin: 0 0 0 6px !important;\n  min-height: inherit !important;\n  vertical-align: top !important;\n  width: auto !important\n}\n/**\n * Preview\n *\n * --------------------------------------------------- */\n.advanced-sidebar-menu-icon-preview {\n  display: inline-block;\n  margin: 0 0 0 5px\n}\n.advanced-sidebar-menu-icon-preview g,\n.advanced-sidebar-menu-icon-preview path,\n.advanced-sidebar-menu-icon-preview svg {\n  color: inherit !important;\n  fill: currentcolor !important\n}\n.advanced-sidebar-menu-icon-preview .dashicons {\n  font-size: 25px;\n  outline: none !important\n}\n.advanced-sidebar-menu-block-field,\nselect.advanced-sidebar-menu-block-field {\n  display: block !important;\n  margin: 5px 0 0 0 !important;\n  width: 100% !important\n}\n.advanced-sidebar-menu-styles-button {\n  text-align: center\n}\n.advanced-sidebar-menu-close-icon {\n  cursor: pointer;\n  display: none;\n  font-size: 40px;\n  margin: 5px 0 0 0;\n  position: absolute;\n  right: 40px;\n  transition: all 300ms linear\n}\n.block-editor-page .advanced-sidebar-menu-close-icon {\n  right: 25px\n}\n.advanced-sidebar-menu-preview-image {\n  background: #fff;\n  transition: width 300ms linear;\n  width: 0\n}\n.advanced-sidebar-menu-preview-wrap {\n  height: 0\n}\n.advanced-sidebar-menu-open .advanced-sidebar-menu-preview-wrap {\n  height: auto\n}\n.advanced-sidebar-menu-open .advanced-sidebar-menu-column-box,\n.advanced-sidebar-menu-open .widget-control-actions {\n  display: none\n}\n.advanced-sidebar-widget-documentation {\n  text-align: right\n}\n.advanced-sidebar-widget-documentation a {\n  color: #0073aa !important;\n  font-size: 13px\n}\n/*\n* Media Queries\n*\n------------------------------------------ */\n/**\n * Elementor\n *\n ----------------------------------------------*/\n.elementor-control-content .advanced-sidebar-menu-column {\n  width: 100%\n}\n.elementor-control-content .advanced-sidebar-menu-column-right {\n  margin-left: 0\n}\n.elementor-control-content .advanced-sidebar-menu-column-box select,\n.elementor-control-content .advanced-sidebar-menu-column-box input[type='text'],\n.elementor-control-content .advanced-sidebar-menu-column-box input[type='number'],\n.elementor-control-content .advanced-sidebar-menu-column-box .widefat {\n  background: #fff;\n  color: #000;\n  width: 100%\n}\n.elementor-control-content .advanced-sidebar-menu-column-box p {\n  margin-bottom: 8px\n}\n.elementor-control-content .advanced-sidebar-menu-column-box .wp-picker-container input[type='text'].wp-color-picker {\n  font-weight: 600;\n  min-height: auto;\n  padding: 0 5px\n}\n.elementor-control-content .advanced-sidebar-menu-column-box .advanced-sidebar-menu-border-color .wp-color-result {\n  position: relative;\n  top: 7px\n}\n.elementor-control-content .advanced-sidebar-menu-column-box h3 {\n  font-size: 17px;\n  line-height: 22px;\n  margin: 10px 0\n}\n.elementor-control-content .advanced-sidebar-menu-column-box .description {\n  margin: 8px 0 !important\n}\n.elementor-control-content .advanced-sidebar-info-panel {\n  overflow: hidden\n}\n.elementor-control-content .advanced-sidebar-info-panel h3 {\n  cursor: pointer;\n  font-size: 18px !important;\n  margin: 0 0 8px !important\n}\n.elementor-control-content .advanced-sidebar-info-panel ol {\n  height: 0;\n  margin: 0 !important;\n  opacity: 0;\n  overflow-y: hidden;\n  padding: 0 0 0 12px !important;\n  transition: opacity .6s;\n  z-index: 1\n}\n.elementor-control-content .advanced-sidebar-info-panel.open ol {\n  height: auto;\n  margin: 13px !important;\n  opacity: 1\n}\n.elementor-control-content .advanced-sidebar-info-panel .button-primary {\n  position: relative;\n  z-index: 2\n}\n.elementor-control-content .advanced-sidebar-preview-trigger {\n  display: none\n}\n.elementor-control-content .advanced-sidebar-menu-accordion-wrap select {\n  margin: 0 0 4px\n}\n.elementor-control-content .advanced-sidebar-menu-styles-box .advanced-sidebar-menu-column {\n  width: 49% !important\n}\n.elementor-control-content .advanced-sidebar-menu-styles-box .wp-picker-active {\n  margin: 30px 0 10px calc(-100% - 5px) !important;\n  width: 198%\n}\n/**\n * Beaver Builder\n *\n ----------------------------------------------*/\n.fl-field-control-wrapper .advanced-sidebar-menu-column {\n  margin-left: -20px !important;\n  width: calc(100% + 20px) !important\n}\n.fl-field-control-wrapper .advanced-sidebar-menu-column .advanced-sidebar-menu-column {\n  margin-left: 0 !important\n}\n.fl-field-control-wrapper .advanced-sidebar-menu-styles-button {\n  margin: 6px auto 18px auto !important;\n  margin-left: -20px !important;\n  width: 100%\n}\n.fl-field-control-wrapper .advanced-sidebar-menu-styles-button > div {\n  text-align: center;\n  width: 100%\n}\n.fl-field-control-wrapper .advanced-sidebar-menu-styles-button button {\n  border: 1px solid var(--fl-builder-muted-accent-color, #555d66) !important\n}\n.fl-field-control-wrapper .advanced-sidebar-menu-column select {\n  width: 90% !important\n}\n.fl-field-control-wrapper .advanced-sidebar-menu-column-right {\n  margin-left: 0\n}\n.fl-field-control-wrapper .advanced-sidebar-menu-column-box .widefat {\n  text-align: center;\n  width: 90%\n}\n.fl-field-control-wrapper .advanced-sidebar-menu-column-box h3 {\n  font-size: 17px;\n  margin: 10px 0\n}\n.fl-field-control-wrapper .advanced-sidebar-menu-column-box input {\n  margin: 0 !important\n}\n.fl-field-control-wrapper .advanced-sidebar-menu-column-box label {\n  display: inline !important;\n  font-weight: 500;\n  vertical-align: middle !important\n}\n.fl-field-control-wrapper .advanced-sidebar-menu-column-box input[type='checkbox'] {\n  vertical-align: middle !important\n}\n.fl-field-control-wrapper .advanced-sidebar-menu-column-box .wp-color-result-text {\n  color: #555;\n  line-height: 2.545\n}\n.fl-field-control-wrapper .advanced-sidebar-menu-column-box .wp-picker-container input[type='text'].wp-color-picker {\n  margin: 0 6px 0 0 !important\n}\n.fl-field-control-wrapper .advanced-sidebar-menu-column-box .wp-picker-active {\n  margin: 5px 0 10px 0 !important;\n  width: 100%\n}\n.fl-field-control-wrapper .advanced-sidebar-menu-column-box .wp-picker-active input {\n  position: relative;\n  top: -3px\n}\n.fl-field-control-wrapper .advanced-sidebar-menu-column-box .wp-picker-active .wp-picker-clear {\n  position: relative;\n  top: 0\n}\n.fl-field-control-wrapper .advanced-sidebar-menu-column-box .description em {\n  color: #50575e\n}\n.fl-field-control-wrapper .advanced-sidebar-info-panel {\n  overflow: hidden\n}\n.fl-field-control-wrapper .advanced-sidebar-info-panel h3 {\n  cursor: pointer;\n  font-size: 18px !important;\n  margin: 0 0 -5px !important\n}\n.fl-field-control-wrapper .advanced-sidebar-info-panel ol {\n  height: 0;\n  margin: 0 !important;\n  opacity: 0;\n  overflow-y: hidden;\n  padding: 12px 0 0 40px !important;\n  transition: opacity .6s;\n  z-index: 1\n}\n.fl-field-control-wrapper .advanced-sidebar-info-panel.open ol {\n  height: auto;\n  margin: 13px 7px 16px -14px !important;\n  opacity: 1\n}\n.fl-field-control-wrapper .advanced-sidebar-info-panel .button-primary {\n  margin: 0 0 4px 0;\n  position: relative;\n  z-index: 2\n}\n.fl-field-control-wrapper .advanced-sidebar-preview-trigger {\n  display: none\n}\n.fl-field-control-wrapper .advanced-sidebar-levels {\n  margin: -8px 0 4px !important\n}\n.fl-field-control-wrapper .advanced-sidebar-menu-styles-box .advanced-sidebar-menu-column {\n  width: 49% !important\n}\n.fl-field-control-wrapper .advanced-sidebar-menu-styles-box .wp-picker-active {\n  margin: 30px 0 10px calc(-100% - 5px) !important;\n  width: 198%\n}\n/**\n * Customizer\n *\n ------------------------------------- */\n.wp-customizer .advanced-sidebar-menu-icon-preview {\n  margin: 5px 0 0 5px\n}\n.wp-customizer .advanced-sidebar-menu-column {\n  width: 100%\n}\n.wp-customizer .advanced-sidebar-menu-column .advanced-sidebar-menu-column {\n  width: 49%\n}\n.wp-customizer .advanced-sidebar-menu-column-right {\n  margin-left: 0\n}\n.wp-customizer .advanced-sidebar-info-panel {\n  overflow: hidden\n}\n.wp-customizer .advanced-sidebar-info-panel h3 {\n  cursor: pointer\n}\n.wp-customizer .advanced-sidebar-info-panel ol {\n  height: 0;\n  margin: 0 !important;\n  opacity: 0;\n  overflow-y: hidden;\n  padding: 0 0 0 12px !important;\n  transition: opacity .6s;\n  z-index: 1\n}\n.wp-customizer .advanced-sidebar-info-panel.open ol {\n  height: auto;\n  margin: 13px 13px 4px !important;\n  opacity: 1\n}\n.wp-customizer .advanced-sidebar-preview-trigger {\n  display: none\n}\n.wp-customizer .wp-picker-container .wp-color-result.button {\n  margin: 0 6px 6px 0\n}\n@media (any-hover: hover) {\n  .advanced-sidebar-menu-close-icon:hover {\n    color: #000\n  }\n}\n@media (prefers-color-scheme: dark) {\n  .elementor-control-content .advanced-sidebar-menu-column-box {\n    background-color: #404349 !important;\n    color: #e0e1e3 !important\n  }\n}\n@media all and (max-width: 960px) {\n  .advanced-sidebar-menu-column {\n    width: 100%\n  }\n  .advanced-sidebar-menu-column .advanced-sidebar-menu-column {\n    width: 49%\n  }\n  .advanced-sidebar-menu-column-right {\n    margin-left: 0\n  }\n  .advanced-sidebar-menu-column .advanced-sidebar-menu-column-right {\n    margin-left: 2%\n  }\n  .advanced-sidebar-desktop-only {\n    display: none !important\n  }\n  .advanced-sidebar-menu-open .advanced-sidebar-menu-column-box {\n    display: inherit\n  }\n}\n@media all and (max-width: 782px) {\n  .advanced-sidebar-menu-column-box .description {\n    margin: 4px 0 8px !important\n  }\n  .advanced-sidebar-menu-styles-box .advanced-sidebar-menu-column select,\n  .advanced-sidebar-menu-styles-box .advanced-sidebar-menu-column input {\n    width: 145px !important\n  }\n  .advanced-sidebar-menu-styles-box .advanced-sidebar-menu-column select.asm-color-select,\n  .advanced-sidebar-menu-styles-box .advanced-sidebar-menu-column input.asm-color-select {\n    width: 75px !important\n  }\n  .advanced-sidebar-menu-links-expand-all {\n    margin: 12px 0 4px !important\n  }\n  .advanced-sidebar-menu-links-expand-all li {\n    margin-bottom: 8px\n  }\n  .elementor-control-content .advanced-sidebar-menu-styles-box .advanced-sidebar-menu-column {\n    width: 100% !important\n  }\n  .elementor-control-content .advanced-sidebar-menu-styles-box .wp-picker-active {\n    margin: 0 0 10px !important\n  }\n  .elementor-control-content .advanced-sidebar-menu-styles-box .wp-picker-open + .wp-picker-input-wrap {\n    display: block\n  }\n  .fl-field-control-wrapper .advanced-sidebar-menu-column-box .description {\n    margin: 4px 0 0 !important\n  }\n  .fl-field-control-wrapper .advanced-sidebar-levels {\n    margin: -8px 0 4px !important\n  }\n  .fl-field-control-wrapper .advanced-sidebar-levels li {\n    margin-bottom: 2px\n  }\n  .wp-customizer .advanced-sidebar-menu-column .wp-picker-container {\n    margin-bottom: 8px\n  }\n}"],"names":[],"sourceRoot":""}
  • advanced-sidebar-menu/trunk/js/dist/advanced-sidebar-menu-block-editor.css.map

    r3391412 r3391853  
    1 {"version":3,"file":"advanced-sidebar-menu-block-editor.css","mappings":";;;AAAA;EACE,yBAAyB;EACzB,8BAA8B;EAC9B,SAAS;EACT;AACF,C;;;;ACLA;EACE,0BAA0B;EAC1B;AACF;AACA;EACE,2BAA2B;EAC3B,sBAAsB;EACtB;AACF;AACA;EACE;AACF;AACA;EACE,2BAA2B;EAC3B,yBAAyB;EACzB,kBAAkB;EAClB;AACF;AACA;EACE,eAAe;EACf,YAAY;EACZ;AACF;AACA;EACE,YAAY;EACZ;AACF;AACA;EACE,2BAA2B;EAC3B;AACF;AACA;EACE,0BAA0B;EAC1B,eAAe;EACf,gBAAgB;EAChB,WAAW;EACX;AACF;AACA;EACE,iBAAiB;EACjB;AACF;AACA;EACE,SAAS;EACT,qBAAqB;EACrB,kBAAkB;EAClB;AACF;AACA;EACE;AACF,C;;;;AClDA;EACE;AACF;AACA;EACE,gBAAgB;EAChB;AACF;AACA;EACE,uBAAuB;EACvB;AACF,C;;;;ACVA;EACE,0BAA0B;EAC1B,gBAAgB;EAChB,WAAW;EACX;AACF,C","sources":["webpack://@onpointplugins/advanced-sidebar-menu/./js/src/components/%3Cinput%20css%20GZ8CzZ%3E","webpack://@onpointplugins/advanced-sidebar-menu/./js/src/gutenberg/blocks/%3Cinput%20css%20VgJuDa%3E","webpack://@onpointplugins/advanced-sidebar-menu/./js/src/gutenberg/blocks/%3Cinput%20css%20hH1WpJ%3E","webpack://@onpointplugins/advanced-sidebar-menu/./js/src/gutenberg/blocks/pages/%3Cinput%20css%20GLRElO%3E"],"sourcesContent":[".wrap {\n  border: 1px solid #e0e0e0;\n  border-left: 4px solid #72aee6;\n  margin: 0;\n  padding-right: 12px !important\n}",".wrap svg {\n  cursor: pointer !important;\n  pointer-events: unset !important\n}\n.placeholder :global(.components-placeholder__label) {\n  /* stylelint-disable-line */\n  flex-direction: column;\n  width: 100%\n}\n.placeholder :global(.components-placeholder__label) svg {\n  margin-bottom: 6px\n}\n.placeholder :global(.components-placeholder__instructions) {\n  /* stylelint-disable-line */\n  display: block !important;\n  text-align: center;\n  width: 100%\n}\n.placeholder :global(.dashicons) {\n  font-size: 30px;\n  height: 35px;\n  width: 35px\n}\n.placeholder svg {\n  height: 30px;\n  width: 30px\n}\n.placeholder :global(.components-placeholder__fieldset) {\n  /* stylelint-disable-line */\n  text-align: center\n}\n.error {\n  border: 4px double #d63638;\n  font-size: 14px;\n  font-weight: 600;\n  margin: 2px;\n  padding: 10px\n}\n.spin-wrap {\n  min-height: 100px;\n  position: relative\n}\n.spin {\n  left: 50%;\n  margin: -9px 0 0 -9px;\n  position: absolute;\n  top: 50%\n}\n.spin-content {\n  opacity: .2\n}",".wrap ul {\n  margin-block-end: 1em\n}\n.wrap li {\n  list-style: disc;\n  margin: 0 0 0 15px\n}\n.button {\n  justify-content: center;\n  width: 100%\n}",".error {\n  border: 4px double #d63638;\n  font-weight: 600;\n  margin: 2px;\n  padding: 10px\n}"],"names":[],"sourceRoot":""}
     1{"version":3,"file":"advanced-sidebar-menu-block-editor.css","mappings":";;;AAAA;EACE,yBAAyB;EACzB,8BAA8B;EAC9B,SAAS;EACT;AACF,C;;;;ACLA;EACE,0BAA0B;EAC1B;AACF;AACA;EACE,2BAA2B;EAC3B,sBAAsB;EACtB;AACF;AACA;EACE;AACF;AACA;EACE,2BAA2B;EAC3B,yBAAyB;EACzB,kBAAkB;EAClB;AACF;AACA;EACE,eAAe;EACf,YAAY;EACZ;AACF;AACA;EACE,YAAY;EACZ;AACF;AACA;EACE,2BAA2B;EAC3B;AACF;AACA;EACE,0BAA0B;EAC1B,eAAe;EACf,gBAAgB;EAChB,WAAW;EACX;AACF;AACA;EACE,iBAAiB;EACjB;AACF;AACA;EACE,SAAS;EACT,qBAAqB;EACrB,kBAAkB;EAClB;AACF;AACA;EACE;AACF,C;;;;AClDA;EACE;AACF;AACA;EACE,gBAAgB;EAChB;AACF;AACA;EACE,uBAAuB;EACvB;AACF,C;;;;ACVA;EACE,0BAA0B;EAC1B,gBAAgB;EAChB,WAAW;EACX;AACF,C","sources":["webpack://@onpointplugins/advanced-sidebar-menu/./js/src/components/%3Cinput%20css%20zJWa7r%3E","webpack://@onpointplugins/advanced-sidebar-menu/./js/src/gutenberg/blocks/%3Cinput%20css%20zFphe8%3E","webpack://@onpointplugins/advanced-sidebar-menu/./js/src/gutenberg/blocks/%3Cinput%20css%20el71tI%3E","webpack://@onpointplugins/advanced-sidebar-menu/./js/src/gutenberg/blocks/pages/%3Cinput%20css%20anZg3Y%3E"],"sourcesContent":[".wrap {\n  border: 1px solid #e0e0e0;\n  border-left: 4px solid #72aee6;\n  margin: 0;\n  padding-right: 12px !important\n}",".wrap svg {\n  cursor: pointer !important;\n  pointer-events: unset !important\n}\n.placeholder :global(.components-placeholder__label) {\n  /* stylelint-disable-line */\n  flex-direction: column;\n  width: 100%\n}\n.placeholder :global(.components-placeholder__label) svg {\n  margin-bottom: 6px\n}\n.placeholder :global(.components-placeholder__instructions) {\n  /* stylelint-disable-line */\n  display: block !important;\n  text-align: center;\n  width: 100%\n}\n.placeholder :global(.dashicons) {\n  font-size: 30px;\n  height: 35px;\n  width: 35px\n}\n.placeholder svg {\n  height: 30px;\n  width: 30px\n}\n.placeholder :global(.components-placeholder__fieldset) {\n  /* stylelint-disable-line */\n  text-align: center\n}\n.error {\n  border: 4px double #d63638;\n  font-size: 14px;\n  font-weight: 600;\n  margin: 2px;\n  padding: 10px\n}\n.spin-wrap {\n  min-height: 100px;\n  position: relative\n}\n.spin {\n  left: 50%;\n  margin: -9px 0 0 -9px;\n  position: absolute;\n  top: 50%\n}\n.spin-content {\n  opacity: .2\n}",".wrap ul {\n  margin-block-end: 1em\n}\n.wrap li {\n  list-style: disc;\n  margin: 0 0 0 15px\n}\n.button {\n  justify-content: center;\n  width: 100%\n}",".error {\n  border: 4px double #d63638;\n  font-weight: 600;\n  margin: 2px;\n  padding: 10px\n}"],"names":[],"sourceRoot":""}
  • advanced-sidebar-menu/trunk/js/dist/advanced-sidebar-menu-block-editor.js

    r3391412 r3391853  
    42814281          setAttributes: setAttributes,
    42824282          type: taxonomy,
    4283           children: [(0,_helpers__WEBPACK_IMPORTED_MODULE_14__.isScreen)(['post']) && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_17__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_10__.CheckboxControl
     4283          children: [!(0,_helpers__WEBPACK_IMPORTED_MODULE_14__.isScreen)(['post']) && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_17__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_10__.CheckboxControl
    42844284          /* translators: %s: Selected taxonomy plural label */, {
    42854285            label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_11__.sprintf)((0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_11__.__)('Display %s on single posts', 'advanced-sidebar-menu'), taxonomy?.labels?.name.toLowerCase() ?? ''),
  • advanced-sidebar-menu/trunk/js/dist/advanced-sidebar-menu-block-editor.js.map

    r3391412 r3391853  
    1 {"version":3,"file":"advanced-sidebar-menu-block-editor.js","mappings":";;;;;;;;;;AAAa;AACb,YAAY,mBAAO,CAAC,8BAAoB;AACxC,iBAAiB,mBAAO,CAAC,oCAA0B;;AAEnD;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;;;;;;;;;;;;;;;ACtBA;AACA,iEAAe,CAAC,oCAAoC,E;;;;;;;;;;;ACDpD,oC;;;;;;;;;;;;;;;AC0EO,MAAMA,MAAgC,GAAGC,MAAM,CAACC,qBAAqB,C;;;;;;;;;;;;;;;;;;;;;;;;AC1EzC;AACJ;AACc;AAEA;AAAA;AAItC,MAAMS,WAAW,GAAG,kDAAkD;;AAE7E;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAMC,eAAe,GAAGA,CAAE,CAAQ,CAAC,KAAM;EACxC,MAAM,CAAEC,KAAK,EAAEC,QAAQ,CAAE,GAAGV,+CAAQ,CAAW,IAAK,CAAC;EAErD,IAAK,CAAES,KAAK,EAAG;IACd,OAAO,IAAI;EACZ;EAEA,oBACCH,uDAAA,CAACL,yDAAM;IACNU,SAAS,EAAET,8DAAM,CAACU,IAAK;IACvBC,UAAU,EAAE,QAAS;IACrBC,SAAS,EAAEA,CAAA,KAAM;MAChBJ,QAAQ,CAAE,KAAM,CAAC;MACjBK,YAAY,CAACC,OAAO,CAAET,WAAW,EAAE,GAAI,CAAC;IACzC,CAAE;IACFU,OAAO,EAAE,CAAE;MACVC,KAAK,EAAEnB,mDAAE,CAAE,iDAAiD,EAAE,uBAAwB,CAAC;MACvFoB,GAAG,EAAE,sHAAsH;MAC3HC,OAAO,EAAE;IACV,CAAC,CAAG;IAAAC,QAAA,gBAEJjB,sDAAA;MAAMO,SAAS,EAAC;IAAkC,CAAE,CAAC,QACrD,EAACZ,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A0B;;AAEnD;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;;ACpBA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE;AACF;AACA;AACA;AACA;AACA,EAAE,UAAU;AACZ;AACA;AACA;AACA,EAAE;AACF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,2FAA2F,aAAa;AACxG;AACA;AACA;AACA;AACA;AACA;AACA;AACA,+FAA+F,eAAe;AAC9G;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,+FAA+F,eAAe;AAC9G;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,2EAA2E,eAAe;AAC1F;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,sBAAsB,sBAAsB;AAC5C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,8BAA8B,EAAE,iBAAiB,EAAE,MAAM;AACzD;AACA,8BAA8B,aAAa;AAC3C,wDAAwD;AACxD,0CAA0C;AAC1C;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA,KAAK;AACL,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;AACA,0CAA0C;AAC1C;AACA;AACA,0CAA0C;AAC1C;AACA;AACA,gBAAgB,sBAAsB;AACtC,gBAAgB,sBAAsB;AACtC,gBAAgB,SAAS;AACzB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,6CAA6C;AAC7C;AACA;AACA,2CAA2C;AAC3C;AACA;AACA,iDAAiD;AACjD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gDAAgD;AAChD,kDAAkD;AAClD,2CAA2C;AAC3C;AACA;AACA;AACA;AACA,kDAAkD;AAClD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,0EAA0E;AAC1E,0EAA0E;AAC1E,sFAAsF;AACtF;AACA;AACA,gFAAgF;AAChF,wEAAwE,gDAAgD;AACxH,wEAAwE,gDAAgD;AACxH;AACA,qDAAqD;AACrD,qDAAqD;AACrD,oEAAoE;AACpE,uEAAuE;AACvE,0DAA0D;AAC1D,+CAA+C;AAC/C,kDAAkD;AAClD,0CAA0C;AAC1C,4DAA4D;AAC5D,4DAA4D;AAC5D,0CAA0C;AAC1C,+CAA+C;AAC/C,8DAA8D;AAC9D,+CAA+C;AAC/C,sCAAsC;AACtC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gCAAgC;AAChC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kCAAkC;AAClC,qCAAqC;AACrC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP,MAAM;AACN;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAU;AACV,QAAQ;AACR;AACA;AACA,UAAU;AACV;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uCAAuC,QAAQ;AAC/C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,0CAA0C;AAC1C,oFAAoF,6DAA6D,8HAA8H;AAC/Q;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qTAAqT;AACrT;AACA;AACA;AACA,MAAM,wCAAwC,oFAAoF,oKAAoK,iHAAiH;AACvZ;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN,oCAAoC;AACpC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,yCAAyC;AACzC;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA,2CAA2C;AAC3C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,4BAA4B;AAC5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY;AACZ;AACA;AACA;AACA;AACA;AACA,YAAY;AACZ;AACA;AACA,UAAU;AACV;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA,QAAQ;AACR;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qBAAqB;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAE6B;AAC7B;;;;;;;;;;;;;;;;;;;;;;ACn2CiE;AAC1B;AACsE;AACrD;AACH;;AAGrD;;AAUA;AACA;AACA;AACA;AACA;AACA;AACA,iEAAe,MAAM;EACpB;EACAQ,iFAAc,CAAE,MAAMO,yBAAkD,EAAEE,MAAO,CAAC;;EAGlF;EACA,IAAK,EAAE,KAAK1C,MAAM,CAACC,qBAAqB,CAAC0C,KAAK,EAAG;IAChD;EACD;EACA3C,MAAM,CAACC,qBAAqB,CAACqC,aAAa,GAAGA,iEAAa;EAC1DtC,MAAM,CAACC,qBAAqB,CAACsC,cAAc,GAAGA,8DAAc;EAC5DvC,MAAM,CAACC,qBAAqB,CAACiC,OAAO,GAAGA,uDAAO;EAC9ClC,MAAM,CAACC,qBAAqB,CAACkC,gBAAgB,GAAGA,sDAAgB;EAChEnC,MAAM,CAACC,qBAAqB,CAACmC,qBAAqB,GAAGA,2DAAqB;EAC1EpC,MAAM,CAACC,qBAAqB,CAACoC,wBAAwB,GAAGA,8DAAwB;AACjF,CAAC,E;;;;;;;;;;;ACtCY;AACb,sBAAsB,mBAAO,CAAC,0CAAgC;;AAE9D;AACA;;AAEA;;AAEA;;;;;;;;;;;;ACRa;AACb,oBAAoB,mBAAO,CAAC,wCAA8B;;AAE1D;AACA;AACA;AACA;;;;;;;;;;;;ACNa;AACb,YAAY,mBAAO,CA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ACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,iGAAiG,eAAe;AAChH;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,MAAM;;;AAGN;AACA;AACA,KAAK,GAAG;;AAER,kDAAkD;AAClD;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA,4BAA4B;AAC5B;AACA,qCAAqC;;AAErC,gCAAgC;AAChC;AACA;;AAEA,gCAAgC;;AAEhC;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,IAAI;;;AAGJ;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,EAAE;;;AAGF;AACA;AACA,EAAE;;;AAGF;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,YAAY;AACZ;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uCAAuC;;AAEvC;AACA;AACA;AACA;AACA;AACA,SAAS;;AAET;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;;AAET;AACA,sBAAsB;AACtB;AACA,SAAS;AACT,uBAAuB;AACvB;AACA,SAAS;AACT,uBAAuB;AACvB;AACA,SAAS;AACT,wBAAwB;AACxB;AACA,SAAS;AACT,wBAAwB;AACxB;AACA,SAAS;AACT,iCAAiC;AACjC;AACA,SAAS;AACT,2BAA2B;AAC3B;AACA,SAAS;AACT,OAAO;AACP;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA,MAAM;;;AAGN;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,2DAA2D;;AAE3D;AACA;;AAEA;AACA,yDAAyD;AACzD;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;;;AAGT;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;;AAEP;AACA;AACA;AACA;AACA;AACA,UAAU;AACV;AACA;;AAEA;AACA,QAAQ;AACR;AACA;AACA,UAAU;AACV;AACA;;AAEA;AACA;AACA,MAAM;AACN;AACA;AACA,QAAQ;AACR;AACA;;AAEA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,aAAa,kBAAkB;AAC/B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB;AACnB;;AAEA;AACA;AACA,gFAAgF;AAChF;AACA;;;AAGA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,kBAAkB;;;AAGlB;AACA;AACA,cAAc;AACd;;AAEA;AACA;AACA;AACA;AACA,IAAI;AACJ;;AAEA;AACA;AACA;AACA;;AAEA;AACA,IAAI;;;AAGJ;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,YAAY;AACZ;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,8BAA8B;AAC9B;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,2HAA2H;AAC3H;AACA;AACA;;AAEA;AACA,UAAU;AACV;AACA;;AAEA;AACA;;AAEA,oEAAoE;;AAEpE;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA,iCAAiC;;AAEjC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE;;;AAGF;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,wCAAwC;AACxC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,GAAG;AACd,WAAW,GAAG;AACd,WAAW,GAAG;AACd,WAAW,eAAe;AAC1B,WAAW,GAAG;AACd,WAAW,GAAG;AACd;AACA;AACA;AACA;AACA,WAAW,GAAG;AACd;AACA;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,yBAAyB;AACzB;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK,GAAG;;AAER;AACA;AACA;AACA;AACA;AACA,KAAK,GAAG;AACR;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW,GAAG;AACd,WAAW,QAAQ;AACnB,WAAW,QAAQ;AACnB;;AAEA;AACA;AACA,kBAAkB;;AAElB;AACA;AACA,oBAAoB;AACpB,2DAA2D,UAAU;AACrE,yBAAyB,UAAU;AACnC;AACA,aAAa,UAAU;AACvB;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,MAAM;;;AAGN;AACA;AACA;AACA;AACA,MAAM;;;AAGN;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,SAAS;AACpB,YAAY,SAAS;AACrB;AACA;;;AAGA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AAGA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,cAAc;AACzB,WAAW,GAAG;AACd;;;AAGA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA,6DAA6D;AAC7D;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,WAAW;AACtB,WAAW,GAAG;AACd;;;AAGA;AACA;AACA;AACA;AACA;;AAEA;AACA,sBAAsB,iBAAiB;AACvC;;AAEA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA,MAAM;AACN;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,cAAc;AACzB;;;AAGA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA,MAAM;AACN;AACA;;AAEA;AACA;AACA;AACA;AACA,MAAM;AACN,4CAA4C;;AAE5C;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,cAAc;AACzB;;;AAGA;AACA;AACA;;AAEA,oBAAoB,iBAAiB;AACrC;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,8CAA8C;AAC9C;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA,QAAQ;AACR;AACA;;AAEA;;AAEA;AACA;AACA,QAAQ;AACR;AACA,QAAQ;AACR;AACA;AACA,QAAQ;AACR;AACA;;AAEA;AACA;;AAEA,0DAA0D;AAC1D;;AAEA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;;;AAGA;AACA;;AAEA;AACA;AACA;AACA,4BAA4B,qBAAqB;AACjD;AACA;;AAEA;AACA;AACA;AACA,YAAY;AACZ;AACA;AACA,UAAU;AACV;AACA;AACA;AACA;;AAEA;AACA;AACA,MAAM;AACN;AACA;;AAEA;AACA;AACA,EAAE;AACF;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,sCAAsC;AACtC;;AAEA;;AAEA,gBAAgB;AAChB,WAAW;AACX,YAAY;AACZ,GAAG;AACH;;;;;;;;;;;;ACjyCa;AACb,iBAAiB,mBAAO,CAAC,oCAA0B;AACnD,+BAA+B,oFAA4D;AAC3F,kCAAkC,mBAAO,CAAC,uDAA6C;AACvF,oBAAoB,mBAAO,CAAC,wCAA8B;AAC1D,2BAA2B,mBAAO,CAAC,+CAAqC;AACxE,gCAAgC,mBAAO,CAAC,oDAA0C;AAClF,eAAe,mBAAO,CAAC,gCAAwB;;AAE/C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ,kEAAkE;AAClE,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACtDA,mC;;;;;;;;;;;ACAa;AACb,kBAAkB,mBAAO,CAAC,qCAA2B;AACrD,eAAe,mBAAO,CAAC,kCAAwB;;AAE/C;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACTa;AACb;AACA;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;;;;;WCAA;WACA;WACA;WACA,uDAAuD,iBAAiB;WACxE;WACA,gDAAgD,aAAa;WAC7D,E;;;;;;;;;;;;;ACNwC;AAExCkE,OAAO,CAACmJ,KAAK,CAAE,2BAA4B,CAAC;AAE5CD,4DAAO,CAAC,CAAC;;AAET;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAK,OAAO5Q,MAAM,CAAC8Q,EAAE,CAACtB,OAAO,KAAK,WAAW,IAAI,OAAOxP,MAAM,CAAC8Q,EAAE,CAACC,OAAO,KAAK,WAAW,EAAG;EAC3FvO,yDAAgC,CAAC,CAAC;AACnC,CAAC,MAAM,IAAK,OAAOxC,MAAM,CAAC8Q,EAAE,CAACG,SAAS,KAAK,WAAW,EAAG;EACxDjR,MAAM,CAAC8Q,EAAE,CAACG,SAAS,CAACC,IAAI,CAAE,OAAO,EAAE,MAAM;IACxC1O,yDAAgC,CAAC,CAAC;EACnC,CAAE,CAAC;AACJ,C","sources":["webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/is-forced.js","webpack://@onpointplugins/advanced-sidebar-menu/./js/src/components/transform-notice.pcss","webpack://@onpointplugins/advanced-sidebar-menu/external var \"window.wp?d615","webpack://@onpointplugins/advanced-sidebar-menu/./js/src/globals/config.ts","webpack://@onpointplugins/advanced-sidebar-menu/./js/src/components/TransformNotice.tsx","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/is-pure.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/shared-key.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/environment-user-agent.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/make-built-in.js","webpack://@onpointplugins/advanced-sidebar-menu/./js/src/gutenberg/blocks/pages/PagesIcon.tsx","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/object-define-property.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/shared-store.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/object-property-is-enumerable.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/shared.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/classof-raw.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/object-define-properties.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/dompurify-npm-3.3.0-caeafd3783-66b1787b0b.zip/node_modules/dompurify/dist/purify.es.mjs","webpack://@onpointplugins/advanced-sidebar-menu/./js/src/gutenberg/index.ts","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/to-string-tag-support.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/define-built-ins.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/descriptors.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/get-method.js","webpack://@onpointplugins/advanced-sidebar-menu/external var \"React\"","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/try-to-string.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/iterator-close-all.js","webpack://@onpointplugins/advanced-sidebar-menu/external var \"jQuery\"","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/is-array-iterator-method.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/function-name.js","webpack://@onpointplugins/advanced-sidebar-menu/./js/src/gutenberg/blocks/pages/Edit.tsx","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/iterate.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/require-object-coercible.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/define-built-in.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/react-npm-18.2.0-1eae08fee2-b562d9b569.zip/node_modules/react/cjs/react-jsx-runtime.development.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/export.js","webpack://@onpointplugins/advanced-sidebar-menu/external var \"window.wp?d71d","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/to-property-key.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/fails.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/well-known-symbol.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/to-indexed-object.js","webpack://@onpointplugins/advanced-sidebar-menu/./js/src/gutenberg/blocks/categories/CategoriesIcon.tsx","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/object-keys-internal.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/an-object.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/to-object.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/weak-map-basic-detection.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/has-own-property.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/create-property-descriptor.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/enum-bug-keys.js","webpack://@onpointplugins/advanced-sidebar-menu/./js/src/gutenberg/blocks/preview.pcss","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/function-bind-context.js","webpack://@onpointplugins/advanced-sidebar-menu/./js/src/gutenberg/blocks/categories/Edit.tsx","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/ordinary-to-primitive.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/is-object.js","webpack://@onpointplugins/advanced-sidebar-menu/./js/src/gutenberg/SideLoad.tsx","webpack://@onpointplugins/advanced-sidebar-menu/./js/src/components/ErrorBoundary.tsx","webpack://@onpointplugins/advanced-sidebar-menu/external var \"window.wp?a199","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/inspect-source.js","webpack://@onpointplugins/advanced-sidebar-menu/external var \"window.wp?72e5","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/__virtual__/react-dom-virtual-aadcd0dad6/0/cache/react-dom-npm-18.2.0-dd675bca1c-66dfc5f93e.zip/node_modules/react-dom/client.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/object-get-prototype-of.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/to-primitive.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/hidden-keys.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/modules/es.iterator.for-each.js","webpack://@onpointplugins/advanced-sidebar-menu/./js/src/gutenberg/blocks/pages/block.tsx","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/an-instance.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/length-of-array-like.js","webpack://@onpointplugins/advanced-sidebar-menu/./js/src/gutenberg/blocks/NavigationIcon.tsx","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/iterators-core.js","webpack://@onpointplugins/advanced-sidebar-menu/external var \"window.wp?537d","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/own-keys.js","webpack://@onpointplugins/advanced-sidebar-menu/external var \"window.wp?f6f0","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/classof.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/iterators.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/to-integer-or-infinity.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/use-symbol-as-uid.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/define-built-in-accessor.js","webpack://@onpointplugins/advanced-sidebar-menu/external var \"ReactDOM\"","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/internal-state.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/object-get-own-property-descriptor.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/create-iter-result-object.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/array-includes.js","webpack://@onpointplugins/advanced-sidebar-menu/./js/src/modules/widgets.tsx","webpack://@onpointplugins/advanced-sidebar-menu/external var \"window.wp?0dcf","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/to-absolute-index.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/modules/es.iterator.map.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/object-is-prototype-of.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/ie8-dom-define.js","webpack://@onpointplugins/advanced-sidebar-menu/./js/src/gutenberg/helpers.ts","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/get-built-in.js","webpack://@onpointplugins/advanced-sidebar-menu/external var \"window.wp?8ca5","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/function-uncurry-this-clause.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/create-property.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/indexed-object.js","webpack://@onpointplugins/advanced-sidebar-menu/external var \"window.wp?3ade","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/iterator-helper-without-closing-on-early-error.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/document-create-element.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/function-uncurry-this.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/iterator-create-proxy.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/get-iterator-direct.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/copy-constructor-properties.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/create-non-enumerable-property.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/__virtual__/@lipemat-js-boilerplate-gutenberg-virtual-7af610892b/0/cache/@lipemat-js-boilerplate-gutenberg-npm-4.2.0-cef29811c4-5c50528ede.zip/node_modules/@lipemat/js-boilerplate-gutenberg/dist/index.module.js","webpack://@onpointplugins/advanced-sidebar-menu/./js/src/gutenberg/blocks/InfoPanel.tsx","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/react-npm-18.2.0-1eae08fee2-b562d9b569.zip/node_modules/react/jsx-runtime.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/get-iterator.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/iterator-close.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/is-symbol.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/object-create.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/uid.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/iterator-helper-throws-on-invalid-iterator.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/function-call.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/symbol-constructor-detection.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/object-get-own-property-names.js","webpack://@onpointplugins/advanced-sidebar-menu/external var \"window.wp","webpack://@onpointplugins/advanced-sidebar-menu/external var \"lodash\"","webpack://@onpointplugins/advanced-sidebar-menu/./js/src/gutenberg/blocks/categories/block.tsx","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/math-trunc.js","webpack://@onpointplugins/advanced-sidebar-menu/external var \"window.wp?3f6b","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/modules/es.iterator.constructor.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/object-keys.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/html.js","webpack://@onpointplugins/advanced-sidebar-menu/./js/src/gutenberg/blocks/Preview.tsx","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/call-with-safe-iteration-closing.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/to-length.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/function-bind-native.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/correct-prototype-getter.js","webpack://@onpointplugins/advanced-sidebar-menu/./js/src/gutenberg/blocks/ sync block\\.tsx$","webpack://@onpointplugins/advanced-sidebar-menu/./js/src/gutenberg/blocks/Display.tsx","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/is-null-or-undefined.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/global-this.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/get-iterator-method.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/environment-v8-version.js","webpack://@onpointplugins/advanced-sidebar-menu/./js/src/gutenberg/blocks/ExcludeField.tsx","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/is-callable.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/object-get-own-property-symbols.js","webpack://@onpointplugins/advanced-sidebar-menu/./js/src/gutenberg/blocks/pages/edit.pcss","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/a-callable.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/v8-prototype-define-bug.js","webpack://@onpointplugins/advanced-sidebar-menu/./js/src/gutenberg/blocks/info-panel.pcss","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/define-global-property.js","webpack://@onpointplugins/advanced-sidebar-menu/webpack/bootstrap","webpack://@onpointplugins/advanced-sidebar-menu/webpack/runtime/compat get default export","webpack://@onpointplugins/advanced-sidebar-menu/webpack/runtime/define property getters","webpack://@onpointplugins/advanced-sidebar-menu/webpack/runtime/global","webpack://@onpointplugins/advanced-sidebar-menu/webpack/runtime/harmony module decorator","webpack://@onpointplugins/advanced-sidebar-menu/webpack/runtime/hasOwnProperty shorthand","webpack://@onpointplugins/advanced-sidebar-menu/webpack/runtime/make namespace object","webpack://@onpointplugins/advanced-sidebar-menu/./js/src/block-editor.ts"],"sourcesContent":["'use strict';\nvar fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\n\nvar replacement = /#|\\.prototype\\./;\n\nvar isForced = function (feature, detection) {\n  var value = data[normalize(feature)];\n  return value === POLYFILL ? true\n    : value === NATIVE ? false\n    : isCallable(detection) ? fails(detection)\n    : !!detection;\n};\n\nvar normalize = isForced.normalize = function (string) {\n  return String(string).replace(replacement, '.').toLowerCase();\n};\n\nvar data = isForced.data = {};\nvar NATIVE = isForced.NATIVE = 'N';\nvar POLYFILL = isForced.POLYFILL = 'P';\n\nmodule.exports = isForced;\n","// extracted by mini-css-extract-plugin\nexport default {\"wrap\":\"transform-notice__wrap__mq\"};","module.exports = window.wp?.plugins;","import type {Attr as PageAttr} from '../gutenberg/blocks/pages/block';\nimport type {Attr as CategoryAttr} from '../gutenberg/blocks/categories/block';\nimport type {BlockAttributes, BlockSupports} from '@wordpress/blocks';\nimport type {CommonAttr, ServerSideRenderRequired} from '../gutenberg/blocks/Preview';\nimport type {PassedGlobals} from '../gutenberg/index';\n\nexport type Screen = 'site-editor' | 'widgets' | 'post' | 'customize';\n\nexport type WPBoolean = '1' | '';\n\nexport interface JSConfig {\n\tblocks: {\n\t\tcommonAttr: BlockAttributes<CommonAttr>;\n\t\tpreviewAttr: BlockAttributes<ServerSideRenderRequired>;\n\t\tblockSupport: BlockSupports;\n\t\tcategories: {\n\t\t\tid: 'advanced-sidebar-menu/categories';\n\t\t\tattributes: BlockAttributes<CategoryAttr>;\n\t\t};\n\t\tpages: {\n\t\t\tid: 'advanced-sidebar-menu/pages';\n\t\t\tattributes: BlockAttributes<PageAttr>;\n\t\t};\n\t\tnavigation?: {\n\t\t\tid: 'advanced-sidebar-menu/navigation';\n\t\t\tattributes: BlockAttributes<object>;\n\t\t}\n\t};\n\tcategories: {\n\t\tdisplayEach: {\n\t\t\tlist: string;\n\t\t\twidget: string;\n\t\t};\n\t};\n\tcurrentScreen: Screen;\n\tdocs: {\n\t\tpage: string;\n\t\tcategory: string;\n\t};\n\terror: string;\n\tfeatures: Array<string>;\n\tisPostEdit: WPBoolean;\n\tisPro: WPBoolean;\n\tisWidgets: WPBoolean;\n\tpages: {\n\t\torderBy: { [ value: string ]: string };\n\t};\n\tsiteInfo: {\n\t\tbasic: string;\n\t\tclassicWidgets: boolean;\n\t\tmenus: Array<object>;\n\t\tphp: string;\n\t\tpro: string | false;\n\t\tscriptDebug: boolean;\n\t\tWordPress: string;\n\t};\n\tsupport: string;\n}\n\n\ndeclare global {\n\tinterface Window {\n\t\tADVANCED_SIDEBAR_MENU: JSConfig & PassedGlobals;\n\t\tadvancedSidebarMenuAdmin: {\n\t\t\tinit: () => void;\n\t\t\thandlePreviews: () => void;\n\t\t\tshowHideElements: () => void;\n\t\t\tclickReveal: ( id: string ) => void;\n\t\t\tsetHideState( target: JQuery<HTMLElement> ): void;\n\t\t};\n\t\t__TEST__?: boolean;\n\t}\n}\n\nexport const CONFIG: JSConfig & PassedGlobals = window.ADVANCED_SIDEBAR_MENU;\n","import {__} from '@wordpress/i18n';\nimport {useState} from 'react';\nimport {Notice} from '@wordpress/components';\n\nimport styles from './transform-notice.pcss';\n\ntype Props = Record<string, never>;\n\nexport const DISMISS_KEY = 'advanced-sidebar-menu/transform-notice-dismissed';\n\n/**\n * Display a dismissible notice above widget forms to inform\n * users the widget may be transformed into a block.\n *\n * Only applies to legacy widgets which should theoretically\n * be phased out in favor of blocks.\n * This notice is intended to help facilitate the transition.\n *\n */\nconst TransformNotice = ( {}: Props ) => {\n\tconst [ shown, setShown ] = useState<boolean>( true );\n\n\tif ( ! shown ) {\n\t\treturn null;\n\t}\n\n\treturn (\n\t\t<Notice\n\t\t\tclassName={styles.wrap}\n\t\t\tpoliteness={'polite'}\n\t\t\tonDismiss={() => {\n\t\t\t\tsetShown( false );\n\t\t\t\tlocalStorage.setItem( DISMISS_KEY, '1' );\n\t\t\t}}\n\t\t\tactions={[ {\n\t\t\t\tlabel: __( 'Blocks are the future of Advanced Sidebar Menu.', 'advanced-sidebar-menu' ),\n\t\t\t\turl: 'https://onpointplugins.com/advanced-sidebar-menu/advanced-sidebar-menu-gutenberg-blocks/#transform-widgets-to-blocks',\n\t\t\t\tvariant: 'link',\n\t\t\t} ]}\n\t\t>\n\t\t\t<span className=\"dashicons dashicons-arrow-up-alt\" />&nbsp;\n\t\t\t{__( 'This widget may be transformed into a block.', 'advanced-sidebar-menu' )}\n\t\t</Notice>\n\t);\n};\n\nexport default TransformNotice;\n","'use strict';\nmodule.exports = false;\n","'use strict';\nvar shared = require('../internals/shared');\nvar uid = require('../internals/uid');\n\nvar keys = shared('keys');\n\nmodule.exports = function (key) {\n  return keys[key] || (keys[key] = uid(key));\n};\n","'use strict';\nvar globalThis = require('../internals/global-this');\n\nvar navigator = globalThis.navigator;\nvar userAgent = navigator && navigator.userAgent;\n\nmodule.exports = userAgent ? String(userAgent) : '';\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\nvar hasOwn = require('../internals/has-own-property');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar CONFIGURABLE_FUNCTION_NAME = require('../internals/function-name').CONFIGURABLE;\nvar inspectSource = require('../internals/inspect-source');\nvar InternalStateModule = require('../internals/internal-state');\n\nvar enforceInternalState = InternalStateModule.enforce;\nvar getInternalState = InternalStateModule.get;\nvar $String = String;\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar defineProperty = Object.defineProperty;\nvar stringSlice = uncurryThis(''.slice);\nvar replace = uncurryThis(''.replace);\nvar join = uncurryThis([].join);\n\nvar CONFIGURABLE_LENGTH = DESCRIPTORS && !fails(function () {\n  return defineProperty(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;\n});\n\nvar TEMPLATE = String(String).split('String');\n\nvar makeBuiltIn = module.exports = function (value, name, options) {\n  if (stringSlice($String(name), 0, 7) === 'Symbol(') {\n    name = '[' + replace($String(name), /^Symbol\\(([^)]*)\\).*$/, '$1') + ']';\n  }\n  if (options && options.getter) name = 'get ' + name;\n  if (options && options.setter) name = 'set ' + name;\n  if (!hasOwn(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {\n    if (DESCRIPTORS) defineProperty(value, 'name', { value: name, configurable: true });\n    else value.name = name;\n  }\n  if (CONFIGURABLE_LENGTH && options && hasOwn(options, 'arity') && value.length !== options.arity) {\n    defineProperty(value, 'length', { value: options.arity });\n  }\n  try {\n    if (options && hasOwn(options, 'constructor') && options.constructor) {\n      if (DESCRIPTORS) defineProperty(value, 'prototype', { writable: false });\n    // in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable\n    } else if (value.prototype) value.prototype = undefined;\n  } catch (error) { /* empty */ }\n  var state = enforceInternalState(value);\n  if (!hasOwn(state, 'source')) {\n    state.source = join(TEMPLATE, typeof name == 'string' ? name : '');\n  } return value;\n};\n\n// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative\n// eslint-disable-next-line no-extend-native -- required\nFunction.prototype.toString = makeBuiltIn(function toString() {\n  return isCallable(this) && getInternalState(this).source || inspectSource(this);\n}, 'toString');\n","const PagesIcon = <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\">\n\t<rect x=\"0\" fill=\"none\" width=\"20\" height=\"20\" />\n\t<g>\n\t\t<path\n\t\t\tfill=\"#044567\"\n\t\t\td=\"M19 17V2c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v15c0 .55.45 1 1 1h15c.55 0 1-.45 1-1z M4 3h13v4H4V3z M5 4h3v2H5V4zm4 0h3v2H9V4zm4 0h3v2H13V4z M4.5 9 c .28 0 .5 .22 .5 .5s-.22.5-.5.5s-.5-.22-.5-.5s.22-.5 .5-.5z M6 9h4v1H6v-1z M4.5 12 c .28 0 .5 .22 .5 .5s-.22.5-.5.5s-.5-.22-.5-.5s.22-.5 .5-.5z M6 12h4v1H6v-1z M4.5 15 c .28 0 .5 .22 .5 .5s-.22.5-.5.5s-.5-.22-.5-.5s.22-.5 .5-.5z M6 15h4v1H6v-1z M12 9 H15.5 L17 10.5 V15.5 H12 V9 Z M15.5 9 V10.5 H17 M12.5 12 H16.5 M12.5 13.5 H16.5\"\n\t\t/>\n\t</g>\n</svg>;\n\nexport default PagesIcon;\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar IE8_DOM_DEFINE = require('../internals/ie8-dom-define');\nvar V8_PROTOTYPE_DEFINE_BUG = require('../internals/v8-prototype-define-bug');\nvar anObject = require('../internals/an-object');\nvar toPropertyKey = require('../internals/to-property-key');\n\nvar $TypeError = TypeError;\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar $defineProperty = Object.defineProperty;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\nvar ENUMERABLE = 'enumerable';\nvar CONFIGURABLE = 'configurable';\nvar WRITABLE = 'writable';\n\n// `Object.defineProperty` method\n// https://tc39.es/ecma262/#sec-object.defineproperty\nexports.f = DESCRIPTORS ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P, Attributes) {\n  anObject(O);\n  P = toPropertyKey(P);\n  anObject(Attributes);\n  if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {\n    var current = $getOwnPropertyDescriptor(O, P);\n    if (current && current[WRITABLE]) {\n      O[P] = Attributes.value;\n      Attributes = {\n        configurable: CONFIGURABLE in Attributes ? Attributes[CONFIGURABLE] : current[CONFIGURABLE],\n        enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],\n        writable: false\n      };\n    }\n  } return $defineProperty(O, P, Attributes);\n} : $defineProperty : function defineProperty(O, P, Attributes) {\n  anObject(O);\n  P = toPropertyKey(P);\n  anObject(Attributes);\n  if (IE8_DOM_DEFINE) try {\n    return $defineProperty(O, P, Attributes);\n  } catch (error) { /* empty */ }\n  if ('get' in Attributes || 'set' in Attributes) throw new $TypeError('Accessors not supported');\n  if ('value' in Attributes) O[P] = Attributes.value;\n  return O;\n};\n","'use strict';\nvar IS_PURE = require('../internals/is-pure');\nvar globalThis = require('../internals/global-this');\nvar defineGlobalProperty = require('../internals/define-global-property');\n\nvar SHARED = '__core-js_shared__';\nvar store = module.exports = globalThis[SHARED] || defineGlobalProperty(SHARED, {});\n\n(store.versions || (store.versions = [])).push({\n  version: '3.46.0',\n  mode: IS_PURE ? 'pure' : 'global',\n  copyright: '© 2014-2025 Denis Pushkarev (zloirock.ru), 2025 CoreJS Company (core-js.io)',\n  license: 'https://github.com/zloirock/core-js/blob/v3.46.0/LICENSE',\n  source: 'https://github.com/zloirock/core-js'\n});\n","'use strict';\nvar $propertyIsEnumerable = {}.propertyIsEnumerable;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// Nashorn ~ JDK8 bug\nvar NASHORN_BUG = getOwnPropertyDescriptor && !$propertyIsEnumerable.call({ 1: 2 }, 1);\n\n// `Object.prototype.propertyIsEnumerable` method implementation\n// https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable\nexports.f = NASHORN_BUG ? function propertyIsEnumerable(V) {\n  var descriptor = getOwnPropertyDescriptor(this, V);\n  return !!descriptor && descriptor.enumerable;\n} : $propertyIsEnumerable;\n","'use strict';\nvar store = require('../internals/shared-store');\n\nmodule.exports = function (key, value) {\n  return store[key] || (store[key] = value || {});\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\n\nvar toString = uncurryThis({}.toString);\nvar stringSlice = uncurryThis(''.slice);\n\nmodule.exports = function (it) {\n  return stringSlice(toString(it), 8, -1);\n};\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar V8_PROTOTYPE_DEFINE_BUG = require('../internals/v8-prototype-define-bug');\nvar definePropertyModule = require('../internals/object-define-property');\nvar anObject = require('../internals/an-object');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar objectKeys = require('../internals/object-keys');\n\n// `Object.defineProperties` method\n// https://tc39.es/ecma262/#sec-object.defineproperties\n// eslint-disable-next-line es/no-object-defineproperties -- safe\nexports.f = DESCRIPTORS && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {\n  anObject(O);\n  var props = toIndexedObject(Properties);\n  var keys = objectKeys(Properties);\n  var length = keys.length;\n  var index = 0;\n  var key;\n  while (length > index) definePropertyModule.f(O, key = keys[index++], props[key]);\n  return O;\n};\n","/*! @license DOMPurify 3.3.0 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.3.0/LICENSE */\n\nconst {\n  entries,\n  setPrototypeOf,\n  isFrozen,\n  getPrototypeOf,\n  getOwnPropertyDescriptor\n} = Object;\nlet {\n  freeze,\n  seal,\n  create\n} = Object; // eslint-disable-line import/no-mutable-exports\nlet {\n  apply,\n  construct\n} = typeof Reflect !== 'undefined' && Reflect;\nif (!freeze) {\n  freeze = function freeze(x) {\n    return x;\n  };\n}\nif (!seal) {\n  seal = function seal(x) {\n    return x;\n  };\n}\nif (!apply) {\n  apply = function apply(func, thisArg) {\n    for (var _len = arguments.length, args = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {\n      args[_key - 2] = arguments[_key];\n    }\n    return func.apply(thisArg, args);\n  };\n}\nif (!construct) {\n  construct = function construct(Func) {\n    for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {\n      args[_key2 - 1] = arguments[_key2];\n    }\n    return new Func(...args);\n  };\n}\nconst arrayForEach = unapply(Array.prototype.forEach);\nconst arrayLastIndexOf = unapply(Array.prototype.lastIndexOf);\nconst arrayPop = unapply(Array.prototype.pop);\nconst arrayPush = unapply(Array.prototype.push);\nconst arraySplice = unapply(Array.prototype.splice);\nconst stringToLowerCase = unapply(String.prototype.toLowerCase);\nconst stringToString = unapply(String.prototype.toString);\nconst stringMatch = unapply(String.prototype.match);\nconst stringReplace = unapply(String.prototype.replace);\nconst stringIndexOf = unapply(String.prototype.indexOf);\nconst stringTrim = unapply(String.prototype.trim);\nconst objectHasOwnProperty = unapply(Object.prototype.hasOwnProperty);\nconst regExpTest = unapply(RegExp.prototype.test);\nconst typeErrorCreate = unconstruct(TypeError);\n/**\n * Creates a new function that calls the given function with a specified thisArg and arguments.\n *\n * @param func - The function to be wrapped and called.\n * @returns A new function that calls the given function with a specified thisArg and arguments.\n */\nfunction unapply(func) {\n  return function (thisArg) {\n    if (thisArg instanceof RegExp) {\n      thisArg.lastIndex = 0;\n    }\n    for (var _len3 = arguments.length, args = new Array(_len3 > 1 ? _len3 - 1 : 0), _key3 = 1; _key3 < _len3; _key3++) {\n      args[_key3 - 1] = arguments[_key3];\n    }\n    return apply(func, thisArg, args);\n  };\n}\n/**\n * Creates a new function that constructs an instance of the given constructor function with the provided arguments.\n *\n * @param func - The constructor function to be wrapped and called.\n * @returns A new function that constructs an instance of the given constructor function with the provided arguments.\n */\nfunction unconstruct(Func) {\n  return function () {\n    for (var _len4 = arguments.length, args = new Array(_len4), _key4 = 0; _key4 < _len4; _key4++) {\n      args[_key4] = arguments[_key4];\n    }\n    return construct(Func, args);\n  };\n}\n/**\n * Add properties to a lookup table\n *\n * @param set - The set to which elements will be added.\n * @param array - The array containing elements to be added to the set.\n * @param transformCaseFunc - An optional function to transform the case of each element before adding to the set.\n * @returns The modified set with added elements.\n */\nfunction addToSet(set, array) {\n  let transformCaseFunc = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : stringToLowerCase;\n  if (setPrototypeOf) {\n    // Make 'in' and truthy checks like Boolean(set.constructor)\n    // independent of any properties defined on Object.prototype.\n    // Prevent prototype setters from intercepting set as a this value.\n    setPrototypeOf(set, null);\n  }\n  let l = array.length;\n  while (l--) {\n    let element = array[l];\n    if (typeof element === 'string') {\n      const lcElement = transformCaseFunc(element);\n      if (lcElement !== element) {\n        // Config presets (e.g. tags.js, attrs.js) are immutable.\n        if (!isFrozen(array)) {\n          array[l] = lcElement;\n        }\n        element = lcElement;\n      }\n    }\n    set[element] = true;\n  }\n  return set;\n}\n/**\n * Clean up an array to harden against CSPP\n *\n * @param array - The array to be cleaned.\n * @returns The cleaned version of the array\n */\nfunction cleanArray(array) {\n  for (let index = 0; index < array.length; index++) {\n    const isPropertyExist = objectHasOwnProperty(array, index);\n    if (!isPropertyExist) {\n      array[index] = null;\n    }\n  }\n  return array;\n}\n/**\n * Shallow clone an object\n *\n * @param object - The object to be cloned.\n * @returns A new object that copies the original.\n */\nfunction clone(object) {\n  const newObject = create(null);\n  for (const [property, value] of entries(object)) {\n    const isPropertyExist = objectHasOwnProperty(object, property);\n    if (isPropertyExist) {\n      if (Array.isArray(value)) {\n        newObject[property] = cleanArray(value);\n      } else if (value && typeof value === 'object' && value.constructor === Object) {\n        newObject[property] = clone(value);\n      } else {\n        newObject[property] = value;\n      }\n    }\n  }\n  return newObject;\n}\n/**\n * This method automatically checks if the prop is function or getter and behaves accordingly.\n *\n * @param object - The object to look up the getter function in its prototype chain.\n * @param prop - The property name for which to find the getter function.\n * @returns The getter function found in the prototype chain or a fallback function.\n */\nfunction lookupGetter(object, prop) {\n  while (object !== null) {\n    const desc = getOwnPropertyDescriptor(object, prop);\n    if (desc) {\n      if (desc.get) {\n        return unapply(desc.get);\n      }\n      if (typeof desc.value === 'function') {\n        return unapply(desc.value);\n      }\n    }\n    object = getPrototypeOf(object);\n  }\n  function fallbackValue() {\n    return null;\n  }\n  return fallbackValue;\n}\n\nconst html$1 = freeze(['a', 'abbr', 'acronym', 'address', 'area', 'article', 'aside', 'audio', 'b', 'bdi', 'bdo', 'big', 'blink', 'blockquote', 'body', 'br', 'button', 'canvas', 'caption', 'center', 'cite', 'code', 'col', 'colgroup', 'content', 'data', 'datalist', 'dd', 'decorator', 'del', 'details', 'dfn', 'dialog', 'dir', 'div', 'dl', 'dt', 'element', 'em', 'fieldset', 'figcaption', 'figure', 'font', 'footer', 'form', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'head', 'header', 'hgroup', 'hr', 'html', 'i', 'img', 'input', 'ins', 'kbd', 'label', 'legend', 'li', 'main', 'map', 'mark', 'marquee', 'menu', 'menuitem', 'meter', 'nav', 'nobr', 'ol', 'optgroup', 'option', 'output', 'p', 'picture', 'pre', 'progress', 'q', 'rp', 'rt', 'ruby', 's', 'samp', 'search', 'section', 'select', 'shadow', 'slot', 'small', 'source', 'spacer', 'span', 'strike', 'strong', 'style', 'sub', 'summary', 'sup', 'table', 'tbody', 'td', 'template', 'textarea', 'tfoot', 'th', 'thead', 'time', 'tr', 'track', 'tt', 'u', 'ul', 'var', 'video', 'wbr']);\nconst svg$1 = freeze(['svg', 'a', 'altglyph', 'altglyphdef', 'altglyphitem', 'animatecolor', 'animatemotion', 'animatetransform', 'circle', 'clippath', 'defs', 'desc', 'ellipse', 'enterkeyhint', 'exportparts', 'filter', 'font', 'g', 'glyph', 'glyphref', 'hkern', 'image', 'inputmode', 'line', 'lineargradient', 'marker', 'mask', 'metadata', 'mpath', 'part', 'path', 'pattern', 'polygon', 'polyline', 'radialgradient', 'rect', 'stop', 'style', 'switch', 'symbol', 'text', 'textpath', 'title', 'tref', 'tspan', 'view', 'vkern']);\nconst svgFilters = freeze(['feBlend', 'feColorMatrix', 'feComponentTransfer', 'feComposite', 'feConvolveMatrix', 'feDiffuseLighting', 'feDisplacementMap', 'feDistantLight', 'feDropShadow', 'feFlood', 'feFuncA', 'feFuncB', 'feFuncG', 'feFuncR', 'feGaussianBlur', 'feImage', 'feMerge', 'feMergeNode', 'feMorphology', 'feOffset', 'fePointLight', 'feSpecularLighting', 'feSpotLight', 'feTile', 'feTurbulence']);\n// List of SVG elements that are disallowed by default.\n// We still need to know them so that we can do namespace\n// checks properly in case one wants to add them to\n// allow-list.\nconst svgDisallowed = freeze(['animate', 'color-profile', 'cursor', 'discard', 'font-face', 'font-face-format', 'font-face-name', 'font-face-src', 'font-face-uri', 'foreignobject', 'hatch', 'hatchpath', 'mesh', 'meshgradient', 'meshpatch', 'meshrow', 'missing-glyph', 'script', 'set', 'solidcolor', 'unknown', 'use']);\nconst mathMl$1 = freeze(['math', 'menclose', 'merror', 'mfenced', 'mfrac', 'mglyph', 'mi', 'mlabeledtr', 'mmultiscripts', 'mn', 'mo', 'mover', 'mpadded', 'mphantom', 'mroot', 'mrow', 'ms', 'mspace', 'msqrt', 'mstyle', 'msub', 'msup', 'msubsup', 'mtable', 'mtd', 'mtext', 'mtr', 'munder', 'munderover', 'mprescripts']);\n// Similarly to SVG, we want to know all MathML elements,\n// even those that we disallow by default.\nconst mathMlDisallowed = freeze(['maction', 'maligngroup', 'malignmark', 'mlongdiv', 'mscarries', 'mscarry', 'msgroup', 'mstack', 'msline', 'msrow', 'semantics', 'annotation', 'annotation-xml', 'mprescripts', 'none']);\nconst text = freeze(['#text']);\n\nconst html = freeze(['accept', 'action', 'align', 'alt', 'autocapitalize', 'autocomplete', 'autopictureinpicture', 'autoplay', 'background', 'bgcolor', 'border', 'capture', 'cellpadding', 'cellspacing', 'checked', 'cite', 'class', 'clear', 'color', 'cols', 'colspan', 'controls', 'controlslist', 'coords', 'crossorigin', 'datetime', 'decoding', 'default', 'dir', 'disabled', 'disablepictureinpicture', 'disableremoteplayback', 'download', 'draggable', 'enctype', 'enterkeyhint', 'exportparts', 'face', 'for', 'headers', 'height', 'hidden', 'high', 'href', 'hreflang', 'id', 'inert', 'inputmode', 'integrity', 'ismap', 'kind', 'label', 'lang', 'list', 'loading', 'loop', 'low', 'max', 'maxlength', 'media', 'method', 'min', 'minlength', 'multiple', 'muted', 'name', 'nonce', 'noshade', 'novalidate', 'nowrap', 'open', 'optimum', 'part', 'pattern', 'placeholder', 'playsinline', 'popover', 'popovertarget', 'popovertargetaction', 'poster', 'preload', 'pubdate', 'radiogroup', 'readonly', 'rel', 'required', 'rev', 'reversed', 'role', 'rows', 'rowspan', 'spellcheck', 'scope', 'selected', 'shape', 'size', 'sizes', 'slot', 'span', 'srclang', 'start', 'src', 'srcset', 'step', 'style', 'summary', 'tabindex', 'title', 'translate', 'type', 'usemap', 'valign', 'value', 'width', 'wrap', 'xmlns', 'slot']);\nconst svg = freeze(['accent-height', 'accumulate', 'additive', 'alignment-baseline', 'amplitude', 'ascent', 'attributename', 'attributetype', 'azimuth', 'basefrequency', 'baseline-shift', 'begin', 'bias', 'by', 'class', 'clip', 'clippathunits', 'clip-path', 'clip-rule', 'color', 'color-interpolation', 'color-interpolation-filters', 'color-profile', 'color-rendering', 'cx', 'cy', 'd', 'dx', 'dy', 'diffuseconstant', 'direction', 'display', 'divisor', 'dur', 'edgemode', 'elevation', 'end', 'exponent', 'fill', 'fill-opacity', 'fill-rule', 'filter', 'filterunits', 'flood-color', 'flood-opacity', 'font-family', 'font-size', 'font-size-adjust', 'font-stretch', 'font-style', 'font-variant', 'font-weight', 'fx', 'fy', 'g1', 'g2', 'glyph-name', 'glyphref', 'gradientunits', 'gradienttransform', 'height', 'href', 'id', 'image-rendering', 'in', 'in2', 'intercept', 'k', 'k1', 'k2', 'k3', 'k4', 'kerning', 'keypoints', 'keysplines', 'keytimes', 'lang', 'lengthadjust', 'letter-spacing', 'kernelmatrix', 'kernelunitlength', 'lighting-color', 'local', 'marker-end', 'marker-mid', 'marker-start', 'markerheight', 'markerunits', 'markerwidth', 'maskcontentunits', 'maskunits', 'max', 'mask', 'mask-type', 'media', 'method', 'mode', 'min', 'name', 'numoctaves', 'offset', 'operator', 'opacity', 'order', 'orient', 'orientation', 'origin', 'overflow', 'paint-order', 'path', 'pathlength', 'patterncontentunits', 'patterntransform', 'patternunits', 'points', 'preservealpha', 'preserveaspectratio', 'primitiveunits', 'r', 'rx', 'ry', 'radius', 'refx', 'refy', 'repeatcount', 'repeatdur', 'restart', 'result', 'rotate', 'scale', 'seed', 'shape-rendering', 'slope', 'specularconstant', 'specularexponent', 'spreadmethod', 'startoffset', 'stddeviation', 'stitchtiles', 'stop-color', 'stop-opacity', 'stroke-dasharray', 'stroke-dashoffset', 'stroke-linecap', 'stroke-linejoin', 'stroke-miterlimit', 'stroke-opacity', 'stroke', 'stroke-width', 'style', 'surfacescale', 'systemlanguage', 'tabindex', 'tablevalues', 'targetx', 'targety', 'transform', 'transform-origin', 'text-anchor', 'text-decoration', 'text-rendering', 'textlength', 'type', 'u1', 'u2', 'unicode', 'values', 'viewbox', 'visibility', 'version', 'vert-adv-y', 'vert-origin-x', 'vert-origin-y', 'width', 'word-spacing', 'wrap', 'writing-mode', 'xchannelselector', 'ychannelselector', 'x', 'x1', 'x2', 'xmlns', 'y', 'y1', 'y2', 'z', 'zoomandpan']);\nconst mathMl = freeze(['accent', 'accentunder', 'align', 'bevelled', 'close', 'columnsalign', 'columnlines', 'columnspan', 'denomalign', 'depth', 'dir', 'display', 'displaystyle', 'encoding', 'fence', 'frame', 'height', 'href', 'id', 'largeop', 'length', 'linethickness', 'lspace', 'lquote', 'mathbackground', 'mathcolor', 'mathsize', 'mathvariant', 'maxsize', 'minsize', 'movablelimits', 'notation', 'numalign', 'open', 'rowalign', 'rowlines', 'rowspacing', 'rowspan', 'rspace', 'rquote', 'scriptlevel', 'scriptminsize', 'scriptsizemultiplier', 'selection', 'separator', 'separators', 'stretchy', 'subscriptshift', 'supscriptshift', 'symmetric', 'voffset', 'width', 'xmlns']);\nconst xml = freeze(['xlink:href', 'xml:id', 'xlink:title', 'xml:space', 'xmlns:xlink']);\n\n// eslint-disable-next-line unicorn/better-regex\nconst MUSTACHE_EXPR = seal(/\\{\\{[\\w\\W]*|[\\w\\W]*\\}\\}/gm); // Specify template detection regex for SAFE_FOR_TEMPLATES mode\nconst ERB_EXPR = seal(/<%[\\w\\W]*|[\\w\\W]*%>/gm);\nconst TMPLIT_EXPR = seal(/\\$\\{[\\w\\W]*/gm); // eslint-disable-line unicorn/better-regex\nconst DATA_ATTR = seal(/^data-[\\-\\w.\\u00B7-\\uFFFF]+$/); // eslint-disable-line no-useless-escape\nconst ARIA_ATTR = seal(/^aria-[\\-\\w]+$/); // eslint-disable-line no-useless-escape\nconst IS_ALLOWED_URI = seal(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\\-]+(?:[^a-z+.\\-:]|$))/i // eslint-disable-line no-useless-escape\n);\nconst IS_SCRIPT_OR_DATA = seal(/^(?:\\w+script|data):/i);\nconst ATTR_WHITESPACE = seal(/[\\u0000-\\u0020\\u00A0\\u1680\\u180E\\u2000-\\u2029\\u205F\\u3000]/g // eslint-disable-line no-control-regex\n);\nconst DOCTYPE_NAME = seal(/^html$/i);\nconst CUSTOM_ELEMENT = seal(/^[a-z][.\\w]*(-[.\\w]+)+$/i);\n\nvar EXPRESSIONS = /*#__PURE__*/Object.freeze({\n  __proto__: null,\n  ARIA_ATTR: ARIA_ATTR,\n  ATTR_WHITESPACE: ATTR_WHITESPACE,\n  CUSTOM_ELEMENT: CUSTOM_ELEMENT,\n  DATA_ATTR: DATA_ATTR,\n  DOCTYPE_NAME: DOCTYPE_NAME,\n  ERB_EXPR: ERB_EXPR,\n  IS_ALLOWED_URI: IS_ALLOWED_URI,\n  IS_SCRIPT_OR_DATA: IS_SCRIPT_OR_DATA,\n  MUSTACHE_EXPR: MUSTACHE_EXPR,\n  TMPLIT_EXPR: TMPLIT_EXPR\n});\n\n/* eslint-disable @typescript-eslint/indent */\n// https://developer.mozilla.org/en-US/docs/Web/API/Node/nodeType\nconst NODE_TYPE = {\n  element: 1,\n  attribute: 2,\n  text: 3,\n  cdataSection: 4,\n  entityReference: 5,\n  // Deprecated\n  entityNode: 6,\n  // Deprecated\n  progressingInstruction: 7,\n  comment: 8,\n  document: 9,\n  documentType: 10,\n  documentFragment: 11,\n  notation: 12 // Deprecated\n};\nconst getGlobal = function getGlobal() {\n  return typeof window === 'undefined' ? null : window;\n};\n/**\n * Creates a no-op policy for internal use only.\n * Don't export this function outside this module!\n * @param trustedTypes The policy factory.\n * @param purifyHostElement The Script element used to load DOMPurify (to determine policy name suffix).\n * @return The policy created (or null, if Trusted Types\n * are not supported or creating the policy failed).\n */\nconst _createTrustedTypesPolicy = function _createTrustedTypesPolicy(trustedTypes, purifyHostElement) {\n  if (typeof trustedTypes !== 'object' || typeof trustedTypes.createPolicy !== 'function') {\n    return null;\n  }\n  // Allow the callers to control the unique policy name\n  // by adding a data-tt-policy-suffix to the script element with the DOMPurify.\n  // Policy creation with duplicate names throws in Trusted Types.\n  let suffix = null;\n  const ATTR_NAME = 'data-tt-policy-suffix';\n  if (purifyHostElement && purifyHostElement.hasAttribute(ATTR_NAME)) {\n    suffix = purifyHostElement.getAttribute(ATTR_NAME);\n  }\n  const policyName = 'dompurify' + (suffix ? '#' + suffix : '');\n  try {\n    return trustedTypes.createPolicy(policyName, {\n      createHTML(html) {\n        return html;\n      },\n      createScriptURL(scriptUrl) {\n        return scriptUrl;\n      }\n    });\n  } catch (_) {\n    // Policy creation failed (most likely another DOMPurify script has\n    // already run). Skip creating the policy, as this will only cause errors\n    // if TT are enforced.\n    console.warn('TrustedTypes policy ' + policyName + ' could not be created.');\n    return null;\n  }\n};\nconst _createHooksMap = function _createHooksMap() {\n  return {\n    afterSanitizeAttributes: [],\n    afterSanitizeElements: [],\n    afterSanitizeShadowDOM: [],\n    beforeSanitizeAttributes: [],\n    beforeSanitizeElements: [],\n    beforeSanitizeShadowDOM: [],\n    uponSanitizeAttribute: [],\n    uponSanitizeElement: [],\n    uponSanitizeShadowNode: []\n  };\n};\nfunction createDOMPurify() {\n  let window = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : getGlobal();\n  const DOMPurify = root => createDOMPurify(root);\n  DOMPurify.version = '3.3.0';\n  DOMPurify.removed = [];\n  if (!window || !window.document || window.document.nodeType !== NODE_TYPE.document || !window.Element) {\n    // Not running in a browser, provide a factory function\n    // so that you can pass your own Window\n    DOMPurify.isSupported = false;\n    return DOMPurify;\n  }\n  let {\n    document\n  } = window;\n  const originalDocument = document;\n  const currentScript = originalDocument.currentScript;\n  const {\n    DocumentFragment,\n    HTMLTemplateElement,\n    Node,\n    Element,\n    NodeFilter,\n    NamedNodeMap = window.NamedNodeMap || window.MozNamedAttrMap,\n    HTMLFormElement,\n    DOMParser,\n    trustedTypes\n  } = window;\n  const ElementPrototype = Element.prototype;\n  const cloneNode = lookupGetter(ElementPrototype, 'cloneNode');\n  const remove = lookupGetter(ElementPrototype, 'remove');\n  const getNextSibling = lookupGetter(ElementPrototype, 'nextSibling');\n  const getChildNodes = lookupGetter(ElementPrototype, 'childNodes');\n  const getParentNode = lookupGetter(ElementPrototype, 'parentNode');\n  // As per issue #47, the web-components registry is inherited by a\n  // new document created via createHTMLDocument. As per the spec\n  // (http://w3c.github.io/webcomponents/spec/custom/#creating-and-passing-registries)\n  // a new empty registry is used when creating a template contents owner\n  // document, so we use that as our parent document to ensure nothing\n  // is inherited.\n  if (typeof HTMLTemplateElement === 'function') {\n    const template = document.createElement('template');\n    if (template.content && template.content.ownerDocument) {\n      document = template.content.ownerDocument;\n    }\n  }\n  let trustedTypesPolicy;\n  let emptyHTML = '';\n  const {\n    implementation,\n    createNodeIterator,\n    createDocumentFragment,\n    getElementsByTagName\n  } = document;\n  const {\n    importNode\n  } = originalDocument;\n  let hooks = _createHooksMap();\n  /**\n   * Expose whether this browser supports running the full DOMPurify.\n   */\n  DOMPurify.isSupported = typeof entries === 'function' && typeof getParentNode === 'function' && implementation && implementation.createHTMLDocument !== undefined;\n  const {\n    MUSTACHE_EXPR,\n    ERB_EXPR,\n    TMPLIT_EXPR,\n    DATA_ATTR,\n    ARIA_ATTR,\n    IS_SCRIPT_OR_DATA,\n    ATTR_WHITESPACE,\n    CUSTOM_ELEMENT\n  } = EXPRESSIONS;\n  let {\n    IS_ALLOWED_URI: IS_ALLOWED_URI$1\n  } = EXPRESSIONS;\n  /**\n   * We consider the elements and attributes below to be safe. Ideally\n   * don't add any new ones but feel free to remove unwanted ones.\n   */\n  /* allowed element names */\n  let ALLOWED_TAGS = null;\n  const DEFAULT_ALLOWED_TAGS = addToSet({}, [...html$1, ...svg$1, ...svgFilters, ...mathMl$1, ...text]);\n  /* Allowed attribute names */\n  let ALLOWED_ATTR = null;\n  const DEFAULT_ALLOWED_ATTR = addToSet({}, [...html, ...svg, ...mathMl, ...xml]);\n  /*\n   * Configure how DOMPurify should handle custom elements and their attributes as well as customized built-in elements.\n   * @property {RegExp|Function|null} tagNameCheck one of [null, regexPattern, predicate]. Default: `null` (disallow any custom elements)\n   * @property {RegExp|Function|null} attributeNameCheck one of [null, regexPattern, predicate]. Default: `null` (disallow any attributes not on the allow list)\n   * @property {boolean} allowCustomizedBuiltInElements allow custom elements derived from built-ins if they pass CUSTOM_ELEMENT_HANDLING.tagNameCheck. Default: `false`.\n   */\n  let CUSTOM_ELEMENT_HANDLING = Object.seal(create(null, {\n    tagNameCheck: {\n      writable: true,\n      configurable: false,\n      enumerable: true,\n      value: null\n    },\n    attributeNameCheck: {\n      writable: true,\n      configurable: false,\n      enumerable: true,\n      value: null\n    },\n    allowCustomizedBuiltInElements: {\n      writable: true,\n      configurable: false,\n      enumerable: true,\n      value: false\n    }\n  }));\n  /* Explicitly forbidden tags (overrides ALLOWED_TAGS/ADD_TAGS) */\n  let FORBID_TAGS = null;\n  /* Explicitly forbidden attributes (overrides ALLOWED_ATTR/ADD_ATTR) */\n  let FORBID_ATTR = null;\n  /* Config object to store ADD_TAGS/ADD_ATTR functions (when used as functions) */\n  const EXTRA_ELEMENT_HANDLING = Object.seal(create(null, {\n    tagCheck: {\n      writable: true,\n      configurable: false,\n      enumerable: true,\n      value: null\n    },\n    attributeCheck: {\n      writable: true,\n      configurable: false,\n      enumerable: true,\n      value: null\n    }\n  }));\n  /* Decide if ARIA attributes are okay */\n  let ALLOW_ARIA_ATTR = true;\n  /* Decide if custom data attributes are okay */\n  let ALLOW_DATA_ATTR = true;\n  /* Decide if unknown protocols are okay */\n  let ALLOW_UNKNOWN_PROTOCOLS = false;\n  /* Decide if self-closing tags in attributes are allowed.\n   * Usually removed due to a mXSS issue in jQuery 3.0 */\n  let ALLOW_SELF_CLOSE_IN_ATTR = true;\n  /* Output should be safe for common template engines.\n   * This means, DOMPurify removes data attributes, mustaches and ERB\n   */\n  let SAFE_FOR_TEMPLATES = false;\n  /* Output should be safe even for XML used within HTML and alike.\n   * This means, DOMPurify removes comments when containing risky content.\n   */\n  let SAFE_FOR_XML = true;\n  /* Decide if document with <html>... should be returned */\n  let WHOLE_DOCUMENT = false;\n  /* Track whether config is already set on this instance of DOMPurify. */\n  let SET_CONFIG = false;\n  /* Decide if all elements (e.g. style, script) must be children of\n   * document.body. By default, browsers might move them to document.head */\n  let FORCE_BODY = false;\n  /* Decide if a DOM `HTMLBodyElement` should be returned, instead of a html\n   * string (or a TrustedHTML object if Trusted Types are supported).\n   * If `WHOLE_DOCUMENT` is enabled a `HTMLHtmlElement` will be returned instead\n   */\n  let RETURN_DOM = false;\n  /* Decide if a DOM `DocumentFragment` should be returned, instead of a html\n   * string  (or a TrustedHTML object if Trusted Types are supported) */\n  let RETURN_DOM_FRAGMENT = false;\n  /* Try to return a Trusted Type object instead of a string, return a string in\n   * case Trusted Types are not supported  */\n  let RETURN_TRUSTED_TYPE = false;\n  /* Output should be free from DOM clobbering attacks?\n   * This sanitizes markups named with colliding, clobberable built-in DOM APIs.\n   */\n  let SANITIZE_DOM = true;\n  /* Achieve full DOM Clobbering protection by isolating the namespace of named\n   * properties and JS variables, mitigating attacks that abuse the HTML/DOM spec rules.\n   *\n   * HTML/DOM spec rules that enable DOM Clobbering:\n   *   - Named Access on Window (§7.3.3)\n   *   - DOM Tree Accessors (§3.1.5)\n   *   - Form Element Parent-Child Relations (§4.10.3)\n   *   - Iframe srcdoc / Nested WindowProxies (§4.8.5)\n   *   - HTMLCollection (§4.2.10.2)\n   *\n   * Namespace isolation is implemented by prefixing `id` and `name` attributes\n   * with a constant string, i.e., `user-content-`\n   */\n  let SANITIZE_NAMED_PROPS = false;\n  const SANITIZE_NAMED_PROPS_PREFIX = 'user-content-';\n  /* Keep element content when removing element? */\n  let KEEP_CONTENT = true;\n  /* If a `Node` is passed to sanitize(), then performs sanitization in-place instead\n   * of importing it into a new Document and returning a sanitized copy */\n  let IN_PLACE = false;\n  /* Allow usage of profiles like html, svg and mathMl */\n  let USE_PROFILES = {};\n  /* Tags to ignore content of when KEEP_CONTENT is true */\n  let FORBID_CONTENTS = null;\n  const DEFAULT_FORBID_CONTENTS = addToSet({}, ['annotation-xml', 'audio', 'colgroup', 'desc', 'foreignobject', 'head', 'iframe', 'math', 'mi', 'mn', 'mo', 'ms', 'mtext', 'noembed', 'noframes', 'noscript', 'plaintext', 'script', 'style', 'svg', 'template', 'thead', 'title', 'video', 'xmp']);\n  /* Tags that are safe for data: URIs */\n  let DATA_URI_TAGS = null;\n  const DEFAULT_DATA_URI_TAGS = addToSet({}, ['audio', 'video', 'img', 'source', 'image', 'track']);\n  /* Attributes safe for values like \"javascript:\" */\n  let URI_SAFE_ATTRIBUTES = null;\n  const DEFAULT_URI_SAFE_ATTRIBUTES = addToSet({}, ['alt', 'class', 'for', 'id', 'label', 'name', 'pattern', 'placeholder', 'role', 'summary', 'title', 'value', 'style', 'xmlns']);\n  const MATHML_NAMESPACE = 'http://www.w3.org/1998/Math/MathML';\n  const SVG_NAMESPACE = 'http://www.w3.org/2000/svg';\n  const HTML_NAMESPACE = 'http://www.w3.org/1999/xhtml';\n  /* Document namespace */\n  let NAMESPACE = HTML_NAMESPACE;\n  let IS_EMPTY_INPUT = false;\n  /* Allowed XHTML+XML namespaces */\n  let ALLOWED_NAMESPACES = null;\n  const DEFAULT_ALLOWED_NAMESPACES = addToSet({}, [MATHML_NAMESPACE, SVG_NAMESPACE, HTML_NAMESPACE], stringToString);\n  let MATHML_TEXT_INTEGRATION_POINTS = addToSet({}, ['mi', 'mo', 'mn', 'ms', 'mtext']);\n  let HTML_INTEGRATION_POINTS = addToSet({}, ['annotation-xml']);\n  // Certain elements are allowed in both SVG and HTML\n  // namespace. We need to specify them explicitly\n  // so that they don't get erroneously deleted from\n  // HTML namespace.\n  const COMMON_SVG_AND_HTML_ELEMENTS = addToSet({}, ['title', 'style', 'font', 'a', 'script']);\n  /* Parsing of strict XHTML documents */\n  let PARSER_MEDIA_TYPE = null;\n  const SUPPORTED_PARSER_MEDIA_TYPES = ['application/xhtml+xml', 'text/html'];\n  const DEFAULT_PARSER_MEDIA_TYPE = 'text/html';\n  let transformCaseFunc = null;\n  /* Keep a reference to config to pass to hooks */\n  let CONFIG = null;\n  /* Ideally, do not touch anything below this line */\n  /* ______________________________________________ */\n  const formElement = document.createElement('form');\n  const isRegexOrFunction = function isRegexOrFunction(testValue) {\n    return testValue instanceof RegExp || testValue instanceof Function;\n  };\n  /**\n   * _parseConfig\n   *\n   * @param cfg optional config literal\n   */\n  // eslint-disable-next-line complexity\n  const _parseConfig = function _parseConfig() {\n    let cfg = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n    if (CONFIG && CONFIG === cfg) {\n      return;\n    }\n    /* Shield configuration object from tampering */\n    if (!cfg || typeof cfg !== 'object') {\n      cfg = {};\n    }\n    /* Shield configuration object from prototype pollution */\n    cfg = clone(cfg);\n    PARSER_MEDIA_TYPE =\n    // eslint-disable-next-line unicorn/prefer-includes\n    SUPPORTED_PARSER_MEDIA_TYPES.indexOf(cfg.PARSER_MEDIA_TYPE) === -1 ? DEFAULT_PARSER_MEDIA_TYPE : cfg.PARSER_MEDIA_TYPE;\n    // HTML tags and attributes are not case-sensitive, converting to lowercase. Keeping XHTML as is.\n    transformCaseFunc = PARSER_MEDIA_TYPE === 'application/xhtml+xml' ? stringToString : stringToLowerCase;\n    /* Set configuration parameters */\n    ALLOWED_TAGS = objectHasOwnProperty(cfg, 'ALLOWED_TAGS') ? addToSet({}, cfg.ALLOWED_TAGS, transformCaseFunc) : DEFAULT_ALLOWED_TAGS;\n    ALLOWED_ATTR = objectHasOwnProperty(cfg, 'ALLOWED_ATTR') ? addToSet({}, cfg.ALLOWED_ATTR, transformCaseFunc) : DEFAULT_ALLOWED_ATTR;\n    ALLOWED_NAMESPACES = objectHasOwnProperty(cfg, 'ALLOWED_NAMESPACES') ? addToSet({}, cfg.ALLOWED_NAMESPACES, stringToString) : DEFAULT_ALLOWED_NAMESPACES;\n    URI_SAFE_ATTRIBUTES = objectHasOwnProperty(cfg, 'ADD_URI_SAFE_ATTR') ? addToSet(clone(DEFAULT_URI_SAFE_ATTRIBUTES), cfg.ADD_URI_SAFE_ATTR, transformCaseFunc) : DEFAULT_URI_SAFE_ATTRIBUTES;\n    DATA_URI_TAGS = objectHasOwnProperty(cfg, 'ADD_DATA_URI_TAGS') ? addToSet(clone(DEFAULT_DATA_URI_TAGS), cfg.ADD_DATA_URI_TAGS, transformCaseFunc) : DEFAULT_DATA_URI_TAGS;\n    FORBID_CONTENTS = objectHasOwnProperty(cfg, 'FORBID_CONTENTS') ? addToSet({}, cfg.FORBID_CONTENTS, transformCaseFunc) : DEFAULT_FORBID_CONTENTS;\n    FORBID_TAGS = objectHasOwnProperty(cfg, 'FORBID_TAGS') ? addToSet({}, cfg.FORBID_TAGS, transformCaseFunc) : clone({});\n    FORBID_ATTR = objectHasOwnProperty(cfg, 'FORBID_ATTR') ? addToSet({}, cfg.FORBID_ATTR, transformCaseFunc) : clone({});\n    USE_PROFILES = objectHasOwnProperty(cfg, 'USE_PROFILES') ? cfg.USE_PROFILES : false;\n    ALLOW_ARIA_ATTR = cfg.ALLOW_ARIA_ATTR !== false; // Default true\n    ALLOW_DATA_ATTR = cfg.ALLOW_DATA_ATTR !== false; // Default true\n    ALLOW_UNKNOWN_PROTOCOLS = cfg.ALLOW_UNKNOWN_PROTOCOLS || false; // Default false\n    ALLOW_SELF_CLOSE_IN_ATTR = cfg.ALLOW_SELF_CLOSE_IN_ATTR !== false; // Default true\n    SAFE_FOR_TEMPLATES = cfg.SAFE_FOR_TEMPLATES || false; // Default false\n    SAFE_FOR_XML = cfg.SAFE_FOR_XML !== false; // Default true\n    WHOLE_DOCUMENT = cfg.WHOLE_DOCUMENT || false; // Default false\n    RETURN_DOM = cfg.RETURN_DOM || false; // Default false\n    RETURN_DOM_FRAGMENT = cfg.RETURN_DOM_FRAGMENT || false; // Default false\n    RETURN_TRUSTED_TYPE = cfg.RETURN_TRUSTED_TYPE || false; // Default false\n    FORCE_BODY = cfg.FORCE_BODY || false; // Default false\n    SANITIZE_DOM = cfg.SANITIZE_DOM !== false; // Default true\n    SANITIZE_NAMED_PROPS = cfg.SANITIZE_NAMED_PROPS || false; // Default false\n    KEEP_CONTENT = cfg.KEEP_CONTENT !== false; // Default true\n    IN_PLACE = cfg.IN_PLACE || false; // Default false\n    IS_ALLOWED_URI$1 = cfg.ALLOWED_URI_REGEXP || IS_ALLOWED_URI;\n    NAMESPACE = cfg.NAMESPACE || HTML_NAMESPACE;\n    MATHML_TEXT_INTEGRATION_POINTS = cfg.MATHML_TEXT_INTEGRATION_POINTS || MATHML_TEXT_INTEGRATION_POINTS;\n    HTML_INTEGRATION_POINTS = cfg.HTML_INTEGRATION_POINTS || HTML_INTEGRATION_POINTS;\n    CUSTOM_ELEMENT_HANDLING = cfg.CUSTOM_ELEMENT_HANDLING || {};\n    if (cfg.CUSTOM_ELEMENT_HANDLING && isRegexOrFunction(cfg.CUSTOM_ELEMENT_HANDLING.tagNameCheck)) {\n      CUSTOM_ELEMENT_HANDLING.tagNameCheck = cfg.CUSTOM_ELEMENT_HANDLING.tagNameCheck;\n    }\n    if (cfg.CUSTOM_ELEMENT_HANDLING && isRegexOrFunction(cfg.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)) {\n      CUSTOM_ELEMENT_HANDLING.attributeNameCheck = cfg.CUSTOM_ELEMENT_HANDLING.attributeNameCheck;\n    }\n    if (cfg.CUSTOM_ELEMENT_HANDLING && typeof cfg.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements === 'boolean') {\n      CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements = cfg.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements;\n    }\n    if (SAFE_FOR_TEMPLATES) {\n      ALLOW_DATA_ATTR = false;\n    }\n    if (RETURN_DOM_FRAGMENT) {\n      RETURN_DOM = true;\n    }\n    /* Parse profile info */\n    if (USE_PROFILES) {\n      ALLOWED_TAGS = addToSet({}, text);\n      ALLOWED_ATTR = [];\n      if (USE_PROFILES.html === true) {\n        addToSet(ALLOWED_TAGS, html$1);\n        addToSet(ALLOWED_ATTR, html);\n      }\n      if (USE_PROFILES.svg === true) {\n        addToSet(ALLOWED_TAGS, svg$1);\n        addToSet(ALLOWED_ATTR, svg);\n        addToSet(ALLOWED_ATTR, xml);\n      }\n      if (USE_PROFILES.svgFilters === true) {\n        addToSet(ALLOWED_TAGS, svgFilters);\n        addToSet(ALLOWED_ATTR, svg);\n        addToSet(ALLOWED_ATTR, xml);\n      }\n      if (USE_PROFILES.mathMl === true) {\n        addToSet(ALLOWED_TAGS, mathMl$1);\n        addToSet(ALLOWED_ATTR, mathMl);\n        addToSet(ALLOWED_ATTR, xml);\n      }\n    }\n    /* Merge configuration parameters */\n    if (cfg.ADD_TAGS) {\n      if (typeof cfg.ADD_TAGS === 'function') {\n        EXTRA_ELEMENT_HANDLING.tagCheck = cfg.ADD_TAGS;\n      } else {\n        if (ALLOWED_TAGS === DEFAULT_ALLOWED_TAGS) {\n          ALLOWED_TAGS = clone(ALLOWED_TAGS);\n        }\n        addToSet(ALLOWED_TAGS, cfg.ADD_TAGS, transformCaseFunc);\n      }\n    }\n    if (cfg.ADD_ATTR) {\n      if (typeof cfg.ADD_ATTR === 'function') {\n        EXTRA_ELEMENT_HANDLING.attributeCheck = cfg.ADD_ATTR;\n      } else {\n        if (ALLOWED_ATTR === DEFAULT_ALLOWED_ATTR) {\n          ALLOWED_ATTR = clone(ALLOWED_ATTR);\n        }\n        addToSet(ALLOWED_ATTR, cfg.ADD_ATTR, transformCaseFunc);\n      }\n    }\n    if (cfg.ADD_URI_SAFE_ATTR) {\n      addToSet(URI_SAFE_ATTRIBUTES, cfg.ADD_URI_SAFE_ATTR, transformCaseFunc);\n    }\n    if (cfg.FORBID_CONTENTS) {\n      if (FORBID_CONTENTS === DEFAULT_FORBID_CONTENTS) {\n        FORBID_CONTENTS = clone(FORBID_CONTENTS);\n      }\n      addToSet(FORBID_CONTENTS, cfg.FORBID_CONTENTS, transformCaseFunc);\n    }\n    /* Add #text in case KEEP_CONTENT is set to true */\n    if (KEEP_CONTENT) {\n      ALLOWED_TAGS['#text'] = true;\n    }\n    /* Add html, head and body to ALLOWED_TAGS in case WHOLE_DOCUMENT is true */\n    if (WHOLE_DOCUMENT) {\n      addToSet(ALLOWED_TAGS, ['html', 'head', 'body']);\n    }\n    /* Add tbody to ALLOWED_TAGS in case tables are permitted, see #286, #365 */\n    if (ALLOWED_TAGS.table) {\n      addToSet(ALLOWED_TAGS, ['tbody']);\n      delete FORBID_TAGS.tbody;\n    }\n    if (cfg.TRUSTED_TYPES_POLICY) {\n      if (typeof cfg.TRUSTED_TYPES_POLICY.createHTML !== 'function') {\n        throw typeErrorCreate('TRUSTED_TYPES_POLICY configuration option must provide a \"createHTML\" hook.');\n      }\n      if (typeof cfg.TRUSTED_TYPES_POLICY.createScriptURL !== 'function') {\n        throw typeErrorCreate('TRUSTED_TYPES_POLICY configuration option must provide a \"createScriptURL\" hook.');\n      }\n      // Overwrite existing TrustedTypes policy.\n      trustedTypesPolicy = cfg.TRUSTED_TYPES_POLICY;\n      // Sign local variables required by `sanitize`.\n      emptyHTML = trustedTypesPolicy.createHTML('');\n    } else {\n      // Uninitialized policy, attempt to initialize the internal dompurify policy.\n      if (trustedTypesPolicy === undefined) {\n        trustedTypesPolicy = _createTrustedTypesPolicy(trustedTypes, currentScript);\n      }\n      // If creating the internal policy succeeded sign internal variables.\n      if (trustedTypesPolicy !== null && typeof emptyHTML === 'string') {\n        emptyHTML = trustedTypesPolicy.createHTML('');\n      }\n    }\n    // Prevent further manipulation of configuration.\n    // Not available in IE8, Safari 5, etc.\n    if (freeze) {\n      freeze(cfg);\n    }\n    CONFIG = cfg;\n  };\n  /* Keep track of all possible SVG and MathML tags\n   * so that we can perform the namespace checks\n   * correctly. */\n  const ALL_SVG_TAGS = addToSet({}, [...svg$1, ...svgFilters, ...svgDisallowed]);\n  const ALL_MATHML_TAGS = addToSet({}, [...mathMl$1, ...mathMlDisallowed]);\n  /**\n   * @param element a DOM element whose namespace is being checked\n   * @returns Return false if the element has a\n   *  namespace that a spec-compliant parser would never\n   *  return. Return true otherwise.\n   */\n  const _checkValidNamespace = function _checkValidNamespace(element) {\n    let parent = getParentNode(element);\n    // In JSDOM, if we're inside shadow DOM, then parentNode\n    // can be null. We just simulate parent in this case.\n    if (!parent || !parent.tagName) {\n      parent = {\n        namespaceURI: NAMESPACE,\n        tagName: 'template'\n      };\n    }\n    const tagName = stringToLowerCase(element.tagName);\n    const parentTagName = stringToLowerCase(parent.tagName);\n    if (!ALLOWED_NAMESPACES[element.namespaceURI]) {\n      return false;\n    }\n    if (element.namespaceURI === SVG_NAMESPACE) {\n      // The only way to switch from HTML namespace to SVG\n      // is via <svg>. If it happens via any other tag, then\n      // it should be killed.\n      if (parent.namespaceURI === HTML_NAMESPACE) {\n        return tagName === 'svg';\n      }\n      // The only way to switch from MathML to SVG is via`\n      // svg if parent is either <annotation-xml> or MathML\n      // text integration points.\n      if (parent.namespaceURI === MATHML_NAMESPACE) {\n        return tagName === 'svg' && (parentTagName === 'annotation-xml' || MATHML_TEXT_INTEGRATION_POINTS[parentTagName]);\n      }\n      // We only allow elements that are defined in SVG\n      // spec. All others are disallowed in SVG namespace.\n      return Boolean(ALL_SVG_TAGS[tagName]);\n    }\n    if (element.namespaceURI === MATHML_NAMESPACE) {\n      // The only way to switch from HTML namespace to MathML\n      // is via <math>. If it happens via any other tag, then\n      // it should be killed.\n      if (parent.namespaceURI === HTML_NAMESPACE) {\n        return tagName === 'math';\n      }\n      // The only way to switch from SVG to MathML is via\n      // <math> and HTML integration points\n      if (parent.namespaceURI === SVG_NAMESPACE) {\n        return tagName === 'math' && HTML_INTEGRATION_POINTS[parentTagName];\n      }\n      // We only allow elements that are defined in MathML\n      // spec. All others are disallowed in MathML namespace.\n      return Boolean(ALL_MATHML_TAGS[tagName]);\n    }\n    if (element.namespaceURI === HTML_NAMESPACE) {\n      // The only way to switch from SVG to HTML is via\n      // HTML integration points, and from MathML to HTML\n      // is via MathML text integration points\n      if (parent.namespaceURI === SVG_NAMESPACE && !HTML_INTEGRATION_POINTS[parentTagName]) {\n        return false;\n      }\n      if (parent.namespaceURI === MATHML_NAMESPACE && !MATHML_TEXT_INTEGRATION_POINTS[parentTagName]) {\n        return false;\n      }\n      // We disallow tags that are specific for MathML\n      // or SVG and should never appear in HTML namespace\n      return !ALL_MATHML_TAGS[tagName] && (COMMON_SVG_AND_HTML_ELEMENTS[tagName] || !ALL_SVG_TAGS[tagName]);\n    }\n    // For XHTML and XML documents that support custom namespaces\n    if (PARSER_MEDIA_TYPE === 'application/xhtml+xml' && ALLOWED_NAMESPACES[element.namespaceURI]) {\n      return true;\n    }\n    // The code should never reach this place (this means\n    // that the element somehow got namespace that is not\n    // HTML, SVG, MathML or allowed via ALLOWED_NAMESPACES).\n    // Return false just in case.\n    return false;\n  };\n  /**\n   * _forceRemove\n   *\n   * @param node a DOM node\n   */\n  const _forceRemove = function _forceRemove(node) {\n    arrayPush(DOMPurify.removed, {\n      element: node\n    });\n    try {\n      // eslint-disable-next-line unicorn/prefer-dom-node-remove\n      getParentNode(node).removeChild(node);\n    } catch (_) {\n      remove(node);\n    }\n  };\n  /**\n   * _removeAttribute\n   *\n   * @param name an Attribute name\n   * @param element a DOM node\n   */\n  const _removeAttribute = function _removeAttribute(name, element) {\n    try {\n      arrayPush(DOMPurify.removed, {\n        attribute: element.getAttributeNode(name),\n        from: element\n      });\n    } catch (_) {\n      arrayPush(DOMPurify.removed, {\n        attribute: null,\n        from: element\n      });\n    }\n    element.removeAttribute(name);\n    // We void attribute values for unremovable \"is\" attributes\n    if (name === 'is') {\n      if (RETURN_DOM || RETURN_DOM_FRAGMENT) {\n        try {\n          _forceRemove(element);\n        } catch (_) {}\n      } else {\n        try {\n          element.setAttribute(name, '');\n        } catch (_) {}\n      }\n    }\n  };\n  /**\n   * _initDocument\n   *\n   * @param dirty - a string of dirty markup\n   * @return a DOM, filled with the dirty markup\n   */\n  const _initDocument = function _initDocument(dirty) {\n    /* Create a HTML document */\n    let doc = null;\n    let leadingWhitespace = null;\n    if (FORCE_BODY) {\n      dirty = '<remove></remove>' + dirty;\n    } else {\n      /* If FORCE_BODY isn't used, leading whitespace needs to be preserved manually */\n      const matches = stringMatch(dirty, /^[\\r\\n\\t ]+/);\n      leadingWhitespace = matches && matches[0];\n    }\n    if (PARSER_MEDIA_TYPE === 'application/xhtml+xml' && NAMESPACE === HTML_NAMESPACE) {\n      // Root of XHTML doc must contain xmlns declaration (see https://www.w3.org/TR/xhtml1/normative.html#strict)\n      dirty = '<html xmlns=\"http://www.w3.org/1999/xhtml\"><head></head><body>' + dirty + '</body></html>';\n    }\n    const dirtyPayload = trustedTypesPolicy ? trustedTypesPolicy.createHTML(dirty) : dirty;\n    /*\n     * Use the DOMParser API by default, fallback later if needs be\n     * DOMParser not work for svg when has multiple root element.\n     */\n    if (NAMESPACE === HTML_NAMESPACE) {\n      try {\n        doc = new DOMParser().parseFromString(dirtyPayload, PARSER_MEDIA_TYPE);\n      } catch (_) {}\n    }\n    /* Use createHTMLDocument in case DOMParser is not available */\n    if (!doc || !doc.documentElement) {\n      doc = implementation.createDocument(NAMESPACE, 'template', null);\n      try {\n        doc.documentElement.innerHTML = IS_EMPTY_INPUT ? emptyHTML : dirtyPayload;\n      } catch (_) {\n        // Syntax error if dirtyPayload is invalid xml\n      }\n    }\n    const body = doc.body || doc.documentElement;\n    if (dirty && leadingWhitespace) {\n      body.insertBefore(document.createTextNode(leadingWhitespace), body.childNodes[0] || null);\n    }\n    /* Work on whole document or just its body */\n    if (NAMESPACE === HTML_NAMESPACE) {\n      return getElementsByTagName.call(doc, WHOLE_DOCUMENT ? 'html' : 'body')[0];\n    }\n    return WHOLE_DOCUMENT ? doc.documentElement : body;\n  };\n  /**\n   * Creates a NodeIterator object that you can use to traverse filtered lists of nodes or elements in a document.\n   *\n   * @param root The root element or node to start traversing on.\n   * @return The created NodeIterator\n   */\n  const _createNodeIterator = function _createNodeIterator(root) {\n    return createNodeIterator.call(root.ownerDocument || root, root,\n    // eslint-disable-next-line no-bitwise\n    NodeFilter.SHOW_ELEMENT | NodeFilter.SHOW_COMMENT | NodeFilter.SHOW_TEXT | NodeFilter.SHOW_PROCESSING_INSTRUCTION | NodeFilter.SHOW_CDATA_SECTION, null);\n  };\n  /**\n   * _isClobbered\n   *\n   * @param element element to check for clobbering attacks\n   * @return true if clobbered, false if safe\n   */\n  const _isClobbered = function _isClobbered(element) {\n    return element instanceof HTMLFormElement && (typeof element.nodeName !== 'string' || typeof element.textContent !== 'string' || typeof element.removeChild !== 'function' || !(element.attributes instanceof NamedNodeMap) || typeof element.removeAttribute !== 'function' || typeof element.setAttribute !== 'function' || typeof element.namespaceURI !== 'string' || typeof element.insertBefore !== 'function' || typeof element.hasChildNodes !== 'function');\n  };\n  /**\n   * Checks whether the given object is a DOM node.\n   *\n   * @param value object to check whether it's a DOM node\n   * @return true is object is a DOM node\n   */\n  const _isNode = function _isNode(value) {\n    return typeof Node === 'function' && value instanceof Node;\n  };\n  function _executeHooks(hooks, currentNode, data) {\n    arrayForEach(hooks, hook => {\n      hook.call(DOMPurify, currentNode, data, CONFIG);\n    });\n  }\n  /**\n   * _sanitizeElements\n   *\n   * @protect nodeName\n   * @protect textContent\n   * @protect removeChild\n   * @param currentNode to check for permission to exist\n   * @return true if node was killed, false if left alive\n   */\n  const _sanitizeElements = function _sanitizeElements(currentNode) {\n    let content = null;\n    /* Execute a hook if present */\n    _executeHooks(hooks.beforeSanitizeElements, currentNode, null);\n    /* Check if element is clobbered or can clobber */\n    if (_isClobbered(currentNode)) {\n      _forceRemove(currentNode);\n      return true;\n    }\n    /* Now let's check the element's type and name */\n    const tagName = transformCaseFunc(currentNode.nodeName);\n    /* Execute a hook if present */\n    _executeHooks(hooks.uponSanitizeElement, currentNode, {\n      tagName,\n      allowedTags: ALLOWED_TAGS\n    });\n    /* Detect mXSS attempts abusing namespace confusion */\n    if (SAFE_FOR_XML && currentNode.hasChildNodes() && !_isNode(currentNode.firstElementChild) && regExpTest(/<[/\\w!]/g, currentNode.innerHTML) && regExpTest(/<[/\\w!]/g, currentNode.textContent)) {\n      _forceRemove(currentNode);\n      return true;\n    }\n    /* Remove any occurrence of processing instructions */\n    if (currentNode.nodeType === NODE_TYPE.progressingInstruction) {\n      _forceRemove(currentNode);\n      return true;\n    }\n    /* Remove any kind of possibly harmful comments */\n    if (SAFE_FOR_XML && currentNode.nodeType === NODE_TYPE.comment && regExpTest(/<[/\\w]/g, currentNode.data)) {\n      _forceRemove(currentNode);\n      return true;\n    }\n    /* Remove element if anything forbids its presence */\n    if (!(EXTRA_ELEMENT_HANDLING.tagCheck instanceof Function && EXTRA_ELEMENT_HANDLING.tagCheck(tagName)) && (!ALLOWED_TAGS[tagName] || FORBID_TAGS[tagName])) {\n      /* Check if we have a custom element to handle */\n      if (!FORBID_TAGS[tagName] && _isBasicCustomElement(tagName)) {\n        if (CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof RegExp && regExpTest(CUSTOM_ELEMENT_HANDLING.tagNameCheck, tagName)) {\n          return false;\n        }\n        if (CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof Function && CUSTOM_ELEMENT_HANDLING.tagNameCheck(tagName)) {\n          return false;\n        }\n      }\n      /* Keep content except for bad-listed elements */\n      if (KEEP_CONTENT && !FORBID_CONTENTS[tagName]) {\n        const parentNode = getParentNode(currentNode) || currentNode.parentNode;\n        const childNodes = getChildNodes(currentNode) || currentNode.childNodes;\n        if (childNodes && parentNode) {\n          const childCount = childNodes.length;\n          for (let i = childCount - 1; i >= 0; --i) {\n            const childClone = cloneNode(childNodes[i], true);\n            childClone.__removalCount = (currentNode.__removalCount || 0) + 1;\n            parentNode.insertBefore(childClone, getNextSibling(currentNode));\n          }\n        }\n      }\n      _forceRemove(currentNode);\n      return true;\n    }\n    /* Check whether element has a valid namespace */\n    if (currentNode instanceof Element && !_checkValidNamespace(currentNode)) {\n      _forceRemove(currentNode);\n      return true;\n    }\n    /* Make sure that older browsers don't get fallback-tag mXSS */\n    if ((tagName === 'noscript' || tagName === 'noembed' || tagName === 'noframes') && regExpTest(/<\\/no(script|embed|frames)/i, currentNode.innerHTML)) {\n      _forceRemove(currentNode);\n      return true;\n    }\n    /* Sanitize element content to be template-safe */\n    if (SAFE_FOR_TEMPLATES && currentNode.nodeType === NODE_TYPE.text) {\n      /* Get the element's text content */\n      content = currentNode.textContent;\n      arrayForEach([MUSTACHE_EXPR, ERB_EXPR, TMPLIT_EXPR], expr => {\n        content = stringReplace(content, expr, ' ');\n      });\n      if (currentNode.textContent !== content) {\n        arrayPush(DOMPurify.removed, {\n          element: currentNode.cloneNode()\n        });\n        currentNode.textContent = content;\n      }\n    }\n    /* Execute a hook if present */\n    _executeHooks(hooks.afterSanitizeElements, currentNode, null);\n    return false;\n  };\n  /**\n   * _isValidAttribute\n   *\n   * @param lcTag Lowercase tag name of containing element.\n   * @param lcName Lowercase attribute name.\n   * @param value Attribute value.\n   * @return Returns true if `value` is valid, otherwise false.\n   */\n  // eslint-disable-next-line complexity\n  const _isValidAttribute = function _isValidAttribute(lcTag, lcName, value) {\n    /* Make sure attribute cannot clobber */\n    if (SANITIZE_DOM && (lcName === 'id' || lcName === 'name') && (value in document || value in formElement)) {\n      return false;\n    }\n    /* Allow valid data-* attributes: At least one character after \"-\"\n        (https://html.spec.whatwg.org/multipage/dom.html#embedding-custom-non-visible-data-with-the-data-*-attributes)\n        XML-compatible (https://html.spec.whatwg.org/multipage/infrastructure.html#xml-compatible and http://www.w3.org/TR/xml/#d0e804)\n        We don't need to check the value; it's always URI safe. */\n    if (ALLOW_DATA_ATTR && !FORBID_ATTR[lcName] && regExpTest(DATA_ATTR, lcName)) ; else if (ALLOW_ARIA_ATTR && regExpTest(ARIA_ATTR, lcName)) ; else if (EXTRA_ELEMENT_HANDLING.attributeCheck instanceof Function && EXTRA_ELEMENT_HANDLING.attributeCheck(lcName, lcTag)) ; else if (!ALLOWED_ATTR[lcName] || FORBID_ATTR[lcName]) {\n      if (\n      // First condition does a very basic check if a) it's basically a valid custom element tagname AND\n      // b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck\n      // and c) if the attribute name passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.attributeNameCheck\n      _isBasicCustomElement(lcTag) && (CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof RegExp && regExpTest(CUSTOM_ELEMENT_HANDLING.tagNameCheck, lcTag) || CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof Function && CUSTOM_ELEMENT_HANDLING.tagNameCheck(lcTag)) && (CUSTOM_ELEMENT_HANDLING.attributeNameCheck instanceof RegExp && regExpTest(CUSTOM_ELEMENT_HANDLING.attributeNameCheck, lcName) || CUSTOM_ELEMENT_HANDLING.attributeNameCheck instanceof Function && CUSTOM_ELEMENT_HANDLING.attributeNameCheck(lcName, lcTag)) ||\n      // Alternative, second condition checks if it's an `is`-attribute, AND\n      // the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck\n      lcName === 'is' && CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements && (CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof RegExp && regExpTest(CUSTOM_ELEMENT_HANDLING.tagNameCheck, value) || CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof Function && CUSTOM_ELEMENT_HANDLING.tagNameCheck(value))) ; else {\n        return false;\n      }\n      /* Check value is safe. First, is attr inert? If so, is safe */\n    } else if (URI_SAFE_ATTRIBUTES[lcName]) ; else if (regExpTest(IS_ALLOWED_URI$1, stringReplace(value, ATTR_WHITESPACE, ''))) ; else if ((lcName === 'src' || lcName === 'xlink:href' || lcName === 'href') && lcTag !== 'script' && stringIndexOf(value, 'data:') === 0 && DATA_URI_TAGS[lcTag]) ; else if (ALLOW_UNKNOWN_PROTOCOLS && !regExpTest(IS_SCRIPT_OR_DATA, stringReplace(value, ATTR_WHITESPACE, ''))) ; else if (value) {\n      return false;\n    } else ;\n    return true;\n  };\n  /**\n   * _isBasicCustomElement\n   * checks if at least one dash is included in tagName, and it's not the first char\n   * for more sophisticated checking see https://github.com/sindresorhus/validate-element-name\n   *\n   * @param tagName name of the tag of the node to sanitize\n   * @returns Returns true if the tag name meets the basic criteria for a custom element, otherwise false.\n   */\n  const _isBasicCustomElement = function _isBasicCustomElement(tagName) {\n    return tagName !== 'annotation-xml' && stringMatch(tagName, CUSTOM_ELEMENT);\n  };\n  /**\n   * _sanitizeAttributes\n   *\n   * @protect attributes\n   * @protect nodeName\n   * @protect removeAttribute\n   * @protect setAttribute\n   *\n   * @param currentNode to sanitize\n   */\n  const _sanitizeAttributes = function _sanitizeAttributes(currentNode) {\n    /* Execute a hook if present */\n    _executeHooks(hooks.beforeSanitizeAttributes, currentNode, null);\n    const {\n      attributes\n    } = currentNode;\n    /* Check if we have attributes; if not we might have a text node */\n    if (!attributes || _isClobbered(currentNode)) {\n      return;\n    }\n    const hookEvent = {\n      attrName: '',\n      attrValue: '',\n      keepAttr: true,\n      allowedAttributes: ALLOWED_ATTR,\n      forceKeepAttr: undefined\n    };\n    let l = attributes.length;\n    /* Go backwards over all attributes; safely remove bad ones */\n    while (l--) {\n      const attr = attributes[l];\n      const {\n        name,\n        namespaceURI,\n        value: attrValue\n      } = attr;\n      const lcName = transformCaseFunc(name);\n      const initValue = attrValue;\n      let value = name === 'value' ? initValue : stringTrim(initValue);\n      /* Execute a hook if present */\n      hookEvent.attrName = lcName;\n      hookEvent.attrValue = value;\n      hookEvent.keepAttr = true;\n      hookEvent.forceKeepAttr = undefined; // Allows developers to see this is a property they can set\n      _executeHooks(hooks.uponSanitizeAttribute, currentNode, hookEvent);\n      value = hookEvent.attrValue;\n      /* Full DOM Clobbering protection via namespace isolation,\n       * Prefix id and name attributes with `user-content-`\n       */\n      if (SANITIZE_NAMED_PROPS && (lcName === 'id' || lcName === 'name')) {\n        // Remove the attribute with this value\n        _removeAttribute(name, currentNode);\n        // Prefix the value and later re-create the attribute with the sanitized value\n        value = SANITIZE_NAMED_PROPS_PREFIX + value;\n      }\n      /* Work around a security issue with comments inside attributes */\n      if (SAFE_FOR_XML && regExpTest(/((--!?|])>)|<\\/(style|title|textarea)/i, value)) {\n        _removeAttribute(name, currentNode);\n        continue;\n      }\n      /* Make sure we cannot easily use animated hrefs, even if animations are allowed */\n      if (lcName === 'attributename' && stringMatch(value, 'href')) {\n        _removeAttribute(name, currentNode);\n        continue;\n      }\n      /* Did the hooks approve of the attribute? */\n      if (hookEvent.forceKeepAttr) {\n        continue;\n      }\n      /* Did the hooks approve of the attribute? */\n      if (!hookEvent.keepAttr) {\n        _removeAttribute(name, currentNode);\n        continue;\n      }\n      /* Work around a security issue in jQuery 3.0 */\n      if (!ALLOW_SELF_CLOSE_IN_ATTR && regExpTest(/\\/>/i, value)) {\n        _removeAttribute(name, currentNode);\n        continue;\n      }\n      /* Sanitize attribute content to be template-safe */\n      if (SAFE_FOR_TEMPLATES) {\n        arrayForEach([MUSTACHE_EXPR, ERB_EXPR, TMPLIT_EXPR], expr => {\n          value = stringReplace(value, expr, ' ');\n        });\n      }\n      /* Is `value` valid for this attribute? */\n      const lcTag = transformCaseFunc(currentNode.nodeName);\n      if (!_isValidAttribute(lcTag, lcName, value)) {\n        _removeAttribute(name, currentNode);\n        continue;\n      }\n      /* Handle attributes that require Trusted Types */\n      if (trustedTypesPolicy && typeof trustedTypes === 'object' && typeof trustedTypes.getAttributeType === 'function') {\n        if (namespaceURI) ; else {\n          switch (trustedTypes.getAttributeType(lcTag, lcName)) {\n            case 'TrustedHTML':\n              {\n                value = trustedTypesPolicy.createHTML(value);\n                break;\n              }\n            case 'TrustedScriptURL':\n              {\n                value = trustedTypesPolicy.createScriptURL(value);\n                break;\n              }\n          }\n        }\n      }\n      /* Handle invalid data-* attribute set by try-catching it */\n      if (value !== initValue) {\n        try {\n          if (namespaceURI) {\n            currentNode.setAttributeNS(namespaceURI, name, value);\n          } else {\n            /* Fallback to setAttribute() for browser-unrecognized namespaces e.g. \"x-schema\". */\n            currentNode.setAttribute(name, value);\n          }\n          if (_isClobbered(currentNode)) {\n            _forceRemove(currentNode);\n          } else {\n            arrayPop(DOMPurify.removed);\n          }\n        } catch (_) {\n          _removeAttribute(name, currentNode);\n        }\n      }\n    }\n    /* Execute a hook if present */\n    _executeHooks(hooks.afterSanitizeAttributes, currentNode, null);\n  };\n  /**\n   * _sanitizeShadowDOM\n   *\n   * @param fragment to iterate over recursively\n   */\n  const _sanitizeShadowDOM = function _sanitizeShadowDOM(fragment) {\n    let shadowNode = null;\n    const shadowIterator = _createNodeIterator(fragment);\n    /* Execute a hook if present */\n    _executeHooks(hooks.beforeSanitizeShadowDOM, fragment, null);\n    while (shadowNode = shadowIterator.nextNode()) {\n      /* Execute a hook if present */\n      _executeHooks(hooks.uponSanitizeShadowNode, shadowNode, null);\n      /* Sanitize tags and elements */\n      _sanitizeElements(shadowNode);\n      /* Check attributes next */\n      _sanitizeAttributes(shadowNode);\n      /* Deep shadow DOM detected */\n      if (shadowNode.content instanceof DocumentFragment) {\n        _sanitizeShadowDOM(shadowNode.content);\n      }\n    }\n    /* Execute a hook if present */\n    _executeHooks(hooks.afterSanitizeShadowDOM, fragment, null);\n  };\n  // eslint-disable-next-line complexity\n  DOMPurify.sanitize = function (dirty) {\n    let cfg = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n    let body = null;\n    let importedNode = null;\n    let currentNode = null;\n    let returnNode = null;\n    /* Make sure we have a string to sanitize.\n      DO NOT return early, as this will return the wrong type if\n      the user has requested a DOM object rather than a string */\n    IS_EMPTY_INPUT = !dirty;\n    if (IS_EMPTY_INPUT) {\n      dirty = '<!-->';\n    }\n    /* Stringify, in case dirty is an object */\n    if (typeof dirty !== 'string' && !_isNode(dirty)) {\n      if (typeof dirty.toString === 'function') {\n        dirty = dirty.toString();\n        if (typeof dirty !== 'string') {\n          throw typeErrorCreate('dirty is not a string, aborting');\n        }\n      } else {\n        throw typeErrorCreate('toString is not a function');\n      }\n    }\n    /* Return dirty HTML if DOMPurify cannot run */\n    if (!DOMPurify.isSupported) {\n      return dirty;\n    }\n    /* Assign config vars */\n    if (!SET_CONFIG) {\n      _parseConfig(cfg);\n    }\n    /* Clean up removed elements */\n    DOMPurify.removed = [];\n    /* Check if dirty is correctly typed for IN_PLACE */\n    if (typeof dirty === 'string') {\n      IN_PLACE = false;\n    }\n    if (IN_PLACE) {\n      /* Do some early pre-sanitization to avoid unsafe root nodes */\n      if (dirty.nodeName) {\n        const tagName = transformCaseFunc(dirty.nodeName);\n        if (!ALLOWED_TAGS[tagName] || FORBID_TAGS[tagName]) {\n          throw typeErrorCreate('root node is forbidden and cannot be sanitized in-place');\n        }\n      }\n    } else if (dirty instanceof Node) {\n      /* If dirty is a DOM element, append to an empty document to avoid\n         elements being stripped by the parser */\n      body = _initDocument('<!---->');\n      importedNode = body.ownerDocument.importNode(dirty, true);\n      if (importedNode.nodeType === NODE_TYPE.element && importedNode.nodeName === 'BODY') {\n        /* Node is already a body, use as is */\n        body = importedNode;\n      } else if (importedNode.nodeName === 'HTML') {\n        body = importedNode;\n      } else {\n        // eslint-disable-next-line unicorn/prefer-dom-node-append\n        body.appendChild(importedNode);\n      }\n    } else {\n      /* Exit directly if we have nothing to do */\n      if (!RETURN_DOM && !SAFE_FOR_TEMPLATES && !WHOLE_DOCUMENT &&\n      // eslint-disable-next-line unicorn/prefer-includes\n      dirty.indexOf('<') === -1) {\n        return trustedTypesPolicy && RETURN_TRUSTED_TYPE ? trustedTypesPolicy.createHTML(dirty) : dirty;\n      }\n      /* Initialize the document to work on */\n      body = _initDocument(dirty);\n      /* Check we have a DOM node from the data */\n      if (!body) {\n        return RETURN_DOM ? null : RETURN_TRUSTED_TYPE ? emptyHTML : '';\n      }\n    }\n    /* Remove first element node (ours) if FORCE_BODY is set */\n    if (body && FORCE_BODY) {\n      _forceRemove(body.firstChild);\n    }\n    /* Get node iterator */\n    const nodeIterator = _createNodeIterator(IN_PLACE ? dirty : body);\n    /* Now start iterating over the created document */\n    while (currentNode = nodeIterator.nextNode()) {\n      /* Sanitize tags and elements */\n      _sanitizeElements(currentNode);\n      /* Check attributes next */\n      _sanitizeAttributes(currentNode);\n      /* Shadow DOM detected, sanitize it */\n      if (currentNode.content instanceof DocumentFragment) {\n        _sanitizeShadowDOM(currentNode.content);\n      }\n    }\n    /* If we sanitized `dirty` in-place, return it. */\n    if (IN_PLACE) {\n      return dirty;\n    }\n    /* Return sanitized string or DOM */\n    if (RETURN_DOM) {\n      if (RETURN_DOM_FRAGMENT) {\n        returnNode = createDocumentFragment.call(body.ownerDocument);\n        while (body.firstChild) {\n          // eslint-disable-next-line unicorn/prefer-dom-node-append\n          returnNode.appendChild(body.firstChild);\n        }\n      } else {\n        returnNode = body;\n      }\n      if (ALLOWED_ATTR.shadowroot || ALLOWED_ATTR.shadowrootmode) {\n        /*\n          AdoptNode() is not used because internal state is not reset\n          (e.g. the past names map of a HTMLFormElement), this is safe\n          in theory but we would rather not risk another attack vector.\n          The state that is cloned by importNode() is explicitly defined\n          by the specs.\n        */\n        returnNode = importNode.call(originalDocument, returnNode, true);\n      }\n      return returnNode;\n    }\n    let serializedHTML = WHOLE_DOCUMENT ? body.outerHTML : body.innerHTML;\n    /* Serialize doctype if allowed */\n    if (WHOLE_DOCUMENT && ALLOWED_TAGS['!doctype'] && body.ownerDocument && body.ownerDocument.doctype && body.ownerDocument.doctype.name && regExpTest(DOCTYPE_NAME, body.ownerDocument.doctype.name)) {\n      serializedHTML = '<!DOCTYPE ' + body.ownerDocument.doctype.name + '>\\n' + serializedHTML;\n    }\n    /* Sanitize final string template-safe */\n    if (SAFE_FOR_TEMPLATES) {\n      arrayForEach([MUSTACHE_EXPR, ERB_EXPR, TMPLIT_EXPR], expr => {\n        serializedHTML = stringReplace(serializedHTML, expr, ' ');\n      });\n    }\n    return trustedTypesPolicy && RETURN_TRUSTED_TYPE ? trustedTypesPolicy.createHTML(serializedHTML) : serializedHTML;\n  };\n  DOMPurify.setConfig = function () {\n    let cfg = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n    _parseConfig(cfg);\n    SET_CONFIG = true;\n  };\n  DOMPurify.clearConfig = function () {\n    CONFIG = null;\n    SET_CONFIG = false;\n  };\n  DOMPurify.isValidAttribute = function (tag, attr, value) {\n    /* Initialize shared config vars if necessary. */\n    if (!CONFIG) {\n      _parseConfig({});\n    }\n    const lcTag = transformCaseFunc(tag);\n    const lcName = transformCaseFunc(attr);\n    return _isValidAttribute(lcTag, lcName, value);\n  };\n  DOMPurify.addHook = function (entryPoint, hookFunction) {\n    if (typeof hookFunction !== 'function') {\n      return;\n    }\n    arrayPush(hooks[entryPoint], hookFunction);\n  };\n  DOMPurify.removeHook = function (entryPoint, hookFunction) {\n    if (hookFunction !== undefined) {\n      const index = arrayLastIndexOf(hooks[entryPoint], hookFunction);\n      return index === -1 ? undefined : arraySplice(hooks[entryPoint], index, 1)[0];\n    }\n    return arrayPop(hooks[entryPoint]);\n  };\n  DOMPurify.removeHooks = function (entryPoint) {\n    hooks[entryPoint] = [];\n  };\n  DOMPurify.removeAllHooks = function () {\n    hooks = _createHooksMap();\n  };\n  return DOMPurify;\n}\nvar purify = createDOMPurify();\n\nexport { purify as default };\n//# sourceMappingURL=purify.es.mjs.map\n","import {autoloadBlocks} from '@lipemat/js-boilerplate-gutenberg';\nimport Preview from './blocks/Preview';\nimport {getBlockSupports, TransformLegacy, transformLegacyWidget, translateBlockAttributes} from './helpers';\nimport ErrorBoundary from '../components/ErrorBoundary';\nimport NavigationIcon from './blocks/NavigationIcon';\n\n\n// @see content/plugins/advanced-sidebar-menu-pro/js/src/globals/config.ts\nexport type PassedGlobals = Partial<{\n\tErrorBoundary: typeof ErrorBoundary;\n\tNavigationIcon: typeof NavigationIcon;\n\tPreview: typeof Preview;\n\tgetBlockSupports: typeof getBlockSupports;\n\ttransformLegacyWidget: TransformLegacy;\n\ttranslateBlockAttributes: typeof translateBlockAttributes;\n}>;\n\n/**\n * Use our custom autoloader to automatically require,\n * register and add HMR support to the Gutenberg-related items.\n *\n * Will load from the specified directory recursively.\n */\nexport default () => {\n\t// Load all blocks\n\tautoloadBlocks( () => require.context( './blocks', true, /block\\.tsx$/ ), module );\n\n\n\t// Expose helpers and Preview component to the window, so we can use them in PRO.\n\tif ( '' === window.ADVANCED_SIDEBAR_MENU.isPro ) {\n\t\treturn;\n\t}\n\twindow.ADVANCED_SIDEBAR_MENU.ErrorBoundary = ErrorBoundary;\n\twindow.ADVANCED_SIDEBAR_MENU.NavigationIcon = NavigationIcon;\n\twindow.ADVANCED_SIDEBAR_MENU.Preview = Preview;\n\twindow.ADVANCED_SIDEBAR_MENU.getBlockSupports = getBlockSupports;\n\twindow.ADVANCED_SIDEBAR_MENU.transformLegacyWidget = transformLegacyWidget;\n\twindow.ADVANCED_SIDEBAR_MENU.translateBlockAttributes = translateBlockAttributes;\n}\n","'use strict';\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\nvar test = {};\n\ntest[TO_STRING_TAG] = 'z';\n\nmodule.exports = String(test) === '[object z]';\n","'use strict';\nvar defineBuiltIn = require('../internals/define-built-in');\n\nmodule.exports = function (target, src, options) {\n  for (var key in src) defineBuiltIn(target, key, src[key], options);\n  return target;\n};\n","'use strict';\nvar fails = require('../internals/fails');\n\n// Detect IE8's incomplete defineProperty implementation\nmodule.exports = !fails(function () {\n  // eslint-disable-next-line es/no-object-defineproperty -- required for testing\n  return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7;\n});\n","'use strict';\nvar aCallable = require('../internals/a-callable');\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\n\n// `GetMethod` abstract operation\n// https://tc39.es/ecma262/#sec-getmethod\nmodule.exports = function (V, P) {\n  var func = V[P];\n  return isNullOrUndefined(func) ? undefined : aCallable(func);\n};\n","module.exports = React;","'use strict';\nvar $String = String;\n\nmodule.exports = function (argument) {\n  try {\n    return $String(argument);\n  } catch (error) {\n    return 'Object';\n  }\n};\n","'use strict';\nvar iteratorClose = require('../internals/iterator-close');\n\nmodule.exports = function (iters, kind, value) {\n  for (var i = iters.length - 1; i >= 0; i--) {\n    if (iters[i] === undefined) continue;\n    try {\n      value = iteratorClose(iters[i].iterator, kind, value);\n    } catch (error) {\n      kind = 'throw';\n      value = error;\n    }\n  }\n  if (kind === 'throw') throw value;\n  return value;\n};\n","module.exports = jQuery;","'use strict';\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar Iterators = require('../internals/iterators');\n\nvar ITERATOR = wellKnownSymbol('iterator');\nvar ArrayPrototype = Array.prototype;\n\n// check on default Array iterator\nmodule.exports = function (it) {\n  return it !== undefined && (Iterators.Array === it || ArrayPrototype[ITERATOR] === it);\n};\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar hasOwn = require('../internals/has-own-property');\n\nvar FunctionPrototype = Function.prototype;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar getDescriptor = DESCRIPTORS && Object.getOwnPropertyDescriptor;\n\nvar EXISTS = hasOwn(FunctionPrototype, 'name');\n// additional protection from minified / mangled / dropped function names\nvar PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';\nvar CONFIGURABLE = EXISTS && (!DESCRIPTORS || (DESCRIPTORS && getDescriptor(FunctionPrototype, 'name').configurable));\n\nmodule.exports = {\n  EXISTS: EXISTS,\n  PROPER: PROPER,\n  CONFIGURABLE: CONFIGURABLE\n};\n","import {BlockControls, InspectorControls} from '@wordpress/block-editor';\nimport {PanelBody, SelectControl, Slot, TextControl} from '@wordpress/components';\nimport {BlockEditProps} from '@wordpress/blocks';\nimport {Attr, block} from './block';\nimport Preview from '../Preview';\nimport Display from '../Display';\nimport {useSelect} from '@wordpress/data';\nimport InfoPanel from '../InfoPanel';\nimport {CONFIG} from '../../../globals/config';\nimport {__} from '@wordpress/i18n';\nimport {Type} from '@wordpress/api/types';\nimport ErrorBoundary from '../../../components/ErrorBoundary';\nimport SideLoad from '../../SideLoad';\nimport {isScreen} from '../../helpers';\nimport ExcludeField from '../ExcludeField';\nimport DOMPurify from 'dompurify';\n\nimport styles from './edit.pcss';\n\n\nexport type FillProps =\n\tPick<BlockEditProps<Attr>, 'clientId' | 'attributes' | 'setAttributes' | 'name'>\n\t& { type?: Type }\n\ntype Props = BlockEditProps<Attr>;\n\n/**\n * Pages block content in the editor.\n */\nconst Edit = ( {attributes, setAttributes, clientId, name}: Props ) => {\n\tconst postType: Type<'edit'> | undefined = useSelect( select => {\n\t\tconst type = select( 'core' ).getPostType( attributes.post_type ?? 'page' );\n\t\treturn type ?? select( 'core' ).getPostType( 'page' );\n\t}, [ attributes.post_type ] );\n\n\t// We have a version conflict or license error.\n\tif ( '' !== CONFIG.error ) {\n\t\treturn ( <>\n\t\t\t<InspectorControls>\n\t\t\t\t<div\n\t\t\t\t\tclassName={styles.error}\n\t\t\t\t\tdangerouslySetInnerHTML={{__html: DOMPurify.sanitize( CONFIG.error )}} />\n\t\t\t</InspectorControls>\n\t\t\t<Preview<Attr> attributes={attributes} block={block.id} clientId={clientId} />\n\t\t</> );\n\t}\n\n\tconst fillProps: FillProps = {\n\t\ttype: postType,\n\t\tattributes,\n\t\tname,\n\t\tsetAttributes,\n\t\tclientId,\n\t};\n\n\n\treturn ( <>\n\t\t<InspectorControls>\n\t\t\t<div className={'components-panel__body is-opened'}>\n\t\t\t\t<a\n\t\t\t\t\thref={CONFIG.docs.page}\n\t\t\t\t\ttarget=\"_blank\"\n\t\t\t\t\trel=\"noopener noreferrer\"\n\t\t\t\t>\n\t\t\t\t\t{__( 'Documentation', 'advanced-sidebar-menu' )}\n\t\t\t\t</a>\n\t\t\t</div>\n\t\t</InspectorControls>\n\t\t<InspectorControls>\n\t\t\t{isScreen( [ 'widgets', 'site-editor', 'customize' ] ) && <PanelBody>\n\t\t\t\t<TextControl\n\t\t\t\t\tvalue={attributes.title ?? ''}\n\t\t\t\t\tlabel={__( 'Title', 'advanced-sidebar-menu' )}\n\t\t\t\t\tonChange={title => setAttributes( {title} )}\n\t\t\t\t\t// @ts-expect-error -- Not technically supported until WP 6.7\n\t\t\t\t\t__nextHasNoMarginBottom\n\t\t\t\t/>\n\t\t\t</PanelBody>}\n\t\t\t<ErrorBoundary attributes={attributes} block={name} section={'pages/Edit/general'}>\n\t\t\t\t<Display\n\t\t\t\t\tattributes={attributes}\n\t\t\t\t\tclientId={clientId}\n\t\t\t\t\tname={name}\n\t\t\t\t\tsetAttributes={setAttributes}\n\t\t\t\t\ttype={postType} />\n\n\t\t\t\t<div className={'components-panel__body is-opened'}>\n\t\t\t\t\t<Slot<FillProps>\n\t\t\t\t\t\tname=\"advanced-sidebar-menu/pages/general\"\n\t\t\t\t\t\tfillProps={fillProps} />\n\n\t\t\t\t\t<SelectControl\n\t\t\t\t\t\tlabel={__( 'Order by', 'advanced-sidebar-menu' )}\n\t\t\t\t\t\tvalue={attributes.order_by}\n\t\t\t\t\t\tlabelPosition={'side'}\n\t\t\t\t\t\toptions={Object.entries( CONFIG.pages.orderBy ).map( ( [ value, label ] ) => ( {\n\t\t\t\t\t\t\tvalue,\n\t\t\t\t\t\t\tlabel,\n\t\t\t\t\t\t} ) )}\n\t\t\t\t\t\tonChange={value => {\n\t\t\t\t\t\t\tsetAttributes( {\n\t\t\t\t\t\t\t\torder_by: value,\n\t\t\t\t\t\t\t} );\n\t\t\t\t\t\t}} />\n\n\t\t\t\t\t<ExcludeField\n\t\t\t\t\t\ttype={postType}\n\t\t\t\t\t\tattributes={attributes}\n\t\t\t\t\t\tsetAttributes={setAttributes} />\n\n\t\t\t\t\t<Slot<FillProps>\n\t\t\t\t\t\tname=\"advanced-sidebar-menu/pages/general-after\"\n\t\t\t\t\t\tfillProps={fillProps} />\n\t\t\t\t</div>\n\n\t\t\t</ErrorBoundary>\n\t\t\t<ErrorBoundary attributes={attributes} block={name} section={'pages/Edit/inspector'}>\n\t\t\t\t<Slot<FillProps>\n\t\t\t\t\tname=\"advanced-sidebar-menu/pages/inspector\"\n\t\t\t\t\tfillProps={fillProps} />\n\n\t\t\t</ErrorBoundary>\n\t\t</InspectorControls>\n\n\t\t<BlockControls>\n\t\t\t<ErrorBoundary\n\t\t\t\tattributes={attributes}\n\t\t\t\tblock={name}\n\t\t\t\tsection={'pages/Edit/block-controls'}\n\t\t\t>\n\t\t\t\t<Slot<FillProps>\n\t\t\t\t\tname=\"advanced-sidebar-menu/pages/block-controls\"\n\t\t\t\t\tfillProps={fillProps} />\n\t\t\t</ErrorBoundary>\n\t\t</BlockControls>\n\n\t\t<InfoPanel clientId={clientId} />\n\n\t\t<ErrorBoundary attributes={attributes} block={name} section={'pages/Edit/preview'}>\n\t\t\t<Preview<Attr> attributes={attributes} block={block.id} clientId={clientId} />\n\t\t</ErrorBoundary>\n\n\t\t<SideLoad clientId={clientId} />\n\t</> );\n};\n\nexport default Edit;\n","'use strict';\nvar bind = require('../internals/function-bind-context');\nvar call = require('../internals/function-call');\nvar anObject = require('../internals/an-object');\nvar tryToString = require('../internals/try-to-string');\nvar isArrayIteratorMethod = require('../internals/is-array-iterator-method');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar getIterator = require('../internals/get-iterator');\nvar getIteratorMethod = require('../internals/get-iterator-method');\nvar iteratorClose = require('../internals/iterator-close');\n\nvar $TypeError = TypeError;\n\nvar Result = function (stopped, result) {\n  this.stopped = stopped;\n  this.result = result;\n};\n\nvar ResultPrototype = Result.prototype;\n\nmodule.exports = function (iterable, unboundFunction, options) {\n  var that = options && options.that;\n  var AS_ENTRIES = !!(options && options.AS_ENTRIES);\n  var IS_RECORD = !!(options && options.IS_RECORD);\n  var IS_ITERATOR = !!(options && options.IS_ITERATOR);\n  var INTERRUPTED = !!(options && options.INTERRUPTED);\n  var fn = bind(unboundFunction, that);\n  var iterator, iterFn, index, length, result, next, step;\n\n  var stop = function (condition) {\n    if (iterator) iteratorClose(iterator, 'normal');\n    return new Result(true, condition);\n  };\n\n  var callFn = function (value) {\n    if (AS_ENTRIES) {\n      anObject(value);\n      return INTERRUPTED ? fn(value[0], value[1], stop) : fn(value[0], value[1]);\n    } return INTERRUPTED ? fn(value, stop) : fn(value);\n  };\n\n  if (IS_RECORD) {\n    iterator = iterable.iterator;\n  } else if (IS_ITERATOR) {\n    iterator = iterable;\n  } else {\n    iterFn = getIteratorMethod(iterable);\n    if (!iterFn) throw new $TypeError(tryToString(iterable) + ' is not iterable');\n    // optimisation for array iterators\n    if (isArrayIteratorMethod(iterFn)) {\n      for (index = 0, length = lengthOfArrayLike(iterable); length > index; index++) {\n        result = callFn(iterable[index]);\n        if (result && isPrototypeOf(ResultPrototype, result)) return result;\n      } return new Result(false);\n    }\n    iterator = getIterator(iterable, iterFn);\n  }\n\n  next = IS_RECORD ? iterable.next : iterator.next;\n  while (!(step = call(next, iterator)).done) {\n    try {\n      result = callFn(step.value);\n    } catch (error) {\n      iteratorClose(iterator, 'throw', error);\n    }\n    if (typeof result == 'object' && result && isPrototypeOf(ResultPrototype, result)) return result;\n  } return new Result(false);\n};\n","'use strict';\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\n\nvar $TypeError = TypeError;\n\n// `RequireObjectCoercible` abstract operation\n// https://tc39.es/ecma262/#sec-requireobjectcoercible\nmodule.exports = function (it) {\n  if (isNullOrUndefined(it)) throw new $TypeError(\"Can't call method on \" + it);\n  return it;\n};\n","'use strict';\nvar isCallable = require('../internals/is-callable');\nvar definePropertyModule = require('../internals/object-define-property');\nvar makeBuiltIn = require('../internals/make-built-in');\nvar defineGlobalProperty = require('../internals/define-global-property');\n\nmodule.exports = function (O, key, value, options) {\n  if (!options) options = {};\n  var simple = options.enumerable;\n  var name = options.name !== undefined ? options.name : key;\n  if (isCallable(value)) makeBuiltIn(value, name, options);\n  if (options.global) {\n    if (simple) O[key] = value;\n    else defineGlobalProperty(key, value);\n  } else {\n    try {\n      if (!options.unsafe) delete O[key];\n      else if (O[key]) simple = true;\n    } catch (error) { /* empty */ }\n    if (simple) O[key] = value;\n    else definePropertyModule.f(O, key, {\n      value: value,\n      enumerable: false,\n      configurable: !options.nonConfigurable,\n      writable: !options.nonWritable\n    });\n  } return O;\n};\n","/**\n * @license React\n * react-jsx-runtime.development.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nif (process.env.NODE_ENV !== \"production\") {\n  (function() {\n'use strict';\n\nvar React = require('react');\n\n// ATTENTION\n// When adding new symbols to this file,\n// Please consider also adding to 'react-devtools-shared/src/backend/ReactSymbols'\n// The Symbol used to tag the ReactElement-like types.\nvar REACT_ELEMENT_TYPE = Symbol.for('react.element');\nvar REACT_PORTAL_TYPE = Symbol.for('react.portal');\nvar REACT_FRAGMENT_TYPE = Symbol.for('react.fragment');\nvar REACT_STRICT_MODE_TYPE = Symbol.for('react.strict_mode');\nvar REACT_PROFILER_TYPE = Symbol.for('react.profiler');\nvar REACT_PROVIDER_TYPE = Symbol.for('react.provider');\nvar REACT_CONTEXT_TYPE = Symbol.for('react.context');\nvar REACT_FORWARD_REF_TYPE = Symbol.for('react.forward_ref');\nvar REACT_SUSPENSE_TYPE = Symbol.for('react.suspense');\nvar REACT_SUSPENSE_LIST_TYPE = Symbol.for('react.suspense_list');\nvar REACT_MEMO_TYPE = Symbol.for('react.memo');\nvar REACT_LAZY_TYPE = Symbol.for('react.lazy');\nvar REACT_OFFSCREEN_TYPE = Symbol.for('react.offscreen');\nvar MAYBE_ITERATOR_SYMBOL = Symbol.iterator;\nvar FAUX_ITERATOR_SYMBOL = '@@iterator';\nfunction getIteratorFn(maybeIterable) {\n  if (maybeIterable === null || typeof maybeIterable !== 'object') {\n    return null;\n  }\n\n  var maybeIterator = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL];\n\n  if (typeof maybeIterator === 'function') {\n    return maybeIterator;\n  }\n\n  return null;\n}\n\nvar ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;\n\nfunction error(format) {\n  {\n    {\n      for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {\n        args[_key2 - 1] = arguments[_key2];\n      }\n\n      printWarning('error', format, args);\n    }\n  }\n}\n\nfunction printWarning(level, format, args) {\n  // When changing this logic, you might want to also\n  // update consoleWithStackDev.www.js as well.\n  {\n    var ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;\n    var stack = ReactDebugCurrentFrame.getStackAddendum();\n\n    if (stack !== '') {\n      format += '%s';\n      args = args.concat([stack]);\n    } // eslint-disable-next-line react-internal/safe-string-coercion\n\n\n    var argsWithFormat = args.map(function (item) {\n      return String(item);\n    }); // Careful: RN currently depends on this prefix\n\n    argsWithFormat.unshift('Warning: ' + format); // We intentionally don't use spread (or .apply) directly because it\n    // breaks IE9: https://github.com/facebook/react/issues/13610\n    // eslint-disable-next-line react-internal/no-production-logging\n\n    Function.prototype.apply.call(console[level], console, argsWithFormat);\n  }\n}\n\n// -----------------------------------------------------------------------------\n\nvar enableScopeAPI = false; // Experimental Create Event Handle API.\nvar enableCacheElement = false;\nvar enableTransitionTracing = false; // No known bugs, but needs performance testing\n\nvar enableLegacyHidden = false; // Enables unstable_avoidThisFallback feature in Fiber\n// stuff. Intended to enable React core members to more easily debug scheduling\n// issues in DEV builds.\n\nvar enableDebugTracing = false; // Track which Fiber(s) schedule render work.\n\nvar REACT_MODULE_REFERENCE;\n\n{\n  REACT_MODULE_REFERENCE = Symbol.for('react.module.reference');\n}\n\nfunction isValidElementType(type) {\n  if (typeof type === 'string' || typeof type === 'function') {\n    return true;\n  } // Note: typeof might be other than 'symbol' or 'number' (e.g. if it's a polyfill).\n\n\n  if (type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || enableDebugTracing  || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || enableLegacyHidden  || type === REACT_OFFSCREEN_TYPE || enableScopeAPI  || enableCacheElement  || enableTransitionTracing ) {\n    return true;\n  }\n\n  if (typeof type === 'object' && type !== null) {\n    if (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || // This needs to include all possible module reference object\n    // types supported by any Flight configuration anywhere since\n    // we don't know which Flight build this will end up being used\n    // with.\n    type.$$typeof === REACT_MODULE_REFERENCE || type.getModuleId !== undefined) {\n      return true;\n    }\n  }\n\n  return false;\n}\n\nfunction getWrappedName(outerType, innerType, wrapperName) {\n  var displayName = outerType.displayName;\n\n  if (displayName) {\n    return displayName;\n  }\n\n  var functionName = innerType.displayName || innerType.name || '';\n  return functionName !== '' ? wrapperName + \"(\" + functionName + \")\" : wrapperName;\n} // Keep in sync with react-reconciler/getComponentNameFromFiber\n\n\nfunction getContextName(type) {\n  return type.displayName || 'Context';\n} // Note that the reconciler package should generally prefer to use getComponentNameFromFiber() instead.\n\n\nfunction getComponentNameFromType(type) {\n  if (type == null) {\n    // Host root, text node or just invalid type.\n    return null;\n  }\n\n  {\n    if (typeof type.tag === 'number') {\n      error('Received an unexpected object in getComponentNameFromType(). ' + 'This is likely a bug in React. Please file an issue.');\n    }\n  }\n\n  if (typeof type === 'function') {\n    return type.displayName || type.name || null;\n  }\n\n  if (typeof type === 'string') {\n    return type;\n  }\n\n  switch (type) {\n    case REACT_FRAGMENT_TYPE:\n      return 'Fragment';\n\n    case REACT_PORTAL_TYPE:\n      return 'Portal';\n\n    case REACT_PROFILER_TYPE:\n      return 'Profiler';\n\n    case REACT_STRICT_MODE_TYPE:\n      return 'StrictMode';\n\n    case REACT_SUSPENSE_TYPE:\n      return 'Suspense';\n\n    case REACT_SUSPENSE_LIST_TYPE:\n      return 'SuspenseList';\n\n  }\n\n  if (typeof type === 'object') {\n    switch (type.$$typeof) {\n      case REACT_CONTEXT_TYPE:\n        var context = type;\n        return getContextName(context) + '.Consumer';\n\n      case REACT_PROVIDER_TYPE:\n        var provider = type;\n        return getContextName(provider._context) + '.Provider';\n\n      case REACT_FORWARD_REF_TYPE:\n        return getWrappedName(type, type.render, 'ForwardRef');\n\n      case REACT_MEMO_TYPE:\n        var outerName = type.displayName || null;\n\n        if (outerName !== null) {\n          return outerName;\n        }\n\n        return getComponentNameFromType(type.type) || 'Memo';\n\n      case REACT_LAZY_TYPE:\n        {\n          var lazyComponent = type;\n          var payload = lazyComponent._payload;\n          var init = lazyComponent._init;\n\n          try {\n            return getComponentNameFromType(init(payload));\n          } catch (x) {\n            return null;\n          }\n        }\n\n      // eslint-disable-next-line no-fallthrough\n    }\n  }\n\n  return null;\n}\n\nvar assign = Object.assign;\n\n// Helpers to patch console.logs to avoid logging during side-effect free\n// replaying on render function. This currently only patches the object\n// lazily which won't cover if the log function was extracted eagerly.\n// We could also eagerly patch the method.\nvar disabledDepth = 0;\nvar prevLog;\nvar prevInfo;\nvar prevWarn;\nvar prevError;\nvar prevGroup;\nvar prevGroupCollapsed;\nvar prevGroupEnd;\n\nfunction disabledLog() {}\n\ndisabledLog.__reactDisabledLog = true;\nfunction disableLogs() {\n  {\n    if (disabledDepth === 0) {\n      /* eslint-disable react-internal/no-production-logging */\n      prevLog = console.log;\n      prevInfo = console.info;\n      prevWarn = console.warn;\n      prevError = console.error;\n      prevGroup = console.group;\n      prevGroupCollapsed = console.groupCollapsed;\n      prevGroupEnd = console.groupEnd; // https://github.com/facebook/react/issues/19099\n\n      var props = {\n        configurable: true,\n        enumerable: true,\n        value: disabledLog,\n        writable: true\n      }; // $FlowFixMe Flow thinks console is immutable.\n\n      Object.defineProperties(console, {\n        info: props,\n        log: props,\n        warn: props,\n        error: props,\n        group: props,\n        groupCollapsed: props,\n        groupEnd: props\n      });\n      /* eslint-enable react-internal/no-production-logging */\n    }\n\n    disabledDepth++;\n  }\n}\nfunction reenableLogs() {\n  {\n    disabledDepth--;\n\n    if (disabledDepth === 0) {\n      /* eslint-disable react-internal/no-production-logging */\n      var props = {\n        configurable: true,\n        enumerable: true,\n        writable: true\n      }; // $FlowFixMe Flow thinks console is immutable.\n\n      Object.defineProperties(console, {\n        log: assign({}, props, {\n          value: prevLog\n        }),\n        info: assign({}, props, {\n          value: prevInfo\n        }),\n        warn: assign({}, props, {\n          value: prevWarn\n        }),\n        error: assign({}, props, {\n          value: prevError\n        }),\n        group: assign({}, props, {\n          value: prevGroup\n        }),\n        groupCollapsed: assign({}, props, {\n          value: prevGroupCollapsed\n        }),\n        groupEnd: assign({}, props, {\n          value: prevGroupEnd\n        })\n      });\n      /* eslint-enable react-internal/no-production-logging */\n    }\n\n    if (disabledDepth < 0) {\n      error('disabledDepth fell below zero. ' + 'This is a bug in React. Please file an issue.');\n    }\n  }\n}\n\nvar ReactCurrentDispatcher = ReactSharedInternals.ReactCurrentDispatcher;\nvar prefix;\nfunction describeBuiltInComponentFrame(name, source, ownerFn) {\n  {\n    if (prefix === undefined) {\n      // Extract the VM specific prefix used by each line.\n      try {\n        throw Error();\n      } catch (x) {\n        var match = x.stack.trim().match(/\\n( *(at )?)/);\n        prefix = match && match[1] || '';\n      }\n    } // We use the prefix to ensure our stacks line up with native stack frames.\n\n\n    return '\\n' + prefix + name;\n  }\n}\nvar reentry = false;\nvar componentFrameCache;\n\n{\n  var PossiblyWeakMap = typeof WeakMap === 'function' ? WeakMap : Map;\n  componentFrameCache = new PossiblyWeakMap();\n}\n\nfunction describeNativeComponentFrame(fn, construct) {\n  // If something asked for a stack inside a fake render, it should get ignored.\n  if ( !fn || reentry) {\n    return '';\n  }\n\n  {\n    var frame = componentFrameCache.get(fn);\n\n    if (frame !== undefined) {\n      return frame;\n    }\n  }\n\n  var control;\n  reentry = true;\n  var previousPrepareStackTrace = Error.prepareStackTrace; // $FlowFixMe It does accept undefined.\n\n  Error.prepareStackTrace = undefined;\n  var previousDispatcher;\n\n  {\n    previousDispatcher = ReactCurrentDispatcher.current; // Set the dispatcher in DEV because this might be call in the render function\n    // for warnings.\n\n    ReactCurrentDispatcher.current = null;\n    disableLogs();\n  }\n\n  try {\n    // This should throw.\n    if (construct) {\n      // Something should be setting the props in the constructor.\n      var Fake = function () {\n        throw Error();\n      }; // $FlowFixMe\n\n\n      Object.defineProperty(Fake.prototype, 'props', {\n        set: function () {\n          // We use a throwing setter instead of frozen or non-writable props\n          // because that won't throw in a non-strict mode function.\n          throw Error();\n        }\n      });\n\n      if (typeof Reflect === 'object' && Reflect.construct) {\n        // We construct a different control for this case to include any extra\n        // frames added by the construct call.\n        try {\n          Reflect.construct(Fake, []);\n        } catch (x) {\n          control = x;\n        }\n\n        Reflect.construct(fn, [], Fake);\n      } else {\n        try {\n          Fake.call();\n        } catch (x) {\n          control = x;\n        }\n\n        fn.call(Fake.prototype);\n      }\n    } else {\n      try {\n        throw Error();\n      } catch (x) {\n        control = x;\n      }\n\n      fn();\n    }\n  } catch (sample) {\n    // This is inlined manually because closure doesn't do it for us.\n    if (sample && control && typeof sample.stack === 'string') {\n      // This extracts the first frame from the sample that isn't also in the control.\n      // Skipping one frame that we assume is the frame that calls the two.\n      var sampleLines = sample.stack.split('\\n');\n      var controlLines = control.stack.split('\\n');\n      var s = sampleLines.length - 1;\n      var c = controlLines.length - 1;\n\n      while (s >= 1 && c >= 0 && sampleLines[s] !== controlLines[c]) {\n        // We expect at least one stack frame to be shared.\n        // Typically this will be the root most one. However, stack frames may be\n        // cut off due to maximum stack limits. In this case, one maybe cut off\n        // earlier than the other. We assume that the sample is longer or the same\n        // and there for cut off earlier. So we should find the root most frame in\n        // the sample somewhere in the control.\n        c--;\n      }\n\n      for (; s >= 1 && c >= 0; s--, c--) {\n        // Next we find the first one that isn't the same which should be the\n        // frame that called our sample function and the control.\n        if (sampleLines[s] !== controlLines[c]) {\n          // In V8, the first line is describing the message but other VMs don't.\n          // If we're about to return the first line, and the control is also on the same\n          // line, that's a pretty good indicator that our sample threw at same line as\n          // the control. I.e. before we entered the sample frame. So we ignore this result.\n          // This can happen if you passed a class to function component, or non-function.\n          if (s !== 1 || c !== 1) {\n            do {\n              s--;\n              c--; // We may still have similar intermediate frames from the construct call.\n              // The next one that isn't the same should be our match though.\n\n              if (c < 0 || sampleLines[s] !== controlLines[c]) {\n                // V8 adds a \"new\" prefix for native classes. Let's remove it to make it prettier.\n                var _frame = '\\n' + sampleLines[s].replace(' at new ', ' at '); // If our component frame is labeled \"<anonymous>\"\n                // but we have a user-provided \"displayName\"\n                // splice it in to make the stack more readable.\n\n\n                if (fn.displayName && _frame.includes('<anonymous>')) {\n                  _frame = _frame.replace('<anonymous>', fn.displayName);\n                }\n\n                {\n                  if (typeof fn === 'function') {\n                    componentFrameCache.set(fn, _frame);\n                  }\n                } // Return the line we found.\n\n\n                return _frame;\n              }\n            } while (s >= 1 && c >= 0);\n          }\n\n          break;\n        }\n      }\n    }\n  } finally {\n    reentry = false;\n\n    {\n      ReactCurrentDispatcher.current = previousDispatcher;\n      reenableLogs();\n    }\n\n    Error.prepareStackTrace = previousPrepareStackTrace;\n  } // Fallback to just using the name if we couldn't make it throw.\n\n\n  var name = fn ? fn.displayName || fn.name : '';\n  var syntheticFrame = name ? describeBuiltInComponentFrame(name) : '';\n\n  {\n    if (typeof fn === 'function') {\n      componentFrameCache.set(fn, syntheticFrame);\n    }\n  }\n\n  return syntheticFrame;\n}\nfunction describeFunctionComponentFrame(fn, source, ownerFn) {\n  {\n    return describeNativeComponentFrame(fn, false);\n  }\n}\n\nfunction shouldConstruct(Component) {\n  var prototype = Component.prototype;\n  return !!(prototype && prototype.isReactComponent);\n}\n\nfunction describeUnknownElementTypeFrameInDEV(type, source, ownerFn) {\n\n  if (type == null) {\n    return '';\n  }\n\n  if (typeof type === 'function') {\n    {\n      return describeNativeComponentFrame(type, shouldConstruct(type));\n    }\n  }\n\n  if (typeof type === 'string') {\n    return describeBuiltInComponentFrame(type);\n  }\n\n  switch (type) {\n    case REACT_SUSPENSE_TYPE:\n      return describeBuiltInComponentFrame('Suspense');\n\n    case REACT_SUSPENSE_LIST_TYPE:\n      return describeBuiltInComponentFrame('SuspenseList');\n  }\n\n  if (typeof type === 'object') {\n    switch (type.$$typeof) {\n      case REACT_FORWARD_REF_TYPE:\n        return describeFunctionComponentFrame(type.render);\n\n      case REACT_MEMO_TYPE:\n        // Memo may contain any component type so we recursively resolve it.\n        return describeUnknownElementTypeFrameInDEV(type.type, source, ownerFn);\n\n      case REACT_LAZY_TYPE:\n        {\n          var lazyComponent = type;\n          var payload = lazyComponent._payload;\n          var init = lazyComponent._init;\n\n          try {\n            // Lazy may contain any component type so we recursively resolve it.\n            return describeUnknownElementTypeFrameInDEV(init(payload), source, ownerFn);\n          } catch (x) {}\n        }\n    }\n  }\n\n  return '';\n}\n\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\n\nvar loggedTypeFailures = {};\nvar ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;\n\nfunction setCurrentlyValidatingElement(element) {\n  {\n    if (element) {\n      var owner = element._owner;\n      var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);\n      ReactDebugCurrentFrame.setExtraStackFrame(stack);\n    } else {\n      ReactDebugCurrentFrame.setExtraStackFrame(null);\n    }\n  }\n}\n\nfunction checkPropTypes(typeSpecs, values, location, componentName, element) {\n  {\n    // $FlowFixMe This is okay but Flow doesn't know it.\n    var has = Function.call.bind(hasOwnProperty);\n\n    for (var typeSpecName in typeSpecs) {\n      if (has(typeSpecs, typeSpecName)) {\n        var error$1 = void 0; // Prop type validation may throw. In case they do, we don't want to\n        // fail the render phase where it didn't fail before. So we log it.\n        // After these have been cleaned up, we'll let them throw.\n\n        try {\n          // This is intentionally an invariant that gets caught. It's the same\n          // behavior as without this statement except with a better message.\n          if (typeof typeSpecs[typeSpecName] !== 'function') {\n            // eslint-disable-next-line react-internal/prod-error-codes\n            var err = Error((componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' + 'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.' + 'This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.');\n            err.name = 'Invariant Violation';\n            throw err;\n          }\n\n          error$1 = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED');\n        } catch (ex) {\n          error$1 = ex;\n        }\n\n        if (error$1 && !(error$1 instanceof Error)) {\n          setCurrentlyValidatingElement(element);\n\n          error('%s: type specification of %s' + ' `%s` is invalid; the type checker ' + 'function must return `null` or an `Error` but returned a %s. ' + 'You may have forgotten to pass an argument to the type checker ' + 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' + 'shape all require an argument).', componentName || 'React class', location, typeSpecName, typeof error$1);\n\n          setCurrentlyValidatingElement(null);\n        }\n\n        if (error$1 instanceof Error && !(error$1.message in loggedTypeFailures)) {\n          // Only monitor this failure once because there tends to be a lot of the\n          // same error.\n          loggedTypeFailures[error$1.message] = true;\n          setCurrentlyValidatingElement(element);\n\n          error('Failed %s type: %s', location, error$1.message);\n\n          setCurrentlyValidatingElement(null);\n        }\n      }\n    }\n  }\n}\n\nvar isArrayImpl = Array.isArray; // eslint-disable-next-line no-redeclare\n\nfunction isArray(a) {\n  return isArrayImpl(a);\n}\n\n/*\n * The `'' + value` pattern (used in in perf-sensitive code) throws for Symbol\n * and Temporal.* types. See https://github.com/facebook/react/pull/22064.\n *\n * The functions in this module will throw an easier-to-understand,\n * easier-to-debug exception with a clear errors message message explaining the\n * problem. (Instead of a confusing exception thrown inside the implementation\n * of the `value` object).\n */\n// $FlowFixMe only called in DEV, so void return is not possible.\nfunction typeName(value) {\n  {\n    // toStringTag is needed for namespaced types like Temporal.Instant\n    var hasToStringTag = typeof Symbol === 'function' && Symbol.toStringTag;\n    var type = hasToStringTag && value[Symbol.toStringTag] || value.constructor.name || 'Object';\n    return type;\n  }\n} // $FlowFixMe only called in DEV, so void return is not possible.\n\n\nfunction willCoercionThrow(value) {\n  {\n    try {\n      testStringCoercion(value);\n      return false;\n    } catch (e) {\n      return true;\n    }\n  }\n}\n\nfunction testStringCoercion(value) {\n  // If you ended up here by following an exception call stack, here's what's\n  // happened: you supplied an object or symbol value to React (as a prop, key,\n  // DOM attribute, CSS property, string ref, etc.) and when React tried to\n  // coerce it to a string using `'' + value`, an exception was thrown.\n  //\n  // The most common types that will cause this exception are `Symbol` instances\n  // and Temporal objects like `Temporal.Instant`. But any object that has a\n  // `valueOf` or `[Symbol.toPrimitive]` method that throws will also cause this\n  // exception. (Library authors do this to prevent users from using built-in\n  // numeric operators like `+` or comparison operators like `>=` because custom\n  // methods are needed to perform accurate arithmetic or comparison.)\n  //\n  // To fix the problem, coerce this object or symbol value to a string before\n  // passing it to React. The most reliable way is usually `String(value)`.\n  //\n  // To find which value is throwing, check the browser or debugger console.\n  // Before this exception was thrown, there should be `console.error` output\n  // that shows the type (Symbol, Temporal.PlainDate, etc.) that caused the\n  // problem and how that type was used: key, atrribute, input value prop, etc.\n  // In most cases, this console output also shows the component and its\n  // ancestor components where the exception happened.\n  //\n  // eslint-disable-next-line react-internal/safe-string-coercion\n  return '' + value;\n}\nfunction checkKeyStringCoercion(value) {\n  {\n    if (willCoercionThrow(value)) {\n      error('The provided key is an unsupported type %s.' + ' This value must be coerced to a string before before using it here.', typeName(value));\n\n      return testStringCoercion(value); // throw (to help callers find troubleshooting comments)\n    }\n  }\n}\n\nvar ReactCurrentOwner = ReactSharedInternals.ReactCurrentOwner;\nvar RESERVED_PROPS = {\n  key: true,\n  ref: true,\n  __self: true,\n  __source: true\n};\nvar specialPropKeyWarningShown;\nvar specialPropRefWarningShown;\nvar didWarnAboutStringRefs;\n\n{\n  didWarnAboutStringRefs = {};\n}\n\nfunction hasValidRef(config) {\n  {\n    if (hasOwnProperty.call(config, 'ref')) {\n      var getter = Object.getOwnPropertyDescriptor(config, 'ref').get;\n\n      if (getter && getter.isReactWarning) {\n        return false;\n      }\n    }\n  }\n\n  return config.ref !== undefined;\n}\n\nfunction hasValidKey(config) {\n  {\n    if (hasOwnProperty.call(config, 'key')) {\n      var getter = Object.getOwnPropertyDescriptor(config, 'key').get;\n\n      if (getter && getter.isReactWarning) {\n        return false;\n      }\n    }\n  }\n\n  return config.key !== undefined;\n}\n\nfunction warnIfStringRefCannotBeAutoConverted(config, self) {\n  {\n    if (typeof config.ref === 'string' && ReactCurrentOwner.current && self && ReactCurrentOwner.current.stateNode !== self) {\n      var componentName = getComponentNameFromType(ReactCurrentOwner.current.type);\n\n      if (!didWarnAboutStringRefs[componentName]) {\n        error('Component \"%s\" contains the string ref \"%s\". ' + 'Support for string refs will be removed in a future major release. ' + 'This case cannot be automatically converted to an arrow function. ' + 'We ask you to manually fix this case by using useRef() or createRef() instead. ' + 'Learn more about using refs safely here: ' + 'https://reactjs.org/link/strict-mode-string-ref', getComponentNameFromType(ReactCurrentOwner.current.type), config.ref);\n\n        didWarnAboutStringRefs[componentName] = true;\n      }\n    }\n  }\n}\n\nfunction defineKeyPropWarningGetter(props, displayName) {\n  {\n    var warnAboutAccessingKey = function () {\n      if (!specialPropKeyWarningShown) {\n        specialPropKeyWarningShown = true;\n\n        error('%s: `key` is not a prop. Trying to access it will result ' + 'in `undefined` being returned. If you need to access the same ' + 'value within the child component, you should pass it as a different ' + 'prop. (https://reactjs.org/link/special-props)', displayName);\n      }\n    };\n\n    warnAboutAccessingKey.isReactWarning = true;\n    Object.defineProperty(props, 'key', {\n      get: warnAboutAccessingKey,\n      configurable: true\n    });\n  }\n}\n\nfunction defineRefPropWarningGetter(props, displayName) {\n  {\n    var warnAboutAccessingRef = function () {\n      if (!specialPropRefWarningShown) {\n        specialPropRefWarningShown = true;\n\n        error('%s: `ref` is not a prop. Trying to access it will result ' + 'in `undefined` being returned. If you need to access the same ' + 'value within the child component, you should pass it as a different ' + 'prop. (https://reactjs.org/link/special-props)', displayName);\n      }\n    };\n\n    warnAboutAccessingRef.isReactWarning = true;\n    Object.defineProperty(props, 'ref', {\n      get: warnAboutAccessingRef,\n      configurable: true\n    });\n  }\n}\n/**\n * Factory method to create a new React element. This no longer adheres to\n * the class pattern, so do not use new to call it. Also, instanceof check\n * will not work. Instead test $$typeof field against Symbol.for('react.element') to check\n * if something is a React Element.\n *\n * @param {*} type\n * @param {*} props\n * @param {*} key\n * @param {string|object} ref\n * @param {*} owner\n * @param {*} self A *temporary* helper to detect places where `this` is\n * different from the `owner` when React.createElement is called, so that we\n * can warn. We want to get rid of owner and replace string `ref`s with arrow\n * functions, and as long as `this` and owner are the same, there will be no\n * change in behavior.\n * @param {*} source An annotation object (added by a transpiler or otherwise)\n * indicating filename, line number, and/or other information.\n * @internal\n */\n\n\nvar ReactElement = function (type, key, ref, self, source, owner, props) {\n  var element = {\n    // This tag allows us to uniquely identify this as a React Element\n    $$typeof: REACT_ELEMENT_TYPE,\n    // Built-in properties that belong on the element\n    type: type,\n    key: key,\n    ref: ref,\n    props: props,\n    // Record the component responsible for creating this element.\n    _owner: owner\n  };\n\n  {\n    // The validation flag is currently mutative. We put it on\n    // an external backing store so that we can freeze the whole object.\n    // This can be replaced with a WeakMap once they are implemented in\n    // commonly used development environments.\n    element._store = {}; // To make comparing ReactElements easier for testing purposes, we make\n    // the validation flag non-enumerable (where possible, which should\n    // include every environment we run tests in), so the test framework\n    // ignores it.\n\n    Object.defineProperty(element._store, 'validated', {\n      configurable: false,\n      enumerable: false,\n      writable: true,\n      value: false\n    }); // self and source are DEV only properties.\n\n    Object.defineProperty(element, '_self', {\n      configurable: false,\n      enumerable: false,\n      writable: false,\n      value: self\n    }); // Two elements created in two different places should be considered\n    // equal for testing purposes and therefore we hide it from enumeration.\n\n    Object.defineProperty(element, '_source', {\n      configurable: false,\n      enumerable: false,\n      writable: false,\n      value: source\n    });\n\n    if (Object.freeze) {\n      Object.freeze(element.props);\n      Object.freeze(element);\n    }\n  }\n\n  return element;\n};\n/**\n * https://github.com/reactjs/rfcs/pull/107\n * @param {*} type\n * @param {object} props\n * @param {string} key\n */\n\nfunction jsxDEV(type, config, maybeKey, source, self) {\n  {\n    var propName; // Reserved names are extracted\n\n    var props = {};\n    var key = null;\n    var ref = null; // Currently, key can be spread in as a prop. This causes a potential\n    // issue if key is also explicitly declared (ie. <div {...props} key=\"Hi\" />\n    // or <div key=\"Hi\" {...props} /> ). We want to deprecate key spread,\n    // but as an intermediary step, we will use jsxDEV for everything except\n    // <div {...props} key=\"Hi\" />, because we aren't currently able to tell if\n    // key is explicitly declared to be undefined or not.\n\n    if (maybeKey !== undefined) {\n      {\n        checkKeyStringCoercion(maybeKey);\n      }\n\n      key = '' + maybeKey;\n    }\n\n    if (hasValidKey(config)) {\n      {\n        checkKeyStringCoercion(config.key);\n      }\n\n      key = '' + config.key;\n    }\n\n    if (hasValidRef(config)) {\n      ref = config.ref;\n      warnIfStringRefCannotBeAutoConverted(config, self);\n    } // Remaining properties are added to a new props object\n\n\n    for (propName in config) {\n      if (hasOwnProperty.call(config, propName) && !RESERVED_PROPS.hasOwnProperty(propName)) {\n        props[propName] = config[propName];\n      }\n    } // Resolve default props\n\n\n    if (type && type.defaultProps) {\n      var defaultProps = type.defaultProps;\n\n      for (propName in defaultProps) {\n        if (props[propName] === undefined) {\n          props[propName] = defaultProps[propName];\n        }\n      }\n    }\n\n    if (key || ref) {\n      var displayName = typeof type === 'function' ? type.displayName || type.name || 'Unknown' : type;\n\n      if (key) {\n        defineKeyPropWarningGetter(props, displayName);\n      }\n\n      if (ref) {\n        defineRefPropWarningGetter(props, displayName);\n      }\n    }\n\n    return ReactElement(type, key, ref, self, source, ReactCurrentOwner.current, props);\n  }\n}\n\nvar ReactCurrentOwner$1 = ReactSharedInternals.ReactCurrentOwner;\nvar ReactDebugCurrentFrame$1 = ReactSharedInternals.ReactDebugCurrentFrame;\n\nfunction setCurrentlyValidatingElement$1(element) {\n  {\n    if (element) {\n      var owner = element._owner;\n      var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);\n      ReactDebugCurrentFrame$1.setExtraStackFrame(stack);\n    } else {\n      ReactDebugCurrentFrame$1.setExtraStackFrame(null);\n    }\n  }\n}\n\nvar propTypesMisspellWarningShown;\n\n{\n  propTypesMisspellWarningShown = false;\n}\n/**\n * Verifies the object is a ReactElement.\n * See https://reactjs.org/docs/react-api.html#isvalidelement\n * @param {?object} object\n * @return {boolean} True if `object` is a ReactElement.\n * @final\n */\n\n\nfunction isValidElement(object) {\n  {\n    return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;\n  }\n}\n\nfunction getDeclarationErrorAddendum() {\n  {\n    if (ReactCurrentOwner$1.current) {\n      var name = getComponentNameFromType(ReactCurrentOwner$1.current.type);\n\n      if (name) {\n        return '\\n\\nCheck the render method of `' + name + '`.';\n      }\n    }\n\n    return '';\n  }\n}\n\nfunction getSourceInfoErrorAddendum(source) {\n  {\n    if (source !== undefined) {\n      var fileName = source.fileName.replace(/^.*[\\\\\\/]/, '');\n      var lineNumber = source.lineNumber;\n      return '\\n\\nCheck your code at ' + fileName + ':' + lineNumber + '.';\n    }\n\n    return '';\n  }\n}\n/**\n * Warn if there's no key explicitly set on dynamic arrays of children or\n * object keys are not valid. This allows us to keep track of children between\n * updates.\n */\n\n\nvar ownerHasKeyUseWarning = {};\n\nfunction getCurrentComponentErrorInfo(parentType) {\n  {\n    var info = getDeclarationErrorAddendum();\n\n    if (!info) {\n      var parentName = typeof parentType === 'string' ? parentType : parentType.displayName || parentType.name;\n\n      if (parentName) {\n        info = \"\\n\\nCheck the top-level render call using <\" + parentName + \">.\";\n      }\n    }\n\n    return info;\n  }\n}\n/**\n * Warn if the element doesn't have an explicit key assigned to it.\n * This element is in an array. The array could grow and shrink or be\n * reordered. All children that haven't already been validated are required to\n * have a \"key\" property assigned to it. Error statuses are cached so a warning\n * will only be shown once.\n *\n * @internal\n * @param {ReactElement} element Element that requires a key.\n * @param {*} parentType element's parent's type.\n */\n\n\nfunction validateExplicitKey(element, parentType) {\n  {\n    if (!element._store || element._store.validated || element.key != null) {\n      return;\n    }\n\n    element._store.validated = true;\n    var currentComponentErrorInfo = getCurrentComponentErrorInfo(parentType);\n\n    if (ownerHasKeyUseWarning[currentComponentErrorInfo]) {\n      return;\n    }\n\n    ownerHasKeyUseWarning[currentComponentErrorInfo] = true; // Usually the current owner is the offender, but if it accepts children as a\n    // property, it may be the creator of the child that's responsible for\n    // assigning it a key.\n\n    var childOwner = '';\n\n    if (element && element._owner && element._owner !== ReactCurrentOwner$1.current) {\n      // Give the component that originally created this child.\n      childOwner = \" It was passed a child from \" + getComponentNameFromType(element._owner.type) + \".\";\n    }\n\n    setCurrentlyValidatingElement$1(element);\n\n    error('Each child in a list should have a unique \"key\" prop.' + '%s%s See https://reactjs.org/link/warning-keys for more information.', currentComponentErrorInfo, childOwner);\n\n    setCurrentlyValidatingElement$1(null);\n  }\n}\n/**\n * Ensure that every element either is passed in a static location, in an\n * array with an explicit keys property defined, or in an object literal\n * with valid key property.\n *\n * @internal\n * @param {ReactNode} node Statically passed child of any type.\n * @param {*} parentType node's parent's type.\n */\n\n\nfunction validateChildKeys(node, parentType) {\n  {\n    if (typeof node !== 'object') {\n      return;\n    }\n\n    if (isArray(node)) {\n      for (var i = 0; i < node.length; i++) {\n        var child = node[i];\n\n        if (isValidElement(child)) {\n          validateExplicitKey(child, parentType);\n        }\n      }\n    } else if (isValidElement(node)) {\n      // This element was passed in a valid location.\n      if (node._store) {\n        node._store.validated = true;\n      }\n    } else if (node) {\n      var iteratorFn = getIteratorFn(node);\n\n      if (typeof iteratorFn === 'function') {\n        // Entry iterators used to provide implicit keys,\n        // but now we print a separate warning for them later.\n        if (iteratorFn !== node.entries) {\n          var iterator = iteratorFn.call(node);\n          var step;\n\n          while (!(step = iterator.next()).done) {\n            if (isValidElement(step.value)) {\n              validateExplicitKey(step.value, parentType);\n            }\n          }\n        }\n      }\n    }\n  }\n}\n/**\n * Given an element, validate that its props follow the propTypes definition,\n * provided by the type.\n *\n * @param {ReactElement} element\n */\n\n\nfunction validatePropTypes(element) {\n  {\n    var type = element.type;\n\n    if (type === null || type === undefined || typeof type === 'string') {\n      return;\n    }\n\n    var propTypes;\n\n    if (typeof type === 'function') {\n      propTypes = type.propTypes;\n    } else if (typeof type === 'object' && (type.$$typeof === REACT_FORWARD_REF_TYPE || // Note: Memo only checks outer props here.\n    // Inner props are checked in the reconciler.\n    type.$$typeof === REACT_MEMO_TYPE)) {\n      propTypes = type.propTypes;\n    } else {\n      return;\n    }\n\n    if (propTypes) {\n      // Intentionally inside to avoid triggering lazy initializers:\n      var name = getComponentNameFromType(type);\n      checkPropTypes(propTypes, element.props, 'prop', name, element);\n    } else if (type.PropTypes !== undefined && !propTypesMisspellWarningShown) {\n      propTypesMisspellWarningShown = true; // Intentionally inside to avoid triggering lazy initializers:\n\n      var _name = getComponentNameFromType(type);\n\n      error('Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?', _name || 'Unknown');\n    }\n\n    if (typeof type.getDefaultProps === 'function' && !type.getDefaultProps.isReactClassApproved) {\n      error('getDefaultProps is only used on classic React.createClass ' + 'definitions. Use a static property named `defaultProps` instead.');\n    }\n  }\n}\n/**\n * Given a fragment, validate that it can only be provided with fragment props\n * @param {ReactElement} fragment\n */\n\n\nfunction validateFragmentProps(fragment) {\n  {\n    var keys = Object.keys(fragment.props);\n\n    for (var i = 0; i < keys.length; i++) {\n      var key = keys[i];\n\n      if (key !== 'children' && key !== 'key') {\n        setCurrentlyValidatingElement$1(fragment);\n\n        error('Invalid prop `%s` supplied to `React.Fragment`. ' + 'React.Fragment can only have `key` and `children` props.', key);\n\n        setCurrentlyValidatingElement$1(null);\n        break;\n      }\n    }\n\n    if (fragment.ref !== null) {\n      setCurrentlyValidatingElement$1(fragment);\n\n      error('Invalid attribute `ref` supplied to `React.Fragment`.');\n\n      setCurrentlyValidatingElement$1(null);\n    }\n  }\n}\n\nfunction jsxWithValidation(type, props, key, isStaticChildren, source, self) {\n  {\n    var validType = isValidElementType(type); // We warn in this case but don't throw. We expect the element creation to\n    // succeed and there will likely be errors in render.\n\n    if (!validType) {\n      var info = '';\n\n      if (type === undefined || typeof type === 'object' && type !== null && Object.keys(type).length === 0) {\n        info += ' You likely forgot to export your component from the file ' + \"it's defined in, or you might have mixed up default and named imports.\";\n      }\n\n      var sourceInfo = getSourceInfoErrorAddendum(source);\n\n      if (sourceInfo) {\n        info += sourceInfo;\n      } else {\n        info += getDeclarationErrorAddendum();\n      }\n\n      var typeString;\n\n      if (type === null) {\n        typeString = 'null';\n      } else if (isArray(type)) {\n        typeString = 'array';\n      } else if (type !== undefined && type.$$typeof === REACT_ELEMENT_TYPE) {\n        typeString = \"<\" + (getComponentNameFromType(type.type) || 'Unknown') + \" />\";\n        info = ' Did you accidentally export a JSX literal instead of a component?';\n      } else {\n        typeString = typeof type;\n      }\n\n      error('React.jsx: type is invalid -- expected a string (for ' + 'built-in components) or a class/function (for composite ' + 'components) but got: %s.%s', typeString, info);\n    }\n\n    var element = jsxDEV(type, props, key, source, self); // The result can be nullish if a mock or a custom function is used.\n    // TODO: Drop this when these are no longer allowed as the type argument.\n\n    if (element == null) {\n      return element;\n    } // Skip key warning if the type isn't valid since our key validation logic\n    // doesn't expect a non-string/function type and can throw confusing errors.\n    // We don't want exception behavior to differ between dev and prod.\n    // (Rendering will throw with a helpful message and as soon as the type is\n    // fixed, the key warnings will appear.)\n\n\n    if (validType) {\n      var children = props.children;\n\n      if (children !== undefined) {\n        if (isStaticChildren) {\n          if (isArray(children)) {\n            for (var i = 0; i < children.length; i++) {\n              validateChildKeys(children[i], type);\n            }\n\n            if (Object.freeze) {\n              Object.freeze(children);\n            }\n          } else {\n            error('React.jsx: Static children should always be an array. ' + 'You are likely explicitly calling React.jsxs or React.jsxDEV. ' + 'Use the Babel transform instead.');\n          }\n        } else {\n          validateChildKeys(children, type);\n        }\n      }\n    }\n\n    if (type === REACT_FRAGMENT_TYPE) {\n      validateFragmentProps(element);\n    } else {\n      validatePropTypes(element);\n    }\n\n    return element;\n  }\n} // These two functions exist to still get child warnings in dev\n// even with the prod transform. This means that jsxDEV is purely\n// opt-in behavior for better messages but that we won't stop\n// giving you warnings if you use production apis.\n\nfunction jsxWithValidationStatic(type, props, key) {\n  {\n    return jsxWithValidation(type, props, key, true);\n  }\n}\nfunction jsxWithValidationDynamic(type, props, key) {\n  {\n    return jsxWithValidation(type, props, key, false);\n  }\n}\n\nvar jsx =  jsxWithValidationDynamic ; // we may want to special case jsxs internally to take advantage of static children.\n// for now we can ship identical prod functions\n\nvar jsxs =  jsxWithValidationStatic ;\n\nexports.Fragment = REACT_FRAGMENT_TYPE;\nexports.jsx = jsx;\nexports.jsxs = jsxs;\n  })();\n}\n","'use strict';\nvar globalThis = require('../internals/global-this');\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar defineGlobalProperty = require('../internals/define-global-property');\nvar copyConstructorProperties = require('../internals/copy-constructor-properties');\nvar isForced = require('../internals/is-forced');\n\n/*\n  options.target         - name of the target object\n  options.global         - target is the global object\n  options.stat           - export as static methods of target\n  options.proto          - export as prototype methods of target\n  options.real           - real prototype method for the `pure` version\n  options.forced         - export even if the native feature is available\n  options.bind           - bind methods to the target, required for the `pure` version\n  options.wrap           - wrap constructors to preventing global pollution, required for the `pure` version\n  options.unsafe         - use the simple assignment of property instead of delete + defineProperty\n  options.sham           - add a flag to not completely full polyfills\n  options.enumerable     - export as enumerable property\n  options.dontCallGetSet - prevent calling a getter on target\n  options.name           - the .name of the function if it does not match the key\n*/\nmodule.exports = function (options, source) {\n  var TARGET = options.target;\n  var GLOBAL = options.global;\n  var STATIC = options.stat;\n  var FORCED, target, key, targetProperty, sourceProperty, descriptor;\n  if (GLOBAL) {\n    target = globalThis;\n  } else if (STATIC) {\n    target = globalThis[TARGET] || defineGlobalProperty(TARGET, {});\n  } else {\n    target = globalThis[TARGET] && globalThis[TARGET].prototype;\n  }\n  if (target) for (key in source) {\n    sourceProperty = source[key];\n    if (options.dontCallGetSet) {\n      descriptor = getOwnPropertyDescriptor(target, key);\n      targetProperty = descriptor && descriptor.value;\n    } else targetProperty = target[key];\n    FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);\n    // contained in target\n    if (!FORCED && targetProperty !== undefined) {\n      if (typeof sourceProperty == typeof targetProperty) continue;\n      copyConstructorProperties(sourceProperty, targetProperty);\n    }\n    // add a flag to not completely full polyfills\n    if (options.sham || (targetProperty && targetProperty.sham)) {\n      createNonEnumerableProperty(sourceProperty, 'sham', true);\n    }\n    defineBuiltIn(target, key, sourceProperty, options);\n  }\n};\n","module.exports = window.wp?.blocks;","'use strict';\nvar toPrimitive = require('../internals/to-primitive');\nvar isSymbol = require('../internals/is-symbol');\n\n// `ToPropertyKey` abstract operation\n// https://tc39.es/ecma262/#sec-topropertykey\nmodule.exports = function (argument) {\n  var key = toPrimitive(argument, 'string');\n  return isSymbol(key) ? key : key + '';\n};\n","'use strict';\nmodule.exports = function (exec) {\n  try {\n    return !!exec();\n  } catch (error) {\n    return true;\n  }\n};\n","'use strict';\nvar globalThis = require('../internals/global-this');\nvar shared = require('../internals/shared');\nvar hasOwn = require('../internals/has-own-property');\nvar uid = require('../internals/uid');\nvar NATIVE_SYMBOL = require('../internals/symbol-constructor-detection');\nvar USE_SYMBOL_AS_UID = require('../internals/use-symbol-as-uid');\n\nvar Symbol = globalThis.Symbol;\nvar WellKnownSymbolsStore = shared('wks');\nvar createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol['for'] || Symbol : Symbol && Symbol.withoutSetter || uid;\n\nmodule.exports = function (name) {\n  if (!hasOwn(WellKnownSymbolsStore, name)) {\n    WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn(Symbol, name)\n      ? Symbol[name]\n      : createWellKnownSymbol('Symbol.' + name);\n  } return WellKnownSymbolsStore[name];\n};\n","'use strict';\n// toObject with fallback for non-array-like ES3 strings\nvar IndexedObject = require('../internals/indexed-object');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\nmodule.exports = function (it) {\n  return IndexedObject(requireObjectCoercible(it));\n};\n","const CategoriesIcon = <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\">\n\t<rect x=\"0\" fill=\"none\" width=\"20\" height=\"20\" />\n\t<g>\n\t\t<path\n\t\t\tfill=\"#044567\"\n\t\t\td=\"M19 17V2c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v15c0 .55.45 1 1 1h15c.55 0 1-.45 1-1z M4 3h13v4H4V3z M5 4h3v2H5V4zm4 0h3v2H9V4zm4 0h3v2H13V4z M4.5 9 c .28 0 .5 .22 .5 .5s-.22.5-.5.5s-.5-.22-.5-.5s.22-.5 .5-.5z M6 9h4v1H6v-1z M4.5 12 c .28 0 .5 .22 .5 .5s-.22.5-.5.5s-.5-.22-.5-.5s.22-.5 .5-.5z M6 12h4v1H6v-1z M4.5 15 c .28 0 .5 .22 .5 .5s-.22.5-.5.5s-.5-.22-.5-.5s.22-.5 .5-.5z M6 15h4v1H6v-1z M12 10 H15.5 L17 12.5 L15.5 15 H12 V10 Z M13 12.5 m -0.6 0 a 0.6 0.6 0 1 0 1.2 0 a 0.6 0.6 0 1 0 -1.2 0\" />\n\t</g>\n</svg>;\n\nexport default CategoriesIcon;\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar hasOwn = require('../internals/has-own-property');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar indexOf = require('../internals/array-includes').indexOf;\nvar hiddenKeys = require('../internals/hidden-keys');\n\nvar push = uncurryThis([].push);\n\nmodule.exports = function (object, names) {\n  var O = toIndexedObject(object);\n  var i = 0;\n  var result = [];\n  var key;\n  for (key in O) !hasOwn(hiddenKeys, key) && hasOwn(O, key) && push(result, key);\n  // Don't enum bug & hidden keys\n  while (names.length > i) if (hasOwn(O, key = names[i++])) {\n    ~indexOf(result, key) || push(result, key);\n  }\n  return result;\n};\n","'use strict';\nvar isObject = require('../internals/is-object');\n\nvar $String = String;\nvar $TypeError = TypeError;\n\n// `Assert: Type(argument) is Object`\nmodule.exports = function (argument) {\n  if (isObject(argument)) return argument;\n  throw new $TypeError($String(argument) + ' is not an object');\n};\n","'use strict';\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\nvar $Object = Object;\n\n// `ToObject` abstract operation\n// https://tc39.es/ecma262/#sec-toobject\nmodule.exports = function (argument) {\n  return $Object(requireObjectCoercible(argument));\n};\n","'use strict';\nvar globalThis = require('../internals/global-this');\nvar isCallable = require('../internals/is-callable');\n\nvar WeakMap = globalThis.WeakMap;\n\nmodule.exports = isCallable(WeakMap) && /native code/.test(String(WeakMap));\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar toObject = require('../internals/to-object');\n\nvar hasOwnProperty = uncurryThis({}.hasOwnProperty);\n\n// `HasOwnProperty` abstract operation\n// https://tc39.es/ecma262/#sec-hasownproperty\n// eslint-disable-next-line es/no-object-hasown -- safe\nmodule.exports = Object.hasOwn || function hasOwn(it, key) {\n  return hasOwnProperty(toObject(it), key);\n};\n","'use strict';\nmodule.exports = function (bitmap, value) {\n  return {\n    enumerable: !(bitmap & 1),\n    configurable: !(bitmap & 2),\n    writable: !(bitmap & 4),\n    value: value\n  };\n};\n","'use strict';\n// IE8- don't enum bug keys\nmodule.exports = [\n  'constructor',\n  'hasOwnProperty',\n  'isPrototypeOf',\n  'propertyIsEnumerable',\n  'toLocaleString',\n  'toString',\n  'valueOf'\n];\n","// extracted by mini-css-extract-plugin\nexport default {\"wrap\":\"preview__wrap__BD\",\"placeholder\":\"preview__placeholder__HI\",\"error\":\"preview__error__Nl\",\"spin-wrap\":\"preview__spin-wrap__o0\",\"spinWrap\":\"preview__spin-wrap__o0\",\"spin\":\"preview__spin__Oj\",\"spin-content\":\"preview__spin-content__uC\",\"spinContent\":\"preview__spin-content__uC\"};","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this-clause');\nvar aCallable = require('../internals/a-callable');\nvar NATIVE_BIND = require('../internals/function-bind-native');\n\nvar bind = uncurryThis(uncurryThis.bind);\n\n// optional / simple context binding\nmodule.exports = function (fn, that) {\n  aCallable(fn);\n  return that === undefined ? fn : NATIVE_BIND ? bind(fn, that) : function (/* ...args */) {\n    return fn.apply(that, arguments);\n  };\n};\n","import {useSelect} from '@wordpress/data';\nimport {CONFIG} from '../../../globals/config';\nimport DOMPurify from 'dompurify';\nimport {BlockControls, InspectorControls} from '@wordpress/block-editor';\nimport Preview from '../Preview';\nimport {Attr, block} from './block';\nimport {Taxonomy} from '@wordpress/api/taxonomies';\nimport {BlockEditProps} from '@wordpress/blocks';\nimport ErrorBoundary from '../../../components/ErrorBoundary';\nimport Display from '../Display';\nimport {CheckboxControl, PanelBody, SelectControl, Slot, TextControl} from '@wordpress/components';\nimport {__, sprintf} from '@wordpress/i18n';\nimport InfoPanel from '../InfoPanel';\nimport SideLoad from '../../SideLoad';\nimport {isScreen} from '../../helpers';\nimport ExcludeField from '../ExcludeField';\n\nimport styles from '../pages/edit.pcss';\n\n\nexport type FillProps =\n\tPick<BlockEditProps<Attr>, 'clientId' | 'attributes' | 'setAttributes' | 'name'>\n\t& { type?: Taxonomy }\n\ntype Props = BlockEditProps<Attr>;\n\nconst Edit = ( {attributes, setAttributes, clientId, name}: Props ) => {\n\tconst taxonomy: Taxonomy<'edit'> | undefined = useSelect( select => {\n\t\tconst type = select( 'core' ).getTaxonomy( attributes.taxonomy ?? 'category' );\n\t\treturn type ?? select( 'core' ).getTaxonomy( 'category' );\n\t}, [ attributes.taxonomy ] );\n\n\t// We have a version conflict or license error.\n\tif ( '' !== CONFIG.error ) {\n\t\treturn ( <>\n\t\t\t<InspectorControls>\n\t\t\t\t<div\n\t\t\t\t\tclassName={styles.error}\n\t\t\t\t\tdangerouslySetInnerHTML={{__html: DOMPurify.sanitize( CONFIG.error )}} />\n\t\t\t</InspectorControls>\n\t\t\t<Preview<Attr> attributes={attributes} block={block.id} clientId={clientId} />\n\t\t</> );\n\t}\n\n\tconst fillProps: FillProps = {\n\t\ttype: taxonomy,\n\t\tattributes,\n\t\tname,\n\t\tsetAttributes,\n\t\tclientId,\n\t};\n\n\treturn ( <>\n\t\t<InspectorControls>\n\t\t\t<div className={'components-panel__body is-opened'}>\n\t\t\t\t<a\n\t\t\t\t\thref={CONFIG.docs.category}\n\t\t\t\t\ttarget=\"_blank\"\n\t\t\t\t\trel=\"noopener noreferrer\"\n\t\t\t\t>\n\t\t\t\t\t{__( 'Documentation', 'advanced-sidebar-menu' )}\n\t\t\t\t</a>\n\t\t\t</div>\n\t\t</InspectorControls>\n\t\t<InspectorControls>\n\t\t\t{isScreen( [ 'widgets', 'site-editor', 'customize' ] ) && <PanelBody>\n\t\t\t\t<TextControl\n\t\t\t\t\tvalue={attributes.title ?? ''}\n\t\t\t\t\tlabel={__( 'Title', 'advanced-sidebar-menu' )}\n\t\t\t\t\tonChange={title => setAttributes( {title} )}\n\t\t\t\t\t// @ts-expect-error -- Not technically supported until WP 6.7\n\t\t\t\t\t__nextHasNoMarginBottom\n\t\t\t\t/>\n\t\t\t</PanelBody>}\n\t\t\t<ErrorBoundary attributes={attributes} block={name} section={'categories/Edit/general'}>\n\t\t\t\t<Display\n\t\t\t\t\tattributes={attributes}\n\t\t\t\t\tclientId={clientId}\n\t\t\t\t\tname={name}\n\t\t\t\t\tsetAttributes={setAttributes}\n\t\t\t\t\ttype={taxonomy}\n\t\t\t\t>\n\t\t\t\t\t{/* Not offering \"Display categories on single posts\"\n\t\t                when editing a post because this must be true, or\n\t\t                the block won't display.\n\n\t\t                We default the attribute to `true` if we are editing\n\t\t                a post during register of block attributes. */}\n\t\t\t\t\t{isScreen( [ 'post' ] ) && <CheckboxControl\n\t\t\t\t\t\t/* translators: %s: Selected taxonomy plural label */\n\t\t\t\t\t\tlabel={sprintf( __( 'Display %s on single posts', 'advanced-sidebar-menu' ), taxonomy?.labels?.name.toLowerCase() ?? '' )}\n\t\t\t\t\t\tchecked={attributes.single}\n\t\t\t\t\t\tonChange={value => {\n\t\t\t\t\t\t\tsetAttributes( {\n\t\t\t\t\t\t\t\tsingle: value,\n\t\t\t\t\t\t\t} );\n\t\t\t\t\t\t}}\n\t\t\t\t\t\t// @ts-expect-error -- Not technically available until WP 6.7.\n\t\t\t\t\t\t__nextHasNoMarginBottom\n\t\t\t\t\t/>}\n\t\t\t\t\t{/*\n\t\t\t\t\t\t  Only widget screens support this option because we\n\t\t\t\t\t\t  have no widget wrap to use on other screens, so they are\n\t\t\t\t\t\t  list only. */}\n\t\t\t\t\t{isScreen( [ 'widgets', 'customize' ] ) && attributes.single &&\n\t\t\t\t\t\t<SelectControl<'list' | 'widget'>\n\t\t\t\t\t\t\t/* translators: %s: Selected taxonomy single label */\n\t\t\t\t\t\t\tlabel={sprintf( __( 'Display each single post\\'s %s', 'advanced-sidebar-menu' ), taxonomy?.labels?.name.toLowerCase() ?? '' )}\n\t\t\t\t\t\t\tvalue={attributes.new_widget}\n\t\t\t\t\t\t\toptions={Object.keys( CONFIG.categories.displayEach ).map( ( key: 'list' | 'widget' ) => ( {\n\t\t\t\t\t\t\t\tvalue: key,\n\t\t\t\t\t\t\t\tlabel: CONFIG.categories.displayEach[ key ],\n\t\t\t\t\t\t\t} ) )}\n\t\t\t\t\t\t\t/* eslint-disable-next-line camelcase */\n\t\t\t\t\t\t\tonChange={new_widget => setAttributes( {new_widget} )}\n\t\t\t\t\t\t/>}\n\t\t\t\t</Display>\n\n\t\t\t\t<div className={'components-panel__body is-opened'}>\n\n\t\t\t\t\t<Slot<FillProps>\n\t\t\t\t\t\tname=\"advanced-sidebar-menu/categories/general\"\n\t\t\t\t\t\tfillProps={fillProps} />\n\n\t\t\t\t\t<ExcludeField\n\t\t\t\t\t\ttype={taxonomy}\n\t\t\t\t\t\tattributes={attributes}\n\t\t\t\t\t\tsetAttributes={setAttributes} />\n\n\t\t\t\t</div>\n\t\t\t</ErrorBoundary>\n\t\t\t<ErrorBoundary\n\t\t\t\tattributes={attributes}\n\t\t\t\tblock={name}\n\t\t\t\tsection={'categories/Edit/inspector'}\n\t\t\t>\n\t\t\t\t<Slot<FillProps>\n\t\t\t\t\tname=\"advanced-sidebar-menu/categories/inspector\"\n\t\t\t\t\tfillProps={fillProps} />\n\n\t\t\t</ErrorBoundary>\n\t\t</InspectorControls>\n\n\t\t<BlockControls>\n\t\t\t<ErrorBoundary\n\t\t\t\tattributes={attributes}\n\t\t\t\tblock={name}\n\t\t\t\tsection={'categories/Edit/block-controls'}\n\t\t\t>\n\t\t\t\t<Slot<FillProps>\n\t\t\t\t\tname=\"advanced-sidebar-menu/categories/block-controls\"\n\t\t\t\t\tfillProps={fillProps} />\n\t\t\t</ErrorBoundary>\n\t\t</BlockControls>\n\n\n\t\t<InfoPanel clientId={clientId} />\n\n\t\t<ErrorBoundary attributes={attributes} block={name} section={'categories/Edit/preview'}>\n\t\t\t<Preview<Attr> attributes={attributes} block={block.id} clientId={clientId} />\n\t\t</ErrorBoundary>\n\n\t\t<SideLoad clientId={clientId} />\n\n\t</> );\n};\n\nexport default Edit;\n","'use strict';\nvar call = require('../internals/function-call');\nvar isCallable = require('../internals/is-callable');\nvar isObject = require('../internals/is-object');\n\nvar $TypeError = TypeError;\n\n// `OrdinaryToPrimitive` abstract operation\n// https://tc39.es/ecma262/#sec-ordinarytoprimitive\nmodule.exports = function (input, pref) {\n  var fn, val;\n  if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;\n  if (isCallable(fn = input.valueOf) && !isObject(val = call(fn, input))) return val;\n  if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;\n  throw new $TypeError(\"Can't convert object to primitive value\");\n};\n","'use strict';\nvar isCallable = require('../internals/is-callable');\n\nmodule.exports = function (it) {\n  return typeof it == 'object' ? it !== null : isCallable(it);\n};\n","import {withFilters} from '@wordpress/components';\nimport {select} from '@wordpress/data';\nimport {isEmpty} from 'lodash';\n\ntype Props = {\n\tclientId: string;\n};\n\nlet firstClientId = '';\n/**\n * The customizer area does not include a `PluginArea` component,\n * so our slot fills do not load.\n *\n * We can use filters, but the Fills double up each time\n * another block is added to the page.\n *\n * Track the clientId of the first block we add the Fill to\n * and only return the Fill for that block. The rest of the blocks\n * inherit the Fill from the first block via their Slots.\n */\nconst SideLoad = ( {clientId, children} ) => {\n\tif ( ! isEmpty( firstClientId ) && clientId !== firstClientId ) {\n\t\t// Make sure block still exists.\n\t\tif ( -1 !== select( 'core/block-editor' ).getBlockIndex( firstClientId ) ) {\n\t\t\treturn null;\n\t\t}\n\t}\n\tfirstClientId = clientId;\n\treturn children ?? null;\n};\n\nexport default withFilters<Props>( 'advanced-sidebar-menu.blocks.side-load' )( SideLoad );\n","import {Component, ErrorInfo, PropsWithChildren} from 'react';\nimport {CONFIG} from '../globals/config';\nimport {addQueryArgs} from '@wordpress/url';\nimport DOMPurify from 'dompurify';\n\nconst {sanitize} = DOMPurify;\n\ntype Props = {\n\tattributes: object,\n\tblock: string;\n\tsection: string;\n}\n\n/**\n * Wrap any component in me, which may throw errors, and I will\n * prevent the entire UI from disappearing.\n *\n * Custom version special to Advanced Sidebar Menu with links to\n * support as well as debugging information.\n *\n * @link https://reactjs.org/docs/error-boundaries.html#introducing-error-boundaries\n */\nclass ErrorBoundary extends Component<PropsWithChildren<Props>, {\n\thasError: boolean,\n\terror: Error | null\n}> {\n\tconstructor( props: Props ) {\n\t\tsuper( props );\n\t\tthis.state = {\n\t\t\thasError: false,\n\t\t\terror: null,\n\t\t};\n\t}\n\n\tstatic getDerivedStateFromError() {\n\t\t// Update state, so the next render will show the fallback UI.\n\t\treturn {\n\t\t\thasError: true,\n\t\t};\n\t}\n\n\t/**\n\t * Log information about the error when it happens.\n\t *\n\t * @notice Will log \"Error: A cross-origin error was thrown. React doesn't have\n\t *         access to the actual error object in development\" in React development\n\t *         mode but provides full error info in React production.\n\t */\n\tcomponentDidCatch( error: Error, info: ErrorInfo ) {\n\t\tconsole.warn( '%cError caught by the Advanced Sidebar ErrorBoundary!', 'color:orange; font-size: large; font-weight: bold' );\n\t\tconsole.warn( this.props );\n\t\tconsole.warn( error );\n\t\tconsole.warn( info );\n\t\tthis.setState( {\n\t\t\terror,\n\t\t} );\n\t}\n\n\trender() {\n\t\tif ( this.state.hasError ) {\n\t\t\tif ( ! CONFIG.siteInfo.scriptDebug ) {\n\t\t\t\treturn ( <div className={'components-panel__body is-opened'}>\n\t\t\t\t\t<h4 style={{color: 'red'}}>\n\t\t\t\t\t\tSomething went wrong!\n\t\t\t\t\t</h4>\n\t\t\t\t\t<p>\n\t\t\t\t\t\t<button\n\t\t\t\t\t\t\tclassName={'components-button is-link'}\n\t\t\t\t\t\t\tonClick={e => {\n\t\t\t\t\t\t\t\te.preventDefault();\n\t\t\t\t\t\t\t\tconst location = addQueryArgs( sanitize( window.location.href ), {\n\t\t\t\t\t\t\t\t\t'script-debug': 'true',\n\t\t\t\t\t\t\t\t} );\n\t\t\t\t\t\t\t\twindow.open( sanitize( location ), '_blank', 'noopener,noreferrer' );\n\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\tPlease enable script debug\n\t\t\t\t\t\t</button>\n\t\t\t\t\t\tto retrieve error information.\n\t\t\t\t\t</p>\n\t\t\t\t</div> );\n\t\t\t}\n\t\t\treturn (\n\t\t\t\t<div className={'components-panel__body is-opened'}>\n\t\t\t\t\t<h4 style={{color: 'red'}}>\n\t\t\t\t\t\tSomething went wrong!\n\t\t\t\t\t</h4>\n\t\t\t\t\t<p>\n\t\t\t\t\t\t<button\n\t\t\t\t\t\t\tclassName={'components-button is-link'}\n\t\t\t\t\t\t\tonClick={e => {\n\t\t\t\t\t\t\t\te.preventDefault();\n\t\t\t\t\t\t\t\twindow.open( sanitize( CONFIG.support ), '_blank', 'noopener,noreferrer' );\n\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\tPlease create a support request\n\t\t\t\t\t\t</button>\n\t\t\t\t\t\t&nbsp;with the following information:\n\t\t\t\t\t</p>\n\t\t\t\t\t<ol>\n\t\t\t\t\t\t<li>\n\t\t\t\t\t\t\t<button\n\t\t\t\t\t\t\t\tclassName={'components-button is-link'}\n\t\t\t\t\t\t\t\tonClick={e => {\n\t\t\t\t\t\t\t\t\te.preventDefault();\n\t\t\t\t\t\t\t\t\twindow.open( 'https://onpointplugins.com/how-to-retrieve-console-logs-from-your-browser/', '_blank', 'noopener,noreferrer' );\n\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\tThe logs from your browser console.\n\t\t\t\t\t\t\t</button>\n\t\t\t\t\t\t</li>\n\t\t\t\t\t\t<li>\n\t\t\t\t\t\t\tThe following information.\n\t\t\t\t\t\t</li>\n\t\t\t\t\t</ol>\n\n\t\t\t\t\t<div\n\t\t\t\t\t\tstyle={{\n\t\t\t\t\t\t\tborder: '2px groove',\n\t\t\t\t\t\t\tpadding: '10px',\n\t\t\t\t\t\t\twidth: '100%',\n\t\t\t\t\t\t\toverflowWrap: 'break-word',\n\t\t\t\t\t\t}}\n\t\t\t\t\t>\n\t\t\t\t\t\t<p>\n\t\t\t\t\t\t\t<strong><em>Section</em></strong> <br />\n\t\t\t\t\t\t\t<code>\n\t\t\t\t\t\t\t\t{this.props.section}\n\t\t\t\t\t\t\t</code>\n\t\t\t\t\t\t</p>\n\t\t\t\t\t\t<p>\n\t\t\t\t\t\t\t<strong><em>Screen</em></strong> <br />\n\t\t\t\t\t\t\t<code>\n\t\t\t\t\t\t\t\t{CONFIG.currentScreen}\n\t\t\t\t\t\t\t</code>\n\t\t\t\t\t\t</p>\n\t\t\t\t\t\t<p>\n\t\t\t\t\t\t\t<strong><em>Message</em></strong> <br />\n\t\t\t\t\t\t\t<code>\n\t\t\t\t\t\t\t\t{this.state.error?.message}\n\t\t\t\t\t\t\t</code>\n\t\t\t\t\t\t</p>\n\t\t\t\t\t\t<p>\n\t\t\t\t\t\t\t<strong><em>Block</em></strong> <br />\n\t\t\t\t\t\t\t<code>\n\t\t\t\t\t\t\t\t{this.props.block}\n\t\t\t\t\t\t\t</code>\n\t\t\t\t\t\t</p>\n\t\t\t\t\t\t<p>\n\t\t\t\t\t\t\t<strong><em>Attributes</em></strong> <br />\n\t\t\t\t\t\t\t<code>\n\t\t\t\t\t\t\t\t{JSON.stringify( this.props.attributes )}\n\t\t\t\t\t\t\t</code>\n\t\t\t\t\t\t</p>\n\t\t\t\t\t\t<p>\n\t\t\t\t\t\t\t<strong><em>Site Info</em></strong> <br />\n\t\t\t\t\t\t\t<code>\n\t\t\t\t\t\t\t\t{JSON.stringify( CONFIG.siteInfo )}\n\t\t\t\t\t\t\t</code>\n\t\t\t\t\t\t</p>\n\t\t\t\t\t\t<p>\n\t\t\t\t\t\t\t<strong><em>Stack</em></strong> <br />\n\t\t\t\t\t\t\t<code>\n\t\t\t\t\t\t\t\t{this.state.error?.stack}\n\t\t\t\t\t\t\t</code>\n\t\t\t\t\t\t</p>\n\t\t\t\t\t</div>\n\t\t\t\t\t<p>\n\t\t\t\t\t\t&nbsp;\n\t\t\t\t\t</p>\n\t\t\t\t\t<p>\n\t\t\t\t\t\t&nbsp;\n\t\t\t\t\t</p>\n\t\t\t\t</div>\n\t\t\t);\n\t\t}\n\n\t\treturn this.props.children;\n\t}\n}\n\nexport default ErrorBoundary;\n","module.exports = window.wp?.hooks;","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar isCallable = require('../internals/is-callable');\nvar store = require('../internals/shared-store');\n\nvar functionToString = uncurryThis(Function.toString);\n\n// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper\nif (!isCallable(store.inspectSource)) {\n  store.inspectSource = function (it) {\n    return functionToString(it);\n  };\n}\n\nmodule.exports = store.inspectSource;\n","module.exports = window.wp?.serverSideRender;","'use strict';\n\nvar m = require('react-dom');\nif (process.env.NODE_ENV === 'production') {\n  exports.createRoot = m.createRoot;\n  exports.hydrateRoot = m.hydrateRoot;\n} else {\n  var i = m.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;\n  exports.createRoot = function(c, o) {\n    i.usingClientEntryPoint = true;\n    try {\n      return m.createRoot(c, o);\n    } finally {\n      i.usingClientEntryPoint = false;\n    }\n  };\n  exports.hydrateRoot = function(c, h, o) {\n    i.usingClientEntryPoint = true;\n    try {\n      return m.hydrateRoot(c, h, o);\n    } finally {\n      i.usingClientEntryPoint = false;\n    }\n  };\n}\n","'use strict';\nvar hasOwn = require('../internals/has-own-property');\nvar isCallable = require('../internals/is-callable');\nvar toObject = require('../internals/to-object');\nvar sharedKey = require('../internals/shared-key');\nvar CORRECT_PROTOTYPE_GETTER = require('../internals/correct-prototype-getter');\n\nvar IE_PROTO = sharedKey('IE_PROTO');\nvar $Object = Object;\nvar ObjectPrototype = $Object.prototype;\n\n// `Object.getPrototypeOf` method\n// https://tc39.es/ecma262/#sec-object.getprototypeof\n// eslint-disable-next-line es/no-object-getprototypeof -- safe\nmodule.exports = CORRECT_PROTOTYPE_GETTER ? $Object.getPrototypeOf : function (O) {\n  var object = toObject(O);\n  if (hasOwn(object, IE_PROTO)) return object[IE_PROTO];\n  var constructor = object.constructor;\n  if (isCallable(constructor) && object instanceof constructor) {\n    return constructor.prototype;\n  } return object instanceof $Object ? ObjectPrototype : null;\n};\n","'use strict';\nvar call = require('../internals/function-call');\nvar isObject = require('../internals/is-object');\nvar isSymbol = require('../internals/is-symbol');\nvar getMethod = require('../internals/get-method');\nvar ordinaryToPrimitive = require('../internals/ordinary-to-primitive');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar $TypeError = TypeError;\nvar TO_PRIMITIVE = wellKnownSymbol('toPrimitive');\n\n// `ToPrimitive` abstract operation\n// https://tc39.es/ecma262/#sec-toprimitive\nmodule.exports = function (input, pref) {\n  if (!isObject(input) || isSymbol(input)) return input;\n  var exoticToPrim = getMethod(input, TO_PRIMITIVE);\n  var result;\n  if (exoticToPrim) {\n    if (pref === undefined) pref = 'default';\n    result = call(exoticToPrim, input, pref);\n    if (!isObject(result) || isSymbol(result)) return result;\n    throw new $TypeError(\"Can't convert object to primitive value\");\n  }\n  if (pref === undefined) pref = 'number';\n  return ordinaryToPrimitive(input, pref);\n};\n","'use strict';\nmodule.exports = {};\n","'use strict';\nvar $ = require('../internals/export');\nvar call = require('../internals/function-call');\nvar iterate = require('../internals/iterate');\nvar aCallable = require('../internals/a-callable');\nvar anObject = require('../internals/an-object');\nvar getIteratorDirect = require('../internals/get-iterator-direct');\nvar iteratorClose = require('../internals/iterator-close');\nvar iteratorHelperWithoutClosingOnEarlyError = require('../internals/iterator-helper-without-closing-on-early-error');\n\nvar forEachWithoutClosingOnEarlyError = iteratorHelperWithoutClosingOnEarlyError('forEach', TypeError);\n\n// `Iterator.prototype.forEach` method\n// https://tc39.es/ecma262/#sec-iterator.prototype.foreach\n$({ target: 'Iterator', proto: true, real: true, forced: forEachWithoutClosingOnEarlyError }, {\n  forEach: function forEach(fn) {\n    anObject(this);\n    try {\n      aCallable(fn);\n    } catch (error) {\n      iteratorClose(this, 'throw', error);\n    }\n\n    if (forEachWithoutClosingOnEarlyError) return call(forEachWithoutClosingOnEarlyError, this, fn);\n\n    var record = getIteratorDirect(this);\n    var counter = 0;\n    iterate(record, function (value) {\n      fn(value, counter++);\n    }, { IS_RECORD: true });\n  }\n});\n","import type {BlockSettings, LegacyWidget} from '@wordpress/blocks';\nimport {CONFIG} from '../../../globals/config';\nimport Edit from './Edit';\nimport type {DisplayOptions} from '../Display';\nimport {getBlockSupports, transformLegacyWidget, translateBlockAttributes} from '../../helpers';\nimport {__} from '@wordpress/i18n';\nimport type {CommonAttr} from '../Preview';\nimport PagesIcon from './PagesIcon';\n\n/**\n * Attributes specific to the widget as well as shared\n * widget attributes.\n *\n * @see \\Advanced_Sidebar_Menu\\Blocks\\Pages::get_attributes\n * @see \\Advanced_Sidebar_Menu\\Blocks\\Common\n */\nexport type Attr = {\n\texclude: string;\n\torder_by: string;\n} & DisplayOptions & ProRegistered & CommonAttr;\n\n// Options used by basic when available from PRO.\ntype ProRegistered = {\n\tpost_type?: string;\n}\n\nexport type setAttributes = ( newValue: {\n\t[attribute in keyof Attr]?: Attr[attribute]\n} ) => void;\n\n\n/**\n * Attributes used for the example preview.\n * Combines some PRO and basic attributes.\n * The PRO attributes will only be sent if PRO is active.\n */\nconst EXAMPLE = {\n\tapply_current_page_parent_styles_to_parent: true,\n\tapply_current_page_styles_to_parent: true,\n\tblock_style: true,\n\tborder: true,\n\tborder_color: '#333',\n\tbullet_style: 'none',\n\tchild_page_bg_color: '#666',\n\tchild_page_color: '#fff',\n\tcurrent_page_bg_color: '#282828',\n\tcurrent_page_color: '#0cc4c6',\n\tcurrent_page_font_weight: 'normal',\n\tcurrent_page_parent_bg_color: '#333',\n\tdisplay_all: true,\n\tgrandchild_page_bg_color: '#989898',\n\tgrandchild_page_color: '#282828',\n\tgrandchild_page_font_weight: 'bold',\n\tinclude_childless_parent: true,\n\tinclude_parent: true,\n\tlevels: 2,\n\tparent_page_bg_color: '#666',\n\tparent_page_color: '#fff',\n};\n\nexport const block = CONFIG.blocks.pages;\n\nexport const name = block.id;\n\nexport const settings: BlockSettings<Attr, '', LegacyWidget<Attr & { title: string }>> = {\n\ttitle: __( 'Advanced Sidebar - Pages', 'advanced-sidebar-menu' ),\n\ticon: PagesIcon,\n\tcategory: 'widgets',\n\tdescription: __( 'Creates a menu of all the pages using the parent/child relationship', 'advanced-sidebar-menu' ),\n\texample: {\n\t\tattributes: EXAMPLE,\n\t},\n\ttransforms: {\n\t\tfrom: [\n\t\t\t{\n\t\t\t\ttype: 'block',\n\t\t\t\tblocks: [ 'core/legacy-widget' ],\n\t\t\t\tisMatch: ( {idBase, instance} ) => {\n\t\t\t\t\tif ( null === instance?.raw ) {\n\t\t\t\t\t\t// Can't transform if the raw instance is not shown in REST API.\n\t\t\t\t\t\treturn false;\n\t\t\t\t\t}\n\t\t\t\t\treturn 'advanced_sidebar_menu' === idBase;\n\t\t\t\t},\n\t\t\t\ttransform: transformLegacyWidget<Attr>( name ),\n\t\t\t},\n\t\t],\n\t},\n\tattributes: translateBlockAttributes<Attr>( block.attributes ),\n\tsupports: getBlockSupports(),\n\tedit: props => (\n\t\t<Edit {...props} />\n\t),\n\tsave: () => null,\n\tapiVersion: 3,\n};\n","'use strict';\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\n\nvar $TypeError = TypeError;\n\nmodule.exports = function (it, Prototype) {\n  if (isPrototypeOf(Prototype, it)) return it;\n  throw new $TypeError('Incorrect invocation');\n};\n","'use strict';\nvar toLength = require('../internals/to-length');\n\n// `LengthOfArrayLike` abstract operation\n// https://tc39.es/ecma262/#sec-lengthofarraylike\nmodule.exports = function (obj) {\n  return toLength(obj.length);\n};\n","const NavigationIcon = <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\">\n\t<rect x=\"0\" fill=\"none\" width=\"20\" height=\"20\" />\n\t<g>\n\t\t<path\n\t\t\tfill=\"#044567\"\n\t\t\td=\"M19 17V2c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v15c0 .55.45 1 1 1h15c.55 0 1-.45 1-1z M4 3h13v4H4V3z M5 4h3v2H5V4zm4 0h3v2H9V4zm4 0h3v2H13V4z M4.5 9 c .28 0 .5 .22 .5 .5s-.22.5-.5.5s-.5-.22-.5-.5s.22-.5 .5-.5z M6 9h4v1H6v-1z M4.5 12 c .28 0 .5 .22 .5 .5s-.22.5-.5.5s-.5-.22-.5-.5s.22-.5 .5-.5z M6 12h4v1H6v-1z M4.5 15 c .28 0 .5 .22 .5 .5s-.22.5-.5.5s-.5-.22-.5-.5s.22-.5 .5-.5z M6 15h4v1H6v-1z M12.5 10.5 h4v1h-4v-1z M12.5 12 h4v1h-4v-1z M12.5 13.5 h4v1h-4v-1z\" />\n\t</g>\n</svg>;\n\nexport default NavigationIcon;\n","'use strict';\nvar fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\nvar isObject = require('../internals/is-object');\nvar create = require('../internals/object-create');\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar IS_PURE = require('../internals/is-pure');\n\nvar ITERATOR = wellKnownSymbol('iterator');\nvar BUGGY_SAFARI_ITERATORS = false;\n\n// `%IteratorPrototype%` object\n// https://tc39.es/ecma262/#sec-%iteratorprototype%-object\nvar IteratorPrototype, PrototypeOfArrayIteratorPrototype, arrayIterator;\n\n/* eslint-disable es/no-array-prototype-keys -- safe */\nif ([].keys) {\n  arrayIterator = [].keys();\n  // Safari 8 has buggy iterators w/o `next`\n  if (!('next' in arrayIterator)) BUGGY_SAFARI_ITERATORS = true;\n  else {\n    PrototypeOfArrayIteratorPrototype = getPrototypeOf(getPrototypeOf(arrayIterator));\n    if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype = PrototypeOfArrayIteratorPrototype;\n  }\n}\n\nvar NEW_ITERATOR_PROTOTYPE = !isObject(IteratorPrototype) || fails(function () {\n  var test = {};\n  // FF44- legacy iterators case\n  return IteratorPrototype[ITERATOR].call(test) !== test;\n});\n\nif (NEW_ITERATOR_PROTOTYPE) IteratorPrototype = {};\nelse if (IS_PURE) IteratorPrototype = create(IteratorPrototype);\n\n// `%IteratorPrototype%[@@iterator]()` method\n// https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator\nif (!isCallable(IteratorPrototype[ITERATOR])) {\n  defineBuiltIn(IteratorPrototype, ITERATOR, function () {\n    return this;\n  });\n}\n\nmodule.exports = {\n  IteratorPrototype: IteratorPrototype,\n  BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS\n};\n","module.exports = window.wp?.richText;","'use strict';\nvar getBuiltIn = require('../internals/get-built-in');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar getOwnPropertyNamesModule = require('../internals/object-get-own-property-names');\nvar getOwnPropertySymbolsModule = require('../internals/object-get-own-property-symbols');\nvar anObject = require('../internals/an-object');\n\nvar concat = uncurryThis([].concat);\n\n// all object keys, includes non-enumerable and symbols\nmodule.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {\n  var keys = getOwnPropertyNamesModule.f(anObject(it));\n  var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;\n  return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys;\n};\n","module.exports = window.wp?.i18n;","'use strict';\nvar TO_STRING_TAG_SUPPORT = require('../internals/to-string-tag-support');\nvar isCallable = require('../internals/is-callable');\nvar classofRaw = require('../internals/classof-raw');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\nvar $Object = Object;\n\n// ES3 wrong here\nvar CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) === 'Arguments';\n\n// fallback for IE11 Script Access Denied error\nvar tryGet = function (it, key) {\n  try {\n    return it[key];\n  } catch (error) { /* empty */ }\n};\n\n// getting tag from ES6+ `Object.prototype.toString`\nmodule.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {\n  var O, tag, result;\n  return it === undefined ? 'Undefined' : it === null ? 'Null'\n    // @@toStringTag case\n    : typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag\n    // builtinTag case\n    : CORRECT_ARGUMENTS ? classofRaw(O)\n    // ES3 arguments fallback\n    : (result = classofRaw(O)) === 'Object' && isCallable(O.callee) ? 'Arguments' : result;\n};\n","'use strict';\nmodule.exports = {};\n","'use strict';\nvar trunc = require('../internals/math-trunc');\n\n// `ToIntegerOrInfinity` abstract operation\n// https://tc39.es/ecma262/#sec-tointegerorinfinity\nmodule.exports = function (argument) {\n  var number = +argument;\n  // eslint-disable-next-line no-self-compare -- NaN check\n  return number !== number || number === 0 ? 0 : trunc(number);\n};\n","'use strict';\n/* eslint-disable es/no-symbol -- required for testing */\nvar NATIVE_SYMBOL = require('../internals/symbol-constructor-detection');\n\nmodule.exports = NATIVE_SYMBOL &&\n  !Symbol.sham &&\n  typeof Symbol.iterator == 'symbol';\n","'use strict';\nvar makeBuiltIn = require('../internals/make-built-in');\nvar defineProperty = require('../internals/object-define-property');\n\nmodule.exports = function (target, name, descriptor) {\n  if (descriptor.get) makeBuiltIn(descriptor.get, name, { getter: true });\n  if (descriptor.set) makeBuiltIn(descriptor.set, name, { setter: true });\n  return defineProperty.f(target, name, descriptor);\n};\n","module.exports = ReactDOM;","'use strict';\nvar NATIVE_WEAK_MAP = require('../internals/weak-map-basic-detection');\nvar globalThis = require('../internals/global-this');\nvar isObject = require('../internals/is-object');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar hasOwn = require('../internals/has-own-property');\nvar shared = require('../internals/shared-store');\nvar sharedKey = require('../internals/shared-key');\nvar hiddenKeys = require('../internals/hidden-keys');\n\nvar OBJECT_ALREADY_INITIALIZED = 'Object already initialized';\nvar TypeError = globalThis.TypeError;\nvar WeakMap = globalThis.WeakMap;\nvar set, get, has;\n\nvar enforce = function (it) {\n  return has(it) ? get(it) : set(it, {});\n};\n\nvar getterFor = function (TYPE) {\n  return function (it) {\n    var state;\n    if (!isObject(it) || (state = get(it)).type !== TYPE) {\n      throw new TypeError('Incompatible receiver, ' + TYPE + ' required');\n    } return state;\n  };\n};\n\nif (NATIVE_WEAK_MAP || shared.state) {\n  var store = shared.state || (shared.state = new WeakMap());\n  /* eslint-disable no-self-assign -- prototype methods protection */\n  store.get = store.get;\n  store.has = store.has;\n  store.set = store.set;\n  /* eslint-enable no-self-assign -- prototype methods protection */\n  set = function (it, metadata) {\n    if (store.has(it)) throw new TypeError(OBJECT_ALREADY_INITIALIZED);\n    metadata.facade = it;\n    store.set(it, metadata);\n    return metadata;\n  };\n  get = function (it) {\n    return store.get(it) || {};\n  };\n  has = function (it) {\n    return store.has(it);\n  };\n} else {\n  var STATE = sharedKey('state');\n  hiddenKeys[STATE] = true;\n  set = function (it, metadata) {\n    if (hasOwn(it, STATE)) throw new TypeError(OBJECT_ALREADY_INITIALIZED);\n    metadata.facade = it;\n    createNonEnumerableProperty(it, STATE, metadata);\n    return metadata;\n  };\n  get = function (it) {\n    return hasOwn(it, STATE) ? it[STATE] : {};\n  };\n  has = function (it) {\n    return hasOwn(it, STATE);\n  };\n}\n\nmodule.exports = {\n  set: set,\n  get: get,\n  has: has,\n  enforce: enforce,\n  getterFor: getterFor\n};\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar call = require('../internals/function-call');\nvar propertyIsEnumerableModule = require('../internals/object-property-is-enumerable');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar toPropertyKey = require('../internals/to-property-key');\nvar hasOwn = require('../internals/has-own-property');\nvar IE8_DOM_DEFINE = require('../internals/ie8-dom-define');\n\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// `Object.getOwnPropertyDescriptor` method\n// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor\nexports.f = DESCRIPTORS ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {\n  O = toIndexedObject(O);\n  P = toPropertyKey(P);\n  if (IE8_DOM_DEFINE) try {\n    return $getOwnPropertyDescriptor(O, P);\n  } catch (error) { /* empty */ }\n  if (hasOwn(O, P)) return createPropertyDescriptor(!call(propertyIsEnumerableModule.f, O, P), O[P]);\n};\n","'use strict';\n// `CreateIterResultObject` abstract operation\n// https://tc39.es/ecma262/#sec-createiterresultobject\nmodule.exports = function (value, done) {\n  return { value: value, done: done };\n};\n","'use strict';\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\n\n// `Array.prototype.{ indexOf, includes }` methods implementation\nvar createMethod = function (IS_INCLUDES) {\n  return function ($this, el, fromIndex) {\n    var O = toIndexedObject($this);\n    var length = lengthOfArrayLike(O);\n    if (length === 0) return !IS_INCLUDES && -1;\n    var index = toAbsoluteIndex(fromIndex, length);\n    var value;\n    // Array#includes uses SameValueZero equality algorithm\n    // eslint-disable-next-line no-self-compare -- NaN check\n    if (IS_INCLUDES && el !== el) while (length > index) {\n      value = O[index++];\n      // eslint-disable-next-line no-self-compare -- NaN check\n      if (value !== value) return true;\n    // Array#indexOf ignores holes, Array#includes - not\n    } else for (;length > index; index++) {\n      if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;\n    } return !IS_INCLUDES && -1;\n  };\n};\n\nmodule.exports = {\n  // `Array.prototype.includes` method\n  // https://tc39.es/ecma262/#sec-array.prototype.includes\n  includes: createMethod(true),\n  // `Array.prototype.indexOf` method\n  // https://tc39.es/ecma262/#sec-array.prototype.indexof\n  indexOf: createMethod(false)\n};\n","import {createRoot} from 'react-dom/client';\nimport TransformNotice, {DISMISS_KEY} from '../components/TransformNotice';\nimport {CONFIG} from '../globals/config';\n\n\nfunction renderTransformNotice() {\n\t// Only render on the block based widgets screen.\n\tif ( CONFIG.siteInfo.classicWidgets ) {\n\t\treturn;\n\t}\n\t// Don't render if the user has dismissed the notice.\n\tif ( '1' === localStorage.getItem( DISMISS_KEY ) ) {\n\t\treturn;\n\t}\n\tconst placeholders = document.querySelectorAll( '[data-js=\"advanced-sidebar-menu/transform-notice\"]' );\n\n\t/**\n\t * This is not a priority component, so it anything fails\n\t * we fail silently.\n\t */\n\ttry {\n\t\tplaceholders.forEach( placeholder => {\n\t\t\tconst root = createRoot( placeholder );\n\t\t\troot.render( <TransformNotice /> );\n\t\t} );\n\t} catch ( e ) {\n\t\tconsole.error( e );\n\t}\n}\n\n\n/**\n * Modern JS for legacy widgets on the widgets screen.\n *\n * @see resources/js/advanced-sidebar-menu.js for the legacy JS.\n */\nexport default () => {\n\t// Only load on the widgets screen.\n\tif ( '1' !== CONFIG.isWidgets ) {\n\t\treturn;\n\t}\n\t// Fire when each widget loads.\n\tjQuery( document ).on( 'widget-added', function() {\n\t\trenderTransformNotice();\n\t} );\n}\n","module.exports = window.wp?.data;","'use strict';\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\n\nvar max = Math.max;\nvar min = Math.min;\n\n// Helper for a popular repeating case of the spec:\n// Let integer be ? ToInteger(index).\n// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).\nmodule.exports = function (index, length) {\n  var integer = toIntegerOrInfinity(index);\n  return integer < 0 ? max(integer + length, 0) : min(integer, length);\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar call = require('../internals/function-call');\nvar aCallable = require('../internals/a-callable');\nvar anObject = require('../internals/an-object');\nvar getIteratorDirect = require('../internals/get-iterator-direct');\nvar createIteratorProxy = require('../internals/iterator-create-proxy');\nvar callWithSafeIterationClosing = require('../internals/call-with-safe-iteration-closing');\nvar iteratorClose = require('../internals/iterator-close');\nvar iteratorHelperThrowsOnInvalidIterator = require('../internals/iterator-helper-throws-on-invalid-iterator');\nvar iteratorHelperWithoutClosingOnEarlyError = require('../internals/iterator-helper-without-closing-on-early-error');\nvar IS_PURE = require('../internals/is-pure');\n\nvar MAP_WITHOUT_THROWING_ON_INVALID_ITERATOR = !IS_PURE && !iteratorHelperThrowsOnInvalidIterator('map', function () { /* empty */ });\nvar mapWithoutClosingOnEarlyError = !IS_PURE && !MAP_WITHOUT_THROWING_ON_INVALID_ITERATOR\n  && iteratorHelperWithoutClosingOnEarlyError('map', TypeError);\n\nvar FORCED = IS_PURE || MAP_WITHOUT_THROWING_ON_INVALID_ITERATOR || mapWithoutClosingOnEarlyError;\n\nvar IteratorProxy = createIteratorProxy(function () {\n  var iterator = this.iterator;\n  var result = anObject(call(this.next, iterator));\n  var done = this.done = !!result.done;\n  if (!done) return callWithSafeIterationClosing(iterator, this.mapper, [result.value, this.counter++], true);\n});\n\n// `Iterator.prototype.map` method\n// https://tc39.es/ecma262/#sec-iterator.prototype.map\n$({ target: 'Iterator', proto: true, real: true, forced: FORCED }, {\n  map: function map(mapper) {\n    anObject(this);\n    try {\n      aCallable(mapper);\n    } catch (error) {\n      iteratorClose(this, 'throw', error);\n    }\n\n    if (mapWithoutClosingOnEarlyError) return call(mapWithoutClosingOnEarlyError, this, mapper);\n\n    return new IteratorProxy(getIteratorDirect(this), {\n      mapper: mapper\n    });\n  }\n});\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\n\nmodule.exports = uncurryThis({}.isPrototypeOf);\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar fails = require('../internals/fails');\nvar createElement = require('../internals/document-create-element');\n\n// Thanks to IE8 for its funny defineProperty\nmodule.exports = !DESCRIPTORS && !fails(function () {\n  // eslint-disable-next-line es/no-object-defineproperty -- required for testing\n  return Object.defineProperty(createElement('div'), 'a', {\n    get: function () { return 7; }\n  }).a !== 7;\n});\n","import {type BlockAttributes, BlockSupports, createBlock, CreateBlock} from '@wordpress/blocks';\nimport {CONFIG, Screen} from '../globals/config';\nimport type {CommonAttr, ServerSideRenderRequired} from './blocks/Preview';\n\nexport type TransformLegacy = <Attr>( name: string ) => ( widgetValues: {\n\tinstance: { [ key: string ]: string | number | object | boolean }\n} ) => CreateBlock<Attr>;\n\n/**\n * Are we on one of the provided screens?\n */\nexport const isScreen = ( screens: Array<Screen> ): boolean => {\n\treturn screens.includes( CONFIG.currentScreen );\n};\n\n/**\n * Transform a legacy widget to the matching block.\n *\n */\nexport const transformLegacyWidget: TransformLegacy = <A>( name: string ) => ( {instance} ) => {\n\treturn createBlock<A>( name, translateLegacyWidget<A>( instance.raw ) );\n};\n\n/**\n * Merge the common attributes and preview attributes into the block attributes.\n *\n * @since 9.7.0\n */\nexport function translateBlockAttributes<Attr>( attributes: BlockAttributes<Attr> ): BlockAttributes<Attr & CommonAttr & ServerSideRenderRequired> {\n\treturn {...attributes, ...CONFIG.blocks.commonAttr, ...CONFIG.blocks.previewAttr};\n}\n\n/**\n * Get block support from a common location.\n *\n * @since 9.7.0\n */\nexport function getBlockSupports(): BlockSupports {\n\treturn CONFIG.blocks.blockSupport;\n}\n\n/**\n * Translate the widget's \"checked\" to the boolean\n * version used in the block.\n *\n */\nconst translateLegacyWidget = <A>( settings ): A => {\n\tObject.entries( settings ).forEach( ( [ key, value ] ) => {\n\t\tif ( 'checked' === value ) {\n\t\t\tsettings[ key ] = true;\n\t\t}\n\t\tif ( 'object' === typeof value ) {\n\t\t\ttranslateLegacyWidget( settings[ key ] );\n\t\t}\n\t\t// Old widgets used to use \"0\" for some defaults.\n\t\tif ( '0' === value ) {\n\t\t\tdelete settings[ key ];\n\t\t}\n\t} );\n\treturn settings;\n};\n","'use strict';\nvar globalThis = require('../internals/global-this');\nvar isCallable = require('../internals/is-callable');\n\nvar aFunction = function (argument) {\n  return isCallable(argument) ? argument : undefined;\n};\n\nmodule.exports = function (namespace, method) {\n  return arguments.length < 2 ? aFunction(globalThis[namespace]) : globalThis[namespace] && globalThis[namespace][method];\n};\n","module.exports = window.wp?.components;","'use strict';\nvar classofRaw = require('../internals/classof-raw');\nvar uncurryThis = require('../internals/function-uncurry-this');\n\nmodule.exports = function (fn) {\n  // Nashorn bug:\n  //   https://github.com/zloirock/core-js/issues/1128\n  //   https://github.com/zloirock/core-js/issues/1130\n  if (classofRaw(fn) === 'Function') return uncurryThis(fn);\n};\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar definePropertyModule = require('../internals/object-define-property');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\n\nmodule.exports = function (object, key, value) {\n  if (DESCRIPTORS) definePropertyModule.f(object, key, createPropertyDescriptor(0, value));\n  else object[key] = value;\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar classof = require('../internals/classof-raw');\n\nvar $Object = Object;\nvar split = uncurryThis(''.split);\n\n// fallback for non-array-like ES3 and non-enumerable old V8 strings\nmodule.exports = fails(function () {\n  // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346\n  // eslint-disable-next-line no-prototype-builtins -- safe\n  return !$Object('z').propertyIsEnumerable(0);\n}) ? function (it) {\n  return classof(it) === 'String' ? split(it, '') : $Object(it);\n} : $Object;\n","module.exports = window.wp?.blockEditor;","'use strict';\nvar globalThis = require('../internals/global-this');\n\n// https://github.com/tc39/ecma262/pull/3467\nmodule.exports = function (METHOD_NAME, ExpectedError) {\n  var Iterator = globalThis.Iterator;\n  var IteratorPrototype = Iterator && Iterator.prototype;\n  var method = IteratorPrototype && IteratorPrototype[METHOD_NAME];\n\n  var CLOSED = false;\n\n  if (method) try {\n    method.call({\n      next: function () { return { done: true }; },\n      'return': function () { CLOSED = true; }\n    }, -1);\n  } catch (error) {\n    // https://bugs.webkit.org/show_bug.cgi?id=291195\n    if (!(error instanceof ExpectedError)) CLOSED = false;\n  }\n\n  if (!CLOSED) return method;\n};\n","'use strict';\nvar globalThis = require('../internals/global-this');\nvar isObject = require('../internals/is-object');\n\nvar document = globalThis.document;\n// typeof document.createElement is 'object' in old IE\nvar EXISTS = isObject(document) && isObject(document.createElement);\n\nmodule.exports = function (it) {\n  return EXISTS ? document.createElement(it) : {};\n};\n","'use strict';\nvar NATIVE_BIND = require('../internals/function-bind-native');\n\nvar FunctionPrototype = Function.prototype;\nvar call = FunctionPrototype.call;\n// eslint-disable-next-line es/no-function-prototype-bind -- safe\nvar uncurryThisWithBind = NATIVE_BIND && FunctionPrototype.bind.bind(call, call);\n\nmodule.exports = NATIVE_BIND ? uncurryThisWithBind : function (fn) {\n  return function () {\n    return call.apply(fn, arguments);\n  };\n};\n","'use strict';\nvar call = require('../internals/function-call');\nvar create = require('../internals/object-create');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar defineBuiltIns = require('../internals/define-built-ins');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar InternalStateModule = require('../internals/internal-state');\nvar getMethod = require('../internals/get-method');\nvar IteratorPrototype = require('../internals/iterators-core').IteratorPrototype;\nvar createIterResultObject = require('../internals/create-iter-result-object');\nvar iteratorClose = require('../internals/iterator-close');\nvar iteratorCloseAll = require('../internals/iterator-close-all');\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\nvar ITERATOR_HELPER = 'IteratorHelper';\nvar WRAP_FOR_VALID_ITERATOR = 'WrapForValidIterator';\nvar NORMAL = 'normal';\nvar THROW = 'throw';\nvar setInternalState = InternalStateModule.set;\n\nvar createIteratorProxyPrototype = function (IS_ITERATOR) {\n  var getInternalState = InternalStateModule.getterFor(IS_ITERATOR ? WRAP_FOR_VALID_ITERATOR : ITERATOR_HELPER);\n\n  return defineBuiltIns(create(IteratorPrototype), {\n    next: function next() {\n      var state = getInternalState(this);\n      // for simplification:\n      //   for `%WrapForValidIteratorPrototype%.next` or with `state.returnHandlerResult` our `nextHandler` returns `IterResultObject`\n      //   for `%IteratorHelperPrototype%.next` - just a value\n      if (IS_ITERATOR) return state.nextHandler();\n      if (state.done) return createIterResultObject(undefined, true);\n      try {\n        var result = state.nextHandler();\n        return state.returnHandlerResult ? result : createIterResultObject(result, state.done);\n      } catch (error) {\n        state.done = true;\n        throw error;\n      }\n    },\n    'return': function () {\n      var state = getInternalState(this);\n      var iterator = state.iterator;\n      state.done = true;\n      if (IS_ITERATOR) {\n        var returnMethod = getMethod(iterator, 'return');\n        return returnMethod ? call(returnMethod, iterator) : createIterResultObject(undefined, true);\n      }\n      if (state.inner) try {\n        iteratorClose(state.inner.iterator, NORMAL);\n      } catch (error) {\n        return iteratorClose(iterator, THROW, error);\n      }\n      if (state.openIters) try {\n        iteratorCloseAll(state.openIters, NORMAL);\n      } catch (error) {\n        return iteratorClose(iterator, THROW, error);\n      }\n      if (iterator) iteratorClose(iterator, NORMAL);\n      return createIterResultObject(undefined, true);\n    }\n  });\n};\n\nvar WrapForValidIteratorPrototype = createIteratorProxyPrototype(true);\nvar IteratorHelperPrototype = createIteratorProxyPrototype(false);\n\ncreateNonEnumerableProperty(IteratorHelperPrototype, TO_STRING_TAG, 'Iterator Helper');\n\nmodule.exports = function (nextHandler, IS_ITERATOR, RETURN_HANDLER_RESULT) {\n  var IteratorProxy = function Iterator(record, state) {\n    if (state) {\n      state.iterator = record.iterator;\n      state.next = record.next;\n    } else state = record;\n    state.type = IS_ITERATOR ? WRAP_FOR_VALID_ITERATOR : ITERATOR_HELPER;\n    state.returnHandlerResult = !!RETURN_HANDLER_RESULT;\n    state.nextHandler = nextHandler;\n    state.counter = 0;\n    state.done = false;\n    setInternalState(this, state);\n  };\n\n  IteratorProxy.prototype = IS_ITERATOR ? WrapForValidIteratorPrototype : IteratorHelperPrototype;\n\n  return IteratorProxy;\n};\n","'use strict';\n// `GetIteratorDirect(obj)` abstract operation\n// https://tc39.es/ecma262/#sec-getiteratordirect\nmodule.exports = function (obj) {\n  return {\n    iterator: obj,\n    next: obj.next,\n    done: false\n  };\n};\n","'use strict';\nvar hasOwn = require('../internals/has-own-property');\nvar ownKeys = require('../internals/own-keys');\nvar getOwnPropertyDescriptorModule = require('../internals/object-get-own-property-descriptor');\nvar definePropertyModule = require('../internals/object-define-property');\n\nmodule.exports = function (target, source, exceptions) {\n  var keys = ownKeys(source);\n  var defineProperty = definePropertyModule.f;\n  var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;\n  for (var i = 0; i < keys.length; i++) {\n    var key = keys[i];\n    if (!hasOwn(target, key) && !(exceptions && hasOwn(exceptions, key))) {\n      defineProperty(target, key, getOwnPropertyDescriptor(source, key));\n    }\n  }\n};\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar definePropertyModule = require('../internals/object-define-property');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\n\nmodule.exports = DESCRIPTORS ? function (object, key, value) {\n  return definePropertyModule.f(object, key, createPropertyDescriptor(1, value));\n} : function (object, key, value) {\n  object[key] = value;\n  return object;\n};\n","import{registerBlockType as t,unregisterBlockType as n}from\"@wordpress/blocks\";import{registerPlugin as e,unregisterPlugin as r}from\"@wordpress/plugins\";import{select as o,dispatch as i,useDispatch as u,useSelect as c}from\"@wordpress/data\";import{registerFormatType as a,unregisterFormatType as s}from\"@wordpress/rich-text\";var l=\"\",f=\"\";function d(t){\"\"===f&&void 0!==t&&(l=t,f=t)}function p(){return l}function v(){return\"\"!==l&&\"\"!==f&&l!==f}function h(t){l=t}function m(){l=\"\"}function g(){l=f}function y(t,n){try{var e=t()}catch(t){return n(t)}return e&&e.then?e.then(void 0,n):e}var w=function(t,n){void 0===n&&(n=!0);try{if(!n)throw t;return Promise.resolve(b(t)).then(function(t){throw\"rest_cookie_invalid_nonce\"===(null==t?void 0:t.code)&&v()&&(t.code=\"external_rest_cookie_invalid_nonce\"),t||{code:\"unknown_error\",message:\"An unknown error occurred.\"}})}catch(t){return Promise.reject(t)}},b=function(t){try{var n={code:\"invalid_json\",message:\"The response is not a valid JSON response.\"};if(!t||void 0===t.json)throw n;return Promise.resolve(y(function(){return Promise.resolve(t.json())},function(){throw n}))}catch(t){return Promise.reject(t)}},P=function(t,n){return void 0===n&&(n=!0),Promise.resolve(y(function(){return function(t,n){return void 0===n&&(n=!0),n?204===t.status?null:void 0!==t.json?t.json():Promise.reject(t):t}(t,n)},function(t){return Promise.resolve(w(t,n))}))};function E(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=Array(n);e<n;e++)r[e]=t[e];return r}function T(t,n){var e=\"undefined\"!=typeof Symbol&&t[Symbol.iterator]||t[\"@@iterator\"];if(e)return(e=e.call(t)).next.bind(e);if(Array.isArray(t)||(e=function(t,n){if(t){if(\"string\"==typeof t)return E(t,n);var e={}.toString.call(t).slice(8,-1);return\"Object\"===e&&t.constructor&&(e=t.constructor.name),\"Map\"===e||\"Set\"===e?Array.from(t):\"Arguments\"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?E(t,n):void 0}}(t))||n&&t&&\"number\"==typeof t.length){e&&(t=e);var r=0;return function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}}}throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\")}function j(){return j=Object.assign?Object.assign.bind():function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)({}).hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t},j.apply(null,arguments)}function k(t){return\"\"===t.trim()?t:t.replace(/\\/?$/,\"/\")}function A(t){return\"\"===t.trim()?t:t.replace(/^\\/?/,\"/\")}function _(t){return\"\"===t.trim()?t:t.replace(/^\\//,\"\")}function x(t){return\"\"===t.trim()?t:t.replace(/\\/$/,\"\")}function O(t,n){var e;return null!=(e=I(t)[n])?e:void 0}function I(t){var n;return(null!=(n=R(t))?n:\"\").replace(/\\+/g,\"%20\").split(\"&\").reduce(function(t,n){if(\"\"===n)return t;var e=n.split(\"=\").filter(Boolean).map(function(t){try{return decodeURIComponent(t)}catch(n){return console.debug(\"Invalid URL component: \"+t,n),t}}),r=e[1],o=void 0===r?\"\":r;return function(t,n,e){for(var r=n.length,o=r-1,i=0;i<r;i++){var u=n[i];\"\"===u&&Array.isArray(t)&&(u=t.length.toString()),u=[\"__proto__\",\"constructor\",\"prototype\"].includes(u)?u.toUpperCase():u;var c=!isNaN(Number(n[i+1]));i===o?t[u]=e:void 0===t[u]&&(t[u]=c?[]:{}),Array.isArray(t[u])&&!c&&(t[u]=j({},t[u])),t=t[u]}}(t,e[0].replace(/]/g,\"\").split(\"[\"),o),t},Object.create(null))}function R(t){try{var n=new URL(t,\"https://ex.com\").search.substring(1);return n.length>0?n:void 0}catch(n){return void console.debug(\"Invalid URL:\",t,n)}}function S(t,n){if(void 0===n&&(n={}),0===Object.keys(n).length)return null!=t?t:\"\";var e=\"\",r=\"\";if(void 0!==t){var o;r=null!=(o=B(t))?o:\"\",e=t.replace(r,\"\");var i=t.indexOf(\"?\");-1!==i&&(n=Object.assign(I(t),n),e=e=e.slice(0,i))}return e+\"?\"+U(n)+r}function B(t){var n=/^\\S+?(#[^\\s?]*)/.exec(t);if(null!==n&&n.length>1)return n[1]}function U(t){for(var n,e=\"\",r=Object.entries(t);n=r.shift();){var o=n[0],i=n[1];if(null===i||\"object\"!=typeof i&&!Array.isArray(i))void 0!==i&&(null===i&&(i=\"\"),e+=\"&\"+[o,i].map(encodeURIComponent).join(\"=\"));else for(var u,c=T(Object.entries(i).reverse());!(u=c()).done;){var a=u.value;r.unshift([o+\"[\"+a[0]+\"]\",a[1]])}}return e.slice(1)}var G=\"\",C=\"\";function L(t){C=t,G=t}function N(){\"\"===C?(G=\"\",G=M()):G=C}function M(){var t;if(\"\"!==G)return k(G);var n=document.querySelector('link[rel=\"https://api.w.org/\"]'),e=null==n?void 0:n.getAttribute(\"href\");if(\"string\"==typeof e)G=e;else{if(void 0===(null==(t=window.wpApiSettings)?void 0:t.root))throw new URIError(\"Unable to determine the root URL. Use `setInitialRootURL` to set the root URL.\");G=window.wpApiSettings.root}return k(G)}function W(t,n){void 0===n&&(n=!0);var e=\"\";return void 0===t.url?\"string\"==typeof t.path?((e=M()).indexOf(\"?\")>-1&&(t.path=t.path.replace(\"?\",\"&\")),e+=_(t.path)):e=M():e=t.url,n?$(e):e}function D(t,n){G=t.replace(/\\/$/,\"\")+\"/\",\"\"===window.location.hostname||new URL(G).hostname!==window.location.hostname?void 0!==n?h(n):v()||m():g()}var $=function(t){return void 0===O(t,\"_locale\")&&(t=S(t,{_locale:\"user\"})),t},q=\"\";function X(){return q}function z(){return\"\"!==q}function H(){q=\"\"}function J(t,n){q=\"Basic \"+btoa(t+\":\"+n)}var Y=[\"data\",\"parse\"],F=function(t){return Promise.resolve(function(){try{var n=Promise.resolve(tt({path:\"/\",method:\"GET\"})).then(function(n){return n.authentication[\"application-passwords\"]?S(n.authentication[\"application-passwords\"].endpoints.authorization,t):{code:\"application_passwords_disabled\",message:\"Application passwords are not enabled on this site.\",data:null}})}catch(t){return t}return n&&n.then?n.then(void 0,function(t){return t}):n}())},K={Accept:\"application/json, */*;q=0.1\"},Q={credentials:\"include\"},V=!1,Z=function(t){if(t.status>=200&&t.status<300)return t;throw t},tt=function(t){var n=t,e=t.data,r=t.parse,o=void 0===r||r,i=function(t,n){if(null==t)return{};var e={};for(var r in t)if({}.hasOwnProperty.call(t,r)){if(-1!==n.indexOf(r))continue;e[r]=t[r]}return e}(t,Y);delete i.url,delete i.path;var u=n.body,c=j({},K,\"\"!==p()?{\"X-WP-Nonce\":p()}:{},\"\"!==X()?{Authorization:X()}:{},n.headers);void 0!==e&&(u=JSON.stringify(e),c[\"Content-Type\"]=\"application/json\");var a=j({},Q,i,{body:u,headers:c});return window.fetch(W(t),a).then(function(n){return Promise.resolve(n).then(Z).catch(function(t){return w(t,o)}).then(function(t){return P(t,o)}).catch(function(n){return nt(n,function(){return tt(t)})})},function(t){if(t&&\"AbortError\"===t.name)throw t;throw{code:\"fetch_error\",message:\"You are probably offline.\"}})};function nt(t,n){return\"rest_cookie_invalid_nonce\"!==t.code?Promise.reject(t):(m(),V?Promise.reject(t):(V=!0,window.fetch(W({path:\"wp-admin/admin-ajax.php?action=rest-nonce\"},!1)).then(Z).then(function(t){return t.text()}).then(function(t){return h(t),n()}).finally(function(){V=!1})))}var et=function(t,n,e){try{var r,o,i=function(t){return r?t:Promise.resolve(P(o)).then(function(t){var n,e;return{items:t,totalPages:parseInt(null!=(n=o.headers.get(\"X-WP-TotalPages\"))?n:\"1\"),totalItems:parseInt(null!=(e=o.headers.get(\"X-WP-Total\"))?e:\"0\")}})},u=function(r,i){try{var u=Promise.resolve(rt(t,n,e,!1)).then(function(t){o=t})}catch(t){return i(t)}return u&&u.then?u.then(void 0,i):u}(0,function(o){return Promise.resolve(P(o)).then(function(o){var i=nt(o,function(){return et(t,n,e)});return r=1,i})});return Promise.resolve(u&&u.then?u.then(i):i(u))}catch(t){return Promise.reject(t)}},rt=function(t,n,e,r){void 0===r&&(r=!0);try{return Promise.resolve(tt(void 0===e||\"GET\"===n||\"OPTIONS\"===n?{method:n,parse:r,path:S(t,null!=e?e:{})}:{data:e,method:n,parse:r,path:t}))}catch(t){return Promise.reject(t)}};function ot(t){var n=A(t);return{create:function(t){return rt(n,\"POST\",t)},delete:function(t){return rt(k(n)+t,\"DELETE\",{force:!0})},get:function(t){return rt(n,\"GET\",t)},getById:function(t,e){return rt(k(n)+t,\"GET\",e)},getWithPagination:function(t){return et(n,\"GET\",t)},trash:function(t){return rt(k(n)+t,\"DELETE\")},update:function(t){return rt(k(n)+t.id,\"PATCH\",t)}}}function it(t){var n={};return[\"categories\",\"comments\",\"blocks\",\"media\",\"menus\",\"menu-locations\",\"menu-items\",\"pages\",\"posts\",\"tags\",\"taxonomies\",\"search\"].map(function(t){return n[t]=function(){return ot(\"/wp/v2/\"+t)}}),n.menuItems=function(){return ot(\"/wp/v2/menu-items\")},n.users=function(){var t=ot(\"/wp/v2/users\");return t.delete=function(t,n){return void 0===n&&(n=!1),rt(\"/wp/v2/users/\"+t,\"DELETE\",{force:!0,reassign:n})},t},n.applicationPasswords=function(){return{create:function(t,n){return rt(\"/wp/v2/users/\"+t+\"/application-passwords\",\"POST\",n)},delete:function(t,n){return rt(\"/wp/v2/users/\"+t+\"/application-passwords/\"+n,\"DELETE\")},get:function(t){return rt(\"/wp/v2/users/\"+t+\"/application-passwords\",\"GET\")},getById:function(t,n){return rt(\"/wp/v2/users/\"+t+\"/application-passwords/\"+n,\"GET\")},introspect:function(t){return rt(\"/wp/v2/users/\"+t+\"/application-passwords/introspect\",\"GET\")},update:function(t,n,e){return rt(\"/wp/v2/users/\"+t+\"/application-passwords/\"+n,\"PUT\",e)}}},n.menuLocations=function(){return{get:function(){return rt(\"/wp/v2/menu-locations\",\"GET\")},getById:function(t){return rt(\"/wp/v2/menu-locations/\"+t,\"GET\")}}},n.settings=function(){return{get:function(){return rt(\"/wp/v2/settings\",\"GET\")},update:function(t){return rt(\"/wp/v2/settings\",\"POST\",t)}}},n.statuses=function(){return{get:function(t){return rt(\"/wp/v2/statuses\",\"GET\",null!=t?t:{})}}},n.types=function(){return{get:function(){return rt(\"/wp/v2/types\",\"GET\")},getById:function(t){return rt(\"'/wp/v2/types'/\"+t,\"GET\")}}},void 0!==t&&Object.keys(t).map(function(e){return n[e]=t[e]}),n}function ut(t,n,e){if(!t.s){if(e instanceof ct){if(!e.s)return void(e.o=ut.bind(null,t,n));1&n&&(n=e.s),e=e.v}if(e&&e.then)return void e.then(ut.bind(null,t,n),ut.bind(null,t,2));t.s=n,t.v=e;const r=t.o;r&&r(t)}}var ct=/*#__PURE__*/function(){function t(){}return t.prototype.then=function(n,e){var r=new t,o=this.s;if(o){var i=1&o?n:e;if(i){try{ut(r,1,i(this.v))}catch(t){ut(r,2,t)}return r}return this}return this.o=function(t){try{var o=t.v;1&t.s?ut(r,1,n?n(o):o):e?ut(r,1,e(o)):ut(r,2,o)}catch(t){ut(r,2,t)}},r},t}();function at(t){return t instanceof ct&&1&t.s}var st=function(e,r){dt({afterReload:gt,beforeReload:ht,getContext:e,pluginModule:r,register:t,unregister:n,type:\"block\"})},lt=function(t,n){dt({afterReload:function(){},beforeReload:function(){},getContext:t,pluginModule:n,register:e,unregister:r,type:\"plugin\"})},ft=function(t,n){dt({afterReload:function(){},beforeReload:function(){},getContext:t,pluginModule:n,register:a,unregister:s,type:\"format\"})},dt=function(t){var n=t.afterReload,e=t.beforeReload,r=t.getContext,o=t.pluginModule,i=t.register,u=t.unregister,c=t.type,a={},s=function(){e();var t=r();if(t){var o=[];return t.keys().forEach(function(n){var e=t(n);Boolean(e.exclude)||e!==a[n]&&(Boolean(a[e.name+\"-\"+c])&&u(e.name),i(e.name,e.settings),o.push(e.name),a[e.name+\"-\"+c]=e)}),n(o),t}},l=s();o.hot&&void 0!==(null==l?void 0:l.id)&&o.hot.accept(l.id.toString(),s)},pt=null,vt=[],ht=function(){pt=o(\"core/block-editor\").getSelectedBlockClientId()},mt=function(t,n){void 0===t&&(t=[]);var e=n.clientId,r=n.innerBlocks;t.includes(n.name)&&vt.push(e),r.forEach(function(n){return mt(t,n)})},gt=function(t){void 0===t&&(t=[]);try{return Promise.resolve(i(\"core/block-editor\").clearSelectedBlock()).then(function(){function n(){function t(){vt=[],pt=null}var n=null!==pt?Promise.resolve(i(\"core/block-editor\").selectBlock(pt)).then(function(){}):Promise.resolve(i(\"core/block-editor\").clearSelectedBlock()).then(function(){});return n&&n.then?n.then(t):t()}o(\"core/block-editor\").getBlocks().forEach(function(n){return mt(t,n)});var e,r,u,c,a,s=(e=vt,r=function(t){return Promise.resolve(i(\"core/block-editor\").selectBlock(vt[t])).then(function(){})},a=-1,function t(n){try{for(;++a<e.length;)if((n=r(a))&&n.then){if(!at(n))return void n.then(t,c||(c=ut.bind(null,u=new ct,2)));n=n.v}u?ut(u,1,n):u=n}catch(t){ut(u||(u=new ct),2,t)}}(),u);return s&&s.then?s.then(n):n()})}catch(t){return Promise.reject(t)}};function yt(t,n){var e={current:t},r={current:n};return n.some(function(t,n){return t!==r.current[n]})&&(e.current=t,r.current=n),function(){return e.current.apply(e,[].slice.call(arguments))}}function wt(t){var n=u(\"core/editor\").editPost,e=c(function(t){return{previous:t(\"core/editor\").getCurrentPostAttribute(\"meta\"),current:t(\"core/editor\").getEditedPostAttribute(\"meta\")}},[]),r=\"string\"==typeof t&&\"\"!==t,o=r?e.current[t]:e.current,i=r?e.previous[t]:e.previous,a=yt(function(e){var o;r&&n({meta:(o={},o[t]=e,o)})},[n,t,r]),s=yt(function(t,e){var r;n({meta:(r={},r[t]=e,r)})},[n]);return r?[o,a,i]:[o,s,i]}function bt(t){var n,e,r=u(\"core/editor\").editPost,o=c(function(n){var e=n(\"core\").getTaxonomy(t);return e?{taxonomy:e,current:n(\"core/editor\").getEditedPostAttribute(e.rest_base),previous:n(\"core/editor\").getCurrentPostAttribute(e.rest_base)}:{taxonomy:null,current:null,previous:null}},[t]),i=yt(function(t){try{var n;return Promise.resolve(o.taxonomy?r(((n={})[o.taxonomy.rest_base]=t,n)):void 0)}catch(t){return Promise.reject(t)}},[o,r]);return[null!=(n=o.current)?n:[],i,null!=(e=o.previous)?e:[]]}export{A as addLeadingSlash,S as addQueryArgs,k as addTrailingSlash,dt as autoload,st as autoloadBlocks,ft as autoloadFormats,lt as autoloadPlugins,U as buildQueryString,H as clearApplicationPassword,m as clearNonce,ot as createMethods,rt as doRequest,et as doRequestWithPagination,J as enableApplicationPassword,tt as fetchHandler,X as getApplicationPassword,F as getAuthorizationUrl,B as getFragment,O as getQueryArg,I as getQueryArgs,R as getQueryString,z as hasApplicationPassword,v as hasExternalNonce,nt as maybeRefreshNonce,_ as removeLeadingSlash,x as removeTrailingSlash,g as restoreNonce,N as restoreRootURL,d as setInitialNonce,L as setInitialRootURL,h as setNonce,D as setRootURL,wt as usePostMeta,bt as useTerms,it as wpapi};\n//# sourceMappingURL=index.module.js.map\n","import {CONFIG} from '../../globals/config';\nimport {Button, PanelBody, withFilters} from '@wordpress/components';\nimport {InspectorControls} from '@wordpress/block-editor';\nimport {decodeEntities} from '@wordpress/html-entities';\nimport {__} from '@wordpress/i18n';\n\nimport styles from './info-panel.pcss';\n\ntype Props = {\n\tclientId: string;\n};\n\nconst titleStyles = {\n\tcolor: '#3db634',\n\tfontWeight: 700,\n};\n\nconst headingStyles = {\n\tmargin: '16px 0 0',\n\tfontSize: '1.2em',\n};\n\nconst InfoPanel = ( {}: Props ) => {\n\treturn ( <InspectorControls>\n\t\t<PanelBody\n\t\t\ttitle={<span style={titleStyles}>\n\t\t\t\t{__( 'Go PRO', 'advanced-sidebar-menu' )}\n\t\t\t</span>}\n\t\t\tclassName={styles.wrap}\n\t\t\tinitialOpen={false}\n\t\t>\n\t\t\t<h2 style={headingStyles}>\n\t\t\t\t{__( 'Advanced Sidebar Menu PRO', 'advanced-sidebar-menu' )}\n\t\t\t</h2>\n\t\t\t<ul>\n\t\t\t\t{CONFIG.features.map( feature => (\n\t\t\t\t\t<li key={feature}>\n\t\t\t\t\t\t{decodeEntities( feature )}\n\t\t\t\t\t</li>\n\t\t\t\t) )}\n\t\t\t\t<li>\n\t\t\t\t\t{__( 'And so much more…', 'advanced-sidebar-menu' )}\n\t\t\t\t</li>\n\t\t\t</ul>\n\t\t\t<Button\n\t\t\t\tclassName={styles.button}\n\t\t\t\thref={'https://onpointplugins.com/product/advanced-sidebar-menu-pro/?utm_source=block-upgrade&utm_campaign=gopro&utm_medium=wp-dash#buy-now-choices'}\n\t\t\t\ttarget={'_blank'}\n\t\t\t\trel={'noreferrer'}\n\t\t\t\tisPrimary\n\t\t\t>\n\t\t\t\t{__( 'Upgrade', 'advanced-sidebar-menu' )}\n\t\t\t</Button>\n\t\t</PanelBody>\n\t</InspectorControls> );\n};\n\nexport default withFilters<Props>( 'advanced-sidebar-menu.blocks.info-panel' )( InfoPanel );\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n  module.exports = require('./cjs/react-jsx-runtime.production.min.js');\n} else {\n  module.exports = require('./cjs/react-jsx-runtime.development.js');\n}\n","'use strict';\nvar call = require('../internals/function-call');\nvar aCallable = require('../internals/a-callable');\nvar anObject = require('../internals/an-object');\nvar tryToString = require('../internals/try-to-string');\nvar getIteratorMethod = require('../internals/get-iterator-method');\n\nvar $TypeError = TypeError;\n\nmodule.exports = function (argument, usingIterator) {\n  var iteratorMethod = arguments.length < 2 ? getIteratorMethod(argument) : usingIterator;\n  if (aCallable(iteratorMethod)) return anObject(call(iteratorMethod, argument));\n  throw new $TypeError(tryToString(argument) + ' is not iterable');\n};\n","'use strict';\nvar call = require('../internals/function-call');\nvar anObject = require('../internals/an-object');\nvar getMethod = require('../internals/get-method');\n\nmodule.exports = function (iterator, kind, value) {\n  var innerResult, innerError;\n  anObject(iterator);\n  try {\n    innerResult = getMethod(iterator, 'return');\n    if (!innerResult) {\n      if (kind === 'throw') throw value;\n      return value;\n    }\n    innerResult = call(innerResult, iterator);\n  } catch (error) {\n    innerError = true;\n    innerResult = error;\n  }\n  if (kind === 'throw') throw value;\n  if (innerError) throw innerResult;\n  anObject(innerResult);\n  return value;\n};\n","'use strict';\nvar getBuiltIn = require('../internals/get-built-in');\nvar isCallable = require('../internals/is-callable');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar USE_SYMBOL_AS_UID = require('../internals/use-symbol-as-uid');\n\nvar $Object = Object;\n\nmodule.exports = USE_SYMBOL_AS_UID ? function (it) {\n  return typeof it == 'symbol';\n} : function (it) {\n  var $Symbol = getBuiltIn('Symbol');\n  return isCallable($Symbol) && isPrototypeOf($Symbol.prototype, $Object(it));\n};\n","'use strict';\n/* global ActiveXObject -- old IE, WSH */\nvar anObject = require('../internals/an-object');\nvar definePropertiesModule = require('../internals/object-define-properties');\nvar enumBugKeys = require('../internals/enum-bug-keys');\nvar hiddenKeys = require('../internals/hidden-keys');\nvar html = require('../internals/html');\nvar documentCreateElement = require('../internals/document-create-element');\nvar sharedKey = require('../internals/shared-key');\n\nvar GT = '>';\nvar LT = '<';\nvar PROTOTYPE = 'prototype';\nvar SCRIPT = 'script';\nvar IE_PROTO = sharedKey('IE_PROTO');\n\nvar EmptyConstructor = function () { /* empty */ };\n\nvar scriptTag = function (content) {\n  return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT;\n};\n\n// Create object with fake `null` prototype: use ActiveX Object with cleared prototype\nvar NullProtoObjectViaActiveX = function (activeXDocument) {\n  activeXDocument.write(scriptTag(''));\n  activeXDocument.close();\n  var temp = activeXDocument.parentWindow.Object;\n  // eslint-disable-next-line no-useless-assignment -- avoid memory leak\n  activeXDocument = null;\n  return temp;\n};\n\n// Create object with fake `null` prototype: use iframe Object with cleared prototype\nvar NullProtoObjectViaIFrame = function () {\n  // Thrash, waste and sodomy: IE GC bug\n  var iframe = documentCreateElement('iframe');\n  var JS = 'java' + SCRIPT + ':';\n  var iframeDocument;\n  iframe.style.display = 'none';\n  html.appendChild(iframe);\n  // https://github.com/zloirock/core-js/issues/475\n  iframe.src = String(JS);\n  iframeDocument = iframe.contentWindow.document;\n  iframeDocument.open();\n  iframeDocument.write(scriptTag('document.F=Object'));\n  iframeDocument.close();\n  return iframeDocument.F;\n};\n\n// Check for document.domain and active x support\n// No need to use active x approach when document.domain is not set\n// see https://github.com/es-shims/es5-shim/issues/150\n// variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346\n// avoid IE GC bug\nvar activeXDocument;\nvar NullProtoObject = function () {\n  try {\n    activeXDocument = new ActiveXObject('htmlfile');\n  } catch (error) { /* ignore */ }\n  NullProtoObject = typeof document != 'undefined'\n    ? document.domain && activeXDocument\n      ? NullProtoObjectViaActiveX(activeXDocument) // old IE\n      : NullProtoObjectViaIFrame()\n    : NullProtoObjectViaActiveX(activeXDocument); // WSH\n  var length = enumBugKeys.length;\n  while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];\n  return NullProtoObject();\n};\n\nhiddenKeys[IE_PROTO] = true;\n\n// `Object.create` method\n// https://tc39.es/ecma262/#sec-object.create\n// eslint-disable-next-line es/no-object-create -- safe\nmodule.exports = Object.create || function create(O, Properties) {\n  var result;\n  if (O !== null) {\n    EmptyConstructor[PROTOTYPE] = anObject(O);\n    result = new EmptyConstructor();\n    EmptyConstructor[PROTOTYPE] = null;\n    // add \"__proto__\" for Object.getPrototypeOf polyfill\n    result[IE_PROTO] = O;\n  } else result = NullProtoObject();\n  return Properties === undefined ? result : definePropertiesModule.f(result, Properties);\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\n\nvar id = 0;\nvar postfix = Math.random();\nvar toString = uncurryThis(1.1.toString);\n\nmodule.exports = function (key) {\n  return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);\n};\n","'use strict';\n// Should throw an error on invalid iterator\n// https://issues.chromium.org/issues/336839115\nmodule.exports = function (methodName, argument) {\n  // eslint-disable-next-line es/no-iterator -- required for testing\n  var method = typeof Iterator == 'function' && Iterator.prototype[methodName];\n  if (method) try {\n    method.call({ next: null }, argument).next();\n  } catch (error) {\n    return true;\n  }\n};\n","'use strict';\nvar NATIVE_BIND = require('../internals/function-bind-native');\n\nvar call = Function.prototype.call;\n// eslint-disable-next-line es/no-function-prototype-bind -- safe\nmodule.exports = NATIVE_BIND ? call.bind(call) : function () {\n  return call.apply(call, arguments);\n};\n","'use strict';\n/* eslint-disable es/no-symbol -- required for testing */\nvar V8_VERSION = require('../internals/environment-v8-version');\nvar fails = require('../internals/fails');\nvar globalThis = require('../internals/global-this');\n\nvar $String = globalThis.String;\n\n// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing\nmodule.exports = !!Object.getOwnPropertySymbols && !fails(function () {\n  var symbol = Symbol('symbol detection');\n  // Chrome 38 Symbol has incorrect toString conversion\n  // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances\n  // nb: Do not call `String` directly to avoid this being optimized out to `symbol+''` which will,\n  // of course, fail.\n  return !$String(symbol) || !(Object(symbol) instanceof Symbol) ||\n    // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances\n    !Symbol.sham && V8_VERSION && V8_VERSION < 41;\n});\n","'use strict';\nvar internalObjectKeys = require('../internals/object-keys-internal');\nvar enumBugKeys = require('../internals/enum-bug-keys');\n\nvar hiddenKeys = enumBugKeys.concat('length', 'prototype');\n\n// `Object.getOwnPropertyNames` method\n// https://tc39.es/ecma262/#sec-object.getownpropertynames\n// eslint-disable-next-line es/no-object-getownpropertynames -- safe\nexports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {\n  return internalObjectKeys(O, hiddenKeys);\n};\n","module.exports = window.wp?.url;","module.exports = lodash;","import {CONFIG} from '../../../globals/config';\nimport {BlockSettings, LegacyWidget} from '@wordpress/blocks';\nimport Edit from './Edit';\nimport {DisplayOptions} from '../Display';\nimport {getBlockSupports, transformLegacyWidget, translateBlockAttributes} from '../../helpers';\nimport {__} from '@wordpress/i18n';\nimport type {CommonAttr} from '../Preview';\nimport CategoriesIcon from './CategoriesIcon';\n\n/**\n * Attributes specific to the widget as well as shared\n * widget attributes.\n *\n * @see \\Advanced_Sidebar_Menu\\Blocks\\Block_Abstract::get_all_attributes\n * @see \\Advanced_Sidebar_Menu\\Blocks\\Pages::get_attributes\n */\nexport type Attr = {\n\texclude: string;\n\tnew_widget: 'widget' | 'list';\n\tsingle: boolean;\n} & DisplayOptions & ProRegistered & CommonAttr;\n\n// Options used by basic when available from PRO.\ntype ProRegistered = {\n\ttaxonomy?: string;\n}\n\nexport type setAttributes = ( newValue: {\n\t[attribute in keyof Attr]?: Attr[attribute]\n} ) => void;\n\n/**\n * Attributes used for the example preview.\n * Combines some PRO and basic attributes.\n * The PRO attributes will only be sent if PRO is active.\n */\nconst EXAMPLE = {\n\t'display-posts': 'all',\n\t'display-posts/limit': 2,\n\tapply_current_page_parent_styles_to_parent: true,\n\tapply_current_page_styles_to_parent: true,\n\tblock_style: true,\n\tborder: true,\n\tborder_color: '#333',\n\tbullet_style: 'none',\n\tchild_page_bg_color: '#666',\n\tchild_page_color: '#fff',\n\tparent_page_bg_color: '#282828',\n\tparent_page_color: '#0cc4c6',\n\tparent_page_font_weight: 'normal',\n\tdisplay_all: true,\n\tgrandchild_page_bg_color: '#989898',\n\tgrandchild_page_color: '#282828',\n\tgrandchild_page_font_weight: 'bold',\n\tinclude_childless_parent: true,\n\tinclude_parent: true,\n\tlevels: 2,\n};\n\n\nexport const block = CONFIG.blocks.categories;\n\nexport const name = block.id;\n\nexport const settings: BlockSettings<Attr, '', LegacyWidget<Attr & { title: string }>> = {\n\ttitle: __( 'Advanced Sidebar - Categories', 'advanced-sidebar-menu' ),\n\ticon: CategoriesIcon,\n\tcategory: 'widgets',\n\tdescription: __( 'Creates a menu of all the categories using the parent/child relationship',\n\t\t'advanced-sidebar-menu' ),\n\tkeywords: [\n\t\t__( 'taxonomy', 'advanced-sidebar-menu' ),\n\t\t__( 'term', 'advanced-sidebar-menu' ),\n\t\t__( 'category', 'advanced-sidebar-menu' ),\n\t\t__( 'menu', 'advanced-sidebar-menu' ),\n\t],\n\texample: {\n\t\tattributes: EXAMPLE,\n\t},\n\ttransforms: {\n\t\tfrom: [\n\t\t\t{\n\t\t\t\ttype: 'block',\n\t\t\t\tblocks: [ 'core/legacy-widget' ],\n\t\t\t\tisMatch: ( {idBase, instance} ) => {\n\t\t\t\t\tif ( null === instance?.raw ) {\n\t\t\t\t\t\t// Can't transform if the raw instance is not shown in REST API.\n\t\t\t\t\t\treturn false;\n\t\t\t\t\t}\n\t\t\t\t\treturn 'advanced_sidebar_menu_category' === idBase;\n\t\t\t\t},\n\t\t\t\ttransform: transformLegacyWidget<Attr>( name ),\n\t\t\t},\n\t\t],\n\t},\n\tattributes: translateBlockAttributes<Attr>( block.attributes ),\n\tsupports: getBlockSupports(),\n\tedit: props => (\n\t\t<Edit {...props} />\n\t),\n\tsave: () => null,\n\tapiVersion: 3,\n};\n","'use strict';\nvar ceil = Math.ceil;\nvar floor = Math.floor;\n\n// `Math.trunc` method\n// https://tc39.es/ecma262/#sec-math.trunc\n// eslint-disable-next-line es/no-math-trunc -- safe\nmodule.exports = Math.trunc || function trunc(x) {\n  var n = +x;\n  return (n > 0 ? floor : ceil)(n);\n};\n","module.exports = window.wp?.htmlEntities;","'use strict';\nvar $ = require('../internals/export');\nvar globalThis = require('../internals/global-this');\nvar anInstance = require('../internals/an-instance');\nvar anObject = require('../internals/an-object');\nvar isCallable = require('../internals/is-callable');\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\nvar defineBuiltInAccessor = require('../internals/define-built-in-accessor');\nvar createProperty = require('../internals/create-property');\nvar fails = require('../internals/fails');\nvar hasOwn = require('../internals/has-own-property');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar IteratorPrototype = require('../internals/iterators-core').IteratorPrototype;\nvar DESCRIPTORS = require('../internals/descriptors');\nvar IS_PURE = require('../internals/is-pure');\n\nvar CONSTRUCTOR = 'constructor';\nvar ITERATOR = 'Iterator';\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\n\nvar $TypeError = TypeError;\nvar NativeIterator = globalThis[ITERATOR];\n\n// FF56- have non-standard global helper `Iterator`\nvar FORCED = IS_PURE\n  || !isCallable(NativeIterator)\n  || NativeIterator.prototype !== IteratorPrototype\n  // FF44- non-standard `Iterator` passes previous tests\n  || !fails(function () { NativeIterator({}); });\n\nvar IteratorConstructor = function Iterator() {\n  anInstance(this, IteratorPrototype);\n  if (getPrototypeOf(this) === IteratorPrototype) throw new $TypeError('Abstract class Iterator not directly constructable');\n};\n\nvar defineIteratorPrototypeAccessor = function (key, value) {\n  if (DESCRIPTORS) {\n    defineBuiltInAccessor(IteratorPrototype, key, {\n      configurable: true,\n      get: function () {\n        return value;\n      },\n      set: function (replacement) {\n        anObject(this);\n        if (this === IteratorPrototype) throw new $TypeError(\"You can't redefine this property\");\n        if (hasOwn(this, key)) this[key] = replacement;\n        else createProperty(this, key, replacement);\n      }\n    });\n  } else IteratorPrototype[key] = value;\n};\n\nif (!hasOwn(IteratorPrototype, TO_STRING_TAG)) defineIteratorPrototypeAccessor(TO_STRING_TAG, ITERATOR);\n\nif (FORCED || !hasOwn(IteratorPrototype, CONSTRUCTOR) || IteratorPrototype[CONSTRUCTOR] === Object) {\n  defineIteratorPrototypeAccessor(CONSTRUCTOR, IteratorConstructor);\n}\n\nIteratorConstructor.prototype = IteratorPrototype;\n\n// `Iterator` constructor\n// https://tc39.es/ecma262/#sec-iterator\n$({ global: true, constructor: true, forced: FORCED }, {\n  Iterator: IteratorConstructor\n});\n","'use strict';\nvar internalObjectKeys = require('../internals/object-keys-internal');\nvar enumBugKeys = require('../internals/enum-bug-keys');\n\n// `Object.keys` method\n// https://tc39.es/ecma262/#sec-object.keys\n// eslint-disable-next-line es/no-object-keys -- safe\nmodule.exports = Object.keys || function keys(O) {\n  return internalObjectKeys(O, enumBugKeys);\n};\n","'use strict';\nvar getBuiltIn = require('../internals/get-built-in');\n\nmodule.exports = getBuiltIn('document', 'documentElement');\n","import {type ReactElement, useEffect} from 'react';\nimport {CONFIG} from '../../globals/config';\nimport ServerSideRender from '@wordpress/server-side-render';\nimport {Placeholder, Spinner} from '@wordpress/components';\nimport {useBlockProps} from '@wordpress/block-editor';\nimport DOMPurify from 'dompurify';\nimport {applyFilters, doAction} from '@wordpress/hooks';\nimport {__} from '@wordpress/i18n';\nimport {select} from '@wordpress/data';\nimport {isScreen} from '../helpers';\nimport PagesIcon from './pages/PagesIcon';\nimport CategoriesIcon from './categories/CategoriesIcon';\nimport NavigationIcon from './NavigationIcon';\n\nimport styles from './preview.pcss';\n\n\n/**\n * @see \\Advanced_Sidebar_Menu\\Blocks\\Common_Attributes::get_common_attributes\n */\nexport type CommonAttr = {\n\ttitle?: string;\n\tstyle?: object;\n}\n\n/**\n * @see \\Advanced_Sidebar_Menu\\Blocks\\Common_Attributes::get_server_side_render_attributes\n */\nexport type ServerSideRenderRequired = {\n\tisServerSideRenderRequest: boolean;\n\tclientId: string;\n\tsidebarId: string;\n}\n\ntype Props<A> = {\n\tattributes: A;\n\tblock: string;\n\tclientId: string;\n};\n\n/**\n * Sanitize a client id for use as an HTML id.\n *\n * Must not start with a `-` or a digit.\n *\n */\nexport const sanitizeClientId = ( clientId: string ): string => {\n\treturn clientId.replace( /^([\\d-])/, '_$1' );\n};\n\n/**\n * If we are in the widgets' area, the block is wrapped in\n * a \"sidebar\" block. We retrieve the id to pass along with\n * the request to use the `widget_args` within the preview.\n *\n */\nconst getSidebarId = ( clientId: string ): string => {\n\tif ( ! isScreen( [ 'widgets' ] ) ) {\n\t\treturn '';\n\t}\n\tconst rootId = select( 'core/block-editor' ).getBlockRootClientId( clientId );\n\tif ( 'undefined' !== typeof rootId && '' !== rootId ) {\n\t\tconst ParentBlock = select( 'core/block-editor' ).getBlocksByClientId( [ rootId ] );\n\t\tif ( null !== ParentBlock[ 0 ] && 'undefined' !== typeof ParentBlock[ 0 ] && 'core/widget-area' === ParentBlock[ 0 ]?.name ) {\n\t\t\treturn ParentBlock[ 0 ]?.attributes?.id;\n\t\t}\n\t}\n\n\treturn '';\n};\n\n/**\n * @notice Must use static constants, or the ServerSide requests\n *         will fire anytime something on the page is changed\n *         because the component re-renders.\n */\nconst Page = () => <Placeholder\n\tclassName={styles.placeholder}\n\ticon={PagesIcon}\n\tlabel={__( 'Advanced Sidebar - Pages', 'advanced-sidebar-menu' )}\n\tinstructions={__( 'No preview available', 'advanced-sidebar-menu' )}\n/>;\n\nconst Category = () => <Placeholder\n\tclassName={styles.placeholder}\n\ticon={CategoriesIcon}\n\tlabel={__( 'Advanced Sidebar - Categories', 'advanced-sidebar-menu' )}\n\tinstructions={__( 'No preview available', 'advanced-sidebar-menu' )}\n/>;\n\nconst Navigation = () => <Placeholder\n\tclassName={styles.placeholder}\n\ticon={NavigationIcon}\n\tlabel={__( 'Advanced Sidebar - Navigation', 'advanced-sidebar-menu' )}\n\tinstructions={__( 'No preview available', 'advanced-sidebar-menu' )}\n/>;\n\n/**\n * @notice The styles will not display for the preview\n *         in the block inserter sidebar when Webpack\n *         is enabled because the iframe has a late init.\n */\nconst placeholder = ( block: string ): () => ReactElement => {\n\tswitch ( block ) {\n\t\tcase CONFIG.blocks.pages.id:\n\t\t\treturn Page;\n\t\tcase CONFIG.blocks.categories.id:\n\t\t\treturn Category;\n\t\tcase CONFIG.blocks.navigation?.id:\n\t\t\treturn Navigation;\n\t}\n\treturn () => <></>;\n};\n\n\n/**\n * Same as the `DefaultLoadingResponsePlaceholder` except we trigger\n * an action when the loading component is unmounted to allow\n * components to hook into when ServerSideRender has finished loading.\n *\n * @notice Using a constant to prevent a reload on every content change.\n */\nconst TriggerWhenLoadingFinished = ( {\n\tchildren,\n\tattributes = {\n\t\tclientId: '',\n\t},\n} ) => {\n\tuseEffect( () => {\n\t\t// Call action when the loading component unmounts because loading is finished.\n\t\treturn () => {\n\t\t\t// Give the preview a chance to load on WP 5.8.\n\t\t\tsetTimeout( () => {\n\t\t\t\tdoAction( 'advanced-sidebar-menu.blocks.preview.loading-finished', {\n\t\t\t\t\tvalues: attributes,\n\t\t\t\t\tclientId: attributes.clientId,\n\t\t\t\t} );\n\t\t\t}, 100 );\n\t\t};\n\t} );\n\n\t/**\n\t * ServerSideRender returns a <RawHTML /> filled with an error object when fetch fails.\n\t *\n\t * We throw an error, so our `ErrorBoundary` will catch it, otherwise we end up\n\t * with a \"React objects may not be used as children\" error, which means nothing.\n\t */\n\tif ( 'string' === typeof children?.props?.children?.errorMsg ) {\n\t\tthrow new Error( children?.props?.children?.errorMsg ?? 'Failed' );\n\t}\n\n\treturn (\n\t\t<div className={styles.spinWrap}>\n\t\t\t<div className={styles.spin}>\n\t\t\t\t<Spinner />\n\t\t\t</div>\n\t\t\t<div className={styles.spinContent}>\n\t\t\t\t{children}\n\t\t\t</div>\n\t\t</div>\n\t);\n};\n\n\nconst Preview = <A, >( {attributes, block, clientId}: Props<A> ) => {\n\tconst blockProps = useBlockProps( {\n\t\tclassName: styles.wrap,\n\t} );\n\n\tif ( '' !== CONFIG.error ) {\n\t\treturn <div\n\t\t\tclassName={styles.error}\n\t\t\tdangerouslySetInnerHTML={{__html: DOMPurify.sanitize( CONFIG.error )}} />;\n\t}\n\n\n\tconst sanitizedClientId = sanitizeClientId( clientId );\n\n\tlet attributesToSend: A & ServerSideRenderRequired = {\n\t\t...attributes,\n\t\tisServerSideRenderRequest: true,\n\t\tclientId: sanitizedClientId,\n\t\tsidebarId: getSidebarId( clientId ),\n\t};\n\t/**\n\t * Filters the attributes sent to the preview.\n\t *\n\t * @since 9.6.3\n\t *\n\t * @param {Object} attributes The attributes to send to the preview.\n\t * @param {string} block      The block name.\n\t * @param {string} clientId   The client id.\n\t */\n\tattributesToSend = applyFilters( 'advanced-sidebar-menu.blocks.preview.attributes', attributesToSend, block, clientId );\n\n\treturn (\n\t\t// eslint-disable-next-line jsx-a11y/click-events-have-key-events,jsx-a11y/no-static-element-interactions\n\t\t<div\n\t\t\t{...blockProps}\n\t\t\tonClick={ev => {\n\t\t\t\tconst element = ev.target as HTMLElement;\n\t\t\t\tif ( 'A' === element.nodeName || ( 'SPAN' === element.nodeName && 'A' === element.parentNode?.nodeName ) ) {\n\t\t\t\t\tev.preventDefault();\n\t\t\t\t}\n\t\t\t}}\n\t\t>\n\t\t\t<ServerSideRender<A & ServerSideRenderRequired>\n\t\t\t\tEmptyResponsePlaceholder={placeholder( block )}\n\t\t\t\tLoadingResponsePlaceholder={TriggerWhenLoadingFinished}\n\t\t\t\tattributes={attributesToSend}\n\t\t\t\tblock={block}\n\t\t\t\thttpMethod={'POST'}\n\t\t\t\tskipBlockSupportAttributes\n\t\t\t/>\n\t\t</div>\n\t);\n};\n\nexport default Preview;\n","'use strict';\nvar anObject = require('../internals/an-object');\nvar iteratorClose = require('../internals/iterator-close');\n\n// call something on iterator step with safe closing on error\nmodule.exports = function (iterator, fn, value, ENTRIES) {\n  try {\n    return ENTRIES ? fn(anObject(value)[0], value[1]) : fn(value);\n  } catch (error) {\n    iteratorClose(iterator, 'throw', error);\n  }\n};\n","'use strict';\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\n\nvar min = Math.min;\n\n// `ToLength` abstract operation\n// https://tc39.es/ecma262/#sec-tolength\nmodule.exports = function (argument) {\n  var len = toIntegerOrInfinity(argument);\n  return len > 0 ? min(len, 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991\n};\n","'use strict';\nvar fails = require('../internals/fails');\n\nmodule.exports = !fails(function () {\n  // eslint-disable-next-line es/no-function-prototype-bind -- safe\n  var test = (function () { /* empty */ }).bind();\n  // eslint-disable-next-line no-prototype-builtins -- safe\n  return typeof test != 'function' || test.hasOwnProperty('prototype');\n});\n","'use strict';\nvar fails = require('../internals/fails');\n\nmodule.exports = !fails(function () {\n  function F() { /* empty */ }\n  F.prototype.constructor = null;\n  // eslint-disable-next-line es/no-object-getprototypeof -- required for testing\n  return Object.getPrototypeOf(new F()) !== F.prototype;\n});\n","var map = {\n\t\"./categories/block.tsx\": 8148,\n\t\"./pages/block.tsx\": 4334,\n\t\"gutenberg/blocks/categories/block.tsx\": 8148,\n\t\"gutenberg/blocks/pages/block.tsx\": 4334\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = 9406;","import {CheckboxControl, PanelBody, SelectControl, Slot} from '@wordpress/components';\nimport {CONFIG} from '../../globals/config';\nimport type {Attr as PageAttr} from './pages/block';\nimport type {Attr as CategoryAttr} from './categories/block';\nimport {__, sprintf} from '@wordpress/i18n';\nimport {Type} from '@wordpress/api/types';\nimport {range} from 'lodash';\nimport {Taxonomy} from '@wordpress/api/taxonomies';\nimport ErrorBoundary from '../../components/ErrorBoundary';\nimport {BlockEditProps} from '@wordpress/blocks';\nimport {PropsWithChildren} from 'react';\n\n\nexport type DisplayOptions = {\n\tdisplay_all?: boolean;\n\tinclude_childless_parent?: boolean;\n\tinclude_parent?: boolean;\n\tlevels: number;\n}\n\nexport type FillProps =\n\tPick<BlockEditProps<PageAttr | CategoryAttr>, 'clientId' | 'attributes' | 'setAttributes' | 'name'>\n\t& { type?: Type<'edit'> | Taxonomy<'edit'> }\n\ntype Props = PropsWithChildren<{\n\tattributes: PageAttr | CategoryAttr;\n\tsetAttributes: BlockEditProps<PageAttr | CategoryAttr>['setAttributes'];\n\ttype?: Type<'edit'> | Taxonomy<'edit'>;\n\tname: string;\n\tclientId: string;\n}>;\n\nconst checkboxes: { [attr in keyof Partial<DisplayOptions>]: string } = {\n\t/* translators: %s Selected taxonomy single label */\n\tinclude_parent: __( 'Display highest level parent %s', 'advanced-sidebar-menu' ),\n\t/* translators: %s Selected taxonomy single label */\n\tinclude_childless_parent: __( 'Display menu when there is only the parent %s', 'advanced-sidebar-menu' ),\n\t/* translators: %s Selected taxonomy plural label */\n\tdisplay_all: __( 'Always display child %s', 'advanced-sidebar-menu' ),\n};\n\nconst LEVEL_OPTIONS: Array<{ value: string, label: string }> = [\n\t{\n\t\tvalue: '100',\n\t\tlabel: __( '- All -', 'advanced-sidebar-menu' ),\n\t},\n\t...range( 1, 11 ).map( n => (\n\t\t{\n\t\t\tvalue: n.toString(),\n\t\t\tlabel: n.toString(),\n\t\t}\n\t) ),\n];\n\n/**\n * Display Options shared between widgets.\n *\n * 1. Display the highest level parent page.\n * 2. Display the menu when there is only the parent page.\n * 3. Always display child pages.\n * 5. Display levels of child pages.\n *\n */\nconst Display = ( {\n\tattributes,\n\tsetAttributes,\n\ttype,\n\tname,\n\tclientId,\n\tchildren,\n}: Props ) => {\n\tconst showLevels = ( CONFIG.blocks.pages.id === name && '1' === CONFIG.isPro ) || true === attributes.display_all;\n\n\tconst fillProps: FillProps = {\n\t\ttype,\n\t\tattributes,\n\t\tname,\n\t\tsetAttributes,\n\t\tclientId,\n\t};\n\n\treturn (\n\t\t<PanelBody title={__( 'Display', 'advanced-sidebar-menu' )}>\n\t\t\t{Object.keys( checkboxes ).map( item => {\n\t\t\t\tlet label = type?.labels?.singular_name.toLowerCase() ?? '';\n\t\t\t\tif ( 'display_all' === item ) {\n\t\t\t\t\tlabel = type?.labels?.name.toLowerCase() ?? '';\n\t\t\t\t}\n\t\t\t\treturn <CheckboxControl\n\t\t\t\t\tkey={item}\n\t\t\t\t\t//eslint-disable-next-line @wordpress/valid-sprintf\n\t\t\t\t\tlabel={sprintf( checkboxes[ item ], label )}\n\t\t\t\t\tchecked={true === attributes[ item ]}\n\t\t\t\t\tonChange={checked => {\n\t\t\t\t\t\tsetAttributes( {\n\t\t\t\t\t\t\t[ item ]: checked,\n\t\t\t\t\t\t} );\n\t\t\t\t\t}}\n\t\t\t\t\t// @ts-expect-error -- Not technically available until WP 6.7.\n\t\t\t\t\t__nextHasNoMarginBottom\n\t\t\t\t/>;\n\t\t\t} )}\n\t\t\t{showLevels &&\n\t\t\t\t<SelectControl\n\t\t\t\t\tkey={'levels'}\n\t\t\t\t\t/* translators: %s {select HTML input}, {post type plural label} */\n\t\t\t\t\tlabel={sprintf( __( 'Levels of child %s to display', 'advanced-sidebar-menu' ), type?.labels?.name.toLowerCase() ?? '' )}\n\t\t\t\t\tclassName={'advanced-sidebar-menu-display-select'}\n\t\t\t\t\tvalue={attributes.levels.toString()}\n\t\t\t\t\tonChange={value => {\n\t\t\t\t\t\tsetAttributes( {\n\t\t\t\t\t\t\tlevels: parseInt( value ),\n\t\t\t\t\t\t} );\n\t\t\t\t\t}}\n\t\t\t\t\toptions={LEVEL_OPTIONS}\n\t\t\t\t\t// @ts-expect-error -- Not technically available until WP 6.7.\n\t\t\t\t\t__next40pxDefaultSize\n\t\t\t\t\t__nextHasNoMarginBottom\n\t\t\t\t/>}\n\t\t\t{children}\n\n\t\t\t<ErrorBoundary attributes={attributes} block={name} section={'Display/slots'}>\n\t\t\t\t{CONFIG.blocks.pages.id === name &&\n\t\t\t\t\t<Slot<FillProps>\n\t\t\t\t\t\tname=\"advanced-sidebar-menu/pages/display\"\n\t\t\t\t\t\tfillProps={fillProps} />}\n\t\t\t\t{CONFIG.blocks.categories.id === name &&\n\t\t\t\t\t<Slot<FillProps>\n\t\t\t\t\t\tname=\"advanced-sidebar-menu/categories/display\"\n\t\t\t\t\t\tfillProps={fillProps} />}\n\t\t\t</ErrorBoundary>\n\n\t\t</PanelBody>\n\t);\n};\n\nexport default Display;\n","'use strict';\n// we can't use just `it == null` since of `document.all` special case\n// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec\nmodule.exports = function (it) {\n  return it === null || it === undefined;\n};\n","'use strict';\nvar check = function (it) {\n  return it && it.Math === Math && it;\n};\n\n// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028\nmodule.exports =\n  // eslint-disable-next-line es/no-global-this -- safe\n  check(typeof globalThis == 'object' && globalThis) ||\n  check(typeof window == 'object' && window) ||\n  // eslint-disable-next-line no-restricted-globals -- safe\n  check(typeof self == 'object' && self) ||\n  check(typeof global == 'object' && global) ||\n  check(typeof this == 'object' && this) ||\n  // eslint-disable-next-line no-new-func -- fallback\n  (function () { return this; })() || Function('return this')();\n","'use strict';\nvar classof = require('../internals/classof');\nvar getMethod = require('../internals/get-method');\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\nvar Iterators = require('../internals/iterators');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar ITERATOR = wellKnownSymbol('iterator');\n\nmodule.exports = function (it) {\n  if (!isNullOrUndefined(it)) return getMethod(it, ITERATOR)\n    || getMethod(it, '@@iterator')\n    || Iterators[classof(it)];\n};\n","'use strict';\nvar globalThis = require('../internals/global-this');\nvar userAgent = require('../internals/environment-user-agent');\n\nvar process = globalThis.process;\nvar Deno = globalThis.Deno;\nvar versions = process && process.versions || Deno && Deno.version;\nvar v8 = versions && versions.v8;\nvar match, version;\n\nif (v8) {\n  match = v8.split('.');\n  // in old Chrome, versions of V8 isn't V8 = Chrome / 10\n  // but their correct versions are not interesting for us\n  version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);\n}\n\n// BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`\n// so check `userAgent` even if `.v8` exists, but 0\nif (!version && userAgent) {\n  match = userAgent.match(/Edge\\/(\\d+)/);\n  if (!match || match[1] >= 74) {\n    match = userAgent.match(/Chrome\\/(\\d+)/);\n    if (match) version = +match[1];\n  }\n}\n\nmodule.exports = version;\n","import {TextControl, withFilters} from '@wordpress/components';\nimport {__, sprintf} from '@wordpress/i18n';\nimport {Type} from '@wordpress/api/types';\nimport {Attr as PageAttr} from './pages/block';\nimport {Attr as CategoryAttr} from './categories/block';\nimport {BlockEditProps} from '@wordpress/blocks';\nimport {Taxonomy} from '@wordpress/api/taxonomies';\nimport DOMPurify from 'dompurify';\n\ntype Props = {\n\tattributes: PageAttr | CategoryAttr;\n\tsetAttributes: BlockEditProps<PageAttr | CategoryAttr>['setAttributes'];\n\ttype?: Type<'edit'> | Taxonomy<'edit'>;\n};\n\n/**\n * The Exclude field shared between widgets.\n *\n * Removed and replaced via filter by the PRO version.\n */\nconst ExcludeField = ( {type, attributes, setAttributes}: Props ) => {\n\tconst help = <p>\n\t\t<br />\n\t\t<span\n\t\t\tdangerouslySetInnerHTML={{\n\t\t\t\t__html: DOMPurify.sanitize( sprintf(\n\t\t\t\t\t/* translators: 1: Opening anchor tag, 2: Closing anchor tag */\n\t\t\t\t\t__( 'For more robust and intuitive exclusions use the %1$sPRO version%2$s.', 'advanced-sidebar-menu' ), '<a href=\"https://onpointplugins.com/advanced-sidebar-menu/advanced-sidebar-menu-pro-widget-docs/advanced-sidebar-menu-pro-excluding-menu-items/?utm_source=exclude-field&utm_campaign=gopro&utm_medium=wp-dash\" target=\"_blank\" rel=\"noopener noreferrer\">', '</a>' ), {ADD_ATTR: [ 'target' ]} ),\n\t\t\t}} />\n\t</p>;\n\n\treturn (\n\t\t<TextControl\n\t\t\t/* translators: %s: Selected post type plural label */\n\t\t\tlabel={sprintf( __( '%s to exclude', 'advanced-sidebar-menu' ), type?.labels?.name ?? '' )}\n\t\t\tvalue={attributes.exclude}\n\t\t\thelp={<>{__( 'ids, comma separated', 'advanced-sidebar-menu' )}{help}</>}\n\t\t\tonChange={value => {\n\t\t\t\tsetAttributes( {\n\t\t\t\t\texclude: value,\n\t\t\t\t} );\n\t\t\t}}\n\t\t\t// @ts-expect-error -- Not technically supported until WP 6.7\n\t\t\t__nextHasNoMarginBottom\n\t\t/>\n\t);\n};\n\nexport default withFilters<Props>( 'advanced-sidebar-menu.blocks.exclude-field' )( ExcludeField );\n","'use strict';\n// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot\nvar documentAll = typeof document == 'object' && document.all;\n\n// `IsCallable` abstract operation\n// https://tc39.es/ecma262/#sec-iscallable\n// eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing\nmodule.exports = typeof documentAll == 'undefined' && documentAll !== undefined ? function (argument) {\n  return typeof argument == 'function' || argument === documentAll;\n} : function (argument) {\n  return typeof argument == 'function';\n};\n","'use strict';\n// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe\nexports.f = Object.getOwnPropertySymbols;\n","// extracted by mini-css-extract-plugin\nexport default {\"error\":\"edit__error__lZ\"};","'use strict';\nvar isCallable = require('../internals/is-callable');\nvar tryToString = require('../internals/try-to-string');\n\nvar $TypeError = TypeError;\n\n// `Assert: IsCallable(argument) is true`\nmodule.exports = function (argument) {\n  if (isCallable(argument)) return argument;\n  throw new $TypeError(tryToString(argument) + ' is not a function');\n};\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar fails = require('../internals/fails');\n\n// V8 ~ Chrome 36-\n// https://bugs.chromium.org/p/v8/issues/detail?id=3334\nmodule.exports = DESCRIPTORS && fails(function () {\n  // eslint-disable-next-line es/no-object-defineproperty -- required for testing\n  return Object.defineProperty(function () { /* empty */ }, 'prototype', {\n    value: 42,\n    writable: false\n  }).prototype !== 42;\n});\n","// extracted by mini-css-extract-plugin\nexport default {\"wrap\":\"info-panel__wrap__k_\",\"button\":\"info-panel__button__Fg\"};","'use strict';\nvar globalThis = require('../internals/global-this');\n\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar defineProperty = Object.defineProperty;\n\nmodule.exports = function (key, value) {\n  try {\n    defineProperty(globalThis, key, { value: value, configurable: true, writable: true });\n  } catch (error) {\n    globalThis[key] = value;\n  } return value;\n};\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\tid: moduleId,\n\t\tloaded: false,\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Flag the module as loaded\n\tmodule.loaded = true;\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.hmd = (module) => {\n\tmodule = Object.create(module);\n\tif (!module.children) module.children = [];\n\tObject.defineProperty(module, 'exports', {\n\t\tenumerable: true,\n\t\tset: () => {\n\t\t\tthrow new Error('ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: ' + module.id);\n\t\t}\n\t});\n\treturn module;\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","import widgets from './modules/widgets';\n\nconsole.debug( 'Advanced Sidebar - Loaded' );\n\nwidgets();\n\n/**\n * 1. Blocks can't be lazy loaded, or they will be unavailable\n *    intermittently when developing.\n * 2. Theme Customizers must wait until the page is finished loading.\n *\n * @version 1.1.0\n */\nif ( typeof window.wp.element !== 'undefined' && typeof window.wp.plugins !== 'undefined' ) {\n\trequire( './gutenberg' ).default();\n} else if ( typeof window.wp.customize !== 'undefined' ) {\n\twindow.wp.customize.bind( 'ready', () => {\n\t\trequire( './gutenberg' ).default();\n\t} );\n}\n"],"names":["CONFIG","window","ADVANCED_SIDEBAR_MENU","__","useState","Notice","styles","jsx","_jsx","jsxs","_jsxs","DISMISS_KEY","TransformNotice","shown","setShown","className","wrap","politeness","onDismiss","localStorage","setItem","actions","label","url","variant","children","PagesIcon","xmlns","viewBox","x","fill","width","height","d","autoloadBlocks","Preview","getBlockSupports","transformLegacyWidget","translateBlockAttributes","ErrorBoundary","NavigationIcon","require","context","module","isPro","BlockControls","InspectorControls","PanelBody","SelectControl","Slot","TextControl","block","Display","useSelect","InfoPanel","SideLoad","isScreen","ExcludeField","DOMPurify","Fragment","_Fragment","Edit","attributes","setAttributes","clientId","name","postType","select","type","getPostType","post_type","error","dangerouslySetInnerHTML","__html","sanitize","id","fillProps","href","docs","page","target","rel","value","title","onChange","__nextHasNoMarginBottom","section","order_by","labelPosition","options","Object","entries","pages","orderBy","map","CategoriesIcon","CheckboxControl","sprintf","taxonomy","getTaxonomy","category","labels","toLowerCase","checked","single","new_widget","keys","categories","displayEach","key","withFilters","isEmpty","firstClientId","getBlockIndex","Component","addQueryArgs","constructor","props","state","hasError","getDerivedStateFromError","componentDidCatch","info","console","warn","setState","render","siteInfo","scriptDebug","style","color","onClick","e","preventDefault","location","open","support","border","padding","overflowWrap","currentScreen","message","JSON","stringify","stack","EXAMPLE","apply_current_page_parent_styles_to_parent","apply_current_page_styles_to_parent","block_style","border_color","bullet_style","child_page_bg_color","child_page_color","current_page_bg_color","current_page_color","current_page_font_weight","current_page_parent_bg_color","display_all","grandchild_page_bg_color","grandchild_page_color","grandchild_page_font_weight","include_childless_parent","include_parent","levels","parent_page_bg_color","parent_page_color","blocks","settings","icon","description","example","transforms","from","isMatch","idBase","instance","raw","transform","supports","edit","save","apiVersion","createRoot","renderTransformNotice","classicWidgets","getItem","placeholders","document","querySelectorAll","forEach","placeholder","root","isWidgets","jQuery","on","createBlock","screens","includes","translateLegacyWidget","commonAttr","previewAttr","blockSupport","Button","decodeEntities","titleStyles","fontWeight","headingStyles","margin","fontSize","initialOpen","features","feature","button","isPrimary","parent_page_font_weight","keywords","useEffect","ServerSideRender","Placeholder","Spinner","useBlockProps","applyFilters","doAction","sanitizeClientId","replace","getSidebarId","rootId","getBlockRootClientId","ParentBlock","getBlocksByClientId","Page","instructions","Category","Navigation","navigation","TriggerWhenLoadingFinished","setTimeout","values","errorMsg","Error","spinWrap","spin","spinContent","blockProps","sanitizedClientId","attributesToSend","isServerSideRenderRequest","sidebarId","ev","element","nodeName","parentNode","EmptyResponsePlaceholder","LoadingResponsePlaceholder","httpMethod","skipBlockSupportAttributes","range","checkboxes","LEVEL_OPTIONS","n","toString","showLevels","item","singular_name","parseInt","__next40pxDefaultSize","help","ADD_ATTR","exclude","widgets","debug","wp","plugins","default","customize","bind"],"sourceRoot":""}
     1{"version":3,"file":"advanced-sidebar-menu-block-editor.js","mappings":";;;;;;;;;;AAAa;AACb,YAAY,mBAAO,CAAC,8BAAoB;AACxC,iBAAiB,mBAAO,CAAC,oCAA0B;;AAEnD;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;;;;;;;;;;;;;;;ACtBA;AACA,iEAAe,CAAC,oCAAoC,E;;;;;;;;;;;ACDpD,oC;;;;;;;;;;;;;;;AC0EO,MAAMA,MAAgC,GAAGC,MAAM,CAACC,qBAAqB,C;;;;;;;;;;;;;;;;;;;;;;;;AC1EzC;AACJ;AACc;AAEA;AAAA;AAItC,MAAMS,WAAW,GAAG,kDAAkD;;AAE7E;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAMC,eAAe,GAAGA,CAAE,CAAQ,CAAC,KAAM;EACxC,MAAM,CAAEC,KAAK,EAAEC,QAAQ,CAAE,GAAGV,+CAAQ,CAAW,IAAK,CAAC;EAErD,IAAK,CAAES,KAAK,EAAG;IACd,OAAO,IAAI;EACZ;EAEA,oBACCH,uDAAA,C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;AACA;AACA,SAAS;AACT;AACA;AACA,EAAE;;;;;;;;;;;;ACbW;AACb,YAAY,mBAAO,CAAC,qCAA2B;;AAE/C;AACA,gDAAgD;AAChD;;;;;;;;;;;;ACLa;AACb,kBAAkB,mBAAO,CAAC,8CAAoC;;AAE9D,6BAA6B;AAC7B;;AAEA;AACA;AACA;;;;;;;;;;;;ACRa;AACb,kBAAkB,mBAAO,CAAC,oCAA0B;AACpD,8BAA8B,mBAAO,CAAC,gDAAsC;AAC5E,2BAA2B,mBAAO,CAAC,+CAAqC;AACxE,eAAe,mBAAO,CAAC,kCAAwB;AAC/C,sBAAsB,mBAAO,CAAC,0CAAgC;AAC9D,iBAAiB,mBAAO,CAAC,oCAA0B;;AAEnD;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;;ACpBA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE;AACF;AACA;AACA;AACA;AACA,EAAE,UAAU;AACZ;AACA;AACA;AACA,EAAE;AACF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,2FAA2F,aAAa;AACxG;AACA;AACA;AACA;AACA;AACA;AACA;AACA,+FAA+F,eAAe;AAC9G;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,+FAA+F,eAAe;AAC9G;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,2EAA2E,eAAe;AAC1F;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,sBAAsB,sBAAsB;AAC5C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,8BAA8B,EAAE,iBAAiB,EAAE,MAAM;AACzD;AACA,8BAA8B,aAAa;AAC3C,wDAAwD;AACxD,0CAA0C;AAC1C;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA,KAAK;AACL,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;AACA,0CAA0C;AAC1C;AACA;AACA,0CAA0C;AAC1C;AACA;AACA,gBAAgB,sBAAsB;AACtC,gBAAgB,sBAAsB;AACtC,gBAAgB,SAAS;AACzB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,6CAA6C;AAC7C;AACA;AACA,2CAA2C;AAC3C;AACA;AACA,iDAAiD;AACjD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gDAAgD;AAChD,kDAAkD;AAClD,2CAA2C;AAC3C;AACA;AACA;AACA;AACA,kDAAkD;AAClD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,0EAA0E;AAC1E,0EAA0E;AAC1E,sFAAsF;AACtF;AACA;AACA,gFAAgF;AAChF,wEAAwE,gDAAgD;AACxH,wEAAwE,gDAAgD;AACxH;AACA,qDAAqD;AACrD,qDAAqD;AACrD,oEAAoE;AACpE,uEAAuE;AACvE,0DAA0D;AAC1D,+CAA+C;AAC/C,kDAAkD;AAClD,0CAA0C;AAC1C,4DAA4D;AAC5D,4DAA4D;AAC5D,0CAA0C;AAC1C,+CAA+C;AAC/C,8DAA8D;AAC9D,+CAA+C;AAC/C,sCAAsC;AACtC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gCAAgC;AAChC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kCAAkC;AAClC,qCAAqC;AACrC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP,MAAM;AACN;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAU;AACV,QAAQ;AACR;AACA;AACA,UAAU;AACV;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uCAAuC,QAAQ;AAC/C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,0CAA0C;AAC1C,oFAAoF,6DAA6D,8HAA8H;AAC/Q;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qTAAqT;AACrT;AACA;AACA;AACA,MAAM,wCAAwC,oFAAoF,oKAAoK,iHAAiH;AACvZ;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN,oCAAoC;AACpC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,yCAAyC;AACzC;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA,2CAA2C;AAC3C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,4BAA4B;AAC5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY;AACZ;AACA;AACA;AACA;AACA;AACA,YAAY;AACZ;AACA;AACA,UAAU;AACV;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA,QAAQ;AACR;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qBAAqB;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAE6B;AAC7B;;;;;;;;;;;;;;;;;;;;;;ACn2CiE;AAC1B;AACsE;AACrD;AACH;;AAGrD;;AAUA;AACA;AACA;AACA;AACA;AACA;AACA,iEAAe,MAAM;EACpB;EACAQ,iFAAc,CAAE,MAAMO,yBAAkD,EAAEE,MAAO,CAAC;;EAGlF;EACA,IAAK,EAAE,KAAK1C,MAAM,CAACC,qBAAqB,CAAC0C,KAAK,EAAG;IAChD;EACD;EACA3C,MAAM,CAACC,qBAAqB,CAACqC,aAAa,GAAGA,iEAAa;EAC1DtC,MAAM,CAACC,qBAAqB,CAACsC,cAAc,GAAGA,8DAAc;EAC5DvC,M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;;;;;;;ACVa;AACb,iBAAiB,mBAAO,CAAC,oCAA0B;AACnD,2BAA2B,mBAAO,CAAC,+CAAqC;AACxE,kBAAkB,mBAAO,CAAC,qCAA4B;AACtD,2BAA2B,mBAAO,CAAC,+CAAqC;;AAExE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA,MAAM,gBAAgB;AACtB;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,IAAI;AACJ;;;;;;;;;;;;AC3BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEa;;AAEb,IAAI,IAAqC;AACzC;AACA;;AAEA,YAAY,mBAAO,CAAC,iBAAO;;AAE3B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,iGAAiG,eAAe;AAChH;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,MAAM;;;AAGN;AACA;AACA,KAAK,GAAG;;AAER,kDAAkD;AAClD;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA,4BAA4B;AAC5B;AACA,qCAAqC;;AAErC,gCAAgC;AAChC;AACA;;AAEA,gCAAgC;;AAEhC;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,IAAI;;;AAGJ;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,EAAE;;;AAGF;AACA;AACA,EAAE;;;AAGF;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,YAAY;AACZ;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uCAAuC;;AAEvC;AACA;AACA;AACA;AACA;AACA,SAAS;;AAET;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;;AAET;AACA,sBAAsB;AACtB;AACA,SAAS;AACT,uBAAuB;AACvB;AACA,SAAS;AACT,uBAAuB;AACvB;AACA,SAAS;AACT,wBAAwB;AACxB;AACA,SAAS;AACT,wBAAwB;AACxB;AACA,SAAS;AACT,iCAAiC;AACjC;AACA,SAAS;AACT,2BAA2B;AAC3B;AACA,SAAS;AACT,OAAO;AACP;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA,MAAM;;;AAGN;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,2DAA2D;;AAE3D;AACA;;AAEA;AACA,yDAAyD;AACzD;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;;;AAGT;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;;AAEP;AACA;AACA;AACA;AACA;AACA,UAAU;AACV;AACA;;AAEA;AACA,QAAQ;AACR;AACA;AACA,UAAU;AACV;AACA;;AAEA;AACA;AACA,MAAM;AACN;AACA;AACA,QAAQ;AACR;AACA;;AAEA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,aAAa,kBAAkB;AAC/B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB;AACnB;;AAEA;AACA;AACA,gFAAgF;AAChF;AACA;;;AAGA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,kBAAkB;;;AAGlB;AACA;AACA,cAAc;AACd;;AAEA;AACA;AACA;AACA;AACA,IAAI;AACJ;;AAEA;AACA;AACA;AACA;;AAEA;AACA,IAAI;;;AAGJ;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,YAAY;AACZ;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,8BAA8B;AAC9B;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,2HAA2H;AAC3H;AACA;AACA;;AAEA;AACA,UAAU;AACV;AACA;;AAEA;AACA;;AAEA,oEAAoE;;AAEpE;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA,iCAAiC;;AAEjC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE;;;AAGF;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,wCAAwC;AACxC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,GAAG;AACd,WAAW,GAAG;AACd,WAAW,GAAG;AACd,WAAW,eAAe;AAC1B,WAAW,GAAG;AACd,WAAW,GAAG;AACd;AACA;AACA;AACA;AACA,WAAW,GAAG;AACd;AACA;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,yBAAyB;AACzB;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK,GAAG;;AAER;AACA;AACA;AACA;AACA;AACA,KAAK,GAAG;AACR;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW,GAAG;AACd,WAAW,QAAQ;AACnB,WAAW,QAAQ;AACnB;;AAEA;AACA;AACA,kBAAkB;;AAElB;AACA;AACA,oBAAoB;AACpB,2DAA2D,UAAU;AACrE,yBAAyB,UAAU;AACnC;AACA,aAAa,UAAU;AACvB;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,MAAM;;;AAGN;AACA;AACA;AACA;AACA,MAAM;;;AAGN;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,SAAS;AACpB,YAAY,SAAS;AACrB;AACA;;;AAGA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AAGA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,cAAc;AACzB,WAAW,GAAG;AACd;;;AAGA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA,6DAA6D;AAC7D;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,WAAW;AACtB,WAAW,GAAG;AACd;;;AAGA;AACA;AACA;AACA;AACA;;AAEA;AACA,sBAAsB,iBAAiB;AACvC;;AAEA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA,MAAM;AACN;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,cAAc;AACzB;;;AAGA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA,MAAM;AACN;AACA;;AAEA;AACA;AACA;AACA;AACA,MAAM;AACN,4CAA4C;;AAE5C;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,cAAc;AACzB;;;AAGA;AACA;AACA;;AAEA,oBAAoB,iBAAiB;AACrC;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,8CAA8C;AAC9C;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA,QAAQ;AACR;AACA;;AAEA;;AAEA;AACA;AACA,QAAQ;AACR;AACA,QAAQ;AACR;AACA;AACA,QAAQ;AACR;AACA;;AAEA;AACA;;AAEA,0DAA0D;AAC1D;;AAEA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;;;AAGA;AACA;;AAEA;AACA;AACA;AACA,4BAA4B,qBAAqB;AACjD;AACA;;AAEA;AACA;AACA;AACA,YAAY;AACZ;AACA;AACA,UAAU;AACV;AACA;AACA;AACA;;AAEA;AACA;AACA,MAAM;AACN;AACA;;AAEA;AACA;AACA,EAAE;AACF;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,sCAAsC;AACtC;;AAEA;;AAEA,gBAAgB;AAChB,WAAW;AACX,YAAY;AACZ,GAAG;AACH;;;;;;;;;;;;ACjyCa;AACb,iBAAiB,mBAAO,CAAC,oCAA0B;AACnD,+BAA+B,oFAA4D;AAC3F,kCAAkC,mBAAO,CAAC,uDAA6C;AACvF,oBAAoB,mBAAO,CAAC,wCAA8B;AAC1D,2BAA2B,mBAAO,CAAC,+CAAqC;AACxE,gCAAgC,mBAAO,CAAC,oDAA0C;AAClF,eAAe,mBAAO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BAAO,CAAC,kCAAwB;AAC/C,6BAA6B,mBAAO,CAAC,iDAAuC;AAC5E,kBAAkB,mBAAO,CAAC,sCAA4B;AACtD,iBAAiB,mBAAO,CAAC,oCAA0B;AACnD,WAAW,mBAAO,CAAC,6BAAmB;AACtC,4BAA4B,mBAAO,CAAC,gDAAsC;AAC1E,gBAAgB,mBAAO,CAAC,kCAAyB;;AAEjD;AACA;AACA;AACA;AACA;;AAEA,qCAAqC;;AAErC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI,gBAAgB;AACpB;AACA;AACA;AACA;AACA,kDAAkD;AAClD;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;;;;;;;;;;;;ACpFa;AACb,kBAAkB,mBAAO,CAAC,8CAAoC;;AAE9D;AACA;AACA;;AAEA;AACA;AACA;;;;;;;;;;;;ACTa;AACb;AACA;AACA;AACA;AACA;AACA;AACA,kBAAkB,YAAY;AAC9B,IAAI;AACJ;AACA;AACA;;;;;;;;;;;;ACXa;AACb,kBAAkB,mBAAO,CAAC,6CAAmC;;AAE7D;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACPa;AACb;AACA,iBAAiB,mBAAO,CAAC,+CAAqC;AAC9D,YAAY,mBAAO,CAAC,8BAAoB;AACxC,iBAAiB,mBAAO,CAAC,oCAA0B;;AAEnD;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;AClBY;AACb,yBAAyB,mBAAO,CAAC,6CAAmC;AACpE,kBAAkB,mBAAO,CAAC,sCAA4B;;AAEtD;;AAEA;AACA;AACA;AACA,SAAS;AACT;AACA;;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ACA,sCAAsC,kDAAkD;AACxF,IAAI;AACJ;AACA,IAAI;AACJ;;;;;;;UCZA;UACA;;UAEA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;;UAEA;UACA;;UAEA;UACA;;UAEA;UACA;UACA;;;;;WCzBA;WACA;WACA;WACA;WACA;WACA,iCAAiC,WAAW;WAC5C;WACA,E;;;;;WCPA;WACA;WACA;WACA;WACA,yCAAyC,wCAAwC;WACjF;WACA;WACA,E;;;;;WCPA;WACA;WACA;WACA;WACA,GAAG;WACH;WACA;WACA,CAAC,I;;;;;WCPD;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA,EAAE;WACF;WACA,E;;;;;WCVA,wF;;;;;WCAA;WACA;WACA;WACA,uDAAuD,iBAAiB;WACxE;WACA,gDAAgD,aAAa;WAC7D,E;;;;;;;;;;;;;ACNwC;AAExCkE,OAAO,CAACmJ,KAAK,CAAE,2BAA4B,CAAC;AAE5CD,4DAAO,CAAC,CAAC;;AAET;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAK,OAAO5Q,MAAM,CAAC8Q,EAAE,CAACtB,OAAO,KAAK,WAAW,IAAI,OAAOxP,MAAM,CAAC8Q,EAAE,CAACC,OAAO,KAAK,WAAW,EAAG;EAC3FvO,yDAAgC,CAAC,CAAC;AACnC,CAAC,MAAM,IAAK,OAAOxC,MAAM,CAAC8Q,EAAE,CAACG,SAAS,KAAK,WAAW,EAAG;EACxDjR,MAAM,CAAC8Q,EAAE,CAACG,SAAS,CAACC,IAAI,CAAE,OAAO,EAAE,MAAM;IACxC1O,yDAAgC,CAAC,CAAC;EACnC,CAAE,CAAC;AACJ,C","sources":["webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/is-forced.js","webpack://@onpointplugins/advanced-sidebar-menu/./js/src/components/transform-notice.pcss","webpack://@onpointplugins/advanced-sidebar-menu/external var \"window.wp?d615","webpack://@onpointplugins/advanced-sidebar-menu/./js/src/globals/config.ts","webpack://@onpointplugins/advanced-sidebar-menu/./js/src/components/TransformNotice.tsx","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/is-pure.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/shared-key.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/environment-user-agent.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/make-built-in.js","webpack://@onpointplugins/advanced-sidebar-menu/./js/src/gutenberg/blocks/pages/PagesIcon.tsx","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/object-define-property.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/shared-store.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/object-property-is-enumerable.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/shared.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/classof-raw.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/object-define-properties.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/dompurify-npm-3.3.0-caeafd3783-66b1787b0b.zip/node_modules/dompurify/dist/purify.es.mjs","webpack://@onpointplugins/advanced-sidebar-menu/./js/src/gutenberg/index.ts","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/to-string-tag-support.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/define-built-ins.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/descriptors.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/get-method.js","webpack://@onpointplugins/advanced-sidebar-menu/external var \"React\"","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/try-to-string.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/iterator-close-all.js","webpack://@onpointplugins/advanced-sidebar-menu/external var \"jQuery\"","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/is-array-iterator-method.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/function-name.js","webpack://@onpointplugins/advanced-sidebar-menu/./js/src/gutenberg/blocks/pages/Edit.tsx","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/iterate.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/require-object-coercible.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/define-built-in.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/react-npm-18.2.0-1eae08fee2-b562d9b569.zip/node_modules/react/cjs/react-jsx-runtime.development.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/export.js","webpack://@onpointplugins/advanced-sidebar-menu/external var \"window.wp?d71d","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/to-property-key.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/fails.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/well-known-symbol.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/to-indexed-object.js","webpack://@onpointplugins/advanced-sidebar-menu/./js/src/gutenberg/blocks/categories/CategoriesIcon.tsx","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/object-keys-internal.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/an-object.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/to-object.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/weak-map-basic-detection.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/has-own-property.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/create-property-descriptor.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/enum-bug-keys.js","webpack://@onpointplugins/advanced-sidebar-menu/./js/src/gutenberg/blocks/preview.pcss","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/function-bind-context.js","webpack://@onpointplugins/advanced-sidebar-menu/./js/src/gutenberg/blocks/categories/Edit.tsx","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/ordinary-to-primitive.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/is-object.js","webpack://@onpointplugins/advanced-sidebar-menu/./js/src/gutenberg/SideLoad.tsx","webpack://@onpointplugins/advanced-sidebar-menu/./js/src/components/ErrorBoundary.tsx","webpack://@onpointplugins/advanced-sidebar-menu/external var \"window.wp?a199","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/inspect-source.js","webpack://@onpointplugins/advanced-sidebar-menu/external var \"window.wp?72e5","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/__virtual__/react-dom-virtual-aadcd0dad6/0/cache/react-dom-npm-18.2.0-dd675bca1c-66dfc5f93e.zip/node_modules/react-dom/client.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/object-get-prototype-of.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/to-primitive.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/hidden-keys.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/modules/es.iterator.for-each.js","webpack://@onpointplugins/advanced-sidebar-menu/./js/src/gutenberg/blocks/pages/block.tsx","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/an-instance.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/length-of-array-like.js","webpack://@onpointplugins/advanced-sidebar-menu/./js/src/gutenberg/blocks/NavigationIcon.tsx","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/iterators-core.js","webpack://@onpointplugins/advanced-sidebar-menu/external var \"window.wp?537d","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/own-keys.js","webpack://@onpointplugins/advanced-sidebar-menu/external var \"window.wp?f6f0","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/classof.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/iterators.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/to-integer-or-infinity.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/use-symbol-as-uid.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/define-built-in-accessor.js","webpack://@onpointplugins/advanced-sidebar-menu/external var \"ReactDOM\"","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/internal-state.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/object-get-own-property-descriptor.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/create-iter-result-object.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/array-includes.js","webpack://@onpointplugins/advanced-sidebar-menu/./js/src/modules/widgets.tsx","webpack://@onpointplugins/advanced-sidebar-menu/external var \"window.wp?0dcf","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/to-absolute-index.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/modules/es.iterator.map.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/object-is-prototype-of.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/ie8-dom-define.js","webpack://@onpointplugins/advanced-sidebar-menu/./js/src/gutenberg/helpers.ts","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/get-built-in.js","webpack://@onpointplugins/advanced-sidebar-menu/external var \"window.wp?8ca5","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/function-uncurry-this-clause.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/create-property.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/indexed-object.js","webpack://@onpointplugins/advanced-sidebar-menu/external var \"window.wp?3ade","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/iterator-helper-without-closing-on-early-error.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/document-create-element.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/function-uncurry-this.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/iterator-create-proxy.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/get-iterator-direct.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/copy-constructor-properties.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/create-non-enumerable-property.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/__virtual__/@lipemat-js-boilerplate-gutenberg-virtual-7af610892b/0/cache/@lipemat-js-boilerplate-gutenberg-npm-4.2.0-cef29811c4-5c50528ede.zip/node_modules/@lipemat/js-boilerplate-gutenberg/dist/index.module.js","webpack://@onpointplugins/advanced-sidebar-menu/./js/src/gutenberg/blocks/InfoPanel.tsx","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/react-npm-18.2.0-1eae08fee2-b562d9b569.zip/node_modules/react/jsx-runtime.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/get-iterator.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/iterator-close.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/is-symbol.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/object-create.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/uid.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/iterator-helper-throws-on-invalid-iterator.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/function-call.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/symbol-constructor-detection.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/object-get-own-property-names.js","webpack://@onpointplugins/advanced-sidebar-menu/external var \"window.wp","webpack://@onpointplugins/advanced-sidebar-menu/external var \"lodash\"","webpack://@onpointplugins/advanced-sidebar-menu/./js/src/gutenberg/blocks/categories/block.tsx","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/math-trunc.js","webpack://@onpointplugins/advanced-sidebar-menu/external var \"window.wp?3f6b","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/modules/es.iterator.constructor.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/object-keys.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/html.js","webpack://@onpointplugins/advanced-sidebar-menu/./js/src/gutenberg/blocks/Preview.tsx","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/call-with-safe-iteration-closing.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/to-length.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/function-bind-native.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/correct-prototype-getter.js","webpack://@onpointplugins/advanced-sidebar-menu/./js/src/gutenberg/blocks/ sync block\\.tsx$","webpack://@onpointplugins/advanced-sidebar-menu/./js/src/gutenberg/blocks/Display.tsx","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/is-null-or-undefined.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/global-this.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/get-iterator-method.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/environment-v8-version.js","webpack://@onpointplugins/advanced-sidebar-menu/./js/src/gutenberg/blocks/ExcludeField.tsx","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/is-callable.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/object-get-own-property-symbols.js","webpack://@onpointplugins/advanced-sidebar-menu/./js/src/gutenberg/blocks/pages/edit.pcss","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/a-callable.js","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/v8-prototype-define-bug.js","webpack://@onpointplugins/advanced-sidebar-menu/./js/src/gutenberg/blocks/info-panel.pcss","webpack://@onpointplugins/advanced-sidebar-menu/./.yarn/cache/core-js-npm-3.46.0-457a28ad91-12d559d39a.zip/node_modules/core-js/internals/define-global-property.js","webpack://@onpointplugins/advanced-sidebar-menu/webpack/bootstrap","webpack://@onpointplugins/advanced-sidebar-menu/webpack/runtime/compat get default export","webpack://@onpointplugins/advanced-sidebar-menu/webpack/runtime/define property getters","webpack://@onpointplugins/advanced-sidebar-menu/webpack/runtime/global","webpack://@onpointplugins/advanced-sidebar-menu/webpack/runtime/harmony module decorator","webpack://@onpointplugins/advanced-sidebar-menu/webpack/runtime/hasOwnProperty shorthand","webpack://@onpointplugins/advanced-sidebar-menu/webpack/runtime/make namespace object","webpack://@onpointplugins/advanced-sidebar-menu/./js/src/block-editor.ts"],"sourcesContent":["'use strict';\nvar fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\n\nvar replacement = /#|\\.prototype\\./;\n\nvar isForced = function (feature, detection) {\n  var value = data[normalize(feature)];\n  return value === POLYFILL ? true\n    : value === NATIVE ? false\n    : isCallable(detection) ? fails(detection)\n    : !!detection;\n};\n\nvar normalize = isForced.normalize = function (string) {\n  return String(string).replace(replacement, '.').toLowerCase();\n};\n\nvar data = isForced.data = {};\nvar NATIVE = isForced.NATIVE = 'N';\nvar POLYFILL = isForced.POLYFILL = 'P';\n\nmodule.exports = isForced;\n","// extracted by mini-css-extract-plugin\nexport default {\"wrap\":\"transform-notice__wrap__mq\"};","module.exports = window.wp?.plugins;","import type {Attr as PageAttr} from '../gutenberg/blocks/pages/block';\nimport type {Attr as CategoryAttr} from '../gutenberg/blocks/categories/block';\nimport type {BlockAttributes, BlockSupports} from '@wordpress/blocks';\nimport type {CommonAttr, ServerSideRenderRequired} from '../gutenberg/blocks/Preview';\nimport type {PassedGlobals} from '../gutenberg/index';\n\nexport type Screen = 'site-editor' | 'widgets' | 'post' | 'customize';\n\nexport type WPBoolean = '1' | '';\n\nexport interface JSConfig {\n\tblocks: {\n\t\tcommonAttr: BlockAttributes<CommonAttr>;\n\t\tpreviewAttr: BlockAttributes<ServerSideRenderRequired>;\n\t\tblockSupport: BlockSupports;\n\t\tcategories: {\n\t\t\tid: 'advanced-sidebar-menu/categories';\n\t\t\tattributes: BlockAttributes<CategoryAttr>;\n\t\t};\n\t\tpages: {\n\t\t\tid: 'advanced-sidebar-menu/pages';\n\t\t\tattributes: BlockAttributes<PageAttr>;\n\t\t};\n\t\tnavigation?: {\n\t\t\tid: 'advanced-sidebar-menu/navigation';\n\t\t\tattributes: BlockAttributes<object>;\n\t\t}\n\t};\n\tcategories: {\n\t\tdisplayEach: {\n\t\t\tlist: string;\n\t\t\twidget: string;\n\t\t};\n\t};\n\tcurrentScreen: Screen;\n\tdocs: {\n\t\tpage: string;\n\t\tcategory: string;\n\t};\n\terror: string;\n\tfeatures: Array<string>;\n\tisPostEdit: WPBoolean;\n\tisPro: WPBoolean;\n\tisWidgets: WPBoolean;\n\tpages: {\n\t\torderBy: { [ value: string ]: string };\n\t};\n\tsiteInfo: {\n\t\tbasic: string;\n\t\tclassicWidgets: boolean;\n\t\tmenus: Array<object>;\n\t\tphp: string;\n\t\tpro: string | false;\n\t\tscriptDebug: boolean;\n\t\tWordPress: string;\n\t};\n\tsupport: string;\n}\n\n\ndeclare global {\n\tinterface Window {\n\t\tADVANCED_SIDEBAR_MENU: JSConfig & PassedGlobals;\n\t\tadvancedSidebarMenuAdmin: {\n\t\t\tinit: () => void;\n\t\t\thandlePreviews: () => void;\n\t\t\tshowHideElements: () => void;\n\t\t\tclickReveal: ( id: string ) => void;\n\t\t\tsetHideState( target: JQuery<HTMLElement> ): void;\n\t\t};\n\t\t__TEST__?: boolean;\n\t}\n}\n\nexport const CONFIG: JSConfig & PassedGlobals = window.ADVANCED_SIDEBAR_MENU;\n","import {__} from '@wordpress/i18n';\nimport {useState} from 'react';\nimport {Notice} from '@wordpress/components';\n\nimport styles from './transform-notice.pcss';\n\ntype Props = Record<string, never>;\n\nexport const DISMISS_KEY = 'advanced-sidebar-menu/transform-notice-dismissed';\n\n/**\n * Display a dismissible notice above widget forms to inform\n * users the widget may be transformed into a block.\n *\n * Only applies to legacy widgets which should theoretically\n * be phased out in favor of blocks.\n * This notice is intended to help facilitate the transition.\n *\n */\nconst TransformNotice = ( {}: Props ) => {\n\tconst [ shown, setShown ] = useState<boolean>( true );\n\n\tif ( ! shown ) {\n\t\treturn null;\n\t}\n\n\treturn (\n\t\t<Notice\n\t\t\tclassName={styles.wrap}\n\t\t\tpoliteness={'polite'}\n\t\t\tonDismiss={() => {\n\t\t\t\tsetShown( false );\n\t\t\t\tlocalStorage.setItem( DISMISS_KEY, '1' );\n\t\t\t}}\n\t\t\tactions={[ {\n\t\t\t\tlabel: __( 'Blocks are the future of Advanced Sidebar Menu.', 'advanced-sidebar-menu' ),\n\t\t\t\turl: 'https://onpointplugins.com/advanced-sidebar-menu/advanced-sidebar-menu-gutenberg-blocks/#transform-widgets-to-blocks',\n\t\t\t\tvariant: 'link',\n\t\t\t} ]}\n\t\t>\n\t\t\t<span className=\"dashicons dashicons-arrow-up-alt\" />&nbsp;\n\t\t\t{__( 'This widget may be transformed into a block.', 'advanced-sidebar-menu' )}\n\t\t</Notice>\n\t);\n};\n\nexport default TransformNotice;\n","'use strict';\nmodule.exports = false;\n","'use strict';\nvar shared = require('../internals/shared');\nvar uid = require('../internals/uid');\n\nvar keys = shared('keys');\n\nmodule.exports = function (key) {\n  return keys[key] || (keys[key] = uid(key));\n};\n","'use strict';\nvar globalThis = require('../internals/global-this');\n\nvar navigator = globalThis.navigator;\nvar userAgent = navigator && navigator.userAgent;\n\nmodule.exports = userAgent ? String(userAgent) : '';\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\nvar hasOwn = require('../internals/has-own-property');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar CONFIGURABLE_FUNCTION_NAME = require('../internals/function-name').CONFIGURABLE;\nvar inspectSource = require('../internals/inspect-source');\nvar InternalStateModule = require('../internals/internal-state');\n\nvar enforceInternalState = InternalStateModule.enforce;\nvar getInternalState = InternalStateModule.get;\nvar $String = String;\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar defineProperty = Object.defineProperty;\nvar stringSlice = uncurryThis(''.slice);\nvar replace = uncurryThis(''.replace);\nvar join = uncurryThis([].join);\n\nvar CONFIGURABLE_LENGTH = DESCRIPTORS && !fails(function () {\n  return defineProperty(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;\n});\n\nvar TEMPLATE = String(String).split('String');\n\nvar makeBuiltIn = module.exports = function (value, name, options) {\n  if (stringSlice($String(name), 0, 7) === 'Symbol(') {\n    name = '[' + replace($String(name), /^Symbol\\(([^)]*)\\).*$/, '$1') + ']';\n  }\n  if (options && options.getter) name = 'get ' + name;\n  if (options && options.setter) name = 'set ' + name;\n  if (!hasOwn(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {\n    if (DESCRIPTORS) defineProperty(value, 'name', { value: name, configurable: true });\n    else value.name = name;\n  }\n  if (CONFIGURABLE_LENGTH && options && hasOwn(options, 'arity') && value.length !== options.arity) {\n    defineProperty(value, 'length', { value: options.arity });\n  }\n  try {\n    if (options && hasOwn(options, 'constructor') && options.constructor) {\n      if (DESCRIPTORS) defineProperty(value, 'prototype', { writable: false });\n    // in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable\n    } else if (value.prototype) value.prototype = undefined;\n  } catch (error) { /* empty */ }\n  var state = enforceInternalState(value);\n  if (!hasOwn(state, 'source')) {\n    state.source = join(TEMPLATE, typeof name == 'string' ? name : '');\n  } return value;\n};\n\n// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative\n// eslint-disable-next-line no-extend-native -- required\nFunction.prototype.toString = makeBuiltIn(function toString() {\n  return isCallable(this) && getInternalState(this).source || inspectSource(this);\n}, 'toString');\n","const PagesIcon = <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\">\n\t<rect x=\"0\" fill=\"none\" width=\"20\" height=\"20\" />\n\t<g>\n\t\t<path\n\t\t\tfill=\"#044567\"\n\t\t\td=\"M19 17V2c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v15c0 .55.45 1 1 1h15c.55 0 1-.45 1-1z M4 3h13v4H4V3z M5 4h3v2H5V4zm4 0h3v2H9V4zm4 0h3v2H13V4z M4.5 9 c .28 0 .5 .22 .5 .5s-.22.5-.5.5s-.5-.22-.5-.5s.22-.5 .5-.5z M6 9h4v1H6v-1z M4.5 12 c .28 0 .5 .22 .5 .5s-.22.5-.5.5s-.5-.22-.5-.5s.22-.5 .5-.5z M6 12h4v1H6v-1z M4.5 15 c .28 0 .5 .22 .5 .5s-.22.5-.5.5s-.5-.22-.5-.5s.22-.5 .5-.5z M6 15h4v1H6v-1z M12 9 H15.5 L17 10.5 V15.5 H12 V9 Z M15.5 9 V10.5 H17 M12.5 12 H16.5 M12.5 13.5 H16.5\"\n\t\t/>\n\t</g>\n</svg>;\n\nexport default PagesIcon;\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar IE8_DOM_DEFINE = require('../internals/ie8-dom-define');\nvar V8_PROTOTYPE_DEFINE_BUG = require('../internals/v8-prototype-define-bug');\nvar anObject = require('../internals/an-object');\nvar toPropertyKey = require('../internals/to-property-key');\n\nvar $TypeError = TypeError;\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar $defineProperty = Object.defineProperty;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\nvar ENUMERABLE = 'enumerable';\nvar CONFIGURABLE = 'configurable';\nvar WRITABLE = 'writable';\n\n// `Object.defineProperty` method\n// https://tc39.es/ecma262/#sec-object.defineproperty\nexports.f = DESCRIPTORS ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P, Attributes) {\n  anObject(O);\n  P = toPropertyKey(P);\n  anObject(Attributes);\n  if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {\n    var current = $getOwnPropertyDescriptor(O, P);\n    if (current && current[WRITABLE]) {\n      O[P] = Attributes.value;\n      Attributes = {\n        configurable: CONFIGURABLE in Attributes ? Attributes[CONFIGURABLE] : current[CONFIGURABLE],\n        enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],\n        writable: false\n      };\n    }\n  } return $defineProperty(O, P, Attributes);\n} : $defineProperty : function defineProperty(O, P, Attributes) {\n  anObject(O);\n  P = toPropertyKey(P);\n  anObject(Attributes);\n  if (IE8_DOM_DEFINE) try {\n    return $defineProperty(O, P, Attributes);\n  } catch (error) { /* empty */ }\n  if ('get' in Attributes || 'set' in Attributes) throw new $TypeError('Accessors not supported');\n  if ('value' in Attributes) O[P] = Attributes.value;\n  return O;\n};\n","'use strict';\nvar IS_PURE = require('../internals/is-pure');\nvar globalThis = require('../internals/global-this');\nvar defineGlobalProperty = require('../internals/define-global-property');\n\nvar SHARED = '__core-js_shared__';\nvar store = module.exports = globalThis[SHARED] || defineGlobalProperty(SHARED, {});\n\n(store.versions || (store.versions = [])).push({\n  version: '3.46.0',\n  mode: IS_PURE ? 'pure' : 'global',\n  copyright: '© 2014-2025 Denis Pushkarev (zloirock.ru), 2025 CoreJS Company (core-js.io)',\n  license: 'https://github.com/zloirock/core-js/blob/v3.46.0/LICENSE',\n  source: 'https://github.com/zloirock/core-js'\n});\n","'use strict';\nvar $propertyIsEnumerable = {}.propertyIsEnumerable;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// Nashorn ~ JDK8 bug\nvar NASHORN_BUG = getOwnPropertyDescriptor && !$propertyIsEnumerable.call({ 1: 2 }, 1);\n\n// `Object.prototype.propertyIsEnumerable` method implementation\n// https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable\nexports.f = NASHORN_BUG ? function propertyIsEnumerable(V) {\n  var descriptor = getOwnPropertyDescriptor(this, V);\n  return !!descriptor && descriptor.enumerable;\n} : $propertyIsEnumerable;\n","'use strict';\nvar store = require('../internals/shared-store');\n\nmodule.exports = function (key, value) {\n  return store[key] || (store[key] = value || {});\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\n\nvar toString = uncurryThis({}.toString);\nvar stringSlice = uncurryThis(''.slice);\n\nmodule.exports = function (it) {\n  return stringSlice(toString(it), 8, -1);\n};\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar V8_PROTOTYPE_DEFINE_BUG = require('../internals/v8-prototype-define-bug');\nvar definePropertyModule = require('../internals/object-define-property');\nvar anObject = require('../internals/an-object');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar objectKeys = require('../internals/object-keys');\n\n// `Object.defineProperties` method\n// https://tc39.es/ecma262/#sec-object.defineproperties\n// eslint-disable-next-line es/no-object-defineproperties -- safe\nexports.f = DESCRIPTORS && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {\n  anObject(O);\n  var props = toIndexedObject(Properties);\n  var keys = objectKeys(Properties);\n  var length = keys.length;\n  var index = 0;\n  var key;\n  while (length > index) definePropertyModule.f(O, key = keys[index++], props[key]);\n  return O;\n};\n","/*! @license DOMPurify 3.3.0 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.3.0/LICENSE */\n\nconst {\n  entries,\n  setPrototypeOf,\n  isFrozen,\n  getPrototypeOf,\n  getOwnPropertyDescriptor\n} = Object;\nlet {\n  freeze,\n  seal,\n  create\n} = Object; // eslint-disable-line import/no-mutable-exports\nlet {\n  apply,\n  construct\n} = typeof Reflect !== 'undefined' && Reflect;\nif (!freeze) {\n  freeze = function freeze(x) {\n    return x;\n  };\n}\nif (!seal) {\n  seal = function seal(x) {\n    return x;\n  };\n}\nif (!apply) {\n  apply = function apply(func, thisArg) {\n    for (var _len = arguments.length, args = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {\n      args[_key - 2] = arguments[_key];\n    }\n    return func.apply(thisArg, args);\n  };\n}\nif (!construct) {\n  construct = function construct(Func) {\n    for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {\n      args[_key2 - 1] = arguments[_key2];\n    }\n    return new Func(...args);\n  };\n}\nconst arrayForEach = unapply(Array.prototype.forEach);\nconst arrayLastIndexOf = unapply(Array.prototype.lastIndexOf);\nconst arrayPop = unapply(Array.prototype.pop);\nconst arrayPush = unapply(Array.prototype.push);\nconst arraySplice = unapply(Array.prototype.splice);\nconst stringToLowerCase = unapply(String.prototype.toLowerCase);\nconst stringToString = unapply(String.prototype.toString);\nconst stringMatch = unapply(String.prototype.match);\nconst stringReplace = unapply(String.prototype.replace);\nconst stringIndexOf = unapply(String.prototype.indexOf);\nconst stringTrim = unapply(String.prototype.trim);\nconst objectHasOwnProperty = unapply(Object.prototype.hasOwnProperty);\nconst regExpTest = unapply(RegExp.prototype.test);\nconst typeErrorCreate = unconstruct(TypeError);\n/**\n * Creates a new function that calls the given function with a specified thisArg and arguments.\n *\n * @param func - The function to be wrapped and called.\n * @returns A new function that calls the given function with a specified thisArg and arguments.\n */\nfunction unapply(func) {\n  return function (thisArg) {\n    if (thisArg instanceof RegExp) {\n      thisArg.lastIndex = 0;\n    }\n    for (var _len3 = arguments.length, args = new Array(_len3 > 1 ? _len3 - 1 : 0), _key3 = 1; _key3 < _len3; _key3++) {\n      args[_key3 - 1] = arguments[_key3];\n    }\n    return apply(func, thisArg, args);\n  };\n}\n/**\n * Creates a new function that constructs an instance of the given constructor function with the provided arguments.\n *\n * @param func - The constructor function to be wrapped and called.\n * @returns A new function that constructs an instance of the given constructor function with the provided arguments.\n */\nfunction unconstruct(Func) {\n  return function () {\n    for (var _len4 = arguments.length, args = new Array(_len4), _key4 = 0; _key4 < _len4; _key4++) {\n      args[_key4] = arguments[_key4];\n    }\n    return construct(Func, args);\n  };\n}\n/**\n * Add properties to a lookup table\n *\n * @param set - The set to which elements will be added.\n * @param array - The array containing elements to be added to the set.\n * @param transformCaseFunc - An optional function to transform the case of each element before adding to the set.\n * @returns The modified set with added elements.\n */\nfunction addToSet(set, array) {\n  let transformCaseFunc = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : stringToLowerCase;\n  if (setPrototypeOf) {\n    // Make 'in' and truthy checks like Boolean(set.constructor)\n    // independent of any properties defined on Object.prototype.\n    // Prevent prototype setters from intercepting set as a this value.\n    setPrototypeOf(set, null);\n  }\n  let l = array.length;\n  while (l--) {\n    let element = array[l];\n    if (typeof element === 'string') {\n      const lcElement = transformCaseFunc(element);\n      if (lcElement !== element) {\n        // Config presets (e.g. tags.js, attrs.js) are immutable.\n        if (!isFrozen(array)) {\n          array[l] = lcElement;\n        }\n        element = lcElement;\n      }\n    }\n    set[element] = true;\n  }\n  return set;\n}\n/**\n * Clean up an array to harden against CSPP\n *\n * @param array - The array to be cleaned.\n * @returns The cleaned version of the array\n */\nfunction cleanArray(array) {\n  for (let index = 0; index < array.length; index++) {\n    const isPropertyExist = objectHasOwnProperty(array, index);\n    if (!isPropertyExist) {\n      array[index] = null;\n    }\n  }\n  return array;\n}\n/**\n * Shallow clone an object\n *\n * @param object - The object to be cloned.\n * @returns A new object that copies the original.\n */\nfunction clone(object) {\n  const newObject = create(null);\n  for (const [property, value] of entries(object)) {\n    const isPropertyExist = objectHasOwnProperty(object, property);\n    if (isPropertyExist) {\n      if (Array.isArray(value)) {\n        newObject[property] = cleanArray(value);\n      } else if (value && typeof value === 'object' && value.constructor === Object) {\n        newObject[property] = clone(value);\n      } else {\n        newObject[property] = value;\n      }\n    }\n  }\n  return newObject;\n}\n/**\n * This method automatically checks if the prop is function or getter and behaves accordingly.\n *\n * @param object - The object to look up the getter function in its prototype chain.\n * @param prop - The property name for which to find the getter function.\n * @returns The getter function found in the prototype chain or a fallback function.\n */\nfunction lookupGetter(object, prop) {\n  while (object !== null) {\n    const desc = getOwnPropertyDescriptor(object, prop);\n    if (desc) {\n      if (desc.get) {\n        return unapply(desc.get);\n      }\n      if (typeof desc.value === 'function') {\n        return unapply(desc.value);\n      }\n    }\n    object = getPrototypeOf(object);\n  }\n  function fallbackValue() {\n    return null;\n  }\n  return fallbackValue;\n}\n\nconst html$1 = freeze(['a', 'abbr', 'acronym', 'address', 'area', 'article', 'aside', 'audio', 'b', 'bdi', 'bdo', 'big', 'blink', 'blockquote', 'body', 'br', 'button', 'canvas', 'caption', 'center', 'cite', 'code', 'col', 'colgroup', 'content', 'data', 'datalist', 'dd', 'decorator', 'del', 'details', 'dfn', 'dialog', 'dir', 'div', 'dl', 'dt', 'element', 'em', 'fieldset', 'figcaption', 'figure', 'font', 'footer', 'form', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'head', 'header', 'hgroup', 'hr', 'html', 'i', 'img', 'input', 'ins', 'kbd', 'label', 'legend', 'li', 'main', 'map', 'mark', 'marquee', 'menu', 'menuitem', 'meter', 'nav', 'nobr', 'ol', 'optgroup', 'option', 'output', 'p', 'picture', 'pre', 'progress', 'q', 'rp', 'rt', 'ruby', 's', 'samp', 'search', 'section', 'select', 'shadow', 'slot', 'small', 'source', 'spacer', 'span', 'strike', 'strong', 'style', 'sub', 'summary', 'sup', 'table', 'tbody', 'td', 'template', 'textarea', 'tfoot', 'th', 'thead', 'time', 'tr', 'track', 'tt', 'u', 'ul', 'var', 'video', 'wbr']);\nconst svg$1 = freeze(['svg', 'a', 'altglyph', 'altglyphdef', 'altglyphitem', 'animatecolor', 'animatemotion', 'animatetransform', 'circle', 'clippath', 'defs', 'desc', 'ellipse', 'enterkeyhint', 'exportparts', 'filter', 'font', 'g', 'glyph', 'glyphref', 'hkern', 'image', 'inputmode', 'line', 'lineargradient', 'marker', 'mask', 'metadata', 'mpath', 'part', 'path', 'pattern', 'polygon', 'polyline', 'radialgradient', 'rect', 'stop', 'style', 'switch', 'symbol', 'text', 'textpath', 'title', 'tref', 'tspan', 'view', 'vkern']);\nconst svgFilters = freeze(['feBlend', 'feColorMatrix', 'feComponentTransfer', 'feComposite', 'feConvolveMatrix', 'feDiffuseLighting', 'feDisplacementMap', 'feDistantLight', 'feDropShadow', 'feFlood', 'feFuncA', 'feFuncB', 'feFuncG', 'feFuncR', 'feGaussianBlur', 'feImage', 'feMerge', 'feMergeNode', 'feMorphology', 'feOffset', 'fePointLight', 'feSpecularLighting', 'feSpotLight', 'feTile', 'feTurbulence']);\n// List of SVG elements that are disallowed by default.\n// We still need to know them so that we can do namespace\n// checks properly in case one wants to add them to\n// allow-list.\nconst svgDisallowed = freeze(['animate', 'color-profile', 'cursor', 'discard', 'font-face', 'font-face-format', 'font-face-name', 'font-face-src', 'font-face-uri', 'foreignobject', 'hatch', 'hatchpath', 'mesh', 'meshgradient', 'meshpatch', 'meshrow', 'missing-glyph', 'script', 'set', 'solidcolor', 'unknown', 'use']);\nconst mathMl$1 = freeze(['math', 'menclose', 'merror', 'mfenced', 'mfrac', 'mglyph', 'mi', 'mlabeledtr', 'mmultiscripts', 'mn', 'mo', 'mover', 'mpadded', 'mphantom', 'mroot', 'mrow', 'ms', 'mspace', 'msqrt', 'mstyle', 'msub', 'msup', 'msubsup', 'mtable', 'mtd', 'mtext', 'mtr', 'munder', 'munderover', 'mprescripts']);\n// Similarly to SVG, we want to know all MathML elements,\n// even those that we disallow by default.\nconst mathMlDisallowed = freeze(['maction', 'maligngroup', 'malignmark', 'mlongdiv', 'mscarries', 'mscarry', 'msgroup', 'mstack', 'msline', 'msrow', 'semantics', 'annotation', 'annotation-xml', 'mprescripts', 'none']);\nconst text = freeze(['#text']);\n\nconst html = freeze(['accept', 'action', 'align', 'alt', 'autocapitalize', 'autocomplete', 'autopictureinpicture', 'autoplay', 'background', 'bgcolor', 'border', 'capture', 'cellpadding', 'cellspacing', 'checked', 'cite', 'class', 'clear', 'color', 'cols', 'colspan', 'controls', 'controlslist', 'coords', 'crossorigin', 'datetime', 'decoding', 'default', 'dir', 'disabled', 'disablepictureinpicture', 'disableremoteplayback', 'download', 'draggable', 'enctype', 'enterkeyhint', 'exportparts', 'face', 'for', 'headers', 'height', 'hidden', 'high', 'href', 'hreflang', 'id', 'inert', 'inputmode', 'integrity', 'ismap', 'kind', 'label', 'lang', 'list', 'loading', 'loop', 'low', 'max', 'maxlength', 'media', 'method', 'min', 'minlength', 'multiple', 'muted', 'name', 'nonce', 'noshade', 'novalidate', 'nowrap', 'open', 'optimum', 'part', 'pattern', 'placeholder', 'playsinline', 'popover', 'popovertarget', 'popovertargetaction', 'poster', 'preload', 'pubdate', 'radiogroup', 'readonly', 'rel', 'required', 'rev', 'reversed', 'role', 'rows', 'rowspan', 'spellcheck', 'scope', 'selected', 'shape', 'size', 'sizes', 'slot', 'span', 'srclang', 'start', 'src', 'srcset', 'step', 'style', 'summary', 'tabindex', 'title', 'translate', 'type', 'usemap', 'valign', 'value', 'width', 'wrap', 'xmlns', 'slot']);\nconst svg = freeze(['accent-height', 'accumulate', 'additive', 'alignment-baseline', 'amplitude', 'ascent', 'attributename', 'attributetype', 'azimuth', 'basefrequency', 'baseline-shift', 'begin', 'bias', 'by', 'class', 'clip', 'clippathunits', 'clip-path', 'clip-rule', 'color', 'color-interpolation', 'color-interpolation-filters', 'color-profile', 'color-rendering', 'cx', 'cy', 'd', 'dx', 'dy', 'diffuseconstant', 'direction', 'display', 'divisor', 'dur', 'edgemode', 'elevation', 'end', 'exponent', 'fill', 'fill-opacity', 'fill-rule', 'filter', 'filterunits', 'flood-color', 'flood-opacity', 'font-family', 'font-size', 'font-size-adjust', 'font-stretch', 'font-style', 'font-variant', 'font-weight', 'fx', 'fy', 'g1', 'g2', 'glyph-name', 'glyphref', 'gradientunits', 'gradienttransform', 'height', 'href', 'id', 'image-rendering', 'in', 'in2', 'intercept', 'k', 'k1', 'k2', 'k3', 'k4', 'kerning', 'keypoints', 'keysplines', 'keytimes', 'lang', 'lengthadjust', 'letter-spacing', 'kernelmatrix', 'kernelunitlength', 'lighting-color', 'local', 'marker-end', 'marker-mid', 'marker-start', 'markerheight', 'markerunits', 'markerwidth', 'maskcontentunits', 'maskunits', 'max', 'mask', 'mask-type', 'media', 'method', 'mode', 'min', 'name', 'numoctaves', 'offset', 'operator', 'opacity', 'order', 'orient', 'orientation', 'origin', 'overflow', 'paint-order', 'path', 'pathlength', 'patterncontentunits', 'patterntransform', 'patternunits', 'points', 'preservealpha', 'preserveaspectratio', 'primitiveunits', 'r', 'rx', 'ry', 'radius', 'refx', 'refy', 'repeatcount', 'repeatdur', 'restart', 'result', 'rotate', 'scale', 'seed', 'shape-rendering', 'slope', 'specularconstant', 'specularexponent', 'spreadmethod', 'startoffset', 'stddeviation', 'stitchtiles', 'stop-color', 'stop-opacity', 'stroke-dasharray', 'stroke-dashoffset', 'stroke-linecap', 'stroke-linejoin', 'stroke-miterlimit', 'stroke-opacity', 'stroke', 'stroke-width', 'style', 'surfacescale', 'systemlanguage', 'tabindex', 'tablevalues', 'targetx', 'targety', 'transform', 'transform-origin', 'text-anchor', 'text-decoration', 'text-rendering', 'textlength', 'type', 'u1', 'u2', 'unicode', 'values', 'viewbox', 'visibility', 'version', 'vert-adv-y', 'vert-origin-x', 'vert-origin-y', 'width', 'word-spacing', 'wrap', 'writing-mode', 'xchannelselector', 'ychannelselector', 'x', 'x1', 'x2', 'xmlns', 'y', 'y1', 'y2', 'z', 'zoomandpan']);\nconst mathMl = freeze(['accent', 'accentunder', 'align', 'bevelled', 'close', 'columnsalign', 'columnlines', 'columnspan', 'denomalign', 'depth', 'dir', 'display', 'displaystyle', 'encoding', 'fence', 'frame', 'height', 'href', 'id', 'largeop', 'length', 'linethickness', 'lspace', 'lquote', 'mathbackground', 'mathcolor', 'mathsize', 'mathvariant', 'maxsize', 'minsize', 'movablelimits', 'notation', 'numalign', 'open', 'rowalign', 'rowlines', 'rowspacing', 'rowspan', 'rspace', 'rquote', 'scriptlevel', 'scriptminsize', 'scriptsizemultiplier', 'selection', 'separator', 'separators', 'stretchy', 'subscriptshift', 'supscriptshift', 'symmetric', 'voffset', 'width', 'xmlns']);\nconst xml = freeze(['xlink:href', 'xml:id', 'xlink:title', 'xml:space', 'xmlns:xlink']);\n\n// eslint-disable-next-line unicorn/better-regex\nconst MUSTACHE_EXPR = seal(/\\{\\{[\\w\\W]*|[\\w\\W]*\\}\\}/gm); // Specify template detection regex for SAFE_FOR_TEMPLATES mode\nconst ERB_EXPR = seal(/<%[\\w\\W]*|[\\w\\W]*%>/gm);\nconst TMPLIT_EXPR = seal(/\\$\\{[\\w\\W]*/gm); // eslint-disable-line unicorn/better-regex\nconst DATA_ATTR = seal(/^data-[\\-\\w.\\u00B7-\\uFFFF]+$/); // eslint-disable-line no-useless-escape\nconst ARIA_ATTR = seal(/^aria-[\\-\\w]+$/); // eslint-disable-line no-useless-escape\nconst IS_ALLOWED_URI = seal(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\\-]+(?:[^a-z+.\\-:]|$))/i // eslint-disable-line no-useless-escape\n);\nconst IS_SCRIPT_OR_DATA = seal(/^(?:\\w+script|data):/i);\nconst ATTR_WHITESPACE = seal(/[\\u0000-\\u0020\\u00A0\\u1680\\u180E\\u2000-\\u2029\\u205F\\u3000]/g // eslint-disable-line no-control-regex\n);\nconst DOCTYPE_NAME = seal(/^html$/i);\nconst CUSTOM_ELEMENT = seal(/^[a-z][.\\w]*(-[.\\w]+)+$/i);\n\nvar EXPRESSIONS = /*#__PURE__*/Object.freeze({\n  __proto__: null,\n  ARIA_ATTR: ARIA_ATTR,\n  ATTR_WHITESPACE: ATTR_WHITESPACE,\n  CUSTOM_ELEMENT: CUSTOM_ELEMENT,\n  DATA_ATTR: DATA_ATTR,\n  DOCTYPE_NAME: DOCTYPE_NAME,\n  ERB_EXPR: ERB_EXPR,\n  IS_ALLOWED_URI: IS_ALLOWED_URI,\n  IS_SCRIPT_OR_DATA: IS_SCRIPT_OR_DATA,\n  MUSTACHE_EXPR: MUSTACHE_EXPR,\n  TMPLIT_EXPR: TMPLIT_EXPR\n});\n\n/* eslint-disable @typescript-eslint/indent */\n// https://developer.mozilla.org/en-US/docs/Web/API/Node/nodeType\nconst NODE_TYPE = {\n  element: 1,\n  attribute: 2,\n  text: 3,\n  cdataSection: 4,\n  entityReference: 5,\n  // Deprecated\n  entityNode: 6,\n  // Deprecated\n  progressingInstruction: 7,\n  comment: 8,\n  document: 9,\n  documentType: 10,\n  documentFragment: 11,\n  notation: 12 // Deprecated\n};\nconst getGlobal = function getGlobal() {\n  return typeof window === 'undefined' ? null : window;\n};\n/**\n * Creates a no-op policy for internal use only.\n * Don't export this function outside this module!\n * @param trustedTypes The policy factory.\n * @param purifyHostElement The Script element used to load DOMPurify (to determine policy name suffix).\n * @return The policy created (or null, if Trusted Types\n * are not supported or creating the policy failed).\n */\nconst _createTrustedTypesPolicy = function _createTrustedTypesPolicy(trustedTypes, purifyHostElement) {\n  if (typeof trustedTypes !== 'object' || typeof trustedTypes.createPolicy !== 'function') {\n    return null;\n  }\n  // Allow the callers to control the unique policy name\n  // by adding a data-tt-policy-suffix to the script element with the DOMPurify.\n  // Policy creation with duplicate names throws in Trusted Types.\n  let suffix = null;\n  const ATTR_NAME = 'data-tt-policy-suffix';\n  if (purifyHostElement && purifyHostElement.hasAttribute(ATTR_NAME)) {\n    suffix = purifyHostElement.getAttribute(ATTR_NAME);\n  }\n  const policyName = 'dompurify' + (suffix ? '#' + suffix : '');\n  try {\n    return trustedTypes.createPolicy(policyName, {\n      createHTML(html) {\n        return html;\n      },\n      createScriptURL(scriptUrl) {\n        return scriptUrl;\n      }\n    });\n  } catch (_) {\n    // Policy creation failed (most likely another DOMPurify script has\n    // already run). Skip creating the policy, as this will only cause errors\n    // if TT are enforced.\n    console.warn('TrustedTypes policy ' + policyName + ' could not be created.');\n    return null;\n  }\n};\nconst _createHooksMap = function _createHooksMap() {\n  return {\n    afterSanitizeAttributes: [],\n    afterSanitizeElements: [],\n    afterSanitizeShadowDOM: [],\n    beforeSanitizeAttributes: [],\n    beforeSanitizeElements: [],\n    beforeSanitizeShadowDOM: [],\n    uponSanitizeAttribute: [],\n    uponSanitizeElement: [],\n    uponSanitizeShadowNode: []\n  };\n};\nfunction createDOMPurify() {\n  let window = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : getGlobal();\n  const DOMPurify = root => createDOMPurify(root);\n  DOMPurify.version = '3.3.0';\n  DOMPurify.removed = [];\n  if (!window || !window.document || window.document.nodeType !== NODE_TYPE.document || !window.Element) {\n    // Not running in a browser, provide a factory function\n    // so that you can pass your own Window\n    DOMPurify.isSupported = false;\n    return DOMPurify;\n  }\n  let {\n    document\n  } = window;\n  const originalDocument = document;\n  const currentScript = originalDocument.currentScript;\n  const {\n    DocumentFragment,\n    HTMLTemplateElement,\n    Node,\n    Element,\n    NodeFilter,\n    NamedNodeMap = window.NamedNodeMap || window.MozNamedAttrMap,\n    HTMLFormElement,\n    DOMParser,\n    trustedTypes\n  } = window;\n  const ElementPrototype = Element.prototype;\n  const cloneNode = lookupGetter(ElementPrototype, 'cloneNode');\n  const remove = lookupGetter(ElementPrototype, 'remove');\n  const getNextSibling = lookupGetter(ElementPrototype, 'nextSibling');\n  const getChildNodes = lookupGetter(ElementPrototype, 'childNodes');\n  const getParentNode = lookupGetter(ElementPrototype, 'parentNode');\n  // As per issue #47, the web-components registry is inherited by a\n  // new document created via createHTMLDocument. As per the spec\n  // (http://w3c.github.io/webcomponents/spec/custom/#creating-and-passing-registries)\n  // a new empty registry is used when creating a template contents owner\n  // document, so we use that as our parent document to ensure nothing\n  // is inherited.\n  if (typeof HTMLTemplateElement === 'function') {\n    const template = document.createElement('template');\n    if (template.content && template.content.ownerDocument) {\n      document = template.content.ownerDocument;\n    }\n  }\n  let trustedTypesPolicy;\n  let emptyHTML = '';\n  const {\n    implementation,\n    createNodeIterator,\n    createDocumentFragment,\n    getElementsByTagName\n  } = document;\n  const {\n    importNode\n  } = originalDocument;\n  let hooks = _createHooksMap();\n  /**\n   * Expose whether this browser supports running the full DOMPurify.\n   */\n  DOMPurify.isSupported = typeof entries === 'function' && typeof getParentNode === 'function' && implementation && implementation.createHTMLDocument !== undefined;\n  const {\n    MUSTACHE_EXPR,\n    ERB_EXPR,\n    TMPLIT_EXPR,\n    DATA_ATTR,\n    ARIA_ATTR,\n    IS_SCRIPT_OR_DATA,\n    ATTR_WHITESPACE,\n    CUSTOM_ELEMENT\n  } = EXPRESSIONS;\n  let {\n    IS_ALLOWED_URI: IS_ALLOWED_URI$1\n  } = EXPRESSIONS;\n  /**\n   * We consider the elements and attributes below to be safe. Ideally\n   * don't add any new ones but feel free to remove unwanted ones.\n   */\n  /* allowed element names */\n  let ALLOWED_TAGS = null;\n  const DEFAULT_ALLOWED_TAGS = addToSet({}, [...html$1, ...svg$1, ...svgFilters, ...mathMl$1, ...text]);\n  /* Allowed attribute names */\n  let ALLOWED_ATTR = null;\n  const DEFAULT_ALLOWED_ATTR = addToSet({}, [...html, ...svg, ...mathMl, ...xml]);\n  /*\n   * Configure how DOMPurify should handle custom elements and their attributes as well as customized built-in elements.\n   * @property {RegExp|Function|null} tagNameCheck one of [null, regexPattern, predicate]. Default: `null` (disallow any custom elements)\n   * @property {RegExp|Function|null} attributeNameCheck one of [null, regexPattern, predicate]. Default: `null` (disallow any attributes not on the allow list)\n   * @property {boolean} allowCustomizedBuiltInElements allow custom elements derived from built-ins if they pass CUSTOM_ELEMENT_HANDLING.tagNameCheck. Default: `false`.\n   */\n  let CUSTOM_ELEMENT_HANDLING = Object.seal(create(null, {\n    tagNameCheck: {\n      writable: true,\n      configurable: false,\n      enumerable: true,\n      value: null\n    },\n    attributeNameCheck: {\n      writable: true,\n      configurable: false,\n      enumerable: true,\n      value: null\n    },\n    allowCustomizedBuiltInElements: {\n      writable: true,\n      configurable: false,\n      enumerable: true,\n      value: false\n    }\n  }));\n  /* Explicitly forbidden tags (overrides ALLOWED_TAGS/ADD_TAGS) */\n  let FORBID_TAGS = null;\n  /* Explicitly forbidden attributes (overrides ALLOWED_ATTR/ADD_ATTR) */\n  let FORBID_ATTR = null;\n  /* Config object to store ADD_TAGS/ADD_ATTR functions (when used as functions) */\n  const EXTRA_ELEMENT_HANDLING = Object.seal(create(null, {\n    tagCheck: {\n      writable: true,\n      configurable: false,\n      enumerable: true,\n      value: null\n    },\n    attributeCheck: {\n      writable: true,\n      configurable: false,\n      enumerable: true,\n      value: null\n    }\n  }));\n  /* Decide if ARIA attributes are okay */\n  let ALLOW_ARIA_ATTR = true;\n  /* Decide if custom data attributes are okay */\n  let ALLOW_DATA_ATTR = true;\n  /* Decide if unknown protocols are okay */\n  let ALLOW_UNKNOWN_PROTOCOLS = false;\n  /* Decide if self-closing tags in attributes are allowed.\n   * Usually removed due to a mXSS issue in jQuery 3.0 */\n  let ALLOW_SELF_CLOSE_IN_ATTR = true;\n  /* Output should be safe for common template engines.\n   * This means, DOMPurify removes data attributes, mustaches and ERB\n   */\n  let SAFE_FOR_TEMPLATES = false;\n  /* Output should be safe even for XML used within HTML and alike.\n   * This means, DOMPurify removes comments when containing risky content.\n   */\n  let SAFE_FOR_XML = true;\n  /* Decide if document with <html>... should be returned */\n  let WHOLE_DOCUMENT = false;\n  /* Track whether config is already set on this instance of DOMPurify. */\n  let SET_CONFIG = false;\n  /* Decide if all elements (e.g. style, script) must be children of\n   * document.body. By default, browsers might move them to document.head */\n  let FORCE_BODY = false;\n  /* Decide if a DOM `HTMLBodyElement` should be returned, instead of a html\n   * string (or a TrustedHTML object if Trusted Types are supported).\n   * If `WHOLE_DOCUMENT` is enabled a `HTMLHtmlElement` will be returned instead\n   */\n  let RETURN_DOM = false;\n  /* Decide if a DOM `DocumentFragment` should be returned, instead of a html\n   * string  (or a TrustedHTML object if Trusted Types are supported) */\n  let RETURN_DOM_FRAGMENT = false;\n  /* Try to return a Trusted Type object instead of a string, return a string in\n   * case Trusted Types are not supported  */\n  let RETURN_TRUSTED_TYPE = false;\n  /* Output should be free from DOM clobbering attacks?\n   * This sanitizes markups named with colliding, clobberable built-in DOM APIs.\n   */\n  let SANITIZE_DOM = true;\n  /* Achieve full DOM Clobbering protection by isolating the namespace of named\n   * properties and JS variables, mitigating attacks that abuse the HTML/DOM spec rules.\n   *\n   * HTML/DOM spec rules that enable DOM Clobbering:\n   *   - Named Access on Window (§7.3.3)\n   *   - DOM Tree Accessors (§3.1.5)\n   *   - Form Element Parent-Child Relations (§4.10.3)\n   *   - Iframe srcdoc / Nested WindowProxies (§4.8.5)\n   *   - HTMLCollection (§4.2.10.2)\n   *\n   * Namespace isolation is implemented by prefixing `id` and `name` attributes\n   * with a constant string, i.e., `user-content-`\n   */\n  let SANITIZE_NAMED_PROPS = false;\n  const SANITIZE_NAMED_PROPS_PREFIX = 'user-content-';\n  /* Keep element content when removing element? */\n  let KEEP_CONTENT = true;\n  /* If a `Node` is passed to sanitize(), then performs sanitization in-place instead\n   * of importing it into a new Document and returning a sanitized copy */\n  let IN_PLACE = false;\n  /* Allow usage of profiles like html, svg and mathMl */\n  let USE_PROFILES = {};\n  /* Tags to ignore content of when KEEP_CONTENT is true */\n  let FORBID_CONTENTS = null;\n  const DEFAULT_FORBID_CONTENTS = addToSet({}, ['annotation-xml', 'audio', 'colgroup', 'desc', 'foreignobject', 'head', 'iframe', 'math', 'mi', 'mn', 'mo', 'ms', 'mtext', 'noembed', 'noframes', 'noscript', 'plaintext', 'script', 'style', 'svg', 'template', 'thead', 'title', 'video', 'xmp']);\n  /* Tags that are safe for data: URIs */\n  let DATA_URI_TAGS = null;\n  const DEFAULT_DATA_URI_TAGS = addToSet({}, ['audio', 'video', 'img', 'source', 'image', 'track']);\n  /* Attributes safe for values like \"javascript:\" */\n  let URI_SAFE_ATTRIBUTES = null;\n  const DEFAULT_URI_SAFE_ATTRIBUTES = addToSet({}, ['alt', 'class', 'for', 'id', 'label', 'name', 'pattern', 'placeholder', 'role', 'summary', 'title', 'value', 'style', 'xmlns']);\n  const MATHML_NAMESPACE = 'http://www.w3.org/1998/Math/MathML';\n  const SVG_NAMESPACE = 'http://www.w3.org/2000/svg';\n  const HTML_NAMESPACE = 'http://www.w3.org/1999/xhtml';\n  /* Document namespace */\n  let NAMESPACE = HTML_NAMESPACE;\n  let IS_EMPTY_INPUT = false;\n  /* Allowed XHTML+XML namespaces */\n  let ALLOWED_NAMESPACES = null;\n  const DEFAULT_ALLOWED_NAMESPACES = addToSet({}, [MATHML_NAMESPACE, SVG_NAMESPACE, HTML_NAMESPACE], stringToString);\n  let MATHML_TEXT_INTEGRATION_POINTS = addToSet({}, ['mi', 'mo', 'mn', 'ms', 'mtext']);\n  let HTML_INTEGRATION_POINTS = addToSet({}, ['annotation-xml']);\n  // Certain elements are allowed in both SVG and HTML\n  // namespace. We need to specify them explicitly\n  // so that they don't get erroneously deleted from\n  // HTML namespace.\n  const COMMON_SVG_AND_HTML_ELEMENTS = addToSet({}, ['title', 'style', 'font', 'a', 'script']);\n  /* Parsing of strict XHTML documents */\n  let PARSER_MEDIA_TYPE = null;\n  const SUPPORTED_PARSER_MEDIA_TYPES = ['application/xhtml+xml', 'text/html'];\n  const DEFAULT_PARSER_MEDIA_TYPE = 'text/html';\n  let transformCaseFunc = null;\n  /* Keep a reference to config to pass to hooks */\n  let CONFIG = null;\n  /* Ideally, do not touch anything below this line */\n  /* ______________________________________________ */\n  const formElement = document.createElement('form');\n  const isRegexOrFunction = function isRegexOrFunction(testValue) {\n    return testValue instanceof RegExp || testValue instanceof Function;\n  };\n  /**\n   * _parseConfig\n   *\n   * @param cfg optional config literal\n   */\n  // eslint-disable-next-line complexity\n  const _parseConfig = function _parseConfig() {\n    let cfg = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n    if (CONFIG && CONFIG === cfg) {\n      return;\n    }\n    /* Shield configuration object from tampering */\n    if (!cfg || typeof cfg !== 'object') {\n      cfg = {};\n    }\n    /* Shield configuration object from prototype pollution */\n    cfg = clone(cfg);\n    PARSER_MEDIA_TYPE =\n    // eslint-disable-next-line unicorn/prefer-includes\n    SUPPORTED_PARSER_MEDIA_TYPES.indexOf(cfg.PARSER_MEDIA_TYPE) === -1 ? DEFAULT_PARSER_MEDIA_TYPE : cfg.PARSER_MEDIA_TYPE;\n    // HTML tags and attributes are not case-sensitive, converting to lowercase. Keeping XHTML as is.\n    transformCaseFunc = PARSER_MEDIA_TYPE === 'application/xhtml+xml' ? stringToString : stringToLowerCase;\n    /* Set configuration parameters */\n    ALLOWED_TAGS = objectHasOwnProperty(cfg, 'ALLOWED_TAGS') ? addToSet({}, cfg.ALLOWED_TAGS, transformCaseFunc) : DEFAULT_ALLOWED_TAGS;\n    ALLOWED_ATTR = objectHasOwnProperty(cfg, 'ALLOWED_ATTR') ? addToSet({}, cfg.ALLOWED_ATTR, transformCaseFunc) : DEFAULT_ALLOWED_ATTR;\n    ALLOWED_NAMESPACES = objectHasOwnProperty(cfg, 'ALLOWED_NAMESPACES') ? addToSet({}, cfg.ALLOWED_NAMESPACES, stringToString) : DEFAULT_ALLOWED_NAMESPACES;\n    URI_SAFE_ATTRIBUTES = objectHasOwnProperty(cfg, 'ADD_URI_SAFE_ATTR') ? addToSet(clone(DEFAULT_URI_SAFE_ATTRIBUTES), cfg.ADD_URI_SAFE_ATTR, transformCaseFunc) : DEFAULT_URI_SAFE_ATTRIBUTES;\n    DATA_URI_TAGS = objectHasOwnProperty(cfg, 'ADD_DATA_URI_TAGS') ? addToSet(clone(DEFAULT_DATA_URI_TAGS), cfg.ADD_DATA_URI_TAGS, transformCaseFunc) : DEFAULT_DATA_URI_TAGS;\n    FORBID_CONTENTS = objectHasOwnProperty(cfg, 'FORBID_CONTENTS') ? addToSet({}, cfg.FORBID_CONTENTS, transformCaseFunc) : DEFAULT_FORBID_CONTENTS;\n    FORBID_TAGS = objectHasOwnProperty(cfg, 'FORBID_TAGS') ? addToSet({}, cfg.FORBID_TAGS, transformCaseFunc) : clone({});\n    FORBID_ATTR = objectHasOwnProperty(cfg, 'FORBID_ATTR') ? addToSet({}, cfg.FORBID_ATTR, transformCaseFunc) : clone({});\n    USE_PROFILES = objectHasOwnProperty(cfg, 'USE_PROFILES') ? cfg.USE_PROFILES : false;\n    ALLOW_ARIA_ATTR = cfg.ALLOW_ARIA_ATTR !== false; // Default true\n    ALLOW_DATA_ATTR = cfg.ALLOW_DATA_ATTR !== false; // Default true\n    ALLOW_UNKNOWN_PROTOCOLS = cfg.ALLOW_UNKNOWN_PROTOCOLS || false; // Default false\n    ALLOW_SELF_CLOSE_IN_ATTR = cfg.ALLOW_SELF_CLOSE_IN_ATTR !== false; // Default true\n    SAFE_FOR_TEMPLATES = cfg.SAFE_FOR_TEMPLATES || false; // Default false\n    SAFE_FOR_XML = cfg.SAFE_FOR_XML !== false; // Default true\n    WHOLE_DOCUMENT = cfg.WHOLE_DOCUMENT || false; // Default false\n    RETURN_DOM = cfg.RETURN_DOM || false; // Default false\n    RETURN_DOM_FRAGMENT = cfg.RETURN_DOM_FRAGMENT || false; // Default false\n    RETURN_TRUSTED_TYPE = cfg.RETURN_TRUSTED_TYPE || false; // Default false\n    FORCE_BODY = cfg.FORCE_BODY || false; // Default false\n    SANITIZE_DOM = cfg.SANITIZE_DOM !== false; // Default true\n    SANITIZE_NAMED_PROPS = cfg.SANITIZE_NAMED_PROPS || false; // Default false\n    KEEP_CONTENT = cfg.KEEP_CONTENT !== false; // Default true\n    IN_PLACE = cfg.IN_PLACE || false; // Default false\n    IS_ALLOWED_URI$1 = cfg.ALLOWED_URI_REGEXP || IS_ALLOWED_URI;\n    NAMESPACE = cfg.NAMESPACE || HTML_NAMESPACE;\n    MATHML_TEXT_INTEGRATION_POINTS = cfg.MATHML_TEXT_INTEGRATION_POINTS || MATHML_TEXT_INTEGRATION_POINTS;\n    HTML_INTEGRATION_POINTS = cfg.HTML_INTEGRATION_POINTS || HTML_INTEGRATION_POINTS;\n    CUSTOM_ELEMENT_HANDLING = cfg.CUSTOM_ELEMENT_HANDLING || {};\n    if (cfg.CUSTOM_ELEMENT_HANDLING && isRegexOrFunction(cfg.CUSTOM_ELEMENT_HANDLING.tagNameCheck)) {\n      CUSTOM_ELEMENT_HANDLING.tagNameCheck = cfg.CUSTOM_ELEMENT_HANDLING.tagNameCheck;\n    }\n    if (cfg.CUSTOM_ELEMENT_HANDLING && isRegexOrFunction(cfg.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)) {\n      CUSTOM_ELEMENT_HANDLING.attributeNameCheck = cfg.CUSTOM_ELEMENT_HANDLING.attributeNameCheck;\n    }\n    if (cfg.CUSTOM_ELEMENT_HANDLING && typeof cfg.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements === 'boolean') {\n      CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements = cfg.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements;\n    }\n    if (SAFE_FOR_TEMPLATES) {\n      ALLOW_DATA_ATTR = false;\n    }\n    if (RETURN_DOM_FRAGMENT) {\n      RETURN_DOM = true;\n    }\n    /* Parse profile info */\n    if (USE_PROFILES) {\n      ALLOWED_TAGS = addToSet({}, text);\n      ALLOWED_ATTR = [];\n      if (USE_PROFILES.html === true) {\n        addToSet(ALLOWED_TAGS, html$1);\n        addToSet(ALLOWED_ATTR, html);\n      }\n      if (USE_PROFILES.svg === true) {\n        addToSet(ALLOWED_TAGS, svg$1);\n        addToSet(ALLOWED_ATTR, svg);\n        addToSet(ALLOWED_ATTR, xml);\n      }\n      if (USE_PROFILES.svgFilters === true) {\n        addToSet(ALLOWED_TAGS, svgFilters);\n        addToSet(ALLOWED_ATTR, svg);\n        addToSet(ALLOWED_ATTR, xml);\n      }\n      if (USE_PROFILES.mathMl === true) {\n        addToSet(ALLOWED_TAGS, mathMl$1);\n        addToSet(ALLOWED_ATTR, mathMl);\n        addToSet(ALLOWED_ATTR, xml);\n      }\n    }\n    /* Merge configuration parameters */\n    if (cfg.ADD_TAGS) {\n      if (typeof cfg.ADD_TAGS === 'function') {\n        EXTRA_ELEMENT_HANDLING.tagCheck = cfg.ADD_TAGS;\n      } else {\n        if (ALLOWED_TAGS === DEFAULT_ALLOWED_TAGS) {\n          ALLOWED_TAGS = clone(ALLOWED_TAGS);\n        }\n        addToSet(ALLOWED_TAGS, cfg.ADD_TAGS, transformCaseFunc);\n      }\n    }\n    if (cfg.ADD_ATTR) {\n      if (typeof cfg.ADD_ATTR === 'function') {\n        EXTRA_ELEMENT_HANDLING.attributeCheck = cfg.ADD_ATTR;\n      } else {\n        if (ALLOWED_ATTR === DEFAULT_ALLOWED_ATTR) {\n          ALLOWED_ATTR = clone(ALLOWED_ATTR);\n        }\n        addToSet(ALLOWED_ATTR, cfg.ADD_ATTR, transformCaseFunc);\n      }\n    }\n    if (cfg.ADD_URI_SAFE_ATTR) {\n      addToSet(URI_SAFE_ATTRIBUTES, cfg.ADD_URI_SAFE_ATTR, transformCaseFunc);\n    }\n    if (cfg.FORBID_CONTENTS) {\n      if (FORBID_CONTENTS === DEFAULT_FORBID_CONTENTS) {\n        FORBID_CONTENTS = clone(FORBID_CONTENTS);\n      }\n      addToSet(FORBID_CONTENTS, cfg.FORBID_CONTENTS, transformCaseFunc);\n    }\n    /* Add #text in case KEEP_CONTENT is set to true */\n    if (KEEP_CONTENT) {\n      ALLOWED_TAGS['#text'] = true;\n    }\n    /* Add html, head and body to ALLOWED_TAGS in case WHOLE_DOCUMENT is true */\n    if (WHOLE_DOCUMENT) {\n      addToSet(ALLOWED_TAGS, ['html', 'head', 'body']);\n    }\n    /* Add tbody to ALLOWED_TAGS in case tables are permitted, see #286, #365 */\n    if (ALLOWED_TAGS.table) {\n      addToSet(ALLOWED_TAGS, ['tbody']);\n      delete FORBID_TAGS.tbody;\n    }\n    if (cfg.TRUSTED_TYPES_POLICY) {\n      if (typeof cfg.TRUSTED_TYPES_POLICY.createHTML !== 'function') {\n        throw typeErrorCreate('TRUSTED_TYPES_POLICY configuration option must provide a \"createHTML\" hook.');\n      }\n      if (typeof cfg.TRUSTED_TYPES_POLICY.createScriptURL !== 'function') {\n        throw typeErrorCreate('TRUSTED_TYPES_POLICY configuration option must provide a \"createScriptURL\" hook.');\n      }\n      // Overwrite existing TrustedTypes policy.\n      trustedTypesPolicy = cfg.TRUSTED_TYPES_POLICY;\n      // Sign local variables required by `sanitize`.\n      emptyHTML = trustedTypesPolicy.createHTML('');\n    } else {\n      // Uninitialized policy, attempt to initialize the internal dompurify policy.\n      if (trustedTypesPolicy === undefined) {\n        trustedTypesPolicy = _createTrustedTypesPolicy(trustedTypes, currentScript);\n      }\n      // If creating the internal policy succeeded sign internal variables.\n      if (trustedTypesPolicy !== null && typeof emptyHTML === 'string') {\n        emptyHTML = trustedTypesPolicy.createHTML('');\n      }\n    }\n    // Prevent further manipulation of configuration.\n    // Not available in IE8, Safari 5, etc.\n    if (freeze) {\n      freeze(cfg);\n    }\n    CONFIG = cfg;\n  };\n  /* Keep track of all possible SVG and MathML tags\n   * so that we can perform the namespace checks\n   * correctly. */\n  const ALL_SVG_TAGS = addToSet({}, [...svg$1, ...svgFilters, ...svgDisallowed]);\n  const ALL_MATHML_TAGS = addToSet({}, [...mathMl$1, ...mathMlDisallowed]);\n  /**\n   * @param element a DOM element whose namespace is being checked\n   * @returns Return false if the element has a\n   *  namespace that a spec-compliant parser would never\n   *  return. Return true otherwise.\n   */\n  const _checkValidNamespace = function _checkValidNamespace(element) {\n    let parent = getParentNode(element);\n    // In JSDOM, if we're inside shadow DOM, then parentNode\n    // can be null. We just simulate parent in this case.\n    if (!parent || !parent.tagName) {\n      parent = {\n        namespaceURI: NAMESPACE,\n        tagName: 'template'\n      };\n    }\n    const tagName = stringToLowerCase(element.tagName);\n    const parentTagName = stringToLowerCase(parent.tagName);\n    if (!ALLOWED_NAMESPACES[element.namespaceURI]) {\n      return false;\n    }\n    if (element.namespaceURI === SVG_NAMESPACE) {\n      // The only way to switch from HTML namespace to SVG\n      // is via <svg>. If it happens via any other tag, then\n      // it should be killed.\n      if (parent.namespaceURI === HTML_NAMESPACE) {\n        return tagName === 'svg';\n      }\n      // The only way to switch from MathML to SVG is via`\n      // svg if parent is either <annotation-xml> or MathML\n      // text integration points.\n      if (parent.namespaceURI === MATHML_NAMESPACE) {\n        return tagName === 'svg' && (parentTagName === 'annotation-xml' || MATHML_TEXT_INTEGRATION_POINTS[parentTagName]);\n      }\n      // We only allow elements that are defined in SVG\n      // spec. All others are disallowed in SVG namespace.\n      return Boolean(ALL_SVG_TAGS[tagName]);\n    }\n    if (element.namespaceURI === MATHML_NAMESPACE) {\n      // The only way to switch from HTML namespace to MathML\n      // is via <math>. If it happens via any other tag, then\n      // it should be killed.\n      if (parent.namespaceURI === HTML_NAMESPACE) {\n        return tagName === 'math';\n      }\n      // The only way to switch from SVG to MathML is via\n      // <math> and HTML integration points\n      if (parent.namespaceURI === SVG_NAMESPACE) {\n        return tagName === 'math' && HTML_INTEGRATION_POINTS[parentTagName];\n      }\n      // We only allow elements that are defined in MathML\n      // spec. All others are disallowed in MathML namespace.\n      return Boolean(ALL_MATHML_TAGS[tagName]);\n    }\n    if (element.namespaceURI === HTML_NAMESPACE) {\n      // The only way to switch from SVG to HTML is via\n      // HTML integration points, and from MathML to HTML\n      // is via MathML text integration points\n      if (parent.namespaceURI === SVG_NAMESPACE && !HTML_INTEGRATION_POINTS[parentTagName]) {\n        return false;\n      }\n      if (parent.namespaceURI === MATHML_NAMESPACE && !MATHML_TEXT_INTEGRATION_POINTS[parentTagName]) {\n        return false;\n      }\n      // We disallow tags that are specific for MathML\n      // or SVG and should never appear in HTML namespace\n      return !ALL_MATHML_TAGS[tagName] && (COMMON_SVG_AND_HTML_ELEMENTS[tagName] || !ALL_SVG_TAGS[tagName]);\n    }\n    // For XHTML and XML documents that support custom namespaces\n    if (PARSER_MEDIA_TYPE === 'application/xhtml+xml' && ALLOWED_NAMESPACES[element.namespaceURI]) {\n      return true;\n    }\n    // The code should never reach this place (this means\n    // that the element somehow got namespace that is not\n    // HTML, SVG, MathML or allowed via ALLOWED_NAMESPACES).\n    // Return false just in case.\n    return false;\n  };\n  /**\n   * _forceRemove\n   *\n   * @param node a DOM node\n   */\n  const _forceRemove = function _forceRemove(node) {\n    arrayPush(DOMPurify.removed, {\n      element: node\n    });\n    try {\n      // eslint-disable-next-line unicorn/prefer-dom-node-remove\n      getParentNode(node).removeChild(node);\n    } catch (_) {\n      remove(node);\n    }\n  };\n  /**\n   * _removeAttribute\n   *\n   * @param name an Attribute name\n   * @param element a DOM node\n   */\n  const _removeAttribute = function _removeAttribute(name, element) {\n    try {\n      arrayPush(DOMPurify.removed, {\n        attribute: element.getAttributeNode(name),\n        from: element\n      });\n    } catch (_) {\n      arrayPush(DOMPurify.removed, {\n        attribute: null,\n        from: element\n      });\n    }\n    element.removeAttribute(name);\n    // We void attribute values for unremovable \"is\" attributes\n    if (name === 'is') {\n      if (RETURN_DOM || RETURN_DOM_FRAGMENT) {\n        try {\n          _forceRemove(element);\n        } catch (_) {}\n      } else {\n        try {\n          element.setAttribute(name, '');\n        } catch (_) {}\n      }\n    }\n  };\n  /**\n   * _initDocument\n   *\n   * @param dirty - a string of dirty markup\n   * @return a DOM, filled with the dirty markup\n   */\n  const _initDocument = function _initDocument(dirty) {\n    /* Create a HTML document */\n    let doc = null;\n    let leadingWhitespace = null;\n    if (FORCE_BODY) {\n      dirty = '<remove></remove>' + dirty;\n    } else {\n      /* If FORCE_BODY isn't used, leading whitespace needs to be preserved manually */\n      const matches = stringMatch(dirty, /^[\\r\\n\\t ]+/);\n      leadingWhitespace = matches && matches[0];\n    }\n    if (PARSER_MEDIA_TYPE === 'application/xhtml+xml' && NAMESPACE === HTML_NAMESPACE) {\n      // Root of XHTML doc must contain xmlns declaration (see https://www.w3.org/TR/xhtml1/normative.html#strict)\n      dirty = '<html xmlns=\"http://www.w3.org/1999/xhtml\"><head></head><body>' + dirty + '</body></html>';\n    }\n    const dirtyPayload = trustedTypesPolicy ? trustedTypesPolicy.createHTML(dirty) : dirty;\n    /*\n     * Use the DOMParser API by default, fallback later if needs be\n     * DOMParser not work for svg when has multiple root element.\n     */\n    if (NAMESPACE === HTML_NAMESPACE) {\n      try {\n        doc = new DOMParser().parseFromString(dirtyPayload, PARSER_MEDIA_TYPE);\n      } catch (_) {}\n    }\n    /* Use createHTMLDocument in case DOMParser is not available */\n    if (!doc || !doc.documentElement) {\n      doc = implementation.createDocument(NAMESPACE, 'template', null);\n      try {\n        doc.documentElement.innerHTML = IS_EMPTY_INPUT ? emptyHTML : dirtyPayload;\n      } catch (_) {\n        // Syntax error if dirtyPayload is invalid xml\n      }\n    }\n    const body = doc.body || doc.documentElement;\n    if (dirty && leadingWhitespace) {\n      body.insertBefore(document.createTextNode(leadingWhitespace), body.childNodes[0] || null);\n    }\n    /* Work on whole document or just its body */\n    if (NAMESPACE === HTML_NAMESPACE) {\n      return getElementsByTagName.call(doc, WHOLE_DOCUMENT ? 'html' : 'body')[0];\n    }\n    return WHOLE_DOCUMENT ? doc.documentElement : body;\n  };\n  /**\n   * Creates a NodeIterator object that you can use to traverse filtered lists of nodes or elements in a document.\n   *\n   * @param root The root element or node to start traversing on.\n   * @return The created NodeIterator\n   */\n  const _createNodeIterator = function _createNodeIterator(root) {\n    return createNodeIterator.call(root.ownerDocument || root, root,\n    // eslint-disable-next-line no-bitwise\n    NodeFilter.SHOW_ELEMENT | NodeFilter.SHOW_COMMENT | NodeFilter.SHOW_TEXT | NodeFilter.SHOW_PROCESSING_INSTRUCTION | NodeFilter.SHOW_CDATA_SECTION, null);\n  };\n  /**\n   * _isClobbered\n   *\n   * @param element element to check for clobbering attacks\n   * @return true if clobbered, false if safe\n   */\n  const _isClobbered = function _isClobbered(element) {\n    return element instanceof HTMLFormElement && (typeof element.nodeName !== 'string' || typeof element.textContent !== 'string' || typeof element.removeChild !== 'function' || !(element.attributes instanceof NamedNodeMap) || typeof element.removeAttribute !== 'function' || typeof element.setAttribute !== 'function' || typeof element.namespaceURI !== 'string' || typeof element.insertBefore !== 'function' || typeof element.hasChildNodes !== 'function');\n  };\n  /**\n   * Checks whether the given object is a DOM node.\n   *\n   * @param value object to check whether it's a DOM node\n   * @return true is object is a DOM node\n   */\n  const _isNode = function _isNode(value) {\n    return typeof Node === 'function' && value instanceof Node;\n  };\n  function _executeHooks(hooks, currentNode, data) {\n    arrayForEach(hooks, hook => {\n      hook.call(DOMPurify, currentNode, data, CONFIG);\n    });\n  }\n  /**\n   * _sanitizeElements\n   *\n   * @protect nodeName\n   * @protect textContent\n   * @protect removeChild\n   * @param currentNode to check for permission to exist\n   * @return true if node was killed, false if left alive\n   */\n  const _sanitizeElements = function _sanitizeElements(currentNode) {\n    let content = null;\n    /* Execute a hook if present */\n    _executeHooks(hooks.beforeSanitizeElements, currentNode, null);\n    /* Check if element is clobbered or can clobber */\n    if (_isClobbered(currentNode)) {\n      _forceRemove(currentNode);\n      return true;\n    }\n    /* Now let's check the element's type and name */\n    const tagName = transformCaseFunc(currentNode.nodeName);\n    /* Execute a hook if present */\n    _executeHooks(hooks.uponSanitizeElement, currentNode, {\n      tagName,\n      allowedTags: ALLOWED_TAGS\n    });\n    /* Detect mXSS attempts abusing namespace confusion */\n    if (SAFE_FOR_XML && currentNode.hasChildNodes() && !_isNode(currentNode.firstElementChild) && regExpTest(/<[/\\w!]/g, currentNode.innerHTML) && regExpTest(/<[/\\w!]/g, currentNode.textContent)) {\n      _forceRemove(currentNode);\n      return true;\n    }\n    /* Remove any occurrence of processing instructions */\n    if (currentNode.nodeType === NODE_TYPE.progressingInstruction) {\n      _forceRemove(currentNode);\n      return true;\n    }\n    /* Remove any kind of possibly harmful comments */\n    if (SAFE_FOR_XML && currentNode.nodeType === NODE_TYPE.comment && regExpTest(/<[/\\w]/g, currentNode.data)) {\n      _forceRemove(currentNode);\n      return true;\n    }\n    /* Remove element if anything forbids its presence */\n    if (!(EXTRA_ELEMENT_HANDLING.tagCheck instanceof Function && EXTRA_ELEMENT_HANDLING.tagCheck(tagName)) && (!ALLOWED_TAGS[tagName] || FORBID_TAGS[tagName])) {\n      /* Check if we have a custom element to handle */\n      if (!FORBID_TAGS[tagName] && _isBasicCustomElement(tagName)) {\n        if (CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof RegExp && regExpTest(CUSTOM_ELEMENT_HANDLING.tagNameCheck, tagName)) {\n          return false;\n        }\n        if (CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof Function && CUSTOM_ELEMENT_HANDLING.tagNameCheck(tagName)) {\n          return false;\n        }\n      }\n      /* Keep content except for bad-listed elements */\n      if (KEEP_CONTENT && !FORBID_CONTENTS[tagName]) {\n        const parentNode = getParentNode(currentNode) || currentNode.parentNode;\n        const childNodes = getChildNodes(currentNode) || currentNode.childNodes;\n        if (childNodes && parentNode) {\n          const childCount = childNodes.length;\n          for (let i = childCount - 1; i >= 0; --i) {\n            const childClone = cloneNode(childNodes[i], true);\n            childClone.__removalCount = (currentNode.__removalCount || 0) + 1;\n            parentNode.insertBefore(childClone, getNextSibling(currentNode));\n          }\n        }\n      }\n      _forceRemove(currentNode);\n      return true;\n    }\n    /* Check whether element has a valid namespace */\n    if (currentNode instanceof Element && !_checkValidNamespace(currentNode)) {\n      _forceRemove(currentNode);\n      return true;\n    }\n    /* Make sure that older browsers don't get fallback-tag mXSS */\n    if ((tagName === 'noscript' || tagName === 'noembed' || tagName === 'noframes') && regExpTest(/<\\/no(script|embed|frames)/i, currentNode.innerHTML)) {\n      _forceRemove(currentNode);\n      return true;\n    }\n    /* Sanitize element content to be template-safe */\n    if (SAFE_FOR_TEMPLATES && currentNode.nodeType === NODE_TYPE.text) {\n      /* Get the element's text content */\n      content = currentNode.textContent;\n      arrayForEach([MUSTACHE_EXPR, ERB_EXPR, TMPLIT_EXPR], expr => {\n        content = stringReplace(content, expr, ' ');\n      });\n      if (currentNode.textContent !== content) {\n        arrayPush(DOMPurify.removed, {\n          element: currentNode.cloneNode()\n        });\n        currentNode.textContent = content;\n      }\n    }\n    /* Execute a hook if present */\n    _executeHooks(hooks.afterSanitizeElements, currentNode, null);\n    return false;\n  };\n  /**\n   * _isValidAttribute\n   *\n   * @param lcTag Lowercase tag name of containing element.\n   * @param lcName Lowercase attribute name.\n   * @param value Attribute value.\n   * @return Returns true if `value` is valid, otherwise false.\n   */\n  // eslint-disable-next-line complexity\n  const _isValidAttribute = function _isValidAttribute(lcTag, lcName, value) {\n    /* Make sure attribute cannot clobber */\n    if (SANITIZE_DOM && (lcName === 'id' || lcName === 'name') && (value in document || value in formElement)) {\n      return false;\n    }\n    /* Allow valid data-* attributes: At least one character after \"-\"\n        (https://html.spec.whatwg.org/multipage/dom.html#embedding-custom-non-visible-data-with-the-data-*-attributes)\n        XML-compatible (https://html.spec.whatwg.org/multipage/infrastructure.html#xml-compatible and http://www.w3.org/TR/xml/#d0e804)\n        We don't need to check the value; it's always URI safe. */\n    if (ALLOW_DATA_ATTR && !FORBID_ATTR[lcName] && regExpTest(DATA_ATTR, lcName)) ; else if (ALLOW_ARIA_ATTR && regExpTest(ARIA_ATTR, lcName)) ; else if (EXTRA_ELEMENT_HANDLING.attributeCheck instanceof Function && EXTRA_ELEMENT_HANDLING.attributeCheck(lcName, lcTag)) ; else if (!ALLOWED_ATTR[lcName] || FORBID_ATTR[lcName]) {\n      if (\n      // First condition does a very basic check if a) it's basically a valid custom element tagname AND\n      // b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck\n      // and c) if the attribute name passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.attributeNameCheck\n      _isBasicCustomElement(lcTag) && (CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof RegExp && regExpTest(CUSTOM_ELEMENT_HANDLING.tagNameCheck, lcTag) || CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof Function && CUSTOM_ELEMENT_HANDLING.tagNameCheck(lcTag)) && (CUSTOM_ELEMENT_HANDLING.attributeNameCheck instanceof RegExp && regExpTest(CUSTOM_ELEMENT_HANDLING.attributeNameCheck, lcName) || CUSTOM_ELEMENT_HANDLING.attributeNameCheck instanceof Function && CUSTOM_ELEMENT_HANDLING.attributeNameCheck(lcName, lcTag)) ||\n      // Alternative, second condition checks if it's an `is`-attribute, AND\n      // the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck\n      lcName === 'is' && CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements && (CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof RegExp && regExpTest(CUSTOM_ELEMENT_HANDLING.tagNameCheck, value) || CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof Function && CUSTOM_ELEMENT_HANDLING.tagNameCheck(value))) ; else {\n        return false;\n      }\n      /* Check value is safe. First, is attr inert? If so, is safe */\n    } else if (URI_SAFE_ATTRIBUTES[lcName]) ; else if (regExpTest(IS_ALLOWED_URI$1, stringReplace(value, ATTR_WHITESPACE, ''))) ; else if ((lcName === 'src' || lcName === 'xlink:href' || lcName === 'href') && lcTag !== 'script' && stringIndexOf(value, 'data:') === 0 && DATA_URI_TAGS[lcTag]) ; else if (ALLOW_UNKNOWN_PROTOCOLS && !regExpTest(IS_SCRIPT_OR_DATA, stringReplace(value, ATTR_WHITESPACE, ''))) ; else if (value) {\n      return false;\n    } else ;\n    return true;\n  };\n  /**\n   * _isBasicCustomElement\n   * checks if at least one dash is included in tagName, and it's not the first char\n   * for more sophisticated checking see https://github.com/sindresorhus/validate-element-name\n   *\n   * @param tagName name of the tag of the node to sanitize\n   * @returns Returns true if the tag name meets the basic criteria for a custom element, otherwise false.\n   */\n  const _isBasicCustomElement = function _isBasicCustomElement(tagName) {\n    return tagName !== 'annotation-xml' && stringMatch(tagName, CUSTOM_ELEMENT);\n  };\n  /**\n   * _sanitizeAttributes\n   *\n   * @protect attributes\n   * @protect nodeName\n   * @protect removeAttribute\n   * @protect setAttribute\n   *\n   * @param currentNode to sanitize\n   */\n  const _sanitizeAttributes = function _sanitizeAttributes(currentNode) {\n    /* Execute a hook if present */\n    _executeHooks(hooks.beforeSanitizeAttributes, currentNode, null);\n    const {\n      attributes\n    } = currentNode;\n    /* Check if we have attributes; if not we might have a text node */\n    if (!attributes || _isClobbered(currentNode)) {\n      return;\n    }\n    const hookEvent = {\n      attrName: '',\n      attrValue: '',\n      keepAttr: true,\n      allowedAttributes: ALLOWED_ATTR,\n      forceKeepAttr: undefined\n    };\n    let l = attributes.length;\n    /* Go backwards over all attributes; safely remove bad ones */\n    while (l--) {\n      const attr = attributes[l];\n      const {\n        name,\n        namespaceURI,\n        value: attrValue\n      } = attr;\n      const lcName = transformCaseFunc(name);\n      const initValue = attrValue;\n      let value = name === 'value' ? initValue : stringTrim(initValue);\n      /* Execute a hook if present */\n      hookEvent.attrName = lcName;\n      hookEvent.attrValue = value;\n      hookEvent.keepAttr = true;\n      hookEvent.forceKeepAttr = undefined; // Allows developers to see this is a property they can set\n      _executeHooks(hooks.uponSanitizeAttribute, currentNode, hookEvent);\n      value = hookEvent.attrValue;\n      /* Full DOM Clobbering protection via namespace isolation,\n       * Prefix id and name attributes with `user-content-`\n       */\n      if (SANITIZE_NAMED_PROPS && (lcName === 'id' || lcName === 'name')) {\n        // Remove the attribute with this value\n        _removeAttribute(name, currentNode);\n        // Prefix the value and later re-create the attribute with the sanitized value\n        value = SANITIZE_NAMED_PROPS_PREFIX + value;\n      }\n      /* Work around a security issue with comments inside attributes */\n      if (SAFE_FOR_XML && regExpTest(/((--!?|])>)|<\\/(style|title|textarea)/i, value)) {\n        _removeAttribute(name, currentNode);\n        continue;\n      }\n      /* Make sure we cannot easily use animated hrefs, even if animations are allowed */\n      if (lcName === 'attributename' && stringMatch(value, 'href')) {\n        _removeAttribute(name, currentNode);\n        continue;\n      }\n      /* Did the hooks approve of the attribute? */\n      if (hookEvent.forceKeepAttr) {\n        continue;\n      }\n      /* Did the hooks approve of the attribute? */\n      if (!hookEvent.keepAttr) {\n        _removeAttribute(name, currentNode);\n        continue;\n      }\n      /* Work around a security issue in jQuery 3.0 */\n      if (!ALLOW_SELF_CLOSE_IN_ATTR && regExpTest(/\\/>/i, value)) {\n        _removeAttribute(name, currentNode);\n        continue;\n      }\n      /* Sanitize attribute content to be template-safe */\n      if (SAFE_FOR_TEMPLATES) {\n        arrayForEach([MUSTACHE_EXPR, ERB_EXPR, TMPLIT_EXPR], expr => {\n          value = stringReplace(value, expr, ' ');\n        });\n      }\n      /* Is `value` valid for this attribute? */\n      const lcTag = transformCaseFunc(currentNode.nodeName);\n      if (!_isValidAttribute(lcTag, lcName, value)) {\n        _removeAttribute(name, currentNode);\n        continue;\n      }\n      /* Handle attributes that require Trusted Types */\n      if (trustedTypesPolicy && typeof trustedTypes === 'object' && typeof trustedTypes.getAttributeType === 'function') {\n        if (namespaceURI) ; else {\n          switch (trustedTypes.getAttributeType(lcTag, lcName)) {\n            case 'TrustedHTML':\n              {\n                value = trustedTypesPolicy.createHTML(value);\n                break;\n              }\n            case 'TrustedScriptURL':\n              {\n                value = trustedTypesPolicy.createScriptURL(value);\n                break;\n              }\n          }\n        }\n      }\n      /* Handle invalid data-* attribute set by try-catching it */\n      if (value !== initValue) {\n        try {\n          if (namespaceURI) {\n            currentNode.setAttributeNS(namespaceURI, name, value);\n          } else {\n            /* Fallback to setAttribute() for browser-unrecognized namespaces e.g. \"x-schema\". */\n            currentNode.setAttribute(name, value);\n          }\n          if (_isClobbered(currentNode)) {\n            _forceRemove(currentNode);\n          } else {\n            arrayPop(DOMPurify.removed);\n          }\n        } catch (_) {\n          _removeAttribute(name, currentNode);\n        }\n      }\n    }\n    /* Execute a hook if present */\n    _executeHooks(hooks.afterSanitizeAttributes, currentNode, null);\n  };\n  /**\n   * _sanitizeShadowDOM\n   *\n   * @param fragment to iterate over recursively\n   */\n  const _sanitizeShadowDOM = function _sanitizeShadowDOM(fragment) {\n    let shadowNode = null;\n    const shadowIterator = _createNodeIterator(fragment);\n    /* Execute a hook if present */\n    _executeHooks(hooks.beforeSanitizeShadowDOM, fragment, null);\n    while (shadowNode = shadowIterator.nextNode()) {\n      /* Execute a hook if present */\n      _executeHooks(hooks.uponSanitizeShadowNode, shadowNode, null);\n      /* Sanitize tags and elements */\n      _sanitizeElements(shadowNode);\n      /* Check attributes next */\n      _sanitizeAttributes(shadowNode);\n      /* Deep shadow DOM detected */\n      if (shadowNode.content instanceof DocumentFragment) {\n        _sanitizeShadowDOM(shadowNode.content);\n      }\n    }\n    /* Execute a hook if present */\n    _executeHooks(hooks.afterSanitizeShadowDOM, fragment, null);\n  };\n  // eslint-disable-next-line complexity\n  DOMPurify.sanitize = function (dirty) {\n    let cfg = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n    let body = null;\n    let importedNode = null;\n    let currentNode = null;\n    let returnNode = null;\n    /* Make sure we have a string to sanitize.\n      DO NOT return early, as this will return the wrong type if\n      the user has requested a DOM object rather than a string */\n    IS_EMPTY_INPUT = !dirty;\n    if (IS_EMPTY_INPUT) {\n      dirty = '<!-->';\n    }\n    /* Stringify, in case dirty is an object */\n    if (typeof dirty !== 'string' && !_isNode(dirty)) {\n      if (typeof dirty.toString === 'function') {\n        dirty = dirty.toString();\n        if (typeof dirty !== 'string') {\n          throw typeErrorCreate('dirty is not a string, aborting');\n        }\n      } else {\n        throw typeErrorCreate('toString is not a function');\n      }\n    }\n    /* Return dirty HTML if DOMPurify cannot run */\n    if (!DOMPurify.isSupported) {\n      return dirty;\n    }\n    /* Assign config vars */\n    if (!SET_CONFIG) {\n      _parseConfig(cfg);\n    }\n    /* Clean up removed elements */\n    DOMPurify.removed = [];\n    /* Check if dirty is correctly typed for IN_PLACE */\n    if (typeof dirty === 'string') {\n      IN_PLACE = false;\n    }\n    if (IN_PLACE) {\n      /* Do some early pre-sanitization to avoid unsafe root nodes */\n      if (dirty.nodeName) {\n        const tagName = transformCaseFunc(dirty.nodeName);\n        if (!ALLOWED_TAGS[tagName] || FORBID_TAGS[tagName]) {\n          throw typeErrorCreate('root node is forbidden and cannot be sanitized in-place');\n        }\n      }\n    } else if (dirty instanceof Node) {\n      /* If dirty is a DOM element, append to an empty document to avoid\n         elements being stripped by the parser */\n      body = _initDocument('<!---->');\n      importedNode = body.ownerDocument.importNode(dirty, true);\n      if (importedNode.nodeType === NODE_TYPE.element && importedNode.nodeName === 'BODY') {\n        /* Node is already a body, use as is */\n        body = importedNode;\n      } else if (importedNode.nodeName === 'HTML') {\n        body = importedNode;\n      } else {\n        // eslint-disable-next-line unicorn/prefer-dom-node-append\n        body.appendChild(importedNode);\n      }\n    } else {\n      /* Exit directly if we have nothing to do */\n      if (!RETURN_DOM && !SAFE_FOR_TEMPLATES && !WHOLE_DOCUMENT &&\n      // eslint-disable-next-line unicorn/prefer-includes\n      dirty.indexOf('<') === -1) {\n        return trustedTypesPolicy && RETURN_TRUSTED_TYPE ? trustedTypesPolicy.createHTML(dirty) : dirty;\n      }\n      /* Initialize the document to work on */\n      body = _initDocument(dirty);\n      /* Check we have a DOM node from the data */\n      if (!body) {\n        return RETURN_DOM ? null : RETURN_TRUSTED_TYPE ? emptyHTML : '';\n      }\n    }\n    /* Remove first element node (ours) if FORCE_BODY is set */\n    if (body && FORCE_BODY) {\n      _forceRemove(body.firstChild);\n    }\n    /* Get node iterator */\n    const nodeIterator = _createNodeIterator(IN_PLACE ? dirty : body);\n    /* Now start iterating over the created document */\n    while (currentNode = nodeIterator.nextNode()) {\n      /* Sanitize tags and elements */\n      _sanitizeElements(currentNode);\n      /* Check attributes next */\n      _sanitizeAttributes(currentNode);\n      /* Shadow DOM detected, sanitize it */\n      if (currentNode.content instanceof DocumentFragment) {\n        _sanitizeShadowDOM(currentNode.content);\n      }\n    }\n    /* If we sanitized `dirty` in-place, return it. */\n    if (IN_PLACE) {\n      return dirty;\n    }\n    /* Return sanitized string or DOM */\n    if (RETURN_DOM) {\n      if (RETURN_DOM_FRAGMENT) {\n        returnNode = createDocumentFragment.call(body.ownerDocument);\n        while (body.firstChild) {\n          // eslint-disable-next-line unicorn/prefer-dom-node-append\n          returnNode.appendChild(body.firstChild);\n        }\n      } else {\n        returnNode = body;\n      }\n      if (ALLOWED_ATTR.shadowroot || ALLOWED_ATTR.shadowrootmode) {\n        /*\n          AdoptNode() is not used because internal state is not reset\n          (e.g. the past names map of a HTMLFormElement), this is safe\n          in theory but we would rather not risk another attack vector.\n          The state that is cloned by importNode() is explicitly defined\n          by the specs.\n        */\n        returnNode = importNode.call(originalDocument, returnNode, true);\n      }\n      return returnNode;\n    }\n    let serializedHTML = WHOLE_DOCUMENT ? body.outerHTML : body.innerHTML;\n    /* Serialize doctype if allowed */\n    if (WHOLE_DOCUMENT && ALLOWED_TAGS['!doctype'] && body.ownerDocument && body.ownerDocument.doctype && body.ownerDocument.doctype.name && regExpTest(DOCTYPE_NAME, body.ownerDocument.doctype.name)) {\n      serializedHTML = '<!DOCTYPE ' + body.ownerDocument.doctype.name + '>\\n' + serializedHTML;\n    }\n    /* Sanitize final string template-safe */\n    if (SAFE_FOR_TEMPLATES) {\n      arrayForEach([MUSTACHE_EXPR, ERB_EXPR, TMPLIT_EXPR], expr => {\n        serializedHTML = stringReplace(serializedHTML, expr, ' ');\n      });\n    }\n    return trustedTypesPolicy && RETURN_TRUSTED_TYPE ? trustedTypesPolicy.createHTML(serializedHTML) : serializedHTML;\n  };\n  DOMPurify.setConfig = function () {\n    let cfg = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n    _parseConfig(cfg);\n    SET_CONFIG = true;\n  };\n  DOMPurify.clearConfig = function () {\n    CONFIG = null;\n    SET_CONFIG = false;\n  };\n  DOMPurify.isValidAttribute = function (tag, attr, value) {\n    /* Initialize shared config vars if necessary. */\n    if (!CONFIG) {\n      _parseConfig({});\n    }\n    const lcTag = transformCaseFunc(tag);\n    const lcName = transformCaseFunc(attr);\n    return _isValidAttribute(lcTag, lcName, value);\n  };\n  DOMPurify.addHook = function (entryPoint, hookFunction) {\n    if (typeof hookFunction !== 'function') {\n      return;\n    }\n    arrayPush(hooks[entryPoint], hookFunction);\n  };\n  DOMPurify.removeHook = function (entryPoint, hookFunction) {\n    if (hookFunction !== undefined) {\n      const index = arrayLastIndexOf(hooks[entryPoint], hookFunction);\n      return index === -1 ? undefined : arraySplice(hooks[entryPoint], index, 1)[0];\n    }\n    return arrayPop(hooks[entryPoint]);\n  };\n  DOMPurify.removeHooks = function (entryPoint) {\n    hooks[entryPoint] = [];\n  };\n  DOMPurify.removeAllHooks = function () {\n    hooks = _createHooksMap();\n  };\n  return DOMPurify;\n}\nvar purify = createDOMPurify();\n\nexport { purify as default };\n//# sourceMappingURL=purify.es.mjs.map\n","import {autoloadBlocks} from '@lipemat/js-boilerplate-gutenberg';\nimport Preview from './blocks/Preview';\nimport {getBlockSupports, TransformLegacy, transformLegacyWidget, translateBlockAttributes} from './helpers';\nimport ErrorBoundary from '../components/ErrorBoundary';\nimport NavigationIcon from './blocks/NavigationIcon';\n\n\n// @see content/plugins/advanced-sidebar-menu-pro/js/src/globals/config.ts\nexport type PassedGlobals = Partial<{\n\tErrorBoundary: typeof ErrorBoundary;\n\tNavigationIcon: typeof NavigationIcon;\n\tPreview: typeof Preview;\n\tgetBlockSupports: typeof getBlockSupports;\n\ttransformLegacyWidget: TransformLegacy;\n\ttranslateBlockAttributes: typeof translateBlockAttributes;\n}>;\n\n/**\n * Use our custom autoloader to automatically require,\n * register and add HMR support to the Gutenberg-related items.\n *\n * Will load from the specified directory recursively.\n */\nexport default () => {\n\t// Load all blocks\n\tautoloadBlocks( () => require.context( './blocks', true, /block\\.tsx$/ ), module );\n\n\n\t// Expose helpers and Preview component to the window, so we can use them in PRO.\n\tif ( '' === window.ADVANCED_SIDEBAR_MENU.isPro ) {\n\t\treturn;\n\t}\n\twindow.ADVANCED_SIDEBAR_MENU.ErrorBoundary = ErrorBoundary;\n\twindow.ADVANCED_SIDEBAR_MENU.NavigationIcon = NavigationIcon;\n\twindow.ADVANCED_SIDEBAR_MENU.Preview = Preview;\n\twindow.ADVANCED_SIDEBAR_MENU.getBlockSupports = getBlockSupports;\n\twindow.ADVANCED_SIDEBAR_MENU.transformLegacyWidget = transformLegacyWidget;\n\twindow.ADVANCED_SIDEBAR_MENU.translateBlockAttributes = translateBlockAttributes;\n}\n","'use strict';\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\nvar test = {};\n\ntest[TO_STRING_TAG] = 'z';\n\nmodule.exports = String(test) === '[object z]';\n","'use strict';\nvar defineBuiltIn = require('../internals/define-built-in');\n\nmodule.exports = function (target, src, options) {\n  for (var key in src) defineBuiltIn(target, key, src[key], options);\n  return target;\n};\n","'use strict';\nvar fails = require('../internals/fails');\n\n// Detect IE8's incomplete defineProperty implementation\nmodule.exports = !fails(function () {\n  // eslint-disable-next-line es/no-object-defineproperty -- required for testing\n  return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7;\n});\n","'use strict';\nvar aCallable = require('../internals/a-callable');\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\n\n// `GetMethod` abstract operation\n// https://tc39.es/ecma262/#sec-getmethod\nmodule.exports = function (V, P) {\n  var func = V[P];\n  return isNullOrUndefined(func) ? undefined : aCallable(func);\n};\n","module.exports = React;","'use strict';\nvar $String = String;\n\nmodule.exports = function (argument) {\n  try {\n    return $String(argument);\n  } catch (error) {\n    return 'Object';\n  }\n};\n","'use strict';\nvar iteratorClose = require('../internals/iterator-close');\n\nmodule.exports = function (iters, kind, value) {\n  for (var i = iters.length - 1; i >= 0; i--) {\n    if (iters[i] === undefined) continue;\n    try {\n      value = iteratorClose(iters[i].iterator, kind, value);\n    } catch (error) {\n      kind = 'throw';\n      value = error;\n    }\n  }\n  if (kind === 'throw') throw value;\n  return value;\n};\n","module.exports = jQuery;","'use strict';\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar Iterators = require('../internals/iterators');\n\nvar ITERATOR = wellKnownSymbol('iterator');\nvar ArrayPrototype = Array.prototype;\n\n// check on default Array iterator\nmodule.exports = function (it) {\n  return it !== undefined && (Iterators.Array === it || ArrayPrototype[ITERATOR] === it);\n};\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar hasOwn = require('../internals/has-own-property');\n\nvar FunctionPrototype = Function.prototype;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar getDescriptor = DESCRIPTORS && Object.getOwnPropertyDescriptor;\n\nvar EXISTS = hasOwn(FunctionPrototype, 'name');\n// additional protection from minified / mangled / dropped function names\nvar PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';\nvar CONFIGURABLE = EXISTS && (!DESCRIPTORS || (DESCRIPTORS && getDescriptor(FunctionPrototype, 'name').configurable));\n\nmodule.exports = {\n  EXISTS: EXISTS,\n  PROPER: PROPER,\n  CONFIGURABLE: CONFIGURABLE\n};\n","import {BlockControls, InspectorControls} from '@wordpress/block-editor';\nimport {PanelBody, SelectControl, Slot, TextControl} from '@wordpress/components';\nimport {BlockEditProps} from '@wordpress/blocks';\nimport {Attr, block} from './block';\nimport Preview from '../Preview';\nimport Display from '../Display';\nimport {useSelect} from '@wordpress/data';\nimport InfoPanel from '../InfoPanel';\nimport {CONFIG} from '../../../globals/config';\nimport {__} from '@wordpress/i18n';\nimport {Type} from '@wordpress/api/types';\nimport ErrorBoundary from '../../../components/ErrorBoundary';\nimport SideLoad from '../../SideLoad';\nimport {isScreen} from '../../helpers';\nimport ExcludeField from '../ExcludeField';\nimport DOMPurify from 'dompurify';\n\nimport styles from './edit.pcss';\n\n\nexport type FillProps =\n\tPick<BlockEditProps<Attr>, 'clientId' | 'attributes' | 'setAttributes' | 'name'>\n\t& { type?: Type }\n\ntype Props = BlockEditProps<Attr>;\n\n/**\n * Pages block content in the editor.\n */\nconst Edit = ( {attributes, setAttributes, clientId, name}: Props ) => {\n\tconst postType: Type<'edit'> | undefined = useSelect( select => {\n\t\tconst type = select( 'core' ).getPostType( attributes.post_type ?? 'page' );\n\t\treturn type ?? select( 'core' ).getPostType( 'page' );\n\t}, [ attributes.post_type ] );\n\n\t// We have a version conflict or license error.\n\tif ( '' !== CONFIG.error ) {\n\t\treturn ( <>\n\t\t\t<InspectorControls>\n\t\t\t\t<div\n\t\t\t\t\tclassName={styles.error}\n\t\t\t\t\tdangerouslySetInnerHTML={{__html: DOMPurify.sanitize( CONFIG.error )}} />\n\t\t\t</InspectorControls>\n\t\t\t<Preview<Attr> attributes={attributes} block={block.id} clientId={clientId} />\n\t\t</> );\n\t}\n\n\tconst fillProps: FillProps = {\n\t\ttype: postType,\n\t\tattributes,\n\t\tname,\n\t\tsetAttributes,\n\t\tclientId,\n\t};\n\n\n\treturn ( <>\n\t\t<InspectorControls>\n\t\t\t<div className={'components-panel__body is-opened'}>\n\t\t\t\t<a\n\t\t\t\t\thref={CONFIG.docs.page}\n\t\t\t\t\ttarget=\"_blank\"\n\t\t\t\t\trel=\"noopener noreferrer\"\n\t\t\t\t>\n\t\t\t\t\t{__( 'Documentation', 'advanced-sidebar-menu' )}\n\t\t\t\t</a>\n\t\t\t</div>\n\t\t</InspectorControls>\n\t\t<InspectorControls>\n\t\t\t{isScreen( [ 'widgets', 'site-editor', 'customize' ] ) && <PanelBody>\n\t\t\t\t<TextControl\n\t\t\t\t\tvalue={attributes.title ?? ''}\n\t\t\t\t\tlabel={__( 'Title', 'advanced-sidebar-menu' )}\n\t\t\t\t\tonChange={title => setAttributes( {title} )}\n\t\t\t\t\t// @ts-expect-error -- Not technically supported until WP 6.7\n\t\t\t\t\t__nextHasNoMarginBottom\n\t\t\t\t/>\n\t\t\t</PanelBody>}\n\t\t\t<ErrorBoundary attributes={attributes} block={name} section={'pages/Edit/general'}>\n\t\t\t\t<Display\n\t\t\t\t\tattributes={attributes}\n\t\t\t\t\tclientId={clientId}\n\t\t\t\t\tname={name}\n\t\t\t\t\tsetAttributes={setAttributes}\n\t\t\t\t\ttype={postType} />\n\n\t\t\t\t<div className={'components-panel__body is-opened'}>\n\t\t\t\t\t<Slot<FillProps>\n\t\t\t\t\t\tname=\"advanced-sidebar-menu/pages/general\"\n\t\t\t\t\t\tfillProps={fillProps} />\n\n\t\t\t\t\t<SelectControl\n\t\t\t\t\t\tlabel={__( 'Order by', 'advanced-sidebar-menu' )}\n\t\t\t\t\t\tvalue={attributes.order_by}\n\t\t\t\t\t\tlabelPosition={'side'}\n\t\t\t\t\t\toptions={Object.entries( CONFIG.pages.orderBy ).map( ( [ value, label ] ) => ( {\n\t\t\t\t\t\t\tvalue,\n\t\t\t\t\t\t\tlabel,\n\t\t\t\t\t\t} ) )}\n\t\t\t\t\t\tonChange={value => {\n\t\t\t\t\t\t\tsetAttributes( {\n\t\t\t\t\t\t\t\torder_by: value,\n\t\t\t\t\t\t\t} );\n\t\t\t\t\t\t}} />\n\n\t\t\t\t\t<ExcludeField\n\t\t\t\t\t\ttype={postType}\n\t\t\t\t\t\tattributes={attributes}\n\t\t\t\t\t\tsetAttributes={setAttributes} />\n\n\t\t\t\t\t<Slot<FillProps>\n\t\t\t\t\t\tname=\"advanced-sidebar-menu/pages/general-after\"\n\t\t\t\t\t\tfillProps={fillProps} />\n\t\t\t\t</div>\n\n\t\t\t</ErrorBoundary>\n\t\t\t<ErrorBoundary attributes={attributes} block={name} section={'pages/Edit/inspector'}>\n\t\t\t\t<Slot<FillProps>\n\t\t\t\t\tname=\"advanced-sidebar-menu/pages/inspector\"\n\t\t\t\t\tfillProps={fillProps} />\n\n\t\t\t</ErrorBoundary>\n\t\t</InspectorControls>\n\n\t\t<BlockControls>\n\t\t\t<ErrorBoundary\n\t\t\t\tattributes={attributes}\n\t\t\t\tblock={name}\n\t\t\t\tsection={'pages/Edit/block-controls'}\n\t\t\t>\n\t\t\t\t<Slot<FillProps>\n\t\t\t\t\tname=\"advanced-sidebar-menu/pages/block-controls\"\n\t\t\t\t\tfillProps={fillProps} />\n\t\t\t</ErrorBoundary>\n\t\t</BlockControls>\n\n\t\t<InfoPanel clientId={clientId} />\n\n\t\t<ErrorBoundary attributes={attributes} block={name} section={'pages/Edit/preview'}>\n\t\t\t<Preview<Attr> attributes={attributes} block={block.id} clientId={clientId} />\n\t\t</ErrorBoundary>\n\n\t\t<SideLoad clientId={clientId} />\n\t</> );\n};\n\nexport default Edit;\n","'use strict';\nvar bind = require('../internals/function-bind-context');\nvar call = require('../internals/function-call');\nvar anObject = require('../internals/an-object');\nvar tryToString = require('../internals/try-to-string');\nvar isArrayIteratorMethod = require('../internals/is-array-iterator-method');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar getIterator = require('../internals/get-iterator');\nvar getIteratorMethod = require('../internals/get-iterator-method');\nvar iteratorClose = require('../internals/iterator-close');\n\nvar $TypeError = TypeError;\n\nvar Result = function (stopped, result) {\n  this.stopped = stopped;\n  this.result = result;\n};\n\nvar ResultPrototype = Result.prototype;\n\nmodule.exports = function (iterable, unboundFunction, options) {\n  var that = options && options.that;\n  var AS_ENTRIES = !!(options && options.AS_ENTRIES);\n  var IS_RECORD = !!(options && options.IS_RECORD);\n  var IS_ITERATOR = !!(options && options.IS_ITERATOR);\n  var INTERRUPTED = !!(options && options.INTERRUPTED);\n  var fn = bind(unboundFunction, that);\n  var iterator, iterFn, index, length, result, next, step;\n\n  var stop = function (condition) {\n    if (iterator) iteratorClose(iterator, 'normal');\n    return new Result(true, condition);\n  };\n\n  var callFn = function (value) {\n    if (AS_ENTRIES) {\n      anObject(value);\n      return INTERRUPTED ? fn(value[0], value[1], stop) : fn(value[0], value[1]);\n    } return INTERRUPTED ? fn(value, stop) : fn(value);\n  };\n\n  if (IS_RECORD) {\n    iterator = iterable.iterator;\n  } else if (IS_ITERATOR) {\n    iterator = iterable;\n  } else {\n    iterFn = getIteratorMethod(iterable);\n    if (!iterFn) throw new $TypeError(tryToString(iterable) + ' is not iterable');\n    // optimisation for array iterators\n    if (isArrayIteratorMethod(iterFn)) {\n      for (index = 0, length = lengthOfArrayLike(iterable); length > index; index++) {\n        result = callFn(iterable[index]);\n        if (result && isPrototypeOf(ResultPrototype, result)) return result;\n      } return new Result(false);\n    }\n    iterator = getIterator(iterable, iterFn);\n  }\n\n  next = IS_RECORD ? iterable.next : iterator.next;\n  while (!(step = call(next, iterator)).done) {\n    try {\n      result = callFn(step.value);\n    } catch (error) {\n      iteratorClose(iterator, 'throw', error);\n    }\n    if (typeof result == 'object' && result && isPrototypeOf(ResultPrototype, result)) return result;\n  } return new Result(false);\n};\n","'use strict';\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\n\nvar $TypeError = TypeError;\n\n// `RequireObjectCoercible` abstract operation\n// https://tc39.es/ecma262/#sec-requireobjectcoercible\nmodule.exports = function (it) {\n  if (isNullOrUndefined(it)) throw new $TypeError(\"Can't call method on \" + it);\n  return it;\n};\n","'use strict';\nvar isCallable = require('../internals/is-callable');\nvar definePropertyModule = require('../internals/object-define-property');\nvar makeBuiltIn = require('../internals/make-built-in');\nvar defineGlobalProperty = require('../internals/define-global-property');\n\nmodule.exports = function (O, key, value, options) {\n  if (!options) options = {};\n  var simple = options.enumerable;\n  var name = options.name !== undefined ? options.name : key;\n  if (isCallable(value)) makeBuiltIn(value, name, options);\n  if (options.global) {\n    if (simple) O[key] = value;\n    else defineGlobalProperty(key, value);\n  } else {\n    try {\n      if (!options.unsafe) delete O[key];\n      else if (O[key]) simple = true;\n    } catch (error) { /* empty */ }\n    if (simple) O[key] = value;\n    else definePropertyModule.f(O, key, {\n      value: value,\n      enumerable: false,\n      configurable: !options.nonConfigurable,\n      writable: !options.nonWritable\n    });\n  } return O;\n};\n","/**\n * @license React\n * react-jsx-runtime.development.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nif (process.env.NODE_ENV !== \"production\") {\n  (function() {\n'use strict';\n\nvar React = require('react');\n\n// ATTENTION\n// When adding new symbols to this file,\n// Please consider also adding to 'react-devtools-shared/src/backend/ReactSymbols'\n// The Symbol used to tag the ReactElement-like types.\nvar REACT_ELEMENT_TYPE = Symbol.for('react.element');\nvar REACT_PORTAL_TYPE = Symbol.for('react.portal');\nvar REACT_FRAGMENT_TYPE = Symbol.for('react.fragment');\nvar REACT_STRICT_MODE_TYPE = Symbol.for('react.strict_mode');\nvar REACT_PROFILER_TYPE = Symbol.for('react.profiler');\nvar REACT_PROVIDER_TYPE = Symbol.for('react.provider');\nvar REACT_CONTEXT_TYPE = Symbol.for('react.context');\nvar REACT_FORWARD_REF_TYPE = Symbol.for('react.forward_ref');\nvar REACT_SUSPENSE_TYPE = Symbol.for('react.suspense');\nvar REACT_SUSPENSE_LIST_TYPE = Symbol.for('react.suspense_list');\nvar REACT_MEMO_TYPE = Symbol.for('react.memo');\nvar REACT_LAZY_TYPE = Symbol.for('react.lazy');\nvar REACT_OFFSCREEN_TYPE = Symbol.for('react.offscreen');\nvar MAYBE_ITERATOR_SYMBOL = Symbol.iterator;\nvar FAUX_ITERATOR_SYMBOL = '@@iterator';\nfunction getIteratorFn(maybeIterable) {\n  if (maybeIterable === null || typeof maybeIterable !== 'object') {\n    return null;\n  }\n\n  var maybeIterator = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL];\n\n  if (typeof maybeIterator === 'function') {\n    return maybeIterator;\n  }\n\n  return null;\n}\n\nvar ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;\n\nfunction error(format) {\n  {\n    {\n      for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {\n        args[_key2 - 1] = arguments[_key2];\n      }\n\n      printWarning('error', format, args);\n    }\n  }\n}\n\nfunction printWarning(level, format, args) {\n  // When changing this logic, you might want to also\n  // update consoleWithStackDev.www.js as well.\n  {\n    var ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;\n    var stack = ReactDebugCurrentFrame.getStackAddendum();\n\n    if (stack !== '') {\n      format += '%s';\n      args = args.concat([stack]);\n    } // eslint-disable-next-line react-internal/safe-string-coercion\n\n\n    var argsWithFormat = args.map(function (item) {\n      return String(item);\n    }); // Careful: RN currently depends on this prefix\n\n    argsWithFormat.unshift('Warning: ' + format); // We intentionally don't use spread (or .apply) directly because it\n    // breaks IE9: https://github.com/facebook/react/issues/13610\n    // eslint-disable-next-line react-internal/no-production-logging\n\n    Function.prototype.apply.call(console[level], console, argsWithFormat);\n  }\n}\n\n// -----------------------------------------------------------------------------\n\nvar enableScopeAPI = false; // Experimental Create Event Handle API.\nvar enableCacheElement = false;\nvar enableTransitionTracing = false; // No known bugs, but needs performance testing\n\nvar enableLegacyHidden = false; // Enables unstable_avoidThisFallback feature in Fiber\n// stuff. Intended to enable React core members to more easily debug scheduling\n// issues in DEV builds.\n\nvar enableDebugTracing = false; // Track which Fiber(s) schedule render work.\n\nvar REACT_MODULE_REFERENCE;\n\n{\n  REACT_MODULE_REFERENCE = Symbol.for('react.module.reference');\n}\n\nfunction isValidElementType(type) {\n  if (typeof type === 'string' || typeof type === 'function') {\n    return true;\n  } // Note: typeof might be other than 'symbol' or 'number' (e.g. if it's a polyfill).\n\n\n  if (type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || enableDebugTracing  || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || enableLegacyHidden  || type === REACT_OFFSCREEN_TYPE || enableScopeAPI  || enableCacheElement  || enableTransitionTracing ) {\n    return true;\n  }\n\n  if (typeof type === 'object' && type !== null) {\n    if (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || // This needs to include all possible module reference object\n    // types supported by any Flight configuration anywhere since\n    // we don't know which Flight build this will end up being used\n    // with.\n    type.$$typeof === REACT_MODULE_REFERENCE || type.getModuleId !== undefined) {\n      return true;\n    }\n  }\n\n  return false;\n}\n\nfunction getWrappedName(outerType, innerType, wrapperName) {\n  var displayName = outerType.displayName;\n\n  if (displayName) {\n    return displayName;\n  }\n\n  var functionName = innerType.displayName || innerType.name || '';\n  return functionName !== '' ? wrapperName + \"(\" + functionName + \")\" : wrapperName;\n} // Keep in sync with react-reconciler/getComponentNameFromFiber\n\n\nfunction getContextName(type) {\n  return type.displayName || 'Context';\n} // Note that the reconciler package should generally prefer to use getComponentNameFromFiber() instead.\n\n\nfunction getComponentNameFromType(type) {\n  if (type == null) {\n    // Host root, text node or just invalid type.\n    return null;\n  }\n\n  {\n    if (typeof type.tag === 'number') {\n      error('Received an unexpected object in getComponentNameFromType(). ' + 'This is likely a bug in React. Please file an issue.');\n    }\n  }\n\n  if (typeof type === 'function') {\n    return type.displayName || type.name || null;\n  }\n\n  if (typeof type === 'string') {\n    return type;\n  }\n\n  switch (type) {\n    case REACT_FRAGMENT_TYPE:\n      return 'Fragment';\n\n    case REACT_PORTAL_TYPE:\n      return 'Portal';\n\n    case REACT_PROFILER_TYPE:\n      return 'Profiler';\n\n    case REACT_STRICT_MODE_TYPE:\n      return 'StrictMode';\n\n    case REACT_SUSPENSE_TYPE:\n      return 'Suspense';\n\n    case REACT_SUSPENSE_LIST_TYPE:\n      return 'SuspenseList';\n\n  }\n\n  if (typeof type === 'object') {\n    switch (type.$$typeof) {\n      case REACT_CONTEXT_TYPE:\n        var context = type;\n        return getContextName(context) + '.Consumer';\n\n      case REACT_PROVIDER_TYPE:\n        var provider = type;\n        return getContextName(provider._context) + '.Provider';\n\n      case REACT_FORWARD_REF_TYPE:\n        return getWrappedName(type, type.render, 'ForwardRef');\n\n      case REACT_MEMO_TYPE:\n        var outerName = type.displayName || null;\n\n        if (outerName !== null) {\n          return outerName;\n        }\n\n        return getComponentNameFromType(type.type) || 'Memo';\n\n      case REACT_LAZY_TYPE:\n        {\n          var lazyComponent = type;\n          var payload = lazyComponent._payload;\n          var init = lazyComponent._init;\n\n          try {\n            return getComponentNameFromType(init(payload));\n          } catch (x) {\n            return null;\n          }\n        }\n\n      // eslint-disable-next-line no-fallthrough\n    }\n  }\n\n  return null;\n}\n\nvar assign = Object.assign;\n\n// Helpers to patch console.logs to avoid logging during side-effect free\n// replaying on render function. This currently only patches the object\n// lazily which won't cover if the log function was extracted eagerly.\n// We could also eagerly patch the method.\nvar disabledDepth = 0;\nvar prevLog;\nvar prevInfo;\nvar prevWarn;\nvar prevError;\nvar prevGroup;\nvar prevGroupCollapsed;\nvar prevGroupEnd;\n\nfunction disabledLog() {}\n\ndisabledLog.__reactDisabledLog = true;\nfunction disableLogs() {\n  {\n    if (disabledDepth === 0) {\n      /* eslint-disable react-internal/no-production-logging */\n      prevLog = console.log;\n      prevInfo = console.info;\n      prevWarn = console.warn;\n      prevError = console.error;\n      prevGroup = console.group;\n      prevGroupCollapsed = console.groupCollapsed;\n      prevGroupEnd = console.groupEnd; // https://github.com/facebook/react/issues/19099\n\n      var props = {\n        configurable: true,\n        enumerable: true,\n        value: disabledLog,\n        writable: true\n      }; // $FlowFixMe Flow thinks console is immutable.\n\n      Object.defineProperties(console, {\n        info: props,\n        log: props,\n        warn: props,\n        error: props,\n        group: props,\n        groupCollapsed: props,\n        groupEnd: props\n      });\n      /* eslint-enable react-internal/no-production-logging */\n    }\n\n    disabledDepth++;\n  }\n}\nfunction reenableLogs() {\n  {\n    disabledDepth--;\n\n    if (disabledDepth === 0) {\n      /* eslint-disable react-internal/no-production-logging */\n      var props = {\n        configurable: true,\n        enumerable: true,\n        writable: true\n      }; // $FlowFixMe Flow thinks console is immutable.\n\n      Object.defineProperties(console, {\n        log: assign({}, props, {\n          value: prevLog\n        }),\n        info: assign({}, props, {\n          value: prevInfo\n        }),\n        warn: assign({}, props, {\n          value: prevWarn\n        }),\n        error: assign({}, props, {\n          value: prevError\n        }),\n        group: assign({}, props, {\n          value: prevGroup\n        }),\n        groupCollapsed: assign({}, props, {\n          value: prevGroupCollapsed\n        }),\n        groupEnd: assign({}, props, {\n          value: prevGroupEnd\n        })\n      });\n      /* eslint-enable react-internal/no-production-logging */\n    }\n\n    if (disabledDepth < 0) {\n      error('disabledDepth fell below zero. ' + 'This is a bug in React. Please file an issue.');\n    }\n  }\n}\n\nvar ReactCurrentDispatcher = ReactSharedInternals.ReactCurrentDispatcher;\nvar prefix;\nfunction describeBuiltInComponentFrame(name, source, ownerFn) {\n  {\n    if (prefix === undefined) {\n      // Extract the VM specific prefix used by each line.\n      try {\n        throw Error();\n      } catch (x) {\n        var match = x.stack.trim().match(/\\n( *(at )?)/);\n        prefix = match && match[1] || '';\n      }\n    } // We use the prefix to ensure our stacks line up with native stack frames.\n\n\n    return '\\n' + prefix + name;\n  }\n}\nvar reentry = false;\nvar componentFrameCache;\n\n{\n  var PossiblyWeakMap = typeof WeakMap === 'function' ? WeakMap : Map;\n  componentFrameCache = new PossiblyWeakMap();\n}\n\nfunction describeNativeComponentFrame(fn, construct) {\n  // If something asked for a stack inside a fake render, it should get ignored.\n  if ( !fn || reentry) {\n    return '';\n  }\n\n  {\n    var frame = componentFrameCache.get(fn);\n\n    if (frame !== undefined) {\n      return frame;\n    }\n  }\n\n  var control;\n  reentry = true;\n  var previousPrepareStackTrace = Error.prepareStackTrace; // $FlowFixMe It does accept undefined.\n\n  Error.prepareStackTrace = undefined;\n  var previousDispatcher;\n\n  {\n    previousDispatcher = ReactCurrentDispatcher.current; // Set the dispatcher in DEV because this might be call in the render function\n    // for warnings.\n\n    ReactCurrentDispatcher.current = null;\n    disableLogs();\n  }\n\n  try {\n    // This should throw.\n    if (construct) {\n      // Something should be setting the props in the constructor.\n      var Fake = function () {\n        throw Error();\n      }; // $FlowFixMe\n\n\n      Object.defineProperty(Fake.prototype, 'props', {\n        set: function () {\n          // We use a throwing setter instead of frozen or non-writable props\n          // because that won't throw in a non-strict mode function.\n          throw Error();\n        }\n      });\n\n      if (typeof Reflect === 'object' && Reflect.construct) {\n        // We construct a different control for this case to include any extra\n        // frames added by the construct call.\n        try {\n          Reflect.construct(Fake, []);\n        } catch (x) {\n          control = x;\n        }\n\n        Reflect.construct(fn, [], Fake);\n      } else {\n        try {\n          Fake.call();\n        } catch (x) {\n          control = x;\n        }\n\n        fn.call(Fake.prototype);\n      }\n    } else {\n      try {\n        throw Error();\n      } catch (x) {\n        control = x;\n      }\n\n      fn();\n    }\n  } catch (sample) {\n    // This is inlined manually because closure doesn't do it for us.\n    if (sample && control && typeof sample.stack === 'string') {\n      // This extracts the first frame from the sample that isn't also in the control.\n      // Skipping one frame that we assume is the frame that calls the two.\n      var sampleLines = sample.stack.split('\\n');\n      var controlLines = control.stack.split('\\n');\n      var s = sampleLines.length - 1;\n      var c = controlLines.length - 1;\n\n      while (s >= 1 && c >= 0 && sampleLines[s] !== controlLines[c]) {\n        // We expect at least one stack frame to be shared.\n        // Typically this will be the root most one. However, stack frames may be\n        // cut off due to maximum stack limits. In this case, one maybe cut off\n        // earlier than the other. We assume that the sample is longer or the same\n        // and there for cut off earlier. So we should find the root most frame in\n        // the sample somewhere in the control.\n        c--;\n      }\n\n      for (; s >= 1 && c >= 0; s--, c--) {\n        // Next we find the first one that isn't the same which should be the\n        // frame that called our sample function and the control.\n        if (sampleLines[s] !== controlLines[c]) {\n          // In V8, the first line is describing the message but other VMs don't.\n          // If we're about to return the first line, and the control is also on the same\n          // line, that's a pretty good indicator that our sample threw at same line as\n          // the control. I.e. before we entered the sample frame. So we ignore this result.\n          // This can happen if you passed a class to function component, or non-function.\n          if (s !== 1 || c !== 1) {\n            do {\n              s--;\n              c--; // We may still have similar intermediate frames from the construct call.\n              // The next one that isn't the same should be our match though.\n\n              if (c < 0 || sampleLines[s] !== controlLines[c]) {\n                // V8 adds a \"new\" prefix for native classes. Let's remove it to make it prettier.\n                var _frame = '\\n' + sampleLines[s].replace(' at new ', ' at '); // If our component frame is labeled \"<anonymous>\"\n                // but we have a user-provided \"displayName\"\n                // splice it in to make the stack more readable.\n\n\n                if (fn.displayName && _frame.includes('<anonymous>')) {\n                  _frame = _frame.replace('<anonymous>', fn.displayName);\n                }\n\n                {\n                  if (typeof fn === 'function') {\n                    componentFrameCache.set(fn, _frame);\n                  }\n                } // Return the line we found.\n\n\n                return _frame;\n              }\n            } while (s >= 1 && c >= 0);\n          }\n\n          break;\n        }\n      }\n    }\n  } finally {\n    reentry = false;\n\n    {\n      ReactCurrentDispatcher.current = previousDispatcher;\n      reenableLogs();\n    }\n\n    Error.prepareStackTrace = previousPrepareStackTrace;\n  } // Fallback to just using the name if we couldn't make it throw.\n\n\n  var name = fn ? fn.displayName || fn.name : '';\n  var syntheticFrame = name ? describeBuiltInComponentFrame(name) : '';\n\n  {\n    if (typeof fn === 'function') {\n      componentFrameCache.set(fn, syntheticFrame);\n    }\n  }\n\n  return syntheticFrame;\n}\nfunction describeFunctionComponentFrame(fn, source, ownerFn) {\n  {\n    return describeNativeComponentFrame(fn, false);\n  }\n}\n\nfunction shouldConstruct(Component) {\n  var prototype = Component.prototype;\n  return !!(prototype && prototype.isReactComponent);\n}\n\nfunction describeUnknownElementTypeFrameInDEV(type, source, ownerFn) {\n\n  if (type == null) {\n    return '';\n  }\n\n  if (typeof type === 'function') {\n    {\n      return describeNativeComponentFrame(type, shouldConstruct(type));\n    }\n  }\n\n  if (typeof type === 'string') {\n    return describeBuiltInComponentFrame(type);\n  }\n\n  switch (type) {\n    case REACT_SUSPENSE_TYPE:\n      return describeBuiltInComponentFrame('Suspense');\n\n    case REACT_SUSPENSE_LIST_TYPE:\n      return describeBuiltInComponentFrame('SuspenseList');\n  }\n\n  if (typeof type === 'object') {\n    switch (type.$$typeof) {\n      case REACT_FORWARD_REF_TYPE:\n        return describeFunctionComponentFrame(type.render);\n\n      case REACT_MEMO_TYPE:\n        // Memo may contain any component type so we recursively resolve it.\n        return describeUnknownElementTypeFrameInDEV(type.type, source, ownerFn);\n\n      case REACT_LAZY_TYPE:\n        {\n          var lazyComponent = type;\n          var payload = lazyComponent._payload;\n          var init = lazyComponent._init;\n\n          try {\n            // Lazy may contain any component type so we recursively resolve it.\n            return describeUnknownElementTypeFrameInDEV(init(payload), source, ownerFn);\n          } catch (x) {}\n        }\n    }\n  }\n\n  return '';\n}\n\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\n\nvar loggedTypeFailures = {};\nvar ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;\n\nfunction setCurrentlyValidatingElement(element) {\n  {\n    if (element) {\n      var owner = element._owner;\n      var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);\n      ReactDebugCurrentFrame.setExtraStackFrame(stack);\n    } else {\n      ReactDebugCurrentFrame.setExtraStackFrame(null);\n    }\n  }\n}\n\nfunction checkPropTypes(typeSpecs, values, location, componentName, element) {\n  {\n    // $FlowFixMe This is okay but Flow doesn't know it.\n    var has = Function.call.bind(hasOwnProperty);\n\n    for (var typeSpecName in typeSpecs) {\n      if (has(typeSpecs, typeSpecName)) {\n        var error$1 = void 0; // Prop type validation may throw. In case they do, we don't want to\n        // fail the render phase where it didn't fail before. So we log it.\n        // After these have been cleaned up, we'll let them throw.\n\n        try {\n          // This is intentionally an invariant that gets caught. It's the same\n          // behavior as without this statement except with a better message.\n          if (typeof typeSpecs[typeSpecName] !== 'function') {\n            // eslint-disable-next-line react-internal/prod-error-codes\n            var err = Error((componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' + 'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.' + 'This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.');\n            err.name = 'Invariant Violation';\n            throw err;\n          }\n\n          error$1 = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED');\n        } catch (ex) {\n          error$1 = ex;\n        }\n\n        if (error$1 && !(error$1 instanceof Error)) {\n          setCurrentlyValidatingElement(element);\n\n          error('%s: type specification of %s' + ' `%s` is invalid; the type checker ' + 'function must return `null` or an `Error` but returned a %s. ' + 'You may have forgotten to pass an argument to the type checker ' + 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' + 'shape all require an argument).', componentName || 'React class', location, typeSpecName, typeof error$1);\n\n          setCurrentlyValidatingElement(null);\n        }\n\n        if (error$1 instanceof Error && !(error$1.message in loggedTypeFailures)) {\n          // Only monitor this failure once because there tends to be a lot of the\n          // same error.\n          loggedTypeFailures[error$1.message] = true;\n          setCurrentlyValidatingElement(element);\n\n          error('Failed %s type: %s', location, error$1.message);\n\n          setCurrentlyValidatingElement(null);\n        }\n      }\n    }\n  }\n}\n\nvar isArrayImpl = Array.isArray; // eslint-disable-next-line no-redeclare\n\nfunction isArray(a) {\n  return isArrayImpl(a);\n}\n\n/*\n * The `'' + value` pattern (used in in perf-sensitive code) throws for Symbol\n * and Temporal.* types. See https://github.com/facebook/react/pull/22064.\n *\n * The functions in this module will throw an easier-to-understand,\n * easier-to-debug exception with a clear errors message message explaining the\n * problem. (Instead of a confusing exception thrown inside the implementation\n * of the `value` object).\n */\n// $FlowFixMe only called in DEV, so void return is not possible.\nfunction typeName(value) {\n  {\n    // toStringTag is needed for namespaced types like Temporal.Instant\n    var hasToStringTag = typeof Symbol === 'function' && Symbol.toStringTag;\n    var type = hasToStringTag && value[Symbol.toStringTag] || value.constructor.name || 'Object';\n    return type;\n  }\n} // $FlowFixMe only called in DEV, so void return is not possible.\n\n\nfunction willCoercionThrow(value) {\n  {\n    try {\n      testStringCoercion(value);\n      return false;\n    } catch (e) {\n      return true;\n    }\n  }\n}\n\nfunction testStringCoercion(value) {\n  // If you ended up here by following an exception call stack, here's what's\n  // happened: you supplied an object or symbol value to React (as a prop, key,\n  // DOM attribute, CSS property, string ref, etc.) and when React tried to\n  // coerce it to a string using `'' + value`, an exception was thrown.\n  //\n  // The most common types that will cause this exception are `Symbol` instances\n  // and Temporal objects like `Temporal.Instant`. But any object that has a\n  // `valueOf` or `[Symbol.toPrimitive]` method that throws will also cause this\n  // exception. (Library authors do this to prevent users from using built-in\n  // numeric operators like `+` or comparison operators like `>=` because custom\n  // methods are needed to perform accurate arithmetic or comparison.)\n  //\n  // To fix the problem, coerce this object or symbol value to a string before\n  // passing it to React. The most reliable way is usually `String(value)`.\n  //\n  // To find which value is throwing, check the browser or debugger console.\n  // Before this exception was thrown, there should be `console.error` output\n  // that shows the type (Symbol, Temporal.PlainDate, etc.) that caused the\n  // problem and how that type was used: key, atrribute, input value prop, etc.\n  // In most cases, this console output also shows the component and its\n  // ancestor components where the exception happened.\n  //\n  // eslint-disable-next-line react-internal/safe-string-coercion\n  return '' + value;\n}\nfunction checkKeyStringCoercion(value) {\n  {\n    if (willCoercionThrow(value)) {\n      error('The provided key is an unsupported type %s.' + ' This value must be coerced to a string before before using it here.', typeName(value));\n\n      return testStringCoercion(value); // throw (to help callers find troubleshooting comments)\n    }\n  }\n}\n\nvar ReactCurrentOwner = ReactSharedInternals.ReactCurrentOwner;\nvar RESERVED_PROPS = {\n  key: true,\n  ref: true,\n  __self: true,\n  __source: true\n};\nvar specialPropKeyWarningShown;\nvar specialPropRefWarningShown;\nvar didWarnAboutStringRefs;\n\n{\n  didWarnAboutStringRefs = {};\n}\n\nfunction hasValidRef(config) {\n  {\n    if (hasOwnProperty.call(config, 'ref')) {\n      var getter = Object.getOwnPropertyDescriptor(config, 'ref').get;\n\n      if (getter && getter.isReactWarning) {\n        return false;\n      }\n    }\n  }\n\n  return config.ref !== undefined;\n}\n\nfunction hasValidKey(config) {\n  {\n    if (hasOwnProperty.call(config, 'key')) {\n      var getter = Object.getOwnPropertyDescriptor(config, 'key').get;\n\n      if (getter && getter.isReactWarning) {\n        return false;\n      }\n    }\n  }\n\n  return config.key !== undefined;\n}\n\nfunction warnIfStringRefCannotBeAutoConverted(config, self) {\n  {\n    if (typeof config.ref === 'string' && ReactCurrentOwner.current && self && ReactCurrentOwner.current.stateNode !== self) {\n      var componentName = getComponentNameFromType(ReactCurrentOwner.current.type);\n\n      if (!didWarnAboutStringRefs[componentName]) {\n        error('Component \"%s\" contains the string ref \"%s\". ' + 'Support for string refs will be removed in a future major release. ' + 'This case cannot be automatically converted to an arrow function. ' + 'We ask you to manually fix this case by using useRef() or createRef() instead. ' + 'Learn more about using refs safely here: ' + 'https://reactjs.org/link/strict-mode-string-ref', getComponentNameFromType(ReactCurrentOwner.current.type), config.ref);\n\n        didWarnAboutStringRefs[componentName] = true;\n      }\n    }\n  }\n}\n\nfunction defineKeyPropWarningGetter(props, displayName) {\n  {\n    var warnAboutAccessingKey = function () {\n      if (!specialPropKeyWarningShown) {\n        specialPropKeyWarningShown = true;\n\n        error('%s: `key` is not a prop. Trying to access it will result ' + 'in `undefined` being returned. If you need to access the same ' + 'value within the child component, you should pass it as a different ' + 'prop. (https://reactjs.org/link/special-props)', displayName);\n      }\n    };\n\n    warnAboutAccessingKey.isReactWarning = true;\n    Object.defineProperty(props, 'key', {\n      get: warnAboutAccessingKey,\n      configurable: true\n    });\n  }\n}\n\nfunction defineRefPropWarningGetter(props, displayName) {\n  {\n    var warnAboutAccessingRef = function () {\n      if (!specialPropRefWarningShown) {\n        specialPropRefWarningShown = true;\n\n        error('%s: `ref` is not a prop. Trying to access it will result ' + 'in `undefined` being returned. If you need to access the same ' + 'value within the child component, you should pass it as a different ' + 'prop. (https://reactjs.org/link/special-props)', displayName);\n      }\n    };\n\n    warnAboutAccessingRef.isReactWarning = true;\n    Object.defineProperty(props, 'ref', {\n      get: warnAboutAccessingRef,\n      configurable: true\n    });\n  }\n}\n/**\n * Factory method to create a new React element. This no longer adheres to\n * the class pattern, so do not use new to call it. Also, instanceof check\n * will not work. Instead test $$typeof field against Symbol.for('react.element') to check\n * if something is a React Element.\n *\n * @param {*} type\n * @param {*} props\n * @param {*} key\n * @param {string|object} ref\n * @param {*} owner\n * @param {*} self A *temporary* helper to detect places where `this` is\n * different from the `owner` when React.createElement is called, so that we\n * can warn. We want to get rid of owner and replace string `ref`s with arrow\n * functions, and as long as `this` and owner are the same, there will be no\n * change in behavior.\n * @param {*} source An annotation object (added by a transpiler or otherwise)\n * indicating filename, line number, and/or other information.\n * @internal\n */\n\n\nvar ReactElement = function (type, key, ref, self, source, owner, props) {\n  var element = {\n    // This tag allows us to uniquely identify this as a React Element\n    $$typeof: REACT_ELEMENT_TYPE,\n    // Built-in properties that belong on the element\n    type: type,\n    key: key,\n    ref: ref,\n    props: props,\n    // Record the component responsible for creating this element.\n    _owner: owner\n  };\n\n  {\n    // The validation flag is currently mutative. We put it on\n    // an external backing store so that we can freeze the whole object.\n    // This can be replaced with a WeakMap once they are implemented in\n    // commonly used development environments.\n    element._store = {}; // To make comparing ReactElements easier for testing purposes, we make\n    // the validation flag non-enumerable (where possible, which should\n    // include every environment we run tests in), so the test framework\n    // ignores it.\n\n    Object.defineProperty(element._store, 'validated', {\n      configurable: false,\n      enumerable: false,\n      writable: true,\n      value: false\n    }); // self and source are DEV only properties.\n\n    Object.defineProperty(element, '_self', {\n      configurable: false,\n      enumerable: false,\n      writable: false,\n      value: self\n    }); // Two elements created in two different places should be considered\n    // equal for testing purposes and therefore we hide it from enumeration.\n\n    Object.defineProperty(element, '_source', {\n      configurable: false,\n      enumerable: false,\n      writable: false,\n      value: source\n    });\n\n    if (Object.freeze) {\n      Object.freeze(element.props);\n      Object.freeze(element);\n    }\n  }\n\n  return element;\n};\n/**\n * https://github.com/reactjs/rfcs/pull/107\n * @param {*} type\n * @param {object} props\n * @param {string} key\n */\n\nfunction jsxDEV(type, config, maybeKey, source, self) {\n  {\n    var propName; // Reserved names are extracted\n\n    var props = {};\n    var key = null;\n    var ref = null; // Currently, key can be spread in as a prop. This causes a potential\n    // issue if key is also explicitly declared (ie. <div {...props} key=\"Hi\" />\n    // or <div key=\"Hi\" {...props} /> ). We want to deprecate key spread,\n    // but as an intermediary step, we will use jsxDEV for everything except\n    // <div {...props} key=\"Hi\" />, because we aren't currently able to tell if\n    // key is explicitly declared to be undefined or not.\n\n    if (maybeKey !== undefined) {\n      {\n        checkKeyStringCoercion(maybeKey);\n      }\n\n      key = '' + maybeKey;\n    }\n\n    if (hasValidKey(config)) {\n      {\n        checkKeyStringCoercion(config.key);\n      }\n\n      key = '' + config.key;\n    }\n\n    if (hasValidRef(config)) {\n      ref = config.ref;\n      warnIfStringRefCannotBeAutoConverted(config, self);\n    } // Remaining properties are added to a new props object\n\n\n    for (propName in config) {\n      if (hasOwnProperty.call(config, propName) && !RESERVED_PROPS.hasOwnProperty(propName)) {\n        props[propName] = config[propName];\n      }\n    } // Resolve default props\n\n\n    if (type && type.defaultProps) {\n      var defaultProps = type.defaultProps;\n\n      for (propName in defaultProps) {\n        if (props[propName] === undefined) {\n          props[propName] = defaultProps[propName];\n        }\n      }\n    }\n\n    if (key || ref) {\n      var displayName = typeof type === 'function' ? type.displayName || type.name || 'Unknown' : type;\n\n      if (key) {\n        defineKeyPropWarningGetter(props, displayName);\n      }\n\n      if (ref) {\n        defineRefPropWarningGetter(props, displayName);\n      }\n    }\n\n    return ReactElement(type, key, ref, self, source, ReactCurrentOwner.current, props);\n  }\n}\n\nvar ReactCurrentOwner$1 = ReactSharedInternals.ReactCurrentOwner;\nvar ReactDebugCurrentFrame$1 = ReactSharedInternals.ReactDebugCurrentFrame;\n\nfunction setCurrentlyValidatingElement$1(element) {\n  {\n    if (element) {\n      var owner = element._owner;\n      var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);\n      ReactDebugCurrentFrame$1.setExtraStackFrame(stack);\n    } else {\n      ReactDebugCurrentFrame$1.setExtraStackFrame(null);\n    }\n  }\n}\n\nvar propTypesMisspellWarningShown;\n\n{\n  propTypesMisspellWarningShown = false;\n}\n/**\n * Verifies the object is a ReactElement.\n * See https://reactjs.org/docs/react-api.html#isvalidelement\n * @param {?object} object\n * @return {boolean} True if `object` is a ReactElement.\n * @final\n */\n\n\nfunction isValidElement(object) {\n  {\n    return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;\n  }\n}\n\nfunction getDeclarationErrorAddendum() {\n  {\n    if (ReactCurrentOwner$1.current) {\n      var name = getComponentNameFromType(ReactCurrentOwner$1.current.type);\n\n      if (name) {\n        return '\\n\\nCheck the render method of `' + name + '`.';\n      }\n    }\n\n    return '';\n  }\n}\n\nfunction getSourceInfoErrorAddendum(source) {\n  {\n    if (source !== undefined) {\n      var fileName = source.fileName.replace(/^.*[\\\\\\/]/, '');\n      var lineNumber = source.lineNumber;\n      return '\\n\\nCheck your code at ' + fileName + ':' + lineNumber + '.';\n    }\n\n    return '';\n  }\n}\n/**\n * Warn if there's no key explicitly set on dynamic arrays of children or\n * object keys are not valid. This allows us to keep track of children between\n * updates.\n */\n\n\nvar ownerHasKeyUseWarning = {};\n\nfunction getCurrentComponentErrorInfo(parentType) {\n  {\n    var info = getDeclarationErrorAddendum();\n\n    if (!info) {\n      var parentName = typeof parentType === 'string' ? parentType : parentType.displayName || parentType.name;\n\n      if (parentName) {\n        info = \"\\n\\nCheck the top-level render call using <\" + parentName + \">.\";\n      }\n    }\n\n    return info;\n  }\n}\n/**\n * Warn if the element doesn't have an explicit key assigned to it.\n * This element is in an array. The array could grow and shrink or be\n * reordered. All children that haven't already been validated are required to\n * have a \"key\" property assigned to it. Error statuses are cached so a warning\n * will only be shown once.\n *\n * @internal\n * @param {ReactElement} element Element that requires a key.\n * @param {*} parentType element's parent's type.\n */\n\n\nfunction validateExplicitKey(element, parentType) {\n  {\n    if (!element._store || element._store.validated || element.key != null) {\n      return;\n    }\n\n    element._store.validated = true;\n    var currentComponentErrorInfo = getCurrentComponentErrorInfo(parentType);\n\n    if (ownerHasKeyUseWarning[currentComponentErrorInfo]) {\n      return;\n    }\n\n    ownerHasKeyUseWarning[currentComponentErrorInfo] = true; // Usually the current owner is the offender, but if it accepts children as a\n    // property, it may be the creator of the child that's responsible for\n    // assigning it a key.\n\n    var childOwner = '';\n\n    if (element && element._owner && element._owner !== ReactCurrentOwner$1.current) {\n      // Give the component that originally created this child.\n      childOwner = \" It was passed a child from \" + getComponentNameFromType(element._owner.type) + \".\";\n    }\n\n    setCurrentlyValidatingElement$1(element);\n\n    error('Each child in a list should have a unique \"key\" prop.' + '%s%s See https://reactjs.org/link/warning-keys for more information.', currentComponentErrorInfo, childOwner);\n\n    setCurrentlyValidatingElement$1(null);\n  }\n}\n/**\n * Ensure that every element either is passed in a static location, in an\n * array with an explicit keys property defined, or in an object literal\n * with valid key property.\n *\n * @internal\n * @param {ReactNode} node Statically passed child of any type.\n * @param {*} parentType node's parent's type.\n */\n\n\nfunction validateChildKeys(node, parentType) {\n  {\n    if (typeof node !== 'object') {\n      return;\n    }\n\n    if (isArray(node)) {\n      for (var i = 0; i < node.length; i++) {\n        var child = node[i];\n\n        if (isValidElement(child)) {\n          validateExplicitKey(child, parentType);\n        }\n      }\n    } else if (isValidElement(node)) {\n      // This element was passed in a valid location.\n      if (node._store) {\n        node._store.validated = true;\n      }\n    } else if (node) {\n      var iteratorFn = getIteratorFn(node);\n\n      if (typeof iteratorFn === 'function') {\n        // Entry iterators used to provide implicit keys,\n        // but now we print a separate warning for them later.\n        if (iteratorFn !== node.entries) {\n          var iterator = iteratorFn.call(node);\n          var step;\n\n          while (!(step = iterator.next()).done) {\n            if (isValidElement(step.value)) {\n              validateExplicitKey(step.value, parentType);\n            }\n          }\n        }\n      }\n    }\n  }\n}\n/**\n * Given an element, validate that its props follow the propTypes definition,\n * provided by the type.\n *\n * @param {ReactElement} element\n */\n\n\nfunction validatePropTypes(element) {\n  {\n    var type = element.type;\n\n    if (type === null || type === undefined || typeof type === 'string') {\n      return;\n    }\n\n    var propTypes;\n\n    if (typeof type === 'function') {\n      propTypes = type.propTypes;\n    } else if (typeof type === 'object' && (type.$$typeof === REACT_FORWARD_REF_TYPE || // Note: Memo only checks outer props here.\n    // Inner props are checked in the reconciler.\n    type.$$typeof === REACT_MEMO_TYPE)) {\n      propTypes = type.propTypes;\n    } else {\n      return;\n    }\n\n    if (propTypes) {\n      // Intentionally inside to avoid triggering lazy initializers:\n      var name = getComponentNameFromType(type);\n      checkPropTypes(propTypes, element.props, 'prop', name, element);\n    } else if (type.PropTypes !== undefined && !propTypesMisspellWarningShown) {\n      propTypesMisspellWarningShown = true; // Intentionally inside to avoid triggering lazy initializers:\n\n      var _name = getComponentNameFromType(type);\n\n      error('Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?', _name || 'Unknown');\n    }\n\n    if (typeof type.getDefaultProps === 'function' && !type.getDefaultProps.isReactClassApproved) {\n      error('getDefaultProps is only used on classic React.createClass ' + 'definitions. Use a static property named `defaultProps` instead.');\n    }\n  }\n}\n/**\n * Given a fragment, validate that it can only be provided with fragment props\n * @param {ReactElement} fragment\n */\n\n\nfunction validateFragmentProps(fragment) {\n  {\n    var keys = Object.keys(fragment.props);\n\n    for (var i = 0; i < keys.length; i++) {\n      var key = keys[i];\n\n      if (key !== 'children' && key !== 'key') {\n        setCurrentlyValidatingElement$1(fragment);\n\n        error('Invalid prop `%s` supplied to `React.Fragment`. ' + 'React.Fragment can only have `key` and `children` props.', key);\n\n        setCurrentlyValidatingElement$1(null);\n        break;\n      }\n    }\n\n    if (fragment.ref !== null) {\n      setCurrentlyValidatingElement$1(fragment);\n\n      error('Invalid attribute `ref` supplied to `React.Fragment`.');\n\n      setCurrentlyValidatingElement$1(null);\n    }\n  }\n}\n\nfunction jsxWithValidation(type, props, key, isStaticChildren, source, self) {\n  {\n    var validType = isValidElementType(type); // We warn in this case but don't throw. We expect the element creation to\n    // succeed and there will likely be errors in render.\n\n    if (!validType) {\n      var info = '';\n\n      if (type === undefined || typeof type === 'object' && type !== null && Object.keys(type).length === 0) {\n        info += ' You likely forgot to export your component from the file ' + \"it's defined in, or you might have mixed up default and named imports.\";\n      }\n\n      var sourceInfo = getSourceInfoErrorAddendum(source);\n\n      if (sourceInfo) {\n        info += sourceInfo;\n      } else {\n        info += getDeclarationErrorAddendum();\n      }\n\n      var typeString;\n\n      if (type === null) {\n        typeString = 'null';\n      } else if (isArray(type)) {\n        typeString = 'array';\n      } else if (type !== undefined && type.$$typeof === REACT_ELEMENT_TYPE) {\n        typeString = \"<\" + (getComponentNameFromType(type.type) || 'Unknown') + \" />\";\n        info = ' Did you accidentally export a JSX literal instead of a component?';\n      } else {\n        typeString = typeof type;\n      }\n\n      error('React.jsx: type is invalid -- expected a string (for ' + 'built-in components) or a class/function (for composite ' + 'components) but got: %s.%s', typeString, info);\n    }\n\n    var element = jsxDEV(type, props, key, source, self); // The result can be nullish if a mock or a custom function is used.\n    // TODO: Drop this when these are no longer allowed as the type argument.\n\n    if (element == null) {\n      return element;\n    } // Skip key warning if the type isn't valid since our key validation logic\n    // doesn't expect a non-string/function type and can throw confusing errors.\n    // We don't want exception behavior to differ between dev and prod.\n    // (Rendering will throw with a helpful message and as soon as the type is\n    // fixed, the key warnings will appear.)\n\n\n    if (validType) {\n      var children = props.children;\n\n      if (children !== undefined) {\n        if (isStaticChildren) {\n          if (isArray(children)) {\n            for (var i = 0; i < children.length; i++) {\n              validateChildKeys(children[i], type);\n            }\n\n            if (Object.freeze) {\n              Object.freeze(children);\n            }\n          } else {\n            error('React.jsx: Static children should always be an array. ' + 'You are likely explicitly calling React.jsxs or React.jsxDEV. ' + 'Use the Babel transform instead.');\n          }\n        } else {\n          validateChildKeys(children, type);\n        }\n      }\n    }\n\n    if (type === REACT_FRAGMENT_TYPE) {\n      validateFragmentProps(element);\n    } else {\n      validatePropTypes(element);\n    }\n\n    return element;\n  }\n} // These two functions exist to still get child warnings in dev\n// even with the prod transform. This means that jsxDEV is purely\n// opt-in behavior for better messages but that we won't stop\n// giving you warnings if you use production apis.\n\nfunction jsxWithValidationStatic(type, props, key) {\n  {\n    return jsxWithValidation(type, props, key, true);\n  }\n}\nfunction jsxWithValidationDynamic(type, props, key) {\n  {\n    return jsxWithValidation(type, props, key, false);\n  }\n}\n\nvar jsx =  jsxWithValidationDynamic ; // we may want to special case jsxs internally to take advantage of static children.\n// for now we can ship identical prod functions\n\nvar jsxs =  jsxWithValidationStatic ;\n\nexports.Fragment = REACT_FRAGMENT_TYPE;\nexports.jsx = jsx;\nexports.jsxs = jsxs;\n  })();\n}\n","'use strict';\nvar globalThis = require('../internals/global-this');\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar defineGlobalProperty = require('../internals/define-global-property');\nvar copyConstructorProperties = require('../internals/copy-constructor-properties');\nvar isForced = require('../internals/is-forced');\n\n/*\n  options.target         - name of the target object\n  options.global         - target is the global object\n  options.stat           - export as static methods of target\n  options.proto          - export as prototype methods of target\n  options.real           - real prototype method for the `pure` version\n  options.forced         - export even if the native feature is available\n  options.bind           - bind methods to the target, required for the `pure` version\n  options.wrap           - wrap constructors to preventing global pollution, required for the `pure` version\n  options.unsafe         - use the simple assignment of property instead of delete + defineProperty\n  options.sham           - add a flag to not completely full polyfills\n  options.enumerable     - export as enumerable property\n  options.dontCallGetSet - prevent calling a getter on target\n  options.name           - the .name of the function if it does not match the key\n*/\nmodule.exports = function (options, source) {\n  var TARGET = options.target;\n  var GLOBAL = options.global;\n  var STATIC = options.stat;\n  var FORCED, target, key, targetProperty, sourceProperty, descriptor;\n  if (GLOBAL) {\n    target = globalThis;\n  } else if (STATIC) {\n    target = globalThis[TARGET] || defineGlobalProperty(TARGET, {});\n  } else {\n    target = globalThis[TARGET] && globalThis[TARGET].prototype;\n  }\n  if (target) for (key in source) {\n    sourceProperty = source[key];\n    if (options.dontCallGetSet) {\n      descriptor = getOwnPropertyDescriptor(target, key);\n      targetProperty = descriptor && descriptor.value;\n    } else targetProperty = target[key];\n    FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);\n    // contained in target\n    if (!FORCED && targetProperty !== undefined) {\n      if (typeof sourceProperty == typeof targetProperty) continue;\n      copyConstructorProperties(sourceProperty, targetProperty);\n    }\n    // add a flag to not completely full polyfills\n    if (options.sham || (targetProperty && targetProperty.sham)) {\n      createNonEnumerableProperty(sourceProperty, 'sham', true);\n    }\n    defineBuiltIn(target, key, sourceProperty, options);\n  }\n};\n","module.exports = window.wp?.blocks;","'use strict';\nvar toPrimitive = require('../internals/to-primitive');\nvar isSymbol = require('../internals/is-symbol');\n\n// `ToPropertyKey` abstract operation\n// https://tc39.es/ecma262/#sec-topropertykey\nmodule.exports = function (argument) {\n  var key = toPrimitive(argument, 'string');\n  return isSymbol(key) ? key : key + '';\n};\n","'use strict';\nmodule.exports = function (exec) {\n  try {\n    return !!exec();\n  } catch (error) {\n    return true;\n  }\n};\n","'use strict';\nvar globalThis = require('../internals/global-this');\nvar shared = require('../internals/shared');\nvar hasOwn = require('../internals/has-own-property');\nvar uid = require('../internals/uid');\nvar NATIVE_SYMBOL = require('../internals/symbol-constructor-detection');\nvar USE_SYMBOL_AS_UID = require('../internals/use-symbol-as-uid');\n\nvar Symbol = globalThis.Symbol;\nvar WellKnownSymbolsStore = shared('wks');\nvar createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol['for'] || Symbol : Symbol && Symbol.withoutSetter || uid;\n\nmodule.exports = function (name) {\n  if (!hasOwn(WellKnownSymbolsStore, name)) {\n    WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn(Symbol, name)\n      ? Symbol[name]\n      : createWellKnownSymbol('Symbol.' + name);\n  } return WellKnownSymbolsStore[name];\n};\n","'use strict';\n// toObject with fallback for non-array-like ES3 strings\nvar IndexedObject = require('../internals/indexed-object');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\nmodule.exports = function (it) {\n  return IndexedObject(requireObjectCoercible(it));\n};\n","const CategoriesIcon = <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\">\n\t<rect x=\"0\" fill=\"none\" width=\"20\" height=\"20\" />\n\t<g>\n\t\t<path\n\t\t\tfill=\"#044567\"\n\t\t\td=\"M19 17V2c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v15c0 .55.45 1 1 1h15c.55 0 1-.45 1-1z M4 3h13v4H4V3z M5 4h3v2H5V4zm4 0h3v2H9V4zm4 0h3v2H13V4z M4.5 9 c .28 0 .5 .22 .5 .5s-.22.5-.5.5s-.5-.22-.5-.5s.22-.5 .5-.5z M6 9h4v1H6v-1z M4.5 12 c .28 0 .5 .22 .5 .5s-.22.5-.5.5s-.5-.22-.5-.5s.22-.5 .5-.5z M6 12h4v1H6v-1z M4.5 15 c .28 0 .5 .22 .5 .5s-.22.5-.5.5s-.5-.22-.5-.5s.22-.5 .5-.5z M6 15h4v1H6v-1z M12 10 H15.5 L17 12.5 L15.5 15 H12 V10 Z M13 12.5 m -0.6 0 a 0.6 0.6 0 1 0 1.2 0 a 0.6 0.6 0 1 0 -1.2 0\" />\n\t</g>\n</svg>;\n\nexport default CategoriesIcon;\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar hasOwn = require('../internals/has-own-property');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar indexOf = require('../internals/array-includes').indexOf;\nvar hiddenKeys = require('../internals/hidden-keys');\n\nvar push = uncurryThis([].push);\n\nmodule.exports = function (object, names) {\n  var O = toIndexedObject(object);\n  var i = 0;\n  var result = [];\n  var key;\n  for (key in O) !hasOwn(hiddenKeys, key) && hasOwn(O, key) && push(result, key);\n  // Don't enum bug & hidden keys\n  while (names.length > i) if (hasOwn(O, key = names[i++])) {\n    ~indexOf(result, key) || push(result, key);\n  }\n  return result;\n};\n","'use strict';\nvar isObject = require('../internals/is-object');\n\nvar $String = String;\nvar $TypeError = TypeError;\n\n// `Assert: Type(argument) is Object`\nmodule.exports = function (argument) {\n  if (isObject(argument)) return argument;\n  throw new $TypeError($String(argument) + ' is not an object');\n};\n","'use strict';\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\nvar $Object = Object;\n\n// `ToObject` abstract operation\n// https://tc39.es/ecma262/#sec-toobject\nmodule.exports = function (argument) {\n  return $Object(requireObjectCoercible(argument));\n};\n","'use strict';\nvar globalThis = require('../internals/global-this');\nvar isCallable = require('../internals/is-callable');\n\nvar WeakMap = globalThis.WeakMap;\n\nmodule.exports = isCallable(WeakMap) && /native code/.test(String(WeakMap));\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar toObject = require('../internals/to-object');\n\nvar hasOwnProperty = uncurryThis({}.hasOwnProperty);\n\n// `HasOwnProperty` abstract operation\n// https://tc39.es/ecma262/#sec-hasownproperty\n// eslint-disable-next-line es/no-object-hasown -- safe\nmodule.exports = Object.hasOwn || function hasOwn(it, key) {\n  return hasOwnProperty(toObject(it), key);\n};\n","'use strict';\nmodule.exports = function (bitmap, value) {\n  return {\n    enumerable: !(bitmap & 1),\n    configurable: !(bitmap & 2),\n    writable: !(bitmap & 4),\n    value: value\n  };\n};\n","'use strict';\n// IE8- don't enum bug keys\nmodule.exports = [\n  'constructor',\n  'hasOwnProperty',\n  'isPrototypeOf',\n  'propertyIsEnumerable',\n  'toLocaleString',\n  'toString',\n  'valueOf'\n];\n","// extracted by mini-css-extract-plugin\nexport default {\"wrap\":\"preview__wrap__BD\",\"placeholder\":\"preview__placeholder__HI\",\"error\":\"preview__error__Nl\",\"spin-wrap\":\"preview__spin-wrap__o0\",\"spinWrap\":\"preview__spin-wrap__o0\",\"spin\":\"preview__spin__Oj\",\"spin-content\":\"preview__spin-content__uC\",\"spinContent\":\"preview__spin-content__uC\"};","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this-clause');\nvar aCallable = require('../internals/a-callable');\nvar NATIVE_BIND = require('../internals/function-bind-native');\n\nvar bind = uncurryThis(uncurryThis.bind);\n\n// optional / simple context binding\nmodule.exports = function (fn, that) {\n  aCallable(fn);\n  return that === undefined ? fn : NATIVE_BIND ? bind(fn, that) : function (/* ...args */) {\n    return fn.apply(that, arguments);\n  };\n};\n","import {useSelect} from '@wordpress/data';\nimport {CONFIG} from '../../../globals/config';\nimport DOMPurify from 'dompurify';\nimport {BlockControls, InspectorControls} from '@wordpress/block-editor';\nimport Preview from '../Preview';\nimport {Attr, block} from './block';\nimport {Taxonomy} from '@wordpress/api/taxonomies';\nimport {BlockEditProps} from '@wordpress/blocks';\nimport ErrorBoundary from '../../../components/ErrorBoundary';\nimport Display from '../Display';\nimport {CheckboxControl, PanelBody, SelectControl, Slot, TextControl} from '@wordpress/components';\nimport {__, sprintf} from '@wordpress/i18n';\nimport InfoPanel from '../InfoPanel';\nimport SideLoad from '../../SideLoad';\nimport {isScreen} from '../../helpers';\nimport ExcludeField from '../ExcludeField';\n\nimport styles from '../pages/edit.pcss';\n\n\nexport type FillProps =\n\tPick<BlockEditProps<Attr>, 'clientId' | 'attributes' | 'setAttributes' | 'name'>\n\t& { type?: Taxonomy }\n\ntype Props = BlockEditProps<Attr>;\n\nconst Edit = ( {attributes, setAttributes, clientId, name}: Props ) => {\n\tconst taxonomy: Taxonomy<'edit'> | undefined = useSelect( select => {\n\t\tconst type = select( 'core' ).getTaxonomy( attributes.taxonomy ?? 'category' );\n\t\treturn type ?? select( 'core' ).getTaxonomy( 'category' );\n\t}, [ attributes.taxonomy ] );\n\n\t// We have a version conflict or license error.\n\tif ( '' !== CONFIG.error ) {\n\t\treturn ( <>\n\t\t\t<InspectorControls>\n\t\t\t\t<div\n\t\t\t\t\tclassName={styles.error}\n\t\t\t\t\tdangerouslySetInnerHTML={{__html: DOMPurify.sanitize( CONFIG.error )}} />\n\t\t\t</InspectorControls>\n\t\t\t<Preview<Attr> attributes={attributes} block={block.id} clientId={clientId} />\n\t\t</> );\n\t}\n\n\tconst fillProps: FillProps = {\n\t\ttype: taxonomy,\n\t\tattributes,\n\t\tname,\n\t\tsetAttributes,\n\t\tclientId,\n\t};\n\n\treturn ( <>\n\t\t<InspectorControls>\n\t\t\t<div className={'components-panel__body is-opened'}>\n\t\t\t\t<a\n\t\t\t\t\thref={CONFIG.docs.category}\n\t\t\t\t\ttarget=\"_blank\"\n\t\t\t\t\trel=\"noopener noreferrer\"\n\t\t\t\t>\n\t\t\t\t\t{__( 'Documentation', 'advanced-sidebar-menu' )}\n\t\t\t\t</a>\n\t\t\t</div>\n\t\t</InspectorControls>\n\t\t<InspectorControls>\n\t\t\t{isScreen( [ 'widgets', 'site-editor', 'customize' ] ) && <PanelBody>\n\t\t\t\t<TextControl\n\t\t\t\t\tvalue={attributes.title ?? ''}\n\t\t\t\t\tlabel={__( 'Title', 'advanced-sidebar-menu' )}\n\t\t\t\t\tonChange={title => setAttributes( {title} )}\n\t\t\t\t\t// @ts-expect-error -- Not technically supported until WP 6.7\n\t\t\t\t\t__nextHasNoMarginBottom\n\t\t\t\t/>\n\t\t\t</PanelBody>}\n\t\t\t<ErrorBoundary attributes={attributes} block={name} section={'categories/Edit/general'}>\n\t\t\t\t<Display\n\t\t\t\t\tattributes={attributes}\n\t\t\t\t\tclientId={clientId}\n\t\t\t\t\tname={name}\n\t\t\t\t\tsetAttributes={setAttributes}\n\t\t\t\t\ttype={taxonomy}\n\t\t\t\t>\n\t\t\t\t\t{/* Not offering \"Display categories on single posts\"\n\t\t                when editing a post because this must be true, or\n\t\t                the block won't display.\n\n\t\t                We default the attribute to `true` if we are editing\n\t\t                a post during register of block attributes. */}\n\t\t\t\t\t{! isScreen( [ 'post' ] ) && <CheckboxControl\n\t\t\t\t\t\t/* translators: %s: Selected taxonomy plural label */\n\t\t\t\t\t\tlabel={sprintf( __( 'Display %s on single posts', 'advanced-sidebar-menu' ), taxonomy?.labels?.name.toLowerCase() ?? '' )}\n\t\t\t\t\t\tchecked={attributes.single}\n\t\t\t\t\t\tonChange={value => {\n\t\t\t\t\t\t\tsetAttributes( {\n\t\t\t\t\t\t\t\tsingle: value,\n\t\t\t\t\t\t\t} );\n\t\t\t\t\t\t}}\n\t\t\t\t\t\t// @ts-expect-error -- Not technically available until WP 6.7.\n\t\t\t\t\t\t__nextHasNoMarginBottom\n\t\t\t\t\t/>}\n\t\t\t\t\t{/*\n\t\t\t\t\t\t  Only widget screens support this option because we\n\t\t\t\t\t\t  have no widget wrap to use on other screens, so they are\n\t\t\t\t\t\t  list only. */}\n\t\t\t\t\t{isScreen( [ 'widgets', 'customize' ] ) && attributes.single &&\n\t\t\t\t\t\t<SelectControl<'list' | 'widget'>\n\t\t\t\t\t\t\t/* translators: %s: Selected taxonomy single label */\n\t\t\t\t\t\t\tlabel={sprintf( __( 'Display each single post\\'s %s', 'advanced-sidebar-menu' ), taxonomy?.labels?.name.toLowerCase() ?? '' )}\n\t\t\t\t\t\t\tvalue={attributes.new_widget}\n\t\t\t\t\t\t\toptions={Object.keys( CONFIG.categories.displayEach ).map( ( key: 'list' | 'widget' ) => ( {\n\t\t\t\t\t\t\t\tvalue: key,\n\t\t\t\t\t\t\t\tlabel: CONFIG.categories.displayEach[ key ],\n\t\t\t\t\t\t\t} ) )}\n\t\t\t\t\t\t\t/* eslint-disable-next-line camelcase */\n\t\t\t\t\t\t\tonChange={new_widget => setAttributes( {new_widget} )}\n\t\t\t\t\t\t/>}\n\t\t\t\t</Display>\n\n\t\t\t\t<div className={'components-panel__body is-opened'}>\n\n\t\t\t\t\t<Slot<FillProps>\n\t\t\t\t\t\tname=\"advanced-sidebar-menu/categories/general\"\n\t\t\t\t\t\tfillProps={fillProps} />\n\n\t\t\t\t\t<ExcludeField\n\t\t\t\t\t\ttype={taxonomy}\n\t\t\t\t\t\tattributes={attributes}\n\t\t\t\t\t\tsetAttributes={setAttributes} />\n\n\t\t\t\t</div>\n\t\t\t</ErrorBoundary>\n\t\t\t<ErrorBoundary\n\t\t\t\tattributes={attributes}\n\t\t\t\tblock={name}\n\t\t\t\tsection={'categories/Edit/inspector'}\n\t\t\t>\n\t\t\t\t<Slot<FillProps>\n\t\t\t\t\tname=\"advanced-sidebar-menu/categories/inspector\"\n\t\t\t\t\tfillProps={fillProps} />\n\n\t\t\t</ErrorBoundary>\n\t\t</InspectorControls>\n\n\t\t<BlockControls>\n\t\t\t<ErrorBoundary\n\t\t\t\tattributes={attributes}\n\t\t\t\tblock={name}\n\t\t\t\tsection={'categories/Edit/block-controls'}\n\t\t\t>\n\t\t\t\t<Slot<FillProps>\n\t\t\t\t\tname=\"advanced-sidebar-menu/categories/block-controls\"\n\t\t\t\t\tfillProps={fillProps} />\n\t\t\t</ErrorBoundary>\n\t\t</BlockControls>\n\n\n\t\t<InfoPanel clientId={clientId} />\n\n\t\t<ErrorBoundary attributes={attributes} block={name} section={'categories/Edit/preview'}>\n\t\t\t<Preview<Attr> attributes={attributes} block={block.id} clientId={clientId} />\n\t\t</ErrorBoundary>\n\n\t\t<SideLoad clientId={clientId} />\n\n\t</> );\n};\n\nexport default Edit;\n","'use strict';\nvar call = require('../internals/function-call');\nvar isCallable = require('../internals/is-callable');\nvar isObject = require('../internals/is-object');\n\nvar $TypeError = TypeError;\n\n// `OrdinaryToPrimitive` abstract operation\n// https://tc39.es/ecma262/#sec-ordinarytoprimitive\nmodule.exports = function (input, pref) {\n  var fn, val;\n  if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;\n  if (isCallable(fn = input.valueOf) && !isObject(val = call(fn, input))) return val;\n  if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;\n  throw new $TypeError(\"Can't convert object to primitive value\");\n};\n","'use strict';\nvar isCallable = require('../internals/is-callable');\n\nmodule.exports = function (it) {\n  return typeof it == 'object' ? it !== null : isCallable(it);\n};\n","import {withFilters} from '@wordpress/components';\nimport {select} from '@wordpress/data';\nimport {isEmpty} from 'lodash';\n\ntype Props = {\n\tclientId: string;\n};\n\nlet firstClientId = '';\n/**\n * The customizer area does not include a `PluginArea` component,\n * so our slot fills do not load.\n *\n * We can use filters, but the Fills double up each time\n * another block is added to the page.\n *\n * Track the clientId of the first block we add the Fill to\n * and only return the Fill for that block. The rest of the blocks\n * inherit the Fill from the first block via their Slots.\n */\nconst SideLoad = ( {clientId, children} ) => {\n\tif ( ! isEmpty( firstClientId ) && clientId !== firstClientId ) {\n\t\t// Make sure block still exists.\n\t\tif ( -1 !== select( 'core/block-editor' ).getBlockIndex( firstClientId ) ) {\n\t\t\treturn null;\n\t\t}\n\t}\n\tfirstClientId = clientId;\n\treturn children ?? null;\n};\n\nexport default withFilters<Props>( 'advanced-sidebar-menu.blocks.side-load' )( SideLoad );\n","import {Component, ErrorInfo, PropsWithChildren} from 'react';\nimport {CONFIG} from '../globals/config';\nimport {addQueryArgs} from '@wordpress/url';\nimport DOMPurify from 'dompurify';\n\nconst {sanitize} = DOMPurify;\n\ntype Props = {\n\tattributes: object,\n\tblock: string;\n\tsection: string;\n}\n\n/**\n * Wrap any component in me, which may throw errors, and I will\n * prevent the entire UI from disappearing.\n *\n * Custom version special to Advanced Sidebar Menu with links to\n * support as well as debugging information.\n *\n * @link https://reactjs.org/docs/error-boundaries.html#introducing-error-boundaries\n */\nclass ErrorBoundary extends Component<PropsWithChildren<Props>, {\n\thasError: boolean,\n\terror: Error | null\n}> {\n\tconstructor( props: Props ) {\n\t\tsuper( props );\n\t\tthis.state = {\n\t\t\thasError: false,\n\t\t\terror: null,\n\t\t};\n\t}\n\n\tstatic getDerivedStateFromError() {\n\t\t// Update state, so the next render will show the fallback UI.\n\t\treturn {\n\t\t\thasError: true,\n\t\t};\n\t}\n\n\t/**\n\t * Log information about the error when it happens.\n\t *\n\t * @notice Will log \"Error: A cross-origin error was thrown. React doesn't have\n\t *         access to the actual error object in development\" in React development\n\t *         mode but provides full error info in React production.\n\t */\n\tcomponentDidCatch( error: Error, info: ErrorInfo ) {\n\t\tconsole.warn( '%cError caught by the Advanced Sidebar ErrorBoundary!', 'color:orange; font-size: large; font-weight: bold' );\n\t\tconsole.warn( this.props );\n\t\tconsole.warn( error );\n\t\tconsole.warn( info );\n\t\tthis.setState( {\n\t\t\terror,\n\t\t} );\n\t}\n\n\trender() {\n\t\tif ( this.state.hasError ) {\n\t\t\tif ( ! CONFIG.siteInfo.scriptDebug ) {\n\t\t\t\treturn ( <div className={'components-panel__body is-opened'}>\n\t\t\t\t\t<h4 style={{color: 'red'}}>\n\t\t\t\t\t\tSomething went wrong!\n\t\t\t\t\t</h4>\n\t\t\t\t\t<p>\n\t\t\t\t\t\t<button\n\t\t\t\t\t\t\tclassName={'components-button is-link'}\n\t\t\t\t\t\t\tonClick={e => {\n\t\t\t\t\t\t\t\te.preventDefault();\n\t\t\t\t\t\t\t\tconst location = addQueryArgs( sanitize( window.location.href ), {\n\t\t\t\t\t\t\t\t\t'script-debug': 'true',\n\t\t\t\t\t\t\t\t} );\n\t\t\t\t\t\t\t\twindow.open( sanitize( location ), '_blank', 'noopener,noreferrer' );\n\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\tPlease enable script debug\n\t\t\t\t\t\t</button>\n\t\t\t\t\t\tto retrieve error information.\n\t\t\t\t\t</p>\n\t\t\t\t</div> );\n\t\t\t}\n\t\t\treturn (\n\t\t\t\t<div className={'components-panel__body is-opened'}>\n\t\t\t\t\t<h4 style={{color: 'red'}}>\n\t\t\t\t\t\tSomething went wrong!\n\t\t\t\t\t</h4>\n\t\t\t\t\t<p>\n\t\t\t\t\t\t<button\n\t\t\t\t\t\t\tclassName={'components-button is-link'}\n\t\t\t\t\t\t\tonClick={e => {\n\t\t\t\t\t\t\t\te.preventDefault();\n\t\t\t\t\t\t\t\twindow.open( sanitize( CONFIG.support ), '_blank', 'noopener,noreferrer' );\n\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\tPlease create a support request\n\t\t\t\t\t\t</button>\n\t\t\t\t\t\t&nbsp;with the following information:\n\t\t\t\t\t</p>\n\t\t\t\t\t<ol>\n\t\t\t\t\t\t<li>\n\t\t\t\t\t\t\t<button\n\t\t\t\t\t\t\t\tclassName={'components-button is-link'}\n\t\t\t\t\t\t\t\tonClick={e => {\n\t\t\t\t\t\t\t\t\te.preventDefault();\n\t\t\t\t\t\t\t\t\twindow.open( 'https://onpointplugins.com/how-to-retrieve-console-logs-from-your-browser/', '_blank', 'noopener,noreferrer' );\n\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\tThe logs from your browser console.\n\t\t\t\t\t\t\t</button>\n\t\t\t\t\t\t</li>\n\t\t\t\t\t\t<li>\n\t\t\t\t\t\t\tThe following information.\n\t\t\t\t\t\t</li>\n\t\t\t\t\t</ol>\n\n\t\t\t\t\t<div\n\t\t\t\t\t\tstyle={{\n\t\t\t\t\t\t\tborder: '2px groove',\n\t\t\t\t\t\t\tpadding: '10px',\n\t\t\t\t\t\t\twidth: '100%',\n\t\t\t\t\t\t\toverflowWrap: 'break-word',\n\t\t\t\t\t\t}}\n\t\t\t\t\t>\n\t\t\t\t\t\t<p>\n\t\t\t\t\t\t\t<strong><em>Section</em></strong> <br />\n\t\t\t\t\t\t\t<code>\n\t\t\t\t\t\t\t\t{this.props.section}\n\t\t\t\t\t\t\t</code>\n\t\t\t\t\t\t</p>\n\t\t\t\t\t\t<p>\n\t\t\t\t\t\t\t<strong><em>Screen</em></strong> <br />\n\t\t\t\t\t\t\t<code>\n\t\t\t\t\t\t\t\t{CONFIG.currentScreen}\n\t\t\t\t\t\t\t</code>\n\t\t\t\t\t\t</p>\n\t\t\t\t\t\t<p>\n\t\t\t\t\t\t\t<strong><em>Message</em></strong> <br />\n\t\t\t\t\t\t\t<code>\n\t\t\t\t\t\t\t\t{this.state.error?.message}\n\t\t\t\t\t\t\t</code>\n\t\t\t\t\t\t</p>\n\t\t\t\t\t\t<p>\n\t\t\t\t\t\t\t<strong><em>Block</em></strong> <br />\n\t\t\t\t\t\t\t<code>\n\t\t\t\t\t\t\t\t{this.props.block}\n\t\t\t\t\t\t\t</code>\n\t\t\t\t\t\t</p>\n\t\t\t\t\t\t<p>\n\t\t\t\t\t\t\t<strong><em>Attributes</em></strong> <br />\n\t\t\t\t\t\t\t<code>\n\t\t\t\t\t\t\t\t{JSON.stringify( this.props.attributes )}\n\t\t\t\t\t\t\t</code>\n\t\t\t\t\t\t</p>\n\t\t\t\t\t\t<p>\n\t\t\t\t\t\t\t<strong><em>Site Info</em></strong> <br />\n\t\t\t\t\t\t\t<code>\n\t\t\t\t\t\t\t\t{JSON.stringify( CONFIG.siteInfo )}\n\t\t\t\t\t\t\t</code>\n\t\t\t\t\t\t</p>\n\t\t\t\t\t\t<p>\n\t\t\t\t\t\t\t<strong><em>Stack</em></strong> <br />\n\t\t\t\t\t\t\t<code>\n\t\t\t\t\t\t\t\t{this.state.error?.stack}\n\t\t\t\t\t\t\t</code>\n\t\t\t\t\t\t</p>\n\t\t\t\t\t</div>\n\t\t\t\t\t<p>\n\t\t\t\t\t\t&nbsp;\n\t\t\t\t\t</p>\n\t\t\t\t\t<p>\n\t\t\t\t\t\t&nbsp;\n\t\t\t\t\t</p>\n\t\t\t\t</div>\n\t\t\t);\n\t\t}\n\n\t\treturn this.props.children;\n\t}\n}\n\nexport default ErrorBoundary;\n","module.exports = window.wp?.hooks;","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar isCallable = require('../internals/is-callable');\nvar store = require('../internals/shared-store');\n\nvar functionToString = uncurryThis(Function.toString);\n\n// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper\nif (!isCallable(store.inspectSource)) {\n  store.inspectSource = function (it) {\n    return functionToString(it);\n  };\n}\n\nmodule.exports = store.inspectSource;\n","module.exports = window.wp?.serverSideRender;","'use strict';\n\nvar m = require('react-dom');\nif (process.env.NODE_ENV === 'production') {\n  exports.createRoot = m.createRoot;\n  exports.hydrateRoot = m.hydrateRoot;\n} else {\n  var i = m.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;\n  exports.createRoot = function(c, o) {\n    i.usingClientEntryPoint = true;\n    try {\n      return m.createRoot(c, o);\n    } finally {\n      i.usingClientEntryPoint = false;\n    }\n  };\n  exports.hydrateRoot = function(c, h, o) {\n    i.usingClientEntryPoint = true;\n    try {\n      return m.hydrateRoot(c, h, o);\n    } finally {\n      i.usingClientEntryPoint = false;\n    }\n  };\n}\n","'use strict';\nvar hasOwn = require('../internals/has-own-property');\nvar isCallable = require('../internals/is-callable');\nvar toObject = require('../internals/to-object');\nvar sharedKey = require('../internals/shared-key');\nvar CORRECT_PROTOTYPE_GETTER = require('../internals/correct-prototype-getter');\n\nvar IE_PROTO = sharedKey('IE_PROTO');\nvar $Object = Object;\nvar ObjectPrototype = $Object.prototype;\n\n// `Object.getPrototypeOf` method\n// https://tc39.es/ecma262/#sec-object.getprototypeof\n// eslint-disable-next-line es/no-object-getprototypeof -- safe\nmodule.exports = CORRECT_PROTOTYPE_GETTER ? $Object.getPrototypeOf : function (O) {\n  var object = toObject(O);\n  if (hasOwn(object, IE_PROTO)) return object[IE_PROTO];\n  var constructor = object.constructor;\n  if (isCallable(constructor) && object instanceof constructor) {\n    return constructor.prototype;\n  } return object instanceof $Object ? ObjectPrototype : null;\n};\n","'use strict';\nvar call = require('../internals/function-call');\nvar isObject = require('../internals/is-object');\nvar isSymbol = require('../internals/is-symbol');\nvar getMethod = require('../internals/get-method');\nvar ordinaryToPrimitive = require('../internals/ordinary-to-primitive');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar $TypeError = TypeError;\nvar TO_PRIMITIVE = wellKnownSymbol('toPrimitive');\n\n// `ToPrimitive` abstract operation\n// https://tc39.es/ecma262/#sec-toprimitive\nmodule.exports = function (input, pref) {\n  if (!isObject(input) || isSymbol(input)) return input;\n  var exoticToPrim = getMethod(input, TO_PRIMITIVE);\n  var result;\n  if (exoticToPrim) {\n    if (pref === undefined) pref = 'default';\n    result = call(exoticToPrim, input, pref);\n    if (!isObject(result) || isSymbol(result)) return result;\n    throw new $TypeError(\"Can't convert object to primitive value\");\n  }\n  if (pref === undefined) pref = 'number';\n  return ordinaryToPrimitive(input, pref);\n};\n","'use strict';\nmodule.exports = {};\n","'use strict';\nvar $ = require('../internals/export');\nvar call = require('../internals/function-call');\nvar iterate = require('../internals/iterate');\nvar aCallable = require('../internals/a-callable');\nvar anObject = require('../internals/an-object');\nvar getIteratorDirect = require('../internals/get-iterator-direct');\nvar iteratorClose = require('../internals/iterator-close');\nvar iteratorHelperWithoutClosingOnEarlyError = require('../internals/iterator-helper-without-closing-on-early-error');\n\nvar forEachWithoutClosingOnEarlyError = iteratorHelperWithoutClosingOnEarlyError('forEach', TypeError);\n\n// `Iterator.prototype.forEach` method\n// https://tc39.es/ecma262/#sec-iterator.prototype.foreach\n$({ target: 'Iterator', proto: true, real: true, forced: forEachWithoutClosingOnEarlyError }, {\n  forEach: function forEach(fn) {\n    anObject(this);\n    try {\n      aCallable(fn);\n    } catch (error) {\n      iteratorClose(this, 'throw', error);\n    }\n\n    if (forEachWithoutClosingOnEarlyError) return call(forEachWithoutClosingOnEarlyError, this, fn);\n\n    var record = getIteratorDirect(this);\n    var counter = 0;\n    iterate(record, function (value) {\n      fn(value, counter++);\n    }, { IS_RECORD: true });\n  }\n});\n","import type {BlockSettings, LegacyWidget} from '@wordpress/blocks';\nimport {CONFIG} from '../../../globals/config';\nimport Edit from './Edit';\nimport type {DisplayOptions} from '../Display';\nimport {getBlockSupports, transformLegacyWidget, translateBlockAttributes} from '../../helpers';\nimport {__} from '@wordpress/i18n';\nimport type {CommonAttr} from '../Preview';\nimport PagesIcon from './PagesIcon';\n\n/**\n * Attributes specific to the widget as well as shared\n * widget attributes.\n *\n * @see \\Advanced_Sidebar_Menu\\Blocks\\Pages::get_attributes\n * @see \\Advanced_Sidebar_Menu\\Blocks\\Common\n */\nexport type Attr = {\n\texclude: string;\n\torder_by: string;\n} & DisplayOptions & ProRegistered & CommonAttr;\n\n// Options used by basic when available from PRO.\ntype ProRegistered = {\n\tpost_type?: string;\n}\n\nexport type setAttributes = ( newValue: {\n\t[attribute in keyof Attr]?: Attr[attribute]\n} ) => void;\n\n\n/**\n * Attributes used for the example preview.\n * Combines some PRO and basic attributes.\n * The PRO attributes will only be sent if PRO is active.\n */\nconst EXAMPLE = {\n\tapply_current_page_parent_styles_to_parent: true,\n\tapply_current_page_styles_to_parent: true,\n\tblock_style: true,\n\tborder: true,\n\tborder_color: '#333',\n\tbullet_style: 'none',\n\tchild_page_bg_color: '#666',\n\tchild_page_color: '#fff',\n\tcurrent_page_bg_color: '#282828',\n\tcurrent_page_color: '#0cc4c6',\n\tcurrent_page_font_weight: 'normal',\n\tcurrent_page_parent_bg_color: '#333',\n\tdisplay_all: true,\n\tgrandchild_page_bg_color: '#989898',\n\tgrandchild_page_color: '#282828',\n\tgrandchild_page_font_weight: 'bold',\n\tinclude_childless_parent: true,\n\tinclude_parent: true,\n\tlevels: 2,\n\tparent_page_bg_color: '#666',\n\tparent_page_color: '#fff',\n};\n\nexport const block = CONFIG.blocks.pages;\n\nexport const name = block.id;\n\nexport const settings: BlockSettings<Attr, '', LegacyWidget<Attr & { title: string }>> = {\n\ttitle: __( 'Advanced Sidebar - Pages', 'advanced-sidebar-menu' ),\n\ticon: PagesIcon,\n\tcategory: 'widgets',\n\tdescription: __( 'Creates a menu of all the pages using the parent/child relationship', 'advanced-sidebar-menu' ),\n\texample: {\n\t\tattributes: EXAMPLE,\n\t},\n\ttransforms: {\n\t\tfrom: [\n\t\t\t{\n\t\t\t\ttype: 'block',\n\t\t\t\tblocks: [ 'core/legacy-widget' ],\n\t\t\t\tisMatch: ( {idBase, instance} ) => {\n\t\t\t\t\tif ( null === instance?.raw ) {\n\t\t\t\t\t\t// Can't transform if the raw instance is not shown in REST API.\n\t\t\t\t\t\treturn false;\n\t\t\t\t\t}\n\t\t\t\t\treturn 'advanced_sidebar_menu' === idBase;\n\t\t\t\t},\n\t\t\t\ttransform: transformLegacyWidget<Attr>( name ),\n\t\t\t},\n\t\t],\n\t},\n\tattributes: translateBlockAttributes<Attr>( block.attributes ),\n\tsupports: getBlockSupports(),\n\tedit: props => (\n\t\t<Edit {...props} />\n\t),\n\tsave: () => null,\n\tapiVersion: 3,\n};\n","'use strict';\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\n\nvar $TypeError = TypeError;\n\nmodule.exports = function (it, Prototype) {\n  if (isPrototypeOf(Prototype, it)) return it;\n  throw new $TypeError('Incorrect invocation');\n};\n","'use strict';\nvar toLength = require('../internals/to-length');\n\n// `LengthOfArrayLike` abstract operation\n// https://tc39.es/ecma262/#sec-lengthofarraylike\nmodule.exports = function (obj) {\n  return toLength(obj.length);\n};\n","const NavigationIcon = <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\">\n\t<rect x=\"0\" fill=\"none\" width=\"20\" height=\"20\" />\n\t<g>\n\t\t<path\n\t\t\tfill=\"#044567\"\n\t\t\td=\"M19 17V2c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v15c0 .55.45 1 1 1h15c.55 0 1-.45 1-1z M4 3h13v4H4V3z M5 4h3v2H5V4zm4 0h3v2H9V4zm4 0h3v2H13V4z M4.5 9 c .28 0 .5 .22 .5 .5s-.22.5-.5.5s-.5-.22-.5-.5s.22-.5 .5-.5z M6 9h4v1H6v-1z M4.5 12 c .28 0 .5 .22 .5 .5s-.22.5-.5.5s-.5-.22-.5-.5s.22-.5 .5-.5z M6 12h4v1H6v-1z M4.5 15 c .28 0 .5 .22 .5 .5s-.22.5-.5.5s-.5-.22-.5-.5s.22-.5 .5-.5z M6 15h4v1H6v-1z M12.5 10.5 h4v1h-4v-1z M12.5 12 h4v1h-4v-1z M12.5 13.5 h4v1h-4v-1z\" />\n\t</g>\n</svg>;\n\nexport default NavigationIcon;\n","'use strict';\nvar fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\nvar isObject = require('../internals/is-object');\nvar create = require('../internals/object-create');\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar IS_PURE = require('../internals/is-pure');\n\nvar ITERATOR = wellKnownSymbol('iterator');\nvar BUGGY_SAFARI_ITERATORS = false;\n\n// `%IteratorPrototype%` object\n// https://tc39.es/ecma262/#sec-%iteratorprototype%-object\nvar IteratorPrototype, PrototypeOfArrayIteratorPrototype, arrayIterator;\n\n/* eslint-disable es/no-array-prototype-keys -- safe */\nif ([].keys) {\n  arrayIterator = [].keys();\n  // Safari 8 has buggy iterators w/o `next`\n  if (!('next' in arrayIterator)) BUGGY_SAFARI_ITERATORS = true;\n  else {\n    PrototypeOfArrayIteratorPrototype = getPrototypeOf(getPrototypeOf(arrayIterator));\n    if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype = PrototypeOfArrayIteratorPrototype;\n  }\n}\n\nvar NEW_ITERATOR_PROTOTYPE = !isObject(IteratorPrototype) || fails(function () {\n  var test = {};\n  // FF44- legacy iterators case\n  return IteratorPrototype[ITERATOR].call(test) !== test;\n});\n\nif (NEW_ITERATOR_PROTOTYPE) IteratorPrototype = {};\nelse if (IS_PURE) IteratorPrototype = create(IteratorPrototype);\n\n// `%IteratorPrototype%[@@iterator]()` method\n// https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator\nif (!isCallable(IteratorPrototype[ITERATOR])) {\n  defineBuiltIn(IteratorPrototype, ITERATOR, function () {\n    return this;\n  });\n}\n\nmodule.exports = {\n  IteratorPrototype: IteratorPrototype,\n  BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS\n};\n","module.exports = window.wp?.richText;","'use strict';\nvar getBuiltIn = require('../internals/get-built-in');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar getOwnPropertyNamesModule = require('../internals/object-get-own-property-names');\nvar getOwnPropertySymbolsModule = require('../internals/object-get-own-property-symbols');\nvar anObject = require('../internals/an-object');\n\nvar concat = uncurryThis([].concat);\n\n// all object keys, includes non-enumerable and symbols\nmodule.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {\n  var keys = getOwnPropertyNamesModule.f(anObject(it));\n  var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;\n  return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys;\n};\n","module.exports = window.wp?.i18n;","'use strict';\nvar TO_STRING_TAG_SUPPORT = require('../internals/to-string-tag-support');\nvar isCallable = require('../internals/is-callable');\nvar classofRaw = require('../internals/classof-raw');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\nvar $Object = Object;\n\n// ES3 wrong here\nvar CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) === 'Arguments';\n\n// fallback for IE11 Script Access Denied error\nvar tryGet = function (it, key) {\n  try {\n    return it[key];\n  } catch (error) { /* empty */ }\n};\n\n// getting tag from ES6+ `Object.prototype.toString`\nmodule.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {\n  var O, tag, result;\n  return it === undefined ? 'Undefined' : it === null ? 'Null'\n    // @@toStringTag case\n    : typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag\n    // builtinTag case\n    : CORRECT_ARGUMENTS ? classofRaw(O)\n    // ES3 arguments fallback\n    : (result = classofRaw(O)) === 'Object' && isCallable(O.callee) ? 'Arguments' : result;\n};\n","'use strict';\nmodule.exports = {};\n","'use strict';\nvar trunc = require('../internals/math-trunc');\n\n// `ToIntegerOrInfinity` abstract operation\n// https://tc39.es/ecma262/#sec-tointegerorinfinity\nmodule.exports = function (argument) {\n  var number = +argument;\n  // eslint-disable-next-line no-self-compare -- NaN check\n  return number !== number || number === 0 ? 0 : trunc(number);\n};\n","'use strict';\n/* eslint-disable es/no-symbol -- required for testing */\nvar NATIVE_SYMBOL = require('../internals/symbol-constructor-detection');\n\nmodule.exports = NATIVE_SYMBOL &&\n  !Symbol.sham &&\n  typeof Symbol.iterator == 'symbol';\n","'use strict';\nvar makeBuiltIn = require('../internals/make-built-in');\nvar defineProperty = require('../internals/object-define-property');\n\nmodule.exports = function (target, name, descriptor) {\n  if (descriptor.get) makeBuiltIn(descriptor.get, name, { getter: true });\n  if (descriptor.set) makeBuiltIn(descriptor.set, name, { setter: true });\n  return defineProperty.f(target, name, descriptor);\n};\n","module.exports = ReactDOM;","'use strict';\nvar NATIVE_WEAK_MAP = require('../internals/weak-map-basic-detection');\nvar globalThis = require('../internals/global-this');\nvar isObject = require('../internals/is-object');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar hasOwn = require('../internals/has-own-property');\nvar shared = require('../internals/shared-store');\nvar sharedKey = require('../internals/shared-key');\nvar hiddenKeys = require('../internals/hidden-keys');\n\nvar OBJECT_ALREADY_INITIALIZED = 'Object already initialized';\nvar TypeError = globalThis.TypeError;\nvar WeakMap = globalThis.WeakMap;\nvar set, get, has;\n\nvar enforce = function (it) {\n  return has(it) ? get(it) : set(it, {});\n};\n\nvar getterFor = function (TYPE) {\n  return function (it) {\n    var state;\n    if (!isObject(it) || (state = get(it)).type !== TYPE) {\n      throw new TypeError('Incompatible receiver, ' + TYPE + ' required');\n    } return state;\n  };\n};\n\nif (NATIVE_WEAK_MAP || shared.state) {\n  var store = shared.state || (shared.state = new WeakMap());\n  /* eslint-disable no-self-assign -- prototype methods protection */\n  store.get = store.get;\n  store.has = store.has;\n  store.set = store.set;\n  /* eslint-enable no-self-assign -- prototype methods protection */\n  set = function (it, metadata) {\n    if (store.has(it)) throw new TypeError(OBJECT_ALREADY_INITIALIZED);\n    metadata.facade = it;\n    store.set(it, metadata);\n    return metadata;\n  };\n  get = function (it) {\n    return store.get(it) || {};\n  };\n  has = function (it) {\n    return store.has(it);\n  };\n} else {\n  var STATE = sharedKey('state');\n  hiddenKeys[STATE] = true;\n  set = function (it, metadata) {\n    if (hasOwn(it, STATE)) throw new TypeError(OBJECT_ALREADY_INITIALIZED);\n    metadata.facade = it;\n    createNonEnumerableProperty(it, STATE, metadata);\n    return metadata;\n  };\n  get = function (it) {\n    return hasOwn(it, STATE) ? it[STATE] : {};\n  };\n  has = function (it) {\n    return hasOwn(it, STATE);\n  };\n}\n\nmodule.exports = {\n  set: set,\n  get: get,\n  has: has,\n  enforce: enforce,\n  getterFor: getterFor\n};\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar call = require('../internals/function-call');\nvar propertyIsEnumerableModule = require('../internals/object-property-is-enumerable');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar toPropertyKey = require('../internals/to-property-key');\nvar hasOwn = require('../internals/has-own-property');\nvar IE8_DOM_DEFINE = require('../internals/ie8-dom-define');\n\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// `Object.getOwnPropertyDescriptor` method\n// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor\nexports.f = DESCRIPTORS ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {\n  O = toIndexedObject(O);\n  P = toPropertyKey(P);\n  if (IE8_DOM_DEFINE) try {\n    return $getOwnPropertyDescriptor(O, P);\n  } catch (error) { /* empty */ }\n  if (hasOwn(O, P)) return createPropertyDescriptor(!call(propertyIsEnumerableModule.f, O, P), O[P]);\n};\n","'use strict';\n// `CreateIterResultObject` abstract operation\n// https://tc39.es/ecma262/#sec-createiterresultobject\nmodule.exports = function (value, done) {\n  return { value: value, done: done };\n};\n","'use strict';\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\n\n// `Array.prototype.{ indexOf, includes }` methods implementation\nvar createMethod = function (IS_INCLUDES) {\n  return function ($this, el, fromIndex) {\n    var O = toIndexedObject($this);\n    var length = lengthOfArrayLike(O);\n    if (length === 0) return !IS_INCLUDES && -1;\n    var index = toAbsoluteIndex(fromIndex, length);\n    var value;\n    // Array#includes uses SameValueZero equality algorithm\n    // eslint-disable-next-line no-self-compare -- NaN check\n    if (IS_INCLUDES && el !== el) while (length > index) {\n      value = O[index++];\n      // eslint-disable-next-line no-self-compare -- NaN check\n      if (value !== value) return true;\n    // Array#indexOf ignores holes, Array#includes - not\n    } else for (;length > index; index++) {\n      if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;\n    } return !IS_INCLUDES && -1;\n  };\n};\n\nmodule.exports = {\n  // `Array.prototype.includes` method\n  // https://tc39.es/ecma262/#sec-array.prototype.includes\n  includes: createMethod(true),\n  // `Array.prototype.indexOf` method\n  // https://tc39.es/ecma262/#sec-array.prototype.indexof\n  indexOf: createMethod(false)\n};\n","import {createRoot} from 'react-dom/client';\nimport TransformNotice, {DISMISS_KEY} from '../components/TransformNotice';\nimport {CONFIG} from '../globals/config';\n\n\nfunction renderTransformNotice() {\n\t// Only render on the block based widgets screen.\n\tif ( CONFIG.siteInfo.classicWidgets ) {\n\t\treturn;\n\t}\n\t// Don't render if the user has dismissed the notice.\n\tif ( '1' === localStorage.getItem( DISMISS_KEY ) ) {\n\t\treturn;\n\t}\n\tconst placeholders = document.querySelectorAll( '[data-js=\"advanced-sidebar-menu/transform-notice\"]' );\n\n\t/**\n\t * This is not a priority component, so it anything fails\n\t * we fail silently.\n\t */\n\ttry {\n\t\tplaceholders.forEach( placeholder => {\n\t\t\tconst root = createRoot( placeholder );\n\t\t\troot.render( <TransformNotice /> );\n\t\t} );\n\t} catch ( e ) {\n\t\tconsole.error( e );\n\t}\n}\n\n\n/**\n * Modern JS for legacy widgets on the widgets screen.\n *\n * @see resources/js/advanced-sidebar-menu.js for the legacy JS.\n */\nexport default () => {\n\t// Only load on the widgets screen.\n\tif ( '1' !== CONFIG.isWidgets ) {\n\t\treturn;\n\t}\n\t// Fire when each widget loads.\n\tjQuery( document ).on( 'widget-added', function() {\n\t\trenderTransformNotice();\n\t} );\n}\n","module.exports = window.wp?.data;","'use strict';\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\n\nvar max = Math.max;\nvar min = Math.min;\n\n// Helper for a popular repeating case of the spec:\n// Let integer be ? ToInteger(index).\n// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).\nmodule.exports = function (index, length) {\n  var integer = toIntegerOrInfinity(index);\n  return integer < 0 ? max(integer + length, 0) : min(integer, length);\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar call = require('../internals/function-call');\nvar aCallable = require('../internals/a-callable');\nvar anObject = require('../internals/an-object');\nvar getIteratorDirect = require('../internals/get-iterator-direct');\nvar createIteratorProxy = require('../internals/iterator-create-proxy');\nvar callWithSafeIterationClosing = require('../internals/call-with-safe-iteration-closing');\nvar iteratorClose = require('../internals/iterator-close');\nvar iteratorHelperThrowsOnInvalidIterator = require('../internals/iterator-helper-throws-on-invalid-iterator');\nvar iteratorHelperWithoutClosingOnEarlyError = require('../internals/iterator-helper-without-closing-on-early-error');\nvar IS_PURE = require('../internals/is-pure');\n\nvar MAP_WITHOUT_THROWING_ON_INVALID_ITERATOR = !IS_PURE && !iteratorHelperThrowsOnInvalidIterator('map', function () { /* empty */ });\nvar mapWithoutClosingOnEarlyError = !IS_PURE && !MAP_WITHOUT_THROWING_ON_INVALID_ITERATOR\n  && iteratorHelperWithoutClosingOnEarlyError('map', TypeError);\n\nvar FORCED = IS_PURE || MAP_WITHOUT_THROWING_ON_INVALID_ITERATOR || mapWithoutClosingOnEarlyError;\n\nvar IteratorProxy = createIteratorProxy(function () {\n  var iterator = this.iterator;\n  var result = anObject(call(this.next, iterator));\n  var done = this.done = !!result.done;\n  if (!done) return callWithSafeIterationClosing(iterator, this.mapper, [result.value, this.counter++], true);\n});\n\n// `Iterator.prototype.map` method\n// https://tc39.es/ecma262/#sec-iterator.prototype.map\n$({ target: 'Iterator', proto: true, real: true, forced: FORCED }, {\n  map: function map(mapper) {\n    anObject(this);\n    try {\n      aCallable(mapper);\n    } catch (error) {\n      iteratorClose(this, 'throw', error);\n    }\n\n    if (mapWithoutClosingOnEarlyError) return call(mapWithoutClosingOnEarlyError, this, mapper);\n\n    return new IteratorProxy(getIteratorDirect(this), {\n      mapper: mapper\n    });\n  }\n});\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\n\nmodule.exports = uncurryThis({}.isPrototypeOf);\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar fails = require('../internals/fails');\nvar createElement = require('../internals/document-create-element');\n\n// Thanks to IE8 for its funny defineProperty\nmodule.exports = !DESCRIPTORS && !fails(function () {\n  // eslint-disable-next-line es/no-object-defineproperty -- required for testing\n  return Object.defineProperty(createElement('div'), 'a', {\n    get: function () { return 7; }\n  }).a !== 7;\n});\n","import {type BlockAttributes, BlockSupports, createBlock, CreateBlock} from '@wordpress/blocks';\nimport {CONFIG, Screen} from '../globals/config';\nimport type {CommonAttr, ServerSideRenderRequired} from './blocks/Preview';\n\nexport type TransformLegacy = <Attr>( name: string ) => ( widgetValues: {\n\tinstance: { [ key: string ]: string | number | object | boolean }\n} ) => CreateBlock<Attr>;\n\n/**\n * Are we on one of the provided screens?\n */\nexport const isScreen = ( screens: Array<Screen> ): boolean => {\n\treturn screens.includes( CONFIG.currentScreen );\n};\n\n/**\n * Transform a legacy widget to the matching block.\n *\n */\nexport const transformLegacyWidget: TransformLegacy = <A>( name: string ) => ( {instance} ) => {\n\treturn createBlock<A>( name, translateLegacyWidget<A>( instance.raw ) );\n};\n\n/**\n * Merge the common attributes and preview attributes into the block attributes.\n *\n * @since 9.7.0\n */\nexport function translateBlockAttributes<Attr>( attributes: BlockAttributes<Attr> ): BlockAttributes<Attr & CommonAttr & ServerSideRenderRequired> {\n\treturn {...attributes, ...CONFIG.blocks.commonAttr, ...CONFIG.blocks.previewAttr};\n}\n\n/**\n * Get block support from a common location.\n *\n * @since 9.7.0\n */\nexport function getBlockSupports(): BlockSupports {\n\treturn CONFIG.blocks.blockSupport;\n}\n\n/**\n * Translate the widget's \"checked\" to the boolean\n * version used in the block.\n *\n */\nconst translateLegacyWidget = <A>( settings ): A => {\n\tObject.entries( settings ).forEach( ( [ key, value ] ) => {\n\t\tif ( 'checked' === value ) {\n\t\t\tsettings[ key ] = true;\n\t\t}\n\t\tif ( 'object' === typeof value ) {\n\t\t\ttranslateLegacyWidget( settings[ key ] );\n\t\t}\n\t\t// Old widgets used to use \"0\" for some defaults.\n\t\tif ( '0' === value ) {\n\t\t\tdelete settings[ key ];\n\t\t}\n\t} );\n\treturn settings;\n};\n","'use strict';\nvar globalThis = require('../internals/global-this');\nvar isCallable = require('../internals/is-callable');\n\nvar aFunction = function (argument) {\n  return isCallable(argument) ? argument : undefined;\n};\n\nmodule.exports = function (namespace, method) {\n  return arguments.length < 2 ? aFunction(globalThis[namespace]) : globalThis[namespace] && globalThis[namespace][method];\n};\n","module.exports = window.wp?.components;","'use strict';\nvar classofRaw = require('../internals/classof-raw');\nvar uncurryThis = require('../internals/function-uncurry-this');\n\nmodule.exports = function (fn) {\n  // Nashorn bug:\n  //   https://github.com/zloirock/core-js/issues/1128\n  //   https://github.com/zloirock/core-js/issues/1130\n  if (classofRaw(fn) === 'Function') return uncurryThis(fn);\n};\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar definePropertyModule = require('../internals/object-define-property');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\n\nmodule.exports = function (object, key, value) {\n  if (DESCRIPTORS) definePropertyModule.f(object, key, createPropertyDescriptor(0, value));\n  else object[key] = value;\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar classof = require('../internals/classof-raw');\n\nvar $Object = Object;\nvar split = uncurryThis(''.split);\n\n// fallback for non-array-like ES3 and non-enumerable old V8 strings\nmodule.exports = fails(function () {\n  // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346\n  // eslint-disable-next-line no-prototype-builtins -- safe\n  return !$Object('z').propertyIsEnumerable(0);\n}) ? function (it) {\n  return classof(it) === 'String' ? split(it, '') : $Object(it);\n} : $Object;\n","module.exports = window.wp?.blockEditor;","'use strict';\nvar globalThis = require('../internals/global-this');\n\n// https://github.com/tc39/ecma262/pull/3467\nmodule.exports = function (METHOD_NAME, ExpectedError) {\n  var Iterator = globalThis.Iterator;\n  var IteratorPrototype = Iterator && Iterator.prototype;\n  var method = IteratorPrototype && IteratorPrototype[METHOD_NAME];\n\n  var CLOSED = false;\n\n  if (method) try {\n    method.call({\n      next: function () { return { done: true }; },\n      'return': function () { CLOSED = true; }\n    }, -1);\n  } catch (error) {\n    // https://bugs.webkit.org/show_bug.cgi?id=291195\n    if (!(error instanceof ExpectedError)) CLOSED = false;\n  }\n\n  if (!CLOSED) return method;\n};\n","'use strict';\nvar globalThis = require('../internals/global-this');\nvar isObject = require('../internals/is-object');\n\nvar document = globalThis.document;\n// typeof document.createElement is 'object' in old IE\nvar EXISTS = isObject(document) && isObject(document.createElement);\n\nmodule.exports = function (it) {\n  return EXISTS ? document.createElement(it) : {};\n};\n","'use strict';\nvar NATIVE_BIND = require('../internals/function-bind-native');\n\nvar FunctionPrototype = Function.prototype;\nvar call = FunctionPrototype.call;\n// eslint-disable-next-line es/no-function-prototype-bind -- safe\nvar uncurryThisWithBind = NATIVE_BIND && FunctionPrototype.bind.bind(call, call);\n\nmodule.exports = NATIVE_BIND ? uncurryThisWithBind : function (fn) {\n  return function () {\n    return call.apply(fn, arguments);\n  };\n};\n","'use strict';\nvar call = require('../internals/function-call');\nvar create = require('../internals/object-create');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar defineBuiltIns = require('../internals/define-built-ins');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar InternalStateModule = require('../internals/internal-state');\nvar getMethod = require('../internals/get-method');\nvar IteratorPrototype = require('../internals/iterators-core').IteratorPrototype;\nvar createIterResultObject = require('../internals/create-iter-result-object');\nvar iteratorClose = require('../internals/iterator-close');\nvar iteratorCloseAll = require('../internals/iterator-close-all');\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\nvar ITERATOR_HELPER = 'IteratorHelper';\nvar WRAP_FOR_VALID_ITERATOR = 'WrapForValidIterator';\nvar NORMAL = 'normal';\nvar THROW = 'throw';\nvar setInternalState = InternalStateModule.set;\n\nvar createIteratorProxyPrototype = function (IS_ITERATOR) {\n  var getInternalState = InternalStateModule.getterFor(IS_ITERATOR ? WRAP_FOR_VALID_ITERATOR : ITERATOR_HELPER);\n\n  return defineBuiltIns(create(IteratorPrototype), {\n    next: function next() {\n      var state = getInternalState(this);\n      // for simplification:\n      //   for `%WrapForValidIteratorPrototype%.next` or with `state.returnHandlerResult` our `nextHandler` returns `IterResultObject`\n      //   for `%IteratorHelperPrototype%.next` - just a value\n      if (IS_ITERATOR) return state.nextHandler();\n      if (state.done) return createIterResultObject(undefined, true);\n      try {\n        var result = state.nextHandler();\n        return state.returnHandlerResult ? result : createIterResultObject(result, state.done);\n      } catch (error) {\n        state.done = true;\n        throw error;\n      }\n    },\n    'return': function () {\n      var state = getInternalState(this);\n      var iterator = state.iterator;\n      state.done = true;\n      if (IS_ITERATOR) {\n        var returnMethod = getMethod(iterator, 'return');\n        return returnMethod ? call(returnMethod, iterator) : createIterResultObject(undefined, true);\n      }\n      if (state.inner) try {\n        iteratorClose(state.inner.iterator, NORMAL);\n      } catch (error) {\n        return iteratorClose(iterator, THROW, error);\n      }\n      if (state.openIters) try {\n        iteratorCloseAll(state.openIters, NORMAL);\n      } catch (error) {\n        return iteratorClose(iterator, THROW, error);\n      }\n      if (iterator) iteratorClose(iterator, NORMAL);\n      return createIterResultObject(undefined, true);\n    }\n  });\n};\n\nvar WrapForValidIteratorPrototype = createIteratorProxyPrototype(true);\nvar IteratorHelperPrototype = createIteratorProxyPrototype(false);\n\ncreateNonEnumerableProperty(IteratorHelperPrototype, TO_STRING_TAG, 'Iterator Helper');\n\nmodule.exports = function (nextHandler, IS_ITERATOR, RETURN_HANDLER_RESULT) {\n  var IteratorProxy = function Iterator(record, state) {\n    if (state) {\n      state.iterator = record.iterator;\n      state.next = record.next;\n    } else state = record;\n    state.type = IS_ITERATOR ? WRAP_FOR_VALID_ITERATOR : ITERATOR_HELPER;\n    state.returnHandlerResult = !!RETURN_HANDLER_RESULT;\n    state.nextHandler = nextHandler;\n    state.counter = 0;\n    state.done = false;\n    setInternalState(this, state);\n  };\n\n  IteratorProxy.prototype = IS_ITERATOR ? WrapForValidIteratorPrototype : IteratorHelperPrototype;\n\n  return IteratorProxy;\n};\n","'use strict';\n// `GetIteratorDirect(obj)` abstract operation\n// https://tc39.es/ecma262/#sec-getiteratordirect\nmodule.exports = function (obj) {\n  return {\n    iterator: obj,\n    next: obj.next,\n    done: false\n  };\n};\n","'use strict';\nvar hasOwn = require('../internals/has-own-property');\nvar ownKeys = require('../internals/own-keys');\nvar getOwnPropertyDescriptorModule = require('../internals/object-get-own-property-descriptor');\nvar definePropertyModule = require('../internals/object-define-property');\n\nmodule.exports = function (target, source, exceptions) {\n  var keys = ownKeys(source);\n  var defineProperty = definePropertyModule.f;\n  var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;\n  for (var i = 0; i < keys.length; i++) {\n    var key = keys[i];\n    if (!hasOwn(target, key) && !(exceptions && hasOwn(exceptions, key))) {\n      defineProperty(target, key, getOwnPropertyDescriptor(source, key));\n    }\n  }\n};\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar definePropertyModule = require('../internals/object-define-property');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\n\nmodule.exports = DESCRIPTORS ? function (object, key, value) {\n  return definePropertyModule.f(object, key, createPropertyDescriptor(1, value));\n} : function (object, key, value) {\n  object[key] = value;\n  return object;\n};\n","import{registerBlockType as t,unregisterBlockType as n}from\"@wordpress/blocks\";import{registerPlugin as e,unregisterPlugin as r}from\"@wordpress/plugins\";import{select as o,dispatch as i,useDispatch as u,useSelect as c}from\"@wordpress/data\";import{registerFormatType as a,unregisterFormatType as s}from\"@wordpress/rich-text\";var l=\"\",f=\"\";function d(t){\"\"===f&&void 0!==t&&(l=t,f=t)}function p(){return l}function v(){return\"\"!==l&&\"\"!==f&&l!==f}function h(t){l=t}function m(){l=\"\"}function g(){l=f}function y(t,n){try{var e=t()}catch(t){return n(t)}return e&&e.then?e.then(void 0,n):e}var w=function(t,n){void 0===n&&(n=!0);try{if(!n)throw t;return Promise.resolve(b(t)).then(function(t){throw\"rest_cookie_invalid_nonce\"===(null==t?void 0:t.code)&&v()&&(t.code=\"external_rest_cookie_invalid_nonce\"),t||{code:\"unknown_error\",message:\"An unknown error occurred.\"}})}catch(t){return Promise.reject(t)}},b=function(t){try{var n={code:\"invalid_json\",message:\"The response is not a valid JSON response.\"};if(!t||void 0===t.json)throw n;return Promise.resolve(y(function(){return Promise.resolve(t.json())},function(){throw n}))}catch(t){return Promise.reject(t)}},P=function(t,n){return void 0===n&&(n=!0),Promise.resolve(y(function(){return function(t,n){return void 0===n&&(n=!0),n?204===t.status?null:void 0!==t.json?t.json():Promise.reject(t):t}(t,n)},function(t){return Promise.resolve(w(t,n))}))};function E(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=Array(n);e<n;e++)r[e]=t[e];return r}function T(t,n){var e=\"undefined\"!=typeof Symbol&&t[Symbol.iterator]||t[\"@@iterator\"];if(e)return(e=e.call(t)).next.bind(e);if(Array.isArray(t)||(e=function(t,n){if(t){if(\"string\"==typeof t)return E(t,n);var e={}.toString.call(t).slice(8,-1);return\"Object\"===e&&t.constructor&&(e=t.constructor.name),\"Map\"===e||\"Set\"===e?Array.from(t):\"Arguments\"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?E(t,n):void 0}}(t))||n&&t&&\"number\"==typeof t.length){e&&(t=e);var r=0;return function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}}}throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\")}function j(){return j=Object.assign?Object.assign.bind():function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)({}).hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t},j.apply(null,arguments)}function k(t){return\"\"===t.trim()?t:t.replace(/\\/?$/,\"/\")}function A(t){return\"\"===t.trim()?t:t.replace(/^\\/?/,\"/\")}function _(t){return\"\"===t.trim()?t:t.replace(/^\\//,\"\")}function x(t){return\"\"===t.trim()?t:t.replace(/\\/$/,\"\")}function O(t,n){var e;return null!=(e=I(t)[n])?e:void 0}function I(t){var n;return(null!=(n=R(t))?n:\"\").replace(/\\+/g,\"%20\").split(\"&\").reduce(function(t,n){if(\"\"===n)return t;var e=n.split(\"=\").filter(Boolean).map(function(t){try{return decodeURIComponent(t)}catch(n){return console.debug(\"Invalid URL component: \"+t,n),t}}),r=e[1],o=void 0===r?\"\":r;return function(t,n,e){for(var r=n.length,o=r-1,i=0;i<r;i++){var u=n[i];\"\"===u&&Array.isArray(t)&&(u=t.length.toString()),u=[\"__proto__\",\"constructor\",\"prototype\"].includes(u)?u.toUpperCase():u;var c=!isNaN(Number(n[i+1]));i===o?t[u]=e:void 0===t[u]&&(t[u]=c?[]:{}),Array.isArray(t[u])&&!c&&(t[u]=j({},t[u])),t=t[u]}}(t,e[0].replace(/]/g,\"\").split(\"[\"),o),t},Object.create(null))}function R(t){try{var n=new URL(t,\"https://ex.com\").search.substring(1);return n.length>0?n:void 0}catch(n){return void console.debug(\"Invalid URL:\",t,n)}}function S(t,n){if(void 0===n&&(n={}),0===Object.keys(n).length)return null!=t?t:\"\";var e=\"\",r=\"\";if(void 0!==t){var o;r=null!=(o=B(t))?o:\"\",e=t.replace(r,\"\");var i=t.indexOf(\"?\");-1!==i&&(n=Object.assign(I(t),n),e=e=e.slice(0,i))}return e+\"?\"+U(n)+r}function B(t){var n=/^\\S+?(#[^\\s?]*)/.exec(t);if(null!==n&&n.length>1)return n[1]}function U(t){for(var n,e=\"\",r=Object.entries(t);n=r.shift();){var o=n[0],i=n[1];if(null===i||\"object\"!=typeof i&&!Array.isArray(i))void 0!==i&&(null===i&&(i=\"\"),e+=\"&\"+[o,i].map(encodeURIComponent).join(\"=\"));else for(var u,c=T(Object.entries(i).reverse());!(u=c()).done;){var a=u.value;r.unshift([o+\"[\"+a[0]+\"]\",a[1]])}}return e.slice(1)}var G=\"\",C=\"\";function L(t){C=t,G=t}function N(){\"\"===C?(G=\"\",G=M()):G=C}function M(){var t;if(\"\"!==G)return k(G);var n=document.querySelector('link[rel=\"https://api.w.org/\"]'),e=null==n?void 0:n.getAttribute(\"href\");if(\"string\"==typeof e)G=e;else{if(void 0===(null==(t=window.wpApiSettings)?void 0:t.root))throw new URIError(\"Unable to determine the root URL. Use `setInitialRootURL` to set the root URL.\");G=window.wpApiSettings.root}return k(G)}function W(t,n){void 0===n&&(n=!0);var e=\"\";return void 0===t.url?\"string\"==typeof t.path?((e=M()).indexOf(\"?\")>-1&&(t.path=t.path.replace(\"?\",\"&\")),e+=_(t.path)):e=M():e=t.url,n?$(e):e}function D(t,n){G=t.replace(/\\/$/,\"\")+\"/\",\"\"===window.location.hostname||new URL(G).hostname!==window.location.hostname?void 0!==n?h(n):v()||m():g()}var $=function(t){return void 0===O(t,\"_locale\")&&(t=S(t,{_locale:\"user\"})),t},q=\"\";function X(){return q}function z(){return\"\"!==q}function H(){q=\"\"}function J(t,n){q=\"Basic \"+btoa(t+\":\"+n)}var Y=[\"data\",\"parse\"],F=function(t){return Promise.resolve(function(){try{var n=Promise.resolve(tt({path:\"/\",method:\"GET\"})).then(function(n){return n.authentication[\"application-passwords\"]?S(n.authentication[\"application-passwords\"].endpoints.authorization,t):{code:\"application_passwords_disabled\",message:\"Application passwords are not enabled on this site.\",data:null}})}catch(t){return t}return n&&n.then?n.then(void 0,function(t){return t}):n}())},K={Accept:\"application/json, */*;q=0.1\"},Q={credentials:\"include\"},V=!1,Z=function(t){if(t.status>=200&&t.status<300)return t;throw t},tt=function(t){var n=t,e=t.data,r=t.parse,o=void 0===r||r,i=function(t,n){if(null==t)return{};var e={};for(var r in t)if({}.hasOwnProperty.call(t,r)){if(-1!==n.indexOf(r))continue;e[r]=t[r]}return e}(t,Y);delete i.url,delete i.path;var u=n.body,c=j({},K,\"\"!==p()?{\"X-WP-Nonce\":p()}:{},\"\"!==X()?{Authorization:X()}:{},n.headers);void 0!==e&&(u=JSON.stringify(e),c[\"Content-Type\"]=\"application/json\");var a=j({},Q,i,{body:u,headers:c});return window.fetch(W(t),a).then(function(n){return Promise.resolve(n).then(Z).catch(function(t){return w(t,o)}).then(function(t){return P(t,o)}).catch(function(n){return nt(n,function(){return tt(t)})})},function(t){if(t&&\"AbortError\"===t.name)throw t;throw{code:\"fetch_error\",message:\"You are probably offline.\"}})};function nt(t,n){return\"rest_cookie_invalid_nonce\"!==t.code?Promise.reject(t):(m(),V?Promise.reject(t):(V=!0,window.fetch(W({path:\"wp-admin/admin-ajax.php?action=rest-nonce\"},!1)).then(Z).then(function(t){return t.text()}).then(function(t){return h(t),n()}).finally(function(){V=!1})))}var et=function(t,n,e){try{var r,o,i=function(t){return r?t:Promise.resolve(P(o)).then(function(t){var n,e;return{items:t,totalPages:parseInt(null!=(n=o.headers.get(\"X-WP-TotalPages\"))?n:\"1\"),totalItems:parseInt(null!=(e=o.headers.get(\"X-WP-Total\"))?e:\"0\")}})},u=function(r,i){try{var u=Promise.resolve(rt(t,n,e,!1)).then(function(t){o=t})}catch(t){return i(t)}return u&&u.then?u.then(void 0,i):u}(0,function(o){return Promise.resolve(P(o)).then(function(o){var i=nt(o,function(){return et(t,n,e)});return r=1,i})});return Promise.resolve(u&&u.then?u.then(i):i(u))}catch(t){return Promise.reject(t)}},rt=function(t,n,e,r){void 0===r&&(r=!0);try{return Promise.resolve(tt(void 0===e||\"GET\"===n||\"OPTIONS\"===n?{method:n,parse:r,path:S(t,null!=e?e:{})}:{data:e,method:n,parse:r,path:t}))}catch(t){return Promise.reject(t)}};function ot(t){var n=A(t);return{create:function(t){return rt(n,\"POST\",t)},delete:function(t){return rt(k(n)+t,\"DELETE\",{force:!0})},get:function(t){return rt(n,\"GET\",t)},getById:function(t,e){return rt(k(n)+t,\"GET\",e)},getWithPagination:function(t){return et(n,\"GET\",t)},trash:function(t){return rt(k(n)+t,\"DELETE\")},update:function(t){return rt(k(n)+t.id,\"PATCH\",t)}}}function it(t){var n={};return[\"categories\",\"comments\",\"blocks\",\"media\",\"menus\",\"menu-locations\",\"menu-items\",\"pages\",\"posts\",\"tags\",\"taxonomies\",\"search\"].map(function(t){return n[t]=function(){return ot(\"/wp/v2/\"+t)}}),n.menuItems=function(){return ot(\"/wp/v2/menu-items\")},n.users=function(){var t=ot(\"/wp/v2/users\");return t.delete=function(t,n){return void 0===n&&(n=!1),rt(\"/wp/v2/users/\"+t,\"DELETE\",{force:!0,reassign:n})},t},n.applicationPasswords=function(){return{create:function(t,n){return rt(\"/wp/v2/users/\"+t+\"/application-passwords\",\"POST\",n)},delete:function(t,n){return rt(\"/wp/v2/users/\"+t+\"/application-passwords/\"+n,\"DELETE\")},get:function(t){return rt(\"/wp/v2/users/\"+t+\"/application-passwords\",\"GET\")},getById:function(t,n){return rt(\"/wp/v2/users/\"+t+\"/application-passwords/\"+n,\"GET\")},introspect:function(t){return rt(\"/wp/v2/users/\"+t+\"/application-passwords/introspect\",\"GET\")},update:function(t,n,e){return rt(\"/wp/v2/users/\"+t+\"/application-passwords/\"+n,\"PUT\",e)}}},n.menuLocations=function(){return{get:function(){return rt(\"/wp/v2/menu-locations\",\"GET\")},getById:function(t){return rt(\"/wp/v2/menu-locations/\"+t,\"GET\")}}},n.settings=function(){return{get:function(){return rt(\"/wp/v2/settings\",\"GET\")},update:function(t){return rt(\"/wp/v2/settings\",\"POST\",t)}}},n.statuses=function(){return{get:function(t){return rt(\"/wp/v2/statuses\",\"GET\",null!=t?t:{})}}},n.types=function(){return{get:function(){return rt(\"/wp/v2/types\",\"GET\")},getById:function(t){return rt(\"'/wp/v2/types'/\"+t,\"GET\")}}},void 0!==t&&Object.keys(t).map(function(e){return n[e]=t[e]}),n}function ut(t,n,e){if(!t.s){if(e instanceof ct){if(!e.s)return void(e.o=ut.bind(null,t,n));1&n&&(n=e.s),e=e.v}if(e&&e.then)return void e.then(ut.bind(null,t,n),ut.bind(null,t,2));t.s=n,t.v=e;const r=t.o;r&&r(t)}}var ct=/*#__PURE__*/function(){function t(){}return t.prototype.then=function(n,e){var r=new t,o=this.s;if(o){var i=1&o?n:e;if(i){try{ut(r,1,i(this.v))}catch(t){ut(r,2,t)}return r}return this}return this.o=function(t){try{var o=t.v;1&t.s?ut(r,1,n?n(o):o):e?ut(r,1,e(o)):ut(r,2,o)}catch(t){ut(r,2,t)}},r},t}();function at(t){return t instanceof ct&&1&t.s}var st=function(e,r){dt({afterReload:gt,beforeReload:ht,getContext:e,pluginModule:r,register:t,unregister:n,type:\"block\"})},lt=function(t,n){dt({afterReload:function(){},beforeReload:function(){},getContext:t,pluginModule:n,register:e,unregister:r,type:\"plugin\"})},ft=function(t,n){dt({afterReload:function(){},beforeReload:function(){},getContext:t,pluginModule:n,register:a,unregister:s,type:\"format\"})},dt=function(t){var n=t.afterReload,e=t.beforeReload,r=t.getContext,o=t.pluginModule,i=t.register,u=t.unregister,c=t.type,a={},s=function(){e();var t=r();if(t){var o=[];return t.keys().forEach(function(n){var e=t(n);Boolean(e.exclude)||e!==a[n]&&(Boolean(a[e.name+\"-\"+c])&&u(e.name),i(e.name,e.settings),o.push(e.name),a[e.name+\"-\"+c]=e)}),n(o),t}},l=s();o.hot&&void 0!==(null==l?void 0:l.id)&&o.hot.accept(l.id.toString(),s)},pt=null,vt=[],ht=function(){pt=o(\"core/block-editor\").getSelectedBlockClientId()},mt=function(t,n){void 0===t&&(t=[]);var e=n.clientId,r=n.innerBlocks;t.includes(n.name)&&vt.push(e),r.forEach(function(n){return mt(t,n)})},gt=function(t){void 0===t&&(t=[]);try{return Promise.resolve(i(\"core/block-editor\").clearSelectedBlock()).then(function(){function n(){function t(){vt=[],pt=null}var n=null!==pt?Promise.resolve(i(\"core/block-editor\").selectBlock(pt)).then(function(){}):Promise.resolve(i(\"core/block-editor\").clearSelectedBlock()).then(function(){});return n&&n.then?n.then(t):t()}o(\"core/block-editor\").getBlocks().forEach(function(n){return mt(t,n)});var e,r,u,c,a,s=(e=vt,r=function(t){return Promise.resolve(i(\"core/block-editor\").selectBlock(vt[t])).then(function(){})},a=-1,function t(n){try{for(;++a<e.length;)if((n=r(a))&&n.then){if(!at(n))return void n.then(t,c||(c=ut.bind(null,u=new ct,2)));n=n.v}u?ut(u,1,n):u=n}catch(t){ut(u||(u=new ct),2,t)}}(),u);return s&&s.then?s.then(n):n()})}catch(t){return Promise.reject(t)}};function yt(t,n){var e={current:t},r={current:n};return n.some(function(t,n){return t!==r.current[n]})&&(e.current=t,r.current=n),function(){return e.current.apply(e,[].slice.call(arguments))}}function wt(t){var n=u(\"core/editor\").editPost,e=c(function(t){return{previous:t(\"core/editor\").getCurrentPostAttribute(\"meta\"),current:t(\"core/editor\").getEditedPostAttribute(\"meta\")}},[]),r=\"string\"==typeof t&&\"\"!==t,o=r?e.current[t]:e.current,i=r?e.previous[t]:e.previous,a=yt(function(e){var o;r&&n({meta:(o={},o[t]=e,o)})},[n,t,r]),s=yt(function(t,e){var r;n({meta:(r={},r[t]=e,r)})},[n]);return r?[o,a,i]:[o,s,i]}function bt(t){var n,e,r=u(\"core/editor\").editPost,o=c(function(n){var e=n(\"core\").getTaxonomy(t);return e?{taxonomy:e,current:n(\"core/editor\").getEditedPostAttribute(e.rest_base),previous:n(\"core/editor\").getCurrentPostAttribute(e.rest_base)}:{taxonomy:null,current:null,previous:null}},[t]),i=yt(function(t){try{var n;return Promise.resolve(o.taxonomy?r(((n={})[o.taxonomy.rest_base]=t,n)):void 0)}catch(t){return Promise.reject(t)}},[o,r]);return[null!=(n=o.current)?n:[],i,null!=(e=o.previous)?e:[]]}export{A as addLeadingSlash,S as addQueryArgs,k as addTrailingSlash,dt as autoload,st as autoloadBlocks,ft as autoloadFormats,lt as autoloadPlugins,U as buildQueryString,H as clearApplicationPassword,m as clearNonce,ot as createMethods,rt as doRequest,et as doRequestWithPagination,J as enableApplicationPassword,tt as fetchHandler,X as getApplicationPassword,F as getAuthorizationUrl,B as getFragment,O as getQueryArg,I as getQueryArgs,R as getQueryString,z as hasApplicationPassword,v as hasExternalNonce,nt as maybeRefreshNonce,_ as removeLeadingSlash,x as removeTrailingSlash,g as restoreNonce,N as restoreRootURL,d as setInitialNonce,L as setInitialRootURL,h as setNonce,D as setRootURL,wt as usePostMeta,bt as useTerms,it as wpapi};\n//# sourceMappingURL=index.module.js.map\n","import {CONFIG} from '../../globals/config';\nimport {Button, PanelBody, withFilters} from '@wordpress/components';\nimport {InspectorControls} from '@wordpress/block-editor';\nimport {decodeEntities} from '@wordpress/html-entities';\nimport {__} from '@wordpress/i18n';\n\nimport styles from './info-panel.pcss';\n\ntype Props = {\n\tclientId: string;\n};\n\nconst titleStyles = {\n\tcolor: '#3db634',\n\tfontWeight: 700,\n};\n\nconst headingStyles = {\n\tmargin: '16px 0 0',\n\tfontSize: '1.2em',\n};\n\nconst InfoPanel = ( {}: Props ) => {\n\treturn ( <InspectorControls>\n\t\t<PanelBody\n\t\t\ttitle={<span style={titleStyles}>\n\t\t\t\t{__( 'Go PRO', 'advanced-sidebar-menu' )}\n\t\t\t</span>}\n\t\t\tclassName={styles.wrap}\n\t\t\tinitialOpen={false}\n\t\t>\n\t\t\t<h2 style={headingStyles}>\n\t\t\t\t{__( 'Advanced Sidebar Menu PRO', 'advanced-sidebar-menu' )}\n\t\t\t</h2>\n\t\t\t<ul>\n\t\t\t\t{CONFIG.features.map( feature => (\n\t\t\t\t\t<li key={feature}>\n\t\t\t\t\t\t{decodeEntities( feature )}\n\t\t\t\t\t</li>\n\t\t\t\t) )}\n\t\t\t\t<li>\n\t\t\t\t\t{__( 'And so much more…', 'advanced-sidebar-menu' )}\n\t\t\t\t</li>\n\t\t\t</ul>\n\t\t\t<Button\n\t\t\t\tclassName={styles.button}\n\t\t\t\thref={'https://onpointplugins.com/product/advanced-sidebar-menu-pro/?utm_source=block-upgrade&utm_campaign=gopro&utm_medium=wp-dash#buy-now-choices'}\n\t\t\t\ttarget={'_blank'}\n\t\t\t\trel={'noreferrer'}\n\t\t\t\tisPrimary\n\t\t\t>\n\t\t\t\t{__( 'Upgrade', 'advanced-sidebar-menu' )}\n\t\t\t</Button>\n\t\t</PanelBody>\n\t</InspectorControls> );\n};\n\nexport default withFilters<Props>( 'advanced-sidebar-menu.blocks.info-panel' )( InfoPanel );\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n  module.exports = require('./cjs/react-jsx-runtime.production.min.js');\n} else {\n  module.exports = require('./cjs/react-jsx-runtime.development.js');\n}\n","'use strict';\nvar call = require('../internals/function-call');\nvar aCallable = require('../internals/a-callable');\nvar anObject = require('../internals/an-object');\nvar tryToString = require('../internals/try-to-string');\nvar getIteratorMethod = require('../internals/get-iterator-method');\n\nvar $TypeError = TypeError;\n\nmodule.exports = function (argument, usingIterator) {\n  var iteratorMethod = arguments.length < 2 ? getIteratorMethod(argument) : usingIterator;\n  if (aCallable(iteratorMethod)) return anObject(call(iteratorMethod, argument));\n  throw new $TypeError(tryToString(argument) + ' is not iterable');\n};\n","'use strict';\nvar call = require('../internals/function-call');\nvar anObject = require('../internals/an-object');\nvar getMethod = require('../internals/get-method');\n\nmodule.exports = function (iterator, kind, value) {\n  var innerResult, innerError;\n  anObject(iterator);\n  try {\n    innerResult = getMethod(iterator, 'return');\n    if (!innerResult) {\n      if (kind === 'throw') throw value;\n      return value;\n    }\n    innerResult = call(innerResult, iterator);\n  } catch (error) {\n    innerError = true;\n    innerResult = error;\n  }\n  if (kind === 'throw') throw value;\n  if (innerError) throw innerResult;\n  anObject(innerResult);\n  return value;\n};\n","'use strict';\nvar getBuiltIn = require('../internals/get-built-in');\nvar isCallable = require('../internals/is-callable');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar USE_SYMBOL_AS_UID = require('../internals/use-symbol-as-uid');\n\nvar $Object = Object;\n\nmodule.exports = USE_SYMBOL_AS_UID ? function (it) {\n  return typeof it == 'symbol';\n} : function (it) {\n  var $Symbol = getBuiltIn('Symbol');\n  return isCallable($Symbol) && isPrototypeOf($Symbol.prototype, $Object(it));\n};\n","'use strict';\n/* global ActiveXObject -- old IE, WSH */\nvar anObject = require('../internals/an-object');\nvar definePropertiesModule = require('../internals/object-define-properties');\nvar enumBugKeys = require('../internals/enum-bug-keys');\nvar hiddenKeys = require('../internals/hidden-keys');\nvar html = require('../internals/html');\nvar documentCreateElement = require('../internals/document-create-element');\nvar sharedKey = require('../internals/shared-key');\n\nvar GT = '>';\nvar LT = '<';\nvar PROTOTYPE = 'prototype';\nvar SCRIPT = 'script';\nvar IE_PROTO = sharedKey('IE_PROTO');\n\nvar EmptyConstructor = function () { /* empty */ };\n\nvar scriptTag = function (content) {\n  return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT;\n};\n\n// Create object with fake `null` prototype: use ActiveX Object with cleared prototype\nvar NullProtoObjectViaActiveX = function (activeXDocument) {\n  activeXDocument.write(scriptTag(''));\n  activeXDocument.close();\n  var temp = activeXDocument.parentWindow.Object;\n  // eslint-disable-next-line no-useless-assignment -- avoid memory leak\n  activeXDocument = null;\n  return temp;\n};\n\n// Create object with fake `null` prototype: use iframe Object with cleared prototype\nvar NullProtoObjectViaIFrame = function () {\n  // Thrash, waste and sodomy: IE GC bug\n  var iframe = documentCreateElement('iframe');\n  var JS = 'java' + SCRIPT + ':';\n  var iframeDocument;\n  iframe.style.display = 'none';\n  html.appendChild(iframe);\n  // https://github.com/zloirock/core-js/issues/475\n  iframe.src = String(JS);\n  iframeDocument = iframe.contentWindow.document;\n  iframeDocument.open();\n  iframeDocument.write(scriptTag('document.F=Object'));\n  iframeDocument.close();\n  return iframeDocument.F;\n};\n\n// Check for document.domain and active x support\n// No need to use active x approach when document.domain is not set\n// see https://github.com/es-shims/es5-shim/issues/150\n// variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346\n// avoid IE GC bug\nvar activeXDocument;\nvar NullProtoObject = function () {\n  try {\n    activeXDocument = new ActiveXObject('htmlfile');\n  } catch (error) { /* ignore */ }\n  NullProtoObject = typeof document != 'undefined'\n    ? document.domain && activeXDocument\n      ? NullProtoObjectViaActiveX(activeXDocument) // old IE\n      : NullProtoObjectViaIFrame()\n    : NullProtoObjectViaActiveX(activeXDocument); // WSH\n  var length = enumBugKeys.length;\n  while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];\n  return NullProtoObject();\n};\n\nhiddenKeys[IE_PROTO] = true;\n\n// `Object.create` method\n// https://tc39.es/ecma262/#sec-object.create\n// eslint-disable-next-line es/no-object-create -- safe\nmodule.exports = Object.create || function create(O, Properties) {\n  var result;\n  if (O !== null) {\n    EmptyConstructor[PROTOTYPE] = anObject(O);\n    result = new EmptyConstructor();\n    EmptyConstructor[PROTOTYPE] = null;\n    // add \"__proto__\" for Object.getPrototypeOf polyfill\n    result[IE_PROTO] = O;\n  } else result = NullProtoObject();\n  return Properties === undefined ? result : definePropertiesModule.f(result, Properties);\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\n\nvar id = 0;\nvar postfix = Math.random();\nvar toString = uncurryThis(1.1.toString);\n\nmodule.exports = function (key) {\n  return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);\n};\n","'use strict';\n// Should throw an error on invalid iterator\n// https://issues.chromium.org/issues/336839115\nmodule.exports = function (methodName, argument) {\n  // eslint-disable-next-line es/no-iterator -- required for testing\n  var method = typeof Iterator == 'function' && Iterator.prototype[methodName];\n  if (method) try {\n    method.call({ next: null }, argument).next();\n  } catch (error) {\n    return true;\n  }\n};\n","'use strict';\nvar NATIVE_BIND = require('../internals/function-bind-native');\n\nvar call = Function.prototype.call;\n// eslint-disable-next-line es/no-function-prototype-bind -- safe\nmodule.exports = NATIVE_BIND ? call.bind(call) : function () {\n  return call.apply(call, arguments);\n};\n","'use strict';\n/* eslint-disable es/no-symbol -- required for testing */\nvar V8_VERSION = require('../internals/environment-v8-version');\nvar fails = require('../internals/fails');\nvar globalThis = require('../internals/global-this');\n\nvar $String = globalThis.String;\n\n// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing\nmodule.exports = !!Object.getOwnPropertySymbols && !fails(function () {\n  var symbol = Symbol('symbol detection');\n  // Chrome 38 Symbol has incorrect toString conversion\n  // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances\n  // nb: Do not call `String` directly to avoid this being optimized out to `symbol+''` which will,\n  // of course, fail.\n  return !$String(symbol) || !(Object(symbol) instanceof Symbol) ||\n    // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances\n    !Symbol.sham && V8_VERSION && V8_VERSION < 41;\n});\n","'use strict';\nvar internalObjectKeys = require('../internals/object-keys-internal');\nvar enumBugKeys = require('../internals/enum-bug-keys');\n\nvar hiddenKeys = enumBugKeys.concat('length', 'prototype');\n\n// `Object.getOwnPropertyNames` method\n// https://tc39.es/ecma262/#sec-object.getownpropertynames\n// eslint-disable-next-line es/no-object-getownpropertynames -- safe\nexports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {\n  return internalObjectKeys(O, hiddenKeys);\n};\n","module.exports = window.wp?.url;","module.exports = lodash;","import {CONFIG} from '../../../globals/config';\nimport {BlockSettings, LegacyWidget} from '@wordpress/blocks';\nimport Edit from './Edit';\nimport {DisplayOptions} from '../Display';\nimport {getBlockSupports, transformLegacyWidget, translateBlockAttributes} from '../../helpers';\nimport {__} from '@wordpress/i18n';\nimport type {CommonAttr} from '../Preview';\nimport CategoriesIcon from './CategoriesIcon';\n\n/**\n * Attributes specific to the widget as well as shared\n * widget attributes.\n *\n * @see \\Advanced_Sidebar_Menu\\Blocks\\Block_Abstract::get_all_attributes\n * @see \\Advanced_Sidebar_Menu\\Blocks\\Pages::get_attributes\n */\nexport type Attr = {\n\texclude: string;\n\tnew_widget: 'widget' | 'list';\n\tsingle: boolean;\n} & DisplayOptions & ProRegistered & CommonAttr;\n\n// Options used by basic when available from PRO.\ntype ProRegistered = {\n\ttaxonomy?: string;\n}\n\nexport type setAttributes = ( newValue: {\n\t[attribute in keyof Attr]?: Attr[attribute]\n} ) => void;\n\n/**\n * Attributes used for the example preview.\n * Combines some PRO and basic attributes.\n * The PRO attributes will only be sent if PRO is active.\n */\nconst EXAMPLE = {\n\t'display-posts': 'all',\n\t'display-posts/limit': 2,\n\tapply_current_page_parent_styles_to_parent: true,\n\tapply_current_page_styles_to_parent: true,\n\tblock_style: true,\n\tborder: true,\n\tborder_color: '#333',\n\tbullet_style: 'none',\n\tchild_page_bg_color: '#666',\n\tchild_page_color: '#fff',\n\tparent_page_bg_color: '#282828',\n\tparent_page_color: '#0cc4c6',\n\tparent_page_font_weight: 'normal',\n\tdisplay_all: true,\n\tgrandchild_page_bg_color: '#989898',\n\tgrandchild_page_color: '#282828',\n\tgrandchild_page_font_weight: 'bold',\n\tinclude_childless_parent: true,\n\tinclude_parent: true,\n\tlevels: 2,\n};\n\n\nexport const block = CONFIG.blocks.categories;\n\nexport const name = block.id;\n\nexport const settings: BlockSettings<Attr, '', LegacyWidget<Attr & { title: string }>> = {\n\ttitle: __( 'Advanced Sidebar - Categories', 'advanced-sidebar-menu' ),\n\ticon: CategoriesIcon,\n\tcategory: 'widgets',\n\tdescription: __( 'Creates a menu of all the categories using the parent/child relationship',\n\t\t'advanced-sidebar-menu' ),\n\tkeywords: [\n\t\t__( 'taxonomy', 'advanced-sidebar-menu' ),\n\t\t__( 'term', 'advanced-sidebar-menu' ),\n\t\t__( 'category', 'advanced-sidebar-menu' ),\n\t\t__( 'menu', 'advanced-sidebar-menu' ),\n\t],\n\texample: {\n\t\tattributes: EXAMPLE,\n\t},\n\ttransforms: {\n\t\tfrom: [\n\t\t\t{\n\t\t\t\ttype: 'block',\n\t\t\t\tblocks: [ 'core/legacy-widget' ],\n\t\t\t\tisMatch: ( {idBase, instance} ) => {\n\t\t\t\t\tif ( null === instance?.raw ) {\n\t\t\t\t\t\t// Can't transform if the raw instance is not shown in REST API.\n\t\t\t\t\t\treturn false;\n\t\t\t\t\t}\n\t\t\t\t\treturn 'advanced_sidebar_menu_category' === idBase;\n\t\t\t\t},\n\t\t\t\ttransform: transformLegacyWidget<Attr>( name ),\n\t\t\t},\n\t\t],\n\t},\n\tattributes: translateBlockAttributes<Attr>( block.attributes ),\n\tsupports: getBlockSupports(),\n\tedit: props => (\n\t\t<Edit {...props} />\n\t),\n\tsave: () => null,\n\tapiVersion: 3,\n};\n","'use strict';\nvar ceil = Math.ceil;\nvar floor = Math.floor;\n\n// `Math.trunc` method\n// https://tc39.es/ecma262/#sec-math.trunc\n// eslint-disable-next-line es/no-math-trunc -- safe\nmodule.exports = Math.trunc || function trunc(x) {\n  var n = +x;\n  return (n > 0 ? floor : ceil)(n);\n};\n","module.exports = window.wp?.htmlEntities;","'use strict';\nvar $ = require('../internals/export');\nvar globalThis = require('../internals/global-this');\nvar anInstance = require('../internals/an-instance');\nvar anObject = require('../internals/an-object');\nvar isCallable = require('../internals/is-callable');\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\nvar defineBuiltInAccessor = require('../internals/define-built-in-accessor');\nvar createProperty = require('../internals/create-property');\nvar fails = require('../internals/fails');\nvar hasOwn = require('../internals/has-own-property');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar IteratorPrototype = require('../internals/iterators-core').IteratorPrototype;\nvar DESCRIPTORS = require('../internals/descriptors');\nvar IS_PURE = require('../internals/is-pure');\n\nvar CONSTRUCTOR = 'constructor';\nvar ITERATOR = 'Iterator';\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\n\nvar $TypeError = TypeError;\nvar NativeIterator = globalThis[ITERATOR];\n\n// FF56- have non-standard global helper `Iterator`\nvar FORCED = IS_PURE\n  || !isCallable(NativeIterator)\n  || NativeIterator.prototype !== IteratorPrototype\n  // FF44- non-standard `Iterator` passes previous tests\n  || !fails(function () { NativeIterator({}); });\n\nvar IteratorConstructor = function Iterator() {\n  anInstance(this, IteratorPrototype);\n  if (getPrototypeOf(this) === IteratorPrototype) throw new $TypeError('Abstract class Iterator not directly constructable');\n};\n\nvar defineIteratorPrototypeAccessor = function (key, value) {\n  if (DESCRIPTORS) {\n    defineBuiltInAccessor(IteratorPrototype, key, {\n      configurable: true,\n      get: function () {\n        return value;\n      },\n      set: function (replacement) {\n        anObject(this);\n        if (this === IteratorPrototype) throw new $TypeError(\"You can't redefine this property\");\n        if (hasOwn(this, key)) this[key] = replacement;\n        else createProperty(this, key, replacement);\n      }\n    });\n  } else IteratorPrototype[key] = value;\n};\n\nif (!hasOwn(IteratorPrototype, TO_STRING_TAG)) defineIteratorPrototypeAccessor(TO_STRING_TAG, ITERATOR);\n\nif (FORCED || !hasOwn(IteratorPrototype, CONSTRUCTOR) || IteratorPrototype[CONSTRUCTOR] === Object) {\n  defineIteratorPrototypeAccessor(CONSTRUCTOR, IteratorConstructor);\n}\n\nIteratorConstructor.prototype = IteratorPrototype;\n\n// `Iterator` constructor\n// https://tc39.es/ecma262/#sec-iterator\n$({ global: true, constructor: true, forced: FORCED }, {\n  Iterator: IteratorConstructor\n});\n","'use strict';\nvar internalObjectKeys = require('../internals/object-keys-internal');\nvar enumBugKeys = require('../internals/enum-bug-keys');\n\n// `Object.keys` method\n// https://tc39.es/ecma262/#sec-object.keys\n// eslint-disable-next-line es/no-object-keys -- safe\nmodule.exports = Object.keys || function keys(O) {\n  return internalObjectKeys(O, enumBugKeys);\n};\n","'use strict';\nvar getBuiltIn = require('../internals/get-built-in');\n\nmodule.exports = getBuiltIn('document', 'documentElement');\n","import {type ReactElement, useEffect} from 'react';\nimport {CONFIG} from '../../globals/config';\nimport ServerSideRender from '@wordpress/server-side-render';\nimport {Placeholder, Spinner} from '@wordpress/components';\nimport {useBlockProps} from '@wordpress/block-editor';\nimport DOMPurify from 'dompurify';\nimport {applyFilters, doAction} from '@wordpress/hooks';\nimport {__} from '@wordpress/i18n';\nimport {select} from '@wordpress/data';\nimport {isScreen} from '../helpers';\nimport PagesIcon from './pages/PagesIcon';\nimport CategoriesIcon from './categories/CategoriesIcon';\nimport NavigationIcon from './NavigationIcon';\n\nimport styles from './preview.pcss';\n\n\n/**\n * @see \\Advanced_Sidebar_Menu\\Blocks\\Common_Attributes::get_common_attributes\n */\nexport type CommonAttr = {\n\ttitle?: string;\n\tstyle?: object;\n}\n\n/**\n * @see \\Advanced_Sidebar_Menu\\Blocks\\Common_Attributes::get_server_side_render_attributes\n */\nexport type ServerSideRenderRequired = {\n\tisServerSideRenderRequest: boolean;\n\tclientId: string;\n\tsidebarId: string;\n}\n\ntype Props<A> = {\n\tattributes: A;\n\tblock: string;\n\tclientId: string;\n};\n\n/**\n * Sanitize a client id for use as an HTML id.\n *\n * Must not start with a `-` or a digit.\n *\n */\nexport const sanitizeClientId = ( clientId: string ): string => {\n\treturn clientId.replace( /^([\\d-])/, '_$1' );\n};\n\n/**\n * If we are in the widgets' area, the block is wrapped in\n * a \"sidebar\" block. We retrieve the id to pass along with\n * the request to use the `widget_args` within the preview.\n *\n */\nconst getSidebarId = ( clientId: string ): string => {\n\tif ( ! isScreen( [ 'widgets' ] ) ) {\n\t\treturn '';\n\t}\n\tconst rootId = select( 'core/block-editor' ).getBlockRootClientId( clientId );\n\tif ( 'undefined' !== typeof rootId && '' !== rootId ) {\n\t\tconst ParentBlock = select( 'core/block-editor' ).getBlocksByClientId( [ rootId ] );\n\t\tif ( null !== ParentBlock[ 0 ] && 'undefined' !== typeof ParentBlock[ 0 ] && 'core/widget-area' === ParentBlock[ 0 ]?.name ) {\n\t\t\treturn ParentBlock[ 0 ]?.attributes?.id;\n\t\t}\n\t}\n\n\treturn '';\n};\n\n/**\n * @notice Must use static constants, or the ServerSide requests\n *         will fire anytime something on the page is changed\n *         because the component re-renders.\n */\nconst Page = () => <Placeholder\n\tclassName={styles.placeholder}\n\ticon={PagesIcon}\n\tlabel={__( 'Advanced Sidebar - Pages', 'advanced-sidebar-menu' )}\n\tinstructions={__( 'No preview available', 'advanced-sidebar-menu' )}\n/>;\n\nconst Category = () => <Placeholder\n\tclassName={styles.placeholder}\n\ticon={CategoriesIcon}\n\tlabel={__( 'Advanced Sidebar - Categories', 'advanced-sidebar-menu' )}\n\tinstructions={__( 'No preview available', 'advanced-sidebar-menu' )}\n/>;\n\nconst Navigation = () => <Placeholder\n\tclassName={styles.placeholder}\n\ticon={NavigationIcon}\n\tlabel={__( 'Advanced Sidebar - Navigation', 'advanced-sidebar-menu' )}\n\tinstructions={__( 'No preview available', 'advanced-sidebar-menu' )}\n/>;\n\n/**\n * @notice The styles will not display for the preview\n *         in the block inserter sidebar when Webpack\n *         is enabled because the iframe has a late init.\n */\nconst placeholder = ( block: string ): () => ReactElement => {\n\tswitch ( block ) {\n\t\tcase CONFIG.blocks.pages.id:\n\t\t\treturn Page;\n\t\tcase CONFIG.blocks.categories.id:\n\t\t\treturn Category;\n\t\tcase CONFIG.blocks.navigation?.id:\n\t\t\treturn Navigation;\n\t}\n\treturn () => <></>;\n};\n\n\n/**\n * Same as the `DefaultLoadingResponsePlaceholder` except we trigger\n * an action when the loading component is unmounted to allow\n * components to hook into when ServerSideRender has finished loading.\n *\n * @notice Using a constant to prevent a reload on every content change.\n */\nconst TriggerWhenLoadingFinished = ( {\n\tchildren,\n\tattributes = {\n\t\tclientId: '',\n\t},\n} ) => {\n\tuseEffect( () => {\n\t\t// Call action when the loading component unmounts because loading is finished.\n\t\treturn () => {\n\t\t\t// Give the preview a chance to load on WP 5.8.\n\t\t\tsetTimeout( () => {\n\t\t\t\tdoAction( 'advanced-sidebar-menu.blocks.preview.loading-finished', {\n\t\t\t\t\tvalues: attributes,\n\t\t\t\t\tclientId: attributes.clientId,\n\t\t\t\t} );\n\t\t\t}, 100 );\n\t\t};\n\t} );\n\n\t/**\n\t * ServerSideRender returns a <RawHTML /> filled with an error object when fetch fails.\n\t *\n\t * We throw an error, so our `ErrorBoundary` will catch it, otherwise we end up\n\t * with a \"React objects may not be used as children\" error, which means nothing.\n\t */\n\tif ( 'string' === typeof children?.props?.children?.errorMsg ) {\n\t\tthrow new Error( children?.props?.children?.errorMsg ?? 'Failed' );\n\t}\n\n\treturn (\n\t\t<div className={styles.spinWrap}>\n\t\t\t<div className={styles.spin}>\n\t\t\t\t<Spinner />\n\t\t\t</div>\n\t\t\t<div className={styles.spinContent}>\n\t\t\t\t{children}\n\t\t\t</div>\n\t\t</div>\n\t);\n};\n\n\nconst Preview = <A, >( {attributes, block, clientId}: Props<A> ) => {\n\tconst blockProps = useBlockProps( {\n\t\tclassName: styles.wrap,\n\t} );\n\n\tif ( '' !== CONFIG.error ) {\n\t\treturn <div\n\t\t\tclassName={styles.error}\n\t\t\tdangerouslySetInnerHTML={{__html: DOMPurify.sanitize( CONFIG.error )}} />;\n\t}\n\n\n\tconst sanitizedClientId = sanitizeClientId( clientId );\n\n\tlet attributesToSend: A & ServerSideRenderRequired = {\n\t\t...attributes,\n\t\tisServerSideRenderRequest: true,\n\t\tclientId: sanitizedClientId,\n\t\tsidebarId: getSidebarId( clientId ),\n\t};\n\t/**\n\t * Filters the attributes sent to the preview.\n\t *\n\t * @since 9.6.3\n\t *\n\t * @param {Object} attributes The attributes to send to the preview.\n\t * @param {string} block      The block name.\n\t * @param {string} clientId   The client id.\n\t */\n\tattributesToSend = applyFilters( 'advanced-sidebar-menu.blocks.preview.attributes', attributesToSend, block, clientId );\n\n\treturn (\n\t\t// eslint-disable-next-line jsx-a11y/click-events-have-key-events,jsx-a11y/no-static-element-interactions\n\t\t<div\n\t\t\t{...blockProps}\n\t\t\tonClick={ev => {\n\t\t\t\tconst element = ev.target as HTMLElement;\n\t\t\t\tif ( 'A' === element.nodeName || ( 'SPAN' === element.nodeName && 'A' === element.parentNode?.nodeName ) ) {\n\t\t\t\t\tev.preventDefault();\n\t\t\t\t}\n\t\t\t}}\n\t\t>\n\t\t\t<ServerSideRender<A & ServerSideRenderRequired>\n\t\t\t\tEmptyResponsePlaceholder={placeholder( block )}\n\t\t\t\tLoadingResponsePlaceholder={TriggerWhenLoadingFinished}\n\t\t\t\tattributes={attributesToSend}\n\t\t\t\tblock={block}\n\t\t\t\thttpMethod={'POST'}\n\t\t\t\tskipBlockSupportAttributes\n\t\t\t/>\n\t\t</div>\n\t);\n};\n\nexport default Preview;\n","'use strict';\nvar anObject = require('../internals/an-object');\nvar iteratorClose = require('../internals/iterator-close');\n\n// call something on iterator step with safe closing on error\nmodule.exports = function (iterator, fn, value, ENTRIES) {\n  try {\n    return ENTRIES ? fn(anObject(value)[0], value[1]) : fn(value);\n  } catch (error) {\n    iteratorClose(iterator, 'throw', error);\n  }\n};\n","'use strict';\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\n\nvar min = Math.min;\n\n// `ToLength` abstract operation\n// https://tc39.es/ecma262/#sec-tolength\nmodule.exports = function (argument) {\n  var len = toIntegerOrInfinity(argument);\n  return len > 0 ? min(len, 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991\n};\n","'use strict';\nvar fails = require('../internals/fails');\n\nmodule.exports = !fails(function () {\n  // eslint-disable-next-line es/no-function-prototype-bind -- safe\n  var test = (function () { /* empty */ }).bind();\n  // eslint-disable-next-line no-prototype-builtins -- safe\n  return typeof test != 'function' || test.hasOwnProperty('prototype');\n});\n","'use strict';\nvar fails = require('../internals/fails');\n\nmodule.exports = !fails(function () {\n  function F() { /* empty */ }\n  F.prototype.constructor = null;\n  // eslint-disable-next-line es/no-object-getprototypeof -- required for testing\n  return Object.getPrototypeOf(new F()) !== F.prototype;\n});\n","var map = {\n\t\"./categories/block.tsx\": 8148,\n\t\"./pages/block.tsx\": 4334,\n\t\"gutenberg/blocks/categories/block.tsx\": 8148,\n\t\"gutenberg/blocks/pages/block.tsx\": 4334\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = 9406;","import {CheckboxControl, PanelBody, SelectControl, Slot} from '@wordpress/components';\nimport {CONFIG} from '../../globals/config';\nimport type {Attr as PageAttr} from './pages/block';\nimport type {Attr as CategoryAttr} from './categories/block';\nimport {__, sprintf} from '@wordpress/i18n';\nimport {Type} from '@wordpress/api/types';\nimport {range} from 'lodash';\nimport {Taxonomy} from '@wordpress/api/taxonomies';\nimport ErrorBoundary from '../../components/ErrorBoundary';\nimport {BlockEditProps} from '@wordpress/blocks';\nimport {PropsWithChildren} from 'react';\n\n\nexport type DisplayOptions = {\n\tdisplay_all?: boolean;\n\tinclude_childless_parent?: boolean;\n\tinclude_parent?: boolean;\n\tlevels: number;\n}\n\nexport type FillProps =\n\tPick<BlockEditProps<PageAttr | CategoryAttr>, 'clientId' | 'attributes' | 'setAttributes' | 'name'>\n\t& { type?: Type<'edit'> | Taxonomy<'edit'> }\n\ntype Props = PropsWithChildren<{\n\tattributes: PageAttr | CategoryAttr;\n\tsetAttributes: BlockEditProps<PageAttr | CategoryAttr>['setAttributes'];\n\ttype?: Type<'edit'> | Taxonomy<'edit'>;\n\tname: string;\n\tclientId: string;\n}>;\n\nconst checkboxes: { [attr in keyof Partial<DisplayOptions>]: string } = {\n\t/* translators: %s Selected taxonomy single label */\n\tinclude_parent: __( 'Display highest level parent %s', 'advanced-sidebar-menu' ),\n\t/* translators: %s Selected taxonomy single label */\n\tinclude_childless_parent: __( 'Display menu when there is only the parent %s', 'advanced-sidebar-menu' ),\n\t/* translators: %s Selected taxonomy plural label */\n\tdisplay_all: __( 'Always display child %s', 'advanced-sidebar-menu' ),\n};\n\nconst LEVEL_OPTIONS: Array<{ value: string, label: string }> = [\n\t{\n\t\tvalue: '100',\n\t\tlabel: __( '- All -', 'advanced-sidebar-menu' ),\n\t},\n\t...range( 1, 11 ).map( n => (\n\t\t{\n\t\t\tvalue: n.toString(),\n\t\t\tlabel: n.toString(),\n\t\t}\n\t) ),\n];\n\n/**\n * Display Options shared between widgets.\n *\n * 1. Display the highest level parent page.\n * 2. Display the menu when there is only the parent page.\n * 3. Always display child pages.\n * 5. Display levels of child pages.\n *\n */\nconst Display = ( {\n\tattributes,\n\tsetAttributes,\n\ttype,\n\tname,\n\tclientId,\n\tchildren,\n}: Props ) => {\n\tconst showLevels = ( CONFIG.blocks.pages.id === name && '1' === CONFIG.isPro ) || true === attributes.display_all;\n\n\tconst fillProps: FillProps = {\n\t\ttype,\n\t\tattributes,\n\t\tname,\n\t\tsetAttributes,\n\t\tclientId,\n\t};\n\n\treturn (\n\t\t<PanelBody title={__( 'Display', 'advanced-sidebar-menu' )}>\n\t\t\t{Object.keys( checkboxes ).map( item => {\n\t\t\t\tlet label = type?.labels?.singular_name.toLowerCase() ?? '';\n\t\t\t\tif ( 'display_all' === item ) {\n\t\t\t\t\tlabel = type?.labels?.name.toLowerCase() ?? '';\n\t\t\t\t}\n\t\t\t\treturn <CheckboxControl\n\t\t\t\t\tkey={item}\n\t\t\t\t\t//eslint-disable-next-line @wordpress/valid-sprintf\n\t\t\t\t\tlabel={sprintf( checkboxes[ item ], label )}\n\t\t\t\t\tchecked={true === attributes[ item ]}\n\t\t\t\t\tonChange={checked => {\n\t\t\t\t\t\tsetAttributes( {\n\t\t\t\t\t\t\t[ item ]: checked,\n\t\t\t\t\t\t} );\n\t\t\t\t\t}}\n\t\t\t\t\t// @ts-expect-error -- Not technically available until WP 6.7.\n\t\t\t\t\t__nextHasNoMarginBottom\n\t\t\t\t/>;\n\t\t\t} )}\n\t\t\t{showLevels &&\n\t\t\t\t<SelectControl\n\t\t\t\t\tkey={'levels'}\n\t\t\t\t\t/* translators: %s {select HTML input}, {post type plural label} */\n\t\t\t\t\tlabel={sprintf( __( 'Levels of child %s to display', 'advanced-sidebar-menu' ), type?.labels?.name.toLowerCase() ?? '' )}\n\t\t\t\t\tclassName={'advanced-sidebar-menu-display-select'}\n\t\t\t\t\tvalue={attributes.levels.toString()}\n\t\t\t\t\tonChange={value => {\n\t\t\t\t\t\tsetAttributes( {\n\t\t\t\t\t\t\tlevels: parseInt( value ),\n\t\t\t\t\t\t} );\n\t\t\t\t\t}}\n\t\t\t\t\toptions={LEVEL_OPTIONS}\n\t\t\t\t\t// @ts-expect-error -- Not technically available until WP 6.7.\n\t\t\t\t\t__next40pxDefaultSize\n\t\t\t\t\t__nextHasNoMarginBottom\n\t\t\t\t/>}\n\t\t\t{children}\n\n\t\t\t<ErrorBoundary attributes={attributes} block={name} section={'Display/slots'}>\n\t\t\t\t{CONFIG.blocks.pages.id === name &&\n\t\t\t\t\t<Slot<FillProps>\n\t\t\t\t\t\tname=\"advanced-sidebar-menu/pages/display\"\n\t\t\t\t\t\tfillProps={fillProps} />}\n\t\t\t\t{CONFIG.blocks.categories.id === name &&\n\t\t\t\t\t<Slot<FillProps>\n\t\t\t\t\t\tname=\"advanced-sidebar-menu/categories/display\"\n\t\t\t\t\t\tfillProps={fillProps} />}\n\t\t\t</ErrorBoundary>\n\n\t\t</PanelBody>\n\t);\n};\n\nexport default Display;\n","'use strict';\n// we can't use just `it == null` since of `document.all` special case\n// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec\nmodule.exports = function (it) {\n  return it === null || it === undefined;\n};\n","'use strict';\nvar check = function (it) {\n  return it && it.Math === Math && it;\n};\n\n// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028\nmodule.exports =\n  // eslint-disable-next-line es/no-global-this -- safe\n  check(typeof globalThis == 'object' && globalThis) ||\n  check(typeof window == 'object' && window) ||\n  // eslint-disable-next-line no-restricted-globals -- safe\n  check(typeof self == 'object' && self) ||\n  check(typeof global == 'object' && global) ||\n  check(typeof this == 'object' && this) ||\n  // eslint-disable-next-line no-new-func -- fallback\n  (function () { return this; })() || Function('return this')();\n","'use strict';\nvar classof = require('../internals/classof');\nvar getMethod = require('../internals/get-method');\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\nvar Iterators = require('../internals/iterators');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar ITERATOR = wellKnownSymbol('iterator');\n\nmodule.exports = function (it) {\n  if (!isNullOrUndefined(it)) return getMethod(it, ITERATOR)\n    || getMethod(it, '@@iterator')\n    || Iterators[classof(it)];\n};\n","'use strict';\nvar globalThis = require('../internals/global-this');\nvar userAgent = require('../internals/environment-user-agent');\n\nvar process = globalThis.process;\nvar Deno = globalThis.Deno;\nvar versions = process && process.versions || Deno && Deno.version;\nvar v8 = versions && versions.v8;\nvar match, version;\n\nif (v8) {\n  match = v8.split('.');\n  // in old Chrome, versions of V8 isn't V8 = Chrome / 10\n  // but their correct versions are not interesting for us\n  version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);\n}\n\n// BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`\n// so check `userAgent` even if `.v8` exists, but 0\nif (!version && userAgent) {\n  match = userAgent.match(/Edge\\/(\\d+)/);\n  if (!match || match[1] >= 74) {\n    match = userAgent.match(/Chrome\\/(\\d+)/);\n    if (match) version = +match[1];\n  }\n}\n\nmodule.exports = version;\n","import {TextControl, withFilters} from '@wordpress/components';\nimport {__, sprintf} from '@wordpress/i18n';\nimport {Type} from '@wordpress/api/types';\nimport {Attr as PageAttr} from './pages/block';\nimport {Attr as CategoryAttr} from './categories/block';\nimport {BlockEditProps} from '@wordpress/blocks';\nimport {Taxonomy} from '@wordpress/api/taxonomies';\nimport DOMPurify from 'dompurify';\n\ntype Props = {\n\tattributes: PageAttr | CategoryAttr;\n\tsetAttributes: BlockEditProps<PageAttr | CategoryAttr>['setAttributes'];\n\ttype?: Type<'edit'> | Taxonomy<'edit'>;\n};\n\n/**\n * The Exclude field shared between widgets.\n *\n * Removed and replaced via filter by the PRO version.\n */\nconst ExcludeField = ( {type, attributes, setAttributes}: Props ) => {\n\tconst help = <p>\n\t\t<br />\n\t\t<span\n\t\t\tdangerouslySetInnerHTML={{\n\t\t\t\t__html: DOMPurify.sanitize( sprintf(\n\t\t\t\t\t/* translators: 1: Opening anchor tag, 2: Closing anchor tag */\n\t\t\t\t\t__( 'For more robust and intuitive exclusions use the %1$sPRO version%2$s.', 'advanced-sidebar-menu' ), '<a href=\"https://onpointplugins.com/advanced-sidebar-menu/advanced-sidebar-menu-pro-widget-docs/advanced-sidebar-menu-pro-excluding-menu-items/?utm_source=exclude-field&utm_campaign=gopro&utm_medium=wp-dash\" target=\"_blank\" rel=\"noopener noreferrer\">', '</a>' ), {ADD_ATTR: [ 'target' ]} ),\n\t\t\t}} />\n\t</p>;\n\n\treturn (\n\t\t<TextControl\n\t\t\t/* translators: %s: Selected post type plural label */\n\t\t\tlabel={sprintf( __( '%s to exclude', 'advanced-sidebar-menu' ), type?.labels?.name ?? '' )}\n\t\t\tvalue={attributes.exclude}\n\t\t\thelp={<>{__( 'ids, comma separated', 'advanced-sidebar-menu' )}{help}</>}\n\t\t\tonChange={value => {\n\t\t\t\tsetAttributes( {\n\t\t\t\t\texclude: value,\n\t\t\t\t} );\n\t\t\t}}\n\t\t\t// @ts-expect-error -- Not technically supported until WP 6.7\n\t\t\t__nextHasNoMarginBottom\n\t\t/>\n\t);\n};\n\nexport default withFilters<Props>( 'advanced-sidebar-menu.blocks.exclude-field' )( ExcludeField );\n","'use strict';\n// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot\nvar documentAll = typeof document == 'object' && document.all;\n\n// `IsCallable` abstract operation\n// https://tc39.es/ecma262/#sec-iscallable\n// eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing\nmodule.exports = typeof documentAll == 'undefined' && documentAll !== undefined ? function (argument) {\n  return typeof argument == 'function' || argument === documentAll;\n} : function (argument) {\n  return typeof argument == 'function';\n};\n","'use strict';\n// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe\nexports.f = Object.getOwnPropertySymbols;\n","// extracted by mini-css-extract-plugin\nexport default {\"error\":\"edit__error__lZ\"};","'use strict';\nvar isCallable = require('../internals/is-callable');\nvar tryToString = require('../internals/try-to-string');\n\nvar $TypeError = TypeError;\n\n// `Assert: IsCallable(argument) is true`\nmodule.exports = function (argument) {\n  if (isCallable(argument)) return argument;\n  throw new $TypeError(tryToString(argument) + ' is not a function');\n};\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar fails = require('../internals/fails');\n\n// V8 ~ Chrome 36-\n// https://bugs.chromium.org/p/v8/issues/detail?id=3334\nmodule.exports = DESCRIPTORS && fails(function () {\n  // eslint-disable-next-line es/no-object-defineproperty -- required for testing\n  return Object.defineProperty(function () { /* empty */ }, 'prototype', {\n    value: 42,\n    writable: false\n  }).prototype !== 42;\n});\n","// extracted by mini-css-extract-plugin\nexport default {\"wrap\":\"info-panel__wrap__k_\",\"button\":\"info-panel__button__Fg\"};","'use strict';\nvar globalThis = require('../internals/global-this');\n\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar defineProperty = Object.defineProperty;\n\nmodule.exports = function (key, value) {\n  try {\n    defineProperty(globalThis, key, { value: value, configurable: true, writable: true });\n  } catch (error) {\n    globalThis[key] = value;\n  } return value;\n};\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\tid: moduleId,\n\t\tloaded: false,\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Flag the module as loaded\n\tmodule.loaded = true;\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.hmd = (module) => {\n\tmodule = Object.create(module);\n\tif (!module.children) module.children = [];\n\tObject.defineProperty(module, 'exports', {\n\t\tenumerable: true,\n\t\tset: () => {\n\t\t\tthrow new Error('ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: ' + module.id);\n\t\t}\n\t});\n\treturn module;\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","import widgets from './modules/widgets';\n\nconsole.debug( 'Advanced Sidebar - Loaded' );\n\nwidgets();\n\n/**\n * 1. Blocks can't be lazy loaded, or they will be unavailable\n *    intermittently when developing.\n * 2. Theme Customizers must wait until the page is finished loading.\n *\n * @version 1.1.0\n */\nif ( typeof window.wp.element !== 'undefined' && typeof window.wp.plugins !== 'undefined' ) {\n\trequire( './gutenberg' ).default();\n} else if ( typeof window.wp.customize !== 'undefined' ) {\n\twindow.wp.customize.bind( 'ready', () => {\n\t\trequire( './gutenberg' ).default();\n\t} );\n}\n"],"names":["CONFIG","window","ADVANCED_SIDEBAR_MENU","__","useState","Notice","styles","jsx","_jsx","jsxs","_jsxs","DISMISS_KEY","TransformNotice","shown","setShown","className","wrap","politeness","onDismiss","localStorage","setItem","actions","label","url","variant","children","PagesIcon","xmlns","viewBox","x","fill","width","height","d","autoloadBlocks","Preview","getBlockSupports","transformLegacyWidget","translateBlockAttributes","ErrorBoundary","NavigationIcon","require","context","module","isPro","BlockControls","InspectorControls","PanelBody","SelectControl","Slot","TextControl","block","Display","useSelect","InfoPanel","SideLoad","isScreen","ExcludeField","DOMPurify","Fragment","_Fragment","Edit","attributes","setAttributes","clientId","name","postType","select","type","getPostType","post_type","error","dangerouslySetInnerHTML","__html","sanitize","id","fillProps","href","docs","page","target","rel","value","title","onChange","__nextHasNoMarginBottom","section","order_by","labelPosition","options","Object","entries","pages","orderBy","map","CategoriesIcon","CheckboxControl","sprintf","taxonomy","getTaxonomy","category","labels","toLowerCase","checked","single","new_widget","keys","categories","displayEach","key","withFilters","isEmpty","firstClientId","getBlockIndex","Component","addQueryArgs","constructor","props","state","hasError","getDerivedStateFromError","componentDidCatch","info","console","warn","setState","render","siteInfo","scriptDebug","style","color","onClick","e","preventDefault","location","open","support","border","padding","overflowWrap","currentScreen","message","JSON","stringify","stack","EXAMPLE","apply_current_page_parent_styles_to_parent","apply_current_page_styles_to_parent","block_style","border_color","bullet_style","child_page_bg_color","child_page_color","current_page_bg_color","current_page_color","current_page_font_weight","current_page_parent_bg_color","display_all","grandchild_page_bg_color","grandchild_page_color","grandchild_page_font_weight","include_childless_parent","include_parent","levels","parent_page_bg_color","parent_page_color","blocks","settings","icon","description","example","transforms","from","isMatch","idBase","instance","raw","transform","supports","edit","save","apiVersion","createRoot","renderTransformNotice","classicWidgets","getItem","placeholders","document","querySelectorAll","forEach","placeholder","root","isWidgets","jQuery","on","createBlock","screens","includes","translateLegacyWidget","commonAttr","previewAttr","blockSupport","Button","decodeEntities","titleStyles","fontWeight","headingStyles","margin","fontSize","initialOpen","features","feature","button","isPrimary","parent_page_font_weight","keywords","useEffect","ServerSideRender","Placeholder","Spinner","useBlockProps","applyFilters","doAction","sanitizeClientId","replace","getSidebarId","rootId","getBlockRootClientId","ParentBlock","getBlocksByClientId","Page","instructions","Category","Navigation","navigation","TriggerWhenLoadingFinished","setTimeout","values","errorMsg","Error","spinWrap","spin","spinContent","blockProps","sanitizedClientId","attributesToSend","isServerSideRenderRequest","sidebarId","ev","element","nodeName","parentNode","EmptyResponsePlaceholder","LoadingResponsePlaceholder","httpMethod","skipBlockSupportAttributes","range","checkboxes","LEVEL_OPTIONS","n","toString","showLevels","item","singular_name","parseInt","__next40pxDefaultSize","help","ADD_ATTR","exclude","widgets","debug","wp","plugins","default","customize","bind"],"sourceRoot":""}
  • advanced-sidebar-menu/trunk/js/dist/advanced-sidebar-menu-block-editor.min.js

    r3391412 r3391853  
    11/*! For license information please see advanced-sidebar-menu-block-editor.min.js.LICENSE.txt */
    2 (()=>{var e={26:(e,t,r)=>{"use strict";var n=r(2617),o=r(9659),i=/#|\.prototype\./,s=function(e,t){var r=c[a(e)];return r===u||r!==l&&(o(t)?n(t):!!t)},a=s.normalize=function(e){return String(e).replace(i,".").toLowerCase()},c=s.data={},l=s.NATIVE="N",u=s.POLYFILL="P";e.exports=s},380:(e,t,r)=>{"use strict";r.d(t,{P:()=>n});const n=window.ADVANCED_SIDEBAR_MENU},613:e=>{"use strict";e.exports=!1},705:(e,t,r)=>{"use strict";var n=r(1303),o=r(7386),i=n("keys");e.exports=function(e){return i[e]||(i[e]=o(e))}},709:(e,t,r)=>{"use strict";var n=r(9498).navigator,o=n&&n.userAgent;e.exports=o?String(o):""},729:(e,t,r)=>{"use strict";r.r(t),r.d(t,{block:()=>_,name:()=>x,settings:()=>w});var n=r(380),o=(r(8369),r(5831),r(5705)),i=r(1426),s=r(6423),a=r(2415),c=r(3945),l=r(9458),u=r(6021),d=r(4833),p=r(3229),f=r(3922),m=r(5924),h=r(9636),g=r(9679),b=r(7157);const v=({attributes:e,setAttributes:t,clientId:r,name:v})=>{const y=(0,o.useSelect)(t=>t("core").getTaxonomy(e.taxonomy??"category")??t("core").getTaxonomy("category"),[e.taxonomy]);if(""!==n.P.error)return(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(s.InspectorControls,{children:(0,b.jsx)("div",{className:g.A.error,dangerouslySetInnerHTML:{__html:i.A.sanitize(n.P.error)}})}),(0,b.jsx)(a.A,{attributes:e,block:_.id,clientId:r})]});const x={type:y,attributes:e,name:v,setAttributes:t,clientId:r};return(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(s.InspectorControls,{children:(0,b.jsx)("div",{className:"components-panel__body is-opened",children:(0,b.jsx)("a",{href:n.P.docs.category,target:"_blank",rel:"noopener noreferrer",children:(0,d.__)("Documentation","advanced-sidebar-menu")})})}),(0,b.jsxs)(s.InspectorControls,{children:[(0,m.vL)(["widgets","site-editor","customize"])&&(0,b.jsx)(u.PanelBody,{children:(0,b.jsx)(u.TextControl,{value:e.title??"",label:(0,d.__)("Title","advanced-sidebar-menu"),onChange:e=>t({title:e}),__nextHasNoMarginBottom:!0})}),(0,b.jsxs)(c.A,{attributes:e,block:v,section:"categories/Edit/general",children:[(0,b.jsxs)(l.A,{attributes:e,clientId:r,name:v,setAttributes:t,type:y,children:[(0,m.vL)(["post"])&&(0,b.jsx)(u.CheckboxControl,{label:(0,d.sprintf)((0,d.__)("Display %s on single posts","advanced-sidebar-menu"),y?.labels?.name.toLowerCase()??""),checked:e.single,onChange:e=>{t({single:e})},__nextHasNoMarginBottom:!0}),(0,m.vL)(["widgets","customize"])&&e.single&&(0,b.jsx)(u.SelectControl,{label:(0,d.sprintf)((0,d.__)("Display each single post's %s","advanced-sidebar-menu"),y?.labels?.name.toLowerCase()??""),value:e.new_widget,options:Object.keys(n.P.categories.displayEach).map(e=>({value:e,label:n.P.categories.displayEach[e]})),onChange:e=>t({new_widget:e})})]}),(0,b.jsxs)("div",{className:"components-panel__body is-opened",children:[(0,b.jsx)(u.Slot,{name:"advanced-sidebar-menu/categories/general",fillProps:x}),(0,b.jsx)(h.A,{type:y,attributes:e,setAttributes:t})]})]}),(0,b.jsx)(c.A,{attributes:e,block:v,section:"categories/Edit/inspector",children:(0,b.jsx)(u.Slot,{name:"advanced-sidebar-menu/categories/inspector",fillProps:x})})]}),(0,b.jsx)(s.BlockControls,{children:(0,b.jsx)(c.A,{attributes:e,block:v,section:"categories/Edit/block-controls",children:(0,b.jsx)(u.Slot,{name:"advanced-sidebar-menu/categories/block-controls",fillProps:x})})}),(0,b.jsx)(p.A,{clientId:r}),(0,b.jsx)(c.A,{attributes:e,block:v,section:"categories/Edit/preview",children:(0,b.jsx)(a.A,{attributes:e,block:_.id,clientId:r})}),(0,b.jsx)(f.A,{clientId:r})]})};var y=r(2968);const _=n.P.blocks.categories,x=_.id,w={title:(0,d.__)("Advanced Sidebar - Categories","advanced-sidebar-menu"),icon:y.A,category:"widgets",description:(0,d.__)("Creates a menu of all the categories using the parent/child relationship","advanced-sidebar-menu"),keywords:[(0,d.__)("taxonomy","advanced-sidebar-menu"),(0,d.__)("term","advanced-sidebar-menu"),(0,d.__)("category","advanced-sidebar-menu"),(0,d.__)("menu","advanced-sidebar-menu")],example:{attributes:{"display-posts":"all","display-posts/limit":2,apply_current_page_parent_styles_to_parent:!0,apply_current_page_styles_to_parent:!0,block_style:!0,border:!0,border_color:"#333",bullet_style:"none",child_page_bg_color:"#666",child_page_color:"#fff",parent_page_bg_color:"#282828",parent_page_color:"#0cc4c6",parent_page_font_weight:"normal",display_all:!0,grandchild_page_bg_color:"#989898",grandchild_page_color:"#282828",grandchild_page_font_weight:"bold",include_childless_parent:!0,include_parent:!0,levels:2}},transforms:{from:[{type:"block",blocks:["core/legacy-widget"],isMatch:({idBase:e,instance:t})=>null!==t?.raw&&"advanced_sidebar_menu_category"===e,transform:(0,m.od)(x)}]},attributes:(0,m.$O)(_.attributes),supports:(0,m.MP)(),edit:e=>(0,b.jsx)(v,{...e}),save:()=>null,apiVersion:3}},873:(e,t,r)=>{"use strict";var n=r(6666),o=r(2617),i=r(9659),s=r(3640),a=r(1582),c=r(1776).CONFIGURABLE,l=r(4036),u=r(5267),d=u.enforce,p=u.get,f=String,m=Object.defineProperty,h=n("".slice),g=n("".replace),b=n([].join),v=a&&!o(function(){return 8!==m(function(){},"length",{value:8}).length}),y=String(String).split("String"),_=e.exports=function(e,t,r){"Symbol("===h(f(t),0,7)&&(t="["+g(f(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),r&&r.getter&&(t="get "+t),r&&r.setter&&(t="set "+t),(!s(e,"name")||c&&e.name!==t)&&(a?m(e,"name",{value:t,configurable:!0}):e.name=t),v&&r&&s(r,"arity")&&e.length!==r.arity&&m(e,"length",{value:r.arity});try{r&&s(r,"constructor")&&r.constructor?a&&m(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var n=d(e);return s(n,"source")||(n.source=b(y,"string"==typeof t?t:"")),e};Function.prototype.toString=_(function(){return i(this)&&p(this).source||l(this)},"toString")},1034:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(7157);const o=(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",children:[(0,n.jsx)("rect",{x:"0",fill:"none",width:"20",height:"20"}),(0,n.jsx)("g",{children:(0,n.jsx)("path",{fill:"#044567",d:"M19 17V2c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v15c0 .55.45 1 1 1h15c.55 0 1-.45 1-1z M4 3h13v4H4V3z M5 4h3v2H5V4zm4 0h3v2H9V4zm4 0h3v2H13V4z M4.5 9 c .28 0 .5 .22 .5 .5s-.22.5-.5.5s-.5-.22-.5-.5s.22-.5 .5-.5z M6 9h4v1H6v-1z M4.5 12 c .28 0 .5 .22 .5 .5s-.22.5-.5.5s-.5-.22-.5-.5s.22-.5 .5-.5z M6 12h4v1H6v-1z M4.5 15 c .28 0 .5 .22 .5 .5s-.22.5-.5.5s-.5-.22-.5-.5s.22-.5 .5-.5z M6 15h4v1H6v-1z M12 9 H15.5 L17 10.5 V15.5 H12 V9 Z M15.5 9 V10.5 H17 M12.5 12 H16.5 M12.5 13.5 H16.5"})})]})},1067:(e,t,r)=>{"use strict";var n=r(1582),o=r(5879),i=r(9752),s=r(3429),a=r(2471),c=TypeError,l=Object.defineProperty,u=Object.getOwnPropertyDescriptor,d="enumerable",p="configurable",f="writable";t.f=n?i?function(e,t,r){if(s(e),t=a(t),s(r),"function"==typeof e&&"prototype"===t&&"value"in r&&f in r&&!r[f]){var n=u(e,t);n&&n[f]&&(e[t]=r.value,r={configurable:p in r?r[p]:n[p],enumerable:d in r?r[d]:n[d],writable:!1})}return l(e,t,r)}:l:function(e,t,r){if(s(e),t=a(t),s(r),o)try{return l(e,t,r)}catch(e){}if("get"in r||"set"in r)throw new c("Accessors not supported");return"value"in r&&(e[t]=r.value),e}},1159:(e,t,r)=>{"use strict";var n=r(613),o=r(9498),i=r(9951),s="__core-js_shared__",a=e.exports=o[s]||i(s,{});(a.versions||(a.versions=[])).push({version:"3.46.0",mode:n?"pure":"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru), 2025 CoreJS Company (core-js.io)",license:"https://github.com/zloirock/core-js/blob/v3.46.0/LICENSE",source:"https://github.com/zloirock/core-js"})},1259:(e,t)=>{"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,o=n&&!r.call({1:2},1);t.f=o?function(e){var t=n(this,e);return!!t&&t.enumerable}:r},1303:(e,t,r)=>{"use strict";var n=r(1159);e.exports=function(e,t){return n[e]||(n[e]=t||{})}},1304:(e,t,r)=>{"use strict";r.d(t,{A:()=>b});var n=r(2463);window.wp;var o=r(5705);function i(e,t,r){if(!e.s){if(r instanceof s){if(!r.s)return void(r.o=i.bind(null,e,t));1&t&&(t=r.s),r=r.v}if(r&&r.then)return void r.then(i.bind(null,e,t),i.bind(null,e,2));e.s=t,e.v=r;const n=e.o;n&&n(e)}}window.wp;var s=function(){function e(){}return e.prototype.then=function(t,r){var n=new e,o=this.s;if(o){var s=1&o?t:r;if(s){try{i(n,1,s(this.v))}catch(e){i(n,2,e)}return n}return this}return this.o=function(e){try{var o=e.v;1&e.s?i(n,1,t?t(o):o):r?i(n,1,r(o)):i(n,2,o)}catch(e){i(n,2,e)}},n},e}();function a(e){return e instanceof s&&1&e.s}var c=null,l=[],u=function(){c=(0,o.select)("core/block-editor").getSelectedBlockClientId()},d=function(e,t){void 0===e&&(e=[]);var r=t.clientId,n=t.innerBlocks;e.includes(t.name)&&l.push(r),n.forEach(function(t){return d(e,t)})},p=function(e){void 0===e&&(e=[]);try{return Promise.resolve((0,o.dispatch)("core/block-editor").clearSelectedBlock()).then(function(){function t(){function e(){l=[],c=null}var t=null!==c?Promise.resolve((0,o.dispatch)("core/block-editor").selectBlock(c)).then(function(){}):Promise.resolve((0,o.dispatch)("core/block-editor").clearSelectedBlock()).then(function(){});return t&&t.then?t.then(e):e()}(0,o.select)("core/block-editor").getBlocks().forEach(function(t){return d(e,t)});var r,n,u,p,f,m=(r=l,n=function(e){return Promise.resolve((0,o.dispatch)("core/block-editor").selectBlock(l[e])).then(function(){})},f=-1,function e(t){try{for(;++f<r.length;)if((t=n(f))&&t.then){if(!a(t))return void t.then(e,p||(p=i.bind(null,u=new s,2)));t=t.v}u?i(u,1,t):u=t}catch(e){i(u||(u=new s),2,e)}}(),u);return m&&m.then?m.then(t):t()})}catch(e){return Promise.reject(e)}},f=r(2415),m=r(5924),h=r(3945),g=r(4559);e=r.hmd(e);const b=()=>{(function(e){var t=e.afterReload,r=e.beforeReload,n=e.getContext,o=e.pluginModule,i=e.register,s=e.unregister,a=e.type,c={},l=function(){r();var e=n();if(e){var o=[];return e.keys().forEach(function(t){var r=e(t);Boolean(r.exclude)||r!==c[t]&&(Boolean(c[r.name+"-"+a])&&s(r.name),i(r.name,r.settings),o.push(r.name),c[r.name+"-"+a]=r)}),t(o),e}},u=l();o.hot&&void 0!==(null==u?void 0:u.id)&&o.hot.accept(u.id.toString(),l)})({afterReload:p,beforeReload:u,getContext:()=>r(9406),pluginModule:e,register:n.registerBlockType,unregister:n.unregisterBlockType,type:"block"}),""!==window.ADVANCED_SIDEBAR_MENU.isPro&&(window.ADVANCED_SIDEBAR_MENU.ErrorBoundary=h.A,window.ADVANCED_SIDEBAR_MENU.NavigationIcon=g.A,window.ADVANCED_SIDEBAR_MENU.Preview=f.A,window.ADVANCED_SIDEBAR_MENU.getBlockSupports=m.MP,window.ADVANCED_SIDEBAR_MENU.transformLegacyWidget=m.od,window.ADVANCED_SIDEBAR_MENU.translateBlockAttributes=m.$O)}},1374:(e,t,r)=>{"use strict";var n=r(6666),o=n({}.toString),i=n("".slice);e.exports=function(e){return i(o(e),8,-1)}},1399:(e,t,r)=>{"use strict";var n=r(1582),o=r(9752),i=r(1067),s=r(3429),a=r(2879),c=r(8794);t.f=n&&!o?Object.defineProperties:function(e,t){s(e);for(var r,n=a(t),o=c(t),l=o.length,u=0;l>u;)i.f(e,r=o[u++],n[r]);return e}},1426:(e,t,r)=>{"use strict";r.d(t,{A:()=>re});const{entries:n,setPrototypeOf:o,isFrozen:i,getPrototypeOf:s,getOwnPropertyDescriptor:a}=Object;let{freeze:c,seal:l,create:u}=Object,{apply:d,construct:p}="undefined"!=typeof Reflect&&Reflect;c||(c=function(e){return e}),l||(l=function(e){return e}),d||(d=function(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),o=2;o<r;o++)n[o-2]=arguments[o];return e.apply(t,n)}),p||(p=function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return new e(...r)});const f=k(Array.prototype.forEach),m=k(Array.prototype.lastIndexOf),h=k(Array.prototype.pop),g=k(Array.prototype.push),b=k(Array.prototype.splice),v=k(String.prototype.toLowerCase),y=k(String.prototype.toString),_=k(String.prototype.match),x=k(String.prototype.replace),w=k(String.prototype.indexOf),A=k(String.prototype.trim),S=k(Object.prototype.hasOwnProperty),E=k(RegExp.prototype.test),T=(j=TypeError,function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return p(j,t)});var j;function k(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var r=arguments.length,n=new Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];return d(e,t,n)}}function N(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:v;o&&o(e,null);let n=t.length;for(;n--;){let o=t[n];if("string"==typeof o){const e=r(o);e!==o&&(i(t)||(t[n]=e),o=e)}e[o]=!0}return e}function O(e){for(let t=0;t<e.length;t++)S(e,t)||(e[t]=null);return e}function I(e){const t=u(null);for(const[r,o]of n(e))S(e,r)&&(Array.isArray(o)?t[r]=O(o):o&&"object"==typeof o&&o.constructor===Object?t[r]=I(o):t[r]=o);return t}function C(e,t){for(;null!==e;){const r=a(e,t);if(r){if(r.get)return k(r.get);if("function"==typeof r.value)return k(r.value)}e=s(e)}return function(){return null}}const M=c(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),P=c(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),D=c(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),R=c(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),L=c(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),z=c(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),H=c(["#text"]),B=c(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),F=c(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),U=c(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),W=c(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),V=l(/\{\{[\w\W]*|[\w\W]*\}\}/gm),G=l(/<%[\w\W]*|[\w\W]*%>/gm),Y=l(/\$\{[\w\W]*/gm),$=l(/^data-[\-\w.\u00B7-\uFFFF]+$/),q=l(/^aria-[\-\w]+$/),X=l(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),K=l(/^(?:\w+script|data):/i),Z=l(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),J=l(/^html$/i),Q=l(/^[a-z][.\w]*(-[.\w]+)+$/i);var ee=Object.freeze({__proto__:null,ARIA_ATTR:q,ATTR_WHITESPACE:Z,CUSTOM_ELEMENT:Q,DATA_ATTR:$,DOCTYPE_NAME:J,ERB_EXPR:G,IS_ALLOWED_URI:X,IS_SCRIPT_OR_DATA:K,MUSTACHE_EXPR:V,TMPLIT_EXPR:Y});const te=function(){return"undefined"==typeof window?null:window};var re=function e(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:te();const r=t=>e(t);if(r.version="3.3.0",r.removed=[],!t||!t.document||9!==t.document.nodeType||!t.Element)return r.isSupported=!1,r;let{document:o}=t;const i=o,s=i.currentScript,{DocumentFragment:a,HTMLTemplateElement:l,Node:d,Element:p,NodeFilter:j,NamedNodeMap:k=t.NamedNodeMap||t.MozNamedAttrMap,HTMLFormElement:O,DOMParser:V,trustedTypes:G}=t,Y=p.prototype,$=C(Y,"cloneNode"),q=C(Y,"remove"),K=C(Y,"nextSibling"),Z=C(Y,"childNodes"),Q=C(Y,"parentNode");if("function"==typeof l){const e=o.createElement("template");e.content&&e.content.ownerDocument&&(o=e.content.ownerDocument)}let re,ne="";const{implementation:oe,createNodeIterator:ie,createDocumentFragment:se,getElementsByTagName:ae}=o,{importNode:ce}=i;let le={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]};r.isSupported="function"==typeof n&&"function"==typeof Q&&oe&&void 0!==oe.createHTMLDocument;const{MUSTACHE_EXPR:ue,ERB_EXPR:de,TMPLIT_EXPR:pe,DATA_ATTR:fe,ARIA_ATTR:me,IS_SCRIPT_OR_DATA:he,ATTR_WHITESPACE:ge,CUSTOM_ELEMENT:be}=ee;let{IS_ALLOWED_URI:ve}=ee,ye=null;const _e=N({},[...M,...P,...D,...L,...H]);let xe=null;const we=N({},[...B,...F,...U,...W]);let Ae=Object.seal(u(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Se=null,Ee=null;const Te=Object.seal(u(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let je=!0,ke=!0,Ne=!1,Oe=!0,Ie=!1,Ce=!0,Me=!1,Pe=!1,De=!1,Re=!1,Le=!1,ze=!1,He=!0,Be=!1,Fe=!0,Ue=!1,We={},Ve=null;const Ge=N({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let Ye=null;const $e=N({},["audio","video","img","source","image","track"]);let qe=null;const Xe=N({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Ke="http://www.w3.org/1998/Math/MathML",Ze="http://www.w3.org/2000/svg",Je="http://www.w3.org/1999/xhtml";let Qe=Je,et=!1,tt=null;const rt=N({},[Ke,Ze,Je],y);let nt=N({},["mi","mo","mn","ms","mtext"]),ot=N({},["annotation-xml"]);const it=N({},["title","style","font","a","script"]);let st=null;const at=["application/xhtml+xml","text/html"];let ct=null,lt=null;const ut=o.createElement("form"),dt=function(e){return e instanceof RegExp||e instanceof Function},pt=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!lt||lt!==e){if(e&&"object"==typeof e||(e={}),e=I(e),st=-1===at.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE,ct="application/xhtml+xml"===st?y:v,ye=S(e,"ALLOWED_TAGS")?N({},e.ALLOWED_TAGS,ct):_e,xe=S(e,"ALLOWED_ATTR")?N({},e.ALLOWED_ATTR,ct):we,tt=S(e,"ALLOWED_NAMESPACES")?N({},e.ALLOWED_NAMESPACES,y):rt,qe=S(e,"ADD_URI_SAFE_ATTR")?N(I(Xe),e.ADD_URI_SAFE_ATTR,ct):Xe,Ye=S(e,"ADD_DATA_URI_TAGS")?N(I($e),e.ADD_DATA_URI_TAGS,ct):$e,Ve=S(e,"FORBID_CONTENTS")?N({},e.FORBID_CONTENTS,ct):Ge,Se=S(e,"FORBID_TAGS")?N({},e.FORBID_TAGS,ct):I({}),Ee=S(e,"FORBID_ATTR")?N({},e.FORBID_ATTR,ct):I({}),We=!!S(e,"USE_PROFILES")&&e.USE_PROFILES,je=!1!==e.ALLOW_ARIA_ATTR,ke=!1!==e.ALLOW_DATA_ATTR,Ne=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Oe=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,Ie=e.SAFE_FOR_TEMPLATES||!1,Ce=!1!==e.SAFE_FOR_XML,Me=e.WHOLE_DOCUMENT||!1,Re=e.RETURN_DOM||!1,Le=e.RETURN_DOM_FRAGMENT||!1,ze=e.RETURN_TRUSTED_TYPE||!1,De=e.FORCE_BODY||!1,He=!1!==e.SANITIZE_DOM,Be=e.SANITIZE_NAMED_PROPS||!1,Fe=!1!==e.KEEP_CONTENT,Ue=e.IN_PLACE||!1,ve=e.ALLOWED_URI_REGEXP||X,Qe=e.NAMESPACE||Je,nt=e.MATHML_TEXT_INTEGRATION_POINTS||nt,ot=e.HTML_INTEGRATION_POINTS||ot,Ae=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&dt(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(Ae.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&dt(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(Ae.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(Ae.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Ie&&(ke=!1),Le&&(Re=!0),We&&(ye=N({},H),xe=[],!0===We.html&&(N(ye,M),N(xe,B)),!0===We.svg&&(N(ye,P),N(xe,F),N(xe,W)),!0===We.svgFilters&&(N(ye,D),N(xe,F),N(xe,W)),!0===We.mathMl&&(N(ye,L),N(xe,U),N(xe,W))),e.ADD_TAGS&&("function"==typeof e.ADD_TAGS?Te.tagCheck=e.ADD_TAGS:(ye===_e&&(ye=I(ye)),N(ye,e.ADD_TAGS,ct))),e.ADD_ATTR&&("function"==typeof e.ADD_ATTR?Te.attributeCheck=e.ADD_ATTR:(xe===we&&(xe=I(xe)),N(xe,e.ADD_ATTR,ct))),e.ADD_URI_SAFE_ATTR&&N(qe,e.ADD_URI_SAFE_ATTR,ct),e.FORBID_CONTENTS&&(Ve===Ge&&(Ve=I(Ve)),N(Ve,e.FORBID_CONTENTS,ct)),Fe&&(ye["#text"]=!0),Me&&N(ye,["html","head","body"]),ye.table&&(N(ye,["tbody"]),delete Se.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw T('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw T('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');re=e.TRUSTED_TYPES_POLICY,ne=re.createHTML("")}else void 0===re&&(re=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let r=null;const n="data-tt-policy-suffix";t&&t.hasAttribute(n)&&(r=t.getAttribute(n));const o="dompurify"+(r?"#"+r:"");try{return e.createPolicy(o,{createHTML:e=>e,createScriptURL:e=>e})}catch(e){return console.warn("TrustedTypes policy "+o+" could not be created."),null}}(G,s)),null!==re&&"string"==typeof ne&&(ne=re.createHTML(""));c&&c(e),lt=e}},ft=N({},[...P,...D,...R]),mt=N({},[...L,...z]),ht=function(e){g(r.removed,{element:e});try{Q(e).removeChild(e)}catch(t){q(e)}},gt=function(e,t){try{g(r.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){g(r.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e)if(Re||Le)try{ht(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},bt=function(e){let t=null,r=null;if(De)e="<remove></remove>"+e;else{const t=_(e,/^[\r\n\t ]+/);r=t&&t[0]}"application/xhtml+xml"===st&&Qe===Je&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");const n=re?re.createHTML(e):e;if(Qe===Je)try{t=(new V).parseFromString(n,st)}catch(e){}if(!t||!t.documentElement){t=oe.createDocument(Qe,"template",null);try{t.documentElement.innerHTML=et?ne:n}catch(e){}}const i=t.body||t.documentElement;return e&&r&&i.insertBefore(o.createTextNode(r),i.childNodes[0]||null),Qe===Je?ae.call(t,Me?"html":"body")[0]:Me?t.documentElement:i},vt=function(e){return ie.call(e.ownerDocument||e,e,j.SHOW_ELEMENT|j.SHOW_COMMENT|j.SHOW_TEXT|j.SHOW_PROCESSING_INSTRUCTION|j.SHOW_CDATA_SECTION,null)},yt=function(e){return e instanceof O&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof k)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes)},_t=function(e){return"function"==typeof d&&e instanceof d};function xt(e,t,n){f(e,e=>{e.call(r,t,n,lt)})}const wt=function(e){let t=null;if(xt(le.beforeSanitizeElements,e,null),yt(e))return ht(e),!0;const n=ct(e.nodeName);if(xt(le.uponSanitizeElement,e,{tagName:n,allowedTags:ye}),Ce&&e.hasChildNodes()&&!_t(e.firstElementChild)&&E(/<[/\w!]/g,e.innerHTML)&&E(/<[/\w!]/g,e.textContent))return ht(e),!0;if(7===e.nodeType)return ht(e),!0;if(Ce&&8===e.nodeType&&E(/<[/\w]/g,e.data))return ht(e),!0;if(!(Te.tagCheck instanceof Function&&Te.tagCheck(n))&&(!ye[n]||Se[n])){if(!Se[n]&&St(n)){if(Ae.tagNameCheck instanceof RegExp&&E(Ae.tagNameCheck,n))return!1;if(Ae.tagNameCheck instanceof Function&&Ae.tagNameCheck(n))return!1}if(Fe&&!Ve[n]){const t=Q(e)||e.parentNode,r=Z(e)||e.childNodes;if(r&&t)for(let n=r.length-1;n>=0;--n){const o=$(r[n],!0);o.__removalCount=(e.__removalCount||0)+1,t.insertBefore(o,K(e))}}return ht(e),!0}return e instanceof p&&!function(e){let t=Q(e);t&&t.tagName||(t={namespaceURI:Qe,tagName:"template"});const r=v(e.tagName),n=v(t.tagName);return!!tt[e.namespaceURI]&&(e.namespaceURI===Ze?t.namespaceURI===Je?"svg"===r:t.namespaceURI===Ke?"svg"===r&&("annotation-xml"===n||nt[n]):Boolean(ft[r]):e.namespaceURI===Ke?t.namespaceURI===Je?"math"===r:t.namespaceURI===Ze?"math"===r&&ot[n]:Boolean(mt[r]):e.namespaceURI===Je?!(t.namespaceURI===Ze&&!ot[n])&&!(t.namespaceURI===Ke&&!nt[n])&&!mt[r]&&(it[r]||!ft[r]):!("application/xhtml+xml"!==st||!tt[e.namespaceURI]))}(e)?(ht(e),!0):"noscript"!==n&&"noembed"!==n&&"noframes"!==n||!E(/<\/no(script|embed|frames)/i,e.innerHTML)?(Ie&&3===e.nodeType&&(t=e.textContent,f([ue,de,pe],e=>{t=x(t,e," ")}),e.textContent!==t&&(g(r.removed,{element:e.cloneNode()}),e.textContent=t)),xt(le.afterSanitizeElements,e,null),!1):(ht(e),!0)},At=function(e,t,r){if(He&&("id"===t||"name"===t)&&(r in o||r in ut))return!1;if(ke&&!Ee[t]&&E(fe,t));else if(je&&E(me,t));else if(Te.attributeCheck instanceof Function&&Te.attributeCheck(t,e));else if(!xe[t]||Ee[t]){if(!(St(e)&&(Ae.tagNameCheck instanceof RegExp&&E(Ae.tagNameCheck,e)||Ae.tagNameCheck instanceof Function&&Ae.tagNameCheck(e))&&(Ae.attributeNameCheck instanceof RegExp&&E(Ae.attributeNameCheck,t)||Ae.attributeNameCheck instanceof Function&&Ae.attributeNameCheck(t,e))||"is"===t&&Ae.allowCustomizedBuiltInElements&&(Ae.tagNameCheck instanceof RegExp&&E(Ae.tagNameCheck,r)||Ae.tagNameCheck instanceof Function&&Ae.tagNameCheck(r))))return!1}else if(qe[t]);else if(E(ve,x(r,ge,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==w(r,"data:")||!Ye[e])if(Ne&&!E(he,x(r,ge,"")));else if(r)return!1;return!0},St=function(e){return"annotation-xml"!==e&&_(e,be)},Et=function(e){xt(le.beforeSanitizeAttributes,e,null);const{attributes:t}=e;if(!t||yt(e))return;const n={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:xe,forceKeepAttr:void 0};let o=t.length;for(;o--;){const i=t[o],{name:s,namespaceURI:a,value:c}=i,l=ct(s),u=c;let d="value"===s?u:A(u);if(n.attrName=l,n.attrValue=d,n.keepAttr=!0,n.forceKeepAttr=void 0,xt(le.uponSanitizeAttribute,e,n),d=n.attrValue,!Be||"id"!==l&&"name"!==l||(gt(s,e),d="user-content-"+d),Ce&&E(/((--!?|])>)|<\/(style|title|textarea)/i,d)){gt(s,e);continue}if("attributename"===l&&_(d,"href")){gt(s,e);continue}if(n.forceKeepAttr)continue;if(!n.keepAttr){gt(s,e);continue}if(!Oe&&E(/\/>/i,d)){gt(s,e);continue}Ie&&f([ue,de,pe],e=>{d=x(d,e," ")});const p=ct(e.nodeName);if(At(p,l,d)){if(re&&"object"==typeof G&&"function"==typeof G.getAttributeType)if(a);else switch(G.getAttributeType(p,l)){case"TrustedHTML":d=re.createHTML(d);break;case"TrustedScriptURL":d=re.createScriptURL(d)}if(d!==u)try{a?e.setAttributeNS(a,s,d):e.setAttribute(s,d),yt(e)?ht(e):h(r.removed)}catch(t){gt(s,e)}}else gt(s,e)}xt(le.afterSanitizeAttributes,e,null)},Tt=function e(t){let r=null;const n=vt(t);for(xt(le.beforeSanitizeShadowDOM,t,null);r=n.nextNode();)xt(le.uponSanitizeShadowNode,r,null),wt(r),Et(r),r.content instanceof a&&e(r.content);xt(le.afterSanitizeShadowDOM,t,null)};return r.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=null,o=null,s=null,c=null;if(et=!e,et&&(e="\x3c!--\x3e"),"string"!=typeof e&&!_t(e)){if("function"!=typeof e.toString)throw T("toString is not a function");if("string"!=typeof(e=e.toString()))throw T("dirty is not a string, aborting")}if(!r.isSupported)return e;if(Pe||pt(t),r.removed=[],"string"==typeof e&&(Ue=!1),Ue){if(e.nodeName){const t=ct(e.nodeName);if(!ye[t]||Se[t])throw T("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof d)n=bt("\x3c!----\x3e"),o=n.ownerDocument.importNode(e,!0),1===o.nodeType&&"BODY"===o.nodeName||"HTML"===o.nodeName?n=o:n.appendChild(o);else{if(!Re&&!Ie&&!Me&&-1===e.indexOf("<"))return re&&ze?re.createHTML(e):e;if(n=bt(e),!n)return Re?null:ze?ne:""}n&&De&&ht(n.firstChild);const l=vt(Ue?e:n);for(;s=l.nextNode();)wt(s),Et(s),s.content instanceof a&&Tt(s.content);if(Ue)return e;if(Re){if(Le)for(c=se.call(n.ownerDocument);n.firstChild;)c.appendChild(n.firstChild);else c=n;return(xe.shadowroot||xe.shadowrootmode)&&(c=ce.call(i,c,!0)),c}let u=Me?n.outerHTML:n.innerHTML;return Me&&ye["!doctype"]&&n.ownerDocument&&n.ownerDocument.doctype&&n.ownerDocument.doctype.name&&E(J,n.ownerDocument.doctype.name)&&(u="<!DOCTYPE "+n.ownerDocument.doctype.name+">\n"+u),Ie&&f([ue,de,pe],e=>{u=x(u,e," ")}),re&&ze?re.createHTML(u):u},r.setConfig=function(){pt(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),Pe=!0},r.clearConfig=function(){lt=null,Pe=!1},r.isValidAttribute=function(e,t,r){lt||pt({});const n=ct(e),o=ct(t);return At(n,o,r)},r.addHook=function(e,t){"function"==typeof t&&g(le[e],t)},r.removeHook=function(e,t){if(void 0!==t){const r=m(le[e],t);return-1===r?void 0:b(le[e],r,1)[0]}return h(le[e])},r.removeHooks=function(e){le[e]=[]},r.removeAllHooks=function(){le={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},r}()},1490:(e,t,r)=>{"use strict";var n={};n[r(2769)("toStringTag")]="z",e.exports="[object z]"===String(n)},1529:(e,t,r)=>{"use strict";var n=r(2314);e.exports=function(e,t,r){for(var o in t)n(e,o,t[o],r);return e}},1582:(e,t,r)=>{"use strict";var n=r(2617);e.exports=!n(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})},1588:(e,t,r)=>{"use strict";var n=r(9704),o=r(9471);e.exports=function(e,t){var r=e[t];return o(r)?void 0:n(r)}},1594:e=>{"use strict";e.exports=React},1609:e=>{"use strict";var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},1631:(e,t,r)=>{"use strict";var n=r(7217);e.exports=function(e,t,r){for(var o=e.length-1;o>=0;o--)if(void 0!==e[o])try{r=n(e[o].iterator,t,r)}catch(e){t="throw",r=e}if("throw"===t)throw r;return r}},1669:e=>{"use strict";e.exports=jQuery},1699:(e,t,r)=>{"use strict";var n=r(2769),o=r(4903),i=n("iterator"),s=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||s[i]===e)}},1776:(e,t,r)=>{"use strict";var n=r(1582),o=r(3640),i=Function.prototype,s=n&&Object.getOwnPropertyDescriptor,a=o(i,"name"),c=a&&"something"===function(){}.name,l=a&&(!n||n&&s(i,"name").configurable);e.exports={EXISTS:a,PROPER:c,CONFIGURABLE:l}},2210:(e,t,r)=>{"use strict";var n=r(3826),o=r(7615),i=r(3429),s=r(1609),a=r(1699),c=r(4512),l=r(5871),u=r(7191),d=r(9545),p=r(7217),f=TypeError,m=function(e,t){this.stopped=e,this.result=t},h=m.prototype;e.exports=function(e,t,r){var g,b,v,y,_,x,w,A=r&&r.that,S=!(!r||!r.AS_ENTRIES),E=!(!r||!r.IS_RECORD),T=!(!r||!r.IS_ITERATOR),j=!(!r||!r.INTERRUPTED),k=n(t,A),N=function(e){return g&&p(g,"normal"),new m(!0,e)},O=function(e){return S?(i(e),j?k(e[0],e[1],N):k(e[0],e[1])):j?k(e,N):k(e)};if(E)g=e.iterator;else if(T)g=e;else{if(!(b=d(e)))throw new f(s(e)+" is not iterable");if(a(b)){for(v=0,y=c(e);y>v;v++)if((_=O(e[v]))&&l(h,_))return _;return new m(!1)}g=u(e,b)}for(x=E?e.next:g.next;!(w=o(x,g)).done;){try{_=O(w.value)}catch(e){p(g,"throw",e)}if("object"==typeof _&&_&&l(h,_))return _}return new m(!1)}},2304:(e,t,r)=>{"use strict";var n=r(9471),o=TypeError;e.exports=function(e){if(n(e))throw new o("Can't call method on "+e);return e}},2314:(e,t,r)=>{"use strict";var n=r(9659),o=r(1067),i=r(873),s=r(9951);e.exports=function(e,t,r,a){a||(a={});var c=a.enumerable,l=void 0!==a.name?a.name:t;if(n(r)&&i(r,l,a),a.global)c?e[t]=r:s(t,r);else{try{a.unsafe?e[t]&&(c=!0):delete e[t]}catch(e){}c?e[t]=r:o.f(e,t,{value:r,enumerable:!1,configurable:!a.nonConfigurable,writable:!a.nonWritable})}return e}},2415:(e,t,r)=>{"use strict";r.d(t,{A:()=>E});var n=r(1594),o=r(380);const i=window.wp?.serverSideRender;var s=r.n(i),a=r(6021),c=r(6423),l=r(1426);const u=window.wp?.hooks;var d=r(4833),p=r(5705),f=r(5924),m=r(1034),h=r(2968),g=r(4559);const b="HIcdI";var v=r(7157);const y=e=>{if(!(0,f.vL)(["widgets"]))return"";const t=(0,p.select)("core/block-editor").getBlockRootClientId(e);if(void 0!==t&&""!==t){const e=(0,p.select)("core/block-editor").getBlocksByClientId([t]);if(null!==e[0]&&void 0!==e[0]&&"core/widget-area"===e[0]?.name)return e[0]?.attributes?.id}return""},_=()=>(0,v.jsx)(a.Placeholder,{className:b,icon:m.A,label:(0,d.__)("Advanced Sidebar - Pages","advanced-sidebar-menu"),instructions:(0,d.__)("No preview available","advanced-sidebar-menu")}),x=()=>(0,v.jsx)(a.Placeholder,{className:b,icon:h.A,label:(0,d.__)("Advanced Sidebar - Categories","advanced-sidebar-menu"),instructions:(0,d.__)("No preview available","advanced-sidebar-menu")}),w=()=>(0,v.jsx)(a.Placeholder,{className:b,icon:g.A,label:(0,d.__)("Advanced Sidebar - Navigation","advanced-sidebar-menu"),instructions:(0,d.__)("No preview available","advanced-sidebar-menu")}),A=e=>{switch(e){case o.P.blocks.pages.id:return _;case o.P.blocks.categories.id:return x;case o.P.blocks.navigation?.id:return w}return()=>(0,v.jsx)(v.Fragment,{})},S=({children:e,attributes:t={clientId:""}})=>{if((0,n.useEffect)(()=>()=>{setTimeout(()=>{(0,u.doAction)("advanced-sidebar-menu.blocks.preview.loading-finished",{values:t,clientId:t.clientId})},100)}),"string"==typeof e?.props?.children?.errorMsg)throw new Error(e?.props?.children?.errorMsg??"Failed");return(0,v.jsxs)("div",{className:"o0fph",children:[(0,v.jsx)("div",{className:"OjXVm",children:(0,v.jsx)(a.Spinner,{})}),(0,v.jsx)("div",{className:"uCxNS",children:e})]})},E=({attributes:e,block:t,clientId:r})=>{const n=(0,c.useBlockProps)({className:"BDuIu"});if(""!==o.P.error)return(0,v.jsx)("div",{className:"Nl9o0",dangerouslySetInnerHTML:{__html:l.A.sanitize(o.P.error)}});const i=(e=>e.replace(/^([\d-])/,"_$1"))(r);let a={...e,isServerSideRenderRequest:!0,clientId:i,sidebarId:y(r)};return a=(0,u.applyFilters)("advanced-sidebar-menu.blocks.preview.attributes",a,t,r),(0,v.jsx)("div",{...n,onClick:e=>{const t=e.target;("A"===t.nodeName||"SPAN"===t.nodeName&&"A"===t.parentNode?.nodeName)&&e.preventDefault()},children:(0,v.jsx)(s(),{EmptyResponsePlaceholder:A(t),LoadingResponsePlaceholder:S,attributes:a,block:t,httpMethod:"POST",skipBlockSupportAttributes:!0})})}},2420:(e,t,r)=>{"use strict";var n=r(9498),o=r(5329).f,i=r(6957),s=r(2314),a=r(9951),c=r(6870),l=r(26);e.exports=function(e,t){var r,u,d,p,f,m=e.target,h=e.global,g=e.stat;if(r=h?n:g?n[m]||a(m,{}):n[m]&&n[m].prototype)for(u in t){if(p=t[u],d=e.dontCallGetSet?(f=o(r,u))&&f.value:r[u],!l(h?u:m+(g?".":"#")+u,e.forced)&&void 0!==d){if(typeof p==typeof d)continue;c(p,d)}(e.sham||d&&d.sham)&&i(p,"sham",!0),s(r,u,p,e)}}},2463:e=>{"use strict";e.exports=window.wp?.blocks},2471:(e,t,r)=>{"use strict";var n=r(4195),o=r(7295);e.exports=function(e){var t=n(e,"string");return o(t)?t:t+""}},2617:e=>{"use strict";e.exports=function(e){try{return!!e()}catch(e){return!0}}},2769:(e,t,r)=>{"use strict";var n=r(9498),o=r(1303),i=r(3640),s=r(7386),a=r(7693),c=r(5166),l=n.Symbol,u=o("wks"),d=c?l.for||l:l&&l.withoutSetter||s;e.exports=function(e){return i(u,e)||(u[e]=a&&i(l,e)?l[e]:d("Symbol."+e)),u[e]}},2879:(e,t,r)=>{"use strict";var n=r(6409),o=r(2304);e.exports=function(e){return n(o(e))}},2968:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(7157);const o=(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",children:[(0,n.jsx)("rect",{x:"0",fill:"none",width:"20",height:"20"}),(0,n.jsx)("g",{children:(0,n.jsx)("path",{fill:"#044567",d:"M19 17V2c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v15c0 .55.45 1 1 1h15c.55 0 1-.45 1-1z M4 3h13v4H4V3z M5 4h3v2H5V4zm4 0h3v2H9V4zm4 0h3v2H13V4z M4.5 9 c .28 0 .5 .22 .5 .5s-.22.5-.5.5s-.5-.22-.5-.5s.22-.5 .5-.5z M6 9h4v1H6v-1z M4.5 12 c .28 0 .5 .22 .5 .5s-.22.5-.5.5s-.5-.22-.5-.5s.22-.5 .5-.5z M6 12h4v1H6v-1z M4.5 15 c .28 0 .5 .22 .5 .5s-.22.5-.5.5s-.5-.22-.5-.5s.22-.5 .5-.5z M6 15h4v1H6v-1z M12 10 H15.5 L17 12.5 L15.5 15 H12 V10 Z M13 12.5 m -0.6 0 a 0.6 0.6 0 1 0 1.2 0 a 0.6 0.6 0 1 0 -1.2 0"})})]})},3030:(e,t,r)=>{"use strict";var n=r(6666),o=r(3640),i=r(2879),s=r(5643).indexOf,a=r(4307),c=n([].push);e.exports=function(e,t){var r,n=i(e),l=0,u=[];for(r in n)!o(a,r)&&o(n,r)&&c(u,r);for(;t.length>l;)o(n,r=t[l++])&&(~s(u,r)||c(u,r));return u}},3229:(e,t,r)=>{"use strict";r.d(t,{A:()=>d}),r(8369),r(5831);var n=r(380),o=r(6021),i=r(6423);const s=window.wp?.htmlEntities;var a=r(4833);var c=r(7157);const l={color:"#3db634",fontWeight:700},u={margin:"16px 0 0",fontSize:"1.2em"},d=(0,o.withFilters)("advanced-sidebar-menu.blocks.info-panel")(({})=>(0,c.jsx)(i.InspectorControls,{children:(0,c.jsxs)(o.PanelBody,{title:(0,c.jsx)("span",{style:l,children:(0,a.__)("Go PRO","advanced-sidebar-menu")}),className:"k_HzP",initialOpen:!1,children:[(0,c.jsx)("h2",{style:u,children:(0,a.__)("Advanced Sidebar Menu PRO","advanced-sidebar-menu")}),(0,c.jsxs)("ul",{children:[n.P.features.map(e=>(0,c.jsx)("li",{children:(0,s.decodeEntities)(e)},e)),(0,c.jsx)("li",{children:(0,a.__)("And so much more…","advanced-sidebar-menu")})]}),(0,c.jsx)(o.Button,{className:"FgH_t",href:"https://onpointplugins.com/product/advanced-sidebar-menu-pro/?utm_source=block-upgrade&utm_campaign=gopro&utm_medium=wp-dash#buy-now-choices",target:"_blank",rel:"noreferrer",isPrimary:!0,children:(0,a.__)("Upgrade","advanced-sidebar-menu")})]})}))},3429:(e,t,r)=>{"use strict";var n=r(3912),o=String,i=TypeError;e.exports=function(e){if(n(e))return e;throw new i(o(e)+" is not an object")}},3595:(e,t,r)=>{"use strict";var n=r(2304),o=Object;e.exports=function(e){return o(n(e))}},3604:(e,t,r)=>{"use strict";var n=r(9498),o=r(9659),i=n.WeakMap;e.exports=o(i)&&/native code/.test(String(i))},3640:(e,t,r)=>{"use strict";var n=r(6666),o=r(3595),i=n({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return i(o(e),t)}},3658:e=>{"use strict";e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},3701:e=>{"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},3826:(e,t,r)=>{"use strict";var n=r(6394),o=r(9704),i=r(9202),s=n(n.bind);e.exports=function(e,t){return o(e),void 0===t?e:i?s(e,t):function(){return e.apply(t,arguments)}}},3884:(e,t,r)=>{"use strict";var n=r(7615),o=r(9659),i=r(3912),s=TypeError;e.exports=function(e,t){var r,a;if("string"===t&&o(r=e.toString)&&!i(a=n(r,e)))return a;if(o(r=e.valueOf)&&!i(a=n(r,e)))return a;if("string"!==t&&o(r=e.toString)&&!i(a=n(r,e)))return a;throw new s("Can't convert object to primitive value")}},3912:(e,t,r)=>{"use strict";var n=r(9659);e.exports=function(e){return"object"==typeof e?null!==e:n(e)}},3922:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(6021),o=r(5705),i=r(8110);let s="";const a=(0,n.withFilters)("advanced-sidebar-menu.blocks.side-load")(({clientId:e,children:t})=>(0,i.isEmpty)(s)||e===s||-1===(0,o.select)("core/block-editor").getBlockIndex(s)?(s=e,t??null):null)},3945:(e,t,r)=>{"use strict";r.d(t,{A:()=>u});var n=r(1594),o=r(380);const i=window.wp?.url;var s=r(1426),a=r(7157);const{sanitize:c}=s.A;class l extends n.Component{constructor(e){super(e),this.state={hasError:!1,error:null}}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(e,t){console.warn("%cError caught by the Advanced Sidebar ErrorBoundary!","color:orange; font-size: large; font-weight: bold"),console.warn(this.props),console.warn(e),console.warn(t),this.setState({error:e})}render(){return this.state.hasError?o.P.siteInfo.scriptDebug?(0,a.jsxs)("div",{className:"components-panel__body is-opened",children:[(0,a.jsx)("h4",{style:{color:"red"},children:"Something went wrong!"}),(0,a.jsxs)("p",{children:[(0,a.jsx)("button",{className:"components-button is-link",onClick:e=>{e.preventDefault(),window.open(c(o.P.support),"_blank","noopener,noreferrer")},children:"Please create a support request"})," with the following information:"]}),(0,a.jsxs)("ol",{children:[(0,a.jsx)("li",{children:(0,a.jsx)("button",{className:"components-button is-link",onClick:e=>{e.preventDefault(),window.open("https://onpointplugins.com/how-to-retrieve-console-logs-from-your-browser/","_blank","noopener,noreferrer")},children:"The logs from your browser console."})}),(0,a.jsx)("li",{children:"The following information."})]}),(0,a.jsxs)("div",{style:{border:"2px groove",padding:"10px",width:"100%",overflowWrap:"break-word"},children:[(0,a.jsxs)("p",{children:[(0,a.jsx)("strong",{children:(0,a.jsx)("em",{children:"Section"})})," ",(0,a.jsx)("br",{}),(0,a.jsx)("code",{children:this.props.section})]}),(0,a.jsxs)("p",{children:[(0,a.jsx)("strong",{children:(0,a.jsx)("em",{children:"Screen"})})," ",(0,a.jsx)("br",{}),(0,a.jsx)("code",{children:o.P.currentScreen})]}),(0,a.jsxs)("p",{children:[(0,a.jsx)("strong",{children:(0,a.jsx)("em",{children:"Message"})})," ",(0,a.jsx)("br",{}),(0,a.jsx)("code",{children:this.state.error?.message})]}),(0,a.jsxs)("p",{children:[(0,a.jsx)("strong",{children:(0,a.jsx)("em",{children:"Block"})})," ",(0,a.jsx)("br",{}),(0,a.jsx)("code",{children:this.props.block})]}),(0,a.jsxs)("p",{children:[(0,a.jsx)("strong",{children:(0,a.jsx)("em",{children:"Attributes"})})," ",(0,a.jsx)("br",{}),(0,a.jsx)("code",{children:JSON.stringify(this.props.attributes)})]}),(0,a.jsxs)("p",{children:[(0,a.jsx)("strong",{children:(0,a.jsx)("em",{children:"Site Info"})})," ",(0,a.jsx)("br",{}),(0,a.jsx)("code",{children:JSON.stringify(o.P.siteInfo)})]}),(0,a.jsxs)("p",{children:[(0,a.jsx)("strong",{children:(0,a.jsx)("em",{children:"Stack"})})," ",(0,a.jsx)("br",{}),(0,a.jsx)("code",{children:this.state.error?.stack})]})]}),(0,a.jsx)("p",{children:" "}),(0,a.jsx)("p",{children:" "})]}):(0,a.jsxs)("div",{className:"components-panel__body is-opened",children:[(0,a.jsx)("h4",{style:{color:"red"},children:"Something went wrong!"}),(0,a.jsxs)("p",{children:[(0,a.jsx)("button",{className:"components-button is-link",onClick:e=>{e.preventDefault();const t=(0,i.addQueryArgs)(c(window.location.href),{"script-debug":"true"});window.open(c(t),"_blank","noopener,noreferrer")},children:"Please enable script debug"}),"to retrieve error information."]})]}):this.props.children}}const u=l},4036:(e,t,r)=>{"use strict";var n=r(6666),o=r(9659),i=r(1159),s=n(Function.toString);o(i.inspectSource)||(i.inspectSource=function(e){return s(e)}),e.exports=i.inspectSource},4116:(e,t,r)=>{"use strict";var n=r(5206);t.H=n.createRoot,n.hydrateRoot},4139:(e,t,r)=>{"use strict";r.r(t),r.d(t,{block:()=>_,name:()=>x,settings:()=>w});var n=r(380),o=(r(8369),r(5831),r(6423)),i=r(6021),s=r(2415),a=r(9458),c=r(5705),l=r(3229),u=r(4833),d=r(3945),p=r(3922),f=r(5924),m=r(9636),h=r(1426),g=r(9679),b=r(7157);const v=({attributes:e,setAttributes:t,clientId:r,name:v})=>{const y=(0,c.useSelect)(t=>t("core").getPostType(e.post_type??"page")??t("core").getPostType("page"),[e.post_type]);if(""!==n.P.error)return(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(o.InspectorControls,{children:(0,b.jsx)("div",{className:g.A.error,dangerouslySetInnerHTML:{__html:h.A.sanitize(n.P.error)}})}),(0,b.jsx)(s.A,{attributes:e,block:_.id,clientId:r})]});const x={type:y,attributes:e,name:v,setAttributes:t,clientId:r};return(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(o.InspectorControls,{children:(0,b.jsx)("div",{className:"components-panel__body is-opened",children:(0,b.jsx)("a",{href:n.P.docs.page,target:"_blank",rel:"noopener noreferrer",children:(0,u.__)("Documentation","advanced-sidebar-menu")})})}),(0,b.jsxs)(o.InspectorControls,{children:[(0,f.vL)(["widgets","site-editor","customize"])&&(0,b.jsx)(i.PanelBody,{children:(0,b.jsx)(i.TextControl,{value:e.title??"",label:(0,u.__)("Title","advanced-sidebar-menu"),onChange:e=>t({title:e}),__nextHasNoMarginBottom:!0})}),(0,b.jsxs)(d.A,{attributes:e,block:v,section:"pages/Edit/general",children:[(0,b.jsx)(a.A,{attributes:e,clientId:r,name:v,setAttributes:t,type:y}),(0,b.jsxs)("div",{className:"components-panel__body is-opened",children:[(0,b.jsx)(i.Slot,{name:"advanced-sidebar-menu/pages/general",fillProps:x}),(0,b.jsx)(i.SelectControl,{label:(0,u.__)("Order by","advanced-sidebar-menu"),value:e.order_by,labelPosition:"side",options:Object.entries(n.P.pages.orderBy).map(([e,t])=>({value:e,label:t})),onChange:e=>{t({order_by:e})}}),(0,b.jsx)(m.A,{type:y,attributes:e,setAttributes:t}),(0,b.jsx)(i.Slot,{name:"advanced-sidebar-menu/pages/general-after",fillProps:x})]})]}),(0,b.jsx)(d.A,{attributes:e,block:v,section:"pages/Edit/inspector",children:(0,b.jsx)(i.Slot,{name:"advanced-sidebar-menu/pages/inspector",fillProps:x})})]}),(0,b.jsx)(o.BlockControls,{children:(0,b.jsx)(d.A,{attributes:e,block:v,section:"pages/Edit/block-controls",children:(0,b.jsx)(i.Slot,{name:"advanced-sidebar-menu/pages/block-controls",fillProps:x})})}),(0,b.jsx)(l.A,{clientId:r}),(0,b.jsx)(d.A,{attributes:e,block:v,section:"pages/Edit/preview",children:(0,b.jsx)(s.A,{attributes:e,block:_.id,clientId:r})}),(0,b.jsx)(p.A,{clientId:r})]})};var y=r(1034);const _=n.P.blocks.pages,x=_.id,w={title:(0,u.__)("Advanced Sidebar - Pages","advanced-sidebar-menu"),icon:y.A,category:"widgets",description:(0,u.__)("Creates a menu of all the pages using the parent/child relationship","advanced-sidebar-menu"),example:{attributes:{apply_current_page_parent_styles_to_parent:!0,apply_current_page_styles_to_parent:!0,block_style:!0,border:!0,border_color:"#333",bullet_style:"none",child_page_bg_color:"#666",child_page_color:"#fff",current_page_bg_color:"#282828",current_page_color:"#0cc4c6",current_page_font_weight:"normal",current_page_parent_bg_color:"#333",display_all:!0,grandchild_page_bg_color:"#989898",grandchild_page_color:"#282828",grandchild_page_font_weight:"bold",include_childless_parent:!0,include_parent:!0,levels:2,parent_page_bg_color:"#666",parent_page_color:"#fff"}},transforms:{from:[{type:"block",blocks:["core/legacy-widget"],isMatch:({idBase:e,instance:t})=>null!==t?.raw&&"advanced_sidebar_menu"===e,transform:(0,f.od)(x)}]},attributes:(0,f.$O)(_.attributes),supports:(0,f.MP)(),edit:e=>(0,b.jsx)(v,{...e}),save:()=>null,apiVersion:3}},4173:(e,t,r)=>{"use strict";var n=r(3640),o=r(9659),i=r(3595),s=r(705),a=r(9249),c=s("IE_PROTO"),l=Object,u=l.prototype;e.exports=a?l.getPrototypeOf:function(e){var t=i(e);if(n(t,c))return t[c];var r=t.constructor;return o(r)&&t instanceof r?r.prototype:t instanceof l?u:null}},4195:(e,t,r)=>{"use strict";var n=r(7615),o=r(3912),i=r(7295),s=r(1588),a=r(3884),c=r(2769),l=TypeError,u=c("toPrimitive");e.exports=function(e,t){if(!o(e)||i(e))return e;var r,c=s(e,u);if(c){if(void 0===t&&(t="default"),r=n(c,e,t),!o(r)||i(r))return r;throw new l("Can't convert object to primitive value")}return void 0===t&&(t="number"),a(e,t)}},4307:e=>{"use strict";e.exports={}},4330:(e,t,r)=>{"use strict";var n=r(2420),o=r(7615),i=r(2210),s=r(9704),a=r(3429),c=r(6857),l=r(7217),u=r(6435)("forEach",TypeError);n({target:"Iterator",proto:!0,real:!0,forced:u},{forEach:function(e){a(this);try{s(e)}catch(e){l(this,"throw",e)}if(u)return o(u,this,e);var t=c(this),r=0;i(t,function(t){e(t,r++)},{IS_RECORD:!0})}})},4357:(e,t,r)=>{"use strict";var n=r(5871),o=TypeError;e.exports=function(e,t){if(n(t,e))return e;throw new o("Incorrect invocation")}},4512:(e,t,r)=>{"use strict";var n=r(9124);e.exports=function(e){return n(e.length)}},4559:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(7157);const o=(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",children:[(0,n.jsx)("rect",{x:"0",fill:"none",width:"20",height:"20"}),(0,n.jsx)("g",{children:(0,n.jsx)("path",{fill:"#044567",d:"M19 17V2c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v15c0 .55.45 1 1 1h15c.55 0 1-.45 1-1z M4 3h13v4H4V3z M5 4h3v2H5V4zm4 0h3v2H9V4zm4 0h3v2H13V4z M4.5 9 c .28 0 .5 .22 .5 .5s-.22.5-.5.5s-.5-.22-.5-.5s.22-.5 .5-.5z M6 9h4v1H6v-1z M4.5 12 c .28 0 .5 .22 .5 .5s-.22.5-.5.5s-.5-.22-.5-.5s.22-.5 .5-.5z M6 12h4v1H6v-1z M4.5 15 c .28 0 .5 .22 .5 .5s-.22.5-.5.5s-.5-.22-.5-.5s.22-.5 .5-.5z M6 15h4v1H6v-1z M12.5 10.5 h4v1h-4v-1z M12.5 12 h4v1h-4v-1z M12.5 13.5 h4v1h-4v-1z"})})]})},4779:(e,t,r)=>{"use strict";var n,o,i,s=r(2617),a=r(9659),c=r(3912),l=r(7306),u=r(4173),d=r(2314),p=r(2769),f=r(613),m=p("iterator"),h=!1;[].keys&&("next"in(i=[].keys())?(o=u(u(i)))!==Object.prototype&&(n=o):h=!0),!c(n)||s(function(){var e={};return n[m].call(e)!==e})?n={}:f&&(n=l(n)),a(n[m])||d(n,m,function(){return this}),e.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:h}},4809:(e,t,r)=>{"use strict";var n=r(6001),o=r(6666),i=r(8006),s=r(9675),a=r(3429),c=o([].concat);e.exports=n("Reflect","ownKeys")||function(e){var t=i.f(a(e)),r=s.f;return r?c(t,r(e)):t}},4833:e=>{"use strict";e.exports=window.wp?.i18n},4849:(e,t,r)=>{"use strict";var n=r(1490),o=r(9659),i=r(1374),s=r(2769)("toStringTag"),a=Object,c="Arguments"===i(function(){return arguments}());e.exports=n?i:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=a(e),s))?r:c?i(t):"Object"===(n=i(t))&&o(t.callee)?"Arguments":n}},4903:e=>{"use strict";e.exports={}},4925:(e,t,r)=>{"use strict";var n=r(8247);e.exports=function(e){var t=+e;return t!=t||0===t?0:n(t)}},5166:(e,t,r)=>{"use strict";var n=r(7693);e.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},5176:(e,t,r)=>{"use strict";var n=r(873),o=r(1067);e.exports=function(e,t,r){return r.get&&n(r.get,t,{getter:!0}),r.set&&n(r.set,t,{setter:!0}),o.f(e,t,r)}},5199:(e,t,r)=>{"use strict";var n=r(1594),o=Symbol.for("react.element"),i=Symbol.for("react.fragment"),s=Object.prototype.hasOwnProperty,a=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,c={key:!0,ref:!0,__self:!0,__source:!0};function l(e,t,r){var n,i={},l=null,u=null;for(n in void 0!==r&&(l=""+r),void 0!==t.key&&(l=""+t.key),void 0!==t.ref&&(u=t.ref),t)s.call(t,n)&&!c.hasOwnProperty(n)&&(i[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps)void 0===i[n]&&(i[n]=t[n]);return{$$typeof:o,type:e,key:l,ref:u,props:i,_owner:a.current}}t.Fragment=i,t.jsx=l,t.jsxs=l},5206:e=>{"use strict";e.exports=ReactDOM},5267:(e,t,r)=>{"use strict";var n,o,i,s=r(3604),a=r(9498),c=r(3912),l=r(6957),u=r(3640),d=r(1159),p=r(705),f=r(4307),m="Object already initialized",h=a.TypeError,g=a.WeakMap;if(s||d.state){var b=d.state||(d.state=new g);b.get=b.get,b.has=b.has,b.set=b.set,n=function(e,t){if(b.has(e))throw new h(m);return t.facade=e,b.set(e,t),t},o=function(e){return b.get(e)||{}},i=function(e){return b.has(e)}}else{var v=p("state");f[v]=!0,n=function(e,t){if(u(e,v))throw new h(m);return t.facade=e,l(e,v,t),t},o=function(e){return u(e,v)?e[v]:{}},i=function(e){return u(e,v)}}e.exports={set:n,get:o,has:i,enforce:function(e){return i(e)?o(e):n(e,{})},getterFor:function(e){return function(t){var r;if(!c(t)||(r=o(t)).type!==e)throw new h("Incompatible receiver, "+e+" required");return r}}}},5329:(e,t,r)=>{"use strict";var n=r(1582),o=r(7615),i=r(1259),s=r(3658),a=r(2879),c=r(2471),l=r(3640),u=r(5879),d=Object.getOwnPropertyDescriptor;t.f=n?d:function(e,t){if(e=a(e),t=c(t),u)try{return d(e,t)}catch(e){}if(l(e,t))return s(!o(i.f,e,t),e[t])}},5583:e=>{"use strict";e.exports=function(e,t){return{value:e,done:t}}},5643:(e,t,r)=>{"use strict";var n=r(2879),o=r(5776),i=r(4512),s=function(e){return function(t,r,s){var a=n(t),c=i(a);if(0===c)return!e&&-1;var l,u=o(s,c);if(e&&r!=r){for(;c>u;)if((l=a[u++])!=l)return!0}else for(;c>u;u++)if((e||u in a)&&a[u]===r)return e||u||0;return!e&&-1}};e.exports={includes:s(!0),indexOf:s(!1)}},5705:e=>{"use strict";e.exports=window.wp?.data},5776:(e,t,r)=>{"use strict";var n=r(4925),o=Math.max,i=Math.min;e.exports=function(e,t){var r=n(e);return r<0?o(r+t,0):i(r,t)}},5831:(e,t,r)=>{"use strict";var n=r(2420),o=r(7615),i=r(9704),s=r(3429),a=r(6857),c=r(6820),l=r(9109),u=r(7217),d=r(7454),p=r(6435),f=r(613),m=!f&&!d("map",function(){}),h=!f&&!m&&p("map",TypeError),g=f||m||h,b=c(function(){var e=this.iterator,t=s(o(this.next,e));if(!(this.done=!!t.done))return l(e,this.mapper,[t.value,this.counter++],!0)});n({target:"Iterator",proto:!0,real:!0,forced:g},{map:function(e){s(this);try{i(e)}catch(e){u(this,"throw",e)}return h?o(h,this,e):new b(a(this),{mapper:e})}})},5871:(e,t,r)=>{"use strict";var n=r(6666);e.exports=n({}.isPrototypeOf)},5879:(e,t,r)=>{"use strict";var n=r(1582),o=r(2617),i=r(6601);e.exports=!n&&!o(function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a})},5924:(e,t,r)=>{"use strict";r.d(t,{$O:()=>a,MP:()=>c,od:()=>s,vL:()=>i}),r(8369),r(4330);var n=r(2463),o=r(380);const i=e=>e.includes(o.P.currentScreen),s=e=>({instance:t})=>(0,n.createBlock)(e,l(t.raw));function a(e){return{...e,...o.P.blocks.commonAttr,...o.P.blocks.previewAttr}}function c(){return o.P.blocks.blockSupport}const l=e=>(Object.entries(e).forEach(([t,r])=>{"checked"===r&&(e[t]=!0),"object"==typeof r&&l(e[t]),"0"===r&&delete e[t]}),e)},6001:(e,t,r)=>{"use strict";var n=r(9498),o=r(9659);e.exports=function(e,t){return arguments.length<2?(r=n[e],o(r)?r:void 0):n[e]&&n[e][t];var r}},6021:e=>{"use strict";e.exports=window.wp?.components},6394:(e,t,r)=>{"use strict";var n=r(1374),o=r(6666);e.exports=function(e){if("Function"===n(e))return o(e)}},6398:(e,t,r)=>{"use strict";var n=r(1582),o=r(1067),i=r(3658);e.exports=function(e,t,r){n?o.f(e,t,i(0,r)):e[t]=r}},6409:(e,t,r)=>{"use strict";var n=r(6666),o=r(2617),i=r(1374),s=Object,a=n("".split);e.exports=o(function(){return!s("z").propertyIsEnumerable(0)})?function(e){return"String"===i(e)?a(e,""):s(e)}:s},6423:e=>{"use strict";e.exports=window.wp?.blockEditor},6435:(e,t,r)=>{"use strict";var n=r(9498);e.exports=function(e,t){var r=n.Iterator,o=r&&r.prototype,i=o&&o[e],s=!1;if(i)try{i.call({next:function(){return{done:!0}},return:function(){s=!0}},-1)}catch(e){e instanceof t||(s=!1)}if(!s)return i}},6601:(e,t,r)=>{"use strict";var n=r(9498),o=r(3912),i=n.document,s=o(i)&&o(i.createElement);e.exports=function(e){return s?i.createElement(e):{}}},6666:(e,t,r)=>{"use strict";var n=r(9202),o=Function.prototype,i=o.call,s=n&&o.bind.bind(i,i);e.exports=n?s:function(e){return function(){return i.apply(e,arguments)}}},6820:(e,t,r)=>{"use strict";var n=r(7615),o=r(7306),i=r(6957),s=r(1529),a=r(2769),c=r(5267),l=r(1588),u=r(4779).IteratorPrototype,d=r(5583),p=r(7217),f=r(1631),m=a("toStringTag"),h="IteratorHelper",g="WrapForValidIterator",b="normal",v="throw",y=c.set,_=function(e){var t=c.getterFor(e?g:h);return s(o(u),{next:function(){var r=t(this);if(e)return r.nextHandler();if(r.done)return d(void 0,!0);try{var n=r.nextHandler();return r.returnHandlerResult?n:d(n,r.done)}catch(e){throw r.done=!0,e}},return:function(){var r=t(this),o=r.iterator;if(r.done=!0,e){var i=l(o,"return");return i?n(i,o):d(void 0,!0)}if(r.inner)try{p(r.inner.iterator,b)}catch(e){return p(o,v,e)}if(r.openIters)try{f(r.openIters,b)}catch(e){return p(o,v,e)}return o&&p(o,b),d(void 0,!0)}})},x=_(!0),w=_(!1);i(w,m,"Iterator Helper"),e.exports=function(e,t,r){var n=function(n,o){o?(o.iterator=n.iterator,o.next=n.next):o=n,o.type=t?g:h,o.returnHandlerResult=!!r,o.nextHandler=e,o.counter=0,o.done=!1,y(this,o)};return n.prototype=t?x:w,n}},6857:e=>{"use strict";e.exports=function(e){return{iterator:e,next:e.next,done:!1}}},6870:(e,t,r)=>{"use strict";var n=r(3640),o=r(4809),i=r(5329),s=r(1067);e.exports=function(e,t,r){for(var a=o(t),c=s.f,l=i.f,u=0;u<a.length;u++){var d=a[u];n(e,d)||r&&n(r,d)||c(e,d,l(t,d))}}},6957:(e,t,r)=>{"use strict";var n=r(1582),o=r(1067),i=r(3658);e.exports=n?function(e,t,r){return o.f(e,t,i(1,r))}:function(e,t,r){return e[t]=r,e}},7157:(e,t,r)=>{"use strict";e.exports=r(5199)},7191:(e,t,r)=>{"use strict";var n=r(7615),o=r(9704),i=r(3429),s=r(1609),a=r(9545),c=TypeError;e.exports=function(e,t){var r=arguments.length<2?a(e):t;if(o(r))return i(n(r,e));throw new c(s(e)+" is not iterable")}},7217:(e,t,r)=>{"use strict";var n=r(7615),o=r(3429),i=r(1588);e.exports=function(e,t,r){var s,a;o(e);try{if(!(s=i(e,"return"))){if("throw"===t)throw r;return r}s=n(s,e)}catch(e){a=!0,s=e}if("throw"===t)throw r;if(a)throw s;return o(s),r}},7295:(e,t,r)=>{"use strict";var n=r(6001),o=r(9659),i=r(5871),s=r(5166),a=Object;e.exports=s?function(e){return"symbol"==typeof e}:function(e){var t=n("Symbol");return o(t)&&i(t.prototype,a(e))}},7306:(e,t,r)=>{"use strict";var n,o=r(3429),i=r(1399),s=r(3701),a=r(4307),c=r(8827),l=r(6601),u=r(705),d="prototype",p="script",f=u("IE_PROTO"),m=function(){},h=function(e){return"<"+p+">"+e+"</"+p+">"},g=function(e){e.write(h("")),e.close();var t=e.parentWindow.Object;return e=null,t},b=function(){try{n=new ActiveXObject("htmlfile")}catch(e){}var e,t,r;b="undefined"!=typeof document?document.domain&&n?g(n):(t=l("iframe"),r="java"+p+":",t.style.display="none",c.appendChild(t),t.src=String(r),(e=t.contentWindow.document).open(),e.write(h("document.F=Object")),e.close(),e.F):g(n);for(var o=s.length;o--;)delete b[d][s[o]];return b()};a[f]=!0,e.exports=Object.create||function(e,t){var r;return null!==e?(m[d]=o(e),r=new m,m[d]=null,r[f]=e):r=b(),void 0===t?r:i.f(r,t)}},7386:(e,t,r)=>{"use strict";var n=r(6666),o=0,i=Math.random(),s=n(1.1.toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+s(++o+i,36)}},7454:e=>{"use strict";e.exports=function(e,t){var r="function"==typeof Iterator&&Iterator.prototype[e];if(r)try{r.call({next:null},t).next()}catch(e){return!0}}},7615:(e,t,r)=>{"use strict";var n=r(9202),o=Function.prototype.call;e.exports=n?o.bind(o):function(){return o.apply(o,arguments)}},7693:(e,t,r)=>{"use strict";var n=r(9581),o=r(2617),i=r(9498).String;e.exports=!!Object.getOwnPropertySymbols&&!o(function(){var e=Symbol("symbol detection");return!i(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41})},8006:(e,t,r)=>{"use strict";var n=r(3030),o=r(3701).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,o)}},8110:e=>{"use strict";e.exports=lodash},8247:e=>{"use strict";var t=Math.ceil,r=Math.floor;e.exports=Math.trunc||function(e){var n=+e;return(n>0?r:t)(n)}},8369:(e,t,r)=>{"use strict";var n=r(2420),o=r(9498),i=r(4357),s=r(3429),a=r(9659),c=r(4173),l=r(5176),u=r(6398),d=r(2617),p=r(3640),f=r(2769),m=r(4779).IteratorPrototype,h=r(1582),g=r(613),b="constructor",v="Iterator",y=f("toStringTag"),_=TypeError,x=o[v],w=g||!a(x)||x.prototype!==m||!d(function(){x({})}),A=function(){if(i(this,m),c(this)===m)throw new _("Abstract class Iterator not directly constructable")},S=function(e,t){h?l(m,e,{configurable:!0,get:function(){return t},set:function(t){if(s(this),this===m)throw new _("You can't redefine this property");p(this,e)?this[e]=t:u(this,e,t)}}):m[e]=t};p(m,y)||S(y,v),!w&&p(m,b)&&m[b]!==Object||S(b,A),A.prototype=m,n({global:!0,constructor:!0,forced:w},{Iterator:A})},8794:(e,t,r)=>{"use strict";var n=r(3030),o=r(3701);e.exports=Object.keys||function(e){return n(e,o)}},8827:(e,t,r)=>{"use strict";var n=r(6001);e.exports=n("document","documentElement")},9109:(e,t,r)=>{"use strict";var n=r(3429),o=r(7217);e.exports=function(e,t,r,i){try{return i?t(n(r)[0],r[1]):t(r)}catch(t){o(e,"throw",t)}}},9124:(e,t,r)=>{"use strict";var n=r(4925),o=Math.min;e.exports=function(e){var t=n(e);return t>0?o(t,9007199254740991):0}},9202:(e,t,r)=>{"use strict";var n=r(2617);e.exports=!n(function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})},9249:(e,t,r)=>{"use strict";var n=r(2617);e.exports=!n(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})},9406:(e,t,r)=>{var n={"./categories/block.tsx":729,"./pages/block.tsx":4139,"gutenberg/blocks/categories/block.tsx":729,"gutenberg/blocks/pages/block.tsx":4139};function o(e){var t=i(e);return r(t)}function i(e){if(!r.o(n,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return n[e]}o.keys=function(){return Object.keys(n)},o.resolve=i,e.exports=o,o.id=9406},9458:(e,t,r)=>{"use strict";r.d(t,{A:()=>d}),r(8369),r(5831);var n=r(6021),o=r(380),i=r(4833),s=r(8110),a=r(3945),c=r(7157);const l={include_parent:(0,i.__)("Display highest level parent %s","advanced-sidebar-menu"),include_childless_parent:(0,i.__)("Display menu when there is only the parent %s","advanced-sidebar-menu"),display_all:(0,i.__)("Always display child %s","advanced-sidebar-menu")},u=[{value:"100",label:(0,i.__)("- All -","advanced-sidebar-menu")},...(0,s.range)(1,11).map(e=>({value:e.toString(),label:e.toString()}))],d=({attributes:e,setAttributes:t,type:r,name:s,clientId:d,children:p})=>{const f=o.P.blocks.pages.id===s&&"1"===o.P.isPro||!0===e.display_all,m={type:r,attributes:e,name:s,setAttributes:t,clientId:d};return(0,c.jsxs)(n.PanelBody,{title:(0,i.__)("Display","advanced-sidebar-menu"),children:[Object.keys(l).map(o=>{let s=r?.labels?.singular_name.toLowerCase()??"";return"display_all"===o&&(s=r?.labels?.name.toLowerCase()??""),(0,c.jsx)(n.CheckboxControl,{label:(0,i.sprintf)(l[o],s),checked:!0===e[o],onChange:e=>{t({[o]:e})},__nextHasNoMarginBottom:!0},o)}),f&&(0,c.jsx)(n.SelectControl,{label:(0,i.sprintf)((0,i.__)("Levels of child %s to display","advanced-sidebar-menu"),r?.labels?.name.toLowerCase()??""),className:"advanced-sidebar-menu-display-select",value:e.levels.toString(),onChange:e=>{t({levels:parseInt(e)})},options:u,__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0},"levels"),p,(0,c.jsxs)(a.A,{attributes:e,block:s,section:"Display/slots",children:[o.P.blocks.pages.id===s&&(0,c.jsx)(n.Slot,{name:"advanced-sidebar-menu/pages/display",fillProps:m}),o.P.blocks.categories.id===s&&(0,c.jsx)(n.Slot,{name:"advanced-sidebar-menu/categories/display",fillProps:m})]})]})}},9471:e=>{"use strict";e.exports=function(e){return null==e}},9498:function(e,t,r){"use strict";var n=function(e){return e&&e.Math===Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||n("object"==typeof this&&this)||function(){return this}()||Function("return this")()},9545:(e,t,r)=>{"use strict";var n=r(4849),o=r(1588),i=r(9471),s=r(4903),a=r(2769)("iterator");e.exports=function(e){if(!i(e))return o(e,a)||o(e,"@@iterator")||s[n(e)]}},9581:(e,t,r)=>{"use strict";var n,o,i=r(9498),s=r(709),a=i.process,c=i.Deno,l=a&&a.versions||c&&c.version,u=l&&l.v8;u&&(o=(n=u.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!o&&s&&(!(n=s.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=s.match(/Chrome\/(\d+)/))&&(o=+n[1]),e.exports=o},9636:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(6021),o=r(4833),i=r(1426),s=r(7157);const a=(0,n.withFilters)("advanced-sidebar-menu.blocks.exclude-field")(({type:e,attributes:t,setAttributes:r})=>{const a=(0,s.jsxs)("p",{children:[(0,s.jsx)("br",{}),(0,s.jsx)("span",{dangerouslySetInnerHTML:{__html:i.A.sanitize((0,o.sprintf)((0,o.__)("For more robust and intuitive exclusions use the %1$sPRO version%2$s.","advanced-sidebar-menu"),'<a href="https://onpointplugins.com/advanced-sidebar-menu/advanced-sidebar-menu-pro-widget-docs/advanced-sidebar-menu-pro-excluding-menu-items/?utm_source=exclude-field&utm_campaign=gopro&utm_medium=wp-dash" target="_blank" rel="noopener noreferrer">',"</a>"),{ADD_ATTR:["target"]})}})]});return(0,s.jsx)(n.TextControl,{label:(0,o.sprintf)((0,o.__)("%s to exclude","advanced-sidebar-menu"),e?.labels?.name??""),value:t.exclude,help:(0,s.jsxs)(s.Fragment,{children:[(0,o.__)("ids, comma separated","advanced-sidebar-menu"),a]}),onChange:e=>{r({exclude:e})},__nextHasNoMarginBottom:!0})})},9659:e=>{"use strict";var t="object"==typeof document&&document.all;e.exports=void 0===t&&void 0!==t?function(e){return"function"==typeof e||e===t}:function(e){return"function"==typeof e}},9675:(e,t)=>{"use strict";t.f=Object.getOwnPropertySymbols},9679:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});const n={error:"lZo8N"}},9704:(e,t,r)=>{"use strict";var n=r(9659),o=r(1609),i=TypeError;e.exports=function(e){if(n(e))return e;throw new i(o(e)+" is not a function")}},9752:(e,t,r)=>{"use strict";var n=r(1582),o=r(2617);e.exports=n&&o(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})},9951:(e,t,r)=>{"use strict";var n=r(9498),o=Object.defineProperty;e.exports=function(e,t){try{o(n,e,{value:t,configurable:!0,writable:!0})}catch(r){n[e]=t}return t}}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var i=t[n]={id:n,loaded:!1,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.loaded=!0,i.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.hmd=e=>((e=Object.create(e)).children||(e.children=[]),Object.defineProperty(e,"exports",{enumerable:!0,set:()=>{throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}}),e),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{"use strict";r(8369),r(4330);var e=r(4116),t=r(4833),n=r(1594),o=r(6021);var i=r(7157);const s="advanced-sidebar-menu/transform-notice-dismissed",a=({})=>{const[e,r]=(0,n.useState)(!0);return e?(0,i.jsxs)(o.Notice,{className:"mq3sZ",politeness:"polite",onDismiss:()=>{r(!1),localStorage.setItem(s,"1")},actions:[{label:(0,t.__)("Blocks are the future of Advanced Sidebar Menu.","advanced-sidebar-menu"),url:"https://onpointplugins.com/advanced-sidebar-menu/advanced-sidebar-menu-gutenberg-blocks/#transform-widgets-to-blocks",variant:"link"}],children:[(0,i.jsx)("span",{className:"dashicons dashicons-arrow-up-alt"})," ",(0,t.__)("This widget may be transformed into a block.","advanced-sidebar-menu")]}):null};var c=r(380),l=r(1669);console.debug("Advanced Sidebar - Loaded"),"1"===c.P.isWidgets&&l(document).on("widget-added",function(){!function(){if(c.P.siteInfo.classicWidgets)return;if("1"===localStorage.getItem(s))return;const t=document.querySelectorAll('[data-js="advanced-sidebar-menu/transform-notice"]');try{t.forEach(t=>{(0,e.H)(t).render((0,i.jsx)(a,{}))})}catch(e){console.error(e)}}()}),void 0!==window.wp.element&&void 0!==window.wp.plugins?r(1304).A():void 0!==window.wp.customize&&window.wp.customize.bind("ready",()=>{r(1304).A()})})()})();
     2(()=>{var e={26:(e,t,r)=>{"use strict";var n=r(2617),o=r(9659),i=/#|\.prototype\./,s=function(e,t){var r=c[a(e)];return r===u||r!==l&&(o(t)?n(t):!!t)},a=s.normalize=function(e){return String(e).replace(i,".").toLowerCase()},c=s.data={},l=s.NATIVE="N",u=s.POLYFILL="P";e.exports=s},380:(e,t,r)=>{"use strict";r.d(t,{P:()=>n});const n=window.ADVANCED_SIDEBAR_MENU},613:e=>{"use strict";e.exports=!1},705:(e,t,r)=>{"use strict";var n=r(1303),o=r(7386),i=n("keys");e.exports=function(e){return i[e]||(i[e]=o(e))}},709:(e,t,r)=>{"use strict";var n=r(9498).navigator,o=n&&n.userAgent;e.exports=o?String(o):""},729:(e,t,r)=>{"use strict";r.r(t),r.d(t,{block:()=>_,name:()=>x,settings:()=>w});var n=r(380),o=(r(8369),r(5831),r(5705)),i=r(1426),s=r(6423),a=r(2415),c=r(3945),l=r(9458),u=r(6021),d=r(4833),p=r(3229),f=r(3922),m=r(5924),h=r(9636),g=r(9679),b=r(7157);const v=({attributes:e,setAttributes:t,clientId:r,name:v})=>{const y=(0,o.useSelect)(t=>t("core").getTaxonomy(e.taxonomy??"category")??t("core").getTaxonomy("category"),[e.taxonomy]);if(""!==n.P.error)return(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(s.InspectorControls,{children:(0,b.jsx)("div",{className:g.A.error,dangerouslySetInnerHTML:{__html:i.A.sanitize(n.P.error)}})}),(0,b.jsx)(a.A,{attributes:e,block:_.id,clientId:r})]});const x={type:y,attributes:e,name:v,setAttributes:t,clientId:r};return(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(s.InspectorControls,{children:(0,b.jsx)("div",{className:"components-panel__body is-opened",children:(0,b.jsx)("a",{href:n.P.docs.category,target:"_blank",rel:"noopener noreferrer",children:(0,d.__)("Documentation","advanced-sidebar-menu")})})}),(0,b.jsxs)(s.InspectorControls,{children:[(0,m.vL)(["widgets","site-editor","customize"])&&(0,b.jsx)(u.PanelBody,{children:(0,b.jsx)(u.TextControl,{value:e.title??"",label:(0,d.__)("Title","advanced-sidebar-menu"),onChange:e=>t({title:e}),__nextHasNoMarginBottom:!0})}),(0,b.jsxs)(c.A,{attributes:e,block:v,section:"categories/Edit/general",children:[(0,b.jsxs)(l.A,{attributes:e,clientId:r,name:v,setAttributes:t,type:y,children:[!(0,m.vL)(["post"])&&(0,b.jsx)(u.CheckboxControl,{label:(0,d.sprintf)((0,d.__)("Display %s on single posts","advanced-sidebar-menu"),y?.labels?.name.toLowerCase()??""),checked:e.single,onChange:e=>{t({single:e})},__nextHasNoMarginBottom:!0}),(0,m.vL)(["widgets","customize"])&&e.single&&(0,b.jsx)(u.SelectControl,{label:(0,d.sprintf)((0,d.__)("Display each single post's %s","advanced-sidebar-menu"),y?.labels?.name.toLowerCase()??""),value:e.new_widget,options:Object.keys(n.P.categories.displayEach).map(e=>({value:e,label:n.P.categories.displayEach[e]})),onChange:e=>t({new_widget:e})})]}),(0,b.jsxs)("div",{className:"components-panel__body is-opened",children:[(0,b.jsx)(u.Slot,{name:"advanced-sidebar-menu/categories/general",fillProps:x}),(0,b.jsx)(h.A,{type:y,attributes:e,setAttributes:t})]})]}),(0,b.jsx)(c.A,{attributes:e,block:v,section:"categories/Edit/inspector",children:(0,b.jsx)(u.Slot,{name:"advanced-sidebar-menu/categories/inspector",fillProps:x})})]}),(0,b.jsx)(s.BlockControls,{children:(0,b.jsx)(c.A,{attributes:e,block:v,section:"categories/Edit/block-controls",children:(0,b.jsx)(u.Slot,{name:"advanced-sidebar-menu/categories/block-controls",fillProps:x})})}),(0,b.jsx)(p.A,{clientId:r}),(0,b.jsx)(c.A,{attributes:e,block:v,section:"categories/Edit/preview",children:(0,b.jsx)(a.A,{attributes:e,block:_.id,clientId:r})}),(0,b.jsx)(f.A,{clientId:r})]})};var y=r(2968);const _=n.P.blocks.categories,x=_.id,w={title:(0,d.__)("Advanced Sidebar - Categories","advanced-sidebar-menu"),icon:y.A,category:"widgets",description:(0,d.__)("Creates a menu of all the categories using the parent/child relationship","advanced-sidebar-menu"),keywords:[(0,d.__)("taxonomy","advanced-sidebar-menu"),(0,d.__)("term","advanced-sidebar-menu"),(0,d.__)("category","advanced-sidebar-menu"),(0,d.__)("menu","advanced-sidebar-menu")],example:{attributes:{"display-posts":"all","display-posts/limit":2,apply_current_page_parent_styles_to_parent:!0,apply_current_page_styles_to_parent:!0,block_style:!0,border:!0,border_color:"#333",bullet_style:"none",child_page_bg_color:"#666",child_page_color:"#fff",parent_page_bg_color:"#282828",parent_page_color:"#0cc4c6",parent_page_font_weight:"normal",display_all:!0,grandchild_page_bg_color:"#989898",grandchild_page_color:"#282828",grandchild_page_font_weight:"bold",include_childless_parent:!0,include_parent:!0,levels:2}},transforms:{from:[{type:"block",blocks:["core/legacy-widget"],isMatch:({idBase:e,instance:t})=>null!==t?.raw&&"advanced_sidebar_menu_category"===e,transform:(0,m.od)(x)}]},attributes:(0,m.$O)(_.attributes),supports:(0,m.MP)(),edit:e=>(0,b.jsx)(v,{...e}),save:()=>null,apiVersion:3}},873:(e,t,r)=>{"use strict";var n=r(6666),o=r(2617),i=r(9659),s=r(3640),a=r(1582),c=r(1776).CONFIGURABLE,l=r(4036),u=r(5267),d=u.enforce,p=u.get,f=String,m=Object.defineProperty,h=n("".slice),g=n("".replace),b=n([].join),v=a&&!o(function(){return 8!==m(function(){},"length",{value:8}).length}),y=String(String).split("String"),_=e.exports=function(e,t,r){"Symbol("===h(f(t),0,7)&&(t="["+g(f(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),r&&r.getter&&(t="get "+t),r&&r.setter&&(t="set "+t),(!s(e,"name")||c&&e.name!==t)&&(a?m(e,"name",{value:t,configurable:!0}):e.name=t),v&&r&&s(r,"arity")&&e.length!==r.arity&&m(e,"length",{value:r.arity});try{r&&s(r,"constructor")&&r.constructor?a&&m(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var n=d(e);return s(n,"source")||(n.source=b(y,"string"==typeof t?t:"")),e};Function.prototype.toString=_(function(){return i(this)&&p(this).source||l(this)},"toString")},1034:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(7157);const o=(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",children:[(0,n.jsx)("rect",{x:"0",fill:"none",width:"20",height:"20"}),(0,n.jsx)("g",{children:(0,n.jsx)("path",{fill:"#044567",d:"M19 17V2c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v15c0 .55.45 1 1 1h15c.55 0 1-.45 1-1z M4 3h13v4H4V3z M5 4h3v2H5V4zm4 0h3v2H9V4zm4 0h3v2H13V4z M4.5 9 c .28 0 .5 .22 .5 .5s-.22.5-.5.5s-.5-.22-.5-.5s.22-.5 .5-.5z M6 9h4v1H6v-1z M4.5 12 c .28 0 .5 .22 .5 .5s-.22.5-.5.5s-.5-.22-.5-.5s.22-.5 .5-.5z M6 12h4v1H6v-1z M4.5 15 c .28 0 .5 .22 .5 .5s-.22.5-.5.5s-.5-.22-.5-.5s.22-.5 .5-.5z M6 15h4v1H6v-1z M12 9 H15.5 L17 10.5 V15.5 H12 V9 Z M15.5 9 V10.5 H17 M12.5 12 H16.5 M12.5 13.5 H16.5"})})]})},1067:(e,t,r)=>{"use strict";var n=r(1582),o=r(5879),i=r(9752),s=r(3429),a=r(2471),c=TypeError,l=Object.defineProperty,u=Object.getOwnPropertyDescriptor,d="enumerable",p="configurable",f="writable";t.f=n?i?function(e,t,r){if(s(e),t=a(t),s(r),"function"==typeof e&&"prototype"===t&&"value"in r&&f in r&&!r[f]){var n=u(e,t);n&&n[f]&&(e[t]=r.value,r={configurable:p in r?r[p]:n[p],enumerable:d in r?r[d]:n[d],writable:!1})}return l(e,t,r)}:l:function(e,t,r){if(s(e),t=a(t),s(r),o)try{return l(e,t,r)}catch(e){}if("get"in r||"set"in r)throw new c("Accessors not supported");return"value"in r&&(e[t]=r.value),e}},1159:(e,t,r)=>{"use strict";var n=r(613),o=r(9498),i=r(9951),s="__core-js_shared__",a=e.exports=o[s]||i(s,{});(a.versions||(a.versions=[])).push({version:"3.46.0",mode:n?"pure":"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru), 2025 CoreJS Company (core-js.io)",license:"https://github.com/zloirock/core-js/blob/v3.46.0/LICENSE",source:"https://github.com/zloirock/core-js"})},1259:(e,t)=>{"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,o=n&&!r.call({1:2},1);t.f=o?function(e){var t=n(this,e);return!!t&&t.enumerable}:r},1303:(e,t,r)=>{"use strict";var n=r(1159);e.exports=function(e,t){return n[e]||(n[e]=t||{})}},1304:(e,t,r)=>{"use strict";r.d(t,{A:()=>b});var n=r(2463);window.wp;var o=r(5705);function i(e,t,r){if(!e.s){if(r instanceof s){if(!r.s)return void(r.o=i.bind(null,e,t));1&t&&(t=r.s),r=r.v}if(r&&r.then)return void r.then(i.bind(null,e,t),i.bind(null,e,2));e.s=t,e.v=r;const n=e.o;n&&n(e)}}window.wp;var s=function(){function e(){}return e.prototype.then=function(t,r){var n=new e,o=this.s;if(o){var s=1&o?t:r;if(s){try{i(n,1,s(this.v))}catch(e){i(n,2,e)}return n}return this}return this.o=function(e){try{var o=e.v;1&e.s?i(n,1,t?t(o):o):r?i(n,1,r(o)):i(n,2,o)}catch(e){i(n,2,e)}},n},e}();function a(e){return e instanceof s&&1&e.s}var c=null,l=[],u=function(){c=(0,o.select)("core/block-editor").getSelectedBlockClientId()},d=function(e,t){void 0===e&&(e=[]);var r=t.clientId,n=t.innerBlocks;e.includes(t.name)&&l.push(r),n.forEach(function(t){return d(e,t)})},p=function(e){void 0===e&&(e=[]);try{return Promise.resolve((0,o.dispatch)("core/block-editor").clearSelectedBlock()).then(function(){function t(){function e(){l=[],c=null}var t=null!==c?Promise.resolve((0,o.dispatch)("core/block-editor").selectBlock(c)).then(function(){}):Promise.resolve((0,o.dispatch)("core/block-editor").clearSelectedBlock()).then(function(){});return t&&t.then?t.then(e):e()}(0,o.select)("core/block-editor").getBlocks().forEach(function(t){return d(e,t)});var r,n,u,p,f,m=(r=l,n=function(e){return Promise.resolve((0,o.dispatch)("core/block-editor").selectBlock(l[e])).then(function(){})},f=-1,function e(t){try{for(;++f<r.length;)if((t=n(f))&&t.then){if(!a(t))return void t.then(e,p||(p=i.bind(null,u=new s,2)));t=t.v}u?i(u,1,t):u=t}catch(e){i(u||(u=new s),2,e)}}(),u);return m&&m.then?m.then(t):t()})}catch(e){return Promise.reject(e)}},f=r(2415),m=r(5924),h=r(3945),g=r(4559);e=r.hmd(e);const b=()=>{(function(e){var t=e.afterReload,r=e.beforeReload,n=e.getContext,o=e.pluginModule,i=e.register,s=e.unregister,a=e.type,c={},l=function(){r();var e=n();if(e){var o=[];return e.keys().forEach(function(t){var r=e(t);Boolean(r.exclude)||r!==c[t]&&(Boolean(c[r.name+"-"+a])&&s(r.name),i(r.name,r.settings),o.push(r.name),c[r.name+"-"+a]=r)}),t(o),e}},u=l();o.hot&&void 0!==(null==u?void 0:u.id)&&o.hot.accept(u.id.toString(),l)})({afterReload:p,beforeReload:u,getContext:()=>r(9406),pluginModule:e,register:n.registerBlockType,unregister:n.unregisterBlockType,type:"block"}),""!==window.ADVANCED_SIDEBAR_MENU.isPro&&(window.ADVANCED_SIDEBAR_MENU.ErrorBoundary=h.A,window.ADVANCED_SIDEBAR_MENU.NavigationIcon=g.A,window.ADVANCED_SIDEBAR_MENU.Preview=f.A,window.ADVANCED_SIDEBAR_MENU.getBlockSupports=m.MP,window.ADVANCED_SIDEBAR_MENU.transformLegacyWidget=m.od,window.ADVANCED_SIDEBAR_MENU.translateBlockAttributes=m.$O)}},1374:(e,t,r)=>{"use strict";var n=r(6666),o=n({}.toString),i=n("".slice);e.exports=function(e){return i(o(e),8,-1)}},1399:(e,t,r)=>{"use strict";var n=r(1582),o=r(9752),i=r(1067),s=r(3429),a=r(2879),c=r(8794);t.f=n&&!o?Object.defineProperties:function(e,t){s(e);for(var r,n=a(t),o=c(t),l=o.length,u=0;l>u;)i.f(e,r=o[u++],n[r]);return e}},1426:(e,t,r)=>{"use strict";r.d(t,{A:()=>re});const{entries:n,setPrototypeOf:o,isFrozen:i,getPrototypeOf:s,getOwnPropertyDescriptor:a}=Object;let{freeze:c,seal:l,create:u}=Object,{apply:d,construct:p}="undefined"!=typeof Reflect&&Reflect;c||(c=function(e){return e}),l||(l=function(e){return e}),d||(d=function(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),o=2;o<r;o++)n[o-2]=arguments[o];return e.apply(t,n)}),p||(p=function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return new e(...r)});const f=k(Array.prototype.forEach),m=k(Array.prototype.lastIndexOf),h=k(Array.prototype.pop),g=k(Array.prototype.push),b=k(Array.prototype.splice),v=k(String.prototype.toLowerCase),y=k(String.prototype.toString),_=k(String.prototype.match),x=k(String.prototype.replace),w=k(String.prototype.indexOf),A=k(String.prototype.trim),S=k(Object.prototype.hasOwnProperty),E=k(RegExp.prototype.test),T=(j=TypeError,function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return p(j,t)});var j;function k(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var r=arguments.length,n=new Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];return d(e,t,n)}}function N(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:v;o&&o(e,null);let n=t.length;for(;n--;){let o=t[n];if("string"==typeof o){const e=r(o);e!==o&&(i(t)||(t[n]=e),o=e)}e[o]=!0}return e}function O(e){for(let t=0;t<e.length;t++)S(e,t)||(e[t]=null);return e}function I(e){const t=u(null);for(const[r,o]of n(e))S(e,r)&&(Array.isArray(o)?t[r]=O(o):o&&"object"==typeof o&&o.constructor===Object?t[r]=I(o):t[r]=o);return t}function C(e,t){for(;null!==e;){const r=a(e,t);if(r){if(r.get)return k(r.get);if("function"==typeof r.value)return k(r.value)}e=s(e)}return function(){return null}}const M=c(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),P=c(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),D=c(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),R=c(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),L=c(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),z=c(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),H=c(["#text"]),B=c(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),F=c(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),U=c(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),W=c(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),V=l(/\{\{[\w\W]*|[\w\W]*\}\}/gm),G=l(/<%[\w\W]*|[\w\W]*%>/gm),Y=l(/\$\{[\w\W]*/gm),$=l(/^data-[\-\w.\u00B7-\uFFFF]+$/),q=l(/^aria-[\-\w]+$/),X=l(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),K=l(/^(?:\w+script|data):/i),Z=l(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),J=l(/^html$/i),Q=l(/^[a-z][.\w]*(-[.\w]+)+$/i);var ee=Object.freeze({__proto__:null,ARIA_ATTR:q,ATTR_WHITESPACE:Z,CUSTOM_ELEMENT:Q,DATA_ATTR:$,DOCTYPE_NAME:J,ERB_EXPR:G,IS_ALLOWED_URI:X,IS_SCRIPT_OR_DATA:K,MUSTACHE_EXPR:V,TMPLIT_EXPR:Y});const te=function(){return"undefined"==typeof window?null:window};var re=function e(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:te();const r=t=>e(t);if(r.version="3.3.0",r.removed=[],!t||!t.document||9!==t.document.nodeType||!t.Element)return r.isSupported=!1,r;let{document:o}=t;const i=o,s=i.currentScript,{DocumentFragment:a,HTMLTemplateElement:l,Node:d,Element:p,NodeFilter:j,NamedNodeMap:k=t.NamedNodeMap||t.MozNamedAttrMap,HTMLFormElement:O,DOMParser:V,trustedTypes:G}=t,Y=p.prototype,$=C(Y,"cloneNode"),q=C(Y,"remove"),K=C(Y,"nextSibling"),Z=C(Y,"childNodes"),Q=C(Y,"parentNode");if("function"==typeof l){const e=o.createElement("template");e.content&&e.content.ownerDocument&&(o=e.content.ownerDocument)}let re,ne="";const{implementation:oe,createNodeIterator:ie,createDocumentFragment:se,getElementsByTagName:ae}=o,{importNode:ce}=i;let le={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]};r.isSupported="function"==typeof n&&"function"==typeof Q&&oe&&void 0!==oe.createHTMLDocument;const{MUSTACHE_EXPR:ue,ERB_EXPR:de,TMPLIT_EXPR:pe,DATA_ATTR:fe,ARIA_ATTR:me,IS_SCRIPT_OR_DATA:he,ATTR_WHITESPACE:ge,CUSTOM_ELEMENT:be}=ee;let{IS_ALLOWED_URI:ve}=ee,ye=null;const _e=N({},[...M,...P,...D,...L,...H]);let xe=null;const we=N({},[...B,...F,...U,...W]);let Ae=Object.seal(u(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Se=null,Ee=null;const Te=Object.seal(u(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let je=!0,ke=!0,Ne=!1,Oe=!0,Ie=!1,Ce=!0,Me=!1,Pe=!1,De=!1,Re=!1,Le=!1,ze=!1,He=!0,Be=!1,Fe=!0,Ue=!1,We={},Ve=null;const Ge=N({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let Ye=null;const $e=N({},["audio","video","img","source","image","track"]);let qe=null;const Xe=N({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Ke="http://www.w3.org/1998/Math/MathML",Ze="http://www.w3.org/2000/svg",Je="http://www.w3.org/1999/xhtml";let Qe=Je,et=!1,tt=null;const rt=N({},[Ke,Ze,Je],y);let nt=N({},["mi","mo","mn","ms","mtext"]),ot=N({},["annotation-xml"]);const it=N({},["title","style","font","a","script"]);let st=null;const at=["application/xhtml+xml","text/html"];let ct=null,lt=null;const ut=o.createElement("form"),dt=function(e){return e instanceof RegExp||e instanceof Function},pt=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!lt||lt!==e){if(e&&"object"==typeof e||(e={}),e=I(e),st=-1===at.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE,ct="application/xhtml+xml"===st?y:v,ye=S(e,"ALLOWED_TAGS")?N({},e.ALLOWED_TAGS,ct):_e,xe=S(e,"ALLOWED_ATTR")?N({},e.ALLOWED_ATTR,ct):we,tt=S(e,"ALLOWED_NAMESPACES")?N({},e.ALLOWED_NAMESPACES,y):rt,qe=S(e,"ADD_URI_SAFE_ATTR")?N(I(Xe),e.ADD_URI_SAFE_ATTR,ct):Xe,Ye=S(e,"ADD_DATA_URI_TAGS")?N(I($e),e.ADD_DATA_URI_TAGS,ct):$e,Ve=S(e,"FORBID_CONTENTS")?N({},e.FORBID_CONTENTS,ct):Ge,Se=S(e,"FORBID_TAGS")?N({},e.FORBID_TAGS,ct):I({}),Ee=S(e,"FORBID_ATTR")?N({},e.FORBID_ATTR,ct):I({}),We=!!S(e,"USE_PROFILES")&&e.USE_PROFILES,je=!1!==e.ALLOW_ARIA_ATTR,ke=!1!==e.ALLOW_DATA_ATTR,Ne=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Oe=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,Ie=e.SAFE_FOR_TEMPLATES||!1,Ce=!1!==e.SAFE_FOR_XML,Me=e.WHOLE_DOCUMENT||!1,Re=e.RETURN_DOM||!1,Le=e.RETURN_DOM_FRAGMENT||!1,ze=e.RETURN_TRUSTED_TYPE||!1,De=e.FORCE_BODY||!1,He=!1!==e.SANITIZE_DOM,Be=e.SANITIZE_NAMED_PROPS||!1,Fe=!1!==e.KEEP_CONTENT,Ue=e.IN_PLACE||!1,ve=e.ALLOWED_URI_REGEXP||X,Qe=e.NAMESPACE||Je,nt=e.MATHML_TEXT_INTEGRATION_POINTS||nt,ot=e.HTML_INTEGRATION_POINTS||ot,Ae=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&dt(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(Ae.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&dt(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(Ae.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(Ae.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Ie&&(ke=!1),Le&&(Re=!0),We&&(ye=N({},H),xe=[],!0===We.html&&(N(ye,M),N(xe,B)),!0===We.svg&&(N(ye,P),N(xe,F),N(xe,W)),!0===We.svgFilters&&(N(ye,D),N(xe,F),N(xe,W)),!0===We.mathMl&&(N(ye,L),N(xe,U),N(xe,W))),e.ADD_TAGS&&("function"==typeof e.ADD_TAGS?Te.tagCheck=e.ADD_TAGS:(ye===_e&&(ye=I(ye)),N(ye,e.ADD_TAGS,ct))),e.ADD_ATTR&&("function"==typeof e.ADD_ATTR?Te.attributeCheck=e.ADD_ATTR:(xe===we&&(xe=I(xe)),N(xe,e.ADD_ATTR,ct))),e.ADD_URI_SAFE_ATTR&&N(qe,e.ADD_URI_SAFE_ATTR,ct),e.FORBID_CONTENTS&&(Ve===Ge&&(Ve=I(Ve)),N(Ve,e.FORBID_CONTENTS,ct)),Fe&&(ye["#text"]=!0),Me&&N(ye,["html","head","body"]),ye.table&&(N(ye,["tbody"]),delete Se.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw T('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw T('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');re=e.TRUSTED_TYPES_POLICY,ne=re.createHTML("")}else void 0===re&&(re=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let r=null;const n="data-tt-policy-suffix";t&&t.hasAttribute(n)&&(r=t.getAttribute(n));const o="dompurify"+(r?"#"+r:"");try{return e.createPolicy(o,{createHTML:e=>e,createScriptURL:e=>e})}catch(e){return console.warn("TrustedTypes policy "+o+" could not be created."),null}}(G,s)),null!==re&&"string"==typeof ne&&(ne=re.createHTML(""));c&&c(e),lt=e}},ft=N({},[...P,...D,...R]),mt=N({},[...L,...z]),ht=function(e){g(r.removed,{element:e});try{Q(e).removeChild(e)}catch(t){q(e)}},gt=function(e,t){try{g(r.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){g(r.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e)if(Re||Le)try{ht(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},bt=function(e){let t=null,r=null;if(De)e="<remove></remove>"+e;else{const t=_(e,/^[\r\n\t ]+/);r=t&&t[0]}"application/xhtml+xml"===st&&Qe===Je&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");const n=re?re.createHTML(e):e;if(Qe===Je)try{t=(new V).parseFromString(n,st)}catch(e){}if(!t||!t.documentElement){t=oe.createDocument(Qe,"template",null);try{t.documentElement.innerHTML=et?ne:n}catch(e){}}const i=t.body||t.documentElement;return e&&r&&i.insertBefore(o.createTextNode(r),i.childNodes[0]||null),Qe===Je?ae.call(t,Me?"html":"body")[0]:Me?t.documentElement:i},vt=function(e){return ie.call(e.ownerDocument||e,e,j.SHOW_ELEMENT|j.SHOW_COMMENT|j.SHOW_TEXT|j.SHOW_PROCESSING_INSTRUCTION|j.SHOW_CDATA_SECTION,null)},yt=function(e){return e instanceof O&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof k)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes)},_t=function(e){return"function"==typeof d&&e instanceof d};function xt(e,t,n){f(e,e=>{e.call(r,t,n,lt)})}const wt=function(e){let t=null;if(xt(le.beforeSanitizeElements,e,null),yt(e))return ht(e),!0;const n=ct(e.nodeName);if(xt(le.uponSanitizeElement,e,{tagName:n,allowedTags:ye}),Ce&&e.hasChildNodes()&&!_t(e.firstElementChild)&&E(/<[/\w!]/g,e.innerHTML)&&E(/<[/\w!]/g,e.textContent))return ht(e),!0;if(7===e.nodeType)return ht(e),!0;if(Ce&&8===e.nodeType&&E(/<[/\w]/g,e.data))return ht(e),!0;if(!(Te.tagCheck instanceof Function&&Te.tagCheck(n))&&(!ye[n]||Se[n])){if(!Se[n]&&St(n)){if(Ae.tagNameCheck instanceof RegExp&&E(Ae.tagNameCheck,n))return!1;if(Ae.tagNameCheck instanceof Function&&Ae.tagNameCheck(n))return!1}if(Fe&&!Ve[n]){const t=Q(e)||e.parentNode,r=Z(e)||e.childNodes;if(r&&t)for(let n=r.length-1;n>=0;--n){const o=$(r[n],!0);o.__removalCount=(e.__removalCount||0)+1,t.insertBefore(o,K(e))}}return ht(e),!0}return e instanceof p&&!function(e){let t=Q(e);t&&t.tagName||(t={namespaceURI:Qe,tagName:"template"});const r=v(e.tagName),n=v(t.tagName);return!!tt[e.namespaceURI]&&(e.namespaceURI===Ze?t.namespaceURI===Je?"svg"===r:t.namespaceURI===Ke?"svg"===r&&("annotation-xml"===n||nt[n]):Boolean(ft[r]):e.namespaceURI===Ke?t.namespaceURI===Je?"math"===r:t.namespaceURI===Ze?"math"===r&&ot[n]:Boolean(mt[r]):e.namespaceURI===Je?!(t.namespaceURI===Ze&&!ot[n])&&!(t.namespaceURI===Ke&&!nt[n])&&!mt[r]&&(it[r]||!ft[r]):!("application/xhtml+xml"!==st||!tt[e.namespaceURI]))}(e)?(ht(e),!0):"noscript"!==n&&"noembed"!==n&&"noframes"!==n||!E(/<\/no(script|embed|frames)/i,e.innerHTML)?(Ie&&3===e.nodeType&&(t=e.textContent,f([ue,de,pe],e=>{t=x(t,e," ")}),e.textContent!==t&&(g(r.removed,{element:e.cloneNode()}),e.textContent=t)),xt(le.afterSanitizeElements,e,null),!1):(ht(e),!0)},At=function(e,t,r){if(He&&("id"===t||"name"===t)&&(r in o||r in ut))return!1;if(ke&&!Ee[t]&&E(fe,t));else if(je&&E(me,t));else if(Te.attributeCheck instanceof Function&&Te.attributeCheck(t,e));else if(!xe[t]||Ee[t]){if(!(St(e)&&(Ae.tagNameCheck instanceof RegExp&&E(Ae.tagNameCheck,e)||Ae.tagNameCheck instanceof Function&&Ae.tagNameCheck(e))&&(Ae.attributeNameCheck instanceof RegExp&&E(Ae.attributeNameCheck,t)||Ae.attributeNameCheck instanceof Function&&Ae.attributeNameCheck(t,e))||"is"===t&&Ae.allowCustomizedBuiltInElements&&(Ae.tagNameCheck instanceof RegExp&&E(Ae.tagNameCheck,r)||Ae.tagNameCheck instanceof Function&&Ae.tagNameCheck(r))))return!1}else if(qe[t]);else if(E(ve,x(r,ge,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==w(r,"data:")||!Ye[e])if(Ne&&!E(he,x(r,ge,"")));else if(r)return!1;return!0},St=function(e){return"annotation-xml"!==e&&_(e,be)},Et=function(e){xt(le.beforeSanitizeAttributes,e,null);const{attributes:t}=e;if(!t||yt(e))return;const n={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:xe,forceKeepAttr:void 0};let o=t.length;for(;o--;){const i=t[o],{name:s,namespaceURI:a,value:c}=i,l=ct(s),u=c;let d="value"===s?u:A(u);if(n.attrName=l,n.attrValue=d,n.keepAttr=!0,n.forceKeepAttr=void 0,xt(le.uponSanitizeAttribute,e,n),d=n.attrValue,!Be||"id"!==l&&"name"!==l||(gt(s,e),d="user-content-"+d),Ce&&E(/((--!?|])>)|<\/(style|title|textarea)/i,d)){gt(s,e);continue}if("attributename"===l&&_(d,"href")){gt(s,e);continue}if(n.forceKeepAttr)continue;if(!n.keepAttr){gt(s,e);continue}if(!Oe&&E(/\/>/i,d)){gt(s,e);continue}Ie&&f([ue,de,pe],e=>{d=x(d,e," ")});const p=ct(e.nodeName);if(At(p,l,d)){if(re&&"object"==typeof G&&"function"==typeof G.getAttributeType)if(a);else switch(G.getAttributeType(p,l)){case"TrustedHTML":d=re.createHTML(d);break;case"TrustedScriptURL":d=re.createScriptURL(d)}if(d!==u)try{a?e.setAttributeNS(a,s,d):e.setAttribute(s,d),yt(e)?ht(e):h(r.removed)}catch(t){gt(s,e)}}else gt(s,e)}xt(le.afterSanitizeAttributes,e,null)},Tt=function e(t){let r=null;const n=vt(t);for(xt(le.beforeSanitizeShadowDOM,t,null);r=n.nextNode();)xt(le.uponSanitizeShadowNode,r,null),wt(r),Et(r),r.content instanceof a&&e(r.content);xt(le.afterSanitizeShadowDOM,t,null)};return r.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=null,o=null,s=null,c=null;if(et=!e,et&&(e="\x3c!--\x3e"),"string"!=typeof e&&!_t(e)){if("function"!=typeof e.toString)throw T("toString is not a function");if("string"!=typeof(e=e.toString()))throw T("dirty is not a string, aborting")}if(!r.isSupported)return e;if(Pe||pt(t),r.removed=[],"string"==typeof e&&(Ue=!1),Ue){if(e.nodeName){const t=ct(e.nodeName);if(!ye[t]||Se[t])throw T("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof d)n=bt("\x3c!----\x3e"),o=n.ownerDocument.importNode(e,!0),1===o.nodeType&&"BODY"===o.nodeName||"HTML"===o.nodeName?n=o:n.appendChild(o);else{if(!Re&&!Ie&&!Me&&-1===e.indexOf("<"))return re&&ze?re.createHTML(e):e;if(n=bt(e),!n)return Re?null:ze?ne:""}n&&De&&ht(n.firstChild);const l=vt(Ue?e:n);for(;s=l.nextNode();)wt(s),Et(s),s.content instanceof a&&Tt(s.content);if(Ue)return e;if(Re){if(Le)for(c=se.call(n.ownerDocument);n.firstChild;)c.appendChild(n.firstChild);else c=n;return(xe.shadowroot||xe.shadowrootmode)&&(c=ce.call(i,c,!0)),c}let u=Me?n.outerHTML:n.innerHTML;return Me&&ye["!doctype"]&&n.ownerDocument&&n.ownerDocument.doctype&&n.ownerDocument.doctype.name&&E(J,n.ownerDocument.doctype.name)&&(u="<!DOCTYPE "+n.ownerDocument.doctype.name+">\n"+u),Ie&&f([ue,de,pe],e=>{u=x(u,e," ")}),re&&ze?re.createHTML(u):u},r.setConfig=function(){pt(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),Pe=!0},r.clearConfig=function(){lt=null,Pe=!1},r.isValidAttribute=function(e,t,r){lt||pt({});const n=ct(e),o=ct(t);return At(n,o,r)},r.addHook=function(e,t){"function"==typeof t&&g(le[e],t)},r.removeHook=function(e,t){if(void 0!==t){const r=m(le[e],t);return-1===r?void 0:b(le[e],r,1)[0]}return h(le[e])},r.removeHooks=function(e){le[e]=[]},r.removeAllHooks=function(){le={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},r}()},1490:(e,t,r)=>{"use strict";var n={};n[r(2769)("toStringTag")]="z",e.exports="[object z]"===String(n)},1529:(e,t,r)=>{"use strict";var n=r(2314);e.exports=function(e,t,r){for(var o in t)n(e,o,t[o],r);return e}},1582:(e,t,r)=>{"use strict";var n=r(2617);e.exports=!n(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})},1588:(e,t,r)=>{"use strict";var n=r(9704),o=r(9471);e.exports=function(e,t){var r=e[t];return o(r)?void 0:n(r)}},1594:e=>{"use strict";e.exports=React},1609:e=>{"use strict";var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},1631:(e,t,r)=>{"use strict";var n=r(7217);e.exports=function(e,t,r){for(var o=e.length-1;o>=0;o--)if(void 0!==e[o])try{r=n(e[o].iterator,t,r)}catch(e){t="throw",r=e}if("throw"===t)throw r;return r}},1669:e=>{"use strict";e.exports=jQuery},1699:(e,t,r)=>{"use strict";var n=r(2769),o=r(4903),i=n("iterator"),s=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||s[i]===e)}},1776:(e,t,r)=>{"use strict";var n=r(1582),o=r(3640),i=Function.prototype,s=n&&Object.getOwnPropertyDescriptor,a=o(i,"name"),c=a&&"something"===function(){}.name,l=a&&(!n||n&&s(i,"name").configurable);e.exports={EXISTS:a,PROPER:c,CONFIGURABLE:l}},2210:(e,t,r)=>{"use strict";var n=r(3826),o=r(7615),i=r(3429),s=r(1609),a=r(1699),c=r(4512),l=r(5871),u=r(7191),d=r(9545),p=r(7217),f=TypeError,m=function(e,t){this.stopped=e,this.result=t},h=m.prototype;e.exports=function(e,t,r){var g,b,v,y,_,x,w,A=r&&r.that,S=!(!r||!r.AS_ENTRIES),E=!(!r||!r.IS_RECORD),T=!(!r||!r.IS_ITERATOR),j=!(!r||!r.INTERRUPTED),k=n(t,A),N=function(e){return g&&p(g,"normal"),new m(!0,e)},O=function(e){return S?(i(e),j?k(e[0],e[1],N):k(e[0],e[1])):j?k(e,N):k(e)};if(E)g=e.iterator;else if(T)g=e;else{if(!(b=d(e)))throw new f(s(e)+" is not iterable");if(a(b)){for(v=0,y=c(e);y>v;v++)if((_=O(e[v]))&&l(h,_))return _;return new m(!1)}g=u(e,b)}for(x=E?e.next:g.next;!(w=o(x,g)).done;){try{_=O(w.value)}catch(e){p(g,"throw",e)}if("object"==typeof _&&_&&l(h,_))return _}return new m(!1)}},2304:(e,t,r)=>{"use strict";var n=r(9471),o=TypeError;e.exports=function(e){if(n(e))throw new o("Can't call method on "+e);return e}},2314:(e,t,r)=>{"use strict";var n=r(9659),o=r(1067),i=r(873),s=r(9951);e.exports=function(e,t,r,a){a||(a={});var c=a.enumerable,l=void 0!==a.name?a.name:t;if(n(r)&&i(r,l,a),a.global)c?e[t]=r:s(t,r);else{try{a.unsafe?e[t]&&(c=!0):delete e[t]}catch(e){}c?e[t]=r:o.f(e,t,{value:r,enumerable:!1,configurable:!a.nonConfigurable,writable:!a.nonWritable})}return e}},2415:(e,t,r)=>{"use strict";r.d(t,{A:()=>E});var n=r(1594),o=r(380);const i=window.wp?.serverSideRender;var s=r.n(i),a=r(6021),c=r(6423),l=r(1426);const u=window.wp?.hooks;var d=r(4833),p=r(5705),f=r(5924),m=r(1034),h=r(2968),g=r(4559);const b="HIcdI";var v=r(7157);const y=e=>{if(!(0,f.vL)(["widgets"]))return"";const t=(0,p.select)("core/block-editor").getBlockRootClientId(e);if(void 0!==t&&""!==t){const e=(0,p.select)("core/block-editor").getBlocksByClientId([t]);if(null!==e[0]&&void 0!==e[0]&&"core/widget-area"===e[0]?.name)return e[0]?.attributes?.id}return""},_=()=>(0,v.jsx)(a.Placeholder,{className:b,icon:m.A,label:(0,d.__)("Advanced Sidebar - Pages","advanced-sidebar-menu"),instructions:(0,d.__)("No preview available","advanced-sidebar-menu")}),x=()=>(0,v.jsx)(a.Placeholder,{className:b,icon:h.A,label:(0,d.__)("Advanced Sidebar - Categories","advanced-sidebar-menu"),instructions:(0,d.__)("No preview available","advanced-sidebar-menu")}),w=()=>(0,v.jsx)(a.Placeholder,{className:b,icon:g.A,label:(0,d.__)("Advanced Sidebar - Navigation","advanced-sidebar-menu"),instructions:(0,d.__)("No preview available","advanced-sidebar-menu")}),A=e=>{switch(e){case o.P.blocks.pages.id:return _;case o.P.blocks.categories.id:return x;case o.P.blocks.navigation?.id:return w}return()=>(0,v.jsx)(v.Fragment,{})},S=({children:e,attributes:t={clientId:""}})=>{if((0,n.useEffect)(()=>()=>{setTimeout(()=>{(0,u.doAction)("advanced-sidebar-menu.blocks.preview.loading-finished",{values:t,clientId:t.clientId})},100)}),"string"==typeof e?.props?.children?.errorMsg)throw new Error(e?.props?.children?.errorMsg??"Failed");return(0,v.jsxs)("div",{className:"o0fph",children:[(0,v.jsx)("div",{className:"OjXVm",children:(0,v.jsx)(a.Spinner,{})}),(0,v.jsx)("div",{className:"uCxNS",children:e})]})},E=({attributes:e,block:t,clientId:r})=>{const n=(0,c.useBlockProps)({className:"BDuIu"});if(""!==o.P.error)return(0,v.jsx)("div",{className:"Nl9o0",dangerouslySetInnerHTML:{__html:l.A.sanitize(o.P.error)}});const i=(e=>e.replace(/^([\d-])/,"_$1"))(r);let a={...e,isServerSideRenderRequest:!0,clientId:i,sidebarId:y(r)};return a=(0,u.applyFilters)("advanced-sidebar-menu.blocks.preview.attributes",a,t,r),(0,v.jsx)("div",{...n,onClick:e=>{const t=e.target;("A"===t.nodeName||"SPAN"===t.nodeName&&"A"===t.parentNode?.nodeName)&&e.preventDefault()},children:(0,v.jsx)(s(),{EmptyResponsePlaceholder:A(t),LoadingResponsePlaceholder:S,attributes:a,block:t,httpMethod:"POST",skipBlockSupportAttributes:!0})})}},2420:(e,t,r)=>{"use strict";var n=r(9498),o=r(5329).f,i=r(6957),s=r(2314),a=r(9951),c=r(6870),l=r(26);e.exports=function(e,t){var r,u,d,p,f,m=e.target,h=e.global,g=e.stat;if(r=h?n:g?n[m]||a(m,{}):n[m]&&n[m].prototype)for(u in t){if(p=t[u],d=e.dontCallGetSet?(f=o(r,u))&&f.value:r[u],!l(h?u:m+(g?".":"#")+u,e.forced)&&void 0!==d){if(typeof p==typeof d)continue;c(p,d)}(e.sham||d&&d.sham)&&i(p,"sham",!0),s(r,u,p,e)}}},2463:e=>{"use strict";e.exports=window.wp?.blocks},2471:(e,t,r)=>{"use strict";var n=r(4195),o=r(7295);e.exports=function(e){var t=n(e,"string");return o(t)?t:t+""}},2617:e=>{"use strict";e.exports=function(e){try{return!!e()}catch(e){return!0}}},2769:(e,t,r)=>{"use strict";var n=r(9498),o=r(1303),i=r(3640),s=r(7386),a=r(7693),c=r(5166),l=n.Symbol,u=o("wks"),d=c?l.for||l:l&&l.withoutSetter||s;e.exports=function(e){return i(u,e)||(u[e]=a&&i(l,e)?l[e]:d("Symbol."+e)),u[e]}},2879:(e,t,r)=>{"use strict";var n=r(6409),o=r(2304);e.exports=function(e){return n(o(e))}},2968:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(7157);const o=(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",children:[(0,n.jsx)("rect",{x:"0",fill:"none",width:"20",height:"20"}),(0,n.jsx)("g",{children:(0,n.jsx)("path",{fill:"#044567",d:"M19 17V2c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v15c0 .55.45 1 1 1h15c.55 0 1-.45 1-1z M4 3h13v4H4V3z M5 4h3v2H5V4zm4 0h3v2H9V4zm4 0h3v2H13V4z M4.5 9 c .28 0 .5 .22 .5 .5s-.22.5-.5.5s-.5-.22-.5-.5s.22-.5 .5-.5z M6 9h4v1H6v-1z M4.5 12 c .28 0 .5 .22 .5 .5s-.22.5-.5.5s-.5-.22-.5-.5s.22-.5 .5-.5z M6 12h4v1H6v-1z M4.5 15 c .28 0 .5 .22 .5 .5s-.22.5-.5.5s-.5-.22-.5-.5s.22-.5 .5-.5z M6 15h4v1H6v-1z M12 10 H15.5 L17 12.5 L15.5 15 H12 V10 Z M13 12.5 m -0.6 0 a 0.6 0.6 0 1 0 1.2 0 a 0.6 0.6 0 1 0 -1.2 0"})})]})},3030:(e,t,r)=>{"use strict";var n=r(6666),o=r(3640),i=r(2879),s=r(5643).indexOf,a=r(4307),c=n([].push);e.exports=function(e,t){var r,n=i(e),l=0,u=[];for(r in n)!o(a,r)&&o(n,r)&&c(u,r);for(;t.length>l;)o(n,r=t[l++])&&(~s(u,r)||c(u,r));return u}},3229:(e,t,r)=>{"use strict";r.d(t,{A:()=>d}),r(8369),r(5831);var n=r(380),o=r(6021),i=r(6423);const s=window.wp?.htmlEntities;var a=r(4833);var c=r(7157);const l={color:"#3db634",fontWeight:700},u={margin:"16px 0 0",fontSize:"1.2em"},d=(0,o.withFilters)("advanced-sidebar-menu.blocks.info-panel")(({})=>(0,c.jsx)(i.InspectorControls,{children:(0,c.jsxs)(o.PanelBody,{title:(0,c.jsx)("span",{style:l,children:(0,a.__)("Go PRO","advanced-sidebar-menu")}),className:"k_HzP",initialOpen:!1,children:[(0,c.jsx)("h2",{style:u,children:(0,a.__)("Advanced Sidebar Menu PRO","advanced-sidebar-menu")}),(0,c.jsxs)("ul",{children:[n.P.features.map(e=>(0,c.jsx)("li",{children:(0,s.decodeEntities)(e)},e)),(0,c.jsx)("li",{children:(0,a.__)("And so much more…","advanced-sidebar-menu")})]}),(0,c.jsx)(o.Button,{className:"FgH_t",href:"https://onpointplugins.com/product/advanced-sidebar-menu-pro/?utm_source=block-upgrade&utm_campaign=gopro&utm_medium=wp-dash#buy-now-choices",target:"_blank",rel:"noreferrer",isPrimary:!0,children:(0,a.__)("Upgrade","advanced-sidebar-menu")})]})}))},3429:(e,t,r)=>{"use strict";var n=r(3912),o=String,i=TypeError;e.exports=function(e){if(n(e))return e;throw new i(o(e)+" is not an object")}},3595:(e,t,r)=>{"use strict";var n=r(2304),o=Object;e.exports=function(e){return o(n(e))}},3604:(e,t,r)=>{"use strict";var n=r(9498),o=r(9659),i=n.WeakMap;e.exports=o(i)&&/native code/.test(String(i))},3640:(e,t,r)=>{"use strict";var n=r(6666),o=r(3595),i=n({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return i(o(e),t)}},3658:e=>{"use strict";e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},3701:e=>{"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},3826:(e,t,r)=>{"use strict";var n=r(6394),o=r(9704),i=r(9202),s=n(n.bind);e.exports=function(e,t){return o(e),void 0===t?e:i?s(e,t):function(){return e.apply(t,arguments)}}},3884:(e,t,r)=>{"use strict";var n=r(7615),o=r(9659),i=r(3912),s=TypeError;e.exports=function(e,t){var r,a;if("string"===t&&o(r=e.toString)&&!i(a=n(r,e)))return a;if(o(r=e.valueOf)&&!i(a=n(r,e)))return a;if("string"!==t&&o(r=e.toString)&&!i(a=n(r,e)))return a;throw new s("Can't convert object to primitive value")}},3912:(e,t,r)=>{"use strict";var n=r(9659);e.exports=function(e){return"object"==typeof e?null!==e:n(e)}},3922:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(6021),o=r(5705),i=r(8110);let s="";const a=(0,n.withFilters)("advanced-sidebar-menu.blocks.side-load")(({clientId:e,children:t})=>(0,i.isEmpty)(s)||e===s||-1===(0,o.select)("core/block-editor").getBlockIndex(s)?(s=e,t??null):null)},3945:(e,t,r)=>{"use strict";r.d(t,{A:()=>u});var n=r(1594),o=r(380);const i=window.wp?.url;var s=r(1426),a=r(7157);const{sanitize:c}=s.A;class l extends n.Component{constructor(e){super(e),this.state={hasError:!1,error:null}}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(e,t){console.warn("%cError caught by the Advanced Sidebar ErrorBoundary!","color:orange; font-size: large; font-weight: bold"),console.warn(this.props),console.warn(e),console.warn(t),this.setState({error:e})}render(){return this.state.hasError?o.P.siteInfo.scriptDebug?(0,a.jsxs)("div",{className:"components-panel__body is-opened",children:[(0,a.jsx)("h4",{style:{color:"red"},children:"Something went wrong!"}),(0,a.jsxs)("p",{children:[(0,a.jsx)("button",{className:"components-button is-link",onClick:e=>{e.preventDefault(),window.open(c(o.P.support),"_blank","noopener,noreferrer")},children:"Please create a support request"})," with the following information:"]}),(0,a.jsxs)("ol",{children:[(0,a.jsx)("li",{children:(0,a.jsx)("button",{className:"components-button is-link",onClick:e=>{e.preventDefault(),window.open("https://onpointplugins.com/how-to-retrieve-console-logs-from-your-browser/","_blank","noopener,noreferrer")},children:"The logs from your browser console."})}),(0,a.jsx)("li",{children:"The following information."})]}),(0,a.jsxs)("div",{style:{border:"2px groove",padding:"10px",width:"100%",overflowWrap:"break-word"},children:[(0,a.jsxs)("p",{children:[(0,a.jsx)("strong",{children:(0,a.jsx)("em",{children:"Section"})})," ",(0,a.jsx)("br",{}),(0,a.jsx)("code",{children:this.props.section})]}),(0,a.jsxs)("p",{children:[(0,a.jsx)("strong",{children:(0,a.jsx)("em",{children:"Screen"})})," ",(0,a.jsx)("br",{}),(0,a.jsx)("code",{children:o.P.currentScreen})]}),(0,a.jsxs)("p",{children:[(0,a.jsx)("strong",{children:(0,a.jsx)("em",{children:"Message"})})," ",(0,a.jsx)("br",{}),(0,a.jsx)("code",{children:this.state.error?.message})]}),(0,a.jsxs)("p",{children:[(0,a.jsx)("strong",{children:(0,a.jsx)("em",{children:"Block"})})," ",(0,a.jsx)("br",{}),(0,a.jsx)("code",{children:this.props.block})]}),(0,a.jsxs)("p",{children:[(0,a.jsx)("strong",{children:(0,a.jsx)("em",{children:"Attributes"})})," ",(0,a.jsx)("br",{}),(0,a.jsx)("code",{children:JSON.stringify(this.props.attributes)})]}),(0,a.jsxs)("p",{children:[(0,a.jsx)("strong",{children:(0,a.jsx)("em",{children:"Site Info"})})," ",(0,a.jsx)("br",{}),(0,a.jsx)("code",{children:JSON.stringify(o.P.siteInfo)})]}),(0,a.jsxs)("p",{children:[(0,a.jsx)("strong",{children:(0,a.jsx)("em",{children:"Stack"})})," ",(0,a.jsx)("br",{}),(0,a.jsx)("code",{children:this.state.error?.stack})]})]}),(0,a.jsx)("p",{children:" "}),(0,a.jsx)("p",{children:" "})]}):(0,a.jsxs)("div",{className:"components-panel__body is-opened",children:[(0,a.jsx)("h4",{style:{color:"red"},children:"Something went wrong!"}),(0,a.jsxs)("p",{children:[(0,a.jsx)("button",{className:"components-button is-link",onClick:e=>{e.preventDefault();const t=(0,i.addQueryArgs)(c(window.location.href),{"script-debug":"true"});window.open(c(t),"_blank","noopener,noreferrer")},children:"Please enable script debug"}),"to retrieve error information."]})]}):this.props.children}}const u=l},4036:(e,t,r)=>{"use strict";var n=r(6666),o=r(9659),i=r(1159),s=n(Function.toString);o(i.inspectSource)||(i.inspectSource=function(e){return s(e)}),e.exports=i.inspectSource},4116:(e,t,r)=>{"use strict";var n=r(5206);t.H=n.createRoot,n.hydrateRoot},4139:(e,t,r)=>{"use strict";r.r(t),r.d(t,{block:()=>_,name:()=>x,settings:()=>w});var n=r(380),o=(r(8369),r(5831),r(6423)),i=r(6021),s=r(2415),a=r(9458),c=r(5705),l=r(3229),u=r(4833),d=r(3945),p=r(3922),f=r(5924),m=r(9636),h=r(1426),g=r(9679),b=r(7157);const v=({attributes:e,setAttributes:t,clientId:r,name:v})=>{const y=(0,c.useSelect)(t=>t("core").getPostType(e.post_type??"page")??t("core").getPostType("page"),[e.post_type]);if(""!==n.P.error)return(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(o.InspectorControls,{children:(0,b.jsx)("div",{className:g.A.error,dangerouslySetInnerHTML:{__html:h.A.sanitize(n.P.error)}})}),(0,b.jsx)(s.A,{attributes:e,block:_.id,clientId:r})]});const x={type:y,attributes:e,name:v,setAttributes:t,clientId:r};return(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(o.InspectorControls,{children:(0,b.jsx)("div",{className:"components-panel__body is-opened",children:(0,b.jsx)("a",{href:n.P.docs.page,target:"_blank",rel:"noopener noreferrer",children:(0,u.__)("Documentation","advanced-sidebar-menu")})})}),(0,b.jsxs)(o.InspectorControls,{children:[(0,f.vL)(["widgets","site-editor","customize"])&&(0,b.jsx)(i.PanelBody,{children:(0,b.jsx)(i.TextControl,{value:e.title??"",label:(0,u.__)("Title","advanced-sidebar-menu"),onChange:e=>t({title:e}),__nextHasNoMarginBottom:!0})}),(0,b.jsxs)(d.A,{attributes:e,block:v,section:"pages/Edit/general",children:[(0,b.jsx)(a.A,{attributes:e,clientId:r,name:v,setAttributes:t,type:y}),(0,b.jsxs)("div",{className:"components-panel__body is-opened",children:[(0,b.jsx)(i.Slot,{name:"advanced-sidebar-menu/pages/general",fillProps:x}),(0,b.jsx)(i.SelectControl,{label:(0,u.__)("Order by","advanced-sidebar-menu"),value:e.order_by,labelPosition:"side",options:Object.entries(n.P.pages.orderBy).map(([e,t])=>({value:e,label:t})),onChange:e=>{t({order_by:e})}}),(0,b.jsx)(m.A,{type:y,attributes:e,setAttributes:t}),(0,b.jsx)(i.Slot,{name:"advanced-sidebar-menu/pages/general-after",fillProps:x})]})]}),(0,b.jsx)(d.A,{attributes:e,block:v,section:"pages/Edit/inspector",children:(0,b.jsx)(i.Slot,{name:"advanced-sidebar-menu/pages/inspector",fillProps:x})})]}),(0,b.jsx)(o.BlockControls,{children:(0,b.jsx)(d.A,{attributes:e,block:v,section:"pages/Edit/block-controls",children:(0,b.jsx)(i.Slot,{name:"advanced-sidebar-menu/pages/block-controls",fillProps:x})})}),(0,b.jsx)(l.A,{clientId:r}),(0,b.jsx)(d.A,{attributes:e,block:v,section:"pages/Edit/preview",children:(0,b.jsx)(s.A,{attributes:e,block:_.id,clientId:r})}),(0,b.jsx)(p.A,{clientId:r})]})};var y=r(1034);const _=n.P.blocks.pages,x=_.id,w={title:(0,u.__)("Advanced Sidebar - Pages","advanced-sidebar-menu"),icon:y.A,category:"widgets",description:(0,u.__)("Creates a menu of all the pages using the parent/child relationship","advanced-sidebar-menu"),example:{attributes:{apply_current_page_parent_styles_to_parent:!0,apply_current_page_styles_to_parent:!0,block_style:!0,border:!0,border_color:"#333",bullet_style:"none",child_page_bg_color:"#666",child_page_color:"#fff",current_page_bg_color:"#282828",current_page_color:"#0cc4c6",current_page_font_weight:"normal",current_page_parent_bg_color:"#333",display_all:!0,grandchild_page_bg_color:"#989898",grandchild_page_color:"#282828",grandchild_page_font_weight:"bold",include_childless_parent:!0,include_parent:!0,levels:2,parent_page_bg_color:"#666",parent_page_color:"#fff"}},transforms:{from:[{type:"block",blocks:["core/legacy-widget"],isMatch:({idBase:e,instance:t})=>null!==t?.raw&&"advanced_sidebar_menu"===e,transform:(0,f.od)(x)}]},attributes:(0,f.$O)(_.attributes),supports:(0,f.MP)(),edit:e=>(0,b.jsx)(v,{...e}),save:()=>null,apiVersion:3}},4173:(e,t,r)=>{"use strict";var n=r(3640),o=r(9659),i=r(3595),s=r(705),a=r(9249),c=s("IE_PROTO"),l=Object,u=l.prototype;e.exports=a?l.getPrototypeOf:function(e){var t=i(e);if(n(t,c))return t[c];var r=t.constructor;return o(r)&&t instanceof r?r.prototype:t instanceof l?u:null}},4195:(e,t,r)=>{"use strict";var n=r(7615),o=r(3912),i=r(7295),s=r(1588),a=r(3884),c=r(2769),l=TypeError,u=c("toPrimitive");e.exports=function(e,t){if(!o(e)||i(e))return e;var r,c=s(e,u);if(c){if(void 0===t&&(t="default"),r=n(c,e,t),!o(r)||i(r))return r;throw new l("Can't convert object to primitive value")}return void 0===t&&(t="number"),a(e,t)}},4307:e=>{"use strict";e.exports={}},4330:(e,t,r)=>{"use strict";var n=r(2420),o=r(7615),i=r(2210),s=r(9704),a=r(3429),c=r(6857),l=r(7217),u=r(6435)("forEach",TypeError);n({target:"Iterator",proto:!0,real:!0,forced:u},{forEach:function(e){a(this);try{s(e)}catch(e){l(this,"throw",e)}if(u)return o(u,this,e);var t=c(this),r=0;i(t,function(t){e(t,r++)},{IS_RECORD:!0})}})},4357:(e,t,r)=>{"use strict";var n=r(5871),o=TypeError;e.exports=function(e,t){if(n(t,e))return e;throw new o("Incorrect invocation")}},4512:(e,t,r)=>{"use strict";var n=r(9124);e.exports=function(e){return n(e.length)}},4559:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(7157);const o=(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",children:[(0,n.jsx)("rect",{x:"0",fill:"none",width:"20",height:"20"}),(0,n.jsx)("g",{children:(0,n.jsx)("path",{fill:"#044567",d:"M19 17V2c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v15c0 .55.45 1 1 1h15c.55 0 1-.45 1-1z M4 3h13v4H4V3z M5 4h3v2H5V4zm4 0h3v2H9V4zm4 0h3v2H13V4z M4.5 9 c .28 0 .5 .22 .5 .5s-.22.5-.5.5s-.5-.22-.5-.5s.22-.5 .5-.5z M6 9h4v1H6v-1z M4.5 12 c .28 0 .5 .22 .5 .5s-.22.5-.5.5s-.5-.22-.5-.5s.22-.5 .5-.5z M6 12h4v1H6v-1z M4.5 15 c .28 0 .5 .22 .5 .5s-.22.5-.5.5s-.5-.22-.5-.5s.22-.5 .5-.5z M6 15h4v1H6v-1z M12.5 10.5 h4v1h-4v-1z M12.5 12 h4v1h-4v-1z M12.5 13.5 h4v1h-4v-1z"})})]})},4779:(e,t,r)=>{"use strict";var n,o,i,s=r(2617),a=r(9659),c=r(3912),l=r(7306),u=r(4173),d=r(2314),p=r(2769),f=r(613),m=p("iterator"),h=!1;[].keys&&("next"in(i=[].keys())?(o=u(u(i)))!==Object.prototype&&(n=o):h=!0),!c(n)||s(function(){var e={};return n[m].call(e)!==e})?n={}:f&&(n=l(n)),a(n[m])||d(n,m,function(){return this}),e.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:h}},4809:(e,t,r)=>{"use strict";var n=r(6001),o=r(6666),i=r(8006),s=r(9675),a=r(3429),c=o([].concat);e.exports=n("Reflect","ownKeys")||function(e){var t=i.f(a(e)),r=s.f;return r?c(t,r(e)):t}},4833:e=>{"use strict";e.exports=window.wp?.i18n},4849:(e,t,r)=>{"use strict";var n=r(1490),o=r(9659),i=r(1374),s=r(2769)("toStringTag"),a=Object,c="Arguments"===i(function(){return arguments}());e.exports=n?i:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=a(e),s))?r:c?i(t):"Object"===(n=i(t))&&o(t.callee)?"Arguments":n}},4903:e=>{"use strict";e.exports={}},4925:(e,t,r)=>{"use strict";var n=r(8247);e.exports=function(e){var t=+e;return t!=t||0===t?0:n(t)}},5166:(e,t,r)=>{"use strict";var n=r(7693);e.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},5176:(e,t,r)=>{"use strict";var n=r(873),o=r(1067);e.exports=function(e,t,r){return r.get&&n(r.get,t,{getter:!0}),r.set&&n(r.set,t,{setter:!0}),o.f(e,t,r)}},5199:(e,t,r)=>{"use strict";var n=r(1594),o=Symbol.for("react.element"),i=Symbol.for("react.fragment"),s=Object.prototype.hasOwnProperty,a=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,c={key:!0,ref:!0,__self:!0,__source:!0};function l(e,t,r){var n,i={},l=null,u=null;for(n in void 0!==r&&(l=""+r),void 0!==t.key&&(l=""+t.key),void 0!==t.ref&&(u=t.ref),t)s.call(t,n)&&!c.hasOwnProperty(n)&&(i[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps)void 0===i[n]&&(i[n]=t[n]);return{$$typeof:o,type:e,key:l,ref:u,props:i,_owner:a.current}}t.Fragment=i,t.jsx=l,t.jsxs=l},5206:e=>{"use strict";e.exports=ReactDOM},5267:(e,t,r)=>{"use strict";var n,o,i,s=r(3604),a=r(9498),c=r(3912),l=r(6957),u=r(3640),d=r(1159),p=r(705),f=r(4307),m="Object already initialized",h=a.TypeError,g=a.WeakMap;if(s||d.state){var b=d.state||(d.state=new g);b.get=b.get,b.has=b.has,b.set=b.set,n=function(e,t){if(b.has(e))throw new h(m);return t.facade=e,b.set(e,t),t},o=function(e){return b.get(e)||{}},i=function(e){return b.has(e)}}else{var v=p("state");f[v]=!0,n=function(e,t){if(u(e,v))throw new h(m);return t.facade=e,l(e,v,t),t},o=function(e){return u(e,v)?e[v]:{}},i=function(e){return u(e,v)}}e.exports={set:n,get:o,has:i,enforce:function(e){return i(e)?o(e):n(e,{})},getterFor:function(e){return function(t){var r;if(!c(t)||(r=o(t)).type!==e)throw new h("Incompatible receiver, "+e+" required");return r}}}},5329:(e,t,r)=>{"use strict";var n=r(1582),o=r(7615),i=r(1259),s=r(3658),a=r(2879),c=r(2471),l=r(3640),u=r(5879),d=Object.getOwnPropertyDescriptor;t.f=n?d:function(e,t){if(e=a(e),t=c(t),u)try{return d(e,t)}catch(e){}if(l(e,t))return s(!o(i.f,e,t),e[t])}},5583:e=>{"use strict";e.exports=function(e,t){return{value:e,done:t}}},5643:(e,t,r)=>{"use strict";var n=r(2879),o=r(5776),i=r(4512),s=function(e){return function(t,r,s){var a=n(t),c=i(a);if(0===c)return!e&&-1;var l,u=o(s,c);if(e&&r!=r){for(;c>u;)if((l=a[u++])!=l)return!0}else for(;c>u;u++)if((e||u in a)&&a[u]===r)return e||u||0;return!e&&-1}};e.exports={includes:s(!0),indexOf:s(!1)}},5705:e=>{"use strict";e.exports=window.wp?.data},5776:(e,t,r)=>{"use strict";var n=r(4925),o=Math.max,i=Math.min;e.exports=function(e,t){var r=n(e);return r<0?o(r+t,0):i(r,t)}},5831:(e,t,r)=>{"use strict";var n=r(2420),o=r(7615),i=r(9704),s=r(3429),a=r(6857),c=r(6820),l=r(9109),u=r(7217),d=r(7454),p=r(6435),f=r(613),m=!f&&!d("map",function(){}),h=!f&&!m&&p("map",TypeError),g=f||m||h,b=c(function(){var e=this.iterator,t=s(o(this.next,e));if(!(this.done=!!t.done))return l(e,this.mapper,[t.value,this.counter++],!0)});n({target:"Iterator",proto:!0,real:!0,forced:g},{map:function(e){s(this);try{i(e)}catch(e){u(this,"throw",e)}return h?o(h,this,e):new b(a(this),{mapper:e})}})},5871:(e,t,r)=>{"use strict";var n=r(6666);e.exports=n({}.isPrototypeOf)},5879:(e,t,r)=>{"use strict";var n=r(1582),o=r(2617),i=r(6601);e.exports=!n&&!o(function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a})},5924:(e,t,r)=>{"use strict";r.d(t,{$O:()=>a,MP:()=>c,od:()=>s,vL:()=>i}),r(8369),r(4330);var n=r(2463),o=r(380);const i=e=>e.includes(o.P.currentScreen),s=e=>({instance:t})=>(0,n.createBlock)(e,l(t.raw));function a(e){return{...e,...o.P.blocks.commonAttr,...o.P.blocks.previewAttr}}function c(){return o.P.blocks.blockSupport}const l=e=>(Object.entries(e).forEach(([t,r])=>{"checked"===r&&(e[t]=!0),"object"==typeof r&&l(e[t]),"0"===r&&delete e[t]}),e)},6001:(e,t,r)=>{"use strict";var n=r(9498),o=r(9659);e.exports=function(e,t){return arguments.length<2?(r=n[e],o(r)?r:void 0):n[e]&&n[e][t];var r}},6021:e=>{"use strict";e.exports=window.wp?.components},6394:(e,t,r)=>{"use strict";var n=r(1374),o=r(6666);e.exports=function(e){if("Function"===n(e))return o(e)}},6398:(e,t,r)=>{"use strict";var n=r(1582),o=r(1067),i=r(3658);e.exports=function(e,t,r){n?o.f(e,t,i(0,r)):e[t]=r}},6409:(e,t,r)=>{"use strict";var n=r(6666),o=r(2617),i=r(1374),s=Object,a=n("".split);e.exports=o(function(){return!s("z").propertyIsEnumerable(0)})?function(e){return"String"===i(e)?a(e,""):s(e)}:s},6423:e=>{"use strict";e.exports=window.wp?.blockEditor},6435:(e,t,r)=>{"use strict";var n=r(9498);e.exports=function(e,t){var r=n.Iterator,o=r&&r.prototype,i=o&&o[e],s=!1;if(i)try{i.call({next:function(){return{done:!0}},return:function(){s=!0}},-1)}catch(e){e instanceof t||(s=!1)}if(!s)return i}},6601:(e,t,r)=>{"use strict";var n=r(9498),o=r(3912),i=n.document,s=o(i)&&o(i.createElement);e.exports=function(e){return s?i.createElement(e):{}}},6666:(e,t,r)=>{"use strict";var n=r(9202),o=Function.prototype,i=o.call,s=n&&o.bind.bind(i,i);e.exports=n?s:function(e){return function(){return i.apply(e,arguments)}}},6820:(e,t,r)=>{"use strict";var n=r(7615),o=r(7306),i=r(6957),s=r(1529),a=r(2769),c=r(5267),l=r(1588),u=r(4779).IteratorPrototype,d=r(5583),p=r(7217),f=r(1631),m=a("toStringTag"),h="IteratorHelper",g="WrapForValidIterator",b="normal",v="throw",y=c.set,_=function(e){var t=c.getterFor(e?g:h);return s(o(u),{next:function(){var r=t(this);if(e)return r.nextHandler();if(r.done)return d(void 0,!0);try{var n=r.nextHandler();return r.returnHandlerResult?n:d(n,r.done)}catch(e){throw r.done=!0,e}},return:function(){var r=t(this),o=r.iterator;if(r.done=!0,e){var i=l(o,"return");return i?n(i,o):d(void 0,!0)}if(r.inner)try{p(r.inner.iterator,b)}catch(e){return p(o,v,e)}if(r.openIters)try{f(r.openIters,b)}catch(e){return p(o,v,e)}return o&&p(o,b),d(void 0,!0)}})},x=_(!0),w=_(!1);i(w,m,"Iterator Helper"),e.exports=function(e,t,r){var n=function(n,o){o?(o.iterator=n.iterator,o.next=n.next):o=n,o.type=t?g:h,o.returnHandlerResult=!!r,o.nextHandler=e,o.counter=0,o.done=!1,y(this,o)};return n.prototype=t?x:w,n}},6857:e=>{"use strict";e.exports=function(e){return{iterator:e,next:e.next,done:!1}}},6870:(e,t,r)=>{"use strict";var n=r(3640),o=r(4809),i=r(5329),s=r(1067);e.exports=function(e,t,r){for(var a=o(t),c=s.f,l=i.f,u=0;u<a.length;u++){var d=a[u];n(e,d)||r&&n(r,d)||c(e,d,l(t,d))}}},6957:(e,t,r)=>{"use strict";var n=r(1582),o=r(1067),i=r(3658);e.exports=n?function(e,t,r){return o.f(e,t,i(1,r))}:function(e,t,r){return e[t]=r,e}},7157:(e,t,r)=>{"use strict";e.exports=r(5199)},7191:(e,t,r)=>{"use strict";var n=r(7615),o=r(9704),i=r(3429),s=r(1609),a=r(9545),c=TypeError;e.exports=function(e,t){var r=arguments.length<2?a(e):t;if(o(r))return i(n(r,e));throw new c(s(e)+" is not iterable")}},7217:(e,t,r)=>{"use strict";var n=r(7615),o=r(3429),i=r(1588);e.exports=function(e,t,r){var s,a;o(e);try{if(!(s=i(e,"return"))){if("throw"===t)throw r;return r}s=n(s,e)}catch(e){a=!0,s=e}if("throw"===t)throw r;if(a)throw s;return o(s),r}},7295:(e,t,r)=>{"use strict";var n=r(6001),o=r(9659),i=r(5871),s=r(5166),a=Object;e.exports=s?function(e){return"symbol"==typeof e}:function(e){var t=n("Symbol");return o(t)&&i(t.prototype,a(e))}},7306:(e,t,r)=>{"use strict";var n,o=r(3429),i=r(1399),s=r(3701),a=r(4307),c=r(8827),l=r(6601),u=r(705),d="prototype",p="script",f=u("IE_PROTO"),m=function(){},h=function(e){return"<"+p+">"+e+"</"+p+">"},g=function(e){e.write(h("")),e.close();var t=e.parentWindow.Object;return e=null,t},b=function(){try{n=new ActiveXObject("htmlfile")}catch(e){}var e,t,r;b="undefined"!=typeof document?document.domain&&n?g(n):(t=l("iframe"),r="java"+p+":",t.style.display="none",c.appendChild(t),t.src=String(r),(e=t.contentWindow.document).open(),e.write(h("document.F=Object")),e.close(),e.F):g(n);for(var o=s.length;o--;)delete b[d][s[o]];return b()};a[f]=!0,e.exports=Object.create||function(e,t){var r;return null!==e?(m[d]=o(e),r=new m,m[d]=null,r[f]=e):r=b(),void 0===t?r:i.f(r,t)}},7386:(e,t,r)=>{"use strict";var n=r(6666),o=0,i=Math.random(),s=n(1.1.toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+s(++o+i,36)}},7454:e=>{"use strict";e.exports=function(e,t){var r="function"==typeof Iterator&&Iterator.prototype[e];if(r)try{r.call({next:null},t).next()}catch(e){return!0}}},7615:(e,t,r)=>{"use strict";var n=r(9202),o=Function.prototype.call;e.exports=n?o.bind(o):function(){return o.apply(o,arguments)}},7693:(e,t,r)=>{"use strict";var n=r(9581),o=r(2617),i=r(9498).String;e.exports=!!Object.getOwnPropertySymbols&&!o(function(){var e=Symbol("symbol detection");return!i(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41})},8006:(e,t,r)=>{"use strict";var n=r(3030),o=r(3701).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,o)}},8110:e=>{"use strict";e.exports=lodash},8247:e=>{"use strict";var t=Math.ceil,r=Math.floor;e.exports=Math.trunc||function(e){var n=+e;return(n>0?r:t)(n)}},8369:(e,t,r)=>{"use strict";var n=r(2420),o=r(9498),i=r(4357),s=r(3429),a=r(9659),c=r(4173),l=r(5176),u=r(6398),d=r(2617),p=r(3640),f=r(2769),m=r(4779).IteratorPrototype,h=r(1582),g=r(613),b="constructor",v="Iterator",y=f("toStringTag"),_=TypeError,x=o[v],w=g||!a(x)||x.prototype!==m||!d(function(){x({})}),A=function(){if(i(this,m),c(this)===m)throw new _("Abstract class Iterator not directly constructable")},S=function(e,t){h?l(m,e,{configurable:!0,get:function(){return t},set:function(t){if(s(this),this===m)throw new _("You can't redefine this property");p(this,e)?this[e]=t:u(this,e,t)}}):m[e]=t};p(m,y)||S(y,v),!w&&p(m,b)&&m[b]!==Object||S(b,A),A.prototype=m,n({global:!0,constructor:!0,forced:w},{Iterator:A})},8794:(e,t,r)=>{"use strict";var n=r(3030),o=r(3701);e.exports=Object.keys||function(e){return n(e,o)}},8827:(e,t,r)=>{"use strict";var n=r(6001);e.exports=n("document","documentElement")},9109:(e,t,r)=>{"use strict";var n=r(3429),o=r(7217);e.exports=function(e,t,r,i){try{return i?t(n(r)[0],r[1]):t(r)}catch(t){o(e,"throw",t)}}},9124:(e,t,r)=>{"use strict";var n=r(4925),o=Math.min;e.exports=function(e){var t=n(e);return t>0?o(t,9007199254740991):0}},9202:(e,t,r)=>{"use strict";var n=r(2617);e.exports=!n(function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})},9249:(e,t,r)=>{"use strict";var n=r(2617);e.exports=!n(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})},9406:(e,t,r)=>{var n={"./categories/block.tsx":729,"./pages/block.tsx":4139,"gutenberg/blocks/categories/block.tsx":729,"gutenberg/blocks/pages/block.tsx":4139};function o(e){var t=i(e);return r(t)}function i(e){if(!r.o(n,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return n[e]}o.keys=function(){return Object.keys(n)},o.resolve=i,e.exports=o,o.id=9406},9458:(e,t,r)=>{"use strict";r.d(t,{A:()=>d}),r(8369),r(5831);var n=r(6021),o=r(380),i=r(4833),s=r(8110),a=r(3945),c=r(7157);const l={include_parent:(0,i.__)("Display highest level parent %s","advanced-sidebar-menu"),include_childless_parent:(0,i.__)("Display menu when there is only the parent %s","advanced-sidebar-menu"),display_all:(0,i.__)("Always display child %s","advanced-sidebar-menu")},u=[{value:"100",label:(0,i.__)("- All -","advanced-sidebar-menu")},...(0,s.range)(1,11).map(e=>({value:e.toString(),label:e.toString()}))],d=({attributes:e,setAttributes:t,type:r,name:s,clientId:d,children:p})=>{const f=o.P.blocks.pages.id===s&&"1"===o.P.isPro||!0===e.display_all,m={type:r,attributes:e,name:s,setAttributes:t,clientId:d};return(0,c.jsxs)(n.PanelBody,{title:(0,i.__)("Display","advanced-sidebar-menu"),children:[Object.keys(l).map(o=>{let s=r?.labels?.singular_name.toLowerCase()??"";return"display_all"===o&&(s=r?.labels?.name.toLowerCase()??""),(0,c.jsx)(n.CheckboxControl,{label:(0,i.sprintf)(l[o],s),checked:!0===e[o],onChange:e=>{t({[o]:e})},__nextHasNoMarginBottom:!0},o)}),f&&(0,c.jsx)(n.SelectControl,{label:(0,i.sprintf)((0,i.__)("Levels of child %s to display","advanced-sidebar-menu"),r?.labels?.name.toLowerCase()??""),className:"advanced-sidebar-menu-display-select",value:e.levels.toString(),onChange:e=>{t({levels:parseInt(e)})},options:u,__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0},"levels"),p,(0,c.jsxs)(a.A,{attributes:e,block:s,section:"Display/slots",children:[o.P.blocks.pages.id===s&&(0,c.jsx)(n.Slot,{name:"advanced-sidebar-menu/pages/display",fillProps:m}),o.P.blocks.categories.id===s&&(0,c.jsx)(n.Slot,{name:"advanced-sidebar-menu/categories/display",fillProps:m})]})]})}},9471:e=>{"use strict";e.exports=function(e){return null==e}},9498:function(e,t,r){"use strict";var n=function(e){return e&&e.Math===Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||n("object"==typeof this&&this)||function(){return this}()||Function("return this")()},9545:(e,t,r)=>{"use strict";var n=r(4849),o=r(1588),i=r(9471),s=r(4903),a=r(2769)("iterator");e.exports=function(e){if(!i(e))return o(e,a)||o(e,"@@iterator")||s[n(e)]}},9581:(e,t,r)=>{"use strict";var n,o,i=r(9498),s=r(709),a=i.process,c=i.Deno,l=a&&a.versions||c&&c.version,u=l&&l.v8;u&&(o=(n=u.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!o&&s&&(!(n=s.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=s.match(/Chrome\/(\d+)/))&&(o=+n[1]),e.exports=o},9636:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(6021),o=r(4833),i=r(1426),s=r(7157);const a=(0,n.withFilters)("advanced-sidebar-menu.blocks.exclude-field")(({type:e,attributes:t,setAttributes:r})=>{const a=(0,s.jsxs)("p",{children:[(0,s.jsx)("br",{}),(0,s.jsx)("span",{dangerouslySetInnerHTML:{__html:i.A.sanitize((0,o.sprintf)((0,o.__)("For more robust and intuitive exclusions use the %1$sPRO version%2$s.","advanced-sidebar-menu"),'<a href="https://onpointplugins.com/advanced-sidebar-menu/advanced-sidebar-menu-pro-widget-docs/advanced-sidebar-menu-pro-excluding-menu-items/?utm_source=exclude-field&utm_campaign=gopro&utm_medium=wp-dash" target="_blank" rel="noopener noreferrer">',"</a>"),{ADD_ATTR:["target"]})}})]});return(0,s.jsx)(n.TextControl,{label:(0,o.sprintf)((0,o.__)("%s to exclude","advanced-sidebar-menu"),e?.labels?.name??""),value:t.exclude,help:(0,s.jsxs)(s.Fragment,{children:[(0,o.__)("ids, comma separated","advanced-sidebar-menu"),a]}),onChange:e=>{r({exclude:e})},__nextHasNoMarginBottom:!0})})},9659:e=>{"use strict";var t="object"==typeof document&&document.all;e.exports=void 0===t&&void 0!==t?function(e){return"function"==typeof e||e===t}:function(e){return"function"==typeof e}},9675:(e,t)=>{"use strict";t.f=Object.getOwnPropertySymbols},9679:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});const n={error:"lZo8N"}},9704:(e,t,r)=>{"use strict";var n=r(9659),o=r(1609),i=TypeError;e.exports=function(e){if(n(e))return e;throw new i(o(e)+" is not a function")}},9752:(e,t,r)=>{"use strict";var n=r(1582),o=r(2617);e.exports=n&&o(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})},9951:(e,t,r)=>{"use strict";var n=r(9498),o=Object.defineProperty;e.exports=function(e,t){try{o(n,e,{value:t,configurable:!0,writable:!0})}catch(r){n[e]=t}return t}}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var i=t[n]={id:n,loaded:!1,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.loaded=!0,i.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.hmd=e=>((e=Object.create(e)).children||(e.children=[]),Object.defineProperty(e,"exports",{enumerable:!0,set:()=>{throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}}),e),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{"use strict";r(8369),r(4330);var e=r(4116),t=r(4833),n=r(1594),o=r(6021);var i=r(7157);const s="advanced-sidebar-menu/transform-notice-dismissed",a=({})=>{const[e,r]=(0,n.useState)(!0);return e?(0,i.jsxs)(o.Notice,{className:"mq3sZ",politeness:"polite",onDismiss:()=>{r(!1),localStorage.setItem(s,"1")},actions:[{label:(0,t.__)("Blocks are the future of Advanced Sidebar Menu.","advanced-sidebar-menu"),url:"https://onpointplugins.com/advanced-sidebar-menu/advanced-sidebar-menu-gutenberg-blocks/#transform-widgets-to-blocks",variant:"link"}],children:[(0,i.jsx)("span",{className:"dashicons dashicons-arrow-up-alt"})," ",(0,t.__)("This widget may be transformed into a block.","advanced-sidebar-menu")]}):null};var c=r(380),l=r(1669);console.debug("Advanced Sidebar - Loaded"),"1"===c.P.isWidgets&&l(document).on("widget-added",function(){!function(){if(c.P.siteInfo.classicWidgets)return;if("1"===localStorage.getItem(s))return;const t=document.querySelectorAll('[data-js="advanced-sidebar-menu/transform-notice"]');try{t.forEach(t=>{(0,e.H)(t).render((0,i.jsx)(a,{}))})}catch(e){console.error(e)}}()}),void 0!==window.wp.element&&void 0!==window.wp.plugins?r(1304).A():void 0!==window.wp.customize&&window.wp.customize.bind("ready",()=>{r(1304).A()})})()})();
  • advanced-sidebar-menu/trunk/js/dist/manifest.json

    r3391412 r3391853  
    3232  "advanced-sidebar-menu-block-editor.min.js": {
    3333    "src": "advanced-sidebar-menu-block-editor.min.js",
    34     "integrity": "sha384-lVrw+SOJEgxurYoAmq33aK2I200B9dEL2IbPz1o1SOr6vYBDBj+yf4qHkqhgTztE",
    35     "hash": "3ce7b2e99134f3a9538a"
     34    "integrity": "sha384-//QtBRMJ6kGYJTnCYeDK4I29rapgg4T3s8ySvH61eV8PaXsPFblPf+3Ayi1zi7Zq",
     35    "hash": "18f8f8ac885a41f3ca09"
    3636  },
    3737  "advanced-sidebar-menu-block-editor.min.js.LICENSE.txt": {
     
    4242  "advanced-sidebar-menu-block-editor.min.js.br": {
    4343    "src": "advanced-sidebar-menu-block-editor.min.js.br",
    44     "integrity": "sha384-519u1UPhXIPZbeXk2f6Czr+KuqaSSS7PcBwsIO5X/5Uf0m/ilbFdwD2STAOYPl80",
    45     "hash": "f90a064d1af1230cd176"
     44    "integrity": "sha384-ekAS3/qYS3QiGDPEkhUSE7+KXG1MlhV7Yl8vyDtM+wN5aFXHSGJMFlaYNa8EW6Hy",
     45    "hash": "f577a4e0d6196faa084b"
    4646  },
    4747  "advanced-sidebar-menu-debug.min.js": {
  • advanced-sidebar-menu/trunk/readme.txt

    r3391412 r3391853  
    66Tested up to: 6.8.3
    77Requires PHP: 7.4.0
    8 Stable tag: 9.8.1
     8Stable tag: 9.8.2
    99License: GPLv3 or later
    1010License URI: http://www.gnu.org/licenses/gpl-3.0.html
     
    220220== Changelog ==
    221221
     222= 9.8.2 =
     223* Fixed the display of the "Show on single posts" option in category blocks.
     224
    222225= 9.8.1 =
    223226* Introduced 'advanced-sidebar-menu/pages/general-after' slot fill.
Note: See TracChangeset for help on using the changeset viewer.