Gutenberg - Version 12.3.1

Version Description

Download this release

Release Info

Developer gutenbergplugin
Plugin Icon 128x128 Gutenberg
Version 12.3.1
Comparing to
See all releases

Code changes from version 12.3.0 to 12.3.1

build/block-library/blocks/search.php CHANGED
@@ -45,13 +45,13 @@ function gutenberg_render_block_core_search( $attributes ) {
45
  $label_markup = sprintf(
46
  '<label for="%1$s" class="wp-block-search__label screen-reader-text">%2$s</label>',
47
  $input_id,
48
- empty( $attributes['label'] ) ? __( 'Search' ) : $attributes['label']
49
  );
50
  if ( $show_label && ! empty( $attributes['label'] ) ) {
51
  $label_markup = sprintf(
52
  '<label for="%1$s" class="wp-block-search__label">%2$s</label>',
53
  $input_id,
54
- $attributes['label']
55
  );
56
  }
57
 
@@ -60,7 +60,7 @@ function gutenberg_render_block_core_search( $attributes ) {
60
  $input_markup = sprintf(
61
  '<input type="search" id="%s" class="wp-block-search__input %s" name="s" value="%s" placeholder="%s" %s required />',
62
  $input_id,
63
- $input_classes,
64
  esc_attr( get_search_query() ),
65
  esc_attr( $attributes['placeholder'] ),
66
  $inline_styles['input']
@@ -76,7 +76,7 @@ function gutenberg_render_block_core_search( $attributes ) {
76
  }
77
  if ( ! $use_icon_button ) {
78
  if ( ! empty( $attributes['buttonText'] ) ) {
79
- $button_internal_markup = $attributes['buttonText'];
80
  }
81
  } else {
82
  $button_classes .= ' has-icon';
@@ -88,7 +88,7 @@ function gutenberg_render_block_core_search( $attributes ) {
88
 
89
  $button_markup = sprintf(
90
  '<button type="submit" class="wp-block-search__button %s" %s>%s</button>',
91
- $button_classes,
92
  $inline_styles['button'],
93
  $button_internal_markup
94
  );
@@ -97,7 +97,7 @@ function gutenberg_render_block_core_search( $attributes ) {
97
  $field_markup_classes = $is_button_inside ? $border_color_classes : '';
98
  $field_markup = sprintf(
99
  '<div class="wp-block-search__inside-wrapper %s" %s>%s</div>',
100
- $field_markup_classes,
101
  $inline_styles['wrapper'],
102
  $input_markup . $button_markup
103
  );
@@ -295,9 +295,9 @@ function gutenberg_styles_for_block_core_search( $attributes ) {
295
  }
296
 
297
  return array(
298
- 'input' => ! empty( $input_styles ) ? sprintf( ' style="%s"', implode( ' ', $input_styles ) ) : '',
299
- 'button' => ! empty( $button_styles ) ? sprintf( ' style="%s"', implode( ' ', $button_styles ) ) : '',
300
- 'wrapper' => ! empty( $wrapper_styles ) ? sprintf( ' style="%s"', implode( ' ', $wrapper_styles ) ) : '',
301
  );
302
  }
303
 
45
  $label_markup = sprintf(
46
  '<label for="%1$s" class="wp-block-search__label screen-reader-text">%2$s</label>',
47
  $input_id,
48
+ empty( $attributes['label'] ) ? __( 'Search' ) : esc_html( $attributes['label'] )
49
  );
50
  if ( $show_label && ! empty( $attributes['label'] ) ) {
51
  $label_markup = sprintf(
52
  '<label for="%1$s" class="wp-block-search__label">%2$s</label>',
53
  $input_id,
54
+ esc_html( $attributes['label'] )
55
  );
56
  }
57
 
60
  $input_markup = sprintf(
61
  '<input type="search" id="%s" class="wp-block-search__input %s" name="s" value="%s" placeholder="%s" %s required />',
62
  $input_id,
63
+ esc_attr( $input_classes ),
64
  esc_attr( get_search_query() ),
65
  esc_attr( $attributes['placeholder'] ),
66
  $inline_styles['input']
76
  }
77
  if ( ! $use_icon_button ) {
78
  if ( ! empty( $attributes['buttonText'] ) ) {
79
+ $button_internal_markup = esc_html( $attributes['buttonText'] );
80
  }
81
  } else {
82
  $button_classes .= ' has-icon';
88
 
89
  $button_markup = sprintf(
90
  '<button type="submit" class="wp-block-search__button %s" %s>%s</button>',
91
+ esc_attr( $button_classes ),
92
  $inline_styles['button'],
93
  $button_internal_markup
94
  );
97
  $field_markup_classes = $is_button_inside ? $border_color_classes : '';
98
  $field_markup = sprintf(
99
  '<div class="wp-block-search__inside-wrapper %s" %s>%s</div>',
100
+ esc_attr( $field_markup_classes ),
101
  $inline_styles['wrapper'],
102
  $input_markup . $button_markup
103
  );
295
  }
296
 
297
  return array(
298
+ 'input' => ! empty( $input_styles ) ? sprintf( ' style="%s"', safecss_filter_attr( implode( ' ', $input_styles ) ) ) : '',
299
+ 'button' => ! empty( $button_styles ) ? sprintf( ' style="%s"', safecss_filter_attr( implode( ' ', $button_styles ) ) ) : '',
300
+ 'wrapper' => ! empty( $wrapper_styles ) ? sprintf( ' style="%s"', safecss_filter_attr( implode( ' ', $wrapper_styles ) ) ) : '',
301
  );
302
  }
303
 
build/block-library/index.js CHANGED
@@ -37589,8 +37589,8 @@ const SiteLogo = _ref => {
37589
  const currentWidth = width || defaultWidth;
37590
  const ratio = naturalWidth / naturalHeight;
37591
  const currentHeight = currentWidth / ratio;
37592
- const minWidth = naturalWidth < naturalHeight ? MIN_SIZE : MIN_SIZE * ratio;
37593
- const minHeight = naturalHeight < naturalWidth ? MIN_SIZE : MIN_SIZE / ratio; // With the current implementation of ResizableBox, an image needs an
37594
  // explicit pixel value for the max-width. In absence of being able to
37595
  // set the content-width, this max-width is currently dictated by the
37596
  // vanilla editor style. The following variable adds a buffer to this
37589
  const currentWidth = width || defaultWidth;
37590
  const ratio = naturalWidth / naturalHeight;
37591
  const currentHeight = currentWidth / ratio;
37592
+ const minWidth = naturalWidth < naturalHeight ? MIN_SIZE : Math.ceil(MIN_SIZE * ratio);
37593
+ const minHeight = naturalHeight < naturalWidth ? MIN_SIZE : Math.ceil(MIN_SIZE / ratio); // With the current implementation of ResizableBox, an image needs an
37594
  // explicit pixel value for the max-width. In absence of being able to
37595
  // set the content-width, this max-width is currently dictated by the
37596
  // vanilla editor style. The following variable adds a buffer to this
build/block-library/index.min.asset.php CHANGED
@@ -1 +1 @@
1
- <?php return array('dependencies' => array('lodash', 'moment', 'wp-a11y', 'wp-api-fetch', 'wp-autop', 'wp-blob', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-date', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-keycodes', 'wp-notices', 'wp-polyfill', 'wp-primitives', 'wp-reusable-blocks', 'wp-rich-text', 'wp-server-side-render', 'wp-url', 'wp-viewport'), 'version' => '2c88918e227e240cfc96913038ddbade');
1
+ <?php return array('dependencies' => array('lodash', 'moment', 'wp-a11y', 'wp-api-fetch', 'wp-autop', 'wp-blob', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-date', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-keycodes', 'wp-notices', 'wp-polyfill', 'wp-primitives', 'wp-reusable-blocks', 'wp-rich-text', 'wp-server-side-render', 'wp-url', 'wp-viewport'), 'version' => '44af02d42fd022fd54576ad437df4c43');
build/block-library/index.min.js CHANGED
@@ -78,7 +78,7 @@ content:(0,Ue.__)("EXT. XANADU - FAINT DAWN - 1940 (MINIATURE)\nWindow, very sma
78
  (0,Ue.__)("Add quote"),textAlign:"center"}),c&&(0,Fe.createElement)(Oe.RichText,{identifier:"citation",value:l,"aria-label":(0,Ue.__)("Pullquote citation text"),placeholder:// translators: placeholder text used for the citation
79
  (0,Ue.__)("Add citation"),onChange:e=>n({citation:e}),className:"wp-block-pullquote__citation",__unstableMobileNoFocusOnMount:!0,textAlign:"center",__unstableOnSplitAtEnd:()=>r((0,He.createBlock)("core/paragraph"))}))))},save:function(e){let{attributes:t}=e;const{textAlign:n,citation:o,value:r}=t,a=!Oe.RichText.isEmpty(o);return(0,Fe.createElement)("figure",Oe.useBlockProps.save({className:wt()({[`has-text-align-${n}`]:n})}),(0,Fe.createElement)("blockquote",null,(0,Fe.createElement)(Oe.RichText.Content,{value:r,multiline:!0}),a&&(0,Fe.createElement)(Oe.RichText.Content,{tagName:"cite",value:o})))},deprecated:dp};var bp=(0,Fe.createElement)(De.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,Fe.createElement)(De.Path,{d:"M18.1823 11.6392C18.1823 13.0804 17.0139 14.2487 15.5727 14.2487C14.3579 14.2487 13.335 13.4179 13.0453 12.2922L13.0377 12.2625L13.0278 12.2335L12.3985 10.377L12.3942 10.3785C11.8571 8.64997 10.246 7.39405 8.33961 7.39405C5.99509 7.39405 4.09448 9.29465 4.09448 11.6392C4.09448 13.9837 5.99509 15.8843 8.33961 15.8843C8.88499 15.8843 9.40822 15.781 9.88943 15.5923L9.29212 14.0697C8.99812 14.185 8.67729 14.2487 8.33961 14.2487C6.89838 14.2487 5.73003 13.0804 5.73003 11.6392C5.73003 10.1979 6.89838 9.02959 8.33961 9.02959C9.55444 9.02959 10.5773 9.86046 10.867 10.9862L10.8772 10.9836L11.4695 12.7311C11.9515 14.546 13.6048 15.8843 15.5727 15.8843C17.9172 15.8843 19.8178 13.9837 19.8178 11.6392C19.8178 9.29465 17.9172 7.39404 15.5727 7.39404C15.0287 7.39404 14.5066 7.4968 14.0264 7.6847L14.6223 9.20781C14.9158 9.093 15.2358 9.02959 15.5727 9.02959C17.0139 9.02959 18.1823 10.1979 18.1823 11.6392Z"}));function yp(e){let{attributes:{query:t,displayLayout:n},setQuery:o,setDisplayLayout:r}=e;const a=(0,Et.useInstanceId)(yp,"blocks-query-pagination-max-page-input"),l=[{icon:Cs,title:(0,Ue.__)("List view"),onClick:()=>r({type:"list"}),isActive:"list"===(null==n?void 0:n.type)},{icon:xs,title:(0,Ue.__)("Grid view"),onClick:()=>r({type:"flex",columns:(null==n?void 0:n.columns)||3}),isActive:"flex"===(null==n?void 0:n.type)}];return(0,Fe.createElement)(Fe.Fragment,null,!t.inherit&&(0,Fe.createElement)(Ge.ToolbarGroup,null,(0,Fe.createElement)(Ge.Dropdown,{contentClassName:"block-library-query-toolbar__popover",renderToggle:e=>{let{onToggle:t}=e;return(0,Fe.createElement)(Ge.ToolbarButton,{icon:Lo,label:(0,Ue.__)("Display settings"),onClick:t})},renderContent:()=>(0,Fe.createElement)(Fe.Fragment,null,(0,Fe.createElement)(Ge.BaseControl,null,(0,Fe.createElement)(Ge.__experimentalNumberControl,{__unstableInputWidth:"60px",label:(0,Ue.__)("Items per Page"),labelPosition:"edge",min:1,max:100,onChange:e=>{isNaN(e)||e<1||e>100||o({perPage:e})},step:"1",value:t.perPage,isDragEnabled:!1})),(0,Fe.createElement)(Ge.BaseControl,null,(0,Fe.createElement)(Ge.__experimentalNumberControl,{__unstableInputWidth:"60px",label:(0,Ue.__)("Offset"),labelPosition:"edge",min:0,max:100,onChange:e=>{isNaN(e)||e<0||e>100||o({offset:e})},step:"1",value:t.offset,isDragEnabled:!1})),(0,Fe.createElement)(Ge.BaseControl,{id:a,help:(0,Ue.__)("Limit the pages you want to show, even if the query has more results. To show all pages use 0 (zero).")},(0,Fe.createElement)(Ge.__experimentalNumberControl,{id:a,__unstableInputWidth:"60px",label:(0,Ue.__)("Max page to show"),labelPosition:"edge",min:0,onChange:e=>{isNaN(e)||e<0||o({pages:e})},step:"1",value:t.pages,isDragEnabled:!1})))})),(0,Fe.createElement)(Ge.ToolbarGroup,{controls:l}))}const fp=e=>{const t=null==e?void 0:e.reduce(((e,t)=>{const{mapById:n,mapByName:o,names:r}=e;return n[t.id]=t,o[t.name]=t,r.push(t.name),e}),{mapById:{},mapByName:{},names:[]});return{terms:e,...t}},_p=[{label:(0,Ue.__)("Include"),value:""},{label:(0,Ue.__)("Exclude"),value:"exclude"},{label:(0,Ue.__)("Only"),value:"only"}];function kp(e){var t,n;let{attributes:{query:o,displayLayout:r},setQuery:a,setDisplayLayout:l}=e;const{order:i,orderBy:s,author:c,postType:u,sticky:m,inherit:d}=o,[p,g]=(0,Fe.useState)(!0),[h,v]=(0,Fe.useState)(!0),[b,y]=(0,Fe.useState)("post"===u),{postTypesTaxonomiesMap:f,postTypesSelectOptions:_}=(()=>{const{postTypes:e}=(0,Xe.useSelect)((e=>{var t;const{getPostTypes:n}=e(en.store),o=["attachment"];return{postTypes:null===(t=n({per_page:-1}))||void 0===t?void 0:t.filter((e=>{let{viewable:t,slug:n}=e;return t&&!o.includes(n)}))}}),[]);return{postTypesTaxonomiesMap:(0,Fe.useMemo)((()=>{if(null!=e&&e.length)return e.reduce(((e,t)=>(e[t.slug]=t.taxonomies,e)),{})}),[e]),postTypesSelectOptions:(0,Fe.useMemo)((()=>(e||[]).map((e=>{let{labels:t,slug:n}=e;return{label:t.singular_name,value:n}}))),[e])}})(),{authorList:k,categories:w,tags:E}=(0,Xe.useSelect)((e=>{const{getEntityRecords:t}=e(en.store),n={per_page:100},o=t("taxonomy","category",n),r=t("taxonomy","post_tag",n);return{categories:fp(o),tags:fp(r),authorList:t("root","user",{per_page:-1})}}),[]);(0,Fe.useEffect)((()=>{if(!f)return;const e=f[u];g(e.includes("category")),v(e.includes("post_tag"))}),[u,f]),(0,Fe.useEffect)((()=>{y("post"===u)}),[u]);const C=(e,t)=>n=>{const o=Array.from(n.reduce(((t,n)=>{const o=((e,t)=>{var n;const o=(null==t?void 0:t.id)||(null===(n=e[t])||void 0===n?void 0:n.id);if(o)return o;const r=t.toLocaleLowerCase();for(const t in e)if(t.toLocaleLowerCase()===r)return e[t].id})(e.mapByName,n);return o&&t.add(o),t}),new Set));a({[t]:o})},x=C(w,"categoryIds"),S=C(E,"tagIds"),[B,T]=(0,Fe.useState)(o.search),N=(0,Fe.useCallback)((0,nt.debounce)((()=>{o.search!==B&&a({search:B})}),250),[B,o.search]);(0,Fe.useEffect)((()=>(N(),N.cancel)),[B,N]);const P=e=>{const t={category:{queryProp:"categoryIds",terms:w},post_tag:{queryProp:"tagIds",terms:E}}[e];return(o[t.queryProp]||[]).reduce(((e,n)=>{const o=t.terms.mapById[n];return o&&e.push({id:n,value:o.name}),e}),[])};return(0,Fe.createElement)(Oe.InspectorControls,null,(0,Fe.createElement)(Ge.PanelBody,{title:(0,Ue.__)("Settings")},(0,Fe.createElement)(Ge.ToggleControl,{label:(0,Ue.__)("Inherit query from template"),help:(0,Ue.__)("Toggle to use the global query context that is set with the current template, such as an archive or search. Disable to customize the settings independently."),checked:!!d,onChange:e=>a({inherit:!!e})}),!d&&(0,Fe.createElement)(Ge.SelectControl,{options:_,value:u,label:(0,Ue.__)("Post type"),onChange:e=>{const t={postType:e};f[e].includes("category")||(t.categoryIds=[]),f[e].includes("post_tag")||(t.tagIds=[]),"post"!==e&&(t.sticky=""),a(t)},help:(0,Ue.__)('WordPress contains different types of content and they are divided into collections called "Post types". By default there are a few different ones such as blog posts and pages, but plugins could add more.')}),"flex"===(null==r?void 0:r.type)&&(0,Fe.createElement)(Fe.Fragment,null,(0,Fe.createElement)(Ge.RangeControl,{label:(0,Ue.__)("Columns"),value:r.columns,onChange:e=>l({columns:e}),min:2,max:Math.max(6,r.columns)}),r.columns>6&&(0,Fe.createElement)(Ge.Notice,{status:"warning",isDismissible:!1},(0,Ue.__)("This column count exceeds the recommended amount and may cause visual breakage."))),!d&&(0,Fe.createElement)(Ge.QueryControls,{order:i,orderBy:s,onOrderChange:e=>a({order:e}),onOrderByChange:e=>a({orderBy:e})}),b&&(0,Fe.createElement)(Ge.SelectControl,{label:(0,Ue.__)("Sticky posts"),options:_p,value:m,onChange:e=>a({sticky:e}),help:(0,Ue.__)('Blog posts can be "stickied", a feature that places them at the top of the front page of posts, keeping it there until new sticky posts are published.')})),!d&&(0,Fe.createElement)(Ge.PanelBody,{title:(0,Ue.__)("Filters")},p&&(null==w||null===(t=w.terms)||void 0===t?void 0:t.length)>0&&(0,Fe.createElement)(Ge.FormTokenField,{label:(0,Ue.__)("Categories"),value:P("category"),suggestions:w.names,onChange:x}),h&&(null==E||null===(n=E.terms)||void 0===n?void 0:n.length)>0&&(0,Fe.createElement)(Ge.FormTokenField,{label:(0,Ue.__)("Tags"),value:P("post_tag"),suggestions:E.names,onChange:S}),(0,Fe.createElement)(Ge.QueryControls,{selectedAuthorId:c,authorList:k,onAuthorChange:e=>a({author:""!==e?+e:void 0})}),(0,Fe.createElement)(Ge.TextControl,{label:(0,Ue.__)("Keyword"),value:B,onChange:T})))}var Ep=e=>{var t;let{clientId:n,name:o,attributes:r,setAttributes:a}=e;const{blockType:l,defaultVariation:i,scopeVariations:s,allVariations:c}=(0,Xe.useSelect)((e=>{const{getBlockVariations:t,getBlockType:n,getDefaultBlockVariation:r}=e(He.store);return{blockType:n(o),defaultVariation:r(o,"block"),scopeVariations:t(o,"block"),allVariations:t(o)}}),[o]),{replaceInnerBlocks:u}=(0,Xe.useDispatch)(Oe.store),m=(0,Oe.useBlockProps)(),d=(0,Oe.__experimentalGetMatchingVariation)(r,c),p=(null==d?void 0:d.icon)||(null==l||null===(t=l.icon)||void 0===t?void 0:t.src),g=(null==d?void 0:d.title)||(null==l?void 0:l.title);return(0,Fe.createElement)("div",m,(0,Fe.createElement)(Oe.__experimentalBlockVariationPicker,{icon:p,label:g,variations:s,onSelect:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i;e.attributes&&a(e.attributes),e.innerBlocks&&u(n,(0,He.createBlocksFromInnerBlocksTemplate)(e.innerBlocks),!1)}}))};const Cp=[["core/post-template"]];function xp(e){let{attributes:t,setAttributes:n}=e;const{queryId:o,query:r,displayLayout:a,tagName:l="div",layout:i={}}=t,{__unstableMarkNextChangeAsNotPersistent:s}=(0,Xe.useDispatch)(Oe.store),c=(0,Et.useInstanceId)(xp),{themeSupportsLayout:u}=(0,Xe.useSelect)((e=>{var t;const{getSettings:n}=e(Oe.store);return{themeSupportsLayout:null===(t=n())||void 0===t?void 0:t.supportsLayout}}),[]),m=(0,Oe.useSetting)("layout")||{},d=i&&i.inherit?m:i,p=(0,Oe.useBlockProps)(),g=(0,Oe.useInnerBlocksProps)(p,{template:Cp,__experimentalLayout:u?d:void 0}),{postsPerPage:h}=(0,Xe.useSelect)((e=>{const{getSettings:t}=e(Oe.store);return{postsPerPage:+t().postsPerPage||3}}),[]);(0,Fe.useEffect)((()=>{const e={};!r.perPage&&h&&(e.perPage=h),Object.keys(e).length&&(s(),v(e))}),[r.perPage]),(0,Fe.useEffect)((()=>{o||(s(),n({queryId:c}))}),[o,c]);const v=e=>n({query:{...r,...e}}),b=e=>n({displayLayout:{...a,...e}});return(0,Fe.createElement)(Fe.Fragment,null,(0,Fe.createElement)(kp,{attributes:t,setQuery:v,setDisplayLayout:b}),(0,Fe.createElement)(Oe.BlockControls,null,(0,Fe.createElement)(yp,{attributes:t,setQuery:v,setDisplayLayout:b})),(0,Fe.createElement)(Oe.InspectorControls,{__experimentalGroup:"advanced"},(0,Fe.createElement)(Ge.SelectControl,{label:(0,Ue.__)("HTML element"),options:[{label:(0,Ue.__)("Default (<div>)"),value:"div"},{label:"<main>",value:"main"},{label:"<section>",value:"section"},{label:"<aside>",value:"aside"}],value:l,onChange:e=>n({tagName:e})})),(0,Fe.createElement)(l,g))}function Sp(e){const{clientId:t,name:n}=e,o=(0,Oe.useBlockProps)(),{replaceBlock:r,selectBlock:a}=(0,Xe.useDispatch)(Oe.store);return(0,Fe.createElement)("div",o,(0,Fe.createElement)(Oe.__experimentalBlockPatternSetup,{blockName:n,clientId:t,startBlankComponent:(0,Fe.createElement)(Ep,e),onBlockPatternSelect:e=>{const n=e.map((e=>(0,He.cloneBlock)(e))),o=(e=>{const t=[...e];for(;t.length>0;){var n;const e=t.shift();if("core/query"===e.name)return e.clientId;null===(n=e.innerBlocks)||void 0===n||n.forEach((e=>{t.push(e)}))}})(n);r(t,n),o&&a(o)}}))}const Bp=(0,Fe.createElement)(Ge.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48"},(0,Fe.createElement)(Ge.Path,{d:"M41 9H7v3h34V9zm-22 5H7v1h12v-1zM7 26h12v1H7v-1zm34-5H7v3h34v-3zM7 38h12v1H7v-1zm34-5H7v3h34v-3z"})),Tp=(0,Fe.createElement)(Ge.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48"},(0,Fe.createElement)(Ge.Path,{d:"M41 9H7v3h34V9zm-4 5H7v1h30v-1zm4 3H7v1h34v-1zM7 20h30v1H7v-1zm0 12h30v1H7v-1zm34 3H7v1h34v-1zM7 38h30v1H7v-1zm34-11H7v3h34v-3z"})),Np=(0,Fe.createElement)(Ge.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48"},(0,Fe.createElement)(Ge.Path,{d:"M41 9H7v3h34V9zm-22 5H7v1h12v-1zm22 3H7v1h34v-1zM7 20h34v1H7v-1zm0 12h12v1H7v-1zm34 3H7v1h34v-1zM7 38h34v1H7v-1zm34-11H7v3h34v-3z"})),Pp=(0,Fe.createElement)(Ge.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48"},(0,Fe.createElement)(Ge.Path,{d:"M7 9h34v6H7V9zm12 8H7v1h12v-1zm18 3H7v1h30v-1zm0 18H7v1h30v-1zM7 35h12v1H7v-1zm34-8H7v6h34v-6z"})),zp={query:{perPage:3,pages:0,offset:0,postType:"post",categoryIds:[],tagIds:[],order:"desc",orderBy:"date",author:"",search:"",exclude:[],sticky:"",inherit:!1}};var Ip=[{name:"posts-list",title:(0,Ue.__)("Posts List"),description:(0,Ue.__)("Display a list of your most recent posts, excluding sticky posts."),icon:ks,attributes:{query:{perPage:4,pages:1,offset:0,postType:"post",categoryIds:[],tagIds:[],order:"desc",orderBy:"date",author:"",search:"",sticky:"exclude",inherit:!1}},scope:["inserter"]},{name:"title-date",title:(0,Ue.__)("Title & Date"),icon:Bp,attributes:{...zp},innerBlocks:[["core/post-template",{},[["core/post-title"],["core/post-date"]]],["core/query-pagination"]],scope:["block"]},{name:"title-excerpt",title:(0,Ue.__)("Title & Excerpt"),icon:Tp,attributes:{...zp},innerBlocks:[["core/post-template",{},[["core/post-title"],["core/post-excerpt"]]],["core/query-pagination"]],scope:["block"]},{name:"title-date-excerpt",title:(0,Ue.__)("Title, Date, & Excerpt"),icon:Np,attributes:{...zp},innerBlocks:[["core/post-template",{},[["core/post-title"],["core/post-date"],["core/post-excerpt"]]],["core/query-pagination"]],scope:["block"]},{name:"image-date-title",title:(0,Ue.__)("Image, Date, & Title"),icon:Pp,attributes:{...zp},innerBlocks:[["core/post-template",{},[["core/post-featured-image"],["core/post-date"],["core/post-title"]]],["core/query-pagination"]],scope:["block"]}],Mp=[{attributes:{queryId:{type:"number"},query:{type:"object",default:{perPage:null,pages:0,offset:0,postType:"post",categoryIds:[],tagIds:[],order:"desc",orderBy:"date",author:"",search:"",exclude:[],sticky:"",inherit:!0}},layout:{type:"object",default:{type:"list"}}},supports:{html:!1},migrate:e=>({...(0,nt.omit)(e,["layout"]),displayLayout:e.layout}),save:()=>(0,Fe.createElement)(Oe.InnerBlocks.Content,null)}];const Lp=e=>{let{attributes:{query:{postType:t}={}}={}}=e;if(!t)return null;const n=(0,Za.addQueryArgs)("post-new.php",{post_type:t});return(0,Fe.createElement)("div",{className:"wp-block-query__create-new-link"},(0,Fe.createInterpolateElement)((0,Ue.__)("<a>Create a new post</a> for this feed."),{a:(0,Fe.createElement)("a",{href:n})}))};var Rp=(0,Et.createHigherOrderComponent)((e=>t=>{const{name:n,isSelected:o}=t;return"core/query"===n&&o?(0,Fe.createElement)(Fe.Fragment,null,(0,Fe.createElement)(Oe.InspectorControls,null,(0,Fe.createElement)(Lp,t)),(0,Fe.createElement)(e,It({key:"edit"},t))):(0,Fe.createElement)(e,It({key:"edit"},t))}),"withInspectorControls");const Vp={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:2,name:"core/query",title:"Query Loop",category:"theme",description:"An advanced block that allows displaying post types based on different query parameters and visual configurations.",textdomain:"default",attributes:{queryId:{type:"number"},query:{type:"object",default:{perPage:null,pages:0,offset:0,postType:"post",categoryIds:[],tagIds:[],order:"desc",orderBy:"date",author:"",search:"",exclude:[],sticky:"",inherit:!0}},tagName:{type:"string",default:"div"},displayLayout:{type:"object",default:{type:"list"}}},providesContext:{queryId:"queryId",query:"query",displayLayout:"displayLayout"},supports:{align:["wide","full"],html:!1,color:{gradients:!0,link:!0},__experimentalLayout:!0},editorStyle:"wp-block-query-editor"},{name:Ap}=Vp,Hp={icon:bp,edit:e=>{const{clientId:t}=e,n=(0,Xe.useSelect)((e=>!!e(Oe.store).getBlocks(t).length),[t])?xp:Sp;return(0,Fe.createElement)(n,e)},save:function(e){let{attributes:{tagName:t="div"}}=e;const n=Oe.useBlockProps.save(),o=Oe.useInnerBlocksProps.save(n);return(0,Fe.createElement)(t,o)},variations:Ip,deprecated:Mp};function Fp(e){let{value:t,onChange:n}=e;return(0,Fe.createElement)(Ge.__experimentalToggleGroupControl,{label:(0,Ue.__)("Arrow"),value:t,onChange:n,help:(0,Ue.__)("A decorative arrow appended to the next and previous page link."),isBlock:!0},(0,Fe.createElement)(Ge.__experimentalToggleGroupControlOption,{value:"none",label:(0,Ue._x)("None","Arrow option for Query Pagination Next/Previous blocks")}),(0,Fe.createElement)(Ge.__experimentalToggleGroupControlOption,{value:"arrow",label:(0,Ue._x)("Arrow","Arrow option for Query Pagination Next/Previous blocks")}),(0,Fe.createElement)(Ge.__experimentalToggleGroupControlOption,{value:"chevron",label:(0,Ue._x)("Chevron","Arrow option for Query Pagination Next/Previous blocks")}))}(0,di.addFilter)("editor.BlockEdit","core/query",Rp);const Dp=[["core/query-pagination-previous"],["core/query-pagination-numbers"],["core/query-pagination-next"]];var $p=[{save:()=>(0,Fe.createElement)("div",Oe.useBlockProps.save(),(0,Fe.createElement)(Oe.InnerBlocks.Content,null))}];const Gp={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:2,name:"core/query-pagination",title:"Pagination",category:"design",parent:["core/query"],description:"Displays a paginated navigation to next/previous set of posts, when applicable.",textdomain:"default",attributes:{paginationArrow:{type:"string",default:"none"}},usesContext:["queryId","query"],providesContext:{paginationArrow:"paginationArrow"},supports:{align:!0,reusable:!1,html:!1,color:{gradients:!0,link:!0},__experimentalLayout:{allowSwitching:!1,allowInheriting:!1,default:{type:"flex"}}},editorStyle:"wp-block-query-pagination-editor",style:"wp-block-query-pagination"},{name:Up}=Gp,Op={icon:Do,edit:function(e){let{attributes:{paginationArrow:t,layout:n},setAttributes:o,clientId:r,name:a}=e;const l=n||(e=>{const t=(0,He.getBlockSupport)(e,"__experimentalLayout");return null==t?void 0:t.default})(a),i=(0,Xe.useSelect)((e=>{const{getBlocks:t}=e(Oe.store),n=t(r);return null==n?void 0:n.find((e=>["core/query-pagination-next","core/query-pagination-previous"].includes(e.name)))}),[]),s=(0,Oe.useBlockProps)(),c=(0,Oe.useInnerBlocksProps)(s,{template:Dp,allowedBlocks:["core/query-pagination-previous","core/query-pagination-numbers","core/query-pagination-next"],__experimentalLayout:l});return(0,Fe.createElement)(Fe.Fragment,null,i&&(0,Fe.createElement)(Oe.InspectorControls,null,(0,Fe.createElement)(Ge.PanelBody,{title:(0,Ue.__)("Settings")},(0,Fe.createElement)(Fp,{value:t,onChange:e=>{o({paginationArrow:e})}}))),(0,Fe.createElement)("div",c))},save:function(){return(0,Fe.createElement)(Oe.InnerBlocks.Content,null)},deprecated:$p},qp={none:"",arrow:"→",chevron:"»"},Wp={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:2,name:"core/query-pagination-next",title:"Next Page",category:"design",parent:["core/query-pagination"],description:"Displays the next posts page link.",textdomain:"default",attributes:{label:{type:"string"}},usesContext:["queryId","query","paginationArrow"],supports:{reusable:!1,html:!1,color:{gradients:!0,text:!1},typography:{fontSize:!0,lineHeight:!0,__experimentalFontStyle:!0,__experimentalFontWeight:!0,__experimentalLetterSpacing:!0,__experimentalTextTransform:!0,__experimentalDefaultControls:{fontSize:!0}}}},{name:jp}=Wp,Zp={icon:Wo,edit:function(e){let{attributes:{label:t},setAttributes:n,context:{paginationArrow:o}}=e;const r=qp[o];return(0,Fe.createElement)("a",It({href:"#pagination-next-pseudo-link",onClick:e=>e.preventDefault()},(0,Oe.useBlockProps)()),(0,Fe.createElement)(Oe.PlainText,{__experimentalVersion:2,tagName:"span","aria-label":(0,Ue.__)("Next page link"),placeholder:(0,Ue.__)("Next Page"),value:t,onChange:e=>n({label:e})}),r&&(0,Fe.createElement)("span",{className:`wp-block-query-pagination-next-arrow is-arrow-${o}`},r))}},Qp=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"a",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return(0,Fe.createElement)(t,{className:`page-numbers ${n}`},e)},Kp={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:2,name:"core/query-pagination-numbers",title:"Page Numbers",category:"design",parent:["core/query-pagination"],description:"Displays a list of page numbers for pagination",textdomain:"default",usesContext:["queryId","query"],supports:{reusable:!1,html:!1},editorStyle:"query-pagination-numbers-editor"},{name:Jp}=Kp,Yp={icon:Jo,edit:function(){const e=(0,Fe.createElement)(Fe.Fragment,null,Qp(1),Qp(2),Qp(3,"span","current"),Qp(4),Qp(5),Qp("...","span","dots"),Qp(8));return(0,Fe.createElement)("div",(0,Oe.useBlockProps)(),e)}},Xp={none:"",arrow:"←",chevron:"«"},eg={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:2,name:"core/query-pagination-previous",title:"Previous Page",category:"design",parent:["core/query-pagination"],description:"Displays the previous posts page link.",textdomain:"default",attributes:{label:{type:"string"}},usesContext:["queryId","query","paginationArrow"],supports:{reusable:!1,html:!1,color:{gradients:!0,text:!1},typography:{fontSize:!0,lineHeight:!0,__experimentalFontStyle:!0,__experimentalFontWeight:!0,__experimentalLetterSpacing:!0,__experimentalTextTransform:!0,__experimentalDefaultControls:{fontSize:!0}}}},{name:tg}=eg,ng={icon:To,edit:function(e){let{attributes:{label:t},setAttributes:n,context:{paginationArrow:o}}=e;const r=Xp[o];return(0,Fe.createElement)("a",It({href:"#pagination-previous-pseudo-link",onClick:e=>e.preventDefault()},(0,Oe.useBlockProps)()),r&&(0,Fe.createElement)("span",{className:`wp-block-query-pagination-previous-arrow is-arrow-${o}`},r),(0,Fe.createElement)(Oe.PlainText,{__experimentalVersion:2,tagName:"span","aria-label":(0,Ue.__)("Previous page link"),placeholder:(0,Ue.__)("Previous Page"),value:t,onChange:e=>n({label:e})}))}},og=["archive"];var rg=(0,Fe.createElement)(De.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,Fe.createElement)(De.Path,{d:"M6.08 10.103h2.914L9.657 12h1.417L8.23 4H6.846L4 12h1.417l.663-1.897Zm1.463-4.137.994 2.857h-2l1.006-2.857ZM20 16H4v-1.5h16V16Zm-7 4H4v-1.5h9V20Z"}));const ag=[{isDefault:!0,name:"archive-title",title:(0,Ue.__)("Archive Title"),description:(0,Ue.__)("Display the archive title based on the queried object."),icon:rg,attributes:{type:"archive"},scope:["inserter"]}];ag.forEach((e=>{e.isActive||(e.isActive=(e,t)=>e.type===t.type)}));var lg=ag,ig=[{attributes:{type:{type:"string"},textAlign:{type:"string"},level:{type:"number",default:1}},supports:{align:["wide","full"],html:!1,color:{gradients:!0},spacing:{margin:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0}},save:()=>null,migrate:St,isEligible(e){var t;let{style:n}=e;return null==n||null===(t=n.typography)||void 0===t?void 0:t.fontFamily}}];const sg={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:2,name:"core/query-title",title:"Query Title",category:"theme",description:"Display the query title.",textdomain:"default",attributes:{type:{type:"string"},textAlign:{type:"string"},level:{type:"number",default:1}},supports:{align:["wide","full"],html:!1,color:{gradients:!0},spacing:{margin:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontStyle:!0,__experimentalFontWeight:!0,__experimentalLetterSpacing:!0,__experimentalTextTransform:!0,__experimentalDefaultControls:{fontSize:!0,fontAppearance:!0,textTransform:!0}}},editorStyle:"wp-block-query-title-editor"},{name:cg}=sg,ug={edit:function(e){let{attributes:{type:t,level:n,textAlign:o},setAttributes:r}=e;const a=`h${n}`,l=(0,Oe.useBlockProps)({className:wt()({[`has-text-align-${o}`]:o,"wp-block-query-title__placeholder":"archive"===t})});if(!og.includes(t))return(0,Fe.createElement)("div",l,(0,Fe.createElement)(Oe.Warning,null,(0,Ue.__)("Provided type is not supported.")));let i;return"archive"===t&&(i=(0,Fe.createElement)(a,l,(0,Ue.__)("Archive title"))),(0,Fe.createElement)(Fe.Fragment,null,(0,Fe.createElement)(Oe.BlockControls,{group:"block"},(0,Fe.createElement)(Vi,{selectedLevel:n,onChange:e=>r({level:e})}),(0,Fe.createElement)(Oe.AlignmentControl,{value:o,onChange:e=>{r({textAlign:e})}})),i)},variations:lg,deprecated:ig};var mg=(0,Fe.createElement)(De.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,Fe.createElement)(De.Path,{d:"M13 6v6h5.2v4c0 .8-.2 1.4-.5 1.7-.6.6-1.6.6-2.5.5h-.3v1.5h.5c1 0 2.3-.1 3.3-1 .6-.6 1-1.6 1-2.8V6H13zm-9 6h5.2v4c0 .8-.2 1.4-.5 1.7-.6.6-1.6.6-2.5.5h-.3v1.5h.5c1 0 2.3-.1 3.3-1 .6-.6 1-1.6 1-2.8V6H4v6z"}));const dg={value:{type:"string",source:"html",selector:"blockquote",multiline:"p",default:""},citation:{type:"string",source:"html",selector:"cite",default:""},align:{type:"string"}};var pg=[{attributes:dg,save(e){let{attributes:t}=e;const{align:n,value:o,citation:r}=t;return(0,Fe.createElement)("blockquote",{style:{textAlign:n||null}},(0,Fe.createElement)(Oe.RichText.Content,{multiline:!0,value:o}),!Oe.RichText.isEmpty(r)&&(0,Fe.createElement)(Oe.RichText.Content,{tagName:"cite",value:r}))}},{attributes:{...dg,style:{type:"number",default:1}},migrate:e=>2===e.style?{...(0,nt.omit)(e,["style"]),className:e.className?e.className+" is-style-large":"is-style-large"}:e,save(e){let{attributes:t}=e;const{align:n,value:o,citation:r,style:a}=t;return(0,Fe.createElement)("blockquote",{className:2===a?"is-large":"",style:{textAlign:n||null}},(0,Fe.createElement)(Oe.RichText.Content,{multiline:!0,value:o}),!Oe.RichText.isEmpty(r)&&(0,Fe.createElement)(Oe.RichText.Content,{tagName:"cite",value:r}))}},{attributes:{...dg,citation:{type:"string",source:"html",selector:"footer",default:""},style:{type:"number",default:1}},migrate:e=>isNaN(parseInt(e.style))?e:{...(0,nt.omit)(e,["style"])},save(e){let{attributes:t}=e;const{align:n,value:o,citation:r,style:a}=t;return(0,Fe.createElement)("blockquote",{className:`blocks-quote-style-${a}`,style:{textAlign:n||null}},(0,Fe.createElement)(Oe.RichText.Content,{multiline:!0,value:o}),!Oe.RichText.isEmpty(r)&&(0,Fe.createElement)(Oe.RichText.Content,{tagName:"footer",value:r}))}}];const gg="web"===Fe.Platform.OS;var hg={from:[{type:"block",isMultiBlock:!0,blocks:["core/paragraph"],transform:e=>(0,He.createBlock)("core/quote",{value:(0,Ot.toHTMLString)({value:(0,Ot.join)(e.map((e=>{let{content:t}=e;return(0,Ot.create)({html:t})})),"\u2028"),multilineTag:"p"}),anchor:e.anchor})},{type:"block",blocks:["core/heading"],transform:e=>{let{content:t,anchor:n}=e;return(0,He.createBlock)("core/quote",{value:`<p>${t}</p>`,anchor:n})}},{type:"block",blocks:["core/pullquote"],transform:e=>{let{value:t,citation:n,anchor:o}=e;return(0,He.createBlock)("core/quote",{value:t,citation:n,anchor:o})}},{type:"prefix",prefix:">",transform:e=>(0,He.createBlock)("core/quote",{value:`<p>${e}</p>`})},{type:"raw",isMatch:e=>{const t=(()=>{let e=!1;return t=>"P"===t.nodeName||(e||"CITE"!==t.nodeName?void 0:(e=!0,!0))})();return"BLOCKQUOTE"===e.nodeName&&Array.from(e.childNodes).every(t)},schema:e=>{let{phrasingContentSchema:t}=e;return{blockquote:{children:{p:{children:t},cite:{children:t}}}}}}],to:[{type:"block",blocks:["core/paragraph"],transform:e=>{let{value:t,citation:n}=e;const o=[];return t&&"<p></p>"!==t&&o.push(...(0,Ot.split)((0,Ot.create)({html:t,multilineTag:"p"}),"\u2028").map((e=>(0,He.createBlock)("core/paragraph",{content:(0,Ot.toHTMLString)({value:e})})))),n&&"<p></p>"!==n&&o.push((0,He.createBlock)("core/paragraph",{content:n})),0===o.length?(0,He.createBlock)("core/paragraph",{content:""}):o}},{type:"block",blocks:["core/heading"],transform:e=>{let{value:t,citation:n,...o}=e;if("<p></p>"===t)return(0,He.createBlock)("core/heading",{content:n});const r=(0,Ot.split)((0,Ot.create)({html:t,multilineTag:"p"}),"\u2028"),a=(0,He.createBlock)("core/heading",{content:(0,Ot.toHTMLString)({value:r[0]})});if(!n&&1===r.length)return a;const l=r.slice(1);return[a,(0,He.createBlock)("core/quote",{...o,citation:n,value:(0,Ot.toHTMLString)({value:l.length?(0,Ot.join)(r.slice(1),"\u2028"):(0,Ot.create)(),multilineTag:"p"})})]}},{type:"block",blocks:["core/pullquote"],transform:e=>{let{value:t,citation:n,anchor:o}=e;return(0,He.createBlock)("core/pullquote",{value:t,citation:n,anchor:o})}}]};const vg={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:2,name:"core/quote",title:"Quote",category:"text",description:'Give quoted text visual emphasis. "In quoting others, we cite ourselves." — Julio Cortázar',keywords:["blockquote","cite"],textdomain:"default",attributes:{value:{type:"string",source:"html",selector:"blockquote",multiline:"p",default:"",__experimentalRole:"content"},citation:{type:"string",source:"html",selector:"cite",default:"",__experimentalRole:"content"},align:{type:"string"}},supports:{anchor:!0,__experimentalSlashInserter:!0,typography:{fontSize:!0,lineHeight:!0,__experimentalFontStyle:!0,__experimentalFontWeight:!0,__experimentalLetterSpacing:!0,__experimentalTextTransform:!0,__experimentalDefaultControls:{fontSize:!0,fontAppearance:!0}}},styles:[{name:"default",label:"Default",isDefault:!0},{name:"plain",label:"Plain"},{name:"large",label:"Large"}],editorStyle:"wp-block-quote-editor",style:"wp-block-quote"},{name:bg}=vg,yg={icon:mg,example:{attributes:{value:"<p>"+(0,Ue.__)("In quoting others, we cite ourselves.")+"</p>",citation:"Julio Cortázar",className:"is-style-large"}},transforms:hg,edit:function(e){let{attributes:t,setAttributes:n,isSelected:o,mergeBlocks:r,onReplace:a,className:l,insertBlocksAfter:i,style:s}=e;const{align:c,value:u,citation:m}=t,d=(0,Oe.useBlockProps)({className:wt()(l,{[`has-text-align-${c}`]:c}),style:s});return(0,Fe.createElement)(Fe.Fragment,null,(0,Fe.createElement)(Oe.BlockControls,{group:"block"},(0,Fe.createElement)(Oe.AlignmentControl,{value:c,onChange:e=>{n({align:e})}})),(0,Fe.createElement)(Ge.BlockQuotation,d,(0,Fe.createElement)(Oe.RichText,{identifier:"value",multiline:!0,value:u,onChange:e=>n({value:e}),onMerge:r,onRemove:e=>{const t=!m||0===m.length;!e&&t&&a([])},"aria-label":(0,Ue.__)("Quote text"),placeholder:// translators: placeholder text used for the quote
80
  (0,Ue.__)("Add quote"),onReplace:a,onSplit:e=>(0,He.createBlock)("core/quote",{...t,value:e}),__unstableOnSplitMiddle:()=>(0,He.createBlock)("core/paragraph"),textAlign:c}),(!Oe.RichText.isEmpty(m)||o)&&(0,Fe.createElement)(Oe.RichText,{identifier:"citation",tagName:gg?"cite":void 0,style:{display:"block"},value:m,onChange:e=>n({citation:e}),__unstableMobileNoFocusOnMount:!0,"aria-label":(0,Ue.__)("Quote citation text"),placeholder:// translators: placeholder text used for the citation
81
- (0,Ue.__)("Add citation"),className:"wp-block-quote__citation",textAlign:c,__unstableOnSplitAtEnd:()=>i((0,He.createBlock)("core/paragraph"))})))},save:function(e){let{attributes:t}=e;const{align:n,value:o,citation:r}=t,a=wt()({[`has-text-align-${n}`]:n});return(0,Fe.createElement)("blockquote",Oe.useBlockProps.save({className:a}),(0,Fe.createElement)(Oe.RichText.Content,{multiline:!0,value:o}),!Oe.RichText.isEmpty(r)&&(0,Fe.createElement)(Oe.RichText.Content,{tagName:"cite",value:r}))},merge(e,t){let{value:n,citation:o}=t;return o||(o=e.citation),n&&"<p></p>"!==n?{...e,value:e.value+n,citation:o}:{...e,citation:o}},deprecated:pg};var fg=(0,Fe.createElement)(De.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,Fe.createElement)(De.Path,{d:"M21.3 10.8l-5.6-5.6c-.7-.7-1.8-.7-2.5 0l-5.6 5.6c-.7.7-.7 1.8 0 2.5l5.6 5.6c.3.3.8.5 1.2.5s.9-.2 1.2-.5l5.6-5.6c.8-.7.8-1.9.1-2.5zm-1 1.4l-5.6 5.6c-.1.1-.3.1-.4 0l-5.6-5.6c-.1-.1-.1-.3 0-.4l5.6-5.6s.1-.1.2-.1.1 0 .2.1l5.6 5.6c.1.1.1.3 0 .4zm-16.6-.4L10 5.5l-1-1-6.3 6.3c-.7.7-.7 1.8 0 2.5L9 19.5l1.1-1.1-6.3-6.3c-.2 0-.2-.2-.1-.3z"})),_g=window.wp.reusableBlocks,kg=(0,Fe.createElement)(De.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,Fe.createElement)(De.Path,{d:"M18 4h-7c-1.1 0-2 .9-2 2v7c0 1.1.9 2 2 2h7c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm.5 9c0 .3-.2.5-.5.5h-7c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h7c.3 0 .5.2.5.5v7zm-5 5c0 .3-.2.5-.5.5H6c-.3 0-.5-.2-.5-.5v-7c0-.3.2-.5.5-.5h1V9H6c-1.1 0-2 .9-2 2v7c0 1.1.9 2 2 2h7c1.1 0 2-.9 2-2v-1h-1.5v1z"}));const wg={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:2,name:"core/block",title:"Reusable block",category:"reusable",description:"Create and save content to reuse across your site. Update the block, and the changes apply everywhere it’s used.",textdomain:"default",attributes:{ref:{type:"number"}},supports:{customClassName:!1,html:!1,inserter:!1},editorStyle:"wp-block-editor"},{name:Eg}=wg,Cg={edit:function(e){let{attributes:{ref:t},clientId:n}=e;const[o,r]=(0,Oe.__experimentalUseNoRecursiveRenders)(t),{isMissing:a,hasResolved:l}=(0,Xe.useSelect)((e=>{const n=e(en.store).getEntityRecord("postType","wp_block",t),o=e(en.store).hasFinishedResolution("getEntityRecord",["postType","wp_block",t]);return{hasResolved:o,isMissing:o&&!n}}),[t,n]),{__experimentalConvertBlockToStatic:i}=(0,Xe.useDispatch)(_g.store),[s,c,u]=(0,en.useEntityBlockEditor)("postType","wp_block",{id:t}),[m,d]=(0,en.useEntityProp)("postType","wp_block","title",t),p=(0,Oe.useBlockProps)(),g=(0,Oe.useInnerBlocksProps)({},{value:s,onInput:c,onChange:u,renderAppender:null!=s&&s.length?void 0:Oe.InnerBlocks.ButtonBlockAppender});return o?(0,Fe.createElement)("div",p,(0,Fe.createElement)(Oe.Warning,null,(0,Ue.__)("Block cannot be rendered inside itself."))):a?(0,Fe.createElement)("div",p,(0,Fe.createElement)(Oe.Warning,null,(0,Ue.__)("Block has been deleted or is unavailable."))):l?(0,Fe.createElement)(r,null,(0,Fe.createElement)("div",p,(0,Fe.createElement)(Oe.BlockControls,null,(0,Fe.createElement)(Ge.ToolbarGroup,null,(0,Fe.createElement)(Ge.ToolbarButton,{onClick:()=>i(n),label:(0,Ue.__)("Convert to regular blocks"),icon:kg,showTooltip:!0}))),(0,Fe.createElement)(Oe.InspectorControls,null,(0,Fe.createElement)(Ge.PanelBody,null,(0,Fe.createElement)(Ge.TextControl,{label:(0,Ue.__)("Name"),value:m,onChange:d}))),(0,Fe.createElement)(Oe.__experimentalBlockContentOverlay,{clientId:n,wrapperProps:g,className:"block-library-block__reusable-block-container"}))):(0,Fe.createElement)("div",p,(0,Fe.createElement)(Ge.Placeholder,null,(0,Fe.createElement)(Ge.Spinner,null)))},icon:fg};var xg=(0,Fe.createElement)(De.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,Fe.createElement)(De.Path,{d:"M5 10.2h-.8v1.5H5c1.9 0 3.8.8 5.1 2.1 1.4 1.4 2.1 3.2 2.1 5.1v.8h1.5V19c0-2.3-.9-4.5-2.6-6.2-1.6-1.6-3.8-2.6-6.1-2.6zm10.4-1.6C12.6 5.8 8.9 4.2 5 4.2h-.8v1.5H5c3.5 0 6.9 1.4 9.4 3.9s3.9 5.8 3.9 9.4v.8h1.5V19c0-3.9-1.6-7.6-4.4-10.4zM4 20h3v-3H4v3z"}));const Sg={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:2,name:"core/rss",title:"RSS",category:"widgets",description:"Display entries from any RSS or Atom feed.",keywords:["atom","feed"],textdomain:"default",attributes:{columns:{type:"number",default:2},blockLayout:{type:"string",default:"list"},feedURL:{type:"string",default:""},itemsToShow:{type:"number",default:5},displayExcerpt:{type:"boolean",default:!1},displayAuthor:{type:"boolean",default:!1},displayDate:{type:"boolean",default:!1},excerptLength:{type:"number",default:55}},supports:{align:!0,html:!1},editorStyle:"wp-block-rss-editor",style:"wp-block-rss"},{name:Bg}=Sg,Tg={icon:xg,example:{attributes:{feedURL:"https://wordpress.org"}},edit:function(e){let{attributes:t,setAttributes:n}=e;const[o,r]=(0,Fe.useState)(!t.feedURL),{blockLayout:a,columns:l,displayAuthor:i,displayDate:s,displayExcerpt:c,excerptLength:u,feedURL:m,itemsToShow:d}=t;function p(e){return()=>{const o=t[e];n({[e]:!o})}}const g=(0,Oe.useBlockProps)();if(o)return(0,Fe.createElement)("div",g,(0,Fe.createElement)(Ge.Placeholder,{icon:xg,label:"RSS"},(0,Fe.createElement)("form",{onSubmit:function(e){e.preventDefault(),m&&r(!1)},className:"wp-block-rss__placeholder-form"},(0,Fe.createElement)(Ge.TextControl,{placeholder:(0,Ue.__)("Enter URL here…"),value:m,onChange:e=>n({feedURL:e}),className:"wp-block-rss__placeholder-input"}),(0,Fe.createElement)(Ge.Button,{variant:"primary",type:"submit"},(0,Ue.__)("Use URL")))));const h=[{icon:na,title:(0,Ue.__)("Edit RSS URL"),onClick:()=>r(!0)},{icon:Cs,title:(0,Ue.__)("List view"),onClick:()=>n({blockLayout:"list"}),isActive:"list"===a},{icon:xs,title:(0,Ue.__)("Grid view"),onClick:()=>n({blockLayout:"grid"}),isActive:"grid"===a}];return(0,Fe.createElement)(Fe.Fragment,null,(0,Fe.createElement)(Oe.BlockControls,null,(0,Fe.createElement)(Ge.ToolbarGroup,{controls:h})),(0,Fe.createElement)(Oe.InspectorControls,null,(0,Fe.createElement)(Ge.PanelBody,{title:(0,Ue.__)("RSS settings")},(0,Fe.createElement)(Ge.RangeControl,{label:(0,Ue.__)("Number of items"),value:d,onChange:e=>n({itemsToShow:e}),min:1,max:10,required:!0}),(0,Fe.createElement)(Ge.ToggleControl,{label:(0,Ue.__)("Display author"),checked:i,onChange:p("displayAuthor")}),(0,Fe.createElement)(Ge.ToggleControl,{label:(0,Ue.__)("Display date"),checked:s,onChange:p("displayDate")}),(0,Fe.createElement)(Ge.ToggleControl,{label:(0,Ue.__)("Display excerpt"),checked:c,onChange:p("displayExcerpt")}),c&&(0,Fe.createElement)(Ge.RangeControl,{label:(0,Ue.__)("Max number of words in excerpt"),value:u,onChange:e=>n({excerptLength:e}),min:10,max:100,required:!0}),"grid"===a&&(0,Fe.createElement)(Ge.RangeControl,{label:(0,Ue.__)("Columns"),value:l,onChange:e=>n({columns:e}),min:2,max:6,required:!0}))),(0,Fe.createElement)("div",g,(0,Fe.createElement)(Ge.Disabled,null,(0,Fe.createElement)(We(),{block:"core/rss",attributes:t}))))}},Ng=(0,Fe.createElement)(Ge.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,Fe.createElement)(Ge.Rect,{x:"7",y:"10",width:"10",height:"4",rx:"1",fill:"currentColor"})),Pg=(0,Fe.createElement)(Ge.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,Fe.createElement)(Ge.Rect,{x:"4.75",y:"15.25",width:"6.5",height:"9.5",transform:"rotate(-90 4.75 15.25)",stroke:"currentColor",strokeWidth:"1.5",fill:"none"}),(0,Fe.createElement)(Ge.Rect,{x:"16",y:"10",width:"4",height:"4",rx:"1",fill:"currentColor"})),zg=(0,Fe.createElement)(Ge.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,Fe.createElement)(Ge.Rect,{x:"4.75",y:"15.25",width:"6.5",height:"14.5",transform:"rotate(-90 4.75 15.25)",stroke:"currentColor",strokeWidth:"1.5",fill:"none"}),(0,Fe.createElement)(Ge.Rect,{x:"14",y:"10",width:"4",height:"4",rx:"1",fill:"currentColor"})),Ig=(0,Fe.createElement)(Ge.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,Fe.createElement)(Ge.Rect,{x:"4.75",y:"15.25",width:"6.5",height:"14.5",transform:"rotate(-90 4.75 15.25)",stroke:"currentColor",fill:"none",strokeWidth:"1.5"})),Mg=(0,Fe.createElement)(Ge.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,Fe.createElement)(Ge.Rect,{x:"4.75",y:"7.75",width:"14.5",height:"8.5",rx:"1.25",stroke:"currentColor",fill:"none",strokeWidth:"1.5"}),(0,Fe.createElement)(Ge.Rect,{x:"8",y:"11",width:"8",height:"2",fill:"currentColor"})),Lg=(0,Fe.createElement)(Ge.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,Fe.createElement)(Ge.Rect,{x:"4.75",y:"17.25",width:"5.5",height:"14.5",transform:"rotate(-90 4.75 17.25)",stroke:"currentColor",fill:"none",strokeWidth:"1.5"}),(0,Fe.createElement)(Ge.Rect,{x:"4",y:"7",width:"10",height:"2",fill:"currentColor"}));var Rg=[{name:"default",isDefault:!0,attributes:{buttonText:(0,Ue.__)("Search"),label:(0,Ue.__)("Search")}}];const Vg={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:2,name:"core/search",title:"Search",category:"widgets",description:"Help visitors find your content.",keywords:["find"],textdomain:"default",attributes:{label:{type:"string",__experimentalRole:"content"},showLabel:{type:"boolean",default:!0},placeholder:{type:"string",default:"",__experimentalRole:"content"},width:{type:"number"},widthUnit:{type:"string"},buttonText:{type:"string",__experimentalRole:"content"},buttonPosition:{type:"string",default:"button-outside"},buttonUseIcon:{type:"boolean",default:!1}},supports:{align:["left","center","right"],color:{gradients:!0,__experimentalSkipSerialization:!0},__experimentalBorder:{color:!0,radius:!0,width:!0,__experimentalSkipSerialization:!0,__experimentalDefaultControls:{color:!0,radius:!0,width:!0}},html:!1},editorStyle:"wp-block-search-editor",style:"wp-block-search"},{name:Ag}=Vg,Hg={icon:Ac,example:{},variations:Rg,edit:function(e){var t,n,o;let{className:r,attributes:a,setAttributes:l,toggleSelection:i,isSelected:s,clientId:c}=e;const{label:u,showLabel:m,placeholder:d,width:p,widthUnit:g,align:h,buttonText:v,buttonPosition:b,buttonUseIcon:y,style:f}=a,_=(0,Xe.useSelect)((e=>{var t;const{getBlockParentsByBlockName:n,wasBlockJustInserted:o}=e(Oe.store);return!(null===(t=n(c,"core/navigation"))||void 0===t||!t.length)&&o(c)}),[c]),{__unstableMarkNextChangeAsNotPersistent:k}=(0,Xe.useDispatch)(Oe.store);(0,Fe.useEffect)((()=>{_&&(k(),l({showLabel:!1,buttonUseIcon:!0,buttonPosition:"button-inside"}))}),[_]);const w=null==f||null===(t=f.border)||void 0===t?void 0:t.radius,E=null==f||null===(n=f.border)||void 0===n?void 0:n.color,C=null==f||null===(o=f.border)||void 0===o?void 0:o.width,x=(0,Oe.__experimentalUseBorderProps)(a);"number"==typeof w&&(x.style.borderRadius=`${w}px`);const S=(0,Oe.__experimentalUseColorProps)(a),B=`wp-block-search__width-${(0,Et.useInstanceId)(Oe.__experimentalUnitControl)}`,T="button-inside"===b,N="button-outside"===b,P="no-button"===b,z="button-only"===b,I=(0,Ge.__experimentalUseCustomUnits)({availableUnits:["%","px"],defaultValues:{"%":50,px:350}}),M=[{role:"menuitemradio",title:(0,Ue.__)("Button outside"),isActive:"button-outside"===b,icon:Pg,onClick:()=>{l({buttonPosition:"button-outside"})}},{role:"menuitemradio",title:(0,Ue.__)("Button inside"),isActive:"button-inside"===b,icon:zg,onClick:()=>{l({buttonPosition:"button-inside"})}},{role:"menuitemradio",title:(0,Ue.__)("No button"),isActive:"no-button"===b,icon:Ig,onClick:()=>{l({buttonPosition:"no-button"})}}],L=()=>{const e=wt()("wp-block-search__input",T?void 0:x.className),t=T?{borderRadius:w}:x.style;return(0,Fe.createElement)("input",{className:e,style:t,"aria-label":(0,Ue.__)("Optional placeholder text"),placeholder:d?void 0:(0,Ue.__)("Optional placeholder…"),value:d,onChange:e=>l({placeholder:e.target.value})})},R=()=>{const e=wt()("wp-block-search__button",S.className,T?void 0:x.className,y?"has-icon":void 0),t={...S.style,...T?{borderRadius:w}:x.style};return(0,Fe.createElement)(Fe.Fragment,null,y&&(0,Fe.createElement)("button",{type:"button",className:e,style:t},(0,Fe.createElement)(Ic,{icon:Ac})),!y&&(0,Fe.createElement)(Oe.RichText,{className:e,style:t,"aria-label":(0,Ue.__)("Button text"),placeholder:(0,Ue.__)("Add button text…"),withoutInteractiveFormatting:!0,value:v,onChange:e=>l({buttonText:e})}))},V=(0,Fe.createElement)(Fe.Fragment,null,(0,Fe.createElement)(Oe.BlockControls,null,(0,Fe.createElement)(Ge.ToolbarGroup,null,(0,Fe.createElement)(Ge.ToolbarButton,{title:(0,Ue.__)("Toggle search label"),icon:Lg,onClick:()=>{l({showLabel:!m})},className:m?"is-pressed":void 0}),(0,Fe.createElement)(Ge.ToolbarDropdownMenu,{icon:(()=>{switch(b){case"button-inside":return zg;case"button-outside":return Pg;case"no-button":return Ig;case"button-only":return Ng}})(),label:(0,Ue.__)("Change button position"),controls:M}),!P&&(0,Fe.createElement)(Ge.ToolbarButton,{title:(0,Ue.__)("Use button with icon"),icon:Mg,onClick:()=>{l({buttonUseIcon:!y})},className:y?"is-pressed":void 0}))),(0,Fe.createElement)(Oe.InspectorControls,null,(0,Fe.createElement)(Ge.PanelBody,{title:(0,Ue.__)("Display Settings")},(0,Fe.createElement)(Ge.BaseControl,{label:(0,Ue.__)("Width"),id:B},(0,Fe.createElement)(Oe.__experimentalUnitControl,{id:B,min:"220px",onChange:e=>{const t="%"===g&&parseInt(e,10)>100?100:e;l({width:parseInt(t,10)})},onUnitChange:e=>{l({width:"%"===e?50:350,widthUnit:e})},style:{maxWidth:80},value:`${p}${g}`,unit:g,units:I}),(0,Fe.createElement)(Ge.ButtonGroup,{className:"wp-block-search__components-button-group","aria-label":(0,Ue.__)("Percentage Width")},[25,50,75,100].map((e=>(0,Fe.createElement)(Ge.Button,{key:e,isSmall:!0,variant:`${e}%`==`${p}${g}`?0:void 0,onClick:()=>l({width:e,widthUnit:"%"})},e,"%")))))))),A=e=>e?`calc(${e} + 4px)`:void 0,H=(0,Oe.useBlockProps)({className:wt()(r,T?"wp-block-search__button-inside":void 0,N?"wp-block-search__button-outside":void 0,P?"wp-block-search__no-button":void 0,z?"wp-block-search__button-only":void 0,y||P?void 0:"wp-block-search__text-button",y&&!P?"wp-block-search__icon-button":void 0)});return(0,Fe.createElement)("div",H,V,m&&(0,Fe.createElement)(Oe.RichText,{className:"wp-block-search__label","aria-label":(0,Ue.__)("Label text"),placeholder:(0,Ue.__)("Add label…"),withoutInteractiveFormatting:!0,value:u,onChange:e=>l({label:e})}),(0,Fe.createElement)(Ge.ResizableBox,{size:{width:`${p}${g}`},className:wt()("wp-block-search__inside-wrapper",T?x.className:void 0),style:(()=>{const e={borderColor:E,borderWidth:T?C:void 0},t=0!==parseInt(w,10);if(T&&t){if("object"==typeof w){const{topLeft:t,topRight:n,bottomLeft:o,bottomRight:r}=w;return{borderTopLeftRadius:A(t),borderTopRightRadius:A(n),borderBottomLeftRadius:A(o),borderBottomRightRadius:A(r),...e}}const t=Number.isInteger(w)?`${w}px`:w;e.borderRadius=`calc(${t} + 4px)`}return e})(),minWidth:220,enable:z?{}:{right:"right"!==h,left:"right"===h},onResizeStart:(e,t,n)=>{l({width:parseInt(n.offsetWidth,10),widthUnit:"px"}),i(!1)},onResizeStop:(e,t,n,o)=>{l({width:parseInt(p+o.width,10)}),i(!0)},showHandle:s},(T||N)&&(0,Fe.createElement)(Fe.Fragment,null,L(),R()),z&&R(),P&&L()))}};var Fg=(0,Fe.createElement)(De.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,Fe.createElement)(De.Path,{d:"M20.2 7v4H3.8V7H2.2v9h1.6v-3.5h16.4V16h1.6V7z"})),Dg=e=>{let{color:t,setColor:n}=e;return(0,Fe.createElement)(Oe.InspectorControls,null,(0,Fe.createElement)(Oe.PanelColorSettings,{__experimentalHasMultipleOrigins:!0,__experimentalIsRenderedInSidebar:!0,title:(0,Ue.__)("Color"),colorSettings:[{value:t.color,onChange:n,label:(0,Ue.__)("Color")}]}))},$g=(0,Oe.withColors)("color",{textColor:"color"})((function(e){let{color:t,setColor:n,className:o}=e;return(0,Fe.createElement)(Fe.Fragment,null,(0,Fe.createElement)(Ge.HorizontalRule,(0,Oe.useBlockProps)({className:wt()(o,{"has-background":t.color,[t.class]:t.class}),style:{backgroundColor:t.color,color:t.color}})),(0,Fe.createElement)(Dg,{color:t,setColor:n}))})),Gg={from:[{type:"enter",regExp:/^-{3,}$/,transform:()=>(0,He.createBlock)("core/separator")},{type:"raw",selector:"hr",schema:{hr:{}}}]};const Ug={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:2,name:"core/separator",title:"Separator",category:"design",description:"Create a break between ideas or sections with a horizontal separator.",keywords:["horizontal-line","hr","divider"],textdomain:"default",attributes:{color:{type:"string"},customColor:{type:"string"}},supports:{anchor:!0,align:["center","wide","full"]},styles:[{name:"default",label:"Default",isDefault:!0},{name:"wide",label:"Wide Line"},{name:"dots",label:"Dots"}],editorStyle:"wp-block-separator-editor",style:"wp-block-separator"},{name:Og}=Ug,qg={icon:Fg,example:{attributes:{customColor:"#065174",className:"is-style-wide"}},transforms:Gg,edit:$g,save:function(e){let{attributes:t}=e;const{color:n,customColor:o}=t,r=(0,Oe.getColorClassName)("background-color",n),a=(0,Oe.getColorClassName)("color",n),l=wt()({"has-text-color has-background":n||o,[r]:r,[a]:a}),i={backgroundColor:r?void 0:o,color:a?void 0:o};return(0,Fe.createElement)("hr",Oe.useBlockProps.save({className:l,style:i}))}};var Wg=(0,Fe.createElement)(De.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,Fe.createElement)(De.Path,{d:"M16 4.2v1.5h2.5v12.5H16v1.5h4V4.2h-4zM4.2 19.8h4v-1.5H5.8V5.8h2.5V4.2h-4l-.1 15.6zm5.1-3.1l1.4.6 4-10-1.4-.6-4 10z"})),jg=window.wp.autop,Zg={from:[{type:"shortcode",tag:"[a-z][a-z0-9_-]*",attributes:{text:{type:"string",shortcode:(e,t)=>{let{content:n}=t;return(0,jg.removep)((0,jg.autop)(n))}}},priority:20}]};const Qg={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:2,name:"core/shortcode",title:"Shortcode",category:"widgets",description:"Insert additional custom elements with a WordPress shortcode.",textdomain:"default",attributes:{text:{type:"string",source:"html"}},supports:{className:!1,customClassName:!1,html:!1},editorStyle:"wp-block-shortcode-editor"},{name:Kg}=Qg,Jg={icon:Wg,transforms:Zg,edit:function e(t){let{attributes:n,setAttributes:o}=t;const r=`blocks-shortcode-input-${(0,Et.useInstanceId)(e)}`;return(0,Fe.createElement)("div",(0,Oe.useBlockProps)({className:"components-placeholder"}),(0,Fe.createElement)("label",{htmlFor:r,className:"components-placeholder__label"},(0,Fe.createElement)(Ic,{icon:Wg}),(0,Ue.__)("Shortcode")),(0,Fe.createElement)(Oe.PlainText,{className:"blocks-shortcode__textarea",id:r,value:n.text,"aria-label":(0,Ue.__)("Shortcode text"),placeholder:(0,Ue.__)("Write shortcode here…"),onChange:e=>o({text:e})}))},save:function(e){let{attributes:t}=e;return(0,Fe.createElement)(Fe.RawHTML,null,t.text)}};var Yg=(0,Fe.createElement)(De.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,Fe.createElement)(De.Path,{d:"M12 3c-5 0-9 4-9 9s4 9 9 9 9-4 9-9-4-9-9-9zm0 1.5c4.1 0 7.5 3.4 7.5 7.5v.1c-1.4-.8-3.3-1.7-3.4-1.8-.2-.1-.5-.1-.8.1l-2.9 2.1L9 11.3c-.2-.1-.4 0-.6.1l-3.7 2.2c-.1-.5-.2-1-.2-1.5 0-4.2 3.4-7.6 7.5-7.6zm0 15c-3.1 0-5.7-1.9-6.9-4.5l3.7-2.2 3.5 1.2c.2.1.5 0 .7-.1l2.9-2.1c.8.4 2.5 1.2 3.5 1.9-.9 3.3-3.9 5.8-7.4 5.8z"}));const Xg=["image"],eh="image/*",th=e=>{let{alt:t,attributes:{align:n,width:o,height:r,isLink:a,linkTarget:l,shouldSyncIcon:i},containerRef:s,isSelected:c,setAttributes:u,setLogo:m,logoUrl:d,siteUrl:p,logoId:g,iconId:h,setIcon:v,canUserEdit:b}=e;const y=ls(s,[n]),f=(0,Et.useViewportMatch)("medium"),_=!(0,nt.includes)(["wide","full"],n)&&f,[{naturalWidth:k,naturalHeight:w},E]=(0,Fe.useState)({}),[C,x]=(0,Fe.useState)(!1),{toggleSelection:S}=(0,Xe.useDispatch)(Oe.store),B=wt()("custom-logo-link",{"is-transient":(0,Ye.isBlobURL)(d)}),{imageEditing:T,maxWidth:N,title:P}=(0,Xe.useSelect)((e=>{const{getSettings:t}=e(Oe.store);return{title:e(en.store).getEditedEntityRecord("root","site").title,...(0,nt.pick)(t(),["imageEditing","maxWidth"])}}),[]);(0,Fe.useEffect)((()=>{i&&g!==h&&u({shouldSyncIcon:!1})}),[]),(0,Fe.useEffect)((()=>{c||x(!1)}),[c]);const z=(0,Fe.createElement)("img",{className:"custom-logo",src:d,alt:t,onLoad:e=>{E((0,nt.pick)(e.target,["naturalWidth","naturalHeight"]))}});let I,M=z;if(a&&(M=(0,Fe.createElement)("a",{href:p,className:B,rel:"home",title:P,onClick:e=>e.preventDefault()},z)),y&&k&&w&&(I=k>y?y:k),!_||!I)return(0,Fe.createElement)("div",{style:{width:o,height:r}},M);const L=o||120,R=k/w,V=L/R,A=k<w?pl:pl*R,H=w<k?pl:pl/R,F=2.5*N;let D=!1,$=!1;"center"===n?(D=!0,$=!0):(0,Ue.isRTL)()?"left"===n?D=!0:$=!0:"right"===n?$=!0:D=!0;const G=g&&k&&w&&T,U=G&&C?(0,Fe.createElement)(Oe.__experimentalImageEditingProvider,{id:g,url:d,naturalWidth:k,naturalHeight:w,clientWidth:y,onSaveImage:e=>{m(e.id)},isEditing:C,onFinishEditing:()=>x(!1)},(0,Fe.createElement)(Oe.__experimentalImageEditor,{url:d,width:L,height:V,clientWidth:y,naturalHeight:w,naturalWidth:k})):(0,Fe.createElement)(Ge.ResizableBox,{size:{width:L,height:V},showHandle:c,minWidth:A,maxWidth:F,minHeight:H,maxHeight:F/R,lockAspectRatio:!0,enable:{top:!1,right:D,bottom:!0,left:$},onResizeStart:function(){S(!1)},onResizeStop:(e,t,n,o)=>{S(!0),u({width:parseInt(L+o.width,10),height:parseInt(V+o.height,10)})}},M),O=(0,Fe.createInterpolateElement)((0,Ue.__)("Site Icons are what you see in browser tabs, bookmark bars, and within the WordPress mobile apps. To use a custom icon that is different from your site logo, use the <a>Site Icon settings</a>."),{a:(0,Fe.createElement)("a",{href:p+"/wp-admin/customize.php?autofocus[section]=title_tagline",target:"_blank",rel:"noopener noreferrer"})});return(0,Fe.createElement)(Fe.Fragment,null,(0,Fe.createElement)(Oe.InspectorControls,null,(0,Fe.createElement)(Ge.PanelBody,{title:(0,Ue.__)("Settings")},(0,Fe.createElement)(Ge.RangeControl,{label:(0,Ue.__)("Image width"),onChange:e=>u({width:e}),min:A,max:F,initialPosition:Math.min(120,F),value:o||"",disabled:!_}),(0,Fe.createElement)(Ge.ToggleControl,{label:(0,Ue.__)("Link image to home"),onChange:()=>u({isLink:!a}),checked:a}),a&&(0,Fe.createElement)(Fe.Fragment,null,(0,Fe.createElement)(Ge.ToggleControl,{label:(0,Ue.__)("Open in new tab"),onChange:e=>u({linkTarget:e?"_blank":"_self"}),checked:"_blank"===l})),b&&(0,Fe.createElement)(Fe.Fragment,null,(0,Fe.createElement)(Ge.ToggleControl,{label:(0,Ue.__)("Use as site icon"),onChange:e=>{u({shouldSyncIcon:e}),v(e?g:void 0)},checked:!!i,help:O})))),(0,Fe.createElement)(Oe.BlockControls,{group:"block"},G&&!C&&(0,Fe.createElement)(Ge.ToolbarButton,{onClick:()=>x(!0),icon:os,label:(0,Ue.__)("Crop")})),U)},nh={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:2,name:"core/site-logo",title:"Site Logo",category:"theme",description:"Display a graphic to represent this site. Update the block, and the changes apply everywhere it’s used. This is different than the site icon, which is the smaller image visible in your dashboard, browser tabs, etc used to help others recognize this site.",textdomain:"default",attributes:{width:{type:"number"},isLink:{type:"boolean",default:!0},linkTarget:{type:"string",default:"_self"},shouldSyncIcon:{type:"boolean"}},example:{viewportWidth:500,attributes:{width:350,className:"block-editor-block-types-list__site-logo-example"}},supports:{html:!1,align:!0,alignWide:!1,color:{__experimentalDuotone:"img",text:!1,background:!1}},styles:[{name:"default",label:"Default",isDefault:!0},{name:"rounded",label:"Rounded"}],editorStyle:"wp-block-site-logo-editor",style:"wp-block-site-logo"},{name:oh}=nh,rh={icon:Yg,edit:function(e){let{attributes:t,className:n,setAttributes:o,isSelected:r}=e;const{className:a,width:l,shouldSyncIcon:i}=t,[s,c]=(0,Fe.useState)(),u=(0,Fe.useRef)(),{siteLogoId:m,canUserEdit:d,url:p,siteIconId:g,mediaItemData:h,isRequestingMediaItem:v}=(0,Xe.useSelect)((e=>{const{canUser:t,getEntityRecord:n,getEditedEntityRecord:o}=e(en.store),r=o("root","site"),a=n("root","__unstableBase"),l=null==r?void 0:r.site_logo,i=null==a?void 0:a.site_logo,s=t("update","settings"),c=s?l:i,u=null==r?void 0:r.site_icon,m=c&&e(en.store).getMedia(c,{context:"view"}),d=c&&!e(en.store).hasFinishedResolution("getMedia",[c,{context:"view"}]);return{siteLogoId:c,canUserEdit:s,url:null==a?void 0:a.url,mediaItemData:m&&{id:m.id,url:m.source_url,alt:m.alt_text},isRequestingMediaItem:d,siteIconId:u}}),[]),{getGlobalBlockCount:b}=(0,Xe.useSelect)(Oe.store),{editEntityRecord:y}=(0,Xe.useDispatch)(en.store);(0,Fe.useEffect)((()=>()=>{null!=a&&a.includes("block-editor-block-types-list__site-logo-example")||null!=a&&a.includes("block-editor-block-styles__block-preview-container")||0===b("core/site-logo")&&y("root","site",void 0,{site_logo:void 0,site_icon:void 0})}),[]);const f=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];(i||t)&&_(e),y("root","site",void 0,{site_logo:e})},_=e=>y("root","site",void 0,{site_icon:e});let k=null;h&&(k=h.alt,s!==h.url&&c(h.url));const w=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(e)return!e.id&&e.url?(f(void 0),void c(e.url)):void f(e.id,t)},{createErrorNotice:E}=(0,Xe.useDispatch)($a.store),C=e=>{E(e[2],{type:"snackbar"})},x=d&&s&&(0,Fe.createElement)(Oe.BlockControls,{group:"other"},(0,Fe.createElement)(Oe.MediaReplaceFlow,{mediaURL:s,allowedTypes:Xg,accept:eh,onSelect:w,onError:C},(0,Fe.createElement)(Ge.MenuItem,{onClick:()=>{f(null),c(void 0),o({width:void 0})}},(0,Ue.__)("Reset"))));let S;const B=void 0===m||v;B&&(S=(0,Fe.createElement)(Ge.Spinner,null)),s&&(S=(0,Fe.createElement)(th,{alt:k,attributes:t,className:n,containerRef:u,isSelected:r,setAttributes:o,logoUrl:s,setLogo:f,logoId:(null==h?void 0:h.id)||m,siteUrl:p,setIcon:_,iconId:g,canUserEdit:d}));const T=wt()(n,{"is-default-size":!l}),N=(0,Oe.useBlockProps)({ref:u,className:T}),P=(0,Ue.__)("Add a site logo");return(0,Fe.createElement)("div",N,x,!!s&&S,!s&&!d&&(0,Fe.createElement)(Ge.Placeholder,{className:"site-logo_placeholder"},B&&(0,Fe.createElement)("span",{className:"components-placeholder__preview"},(0,Fe.createElement)(Ge.Spinner,null))),!s&&d&&(0,Fe.createElement)(Oe.MediaPlaceholder,{onSelect:e=>{if(void 0===i){const t=!g;return o({shouldSyncIcon:t}),void w(e,t)}w(e)},accept:eh,allowedTypes:Xg,onError:C,placeholder:e=>{const t=wt()("block-editor-media-placeholder",n);return(0,Fe.createElement)(Ge.Placeholder,{className:t,preview:S},(0,Fe.createElement)(De.SVG,{className:"components-placeholder__illustration",fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 60 60"},(0,Fe.createElement)(De.Path,{vectorEffect:"non-scaling-stroke",d:"m61 32.622-13.555-9.137-15.888 9.859a5 5 0 0 1-5.386-.073l-9.095-5.989L1 37.5"})),e)},mediaLibraryButton:e=>{let{open:t}=e;return(0,Fe.createElement)(Ge.Button,{icon:rs,variant:"primary",label:P,showTooltip:!0,tooltipPosition:"top center",onClick:()=>{t()}})}}))}};var ah=(0,Fe.createElement)(Ge.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24"},(0,Fe.createElement)(Ge.Path,{fill:"none",d:"M0 0h24v24H0z"}),(0,Fe.createElement)(Ge.Path,{d:"M4 9h16v2H4V9zm0 4h10v2H4v-2z"})),lh=[{attributes:{textAlign:{type:"string"}},supports:{align:["wide","full"],html:!1,color:{gradients:!0},spacing:{margin:!0,padding:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalTextTransform:!0,__experimentalFontStyle:!0,__experimentalFontWeight:!0,__experimentalLetterSpacing:!0}},save:()=>null,migrate:St,isEligible(e){var t;let{style:n}=e;return null==n||null===(t=n.typography)||void 0===t?void 0:t.fontFamily}}];const ih={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:2,name:"core/site-tagline",title:"Site Tagline",category:"theme",description:"Describe in a few words what the site is about. The tagline can be used in search results or when sharing on social networks even if it's not displayed in the theme design.",keywords:["description"],textdomain:"default",attributes:{textAlign:{type:"string"}},supports:{align:["wide","full"],html:!1,color:{gradients:!0},spacing:{margin:!0,padding:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalTextTransform:!0,__experimentalFontStyle:!0,__experimentalFontWeight:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}}},editorStyle:"wp-block-site-tagline-editor"},{name:sh}=ih,ch={icon:ah,edit:function(e){let{attributes:t,setAttributes:n}=e;const{textAlign:o}=t,[r,a]=(0,en.useEntityProp)("root","site","description"),{canUserEdit:l,readOnlySiteTagLine:i}=(0,Xe.useSelect)((e=>{const{canUser:t,getEntityRecord:n}=e(en.store),o=n("root","__unstableBase");return{canUserEdit:t("update","settings"),readOnlySiteTagLine:null==o?void 0:o.description}}),[]),s=(0,Oe.useBlockProps)({className:wt()({[`has-text-align-${o}`]:o,"wp-block-site-tagline__placeholder":!l&&!i})}),c=l?(0,Fe.createElement)(Oe.RichText,It({allowedFormats:[],onChange:a,"aria-label":(0,Ue.__)("Site tagline text"),placeholder:(0,Ue.__)("Write site tagline…"),tagName:"p",value:r},s)):(0,Fe.createElement)("p",s,i||(0,Ue.__)("Site Tagline placeholder"));return(0,Fe.createElement)(Fe.Fragment,null,(0,Fe.createElement)(Oe.BlockControls,{group:"block"},(0,Fe.createElement)(Oe.AlignmentControl,{onChange:e=>n({textAlign:e}),value:o})),c)},deprecated:lh};var uh=(0,Fe.createElement)(De.SVG,{xmlns:"https://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,Fe.createElement)(De.Path,{d:"M12 9c-.8 0-1.5.7-1.5 1.5S11.2 12 12 12s1.5-.7 1.5-1.5S12.8 9 12 9zm0-5c-3.6 0-6.5 2.8-6.5 6.2 0 .8.3 1.8.9 3.1.5 1.1 1.2 2.3 2 3.6.7 1 3 3.8 3.2 3.9l.4.5.4-.5c.2-.2 2.6-2.9 3.2-3.9.8-1.2 1.5-2.5 2-3.6.6-1.3.9-2.3.9-3.1C18.5 6.8 15.6 4 12 4zm4.3 8.7c-.5 1-1.1 2.2-1.9 3.4-.5.7-1.7 2.2-2.4 3-.7-.8-1.9-2.3-2.4-3-.8-1.2-1.4-2.3-1.9-3.3-.6-1.4-.7-2.2-.7-2.5 0-2.6 2.2-4.7 5-4.7s5 2.1 5 4.7c0 .2-.1 1-.7 2.4z"}));function mh(e){let{level:t,isPressed:n=!1}=e;return 0===t?bm:(0,Fe.createElement)(Ge.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",isPressed:n},(0,Fe.createElement)(Ge.Path,{d:{1:"M9 5h2v10H9v-4H5v4H3V5h2v4h4V5zm6.6 0c-.6.9-1.5 1.7-2.6 2v1h2v7h2V5h-1.4z",2:"M7 5h2v10H7v-4H3v4H1V5h2v4h4V5zm8 8c.5-.4.6-.6 1.1-1.1.4-.4.8-.8 1.2-1.3.3-.4.6-.8.9-1.3.2-.4.3-.8.3-1.3 0-.4-.1-.9-.3-1.3-.2-.4-.4-.7-.8-1-.3-.3-.7-.5-1.2-.6-.5-.2-1-.2-1.5-.2-.4 0-.7 0-1.1.1-.3.1-.7.2-1 .3-.3.1-.6.3-.9.5-.3.2-.6.4-.8.7l1.2 1.2c.3-.3.6-.5 1-.7.4-.2.7-.3 1.2-.3s.9.1 1.3.4c.3.3.5.7.5 1.1 0 .4-.1.8-.4 1.1-.3.5-.6.9-1 1.2-.4.4-1 .9-1.6 1.4-.6.5-1.4 1.1-2.2 1.6V15h8v-2H15z",3:"M12.1 12.2c.4.3.8.5 1.2.7.4.2.9.3 1.4.3.5 0 1-.1 1.4-.3.3-.1.5-.5.5-.8 0-.2 0-.4-.1-.6-.1-.2-.3-.3-.5-.4-.3-.1-.7-.2-1-.3-.5-.1-1-.1-1.5-.1V9.1c.7.1 1.5-.1 2.2-.4.4-.2.6-.5.6-.9 0-.3-.1-.6-.4-.8-.3-.2-.7-.3-1.1-.3-.4 0-.8.1-1.1.3-.4.2-.7.4-1.1.6l-1.2-1.4c.5-.4 1.1-.7 1.6-.9.5-.2 1.2-.3 1.8-.3.5 0 1 .1 1.6.2.4.1.8.3 1.2.5.3.2.6.5.8.8.2.3.3.7.3 1.1 0 .5-.2.9-.5 1.3-.4.4-.9.7-1.5.9v.1c.6.1 1.2.4 1.6.8.4.4.7.9.7 1.5 0 .4-.1.8-.3 1.2-.2.4-.5.7-.9.9-.4.3-.9.4-1.3.5-.5.1-1 .2-1.6.2-.8 0-1.6-.1-2.3-.4-.6-.2-1.1-.6-1.6-1l1.1-1.4zM7 9H3V5H1v10h2v-4h4v4h2V5H7v4z",4:"M9 15H7v-4H3v4H1V5h2v4h4V5h2v10zm10-2h-1v2h-2v-2h-5v-2l4-6h3v6h1v2zm-3-2V7l-2.8 4H16z",5:"M12.1 12.2c.4.3.7.5 1.1.7.4.2.9.3 1.3.3.5 0 1-.1 1.4-.4.4-.3.6-.7.6-1.1 0-.4-.2-.9-.6-1.1-.4-.3-.9-.4-1.4-.4H14c-.1 0-.3 0-.4.1l-.4.1-.5.2-1-.6.3-5h6.4v1.9h-4.3L14 8.8c.2-.1.5-.1.7-.2.2 0 .5-.1.7-.1.5 0 .9.1 1.4.2.4.1.8.3 1.1.6.3.2.6.6.8.9.2.4.3.9.3 1.4 0 .5-.1 1-.3 1.4-.2.4-.5.8-.9 1.1-.4.3-.8.5-1.3.7-.5.2-1 .3-1.5.3-.8 0-1.6-.1-2.3-.4-.6-.2-1.1-.6-1.6-1-.1-.1 1-1.5 1-1.5zM9 15H7v-4H3v4H1V5h2v4h4V5h2v10z",6:"M9 15H7v-4H3v4H1V5h2v4h4V5h2v10zm8.6-7.5c-.2-.2-.5-.4-.8-.5-.6-.2-1.3-.2-1.9 0-.3.1-.6.3-.8.5l-.6.9c-.2.5-.2.9-.2 1.4.4-.3.8-.6 1.2-.8.4-.2.8-.3 1.3-.3.4 0 .8 0 1.2.2.4.1.7.3 1 .6.3.3.5.6.7.9.2.4.3.8.3 1.3s-.1.9-.3 1.4c-.2.4-.5.7-.8 1-.4.3-.8.5-1.2.6-1 .3-2 .3-3 0-.5-.2-1-.5-1.4-.9-.4-.4-.8-.9-1-1.5-.2-.6-.3-1.3-.3-2.1s.1-1.6.4-2.3c.2-.6.6-1.2 1-1.6.4-.4.9-.7 1.4-.9.6-.3 1.1-.4 1.7-.4.7 0 1.4.1 2 .3.5.2 1 .5 1.4.8 0 .1-1.3 1.4-1.3 1.4zm-2.4 5.8c.2 0 .4 0 .6-.1.2 0 .4-.1.5-.2.1-.1.3-.3.4-.5.1-.2.1-.5.1-.7 0-.4-.1-.8-.4-1.1-.3-.2-.7-.3-1.1-.3-.3 0-.7.1-1 .2-.4.2-.7.4-1 .7 0 .3.1.7.3 1 .1.2.3.4.4.6.2.1.3.3.5.3.2.1.5.2.7.1z"}[t]}))}function dh(e){let{level:t,onChange:n}=e;const o=[1,2,3,4,5,6,0].map((e=>{const o=e===t;return{icon:(0,Fe.createElement)(mh,{level:e,isPressed:o}),title:0===e?(0,Ue.__)("Paragraph"):// translators: %s: heading level e.g: "1", "2", "3"
82
  (0,Ue.sprintf)((0,Ue.__)("Heading %d"),e),isActive:o,onClick:()=>n(e)}}));return(0,Fe.createElement)(Ge.ToolbarDropdownMenu,{label:(0,Ue.__)("Change heading level"),icon:(0,Fe.createElement)(mh,{level:t}),controls:o})}var ph=[{attributes:{level:{type:"number",default:1},textAlign:{type:"string"},isLink:{type:"boolean",default:!0},linkTarget:{type:"string",default:"_self"}},supports:{align:["wide","full"],html:!1,color:{gradients:!0,link:!0},spacing:{padding:!0,margin:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalTextTransform:!0,__experimentalFontStyle:!0,__experimentalFontWeight:!0,__experimentalLetterSpacing:!0}},save:()=>null,migrate:St,isEligible(e){var t;let{style:n}=e;return null==n||null===(t=n.typography)||void 0===t?void 0:t.fontFamily}}];const gh={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:2,name:"core/site-title",title:"Site Title",category:"theme",description:"Displays the name of this site. Update the block, and the changes apply everywhere it’s used. This will also appear in the browser title bar and in search results.",textdomain:"default",attributes:{level:{type:"number",default:1},textAlign:{type:"string"},isLink:{type:"boolean",default:!0},linkTarget:{type:"string",default:"_self"}},example:{viewportWidth:500},supports:{align:["wide","full"],html:!1,color:{gradients:!0,link:!0},spacing:{padding:!0,margin:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalTextTransform:!0,__experimentalFontStyle:!0,__experimentalFontWeight:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0,lineHeight:!0,fontAppearance:!0,letterSpacing:!0,textTransform:!0}}},editorStyle:"wp-block-site-title-editor"},{name:hh}=gh,vh={icon:uh,edit:function(e){let{attributes:t,setAttributes:n,insertBlocksAfter:o}=e;const{level:r,textAlign:a,isLink:l,linkTarget:i}=t,[s,c]=(0,en.useEntityProp)("root","site","title"),{canUserEdit:u,readOnlyTitle:m}=(0,Xe.useSelect)((e=>{const{canUser:t,getEntityRecord:n}=e(en.store),o=n("root","__unstableBase");return{canUserEdit:t("update","settings"),readOnlyTitle:(0,Mc.decodeEntities)(null==o?void 0:o.name)}}),[]),d=0===r?"p":`h${r}`,p=(0,Oe.useBlockProps)({className:wt()({[`has-text-align-${a}`]:a,"wp-block-site-title__placeholder":!u&&!m})}),g=u?(0,Fe.createElement)(d,p,(0,Fe.createElement)(Oe.RichText,{tagName:l?"a":"span",href:l?"#site-title-pseudo-link":void 0,"aria-label":(0,Ue.__)("Site title text"),placeholder:(0,Ue.__)("Write site title…"),value:s,onChange:c,allowedFormats:[],disableLineBreaks:!0,__unstableOnSplitAtEnd:()=>o((0,He.createBlock)((0,He.getDefaultBlockName)()))})):(0,Fe.createElement)(d,p,l?(0,Fe.createElement)("a",{href:"#site-title-pseudo-link",onClick:e=>e.preventDefault()},m||(0,Ue.__)("Site Title placeholder")):(0,Fe.createElement)("span",null,s||m));return(0,Fe.createElement)(Fe.Fragment,null,(0,Fe.createElement)(Oe.BlockControls,{group:"block"},(0,Fe.createElement)(dh,{level:r,onChange:e=>n({level:e})}),(0,Fe.createElement)(Oe.AlignmentControl,{value:a,onChange:e=>{n({textAlign:e})}})),(0,Fe.createElement)(Oe.InspectorControls,null,(0,Fe.createElement)(Ge.PanelBody,{title:(0,Ue.__)("Link settings")},(0,Fe.createElement)(Ge.ToggleControl,{label:(0,Ue.__)("Make title link to home"),onChange:()=>n({isLink:!l}),checked:l}),l&&(0,Fe.createElement)(Ge.ToggleControl,{label:(0,Ue.__)("Open in new tab"),onChange:e=>n({linkTarget:e?"_blank":"_self"}),checked:"_blank"===i}))),g)},deprecated:ph};var bh=(0,Fe.createElement)(De.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,Fe.createElement)(De.Path,{d:"M9 11.8l6.1-4.5c.1.4.4.7.9.7h2c.6 0 1-.4 1-1V5c0-.6-.4-1-1-1h-2c-.6 0-1 .4-1 1v.4l-6.4 4.8c-.2-.1-.4-.2-.6-.2H6c-.6 0-1 .4-1 1v2c0 .6.4 1 1 1h2c.2 0 .4-.1.6-.2l6.4 4.8v.4c0 .6.4 1 1 1h2c.6 0 1-.4 1-1v-2c0-.6-.4-1-1-1h-2c-.5 0-.8.3-.9.7L9 12.2v-.4z"})),yh=(0,Fe.createElement)(De.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},(0,Fe.createElement)(De.Path,{d:"M6.734 16.106l2.176-2.38-1.093-1.028-3.846 4.158 3.846 4.157 1.093-1.027-2.176-2.38h2.811c1.125 0 2.25.03 3.374 0 1.428-.001 3.362-.25 4.963-1.277 1.66-1.065 2.868-2.906 2.868-5.859 0-2.479-1.327-4.896-3.65-5.93-1.82-.813-3.044-.8-4.806-.788l-.567.002v1.5c.184 0 .368 0 .553-.002 1.82-.007 2.704-.014 4.21.657 1.854.827 2.76 2.657 2.76 4.561 0 2.472-.973 3.824-2.178 4.596-1.258.807-2.864 1.04-4.163 1.04h-.02c-1.115.03-2.229 0-3.344 0H6.734z"}));const fh=()=>(0,Fe.createElement)(De.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},(0,Fe.createElement)(De.Path,{d:"M19.647,16.706a1.134,1.134,0,0,0-.343-.833l-2.549-2.549a1.134,1.134,0,0,0-.833-.343,1.168,1.168,0,0,0-.883.392l.233.226q.2.189.264.264a2.922,2.922,0,0,1,.184.233.986.986,0,0,1,.159.312,1.242,1.242,0,0,1,.043.337,1.172,1.172,0,0,1-1.176,1.176,1.237,1.237,0,0,1-.337-.043,1,1,0,0,1-.312-.159,2.76,2.76,0,0,1-.233-.184q-.073-.068-.264-.264l-.226-.233a1.19,1.19,0,0,0-.4.895,1.134,1.134,0,0,0,.343.833L15.837,19.3a1.13,1.13,0,0,0,.833.331,1.18,1.18,0,0,0,.833-.318l1.8-1.789a1.12,1.12,0,0,0,.343-.821Zm-8.615-8.64a1.134,1.134,0,0,0-.343-.833L8.163,4.7a1.134,1.134,0,0,0-.833-.343,1.184,1.184,0,0,0-.833.331L4.7,6.473a1.12,1.12,0,0,0-.343.821,1.134,1.134,0,0,0,.343.833l2.549,2.549a1.13,1.13,0,0,0,.833.331,1.184,1.184,0,0,0,.883-.38L8.728,10.4q-.2-.189-.264-.264A2.922,2.922,0,0,1,8.28,9.9a.986.986,0,0,1-.159-.312,1.242,1.242,0,0,1-.043-.337A1.172,1.172,0,0,1,9.254,8.079a1.237,1.237,0,0,1,.337.043,1,1,0,0,1,.312.159,2.761,2.761,0,0,1,.233.184q.073.068.264.264l.226.233a1.19,1.19,0,0,0,.4-.895ZM22,16.706a3.343,3.343,0,0,1-1.042,2.488l-1.8,1.789a3.536,3.536,0,0,1-4.988-.025l-2.525-2.537a3.384,3.384,0,0,1-1.017-2.488,3.448,3.448,0,0,1,1.078-2.561l-1.078-1.078a3.434,3.434,0,0,1-2.549,1.078,3.4,3.4,0,0,1-2.5-1.029L3.029,9.794A3.4,3.4,0,0,1,2,7.294,3.343,3.343,0,0,1,3.042,4.806l1.8-1.789A3.384,3.384,0,0,1,7.331,2a3.357,3.357,0,0,1,2.5,1.042l2.525,2.537a3.384,3.384,0,0,1,1.017,2.488,3.448,3.448,0,0,1-1.078,2.561l1.078,1.078a3.551,3.551,0,0,1,5.049-.049l2.549,2.549A3.4,3.4,0,0,1,22,16.706Z"})),_h=[{isDefault:!0,name:"wordpress",attributes:{service:"wordpress"},title:"WordPress",icon:()=>(0,Fe.createElement)(De.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},(0,Fe.createElement)(De.Path,{d:"M12.158,12.786L9.46,20.625c0.806,0.237,1.657,0.366,2.54,0.366c1.047,0,2.051-0.181,2.986-0.51 c-0.024-0.038-0.046-0.079-0.065-0.124L12.158,12.786z M3.009,12c0,3.559,2.068,6.634,5.067,8.092L3.788,8.341 C3.289,9.459,3.009,10.696,3.009,12z M18.069,11.546c0-1.112-0.399-1.881-0.741-2.48c-0.456-0.741-0.883-1.368-0.883-2.109 c0-0.826,0.627-1.596,1.51-1.596c0.04,0,0.078,0.005,0.116,0.007C16.472,3.904,14.34,3.009,12,3.009 c-3.141,0-5.904,1.612-7.512,4.052c0.211,0.007,0.41,0.011,0.579,0.011c0.94,0,2.396-0.114,2.396-0.114 C7.947,6.93,8.004,7.642,7.52,7.699c0,0-0.487,0.057-1.029,0.085l3.274,9.739l1.968-5.901l-1.401-3.838 C9.848,7.756,9.389,7.699,9.389,7.699C8.904,7.67,8.961,6.93,9.446,6.958c0,0,1.484,0.114,2.368,0.114 c0.94,0,2.397-0.114,2.397-0.114c0.485-0.028,0.542,0.684,0.057,0.741c0,0-0.488,0.057-1.029,0.085l3.249,9.665l0.897-2.996 C17.841,13.284,18.069,12.316,18.069,11.546z M19.889,7.686c0.039,0.286,0.06,0.593,0.06,0.924c0,0.912-0.171,1.938-0.684,3.22 l-2.746,7.94c2.673-1.558,4.47-4.454,4.47-7.771C20.991,10.436,20.591,8.967,19.889,7.686z M12,22C6.486,22,2,17.514,2,12 C2,6.486,6.486,2,12,2c5.514,0,10,4.486,10,10C22,17.514,17.514,22,12,22z"}))},{name:"fivehundredpx",attributes:{service:"fivehundredpx"},title:"500px",icon:()=>(0,Fe.createElement)(De.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},(0,Fe.createElement)(De.Path,{d:"M6.94026,15.1412c.00437.01213.108.29862.168.44064a6.55008,6.55008,0,1,0,6.03191-9.09557,6.68654,6.68654,0,0,0-2.58357.51467A8.53914,8.53914,0,0,0,8.21268,8.61344L8.209,8.61725V3.22948l9.0504-.00008c.32934-.0036.32934-.46353.32934-.61466s0-.61091-.33035-.61467L7.47248,2a.43.43,0,0,0-.43131.42692v7.58355c0,.24466.30476.42131.58793.4819.553.11812.68074-.05864.81617-.2457l.018-.02481A10.52673,10.52673,0,0,1,9.32258,9.258a5.35268,5.35268,0,1,1,7.58985,7.54976,5.417,5.417,0,0,1-3.80867,1.56365,5.17483,5.17483,0,0,1-2.69822-.74478l.00342-4.61111a2.79372,2.79372,0,0,1,.71372-1.78792,2.61611,2.61611,0,0,1,1.98282-.89477,2.75683,2.75683,0,0,1,1.95525.79477,2.66867,2.66867,0,0,1,.79656,1.909,2.724,2.724,0,0,1-2.75849,2.748,4.94651,4.94651,0,0,1-.86254-.13719c-.31234-.093-.44519.34058-.48892.48349-.16811.54966.08453.65862.13687.67489a3.75751,3.75751,0,0,0,1.25234.18375,3.94634,3.94634,0,1,0-2.82444-6.742,3.67478,3.67478,0,0,0-1.13028,2.584l-.00041.02323c-.0035.11667-.00579,2.881-.00644,3.78811l-.00407-.00451a6.18521,6.18521,0,0,1-1.0851-1.86092c-.10544-.27856-.34358-.22925-.66857-.12917-.14192.04372-.57386.17677-.47833.489Zm4.65165-1.08338a.51346.51346,0,0,0,.19513.31818l.02276.022a.52945.52945,0,0,0,.3517.18416.24242.24242,0,0,0,.16577-.0611c.05473-.05082.67382-.67812.73287-.738l.69041.68819a.28978.28978,0,0,0,.21437.11032.53239.53239,0,0,0,.35708-.19486c.29792-.30419.14885-.46821.07676-.54751l-.69954-.69975.72952-.73469c.16-.17311.01874-.35708-.12218-.498-.20461-.20461-.402-.25742-.52855-.14083l-.7254.72665-.73354-.73375a.20128.20128,0,0,0-.14179-.05695.54135.54135,0,0,0-.34379.19648c-.22561.22555-.274.38149-.15656.5059l.73374.7315-.72942.73072A.26589.26589,0,0,0,11.59191,14.05782Zm1.59866-9.915A8.86081,8.86081,0,0,0,9.854,4.776a.26169.26169,0,0,0-.16938.22759.92978.92978,0,0,0,.08619.42094c.05682.14524.20779.531.50006.41955a8.40969,8.40969,0,0,1,2.91968-.55484,7.87875,7.87875,0,0,1,3.086.62286,8.61817,8.61817,0,0,1,2.30562,1.49315.2781.2781,0,0,0,.18318.07586c.15529,0,.30425-.15253.43167-.29551.21268-.23861.35873-.4369.1492-.63538a8.50425,8.50425,0,0,0-2.62312-1.694A9.0177,9.0177,0,0,0,13.19058,4.14283ZM19.50945,18.6236h0a.93171.93171,0,0,0-.36642-.25406.26589.26589,0,0,0-.27613.06613l-.06943.06929A7.90606,7.90606,0,0,1,7.60639,18.505a7.57284,7.57284,0,0,1-1.696-2.51537,8.58715,8.58715,0,0,1-.5147-1.77754l-.00871-.04864c-.04939-.25873-.28755-.27684-.62981-.22448-.14234.02178-.5755.088-.53426.39969l.001.00712a9.08807,9.08807,0,0,0,15.406,4.99094c.00193-.00192.04753-.04718.0725-.07436C19.79425,19.16234,19.87422,18.98728,19.50945,18.6236Z"}))},{name:"amazon",attributes:{service:"amazon"},title:"Amazon",icon:()=>(0,Fe.createElement)(De.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},(0,Fe.createElement)(De.Path,{d:"M13.582,8.182C11.934,8.367,9.78,8.49,8.238,9.166c-1.781,0.769-3.03,2.337-3.03,4.644 c0,2.953,1.86,4.429,4.253,4.429c2.02,0,3.125-0.477,4.685-2.065c0.516,0.747,0.685,1.109,1.629,1.894 c0.212,0.114,0.483,0.103,0.672-0.066l0.006,0.006c0.567-0.505,1.599-1.401,2.18-1.888c0.231-0.188,0.19-0.496,0.009-0.754 c-0.52-0.718-1.072-1.303-1.072-2.634V8.305c0-1.876,0.133-3.599-1.249-4.891C15.23,2.369,13.422,2,12.04,2 C9.336,2,6.318,3.01,5.686,6.351C5.618,6.706,5.877,6.893,6.109,6.945l2.754,0.298C9.121,7.23,9.308,6.977,9.357,6.72 c0.236-1.151,1.2-1.706,2.284-1.706c0.584,0,1.249,0.215,1.595,0.738c0.398,0.584,0.346,1.384,0.346,2.061V8.182z M13.049,14.088 c-0.451,0.8-1.169,1.291-1.967,1.291c-1.09,0-1.728-0.83-1.728-2.061c0-2.42,2.171-2.86,4.227-2.86v0.615 C13.582,12.181,13.608,13.104,13.049,14.088z M20.683,19.339C18.329,21.076,14.917,22,11.979,22c-4.118,0-7.826-1.522-10.632-4.057 c-0.22-0.199-0.024-0.471,0.241-0.317c3.027,1.762,6.771,2.823,10.639,2.823c2.608,0,5.476-0.541,8.115-1.66 C20.739,18.62,21.072,19.051,20.683,19.339z M21.336,21.043c-0.194,0.163-0.379,0.076-0.293-0.139 c0.284-0.71,0.92-2.298,0.619-2.684c-0.301-0.386-1.99-0.183-2.749-0.092c-0.23,0.027-0.266-0.173-0.059-0.319 c1.348-0.946,3.555-0.673,3.811-0.356C22.925,17.773,22.599,19.986,21.336,21.043z"}))},{name:"bandcamp",attributes:{service:"bandcamp"},title:"Bandcamp",icon:()=>(0,Fe.createElement)(De.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},(0,Fe.createElement)(De.Path,{d:"M15.27 17.289 3 17.289 8.73 6.711 21 6.711 15.27 17.289"}))},{name:"behance",attributes:{service:"behance"},title:"Behance",icon:()=>(0,Fe.createElement)(De.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},(0,Fe.createElement)(De.Path,{d:"M7.799,5.698c0.589,0,1.12,0.051,1.606,0.156c0.482,0.102,0.894,0.273,1.241,0.507c0.344,0.235,0.612,0.546,0.804,0.938 c0.188,0.387,0.281,0.871,0.281,1.443c0,0.619-0.141,1.137-0.421,1.551c-0.284,0.413-0.7,0.751-1.255,1.014 c0.756,0.218,1.317,0.601,1.689,1.146c0.374,0.549,0.557,1.205,0.557,1.975c0,0.623-0.12,1.161-0.359,1.612 c-0.241,0.457-0.569,0.828-0.973,1.114c-0.408,0.288-0.876,0.5-1.399,0.637C9.052,17.931,8.514,18,7.963,18H2V5.698H7.799 M7.449,10.668c0.481,0,0.878-0.114,1.192-0.345c0.311-0.228,0.463-0.603,0.463-1.119c0-0.286-0.051-0.523-0.152-0.707 C8.848,8.315,8.711,8.171,8.536,8.07C8.362,7.966,8.166,7.894,7.94,7.854c-0.224-0.044-0.457-0.06-0.697-0.06H4.709v2.874H7.449z M7.6,15.905c0.267,0,0.521-0.024,0.759-0.077c0.243-0.053,0.457-0.137,0.637-0.261c0.182-0.12,0.332-0.283,0.441-0.491 C9.547,14.87,9.6,14.602,9.6,14.278c0-0.633-0.18-1.084-0.533-1.357c-0.356-0.27-0.83-0.404-1.413-0.404H4.709v3.388L7.6,15.905z M16.162,15.864c0.367,0.358,0.897,0.538,1.583,0.538c0.493,0,0.92-0.125,1.277-0.374c0.354-0.248,0.571-0.514,0.654-0.79h2.155 c-0.347,1.072-0.872,1.838-1.589,2.299C19.534,18,18.67,18.23,17.662,18.23c-0.701,0-1.332-0.113-1.899-0.337 c-0.567-0.227-1.041-0.544-1.439-0.958c-0.389-0.415-0.689-0.907-0.904-1.484c-0.213-0.574-0.32-1.21-0.32-1.899 c0-0.666,0.11-1.288,0.329-1.863c0.222-0.577,0.529-1.075,0.933-1.492c0.406-0.42,0.885-0.751,1.444-0.994 c0.558-0.241,1.175-0.363,1.857-0.363c0.754,0,1.414,0.145,1.98,0.44c0.563,0.291,1.026,0.686,1.389,1.181 c0.363,0.493,0.622,1.057,0.783,1.69c0.16,0.632,0.217,1.292,0.171,1.983h-6.428C15.557,14.84,15.795,15.506,16.162,15.864 M18.973,11.184c-0.291-0.321-0.783-0.496-1.384-0.496c-0.39,0-0.714,0.066-0.973,0.2c-0.254,0.132-0.461,0.297-0.621,0.491 c-0.157,0.197-0.265,0.405-0.328,0.628c-0.063,0.217-0.101,0.413-0.111,0.587h3.98C19.478,11.969,19.265,11.509,18.973,11.184z M15.057,7.738h4.985V6.524h-4.985L15.057,7.738z"}))},{name:"chain",attributes:{service:"chain"},title:"Link",icon:fh},{name:"codepen",attributes:{service:"codepen"},title:"CodePen",icon:()=>(0,Fe.createElement)(De.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},(0,Fe.createElement)(De.Path,{d:"M22.016,8.84c-0.002-0.013-0.005-0.025-0.007-0.037c-0.005-0.025-0.008-0.048-0.015-0.072 c-0.003-0.015-0.01-0.028-0.013-0.042c-0.008-0.02-0.015-0.04-0.023-0.062c-0.007-0.015-0.013-0.028-0.02-0.042 c-0.008-0.02-0.018-0.037-0.03-0.057c-0.007-0.013-0.017-0.027-0.025-0.038c-0.012-0.018-0.023-0.035-0.035-0.052 c-0.01-0.013-0.02-0.025-0.03-0.037c-0.015-0.017-0.028-0.032-0.043-0.045c-0.01-0.012-0.022-0.023-0.035-0.035 c-0.015-0.015-0.032-0.028-0.048-0.04c-0.012-0.01-0.025-0.02-0.037-0.03c-0.005-0.003-0.01-0.008-0.015-0.012l-9.161-6.096 c-0.289-0.192-0.666-0.192-0.955,0L2.359,8.237C2.354,8.24,2.349,8.245,2.344,8.249L2.306,8.277 c-0.017,0.013-0.033,0.027-0.048,0.04C2.246,8.331,2.234,8.342,2.222,8.352c-0.015,0.015-0.028,0.03-0.042,0.047 c-0.012,0.013-0.022,0.023-0.03,0.037C2.139,8.453,2.125,8.471,2.115,8.488C2.107,8.501,2.099,8.514,2.09,8.526 C2.079,8.548,2.069,8.565,2.06,8.585C2.054,8.6,2.047,8.613,2.04,8.626C2.032,8.648,2.025,8.67,2.019,8.69 c-0.005,0.013-0.01,0.027-0.013,0.042C1.999,8.755,1.995,8.778,1.99,8.803C1.989,8.817,1.985,8.828,1.984,8.84 C1.978,8.879,1.975,8.915,1.975,8.954v6.093c0,0.037,0.003,0.075,0.008,0.112c0.002,0.012,0.005,0.025,0.007,0.038 c0.005,0.023,0.008,0.047,0.015,0.072c0.003,0.015,0.008,0.028,0.013,0.04c0.007,0.022,0.013,0.042,0.022,0.063 c0.007,0.015,0.013,0.028,0.02,0.04c0.008,0.02,0.018,0.038,0.03,0.058c0.007,0.013,0.015,0.027,0.025,0.038 c0.012,0.018,0.023,0.035,0.035,0.052c0.01,0.013,0.02,0.025,0.03,0.037c0.013,0.015,0.028,0.032,0.042,0.045 c0.012,0.012,0.023,0.023,0.035,0.035c0.015,0.013,0.032,0.028,0.048,0.04l0.038,0.03c0.005,0.003,0.01,0.007,0.013,0.01 l9.163,6.095C11.668,21.953,11.833,22,12,22c0.167,0,0.332-0.047,0.478-0.144l9.163-6.095l0.015-0.01 c0.013-0.01,0.027-0.02,0.037-0.03c0.018-0.013,0.035-0.028,0.048-0.04c0.013-0.012,0.025-0.023,0.035-0.035 c0.017-0.015,0.03-0.032,0.043-0.045c0.01-0.013,0.02-0.025,0.03-0.037c0.013-0.018,0.025-0.035,0.035-0.052 c0.008-0.013,0.018-0.027,0.025-0.038c0.012-0.02,0.022-0.038,0.03-0.058c0.007-0.013,0.013-0.027,0.02-0.04 c0.008-0.022,0.015-0.042,0.023-0.063c0.003-0.013,0.01-0.027,0.013-0.04c0.007-0.025,0.01-0.048,0.015-0.072 c0.002-0.013,0.005-0.027,0.007-0.037c0.003-0.042,0.007-0.079,0.007-0.117V8.954C22.025,8.915,22.022,8.879,22.016,8.84z M12.862,4.464l6.751,4.49l-3.016,2.013l-3.735-2.492V4.464z M11.138,4.464v4.009l-3.735,2.494L4.389,8.954L11.138,4.464z M3.699,10.562L5.853,12l-2.155,1.438V10.562z M11.138,19.536l-6.749-4.491l3.015-2.011l3.735,2.492V19.536z M12,14.035L8.953,12 L12,9.966L15.047,12L12,14.035z M12.862,19.536v-4.009l3.735-2.492l3.016,2.011L12.862,19.536z M20.303,13.438L18.147,12 l2.156-1.438L20.303,13.438z"}))},{name:"deviantart",attributes:{service:"deviantart"},title:"DeviantArt",icon:()=>(0,Fe.createElement)(De.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},(0,Fe.createElement)(De.Path,{d:"M 18.19 5.636 18.19 2 18.188 2 14.553 2 14.19 2.366 12.474 5.636 11.935 6 5.81 6 5.81 10.994 9.177 10.994 9.477 11.357 5.81 18.363 5.81 22 5.811 22 9.447 22 9.81 21.634 11.526 18.364 12.065 18 18.19 18 18.19 13.006 14.823 13.006 14.523 12.641 18.19 5.636z"}))},{name:"dribbble",attributes:{service:"dribbble"},title:"Dribbble",icon:()=>(0,Fe.createElement)(De.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},(0,Fe.createElement)(De.Path,{d:"M12,22C6.486,22,2,17.514,2,12S6.486,2,12,2c5.514,0,10,4.486,10,10S17.514,22,12,22z M20.434,13.369 c-0.292-0.092-2.644-0.794-5.32-0.365c1.117,3.07,1.572,5.57,1.659,6.09C18.689,17.798,20.053,15.745,20.434,13.369z M15.336,19.876c-0.127-0.749-0.623-3.361-1.822-6.477c-0.019,0.006-0.038,0.013-0.056,0.019c-4.818,1.679-6.547,5.02-6.701,5.334 c1.448,1.129,3.268,1.803,5.243,1.803C13.183,20.555,14.311,20.313,15.336,19.876z M5.654,17.724 c0.193-0.331,2.538-4.213,6.943-5.637c0.111-0.036,0.224-0.07,0.337-0.102c-0.214-0.485-0.448-0.971-0.692-1.45 c-4.266,1.277-8.405,1.223-8.778,1.216c-0.003,0.087-0.004,0.174-0.004,0.261C3.458,14.207,4.29,16.21,5.654,17.724z M3.639,10.264 c0.382,0.005,3.901,0.02,7.897-1.041c-1.415-2.516-2.942-4.631-3.167-4.94C5.979,5.41,4.193,7.613,3.639,10.264z M9.998,3.709 c0.236,0.316,1.787,2.429,3.187,5c3.037-1.138,4.323-2.867,4.477-3.085C16.154,4.286,14.17,3.471,12,3.471 C11.311,3.471,10.641,3.554,9.998,3.709z M18.612,6.612C18.432,6.855,17,8.69,13.842,9.979c0.199,0.407,0.389,0.821,0.567,1.237 c0.063,0.148,0.124,0.295,0.184,0.441c2.842-0.357,5.666,0.215,5.948,0.275C20.522,9.916,19.801,8.065,18.612,6.612z"}))},{name:"dropbox",attributes:{service:"dropbox"},title:"Dropbox",icon:()=>(0,Fe.createElement)(De.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},(0,Fe.createElement)(De.Path,{d:"M12,6.134L6.069,9.797L2,6.54l5.883-3.843L12,6.134z M2,13.054l5.883,3.843L12,13.459L6.069,9.797L2,13.054z M12,13.459 l4.116,3.439L22,13.054l-4.069-3.257L12,13.459z M22,6.54l-5.884-3.843L12,6.134l5.931,3.663L22,6.54z M12.011,14.2l-4.129,3.426 l-1.767-1.153v1.291l5.896,3.539l5.897-3.539v-1.291l-1.769,1.153L12.011,14.2z"}))},{name:"etsy",attributes:{service:"etsy"},title:"Etsy",icon:()=>(0,Fe.createElement)(De.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},(0,Fe.createElement)(De.Path,{d:"M9.16033,4.038c0-.27174.02717-.43478.48913-.43478h6.22283c1.087,0,1.68478.92391,2.11957,2.663l.35326,1.38587h1.05978C19.59511,3.712,19.75815,2,19.75815,2s-2.663.29891-4.23913.29891h-7.962L3.29076,2.163v1.1413L4.731,3.57609c1.00543.19022,1.25.40761,1.33152,1.33152,0,0,.08152,2.71739.08152,7.20109s-.08152,7.17391-.08152,7.17391c0,.81522-.32609,1.11413-1.33152,1.30435l-1.44022.27174V22l4.2663-.13587h7.11957c1.60326,0,5.32609.13587,5.32609.13587.08152-.97826.625-5.40761.70652-5.89674H19.7038L18.644,18.52174c-.84239,1.90217-2.06522,2.038-3.42391,2.038H11.1712c-1.3587,0-2.01087-.54348-2.01087-1.712V12.65217s3.0163,0,3.99457.08152c.76087.05435,1.22283.27174,1.46739,1.33152l.32609,1.413h1.16848l-.08152-3.55978.163-3.587H15.02989l-.38043,1.57609c-.24457,1.03261-.40761,1.22283-1.46739,1.33152-1.38587.13587-4.02174.1087-4.02174.1087Z"}))},{name:"facebook",attributes:{service:"facebook"},title:"Facebook",icon:()=>(0,Fe.createElement)(De.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},(0,Fe.createElement)(De.Path,{d:"M12 2C6.5 2 2 6.5 2 12c0 5 3.7 9.1 8.4 9.9v-7H7.9V12h2.5V9.8c0-2.5 1.5-3.9 3.8-3.9 1.1 0 2.2.2 2.2.2v2.5h-1.3c-1.2 0-1.6.8-1.6 1.6V12h2.8l-.4 2.9h-2.3v7C18.3 21.1 22 17 22 12c0-5.5-4.5-10-10-10z"}))},{name:"feed",attributes:{service:"feed"},title:"RSS Feed",icon:()=>(0,Fe.createElement)(De.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},(0,Fe.createElement)(De.Path,{d:"M2,8.667V12c5.515,0,10,4.485,10,10h3.333C15.333,14.637,9.363,8.667,2,8.667z M2,2v3.333 c9.19,0,16.667,7.477,16.667,16.667H22C22,10.955,13.045,2,2,2z M4.5,17C3.118,17,2,18.12,2,19.5S3.118,22,4.5,22S7,20.88,7,19.5 S5.882,17,4.5,17z"}))},{name:"flickr",attributes:{service:"flickr"},title:"Flickr",icon:()=>(0,Fe.createElement)(De.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},(0,Fe.createElement)(De.Path,{d:"M6.5,7c-2.75,0-5,2.25-5,5s2.25,5,5,5s5-2.25,5-5S9.25,7,6.5,7z M17.5,7c-2.75,0-5,2.25-5,5s2.25,5,5,5s5-2.25,5-5 S20.25,7,17.5,7z"}))},{name:"foursquare",attributes:{service:"foursquare"},title:"Foursquare",icon:()=>(0,Fe.createElement)(De.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},(0,Fe.createElement)(De.Path,{d:"M17.573,2c0,0-9.197,0-10.668,0S5,3.107,5,3.805s0,16.948,0,16.948c0,0.785,0.422,1.077,0.66,1.172 c0.238,0.097,0.892,0.177,1.285-0.275c0,0,5.035-5.843,5.122-5.93c0.132-0.132,0.132-0.132,0.262-0.132h3.26 c1.368,0,1.588-0.977,1.732-1.552c0.078-0.318,0.692-3.428,1.225-6.122l0.675-3.368C19.56,2.893,19.14,2,17.573,2z M16.495,7.22 c-0.053,0.252-0.372,0.518-0.665,0.518c-0.293,0-4.157,0-4.157,0c-0.467,0-0.802,0.318-0.802,0.787v0.508 c0,0.467,0.337,0.798,0.805,0.798c0,0,3.197,0,3.528,0s0.655,0.362,0.583,0.715c-0.072,0.353-0.407,2.102-0.448,2.295 c-0.04,0.193-0.262,0.523-0.655,0.523c-0.33,0-2.88,0-2.88,0c-0.523,0-0.683,0.068-1.033,0.503 c-0.35,0.437-3.505,4.223-3.505,4.223c-0.032,0.035-0.063,0.027-0.063-0.015V4.852c0-0.298,0.26-0.648,0.648-0.648 c0,0,8.228,0,8.562,0c0.315,0,0.61,0.297,0.528,0.683L16.495,7.22z"}))},{name:"goodreads",attributes:{service:"goodreads"},title:"Goodreads",icon:()=>(0,Fe.createElement)(De.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},(0,Fe.createElement)(De.Path,{d:"M17.3,17.5c-0.2,0.8-0.5,1.4-1,1.9c-0.4,0.5-1,0.9-1.7,1.2C13.9,20.9,13.1,21,12,21c-0.6,0-1.3-0.1-1.9-0.2 c-0.6-0.1-1.1-0.4-1.6-0.7c-0.5-0.3-0.9-0.7-1.2-1.2c-0.3-0.5-0.5-1.1-0.5-1.7h1.5c0.1,0.5,0.2,0.9,0.5,1.2 c0.2,0.3,0.5,0.6,0.9,0.8c0.3,0.2,0.7,0.3,1.1,0.4c0.4,0.1,0.8,0.1,1.2,0.1c1.4,0,2.5-0.4,3.1-1.2c0.6-0.8,1-2,1-3.5v-1.7h0 c-0.4,0.8-0.9,1.4-1.6,1.9c-0.7,0.5-1.5,0.7-2.4,0.7c-1,0-1.9-0.2-2.6-0.5C8.7,15,8.1,14.5,7.7,14c-0.5-0.6-0.8-1.3-1-2.1 c-0.2-0.8-0.3-1.6-0.3-2.5c0-0.9,0.1-1.7,0.4-2.5c0.3-0.8,0.6-1.5,1.1-2c0.5-0.6,1.1-1,1.8-1.4C10.3,3.2,11.1,3,12,3 c0.5,0,0.9,0.1,1.3,0.2c0.4,0.1,0.8,0.3,1.1,0.5c0.3,0.2,0.6,0.5,0.9,0.8c0.3,0.3,0.5,0.6,0.6,1h0V3.4h1.5V15 C17.6,15.9,17.5,16.7,17.3,17.5z M13.8,14.1c0.5-0.3,0.9-0.7,1.3-1.1c0.3-0.5,0.6-1,0.8-1.6c0.2-0.6,0.3-1.2,0.3-1.9 c0-0.6-0.1-1.2-0.2-1.9c-0.1-0.6-0.4-1.2-0.7-1.7c-0.3-0.5-0.7-0.9-1.3-1.2c-0.5-0.3-1.1-0.5-1.9-0.5s-1.4,0.2-1.9,0.5 c-0.5,0.3-1,0.7-1.3,1.2C8.5,6.4,8.3,7,8.1,7.6C8,8.2,7.9,8.9,7.9,9.5c0,0.6,0.1,1.3,0.2,1.9C8.3,12,8.6,12.5,8.9,13 c0.3,0.5,0.8,0.8,1.3,1.1c0.5,0.3,1.1,0.4,1.9,0.4C12.7,14.5,13.3,14.4,13.8,14.1z"}))},{name:"google",attributes:{service:"google"},title:"Google",icon:()=>(0,Fe.createElement)(De.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},(0,Fe.createElement)(De.Path,{d:"M12.02,10.18v3.72v0.01h5.51c-0.26,1.57-1.67,4.22-5.5,4.22c-3.31,0-6.01-2.75-6.01-6.12s2.7-6.12,6.01-6.12 c1.87,0,3.13,0.8,3.85,1.48l2.84-2.76C16.99,2.99,14.73,2,12.03,2c-5.52,0-10,4.48-10,10s4.48,10,10,10c5.77,0,9.6-4.06,9.6-9.77 c0-0.83-0.11-1.42-0.25-2.05H12.02z"}))},{name:"github",attributes:{service:"github"},title:"GitHub",icon:()=>(0,Fe.createElement)(De.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},(0,Fe.createElement)(De.Path,{d:"M12,2C6.477,2,2,6.477,2,12c0,4.419,2.865,8.166,6.839,9.489c0.5,0.09,0.682-0.218,0.682-0.484 c0-0.236-0.009-0.866-0.014-1.699c-2.782,0.602-3.369-1.34-3.369-1.34c-0.455-1.157-1.11-1.465-1.11-1.465 c-0.909-0.62,0.069-0.608,0.069-0.608c1.004,0.071,1.532,1.03,1.532,1.03c0.891,1.529,2.341,1.089,2.91,0.833 c0.091-0.647,0.349-1.086,0.635-1.337c-2.22-0.251-4.555-1.111-4.555-4.943c0-1.091,0.39-1.984,1.03-2.682 C6.546,8.54,6.202,7.524,6.746,6.148c0,0,0.84-0.269,2.75,1.025C10.295,6.95,11.15,6.84,12,6.836 c0.85,0.004,1.705,0.114,2.504,0.336c1.909-1.294,2.748-1.025,2.748-1.025c0.546,1.376,0.202,2.394,0.1,2.646 c0.64,0.699,1.026,1.591,1.026,2.682c0,3.841-2.337,4.687-4.565,4.935c0.359,0.307,0.679,0.917,0.679,1.852 c0,1.335-0.012,2.415-0.012,2.741c0,0.269,0.18,0.579,0.688,0.481C19.138,20.161,22,16.416,22,12C22,6.477,17.523,2,12,2z"}))},{name:"instagram",attributes:{service:"instagram"},title:"Instagram",icon:()=>(0,Fe.createElement)(De.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},(0,Fe.createElement)(De.Path,{d:"M12,4.622c2.403,0,2.688,0.009,3.637,0.052c0.877,0.04,1.354,0.187,1.671,0.31c0.42,0.163,0.72,0.358,1.035,0.673 c0.315,0.315,0.51,0.615,0.673,1.035c0.123,0.317,0.27,0.794,0.31,1.671c0.043,0.949,0.052,1.234,0.052,3.637 s-0.009,2.688-0.052,3.637c-0.04,0.877-0.187,1.354-0.31,1.671c-0.163,0.42-0.358,0.72-0.673,1.035 c-0.315,0.315-0.615,0.51-1.035,0.673c-0.317,0.123-0.794,0.27-1.671,0.31c-0.949,0.043-1.233,0.052-3.637,0.052 s-2.688-0.009-3.637-0.052c-0.877-0.04-1.354-0.187-1.671-0.31c-0.42-0.163-0.72-0.358-1.035-0.673 c-0.315-0.315-0.51-0.615-0.673-1.035c-0.123-0.317-0.27-0.794-0.31-1.671C4.631,14.688,4.622,14.403,4.622,12 s0.009-2.688,0.052-3.637c0.04-0.877,0.187-1.354,0.31-1.671c0.163-0.42,0.358-0.72,0.673-1.035 c0.315-0.315,0.615-0.51,1.035-0.673c0.317-0.123,0.794-0.27,1.671-0.31C9.312,4.631,9.597,4.622,12,4.622 M12,3 C9.556,3,9.249,3.01,8.289,3.054C7.331,3.098,6.677,3.25,6.105,3.472C5.513,3.702,5.011,4.01,4.511,4.511 c-0.5,0.5-0.808,1.002-1.038,1.594C3.25,6.677,3.098,7.331,3.054,8.289C3.01,9.249,3,9.556,3,12c0,2.444,0.01,2.751,0.054,3.711 c0.044,0.958,0.196,1.612,0.418,2.185c0.23,0.592,0.538,1.094,1.038,1.594c0.5,0.5,1.002,0.808,1.594,1.038 c0.572,0.222,1.227,0.375,2.185,0.418C9.249,20.99,9.556,21,12,21s2.751-0.01,3.711-0.054c0.958-0.044,1.612-0.196,2.185-0.418 c0.592-0.23,1.094-0.538,1.594-1.038c0.5-0.5,0.808-1.002,1.038-1.594c0.222-0.572,0.375-1.227,0.418-2.185 C20.99,14.751,21,14.444,21,12s-0.01-2.751-0.054-3.711c-0.044-0.958-0.196-1.612-0.418-2.185c-0.23-0.592-0.538-1.094-1.038-1.594 c-0.5-0.5-1.002-0.808-1.594-1.038c-0.572-0.222-1.227-0.375-2.185-0.418C14.751,3.01,14.444,3,12,3L12,3z M12,7.378 c-2.552,0-4.622,2.069-4.622,4.622S9.448,16.622,12,16.622s4.622-2.069,4.622-4.622S14.552,7.378,12,7.378z M12,15 c-1.657,0-3-1.343-3-3s1.343-3,3-3s3,1.343,3,3S13.657,15,12,15z M16.804,6.116c-0.596,0-1.08,0.484-1.08,1.08 s0.484,1.08,1.08,1.08c0.596,0,1.08-0.484,1.08-1.08S17.401,6.116,16.804,6.116z"}))},{name:"lastfm",attributes:{service:"lastfm"},title:"Last.fm",icon:()=>(0,Fe.createElement)(De.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},(0,Fe.createElement)(De.Path,{d:"M 12.0002 1.5 C 6.2006 1.5 1.5 6.2011 1.5 11.9998 C 1.5 17.799 6.2006 22.5 12.0002 22.5 C 17.799 22.5 22.5 17.799 22.5 11.9998 C 22.5 6.2011 17.799 1.5 12.0002 1.5 Z M 16.1974 16.2204 C 14.8164 16.2152 13.9346 15.587 13.3345 14.1859 L 13.1816 13.8451 L 11.8541 10.8101 C 11.4271 9.7688 10.3526 9.0712 9.1801 9.0712 C 7.5695 9.0712 6.2593 10.3851 6.2593 12.001 C 6.2593 13.6165 7.5695 14.9303 9.1801 14.9303 C 10.272 14.9303 11.2651 14.3275 11.772 13.3567 C 11.7893 13.3235 11.8239 13.302 11.863 13.3038 C 11.9007 13.3054 11.9353 13.3288 11.9504 13.3632 L 12.4865 14.6046 C 12.5016 14.639 12.4956 14.6778 12.4723 14.7069 C 11.6605 15.6995 10.4602 16.2683 9.1801 16.2683 C 6.8331 16.2683 4.9234 14.3536 4.9234 12.001 C 4.9234 9.6468 6.833 7.732 9.1801 7.732 C 10.9572 7.732 12.3909 8.6907 13.1138 10.3636 C 13.1206 10.3802 13.8412 12.0708 14.4744 13.5191 C 14.8486 14.374 15.1462 14.896 16.1288 14.9292 C 17.0663 14.9613 17.7538 14.4122 17.7538 13.6485 C 17.7538 12.9691 17.3321 12.8004 16.3803 12.4822 C 14.7365 11.9398 13.845 11.3861 13.845 10.0182 C 13.845 8.6809 14.7667 7.8162 16.192 7.8162 C 17.1288 7.8162 17.8155 8.2287 18.2921 9.0768 C 18.305 9.1006 18.3079 9.1281 18.3004 9.1542 C 18.2929 9.1803 18.2748 9.2021 18.2507 9.2138 L 17.3614 9.669 C 17.3178 9.692 17.2643 9.6781 17.2356 9.6385 C 16.9329 9.2135 16.5956 9.0251 16.1423 9.0251 C 15.5512 9.0251 15.122 9.429 15.122 9.9865 C 15.122 10.6738 15.6529 10.8414 16.5339 11.1192 C 16.6491 11.1558 16.7696 11.194 16.8939 11.2343 C 18.2763 11.6865 19.0768 12.2311 19.0768 13.6836 C 19.0769 15.1297 17.8389 16.2204 16.1974 16.2204 Z"}))},{name:"linkedin",attributes:{service:"linkedin"},title:"LinkedIn",icon:()=>(0,Fe.createElement)(De.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},(0,Fe.createElement)(De.Path,{d:"M19.7,3H4.3C3.582,3,3,3.582,3,4.3v15.4C3,20.418,3.582,21,4.3,21h15.4c0.718,0,1.3-0.582,1.3-1.3V4.3 C21,3.582,20.418,3,19.7,3z M8.339,18.338H5.667v-8.59h2.672V18.338z M7.004,8.574c-0.857,0-1.549-0.694-1.549-1.548 c0-0.855,0.691-1.548,1.549-1.548c0.854,0,1.547,0.694,1.547,1.548C8.551,7.881,7.858,8.574,7.004,8.574z M18.339,18.338h-2.669 v-4.177c0-0.996-0.017-2.278-1.387-2.278c-1.389,0-1.601,1.086-1.601,2.206v4.249h-2.667v-8.59h2.559v1.174h0.037 c0.356-0.675,1.227-1.387,2.526-1.387c2.703,0,3.203,1.779,3.203,4.092V18.338z"}))},{name:"mail",attributes:{service:"mail"},title:"Mail",keywords:["email","e-mail"],icon:()=>(0,Fe.createElement)(De.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},(0,Fe.createElement)(De.Path,{d:"M20,4H4C2.895,4,2,4.895,2,6v12c0,1.105,0.895,2,2,2h16c1.105,0,2-0.895,2-2V6C22,4.895,21.105,4,20,4z M20,8.236l-8,4.882 L4,8.236V6h16V8.236z"}))},{name:"mastodon",attributes:{service:"mastodon"},title:"Mastodon",icon:()=>(0,Fe.createElement)(De.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},(0,Fe.createElement)(De.Path,{d:"M23.193 7.879c0-5.206-3.411-6.732-3.411-6.732C18.062.357 15.108.025 12.041 0h-.076c-3.068.025-6.02.357-7.74 1.147 0 0-3.411 1.526-3.411 6.732 0 1.192-.023 2.618.015 4.129.124 5.092.934 10.109 5.641 11.355 2.17.574 4.034.695 5.535.612 2.722-.15 4.25-.972 4.25-.972l-.09-1.975s-1.945.613-4.129.539c-2.165-.074-4.449-.233-4.799-2.891a5.499 5.499 0 0 1-.048-.745s2.125.52 4.817.643c1.646.075 3.19-.097 4.758-.283 3.007-.359 5.625-2.212 5.954-3.905.517-2.665.475-6.507.475-6.507zm-4.024 6.709h-2.497V8.469c0-1.29-.543-1.944-1.628-1.944-1.2 0-1.802.776-1.802 2.312v3.349h-2.483v-3.35c0-1.536-.602-2.312-1.802-2.312-1.085 0-1.628.655-1.628 1.944v6.119H4.832V8.284c0-1.289.328-2.313.987-3.07.68-.758 1.569-1.146 2.674-1.146 1.278 0 2.246.491 2.886 1.474L12 6.585l.622-1.043c.64-.983 1.608-1.474 2.886-1.474 1.104 0 1.994.388 2.674 1.146.658.757.986 1.781.986 3.07v6.304z"}))},{name:"meetup",attributes:{service:"meetup"},title:"Meetup",icon:()=>(0,Fe.createElement)(De.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},(0,Fe.createElement)(De.Path,{d:"M19.24775,14.722a3.57032,3.57032,0,0,1-2.94457,3.52073,3.61886,3.61886,0,0,1-.64652.05634c-.07314-.0008-.10187.02846-.12507.09547A2.38881,2.38881,0,0,1,13.49453,20.094a2.33092,2.33092,0,0,1-1.827-.50716.13635.13635,0,0,0-.19878-.00408,3.191,3.191,0,0,1-2.104.60248,3.26309,3.26309,0,0,1-3.00324-2.71993,2.19076,2.19076,0,0,1-.03512-.30865c-.00156-.08579-.03413-.1189-.11608-.13493a2.86421,2.86421,0,0,1-1.23189-.56111,2.945,2.945,0,0,1-1.166-2.05749,2.97484,2.97484,0,0,1,.87524-2.50774.112.112,0,0,0,.02091-.16107,2.7213,2.7213,0,0,1-.36648-1.48A2.81256,2.81256,0,0,1,6.57673,7.58838a.35764.35764,0,0,0,.28869-.22819,4.2208,4.2208,0,0,1,6.02892-1.90111.25161.25161,0,0,0,.22023.0243,3.65608,3.65608,0,0,1,3.76031.90678A3.57244,3.57244,0,0,1,17.95918,8.626a2.97339,2.97339,0,0,1,.01829.57356.10637.10637,0,0,0,.0853.12792,1.97669,1.97669,0,0,1,1.27939,1.33733,2.00266,2.00266,0,0,1-.57112,2.12652c-.05284.05166-.04168.08328-.01173.13489A3.51189,3.51189,0,0,1,19.24775,14.722Zm-6.35959-.27836a1.6984,1.6984,0,0,0,1.14556,1.61113,3.82039,3.82039,0,0,0,1.036.17935,1.46888,1.46888,0,0,0,.73509-.12255.44082.44082,0,0,0,.26057-.44274.45312.45312,0,0,0-.29211-.43375.97191.97191,0,0,0-.20678-.063c-.21326-.03806-.42754-.0701-.63973-.11215a.54787.54787,0,0,1-.50172-.60926,2.75864,2.75864,0,0,1,.1773-.901c.1763-.535.414-1.045.64183-1.55913A12.686,12.686,0,0,0,15.85,10.47863a1.58461,1.58461,0,0,0,.04861-.87208,1.04531,1.04531,0,0,0-.85432-.83981,1.60658,1.60658,0,0,0-1.23654.16594.27593.27593,0,0,1-.36286-.03413c-.085-.0747-.16594-.15379-.24918-.23055a.98682.98682,0,0,0-1.33577-.04933,6.1468,6.1468,0,0,1-.4989.41615.47762.47762,0,0,1-.51535.03566c-.17448-.09307-.35512-.175-.53531-.25665a1.74949,1.74949,0,0,0-.56476-.2016,1.69943,1.69943,0,0,0-1.61654.91787,8.05815,8.05815,0,0,0-.32952.80126c-.45471,1.2557-.82507,2.53825-1.20838,3.81639a1.24151,1.24151,0,0,0,.51532,1.44389,1.42659,1.42659,0,0,0,1.22008.17166,1.09728,1.09728,0,0,0,.66994-.69764c.44145-1.04111.839-2.09989,1.25981-3.14926.11581-.28876.22792-.57874.35078-.86438a.44548.44548,0,0,1,.69189-.19539.50521.50521,0,0,1,.15044.43836,1.75625,1.75625,0,0,1-.14731.50453c-.27379.69219-.55265,1.38236-.82766,2.074a2.0836,2.0836,0,0,0-.14038.42876.50719.50719,0,0,0,.27082.57722.87236.87236,0,0,0,.66145.02739.99137.99137,0,0,0,.53406-.532q.61571-1.20914,1.228-2.42031.28423-.55863.57585-1.1133a.87189.87189,0,0,1,.29055-.35253.34987.34987,0,0,1,.37634-.01265.30291.30291,0,0,1,.12434.31459.56716.56716,0,0,1-.04655.1915c-.05318.12739-.10286.25669-.16183.38156-.34118.71775-.68754,1.43273-1.02568,2.152A2.00213,2.00213,0,0,0,12.88816,14.44366Zm4.78568,5.28972a.88573.88573,0,0,0-1.77139.00465.8857.8857,0,0,0,1.77139-.00465Zm-14.83838-7.296a.84329.84329,0,1,0,.00827-1.68655.8433.8433,0,0,0-.00827,1.68655Zm10.366-9.43673a.83506.83506,0,1,0-.0091,1.67.83505.83505,0,0,0,.0091-1.67Zm6.85014,5.22a.71651.71651,0,0,0-1.433.0093.71656.71656,0,0,0,1.433-.0093ZM5.37528,6.17908A.63823.63823,0,1,0,6.015,5.54483.62292.62292,0,0,0,5.37528,6.17908Zm6.68214,14.80843a.54949.54949,0,1,0-.55052.541A.54556.54556,0,0,0,12.05742,20.98752Zm8.53235-8.49689a.54777.54777,0,0,0-.54027.54023.53327.53327,0,0,0,.532.52293.51548.51548,0,0,0,.53272-.5237A.53187.53187,0,0,0,20.58977,12.49063ZM7.82846,2.4715a.44927.44927,0,1,0,.44484.44766A.43821.43821,0,0,0,7.82846,2.4715Zm13.775,7.60492a.41186.41186,0,0,0-.40065.39623.40178.40178,0,0,0,.40168.40168A.38994.38994,0,0,0,22,10.48172.39946.39946,0,0,0,21.60349,10.07642ZM5.79193,17.96207a.40469.40469,0,0,0-.397-.39646.399.399,0,0,0-.396.405.39234.39234,0,0,0,.39939.389A.39857.39857,0,0,0,5.79193,17.96207Z"}))},{name:"medium",attributes:{service:"medium"},title:"Medium",icon:()=>(0,Fe.createElement)(De.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},(0,Fe.createElement)(De.Path,{d:"M20.962,7.257l-5.457,8.867l-3.923-6.375l3.126-5.08c0.112-0.182,0.319-0.286,0.527-0.286c0.05,0,0.1,0.008,0.149,0.02 c0.039,0.01,0.078,0.023,0.114,0.041l5.43,2.715l0.006,0.003c0.004,0.002,0.007,0.006,0.011,0.008 C20.971,7.191,20.98,7.227,20.962,7.257z M9.86,8.592v5.783l5.14,2.57L9.86,8.592z M15.772,17.331l4.231,2.115 C20.554,19.721,21,19.529,21,19.016V8.835L15.772,17.331z M8.968,7.178L3.665,4.527C3.569,4.479,3.478,4.456,3.395,4.456 C3.163,4.456,3,4.636,3,4.938v11.45c0,0.306,0.224,0.669,0.498,0.806l4.671,2.335c0.12,0.06,0.234,0.088,0.337,0.088 c0.29,0,0.494-0.225,0.494-0.602V7.231C9,7.208,8.988,7.188,8.968,7.178z"}))},{name:"patreon",attributes:{service:"patreon"},title:"Patreon",icon:()=>(0,Fe.createElement)(De.SVG,{width:"24",height:"24",viewBox:"0 0 569 546",version:"1.1"},(0,Fe.createElement)(De.Circle,{cx:"363",cy:"205",r:"205"}),(0,Fe.createElement)(De.Rect,{width:"100",height:"546",x:"0",y:"0"}))},{name:"pinterest",attributes:{service:"pinterest"},title:"Pinterest",icon:()=>(0,Fe.createElement)(De.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},(0,Fe.createElement)(De.Path,{d:"M12.289,2C6.617,2,3.606,5.648,3.606,9.622c0,1.846,1.025,4.146,2.666,4.878c0.25,0.111,0.381,0.063,0.439-0.169 c0.044-0.175,0.267-1.029,0.365-1.428c0.032-0.128,0.017-0.237-0.091-0.362C6.445,11.911,6.01,10.75,6.01,9.668 c0-2.777,2.194-5.464,5.933-5.464c3.23,0,5.49,2.108,5.49,5.122c0,3.407-1.794,5.768-4.13,5.768c-1.291,0-2.257-1.021-1.948-2.277 c0.372-1.495,1.089-3.112,1.089-4.191c0-0.967-0.542-1.775-1.663-1.775c-1.319,0-2.379,1.309-2.379,3.059 c0,1.115,0.394,1.869,0.394,1.869s-1.302,5.279-1.54,6.261c-0.405,1.666,0.053,4.368,0.094,4.604 c0.021,0.126,0.167,0.169,0.25,0.063c0.129-0.165,1.699-2.419,2.142-4.051c0.158-0.59,0.817-2.995,0.817-2.995 c0.43,0.784,1.681,1.446,3.013,1.446c3.963,0,6.822-3.494,6.822-7.833C20.394,5.112,16.849,2,12.289,2"}))},{name:"pocket",attributes:{service:"pocket"},title:"Pocket",icon:()=>(0,Fe.createElement)(De.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},(0,Fe.createElement)(De.Path,{d:"M21.927,4.194C21.667,3.48,20.982,3,20.222,3h-0.01h-1.721H3.839C3.092,3,2.411,3.47,2.145,4.17 C2.066,4.378,2.026,4.594,2.026,4.814v6.035l0.069,1.2c0.29,2.73,1.707,5.115,3.899,6.778c0.039,0.03,0.079,0.059,0.119,0.089 l0.025,0.018c1.175,0.859,2.491,1.441,3.91,1.727c0.655,0.132,1.325,0.2,1.991,0.2c0.615,0,1.232-0.057,1.839-0.17 c0.073-0.014,0.145-0.028,0.219-0.044c0.02-0.004,0.042-0.012,0.064-0.023c1.359-0.297,2.621-0.864,3.753-1.691l0.025-0.018 c0.04-0.029,0.08-0.058,0.119-0.089c2.192-1.664,3.609-4.049,3.898-6.778l0.069-1.2V4.814C22.026,4.605,22,4.398,21.927,4.194z M17.692,10.481l-4.704,4.512c-0.266,0.254-0.608,0.382-0.949,0.382c-0.342,0-0.684-0.128-0.949-0.382l-4.705-4.512 C5.838,9.957,5.82,9.089,6.344,8.542c0.524-0.547,1.392-0.565,1.939-0.04l3.756,3.601l3.755-3.601 c0.547-0.524,1.415-0.506,1.939,0.04C18.256,9.089,18.238,9.956,17.692,10.481z"}))},{name:"reddit",attributes:{service:"reddit"},title:"Reddit",icon:()=>(0,Fe.createElement)(De.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},(0,Fe.createElement)(De.Path,{d:"M22,11.816c0-1.256-1.021-2.277-2.277-2.277c-0.593,0-1.122,0.24-1.526,0.614c-1.481-0.965-3.455-1.594-5.647-1.69 l1.171-3.702l3.18,0.748c0.008,1.028,0.846,1.862,1.876,1.862c1.035,0,1.877-0.842,1.877-1.878c0-1.035-0.842-1.877-1.877-1.877 c-0.769,0-1.431,0.466-1.72,1.13l-3.508-0.826c-0.203-0.047-0.399,0.067-0.46,0.261l-1.35,4.268 c-2.316,0.038-4.411,0.67-5.97,1.671C5.368,9.765,4.853,9.539,4.277,9.539C3.021,9.539,2,10.56,2,11.816 c0,0.814,0.433,1.523,1.078,1.925c-0.037,0.221-0.061,0.444-0.061,0.672c0,3.292,4.011,5.97,8.941,5.97s8.941-2.678,8.941-5.97 c0-0.214-0.02-0.424-0.053-0.632C21.533,13.39,22,12.661,22,11.816z M18.776,4.394c0.606,0,1.1,0.493,1.1,1.1s-0.493,1.1-1.1,1.1 s-1.1-0.494-1.1-1.1S18.169,4.394,18.776,4.394z M2.777,11.816c0-0.827,0.672-1.5,1.499-1.5c0.313,0,0.598,0.103,0.838,0.269 c-0.851,0.676-1.477,1.479-1.812,2.36C2.983,12.672,2.777,12.27,2.777,11.816z M11.959,19.606c-4.501,0-8.164-2.329-8.164-5.193 S7.457,9.22,11.959,9.22s8.164,2.329,8.164,5.193S16.46,19.606,11.959,19.606z M20.636,13.001c-0.326-0.89-0.948-1.701-1.797-2.384 c0.248-0.186,0.55-0.301,0.883-0.301c0.827,0,1.5,0.673,1.5,1.5C21.223,12.299,20.992,12.727,20.636,13.001z M8.996,14.704 c-0.76,0-1.397-0.616-1.397-1.376c0-0.76,0.637-1.397,1.397-1.397c0.76,0,1.376,0.637,1.376,1.397 C10.372,14.088,9.756,14.704,8.996,14.704z M16.401,13.328c0,0.76-0.616,1.376-1.376,1.376c-0.76,0-1.399-0.616-1.399-1.376 c0-0.76,0.639-1.397,1.399-1.397C15.785,11.931,16.401,12.568,16.401,13.328z M15.229,16.708c0.152,0.152,0.152,0.398,0,0.55 c-0.674,0.674-1.727,1.002-3.219,1.002c-0.004,0-0.007-0.002-0.011-0.002c-0.004,0-0.007,0.002-0.011,0.002 c-1.492,0-2.544-0.328-3.218-1.002c-0.152-0.152-0.152-0.398,0-0.55c0.152-0.152,0.399-0.151,0.55,0 c0.521,0.521,1.394,0.775,2.669,0.775c0.004,0,0.007,0.002,0.011,0.002c0.004,0,0.007-0.002,0.011-0.002 c1.275,0,2.148-0.253,2.669-0.775C14.831,16.556,15.078,16.556,15.229,16.708z"}))},{name:"skype",attributes:{service:"skype"},title:"Skype",icon:()=>(0,Fe.createElement)(De.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},(0,Fe.createElement)(De.Path,{d:"M10.113,2.699c0.033-0.006,0.067-0.013,0.1-0.02c0.033,0.017,0.066,0.033,0.098,0.051L10.113,2.699z M2.72,10.223 c-0.006,0.034-0.011,0.069-0.017,0.103c0.018,0.032,0.033,0.064,0.051,0.095L2.72,10.223z M21.275,13.771 c0.007-0.035,0.011-0.071,0.018-0.106c-0.018-0.031-0.033-0.064-0.052-0.095L21.275,13.771z M13.563,21.199 c0.032,0.019,0.065,0.035,0.096,0.053c0.036-0.006,0.071-0.011,0.105-0.017L13.563,21.199z M22,16.386 c0,1.494-0.581,2.898-1.637,3.953c-1.056,1.057-2.459,1.637-3.953,1.637c-0.967,0-1.914-0.251-2.75-0.725 c0.036-0.006,0.071-0.011,0.105-0.017l-0.202-0.035c0.032,0.019,0.065,0.035,0.096,0.053c-0.543,0.096-1.099,0.147-1.654,0.147 c-1.275,0-2.512-0.25-3.676-0.743c-1.125-0.474-2.135-1.156-3.002-2.023c-0.867-0.867-1.548-1.877-2.023-3.002 c-0.493-1.164-0.743-2.401-0.743-3.676c0-0.546,0.049-1.093,0.142-1.628c0.018,0.032,0.033,0.064,0.051,0.095L2.72,10.223 c-0.006,0.034-0.011,0.069-0.017,0.103C2.244,9.5,2,8.566,2,7.615c0-1.493,0.582-2.898,1.637-3.953 c1.056-1.056,2.46-1.638,3.953-1.638c0.915,0,1.818,0.228,2.622,0.655c-0.033,0.007-0.067,0.013-0.1,0.02l0.199,0.031 c-0.032-0.018-0.066-0.034-0.098-0.051c0.002,0,0.003-0.001,0.004-0.001c0.586-0.112,1.187-0.169,1.788-0.169 c1.275,0,2.512,0.249,3.676,0.742c1.124,0.476,2.135,1.156,3.002,2.024c0.868,0.867,1.548,1.877,2.024,3.002 c0.493,1.164,0.743,2.401,0.743,3.676c0,0.575-0.054,1.15-0.157,1.712c-0.018-0.031-0.033-0.064-0.052-0.095l0.034,0.201 c0.007-0.035,0.011-0.071,0.018-0.106C21.754,14.494,22,15.432,22,16.386z M16.817,14.138c0-1.331-0.613-2.743-3.033-3.282 l-2.209-0.49c-0.84-0.192-1.807-0.444-1.807-1.237c0-0.794,0.679-1.348,1.903-1.348c2.468,0,2.243,1.696,3.468,1.696 c0.645,0,1.209-0.379,1.209-1.031c0-1.521-2.435-2.663-4.5-2.663c-2.242,0-4.63,0.952-4.63,3.488c0,1.221,0.436,2.521,2.839,3.123 l2.984,0.745c0.903,0.223,1.129,0.731,1.129,1.189c0,0.762-0.758,1.507-2.129,1.507c-2.679,0-2.307-2.062-3.743-2.062 c-0.645,0-1.113,0.444-1.113,1.078c0,1.236,1.501,2.886,4.856,2.886C15.236,17.737,16.817,16.199,16.817,14.138z"}))},{name:"snapchat",attributes:{service:"snapchat"},title:"Snapchat",icon:()=>(0,Fe.createElement)(De.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},(0,Fe.createElement)(De.Path,{d:"M12.065,2a5.526,5.526,0,0,1,3.132.892A5.854,5.854,0,0,1,17.326,5.4a5.821,5.821,0,0,1,.351,2.33q0,.612-.117,2.487a.809.809,0,0,0,.365.091,1.93,1.93,0,0,0,.664-.176,1.93,1.93,0,0,1,.664-.176,1.3,1.3,0,0,1,.729.234.7.7,0,0,1,.351.6.839.839,0,0,1-.41.7,2.732,2.732,0,0,1-.9.41,3.192,3.192,0,0,0-.9.378.728.728,0,0,0-.41.618,1.575,1.575,0,0,0,.156.56,6.9,6.9,0,0,0,1.334,1.953,5.6,5.6,0,0,0,1.881,1.315,5.875,5.875,0,0,0,1.042.3.42.42,0,0,1,.365.456q0,.911-2.852,1.341a1.379,1.379,0,0,0-.143.507,1.8,1.8,0,0,1-.182.605.451.451,0,0,1-.429.241,5.878,5.878,0,0,1-.807-.085,5.917,5.917,0,0,0-.833-.085,4.217,4.217,0,0,0-.807.065,2.42,2.42,0,0,0-.82.293,6.682,6.682,0,0,0-.755.5q-.351.267-.755.527a3.886,3.886,0,0,1-.989.436A4.471,4.471,0,0,1,11.831,22a4.307,4.307,0,0,1-1.256-.176,3.784,3.784,0,0,1-.976-.436q-.4-.26-.749-.527a6.682,6.682,0,0,0-.755-.5,2.422,2.422,0,0,0-.807-.293,4.432,4.432,0,0,0-.82-.065,5.089,5.089,0,0,0-.853.1,5,5,0,0,1-.762.1.474.474,0,0,1-.456-.241,1.819,1.819,0,0,1-.182-.618,1.411,1.411,0,0,0-.143-.521q-2.852-.429-2.852-1.341a.42.42,0,0,1,.365-.456,5.793,5.793,0,0,0,1.042-.3,5.524,5.524,0,0,0,1.881-1.315,6.789,6.789,0,0,0,1.334-1.953A1.575,1.575,0,0,0,6,12.9a.728.728,0,0,0-.41-.618,3.323,3.323,0,0,0-.9-.384,2.912,2.912,0,0,1-.9-.41.814.814,0,0,1-.41-.684.71.71,0,0,1,.338-.593,1.208,1.208,0,0,1,.716-.241,1.976,1.976,0,0,1,.625.169,2.008,2.008,0,0,0,.69.169.919.919,0,0,0,.416-.091q-.117-1.849-.117-2.474A5.861,5.861,0,0,1,6.385,5.4,5.516,5.516,0,0,1,8.625,2.819,7.075,7.075,0,0,1,12.062,2Z"}))},{name:"soundcloud",attributes:{service:"soundcloud"},title:"SoundCloud",icon:()=>(0,Fe.createElement)(De.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},(0,Fe.createElement)(De.Path,{d:"M8.9,16.1L9,14L8.9,9.5c0-0.1,0-0.1-0.1-0.1c0,0-0.1-0.1-0.1-0.1c-0.1,0-0.1,0-0.1,0.1c0,0-0.1,0.1-0.1,0.1L8.3,14l0.1,2.1 c0,0.1,0,0.1,0.1,0.1c0,0,0.1,0.1,0.1,0.1C8.8,16.3,8.9,16.3,8.9,16.1z M11.4,15.9l0.1-1.8L11.4,9c0-0.1,0-0.2-0.1-0.2 c0,0-0.1,0-0.1,0s-0.1,0-0.1,0c-0.1,0-0.1,0.1-0.1,0.2l0,0.1l-0.1,5c0,0,0,0.7,0.1,2v0c0,0.1,0,0.1,0.1,0.1c0.1,0.1,0.1,0.1,0.2,0.1 c0.1,0,0.1,0,0.2-0.1c0.1,0,0.1-0.1,0.1-0.2L11.4,15.9z M2.4,12.9L2.5,14l-0.2,1.1c0,0.1,0,0.1-0.1,0.1c0,0-0.1,0-0.1-0.1L2.1,14 l0.1-1.1C2.2,12.9,2.3,12.9,2.4,12.9C2.3,12.9,2.4,12.9,2.4,12.9z M3.1,12.2L3.3,14l-0.2,1.8c0,0.1,0,0.1-0.1,0.1 c-0.1,0-0.1,0-0.1-0.1L2.8,14L3,12.2C3,12.2,3,12.2,3.1,12.2C3.1,12.2,3.1,12.2,3.1,12.2z M3.9,11.9L4.1,14l-0.2,2.1 c0,0.1,0,0.1-0.1,0.1c-0.1,0-0.1,0-0.1-0.1L3.5,14l0.2-2.1c0-0.1,0-0.1,0.1-0.1C3.9,11.8,3.9,11.8,3.9,11.9z M4.7,11.9L4.9,14 l-0.2,2.1c0,0.1-0.1,0.1-0.1,0.1c-0.1,0-0.1,0-0.1-0.1L4.3,14l0.2-2.2c0-0.1,0-0.1,0.1-0.1C4.7,11.7,4.7,11.8,4.7,11.9z M5.6,12 l0.2,2l-0.2,2.1c0,0.1-0.1,0.1-0.1,0.1c0,0-0.1,0-0.1,0c0,0,0-0.1,0-0.1L5.1,14l0.2-2c0,0,0-0.1,0-0.1s0.1,0,0.1,0 C5.5,11.9,5.5,11.9,5.6,12L5.6,12z M6.4,10.7L6.6,14l-0.2,2.1c0,0,0,0.1,0,0.1c0,0-0.1,0-0.1,0c-0.1,0-0.1-0.1-0.2-0.2L5.9,14 l0.2-3.3c0-0.1,0.1-0.2,0.2-0.2c0,0,0.1,0,0.1,0C6.4,10.7,6.4,10.7,6.4,10.7z M7.2,10l0.2,4.1l-0.2,2.1c0,0,0,0.1,0,0.1 c0,0-0.1,0-0.1,0c-0.1,0-0.2-0.1-0.2-0.2l-0.1-2.1L6.8,10c0-0.1,0.1-0.2,0.2-0.2c0,0,0.1,0,0.1,0S7.2,9.9,7.2,10z M8,9.6L8.2,14 L8,16.1c0,0.1-0.1,0.2-0.2,0.2c-0.1,0-0.2-0.1-0.2-0.2L7.5,14l0.1-4.4c0-0.1,0-0.1,0.1-0.1c0,0,0.1-0.1,0.1-0.1c0.1,0,0.1,0,0.1,0.1 C8,9.6,8,9.6,8,9.6z M11.4,16.1L11.4,16.1L11.4,16.1z M9.7,9.6L9.8,14l-0.1,2.1c0,0.1,0,0.1-0.1,0.2s-0.1,0.1-0.2,0.1 c-0.1,0-0.1,0-0.1-0.1s-0.1-0.1-0.1-0.2L9.2,14l0.1-4.4c0-0.1,0-0.1,0.1-0.2s0.1-0.1,0.2-0.1c0.1,0,0.1,0,0.2,0.1S9.7,9.5,9.7,9.6 L9.7,9.6z M10.6,9.8l0.1,4.3l-0.1,2c0,0.1,0,0.1-0.1,0.2c0,0-0.1,0.1-0.2,0.1c-0.1,0-0.1,0-0.2-0.1c0,0-0.1-0.1-0.1-0.2L10,14 l0.1-4.3c0-0.1,0-0.1,0.1-0.2c0,0,0.1-0.1,0.2-0.1c0.1,0,0.1,0,0.2,0.1S10.6,9.7,10.6,9.8z M12.4,14l-0.1,2c0,0.1,0,0.1-0.1,0.2 c-0.1,0.1-0.1,0.1-0.2,0.1c-0.1,0-0.1,0-0.2-0.1c-0.1-0.1-0.1-0.1-0.1-0.2l-0.1-1l-0.1-1l0.1-5.5v0c0-0.1,0-0.2,0.1-0.2 c0.1,0,0.1-0.1,0.2-0.1c0,0,0.1,0,0.1,0c0.1,0,0.1,0.1,0.1,0.2L12.4,14z M22.1,13.9c0,0.7-0.2,1.3-0.7,1.7c-0.5,0.5-1.1,0.7-1.7,0.7 h-6.8c-0.1,0-0.1,0-0.2-0.1c-0.1-0.1-0.1-0.1-0.1-0.2V8.2c0-0.1,0.1-0.2,0.2-0.3c0.5-0.2,1-0.3,1.6-0.3c1.1,0,2.1,0.4,2.9,1.1 c0.8,0.8,1.3,1.7,1.4,2.8c0.3-0.1,0.6-0.2,1-0.2c0.7,0,1.3,0.2,1.7,0.7C21.8,12.6,22.1,13.2,22.1,13.9L22.1,13.9z"}))},{name:"spotify",attributes:{service:"spotify"},title:"Spotify",icon:()=>(0,Fe.createElement)(De.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},(0,Fe.createElement)(De.Path,{d:"M12,2C6.477,2,2,6.477,2,12c0,5.523,4.477,10,10,10c5.523,0,10-4.477,10-10C22,6.477,17.523,2,12,2 M16.586,16.424 c-0.18,0.295-0.563,0.387-0.857,0.207c-2.348-1.435-5.304-1.76-8.785-0.964c-0.335,0.077-0.67-0.133-0.746-0.469 c-0.077-0.335,0.132-0.67,0.469-0.746c3.809-0.871,7.077-0.496,9.713,1.115C16.673,15.746,16.766,16.13,16.586,16.424 M17.81,13.7 c-0.226,0.367-0.706,0.482-1.072,0.257c-2.687-1.652-6.785-2.131-9.965-1.166C6.36,12.917,5.925,12.684,5.8,12.273 C5.675,11.86,5.908,11.425,6.32,11.3c3.632-1.102,8.147-0.568,11.234,1.328C17.92,12.854,18.035,13.335,17.81,13.7 M17.915,10.865 c-3.223-1.914-8.54-2.09-11.618-1.156C5.804,9.859,5.281,9.58,5.131,9.086C4.982,8.591,5.26,8.069,5.755,7.919 c3.532-1.072,9.404-0.865,13.115,1.338c0.445,0.264,0.59,0.838,0.327,1.282C18.933,10.983,18.359,11.129,17.915,10.865"}))},{name:"telegram",attributes:{service:"telegram"},title:"Telegram",icon:()=>(0,Fe.createElement)(De.SVG,{width:"24",height:"24",viewBox:"0 0 128 128",version:"1.1"},(0,Fe.createElement)(De.Path,{d:"M28.9700376,63.3244248 C47.6273373,55.1957357 60.0684594,49.8368063 66.2934036,47.2476366 C84.0668845,39.855031 87.7600616,38.5708563 90.1672227,38.528 C90.6966555,38.5191258 91.8804274,38.6503351 92.6472251,39.2725385 C93.294694,39.7979149 93.4728387,40.5076237 93.5580865,41.0057381 C93.6433345,41.5038525 93.7494885,42.63857 93.6651041,43.5252052 C92.7019529,53.6451182 88.5344133,78.2034783 86.4142057,89.5379542 C85.5170662,94.3339958 83.750571,95.9420841 82.0403991,96.0994568 C78.3237996,96.4414641 75.5015827,93.6432685 71.9018743,91.2836143 C66.2690414,87.5912212 63.0868492,85.2926952 57.6192095,81.6896017 C51.3004058,77.5256038 55.3966232,75.2369981 58.9976911,71.4967761 C59.9401076,70.5179421 76.3155302,55.6232293 76.6324771,54.2720454 C76.6721165,54.1030573 76.7089039,53.4731496 76.3346867,53.1405352 C75.9604695,52.8079208 75.4081573,52.921662 75.0095933,53.0121213 C74.444641,53.1403447 65.4461175,59.0880351 48.0140228,70.8551922 C45.4598218,72.6091037 43.1463059,73.4636682 41.0734751,73.4188859 C38.7883453,73.3695169 34.3926725,72.1268388 31.1249416,71.0646282 C27.1169366,69.7617838 23.931454,69.0729605 24.208838,66.8603276 C24.3533167,65.7078514 25.9403832,64.5292172 28.9700376,63.3244248 Z"}))},{name:"tiktok",attributes:{service:"tiktok"},title:"TikTok",icon:()=>(0,Fe.createElement)(De.SVG,{width:"24",height:"24",viewBox:"0 0 32 32",version:"1.1"},(0,Fe.createElement)(De.Path,{d:"M16.708 0.027c1.745-0.027 3.48-0.011 5.213-0.027 0.105 2.041 0.839 4.12 2.333 5.563 1.491 1.479 3.6 2.156 5.652 2.385v5.369c-1.923-0.063-3.855-0.463-5.6-1.291-0.76-0.344-1.468-0.787-2.161-1.24-0.009 3.896 0.016 7.787-0.025 11.667-0.104 1.864-0.719 3.719-1.803 5.255-1.744 2.557-4.771 4.224-7.88 4.276-1.907 0.109-3.812-0.411-5.437-1.369-2.693-1.588-4.588-4.495-4.864-7.615-0.032-0.667-0.043-1.333-0.016-1.984 0.24-2.537 1.495-4.964 3.443-6.615 2.208-1.923 5.301-2.839 8.197-2.297 0.027 1.975-0.052 3.948-0.052 5.923-1.323-0.428-2.869-0.308-4.025 0.495-0.844 0.547-1.485 1.385-1.819 2.333-0.276 0.676-0.197 1.427-0.181 2.145 0.317 2.188 2.421 4.027 4.667 3.828 1.489-0.016 2.916-0.88 3.692-2.145 0.251-0.443 0.532-0.896 0.547-1.417 0.131-2.385 0.079-4.76 0.095-7.145 0.011-5.375-0.016-10.735 0.025-16.093z"}))},{name:"tumblr",attributes:{service:"tumblr"},title:"Tumblr",icon:()=>(0,Fe.createElement)(De.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},(0,Fe.createElement)(De.Path,{d:"M17.04 21.28h-3.28c-2.84 0-4.94-1.37-4.94-5.02v-5.67H6.08V7.5c2.93-.73 4.11-3.3 4.3-5.48h3.01v4.93h3.47v3.65H13.4v4.93c0 1.47.73 2.01 1.92 2.01h1.73v3.75z"}))},{name:"twitch",attributes:{service:"twitch"},title:"Twitch",icon:()=>(0,Fe.createElement)(De.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},(0,Fe.createElement)(De.Path,{d:"M16.499,8.089h-1.636v4.91h1.636V8.089z M12,8.089h-1.637v4.91H12V8.089z M4.228,3.178L3,6.451v13.092h4.499V22h2.456 l2.454-2.456h3.681L21,14.636V3.178H4.228z M19.364,13.816l-2.864,2.865H12l-2.453,2.453V16.68H5.863V4.814h13.501V13.816z"}))},{name:"twitter",attributes:{service:"twitter"},title:"Twitter",icon:()=>(0,Fe.createElement)(De.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},(0,Fe.createElement)(De.Path,{d:"M22.23,5.924c-0.736,0.326-1.527,0.547-2.357,0.646c0.847-0.508,1.498-1.312,1.804-2.27 c-0.793,0.47-1.671,0.812-2.606,0.996C18.324,4.498,17.257,4,16.077,4c-2.266,0-4.103,1.837-4.103,4.103 c0,0.322,0.036,0.635,0.106,0.935C8.67,8.867,5.647,7.234,3.623,4.751C3.27,5.357,3.067,6.062,3.067,6.814 c0,1.424,0.724,2.679,1.825,3.415c-0.673-0.021-1.305-0.206-1.859-0.513c0,0.017,0,0.034,0,0.052c0,1.988,1.414,3.647,3.292,4.023 c-0.344,0.094-0.707,0.144-1.081,0.144c-0.264,0-0.521-0.026-0.772-0.074c0.522,1.63,2.038,2.816,3.833,2.85 c-1.404,1.1-3.174,1.756-5.096,1.756c-0.331,0-0.658-0.019-0.979-0.057c1.816,1.164,3.973,1.843,6.29,1.843 c7.547,0,11.675-6.252,11.675-11.675c0-0.178-0.004-0.355-0.012-0.531C20.985,7.47,21.68,6.747,22.23,5.924z"}))},{name:"vimeo",attributes:{service:"vimeo"},title:"Vimeo",icon:()=>(0,Fe.createElement)(De.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},(0,Fe.createElement)(De.Path,{d:"M22.396,7.164c-0.093,2.026-1.507,4.799-4.245,8.32C15.322,19.161,12.928,21,10.97,21c-1.214,0-2.24-1.119-3.079-3.359 c-0.56-2.053-1.119-4.106-1.68-6.159C5.588,9.243,4.921,8.122,4.206,8.122c-0.156,0-0.701,0.328-1.634,0.98L1.594,7.841 c1.027-0.902,2.04-1.805,3.037-2.708C6.001,3.95,7.03,3.327,7.715,3.264c1.619-0.156,2.616,0.951,2.99,3.321 c0.404,2.557,0.685,4.147,0.841,4.769c0.467,2.121,0.981,3.181,1.542,3.181c0.435,0,1.09-0.688,1.963-2.065 c0.871-1.376,1.338-2.422,1.401-3.142c0.125-1.187-0.343-1.782-1.401-1.782c-0.498,0-1.012,0.115-1.541,0.341 c1.023-3.35,2.977-4.977,5.862-4.884C21.511,3.066,22.52,4.453,22.396,7.164z"}))},{name:"vk",attributes:{service:"vk"},title:"VK",icon:()=>(0,Fe.createElement)(De.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},(0,Fe.createElement)(De.Path,{d:"M22,7.1c0.2,0.4-0.4,1.5-1.6,3.1c-0.2,0.2-0.4,0.5-0.7,0.9c-0.5,0.7-0.9,1.1-0.9,1.4c-0.1,0.3-0.1,0.6,0.1,0.8 c0.1,0.1,0.4,0.4,0.8,0.9h0l0,0c1,0.9,1.6,1.7,2,2.3c0,0,0,0.1,0.1,0.1c0,0.1,0,0.1,0.1,0.3c0,0.1,0,0.2,0,0.4 c0,0.1-0.1,0.2-0.3,0.3c-0.1,0.1-0.4,0.1-0.6,0.1l-2.7,0c-0.2,0-0.4,0-0.6-0.1c-0.2-0.1-0.4-0.1-0.5-0.2l-0.2-0.1 c-0.2-0.1-0.5-0.4-0.7-0.7s-0.5-0.6-0.7-0.8c-0.2-0.2-0.4-0.4-0.6-0.6C14.8,15,14.6,15,14.4,15c0,0,0,0-0.1,0c0,0-0.1,0.1-0.2,0.2 c-0.1,0.1-0.2,0.2-0.2,0.3c-0.1,0.1-0.1,0.3-0.2,0.5c-0.1,0.2-0.1,0.5-0.1,0.8c0,0.1,0,0.2,0,0.3c0,0.1-0.1,0.2-0.1,0.2l0,0.1 c-0.1,0.1-0.3,0.2-0.6,0.2h-1.2c-0.5,0-1,0-1.5-0.2c-0.5-0.1-1-0.3-1.4-0.6s-0.7-0.5-1.1-0.7s-0.6-0.4-0.7-0.6l-0.3-0.3 c-0.1-0.1-0.2-0.2-0.3-0.3s-0.4-0.5-0.7-0.9s-0.7-1-1.1-1.6c-0.4-0.6-0.8-1.3-1.3-2.2C2.9,9.4,2.5,8.5,2.1,7.5C2,7.4,2,7.3,2,7.2 c0-0.1,0-0.1,0-0.2l0-0.1c0.1-0.1,0.3-0.2,0.6-0.2l2.9,0c0.1,0,0.2,0,0.2,0.1S5.9,6.9,5.9,7L6,7c0.1,0.1,0.2,0.2,0.3,0.3 C6.4,7.7,6.5,8,6.7,8.4C6.9,8.8,7,9,7.1,9.2l0.2,0.3c0.2,0.4,0.4,0.8,0.6,1.1c0.2,0.3,0.4,0.5,0.5,0.7s0.3,0.3,0.4,0.4 c0.1,0.1,0.3,0.1,0.4,0.1c0.1,0,0.2,0,0.3-0.1c0,0,0,0,0.1-0.1c0,0,0.1-0.1,0.1-0.2c0.1-0.1,0.1-0.3,0.1-0.5c0-0.2,0.1-0.5,0.1-0.8 c0-0.4,0-0.8,0-1.3c0-0.3,0-0.5-0.1-0.8c0-0.2-0.1-0.4-0.1-0.5L9.6,7.6C9.4,7.3,9.1,7.2,8.7,7.1C8.6,7.1,8.6,7,8.7,6.9 C8.9,6.7,9,6.6,9.1,6.5c0.4-0.2,1.2-0.3,2.5-0.3c0.6,0,1,0.1,1.4,0.1c0.1,0,0.3,0.1,0.3,0.1c0.1,0.1,0.2,0.1,0.2,0.3 c0,0.1,0.1,0.2,0.1,0.3s0,0.3,0,0.5c0,0.2,0,0.4,0,0.6c0,0.2,0,0.4,0,0.7c0,0.3,0,0.6,0,0.9c0,0.1,0,0.2,0,0.4c0,0.2,0,0.4,0,0.5 c0,0.1,0,0.3,0,0.4s0.1,0.3,0.1,0.4c0.1,0.1,0.1,0.2,0.2,0.3c0.1,0,0.1,0,0.2,0c0.1,0,0.2,0,0.3-0.1c0.1-0.1,0.2-0.2,0.4-0.4 s0.3-0.4,0.5-0.7c0.2-0.3,0.5-0.7,0.7-1.1c0.4-0.7,0.8-1.5,1.1-2.3c0-0.1,0.1-0.1,0.1-0.2c0-0.1,0.1-0.1,0.1-0.1l0,0l0.1,0 c0,0,0,0,0.1,0s0.2,0,0.2,0l3,0c0.3,0,0.5,0,0.7,0S21.9,7,21.9,7L22,7.1z"}))},{name:"yelp",attributes:{service:"yelp"},title:"Yelp",icon:()=>(0,Fe.createElement)(De.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},(0,Fe.createElement)(De.Path,{d:"M12.271,16.718v1.417q-.011,3.257-.067,3.4a.707.707,0,0,1-.569.446,4.637,4.637,0,0,1-2.024-.424A4.609,4.609,0,0,1,7.8,20.565a.844.844,0,0,1-.19-.4.692.692,0,0,1,.044-.29,3.181,3.181,0,0,1,.379-.524q.335-.412,2.019-2.409.011,0,.669-.781a.757.757,0,0,1,.44-.274.965.965,0,0,1,.552.039.945.945,0,0,1,.418.324.732.732,0,0,1,.139.468Zm-1.662-2.8a.783.783,0,0,1-.58.781l-1.339.435q-3.067.981-3.257.981a.711.711,0,0,1-.6-.4,2.636,2.636,0,0,1-.19-.836,9.134,9.134,0,0,1,.011-1.857,3.559,3.559,0,0,1,.335-1.389.659.659,0,0,1,.625-.357,22.629,22.629,0,0,1,2.253.859q.781.324,1.283.524l.937.379a.771.771,0,0,1,.4.34A.982.982,0,0,1,10.609,13.917Zm9.213,3.313a4.467,4.467,0,0,1-1.021,1.8,4.559,4.559,0,0,1-1.512,1.417.671.671,0,0,1-.7-.078q-.156-.112-2.052-3.2l-.524-.859a.761.761,0,0,1-.128-.513.957.957,0,0,1,.217-.513.774.774,0,0,1,.926-.29q.011.011,1.327.446,2.264.736,2.7.887a2.082,2.082,0,0,1,.524.229.673.673,0,0,1,.245.68Zm-7.5-7.049q.056,1.137-.6,1.361-.647.19-1.272-.792L6.237,4.08a.7.7,0,0,1,.212-.691,5.788,5.788,0,0,1,2.314-1,5.928,5.928,0,0,1,2.5-.352.681.681,0,0,1,.547.5q.034.2.245,3.407T12.327,10.181Zm7.384,1.2a.679.679,0,0,1-.29.658q-.167.112-3.67.959-.747.167-1.015.257l.011-.022a.769.769,0,0,1-.513-.044.914.914,0,0,1-.413-.357.786.786,0,0,1,0-.971q.011-.011.836-1.137,1.394-1.908,1.673-2.275a2.423,2.423,0,0,1,.379-.435A.7.7,0,0,1,17.435,8a4.482,4.482,0,0,1,1.372,1.489,4.81,4.81,0,0,1,.9,1.868v.034Z"}))},{name:"youtube",attributes:{service:"youtube"},title:"YouTube",icon:()=>(0,Fe.createElement)(De.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},(0,Fe.createElement)(De.Path,{d:"M21.8,8.001c0,0-0.195-1.378-0.795-1.985c-0.76-0.797-1.613-0.801-2.004-0.847c-2.799-0.202-6.997-0.202-6.997-0.202 h-0.009c0,0-4.198,0-6.997,0.202C4.608,5.216,3.756,5.22,2.995,6.016C2.395,6.623,2.2,8.001,2.2,8.001S2,9.62,2,11.238v1.517 c0,1.618,0.2,3.237,0.2,3.237s0.195,1.378,0.795,1.985c0.761,0.797,1.76,0.771,2.205,0.855c1.6,0.153,6.8,0.201,6.8,0.201 s4.203-0.006,7.001-0.209c0.391-0.047,1.243-0.051,2.004-0.847c0.6-0.607,0.795-1.985,0.795-1.985s0.2-1.618,0.2-3.237v-1.517 C22,9.62,21.8,8.001,21.8,8.001z M9.935,14.594l-0.001-5.62l5.404,2.82L9.935,14.594z"}))}];_h.forEach((e=>{e.isActive||(e.isActive=(e,t)=>e.service===t.service)}));var kh=_h;const wh=e=>{let{url:t,setAttributes:n,setPopover:o,anchorRef:r}=e;return(0,Fe.createElement)(Oe.URLPopover,{anchorRef:null==r?void 0:r.current,onClose:()=>o(!1)},(0,Fe.createElement)("form",{className:"block-editor-url-popover__link-editor",onSubmit:e=>{e.preventDefault(),o(!1)}},(0,Fe.createElement)("div",{className:"block-editor-url-input"},(0,Fe.createElement)(Oe.URLInput,{value:t,onChange:e=>n({url:e}),placeholder:(0,Ue.__)("Enter address"),disableSuggestions:!0})),(0,Fe.createElement)(Ge.Button,{icon:yh,label:(0,Ue.__)("Apply"),type:"submit"})))};const Eh={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:2,name:"core/social-link",title:"Social Icon",category:"widgets",parent:["core/social-links"],description:"Display an icon linking to a social media profile or site.",textdomain:"default",attributes:{url:{type:"string"},service:{type:"string"},label:{type:"string"}},usesContext:["openInNewTab","iconColorValue","iconBackgroundColorValue"],supports:{reusable:!1,html:!1},editorStyle:"wp-block-social-link-editor"},{name:Ch}=Eh,xh={icon:bh,edit:e=>{let{attributes:t,context:n,isSelected:o,setAttributes:r}=e;const{url:a,service:l,label:i}=t,{iconColorValue:s,iconBackgroundColorValue:c}=n,[u,m]=(0,Fe.useState)(!1),d=wt()("wp-social-link","wp-social-link-"+l,{"wp-social-link__is-incomplete":!a}),p=(0,Fe.useRef)(),g=(e=>{const t=(0,nt.find)(kh,{name:e});return t?t.icon:fh})(l),h=(e=>{const t=(0,nt.find)(kh,{name:e});return t?t.title:(0,Ue.__)("Social Icon")})(l),v=(0,Oe.useBlockProps)({className:d,style:{color:s,backgroundColor:c}});return(0,Fe.createElement)(Fe.Fragment,null,(0,Fe.createElement)(Oe.InspectorControls,null,(0,Fe.createElement)(Ge.PanelBody,{title:(0,Ue.sprintf)(
83
  /* translators: %s: name of the social service. */
84
  (0,Ue.__)("%s label"),h),initialOpen:!1},(0,Fe.createElement)(Ge.PanelRow,null,(0,Fe.createElement)(Ge.TextControl,{label:(0,Ue.__)("Link label"),help:(0,Ue.__)("Briefly describe the link to help screen reader users."),value:i,onChange:e=>r({label:e})})))),(0,Fe.createElement)("li",v,(0,Fe.createElement)(Ge.Button,{ref:p,onClick:()=>m(!0)},(0,Fe.createElement)(g,null),o&&u&&(0,Fe.createElement)(wh,{url:a,setAttributes:r,setPopover:m,anchorRef:p}))))},variations:kh},Sh=e=>{var t,n;if(e.layout)return e;const{className:o}=e,r="items-justified-",a=new RegExp(`\\b${r}[^ ]*[ ]?\\b`,"g"),l={...e,className:null==o?void 0:o.replace(a,"").trim()},i=null==o||null===(t=o.match(a))||void 0===t||null===(n=t[0])||void 0===n?void 0:n.trim();return i&&Object.assign(l,{layout:{type:"flex",justifyContent:i.slice(r.length)}}),l};var Bh=[{attributes:{iconColor:{type:"string"},customIconColor:{type:"string"},iconColorValue:{type:"string"},iconBackgroundColor:{type:"string"},customIconBackgroundColor:{type:"string"},iconBackgroundColorValue:{type:"string"},openInNewTab:{type:"boolean",default:!1},size:{type:"string"}},supports:{align:["left","center","right"],anchor:!0,__experimentalExposeControlsToChildren:!0},isEligible:e=>{let{layout:t}=e;return!t},migrate:Sh,save(e){const{attributes:{iconBackgroundColorValue:t,iconColorValue:n,itemsJustification:o,size:r}}=e,a=wt()(r,{"has-icon-color":n,"has-icon-background-color":t,[`items-justified-${o}`]:o});return(0,Fe.createElement)("ul",Oe.useBlockProps.save({className:a}),(0,Fe.createElement)(Oe.InnerBlocks.Content,null))}},{attributes:{iconColor:{type:"string"},customIconColor:{type:"string"},iconColorValue:{type:"string"},iconBackgroundColor:{type:"string"},customIconBackgroundColor:{type:"string"},iconBackgroundColorValue:{type:"string"},openInNewTab:{type:"boolean",default:!1},size:{type:"string"}},providesContext:{openInNewTab:"openInNewTab"},supports:{align:["left","center","right"],anchor:!0},migrate:Sh,save:e=>{const{attributes:{iconBackgroundColorValue:t,iconColorValue:n,itemsJustification:o,size:r}}=e,a=wt()(r,{"has-icon-color":n,"has-icon-background-color":t,[`items-justified-${o}`]:o}),l={"--wp--social-links--icon-color":n,"--wp--social-links--icon-background-color":t};return(0,Fe.createElement)("ul",Oe.useBlockProps.save({className:a,style:l}),(0,Fe.createElement)(Oe.InnerBlocks.Content,null))}}],Th=(0,Fe.createElement)(De.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,Fe.createElement)(De.Path,{d:"M16.7 7.1l-6.3 8.5-3.3-2.5-.9 1.2 4.5 3.4L17.9 8z"}));const Nh=["core/social-link"],Ph=[{name:(0,Ue.__)("Small"),value:"has-small-icon-size"},{name:(0,Ue.__)("Normal"),value:"has-normal-icon-size"},{name:(0,Ue.__)("Large"),value:"has-large-icon-size"},{name:(0,Ue.__)("Huge"),value:"has-huge-icon-size"}];var zh=(0,Oe.withColors)({iconColor:"icon-color",iconBackgroundColor:"icon-background-color"})((function(e){var t;const{name:n,attributes:o,iconBackgroundColor:r,iconColor:a,isSelected:l,setAttributes:i,setIconBackgroundColor:s,setIconColor:c}=e,{iconBackgroundColorValue:u,iconColorValue:m,openInNewTab:d,size:p,layout:g}=o,h=g||(e=>{const t=(0,He.getBlockSupport)(e,"__experimentalLayout");return null==t?void 0:t.default})(n),v=(null===(t=o.className)||void 0===t?void 0:t.indexOf("is-style-logos-only"))>=0;(0,Fe.useEffect)((()=>{v&&i({iconBackgroundColor:void 0,customIconBackgroundColor:void 0,iconBackgroundColorValue:void 0})}),[v,i]);const b=(0,Fe.createElement)("li",{className:"wp-block-social-links__social-placeholder"},(0,Fe.createElement)("div",{className:"wp-social-link"}),(0,Fe.createElement)("div",{className:"wp-block-social-links__social-placeholder-icons"},(0,Fe.createElement)("div",{className:"wp-social-link wp-social-link-twitter"}),(0,Fe.createElement)("div",{className:"wp-social-link wp-social-link-facebook"}),(0,Fe.createElement)("div",{className:"wp-social-link wp-social-link-instagram"}))),y=(0,Fe.createElement)("li",{className:"wp-block-social-links__social-prompt"},(0,Ue.__)("Click plus to add")),f=wt()(p,{"has-icon-color":a.color||m,"has-icon-background-color":r.color||u}),_=(0,Oe.useBlockProps)({className:f}),k=(0,Oe.useInnerBlocksProps)(_,{allowedBlocks:Nh,placeholder:l?y:b,templateLock:!1,__experimentalAppenderTagName:"li",__experimentalLayout:h});return(0,Fe.createElement)(Fe.Fragment,null,(0,Fe.createElement)(Oe.BlockControls,{group:"other"},(0,Fe.createElement)(Ge.ToolbarDropdownMenu,{label:(0,Ue.__)("Size"),text:(0,Ue.__)("Size"),icon:null,popoverProps:{position:"bottom right"}},(e=>{let{onClose:t}=e;return(0,Fe.createElement)(Ge.MenuGroup,null,Ph.map((e=>(0,Fe.createElement)(Ge.MenuItem,{icon:(p===e.value||!p&&"has-normal-icon-size"===e.value)&&Th,isSelected:p===e.value,key:e.value,onClick:()=>{i({size:e.value})},onClose:t,role:"menuitemradio"},e.name))))}))),(0,Fe.createElement)(Oe.InspectorControls,null,(0,Fe.createElement)(Ge.PanelBody,{title:(0,Ue.__)("Link settings")},(0,Fe.createElement)(Ge.ToggleControl,{label:(0,Ue.__)("Open links in new tab"),checked:d,onChange:()=>i({openInNewTab:!d})})),(0,Fe.createElement)(Oe.PanelColorSettings,{__experimentalHasMultipleOrigins:!0,__experimentalIsRenderedInSidebar:!0,title:(0,Ue.__)("Color"),colorSettings:[{value:a.color||m,onChange:e=>{c(e),i({iconColorValue:e})},label:(0,Ue.__)("Icon color")},!v&&{value:r.color||u,onChange:e=>{s(e),i({iconBackgroundColorValue:e})},label:(0,Ue.__)("Icon background")}]}),!v&&(0,Fe.createElement)(Oe.ContrastChecker,{textColor:m,backgroundColor:u,isLargeText:!1})),(0,Fe.createElement)("ul",k))}));const Ih={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:2,name:"core/social-links",title:"Social Icons",category:"widgets",description:"Display icons linking to your social media profiles or sites.",keywords:["links"],textdomain:"default",attributes:{iconColor:{type:"string"},customIconColor:{type:"string"},iconColorValue:{type:"string"},iconBackgroundColor:{type:"string"},customIconBackgroundColor:{type:"string"},iconBackgroundColorValue:{type:"string"},openInNewTab:{type:"boolean",default:!1},size:{type:"string"}},providesContext:{openInNewTab:"openInNewTab",iconColorValue:"iconColorValue",iconBackgroundColorValue:"iconBackgroundColorValue"},supports:{align:["left","center","right"],anchor:!0,__experimentalExposeControlsToChildren:!0,__experimentalLayout:{allowSwitching:!1,allowInheriting:!1,default:{type:"flex"}},spacing:{blockGap:!0,margin:["top","bottom"],units:["px","em","rem","vh","vw"],__experimentalDefaultControls:{blockGap:!0}}},styles:[{name:"default",label:"Default",isDefault:!0},{name:"logos-only",label:"Logos Only"},{name:"pill-shape",label:"Pill Shape"}],editorStyle:"wp-block-social-links-editor",style:"wp-block-social-links"},{name:Mh}=Ih,Lh={example:{innerBlocks:[{name:"core/social-link",attributes:{service:"wordpress",url:"https://wordpress.org"}},{name:"core/social-link",attributes:{service:"facebook",url:"https://www.facebook.com/WordPress/"}},{name:"core/social-link",attributes:{service:"twitter",url:"https://twitter.com/WordPress"}}]},icon:bh,edit:zh,save:function(e){const{attributes:{iconBackgroundColorValue:t,iconColorValue:n,size:o}}=e,r=wt()(o,{"has-icon-color":n,"has-icon-background-color":t}),a=Oe.useBlockProps.save({className:r}),l=Oe.useInnerBlocksProps.save(a);return(0,Fe.createElement)("ul",l)},deprecated:Bh};var Rh=(0,Fe.createElement)(De.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,Fe.createElement)(De.Path,{d:"M12.5 4.2v1.6h4.7L5.8 17.2V12H4.2v7.8H12v-1.6H6.8L18.2 6.8v4.7h1.6V4.2z"})),Vh=[{attributes:{height:{type:"number",default:100},width:{type:"number"}},migrate(e){const{height:t,width:n}=e;return{...e,width:void 0!==n?`${n}px`:void 0,height:void 0!==t?`${t}px`:void 0}},save(e){let{attributes:t}=e;return(0,Fe.createElement)("div",Oe.useBlockProps.save({style:{height:t.height,width:t.width},"aria-hidden":!0}))}}];function Ah(e){let{label:t,onChange:n,isResizing:o,value:r=""}=e;const[a,l]=(0,Fe.useState)(null),i=(0,Et.useInstanceId)(Ge.__experimentalUnitControl,"block-spacer-height-input"),s=(0,Oe.useSetting)("spacing.units").filter((e=>"%"!==e)),c=(0,Ge.__experimentalUseCustomUnits)({availableUnits:s||["px","em","rem","vw","vh"],defaultValues:{px:"100",em:"10",rem:"10",vw:"10",vh:"25"}}),u=null!==a?a:r;return(0,Fe.createElement)(Ge.BaseControl,{label:t,id:i},(0,Fe.createElement)(Ge.__experimentalUnitControl,{id:i,isResetValueOnUnitChange:!0,min:0,max:Fh,onBlur:()=>{null!==a&&l(null)},onChange:e=>{l(null),n(e)},style:{maxWidth:80},value:u,units:c,unit:o?"px":void 0}))}function Hh(e){let{setAttributes:t,orientation:n,height:o,width:r,isResizing:a}=e;return(0,Fe.createElement)(Oe.InspectorControls,null,(0,Fe.createElement)(Ge.PanelBody,{title:(0,Ue.__)("Spacer settings")},"horizontal"===n&&(0,Fe.createElement)(Ah,{label:(0,Ue.__)("Width"),value:r,onChange:e=>t({width:e}),isResizing:a}),"horizontal"!==n&&(0,Fe.createElement)(Ah,{label:(0,Ue.__)("Height"),value:o,onChange:e=>t({height:e}),isResizing:a})))}const Fh=500,Dh=e=>{let{orientation:t,onResizeStart:n,onResize:o,onResizeStop:r,isSelected:a,isResizing:l,setIsResizing:i,...s}=e;const c=e=>"horizontal"===t?e.clientWidth:e.clientHeight,u=e=>`${c(e)}px`;return(0,Fe.createElement)(Ge.ResizableBox,It({className:wt()("block-library-spacer__resize-container",{"resize-horizontal":"horizontal"===t,"is-resizing":l,"is-selected":a}),onResizeStart:(e,t,r)=>{const a=u(r);n(a),o(a)},onResize:(e,t,n)=>{o(u(n)),l||i(!0)},onResizeStop:(e,t,n)=>{const o=Math.min(Fh,c(n));r(`${o}px`),i(!1)},__experimentalShowTooltip:!0,__experimentalTooltipProps:{axis:"horizontal"===t?"x":"y",position:"corner",isVisible:l},showHandle:a},s))};var $h=(0,Et.compose)([(0,Xe.withDispatch)((e=>{const{toggleSelection:t}=e(Oe.store);return{onResizeStart:()=>t(!1),onResizeStop:()=>t(!0)}})),Et.withInstanceId])((e=>{let{attributes:t,isSelected:n,setAttributes:o,onResizeStart:r,onResizeStop:a,context:l}=e;const{orientation:i}=l,{height:s,width:c}=t,[u,m]=(0,Fe.useState)(!1),[d,p]=(0,Fe.useState)(null),[g,h]=(0,Fe.useState)(null),v={height:"horizontal"===i?24:d||s||void 0,width:"horizontal"===i&&(g||c)||void 0};return(0,Fe.useEffect)((()=>{"horizontal"!==i||c||o({height:"0px",width:"72px"})}),[]),(0,Fe.createElement)(Fe.Fragment,null,(0,Fe.createElement)(De.View,(0,Oe.useBlockProps)({style:v}),"horizontal"===(b=i)?(0,Fe.createElement)(Dh,{minWidth:1,enable:{top:!1,right:!0,bottom:!1,left:!1,topRight:!1,bottomRight:!1,bottomLeft:!1,topLeft:!1},orientation:b,onResizeStart:r,onResize:h,onResizeStop:e=>{a(),o({width:e}),h(null)},isSelected:n,isResizing:u,setIsResizing:m}):(0,Fe.createElement)(Fe.Fragment,null,(0,Fe.createElement)(Dh,{enable:{top:!1,right:!1,bottom:!0,left:!1,topRight:!1,bottomRight:!1,bottomLeft:!1,topLeft:!1},orientation:b,onResizeStart:r,onResize:p,onResizeStop:e=>{a(),o({height:e}),p(null)},isSelected:n,isResizing:u,setIsResizing:m}))),(0,Fe.createElement)(Hh,{setAttributes:o,height:d||s,width:g||c,orientation:i,isResizing:u}));var b}));const Gh={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:2,name:"core/spacer",title:"Spacer",category:"design",description:"Add white space between blocks and customize its height.",textdomain:"default",attributes:{height:{type:"string",default:"100px"},width:{type:"string"}},usesContext:["orientation"],supports:{anchor:!0},editorStyle:"wp-block-spacer-editor",style:"wp-block-spacer"},{name:Uh}=Gh,Oh={icon:Rh,edit:$h,save:function(e){let{attributes:{height:t,width:n}}=e;return(0,Fe.createElement)("div",Oe.useBlockProps.save({style:{height:t,width:n},"aria-hidden":!0}))},deprecated:Vh};var qh=(0,Fe.createElement)(De.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,Fe.createElement)(De.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM5 4.5h14c.3 0 .5.2.5.5v3.5h-15V5c0-.3.2-.5.5-.5zm8 5.5h6.5v3.5H13V10zm-1.5 3.5h-7V10h7v3.5zm-7 5.5v-4h7v4.5H5c-.3 0-.5-.2-.5-.5zm14.5.5h-6V15h6.5v4c0 .3-.2.5-.5.5z"}));const Wh={"subtle-light-gray":"#f3f4f5","subtle-pale-green":"#e9fbe5","subtle-pale-blue":"#e7f5fe","subtle-pale-pink":"#fcf0ef"};var jh=[{attributes:{hasFixedLayout:{type:"boolean",default:!1},backgroundColor:{type:"string"},caption:{type:"string",source:"html",selector:"figcaption",default:""},head:{type:"array",default:[],source:"query",selector:"thead tr",query:{cells:{type:"array",default:[],source:"query",selector:"td,th",query:{content:{type:"string",source:"html"},tag:{type:"string",default:"td",source:"tag"},scope:{type:"string",source:"attribute",attribute:"scope"},align:{type:"string",source:"attribute",attribute:"data-align"}}}}},body:{type:"array",default:[],source:"query",selector:"tbody tr",query:{cells:{type:"array",default:[],source:"query",selector:"td,th",query:{content:{type:"string",source:"html"},tag:{type:"string",default:"td",source:"tag"},scope:{type:"string",source:"attribute",attribute:"scope"},align:{type:"string",source:"attribute",attribute:"data-align"}}}}},foot:{type:"array",default:[],source:"query",selector:"tfoot tr",query:{cells:{type:"array",default:[],source:"query",selector:"td,th",query:{content:{type:"string",source:"html"},tag:{type:"string",default:"td",source:"tag"},scope:{type:"string",source:"attribute",attribute:"scope"},align:{type:"string",source:"attribute",attribute:"data-align"}}}}}},supports:{anchor:!0,align:!0,__experimentalSelector:".wp-block-table > table"},save:e=>{let{attributes:t}=e;const{hasFixedLayout:n,head:o,body:r,foot:a,backgroundColor:l,caption:i}=t;if(!o.length&&!r.length&&!a.length)return null;const s=(0,Oe.getColorClassName)("background-color",l),c=wt()(s,{"has-fixed-layout":n,"has-background":!!s}),u=!Oe.RichText.isEmpty(i),m=e=>{let{type:t,rows:n}=e;if(!n.length)return null;const o=`t${t}`;return(0,Fe.createElement)(o,null,n.map(((e,t)=>{let{cells:n}=e;return(0,Fe.createElement)("tr",{key:t},n.map(((e,t)=>{let{content:n,tag:o,scope:r,align:a}=e;const l=wt()({[`has-text-align-${a}`]:a});return(0,Fe.createElement)(Oe.RichText.Content,{className:l||void 0,"data-align":a,tagName:o,value:n,key:t,scope:"th"===o?r:void 0})})))})))};return(0,Fe.createElement)("figure",Oe.useBlockProps.save(),(0,Fe.createElement)("table",{className:""===c?void 0:c},(0,Fe.createElement)(m,{type:"head",rows:o}),(0,Fe.createElement)(m,{type:"body",rows:r}),(0,Fe.createElement)(m,{type:"foot",rows:a})),u&&(0,Fe.createElement)(Oe.RichText.Content,{tagName:"figcaption",value:i}))},isEligible:e=>e.backgroundColor&&!e.style,migrate:e=>({...e,backgroundColor:void 0,style:{color:{background:Wh[e.backgroundColor]}}})},{attributes:{hasFixedLayout:{type:"boolean",default:!1},backgroundColor:{type:"string"},head:{type:"array",default:[],source:"query",selector:"thead tr",query:{cells:{type:"array",default:[],source:"query",selector:"td,th",query:{content:{type:"string",source:"html"},tag:{type:"string",default:"td",source:"tag"},scope:{type:"string",source:"attribute",attribute:"scope"}}}}},body:{type:"array",default:[],source:"query",selector:"tbody tr",query:{cells:{type:"array",default:[],source:"query",selector:"td,th",query:{content:{type:"string",source:"html"},tag:{type:"string",default:"td",source:"tag"},scope:{type:"string",source:"attribute",attribute:"scope"}}}}},foot:{type:"array",default:[],source:"query",selector:"tfoot tr",query:{cells:{type:"array",default:[],source:"query",selector:"td,th",query:{content:{type:"string",source:"html"},tag:{type:"string",default:"td",source:"tag"},scope:{type:"string",source:"attribute",attribute:"scope"}}}}}},supports:{align:!0},save(e){let{attributes:t}=e;const{hasFixedLayout:n,head:o,body:r,foot:a,backgroundColor:l}=t;if(!o.length&&!r.length&&!a.length)return null;const i=(0,Oe.getColorClassName)("background-color",l),s=wt()(i,{"has-fixed-layout":n,"has-background":!!i}),c=e=>{let{type:t,rows:n}=e;if(!n.length)return null;const o=`t${t}`;return(0,Fe.createElement)(o,null,n.map(((e,t)=>{let{cells:n}=e;return(0,Fe.createElement)("tr",{key:t},n.map(((e,t)=>{let{content:n,tag:o,scope:r}=e;return(0,Fe.createElement)(Oe.RichText.Content,{tagName:o,value:n,key:t,scope:"th"===o?r:void 0})})))})))};return(0,Fe.createElement)("table",{className:s},(0,Fe.createElement)(c,{type:"head",rows:o}),(0,Fe.createElement)(c,{type:"body",rows:r}),(0,Fe.createElement)(c,{type:"foot",rows:a}))}}],Zh=(0,Fe.createElement)(De.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,Fe.createElement)(De.Path,{d:"M4 19.8h8.9v-1.5H4v1.5zm8.9-15.6H4v1.5h8.9V4.2zm-8.9 7v1.5h16v-1.5H4z"})),Qh=(0,Fe.createElement)(De.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,Fe.createElement)(De.Path,{d:"M16.4 4.2H7.6v1.5h8.9V4.2zM4 11.2v1.5h16v-1.5H4zm3.6 8.6h8.9v-1.5H7.6v1.5z"})),Kh=(0,Fe.createElement)(De.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,Fe.createElement)(De.Path,{d:"M11.1 19.8H20v-1.5h-8.9v1.5zm0-15.6v1.5H20V4.2h-8.9zM4 12.8h16v-1.5H4v1.5z"})),Jh=(0,Fe.createElement)(De.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},(0,Fe.createElement)(De.Path,{d:"M6.656 6.464h2.88v2.88h1.408v-2.88h2.88V5.12h-2.88V2.24H9.536v2.88h-2.88zM0 17.92V0h20.48v17.92H0zm7.68-2.56h5.12v-3.84H7.68v3.84zm-6.4 0H6.4v-3.84H1.28v3.84zM19.2 1.28H1.28v9.024H19.2V1.28zm0 10.24h-5.12v3.84h5.12v-3.84zM6.656 6.464h2.88v2.88h1.408v-2.88h2.88V5.12h-2.88V2.24H9.536v2.88h-2.88zM0 17.92V0h20.48v17.92H0zm7.68-2.56h5.12v-3.84H7.68v3.84zm-6.4 0H6.4v-3.84H1.28v3.84zM19.2 1.28H1.28v9.024H19.2V1.28zm0 10.24h-5.12v3.84h5.12v-3.84z"})),Yh=(0,Fe.createElement)(De.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},(0,Fe.createElement)(De.Path,{d:"M13.824 10.176h-2.88v-2.88H9.536v2.88h-2.88v1.344h2.88v2.88h1.408v-2.88h2.88zM0 17.92V0h20.48v17.92H0zM6.4 1.28H1.28v3.84H6.4V1.28zm6.4 0H7.68v3.84h5.12V1.28zm6.4 0h-5.12v3.84h5.12V1.28zm0 5.056H1.28v9.024H19.2V6.336z"})),Xh=(0,Fe.createElement)(De.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},(0,Fe.createElement)(De.Path,{d:"M17.728 11.456L14.592 8.32l3.2-3.2-1.536-1.536-3.2 3.2L9.92 3.648 8.384 5.12l3.2 3.2-3.264 3.264 1.536 1.536 3.264-3.264 3.136 3.136 1.472-1.536zM0 17.92V0h20.48v17.92H0zm19.2-6.4h-.448l-1.28-1.28H19.2V6.4h-1.792l1.28-1.28h.512V1.28H1.28v3.84h6.208l1.28 1.28H1.28v3.84h7.424l-1.28 1.28H1.28v3.84H19.2v-3.84z"})),ev=(0,Fe.createElement)(De.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},(0,Fe.createElement)(De.Path,{d:"M6.4 3.776v3.648H2.752v1.792H6.4v3.648h1.728V9.216h3.712V7.424H8.128V3.776zM0 17.92V0h20.48v17.92H0zM12.8 1.28H1.28v14.08H12.8V1.28zm6.4 0h-5.12v3.84h5.12V1.28zm0 5.12h-5.12v3.84h5.12V6.4zm0 5.12h-5.12v3.84h5.12v-3.84z"})),tv=(0,Fe.createElement)(De.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},(0,Fe.createElement)(De.Path,{d:"M14.08 12.864V9.216h3.648V7.424H14.08V3.776h-1.728v3.648H8.64v1.792h3.712v3.648zM0 17.92V0h20.48v17.92H0zM6.4 1.28H1.28v3.84H6.4V1.28zm0 5.12H1.28v3.84H6.4V6.4zm0 5.12H1.28v3.84H6.4v-3.84zM19.2 1.28H7.68v14.08H19.2V1.28z"})),nv=(0,Fe.createElement)(De.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},(0,Fe.createElement)(De.Path,{d:"M6.4 9.98L7.68 8.7v-.256L6.4 7.164V9.98zm6.4-1.532l1.28-1.28V9.92L12.8 8.64v-.192zm7.68 9.472V0H0v17.92h20.48zm-1.28-2.56h-5.12v-1.024l-.256.256-1.024-1.024v1.792H7.68v-1.792l-1.024 1.024-.256-.256v1.024H1.28V1.28H6.4v2.368l.704-.704.576.576V1.216h5.12V3.52l.96-.96.32.32V1.216h5.12V15.36zm-5.76-2.112l-3.136-3.136-3.264 3.264-1.536-1.536 3.264-3.264L5.632 5.44l1.536-1.536 3.136 3.136 3.2-3.2 1.536 1.536-3.2 3.2 3.136 3.136-1.536 1.536z"})),ov=(0,Fe.createElement)(De.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,Fe.createElement)(De.Path,{d:"M4 6v11.5h16V6H4zm1.5 1.5h6V11h-6V7.5zm0 8.5v-3.5h6V16h-6zm13 0H13v-3.5h5.5V16zM13 11V7.5h5.5V11H13z"}));const rv=["align"];function av(e,t,n){if(!t)return e;const o=(0,nt.pick)(e,["head","body","foot"]),{sectionName:r,rowIndex:a}=t;return(0,nt.mapValues)(o,((e,o)=>r&&r!==o?e:e.map(((e,r)=>a&&a!==r?e:{cells:e.cells.map(((e,a)=>function(e,t){if(!e||!t)return!1;switch(t.type){case"column":return"column"===t.type&&e.columnIndex===t.columnIndex;case"cell":return"cell"===t.type&&e.sectionName===t.sectionName&&e.columnIndex===t.columnIndex&&e.rowIndex===t.rowIndex}}({sectionName:o,columnIndex:a,rowIndex:r},t)?n(e):e))}))))}function lv(e,t){let{sectionName:n,rowIndex:o,columnCount:r}=t;const a=function(e){return cv(e.head)?cv(e.body)?cv(e.foot)?void 0:e.foot[0]:e.body[0]:e.head[0]}(e),l=void 0===r?(0,nt.get)(a,["cells","length"]):r;return l?{[n]:[...e[n].slice(0,o),{cells:(0,nt.times)(l,(e=>{const t=(0,nt.get)(a,["cells",e],{});return{...(0,nt.pick)(t,rv),content:"",tag:"head"===n?"th":"td"}}))},...e[n].slice(o)]}:e}function iv(e,t){let{columnIndex:n}=t;const o=(0,nt.pick)(e,["head","body","foot"]);return(0,nt.mapValues)(o,((e,t)=>cv(e)?e:e.map((e=>uv(e)||e.cells.length<n?e:{cells:[...e.cells.slice(0,n),{content:"",tag:"head"===t?"th":"td"},...e.cells.slice(n)]}))))}function sv(e,t){return cv(e[t])?lv(e,{sectionName:t,rowIndex:0,columnCount:(0,nt.get)(e,["body",0,"cells","length"],1)}):{[t]:[]}}function cv(e){return!e||!e.length||(0,nt.every)(e,uv)}function uv(e){return!(e.cells&&e.cells.length)}const mv=[{icon:Zh,title:(0,Ue.__)("Align column left"),align:"left"},{icon:Qh,title:(0,Ue.__)("Align column center"),align:"center"},{icon:Kh,title:(0,Ue.__)("Align column right"),align:"right"}],dv={head:(0,Ue.__)("Header cell text"),body:(0,Ue.__)("Body cell text"),foot:(0,Ue.__)("Footer cell text")},pv={head:(0,Ue.__)("Header label"),foot:(0,Ue.__)("Footer label")};function gv(e){let{name:t,...n}=e;const o=`t${t}`;return(0,Fe.createElement)(o,n)}const hv=e=>{let{phrasingContentSchema:t}=e;return{tr:{allowEmpty:!0,children:{th:{allowEmpty:!0,children:t,attributes:["scope"]},td:{allowEmpty:!0,children:t}}}}};var vv={from:[{type:"raw",selector:"table",schema:e=>({table:{children:{thead:{allowEmpty:!0,children:hv(e)},tfoot:{allowEmpty:!0,children:hv(e)},tbody:{allowEmpty:!0,children:hv(e)}}}})}]};const bv={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:2,name:"core/table",title:"Table",category:"text",description:"Create structured content in rows and columns to display information.",textdomain:"default",attributes:{hasFixedLayout:{type:"boolean",default:!1},caption:{type:"string",source:"html",selector:"figcaption",default:""},head:{type:"array",default:[],source:"query",selector:"thead tr",query:{cells:{type:"array",default:[],source:"query",selector:"td,th",query:{content:{type:"string",source:"html"},tag:{type:"string",default:"td",source:"tag"},scope:{type:"string",source:"attribute",attribute:"scope"},align:{type:"string",source:"attribute",attribute:"data-align"}}}}},body:{type:"array",default:[],source:"query",selector:"tbody tr",query:{cells:{type:"array",default:[],source:"query",selector:"td,th",query:{content:{type:"string",source:"html"},tag:{type:"string",default:"td",source:"tag"},scope:{type:"string",source:"attribute",attribute:"scope"},align:{type:"string",source:"attribute",attribute:"data-align"}}}}},foot:{type:"array",default:[],source:"query",selector:"tfoot tr",query:{cells:{type:"array",default:[],source:"query",selector:"td,th",query:{content:{type:"string",source:"html"},tag:{type:"string",default:"td",source:"tag"},scope:{type:"string",source:"attribute",attribute:"scope"},align:{type:"string",source:"attribute",attribute:"data-align"}}}}}},supports:{anchor:!0,align:!0,color:{__experimentalSkipSerialization:!0,gradients:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontStyle:!0,__experimentalFontWeight:!0,__experimentalLetterSpacing:!0,__experimentalTextTransform:!0,__experimentalDefaultControls:{fontSize:!0}},__experimentalBorder:{__experimentalSkipSerialization:!0,color:!0,style:!0,width:!0,__experimentalDefaultControls:{color:!0,style:!0,width:!0}},__experimentalSelector:".wp-block-table > table"},styles:[{name:"regular",label:"Default",isDefault:!0},{name:"stripes",label:"Stripes"}],editorStyle:"wp-block-table-editor",style:"wp-block-table"},{name:yv}=bv,fv={icon:qh,example:{attributes:{head:[{cells:[{content:(0,Ue.__)("Version"),tag:"th"},{content:(0,Ue.__)("Jazz Musician"),tag:"th"},{content:(0,Ue.__)("Release Date"),tag:"th"}]}],body:[{cells:[{content:"5.2",tag:"td"},{content:"Jaco Pastorius",tag:"td"},{content:(0,Ue.__)("May 7, 2019"),tag:"td"}]},{cells:[{content:"5.1",tag:"td"},{content:"Betty Carter",tag:"td"},{content:(0,Ue.__)("February 21, 2019"),tag:"td"}]},{cells:[{content:"5.0",tag:"td"},{content:"Bebo Valdés",tag:"td"},{content:(0,Ue.__)("December 6, 2018"),tag:"td"}]}]}},transforms:vv,edit:function(e){let{attributes:t,setAttributes:n,insertBlocksAfter:o,isSelected:r}=e;const{hasFixedLayout:a,caption:l,head:i,foot:s}=t,[c,u]=(0,Fe.useState)(2),[m,d]=(0,Fe.useState)(2),[p,g]=(0,Fe.useState)(),h=(0,Oe.__experimentalUseColorProps)(t),v=(0,Oe.__experimentalUseBorderProps)(t);function b(e){p&&n(av(t,p,(t=>({...t,content:e}))))}function y(e){if(!p)return;const{sectionName:o,rowIndex:r}=p,a=r+e;n(lv(t,{sectionName:o,rowIndex:a})),g({sectionName:o,rowIndex:a,columnIndex:0,type:"cell"})}function f(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;if(!p)return;const{columnIndex:o}=p,r=o+e;n(iv(t,{columnIndex:r})),g({rowIndex:0,columnIndex:r,type:"cell"})}(0,Fe.useEffect)((()=>{r||g()}),[r]);const _=["head","body","foot"].filter((e=>!cv(t[e]))),k=[{icon:Jh,title:(0,Ue.__)("Insert row before"),isDisabled:!p,onClick:function(){y(0)}},{icon:Yh,title:(0,Ue.__)("Insert row after"),isDisabled:!p,onClick:function(){y(1)}},{icon:Xh,title:(0,Ue.__)("Delete row"),isDisabled:!p,onClick:function(){if(!p)return;const{sectionName:e,rowIndex:o}=p;g(),n(function(e,t){let{sectionName:n,rowIndex:o}=t;return{[n]:e[n].filter(((e,t)=>t!==o))}}(t,{sectionName:e,rowIndex:o}))}},{icon:ev,title:(0,Ue.__)("Insert column before"),isDisabled:!p,onClick:function(){f(0)}},{icon:tv,title:(0,Ue.__)("Insert column after"),isDisabled:!p,onClick:function(){f(1)}},{icon:nv,title:(0,Ue.__)("Delete column"),isDisabled:!p,onClick:function(){if(!p)return;const{sectionName:e,columnIndex:o}=p;g(),n(function(e,t){let{columnIndex:n}=t;const o=(0,nt.pick)(e,["head","body","foot"]);return(0,nt.mapValues)(o,(e=>cv(e)?e:e.map((e=>({cells:e.cells.length>=n?e.cells.filter(((e,t)=>t!==n)):e.cells}))).filter((e=>e.cells.length))))}(t,{sectionName:e,columnIndex:o}))}}],w=["head","body","foot"].map((e=>(0,Fe.createElement)(gv,{name:e,key:e},t[e].map(((t,n)=>{let{cells:o}=t;return(0,Fe.createElement)("tr",{key:n},o.map(((t,o)=>{let{content:r,tag:a,scope:l,align:i}=t;return(0,Fe.createElement)(Oe.RichText,{tagName:a,key:o,className:wt()({[`has-text-align-${i}`]:i},"wp-block-table__cell-content"),scope:"th"===a?l:void 0,value:r,onChange:b,unstableOnFocus:()=>{g({sectionName:e,rowIndex:n,columnIndex:o,type:"cell"})},"aria-label":dv[e],placeholder:pv[e]})})))}))))),E=!_.length;return(0,Fe.createElement)("figure",(0,Oe.useBlockProps)(),!E&&(0,Fe.createElement)(Fe.Fragment,null,(0,Fe.createElement)(Oe.BlockControls,{group:"block"},(0,Fe.createElement)(Oe.AlignmentControl,{label:(0,Ue.__)("Change column alignment"),alignmentControls:mv,value:function(){if(p)return function(e,t,n){const{sectionName:o,rowIndex:r,columnIndex:a}=t;return(0,nt.get)(e,[o,r,"cells",a,"align"])}(t,p)}(),onChange:e=>function(e){if(!p)return;const o={type:"column",columnIndex:p.columnIndex},r=av(t,o,(t=>({...t,align:e})));n(r)}(e)})),(0,Fe.createElement)(Oe.BlockControls,{group:"other"},(0,Fe.createElement)(Ge.ToolbarDropdownMenu,{hasArrowIndicator:!0,icon:ov,label:(0,Ue.__)("Edit table"),controls:k}))),!E&&(0,Fe.createElement)(Oe.InspectorControls,null,(0,Fe.createElement)(Ge.PanelBody,{title:(0,Ue.__)("Table settings"),className:"blocks-table-settings"},(0,Fe.createElement)(Ge.ToggleControl,{label:(0,Ue.__)("Fixed width table cells"),checked:!!a,onChange:function(){n({hasFixedLayout:!a})}}),(0,Fe.createElement)(Ge.ToggleControl,{label:(0,Ue.__)("Header section"),checked:!(!i||!i.length),onChange:function(){n(sv(t,"head"))}}),(0,Fe.createElement)(Ge.ToggleControl,{label:(0,Ue.__)("Footer section"),checked:!(!s||!s.length),onChange:function(){n(sv(t,"foot"))}}))),!E&&(0,Fe.createElement)("table",{className:wt()(h.className,v.className,{"has-fixed-layout":a}),style:{...h.style,...v.style}},w),!E&&(0,Fe.createElement)(Oe.RichText,{tagName:"figcaption","aria-label":(0,Ue.__)("Table caption text"),placeholder:(0,Ue.__)("Add caption"),value:l,onChange:e=>n({caption:e}),unstableOnFocus:()=>g(),__unstableOnSplitAtEnd:()=>o((0,He.createBlock)("core/paragraph"))}),E&&(0,Fe.createElement)(Ge.Placeholder,{label:(0,Ue.__)("Table"),icon:(0,Fe.createElement)(Oe.BlockIcon,{icon:qh,showColors:!0}),instructions:(0,Ue.__)("Insert a table for sharing data.")},(0,Fe.createElement)("form",{className:"blocks-table__placeholder-form",onSubmit:function(e){e.preventDefault(),n(function(e){let{rowCount:t,columnCount:n}=e;return{body:(0,nt.times)(t,(()=>({cells:(0,nt.times)(n,(()=>({content:"",tag:"td"})))})))}}({rowCount:parseInt(c,10)||2,columnCount:parseInt(m,10)||2}))}},(0,Fe.createElement)(Ge.TextControl,{type:"number",label:(0,Ue.__)("Column count"),value:m,onChange:function(e){d(e)},min:"1",className:"blocks-table__placeholder-input"}),(0,Fe.createElement)(Ge.TextControl,{type:"number",label:(0,Ue.__)("Row count"),value:c,onChange:function(e){u(e)},min:"1",className:"blocks-table__placeholder-input"}),(0,Fe.createElement)(Ge.Button,{className:"blocks-table__placeholder-button",variant:"primary",type:"submit"},(0,Ue.__)("Create Table")))))},save:function(e){let{attributes:t}=e;const{hasFixedLayout:n,head:o,body:r,foot:a,caption:l}=t;if(!o.length&&!r.length&&!a.length)return null;const i=(0,Oe.__experimentalGetColorClassesAndStyles)(t),s=(0,Oe.__experimentalGetBorderClassesAndStyles)(t),c=wt()(i.className,s.className,{"has-fixed-layout":n}),u=!Oe.RichText.isEmpty(l),m=e=>{let{type:t,rows:n}=e;if(!n.length)return null;const o=`t${t}`;return(0,Fe.createElement)(o,null,n.map(((e,t)=>{let{cells:n}=e;return(0,Fe.createElement)("tr",{key:t},n.map(((e,t)=>{let{content:n,tag:o,scope:r,align:a}=e;const l=wt()({[`has-text-align-${a}`]:a});return(0,Fe.createElement)(Oe.RichText.Content,{className:l||void 0,"data-align":a,tagName:o,value:n,key:t,scope:"th"===o?r:void 0})})))})))};return(0,Fe.createElement)("figure",Oe.useBlockProps.save(),(0,Fe.createElement)("table",{className:""===c?void 0:c,style:{...i.style,...s.style}},(0,Fe.createElement)(m,{type:"head",rows:o}),(0,Fe.createElement)(m,{type:"body",rows:r}),(0,Fe.createElement)(m,{type:"foot",rows:a})),u&&(0,Fe.createElement)(Oe.RichText.Content,{tagName:"figcaption",value:l}))},deprecated:jh};var _v=(0,Xe.withSelect)((e=>({taxonomies:e(en.store).getTaxonomies({per_page:-1})})))((function(e){let{attributes:t,setAttributes:n,taxonomies:o}=e;const{taxonomy:r,showTagCounts:a,numberOfTags:l}=t,i=(0,Fe.createElement)(Oe.InspectorControls,null,(0,Fe.createElement)(Ge.PanelBody,{title:(0,Ue.__)("Tag Cloud settings")},(0,Fe.createElement)(Ge.SelectControl,{label:(0,Ue.__)("Taxonomy"),options:[{label:(0,Ue.__)("- Select -"),value:"",disabled:!0},...(0,nt.map)((0,nt.filter)(o,"show_cloud"),(e=>({value:e.slug,label:e.name})))],value:r,onChange:e=>n({taxonomy:e})}),(0,Fe.createElement)(Ge.ToggleControl,{label:(0,Ue.__)("Show post counts"),checked:a,onChange:()=>n({showTagCounts:!a})}),(0,Fe.createElement)(Ge.RangeControl,{label:(0,Ue.__)("Number of tags"),value:l,onChange:e=>n({numberOfTags:e}),min:1,max:100,required:!0})));return(0,Fe.createElement)(Fe.Fragment,null,i,(0,Fe.createElement)("div",(0,Oe.useBlockProps)(),(0,Fe.createElement)(We(),{key:"tag-cloud",block:"core/tag-cloud",attributes:t})))}));const kv={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:2,name:"core/tag-cloud",title:"Tag Cloud",category:"widgets",description:"A cloud of your most used tags.",textdomain:"default",attributes:{numberOfTags:{type:"number",default:45,minimum:1,maximum:100},taxonomy:{type:"string",default:"post_tag"},showTagCounts:{type:"boolean",default:!1}},supports:{html:!1,align:!0},editorStyle:"wp-block-tag-cloud-editor"},{name:wv}=kv,Ev={icon:Mu,example:{},edit:_v};function Cv(e){return(0,Ue.sprintf)(// Translators: %s for the area the template part is assigned to (Header, Footer, General, etc.)
78
  (0,Ue.__)("Add quote"),textAlign:"center"}),c&&(0,Fe.createElement)(Oe.RichText,{identifier:"citation",value:l,"aria-label":(0,Ue.__)("Pullquote citation text"),placeholder:// translators: placeholder text used for the citation
79
  (0,Ue.__)("Add citation"),onChange:e=>n({citation:e}),className:"wp-block-pullquote__citation",__unstableMobileNoFocusOnMount:!0,textAlign:"center",__unstableOnSplitAtEnd:()=>r((0,He.createBlock)("core/paragraph"))}))))},save:function(e){let{attributes:t}=e;const{textAlign:n,citation:o,value:r}=t,a=!Oe.RichText.isEmpty(o);return(0,Fe.createElement)("figure",Oe.useBlockProps.save({className:wt()({[`has-text-align-${n}`]:n})}),(0,Fe.createElement)("blockquote",null,(0,Fe.createElement)(Oe.RichText.Content,{value:r,multiline:!0}),a&&(0,Fe.createElement)(Oe.RichText.Content,{tagName:"cite",value:o})))},deprecated:dp};var bp=(0,Fe.createElement)(De.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,Fe.createElement)(De.Path,{d:"M18.1823 11.6392C18.1823 13.0804 17.0139 14.2487 15.5727 14.2487C14.3579 14.2487 13.335 13.4179 13.0453 12.2922L13.0377 12.2625L13.0278 12.2335L12.3985 10.377L12.3942 10.3785C11.8571 8.64997 10.246 7.39405 8.33961 7.39405C5.99509 7.39405 4.09448 9.29465 4.09448 11.6392C4.09448 13.9837 5.99509 15.8843 8.33961 15.8843C8.88499 15.8843 9.40822 15.781 9.88943 15.5923L9.29212 14.0697C8.99812 14.185 8.67729 14.2487 8.33961 14.2487C6.89838 14.2487 5.73003 13.0804 5.73003 11.6392C5.73003 10.1979 6.89838 9.02959 8.33961 9.02959C9.55444 9.02959 10.5773 9.86046 10.867 10.9862L10.8772 10.9836L11.4695 12.7311C11.9515 14.546 13.6048 15.8843 15.5727 15.8843C17.9172 15.8843 19.8178 13.9837 19.8178 11.6392C19.8178 9.29465 17.9172 7.39404 15.5727 7.39404C15.0287 7.39404 14.5066 7.4968 14.0264 7.6847L14.6223 9.20781C14.9158 9.093 15.2358 9.02959 15.5727 9.02959C17.0139 9.02959 18.1823 10.1979 18.1823 11.6392Z"}));function yp(e){let{attributes:{query:t,displayLayout:n},setQuery:o,setDisplayLayout:r}=e;const a=(0,Et.useInstanceId)(yp,"blocks-query-pagination-max-page-input"),l=[{icon:Cs,title:(0,Ue.__)("List view"),onClick:()=>r({type:"list"}),isActive:"list"===(null==n?void 0:n.type)},{icon:xs,title:(0,Ue.__)("Grid view"),onClick:()=>r({type:"flex",columns:(null==n?void 0:n.columns)||3}),isActive:"flex"===(null==n?void 0:n.type)}];return(0,Fe.createElement)(Fe.Fragment,null,!t.inherit&&(0,Fe.createElement)(Ge.ToolbarGroup,null,(0,Fe.createElement)(Ge.Dropdown,{contentClassName:"block-library-query-toolbar__popover",renderToggle:e=>{let{onToggle:t}=e;return(0,Fe.createElement)(Ge.ToolbarButton,{icon:Lo,label:(0,Ue.__)("Display settings"),onClick:t})},renderContent:()=>(0,Fe.createElement)(Fe.Fragment,null,(0,Fe.createElement)(Ge.BaseControl,null,(0,Fe.createElement)(Ge.__experimentalNumberControl,{__unstableInputWidth:"60px",label:(0,Ue.__)("Items per Page"),labelPosition:"edge",min:1,max:100,onChange:e=>{isNaN(e)||e<1||e>100||o({perPage:e})},step:"1",value:t.perPage,isDragEnabled:!1})),(0,Fe.createElement)(Ge.BaseControl,null,(0,Fe.createElement)(Ge.__experimentalNumberControl,{__unstableInputWidth:"60px",label:(0,Ue.__)("Offset"),labelPosition:"edge",min:0,max:100,onChange:e=>{isNaN(e)||e<0||e>100||o({offset:e})},step:"1",value:t.offset,isDragEnabled:!1})),(0,Fe.createElement)(Ge.BaseControl,{id:a,help:(0,Ue.__)("Limit the pages you want to show, even if the query has more results. To show all pages use 0 (zero).")},(0,Fe.createElement)(Ge.__experimentalNumberControl,{id:a,__unstableInputWidth:"60px",label:(0,Ue.__)("Max page to show"),labelPosition:"edge",min:0,onChange:e=>{isNaN(e)||e<0||o({pages:e})},step:"1",value:t.pages,isDragEnabled:!1})))})),(0,Fe.createElement)(Ge.ToolbarGroup,{controls:l}))}const fp=e=>{const t=null==e?void 0:e.reduce(((e,t)=>{const{mapById:n,mapByName:o,names:r}=e;return n[t.id]=t,o[t.name]=t,r.push(t.name),e}),{mapById:{},mapByName:{},names:[]});return{terms:e,...t}},_p=[{label:(0,Ue.__)("Include"),value:""},{label:(0,Ue.__)("Exclude"),value:"exclude"},{label:(0,Ue.__)("Only"),value:"only"}];function kp(e){var t,n;let{attributes:{query:o,displayLayout:r},setQuery:a,setDisplayLayout:l}=e;const{order:i,orderBy:s,author:c,postType:u,sticky:m,inherit:d}=o,[p,g]=(0,Fe.useState)(!0),[h,v]=(0,Fe.useState)(!0),[b,y]=(0,Fe.useState)("post"===u),{postTypesTaxonomiesMap:f,postTypesSelectOptions:_}=(()=>{const{postTypes:e}=(0,Xe.useSelect)((e=>{var t;const{getPostTypes:n}=e(en.store),o=["attachment"];return{postTypes:null===(t=n({per_page:-1}))||void 0===t?void 0:t.filter((e=>{let{viewable:t,slug:n}=e;return t&&!o.includes(n)}))}}),[]);return{postTypesTaxonomiesMap:(0,Fe.useMemo)((()=>{if(null!=e&&e.length)return e.reduce(((e,t)=>(e[t.slug]=t.taxonomies,e)),{})}),[e]),postTypesSelectOptions:(0,Fe.useMemo)((()=>(e||[]).map((e=>{let{labels:t,slug:n}=e;return{label:t.singular_name,value:n}}))),[e])}})(),{authorList:k,categories:w,tags:E}=(0,Xe.useSelect)((e=>{const{getEntityRecords:t}=e(en.store),n={per_page:100},o=t("taxonomy","category",n),r=t("taxonomy","post_tag",n);return{categories:fp(o),tags:fp(r),authorList:t("root","user",{per_page:-1})}}),[]);(0,Fe.useEffect)((()=>{if(!f)return;const e=f[u];g(e.includes("category")),v(e.includes("post_tag"))}),[u,f]),(0,Fe.useEffect)((()=>{y("post"===u)}),[u]);const C=(e,t)=>n=>{const o=Array.from(n.reduce(((t,n)=>{const o=((e,t)=>{var n;const o=(null==t?void 0:t.id)||(null===(n=e[t])||void 0===n?void 0:n.id);if(o)return o;const r=t.toLocaleLowerCase();for(const t in e)if(t.toLocaleLowerCase()===r)return e[t].id})(e.mapByName,n);return o&&t.add(o),t}),new Set));a({[t]:o})},x=C(w,"categoryIds"),S=C(E,"tagIds"),[B,T]=(0,Fe.useState)(o.search),N=(0,Fe.useCallback)((0,nt.debounce)((()=>{o.search!==B&&a({search:B})}),250),[B,o.search]);(0,Fe.useEffect)((()=>(N(),N.cancel)),[B,N]);const P=e=>{const t={category:{queryProp:"categoryIds",terms:w},post_tag:{queryProp:"tagIds",terms:E}}[e];return(o[t.queryProp]||[]).reduce(((e,n)=>{const o=t.terms.mapById[n];return o&&e.push({id:n,value:o.name}),e}),[])};return(0,Fe.createElement)(Oe.InspectorControls,null,(0,Fe.createElement)(Ge.PanelBody,{title:(0,Ue.__)("Settings")},(0,Fe.createElement)(Ge.ToggleControl,{label:(0,Ue.__)("Inherit query from template"),help:(0,Ue.__)("Toggle to use the global query context that is set with the current template, such as an archive or search. Disable to customize the settings independently."),checked:!!d,onChange:e=>a({inherit:!!e})}),!d&&(0,Fe.createElement)(Ge.SelectControl,{options:_,value:u,label:(0,Ue.__)("Post type"),onChange:e=>{const t={postType:e};f[e].includes("category")||(t.categoryIds=[]),f[e].includes("post_tag")||(t.tagIds=[]),"post"!==e&&(t.sticky=""),a(t)},help:(0,Ue.__)('WordPress contains different types of content and they are divided into collections called "Post types". By default there are a few different ones such as blog posts and pages, but plugins could add more.')}),"flex"===(null==r?void 0:r.type)&&(0,Fe.createElement)(Fe.Fragment,null,(0,Fe.createElement)(Ge.RangeControl,{label:(0,Ue.__)("Columns"),value:r.columns,onChange:e=>l({columns:e}),min:2,max:Math.max(6,r.columns)}),r.columns>6&&(0,Fe.createElement)(Ge.Notice,{status:"warning",isDismissible:!1},(0,Ue.__)("This column count exceeds the recommended amount and may cause visual breakage."))),!d&&(0,Fe.createElement)(Ge.QueryControls,{order:i,orderBy:s,onOrderChange:e=>a({order:e}),onOrderByChange:e=>a({orderBy:e})}),b&&(0,Fe.createElement)(Ge.SelectControl,{label:(0,Ue.__)("Sticky posts"),options:_p,value:m,onChange:e=>a({sticky:e}),help:(0,Ue.__)('Blog posts can be "stickied", a feature that places them at the top of the front page of posts, keeping it there until new sticky posts are published.')})),!d&&(0,Fe.createElement)(Ge.PanelBody,{title:(0,Ue.__)("Filters")},p&&(null==w||null===(t=w.terms)||void 0===t?void 0:t.length)>0&&(0,Fe.createElement)(Ge.FormTokenField,{label:(0,Ue.__)("Categories"),value:P("category"),suggestions:w.names,onChange:x}),h&&(null==E||null===(n=E.terms)||void 0===n?void 0:n.length)>0&&(0,Fe.createElement)(Ge.FormTokenField,{label:(0,Ue.__)("Tags"),value:P("post_tag"),suggestions:E.names,onChange:S}),(0,Fe.createElement)(Ge.QueryControls,{selectedAuthorId:c,authorList:k,onAuthorChange:e=>a({author:""!==e?+e:void 0})}),(0,Fe.createElement)(Ge.TextControl,{label:(0,Ue.__)("Keyword"),value:B,onChange:T})))}var Ep=e=>{var t;let{clientId:n,name:o,attributes:r,setAttributes:a}=e;const{blockType:l,defaultVariation:i,scopeVariations:s,allVariations:c}=(0,Xe.useSelect)((e=>{const{getBlockVariations:t,getBlockType:n,getDefaultBlockVariation:r}=e(He.store);return{blockType:n(o),defaultVariation:r(o,"block"),scopeVariations:t(o,"block"),allVariations:t(o)}}),[o]),{replaceInnerBlocks:u}=(0,Xe.useDispatch)(Oe.store),m=(0,Oe.useBlockProps)(),d=(0,Oe.__experimentalGetMatchingVariation)(r,c),p=(null==d?void 0:d.icon)||(null==l||null===(t=l.icon)||void 0===t?void 0:t.src),g=(null==d?void 0:d.title)||(null==l?void 0:l.title);return(0,Fe.createElement)("div",m,(0,Fe.createElement)(Oe.__experimentalBlockVariationPicker,{icon:p,label:g,variations:s,onSelect:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i;e.attributes&&a(e.attributes),e.innerBlocks&&u(n,(0,He.createBlocksFromInnerBlocksTemplate)(e.innerBlocks),!1)}}))};const Cp=[["core/post-template"]];function xp(e){let{attributes:t,setAttributes:n}=e;const{queryId:o,query:r,displayLayout:a,tagName:l="div",layout:i={}}=t,{__unstableMarkNextChangeAsNotPersistent:s}=(0,Xe.useDispatch)(Oe.store),c=(0,Et.useInstanceId)(xp),{themeSupportsLayout:u}=(0,Xe.useSelect)((e=>{var t;const{getSettings:n}=e(Oe.store);return{themeSupportsLayout:null===(t=n())||void 0===t?void 0:t.supportsLayout}}),[]),m=(0,Oe.useSetting)("layout")||{},d=i&&i.inherit?m:i,p=(0,Oe.useBlockProps)(),g=(0,Oe.useInnerBlocksProps)(p,{template:Cp,__experimentalLayout:u?d:void 0}),{postsPerPage:h}=(0,Xe.useSelect)((e=>{const{getSettings:t}=e(Oe.store);return{postsPerPage:+t().postsPerPage||3}}),[]);(0,Fe.useEffect)((()=>{const e={};!r.perPage&&h&&(e.perPage=h),Object.keys(e).length&&(s(),v(e))}),[r.perPage]),(0,Fe.useEffect)((()=>{o||(s(),n({queryId:c}))}),[o,c]);const v=e=>n({query:{...r,...e}}),b=e=>n({displayLayout:{...a,...e}});return(0,Fe.createElement)(Fe.Fragment,null,(0,Fe.createElement)(kp,{attributes:t,setQuery:v,setDisplayLayout:b}),(0,Fe.createElement)(Oe.BlockControls,null,(0,Fe.createElement)(yp,{attributes:t,setQuery:v,setDisplayLayout:b})),(0,Fe.createElement)(Oe.InspectorControls,{__experimentalGroup:"advanced"},(0,Fe.createElement)(Ge.SelectControl,{label:(0,Ue.__)("HTML element"),options:[{label:(0,Ue.__)("Default (<div>)"),value:"div"},{label:"<main>",value:"main"},{label:"<section>",value:"section"},{label:"<aside>",value:"aside"}],value:l,onChange:e=>n({tagName:e})})),(0,Fe.createElement)(l,g))}function Sp(e){const{clientId:t,name:n}=e,o=(0,Oe.useBlockProps)(),{replaceBlock:r,selectBlock:a}=(0,Xe.useDispatch)(Oe.store);return(0,Fe.createElement)("div",o,(0,Fe.createElement)(Oe.__experimentalBlockPatternSetup,{blockName:n,clientId:t,startBlankComponent:(0,Fe.createElement)(Ep,e),onBlockPatternSelect:e=>{const n=e.map((e=>(0,He.cloneBlock)(e))),o=(e=>{const t=[...e];for(;t.length>0;){var n;const e=t.shift();if("core/query"===e.name)return e.clientId;null===(n=e.innerBlocks)||void 0===n||n.forEach((e=>{t.push(e)}))}})(n);r(t,n),o&&a(o)}}))}const Bp=(0,Fe.createElement)(Ge.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48"},(0,Fe.createElement)(Ge.Path,{d:"M41 9H7v3h34V9zm-22 5H7v1h12v-1zM7 26h12v1H7v-1zm34-5H7v3h34v-3zM7 38h12v1H7v-1zm34-5H7v3h34v-3z"})),Tp=(0,Fe.createElement)(Ge.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48"},(0,Fe.createElement)(Ge.Path,{d:"M41 9H7v3h34V9zm-4 5H7v1h30v-1zm4 3H7v1h34v-1zM7 20h30v1H7v-1zm0 12h30v1H7v-1zm34 3H7v1h34v-1zM7 38h30v1H7v-1zm34-11H7v3h34v-3z"})),Np=(0,Fe.createElement)(Ge.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48"},(0,Fe.createElement)(Ge.Path,{d:"M41 9H7v3h34V9zm-22 5H7v1h12v-1zm22 3H7v1h34v-1zM7 20h34v1H7v-1zm0 12h12v1H7v-1zm34 3H7v1h34v-1zM7 38h34v1H7v-1zm34-11H7v3h34v-3z"})),Pp=(0,Fe.createElement)(Ge.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48"},(0,Fe.createElement)(Ge.Path,{d:"M7 9h34v6H7V9zm12 8H7v1h12v-1zm18 3H7v1h30v-1zm0 18H7v1h30v-1zM7 35h12v1H7v-1zm34-8H7v6h34v-6z"})),zp={query:{perPage:3,pages:0,offset:0,postType:"post",categoryIds:[],tagIds:[],order:"desc",orderBy:"date",author:"",search:"",exclude:[],sticky:"",inherit:!1}};var Ip=[{name:"posts-list",title:(0,Ue.__)("Posts List"),description:(0,Ue.__)("Display a list of your most recent posts, excluding sticky posts."),icon:ks,attributes:{query:{perPage:4,pages:1,offset:0,postType:"post",categoryIds:[],tagIds:[],order:"desc",orderBy:"date",author:"",search:"",sticky:"exclude",inherit:!1}},scope:["inserter"]},{name:"title-date",title:(0,Ue.__)("Title & Date"),icon:Bp,attributes:{...zp},innerBlocks:[["core/post-template",{},[["core/post-title"],["core/post-date"]]],["core/query-pagination"]],scope:["block"]},{name:"title-excerpt",title:(0,Ue.__)("Title & Excerpt"),icon:Tp,attributes:{...zp},innerBlocks:[["core/post-template",{},[["core/post-title"],["core/post-excerpt"]]],["core/query-pagination"]],scope:["block"]},{name:"title-date-excerpt",title:(0,Ue.__)("Title, Date, & Excerpt"),icon:Np,attributes:{...zp},innerBlocks:[["core/post-template",{},[["core/post-title"],["core/post-date"],["core/post-excerpt"]]],["core/query-pagination"]],scope:["block"]},{name:"image-date-title",title:(0,Ue.__)("Image, Date, & Title"),icon:Pp,attributes:{...zp},innerBlocks:[["core/post-template",{},[["core/post-featured-image"],["core/post-date"],["core/post-title"]]],["core/query-pagination"]],scope:["block"]}],Mp=[{attributes:{queryId:{type:"number"},query:{type:"object",default:{perPage:null,pages:0,offset:0,postType:"post",categoryIds:[],tagIds:[],order:"desc",orderBy:"date",author:"",search:"",exclude:[],sticky:"",inherit:!0}},layout:{type:"object",default:{type:"list"}}},supports:{html:!1},migrate:e=>({...(0,nt.omit)(e,["layout"]),displayLayout:e.layout}),save:()=>(0,Fe.createElement)(Oe.InnerBlocks.Content,null)}];const Lp=e=>{let{attributes:{query:{postType:t}={}}={}}=e;if(!t)return null;const n=(0,Za.addQueryArgs)("post-new.php",{post_type:t});return(0,Fe.createElement)("div",{className:"wp-block-query__create-new-link"},(0,Fe.createInterpolateElement)((0,Ue.__)("<a>Create a new post</a> for this feed."),{a:(0,Fe.createElement)("a",{href:n})}))};var Rp=(0,Et.createHigherOrderComponent)((e=>t=>{const{name:n,isSelected:o}=t;return"core/query"===n&&o?(0,Fe.createElement)(Fe.Fragment,null,(0,Fe.createElement)(Oe.InspectorControls,null,(0,Fe.createElement)(Lp,t)),(0,Fe.createElement)(e,It({key:"edit"},t))):(0,Fe.createElement)(e,It({key:"edit"},t))}),"withInspectorControls");const Vp={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:2,name:"core/query",title:"Query Loop",category:"theme",description:"An advanced block that allows displaying post types based on different query parameters and visual configurations.",textdomain:"default",attributes:{queryId:{type:"number"},query:{type:"object",default:{perPage:null,pages:0,offset:0,postType:"post",categoryIds:[],tagIds:[],order:"desc",orderBy:"date",author:"",search:"",exclude:[],sticky:"",inherit:!0}},tagName:{type:"string",default:"div"},displayLayout:{type:"object",default:{type:"list"}}},providesContext:{queryId:"queryId",query:"query",displayLayout:"displayLayout"},supports:{align:["wide","full"],html:!1,color:{gradients:!0,link:!0},__experimentalLayout:!0},editorStyle:"wp-block-query-editor"},{name:Ap}=Vp,Hp={icon:bp,edit:e=>{const{clientId:t}=e,n=(0,Xe.useSelect)((e=>!!e(Oe.store).getBlocks(t).length),[t])?xp:Sp;return(0,Fe.createElement)(n,e)},save:function(e){let{attributes:{tagName:t="div"}}=e;const n=Oe.useBlockProps.save(),o=Oe.useInnerBlocksProps.save(n);return(0,Fe.createElement)(t,o)},variations:Ip,deprecated:Mp};function Fp(e){let{value:t,onChange:n}=e;return(0,Fe.createElement)(Ge.__experimentalToggleGroupControl,{label:(0,Ue.__)("Arrow"),value:t,onChange:n,help:(0,Ue.__)("A decorative arrow appended to the next and previous page link."),isBlock:!0},(0,Fe.createElement)(Ge.__experimentalToggleGroupControlOption,{value:"none",label:(0,Ue._x)("None","Arrow option for Query Pagination Next/Previous blocks")}),(0,Fe.createElement)(Ge.__experimentalToggleGroupControlOption,{value:"arrow",label:(0,Ue._x)("Arrow","Arrow option for Query Pagination Next/Previous blocks")}),(0,Fe.createElement)(Ge.__experimentalToggleGroupControlOption,{value:"chevron",label:(0,Ue._x)("Chevron","Arrow option for Query Pagination Next/Previous blocks")}))}(0,di.addFilter)("editor.BlockEdit","core/query",Rp);const Dp=[["core/query-pagination-previous"],["core/query-pagination-numbers"],["core/query-pagination-next"]];var $p=[{save:()=>(0,Fe.createElement)("div",Oe.useBlockProps.save(),(0,Fe.createElement)(Oe.InnerBlocks.Content,null))}];const Gp={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:2,name:"core/query-pagination",title:"Pagination",category:"design",parent:["core/query"],description:"Displays a paginated navigation to next/previous set of posts, when applicable.",textdomain:"default",attributes:{paginationArrow:{type:"string",default:"none"}},usesContext:["queryId","query"],providesContext:{paginationArrow:"paginationArrow"},supports:{align:!0,reusable:!1,html:!1,color:{gradients:!0,link:!0},__experimentalLayout:{allowSwitching:!1,allowInheriting:!1,default:{type:"flex"}}},editorStyle:"wp-block-query-pagination-editor",style:"wp-block-query-pagination"},{name:Up}=Gp,Op={icon:Do,edit:function(e){let{attributes:{paginationArrow:t,layout:n},setAttributes:o,clientId:r,name:a}=e;const l=n||(e=>{const t=(0,He.getBlockSupport)(e,"__experimentalLayout");return null==t?void 0:t.default})(a),i=(0,Xe.useSelect)((e=>{const{getBlocks:t}=e(Oe.store),n=t(r);return null==n?void 0:n.find((e=>["core/query-pagination-next","core/query-pagination-previous"].includes(e.name)))}),[]),s=(0,Oe.useBlockProps)(),c=(0,Oe.useInnerBlocksProps)(s,{template:Dp,allowedBlocks:["core/query-pagination-previous","core/query-pagination-numbers","core/query-pagination-next"],__experimentalLayout:l});return(0,Fe.createElement)(Fe.Fragment,null,i&&(0,Fe.createElement)(Oe.InspectorControls,null,(0,Fe.createElement)(Ge.PanelBody,{title:(0,Ue.__)("Settings")},(0,Fe.createElement)(Fp,{value:t,onChange:e=>{o({paginationArrow:e})}}))),(0,Fe.createElement)("div",c))},save:function(){return(0,Fe.createElement)(Oe.InnerBlocks.Content,null)},deprecated:$p},qp={none:"",arrow:"→",chevron:"»"},Wp={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:2,name:"core/query-pagination-next",title:"Next Page",category:"design",parent:["core/query-pagination"],description:"Displays the next posts page link.",textdomain:"default",attributes:{label:{type:"string"}},usesContext:["queryId","query","paginationArrow"],supports:{reusable:!1,html:!1,color:{gradients:!0,text:!1},typography:{fontSize:!0,lineHeight:!0,__experimentalFontStyle:!0,__experimentalFontWeight:!0,__experimentalLetterSpacing:!0,__experimentalTextTransform:!0,__experimentalDefaultControls:{fontSize:!0}}}},{name:jp}=Wp,Zp={icon:Wo,edit:function(e){let{attributes:{label:t},setAttributes:n,context:{paginationArrow:o}}=e;const r=qp[o];return(0,Fe.createElement)("a",It({href:"#pagination-next-pseudo-link",onClick:e=>e.preventDefault()},(0,Oe.useBlockProps)()),(0,Fe.createElement)(Oe.PlainText,{__experimentalVersion:2,tagName:"span","aria-label":(0,Ue.__)("Next page link"),placeholder:(0,Ue.__)("Next Page"),value:t,onChange:e=>n({label:e})}),r&&(0,Fe.createElement)("span",{className:`wp-block-query-pagination-next-arrow is-arrow-${o}`},r))}},Qp=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"a",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return(0,Fe.createElement)(t,{className:`page-numbers ${n}`},e)},Kp={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:2,name:"core/query-pagination-numbers",title:"Page Numbers",category:"design",parent:["core/query-pagination"],description:"Displays a list of page numbers for pagination",textdomain:"default",usesContext:["queryId","query"],supports:{reusable:!1,html:!1},editorStyle:"query-pagination-numbers-editor"},{name:Jp}=Kp,Yp={icon:Jo,edit:function(){const e=(0,Fe.createElement)(Fe.Fragment,null,Qp(1),Qp(2),Qp(3,"span","current"),Qp(4),Qp(5),Qp("...","span","dots"),Qp(8));return(0,Fe.createElement)("div",(0,Oe.useBlockProps)(),e)}},Xp={none:"",arrow:"←",chevron:"«"},eg={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:2,name:"core/query-pagination-previous",title:"Previous Page",category:"design",parent:["core/query-pagination"],description:"Displays the previous posts page link.",textdomain:"default",attributes:{label:{type:"string"}},usesContext:["queryId","query","paginationArrow"],supports:{reusable:!1,html:!1,color:{gradients:!0,text:!1},typography:{fontSize:!0,lineHeight:!0,__experimentalFontStyle:!0,__experimentalFontWeight:!0,__experimentalLetterSpacing:!0,__experimentalTextTransform:!0,__experimentalDefaultControls:{fontSize:!0}}}},{name:tg}=eg,ng={icon:To,edit:function(e){let{attributes:{label:t},setAttributes:n,context:{paginationArrow:o}}=e;const r=Xp[o];return(0,Fe.createElement)("a",It({href:"#pagination-previous-pseudo-link",onClick:e=>e.preventDefault()},(0,Oe.useBlockProps)()),r&&(0,Fe.createElement)("span",{className:`wp-block-query-pagination-previous-arrow is-arrow-${o}`},r),(0,Fe.createElement)(Oe.PlainText,{__experimentalVersion:2,tagName:"span","aria-label":(0,Ue.__)("Previous page link"),placeholder:(0,Ue.__)("Previous Page"),value:t,onChange:e=>n({label:e})}))}},og=["archive"];var rg=(0,Fe.createElement)(De.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,Fe.createElement)(De.Path,{d:"M6.08 10.103h2.914L9.657 12h1.417L8.23 4H6.846L4 12h1.417l.663-1.897Zm1.463-4.137.994 2.857h-2l1.006-2.857ZM20 16H4v-1.5h16V16Zm-7 4H4v-1.5h9V20Z"}));const ag=[{isDefault:!0,name:"archive-title",title:(0,Ue.__)("Archive Title"),description:(0,Ue.__)("Display the archive title based on the queried object."),icon:rg,attributes:{type:"archive"},scope:["inserter"]}];ag.forEach((e=>{e.isActive||(e.isActive=(e,t)=>e.type===t.type)}));var lg=ag,ig=[{attributes:{type:{type:"string"},textAlign:{type:"string"},level:{type:"number",default:1}},supports:{align:["wide","full"],html:!1,color:{gradients:!0},spacing:{margin:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0}},save:()=>null,migrate:St,isEligible(e){var t;let{style:n}=e;return null==n||null===(t=n.typography)||void 0===t?void 0:t.fontFamily}}];const sg={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:2,name:"core/query-title",title:"Query Title",category:"theme",description:"Display the query title.",textdomain:"default",attributes:{type:{type:"string"},textAlign:{type:"string"},level:{type:"number",default:1}},supports:{align:["wide","full"],html:!1,color:{gradients:!0},spacing:{margin:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontStyle:!0,__experimentalFontWeight:!0,__experimentalLetterSpacing:!0,__experimentalTextTransform:!0,__experimentalDefaultControls:{fontSize:!0,fontAppearance:!0,textTransform:!0}}},editorStyle:"wp-block-query-title-editor"},{name:cg}=sg,ug={edit:function(e){let{attributes:{type:t,level:n,textAlign:o},setAttributes:r}=e;const a=`h${n}`,l=(0,Oe.useBlockProps)({className:wt()({[`has-text-align-${o}`]:o,"wp-block-query-title__placeholder":"archive"===t})});if(!og.includes(t))return(0,Fe.createElement)("div",l,(0,Fe.createElement)(Oe.Warning,null,(0,Ue.__)("Provided type is not supported.")));let i;return"archive"===t&&(i=(0,Fe.createElement)(a,l,(0,Ue.__)("Archive title"))),(0,Fe.createElement)(Fe.Fragment,null,(0,Fe.createElement)(Oe.BlockControls,{group:"block"},(0,Fe.createElement)(Vi,{selectedLevel:n,onChange:e=>r({level:e})}),(0,Fe.createElement)(Oe.AlignmentControl,{value:o,onChange:e=>{r({textAlign:e})}})),i)},variations:lg,deprecated:ig};var mg=(0,Fe.createElement)(De.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,Fe.createElement)(De.Path,{d:"M13 6v6h5.2v4c0 .8-.2 1.4-.5 1.7-.6.6-1.6.6-2.5.5h-.3v1.5h.5c1 0 2.3-.1 3.3-1 .6-.6 1-1.6 1-2.8V6H13zm-9 6h5.2v4c0 .8-.2 1.4-.5 1.7-.6.6-1.6.6-2.5.5h-.3v1.5h.5c1 0 2.3-.1 3.3-1 .6-.6 1-1.6 1-2.8V6H4v6z"}));const dg={value:{type:"string",source:"html",selector:"blockquote",multiline:"p",default:""},citation:{type:"string",source:"html",selector:"cite",default:""},align:{type:"string"}};var pg=[{attributes:dg,save(e){let{attributes:t}=e;const{align:n,value:o,citation:r}=t;return(0,Fe.createElement)("blockquote",{style:{textAlign:n||null}},(0,Fe.createElement)(Oe.RichText.Content,{multiline:!0,value:o}),!Oe.RichText.isEmpty(r)&&(0,Fe.createElement)(Oe.RichText.Content,{tagName:"cite",value:r}))}},{attributes:{...dg,style:{type:"number",default:1}},migrate:e=>2===e.style?{...(0,nt.omit)(e,["style"]),className:e.className?e.className+" is-style-large":"is-style-large"}:e,save(e){let{attributes:t}=e;const{align:n,value:o,citation:r,style:a}=t;return(0,Fe.createElement)("blockquote",{className:2===a?"is-large":"",style:{textAlign:n||null}},(0,Fe.createElement)(Oe.RichText.Content,{multiline:!0,value:o}),!Oe.RichText.isEmpty(r)&&(0,Fe.createElement)(Oe.RichText.Content,{tagName:"cite",value:r}))}},{attributes:{...dg,citation:{type:"string",source:"html",selector:"footer",default:""},style:{type:"number",default:1}},migrate:e=>isNaN(parseInt(e.style))?e:{...(0,nt.omit)(e,["style"])},save(e){let{attributes:t}=e;const{align:n,value:o,citation:r,style:a}=t;return(0,Fe.createElement)("blockquote",{className:`blocks-quote-style-${a}`,style:{textAlign:n||null}},(0,Fe.createElement)(Oe.RichText.Content,{multiline:!0,value:o}),!Oe.RichText.isEmpty(r)&&(0,Fe.createElement)(Oe.RichText.Content,{tagName:"footer",value:r}))}}];const gg="web"===Fe.Platform.OS;var hg={from:[{type:"block",isMultiBlock:!0,blocks:["core/paragraph"],transform:e=>(0,He.createBlock)("core/quote",{value:(0,Ot.toHTMLString)({value:(0,Ot.join)(e.map((e=>{let{content:t}=e;return(0,Ot.create)({html:t})})),"\u2028"),multilineTag:"p"}),anchor:e.anchor})},{type:"block",blocks:["core/heading"],transform:e=>{let{content:t,anchor:n}=e;return(0,He.createBlock)("core/quote",{value:`<p>${t}</p>`,anchor:n})}},{type:"block",blocks:["core/pullquote"],transform:e=>{let{value:t,citation:n,anchor:o}=e;return(0,He.createBlock)("core/quote",{value:t,citation:n,anchor:o})}},{type:"prefix",prefix:">",transform:e=>(0,He.createBlock)("core/quote",{value:`<p>${e}</p>`})},{type:"raw",isMatch:e=>{const t=(()=>{let e=!1;return t=>"P"===t.nodeName||(e||"CITE"!==t.nodeName?void 0:(e=!0,!0))})();return"BLOCKQUOTE"===e.nodeName&&Array.from(e.childNodes).every(t)},schema:e=>{let{phrasingContentSchema:t}=e;return{blockquote:{children:{p:{children:t},cite:{children:t}}}}}}],to:[{type:"block",blocks:["core/paragraph"],transform:e=>{let{value:t,citation:n}=e;const o=[];return t&&"<p></p>"!==t&&o.push(...(0,Ot.split)((0,Ot.create)({html:t,multilineTag:"p"}),"\u2028").map((e=>(0,He.createBlock)("core/paragraph",{content:(0,Ot.toHTMLString)({value:e})})))),n&&"<p></p>"!==n&&o.push((0,He.createBlock)("core/paragraph",{content:n})),0===o.length?(0,He.createBlock)("core/paragraph",{content:""}):o}},{type:"block",blocks:["core/heading"],transform:e=>{let{value:t,citation:n,...o}=e;if("<p></p>"===t)return(0,He.createBlock)("core/heading",{content:n});const r=(0,Ot.split)((0,Ot.create)({html:t,multilineTag:"p"}),"\u2028"),a=(0,He.createBlock)("core/heading",{content:(0,Ot.toHTMLString)({value:r[0]})});if(!n&&1===r.length)return a;const l=r.slice(1);return[a,(0,He.createBlock)("core/quote",{...o,citation:n,value:(0,Ot.toHTMLString)({value:l.length?(0,Ot.join)(r.slice(1),"\u2028"):(0,Ot.create)(),multilineTag:"p"})})]}},{type:"block",blocks:["core/pullquote"],transform:e=>{let{value:t,citation:n,anchor:o}=e;return(0,He.createBlock)("core/pullquote",{value:t,citation:n,anchor:o})}}]};const vg={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:2,name:"core/quote",title:"Quote",category:"text",description:'Give quoted text visual emphasis. "In quoting others, we cite ourselves." — Julio Cortázar',keywords:["blockquote","cite"],textdomain:"default",attributes:{value:{type:"string",source:"html",selector:"blockquote",multiline:"p",default:"",__experimentalRole:"content"},citation:{type:"string",source:"html",selector:"cite",default:"",__experimentalRole:"content"},align:{type:"string"}},supports:{anchor:!0,__experimentalSlashInserter:!0,typography:{fontSize:!0,lineHeight:!0,__experimentalFontStyle:!0,__experimentalFontWeight:!0,__experimentalLetterSpacing:!0,__experimentalTextTransform:!0,__experimentalDefaultControls:{fontSize:!0,fontAppearance:!0}}},styles:[{name:"default",label:"Default",isDefault:!0},{name:"plain",label:"Plain"},{name:"large",label:"Large"}],editorStyle:"wp-block-quote-editor",style:"wp-block-quote"},{name:bg}=vg,yg={icon:mg,example:{attributes:{value:"<p>"+(0,Ue.__)("In quoting others, we cite ourselves.")+"</p>",citation:"Julio Cortázar",className:"is-style-large"}},transforms:hg,edit:function(e){let{attributes:t,setAttributes:n,isSelected:o,mergeBlocks:r,onReplace:a,className:l,insertBlocksAfter:i,style:s}=e;const{align:c,value:u,citation:m}=t,d=(0,Oe.useBlockProps)({className:wt()(l,{[`has-text-align-${c}`]:c}),style:s});return(0,Fe.createElement)(Fe.Fragment,null,(0,Fe.createElement)(Oe.BlockControls,{group:"block"},(0,Fe.createElement)(Oe.AlignmentControl,{value:c,onChange:e=>{n({align:e})}})),(0,Fe.createElement)(Ge.BlockQuotation,d,(0,Fe.createElement)(Oe.RichText,{identifier:"value",multiline:!0,value:u,onChange:e=>n({value:e}),onMerge:r,onRemove:e=>{const t=!m||0===m.length;!e&&t&&a([])},"aria-label":(0,Ue.__)("Quote text"),placeholder:// translators: placeholder text used for the quote
80
  (0,Ue.__)("Add quote"),onReplace:a,onSplit:e=>(0,He.createBlock)("core/quote",{...t,value:e}),__unstableOnSplitMiddle:()=>(0,He.createBlock)("core/paragraph"),textAlign:c}),(!Oe.RichText.isEmpty(m)||o)&&(0,Fe.createElement)(Oe.RichText,{identifier:"citation",tagName:gg?"cite":void 0,style:{display:"block"},value:m,onChange:e=>n({citation:e}),__unstableMobileNoFocusOnMount:!0,"aria-label":(0,Ue.__)("Quote citation text"),placeholder:// translators: placeholder text used for the citation
81
+ (0,Ue.__)("Add citation"),className:"wp-block-quote__citation",textAlign:c,__unstableOnSplitAtEnd:()=>i((0,He.createBlock)("core/paragraph"))})))},save:function(e){let{attributes:t}=e;const{align:n,value:o,citation:r}=t,a=wt()({[`has-text-align-${n}`]:n});return(0,Fe.createElement)("blockquote",Oe.useBlockProps.save({className:a}),(0,Fe.createElement)(Oe.RichText.Content,{multiline:!0,value:o}),!Oe.RichText.isEmpty(r)&&(0,Fe.createElement)(Oe.RichText.Content,{tagName:"cite",value:r}))},merge(e,t){let{value:n,citation:o}=t;return o||(o=e.citation),n&&"<p></p>"!==n?{...e,value:e.value+n,citation:o}:{...e,citation:o}},deprecated:pg};var fg=(0,Fe.createElement)(De.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,Fe.createElement)(De.Path,{d:"M21.3 10.8l-5.6-5.6c-.7-.7-1.8-.7-2.5 0l-5.6 5.6c-.7.7-.7 1.8 0 2.5l5.6 5.6c.3.3.8.5 1.2.5s.9-.2 1.2-.5l5.6-5.6c.8-.7.8-1.9.1-2.5zm-1 1.4l-5.6 5.6c-.1.1-.3.1-.4 0l-5.6-5.6c-.1-.1-.1-.3 0-.4l5.6-5.6s.1-.1.2-.1.1 0 .2.1l5.6 5.6c.1.1.1.3 0 .4zm-16.6-.4L10 5.5l-1-1-6.3 6.3c-.7.7-.7 1.8 0 2.5L9 19.5l1.1-1.1-6.3-6.3c-.2 0-.2-.2-.1-.3z"})),_g=window.wp.reusableBlocks,kg=(0,Fe.createElement)(De.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,Fe.createElement)(De.Path,{d:"M18 4h-7c-1.1 0-2 .9-2 2v7c0 1.1.9 2 2 2h7c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm.5 9c0 .3-.2.5-.5.5h-7c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h7c.3 0 .5.2.5.5v7zm-5 5c0 .3-.2.5-.5.5H6c-.3 0-.5-.2-.5-.5v-7c0-.3.2-.5.5-.5h1V9H6c-1.1 0-2 .9-2 2v7c0 1.1.9 2 2 2h7c1.1 0 2-.9 2-2v-1h-1.5v1z"}));const wg={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:2,name:"core/block",title:"Reusable block",category:"reusable",description:"Create and save content to reuse across your site. Update the block, and the changes apply everywhere it’s used.",textdomain:"default",attributes:{ref:{type:"number"}},supports:{customClassName:!1,html:!1,inserter:!1},editorStyle:"wp-block-editor"},{name:Eg}=wg,Cg={edit:function(e){let{attributes:{ref:t},clientId:n}=e;const[o,r]=(0,Oe.__experimentalUseNoRecursiveRenders)(t),{isMissing:a,hasResolved:l}=(0,Xe.useSelect)((e=>{const n=e(en.store).getEntityRecord("postType","wp_block",t),o=e(en.store).hasFinishedResolution("getEntityRecord",["postType","wp_block",t]);return{hasResolved:o,isMissing:o&&!n}}),[t,n]),{__experimentalConvertBlockToStatic:i}=(0,Xe.useDispatch)(_g.store),[s,c,u]=(0,en.useEntityBlockEditor)("postType","wp_block",{id:t}),[m,d]=(0,en.useEntityProp)("postType","wp_block","title",t),p=(0,Oe.useBlockProps)(),g=(0,Oe.useInnerBlocksProps)({},{value:s,onInput:c,onChange:u,renderAppender:null!=s&&s.length?void 0:Oe.InnerBlocks.ButtonBlockAppender});return o?(0,Fe.createElement)("div",p,(0,Fe.createElement)(Oe.Warning,null,(0,Ue.__)("Block cannot be rendered inside itself."))):a?(0,Fe.createElement)("div",p,(0,Fe.createElement)(Oe.Warning,null,(0,Ue.__)("Block has been deleted or is unavailable."))):l?(0,Fe.createElement)(r,null,(0,Fe.createElement)("div",p,(0,Fe.createElement)(Oe.BlockControls,null,(0,Fe.createElement)(Ge.ToolbarGroup,null,(0,Fe.createElement)(Ge.ToolbarButton,{onClick:()=>i(n),label:(0,Ue.__)("Convert to regular blocks"),icon:kg,showTooltip:!0}))),(0,Fe.createElement)(Oe.InspectorControls,null,(0,Fe.createElement)(Ge.PanelBody,null,(0,Fe.createElement)(Ge.TextControl,{label:(0,Ue.__)("Name"),value:m,onChange:d}))),(0,Fe.createElement)(Oe.__experimentalBlockContentOverlay,{clientId:n,wrapperProps:g,className:"block-library-block__reusable-block-container"}))):(0,Fe.createElement)("div",p,(0,Fe.createElement)(Ge.Placeholder,null,(0,Fe.createElement)(Ge.Spinner,null)))},icon:fg};var xg=(0,Fe.createElement)(De.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,Fe.createElement)(De.Path,{d:"M5 10.2h-.8v1.5H5c1.9 0 3.8.8 5.1 2.1 1.4 1.4 2.1 3.2 2.1 5.1v.8h1.5V19c0-2.3-.9-4.5-2.6-6.2-1.6-1.6-3.8-2.6-6.1-2.6zm10.4-1.6C12.6 5.8 8.9 4.2 5 4.2h-.8v1.5H5c3.5 0 6.9 1.4 9.4 3.9s3.9 5.8 3.9 9.4v.8h1.5V19c0-3.9-1.6-7.6-4.4-10.4zM4 20h3v-3H4v3z"}));const Sg={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:2,name:"core/rss",title:"RSS",category:"widgets",description:"Display entries from any RSS or Atom feed.",keywords:["atom","feed"],textdomain:"default",attributes:{columns:{type:"number",default:2},blockLayout:{type:"string",default:"list"},feedURL:{type:"string",default:""},itemsToShow:{type:"number",default:5},displayExcerpt:{type:"boolean",default:!1},displayAuthor:{type:"boolean",default:!1},displayDate:{type:"boolean",default:!1},excerptLength:{type:"number",default:55}},supports:{align:!0,html:!1},editorStyle:"wp-block-rss-editor",style:"wp-block-rss"},{name:Bg}=Sg,Tg={icon:xg,example:{attributes:{feedURL:"https://wordpress.org"}},edit:function(e){let{attributes:t,setAttributes:n}=e;const[o,r]=(0,Fe.useState)(!t.feedURL),{blockLayout:a,columns:l,displayAuthor:i,displayDate:s,displayExcerpt:c,excerptLength:u,feedURL:m,itemsToShow:d}=t;function p(e){return()=>{const o=t[e];n({[e]:!o})}}const g=(0,Oe.useBlockProps)();if(o)return(0,Fe.createElement)("div",g,(0,Fe.createElement)(Ge.Placeholder,{icon:xg,label:"RSS"},(0,Fe.createElement)("form",{onSubmit:function(e){e.preventDefault(),m&&r(!1)},className:"wp-block-rss__placeholder-form"},(0,Fe.createElement)(Ge.TextControl,{placeholder:(0,Ue.__)("Enter URL here…"),value:m,onChange:e=>n({feedURL:e}),className:"wp-block-rss__placeholder-input"}),(0,Fe.createElement)(Ge.Button,{variant:"primary",type:"submit"},(0,Ue.__)("Use URL")))));const h=[{icon:na,title:(0,Ue.__)("Edit RSS URL"),onClick:()=>r(!0)},{icon:Cs,title:(0,Ue.__)("List view"),onClick:()=>n({blockLayout:"list"}),isActive:"list"===a},{icon:xs,title:(0,Ue.__)("Grid view"),onClick:()=>n({blockLayout:"grid"}),isActive:"grid"===a}];return(0,Fe.createElement)(Fe.Fragment,null,(0,Fe.createElement)(Oe.BlockControls,null,(0,Fe.createElement)(Ge.ToolbarGroup,{controls:h})),(0,Fe.createElement)(Oe.InspectorControls,null,(0,Fe.createElement)(Ge.PanelBody,{title:(0,Ue.__)("RSS settings")},(0,Fe.createElement)(Ge.RangeControl,{label:(0,Ue.__)("Number of items"),value:d,onChange:e=>n({itemsToShow:e}),min:1,max:10,required:!0}),(0,Fe.createElement)(Ge.ToggleControl,{label:(0,Ue.__)("Display author"),checked:i,onChange:p("displayAuthor")}),(0,Fe.createElement)(Ge.ToggleControl,{label:(0,Ue.__)("Display date"),checked:s,onChange:p("displayDate")}),(0,Fe.createElement)(Ge.ToggleControl,{label:(0,Ue.__)("Display excerpt"),checked:c,onChange:p("displayExcerpt")}),c&&(0,Fe.createElement)(Ge.RangeControl,{label:(0,Ue.__)("Max number of words in excerpt"),value:u,onChange:e=>n({excerptLength:e}),min:10,max:100,required:!0}),"grid"===a&&(0,Fe.createElement)(Ge.RangeControl,{label:(0,Ue.__)("Columns"),value:l,onChange:e=>n({columns:e}),min:2,max:6,required:!0}))),(0,Fe.createElement)("div",g,(0,Fe.createElement)(Ge.Disabled,null,(0,Fe.createElement)(We(),{block:"core/rss",attributes:t}))))}},Ng=(0,Fe.createElement)(Ge.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,Fe.createElement)(Ge.Rect,{x:"7",y:"10",width:"10",height:"4",rx:"1",fill:"currentColor"})),Pg=(0,Fe.createElement)(Ge.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,Fe.createElement)(Ge.Rect,{x:"4.75",y:"15.25",width:"6.5",height:"9.5",transform:"rotate(-90 4.75 15.25)",stroke:"currentColor",strokeWidth:"1.5",fill:"none"}),(0,Fe.createElement)(Ge.Rect,{x:"16",y:"10",width:"4",height:"4",rx:"1",fill:"currentColor"})),zg=(0,Fe.createElement)(Ge.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,Fe.createElement)(Ge.Rect,{x:"4.75",y:"15.25",width:"6.5",height:"14.5",transform:"rotate(-90 4.75 15.25)",stroke:"currentColor",strokeWidth:"1.5",fill:"none"}),(0,Fe.createElement)(Ge.Rect,{x:"14",y:"10",width:"4",height:"4",rx:"1",fill:"currentColor"})),Ig=(0,Fe.createElement)(Ge.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,Fe.createElement)(Ge.Rect,{x:"4.75",y:"15.25",width:"6.5",height:"14.5",transform:"rotate(-90 4.75 15.25)",stroke:"currentColor",fill:"none",strokeWidth:"1.5"})),Mg=(0,Fe.createElement)(Ge.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,Fe.createElement)(Ge.Rect,{x:"4.75",y:"7.75",width:"14.5",height:"8.5",rx:"1.25",stroke:"currentColor",fill:"none",strokeWidth:"1.5"}),(0,Fe.createElement)(Ge.Rect,{x:"8",y:"11",width:"8",height:"2",fill:"currentColor"})),Lg=(0,Fe.createElement)(Ge.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,Fe.createElement)(Ge.Rect,{x:"4.75",y:"17.25",width:"5.5",height:"14.5",transform:"rotate(-90 4.75 17.25)",stroke:"currentColor",fill:"none",strokeWidth:"1.5"}),(0,Fe.createElement)(Ge.Rect,{x:"4",y:"7",width:"10",height:"2",fill:"currentColor"}));var Rg=[{name:"default",isDefault:!0,attributes:{buttonText:(0,Ue.__)("Search"),label:(0,Ue.__)("Search")}}];const Vg={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:2,name:"core/search",title:"Search",category:"widgets",description:"Help visitors find your content.",keywords:["find"],textdomain:"default",attributes:{label:{type:"string",__experimentalRole:"content"},showLabel:{type:"boolean",default:!0},placeholder:{type:"string",default:"",__experimentalRole:"content"},width:{type:"number"},widthUnit:{type:"string"},buttonText:{type:"string",__experimentalRole:"content"},buttonPosition:{type:"string",default:"button-outside"},buttonUseIcon:{type:"boolean",default:!1}},supports:{align:["left","center","right"],color:{gradients:!0,__experimentalSkipSerialization:!0},__experimentalBorder:{color:!0,radius:!0,width:!0,__experimentalSkipSerialization:!0,__experimentalDefaultControls:{color:!0,radius:!0,width:!0}},html:!1},editorStyle:"wp-block-search-editor",style:"wp-block-search"},{name:Ag}=Vg,Hg={icon:Ac,example:{},variations:Rg,edit:function(e){var t,n,o;let{className:r,attributes:a,setAttributes:l,toggleSelection:i,isSelected:s,clientId:c}=e;const{label:u,showLabel:m,placeholder:d,width:p,widthUnit:g,align:h,buttonText:v,buttonPosition:b,buttonUseIcon:y,style:f}=a,_=(0,Xe.useSelect)((e=>{var t;const{getBlockParentsByBlockName:n,wasBlockJustInserted:o}=e(Oe.store);return!(null===(t=n(c,"core/navigation"))||void 0===t||!t.length)&&o(c)}),[c]),{__unstableMarkNextChangeAsNotPersistent:k}=(0,Xe.useDispatch)(Oe.store);(0,Fe.useEffect)((()=>{_&&(k(),l({showLabel:!1,buttonUseIcon:!0,buttonPosition:"button-inside"}))}),[_]);const w=null==f||null===(t=f.border)||void 0===t?void 0:t.radius,E=null==f||null===(n=f.border)||void 0===n?void 0:n.color,C=null==f||null===(o=f.border)||void 0===o?void 0:o.width,x=(0,Oe.__experimentalUseBorderProps)(a);"number"==typeof w&&(x.style.borderRadius=`${w}px`);const S=(0,Oe.__experimentalUseColorProps)(a),B=`wp-block-search__width-${(0,Et.useInstanceId)(Oe.__experimentalUnitControl)}`,T="button-inside"===b,N="button-outside"===b,P="no-button"===b,z="button-only"===b,I=(0,Ge.__experimentalUseCustomUnits)({availableUnits:["%","px"],defaultValues:{"%":50,px:350}}),M=[{role:"menuitemradio",title:(0,Ue.__)("Button outside"),isActive:"button-outside"===b,icon:Pg,onClick:()=>{l({buttonPosition:"button-outside"})}},{role:"menuitemradio",title:(0,Ue.__)("Button inside"),isActive:"button-inside"===b,icon:zg,onClick:()=>{l({buttonPosition:"button-inside"})}},{role:"menuitemradio",title:(0,Ue.__)("No button"),isActive:"no-button"===b,icon:Ig,onClick:()=>{l({buttonPosition:"no-button"})}}],L=()=>{const e=wt()("wp-block-search__input",T?void 0:x.className),t=T?{borderRadius:w}:x.style;return(0,Fe.createElement)("input",{className:e,style:t,"aria-label":(0,Ue.__)("Optional placeholder text"),placeholder:d?void 0:(0,Ue.__)("Optional placeholder…"),value:d,onChange:e=>l({placeholder:e.target.value})})},R=()=>{const e=wt()("wp-block-search__button",S.className,T?void 0:x.className,y?"has-icon":void 0),t={...S.style,...T?{borderRadius:w}:x.style};return(0,Fe.createElement)(Fe.Fragment,null,y&&(0,Fe.createElement)("button",{type:"button",className:e,style:t},(0,Fe.createElement)(Ic,{icon:Ac})),!y&&(0,Fe.createElement)(Oe.RichText,{className:e,style:t,"aria-label":(0,Ue.__)("Button text"),placeholder:(0,Ue.__)("Add button text…"),withoutInteractiveFormatting:!0,value:v,onChange:e=>l({buttonText:e})}))},V=(0,Fe.createElement)(Fe.Fragment,null,(0,Fe.createElement)(Oe.BlockControls,null,(0,Fe.createElement)(Ge.ToolbarGroup,null,(0,Fe.createElement)(Ge.ToolbarButton,{title:(0,Ue.__)("Toggle search label"),icon:Lg,onClick:()=>{l({showLabel:!m})},className:m?"is-pressed":void 0}),(0,Fe.createElement)(Ge.ToolbarDropdownMenu,{icon:(()=>{switch(b){case"button-inside":return zg;case"button-outside":return Pg;case"no-button":return Ig;case"button-only":return Ng}})(),label:(0,Ue.__)("Change button position"),controls:M}),!P&&(0,Fe.createElement)(Ge.ToolbarButton,{title:(0,Ue.__)("Use button with icon"),icon:Mg,onClick:()=>{l({buttonUseIcon:!y})},className:y?"is-pressed":void 0}))),(0,Fe.createElement)(Oe.InspectorControls,null,(0,Fe.createElement)(Ge.PanelBody,{title:(0,Ue.__)("Display Settings")},(0,Fe.createElement)(Ge.BaseControl,{label:(0,Ue.__)("Width"),id:B},(0,Fe.createElement)(Oe.__experimentalUnitControl,{id:B,min:"220px",onChange:e=>{const t="%"===g&&parseInt(e,10)>100?100:e;l({width:parseInt(t,10)})},onUnitChange:e=>{l({width:"%"===e?50:350,widthUnit:e})},style:{maxWidth:80},value:`${p}${g}`,unit:g,units:I}),(0,Fe.createElement)(Ge.ButtonGroup,{className:"wp-block-search__components-button-group","aria-label":(0,Ue.__)("Percentage Width")},[25,50,75,100].map((e=>(0,Fe.createElement)(Ge.Button,{key:e,isSmall:!0,variant:`${e}%`==`${p}${g}`?0:void 0,onClick:()=>l({width:e,widthUnit:"%"})},e,"%")))))))),A=e=>e?`calc(${e} + 4px)`:void 0,H=(0,Oe.useBlockProps)({className:wt()(r,T?"wp-block-search__button-inside":void 0,N?"wp-block-search__button-outside":void 0,P?"wp-block-search__no-button":void 0,z?"wp-block-search__button-only":void 0,y||P?void 0:"wp-block-search__text-button",y&&!P?"wp-block-search__icon-button":void 0)});return(0,Fe.createElement)("div",H,V,m&&(0,Fe.createElement)(Oe.RichText,{className:"wp-block-search__label","aria-label":(0,Ue.__)("Label text"),placeholder:(0,Ue.__)("Add label…"),withoutInteractiveFormatting:!0,value:u,onChange:e=>l({label:e})}),(0,Fe.createElement)(Ge.ResizableBox,{size:{width:`${p}${g}`},className:wt()("wp-block-search__inside-wrapper",T?x.className:void 0),style:(()=>{const e={borderColor:E,borderWidth:T?C:void 0},t=0!==parseInt(w,10);if(T&&t){if("object"==typeof w){const{topLeft:t,topRight:n,bottomLeft:o,bottomRight:r}=w;return{borderTopLeftRadius:A(t),borderTopRightRadius:A(n),borderBottomLeftRadius:A(o),borderBottomRightRadius:A(r),...e}}const t=Number.isInteger(w)?`${w}px`:w;e.borderRadius=`calc(${t} + 4px)`}return e})(),minWidth:220,enable:z?{}:{right:"right"!==h,left:"right"===h},onResizeStart:(e,t,n)=>{l({width:parseInt(n.offsetWidth,10),widthUnit:"px"}),i(!1)},onResizeStop:(e,t,n,o)=>{l({width:parseInt(p+o.width,10)}),i(!0)},showHandle:s},(T||N)&&(0,Fe.createElement)(Fe.Fragment,null,L(),R()),z&&R(),P&&L()))}};var Fg=(0,Fe.createElement)(De.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,Fe.createElement)(De.Path,{d:"M20.2 7v4H3.8V7H2.2v9h1.6v-3.5h16.4V16h1.6V7z"})),Dg=e=>{let{color:t,setColor:n}=e;return(0,Fe.createElement)(Oe.InspectorControls,null,(0,Fe.createElement)(Oe.PanelColorSettings,{__experimentalHasMultipleOrigins:!0,__experimentalIsRenderedInSidebar:!0,title:(0,Ue.__)("Color"),colorSettings:[{value:t.color,onChange:n,label:(0,Ue.__)("Color")}]}))},$g=(0,Oe.withColors)("color",{textColor:"color"})((function(e){let{color:t,setColor:n,className:o}=e;return(0,Fe.createElement)(Fe.Fragment,null,(0,Fe.createElement)(Ge.HorizontalRule,(0,Oe.useBlockProps)({className:wt()(o,{"has-background":t.color,[t.class]:t.class}),style:{backgroundColor:t.color,color:t.color}})),(0,Fe.createElement)(Dg,{color:t,setColor:n}))})),Gg={from:[{type:"enter",regExp:/^-{3,}$/,transform:()=>(0,He.createBlock)("core/separator")},{type:"raw",selector:"hr",schema:{hr:{}}}]};const Ug={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:2,name:"core/separator",title:"Separator",category:"design",description:"Create a break between ideas or sections with a horizontal separator.",keywords:["horizontal-line","hr","divider"],textdomain:"default",attributes:{color:{type:"string"},customColor:{type:"string"}},supports:{anchor:!0,align:["center","wide","full"]},styles:[{name:"default",label:"Default",isDefault:!0},{name:"wide",label:"Wide Line"},{name:"dots",label:"Dots"}],editorStyle:"wp-block-separator-editor",style:"wp-block-separator"},{name:Og}=Ug,qg={icon:Fg,example:{attributes:{customColor:"#065174",className:"is-style-wide"}},transforms:Gg,edit:$g,save:function(e){let{attributes:t}=e;const{color:n,customColor:o}=t,r=(0,Oe.getColorClassName)("background-color",n),a=(0,Oe.getColorClassName)("color",n),l=wt()({"has-text-color has-background":n||o,[r]:r,[a]:a}),i={backgroundColor:r?void 0:o,color:a?void 0:o};return(0,Fe.createElement)("hr",Oe.useBlockProps.save({className:l,style:i}))}};var Wg=(0,Fe.createElement)(De.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,Fe.createElement)(De.Path,{d:"M16 4.2v1.5h2.5v12.5H16v1.5h4V4.2h-4zM4.2 19.8h4v-1.5H5.8V5.8h2.5V4.2h-4l-.1 15.6zm5.1-3.1l1.4.6 4-10-1.4-.6-4 10z"})),jg=window.wp.autop,Zg={from:[{type:"shortcode",tag:"[a-z][a-z0-9_-]*",attributes:{text:{type:"string",shortcode:(e,t)=>{let{content:n}=t;return(0,jg.removep)((0,jg.autop)(n))}}},priority:20}]};const Qg={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:2,name:"core/shortcode",title:"Shortcode",category:"widgets",description:"Insert additional custom elements with a WordPress shortcode.",textdomain:"default",attributes:{text:{type:"string",source:"html"}},supports:{className:!1,customClassName:!1,html:!1},editorStyle:"wp-block-shortcode-editor"},{name:Kg}=Qg,Jg={icon:Wg,transforms:Zg,edit:function e(t){let{attributes:n,setAttributes:o}=t;const r=`blocks-shortcode-input-${(0,Et.useInstanceId)(e)}`;return(0,Fe.createElement)("div",(0,Oe.useBlockProps)({className:"components-placeholder"}),(0,Fe.createElement)("label",{htmlFor:r,className:"components-placeholder__label"},(0,Fe.createElement)(Ic,{icon:Wg}),(0,Ue.__)("Shortcode")),(0,Fe.createElement)(Oe.PlainText,{className:"blocks-shortcode__textarea",id:r,value:n.text,"aria-label":(0,Ue.__)("Shortcode text"),placeholder:(0,Ue.__)("Write shortcode here…"),onChange:e=>o({text:e})}))},save:function(e){let{attributes:t}=e;return(0,Fe.createElement)(Fe.RawHTML,null,t.text)}};var Yg=(0,Fe.createElement)(De.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,Fe.createElement)(De.Path,{d:"M12 3c-5 0-9 4-9 9s4 9 9 9 9-4 9-9-4-9-9-9zm0 1.5c4.1 0 7.5 3.4 7.5 7.5v.1c-1.4-.8-3.3-1.7-3.4-1.8-.2-.1-.5-.1-.8.1l-2.9 2.1L9 11.3c-.2-.1-.4 0-.6.1l-3.7 2.2c-.1-.5-.2-1-.2-1.5 0-4.2 3.4-7.6 7.5-7.6zm0 15c-3.1 0-5.7-1.9-6.9-4.5l3.7-2.2 3.5 1.2c.2.1.5 0 .7-.1l2.9-2.1c.8.4 2.5 1.2 3.5 1.9-.9 3.3-3.9 5.8-7.4 5.8z"}));const Xg=["image"],eh="image/*",th=e=>{let{alt:t,attributes:{align:n,width:o,height:r,isLink:a,linkTarget:l,shouldSyncIcon:i},containerRef:s,isSelected:c,setAttributes:u,setLogo:m,logoUrl:d,siteUrl:p,logoId:g,iconId:h,setIcon:v,canUserEdit:b}=e;const y=ls(s,[n]),f=(0,Et.useViewportMatch)("medium"),_=!(0,nt.includes)(["wide","full"],n)&&f,[{naturalWidth:k,naturalHeight:w},E]=(0,Fe.useState)({}),[C,x]=(0,Fe.useState)(!1),{toggleSelection:S}=(0,Xe.useDispatch)(Oe.store),B=wt()("custom-logo-link",{"is-transient":(0,Ye.isBlobURL)(d)}),{imageEditing:T,maxWidth:N,title:P}=(0,Xe.useSelect)((e=>{const{getSettings:t}=e(Oe.store);return{title:e(en.store).getEditedEntityRecord("root","site").title,...(0,nt.pick)(t(),["imageEditing","maxWidth"])}}),[]);(0,Fe.useEffect)((()=>{i&&g!==h&&u({shouldSyncIcon:!1})}),[]),(0,Fe.useEffect)((()=>{c||x(!1)}),[c]);const z=(0,Fe.createElement)("img",{className:"custom-logo",src:d,alt:t,onLoad:e=>{E((0,nt.pick)(e.target,["naturalWidth","naturalHeight"]))}});let I,M=z;if(a&&(M=(0,Fe.createElement)("a",{href:p,className:B,rel:"home",title:P,onClick:e=>e.preventDefault()},z)),y&&k&&w&&(I=k>y?y:k),!_||!I)return(0,Fe.createElement)("div",{style:{width:o,height:r}},M);const L=o||120,R=k/w,V=L/R,A=k<w?pl:Math.ceil(pl*R),H=w<k?pl:Math.ceil(pl/R),F=2.5*N;let D=!1,$=!1;"center"===n?(D=!0,$=!0):(0,Ue.isRTL)()?"left"===n?D=!0:$=!0:"right"===n?$=!0:D=!0;const G=g&&k&&w&&T,U=G&&C?(0,Fe.createElement)(Oe.__experimentalImageEditingProvider,{id:g,url:d,naturalWidth:k,naturalHeight:w,clientWidth:y,onSaveImage:e=>{m(e.id)},isEditing:C,onFinishEditing:()=>x(!1)},(0,Fe.createElement)(Oe.__experimentalImageEditor,{url:d,width:L,height:V,clientWidth:y,naturalHeight:w,naturalWidth:k})):(0,Fe.createElement)(Ge.ResizableBox,{size:{width:L,height:V},showHandle:c,minWidth:A,maxWidth:F,minHeight:H,maxHeight:F/R,lockAspectRatio:!0,enable:{top:!1,right:D,bottom:!0,left:$},onResizeStart:function(){S(!1)},onResizeStop:(e,t,n,o)=>{S(!0),u({width:parseInt(L+o.width,10),height:parseInt(V+o.height,10)})}},M),O=(0,Fe.createInterpolateElement)((0,Ue.__)("Site Icons are what you see in browser tabs, bookmark bars, and within the WordPress mobile apps. To use a custom icon that is different from your site logo, use the <a>Site Icon settings</a>."),{a:(0,Fe.createElement)("a",{href:p+"/wp-admin/customize.php?autofocus[section]=title_tagline",target:"_blank",rel:"noopener noreferrer"})});return(0,Fe.createElement)(Fe.Fragment,null,(0,Fe.createElement)(Oe.InspectorControls,null,(0,Fe.createElement)(Ge.PanelBody,{title:(0,Ue.__)("Settings")},(0,Fe.createElement)(Ge.RangeControl,{label:(0,Ue.__)("Image width"),onChange:e=>u({width:e}),min:A,max:F,initialPosition:Math.min(120,F),value:o||"",disabled:!_}),(0,Fe.createElement)(Ge.ToggleControl,{label:(0,Ue.__)("Link image to home"),onChange:()=>u({isLink:!a}),checked:a}),a&&(0,Fe.createElement)(Fe.Fragment,null,(0,Fe.createElement)(Ge.ToggleControl,{label:(0,Ue.__)("Open in new tab"),onChange:e=>u({linkTarget:e?"_blank":"_self"}),checked:"_blank"===l})),b&&(0,Fe.createElement)(Fe.Fragment,null,(0,Fe.createElement)(Ge.ToggleControl,{label:(0,Ue.__)("Use as site icon"),onChange:e=>{u({shouldSyncIcon:e}),v(e?g:void 0)},checked:!!i,help:O})))),(0,Fe.createElement)(Oe.BlockControls,{group:"block"},G&&!C&&(0,Fe.createElement)(Ge.ToolbarButton,{onClick:()=>x(!0),icon:os,label:(0,Ue.__)("Crop")})),U)},nh={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:2,name:"core/site-logo",title:"Site Logo",category:"theme",description:"Display a graphic to represent this site. Update the block, and the changes apply everywhere it’s used. This is different than the site icon, which is the smaller image visible in your dashboard, browser tabs, etc used to help others recognize this site.",textdomain:"default",attributes:{width:{type:"number"},isLink:{type:"boolean",default:!0},linkTarget:{type:"string",default:"_self"},shouldSyncIcon:{type:"boolean"}},example:{viewportWidth:500,attributes:{width:350,className:"block-editor-block-types-list__site-logo-example"}},supports:{html:!1,align:!0,alignWide:!1,color:{__experimentalDuotone:"img",text:!1,background:!1}},styles:[{name:"default",label:"Default",isDefault:!0},{name:"rounded",label:"Rounded"}],editorStyle:"wp-block-site-logo-editor",style:"wp-block-site-logo"},{name:oh}=nh,rh={icon:Yg,edit:function(e){let{attributes:t,className:n,setAttributes:o,isSelected:r}=e;const{className:a,width:l,shouldSyncIcon:i}=t,[s,c]=(0,Fe.useState)(),u=(0,Fe.useRef)(),{siteLogoId:m,canUserEdit:d,url:p,siteIconId:g,mediaItemData:h,isRequestingMediaItem:v}=(0,Xe.useSelect)((e=>{const{canUser:t,getEntityRecord:n,getEditedEntityRecord:o}=e(en.store),r=o("root","site"),a=n("root","__unstableBase"),l=null==r?void 0:r.site_logo,i=null==a?void 0:a.site_logo,s=t("update","settings"),c=s?l:i,u=null==r?void 0:r.site_icon,m=c&&e(en.store).getMedia(c,{context:"view"}),d=c&&!e(en.store).hasFinishedResolution("getMedia",[c,{context:"view"}]);return{siteLogoId:c,canUserEdit:s,url:null==a?void 0:a.url,mediaItemData:m&&{id:m.id,url:m.source_url,alt:m.alt_text},isRequestingMediaItem:d,siteIconId:u}}),[]),{getGlobalBlockCount:b}=(0,Xe.useSelect)(Oe.store),{editEntityRecord:y}=(0,Xe.useDispatch)(en.store);(0,Fe.useEffect)((()=>()=>{null!=a&&a.includes("block-editor-block-types-list__site-logo-example")||null!=a&&a.includes("block-editor-block-styles__block-preview-container")||0===b("core/site-logo")&&y("root","site",void 0,{site_logo:void 0,site_icon:void 0})}),[]);const f=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];(i||t)&&_(e),y("root","site",void 0,{site_logo:e})},_=e=>y("root","site",void 0,{site_icon:e});let k=null;h&&(k=h.alt,s!==h.url&&c(h.url));const w=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(e)return!e.id&&e.url?(f(void 0),void c(e.url)):void f(e.id,t)},{createErrorNotice:E}=(0,Xe.useDispatch)($a.store),C=e=>{E(e[2],{type:"snackbar"})},x=d&&s&&(0,Fe.createElement)(Oe.BlockControls,{group:"other"},(0,Fe.createElement)(Oe.MediaReplaceFlow,{mediaURL:s,allowedTypes:Xg,accept:eh,onSelect:w,onError:C},(0,Fe.createElement)(Ge.MenuItem,{onClick:()=>{f(null),c(void 0),o({width:void 0})}},(0,Ue.__)("Reset"))));let S;const B=void 0===m||v;B&&(S=(0,Fe.createElement)(Ge.Spinner,null)),s&&(S=(0,Fe.createElement)(th,{alt:k,attributes:t,className:n,containerRef:u,isSelected:r,setAttributes:o,logoUrl:s,setLogo:f,logoId:(null==h?void 0:h.id)||m,siteUrl:p,setIcon:_,iconId:g,canUserEdit:d}));const T=wt()(n,{"is-default-size":!l}),N=(0,Oe.useBlockProps)({ref:u,className:T}),P=(0,Ue.__)("Add a site logo");return(0,Fe.createElement)("div",N,x,!!s&&S,!s&&!d&&(0,Fe.createElement)(Ge.Placeholder,{className:"site-logo_placeholder"},B&&(0,Fe.createElement)("span",{className:"components-placeholder__preview"},(0,Fe.createElement)(Ge.Spinner,null))),!s&&d&&(0,Fe.createElement)(Oe.MediaPlaceholder,{onSelect:e=>{if(void 0===i){const t=!g;return o({shouldSyncIcon:t}),void w(e,t)}w(e)},accept:eh,allowedTypes:Xg,onError:C,placeholder:e=>{const t=wt()("block-editor-media-placeholder",n);return(0,Fe.createElement)(Ge.Placeholder,{className:t,preview:S},(0,Fe.createElement)(De.SVG,{className:"components-placeholder__illustration",fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 60 60"},(0,Fe.createElement)(De.Path,{vectorEffect:"non-scaling-stroke",d:"m61 32.622-13.555-9.137-15.888 9.859a5 5 0 0 1-5.386-.073l-9.095-5.989L1 37.5"})),e)},mediaLibraryButton:e=>{let{open:t}=e;return(0,Fe.createElement)(Ge.Button,{icon:rs,variant:"primary",label:P,showTooltip:!0,tooltipPosition:"top center",onClick:()=>{t()}})}}))}};var ah=(0,Fe.createElement)(Ge.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24"},(0,Fe.createElement)(Ge.Path,{fill:"none",d:"M0 0h24v24H0z"}),(0,Fe.createElement)(Ge.Path,{d:"M4 9h16v2H4V9zm0 4h10v2H4v-2z"})),lh=[{attributes:{textAlign:{type:"string"}},supports:{align:["wide","full"],html:!1,color:{gradients:!0},spacing:{margin:!0,padding:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalTextTransform:!0,__experimentalFontStyle:!0,__experimentalFontWeight:!0,__experimentalLetterSpacing:!0}},save:()=>null,migrate:St,isEligible(e){var t;let{style:n}=e;return null==n||null===(t=n.typography)||void 0===t?void 0:t.fontFamily}}];const ih={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:2,name:"core/site-tagline",title:"Site Tagline",category:"theme",description:"Describe in a few words what the site is about. The tagline can be used in search results or when sharing on social networks even if it's not displayed in the theme design.",keywords:["description"],textdomain:"default",attributes:{textAlign:{type:"string"}},supports:{align:["wide","full"],html:!1,color:{gradients:!0},spacing:{margin:!0,padding:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalTextTransform:!0,__experimentalFontStyle:!0,__experimentalFontWeight:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}}},editorStyle:"wp-block-site-tagline-editor"},{name:sh}=ih,ch={icon:ah,edit:function(e){let{attributes:t,setAttributes:n}=e;const{textAlign:o}=t,[r,a]=(0,en.useEntityProp)("root","site","description"),{canUserEdit:l,readOnlySiteTagLine:i}=(0,Xe.useSelect)((e=>{const{canUser:t,getEntityRecord:n}=e(en.store),o=n("root","__unstableBase");return{canUserEdit:t("update","settings"),readOnlySiteTagLine:null==o?void 0:o.description}}),[]),s=(0,Oe.useBlockProps)({className:wt()({[`has-text-align-${o}`]:o,"wp-block-site-tagline__placeholder":!l&&!i})}),c=l?(0,Fe.createElement)(Oe.RichText,It({allowedFormats:[],onChange:a,"aria-label":(0,Ue.__)("Site tagline text"),placeholder:(0,Ue.__)("Write site tagline…"),tagName:"p",value:r},s)):(0,Fe.createElement)("p",s,i||(0,Ue.__)("Site Tagline placeholder"));return(0,Fe.createElement)(Fe.Fragment,null,(0,Fe.createElement)(Oe.BlockControls,{group:"block"},(0,Fe.createElement)(Oe.AlignmentControl,{onChange:e=>n({textAlign:e}),value:o})),c)},deprecated:lh};var uh=(0,Fe.createElement)(De.SVG,{xmlns:"https://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,Fe.createElement)(De.Path,{d:"M12 9c-.8 0-1.5.7-1.5 1.5S11.2 12 12 12s1.5-.7 1.5-1.5S12.8 9 12 9zm0-5c-3.6 0-6.5 2.8-6.5 6.2 0 .8.3 1.8.9 3.1.5 1.1 1.2 2.3 2 3.6.7 1 3 3.8 3.2 3.9l.4.5.4-.5c.2-.2 2.6-2.9 3.2-3.9.8-1.2 1.5-2.5 2-3.6.6-1.3.9-2.3.9-3.1C18.5 6.8 15.6 4 12 4zm4.3 8.7c-.5 1-1.1 2.2-1.9 3.4-.5.7-1.7 2.2-2.4 3-.7-.8-1.9-2.3-2.4-3-.8-1.2-1.4-2.3-1.9-3.3-.6-1.4-.7-2.2-.7-2.5 0-2.6 2.2-4.7 5-4.7s5 2.1 5 4.7c0 .2-.1 1-.7 2.4z"}));function mh(e){let{level:t,isPressed:n=!1}=e;return 0===t?bm:(0,Fe.createElement)(Ge.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",isPressed:n},(0,Fe.createElement)(Ge.Path,{d:{1:"M9 5h2v10H9v-4H5v4H3V5h2v4h4V5zm6.6 0c-.6.9-1.5 1.7-2.6 2v1h2v7h2V5h-1.4z",2:"M7 5h2v10H7v-4H3v4H1V5h2v4h4V5zm8 8c.5-.4.6-.6 1.1-1.1.4-.4.8-.8 1.2-1.3.3-.4.6-.8.9-1.3.2-.4.3-.8.3-1.3 0-.4-.1-.9-.3-1.3-.2-.4-.4-.7-.8-1-.3-.3-.7-.5-1.2-.6-.5-.2-1-.2-1.5-.2-.4 0-.7 0-1.1.1-.3.1-.7.2-1 .3-.3.1-.6.3-.9.5-.3.2-.6.4-.8.7l1.2 1.2c.3-.3.6-.5 1-.7.4-.2.7-.3 1.2-.3s.9.1 1.3.4c.3.3.5.7.5 1.1 0 .4-.1.8-.4 1.1-.3.5-.6.9-1 1.2-.4.4-1 .9-1.6 1.4-.6.5-1.4 1.1-2.2 1.6V15h8v-2H15z",3:"M12.1 12.2c.4.3.8.5 1.2.7.4.2.9.3 1.4.3.5 0 1-.1 1.4-.3.3-.1.5-.5.5-.8 0-.2 0-.4-.1-.6-.1-.2-.3-.3-.5-.4-.3-.1-.7-.2-1-.3-.5-.1-1-.1-1.5-.1V9.1c.7.1 1.5-.1 2.2-.4.4-.2.6-.5.6-.9 0-.3-.1-.6-.4-.8-.3-.2-.7-.3-1.1-.3-.4 0-.8.1-1.1.3-.4.2-.7.4-1.1.6l-1.2-1.4c.5-.4 1.1-.7 1.6-.9.5-.2 1.2-.3 1.8-.3.5 0 1 .1 1.6.2.4.1.8.3 1.2.5.3.2.6.5.8.8.2.3.3.7.3 1.1 0 .5-.2.9-.5 1.3-.4.4-.9.7-1.5.9v.1c.6.1 1.2.4 1.6.8.4.4.7.9.7 1.5 0 .4-.1.8-.3 1.2-.2.4-.5.7-.9.9-.4.3-.9.4-1.3.5-.5.1-1 .2-1.6.2-.8 0-1.6-.1-2.3-.4-.6-.2-1.1-.6-1.6-1l1.1-1.4zM7 9H3V5H1v10h2v-4h4v4h2V5H7v4z",4:"M9 15H7v-4H3v4H1V5h2v4h4V5h2v10zm10-2h-1v2h-2v-2h-5v-2l4-6h3v6h1v2zm-3-2V7l-2.8 4H16z",5:"M12.1 12.2c.4.3.7.5 1.1.7.4.2.9.3 1.3.3.5 0 1-.1 1.4-.4.4-.3.6-.7.6-1.1 0-.4-.2-.9-.6-1.1-.4-.3-.9-.4-1.4-.4H14c-.1 0-.3 0-.4.1l-.4.1-.5.2-1-.6.3-5h6.4v1.9h-4.3L14 8.8c.2-.1.5-.1.7-.2.2 0 .5-.1.7-.1.5 0 .9.1 1.4.2.4.1.8.3 1.1.6.3.2.6.6.8.9.2.4.3.9.3 1.4 0 .5-.1 1-.3 1.4-.2.4-.5.8-.9 1.1-.4.3-.8.5-1.3.7-.5.2-1 .3-1.5.3-.8 0-1.6-.1-2.3-.4-.6-.2-1.1-.6-1.6-1-.1-.1 1-1.5 1-1.5zM9 15H7v-4H3v4H1V5h2v4h4V5h2v10z",6:"M9 15H7v-4H3v4H1V5h2v4h4V5h2v10zm8.6-7.5c-.2-.2-.5-.4-.8-.5-.6-.2-1.3-.2-1.9 0-.3.1-.6.3-.8.5l-.6.9c-.2.5-.2.9-.2 1.4.4-.3.8-.6 1.2-.8.4-.2.8-.3 1.3-.3.4 0 .8 0 1.2.2.4.1.7.3 1 .6.3.3.5.6.7.9.2.4.3.8.3 1.3s-.1.9-.3 1.4c-.2.4-.5.7-.8 1-.4.3-.8.5-1.2.6-1 .3-2 .3-3 0-.5-.2-1-.5-1.4-.9-.4-.4-.8-.9-1-1.5-.2-.6-.3-1.3-.3-2.1s.1-1.6.4-2.3c.2-.6.6-1.2 1-1.6.4-.4.9-.7 1.4-.9.6-.3 1.1-.4 1.7-.4.7 0 1.4.1 2 .3.5.2 1 .5 1.4.8 0 .1-1.3 1.4-1.3 1.4zm-2.4 5.8c.2 0 .4 0 .6-.1.2 0 .4-.1.5-.2.1-.1.3-.3.4-.5.1-.2.1-.5.1-.7 0-.4-.1-.8-.4-1.1-.3-.2-.7-.3-1.1-.3-.3 0-.7.1-1 .2-.4.2-.7.4-1 .7 0 .3.1.7.3 1 .1.2.3.4.4.6.2.1.3.3.5.3.2.1.5.2.7.1z"}[t]}))}function dh(e){let{level:t,onChange:n}=e;const o=[1,2,3,4,5,6,0].map((e=>{const o=e===t;return{icon:(0,Fe.createElement)(mh,{level:e,isPressed:o}),title:0===e?(0,Ue.__)("Paragraph"):// translators: %s: heading level e.g: "1", "2", "3"
82
  (0,Ue.sprintf)((0,Ue.__)("Heading %d"),e),isActive:o,onClick:()=>n(e)}}));return(0,Fe.createElement)(Ge.ToolbarDropdownMenu,{label:(0,Ue.__)("Change heading level"),icon:(0,Fe.createElement)(mh,{level:t}),controls:o})}var ph=[{attributes:{level:{type:"number",default:1},textAlign:{type:"string"},isLink:{type:"boolean",default:!0},linkTarget:{type:"string",default:"_self"}},supports:{align:["wide","full"],html:!1,color:{gradients:!0,link:!0},spacing:{padding:!0,margin:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalTextTransform:!0,__experimentalFontStyle:!0,__experimentalFontWeight:!0,__experimentalLetterSpacing:!0}},save:()=>null,migrate:St,isEligible(e){var t;let{style:n}=e;return null==n||null===(t=n.typography)||void 0===t?void 0:t.fontFamily}}];const gh={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:2,name:"core/site-title",title:"Site Title",category:"theme",description:"Displays the name of this site. Update the block, and the changes apply everywhere it’s used. This will also appear in the browser title bar and in search results.",textdomain:"default",attributes:{level:{type:"number",default:1},textAlign:{type:"string"},isLink:{type:"boolean",default:!0},linkTarget:{type:"string",default:"_self"}},example:{viewportWidth:500},supports:{align:["wide","full"],html:!1,color:{gradients:!0,link:!0},spacing:{padding:!0,margin:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalTextTransform:!0,__experimentalFontStyle:!0,__experimentalFontWeight:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0,lineHeight:!0,fontAppearance:!0,letterSpacing:!0,textTransform:!0}}},editorStyle:"wp-block-site-title-editor"},{name:hh}=gh,vh={icon:uh,edit:function(e){let{attributes:t,setAttributes:n,insertBlocksAfter:o}=e;const{level:r,textAlign:a,isLink:l,linkTarget:i}=t,[s,c]=(0,en.useEntityProp)("root","site","title"),{canUserEdit:u,readOnlyTitle:m}=(0,Xe.useSelect)((e=>{const{canUser:t,getEntityRecord:n}=e(en.store),o=n("root","__unstableBase");return{canUserEdit:t("update","settings"),readOnlyTitle:(0,Mc.decodeEntities)(null==o?void 0:o.name)}}),[]),d=0===r?"p":`h${r}`,p=(0,Oe.useBlockProps)({className:wt()({[`has-text-align-${a}`]:a,"wp-block-site-title__placeholder":!u&&!m})}),g=u?(0,Fe.createElement)(d,p,(0,Fe.createElement)(Oe.RichText,{tagName:l?"a":"span",href:l?"#site-title-pseudo-link":void 0,"aria-label":(0,Ue.__)("Site title text"),placeholder:(0,Ue.__)("Write site title…"),value:s,onChange:c,allowedFormats:[],disableLineBreaks:!0,__unstableOnSplitAtEnd:()=>o((0,He.createBlock)((0,He.getDefaultBlockName)()))})):(0,Fe.createElement)(d,p,l?(0,Fe.createElement)("a",{href:"#site-title-pseudo-link",onClick:e=>e.preventDefault()},m||(0,Ue.__)("Site Title placeholder")):(0,Fe.createElement)("span",null,s||m));return(0,Fe.createElement)(Fe.Fragment,null,(0,Fe.createElement)(Oe.BlockControls,{group:"block"},(0,Fe.createElement)(dh,{level:r,onChange:e=>n({level:e})}),(0,Fe.createElement)(Oe.AlignmentControl,{value:a,onChange:e=>{n({textAlign:e})}})),(0,Fe.createElement)(Oe.InspectorControls,null,(0,Fe.createElement)(Ge.PanelBody,{title:(0,Ue.__)("Link settings")},(0,Fe.createElement)(Ge.ToggleControl,{label:(0,Ue.__)("Make title link to home"),onChange:()=>n({isLink:!l}),checked:l}),l&&(0,Fe.createElement)(Ge.ToggleControl,{label:(0,Ue.__)("Open in new tab"),onChange:e=>n({linkTarget:e?"_blank":"_self"}),checked:"_blank"===i}))),g)},deprecated:ph};var bh=(0,Fe.createElement)(De.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,Fe.createElement)(De.Path,{d:"M9 11.8l6.1-4.5c.1.4.4.7.9.7h2c.6 0 1-.4 1-1V5c0-.6-.4-1-1-1h-2c-.6 0-1 .4-1 1v.4l-6.4 4.8c-.2-.1-.4-.2-.6-.2H6c-.6 0-1 .4-1 1v2c0 .6.4 1 1 1h2c.2 0 .4-.1.6-.2l6.4 4.8v.4c0 .6.4 1 1 1h2c.6 0 1-.4 1-1v-2c0-.6-.4-1-1-1h-2c-.5 0-.8.3-.9.7L9 12.2v-.4z"})),yh=(0,Fe.createElement)(De.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},(0,Fe.createElement)(De.Path,{d:"M6.734 16.106l2.176-2.38-1.093-1.028-3.846 4.158 3.846 4.157 1.093-1.027-2.176-2.38h2.811c1.125 0 2.25.03 3.374 0 1.428-.001 3.362-.25 4.963-1.277 1.66-1.065 2.868-2.906 2.868-5.859 0-2.479-1.327-4.896-3.65-5.93-1.82-.813-3.044-.8-4.806-.788l-.567.002v1.5c.184 0 .368 0 .553-.002 1.82-.007 2.704-.014 4.21.657 1.854.827 2.76 2.657 2.76 4.561 0 2.472-.973 3.824-2.178 4.596-1.258.807-2.864 1.04-4.163 1.04h-.02c-1.115.03-2.229 0-3.344 0H6.734z"}));const fh=()=>(0,Fe.createElement)(De.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},(0,Fe.createElement)(De.Path,{d:"M19.647,16.706a1.134,1.134,0,0,0-.343-.833l-2.549-2.549a1.134,1.134,0,0,0-.833-.343,1.168,1.168,0,0,0-.883.392l.233.226q.2.189.264.264a2.922,2.922,0,0,1,.184.233.986.986,0,0,1,.159.312,1.242,1.242,0,0,1,.043.337,1.172,1.172,0,0,1-1.176,1.176,1.237,1.237,0,0,1-.337-.043,1,1,0,0,1-.312-.159,2.76,2.76,0,0,1-.233-.184q-.073-.068-.264-.264l-.226-.233a1.19,1.19,0,0,0-.4.895,1.134,1.134,0,0,0,.343.833L15.837,19.3a1.13,1.13,0,0,0,.833.331,1.18,1.18,0,0,0,.833-.318l1.8-1.789a1.12,1.12,0,0,0,.343-.821Zm-8.615-8.64a1.134,1.134,0,0,0-.343-.833L8.163,4.7a1.134,1.134,0,0,0-.833-.343,1.184,1.184,0,0,0-.833.331L4.7,6.473a1.12,1.12,0,0,0-.343.821,1.134,1.134,0,0,0,.343.833l2.549,2.549a1.13,1.13,0,0,0,.833.331,1.184,1.184,0,0,0,.883-.38L8.728,10.4q-.2-.189-.264-.264A2.922,2.922,0,0,1,8.28,9.9a.986.986,0,0,1-.159-.312,1.242,1.242,0,0,1-.043-.337A1.172,1.172,0,0,1,9.254,8.079a1.237,1.237,0,0,1,.337.043,1,1,0,0,1,.312.159,2.761,2.761,0,0,1,.233.184q.073.068.264.264l.226.233a1.19,1.19,0,0,0,.4-.895ZM22,16.706a3.343,3.343,0,0,1-1.042,2.488l-1.8,1.789a3.536,3.536,0,0,1-4.988-.025l-2.525-2.537a3.384,3.384,0,0,1-1.017-2.488,3.448,3.448,0,0,1,1.078-2.561l-1.078-1.078a3.434,3.434,0,0,1-2.549,1.078,3.4,3.4,0,0,1-2.5-1.029L3.029,9.794A3.4,3.4,0,0,1,2,7.294,3.343,3.343,0,0,1,3.042,4.806l1.8-1.789A3.384,3.384,0,0,1,7.331,2a3.357,3.357,0,0,1,2.5,1.042l2.525,2.537a3.384,3.384,0,0,1,1.017,2.488,3.448,3.448,0,0,1-1.078,2.561l1.078,1.078a3.551,3.551,0,0,1,5.049-.049l2.549,2.549A3.4,3.4,0,0,1,22,16.706Z"})),_h=[{isDefault:!0,name:"wordpress",attributes:{service:"wordpress"},title:"WordPress",icon:()=>(0,Fe.createElement)(De.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},(0,Fe.createElement)(De.Path,{d:"M12.158,12.786L9.46,20.625c0.806,0.237,1.657,0.366,2.54,0.366c1.047,0,2.051-0.181,2.986-0.51 c-0.024-0.038-0.046-0.079-0.065-0.124L12.158,12.786z M3.009,12c0,3.559,2.068,6.634,5.067,8.092L3.788,8.341 C3.289,9.459,3.009,10.696,3.009,12z M18.069,11.546c0-1.112-0.399-1.881-0.741-2.48c-0.456-0.741-0.883-1.368-0.883-2.109 c0-0.826,0.627-1.596,1.51-1.596c0.04,0,0.078,0.005,0.116,0.007C16.472,3.904,14.34,3.009,12,3.009 c-3.141,0-5.904,1.612-7.512,4.052c0.211,0.007,0.41,0.011,0.579,0.011c0.94,0,2.396-0.114,2.396-0.114 C7.947,6.93,8.004,7.642,7.52,7.699c0,0-0.487,0.057-1.029,0.085l3.274,9.739l1.968-5.901l-1.401-3.838 C9.848,7.756,9.389,7.699,9.389,7.699C8.904,7.67,8.961,6.93,9.446,6.958c0,0,1.484,0.114,2.368,0.114 c0.94,0,2.397-0.114,2.397-0.114c0.485-0.028,0.542,0.684,0.057,0.741c0,0-0.488,0.057-1.029,0.085l3.249,9.665l0.897-2.996 C17.841,13.284,18.069,12.316,18.069,11.546z M19.889,7.686c0.039,0.286,0.06,0.593,0.06,0.924c0,0.912-0.171,1.938-0.684,3.22 l-2.746,7.94c2.673-1.558,4.47-4.454,4.47-7.771C20.991,10.436,20.591,8.967,19.889,7.686z M12,22C6.486,22,2,17.514,2,12 C2,6.486,6.486,2,12,2c5.514,0,10,4.486,10,10C22,17.514,17.514,22,12,22z"}))},{name:"fivehundredpx",attributes:{service:"fivehundredpx"},title:"500px",icon:()=>(0,Fe.createElement)(De.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},(0,Fe.createElement)(De.Path,{d:"M6.94026,15.1412c.00437.01213.108.29862.168.44064a6.55008,6.55008,0,1,0,6.03191-9.09557,6.68654,6.68654,0,0,0-2.58357.51467A8.53914,8.53914,0,0,0,8.21268,8.61344L8.209,8.61725V3.22948l9.0504-.00008c.32934-.0036.32934-.46353.32934-.61466s0-.61091-.33035-.61467L7.47248,2a.43.43,0,0,0-.43131.42692v7.58355c0,.24466.30476.42131.58793.4819.553.11812.68074-.05864.81617-.2457l.018-.02481A10.52673,10.52673,0,0,1,9.32258,9.258a5.35268,5.35268,0,1,1,7.58985,7.54976,5.417,5.417,0,0,1-3.80867,1.56365,5.17483,5.17483,0,0,1-2.69822-.74478l.00342-4.61111a2.79372,2.79372,0,0,1,.71372-1.78792,2.61611,2.61611,0,0,1,1.98282-.89477,2.75683,2.75683,0,0,1,1.95525.79477,2.66867,2.66867,0,0,1,.79656,1.909,2.724,2.724,0,0,1-2.75849,2.748,4.94651,4.94651,0,0,1-.86254-.13719c-.31234-.093-.44519.34058-.48892.48349-.16811.54966.08453.65862.13687.67489a3.75751,3.75751,0,0,0,1.25234.18375,3.94634,3.94634,0,1,0-2.82444-6.742,3.67478,3.67478,0,0,0-1.13028,2.584l-.00041.02323c-.0035.11667-.00579,2.881-.00644,3.78811l-.00407-.00451a6.18521,6.18521,0,0,1-1.0851-1.86092c-.10544-.27856-.34358-.22925-.66857-.12917-.14192.04372-.57386.17677-.47833.489Zm4.65165-1.08338a.51346.51346,0,0,0,.19513.31818l.02276.022a.52945.52945,0,0,0,.3517.18416.24242.24242,0,0,0,.16577-.0611c.05473-.05082.67382-.67812.73287-.738l.69041.68819a.28978.28978,0,0,0,.21437.11032.53239.53239,0,0,0,.35708-.19486c.29792-.30419.14885-.46821.07676-.54751l-.69954-.69975.72952-.73469c.16-.17311.01874-.35708-.12218-.498-.20461-.20461-.402-.25742-.52855-.14083l-.7254.72665-.73354-.73375a.20128.20128,0,0,0-.14179-.05695.54135.54135,0,0,0-.34379.19648c-.22561.22555-.274.38149-.15656.5059l.73374.7315-.72942.73072A.26589.26589,0,0,0,11.59191,14.05782Zm1.59866-9.915A8.86081,8.86081,0,0,0,9.854,4.776a.26169.26169,0,0,0-.16938.22759.92978.92978,0,0,0,.08619.42094c.05682.14524.20779.531.50006.41955a8.40969,8.40969,0,0,1,2.91968-.55484,7.87875,7.87875,0,0,1,3.086.62286,8.61817,8.61817,0,0,1,2.30562,1.49315.2781.2781,0,0,0,.18318.07586c.15529,0,.30425-.15253.43167-.29551.21268-.23861.35873-.4369.1492-.63538a8.50425,8.50425,0,0,0-2.62312-1.694A9.0177,9.0177,0,0,0,13.19058,4.14283ZM19.50945,18.6236h0a.93171.93171,0,0,0-.36642-.25406.26589.26589,0,0,0-.27613.06613l-.06943.06929A7.90606,7.90606,0,0,1,7.60639,18.505a7.57284,7.57284,0,0,1-1.696-2.51537,8.58715,8.58715,0,0,1-.5147-1.77754l-.00871-.04864c-.04939-.25873-.28755-.27684-.62981-.22448-.14234.02178-.5755.088-.53426.39969l.001.00712a9.08807,9.08807,0,0,0,15.406,4.99094c.00193-.00192.04753-.04718.0725-.07436C19.79425,19.16234,19.87422,18.98728,19.50945,18.6236Z"}))},{name:"amazon",attributes:{service:"amazon"},title:"Amazon",icon:()=>(0,Fe.createElement)(De.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},(0,Fe.createElement)(De.Path,{d:"M13.582,8.182C11.934,8.367,9.78,8.49,8.238,9.166c-1.781,0.769-3.03,2.337-3.03,4.644 c0,2.953,1.86,4.429,4.253,4.429c2.02,0,3.125-0.477,4.685-2.065c0.516,0.747,0.685,1.109,1.629,1.894 c0.212,0.114,0.483,0.103,0.672-0.066l0.006,0.006c0.567-0.505,1.599-1.401,2.18-1.888c0.231-0.188,0.19-0.496,0.009-0.754 c-0.52-0.718-1.072-1.303-1.072-2.634V8.305c0-1.876,0.133-3.599-1.249-4.891C15.23,2.369,13.422,2,12.04,2 C9.336,2,6.318,3.01,5.686,6.351C5.618,6.706,5.877,6.893,6.109,6.945l2.754,0.298C9.121,7.23,9.308,6.977,9.357,6.72 c0.236-1.151,1.2-1.706,2.284-1.706c0.584,0,1.249,0.215,1.595,0.738c0.398,0.584,0.346,1.384,0.346,2.061V8.182z M13.049,14.088 c-0.451,0.8-1.169,1.291-1.967,1.291c-1.09,0-1.728-0.83-1.728-2.061c0-2.42,2.171-2.86,4.227-2.86v0.615 C13.582,12.181,13.608,13.104,13.049,14.088z M20.683,19.339C18.329,21.076,14.917,22,11.979,22c-4.118,0-7.826-1.522-10.632-4.057 c-0.22-0.199-0.024-0.471,0.241-0.317c3.027,1.762,6.771,2.823,10.639,2.823c2.608,0,5.476-0.541,8.115-1.66 C20.739,18.62,21.072,19.051,20.683,19.339z M21.336,21.043c-0.194,0.163-0.379,0.076-0.293-0.139 c0.284-0.71,0.92-2.298,0.619-2.684c-0.301-0.386-1.99-0.183-2.749-0.092c-0.23,0.027-0.266-0.173-0.059-0.319 c1.348-0.946,3.555-0.673,3.811-0.356C22.925,17.773,22.599,19.986,21.336,21.043z"}))},{name:"bandcamp",attributes:{service:"bandcamp"},title:"Bandcamp",icon:()=>(0,Fe.createElement)(De.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},(0,Fe.createElement)(De.Path,{d:"M15.27 17.289 3 17.289 8.73 6.711 21 6.711 15.27 17.289"}))},{name:"behance",attributes:{service:"behance"},title:"Behance",icon:()=>(0,Fe.createElement)(De.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},(0,Fe.createElement)(De.Path,{d:"M7.799,5.698c0.589,0,1.12,0.051,1.606,0.156c0.482,0.102,0.894,0.273,1.241,0.507c0.344,0.235,0.612,0.546,0.804,0.938 c0.188,0.387,0.281,0.871,0.281,1.443c0,0.619-0.141,1.137-0.421,1.551c-0.284,0.413-0.7,0.751-1.255,1.014 c0.756,0.218,1.317,0.601,1.689,1.146c0.374,0.549,0.557,1.205,0.557,1.975c0,0.623-0.12,1.161-0.359,1.612 c-0.241,0.457-0.569,0.828-0.973,1.114c-0.408,0.288-0.876,0.5-1.399,0.637C9.052,17.931,8.514,18,7.963,18H2V5.698H7.799 M7.449,10.668c0.481,0,0.878-0.114,1.192-0.345c0.311-0.228,0.463-0.603,0.463-1.119c0-0.286-0.051-0.523-0.152-0.707 C8.848,8.315,8.711,8.171,8.536,8.07C8.362,7.966,8.166,7.894,7.94,7.854c-0.224-0.044-0.457-0.06-0.697-0.06H4.709v2.874H7.449z M7.6,15.905c0.267,0,0.521-0.024,0.759-0.077c0.243-0.053,0.457-0.137,0.637-0.261c0.182-0.12,0.332-0.283,0.441-0.491 C9.547,14.87,9.6,14.602,9.6,14.278c0-0.633-0.18-1.084-0.533-1.357c-0.356-0.27-0.83-0.404-1.413-0.404H4.709v3.388L7.6,15.905z M16.162,15.864c0.367,0.358,0.897,0.538,1.583,0.538c0.493,0,0.92-0.125,1.277-0.374c0.354-0.248,0.571-0.514,0.654-0.79h2.155 c-0.347,1.072-0.872,1.838-1.589,2.299C19.534,18,18.67,18.23,17.662,18.23c-0.701,0-1.332-0.113-1.899-0.337 c-0.567-0.227-1.041-0.544-1.439-0.958c-0.389-0.415-0.689-0.907-0.904-1.484c-0.213-0.574-0.32-1.21-0.32-1.899 c0-0.666,0.11-1.288,0.329-1.863c0.222-0.577,0.529-1.075,0.933-1.492c0.406-0.42,0.885-0.751,1.444-0.994 c0.558-0.241,1.175-0.363,1.857-0.363c0.754,0,1.414,0.145,1.98,0.44c0.563,0.291,1.026,0.686,1.389,1.181 c0.363,0.493,0.622,1.057,0.783,1.69c0.16,0.632,0.217,1.292,0.171,1.983h-6.428C15.557,14.84,15.795,15.506,16.162,15.864 M18.973,11.184c-0.291-0.321-0.783-0.496-1.384-0.496c-0.39,0-0.714,0.066-0.973,0.2c-0.254,0.132-0.461,0.297-0.621,0.491 c-0.157,0.197-0.265,0.405-0.328,0.628c-0.063,0.217-0.101,0.413-0.111,0.587h3.98C19.478,11.969,19.265,11.509,18.973,11.184z M15.057,7.738h4.985V6.524h-4.985L15.057,7.738z"}))},{name:"chain",attributes:{service:"chain"},title:"Link",icon:fh},{name:"codepen",attributes:{service:"codepen"},title:"CodePen",icon:()=>(0,Fe.createElement)(De.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},(0,Fe.createElement)(De.Path,{d:"M22.016,8.84c-0.002-0.013-0.005-0.025-0.007-0.037c-0.005-0.025-0.008-0.048-0.015-0.072 c-0.003-0.015-0.01-0.028-0.013-0.042c-0.008-0.02-0.015-0.04-0.023-0.062c-0.007-0.015-0.013-0.028-0.02-0.042 c-0.008-0.02-0.018-0.037-0.03-0.057c-0.007-0.013-0.017-0.027-0.025-0.038c-0.012-0.018-0.023-0.035-0.035-0.052 c-0.01-0.013-0.02-0.025-0.03-0.037c-0.015-0.017-0.028-0.032-0.043-0.045c-0.01-0.012-0.022-0.023-0.035-0.035 c-0.015-0.015-0.032-0.028-0.048-0.04c-0.012-0.01-0.025-0.02-0.037-0.03c-0.005-0.003-0.01-0.008-0.015-0.012l-9.161-6.096 c-0.289-0.192-0.666-0.192-0.955,0L2.359,8.237C2.354,8.24,2.349,8.245,2.344,8.249L2.306,8.277 c-0.017,0.013-0.033,0.027-0.048,0.04C2.246,8.331,2.234,8.342,2.222,8.352c-0.015,0.015-0.028,0.03-0.042,0.047 c-0.012,0.013-0.022,0.023-0.03,0.037C2.139,8.453,2.125,8.471,2.115,8.488C2.107,8.501,2.099,8.514,2.09,8.526 C2.079,8.548,2.069,8.565,2.06,8.585C2.054,8.6,2.047,8.613,2.04,8.626C2.032,8.648,2.025,8.67,2.019,8.69 c-0.005,0.013-0.01,0.027-0.013,0.042C1.999,8.755,1.995,8.778,1.99,8.803C1.989,8.817,1.985,8.828,1.984,8.84 C1.978,8.879,1.975,8.915,1.975,8.954v6.093c0,0.037,0.003,0.075,0.008,0.112c0.002,0.012,0.005,0.025,0.007,0.038 c0.005,0.023,0.008,0.047,0.015,0.072c0.003,0.015,0.008,0.028,0.013,0.04c0.007,0.022,0.013,0.042,0.022,0.063 c0.007,0.015,0.013,0.028,0.02,0.04c0.008,0.02,0.018,0.038,0.03,0.058c0.007,0.013,0.015,0.027,0.025,0.038 c0.012,0.018,0.023,0.035,0.035,0.052c0.01,0.013,0.02,0.025,0.03,0.037c0.013,0.015,0.028,0.032,0.042,0.045 c0.012,0.012,0.023,0.023,0.035,0.035c0.015,0.013,0.032,0.028,0.048,0.04l0.038,0.03c0.005,0.003,0.01,0.007,0.013,0.01 l9.163,6.095C11.668,21.953,11.833,22,12,22c0.167,0,0.332-0.047,0.478-0.144l9.163-6.095l0.015-0.01 c0.013-0.01,0.027-0.02,0.037-0.03c0.018-0.013,0.035-0.028,0.048-0.04c0.013-0.012,0.025-0.023,0.035-0.035 c0.017-0.015,0.03-0.032,0.043-0.045c0.01-0.013,0.02-0.025,0.03-0.037c0.013-0.018,0.025-0.035,0.035-0.052 c0.008-0.013,0.018-0.027,0.025-0.038c0.012-0.02,0.022-0.038,0.03-0.058c0.007-0.013,0.013-0.027,0.02-0.04 c0.008-0.022,0.015-0.042,0.023-0.063c0.003-0.013,0.01-0.027,0.013-0.04c0.007-0.025,0.01-0.048,0.015-0.072 c0.002-0.013,0.005-0.027,0.007-0.037c0.003-0.042,0.007-0.079,0.007-0.117V8.954C22.025,8.915,22.022,8.879,22.016,8.84z M12.862,4.464l6.751,4.49l-3.016,2.013l-3.735-2.492V4.464z M11.138,4.464v4.009l-3.735,2.494L4.389,8.954L11.138,4.464z M3.699,10.562L5.853,12l-2.155,1.438V10.562z M11.138,19.536l-6.749-4.491l3.015-2.011l3.735,2.492V19.536z M12,14.035L8.953,12 L12,9.966L15.047,12L12,14.035z M12.862,19.536v-4.009l3.735-2.492l3.016,2.011L12.862,19.536z M20.303,13.438L18.147,12 l2.156-1.438L20.303,13.438z"}))},{name:"deviantart",attributes:{service:"deviantart"},title:"DeviantArt",icon:()=>(0,Fe.createElement)(De.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},(0,Fe.createElement)(De.Path,{d:"M 18.19 5.636 18.19 2 18.188 2 14.553 2 14.19 2.366 12.474 5.636 11.935 6 5.81 6 5.81 10.994 9.177 10.994 9.477 11.357 5.81 18.363 5.81 22 5.811 22 9.447 22 9.81 21.634 11.526 18.364 12.065 18 18.19 18 18.19 13.006 14.823 13.006 14.523 12.641 18.19 5.636z"}))},{name:"dribbble",attributes:{service:"dribbble"},title:"Dribbble",icon:()=>(0,Fe.createElement)(De.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},(0,Fe.createElement)(De.Path,{d:"M12,22C6.486,22,2,17.514,2,12S6.486,2,12,2c5.514,0,10,4.486,10,10S17.514,22,12,22z M20.434,13.369 c-0.292-0.092-2.644-0.794-5.32-0.365c1.117,3.07,1.572,5.57,1.659,6.09C18.689,17.798,20.053,15.745,20.434,13.369z M15.336,19.876c-0.127-0.749-0.623-3.361-1.822-6.477c-0.019,0.006-0.038,0.013-0.056,0.019c-4.818,1.679-6.547,5.02-6.701,5.334 c1.448,1.129,3.268,1.803,5.243,1.803C13.183,20.555,14.311,20.313,15.336,19.876z M5.654,17.724 c0.193-0.331,2.538-4.213,6.943-5.637c0.111-0.036,0.224-0.07,0.337-0.102c-0.214-0.485-0.448-0.971-0.692-1.45 c-4.266,1.277-8.405,1.223-8.778,1.216c-0.003,0.087-0.004,0.174-0.004,0.261C3.458,14.207,4.29,16.21,5.654,17.724z M3.639,10.264 c0.382,0.005,3.901,0.02,7.897-1.041c-1.415-2.516-2.942-4.631-3.167-4.94C5.979,5.41,4.193,7.613,3.639,10.264z M9.998,3.709 c0.236,0.316,1.787,2.429,3.187,5c3.037-1.138,4.323-2.867,4.477-3.085C16.154,4.286,14.17,3.471,12,3.471 C11.311,3.471,10.641,3.554,9.998,3.709z M18.612,6.612C18.432,6.855,17,8.69,13.842,9.979c0.199,0.407,0.389,0.821,0.567,1.237 c0.063,0.148,0.124,0.295,0.184,0.441c2.842-0.357,5.666,0.215,5.948,0.275C20.522,9.916,19.801,8.065,18.612,6.612z"}))},{name:"dropbox",attributes:{service:"dropbox"},title:"Dropbox",icon:()=>(0,Fe.createElement)(De.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},(0,Fe.createElement)(De.Path,{d:"M12,6.134L6.069,9.797L2,6.54l5.883-3.843L12,6.134z M2,13.054l5.883,3.843L12,13.459L6.069,9.797L2,13.054z M12,13.459 l4.116,3.439L22,13.054l-4.069-3.257L12,13.459z M22,6.54l-5.884-3.843L12,6.134l5.931,3.663L22,6.54z M12.011,14.2l-4.129,3.426 l-1.767-1.153v1.291l5.896,3.539l5.897-3.539v-1.291l-1.769,1.153L12.011,14.2z"}))},{name:"etsy",attributes:{service:"etsy"},title:"Etsy",icon:()=>(0,Fe.createElement)(De.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},(0,Fe.createElement)(De.Path,{d:"M9.16033,4.038c0-.27174.02717-.43478.48913-.43478h6.22283c1.087,0,1.68478.92391,2.11957,2.663l.35326,1.38587h1.05978C19.59511,3.712,19.75815,2,19.75815,2s-2.663.29891-4.23913.29891h-7.962L3.29076,2.163v1.1413L4.731,3.57609c1.00543.19022,1.25.40761,1.33152,1.33152,0,0,.08152,2.71739.08152,7.20109s-.08152,7.17391-.08152,7.17391c0,.81522-.32609,1.11413-1.33152,1.30435l-1.44022.27174V22l4.2663-.13587h7.11957c1.60326,0,5.32609.13587,5.32609.13587.08152-.97826.625-5.40761.70652-5.89674H19.7038L18.644,18.52174c-.84239,1.90217-2.06522,2.038-3.42391,2.038H11.1712c-1.3587,0-2.01087-.54348-2.01087-1.712V12.65217s3.0163,0,3.99457.08152c.76087.05435,1.22283.27174,1.46739,1.33152l.32609,1.413h1.16848l-.08152-3.55978.163-3.587H15.02989l-.38043,1.57609c-.24457,1.03261-.40761,1.22283-1.46739,1.33152-1.38587.13587-4.02174.1087-4.02174.1087Z"}))},{name:"facebook",attributes:{service:"facebook"},title:"Facebook",icon:()=>(0,Fe.createElement)(De.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},(0,Fe.createElement)(De.Path,{d:"M12 2C6.5 2 2 6.5 2 12c0 5 3.7 9.1 8.4 9.9v-7H7.9V12h2.5V9.8c0-2.5 1.5-3.9 3.8-3.9 1.1 0 2.2.2 2.2.2v2.5h-1.3c-1.2 0-1.6.8-1.6 1.6V12h2.8l-.4 2.9h-2.3v7C18.3 21.1 22 17 22 12c0-5.5-4.5-10-10-10z"}))},{name:"feed",attributes:{service:"feed"},title:"RSS Feed",icon:()=>(0,Fe.createElement)(De.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},(0,Fe.createElement)(De.Path,{d:"M2,8.667V12c5.515,0,10,4.485,10,10h3.333C15.333,14.637,9.363,8.667,2,8.667z M2,2v3.333 c9.19,0,16.667,7.477,16.667,16.667H22C22,10.955,13.045,2,2,2z M4.5,17C3.118,17,2,18.12,2,19.5S3.118,22,4.5,22S7,20.88,7,19.5 S5.882,17,4.5,17z"}))},{name:"flickr",attributes:{service:"flickr"},title:"Flickr",icon:()=>(0,Fe.createElement)(De.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},(0,Fe.createElement)(De.Path,{d:"M6.5,7c-2.75,0-5,2.25-5,5s2.25,5,5,5s5-2.25,5-5S9.25,7,6.5,7z M17.5,7c-2.75,0-5,2.25-5,5s2.25,5,5,5s5-2.25,5-5 S20.25,7,17.5,7z"}))},{name:"foursquare",attributes:{service:"foursquare"},title:"Foursquare",icon:()=>(0,Fe.createElement)(De.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},(0,Fe.createElement)(De.Path,{d:"M17.573,2c0,0-9.197,0-10.668,0S5,3.107,5,3.805s0,16.948,0,16.948c0,0.785,0.422,1.077,0.66,1.172 c0.238,0.097,0.892,0.177,1.285-0.275c0,0,5.035-5.843,5.122-5.93c0.132-0.132,0.132-0.132,0.262-0.132h3.26 c1.368,0,1.588-0.977,1.732-1.552c0.078-0.318,0.692-3.428,1.225-6.122l0.675-3.368C19.56,2.893,19.14,2,17.573,2z M16.495,7.22 c-0.053,0.252-0.372,0.518-0.665,0.518c-0.293,0-4.157,0-4.157,0c-0.467,0-0.802,0.318-0.802,0.787v0.508 c0,0.467,0.337,0.798,0.805,0.798c0,0,3.197,0,3.528,0s0.655,0.362,0.583,0.715c-0.072,0.353-0.407,2.102-0.448,2.295 c-0.04,0.193-0.262,0.523-0.655,0.523c-0.33,0-2.88,0-2.88,0c-0.523,0-0.683,0.068-1.033,0.503 c-0.35,0.437-3.505,4.223-3.505,4.223c-0.032,0.035-0.063,0.027-0.063-0.015V4.852c0-0.298,0.26-0.648,0.648-0.648 c0,0,8.228,0,8.562,0c0.315,0,0.61,0.297,0.528,0.683L16.495,7.22z"}))},{name:"goodreads",attributes:{service:"goodreads"},title:"Goodreads",icon:()=>(0,Fe.createElement)(De.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},(0,Fe.createElement)(De.Path,{d:"M17.3,17.5c-0.2,0.8-0.5,1.4-1,1.9c-0.4,0.5-1,0.9-1.7,1.2C13.9,20.9,13.1,21,12,21c-0.6,0-1.3-0.1-1.9-0.2 c-0.6-0.1-1.1-0.4-1.6-0.7c-0.5-0.3-0.9-0.7-1.2-1.2c-0.3-0.5-0.5-1.1-0.5-1.7h1.5c0.1,0.5,0.2,0.9,0.5,1.2 c0.2,0.3,0.5,0.6,0.9,0.8c0.3,0.2,0.7,0.3,1.1,0.4c0.4,0.1,0.8,0.1,1.2,0.1c1.4,0,2.5-0.4,3.1-1.2c0.6-0.8,1-2,1-3.5v-1.7h0 c-0.4,0.8-0.9,1.4-1.6,1.9c-0.7,0.5-1.5,0.7-2.4,0.7c-1,0-1.9-0.2-2.6-0.5C8.7,15,8.1,14.5,7.7,14c-0.5-0.6-0.8-1.3-1-2.1 c-0.2-0.8-0.3-1.6-0.3-2.5c0-0.9,0.1-1.7,0.4-2.5c0.3-0.8,0.6-1.5,1.1-2c0.5-0.6,1.1-1,1.8-1.4C10.3,3.2,11.1,3,12,3 c0.5,0,0.9,0.1,1.3,0.2c0.4,0.1,0.8,0.3,1.1,0.5c0.3,0.2,0.6,0.5,0.9,0.8c0.3,0.3,0.5,0.6,0.6,1h0V3.4h1.5V15 C17.6,15.9,17.5,16.7,17.3,17.5z M13.8,14.1c0.5-0.3,0.9-0.7,1.3-1.1c0.3-0.5,0.6-1,0.8-1.6c0.2-0.6,0.3-1.2,0.3-1.9 c0-0.6-0.1-1.2-0.2-1.9c-0.1-0.6-0.4-1.2-0.7-1.7c-0.3-0.5-0.7-0.9-1.3-1.2c-0.5-0.3-1.1-0.5-1.9-0.5s-1.4,0.2-1.9,0.5 c-0.5,0.3-1,0.7-1.3,1.2C8.5,6.4,8.3,7,8.1,7.6C8,8.2,7.9,8.9,7.9,9.5c0,0.6,0.1,1.3,0.2,1.9C8.3,12,8.6,12.5,8.9,13 c0.3,0.5,0.8,0.8,1.3,1.1c0.5,0.3,1.1,0.4,1.9,0.4C12.7,14.5,13.3,14.4,13.8,14.1z"}))},{name:"google",attributes:{service:"google"},title:"Google",icon:()=>(0,Fe.createElement)(De.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},(0,Fe.createElement)(De.Path,{d:"M12.02,10.18v3.72v0.01h5.51c-0.26,1.57-1.67,4.22-5.5,4.22c-3.31,0-6.01-2.75-6.01-6.12s2.7-6.12,6.01-6.12 c1.87,0,3.13,0.8,3.85,1.48l2.84-2.76C16.99,2.99,14.73,2,12.03,2c-5.52,0-10,4.48-10,10s4.48,10,10,10c5.77,0,9.6-4.06,9.6-9.77 c0-0.83-0.11-1.42-0.25-2.05H12.02z"}))},{name:"github",attributes:{service:"github"},title:"GitHub",icon:()=>(0,Fe.createElement)(De.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},(0,Fe.createElement)(De.Path,{d:"M12,2C6.477,2,2,6.477,2,12c0,4.419,2.865,8.166,6.839,9.489c0.5,0.09,0.682-0.218,0.682-0.484 c0-0.236-0.009-0.866-0.014-1.699c-2.782,0.602-3.369-1.34-3.369-1.34c-0.455-1.157-1.11-1.465-1.11-1.465 c-0.909-0.62,0.069-0.608,0.069-0.608c1.004,0.071,1.532,1.03,1.532,1.03c0.891,1.529,2.341,1.089,2.91,0.833 c0.091-0.647,0.349-1.086,0.635-1.337c-2.22-0.251-4.555-1.111-4.555-4.943c0-1.091,0.39-1.984,1.03-2.682 C6.546,8.54,6.202,7.524,6.746,6.148c0,0,0.84-0.269,2.75,1.025C10.295,6.95,11.15,6.84,12,6.836 c0.85,0.004,1.705,0.114,2.504,0.336c1.909-1.294,2.748-1.025,2.748-1.025c0.546,1.376,0.202,2.394,0.1,2.646 c0.64,0.699,1.026,1.591,1.026,2.682c0,3.841-2.337,4.687-4.565,4.935c0.359,0.307,0.679,0.917,0.679,1.852 c0,1.335-0.012,2.415-0.012,2.741c0,0.269,0.18,0.579,0.688,0.481C19.138,20.161,22,16.416,22,12C22,6.477,17.523,2,12,2z"}))},{name:"instagram",attributes:{service:"instagram"},title:"Instagram",icon:()=>(0,Fe.createElement)(De.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},(0,Fe.createElement)(De.Path,{d:"M12,4.622c2.403,0,2.688,0.009,3.637,0.052c0.877,0.04,1.354,0.187,1.671,0.31c0.42,0.163,0.72,0.358,1.035,0.673 c0.315,0.315,0.51,0.615,0.673,1.035c0.123,0.317,0.27,0.794,0.31,1.671c0.043,0.949,0.052,1.234,0.052,3.637 s-0.009,2.688-0.052,3.637c-0.04,0.877-0.187,1.354-0.31,1.671c-0.163,0.42-0.358,0.72-0.673,1.035 c-0.315,0.315-0.615,0.51-1.035,0.673c-0.317,0.123-0.794,0.27-1.671,0.31c-0.949,0.043-1.233,0.052-3.637,0.052 s-2.688-0.009-3.637-0.052c-0.877-0.04-1.354-0.187-1.671-0.31c-0.42-0.163-0.72-0.358-1.035-0.673 c-0.315-0.315-0.51-0.615-0.673-1.035c-0.123-0.317-0.27-0.794-0.31-1.671C4.631,14.688,4.622,14.403,4.622,12 s0.009-2.688,0.052-3.637c0.04-0.877,0.187-1.354,0.31-1.671c0.163-0.42,0.358-0.72,0.673-1.035 c0.315-0.315,0.615-0.51,1.035-0.673c0.317-0.123,0.794-0.27,1.671-0.31C9.312,4.631,9.597,4.622,12,4.622 M12,3 C9.556,3,9.249,3.01,8.289,3.054C7.331,3.098,6.677,3.25,6.105,3.472C5.513,3.702,5.011,4.01,4.511,4.511 c-0.5,0.5-0.808,1.002-1.038,1.594C3.25,6.677,3.098,7.331,3.054,8.289C3.01,9.249,3,9.556,3,12c0,2.444,0.01,2.751,0.054,3.711 c0.044,0.958,0.196,1.612,0.418,2.185c0.23,0.592,0.538,1.094,1.038,1.594c0.5,0.5,1.002,0.808,1.594,1.038 c0.572,0.222,1.227,0.375,2.185,0.418C9.249,20.99,9.556,21,12,21s2.751-0.01,3.711-0.054c0.958-0.044,1.612-0.196,2.185-0.418 c0.592-0.23,1.094-0.538,1.594-1.038c0.5-0.5,0.808-1.002,1.038-1.594c0.222-0.572,0.375-1.227,0.418-2.185 C20.99,14.751,21,14.444,21,12s-0.01-2.751-0.054-3.711c-0.044-0.958-0.196-1.612-0.418-2.185c-0.23-0.592-0.538-1.094-1.038-1.594 c-0.5-0.5-1.002-0.808-1.594-1.038c-0.572-0.222-1.227-0.375-2.185-0.418C14.751,3.01,14.444,3,12,3L12,3z M12,7.378 c-2.552,0-4.622,2.069-4.622,4.622S9.448,16.622,12,16.622s4.622-2.069,4.622-4.622S14.552,7.378,12,7.378z M12,15 c-1.657,0-3-1.343-3-3s1.343-3,3-3s3,1.343,3,3S13.657,15,12,15z M16.804,6.116c-0.596,0-1.08,0.484-1.08,1.08 s0.484,1.08,1.08,1.08c0.596,0,1.08-0.484,1.08-1.08S17.401,6.116,16.804,6.116z"}))},{name:"lastfm",attributes:{service:"lastfm"},title:"Last.fm",icon:()=>(0,Fe.createElement)(De.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},(0,Fe.createElement)(De.Path,{d:"M 12.0002 1.5 C 6.2006 1.5 1.5 6.2011 1.5 11.9998 C 1.5 17.799 6.2006 22.5 12.0002 22.5 C 17.799 22.5 22.5 17.799 22.5 11.9998 C 22.5 6.2011 17.799 1.5 12.0002 1.5 Z M 16.1974 16.2204 C 14.8164 16.2152 13.9346 15.587 13.3345 14.1859 L 13.1816 13.8451 L 11.8541 10.8101 C 11.4271 9.7688 10.3526 9.0712 9.1801 9.0712 C 7.5695 9.0712 6.2593 10.3851 6.2593 12.001 C 6.2593 13.6165 7.5695 14.9303 9.1801 14.9303 C 10.272 14.9303 11.2651 14.3275 11.772 13.3567 C 11.7893 13.3235 11.8239 13.302 11.863 13.3038 C 11.9007 13.3054 11.9353 13.3288 11.9504 13.3632 L 12.4865 14.6046 C 12.5016 14.639 12.4956 14.6778 12.4723 14.7069 C 11.6605 15.6995 10.4602 16.2683 9.1801 16.2683 C 6.8331 16.2683 4.9234 14.3536 4.9234 12.001 C 4.9234 9.6468 6.833 7.732 9.1801 7.732 C 10.9572 7.732 12.3909 8.6907 13.1138 10.3636 C 13.1206 10.3802 13.8412 12.0708 14.4744 13.5191 C 14.8486 14.374 15.1462 14.896 16.1288 14.9292 C 17.0663 14.9613 17.7538 14.4122 17.7538 13.6485 C 17.7538 12.9691 17.3321 12.8004 16.3803 12.4822 C 14.7365 11.9398 13.845 11.3861 13.845 10.0182 C 13.845 8.6809 14.7667 7.8162 16.192 7.8162 C 17.1288 7.8162 17.8155 8.2287 18.2921 9.0768 C 18.305 9.1006 18.3079 9.1281 18.3004 9.1542 C 18.2929 9.1803 18.2748 9.2021 18.2507 9.2138 L 17.3614 9.669 C 17.3178 9.692 17.2643 9.6781 17.2356 9.6385 C 16.9329 9.2135 16.5956 9.0251 16.1423 9.0251 C 15.5512 9.0251 15.122 9.429 15.122 9.9865 C 15.122 10.6738 15.6529 10.8414 16.5339 11.1192 C 16.6491 11.1558 16.7696 11.194 16.8939 11.2343 C 18.2763 11.6865 19.0768 12.2311 19.0768 13.6836 C 19.0769 15.1297 17.8389 16.2204 16.1974 16.2204 Z"}))},{name:"linkedin",attributes:{service:"linkedin"},title:"LinkedIn",icon:()=>(0,Fe.createElement)(De.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},(0,Fe.createElement)(De.Path,{d:"M19.7,3H4.3C3.582,3,3,3.582,3,4.3v15.4C3,20.418,3.582,21,4.3,21h15.4c0.718,0,1.3-0.582,1.3-1.3V4.3 C21,3.582,20.418,3,19.7,3z M8.339,18.338H5.667v-8.59h2.672V18.338z M7.004,8.574c-0.857,0-1.549-0.694-1.549-1.548 c0-0.855,0.691-1.548,1.549-1.548c0.854,0,1.547,0.694,1.547,1.548C8.551,7.881,7.858,8.574,7.004,8.574z M18.339,18.338h-2.669 v-4.177c0-0.996-0.017-2.278-1.387-2.278c-1.389,0-1.601,1.086-1.601,2.206v4.249h-2.667v-8.59h2.559v1.174h0.037 c0.356-0.675,1.227-1.387,2.526-1.387c2.703,0,3.203,1.779,3.203,4.092V18.338z"}))},{name:"mail",attributes:{service:"mail"},title:"Mail",keywords:["email","e-mail"],icon:()=>(0,Fe.createElement)(De.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},(0,Fe.createElement)(De.Path,{d:"M20,4H4C2.895,4,2,4.895,2,6v12c0,1.105,0.895,2,2,2h16c1.105,0,2-0.895,2-2V6C22,4.895,21.105,4,20,4z M20,8.236l-8,4.882 L4,8.236V6h16V8.236z"}))},{name:"mastodon",attributes:{service:"mastodon"},title:"Mastodon",icon:()=>(0,Fe.createElement)(De.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},(0,Fe.createElement)(De.Path,{d:"M23.193 7.879c0-5.206-3.411-6.732-3.411-6.732C18.062.357 15.108.025 12.041 0h-.076c-3.068.025-6.02.357-7.74 1.147 0 0-3.411 1.526-3.411 6.732 0 1.192-.023 2.618.015 4.129.124 5.092.934 10.109 5.641 11.355 2.17.574 4.034.695 5.535.612 2.722-.15 4.25-.972 4.25-.972l-.09-1.975s-1.945.613-4.129.539c-2.165-.074-4.449-.233-4.799-2.891a5.499 5.499 0 0 1-.048-.745s2.125.52 4.817.643c1.646.075 3.19-.097 4.758-.283 3.007-.359 5.625-2.212 5.954-3.905.517-2.665.475-6.507.475-6.507zm-4.024 6.709h-2.497V8.469c0-1.29-.543-1.944-1.628-1.944-1.2 0-1.802.776-1.802 2.312v3.349h-2.483v-3.35c0-1.536-.602-2.312-1.802-2.312-1.085 0-1.628.655-1.628 1.944v6.119H4.832V8.284c0-1.289.328-2.313.987-3.07.68-.758 1.569-1.146 2.674-1.146 1.278 0 2.246.491 2.886 1.474L12 6.585l.622-1.043c.64-.983 1.608-1.474 2.886-1.474 1.104 0 1.994.388 2.674 1.146.658.757.986 1.781.986 3.07v6.304z"}))},{name:"meetup",attributes:{service:"meetup"},title:"Meetup",icon:()=>(0,Fe.createElement)(De.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},(0,Fe.createElement)(De.Path,{d:"M19.24775,14.722a3.57032,3.57032,0,0,1-2.94457,3.52073,3.61886,3.61886,0,0,1-.64652.05634c-.07314-.0008-.10187.02846-.12507.09547A2.38881,2.38881,0,0,1,13.49453,20.094a2.33092,2.33092,0,0,1-1.827-.50716.13635.13635,0,0,0-.19878-.00408,3.191,3.191,0,0,1-2.104.60248,3.26309,3.26309,0,0,1-3.00324-2.71993,2.19076,2.19076,0,0,1-.03512-.30865c-.00156-.08579-.03413-.1189-.11608-.13493a2.86421,2.86421,0,0,1-1.23189-.56111,2.945,2.945,0,0,1-1.166-2.05749,2.97484,2.97484,0,0,1,.87524-2.50774.112.112,0,0,0,.02091-.16107,2.7213,2.7213,0,0,1-.36648-1.48A2.81256,2.81256,0,0,1,6.57673,7.58838a.35764.35764,0,0,0,.28869-.22819,4.2208,4.2208,0,0,1,6.02892-1.90111.25161.25161,0,0,0,.22023.0243,3.65608,3.65608,0,0,1,3.76031.90678A3.57244,3.57244,0,0,1,17.95918,8.626a2.97339,2.97339,0,0,1,.01829.57356.10637.10637,0,0,0,.0853.12792,1.97669,1.97669,0,0,1,1.27939,1.33733,2.00266,2.00266,0,0,1-.57112,2.12652c-.05284.05166-.04168.08328-.01173.13489A3.51189,3.51189,0,0,1,19.24775,14.722Zm-6.35959-.27836a1.6984,1.6984,0,0,0,1.14556,1.61113,3.82039,3.82039,0,0,0,1.036.17935,1.46888,1.46888,0,0,0,.73509-.12255.44082.44082,0,0,0,.26057-.44274.45312.45312,0,0,0-.29211-.43375.97191.97191,0,0,0-.20678-.063c-.21326-.03806-.42754-.0701-.63973-.11215a.54787.54787,0,0,1-.50172-.60926,2.75864,2.75864,0,0,1,.1773-.901c.1763-.535.414-1.045.64183-1.55913A12.686,12.686,0,0,0,15.85,10.47863a1.58461,1.58461,0,0,0,.04861-.87208,1.04531,1.04531,0,0,0-.85432-.83981,1.60658,1.60658,0,0,0-1.23654.16594.27593.27593,0,0,1-.36286-.03413c-.085-.0747-.16594-.15379-.24918-.23055a.98682.98682,0,0,0-1.33577-.04933,6.1468,6.1468,0,0,1-.4989.41615.47762.47762,0,0,1-.51535.03566c-.17448-.09307-.35512-.175-.53531-.25665a1.74949,1.74949,0,0,0-.56476-.2016,1.69943,1.69943,0,0,0-1.61654.91787,8.05815,8.05815,0,0,0-.32952.80126c-.45471,1.2557-.82507,2.53825-1.20838,3.81639a1.24151,1.24151,0,0,0,.51532,1.44389,1.42659,1.42659,0,0,0,1.22008.17166,1.09728,1.09728,0,0,0,.66994-.69764c.44145-1.04111.839-2.09989,1.25981-3.14926.11581-.28876.22792-.57874.35078-.86438a.44548.44548,0,0,1,.69189-.19539.50521.50521,0,0,1,.15044.43836,1.75625,1.75625,0,0,1-.14731.50453c-.27379.69219-.55265,1.38236-.82766,2.074a2.0836,2.0836,0,0,0-.14038.42876.50719.50719,0,0,0,.27082.57722.87236.87236,0,0,0,.66145.02739.99137.99137,0,0,0,.53406-.532q.61571-1.20914,1.228-2.42031.28423-.55863.57585-1.1133a.87189.87189,0,0,1,.29055-.35253.34987.34987,0,0,1,.37634-.01265.30291.30291,0,0,1,.12434.31459.56716.56716,0,0,1-.04655.1915c-.05318.12739-.10286.25669-.16183.38156-.34118.71775-.68754,1.43273-1.02568,2.152A2.00213,2.00213,0,0,0,12.88816,14.44366Zm4.78568,5.28972a.88573.88573,0,0,0-1.77139.00465.8857.8857,0,0,0,1.77139-.00465Zm-14.83838-7.296a.84329.84329,0,1,0,.00827-1.68655.8433.8433,0,0,0-.00827,1.68655Zm10.366-9.43673a.83506.83506,0,1,0-.0091,1.67.83505.83505,0,0,0,.0091-1.67Zm6.85014,5.22a.71651.71651,0,0,0-1.433.0093.71656.71656,0,0,0,1.433-.0093ZM5.37528,6.17908A.63823.63823,0,1,0,6.015,5.54483.62292.62292,0,0,0,5.37528,6.17908Zm6.68214,14.80843a.54949.54949,0,1,0-.55052.541A.54556.54556,0,0,0,12.05742,20.98752Zm8.53235-8.49689a.54777.54777,0,0,0-.54027.54023.53327.53327,0,0,0,.532.52293.51548.51548,0,0,0,.53272-.5237A.53187.53187,0,0,0,20.58977,12.49063ZM7.82846,2.4715a.44927.44927,0,1,0,.44484.44766A.43821.43821,0,0,0,7.82846,2.4715Zm13.775,7.60492a.41186.41186,0,0,0-.40065.39623.40178.40178,0,0,0,.40168.40168A.38994.38994,0,0,0,22,10.48172.39946.39946,0,0,0,21.60349,10.07642ZM5.79193,17.96207a.40469.40469,0,0,0-.397-.39646.399.399,0,0,0-.396.405.39234.39234,0,0,0,.39939.389A.39857.39857,0,0,0,5.79193,17.96207Z"}))},{name:"medium",attributes:{service:"medium"},title:"Medium",icon:()=>(0,Fe.createElement)(De.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},(0,Fe.createElement)(De.Path,{d:"M20.962,7.257l-5.457,8.867l-3.923-6.375l3.126-5.08c0.112-0.182,0.319-0.286,0.527-0.286c0.05,0,0.1,0.008,0.149,0.02 c0.039,0.01,0.078,0.023,0.114,0.041l5.43,2.715l0.006,0.003c0.004,0.002,0.007,0.006,0.011,0.008 C20.971,7.191,20.98,7.227,20.962,7.257z M9.86,8.592v5.783l5.14,2.57L9.86,8.592z M15.772,17.331l4.231,2.115 C20.554,19.721,21,19.529,21,19.016V8.835L15.772,17.331z M8.968,7.178L3.665,4.527C3.569,4.479,3.478,4.456,3.395,4.456 C3.163,4.456,3,4.636,3,4.938v11.45c0,0.306,0.224,0.669,0.498,0.806l4.671,2.335c0.12,0.06,0.234,0.088,0.337,0.088 c0.29,0,0.494-0.225,0.494-0.602V7.231C9,7.208,8.988,7.188,8.968,7.178z"}))},{name:"patreon",attributes:{service:"patreon"},title:"Patreon",icon:()=>(0,Fe.createElement)(De.SVG,{width:"24",height:"24",viewBox:"0 0 569 546",version:"1.1"},(0,Fe.createElement)(De.Circle,{cx:"363",cy:"205",r:"205"}),(0,Fe.createElement)(De.Rect,{width:"100",height:"546",x:"0",y:"0"}))},{name:"pinterest",attributes:{service:"pinterest"},title:"Pinterest",icon:()=>(0,Fe.createElement)(De.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},(0,Fe.createElement)(De.Path,{d:"M12.289,2C6.617,2,3.606,5.648,3.606,9.622c0,1.846,1.025,4.146,2.666,4.878c0.25,0.111,0.381,0.063,0.439-0.169 c0.044-0.175,0.267-1.029,0.365-1.428c0.032-0.128,0.017-0.237-0.091-0.362C6.445,11.911,6.01,10.75,6.01,9.668 c0-2.777,2.194-5.464,5.933-5.464c3.23,0,5.49,2.108,5.49,5.122c0,3.407-1.794,5.768-4.13,5.768c-1.291,0-2.257-1.021-1.948-2.277 c0.372-1.495,1.089-3.112,1.089-4.191c0-0.967-0.542-1.775-1.663-1.775c-1.319,0-2.379,1.309-2.379,3.059 c0,1.115,0.394,1.869,0.394,1.869s-1.302,5.279-1.54,6.261c-0.405,1.666,0.053,4.368,0.094,4.604 c0.021,0.126,0.167,0.169,0.25,0.063c0.129-0.165,1.699-2.419,2.142-4.051c0.158-0.59,0.817-2.995,0.817-2.995 c0.43,0.784,1.681,1.446,3.013,1.446c3.963,0,6.822-3.494,6.822-7.833C20.394,5.112,16.849,2,12.289,2"}))},{name:"pocket",attributes:{service:"pocket"},title:"Pocket",icon:()=>(0,Fe.createElement)(De.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},(0,Fe.createElement)(De.Path,{d:"M21.927,4.194C21.667,3.48,20.982,3,20.222,3h-0.01h-1.721H3.839C3.092,3,2.411,3.47,2.145,4.17 C2.066,4.378,2.026,4.594,2.026,4.814v6.035l0.069,1.2c0.29,2.73,1.707,5.115,3.899,6.778c0.039,0.03,0.079,0.059,0.119,0.089 l0.025,0.018c1.175,0.859,2.491,1.441,3.91,1.727c0.655,0.132,1.325,0.2,1.991,0.2c0.615,0,1.232-0.057,1.839-0.17 c0.073-0.014,0.145-0.028,0.219-0.044c0.02-0.004,0.042-0.012,0.064-0.023c1.359-0.297,2.621-0.864,3.753-1.691l0.025-0.018 c0.04-0.029,0.08-0.058,0.119-0.089c2.192-1.664,3.609-4.049,3.898-6.778l0.069-1.2V4.814C22.026,4.605,22,4.398,21.927,4.194z M17.692,10.481l-4.704,4.512c-0.266,0.254-0.608,0.382-0.949,0.382c-0.342,0-0.684-0.128-0.949-0.382l-4.705-4.512 C5.838,9.957,5.82,9.089,6.344,8.542c0.524-0.547,1.392-0.565,1.939-0.04l3.756,3.601l3.755-3.601 c0.547-0.524,1.415-0.506,1.939,0.04C18.256,9.089,18.238,9.956,17.692,10.481z"}))},{name:"reddit",attributes:{service:"reddit"},title:"Reddit",icon:()=>(0,Fe.createElement)(De.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},(0,Fe.createElement)(De.Path,{d:"M22,11.816c0-1.256-1.021-2.277-2.277-2.277c-0.593,0-1.122,0.24-1.526,0.614c-1.481-0.965-3.455-1.594-5.647-1.69 l1.171-3.702l3.18,0.748c0.008,1.028,0.846,1.862,1.876,1.862c1.035,0,1.877-0.842,1.877-1.878c0-1.035-0.842-1.877-1.877-1.877 c-0.769,0-1.431,0.466-1.72,1.13l-3.508-0.826c-0.203-0.047-0.399,0.067-0.46,0.261l-1.35,4.268 c-2.316,0.038-4.411,0.67-5.97,1.671C5.368,9.765,4.853,9.539,4.277,9.539C3.021,9.539,2,10.56,2,11.816 c0,0.814,0.433,1.523,1.078,1.925c-0.037,0.221-0.061,0.444-0.061,0.672c0,3.292,4.011,5.97,8.941,5.97s8.941-2.678,8.941-5.97 c0-0.214-0.02-0.424-0.053-0.632C21.533,13.39,22,12.661,22,11.816z M18.776,4.394c0.606,0,1.1,0.493,1.1,1.1s-0.493,1.1-1.1,1.1 s-1.1-0.494-1.1-1.1S18.169,4.394,18.776,4.394z M2.777,11.816c0-0.827,0.672-1.5,1.499-1.5c0.313,0,0.598,0.103,0.838,0.269 c-0.851,0.676-1.477,1.479-1.812,2.36C2.983,12.672,2.777,12.27,2.777,11.816z M11.959,19.606c-4.501,0-8.164-2.329-8.164-5.193 S7.457,9.22,11.959,9.22s8.164,2.329,8.164,5.193S16.46,19.606,11.959,19.606z M20.636,13.001c-0.326-0.89-0.948-1.701-1.797-2.384 c0.248-0.186,0.55-0.301,0.883-0.301c0.827,0,1.5,0.673,1.5,1.5C21.223,12.299,20.992,12.727,20.636,13.001z M8.996,14.704 c-0.76,0-1.397-0.616-1.397-1.376c0-0.76,0.637-1.397,1.397-1.397c0.76,0,1.376,0.637,1.376,1.397 C10.372,14.088,9.756,14.704,8.996,14.704z M16.401,13.328c0,0.76-0.616,1.376-1.376,1.376c-0.76,0-1.399-0.616-1.399-1.376 c0-0.76,0.639-1.397,1.399-1.397C15.785,11.931,16.401,12.568,16.401,13.328z M15.229,16.708c0.152,0.152,0.152,0.398,0,0.55 c-0.674,0.674-1.727,1.002-3.219,1.002c-0.004,0-0.007-0.002-0.011-0.002c-0.004,0-0.007,0.002-0.011,0.002 c-1.492,0-2.544-0.328-3.218-1.002c-0.152-0.152-0.152-0.398,0-0.55c0.152-0.152,0.399-0.151,0.55,0 c0.521,0.521,1.394,0.775,2.669,0.775c0.004,0,0.007,0.002,0.011,0.002c0.004,0,0.007-0.002,0.011-0.002 c1.275,0,2.148-0.253,2.669-0.775C14.831,16.556,15.078,16.556,15.229,16.708z"}))},{name:"skype",attributes:{service:"skype"},title:"Skype",icon:()=>(0,Fe.createElement)(De.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},(0,Fe.createElement)(De.Path,{d:"M10.113,2.699c0.033-0.006,0.067-0.013,0.1-0.02c0.033,0.017,0.066,0.033,0.098,0.051L10.113,2.699z M2.72,10.223 c-0.006,0.034-0.011,0.069-0.017,0.103c0.018,0.032,0.033,0.064,0.051,0.095L2.72,10.223z M21.275,13.771 c0.007-0.035,0.011-0.071,0.018-0.106c-0.018-0.031-0.033-0.064-0.052-0.095L21.275,13.771z M13.563,21.199 c0.032,0.019,0.065,0.035,0.096,0.053c0.036-0.006,0.071-0.011,0.105-0.017L13.563,21.199z M22,16.386 c0,1.494-0.581,2.898-1.637,3.953c-1.056,1.057-2.459,1.637-3.953,1.637c-0.967,0-1.914-0.251-2.75-0.725 c0.036-0.006,0.071-0.011,0.105-0.017l-0.202-0.035c0.032,0.019,0.065,0.035,0.096,0.053c-0.543,0.096-1.099,0.147-1.654,0.147 c-1.275,0-2.512-0.25-3.676-0.743c-1.125-0.474-2.135-1.156-3.002-2.023c-0.867-0.867-1.548-1.877-2.023-3.002 c-0.493-1.164-0.743-2.401-0.743-3.676c0-0.546,0.049-1.093,0.142-1.628c0.018,0.032,0.033,0.064,0.051,0.095L2.72,10.223 c-0.006,0.034-0.011,0.069-0.017,0.103C2.244,9.5,2,8.566,2,7.615c0-1.493,0.582-2.898,1.637-3.953 c1.056-1.056,2.46-1.638,3.953-1.638c0.915,0,1.818,0.228,2.622,0.655c-0.033,0.007-0.067,0.013-0.1,0.02l0.199,0.031 c-0.032-0.018-0.066-0.034-0.098-0.051c0.002,0,0.003-0.001,0.004-0.001c0.586-0.112,1.187-0.169,1.788-0.169 c1.275,0,2.512,0.249,3.676,0.742c1.124,0.476,2.135,1.156,3.002,2.024c0.868,0.867,1.548,1.877,2.024,3.002 c0.493,1.164,0.743,2.401,0.743,3.676c0,0.575-0.054,1.15-0.157,1.712c-0.018-0.031-0.033-0.064-0.052-0.095l0.034,0.201 c0.007-0.035,0.011-0.071,0.018-0.106C21.754,14.494,22,15.432,22,16.386z M16.817,14.138c0-1.331-0.613-2.743-3.033-3.282 l-2.209-0.49c-0.84-0.192-1.807-0.444-1.807-1.237c0-0.794,0.679-1.348,1.903-1.348c2.468,0,2.243,1.696,3.468,1.696 c0.645,0,1.209-0.379,1.209-1.031c0-1.521-2.435-2.663-4.5-2.663c-2.242,0-4.63,0.952-4.63,3.488c0,1.221,0.436,2.521,2.839,3.123 l2.984,0.745c0.903,0.223,1.129,0.731,1.129,1.189c0,0.762-0.758,1.507-2.129,1.507c-2.679,0-2.307-2.062-3.743-2.062 c-0.645,0-1.113,0.444-1.113,1.078c0,1.236,1.501,2.886,4.856,2.886C15.236,17.737,16.817,16.199,16.817,14.138z"}))},{name:"snapchat",attributes:{service:"snapchat"},title:"Snapchat",icon:()=>(0,Fe.createElement)(De.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},(0,Fe.createElement)(De.Path,{d:"M12.065,2a5.526,5.526,0,0,1,3.132.892A5.854,5.854,0,0,1,17.326,5.4a5.821,5.821,0,0,1,.351,2.33q0,.612-.117,2.487a.809.809,0,0,0,.365.091,1.93,1.93,0,0,0,.664-.176,1.93,1.93,0,0,1,.664-.176,1.3,1.3,0,0,1,.729.234.7.7,0,0,1,.351.6.839.839,0,0,1-.41.7,2.732,2.732,0,0,1-.9.41,3.192,3.192,0,0,0-.9.378.728.728,0,0,0-.41.618,1.575,1.575,0,0,0,.156.56,6.9,6.9,0,0,0,1.334,1.953,5.6,5.6,0,0,0,1.881,1.315,5.875,5.875,0,0,0,1.042.3.42.42,0,0,1,.365.456q0,.911-2.852,1.341a1.379,1.379,0,0,0-.143.507,1.8,1.8,0,0,1-.182.605.451.451,0,0,1-.429.241,5.878,5.878,0,0,1-.807-.085,5.917,5.917,0,0,0-.833-.085,4.217,4.217,0,0,0-.807.065,2.42,2.42,0,0,0-.82.293,6.682,6.682,0,0,0-.755.5q-.351.267-.755.527a3.886,3.886,0,0,1-.989.436A4.471,4.471,0,0,1,11.831,22a4.307,4.307,0,0,1-1.256-.176,3.784,3.784,0,0,1-.976-.436q-.4-.26-.749-.527a6.682,6.682,0,0,0-.755-.5,2.422,2.422,0,0,0-.807-.293,4.432,4.432,0,0,0-.82-.065,5.089,5.089,0,0,0-.853.1,5,5,0,0,1-.762.1.474.474,0,0,1-.456-.241,1.819,1.819,0,0,1-.182-.618,1.411,1.411,0,0,0-.143-.521q-2.852-.429-2.852-1.341a.42.42,0,0,1,.365-.456,5.793,5.793,0,0,0,1.042-.3,5.524,5.524,0,0,0,1.881-1.315,6.789,6.789,0,0,0,1.334-1.953A1.575,1.575,0,0,0,6,12.9a.728.728,0,0,0-.41-.618,3.323,3.323,0,0,0-.9-.384,2.912,2.912,0,0,1-.9-.41.814.814,0,0,1-.41-.684.71.71,0,0,1,.338-.593,1.208,1.208,0,0,1,.716-.241,1.976,1.976,0,0,1,.625.169,2.008,2.008,0,0,0,.69.169.919.919,0,0,0,.416-.091q-.117-1.849-.117-2.474A5.861,5.861,0,0,1,6.385,5.4,5.516,5.516,0,0,1,8.625,2.819,7.075,7.075,0,0,1,12.062,2Z"}))},{name:"soundcloud",attributes:{service:"soundcloud"},title:"SoundCloud",icon:()=>(0,Fe.createElement)(De.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},(0,Fe.createElement)(De.Path,{d:"M8.9,16.1L9,14L8.9,9.5c0-0.1,0-0.1-0.1-0.1c0,0-0.1-0.1-0.1-0.1c-0.1,0-0.1,0-0.1,0.1c0,0-0.1,0.1-0.1,0.1L8.3,14l0.1,2.1 c0,0.1,0,0.1,0.1,0.1c0,0,0.1,0.1,0.1,0.1C8.8,16.3,8.9,16.3,8.9,16.1z M11.4,15.9l0.1-1.8L11.4,9c0-0.1,0-0.2-0.1-0.2 c0,0-0.1,0-0.1,0s-0.1,0-0.1,0c-0.1,0-0.1,0.1-0.1,0.2l0,0.1l-0.1,5c0,0,0,0.7,0.1,2v0c0,0.1,0,0.1,0.1,0.1c0.1,0.1,0.1,0.1,0.2,0.1 c0.1,0,0.1,0,0.2-0.1c0.1,0,0.1-0.1,0.1-0.2L11.4,15.9z M2.4,12.9L2.5,14l-0.2,1.1c0,0.1,0,0.1-0.1,0.1c0,0-0.1,0-0.1-0.1L2.1,14 l0.1-1.1C2.2,12.9,2.3,12.9,2.4,12.9C2.3,12.9,2.4,12.9,2.4,12.9z M3.1,12.2L3.3,14l-0.2,1.8c0,0.1,0,0.1-0.1,0.1 c-0.1,0-0.1,0-0.1-0.1L2.8,14L3,12.2C3,12.2,3,12.2,3.1,12.2C3.1,12.2,3.1,12.2,3.1,12.2z M3.9,11.9L4.1,14l-0.2,2.1 c0,0.1,0,0.1-0.1,0.1c-0.1,0-0.1,0-0.1-0.1L3.5,14l0.2-2.1c0-0.1,0-0.1,0.1-0.1C3.9,11.8,3.9,11.8,3.9,11.9z M4.7,11.9L4.9,14 l-0.2,2.1c0,0.1-0.1,0.1-0.1,0.1c-0.1,0-0.1,0-0.1-0.1L4.3,14l0.2-2.2c0-0.1,0-0.1,0.1-0.1C4.7,11.7,4.7,11.8,4.7,11.9z M5.6,12 l0.2,2l-0.2,2.1c0,0.1-0.1,0.1-0.1,0.1c0,0-0.1,0-0.1,0c0,0,0-0.1,0-0.1L5.1,14l0.2-2c0,0,0-0.1,0-0.1s0.1,0,0.1,0 C5.5,11.9,5.5,11.9,5.6,12L5.6,12z M6.4,10.7L6.6,14l-0.2,2.1c0,0,0,0.1,0,0.1c0,0-0.1,0-0.1,0c-0.1,0-0.1-0.1-0.2-0.2L5.9,14 l0.2-3.3c0-0.1,0.1-0.2,0.2-0.2c0,0,0.1,0,0.1,0C6.4,10.7,6.4,10.7,6.4,10.7z M7.2,10l0.2,4.1l-0.2,2.1c0,0,0,0.1,0,0.1 c0,0-0.1,0-0.1,0c-0.1,0-0.2-0.1-0.2-0.2l-0.1-2.1L6.8,10c0-0.1,0.1-0.2,0.2-0.2c0,0,0.1,0,0.1,0S7.2,9.9,7.2,10z M8,9.6L8.2,14 L8,16.1c0,0.1-0.1,0.2-0.2,0.2c-0.1,0-0.2-0.1-0.2-0.2L7.5,14l0.1-4.4c0-0.1,0-0.1,0.1-0.1c0,0,0.1-0.1,0.1-0.1c0.1,0,0.1,0,0.1,0.1 C8,9.6,8,9.6,8,9.6z M11.4,16.1L11.4,16.1L11.4,16.1z M9.7,9.6L9.8,14l-0.1,2.1c0,0.1,0,0.1-0.1,0.2s-0.1,0.1-0.2,0.1 c-0.1,0-0.1,0-0.1-0.1s-0.1-0.1-0.1-0.2L9.2,14l0.1-4.4c0-0.1,0-0.1,0.1-0.2s0.1-0.1,0.2-0.1c0.1,0,0.1,0,0.2,0.1S9.7,9.5,9.7,9.6 L9.7,9.6z M10.6,9.8l0.1,4.3l-0.1,2c0,0.1,0,0.1-0.1,0.2c0,0-0.1,0.1-0.2,0.1c-0.1,0-0.1,0-0.2-0.1c0,0-0.1-0.1-0.1-0.2L10,14 l0.1-4.3c0-0.1,0-0.1,0.1-0.2c0,0,0.1-0.1,0.2-0.1c0.1,0,0.1,0,0.2,0.1S10.6,9.7,10.6,9.8z M12.4,14l-0.1,2c0,0.1,0,0.1-0.1,0.2 c-0.1,0.1-0.1,0.1-0.2,0.1c-0.1,0-0.1,0-0.2-0.1c-0.1-0.1-0.1-0.1-0.1-0.2l-0.1-1l-0.1-1l0.1-5.5v0c0-0.1,0-0.2,0.1-0.2 c0.1,0,0.1-0.1,0.2-0.1c0,0,0.1,0,0.1,0c0.1,0,0.1,0.1,0.1,0.2L12.4,14z M22.1,13.9c0,0.7-0.2,1.3-0.7,1.7c-0.5,0.5-1.1,0.7-1.7,0.7 h-6.8c-0.1,0-0.1,0-0.2-0.1c-0.1-0.1-0.1-0.1-0.1-0.2V8.2c0-0.1,0.1-0.2,0.2-0.3c0.5-0.2,1-0.3,1.6-0.3c1.1,0,2.1,0.4,2.9,1.1 c0.8,0.8,1.3,1.7,1.4,2.8c0.3-0.1,0.6-0.2,1-0.2c0.7,0,1.3,0.2,1.7,0.7C21.8,12.6,22.1,13.2,22.1,13.9L22.1,13.9z"}))},{name:"spotify",attributes:{service:"spotify"},title:"Spotify",icon:()=>(0,Fe.createElement)(De.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},(0,Fe.createElement)(De.Path,{d:"M12,2C6.477,2,2,6.477,2,12c0,5.523,4.477,10,10,10c5.523,0,10-4.477,10-10C22,6.477,17.523,2,12,2 M16.586,16.424 c-0.18,0.295-0.563,0.387-0.857,0.207c-2.348-1.435-5.304-1.76-8.785-0.964c-0.335,0.077-0.67-0.133-0.746-0.469 c-0.077-0.335,0.132-0.67,0.469-0.746c3.809-0.871,7.077-0.496,9.713,1.115C16.673,15.746,16.766,16.13,16.586,16.424 M17.81,13.7 c-0.226,0.367-0.706,0.482-1.072,0.257c-2.687-1.652-6.785-2.131-9.965-1.166C6.36,12.917,5.925,12.684,5.8,12.273 C5.675,11.86,5.908,11.425,6.32,11.3c3.632-1.102,8.147-0.568,11.234,1.328C17.92,12.854,18.035,13.335,17.81,13.7 M17.915,10.865 c-3.223-1.914-8.54-2.09-11.618-1.156C5.804,9.859,5.281,9.58,5.131,9.086C4.982,8.591,5.26,8.069,5.755,7.919 c3.532-1.072,9.404-0.865,13.115,1.338c0.445,0.264,0.59,0.838,0.327,1.282C18.933,10.983,18.359,11.129,17.915,10.865"}))},{name:"telegram",attributes:{service:"telegram"},title:"Telegram",icon:()=>(0,Fe.createElement)(De.SVG,{width:"24",height:"24",viewBox:"0 0 128 128",version:"1.1"},(0,Fe.createElement)(De.Path,{d:"M28.9700376,63.3244248 C47.6273373,55.1957357 60.0684594,49.8368063 66.2934036,47.2476366 C84.0668845,39.855031 87.7600616,38.5708563 90.1672227,38.528 C90.6966555,38.5191258 91.8804274,38.6503351 92.6472251,39.2725385 C93.294694,39.7979149 93.4728387,40.5076237 93.5580865,41.0057381 C93.6433345,41.5038525 93.7494885,42.63857 93.6651041,43.5252052 C92.7019529,53.6451182 88.5344133,78.2034783 86.4142057,89.5379542 C85.5170662,94.3339958 83.750571,95.9420841 82.0403991,96.0994568 C78.3237996,96.4414641 75.5015827,93.6432685 71.9018743,91.2836143 C66.2690414,87.5912212 63.0868492,85.2926952 57.6192095,81.6896017 C51.3004058,77.5256038 55.3966232,75.2369981 58.9976911,71.4967761 C59.9401076,70.5179421 76.3155302,55.6232293 76.6324771,54.2720454 C76.6721165,54.1030573 76.7089039,53.4731496 76.3346867,53.1405352 C75.9604695,52.8079208 75.4081573,52.921662 75.0095933,53.0121213 C74.444641,53.1403447 65.4461175,59.0880351 48.0140228,70.8551922 C45.4598218,72.6091037 43.1463059,73.4636682 41.0734751,73.4188859 C38.7883453,73.3695169 34.3926725,72.1268388 31.1249416,71.0646282 C27.1169366,69.7617838 23.931454,69.0729605 24.208838,66.8603276 C24.3533167,65.7078514 25.9403832,64.5292172 28.9700376,63.3244248 Z"}))},{name:"tiktok",attributes:{service:"tiktok"},title:"TikTok",icon:()=>(0,Fe.createElement)(De.SVG,{width:"24",height:"24",viewBox:"0 0 32 32",version:"1.1"},(0,Fe.createElement)(De.Path,{d:"M16.708 0.027c1.745-0.027 3.48-0.011 5.213-0.027 0.105 2.041 0.839 4.12 2.333 5.563 1.491 1.479 3.6 2.156 5.652 2.385v5.369c-1.923-0.063-3.855-0.463-5.6-1.291-0.76-0.344-1.468-0.787-2.161-1.24-0.009 3.896 0.016 7.787-0.025 11.667-0.104 1.864-0.719 3.719-1.803 5.255-1.744 2.557-4.771 4.224-7.88 4.276-1.907 0.109-3.812-0.411-5.437-1.369-2.693-1.588-4.588-4.495-4.864-7.615-0.032-0.667-0.043-1.333-0.016-1.984 0.24-2.537 1.495-4.964 3.443-6.615 2.208-1.923 5.301-2.839 8.197-2.297 0.027 1.975-0.052 3.948-0.052 5.923-1.323-0.428-2.869-0.308-4.025 0.495-0.844 0.547-1.485 1.385-1.819 2.333-0.276 0.676-0.197 1.427-0.181 2.145 0.317 2.188 2.421 4.027 4.667 3.828 1.489-0.016 2.916-0.88 3.692-2.145 0.251-0.443 0.532-0.896 0.547-1.417 0.131-2.385 0.079-4.76 0.095-7.145 0.011-5.375-0.016-10.735 0.025-16.093z"}))},{name:"tumblr",attributes:{service:"tumblr"},title:"Tumblr",icon:()=>(0,Fe.createElement)(De.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},(0,Fe.createElement)(De.Path,{d:"M17.04 21.28h-3.28c-2.84 0-4.94-1.37-4.94-5.02v-5.67H6.08V7.5c2.93-.73 4.11-3.3 4.3-5.48h3.01v4.93h3.47v3.65H13.4v4.93c0 1.47.73 2.01 1.92 2.01h1.73v3.75z"}))},{name:"twitch",attributes:{service:"twitch"},title:"Twitch",icon:()=>(0,Fe.createElement)(De.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},(0,Fe.createElement)(De.Path,{d:"M16.499,8.089h-1.636v4.91h1.636V8.089z M12,8.089h-1.637v4.91H12V8.089z M4.228,3.178L3,6.451v13.092h4.499V22h2.456 l2.454-2.456h3.681L21,14.636V3.178H4.228z M19.364,13.816l-2.864,2.865H12l-2.453,2.453V16.68H5.863V4.814h13.501V13.816z"}))},{name:"twitter",attributes:{service:"twitter"},title:"Twitter",icon:()=>(0,Fe.createElement)(De.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},(0,Fe.createElement)(De.Path,{d:"M22.23,5.924c-0.736,0.326-1.527,0.547-2.357,0.646c0.847-0.508,1.498-1.312,1.804-2.27 c-0.793,0.47-1.671,0.812-2.606,0.996C18.324,4.498,17.257,4,16.077,4c-2.266,0-4.103,1.837-4.103,4.103 c0,0.322,0.036,0.635,0.106,0.935C8.67,8.867,5.647,7.234,3.623,4.751C3.27,5.357,3.067,6.062,3.067,6.814 c0,1.424,0.724,2.679,1.825,3.415c-0.673-0.021-1.305-0.206-1.859-0.513c0,0.017,0,0.034,0,0.052c0,1.988,1.414,3.647,3.292,4.023 c-0.344,0.094-0.707,0.144-1.081,0.144c-0.264,0-0.521-0.026-0.772-0.074c0.522,1.63,2.038,2.816,3.833,2.85 c-1.404,1.1-3.174,1.756-5.096,1.756c-0.331,0-0.658-0.019-0.979-0.057c1.816,1.164,3.973,1.843,6.29,1.843 c7.547,0,11.675-6.252,11.675-11.675c0-0.178-0.004-0.355-0.012-0.531C20.985,7.47,21.68,6.747,22.23,5.924z"}))},{name:"vimeo",attributes:{service:"vimeo"},title:"Vimeo",icon:()=>(0,Fe.createElement)(De.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},(0,Fe.createElement)(De.Path,{d:"M22.396,7.164c-0.093,2.026-1.507,4.799-4.245,8.32C15.322,19.161,12.928,21,10.97,21c-1.214,0-2.24-1.119-3.079-3.359 c-0.56-2.053-1.119-4.106-1.68-6.159C5.588,9.243,4.921,8.122,4.206,8.122c-0.156,0-0.701,0.328-1.634,0.98L1.594,7.841 c1.027-0.902,2.04-1.805,3.037-2.708C6.001,3.95,7.03,3.327,7.715,3.264c1.619-0.156,2.616,0.951,2.99,3.321 c0.404,2.557,0.685,4.147,0.841,4.769c0.467,2.121,0.981,3.181,1.542,3.181c0.435,0,1.09-0.688,1.963-2.065 c0.871-1.376,1.338-2.422,1.401-3.142c0.125-1.187-0.343-1.782-1.401-1.782c-0.498,0-1.012,0.115-1.541,0.341 c1.023-3.35,2.977-4.977,5.862-4.884C21.511,3.066,22.52,4.453,22.396,7.164z"}))},{name:"vk",attributes:{service:"vk"},title:"VK",icon:()=>(0,Fe.createElement)(De.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},(0,Fe.createElement)(De.Path,{d:"M22,7.1c0.2,0.4-0.4,1.5-1.6,3.1c-0.2,0.2-0.4,0.5-0.7,0.9c-0.5,0.7-0.9,1.1-0.9,1.4c-0.1,0.3-0.1,0.6,0.1,0.8 c0.1,0.1,0.4,0.4,0.8,0.9h0l0,0c1,0.9,1.6,1.7,2,2.3c0,0,0,0.1,0.1,0.1c0,0.1,0,0.1,0.1,0.3c0,0.1,0,0.2,0,0.4 c0,0.1-0.1,0.2-0.3,0.3c-0.1,0.1-0.4,0.1-0.6,0.1l-2.7,0c-0.2,0-0.4,0-0.6-0.1c-0.2-0.1-0.4-0.1-0.5-0.2l-0.2-0.1 c-0.2-0.1-0.5-0.4-0.7-0.7s-0.5-0.6-0.7-0.8c-0.2-0.2-0.4-0.4-0.6-0.6C14.8,15,14.6,15,14.4,15c0,0,0,0-0.1,0c0,0-0.1,0.1-0.2,0.2 c-0.1,0.1-0.2,0.2-0.2,0.3c-0.1,0.1-0.1,0.3-0.2,0.5c-0.1,0.2-0.1,0.5-0.1,0.8c0,0.1,0,0.2,0,0.3c0,0.1-0.1,0.2-0.1,0.2l0,0.1 c-0.1,0.1-0.3,0.2-0.6,0.2h-1.2c-0.5,0-1,0-1.5-0.2c-0.5-0.1-1-0.3-1.4-0.6s-0.7-0.5-1.1-0.7s-0.6-0.4-0.7-0.6l-0.3-0.3 c-0.1-0.1-0.2-0.2-0.3-0.3s-0.4-0.5-0.7-0.9s-0.7-1-1.1-1.6c-0.4-0.6-0.8-1.3-1.3-2.2C2.9,9.4,2.5,8.5,2.1,7.5C2,7.4,2,7.3,2,7.2 c0-0.1,0-0.1,0-0.2l0-0.1c0.1-0.1,0.3-0.2,0.6-0.2l2.9,0c0.1,0,0.2,0,0.2,0.1S5.9,6.9,5.9,7L6,7c0.1,0.1,0.2,0.2,0.3,0.3 C6.4,7.7,6.5,8,6.7,8.4C6.9,8.8,7,9,7.1,9.2l0.2,0.3c0.2,0.4,0.4,0.8,0.6,1.1c0.2,0.3,0.4,0.5,0.5,0.7s0.3,0.3,0.4,0.4 c0.1,0.1,0.3,0.1,0.4,0.1c0.1,0,0.2,0,0.3-0.1c0,0,0,0,0.1-0.1c0,0,0.1-0.1,0.1-0.2c0.1-0.1,0.1-0.3,0.1-0.5c0-0.2,0.1-0.5,0.1-0.8 c0-0.4,0-0.8,0-1.3c0-0.3,0-0.5-0.1-0.8c0-0.2-0.1-0.4-0.1-0.5L9.6,7.6C9.4,7.3,9.1,7.2,8.7,7.1C8.6,7.1,8.6,7,8.7,6.9 C8.9,6.7,9,6.6,9.1,6.5c0.4-0.2,1.2-0.3,2.5-0.3c0.6,0,1,0.1,1.4,0.1c0.1,0,0.3,0.1,0.3,0.1c0.1,0.1,0.2,0.1,0.2,0.3 c0,0.1,0.1,0.2,0.1,0.3s0,0.3,0,0.5c0,0.2,0,0.4,0,0.6c0,0.2,0,0.4,0,0.7c0,0.3,0,0.6,0,0.9c0,0.1,0,0.2,0,0.4c0,0.2,0,0.4,0,0.5 c0,0.1,0,0.3,0,0.4s0.1,0.3,0.1,0.4c0.1,0.1,0.1,0.2,0.2,0.3c0.1,0,0.1,0,0.2,0c0.1,0,0.2,0,0.3-0.1c0.1-0.1,0.2-0.2,0.4-0.4 s0.3-0.4,0.5-0.7c0.2-0.3,0.5-0.7,0.7-1.1c0.4-0.7,0.8-1.5,1.1-2.3c0-0.1,0.1-0.1,0.1-0.2c0-0.1,0.1-0.1,0.1-0.1l0,0l0.1,0 c0,0,0,0,0.1,0s0.2,0,0.2,0l3,0c0.3,0,0.5,0,0.7,0S21.9,7,21.9,7L22,7.1z"}))},{name:"yelp",attributes:{service:"yelp"},title:"Yelp",icon:()=>(0,Fe.createElement)(De.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},(0,Fe.createElement)(De.Path,{d:"M12.271,16.718v1.417q-.011,3.257-.067,3.4a.707.707,0,0,1-.569.446,4.637,4.637,0,0,1-2.024-.424A4.609,4.609,0,0,1,7.8,20.565a.844.844,0,0,1-.19-.4.692.692,0,0,1,.044-.29,3.181,3.181,0,0,1,.379-.524q.335-.412,2.019-2.409.011,0,.669-.781a.757.757,0,0,1,.44-.274.965.965,0,0,1,.552.039.945.945,0,0,1,.418.324.732.732,0,0,1,.139.468Zm-1.662-2.8a.783.783,0,0,1-.58.781l-1.339.435q-3.067.981-3.257.981a.711.711,0,0,1-.6-.4,2.636,2.636,0,0,1-.19-.836,9.134,9.134,0,0,1,.011-1.857,3.559,3.559,0,0,1,.335-1.389.659.659,0,0,1,.625-.357,22.629,22.629,0,0,1,2.253.859q.781.324,1.283.524l.937.379a.771.771,0,0,1,.4.34A.982.982,0,0,1,10.609,13.917Zm9.213,3.313a4.467,4.467,0,0,1-1.021,1.8,4.559,4.559,0,0,1-1.512,1.417.671.671,0,0,1-.7-.078q-.156-.112-2.052-3.2l-.524-.859a.761.761,0,0,1-.128-.513.957.957,0,0,1,.217-.513.774.774,0,0,1,.926-.29q.011.011,1.327.446,2.264.736,2.7.887a2.082,2.082,0,0,1,.524.229.673.673,0,0,1,.245.68Zm-7.5-7.049q.056,1.137-.6,1.361-.647.19-1.272-.792L6.237,4.08a.7.7,0,0,1,.212-.691,5.788,5.788,0,0,1,2.314-1,5.928,5.928,0,0,1,2.5-.352.681.681,0,0,1,.547.5q.034.2.245,3.407T12.327,10.181Zm7.384,1.2a.679.679,0,0,1-.29.658q-.167.112-3.67.959-.747.167-1.015.257l.011-.022a.769.769,0,0,1-.513-.044.914.914,0,0,1-.413-.357.786.786,0,0,1,0-.971q.011-.011.836-1.137,1.394-1.908,1.673-2.275a2.423,2.423,0,0,1,.379-.435A.7.7,0,0,1,17.435,8a4.482,4.482,0,0,1,1.372,1.489,4.81,4.81,0,0,1,.9,1.868v.034Z"}))},{name:"youtube",attributes:{service:"youtube"},title:"YouTube",icon:()=>(0,Fe.createElement)(De.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},(0,Fe.createElement)(De.Path,{d:"M21.8,8.001c0,0-0.195-1.378-0.795-1.985c-0.76-0.797-1.613-0.801-2.004-0.847c-2.799-0.202-6.997-0.202-6.997-0.202 h-0.009c0,0-4.198,0-6.997,0.202C4.608,5.216,3.756,5.22,2.995,6.016C2.395,6.623,2.2,8.001,2.2,8.001S2,9.62,2,11.238v1.517 c0,1.618,0.2,3.237,0.2,3.237s0.195,1.378,0.795,1.985c0.761,0.797,1.76,0.771,2.205,0.855c1.6,0.153,6.8,0.201,6.8,0.201 s4.203-0.006,7.001-0.209c0.391-0.047,1.243-0.051,2.004-0.847c0.6-0.607,0.795-1.985,0.795-1.985s0.2-1.618,0.2-3.237v-1.517 C22,9.62,21.8,8.001,21.8,8.001z M9.935,14.594l-0.001-5.62l5.404,2.82L9.935,14.594z"}))}];_h.forEach((e=>{e.isActive||(e.isActive=(e,t)=>e.service===t.service)}));var kh=_h;const wh=e=>{let{url:t,setAttributes:n,setPopover:o,anchorRef:r}=e;return(0,Fe.createElement)(Oe.URLPopover,{anchorRef:null==r?void 0:r.current,onClose:()=>o(!1)},(0,Fe.createElement)("form",{className:"block-editor-url-popover__link-editor",onSubmit:e=>{e.preventDefault(),o(!1)}},(0,Fe.createElement)("div",{className:"block-editor-url-input"},(0,Fe.createElement)(Oe.URLInput,{value:t,onChange:e=>n({url:e}),placeholder:(0,Ue.__)("Enter address"),disableSuggestions:!0})),(0,Fe.createElement)(Ge.Button,{icon:yh,label:(0,Ue.__)("Apply"),type:"submit"})))};const Eh={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:2,name:"core/social-link",title:"Social Icon",category:"widgets",parent:["core/social-links"],description:"Display an icon linking to a social media profile or site.",textdomain:"default",attributes:{url:{type:"string"},service:{type:"string"},label:{type:"string"}},usesContext:["openInNewTab","iconColorValue","iconBackgroundColorValue"],supports:{reusable:!1,html:!1},editorStyle:"wp-block-social-link-editor"},{name:Ch}=Eh,xh={icon:bh,edit:e=>{let{attributes:t,context:n,isSelected:o,setAttributes:r}=e;const{url:a,service:l,label:i}=t,{iconColorValue:s,iconBackgroundColorValue:c}=n,[u,m]=(0,Fe.useState)(!1),d=wt()("wp-social-link","wp-social-link-"+l,{"wp-social-link__is-incomplete":!a}),p=(0,Fe.useRef)(),g=(e=>{const t=(0,nt.find)(kh,{name:e});return t?t.icon:fh})(l),h=(e=>{const t=(0,nt.find)(kh,{name:e});return t?t.title:(0,Ue.__)("Social Icon")})(l),v=(0,Oe.useBlockProps)({className:d,style:{color:s,backgroundColor:c}});return(0,Fe.createElement)(Fe.Fragment,null,(0,Fe.createElement)(Oe.InspectorControls,null,(0,Fe.createElement)(Ge.PanelBody,{title:(0,Ue.sprintf)(
83
  /* translators: %s: name of the social service. */
84
  (0,Ue.__)("%s label"),h),initialOpen:!1},(0,Fe.createElement)(Ge.PanelRow,null,(0,Fe.createElement)(Ge.TextControl,{label:(0,Ue.__)("Link label"),help:(0,Ue.__)("Briefly describe the link to help screen reader users."),value:i,onChange:e=>r({label:e})})))),(0,Fe.createElement)("li",v,(0,Fe.createElement)(Ge.Button,{ref:p,onClick:()=>m(!0)},(0,Fe.createElement)(g,null),o&&u&&(0,Fe.createElement)(wh,{url:a,setAttributes:r,setPopover:m,anchorRef:p}))))},variations:kh},Sh=e=>{var t,n;if(e.layout)return e;const{className:o}=e,r="items-justified-",a=new RegExp(`\\b${r}[^ ]*[ ]?\\b`,"g"),l={...e,className:null==o?void 0:o.replace(a,"").trim()},i=null==o||null===(t=o.match(a))||void 0===t||null===(n=t[0])||void 0===n?void 0:n.trim();return i&&Object.assign(l,{layout:{type:"flex",justifyContent:i.slice(r.length)}}),l};var Bh=[{attributes:{iconColor:{type:"string"},customIconColor:{type:"string"},iconColorValue:{type:"string"},iconBackgroundColor:{type:"string"},customIconBackgroundColor:{type:"string"},iconBackgroundColorValue:{type:"string"},openInNewTab:{type:"boolean",default:!1},size:{type:"string"}},supports:{align:["left","center","right"],anchor:!0,__experimentalExposeControlsToChildren:!0},isEligible:e=>{let{layout:t}=e;return!t},migrate:Sh,save(e){const{attributes:{iconBackgroundColorValue:t,iconColorValue:n,itemsJustification:o,size:r}}=e,a=wt()(r,{"has-icon-color":n,"has-icon-background-color":t,[`items-justified-${o}`]:o});return(0,Fe.createElement)("ul",Oe.useBlockProps.save({className:a}),(0,Fe.createElement)(Oe.InnerBlocks.Content,null))}},{attributes:{iconColor:{type:"string"},customIconColor:{type:"string"},iconColorValue:{type:"string"},iconBackgroundColor:{type:"string"},customIconBackgroundColor:{type:"string"},iconBackgroundColorValue:{type:"string"},openInNewTab:{type:"boolean",default:!1},size:{type:"string"}},providesContext:{openInNewTab:"openInNewTab"},supports:{align:["left","center","right"],anchor:!0},migrate:Sh,save:e=>{const{attributes:{iconBackgroundColorValue:t,iconColorValue:n,itemsJustification:o,size:r}}=e,a=wt()(r,{"has-icon-color":n,"has-icon-background-color":t,[`items-justified-${o}`]:o}),l={"--wp--social-links--icon-color":n,"--wp--social-links--icon-background-color":t};return(0,Fe.createElement)("ul",Oe.useBlockProps.save({className:a,style:l}),(0,Fe.createElement)(Oe.InnerBlocks.Content,null))}}],Th=(0,Fe.createElement)(De.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,Fe.createElement)(De.Path,{d:"M16.7 7.1l-6.3 8.5-3.3-2.5-.9 1.2 4.5 3.4L17.9 8z"}));const Nh=["core/social-link"],Ph=[{name:(0,Ue.__)("Small"),value:"has-small-icon-size"},{name:(0,Ue.__)("Normal"),value:"has-normal-icon-size"},{name:(0,Ue.__)("Large"),value:"has-large-icon-size"},{name:(0,Ue.__)("Huge"),value:"has-huge-icon-size"}];var zh=(0,Oe.withColors)({iconColor:"icon-color",iconBackgroundColor:"icon-background-color"})((function(e){var t;const{name:n,attributes:o,iconBackgroundColor:r,iconColor:a,isSelected:l,setAttributes:i,setIconBackgroundColor:s,setIconColor:c}=e,{iconBackgroundColorValue:u,iconColorValue:m,openInNewTab:d,size:p,layout:g}=o,h=g||(e=>{const t=(0,He.getBlockSupport)(e,"__experimentalLayout");return null==t?void 0:t.default})(n),v=(null===(t=o.className)||void 0===t?void 0:t.indexOf("is-style-logos-only"))>=0;(0,Fe.useEffect)((()=>{v&&i({iconBackgroundColor:void 0,customIconBackgroundColor:void 0,iconBackgroundColorValue:void 0})}),[v,i]);const b=(0,Fe.createElement)("li",{className:"wp-block-social-links__social-placeholder"},(0,Fe.createElement)("div",{className:"wp-social-link"}),(0,Fe.createElement)("div",{className:"wp-block-social-links__social-placeholder-icons"},(0,Fe.createElement)("div",{className:"wp-social-link wp-social-link-twitter"}),(0,Fe.createElement)("div",{className:"wp-social-link wp-social-link-facebook"}),(0,Fe.createElement)("div",{className:"wp-social-link wp-social-link-instagram"}))),y=(0,Fe.createElement)("li",{className:"wp-block-social-links__social-prompt"},(0,Ue.__)("Click plus to add")),f=wt()(p,{"has-icon-color":a.color||m,"has-icon-background-color":r.color||u}),_=(0,Oe.useBlockProps)({className:f}),k=(0,Oe.useInnerBlocksProps)(_,{allowedBlocks:Nh,placeholder:l?y:b,templateLock:!1,__experimentalAppenderTagName:"li",__experimentalLayout:h});return(0,Fe.createElement)(Fe.Fragment,null,(0,Fe.createElement)(Oe.BlockControls,{group:"other"},(0,Fe.createElement)(Ge.ToolbarDropdownMenu,{label:(0,Ue.__)("Size"),text:(0,Ue.__)("Size"),icon:null,popoverProps:{position:"bottom right"}},(e=>{let{onClose:t}=e;return(0,Fe.createElement)(Ge.MenuGroup,null,Ph.map((e=>(0,Fe.createElement)(Ge.MenuItem,{icon:(p===e.value||!p&&"has-normal-icon-size"===e.value)&&Th,isSelected:p===e.value,key:e.value,onClick:()=>{i({size:e.value})},onClose:t,role:"menuitemradio"},e.name))))}))),(0,Fe.createElement)(Oe.InspectorControls,null,(0,Fe.createElement)(Ge.PanelBody,{title:(0,Ue.__)("Link settings")},(0,Fe.createElement)(Ge.ToggleControl,{label:(0,Ue.__)("Open links in new tab"),checked:d,onChange:()=>i({openInNewTab:!d})})),(0,Fe.createElement)(Oe.PanelColorSettings,{__experimentalHasMultipleOrigins:!0,__experimentalIsRenderedInSidebar:!0,title:(0,Ue.__)("Color"),colorSettings:[{value:a.color||m,onChange:e=>{c(e),i({iconColorValue:e})},label:(0,Ue.__)("Icon color")},!v&&{value:r.color||u,onChange:e=>{s(e),i({iconBackgroundColorValue:e})},label:(0,Ue.__)("Icon background")}]}),!v&&(0,Fe.createElement)(Oe.ContrastChecker,{textColor:m,backgroundColor:u,isLargeText:!1})),(0,Fe.createElement)("ul",k))}));const Ih={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:2,name:"core/social-links",title:"Social Icons",category:"widgets",description:"Display icons linking to your social media profiles or sites.",keywords:["links"],textdomain:"default",attributes:{iconColor:{type:"string"},customIconColor:{type:"string"},iconColorValue:{type:"string"},iconBackgroundColor:{type:"string"},customIconBackgroundColor:{type:"string"},iconBackgroundColorValue:{type:"string"},openInNewTab:{type:"boolean",default:!1},size:{type:"string"}},providesContext:{openInNewTab:"openInNewTab",iconColorValue:"iconColorValue",iconBackgroundColorValue:"iconBackgroundColorValue"},supports:{align:["left","center","right"],anchor:!0,__experimentalExposeControlsToChildren:!0,__experimentalLayout:{allowSwitching:!1,allowInheriting:!1,default:{type:"flex"}},spacing:{blockGap:!0,margin:["top","bottom"],units:["px","em","rem","vh","vw"],__experimentalDefaultControls:{blockGap:!0}}},styles:[{name:"default",label:"Default",isDefault:!0},{name:"logos-only",label:"Logos Only"},{name:"pill-shape",label:"Pill Shape"}],editorStyle:"wp-block-social-links-editor",style:"wp-block-social-links"},{name:Mh}=Ih,Lh={example:{innerBlocks:[{name:"core/social-link",attributes:{service:"wordpress",url:"https://wordpress.org"}},{name:"core/social-link",attributes:{service:"facebook",url:"https://www.facebook.com/WordPress/"}},{name:"core/social-link",attributes:{service:"twitter",url:"https://twitter.com/WordPress"}}]},icon:bh,edit:zh,save:function(e){const{attributes:{iconBackgroundColorValue:t,iconColorValue:n,size:o}}=e,r=wt()(o,{"has-icon-color":n,"has-icon-background-color":t}),a=Oe.useBlockProps.save({className:r}),l=Oe.useInnerBlocksProps.save(a);return(0,Fe.createElement)("ul",l)},deprecated:Bh};var Rh=(0,Fe.createElement)(De.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,Fe.createElement)(De.Path,{d:"M12.5 4.2v1.6h4.7L5.8 17.2V12H4.2v7.8H12v-1.6H6.8L18.2 6.8v4.7h1.6V4.2z"})),Vh=[{attributes:{height:{type:"number",default:100},width:{type:"number"}},migrate(e){const{height:t,width:n}=e;return{...e,width:void 0!==n?`${n}px`:void 0,height:void 0!==t?`${t}px`:void 0}},save(e){let{attributes:t}=e;return(0,Fe.createElement)("div",Oe.useBlockProps.save({style:{height:t.height,width:t.width},"aria-hidden":!0}))}}];function Ah(e){let{label:t,onChange:n,isResizing:o,value:r=""}=e;const[a,l]=(0,Fe.useState)(null),i=(0,Et.useInstanceId)(Ge.__experimentalUnitControl,"block-spacer-height-input"),s=(0,Oe.useSetting)("spacing.units").filter((e=>"%"!==e)),c=(0,Ge.__experimentalUseCustomUnits)({availableUnits:s||["px","em","rem","vw","vh"],defaultValues:{px:"100",em:"10",rem:"10",vw:"10",vh:"25"}}),u=null!==a?a:r;return(0,Fe.createElement)(Ge.BaseControl,{label:t,id:i},(0,Fe.createElement)(Ge.__experimentalUnitControl,{id:i,isResetValueOnUnitChange:!0,min:0,max:Fh,onBlur:()=>{null!==a&&l(null)},onChange:e=>{l(null),n(e)},style:{maxWidth:80},value:u,units:c,unit:o?"px":void 0}))}function Hh(e){let{setAttributes:t,orientation:n,height:o,width:r,isResizing:a}=e;return(0,Fe.createElement)(Oe.InspectorControls,null,(0,Fe.createElement)(Ge.PanelBody,{title:(0,Ue.__)("Spacer settings")},"horizontal"===n&&(0,Fe.createElement)(Ah,{label:(0,Ue.__)("Width"),value:r,onChange:e=>t({width:e}),isResizing:a}),"horizontal"!==n&&(0,Fe.createElement)(Ah,{label:(0,Ue.__)("Height"),value:o,onChange:e=>t({height:e}),isResizing:a})))}const Fh=500,Dh=e=>{let{orientation:t,onResizeStart:n,onResize:o,onResizeStop:r,isSelected:a,isResizing:l,setIsResizing:i,...s}=e;const c=e=>"horizontal"===t?e.clientWidth:e.clientHeight,u=e=>`${c(e)}px`;return(0,Fe.createElement)(Ge.ResizableBox,It({className:wt()("block-library-spacer__resize-container",{"resize-horizontal":"horizontal"===t,"is-resizing":l,"is-selected":a}),onResizeStart:(e,t,r)=>{const a=u(r);n(a),o(a)},onResize:(e,t,n)=>{o(u(n)),l||i(!0)},onResizeStop:(e,t,n)=>{const o=Math.min(Fh,c(n));r(`${o}px`),i(!1)},__experimentalShowTooltip:!0,__experimentalTooltipProps:{axis:"horizontal"===t?"x":"y",position:"corner",isVisible:l},showHandle:a},s))};var $h=(0,Et.compose)([(0,Xe.withDispatch)((e=>{const{toggleSelection:t}=e(Oe.store);return{onResizeStart:()=>t(!1),onResizeStop:()=>t(!0)}})),Et.withInstanceId])((e=>{let{attributes:t,isSelected:n,setAttributes:o,onResizeStart:r,onResizeStop:a,context:l}=e;const{orientation:i}=l,{height:s,width:c}=t,[u,m]=(0,Fe.useState)(!1),[d,p]=(0,Fe.useState)(null),[g,h]=(0,Fe.useState)(null),v={height:"horizontal"===i?24:d||s||void 0,width:"horizontal"===i&&(g||c)||void 0};return(0,Fe.useEffect)((()=>{"horizontal"!==i||c||o({height:"0px",width:"72px"})}),[]),(0,Fe.createElement)(Fe.Fragment,null,(0,Fe.createElement)(De.View,(0,Oe.useBlockProps)({style:v}),"horizontal"===(b=i)?(0,Fe.createElement)(Dh,{minWidth:1,enable:{top:!1,right:!0,bottom:!1,left:!1,topRight:!1,bottomRight:!1,bottomLeft:!1,topLeft:!1},orientation:b,onResizeStart:r,onResize:h,onResizeStop:e=>{a(),o({width:e}),h(null)},isSelected:n,isResizing:u,setIsResizing:m}):(0,Fe.createElement)(Fe.Fragment,null,(0,Fe.createElement)(Dh,{enable:{top:!1,right:!1,bottom:!0,left:!1,topRight:!1,bottomRight:!1,bottomLeft:!1,topLeft:!1},orientation:b,onResizeStart:r,onResize:p,onResizeStop:e=>{a(),o({height:e}),p(null)},isSelected:n,isResizing:u,setIsResizing:m}))),(0,Fe.createElement)(Hh,{setAttributes:o,height:d||s,width:g||c,orientation:i,isResizing:u}));var b}));const Gh={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:2,name:"core/spacer",title:"Spacer",category:"design",description:"Add white space between blocks and customize its height.",textdomain:"default",attributes:{height:{type:"string",default:"100px"},width:{type:"string"}},usesContext:["orientation"],supports:{anchor:!0},editorStyle:"wp-block-spacer-editor",style:"wp-block-spacer"},{name:Uh}=Gh,Oh={icon:Rh,edit:$h,save:function(e){let{attributes:{height:t,width:n}}=e;return(0,Fe.createElement)("div",Oe.useBlockProps.save({style:{height:t,width:n},"aria-hidden":!0}))},deprecated:Vh};var qh=(0,Fe.createElement)(De.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,Fe.createElement)(De.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM5 4.5h14c.3 0 .5.2.5.5v3.5h-15V5c0-.3.2-.5.5-.5zm8 5.5h6.5v3.5H13V10zm-1.5 3.5h-7V10h7v3.5zm-7 5.5v-4h7v4.5H5c-.3 0-.5-.2-.5-.5zm14.5.5h-6V15h6.5v4c0 .3-.2.5-.5.5z"}));const Wh={"subtle-light-gray":"#f3f4f5","subtle-pale-green":"#e9fbe5","subtle-pale-blue":"#e7f5fe","subtle-pale-pink":"#fcf0ef"};var jh=[{attributes:{hasFixedLayout:{type:"boolean",default:!1},backgroundColor:{type:"string"},caption:{type:"string",source:"html",selector:"figcaption",default:""},head:{type:"array",default:[],source:"query",selector:"thead tr",query:{cells:{type:"array",default:[],source:"query",selector:"td,th",query:{content:{type:"string",source:"html"},tag:{type:"string",default:"td",source:"tag"},scope:{type:"string",source:"attribute",attribute:"scope"},align:{type:"string",source:"attribute",attribute:"data-align"}}}}},body:{type:"array",default:[],source:"query",selector:"tbody tr",query:{cells:{type:"array",default:[],source:"query",selector:"td,th",query:{content:{type:"string",source:"html"},tag:{type:"string",default:"td",source:"tag"},scope:{type:"string",source:"attribute",attribute:"scope"},align:{type:"string",source:"attribute",attribute:"data-align"}}}}},foot:{type:"array",default:[],source:"query",selector:"tfoot tr",query:{cells:{type:"array",default:[],source:"query",selector:"td,th",query:{content:{type:"string",source:"html"},tag:{type:"string",default:"td",source:"tag"},scope:{type:"string",source:"attribute",attribute:"scope"},align:{type:"string",source:"attribute",attribute:"data-align"}}}}}},supports:{anchor:!0,align:!0,__experimentalSelector:".wp-block-table > table"},save:e=>{let{attributes:t}=e;const{hasFixedLayout:n,head:o,body:r,foot:a,backgroundColor:l,caption:i}=t;if(!o.length&&!r.length&&!a.length)return null;const s=(0,Oe.getColorClassName)("background-color",l),c=wt()(s,{"has-fixed-layout":n,"has-background":!!s}),u=!Oe.RichText.isEmpty(i),m=e=>{let{type:t,rows:n}=e;if(!n.length)return null;const o=`t${t}`;return(0,Fe.createElement)(o,null,n.map(((e,t)=>{let{cells:n}=e;return(0,Fe.createElement)("tr",{key:t},n.map(((e,t)=>{let{content:n,tag:o,scope:r,align:a}=e;const l=wt()({[`has-text-align-${a}`]:a});return(0,Fe.createElement)(Oe.RichText.Content,{className:l||void 0,"data-align":a,tagName:o,value:n,key:t,scope:"th"===o?r:void 0})})))})))};return(0,Fe.createElement)("figure",Oe.useBlockProps.save(),(0,Fe.createElement)("table",{className:""===c?void 0:c},(0,Fe.createElement)(m,{type:"head",rows:o}),(0,Fe.createElement)(m,{type:"body",rows:r}),(0,Fe.createElement)(m,{type:"foot",rows:a})),u&&(0,Fe.createElement)(Oe.RichText.Content,{tagName:"figcaption",value:i}))},isEligible:e=>e.backgroundColor&&!e.style,migrate:e=>({...e,backgroundColor:void 0,style:{color:{background:Wh[e.backgroundColor]}}})},{attributes:{hasFixedLayout:{type:"boolean",default:!1},backgroundColor:{type:"string"},head:{type:"array",default:[],source:"query",selector:"thead tr",query:{cells:{type:"array",default:[],source:"query",selector:"td,th",query:{content:{type:"string",source:"html"},tag:{type:"string",default:"td",source:"tag"},scope:{type:"string",source:"attribute",attribute:"scope"}}}}},body:{type:"array",default:[],source:"query",selector:"tbody tr",query:{cells:{type:"array",default:[],source:"query",selector:"td,th",query:{content:{type:"string",source:"html"},tag:{type:"string",default:"td",source:"tag"},scope:{type:"string",source:"attribute",attribute:"scope"}}}}},foot:{type:"array",default:[],source:"query",selector:"tfoot tr",query:{cells:{type:"array",default:[],source:"query",selector:"td,th",query:{content:{type:"string",source:"html"},tag:{type:"string",default:"td",source:"tag"},scope:{type:"string",source:"attribute",attribute:"scope"}}}}}},supports:{align:!0},save(e){let{attributes:t}=e;const{hasFixedLayout:n,head:o,body:r,foot:a,backgroundColor:l}=t;if(!o.length&&!r.length&&!a.length)return null;const i=(0,Oe.getColorClassName)("background-color",l),s=wt()(i,{"has-fixed-layout":n,"has-background":!!i}),c=e=>{let{type:t,rows:n}=e;if(!n.length)return null;const o=`t${t}`;return(0,Fe.createElement)(o,null,n.map(((e,t)=>{let{cells:n}=e;return(0,Fe.createElement)("tr",{key:t},n.map(((e,t)=>{let{content:n,tag:o,scope:r}=e;return(0,Fe.createElement)(Oe.RichText.Content,{tagName:o,value:n,key:t,scope:"th"===o?r:void 0})})))})))};return(0,Fe.createElement)("table",{className:s},(0,Fe.createElement)(c,{type:"head",rows:o}),(0,Fe.createElement)(c,{type:"body",rows:r}),(0,Fe.createElement)(c,{type:"foot",rows:a}))}}],Zh=(0,Fe.createElement)(De.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,Fe.createElement)(De.Path,{d:"M4 19.8h8.9v-1.5H4v1.5zm8.9-15.6H4v1.5h8.9V4.2zm-8.9 7v1.5h16v-1.5H4z"})),Qh=(0,Fe.createElement)(De.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,Fe.createElement)(De.Path,{d:"M16.4 4.2H7.6v1.5h8.9V4.2zM4 11.2v1.5h16v-1.5H4zm3.6 8.6h8.9v-1.5H7.6v1.5z"})),Kh=(0,Fe.createElement)(De.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,Fe.createElement)(De.Path,{d:"M11.1 19.8H20v-1.5h-8.9v1.5zm0-15.6v1.5H20V4.2h-8.9zM4 12.8h16v-1.5H4v1.5z"})),Jh=(0,Fe.createElement)(De.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},(0,Fe.createElement)(De.Path,{d:"M6.656 6.464h2.88v2.88h1.408v-2.88h2.88V5.12h-2.88V2.24H9.536v2.88h-2.88zM0 17.92V0h20.48v17.92H0zm7.68-2.56h5.12v-3.84H7.68v3.84zm-6.4 0H6.4v-3.84H1.28v3.84zM19.2 1.28H1.28v9.024H19.2V1.28zm0 10.24h-5.12v3.84h5.12v-3.84zM6.656 6.464h2.88v2.88h1.408v-2.88h2.88V5.12h-2.88V2.24H9.536v2.88h-2.88zM0 17.92V0h20.48v17.92H0zm7.68-2.56h5.12v-3.84H7.68v3.84zm-6.4 0H6.4v-3.84H1.28v3.84zM19.2 1.28H1.28v9.024H19.2V1.28zm0 10.24h-5.12v3.84h5.12v-3.84z"})),Yh=(0,Fe.createElement)(De.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},(0,Fe.createElement)(De.Path,{d:"M13.824 10.176h-2.88v-2.88H9.536v2.88h-2.88v1.344h2.88v2.88h1.408v-2.88h2.88zM0 17.92V0h20.48v17.92H0zM6.4 1.28H1.28v3.84H6.4V1.28zm6.4 0H7.68v3.84h5.12V1.28zm6.4 0h-5.12v3.84h5.12V1.28zm0 5.056H1.28v9.024H19.2V6.336z"})),Xh=(0,Fe.createElement)(De.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},(0,Fe.createElement)(De.Path,{d:"M17.728 11.456L14.592 8.32l3.2-3.2-1.536-1.536-3.2 3.2L9.92 3.648 8.384 5.12l3.2 3.2-3.264 3.264 1.536 1.536 3.264-3.264 3.136 3.136 1.472-1.536zM0 17.92V0h20.48v17.92H0zm19.2-6.4h-.448l-1.28-1.28H19.2V6.4h-1.792l1.28-1.28h.512V1.28H1.28v3.84h6.208l1.28 1.28H1.28v3.84h7.424l-1.28 1.28H1.28v3.84H19.2v-3.84z"})),ev=(0,Fe.createElement)(De.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},(0,Fe.createElement)(De.Path,{d:"M6.4 3.776v3.648H2.752v1.792H6.4v3.648h1.728V9.216h3.712V7.424H8.128V3.776zM0 17.92V0h20.48v17.92H0zM12.8 1.28H1.28v14.08H12.8V1.28zm6.4 0h-5.12v3.84h5.12V1.28zm0 5.12h-5.12v3.84h5.12V6.4zm0 5.12h-5.12v3.84h5.12v-3.84z"})),tv=(0,Fe.createElement)(De.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},(0,Fe.createElement)(De.Path,{d:"M14.08 12.864V9.216h3.648V7.424H14.08V3.776h-1.728v3.648H8.64v1.792h3.712v3.648zM0 17.92V0h20.48v17.92H0zM6.4 1.28H1.28v3.84H6.4V1.28zm0 5.12H1.28v3.84H6.4V6.4zm0 5.12H1.28v3.84H6.4v-3.84zM19.2 1.28H7.68v14.08H19.2V1.28z"})),nv=(0,Fe.createElement)(De.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},(0,Fe.createElement)(De.Path,{d:"M6.4 9.98L7.68 8.7v-.256L6.4 7.164V9.98zm6.4-1.532l1.28-1.28V9.92L12.8 8.64v-.192zm7.68 9.472V0H0v17.92h20.48zm-1.28-2.56h-5.12v-1.024l-.256.256-1.024-1.024v1.792H7.68v-1.792l-1.024 1.024-.256-.256v1.024H1.28V1.28H6.4v2.368l.704-.704.576.576V1.216h5.12V3.52l.96-.96.32.32V1.216h5.12V15.36zm-5.76-2.112l-3.136-3.136-3.264 3.264-1.536-1.536 3.264-3.264L5.632 5.44l1.536-1.536 3.136 3.136 3.2-3.2 1.536 1.536-3.2 3.2 3.136 3.136-1.536 1.536z"})),ov=(0,Fe.createElement)(De.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,Fe.createElement)(De.Path,{d:"M4 6v11.5h16V6H4zm1.5 1.5h6V11h-6V7.5zm0 8.5v-3.5h6V16h-6zm13 0H13v-3.5h5.5V16zM13 11V7.5h5.5V11H13z"}));const rv=["align"];function av(e,t,n){if(!t)return e;const o=(0,nt.pick)(e,["head","body","foot"]),{sectionName:r,rowIndex:a}=t;return(0,nt.mapValues)(o,((e,o)=>r&&r!==o?e:e.map(((e,r)=>a&&a!==r?e:{cells:e.cells.map(((e,a)=>function(e,t){if(!e||!t)return!1;switch(t.type){case"column":return"column"===t.type&&e.columnIndex===t.columnIndex;case"cell":return"cell"===t.type&&e.sectionName===t.sectionName&&e.columnIndex===t.columnIndex&&e.rowIndex===t.rowIndex}}({sectionName:o,columnIndex:a,rowIndex:r},t)?n(e):e))}))))}function lv(e,t){let{sectionName:n,rowIndex:o,columnCount:r}=t;const a=function(e){return cv(e.head)?cv(e.body)?cv(e.foot)?void 0:e.foot[0]:e.body[0]:e.head[0]}(e),l=void 0===r?(0,nt.get)(a,["cells","length"]):r;return l?{[n]:[...e[n].slice(0,o),{cells:(0,nt.times)(l,(e=>{const t=(0,nt.get)(a,["cells",e],{});return{...(0,nt.pick)(t,rv),content:"",tag:"head"===n?"th":"td"}}))},...e[n].slice(o)]}:e}function iv(e,t){let{columnIndex:n}=t;const o=(0,nt.pick)(e,["head","body","foot"]);return(0,nt.mapValues)(o,((e,t)=>cv(e)?e:e.map((e=>uv(e)||e.cells.length<n?e:{cells:[...e.cells.slice(0,n),{content:"",tag:"head"===t?"th":"td"},...e.cells.slice(n)]}))))}function sv(e,t){return cv(e[t])?lv(e,{sectionName:t,rowIndex:0,columnCount:(0,nt.get)(e,["body",0,"cells","length"],1)}):{[t]:[]}}function cv(e){return!e||!e.length||(0,nt.every)(e,uv)}function uv(e){return!(e.cells&&e.cells.length)}const mv=[{icon:Zh,title:(0,Ue.__)("Align column left"),align:"left"},{icon:Qh,title:(0,Ue.__)("Align column center"),align:"center"},{icon:Kh,title:(0,Ue.__)("Align column right"),align:"right"}],dv={head:(0,Ue.__)("Header cell text"),body:(0,Ue.__)("Body cell text"),foot:(0,Ue.__)("Footer cell text")},pv={head:(0,Ue.__)("Header label"),foot:(0,Ue.__)("Footer label")};function gv(e){let{name:t,...n}=e;const o=`t${t}`;return(0,Fe.createElement)(o,n)}const hv=e=>{let{phrasingContentSchema:t}=e;return{tr:{allowEmpty:!0,children:{th:{allowEmpty:!0,children:t,attributes:["scope"]},td:{allowEmpty:!0,children:t}}}}};var vv={from:[{type:"raw",selector:"table",schema:e=>({table:{children:{thead:{allowEmpty:!0,children:hv(e)},tfoot:{allowEmpty:!0,children:hv(e)},tbody:{allowEmpty:!0,children:hv(e)}}}})}]};const bv={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:2,name:"core/table",title:"Table",category:"text",description:"Create structured content in rows and columns to display information.",textdomain:"default",attributes:{hasFixedLayout:{type:"boolean",default:!1},caption:{type:"string",source:"html",selector:"figcaption",default:""},head:{type:"array",default:[],source:"query",selector:"thead tr",query:{cells:{type:"array",default:[],source:"query",selector:"td,th",query:{content:{type:"string",source:"html"},tag:{type:"string",default:"td",source:"tag"},scope:{type:"string",source:"attribute",attribute:"scope"},align:{type:"string",source:"attribute",attribute:"data-align"}}}}},body:{type:"array",default:[],source:"query",selector:"tbody tr",query:{cells:{type:"array",default:[],source:"query",selector:"td,th",query:{content:{type:"string",source:"html"},tag:{type:"string",default:"td",source:"tag"},scope:{type:"string",source:"attribute",attribute:"scope"},align:{type:"string",source:"attribute",attribute:"data-align"}}}}},foot:{type:"array",default:[],source:"query",selector:"tfoot tr",query:{cells:{type:"array",default:[],source:"query",selector:"td,th",query:{content:{type:"string",source:"html"},tag:{type:"string",default:"td",source:"tag"},scope:{type:"string",source:"attribute",attribute:"scope"},align:{type:"string",source:"attribute",attribute:"data-align"}}}}}},supports:{anchor:!0,align:!0,color:{__experimentalSkipSerialization:!0,gradients:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontStyle:!0,__experimentalFontWeight:!0,__experimentalLetterSpacing:!0,__experimentalTextTransform:!0,__experimentalDefaultControls:{fontSize:!0}},__experimentalBorder:{__experimentalSkipSerialization:!0,color:!0,style:!0,width:!0,__experimentalDefaultControls:{color:!0,style:!0,width:!0}},__experimentalSelector:".wp-block-table > table"},styles:[{name:"regular",label:"Default",isDefault:!0},{name:"stripes",label:"Stripes"}],editorStyle:"wp-block-table-editor",style:"wp-block-table"},{name:yv}=bv,fv={icon:qh,example:{attributes:{head:[{cells:[{content:(0,Ue.__)("Version"),tag:"th"},{content:(0,Ue.__)("Jazz Musician"),tag:"th"},{content:(0,Ue.__)("Release Date"),tag:"th"}]}],body:[{cells:[{content:"5.2",tag:"td"},{content:"Jaco Pastorius",tag:"td"},{content:(0,Ue.__)("May 7, 2019"),tag:"td"}]},{cells:[{content:"5.1",tag:"td"},{content:"Betty Carter",tag:"td"},{content:(0,Ue.__)("February 21, 2019"),tag:"td"}]},{cells:[{content:"5.0",tag:"td"},{content:"Bebo Valdés",tag:"td"},{content:(0,Ue.__)("December 6, 2018"),tag:"td"}]}]}},transforms:vv,edit:function(e){let{attributes:t,setAttributes:n,insertBlocksAfter:o,isSelected:r}=e;const{hasFixedLayout:a,caption:l,head:i,foot:s}=t,[c,u]=(0,Fe.useState)(2),[m,d]=(0,Fe.useState)(2),[p,g]=(0,Fe.useState)(),h=(0,Oe.__experimentalUseColorProps)(t),v=(0,Oe.__experimentalUseBorderProps)(t);function b(e){p&&n(av(t,p,(t=>({...t,content:e}))))}function y(e){if(!p)return;const{sectionName:o,rowIndex:r}=p,a=r+e;n(lv(t,{sectionName:o,rowIndex:a})),g({sectionName:o,rowIndex:a,columnIndex:0,type:"cell"})}function f(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;if(!p)return;const{columnIndex:o}=p,r=o+e;n(iv(t,{columnIndex:r})),g({rowIndex:0,columnIndex:r,type:"cell"})}(0,Fe.useEffect)((()=>{r||g()}),[r]);const _=["head","body","foot"].filter((e=>!cv(t[e]))),k=[{icon:Jh,title:(0,Ue.__)("Insert row before"),isDisabled:!p,onClick:function(){y(0)}},{icon:Yh,title:(0,Ue.__)("Insert row after"),isDisabled:!p,onClick:function(){y(1)}},{icon:Xh,title:(0,Ue.__)("Delete row"),isDisabled:!p,onClick:function(){if(!p)return;const{sectionName:e,rowIndex:o}=p;g(),n(function(e,t){let{sectionName:n,rowIndex:o}=t;return{[n]:e[n].filter(((e,t)=>t!==o))}}(t,{sectionName:e,rowIndex:o}))}},{icon:ev,title:(0,Ue.__)("Insert column before"),isDisabled:!p,onClick:function(){f(0)}},{icon:tv,title:(0,Ue.__)("Insert column after"),isDisabled:!p,onClick:function(){f(1)}},{icon:nv,title:(0,Ue.__)("Delete column"),isDisabled:!p,onClick:function(){if(!p)return;const{sectionName:e,columnIndex:o}=p;g(),n(function(e,t){let{columnIndex:n}=t;const o=(0,nt.pick)(e,["head","body","foot"]);return(0,nt.mapValues)(o,(e=>cv(e)?e:e.map((e=>({cells:e.cells.length>=n?e.cells.filter(((e,t)=>t!==n)):e.cells}))).filter((e=>e.cells.length))))}(t,{sectionName:e,columnIndex:o}))}}],w=["head","body","foot"].map((e=>(0,Fe.createElement)(gv,{name:e,key:e},t[e].map(((t,n)=>{let{cells:o}=t;return(0,Fe.createElement)("tr",{key:n},o.map(((t,o)=>{let{content:r,tag:a,scope:l,align:i}=t;return(0,Fe.createElement)(Oe.RichText,{tagName:a,key:o,className:wt()({[`has-text-align-${i}`]:i},"wp-block-table__cell-content"),scope:"th"===a?l:void 0,value:r,onChange:b,unstableOnFocus:()=>{g({sectionName:e,rowIndex:n,columnIndex:o,type:"cell"})},"aria-label":dv[e],placeholder:pv[e]})})))}))))),E=!_.length;return(0,Fe.createElement)("figure",(0,Oe.useBlockProps)(),!E&&(0,Fe.createElement)(Fe.Fragment,null,(0,Fe.createElement)(Oe.BlockControls,{group:"block"},(0,Fe.createElement)(Oe.AlignmentControl,{label:(0,Ue.__)("Change column alignment"),alignmentControls:mv,value:function(){if(p)return function(e,t,n){const{sectionName:o,rowIndex:r,columnIndex:a}=t;return(0,nt.get)(e,[o,r,"cells",a,"align"])}(t,p)}(),onChange:e=>function(e){if(!p)return;const o={type:"column",columnIndex:p.columnIndex},r=av(t,o,(t=>({...t,align:e})));n(r)}(e)})),(0,Fe.createElement)(Oe.BlockControls,{group:"other"},(0,Fe.createElement)(Ge.ToolbarDropdownMenu,{hasArrowIndicator:!0,icon:ov,label:(0,Ue.__)("Edit table"),controls:k}))),!E&&(0,Fe.createElement)(Oe.InspectorControls,null,(0,Fe.createElement)(Ge.PanelBody,{title:(0,Ue.__)("Table settings"),className:"blocks-table-settings"},(0,Fe.createElement)(Ge.ToggleControl,{label:(0,Ue.__)("Fixed width table cells"),checked:!!a,onChange:function(){n({hasFixedLayout:!a})}}),(0,Fe.createElement)(Ge.ToggleControl,{label:(0,Ue.__)("Header section"),checked:!(!i||!i.length),onChange:function(){n(sv(t,"head"))}}),(0,Fe.createElement)(Ge.ToggleControl,{label:(0,Ue.__)("Footer section"),checked:!(!s||!s.length),onChange:function(){n(sv(t,"foot"))}}))),!E&&(0,Fe.createElement)("table",{className:wt()(h.className,v.className,{"has-fixed-layout":a}),style:{...h.style,...v.style}},w),!E&&(0,Fe.createElement)(Oe.RichText,{tagName:"figcaption","aria-label":(0,Ue.__)("Table caption text"),placeholder:(0,Ue.__)("Add caption"),value:l,onChange:e=>n({caption:e}),unstableOnFocus:()=>g(),__unstableOnSplitAtEnd:()=>o((0,He.createBlock)("core/paragraph"))}),E&&(0,Fe.createElement)(Ge.Placeholder,{label:(0,Ue.__)("Table"),icon:(0,Fe.createElement)(Oe.BlockIcon,{icon:qh,showColors:!0}),instructions:(0,Ue.__)("Insert a table for sharing data.")},(0,Fe.createElement)("form",{className:"blocks-table__placeholder-form",onSubmit:function(e){e.preventDefault(),n(function(e){let{rowCount:t,columnCount:n}=e;return{body:(0,nt.times)(t,(()=>({cells:(0,nt.times)(n,(()=>({content:"",tag:"td"})))})))}}({rowCount:parseInt(c,10)||2,columnCount:parseInt(m,10)||2}))}},(0,Fe.createElement)(Ge.TextControl,{type:"number",label:(0,Ue.__)("Column count"),value:m,onChange:function(e){d(e)},min:"1",className:"blocks-table__placeholder-input"}),(0,Fe.createElement)(Ge.TextControl,{type:"number",label:(0,Ue.__)("Row count"),value:c,onChange:function(e){u(e)},min:"1",className:"blocks-table__placeholder-input"}),(0,Fe.createElement)(Ge.Button,{className:"blocks-table__placeholder-button",variant:"primary",type:"submit"},(0,Ue.__)("Create Table")))))},save:function(e){let{attributes:t}=e;const{hasFixedLayout:n,head:o,body:r,foot:a,caption:l}=t;if(!o.length&&!r.length&&!a.length)return null;const i=(0,Oe.__experimentalGetColorClassesAndStyles)(t),s=(0,Oe.__experimentalGetBorderClassesAndStyles)(t),c=wt()(i.className,s.className,{"has-fixed-layout":n}),u=!Oe.RichText.isEmpty(l),m=e=>{let{type:t,rows:n}=e;if(!n.length)return null;const o=`t${t}`;return(0,Fe.createElement)(o,null,n.map(((e,t)=>{let{cells:n}=e;return(0,Fe.createElement)("tr",{key:t},n.map(((e,t)=>{let{content:n,tag:o,scope:r,align:a}=e;const l=wt()({[`has-text-align-${a}`]:a});return(0,Fe.createElement)(Oe.RichText.Content,{className:l||void 0,"data-align":a,tagName:o,value:n,key:t,scope:"th"===o?r:void 0})})))})))};return(0,Fe.createElement)("figure",Oe.useBlockProps.save(),(0,Fe.createElement)("table",{className:""===c?void 0:c,style:{...i.style,...s.style}},(0,Fe.createElement)(m,{type:"head",rows:o}),(0,Fe.createElement)(m,{type:"body",rows:r}),(0,Fe.createElement)(m,{type:"foot",rows:a})),u&&(0,Fe.createElement)(Oe.RichText.Content,{tagName:"figcaption",value:l}))},deprecated:jh};var _v=(0,Xe.withSelect)((e=>({taxonomies:e(en.store).getTaxonomies({per_page:-1})})))((function(e){let{attributes:t,setAttributes:n,taxonomies:o}=e;const{taxonomy:r,showTagCounts:a,numberOfTags:l}=t,i=(0,Fe.createElement)(Oe.InspectorControls,null,(0,Fe.createElement)(Ge.PanelBody,{title:(0,Ue.__)("Tag Cloud settings")},(0,Fe.createElement)(Ge.SelectControl,{label:(0,Ue.__)("Taxonomy"),options:[{label:(0,Ue.__)("- Select -"),value:"",disabled:!0},...(0,nt.map)((0,nt.filter)(o,"show_cloud"),(e=>({value:e.slug,label:e.name})))],value:r,onChange:e=>n({taxonomy:e})}),(0,Fe.createElement)(Ge.ToggleControl,{label:(0,Ue.__)("Show post counts"),checked:a,onChange:()=>n({showTagCounts:!a})}),(0,Fe.createElement)(Ge.RangeControl,{label:(0,Ue.__)("Number of tags"),value:l,onChange:e=>n({numberOfTags:e}),min:1,max:100,required:!0})));return(0,Fe.createElement)(Fe.Fragment,null,i,(0,Fe.createElement)("div",(0,Oe.useBlockProps)(),(0,Fe.createElement)(We(),{key:"tag-cloud",block:"core/tag-cloud",attributes:t})))}));const kv={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:2,name:"core/tag-cloud",title:"Tag Cloud",category:"widgets",description:"A cloud of your most used tags.",textdomain:"default",attributes:{numberOfTags:{type:"number",default:45,minimum:1,maximum:100},taxonomy:{type:"string",default:"post_tag"},showTagCounts:{type:"boolean",default:!1}},supports:{html:!1,align:!0},editorStyle:"wp-block-tag-cloud-editor"},{name:wv}=kv,Ev={icon:Mu,example:{},edit:_v};function Cv(e){return(0,Ue.sprintf)(// Translators: %s for the area the template part is assigned to (Header, Footer, General, etc.)
build/components/index.js CHANGED
@@ -49638,7 +49638,7 @@ function ColorPalette(_ref6) {
49638
  __experimentalIsRenderedInSidebar = false
49639
  } = _ref6;
49640
  const clearColor = (0,external_wp_element_namespaceObject.useCallback)(() => onChange(undefined), [onChange]);
49641
- const Component = __experimentalHasMultipleOrigins ? MultiplePalettes : SinglePalette;
49642
 
49643
  const renderCustomColorPicker = () => (0,external_wp_element_namespaceObject.createElement)(LegacyAdapter, {
49644
  color: value,
49638
  __experimentalIsRenderedInSidebar = false
49639
  } = _ref6;
49640
  const clearColor = (0,external_wp_element_namespaceObject.useCallback)(() => onChange(undefined), [onChange]);
49641
+ const Component = __experimentalHasMultipleOrigins && colors !== null && colors !== void 0 && colors.length ? MultiplePalettes : SinglePalette;
49642
 
49643
  const renderCustomColorPicker = () => (0,external_wp_element_namespaceObject.createElement)(LegacyAdapter, {
49644
  color: value,
build/components/index.min.asset.php CHANGED
@@ -1 +1 @@
1
- <?php return array('dependencies' => array('lodash', 'moment', 'react', 'react-dom', 'wp-a11y', 'wp-compose', 'wp-date', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-is-shallow-equal', 'wp-keycodes', 'wp-polyfill', 'wp-primitives', 'wp-rich-text', 'wp-warning'), 'version' => '2040091b4abc844c8179af77d2482f44');
1
+ <?php return array('dependencies' => array('lodash', 'moment', 'react', 'react-dom', 'wp-a11y', 'wp-compose', 'wp-date', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-is-shallow-equal', 'wp-keycodes', 'wp-polyfill', 'wp-primitives', 'wp-rich-text', 'wp-warning'), 'version' => '4f0178812f0c6dd3fe9ba54017edb1a3');
build/components/index.min.js CHANGED
@@ -3,7 +3,7 @@
3
  (0,d._n)("%d result found, use up and down arrow keys to navigate.","%d results found, use up and down arrow keys to navigate.",e.length),e.length),"assertive"):a((0,d.__)("No results."),"assertive"))}(e)},onSelect:S,value:t,contentRef:i,reset:C})}}function im(e){const t=(0,s.useRef)(),n=(0,s.useRef)(),{popover:r,listBoxId:o,activeId:i,onKeyDown:a}=om({...e,contentRef:t});return n.current=a,{ref:(0,f.useMergeRefs)([t,(0,f.useRefEffect)((e=>{function t(e){n.current(e)}return e.addEventListener("keydown",t),()=>{e.removeEventListener("keydown",t)}}),[])]),children:r,"aria-autocomplete":o?"list":void 0,"aria-owns":o,"aria-activedescendant":i}}function am(e){let{children:t,isSelected:n,...r}=e;const{popover:o,...i}=om(r);return(0,s.createElement)(s.Fragment,null,t(i),n&&o)}var sm={"default.fontFamily":"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif","default.fontSize":"13px","helpText.fontSize":"12px",mobileTextMinFontSize:"16px"};function lm(e){return(0,l.get)(sm,e,"")}const um=Ln("div",{target:"e1puf3u3"})("font-family:",lm("default.fontFamily"),";font-size:",lm("default.fontSize"),";"),cm=Ln("div",{target:"e1puf3u2"})("margin-bottom:",hf(2),";.components-panel__row &{margin-bottom:inherit;}"),dm=Ln("label",{target:"e1puf3u1"})("display:inline-block;margin-bottom:",hf(2),";"),fm=Ln("p",{target:"e1puf3u0"})("font-size:",lm("helpText.fontSize"),";font-style:normal;color:",_o.mediumGray.text,";");function pm(e){let{id:t,label:n,hideLabelFromVision:r,help:o,className:i,children:a}=e;return(0,s.createElement)(um,{className:c()("components-base-control",i)},(0,s.createElement)(cm,{className:"components-base-control__field"},n&&t&&(r?(0,s.createElement)(zn,{as:"label",htmlFor:t},n):(0,s.createElement)(dm,{className:"components-base-control__label",htmlFor:t},n)),n&&!t&&(r?(0,s.createElement)(zn,{as:"label"},n):(0,s.createElement)(pm.VisualLabel,null,n)),a),!!o&&(0,s.createElement)(fm,{id:t?t+"__help":void 0,className:"components-base-control__help"},o))}pm.VisualLabel=e=>{let{className:t,children:n}=e;return t=c()("components-base-control__label",t),(0,s.createElement)("span",{className:t},n)};var hm=pm,mm={name:"euqsgg",styles:"input[type='number']::-webkit-outer-spin-button,input[type='number']::-webkit-inner-spin-button{-webkit-appearance:none!important;margin:0!important;}input[type='number']{-moz-appearance:textfield;}"};const vm=e=>{let{hideHTMLArrows:t}=e;return t?mm:""},gm=Ln(Gh,{target:"ep48uk90"})(vm,";");function bm(e){const t=Number(e);return isNaN(t)?0:t}function ym(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.reduce(((e,t)=>e+bm(t)),0)}function wm(e){const t=(e+"").split(".");return void 0!==t[1]?t[1].length:0}function _m(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1/0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1/0,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;const o=bm(e),i=bm(r),a=wm(r),s=Math.round(o/i)*i,u=(0,l.clamp)(s,t,n);return a?bm(u.toFixed(a)):u}var xm=(0,s.forwardRef)((function(e,t){let{__unstableStateReducer:n=(e=>e),className:r,dragDirection:o="n",hideHTMLArrows:i=!1,isDragEnabled:l=!0,isShiftStepEnabled:u=!0,label:f,max:p=1/0,min:h=-1/0,required:m=!1,shiftStep:v=10,step:g=1,type:b="number",value:y,...w}=e;const _="any"===g,x=_?1:parseFloat(g),E=_m(0,h,p,x),k=(e,t)=>_?Math.min(p,Math.max(h,e)):_m(e,h,p,null!=t?t:x),S="number"===b?"off":null,C=c()("components-number-control",r);return(0,s.createElement)(gm,a({autoComplete:S,inputMode:"numeric"},w,{className:C,dragDirection:o,hideHTMLArrows:i,isDragEnabled:l,label:f,max:p,min:h,ref:t,required:m,step:g,type:b,value:y,__unstableStateReducer:Bh(((e,t)=>{const{type:n,payload:r}=t,i=null==r?void 0:r.event,a=e.value;if(n===Lh||n===Ah){const t=i.shiftKey&&u,r=t?parseFloat(v)*x:x;let o=$h(a)?E:a;null!=i&&i.preventDefault&&i.preventDefault(),n===Lh&&(o=ym(o,r)),n===Ah&&(o=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.reduce(((e,t,n)=>{const r=bm(t);return 0===n?r:e-r}),0)}(o,r)),e.value=k(o,t?r:null)}if(n===Ih&&l){const[t,n]=r.delta,i=r.shiftKey&&u,s=i?parseFloat(v)*x:x;let l,c;switch(o){case"n":c=n,l=-1;break;case"e":c=t,l=(0,d.isRTL)()?-1:1;break;case"s":c=n,l=1;break;case"w":c=t,l=(0,d.isRTL)()?1:-1}if(0!==c){c=Math.ceil(Math.abs(c))*Math.sign(c);const t=c*s*l;e.value=k(ym(a,t),i?s:null)}}if(n===Nh||n===Th){const t=!1===m&&""===a;e.value=t?a:k(a)}return e}),n)}))}));const Em=Ln("div",{target:"e1bagdl33"})({name:"100d0a9",styles:"box-sizing:border-box;position:relative"}),km=e=>{let{disableUnits:t,size:n}=e;return Rr(_f({default:{paddingRight:8},small:{paddingRight:8},"__unstable-large":{paddingRight:t?16:8}}[n])(),";","")};var Sm={name:"1y65o8",styles:"&::-webkit-outer-spin-button,&::-webkit-inner-spin-button{-webkit-appearance:none;margin:0;}"};const Cm=e=>{let{disableUnits:t}=e;return t?"":Sm},Pm=Ln(xm,{target:"e1bagdl32"})("&&&{input{appearance:none;-moz-appearance:textfield;display:block;width:100%;",Cm,";",km,";}}"),Om=Rr("appearance:none;background:transparent;border-radius:2px;border:none;box-sizing:border-box;color:",_o.darkGray[500],";display:block;font-size:8px;letter-spacing:-0.5px;outline:none;padding:2px 1px;text-align-last:center;text-transform:uppercase;width:20px;",_f({borderTopLeftRadius:0,borderBottomLeftRadius:0})(),";",""),Tm=Ln("div",{target:"e1bagdl31"})("&&&{pointer-events:none;",Om,";}"),Mm=Ln("select",{target:"e1bagdl30"})("&&&{",Om,";cursor:pointer;border:1px solid transparent;height:100%;&:hover{background-color:",_o.lightGray[300],";}&:focus{border-color:",_o.ui.borderFocus,";outline:2px solid transparent;outline-offset:0;}&:disabled{cursor:initial;&:hover{background-color:transparent;}}}"),Dm="web"===s.Platform.OS,Im={px:{value:"px",label:Dm?"px":(0,d.__)("Pixels (px)"),default:"",a11yLabel:(0,d.__)("Pixels (px)"),step:1},"%":{value:"%",label:Dm?"%":(0,d.__)("Percentage (%)"),default:"",a11yLabel:(0,d.__)("Percent (%)"),step:.1},em:{value:"em",label:Dm?"em":(0,d.__)("Relative to parent font size (em)"),default:"",a11yLabel:(0,d._x)("ems","Relative to parent font size (em)"),step:.01},rem:{value:"rem",label:Dm?"rem":(0,d.__)("Relative to root font size (rem)"),default:"",a11yLabel:(0,d._x)("rems","Relative to root font size (rem)"),step:.01},vw:{value:"vw",label:Dm?"vw":(0,d.__)("Viewport width (vw)"),default:"",a11yLabel:(0,d.__)("Viewport width (vw)"),step:.1},vh:{value:"vh",label:Dm?"vh":(0,d.__)("Viewport height (vh)"),default:"",a11yLabel:(0,d.__)("Viewport height (vh)"),step:.1},vmin:{value:"vmin",label:Dm?"vmin":(0,d.__)("Viewport smallest dimension (vmin)"),default:"",a11yLabel:(0,d.__)("Viewport smallest dimension (vmin)"),step:.1},vmax:{value:"vmax",label:Dm?"vmax":(0,d.__)("Viewport largest dimension (vmax)"),default:"",a11yLabel:(0,d.__)("Viewport largest dimension (vmax)"),step:.1},ch:{value:"ch",label:Dm?"ch":(0,d.__)("Width of the zero (0) character (ch)"),default:"",a11yLabel:(0,d.__)("Width of the zero (0) character (ch)"),step:.01},ex:{value:"ex",label:Dm?"ex":(0,d.__)("x-height of the font (ex)"),default:"",a11yLabel:(0,d.__)("x-height of the font (ex)"),step:.01},cm:{value:"cm",label:Dm?"cm":(0,d.__)("Centimeters (cm)"),default:"",a11yLabel:(0,d.__)("Centimeters (cm)"),step:.001},mm:{value:"mm",label:Dm?"mm":(0,d.__)("Millimeters (mm)"),default:"",a11yLabel:(0,d.__)("Millimeters (mm)"),step:.1},in:{value:"in",label:Dm?"in":(0,d.__)("Inches (in)"),default:"",a11yLabel:(0,d.__)("Inches (in)"),step:.001},pc:{value:"pc",label:Dm?"pc":(0,d.__)("Picas (pc)"),default:"",a11yLabel:(0,d.__)("Picas (pc)"),step:1},pt:{value:"pt",label:Dm?"pt":(0,d.__)("Points (pt)"),default:"",a11yLabel:(0,d.__)("Points (pt)"),step:1}},Rm=Object.values(Im),Am=[Im.px,Im["%"],Im.em,Im.rem,Im.vw,Im.vh],Nm=Im.px;function Lm(e,t,n){return jm(t?`${e}${t}`:e,n)}function Fm(e){return Array.isArray(e)&&!!e.length}function jm(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Rm;const n=String(e).trim();let r=parseFloat(n);r=isNaN(r)?"":r;const o=n.match(/[\d.\-\+]*\s*(.*)/);let i=void 0!==(null==o?void 0:o[1])?o[1]:"";if(i=i.toLowerCase(),Fm(t)&&!1!==t){const e=t.find((e=>e.value===i));i=null==e?void 0:e.value}else i=Nm.value;return[r,i]}function zm(e,t,n,r){const[o,i]=jm(e,t);let a,s=o;var l;return Number.isFinite(o)&&""!==o||(s=n),a=i||r,Array.isArray(t)&&Fm(t)&&!a&&(a=null===(l=t[0])||void 0===l?void 0:l.value),[s,a]}const Bm=e=>{let{units:t,availableUnits:n,defaultValues:r}=e;t=t||Rm;const o=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;return Array.isArray(t)?t.filter((t=>e.includes(t.value))):[]}(n||[],t);return r&&o.forEach(((e,t)=>{r[e.value]&&(o[t].default=r[e.value])})),0!==o.length&&o};function Hm(e){let{className:t,isUnitSelectTabbable:n=!0,onChange:r=l.noop,size:o="default",unit:i="px",units:u=Am,...d}=e;if(!u||!Fm(u)||1===(null==u?void 0:u.length))return(0,s.createElement)(Tm,{className:"components-unit-control__unit-label",selectSize:o},i);const f=c()("components-unit-control__select",t);return(0,s.createElement)(Mm,a({className:f,onChange:e=>{const{value:t}=e.target,n=u.find((e=>e.value===t));r(t,{event:e,data:n})},selectSize:o,tabIndex:n?void 0:-1,value:i},d),u.map((e=>(0,s.createElement)("option",{value:e.value,key:e.value},e.label))))}const Vm={initial:void 0,fallback:""};var $m=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Vm;const{initial:n,fallback:r}={...Vm,...t},[o,i]=(0,s.useState)(e),a=Vh(e);(0,s.useEffect)((()=>{a&&o&&i(void 0)}),[a,o]);const l=Wh([e,o,n],r),u=e=>{a||i(e)};return[l,u]},Wm=(0,s.forwardRef)((function(e,t){let{__unstableStateReducer:n=(e=>e),autoComplete:r="off",className:o,disabled:i=!1,disableUnits:u=!1,isPressEnterToChange:f=!1,isResetValueOnUnitChange:p=!1,isUnitSelectTabbable:h=!0,label:m,onChange:v=l.noop,onUnitChange:g=l.noop,size:b="default",style:y,unit:w,units:_=Am,value:x,...E}=e;const k=(0,s.useMemo)((()=>function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Rm;if(!Array.isArray(n))return n;const r=[...n],[,o]=Lm(e,t,Rm);return o&&!r.some((e=>e.value===o))&&Im[o]&&r.unshift(Im[o]),r}(x,w,_)),[x,w,_]),[S,C]=Lm(x,w,k),[P,O]=$m(w,{initial:C,fallback:""}),T=(0,s.useRef)(null),M=c()("components-unit-control",o),D=e=>{if(!isNaN(Number(e.currentTarget.value)))return void(T.current=null);const[t,n]=zm(e.currentTarget.value,k,S,P);if(T.current=t.toString(),f&&n!==P){const r={event:e,data:Array.isArray(k)?k.find((e=>e.value===n)):void 0};v(`${t}${n}`,r),g(n,r),O(n)}},I=D,R=u?null:(0,s.createElement)(Hm,{"aria-label":(0,d.__)("Select unit"),disabled:i,isUnitSelectTabbable:h,onChange:(e,t)=>{const{data:n}=t;let r=`${S}${e}`;p&&void 0!==(null==n?void 0:n.default)&&(r=`${n.default}${e}`),v(r,t),g(e,t),O(e)},size:b,unit:P,units:k});let A=E.step;if(!A&&k){var N;const e=k.find((e=>e.value===P));A=null!==(N=null==e?void 0:e.step)&&void 0!==N?N:1}return(0,s.createElement)(Em,{className:"components-unit-control-wrapper",style:y},(0,s.createElement)(Pm,a({"aria-label":m,type:f?"text":"number"},(0,l.omit)(E,["children"]),{autoComplete:r,className:M,disabled:i,disableUnits:u,isPressEnterToChange:f,label:m,onBlur:I,onKeyDown:e=>{const{keyCode:t}=e;t===Sh.ENTER&&D(e)},onChange:(e,t)=>{""!==e?(e=zm(e,k,S,P).join(""),v(e,t)):v("",t)},ref:t,size:b,suffix:R,value:S,step:A,__unstableStateReducer:Bh(((e,t)=>(t.type===Th&&null!==T.current&&(e.value=T.current,T.current=null),e)),n)})))}));const Km=Ln("div",{target:"e7pk0lh6"})({name:"14bvcyk",styles:"box-sizing:border-box;max-width:235px;padding-bottom:12px;width:100%"}),Um=Ln(Ef,{target:"e7pk0lh5"})("color:",_o.ui.label,";padding-bottom:8px;"),Gm=Ln(Ef,{target:"e7pk0lh4"})({name:"aujtid",styles:"min-height:30px;gap:0"}),qm=Ln("div",{target:"e7pk0lh3"})({name:"112jwab",styles:"box-sizing:border-box;max-width:80px"}),Ym=Ln(Ef,{target:"e7pk0lh2"})({name:"xy18ro",styles:"justify-content:center;padding-top:8px"}),Xm=Ln(Ef,{target:"e7pk0lh1"})({name:"3tw5wk",styles:"position:relative;height:100%;width:100%;justify-content:flex-start"});var Zm={name:"1ch9yvl",styles:"border-radius:0"},Jm={name:"tg3mx0",styles:"border-radius:2px"};const Qm=e=>{let{isFirst:t,isLast:n,isOnly:r}=e;return t?_f({borderTopRightRadius:0,borderBottomRightRadius:0})():n?_f({borderTopLeftRadius:0,borderBottomLeftRadius:0})():r?Jm:Zm},ev=e=>{let{isFirst:t,isOnly:n}=e;return _f({marginLeft:t||n?0:-1})()},tv=Ln(Wm,{target:"e7pk0lh0"})("max-width:60px;",Qm,";",ev,";");function nv(e){let{isFirst:t,isLast:n,isOnly:r,onHoverOn:o=l.noop,onHoverOff:i=l.noop,label:u,value:c,...d}=e;const f=function(e,t){void 0===t&&(t={}),Zp.set("hover",kh);var n=(0,y.useRef)();return n.current||(n.current=_h(Gp,Eh)),vh({hover:e=>{let{event:t,...n}=e;n.hovering?o(t,n):i(t,n)}},n.current(t))}();return(0,s.createElement)(qm,f(),(0,s.createElement)(rv,{text:u},(0,s.createElement)(tv,a({"aria-label":u,className:"component-box-control__unit-control",hideHTMLArrows:!0,isFirst:t,isLast:n,isOnly:r,isPressEnterToChange:!0,isResetValueOnUnitChange:!1,value:c},d))))}function rv(e){let{children:t,text:n}=e;return n?(0,s.createElement)(Pr,{text:n,position:"top"},(0,s.createElement)("div",null,t)):t}const ov={all:(0,d.__)("All"),top:(0,d.__)("Top"),bottom:(0,d.__)("Bottom"),left:(0,d.__)("Left"),right:(0,d.__)("Right"),mixed:(0,d.__)("Mixed"),vertical:(0,d.__)("Vertical"),horizontal:(0,d.__)("Horizontal")},iv={top:null,right:null,bottom:null,left:null},av={top:!1,right:!1,bottom:!1,left:!1},sv=["top","right","bottom","left"];function lv(e){return e.sort(((t,n)=>e.filter((e=>e===t)).length-e.filter((e=>e===n)).length)).pop()}function uv(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:sv;const n=pv(t),r=n.map((t=>jm(e[t]))),o=r.map((e=>e[0])),i=r.map((e=>e[1])),a=o.every((e=>e===o[0]))?o[0]:"",s=lv(i),u=(0,l.isNumber)(a)?`${a}${s}`:null;return u}function cv(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:sv;const n=uv(e,t),r=isNaN(parseFloat(n));return r}function dv(e){return void 0!==e&&!(0,l.isEmpty)(Object.values(e).filter((e=>!!e&&/\d/.test(e))))}function fv(e,t){let n="all";return e||(n=t?"vertical":"top"),n}function pv(e){const t=[];if(null==e||!e.length)return sv;if(e.includes("vertical"))t.push("top","bottom");else if(e.includes("horizontal"))t.push("left","right");else{const n=sv.filter((t=>e.includes(t)));t.push(...n)}return t}function hv(e){let{onChange:t=l.noop,onFocus:n=l.noop,onHoverOn:r=l.noop,onHoverOff:o=l.noop,values:i,sides:u,selectedUnits:c,setSelectedUnits:d,...f}=e;const p=uv(i,u),h=dv(i)&&cv(i,u),m=h?ov.mixed:null,v=p?void 0:function(e){if(e&&"object"==typeof e)return lv(Object.values(e).filter(Boolean))}(c),g=(e,t)=>{const n={...e};return null!=u&&u.length?u.forEach((e=>{"vertical"===e?(n.top=t,n.bottom=t):"horizontal"===e?(n.left=t,n.right=t):n[e]=t})):sv.forEach((e=>n[e]=t)),n};return(0,s.createElement)(nv,a({},f,{disableUnits:h,isOnly:!0,value:p,unit:v,onChange:e=>{const n=!isNaN(parseFloat(e)),r=g(i,n?e:void 0);t(r)},onUnitChange:e=>{const t=g(c,e);d(t)},onFocus:e=>{n(e,{side:"all"})},onHoverOn:()=>{r({top:!0,bottom:!0,left:!0,right:!0})},onHoverOff:()=>{o({top:!1,bottom:!1,left:!1,right:!1})},placeholder:m}))}function mv(e){let{onChange:t=l.noop,onFocus:n=l.noop,onHoverOn:r=l.noop,onHoverOff:o=l.noop,values:i,selectedUnits:u,setSelectedUnits:c,sides:d,...f}=e;const p=e=>t=>{n(t,{side:e})},h=e=>()=>{r({[e]:!0})},m=e=>()=>{o({[e]:!1})},v=e=>(n,r)=>{let{event:o}=r;const{altKey:a}=o,s={...i},l=isNaN(parseFloat(n))?void 0:n;if(s[e]=l,a)switch(e){case"top":s.bottom=l;break;case"bottom":s.top=l;break;case"left":s.right=l;break;case"right":s.left=l}(e=>{t(e)})(s)},g=e=>t=>{const n={...u};n[e]=t,c(n)},b=null!=d&&d.length?sv.filter((e=>d.includes(e))):sv,y=b[0],w=b[b.length-1],_=y===w&&y;return(0,s.createElement)(Ym,{className:"component-box-control__input-controls-wrapper"},(0,s.createElement)(Xm,{gap:0,align:"top",className:"component-box-control__input-controls"},b.map((e=>(0,s.createElement)(nv,a({},f,{isFirst:y===e,isLast:w===e,isOnly:_===e,value:i[e],unit:i[e]?void 0:u[e],onChange:v(e),onUnitChange:g(e),onFocus:p(e),onHoverOn:h(e),onHoverOff:m(e),label:ov[e],key:`box-control-${e}`}))))))}const vv=["vertical","horizontal"];function gv(e){let{onChange:t,onFocus:n,onHoverOn:r,onHoverOff:o,values:i,selectedUnits:l,setSelectedUnits:u,sides:c,...d}=e;const f=e=>t=>{n&&n(t,{side:e})},p=e=>()=>{r&&("vertical"===e&&r({top:!0,bottom:!0}),"horizontal"===e&&r({left:!0,right:!0}))},h=e=>()=>{o&&("vertical"===e&&o({top:!1,bottom:!1}),"horizontal"===e&&o({left:!1,right:!1}))},m=e=>n=>{if(!t)return;const r={...i},o=isNaN(parseFloat(n))?void 0:n;"vertical"===e&&(r.top=o,r.bottom=o),"horizontal"===e&&(r.left=o,r.right=o),t(r)},v=e=>t=>{const n={...l};"vertical"===e&&(n.top=t,n.bottom=t),"horizontal"===e&&(n.left=t,n.right=t),u(n)},g=null!=c&&c.length?vv.filter((e=>c.includes(e))):vv,b=g[0],y=g[g.length-1],w=b===y;return(0,s.createElement)(Xm,{gap:0,align:"top",className:"component-box-control__vertical-horizontal-input-controls"},g.map((e=>(0,s.createElement)(nv,a({},d,{isFirst:b===e,isLast:y===e,isOnly:w===e,value:"vertical"===e?i.top:i.left,unit:"vertical"===e?l.top:l.left,onChange:m(e),onUnitChange:v(e),onFocus:f(e),onHoverOn:p(e),onHoverOff:h(e),label:ov[e],key:e})))))}const bv=Ln("span",{target:"eaw9yqk8"})({name:"1w884gc",styles:"box-sizing:border-box;display:block;width:24px;height:24px;position:relative;padding:4px"}),yv=Ln("span",{target:"eaw9yqk7"})({name:"i6vjox",styles:"box-sizing:border-box;display:block;position:relative;width:100%;height:100%"}),wv=Ln("span",{target:"eaw9yqk6"})("box-sizing:border-box;display:block;pointer-events:none;position:absolute;",(e=>{let{isFocused:t}=e;return Rr({backgroundColor:"currentColor",opacity:t?1:.3},"","")}),";"),_v=Ln(wv,{target:"eaw9yqk5"})({name:"1k2w39q",styles:"bottom:3px;top:3px;width:2px"}),xv=Ln(wv,{target:"eaw9yqk4"})({name:"1q9b07k",styles:"height:2px;left:3px;right:3px"}),Ev=Ln(xv,{target:"eaw9yqk3"})({name:"abcix4",styles:"top:0"}),kv=Ln(_v,{target:"eaw9yqk2"})({name:"1wf8jf",styles:"right:0"}),Sv=Ln(xv,{target:"eaw9yqk1"})({name:"8tapst",styles:"bottom:0"}),Cv=Ln(_v,{target:"eaw9yqk0"})({name:"1ode3cm",styles:"left:0"});function Pv(e){let{size:t=24,side:n="all",sides:r,...o}=e;const i=e=>!(e=>(null==r?void 0:r.length)&&!r.includes(e))(e)&&("all"===n||n===e),l=i("top")||i("vertical"),u=i("right")||i("horizontal"),c=i("bottom")||i("vertical"),d=i("left")||i("horizontal"),f=t/24;return(0,s.createElement)(bv,a({style:{transform:`scale(${f})`}},o),(0,s.createElement)(yv,null,(0,s.createElement)(Ev,{isFocused:l}),(0,s.createElement)(kv,{isFocused:u}),(0,s.createElement)(Sv,{isFocused:c}),(0,s.createElement)(Cv,{isFocused:d})))}var Ov=(0,s.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,s.createElement)(i.Path,{d:"M15.6 7.2H14v1.5h1.6c2 0 3.7 1.7 3.7 3.7s-1.7 3.7-3.7 3.7H14v1.5h1.6c2.8 0 5.2-2.3 5.2-5.2 0-2.9-2.3-5.2-5.2-5.2zM4.7 12.4c0-2 1.7-3.7 3.7-3.7H10V7.2H8.4c-2.9 0-5.2 2.3-5.2 5.2 0 2.9 2.3 5.2 5.2 5.2H10v-1.5H8.4c-2 0-3.7-1.7-3.7-3.7zm4.6.9h5.3v-1.5H9.3v1.5z"})),Tv=(0,s.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,s.createElement)(i.Path,{d:"M15.6 7.3h-.7l1.6-3.5-.9-.4-3.9 8.5H9v1.5h2l-1.3 2.8H8.4c-2 0-3.7-1.7-3.7-3.7s1.7-3.7 3.7-3.7H10V7.3H8.4c-2.9 0-5.2 2.3-5.2 5.2 0 2.9 2.3 5.2 5.2 5.2H9l-1.4 3.2.9.4 5.7-12.5h1.4c2 0 3.7 1.7 3.7 3.7s-1.7 3.7-3.7 3.7H14v1.5h1.6c2.9 0 5.2-2.3 5.2-5.2 0-2.9-2.4-5.2-5.2-5.2z"}));function Mv(e){let{isLinked:t,...n}=e;const r=t?(0,d.__)("Unlink Sides"):(0,d.__)("Link Sides");return(0,s.createElement)(Pr,{text:r},(0,s.createElement)("span",null,(0,s.createElement)(Hn,a({},n,{className:"component-box-control__linked-button",variant:t?"primary":"secondary",isSmall:!0,icon:t?Ov:Tv,iconSize:16,"aria-label":r}))))}var Dv={name:"11f5o9n",styles:"bottom:0;left:0;pointer-events:none;position:absolute;right:0;top:0;z-index:1"};const Iv=Ln("div",{target:"e1df9b4q5"})("box-sizing:border-box;position:relative;",(e=>{let{isPositionAbsolute:t}=e;return t?Dv:""}),";"),Rv=Ln("div",{target:"e1df9b4q4"})("box-sizing:border-box;background:",_o.blue.wordpress[700],";background:",_o.ui.theme,";filter:brightness( 1 );opacity:0;position:absolute;pointer-events:none;transition:opacity 120ms linear;z-index:1;",(e=>{let{isActive:t}=e;return t&&"\n\t\topacity: 0.3;\n\t"}),";"),Av=Ln(Rv,{target:"e1df9b4q3"})({name:"5i97ct",styles:"top:0;left:0;right:0"}),Nv=Ln(Rv,{target:"e1df9b4q2"})("top:0;bottom:0;",_f({right:0}),";"),Lv=Ln(Rv,{target:"e1df9b4q1"})({name:"8cxke2",styles:"bottom:0;left:0;right:0"}),Fv=Ln(Rv,{target:"e1df9b4q0"})("top:0;bottom:0;",_f({left:0}),";");function jv(e){let{showValues:t=av,values:n}=e;const{top:r,right:o,bottom:i,left:a}=n;return(0,s.createElement)(s.Fragment,null,(0,s.createElement)(zv,{isVisible:t.top,value:r}),(0,s.createElement)(Bv,{isVisible:t.right,value:o}),(0,s.createElement)(Hv,{isVisible:t.bottom,value:i}),(0,s.createElement)(Vv,{isVisible:t.left,value:a}))}function zv(e){let{isVisible:t=!1,value:n}=e;const r=n,o=$v(r).isActive||t;return(0,s.createElement)(Av,{isActive:o,style:{height:r}})}function Bv(e){let{isVisible:t=!1,value:n}=e;const r=n,o=$v(r).isActive||t;return(0,s.createElement)(Nv,{isActive:o,style:{width:r}})}function Hv(e){let{isVisible:t=!1,value:n}=e;const r=n,o=$v(r).isActive||t;return(0,s.createElement)(Lv,{isActive:o,style:{height:r}})}function Vv(e){let{isVisible:t=!1,value:n}=e;const r=n,o=$v(r).isActive||t;return(0,s.createElement)(Fv,{isActive:o,style:{width:r}})}function $v(e){const[t,n]=(0,s.useState)(!1),r=(0,s.useRef)(e),o=(0,s.useRef)(),i=()=>{o.current&&window.clearTimeout(o.current)};return(0,s.useEffect)((()=>(e!==r.current&&(n(!0),r.current=e,i(),o.current=setTimeout((()=>{n(!1)}),400)),()=>i())),[e]),{isActive:t}}const Wv={min:0};function Kv(e){let{id:t,inputProps:n=Wv,onChange:r=l.noop,onChangeShowVisualizer:o=l.noop,label:i=(0,d.__)("Box Control"),values:u,units:c,sides:p,splitOnAxis:h=!1,allowReset:m=!0,resetValues:v=iv}=e;const[g,b]=$m(u,{fallback:iv}),y=g||iv,w=dv(u),_=1===(null==p?void 0:p.length),[x,E]=(0,s.useState)(w),[k,S]=(0,s.useState)(!w||!cv(y)||_),[C,P]=(0,s.useState)(fv(k,h)),[O,T]=(0,s.useState)({top:jm(null==u?void 0:u.top)[1],right:jm(null==u?void 0:u.right)[1],bottom:jm(null==u?void 0:u.bottom)[1],left:jm(null==u?void 0:u.left)[1]}),M=function(e){const t=(0,f.useInstanceId)(Kv,"inspector-box-control");return e||t}(t),D=`${M}-heading`,I={...n,onChange:e=>{r(e),b(e),E(!0)},onFocus:(e,t)=>{let{side:n}=t;P(n)},onHoverOn:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};o({...av,...e})},onHoverOff:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};o({...av,...e})},isLinked:k,units:c,selectedUnits:O,setSelectedUnits:T,sides:p,values:y};return(0,s.createElement)(Km,{id:M,role:"region","aria-labelledby":D},(0,s.createElement)(Um,{className:"component-box-control__header"},(0,s.createElement)(cf,null,(0,s.createElement)(Xf,{id:D,className:"component-box-control__label"},i)),m&&(0,s.createElement)(cf,null,(0,s.createElement)(Hn,{className:"component-box-control__reset-button",isSecondary:!0,isSmall:!0,onClick:()=>{r(v),b(v),T(v),E(!1)},disabled:!x},(0,d.__)("Reset")))),(0,s.createElement)(Gm,{className:"component-box-control__header-control-wrapper"},(0,s.createElement)(cf,null,(0,s.createElement)(Pv,{side:C,sides:p})),k&&(0,s.createElement)(uf,null,(0,s.createElement)(hv,a({"aria-label":i},I))),!k&&h&&(0,s.createElement)(uf,null,(0,s.createElement)(gv,I)),!_&&(0,s.createElement)(cf,null,(0,s.createElement)(Mv,{onClick:()=>{S(!k),P(fv(!k,h))},isLinked:k}))),!k&&!h&&(0,s.createElement)(mv,I))}Kv.__Visualizer=function(e){let{children:t,showValues:n=av,values:r=iv,...o}=e;const i=!t;return(0,s.createElement)(Iv,a({},o,{isPositionAbsolute:i,"aria-hidden":"true"}),(0,s.createElement)(jv,{showValues:n,values:r}),t)};var Uv=(0,s.forwardRef)((function(e,t){let{className:n,...r}=e;const o=c()("components-button-group",n);return(0,s.createElement)("div",a({ref:t,role:"group",className:o},r))}));const Gv={name:"12ip69d",styles:"background:transparent;display:block;margin:0!important;pointer-events:none;position:absolute;will-change:box-shadow"};function qv(e){return`0 ${e}px ${2*e}px 0\n\trgba(0 ,0, 0, ${e/20})`}var Yv=Cn((function(e,t){const n=function(e){const{active:t,borderRadius:n="inherit",className:r,focus:o,hover:i,isInteractive:a=!1,offset:u=0,value:c=0,...d}=Sn(e,"Elevation"),f=kn();return{...d,className:(0,s.useMemo)((()=>{let e=(0,l.isNil)(i)?2*c:i,s=(0,l.isNil)(t)?c/2:t;a||(e=(0,l.isNil)(i)?void 0:i,s=(0,l.isNil)(t)?void 0:t);const d=`box-shadow ${Af.transitionDuration} ${Af.transitionTimingFunction}`,p={};return p.Base=Rr({borderRadius:n,bottom:u,boxShadow:qv(c),opacity:Af.elevationIntensity,left:u,right:u,top:u,transition:d},xo("transition"),"",""),(0,l.isNil)(e)||(p.hover=Rr("*:hover>&{box-shadow:",qv(e),";}","")),(0,l.isNil)(s)||(p.active=Rr("*:active>&{box-shadow:",qv(s),";}","")),(0,l.isNil)(o)||(p.focus=Rr("*:focus>&{box-shadow:",qv(o),";}","")),f(Gv,p.Base,p.hover&&p.hover,p.focus&&p.focus,p.active&&p.active,r)}),[t,n,r,o,i,a,u,c]),"aria-hidden":!0}}(e);return(0,s.createElement)(jn,a({},n,{ref:t}))}),"Elevation");const Xv=Rr("box-shadow:0 0 0 1px ",Af.surfaceBorderColor,";outline:none;",""),Zv={name:"1showjb",styles:"border-bottom:1px solid;box-sizing:border-box;&:last-child{border-bottom:none;}"},Jv={name:"14n5oej",styles:"border-top:1px solid;box-sizing:border-box;&:first-of-type{border-top:none;}"},Qv={name:"13udsys",styles:"height:100%"},eg={name:"6ywzd",styles:"box-sizing:border-box;height:auto;max-height:100%"},tg={name:"dq805e",styles:"box-sizing:border-box;overflow:hidden;&>img,&>iframe{display:block;height:auto;max-width:100%;width:100%;}"},ng={name:"c990dr",styles:"box-sizing:border-box;display:block;width:100%"},rg=Rr("&:first-of-type{border-top-left-radius:",Af.cardBorderRadius,";border-top-right-radius:",Af.cardBorderRadius,";}&:last-of-type{border-bottom-left-radius:",Af.cardBorderRadius,";border-bottom-right-radius:",Af.cardBorderRadius,";}",""),og=Rr("border-color:",Af.colorDivider,";",""),ig={name:"1t90u8d",styles:"box-shadow:none"},ag={name:"1e1ncky",styles:"border:none"},sg=Rr("border-radius:",Af.cardBorderRadius,";",""),lg=Rr("padding:",Af.cardPaddingXSmall,";",""),ug={large:Rr("padding:",Af.cardPaddingLarge,";",""),medium:Rr("padding:",Af.cardPaddingMedium,";",""),small:Rr("padding:",Af.cardPaddingSmall,";",""),xSmall:lg,extraSmall:lg},cg=Rr("background-color:",_o.lightGray[200],";",""),dg=Rr("background-color:",Af.surfaceColor,";color:",_o.black,";position:relative;","");Af.surfaceBackgroundColor;const fg=Rr("",""),pg=Rr("background:",Af.surfaceBackgroundTintColor,";",""),hg=Rr("background:",Af.surfaceBackgroundTertiaryColor,";",""),mg=e=>[e,e].join(" "),vg=e=>["90deg",[Af.surfaceBackgroundColor,e].join(" "),"transparent 1%"].join(","),gg=e=>[[Af.surfaceBackgroundColor,e].join(" "),"transparent 1%"].join(","),bg=[`linear-gradient( ${[`${Af.surfaceBorderSubtleColor} 1px`,"transparent 1px"].join(",")} )`,`linear-gradient( ${["90deg",`${Af.surfaceBorderSubtleColor} 1px`,"transparent 1px"].join(",")} )`].join(","),yg=(e,t,n)=>{switch(e){case"dotted":return((e,t)=>Rr("background:",(e=>[`linear-gradient( ${vg(e)} ) center`,`linear-gradient( ${gg(e)} ) center`,Af.surfaceBorderBoldColor].join(","))(t),";background-size:",mg(e),";",""))(t,n);case"grid":return(e=>Rr("background:",Af.surfaceBackgroundColor,";background-image:",bg,";background-size:",mg(e),";",""))(t);case"primary":return fg;case"secondary":return pg;case"tertiary":return hg}};function wg(e){const{backgroundSize:t=12,borderBottom:n=!1,borderLeft:r=!1,borderRight:o=!1,borderTop:i=!1,className:a,variant:l="primary",...u}=Sn(e,"Surface"),c=kn();return{...u,className:(0,s.useMemo)((()=>{const e={};return e.borders=function(e){let{borderBottom:t,borderLeft:n,borderRight:r,borderTop:o}=e;const i=`1px solid ${Af.surfaceBorderColor}`;return Rr({borderBottom:t?i:void 0,borderLeft:n?i:void 0,borderRight:r?i:void 0,borderTop:o?i:void 0},"","")}({borderBottom:n,borderLeft:r,borderRight:o,borderTop:i}),c(dg,e.borders,yg(l,`${t}px`,t-1+"px"),a)}),[t,n,r,o,i,a,l])}}var _g=Cn((function(e,t){const{children:n,elevation:r,isBorderless:o,isRounded:i,size:l,...u}=function(e){const{className:t,elevation:n=0,isBorderless:r=!1,isRounded:o=!0,size:i="medium",...a}=Sn(function(e){let{elevation:t,isElevated:n,...r}=e;const o={...r};let i=t;var a;return n&&(Be()("Card isElevated prop",{since:"5.9",alternative:"elevation"}),null!==(a=i)&&void 0!==a||(i=2)),void 0!==i&&(o.elevation=i),o}(e),"Card"),l=kn();return{...wg({...a,className:(0,s.useMemo)((()=>l(Xv,r&&ig,o&&sg,t)),[t,r,o])}),elevation:n,isBorderless:r,isRounded:o,size:i}}(e),c=i?Af.cardBorderRadius:0,d=kn(),f=(0,s.useMemo)((()=>d(Rr({borderRadius:c},"",""))),[c]),p=(0,s.useMemo)((()=>{const e={size:l,isBorderless:o};return{CardBody:e,CardHeader:e,CardFooter:e}}),[o,l]);return(0,s.createElement)(Ue,{value:p},(0,s.createElement)(jn,a({},u,{ref:t}),(0,s.createElement)(jn,{className:d(Qv)},n),(0,s.createElement)(Yv,{className:f,isInteractive:!1,value:r?1:0}),(0,s.createElement)(Yv,{className:f,isInteractive:!1,value:r})))}),"Card");const xg=Rr("@media only screen and ( min-device-width: 40em ){&::-webkit-scrollbar{height:12px;width:12px;}&::-webkit-scrollbar-track{background-color:transparent;}&::-webkit-scrollbar-track{background:",Af.colorScrollbarTrack,";border-radius:8px;}&::-webkit-scrollbar-thumb{background-clip:padding-box;background-color:",Af.colorScrollbarThumb,";border:2px solid rgba( 0, 0, 0, 0 );border-radius:7px;}&:hover::-webkit-scrollbar-thumb{background-color:",Af.colorScrollbarThumbHover,";}}",""),Eg={name:"13udsys",styles:"height:100%"},kg={name:"7zq9w",styles:"scroll-behavior:smooth"},Sg={name:"q33xhg",styles:"overflow-x:auto;overflow-y:hidden"},Cg={name:"103x71s",styles:"overflow-x:hidden;overflow-y:auto"},Pg={name:"umwchj",styles:"overflow-y:auto"};var Og=Cn((function(e,t){const n=function(e){const{className:t,scrollDirection:n="y",smoothScroll:r=!1,...o}=Sn(e,"Scrollable"),i=kn();return{...o,className:(0,s.useMemo)((()=>i(Eg,xg,r&&kg,"x"===n&&Sg,"y"===n&&Cg,"auto"===n&&Pg,t)),[t,n,r])}}(e);return(0,s.createElement)(jn,a({},n,{ref:t}))}),"Scrollable"),Tg=Cn((function(e,t){const{isScrollable:n,...r}=function(e){const{className:t,isScrollable:n=!1,isShady:r=!1,size:o="medium",...i}=Sn(e,"CardBody"),a=kn();return{...i,className:(0,s.useMemo)((()=>a(eg,rg,ug[o],r&&cg,"components-card__body",t)),[t,r,o]),isScrollable:n}}(e);return n?(0,s.createElement)(Og,a({},r,{ref:t})):(0,s.createElement)(jn,a({},r,{ref:t}))}),"CardBody"),Mg=z({as:"hr",memo:!0,useHook:H({name:"Separator",compose:ue,keys:["orientation"],useOptions:function(e){var t=e.orientation;return m({orientation:void 0===t?"horizontal":t},v(e,["orientation"]))},useProps:function(e,t){return m({role:"separator","aria-orientation":e.orientation},t)}})});const Dg={vertical:{start:"marginLeft",end:"marginRight"},horizontal:{start:"marginTop",end:"marginBottom"}},Ig=Ln("hr",{target:"e19on6iw0"})("border:0;margin:0;",(e=>{let{"aria-orientation":t="horizontal"}=e;return Rr({["vertical"===t?"borderRight":"borderBottom"]:"1px solid currentColor"},"","")})," ",(e=>{let{"aria-orientation":t="horizontal"}=e;return Rr({height:"vertical"===t?"auto":0,width:"vertical"===t?0:"auto"},"","")})," ",(e=>{let{"aria-orientation":t="horizontal",margin:n,marginStart:r,marginEnd:o}=e;return Rr(_f({[Dg[t].start]:hf(null!=r?r:n),[Dg[t].end]:hf(null!=o?o:n)})(),"","")}),";");var Rg=Cn((function(e,t){const n=Sn(e,"Divider");return(0,s.createElement)(Mg,a({as:Ig},n,{ref:t}))}),"Divider"),Ag=Cn((function(e,t){const n=function(e){const{className:t,...n}=Sn(e,"CardDivider"),r=kn();return{...n,className:(0,s.useMemo)((()=>r(ng,og,"components-card__divider",t)),[t])}}(e);return(0,s.createElement)(Rg,a({},n,{ref:t}))}),"CardDivider"),Ng=Cn((function(e,t){const n=function(e){const{className:t,justify:n,isBorderless:r=!1,isShady:o=!1,size:i="medium",...a}=Sn(e,"CardFooter"),l=kn();return{...a,className:(0,s.useMemo)((()=>l(Jv,rg,og,ug[i],r&&ag,o&&cg,"components-card__footer",t)),[t,r,o,i]),justify:n}}(e);return(0,s.createElement)(Ef,a({},n,{ref:t}))}),"CardFooter"),Lg=Cn((function(e,t){const n=function(e){const{className:t,isBorderless:n=!1,isShady:r=!1,size:o="medium",...i}=Sn(e,"CardHeader"),a=kn();return{...i,className:(0,s.useMemo)((()=>a(Zv,rg,og,ug[o],n&&ag,r&&cg,"components-card__header",t)),[t,n,r,o])}}(e);return(0,s.createElement)(Ef,a({},n,{ref:t}))}),"CardHeader"),Fg=Cn((function(e,t){const n=function(e){const{className:t,...n}=Sn(e,"CardMedia"),r=kn();return{...n,className:(0,s.useMemo)((()=>r(tg,rg,"components-card__media",t)),[t])}}(e);return(0,s.createElement)(jn,a({},n,{ref:t}))}),"CardMedia"),jg=function(e){let{icon:t,size:n=24,...r}=e;return(0,s.cloneElement)(t,{width:n,height:n,...r})},zg=(0,s.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,s.createElement)(i.Path,{d:"M16.7 7.1l-6.3 8.5-3.3-2.5-.9 1.2 4.5 3.4L17.9 8z"}));function Bg(e){let{label:t,className:n,heading:r,checked:o,help:i,onChange:l,...u}=e;r&&Be()("`heading` prop in `CheckboxControl`",{alternative:"a separate element to implement a heading",since:"5.8"});const d=`inspector-checkbox-control-${(0,f.useInstanceId)(Bg)}`;return(0,s.createElement)(hm,{label:r,id:d,help:i,className:c()("components-checkbox-control",n)},(0,s.createElement)("span",{className:"components-checkbox-control__input-container"},(0,s.createElement)("input",a({id:d,className:"components-checkbox-control__input",type:"checkbox",value:"1",onChange:e=>l(e.target.checked),checked:o,"aria-describedby":i?d+"__help":void 0},u)),o?(0,s.createElement)(jg,{icon:zg,className:"components-checkbox-control__checked",role:"presentation"}):null),(0,s.createElement)("label",{className:"components-checkbox-control__label",htmlFor:d},t))}function Hg(e){let{className:t,children:n,onCopy:r,onFinishCopy:o,text:i,...l}=e;Be()("wp.components.ClipboardButton",{since:"5.8",alternative:"wp.compose.useCopyToClipboard"});const u=(0,s.useRef)(),d=(0,f.useCopyToClipboard)(i,(()=>{r(),clearTimeout(u.current),o&&(u.current=setTimeout((()=>o()),4e3))}));(0,s.useEffect)((()=>{clearTimeout(u.current)}),[]);const p=c()("components-clipboard-button",t);return(0,s.createElement)(Hn,a({},l,{className:p,ref:d,onCopy:e=>{e.target.focus()}}),n)}var Vg=(0,s.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none"},(0,s.createElement)(i.Path,{d:"M5 11.25h14v1.5H5z"})),$g=(0,s.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,s.createElement)(i.Path,{d:"M18 11.2h-5.2V6h-1.6v5.2H6v1.6h5.2V18h1.6v-5.2H18z"})),Wg=(0,s.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,s.createElement)(i.Path,{d:"M13 19h-2v-2h2v2zm0-6h-2v-2h2v2zm0-6h-2V5h2v2z"})),Kg=(0,s.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,s.createElement)(i.Path,{d:"M14.5 13.8c-1.1 0-2.1.7-2.4 1.8H4V17h8.1c.3 1 1.3 1.8 2.4 1.8s2.1-.7 2.4-1.8H20v-1.5h-3.1c-.3-1-1.3-1.7-2.4-1.7zM11.9 7c-.3-1-1.3-1.8-2.4-1.8S7.4 6 7.1 7H4v1.5h3.1c.3 1 1.3 1.8 2.4 1.8s2.1-.7 2.4-1.8H20V7h-8.1z"}));const Ug={bottom:{align:"flex-end",justify:"center"},bottomLeft:{align:"flex-start",justify:"flex-end"},bottomRight:{align:"flex-end",justify:"flex-end"},center:{align:"center",justify:"center"},edge:{align:"center",justify:"space-between"},left:{align:"center",justify:"flex-start"},right:{align:"center",justify:"flex-end"},stretch:{align:"stretch"},top:{align:"flex-start",justify:"center"},topLeft:{align:"flex-start",justify:"flex-start"},topRight:{align:"flex-start",justify:"flex-end"}},Gg={bottom:{justify:"flex-end",align:"center"},bottomLeft:{justify:"flex-start",align:"flex-end"},bottomRight:{justify:"flex-end",align:"flex-end"},center:{justify:"center",align:"center"},edge:{justify:"space-between",align:"center"},left:{justify:"center",align:"flex-start"},right:{justify:"center",align:"flex-end"},stretch:{justify:"stretch"},top:{justify:"flex-start",align:"center"},topLeft:{justify:"flex-start",align:"flex-start"},topRight:{justify:"flex-start",align:"flex-end"}};function qg(e){return"string"==typeof e?[e]:s.Children.toArray(e).filter((e=>(0,s.isValidElement)(e)))}function Yg(e){const{alignment:t="edge",children:n,direction:r,spacing:o=2,...i}=Sn(e,"HStack"),u=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"row";if((0,l.isNil)(e))return{};const n="column"===t?Gg:Ug;return e in n?n[e]:{align:e}}(t,r);return xf({children:qg(n).map(((e,t)=>{const n=e.key||`hstack-${t}`;return On(e,["Spacer"])?(0,s.createElement)(cf,a({isBlock:!0,key:n},e.props)):e})),direction:r,justify:"center",...u,...i,gap:o})}var Xg=Cn((function(e,t){const n=Yg(e);return(0,s.createElement)(jn,a({},n,{ref:t}))}),"HStack"),Zg=(0,s.createElement)(i.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,s.createElement)(i.Path,{d:"M17.5 11.6L12 16l-5.5-4.4.9-1.2L12 14l4.5-3.6 1 1.2z"}));const Jg=Ln("select",{target:"e1mv6sxx1"})("&&&{appearance:none;background:transparent;box-sizing:border-box;border:none;box-shadow:none!important;color:",_o.black,";display:block;margin:0;width:100%;",(e=>{let{disabled:t}=e;return t?Rr({color:_o.ui.textDisabled},"",""):""}),";",(e=>{let{selectSize:t}=e;const n={default:"13px",small:"11px","__unstable-large":"13px"}[t];return n?Rr("font-size:","16px",";@media ( min-width: 600px ){font-size:",n,";}",""):""}),";",(e=>{let{selectSize:t}=e;const n={default:{height:30,lineHeight:1,minHeight:30},small:{height:24,lineHeight:1,minHeight:24},"__unstable-large":{height:40,lineHeight:1,minHeight:40}};return Rr(n[t]||n.default,"","")}),";",(e=>{let{selectSize:t="default"}=e;return _f({default:{paddingLeft:8,paddingRight:24},small:{paddingLeft:8,paddingRight:24},"__unstable-large":{paddingLeft:16,paddingRight:32}}[t])}),";}"),Qg=Ln("div",{target:"e1mv6sxx0"})("align-items:center;bottom:0;box-sizing:border-box;display:flex;padding:0 4px;pointer-events:none;position:absolute;top:0;",_f({right:0})," svg{display:block;}");var eb=(0,s.forwardRef)((function e(t,n){let{className:r,disabled:o=!1,help:i,hideLabelFromVision:u,id:d,label:p,multiple:h=!1,onBlur:m=l.noop,onChange:v=l.noop,onFocus:g=l.noop,options:b=[],size:y="default",value:w,labelPosition:_="top",children:x,prefix:E,suffix:k,...S}=t;const[C,P]=(0,s.useState)(!1),O=function(t){const n=(0,f.useInstanceId)(e);return t||`inspector-select-control-${n}`}(d),T=i?`${O}__help`:void 0;if((0,l.isEmpty)(b)&&!x)return null;const M=c()("components-select-control",r);return(0,s.createElement)(hm,{help:i,id:O},(0,s.createElement)(gp,{className:M,disabled:o,hideLabelFromVision:u,id:O,isFocused:C,label:p,size:y,suffix:k||(0,s.createElement)(Qg,null,(0,s.createElement)(jg,{icon:Zg,size:18})),prefix:E,labelPosition:_},(0,s.createElement)(Jg,a({},S,{"aria-describedby":T,className:"components-select-control__input",disabled:o,id:O,multiple:h,onBlur:e=>{m(e),P(!1)},onChange:e=>{if(h){const t=Array.from(e.target.options).filter((e=>{let{selected:t}=e;return t})).map((e=>{let{value:t}=e;return t}));v(t)}else v(e.target.value,{event:e})},onFocus:e=>{g(e),P(!0)},ref:n,selectSize:y,value:w}),x||b.map(((e,t)=>{const n=e.id||`${e.label}-${e.value}-${t}`;return(0,s.createElement)("option",{key:n,value:e.value,disabled:e.disabled},e.label)})))))}));function tb(e,t,n){return"number"!=typeof e?null:parseFloat((0,l.clamp)(e,t,n))}const nb=()=>Rr({height:30,minHeight:30},"",""),rb=Ln("div",{target:"exqw8y214"})({name:"17z6zai",styles:"-webkit-tap-highlight-color:transparent;box-sizing:border-box;align-items:flex-start;display:inline-flex;justify-content:flex-start;padding:0;position:relative;touch-action:none;width:100%"}),ob=Ln("div",{target:"exqw8y213"})("box-sizing:border-box;color:",_o.blue.medium.focus,";display:block;flex:1;position:relative;width:100%;",(e=>{let{color:t=_o.ui.borderFocus}=e;return Rr({color:t},"","")}),";",nb,";",(e=>{let{marks:t}=e;return Rr({marginBottom:t?16:null},"","")}),";"),ib=Ln("span",{target:"exqw8y212"})("margin-top:",4,"px;",_f({marginRight:6}),";"),ab=Ln("span",{target:"exqw8y211"})("margin-top:",4,"px;",_f({marginLeft:16}),";"),sb=Ln("span",{target:"exqw8y210"})("background-color:",_o.lightGray[600],";box-sizing:border-box;left:0;pointer-events:none;right:0;display:block;height:",4,"px;position:absolute;margin-top:",13,"px;top:0;border-radius:",4,"px;",(e=>{let{disabled:t,railColor:n}=e,r=n||null;return t&&(r=_o.lightGray[400]),Rr({background:r},"","")}),";"),lb=Ln("span",{target:"exqw8y29"})("background-color:currentColor;border-radius:",4,"px;box-sizing:border-box;height:",4,"px;pointer-events:none;display:block;position:absolute;margin-top:",13,"px;top:0;",(e=>{let{disabled:t,trackColor:n}=e,r=n||"currentColor";return t&&(r=_o.lightGray[800]),Rr({background:r},"","")}),";"),ub=Ln("span",{target:"exqw8y28"})({name:"1xuuvmv",styles:"box-sizing:border-box;display:block;pointer-events:none;position:relative;width:100%;user-select:none"}),cb=Ln("span",{target:"exqw8y27"})("box-sizing:border-box;height:",12,"px;left:0;position:absolute;top:-4px;width:1px;",(e=>{let{disabled:t,isFilled:n}=e,r=n?"currentColor":_o.lightGray[600];return t&&(r=_o.lightGray[800]),Rr({backgroundColor:r},"","")}),";"),db=Ln("span",{target:"exqw8y26"})("box-sizing:border-box;color:",_o.lightGray[600],";left:0;font-size:11px;position:absolute;top:12px;transform:translateX( -50% );white-space:nowrap;",(e=>{let{isFilled:t}=e;return Rr({color:t?_o.darkGray[300]:_o.lightGray[600]},"","")}),";");var fb={name:"1sb75b3",styles:"background-color:var( --wp-admin-theme-color )"};const pb=e=>{let{disabled:t}=e;return t?Rr("background-color:",_o.lightGray[800],";",""):fb},hb=Ln("span",{target:"exqw8y25"})("align-items:center;box-sizing:border-box;display:flex;height:",12,"px;justify-content:center;margin-top:",9,"px;outline:0;pointer-events:none;position:absolute;top:0;user-select:none;width:",12,"px;border-radius:50%;",pb,";",_f({marginLeft:-10}),";",_f({transform:"translateX( 4.5px )"},{transform:"translateX( -4.5px )"}),";"),mb=Ln("span",{target:"exqw8y24"})("align-items:center;border-radius:50%;box-sizing:border-box;height:100%;outline:0;position:absolute;user-select:none;width:100%;",pb,";",(e=>{let{isFocused:t}=e;return t?Rr("&::before{content:' ';position:absolute;background-color:var( --wp-admin-theme-color );opacity:0.4;border-radius:50%;height:",20,"px;width:",20,"px;top:-4px;left:-4px;}",""):""}),";"),vb=Ln("input",{target:"exqw8y23"})("box-sizing:border-box;cursor:pointer;display:block;height:100%;left:0;margin:0 -",6,"px;opacity:0;outline:none;position:absolute;right:0;top:0;width:calc( 100% + ",12,"px );");var gb={name:"1cypxip",styles:"top:-80%"},bb={name:"1lr98c4",styles:"bottom:-80%"};const yb=Ln("span",{target:"exqw8y22"})("background:rgba( 0, 0, 0, 0.8 );border-radius:2px;box-sizing:border-box;color:white;display:inline-block;font-size:12px;min-width:32px;opacity:0;padding:4px 8px;pointer-events:none;position:absolute;text-align:center;transition:opacity 120ms ease;user-select:none;line-height:1.4;",(e=>{let{show:t}=e;return Rr({opacity:t?1:0},"","")}),";",(e=>{let{position:t}=e;return"bottom"===t?bb:gb}),";",xo("transition"),";",_f({transform:"translateX(-50%)"},{transform:"translateX(50%)"}),";"),wb=Ln(xm,{target:"exqw8y21"})("box-sizing:border-box;display:inline-block;font-size:13px;margin-top:0;width:",hf(16),"!important;input[type='number']&{",nb,";}",_f({marginLeft:`${hf(4)} !important`}),";"),_b=Ln("span",{target:"exqw8y20"})("box-sizing:border-box;display:block;margin-top:0;button,button.is-small{margin-left:0;",nb,";}",_f({marginLeft:8}),";");var xb=(0,s.forwardRef)((function(e,t){let{describedBy:n,label:r,onHideTooltip:o=l.noop,onMouseLeave:i=l.noop,onMouseMove:u=l.noop,onShowTooltip:c=l.noop,value:d,...f}=e;const p=function(e){let{onHide:t=l.noop,onMouseLeave:n=l.noop,onMouseMove:r=l.noop,onShow:o=l.noop,timeout:i=300}=e;const[a,u]=(0,s.useState)(!1),c=(0,s.useRef)(),d=(0,s.useCallback)((e=>{window.clearTimeout(c.current),c.current=setTimeout(e,i)}),[i]),f=(0,s.useCallback)((e=>{r(e),d((()=>{a||(u(!0),o())}))}),[]),p=(0,s.useCallback)((e=>{n(e),d((()=>{u(!1),t()}))}),[]);return(0,s.useEffect)((()=>()=>{window.clearTimeout(c.current)})),{onMouseMove:f,onMouseLeave:p}}({onHide:o,onMouseLeave:i,onMouseMove:u,onShow:c});return(0,s.createElement)(vb,a({},f,p,{"aria-describedby":n,"aria-label":r,"aria-hidden":!1,ref:t,tabIndex:0,type:"range",value:d}))}));function Eb(e){let{className:t,isFilled:n=!1,label:r,style:o={},...i}=e;const l=c()("components-range-control__mark",n&&"is-filled",t),u=c()("components-range-control__mark-label",n&&"is-filled");return(0,s.createElement)(s.Fragment,null,(0,s.createElement)(cb,a({},i,{"aria-hidden":"true",className:l,isFilled:n,style:o})),r&&(0,s.createElement)(db,{"aria-hidden":"true",className:u,isFilled:n,style:o},r))}function kb(e){let{disabled:t=!1,marks:n=!1,min:r=0,max:o=100,step:i=1,value:l=0,...u}=e;return(0,s.createElement)(s.Fragment,null,(0,s.createElement)(sb,a({disabled:t},u)),n&&(0,s.createElement)(Sb,{disabled:t,marks:n,min:r,max:o,step:i,value:l}))}function Sb(e){let{disabled:t=!1,marks:n=!1,min:r=0,max:o=100,step:i=1,value:l=0}=e;"any"===i&&(i=1);const u=function(e){let{marks:t,min:n=0,max:r=100,step:o=1,value:i=0}=e;if(!t)return[];const a=r-n;if(!Array.isArray(t)){t=[];const e=1+Math.round(a/o);for(;e>t.push({value:o*t.length+n}););}const s=[];return t.forEach(((e,t)=>{if(e.value<n||e.value>r)return;const o=`mark-${t}`,l=e.value<=i,u=(e.value-n)/a*100+"%",c={[(0,d.isRTL)()?"right":"left"]:u};s.push({...e,isFilled:l,key:o,style:c})})),s}({marks:n,min:r,max:o,step:i,value:l});return(0,s.createElement)(ub,{"aria-hidden":"true",className:"components-range-control__marks"},u.map((e=>(0,s.createElement)(Eb,a({},e,{key:e.key,"aria-hidden":"true",disabled:t})))))}function Cb(e){let{className:t,inputRef:n,tooltipPosition:r,show:o=!1,style:i={},value:l=0,renderTooltipContent:u=(e=>e),zIndex:d=100,...f}=e;const p=function(e){let{inputRef:t,tooltipPosition:n}=e;const[r,o]=(0,s.useState)(),i=(0,s.useCallback)((()=>{t&&t.current&&o(n)}),[n]);return(0,s.useEffect)((()=>{i()}),[i]),(0,s.useEffect)((()=>(window.addEventListener("resize",i),()=>{window.removeEventListener("resize",i)}))),r}({inputRef:n,tooltipPosition:r}),h=c()("components-simple-tooltip",t),m={...i,zIndex:d};return(0,s.createElement)(yb,a({},f,{"aria-hidden":o,className:h,position:p,show:o,role:"tooltip",style:m}),u(l))}var Pb=(0,s.forwardRef)((function e(t,n){var r;let{afterIcon:o,allowReset:i=!1,beforeIcon:u,className:p,currentInput:h,color:m=_o.ui.theme,disabled:v=!1,help:g,initialPosition:b,isShiftStepEnabled:y=!0,label:w,hideLabelFromVision:_=!1,marks:x=!1,max:E=100,min:k=0,onBlur:S=l.noop,onChange:C=l.noop,onFocus:P=l.noop,onMouseMove:O=l.noop,onMouseLeave:T=l.noop,railColor:M,resetFallbackValue:D,renderTooltipContent:I=(e=>e),showTooltip:R,shiftStep:A=10,step:N=1,trackColor:L,value:F,withInputField:j=!0,...z}=t;const[B,H]=function(e){let{min:t,max:n,value:r,initial:o}=e;const[i,a]=$m(tb(r,t,n),{initial:o,fallback:null});return[i,(0,s.useCallback)((e=>{a(null===e?null:tb(e,t,n))}),[t,n])]}({min:k,max:E,value:F,initial:b}),V=(0,s.useRef)(!1);"any"===N&&(R=!1,j=!1);const[$,W]=(0,s.useState)(R),[K,U]=(0,s.useState)(!1),G=(0,s.useRef)(),q=null===(r=G.current)||void 0===r?void 0:r.matches(":focus"),Y=!v&&K,X=null===B,Z=X?"":void 0!==B?B:h,J=X?(E-k)/2+k:B,Q=X?50:(B-k)/(E-k)*100,ee=`${(0,l.clamp)(Q,0,100)}%`,te=c()("components-range-control",p),ne=c()("components-range-control__wrapper",!!x&&"is-marked"),re=(0,f.useInstanceId)(e,"inspector-range-control"),oe=g?`${re}__help`:void 0,ie=!1!==R&&(0,l.isFinite)(B),ae=()=>{let e=parseFloat(D),t=e;isNaN(e)&&(e=null,t=void 0),H(e),C(t)},se={[(0,d.isRTL)()?"right":"left"]:ee};return(0,s.createElement)(hm,{className:te,label:w,hideLabelFromVision:_,id:re,help:g},(0,s.createElement)(rb,{className:"components-range-control__root"},u&&(0,s.createElement)(ib,null,(0,s.createElement)(Ve,{icon:u})),(0,s.createElement)(ob,{className:ne,color:m,marks:!!x},(0,s.createElement)(xb,a({},z,{className:"components-range-control__slider",describedBy:oe,disabled:v,id:re,label:w,max:E,min:k,onBlur:e=>{S(e),U(!1),W(!1)},onChange:e=>{const t=parseFloat(e.target.value);H(t),C(t)},onFocus:e=>{P(e),U(!0),W(!0)},onMouseMove:O,onMouseLeave:T,ref:e=>{G.current=e,n&&n(e)},step:N,value:Z})),(0,s.createElement)(kb,{"aria-hidden":!0,disabled:v,marks:x,max:E,min:k,railColor:M,step:N,value:J}),(0,s.createElement)(lb,{"aria-hidden":!0,className:"components-range-control__track",disabled:v,style:{width:ee},trackColor:L}),(0,s.createElement)(hb,{style:se,disabled:v},(0,s.createElement)(mb,{"aria-hidden":!0,isFocused:Y,disabled:v})),ie&&(0,s.createElement)(Cb,{className:"components-range-control__tooltip",inputRef:G,tooltipPosition:"bottom",renderTooltipContent:I,show:q||$,style:se,value:B})),o&&(0,s.createElement)(ab,null,(0,s.createElement)(Ve,{icon:o})),j&&(0,s.createElement)(wb,{"aria-label":w,className:"components-range-control__number",disabled:v,inputMode:"decimal",isShiftStepEnabled:y,max:E,min:k,onBlur:()=>{V.current&&(ae(),V.current=!1)},onChange:e=>{e=parseFloat(e),H(e),isNaN(e)?i&&(V.current=!0):((e<k||e>E)&&(e=tb(e,k,E)),C(e),V.current=!1)},shiftStep:A,step:N,value:Z}),i&&(0,s.createElement)(_b,null,(0,s.createElement)(Hn,{className:"components-range-control__reset",disabled:v||void 0===B,variant:"secondary",isSmall:!0,onClick:ae},(0,d.__)("Reset")))))}));const Ob=Ln(xm,{target:"ez9hsf46"})(ap,"{width:",hf(24),";}"),Tb=Ln(eb,{target:"ez9hsf45"})("margin-left:",hf(-2),";width:5em;",fp,"{display:none;}"),Mb=Ln(Pb,{target:"ez9hsf44"})("flex:1;",cm,"{margin-bottom:0;}"),Db=`\n&&& ${sp} {\n\theight: 40px;\n}`,Ib=`\n.react-colorful__interactive {\n\twidth: calc( 100% - ${hf(2)} );\n\tmargin-left: ${hf(1)};\n}`,Rb=Ln("div",{target:"ez9hsf43"})("padding:",hf(2)," ",hf(4),";"),Ab=Ln("div",{target:"ez9hsf42"})("width:216px;.react-colorful{display:flex;flex-direction:column;align-items:center;width:216px;height:auto;}.react-colorful__saturation{width:100%;border-radius:0;height:216px;margin-bottom:",hf(4),";border-bottom:none;}.react-colorful__hue,.react-colorful__alpha{width:184px;height:16px;border-radius:16px;margin-bottom:",hf(2),";}.react-colorful__pointer{height:16px;width:16px;border:none;box-shadow:0 0 2px 0 rgba( 0, 0, 0, 0.25 );outline:2px solid transparent;}.react-colorful__pointer-fill{box-shadow:inset 0 0 0 ",Af.borderWidthFocus," #fff;}",Ib," ",cm,"{margin-bottom:0;}",Db,";"),Nb=Ln(Hn,{target:"ez9hsf41"})("&&&&&{min-width:",hf(6),";padding:0;}"),Lb=Ln(Gh,{target:"ez9hsf40"})({name:"1287a6j",styles:"width:8em"});function Fb(e){var t=e.getBoundingClientRect();return{width:t.width,height:t.height,top:t.top,right:t.right,bottom:t.bottom,left:t.left,x:t.left,y:t.top}}function jb(e){if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function zb(e){var t=jb(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Bb(e){return e instanceof jb(e).Element||e instanceof Element}function Hb(e){return e instanceof jb(e).HTMLElement||e instanceof HTMLElement}function Vb(e){return e?(e.nodeName||"").toLowerCase():null}function $b(e){return((Bb(e)?e.ownerDocument:e.document)||window.document).documentElement}function Wb(e){return Fb($b(e)).left+zb(e).scrollLeft}function Kb(e){return jb(e).getComputedStyle(e)}function Ub(e){var t=Kb(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function Gb(e,t,n){void 0===n&&(n=!1);var r=$b(t),o=Fb(e),i=Hb(t),a={scrollLeft:0,scrollTop:0},s={x:0,y:0};return(i||!i&&!n)&&(("body"!==Vb(t)||Ub(r))&&(a=function(e){return e!==jb(e)&&Hb(e)?{scrollLeft:(t=e).scrollLeft,scrollTop:t.scrollTop}:zb(e);var t}(t)),Hb(t)?((s=Fb(t)).x+=t.clientLeft,s.y+=t.clientTop):r&&(s.x=Wb(r))),{x:o.left+a.scrollLeft-s.x,y:o.top+a.scrollTop-s.y,width:o.width,height:o.height}}function qb(e){return{x:e.offsetLeft,y:e.offsetTop,width:e.offsetWidth,height:e.offsetHeight}}function Yb(e){return"html"===Vb(e)?e:e.assignedSlot||e.parentNode||e.host||$b(e)}function Xb(e){return["html","body","#document"].indexOf(Vb(e))>=0?e.ownerDocument.body:Hb(e)&&Ub(e)?e:Xb(Yb(e))}function Zb(e,t){void 0===t&&(t=[]);var n=Xb(e),r="body"===Vb(n),o=jb(n),i=r?[o].concat(o.visualViewport||[],Ub(n)?n:[]):n,a=t.concat(i);return r?a:a.concat(Zb(Yb(i)))}function Jb(e){return["table","td","th"].indexOf(Vb(e))>=0}function Qb(e){if(!Hb(e)||"fixed"===Kb(e).position)return null;var t=e.offsetParent;if(t){var n=$b(t);if("body"===Vb(t)&&"static"===Kb(t).position&&"static"!==Kb(n).position)return n}return t}function ey(e){for(var t=jb(e),n=Qb(e);n&&Jb(n)&&"static"===Kb(n).position;)n=Qb(n);return n&&"body"===Vb(n)&&"static"===Kb(n).position?t:n||function(e){for(var t=Yb(e);Hb(t)&&["html","body"].indexOf(Vb(t))<0;){var n=Kb(t);if("none"!==n.transform||"none"!==n.perspective||n.willChange&&"auto"!==n.willChange)return t;t=t.parentNode}return null}(e)||t}var ty="top",ny="bottom",ry="right",oy="left",iy="auto",ay=[ty,ny,ry,oy],sy="start",ly="end",uy="viewport",cy="popper",dy=ay.reduce((function(e,t){return e.concat([t+"-"+sy,t+"-"+ly])}),[]),fy=[].concat(ay,[iy]).reduce((function(e,t){return e.concat([t,t+"-"+sy,t+"-"+ly])}),[]),py=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function hy(e){var t=new Map,n=new Set,r=[];function o(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&o(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||o(e)})),r}var my={placement:"bottom",modifiers:[],strategy:"absolute"};function vy(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function gy(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,o=t.defaultOptions,i=void 0===o?my:o;return function(e,t,n){void 0===n&&(n=i);var o,a,s={placement:"bottom",orderedModifiers:[],options:Object.assign(Object.assign({},my),i),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},l=[],u=!1,c={state:s,setOptions:function(n){d(),s.options=Object.assign(Object.assign(Object.assign({},i),s.options),n),s.scrollParents={reference:Bb(e)?Zb(e):e.contextElement?Zb(e.contextElement):[],popper:Zb(t)};var o,a,u=function(e){var t=hy(e);return py.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}((o=[].concat(r,s.options.modifiers),a=o.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign(Object.assign(Object.assign({},n),t),{},{options:Object.assign(Object.assign({},n.options),t.options),data:Object.assign(Object.assign({},n.data),t.data)}):t,e}),{}),Object.keys(a).map((function(e){return a[e]}))));return s.orderedModifiers=u.filter((function(e){return e.enabled})),s.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,o=e.effect;if("function"==typeof o){var i=o({state:s,name:t,instance:c,options:r});l.push(i||function(){})}})),c.update()},forceUpdate:function(){if(!u){var e=s.elements,t=e.reference,n=e.popper;if(vy(t,n)){s.rects={reference:Gb(t,ey(n),"fixed"===s.options.strategy),popper:qb(n)},s.reset=!1,s.placement=s.options.placement,s.orderedModifiers.forEach((function(e){return s.modifiersData[e.name]=Object.assign({},e.data)}));for(var r=0;r<s.orderedModifiers.length;r++)if(!0!==s.reset){var o=s.orderedModifiers[r],i=o.fn,a=o.options,l=void 0===a?{}:a,d=o.name;"function"==typeof i&&(s=i({state:s,options:l,name:d,instance:c})||s)}else s.reset=!1,r=-1}}},update:(o=function(){return new Promise((function(e){c.forceUpdate(),e(s)}))},function(){return a||(a=new Promise((function(e){Promise.resolve().then((function(){a=void 0,e(o())}))}))),a}),destroy:function(){d(),u=!0}};if(!vy(e,t))return c;function d(){l.forEach((function(e){return e()})),l=[]}return c.setOptions(n).then((function(e){!u&&n.onFirstUpdate&&n.onFirstUpdate(e)})),c}}var by={passive:!0};function yy(e){return e.split("-")[0]}function wy(e){return e.split("-")[1]}function _y(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function xy(e){var t,n=e.reference,r=e.element,o=e.placement,i=o?yy(o):null,a=o?wy(o):null,s=n.x+n.width/2-r.width/2,l=n.y+n.height/2-r.height/2;switch(i){case ty:t={x:s,y:n.y-r.height};break;case ny:t={x:s,y:n.y+n.height};break;case ry:t={x:n.x+n.width,y:l};break;case oy:t={x:n.x-r.width,y:l};break;default:t={x:n.x,y:n.y}}var u=i?_y(i):null;if(null!=u){var c="y"===u?"height":"width";switch(a){case sy:t[u]=t[u]-(n[c]/2-r[c]/2);break;case ly:t[u]=t[u]+(n[c]/2-r[c]/2)}}return t}var Ey={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ky(e){var t,n=e.popper,r=e.popperRect,o=e.placement,i=e.offsets,a=e.position,s=e.gpuAcceleration,l=e.adaptive,u=e.roundOffsets?function(e){var t=e.x,n=e.y,r=window.devicePixelRatio||1;return{x:Math.round(t*r)/r||0,y:Math.round(n*r)/r||0}}(i):i,c=u.x,d=void 0===c?0:c,f=u.y,p=void 0===f?0:f,h=i.hasOwnProperty("x"),m=i.hasOwnProperty("y"),v=oy,g=ty,b=window;if(l){var y=ey(n);y===jb(n)&&(y=$b(n)),o===ty&&(g=ny,p-=y.clientHeight-r.height,p*=s?1:-1),o===oy&&(v=ry,d-=y.clientWidth-r.width,d*=s?1:-1)}var w,_=Object.assign({position:a},l&&Ey);return s?Object.assign(Object.assign({},_),{},((w={})[g]=m?"0":"",w[v]=h?"0":"",w.transform=(b.devicePixelRatio||1)<2?"translate("+d+"px, "+p+"px)":"translate3d("+d+"px, "+p+"px, 0)",w)):Object.assign(Object.assign({},_),{},((t={})[g]=m?p+"px":"",t[v]=h?d+"px":"",t.transform="",t))}var Sy={left:"right",right:"left",bottom:"top",top:"bottom"};function Cy(e){return e.replace(/left|right|bottom|top/g,(function(e){return Sy[e]}))}var Py={start:"end",end:"start"};function Oy(e){return e.replace(/start|end/g,(function(e){return Py[e]}))}function Ty(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&function(e){return e instanceof jb(e).ShadowRoot||e instanceof ShadowRoot}(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function My(e){return Object.assign(Object.assign({},e),{},{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Dy(e,t){return t===uy?My(function(e){var t=jb(e),n=$b(e),r=t.visualViewport,o=n.clientWidth,i=n.clientHeight,a=0,s=0;return r&&(o=r.width,i=r.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(a=r.offsetLeft,s=r.offsetTop)),{width:o,height:i,x:a+Wb(e),y:s}}(e)):Hb(t)?function(e){var t=Fb(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}(t):My(function(e){var t=$b(e),n=zb(e),r=e.ownerDocument.body,o=Math.max(t.scrollWidth,t.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),i=Math.max(t.scrollHeight,t.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),a=-n.scrollLeft+Wb(e),s=-n.scrollTop;return"rtl"===Kb(r||t).direction&&(a+=Math.max(t.clientWidth,r?r.clientWidth:0)-o),{width:o,height:i,x:a,y:s}}($b(e)))}function Iy(e){return Object.assign(Object.assign({},{top:0,right:0,bottom:0,left:0}),e)}function Ry(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function Ay(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=void 0===r?e.placement:r,i=n.boundary,a=void 0===i?"clippingParents":i,s=n.rootBoundary,l=void 0===s?uy:s,u=n.elementContext,c=void 0===u?cy:u,d=n.altBoundary,f=void 0!==d&&d,p=n.padding,h=void 0===p?0:p,m=Iy("number"!=typeof h?h:Ry(h,ay)),v=c===cy?"reference":cy,g=e.elements.reference,b=e.rects.popper,y=e.elements[f?v:c],w=function(e,t,n){var r="clippingParents"===t?function(e){var t=Zb(Yb(e)),n=["absolute","fixed"].indexOf(Kb(e).position)>=0&&Hb(e)?ey(e):e;return Bb(n)?t.filter((function(e){return Bb(e)&&Ty(e,n)&&"body"!==Vb(e)})):[]}(e):[].concat(t),o=[].concat(r,[n]),i=o[0],a=o.reduce((function(t,n){var r=Dy(e,n);return t.top=Math.max(r.top,t.top),t.right=Math.min(r.right,t.right),t.bottom=Math.min(r.bottom,t.bottom),t.left=Math.max(r.left,t.left),t}),Dy(e,i));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}(Bb(y)?y:y.contextElement||$b(e.elements.popper),a,l),_=Fb(g),x=xy({reference:_,element:b,strategy:"absolute",placement:o}),E=My(Object.assign(Object.assign({},b),x)),k=c===cy?E:_,S={top:w.top-k.top+m.top,bottom:k.bottom-w.bottom+m.bottom,left:w.left-k.left+m.left,right:k.right-w.right+m.right},C=e.modifiersData.offset;if(c===cy&&C){var P=C[o];Object.keys(S).forEach((function(e){var t=[ry,ny].indexOf(e)>=0?1:-1,n=[ty,ny].indexOf(e)>=0?"y":"x";S[e]+=P[n]*t}))}return S}function Ny(e,t,n){return Math.max(e,Math.min(t,n))}function Ly(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function Fy(e){return[ty,ry,ny,oy].some((function(t){return e[t]>=0}))}var jy=gy({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,i=void 0===o||o,a=r.resize,s=void 0===a||a,l=jb(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&u.forEach((function(e){e.addEventListener("scroll",n.update,by)})),s&&l.addEventListener("resize",n.update,by),function(){i&&u.forEach((function(e){e.removeEventListener("scroll",n.update,by)})),s&&l.removeEventListener("resize",n.update,by)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=xy({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=void 0===r||r,i=n.adaptive,a=void 0===i||i,s=n.roundOffsets,l=void 0===s||s,u={placement:yy(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign(Object.assign({},t.styles.popper),ky(Object.assign(Object.assign({},u),{},{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign(Object.assign({},t.styles.arrow),ky(Object.assign(Object.assign({},u),{},{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign(Object.assign({},t.attributes.popper),{},{"data-popper-placement":t.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];Hb(o)&&Vb(o)&&(Object.assign(o.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var r=t.elements[e],o=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});Hb(r)&&Vb(r)&&(Object.assign(r.style,i),Object.keys(o).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=void 0===o?[0,0]:o,a=fy.reduce((function(e,n){return e[n]=function(e,t,n){var r=yy(e),o=[oy,ty].indexOf(r)>=0?-1:1,i="function"==typeof n?n(Object.assign(Object.assign({},t),{},{placement:e})):n,a=i[0],s=i[1];return a=a||0,s=(s||0)*o,[oy,ry].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}(n,t.rects,i),e}),{}),s=a[t.placement],l=s.x,u=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=u),t.modifiersData[r]=a}},{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,i=void 0===o||o,a=n.altAxis,s=void 0===a||a,l=n.fallbackPlacements,u=n.padding,c=n.boundary,d=n.rootBoundary,f=n.altBoundary,p=n.flipVariations,h=void 0===p||p,m=n.allowedAutoPlacements,v=t.options.placement,g=yy(v),b=l||(g!==v&&h?function(e){if(yy(e)===iy)return[];var t=Cy(e);return[Oy(e),t,Oy(t)]}(v):[Cy(v)]),y=[v].concat(b).reduce((function(e,n){return e.concat(yy(n)===iy?function(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,i=n.rootBoundary,a=n.padding,s=n.flipVariations,l=n.allowedAutoPlacements,u=void 0===l?fy:l,c=wy(r),d=c?s?dy:dy.filter((function(e){return wy(e)===c})):ay,f=d.filter((function(e){return u.indexOf(e)>=0}));0===f.length&&(f=d);var p=f.reduce((function(t,n){return t[n]=Ay(e,{placement:n,boundary:o,rootBoundary:i,padding:a})[yy(n)],t}),{});return Object.keys(p).sort((function(e,t){return p[e]-p[t]}))}(t,{placement:n,boundary:c,rootBoundary:d,padding:u,flipVariations:h,allowedAutoPlacements:m}):n)}),[]),w=t.rects.reference,_=t.rects.popper,x=new Map,E=!0,k=y[0],S=0;S<y.length;S++){var C=y[S],P=yy(C),O=wy(C)===sy,T=[ty,ny].indexOf(P)>=0,M=T?"width":"height",D=Ay(t,{placement:C,boundary:c,rootBoundary:d,altBoundary:f,padding:u}),I=T?O?ry:oy:O?ny:ty;w[M]>_[M]&&(I=Cy(I));var R=Cy(I),A=[];if(i&&A.push(D[P]<=0),s&&A.push(D[I]<=0,D[R]<=0),A.every((function(e){return e}))){k=C,E=!1;break}x.set(C,A)}if(E)for(var N=function(e){var t=y.find((function(t){var n=x.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return k=t,"break"},L=h?3:1;L>0&&"break"!==N(L);L--);t.placement!==k&&(t.modifiersData[r]._skip=!0,t.placement=k,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,i=void 0===o||o,a=n.altAxis,s=void 0!==a&&a,l=n.boundary,u=n.rootBoundary,c=n.altBoundary,d=n.padding,f=n.tether,p=void 0===f||f,h=n.tetherOffset,m=void 0===h?0:h,v=Ay(t,{boundary:l,rootBoundary:u,padding:d,altBoundary:c}),g=yy(t.placement),b=wy(t.placement),y=!b,w=_y(g),_="x"===w?"y":"x",x=t.modifiersData.popperOffsets,E=t.rects.reference,k=t.rects.popper,S="function"==typeof m?m(Object.assign(Object.assign({},t.rects),{},{placement:t.placement})):m,C={x:0,y:0};if(x){if(i){var P="y"===w?ty:oy,O="y"===w?ny:ry,T="y"===w?"height":"width",M=x[w],D=x[w]+v[P],I=x[w]-v[O],R=p?-k[T]/2:0,A=b===sy?E[T]:k[T],N=b===sy?-k[T]:-E[T],L=t.elements.arrow,F=p&&L?qb(L):{width:0,height:0},j=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},z=j[P],B=j[O],H=Ny(0,E[T],F[T]),V=y?E[T]/2-R-H-z-S:A-H-z-S,$=y?-E[T]/2+R+H+B+S:N+H+B+S,W=t.elements.arrow&&ey(t.elements.arrow),K=W?"y"===w?W.clientTop||0:W.clientLeft||0:0,U=t.modifiersData.offset?t.modifiersData.offset[t.placement][w]:0,G=x[w]+V-U-K,q=x[w]+$-U,Y=Ny(p?Math.min(D,G):D,M,p?Math.max(I,q):I);x[w]=Y,C[w]=Y-M}if(s){var X="x"===w?ty:oy,Z="x"===w?ny:ry,J=x[_],Q=Ny(J+v[X],J,J-v[Z]);x[_]=Q,C[_]=Q-J}t.modifiersData[r]=C}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=n.elements.arrow,i=n.modifiersData.popperOffsets,a=yy(n.placement),s=_y(a),l=[oy,ry].indexOf(a)>=0?"height":"width";if(o&&i){var u=n.modifiersData[r+"#persistent"].padding,c=qb(o),d="y"===s?ty:oy,f="y"===s?ny:ry,p=n.rects.reference[l]+n.rects.reference[s]-i[s]-n.rects.popper[l],h=i[s]-n.rects.reference[s],m=ey(o),v=m?"y"===s?m.clientHeight||0:m.clientWidth||0:0,g=p/2-h/2,b=u[d],y=v-c[l]-u[f],w=v/2-c[l]/2+g,_=Ny(b,w,y),x=s;n.modifiersData[r]=((t={})[x]=_,t.centerOffset=_-w,t)}},effect:function(e){var t=e.state,n=e.options,r=e.name,o=n.element,i=void 0===o?"[data-popper-arrow]":o,a=n.padding,s=void 0===a?0:a;null!=i&&("string"!=typeof i||(i=t.elements.popper.querySelector(i)))&&Ty(t.elements.popper,i)&&(t.elements.arrow=i,t.modifiersData[r+"#persistent"]={padding:Iy("number"!=typeof s?s:Ry(s,ay))})},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=Ay(t,{elementContext:"reference"}),s=Ay(t,{altBoundary:!0}),l=Ly(a,r),u=Ly(s,o,i),c=Fy(l),d=Fy(u);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:u,isReferenceHidden:c,hasPopperEscaped:d},t.attributes.popper=Object.assign(Object.assign({},t.attributes.popper),{},{"data-popper-reference-hidden":c,"data-popper-escaped":d})}}]});var zy=ne("Mac")&&!ne("Chrome")&&ne("Safari");function By(e){return function(t){return e&&!F(t,e)?e:t}}function Hy(e){void 0===e&&(e={});var t=Do(e),n=t.gutter,r=void 0===n?12:n,o=t.placement,i=void 0===o?"bottom":o,a=t.unstable_flip,s=void 0===a||a,l=t.unstable_offset,u=t.unstable_preventOverflow,c=void 0===u||u,d=t.unstable_fixed,f=void 0!==d&&d,p=t.modal,h=void 0!==p&&p,g=v(t,["gutter","placement","unstable_flip","unstable_offset","unstable_preventOverflow","unstable_fixed","modal"]),b=(0,y.useRef)(null),w=(0,y.useRef)(null),_=(0,y.useRef)(null),x=(0,y.useRef)(null),E=(0,y.useState)(i),k=E[0],S=E[1],C=(0,y.useState)(i),P=C[0],O=C[1],T=(0,y.useState)(l||[0,r])[0],M=(0,y.useState)({position:"fixed",left:"100%",top:"100%"}),D=M[0],I=M[1],R=(0,y.useState)({}),A=R[0],N=R[1],L=function(e){void 0===e&&(e={});var t=Do(e),n=t.modal,r=void 0===n||n,o=function(e){void 0===e&&(e={});var t,n,r=Do(e),o=r.visible,i=void 0!==o&&o,a=r.animated,s=void 0!==a&&a,l=Fo(v(r,["visible","animated"])),u=(0,y.useState)(i),c=u[0],d=u[1],f=(0,y.useState)(s),p=f[0],h=f[1],g=(0,y.useState)(!1),b=g[0],w=g[1],_=(t=c,n=(0,y.useRef)(null),G((function(){n.current=t}),[t]),n),x=null!=_.current&&_.current!==c;p&&!b&&x&&w(!0),(0,y.useEffect)((function(){if("number"==typeof p&&b){var e=setTimeout((function(){return w(!1)}),p);return function(){clearTimeout(e)}}return function(){}}),[p,b]);var E=(0,y.useCallback)((function(){return d(!0)}),[]),k=(0,y.useCallback)((function(){return d(!1)}),[]),S=(0,y.useCallback)((function(){return d((function(e){return!e}))}),[]),C=(0,y.useCallback)((function(){return w(!1)}),[]);return m(m({},l),{},{visible:c,animated:p,animating:b,show:E,hide:k,toggle:S,setVisible:d,setAnimated:h,stopAnimation:C})}(v(t,["modal"])),i=(0,y.useState)(r),a=i[0],s=i[1],l=(0,y.useRef)(null);return m(m({},o),{},{modal:a,setModal:s,unstable_disclosureRef:l})}(m({modal:h},g)),F=(0,y.useCallback)((function(){return!!b.current&&(b.current.forceUpdate(),!0)}),[]),j=(0,y.useCallback)((function(e){e.placement&&O(e.placement),e.styles&&(I(By(e.styles.popper)),x.current&&N(By(e.styles.arrow)))}),[]);return G((function(){return w.current&&_.current&&(b.current=jy(w.current,_.current,{placement:k,strategy:f?"fixed":"absolute",onFirstUpdate:zy?j:void 0,modifiers:[{name:"eventListeners",enabled:L.visible},{name:"applyStyles",enabled:!1},{name:"flip",enabled:s,options:{padding:8}},{name:"offset",options:{offset:T}},{name:"preventOverflow",enabled:c,options:{tetherOffset:function(){var e;return(null===(e=x.current)||void 0===e?void 0:e.clientWidth)||0}}},{name:"arrow",enabled:!!x.current,options:{element:x.current}},{name:"updateState",phase:"write",requires:["computeStyles"],enabled:L.visible&&!0,fn:function(e){var t=e.state;return j(t)}}]})),function(){b.current&&(b.current.destroy(),b.current=null)}}),[k,f,L.visible,s,T,c]),(0,y.useEffect)((function(){if(L.visible){var e=window.requestAnimationFrame((function(){var e;null===(e=b.current)||void 0===e||e.forceUpdate()}));return function(){window.cancelAnimationFrame(e)}}}),[L.visible]),m(m({},L),{},{unstable_referenceRef:w,unstable_popoverRef:_,unstable_arrowRef:x,unstable_popoverStyles:D,unstable_arrowStyles:A,unstable_update:F,unstable_originalPlacement:k,placement:P,place:S})}var Vy={currentTooltipId:null,listeners:new Set,subscribe:function(e){var t=this;return this.listeners.add(e),function(){t.listeners.delete(e)}},show:function(e){this.currentTooltipId=e,this.listeners.forEach((function(t){return t(e)}))},hide:function(e){this.currentTooltipId===e&&(this.currentTooltipId=null,this.listeners.forEach((function(e){return e(null)})))}},$y=["baseId","unstable_idCountRef","visible","animated","animating","setBaseId","show","hide","toggle","setVisible","setAnimated","stopAnimation","unstable_disclosureRef","unstable_referenceRef","unstable_popoverRef","unstable_arrowRef","unstable_popoverStyles","unstable_arrowStyles","unstable_originalPlacement","unstable_update","placement","place","unstable_timeout","unstable_setTimeout"],Wy=[].concat($y,["unstable_portal"]),Ky=z({as:"div",useHook:H({name:"TooltipReference",compose:ue,keys:$y,useProps:function(e,t){var n=t.ref,r=t.onFocus,o=t.onBlur,i=t.onMouseEnter,a=t.onMouseLeave,s=v(t,["ref","onFocus","onBlur","onMouseEnter","onMouseLeave"]),l=q(r),u=q(o),c=q(i),d=q(a),f=(0,y.useCallback)((function(t){var n,r;null===(n=l.current)||void 0===n||n.call(l,t),t.defaultPrevented||null===(r=e.show)||void 0===r||r.call(e)}),[e.show]),p=(0,y.useCallback)((function(t){var n,r;null===(n=u.current)||void 0===n||n.call(u,t),t.defaultPrevented||null===(r=e.hide)||void 0===r||r.call(e)}),[e.hide]),h=(0,y.useCallback)((function(t){var n,r;null===(n=c.current)||void 0===n||n.call(c,t),t.defaultPrevented||null===(r=e.show)||void 0===r||r.call(e)}),[e.show]),g=(0,y.useCallback)((function(t){var n,r;null===(n=d.current)||void 0===n||n.call(d,t),t.defaultPrevented||null===(r=e.hide)||void 0===r||r.call(e)}),[e.hide]);return m({ref:$(e.unstable_referenceRef,n),tabIndex:0,onFocus:f,onBlur:p,onMouseEnter:h,onMouseLeave:g,"aria-describedby":e.baseId},s)}})});const Uy=(0,s.createContext)({});var Gy=["baseId","unstable_idCountRef","visible","animated","animating","setBaseId","show","hide","toggle","setVisible","setAnimated","stopAnimation"],qy=H({name:"DisclosureContent",compose:ue,keys:Gy,useProps:function(e,t){var n=t.onTransitionEnd,r=t.onAnimationEnd,o=t.style,i=v(t,["onTransitionEnd","onAnimationEnd","style"]),a=e.animated&&e.animating,s=(0,y.useState)(null),l=s[0],u=s[1],c=!e.visible&&!a,d=c?m({display:"none"},o):o,f=q(n),p=q(r),h=(0,y.useRef)(0);(0,y.useEffect)((function(){if(e.animated)return h.current=window.requestAnimationFrame((function(){h.current=window.requestAnimationFrame((function(){e.visible?u("enter"):u(a?"leave":null)}))})),function(){return window.cancelAnimationFrame(h.current)}}),[e.animated,e.visible,a]);var g=(0,y.useCallback)((function(t){var n;Y(t)&&a&&!0===e.animated&&(null===(n=e.stopAnimation)||void 0===n||n.call(e))}),[e.animated,a,e.stopAnimation]),b=(0,y.useCallback)((function(e){var t;null===(t=f.current)||void 0===t||t.call(f,e),g(e)}),[g]),w=(0,y.useCallback)((function(e){var t;null===(t=p.current)||void 0===t||t.call(p,e),g(e)}),[g]);return m({id:e.baseId,"data-enter":"enter"===l?"":void 0,"data-leave":"leave"===l?"":void 0,onTransitionEnd:b,onAnimationEnd:w,hidden:c,style:d},i)}}),Yy=z({as:"div",useHook:qy}),Xy=window.ReactDOM;function Zy(){return U?document.body:null}var Jy=(0,y.createContext)(Zy());function Qy(e){var t=e.children,n=(0,y.useContext)(Jy)||Zy(),r=(0,y.useState)((function(){if(U){var e=document.createElement("div");return e.className=Qy.__className,e}return null}))[0];return G((function(){if(r&&n)return n.appendChild(r),function(){n.removeChild(r)}}),[r,n]),r?(0,Xy.createPortal)((0,y.createElement)(Jy.Provider,{value:r},t),r):null}function ew(e){e.defaultPrevented||"Escape"===e.key&&Vy.show(null)}Qy.__className="__reakit-portal",Qy.__selector="."+Qy.__className;var tw=z({as:"div",memo:!0,useHook:H({name:"Tooltip",compose:qy,keys:Wy,useOptions:function(e){var t=e.unstable_portal;return m({unstable_portal:void 0===t||t},v(e,["unstable_portal"]))},useProps:function(e,t){var n=t.ref,r=t.style,o=t.wrapElement,i=v(t,["ref","style","wrapElement"]);(0,y.useEffect)((function(){var t;W(null===(t=e.unstable_popoverRef)||void 0===t?void 0:t.current).addEventListener("keydown",ew)}),[]);var a=(0,y.useCallback)((function(t){return e.unstable_portal&&(t=(0,y.createElement)(Qy,null,t)),o?o(t):t}),[e.unstable_portal,o]);return m({ref:$(e.unstable_popoverRef,n),role:"tooltip",style:m(m({},e.unstable_popoverStyles),{},{pointerEvents:"none"},r),wrapElement:a},i)}})}),nw=Cn((function(e,t){const{as:n="span",shortcut:r,className:o,...i}=Sn(e,"Shortcut");if(!r)return null;let l,u;return"string"==typeof r?l=r:(l=r.display,u=r.ariaLabel),(0,s.createElement)(jn,a({as:n,className:o,"aria-label":u,ref:t},i),l)}),"Shortcut");const rw=Rr("z-index:",1000002,";box-sizing:border-box;opacity:0;outline:none;transform-origin:top center;transition:opacity ",Af.transitionDurationFastest," ease;&[data-enter]{opacity:1;}",""),ow=Ln("div",{target:"e7tfjmw1"})("background:rgba( 0, 0, 0, 0.8 );border-radius:2px;box-shadow:0 0 0 1px rgba( 255, 255, 255, 0.04 );color:",_o.white,";padding:4px 8px;"),iw={name:"12mkfdx",styles:"outline:none"},aw=Ln(nw,{target:"e7tfjmw0"})("display:inline-block;margin-left:",hf(1),";"),{TooltipPopoverView:sw}=t;var lw=Cn((function(e,t){const{children:n,className:r,...o}=Sn(e,"TooltipContent"),{tooltip:i}=(0,s.useContext)(Uy),l=kn()(rw,r);return(0,s.createElement)(tw,a({as:jn},o,i,{className:l,ref:t}),(0,s.createElement)(sw,null,n))}),"TooltipContent"),uw=Cn((function(e,t){const{animated:n=!0,animationDuration:r=160,baseId:o,children:i,content:l,focusable:u=!0,gutter:c=4,id:d,modal:f=!0,placement:p,visible:h=!1,shortcut:g,...b}=Sn(e,"Tooltip"),w=function(e){void 0===e&&(e={});var t=Do(e),n=t.placement,r=void 0===n?"top":n,o=t.unstable_timeout,i=void 0===o?0:o,a=v(t,["placement","unstable_timeout"]),s=(0,y.useState)(i),l=s[0],u=s[1],c=(0,y.useRef)(null),d=(0,y.useRef)(null),f=Hy(m(m({},a),{},{placement:r})),p=(f.modal,f.setModal,v(f,["modal","setModal"])),h=(0,y.useCallback)((function(){null!==c.current&&window.clearTimeout(c.current),null!==d.current&&window.clearTimeout(d.current)}),[]),g=(0,y.useCallback)((function(){h(),p.hide(),d.current=window.setTimeout((function(){Vy.hide(p.baseId)}),l)}),[h,p.hide,l,p.baseId]),b=(0,y.useCallback)((function(){h(),!l||Vy.currentTooltipId?(Vy.show(p.baseId),p.show()):(Vy.show(null),c.current=window.setTimeout((function(){Vy.show(p.baseId),p.show()}),l))}),[h,l,p.show,p.baseId]);return(0,y.useEffect)((function(){return Vy.subscribe((function(e){e!==p.baseId&&(h(),p.visible&&p.hide())}))}),[p.baseId,h,p.visible,p.hide]),(0,y.useEffect)((function(){return function(){h(),Vy.hide(p.baseId)}}),[h,p.baseId]),m(m({},p),{},{hide:g,show:b,unstable_timeout:l,unstable_setTimeout:u})}({animated:n?r:void 0,baseId:o||d,gutter:c,placement:p,visible:h,...b}),_=(0,s.useMemo)((()=>({tooltip:w})),[w]);return(0,s.createElement)(Uy.Provider,{value:_},l&&(0,s.createElement)(lw,{unstable_portal:f,ref:t},l,g&&(0,s.createElement)(aw,{shortcut:g})),i&&(0,s.createElement)(Ky,a({},w,i.props,{ref:null==i?void 0:i.ref}),(e=>(u||(e.tabIndex=void 0),(0,s.cloneElement)(i,e)))))}),"Tooltip");const cw=e=>{let{values:t}=e;return(0,s.createElement)(s.Fragment,null,t.map((e=>{let[t,n]=e;return(0,s.createElement)(cf,{key:n,isBlock:!0,display:"flex"},(0,s.createElement)(Xf,{color:_o.ui.theme},n),(0,s.createElement)(Xf,null,t))})))},dw=e=>{let{color:t,enableAlpha:n}=e;const{h:r,s:o,l:i,a:a}=t.toHsl(),l=[[Math.floor(r),"H"],[Math.round(100*o),"S"],[Math.round(100*i),"L"]];return n&&l.push([Math.round(100*a),"A"]),(0,s.createElement)(cw,{values:l})},fw=e=>{let{color:t,enableAlpha:n}=e;const{r:r,g:o,b:i,a:a}=t.toRgb(),l=[[r,"R"],[o,"G"],[i,"B"]];return n&&l.push([Math.round(100*a),"A"]),(0,s.createElement)(cw,{values:l})},pw=e=>{let{color:t}=e;const n=t.toHex().slice(1).toUpperCase();return(0,s.createElement)(cf,null,(0,s.createElement)(Xf,{color:_o.ui.theme},"#"),(0,s.createElement)(Xf,null,n))},hw=e=>{let{color:t,colorType:n,enableAlpha:r}=e;const[o,i]=(0,s.useState)(null),a=(0,s.useRef)(),l={color:t,enableAlpha:r},u=(e=>{switch(e){case"hsl":return dw;case"rgb":return fw;default:case"hex":return pw}})(n),c=(0,f.useCopyToClipboard)((()=>{switch(n){case"hsl":return t.toHslString();case"rgb":return t.toRgbString();default:case"hex":return t.toHex()}}),(()=>{a.current&&clearTimeout(a.current),i(t.toHex()),a.current=setTimeout((()=>{i(null),a.current=void 0}),3e3)}));return(0,s.useEffect)((()=>()=>{a.current&&clearTimeout(a.current)}),[]),(0,s.createElement)(uw,{content:(0,s.createElement)(Xf,{color:"white"},o===t.toHex()?(0,d.__)("Copied!"):(0,d.__)("Copy"))},(0,s.createElement)(Ef,{justify:"flex-start",gap:hf(1),ref:c,style:{height:30}},(0,s.createElement)(u,l)))},mw=e=>{let{min:t,max:n,label:r,abbreviation:o,onChange:i,value:a}=e;return(0,s.createElement)(em,{as:Xg,spacing:4},(0,s.createElement)(Ob,{min:t,max:n,label:r,hideLabelFromVision:!0,value:a,onChange:i,prefix:(0,s.createElement)(em,{as:Xf,paddingLeft:hf(3.5),color:_o.ui.theme,lineHeight:1},o),hideHTMLArrows:!0}),(0,s.createElement)(Mb,{label:r,hideLabelFromVision:!0,min:t,max:n,value:a,onChange:i,withInputField:!1}))},vw=e=>{let{color:t,onChange:n,enableAlpha:r}=e;const{r:o,g:i,b:a,a:l}=t.toRgb();return(0,s.createElement)(s.Fragment,null,(0,s.createElement)(mw,{min:0,max:255,label:"Red",abbreviation:"R",value:o,onChange:e=>n(io({r:e,g:i,b:a,a:l}))}),(0,s.createElement)(mw,{min:0,max:255,label:"Green",abbreviation:"G",value:i,onChange:e=>n(io({r:o,g:e,b:a,a:l}))}),(0,s.createElement)(mw,{min:0,max:255,label:"Blue",abbreviation:"B",value:a,onChange:e=>n(io({r:o,g:i,b:e,a:l}))}),r&&(0,s.createElement)(mw,{min:0,max:100,label:"Alpha",abbreviation:"A",value:Math.trunc(100*l),onChange:e=>n(io({r:o,g:i,b:a,a:e/100}))}))},gw=e=>{let{color:t,onChange:n,enableAlpha:r}=e;const{h:o,s:i,l:a,a:l}=t.toHsl();return(0,s.createElement)(s.Fragment,null,(0,s.createElement)(mw,{min:0,max:359,label:"Hue",abbreviation:"H",value:o,onChange:e=>{n(io({h:e,s:i,l:a,a:l}))}}),(0,s.createElement)(mw,{min:0,max:100,label:"Saturation",abbreviation:"S",value:i,onChange:e=>{n(io({h:o,s:e,l:a,a:l}))}}),(0,s.createElement)(mw,{min:0,max:100,label:"Lightness",abbreviation:"L",value:a,onChange:e=>{n(io({h:o,s:i,l:e,a:l}))}}),r&&(0,s.createElement)(mw,{min:0,max:100,label:"Alpha",abbreviation:"A",value:Math.trunc(100*l),onChange:e=>{n(io({h:o,s:i,l:a,a:e/100}))}}))},bw=e=>{let{color:t,onChange:n,enableAlpha:r}=e;return(0,s.createElement)(Lb,{prefix:(0,s.createElement)(em,{as:Xf,marginLeft:hf(3.5),color:_o.ui.theme,lineHeight:1},"#"),value:t.toHex().slice(1).toUpperCase(),onChange:e=>{n(io("#"+e))},onValidate:e=>{if(!io("#"+e).isValid())throw new Error("Invalid hex color input")},maxLength:r?8:6,label:(0,d.__)("Hex color"),hideLabelFromVision:!0})},yw=e=>{let{colorType:t,color:n,onChange:r,enableAlpha:o}=e;const i={color:n,onChange:r,enableAlpha:o};switch(t){case"hsl":return(0,s.createElement)(gw,i);case"rgb":return(0,s.createElement)(vw,i);default:case"hex":return(0,s.createElement)(bw,i)}};function ww(){return(ww=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function _w(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)t.indexOf(n=i[r])>=0||(o[n]=e[n]);return o}function xw(e){var t=(0,y.useRef)(e),n=(0,y.useRef)((function(e){t.current&&t.current(e)}));return t.current=e,n.current}var Ew=function(e,t,n){return void 0===t&&(t=0),void 0===n&&(n=1),e>n?n:e<t?t:e},kw=function(e){return"touches"in e},Sw=function(e,t){var n=e.getBoundingClientRect(),r=kw(t)?t.touches[0]:t;return{left:Ew((r.pageX-(n.left+window.pageXOffset))/n.width),top:Ew((r.pageY-(n.top+window.pageYOffset))/n.height)}},Cw=function(e){!kw(e)&&e.preventDefault()},Pw=w().memo((function(e){var t=e.onMove,n=e.onKey,r=_w(e,["onMove","onKey"]),o=(0,y.useRef)(null),i=xw(t),a=xw(n),s=(0,y.useRef)(!1),l=(0,y.useMemo)((function(){var e=function(e){Cw(e),(kw(e)?e.touches.length>0:e.buttons>0)&&o.current?i(Sw(o.current,e)):n(!1)},t=function(){return n(!1)};function n(n){var r=s.current,o=n?self.addEventListener:self.removeEventListener;o(r?"touchmove":"mousemove",e),o(r?"touchend":"mouseup",t)}return[function(e){var t=e.nativeEvent,r=o.current;r&&(Cw(t),!function(e,t){return t&&!kw(e)}(t,s.current)&&r&&(s.current=kw(t),r.focus(),i(Sw(r,t)),n(!0)))},function(e){var t=e.which||e.keyCode;t<37||t>40||(e.preventDefault(),a({left:39===t?.05:37===t?-.05:0,top:40===t?.05:38===t?-.05:0}))},n]}),[a,i]),u=l[0],c=l[1],d=l[2];return(0,y.useEffect)((function(){return d}),[d]),w().createElement("div",ww({},r,{onTouchStart:u,onMouseDown:u,className:"react-colorful__interactive",ref:o,onKeyDown:c,tabIndex:0,role:"slider"}))})),Ow=function(e){return e.filter(Boolean).join(" ")},Tw=function(e){var t=e.color,n=e.left,r=e.top,o=void 0===r?.5:r,i=Ow(["react-colorful__pointer",e.className]);return w().createElement("div",{className:i,style:{top:100*o+"%",left:100*n+"%"}},w().createElement("div",{className:"react-colorful__pointer-fill",style:{backgroundColor:t}}))},Mw=function(e,t,n){return void 0===t&&(t=0),void 0===n&&(n=Math.pow(10,t)),Math.round(n*e)/n},Dw=(Math.PI,function(e){var t=e.s,n=e.v,r=e.a,o=(200-t)*n/100;return{h:Mw(e.h),s:Mw(o>0&&o<200?t*n/100/(o<=100?o:200-o)*100:0),l:Mw(o/2),a:Mw(r,2)}}),Iw=function(e){var t=Dw(e);return"hsl("+t.h+", "+t.s+"%, "+t.l+"%)"},Rw=function(e){var t=Dw(e);return"hsla("+t.h+", "+t.s+"%, "+t.l+"%, "+t.a+")"},Aw=function(e){var t=e.h,n=e.s,r=e.v,o=e.a;t=t/360*6,n/=100,r/=100;var i=Math.floor(t),a=r*(1-n),s=r*(1-(t-i)*n),l=r*(1-(1-t+i)*n),u=i%6;return{r:Mw(255*[r,s,a,a,l,r][u]),g:Mw(255*[l,r,r,s,a,a][u]),b:Mw(255*[a,a,l,r,r,s][u]),a:Mw(o,2)}},Nw=function(e){var t=/rgba?\(?\s*(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(e);return t?Fw({r:Number(t[1])/(t[2]?100/255:1),g:Number(t[3])/(t[4]?100/255:1),b:Number(t[5])/(t[6]?100/255:1),a:void 0===t[7]?1:Number(t[7])/(t[8]?100:1)}):{h:0,s:0,v:0,a:1}},Lw=Nw,Fw=function(e){var t=e.r,n=e.g,r=e.b,o=e.a,i=Math.max(t,n,r),a=i-Math.min(t,n,r),s=a?i===t?(n-r)/a:i===n?2+(r-t)/a:4+(t-n)/a:0;return{h:Mw(60*(s<0?s+6:s)),s:Mw(i?a/i*100:0),v:Mw(i/255*100),a:o}},jw=w().memo((function(e){var t=e.hue,n=e.onChange,r=Ow(["react-colorful__hue",e.className]);return w().createElement("div",{className:r},w().createElement(Pw,{onMove:function(e){n({h:360*e.left})},onKey:function(e){n({h:Ew(t+360*e.left,0,360)})},"aria-label":"Hue","aria-valuetext":Mw(t)},w().createElement(Tw,{className:"react-colorful__hue-pointer",left:t/360,color:Iw({h:t,s:100,v:100,a:1})})))})),zw=w().memo((function(e){var t=e.hsva,n=e.onChange,r={backgroundColor:Iw({h:t.h,s:100,v:100,a:1})};return w().createElement("div",{className:"react-colorful__saturation",style:r},w().createElement(Pw,{onMove:function(e){n({s:100*e.left,v:100-100*e.top})},onKey:function(e){n({s:Ew(t.s+100*e.left,0,100),v:Ew(t.v-100*e.top,0,100)})},"aria-label":"Color","aria-valuetext":"Saturation "+Mw(t.s)+"%, Brightness "+Mw(t.v)+"%"},w().createElement(Tw,{className:"react-colorful__saturation-pointer",top:1-t.v/100,left:t.s/100,color:Iw(t)})))})),Bw=function(e,t){return e.replace(/\s/g,"")===t.replace(/\s/g,"")};function Hw(e,t,n){var r=xw(n),o=(0,y.useState)((function(){return e.toHsva(t)})),i=o[0],a=o[1],s=(0,y.useRef)({color:t,hsva:i});(0,y.useEffect)((function(){if(!e.equal(t,s.current.color)){var n=e.toHsva(t);s.current={hsva:n,color:t},a(n)}}),[t,e]),(0,y.useEffect)((function(){var t;(function(e,t){if(e===t)return!0;for(var n in e)if(e[n]!==t[n])return!1;return!0})(i,s.current.hsva)||e.equal(t=e.fromHsva(i),s.current.color)||(s.current={hsva:i,color:t},r(t))}),[i,e,r]);var l=(0,y.useCallback)((function(e){a((function(t){return Object.assign({},t,e)}))}),[]);return[i,l]}var Vw,$w="undefined"!=typeof window?y.useLayoutEffect:y.useEffect,Ww=function(){$w((function(){if("undefined"!=typeof document&&!Vw){(Vw=document.createElement("style")).innerHTML='.react-colorful{position:relative;display:flex;flex-direction:column;width:200px;height:200px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.react-colorful__saturation{position:relative;flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.react-colorful__alpha-gradient,.react-colorful__pointer-fill{content:"";position:absolute;left:0;top:0;right:0;bottom:0;pointer-events:none;border-radius:inherit}.react-colorful__alpha-gradient,.react-colorful__saturation{box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}.react-colorful__alpha,.react-colorful__hue{position:relative;height:24px}.react-colorful__hue{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.react-colorful__last-control{border-radius:0 0 8px 8px}.react-colorful__interactive{position:absolute;left:0;top:0;right:0;bottom:0;border-radius:inherit;outline:none;touch-action:none}.react-colorful__pointer{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}.react-colorful__interactive:focus .react-colorful__pointer{transform:translate(-50%,-50%) scale(1.1)}.react-colorful__alpha,.react-colorful__alpha-pointer{background-color:#fff;background-image:url(\'data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill-opacity=".05"><path d="M8 0h8v8H8zM0 8h8v8H0z"/></svg>\')}.react-colorful__saturation-pointer{z-index:3}.react-colorful__hue-pointer{z-index:2}';var e=n.nc;e&&Vw.setAttribute("nonce",e),document.head.appendChild(Vw)}}),[])},Kw=function(e){var t=e.className,n=e.colorModel,r=e.color,o=void 0===r?n.defaultColor:r,i=e.onChange,a=_w(e,["className","colorModel","color","onChange"]);Ww();var s=Hw(n,o,i),l=s[0],u=s[1],c=Ow(["react-colorful",t]);return w().createElement("div",ww({},a,{className:c}),w().createElement(zw,{hsva:l,onChange:u}),w().createElement(jw,{hue:l.h,onChange:u,className:"react-colorful__last-control"}))},Uw=function(e){var t=e.className,n=e.hsva,r=e.onChange,o={backgroundImage:"linear-gradient(90deg, "+Rw(Object.assign({},n,{a:0}))+", "+Rw(Object.assign({},n,{a:1}))+")"},i=Ow(["react-colorful__alpha",t]);return w().createElement("div",{className:i},w().createElement("div",{className:"react-colorful__alpha-gradient",style:o}),w().createElement(Pw,{onMove:function(e){r({a:e.left})},onKey:function(e){r({a:Ew(n.a+e.left)})},"aria-label":"Alpha","aria-valuetext":Mw(100*n.a)+"%"},w().createElement(Tw,{className:"react-colorful__alpha-pointer",left:n.a,color:Rw(n)})))},Gw=function(e){var t=e.className,n=e.colorModel,r=e.color,o=void 0===r?n.defaultColor:r,i=e.onChange,a=_w(e,["className","colorModel","color","onChange"]);Ww();var s=Hw(n,o,i),l=s[0],u=s[1],c=Ow(["react-colorful",t]);return w().createElement("div",ww({},a,{className:c}),w().createElement(zw,{hsva:l,onChange:u}),w().createElement(jw,{hue:l.h,onChange:u}),w().createElement(Uw,{hsva:l,onChange:u,className:"react-colorful__last-control"}))},qw={defaultColor:"rgba(0, 0, 0, 1)",toHsva:Nw,fromHsva:function(e){var t=Aw(e);return"rgba("+t.r+", "+t.g+", "+t.b+", "+t.a+")"},equal:Bw},Yw=function(e){return w().createElement(Gw,ww({},e,{colorModel:qw}))},Xw={defaultColor:"rgb(0, 0, 0)",toHsva:Lw,fromHsva:function(e){var t=Aw(e);return"rgb("+t.r+", "+t.g+", "+t.b+")"},equal:Bw},Zw=function(e){return w().createElement(Kw,ww({},e,{colorModel:Xw}))};const Jw=e=>{let{color:t,enableAlpha:n,onChange:r}=e;const o=n?Yw:Zw,i=(0,s.useMemo)((()=>t.toRgbString()),[t]);return(0,s.createElement)(o,{color:i,onChange:e=>{r(io(e))}})};so([lo]);const Qw=[{label:"RGB",value:"rgb"},{label:"HSL",value:"hsl"},{label:"Hex",value:"hex"}];var e_=Cn(((e,t)=>{const{enableAlpha:n=!1,color:r,onChange:o,defaultValue:i="#fff",copyFormat:l,...u}=Sn(e,"ColorPicker"),[c,p]=function(e){let{defaultValue:t,onChange:n,value:r}=e;const o=void 0!==r,i=o?r:t,[a,l]=(0,s.useState)(i);let u;return u=o&&"function"==typeof n?n:o||"function"!=typeof n?l:e=>{n(e),l(e)},[o?r:a,u]}({onChange:o,value:r,defaultValue:i}),h=(0,s.useMemo)((()=>io(c)),[c]),m=(0,f.useDebounce)(p),v=(0,y.useCallback)((e=>{m(e.toHex())}),[m]),[g,b]=(0,s.useState)(!1),[w,_]=(0,s.useState)(l||"hex");return(0,s.createElement)(Ab,a({ref:t},u),(0,s.createElement)(Jw,{onChange:v,color:h,enableAlpha:n}),(0,s.createElement)(Rb,null,(0,s.createElement)(Xg,{justify:"space-between"},g?(0,s.createElement)(Tb,{options:Qw,value:w,onChange:e=>_(e),label:(0,d.__)("Color format"),hideLabelFromVision:!0}):(0,s.createElement)(hw,{color:h,colorType:l||w,enableAlpha:n}),(0,s.createElement)(Nb,{isSmall:!0,onClick:()=>b(!g),icon:Kg,isPressed:g,label:g?(0,d.__)("Hide detailed inputs"):(0,d.__)("Show detailed inputs")})),(0,s.createElement)(em,{margin:4}),g&&(0,s.createElement)(yw,{colorType:w,color:h,onChange:v,enableAlpha:n})))}),"ColorPicker");function t_(e){var t;return void 0!==e.onChangeComplete||void 0!==e.disableAlpha||"string"==typeof(null===(t=e.color)||void 0===t?void 0:t.hex)}const n_=qe()((e=>{const t=io(e),n=t.toHex(),r=t.toRgb(),o=t.toHsv(),i=t.toHsl();return{hex:n,rgb:r,hsv:o,hsl:i,source:"hex",oldHue:i.h}})),r_=e=>(0,s.createElement)(e_,function(e){const t=(0,s.useCallback)((t=>{var n;return t_(e)?e.onChangeComplete(n_(t)):null===(n=e.onChange)||void 0===n?void 0:n.call(e,t)}),[e.onChangeComplete,e.onChange]),n=(0,s.useMemo)((()=>t_(e)?function(e){if(void 0!==(null==e?void 0:e.color))return"string"==typeof e.color?e.color:e.color.hex?e.color.hex:void 0}(e):e.color),[e.color]),r=(0,s.useMemo)((()=>t_(e)?!e.disableAlpha:e.enableAlpha),[e.disableAlpha,e.enableAlpha]);return{...t_(e)?{}:e,onChange:t,color:n,enableAlpha:r}}(e)),o_=Rr("appearance:none;border:1px solid transparent;cursor:pointer;background:none;text-align:left;&:hover{color:",_o.admin.theme,";}&:focus{background-color:transparent;color:",_o.admin.theme,";border-color:",_o.admin.theme,";outline:3px solid transparent;}",""),i_={name:"1bcj5ek",styles:"width:100%;display:block"},a_={name:"5vij5u",styles:"width:100%;display:block;margin:0"},s_=Rr("border:1px solid ",Af.surfaceBorderColor,";",""),l_=Rr(">*:not( marquee )>*{border-bottom:1px solid ",Af.surfaceBorderColor,";}>*:last-of-type>*:not( :focus ){border-bottom-color:transparent;}",""),u_=Af.controlBorderRadius,c_=Rr("border-radius:",u_,";",""),d_=Rr("border-radius:",u_,";>*:first-of-type>*{border-top-left-radius:",u_,";border-top-right-radius:",u_,";}>*:last-of-type>*{border-bottom-left-radius:",u_,";border-bottom-right-radius:",u_,";}",""),f_=`calc(${Af.fontSize} * ${Af.fontLineHeightBase})`,p_=`calc((${Af.controlHeight} - ${f_} - 2px) / 2)`,h_=`calc((${Af.controlHeightSmall} - ${f_} - 2px) / 2)`,m_=`calc((${Af.controlHeightLarge} - ${f_} - 2px) / 2)`,v_={small:Rr("padding:",h_," ",Af.controlPaddingXSmall,";",""),medium:Rr("padding:",p_," ",Af.controlPaddingX,";",""),large:Rr("padding:",m_," ",Af.controlPaddingXLarge,";","")},g_=(0,s.createContext)({size:"medium"}),b_=()=>(0,s.useContext)(g_);var y_=Cn((function(e,t){const{isBordered:n,isSeparated:r,size:o,...i}=function(e){const{className:t,isBordered:n=!1,isRounded:r=!0,isSeparated:o=!1,role:i="list",...a}=Sn(e,"ItemGroup");return{isBordered:n,className:kn()(n&&s_,o&&l_,r&&d_,t),role:i,isSeparated:o,...a}}(e),{size:l}=b_(),u={spacedAround:!n&&!r,size:o||l};return(0,s.createElement)(g_.Provider,{value:u},(0,s.createElement)(jn,a({},i,{ref:t})))}),"ItemGroup"),w_=Cn((function(e,t){const n=function(e){const{expanded:t=!1,...n}=Sn(e,"VStack");return Yg({direction:"column",expanded:t,...n})}(e);return(0,s.createElement)(jn,a({},n,{ref:t}))}),"VStack");function x_(e){var t;let{renderContent:n,renderToggle:r,position:o="bottom right",className:i,contentClassName:l,expandOnMobile:u,headerTitle:d,focusOnMount:f,popoverProps:p,onClose:h,onToggle:m}=e;const v=(0,s.useRef)(),[g,b]=function(e,t){const[n,r]=(0,s.useState)(!1);return[n,e=>{r(e),t&&t(e)}]}(0,m);function y(){h&&h(),b(!1)}(0,s.useEffect)((()=>()=>{m&&m(!1)}),[]);const w={isOpen:g,onToggle:function(){b(!g)},onClose:y};return(0,s.createElement)("div",{className:c()("components-dropdown",i),ref:v,tabIndex:"-1"},r(w),g&&(0,s.createElement)(wr,a({position:o,onClose:y,onFocusOutside:function(){const{ownerDocument:e}=v.current,t=e.activeElement.closest('[role="dialog"]');v.current.contains(e.activeElement)||t&&!t.contains(v.current)||y()},expandOnMobile:u,headerTitle:d,focusOnMount:f},p,{anchorRef:null!==(t=null==p?void 0:p.anchorRef)&&void 0!==t?t:v.current,className:c()("components-dropdown__content",p?p.className:void 0,l)}),n(w)))}function E_(e){let{actions:t,className:n,options:r,children:o}=e;return(0,s.createElement)("div",{className:c()("components-circular-option-picker",n)},(0,s.createElement)("div",{className:"components-circular-option-picker__swatches"},r),o,t&&(0,s.createElement)("div",{className:"components-circular-option-picker__custom-clear-wrapper"},t))}E_.Option=function(e){let{className:t,isSelected:n,selectedIconProps:r,tooltipText:o,...i}=e;const l=(0,s.createElement)(Hn,a({isPressed:n,className:"components-circular-option-picker__option"},i));return(0,s.createElement)("div",{className:c()(t,"components-circular-option-picker__option-wrapper")},o?(0,s.createElement)(Pr,{text:o},l):l,n&&(0,s.createElement)(jg,a({icon:zg},r||{})))},E_.ButtonAction=function(e){let{className:t,children:n,...r}=e;return(0,s.createElement)(Hn,a({className:c()("components-circular-option-picker__clear",t),isSmall:!0,variant:"secondary"},r),n)},E_.DropdownLinkAction=function(e){let{buttonProps:t,className:n,dropdownProps:r,linkText:o}=e;return(0,s.createElement)(x_,a({className:c()("components-circular-option-picker__dropdown-link-action",n),renderToggle:e=>{let{isOpen:n,onToggle:r}=e;return(0,s.createElement)(Hn,a({"aria-expanded":n,"aria-haspopup":"true",onClick:r,variant:"link"},t),o)}},r))};var k_=function(e){var t=e/255;return t<.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)},S_=function(e){return.2126*k_(e.r)+.7152*k_(e.g)+.0722*k_(e.b)},C_=Cn((function(e,t){const n=function(e){const{as:t,level:n=2,...r}=Sn(e,"Heading"),o=t||`h${n}`,i={};return"string"==typeof o&&"h"!==o[0]&&(i.role="heading",i["aria-level"]="string"==typeof n?parseInt(n):n),{...Yf({color:_o.darkGray.heading,size:Gf(n),isBlock:!0,weight:Af.fontWeightHeading,...r}),...i,as:o}}(e);return(0,s.createElement)(jn,a({},n,{ref:t}))}),"Heading");const P_=Ln(C_,{target:"e1uu5br00"})({name:"13lxv2o",styles:"text-transform:uppercase;line-height:24px;font-weight:500;&&&{font-size:11px;margin-bottom:0;}"});function O_(e){let{className:t,clearColor:n,colors:r,onChange:o,value:i,actions:a}=e;const u=(0,s.useMemo)((()=>(0,l.map)(r,(e=>{let{color:t,name:r}=e;const a=io(t);return(0,s.createElement)(E_.Option,{key:t,isSelected:i===t,selectedIconProps:i===t?{fill:a.contrast()>a.contrast("#000")?"#fff":"#000"}:{},tooltipText:r||// translators: %s: color hex code e.g: "#f00".
4
  (0,d.sprintf)((0,d.__)("Color code: %s"),t),style:{backgroundColor:t,color:t},onClick:i===t?n:()=>o(t),"aria-label":r?// translators: %s: The name of the color e.g: "vivid red".
5
  (0,d.sprintf)((0,d.__)("Color: %s"),r):// translators: %s: color hex code e.g: "#f00".
6
- (0,d.sprintf)((0,d.__)("Color code: %s"),t)})}))),[r,i,o,n]);return(0,s.createElement)(E_,{className:t,options:u,actions:a})}function T_(e){let{className:t,clearColor:n,colors:r,onChange:o,value:i,actions:a}=e;return(0,s.createElement)(w_,{spacing:3,className:t},r.map(((e,t)=>{let{name:l,colors:u}=e;return(0,s.createElement)(w_,{spacing:2,key:t},(0,s.createElement)(P_,null,l),(0,s.createElement)(O_,{clearColor:n,colors:u,onChange:o,value:i,actions:r.length===t+1?a:null}))})))}function M_(e){let{isRenderedInSidebar:t,...n}=e;return(0,s.createElement)(x_,a({contentClassName:c()("components-color-palette__custom-color-dropdown-content",{"is-rendered-in-sidebar":t})},n))}function D_(e){let{clearable:t=!0,className:n,colors:r,disableCustomColors:o=!1,enableAlpha:i,onChange:a,value:l,__experimentalHasMultipleOrigins:u=!1,__experimentalIsRenderedInSidebar:c=!1}=e;const f=(0,s.useCallback)((()=>a(void 0)),[a]),p=u?T_:O_;let h;c&&(h=(0,d.isRTL)()?"bottom right":"bottom left");const m=io(l);return(0,s.createElement)(w_,{spacing:3,className:n},!o&&(0,s.createElement)(M_,{position:h,isRenderedInSidebar:c,renderContent:()=>(0,s.createElement)(r_,{color:l,onChange:e=>a(e),enableAlpha:i}),renderToggle:e=>{let{isOpen:t,onToggle:n}=e;return(0,s.createElement)("button",{className:"components-color-palette__custom-color","aria-expanded":t,"aria-haspopup":"true",onClick:n,"aria-label":(0,d.__)("Custom color picker"),style:{background:l,color:m.contrast()>m.contrast("#000")?"#fff":"#000"}},l)}}),(0,s.createElement)(p,{clearable:t,clearColor:f,colors:r,onChange:a,value:l,actions:!!t&&(0,s.createElement)(E_.ButtonAction,{onClick:f},(0,d.__)("Clear"))}))}function I_(e){return Math.max(0,Math.min(100,e))}function R_(e,t,n){const r=e.slice();return r[t]=n,r}function A_(e,t,n){return function(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;const o=e[t].position,i=Math.min(o,n),a=Math.max(o,n);return e.some(((e,o)=>{let{position:s}=e;return o!==t&&(Math.abs(s-n)<r||i<s&&s<a)}))}(e,t,n)?e:R_(e,t,{...e[t],position:n})}function N_(e,t,n){return R_(e,t,{...e[t],color:n})}function L_(e,t,n){if(!t)return;const{x:r,width:o}=t.getBoundingClientRect(),i=e-r-5-n/2,a=o-5-16;return Math.round(I_(100*i/a))}function F_(e){let{isOpen:t,position:n,color:r,...o}=e;const i=`components-custom-gradient-picker__control-point-button-description-${(0,f.useInstanceId)(F_)}`;return(0,s.createElement)(s.Fragment,null,(0,s.createElement)(Hn,a({"aria-label":(0,d.sprintf)(// translators: %1$s: gradient position e.g: 70, %2$s: gradient color code e.g: rgb(52,121,151).
7
  (0,d.__)("Gradient control point at position %1$s%% with color code %2$s."),n,r),"aria-describedby":i,"aria-haspopup":"true","aria-expanded":t,className:c()("components-custom-gradient-picker__control-point-button",{"is-active":t}),style:{left:`${n}%`}},o)),(0,s.createElement)(zn,{id:i},(0,d.__)("Use your left or right arrow keys or drag and drop with the mouse to change the gradient position. Press the button to change the color or remove the control point.")))}function j_(e){let{isRenderedInSidebar:t,gradientPickerDomRef:n,...r}=e;const o=(0,s.useMemo)((()=>{const e={className:"components-custom-gradient-picker__color-picker-popover",position:"top"};return t&&(e.anchorRef=n.current,e.position=(0,d.isRTL)()?"bottom right":"bottom left"),e}),[n.current,t]);return(0,s.createElement)(M_,a({isRenderedInSidebar:t,popoverProps:o},r))}function z_(e){let{disableRemove:t,disableAlpha:n,gradientPickerDomRef:r,ignoreMarkerPosition:o,value:i,onChange:a,onStartControlPointChange:l,onStopControlPointChange:u,__experimentalIsRenderedInSidebar:c}=e;const f=(0,s.useRef)(),p=e=>{const t=L_(e.clientX,r.current,16),{initialPosition:n,index:o,significantMoveHappened:s}=f.current;!s&&Math.abs(n-t)>=5&&(f.current.significantMoveHappened=!0),a(A_(i,o,t))},h=()=>{window&&window.removeEventListener&&f.current&&f.current.listenersActivated&&(window.removeEventListener("mousemove",p),window.removeEventListener("mouseup",h),u(),f.current.listenersActivated=!1)};return(0,s.useEffect)((()=>()=>{h()}),[]),i.map(((e,m)=>{const v=null==e?void 0:e.position;return o!==v&&(0,s.createElement)(j_,{gradientPickerDomRef:r,isRenderedInSidebar:c,key:m,onClose:u,renderToggle:t=>{let{isOpen:n,onToggle:r}=t;return(0,s.createElement)(F_,{key:m,onClick:()=>{f.current&&f.current.significantMoveHappened||(n?u():l(),r())},onMouseDown:()=>{window&&window.addEventListener&&(f.current={initialPosition:v,index:m,significantMoveHappened:!1,listenersActivated:!0},l(),window.addEventListener("mousemove",p),window.addEventListener("mouseup",h))},onKeyDown:t=>{t.keyCode===Sh.LEFT?(t.stopPropagation(),a(A_(i,m,I_(e.position-10)))):t.keyCode===Sh.RIGHT&&(t.stopPropagation(),a(A_(i,m,I_(e.position+10))))},isOpen:n,position:e.position,color:e.color})},renderContent:r=>{let{onClose:o}=r;return(0,s.createElement)(s.Fragment,null,(0,s.createElement)(r_,{enableAlpha:!n,color:e.color,onChange:e=>{a(N_(i,m,io(e).toRgbString()))}}),!t&&i.length>2&&(0,s.createElement)(Hn,{className:"components-custom-gradient-picker__remove-control-point",onClick:()=>{a(function(e,t){return e.filter(((e,n)=>n!==t))}(i,m)),o()},variant:"link"},(0,d.__)("Remove Control Point")))}})}))}so([lo,function(e){e.prototype.luminance=function(){return e=S_(this.rgba),void 0===(t=2)&&(t=0),void 0===n&&(n=Math.pow(10,t)),Math.round(n*e)/n+0;var e,t,n},e.prototype.contrast=function(t){void 0===t&&(t="#FFF");var n,r,o,i,a,s,l,u=t instanceof e?t:new e(t);return i=this.rgba,a=u.toRgb(),n=(s=S_(i))>(l=S_(a))?(s+.05)/(l+.05):(l+.05)/(s+.05),void 0===(r=2)&&(r=0),void 0===o&&(o=Math.pow(10,r)),Math.floor(o*n)/o+0},e.prototype.isReadable=function(e,t){return void 0===e&&(e="#FFF"),void 0===t&&(t={}),this.contrast(e)>=(a=void 0===(i=(n=t).size)?"normal":i,"AAA"===(o=void 0===(r=n.level)?"AA":r)&&"normal"===a?7:"AA"===o&&"large"===a?3:4.5);var n,r,o,i,a}}]),z_.InsertPoint=function(e){let{value:t,onChange:n,onOpenInserter:r,onCloseInserter:o,insertPosition:i,disableAlpha:a,__experimentalIsRenderedInSidebar:l,gradientPickerDomRef:u}=e;const[c,d]=(0,s.useState)(!1);return(0,s.createElement)(j_,{gradientPickerDomRef:u,isRenderedInSidebar:l,className:"components-custom-gradient-picker__inserter",onClose:()=>{o()},renderToggle:e=>{let{isOpen:t,onToggle:n}=e;return(0,s.createElement)(Hn,{"aria-expanded":t,"aria-haspopup":"true",onClick:()=>{t?o():(d(!1),r()),n()},className:"components-custom-gradient-picker__insert-point",icon:$g,style:{left:null!==i?`${i}%`:void 0}})},renderContent:()=>(0,s.createElement)(r_,{enableAlpha:!a,onChange:e=>{c?n(function(e,t,n){const r=e.findIndex((e=>e.position===t));return N_(e,r,n)}(t,i,io(e).toRgbString())):(n(function(e,t,n){const r=e.findIndex((e=>e.position>t)),o={color:n,position:t},i=e.slice();return i.splice(r-1,0,o),i}(t,i,io(e).toRgbString())),d(!0))}})})};var B_=z_;function H_(e,t){switch(t.type){case"MOVE_INSERTER":if("IDLE"===e.id||"MOVING_INSERTER"===e.id)return{id:"MOVING_INSERTER",insertPosition:t.insertPosition};break;case"STOP_INSERTER_MOVE":if("MOVING_INSERTER"===e.id)return{id:"IDLE"};break;case"OPEN_INSERTER":if("MOVING_INSERTER"===e.id)return{id:"INSERTING_CONTROL_POINT",insertPosition:e.insertPosition};break;case"CLOSE_INSERTER":if("INSERTING_CONTROL_POINT"===e.id)return{id:"IDLE"};break;case"START_CONTROL_CHANGE":if("IDLE"===e.id)return{id:"MOVING_CONTROL_POINT"};break;case"STOP_CONTROL_CHANGE":if("MOVING_CONTROL_POINT"===e.id)return{id:"IDLE"}}return e}const V_={id:"IDLE"};function $_(e){let{background:t,hasGradient:n,value:r,onChange:o,disableInserter:i=!1,disableAlpha:a=!1,__experimentalIsRenderedInSidebar:u}=e;const d=(0,s.useRef)(),[f,p]=(0,s.useReducer)(H_,V_),h=e=>{const t=L_(e.clientX,d.current,16);(0,l.some)(r,(e=>{let{position:n}=e;return Math.abs(t-n)<10}))?"MOVING_INSERTER"===f.id&&p({type:"STOP_INSERTER_MOVE"}):p({type:"MOVE_INSERTER",insertPosition:t})},m="MOVING_INSERTER"===f.id,v="INSERTING_CONTROL_POINT"===f.id;return(0,s.createElement)("div",{ref:d,className:c()("components-custom-gradient-picker__gradient-bar",{"has-gradient":n}),onMouseEnter:h,onMouseMove:h,style:{background:t},onMouseLeave:()=>{p({type:"STOP_INSERTER_MOVE"})}},(0,s.createElement)("div",{className:"components-custom-gradient-picker__markers-container"},!i&&(m||v)&&(0,s.createElement)(B_.InsertPoint,{__experimentalIsRenderedInSidebar:u,gradientPickerDomRef:d,disableAlpha:a,insertPosition:f.insertPosition,value:r,onChange:o,onOpenInserter:()=>{p({type:"OPEN_INSERTER"})},onCloseInserter:()=>{p({type:"CLOSE_INSERTER"})}}),(0,s.createElement)(B_,{__experimentalIsRenderedInSidebar:u,disableAlpha:a,disableRemove:i,gradientPickerDomRef:d,ignoreMarkerPosition:v?f.insertPosition:void 0,value:r,onChange:o,onStartControlPointChange:()=>{p({type:"START_CONTROL_CHANGE"})},onStopControlPointChange:()=>{p({type:"STOP_CONTROL_CHANGE"})}})))}var W_=n(9948);const K_="linear-gradient(135deg, rgba(6, 147, 227, 1) 0%, rgb(155, 81, 224) 100%)",U_={type:"angular",value:90},G_=[{value:"linear-gradient",label:(0,d.__)("Linear")},{value:"radial-gradient",label:(0,d.__)("Radial")}],q_={top:0,"top right":45,"right top":45,right:90,"right bottom":135,"bottom right":135,bottom:180,"bottom left":225,"left bottom":225,left:270,"top left":315,"left top":315};function Y_(e){let{type:t,value:n,length:r}=e;return`${function(e){let{type:t,value:n}=e;return"literal"===t?n:"hex"===t?`#${n}`:`${t}(${n.join(",")})`}({type:t,value:n})} ${function(e){if(!e)return"";const{value:t,type:n}=e;return`${t}${n}`}(r)}`}function X_(e){let{type:t,orientation:n,colorStops:r}=e;const o=function(e){if(e&&"angular"===e.type)return`${e.value}deg`}(n),i=r.sort(((e,t)=>(0,l.get)(e,["length","value"],0)-(0,l.get)(t,["length","value"],0))).map(Y_);return`${t}(${(0,l.compact)([o,...i]).join(",")})`}function Z_(e){return void 0===e.length||"%"!==e.length.type}function J_(e){switch(e.type){case"hex":return`#${e.value}`;case"literal":return e.value;case"rgb":case"rgba":return`${e.type}(${e.value.join(",")})`;default:return"transparent"}}so([lo]);const Q_=Ln(uf,{target:"e99xvul1"})({name:"1gvx10y",styles:"flex-grow:5"}),ex=Ln(uf,{target:"e99xvul0"})({name:"1gvx10y",styles:"flex-grow:5"}),tx=e=>{let{gradientAST:t,hasGradient:n,onChange:r}=e;const o=(0,l.get)(t,["orientation","value"],180);return(0,s.createElement)(tm,{onChange:e=>{r(X_({...t,orientation:{type:"angular",value:e}}))},labelPosition:"top",value:n?o:""})},nx=e=>{let{gradientAST:t,hasGradient:n,onChange:r}=e;const{type:o}=t;return(0,s.createElement)(eb,{className:"components-custom-gradient-picker__type-picker",label:(0,d.__)("Type"),labelPosition:"top",onChange:e=>{"linear-gradient"===e&&r(X_({...t,...t.orientation?{}:{orientation:U_},type:"linear-gradient"})),"radial-gradient"===e&&r(X_({...(0,l.omit)(t,["orientation"]),type:"radial-gradient"}))},options:G_,size:"__unstable-large",value:n&&o})};function rx(e){let{value:t,onChange:n,__experimentalIsRenderedInSidebar:r}=e;const o=function(e){var t;let n;try{n=W_.parse(e)[0],n.value=e}catch(e){n=W_.parse(K_)[0],n.value=K_}if("directional"===(null===(t=n.orientation)||void 0===t?void 0:t.type)&&(n.orientation.type="angular",n.orientation.value=q_[n.orientation.value].toString()),n.colorStops.some(Z_)){const{colorStops:e}=n,t=100/(e.length-1);e.forEach(((e,n)=>{e.length={value:t*n,type:"%"}})),n.value=X_(n)}return n}(t),i=function(e){return X_({type:"linear-gradient",orientation:U_,colorStops:e.colorStops})}(o),a=o.value!==K_,l=o.colorStops.map((e=>({color:J_(e),position:parseInt(e.length.value)})));return(0,s.createElement)("div",{className:"components-custom-gradient-picker"},(0,s.createElement)($_,{__experimentalIsRenderedInSidebar:r,background:i,hasGradient:a,value:l,onChange:e=>{n(X_(function(e,t){return{...e,colorStops:t.map((e=>{let{position:t,color:n}=e;const{r:r,g:o,b:i,a:a}=io(n).toRgb();return{length:{type:"%",value:t.toString()},type:a<1?"rgba":"rgb",value:a<1?[r,o,i,a]:[r,o,i]}}))}}(o,e)))}}),(0,s.createElement)(Ef,{gap:3,className:"components-custom-gradient-picker__ui-line"},(0,s.createElement)(Q_,null,(0,s.createElement)(nx,{gradientAST:o,hasGradient:a,onChange:n})),(0,s.createElement)(ex,null,"linear-gradient"===o.type&&(0,s.createElement)(tx,{gradientAST:o,hasGradient:a,onChange:n}))))}function ox(e){let{className:t,clearGradient:n,gradients:r,onChange:o,value:i,actions:a,content:u}=e;const c=(0,s.useMemo)((()=>(0,l.map)(r,(e=>{let{gradient:t,name:r}=e;return(0,s.createElement)(E_.Option,{key:t,value:t,isSelected:i===t,tooltipText:r||// translators: %s: gradient code e.g: "linear-gradient(90deg, rgba(98,16,153,1) 0%, rgba(172,110,22,1) 100%);".
8
  (0,d.sprintf)((0,d.__)("Gradient code: %s"),t),style:{color:"rgba( 0,0,0,0 )",background:t},onClick:i===t?n:()=>o(t),"aria-label":r?// translators: %s: The name of the gradient e.g: "Angular red to blue".
9
  (0,d.sprintf)((0,d.__)("Gradient: %s"),r):// translators: %s: gradient code e.g: "linear-gradient(90deg, rgba(98,16,153,1) 0%, rgba(172,110,22,1) 100%);".
3
  (0,d._n)("%d result found, use up and down arrow keys to navigate.","%d results found, use up and down arrow keys to navigate.",e.length),e.length),"assertive"):a((0,d.__)("No results."),"assertive"))}(e)},onSelect:S,value:t,contentRef:i,reset:C})}}function im(e){const t=(0,s.useRef)(),n=(0,s.useRef)(),{popover:r,listBoxId:o,activeId:i,onKeyDown:a}=om({...e,contentRef:t});return n.current=a,{ref:(0,f.useMergeRefs)([t,(0,f.useRefEffect)((e=>{function t(e){n.current(e)}return e.addEventListener("keydown",t),()=>{e.removeEventListener("keydown",t)}}),[])]),children:r,"aria-autocomplete":o?"list":void 0,"aria-owns":o,"aria-activedescendant":i}}function am(e){let{children:t,isSelected:n,...r}=e;const{popover:o,...i}=om(r);return(0,s.createElement)(s.Fragment,null,t(i),n&&o)}var sm={"default.fontFamily":"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif","default.fontSize":"13px","helpText.fontSize":"12px",mobileTextMinFontSize:"16px"};function lm(e){return(0,l.get)(sm,e,"")}const um=Ln("div",{target:"e1puf3u3"})("font-family:",lm("default.fontFamily"),";font-size:",lm("default.fontSize"),";"),cm=Ln("div",{target:"e1puf3u2"})("margin-bottom:",hf(2),";.components-panel__row &{margin-bottom:inherit;}"),dm=Ln("label",{target:"e1puf3u1"})("display:inline-block;margin-bottom:",hf(2),";"),fm=Ln("p",{target:"e1puf3u0"})("font-size:",lm("helpText.fontSize"),";font-style:normal;color:",_o.mediumGray.text,";");function pm(e){let{id:t,label:n,hideLabelFromVision:r,help:o,className:i,children:a}=e;return(0,s.createElement)(um,{className:c()("components-base-control",i)},(0,s.createElement)(cm,{className:"components-base-control__field"},n&&t&&(r?(0,s.createElement)(zn,{as:"label",htmlFor:t},n):(0,s.createElement)(dm,{className:"components-base-control__label",htmlFor:t},n)),n&&!t&&(r?(0,s.createElement)(zn,{as:"label"},n):(0,s.createElement)(pm.VisualLabel,null,n)),a),!!o&&(0,s.createElement)(fm,{id:t?t+"__help":void 0,className:"components-base-control__help"},o))}pm.VisualLabel=e=>{let{className:t,children:n}=e;return t=c()("components-base-control__label",t),(0,s.createElement)("span",{className:t},n)};var hm=pm,mm={name:"euqsgg",styles:"input[type='number']::-webkit-outer-spin-button,input[type='number']::-webkit-inner-spin-button{-webkit-appearance:none!important;margin:0!important;}input[type='number']{-moz-appearance:textfield;}"};const vm=e=>{let{hideHTMLArrows:t}=e;return t?mm:""},gm=Ln(Gh,{target:"ep48uk90"})(vm,";");function bm(e){const t=Number(e);return isNaN(t)?0:t}function ym(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.reduce(((e,t)=>e+bm(t)),0)}function wm(e){const t=(e+"").split(".");return void 0!==t[1]?t[1].length:0}function _m(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1/0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1/0,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;const o=bm(e),i=bm(r),a=wm(r),s=Math.round(o/i)*i,u=(0,l.clamp)(s,t,n);return a?bm(u.toFixed(a)):u}var xm=(0,s.forwardRef)((function(e,t){let{__unstableStateReducer:n=(e=>e),className:r,dragDirection:o="n",hideHTMLArrows:i=!1,isDragEnabled:l=!0,isShiftStepEnabled:u=!0,label:f,max:p=1/0,min:h=-1/0,required:m=!1,shiftStep:v=10,step:g=1,type:b="number",value:y,...w}=e;const _="any"===g,x=_?1:parseFloat(g),E=_m(0,h,p,x),k=(e,t)=>_?Math.min(p,Math.max(h,e)):_m(e,h,p,null!=t?t:x),S="number"===b?"off":null,C=c()("components-number-control",r);return(0,s.createElement)(gm,a({autoComplete:S,inputMode:"numeric"},w,{className:C,dragDirection:o,hideHTMLArrows:i,isDragEnabled:l,label:f,max:p,min:h,ref:t,required:m,step:g,type:b,value:y,__unstableStateReducer:Bh(((e,t)=>{const{type:n,payload:r}=t,i=null==r?void 0:r.event,a=e.value;if(n===Lh||n===Ah){const t=i.shiftKey&&u,r=t?parseFloat(v)*x:x;let o=$h(a)?E:a;null!=i&&i.preventDefault&&i.preventDefault(),n===Lh&&(o=ym(o,r)),n===Ah&&(o=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.reduce(((e,t,n)=>{const r=bm(t);return 0===n?r:e-r}),0)}(o,r)),e.value=k(o,t?r:null)}if(n===Ih&&l){const[t,n]=r.delta,i=r.shiftKey&&u,s=i?parseFloat(v)*x:x;let l,c;switch(o){case"n":c=n,l=-1;break;case"e":c=t,l=(0,d.isRTL)()?-1:1;break;case"s":c=n,l=1;break;case"w":c=t,l=(0,d.isRTL)()?1:-1}if(0!==c){c=Math.ceil(Math.abs(c))*Math.sign(c);const t=c*s*l;e.value=k(ym(a,t),i?s:null)}}if(n===Nh||n===Th){const t=!1===m&&""===a;e.value=t?a:k(a)}return e}),n)}))}));const Em=Ln("div",{target:"e1bagdl33"})({name:"100d0a9",styles:"box-sizing:border-box;position:relative"}),km=e=>{let{disableUnits:t,size:n}=e;return Rr(_f({default:{paddingRight:8},small:{paddingRight:8},"__unstable-large":{paddingRight:t?16:8}}[n])(),";","")};var Sm={name:"1y65o8",styles:"&::-webkit-outer-spin-button,&::-webkit-inner-spin-button{-webkit-appearance:none;margin:0;}"};const Cm=e=>{let{disableUnits:t}=e;return t?"":Sm},Pm=Ln(xm,{target:"e1bagdl32"})("&&&{input{appearance:none;-moz-appearance:textfield;display:block;width:100%;",Cm,";",km,";}}"),Om=Rr("appearance:none;background:transparent;border-radius:2px;border:none;box-sizing:border-box;color:",_o.darkGray[500],";display:block;font-size:8px;letter-spacing:-0.5px;outline:none;padding:2px 1px;text-align-last:center;text-transform:uppercase;width:20px;",_f({borderTopLeftRadius:0,borderBottomLeftRadius:0})(),";",""),Tm=Ln("div",{target:"e1bagdl31"})("&&&{pointer-events:none;",Om,";}"),Mm=Ln("select",{target:"e1bagdl30"})("&&&{",Om,";cursor:pointer;border:1px solid transparent;height:100%;&:hover{background-color:",_o.lightGray[300],";}&:focus{border-color:",_o.ui.borderFocus,";outline:2px solid transparent;outline-offset:0;}&:disabled{cursor:initial;&:hover{background-color:transparent;}}}"),Dm="web"===s.Platform.OS,Im={px:{value:"px",label:Dm?"px":(0,d.__)("Pixels (px)"),default:"",a11yLabel:(0,d.__)("Pixels (px)"),step:1},"%":{value:"%",label:Dm?"%":(0,d.__)("Percentage (%)"),default:"",a11yLabel:(0,d.__)("Percent (%)"),step:.1},em:{value:"em",label:Dm?"em":(0,d.__)("Relative to parent font size (em)"),default:"",a11yLabel:(0,d._x)("ems","Relative to parent font size (em)"),step:.01},rem:{value:"rem",label:Dm?"rem":(0,d.__)("Relative to root font size (rem)"),default:"",a11yLabel:(0,d._x)("rems","Relative to root font size (rem)"),step:.01},vw:{value:"vw",label:Dm?"vw":(0,d.__)("Viewport width (vw)"),default:"",a11yLabel:(0,d.__)("Viewport width (vw)"),step:.1},vh:{value:"vh",label:Dm?"vh":(0,d.__)("Viewport height (vh)"),default:"",a11yLabel:(0,d.__)("Viewport height (vh)"),step:.1},vmin:{value:"vmin",label:Dm?"vmin":(0,d.__)("Viewport smallest dimension (vmin)"),default:"",a11yLabel:(0,d.__)("Viewport smallest dimension (vmin)"),step:.1},vmax:{value:"vmax",label:Dm?"vmax":(0,d.__)("Viewport largest dimension (vmax)"),default:"",a11yLabel:(0,d.__)("Viewport largest dimension (vmax)"),step:.1},ch:{value:"ch",label:Dm?"ch":(0,d.__)("Width of the zero (0) character (ch)"),default:"",a11yLabel:(0,d.__)("Width of the zero (0) character (ch)"),step:.01},ex:{value:"ex",label:Dm?"ex":(0,d.__)("x-height of the font (ex)"),default:"",a11yLabel:(0,d.__)("x-height of the font (ex)"),step:.01},cm:{value:"cm",label:Dm?"cm":(0,d.__)("Centimeters (cm)"),default:"",a11yLabel:(0,d.__)("Centimeters (cm)"),step:.001},mm:{value:"mm",label:Dm?"mm":(0,d.__)("Millimeters (mm)"),default:"",a11yLabel:(0,d.__)("Millimeters (mm)"),step:.1},in:{value:"in",label:Dm?"in":(0,d.__)("Inches (in)"),default:"",a11yLabel:(0,d.__)("Inches (in)"),step:.001},pc:{value:"pc",label:Dm?"pc":(0,d.__)("Picas (pc)"),default:"",a11yLabel:(0,d.__)("Picas (pc)"),step:1},pt:{value:"pt",label:Dm?"pt":(0,d.__)("Points (pt)"),default:"",a11yLabel:(0,d.__)("Points (pt)"),step:1}},Rm=Object.values(Im),Am=[Im.px,Im["%"],Im.em,Im.rem,Im.vw,Im.vh],Nm=Im.px;function Lm(e,t,n){return jm(t?`${e}${t}`:e,n)}function Fm(e){return Array.isArray(e)&&!!e.length}function jm(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Rm;const n=String(e).trim();let r=parseFloat(n);r=isNaN(r)?"":r;const o=n.match(/[\d.\-\+]*\s*(.*)/);let i=void 0!==(null==o?void 0:o[1])?o[1]:"";if(i=i.toLowerCase(),Fm(t)&&!1!==t){const e=t.find((e=>e.value===i));i=null==e?void 0:e.value}else i=Nm.value;return[r,i]}function zm(e,t,n,r){const[o,i]=jm(e,t);let a,s=o;var l;return Number.isFinite(o)&&""!==o||(s=n),a=i||r,Array.isArray(t)&&Fm(t)&&!a&&(a=null===(l=t[0])||void 0===l?void 0:l.value),[s,a]}const Bm=e=>{let{units:t,availableUnits:n,defaultValues:r}=e;t=t||Rm;const o=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;return Array.isArray(t)?t.filter((t=>e.includes(t.value))):[]}(n||[],t);return r&&o.forEach(((e,t)=>{r[e.value]&&(o[t].default=r[e.value])})),0!==o.length&&o};function Hm(e){let{className:t,isUnitSelectTabbable:n=!0,onChange:r=l.noop,size:o="default",unit:i="px",units:u=Am,...d}=e;if(!u||!Fm(u)||1===(null==u?void 0:u.length))return(0,s.createElement)(Tm,{className:"components-unit-control__unit-label",selectSize:o},i);const f=c()("components-unit-control__select",t);return(0,s.createElement)(Mm,a({className:f,onChange:e=>{const{value:t}=e.target,n=u.find((e=>e.value===t));r(t,{event:e,data:n})},selectSize:o,tabIndex:n?void 0:-1,value:i},d),u.map((e=>(0,s.createElement)("option",{value:e.value,key:e.value},e.label))))}const Vm={initial:void 0,fallback:""};var $m=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Vm;const{initial:n,fallback:r}={...Vm,...t},[o,i]=(0,s.useState)(e),a=Vh(e);(0,s.useEffect)((()=>{a&&o&&i(void 0)}),[a,o]);const l=Wh([e,o,n],r),u=e=>{a||i(e)};return[l,u]},Wm=(0,s.forwardRef)((function(e,t){let{__unstableStateReducer:n=(e=>e),autoComplete:r="off",className:o,disabled:i=!1,disableUnits:u=!1,isPressEnterToChange:f=!1,isResetValueOnUnitChange:p=!1,isUnitSelectTabbable:h=!0,label:m,onChange:v=l.noop,onUnitChange:g=l.noop,size:b="default",style:y,unit:w,units:_=Am,value:x,...E}=e;const k=(0,s.useMemo)((()=>function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Rm;if(!Array.isArray(n))return n;const r=[...n],[,o]=Lm(e,t,Rm);return o&&!r.some((e=>e.value===o))&&Im[o]&&r.unshift(Im[o]),r}(x,w,_)),[x,w,_]),[S,C]=Lm(x,w,k),[P,O]=$m(w,{initial:C,fallback:""}),T=(0,s.useRef)(null),M=c()("components-unit-control",o),D=e=>{if(!isNaN(Number(e.currentTarget.value)))return void(T.current=null);const[t,n]=zm(e.currentTarget.value,k,S,P);if(T.current=t.toString(),f&&n!==P){const r={event:e,data:Array.isArray(k)?k.find((e=>e.value===n)):void 0};v(`${t}${n}`,r),g(n,r),O(n)}},I=D,R=u?null:(0,s.createElement)(Hm,{"aria-label":(0,d.__)("Select unit"),disabled:i,isUnitSelectTabbable:h,onChange:(e,t)=>{const{data:n}=t;let r=`${S}${e}`;p&&void 0!==(null==n?void 0:n.default)&&(r=`${n.default}${e}`),v(r,t),g(e,t),O(e)},size:b,unit:P,units:k});let A=E.step;if(!A&&k){var N;const e=k.find((e=>e.value===P));A=null!==(N=null==e?void 0:e.step)&&void 0!==N?N:1}return(0,s.createElement)(Em,{className:"components-unit-control-wrapper",style:y},(0,s.createElement)(Pm,a({"aria-label":m,type:f?"text":"number"},(0,l.omit)(E,["children"]),{autoComplete:r,className:M,disabled:i,disableUnits:u,isPressEnterToChange:f,label:m,onBlur:I,onKeyDown:e=>{const{keyCode:t}=e;t===Sh.ENTER&&D(e)},onChange:(e,t)=>{""!==e?(e=zm(e,k,S,P).join(""),v(e,t)):v("",t)},ref:t,size:b,suffix:R,value:S,step:A,__unstableStateReducer:Bh(((e,t)=>(t.type===Th&&null!==T.current&&(e.value=T.current,T.current=null),e)),n)})))}));const Km=Ln("div",{target:"e7pk0lh6"})({name:"14bvcyk",styles:"box-sizing:border-box;max-width:235px;padding-bottom:12px;width:100%"}),Um=Ln(Ef,{target:"e7pk0lh5"})("color:",_o.ui.label,";padding-bottom:8px;"),Gm=Ln(Ef,{target:"e7pk0lh4"})({name:"aujtid",styles:"min-height:30px;gap:0"}),qm=Ln("div",{target:"e7pk0lh3"})({name:"112jwab",styles:"box-sizing:border-box;max-width:80px"}),Ym=Ln(Ef,{target:"e7pk0lh2"})({name:"xy18ro",styles:"justify-content:center;padding-top:8px"}),Xm=Ln(Ef,{target:"e7pk0lh1"})({name:"3tw5wk",styles:"position:relative;height:100%;width:100%;justify-content:flex-start"});var Zm={name:"1ch9yvl",styles:"border-radius:0"},Jm={name:"tg3mx0",styles:"border-radius:2px"};const Qm=e=>{let{isFirst:t,isLast:n,isOnly:r}=e;return t?_f({borderTopRightRadius:0,borderBottomRightRadius:0})():n?_f({borderTopLeftRadius:0,borderBottomLeftRadius:0})():r?Jm:Zm},ev=e=>{let{isFirst:t,isOnly:n}=e;return _f({marginLeft:t||n?0:-1})()},tv=Ln(Wm,{target:"e7pk0lh0"})("max-width:60px;",Qm,";",ev,";");function nv(e){let{isFirst:t,isLast:n,isOnly:r,onHoverOn:o=l.noop,onHoverOff:i=l.noop,label:u,value:c,...d}=e;const f=function(e,t){void 0===t&&(t={}),Zp.set("hover",kh);var n=(0,y.useRef)();return n.current||(n.current=_h(Gp,Eh)),vh({hover:e=>{let{event:t,...n}=e;n.hovering?o(t,n):i(t,n)}},n.current(t))}();return(0,s.createElement)(qm,f(),(0,s.createElement)(rv,{text:u},(0,s.createElement)(tv,a({"aria-label":u,className:"component-box-control__unit-control",hideHTMLArrows:!0,isFirst:t,isLast:n,isOnly:r,isPressEnterToChange:!0,isResetValueOnUnitChange:!1,value:c},d))))}function rv(e){let{children:t,text:n}=e;return n?(0,s.createElement)(Pr,{text:n,position:"top"},(0,s.createElement)("div",null,t)):t}const ov={all:(0,d.__)("All"),top:(0,d.__)("Top"),bottom:(0,d.__)("Bottom"),left:(0,d.__)("Left"),right:(0,d.__)("Right"),mixed:(0,d.__)("Mixed"),vertical:(0,d.__)("Vertical"),horizontal:(0,d.__)("Horizontal")},iv={top:null,right:null,bottom:null,left:null},av={top:!1,right:!1,bottom:!1,left:!1},sv=["top","right","bottom","left"];function lv(e){return e.sort(((t,n)=>e.filter((e=>e===t)).length-e.filter((e=>e===n)).length)).pop()}function uv(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:sv;const n=pv(t),r=n.map((t=>jm(e[t]))),o=r.map((e=>e[0])),i=r.map((e=>e[1])),a=o.every((e=>e===o[0]))?o[0]:"",s=lv(i),u=(0,l.isNumber)(a)?`${a}${s}`:null;return u}function cv(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:sv;const n=uv(e,t),r=isNaN(parseFloat(n));return r}function dv(e){return void 0!==e&&!(0,l.isEmpty)(Object.values(e).filter((e=>!!e&&/\d/.test(e))))}function fv(e,t){let n="all";return e||(n=t?"vertical":"top"),n}function pv(e){const t=[];if(null==e||!e.length)return sv;if(e.includes("vertical"))t.push("top","bottom");else if(e.includes("horizontal"))t.push("left","right");else{const n=sv.filter((t=>e.includes(t)));t.push(...n)}return t}function hv(e){let{onChange:t=l.noop,onFocus:n=l.noop,onHoverOn:r=l.noop,onHoverOff:o=l.noop,values:i,sides:u,selectedUnits:c,setSelectedUnits:d,...f}=e;const p=uv(i,u),h=dv(i)&&cv(i,u),m=h?ov.mixed:null,v=p?void 0:function(e){if(e&&"object"==typeof e)return lv(Object.values(e).filter(Boolean))}(c),g=(e,t)=>{const n={...e};return null!=u&&u.length?u.forEach((e=>{"vertical"===e?(n.top=t,n.bottom=t):"horizontal"===e?(n.left=t,n.right=t):n[e]=t})):sv.forEach((e=>n[e]=t)),n};return(0,s.createElement)(nv,a({},f,{disableUnits:h,isOnly:!0,value:p,unit:v,onChange:e=>{const n=!isNaN(parseFloat(e)),r=g(i,n?e:void 0);t(r)},onUnitChange:e=>{const t=g(c,e);d(t)},onFocus:e=>{n(e,{side:"all"})},onHoverOn:()=>{r({top:!0,bottom:!0,left:!0,right:!0})},onHoverOff:()=>{o({top:!1,bottom:!1,left:!1,right:!1})},placeholder:m}))}function mv(e){let{onChange:t=l.noop,onFocus:n=l.noop,onHoverOn:r=l.noop,onHoverOff:o=l.noop,values:i,selectedUnits:u,setSelectedUnits:c,sides:d,...f}=e;const p=e=>t=>{n(t,{side:e})},h=e=>()=>{r({[e]:!0})},m=e=>()=>{o({[e]:!1})},v=e=>(n,r)=>{let{event:o}=r;const{altKey:a}=o,s={...i},l=isNaN(parseFloat(n))?void 0:n;if(s[e]=l,a)switch(e){case"top":s.bottom=l;break;case"bottom":s.top=l;break;case"left":s.right=l;break;case"right":s.left=l}(e=>{t(e)})(s)},g=e=>t=>{const n={...u};n[e]=t,c(n)},b=null!=d&&d.length?sv.filter((e=>d.includes(e))):sv,y=b[0],w=b[b.length-1],_=y===w&&y;return(0,s.createElement)(Ym,{className:"component-box-control__input-controls-wrapper"},(0,s.createElement)(Xm,{gap:0,align:"top",className:"component-box-control__input-controls"},b.map((e=>(0,s.createElement)(nv,a({},f,{isFirst:y===e,isLast:w===e,isOnly:_===e,value:i[e],unit:i[e]?void 0:u[e],onChange:v(e),onUnitChange:g(e),onFocus:p(e),onHoverOn:h(e),onHoverOff:m(e),label:ov[e],key:`box-control-${e}`}))))))}const vv=["vertical","horizontal"];function gv(e){let{onChange:t,onFocus:n,onHoverOn:r,onHoverOff:o,values:i,selectedUnits:l,setSelectedUnits:u,sides:c,...d}=e;const f=e=>t=>{n&&n(t,{side:e})},p=e=>()=>{r&&("vertical"===e&&r({top:!0,bottom:!0}),"horizontal"===e&&r({left:!0,right:!0}))},h=e=>()=>{o&&("vertical"===e&&o({top:!1,bottom:!1}),"horizontal"===e&&o({left:!1,right:!1}))},m=e=>n=>{if(!t)return;const r={...i},o=isNaN(parseFloat(n))?void 0:n;"vertical"===e&&(r.top=o,r.bottom=o),"horizontal"===e&&(r.left=o,r.right=o),t(r)},v=e=>t=>{const n={...l};"vertical"===e&&(n.top=t,n.bottom=t),"horizontal"===e&&(n.left=t,n.right=t),u(n)},g=null!=c&&c.length?vv.filter((e=>c.includes(e))):vv,b=g[0],y=g[g.length-1],w=b===y;return(0,s.createElement)(Xm,{gap:0,align:"top",className:"component-box-control__vertical-horizontal-input-controls"},g.map((e=>(0,s.createElement)(nv,a({},d,{isFirst:b===e,isLast:y===e,isOnly:w===e,value:"vertical"===e?i.top:i.left,unit:"vertical"===e?l.top:l.left,onChange:m(e),onUnitChange:v(e),onFocus:f(e),onHoverOn:p(e),onHoverOff:h(e),label:ov[e],key:e})))))}const bv=Ln("span",{target:"eaw9yqk8"})({name:"1w884gc",styles:"box-sizing:border-box;display:block;width:24px;height:24px;position:relative;padding:4px"}),yv=Ln("span",{target:"eaw9yqk7"})({name:"i6vjox",styles:"box-sizing:border-box;display:block;position:relative;width:100%;height:100%"}),wv=Ln("span",{target:"eaw9yqk6"})("box-sizing:border-box;display:block;pointer-events:none;position:absolute;",(e=>{let{isFocused:t}=e;return Rr({backgroundColor:"currentColor",opacity:t?1:.3},"","")}),";"),_v=Ln(wv,{target:"eaw9yqk5"})({name:"1k2w39q",styles:"bottom:3px;top:3px;width:2px"}),xv=Ln(wv,{target:"eaw9yqk4"})({name:"1q9b07k",styles:"height:2px;left:3px;right:3px"}),Ev=Ln(xv,{target:"eaw9yqk3"})({name:"abcix4",styles:"top:0"}),kv=Ln(_v,{target:"eaw9yqk2"})({name:"1wf8jf",styles:"right:0"}),Sv=Ln(xv,{target:"eaw9yqk1"})({name:"8tapst",styles:"bottom:0"}),Cv=Ln(_v,{target:"eaw9yqk0"})({name:"1ode3cm",styles:"left:0"});function Pv(e){let{size:t=24,side:n="all",sides:r,...o}=e;const i=e=>!(e=>(null==r?void 0:r.length)&&!r.includes(e))(e)&&("all"===n||n===e),l=i("top")||i("vertical"),u=i("right")||i("horizontal"),c=i("bottom")||i("vertical"),d=i("left")||i("horizontal"),f=t/24;return(0,s.createElement)(bv,a({style:{transform:`scale(${f})`}},o),(0,s.createElement)(yv,null,(0,s.createElement)(Ev,{isFocused:l}),(0,s.createElement)(kv,{isFocused:u}),(0,s.createElement)(Sv,{isFocused:c}),(0,s.createElement)(Cv,{isFocused:d})))}var Ov=(0,s.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,s.createElement)(i.Path,{d:"M15.6 7.2H14v1.5h1.6c2 0 3.7 1.7 3.7 3.7s-1.7 3.7-3.7 3.7H14v1.5h1.6c2.8 0 5.2-2.3 5.2-5.2 0-2.9-2.3-5.2-5.2-5.2zM4.7 12.4c0-2 1.7-3.7 3.7-3.7H10V7.2H8.4c-2.9 0-5.2 2.3-5.2 5.2 0 2.9 2.3 5.2 5.2 5.2H10v-1.5H8.4c-2 0-3.7-1.7-3.7-3.7zm4.6.9h5.3v-1.5H9.3v1.5z"})),Tv=(0,s.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,s.createElement)(i.Path,{d:"M15.6 7.3h-.7l1.6-3.5-.9-.4-3.9 8.5H9v1.5h2l-1.3 2.8H8.4c-2 0-3.7-1.7-3.7-3.7s1.7-3.7 3.7-3.7H10V7.3H8.4c-2.9 0-5.2 2.3-5.2 5.2 0 2.9 2.3 5.2 5.2 5.2H9l-1.4 3.2.9.4 5.7-12.5h1.4c2 0 3.7 1.7 3.7 3.7s-1.7 3.7-3.7 3.7H14v1.5h1.6c2.9 0 5.2-2.3 5.2-5.2 0-2.9-2.4-5.2-5.2-5.2z"}));function Mv(e){let{isLinked:t,...n}=e;const r=t?(0,d.__)("Unlink Sides"):(0,d.__)("Link Sides");return(0,s.createElement)(Pr,{text:r},(0,s.createElement)("span",null,(0,s.createElement)(Hn,a({},n,{className:"component-box-control__linked-button",variant:t?"primary":"secondary",isSmall:!0,icon:t?Ov:Tv,iconSize:16,"aria-label":r}))))}var Dv={name:"11f5o9n",styles:"bottom:0;left:0;pointer-events:none;position:absolute;right:0;top:0;z-index:1"};const Iv=Ln("div",{target:"e1df9b4q5"})("box-sizing:border-box;position:relative;",(e=>{let{isPositionAbsolute:t}=e;return t?Dv:""}),";"),Rv=Ln("div",{target:"e1df9b4q4"})("box-sizing:border-box;background:",_o.blue.wordpress[700],";background:",_o.ui.theme,";filter:brightness( 1 );opacity:0;position:absolute;pointer-events:none;transition:opacity 120ms linear;z-index:1;",(e=>{let{isActive:t}=e;return t&&"\n\t\topacity: 0.3;\n\t"}),";"),Av=Ln(Rv,{target:"e1df9b4q3"})({name:"5i97ct",styles:"top:0;left:0;right:0"}),Nv=Ln(Rv,{target:"e1df9b4q2"})("top:0;bottom:0;",_f({right:0}),";"),Lv=Ln(Rv,{target:"e1df9b4q1"})({name:"8cxke2",styles:"bottom:0;left:0;right:0"}),Fv=Ln(Rv,{target:"e1df9b4q0"})("top:0;bottom:0;",_f({left:0}),";");function jv(e){let{showValues:t=av,values:n}=e;const{top:r,right:o,bottom:i,left:a}=n;return(0,s.createElement)(s.Fragment,null,(0,s.createElement)(zv,{isVisible:t.top,value:r}),(0,s.createElement)(Bv,{isVisible:t.right,value:o}),(0,s.createElement)(Hv,{isVisible:t.bottom,value:i}),(0,s.createElement)(Vv,{isVisible:t.left,value:a}))}function zv(e){let{isVisible:t=!1,value:n}=e;const r=n,o=$v(r).isActive||t;return(0,s.createElement)(Av,{isActive:o,style:{height:r}})}function Bv(e){let{isVisible:t=!1,value:n}=e;const r=n,o=$v(r).isActive||t;return(0,s.createElement)(Nv,{isActive:o,style:{width:r}})}function Hv(e){let{isVisible:t=!1,value:n}=e;const r=n,o=$v(r).isActive||t;return(0,s.createElement)(Lv,{isActive:o,style:{height:r}})}function Vv(e){let{isVisible:t=!1,value:n}=e;const r=n,o=$v(r).isActive||t;return(0,s.createElement)(Fv,{isActive:o,style:{width:r}})}function $v(e){const[t,n]=(0,s.useState)(!1),r=(0,s.useRef)(e),o=(0,s.useRef)(),i=()=>{o.current&&window.clearTimeout(o.current)};return(0,s.useEffect)((()=>(e!==r.current&&(n(!0),r.current=e,i(),o.current=setTimeout((()=>{n(!1)}),400)),()=>i())),[e]),{isActive:t}}const Wv={min:0};function Kv(e){let{id:t,inputProps:n=Wv,onChange:r=l.noop,onChangeShowVisualizer:o=l.noop,label:i=(0,d.__)("Box Control"),values:u,units:c,sides:p,splitOnAxis:h=!1,allowReset:m=!0,resetValues:v=iv}=e;const[g,b]=$m(u,{fallback:iv}),y=g||iv,w=dv(u),_=1===(null==p?void 0:p.length),[x,E]=(0,s.useState)(w),[k,S]=(0,s.useState)(!w||!cv(y)||_),[C,P]=(0,s.useState)(fv(k,h)),[O,T]=(0,s.useState)({top:jm(null==u?void 0:u.top)[1],right:jm(null==u?void 0:u.right)[1],bottom:jm(null==u?void 0:u.bottom)[1],left:jm(null==u?void 0:u.left)[1]}),M=function(e){const t=(0,f.useInstanceId)(Kv,"inspector-box-control");return e||t}(t),D=`${M}-heading`,I={...n,onChange:e=>{r(e),b(e),E(!0)},onFocus:(e,t)=>{let{side:n}=t;P(n)},onHoverOn:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};o({...av,...e})},onHoverOff:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};o({...av,...e})},isLinked:k,units:c,selectedUnits:O,setSelectedUnits:T,sides:p,values:y};return(0,s.createElement)(Km,{id:M,role:"region","aria-labelledby":D},(0,s.createElement)(Um,{className:"component-box-control__header"},(0,s.createElement)(cf,null,(0,s.createElement)(Xf,{id:D,className:"component-box-control__label"},i)),m&&(0,s.createElement)(cf,null,(0,s.createElement)(Hn,{className:"component-box-control__reset-button",isSecondary:!0,isSmall:!0,onClick:()=>{r(v),b(v),T(v),E(!1)},disabled:!x},(0,d.__)("Reset")))),(0,s.createElement)(Gm,{className:"component-box-control__header-control-wrapper"},(0,s.createElement)(cf,null,(0,s.createElement)(Pv,{side:C,sides:p})),k&&(0,s.createElement)(uf,null,(0,s.createElement)(hv,a({"aria-label":i},I))),!k&&h&&(0,s.createElement)(uf,null,(0,s.createElement)(gv,I)),!_&&(0,s.createElement)(cf,null,(0,s.createElement)(Mv,{onClick:()=>{S(!k),P(fv(!k,h))},isLinked:k}))),!k&&!h&&(0,s.createElement)(mv,I))}Kv.__Visualizer=function(e){let{children:t,showValues:n=av,values:r=iv,...o}=e;const i=!t;return(0,s.createElement)(Iv,a({},o,{isPositionAbsolute:i,"aria-hidden":"true"}),(0,s.createElement)(jv,{showValues:n,values:r}),t)};var Uv=(0,s.forwardRef)((function(e,t){let{className:n,...r}=e;const o=c()("components-button-group",n);return(0,s.createElement)("div",a({ref:t,role:"group",className:o},r))}));const Gv={name:"12ip69d",styles:"background:transparent;display:block;margin:0!important;pointer-events:none;position:absolute;will-change:box-shadow"};function qv(e){return`0 ${e}px ${2*e}px 0\n\trgba(0 ,0, 0, ${e/20})`}var Yv=Cn((function(e,t){const n=function(e){const{active:t,borderRadius:n="inherit",className:r,focus:o,hover:i,isInteractive:a=!1,offset:u=0,value:c=0,...d}=Sn(e,"Elevation"),f=kn();return{...d,className:(0,s.useMemo)((()=>{let e=(0,l.isNil)(i)?2*c:i,s=(0,l.isNil)(t)?c/2:t;a||(e=(0,l.isNil)(i)?void 0:i,s=(0,l.isNil)(t)?void 0:t);const d=`box-shadow ${Af.transitionDuration} ${Af.transitionTimingFunction}`,p={};return p.Base=Rr({borderRadius:n,bottom:u,boxShadow:qv(c),opacity:Af.elevationIntensity,left:u,right:u,top:u,transition:d},xo("transition"),"",""),(0,l.isNil)(e)||(p.hover=Rr("*:hover>&{box-shadow:",qv(e),";}","")),(0,l.isNil)(s)||(p.active=Rr("*:active>&{box-shadow:",qv(s),";}","")),(0,l.isNil)(o)||(p.focus=Rr("*:focus>&{box-shadow:",qv(o),";}","")),f(Gv,p.Base,p.hover&&p.hover,p.focus&&p.focus,p.active&&p.active,r)}),[t,n,r,o,i,a,u,c]),"aria-hidden":!0}}(e);return(0,s.createElement)(jn,a({},n,{ref:t}))}),"Elevation");const Xv=Rr("box-shadow:0 0 0 1px ",Af.surfaceBorderColor,";outline:none;",""),Zv={name:"1showjb",styles:"border-bottom:1px solid;box-sizing:border-box;&:last-child{border-bottom:none;}"},Jv={name:"14n5oej",styles:"border-top:1px solid;box-sizing:border-box;&:first-of-type{border-top:none;}"},Qv={name:"13udsys",styles:"height:100%"},eg={name:"6ywzd",styles:"box-sizing:border-box;height:auto;max-height:100%"},tg={name:"dq805e",styles:"box-sizing:border-box;overflow:hidden;&>img,&>iframe{display:block;height:auto;max-width:100%;width:100%;}"},ng={name:"c990dr",styles:"box-sizing:border-box;display:block;width:100%"},rg=Rr("&:first-of-type{border-top-left-radius:",Af.cardBorderRadius,";border-top-right-radius:",Af.cardBorderRadius,";}&:last-of-type{border-bottom-left-radius:",Af.cardBorderRadius,";border-bottom-right-radius:",Af.cardBorderRadius,";}",""),og=Rr("border-color:",Af.colorDivider,";",""),ig={name:"1t90u8d",styles:"box-shadow:none"},ag={name:"1e1ncky",styles:"border:none"},sg=Rr("border-radius:",Af.cardBorderRadius,";",""),lg=Rr("padding:",Af.cardPaddingXSmall,";",""),ug={large:Rr("padding:",Af.cardPaddingLarge,";",""),medium:Rr("padding:",Af.cardPaddingMedium,";",""),small:Rr("padding:",Af.cardPaddingSmall,";",""),xSmall:lg,extraSmall:lg},cg=Rr("background-color:",_o.lightGray[200],";",""),dg=Rr("background-color:",Af.surfaceColor,";color:",_o.black,";position:relative;","");Af.surfaceBackgroundColor;const fg=Rr("",""),pg=Rr("background:",Af.surfaceBackgroundTintColor,";",""),hg=Rr("background:",Af.surfaceBackgroundTertiaryColor,";",""),mg=e=>[e,e].join(" "),vg=e=>["90deg",[Af.surfaceBackgroundColor,e].join(" "),"transparent 1%"].join(","),gg=e=>[[Af.surfaceBackgroundColor,e].join(" "),"transparent 1%"].join(","),bg=[`linear-gradient( ${[`${Af.surfaceBorderSubtleColor} 1px`,"transparent 1px"].join(",")} )`,`linear-gradient( ${["90deg",`${Af.surfaceBorderSubtleColor} 1px`,"transparent 1px"].join(",")} )`].join(","),yg=(e,t,n)=>{switch(e){case"dotted":return((e,t)=>Rr("background:",(e=>[`linear-gradient( ${vg(e)} ) center`,`linear-gradient( ${gg(e)} ) center`,Af.surfaceBorderBoldColor].join(","))(t),";background-size:",mg(e),";",""))(t,n);case"grid":return(e=>Rr("background:",Af.surfaceBackgroundColor,";background-image:",bg,";background-size:",mg(e),";",""))(t);case"primary":return fg;case"secondary":return pg;case"tertiary":return hg}};function wg(e){const{backgroundSize:t=12,borderBottom:n=!1,borderLeft:r=!1,borderRight:o=!1,borderTop:i=!1,className:a,variant:l="primary",...u}=Sn(e,"Surface"),c=kn();return{...u,className:(0,s.useMemo)((()=>{const e={};return e.borders=function(e){let{borderBottom:t,borderLeft:n,borderRight:r,borderTop:o}=e;const i=`1px solid ${Af.surfaceBorderColor}`;return Rr({borderBottom:t?i:void 0,borderLeft:n?i:void 0,borderRight:r?i:void 0,borderTop:o?i:void 0},"","")}({borderBottom:n,borderLeft:r,borderRight:o,borderTop:i}),c(dg,e.borders,yg(l,`${t}px`,t-1+"px"),a)}),[t,n,r,o,i,a,l])}}var _g=Cn((function(e,t){const{children:n,elevation:r,isBorderless:o,isRounded:i,size:l,...u}=function(e){const{className:t,elevation:n=0,isBorderless:r=!1,isRounded:o=!0,size:i="medium",...a}=Sn(function(e){let{elevation:t,isElevated:n,...r}=e;const o={...r};let i=t;var a;return n&&(Be()("Card isElevated prop",{since:"5.9",alternative:"elevation"}),null!==(a=i)&&void 0!==a||(i=2)),void 0!==i&&(o.elevation=i),o}(e),"Card"),l=kn();return{...wg({...a,className:(0,s.useMemo)((()=>l(Xv,r&&ig,o&&sg,t)),[t,r,o])}),elevation:n,isBorderless:r,isRounded:o,size:i}}(e),c=i?Af.cardBorderRadius:0,d=kn(),f=(0,s.useMemo)((()=>d(Rr({borderRadius:c},"",""))),[c]),p=(0,s.useMemo)((()=>{const e={size:l,isBorderless:o};return{CardBody:e,CardHeader:e,CardFooter:e}}),[o,l]);return(0,s.createElement)(Ue,{value:p},(0,s.createElement)(jn,a({},u,{ref:t}),(0,s.createElement)(jn,{className:d(Qv)},n),(0,s.createElement)(Yv,{className:f,isInteractive:!1,value:r?1:0}),(0,s.createElement)(Yv,{className:f,isInteractive:!1,value:r})))}),"Card");const xg=Rr("@media only screen and ( min-device-width: 40em ){&::-webkit-scrollbar{height:12px;width:12px;}&::-webkit-scrollbar-track{background-color:transparent;}&::-webkit-scrollbar-track{background:",Af.colorScrollbarTrack,";border-radius:8px;}&::-webkit-scrollbar-thumb{background-clip:padding-box;background-color:",Af.colorScrollbarThumb,";border:2px solid rgba( 0, 0, 0, 0 );border-radius:7px;}&:hover::-webkit-scrollbar-thumb{background-color:",Af.colorScrollbarThumbHover,";}}",""),Eg={name:"13udsys",styles:"height:100%"},kg={name:"7zq9w",styles:"scroll-behavior:smooth"},Sg={name:"q33xhg",styles:"overflow-x:auto;overflow-y:hidden"},Cg={name:"103x71s",styles:"overflow-x:hidden;overflow-y:auto"},Pg={name:"umwchj",styles:"overflow-y:auto"};var Og=Cn((function(e,t){const n=function(e){const{className:t,scrollDirection:n="y",smoothScroll:r=!1,...o}=Sn(e,"Scrollable"),i=kn();return{...o,className:(0,s.useMemo)((()=>i(Eg,xg,r&&kg,"x"===n&&Sg,"y"===n&&Cg,"auto"===n&&Pg,t)),[t,n,r])}}(e);return(0,s.createElement)(jn,a({},n,{ref:t}))}),"Scrollable"),Tg=Cn((function(e,t){const{isScrollable:n,...r}=function(e){const{className:t,isScrollable:n=!1,isShady:r=!1,size:o="medium",...i}=Sn(e,"CardBody"),a=kn();return{...i,className:(0,s.useMemo)((()=>a(eg,rg,ug[o],r&&cg,"components-card__body",t)),[t,r,o]),isScrollable:n}}(e);return n?(0,s.createElement)(Og,a({},r,{ref:t})):(0,s.createElement)(jn,a({},r,{ref:t}))}),"CardBody"),Mg=z({as:"hr",memo:!0,useHook:H({name:"Separator",compose:ue,keys:["orientation"],useOptions:function(e){var t=e.orientation;return m({orientation:void 0===t?"horizontal":t},v(e,["orientation"]))},useProps:function(e,t){return m({role:"separator","aria-orientation":e.orientation},t)}})});const Dg={vertical:{start:"marginLeft",end:"marginRight"},horizontal:{start:"marginTop",end:"marginBottom"}},Ig=Ln("hr",{target:"e19on6iw0"})("border:0;margin:0;",(e=>{let{"aria-orientation":t="horizontal"}=e;return Rr({["vertical"===t?"borderRight":"borderBottom"]:"1px solid currentColor"},"","")})," ",(e=>{let{"aria-orientation":t="horizontal"}=e;return Rr({height:"vertical"===t?"auto":0,width:"vertical"===t?0:"auto"},"","")})," ",(e=>{let{"aria-orientation":t="horizontal",margin:n,marginStart:r,marginEnd:o}=e;return Rr(_f({[Dg[t].start]:hf(null!=r?r:n),[Dg[t].end]:hf(null!=o?o:n)})(),"","")}),";");var Rg=Cn((function(e,t){const n=Sn(e,"Divider");return(0,s.createElement)(Mg,a({as:Ig},n,{ref:t}))}),"Divider"),Ag=Cn((function(e,t){const n=function(e){const{className:t,...n}=Sn(e,"CardDivider"),r=kn();return{...n,className:(0,s.useMemo)((()=>r(ng,og,"components-card__divider",t)),[t])}}(e);return(0,s.createElement)(Rg,a({},n,{ref:t}))}),"CardDivider"),Ng=Cn((function(e,t){const n=function(e){const{className:t,justify:n,isBorderless:r=!1,isShady:o=!1,size:i="medium",...a}=Sn(e,"CardFooter"),l=kn();return{...a,className:(0,s.useMemo)((()=>l(Jv,rg,og,ug[i],r&&ag,o&&cg,"components-card__footer",t)),[t,r,o,i]),justify:n}}(e);return(0,s.createElement)(Ef,a({},n,{ref:t}))}),"CardFooter"),Lg=Cn((function(e,t){const n=function(e){const{className:t,isBorderless:n=!1,isShady:r=!1,size:o="medium",...i}=Sn(e,"CardHeader"),a=kn();return{...i,className:(0,s.useMemo)((()=>a(Zv,rg,og,ug[o],n&&ag,r&&cg,"components-card__header",t)),[t,n,r,o])}}(e);return(0,s.createElement)(Ef,a({},n,{ref:t}))}),"CardHeader"),Fg=Cn((function(e,t){const n=function(e){const{className:t,...n}=Sn(e,"CardMedia"),r=kn();return{...n,className:(0,s.useMemo)((()=>r(tg,rg,"components-card__media",t)),[t])}}(e);return(0,s.createElement)(jn,a({},n,{ref:t}))}),"CardMedia"),jg=function(e){let{icon:t,size:n=24,...r}=e;return(0,s.cloneElement)(t,{width:n,height:n,...r})},zg=(0,s.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,s.createElement)(i.Path,{d:"M16.7 7.1l-6.3 8.5-3.3-2.5-.9 1.2 4.5 3.4L17.9 8z"}));function Bg(e){let{label:t,className:n,heading:r,checked:o,help:i,onChange:l,...u}=e;r&&Be()("`heading` prop in `CheckboxControl`",{alternative:"a separate element to implement a heading",since:"5.8"});const d=`inspector-checkbox-control-${(0,f.useInstanceId)(Bg)}`;return(0,s.createElement)(hm,{label:r,id:d,help:i,className:c()("components-checkbox-control",n)},(0,s.createElement)("span",{className:"components-checkbox-control__input-container"},(0,s.createElement)("input",a({id:d,className:"components-checkbox-control__input",type:"checkbox",value:"1",onChange:e=>l(e.target.checked),checked:o,"aria-describedby":i?d+"__help":void 0},u)),o?(0,s.createElement)(jg,{icon:zg,className:"components-checkbox-control__checked",role:"presentation"}):null),(0,s.createElement)("label",{className:"components-checkbox-control__label",htmlFor:d},t))}function Hg(e){let{className:t,children:n,onCopy:r,onFinishCopy:o,text:i,...l}=e;Be()("wp.components.ClipboardButton",{since:"5.8",alternative:"wp.compose.useCopyToClipboard"});const u=(0,s.useRef)(),d=(0,f.useCopyToClipboard)(i,(()=>{r(),clearTimeout(u.current),o&&(u.current=setTimeout((()=>o()),4e3))}));(0,s.useEffect)((()=>{clearTimeout(u.current)}),[]);const p=c()("components-clipboard-button",t);return(0,s.createElement)(Hn,a({},l,{className:p,ref:d,onCopy:e=>{e.target.focus()}}),n)}var Vg=(0,s.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none"},(0,s.createElement)(i.Path,{d:"M5 11.25h14v1.5H5z"})),$g=(0,s.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,s.createElement)(i.Path,{d:"M18 11.2h-5.2V6h-1.6v5.2H6v1.6h5.2V18h1.6v-5.2H18z"})),Wg=(0,s.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,s.createElement)(i.Path,{d:"M13 19h-2v-2h2v2zm0-6h-2v-2h2v2zm0-6h-2V5h2v2z"})),Kg=(0,s.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,s.createElement)(i.Path,{d:"M14.5 13.8c-1.1 0-2.1.7-2.4 1.8H4V17h8.1c.3 1 1.3 1.8 2.4 1.8s2.1-.7 2.4-1.8H20v-1.5h-3.1c-.3-1-1.3-1.7-2.4-1.7zM11.9 7c-.3-1-1.3-1.8-2.4-1.8S7.4 6 7.1 7H4v1.5h3.1c.3 1 1.3 1.8 2.4 1.8s2.1-.7 2.4-1.8H20V7h-8.1z"}));const Ug={bottom:{align:"flex-end",justify:"center"},bottomLeft:{align:"flex-start",justify:"flex-end"},bottomRight:{align:"flex-end",justify:"flex-end"},center:{align:"center",justify:"center"},edge:{align:"center",justify:"space-between"},left:{align:"center",justify:"flex-start"},right:{align:"center",justify:"flex-end"},stretch:{align:"stretch"},top:{align:"flex-start",justify:"center"},topLeft:{align:"flex-start",justify:"flex-start"},topRight:{align:"flex-start",justify:"flex-end"}},Gg={bottom:{justify:"flex-end",align:"center"},bottomLeft:{justify:"flex-start",align:"flex-end"},bottomRight:{justify:"flex-end",align:"flex-end"},center:{justify:"center",align:"center"},edge:{justify:"space-between",align:"center"},left:{justify:"center",align:"flex-start"},right:{justify:"center",align:"flex-end"},stretch:{justify:"stretch"},top:{justify:"flex-start",align:"center"},topLeft:{justify:"flex-start",align:"flex-start"},topRight:{justify:"flex-start",align:"flex-end"}};function qg(e){return"string"==typeof e?[e]:s.Children.toArray(e).filter((e=>(0,s.isValidElement)(e)))}function Yg(e){const{alignment:t="edge",children:n,direction:r,spacing:o=2,...i}=Sn(e,"HStack"),u=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"row";if((0,l.isNil)(e))return{};const n="column"===t?Gg:Ug;return e in n?n[e]:{align:e}}(t,r);return xf({children:qg(n).map(((e,t)=>{const n=e.key||`hstack-${t}`;return On(e,["Spacer"])?(0,s.createElement)(cf,a({isBlock:!0,key:n},e.props)):e})),direction:r,justify:"center",...u,...i,gap:o})}var Xg=Cn((function(e,t){const n=Yg(e);return(0,s.createElement)(jn,a({},n,{ref:t}))}),"HStack"),Zg=(0,s.createElement)(i.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,s.createElement)(i.Path,{d:"M17.5 11.6L12 16l-5.5-4.4.9-1.2L12 14l4.5-3.6 1 1.2z"}));const Jg=Ln("select",{target:"e1mv6sxx1"})("&&&{appearance:none;background:transparent;box-sizing:border-box;border:none;box-shadow:none!important;color:",_o.black,";display:block;margin:0;width:100%;",(e=>{let{disabled:t}=e;return t?Rr({color:_o.ui.textDisabled},"",""):""}),";",(e=>{let{selectSize:t}=e;const n={default:"13px",small:"11px","__unstable-large":"13px"}[t];return n?Rr("font-size:","16px",";@media ( min-width: 600px ){font-size:",n,";}",""):""}),";",(e=>{let{selectSize:t}=e;const n={default:{height:30,lineHeight:1,minHeight:30},small:{height:24,lineHeight:1,minHeight:24},"__unstable-large":{height:40,lineHeight:1,minHeight:40}};return Rr(n[t]||n.default,"","")}),";",(e=>{let{selectSize:t="default"}=e;return _f({default:{paddingLeft:8,paddingRight:24},small:{paddingLeft:8,paddingRight:24},"__unstable-large":{paddingLeft:16,paddingRight:32}}[t])}),";}"),Qg=Ln("div",{target:"e1mv6sxx0"})("align-items:center;bottom:0;box-sizing:border-box;display:flex;padding:0 4px;pointer-events:none;position:absolute;top:0;",_f({right:0})," svg{display:block;}");var eb=(0,s.forwardRef)((function e(t,n){let{className:r,disabled:o=!1,help:i,hideLabelFromVision:u,id:d,label:p,multiple:h=!1,onBlur:m=l.noop,onChange:v=l.noop,onFocus:g=l.noop,options:b=[],size:y="default",value:w,labelPosition:_="top",children:x,prefix:E,suffix:k,...S}=t;const[C,P]=(0,s.useState)(!1),O=function(t){const n=(0,f.useInstanceId)(e);return t||`inspector-select-control-${n}`}(d),T=i?`${O}__help`:void 0;if((0,l.isEmpty)(b)&&!x)return null;const M=c()("components-select-control",r);return(0,s.createElement)(hm,{help:i,id:O},(0,s.createElement)(gp,{className:M,disabled:o,hideLabelFromVision:u,id:O,isFocused:C,label:p,size:y,suffix:k||(0,s.createElement)(Qg,null,(0,s.createElement)(jg,{icon:Zg,size:18})),prefix:E,labelPosition:_},(0,s.createElement)(Jg,a({},S,{"aria-describedby":T,className:"components-select-control__input",disabled:o,id:O,multiple:h,onBlur:e=>{m(e),P(!1)},onChange:e=>{if(h){const t=Array.from(e.target.options).filter((e=>{let{selected:t}=e;return t})).map((e=>{let{value:t}=e;return t}));v(t)}else v(e.target.value,{event:e})},onFocus:e=>{g(e),P(!0)},ref:n,selectSize:y,value:w}),x||b.map(((e,t)=>{const n=e.id||`${e.label}-${e.value}-${t}`;return(0,s.createElement)("option",{key:n,value:e.value,disabled:e.disabled},e.label)})))))}));function tb(e,t,n){return"number"!=typeof e?null:parseFloat((0,l.clamp)(e,t,n))}const nb=()=>Rr({height:30,minHeight:30},"",""),rb=Ln("div",{target:"exqw8y214"})({name:"17z6zai",styles:"-webkit-tap-highlight-color:transparent;box-sizing:border-box;align-items:flex-start;display:inline-flex;justify-content:flex-start;padding:0;position:relative;touch-action:none;width:100%"}),ob=Ln("div",{target:"exqw8y213"})("box-sizing:border-box;color:",_o.blue.medium.focus,";display:block;flex:1;position:relative;width:100%;",(e=>{let{color:t=_o.ui.borderFocus}=e;return Rr({color:t},"","")}),";",nb,";",(e=>{let{marks:t}=e;return Rr({marginBottom:t?16:null},"","")}),";"),ib=Ln("span",{target:"exqw8y212"})("margin-top:",4,"px;",_f({marginRight:6}),";"),ab=Ln("span",{target:"exqw8y211"})("margin-top:",4,"px;",_f({marginLeft:16}),";"),sb=Ln("span",{target:"exqw8y210"})("background-color:",_o.lightGray[600],";box-sizing:border-box;left:0;pointer-events:none;right:0;display:block;height:",4,"px;position:absolute;margin-top:",13,"px;top:0;border-radius:",4,"px;",(e=>{let{disabled:t,railColor:n}=e,r=n||null;return t&&(r=_o.lightGray[400]),Rr({background:r},"","")}),";"),lb=Ln("span",{target:"exqw8y29"})("background-color:currentColor;border-radius:",4,"px;box-sizing:border-box;height:",4,"px;pointer-events:none;display:block;position:absolute;margin-top:",13,"px;top:0;",(e=>{let{disabled:t,trackColor:n}=e,r=n||"currentColor";return t&&(r=_o.lightGray[800]),Rr({background:r},"","")}),";"),ub=Ln("span",{target:"exqw8y28"})({name:"1xuuvmv",styles:"box-sizing:border-box;display:block;pointer-events:none;position:relative;width:100%;user-select:none"}),cb=Ln("span",{target:"exqw8y27"})("box-sizing:border-box;height:",12,"px;left:0;position:absolute;top:-4px;width:1px;",(e=>{let{disabled:t,isFilled:n}=e,r=n?"currentColor":_o.lightGray[600];return t&&(r=_o.lightGray[800]),Rr({backgroundColor:r},"","")}),";"),db=Ln("span",{target:"exqw8y26"})("box-sizing:border-box;color:",_o.lightGray[600],";left:0;font-size:11px;position:absolute;top:12px;transform:translateX( -50% );white-space:nowrap;",(e=>{let{isFilled:t}=e;return Rr({color:t?_o.darkGray[300]:_o.lightGray[600]},"","")}),";");var fb={name:"1sb75b3",styles:"background-color:var( --wp-admin-theme-color )"};const pb=e=>{let{disabled:t}=e;return t?Rr("background-color:",_o.lightGray[800],";",""):fb},hb=Ln("span",{target:"exqw8y25"})("align-items:center;box-sizing:border-box;display:flex;height:",12,"px;justify-content:center;margin-top:",9,"px;outline:0;pointer-events:none;position:absolute;top:0;user-select:none;width:",12,"px;border-radius:50%;",pb,";",_f({marginLeft:-10}),";",_f({transform:"translateX( 4.5px )"},{transform:"translateX( -4.5px )"}),";"),mb=Ln("span",{target:"exqw8y24"})("align-items:center;border-radius:50%;box-sizing:border-box;height:100%;outline:0;position:absolute;user-select:none;width:100%;",pb,";",(e=>{let{isFocused:t}=e;return t?Rr("&::before{content:' ';position:absolute;background-color:var( --wp-admin-theme-color );opacity:0.4;border-radius:50%;height:",20,"px;width:",20,"px;top:-4px;left:-4px;}",""):""}),";"),vb=Ln("input",{target:"exqw8y23"})("box-sizing:border-box;cursor:pointer;display:block;height:100%;left:0;margin:0 -",6,"px;opacity:0;outline:none;position:absolute;right:0;top:0;width:calc( 100% + ",12,"px );");var gb={name:"1cypxip",styles:"top:-80%"},bb={name:"1lr98c4",styles:"bottom:-80%"};const yb=Ln("span",{target:"exqw8y22"})("background:rgba( 0, 0, 0, 0.8 );border-radius:2px;box-sizing:border-box;color:white;display:inline-block;font-size:12px;min-width:32px;opacity:0;padding:4px 8px;pointer-events:none;position:absolute;text-align:center;transition:opacity 120ms ease;user-select:none;line-height:1.4;",(e=>{let{show:t}=e;return Rr({opacity:t?1:0},"","")}),";",(e=>{let{position:t}=e;return"bottom"===t?bb:gb}),";",xo("transition"),";",_f({transform:"translateX(-50%)"},{transform:"translateX(50%)"}),";"),wb=Ln(xm,{target:"exqw8y21"})("box-sizing:border-box;display:inline-block;font-size:13px;margin-top:0;width:",hf(16),"!important;input[type='number']&{",nb,";}",_f({marginLeft:`${hf(4)} !important`}),";"),_b=Ln("span",{target:"exqw8y20"})("box-sizing:border-box;display:block;margin-top:0;button,button.is-small{margin-left:0;",nb,";}",_f({marginLeft:8}),";");var xb=(0,s.forwardRef)((function(e,t){let{describedBy:n,label:r,onHideTooltip:o=l.noop,onMouseLeave:i=l.noop,onMouseMove:u=l.noop,onShowTooltip:c=l.noop,value:d,...f}=e;const p=function(e){let{onHide:t=l.noop,onMouseLeave:n=l.noop,onMouseMove:r=l.noop,onShow:o=l.noop,timeout:i=300}=e;const[a,u]=(0,s.useState)(!1),c=(0,s.useRef)(),d=(0,s.useCallback)((e=>{window.clearTimeout(c.current),c.current=setTimeout(e,i)}),[i]),f=(0,s.useCallback)((e=>{r(e),d((()=>{a||(u(!0),o())}))}),[]),p=(0,s.useCallback)((e=>{n(e),d((()=>{u(!1),t()}))}),[]);return(0,s.useEffect)((()=>()=>{window.clearTimeout(c.current)})),{onMouseMove:f,onMouseLeave:p}}({onHide:o,onMouseLeave:i,onMouseMove:u,onShow:c});return(0,s.createElement)(vb,a({},f,p,{"aria-describedby":n,"aria-label":r,"aria-hidden":!1,ref:t,tabIndex:0,type:"range",value:d}))}));function Eb(e){let{className:t,isFilled:n=!1,label:r,style:o={},...i}=e;const l=c()("components-range-control__mark",n&&"is-filled",t),u=c()("components-range-control__mark-label",n&&"is-filled");return(0,s.createElement)(s.Fragment,null,(0,s.createElement)(cb,a({},i,{"aria-hidden":"true",className:l,isFilled:n,style:o})),r&&(0,s.createElement)(db,{"aria-hidden":"true",className:u,isFilled:n,style:o},r))}function kb(e){let{disabled:t=!1,marks:n=!1,min:r=0,max:o=100,step:i=1,value:l=0,...u}=e;return(0,s.createElement)(s.Fragment,null,(0,s.createElement)(sb,a({disabled:t},u)),n&&(0,s.createElement)(Sb,{disabled:t,marks:n,min:r,max:o,step:i,value:l}))}function Sb(e){let{disabled:t=!1,marks:n=!1,min:r=0,max:o=100,step:i=1,value:l=0}=e;"any"===i&&(i=1);const u=function(e){let{marks:t,min:n=0,max:r=100,step:o=1,value:i=0}=e;if(!t)return[];const a=r-n;if(!Array.isArray(t)){t=[];const e=1+Math.round(a/o);for(;e>t.push({value:o*t.length+n}););}const s=[];return t.forEach(((e,t)=>{if(e.value<n||e.value>r)return;const o=`mark-${t}`,l=e.value<=i,u=(e.value-n)/a*100+"%",c={[(0,d.isRTL)()?"right":"left"]:u};s.push({...e,isFilled:l,key:o,style:c})})),s}({marks:n,min:r,max:o,step:i,value:l});return(0,s.createElement)(ub,{"aria-hidden":"true",className:"components-range-control__marks"},u.map((e=>(0,s.createElement)(Eb,a({},e,{key:e.key,"aria-hidden":"true",disabled:t})))))}function Cb(e){let{className:t,inputRef:n,tooltipPosition:r,show:o=!1,style:i={},value:l=0,renderTooltipContent:u=(e=>e),zIndex:d=100,...f}=e;const p=function(e){let{inputRef:t,tooltipPosition:n}=e;const[r,o]=(0,s.useState)(),i=(0,s.useCallback)((()=>{t&&t.current&&o(n)}),[n]);return(0,s.useEffect)((()=>{i()}),[i]),(0,s.useEffect)((()=>(window.addEventListener("resize",i),()=>{window.removeEventListener("resize",i)}))),r}({inputRef:n,tooltipPosition:r}),h=c()("components-simple-tooltip",t),m={...i,zIndex:d};return(0,s.createElement)(yb,a({},f,{"aria-hidden":o,className:h,position:p,show:o,role:"tooltip",style:m}),u(l))}var Pb=(0,s.forwardRef)((function e(t,n){var r;let{afterIcon:o,allowReset:i=!1,beforeIcon:u,className:p,currentInput:h,color:m=_o.ui.theme,disabled:v=!1,help:g,initialPosition:b,isShiftStepEnabled:y=!0,label:w,hideLabelFromVision:_=!1,marks:x=!1,max:E=100,min:k=0,onBlur:S=l.noop,onChange:C=l.noop,onFocus:P=l.noop,onMouseMove:O=l.noop,onMouseLeave:T=l.noop,railColor:M,resetFallbackValue:D,renderTooltipContent:I=(e=>e),showTooltip:R,shiftStep:A=10,step:N=1,trackColor:L,value:F,withInputField:j=!0,...z}=t;const[B,H]=function(e){let{min:t,max:n,value:r,initial:o}=e;const[i,a]=$m(tb(r,t,n),{initial:o,fallback:null});return[i,(0,s.useCallback)((e=>{a(null===e?null:tb(e,t,n))}),[t,n])]}({min:k,max:E,value:F,initial:b}),V=(0,s.useRef)(!1);"any"===N&&(R=!1,j=!1);const[$,W]=(0,s.useState)(R),[K,U]=(0,s.useState)(!1),G=(0,s.useRef)(),q=null===(r=G.current)||void 0===r?void 0:r.matches(":focus"),Y=!v&&K,X=null===B,Z=X?"":void 0!==B?B:h,J=X?(E-k)/2+k:B,Q=X?50:(B-k)/(E-k)*100,ee=`${(0,l.clamp)(Q,0,100)}%`,te=c()("components-range-control",p),ne=c()("components-range-control__wrapper",!!x&&"is-marked"),re=(0,f.useInstanceId)(e,"inspector-range-control"),oe=g?`${re}__help`:void 0,ie=!1!==R&&(0,l.isFinite)(B),ae=()=>{let e=parseFloat(D),t=e;isNaN(e)&&(e=null,t=void 0),H(e),C(t)},se={[(0,d.isRTL)()?"right":"left"]:ee};return(0,s.createElement)(hm,{className:te,label:w,hideLabelFromVision:_,id:re,help:g},(0,s.createElement)(rb,{className:"components-range-control__root"},u&&(0,s.createElement)(ib,null,(0,s.createElement)(Ve,{icon:u})),(0,s.createElement)(ob,{className:ne,color:m,marks:!!x},(0,s.createElement)(xb,a({},z,{className:"components-range-control__slider",describedBy:oe,disabled:v,id:re,label:w,max:E,min:k,onBlur:e=>{S(e),U(!1),W(!1)},onChange:e=>{const t=parseFloat(e.target.value);H(t),C(t)},onFocus:e=>{P(e),U(!0),W(!0)},onMouseMove:O,onMouseLeave:T,ref:e=>{G.current=e,n&&n(e)},step:N,value:Z})),(0,s.createElement)(kb,{"aria-hidden":!0,disabled:v,marks:x,max:E,min:k,railColor:M,step:N,value:J}),(0,s.createElement)(lb,{"aria-hidden":!0,className:"components-range-control__track",disabled:v,style:{width:ee},trackColor:L}),(0,s.createElement)(hb,{style:se,disabled:v},(0,s.createElement)(mb,{"aria-hidden":!0,isFocused:Y,disabled:v})),ie&&(0,s.createElement)(Cb,{className:"components-range-control__tooltip",inputRef:G,tooltipPosition:"bottom",renderTooltipContent:I,show:q||$,style:se,value:B})),o&&(0,s.createElement)(ab,null,(0,s.createElement)(Ve,{icon:o})),j&&(0,s.createElement)(wb,{"aria-label":w,className:"components-range-control__number",disabled:v,inputMode:"decimal",isShiftStepEnabled:y,max:E,min:k,onBlur:()=>{V.current&&(ae(),V.current=!1)},onChange:e=>{e=parseFloat(e),H(e),isNaN(e)?i&&(V.current=!0):((e<k||e>E)&&(e=tb(e,k,E)),C(e),V.current=!1)},shiftStep:A,step:N,value:Z}),i&&(0,s.createElement)(_b,null,(0,s.createElement)(Hn,{className:"components-range-control__reset",disabled:v||void 0===B,variant:"secondary",isSmall:!0,onClick:ae},(0,d.__)("Reset")))))}));const Ob=Ln(xm,{target:"ez9hsf46"})(ap,"{width:",hf(24),";}"),Tb=Ln(eb,{target:"ez9hsf45"})("margin-left:",hf(-2),";width:5em;",fp,"{display:none;}"),Mb=Ln(Pb,{target:"ez9hsf44"})("flex:1;",cm,"{margin-bottom:0;}"),Db=`\n&&& ${sp} {\n\theight: 40px;\n}`,Ib=`\n.react-colorful__interactive {\n\twidth: calc( 100% - ${hf(2)} );\n\tmargin-left: ${hf(1)};\n}`,Rb=Ln("div",{target:"ez9hsf43"})("padding:",hf(2)," ",hf(4),";"),Ab=Ln("div",{target:"ez9hsf42"})("width:216px;.react-colorful{display:flex;flex-direction:column;align-items:center;width:216px;height:auto;}.react-colorful__saturation{width:100%;border-radius:0;height:216px;margin-bottom:",hf(4),";border-bottom:none;}.react-colorful__hue,.react-colorful__alpha{width:184px;height:16px;border-radius:16px;margin-bottom:",hf(2),";}.react-colorful__pointer{height:16px;width:16px;border:none;box-shadow:0 0 2px 0 rgba( 0, 0, 0, 0.25 );outline:2px solid transparent;}.react-colorful__pointer-fill{box-shadow:inset 0 0 0 ",Af.borderWidthFocus," #fff;}",Ib," ",cm,"{margin-bottom:0;}",Db,";"),Nb=Ln(Hn,{target:"ez9hsf41"})("&&&&&{min-width:",hf(6),";padding:0;}"),Lb=Ln(Gh,{target:"ez9hsf40"})({name:"1287a6j",styles:"width:8em"});function Fb(e){var t=e.getBoundingClientRect();return{width:t.width,height:t.height,top:t.top,right:t.right,bottom:t.bottom,left:t.left,x:t.left,y:t.top}}function jb(e){if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function zb(e){var t=jb(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Bb(e){return e instanceof jb(e).Element||e instanceof Element}function Hb(e){return e instanceof jb(e).HTMLElement||e instanceof HTMLElement}function Vb(e){return e?(e.nodeName||"").toLowerCase():null}function $b(e){return((Bb(e)?e.ownerDocument:e.document)||window.document).documentElement}function Wb(e){return Fb($b(e)).left+zb(e).scrollLeft}function Kb(e){return jb(e).getComputedStyle(e)}function Ub(e){var t=Kb(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function Gb(e,t,n){void 0===n&&(n=!1);var r=$b(t),o=Fb(e),i=Hb(t),a={scrollLeft:0,scrollTop:0},s={x:0,y:0};return(i||!i&&!n)&&(("body"!==Vb(t)||Ub(r))&&(a=function(e){return e!==jb(e)&&Hb(e)?{scrollLeft:(t=e).scrollLeft,scrollTop:t.scrollTop}:zb(e);var t}(t)),Hb(t)?((s=Fb(t)).x+=t.clientLeft,s.y+=t.clientTop):r&&(s.x=Wb(r))),{x:o.left+a.scrollLeft-s.x,y:o.top+a.scrollTop-s.y,width:o.width,height:o.height}}function qb(e){return{x:e.offsetLeft,y:e.offsetTop,width:e.offsetWidth,height:e.offsetHeight}}function Yb(e){return"html"===Vb(e)?e:e.assignedSlot||e.parentNode||e.host||$b(e)}function Xb(e){return["html","body","#document"].indexOf(Vb(e))>=0?e.ownerDocument.body:Hb(e)&&Ub(e)?e:Xb(Yb(e))}function Zb(e,t){void 0===t&&(t=[]);var n=Xb(e),r="body"===Vb(n),o=jb(n),i=r?[o].concat(o.visualViewport||[],Ub(n)?n:[]):n,a=t.concat(i);return r?a:a.concat(Zb(Yb(i)))}function Jb(e){return["table","td","th"].indexOf(Vb(e))>=0}function Qb(e){if(!Hb(e)||"fixed"===Kb(e).position)return null;var t=e.offsetParent;if(t){var n=$b(t);if("body"===Vb(t)&&"static"===Kb(t).position&&"static"!==Kb(n).position)return n}return t}function ey(e){for(var t=jb(e),n=Qb(e);n&&Jb(n)&&"static"===Kb(n).position;)n=Qb(n);return n&&"body"===Vb(n)&&"static"===Kb(n).position?t:n||function(e){for(var t=Yb(e);Hb(t)&&["html","body"].indexOf(Vb(t))<0;){var n=Kb(t);if("none"!==n.transform||"none"!==n.perspective||n.willChange&&"auto"!==n.willChange)return t;t=t.parentNode}return null}(e)||t}var ty="top",ny="bottom",ry="right",oy="left",iy="auto",ay=[ty,ny,ry,oy],sy="start",ly="end",uy="viewport",cy="popper",dy=ay.reduce((function(e,t){return e.concat([t+"-"+sy,t+"-"+ly])}),[]),fy=[].concat(ay,[iy]).reduce((function(e,t){return e.concat([t,t+"-"+sy,t+"-"+ly])}),[]),py=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function hy(e){var t=new Map,n=new Set,r=[];function o(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&o(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||o(e)})),r}var my={placement:"bottom",modifiers:[],strategy:"absolute"};function vy(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function gy(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,o=t.defaultOptions,i=void 0===o?my:o;return function(e,t,n){void 0===n&&(n=i);var o,a,s={placement:"bottom",orderedModifiers:[],options:Object.assign(Object.assign({},my),i),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},l=[],u=!1,c={state:s,setOptions:function(n){d(),s.options=Object.assign(Object.assign(Object.assign({},i),s.options),n),s.scrollParents={reference:Bb(e)?Zb(e):e.contextElement?Zb(e.contextElement):[],popper:Zb(t)};var o,a,u=function(e){var t=hy(e);return py.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}((o=[].concat(r,s.options.modifiers),a=o.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign(Object.assign(Object.assign({},n),t),{},{options:Object.assign(Object.assign({},n.options),t.options),data:Object.assign(Object.assign({},n.data),t.data)}):t,e}),{}),Object.keys(a).map((function(e){return a[e]}))));return s.orderedModifiers=u.filter((function(e){return e.enabled})),s.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,o=e.effect;if("function"==typeof o){var i=o({state:s,name:t,instance:c,options:r});l.push(i||function(){})}})),c.update()},forceUpdate:function(){if(!u){var e=s.elements,t=e.reference,n=e.popper;if(vy(t,n)){s.rects={reference:Gb(t,ey(n),"fixed"===s.options.strategy),popper:qb(n)},s.reset=!1,s.placement=s.options.placement,s.orderedModifiers.forEach((function(e){return s.modifiersData[e.name]=Object.assign({},e.data)}));for(var r=0;r<s.orderedModifiers.length;r++)if(!0!==s.reset){var o=s.orderedModifiers[r],i=o.fn,a=o.options,l=void 0===a?{}:a,d=o.name;"function"==typeof i&&(s=i({state:s,options:l,name:d,instance:c})||s)}else s.reset=!1,r=-1}}},update:(o=function(){return new Promise((function(e){c.forceUpdate(),e(s)}))},function(){return a||(a=new Promise((function(e){Promise.resolve().then((function(){a=void 0,e(o())}))}))),a}),destroy:function(){d(),u=!0}};if(!vy(e,t))return c;function d(){l.forEach((function(e){return e()})),l=[]}return c.setOptions(n).then((function(e){!u&&n.onFirstUpdate&&n.onFirstUpdate(e)})),c}}var by={passive:!0};function yy(e){return e.split("-")[0]}function wy(e){return e.split("-")[1]}function _y(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function xy(e){var t,n=e.reference,r=e.element,o=e.placement,i=o?yy(o):null,a=o?wy(o):null,s=n.x+n.width/2-r.width/2,l=n.y+n.height/2-r.height/2;switch(i){case ty:t={x:s,y:n.y-r.height};break;case ny:t={x:s,y:n.y+n.height};break;case ry:t={x:n.x+n.width,y:l};break;case oy:t={x:n.x-r.width,y:l};break;default:t={x:n.x,y:n.y}}var u=i?_y(i):null;if(null!=u){var c="y"===u?"height":"width";switch(a){case sy:t[u]=t[u]-(n[c]/2-r[c]/2);break;case ly:t[u]=t[u]+(n[c]/2-r[c]/2)}}return t}var Ey={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ky(e){var t,n=e.popper,r=e.popperRect,o=e.placement,i=e.offsets,a=e.position,s=e.gpuAcceleration,l=e.adaptive,u=e.roundOffsets?function(e){var t=e.x,n=e.y,r=window.devicePixelRatio||1;return{x:Math.round(t*r)/r||0,y:Math.round(n*r)/r||0}}(i):i,c=u.x,d=void 0===c?0:c,f=u.y,p=void 0===f?0:f,h=i.hasOwnProperty("x"),m=i.hasOwnProperty("y"),v=oy,g=ty,b=window;if(l){var y=ey(n);y===jb(n)&&(y=$b(n)),o===ty&&(g=ny,p-=y.clientHeight-r.height,p*=s?1:-1),o===oy&&(v=ry,d-=y.clientWidth-r.width,d*=s?1:-1)}var w,_=Object.assign({position:a},l&&Ey);return s?Object.assign(Object.assign({},_),{},((w={})[g]=m?"0":"",w[v]=h?"0":"",w.transform=(b.devicePixelRatio||1)<2?"translate("+d+"px, "+p+"px)":"translate3d("+d+"px, "+p+"px, 0)",w)):Object.assign(Object.assign({},_),{},((t={})[g]=m?p+"px":"",t[v]=h?d+"px":"",t.transform="",t))}var Sy={left:"right",right:"left",bottom:"top",top:"bottom"};function Cy(e){return e.replace(/left|right|bottom|top/g,(function(e){return Sy[e]}))}var Py={start:"end",end:"start"};function Oy(e){return e.replace(/start|end/g,(function(e){return Py[e]}))}function Ty(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&function(e){return e instanceof jb(e).ShadowRoot||e instanceof ShadowRoot}(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function My(e){return Object.assign(Object.assign({},e),{},{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Dy(e,t){return t===uy?My(function(e){var t=jb(e),n=$b(e),r=t.visualViewport,o=n.clientWidth,i=n.clientHeight,a=0,s=0;return r&&(o=r.width,i=r.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(a=r.offsetLeft,s=r.offsetTop)),{width:o,height:i,x:a+Wb(e),y:s}}(e)):Hb(t)?function(e){var t=Fb(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}(t):My(function(e){var t=$b(e),n=zb(e),r=e.ownerDocument.body,o=Math.max(t.scrollWidth,t.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),i=Math.max(t.scrollHeight,t.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),a=-n.scrollLeft+Wb(e),s=-n.scrollTop;return"rtl"===Kb(r||t).direction&&(a+=Math.max(t.clientWidth,r?r.clientWidth:0)-o),{width:o,height:i,x:a,y:s}}($b(e)))}function Iy(e){return Object.assign(Object.assign({},{top:0,right:0,bottom:0,left:0}),e)}function Ry(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function Ay(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=void 0===r?e.placement:r,i=n.boundary,a=void 0===i?"clippingParents":i,s=n.rootBoundary,l=void 0===s?uy:s,u=n.elementContext,c=void 0===u?cy:u,d=n.altBoundary,f=void 0!==d&&d,p=n.padding,h=void 0===p?0:p,m=Iy("number"!=typeof h?h:Ry(h,ay)),v=c===cy?"reference":cy,g=e.elements.reference,b=e.rects.popper,y=e.elements[f?v:c],w=function(e,t,n){var r="clippingParents"===t?function(e){var t=Zb(Yb(e)),n=["absolute","fixed"].indexOf(Kb(e).position)>=0&&Hb(e)?ey(e):e;return Bb(n)?t.filter((function(e){return Bb(e)&&Ty(e,n)&&"body"!==Vb(e)})):[]}(e):[].concat(t),o=[].concat(r,[n]),i=o[0],a=o.reduce((function(t,n){var r=Dy(e,n);return t.top=Math.max(r.top,t.top),t.right=Math.min(r.right,t.right),t.bottom=Math.min(r.bottom,t.bottom),t.left=Math.max(r.left,t.left),t}),Dy(e,i));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}(Bb(y)?y:y.contextElement||$b(e.elements.popper),a,l),_=Fb(g),x=xy({reference:_,element:b,strategy:"absolute",placement:o}),E=My(Object.assign(Object.assign({},b),x)),k=c===cy?E:_,S={top:w.top-k.top+m.top,bottom:k.bottom-w.bottom+m.bottom,left:w.left-k.left+m.left,right:k.right-w.right+m.right},C=e.modifiersData.offset;if(c===cy&&C){var P=C[o];Object.keys(S).forEach((function(e){var t=[ry,ny].indexOf(e)>=0?1:-1,n=[ty,ny].indexOf(e)>=0?"y":"x";S[e]+=P[n]*t}))}return S}function Ny(e,t,n){return Math.max(e,Math.min(t,n))}function Ly(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function Fy(e){return[ty,ry,ny,oy].some((function(t){return e[t]>=0}))}var jy=gy({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,i=void 0===o||o,a=r.resize,s=void 0===a||a,l=jb(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&u.forEach((function(e){e.addEventListener("scroll",n.update,by)})),s&&l.addEventListener("resize",n.update,by),function(){i&&u.forEach((function(e){e.removeEventListener("scroll",n.update,by)})),s&&l.removeEventListener("resize",n.update,by)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=xy({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=void 0===r||r,i=n.adaptive,a=void 0===i||i,s=n.roundOffsets,l=void 0===s||s,u={placement:yy(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign(Object.assign({},t.styles.popper),ky(Object.assign(Object.assign({},u),{},{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign(Object.assign({},t.styles.arrow),ky(Object.assign(Object.assign({},u),{},{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign(Object.assign({},t.attributes.popper),{},{"data-popper-placement":t.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];Hb(o)&&Vb(o)&&(Object.assign(o.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var r=t.elements[e],o=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});Hb(r)&&Vb(r)&&(Object.assign(r.style,i),Object.keys(o).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=void 0===o?[0,0]:o,a=fy.reduce((function(e,n){return e[n]=function(e,t,n){var r=yy(e),o=[oy,ty].indexOf(r)>=0?-1:1,i="function"==typeof n?n(Object.assign(Object.assign({},t),{},{placement:e})):n,a=i[0],s=i[1];return a=a||0,s=(s||0)*o,[oy,ry].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}(n,t.rects,i),e}),{}),s=a[t.placement],l=s.x,u=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=u),t.modifiersData[r]=a}},{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,i=void 0===o||o,a=n.altAxis,s=void 0===a||a,l=n.fallbackPlacements,u=n.padding,c=n.boundary,d=n.rootBoundary,f=n.altBoundary,p=n.flipVariations,h=void 0===p||p,m=n.allowedAutoPlacements,v=t.options.placement,g=yy(v),b=l||(g!==v&&h?function(e){if(yy(e)===iy)return[];var t=Cy(e);return[Oy(e),t,Oy(t)]}(v):[Cy(v)]),y=[v].concat(b).reduce((function(e,n){return e.concat(yy(n)===iy?function(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,i=n.rootBoundary,a=n.padding,s=n.flipVariations,l=n.allowedAutoPlacements,u=void 0===l?fy:l,c=wy(r),d=c?s?dy:dy.filter((function(e){return wy(e)===c})):ay,f=d.filter((function(e){return u.indexOf(e)>=0}));0===f.length&&(f=d);var p=f.reduce((function(t,n){return t[n]=Ay(e,{placement:n,boundary:o,rootBoundary:i,padding:a})[yy(n)],t}),{});return Object.keys(p).sort((function(e,t){return p[e]-p[t]}))}(t,{placement:n,boundary:c,rootBoundary:d,padding:u,flipVariations:h,allowedAutoPlacements:m}):n)}),[]),w=t.rects.reference,_=t.rects.popper,x=new Map,E=!0,k=y[0],S=0;S<y.length;S++){var C=y[S],P=yy(C),O=wy(C)===sy,T=[ty,ny].indexOf(P)>=0,M=T?"width":"height",D=Ay(t,{placement:C,boundary:c,rootBoundary:d,altBoundary:f,padding:u}),I=T?O?ry:oy:O?ny:ty;w[M]>_[M]&&(I=Cy(I));var R=Cy(I),A=[];if(i&&A.push(D[P]<=0),s&&A.push(D[I]<=0,D[R]<=0),A.every((function(e){return e}))){k=C,E=!1;break}x.set(C,A)}if(E)for(var N=function(e){var t=y.find((function(t){var n=x.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return k=t,"break"},L=h?3:1;L>0&&"break"!==N(L);L--);t.placement!==k&&(t.modifiersData[r]._skip=!0,t.placement=k,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,i=void 0===o||o,a=n.altAxis,s=void 0!==a&&a,l=n.boundary,u=n.rootBoundary,c=n.altBoundary,d=n.padding,f=n.tether,p=void 0===f||f,h=n.tetherOffset,m=void 0===h?0:h,v=Ay(t,{boundary:l,rootBoundary:u,padding:d,altBoundary:c}),g=yy(t.placement),b=wy(t.placement),y=!b,w=_y(g),_="x"===w?"y":"x",x=t.modifiersData.popperOffsets,E=t.rects.reference,k=t.rects.popper,S="function"==typeof m?m(Object.assign(Object.assign({},t.rects),{},{placement:t.placement})):m,C={x:0,y:0};if(x){if(i){var P="y"===w?ty:oy,O="y"===w?ny:ry,T="y"===w?"height":"width",M=x[w],D=x[w]+v[P],I=x[w]-v[O],R=p?-k[T]/2:0,A=b===sy?E[T]:k[T],N=b===sy?-k[T]:-E[T],L=t.elements.arrow,F=p&&L?qb(L):{width:0,height:0},j=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},z=j[P],B=j[O],H=Ny(0,E[T],F[T]),V=y?E[T]/2-R-H-z-S:A-H-z-S,$=y?-E[T]/2+R+H+B+S:N+H+B+S,W=t.elements.arrow&&ey(t.elements.arrow),K=W?"y"===w?W.clientTop||0:W.clientLeft||0:0,U=t.modifiersData.offset?t.modifiersData.offset[t.placement][w]:0,G=x[w]+V-U-K,q=x[w]+$-U,Y=Ny(p?Math.min(D,G):D,M,p?Math.max(I,q):I);x[w]=Y,C[w]=Y-M}if(s){var X="x"===w?ty:oy,Z="x"===w?ny:ry,J=x[_],Q=Ny(J+v[X],J,J-v[Z]);x[_]=Q,C[_]=Q-J}t.modifiersData[r]=C}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=n.elements.arrow,i=n.modifiersData.popperOffsets,a=yy(n.placement),s=_y(a),l=[oy,ry].indexOf(a)>=0?"height":"width";if(o&&i){var u=n.modifiersData[r+"#persistent"].padding,c=qb(o),d="y"===s?ty:oy,f="y"===s?ny:ry,p=n.rects.reference[l]+n.rects.reference[s]-i[s]-n.rects.popper[l],h=i[s]-n.rects.reference[s],m=ey(o),v=m?"y"===s?m.clientHeight||0:m.clientWidth||0:0,g=p/2-h/2,b=u[d],y=v-c[l]-u[f],w=v/2-c[l]/2+g,_=Ny(b,w,y),x=s;n.modifiersData[r]=((t={})[x]=_,t.centerOffset=_-w,t)}},effect:function(e){var t=e.state,n=e.options,r=e.name,o=n.element,i=void 0===o?"[data-popper-arrow]":o,a=n.padding,s=void 0===a?0:a;null!=i&&("string"!=typeof i||(i=t.elements.popper.querySelector(i)))&&Ty(t.elements.popper,i)&&(t.elements.arrow=i,t.modifiersData[r+"#persistent"]={padding:Iy("number"!=typeof s?s:Ry(s,ay))})},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=Ay(t,{elementContext:"reference"}),s=Ay(t,{altBoundary:!0}),l=Ly(a,r),u=Ly(s,o,i),c=Fy(l),d=Fy(u);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:u,isReferenceHidden:c,hasPopperEscaped:d},t.attributes.popper=Object.assign(Object.assign({},t.attributes.popper),{},{"data-popper-reference-hidden":c,"data-popper-escaped":d})}}]});var zy=ne("Mac")&&!ne("Chrome")&&ne("Safari");function By(e){return function(t){return e&&!F(t,e)?e:t}}function Hy(e){void 0===e&&(e={});var t=Do(e),n=t.gutter,r=void 0===n?12:n,o=t.placement,i=void 0===o?"bottom":o,a=t.unstable_flip,s=void 0===a||a,l=t.unstable_offset,u=t.unstable_preventOverflow,c=void 0===u||u,d=t.unstable_fixed,f=void 0!==d&&d,p=t.modal,h=void 0!==p&&p,g=v(t,["gutter","placement","unstable_flip","unstable_offset","unstable_preventOverflow","unstable_fixed","modal"]),b=(0,y.useRef)(null),w=(0,y.useRef)(null),_=(0,y.useRef)(null),x=(0,y.useRef)(null),E=(0,y.useState)(i),k=E[0],S=E[1],C=(0,y.useState)(i),P=C[0],O=C[1],T=(0,y.useState)(l||[0,r])[0],M=(0,y.useState)({position:"fixed",left:"100%",top:"100%"}),D=M[0],I=M[1],R=(0,y.useState)({}),A=R[0],N=R[1],L=function(e){void 0===e&&(e={});var t=Do(e),n=t.modal,r=void 0===n||n,o=function(e){void 0===e&&(e={});var t,n,r=Do(e),o=r.visible,i=void 0!==o&&o,a=r.animated,s=void 0!==a&&a,l=Fo(v(r,["visible","animated"])),u=(0,y.useState)(i),c=u[0],d=u[1],f=(0,y.useState)(s),p=f[0],h=f[1],g=(0,y.useState)(!1),b=g[0],w=g[1],_=(t=c,n=(0,y.useRef)(null),G((function(){n.current=t}),[t]),n),x=null!=_.current&&_.current!==c;p&&!b&&x&&w(!0),(0,y.useEffect)((function(){if("number"==typeof p&&b){var e=setTimeout((function(){return w(!1)}),p);return function(){clearTimeout(e)}}return function(){}}),[p,b]);var E=(0,y.useCallback)((function(){return d(!0)}),[]),k=(0,y.useCallback)((function(){return d(!1)}),[]),S=(0,y.useCallback)((function(){return d((function(e){return!e}))}),[]),C=(0,y.useCallback)((function(){return w(!1)}),[]);return m(m({},l),{},{visible:c,animated:p,animating:b,show:E,hide:k,toggle:S,setVisible:d,setAnimated:h,stopAnimation:C})}(v(t,["modal"])),i=(0,y.useState)(r),a=i[0],s=i[1],l=(0,y.useRef)(null);return m(m({},o),{},{modal:a,setModal:s,unstable_disclosureRef:l})}(m({modal:h},g)),F=(0,y.useCallback)((function(){return!!b.current&&(b.current.forceUpdate(),!0)}),[]),j=(0,y.useCallback)((function(e){e.placement&&O(e.placement),e.styles&&(I(By(e.styles.popper)),x.current&&N(By(e.styles.arrow)))}),[]);return G((function(){return w.current&&_.current&&(b.current=jy(w.current,_.current,{placement:k,strategy:f?"fixed":"absolute",onFirstUpdate:zy?j:void 0,modifiers:[{name:"eventListeners",enabled:L.visible},{name:"applyStyles",enabled:!1},{name:"flip",enabled:s,options:{padding:8}},{name:"offset",options:{offset:T}},{name:"preventOverflow",enabled:c,options:{tetherOffset:function(){var e;return(null===(e=x.current)||void 0===e?void 0:e.clientWidth)||0}}},{name:"arrow",enabled:!!x.current,options:{element:x.current}},{name:"updateState",phase:"write",requires:["computeStyles"],enabled:L.visible&&!0,fn:function(e){var t=e.state;return j(t)}}]})),function(){b.current&&(b.current.destroy(),b.current=null)}}),[k,f,L.visible,s,T,c]),(0,y.useEffect)((function(){if(L.visible){var e=window.requestAnimationFrame((function(){var e;null===(e=b.current)||void 0===e||e.forceUpdate()}));return function(){window.cancelAnimationFrame(e)}}}),[L.visible]),m(m({},L),{},{unstable_referenceRef:w,unstable_popoverRef:_,unstable_arrowRef:x,unstable_popoverStyles:D,unstable_arrowStyles:A,unstable_update:F,unstable_originalPlacement:k,placement:P,place:S})}var Vy={currentTooltipId:null,listeners:new Set,subscribe:function(e){var t=this;return this.listeners.add(e),function(){t.listeners.delete(e)}},show:function(e){this.currentTooltipId=e,this.listeners.forEach((function(t){return t(e)}))},hide:function(e){this.currentTooltipId===e&&(this.currentTooltipId=null,this.listeners.forEach((function(e){return e(null)})))}},$y=["baseId","unstable_idCountRef","visible","animated","animating","setBaseId","show","hide","toggle","setVisible","setAnimated","stopAnimation","unstable_disclosureRef","unstable_referenceRef","unstable_popoverRef","unstable_arrowRef","unstable_popoverStyles","unstable_arrowStyles","unstable_originalPlacement","unstable_update","placement","place","unstable_timeout","unstable_setTimeout"],Wy=[].concat($y,["unstable_portal"]),Ky=z({as:"div",useHook:H({name:"TooltipReference",compose:ue,keys:$y,useProps:function(e,t){var n=t.ref,r=t.onFocus,o=t.onBlur,i=t.onMouseEnter,a=t.onMouseLeave,s=v(t,["ref","onFocus","onBlur","onMouseEnter","onMouseLeave"]),l=q(r),u=q(o),c=q(i),d=q(a),f=(0,y.useCallback)((function(t){var n,r;null===(n=l.current)||void 0===n||n.call(l,t),t.defaultPrevented||null===(r=e.show)||void 0===r||r.call(e)}),[e.show]),p=(0,y.useCallback)((function(t){var n,r;null===(n=u.current)||void 0===n||n.call(u,t),t.defaultPrevented||null===(r=e.hide)||void 0===r||r.call(e)}),[e.hide]),h=(0,y.useCallback)((function(t){var n,r;null===(n=c.current)||void 0===n||n.call(c,t),t.defaultPrevented||null===(r=e.show)||void 0===r||r.call(e)}),[e.show]),g=(0,y.useCallback)((function(t){var n,r;null===(n=d.current)||void 0===n||n.call(d,t),t.defaultPrevented||null===(r=e.hide)||void 0===r||r.call(e)}),[e.hide]);return m({ref:$(e.unstable_referenceRef,n),tabIndex:0,onFocus:f,onBlur:p,onMouseEnter:h,onMouseLeave:g,"aria-describedby":e.baseId},s)}})});const Uy=(0,s.createContext)({});var Gy=["baseId","unstable_idCountRef","visible","animated","animating","setBaseId","show","hide","toggle","setVisible","setAnimated","stopAnimation"],qy=H({name:"DisclosureContent",compose:ue,keys:Gy,useProps:function(e,t){var n=t.onTransitionEnd,r=t.onAnimationEnd,o=t.style,i=v(t,["onTransitionEnd","onAnimationEnd","style"]),a=e.animated&&e.animating,s=(0,y.useState)(null),l=s[0],u=s[1],c=!e.visible&&!a,d=c?m({display:"none"},o):o,f=q(n),p=q(r),h=(0,y.useRef)(0);(0,y.useEffect)((function(){if(e.animated)return h.current=window.requestAnimationFrame((function(){h.current=window.requestAnimationFrame((function(){e.visible?u("enter"):u(a?"leave":null)}))})),function(){return window.cancelAnimationFrame(h.current)}}),[e.animated,e.visible,a]);var g=(0,y.useCallback)((function(t){var n;Y(t)&&a&&!0===e.animated&&(null===(n=e.stopAnimation)||void 0===n||n.call(e))}),[e.animated,a,e.stopAnimation]),b=(0,y.useCallback)((function(e){var t;null===(t=f.current)||void 0===t||t.call(f,e),g(e)}),[g]),w=(0,y.useCallback)((function(e){var t;null===(t=p.current)||void 0===t||t.call(p,e),g(e)}),[g]);return m({id:e.baseId,"data-enter":"enter"===l?"":void 0,"data-leave":"leave"===l?"":void 0,onTransitionEnd:b,onAnimationEnd:w,hidden:c,style:d},i)}}),Yy=z({as:"div",useHook:qy}),Xy=window.ReactDOM;function Zy(){return U?document.body:null}var Jy=(0,y.createContext)(Zy());function Qy(e){var t=e.children,n=(0,y.useContext)(Jy)||Zy(),r=(0,y.useState)((function(){if(U){var e=document.createElement("div");return e.className=Qy.__className,e}return null}))[0];return G((function(){if(r&&n)return n.appendChild(r),function(){n.removeChild(r)}}),[r,n]),r?(0,Xy.createPortal)((0,y.createElement)(Jy.Provider,{value:r},t),r):null}function ew(e){e.defaultPrevented||"Escape"===e.key&&Vy.show(null)}Qy.__className="__reakit-portal",Qy.__selector="."+Qy.__className;var tw=z({as:"div",memo:!0,useHook:H({name:"Tooltip",compose:qy,keys:Wy,useOptions:function(e){var t=e.unstable_portal;return m({unstable_portal:void 0===t||t},v(e,["unstable_portal"]))},useProps:function(e,t){var n=t.ref,r=t.style,o=t.wrapElement,i=v(t,["ref","style","wrapElement"]);(0,y.useEffect)((function(){var t;W(null===(t=e.unstable_popoverRef)||void 0===t?void 0:t.current).addEventListener("keydown",ew)}),[]);var a=(0,y.useCallback)((function(t){return e.unstable_portal&&(t=(0,y.createElement)(Qy,null,t)),o?o(t):t}),[e.unstable_portal,o]);return m({ref:$(e.unstable_popoverRef,n),role:"tooltip",style:m(m({},e.unstable_popoverStyles),{},{pointerEvents:"none"},r),wrapElement:a},i)}})}),nw=Cn((function(e,t){const{as:n="span",shortcut:r,className:o,...i}=Sn(e,"Shortcut");if(!r)return null;let l,u;return"string"==typeof r?l=r:(l=r.display,u=r.ariaLabel),(0,s.createElement)(jn,a({as:n,className:o,"aria-label":u,ref:t},i),l)}),"Shortcut");const rw=Rr("z-index:",1000002,";box-sizing:border-box;opacity:0;outline:none;transform-origin:top center;transition:opacity ",Af.transitionDurationFastest," ease;&[data-enter]{opacity:1;}",""),ow=Ln("div",{target:"e7tfjmw1"})("background:rgba( 0, 0, 0, 0.8 );border-radius:2px;box-shadow:0 0 0 1px rgba( 255, 255, 255, 0.04 );color:",_o.white,";padding:4px 8px;"),iw={name:"12mkfdx",styles:"outline:none"},aw=Ln(nw,{target:"e7tfjmw0"})("display:inline-block;margin-left:",hf(1),";"),{TooltipPopoverView:sw}=t;var lw=Cn((function(e,t){const{children:n,className:r,...o}=Sn(e,"TooltipContent"),{tooltip:i}=(0,s.useContext)(Uy),l=kn()(rw,r);return(0,s.createElement)(tw,a({as:jn},o,i,{className:l,ref:t}),(0,s.createElement)(sw,null,n))}),"TooltipContent"),uw=Cn((function(e,t){const{animated:n=!0,animationDuration:r=160,baseId:o,children:i,content:l,focusable:u=!0,gutter:c=4,id:d,modal:f=!0,placement:p,visible:h=!1,shortcut:g,...b}=Sn(e,"Tooltip"),w=function(e){void 0===e&&(e={});var t=Do(e),n=t.placement,r=void 0===n?"top":n,o=t.unstable_timeout,i=void 0===o?0:o,a=v(t,["placement","unstable_timeout"]),s=(0,y.useState)(i),l=s[0],u=s[1],c=(0,y.useRef)(null),d=(0,y.useRef)(null),f=Hy(m(m({},a),{},{placement:r})),p=(f.modal,f.setModal,v(f,["modal","setModal"])),h=(0,y.useCallback)((function(){null!==c.current&&window.clearTimeout(c.current),null!==d.current&&window.clearTimeout(d.current)}),[]),g=(0,y.useCallback)((function(){h(),p.hide(),d.current=window.setTimeout((function(){Vy.hide(p.baseId)}),l)}),[h,p.hide,l,p.baseId]),b=(0,y.useCallback)((function(){h(),!l||Vy.currentTooltipId?(Vy.show(p.baseId),p.show()):(Vy.show(null),c.current=window.setTimeout((function(){Vy.show(p.baseId),p.show()}),l))}),[h,l,p.show,p.baseId]);return(0,y.useEffect)((function(){return Vy.subscribe((function(e){e!==p.baseId&&(h(),p.visible&&p.hide())}))}),[p.baseId,h,p.visible,p.hide]),(0,y.useEffect)((function(){return function(){h(),Vy.hide(p.baseId)}}),[h,p.baseId]),m(m({},p),{},{hide:g,show:b,unstable_timeout:l,unstable_setTimeout:u})}({animated:n?r:void 0,baseId:o||d,gutter:c,placement:p,visible:h,...b}),_=(0,s.useMemo)((()=>({tooltip:w})),[w]);return(0,s.createElement)(Uy.Provider,{value:_},l&&(0,s.createElement)(lw,{unstable_portal:f,ref:t},l,g&&(0,s.createElement)(aw,{shortcut:g})),i&&(0,s.createElement)(Ky,a({},w,i.props,{ref:null==i?void 0:i.ref}),(e=>(u||(e.tabIndex=void 0),(0,s.cloneElement)(i,e)))))}),"Tooltip");const cw=e=>{let{values:t}=e;return(0,s.createElement)(s.Fragment,null,t.map((e=>{let[t,n]=e;return(0,s.createElement)(cf,{key:n,isBlock:!0,display:"flex"},(0,s.createElement)(Xf,{color:_o.ui.theme},n),(0,s.createElement)(Xf,null,t))})))},dw=e=>{let{color:t,enableAlpha:n}=e;const{h:r,s:o,l:i,a:a}=t.toHsl(),l=[[Math.floor(r),"H"],[Math.round(100*o),"S"],[Math.round(100*i),"L"]];return n&&l.push([Math.round(100*a),"A"]),(0,s.createElement)(cw,{values:l})},fw=e=>{let{color:t,enableAlpha:n}=e;const{r:r,g:o,b:i,a:a}=t.toRgb(),l=[[r,"R"],[o,"G"],[i,"B"]];return n&&l.push([Math.round(100*a),"A"]),(0,s.createElement)(cw,{values:l})},pw=e=>{let{color:t}=e;const n=t.toHex().slice(1).toUpperCase();return(0,s.createElement)(cf,null,(0,s.createElement)(Xf,{color:_o.ui.theme},"#"),(0,s.createElement)(Xf,null,n))},hw=e=>{let{color:t,colorType:n,enableAlpha:r}=e;const[o,i]=(0,s.useState)(null),a=(0,s.useRef)(),l={color:t,enableAlpha:r},u=(e=>{switch(e){case"hsl":return dw;case"rgb":return fw;default:case"hex":return pw}})(n),c=(0,f.useCopyToClipboard)((()=>{switch(n){case"hsl":return t.toHslString();case"rgb":return t.toRgbString();default:case"hex":return t.toHex()}}),(()=>{a.current&&clearTimeout(a.current),i(t.toHex()),a.current=setTimeout((()=>{i(null),a.current=void 0}),3e3)}));return(0,s.useEffect)((()=>()=>{a.current&&clearTimeout(a.current)}),[]),(0,s.createElement)(uw,{content:(0,s.createElement)(Xf,{color:"white"},o===t.toHex()?(0,d.__)("Copied!"):(0,d.__)("Copy"))},(0,s.createElement)(Ef,{justify:"flex-start",gap:hf(1),ref:c,style:{height:30}},(0,s.createElement)(u,l)))},mw=e=>{let{min:t,max:n,label:r,abbreviation:o,onChange:i,value:a}=e;return(0,s.createElement)(em,{as:Xg,spacing:4},(0,s.createElement)(Ob,{min:t,max:n,label:r,hideLabelFromVision:!0,value:a,onChange:i,prefix:(0,s.createElement)(em,{as:Xf,paddingLeft:hf(3.5),color:_o.ui.theme,lineHeight:1},o),hideHTMLArrows:!0}),(0,s.createElement)(Mb,{label:r,hideLabelFromVision:!0,min:t,max:n,value:a,onChange:i,withInputField:!1}))},vw=e=>{let{color:t,onChange:n,enableAlpha:r}=e;const{r:o,g:i,b:a,a:l}=t.toRgb();return(0,s.createElement)(s.Fragment,null,(0,s.createElement)(mw,{min:0,max:255,label:"Red",abbreviation:"R",value:o,onChange:e=>n(io({r:e,g:i,b:a,a:l}))}),(0,s.createElement)(mw,{min:0,max:255,label:"Green",abbreviation:"G",value:i,onChange:e=>n(io({r:o,g:e,b:a,a:l}))}),(0,s.createElement)(mw,{min:0,max:255,label:"Blue",abbreviation:"B",value:a,onChange:e=>n(io({r:o,g:i,b:e,a:l}))}),r&&(0,s.createElement)(mw,{min:0,max:100,label:"Alpha",abbreviation:"A",value:Math.trunc(100*l),onChange:e=>n(io({r:o,g:i,b:a,a:e/100}))}))},gw=e=>{let{color:t,onChange:n,enableAlpha:r}=e;const{h:o,s:i,l:a,a:l}=t.toHsl();return(0,s.createElement)(s.Fragment,null,(0,s.createElement)(mw,{min:0,max:359,label:"Hue",abbreviation:"H",value:o,onChange:e=>{n(io({h:e,s:i,l:a,a:l}))}}),(0,s.createElement)(mw,{min:0,max:100,label:"Saturation",abbreviation:"S",value:i,onChange:e=>{n(io({h:o,s:e,l:a,a:l}))}}),(0,s.createElement)(mw,{min:0,max:100,label:"Lightness",abbreviation:"L",value:a,onChange:e=>{n(io({h:o,s:i,l:e,a:l}))}}),r&&(0,s.createElement)(mw,{min:0,max:100,label:"Alpha",abbreviation:"A",value:Math.trunc(100*l),onChange:e=>{n(io({h:o,s:i,l:a,a:e/100}))}}))},bw=e=>{let{color:t,onChange:n,enableAlpha:r}=e;return(0,s.createElement)(Lb,{prefix:(0,s.createElement)(em,{as:Xf,marginLeft:hf(3.5),color:_o.ui.theme,lineHeight:1},"#"),value:t.toHex().slice(1).toUpperCase(),onChange:e=>{n(io("#"+e))},onValidate:e=>{if(!io("#"+e).isValid())throw new Error("Invalid hex color input")},maxLength:r?8:6,label:(0,d.__)("Hex color"),hideLabelFromVision:!0})},yw=e=>{let{colorType:t,color:n,onChange:r,enableAlpha:o}=e;const i={color:n,onChange:r,enableAlpha:o};switch(t){case"hsl":return(0,s.createElement)(gw,i);case"rgb":return(0,s.createElement)(vw,i);default:case"hex":return(0,s.createElement)(bw,i)}};function ww(){return(ww=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function _w(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)t.indexOf(n=i[r])>=0||(o[n]=e[n]);return o}function xw(e){var t=(0,y.useRef)(e),n=(0,y.useRef)((function(e){t.current&&t.current(e)}));return t.current=e,n.current}var Ew=function(e,t,n){return void 0===t&&(t=0),void 0===n&&(n=1),e>n?n:e<t?t:e},kw=function(e){return"touches"in e},Sw=function(e,t){var n=e.getBoundingClientRect(),r=kw(t)?t.touches[0]:t;return{left:Ew((r.pageX-(n.left+window.pageXOffset))/n.width),top:Ew((r.pageY-(n.top+window.pageYOffset))/n.height)}},Cw=function(e){!kw(e)&&e.preventDefault()},Pw=w().memo((function(e){var t=e.onMove,n=e.onKey,r=_w(e,["onMove","onKey"]),o=(0,y.useRef)(null),i=xw(t),a=xw(n),s=(0,y.useRef)(!1),l=(0,y.useMemo)((function(){var e=function(e){Cw(e),(kw(e)?e.touches.length>0:e.buttons>0)&&o.current?i(Sw(o.current,e)):n(!1)},t=function(){return n(!1)};function n(n){var r=s.current,o=n?self.addEventListener:self.removeEventListener;o(r?"touchmove":"mousemove",e),o(r?"touchend":"mouseup",t)}return[function(e){var t=e.nativeEvent,r=o.current;r&&(Cw(t),!function(e,t){return t&&!kw(e)}(t,s.current)&&r&&(s.current=kw(t),r.focus(),i(Sw(r,t)),n(!0)))},function(e){var t=e.which||e.keyCode;t<37||t>40||(e.preventDefault(),a({left:39===t?.05:37===t?-.05:0,top:40===t?.05:38===t?-.05:0}))},n]}),[a,i]),u=l[0],c=l[1],d=l[2];return(0,y.useEffect)((function(){return d}),[d]),w().createElement("div",ww({},r,{onTouchStart:u,onMouseDown:u,className:"react-colorful__interactive",ref:o,onKeyDown:c,tabIndex:0,role:"slider"}))})),Ow=function(e){return e.filter(Boolean).join(" ")},Tw=function(e){var t=e.color,n=e.left,r=e.top,o=void 0===r?.5:r,i=Ow(["react-colorful__pointer",e.className]);return w().createElement("div",{className:i,style:{top:100*o+"%",left:100*n+"%"}},w().createElement("div",{className:"react-colorful__pointer-fill",style:{backgroundColor:t}}))},Mw=function(e,t,n){return void 0===t&&(t=0),void 0===n&&(n=Math.pow(10,t)),Math.round(n*e)/n},Dw=(Math.PI,function(e){var t=e.s,n=e.v,r=e.a,o=(200-t)*n/100;return{h:Mw(e.h),s:Mw(o>0&&o<200?t*n/100/(o<=100?o:200-o)*100:0),l:Mw(o/2),a:Mw(r,2)}}),Iw=function(e){var t=Dw(e);return"hsl("+t.h+", "+t.s+"%, "+t.l+"%)"},Rw=function(e){var t=Dw(e);return"hsla("+t.h+", "+t.s+"%, "+t.l+"%, "+t.a+")"},Aw=function(e){var t=e.h,n=e.s,r=e.v,o=e.a;t=t/360*6,n/=100,r/=100;var i=Math.floor(t),a=r*(1-n),s=r*(1-(t-i)*n),l=r*(1-(1-t+i)*n),u=i%6;return{r:Mw(255*[r,s,a,a,l,r][u]),g:Mw(255*[l,r,r,s,a,a][u]),b:Mw(255*[a,a,l,r,r,s][u]),a:Mw(o,2)}},Nw=function(e){var t=/rgba?\(?\s*(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(e);return t?Fw({r:Number(t[1])/(t[2]?100/255:1),g:Number(t[3])/(t[4]?100/255:1),b:Number(t[5])/(t[6]?100/255:1),a:void 0===t[7]?1:Number(t[7])/(t[8]?100:1)}):{h:0,s:0,v:0,a:1}},Lw=Nw,Fw=function(e){var t=e.r,n=e.g,r=e.b,o=e.a,i=Math.max(t,n,r),a=i-Math.min(t,n,r),s=a?i===t?(n-r)/a:i===n?2+(r-t)/a:4+(t-n)/a:0;return{h:Mw(60*(s<0?s+6:s)),s:Mw(i?a/i*100:0),v:Mw(i/255*100),a:o}},jw=w().memo((function(e){var t=e.hue,n=e.onChange,r=Ow(["react-colorful__hue",e.className]);return w().createElement("div",{className:r},w().createElement(Pw,{onMove:function(e){n({h:360*e.left})},onKey:function(e){n({h:Ew(t+360*e.left,0,360)})},"aria-label":"Hue","aria-valuetext":Mw(t)},w().createElement(Tw,{className:"react-colorful__hue-pointer",left:t/360,color:Iw({h:t,s:100,v:100,a:1})})))})),zw=w().memo((function(e){var t=e.hsva,n=e.onChange,r={backgroundColor:Iw({h:t.h,s:100,v:100,a:1})};return w().createElement("div",{className:"react-colorful__saturation",style:r},w().createElement(Pw,{onMove:function(e){n({s:100*e.left,v:100-100*e.top})},onKey:function(e){n({s:Ew(t.s+100*e.left,0,100),v:Ew(t.v-100*e.top,0,100)})},"aria-label":"Color","aria-valuetext":"Saturation "+Mw(t.s)+"%, Brightness "+Mw(t.v)+"%"},w().createElement(Tw,{className:"react-colorful__saturation-pointer",top:1-t.v/100,left:t.s/100,color:Iw(t)})))})),Bw=function(e,t){return e.replace(/\s/g,"")===t.replace(/\s/g,"")};function Hw(e,t,n){var r=xw(n),o=(0,y.useState)((function(){return e.toHsva(t)})),i=o[0],a=o[1],s=(0,y.useRef)({color:t,hsva:i});(0,y.useEffect)((function(){if(!e.equal(t,s.current.color)){var n=e.toHsva(t);s.current={hsva:n,color:t},a(n)}}),[t,e]),(0,y.useEffect)((function(){var t;(function(e,t){if(e===t)return!0;for(var n in e)if(e[n]!==t[n])return!1;return!0})(i,s.current.hsva)||e.equal(t=e.fromHsva(i),s.current.color)||(s.current={hsva:i,color:t},r(t))}),[i,e,r]);var l=(0,y.useCallback)((function(e){a((function(t){return Object.assign({},t,e)}))}),[]);return[i,l]}var Vw,$w="undefined"!=typeof window?y.useLayoutEffect:y.useEffect,Ww=function(){$w((function(){if("undefined"!=typeof document&&!Vw){(Vw=document.createElement("style")).innerHTML='.react-colorful{position:relative;display:flex;flex-direction:column;width:200px;height:200px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.react-colorful__saturation{position:relative;flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.react-colorful__alpha-gradient,.react-colorful__pointer-fill{content:"";position:absolute;left:0;top:0;right:0;bottom:0;pointer-events:none;border-radius:inherit}.react-colorful__alpha-gradient,.react-colorful__saturation{box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}.react-colorful__alpha,.react-colorful__hue{position:relative;height:24px}.react-colorful__hue{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.react-colorful__last-control{border-radius:0 0 8px 8px}.react-colorful__interactive{position:absolute;left:0;top:0;right:0;bottom:0;border-radius:inherit;outline:none;touch-action:none}.react-colorful__pointer{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}.react-colorful__interactive:focus .react-colorful__pointer{transform:translate(-50%,-50%) scale(1.1)}.react-colorful__alpha,.react-colorful__alpha-pointer{background-color:#fff;background-image:url(\'data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill-opacity=".05"><path d="M8 0h8v8H8zM0 8h8v8H0z"/></svg>\')}.react-colorful__saturation-pointer{z-index:3}.react-colorful__hue-pointer{z-index:2}';var e=n.nc;e&&Vw.setAttribute("nonce",e),document.head.appendChild(Vw)}}),[])},Kw=function(e){var t=e.className,n=e.colorModel,r=e.color,o=void 0===r?n.defaultColor:r,i=e.onChange,a=_w(e,["className","colorModel","color","onChange"]);Ww();var s=Hw(n,o,i),l=s[0],u=s[1],c=Ow(["react-colorful",t]);return w().createElement("div",ww({},a,{className:c}),w().createElement(zw,{hsva:l,onChange:u}),w().createElement(jw,{hue:l.h,onChange:u,className:"react-colorful__last-control"}))},Uw=function(e){var t=e.className,n=e.hsva,r=e.onChange,o={backgroundImage:"linear-gradient(90deg, "+Rw(Object.assign({},n,{a:0}))+", "+Rw(Object.assign({},n,{a:1}))+")"},i=Ow(["react-colorful__alpha",t]);return w().createElement("div",{className:i},w().createElement("div",{className:"react-colorful__alpha-gradient",style:o}),w().createElement(Pw,{onMove:function(e){r({a:e.left})},onKey:function(e){r({a:Ew(n.a+e.left)})},"aria-label":"Alpha","aria-valuetext":Mw(100*n.a)+"%"},w().createElement(Tw,{className:"react-colorful__alpha-pointer",left:n.a,color:Rw(n)})))},Gw=function(e){var t=e.className,n=e.colorModel,r=e.color,o=void 0===r?n.defaultColor:r,i=e.onChange,a=_w(e,["className","colorModel","color","onChange"]);Ww();var s=Hw(n,o,i),l=s[0],u=s[1],c=Ow(["react-colorful",t]);return w().createElement("div",ww({},a,{className:c}),w().createElement(zw,{hsva:l,onChange:u}),w().createElement(jw,{hue:l.h,onChange:u}),w().createElement(Uw,{hsva:l,onChange:u,className:"react-colorful__last-control"}))},qw={defaultColor:"rgba(0, 0, 0, 1)",toHsva:Nw,fromHsva:function(e){var t=Aw(e);return"rgba("+t.r+", "+t.g+", "+t.b+", "+t.a+")"},equal:Bw},Yw=function(e){return w().createElement(Gw,ww({},e,{colorModel:qw}))},Xw={defaultColor:"rgb(0, 0, 0)",toHsva:Lw,fromHsva:function(e){var t=Aw(e);return"rgb("+t.r+", "+t.g+", "+t.b+")"},equal:Bw},Zw=function(e){return w().createElement(Kw,ww({},e,{colorModel:Xw}))};const Jw=e=>{let{color:t,enableAlpha:n,onChange:r}=e;const o=n?Yw:Zw,i=(0,s.useMemo)((()=>t.toRgbString()),[t]);return(0,s.createElement)(o,{color:i,onChange:e=>{r(io(e))}})};so([lo]);const Qw=[{label:"RGB",value:"rgb"},{label:"HSL",value:"hsl"},{label:"Hex",value:"hex"}];var e_=Cn(((e,t)=>{const{enableAlpha:n=!1,color:r,onChange:o,defaultValue:i="#fff",copyFormat:l,...u}=Sn(e,"ColorPicker"),[c,p]=function(e){let{defaultValue:t,onChange:n,value:r}=e;const o=void 0!==r,i=o?r:t,[a,l]=(0,s.useState)(i);let u;return u=o&&"function"==typeof n?n:o||"function"!=typeof n?l:e=>{n(e),l(e)},[o?r:a,u]}({onChange:o,value:r,defaultValue:i}),h=(0,s.useMemo)((()=>io(c)),[c]),m=(0,f.useDebounce)(p),v=(0,y.useCallback)((e=>{m(e.toHex())}),[m]),[g,b]=(0,s.useState)(!1),[w,_]=(0,s.useState)(l||"hex");return(0,s.createElement)(Ab,a({ref:t},u),(0,s.createElement)(Jw,{onChange:v,color:h,enableAlpha:n}),(0,s.createElement)(Rb,null,(0,s.createElement)(Xg,{justify:"space-between"},g?(0,s.createElement)(Tb,{options:Qw,value:w,onChange:e=>_(e),label:(0,d.__)("Color format"),hideLabelFromVision:!0}):(0,s.createElement)(hw,{color:h,colorType:l||w,enableAlpha:n}),(0,s.createElement)(Nb,{isSmall:!0,onClick:()=>b(!g),icon:Kg,isPressed:g,label:g?(0,d.__)("Hide detailed inputs"):(0,d.__)("Show detailed inputs")})),(0,s.createElement)(em,{margin:4}),g&&(0,s.createElement)(yw,{colorType:w,color:h,onChange:v,enableAlpha:n})))}),"ColorPicker");function t_(e){var t;return void 0!==e.onChangeComplete||void 0!==e.disableAlpha||"string"==typeof(null===(t=e.color)||void 0===t?void 0:t.hex)}const n_=qe()((e=>{const t=io(e),n=t.toHex(),r=t.toRgb(),o=t.toHsv(),i=t.toHsl();return{hex:n,rgb:r,hsv:o,hsl:i,source:"hex",oldHue:i.h}})),r_=e=>(0,s.createElement)(e_,function(e){const t=(0,s.useCallback)((t=>{var n;return t_(e)?e.onChangeComplete(n_(t)):null===(n=e.onChange)||void 0===n?void 0:n.call(e,t)}),[e.onChangeComplete,e.onChange]),n=(0,s.useMemo)((()=>t_(e)?function(e){if(void 0!==(null==e?void 0:e.color))return"string"==typeof e.color?e.color:e.color.hex?e.color.hex:void 0}(e):e.color),[e.color]),r=(0,s.useMemo)((()=>t_(e)?!e.disableAlpha:e.enableAlpha),[e.disableAlpha,e.enableAlpha]);return{...t_(e)?{}:e,onChange:t,color:n,enableAlpha:r}}(e)),o_=Rr("appearance:none;border:1px solid transparent;cursor:pointer;background:none;text-align:left;&:hover{color:",_o.admin.theme,";}&:focus{background-color:transparent;color:",_o.admin.theme,";border-color:",_o.admin.theme,";outline:3px solid transparent;}",""),i_={name:"1bcj5ek",styles:"width:100%;display:block"},a_={name:"5vij5u",styles:"width:100%;display:block;margin:0"},s_=Rr("border:1px solid ",Af.surfaceBorderColor,";",""),l_=Rr(">*:not( marquee )>*{border-bottom:1px solid ",Af.surfaceBorderColor,";}>*:last-of-type>*:not( :focus ){border-bottom-color:transparent;}",""),u_=Af.controlBorderRadius,c_=Rr("border-radius:",u_,";",""),d_=Rr("border-radius:",u_,";>*:first-of-type>*{border-top-left-radius:",u_,";border-top-right-radius:",u_,";}>*:last-of-type>*{border-bottom-left-radius:",u_,";border-bottom-right-radius:",u_,";}",""),f_=`calc(${Af.fontSize} * ${Af.fontLineHeightBase})`,p_=`calc((${Af.controlHeight} - ${f_} - 2px) / 2)`,h_=`calc((${Af.controlHeightSmall} - ${f_} - 2px) / 2)`,m_=`calc((${Af.controlHeightLarge} - ${f_} - 2px) / 2)`,v_={small:Rr("padding:",h_," ",Af.controlPaddingXSmall,";",""),medium:Rr("padding:",p_," ",Af.controlPaddingX,";",""),large:Rr("padding:",m_," ",Af.controlPaddingXLarge,";","")},g_=(0,s.createContext)({size:"medium"}),b_=()=>(0,s.useContext)(g_);var y_=Cn((function(e,t){const{isBordered:n,isSeparated:r,size:o,...i}=function(e){const{className:t,isBordered:n=!1,isRounded:r=!0,isSeparated:o=!1,role:i="list",...a}=Sn(e,"ItemGroup");return{isBordered:n,className:kn()(n&&s_,o&&l_,r&&d_,t),role:i,isSeparated:o,...a}}(e),{size:l}=b_(),u={spacedAround:!n&&!r,size:o||l};return(0,s.createElement)(g_.Provider,{value:u},(0,s.createElement)(jn,a({},i,{ref:t})))}),"ItemGroup"),w_=Cn((function(e,t){const n=function(e){const{expanded:t=!1,...n}=Sn(e,"VStack");return Yg({direction:"column",expanded:t,...n})}(e);return(0,s.createElement)(jn,a({},n,{ref:t}))}),"VStack");function x_(e){var t;let{renderContent:n,renderToggle:r,position:o="bottom right",className:i,contentClassName:l,expandOnMobile:u,headerTitle:d,focusOnMount:f,popoverProps:p,onClose:h,onToggle:m}=e;const v=(0,s.useRef)(),[g,b]=function(e,t){const[n,r]=(0,s.useState)(!1);return[n,e=>{r(e),t&&t(e)}]}(0,m);function y(){h&&h(),b(!1)}(0,s.useEffect)((()=>()=>{m&&m(!1)}),[]);const w={isOpen:g,onToggle:function(){b(!g)},onClose:y};return(0,s.createElement)("div",{className:c()("components-dropdown",i),ref:v,tabIndex:"-1"},r(w),g&&(0,s.createElement)(wr,a({position:o,onClose:y,onFocusOutside:function(){const{ownerDocument:e}=v.current,t=e.activeElement.closest('[role="dialog"]');v.current.contains(e.activeElement)||t&&!t.contains(v.current)||y()},expandOnMobile:u,headerTitle:d,focusOnMount:f},p,{anchorRef:null!==(t=null==p?void 0:p.anchorRef)&&void 0!==t?t:v.current,className:c()("components-dropdown__content",p?p.className:void 0,l)}),n(w)))}function E_(e){let{actions:t,className:n,options:r,children:o}=e;return(0,s.createElement)("div",{className:c()("components-circular-option-picker",n)},(0,s.createElement)("div",{className:"components-circular-option-picker__swatches"},r),o,t&&(0,s.createElement)("div",{className:"components-circular-option-picker__custom-clear-wrapper"},t))}E_.Option=function(e){let{className:t,isSelected:n,selectedIconProps:r,tooltipText:o,...i}=e;const l=(0,s.createElement)(Hn,a({isPressed:n,className:"components-circular-option-picker__option"},i));return(0,s.createElement)("div",{className:c()(t,"components-circular-option-picker__option-wrapper")},o?(0,s.createElement)(Pr,{text:o},l):l,n&&(0,s.createElement)(jg,a({icon:zg},r||{})))},E_.ButtonAction=function(e){let{className:t,children:n,...r}=e;return(0,s.createElement)(Hn,a({className:c()("components-circular-option-picker__clear",t),isSmall:!0,variant:"secondary"},r),n)},E_.DropdownLinkAction=function(e){let{buttonProps:t,className:n,dropdownProps:r,linkText:o}=e;return(0,s.createElement)(x_,a({className:c()("components-circular-option-picker__dropdown-link-action",n),renderToggle:e=>{let{isOpen:n,onToggle:r}=e;return(0,s.createElement)(Hn,a({"aria-expanded":n,"aria-haspopup":"true",onClick:r,variant:"link"},t),o)}},r))};var k_=function(e){var t=e/255;return t<.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)},S_=function(e){return.2126*k_(e.r)+.7152*k_(e.g)+.0722*k_(e.b)},C_=Cn((function(e,t){const n=function(e){const{as:t,level:n=2,...r}=Sn(e,"Heading"),o=t||`h${n}`,i={};return"string"==typeof o&&"h"!==o[0]&&(i.role="heading",i["aria-level"]="string"==typeof n?parseInt(n):n),{...Yf({color:_o.darkGray.heading,size:Gf(n),isBlock:!0,weight:Af.fontWeightHeading,...r}),...i,as:o}}(e);return(0,s.createElement)(jn,a({},n,{ref:t}))}),"Heading");const P_=Ln(C_,{target:"e1uu5br00"})({name:"13lxv2o",styles:"text-transform:uppercase;line-height:24px;font-weight:500;&&&{font-size:11px;margin-bottom:0;}"});function O_(e){let{className:t,clearColor:n,colors:r,onChange:o,value:i,actions:a}=e;const u=(0,s.useMemo)((()=>(0,l.map)(r,(e=>{let{color:t,name:r}=e;const a=io(t);return(0,s.createElement)(E_.Option,{key:t,isSelected:i===t,selectedIconProps:i===t?{fill:a.contrast()>a.contrast("#000")?"#fff":"#000"}:{},tooltipText:r||// translators: %s: color hex code e.g: "#f00".
4
  (0,d.sprintf)((0,d.__)("Color code: %s"),t),style:{backgroundColor:t,color:t},onClick:i===t?n:()=>o(t),"aria-label":r?// translators: %s: The name of the color e.g: "vivid red".
5
  (0,d.sprintf)((0,d.__)("Color: %s"),r):// translators: %s: color hex code e.g: "#f00".
6
+ (0,d.sprintf)((0,d.__)("Color code: %s"),t)})}))),[r,i,o,n]);return(0,s.createElement)(E_,{className:t,options:u,actions:a})}function T_(e){let{className:t,clearColor:n,colors:r,onChange:o,value:i,actions:a}=e;return(0,s.createElement)(w_,{spacing:3,className:t},r.map(((e,t)=>{let{name:l,colors:u}=e;return(0,s.createElement)(w_,{spacing:2,key:t},(0,s.createElement)(P_,null,l),(0,s.createElement)(O_,{clearColor:n,colors:u,onChange:o,value:i,actions:r.length===t+1?a:null}))})))}function M_(e){let{isRenderedInSidebar:t,...n}=e;return(0,s.createElement)(x_,a({contentClassName:c()("components-color-palette__custom-color-dropdown-content",{"is-rendered-in-sidebar":t})},n))}function D_(e){let{clearable:t=!0,className:n,colors:r,disableCustomColors:o=!1,enableAlpha:i,onChange:a,value:l,__experimentalHasMultipleOrigins:u=!1,__experimentalIsRenderedInSidebar:c=!1}=e;const f=(0,s.useCallback)((()=>a(void 0)),[a]),p=u&&null!=r&&r.length?T_:O_;let h;c&&(h=(0,d.isRTL)()?"bottom right":"bottom left");const m=io(l);return(0,s.createElement)(w_,{spacing:3,className:n},!o&&(0,s.createElement)(M_,{position:h,isRenderedInSidebar:c,renderContent:()=>(0,s.createElement)(r_,{color:l,onChange:e=>a(e),enableAlpha:i}),renderToggle:e=>{let{isOpen:t,onToggle:n}=e;return(0,s.createElement)("button",{className:"components-color-palette__custom-color","aria-expanded":t,"aria-haspopup":"true",onClick:n,"aria-label":(0,d.__)("Custom color picker"),style:{background:l,color:m.contrast()>m.contrast("#000")?"#fff":"#000"}},l)}}),(0,s.createElement)(p,{clearable:t,clearColor:f,colors:r,onChange:a,value:l,actions:!!t&&(0,s.createElement)(E_.ButtonAction,{onClick:f},(0,d.__)("Clear"))}))}function I_(e){return Math.max(0,Math.min(100,e))}function R_(e,t,n){const r=e.slice();return r[t]=n,r}function A_(e,t,n){return function(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;const o=e[t].position,i=Math.min(o,n),a=Math.max(o,n);return e.some(((e,o)=>{let{position:s}=e;return o!==t&&(Math.abs(s-n)<r||i<s&&s<a)}))}(e,t,n)?e:R_(e,t,{...e[t],position:n})}function N_(e,t,n){return R_(e,t,{...e[t],color:n})}function L_(e,t,n){if(!t)return;const{x:r,width:o}=t.getBoundingClientRect(),i=e-r-5-n/2,a=o-5-16;return Math.round(I_(100*i/a))}function F_(e){let{isOpen:t,position:n,color:r,...o}=e;const i=`components-custom-gradient-picker__control-point-button-description-${(0,f.useInstanceId)(F_)}`;return(0,s.createElement)(s.Fragment,null,(0,s.createElement)(Hn,a({"aria-label":(0,d.sprintf)(// translators: %1$s: gradient position e.g: 70, %2$s: gradient color code e.g: rgb(52,121,151).
7
  (0,d.__)("Gradient control point at position %1$s%% with color code %2$s."),n,r),"aria-describedby":i,"aria-haspopup":"true","aria-expanded":t,className:c()("components-custom-gradient-picker__control-point-button",{"is-active":t}),style:{left:`${n}%`}},o)),(0,s.createElement)(zn,{id:i},(0,d.__)("Use your left or right arrow keys or drag and drop with the mouse to change the gradient position. Press the button to change the color or remove the control point.")))}function j_(e){let{isRenderedInSidebar:t,gradientPickerDomRef:n,...r}=e;const o=(0,s.useMemo)((()=>{const e={className:"components-custom-gradient-picker__color-picker-popover",position:"top"};return t&&(e.anchorRef=n.current,e.position=(0,d.isRTL)()?"bottom right":"bottom left"),e}),[n.current,t]);return(0,s.createElement)(M_,a({isRenderedInSidebar:t,popoverProps:o},r))}function z_(e){let{disableRemove:t,disableAlpha:n,gradientPickerDomRef:r,ignoreMarkerPosition:o,value:i,onChange:a,onStartControlPointChange:l,onStopControlPointChange:u,__experimentalIsRenderedInSidebar:c}=e;const f=(0,s.useRef)(),p=e=>{const t=L_(e.clientX,r.current,16),{initialPosition:n,index:o,significantMoveHappened:s}=f.current;!s&&Math.abs(n-t)>=5&&(f.current.significantMoveHappened=!0),a(A_(i,o,t))},h=()=>{window&&window.removeEventListener&&f.current&&f.current.listenersActivated&&(window.removeEventListener("mousemove",p),window.removeEventListener("mouseup",h),u(),f.current.listenersActivated=!1)};return(0,s.useEffect)((()=>()=>{h()}),[]),i.map(((e,m)=>{const v=null==e?void 0:e.position;return o!==v&&(0,s.createElement)(j_,{gradientPickerDomRef:r,isRenderedInSidebar:c,key:m,onClose:u,renderToggle:t=>{let{isOpen:n,onToggle:r}=t;return(0,s.createElement)(F_,{key:m,onClick:()=>{f.current&&f.current.significantMoveHappened||(n?u():l(),r())},onMouseDown:()=>{window&&window.addEventListener&&(f.current={initialPosition:v,index:m,significantMoveHappened:!1,listenersActivated:!0},l(),window.addEventListener("mousemove",p),window.addEventListener("mouseup",h))},onKeyDown:t=>{t.keyCode===Sh.LEFT?(t.stopPropagation(),a(A_(i,m,I_(e.position-10)))):t.keyCode===Sh.RIGHT&&(t.stopPropagation(),a(A_(i,m,I_(e.position+10))))},isOpen:n,position:e.position,color:e.color})},renderContent:r=>{let{onClose:o}=r;return(0,s.createElement)(s.Fragment,null,(0,s.createElement)(r_,{enableAlpha:!n,color:e.color,onChange:e=>{a(N_(i,m,io(e).toRgbString()))}}),!t&&i.length>2&&(0,s.createElement)(Hn,{className:"components-custom-gradient-picker__remove-control-point",onClick:()=>{a(function(e,t){return e.filter(((e,n)=>n!==t))}(i,m)),o()},variant:"link"},(0,d.__)("Remove Control Point")))}})}))}so([lo,function(e){e.prototype.luminance=function(){return e=S_(this.rgba),void 0===(t=2)&&(t=0),void 0===n&&(n=Math.pow(10,t)),Math.round(n*e)/n+0;var e,t,n},e.prototype.contrast=function(t){void 0===t&&(t="#FFF");var n,r,o,i,a,s,l,u=t instanceof e?t:new e(t);return i=this.rgba,a=u.toRgb(),n=(s=S_(i))>(l=S_(a))?(s+.05)/(l+.05):(l+.05)/(s+.05),void 0===(r=2)&&(r=0),void 0===o&&(o=Math.pow(10,r)),Math.floor(o*n)/o+0},e.prototype.isReadable=function(e,t){return void 0===e&&(e="#FFF"),void 0===t&&(t={}),this.contrast(e)>=(a=void 0===(i=(n=t).size)?"normal":i,"AAA"===(o=void 0===(r=n.level)?"AA":r)&&"normal"===a?7:"AA"===o&&"large"===a?3:4.5);var n,r,o,i,a}}]),z_.InsertPoint=function(e){let{value:t,onChange:n,onOpenInserter:r,onCloseInserter:o,insertPosition:i,disableAlpha:a,__experimentalIsRenderedInSidebar:l,gradientPickerDomRef:u}=e;const[c,d]=(0,s.useState)(!1);return(0,s.createElement)(j_,{gradientPickerDomRef:u,isRenderedInSidebar:l,className:"components-custom-gradient-picker__inserter",onClose:()=>{o()},renderToggle:e=>{let{isOpen:t,onToggle:n}=e;return(0,s.createElement)(Hn,{"aria-expanded":t,"aria-haspopup":"true",onClick:()=>{t?o():(d(!1),r()),n()},className:"components-custom-gradient-picker__insert-point",icon:$g,style:{left:null!==i?`${i}%`:void 0}})},renderContent:()=>(0,s.createElement)(r_,{enableAlpha:!a,onChange:e=>{c?n(function(e,t,n){const r=e.findIndex((e=>e.position===t));return N_(e,r,n)}(t,i,io(e).toRgbString())):(n(function(e,t,n){const r=e.findIndex((e=>e.position>t)),o={color:n,position:t},i=e.slice();return i.splice(r-1,0,o),i}(t,i,io(e).toRgbString())),d(!0))}})})};var B_=z_;function H_(e,t){switch(t.type){case"MOVE_INSERTER":if("IDLE"===e.id||"MOVING_INSERTER"===e.id)return{id:"MOVING_INSERTER",insertPosition:t.insertPosition};break;case"STOP_INSERTER_MOVE":if("MOVING_INSERTER"===e.id)return{id:"IDLE"};break;case"OPEN_INSERTER":if("MOVING_INSERTER"===e.id)return{id:"INSERTING_CONTROL_POINT",insertPosition:e.insertPosition};break;case"CLOSE_INSERTER":if("INSERTING_CONTROL_POINT"===e.id)return{id:"IDLE"};break;case"START_CONTROL_CHANGE":if("IDLE"===e.id)return{id:"MOVING_CONTROL_POINT"};break;case"STOP_CONTROL_CHANGE":if("MOVING_CONTROL_POINT"===e.id)return{id:"IDLE"}}return e}const V_={id:"IDLE"};function $_(e){let{background:t,hasGradient:n,value:r,onChange:o,disableInserter:i=!1,disableAlpha:a=!1,__experimentalIsRenderedInSidebar:u}=e;const d=(0,s.useRef)(),[f,p]=(0,s.useReducer)(H_,V_),h=e=>{const t=L_(e.clientX,d.current,16);(0,l.some)(r,(e=>{let{position:n}=e;return Math.abs(t-n)<10}))?"MOVING_INSERTER"===f.id&&p({type:"STOP_INSERTER_MOVE"}):p({type:"MOVE_INSERTER",insertPosition:t})},m="MOVING_INSERTER"===f.id,v="INSERTING_CONTROL_POINT"===f.id;return(0,s.createElement)("div",{ref:d,className:c()("components-custom-gradient-picker__gradient-bar",{"has-gradient":n}),onMouseEnter:h,onMouseMove:h,style:{background:t},onMouseLeave:()=>{p({type:"STOP_INSERTER_MOVE"})}},(0,s.createElement)("div",{className:"components-custom-gradient-picker__markers-container"},!i&&(m||v)&&(0,s.createElement)(B_.InsertPoint,{__experimentalIsRenderedInSidebar:u,gradientPickerDomRef:d,disableAlpha:a,insertPosition:f.insertPosition,value:r,onChange:o,onOpenInserter:()=>{p({type:"OPEN_INSERTER"})},onCloseInserter:()=>{p({type:"CLOSE_INSERTER"})}}),(0,s.createElement)(B_,{__experimentalIsRenderedInSidebar:u,disableAlpha:a,disableRemove:i,gradientPickerDomRef:d,ignoreMarkerPosition:v?f.insertPosition:void 0,value:r,onChange:o,onStartControlPointChange:()=>{p({type:"START_CONTROL_CHANGE"})},onStopControlPointChange:()=>{p({type:"STOP_CONTROL_CHANGE"})}})))}var W_=n(9948);const K_="linear-gradient(135deg, rgba(6, 147, 227, 1) 0%, rgb(155, 81, 224) 100%)",U_={type:"angular",value:90},G_=[{value:"linear-gradient",label:(0,d.__)("Linear")},{value:"radial-gradient",label:(0,d.__)("Radial")}],q_={top:0,"top right":45,"right top":45,right:90,"right bottom":135,"bottom right":135,bottom:180,"bottom left":225,"left bottom":225,left:270,"top left":315,"left top":315};function Y_(e){let{type:t,value:n,length:r}=e;return`${function(e){let{type:t,value:n}=e;return"literal"===t?n:"hex"===t?`#${n}`:`${t}(${n.join(",")})`}({type:t,value:n})} ${function(e){if(!e)return"";const{value:t,type:n}=e;return`${t}${n}`}(r)}`}function X_(e){let{type:t,orientation:n,colorStops:r}=e;const o=function(e){if(e&&"angular"===e.type)return`${e.value}deg`}(n),i=r.sort(((e,t)=>(0,l.get)(e,["length","value"],0)-(0,l.get)(t,["length","value"],0))).map(Y_);return`${t}(${(0,l.compact)([o,...i]).join(",")})`}function Z_(e){return void 0===e.length||"%"!==e.length.type}function J_(e){switch(e.type){case"hex":return`#${e.value}`;case"literal":return e.value;case"rgb":case"rgba":return`${e.type}(${e.value.join(",")})`;default:return"transparent"}}so([lo]);const Q_=Ln(uf,{target:"e99xvul1"})({name:"1gvx10y",styles:"flex-grow:5"}),ex=Ln(uf,{target:"e99xvul0"})({name:"1gvx10y",styles:"flex-grow:5"}),tx=e=>{let{gradientAST:t,hasGradient:n,onChange:r}=e;const o=(0,l.get)(t,["orientation","value"],180);return(0,s.createElement)(tm,{onChange:e=>{r(X_({...t,orientation:{type:"angular",value:e}}))},labelPosition:"top",value:n?o:""})},nx=e=>{let{gradientAST:t,hasGradient:n,onChange:r}=e;const{type:o}=t;return(0,s.createElement)(eb,{className:"components-custom-gradient-picker__type-picker",label:(0,d.__)("Type"),labelPosition:"top",onChange:e=>{"linear-gradient"===e&&r(X_({...t,...t.orientation?{}:{orientation:U_},type:"linear-gradient"})),"radial-gradient"===e&&r(X_({...(0,l.omit)(t,["orientation"]),type:"radial-gradient"}))},options:G_,size:"__unstable-large",value:n&&o})};function rx(e){let{value:t,onChange:n,__experimentalIsRenderedInSidebar:r}=e;const o=function(e){var t;let n;try{n=W_.parse(e)[0],n.value=e}catch(e){n=W_.parse(K_)[0],n.value=K_}if("directional"===(null===(t=n.orientation)||void 0===t?void 0:t.type)&&(n.orientation.type="angular",n.orientation.value=q_[n.orientation.value].toString()),n.colorStops.some(Z_)){const{colorStops:e}=n,t=100/(e.length-1);e.forEach(((e,n)=>{e.length={value:t*n,type:"%"}})),n.value=X_(n)}return n}(t),i=function(e){return X_({type:"linear-gradient",orientation:U_,colorStops:e.colorStops})}(o),a=o.value!==K_,l=o.colorStops.map((e=>({color:J_(e),position:parseInt(e.length.value)})));return(0,s.createElement)("div",{className:"components-custom-gradient-picker"},(0,s.createElement)($_,{__experimentalIsRenderedInSidebar:r,background:i,hasGradient:a,value:l,onChange:e=>{n(X_(function(e,t){return{...e,colorStops:t.map((e=>{let{position:t,color:n}=e;const{r:r,g:o,b:i,a:a}=io(n).toRgb();return{length:{type:"%",value:t.toString()},type:a<1?"rgba":"rgb",value:a<1?[r,o,i,a]:[r,o,i]}}))}}(o,e)))}}),(0,s.createElement)(Ef,{gap:3,className:"components-custom-gradient-picker__ui-line"},(0,s.createElement)(Q_,null,(0,s.createElement)(nx,{gradientAST:o,hasGradient:a,onChange:n})),(0,s.createElement)(ex,null,"linear-gradient"===o.type&&(0,s.createElement)(tx,{gradientAST:o,hasGradient:a,onChange:n}))))}function ox(e){let{className:t,clearGradient:n,gradients:r,onChange:o,value:i,actions:a,content:u}=e;const c=(0,s.useMemo)((()=>(0,l.map)(r,(e=>{let{gradient:t,name:r}=e;return(0,s.createElement)(E_.Option,{key:t,value:t,isSelected:i===t,tooltipText:r||// translators: %s: gradient code e.g: "linear-gradient(90deg, rgba(98,16,153,1) 0%, rgba(172,110,22,1) 100%);".
8
  (0,d.sprintf)((0,d.__)("Gradient code: %s"),t),style:{color:"rgba( 0,0,0,0 )",background:t},onClick:i===t?n:()=>o(t),"aria-label":r?// translators: %s: The name of the gradient e.g: "Angular red to blue".
9
  (0,d.sprintf)((0,d.__)("Gradient: %s"),r):// translators: %s: gradient code e.g: "linear-gradient(90deg, rgba(98,16,153,1) 0%, rgba(172,110,22,1) 100%);".
build/edit-post/classic-rtl.css CHANGED
@@ -1 +1 @@
1
- :root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color--rgb:0,124,186;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-10--rgb:0,107,161;--wp-admin-theme-color-darker-20:#005a87;--wp-admin-theme-color-darker-20--rgb:0,90,135;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){:root{--wp-admin-border-width-focus:1.5px}}.editor-styles-wrapper .wp-block{margin-left:auto;margin-right:auto}html :where(.wp-block){margin-bottom:28px;margin-top:28px;max-width:840px}html :where(.wp-block)[data-align=wide]{max-width:1100px}html :where(.wp-block)[data-align=full]{max-width:none}html :where(.wp-block)[data-align=left],html :where(.wp-block)[data-align=right]{height:0;width:100%}html :where(.wp-block)[data-align=left]:before,html :where(.wp-block)[data-align=right]:before{content:none}html :where(.wp-block)[data-align=left]>*{float:left;margin-right:2em}html :where(.wp-block)[data-align=right]>*{float:right;margin-left:2em}html :where(.wp-block)[data-align=full],html :where(.wp-block)[data-align=wide]{clear:both}.wp-block-group>[data-align=full]{margin-left:auto;margin-right:auto}.wp-block-group.has-background>[data-align=full]{margin-right:-30px;width:calc(100% + 60px)}[data-align=full] .wp-block-group>.wp-block{padding-left:14px;padding-right:14px}@media (min-width:600px){[data-align=full] .wp-block-group>.wp-block{padding-left:0;padding-right:0}}[data-align=full] .wp-block-group>[data-align=full]{max-width:none;padding-left:0;padding-right:0;right:0;width:100%}[data-align=full] .wp-block-group.has-background>[data-align=full]{width:calc(100% + 60px)}
1
+ :root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color--rgb:0,124,186;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-10--rgb:0,107,161;--wp-admin-theme-color-darker-20:#005a87;--wp-admin-theme-color-darker-20--rgb:0,90,135;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){:root{--wp-admin-border-width-focus:1.5px}}.editor-styles-wrapper .wp-block{margin-left:auto;margin-right:auto}html :where(.editor-styles-wrapper){padding:8px}html :where(.editor-styles-wrapper) .block-editor-block-list__layout.is-root-container>.wp-block[data-align=full]{margin-left:-8px;margin-right:-8px}html :where(.wp-block){margin-bottom:28px;margin-top:28px;max-width:840px}html :where(.wp-block)[data-align=wide]{max-width:1100px}html :where(.wp-block)[data-align=full]{max-width:none}html :where(.wp-block)[data-align=left],html :where(.wp-block)[data-align=right]{height:0;width:100%}html :where(.wp-block)[data-align=left]:before,html :where(.wp-block)[data-align=right]:before{content:none}html :where(.wp-block)[data-align=left]>*{float:left;margin-right:2em}html :where(.wp-block)[data-align=right]>*{float:right;margin-left:2em}html :where(.wp-block)[data-align=full],html :where(.wp-block)[data-align=wide]{clear:both}.wp-block-group>[data-align=full]{margin-left:auto;margin-right:auto}.wp-block-group.has-background>[data-align=full]{margin-right:-30px;width:calc(100% + 60px)}[data-align=full] .wp-block-group>.wp-block{padding-left:14px;padding-right:14px}@media (min-width:600px){[data-align=full] .wp-block-group>.wp-block{padding-left:0;padding-right:0}}[data-align=full] .wp-block-group>[data-align=full]{max-width:none;padding-left:0;padding-right:0;right:0;width:100%}[data-align=full] .wp-block-group.has-background>[data-align=full]{width:calc(100% + 60px)}
build/edit-post/classic.css CHANGED
@@ -1 +1 @@
1
- :root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color--rgb:0,124,186;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-10--rgb:0,107,161;--wp-admin-theme-color-darker-20:#005a87;--wp-admin-theme-color-darker-20--rgb:0,90,135;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){:root{--wp-admin-border-width-focus:1.5px}}.editor-styles-wrapper .wp-block{margin-left:auto;margin-right:auto}html :where(.wp-block){margin-bottom:28px;margin-top:28px;max-width:840px}html :where(.wp-block)[data-align=wide]{max-width:1100px}html :where(.wp-block)[data-align=full]{max-width:none}html :where(.wp-block)[data-align=left],html :where(.wp-block)[data-align=right]{height:0;width:100%}html :where(.wp-block)[data-align=left]:before,html :where(.wp-block)[data-align=right]:before{content:none}html :where(.wp-block)[data-align=left]>*{float:left;margin-right:2em}html :where(.wp-block)[data-align=right]>*{float:right;margin-left:2em}html :where(.wp-block)[data-align=full],html :where(.wp-block)[data-align=wide]{clear:both}.wp-block-group>[data-align=full]{margin-left:auto;margin-right:auto}.wp-block-group.has-background>[data-align=full]{margin-left:-30px;width:calc(100% + 60px)}[data-align=full] .wp-block-group>.wp-block{padding-left:14px;padding-right:14px}@media (min-width:600px){[data-align=full] .wp-block-group>.wp-block{padding-left:0;padding-right:0}}[data-align=full] .wp-block-group>[data-align=full]{left:0;max-width:none;padding-left:0;padding-right:0;width:100%}[data-align=full] .wp-block-group.has-background>[data-align=full]{width:calc(100% + 60px)}
1
+ :root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color--rgb:0,124,186;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-10--rgb:0,107,161;--wp-admin-theme-color-darker-20:#005a87;--wp-admin-theme-color-darker-20--rgb:0,90,135;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){:root{--wp-admin-border-width-focus:1.5px}}.editor-styles-wrapper .wp-block{margin-left:auto;margin-right:auto}html :where(.editor-styles-wrapper){padding:8px}html :where(.editor-styles-wrapper) .block-editor-block-list__layout.is-root-container>.wp-block[data-align=full]{margin-left:-8px;margin-right:-8px}html :where(.wp-block){margin-bottom:28px;margin-top:28px;max-width:840px}html :where(.wp-block)[data-align=wide]{max-width:1100px}html :where(.wp-block)[data-align=full]{max-width:none}html :where(.wp-block)[data-align=left],html :where(.wp-block)[data-align=right]{height:0;width:100%}html :where(.wp-block)[data-align=left]:before,html :where(.wp-block)[data-align=right]:before{content:none}html :where(.wp-block)[data-align=left]>*{float:left;margin-right:2em}html :where(.wp-block)[data-align=right]>*{float:right;margin-left:2em}html :where(.wp-block)[data-align=full],html :where(.wp-block)[data-align=wide]{clear:both}.wp-block-group>[data-align=full]{margin-left:auto;margin-right:auto}.wp-block-group.has-background>[data-align=full]{margin-left:-30px;width:calc(100% + 60px)}[data-align=full] .wp-block-group>.wp-block{padding-left:14px;padding-right:14px}@media (min-width:600px){[data-align=full] .wp-block-group>.wp-block{padding-left:0;padding-right:0}}[data-align=full] .wp-block-group>[data-align=full]{left:0;max-width:none;padding-left:0;padding-right:0;width:100%}[data-align=full] .wp-block-group.has-background>[data-align=full]{width:calc(100% + 60px)}
build/rich-text/index.js CHANGED
@@ -4548,11 +4548,37 @@ function useSpace() {
4548
  keyCode,
4549
  altKey,
4550
  metaKey,
4551
- ctrlKey
 
4552
  } = event; // Only consider the space key without modifiers pressed.
4553
 
4554
  if (keyCode !== external_wp_keycodes_namespaceObject.SPACE || altKey || metaKey || ctrlKey) {
4555
  return;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4556
  }
4557
 
4558
  event.target.ownerDocument.execCommand('insertText', false, ' ');
4548
  keyCode,
4549
  altKey,
4550
  metaKey,
4551
+ ctrlKey,
4552
+ key
4553
  } = event; // Only consider the space key without modifiers pressed.
4554
 
4555
  if (keyCode !== external_wp_keycodes_namespaceObject.SPACE || altKey || metaKey || ctrlKey) {
4556
  return;
4557
+ } // Disregard character composition that involves the Space key.
4558
+ //
4559
+ // @see https://github.com/WordPress/gutenberg/issues/35086
4560
+ //
4561
+ // For example, to input a standalone diacritic (like ´ or `) using a
4562
+ // keyboard with dead keys, one must first press the dead key and then
4563
+ // press the Space key.
4564
+ //
4565
+ // Many operating systems handle this in such a way that the second
4566
+ // KeyboardEvent contains the property `keyCode: 229`. According to the
4567
+ // spec, 229 allows the system to indicate that an Input Method Editor
4568
+ // (IDE) is processing some key input.
4569
+ //
4570
+ // However, Windows doesn't use `keyCode: 229` for dead key composition,
4571
+ // instead emitting an event with values `keyCode: SPACE` and `key: '´'`.
4572
+ // That is why checking the `key` property for values other than `SPACE`
4573
+ // is important.
4574
+ //
4575
+ // This should serve as a reminder that the `KeyboardEvent.keyCode`
4576
+ // attribute is officially deprecated and that we should consider more
4577
+ // consistent interfaces.
4578
+
4579
+
4580
+ if (key !== ' ') {
4581
+ return;
4582
  }
4583
 
4584
  event.target.ownerDocument.execCommand('insertText', false, ' ');
build/rich-text/index.min.asset.php CHANGED
@@ -1 +1 @@
1
- <?php return array('dependencies' => array('lodash', 'wp-a11y', 'wp-compose', 'wp-data', 'wp-element', 'wp-escape-html', 'wp-i18n', 'wp-keycodes', 'wp-polyfill'), 'version' => '31f565665c751c8f3844cf32c8a688ab');
1
+ <?php return array('dependencies' => array('lodash', 'wp-a11y', 'wp-compose', 'wp-data', 'wp-element', 'wp-escape-html', 'wp-i18n', 'wp-keycodes', 'wp-polyfill'), 'version' => '8c8864de15088443cbca75e2aba2710e');
build/rich-text/index.min.js CHANGED
@@ -2,4 +2,4 @@
2
  // translators: %s: title of the formatting control
3
  (0,ke.speak)((0,We.sprintf)((0,We.__)("%s removed."),t.title),"assertive"),Y(e,t.type)):(t.title&&
4
  // translators: %s: title of the formatting control
5
- (0,ke.speak)((0,We.sprintf)((0,We.__)("%s applied."),t.title),"assertive"),x(e,t))}function $e(e){const t=(0,i.select)(y).getFormatType(e);if(t)return(0,i.dispatch)(y).removeFormatTypes(e),t;window.console.error(`Format ${e} is not registered.`)}function je(e){const t=V(e);if(void 0===t)return!1;const{replacements:n}=e,r=V(e,t),a=n[t]||[],o=n[r]||[];return a.length<=o.length}function Ie(e){const{replacements:t,start:n}=e;return void 0!==t[V(e,n)]}function Pe(e,t){if(!je(e))return e;const n=V(e),r=V(e,n),{text:a,replacements:o,end:i}=e,s=o.slice(),c=function(e,t){let{text:n,replacements:r}=e;const a=r[t]||[];let o=t;for(;o-- >=0;){if(n[o]!==_)continue;const e=r[o]||[];if(e.length===a.length+1)return o;if(e.length<=a.length)return}}(e,n);for(let e=n;e<i;e++)if(a[e]===_)if(c){const t=o[c]||[];s[e]=t.concat((s[e]||[]).slice(t.length-1))}else{const n=o[r]||[],a=n[n.length-1]||t;s[e]=n.concat([a],(s[e]||[]).slice(n.length))}return{...e,replacements:s}}function Ve(e,t){let{text:n,replacements:r}=e;const a=r[t]||[];let o=t;for(;o-- >=0;)if(n[o]===_&&(r[o]||[]).length===a.length-1)return o}function Ke(e){if(!Ie(e))return e;const{text:t,replacements:n,start:r,end:a}=e,o=V(e,r),i=n.slice(0),s=n[Ve(e,o)]||[],c=function(e,t){let{text:n,replacements:r}=e;const a=r[t]||[];let o=t;for(let e=t||0;e<n.length;e++)if(n[e]===_){if(!((r[e]||[]).length>=a.length))return o;o=e}return o}(e,V(e,a));for(let e=o;e<=c;e++){if(t[e]!==_)continue;const n=i[e]||[];i[e]=s.concat(n.slice(s.length+1)),0===i[e].length&&delete i[e]}return{...e,replacements:i}}function He(e,t){const{text:n,replacements:r,start:a,end:o}=e,i=V(e,a),s=r[i]||[],c=r[V(e,o)]||[],l=Ve(e,i),u=r.slice(),f=s.length-1,d=c.length-1;let m;for(let e=l+1||0;e<n.length;e++)if(n[e]===_){if((u[e]||[]).length<=f)break;u[e]&&(m=!0,u[e]=u[e].map(((e,n)=>n<f||n>d?e:t)))}return m?{...e,replacements:u}:e}var Be=window.wp.element;function ze(e){let{ref:t,value:n,settings:r={}}=e;const{tagName:a,className:o,name:i}=r,s=i?j(n,i):void 0;return(0,Be.useMemo)((()=>{if(!t.current)return;const{ownerDocument:{defaultView:e}}=t.current,n=e.getSelection();if(!n.rangeCount)return;const r=n.getRangeAt(0);if(!s)return r;let i=r.startContainer;for(i=i.nextElementSibling||i;i.nodeType!==i.ELEMENT_NODE;)i=i.parentNode;return i.closest(a+(o?"."+o:""))}),[s,n.start,n.end,a,o])}var Ue=window.wp.compose;function qe(e){let{record:t}=e;const n=(0,Be.useRef)(),{activeFormats:r=[]}=t.current;return(0,Be.useEffect)((()=>{if(!r||!r.length)return;const e="*[data-rich-text-format-boundary]",t=n.current.querySelector(e);if(!t)return;const{ownerDocument:a}=t,{defaultView:o}=a,i=`.rich-text:focus ${e} {background-color: ${o.getComputedStyle(t).color.replace(")",", 0.2)").replace("rgb","rgba")}}`,s="rich-text-boundary-style";let c=a.getElementById(s);c||(c=a.createElement("style"),c.id=s,a.head.appendChild(c)),c.innerHTML!==i&&(c.innerHTML=i)}),[r]),n}function Xe(e){const t=(0,Be.useRef)(e);return t.current=e,(0,Ue.useRefEffect)((e=>{function n(n){const{record:r,multilineTag:a,preserveWhiteSpace:o}=t.current;if(B(r.current)||!e.contains(e.ownerDocument.activeElement))return;const i=re(r.current),s=P(i),c=we({value:i,multilineTag:a,preserveWhiteSpace:o});n.clipboardData.setData("text/plain",s),n.clipboardData.setData("text/html",c),n.clipboardData.setData("rich-text","true"),n.clipboardData.setData("rich-text-multi-line-tag",a||""),n.preventDefault()}return e.addEventListener("copy",n),()=>{e.removeEventListener("copy",n)}}),[])}var Ye=window.wp.keycodes;const Ge=[];function Ze(e){const[,t]=(0,Be.useReducer)((()=>({}))),n=(0,Be.useRef)(e);return n.current=e,(0,Ue.useRefEffect)((e=>{function r(r){const{keyCode:a,shiftKey:o,altKey:i,metaKey:s,ctrlKey:c}=r;if(o||i||s||c||a!==Ye.LEFT&&a!==Ye.RIGHT)return;const{record:l,applyRecord:u}=n.current,{text:f,formats:d,start:m,end:p,activeFormats:g=[]}=l.current,h=B(l.current),{ownerDocument:v}=e,{defaultView:y}=v,{direction:b}=y.getComputedStyle(e),T="rtl"===b?Ye.RIGHT:Ye.LEFT,E=r.keyCode===T;if(h&&0===g.length){if(0===m&&E)return;if(p===f.length&&!E)return}if(!h)return;const x=d[m-1]||Ge,w=d[m]||Ge,_=E?x:w,C=g.every(((e,t)=>e===_[t]));let F=g.length;if(C?F<_.length&&F++:F--,F===g.length)return void(l.current._newActiveFormats=_);r.preventDefault();const L=(C?_:E?w:x).slice(0,F),R={...l.current,activeFormats:L};l.current=R,u(R),t()}return e.addEventListener("keydown",r),()=>{e.removeEventListener("keydown",r)}}),[])}function Je(e){const t=(0,Be.useRef)(e);return t.current=e,(0,Ue.useRefEffect)((e=>{function n(n){const{keyCode:r,shiftKey:a,altKey:o,metaKey:i,ctrlKey:s}=n,{multilineTag:c,createRecord:l,handleChange:u}=t.current;if(a||o||i||s||r!==Ye.SPACE||"li"!==c)return;const f=l();if(!B(f))return;const{text:d,start:m}=f,p=d[m-1];p&&p!==_||(u(Pe(f,{type:e.tagName.toLowerCase()})),n.preventDefault())}return e.addEventListener("keydown",n),()=>{e.removeEventListener("keydown",n)}}),[])}const Qe=new Set(["insertParagraph","insertOrderedList","insertUnorderedList","insertHorizontalRule","insertLink"]),et=[];function tt(e){const t=(0,Be.useRef)(e);return t.current=e,(0,Ue.useRefEffect)((e=>{const{ownerDocument:n}=e,{defaultView:r}=n;let a,o=!1;function i(e){if(o)return;let n;e&&(n=e.inputType);const{record:r,applyRecord:a,createRecord:i,handleChange:s}=t.current;if(n&&(0===n.indexOf("format")||Qe.has(n)))return void a(r.current);const c=i(),{start:l,activeFormats:u=[]}=r.current;s(function(e){let{value:t,start:n,end:r,formats:a}=e;const o=Math.min(n,r),i=Math.max(n,r),s=t.formats[o-1]||[],c=t.formats[i]||[];for(t.activeFormats=a.map(((e,t)=>{if(s[t]){if(b(e,s[t]))return s[t]}else if(c[t]&&b(e,c[t]))return c[t];return e}));--r>=n;)t.activeFormats.length>0?t.formats[r]=t.activeFormats:delete t.formats[r];return t}({value:c,start:l,end:c.start,formats:u}))}function s(a){if(n.activeElement!==e)return;const{record:s,applyRecord:c,createRecord:l,isSelected:u,onSelectionChange:f}=t.current;if("selectionchange"!==a.type&&!u)return;if("true"!==e.contentEditable)return;if(o)return;const{start:d,end:m,text:p}=l(),g=s.current;if(p!==g.text)return void i();if(d===g.start&&m===g.end)return void(0===g.text.length&&0===d&&function(e){const t=e.getSelection(),{anchorNode:n,anchorOffset:r}=t;if(n.nodeType!==n.ELEMENT_NODE)return;const a=n.childNodes[r];a&&a.nodeType===a.ELEMENT_NODE&&a.getAttribute("data-rich-text-placeholder")&&t.collapseToStart()}(r));const h={...g,start:d,end:m,activeFormats:g._newActiveFormats,_newActiveFormats:void 0},v=$(h,et);h.activeFormats=v,s.current=h,c(h,{domOnly:!0}),f(d,m)}function c(){o=!0,n.removeEventListener("selectionchange",s)}function l(){o=!1,i({inputType:"insertText"}),n.addEventListener("selectionchange",s)}function u(){const{record:e,isSelected:o,onSelectionChange:i,applyRecord:c}=t.current;if(o)c(e.current),i(e.current.start,e.current.end);else{const t=void 0;e.current={...e.current,start:t,end:t,activeFormats:et},i(t,t)}a=r.requestAnimationFrame(s),n.addEventListener("selectionchange",s)}function f(){n.removeEventListener("selectionchange",s)}return e.addEventListener("input",i),e.addEventListener("compositionstart",c),e.addEventListener("compositionend",l),e.addEventListener("focus",u),e.addEventListener("blur",f),e.addEventListener("keyup",s),e.addEventListener("mouseup",s),e.addEventListener("touchend",s),()=>{e.removeEventListener("input",i),e.removeEventListener("compositionstart",c),e.removeEventListener("compositionend",l),e.removeEventListener("focus",u),e.removeEventListener("blur",f),e.removeEventListener("keyup",s),e.removeEventListener("mouseup",s),e.removeEventListener("touchend",s),n.removeEventListener("selectionchange",s),r.cancelAnimationFrame(a)}}),[])}function nt(e){const t=(0,Be.useRef)(e);return t.current=e,(0,Ue.useRefEffect)((e=>{function n(e){const{keyCode:n}=e,{createRecord:r,handleChange:a,multilineTag:o}=t.current;if(e.defaultPrevented)return;if(n!==Ye.DELETE&&n!==Ye.BACKSPACE)return;const i=r(),{start:s,end:c,text:l}=i,u=n===Ye.BACKSPACE;if(0===s&&0!==c&&c===l.length)return a(J(i)),void e.preventDefault();if(o){let t;t=u&&0===i.start&&0===i.end&&U(i)?te(i,!u):te(i,u),t&&(a(t),e.preventDefault())}}return e.addEventListener("keydown",n),()=>{e.removeEventListener("keydown",n)}}),[])}function rt(e){let{value:t="",selectionStart:n,selectionEnd:r,placeholder:a,preserveWhiteSpace:o,onSelectionChange:s,onChange:c,__unstableMultilineTag:l,__unstableDisableFormats:u,__unstableIsSelected:f,__unstableDependencies:d=[],__unstableAfterParse:m,__unstableBeforeSerialize:p,__unstableAddInvisibleFormats:g}=e;const h=(0,i.useRegistry)(),[,v]=(0,Be.useReducer)((()=>({}))),y=(0,Be.useRef)();function b(){const{ownerDocument:{defaultView:e}}=y.current,t=e.getSelection(),n=t.rangeCount>0?t.getRangeAt(0):null;return L({element:y.current,range:n,multilineTag:l,multilineWrapperTags:"li"===l?["ul","ol"]:void 0,__unstableIsEditableTree:!0,preserveWhiteSpace:o})}function T(e){let{domOnly:t}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Te({value:e,current:y.current,multilineTag:l,multilineWrapperTags:"li"===l?["ul","ol"]:void 0,prepareEditableTree:g,__unstableDomOnly:t,placeholder:a})}const E=(0,Be.useRef)(t),x=(0,Be.useRef)();function w(){E.current=t,x.current=L({html:t,multilineTag:l,multilineWrapperTags:"li"===l?["ul","ol"]:void 0,preserveWhiteSpace:o}),u&&(x.current.formats=Array(t.length),x.current.replacements=Array(t.length)),m&&(x.current.formats=m(x.current)),x.current.start=n,x.current.end=r}const _=(0,Be.useRef)(!1);var C,F,R;x.current?n===x.current.start&&r===x.current.end||(_.current=f,x.current={...x.current,start:n,end:r}):(w(),"core/text-color"===(null===(C=x.current)||void 0===C||null===(F=C.formats[0])||void 0===F||null===(R=F[0])||void 0===R?void 0:R.type)&&function(e){x.current=e,E.current=we({value:p?{...e,formats:p(e)}:e,multilineTag:l,preserveWhiteSpace:o});const{formats:t,text:n}=e;h.batch((()=>{c(E.current,{__unstableFormats:t,__unstableText:n})})),v()}(x.current));function A(e){x.current=e,T(e),E.current=u?e.text:we({value:p?{...e,formats:p(e)}:e,multilineTag:l,preserveWhiteSpace:o});const{start:t,end:n,formats:r,text:a}=e;h.batch((()=>{s(t,n),c(E.current,{__unstableFormats:r,__unstableText:a})})),v()}function N(){w(),T(x.current)}const S=(0,Be.useRef)(!1);(0,Be.useLayoutEffect)((()=>{S.current&&t!==E.current&&N()}),[t]),(0,Be.useLayoutEffect)((()=>{_.current&&(N(),_.current=!1)}),[_.current]);const O=(0,Ue.useMergeRefs)([y,(0,Be.useCallback)((e=>{e&&(e.style.whiteSpace="pre-wrap",e.style.minWidth="1px")}),[]),qe({record:x}),Xe({record:x,multilineTag:l,preserveWhiteSpace:o}),(0,Ue.useRefEffect)((e=>{function t(t){const{target:n}=t;if(n===e||n.textContent)return;const{ownerDocument:r}=n,{defaultView:a}=r,o=r.createRange(),i=a.getSelection();o.selectNode(n),i.removeAllRanges(),i.addRange(o)}return e.addEventListener("click",t),()=>{e.removeEventListener("click",t)}}),[]),Ze({record:x,applyRecord:T}),nt({createRecord:b,handleChange:A,multilineTag:l}),Je({multilineTag:l,createRecord:b,handleChange:A}),tt({record:x,applyRecord:T,createRecord:b,handleChange:A,isSelected:f,onSelectionChange:s}),(0,Ue.useRefEffect)((e=>{function t(e){if(e.defaultPrevented)return;const{keyCode:t,altKey:n,metaKey:r,ctrlKey:a}=e;t!==Ye.SPACE||n||r||a||(e.target.ownerDocument.execCommand("insertText",!1," "),e.preventDefault())}return e.addEventListener("keydown",t),()=>{e.removeEventListener("keydown",t)}}),[]),(0,Ue.useRefEffect)((()=>{N(),S.current=!0}),[a,...d])]);return{value:x.current,onChange:A,ref:O}}function at(){}function ot(e){let{formatTypes:t,onChange:n,onFocus:r,value:a,forwardedRef:o}=e;return t.map((e=>{const{name:t,edit:i}=e;if(!i)return null;const s=j(a,t),c=void 0!==s,l=I(a),u=void 0!==l&&l.type===t;return(0,Be.createElement)(i,{key:t,isActive:c,activeAttributes:c&&s.attributes||{},isObjectActive:u,activeObjectAttributes:u&&l.attributes||{},value:a,onChange:n,onFocus:r,contentRef:o})}))}(window.wp=window.wp||{}).richText=t}();
2
  // translators: %s: title of the formatting control
3
  (0,ke.speak)((0,We.sprintf)((0,We.__)("%s removed."),t.title),"assertive"),Y(e,t.type)):(t.title&&
4
  // translators: %s: title of the formatting control
5
+ (0,ke.speak)((0,We.sprintf)((0,We.__)("%s applied."),t.title),"assertive"),x(e,t))}function $e(e){const t=(0,i.select)(y).getFormatType(e);if(t)return(0,i.dispatch)(y).removeFormatTypes(e),t;window.console.error(`Format ${e} is not registered.`)}function je(e){const t=V(e);if(void 0===t)return!1;const{replacements:n}=e,r=V(e,t),a=n[t]||[],o=n[r]||[];return a.length<=o.length}function Ie(e){const{replacements:t,start:n}=e;return void 0!==t[V(e,n)]}function Pe(e,t){if(!je(e))return e;const n=V(e),r=V(e,n),{text:a,replacements:o,end:i}=e,s=o.slice(),c=function(e,t){let{text:n,replacements:r}=e;const a=r[t]||[];let o=t;for(;o-- >=0;){if(n[o]!==_)continue;const e=r[o]||[];if(e.length===a.length+1)return o;if(e.length<=a.length)return}}(e,n);for(let e=n;e<i;e++)if(a[e]===_)if(c){const t=o[c]||[];s[e]=t.concat((s[e]||[]).slice(t.length-1))}else{const n=o[r]||[],a=n[n.length-1]||t;s[e]=n.concat([a],(s[e]||[]).slice(n.length))}return{...e,replacements:s}}function Ve(e,t){let{text:n,replacements:r}=e;const a=r[t]||[];let o=t;for(;o-- >=0;)if(n[o]===_&&(r[o]||[]).length===a.length-1)return o}function Ke(e){if(!Ie(e))return e;const{text:t,replacements:n,start:r,end:a}=e,o=V(e,r),i=n.slice(0),s=n[Ve(e,o)]||[],c=function(e,t){let{text:n,replacements:r}=e;const a=r[t]||[];let o=t;for(let e=t||0;e<n.length;e++)if(n[e]===_){if(!((r[e]||[]).length>=a.length))return o;o=e}return o}(e,V(e,a));for(let e=o;e<=c;e++){if(t[e]!==_)continue;const n=i[e]||[];i[e]=s.concat(n.slice(s.length+1)),0===i[e].length&&delete i[e]}return{...e,replacements:i}}function He(e,t){const{text:n,replacements:r,start:a,end:o}=e,i=V(e,a),s=r[i]||[],c=r[V(e,o)]||[],l=Ve(e,i),u=r.slice(),f=s.length-1,d=c.length-1;let m;for(let e=l+1||0;e<n.length;e++)if(n[e]===_){if((u[e]||[]).length<=f)break;u[e]&&(m=!0,u[e]=u[e].map(((e,n)=>n<f||n>d?e:t)))}return m?{...e,replacements:u}:e}var Be=window.wp.element;function ze(e){let{ref:t,value:n,settings:r={}}=e;const{tagName:a,className:o,name:i}=r,s=i?j(n,i):void 0;return(0,Be.useMemo)((()=>{if(!t.current)return;const{ownerDocument:{defaultView:e}}=t.current,n=e.getSelection();if(!n.rangeCount)return;const r=n.getRangeAt(0);if(!s)return r;let i=r.startContainer;for(i=i.nextElementSibling||i;i.nodeType!==i.ELEMENT_NODE;)i=i.parentNode;return i.closest(a+(o?"."+o:""))}),[s,n.start,n.end,a,o])}var Ue=window.wp.compose;function qe(e){let{record:t}=e;const n=(0,Be.useRef)(),{activeFormats:r=[]}=t.current;return(0,Be.useEffect)((()=>{if(!r||!r.length)return;const e="*[data-rich-text-format-boundary]",t=n.current.querySelector(e);if(!t)return;const{ownerDocument:a}=t,{defaultView:o}=a,i=`.rich-text:focus ${e} {background-color: ${o.getComputedStyle(t).color.replace(")",", 0.2)").replace("rgb","rgba")}}`,s="rich-text-boundary-style";let c=a.getElementById(s);c||(c=a.createElement("style"),c.id=s,a.head.appendChild(c)),c.innerHTML!==i&&(c.innerHTML=i)}),[r]),n}function Xe(e){const t=(0,Be.useRef)(e);return t.current=e,(0,Ue.useRefEffect)((e=>{function n(n){const{record:r,multilineTag:a,preserveWhiteSpace:o}=t.current;if(B(r.current)||!e.contains(e.ownerDocument.activeElement))return;const i=re(r.current),s=P(i),c=we({value:i,multilineTag:a,preserveWhiteSpace:o});n.clipboardData.setData("text/plain",s),n.clipboardData.setData("text/html",c),n.clipboardData.setData("rich-text","true"),n.clipboardData.setData("rich-text-multi-line-tag",a||""),n.preventDefault()}return e.addEventListener("copy",n),()=>{e.removeEventListener("copy",n)}}),[])}var Ye=window.wp.keycodes;const Ge=[];function Ze(e){const[,t]=(0,Be.useReducer)((()=>({}))),n=(0,Be.useRef)(e);return n.current=e,(0,Ue.useRefEffect)((e=>{function r(r){const{keyCode:a,shiftKey:o,altKey:i,metaKey:s,ctrlKey:c}=r;if(o||i||s||c||a!==Ye.LEFT&&a!==Ye.RIGHT)return;const{record:l,applyRecord:u}=n.current,{text:f,formats:d,start:m,end:p,activeFormats:g=[]}=l.current,h=B(l.current),{ownerDocument:v}=e,{defaultView:y}=v,{direction:b}=y.getComputedStyle(e),T="rtl"===b?Ye.RIGHT:Ye.LEFT,E=r.keyCode===T;if(h&&0===g.length){if(0===m&&E)return;if(p===f.length&&!E)return}if(!h)return;const x=d[m-1]||Ge,w=d[m]||Ge,_=E?x:w,C=g.every(((e,t)=>e===_[t]));let F=g.length;if(C?F<_.length&&F++:F--,F===g.length)return void(l.current._newActiveFormats=_);r.preventDefault();const L=(C?_:E?w:x).slice(0,F),R={...l.current,activeFormats:L};l.current=R,u(R),t()}return e.addEventListener("keydown",r),()=>{e.removeEventListener("keydown",r)}}),[])}function Je(e){const t=(0,Be.useRef)(e);return t.current=e,(0,Ue.useRefEffect)((e=>{function n(n){const{keyCode:r,shiftKey:a,altKey:o,metaKey:i,ctrlKey:s}=n,{multilineTag:c,createRecord:l,handleChange:u}=t.current;if(a||o||i||s||r!==Ye.SPACE||"li"!==c)return;const f=l();if(!B(f))return;const{text:d,start:m}=f,p=d[m-1];p&&p!==_||(u(Pe(f,{type:e.tagName.toLowerCase()})),n.preventDefault())}return e.addEventListener("keydown",n),()=>{e.removeEventListener("keydown",n)}}),[])}const Qe=new Set(["insertParagraph","insertOrderedList","insertUnorderedList","insertHorizontalRule","insertLink"]),et=[];function tt(e){const t=(0,Be.useRef)(e);return t.current=e,(0,Ue.useRefEffect)((e=>{const{ownerDocument:n}=e,{defaultView:r}=n;let a,o=!1;function i(e){if(o)return;let n;e&&(n=e.inputType);const{record:r,applyRecord:a,createRecord:i,handleChange:s}=t.current;if(n&&(0===n.indexOf("format")||Qe.has(n)))return void a(r.current);const c=i(),{start:l,activeFormats:u=[]}=r.current;s(function(e){let{value:t,start:n,end:r,formats:a}=e;const o=Math.min(n,r),i=Math.max(n,r),s=t.formats[o-1]||[],c=t.formats[i]||[];for(t.activeFormats=a.map(((e,t)=>{if(s[t]){if(b(e,s[t]))return s[t]}else if(c[t]&&b(e,c[t]))return c[t];return e}));--r>=n;)t.activeFormats.length>0?t.formats[r]=t.activeFormats:delete t.formats[r];return t}({value:c,start:l,end:c.start,formats:u}))}function s(a){if(n.activeElement!==e)return;const{record:s,applyRecord:c,createRecord:l,isSelected:u,onSelectionChange:f}=t.current;if("selectionchange"!==a.type&&!u)return;if("true"!==e.contentEditable)return;if(o)return;const{start:d,end:m,text:p}=l(),g=s.current;if(p!==g.text)return void i();if(d===g.start&&m===g.end)return void(0===g.text.length&&0===d&&function(e){const t=e.getSelection(),{anchorNode:n,anchorOffset:r}=t;if(n.nodeType!==n.ELEMENT_NODE)return;const a=n.childNodes[r];a&&a.nodeType===a.ELEMENT_NODE&&a.getAttribute("data-rich-text-placeholder")&&t.collapseToStart()}(r));const h={...g,start:d,end:m,activeFormats:g._newActiveFormats,_newActiveFormats:void 0},v=$(h,et);h.activeFormats=v,s.current=h,c(h,{domOnly:!0}),f(d,m)}function c(){o=!0,n.removeEventListener("selectionchange",s)}function l(){o=!1,i({inputType:"insertText"}),n.addEventListener("selectionchange",s)}function u(){const{record:e,isSelected:o,onSelectionChange:i,applyRecord:c}=t.current;if(o)c(e.current),i(e.current.start,e.current.end);else{const t=void 0;e.current={...e.current,start:t,end:t,activeFormats:et},i(t,t)}a=r.requestAnimationFrame(s),n.addEventListener("selectionchange",s)}function f(){n.removeEventListener("selectionchange",s)}return e.addEventListener("input",i),e.addEventListener("compositionstart",c),e.addEventListener("compositionend",l),e.addEventListener("focus",u),e.addEventListener("blur",f),e.addEventListener("keyup",s),e.addEventListener("mouseup",s),e.addEventListener("touchend",s),()=>{e.removeEventListener("input",i),e.removeEventListener("compositionstart",c),e.removeEventListener("compositionend",l),e.removeEventListener("focus",u),e.removeEventListener("blur",f),e.removeEventListener("keyup",s),e.removeEventListener("mouseup",s),e.removeEventListener("touchend",s),n.removeEventListener("selectionchange",s),r.cancelAnimationFrame(a)}}),[])}function nt(e){const t=(0,Be.useRef)(e);return t.current=e,(0,Ue.useRefEffect)((e=>{function n(e){const{keyCode:n}=e,{createRecord:r,handleChange:a,multilineTag:o}=t.current;if(e.defaultPrevented)return;if(n!==Ye.DELETE&&n!==Ye.BACKSPACE)return;const i=r(),{start:s,end:c,text:l}=i,u=n===Ye.BACKSPACE;if(0===s&&0!==c&&c===l.length)return a(J(i)),void e.preventDefault();if(o){let t;t=u&&0===i.start&&0===i.end&&U(i)?te(i,!u):te(i,u),t&&(a(t),e.preventDefault())}}return e.addEventListener("keydown",n),()=>{e.removeEventListener("keydown",n)}}),[])}function rt(e){let{value:t="",selectionStart:n,selectionEnd:r,placeholder:a,preserveWhiteSpace:o,onSelectionChange:s,onChange:c,__unstableMultilineTag:l,__unstableDisableFormats:u,__unstableIsSelected:f,__unstableDependencies:d=[],__unstableAfterParse:m,__unstableBeforeSerialize:p,__unstableAddInvisibleFormats:g}=e;const h=(0,i.useRegistry)(),[,v]=(0,Be.useReducer)((()=>({}))),y=(0,Be.useRef)();function b(){const{ownerDocument:{defaultView:e}}=y.current,t=e.getSelection(),n=t.rangeCount>0?t.getRangeAt(0):null;return L({element:y.current,range:n,multilineTag:l,multilineWrapperTags:"li"===l?["ul","ol"]:void 0,__unstableIsEditableTree:!0,preserveWhiteSpace:o})}function T(e){let{domOnly:t}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Te({value:e,current:y.current,multilineTag:l,multilineWrapperTags:"li"===l?["ul","ol"]:void 0,prepareEditableTree:g,__unstableDomOnly:t,placeholder:a})}const E=(0,Be.useRef)(t),x=(0,Be.useRef)();function w(){E.current=t,x.current=L({html:t,multilineTag:l,multilineWrapperTags:"li"===l?["ul","ol"]:void 0,preserveWhiteSpace:o}),u&&(x.current.formats=Array(t.length),x.current.replacements=Array(t.length)),m&&(x.current.formats=m(x.current)),x.current.start=n,x.current.end=r}const _=(0,Be.useRef)(!1);var C,F,R;x.current?n===x.current.start&&r===x.current.end||(_.current=f,x.current={...x.current,start:n,end:r}):(w(),"core/text-color"===(null===(C=x.current)||void 0===C||null===(F=C.formats[0])||void 0===F||null===(R=F[0])||void 0===R?void 0:R.type)&&function(e){x.current=e,E.current=we({value:p?{...e,formats:p(e)}:e,multilineTag:l,preserveWhiteSpace:o});const{formats:t,text:n}=e;h.batch((()=>{c(E.current,{__unstableFormats:t,__unstableText:n})})),v()}(x.current));function A(e){x.current=e,T(e),E.current=u?e.text:we({value:p?{...e,formats:p(e)}:e,multilineTag:l,preserveWhiteSpace:o});const{start:t,end:n,formats:r,text:a}=e;h.batch((()=>{s(t,n),c(E.current,{__unstableFormats:r,__unstableText:a})})),v()}function N(){w(),T(x.current)}const S=(0,Be.useRef)(!1);(0,Be.useLayoutEffect)((()=>{S.current&&t!==E.current&&N()}),[t]),(0,Be.useLayoutEffect)((()=>{_.current&&(N(),_.current=!1)}),[_.current]);const O=(0,Ue.useMergeRefs)([y,(0,Be.useCallback)((e=>{e&&(e.style.whiteSpace="pre-wrap",e.style.minWidth="1px")}),[]),qe({record:x}),Xe({record:x,multilineTag:l,preserveWhiteSpace:o}),(0,Ue.useRefEffect)((e=>{function t(t){const{target:n}=t;if(n===e||n.textContent)return;const{ownerDocument:r}=n,{defaultView:a}=r,o=r.createRange(),i=a.getSelection();o.selectNode(n),i.removeAllRanges(),i.addRange(o)}return e.addEventListener("click",t),()=>{e.removeEventListener("click",t)}}),[]),Ze({record:x,applyRecord:T}),nt({createRecord:b,handleChange:A,multilineTag:l}),Je({multilineTag:l,createRecord:b,handleChange:A}),tt({record:x,applyRecord:T,createRecord:b,handleChange:A,isSelected:f,onSelectionChange:s}),(0,Ue.useRefEffect)((e=>{function t(e){if(e.defaultPrevented)return;const{keyCode:t,altKey:n,metaKey:r,ctrlKey:a,key:o}=e;t!==Ye.SPACE||n||r||a||" "===o&&(e.target.ownerDocument.execCommand("insertText",!1," "),e.preventDefault())}return e.addEventListener("keydown",t),()=>{e.removeEventListener("keydown",t)}}),[]),(0,Ue.useRefEffect)((()=>{N(),S.current=!0}),[a,...d])]);return{value:x.current,onChange:A,ref:O}}function at(){}function ot(e){let{formatTypes:t,onChange:n,onFocus:r,value:a,forwardedRef:o}=e;return t.map((e=>{const{name:t,edit:i}=e;if(!i)return null;const s=j(a,t),c=void 0!==s,l=I(a),u=void 0!==l&&l.type===t;return(0,Be.createElement)(i,{key:t,isActive:c,activeAttributes:c&&s.attributes||{},isObjectActive:u,activeObjectAttributes:u&&l.attributes||{},value:a,onChange:n,onFocus:r,contentRef:o})}))}(window.wp=window.wp||{}).richText=t}();
changelog.txt CHANGED
@@ -1,212 +1,224 @@
1
  == Changelog ==
2
 
3
- = 12.3.0 =
4
 
5
- ### Features
6
-
7
- #### Block Library
8
-
9
- - Group/row blocks:
10
- - Add Gap support. ([37459](https://github.com/WordPress/gutenberg/pull/37459))
11
- - Add Typography support. ([37456](https://github.com/WordPress/gutenberg/pull/37456))
12
- - New Author Name block. ([36001](https://github.com/WordPress/gutenberg/pull/36001))
13
- - Comments Pagination:
14
- - New Comments Pagination Next block. ([36562](https://github.com/WordPress/gutenberg/pull/36562))
15
- - New Comments Pagination Previous block. ([36912](https://github.com/WordPress/gutenberg/pull/36912))
16
-
17
- ### Enhancements
18
-
19
- #### Block Library
20
-
21
- - Navigation:
22
- - Enable even more compact setup state. ([37089](https://github.com/WordPress/gutenberg/pull/37089))
23
- - Use rems for padding. ([37478](https://github.com/WordPress/gutenberg/pull/37478))
24
- - Site Logo: Add option to set site icon from Site Logo block. ([35892](https://github.com/WordPress/gutenberg/pull/35892))
25
- - Paragraph: Add font family support. ([37586](https://github.com/WordPress/gutenberg/pull/37586))
26
- - Comments Template: Add comments pagination. ([37610](https://github.com/WordPress/gutenberg/pull/37610))
27
- - Embeds: Simplify the embed loading state. ([37548](https://github.com/WordPress/gutenberg/pull/37548))
28
- - Spacer: Add custom units for height and width. ([36186](https://github.com/WordPress/gutenberg/pull/36186))
29
-
30
- #### Global Styles
31
-
32
- - Make the global styles subtitles font smaller. ([37600](https://github.com/WordPress/gutenberg/pull/37600))
33
- - Add support for nameless font sizes. ([37410](https://github.com/WordPress/gutenberg/pull/37410))
34
-
35
- #### Colors
36
-
37
- - Allow color gradient popover to be above the color toggle. ([37430](https://github.com/WordPress/gutenberg/pull/37430))
38
- - Make color styles labels simpler. ([37493](https://github.com/WordPress/gutenberg/pull/37493))
39
- - Use subtitle styles for the palette names. ([37460](https://github.com/WordPress/gutenberg/pull/37460))
40
-
41
- #### Design Tools
42
-
43
- - Border panel: Collapse color controls. ([37425](https://github.com/WordPress/gutenberg/pull/37425))
44
-
45
- #### Document Settings
46
-
47
- - Add class name to post author on edit post sidebar. ([36269](https://github.com/WordPress/gutenberg/pull/36269))
48
-
49
- #### Site Editor
50
-
51
- - Update save panel's cancel button from icon to visible text. ([37310](https://github.com/WordPress/gutenberg/pull/37310))
52
-
53
- #### Accessibility
54
-
55
- - Latest Posts: Add aria-label to featured links. ([36251](https://github.com/WordPress/gutenberg/pull/36251))
56
 
57
  ### Bug Fixes
58
 
59
- #### Block Library
60
-
61
- - Navigation:
62
- - Restrict Navigation permissions and show UI warning if cannot create. ([37454](https://github.com/WordPress/gutenberg/pull/37454))
63
- - Ensure the overlay menu works when inserting navigation block patterns and that inner blocks are retained. ([37358](https://github.com/WordPress/gutenberg/pull/37358))
64
- - Fix navigation appender. ([37447](https://github.com/WordPress/gutenberg/pull/37447))
65
- - Revert all margins on navigation-item in editor. ([37587](https://github.com/WordPress/gutenberg/pull/37587))
66
- - Fix page list issues in overlay. ([37444](https://github.com/WordPress/gutenberg/pull/37444))
67
- - Show a UI warning when user does not have permission to update/edit an existing Navigation block. ([37286](https://github.com/WordPress/gutenberg/pull/37286))
68
- - Try cascading nav styles through classnames. ([37473](https://github.com/WordPress/gutenberg/pull/37473))
69
- - Query Loop:
70
- - Fix editable post blocks in Query Loop with `zero` `queryId`. ([37629](https://github.com/WordPress/gutenberg/pull/37629))
71
- - Changed the letter case for Post Type to Post type. ([37499](https://github.com/WordPress/gutenberg/pull/37499))
72
- - Query Pagination Next: Hide block if custom query has no results. ([37553](https://github.com/WordPress/gutenberg/pull/37553))
73
- - Revert Query Pagination Next/Previous placeholder(36681). ([37520](https://github.com/WordPress/gutenberg/pull/37520))
74
- - Site Logo: Fix block alignment issues. ([36627](https://github.com/WordPress/gutenberg/pull/36627))
75
- - Gallery: Fix block registration hook priority. ([37409](https://github.com/WordPress/gutenberg/pull/37409))
76
- - Post Content/Title: Reflect changes when previewing post. ([37622](https://github.com/WordPress/gutenberg/pull/37622))
77
- - Post Excerpt: Specify paragraph as post excerpt tag name. ([37412](https://github.com/WordPress/gutenberg/pull/37412))
78
- - Reusable Block: Fix embed handling. ([37554](https://github.com/WordPress/gutenberg/pull/37554))
79
- - Site icon: Fix site icon styling to display non-square site icons within a square button. ([37570](https://github.com/WordPress/gutenberg/pull/37570))
80
- - Template Part: Only display a missing notice in debug mode. ([37404](https://github.com/WordPress/gutenberg/pull/37404))
81
- - ServerSideRender: Fix loading state. ([37623](https://github.com/WordPress/gutenberg/pull/37623))
82
- - Comments Avatar Block: Show avatar drag handles only when selected. ([37567](https://github.com/WordPress/gutenberg/pull/37567))
83
-
84
- #### Global Styles
85
-
86
- - Color editor discards colors with default name. ([37496](https://github.com/WordPress/gutenberg/pull/37496))
87
- - Gradients are not being applied by class. ([37597](https://github.com/WordPress/gutenberg/pull/37597))
88
- - Impossible to edit theme and default colors. ([37497](https://github.com/WordPress/gutenberg/pull/37497))
89
- - Blank site editor when theme name contains a period. ([37167](https://github.com/WordPress/gutenberg/pull/37167))
90
- - Lower the specificity of font size CSS Custom Properties in the editor. ([37526](https://github.com/WordPress/gutenberg/pull/37526))
91
- - Use inset shadow on color indicators and adjust spacing. ([37500](https://github.com/WordPress/gutenberg/pull/37500))
92
-
93
- #### Block Editor
94
-
95
- - Fix Enter handling for nested blocks. ([37453](https://github.com/WordPress/gutenberg/pull/37453))
96
- - Restrict delete multi selected blocks shortcut. ([37595](https://github.com/WordPress/gutenberg/pull/37595))
97
- - Avoid using CSS variables for block gap styles. ([37360](https://github.com/WordPress/gutenberg/pull/37360))
98
-
99
- #### Themes
100
-
101
- - Add comment-form and comment-list to default html5 theme support. ([37536](https://github.com/WordPress/gutenberg/pull/37536))
102
- - Avoid Duplicated "Theme File Editor" menu. ([37592](https://github.com/WordPress/gutenberg/pull/37592))
103
- - Fix conditional check "Theme File Editor" menu. ([37616](https://github.com/WordPress/gutenberg/pull/37616))
104
- - Fix duotone theme cache. ([36236](https://github.com/WordPress/gutenberg/pull/36236))
105
-
106
- #### Template Editor
107
-
108
- - Avoid undo issues when reset parent blocks for controlled blocks. ([37484](https://github.com/WordPress/gutenberg/pull/37484))
109
- - Change color of welcome dialog close icon so it is visible against black background. ([37435](https://github.com/WordPress/gutenberg/pull/37435))
110
- - Template Editing Mode: Fix options dropdown. ([37442](https://github.com/WordPress/gutenberg/pull/37442))
111
- - Try to fix auto resizing in template part focus mode. ([37394](https://github.com/WordPress/gutenberg/pull/37394))
112
- - Update the template list action labels. ([37576](https://github.com/WordPress/gutenberg/pull/37576))
113
-
114
- #### Site Editor
115
-
116
- - Add customized indicator to plugin templates that have been customized. ([37329](https://github.com/WordPress/gutenberg/pull/37329))
117
- - Register block editor shortcuts. ([37577](https://github.com/WordPress/gutenberg/pull/37577))
118
- - Update regex to handle 404 template slug. ([37579](https://github.com/WordPress/gutenberg/pull/37579))
119
- - Parse shortcode blocks outside the content. ([37545](https://github.com/WordPress/gutenberg/pull/37545))
120
-
121
- #### Accessibility
122
-
123
- - Editor: Focus when navigation toggle receives state false. ([37265](https://github.com/WordPress/gutenberg/pull/37265))
124
- - Navigation: Only add dialog role when modal is open. ([37434](https://github.com/WordPress/gutenberg/pull/37434))
125
-
126
- #### npm Packages
127
-
128
- - Fix missing peer dependencies where React is used indirectly. ([37578](https://github.com/WordPress/gutenberg/pull/37578))
129
-
130
- #### Testing
131
-
132
- - Fix flaky Navigation block end-to-end test by mocking out URL details endpoint to avoid 404. ([37501](https://github.com/WordPress/gutenberg/pull/37501))
133
-
134
- #### Post Editor
135
-
136
- - Multi-entity saving: Allow publishing a post while not saving changes to non-post entities. ([37383](https://github.com/WordPress/gutenberg/pull/37383))
137
-
138
- #### Components
139
-
140
- - ToolsPanel: Allow items to register when panelId is null. ([37273](https://github.com/WordPress/gutenberg/pull/37273))
141
-
142
- #### Design Tools
143
-
144
- - Make block support tools panels compatible with multi-selection. ([37216](https://github.com/WordPress/gutenberg/pull/37216))
145
-
146
- ### Documentation
147
-
148
- #### Packages
149
-
150
- - Add automated core blocks documentation. ([36183](https://github.com/WordPress/gutenberg/pull/36183))
151
- - Added README for GradientPicker. ([37614](https://github.com/WordPress/gutenberg/pull/37614))
152
- - Add link to meta-block example in gutenberg-examples repo. ([37633](https://github.com/WordPress/gutenberg/pull/37633))
153
- - Fix parameter type in render function of file block. ([36262](https://github.com/WordPress/gutenberg/pull/36262))
154
- - Add changelog entry for \_\_experimentalIsRenderedInSidebar gradient components flag. ([37457](https://github.com/WordPress/gutenberg/pull/37457))
155
-
156
- #### Handbook
157
-
158
- - Switch code distinction to JSX & Plain. ([37348](https://github.com/WordPress/gutenberg/pull/37348))
159
- - Fix a grammatical error in the Create Block tutorial. ([37636](https://github.com/WordPress/gutenberg/pull/37636))
160
- - Fix plugin sidebar tutorial not publishing. ([37505](https://github.com/WordPress/gutenberg/pull/37505))
161
- - Update plugin sidebar to new how to guide template. ([37490](https://github.com/WordPress/gutenberg/pull/37490))
162
- - Update "Local by Flywheel" name and URL. ([37512](https://github.com/WordPress/gutenberg/pull/37512))
163
- - Update Meta Boxes to a single page how to guide. ([37621](https://github.com/WordPress/gutenberg/pull/37621))
164
-
165
- ### Code Quality
166
-
167
- #### Compatibility with Core
168
-
169
- - Adds missing block template class properties. ([37556](https://github.com/WordPress/gutenberg/pull/37556))
170
-
171
- #### Formatting
172
-
173
- - Fix lint issues. ([37618](https://github.com/WordPress/gutenberg/pull/37618))
174
- - Move block patterns compatibility code to lib/compat folder. ([37451](https://github.com/WordPress/gutenberg/pull/37451))
175
-
176
- #### Packages
177
-
178
- - Data:
179
- - Block top level useSetting paths. ([37428](https://github.com/WordPress/gutenberg/pull/37428))
180
- - Deprecate receiveUploadPermissions. ([37508](https://github.com/WordPress/gutenberg/pull/37508))
181
-
182
- #### Site Editor
183
-
184
- - Remove dead code. ([37581](https://github.com/WordPress/gutenberg/pull/37581))
185
-
186
- #### Components
187
-
188
- - Storybook: Tweak configuration for v6.4 update. ([37544](https://github.com/WordPress/gutenberg/pull/37544))
189
-
190
- #### Security
191
-
192
- - Update `yargs` dependency for `@wordpress/env` to fix CVE-2021-3807. ([37601](https://github.com/WordPress/gutenberg/pull/37601))
193
-
194
- ### Tools
195
-
196
- #### Testing
197
-
198
- - End to end:
199
- - Switch to using a $eval to fill user creation fields. ([37469](https://github.com/WordPress/gutenberg/pull/37469))
200
- - Fix and enable remaining navigation block end-to-end tests. ([37437](https://github.com/WordPress/gutenberg/pull/37437))
201
- - Add block editor shortcuts end-to-end tests. ([37624](https://github.com/WordPress/gutenberg/pull/37624))
202
-
203
- #### Build Tooling
204
-
205
- - Add npm-run-all package to simplify running scripts. ([37558](https://github.com/WordPress/gutenberg/pull/37558))
206
- - Update caniuse to latest. ([37588](https://github.com/WordPress/gutenberg/pull/37588))
207
- - Fix pre commit hook to build block documentation. ([37613](https://github.com/WordPress/gutenberg/pull/37613))
208
-
209
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
210
 
211
 
212
  = 12.2.0 =
1
  == Changelog ==
2
 
3
+ = 12.3.1 =
4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5
 
6
  ### Bug Fixes
7
 
8
+ - Restore canvas padding for classic themes (#37741).
9
+ - Site logo: Fix range control on landscape logos (#37733).
10
+ - RichText: Fix dead key input on Windows (#37777).
11
+ - Update: Improve escaping on the search block (#37829).
12
+ - Fix: Impossible to clear colors if color palettes are removed. (#37791).
13
+
14
+
15
+ = 12.3.0 =
16
+
17
+ ### Features
18
+
19
+ #### Block Library
20
+
21
+ - Group/row blocks:
22
+ - Add Gap support. ([37459](https://github.com/WordPress/gutenberg/pull/37459))
23
+ - Add Typography support. ([37456](https://github.com/WordPress/gutenberg/pull/37456))
24
+ - New Author Name block. ([36001](https://github.com/WordPress/gutenberg/pull/36001))
25
+ - Comments Pagination:
26
+ - New Comments Pagination Next block. ([36562](https://github.com/WordPress/gutenberg/pull/36562))
27
+ - New Comments Pagination Previous block. ([36912](https://github.com/WordPress/gutenberg/pull/36912))
28
+
29
+ ### Enhancements
30
+
31
+ #### Block Library
32
+
33
+ - Navigation:
34
+ - Enable even more compact setup state. ([37089](https://github.com/WordPress/gutenberg/pull/37089))
35
+ - Use rems for padding. ([37478](https://github.com/WordPress/gutenberg/pull/37478))
36
+ - Site Logo: Add option to set site icon from Site Logo block. ([35892](https://github.com/WordPress/gutenberg/pull/35892))
37
+ - Paragraph: Add font family support. ([37586](https://github.com/WordPress/gutenberg/pull/37586))
38
+ - Comments Template: Add comments pagination. ([37610](https://github.com/WordPress/gutenberg/pull/37610))
39
+ - Embeds: Simplify the embed loading state. ([37548](https://github.com/WordPress/gutenberg/pull/37548))
40
+ - Spacer: Add custom units for height and width. ([36186](https://github.com/WordPress/gutenberg/pull/36186))
41
+
42
+ #### Global Styles
43
+
44
+ - Make the global styles subtitles font smaller. ([37600](https://github.com/WordPress/gutenberg/pull/37600))
45
+ - Add support for nameless font sizes. ([37410](https://github.com/WordPress/gutenberg/pull/37410))
46
+
47
+ #### Colors
48
+
49
+ - Allow color gradient popover to be above the color toggle. ([37430](https://github.com/WordPress/gutenberg/pull/37430))
50
+ - Make color styles labels simpler. ([37493](https://github.com/WordPress/gutenberg/pull/37493))
51
+ - Use subtitle styles for the palette names. ([37460](https://github.com/WordPress/gutenberg/pull/37460))
52
+
53
+ #### Design Tools
54
+
55
+ - Border panel: Collapse color controls. ([37425](https://github.com/WordPress/gutenberg/pull/37425))
56
+
57
+ #### Document Settings
58
+
59
+ - Add class name to post author on edit post sidebar. ([36269](https://github.com/WordPress/gutenberg/pull/36269))
60
+
61
+ #### Site Editor
62
+
63
+ - Update save panel's cancel button from icon to visible text. ([37310](https://github.com/WordPress/gutenberg/pull/37310))
64
+
65
+ #### Accessibility
66
+
67
+ - Latest Posts: Add aria-label to featured links. ([36251](https://github.com/WordPress/gutenberg/pull/36251))
68
+
69
+ ### Bug Fixes
70
+
71
+ #### Block Library
72
+
73
+ - Navigation:
74
+ - Restrict Navigation permissions and show UI warning if cannot create. ([37454](https://github.com/WordPress/gutenberg/pull/37454))
75
+ - Ensure the overlay menu works when inserting navigation block patterns and that inner blocks are retained. ([37358](https://github.com/WordPress/gutenberg/pull/37358))
76
+ - Fix navigation appender. ([37447](https://github.com/WordPress/gutenberg/pull/37447))
77
+ - Revert all margins on navigation-item in editor. ([37587](https://github.com/WordPress/gutenberg/pull/37587))
78
+ - Fix page list issues in overlay. ([37444](https://github.com/WordPress/gutenberg/pull/37444))
79
+ - Show a UI warning when user does not have permission to update/edit an existing Navigation block. ([37286](https://github.com/WordPress/gutenberg/pull/37286))
80
+ - Try cascading nav styles through classnames. ([37473](https://github.com/WordPress/gutenberg/pull/37473))
81
+ - Query Loop:
82
+ - Fix editable post blocks in Query Loop with `zero` `queryId`. ([37629](https://github.com/WordPress/gutenberg/pull/37629))
83
+ - Changed the letter case for Post Type to Post type. ([37499](https://github.com/WordPress/gutenberg/pull/37499))
84
+ - Query Pagination Next: Hide block if custom query has no results. ([37553](https://github.com/WordPress/gutenberg/pull/37553))
85
+ - Revert Query Pagination Next/Previous placeholder(36681). ([37520](https://github.com/WordPress/gutenberg/pull/37520))
86
+ - Site Logo: Fix block alignment issues. ([36627](https://github.com/WordPress/gutenberg/pull/36627))
87
+ - Gallery: Fix block registration hook priority. ([37409](https://github.com/WordPress/gutenberg/pull/37409))
88
+ - Post Content/Title: Reflect changes when previewing post. ([37622](https://github.com/WordPress/gutenberg/pull/37622))
89
+ - Post Excerpt: Specify paragraph as post excerpt tag name. ([37412](https://github.com/WordPress/gutenberg/pull/37412))
90
+ - Reusable Block: Fix embed handling. ([37554](https://github.com/WordPress/gutenberg/pull/37554))
91
+ - Site icon: Fix site icon styling to display non-square site icons within a square button. ([37570](https://github.com/WordPress/gutenberg/pull/37570))
92
+ - Template Part: Only display a missing notice in debug mode. ([37404](https://github.com/WordPress/gutenberg/pull/37404))
93
+ - ServerSideRender: Fix loading state. ([37623](https://github.com/WordPress/gutenberg/pull/37623))
94
+ - Comments Avatar Block: Show avatar drag handles only when selected. ([37567](https://github.com/WordPress/gutenberg/pull/37567))
95
+
96
+ #### Global Styles
97
+
98
+ - Color editor discards colors with default name. ([37496](https://github.com/WordPress/gutenberg/pull/37496))
99
+ - Gradients are not being applied by class. ([37597](https://github.com/WordPress/gutenberg/pull/37597))
100
+ - Impossible to edit theme and default colors. ([37497](https://github.com/WordPress/gutenberg/pull/37497))
101
+ - Blank site editor when theme name contains a period. ([37167](https://github.com/WordPress/gutenberg/pull/37167))
102
+ - Lower the specificity of font size CSS Custom Properties in the editor. ([37526](https://github.com/WordPress/gutenberg/pull/37526))
103
+ - Use inset shadow on color indicators and adjust spacing. ([37500](https://github.com/WordPress/gutenberg/pull/37500))
104
+
105
+ #### Block Editor
106
+
107
+ - Fix Enter handling for nested blocks. ([37453](https://github.com/WordPress/gutenberg/pull/37453))
108
+ - Restrict delete multi selected blocks shortcut. ([37595](https://github.com/WordPress/gutenberg/pull/37595))
109
+ - Avoid using CSS variables for block gap styles. ([37360](https://github.com/WordPress/gutenberg/pull/37360))
110
+
111
+ #### Themes
112
+
113
+ - Add comment-form and comment-list to default html5 theme support. ([37536](https://github.com/WordPress/gutenberg/pull/37536))
114
+ - Avoid Duplicated "Theme File Editor" menu. ([37592](https://github.com/WordPress/gutenberg/pull/37592))
115
+ - Fix conditional check "Theme File Editor" menu. ([37616](https://github.com/WordPress/gutenberg/pull/37616))
116
+ - Fix duotone theme cache. ([36236](https://github.com/WordPress/gutenberg/pull/36236))
117
+
118
+ #### Template Editor
119
+
120
+ - Avoid undo issues when reset parent blocks for controlled blocks. ([37484](https://github.com/WordPress/gutenberg/pull/37484))
121
+ - Change color of welcome dialog close icon so it is visible against black background. ([37435](https://github.com/WordPress/gutenberg/pull/37435))
122
+ - Template Editing Mode: Fix options dropdown. ([37442](https://github.com/WordPress/gutenberg/pull/37442))
123
+ - Try to fix auto resizing in template part focus mode. ([37394](https://github.com/WordPress/gutenberg/pull/37394))
124
+ - Update the template list action labels. ([37576](https://github.com/WordPress/gutenberg/pull/37576))
125
+
126
+ #### Site Editor
127
+
128
+ - Add customized indicator to plugin templates that have been customized. ([37329](https://github.com/WordPress/gutenberg/pull/37329))
129
+ - Register block editor shortcuts. ([37577](https://github.com/WordPress/gutenberg/pull/37577))
130
+ - Update regex to handle 404 template slug. ([37579](https://github.com/WordPress/gutenberg/pull/37579))
131
+ - Parse shortcode blocks outside the content. ([37545](https://github.com/WordPress/gutenberg/pull/37545))
132
+
133
+ #### Accessibility
134
+
135
+ - Editor: Focus when navigation toggle receives state false. ([37265](https://github.com/WordPress/gutenberg/pull/37265))
136
+ - Navigation: Only add dialog role when modal is open. ([37434](https://github.com/WordPress/gutenberg/pull/37434))
137
+
138
+ #### npm Packages
139
+
140
+ - Fix missing peer dependencies where React is used indirectly. ([37578](https://github.com/WordPress/gutenberg/pull/37578))
141
+
142
+ #### Testing
143
+
144
+ - Fix flaky Navigation block end-to-end test by mocking out URL details endpoint to avoid 404. ([37501](https://github.com/WordPress/gutenberg/pull/37501))
145
+
146
+ #### Post Editor
147
+
148
+ - Multi-entity saving: Allow publishing a post while not saving changes to non-post entities. ([37383](https://github.com/WordPress/gutenberg/pull/37383))
149
+
150
+ #### Components
151
+
152
+ - ToolsPanel: Allow items to register when panelId is null. ([37273](https://github.com/WordPress/gutenberg/pull/37273))
153
+
154
+ #### Design Tools
155
+
156
+ - Make block support tools panels compatible with multi-selection. ([37216](https://github.com/WordPress/gutenberg/pull/37216))
157
+
158
+ ### Documentation
159
+
160
+ #### Packages
161
+
162
+ - Add automated core blocks documentation. ([36183](https://github.com/WordPress/gutenberg/pull/36183))
163
+ - Added README for GradientPicker. ([37614](https://github.com/WordPress/gutenberg/pull/37614))
164
+ - Add link to meta-block example in gutenberg-examples repo. ([37633](https://github.com/WordPress/gutenberg/pull/37633))
165
+ - Fix parameter type in render function of file block. ([36262](https://github.com/WordPress/gutenberg/pull/36262))
166
+ - Add changelog entry for \_\_experimentalIsRenderedInSidebar gradient components flag. ([37457](https://github.com/WordPress/gutenberg/pull/37457))
167
+
168
+ #### Handbook
169
+
170
+ - Switch code distinction to JSX & Plain. ([37348](https://github.com/WordPress/gutenberg/pull/37348))
171
+ - Fix a grammatical error in the Create Block tutorial. ([37636](https://github.com/WordPress/gutenberg/pull/37636))
172
+ - Fix plugin sidebar tutorial not publishing. ([37505](https://github.com/WordPress/gutenberg/pull/37505))
173
+ - Update plugin sidebar to new how to guide template. ([37490](https://github.com/WordPress/gutenberg/pull/37490))
174
+ - Update "Local by Flywheel" name and URL. ([37512](https://github.com/WordPress/gutenberg/pull/37512))
175
+ - Update Meta Boxes to a single page how to guide. ([37621](https://github.com/WordPress/gutenberg/pull/37621))
176
+
177
+ ### Code Quality
178
+
179
+ #### Compatibility with Core
180
+
181
+ - Adds missing block template class properties. ([37556](https://github.com/WordPress/gutenberg/pull/37556))
182
+
183
+ #### Formatting
184
+
185
+ - Fix lint issues. ([37618](https://github.com/WordPress/gutenberg/pull/37618))
186
+ - Move block patterns compatibility code to lib/compat folder. ([37451](https://github.com/WordPress/gutenberg/pull/37451))
187
+
188
+ #### Packages
189
+
190
+ - Data:
191
+ - Block top level useSetting paths. ([37428](https://github.com/WordPress/gutenberg/pull/37428))
192
+ - Deprecate receiveUploadPermissions. ([37508](https://github.com/WordPress/gutenberg/pull/37508))
193
+
194
+ #### Site Editor
195
+
196
+ - Remove dead code. ([37581](https://github.com/WordPress/gutenberg/pull/37581))
197
+
198
+ #### Components
199
+
200
+ - Storybook: Tweak configuration for v6.4 update. ([37544](https://github.com/WordPress/gutenberg/pull/37544))
201
+
202
+ #### Security
203
+
204
+ - Update `yargs` dependency for `@wordpress/env` to fix CVE-2021-3807. ([37601](https://github.com/WordPress/gutenberg/pull/37601))
205
+
206
+ ### Tools
207
+
208
+ #### Testing
209
+
210
+ - End to end:
211
+ - Switch to using a $eval to fill user creation fields. ([37469](https://github.com/WordPress/gutenberg/pull/37469))
212
+ - Fix and enable remaining navigation block end-to-end tests. ([37437](https://github.com/WordPress/gutenberg/pull/37437))
213
+ - Add block editor shortcuts end-to-end tests. ([37624](https://github.com/WordPress/gutenberg/pull/37624))
214
+
215
+ #### Build Tooling
216
+
217
+ - Add npm-run-all package to simplify running scripts. ([37558](https://github.com/WordPress/gutenberg/pull/37558))
218
+ - Update caniuse to latest. ([37588](https://github.com/WordPress/gutenberg/pull/37588))
219
+ - Fix pre commit hook to build block documentation. ([37613](https://github.com/WordPress/gutenberg/pull/37613))
220
+
221
+
222
 
223
 
224
  = 12.2.0 =
gutenberg.php CHANGED
@@ -5,7 +5,7 @@
5
  * Description: Printing since 1440. This is the development plugin for the new block editor in core.
6
  * Requires at least: 5.7
7
  * Requires PHP: 5.6
8
- * Version: 12.3.0
9
  * Author: Gutenberg Team
10
  * Text Domain: gutenberg
11
  *
@@ -13,8 +13,8 @@
13
  */
14
 
15
  ### BEGIN AUTO-GENERATED DEFINES
16
- define( 'GUTENBERG_VERSION', '12.3.0' );
17
- define( 'GUTENBERG_GIT_COMMIT', '0e38f42f363b9ef777e00b5540229d5025b1aa5a' );
18
  ### END AUTO-GENERATED DEFINES
19
 
20
  gutenberg_pre_init();
5
  * Description: Printing since 1440. This is the development plugin for the new block editor in core.
6
  * Requires at least: 5.7
7
  * Requires PHP: 5.6
8
+ * Version: 12.3.1
9
  * Author: Gutenberg Team
10
  * Text Domain: gutenberg
11
  *
13
  */
14
 
15
  ### BEGIN AUTO-GENERATED DEFINES
16
+ define( 'GUTENBERG_VERSION', '12.3.1' );
17
+ define( 'GUTENBERG_GIT_COMMIT', '97a8877389264a1ddd4632decd9519634693905b' );
18
  ### END AUTO-GENERATED DEFINES
19
 
20
  gutenberg_pre_init();
readme.txt CHANGED
@@ -1,7 +1,7 @@
1
  === Gutenberg ===
2
  Contributors: matveb, joen, karmatosed
3
  Tested up to: 5.8
4
- Stable tag: 12.2.0
5
  License: GPLv2 or later
6
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
7
 
@@ -56,4 +56,4 @@ The four phases of the project are Editing, Customization, Collaboration, and Mu
56
 
57
  == Changelog ==
58
 
59
- To read the changelog for Gutenberg 12.3.0, please navigate to the <a href="https://github.com/WordPress/gutenberg/releases/tag/v12.3.0">release page</a>.
1
  === Gutenberg ===
2
  Contributors: matveb, joen, karmatosed
3
  Tested up to: 5.8
4
+ Stable tag: 12.3.0
5
  License: GPLv2 or later
6
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
7
 
56
 
57
  == Changelog ==
58
 
59
+ To read the changelog for Gutenberg 12.3.1, please navigate to the <a href="https://github.com/WordPress/gutenberg/releases/tag/v12.3.1">release page</a>.