diff --git a/_inc/blocks/editor-beta.asset.php b/_inc/blocks/editor-beta.asset.php index 1c00e0ed93..7e76dd45c0 100644 --- a/_inc/blocks/editor-beta.asset.php +++ b/_inc/blocks/editor-beta.asset.php @@ -1 +1 @@ - array('jetpack-connection', 'jetpack-script-data', 'lodash', 'moment', 'react', 'react-dom', 'react-jsx-runtime', 'wp-a11y', 'wp-api-fetch', 'wp-blob', 'wp-block-editor', 'wp-block-serialization-default-parser', 'wp-blocks', 'wp-commands', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-date', 'wp-dom-ready', 'wp-edit-post', 'wp-editor', 'wp-element', 'wp-escape-html', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-keycodes', 'wp-media-utils', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-rich-text', 'wp-token-list', 'wp-url', 'wp-viewport', 'wp-widgets', 'wp-wordcount'), 'version' => '783c727c39d2b5c0d8da'); + array('jetpack-connection', 'jetpack-script-data', 'lodash', 'moment', 'react', 'react-dom', 'react-jsx-runtime', 'wp-a11y', 'wp-api-fetch', 'wp-blob', 'wp-block-editor', 'wp-block-serialization-default-parser', 'wp-blocks', 'wp-commands', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-date', 'wp-dom-ready', 'wp-edit-post', 'wp-editor', 'wp-element', 'wp-escape-html', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-keycodes', 'wp-media-utils', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-rich-text', 'wp-token-list', 'wp-url', 'wp-viewport', 'wp-widgets', 'wp-wordcount'), 'version' => '43bef32205f83376028a'); diff --git a/_inc/blocks/editor-beta.js b/_inc/blocks/editor-beta.js index cbca9f386d..8f58777ed7 100644 --- a/_inc/blocks/editor-beta.js +++ b/_inc/blocks/editor-beta.js @@ -11,7 +11,7 @@ const n=__("Requests will reset on %s.","jetpack");return`${t} ${(0,s.sprintf)(n __("(opens in a new tab)","jetpack"))),x=b?"_blank":void 0,j=n?.[0]&&null!==n[0]&&"components-tooltip"!==n?.[0]?.props?.className;return d().createElement(s.Button,r()({target:x,variant:a,className:(0,c.A)(_,{"has-text":!!m&&j}),icon:b?void 0:m,iconSize:h,disabled:g,"aria-disabled":g,isDestructive:f,text:y},w),v&&d().createElement(s.Spinner,null),d().createElement("span",null,n),A)}));m.displayName="Button";const h=m},69222:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var a=n(96072),r=n.n(a),s=n(29491),o=n(86087),i=n(27723),l=n(51112),c=n(78478);const __=i.__,u=({buttonStyle:e="icon",textToCopy:t,onCopy:n,...a})=>{const[i,u]=(0,o.useState)(!1),d=(0,o.useRef)(),p=(0,s.useCopyToClipboard)(t,(()=>{d.current&&clearTimeout(d.current),u(!0),n?.(),d.current=setTimeout((()=>{u(!1),d.current=void 0}),3e3)}));(0,o.useEffect)((()=>()=>{d.current&&clearTimeout(d.current)}),[]);let m=null,h=null;"text"!==e&&(m=i?React.createElement(c.Nr,null):React.createElement(c.ui,null));const g=__("Copy to clipboard","jetpack");return"icon"!==e&&(h=i?__("Copied!","jetpack"):g),React.createElement(l.A,r()({"aria-label":g,icon:m,children:h,ref:p},a))}},63406:(e,t,n)=>{"use strict";n.d(t,{I:()=>s});var a=n(47143),r=n(692);function s(){const e=(0,a.useDispatch)(r.store),t=(0,a.useSelect)((e=>e(r.store).getNotices()),[]);return{...e,createNotice:(t,n,a)=>e.createNotice(t,n,{type:"snackbar",...a}),createErrorNotice:(t,n)=>e.createErrorNotice(t,{type:"snackbar",...n}),createInfoNotice:(t,n)=>e.createInfoNotice(t,{type:"snackbar",...n}),createSuccessNotice:(t,n)=>e.createSuccessNotice(t,{type:"snackbar",...n}),createWarningNotice:(t,n)=>e.createWarningNotice(t,{type:"snackbar",...n}),getNotices:()=>t}}},11883:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var a=n(27723),r=n(13022),s=n(51609);n(4459);const __=a.__;class o extends s.Component{static defaultProps={"aria-hidden":"false",focusable:"true"};needsOffset(e,t){return["gridicons-arrow-left","gridicons-arrow-right","gridicons-calendar","gridicons-cart","gridicons-folder","gridicons-help-outline","gridicons-info","gridicons-info-outline","gridicons-posts","gridicons-star-outline","gridicons-star"].indexOf(e)>=0&&t%18==0}getSVGDescription(e){if("description"in this.props)return this.props.description;switch(e){default:return"";case"gridicons-audio":return __("Has audio.","jetpack");case"gridicons-arrow-left":return __("Arrow left","jetpack");case"gridicons-arrow-right":return __("Arrow right","jetpack");case"gridicons-calendar":return __("Is an event.","jetpack");case"gridicons-cart":return __("Is a product.","jetpack");case"chevron-down":return __("Show filters","jetpack");case"gridicons-comment":return __("Matching comment.","jetpack");case"gridicons-cross":return __("Close.","jetpack");case"gridicons-filter":return __("Toggle search filters.","jetpack");case"gridicons-folder":return __("Category","jetpack");case"gridicons-help-outline":return __("Help","jetpack");case"gridicons-info":case"gridicons-info-outline":return __("Information.","jetpack");case"gridicons-image-multiple":return __("Has multiple images.","jetpack");case"gridicons-image":return __("Has an image.","jetpack");case"gridicons-page":return __("Page","jetpack");case"gridicons-post":return __("Post","jetpack");case"gridicons-jetpack-search":case"gridicons-search":return __("Magnifying Glass","jetpack");case"gridicons-tag":return __("Tag","jetpack");case"gridicons-video":return __("Has a video.","jetpack")}}renderIcon(e){switch(e){default:return null;case"gridicons-audio":return React.createElement("g",null,React.createElement("path",{d:"M8 4v10.184C7.686 14.072 7.353 14 7 14c-1.657 0-3 1.343-3 3s1.343 3 3 3 3-1.343 3-3V7h7v4.184c-.314-.112-.647-.184-1-.184-1.657 0-3 1.343-3 3s1.343 3 3 3 3-1.343 3-3V4H8z"}));case"gridicons-arrow-left":return React.createElement("g",null,React.createElement("path",{d:"M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"}));case"gridicons-arrow-right":return React.createElement("g",null,React.createElement("path",{d:"M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8-8-8z"}));case"gridicons-block":return React.createElement("g",null,React.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zM4 12c0-4.418 3.582-8 8-8 1.848 0 3.545.633 4.9 1.686L5.686 16.9C4.633 15.545 4 13.848 4 12zm8 8c-1.848 0-3.546-.633-4.9-1.686L18.314 7.1C19.367 8.455 20 10.152 20 12c0 4.418-3.582 8-8 8z"}));case"gridicons-calendar":return React.createElement("g",null,React.createElement("path",{d:"M19 4h-1V2h-2v2H8V2H6v2H5c-1.105 0-2 .896-2 2v13c0 1.104.895 2 2 2h14c1.104 0 2-.896 2-2V6c0-1.104-.896-2-2-2zm0 15H5V8h14v11z"}));case"gridicons-cart":return React.createElement("g",null,React.createElement("path",{d:"M9 20c0 1.1-.9 2-2 2s-1.99-.9-1.99-2S5.9 18 7 18s2 .9 2 2zm8-2c-1.1 0-1.99.9-1.99 2s.89 2 1.99 2 2-.9 2-2-.9-2-2-2zm.396-5c.937 0 1.75-.65 1.952-1.566L21 5H7V4c0-1.105-.895-2-2-2H3v2h2v11c0 1.105.895 2 2 2h12c0-1.105-.895-2-2-2H7v-2h10.396z"}));case"gridicons-checkmark":return React.createElement("g",null,React.createElement("path",{d:"M11 17.768l-4.884-4.884 1.768-1.768L11 14.232l8.658-8.658C17.823 3.39 15.075 2 12 2 6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10c0-1.528-.353-2.97-.966-4.266L11 17.768z"}));case"gridicons-chevron-left":return React.createElement("g",null,React.createElement("path",{d:"M16.443 7.41L15.0399 6L9.06934 12L15.0399 18L16.443 16.59L11.8855 12L16.443 7.41Z"}));case"gridicons-chevron-right":return React.createElement("g",null,React.createElement("path",{d:"M10.2366 6L8.8335 7.41L13.391 12L8.8335 16.59L10.2366 18L16.2072 12L10.2366 6Z"}));case"gridicons-chevron-down":return React.createElement("g",null,React.createElement("path",{d:"M20 9l-8 8-8-8 1.414-1.414L12 14.172l6.586-6.586"}));case"gridicons-comment":return React.createElement("g",null,React.createElement("path",{d:"M3 6v9c0 1.105.895 2 2 2h9v5l5.325-3.804c1.05-.75 1.675-1.963 1.675-3.254V6c0-1.105-.895-2-2-2H5c-1.105 0-2 .895-2 2z"}));case"gridicons-computer":return React.createElement("g",null,React.createElement("path",{d:"M20 2H4c-1.104 0-2 .896-2 2v12c0 1.104.896 2 2 2h6v2H7v2h10v-2h-3v-2h6c1.104 0 2-.896 2-2V4c0-1.104-.896-2-2-2zm0 14H4V4h16v12z"}));case"gridicons-cross":return React.createElement("g",null,React.createElement("path",{d:"M18.36 19.78L12 13.41l-6.36 6.37-1.42-1.42L10.59 12 4.22 5.64l1.42-1.42L12 10.59l6.36-6.36 1.41 1.41L13.41 12l6.36 6.36z"}));case"gridicons-filter":return React.createElement("g",null,React.createElement("path",{d:"M10 19h4v-2h-4v2zm-4-6h12v-2H6v2zM3 5v2h18V5H3z"}));case"gridicons-folder":return React.createElement("g",null,React.createElement("path",{d:"M18 19H6c-1.1 0-2-.9-2-2V7c0-1.1.9-2 2-2h3c1.1 0 2 .9 2 2h7c1.1 0 2 .9 2 2v8c0 1.1-.9 2-2 2z"}));case"gridicons-help-outline":return React.createElement("g",null,React.createElement("path",{d:"M12 4c4.41 0 8 3.59 8 8s-3.59 8-8 8-8-3.59-8-8 3.59-8 8-8m0-2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm1 13h-2v2h2v-2zm-1.962-2v-.528c0-.4.082-.74.246-1.017.163-.276.454-.546.87-.808.333-.21.572-.397.717-.565.146-.168.22-.36.22-.577 0-.172-.078-.308-.234-.41-.156-.1-.358-.15-.608-.15-.62 0-1.34.22-2.168.658l-.854-1.67c1.02-.58 2.084-.872 3.194-.872.913 0 1.63.202 2.15.603.52.4.78.948.78 1.64 0 .495-.116.924-.347 1.287-.23.362-.6.705-1.11 1.03-.43.278-.7.48-.807.61-.108.13-.163.282-.163.458V13h-1.885z"}));case"gridicons-image":return React.createElement("g",null,React.createElement("path",{d:"M13 9.5c0-.828.672-1.5 1.5-1.5s1.5.672 1.5 1.5-.672 1.5-1.5 1.5-1.5-.672-1.5-1.5zM22 6v12c0 1.105-.895 2-2 2H4c-1.105 0-2-.895-2-2V6c0-1.105.895-2 2-2h16c1.105 0 2 .895 2 2zm-2 0H4v7.444L8 9l5.895 6.55 1.587-1.85c.798-.932 2.24-.932 3.037 0L20 15.426V6z"}));case"gridicons-image-multiple":return React.createElement("g",null,React.createElement("path",{d:"M15 7.5c0-.828.672-1.5 1.5-1.5s1.5.672 1.5 1.5S17.328 9 16.5 9 15 8.328 15 7.5zM4 20h14c0 1.105-.895 2-2 2H4c-1.1 0-2-.9-2-2V8c0-1.105.895-2 2-2v14zM22 4v12c0 1.105-.895 2-2 2H8c-1.105 0-2-.895-2-2V4c0-1.105.895-2 2-2h12c1.105 0 2 .895 2 2zM8 4v6.333L11 7l4.855 5.395.656-.73c.796-.886 2.183-.886 2.977 0l.513.57V4H8z"}));case"gridicons-info":return React.createElement("g",null,React.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z"}));case"gridicons-info-outline":return React.createElement("g",null,React.createElement("path",{d:"M13 9h-2V7h2v2zm0 2h-2v6h2v-6zm-1-7c-4.411 0-8 3.589-8 8s3.589 8 8 8 8-3.589 8-8-3.589-8-8-8m0-2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2z"}));case"gridicons-jetpack-search":return React.createElement("g",null,React.createElement("path",{d:"M0 9.257C0 4.15 4.151 0 9.257 0c5.105 0 9.256 4.151 9.256 9.257a9.218 9.218 0 01-2.251 6.045l.034.033h1.053L24 22.01l-1.986 1.989-6.664-6.662v-1.055l-.033-.033a9.218 9.218 0 01-6.06 2.264C4.15 18.513 0 14.362 0 9.257zm4.169 1.537h4.61V1.82l-4.61 8.973zm5.547-3.092v8.974l4.61-8.974h-4.61z"}));case"gridicons-phone":return React.createElement("g",null,React.createElement("path",{d:"M16 2H8c-1.104 0-2 .896-2 2v16c0 1.104.896 2 2 2h8c1.104 0 2-.896 2-2V4c0-1.104-.896-2-2-2zm-3 19h-2v-1h2v1zm3-2H8V5h8v14z"}));case"gridicons-pages":return React.createElement("g",null,React.createElement("path",{d:"M16 8H8V6h8v2zm0 2H8v2h8v-2zm4-6v12l-6 6H6c-1.105 0-2-.895-2-2V4c0-1.105.895-2 2-2h12c1.105 0 2 .895 2 2zm-2 10V4H6v16h6v-4c0-1.105.895-2 2-2h4z"}));case"gridicons-posts":return React.createElement("g",null,React.createElement("path",{d:"M16 19H3v-2h13v2zm5-10H3v2h18V9zM3 5v2h11V5H3zm14 0v2h4V5h-4zm-6 8v2h10v-2H11zm-8 0v2h5v-2H3z"}));case"gridicons-search":return React.createElement("g",null,React.createElement("path",{d:"M21 19l-5.154-5.154C16.574 12.742 17 11.42 17 10c0-3.866-3.134-7-7-7s-7 3.134-7 7 3.134 7 7 7c1.42 0 2.742-.426 3.846-1.154L19 21l2-2zM5 10c0-2.757 2.243-5 5-5s5 2.243 5 5-2.243 5-5 5-5-2.243-5-5z"}));case"gridicons-star-outline":return React.createElement("g",null,React.createElement("path",{d:"M12 6.308l1.176 3.167.347.936.997.042 3.374.14-2.647 2.09-.784.62.27.963.91 3.25-2.813-1.872-.83-.553-.83.552-2.814 1.87.91-3.248.27-.962-.783-.62-2.648-2.092 3.374-.14.996-.04.347-.936L12 6.308M12 2L9.418 8.953 2 9.257l5.822 4.602L5.82 21 12 16.89 18.18 21l-2.002-7.14L22 9.256l-7.418-.305L12 2z"}));case"gridicons-star":return React.createElement("g",null,React.createElement("path",{d:"M12 2l2.582 6.953L22 9.257l-5.822 4.602L18.18 21 12 16.89 5.82 21l2.002-7.14L2 9.256l7.418-.304"}));case"gridicons-tag":return React.createElement("g",null,React.createElement("path",{d:"M20 2.007h-7.087c-.53 0-1.04.21-1.414.586L2.592 11.5c-.78.78-.78 2.046 0 2.827l7.086 7.086c.78.78 2.046.78 2.827 0l8.906-8.906c.376-.374.587-.883.587-1.413V4.007c0-1.105-.895-2-2-2zM17.007 9c-1.105 0-2-.895-2-2s.895-2 2-2 2 .895 2 2-.895 2-2 2z"}));case"gridicons-video":return React.createElement("g",null,React.createElement("path",{d:"M20 4v2h-2V4H6v2H4V4c-1.105 0-2 .895-2 2v12c0 1.105.895 2 2 2v-2h2v2h12v-2h2v2c1.105 0 2-.895 2-2V6c0-1.105-.895-2-2-2zM6 16H4v-3h2v3zm0-5H4V8h2v3zm4 4V9l4.5 3-4.5 3zm10 1h-2v-3h2v3zm0-5h-2V8h2v3z"}));case"gridicons-lock":return React.createElement(React.Fragment,null,React.createElement("g",{id:"lock"},React.createElement("path",{d:"M18,8h-1V7c0-2.757-2.243-5-5-5S7,4.243,7,7v1H6c-1.105,0-2,0.895-2,2v10c0,1.105,0.895,2,2,2h12c1.105,0,2-0.895,2-2V10 C20,8.895,19.105,8,18,8z M9,7c0-1.654,1.346-3,3-3s3,1.346,3,3v1H9V7z M13,15.723V18h-2v-2.277c-0.595-0.346-1-0.984-1-1.723 c0-1.105,0.895-2,2-2s2,0.895,2,2C14,14.738,13.595,15.376,13,15.723z"})),React.createElement("g",{id:"Layer_1"}));case"gridicons-external":return React.createElement("g",null,React.createElement("path",{d:"M19 13v6c0 1.105-.895 2-2 2H5c-1.105 0-2-.895-2-2V7c0-1.105.895-2 2-2h6v2H5v12h12v-6h2zM13 3v2h4.586l-7.793 7.793 1.414 1.414L19 6.414V11h2V3h-8z"}))}}render(){const{size:e=24,className:t=""}=this.props,n=this.props.height||e,a=this.props.width||e,s=this.props.style||{height:n,width:a},o="gridicons-"+this.props.icon,i=(0,r.A)("gridicon",o,t,{"needs-offset":this.needsOffset(o,e)}),l=this.getSVGDescription(o);return React.createElement("svg",{className:i,focusable:this.props.focusable,height:n,onClick:this.props.onClick,style:s,viewBox:"0 0 24 24",width:a,xmlns:"http://www.w3.org/2000/svg","aria-hidden":this.props["aria-hidden"]},l?React.createElement("desc",null,l):null,this.renderIcon(o))}}const i=o},40597:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var a=n(56427),r=n(13022),s=n(51609),o=n.n(s),i=n(51112),l=n(11883);n(84813);const c=e=>({"top-end":"top left",top:"top center","top-start":"top right","bottom-end":"bottom left",bottom:"bottom center","bottom-start":"bottom right"}[e]),u=({className:e="",iconClassName:t="",placement:n="bottom-end",animate:u=!0,iconCode:d="info-outline",iconSize:p=18,offset:m=10,title:h,children:g,popoverAnchorStyle:f="icon",forceShow:v=!1,hoverShow:b=!1,wide:k=!1,inline:y=!0,shift:E=!1})=>{const[w,_]=(0,s.useState)(!1),[C,A]=(0,s.useState)(null),x=(0,s.useCallback)((()=>_(!1)),[_]),j=(0,s.useCallback)((e=>{e.preventDefault(),_(!w)}),[w,_]),S={position:c(n),placement:n,animate:u,noArrow:!1,resize:!1,flip:!1,offset:m,focusOnMount:"container",onClose:x,className:"icon-tooltip-container",inline:y,shift:E},N="wrapper"===f,R=(0,r.A)("icon-tooltip-wrapper",e),P={left:N?0:-(62-p/2)+"px"},L=N&&v,T=(0,s.useCallback)((()=>{b&&(C&&(clearTimeout(C),A(null)),_(!0))}),[b,C]),B=(0,s.useCallback)((()=>{if(b){const e=setTimeout((()=>{_(!1),A(null)}),100);A(e)}}),[b]);return o().createElement("div",{className:R,"data-testid":"icon-tooltip_wrapper",onMouseEnter:T,onMouseLeave:B},!N&&o().createElement(i.A,{variant:"link",onMouseDown:j},o().createElement(l.A,{className:t,icon:d,size:p})),o().createElement("div",{className:(0,r.A)("icon-tooltip-helper",{"is-wide":k}),style:P},(L||w)&&o().createElement(a.Popover,S,o().createElement("div",null,h&&o().createElement("div",{className:"icon-tooltip-title"},h),o().createElement("div",{className:"icon-tooltip-content"},g)))))}},78478:(e,t,n)=>{"use strict";n.d(t,{M5:()=>p,Nr:()=>u,ui:()=>d});var a=n(96072),r=n.n(a),s=n(56427),o=n(13022),i=n(84705),l=n(47842);const c=({className:e,size:t=24,viewBox:n="0 0 24 24",opacity:a=1,color:i="#2C3338",children:c})=>{const u={className:(0,o.A)(l.A.iconWrapper,e),width:t,height:t,viewBox:n,opacity:a,fill:void 0};return i&&(u.fill=i),React.createElement(s.SVG,r()({},u,{fillRule:"evenodd",clipRule:"evenodd",xmlns:"http://www.w3.org/2000/svg"}),React.createElement(s.G,{opacity:a},c))},u=({size:e,className:t=l.A["checkmark-icon"],color:n})=>React.createElement(c,{className:t,size:e,color:n},React.createElement(s.Path,{d:"M11 17.768l-4.884-4.884 1.768-1.768L11 14.232l8.658-8.658C17.823 3.39 15.075 2 12 2 6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10c0-1.528-.353-2.97-.966-4.266L11 17.768z"})),d=({size:e,className:t=l.A["clipboard-icon"],color:n})=>React.createElement(c,{className:t,size:e,color:n},React.createElement(s.Path,{d:"M5.625 5.5H15.375C15.444 5.5 15.5 5.55596 15.5 5.625V15.375C15.5 15.444 15.444 15.5 15.375 15.5H5.625C5.55596 15.5 5.5 15.444 5.5 15.375V5.625C5.5 5.55596 5.55596 5.5 5.625 5.5ZM4 5.625C4 4.72754 4.72754 4 5.625 4H15.375C16.2725 4 17 4.72754 17 5.625V10V15.375C17 16.2725 16.2725 17 15.375 17C15.375 17 6.52246 17 5.625 17C4.72754 17 4 16.2725 4 15.375V5.625ZM18.5 17.2812V8.28125H20V17.2812C20 18.7995 18.7704 20 17.2511 20H6.25V18.5H17.2511C17.9409 18.5 18.5 17.9721 18.5 17.2812Z"}));const p=({serviceName:e,className:t,iconSize:n})=>React.createElement(i.Ay,{className:(0,o.A)(l.A.socialIcon,l.A[e],t),icon:e,size:n||24})},67142:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var a=n(96072),r=n.n(a),s=n(27723),o=n(13022),i=n(51609),l=n.n(i);const __=s.__,c=({logoColor:e="#069e08",showText:t=!0,className:n,height:a=32,...s})=>{const i=t?"0 0 118 32":"0 0 32 32";return l().createElement("svg",r()({xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:i,className:(0,o.A)("jetpack-logo",n),"aria-labelledby":"jetpack-logo-title",height:a},s,{role:"img"}),l().createElement("title",{id:"jetpack-logo-title"},__("Jetpack Logo","jetpack")),l().createElement("path",{fill:e,d:"M16,0C7.2,0,0,7.2,0,16s7.2,16,16,16s16-7.2,16-16S24.8,0,16,0z M15,19H7l8-16V19z M17,29V13h8L17,29z"}),t&&l().createElement(l().Fragment,null,l().createElement("path",{d:"M41.3,26.6c-0.5-0.7-0.9-1.4-1.3-2.1c2.3-1.4,3-2.5,3-4.6V8h-3V6h6v13.4C46,22.8,45,24.8,41.3,26.6z"}),l().createElement("path",{d:"M65,18.4c0,1.1,0.8,1.3,1.4,1.3c0.5,0,2-0.2,2.6-0.4v2.1c-0.9,0.3-2.5,0.5-3.7,0.5c-1.5,0-3.2-0.5-3.2-3.1V12H60v-2h2.1V7.1 H65V10h4v2h-4V18.4z"}),l().createElement("path",{d:"M71,10h3v1.3c1.1-0.8,1.9-1.3,3.3-1.3c2.5,0,4.5,1.8,4.5,5.6s-2.2,6.3-5.8,6.3c-0.9,0-1.3-0.1-2-0.3V28h-3V10z M76.5,12.3 c-0.8,0-1.6,0.4-2.5,1.2v5.9c0.6,0.1,0.9,0.2,1.8,0.2c2,0,3.2-1.3,3.2-3.9C79,13.4,78.1,12.3,76.5,12.3z"}),l().createElement("path",{d:"M93,22h-3v-1.5c-0.9,0.7-1.9,1.5-3.5,1.5c-1.5,0-3.1-1.1-3.1-3.2c0-2.9,2.5-3.4,4.2-3.7l2.4-0.3v-0.3c0-1.5-0.5-2.3-2-2.3 c-0.7,0-2.3,0.5-3.7,1.1L84,11c1.2-0.4,3-1,4.4-1c2.7,0,4.6,1.4,4.6,4.7L93,22z M90,16.4l-2.2,0.4c-0.7,0.1-1.4,0.5-1.4,1.6 c0,0.9,0.5,1.4,1.3,1.4s1.5-0.5,2.3-1V16.4z"}),l().createElement("path",{d:"M104.5,21.3c-1.1,0.4-2.2,0.6-3.5,0.6c-4.2,0-5.9-2.4-5.9-5.9c0-3.7,2.3-6,6.1-6c1.4,0,2.3,0.2,3.2,0.5V13 c-0.8-0.3-2-0.6-3.2-0.6c-1.7,0-3.2,0.9-3.2,3.6c0,2.9,1.5,3.8,3.3,3.8c0.9,0,1.9-0.2,3.2-0.7V21.3z"}),l().createElement("path",{d:"M110,15.2c0.2-0.3,0.2-0.8,3.8-5.2h3.7l-4.6,5.7l5,6.3h-3.7l-4.2-5.8V22h-3V6h3V15.2z"}),l().createElement("path",{d:"M58.5,21.3c-1.5,0.5-2.7,0.6-4.2,0.6c-3.6,0-5.8-1.8-5.8-6c0-3.1,1.9-5.9,5.5-5.9s4.9,2.5,4.9,4.9c0,0.8,0,1.5-0.1,2h-7.3 c0.1,2.5,1.5,2.8,3.6,2.8c1.1,0,2.2-0.3,3.4-0.7C58.5,19,58.5,21.3,58.5,21.3z M56,15c0-1.4-0.5-2.9-2-2.9c-1.4,0-2.3,1.3-2.4,2.9 C51.6,15,56,15,56,15z"})))}},60442:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var a=n(29491),r=n(59053);const s=["sm","md","lg"],o=(e,t)=>{const n=Array.isArray(e)?e:[e],o=Array.isArray(t)?t:[t],[i,l,c]=s,u={sm:(0,a.useMediaQuery)(r.A[i]),md:(0,a.useMediaQuery)(r.A[l]),lg:(0,a.useMediaQuery)(r.A[c])};return n.map(((e,t)=>{const n=o[t];return n?((e,t,n)=>{const a=s.indexOf(e),r=a+1,o=t.includes("=");let i=[];return t.startsWith("<")&&(i=s.slice(0,o?r:a)),t.startsWith(">")&&(i=s.slice(o?a:r)),i?.length?i.some((e=>n[e])):n[e]})(e,n,u):u[e]}))}},11876:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var a=n(13022),r=n(51609),s=n.n(r),o=n(47876);const i=({children:e=null,width:t=null,height:n=null,className:r=""})=>s().createElement("div",{className:(0,a.A)(o.A.placeholder,r),style:{width:t,height:n}},e)},47656:(e,t,n)=>{"use strict";n.d(t,{A:()=>m});var a=n(90311),r=n(19783),s=n(83883),o=n(51113),i=n(10991),l=n(13022),c=n(51609),u=n.n(c),d=n(16024);const p=e=>{switch(e){case"error":case"warning":default:return a.A;case"info":return r.A;case"success":return s.A}},m=({level:e="info",title:t,children:n,actions:a,hideCloseButton:r=!1,onClose:s})=>{const c=(0,l.A)(d.A.container,d.A[`is-${e}`]);return u().createElement("div",{className:c},u().createElement("div",{className:d.A["icon-wrapper"]},u().createElement(o.A,{icon:p(e),className:d.A.icon})),u().createElement("div",{className:d.A["main-content"]},t&&u().createElement("div",{className:d.A.title},t),n,a&&a.length>0&&u().createElement("div",{className:d.A["action-bar"]},a.map(((e,t)=>u().createElement("div",{key:t,className:d.A.action},e))))),!r&&u().createElement("button",{"aria-label":"close",className:d.A["close-button"],onClick:s},u().createElement(o.A,{icon:i.A})))}},37975:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});var a=n(51437);const r=(e,t={})=>{const n=(0,a.Y)();return new Intl.NumberFormat(n,t).format(e)}},36281:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});var a=n(21782);const r=({value:e="https://jetpack.com",bgColor:t,fgColor:n,level:r,includeMargin:s,imageSettings:o,renderAs:i="canvas",size:l=248})=>React.createElement(a.Ay,{value:e,size:l,bgColor:t,fgColor:n,level:r,includeMargin:s,imageSettings:o,renderAs:i})},56461:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var a=n(28120),r=n.n(a),s=n(51609),o=n.n(s);n(85335);const i=({color:e="#FFFFFF",className:t="",size:n=20})=>{const a=t+" jp-components-spinner",r={width:n,height:n,fontSize:n,borderTopColor:e},s={borderTopColor:e,borderRightColor:e};return o().createElement("div",{className:a},o().createElement("div",{className:"jp-components-spinner__outer",style:r},o().createElement("div",{className:"jp-components-spinner__inner",style:s})))};i.propTypes={color:r().string,className:r().string,size:r().number};const l=i},10110:(e,t,n)=>{"use strict";n.d(t,{Q:()=>a,Z:()=>r});const a={"headline-medium":"h1","headline-small":"h2","headline-small-regular":"h2","title-medium":"h3","title-medium-semi-bold":"h3","title-small":"h4",body:"p","body-small":"p","body-extra-small":"p","body-extra-small-bold":"p",label:"p"},r=["mt","mr","mb","ml","mx","my","m","pt","pr","pb","pl","px","py","p"]},47425:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>d});var a=n(96072),r=n.n(a),s=n(13022),o=n(51609),i=n.n(o),l=n(10110),c=n(22073);const u=(0,o.forwardRef)((({variant:e="body",children:t,component:n,className:a,...u},d)=>{const p=n||l.Q[e]||"span",m=(0,o.useMemo)((()=>l.Z.reduce(((e,t)=>(void 0!==u[t]&&(e+=c.A[`${t}-${u[t]}`]+" ",delete u[t]),e)),"")),[u]);return i().createElement(p,r()({className:(0,s.A)(c.A.reset,c.A[e],a,m)},u,{ref:d}),t)}));u.displayName="Text";const d=u},50723:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>p});var a=n(51609),r=n.n(a),s=n(25196);const o={"--font-headline-medium":"48px","--font-headline-small":"36px","--font-title-medium":"24px","--font-title-small":"20px","--font-body":"16px","--font-body-small":"14px","--font-body-extra-small":"12px","--font-title-large":"var(--font-headline-small)","--font-label":"var(--font-body-extra-small)"},i={"--jp-black":"#000000","--jp-black-80":"#2c3338","--jp-white":"#ffffff","--jp-white-off":"#f9f9f6","--jp-gray":"#dcdcde","--jp-gray-0":"#F6F7F7","--jp-gray-5":"var(--jp-gray)","--jp-gray-10":"#C3C4C7","--jp-gray-20":"#A7AAAD","--jp-gray-40":"#787C82","--jp-gray-50":"#646970","--jp-gray-60":"#50575E","--jp-gray-70":"#3C434A","--jp-gray-80":"#2C3338","--jp-gray-90":"#1d2327","--jp-gray-off":"#e2e2df","--jp-red-0":"#F7EBEC","--jp-red-5":"#FACFD2","--jp-red-40":"#E65054","--jp-red-50":"#D63638","--jp-red-60":"#B32D2E","--jp-red-70":"#8A2424","--jp-red-80":"#691C1C","--jp-red":"#d63639","--jp-yellow-5":"#F5E6B3","--jp-yellow-10":"#F2CF75","--jp-yellow-20":"#F0C930","--jp-yellow-30":"#DEB100","--jp-yellow-40":"#C08C00","--jp-yellow-50":"#9D6E00","--jp-yellow-60":"#7D5600","--jp-blue-20":"#68B3E8","--jp-blue-40":"#1689DB","--jp-pink":"#C9356E","--jp-green-0":"#f0f2eb","--jp-green-5":"#d0e6b8","--jp-green-10":"#9dd977","--jp-green-20":"#64ca43","--jp-green-30":"#2fb41f","--jp-green-40":"#069e08","--jp-green-50":"#008710","--jp-green-60":"#007117","--jp-green-70":"#005b18","--jp-green-80":"#004515","--jp-green-90":"#003010","--jp-green-100":"#001c09","--jp-green":"#069e08","--jp-green-primary":"var( --jp-green-40 )","--jp-green-secondary":"var( --jp-green-30 )"},l={"--jp-border-radius":"4px","--jp-menu-border-height":"1px","--jp-underline-thickness":"2px"},c={"--spacing-base":"8px"},u={},d=(e,t,n)=>{const a={...o,...i,...l,...c};for(const t in a)e.style.setProperty(t,a[t]);n&&e.classList.add(s.A.global),t&&(u[t]={provided:!0,root:e})},p=({children:e=null,targetDom:t,id:n,withGlobalStyles:s=!0})=>{const o=(0,a.useRef)(),i=u?.[n]?.provided;return(0,a.useLayoutEffect)((()=>{if(!i)return t?d(t,n,s):void(o?.current&&d(o.current,n,s))}),[t,o,i,n,s]),t?r().createElement(r().Fragment,null,e):r().createElement("div",{ref:o},e)}},51437:(e,t,n)=>{"use strict";n.d(t,{Y:()=>r});var a=n(38443);const r=()=>{const{l10n:{locale:e}}=(0,a.getSettings)();if(e)return(e=>{const t=e.match(/^([a-z]{2,3})(_[a-z]{2}|_[a-z][a-z0-9]{4,7})?(?:_.*)?$/i);return t?`${t[1]}${t[2]?t[2]:""}`.replace("_","-"):"en-US"})(e);return window?.window?.navigator?.language??"en-US"}},3924:(e,t,n)=>{"use strict";function a(e,t={}){const n={};let a;if("undefined"!=typeof window&&(a=window?.JP_CONNECTION_INITIAL_STATE?.calypsoEnv),0===e.search("https://")){const t=new URL(e);e=`https://${t.host}${t.pathname}`,n.url=encodeURIComponent(e)}else n.source=encodeURIComponent(e);for(const e in t)n[e]=encodeURIComponent(t[e]);!Object.keys(n).includes("site")&&"undefined"!=typeof jetpack_redirects&&Object.hasOwn(jetpack_redirects,"currentSiteRawUrl")&&(n.site=jetpack_redirects.currentBlogID??jetpack_redirects.currentSiteRawUrl),a&&(n.calypso_env=a);return"https://jetpack.com/redirect/?"+Object.keys(n).map((e=>e+"="+n[e])).join("&")}n.d(t,{A:()=>a})},7162:(e,t,n)=>{"use strict";n.d(t,{GlobalModals:()=>m.m,PostPublishPanels:()=>i.A,PublicizePanel:()=>o.A,SocialImageGeneratorPanel:()=>s.A,SocialPreviewsModal:()=>a.A,SocialPreviewsPanel:()=>r.A,getSocialScriptData:()=>u.getSocialScriptData,usePostCanUseSig:()=>p.e,usePublicizeConfig:()=>c.A,useSocialMediaConnections:()=>l.A,useSyncPostDataToStore:()=>d.F});n(31963),n(10267),n(70925);var a=n(81115),r=n(97192),s=n(29341),o=(n(12226),n(98725),n(29761),n(66561)),i=(n(25300),n(26029)),l=(n(26637),n(7610),n(50001)),c=(n(39553),n(77627)),u=(n(31873),n(70407));n.o(u,"GlobalModals")&&n.d(t,{GlobalModals:function(){return u.GlobalModals}}),n.o(u,"usePostCanUseSig")&&n.d(t,{usePostCanUseSig:function(){return u.usePostCanUseSig}}),n.o(u,"useSyncPostDataToStore")&&n.d(t,{useSyncPostDataToStore:function(){return u.useSyncPostDataToStore}});n(1101);var d=n(75168),p=(n(49036),n(383),n(38656)),m=(n(49192),n(48222),n(51371),n(50646),n(47453))},12141:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var a=n(78478),r=n(86087),s=n(13022),o=n(28120),i=n.n(o);const l=e=>{const{checked:t,serviceName:n,label:o,onClick:i,profilePicture:l}=e,[c,u]=(0,r.useState)(!!l),d=(0,r.useCallback)((()=>u(!1)),[]),p=(0,r.useCallback)((e=>{13===e.keyCode&&i()}),[i]);return React.createElement("div",{onClick:i,onKeyDown:p,role:"switch","aria-checked":t,tabIndex:"0",className:(0,s.A)("components-connection-icon",{"components-connection-icon__picture":c})},c&&React.createElement("img",{src:l,alt:o,onError:d}),React.createElement(a.M5,{alt:o,serviceName:"instagram-business"===n?"instagram":"twitter"===n?"x":n,className:"jetpack-publicize-gutenberg-social-icon"}))};l.propTypes={serviceName:i().string,label:i().string,profilePicture:i().string};const c=l},55488:(e,t,n)=>{"use strict";n(56427),n(27723),n(51609),n(12141),n(27817),n(86158),n(43119),n(52683),n(85605)},27817:(e,t,n)=>{"use strict";n.d(t,{s:()=>l});var a=n(56427),r=n(47143),s=n(27723),o=n(31963),i=n(85605);const __=s.__;function l({connection:e}){const t=(0,r.useSelect)((t=>t(o.M_).getUpdatingConnections().includes(e.connection_id)),[e.connection_id]);return React.createElement("div",{className:i.A["connection-name"]},e.profile_link?React.createElement(a.ExternalLink,{className:i.A["profile-link"],href:e.profile_link},e.display_name||e.external_display||e.external_name):React.createElement("span",{className:i.A["profile-link"]},e.display_name||e.external_name),t?React.createElement(a.Spinner,{color:"black","aria-label":__("Updating account","jetpack")}):null)}},86158:(e,t,n)=>{"use strict";n.d(t,{v:()=>c});var a=n(3924),r=n(56427),s=n(86087),o=n(27723),i=n(43119),l=n(76046);const __=o.__;function c({connection:e,service:t}){return"broken"!==e.status?null:React.createElement("div",null,React.createElement("span",{className:"description"},t?__("There is an issue with this connection.","jetpack"):(0,s.createInterpolateElement)((0,o.sprintf)("%1$s %2$s",__("This platform is no longer supported.","jetpack"),__("You can use our Manual Sharing feature instead.","jetpack")),{link:React.createElement(r.ExternalLink,{href:(0,a.A)("jetpack-social-manual-sharing-help")})}))," ",t?React.createElement(l.C,{connection:e,service:t}):React.createElement(i.V,{connection:e,variant:"link",isDestructive:!1}))}},43119:(e,t,n)=>{"use strict";n.d(t,{V:()=>u});var a=n(51112),r=n(56427),s=n(47143),o=n(86087),i=n(27723),l=n(31963),c=n(85605);const __=i.__,_x=i._x;function u({connection:e,variant:t="secondary",isDestructive:n=!0,buttonClassName:u}){const[d,p]=(0,o.useReducer)((e=>!e),!1),{deleteConnectionById:m}=(0,s.useDispatch)(l.M_),{isDisconnecting:h}=(0,s.useSelect)((t=>{const{getDeletingConnections:n}=t(l.M_);return{isDisconnecting:n().includes(e.connection_id)}}),[e.connection_id]),g=(0,o.useCallback)((async()=>{p(),await m({connectionId:e.connection_id})}),[e.connection_id,m]);return e.can_disconnect?React.createElement(React.Fragment,null,React.createElement(r.__experimentalConfirmDialog,{className:c.A.confirmDialog,isOpen:d,onConfirm:g,onCancel:p,cancelButtonText:__("Cancel","jetpack"),confirmButtonText:__("Yes","jetpack")},(0,o.createInterpolateElement)((0,i.sprintf)( // translators: %s: The name of the connection the user is disconnecting. __("Are you sure you want to disconnect %s?","jetpack"),e.display_name),{strong:React.createElement("strong",null)})),React.createElement(a.A,{size:"small",onClick:p,disabled:h,variant:t,isDestructive:n,className:u},h?__("Disconnecting…","jetpack"):_x("Disconnect","Disconnect a social media account","jetpack"))):null}},26637:(e,t,n)=>{"use strict";n(56427),n(47143),n(86087),n(27723),n(50001),n(31963),n(48222),n(48712),n(55488),n(85605)},52683:(e,t,n)=>{"use strict";n.d(t,{j:()=>l});var a=n(56427),r=n(47143),s=n(86087),o=n(27723),i=n(31963);const __=o.__;function l({connection:e}){const{updateConnectionById:t}=(0,r.useDispatch)(i.M_),{isUpdating:n}=(0,r.useSelect)((t=>{const{getUpdatingConnections:n}=t(i.M_);return{isUpdating:n().includes(e.connection_id)}}),[e.connection_id]),o=(0,s.useCallback)((n=>{t(e.connection_id,{shared:n})}),[e.connection_id,t]);return React.createElement(a.CheckboxControl,{checked:e.shared??!1,onChange:o,disabled:n||"broken"===e.status,label:__("Mark the connection as shared","jetpack"),__nextHasNoMarginBottom:!0})}},76046:(e,t,n)=>{"use strict";n.d(t,{C:()=>c});var a=n(51112),r=n(47143),s=n(86087),o=n(27723),i=n(31963),l=n(70745);const __=o.__,_x=o._x;function c({connection:e,service:t,variant:n="link"}){const{deleteConnectionById:o,setKeyringResult:c,openConnectionsModal:u,setReconnectingAccount:d}=(0,r.useDispatch)(i.M_),{isDisconnecting:p}=(0,r.useSelect)((t=>{const{getDeletingConnections:n}=t(i.M_);return{isDisconnecting:n().includes(e.connection_id)}}),[e.connection_id]),m=(0,s.useCallback)((e=>{c(e),e?.ID&&u()}),[u,c]),h=(0,l.P)({service:t,onConfirm:m}),g=(0,s.useCallback)((async()=>{if(!await o({connectionId:e.connection_id,showSuccessNotice:!1}))return;await d(e);const n=new FormData;"mastodon"===t.ID&&n.set("instance",e.external_display),"bluesky"===t.ID?u():h(n)}),[e,o,u,h,t.ID,d]);return e.can_disconnect?React.createElement(a.A,{size:"small",onClick:g,disabled:p,variant:n},p?__("Disconnecting…","jetpack"):_x("Reconnect","Reconnect a social media account","jetpack")):null}},91910:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var a=n(13022),r=n(28120),s=n.n(r),o=n(12141);const i=e=>{const{checked:t,disabled:n,onChange:r,serviceName:s,label:i,profilePicture:l}=e,c=(0,a.A)("components-connection-toggle",{"is-not-checked":!t,"is-disabled":n});return React.createElement("div",{className:c,title:i},React.createElement(o.A,{checked:t,label:i,onClick:r,serviceName:s,profilePicture:l}))};i.propTypes={className:s().string,checked:s().bool,id:s().string.isRequired,disabled:s().bool,onChange:s().func,serviceName:s().string,label:s().string,profilePicture:s().string};const l=i},10267:(e,t,n)=>{"use strict";n.d(t,{A:()=>m});var a=n(85985),r=n(56427),s=n(47143),o=n(86087),i=n(27723),l=n(31963),c=n(91910),u=n(95051),d=n(49514);const __=i.__;class p extends o.Component{maybeDisplayLinkedInNotice=()=>this.connectionNeedsReauth()&&React.createElement(r.Notice,{className:u.A["publicize-notice"],isDismissible:!1,status:"error"},React.createElement("p",null,__("Your LinkedIn connection needs to be reauthenticated to continue working – head to Sharing to take care of it.","jetpack")),React.createElement(r.ExternalLink,{href:`https://wordpress.com/marketing/connections/${(0,a.GE)()}`},__("Go to Sharing settings","jetpack")));connectionNeedsReauth=()=>this.props.mustReauthConnections.includes(this.props.name);onConnectionChange=()=>{const{id:e}=this.props;this.isDisabled()||this.props.toggleConnection(e)};connectionIsFailing(){const{failedConnections:e,name:t}=this.props;return e.some((e=>e.service_name===t))}isDisabled(){return this.props.disabled||this.connectionIsFailing()||this.connectionNeedsReauth()}render(){const{enabled:e,id:t,label:n,name:a,profilePicture:r}=this.props,s="connection-"+a+"-"+t,o=a.replace("_","-"),i=React.createElement(c.A,{id:s,className:d.A["connection-toggle"],checked:e,onChange:this.onConnectionChange,disabled:this.isDisabled(),serviceName:o,label:n,profilePicture:r});return React.createElement("li",null,this.maybeDisplayLinkedInNotice(),React.createElement("div",{className:d.A["connection-container"]},i))}}const m=(0,s.withSelect)((e=>({failedConnections:e(l.Af).getFailedConnections(),mustReauthConnections:e(l.Af).getMustReauthConnections()})))(p)},77125:(e,t,n)=>{"use strict";n.d(t,{l:()=>f});var a=n(51112),r=n(56427),s=n(47143),o=n(86087),i=n(27723),l=n(77627),c=n(50001),u=n(31963),d=n(50384),p=n(51371),m=n(51475),h=n(9515),g=n(71016);const __=i.__,_x=i._x,f=()=>{const{connections:e}=(0,c.A)(),t=e.filter((e=>"broken"===e.status||(0,d.Y)(e,"broken"))),{connectionsPageUrl:n}=(0,l.A)(),{useAdminUiV1:i}=(0,p.n)().feature_flags,{openConnectionsModal:f}=(0,s.useDispatch)(u.M_),v=i?React.createElement(a.A,{variant:"link",onClick:f,className:g.A["broken-connection-btn"]}):React.createElement(r.ExternalLink,{href:n}),b=(0,h.h)();if(!t.length)return null;const k=t.reduce(((e,t)=>(e[t.service_name]||(e[t.service_name]=[]),e[t.service_name].push(t),e)),{});return t.length>0&&React.createElement(m.A,{type:"error"},__("Your following connections need to be reconnected:","jetpack"),React.createElement("ul",null,Object.entries(k).map((([e,t])=>{const n=b(e);return React.createElement("li",{key:e},React.createElement("div",{className:g.A["broken-connection-service"]},React.createElement("span",null,n,_x(":","Colon to display before the list of connections","jetpack")," "),t.map((({display_name:e,external_display:n,id:a},r)=>React.createElement(o.Fragment,{key:a},React.createElement("span",{className:g.A["broken-connection"]},e||n),rconnections management section.",'"them" refers to the broken connections.',"jetpack"),{fixLink:v}))}},64636:(e,t,n)=>{"use strict";n.d(t,{D:()=>u});var a=n(97999),r=n(56427),s=n(27723),o=n(77627),i=n(50001),l=n(25349),c=n(71016);const __=s.__,u=()=>{const{hasConnections:e}=(0,i.A)(),{needsUserConnection:t}=(0,o.A)();return t?React.createElement(r.PanelRow,null,React.createElement("p",null,__("You must connect your WordPress.com account to be able to add social media connections.","jetpack")," ",React.createElement("a",{href:(0,a.getMyJetpackUrl)("#/connection")},__("Connect now","jetpack")))):e?null:React.createElement(r.PanelRow,null,React.createElement("p",null,React.createElement("span",{className:c.A["no-connections-text"]},__("Sharing is disabled because there are no social media accounts connected.","jetpack")),React.createElement(l.C,{label:__("Connect an account","jetpack")})))}},14993:(e,t,n)=>{"use strict";n.d(t,{E:()=>g});var a=n(85985),r=n(51609),s=n(77627),o=n(50001),i=n(10267),l=n(77125),c=n(57193),u=n(75013),d=n(25349),p=n(71016),m=n(50923),h=n(39329);const g=()=>{const{recordEvent:e}=(0,a.st)(),{connections:t,toggleById:n}=(0,o.A)(),{canBeTurnedOn:g,shouldBeDisabled:f}=(0,h.j)(),{needsUserConnection:v,isPublicizeEnabled:b}=(0,s.A)(),k=(0,r.useCallback)(((t,a)=>()=>{n(t),e("jetpack_social_connection_toggled",{location:"editor",enabled:!a.enabled,service_name:a.service_name})}),[e,n]);return React.createElement("div",null,React.createElement("ul",{className:p.A["connections-list"]},t.map((e=>{const{display_name:t,id:n,service_name:a,profile_picture:r,connection_id:s}=e,o=s||n;return React.createElement(i.A,{disabled:f(e),enabled:g(e)&&e.enabled,key:o,id:o,label:t,name:a,toggleConnection:k(o,e),profilePicture:r})}))),b?React.createElement(React.Fragment,null,React.createElement(u.L,null),React.createElement(l.l,null),React.createElement(m.Z,null),React.createElement(c.H,null)):null,v?null:React.createElement(d.C,{variant:"secondary"}))}},57193:(e,t,n)=>{"use strict";n.d(t,{H:()=>c});var a=n(56427),r=n(27723),s=n(77627),o=n(50001),i=n(71016),l=n(39329);const _n=r._n;function c(){const{enabledConnections:e}=(0,o.A)(),{isPublicizeEnabled:t}=(0,s.A)(),{canBeTurnedOn:n,shouldBeDisabled:c}=(0,l.j)(),u=e.filter((e=>n(e)&&!c(e)));return u.length&&t?React.createElement(a.PanelRow,null,React.createElement("p",{className:i.A["enabled-connections-notice"]},(0,r.sprintf)(/* translators: %d: number of connections */ -_n("This post will be shared to %d connection.","This post will be shared to %d connections.",u.length,"jetpack"),u.length))):null}},9573:(e,t,n)=>{"use strict";n.d(t,{X:()=>u});var a=n(3924),r=n(85985),s=n(56427),o=n(27723),i=n(70407),l=n(71016),c=n(647);const _x=o._x,u=()=>{const e=(0,c.X)();return(0,r.Sy)()||(0,r.d9)()||(0,i.hasSocialPaidFeatures)()?null:React.createElement(s.PanelRow,{className:l.A["enhanced-features-nudge"]},React.createElement(s.Button,{key:"upgrade",variant:"link",onClick:e,href:(0,a.A)("jetpack-social-basic-plan-block-editor",{site:(0,r.GE)()||"",query:"redirect_to="+encodeURIComponent(window.location.href)})},_x("Unlock enhanced media sharing features.","Call to action to buy a new plan","jetpack")))}},70925:(e,t,n)=>{"use strict";n.d(t,{A:()=>v});var a=n(56427),r=n(86087),s=n(7162),o=n(98420),i=n(54915),l=n(80624),c=n(52367),u=n(50001),d=n(48222),p=n(96390),m=n(64636),h=n(14993),g=n(9573),f=n(41190);function v(){const{hasConnections:e,hasEnabledConnections:t,connections:n}=(0,u.A)(),{isPublicizeEnabled:v,isPublicizeDisabledBySitePlan:b}=(0,s.usePublicizeConfig)(),{attachedMedia:k}=(0,o.A)(),y=(0,i.A)(),E=k[0]?.id||y,{validationErrors:w,isConvertible:_}=(0,c.A)(n,(0,l.A)(E)[0]),C=v&&(t||k.length>0||0!==Object.keys(w).length&&!_),A=b?a.Disabled:r.Fragment,{feature_flags:x}=(0,s.getSocialScriptData)();return React.createElement(A,null,x.useAdminUiV1?React.createElement(d._,null):null,e?React.createElement(React.Fragment,null,React.createElement(a.PanelRow,null,React.createElement(h.E,null)),x.useEditorPreview&&v?React.createElement(p.n,null):null,React.createElement(g.X,null)):null,React.createElement(m.D,null),!b&&React.createElement(r.Fragment,null,C&&React.createElement(f.o,{analyticsData:{location:"editor"}})))}},62697:(e,t,n)=>{"use strict";n.d(t,{q:()=>c});var a=n(3924),r=n(97999),s=n(56427),o=n(27723),i=n(27844),l=n(51475);const __=o.__,c=()=>(0,r.siteHasFeature)(i.q.ENHANCED_PUBLISHING)?React.createElement(l.A,{type:"warning"},__("To share to Instagram, add an image/video, or enable Social Image Generator.","jetpack"),React.createElement("br",null),React.createElement(s.ExternalLink,{href:(0,a.A)("jetpack-social-share-to-instagram")},__("Learn more","jetpack"))):React.createElement(l.A,{type:"warning"},__("You need a featured image to share to Instagram.","jetpack"),React.createElement("br",null),React.createElement(s.ExternalLink,{href:(0,a.A)("jetpack-social-share-to-instagram")},__("Learn more","jetpack")))},31099:(e,t,n)=>{"use strict";n.d(t,{j:()=>p});var a=n(3924),r=n(56427),s=n(47143),o=n(86087),i=n(27723),l=n(80682),c=n(31963),u=n(51475),d=n(9515);const __=i.__,_x=i._x,p=({validationErrors:e})=>{const{getConnectionById:t}=(0,s.useSelect)((e=>e(c.M_)),[]),n=(0,d.h)(),i=(0,o.useMemo)((()=>Object.entries(e).reduce(((e,[a,r])=>{if(!r)return e;e[r]||(e[r]=[]);const s=n(t(a)?.service_name);return s&&!e[r].includes(s)&&e[r].push(s),e}),{})),[t,n,e]);return React.createElement(u.A,{type:"warning"},React.createElement("p",null,__("The selected media cannot be share to some social media platforms.","jetpack")),React.createElement("ul",null,Object.entries(i).map((([e,t])=>t.length?React.createElement("li",{key:e},React.createElement("i",null,(0,l.$m)(e)),_x(":","Colon to display before the list of social media platforms","jetpack")+" ",t.map(((e,t,{length:n})=>React.createElement(o.Fragment,{key:e},React.createElement("b",null,e),t{"use strict";n.d(t,{L:()=>d});var a=n(98420),r=n(54915),s=n(80624),o=n(52367),i=n(80682),l=n(50001),c=n(62697),u=n(31099);const d=()=>{const{connections:e}=(0,l.A)(),{attachedMedia:t}=(0,a.A)(),n=(0,r.A)(),d=t[0]?.id||n,{validationErrors:p,isConvertible:m}=(0,o.A)(e,(0,s.A)(d)[0]);return Object.keys(p).length?Object.values(p).includes(i.k3)?React.createElement(c.q,null):m?null:React.createElement(u.j,{validationErrors:p}):null}},25349:(e,t,n)=>{"use strict";n.d(t,{C:()=>u});var a=n(56427),r=n(47143),s=n(27723),o=n(77627),i=n(31963),l=n(51371),c=n(71016);const __=s.__;function u({label:e,variant:t="primary"}){const{useAdminUiV1:n}=(0,l.n)().feature_flags,{connections:s}=(0,r.useSelect)((e=>({connections:e(i.M_).getConnections()})),[]),{openConnectionsModal:u}=(0,r.useDispatch)(i.M_),{connectionsPageUrl:d}=(0,o.A)(),p=e||__("Manage connections","jetpack"),m=s.length>0;return n?React.createElement(a.Button,{onClick:u,variant:m?"link":t,size:m?"default":"small",className:c.A["settings-button"]},p):React.createElement(a.ExternalLink,{className:c.A["settings-button"],href:d},p)}},41190:(e,t,n)=>{"use strict";n.d(t,{o:()=>l});var a=n(97999),r=n(39553),s=n(27844),o=n(12015),i=n(70694);const l=({analyticsData:e=null})=>{const{message:t,updateMessage:n,maxLength:l}=(0,r.A)();return React.createElement(React.Fragment,null,React.createElement(i.A,{maxLength:l,onChange:n,message:t,analyticsData:e}),(0,a.siteHasFeature)(s.q.ENHANCED_PUBLISHING)&&React.createElement(o.A,{analyticsData:e}))}},50923:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var a=n(56427),r=n(86087),s=n(27723),o=n(7162),i=n(50001),l=n(50384),c=n(51475);const __=s.__,u=()=>{const{connections:e}=(0,i.A)(),{connectionsPageUrl:t}=(0,o.usePublicizeConfig)();return e.filter((e=>(0,l.Y)(e,"unsupported"))).length>0&&React.createElement(c.A,{type:"error"},(0,r.createInterpolateElement)(__("Twitter is not supported anymore. Learn more here.","jetpack"),{moreInfo:React.createElement(a.ExternalLink,{href:t})}))}},647:(e,t,n)=>{"use strict";n.d(t,{X:()=>o});var a=n(47143),r=n(43656),s=n(86087);function o(){const{isEditedPostDirty:e}=(0,a.useSelect)(r.store,[]),{autosave:t}=(0,a.useDispatch)(r.store);return(0,s.useCallback)((async n=>{if(!(n.target instanceof HTMLAnchorElement))return;const a=n.target.getAttribute("target");e()&&!a&&(n.preventDefault(),await t(),window.location.href=n.target.href),a&&(n.preventDefault(),window.open(n.target.href,a,"noreferrer"))}),[t,e])}},39329:(e,t,n)=>{"use strict";n.d(t,{j:()=>p});var a=n(86087),r=n(51609),s=n(7162),o=n(98420),i=n(54915),l=n(80624),c=n(52367),u=n(80682),d=n(50001);const p=()=>{const{connections:e}=(0,d.A)(),{isPublicizeEnabled:t,isPublicizeDisabledBySitePlan:n}=(0,s.usePublicizeConfig)(),{attachedMedia:p}=(0,o.A)(),m=(0,i.A)(),h=p[0]?.id||m,{validationErrors:g,isConvertible:f}=(0,c.A)(e,(0,l.A)(h)[0]),v=(0,a.useCallback)((e=>{const{id:t,is_healthy:n,connection_id:a,status:r}=e,s=a||t,o=!1!==n&&"broken"!==r,i=void 0!==g[s]&&!f,l=g[s]===u.k3;return o&&!i&&!l}),[f,g]),b=(0,a.useCallback)((e=>!t||!v(e)),[v,t]),k=(0,a.useCallback)((e=>!n&&v(e)),[v,n]);return(0,r.useMemo)((()=>({shouldBeDisabled:b,canBeTurnedOn:k})),[b,k])}},56457:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>b});var a=n(50723),r=n(1455),s=n.n(r),o=n(56427),i=n(47143),l=n(43656),c=n(27723),u=n(13022),d=n(51609),p=n.n(d),m=n(49747),h=n(60548),g=n(74820);const __=c.__,_x=c._x,f="featured-image-still-loading",v=(e,t,n,a)=>{if("none"===e||"custom"===e&&!t||"featured"===(e??"featured")&&!n)return null;const r=a("custom"===e?t:n);return r?(e=>e?.media_details?.sizes?.large?.source_url||e?.source_url)(r):f};function b({shouldDebounce:e=!0,onNewToken:t,...n}){const[r,c]=(0,d.useState)(null),[b,k]=(0,d.useState)(!0),{customText:y,imageType:E,imageId:w,template:_,setToken:C}={...(0,m.A)(),...n},{title:A,imageUrl:x}=(0,i.useSelect)((e=>{const t=e(l.store).getEditedPostAttribute("featured_media");return{title:e(l.store).getEditedPostAttribute("title"),imageUrl:v(E,w,t,e("core").getMedia)}})),j=(0,d.useMemo)((()=>y||A||" "),[y,A]),S=(0,d.useRef)(j),N=(0,d.useRef)(r);(0,d.useEffect)((()=>{N.current=r})),(0,d.useEffect)((()=>{const n=setTimeout((async()=>{if(k(!0),x===f)return;const e=await s()({path:"/jetpack/v4/social-image-generator/generate-preview-token",method:"POST",data:{text:j,image_url:x,template:_}});C?.(e),t?.(e);const n=(0,g.S)(e);n!==N.current?c(n):k(!1)}),j!==S.current&&e?1500:0);return()=>{clearTimeout(n),S.current=j}}),[j,_,x,t]);const R=(0,d.useCallback)((()=>{k(!1)}),[]);return p().createElement(a.Ay,null,p().createElement(o.BaseControl,{__nextHasNoMarginBottom:!0},p().createElement(o.BaseControl.VisualLabel,null,_x("Preview","Heading for the generated preview image","jetpack")),p().createElement("div",{className:h.A.container},p().createElement("img",{className:(0,u.A)({[h.A.hidden]:b}),src:r,alt:__("Generated preview","jetpack"),onLoad:R}),b&&p().createElement(o.Spinner,{"data-testid":"spinner"}))))}},74820:(e,t,n)=>{"use strict";n.d(t,{S:()=>r});var a=n(3924);function r(e){return e?(0,a.A)("sigenerate",{query:`t=${e}`}):""}},47453:(e,t,n)=>{"use strict";n.d(t,{m:()=>s});var a=n(51371),r=n(7757);const s=()=>{const{feature_flags:e}=(0,a.n)();return React.createElement(React.Fragment,null,e.useShareStatus?React.createElement(r.Q3,null):null)}},59493:(e,t,n)=>{"use strict";n.d(t,{O:()=>g});var a=n(63406),r=n(51112),s=n(3924),o=n(56427),i=n(47143),l=n(86087),c=n(27723),u=n(51475),d=n(31963),p=n(39630),m=n(18973);const __=c.__,_x=c._x;function h({label:e,profile_picture:t}){return React.createElement("div",{className:m.A["account-info"]},t?React.createElement("img",{className:m.A["profile-pic"],src:t,alt:e}):null,React.createElement("span",null,e))}function g({keyringResult:e,onComplete:t,isAdmin:n}){const c=(0,p.o)(),{existingConnections:g,reconnectingAccount:f}=(0,i.useSelect)((e=>{const t=e(d.M_);return{existingConnections:t.getConnections(),reconnectingAccount:t.getReconnectingAccount()}}),[]),{createErrorNotice:v}=(0,a.I)(),b=c.find((t=>t.ID===e.service)),k=(0,l.useCallback)((e=>g.some((t=>t.service_name===b?.ID&&t.external_id===e))),[g,b.ID]),y=(0,l.useMemo)((()=>{const t=[],n=[];if(!b)return{connected:t,not_connected:n};const a=[];if(b.external_users_only||a.push({label:e.external_display||e.external_name,value:e.external_ID,profile_picture:e.external_profile_picture}),b.multiple_external_user_ID_support&&e.additional_external_users?.length)for(const t of e.additional_external_users)a.push({label:t.external_name,value:t.external_ID,profile_picture:t.external_profile_picture});for(const e of a)k(e.value)?t.push(e):n.push(e);return{connected:t,not_connected:n}}),[k,e,b]),{createConnection:E,setReconnectingAccount:w}=(0,i.useDispatch)(d.M_),_=(0,l.useCallback)((async n=>{n.preventDefault(),n.stopPropagation();const a=n.target,r=new FormData(a),s=r.get("external_user_ID");if(!s)return void v(__("Please select an account to connect.","jetpack"));const o={external_user_ID:b.multiple_external_user_ID_support?s:void 0,keyring_connection_ID:e.ID,shared:"1"===r.get("shared")||void 0},i=y.not_connected.find((e=>e.value===s));f&&w(void 0),E(o,{display_name:i?.label,profile_picture:i?.profile_picture,service_name:b.ID,external_id:s}),t()}),[E,f,w,v,e.ID,t,b.multiple_external_user_ID_support,b.ID,y.not_connected]);return React.createElement("section",{className:m.A.confirmation},y.not_connected.length?React.createElement("div",null,React.createElement("p",{className:m.A["header-text"]},__("Select the account you'd like to connect. All your new blog posts will be automatically shared to this account. You'll be able to change this option in the editor sidebar when you're writing a post.","jetpack")),e?.show_linkedin_warning&&React.createElement(u.A,{type:"warning"},React.createElement("p",null,__("We could not retrieve which company pages you have access to. This is a known issue with the LinkedIn API. If you would like to connect a company page, please retry after 5 minutes.","jetpack")," ",React.createElement(o.ExternalLink,{key:"linkedin-api-documentaion",href:(0,s.A)("jetpack-linkedin-permissions-warning")},__("Learn more","jetpack")))),React.createElement("form",{className:m.A.form,onSubmit:_,id:"connection-confirmation-form"},React.createElement("div",{className:m.A["accounts-list"]},y.not_connected.map(((e,t)=>{const n=f?f.service_name===b?.ID&&f.external_id===e.value:0===t;return React.createElement("label",{key:e.value,htmlFor:`external_user_ID__${e.value}`,className:m.A["account-label"],"aria-required":!0},React.createElement("input",{type:"radio",id:`external_user_ID__${e.value}`,name:"external_user_ID",value:e.value,defaultChecked:n,className:m.A["account-input"],required:!0}),React.createElement(h,{label:e.label,profile_picture:e.profile_picture}))}))),n?React.createElement(o.BaseControl,{__nextHasNoMarginBottom:!0,id:"mark-connection-as-shared",help:`${__("If enabled, the connection will be available to all administrators, editors, and authors.","jetpack")} ${__("You can change this later.","jetpack")}`},React.createElement(o.__experimentalHStack,{justify:"flex-start",spacing:3},React.createElement("span",null,React.createElement("input",{type:"checkbox",id:"mark-connection-as-shared",name:"shared",value:"1"})),React.createElement(o.FlexBlock,{as:"label",htmlFor:"mark-connection-as-shared"},__("Mark the connection as shared","jetpack")))):null,React.createElement("input",{type:"hidden",name:"keyring_connection_ID",value:e.ID}))):React.createElement("p",{className:m.A["header-text"]},y.connected.length?_x("No more accounts/pages found.","Message shown when there are no connections found to connect","jetpack"):__("No accounts/pages found.","jetpack")),y.connected.length?React.createElement("section",null,React.createElement("h3",null,__("Already connected","jetpack")),React.createElement("ul",null,y.connected.map(((e,t)=>React.createElement("li",{key:e.label+t},React.createElement(h,{label:e.label,profile_picture:e.profile_picture})))))):null,React.createElement("div",{className:m.A["submit-wrap"]},React.createElement(r.A,{variant:"secondary",onClick:t},__("Cancel","jetpack")),y.not_connected.length?React.createElement(r.A,{form:"connection-confirmation-form",type:"submit"},__("Confirm","jetpack")):null))}},48222:(e,t,n)=>{"use strict";n.d(t,{_:()=>b});var a=n(60442),r=n(47425),s=n(3924),o=n(50723),i=n(56427),l=n(3582),c=n(47143),u=n(86087),d=n(27723),p=n(13022),m=n(31963),h=n(78362),g=n(59493),f=n(73842);const __=d.__,_x=d._x,v=()=>{const{keyringResult:e}=(0,c.useSelect)((e=>{const{getKeyringResult:t}=e(m.M_);return{keyringResult:t()}}),[]),{setKeyringResult:t,closeConnectionsModal:n,setReconnectingAccount:o}=(0,c.useDispatch)(m.M_),[d]=(0,a.A)("sm"),v=(0,u.useCallback)((()=>{t(null),o(void 0),n()}),[n,t,o]),b=Boolean(e?.ID),k=b?__("Connection confirmation","jetpack"):_x("Manage Jetpack Social connections","","jetpack"),y=(0,c.useSelect)((e=>e(l.store).canUser("update","settings")),[]);return React.createElement(i.Modal,{className:(0,p.A)(f.A.modal,{[f.A.small]:d}),onRequestClose:v,title:k},b?React.createElement(g.O,{keyringResult:e,onComplete:v,isAdmin:y}):React.createElement(React.Fragment,null,React.createElement(h.b,null),React.createElement("div",{className:f.A["manual-share"]},React.createElement("em",null,React.createElement(r.Ay,null,__("Want to share to other networks? Use our Manual Sharing feature from the editor.","jetpack")," ",React.createElement(i.ExternalLink,{href:(0,s.A)("jetpack-social-manual-sharing-help")},__("Learn more","jetpack")))))))};function b(){const e=(0,c.useSelect)((e=>e(m.M_).isConnectionsModalOpen()),[]);return React.createElement(o.Ay,{targetDom:document.body},e?React.createElement(v,null):null)}},30642:(e,t,n)=>{"use strict";n.d(t,{F:()=>d});var a=n(50723),r=n(47425),s=n(40597),o=n(56427),i=n(27723),l=n(68541),c=n(34600),u=n(27681);const __=i.__;function d(e){return React.createElement(a.Ay,null,React.createElement("div",{className:u.A.wrapper},React.createElement(o.Flex,{align:"start",justify:"start"},React.createElement(r.Ay,{variant:"body-extra-small",className:u.A.title},__("Manual sharing","jetpack")),React.createElement(s.A,{inline:!1,shift:!0,iconSize:16,placement:"top-end"},React.createElement(c.P,e))),React.createElement(l.R,{buttonStyle:"icon"})))}},34600:(e,t,n)=>{"use strict";n.d(t,{P:()=>i});var a=n(47425),r=n(3924),s=n(56427),o=n(27723);const __=o.__;function i({...e}){return React.createElement(a.Ay,e,__('Just tap the social network or "Copy to Clipboard" icon, and we\'ll format your content for sharing.',"jetpack")," ",React.createElement(s.ExternalLink,{href:(0,r.A)("jetpack-social-manual-sharing-help")},__("Learn more","jetpack")))}},55858:(e,t,n)=>{"use strict";n.d(t,{A:()=>v});var a=n(51112),r=n(50723),s=n(94715),o=n(56427),i=n(86087),l=n(27723),c=n(51113),u=n(31249),d=n(13022),p=n(52367),m=n(2204),h=n(18699),g=n(97671);const __=l.__,f=e=>t=>{t.currentTarget.focus(),e()};function v({buttonLabel:e,subTitle:t,mediaId:n=null,mediaDetails:l={},onChange:v,wrapperClassName:b,allowedMediaTypes:k=null}){const{mediaData:{width:y,height:E,sourceUrl:w}={},metaData:{mime:_,length:C=null}={},previewData:{width:A,height:x,sourceUrl:j}={}}=l,S=!(w&&y&&E&&_),N=(0,i.useCallback)((()=>v(null)),[v]),R=(0,i.useCallback)((e=>{v(e)}),[v]),P=(0,i.useCallback)((e=>{const t=(0,p.c)(_);return t&&!C?null:React.createElement("div",{className:(0,d.A)(g.A["preview-wrapper"],b)},React.createElement("button",{className:g.A.remove,onClick:N},React.createElement(o.VisuallyHidden,null,__("Remove media","jetpack")),React.createElement(c.A,{icon:u.A})),React.createElement("button",{className:g.A.preview,onClick:f(e),"data-unstable-ignore-focus-outside-for-relatedtarget":".media-modal"},t?React.createElement(h.A,{sourceUrl:w,mime:_,duration:C}):React.createElement(o.ResponsiveWrapper,{naturalWidth:A||y,naturalHeight:x||E,isInline:!0},React.createElement("img",{src:j||w,alt:"",className:g.A["preview-image"]}))))}),[E,C,_,N,x,j,A,w,y,b]),L=(0,i.useCallback)((r=>React.createElement("div",{className:g.A.container},n?React.createElement(React.Fragment,null,React.createElement("button",{className:g.A["remove-loading"],onClick:N},React.createElement(o.VisuallyHidden,null,__("Remove media","jetpack")),React.createElement(c.A,{icon:u.A})),React.createElement(o.Spinner,{"data-testid":"spinner"})):React.createElement(React.Fragment,null,React.createElement(a.A,{variant:"secondary",size:"small",className:g.A.preview,onClick:f(r),"data-unstable-ignore-focus-outside-for-relatedtarget":".media-modal"},e),t&&React.createElement("span",null,t)))),[e,n,N,t]),T=(0,i.useCallback)((({open:e})=>n&&!S?P(e):L(e)),[n,S,P,L]);return React.createElement(r.Ay,null,React.createElement(s.MediaUploadCheck,null,React.createElement(s.MediaUpload,{allowedTypes:k??m.UB,title:e,onSelect:R,render:T,value:n})))}},12015:(e,t,n)=>{"use strict";n.d(t,{A:()=>f});var a=n(50723),r=n(3924),s=n(85985),o=n(56427),i=n(86087),l=n(27723),c=n(51609),u=n.n(c),d=n(98420),p=n(80624),m=n(55858),h=n(35270);const __=l.__,g=__("Choose Media","jetpack");function f({disabled:e=!1,disabledNoticeMessage:t="",CustomNotice:n=null,analyticsData:l}){const{attachedMedia:f,updateAttachedMedia:v}=(0,d.A)(),{recordEvent:b}=(0,s.st)(),[k]=(0,p.A)(f[0]?.id),y=(0,i.useCallback)((e=>{if(e){b("jetpack_social_media_attached",l);const{id:t,url:n,mime:a}=e;v([{id:t,url:n,type:a}])}else v([])}),[l,b,v]),E=e?o.Disabled:c.Fragment,w=e?{className:h.A.disabled,"data-testid":"disabled"}:{};return u().createElement(a.Ay,null,u().createElement(o.BaseControl,{__nextHasNoMarginBottom:!0,className:h.A.wrapper},u().createElement(o.BaseControl.VisualLabel,null,__("Attached Media","jetpack")),n||(t?u().createElement(o.Notice,{className:h.A.notice,isDismissible:!1,status:"warning"},u().createElement("p",{"data-testid":"notice"},t)):u().createElement("p",{className:h.A.subtitle},__("Choose a visual to accompany your post.","jetpack"))),u().createElement(E,w,u().createElement(m.A,{buttonLabel:g,subTitle:__("Add an image or video","jetpack"),mediaId:f[0]?.id,mediaDetails:k,onChange:y}),u().createElement(o.ExternalLink,{href:(0,r.A)("jetpack-social-media-support-information"),className:h.A["learn-more"]},__("Learn photo and video best practices","jetpack")))))}},70694:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var a=n(85985),r=n(56427),s=n(27723),o=n(51609);const __=s.__,_n=s._n;function i({message:e="",onChange:t,disabled:n,maxLength:i,analyticsData:l=null}){const{recordEvent:c}=(0,a.st)(),u=(0,o.useRef)(!0),d=i-e.length,p=(0,o.useCallback)((e=>{t(e),u.current&&(c("jetpack_social_custom_message_changed",l),u.current=!1)}),[l,u,t,c]);return React.createElement(r.TextareaControl,{value:e,label:__("Message","jetpack"),onChange:p,disabled:n,maxLength:i,placeholder:__("Write a custom message for your social audience here. This message will override your social post content.","jetpack"),rows:4,help:(0,s.sprintf)(/* translators: placeholder is a number. */ +_n("This post will be shared to %d connection.","This post will be shared to %d connections.",u.length,"jetpack"),u.length))):null}},9573:(e,t,n)=>{"use strict";n.d(t,{X:()=>u});var a=n(3924),r=n(85985),s=n(56427),o=n(27723),i=n(70407),l=n(71016),c=n(647);const _x=o._x,u=()=>{const e=(0,c.X)();return(0,r.Sy)()||(0,r.d9)()||(0,i.hasSocialPaidFeatures)()?null:React.createElement(s.PanelRow,{className:l.A["enhanced-features-nudge"]},React.createElement(s.Button,{key:"upgrade",variant:"link",onClick:e,href:(0,a.A)("jetpack-social-basic-plan-block-editor",{site:(0,r.GE)()||"",query:"redirect_to="+encodeURIComponent(window.location.href)})},_x("Unlock enhanced media sharing features.","Call to action to buy a new plan","jetpack")))}},70925:(e,t,n)=>{"use strict";n.d(t,{A:()=>v});var a=n(56427),r=n(86087),s=n(7162),o=n(98420),i=n(54915),l=n(80624),c=n(52367),u=n(50001),d=n(48222),p=n(96390),m=n(64636),h=n(14993),g=n(9573),f=n(41190);function v(){const{hasConnections:e,hasEnabledConnections:t,connections:n}=(0,u.A)(),{isPublicizeEnabled:v,isPublicizeDisabledBySitePlan:b}=(0,s.usePublicizeConfig)(),{attachedMedia:k}=(0,o.A)(),y=(0,i.A)(),E=k[0]?.id||y,{validationErrors:w,isConvertible:_}=(0,c.A)(n,(0,l.A)(E)[0]),C=v&&(t||k.length>0||0!==Object.keys(w).length&&!_),A=b?a.Disabled:r.Fragment,{feature_flags:x}=(0,s.getSocialScriptData)();return React.createElement(A,null,x.useAdminUiV1?React.createElement(d._,null):null,e?React.createElement(React.Fragment,null,React.createElement(a.PanelRow,null,React.createElement(h.E,null)),x.useEditorPreview&&v?React.createElement(p.n,null):null,React.createElement(g.X,null)):null,React.createElement(m.D,null),!b&&React.createElement(r.Fragment,null,C&&React.createElement(f.o,{analyticsData:{location:"editor"}})))}},62697:(e,t,n)=>{"use strict";n.d(t,{q:()=>c});var a=n(3924),r=n(97999),s=n(56427),o=n(27723),i=n(27844),l=n(51475);const __=o.__,c=()=>(0,r.siteHasFeature)(i.q.ENHANCED_PUBLISHING)?React.createElement(l.A,{type:"warning"},__("To share to Instagram, add an image/video, or enable Social Image Generator.","jetpack"),React.createElement("br",null),React.createElement(s.ExternalLink,{href:(0,a.A)("jetpack-social-share-to-instagram")},__("Learn more","jetpack"))):React.createElement(l.A,{type:"warning"},__("You need a featured image to share to Instagram.","jetpack"),React.createElement("br",null),React.createElement(s.ExternalLink,{href:(0,a.A)("jetpack-social-share-to-instagram")},__("Learn more","jetpack")))},31099:(e,t,n)=>{"use strict";n.d(t,{j:()=>p});var a=n(3924),r=n(56427),s=n(47143),o=n(86087),i=n(27723),l=n(80682),c=n(31963),u=n(51475),d=n(9515);const __=i.__,_x=i._x,p=({validationErrors:e})=>{const{getConnectionById:t}=(0,s.useSelect)((e=>e(c.M_)),[]),n=(0,d.h)(),i=(0,o.useMemo)((()=>Object.entries(e).reduce(((e,[a,r])=>{if(!r)return e;e[r]||(e[r]=[]);const s=n(t(a)?.service_name);return s&&!e[r].includes(s)&&e[r].push(s),e}),{})),[t,n,e]);return React.createElement(u.A,{type:"warning"},React.createElement("p",null,__("The selected media cannot be share to some social media platforms.","jetpack")),React.createElement("ul",null,Object.entries(i).map((([e,t])=>t.length?React.createElement("li",{key:e},React.createElement("i",null,(0,l.$m)(e)),_x(":","Colon to display before the list of social media platforms","jetpack")+" ",t.map(((e,t,{length:n})=>React.createElement(o.Fragment,{key:e},React.createElement("b",null,e),t{"use strict";n.d(t,{L:()=>d});var a=n(98420),r=n(54915),s=n(80624),o=n(52367),i=n(80682),l=n(50001),c=n(62697),u=n(31099);const d=()=>{const{connections:e}=(0,l.A)(),{attachedMedia:t}=(0,a.A)(),n=(0,r.A)(),d=t[0]?.id||n,{validationErrors:p,isConvertible:m}=(0,o.A)(e,(0,s.A)(d)[0]);return Object.keys(p).length?Object.values(p).includes(i.k3)?React.createElement(c.q,null):m?null:React.createElement(u.j,{validationErrors:p}):null}},25349:(e,t,n)=>{"use strict";n.d(t,{C:()=>u});var a=n(56427),r=n(47143),s=n(27723),o=n(77627),i=n(31963),l=n(51371),c=n(71016);const __=s.__;function u({label:e,variant:t="primary"}){const{useAdminUiV1:n}=(0,l.n)().feature_flags,{connections:s}=(0,r.useSelect)((e=>({connections:e(i.M_).getConnections()})),[]),{openConnectionsModal:u}=(0,r.useDispatch)(i.M_),{connectionsPageUrl:d}=(0,o.A)(),p=e||__("Manage connections","jetpack"),m=s.length>0;return n?React.createElement(a.Button,{onClick:u,variant:m?"link":t,size:m?"default":"small",className:c.A["settings-button"]},p):React.createElement(a.ExternalLink,{className:c.A["settings-button"],href:d},p)}},41190:(e,t,n)=>{"use strict";n.d(t,{o:()=>l});var a=n(97999),r=n(39553),s=n(27844),o=n(12015),i=n(70694);const l=({analyticsData:e=null})=>{const{message:t,updateMessage:n,maxLength:l}=(0,r.A)();return React.createElement(React.Fragment,null,React.createElement(i.A,{maxLength:l,onChange:n,message:t,analyticsData:e}),(0,a.siteHasFeature)(s.q.ENHANCED_PUBLISHING)&&React.createElement(o.A,{analyticsData:e}))}},50923:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var a=n(56427),r=n(86087),s=n(27723),o=n(7162),i=n(50001),l=n(50384),c=n(51475);const __=s.__,u=()=>{const{connections:e}=(0,i.A)(),{connectionsPageUrl:t}=(0,o.usePublicizeConfig)();return e.filter((e=>(0,l.Y)(e,"unsupported"))).length>0&&React.createElement(c.A,{type:"error"},(0,r.createInterpolateElement)(__("Twitter is not supported anymore. Learn more here.","jetpack"),{moreInfo:React.createElement(a.ExternalLink,{href:t})}))}},647:(e,t,n)=>{"use strict";n.d(t,{X:()=>o});var a=n(47143),r=n(43656),s=n(86087);function o(){const{isEditedPostDirty:e}=(0,a.useSelect)(r.store,[]),{autosave:t}=(0,a.useDispatch)(r.store);return(0,s.useCallback)((async n=>{if(!(n.target instanceof HTMLAnchorElement))return;const a=n.target.getAttribute("target");e()&&!a&&(n.preventDefault(),await t(),window.location.href=n.target.href),a&&(n.preventDefault(),window.open(n.target.href,a,"noreferrer"))}),[t,e])}},39329:(e,t,n)=>{"use strict";n.d(t,{j:()=>p});var a=n(86087),r=n(51609),s=n(7162),o=n(98420),i=n(54915),l=n(80624),c=n(52367),u=n(80682),d=n(50001);const p=()=>{const{connections:e}=(0,d.A)(),{isPublicizeEnabled:t,isPublicizeDisabledBySitePlan:n}=(0,s.usePublicizeConfig)(),{attachedMedia:p}=(0,o.A)(),m=(0,i.A)(),h=p[0]?.id||m,{validationErrors:g,isConvertible:f}=(0,c.A)(e,(0,l.A)(h)[0]),v=(0,a.useCallback)((e=>{const{id:t,is_healthy:n,connection_id:a,status:r}=e,s=a||t,o=!1!==n&&"broken"!==r,i=void 0!==g[s]&&!f,l=g[s]===u.k3;return o&&!i&&!l}),[f,g]),b=(0,a.useCallback)((e=>!t||!v(e)),[v,t]),k=(0,a.useCallback)((e=>!n&&v(e)),[v,n]);return(0,r.useMemo)((()=>({shouldBeDisabled:b,canBeTurnedOn:k})),[b,k])}},56457:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>b});var a=n(50723),r=n(1455),s=n.n(r),o=n(56427),i=n(47143),l=n(43656),c=n(27723),u=n(13022),d=n(51609),p=n.n(d),m=n(49747),h=n(60548),g=n(74820);const __=c.__,_x=c._x,f="featured-image-still-loading",v=(e,t,n,a)=>{if("none"===e||"custom"===e&&!t||"featured"===(e??"featured")&&!n)return null;const r=a("custom"===e?t:n);return r?(e=>e?.media_details?.sizes?.large?.source_url||e?.source_url)(r):f};function b({shouldDebounce:e=!0,onNewToken:t,...n}){const[r,c]=(0,d.useState)(null),[b,k]=(0,d.useState)(!0),{customText:y,imageType:E,imageId:w,template:_,setToken:C}={...(0,m.A)(),...n},{title:A,imageUrl:x}=(0,i.useSelect)((e=>{const t=e(l.store).getEditedPostAttribute("featured_media");return{title:e(l.store).getEditedPostAttribute("title"),imageUrl:v(E,w,t,e("core").getMedia)}})),j=(0,d.useMemo)((()=>y||A||" "),[y,A]),S=(0,d.useRef)(j),N=(0,d.useRef)(r);(0,d.useEffect)((()=>{N.current=r})),(0,d.useEffect)((()=>{const n=setTimeout((async()=>{if(k(!0),x===f)return;const e=await s()({path:"/jetpack/v4/social-image-generator/generate-preview-token",method:"POST",data:{text:j,image_url:x,template:_}});C?.(e),t?.(e);const n=(0,g.S)(e);n!==N.current?c(n):k(!1)}),j!==S.current&&e?1500:0);return()=>{clearTimeout(n),S.current=j}}),[j,_,x,t]);const R=(0,d.useCallback)((()=>{k(!1)}),[]);return p().createElement(a.Ay,null,p().createElement(o.BaseControl,{__nextHasNoMarginBottom:!0},p().createElement(o.BaseControl.VisualLabel,null,_x("Preview","Heading for the generated preview image","jetpack")),p().createElement("div",{className:h.A.container},p().createElement("img",{className:(0,u.A)({[h.A.hidden]:b}),src:r,alt:__("Generated preview","jetpack"),onLoad:R}),b&&p().createElement(o.Spinner,{"data-testid":"spinner"}))))}},74820:(e,t,n)=>{"use strict";n.d(t,{S:()=>r});var a=n(3924);function r(e){return e?(0,a.A)("sigenerate",{query:`t=${e}`}):""}},47453:(e,t,n)=>{"use strict";n.d(t,{m:()=>s});var a=n(51371),r=n(7757);const s=()=>{const{feature_flags:e}=(0,a.n)();return React.createElement(React.Fragment,null,e.useShareStatus?React.createElement(r.Q3,null):null)}},59493:(e,t,n)=>{"use strict";n.d(t,{O:()=>g});var a=n(63406),r=n(3924),s=n(51112),o=n(56427),i=n(47143),l=n(86087),c=n(27723),u=n(51475),d=n(31963),p=n(39630),m=n(18973);const __=c.__,_x=c._x;function h({label:e,profile_picture:t}){return React.createElement("div",{className:m.A["account-info"]},t?React.createElement("img",{className:m.A["profile-pic"],src:t,alt:e}):null,React.createElement("span",null,e))}function g({keyringResult:e,onComplete:t,isAdmin:n}){const c=(0,p.o)(),{existingConnections:g,reconnectingAccount:f}=(0,i.useSelect)((e=>{const t=e(d.M_);return{existingConnections:t.getConnections(),reconnectingAccount:t.getReconnectingAccount()}}),[]),{createErrorNotice:v}=(0,a.I)(),b=c.find((t=>t.ID===e.service)),k=(0,l.useCallback)((e=>g.some((t=>t.service_name===b?.ID&&t.external_id===e))),[g,b.ID]),y=(0,l.useMemo)((()=>{const t=[],n=[];if(!b)return{connected:t,not_connected:n};const a=[];if(b.external_users_only||a.push({label:e.external_display||e.external_name,value:e.external_ID,profile_picture:e.external_profile_picture}),b.multiple_external_user_ID_support&&e.additional_external_users?.length)for(const t of e.additional_external_users)a.push({label:t.external_name,value:t.external_ID,profile_picture:t.external_profile_picture});for(const e of a)k(e.value)?t.push(e):n.push(e);return{connected:t,not_connected:n}}),[k,e,b]),{createConnection:E,setReconnectingAccount:w}=(0,i.useDispatch)(d.M_),_=(0,l.useCallback)((async n=>{n.preventDefault(),n.stopPropagation();const a=n.target,r=new FormData(a),s=r.get("external_user_ID");if(!s)return void v(__("Please select an account to connect.","jetpack"));const o={external_user_ID:b.multiple_external_user_ID_support?s:void 0,keyring_connection_ID:e.ID,shared:"1"===r.get("shared")||void 0},i=y.not_connected.find((e=>e.value===s));f&&w(void 0),E(o,{display_name:i?.label,profile_picture:i?.profile_picture,service_name:b.ID,external_id:s}),t()}),[E,f,w,v,e.ID,t,b.multiple_external_user_ID_support,b.ID,y.not_connected]);return React.createElement("section",{className:m.A.confirmation},y.not_connected.length?React.createElement("div",null,React.createElement("p",{className:m.A["header-text"]},__("Select the account you'd like to connect. All your new blog posts will be automatically shared to this account. You'll be able to change this option in the editor sidebar when you're writing a post.","jetpack")),e?.show_linkedin_warning&&React.createElement(u.A,{type:"warning"},React.createElement("p",null,__("We could not retrieve which company pages you have access to. This is a known issue with the LinkedIn API. If you would like to connect a company page, please retry after 5 minutes.","jetpack")," ",React.createElement(o.ExternalLink,{key:"linkedin-api-documentaion",href:(0,r.A)("jetpack-linkedin-permissions-warning")},__("Learn more","jetpack")))),React.createElement("form",{className:m.A.form,onSubmit:_,id:"connection-confirmation-form"},React.createElement("div",{className:m.A["accounts-list"]},y.not_connected.map(((e,t)=>{const n=f?f.service_name===b?.ID&&f.external_id===e.value:0===t;return React.createElement("label",{key:e.value,htmlFor:`external_user_ID__${e.value}`,className:m.A["account-label"],"aria-required":!0},React.createElement("input",{type:"radio",id:`external_user_ID__${e.value}`,name:"external_user_ID",value:e.value,defaultChecked:n,className:m.A["account-input"],required:!0}),React.createElement(h,{label:e.label,profile_picture:e.profile_picture}))}))),n?React.createElement(o.BaseControl,{__nextHasNoMarginBottom:!0,id:"mark-connection-as-shared",help:`${__("If enabled, the connection will be available to all administrators, editors, and authors.","jetpack")} ${__("You can change this later.","jetpack")}`},React.createElement(o.__experimentalHStack,{justify:"flex-start",spacing:3},React.createElement("span",null,React.createElement("input",{type:"checkbox",id:"mark-connection-as-shared",name:"shared",value:"1"})),React.createElement(o.FlexBlock,{as:"label",htmlFor:"mark-connection-as-shared"},__("Mark the connection as shared","jetpack")))):null,React.createElement("input",{type:"hidden",name:"keyring_connection_ID",value:e.ID}))):React.createElement("p",{className:m.A["header-text"]},y.connected.length?_x("No more accounts/pages found.","Message shown when there are no connections found to connect","jetpack"):__("No accounts/pages found.","jetpack")),y.connected.length?React.createElement("section",null,React.createElement("h3",null,__("Already connected","jetpack")),React.createElement("ul",null,y.connected.map(((e,t)=>React.createElement("li",{key:e.label+t},React.createElement(h,{label:e.label,profile_picture:e.profile_picture})))))):null,React.createElement("div",{className:m.A["submit-wrap"]},React.createElement(s.A,{variant:"secondary",onClick:t},__("Cancel","jetpack")),y.not_connected.length?React.createElement(s.A,{form:"connection-confirmation-form",type:"submit"},__("Confirm","jetpack")):null))}},48222:(e,t,n)=>{"use strict";n.d(t,{_:()=>b});var a=n(60442),r=n(47425),s=n(3924),o=n(50723),i=n(56427),l=n(3582),c=n(47143),u=n(86087),d=n(27723),p=n(13022),m=n(31963),h=n(78362),g=n(59493),f=n(73842);const __=d.__,_x=d._x,v=()=>{const{keyringResult:e}=(0,c.useSelect)((e=>{const{getKeyringResult:t}=e(m.M_);return{keyringResult:t()}}),[]),{setKeyringResult:t,closeConnectionsModal:n,setReconnectingAccount:o}=(0,c.useDispatch)(m.M_),[d]=(0,a.A)("sm"),v=(0,u.useCallback)((()=>{t(null),o(void 0),n()}),[n,t,o]),b=Boolean(e?.ID),k=b?__("Connection confirmation","jetpack"):_x("Manage Jetpack Social connections","","jetpack"),y=(0,c.useSelect)((e=>e(l.store).canUser("update","settings")),[]);return React.createElement(i.Modal,{className:(0,p.A)(f.A.modal,{[f.A.small]:d}),onRequestClose:v,title:k},b?React.createElement(g.O,{keyringResult:e,onComplete:v,isAdmin:y}):React.createElement(React.Fragment,null,React.createElement(h.b,null),React.createElement("div",{className:f.A["manual-share"]},React.createElement("em",null,React.createElement(r.Ay,null,__("Want to share to other networks? Use our Manual Sharing feature from the editor.","jetpack")," ",React.createElement(i.ExternalLink,{href:(0,s.A)("jetpack-social-manual-sharing-help")},__("Learn more","jetpack")))))))};function b(){const e=(0,c.useSelect)((e=>e(m.M_).isConnectionsModalOpen()),[]);return React.createElement(o.Ay,{targetDom:document.body},e?React.createElement(v,null):null)}},30642:(e,t,n)=>{"use strict";n.d(t,{F:()=>d});var a=n(50723),r=n(47425),s=n(40597),o=n(56427),i=n(27723),l=n(68541),c=n(34600),u=n(27681);const __=i.__;function d(e){return React.createElement(a.Ay,null,React.createElement("div",{className:u.A.wrapper},React.createElement(o.Flex,{align:"start",justify:"start"},React.createElement(r.Ay,{variant:"body-extra-small",className:u.A.title},__("Manual sharing","jetpack")),React.createElement(s.A,{inline:!1,shift:!0,iconSize:16,placement:"top-end"},React.createElement(c.P,e))),React.createElement(l.R,{buttonStyle:"icon"})))}},34600:(e,t,n)=>{"use strict";n.d(t,{P:()=>i});var a=n(47425),r=n(3924),s=n(56427),o=n(27723);const __=o.__;function i({...e}){return React.createElement(a.Ay,e,__('Just tap the social network or "Copy to Clipboard" icon, and we\'ll format your content for sharing.',"jetpack")," ",React.createElement(s.ExternalLink,{href:(0,r.A)("jetpack-social-manual-sharing-help")},__("Learn more","jetpack")))}},55858:(e,t,n)=>{"use strict";n.d(t,{A:()=>v});var a=n(51112),r=n(50723),s=n(94715),o=n(56427),i=n(86087),l=n(27723),c=n(51113),u=n(31249),d=n(13022),p=n(52367),m=n(2204),h=n(18699),g=n(97671);const __=l.__,f=e=>t=>{t.currentTarget.focus(),e()};function v({buttonLabel:e,subTitle:t,mediaId:n=null,mediaDetails:l={},onChange:v,wrapperClassName:b,allowedMediaTypes:k=null}){const{mediaData:{width:y,height:E,sourceUrl:w}={},metaData:{mime:_,length:C=null}={},previewData:{width:A,height:x,sourceUrl:j}={}}=l,S=!(w&&y&&E&&_),N=(0,i.useCallback)((()=>v(null)),[v]),R=(0,i.useCallback)((e=>{v(e)}),[v]),P=(0,i.useCallback)((e=>{const t=(0,p.c)(_);return t&&!C?null:React.createElement("div",{className:(0,d.A)(g.A["preview-wrapper"],b)},React.createElement("button",{className:g.A.remove,onClick:N},React.createElement(o.VisuallyHidden,null,__("Remove media","jetpack")),React.createElement(c.A,{icon:u.A})),React.createElement("button",{className:g.A.preview,onClick:f(e),"data-unstable-ignore-focus-outside-for-relatedtarget":".media-modal"},t?React.createElement(h.A,{sourceUrl:w,mime:_,duration:C}):React.createElement(o.ResponsiveWrapper,{naturalWidth:A||y,naturalHeight:x||E,isInline:!0},React.createElement("img",{src:j||w,alt:"",className:g.A["preview-image"]}))))}),[E,C,_,N,x,j,A,w,y,b]),L=(0,i.useCallback)((r=>React.createElement("div",{className:g.A.container},n?React.createElement(React.Fragment,null,React.createElement("button",{className:g.A["remove-loading"],onClick:N},React.createElement(o.VisuallyHidden,null,__("Remove media","jetpack")),React.createElement(c.A,{icon:u.A})),React.createElement(o.Spinner,{"data-testid":"spinner"})):React.createElement(React.Fragment,null,React.createElement(a.A,{variant:"secondary",size:"small",className:g.A.preview,onClick:f(r),"data-unstable-ignore-focus-outside-for-relatedtarget":".media-modal"},e),t&&React.createElement("span",null,t)))),[e,n,N,t]),T=(0,i.useCallback)((({open:e})=>n&&!S?P(e):L(e)),[n,S,P,L]);return React.createElement(r.Ay,null,React.createElement(s.MediaUploadCheck,null,React.createElement(s.MediaUpload,{allowedTypes:k??m.UB,title:e,onSelect:R,render:T,value:n})))}},12015:(e,t,n)=>{"use strict";n.d(t,{A:()=>f});var a=n(50723),r=n(3924),s=n(85985),o=n(56427),i=n(86087),l=n(27723),c=n(51609),u=n.n(c),d=n(98420),p=n(80624),m=n(55858),h=n(35270);const __=l.__,g=__("Choose Media","jetpack");function f({disabled:e=!1,disabledNoticeMessage:t="",CustomNotice:n=null,analyticsData:l}){const{attachedMedia:f,updateAttachedMedia:v}=(0,d.A)(),{recordEvent:b}=(0,s.st)(),[k]=(0,p.A)(f[0]?.id),y=(0,i.useCallback)((e=>{if(e){b("jetpack_social_media_attached",l);const{id:t,url:n,mime:a}=e;v([{id:t,url:n,type:a}])}else v([])}),[l,b,v]),E=e?o.Disabled:c.Fragment,w=e?{className:h.A.disabled,"data-testid":"disabled"}:{};return u().createElement(a.Ay,null,u().createElement(o.BaseControl,{__nextHasNoMarginBottom:!0,className:h.A.wrapper},u().createElement(o.BaseControl.VisualLabel,null,__("Attached Media","jetpack")),n||(t?u().createElement(o.Notice,{className:h.A.notice,isDismissible:!1,status:"warning"},u().createElement("p",{"data-testid":"notice"},t)):u().createElement("p",{className:h.A.subtitle},__("Choose a visual to accompany your post.","jetpack"))),u().createElement(E,w,u().createElement(m.A,{buttonLabel:g,subTitle:__("Add an image or video","jetpack"),mediaId:f[0]?.id,mediaDetails:k,onChange:y}),u().createElement(o.ExternalLink,{href:(0,r.A)("jetpack-social-media-support-information"),className:h.A["learn-more"]},__("Learn photo and video best practices","jetpack")))))}},70694:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var a=n(85985),r=n(56427),s=n(27723),o=n(51609);const __=s.__,_n=s._n;function i({message:e="",onChange:t,disabled:n,maxLength:i,analyticsData:l=null}){const{recordEvent:c}=(0,a.st)(),u=(0,o.useRef)(!0),d=i-e.length,p=(0,o.useCallback)((e=>{t(e),u.current&&(c("jetpack_social_custom_message_changed",l),u.current=!1)}),[l,u,t,c]);return React.createElement(r.TextareaControl,{value:e,label:__("Message","jetpack"),onChange:p,disabled:n,maxLength:i,placeholder:__("Write a custom message for your social audience here. This message will override your social post content.","jetpack"),rows:4,help:(0,s.sprintf)(/* translators: placeholder is a number. */ _n("%d character remaining","%d characters remaining",d,"jetpack"),d),__nextHasNoMarginBottom:!0})}},51475:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});var a=n(56427),r=n(27723),s=n(51113),o=n(31249),i=n(13022),l=n(28120),c=n.n(l),u=n(93794);const __=r.__,d=({children:e,type:t="default",actions:n=[],onDismiss:r})=>{const l=(0,i.A)(u.A.notice,u.A[`notice--${t}`]);return React.createElement("div",{className:l},React.createElement("div",{className:u.A.content}," ",e," "),r&&React.createElement("button",{className:u.A.dismiss,onClick:r},React.createElement(a.VisuallyHidden,null,__("Dismiss notice","jetpack")),React.createElement(s.A,{icon:o.A})),n&&n.length>0&&React.createElement("div",{className:u.A.actions},n.map((e=>e))))};d.propTypes={children:c().node.isRequired,type:c().oneOf(["default","highlight","warning","error"]),actions:c().arrayOf(c().element),onDismiss:c().func};const p=d},66561:(e,t,n)=>{"use strict";n.d(t,{A:()=>b});var a=n(56427),r=n(47143),s=n(43656),o=n(86087),i=n(27723),l=n(77627),c=n(88584),u=n(49036),d=n(50001),p=n(51371),m=n(70925),h=n(30642),g=n(51353),f=n(1101),v=n(87170);const __=i.__,b=({prePublish:e,children:t})=>{const{refresh:n,hasConnections:i,hasEnabledConnections:b}=(0,d.A)(),k=(0,r.useSelect)((e=>e(s.store).isCurrentPostPublished()),[]),{feature_flags:y}=(0,p.n)(),E=(0,c.A)(),{isPublicizeEnabled:w,hidePublicizeFeature:_,togglePublicizeFeature:C}=(0,l.A)();(0,u._D)((function(){b&&n()}),[b,n]);const A=e?o.Fragment:a.PanelBody,x=e?{}:{title:__("Share this post","jetpack"),className:v.A.panel};return E(),React.createElement(A,x,t,!_&&React.createElement(o.Fragment,null,!k&&React.createElement(a.ToggleControl,{label:w?__("Share when publishing","jetpack"):__("Sharing is disabled","jetpack",0),onChange:C,checked:w&&i,disabled:!i,__nextHasNoMarginBottom:!0}),React.createElement(m.A,null),React.createElement(f.O,null)),k&&React.createElement(React.Fragment,null,y.useShareStatus?React.createElement(g.E,null):null,React.createElement(h.F,null)))}},65843:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var a=n(85985),r=n(47143),s=n(14309),o=n(43656),i=n(27723),l=n(34600),c=n(68541),u=n(5780);const __=i.__;function d(){const{isCurrentPostPublished:e}=(0,r.useSelect)((e=>e(o.store)),[]);return e()?React.createElement(s.PluginPostPublishPanel,{initialOpen:!0,title:__("Manual sharing","jetpack"),id:"publicize-manual-sharing",icon:React.createElement(a.jt,null)},React.createElement(l.P,{className:u.A.description,variant:"body-small"}),React.createElement(c.R,null)):null}},26029:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var a=n(50723),r=n(65843),s=n(39691),o=n(89640);const i=()=>React.createElement(a.Ay,{targetDom:document.body},React.createElement(o.p,null),React.createElement(r.A,null),React.createElement(s.A,null))},39691:(e,t,n)=>{"use strict";n.d(t,{A:()=>m});var a=n(3924),r=n(85985),s=n(1455),o=n.n(s),i=n(14309),l=n(86087),c=n(77627),u=n(49036),d=n(50001),p=n(25300);const m=()=>{const[e,t]=(0,l.useState)((0,r.$i)()?.social?.reviewRequestDismissed??!0),[n,s]=(0,l.useState)(!1),{hasEnabledConnections:m}=(0,d.A)(),{isPublicizeEnabled:h,isPostAlreadyShared:g}=(0,c.A)();(0,u.Wv)((()=>{s(!g&&h&&m)}),[g,m,h]);const f=(0,l.useCallback)((()=>{const e=(0,r.$i)()?.social?.dismissReviewRequestPath??null;o()({path:e,method:"POST",data:{dismissed:!0}}).catch((e=>{throw e})),t(!0)}),[]);return e||!n?null:React.createElement(i.PluginPostPublishPanel,{id:"publicize-title"},React.createElement(p.A,{href:(0,a.A)("jetpack-social-plugin-reviews"),onClose:f}))}},89640:(e,t,n)=>{"use strict";n.d(t,{p:()=>m});var a=n(47143),r=n(14309),s=n(43656),o=n(92214),i=n(383),l=n(57275),c=n(49036),u=n(31963),d=n(51371),p=n(79594);function m(){const{isPublicizeEnabled:e}=(0,i.h)(),{pollForPostShareStatus:t}=(0,a.useDispatch)(u.M_),{feature_flags:n}=(0,d.n)(),{isPostPublished:m}=(0,a.useSelect)((e=>({isPostPublished:e(s.store).isCurrentPostPublished()})),[]),h=(0,l.z)((0,o.P)()),g=(0,l.z)((0,a.useSelect)((e=>e(u.M_).getEnabledConnections()),[])),f=e&&g.length>0&&h,v=n.useShareStatus&&f&&m;return(0,c._D)((()=>{v&&t({isRequestComplete:({postShareStatus:e})=>e.done})}),[v]),v?React.createElement(r.PluginPostPublishPanel,{id:"publicize-share-status"},React.createElement(p.q,null)):null}},79594:(e,t,n)=>{"use strict";n.d(t,{q:()=>u});var a=n(56427),r=n(47143),s=n(27723),o=n(31963),i=n(51475),l=n(7757),c=n(55387);const __=s.__,_n=s._n;function u({reShareTimestamp:e}){const t=(0,r.useSelect)((e=>e(o.M_).getPostShareStatus()),[]),n=e?t.shares.filter((t=>t.timestamp>e)):t.shares;if(t.polling)return React.createElement("div",{className:c.A["loading-block"]},React.createElement(a.Spinner,null),React.createElement("span",{className:c.A["loading-text"]},__("Sharing to your social media…","jetpack")));const u=n.filter((e=>"failure"===e.status)).length;return u>0?React.createElement(i.A,{type:"warning"},React.createElement("p",null,(0,s.sprintf)(/* translators: %d: number of failed shares */ _n("Your post was unable to be shared to %d connection.","Your post was unable to be shared to %d connections.",u,"jetpack"),u)),React.createElement(l.JU,{variant:"link",analyticsData:{location:"post-publish-panel"}},__("Review status and try again","jetpack"))):t.done?n.length?React.createElement(React.Fragment,null,React.createElement("b",null,__("Your post was shared.","jetpack"))," ","🎉",React.createElement("p",null,(0,s.sprintf)(/* translators: %d: number of connections to which a post was shared */ _n("You post was successfuly shared to %d connection.","You post was successfuly shared to %d connections.",n.length,"jetpack"),n.length)),React.createElement(l.JU,{analyticsData:{location:e?"resharing-section":"post-publish-panel"}})):React.createElement("span",null,__("Your post was not shared.","jetpack")):React.createElement("span",null,__("The request to share your post is still in progress.","jetpack")," ",__("Please refresh and check again in a few minutes.","jetpack"))}},51353:(e,t,n)=>{"use strict";n.d(t,{E:()=>c});var a=n(47143),r=n(51609),s=n(31963),o=n(79594),i=n(7757),l=n(61420);const c=()=>{const e=(0,a.useSelect)((e=>e(s.M_).getPostShareStatus()),[]),[t,n]=(0,r.useState)(null);return(0,r.useEffect)((()=>{e.polling&&n(Date.now()/1e3)}),[e.polling]),t?React.createElement("div",{className:l.A.wrapper},React.createElement(o.q,{reShareTimestamp:t})):React.createElement(i.JU,{withWrapper:!0,analyticsData:{location:"editor"}})}},25300:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var a=n(50723),r=n(51112),s=n(85985),o=n(27723),i=n(51609),l=n(76445);const __=o.__,c=({href:e,onClose:t})=>{const{recordEvent:n}=(0,s.st)({pageViewEventName:"social_plugin_review_prompt",pageViewNamespace:"jetpack",pageViewSuffix:"view"}),c=(0,i.useCallback)((()=>{n("jetpack_social_plugin_review_prompt_new_review_click")}),[n]),u=(0,i.useCallback)((()=>{n("jetpack_social_plugin_review_prompt_dismiss_click"),t()}),[n,t]);return React.createElement(a.Ay,null,React.createElement("div",{className:l.A.prompt},React.createElement("h2",{className:l.A.header},(0,o.sprintf)(/* translators: %s is the celebration emoji */ @@ -20,7 +20,7 @@ __("Presto! %s","jetpack"),String.fromCodePoint(127881))),React.createElement("p __("%d connections","jetpack"),e.length):__("Connected","jetpack"))}},78362:(e,t,n)=>{"use strict";n.d(t,{b:()=>l});var a=n(47143),r=n(31963),s=n(59008),o=n(42475),i=n(39630);function l(){const e=(0,i.o)(),t=(0,a.useSelect)((e=>e(r.M_).getConnections().reduce(((e,t)=>(e[t.service_name]||(e[t.service_name]=[]),e[t.service_name].push(t),e)),{})),[]),n=(0,a.useSelect)((e=>e(r.M_).getReconnectingAccount()),[]);return React.createElement("ul",{className:o.A.services},e.map((e=>React.createElement("li",{key:e.ID,className:o.A["service-list-item"]},React.createElement(s.j,{service:e,serviceConnections:t[e.ID]||[],isPanelDefaultOpen:n?.service_name===e.ID})))))}},70745:(e,t,n)=>{"use strict";n.d(t,{P:()=>u});var a=n(63406),r=n(47143),s=n(86087),o=n(27723),i=n(31963),l=n(70407);const __=o.__,c=e=>/^@?\b([A-Z0-9_]+)@([A-Z0-9.-]+\.[A-Z]{2,})$/gi.test(e);function u({service:e,onConfirm:t}){const{createErrorNotice:n}=(0,a.I)(),o=(0,r.useSelect)((e=>e(i.M_).isMastodonAccountAlreadyConnected),[]),u=(0,r.useSelect)((e=>e(i.M_).isBlueskyAccountAlreadyConnected),[]);return(0,s.useCallback)((a=>{const r=new URL(e.connect_URL);switch(e.ID){case"mastodon":{const e=a.get("instance").toString().trim();if(!c(e))return void n(__("Invalid Mastodon username","jetpack"));if(o?.(e))return void n(__("This Mastodon account is already connected","jetpack"));r.searchParams.set("instance",e);break}case"bluesky":{const e=(a.get("handle")?.toString()||"").trim().replace(/^@/,"");if(!function(e){const t=e.split(".").filter(Boolean);return!(t.length<2)&&t.every((e=>/^[a-z0-9_-]+$/i.test(e)))}(e))return void n(__("Invalid Bluesky handle","jetpack"));if(u?.(e))return void n(__("This Bluesky account is already connected","jetpack"));r.searchParams.set("handle",e),r.searchParams.set("app_password",(a.get("app_password")?.toString()||"").trim());break}}(0,l.requestExternalAccess)(r.toString(),t)}),[n,u,o,t,e.ID,e.connect_URL])}},9515:(e,t,n)=>{"use strict";n.d(t,{h:()=>s});var a=n(51609),r=n(48712);function s(){const e=(0,r.h)();return(0,a.useCallback)((t=>e(t)?.label||t[0].toUpperCase()+t.substring(1)),[e])}},48712:(e,t,n)=>{"use strict";n.d(t,{h:()=>s});var a=n(51609),r=n(39630);function s(){const e=(0,r.o)(),t=(0,a.useMemo)((()=>e.reduce(((e,t)=>(e[t.ID]=t,e)),{})),[e]);return(0,a.useCallback)((e=>t[e]),[t])}},39630:(e,t,n)=>{"use strict";n.d(t,{o:()=>f});var a=n(96072),r=n.n(a),s=n(78478),o=n(56427),i=n(86087),l=n(27723),c=n(30081),u=n(26818),d=n(43443),p=n(11326),m=n(65398),h=n(9791),g=n(51371);const __=l.__;function f(){const e=(0,i.useMemo)((()=>{const{supported_services:e}=(0,g.n)();return e.reduce(((e,t)=>({...e,[t.ID]:t})),{})}),[]),t={text:__("New","jetpack"),style:{background:"#e9eff5",color:"#0675C4"}};return[{...e.facebook,icon:e=>React.createElement(s.M5,r()({serviceName:"facebook"},e)),description:__("Share to your pages","jetpack"),examples:[()=>React.createElement(React.Fragment,null,(0,i.createInterpolateElement)(__("Connect to automatically share posts on your Facebook page.","jetpack"),{strong:React.createElement("strong",null)})),()=>React.createElement("img",{src:c,alt:__("Add Facebook connection","jetpack")})]},{...e["instagram-business"],icon:e=>React.createElement(s.M5,r()({serviceName:"instagram"},e)),description:__("Share to your Instagram Business account.","jetpack"),examples:[()=>React.createElement(React.Fragment,null,__("Drive engagement and save time by automatically sharing images to Instagram when you publish blog posts.","jetpack"),React.createElement("div",{className:"instagram-business__requirements"},React.createElement("h4",null,__("Requirements for connecting Instagram:","jetpack")),React.createElement("ol",null,React.createElement("li",null,__("You must have an Instagram Business account.","jetpack")),React.createElement("li",null,__("Your Instagram Business account must be linked to a Facebook page.","jetpack")))),(0,i.createInterpolateElement)(__("When you click “connect” you'll be asked to log into Facebook. If your Instagram Business account isn't listed, ensure it's linked to a Facebook page.","jetpack"),{strong:React.createElement("strong",null),i:React.createElement("em",null)}),React.createElement("br",null),React.createElement("br",null),React.createElement(o.ExternalLink,{className:"instagram-business__help-link",href:"https://jetpack.com/redirect/?source=jetpack-social-instagram-business-help"},__("Learn how to convert & link your Instagram account.","jetpack"))),()=>React.createElement("img",{src:u,alt:__("Add Instagram photo","jetpack")})]},{...e.threads,icon:e=>React.createElement(s.M5,r()({serviceName:"threads"},e)),description:__("Share posts to your Threads feed.","jetpack"),examples:[()=>React.createElement(React.Fragment,null,__("Increase your presence in social media by sharing your posts automatically to Threads.","jetpack")),()=>React.createElement("img",{src:m,alt:__("Add Threads connection","jetpack")})]},{...e.bluesky,needsCustomInputs:!0,icon:e=>React.createElement(s.M5,r()({serviceName:"bluesky"},e)),badges:[t],description:__("Share with your network.","jetpack"),examples:[()=>React.createElement(React.Fragment,null,__("To share to Bluesky please enter your Bluesky handle and app password below, then click connect.","jetpack"))]},{...e.linkedin,icon:e=>React.createElement(s.M5,r()({serviceName:"linkedin"},e)),description:__("Share with your LinkedIn community.","jetpack"),examples:[()=>React.createElement(React.Fragment,null,(0,i.createInterpolateElement)(__("Connect to automatically share posts with your LinkedIn connections.","jetpack"),{strong:React.createElement("strong",null)})),()=>React.createElement("img",{src:d,alt:__("Add LinkedIn connection","jetpack")})]},{...e.nextdoor,icon:e=>React.createElement(s.M5,r()({serviceName:"nextdoor"},e)),description:__("Share on communities","jetpack"),examples:[()=>React.createElement(React.Fragment,null,(0,i.createInterpolateElement)(__("Connect with friends, neighbors, and local businesses by automatically sharing your posts to Nextdoor.","jetpack"),{strong:React.createElement("strong",null)})),()=>React.createElement("img",{src:p,alt:__("Add Instagram photo","jetpack")})]},{...e.tumblr,icon:e=>React.createElement(s.M5,r()({serviceName:"tumblr-alt"},e)),description:__("Share to your Tumblr blog.","jetpack"),examples:[()=>React.createElement(React.Fragment,null,(0,i.createInterpolateElement)(__("Connect to automatically share posts to your Tumblr blog.","jetpack"),{strong:React.createElement("strong",null)})),()=>React.createElement("img",{src:h,alt:__("Add Tumblr connection","jetpack")})]},{...e.mastodon,needsCustomInputs:!0,icon:e=>React.createElement(s.M5,r()({serviceName:"mastodon"},e)),description:__("Share with your network.","jetpack"),examples:[()=>React.createElement(React.Fragment,null,__("To share to Mastodon please enter your Mastodon username below, then click connect.","jetpack"))]}].filter((e=>Boolean(e.ID)))}},73905:(e,t,n)=>{"use strict";n.d(t,{t:()=>r});var a=n(27723);const __=a.__,r=[{label:__("X","jetpack"),networkName:"x",url:"https://x.com/intent/tweet?text={{text}}&url={{url}}"},{label:__("WhatsApp","jetpack"),networkName:"whatsapp",url:"https://api.whatsapp.com/send?text={{text}}"},{label:__("Facebook","jetpack"),networkName:"facebook",url:"https://www.facebook.com/sharer/sharer.php?u={{url}}"}]},49192:(e,t,n)=>{"use strict";n(68541)},68541:(e,t,n)=>{"use strict";n.d(t,{R:()=>h});var a=n(78478),r=n(51112),s=n(47425),o=n(69222),i=n(85985),l=n(86087),c=n(27723),u=n(13022),d=n(73905),p=n(99811),m=n(53975);const __=c.__;function h({buttonStyle:e="icon",buttonVariant:t}){const n=(0,m.i)(),{recordEvent:h}=(0,i.st)(),g=(0,l.useCallback)((()=>{h("jetpack_social_share_button_clicked",{network:"clipboard"})}),[h]),f=(0,l.useCallback)((()=>n("{{text}}\n{{url}}",!1)),[n]),v=(0,l.useCallback)((function(e,t){return function(n){n.preventDefault(),h("jetpack_social_share_button_clicked",t),window.open(e,"","menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600")}}),[h]);return React.createElement("div",{className:(0,u.A)(p.A["share-buttons"],{[p.A.vertical]:e.includes("text")})},d.t.map((({label:o,networkName:i,url:l})=>{const u=n(l),d="icon"===e?React.createElement(a.M5,{serviceName:i}):null,m=(0,c.sprintf)(/* translators: %s is the name of a social network, e.g. Twitter. */ __("Share on %s","jetpack"),o);return React.createElement("div",{className:p.A.container,key:i},React.createElement(r.A,{icon:d,variant:t,"aria-label":m,href:u,target:"_blank",rel:"noopener noreferrer",onClick:v(u,{network:i}),className:"icon"===e?p.A[i]:"has-text"},"icon"===e?null:React.createElement(React.Fragment,null,"icon-text"===e&&React.createElement(a.M5,{className:p.A[i],serviceName:i}),React.createElement(s.Ay,{className:p.A.label,component:"span"},m))))})),React.createElement("div",{className:p.A.container},React.createElement(o.A,{buttonStyle:e,onCopy:g,textToCopy:f,className:"icon"===e?p.A.clipboard:" has-text",variant:t},"icon"===e?null:React.createElement(s.Ay,{className:p.A.label,component:"span"},__("Copy to clipboard","jetpack")))))}},53975:(e,t,n)=>{"use strict";n.d(t,{i:()=>i});var a=n(47143),r=n(43656),s=n(86087),o=n(383);function i(){const{shareMessage:e}=(0,o.h)(),{message:t,link:n}=(0,a.useSelect)((t=>{const{getEditedPostAttribute:n}=t(r.store);return{link:n("link"),message:e||n("meta")?.jetpack_seo_html_title||n("title")}}),[e]);return(0,s.useCallback)(((e,a=!0)=>{let r=t,s=n;return e.includes("{{url}}")||(r=r+"\n\n"+s,s=""),a&&(r=encodeURIComponent(r),s=encodeURIComponent(s)),e.replace("{{text}}",r).replace("{{url}}",s)}),[n,t])}},1101:(e,t,n)=>{"use strict";n.d(t,{O:()=>v});var a=n(85985),r=n(56427),s=n(47143),o=n(43656),i=n(86087),l=n(27723),c=n(692),u=n(92214),d=n(77627),p=n(31873),m=n(31963),h=n(51371);const __=l.__;function g(e=__("Unable to share the Post","jetpack")){const{createErrorNotice:t}=(0,s.dispatch)(c.store);t(e,{id:"publicize-post-share-message"})}function f(){const{isPublicizeEnabled:e}=(0,d.A)(),{isFetching:t,isError:n,isSuccess:l,doPublicize:f}=(0,p.A)(),v=(0,s.useSelect)((e=>e(o.store).isCurrentPostPublished()),[]),{feature_flags:b}=(0,h.n)(),{pollForPostShareStatus:k}=(0,s.useDispatch)(m.M_),{recordEvent:y}=(0,a.st)();(0,i.useEffect)((()=>{if(!t)return n?g():void(l&&function(){const{createSuccessNotice:e}=(0,s.dispatch)(c.store);e(__("Request submitted successfully.","jetpack"),{id:"publicize-post-share-message",type:"snackbar"})}())}),[t,n,l]);const E=(0,u.P)(),w=!e||!E||!v||t,_=(0,i.useCallback)((async()=>{if(!v)return g(__("You must publish your post before you can share it.","jetpack"));(0,s.dispatch)(c.store).removeNotice("publicize-post-share-message"),y("jetpack_social_reshare_clicked",{location:"editor",environment:(0,a.d9)()?"atomic":(0,a.Sy)()?"simple":"jetpack"}),await f(),b.useShareStatus&&k()}),[v,y,f,b.useShareStatus,k]);return React.createElement(r.Button,{variant:"secondary",onClick:_,disabled:w,isBusy:t},__("Share post","jetpack"))}function v(){const{isRePublicizeUpgradableViaUpsell:e}=(0,d.A)(),t=(0,s.useSelect)((e=>e(o.store).isCurrentPostPublished()),[]),{hasConnections:n}=(0,s.useSelect)((e=>e(m.M_)),[]);return t?e?null:n()?React.createElement(r.PanelRow,null,React.createElement(f,null)):null:null}},7757:(e,t,n)=>{"use strict";n.d(t,{JU:()=>r.g,Q3:()=>a.Q});var a=n(59032),r=n(95499)},95499:(e,t,n)=>{"use strict";n.d(t,{g:()=>m});var a=n(96072),r=n.n(a),s=n(85985),o=n(56427),i=n(47143),l=n(27723),c=n(51609),u=n(31963),d=n(51371),p=n(14150);const __=l.__,m=(0,c.forwardRef)((({withWrapper:e=!1,analyticsData:t=null,...n},a)=>{const{recordEvent:l}=(0,s.st)(),{openShareStatusModal:m}=(0,i.useDispatch)(u.M_),h=(0,i.useSelect)((e=>e(u.M_).getPostShareStatus()),[]),g=(0,c.useCallback)((()=>{l("jetpack_social_share_status_modal_opened",t),m()}),[t,m,l]);if(!h||!h.shares||0===h.shares.length)return null;const{feature_flags:f}=(0,d.n)();if(!f.useShareStatus)return null;const v=React.createElement(o.Button,r()({variant:"secondary",onClick:g},n,{ref:a}),n.children||__("View sharing history","jetpack"));return e?React.createElement("div",{className:p.A["trigger-wrapper"]},v):v}))},59032:(e,t,n)=>{"use strict";n.d(t,{Q:()=>d});var a=n(50723),r=n(56427),s=n(47143),o=n(27723),i=n(31963),l=n(30557),c=n(14150);const __=o.__;function u(){const{closeShareStatusModal:e}=(0,s.useDispatch)(i.M_);return React.createElement("div",{className:c.A.wrapper},React.createElement(r.Modal,{onRequestClose:e,title:__("Sharing status","jetpack"),className:c.A.modal},React.createElement(l.W,null)))}function d(){const e=(0,s.useSelect)((e=>e(i.M_).isShareStatusModalOpen()),[]);return React.createElement(a.Ay,{targetDom:document.body},e?React.createElement(u,null):null)}},14329:(e,t,n)=>{"use strict";n.d(t,{f:()=>h});var a=n(40597),r=n(85985),s=n(56427),o=n(47143),i=n(43656),l=n(27723),c=n(51609),u=n(31873),d=n(31963),p=n(59061),m=n(14150);const __=l.__,_x=l._x;function h({shareItem:e}){const{recordEvent:t}=(0,r.st)(),n=(0,o.useSelect)((e=>e(i.store).getCurrentPostId()),[]),l=(0,o.useSelect)((e=>e(d.M_).getConnections()),[]),h=l.some((0,p.eJ)(e)),{doPublicize:g}=(0,u.A)(n),{pollForPostShareStatus:f}=(0,o.useDispatch)(d.M_),[v,b]=(0,c.useState)(!1),k=(0,c.useCallback)((async()=>{t("jetpack_social_share_status_retry",{service:e.service,location:"modal"});const n=(0,p.eJ)(e),a=l.filter((e=>!n(e))).map((({connection_id:e})=>e));a.length!==l.length&&(b(!0),await g(a),await f({isRequestComplete({postShareStatus:t,lastTimestamp:n}){const a=t.shares.some((t=>t.timestamp>n&&(0,p.Ri)(e,t)));return a&&b(!1),a}}))}),[t,e,l,g,f]);return v?React.createElement(s.Spinner,null):React.createElement("div",{className:m.A["retry-wrapper"]},React.createElement(s.Button,{variant:h?"link":"tertiary",onClick:h?k:void 0,disabled:!h},__("Retry","jetpack")),h?null:React.createElement(a.A,{shift:!0,placement:"bottom-end"},e.external_id?_x("This connection has been removed.","Social media connection","jetpack"):_x("This connection has been reconnected or removed.","Social media connection","jetpack")))}},30557:(e,t,n)=>{"use strict";n.d(t,{W:()=>o});var a=n(47143),r=n(31963),s=n(48377);function o(){const e=(0,a.useSelect)((e=>e(r.M_).getPostShareStatus()),[]);return React.createElement("div",null,React.createElement(s.S,{postShareStatus:e}))}},368:(e,t,n)=>{"use strict";n.d(t,{C:()=>l});var a=n(85985),r=n(56427),s=n(27723),o=n(51609),i=n(14329);const __=s.__;function l({shareItem:e}){const{recordEvent:t}=(0,a.st)(),n=(0,o.useCallback)((()=>{t("jetpack_social_share_status_view",{service:e.service,location:"modal"})}),[t,e.service]);return"success"===e.status?React.createElement(r.ExternalLink,{href:e.message,onClick:n},__("View","jetpack")):React.createElement(i.f,{shareItem:e})}},69662:(e,t,n)=>{"use strict";n.d(t,{a:()=>p});var a=n(40597),r=n(47425),s=n(27723),o=n(51113),i=n(83883),l=n(13022),c=n(51609),u=n.n(c),d=n(14150);const __=s.__,_x=s._x;function p({status:e,message:t}){const n="success"===e,s=n?u().createElement(o.A,{className:d.A["share-status-icon"],icon:i.A}):u().createElement(a.A,{shift:!0,inline:!1,title:__("Sharing failed with the following message:","jetpack"),className:d.A["share-status-icon-tooltip"]},u().createElement(r.Ay,{variant:"body-small",className:d.A["tooltip-text"]},t));return u().createElement("div",{className:(0,l.A)(d.A["share-status-wrapper"],{[d.A["share-status-success"]]:n,[d.A["share-status-failure"]]:!n})},u().createElement("div",{className:d.A["share-status-icon"]},s),u().createElement("div",{className:d.A["share-status-label"]},n?_x("Shared","The sharing is successful","jetpack"):__("Failed","jetpack")))}},48377:(e,t,n)=>{"use strict";n.d(t,{S:()=>u});var a=n(38443),r=n(27723),s=n(12141),o=n(368),i=n(69662),l=n(14150);const __=r.__,c=e=>`${e.external_id||e.connection_id}:${e.timestamp}`;function u({postShareStatus:e}){return React.createElement("div",{className:l.A["dataview-wrapper"]},React.createElement("div",{className:"dataviews-wrapper"},React.createElement("table",{className:"dataviews-view-table"},React.createElement("thead",null,React.createElement("tr",{className:"dataviews-view-table__row"},React.createElement("th",null,__("Connection","jetpack")),React.createElement("th",null,__("Time","jetpack")),React.createElement("th",null,__("Status","jetpack")),React.createElement("th",null,__("Actions","jetpack")))),React.createElement("tbody",null,e.shares.map((e=>React.createElement("tr",{key:c(e),className:"dataviews-view-table__row"},React.createElement("td",null,React.createElement("div",{className:"dataviews-view-table__cell-content-wrapper"},React.createElement("div",{className:l.A["connection-name"]},React.createElement(s.A,{serviceName:e.service,label:e.external_name,profilePicture:e.profile_picture}),React.createElement("div",{className:l.A["share-item-name-wrapper"]},React.createElement("div",{className:l.A["share-item-name"]},e.external_name))))),React.createElement("td",null,React.createElement("div",{className:"dataviews-view-table__cell-content-wrapper"},(0,a.humanTimeDiff)(1e3*e.timestamp,(0,a.getDate)(null)))),React.createElement("td",null,React.createElement("div",{className:"dataviews-view-table__cell-content-wrapper"},React.createElement(i.a,{status:e.status,message:e.message}))),React.createElement("td",null,React.createElement("div",{className:"dataviews-view-table__cell-content-wrapper"},React.createElement(o.C,{shareItem:e}))))))))))}},29341:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var a=n(63406),r=n(56427),s=n(86087),o=n(27723),i=n(49747),l=n(38394),c=n(56457),u=n(77932);const __=o.__,_x=o._x,d=({prePublish:e=!1})=>{const t=e?s.Fragment:r.PanelBody,n=e?{}:{title:__("Social Image Generator","jetpack")},{isEnabled:o,setIsEnabled:d}=(0,i.A)(),[p,m]=(0,s.useState)(!1),h=(0,s.useCallback)((()=>m(!0)),[]),g=(0,s.useCallback)((()=>m(!1)),[]),[f,v]=(0,s.useState)(null),{createErrorNotice:b,createSuccessNotice:k}=(0,a.I)(),{save:y,isSaving:E}=(0,l.i)({onError:e=>{b(e.message)},onSuccess:()=>{k(__("Image saved to media library.","jetpack"))}}),w=(0,s.useCallback)((()=>{y(`https://s0.wp.com/_si/?t=${f}`,"generated-image.jpg")}),[f,y]);return React.createElement(t,n,p&&React.createElement(u.A,{onClose:g}),React.createElement(r.ToggleControl,{label:__("Enable Social Image","jetpack"),help:o?"":__("Social Image is disabled for this post.","jetpack"),checked:o,onChange:d,__nextHasNoMarginBottom:!0}),o&&React.createElement(React.Fragment,null,React.createElement("hr",null),React.createElement(c.Ay,{onNewToken:v}),React.createElement("hr",null),React.createElement(r.__experimentalHStack,{spacing:2,wrap:!0},React.createElement(r.Button,{variant:"secondary",onClick:h,label:__("Open the Social Image Generator settings","jetpack")},__("Settings","jetpack")),React.createElement(r.Button,{variant:"secondary",onClick:w,label:__("Save the generated image to your media library.","jetpack"),disabled:!f||E},E?_x("Saving…","Saving the file to media library","jetpack"):__("Save to media library","jetpack")))))}},77932:(e,t,n)=>{"use strict";n.d(t,{A:()=>g});var a=n(50723),r=n(56427),s=n(86087),o=n(27723),i=n(49747),l=n(80624),c=n(56457),u=n(55858),d=n(81299),p=n(53744);const __=o.__,m=["image/jpeg","image/png"],h=__("Choose Image","jetpack"),g=({onClose:e})=>{const{customText:t,imageType:n,imageId:o,template:g,updateSettings:f}=(0,i.A)(),[v,b]=(0,s.useState)(o),[k,y]=(0,s.useState)(n||"featured"),[E,w]=(0,s.useState)(t),[_,C]=(0,s.useState)(g),[A]=(0,l.A)(v),x=(0,s.useCallback)((()=>{f({template:_,image_type:k,custom_text:E||"",..."custom"===k&&{image_id:v}}),e()}),[f,_,k,v,E,e]),j=(0,s.useCallback)((e=>{b(e?.id)}),[b]);return React.createElement(a.Ay,{targetDom:document.body},React.createElement(r.Modal,{onRequestClose:e},React.createElement(c.Ay,{className:p.A.preview,imageId:v,customText:E,imageType:k,template:_}),React.createElement(r.SelectControl,{label:__("Image Type","jetpack"),value:k||"featured",options:[{label:__("Featured Image","jetpack"),value:"featured"},{label:__("Custom Image","jetpack"),value:"custom"},{label:__("No Image","jetpack"),value:"none"}],onChange:y,__nextHasNoMarginBottom:!0}),"custom"===k&&React.createElement(u.A,{buttonLabel:h,subTitle:__("Add a custom image","jetpack"),mediaId:v,mediaDetails:A,onChange:j,allowedMediaTypes:m,wrapperClassName:p.A.mediaPicker}),React.createElement(r.TextControl,{className:p.A.customText,value:E||"",onChange:w,label:__("Custom Header","jetpack"),help:__("By default the post title is used for the image. You can use this field to set your own text.","jetpack"),__nextHasNoMarginBottom:!0}),React.createElement(r.BaseControl,{__nextHasNoMarginBottom:!0,className:p.A.templateControl},React.createElement(r.BaseControl.VisualLabel,null,__("Templates","jetpack")),React.createElement(d.A,{value:_,onTemplateSelected:C})),React.createElement(r.Button,{onClick:e,variant:"tertiary"},__("Cancel","jetpack")),React.createElement(r.Button,{onClick:x,variant:"primary"},__("Save","jetpack"))))}},29761:(e,t,n)=>{"use strict";n(47143),n(86087),n(27723),n(51609),n(31963),n(12226)},12226:(e,t,n)=>{"use strict";n(56427),n(86087),n(27723),n(81299),n(88375)},81299:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var a=n(86087),r=n(27723),s=n(13022),o=n(52002),i=n(10936);const __=r.__,l=({value:e=null,onTemplateSelected:t=null})=>{const n=(0,a.useCallback)((e=>{const n=e.target.id;t?.(n)}),[t]);return React.createElement("div",{className:o.A.templates},i.A.map((t=>React.createElement("button",{onClick:n,id:t.name,key:t.name,className:(0,s.A)(o.A.template,{[o.A["template--active"]]:t.name===e})},React.createElement("img",{src:t.image,alt:t.label}),React.createElement("span",{className:"screen-reader-text"},(0,r.sprintf)(/* translators: %s is the name of the template */ __("Pick the %s template","jetpack"),t.label))))))}},10936:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var a=n(26365),r=n(45329),s=n(9509);const o=[{name:"highway",label:"Highway",image:n(22417)},{name:"dois",label:"Dois",image:a},{name:"edge",label:"Edge",image:r},{name:"fullscreen",label:"Fullscreen",image:s}]},98725:(e,t,n)=>{"use strict";n(47143),n(86087),n(51609),n(31963)},96390:(e,t,n)=>{"use strict";n.d(t,{n:()=>d});var a=n(85985),r=n(56427),s=n(86087),o=n(27723),i=n(10991),l=n(18603),c=n(94360),u=n(47944);const __=o.__;function d(){const[e,t]=(0,s.useReducer)((e=>!e),!1),{recordEvent:n}=(0,a.st)(),o=(0,s.useCallback)((()=>{e||n("jetpack_social_preview_modal_opened"),t()}),[e,n]);return React.createElement(r.PanelRow,{className:u.A.panel},e&&React.createElement(r.Modal,{onRequestClose:t,title:__("Social Previews","jetpack"),className:u.A.modal,__experimentalHideHeader:!0},React.createElement("div",{className:u.A["modal-content"]},React.createElement(c.X,null),React.createElement(l.w,null)),React.createElement(r.Button,{className:u.A["close-button"],onClick:t,icon:i.A,label:__("Close","jetpack")})),React.createElement(r.Button,{variant:"secondary",onClick:o},__("Preview social posts","jetpack")))}},98588:(e,t,n)=>{"use strict";n.d(t,{z:()=>w});var a=n(96072),r=n.n(a),s=n(29103),o=n(73188),i=n(73066),l=n(57984),c=n(48914),u=n(83945),d=n(73915),p=n(89075),m=n(95550),h=n(3582),g=n(47143),f=n(86087),v=n(18537),b=n(27723),k=n(39553),y=n(62697),E=n(31137);const __=b.__;function w({connection:e}){const t=(0,f.useMemo)((()=>({displayName:e.display_name||e.external_display,profileImage:e.profile_picture,externalName:e.external_name})),[e]),{image:n,media:a,title:b,description:w,url:_,excerpt:C}=(0,E.s)(),A=((0,k.A)().message||"").trim(),x=(0,f.useMemo)((()=>({description:w,image:n,media:a,title:b,url:_})),[w,n,a,b,_]),j=(0,g.useSelect)((e=>{const{getUnstableBase:t}=e(h.store);return(0,v.decodeEntities)(t()?.name)}),[]),S=a?.some((({type:e})=>e.startsWith("image/")||e.startsWith("video/")));switch(e.service_name){case"bluesky":{const e=a?.[0],n=e?.type.startsWith("image/")?e.url:null;return React.createElement(s.O,r()({},x,{description:(0,v.decodeEntities)(C),user:{avatarUrl:t.profileImage,address:t.externalName,displayName:t.displayName},customText:(0,v.decodeEntities)(A||`${b}\n\n${C.replaceAll(/[\s\n]/g," ")}`),customImage:n}))}case"facebook":return S?React.createElement(o.h,r()({},x,{type:"article",customText:A||C||b,user:t})):React.createElement(i.l,r()({},x,{type:"article",customText:A||C||b,user:t}));case"instagram-business":{const e=Boolean(n);return S||e?React.createElement(l.l,r()({},x,{image:a?.[0]?.url||n,name:t.displayName,profileImage:t.profileImage,caption:A||b||w})):React.createElement(y.q,null)}case"linkedin":return React.createElement(c.$,r()({},x,{jobTitle:__("Job Title (Company Name)","jetpack"),name:t.displayName,profileImage:t.profileImage,description:A||b||w}));case"mastodon":{const e=a?.[0],n=e?.type.startsWith("image/")?e.url:null;return React.createElement(u._,r()({},x,{description:C,siteName:j,user:{avatarUrl:t.profileImage,address:t.displayName,displayName:t.displayName},customText:A,customImage:n}))}case"nextdoor":{const e=`${A||b||w} ${a.length?_:""}`.trim();return React.createElement(d.K,r()({},x,{description:e,name:t.displayName,profileImage:t.profileImage}))}case"threads":{let e=b;A?e=A:b&&C&&(e=`${b}\n\n${C}`);const n=500-_.length-2;return e=(0,v.decodeEntities)(e).slice(0,n),e+=`\n\n${_}`,React.createElement(p.s,r()({},x,{caption:e,name:t.displayName,profileImage:t.profileImage}))}case"tumblr":return React.createElement(m.B,r()({},x,{user:{displayName:t.displayName,avatarUrl:t.profileImage},customText:A}));default:return null}}},18603:(e,t,n)=>{"use strict";n.d(t,{w:()=>h});var a=n(85985),r=n(56427),s=n(47143),o=n(27723),i=n(51609),l=n(31963),c=n(12141),u=n(39329),d=n(48712),p=n(98588),m=n(47944);const __=o.__,_x=o._x;function h(){const{recordEvent:e}=(0,a.st)(),t=(0,d.h)(),{canBeTurnedOn:n,shouldBeDisabled:o}=(0,u.j)(),h=(0,s.useSelect)((e=>e(l.M_).getConnections().filter((({service_name:e})=>t(e))).map((e=>{const t=e.display_name||e.external_display,a=`${e.service_name}-${e.connection_id}`,r=React.createElement(c.A,{label:t,serviceName:e.service_name,profilePicture:e.profile_picture}),s=o(e)||!n(e)||!e.enabled;return{...e,className:s?m.A["disabled-tab"]:"",name:a,title:t,icon:r}}))),[n,t,o]),{toggleConnectionById:g}=(0,s.useDispatch)(l.M_),f=(0,i.useCallback)(((t,n)=>()=>{g(t),e("jetpack_social_connection_toggled",{location:"preview-modal",enabled:!n.enabled,service_name:n.service_name})}),[e,g]);return React.createElement("div",{className:m.A["preview-section"]},React.createElement(r.TabPanel,{tabs:h},(e=>{const t=n(e)&&e.enabled;return React.createElement("div",{className:m.A["preview-content"]},o(e)?null:React.createElement(r.ToggleControl,{label:t?_x("Connection enabled","","jetpack"):__("Connection disabled","jetpack"),checked:t,onChange:f(e.connection_id,e),__nextHasNoMarginBottom:!0}),React.createElement(p.z,{connection:e}))})))}},94360:(e,t,n)=>{"use strict";n.d(t,{X:()=>o});var a=n(27723),r=n(41190),s=n(47944);const __=a.__;function o(){return React.createElement("div",{className:s.A["settings-section"]},React.createElement("div",{className:s.A["settings-header"]},React.createElement("h2",null,__("Social Preview","jetpack"))),React.createElement("div",{className:s.A["settings-content"]},React.createElement("p",{className:s.A["modal-description"]},__("Edit and preview your social post before sharing.","jetpack")),React.createElement(r.o,{analyticsData:{location:"preview-modal"}})))}},42259:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});var a=n(96072),r=n.n(a),s=n(91937),o=n(3582),i=n(47143),l=n(43656),c=n(18537),u=n(39553),d=n(31963);const p=e=>{const{message:t}=(0,u.A)(),{content:n,siteName:a}=(0,i.useSelect)((e=>{const{getEditedPostAttribute:t}=e(l.store),{getUnstableBase:n}=e(o.store);return{content:t("content").split("\x3c!--more")[0],siteName:(0,c.decodeEntities)(n().name)}}),[]),p=(0,i.useSelect)((e=>{const{displayName:t,profileImage:n,username:a}=e(d.M_).getConnectionProfileDetails(d.zW);return{displayName:t,avatarUrl:n,address:a}}),[]),m=e.media?.[0],h=m?.type.startsWith("image/")?m.url:null,g=(0,i.useSelect)((e=>e(d.M_).getConnectionsByService(d.zW)),[]);return React.createElement(s.x,r()({},e,{siteName:a,user:p,description:(0,c.decodeEntities)(n),customText:(0,c.decodeEntities)(t||`${e.title}\n\n${n.replaceAll(/[\s\n]/g," ")}`),customImage:h,hidePostPreview:!g.length}))}},59540:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var a=n(96072),r=n.n(a),s=n(87070),o=n(47143),i=n(39553),l=n(31963);const c=(0,o.withSelect)((e=>{const{getEditedPostAttribute:t}=e("core/editor");return{excerpt:t("excerpt"),content:t("content").split("\x3c!--more")[0]}}))((e=>{const{message:t}=(0,i.A)(),{title:n,excerpt:a,content:c}=e,u=(0,o.useSelect)((e=>{const{displayName:t,profileImage:n}=e(l.Af).getConnectionProfileDetails(l.s);return{displayName:t,avatarUrl:n}}));return React.createElement(s.k,r()({},e,{type:"article",user:u,customText:t||a||c||n}))}))},81048:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var a=n(96072),r=n.n(a),s=n(8797),o=n(47143),i=n(18537),l=n(51609),c=n.n(l);const u=function(e){const t=(0,o.useSelect)((e=>{const{getUnstableBase:t}=e("core"),n=t().name;return(0,i.decodeEntities)(n)}));return c().createElement(s.m,r()({},e,{siteTitle:t}))}},91262:(e,t,n)=>{"use strict";n.d(t,{p:()=>g});var a=n(47656),r=n(3924),s=n(97999),o=n(20578),i=n(56427),l=n(47143),c=n(27723),u=n(51609),d=n.n(u),p=n(39553),m=n(31963),h=n(27844);const __=c.__,_x=c._x;function g(e){const{title:t,image:n,media:c,description:u}=e,{username:g,profileImage:f}=(0,l.useSelect)((e=>e(m.Af).getConnectionProfileDetails(m.bN))),{message:v}=(0,p.A)(),b=c?.some((({type:e})=>e.startsWith("image/")||e.startsWith("video/"))),k=Boolean(n);if(!b&&!k)return d().createElement(a.A,{hideCloseButton:!0,actions:[d().createElement(i.ExternalLink,{key:"learn-more",href:(0,r.A)("jetpack-social-share-to-instagram")},__("Learn more","jetpack"))]},(0,s.siteHasFeature)(h.q.ENHANCED_PUBLISHING)?__("To share to Instagram, add an image/video, or enable Social Image Generator.","jetpack"):_x("You need a featured image to share to Instagram.","The message shown in the Instagram social preview","jetpack"));const y=v||t||u;return d().createElement(o.a,{image:c?.[0]?.url||n,media:c,name:g,profileImage:f,caption:y})}},29650:(e,t,n)=>{"use strict";n.d(t,{p:()=>u});var a=n(7368),r=n(47143),s=n(27723),o=n(51609),i=n.n(o),l=n(39553),c=n(31963);const __=s.__;function u(e){const{title:t,url:n,image:s,media:o,description:u}=e,{displayName:d,profileImage:p}=(0,r.useSelect)((e=>e(c.Af).getConnectionProfileDetails(c.gt))),{message:m}=(0,l.A)(),h=`${m||t||u} ${o.length?n:""}`.trim();return i().createElement(a.G,{jobTitle:__("Job Title (Company Name)","jetpack"),image:s,name:d,profileImage:p,title:t,description:h,url:n,media:o})}},98175:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var a=n(96072),r=n.n(a),s=n(71751),o=n(47143),i=n(18537),l=n(39553),c=n(31963);const u=e=>{const{message:t}=(0,l.A)(),{content:n,siteName:a}=(0,o.useSelect)((e=>{const{getEditedPostAttribute:t}=e("core/editor"),{getUnstableBase:n}=e("core");return{content:t("content").split("\x3c!--more")[0],siteName:(0,i.decodeEntities)(n().name)}})),u=(0,o.useSelect)((e=>{const{displayName:t,profileImage:n,username:a}=e(c.Af).getConnectionProfileDetails(c.V6);return{displayName:t,avatarUrl:n,address:a}})),d=e.media?.[0],p=d?.type.startsWith("image/")?d.url:null;return React.createElement(s.R,r()({},e,{siteName:a,user:u,description:n,customText:t,customImage:p}))}},81115:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var a=n(56427),r=n(18537),s=n(27723),o=n(10991),i=n(19779),l=n(31137);const __=s.__,c=function({onClose:e,initialTabName:t}){const n=(0,i.r)(),{image:s,media:c,title:u,description:d,url:p,excerpt:m}=(0,l.s)();return React.createElement(a.Modal,{onRequestClose:e,className:"jetpack-social-previews__modal",__experimentalHideHeader:!0},React.createElement(a.Button,{className:"jetpack-social-previews__modal--close-btn",onClick:e,icon:o.A,label:__("Close","jetpack")}),React.createElement(a.TabPanel,{className:"jetpack-social-previews__modal-previews",tabs:n,initialTabName:t},(e=>React.createElement("div",null,React.createElement(e.preview,{excerpt:(0,r.decodeEntities)(m),title:(0,r.decodeEntities)(u),description:(0,r.decodeEntities)(d),url:p,image:s,media:c})))))}},49257:(e,t,n)=>{"use strict";n.d(t,{s:()=>c});var a=n(58581),r=n(47143),s=n(51609),o=n.n(s),i=n(39553),l=n(31963);function c(e){const{title:t,url:n,image:s,media:c,description:u}=e,{displayName:d,profileImage:p}=(0,r.useSelect)((e=>e(l.Af).getConnectionProfileDetails(l.zk))),{message:m}=(0,i.A)(),h=`${m||t||u} ${c.length?n:""}`.trim();return o().createElement(a.n,{image:s,name:d,profileImage:p,title:t,description:h,url:n,media:c})}},97192:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var a=n(56427),r=n(27723),s=n(19779);const __=r.__,_x=r._x,o=({openModal:e})=>{const t=(0,s.r)();return React.createElement("div",{className:"jetpack-social-previews__panel"},React.createElement("p",null,__("Preview what this will look like on social networks and Google search.","jetpack")),React.createElement("div",{className:"jetpack-gutenberg-social-icons"},t.map((e=>React.createElement(e.icon,{key:e.name,className:"jetpack-social-previews__icon"})))),React.createElement(a.Button,{variant:"secondary",onClick:e,label:__("Open Social Previews","jetpack")},_x("Preview","Button label that opens the social previews modal","jetpack")))}},68655:(e,t,n)=>{"use strict";n.d(t,{Q:()=>u});var a=n(33389),r=n(47143),s=n(18537),o=n(51609),i=n.n(o),l=n(383),c=n(31963);function u({excerpt:e,title:t,description:n,image:o,url:u,media:d}){const{shareMessage:p}=(0,l.h)(),m=(0,r.useSelect)((a=>{const{displayName:r,profileImage:i}=a(c.M_).getConnectionProfileDetails(c.BB);let l=t;p?l=p:t&&e&&(l=`${t}\n\n${e}`);const m=500-u.length-2;return l=(0,s.decodeEntities)(l).slice(0,m),l+=`\n\n${u}`,[{caption:l,name:r,profileImage:i,title:t,description:n,image:o,media:d,url:u}]}),[e,t,o,n,d,u,p]),h=(0,r.useSelect)((e=>e(c.M_).getConnectionsByService(c.BB)),[]);return i().createElement(a.n,{posts:m,hidePostPreview:!h.length})}},22322:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var a=n(96072),r=n.n(a),s=n(19036),o=n(47143),i=n(39553),l=n(31963);const c=e=>{const{content:t,author:n}=(0,o.useSelect)((e=>{const{getUser:t}=e("core"),{getEditedPostAttribute:n}=e("core/editor"),a=n("author"),r=a&&t(a);return{content:n("content").split("\x3c!--more")[0],author:r?.name}})),{message:a}=(0,i.A)(),c=(0,o.useSelect)((e=>{const{displayName:t,profileImage:a}=e(l.Af).getConnectionProfileDetails(l.me);return{displayName:t||n,avatarUrl:a}}),[n]);return React.createElement(s.s,r()({},e,{user:c,description:t,customText:a}))}},91537:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var a=n(43731),r=n(47143),s=n(51609),o=n.n(s),i=n(383),l=n(31963);const c=function({title:e,description:t,image:n,url:s,media:c}){const{shareMessage:u}=(0,i.h)(),d=(0,r.useSelect)((a=>{const{displayName:r,profileImage:o,username:i}=a(l.Af).getConnectionProfileDetails(l.PX);return[{name:r,profileImage:o,screenName:i,text:u+(c.length?` ${s}`:""),cardType:n?"summary_large_image":"summary",title:e,description:t,image:n,media:c,url:s}]}),[e,n,t,c,s,u]);return o().createElement(a.p,{tweets:d,hidePostPreview:!0})}},19779:(e,t,n)=>{"use strict";n.d(t,{r:()=>E});var a=n(96072),r=n.n(a),s=n(78478),o=n(27723),i=n(51609),l=n.n(i),c=n(31963),u=n(70407),d=n(42259),p=n(59540),m=n(81048),h=n(91262),g=n(29650),f=n(98175),v=n(49257),b=n(68655),k=n(22322),y=n(91537);const __=o.__,_x=o._x;function E(){const e=(0,u.getSupportedAdditionalConnections)().includes(c.BB);return(0,i.useMemo)((()=>[{title:__("Google Search","jetpack"),icon:e=>l().createElement(s.M5,r()({serviceName:"google"},e)),name:"google",preview:m.A},{title:__("X","jetpack"),icon:e=>l().createElement(s.M5,r()({serviceName:"x"},e)),name:"x",preview:y.A},{title:__("Facebook","jetpack"),icon:e=>l().createElement(s.M5,r()({serviceName:"facebook"},e)),name:"facebook",preview:p.A},{title:__("Instagram","jetpack"),icon:e=>l().createElement(s.M5,r()({serviceName:"instagram"},e)),name:"instagram",preview:h.p},e?{title:_x("Threads","The name of the social media network - threads.net","jetpack"),icon:e=>l().createElement(s.M5,r()({serviceName:"threads"},e)),name:"threads",preview:b.Q}:null,{title:__("LinkedIn","jetpack"),icon:e=>l().createElement(s.M5,r()({serviceName:"linkedin"},e)),name:"linkedin",preview:g.p},{title:__("Nextdoor","jetpack"),icon:e=>l().createElement(s.M5,r()({serviceName:"nextdoor"},e)),name:"nextdoor",preview:v.s},{title:__("Tumblr","jetpack"),icon:e=>l().createElement(s.M5,r()({serviceName:"tumblr-alt"},e)),name:"tumblr",preview:k.A},{title:__("Mastodon","jetpack"),icon:e=>l().createElement(s.M5,r()({serviceName:"mastodon"},e)),name:"mastodon",preview:f.A},{title:__("Bluesky","jetpack"),icon:e=>l().createElement(s.M5,r()({serviceName:"bluesky"},e)),name:"bluesky",preview:d.A}].filter(Boolean)),[e])}},31137:(e,t,n)=>{"use strict";n.d(t,{s:()=>l});var a=n(47143),r=n(27723),s=n(383),o=n(74820),i=n(25995);const __=r.__;function l(){const{attachedMedia:e,imageGeneratorSettings:t}=(0,s.h)();return(0,a.useSelect)((n=>{const{getMedia:a}=n("core"),{getEditedPostAttribute:r,getEditedPostContent:s}=n("core/editor"),l=r("featured_media");let c=l?(0,i.l)(a(l)):"";const u=t.enabled?(0,o.S)(t.token):"";if(u&&(c=u),!c){const e=(0,i.t)(s());e&&(c=e)}const d=[],p=e=>{const t=a(e);return t?{type:t.mime_type,url:(0,i.l)(t),alt:t.alt_text}:null};for(const{id:t}of e){const e=p(t);e&&d.push(e)}return{title:(r("meta")?.jetpack_seo_html_title||r("title")||"").trim(),description:(r("meta")?.advanced_seo_description||r("excerpt")||r("content").split("\x3c!--more")[0]||__("Visit the post for more.","jetpack")||"").trim(),url:r("link"),excerpt:(r("excerpt")||r("content").split("\x3c!--more")[0]||"").trim(),image:c,media:d,initialTabName:null}}),[e,t])}},25995:(e,t,n)=>{"use strict";function a(e){return e?e.media_details?.sizes?.large?.source_url||e.source_url:null}function r(e){const t=(new DOMParser).parseFromString(e,"text/html"),n=Array.from(t.querySelectorAll("img")),a=n[0]?.src;return a??null}n.d(t,{l:()=>a,t:()=>r})},7610:(e,t,n)=>{"use strict";n(47143),n(86087),n(51609),n(7162)},18699:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var a=n(86087),r=n(76794);const s=({sourceUrl:e,mime:t,duration:n})=>{const[s,o]=(0,a.useState)(!1),[i,l]=(0,a.useState)(0),c=(0,a.useRef)(null),u=(0,a.useRef)(null),d=(0,a.useRef)(null);(0,a.useEffect)((()=>{c.current?.load()}),[e]);const p=(0,a.useCallback)((()=>{c.current.pause(),c.current.currentTime=0,clearInterval(u.current),clearTimeout(d.current),l(0),o(!1)}),[]),m=(0,a.useCallback)((()=>{d.current=setTimeout((()=>{s||(c.current.play(),o(!0),u.current=setInterval((()=>{l((e=>e+1))}),1e3))}),500)}),[s]),h=()=>{const e=n-i,t=Math.floor(e/60),a=String(Math.floor(e%60)).padStart(2,"0");return React.createElement("div",{className:r.A.progress},React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"6",height:"8",fill:"none"},React.createElement("path",{fill:"#fff",d:"M5.25 3.567a.5.5 0 0 1 0 .866L.75 7.031A.5.5 0 0 1 0 6.598V1.402A.5.5 0 0 1 .75.969l4.5 2.598Z"})),React.createElement("span",{className:r.A.duration},`${t}:${a}`))};return React.createElement("div",{className:r.A.wrapper,onMouseEnter:m,onMouseLeave:p},React.createElement("video",{ref:c,onEnded:p,muted:!0},React.createElement("source",{src:e,type:t})),React.createElement(h,null))}},98420:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});var a=n(383);function r(){const{attachedMedia:e,updateJetpackSocialOptions:t}=(0,a.h)();return{attachedMedia:e,updateAttachedMedia:e=>t("attached_media",e)}}},54915:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var a=n(47143),r=n(43656);const s=()=>(0,a.useSelect)((e=>e(r.store).getEditedPostAttribute("featured_media")))},49747:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var a=n(47143),r=n(43656),s=n(86087),o=n(383);const i=(e,t)=>({isEnabled:e?.enabled??!t,customText:e?.custom_text??null,imageType:e?.image_type??null,imageId:e?.image_id??null,template:e?.template??null,token:e?.token??null});function l(){const{imageGeneratorSettings:e,jetpackSocialOptions:t,updateJetpackSocialOptions:n}=(0,o.h)(),{isPostPublished:l}=(0,a.useSelect)((e=>({isPostPublished:e(r.store).isCurrentPostPublished()}))),c=(0,s.useCallback)(((t,a)=>{const r={...e,[t]:a};n("image_generator_settings",r)}),[e,n]),u=(0,s.useCallback)((t=>{const a={...e,...t};n("image_generator_settings",a)}),[e,n]);return{...i(t.image_generator_settings,l),setIsEnabled:e=>c("enabled",e),setToken:e=>c("token",e),updateSettings:u}}},92214:(e,t,n)=>{"use strict";n.d(t,{P:()=>d});var a=n(47143),r=n(98420),s=n(54915),o=n(80624),i=n(52367),l=n(80682),c=n(50001),u=n(31963);function d(){const{enabledConnections:e}=(0,c.A)(),{attachedMedia:t}=(0,r.A)(),n=(0,s.A)(),d=t[0]?.id||n,{validationErrors:p,isConvertible:m}=(0,i.A)(e,(0,o.A)(d)[0]),h=(0,a.useSelect)((e=>e(u.M_).getBrokenConnections().map((e=>e.connection_id))),[]);return e.some((function({connection_id:e,service_name:t}){return!h.includes(e)&&(!(e in p)||("instagram-business"!==t||!Object.values(p).includes(l.k3))&&m)}))}},80624:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var a=n(47143),r=n(86087);const s=async e=>{if(!e)return{};let t={mime:e.mime_type,fileSize:e.media_details.filesize,length:e.media_details?.length};"video/videopress"===e.mime_type&&(t=await(async e=>{if(!e?.media_details?.videopress?.original||!e?.media_details?.videopress?.duration)return{};const t=await fetch(e?.media_details?.videopress?.original,{method:"HEAD"}),n=t.headers.get("content-length"),a=t.headers.get("content-type");return n&&a?{mime:a,fileSize:n,length:Math.round(e.media_details.videopress.duration/1e3)}:{}})(e));const n=e?.media_details?.sizes??{};if(!n.full)return{mediaData:{width:e.media_details.width,height:e.media_details.height,sourceUrl:e.source_url},metaData:t};const a=n.medium||n.large,r={width:a.width,height:a.height,sourceUrl:a.source_url};return{mediaData:{width:n.full.width,height:n.full.height,sourceUrl:n.full.source_url},metaData:t,previewData:r}};function o(e=null){const[t,n]=(0,r.useState)([{}]),o=(0,a.useSelect)((t=>t("core").getMedia(e,{context:"view"})),[e]),i=(0,r.useCallback)((async()=>{try{const e=await s(o);n([e??{}])}catch{n([{}])}}),[o]);return(0,r.useEffect)((()=>{i()}),[i]),t}},80682:(e,t,n)=>{"use strict";n.d(t,{$m:()=>u,I1:()=>l,eF:()=>i,ec:()=>o,i1:()=>c,k3:()=>r,z9:()=>s});var a=n(27723);const __=a.__,r="NO_MEDIA_ERROR",s="FILE_TYPE_ERROR",o="FILE_SIZE_ERROR",i="VIDEO_LENGTH_TOO_LONG_ERROR",l="VIDEO_LENGTH_TOO_SHORT_ERROR",c="DIMENSION_ERROR";function u(e){return{[o]:__("File too big","jetpack"),[i]:__("Video too long","jetpack"),[l]:__("Video too short","jetpack"),[c]:__("Invalid dimensions","jetpack")}[e]||__("Invalid media","jetpack")}},52367:(e,t,n)=>{"use strict";n.d(t,{A:()=>d,c:()=>l});var a=n(86087),r=n(98420),s=n(49747),o=n(80682),i=n(2204);function l(e){return"video"===e.split("/")[0]}const c=e=>{if(!e?.mime||!e?.fileSize)return!1;const{mime:t,fileSize:n}=e;if(l(t))return!1;if(!i.nJ.includes(t))return!1;return!((n?n/Math.pow(1e3,2):0)>=55)},u=(e,t,n,a,r)=>{const s=i.mB[n]??i.EX;if(!e||0===Object.keys(e).length)return s.requiresMedia&&!r?o.k3:null;const{mime:c,fileSize:u}=e;if(!s.requiresMedia&&!a)return null;if(!c||!s.allowedMediaTypes.includes(c.toLowerCase()))return o.z9;if(!t?.width||!t?.height)return o.i1;const d=u?u/Math.pow(1e3,2):null;return l(c)?((e,t,n,a,r)=>{const{minSize:s=0,maxSize:l=i.TR,minLength:c=0,maxLength:u=i.TR,maxWidth:d=i.TR,aspectRatio:p=i.EX.video.aspectRatio}=r;if(!e||e>l||eu)return o.eF;const m=n/a;return mp.max||n>d?o.i1:null})(d,e.length,t.width,t.height,s.video):((e,t,n,a)=>{const{maxSize:r=i.TR,minWidth:s=0,maxWidth:l=i.TR,aspectRatio:c=i.EX.image.aspectRatio}=a,u=t/n;return uc.max||t>l||tr?o.ec:null})(d,t.width,t.height,s.image)},d=(e,t)=>{const{attachedMedia:n}=(0,r.A)(),{isEnabled:o}=(0,s.A)(),i=n.length>0,l=(0,a.useRef)({});return(0,a.useMemo)((()=>{const n=e.reduce(((e,{connection_id:n,service_name:a})=>{const r=u(t.metaData,t.mediaData,a,i,o&&"instagram-business"===a);return r&&(e[n]=r),e}),{});return JSON.stringify(n)!==JSON.stringify(l.current)&&(l.current=n),{validationErrors:l.current,isConvertible:c(t.metaData)}}),[e,t.metaData,t.mediaData,i,o])}},2204:(e,t,n)=>{"use strict";n.d(t,{EX:()=>h,TR:()=>m,UB:()=>v,mB:()=>g,nJ:()=>f});const a="video/mp4",r="video/mov",s="video/videopress",o=["image/jpeg","image/jpg","image/png"],i=o.concat(["image/gif","image/bmp"]),l=["video/3g2","video/3gp","video/3gpp","video/asf","video/avi","video/dat","video/divx","video/dv","video/f4v","video/flv","video/gif","video/m2ts","video/m4v","video/mkv","video/mod","video/mov","video/mp4","video/mpe","video/mpeg","video/mpeg4","video/mpg","video/mts","video/nsv","video/ogm","video/ogv","video/qt","video/tod","video/ts","video/vob","video/wmv"],c=o.concat(["image/gif","image/heic","image/heif","image/webp","image/avif"]),u=["video/webm","video/quicktime","video/ogg"],d=o.concat(["image/gif","image/jpe","image/tif","image/tiff","image/webp"]),p=[r,"video/avi","video/mpg","video/mpeg","video/m4v"],m=1e5,h={requiresMedia:!1,allowedMediaTypes:o.concat([a,s,r]),image:{maxSize:4,minWidth:0,maxWidth:m,aspectRatio:{min:0,max:m}},video:{minLength:0,minSize:0,maxSize:m,maxLength:m,maxWidth:m,aspectRatio:{min:0,max:m}}},g={twitter:{allowedMediaTypes:o.concat([a,s]),image:{maxSize:5},video:{maxSize:512,maxLength:140}},facebook:{allowedMediaTypes:i.concat([s,...l]),image:{maxSize:8},video:{maxSize:1e4,maxLength:14400}},tumblr:{allowedMediaTypes:o.concat([a,r,s]),image:{maxSize:20},video:{maxSize:500,maxLength:600}},linkedin:{allowedMediaTypes:o.concat([a,s]),image:{maxSize:20},video:{minSize:.075,maxSize:200,maxLength:600,minLength:3}},"instagram-business":{requiresMedia:!0,allowedMediaTypes:["image/jpg","image/jpeg",a,r,s],image:{maxSize:8,minWidth:320,maxWidth:1440,aspectRatio:{min:.8,max:1.91}},video:{maxLength:900,minLength:3,maxSize:1e3,maxWidth:1920,aspectRatio:{min:.01,max:10}}},mastodon:{allowedMediaTypes:c.concat([...u,a,s]),image:{maxSize:10},video:{maxSize:40}},nextdoor:{allowedMediaTypes:d.concat([...p,a,s]),image:{maxSize:10},video:{maxSize:500}}},f=["image/png","image/jpeg","image/jpg","image/heic","image/heif","image/webp"],v=[...new Set([...o,...i,...c,...l,...u,...f])]},38656:(e,t,n)=>{"use strict";n.d(t,{e:()=>i});var a=n(97999),r=n(47143),s=n(43656),o=n(27844);function i(){return!(0,r.useSelect)((e=>"jetpack-social-note"===e(s.store).getCurrentPostType()),[])&&(0,a.siteHasFeature)(o.q.IMAGE_GENERATOR)}},383:(e,t,n)=>{"use strict";n.d(t,{h:()=>i});var a=n(47143),r=n(43656),s=n(86087),o=n(70407);function i(){const{editPost:e}=(0,a.useDispatch)(r.store),t=(0,a.useSelect)((e=>{const t=e(r.store).getEditedPostAttribute("meta")||{},n=t.jetpack_publicize_feature_enabled??!0,a=t.jetpack_social_options||{};return{isPublicizeEnabled:n,jetpackSocialOptions:a,attachedMedia:a.attached_media||[],imageGeneratorSettings:a.image_generator_settings??{enabled:!1},isPostAlreadyShared:t.jetpack_social_post_already_shared??!1,shareMessage:`${t.jetpack_publicize_message||""}`.substring(0,(0,o.getShareMessageMaxLength)())}}),[]),n=(0,s.useCallback)(((t,n)=>{e({meta:{[t]:n}})}),[e]),i=(0,s.useCallback)((()=>{n("jetpack_publicize_feature_enabled",!t.isPublicizeEnabled)}),[t.isPublicizeEnabled,n]),l=(0,s.useCallback)(((e,a)=>{n("jetpack_social_options",{...t.jetpackSocialOptions,[e]:a,version:2})}),[t.jetpackSocialOptions,n]);return(0,s.useMemo)((()=>({...t,togglePublicizeFeature:i,updateJetpackSocialOptions:l,updateMeta:n})),[t,i,l,n])}},57275:(e,t,n)=>{"use strict";n.d(t,{z:()=>o});var a=n(47143),r=n(43656),s=n(86087);function o(e){const t=(0,a.useSelect)((e=>e(r.store).isPublishingPost()),[]),[n,o]=(0,s.useState)(e),i=(0,s.useRef)(!1);return(0,s.useEffect)((()=>{t&&(i.current=!0),i.current||o(e)}),[t,e]),n}},77627:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var a=n(39384),r=n(85985),s=n(47143),o=n(43656),i=n(70407),l=n(383);const c="republicize";function u(){const e=!(0,r.d9)()&&!(0,r.Sy)()||(0,r.FB)(c)?.available,t=(0,s.useSelect)((e=>e(o.store).isCurrentPostPublished()),[]),{isUserConnected:n}=(0,a.useConnection)(),{urls:u}=(0,i.getSocialScriptData)(),{isPublicizeEnabled:d,togglePublicizeFeature:p,isPostAlreadyShared:m}=(0,l.h)(),h=(0,r.W4)(c)&&!e,g=t?e:d,f=t&&h,v=t&&!e,b=!n&&!(0,r.Sy)();return{isPublicizeEnabledMeta:d,isPublicizeEnabled:g,togglePublicizeFeature:p,isPublicizeDisabledBySitePlan:f,isRePublicizeFeatureAvailable:e,isRePublicizeUpgradableViaUpsell:h,hidePublicizeFeature:v,isPostAlreadyShared:m,isSocialImageGeneratorEnabled:!!(0,r.$i)()?.social?.isSocialImageGeneratorEnabled,connectionsPageUrl:u.connectionsManagementPage,needsUserConnection:b}}},88584:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var a=n(29491),r=n(86087),s=n(86212),o=n(50001);function i(){const e=(0,r.useRef)(!1),t=(0,r.useRef)(!0),n=(0,s.A)(),{refresh:i}=(0,o.A)(),l=(0,a.useDebounce)(i,0),c=(0,a.useDebounce)(i,2e3);return()=>{t.current&&(l(),t.current=!1),n||(e.current=!0,c.cancel()),n&&e.current&&(c(),e.current=!1)}}},38394:(e,t,n)=>{"use strict";n.d(t,{i:()=>o});var a=n(27723),r=n(16480),s=n(51609);const __=a.__;function o({onError:e,onSuccess:t}){const[n,a]=(0,s.useState)(!1),o=(0,s.useCallback)((async(n,s="image")=>{try{a(!0);const o=await fetch(n);if(!o.ok)return void e(new Error(__("Failed to download image.","jetpack"),{cause:o}));const i=await o.blob(),l=new File([i],s,{type:i.type});await(0,r.uploadMedia)({filesList:[l],onFileChange:([e])=>{void 0!==e.id&&(t(e),a(!1))},onError:t=>{e(new Error(__("Failed to save image to library.","jetpack"),{cause:t})),a(!1)},maxUploadFileSize:0})}catch(t){e(new Error(__("Failed to save image to library.","jetpack"),{cause:t}))}finally{a(!1)}}),[e,t]);return(0,s.useMemo)((()=>({isSaving:n,save:o})),[n,o])}},49036:(e,t,n)=>{"use strict";n.d(t,{Wv:()=>l,_D:()=>i});var a=n(29491),r=n(47143),s=n(43656),o=n(86087);function i(e,t){const n=(0,r.useSelect)((e=>e(s.store).isPublishingPost()),[]),i=(0,a.usePrevious)(n);(0,o.useEffect)((()=>{i&&!n&&e()}),[n,i,e,t])}function l(e,t){const n=(0,r.useSelect)((e=>e(s.store).isPublishingPost()),[]),i=(0,a.usePrevious)(n);(0,o.useEffect)((()=>{!i&&n&&e()}),[n,i,e,t])}},31873:(e,t,n)=>{"use strict";n.d(t,{A:()=>m});var a=n(1455),r=n.n(a),s=n(47143),o=n(43656),i=n(86087),l=n(27723),c=n(50001),u=n(39553),d=n(51371);const __=l.__;function p(e){const t=e?.code,n=e?.errors?.length;if(!t&&!n)return!1;let a="";return t&&(a=__("Unable to share the Post","jetpack")),n&&(a=__("Unable to share the Post","jetpack")),{message:a,result:e}}function m(e){const{message:t}=(0,u.A)(),{skippedConnections:n}=(0,c.A)(),a=(0,s.useSelect)((e=>e(o.store).getCurrentPostId()),[]);e=e||a;const[l,m]=(0,i.useState)({data:[],error:{}}),h=(0,d.n)().api_paths.resharePost.replace("{postId}",e),g=(0,i.useCallback)((async function(a=null){const s={isFetching:!1,isError:!1,isSuccess:!1,data:[],error:{},postId:e};if(l.isFetching)return;const o=a||n;return m({...s,isFetching:!0}),await r()({path:h,method:"POST",data:{message:t,skipped_connections:o,async:!0}}).then(((e={})=>{const t=p(e);if(t)return m((e=>({...e,isFetching:!1,isSuccess:!1,isError:!0,data:[],error:t})));m((t=>({...t,isFetching:!1,isSuccess:!0,isError:!1,data:e?.results,error:{}})))})).catch((e=>{m((t=>({...t,isFetching:!1,isSuccess:!1,isError:!0,data:[],error:p(e)})))})),function(){m(s)}}),[e,t,n,l.isFetching,h]);return{...l,doPublicize:g}}},50001:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var a=n(47143),r=n(31963);function s(){const{refreshConnectionTestResults:e,toggleConnectionById:t}=(0,a.useDispatch)(r.M_);return{...(0,a.useSelect)((e=>{const t=e(r.M_),n=t.getConnections(),a=t.getEnabledConnections(),s=t.getDisabledConnections().map((e=>e.connection_id));return{connections:n,hasConnections:n.length>0,hasEnabledConnections:a.length>0,skippedConnections:s,enabledConnections:a}}),[]),toggleById:t,refresh:e}}},39553:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var a=n(70407),r=n(383);function s(){const{updateMeta:e,shareMessage:t}=(0,r.h)();return{message:t,maxLength:(0,a.getShareMessageMaxLength)(),updateMessage:function(t){e("jetpack_publicize_message",t)}}}},75168:(e,t,n)=>{"use strict";n.d(t,{F:()=>i});var a=n(47143),r=n(43656),s=n(31963),o=n(49036);function i(){const{mergeConnections:e}=(0,a.useDispatch)(s.M_),{didPostSaveRequestSucceed:t,isCurrentPostPublished:n,getEditedPostAttribute:i}=(0,a.useSelect)((e=>e(r.store)),[]);(0,o._D)((()=>{if(t()&&n()){const t=i("jetpack_publicize_connections");t?.length&&e(t)}}),[t,n,i])}},38716:(e,t,n)=>{"use strict";n.r(t),n.d(t,{abortRefreshConnectionsRequest:()=>k,abortRequest:()=>b,addConnection:()=>m,closeConnectionsModal:()=>B,createAbortController:()=>f,createConnection:()=>j,deleteConnection:()=>_,deleteConnectionById:()=>A,deletingConnection:()=>C,mergeConnections:()=>g,openConnectionsModal:()=>T,refreshConnectionTestResults:()=>y,removeAbortControllers:()=>v,setConnections:()=>d,setKeyringResult:()=>p,setReconnectingAccount:()=>R,syncConnectionsToPostMeta:()=>E,toggleConnection:()=>h,toggleConnectionById:()=>w,toggleConnectionsModal:()=>L,updateConnection:()=>S,updateConnectionById:()=>P,updatingConnection:()=>N});var a=n(692),r=n(1455),s=n.n(r),o=n(47143),i=n(43656),l=n(27723),c=n(51371),u=n(54118);const __=l.__;function d(e){return{type:u.dA,connections:e}}function p(e){return{type:u.BN,keyringResult:e}}function m(e){return{type:u.Bc,connection:e}}function h(e){return{type:u.af,connectionId:e}}function g(e){return function({dispatch:t,select:n}){const a=n.getConnections(),r=[],s={done:!1,enabled:!0,toggleable:!0};for(const t of e){const e=a.find((e=>e.connection_id?e.connection_id===t.connection_id:e.id===t.id)),n={...s,...e,...t,shared:e?.shared,is_healthy:t.test_success};r.push(n)}t(d(r))}}function f(e,t){return{type:u.WB,requestType:t,abortController:e}}function v(e){return{type:u.Wp,requestType:e}}function b(e){return function({dispatch:t,select:n}){const a=n.getAbortControllers(e);for(const e of a)e.abort();t(v(e))}}function k(){return b(u.rz)}function y(e=!1){return async function({dispatch:t,select:n}){try{const a=(0,c.n)().api_paths.refreshConnections;for(;n.getUpdatingConnections().length>0||n.getDeletingConnections().length>0;)await new Promise((e=>setTimeout(e,100)));const r=new AbortController;t(f(r,u.rz));t(g(await s()({path:a,signal:r.signal}))),e&&t(E())}catch(n){"AbortError"===n.name&&t(y(e))}}}function E(){return function({registry:e,select:t}){const n=t.getConnections();return e.dispatch(i.store).editPost({jetpack_publicize_connections:n})}}function w(e,t=!0){return function({dispatch:n}){n(h(e)),t&&n(E())}}function _(e){return{type:u.nC,connectionId:e}}function C(e,t=!0){return{type:u.WH,connectionId:e,deleting:t}}function A({connectionId:e,showSuccessNotice:t=!0}){return async function({registry:n,dispatch:r}){const{createErrorNotice:l,createSuccessNotice:c}=(0,o.dispatch)(a.store);try{const a=`/jetpack/v4/social/connections/${e}`;return r(k()),r(C(e)),await s()({method:"DELETE",path:a}),r(_(e)),t&&c(__("Account disconnected successfully.","jetpack"),{type:"snackbar",isDismissible:!0}),n.select(i.store).getCurrentPostId()&&r(E()),!0}catch(e){let t=__("Error disconnecting account.","jetpack");"object"==typeof e&&"message"in e&&e.message&&(t=`${t} ${e.message}`),l(t,{type:"snackbar",isDismissible:!0})}finally{r(C(e,!1))}return!1}}let x=1;function j(e,t={}){return async function({registry:n,dispatch:r}){const{createErrorNotice:c,createSuccessNotice:u}=(0,o.dispatch)(a.store),d="new-"+ ++x;try{const a="/jetpack/v4/social/connections/";r(m({connection_id:d,...t})),r(k()),r(N(d));const o=await s()({method:"POST",path:a,data:e});o&&(r(S(d,{...o,can_disconnect:!0,enabled:!0})),u((0,l.sprintf)(/* translators: %s is the name of the social media platform e.g. "Facebook" */ -__("%s account connected successfully.","jetpack"),o.label),{type:"snackbar",isDismissible:!0}),n.select(i.store).getCurrentPostId()&&r(E()))}catch(e){let t=__("Error connecting account.","jetpack");"object"==typeof e&&"message"in e&&e.message&&(t=`${t} ${e.message}`),c(t,{type:"snackbar",isDismissible:!0})}finally{r(N(d,!1)),r(_(d))}}}function S(e,t){return{type:u.dw,connectionId:e,data:t}}function N(e,t=!0){return{type:u._6,connectionId:e,updating:t}}function R(e){return{type:u.Nv,reconnectingAccount:e}}function P(e,t){return async function({dispatch:n,select:r}){const{createErrorNotice:i,createSuccessNotice:l}=(0,o.dispatch)(a.store),c=r.getConnectionById(e);try{const a=`/jetpack/v4/social/connections/${e}`;n(k()),n(S(e,t)),n(N(e));await s()({method:"POST",path:a,data:t})&&l(__("Account updated successfully.","jetpack"),{type:"snackbar",isDismissible:!0})}catch(t){let a=__("Error updating account.","jetpack");"object"==typeof t&&"message"in t&&t.message&&(a=`${a} ${t.message}`),n(S(e,c)),i(a,{type:"snackbar",isDismissible:!0})}finally{n(N(e,!1))}}}function L(e){return{type:u.xW,isOpen:e}}function T(){return L(!0)}function B(){return L(!1)}},54118:(e,t,n)=>{"use strict";n.d(t,{BN:()=>d,Bc:()=>r,M6:()=>k,Nv:()=>u,WB:()=>m,WH:()=>i,Wp:()=>h,_6:()=>c,_y:()=>b,aF:()=>y,af:()=>s,b5:()=>g,dA:()=>a,dw:()=>l,fz:()=>v,nC:()=>o,rz:()=>f,xW:()=>p});const a="SET_CONNECTIONS",r="ADD_CONNECTION",s="TOGGLE_CONNECTION",o="DELETE_CONNECTION",i="DELETING_CONNECTION",l="UPDATE_CONNECTION",c="UPDATING_CONNECTION",u="SET_RECONNECTING_ACCOUNT",d="SET_KEYRING_RESULT",p="TOGGLE_CONNECTIONS_MODAL",m="ADD_ABORT_CONTROLLER",h="REMOVE_ABORT_CONTROLLERS",g="DEFAULT",f="REFRESH_CONNECTIONS",v="FETCH_POST_SHARE_STATUS",b="RECEIVE_POST_SHARE_STATUS",k="TOGGLE_SHARE_STATUS_MODAL",y="POLLING_FOR_POST_SHARE_STATUS"},62491:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var a=n(38716),r=n(72451),s=n(64236),o=n(33134);const i={...r,...a,...s,...n(83117),...o}},72451:(e,t,n)=>{"use strict";n.r(t),n.d(t,{closeShareStatusModal:()=>c,defaultIsRequestComplete:()=>u,fetchPostShareStatus:()=>s,openShareStatusModal:()=>l,pollForPostShareStatus:()=>h,pollingForPostShareStatus:()=>m,receivePostShareStaus:()=>o,toggleShareStatusModal:()=>i});var a=n(43656),r=n(54118);function s(e,t=!0){return{type:r.fz,postId:e,loading:t}}function o(e,t){return{type:r._y,shareStatus:e,postId:t}}function i(e){return{type:r.M6,isOpen:e}}function l(){return i(!0)}function c(){return i(!1)}const u=({lastTimestamp:e,postShareStatus:t})=>e?t.shares.some((t=>t.timestamp>e)):t.shares.length>0,d=6e4,p=3e3;function m(e,t=!0){return{type:r.aF,postId:e,polling:t}}function h({pollingInterval:e=p,postId:t,isRequestComplete:n=u,timeout:r=d}={}){return async function({dispatch:s,select:o,registry:i}){const l=Date.now(),c=t||i.select(a.store).getCurrentPostId(),u=o.getPostShareStatus(c).shares[0]?.timestamp||0;let d=!1,p=!1;s(m(c));do{o.getPostShareStatus(c).loading||s.invalidateResolution("getPostShareStatus",[c]),await new Promise((t=>setTimeout(t,e))),d=n({lastTimestamp:u,postShareStatus:o.getPostShareStatus(c)}),p=Date.now()-l>r}while(!d&&!p);s(m(c,!1))}}},64236:(e,t,n)=>{"use strict";n.r(t),n.d(t,{updateSocialImageGeneratorConfig:()=>s});var a=n(3582),r=n(75238);function s(e){return async function({registry:t}){const{saveSite:n}=t.dispatch(a.store);await n({[r.A]:e})}}},33134:(e,t,n)=>{"use strict";n.r(t),n.d(t,{updateSocialPluginSettings:()=>r});var a=n(3582);function r(e){return async function({registry:t}){const{saveEntityRecord:n}=t.dispatch(a.store);await n("jetpack/v4","social/settings",e)}}},83117:(e,t,n)=>{"use strict";n.r(t),n.d(t,{updateUtmSettings:()=>s});var a=n(3582),r=n(75238);function s(e){return async function({registry:t}){const{saveSite:n}=t.dispatch(a.store);await n({[r.b]:e})}}},75238:(e,t,n)=>{"use strict";n.d(t,{A:()=>a,b:()=>r});const a="jetpack_social_image_generator_settings",r="jetpack_social_utm_settings"},31963:(e,t,n)=>{"use strict";n.d(t,{Af:()=>c,BB:()=>k,M_:()=>y,PX:()=>b,V6:()=>h,bN:()=>p,gt:()=>m,me:()=>v,s:()=>d,zW:()=>g,zk:()=>f});var a=n(47143),r=n(70407),s=n(62491),o=n(708),i=n(75772),l=n(62146);const c="jetpack-social-plugin",u={reducer:o.A,actions:s.A,selectors:l.A,resolvers:i.Ay,initialState:(0,r.getSocialScriptData)()?.store_initial_state},d="facebook",p="instagram-business",m="linkedin",h="mastodon",g="bluesky",f="nextdoor",v="tumblr",b="twitter",k="threads",y=(0,a.createReduxStore)(c,u);(0,a.register)(y)},62015:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});var a=n(54118);const r=(e={connections:[]},t)=>{switch(t.type){case a.xW:return{...e,isConnectionsModalOpen:t.isOpen};case a.Bc:return{...e,connections:[...e.connections,t.connection]};case a.dA:return{...e,connections:t.connections};case a.nC:return{...e,connections:e.connections.filter((({connection_id:e})=>e!==t.connectionId))};case a.WH:{const n=new Set(e.deletingConnections);return t.deleting?n.add(t.connectionId):n.delete(t.connectionId),{...e,deletingConnections:[...n]}}case a.Nv:return{...e,reconnectingAccount:t.reconnectingAccount};case a.dw:return{...e,connections:e.connections.map((e=>e.connection_id===t.connectionId?{...e,...t.data}:e))};case a._6:{const n=new Set(e.updatingConnections);return t.updating?n.add(t.connectionId):n.delete(t.connectionId),{...e,updatingConnections:[...n]}}case a.WB:{const n=t.requestType||a.b5;return{...e,abortControllers:{...e.abortControllers,[n]:[...e.abortControllers?.[n]||[],t.abortController]}}}case a.Wp:{const n=t.requestType||a.b5;return{...e,abortControllers:{...e.abortControllers,[n]:[]}}}case a.BN:return{...e,keyringResult:t.keyringResult};case a.af:return{...e,connections:e.connections.map((e=>(e.connection_id?e.connection_id===t.connectionId:e.id===t.connectionId)?{...e,enabled:!e.enabled}:e))}}return e}},708:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var a=n(47143),r=n(62015),s=n(53202);const o=(0,a.combineReducers)({connectionData:r.A,shareStatus:s.q})},53202:(e,t,n)=>{"use strict";n.d(t,{q:()=>r});var a=n(54118);function r(e={},t){switch(t.type){case a.fz:return{...e,[t.postId]:{shares:[],...e?.[t.postId],loading:t.loading??!0}};case a.aF:return{...e,[t.postId]:{shares:[],...e?.[t.postId],polling:t.polling??!0}};case a._y:return{...e,[t.postId]:{...e?.[t.postId],...t.shareStatus,loading:!1}};case a.M6:return{...e,isModalOpen:t.isOpen}}return e}},75772:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>p});var a=n(1455),r=n.n(a),s=n(3582),o=n(43656),i=n(27723),l=n(51371),c=n(59061),u=n(38716),d=n(72451);const __=i.__;const p={getConnections:function(){return function({dispatch:e,registry:t}){const n=t.select(o.store);if(!n.getCurrentPostId())return;const a=n.getEditedPostAttribute("jetpack_publicize_connections");e((0,u.setConnections)(a||[]))}},getPostShareStatus:function(e){return async({dispatch:t,registry:n})=>{const a=e||n.select(o.store).getCurrentPostId(),{feature_flags:s}=(0,l.n)();if(s.useShareStatus)try{t((0,d.fetchPostShareStatus)(a));let e=await r()({path:`jetpack/v4/social/share-status/${a}`});e=(0,c.xA)(e),t((0,d.receivePostShareStaus)(e,a))}catch{t((0,d.fetchPostShareStatus)(a,!1))}}},getSocialPluginSettings:function(){return async({registry:e})=>{e.select(s.store).getEntitiesConfig("jetpack/v4").some((({name:e})=>"social/settings"===e))||await e.dispatch(s.store).addEntities([{kind:"jetpack/v4",name:"social/settings",baseURL:"/jetpack/v4/social/settings",label:__("Social Settings","jetpack")}])}}}},28343:(e,t,n)=>{"use strict";n.r(t),n.d(t,{getAbortControllers:()=>b,getBrokenConnections:()=>i,getConnectionById:()=>o,getConnectionProfileDetails:()=>h,getConnections:()=>s,getConnectionsByService:()=>l,getDeletingConnections:()=>g,getDisabledConnections:()=>m,getEnabledConnections:()=>p,getFailedConnections:()=>u,getKeyringResult:()=>E,getMustReauthConnections:()=>d,getReconnectingAccount:()=>v,getUpdatingConnections:()=>f,hasConnections:()=>c,isBlueskyAccountAlreadyConnected:()=>y,isConnectionsModalOpen:()=>w,isMastodonAccountAlreadyConnected:()=>k});var a=n(50384),r=n(54118);function s(e){return e.connectionData?.connections??[]}function o(e,t){return s(e).find((e=>e.connection_id===t))}function i(e){return s(e).filter((e=>"broken"===e.status||(0,a.Y)(e,"broken")))}function l(e,t){return s(e).filter((({service_name:e})=>e===t))}function c(e){return s(e).length>0}function u(e){return s(e).filter((e=>!1===e.test_success))}function d(e){return s(e).filter((e=>"must_reauth"===e.test_success)).map((e=>e.service_name))}function p(e){return s(e).filter((e=>e.enabled))}function m(e){return s(e).filter((e=>!e.enabled))}function h(e,t,{forceDefaults:n=!1}={}){let a="",r="",o="";if(!n){const n=s(e).find((({service_name:e})=>t===e));if(n){const{display_name:e,profile_display_name:s,profile_picture:i,external_display:l,external_name:c}=n;a="twitter"===t?s:e||l,o="twitter"===t?e:n.username,r=i,"bluesky"===t&&(o=c)}}return{displayName:a,profileImage:r,username:o}}function g(e){return e.connectionData?.deletingConnections??[]}function f(e){return e.connectionData?.updatingConnections??[]}function v(e){return e.connectionData?.reconnectingAccount}function b(e,t=r.b5){return e.connectionData?.abortControllers?.[t]??[]}function k(e,t){return l(e,"mastodon").some((e=>e.external_display===t))}function y(e,t){return l(e,"bluesky").some((e=>e.external_name===t))}function E(e){return e.connectionData?.keyringResult}function w(e){return e.connectionData?.isConnectionsModalOpen??!1}},62146:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var a=n(3582),r=n(47143),s=n(28343),o=n(49424),i=n(59379),l=n(68273),c=n(86982);const u={...s,...o,isSavingSiteSettings:(0,r.createRegistrySelector)((e=>()=>e(a.store).isSavingEntityRecord("root","site",void 0))),...i,...c,...l}},49424:(e,t,n)=>{"use strict";n.r(t),n.d(t,{getPostShareStatus:()=>s,isShareStatusModalOpen:()=>o});var a=n(47143),r=n(43656);const s=(0,a.createRegistrySelector)((e=>(t,n)=>{const a=n||e(r.store).getCurrentPostId();return t.shareStatus?.[a]??{shares:[]}}));function o(e){return e.shareStatus?.isModalOpen??!1}},59379:(e,t,n)=>{"use strict";n.r(t),n.d(t,{getSocialImageGeneratorConfig:()=>i});var a=n(3582),r=n(47143),s=n(70407),o=n(75238);const i=(0,r.createRegistrySelector)((e=>()=>{const{getSite:t}=e(a.store),n=t(void 0,{_fields:o.A});return n?.[o.A]??(0,s.getSocialScriptData)().settings.socialImageGenerator}))},68273:(e,t,n)=>{"use strict";n.r(t),n.d(t,{getSocialPluginSettings:()=>o,isSavingSocialPluginSettings:()=>i});var a=n(3582),r=n(47143),s=n(70407);const o=(0,r.createRegistrySelector)((e=>()=>e(a.store).getEntityRecord("jetpack/v4","social/settings",void 0)??(0,s.getSocialScriptData)().settings.socialPlugin)),i=(0,r.createRegistrySelector)((e=>()=>e(a.store).isSavingEntityRecord("jetpack/v4","social/settings",void 0)))},86982:(e,t,n)=>{"use strict";n.r(t),n.d(t,{getUtmSettings:()=>i});var a=n(3582),r=n(47143),s=n(70407),o=n(75238);const i=(0,r.createRegistrySelector)((e=>()=>{const{getSite:t}=e(a.store),n=t(void 0,{_fields:o.b});return n?.[o.b]??(0,s.getSocialScriptData)().settings.utmSettings}))},50384:(e,t,n)=>{"use strict";n.d(t,{Y:()=>a});const a=(e,t)=>!1===e.is_healthy&&t===(e.error_code??"broken")},27844:(e,t,n)=>{"use strict";n.d(t,{q:()=>a});const a={ENHANCED_PUBLISHING:"social-enhanced-publishing",IMAGE_GENERATOR:"social-image-generator"}},12093:(e,t,n)=>{"use strict";n.d(t,{T:()=>r});const a=255;function r(){return a}},3280:(e,t,n)=>{"use strict";n.d(t,{n:()=>r});var a=n(85985);function r(){return(0,a.$i)()?.social?.supportedAdditionalConnections||[]}},70407:(e,t,n)=>{"use strict";n.d(t,{getShareMessageMaxLength:()=>a.T,getSocialScriptData:()=>i.n,getSupportedAdditionalConnections:()=>r.n,hasSocialPaidFeatures:()=>i.p,requestExternalAccess:()=>s.x});var a=n(12093),r=n(3280),s=n(5367),o=n(18672);n.o(o,"GlobalModals")&&n.d(t,{GlobalModals:function(){return o.GlobalModals}}),n.o(o,"getSocialScriptData")&&n.d(t,{getSocialScriptData:function(){return o.getSocialScriptData}}),n.o(o,"hasSocialPaidFeatures")&&n.d(t,{hasSocialPaidFeatures:function(){return o.hasSocialPaidFeatures}}),n.o(o,"usePostCanUseSig")&&n.d(t,{usePostCanUseSig:function(){return o.usePostCanUseSig}}),n.o(o,"useSyncPostDataToStore")&&n.d(t,{useSyncPostDataToStore:function(){return o.useSyncPostDataToStore}});var i=n(51371);n(27844)},5367:(e,t,n)=>{"use strict";n.d(t,{x:()=>r});var a=n(51119);const r=(e,t)=>{const n=new a.A;let r;n.open(e,null,"toolbar=0,location=0,status=0,menubar=0,"+n.getScreenCenterSpecs(780,700)),n.once("close",(()=>{t(r?.ID?r:{})})),n.on("message",(e=>{r=e?.data}))}},51371:(e,t,n)=>{"use strict";n.d(t,{n:()=>r,p:()=>s});var a=n(97999);function r(){return(0,a.getScriptData)()?.social}function s(){return(0,a.siteHasFeature)("social-enhanced-publishing")}},59061:(e,t,n)=>{"use strict";function a(e){return e&&"shares"in e&&e.done&&e.shares.sort(((e,t)=>t.timestamp-e.timestamp)),e}function r(e){return t=>t.service_name===e.service&&(e.external_id?t.external_id===e.external_id:t.connection_id===e.connection_id.toString())}function s(e,t){return e.service===t.service&&(e.connection_id===t.connection_id||!(!e.external_id&&!t.external_id)&&e.external_id===t.external_id)}n.d(t,{Ri:()=>s,eJ:()=>r,xA:()=>a})},50646:(e,t,n)=>{"use strict";n(51371)},18672:()=>{},85985:(e,t,n)=>{"use strict";n.d(t,{$i:()=>a.A,BT:()=>l.A,Cq:()=>h.C,Dk:()=>c.Dk,FB:()=>o.A,GE:()=>r.A,GT:()=>c.GT,Q4:()=>c.Q4,Sy:()=>s.Sy,W4:()=>c.W4,aq:()=>c.aq,d9:()=>s.d9,gB:()=>u.A,jt:()=>m.A,lk:()=>s.lk,pP:()=>s.pP,q7:()=>p.A,sH:()=>c.sH,sh:()=>h.s,st:()=>d.A,tu:()=>c.tu,vp:()=>i.A});var a=n(34972),r=n(54815),s=n(62634),o=n(60703),i=n(82034),l=n(65595),c=n(53265),u=n(49354),d=n(73489),p=n(76923),m=n(15877),h=n(30335);n(88290)},15877:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var a=n(67142),r=n(51609),s=n.n(r);const o=()=>s().createElement(a.A,{className:"jetpack-editor-panel-logo",height:16,logoColor:"#1E1E1E",showText:!1})},30335:(e,t,n)=>{"use strict";n.d(t,{C:()=>o,s:()=>s});var a=n(86087),r=n(19334);function s(e){const t={};let n="span",r=e.icon;const s=document.createElement("div");s.innerHTML=e.icon;const o=s.querySelector("svg");return o&&(n="svg",r=o.innerHTML,Array.from(o.attributes).forEach((({nodeName:e,nodeValue:n})=>t[e]=n))),(0,a.createElement)(n,{...t,dangerouslySetInnerHTML:{__html:r||""}})}function o(e){return{src:s(e),foreground:(0,r.A)()}}},19334:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var a=n(62634);const r="#069e08";function s(){return(0,a.d9)()||(0,a.Sy)()?null:r}},34972:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const a="Jetpack_Editor_Initial_State";function r(){return"object"==typeof window?window?.[a]??null:null}},60703:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});var a=n(34972);function r(e){const t=(0,a.A)(),n=t?.available_blocks?.[e]?.available??!1,r=t?.available_blocks?.[e]?.unavailable_reason??"unknown";return{available:n,...!n&&{details:t?.available_blocks?.[e]?.details??[],unavailableReason:r}}}},54815:(e,t,n)=>{"use strict";function a(){return window&&window.Jetpack_Editor_Initial_State&&window.Jetpack_Editor_Initial_State.siteFragment?window.Jetpack_Editor_Initial_State.siteFragment:null}n.d(t,{A:()=>a})},73489:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var a=n(90372),r=n(39384),s=n(86087);const{tracks:o}=a.A,{recordEvent:i}=o,l=({pageViewEventName:e=null,pageViewNamespace:t="jetpack",pageViewSuffix:n="page_view",pageViewEventProperties:l={}}={})=>{const[c,u]=(0,s.useState)(!1),{isUserConnected:d,isRegistered:p,userConnectionData:m={}}=(0,r.useConnection)(),{wpcomUser:{login:h,ID:g}={},blogId:f}=m.currentUser||{},v=(0,s.useCallback)((async(e,t={})=>{d&&g&&h&&i(e,t)}),[d,g,h]);return(0,s.useEffect)((()=>{d&&g&&h&&f&&a.A.initialize(g,h,{blog_id:f})}),[f,g,h,d]),(0,s.useEffect)((()=>{const a=e?`${t}_${e}_${n}`:null;p&&a&&(c||(v(a,l),u(!0)))}),[c,t,e,n,p,l,v]),{recordEvent:v,tracks:o}}},76923:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var a=n(47143),r=n(86087),s=n(88290);const o=e=>{const{isModuleActive:t,isChangingStatus:n,isLoadingModules:o}=(0,a.useSelect)((t=>{const n=t(s.F);return{isModuleActive:n.isModuleActive(e),isChangingStatus:n.isModuleUpdating(e),isLoadingModules:n.areModulesLoading(e)}}),[e]),{updateJetpackModuleStatus:i}=(0,a.useDispatch)(s.F),l=(0,r.useCallback)((t=>i({name:e,active:t})),[e,i]);return(0,r.useMemo)((()=>({isLoadingModules:o,isChangingStatus:n,isModuleActive:t,changeStatus:l})),[o,n,t,l])}},49354:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});var a=n(34972);function r(){return(0,a.A)()?.jetpack?.is_current_user_connected??!1}},27105:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>d,E9:()=>u});var a=n(47143),r=n(62634),s=n(94478),o=n(88290);const i="SET_JETPACK_MODULES";function l(e){return u({isLoading:e})}function c(e,t){return{type:"SET_MODULE_UPDATING",name:e,isUpdating:t}}function u(e){return{type:i,options:e}}const d={updateJetpackModuleStatus:function*(e){try{yield c(e.name,!0),yield(0,s.sB)(e);const t=yield(0,s.wz)();return yield u({data:t}),!0}catch(e){const t=(0,a.select)(o.F).getJetpackModules();return yield u(t),!1}finally{yield c(e.name,!1)}},setJetpackModules:u,fetchModules:function*(){if((0,r.Sy)())return!0;try{yield l(!0);const e=yield(0,s.wz)();return yield u({data:e}),!0}catch(e){const t=(0,a.select)(o.F).getJetpackModules();return yield u(t),!1}finally{yield l(!1)}}}},94478:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>c,sB:()=>l,wz:()=>i});var a=n(1455),r=n.n(a);const s="FETCH_JETPACK_MODULES",o="UPDATE_JETPACK_MODULE_STATUS",i=()=>({type:s}),l=e=>({type:o,settings:e}),c={[s]:function(){return r()({path:"/jetpack/v4/module/all",method:"GET"})},[o]:function({settings:e}){return r()({path:`/jetpack/v4/module/${e.name}/active`,method:"POST",data:{active:e.active}})}}},88290:(e,t,n)=>{"use strict";n.d(t,{F:()=>c});var a=n(47143),r=n(27105),s=n(94478),o=n(38862),i=n(62701),l=n(31640);const c="jetpack-modules",u=(0,a.createReduxStore)(c,{reducer:o.A,actions:r.Ay,controls:s.Ay,resolvers:i.A,selectors:l.A});(0,a.register)(u);const d=window?.Initial_State?.getModules||window?.Jetpack_Editor_Initial_State?.modules||null;null!==d&&(0,a.dispatch)(c).setJetpackModules({data:{...d}})},38862:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const a={isLoading:!1,isUpdating:{},data:{}},r=(e=a,t)=>{switch(t.type){case"SET_JETPACK_MODULES":return{...e,...t.options};case"SET_MODULE_UPDATING":return{...e,isUpdating:{...e.isUpdating,[t.name]:t.isUpdating}}}return e}},62701:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var a=n(27105),r=n(94478);const s={getJetpackModules:function*(){try{const e=yield(0,r.wz)();if(e)return(0,a.E9)({data:e})}catch(e){console.error(e)}}}},31640:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});var a=n(62634);const r={getJetpackModules:e=>e.data,isModuleActive:(e,t)=>(0,a.Sy)()||(e?.data?.[t]?.activated??!1),areModulesLoading:e=>e.isLoading??!1,isModuleUpdating:(e,t)=>e?.isUpdating?.[t]??!1}},53265:(e,t,n)=>{"use strict";n.d(t,{Dk:()=>g,GT:()=>v,Q4:()=>u,W4:()=>d,aq:()=>p,sH:()=>f,tu:()=>m});var a=n(27723),r=n(93832),s=n(66087),o=n(34972),i=n(60703),l=n(54815),c=n(62634);const __=a.__;function u({planSlug:e,plan:t,postId:n,postType:a}){const o=(0,s.startsWith)(e,"jetpack_")?e:(0,s.get)(t,["path_slug"]),i=(void 0===a?()=>{const e=new URLSearchParams(window.location.search);return(0,r.addQueryArgs)(window.location.protocol+`//${(0,l.A)().replace("::","/")}/wp-admin/site-editor.php`,{postId:e.get("postId"),postType:e.get("postType"),plan_upgraded:1})}:()=>{const e=["page","post"].includes(a)?"":"edit";return(0,c.Sy)()?(0,r.addQueryArgs)("/"+(0,s.compact)([e,a,(0,l.A)(),n]).join("/"),{plan_upgraded:1}):(0,r.addQueryArgs)(window.location.protocol+`//${(0,l.A)().replace("::","/")}/wp-admin/post.php`,{action:"edit",post:n,plan_upgraded:1})})();return(0,c.d9)()?(0,r.addQueryArgs)(`https://wordpress.com/plans/${(0,l.A)()}`,{redirect_to:i,customerType:"business"}):o&&(0,r.addQueryArgs)(`https://wordpress.com/checkout/${(0,l.A)()}/${o}`,{redirect_to:i})}function d(e){if(!e)return!1;const t=/^jetpack\//.test(e)?e.substr(8,e.length):e,{available:n,unavailableReason:a}=(0,i.A)(t);return!n&&"missing_plan"===a}function p(e,t){return"missing_plan"===e&&t.required_plan}function m(e){if(!e)return!1;const t=/^jetpack\//.test(e)?e.substr(8,e.length):e,{details:n,unavailableReason:a}=(0,i.A)(t);return p(a,n)}const h=[{name:"core/cover",mediaPlaceholder:!0,mediaReplaceFlow:!0,fileType:"video",description:__("Upgrade your plan to use video covers","jetpack")},{name:"core/audio",mediaPlaceholder:!0,mediaReplaceFlow:!0,fileType:"audio",description:__("Upgrade your plan to upload audio","jetpack")}];function g(){return(0,s.get)((0,o.A)(),"jetpack.enable_upgrade_nudge",!1)}const f=e=>(0,s.map)(h,"name").includes(e),v=e=>(0,s.head)((0,s.filter)(h,(({name:t})=>t===e)))},82034:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var a=n(92279),r=n(60703);function s(e,t){const{available:n,unavailableReason:s}=(0,r.A)(e);return!!n&&(0,a.registerPlugin)(`jetpack-${e}`,t)}},62634:(e,t,n)=>{"use strict";n.d(t,{Sy:()=>s,d9:()=>o,lk:()=>l,pP:()=>i});var a=n(34972);function r(){return"object"==typeof window&&"string"==typeof window._currentSiteType?window._currentSiteType:null}function s(){return"simple"===r()}function o(){return"atomic"===r()}function i(){const e=(0,a.A)();return e?.jetpack?.is_private_site??!1}function l(){const e=(0,a.A)();return e?.jetpack?.is_coming_soon??!1}},65595:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var a=n(96072),r=n.n(a),s=n(29491);const o=e=>(0,s.createHigherOrderComponent)((t=>n=>React.createElement(t,r()({},n,{className:n.name===e?"has-warning is-interactive":n.className}))),"withHasWarningIsInteractiveClassNames")},84705:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>a.d});var a=n(58992);n(91135)},91135:(e,t,n)=>{"use strict";n.d(t,{$:()=>a});const a=[{name:"amazon",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M13.582 8.182c-1.648.185-3.802.308-5.344.984-1.781.769-3.03 2.337-3.03 4.644 0 2.953 1.86 4.429 4.253 4.429 2.02 0 3.125-.477 4.685-2.065.516.747.685 1.109 1.629 1.894a.59.59 0 0 0 .672-.066l.006.006c.567-.505 1.599-1.401 2.18-1.888.231-.188.19-.496.009-.754-.52-.718-1.072-1.303-1.072-2.634V8.305c0-1.876.133-3.599-1.249-4.891C15.23 2.369 13.422 2 12.04 2 9.336 2 6.318 3.01 5.686 6.351c-.068.355.191.542.423.594l2.754.298c.258-.013.445-.266.494-.523.236-1.151 1.2-1.706 2.284-1.706.584 0 1.249.215 1.595.738.398.584.346 1.384.346 2.061zm-.533 5.906c-.451.8-1.169 1.291-1.967 1.291-1.09 0-1.728-.83-1.728-2.061 0-2.42 2.171-2.86 4.227-2.86v.615c.001 1.108.027 2.031-.532 3.015m7.634 5.251C18.329 21.076 14.917 22 11.979 22c-4.118 0-7.826-1.522-10.632-4.057-.22-.199-.024-.471.241-.317 3.027 1.762 6.771 2.823 10.639 2.823 2.608 0 5.476-.541 8.115-1.66.397-.169.73.262.341.55m.653 1.704c-.194.163-.379.076-.293-.139.284-.71.92-2.298.619-2.684s-1.99-.183-2.749-.092c-.23.027-.266-.173-.059-.319 1.348-.946 3.555-.673 3.811-.356.26.32-.066 2.533-1.329 3.59"})))},{name:"behance",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M7.799 5.698c.589 0 1.12.051 1.606.156q.722.155 1.241.507.516.351.804.938c.188.387.281.871.281 1.443q0 .93-.421 1.551-.424.62-1.255 1.014 1.133.328 1.689 1.146.559.822.557 1.975 0 .935-.359 1.612a3.14 3.14 0 0 1-.973 1.114q-.613.432-1.399.637A6.1 6.1 0 0 1 7.963 18H2V5.698zm-.35 4.97q.721 0 1.192-.345.465-.344.463-1.119 0-.43-.152-.707a1.1 1.1 0 0 0-.416-.427 1.7 1.7 0 0 0-.596-.216 3.6 3.6 0 0 0-.697-.06H4.709v2.874zm.151 5.237q.401.001.759-.077c.243-.053.457-.137.637-.261.182-.12.332-.283.441-.491q.164-.31.163-.798-.002-.948-.533-1.357c-.356-.27-.83-.404-1.413-.404H4.709v3.388zm8.562-.041q.552.538 1.583.538.74 0 1.277-.374c.354-.248.571-.514.654-.79h2.155c-.347 1.072-.872 1.838-1.589 2.299-.708.463-1.572.693-2.58.693q-1.05 0-1.899-.337a4 4 0 0 1-1.439-.958 4.4 4.4 0 0 1-.904-1.484 5.4 5.4 0 0 1-.32-1.899q0-1 .329-1.863a4.4 4.4 0 0 1 .933-1.492q.607-.63 1.444-.994a4.6 4.6 0 0 1 1.857-.363q1.131-.001 1.98.44a3.94 3.94 0 0 1 1.389 1.181 4.8 4.8 0 0 1 .783 1.69q.24.947.171 1.983h-6.428c-.001.706.237 1.372.604 1.73m2.811-4.68c-.291-.321-.783-.496-1.384-.496q-.585 0-.973.2a2 2 0 0 0-.621.491 1.8 1.8 0 0 0-.328.628 2.7 2.7 0 0 0-.111.587h3.98c-.058-.625-.271-1.085-.563-1.41m-3.916-3.446h4.985V6.524h-4.985z"})))},{name:"blogger-alt",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M19.779 9.904h-.981l-.021.001a1.163 1.163 0 0 1-1.16-1.079l-.001-.013A5.813 5.813 0 0 0 11.803 3H8.871a5.813 5.813 0 0 0-5.813 5.813v6.375a5.813 5.813 0 0 0 5.813 5.813h6.257a5.814 5.814 0 0 0 5.813-5.813l.002-4.121a1.164 1.164 0 0 0-1.164-1.163M8.726 7.713h3.291a1.117 1.117 0 1 1 0 2.234H8.726a1.117 1.117 0 1 1 0-2.234m6.601 8.657H8.72a1.057 1.057 0 1 1 0-2.114h6.607a1.057 1.057 0 1 1 0 2.114"})))},{name:"blogger",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M14.722 14.019a.654.654 0 0 1-.654.654H9.977a.654.654 0 0 1 0-1.308h4.091c.361 0 .654.293.654.654m-4.741-3.321h2.038a.692.692 0 0 0 0-1.384H9.981a.692.692 0 0 0 0 1.384M21 5v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2m-3.456 6.39a.72.72 0 0 0-.72-.72h-.607l-.013.001a.72.72 0 0 1-.718-.668l-.001-.008a3.6 3.6 0 0 0-3.599-3.599H10.07a3.6 3.6 0 0 0-3.599 3.599v3.947a3.6 3.6 0 0 0 3.599 3.599h3.874a3.6 3.6 0 0 0 3.599-3.599z"})))},{name:"bluesky",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M21.2 3.3c-.5-.2-1.4-.5-3.6 1C15.4 6 12.9 9.2 12 11c-.9-1.8-3.4-5-5.7-6.7-2.2-1.6-3-1.3-3.6-1S2 4.6 2 5.1s.3 4.7.5 5.4c.7 2.3 3.1 3.1 5.3 2.8-3.3.5-6.2 1.7-2.4 5.9 4.2 4.3 5.7-.9 6.5-3.6.8 2.7 1.7 7.7 6.4 3.6 3.6-3.6 1-5.4-2.3-5.9 2.2.2 4.6-.5 5.3-2.8.4-.7.7-4.8.7-5.4 0-.5-.1-1.5-.8-1.8"})))},{name:"codepen",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"m22.016 8.84-.007-.037q-.006-.037-.015-.072-.007-.022-.013-.042l-.023-.062-.02-.042a.4.4 0 0 0-.03-.057l-.025-.038-.035-.052-.03-.037q-.021-.026-.043-.045-.015-.018-.035-.035a.4.4 0 0 0-.048-.04l-.037-.03-.015-.012-9.161-6.096a.86.86 0 0 0-.955 0L2.359 8.237l-.015.012-.038.028-.048.04a.638.638 0 0 0-.078.082q-.018.018-.03.037-.018.026-.035.052l-.025.038q-.016.031-.03.059l-.02.041a1 1 0 0 0-.034.106q-.01.034-.016.071-.003.02-.006.037a1 1 0 0 0-.009.114v6.093q0 .056.008.112l.007.038q.006.035.015.072a.2.2 0 0 0 .013.04q.01.032.022.063l.02.04a.4.4 0 0 0 .055.096l.035.052.03.037.042.045.035.035q.023.02.048.04l.038.03.013.01 9.163 6.095a.858.858 0 0 0 .959.004l9.163-6.095.015-.01q.02-.015.037-.03l.048-.04q.02-.017.035-.035.025-.024.043-.045l.03-.037.035-.052.025-.038a.4.4 0 0 0 .03-.058l.02-.04.023-.063c.003-.013.01-.027.013-.04q.009-.037.015-.072l.007-.037q.006-.062.007-.117V8.954a1 1 0 0 0-.008-.114m-9.154-4.376 6.751 4.49-3.016 2.013-3.735-2.492zm-1.724 0v4.009l-3.735 2.494-3.014-2.013zm-7.439 6.098L5.853 12l-2.155 1.438zm7.439 8.974-6.749-4.491 3.015-2.011 3.735 2.492zM12 14.035 8.953 12 12 9.966 15.047 12zm.862 5.501v-4.009l3.735-2.492 3.016 2.011zm7.441-6.098L18.147 12l2.156-1.438z"})))},{name:"deezer",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M20.129 3.662c.222-1.287.548-2.096.909-2.098h.001c.673.002 1.219 2.809 1.219 6.274s-.546 6.274-1.22 6.274c-.276 0-.531-.477-.736-1.276-.324 2.926-.997 4.937-1.776 4.937-.603 0-1.144-1.208-1.507-3.114-.248 3.624-.872 6.195-1.602 6.195-.458 0-.875-1.019-1.184-2.678C13.861 21.6 13.003 24 12.002 24s-1.861-2.399-2.231-5.824c-.307 1.659-.724 2.678-1.184 2.678-.73 0-1.352-2.571-1.602-6.195-.363 1.905-.903 3.114-1.507 3.114-.778 0-1.452-2.011-1.776-4.937-.204.802-.46 1.276-.736 1.276-.674 0-1.22-2.809-1.22-6.274s.546-6.274 1.22-6.274c.362 0 .685.812.91 2.098.357-2.22.94-3.662 1.6-3.662.784 0 1.463 2.04 1.784 5.002.314-2.156.791-3.53 1.325-3.53.749 0 1.385 2.703 1.621 6.474.443-1.933 1.085-3.146 1.795-3.146s1.352 1.214 1.795 3.146c.237-3.771.872-6.474 1.621-6.474.533 0 1.009 1.374 1.325 3.53.321-2.962 1-5.002 1.784-5.002.658 0 1.244 1.443 1.603 3.662M0 7.221c0-1.549.31-2.805.692-2.805s.692 1.256.692 2.805-.31 2.805-.692 2.805S0 8.77 0 7.221m22.616 0c0-1.549.31-2.805.692-2.805S24 5.672 24 7.221s-.31 2.805-.692 2.805-.692-1.256-.692-2.805"})))},{name:"discord",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M20.33 4.523A20 20 0 0 0 15.379 3a14 14 0 0 0-.634 1.289 18.4 18.4 0 0 0-5.495 0A14 14 0 0 0 8.615 3 20 20 0 0 0 3.66 4.527C.527 9.163-.323 13.684.102 18.141a20 20 0 0 0 6.073 3.049 14.7 14.7 0 0 0 1.301-2.097 13 13 0 0 1-2.048-.978q.258-.189.502-.378a14.27 14.27 0 0 0 12.142 0q.247.202.502.378a13 13 0 0 1-2.052.98 14.5 14.5 0 0 0 1.301 2.095 19.9 19.9 0 0 0 6.076-3.047c.498-5.168-.851-9.648-3.568-13.62M8.013 15.4c-1.183 0-2.161-1.074-2.161-2.395S6.796 10.6 8.01 10.6s2.183 1.083 2.163 2.405S9.22 15.4 8.013 15.4m7.974 0c-1.186 0-2.16-1.074-2.16-2.395s.944-2.405 2.16-2.405 2.178 1.083 2.157 2.405-.951 2.395-2.158 2.395"})))},{name:"dribbble",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12 22C6.486 22 2 17.514 2 12S6.486 2 12 2s10 4.486 10 10-4.486 10-10 10m8.434-8.631c-.292-.092-2.644-.794-5.32-.365 1.117 3.07 1.572 5.57 1.659 6.09a8.56 8.56 0 0 0 3.661-5.725m-5.098 6.507c-.127-.749-.623-3.361-1.822-6.477l-.056.019c-4.818 1.679-6.547 5.02-6.701 5.334A8.5 8.5 0 0 0 12 20.555a8.5 8.5 0 0 0 3.336-.679m-9.682-2.152c.193-.331 2.538-4.213 6.943-5.637q.167-.054.337-.102a29 29 0 0 0-.692-1.45c-4.266 1.277-8.405 1.223-8.778 1.216a8.497 8.497 0 0 0 2.19 5.973m-2.015-7.46c.382.005 3.901.02 7.897-1.041a55 55 0 0 0-3.167-4.94 8.57 8.57 0 0 0-4.73 5.981m6.359-6.555a46 46 0 0 1 3.187 5c3.037-1.138 4.323-2.867 4.477-3.085a8.51 8.51 0 0 0-7.664-1.915m8.614 2.903c-.18.243-1.612 2.078-4.77 3.367a27 27 0 0 1 .751 1.678c2.842-.357 5.666.215 5.948.275a8.5 8.5 0 0 0-1.929-5.32"})))},{name:"dropbox",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12 6.134 6.069 9.797 2 6.54l5.883-3.843zm-10 6.92 5.883 3.843L12 13.459 6.069 9.797zm10 .405 4.116 3.439L22 13.054l-4.069-3.257zM22 6.54l-5.884-3.843L12 6.134l5.931 3.663zm-9.989 7.66-4.129 3.426-1.767-1.153v1.291l5.896 3.539 5.897-3.539v-1.291l-1.769 1.153z"})))},{name:"eventbrite",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M18.041 3.931 5.959 3A2.96 2.96 0 0 0 3 5.959v12.083A2.96 2.96 0 0 0 5.959 21l12.083-.931C19.699 19.983 21 18.744 21 17.11V6.89c0-1.634-1.259-2.863-2.959-2.959M16.933 8.17c-.082.215-.192.432-.378.551-.188.122-.489.132-.799.132-1.521 0-3.062-.048-4.607-.048q-.23 1.061-.451 2.128c.932-.004 1.873.005 2.81.005.726 0 1.462-.069 1.586.525.04.189-.001.426-.052.615-.105.38-.258.676-.625.783-.185.054-.408.058-.646.058-1.145 0-2.345.017-3.493.02-.169.772-.328 1.553-.489 2.333 1.57-.005 3.067-.041 4.633-.058.627-.007 1.085.194 1.009.85a2.2 2.2 0 0 1-.211.725c-.102.208-.248.376-.488.452-.237.075-.541.064-.862.078-.304.014-.614.008-.924.016-.309.009-.619.022-.919.022-1.253 0-2.429.08-3.683.073-.603-.004-1.014-.249-1.124-.757-.059-.273-.018-.58.036-.841a3543 3543 0 0 1 1.629-7.763c.056-.265.114-.511.225-.714a1.24 1.24 0 0 1 .79-.62c.368-.099.883-.047 1.344-.047.305 0 .612.008.914.016.925.026 1.817.03 2.747.053.304.007.615.016.915.016.621 0 1.17.073 1.245.614.039.288-.051.567-.132.783"})))},{name:"facebook",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("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-10"})))},{name:"fediverse",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 743 743"},React.createElement("g",null,React.createElement("path",{d:"M181.131 275.137a68.9 68.9 0 0 1-29.465 29.328l161.758 162.389 38.998-19.764zm213.363 214.187-38.998 19.764 81.963 82.283a68.9 68.9 0 0 1 29.471-29.332zM581.646 339.391l-91.576 46.41 6.752 43.189 103.616-52.513a68.9 68.9 0 0 1-18.792-37.086m-144.738 73.351L220.383 522.477a68.9 68.9 0 0 1 18.795 37.089L443.66 455.934zM367.275 142.438l-104.48 203.97 30.848 30.967 110.623-215.957a68.9 68.9 0 0 1-36.991-18.98M235.621 399.459l-52.922 103.314a68.9 68.9 0 0 1 36.987 18.979l46.781-91.328zM150.768 304.918a68.9 68.9 0 0 1-34.416 7.195 69 69 0 0 1-6.651-.695l30.903 197.662a68.9 68.9 0 0 1 34.416-7.195 69 69 0 0 1 6.646.695zM239.342 560.545c.707 4.589.949 9.239.72 13.877a68.9 68.9 0 0 1-7.267 27.18l197.629 31.712c-.708-4.59-.95-9.24-.723-13.878a68.9 68.9 0 0 1 7.27-27.178zM601.133 377.199l-91.219 178.082a68.9 68.9 0 0 1 36.994 18.983l91.217-178.08a68.9 68.9 0 0 1-36.992-18.985M476.723 125.33a68.9 68.9 0 0 1-29.471 29.332l141.266 141.811a68.9 68.9 0 0 1 29.468-29.332zM347.787 104.631l-178.576 90.498a68.9 68.9 0 0 1 18.793 37.086l178.574-90.502a68.9 68.9 0 0 1-18.791-37.082M446.926 154.826a68.9 68.9 0 0 1-34.983 7.483 69 69 0 0 1-6.029-.633l15.818 101.291 43.163 6.926zm-16 167.028 37.4 239.482a68.9 68.9 0 0 1 33.914-6.943q3.625.206 7.207.791L474.09 328.777zM188.131 232.975c.734 4.66.988 9.383.758 14.095a68.9 68.9 0 0 1-7.16 26.983l101.369 16.281 19.923-38.908zm173.736 27.9-19.926 38.912 239.514 38.467a69 69 0 0 1-.695-13.719 68.9 68.9 0 0 1 7.349-27.324z"}),React.createElement("path",{fillOpacity:".996",d:"M412.284 156.054c34.538 1.882 64.061-24.592 65.943-59.13s-24.592-64.062-59.131-65.943c-34.538-1.882-64.061 24.592-65.943 59.13s24.593 64.062 59.131 65.943M646.144 390.82c34.538 1.881 64.062-24.593 65.943-59.131s-24.592-64.061-59.13-65.943-64.062 24.593-65.943 59.131 24.592 64.061 59.13 65.943M495.086 685.719c34.538 1.881 64.062-24.592 65.943-59.13s-24.592-64.062-59.13-65.943-64.062 24.592-65.943 59.13 24.592 64.062 59.13 65.943M167.866 633.211c34.538 1.882 64.062-24.592 65.943-59.13s-24.592-64.062-59.13-65.943-64.062 24.592-65.943 59.13 24.592 64.062 59.13 65.943M116.692 305.86c34.538 1.882 64.062-24.592 65.943-59.13s-24.592-64.062-59.131-65.943c-34.538-1.881-64.061 24.592-65.943 59.13s24.593 64.062 59.131 65.943"})))},{name:"feed",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M2 8.667V12c5.515 0 10 4.485 10 10h3.333c0-7.363-5.97-13.333-13.333-13.333M2 2v3.333c9.19 0 16.667 7.477 16.667 16.667H22C22 10.955 13.045 2 2 2m2.5 15a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5"})))},{name:"flickr",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M6.5 7c-2.75 0-5 2.25-5 5s2.25 5 5 5 5-2.25 5-5-2.25-5-5-5m11 0c-2.75 0-5 2.25-5 5s2.25 5 5 5 5-2.25 5-5-2.25-5-5-5"})))},{name:"foursquare",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M17.573 2H6.905C5.434 2 5 3.107 5 3.805v16.948c0 .785.422 1.077.66 1.172.238.097.892.177 1.285-.275 0 0 5.035-5.843 5.122-5.93.132-.132.132-.132.262-.132h3.26c1.368 0 1.588-.977 1.732-1.552.078-.318.692-3.428 1.225-6.122l.675-3.368C19.56 2.893 19.14 2 17.573 2m-1.078 5.22c-.053.252-.372.518-.665.518h-4.157c-.467 0-.802.318-.802.787v.508c0 .467.337.798.805.798h3.528c.331 0 .655.362.583.715s-.407 2.102-.448 2.295c-.04.193-.262.523-.655.523h-2.88c-.523 0-.683.068-1.033.503-.35.437-3.505 4.223-3.505 4.223-.032.035-.063.027-.063-.015V4.852c0-.298.26-.648.648-.648h8.562c.315 0 .61.297.528.683z"})))},{name:"ghost",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M10.203 20.997H3.005v-3.599h7.198zm10.792-3.599h-7.193v3.599h7.193zm.003-7.198H3v3.599h17.998zm-7.195-7.197H3.005v3.599h10.798zm7.197 0h-3.599v3.599H21z"})))},{name:"git",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M23.519 10.947 13.053.482a1.543 1.543 0 0 0-2.183 0L8.696 2.656l2.756 2.756a1.83 1.83 0 0 1 1.886.439 1.84 1.84 0 0 1 .436 1.898l2.656 2.657a1.83 1.83 0 0 1 1.899.436 1.837 1.837 0 0 1 0 2.597 1.84 1.84 0 0 1-2.599 0 1.84 1.84 0 0 1-.4-1.998l-2.478-2.477v6.521a1.837 1.837 0 0 1 .485 2.945 1.837 1.837 0 0 1-2.597 0 1.837 1.837 0 0 1 0-2.598 1.8 1.8 0 0 1 .602-.401V8.85a1.8 1.8 0 0 1-.602-.4 1.84 1.84 0 0 1-.395-2.009L7.628 3.723.452 10.898a1.544 1.544 0 0 0 0 2.184l10.467 10.467a1.544 1.544 0 0 0 2.183 0l10.417-10.418a1.546 1.546 0 0 0 0-2.184"})))},{name:"github",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12c0 4.419 2.865 8.166 6.839 9.489.5.09.682-.218.682-.484 0-.236-.009-.866-.014-1.699-2.782.602-3.369-1.34-3.369-1.34-.455-1.157-1.11-1.465-1.11-1.465-.909-.62.069-.608.069-.608 1.004.071 1.532 1.03 1.532 1.03.891 1.529 2.341 1.089 2.91.833.091-.647.349-1.086.635-1.337-2.22-.251-4.555-1.111-4.555-4.943 0-1.091.39-1.984 1.03-2.682-.103-.254-.447-1.27.097-2.646 0 0 .84-.269 2.75 1.025A9.6 9.6 0 0 1 12 6.836c.85.004 1.705.114 2.504.336 1.909-1.294 2.748-1.025 2.748-1.025.546 1.376.202 2.394.1 2.646.64.699 1.026 1.591 1.026 2.682 0 3.841-2.337 4.687-4.565 4.935.359.307.679.917.679 1.852 0 1.335-.012 2.415-.012 2.741 0 .269.18.579.688.481A10 10 0 0 0 22 12c0-5.523-4.477-10-10-10"})))},{name:"google-alt",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2m-.05 16c-3.312 0-6-2.688-6-6s2.688-6 6-6c1.62 0 2.976.594 4.014 1.566L14.26 9.222c-.432-.408-1.188-.888-2.31-.888-1.986 0-3.606 1.65-3.606 3.672s1.62 3.672 3.606 3.672c2.298 0 3.144-1.59 3.3-2.532h-3.306v-2.238h5.616c.084.378.15.732.15 1.23 0 3.426-2.298 5.862-5.76 5.862"})))},{name:"google-plus-alt",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M8 11h6.61c.06.35.11.7.11 1.16 0 4-2.68 6.84-6.72 6.84-3.87 0-7-3.13-7-7s3.13-7 7-7c1.89 0 3.47.69 4.69 1.83l-1.9 1.83c-.52-.5-1.43-1.08-2.79-1.08-2.39 0-4.34 1.98-4.34 4.42S5.61 16.42 8 16.42c2.77 0 3.81-1.99 3.97-3.02H8zm15 0h-2V9h-2v2h-2v2h2v2h2v-2h2"})))},{name:"google-plus",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2m-1.919 14.05a4.051 4.051 0 0 1 0-8.1c1.094 0 2.009.401 2.709 1.057l-1.15 1.118a2.23 2.23 0 0 0-1.559-.599c-1.341 0-2.434 1.114-2.434 2.479s1.094 2.479 2.434 2.479c1.551 0 2.122-1.073 2.227-1.709h-2.232v-1.511h3.791c.057.255.101.494.101.83.001 2.312-1.55 3.956-3.887 3.956M19 12.75h-1.25V14h-1.5v-1.25H15v-1.5h1.25V10h1.5v1.25H19z"})))},{name:"google",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12.02 10.18v3.73h5.51c-.26 1.57-1.67 4.22-5.5 4.22-3.31 0-6.01-2.75-6.01-6.12s2.7-6.12 6.01-6.12c1.87 0 3.13.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 0-.83-.11-1.42-.25-2.05z"})))},{name:"instagram",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12 4.622c2.403 0 2.688.009 3.637.052.877.04 1.354.187 1.671.31.42.163.72.358 1.035.673s.51.615.673 1.035c.123.317.27.794.31 1.671.043.949.052 1.234.052 3.637s-.009 2.688-.052 3.637c-.04.877-.187 1.354-.31 1.671-.163.42-.358.72-.673 1.035s-.615.51-1.035.673c-.317.123-.794.27-1.671.31-.949.043-1.233.052-3.637.052s-2.688-.009-3.637-.052c-.877-.04-1.354-.187-1.671-.31a2.8 2.8 0 0 1-1.035-.673 2.8 2.8 0 0 1-.673-1.035c-.123-.317-.27-.794-.31-1.671-.043-.949-.052-1.234-.052-3.637s.009-2.688.052-3.637c.04-.877.187-1.354.31-1.671.163-.42.358-.72.673-1.035s.615-.51 1.035-.673c.317-.123.794-.27 1.671-.31.949-.043 1.234-.052 3.637-.052M12 3c-2.444 0-2.751.01-3.711.054-.958.044-1.612.196-2.184.418a4.4 4.4 0 0 0-1.594 1.039c-.5.5-.808 1.002-1.038 1.594-.223.572-.375 1.226-.419 2.184C3.01 9.249 3 9.556 3 12s.01 2.751.054 3.711c.044.958.196 1.612.418 2.185.23.592.538 1.094 1.038 1.594s1.002.808 1.594 1.038c.572.222 1.227.375 2.185.418.96.044 1.267.054 3.711.054s2.751-.01 3.711-.054c.958-.044 1.612-.196 2.185-.418a4.4 4.4 0 0 0 1.594-1.038c.5-.5.808-1.002 1.038-1.594.222-.572.375-1.227.418-2.185.044-.96.054-1.267.054-3.711s-.01-2.751-.054-3.711c-.044-.958-.196-1.612-.418-2.185A4.4 4.4 0 0 0 19.49 4.51c-.5-.5-1.002-.808-1.594-1.038-.572-.222-1.227-.375-2.185-.418C14.751 3.01 14.444 3 12 3m0 4.378a4.622 4.622 0 1 0 0 9.244 4.622 4.622 0 0 0 0-9.244M12 15a3 3 0 1 1 0-6 3 3 0 0 1 0 6m4.804-8.884a1.08 1.08 0 1 0 .001 2.161 1.08 1.08 0 0 0-.001-2.161"})))},{name:"json-feed",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"m8.522 17.424.027.027c1.076-1.076 1.854-.993 3.154.306l2.053 2.053c2.136 2.136 4.131 2.028 6.515-.356l.729-.728-1.548-1.548-.373.373c-1.349 1.349-2.293 1.366-3.585.075l-2.409-2.409c-1.242-1.242-2.475-1.366-3.659-.381l-.232-.232c1.01-1.225.911-2.368-.29-3.568l-2.16-2.162c-1.317-1.317-1.308-2.236.058-3.602l.372-.372-1.54-1.54-.728.729c-2.393 2.393-2.525 4.346-.439 6.433l1.78 1.78c1.3 1.3 1.383 2.095.315 3.163l.008.008a1.384 1.384 0 0 0 1.952 1.951"}),React.createElement("circle",{cx:"13.089",cy:"10.905",r:"1.383"}),React.createElement("circle",{cx:"16.349",cy:"7.644",r:"1.383"}),React.createElement("circle",{cx:"19.61",cy:"4.383",r:"1.383"})))},{name:"line",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M14.255 9.572v3.333c0 .084-.066.15-.15.15h-.534a.16.16 0 0 1-.122-.061l-1.528-2.063v1.978c0 .084-.066.15-.15.15h-.534a.15.15 0 0 1-.15-.15V9.576c0-.084.066-.15.15-.15h.529a.14.14 0 0 1 .122.066l1.528 2.063V9.577c0-.084.066-.15.15-.15h.534a.15.15 0 0 1 .155.145m-3.844-.15h-.534a.15.15 0 0 0-.15.15v3.333c0 .084.066.15.15.15h.534c.084 0 .15-.066.15-.15V9.572c0-.08-.066-.15-.15-.15m-1.289 2.794H7.664V9.572a.15.15 0 0 0-.15-.15H6.98a.15.15 0 0 0-.15.15v3.333q0 .062.042.103a.16.16 0 0 0 .103.042h2.142c.084 0 .15-.066.15-.15v-.534a.15.15 0 0 0-.145-.15m7.945-2.794h-2.142c-.08 0-.15.066-.15.15v3.333c0 .08.066.15.15.15h2.142c.084 0 .15-.066.15-.15v-.534a.15.15 0 0 0-.15-.15h-1.458v-.563h1.458c.084 0 .15-.066.15-.15v-.539a.15.15 0 0 0-.15-.15h-1.458v-.563h1.458c.084 0 .15-.066.15-.15v-.534c-.005-.08-.07-.15-.15-.15M22.5 5.33v13.373c-.005 2.1-1.725 3.802-3.83 3.797H5.297c-2.1-.005-3.802-1.73-3.797-3.83V5.297c.005-2.1 1.73-3.802 3.83-3.797h13.373c2.1.005 3.802 1.725 3.797 3.83m-2.888 5.747c0-3.422-3.431-6.206-7.645-6.206s-7.645 2.784-7.645 6.206c0 3.066 2.719 5.634 6.394 6.122.895.192.792.52.591 1.725-.033.192-.155.755.661.413s4.402-2.592 6.009-4.439c1.106-1.219 1.636-2.452 1.636-3.82"})))},{name:"link",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M17 13H7v-2h10zm1-6h-1c-1.631 0-3.065.792-3.977 2H18c1.103 0 2 .897 2 2v2c0 1.103-.897 2-2 2h-4.977c.913 1.208 2.347 2 3.977 2h1a4 4 0 0 0 4-4v-2a4 4 0 0 0-4-4M2 11v2a4 4 0 0 0 4 4h1c1.63 0 3.065-.792 3.977-2H6c-1.103 0-2-.897-2-2v-2c0-1.103.897-2 2-2h4.977C10.065 7.792 8.631 7 7 7H6a4 4 0 0 0-4 4"})))},{name:"linkedin",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M19.7 3H4.3A1.3 1.3 0 0 0 3 4.3v15.4A1.3 1.3 0 0 0 4.3 21h15.4a1.3 1.3 0 0 0 1.3-1.3V4.3A1.3 1.3 0 0 0 19.7 3M8.339 18.338H5.667v-8.59h2.672zM7.004 8.574a1.548 1.548 0 1 1-.002-3.096 1.548 1.548 0 0 1 .002 3.096m11.335 9.764H15.67v-4.177c0-.996-.017-2.278-1.387-2.278-1.389 0-1.601 1.086-1.601 2.206v4.249h-2.667v-8.59h2.559v1.174h.037c.356-.675 1.227-1.387 2.526-1.387 2.703 0 3.203 1.779 3.203 4.092v4.711z"})))},{name:"mail",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M20 4H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2m0 4.236-8 4.882-8-4.882V6h16z"})))},{name:"mastodon",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M11.973 2.352c-2.468.02-4.842.286-6.225.921 0 0-2.742 1.229-2.742 5.415 0 .958-.018 2.105.012 3.32.1 4.094.75 8.128 4.535 9.129 1.745.462 3.244.56 4.45.494 2.19-.122 3.417-.781 3.417-.781l-.072-1.588s-1.565.491-3.32.431c-1.74-.06-3.576-.188-3.858-2.324a4 4 0 0 1-.04-.598s1.709.416 3.874.516c1.324.06 2.563-.076 3.824-.226 2.418-.29 4.524-1.78 4.79-3.141.416-2.144.38-5.232.38-5.232 0-4.186-2.74-5.415-2.74-5.415-1.383-.635-3.76-.9-6.227-.921zM9.18 5.622c1.028 0 1.804.395 2.318 1.185l.502.84.5-.84c.514-.79 1.292-1.186 2.32-1.186.888 0 1.605.313 2.15.922q.795.915.794 2.469v5.068h-2.008V9.16c0-1.037-.438-1.562-1.31-1.562-.966 0-1.448.622-1.448 1.857v2.693h-1.996V9.455c0-1.235-.484-1.857-1.45-1.857-.872 0-1.308.525-1.308 1.562v4.92H6.236V9.012q-.001-1.554.793-2.469c.547-.609 1.263-.922 2.15-.922"})))},{name:"medium-alt",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{fillRule:"nonzero",d:"M7.423 6c3.27 0 5.922 2.686 5.922 6s-2.651 6-5.922 6S1.5 15.313 1.5 12s2.652-6 5.923-6m9.458.351c1.635 0 2.961 2.53 2.961 5.65 0 3.118-1.325 5.648-2.96 5.648S13.92 15.119 13.92 12s1.325-5.649 2.96-5.649m4.577.589c.576 0 1.042 2.265 1.042 5.06s-.466 5.06-1.042 5.06c-.575 0-1.04-2.265-1.04-5.06s.465-5.06 1.04-5.06"})))},{name:"medium",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M3 3v18h18V3zm15 4.26-1 .93a.28.28 0 0 0-.11.27v6.8a.27.27 0 0 0 .11.27l.94.93v.2h-4.75v-.2l1-1c.09-.1.09-.12.09-.27V9.74l-2.71 6.9h-.37L8 9.74v4.62a.67.67 0 0 0 .17.54l1.27 1.54v.2H5.86v-.2l1.27-1.54a.64.64 0 0 0 .17-.54V9a.5.5 0 0 0-.16-.4L6 7.26v-.2h3.52L12.23 13l2.38-5.94H18z"})))},{name:"messenger",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12.026.375C5.462.375.375 5.172.375 11.652c0 3.389 1.393 6.318 3.66 8.341.391.352.311.556.377 2.73a.934.934 0 0 0 1.307.823c2.48-1.092 2.512-1.178 2.933-1.064 7.185 1.977 14.973-2.621 14.973-10.83 0-6.48-5.035-11.277-11.599-11.277m6.996 8.678L15.6 14.47a1.75 1.75 0 0 1-2.527.465l-2.723-2.038a.7.7 0 0 0-.844 0l-3.674 2.786c-.49.372-1.133-.216-.802-.735l3.422-5.417a1.75 1.75 0 0 1 2.527-.465l2.722 2.037a.7.7 0 0 0 .844 0L18.22 8.32c.489-.374 1.132.213.801.732"})))},{name:"microblog",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M19.641 17.086c1.294-1.522 2.067-3.438 2.067-5.521 0-4.957-4.371-8.972-9.763-8.972s-9.763 4.015-9.763 8.972 4.371 8.972 9.763 8.972a10.5 10.5 0 0 0 3.486-.59.315.315 0 0 1 .356.112c.816 1.101 2.09 1.876 3.506 2.191a.194.194 0 0 0 .192-.309 3.82 3.82 0 0 1 .162-4.858zm-3.065-6.575-2.514 1.909.912 3.022a.286.286 0 0 1-.437.317l-2.592-1.802-2.592 1.802a.285.285 0 0 1-.436-.317l.912-3.022-2.515-1.909a.285.285 0 0 1 .167-.513l3.155-.066 1.038-2.981a.285.285 0 0 1 .539 0l1.038 2.981 3.155.066a.285.285 0 0 1 .17.513"})))},{name:"nextdoor",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",strokeMiterlimit:"10",viewBox:"0 0 130 130"},React.createElement("g",null,React.createElement("path",{d:"M64.25 3.531c-31.144.337-57.596 24.22-60.469 55.907-3.064 33.799 21.857 63.685 55.657 66.75s63.685-21.857 66.75-55.657-21.857-63.686-55.657-66.75a62 62 0 0 0-6.281-.25m3.938 34.907C82.468 38.438 93.5 48.58 93.5 61.5v27c0 .685-.565 1.25-1.25 1.25H80.906a1.267 1.267 0 0 1-1.25-1.25V63.375c0-5.58-4.309-11.937-11.469-11.937-7.47 0-11.468 6.357-11.468 11.937V88.5c0 .685-.565 1.25-1.25 1.25H44.125c-.68 0-1.219-.57-1.219-1.25V64.156c0-.74-.529-1.364-1.25-1.531-13.13-2.93-15.115-10.285-15.375-21.125-.005-.332.142-.67.375-.906.233-.237.543-.375.875-.375l11.688.062c.66.01 1.187.529 1.218 1.188.13 4.44.438 9.406 4.438 9.406.83 0 1.443-1.179 1.813-1.719 4.41-6.48 12.28-10.718 21.5-10.718"})))},{name:"patreon",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M20 7.408c-.003-2.299-1.746-4.182-3.79-4.862-2.54-.844-5.888-.722-8.312.453-2.939 1.425-3.862 4.545-3.896 7.656-.028 2.559.22 9.297 3.92 9.345 2.75.036 3.159-3.603 4.43-5.356.906-1.247 2.071-1.599 3.506-1.963 2.465-.627 4.146-2.626 4.142-5.273"})))},{name:"pinterest-alt",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12.289 2C6.617 2 3.606 5.648 3.606 9.622c0 1.846 1.025 4.146 2.666 4.878.25.111.381.063.439-.169.044-.175.267-1.029.365-1.428a.37.37 0 0 0-.091-.362c-.54-.63-.975-1.791-.975-2.873 0-2.777 2.194-5.464 5.933-5.464 3.23 0 5.49 2.108 5.49 5.122 0 3.407-1.794 5.768-4.13 5.768-1.291 0-2.257-1.021-1.948-2.277.372-1.495 1.089-3.112 1.089-4.191 0-.967-.542-1.775-1.663-1.775-1.319 0-2.379 1.309-2.379 3.059 0 1.115.394 1.869.394 1.869s-1.302 5.279-1.54 6.261c-.405 1.666.053 4.368.094 4.604.021.126.167.169.25.063.129-.165 1.699-2.419 2.142-4.051.158-.59.817-2.995.817-2.995.43.784 1.681 1.446 3.013 1.446 3.963 0 6.822-3.494 6.822-7.833C20.394 5.112 16.849 2 12.289 2"})))},{name:"pinterest",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12c0 4.236 2.636 7.855 6.356 9.312-.087-.791-.166-2.005.035-2.869.182-.78 1.173-4.971 1.173-4.971s-.299-.599-.299-1.484c0-1.39.806-2.429 1.809-2.429.853 0 1.265.641 1.265 1.409 0 .858-.546 2.141-.828 3.329-.236.996.499 1.807 1.481 1.807 1.777 0 3.144-1.874 3.144-4.579 0-2.394-1.72-4.068-4.177-4.068-2.845 0-4.515 2.134-4.515 4.34 0 .859.331 1.781.744 2.282a.3.3 0 0 1 .069.287c-.077.316-.246.995-.279 1.134-.044.183-.145.222-.334.134-1.249-.581-2.03-2.407-2.03-3.874 0-3.154 2.292-6.051 6.607-6.051 3.469 0 6.165 2.472 6.165 5.775 0 3.446-2.173 6.22-5.189 6.22-1.013 0-1.966-.526-2.292-1.148l-.623 2.377c-.226.869-.835 1.957-1.243 2.622.936.289 1.93.445 2.961.445 5.523 0 10-4.477 10-10S17.523 2 12 2"})))},{name:"pocket",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M21.927 4.194A1.82 1.82 0 0 0 20.222 3H3.839a1.823 1.823 0 0 0-1.813 1.814v6.035l.069 1.2c.29 2.73 1.707 5.115 3.899 6.778l.119.089.025.018a9.9 9.9 0 0 0 3.91 1.727 10.06 10.06 0 0 0 4.049-.014.3.3 0 0 0 .064-.023 9.9 9.9 0 0 0 3.753-1.691l.025-.018q.06-.043.119-.089c2.192-1.664 3.609-4.049 3.898-6.778l.069-1.2V4.814a1.8 1.8 0 0 0-.098-.62m-4.235 6.287-4.704 4.512a1.37 1.37 0 0 1-1.898 0l-4.705-4.512a1.371 1.371 0 1 1 1.898-1.979l3.756 3.601 3.755-3.601a1.372 1.372 0 0 1 1.898 1.979"})))},{name:"polldaddy",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12 2C6.487 2 2 6.487 2 12c0 5.514 4.487 10 10 10 5.514 0 10-4.486 10-10 0-5.513-4.486-10-10-10m.991 1.68c2.361.084 4.657 1.251 6.197 3.136.283.334.541.693.774 1.067a7.78 7.78 0 0 0-6.094-2.94 7.76 7.76 0 0 0-5.896 2.703q-.008.006-.016.014l-.152.159-.031.032a6.12 6.12 0 0 0-1.633 4.165 6.15 6.15 0 0 0 6.143 6.143c.57 0 1.123-.081 1.649-.227-1.849.839-4.131.747-5.926-.324-1.841-1.089-3.171-3.111-3.433-5.313A7.39 7.39 0 0 1 6.69 6.137C8.294 4.5 10.634 3.563 12.991 3.68m3.373 8.519c-.049-2.024-1.587-3.889-3.544-4.174-1.927-.343-3.917.857-4.451 2.661a3.67 3.67 0 0 0 .2 2.653c.39.8 1.067 1.451 1.894 1.759 1.664.654 3.63-.27 4.173-1.863.593-1.58-.396-3.423-1.94-3.776-1.52-.407-3.161.757-3.204 2.243a2.36 2.36 0 0 0 .753 1.879c.501.476 1.23.667 1.871.529a2.07 2.07 0 0 0 1.469-1.134 1.91 1.91 0 0 0-.087-1.767c-.297-.513-.859-.863-1.429-.881a1.7 1.7 0 0 0-1.437.679 1.53 1.53 0 0 0-.18 1.489q.006.016.016.03c.193.634.774 1.1 1.467 1.117a1.6 1.6 0 0 1-.97-.183c-.466-.244-.809-.747-.893-1.29a1.8 1.8 0 0 1 .499-1.539 2.02 2.02 0 0 1 1.58-.606c.593.04 1.159.35 1.517.859.364.496.51 1.156.383 1.773-.116.62-.529 1.174-1.093 1.514a2.52 2.52 0 0 1-1.914.286c-.65-.161-1.226-.606-1.584-1.206a2.83 2.83 0 0 1-.341-2.031c.143-.7.573-1.321 1.176-1.753 1.193-.883 3.056-.751 4.106.411 1.106 1.1 1.327 3.027.406 4.371-.877 1.376-2.74 2.086-4.374 1.594-1.639-.449-2.913-2.079-3.031-3.853-.07-.884.13-1.797.583-2.577.445-.777 1.155-1.432 1.972-1.862 1.64-.88 3.816-.743 5.349.424 1.251.924 2.083 2.42 2.236 4.009l.001.03c0 2.9-2.359 5.26-5.26 5.26a5.2 5.2 0 0 1-1.947-.376 5 5 0 0 0 2.613-.079 4.96 4.96 0 0 0 2.514-1.751c.618-.828.95-1.861.901-2.869M12 21.113c-5.024 0-9.111-4.087-9.111-9.113 0-4.789 3.713-8.723 8.411-9.081a7 7 0 0 0-.397.06c-2.644.453-5.017 2.106-6.32 4.409-1.309 2.301-1.391 5.19-.3 7.527 1.056 2.34 3.253 4.156 5.776 4.553 2.497.44 5.133-.483 6.787-2.301 1.719-1.797 2.269-4.529 1.486-6.796-.583-1.81-1.976-3.331-3.7-4.046 3.417.594 6.174 3.221 6.174 6.781 0 1.004-.241 2.02-.657 2.966-1.498 2.984-4.586 5.041-8.149 5.041"})))},{name:"print",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M9 16h6v2H9zm13 1h-3v3a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-3H2V9a2 2 0 0 1 2-2h1V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v2h1a2 2 0 0 1 2 2zM7 7h10V5H7zm10 7H7v6h10zm3-3.5a1.5 1.5 0 1 0-3.001.001A1.5 1.5 0 0 0 20 10.5"})))},{name:"quora",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M47.736 16.521c-.41-.81-.898-1.631-1.846-1.631a1 1 0 0 0-.527.107l-.322-.644a2.93 2.93 0 0 1 1.836-.595c1.26 0 1.914.605 2.431 1.397a6.8 6.8 0 0 0 .449-2.675c0-2.773-.869-4.199-2.929-4.199-1.992 0-2.851 1.465-2.851 4.199s.859 4.17 2.851 4.17a4 4 0 0 0 .869-.107zm.498.966a6 6 0 0 1-1.367.185 5.27 5.27 0 0 1-5.263-5.204c0-3.114 2.558-5.233 5.263-5.233s5.282 2.109 5.282 5.233a5.08 5.08 0 0 1-1.992 4.072c.381.566.781.956 1.319.956.595 0 .839-.459.878-.82h.781c.049.488-.195 2.48-2.373 2.48-1.319 0-2.012-.761-2.529-1.66zm5.624-2.646v-3.563c0-.371-.146-.586-.615-.586h-.498v-.956h3.251v5.048c0 .849.459 1.231 1.161 1.231a1.56 1.56 0 0 0 1.465-.839V11.28c0-.371-.146-.586-.615-.586h-.527v-.957h3.28v5.302c0 .527.195.732.8.732h.107v.976l-2.929.468V16.21h-.057a3.12 3.12 0 0 1-2.509 1.152c-1.28 0-2.304-.644-2.304-2.558zm12.059 1.611c1.152 0 1.592-1.005 1.611-3.027.02-1.982-.459-2.929-1.611-2.929-1.005 0-1.641.956-1.641 2.929 0 2.021.625 3.027 1.641 3.027m0 .956a3.906 3.906 0 0 1-3.974-3.974c0-2.334 1.836-3.886 3.974-3.886 2.226 0 4.004 1.582 4.004 3.886a3.867 3.867 0 0 1-4.004 3.974m4.072-.146v-.956h.312c.781 0 .859-.224.859-.908v-4.121c0-.371-.215-.586-.732-.586h-.42v-.955h2.968l.146 1.553h.108c.371-1.113 1.221-1.699 2.051-1.699.693 0 1.221.39 1.221 1.181 0 .547-.264 1.093-1.005 1.093-.664 0-.8-.449-1.358-.449-.488 0-.869.468-.869 1.152v2.783c0 .673.166.908.937.908h.439v.956h-4.658zm9.901-1.093c.956 0 1.338-.898 1.338-1.797v-1.211c-.732.722-2.304.742-2.304 2.021 0 .625.371.986.966.986m1.387 0c-.39.752-1.191 1.26-2.314 1.26-1.309 0-2.148-.732-2.148-1.914 0-2.451 3.417-1.797 4.423-3.427v-.185c0-1.25-.488-1.445-1.035-1.445-1.524 0-.83 1.631-2.226 1.631-.673 0-.937-.371-.937-.859 0-.927 1.093-1.67 3.173-1.67 1.963 0 3.163.537 3.163 2.49v3.114q-.02.742.595.742a1 1 0 0 0 .449-.127l.254.615c-.205.312-.752.869-1.836.869-.908 0-1.465-.42-1.543-1.113h-.01zm-68.554 2.558c-.83-1.641-1.807-3.3-3.711-3.3a2.9 2.9 0 0 0-1.093.215l-.644-1.299a5.66 5.66 0 0 1 3.662-1.211c2.548 0 3.857 1.231 4.892 2.792q.917-2.012.908-5.38c0-5.585-1.748-8.417-5.829-8.417-4.033 0-5.76 2.87-5.76 8.417s1.738 8.397 5.76 8.397a5.9 5.9 0 0 0 1.748-.224zm.996 1.953a9.8 9.8 0 0 1-2.744.371C5.614 21.041.371 16.764.371 10.545.371 4.277 5.614 0 10.965 0c5.448 0 10.642 4.248 10.642 10.545a10.25 10.25 0 0 1-4.013 8.201c.732 1.152 1.563 1.914 2.665 1.914 1.201 0 1.689-.927 1.768-1.66h1.572c.088.966-.4 4.999-4.775 4.999-2.646 0-4.052-1.543-5.106-3.339z"})))},{name:"reddit",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M22 11.816a2.28 2.28 0 0 0-2.277-2.277c-.593 0-1.122.24-1.526.614-1.481-.965-3.455-1.594-5.647-1.69l1.171-3.702 3.18.748a1.88 1.88 0 0 0 1.876 1.862 1.88 1.88 0 0 0 1.877-1.878 1.88 1.88 0 0 0-1.877-1.877c-.769 0-1.431.466-1.72 1.13l-3.508-.826a.386.386 0 0 0-.46.261l-1.35 4.268c-2.316.038-4.411.67-5.97 1.671a2.24 2.24 0 0 0-1.492-.581A2.28 2.28 0 0 0 2 11.816c0 .814.433 1.523 1.078 1.925a4 4 0 0 0-.061.672c0 3.292 4.011 5.97 8.941 5.97s8.941-2.678 8.941-5.97q-.002-.32-.053-.632A2.26 2.26 0 0 0 22 11.816m-3.224-7.422a1.1 1.1 0 1 1-.001 2.199 1.1 1.1 0 0 1 .001-2.199M2.777 11.816c0-.827.672-1.5 1.499-1.5.313 0 .598.103.838.269-.851.676-1.477 1.479-1.812 2.36a1.48 1.48 0 0 1-.525-1.129m9.182 7.79c-4.501 0-8.164-2.329-8.164-5.193S7.457 9.22 11.959 9.22s8.164 2.329 8.164 5.193-3.663 5.193-8.164 5.193m8.677-6.605c-.326-.89-.948-1.701-1.797-2.384.248-.186.55-.301.883-.301.827 0 1.5.673 1.5 1.5.001.483-.23.911-.586 1.185m-11.64 1.703c-.76 0-1.397-.616-1.397-1.376s.637-1.397 1.397-1.397 1.376.637 1.376 1.397-.616 1.376-1.376 1.376m7.405-1.376c0 .76-.616 1.376-1.376 1.376s-1.399-.616-1.399-1.376.639-1.397 1.399-1.397 1.376.637 1.376 1.397m-1.172 3.38a.39.39 0 0 1 0 .55c-.674.674-1.727 1.002-3.219 1.002l-.011-.002-.011.002c-1.492 0-2.544-.328-3.218-1.002a.389.389 0 1 1 .55-.55c.521.521 1.394.775 2.669.775l.011.002.011-.002c1.275 0 2.148-.253 2.669-.775a.387.387 0 0 1 .549 0"})))},{name:"share",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M18 16c-.788 0-1.499.31-2.034.807L8.91 12.7c.05-.23.09-.46.09-.7s-.04-.47-.09-.7l7.05-4.11c.54.5 1.25.81 2.04.81 1.66 0 3-1.34 3-3s-1.34-3-3-3-3 1.34-3 3c0 .24.04.47.09.7L8.04 9.81C7.5 9.31 6.79 9 6 9c-1.66 0-3 1.34-3 3s1.34 3 3 3c.79 0 1.5-.31 2.04-.81l7.048 4.118A3 3 0 0 0 15 19a3 3 0 1 0 3-3"})))},{name:"skype",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"m10.113 2.699.1-.02q.05.025.098.051zM2.72 10.223l-.017.103q.025.048.051.095zm18.555 3.548q.009-.053.018-.106-.025-.047-.052-.095zm-7.712 7.428q.049.027.096.053l.105-.017zM22 16.386a5.55 5.55 0 0 1-1.637 3.953 5.55 5.55 0 0 1-3.953 1.637 5.6 5.6 0 0 1-2.75-.725l.105-.017-.202-.035q.049.027.096.053a9.5 9.5 0 0 1-1.654.147 9.4 9.4 0 0 1-3.676-.743 9.4 9.4 0 0 1-3.002-2.023 9.4 9.4 0 0 1-2.023-3.002 9.4 9.4 0 0 1-.743-3.676c0-.546.049-1.093.142-1.628q.025.048.051.095l-.034-.199-.017.103A5.6 5.6 0 0 1 2 7.615c0-1.493.582-2.898 1.637-3.953A5.56 5.56 0 0 1 7.59 2.024c.915 0 1.818.228 2.622.655l-.1.02.199.031q-.049-.026-.098-.051l.004-.001a9.5 9.5 0 0 1 1.788-.169 9.41 9.41 0 0 1 6.678 2.766 9.4 9.4 0 0 1 2.024 3.002 9.4 9.4 0 0 1 .743 3.676c0 .575-.054 1.15-.157 1.712q-.025-.047-.052-.095l.034.201q.009-.053.018-.106c.461.829.707 1.767.707 2.721m-5.183-2.248c0-1.331-.613-2.743-3.033-3.282l-2.209-.49c-.84-.192-1.807-.444-1.807-1.237s.679-1.348 1.903-1.348c2.468 0 2.243 1.696 3.468 1.696.645 0 1.209-.379 1.209-1.031 0-1.521-2.435-2.663-4.5-2.663-2.242 0-4.63.952-4.63 3.488 0 1.221.436 2.521 2.839 3.123l2.984.745c.903.223 1.129.731 1.129 1.189 0 .762-.758 1.507-2.129 1.507-2.679 0-2.307-2.062-3.743-2.062-.645 0-1.113.444-1.113 1.078 0 1.236 1.501 2.886 4.856 2.886 3.195 0 4.776-1.538 4.776-3.599"})))},{name:"sms",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M17.696 4C20.069 4 22 5.973 22 8.398v4.357c0 2.04-1.368 3.783-3.261 4.266v4.427l-5.234-4.295h-7.2C3.93 17.153 2 15.18 2 12.755V8.398C2 5.973 3.931 4 6.304 4zM7.028 8.515c-.98 0-1.66.562-1.66 1.349-.009.497.322.91.985 1.178l.39.142c.242.097.305.171.305.297 0 .162-.131.251-.442.251s-.76-.135-1.004-.284l-.112.046-.215.868c.359.258.832.364 1.33.364 1.104 0 1.764-.523 1.764-1.333-.008-.574-.305-.956-.954-1.216l-.393-.146c-.266-.108-.341-.181-.341-.287 0-.152.131-.243.387-.243.274 0 .587.093.808.214l.109-.047.214-.837c-.315-.224-.741-.316-1.171-.316m10.302 0c-.98 0-1.66.562-1.66 1.349-.008.497.322.91.985 1.178l.39.142c.243.097.305.171.305.297 0 .162-.13.251-.442.251-.311 0-.76-.135-1.004-.284l-.112.046-.215.868c.359.258.832.364 1.33.364 1.104 0 1.764-.523 1.764-1.333-.008-.574-.305-.956-.954-1.216l-.393-.146c-.266-.108-.341-.181-.341-.287 0-.152.131-.243.387-.243.274 0 .587.093.808.214l.109-.047.214-.837c-.316-.224-.741-.316-1.171-.316m-3.733 0c-.297 0-.55.066-.78.202l-.144.098a2 2 0 0 0-.264.247l-.078.095-.027-.077c-.15-.34-.55-.565-1.033-.565l-.169.007a1.36 1.36 0 0 0-.896.42l-.08.09-.038-.363-.075-.067H8.994l-.075.079.024.634c.005.2.008.397.008.604v2.652l.075.075h1.178l.075-.075v-2.269q-.002-.168.042-.274c.083-.23.262-.392.496-.392.314 0 .483.267.483.753v2.182l.075.075h1.179l.075-.075v-2.277c0-.097.016-.213.043-.285.077-.224.26-.373.486-.373.33 0 .5.272.5.817v2.118l.074.075h1.179l.075-.075v-2.293c0-1.131-.537-1.763-1.39-1.763Z"})))},{name:"snapchat",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M11.989 1.728c3.221.001 5.904 2.683 5.908 5.912q.002 1.133.067 2.094a.737.737 0 0 0 .902.669l1.009-.237a.6.6 0 0 1 .129-.015c.256 0 .492.175.55.434a.74.74 0 0 1-.479.861l-1.532.618a.823.823 0 0 0-.485.98c1.229 4.543 4.661 4.071 4.661 4.662 0 .743-2.587.848-2.821 1.082s-.01 1.368-.532 1.588a1.1 1.1 0 0 1-.409.056c-.393 0-.95-.077-1.536-.077-.509 0-1.04.058-1.507.273-1.239.572-2.433 1.641-3.914 1.641S9.325 21.2 8.086 20.628c-.467-.216-.998-.273-1.507-.273-.586 0-1.143.077-1.536.077-.17 0-.31-.014-.409-.056-.522-.22-.299-1.354-.532-1.588s-2.821-.337-2.821-1.08c0-.592 3.432-.119 4.661-4.662a.824.824 0 0 0-.486-.98l-1.532-.618a.74.74 0 0 1-.479-.861.56.56 0 0 1 .679-.419l1.009.237q.086.02.169.02a.737.737 0 0 0 .733-.689q.065-.961.067-2.094c.004-3.229 2.666-5.91 5.887-5.912m0-1.281c-.961 0-1.898.194-2.784.574A7.2 7.2 0 0 0 6.93 2.572a7.2 7.2 0 0 0-1.539 2.282A7.1 7.1 0 0 0 4.82 7.64a33 33 0 0 1-.029 1.369l-.375-.088a2 2 0 0 0-.421-.049 1.86 1.86 0 0 0-1.135.389 1.84 1.84 0 0 0-.666 1.049 2.024 2.024 0 0 0 1.271 2.335l1.124.454c-.744 2.285-2.117 2.723-3.041 3.018a5 5 0 0 0-.659.246C.087 16.76 0 17.436 0 17.708c0 .521.247.996.694 1.339.223.17.499.311.844.43.47.162 1.016.265 1.459.347.021.164.053.341.106.518.22.738.684 1.069 1.034 1.217.332.14.676.156.905.156.224 0 .462-.018.713-.036.269-.02.548-.041.823-.041.426 0 .743.051.97.155.311.144.64.337.989.542.972.571 2.073 1.217 3.462 1.217s2.49-.647 3.462-1.217c.349-.205.679-.399.989-.542.226-.105.544-.155.97-.155.275 0 .554.021.823.041.251.019.488.036.713.036.229 0 .573-.016.905-.156.35-.147.814-.478 1.034-1.217.053-.178.084-.354.106-.518.443-.082.989-.185 1.459-.347.345-.119.621-.259.844-.43.448-.342.694-.818.694-1.339 0-.272-.087-.948-.891-1.347a5 5 0 0 0-.659-.246c-.924-.295-2.297-.733-3.041-3.018l1.124-.454a2.025 2.025 0 0 0 1.271-2.335 1.83 1.83 0 0 0-.666-1.049 1.86 1.86 0 0 0-1.556-.34l-.375.088a33 33 0 0 1-.029-1.369 7.1 7.1 0 0 0-.575-2.789c-.365-.853-.886-1.62-1.547-2.282s-1.428-1.182-2.28-1.547a7.1 7.1 0 0 0-2.786-.574"})))},{name:"soundcloud",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M23.587 13.923a3.303 3.303 0 0 1-3.344 3.117h-8.037a.674.674 0 0 1-.667-.67V7.717a.74.74 0 0 1 .444-.705s.739-.512 2.296-.512a5.27 5.27 0 0 1 2.702.742 5.35 5.35 0 0 1 2.516 3.485 3.1 3.1 0 0 1 .852-.116 3.217 3.217 0 0 1 3.237 3.312m-13.05-5.659c.242 2.935.419 5.612 0 8.538a.261.261 0 0 1-.519 0c-.39-2.901-.221-5.628 0-8.538a.26.26 0 0 1 .398-.25.26.26 0 0 1 .12.25zm-1.627 8.541a.273.273 0 0 1-.541 0 32.7 32.7 0 0 1 0-7.533.274.274 0 0 1 .544 0 29.4 29.4 0 0 1-.003 7.533m-1.63-7.788c.264 2.69.384 5.099-.003 7.782a.262.262 0 0 1-.522 0c-.374-2.649-.249-5.127 0-7.782a.264.264 0 0 1 .525 0m-1.631 7.792a.268.268 0 0 1-.532 0 27.6 27.6 0 0 1 0-7.034.27.27 0 1 1 .541 0 25.8 25.8 0 0 1-.01 7.034zm-1.63-5.276c.412 1.824.227 3.435-.015 5.294a.255.255 0 0 1-.504 0c-.22-1.834-.402-3.482-.015-5.295a.268.268 0 0 1 .535 0m-1.626-.277c.378 1.869.254 3.451-.01 5.325-.031.277-.506.28-.531 0-.239-1.846-.352-3.476-.01-5.325a.277.277 0 0 1 .551 0m-1.643.907c.396 1.239.261 2.246-.016 3.517a.258.258 0 0 1-.514 0c-.239-1.246-.336-2.274-.021-3.517a.276.276 0 0 1 .55 0z"})))},{name:"spotify",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2m4.586 14.424a.62.62 0 0 1-.857.207c-2.348-1.435-5.304-1.76-8.785-.964a.622.622 0 1 1-.277-1.215c3.809-.871 7.077-.496 9.713 1.115a.623.623 0 0 1 .206.857M17.81 13.7a.78.78 0 0 1-1.072.257c-2.687-1.652-6.785-2.131-9.965-1.166A.779.779 0 1 1 6.32 11.3c3.632-1.102 8.147-.568 11.234 1.328a.78.78 0 0 1 .256 1.072m.105-2.835c-3.223-1.914-8.54-2.09-11.618-1.156a.935.935 0 1 1-.542-1.79c3.532-1.072 9.404-.865 13.115 1.338a.936.936 0 1 1-.955 1.608"})))},{name:"squarespace",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M20.87 9.271a3.86 3.86 0 0 0-5.458 0l-6.141 6.141a.964.964 0 1 0 1.365 1.364l6.14-6.14a1.929 1.929 0 1 1 2.729 2.729l-6.022 6.022a1.93 1.93 0 0 0 2.729 0l4.658-4.658a3.86 3.86 0 0 0 0-5.458m-2.047 2.047a.965.965 0 0 0-1.365 0l-6.14 6.14a1.93 1.93 0 0 1-2.729 0 .964.964 0 1 0-1.364 1.364 3.86 3.86 0 0 0 5.458 0l6.14-6.14a.966.966 0 0 0 0-1.364m-2.047-6.141a3.86 3.86 0 0 0-5.458 0l-6.14 6.14a.964.964 0 1 0 1.364 1.364l6.141-6.14a1.93 1.93 0 0 1 2.729 0 .965.965 0 1 0 1.364-1.364m-2.047 2.047a.964.964 0 0 0-1.364 0l-6.14 6.141a1.929 1.929 0 1 1-2.729-2.729l6.022-6.022a1.93 1.93 0 0 0-2.729 0L3.13 9.271a3.86 3.86 0 0 0 5.458 5.458l6.14-6.141a.963.963 0 0 0 .001-1.364"})))},{name:"stackexchange",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M4 11.606h16v3.272H4zM4 7.377h16v3.272H4zM17.514 3H6.55C5.147 3 4 4.169 4 5.614v.848h16v-.85C20 4.167 18.895 3 17.514 3M4 15.813v.85c0 1.445 1.147 2.614 2.55 2.614h6.799v3.463l3.357-3.463h.744c1.402 0 2.55-1.169 2.55-2.614v-.85z"})))},{name:"stackoverflow",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M18.18 20.103V14.78h1.767v7.09H4v-7.09h1.767v5.323z"}),React.createElement("path",{d:"m7.717 14.275 8.673 1.813.367-1.744-8.673-1.813zm1.147-4.13 8.031 3.74.734-1.606-8.031-3.763zm2.226-3.946 6.815 5.667 1.124-1.354-6.815-5.667zM15.495 2l-1.423 1.055 5.277 7.113 1.423-1.055zM7.533 18.314h8.857v-1.767H7.533z"})))},{name:"stumbleupon",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12 4.294a4.47 4.47 0 0 0-4.471 4.471v6.353a1.059 1.059 0 1 1-2.118 0v-2.824H2v2.941a4.471 4.471 0 0 0 8.942 0v-6.47a1.059 1.059 0 1 1 2.118 0v1.294l1.412.647 2-.647V8.765A4.473 4.473 0 0 0 12 4.294m1.059 8.059v2.882a4.471 4.471 0 0 0 8.941 0v-2.824h-3.412v2.824a1.059 1.059 0 1 1-2.118 0v-2.882l-2 .647z"})))},{name:"substack",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M19.904 9.182H4.095V7.054h15.81v2.127M4.095 11.109V21L12 16.583 19.905 21v-9.891zM19.905 3H4.095v2.127h15.81z"})))},{name:"telegram",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2m3.08 14.757s-.25.625-.936.325l-2.541-1.949-1.63 1.486s-.127.096-.266.036c0 0-.12-.011-.27-.486s-.911-2.972-.911-2.972L6 12.349s-.387-.137-.425-.438c-.037-.3.437-.462.437-.462l10.03-3.934s.824-.362.824.238z"})))},{name:"threads",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 192 192"},React.createElement("g",null,React.createElement("path",{d:"M141.537 88.988a67 67 0 0 0-2.518-1.143c-1.482-27.307-16.403-42.94-41.457-43.1h-.34c-14.986 0-27.449 6.396-35.12 18.036l13.779 9.452c5.73-8.695 14.724-10.548 21.348-10.548h.229c8.249.053 14.474 2.452 18.503 7.129 2.932 3.405 4.893 8.111 5.864 14.05-7.314-1.243-15.224-1.626-23.68-1.14-23.82 1.371-39.134 15.264-38.105 34.568.522 9.792 5.4 18.216 13.735 23.719 7.047 4.652 16.124 6.927 25.557 6.412 12.458-.683 22.231-5.436 29.049-14.127 5.178-6.6 8.453-15.153 9.899-25.93 5.937 3.583 10.337 8.298 12.767 13.966 4.132 9.635 4.373 25.468-8.546 38.376-11.319 11.308-24.925 16.2-45.488 16.351-22.809-.169-40.06-7.484-51.275-21.742C35.236 139.966 29.808 120.682 29.605 96c.203-24.682 5.63-43.966 16.133-57.317C56.954 24.425 74.204 17.11 97.013 16.94c22.975.17 40.526 7.52 52.171 21.847 5.71 7.026 10.015 15.86 12.853 26.162l16.147-4.308c-3.44-12.68-8.853-23.606-16.219-32.668C147.036 9.607 125.202.195 97.07 0h-.113C68.882.194 47.292 9.642 32.788 28.08 19.882 44.485 13.224 67.315 13.001 95.932L13 96v.067c.224 28.617 6.882 51.447 19.788 67.854C47.292 182.358 68.882 191.806 96.957 192h.113c24.96-.173 42.554-6.708 57.048-21.189 18.963-18.945 18.392-42.692 12.142-57.27-4.484-10.454-13.033-18.945-24.723-24.553M98.44 129.507c-10.44.588-21.286-4.098-21.82-14.135-.397-7.442 5.296-15.746 22.461-16.735q2.948-.17 5.79-.169c6.235 0 12.068.606 17.371 1.765-1.978 24.702-13.58 28.713-23.802 29.274"})))},{name:"tiktok-alt",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M5 3a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2zm7.531 3h2.053s-.114 2.635 2.85 2.82v2.04s-1.582.099-2.85-.87l.021 4.207a3.804 3.804 0 1 1-3.802-3.802h.533v2.082a1.73 1.73 0 0 0-1.922.648 1.727 1.727 0 0 0 1.947 2.646 1.73 1.73 0 0 0 1.19-1.642z"})))},{name:"tiktok",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12.22 2h3.42s-.19 4.394 4.75 4.702v3.396s-2.636.166-4.75-1.448l.037 7.012a6.338 6.338 0 1 1-6.34-6.339h.89v3.472a2.882 2.882 0 1 0 2.024 2.752z"})))},{name:"tripadvisor",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M21.01 9.859c.236-1.002.985-2.003.985-2.003l-3.341-.002C16.779 6.643 14.502 6 11.979 6 9.363 6 7 6.659 5.135 7.877L2 7.88s.74.988.98 1.983a4.98 4.98 0 0 0-.977 2.961 5.01 5.01 0 0 0 5.009 5.003 5 5 0 0 0 3.904-1.875l1.065 1.592 1.076-1.606a4.96 4.96 0 0 0 1.838 1.448 4.98 4.98 0 0 0 3.831.151 5.01 5.01 0 0 0 2.963-6.431 5 5 0 0 0-.679-1.247m-13.998 6.96a4 4 0 0 1-3.998-3.995 4 4 0 0 1 3.998-3.997 4 4 0 0 1 3.996 3.997 4 4 0 0 1-3.996 3.995m4.987-4.36A5.007 5.007 0 0 0 7.11 7.821c1.434-.613 3.081-.947 4.867-.947 1.798 0 3.421.324 4.853.966a4.984 4.984 0 0 0-4.831 4.619m6.288 4.134a3.97 3.97 0 0 1-3.058-.122 3.96 3.96 0 0 1-2.075-2.245v-.001a3.97 3.97 0 0 1 .118-3.056 3.97 3.97 0 0 1 2.246-2.077 4.005 4.005 0 0 1 5.135 2.366 4.006 4.006 0 0 1-2.366 5.135"}),React.createElement("path",{d:"M6.949 10.307a2.477 2.477 0 0 0-2.475 2.472 2.48 2.48 0 0 0 2.475 2.474 2.474 2.474 0 0 0 0-4.946m0 4.094a1.626 1.626 0 0 1-1.624-1.623 1.621 1.621 0 1 1 1.624 1.623M16.981 10.307a2.477 2.477 0 0 0-2.474 2.472 2.48 2.48 0 0 0 2.474 2.474 2.476 2.476 0 0 0 2.472-2.474 2.475 2.475 0 0 0-2.472-2.472m0 4.094a1.625 1.625 0 0 1-1.622-1.623 1.622 1.622 0 1 1 1.622 1.623"}),React.createElement("path",{d:"M7.778 12.778a.832.832 0 1 1-1.664.002.832.832 0 0 1 1.664-.002M16.981 11.947a.832.832 0 1 0 .002 1.666.832.832 0 0 0-.002-1.666"})))},{name:"tumblr-alt",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M16.749 17.396c-.357.17-1.041.319-1.551.332-1.539.041-1.837-1.081-1.85-1.896V9.847h3.861v-2.91h-3.847V2.039h-2.817c-.046 0-.127.041-.138.144-.165 1.499-.867 4.13-3.783 5.181v2.484h1.945v6.282c0 2.151 1.587 5.206 5.775 5.135 1.413-.024 2.982-.616 3.329-1.126z"})))},{name:"tumblr",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M19 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2m-5.569 14.265c-2.446.042-3.372-1.742-3.372-2.998v-3.668H8.923v-1.45c1.703-.614 2.113-2.15 2.209-3.025.007-.06.054-.084.081-.084h1.645V8.9h2.246v1.7H12.85v3.495c.008.476.182 1.131 1.081 1.107.298-.008.697-.094.906-.194l.54 1.601c-.205.296-1.121.641-1.946.656"})))},{name:"twitch",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M16.499 8.089h-1.636v4.91h1.636zm-4.499 0h-1.637v4.91H12zM4.228 3.178 3 6.451v13.092h4.499V22h2.456l2.454-2.456h3.681L21 14.636V3.178zm15.136 10.638L16.5 16.681H12l-2.453 2.453V16.68H5.863V4.814h13.501z"})))},{name:"twitter-alt",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M22.23 5.924a8.2 8.2 0 0 1-2.357.646 4.12 4.12 0 0 0 1.804-2.27 8.2 8.2 0 0 1-2.606.996 4.103 4.103 0 0 0-6.991 3.742 11.65 11.65 0 0 1-8.457-4.287 4.1 4.1 0 0 0-.556 2.063 4.1 4.1 0 0 0 1.825 3.415 4.1 4.1 0 0 1-1.859-.513v.052a4.104 4.104 0 0 0 3.292 4.023 4.1 4.1 0 0 1-1.853.07 4.11 4.11 0 0 0 3.833 2.85 8.24 8.24 0 0 1-5.096 1.756 8 8 0 0 1-.979-.057 11.6 11.6 0 0 0 6.29 1.843c7.547 0 11.675-6.252 11.675-11.675q0-.267-.012-.531a8.3 8.3 0 0 0 2.047-2.123"})))},{name:"twitter",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M19 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2m-2.534 6.71q.007.148.007.298c0 3.045-2.318 6.556-6.556 6.556a6.5 6.5 0 0 1-3.532-1.035q.27.032.55.032a4.63 4.63 0 0 0 2.862-.986 2.31 2.31 0 0 1-2.152-1.6 2.3 2.3 0 0 0 1.04-.04 2.306 2.306 0 0 1-1.848-2.259v-.029c.311.173.666.276 1.044.288a2.303 2.303 0 0 1-.713-3.076 6.54 6.54 0 0 0 4.749 2.407 2.305 2.305 0 0 1 3.926-2.101 4.6 4.6 0 0 0 1.463-.559 2.3 2.3 0 0 1-1.013 1.275c.466-.056.91-.18 1.323-.363-.31.461-.7.867-1.15 1.192"})))},{name:"untappd",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"m11 13.299-5.824 8.133c-.298.416-.8.635-1.308.572-.578-.072-1.374-.289-2.195-.879S.392 19.849.139 19.323a1.4 1.4 0 0 1 .122-1.425l5.824-8.133a3.1 3.1 0 0 1 1.062-.927l1.146-.604c.23-.121.436-.283.608-.478.556-.631 2.049-2.284 4.696-4.957l.046-.212a.13.13 0 0 1 .096-.1l.146-.037a.135.135 0 0 0 .101-.141l-.015-.18a.13.13 0 0 1 .125-.142c.176-.005.518.046 1.001.393s.64.656.692.824a.13.13 0 0 1-.095.164l-.175.044a.13.13 0 0 0-.101.141l.012.15a.13.13 0 0 1-.063.123l-.186.112c-1.679 3.369-2.764 5.316-3.183 6.046a2.2 2.2 0 0 0-.257.73l-.205 1.281A3.1 3.1 0 0 1 11 13.3zm12.739 4.598-5.824-8.133a3.1 3.1 0 0 0-1.062-.927l-1.146-.605a2.1 2.1 0 0 1-.608-.478 51 51 0 0 0-.587-.654.09.09 0 0 0-.142.018 97 97 0 0 1-1.745 3.223 1.4 1.4 0 0 0-.171.485 3.5 3.5 0 0 0 0 1.103l.01.064c.075.471.259.918.536 1.305l5.824 8.133c.296.413.79.635 1.294.574a4.76 4.76 0 0 0 2.209-.881 4.76 4.76 0 0 0 1.533-1.802 1.4 1.4 0 0 0-.122-1.425zM8.306 3.366l.175.044a.134.134 0 0 1 .101.141l-.012.15a.13.13 0 0 0 .063.123l.186.112q.465.933.869 1.721c.026.051.091.06.129.019q.655-.703 1.585-1.668a.137.137 0 0 0 .003-.19c-.315-.322-.645-.659-1.002-1.02l-.046-.212a.13.13 0 0 0-.096-.099l-.146-.037a.135.135 0 0 1-.101-.141l.015-.18a.13.13 0 0 0-.123-.142c-.175-.005-.518.045-1.002.393-.483.347-.64.656-.692.824a.13.13 0 0 0 .095.164z"})))},{name:"vimeo",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M22.396 7.164q-.139 3.039-4.245 8.32Q13.907 21 10.97 21q-1.82 0-3.079-3.359l-1.68-6.159q-.934-3.36-2.005-3.36-.234.001-1.634.98l-.978-1.261q1.541-1.353 3.037-2.708 2.056-1.774 3.084-1.869 2.429-.234 2.99 3.321.607 3.836.841 4.769.7 3.181 1.542 3.181.653 0 1.963-2.065 1.307-2.063 1.401-3.142.187-1.781-1.401-1.782-.747.001-1.541.341 1.534-5.024 5.862-4.884 3.21.095 3.024 4.161"})))},{name:"vk",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{fillRule:"evenodd",d:"M1.687 1.687C0 3.374 0 6.09 0 11.52v.96c0 5.431 0 8.146 1.687 9.833S6.09 24 11.52 24h.96c5.431 0 8.146 0 9.833-1.687S24 17.91 24 12.48v-.96c0-5.431 0-8.146-1.687-9.833S17.91 0 12.48 0h-.96C6.09 0 3.374 0 1.687 1.687M4.05 7.3c.13 6.24 3.25 9.99 8.72 9.99h.31v-3.57c2.01.2 3.53 1.67 4.14 3.57h2.84c-.78-2.84-2.83-4.41-4.11-5.01 1.28-.74 3.08-2.54 3.51-4.98h-2.58c-.56 1.98-2.22 3.78-3.8 3.95V7.3H10.5v6.92c-1.6-.4-3.62-2.34-3.71-6.92z"})))},{name:"whatsapp",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"m2.048 22 1.406-5.136a9.9 9.9 0 0 1-1.323-4.955C2.133 6.446 6.579 2 12.042 2a9.85 9.85 0 0 1 7.011 2.906 9.85 9.85 0 0 1 2.9 7.011c-.002 5.464-4.448 9.91-9.91 9.91h-.004a9.9 9.9 0 0 1-4.736-1.206zm5.497-3.172.301.179a8.2 8.2 0 0 0 4.193 1.148h.003c4.54 0 8.235-3.695 8.237-8.237a8.2 8.2 0 0 0-2.41-5.828 8.18 8.18 0 0 0-5.824-2.416c-4.544 0-8.239 3.695-8.241 8.237a8.2 8.2 0 0 0 1.259 4.384l.196.312-.832 3.04zm9.49-4.554c-.062-.103-.227-.165-.475-.289s-1.465-.723-1.692-.806-.392-.124-.557.124-.64.806-.784.971-.289.186-.536.062-1.046-.385-1.991-1.229c-.736-.657-1.233-1.468-1.378-1.715s-.015-.382.109-.505c.111-.111.248-.289.371-.434.124-.145.165-.248.248-.413s.041-.31-.021-.434-.557-1.343-.763-1.839c-.202-.483-.407-.417-.559-.425-.144-.007-.31-.009-.475-.009a.9.9 0 0 0-.66.31c-.226.248-.866.847-.866 2.066s.887 2.396 1.011 2.562 1.746 2.666 4.23 3.739c.591.255 1.052.408 1.412.522.593.189 1.133.162 1.56.098.476-.071 1.465-.599 1.671-1.177.206-.58.206-1.075.145-1.179"})))},{name:"woocommerce",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M19 2H5C3.3 2 2 3.3 2 5v11c0 1.7 1.3 3 3 3h4l6 3-1-3h5c1.7 0 3-1.3 3-3V5c0-1.7-1.3-3-3-3m-1.6 4.5c-.4.8-.8 2.1-1 3.9-.3 1.8-.4 3.1-.3 4.1 0 .3 0 .5-.1.7s-.3.4-.6.4-.6-.1-.9-.4c-1-1-1.8-2.6-2.4-4.6-.7 1.4-1.2 2.4-1.6 3.1-.6 1.2-1.2 1.8-1.6 1.9-.3 0-.5-.2-.8-.7-.5-1.4-1.1-4.2-1.7-8.2 0-.3 0-.5.2-.7.1-.2.4-.3.7-.4.5 0 .9.2.9.8.3 2.3.7 4.2 1.1 5.7l2.4-4.5c.2-.4.4-.6.8-.6q.75 0 .9.9c.3 1.4.6 2.6 1 3.7.3-2.7.8-4.7 1.4-5.9.2-.3.4-.5.7-.5.2 0 .5.1.7.2q.3.3.3.6c0 .3 0 .4-.1.5"})))},{name:"wordpress",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12.158 12.786 9.46 20.625a9 9 0 0 0 5.526-.144 1 1 0 0 1-.065-.124zM3.009 12a8.99 8.99 0 0 0 5.067 8.092L3.788 8.341A8.95 8.95 0 0 0 3.009 12m15.06-.454c0-1.112-.399-1.881-.741-2.48-.456-.741-.883-1.368-.883-2.109 0-.826.627-1.596 1.51-1.596q.06.002.116.007A8.96 8.96 0 0 0 12 3.009a8.98 8.98 0 0 0-7.512 4.052c.211.007.41.011.579.011.94 0 2.396-.114 2.396-.114.484-.028.541.684.057.741 0 0-.487.057-1.029.085l3.274 9.739 1.968-5.901-1.401-3.838c-.484-.028-.943-.085-.943-.085-.485-.029-.428-.769.057-.741 0 0 1.484.114 2.368.114.94 0 2.397-.114 2.397-.114.485-.028.542.684.057.741 0 0-.488.057-1.029.085l3.249 9.665.897-2.996q.684-1.753.684-2.907m1.82-3.86q.06.428.06.924c0 .912-.171 1.938-.684 3.22l-2.746 7.94a8.98 8.98 0 0 0 4.47-7.771 8.9 8.9 0 0 0-1.1-4.313M12 22C6.486 22 2 17.514 2 12S6.486 2 12 2s10 4.486 10 10-4.486 10-10 10"})))},{name:"x",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M13.982 10.622 20.54 3h-1.554l-5.693 6.618L8.745 3H3.5l6.876 10.007L3.5 21h1.554l6.012-6.989L15.868 21h5.245zm-2.128 2.474-.697-.997-5.543-7.93H8l4.474 6.4.697.996 5.815 8.318h-2.387z"})))},{name:"xanga",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M9 9h6v6H9zM3 9h6V3H3zm12 0h6V3h-6zm0 12h6v-6h-6zM3 21h6v-6H3z"})))},{name:"youtube",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M21.8 8.001s-.195-1.378-.795-1.985c-.76-.797-1.613-.801-2.004-.847-2.799-.202-6.997-.202-6.997-.202h-.009s-4.198 0-6.997.202c-.39.047-1.242.051-2.003.847-.6.607-.795 1.985-.795 1.985S2 9.62 2 11.238v1.517c0 1.618.2 3.237.2 3.237s.195 1.378.795 1.985c.761.797 1.76.771 2.205.855 1.6.153 6.8.201 6.8.201s4.203-.006 7.001-.209c.391-.047 1.243-.051 2.004-.847.6-.607.795-1.985.795-1.985s.2-1.618.2-3.237v-1.517c0-1.618-.2-3.237-.2-3.237M9.935 14.594l-.001-5.62 5.404 2.82z"})))}]},58992:(e,t,n)=>{"use strict";n.d(t,{d:()=>u});var a=n(96072),r=n.n(a),s=n(28120),o=n.n(s),i=n(51609),l=n.n(i),c=n(91135);class u extends i.PureComponent{static defaultProps={size:24};static propTypes={icon:o().string.isRequired,size:o().number,onClick:o().func,className:o().string};render(){const{size:e,onClick:t,icon:n,className:a,...s}=this.props,o=["social-logo","social-logo-"+n,a].filter(Boolean).join(" "),i=c.$.find((e=>e.name===n));if(!i)return l().createElement("svg",r()({height:e,width:e},s));return l().cloneElement(i.svg,{className:o,height:e,width:e,onClick:t,...s})}}},52068:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>w});var a=n(82170),r=n(96865),s=n(56427),o=n(47143),i=n(27723),l=n(90254),c=n(69457),u=n(88669),d=n(41417),p=n(57003),m=(n(51609),n(95396)),h=n(64425),g=n(47264),f=n(2162),v=n(62402);const __=i.__,b="simplify",k="make-longer",y="make-shorter",E={default:[{name:__("Correct spelling and grammar","jetpack"),key:"correct-spelling",aiSuggestion:h.yy,icon:l.A}],"core/paragraph":[{name:__("Simplify","jetpack"),key:b,aiSuggestion:h.A4,icon:c.A},{name:__("Summarize","jetpack"),key:"summarize",aiSuggestion:h.UA,icon:u.A},{name:__("Expand","jetpack"),key:k,aiSuggestion:h.br,icon:d.A},{name:__("Make shorter","jetpack"),key:y,aiSuggestion:h.fD,icon:d.A}],"core/list-item":[{name:__("Simplify","jetpack"),key:b,aiSuggestion:h.A4,icon:c.A},{name:__("Expand","jetpack"),key:k,aiSuggestion:h.br,icon:d.A},{name:__("Make shorter","jetpack"),key:y,aiSuggestion:h.fD,icon:d.A}],"core/list":m.L.includes("core/list")?[{name:__("Simplify","jetpack"),key:b,aiSuggestion:h.A4,icon:c.A},{name:__("Expand","jetpack"),key:k,aiSuggestion:h.br,icon:d.A},{name:__("Make shorter","jetpack"),key:y,aiSuggestion:h.fD,icon:d.A},{name:__("Turn list into a table","jetpack"),key:"turn-into-table",aiSuggestion:h.d5,icon:p.A,options:{alwaysTransformToAIAssistant:!0,rootParentOnly:!0}}]:[{name:__("Write a post from this list","jetpack"),key:"write-post-from-list",aiSuggestion:h.pE,icon:c.A,options:{userPrompt:"Write a post based on the list items. Include a title as first order heading and try to use secondary headings for each entry"}}]};function w({blockType:e,clientId:t,disabled:n=!1,onAskAiAssistant:i,onRequestSuggestion:l}){const c=E[e]??[],{getBlockParents:u}=(0,o.select)("core/block-editor"),d=u(t);return(0,a.createElement)(a.Fragment,null,n&&(0,a.createElement)(s.Notice,{status:"warning",isDismissible:!1,className:"jetpack-ai-assistant__info"},__("Add content to activate the tools below","jetpack")),(0,a.createElement)(s.MenuGroup,null,(0,a.createElement)(s.MenuItem,{icon:r.cj,iconPosition:"left",key:"key-ai-assistant",onClick:i,disabled:n},(0,a.createElement)("div",{className:"jetpack-ai-assistant__menu-item"},__("Ask AI Assistant","jetpack"))),[...E.default,...c].filter((e=>!(e.options?.rootParentOnly&&d.length>0))).map((e=>(0,a.createElement)(s.MenuItem,{icon:e?.icon,iconPosition:"left",key:`key-${e.key}`,onClick:()=>{l(e.aiSuggestion,{...e.options??{}},e.name)},disabled:n},(0,a.createElement)("div",{className:"jetpack-ai-assistant__menu-item"},e.name)))),(0,a.createElement)(v.hN,{onChange:e=>{l(h.eJ,{tone:e},`${v.uQ}: ${(0,g.Z)(e)}`)},disabled:n}),(0,a.createElement)(f.HU,{onChange:(e,t)=>{l(h.Gm,{language:e},`${f.u0}: ${t}`)},disabled:n})))}},32249:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var a=n(82170),r=n(3924),s=n(56427),o=n(27723);const __=o.__;const i=function(){const e=(0,r.A)("jetpack-ai-feedback");return(0,a.createElement)("div",{className:"jetpack-ai-feedback-control"},(0,a.createElement)(s.BaseControl,null,(0,a.createElement)(s.BaseControl.VisualLabel,null,__("Feedback","jetpack")),(0,a.createElement)("p",null,__("Your feedback is valuable in our commitment to refine and improve this feature.","jetpack")),(0,a.createElement)(s.ExternalLink,{href:e},__("Share your feedback","jetpack"))))}},2162:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>f,HU:()=>v,so:()=>h,u0:()=>p});var a=n(82170),r=n(85985),s=n(56427),o=n(27723),i=n(51113),l=n(29115),c=n(84066);n(51609);const __=o.__,u=["en","es","fr","de","it","pt","ru","zh","ja","ar","hi","ko"],d=window?.Jetpack_Editor_Initial_State?.siteLocale||navigator?.language,p=__("Translate","jetpack"),m=d?.split("-")[0]||"en",h=(d?.split("-"),{en:{label:__("English","jetpack")},es:{label:__("Spanish","jetpack")},fr:{label:__("French","jetpack")},de:{label:__("German","jetpack")},it:{label:__("Italian","jetpack")},pt:{label:__("Portuguese","jetpack")},ru:{label:__("Russian","jetpack")},zh:{label:__("Chinese","jetpack")},ja:{label:__("Japanese","jetpack")},ar:{label:__("Arabic","jetpack")},hi:{label:__("Hindi","jetpack")},ko:{label:__("Korean","jetpack")}}),g=({value:e,onChange:t})=>{const n=[...u.filter((e=>e!==m))];return u.includes(m)&&n.unshift(m),(0,a.createElement)(s.MenuGroup,{label:__("Select language","jetpack")},n.map((n=>(0,a.createElement)(s.MenuItem,{key:`key-${n}`,onClick:()=>t(n+" ("+h[n].label+")",h[n].label),isSelected:e===n},h[n].label))))};function f({value:e=m,label:t=p,onChange:n,disabled:o=!1}){const{tracks:l}=(0,r.st)();return o?(0,a.createElement)(s.Tooltip,{text:t},(0,a.createElement)(s.Button,{disabled:!0},(0,a.createElement)(i.A,{icon:c.A}))):(0,a.createElement)(s.ToolbarDropdownMenu,{icon:c.A,label:t,popoverProps:{variant:"toolbar"},onToggle:e=>{e&&l.recordEvent("jetpack_ai_assistant_block_toolbar_menu_show",{tool:"i18n"})}},(()=>(0,a.createElement)(g,{value:e,onChange:n})))}function v({value:e=m,label:t=p,onChange:n,disabled:r=!1}){return(0,a.createElement)(s.DropdownMenu,{className:"ai-assistant__i18n-dropdown",icon:c.A,label:t,toggleProps:{children:(0,a.createElement)(a.Fragment,null,(0,a.createElement)("div",{className:"ai-assistant__i18n-dropdown__toggle-label"},t),(0,a.createElement)(i.A,{icon:l.A})),disabled:r}},(({onClose:t})=>(0,a.createElement)(g,{onChange:(...e)=>{n(...e),t()},value:e})))}},99050:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>c});var a=n(82170),r=n(85985),s=n(56427),o=n(27723),i=n(78938);const __=o.__,l=[{name:__("Summarize","jetpack"),key:"summarize",aiSuggestion:"summarize"},{name:__("Make longer","jetpack"),key:"make-longer",aiSuggestion:"makeLonger"},{name:__("Make shorter","jetpack"),key:"make-shorter",aiSuggestion:"makeShorter"}];function c({key:e,label:t=__("Improve","jetpack"),exclude:n=[],onChange:o,disabled:c=!1}){const{tracks:u}=(0,r.st)();return c?(0,a.createElement)(s.Tooltip,{text:t},(0,a.createElement)(s.Button,{disabled:!0},(0,a.createElement)(s.Icon,{icon:i.A}))):(0,a.createElement)(s.ToolbarDropdownMenu,{icon:i.A,label:t,popoverProps:{variant:"toolbar"},onToggle:e=>{e&&u.recordEvent("jetpack_ai_assistant_block_toolbar_menu_show",{tool:"improve"})}},(()=>{const r=l.filter((e=>!n.includes(e.key)));return(0,a.createElement)(s.MenuGroup,{label:t},r.map((t=>(0,a.createElement)(s.MenuItem,{key:`key-${t.key}`,onClick:()=>o(t.aiSuggestion,{contentType:"generated"}),isSelected:e===t.key},t.name))))}))}},33468:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>g});var a=n(82170),r=n(85985),s=n(56427),o=n(27723),i=n(78938),l=n(41417),c=n(90254),u=n(69457),d=n(88669),p=n(11269);const __=o.__,m=[{label:__("Post about…","jetpack"),description:{original:"Write a post about ",translated:__("Write a post about","jetpack")+" "}},{label:__("Informative article on…","jetpack"),description:{original:"Craft an informative article explaining ",translated:__("Craft an informative article explaining","jetpack")+" "}},{label:__("Step-by-step tutorial on…","jetpack"),description:{original:"Write a step-by-step tutorial on ",translated:__("Write a step-by-step tutorial on","jetpack")+" "}},{label:__("Motivational post on…","jetpack"),description:{original:"Create a motivational post on ",translated:__("Create a motivational post on","jetpack")+" "}}],h=[{label:__("Say it differently…","jetpack"),description:{original:"Rewrite it in a way that ",translated:__("Rewrite it in a way that","jetpack")+" "}},{label:__("Add…","jetpack"),description:{original:"Add more details about ",translated:__("Add more details about","jetpack")+" "}},{label:__("Remove…","jetpack"),description:{original:"Remove unnecessary details about ",translated:__("Remove unnecessary details about","jetpack")+" "}}];function g({hasContentBefore:e,hasContent:t,hasPostTitle:n,contentIsLoaded:o,onPromptSelect:g,onSuggestionSelect:f}){const v=__("Write with AI…","jetpack"),{tracks:b}=(0,r.st)();return(0,a.createElement)(s.ToolbarDropdownMenu,{className:"jetpack-ai-assistant__templates-control",icon:null,label:v,text:v,onToggle:e=>{e&&b.recordEvent("jetpack_ai_assistant_block_toolbar_menu_show",{tool:"write-with-ai"})}},(({onClose:r})=>o?(0,a.createElement)(s.MenuGroup,{label:__("Write…","jetpack")},h.map(((e,t)=>(0,a.createElement)(s.MenuItem,{icon:i.A,iconPosition:"left",key:`key-${t}`,onClick:()=>{r(),g(e.description)}},e.label)))):(0,a.createElement)(a.Fragment,null,e&&(0,a.createElement)(s.MenuGroup,{label:__("Based on preceding content…","jetpack")},(0,a.createElement)(s.MenuItem,{icon:l.A,iconPosition:"left",onClick:()=>f("continue")},__("Continue writing","jetpack")),(0,a.createElement)(s.MenuItem,{icon:c.A,iconPosition:"left",onClick:()=>f("correctSpelling")},__("Correct spelling and grammar","jetpack")),(0,a.createElement)(s.MenuItem,{icon:u.A,iconPosition:"left",onClick:()=>f("simplify")},__("Simplify","jetpack"))),t&&(0,a.createElement)(s.MenuGroup,{label:__("Based on entire content…","jetpack")},t&&(0,a.createElement)(s.MenuItem,{icon:d.A,iconPosition:"left",onClick:()=>f("summarize")},__("Summarize","jetpack")),t&&(0,a.createElement)(s.MenuItem,{icon:p.A,iconPosition:"left",onClick:()=>f("generateTitle")},__("Generate a post title","jetpack"))),(0,a.createElement)(s.MenuGroup,{label:__("Write…","jetpack")},n&&(0,a.createElement)(s.MenuItem,{icon:i.A,iconPosition:"left",onClick:()=>f("titleSummary")},__("Summary based on title","jetpack")),m.map(((e,t)=>(0,a.createElement)(s.MenuItem,{icon:i.A,iconPosition:"left",key:`key-${t}`,onClick:()=>{r(),g(e.description)}},e.label)))))))}},23e3:(e,t,n)=>{"use strict";n.d(t,{A:()=>b,Q:()=>v});var a=n(82170),r=n(3924),s=n(85985),o=n(56427),i=n(86087),l=n(27723),c=n(10067),u=n.n(c),d=n(56333),p=n(92169),m=n(61297),h=n(7503),g=n(93094);const __=l.__,f=u()("jetpack-ai-assistant:upgrade-prompt"),v=({variant:e="error"})=>{const t=(()=>{const{usagePeriod:e}=(0,m.A)(),t=(e=>{const t=__("You've reached this month's request limit, per our fair usage policy.","jetpack");if(!e)return t; +__("%s account connected successfully.","jetpack"),o.label),{type:"snackbar",isDismissible:!0}),n.select(i.store).getCurrentPostId()&&r(E()))}catch(e){let t=__("Error connecting account.","jetpack");"object"==typeof e&&"message"in e&&e.message&&(t=`${t} ${e.message}`),c(t,{type:"snackbar",isDismissible:!0})}finally{r(N(d,!1)),r(_(d))}}}function S(e,t){return{type:u.dw,connectionId:e,data:t}}function N(e,t=!0){return{type:u._6,connectionId:e,updating:t}}function R(e){return{type:u.Nv,reconnectingAccount:e}}function P(e,t){return async function({dispatch:n,select:r}){const{createErrorNotice:i,createSuccessNotice:l}=(0,o.dispatch)(a.store),c=r.getConnectionById(e);try{const a=`/jetpack/v4/social/connections/${e}`;n(k()),n(S(e,t)),n(N(e));await s()({method:"POST",path:a,data:t})&&l(__("Account updated successfully.","jetpack"),{type:"snackbar",isDismissible:!0})}catch(t){let a=__("Error updating account.","jetpack");"object"==typeof t&&"message"in t&&t.message&&(a=`${a} ${t.message}`),n(S(e,c)),i(a,{type:"snackbar",isDismissible:!0})}finally{n(N(e,!1))}}}function L(e){return{type:u.xW,isOpen:e}}function T(){return L(!0)}function B(){return L(!1)}},54118:(e,t,n)=>{"use strict";n.d(t,{BN:()=>d,Bc:()=>r,M6:()=>k,Nv:()=>u,WB:()=>m,WH:()=>i,Wp:()=>h,_6:()=>c,_y:()=>b,aF:()=>y,af:()=>s,b5:()=>g,dA:()=>a,dw:()=>l,fz:()=>v,nC:()=>o,rz:()=>f,xW:()=>p});const a="SET_CONNECTIONS",r="ADD_CONNECTION",s="TOGGLE_CONNECTION",o="DELETE_CONNECTION",i="DELETING_CONNECTION",l="UPDATE_CONNECTION",c="UPDATING_CONNECTION",u="SET_RECONNECTING_ACCOUNT",d="SET_KEYRING_RESULT",p="TOGGLE_CONNECTIONS_MODAL",m="ADD_ABORT_CONTROLLER",h="REMOVE_ABORT_CONTROLLERS",g="DEFAULT",f="REFRESH_CONNECTIONS",v="FETCH_POST_SHARE_STATUS",b="RECEIVE_POST_SHARE_STATUS",k="TOGGLE_SHARE_STATUS_MODAL",y="POLLING_FOR_POST_SHARE_STATUS"},62491:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var a=n(38716),r=n(72451),s=n(64236),o=n(33134);const i={...r,...a,...s,...n(83117),...o}},72451:(e,t,n)=>{"use strict";n.r(t),n.d(t,{closeShareStatusModal:()=>c,defaultIsRequestComplete:()=>u,fetchPostShareStatus:()=>s,openShareStatusModal:()=>l,pollForPostShareStatus:()=>h,pollingForPostShareStatus:()=>m,receivePostShareStaus:()=>o,toggleShareStatusModal:()=>i});var a=n(43656),r=n(54118);function s(e,t=!0){return{type:r.fz,postId:e,loading:t}}function o(e,t){return{type:r._y,shareStatus:e,postId:t}}function i(e){return{type:r.M6,isOpen:e}}function l(){return i(!0)}function c(){return i(!1)}const u=({lastTimestamp:e,postShareStatus:t})=>e?t.shares.some((t=>t.timestamp>e)):t.shares.length>0,d=6e4,p=3e3;function m(e,t=!0){return{type:r.aF,postId:e,polling:t}}function h({pollingInterval:e=p,postId:t,isRequestComplete:n=u,timeout:r=d}={}){return async function({dispatch:s,select:o,registry:i}){const l=Date.now(),c=t||i.select(a.store).getCurrentPostId(),u=o.getPostShareStatus(c).shares[0]?.timestamp||0;let d=!1,p=!1;s(m(c));do{o.getPostShareStatus(c).loading||s.invalidateResolution("getPostShareStatus",[c]),await new Promise((t=>setTimeout(t,e))),d=n({lastTimestamp:u,postShareStatus:o.getPostShareStatus(c)}),p=Date.now()-l>r}while(!d&&!p);s(m(c,!1))}}},64236:(e,t,n)=>{"use strict";n.r(t),n.d(t,{updateSocialImageGeneratorConfig:()=>s});var a=n(3582),r=n(75238);function s(e){return async function({registry:t}){const{saveSite:n}=t.dispatch(a.store);await n({[r.A]:e})}}},33134:(e,t,n)=>{"use strict";n.r(t),n.d(t,{updateSocialPluginSettings:()=>r});var a=n(3582);function r(e){return async function({registry:t}){const{saveEntityRecord:n}=t.dispatch(a.store);await n("jetpack/v4","social/settings",e)}}},83117:(e,t,n)=>{"use strict";n.r(t),n.d(t,{updateUtmSettings:()=>s});var a=n(3582),r=n(75238);function s(e){return async function({registry:t}){const{saveSite:n}=t.dispatch(a.store);await n({[r.b]:e})}}},75238:(e,t,n)=>{"use strict";n.d(t,{A:()=>a,b:()=>r});const a="jetpack_social_image_generator_settings",r="jetpack_social_utm_settings"},31963:(e,t,n)=>{"use strict";n.d(t,{Af:()=>c,BB:()=>k,M_:()=>y,PX:()=>b,V6:()=>h,bN:()=>p,gt:()=>m,me:()=>v,s:()=>d,zW:()=>g,zk:()=>f});var a=n(47143),r=n(70407),s=n(62491),o=n(708),i=n(75772),l=n(62146);const c="jetpack-social-plugin",u={reducer:o.A,actions:s.A,selectors:l.A,resolvers:i.Ay,initialState:(0,r.getSocialScriptData)()?.store_initial_state},d="facebook",p="instagram-business",m="linkedin",h="mastodon",g="bluesky",f="nextdoor",v="tumblr",b="twitter",k="threads",y=(0,a.createReduxStore)(c,u);(0,a.register)(y)},62015:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});var a=n(54118);const r=(e={connections:[]},t)=>{switch(t.type){case a.xW:return{...e,isConnectionsModalOpen:t.isOpen};case a.Bc:return{...e,connections:[...e.connections,t.connection]};case a.dA:return{...e,connections:t.connections};case a.nC:return{...e,connections:e.connections.filter((({connection_id:e})=>e!==t.connectionId))};case a.WH:{const n=new Set(e.deletingConnections);return t.deleting?n.add(t.connectionId):n.delete(t.connectionId),{...e,deletingConnections:[...n]}}case a.Nv:return{...e,reconnectingAccount:t.reconnectingAccount};case a.dw:return{...e,connections:e.connections.map((e=>e.connection_id===t.connectionId?{...e,...t.data}:e))};case a._6:{const n=new Set(e.updatingConnections);return t.updating?n.add(t.connectionId):n.delete(t.connectionId),{...e,updatingConnections:[...n]}}case a.WB:{const n=t.requestType||a.b5;return{...e,abortControllers:{...e.abortControllers,[n]:[...e.abortControllers?.[n]||[],t.abortController]}}}case a.Wp:{const n=t.requestType||a.b5;return{...e,abortControllers:{...e.abortControllers,[n]:[]}}}case a.BN:return{...e,keyringResult:t.keyringResult};case a.af:return{...e,connections:e.connections.map((e=>(e.connection_id?e.connection_id===t.connectionId:e.id===t.connectionId)?{...e,enabled:!e.enabled}:e))}}return e}},708:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var a=n(47143),r=n(62015),s=n(53202);const o=(0,a.combineReducers)({connectionData:r.A,shareStatus:s.q})},53202:(e,t,n)=>{"use strict";n.d(t,{q:()=>r});var a=n(54118);function r(e={},t){switch(t.type){case a.fz:return{...e,[t.postId]:{shares:[],...e?.[t.postId],loading:t.loading??!0}};case a.aF:return{...e,[t.postId]:{shares:[],...e?.[t.postId],polling:t.polling??!0}};case a._y:return{...e,[t.postId]:{...e?.[t.postId],...t.shareStatus,loading:!1}};case a.M6:return{...e,isModalOpen:t.isOpen}}return e}},75772:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>p});var a=n(1455),r=n.n(a),s=n(3582),o=n(43656),i=n(27723),l=n(51371),c=n(59061),u=n(38716),d=n(72451);const __=i.__;const p={getConnections:function(){return function({dispatch:e,registry:t}){const n=t.select(o.store);if(!n.getCurrentPostId())return;const a=n.getEditedPostAttribute("jetpack_publicize_connections");e((0,u.setConnections)(a||[]))}},getPostShareStatus:function(e){return async({dispatch:t,registry:n})=>{const a=e||n.select(o.store).getCurrentPostId(),{feature_flags:s}=(0,l.n)();if(s.useShareStatus)try{t((0,d.fetchPostShareStatus)(a));let e=await r()({path:`jetpack/v4/social/share-status/${a}`});e=(0,c.xA)(e),t((0,d.receivePostShareStaus)(e,a))}catch{t((0,d.fetchPostShareStatus)(a,!1))}}},getSocialPluginSettings:function(){return async({registry:e})=>{e.select(s.store).getEntitiesConfig("jetpack/v4").some((({name:e})=>"social/settings"===e))||await e.dispatch(s.store).addEntities([{kind:"jetpack/v4",name:"social/settings",baseURL:"/jetpack/v4/social/settings",label:__("Social Settings","jetpack")}])}}}},28343:(e,t,n)=>{"use strict";n.r(t),n.d(t,{getAbortControllers:()=>b,getBrokenConnections:()=>i,getConnectionById:()=>o,getConnectionProfileDetails:()=>h,getConnections:()=>s,getConnectionsByService:()=>l,getDeletingConnections:()=>g,getDisabledConnections:()=>m,getEnabledConnections:()=>p,getFailedConnections:()=>u,getKeyringResult:()=>E,getMustReauthConnections:()=>d,getReconnectingAccount:()=>v,getUpdatingConnections:()=>f,hasConnections:()=>c,isBlueskyAccountAlreadyConnected:()=>y,isConnectionsModalOpen:()=>w,isMastodonAccountAlreadyConnected:()=>k});var a=n(50384),r=n(54118);function s(e){return e.connectionData?.connections??[]}function o(e,t){return s(e).find((e=>e.connection_id===t))}function i(e){return s(e).filter((e=>"broken"===e.status||(0,a.Y)(e,"broken")))}function l(e,t){return s(e).filter((({service_name:e})=>e===t))}function c(e){return s(e).length>0}function u(e){return s(e).filter((e=>!1===e.test_success))}function d(e){return s(e).filter((e=>"must_reauth"===e.test_success)).map((e=>e.service_name))}function p(e){return s(e).filter((e=>e.enabled))}function m(e){return s(e).filter((e=>!e.enabled))}function h(e,t,{forceDefaults:n=!1}={}){let a="",r="",o="";if(!n){const n=s(e).find((({service_name:e})=>t===e));if(n){const{display_name:e,profile_display_name:s,profile_picture:i,external_display:l,external_name:c}=n;a="twitter"===t?s:e||l,o="twitter"===t?e:n.username,r=i,"bluesky"===t&&(o=c)}}return{displayName:a,profileImage:r,username:o}}function g(e){return e.connectionData?.deletingConnections??[]}function f(e){return e.connectionData?.updatingConnections??[]}function v(e){return e.connectionData?.reconnectingAccount}function b(e,t=r.b5){return e.connectionData?.abortControllers?.[t]??[]}function k(e,t){return l(e,"mastodon").some((e=>e.external_display===t))}function y(e,t){return l(e,"bluesky").some((e=>e.external_name===t))}function E(e){return e.connectionData?.keyringResult}function w(e){return e.connectionData?.isConnectionsModalOpen??!1}},62146:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var a=n(3582),r=n(47143),s=n(28343),o=n(49424),i=n(59379),l=n(68273),c=n(86982);const u={...s,...o,isSavingSiteSettings:(0,r.createRegistrySelector)((e=>()=>e(a.store).isSavingEntityRecord("root","site",void 0))),...i,...c,...l}},49424:(e,t,n)=>{"use strict";n.r(t),n.d(t,{getPostShareStatus:()=>s,isShareStatusModalOpen:()=>o});var a=n(47143),r=n(43656);const s=(0,a.createRegistrySelector)((e=>(t,n)=>{const a=n||e(r.store).getCurrentPostId();return t.shareStatus?.[a]??{shares:[]}}));function o(e){return e.shareStatus?.isModalOpen??!1}},59379:(e,t,n)=>{"use strict";n.r(t),n.d(t,{getSocialImageGeneratorConfig:()=>i});var a=n(3582),r=n(47143),s=n(70407),o=n(75238);const i=(0,r.createRegistrySelector)((e=>()=>{const{getSite:t}=e(a.store),n=t(void 0,{_fields:o.A});return n?.[o.A]??(0,s.getSocialScriptData)().settings.socialImageGenerator}))},68273:(e,t,n)=>{"use strict";n.r(t),n.d(t,{getSocialPluginSettings:()=>o,isSavingSocialPluginSettings:()=>i});var a=n(3582),r=n(47143),s=n(70407);const o=(0,r.createRegistrySelector)((e=>()=>e(a.store).getEntityRecord("jetpack/v4","social/settings",void 0)??(0,s.getSocialScriptData)().settings.socialPlugin)),i=(0,r.createRegistrySelector)((e=>()=>e(a.store).isSavingEntityRecord("jetpack/v4","social/settings",void 0)))},86982:(e,t,n)=>{"use strict";n.r(t),n.d(t,{getUtmSettings:()=>i});var a=n(3582),r=n(47143),s=n(70407),o=n(75238);const i=(0,r.createRegistrySelector)((e=>()=>{const{getSite:t}=e(a.store),n=t(void 0,{_fields:o.b});return n?.[o.b]??(0,s.getSocialScriptData)().settings.utmSettings}))},50384:(e,t,n)=>{"use strict";n.d(t,{Y:()=>a});const a=(e,t)=>!1===e.is_healthy&&t===(e.error_code??"broken")},27844:(e,t,n)=>{"use strict";n.d(t,{q:()=>a});const a={ENHANCED_PUBLISHING:"social-enhanced-publishing",IMAGE_GENERATOR:"social-image-generator"}},12093:(e,t,n)=>{"use strict";n.d(t,{T:()=>r});const a=255;function r(){return a}},3280:(e,t,n)=>{"use strict";n.d(t,{n:()=>r});var a=n(85985);function r(){return(0,a.$i)()?.social?.supportedAdditionalConnections||[]}},70407:(e,t,n)=>{"use strict";n.d(t,{getShareMessageMaxLength:()=>a.T,getSocialScriptData:()=>i.n,getSupportedAdditionalConnections:()=>r.n,hasSocialPaidFeatures:()=>i.p,requestExternalAccess:()=>s.x});var a=n(12093),r=n(3280),s=n(5367),o=n(18672);n.o(o,"GlobalModals")&&n.d(t,{GlobalModals:function(){return o.GlobalModals}}),n.o(o,"getSocialScriptData")&&n.d(t,{getSocialScriptData:function(){return o.getSocialScriptData}}),n.o(o,"hasSocialPaidFeatures")&&n.d(t,{hasSocialPaidFeatures:function(){return o.hasSocialPaidFeatures}}),n.o(o,"usePostCanUseSig")&&n.d(t,{usePostCanUseSig:function(){return o.usePostCanUseSig}}),n.o(o,"useSyncPostDataToStore")&&n.d(t,{useSyncPostDataToStore:function(){return o.useSyncPostDataToStore}});var i=n(51371);n(27844)},5367:(e,t,n)=>{"use strict";n.d(t,{x:()=>r});var a=n(51119);const r=(e,t)=>{const n=new a.A;let r;n.open(e,null,"toolbar=0,location=0,status=0,menubar=0,"+n.getScreenCenterSpecs(780,700)),n.once("close",(()=>{t(r?.ID?r:{})})),n.on("message",(e=>{r=e?.data}))}},51371:(e,t,n)=>{"use strict";n.d(t,{n:()=>r,p:()=>s});var a=n(97999);function r(){return(0,a.getScriptData)()?.social}function s(){return(0,a.siteHasFeature)("social-enhanced-publishing")}},59061:(e,t,n)=>{"use strict";function a(e){return e&&"shares"in e&&e.done&&e.shares.sort(((e,t)=>t.timestamp-e.timestamp)),e}function r(e){return t=>t.service_name===e.service&&(e.external_id?t.external_id===e.external_id:t.connection_id===e.connection_id.toString())}function s(e,t){return e.service===t.service&&(e.connection_id===t.connection_id||!(!e.external_id&&!t.external_id)&&e.external_id===t.external_id)}n.d(t,{Ri:()=>s,eJ:()=>r,xA:()=>a})},50646:(e,t,n)=>{"use strict";n(51371)},18672:()=>{},85985:(e,t,n)=>{"use strict";n.d(t,{$i:()=>a.A,BT:()=>l.A,Cq:()=>h.C,Dk:()=>c.Dk,FB:()=>o.A,GE:()=>r.A,GT:()=>c.GT,Q4:()=>c.Q4,Sy:()=>s.Sy,W4:()=>c.W4,aq:()=>c.aq,d9:()=>s.d9,gB:()=>u.A,jt:()=>m.A,lk:()=>s.lk,pP:()=>s.pP,q7:()=>p.A,sH:()=>c.sH,sh:()=>h.s,st:()=>d.A,tu:()=>c.tu,vp:()=>i.A});var a=n(34972),r=n(54815),s=n(62634),o=n(60703),i=n(82034),l=n(65595),c=n(53265),u=n(49354),d=n(73489),p=n(76923),m=n(15877),h=n(30335);n(88290)},15877:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var a=n(67142),r=n(51609),s=n.n(r);const o=()=>s().createElement(a.A,{className:"jetpack-editor-panel-logo",height:16,logoColor:"#1E1E1E",showText:!1})},30335:(e,t,n)=>{"use strict";n.d(t,{C:()=>o,s:()=>s});var a=n(86087),r=n(19334);function s(e){const t={};let n="span",r=e.icon;const s=document.createElement("div");s.innerHTML=e.icon;const o=s.querySelector("svg");return o&&(n="svg",r=o.innerHTML,Array.from(o.attributes).forEach((({nodeName:e,nodeValue:n})=>t[e]=n))),(0,a.createElement)(n,{...t,dangerouslySetInnerHTML:{__html:r||""}})}function o(e){return{src:s(e),foreground:(0,r.A)()}}},19334:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var a=n(62634);const r="#069e08";function s(){return(0,a.d9)()||(0,a.Sy)()?null:r}},34972:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const a="Jetpack_Editor_Initial_State";function r(){return"object"==typeof window?window?.[a]??null:null}},60703:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});var a=n(34972);function r(e){const t=(0,a.A)(),n=t?.available_blocks?.[e]?.available??!1,r=t?.available_blocks?.[e]?.unavailable_reason??"unknown";return{available:n,...!n&&{details:t?.available_blocks?.[e]?.details??[],unavailableReason:r}}}},54815:(e,t,n)=>{"use strict";function a(){return window&&window.Jetpack_Editor_Initial_State&&window.Jetpack_Editor_Initial_State.siteFragment?window.Jetpack_Editor_Initial_State.siteFragment:null}n.d(t,{A:()=>a})},73489:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var a=n(90372),r=n(39384),s=n(86087);const{tracks:o}=a.A,{recordEvent:i}=o,l=({pageViewEventName:e=null,pageViewNamespace:t="jetpack",pageViewSuffix:n="page_view",pageViewEventProperties:l={}}={})=>{const[c,u]=(0,s.useState)(!1),{isUserConnected:d,isRegistered:p,userConnectionData:m={}}=(0,r.useConnection)(),{wpcomUser:{login:h,ID:g}={},blogId:f}=m.currentUser||{},v=(0,s.useCallback)((async(e,t={})=>{d&&g&&h&&i(e,t)}),[d,g,h]);return(0,s.useEffect)((()=>{d&&g&&h&&f&&a.A.initialize(g,h,{blog_id:f})}),[f,g,h,d]),(0,s.useEffect)((()=>{const a=e?`${t}_${e}_${n}`:null;p&&a&&(c||(v(a,l),u(!0)))}),[c,t,e,n,p,l,v]),{recordEvent:v,tracks:o}}},76923:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var a=n(47143),r=n(86087),s=n(88290);const o=e=>{const{isModuleActive:t,isChangingStatus:n,isLoadingModules:o}=(0,a.useSelect)((t=>{const n=t(s.F);return{isModuleActive:n.isModuleActive(e),isChangingStatus:n.isModuleUpdating(e),isLoadingModules:n.areModulesLoading(e)}}),[e]),{updateJetpackModuleStatus:i}=(0,a.useDispatch)(s.F),l=(0,r.useCallback)((t=>i({name:e,active:t})),[e,i]);return(0,r.useMemo)((()=>({isLoadingModules:o,isChangingStatus:n,isModuleActive:t,changeStatus:l})),[o,n,t,l])}},49354:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});var a=n(34972);function r(){return(0,a.A)()?.jetpack?.is_current_user_connected??!1}},27105:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>d,E9:()=>u});var a=n(47143),r=n(62634),s=n(94478),o=n(88290);const i="SET_JETPACK_MODULES";function l(e){return u({isLoading:e})}function c(e,t){return{type:"SET_MODULE_UPDATING",name:e,isUpdating:t}}function u(e){return{type:i,options:e}}const d={updateJetpackModuleStatus:function*(e){try{yield c(e.name,!0),yield(0,s.sB)(e);const t=yield(0,s.wz)();return yield u({data:t}),!0}catch{const e=(0,a.select)(o.F).getJetpackModules();return yield u(e),!1}finally{yield c(e.name,!1)}},setJetpackModules:u,fetchModules:function*(){if((0,r.Sy)())return!0;try{yield l(!0);const e=yield(0,s.wz)();return yield u({data:e}),!0}catch{const e=(0,a.select)(o.F).getJetpackModules();return yield u(e),!1}finally{yield l(!1)}}}},94478:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>c,sB:()=>l,wz:()=>i});var a=n(1455),r=n.n(a);const s="FETCH_JETPACK_MODULES",o="UPDATE_JETPACK_MODULE_STATUS",i=()=>({type:s}),l=e=>({type:o,settings:e}),c={[s]:function(){return r()({path:"/jetpack/v4/module/all",method:"GET"})},[o]:function({settings:e}){return r()({path:`/jetpack/v4/module/${e.name}/active`,method:"POST",data:{active:e.active}})}}},88290:(e,t,n)=>{"use strict";n.d(t,{F:()=>c});var a=n(47143),r=n(27105),s=n(94478),o=n(38862),i=n(62701),l=n(31640);const c="jetpack-modules",u=(0,a.createReduxStore)(c,{reducer:o.A,actions:r.Ay,controls:s.Ay,resolvers:i.A,selectors:l.A});(0,a.register)(u);const d=window?.Initial_State?.getModules||window?.Jetpack_Editor_Initial_State?.modules||null;null!==d&&(0,a.dispatch)(c).setJetpackModules({data:{...d}})},38862:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const a={isLoading:!1,isUpdating:{},data:{}},r=(e=a,t)=>{switch(t.type){case"SET_JETPACK_MODULES":return{...e,...t.options};case"SET_MODULE_UPDATING":return{...e,isUpdating:{...e.isUpdating,[t.name]:t.isUpdating}}}return e}},62701:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var a=n(27105),r=n(94478);const s={getJetpackModules:function*(){try{const e=yield(0,r.wz)();if(e)return(0,a.E9)({data:e})}catch(e){console.error(e)}}}},31640:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});var a=n(62634);const r={getJetpackModules:e=>e.data,isModuleActive:(e,t)=>(0,a.Sy)()||(e?.data?.[t]?.activated??!1),areModulesLoading:e=>e.isLoading??!1,isModuleUpdating:(e,t)=>e?.isUpdating?.[t]??!1}},53265:(e,t,n)=>{"use strict";n.d(t,{Dk:()=>g,GT:()=>v,Q4:()=>u,W4:()=>d,aq:()=>p,sH:()=>f,tu:()=>m});var a=n(27723),r=n(93832),s=n(66087),o=n(34972),i=n(60703),l=n(54815),c=n(62634);const __=a.__;function u({planSlug:e,plan:t,postId:n,postType:a}){const o=(0,s.startsWith)(e,"jetpack_")?e:(0,s.get)(t,["path_slug"]),i=(void 0===a?()=>{const e=new URLSearchParams(window.location.search);return(0,r.addQueryArgs)(window.location.protocol+`//${(0,l.A)().replace("::","/")}/wp-admin/site-editor.php`,{postId:e.get("postId"),postType:e.get("postType"),plan_upgraded:1})}:()=>{const e=["page","post"].includes(a)?"":"edit";return(0,c.Sy)()?(0,r.addQueryArgs)("/"+(0,s.compact)([e,a,(0,l.A)(),n]).join("/"),{plan_upgraded:1}):(0,r.addQueryArgs)(window.location.protocol+`//${(0,l.A)().replace("::","/")}/wp-admin/post.php`,{action:"edit",post:n,plan_upgraded:1})})();return(0,c.d9)()?(0,r.addQueryArgs)(`https://wordpress.com/plans/${(0,l.A)()}`,{redirect_to:i,customerType:"business"}):o&&(0,r.addQueryArgs)(`https://wordpress.com/checkout/${(0,l.A)()}/${o}`,{redirect_to:i})}function d(e){if(!e)return!1;const t=/^jetpack\//.test(e)?e.substr(8,e.length):e,{available:n,unavailableReason:a}=(0,i.A)(t);return!n&&"missing_plan"===a}function p(e,t){return"missing_plan"===e&&t.required_plan}function m(e){if(!e)return!1;const t=/^jetpack\//.test(e)?e.substr(8,e.length):e,{details:n,unavailableReason:a}=(0,i.A)(t);return p(a,n)}const h=[{name:"core/cover",mediaPlaceholder:!0,mediaReplaceFlow:!0,fileType:"video",description:__("Upgrade your plan to use video covers","jetpack")},{name:"core/audio",mediaPlaceholder:!0,mediaReplaceFlow:!0,fileType:"audio",description:__("Upgrade your plan to upload audio","jetpack")}];function g(){return(0,s.get)((0,o.A)(),"jetpack.enable_upgrade_nudge",!1)}const f=e=>(0,s.map)(h,"name").includes(e),v=e=>(0,s.head)((0,s.filter)(h,(({name:t})=>t===e)))},82034:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var a=n(92279),r=n(60703);function s(e,t){const{available:n,unavailableReason:s}=(0,r.A)(e);return!!n&&(0,a.registerPlugin)(`jetpack-${e}`,t)}},62634:(e,t,n)=>{"use strict";n.d(t,{Sy:()=>s,d9:()=>o,lk:()=>l,pP:()=>i});var a=n(34972);function r(){return"object"==typeof window&&"string"==typeof window._currentSiteType?window._currentSiteType:null}function s(){return"simple"===r()}function o(){return"atomic"===r()}function i(){const e=(0,a.A)();return e?.jetpack?.is_private_site??!1}function l(){const e=(0,a.A)();return e?.jetpack?.is_coming_soon??!1}},65595:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var a=n(96072),r=n.n(a),s=n(29491);const o=e=>(0,s.createHigherOrderComponent)((t=>n=>React.createElement(t,r()({},n,{className:n.name===e?"has-warning is-interactive":n.className}))),"withHasWarningIsInteractiveClassNames")},84705:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>a.d});var a=n(58992);n(91135)},91135:(e,t,n)=>{"use strict";n.d(t,{$:()=>a});const a=[{name:"amazon",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M13.582 8.182c-1.648.185-3.802.308-5.344.984-1.781.769-3.03 2.337-3.03 4.644 0 2.953 1.86 4.429 4.253 4.429 2.02 0 3.125-.477 4.685-2.065.516.747.685 1.109 1.629 1.894a.59.59 0 0 0 .672-.066l.006.006c.567-.505 1.599-1.401 2.18-1.888.231-.188.19-.496.009-.754-.52-.718-1.072-1.303-1.072-2.634V8.305c0-1.876.133-3.599-1.249-4.891C15.23 2.369 13.422 2 12.04 2 9.336 2 6.318 3.01 5.686 6.351c-.068.355.191.542.423.594l2.754.298c.258-.013.445-.266.494-.523.236-1.151 1.2-1.706 2.284-1.706.584 0 1.249.215 1.595.738.398.584.346 1.384.346 2.061zm-.533 5.906c-.451.8-1.169 1.291-1.967 1.291-1.09 0-1.728-.83-1.728-2.061 0-2.42 2.171-2.86 4.227-2.86v.615c.001 1.108.027 2.031-.532 3.015m7.634 5.251C18.329 21.076 14.917 22 11.979 22c-4.118 0-7.826-1.522-10.632-4.057-.22-.199-.024-.471.241-.317 3.027 1.762 6.771 2.823 10.639 2.823 2.608 0 5.476-.541 8.115-1.66.397-.169.73.262.341.55m.653 1.704c-.194.163-.379.076-.293-.139.284-.71.92-2.298.619-2.684s-1.99-.183-2.749-.092c-.23.027-.266-.173-.059-.319 1.348-.946 3.555-.673 3.811-.356.26.32-.066 2.533-1.329 3.59"})))},{name:"behance",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M7.799 5.698c.589 0 1.12.051 1.606.156q.722.155 1.241.507.516.351.804.938c.188.387.281.871.281 1.443q0 .93-.421 1.551-.424.62-1.255 1.014 1.133.328 1.689 1.146.559.822.557 1.975 0 .935-.359 1.612a3.14 3.14 0 0 1-.973 1.114q-.613.432-1.399.637A6.1 6.1 0 0 1 7.963 18H2V5.698zm-.35 4.97q.721 0 1.192-.345.465-.344.463-1.119 0-.43-.152-.707a1.1 1.1 0 0 0-.416-.427 1.7 1.7 0 0 0-.596-.216 3.6 3.6 0 0 0-.697-.06H4.709v2.874zm.151 5.237q.401.001.759-.077c.243-.053.457-.137.637-.261.182-.12.332-.283.441-.491q.164-.31.163-.798-.002-.948-.533-1.357c-.356-.27-.83-.404-1.413-.404H4.709v3.388zm8.562-.041q.552.538 1.583.538.74 0 1.277-.374c.354-.248.571-.514.654-.79h2.155c-.347 1.072-.872 1.838-1.589 2.299-.708.463-1.572.693-2.58.693q-1.05 0-1.899-.337a4 4 0 0 1-1.439-.958 4.4 4.4 0 0 1-.904-1.484 5.4 5.4 0 0 1-.32-1.899q0-1 .329-1.863a4.4 4.4 0 0 1 .933-1.492q.607-.63 1.444-.994a4.6 4.6 0 0 1 1.857-.363q1.131-.001 1.98.44a3.94 3.94 0 0 1 1.389 1.181 4.8 4.8 0 0 1 .783 1.69q.24.947.171 1.983h-6.428c-.001.706.237 1.372.604 1.73m2.811-4.68c-.291-.321-.783-.496-1.384-.496q-.585 0-.973.2a2 2 0 0 0-.621.491 1.8 1.8 0 0 0-.328.628 2.7 2.7 0 0 0-.111.587h3.98c-.058-.625-.271-1.085-.563-1.41m-3.916-3.446h4.985V6.524h-4.985z"})))},{name:"blogger-alt",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M19.779 9.904h-.981l-.021.001a1.163 1.163 0 0 1-1.16-1.079l-.001-.013A5.813 5.813 0 0 0 11.803 3H8.871a5.813 5.813 0 0 0-5.813 5.813v6.375a5.813 5.813 0 0 0 5.813 5.813h6.257a5.814 5.814 0 0 0 5.813-5.813l.002-4.121a1.164 1.164 0 0 0-1.164-1.163M8.726 7.713h3.291a1.117 1.117 0 1 1 0 2.234H8.726a1.117 1.117 0 1 1 0-2.234m6.601 8.657H8.72a1.057 1.057 0 1 1 0-2.114h6.607a1.057 1.057 0 1 1 0 2.114"})))},{name:"blogger",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M14.722 14.019a.654.654 0 0 1-.654.654H9.977a.654.654 0 0 1 0-1.308h4.091c.361 0 .654.293.654.654m-4.741-3.321h2.038a.692.692 0 0 0 0-1.384H9.981a.692.692 0 0 0 0 1.384M21 5v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2m-3.456 6.39a.72.72 0 0 0-.72-.72h-.607l-.013.001a.72.72 0 0 1-.718-.668l-.001-.008a3.6 3.6 0 0 0-3.599-3.599H10.07a3.6 3.6 0 0 0-3.599 3.599v3.947a3.6 3.6 0 0 0 3.599 3.599h3.874a3.6 3.6 0 0 0 3.599-3.599z"})))},{name:"bluesky",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M21.2 3.3c-.5-.2-1.4-.5-3.6 1C15.4 6 12.9 9.2 12 11c-.9-1.8-3.4-5-5.7-6.7-2.2-1.6-3-1.3-3.6-1S2 4.6 2 5.1s.3 4.7.5 5.4c.7 2.3 3.1 3.1 5.3 2.8-3.3.5-6.2 1.7-2.4 5.9 4.2 4.3 5.7-.9 6.5-3.6.8 2.7 1.7 7.7 6.4 3.6 3.6-3.6 1-5.4-2.3-5.9 2.2.2 4.6-.5 5.3-2.8.4-.7.7-4.8.7-5.4 0-.5-.1-1.5-.8-1.8"})))},{name:"codepen",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"m22.016 8.84-.007-.037q-.006-.037-.015-.072-.007-.022-.013-.042l-.023-.062-.02-.042a.4.4 0 0 0-.03-.057l-.025-.038-.035-.052-.03-.037q-.021-.026-.043-.045-.015-.018-.035-.035a.4.4 0 0 0-.048-.04l-.037-.03-.015-.012-9.161-6.096a.86.86 0 0 0-.955 0L2.359 8.237l-.015.012-.038.028-.048.04a.638.638 0 0 0-.078.082q-.018.018-.03.037-.018.026-.035.052l-.025.038q-.016.031-.03.059l-.02.041a1 1 0 0 0-.034.106q-.01.034-.016.071-.003.02-.006.037a1 1 0 0 0-.009.114v6.093q0 .056.008.112l.007.038q.006.035.015.072a.2.2 0 0 0 .013.04q.01.032.022.063l.02.04a.4.4 0 0 0 .055.096l.035.052.03.037.042.045.035.035q.023.02.048.04l.038.03.013.01 9.163 6.095a.858.858 0 0 0 .959.004l9.163-6.095.015-.01q.02-.015.037-.03l.048-.04q.02-.017.035-.035.025-.024.043-.045l.03-.037.035-.052.025-.038a.4.4 0 0 0 .03-.058l.02-.04.023-.063c.003-.013.01-.027.013-.04q.009-.037.015-.072l.007-.037q.006-.062.007-.117V8.954a1 1 0 0 0-.008-.114m-9.154-4.376 6.751 4.49-3.016 2.013-3.735-2.492zm-1.724 0v4.009l-3.735 2.494-3.014-2.013zm-7.439 6.098L5.853 12l-2.155 1.438zm7.439 8.974-6.749-4.491 3.015-2.011 3.735 2.492zM12 14.035 8.953 12 12 9.966 15.047 12zm.862 5.501v-4.009l3.735-2.492 3.016 2.011zm7.441-6.098L18.147 12l2.156-1.438z"})))},{name:"deezer",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M20.129 3.662c.222-1.287.548-2.096.909-2.098h.001c.673.002 1.219 2.809 1.219 6.274s-.546 6.274-1.22 6.274c-.276 0-.531-.477-.736-1.276-.324 2.926-.997 4.937-1.776 4.937-.603 0-1.144-1.208-1.507-3.114-.248 3.624-.872 6.195-1.602 6.195-.458 0-.875-1.019-1.184-2.678C13.861 21.6 13.003 24 12.002 24s-1.861-2.399-2.231-5.824c-.307 1.659-.724 2.678-1.184 2.678-.73 0-1.352-2.571-1.602-6.195-.363 1.905-.903 3.114-1.507 3.114-.778 0-1.452-2.011-1.776-4.937-.204.802-.46 1.276-.736 1.276-.674 0-1.22-2.809-1.22-6.274s.546-6.274 1.22-6.274c.362 0 .685.812.91 2.098.357-2.22.94-3.662 1.6-3.662.784 0 1.463 2.04 1.784 5.002.314-2.156.791-3.53 1.325-3.53.749 0 1.385 2.703 1.621 6.474.443-1.933 1.085-3.146 1.795-3.146s1.352 1.214 1.795 3.146c.237-3.771.872-6.474 1.621-6.474.533 0 1.009 1.374 1.325 3.53.321-2.962 1-5.002 1.784-5.002.658 0 1.244 1.443 1.603 3.662M0 7.221c0-1.549.31-2.805.692-2.805s.692 1.256.692 2.805-.31 2.805-.692 2.805S0 8.77 0 7.221m22.616 0c0-1.549.31-2.805.692-2.805S24 5.672 24 7.221s-.31 2.805-.692 2.805-.692-1.256-.692-2.805"})))},{name:"discord",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M20.33 4.523A20 20 0 0 0 15.379 3a14 14 0 0 0-.634 1.289 18.4 18.4 0 0 0-5.495 0A14 14 0 0 0 8.615 3 20 20 0 0 0 3.66 4.527C.527 9.163-.323 13.684.102 18.141a20 20 0 0 0 6.073 3.049 14.7 14.7 0 0 0 1.301-2.097 13 13 0 0 1-2.048-.978q.258-.189.502-.378a14.27 14.27 0 0 0 12.142 0q.247.202.502.378a13 13 0 0 1-2.052.98 14.5 14.5 0 0 0 1.301 2.095 19.9 19.9 0 0 0 6.076-3.047c.498-5.168-.851-9.648-3.568-13.62M8.013 15.4c-1.183 0-2.161-1.074-2.161-2.395S6.796 10.6 8.01 10.6s2.183 1.083 2.163 2.405S9.22 15.4 8.013 15.4m7.974 0c-1.186 0-2.16-1.074-2.16-2.395s.944-2.405 2.16-2.405 2.178 1.083 2.157 2.405-.951 2.395-2.158 2.395"})))},{name:"dribbble",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12 22C6.486 22 2 17.514 2 12S6.486 2 12 2s10 4.486 10 10-4.486 10-10 10m8.434-8.631c-.292-.092-2.644-.794-5.32-.365 1.117 3.07 1.572 5.57 1.659 6.09a8.56 8.56 0 0 0 3.661-5.725m-5.098 6.507c-.127-.749-.623-3.361-1.822-6.477l-.056.019c-4.818 1.679-6.547 5.02-6.701 5.334A8.5 8.5 0 0 0 12 20.555a8.5 8.5 0 0 0 3.336-.679m-9.682-2.152c.193-.331 2.538-4.213 6.943-5.637q.167-.054.337-.102a29 29 0 0 0-.692-1.45c-4.266 1.277-8.405 1.223-8.778 1.216a8.497 8.497 0 0 0 2.19 5.973m-2.015-7.46c.382.005 3.901.02 7.897-1.041a55 55 0 0 0-3.167-4.94 8.57 8.57 0 0 0-4.73 5.981m6.359-6.555a46 46 0 0 1 3.187 5c3.037-1.138 4.323-2.867 4.477-3.085a8.51 8.51 0 0 0-7.664-1.915m8.614 2.903c-.18.243-1.612 2.078-4.77 3.367a27 27 0 0 1 .751 1.678c2.842-.357 5.666.215 5.948.275a8.5 8.5 0 0 0-1.929-5.32"})))},{name:"dropbox",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12 6.134 6.069 9.797 2 6.54l5.883-3.843zm-10 6.92 5.883 3.843L12 13.459 6.069 9.797zm10 .405 4.116 3.439L22 13.054l-4.069-3.257zM22 6.54l-5.884-3.843L12 6.134l5.931 3.663zm-9.989 7.66-4.129 3.426-1.767-1.153v1.291l5.896 3.539 5.897-3.539v-1.291l-1.769 1.153z"})))},{name:"eventbrite",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M18.041 3.931 5.959 3A2.96 2.96 0 0 0 3 5.959v12.083A2.96 2.96 0 0 0 5.959 21l12.083-.931C19.699 19.983 21 18.744 21 17.11V6.89c0-1.634-1.259-2.863-2.959-2.959M16.933 8.17c-.082.215-.192.432-.378.551-.188.122-.489.132-.799.132-1.521 0-3.062-.048-4.607-.048q-.23 1.061-.451 2.128c.932-.004 1.873.005 2.81.005.726 0 1.462-.069 1.586.525.04.189-.001.426-.052.615-.105.38-.258.676-.625.783-.185.054-.408.058-.646.058-1.145 0-2.345.017-3.493.02-.169.772-.328 1.553-.489 2.333 1.57-.005 3.067-.041 4.633-.058.627-.007 1.085.194 1.009.85a2.2 2.2 0 0 1-.211.725c-.102.208-.248.376-.488.452-.237.075-.541.064-.862.078-.304.014-.614.008-.924.016-.309.009-.619.022-.919.022-1.253 0-2.429.08-3.683.073-.603-.004-1.014-.249-1.124-.757-.059-.273-.018-.58.036-.841a3543 3543 0 0 1 1.629-7.763c.056-.265.114-.511.225-.714a1.24 1.24 0 0 1 .79-.62c.368-.099.883-.047 1.344-.047.305 0 .612.008.914.016.925.026 1.817.03 2.747.053.304.007.615.016.915.016.621 0 1.17.073 1.245.614.039.288-.051.567-.132.783"})))},{name:"facebook",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("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-10"})))},{name:"fediverse",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 743 743"},React.createElement("g",null,React.createElement("path",{d:"M181.131 275.137a68.9 68.9 0 0 1-29.465 29.328l161.758 162.389 38.998-19.764zm213.363 214.187-38.998 19.764 81.963 82.283a68.9 68.9 0 0 1 29.471-29.332zM581.646 339.391l-91.576 46.41 6.752 43.189 103.616-52.513a68.9 68.9 0 0 1-18.792-37.086m-144.738 73.351L220.383 522.477a68.9 68.9 0 0 1 18.795 37.089L443.66 455.934zM367.275 142.438l-104.48 203.97 30.848 30.967 110.623-215.957a68.9 68.9 0 0 1-36.991-18.98M235.621 399.459l-52.922 103.314a68.9 68.9 0 0 1 36.987 18.979l46.781-91.328zM150.768 304.918a68.9 68.9 0 0 1-34.416 7.195 69 69 0 0 1-6.651-.695l30.903 197.662a68.9 68.9 0 0 1 34.416-7.195 69 69 0 0 1 6.646.695zM239.342 560.545c.707 4.589.949 9.239.72 13.877a68.9 68.9 0 0 1-7.267 27.18l197.629 31.712c-.708-4.59-.95-9.24-.723-13.878a68.9 68.9 0 0 1 7.27-27.178zM601.133 377.199l-91.219 178.082a68.9 68.9 0 0 1 36.994 18.983l91.217-178.08a68.9 68.9 0 0 1-36.992-18.985M476.723 125.33a68.9 68.9 0 0 1-29.471 29.332l141.266 141.811a68.9 68.9 0 0 1 29.468-29.332zM347.787 104.631l-178.576 90.498a68.9 68.9 0 0 1 18.793 37.086l178.574-90.502a68.9 68.9 0 0 1-18.791-37.082M446.926 154.826a68.9 68.9 0 0 1-34.983 7.483 69 69 0 0 1-6.029-.633l15.818 101.291 43.163 6.926zm-16 167.028 37.4 239.482a68.9 68.9 0 0 1 33.914-6.943q3.625.206 7.207.791L474.09 328.777zM188.131 232.975c.734 4.66.988 9.383.758 14.095a68.9 68.9 0 0 1-7.16 26.983l101.369 16.281 19.923-38.908zm173.736 27.9-19.926 38.912 239.514 38.467a69 69 0 0 1-.695-13.719 68.9 68.9 0 0 1 7.349-27.324z"}),React.createElement("path",{fillOpacity:".996",d:"M412.284 156.054c34.538 1.882 64.061-24.592 65.943-59.13s-24.592-64.062-59.131-65.943c-34.538-1.882-64.061 24.592-65.943 59.13s24.593 64.062 59.131 65.943M646.144 390.82c34.538 1.881 64.062-24.593 65.943-59.131s-24.592-64.061-59.13-65.943-64.062 24.593-65.943 59.131 24.592 64.061 59.13 65.943M495.086 685.719c34.538 1.881 64.062-24.592 65.943-59.13s-24.592-64.062-59.13-65.943-64.062 24.592-65.943 59.13 24.592 64.062 59.13 65.943M167.866 633.211c34.538 1.882 64.062-24.592 65.943-59.13s-24.592-64.062-59.13-65.943-64.062 24.592-65.943 59.13 24.592 64.062 59.13 65.943M116.692 305.86c34.538 1.882 64.062-24.592 65.943-59.13s-24.592-64.062-59.131-65.943c-34.538-1.881-64.061 24.592-65.943 59.13s24.593 64.062 59.131 65.943"})))},{name:"feed",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M2 8.667V12c5.515 0 10 4.485 10 10h3.333c0-7.363-5.97-13.333-13.333-13.333M2 2v3.333c9.19 0 16.667 7.477 16.667 16.667H22C22 10.955 13.045 2 2 2m2.5 15a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5"})))},{name:"flickr",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M6.5 7c-2.75 0-5 2.25-5 5s2.25 5 5 5 5-2.25 5-5-2.25-5-5-5m11 0c-2.75 0-5 2.25-5 5s2.25 5 5 5 5-2.25 5-5-2.25-5-5-5"})))},{name:"foursquare",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M17.573 2H6.905C5.434 2 5 3.107 5 3.805v16.948c0 .785.422 1.077.66 1.172.238.097.892.177 1.285-.275 0 0 5.035-5.843 5.122-5.93.132-.132.132-.132.262-.132h3.26c1.368 0 1.588-.977 1.732-1.552.078-.318.692-3.428 1.225-6.122l.675-3.368C19.56 2.893 19.14 2 17.573 2m-1.078 5.22c-.053.252-.372.518-.665.518h-4.157c-.467 0-.802.318-.802.787v.508c0 .467.337.798.805.798h3.528c.331 0 .655.362.583.715s-.407 2.102-.448 2.295c-.04.193-.262.523-.655.523h-2.88c-.523 0-.683.068-1.033.503-.35.437-3.505 4.223-3.505 4.223-.032.035-.063.027-.063-.015V4.852c0-.298.26-.648.648-.648h8.562c.315 0 .61.297.528.683z"})))},{name:"ghost",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M10.203 20.997H3.005v-3.599h7.198zm10.792-3.599h-7.193v3.599h7.193zm.003-7.198H3v3.599h17.998zm-7.195-7.197H3.005v3.599h10.798zm7.197 0h-3.599v3.599H21z"})))},{name:"git",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M23.519 10.947 13.053.482a1.543 1.543 0 0 0-2.183 0L8.696 2.656l2.756 2.756a1.83 1.83 0 0 1 1.886.439 1.84 1.84 0 0 1 .436 1.898l2.656 2.657a1.83 1.83 0 0 1 1.899.436 1.837 1.837 0 0 1 0 2.597 1.84 1.84 0 0 1-2.599 0 1.84 1.84 0 0 1-.4-1.998l-2.478-2.477v6.521a1.837 1.837 0 0 1 .485 2.945 1.837 1.837 0 0 1-2.597 0 1.837 1.837 0 0 1 0-2.598 1.8 1.8 0 0 1 .602-.401V8.85a1.8 1.8 0 0 1-.602-.4 1.84 1.84 0 0 1-.395-2.009L7.628 3.723.452 10.898a1.544 1.544 0 0 0 0 2.184l10.467 10.467a1.544 1.544 0 0 0 2.183 0l10.417-10.418a1.546 1.546 0 0 0 0-2.184"})))},{name:"github",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12c0 4.419 2.865 8.166 6.839 9.489.5.09.682-.218.682-.484 0-.236-.009-.866-.014-1.699-2.782.602-3.369-1.34-3.369-1.34-.455-1.157-1.11-1.465-1.11-1.465-.909-.62.069-.608.069-.608 1.004.071 1.532 1.03 1.532 1.03.891 1.529 2.341 1.089 2.91.833.091-.647.349-1.086.635-1.337-2.22-.251-4.555-1.111-4.555-4.943 0-1.091.39-1.984 1.03-2.682-.103-.254-.447-1.27.097-2.646 0 0 .84-.269 2.75 1.025A9.6 9.6 0 0 1 12 6.836c.85.004 1.705.114 2.504.336 1.909-1.294 2.748-1.025 2.748-1.025.546 1.376.202 2.394.1 2.646.64.699 1.026 1.591 1.026 2.682 0 3.841-2.337 4.687-4.565 4.935.359.307.679.917.679 1.852 0 1.335-.012 2.415-.012 2.741 0 .269.18.579.688.481A10 10 0 0 0 22 12c0-5.523-4.477-10-10-10"})))},{name:"google-alt",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2m-.05 16c-3.312 0-6-2.688-6-6s2.688-6 6-6c1.62 0 2.976.594 4.014 1.566L14.26 9.222c-.432-.408-1.188-.888-2.31-.888-1.986 0-3.606 1.65-3.606 3.672s1.62 3.672 3.606 3.672c2.298 0 3.144-1.59 3.3-2.532h-3.306v-2.238h5.616c.084.378.15.732.15 1.23 0 3.426-2.298 5.862-5.76 5.862"})))},{name:"google-plus-alt",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M8 11h6.61c.06.35.11.7.11 1.16 0 4-2.68 6.84-6.72 6.84-3.87 0-7-3.13-7-7s3.13-7 7-7c1.89 0 3.47.69 4.69 1.83l-1.9 1.83c-.52-.5-1.43-1.08-2.79-1.08-2.39 0-4.34 1.98-4.34 4.42S5.61 16.42 8 16.42c2.77 0 3.81-1.99 3.97-3.02H8zm15 0h-2V9h-2v2h-2v2h2v2h2v-2h2"})))},{name:"google-plus",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2m-1.919 14.05a4.051 4.051 0 0 1 0-8.1c1.094 0 2.009.401 2.709 1.057l-1.15 1.118a2.23 2.23 0 0 0-1.559-.599c-1.341 0-2.434 1.114-2.434 2.479s1.094 2.479 2.434 2.479c1.551 0 2.122-1.073 2.227-1.709h-2.232v-1.511h3.791c.057.255.101.494.101.83.001 2.312-1.55 3.956-3.887 3.956M19 12.75h-1.25V14h-1.5v-1.25H15v-1.5h1.25V10h1.5v1.25H19z"})))},{name:"google",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12.02 10.18v3.73h5.51c-.26 1.57-1.67 4.22-5.5 4.22-3.31 0-6.01-2.75-6.01-6.12s2.7-6.12 6.01-6.12c1.87 0 3.13.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 0-.83-.11-1.42-.25-2.05z"})))},{name:"instagram",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12 4.622c2.403 0 2.688.009 3.637.052.877.04 1.354.187 1.671.31.42.163.72.358 1.035.673s.51.615.673 1.035c.123.317.27.794.31 1.671.043.949.052 1.234.052 3.637s-.009 2.688-.052 3.637c-.04.877-.187 1.354-.31 1.671-.163.42-.358.72-.673 1.035s-.615.51-1.035.673c-.317.123-.794.27-1.671.31-.949.043-1.233.052-3.637.052s-2.688-.009-3.637-.052c-.877-.04-1.354-.187-1.671-.31a2.8 2.8 0 0 1-1.035-.673 2.8 2.8 0 0 1-.673-1.035c-.123-.317-.27-.794-.31-1.671-.043-.949-.052-1.234-.052-3.637s.009-2.688.052-3.637c.04-.877.187-1.354.31-1.671.163-.42.358-.72.673-1.035s.615-.51 1.035-.673c.317-.123.794-.27 1.671-.31.949-.043 1.234-.052 3.637-.052M12 3c-2.444 0-2.751.01-3.711.054-.958.044-1.612.196-2.184.418a4.4 4.4 0 0 0-1.594 1.039c-.5.5-.808 1.002-1.038 1.594-.223.572-.375 1.226-.419 2.184C3.01 9.249 3 9.556 3 12s.01 2.751.054 3.711c.044.958.196 1.612.418 2.185.23.592.538 1.094 1.038 1.594s1.002.808 1.594 1.038c.572.222 1.227.375 2.185.418.96.044 1.267.054 3.711.054s2.751-.01 3.711-.054c.958-.044 1.612-.196 2.185-.418a4.4 4.4 0 0 0 1.594-1.038c.5-.5.808-1.002 1.038-1.594.222-.572.375-1.227.418-2.185.044-.96.054-1.267.054-3.711s-.01-2.751-.054-3.711c-.044-.958-.196-1.612-.418-2.185A4.4 4.4 0 0 0 19.49 4.51c-.5-.5-1.002-.808-1.594-1.038-.572-.222-1.227-.375-2.185-.418C14.751 3.01 14.444 3 12 3m0 4.378a4.622 4.622 0 1 0 0 9.244 4.622 4.622 0 0 0 0-9.244M12 15a3 3 0 1 1 0-6 3 3 0 0 1 0 6m4.804-8.884a1.08 1.08 0 1 0 .001 2.161 1.08 1.08 0 0 0-.001-2.161"})))},{name:"json-feed",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"m8.522 17.424.027.027c1.076-1.076 1.854-.993 3.154.306l2.053 2.053c2.136 2.136 4.131 2.028 6.515-.356l.729-.728-1.548-1.548-.373.373c-1.349 1.349-2.293 1.366-3.585.075l-2.409-2.409c-1.242-1.242-2.475-1.366-3.659-.381l-.232-.232c1.01-1.225.911-2.368-.29-3.568l-2.16-2.162c-1.317-1.317-1.308-2.236.058-3.602l.372-.372-1.54-1.54-.728.729c-2.393 2.393-2.525 4.346-.439 6.433l1.78 1.78c1.3 1.3 1.383 2.095.315 3.163l.008.008a1.384 1.384 0 0 0 1.952 1.951"}),React.createElement("circle",{cx:"13.089",cy:"10.905",r:"1.383"}),React.createElement("circle",{cx:"16.349",cy:"7.644",r:"1.383"}),React.createElement("circle",{cx:"19.61",cy:"4.383",r:"1.383"})))},{name:"line",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M14.255 9.572v3.333c0 .084-.066.15-.15.15h-.534a.16.16 0 0 1-.122-.061l-1.528-2.063v1.978c0 .084-.066.15-.15.15h-.534a.15.15 0 0 1-.15-.15V9.576c0-.084.066-.15.15-.15h.529a.14.14 0 0 1 .122.066l1.528 2.063V9.577c0-.084.066-.15.15-.15h.534a.15.15 0 0 1 .155.145m-3.844-.15h-.534a.15.15 0 0 0-.15.15v3.333c0 .084.066.15.15.15h.534c.084 0 .15-.066.15-.15V9.572c0-.08-.066-.15-.15-.15m-1.289 2.794H7.664V9.572a.15.15 0 0 0-.15-.15H6.98a.15.15 0 0 0-.15.15v3.333q0 .062.042.103a.16.16 0 0 0 .103.042h2.142c.084 0 .15-.066.15-.15v-.534a.15.15 0 0 0-.145-.15m7.945-2.794h-2.142c-.08 0-.15.066-.15.15v3.333c0 .08.066.15.15.15h2.142c.084 0 .15-.066.15-.15v-.534a.15.15 0 0 0-.15-.15h-1.458v-.563h1.458c.084 0 .15-.066.15-.15v-.539a.15.15 0 0 0-.15-.15h-1.458v-.563h1.458c.084 0 .15-.066.15-.15v-.534c-.005-.08-.07-.15-.15-.15M22.5 5.33v13.373c-.005 2.1-1.725 3.802-3.83 3.797H5.297c-2.1-.005-3.802-1.73-3.797-3.83V5.297c.005-2.1 1.73-3.802 3.83-3.797h13.373c2.1.005 3.802 1.725 3.797 3.83m-2.888 5.747c0-3.422-3.431-6.206-7.645-6.206s-7.645 2.784-7.645 6.206c0 3.066 2.719 5.634 6.394 6.122.895.192.792.52.591 1.725-.033.192-.155.755.661.413s4.402-2.592 6.009-4.439c1.106-1.219 1.636-2.452 1.636-3.82"})))},{name:"link",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M17 13H7v-2h10zm1-6h-1c-1.631 0-3.065.792-3.977 2H18c1.103 0 2 .897 2 2v2c0 1.103-.897 2-2 2h-4.977c.913 1.208 2.347 2 3.977 2h1a4 4 0 0 0 4-4v-2a4 4 0 0 0-4-4M2 11v2a4 4 0 0 0 4 4h1c1.63 0 3.065-.792 3.977-2H6c-1.103 0-2-.897-2-2v-2c0-1.103.897-2 2-2h4.977C10.065 7.792 8.631 7 7 7H6a4 4 0 0 0-4 4"})))},{name:"linkedin",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M19.7 3H4.3A1.3 1.3 0 0 0 3 4.3v15.4A1.3 1.3 0 0 0 4.3 21h15.4a1.3 1.3 0 0 0 1.3-1.3V4.3A1.3 1.3 0 0 0 19.7 3M8.339 18.338H5.667v-8.59h2.672zM7.004 8.574a1.548 1.548 0 1 1-.002-3.096 1.548 1.548 0 0 1 .002 3.096m11.335 9.764H15.67v-4.177c0-.996-.017-2.278-1.387-2.278-1.389 0-1.601 1.086-1.601 2.206v4.249h-2.667v-8.59h2.559v1.174h.037c.356-.675 1.227-1.387 2.526-1.387 2.703 0 3.203 1.779 3.203 4.092v4.711z"})))},{name:"mail",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M20 4H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2m0 4.236-8 4.882-8-4.882V6h16z"})))},{name:"mastodon",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M11.973 2.352c-2.468.02-4.842.286-6.225.921 0 0-2.742 1.229-2.742 5.415 0 .958-.018 2.105.012 3.32.1 4.094.75 8.128 4.535 9.129 1.745.462 3.244.56 4.45.494 2.19-.122 3.417-.781 3.417-.781l-.072-1.588s-1.565.491-3.32.431c-1.74-.06-3.576-.188-3.858-2.324a4 4 0 0 1-.04-.598s1.709.416 3.874.516c1.324.06 2.563-.076 3.824-.226 2.418-.29 4.524-1.78 4.79-3.141.416-2.144.38-5.232.38-5.232 0-4.186-2.74-5.415-2.74-5.415-1.383-.635-3.76-.9-6.227-.921zM9.18 5.622c1.028 0 1.804.395 2.318 1.185l.502.84.5-.84c.514-.79 1.292-1.186 2.32-1.186.888 0 1.605.313 2.15.922q.795.915.794 2.469v5.068h-2.008V9.16c0-1.037-.438-1.562-1.31-1.562-.966 0-1.448.622-1.448 1.857v2.693h-1.996V9.455c0-1.235-.484-1.857-1.45-1.857-.872 0-1.308.525-1.308 1.562v4.92H6.236V9.012q-.001-1.554.793-2.469c.547-.609 1.263-.922 2.15-.922"})))},{name:"medium-alt",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{fillRule:"nonzero",d:"M7.423 6c3.27 0 5.922 2.686 5.922 6s-2.651 6-5.922 6S1.5 15.313 1.5 12s2.652-6 5.923-6m9.458.351c1.635 0 2.961 2.53 2.961 5.65 0 3.118-1.325 5.648-2.96 5.648S13.92 15.119 13.92 12s1.325-5.649 2.96-5.649m4.577.589c.576 0 1.042 2.265 1.042 5.06s-.466 5.06-1.042 5.06c-.575 0-1.04-2.265-1.04-5.06s.465-5.06 1.04-5.06"})))},{name:"medium",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M3 3v18h18V3zm15 4.26-1 .93a.28.28 0 0 0-.11.27v6.8a.27.27 0 0 0 .11.27l.94.93v.2h-4.75v-.2l1-1c.09-.1.09-.12.09-.27V9.74l-2.71 6.9h-.37L8 9.74v4.62a.67.67 0 0 0 .17.54l1.27 1.54v.2H5.86v-.2l1.27-1.54a.64.64 0 0 0 .17-.54V9a.5.5 0 0 0-.16-.4L6 7.26v-.2h3.52L12.23 13l2.38-5.94H18z"})))},{name:"messenger",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12.026.375C5.462.375.375 5.172.375 11.652c0 3.389 1.393 6.318 3.66 8.341.391.352.311.556.377 2.73a.934.934 0 0 0 1.307.823c2.48-1.092 2.512-1.178 2.933-1.064 7.185 1.977 14.973-2.621 14.973-10.83 0-6.48-5.035-11.277-11.599-11.277m6.996 8.678L15.6 14.47a1.75 1.75 0 0 1-2.527.465l-2.723-2.038a.7.7 0 0 0-.844 0l-3.674 2.786c-.49.372-1.133-.216-.802-.735l3.422-5.417a1.75 1.75 0 0 1 2.527-.465l2.722 2.037a.7.7 0 0 0 .844 0L18.22 8.32c.489-.374 1.132.213.801.732"})))},{name:"microblog",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M19.641 17.086c1.294-1.522 2.067-3.438 2.067-5.521 0-4.957-4.371-8.972-9.763-8.972s-9.763 4.015-9.763 8.972 4.371 8.972 9.763 8.972a10.5 10.5 0 0 0 3.486-.59.315.315 0 0 1 .356.112c.816 1.101 2.09 1.876 3.506 2.191a.194.194 0 0 0 .192-.309 3.82 3.82 0 0 1 .162-4.858zm-3.065-6.575-2.514 1.909.912 3.022a.286.286 0 0 1-.437.317l-2.592-1.802-2.592 1.802a.285.285 0 0 1-.436-.317l.912-3.022-2.515-1.909a.285.285 0 0 1 .167-.513l3.155-.066 1.038-2.981a.285.285 0 0 1 .539 0l1.038 2.981 3.155.066a.285.285 0 0 1 .17.513"})))},{name:"nextdoor",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",strokeMiterlimit:"10",viewBox:"0 0 130 130"},React.createElement("g",null,React.createElement("path",{d:"M64.25 3.531c-31.144.337-57.596 24.22-60.469 55.907-3.064 33.799 21.857 63.685 55.657 66.75s63.685-21.857 66.75-55.657-21.857-63.686-55.657-66.75a62 62 0 0 0-6.281-.25m3.938 34.907C82.468 38.438 93.5 48.58 93.5 61.5v27c0 .685-.565 1.25-1.25 1.25H80.906a1.267 1.267 0 0 1-1.25-1.25V63.375c0-5.58-4.309-11.937-11.469-11.937-7.47 0-11.468 6.357-11.468 11.937V88.5c0 .685-.565 1.25-1.25 1.25H44.125c-.68 0-1.219-.57-1.219-1.25V64.156c0-.74-.529-1.364-1.25-1.531-13.13-2.93-15.115-10.285-15.375-21.125-.005-.332.142-.67.375-.906.233-.237.543-.375.875-.375l11.688.062c.66.01 1.187.529 1.218 1.188.13 4.44.438 9.406 4.438 9.406.83 0 1.443-1.179 1.813-1.719 4.41-6.48 12.28-10.718 21.5-10.718"})))},{name:"patreon",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M20 7.408c-.003-2.299-1.746-4.182-3.79-4.862-2.54-.844-5.888-.722-8.312.453-2.939 1.425-3.862 4.545-3.896 7.656-.028 2.559.22 9.297 3.92 9.345 2.75.036 3.159-3.603 4.43-5.356.906-1.247 2.071-1.599 3.506-1.963 2.465-.627 4.146-2.626 4.142-5.273"})))},{name:"pinterest-alt",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12.289 2C6.617 2 3.606 5.648 3.606 9.622c0 1.846 1.025 4.146 2.666 4.878.25.111.381.063.439-.169.044-.175.267-1.029.365-1.428a.37.37 0 0 0-.091-.362c-.54-.63-.975-1.791-.975-2.873 0-2.777 2.194-5.464 5.933-5.464 3.23 0 5.49 2.108 5.49 5.122 0 3.407-1.794 5.768-4.13 5.768-1.291 0-2.257-1.021-1.948-2.277.372-1.495 1.089-3.112 1.089-4.191 0-.967-.542-1.775-1.663-1.775-1.319 0-2.379 1.309-2.379 3.059 0 1.115.394 1.869.394 1.869s-1.302 5.279-1.54 6.261c-.405 1.666.053 4.368.094 4.604.021.126.167.169.25.063.129-.165 1.699-2.419 2.142-4.051.158-.59.817-2.995.817-2.995.43.784 1.681 1.446 3.013 1.446 3.963 0 6.822-3.494 6.822-7.833C20.394 5.112 16.849 2 12.289 2"})))},{name:"pinterest",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12c0 4.236 2.636 7.855 6.356 9.312-.087-.791-.166-2.005.035-2.869.182-.78 1.173-4.971 1.173-4.971s-.299-.599-.299-1.484c0-1.39.806-2.429 1.809-2.429.853 0 1.265.641 1.265 1.409 0 .858-.546 2.141-.828 3.329-.236.996.499 1.807 1.481 1.807 1.777 0 3.144-1.874 3.144-4.579 0-2.394-1.72-4.068-4.177-4.068-2.845 0-4.515 2.134-4.515 4.34 0 .859.331 1.781.744 2.282a.3.3 0 0 1 .069.287c-.077.316-.246.995-.279 1.134-.044.183-.145.222-.334.134-1.249-.581-2.03-2.407-2.03-3.874 0-3.154 2.292-6.051 6.607-6.051 3.469 0 6.165 2.472 6.165 5.775 0 3.446-2.173 6.22-5.189 6.22-1.013 0-1.966-.526-2.292-1.148l-.623 2.377c-.226.869-.835 1.957-1.243 2.622.936.289 1.93.445 2.961.445 5.523 0 10-4.477 10-10S17.523 2 12 2"})))},{name:"pocket",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M21.927 4.194A1.82 1.82 0 0 0 20.222 3H3.839a1.823 1.823 0 0 0-1.813 1.814v6.035l.069 1.2c.29 2.73 1.707 5.115 3.899 6.778l.119.089.025.018a9.9 9.9 0 0 0 3.91 1.727 10.06 10.06 0 0 0 4.049-.014.3.3 0 0 0 .064-.023 9.9 9.9 0 0 0 3.753-1.691l.025-.018q.06-.043.119-.089c2.192-1.664 3.609-4.049 3.898-6.778l.069-1.2V4.814a1.8 1.8 0 0 0-.098-.62m-4.235 6.287-4.704 4.512a1.37 1.37 0 0 1-1.898 0l-4.705-4.512a1.371 1.371 0 1 1 1.898-1.979l3.756 3.601 3.755-3.601a1.372 1.372 0 0 1 1.898 1.979"})))},{name:"polldaddy",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12 2C6.487 2 2 6.487 2 12c0 5.514 4.487 10 10 10 5.514 0 10-4.486 10-10 0-5.513-4.486-10-10-10m.991 1.68c2.361.084 4.657 1.251 6.197 3.136.283.334.541.693.774 1.067a7.78 7.78 0 0 0-6.094-2.94 7.76 7.76 0 0 0-5.896 2.703q-.008.006-.016.014l-.152.159-.031.032a6.12 6.12 0 0 0-1.633 4.165 6.15 6.15 0 0 0 6.143 6.143c.57 0 1.123-.081 1.649-.227-1.849.839-4.131.747-5.926-.324-1.841-1.089-3.171-3.111-3.433-5.313A7.39 7.39 0 0 1 6.69 6.137C8.294 4.5 10.634 3.563 12.991 3.68m3.373 8.519c-.049-2.024-1.587-3.889-3.544-4.174-1.927-.343-3.917.857-4.451 2.661a3.67 3.67 0 0 0 .2 2.653c.39.8 1.067 1.451 1.894 1.759 1.664.654 3.63-.27 4.173-1.863.593-1.58-.396-3.423-1.94-3.776-1.52-.407-3.161.757-3.204 2.243a2.36 2.36 0 0 0 .753 1.879c.501.476 1.23.667 1.871.529a2.07 2.07 0 0 0 1.469-1.134 1.91 1.91 0 0 0-.087-1.767c-.297-.513-.859-.863-1.429-.881a1.7 1.7 0 0 0-1.437.679 1.53 1.53 0 0 0-.18 1.489q.006.016.016.03c.193.634.774 1.1 1.467 1.117a1.6 1.6 0 0 1-.97-.183c-.466-.244-.809-.747-.893-1.29a1.8 1.8 0 0 1 .499-1.539 2.02 2.02 0 0 1 1.58-.606c.593.04 1.159.35 1.517.859.364.496.51 1.156.383 1.773-.116.62-.529 1.174-1.093 1.514a2.52 2.52 0 0 1-1.914.286c-.65-.161-1.226-.606-1.584-1.206a2.83 2.83 0 0 1-.341-2.031c.143-.7.573-1.321 1.176-1.753 1.193-.883 3.056-.751 4.106.411 1.106 1.1 1.327 3.027.406 4.371-.877 1.376-2.74 2.086-4.374 1.594-1.639-.449-2.913-2.079-3.031-3.853-.07-.884.13-1.797.583-2.577.445-.777 1.155-1.432 1.972-1.862 1.64-.88 3.816-.743 5.349.424 1.251.924 2.083 2.42 2.236 4.009l.001.03c0 2.9-2.359 5.26-5.26 5.26a5.2 5.2 0 0 1-1.947-.376 5 5 0 0 0 2.613-.079 4.96 4.96 0 0 0 2.514-1.751c.618-.828.95-1.861.901-2.869M12 21.113c-5.024 0-9.111-4.087-9.111-9.113 0-4.789 3.713-8.723 8.411-9.081a7 7 0 0 0-.397.06c-2.644.453-5.017 2.106-6.32 4.409-1.309 2.301-1.391 5.19-.3 7.527 1.056 2.34 3.253 4.156 5.776 4.553 2.497.44 5.133-.483 6.787-2.301 1.719-1.797 2.269-4.529 1.486-6.796-.583-1.81-1.976-3.331-3.7-4.046 3.417.594 6.174 3.221 6.174 6.781 0 1.004-.241 2.02-.657 2.966-1.498 2.984-4.586 5.041-8.149 5.041"})))},{name:"print",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M9 16h6v2H9zm13 1h-3v3a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-3H2V9a2 2 0 0 1 2-2h1V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v2h1a2 2 0 0 1 2 2zM7 7h10V5H7zm10 7H7v6h10zm3-3.5a1.5 1.5 0 1 0-3.001.001A1.5 1.5 0 0 0 20 10.5"})))},{name:"quora",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M47.736 16.521c-.41-.81-.898-1.631-1.846-1.631a1 1 0 0 0-.527.107l-.322-.644a2.93 2.93 0 0 1 1.836-.595c1.26 0 1.914.605 2.431 1.397a6.8 6.8 0 0 0 .449-2.675c0-2.773-.869-4.199-2.929-4.199-1.992 0-2.851 1.465-2.851 4.199s.859 4.17 2.851 4.17a4 4 0 0 0 .869-.107zm.498.966a6 6 0 0 1-1.367.185 5.27 5.27 0 0 1-5.263-5.204c0-3.114 2.558-5.233 5.263-5.233s5.282 2.109 5.282 5.233a5.08 5.08 0 0 1-1.992 4.072c.381.566.781.956 1.319.956.595 0 .839-.459.878-.82h.781c.049.488-.195 2.48-2.373 2.48-1.319 0-2.012-.761-2.529-1.66zm5.624-2.646v-3.563c0-.371-.146-.586-.615-.586h-.498v-.956h3.251v5.048c0 .849.459 1.231 1.161 1.231a1.56 1.56 0 0 0 1.465-.839V11.28c0-.371-.146-.586-.615-.586h-.527v-.957h3.28v5.302c0 .527.195.732.8.732h.107v.976l-2.929.468V16.21h-.057a3.12 3.12 0 0 1-2.509 1.152c-1.28 0-2.304-.644-2.304-2.558zm12.059 1.611c1.152 0 1.592-1.005 1.611-3.027.02-1.982-.459-2.929-1.611-2.929-1.005 0-1.641.956-1.641 2.929 0 2.021.625 3.027 1.641 3.027m0 .956a3.906 3.906 0 0 1-3.974-3.974c0-2.334 1.836-3.886 3.974-3.886 2.226 0 4.004 1.582 4.004 3.886a3.867 3.867 0 0 1-4.004 3.974m4.072-.146v-.956h.312c.781 0 .859-.224.859-.908v-4.121c0-.371-.215-.586-.732-.586h-.42v-.955h2.968l.146 1.553h.108c.371-1.113 1.221-1.699 2.051-1.699.693 0 1.221.39 1.221 1.181 0 .547-.264 1.093-1.005 1.093-.664 0-.8-.449-1.358-.449-.488 0-.869.468-.869 1.152v2.783c0 .673.166.908.937.908h.439v.956h-4.658zm9.901-1.093c.956 0 1.338-.898 1.338-1.797v-1.211c-.732.722-2.304.742-2.304 2.021 0 .625.371.986.966.986m1.387 0c-.39.752-1.191 1.26-2.314 1.26-1.309 0-2.148-.732-2.148-1.914 0-2.451 3.417-1.797 4.423-3.427v-.185c0-1.25-.488-1.445-1.035-1.445-1.524 0-.83 1.631-2.226 1.631-.673 0-.937-.371-.937-.859 0-.927 1.093-1.67 3.173-1.67 1.963 0 3.163.537 3.163 2.49v3.114q-.02.742.595.742a1 1 0 0 0 .449-.127l.254.615c-.205.312-.752.869-1.836.869-.908 0-1.465-.42-1.543-1.113h-.01zm-68.554 2.558c-.83-1.641-1.807-3.3-3.711-3.3a2.9 2.9 0 0 0-1.093.215l-.644-1.299a5.66 5.66 0 0 1 3.662-1.211c2.548 0 3.857 1.231 4.892 2.792q.917-2.012.908-5.38c0-5.585-1.748-8.417-5.829-8.417-4.033 0-5.76 2.87-5.76 8.417s1.738 8.397 5.76 8.397a5.9 5.9 0 0 0 1.748-.224zm.996 1.953a9.8 9.8 0 0 1-2.744.371C5.614 21.041.371 16.764.371 10.545.371 4.277 5.614 0 10.965 0c5.448 0 10.642 4.248 10.642 10.545a10.25 10.25 0 0 1-4.013 8.201c.732 1.152 1.563 1.914 2.665 1.914 1.201 0 1.689-.927 1.768-1.66h1.572c.088.966-.4 4.999-4.775 4.999-2.646 0-4.052-1.543-5.106-3.339z"})))},{name:"reddit",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M22 11.816a2.28 2.28 0 0 0-2.277-2.277c-.593 0-1.122.24-1.526.614-1.481-.965-3.455-1.594-5.647-1.69l1.171-3.702 3.18.748a1.88 1.88 0 0 0 1.876 1.862 1.88 1.88 0 0 0 1.877-1.878 1.88 1.88 0 0 0-1.877-1.877c-.769 0-1.431.466-1.72 1.13l-3.508-.826a.386.386 0 0 0-.46.261l-1.35 4.268c-2.316.038-4.411.67-5.97 1.671a2.24 2.24 0 0 0-1.492-.581A2.28 2.28 0 0 0 2 11.816c0 .814.433 1.523 1.078 1.925a4 4 0 0 0-.061.672c0 3.292 4.011 5.97 8.941 5.97s8.941-2.678 8.941-5.97q-.002-.32-.053-.632A2.26 2.26 0 0 0 22 11.816m-3.224-7.422a1.1 1.1 0 1 1-.001 2.199 1.1 1.1 0 0 1 .001-2.199M2.777 11.816c0-.827.672-1.5 1.499-1.5.313 0 .598.103.838.269-.851.676-1.477 1.479-1.812 2.36a1.48 1.48 0 0 1-.525-1.129m9.182 7.79c-4.501 0-8.164-2.329-8.164-5.193S7.457 9.22 11.959 9.22s8.164 2.329 8.164 5.193-3.663 5.193-8.164 5.193m8.677-6.605c-.326-.89-.948-1.701-1.797-2.384.248-.186.55-.301.883-.301.827 0 1.5.673 1.5 1.5.001.483-.23.911-.586 1.185m-11.64 1.703c-.76 0-1.397-.616-1.397-1.376s.637-1.397 1.397-1.397 1.376.637 1.376 1.397-.616 1.376-1.376 1.376m7.405-1.376c0 .76-.616 1.376-1.376 1.376s-1.399-.616-1.399-1.376.639-1.397 1.399-1.397 1.376.637 1.376 1.397m-1.172 3.38a.39.39 0 0 1 0 .55c-.674.674-1.727 1.002-3.219 1.002l-.011-.002-.011.002c-1.492 0-2.544-.328-3.218-1.002a.389.389 0 1 1 .55-.55c.521.521 1.394.775 2.669.775l.011.002.011-.002c1.275 0 2.148-.253 2.669-.775a.387.387 0 0 1 .549 0"})))},{name:"share",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M18 16c-.788 0-1.499.31-2.034.807L8.91 12.7c.05-.23.09-.46.09-.7s-.04-.47-.09-.7l7.05-4.11c.54.5 1.25.81 2.04.81 1.66 0 3-1.34 3-3s-1.34-3-3-3-3 1.34-3 3c0 .24.04.47.09.7L8.04 9.81C7.5 9.31 6.79 9 6 9c-1.66 0-3 1.34-3 3s1.34 3 3 3c.79 0 1.5-.31 2.04-.81l7.048 4.118A3 3 0 0 0 15 19a3 3 0 1 0 3-3"})))},{name:"skype",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"m10.113 2.699.1-.02q.05.025.098.051zM2.72 10.223l-.017.103q.025.048.051.095zm18.555 3.548q.009-.053.018-.106-.025-.047-.052-.095zm-7.712 7.428q.049.027.096.053l.105-.017zM22 16.386a5.55 5.55 0 0 1-1.637 3.953 5.55 5.55 0 0 1-3.953 1.637 5.6 5.6 0 0 1-2.75-.725l.105-.017-.202-.035q.049.027.096.053a9.5 9.5 0 0 1-1.654.147 9.4 9.4 0 0 1-3.676-.743 9.4 9.4 0 0 1-3.002-2.023 9.4 9.4 0 0 1-2.023-3.002 9.4 9.4 0 0 1-.743-3.676c0-.546.049-1.093.142-1.628q.025.048.051.095l-.034-.199-.017.103A5.6 5.6 0 0 1 2 7.615c0-1.493.582-2.898 1.637-3.953A5.56 5.56 0 0 1 7.59 2.024c.915 0 1.818.228 2.622.655l-.1.02.199.031q-.049-.026-.098-.051l.004-.001a9.5 9.5 0 0 1 1.788-.169 9.41 9.41 0 0 1 6.678 2.766 9.4 9.4 0 0 1 2.024 3.002 9.4 9.4 0 0 1 .743 3.676c0 .575-.054 1.15-.157 1.712q-.025-.047-.052-.095l.034.201q.009-.053.018-.106c.461.829.707 1.767.707 2.721m-5.183-2.248c0-1.331-.613-2.743-3.033-3.282l-2.209-.49c-.84-.192-1.807-.444-1.807-1.237s.679-1.348 1.903-1.348c2.468 0 2.243 1.696 3.468 1.696.645 0 1.209-.379 1.209-1.031 0-1.521-2.435-2.663-4.5-2.663-2.242 0-4.63.952-4.63 3.488 0 1.221.436 2.521 2.839 3.123l2.984.745c.903.223 1.129.731 1.129 1.189 0 .762-.758 1.507-2.129 1.507-2.679 0-2.307-2.062-3.743-2.062-.645 0-1.113.444-1.113 1.078 0 1.236 1.501 2.886 4.856 2.886 3.195 0 4.776-1.538 4.776-3.599"})))},{name:"sms",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M17.696 4C20.069 4 22 5.973 22 8.398v4.357c0 2.04-1.368 3.783-3.261 4.266v4.427l-5.234-4.295h-7.2C3.93 17.153 2 15.18 2 12.755V8.398C2 5.973 3.931 4 6.304 4zM7.028 8.515c-.98 0-1.66.562-1.66 1.349-.009.497.322.91.985 1.178l.39.142c.242.097.305.171.305.297 0 .162-.131.251-.442.251s-.76-.135-1.004-.284l-.112.046-.215.868c.359.258.832.364 1.33.364 1.104 0 1.764-.523 1.764-1.333-.008-.574-.305-.956-.954-1.216l-.393-.146c-.266-.108-.341-.181-.341-.287 0-.152.131-.243.387-.243.274 0 .587.093.808.214l.109-.047.214-.837c-.315-.224-.741-.316-1.171-.316m10.302 0c-.98 0-1.66.562-1.66 1.349-.008.497.322.91.985 1.178l.39.142c.243.097.305.171.305.297 0 .162-.13.251-.442.251-.311 0-.76-.135-1.004-.284l-.112.046-.215.868c.359.258.832.364 1.33.364 1.104 0 1.764-.523 1.764-1.333-.008-.574-.305-.956-.954-1.216l-.393-.146c-.266-.108-.341-.181-.341-.287 0-.152.131-.243.387-.243.274 0 .587.093.808.214l.109-.047.214-.837c-.316-.224-.741-.316-1.171-.316m-3.733 0c-.297 0-.55.066-.78.202l-.144.098a2 2 0 0 0-.264.247l-.078.095-.027-.077c-.15-.34-.55-.565-1.033-.565l-.169.007a1.36 1.36 0 0 0-.896.42l-.08.09-.038-.363-.075-.067H8.994l-.075.079.024.634c.005.2.008.397.008.604v2.652l.075.075h1.178l.075-.075v-2.269q-.002-.168.042-.274c.083-.23.262-.392.496-.392.314 0 .483.267.483.753v2.182l.075.075h1.179l.075-.075v-2.277c0-.097.016-.213.043-.285.077-.224.26-.373.486-.373.33 0 .5.272.5.817v2.118l.074.075h1.179l.075-.075v-2.293c0-1.131-.537-1.763-1.39-1.763Z"})))},{name:"snapchat",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M11.989 1.728c3.221.001 5.904 2.683 5.908 5.912q.002 1.133.067 2.094a.737.737 0 0 0 .902.669l1.009-.237a.6.6 0 0 1 .129-.015c.256 0 .492.175.55.434a.74.74 0 0 1-.479.861l-1.532.618a.823.823 0 0 0-.485.98c1.229 4.543 4.661 4.071 4.661 4.662 0 .743-2.587.848-2.821 1.082s-.01 1.368-.532 1.588a1.1 1.1 0 0 1-.409.056c-.393 0-.95-.077-1.536-.077-.509 0-1.04.058-1.507.273-1.239.572-2.433 1.641-3.914 1.641S9.325 21.2 8.086 20.628c-.467-.216-.998-.273-1.507-.273-.586 0-1.143.077-1.536.077-.17 0-.31-.014-.409-.056-.522-.22-.299-1.354-.532-1.588s-2.821-.337-2.821-1.08c0-.592 3.432-.119 4.661-4.662a.824.824 0 0 0-.486-.98l-1.532-.618a.74.74 0 0 1-.479-.861.56.56 0 0 1 .679-.419l1.009.237q.086.02.169.02a.737.737 0 0 0 .733-.689q.065-.961.067-2.094c.004-3.229 2.666-5.91 5.887-5.912m0-1.281c-.961 0-1.898.194-2.784.574A7.2 7.2 0 0 0 6.93 2.572a7.2 7.2 0 0 0-1.539 2.282A7.1 7.1 0 0 0 4.82 7.64a33 33 0 0 1-.029 1.369l-.375-.088a2 2 0 0 0-.421-.049 1.86 1.86 0 0 0-1.135.389 1.84 1.84 0 0 0-.666 1.049 2.024 2.024 0 0 0 1.271 2.335l1.124.454c-.744 2.285-2.117 2.723-3.041 3.018a5 5 0 0 0-.659.246C.087 16.76 0 17.436 0 17.708c0 .521.247.996.694 1.339.223.17.499.311.844.43.47.162 1.016.265 1.459.347.021.164.053.341.106.518.22.738.684 1.069 1.034 1.217.332.14.676.156.905.156.224 0 .462-.018.713-.036.269-.02.548-.041.823-.041.426 0 .743.051.97.155.311.144.64.337.989.542.972.571 2.073 1.217 3.462 1.217s2.49-.647 3.462-1.217c.349-.205.679-.399.989-.542.226-.105.544-.155.97-.155.275 0 .554.021.823.041.251.019.488.036.713.036.229 0 .573-.016.905-.156.35-.147.814-.478 1.034-1.217.053-.178.084-.354.106-.518.443-.082.989-.185 1.459-.347.345-.119.621-.259.844-.43.448-.342.694-.818.694-1.339 0-.272-.087-.948-.891-1.347a5 5 0 0 0-.659-.246c-.924-.295-2.297-.733-3.041-3.018l1.124-.454a2.025 2.025 0 0 0 1.271-2.335 1.83 1.83 0 0 0-.666-1.049 1.86 1.86 0 0 0-1.556-.34l-.375.088a33 33 0 0 1-.029-1.369 7.1 7.1 0 0 0-.575-2.789c-.365-.853-.886-1.62-1.547-2.282s-1.428-1.182-2.28-1.547a7.1 7.1 0 0 0-2.786-.574"})))},{name:"soundcloud",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M23.587 13.923a3.303 3.303 0 0 1-3.344 3.117h-8.037a.674.674 0 0 1-.667-.67V7.717a.74.74 0 0 1 .444-.705s.739-.512 2.296-.512a5.27 5.27 0 0 1 2.702.742 5.35 5.35 0 0 1 2.516 3.485 3.1 3.1 0 0 1 .852-.116 3.217 3.217 0 0 1 3.237 3.312m-13.05-5.659c.242 2.935.419 5.612 0 8.538a.261.261 0 0 1-.519 0c-.39-2.901-.221-5.628 0-8.538a.26.26 0 0 1 .398-.25.26.26 0 0 1 .12.25zm-1.627 8.541a.273.273 0 0 1-.541 0 32.7 32.7 0 0 1 0-7.533.274.274 0 0 1 .544 0 29.4 29.4 0 0 1-.003 7.533m-1.63-7.788c.264 2.69.384 5.099-.003 7.782a.262.262 0 0 1-.522 0c-.374-2.649-.249-5.127 0-7.782a.264.264 0 0 1 .525 0m-1.631 7.792a.268.268 0 0 1-.532 0 27.6 27.6 0 0 1 0-7.034.27.27 0 1 1 .541 0 25.8 25.8 0 0 1-.01 7.034zm-1.63-5.276c.412 1.824.227 3.435-.015 5.294a.255.255 0 0 1-.504 0c-.22-1.834-.402-3.482-.015-5.295a.268.268 0 0 1 .535 0m-1.626-.277c.378 1.869.254 3.451-.01 5.325-.031.277-.506.28-.531 0-.239-1.846-.352-3.476-.01-5.325a.277.277 0 0 1 .551 0m-1.643.907c.396 1.239.261 2.246-.016 3.517a.258.258 0 0 1-.514 0c-.239-1.246-.336-2.274-.021-3.517a.276.276 0 0 1 .55 0z"})))},{name:"spotify",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2m4.586 14.424a.62.62 0 0 1-.857.207c-2.348-1.435-5.304-1.76-8.785-.964a.622.622 0 1 1-.277-1.215c3.809-.871 7.077-.496 9.713 1.115a.623.623 0 0 1 .206.857M17.81 13.7a.78.78 0 0 1-1.072.257c-2.687-1.652-6.785-2.131-9.965-1.166A.779.779 0 1 1 6.32 11.3c3.632-1.102 8.147-.568 11.234 1.328a.78.78 0 0 1 .256 1.072m.105-2.835c-3.223-1.914-8.54-2.09-11.618-1.156a.935.935 0 1 1-.542-1.79c3.532-1.072 9.404-.865 13.115 1.338a.936.936 0 1 1-.955 1.608"})))},{name:"squarespace",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M20.87 9.271a3.86 3.86 0 0 0-5.458 0l-6.141 6.141a.964.964 0 1 0 1.365 1.364l6.14-6.14a1.929 1.929 0 1 1 2.729 2.729l-6.022 6.022a1.93 1.93 0 0 0 2.729 0l4.658-4.658a3.86 3.86 0 0 0 0-5.458m-2.047 2.047a.965.965 0 0 0-1.365 0l-6.14 6.14a1.93 1.93 0 0 1-2.729 0 .964.964 0 1 0-1.364 1.364 3.86 3.86 0 0 0 5.458 0l6.14-6.14a.966.966 0 0 0 0-1.364m-2.047-6.141a3.86 3.86 0 0 0-5.458 0l-6.14 6.14a.964.964 0 1 0 1.364 1.364l6.141-6.14a1.93 1.93 0 0 1 2.729 0 .965.965 0 1 0 1.364-1.364m-2.047 2.047a.964.964 0 0 0-1.364 0l-6.14 6.141a1.929 1.929 0 1 1-2.729-2.729l6.022-6.022a1.93 1.93 0 0 0-2.729 0L3.13 9.271a3.86 3.86 0 0 0 5.458 5.458l6.14-6.141a.963.963 0 0 0 .001-1.364"})))},{name:"stackexchange",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M4 11.606h16v3.272H4zM4 7.377h16v3.272H4zM17.514 3H6.55C5.147 3 4 4.169 4 5.614v.848h16v-.85C20 4.167 18.895 3 17.514 3M4 15.813v.85c0 1.445 1.147 2.614 2.55 2.614h6.799v3.463l3.357-3.463h.744c1.402 0 2.55-1.169 2.55-2.614v-.85z"})))},{name:"stackoverflow",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M18.18 20.103V14.78h1.767v7.09H4v-7.09h1.767v5.323z"}),React.createElement("path",{d:"m7.717 14.275 8.673 1.813.367-1.744-8.673-1.813zm1.147-4.13 8.031 3.74.734-1.606-8.031-3.763zm2.226-3.946 6.815 5.667 1.124-1.354-6.815-5.667zM15.495 2l-1.423 1.055 5.277 7.113 1.423-1.055zM7.533 18.314h8.857v-1.767H7.533z"})))},{name:"stumbleupon",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12 4.294a4.47 4.47 0 0 0-4.471 4.471v6.353a1.059 1.059 0 1 1-2.118 0v-2.824H2v2.941a4.471 4.471 0 0 0 8.942 0v-6.47a1.059 1.059 0 1 1 2.118 0v1.294l1.412.647 2-.647V8.765A4.473 4.473 0 0 0 12 4.294m1.059 8.059v2.882a4.471 4.471 0 0 0 8.941 0v-2.824h-3.412v2.824a1.059 1.059 0 1 1-2.118 0v-2.882l-2 .647z"})))},{name:"substack",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M19.904 9.182H4.095V7.054h15.81v2.127M4.095 11.109V21L12 16.583 19.905 21v-9.891zM19.905 3H4.095v2.127h15.81z"})))},{name:"telegram",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2m3.08 14.757s-.25.625-.936.325l-2.541-1.949-1.63 1.486s-.127.096-.266.036c0 0-.12-.011-.27-.486s-.911-2.972-.911-2.972L6 12.349s-.387-.137-.425-.438c-.037-.3.437-.462.437-.462l10.03-3.934s.824-.362.824.238z"})))},{name:"threads",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 192 192"},React.createElement("g",null,React.createElement("path",{d:"M141.537 88.988a67 67 0 0 0-2.518-1.143c-1.482-27.307-16.403-42.94-41.457-43.1h-.34c-14.986 0-27.449 6.396-35.12 18.036l13.779 9.452c5.73-8.695 14.724-10.548 21.348-10.548h.229c8.249.053 14.474 2.452 18.503 7.129 2.932 3.405 4.893 8.111 5.864 14.05-7.314-1.243-15.224-1.626-23.68-1.14-23.82 1.371-39.134 15.264-38.105 34.568.522 9.792 5.4 18.216 13.735 23.719 7.047 4.652 16.124 6.927 25.557 6.412 12.458-.683 22.231-5.436 29.049-14.127 5.178-6.6 8.453-15.153 9.899-25.93 5.937 3.583 10.337 8.298 12.767 13.966 4.132 9.635 4.373 25.468-8.546 38.376-11.319 11.308-24.925 16.2-45.488 16.351-22.809-.169-40.06-7.484-51.275-21.742C35.236 139.966 29.808 120.682 29.605 96c.203-24.682 5.63-43.966 16.133-57.317C56.954 24.425 74.204 17.11 97.013 16.94c22.975.17 40.526 7.52 52.171 21.847 5.71 7.026 10.015 15.86 12.853 26.162l16.147-4.308c-3.44-12.68-8.853-23.606-16.219-32.668C147.036 9.607 125.202.195 97.07 0h-.113C68.882.194 47.292 9.642 32.788 28.08 19.882 44.485 13.224 67.315 13.001 95.932L13 96v.067c.224 28.617 6.882 51.447 19.788 67.854C47.292 182.358 68.882 191.806 96.957 192h.113c24.96-.173 42.554-6.708 57.048-21.189 18.963-18.945 18.392-42.692 12.142-57.27-4.484-10.454-13.033-18.945-24.723-24.553M98.44 129.507c-10.44.588-21.286-4.098-21.82-14.135-.397-7.442 5.296-15.746 22.461-16.735q2.948-.17 5.79-.169c6.235 0 12.068.606 17.371 1.765-1.978 24.702-13.58 28.713-23.802 29.274"})))},{name:"tiktok-alt",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M5 3a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2zm7.531 3h2.053s-.114 2.635 2.85 2.82v2.04s-1.582.099-2.85-.87l.021 4.207a3.804 3.804 0 1 1-3.802-3.802h.533v2.082a1.73 1.73 0 0 0-1.922.648 1.727 1.727 0 0 0 1.947 2.646 1.73 1.73 0 0 0 1.19-1.642z"})))},{name:"tiktok",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12.22 2h3.42s-.19 4.394 4.75 4.702v3.396s-2.636.166-4.75-1.448l.037 7.012a6.338 6.338 0 1 1-6.34-6.339h.89v3.472a2.882 2.882 0 1 0 2.024 2.752z"})))},{name:"tripadvisor",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M21.01 9.859c.236-1.002.985-2.003.985-2.003l-3.341-.002C16.779 6.643 14.502 6 11.979 6 9.363 6 7 6.659 5.135 7.877L2 7.88s.74.988.98 1.983a4.98 4.98 0 0 0-.977 2.961 5.01 5.01 0 0 0 5.009 5.003 5 5 0 0 0 3.904-1.875l1.065 1.592 1.076-1.606a4.96 4.96 0 0 0 1.838 1.448 4.98 4.98 0 0 0 3.831.151 5.01 5.01 0 0 0 2.963-6.431 5 5 0 0 0-.679-1.247m-13.998 6.96a4 4 0 0 1-3.998-3.995 4 4 0 0 1 3.998-3.997 4 4 0 0 1 3.996 3.997 4 4 0 0 1-3.996 3.995m4.987-4.36A5.007 5.007 0 0 0 7.11 7.821c1.434-.613 3.081-.947 4.867-.947 1.798 0 3.421.324 4.853.966a4.984 4.984 0 0 0-4.831 4.619m6.288 4.134a3.97 3.97 0 0 1-3.058-.122 3.96 3.96 0 0 1-2.075-2.245v-.001a3.97 3.97 0 0 1 .118-3.056 3.97 3.97 0 0 1 2.246-2.077 4.005 4.005 0 0 1 5.135 2.366 4.006 4.006 0 0 1-2.366 5.135"}),React.createElement("path",{d:"M6.949 10.307a2.477 2.477 0 0 0-2.475 2.472 2.48 2.48 0 0 0 2.475 2.474 2.474 2.474 0 0 0 0-4.946m0 4.094a1.626 1.626 0 0 1-1.624-1.623 1.621 1.621 0 1 1 1.624 1.623M16.981 10.307a2.477 2.477 0 0 0-2.474 2.472 2.48 2.48 0 0 0 2.474 2.474 2.476 2.476 0 0 0 2.472-2.474 2.475 2.475 0 0 0-2.472-2.472m0 4.094a1.625 1.625 0 0 1-1.622-1.623 1.622 1.622 0 1 1 1.622 1.623"}),React.createElement("path",{d:"M7.778 12.778a.832.832 0 1 1-1.664.002.832.832 0 0 1 1.664-.002M16.981 11.947a.832.832 0 1 0 .002 1.666.832.832 0 0 0-.002-1.666"})))},{name:"tumblr-alt",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M16.749 17.396c-.357.17-1.041.319-1.551.332-1.539.041-1.837-1.081-1.85-1.896V9.847h3.861v-2.91h-3.847V2.039h-2.817c-.046 0-.127.041-.138.144-.165 1.499-.867 4.13-3.783 5.181v2.484h1.945v6.282c0 2.151 1.587 5.206 5.775 5.135 1.413-.024 2.982-.616 3.329-1.126z"})))},{name:"tumblr",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M19 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2m-5.569 14.265c-2.446.042-3.372-1.742-3.372-2.998v-3.668H8.923v-1.45c1.703-.614 2.113-2.15 2.209-3.025.007-.06.054-.084.081-.084h1.645V8.9h2.246v1.7H12.85v3.495c.008.476.182 1.131 1.081 1.107.298-.008.697-.094.906-.194l.54 1.601c-.205.296-1.121.641-1.946.656"})))},{name:"twitch",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M16.499 8.089h-1.636v4.91h1.636zm-4.499 0h-1.637v4.91H12zM4.228 3.178 3 6.451v13.092h4.499V22h2.456l2.454-2.456h3.681L21 14.636V3.178zm15.136 10.638L16.5 16.681H12l-2.453 2.453V16.68H5.863V4.814h13.501z"})))},{name:"twitter-alt",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M22.23 5.924a8.2 8.2 0 0 1-2.357.646 4.12 4.12 0 0 0 1.804-2.27 8.2 8.2 0 0 1-2.606.996 4.103 4.103 0 0 0-6.991 3.742 11.65 11.65 0 0 1-8.457-4.287 4.1 4.1 0 0 0-.556 2.063 4.1 4.1 0 0 0 1.825 3.415 4.1 4.1 0 0 1-1.859-.513v.052a4.104 4.104 0 0 0 3.292 4.023 4.1 4.1 0 0 1-1.853.07 4.11 4.11 0 0 0 3.833 2.85 8.24 8.24 0 0 1-5.096 1.756 8 8 0 0 1-.979-.057 11.6 11.6 0 0 0 6.29 1.843c7.547 0 11.675-6.252 11.675-11.675q0-.267-.012-.531a8.3 8.3 0 0 0 2.047-2.123"})))},{name:"twitter",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M19 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2m-2.534 6.71q.007.148.007.298c0 3.045-2.318 6.556-6.556 6.556a6.5 6.5 0 0 1-3.532-1.035q.27.032.55.032a4.63 4.63 0 0 0 2.862-.986 2.31 2.31 0 0 1-2.152-1.6 2.3 2.3 0 0 0 1.04-.04 2.306 2.306 0 0 1-1.848-2.259v-.029c.311.173.666.276 1.044.288a2.303 2.303 0 0 1-.713-3.076 6.54 6.54 0 0 0 4.749 2.407 2.305 2.305 0 0 1 3.926-2.101 4.6 4.6 0 0 0 1.463-.559 2.3 2.3 0 0 1-1.013 1.275c.466-.056.91-.18 1.323-.363-.31.461-.7.867-1.15 1.192"})))},{name:"untappd",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"m11 13.299-5.824 8.133c-.298.416-.8.635-1.308.572-.578-.072-1.374-.289-2.195-.879S.392 19.849.139 19.323a1.4 1.4 0 0 1 .122-1.425l5.824-8.133a3.1 3.1 0 0 1 1.062-.927l1.146-.604c.23-.121.436-.283.608-.478.556-.631 2.049-2.284 4.696-4.957l.046-.212a.13.13 0 0 1 .096-.1l.146-.037a.135.135 0 0 0 .101-.141l-.015-.18a.13.13 0 0 1 .125-.142c.176-.005.518.046 1.001.393s.64.656.692.824a.13.13 0 0 1-.095.164l-.175.044a.13.13 0 0 0-.101.141l.012.15a.13.13 0 0 1-.063.123l-.186.112c-1.679 3.369-2.764 5.316-3.183 6.046a2.2 2.2 0 0 0-.257.73l-.205 1.281A3.1 3.1 0 0 1 11 13.3zm12.739 4.598-5.824-8.133a3.1 3.1 0 0 0-1.062-.927l-1.146-.605a2.1 2.1 0 0 1-.608-.478 51 51 0 0 0-.587-.654.09.09 0 0 0-.142.018 97 97 0 0 1-1.745 3.223 1.4 1.4 0 0 0-.171.485 3.5 3.5 0 0 0 0 1.103l.01.064c.075.471.259.918.536 1.305l5.824 8.133c.296.413.79.635 1.294.574a4.76 4.76 0 0 0 2.209-.881 4.76 4.76 0 0 0 1.533-1.802 1.4 1.4 0 0 0-.122-1.425zM8.306 3.366l.175.044a.134.134 0 0 1 .101.141l-.012.15a.13.13 0 0 0 .063.123l.186.112q.465.933.869 1.721c.026.051.091.06.129.019q.655-.703 1.585-1.668a.137.137 0 0 0 .003-.19c-.315-.322-.645-.659-1.002-1.02l-.046-.212a.13.13 0 0 0-.096-.099l-.146-.037a.135.135 0 0 1-.101-.141l.015-.18a.13.13 0 0 0-.123-.142c-.175-.005-.518.045-1.002.393-.483.347-.64.656-.692.824a.13.13 0 0 0 .095.164z"})))},{name:"vimeo",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M22.396 7.164q-.139 3.039-4.245 8.32Q13.907 21 10.97 21q-1.82 0-3.079-3.359l-1.68-6.159q-.934-3.36-2.005-3.36-.234.001-1.634.98l-.978-1.261q1.541-1.353 3.037-2.708 2.056-1.774 3.084-1.869 2.429-.234 2.99 3.321.607 3.836.841 4.769.7 3.181 1.542 3.181.653 0 1.963-2.065 1.307-2.063 1.401-3.142.187-1.781-1.401-1.782-.747.001-1.541.341 1.534-5.024 5.862-4.884 3.21.095 3.024 4.161"})))},{name:"vk",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{fillRule:"evenodd",d:"M1.687 1.687C0 3.374 0 6.09 0 11.52v.96c0 5.431 0 8.146 1.687 9.833S6.09 24 11.52 24h.96c5.431 0 8.146 0 9.833-1.687S24 17.91 24 12.48v-.96c0-5.431 0-8.146-1.687-9.833S17.91 0 12.48 0h-.96C6.09 0 3.374 0 1.687 1.687M4.05 7.3c.13 6.24 3.25 9.99 8.72 9.99h.31v-3.57c2.01.2 3.53 1.67 4.14 3.57h2.84c-.78-2.84-2.83-4.41-4.11-5.01 1.28-.74 3.08-2.54 3.51-4.98h-2.58c-.56 1.98-2.22 3.78-3.8 3.95V7.3H10.5v6.92c-1.6-.4-3.62-2.34-3.71-6.92z"})))},{name:"whatsapp",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"m2.048 22 1.406-5.136a9.9 9.9 0 0 1-1.323-4.955C2.133 6.446 6.579 2 12.042 2a9.85 9.85 0 0 1 7.011 2.906 9.85 9.85 0 0 1 2.9 7.011c-.002 5.464-4.448 9.91-9.91 9.91h-.004a9.9 9.9 0 0 1-4.736-1.206zm5.497-3.172.301.179a8.2 8.2 0 0 0 4.193 1.148h.003c4.54 0 8.235-3.695 8.237-8.237a8.2 8.2 0 0 0-2.41-5.828 8.18 8.18 0 0 0-5.824-2.416c-4.544 0-8.239 3.695-8.241 8.237a8.2 8.2 0 0 0 1.259 4.384l.196.312-.832 3.04zm9.49-4.554c-.062-.103-.227-.165-.475-.289s-1.465-.723-1.692-.806-.392-.124-.557.124-.64.806-.784.971-.289.186-.536.062-1.046-.385-1.991-1.229c-.736-.657-1.233-1.468-1.378-1.715s-.015-.382.109-.505c.111-.111.248-.289.371-.434.124-.145.165-.248.248-.413s.041-.31-.021-.434-.557-1.343-.763-1.839c-.202-.483-.407-.417-.559-.425-.144-.007-.31-.009-.475-.009a.9.9 0 0 0-.66.31c-.226.248-.866.847-.866 2.066s.887 2.396 1.011 2.562 1.746 2.666 4.23 3.739c.591.255 1.052.408 1.412.522.593.189 1.133.162 1.56.098.476-.071 1.465-.599 1.671-1.177.206-.58.206-1.075.145-1.179"})))},{name:"woocommerce",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M19 2H5C3.3 2 2 3.3 2 5v11c0 1.7 1.3 3 3 3h4l6 3-1-3h5c1.7 0 3-1.3 3-3V5c0-1.7-1.3-3-3-3m-1.6 4.5c-.4.8-.8 2.1-1 3.9-.3 1.8-.4 3.1-.3 4.1 0 .3 0 .5-.1.7s-.3.4-.6.4-.6-.1-.9-.4c-1-1-1.8-2.6-2.4-4.6-.7 1.4-1.2 2.4-1.6 3.1-.6 1.2-1.2 1.8-1.6 1.9-.3 0-.5-.2-.8-.7-.5-1.4-1.1-4.2-1.7-8.2 0-.3 0-.5.2-.7.1-.2.4-.3.7-.4.5 0 .9.2.9.8.3 2.3.7 4.2 1.1 5.7l2.4-4.5c.2-.4.4-.6.8-.6q.75 0 .9.9c.3 1.4.6 2.6 1 3.7.3-2.7.8-4.7 1.4-5.9.2-.3.4-.5.7-.5.2 0 .5.1.7.2q.3.3.3.6c0 .3 0 .4-.1.5"})))},{name:"wordpress",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12.158 12.786 9.46 20.625a9 9 0 0 0 5.526-.144 1 1 0 0 1-.065-.124zM3.009 12a8.99 8.99 0 0 0 5.067 8.092L3.788 8.341A8.95 8.95 0 0 0 3.009 12m15.06-.454c0-1.112-.399-1.881-.741-2.48-.456-.741-.883-1.368-.883-2.109 0-.826.627-1.596 1.51-1.596q.06.002.116.007A8.96 8.96 0 0 0 12 3.009a8.98 8.98 0 0 0-7.512 4.052c.211.007.41.011.579.011.94 0 2.396-.114 2.396-.114.484-.028.541.684.057.741 0 0-.487.057-1.029.085l3.274 9.739 1.968-5.901-1.401-3.838c-.484-.028-.943-.085-.943-.085-.485-.029-.428-.769.057-.741 0 0 1.484.114 2.368.114.94 0 2.397-.114 2.397-.114.485-.028.542.684.057.741 0 0-.488.057-1.029.085l3.249 9.665.897-2.996q.684-1.753.684-2.907m1.82-3.86q.06.428.06.924c0 .912-.171 1.938-.684 3.22l-2.746 7.94a8.98 8.98 0 0 0 4.47-7.771 8.9 8.9 0 0 0-1.1-4.313M12 22C6.486 22 2 17.514 2 12S6.486 2 12 2s10 4.486 10 10-4.486 10-10 10"})))},{name:"x",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M13.982 10.622 20.54 3h-1.554l-5.693 6.618L8.745 3H3.5l6.876 10.007L3.5 21h1.554l6.012-6.989L15.868 21h5.245zm-2.128 2.474-.697-.997-5.543-7.93H8l4.474 6.4.697.996 5.815 8.318h-2.387z"})))},{name:"xanga",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M9 9h6v6H9zM3 9h6V3H3zm12 0h6V3h-6zm0 12h6v-6h-6zM3 21h6v-6H3z"})))},{name:"youtube",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M21.8 8.001s-.195-1.378-.795-1.985c-.76-.797-1.613-.801-2.004-.847-2.799-.202-6.997-.202-6.997-.202h-.009s-4.198 0-6.997.202c-.39.047-1.242.051-2.003.847-.6.607-.795 1.985-.795 1.985S2 9.62 2 11.238v1.517c0 1.618.2 3.237.2 3.237s.195 1.378.795 1.985c.761.797 1.76.771 2.205.855 1.6.153 6.8.201 6.8.201s4.203-.006 7.001-.209c.391-.047 1.243-.051 2.004-.847.6-.607.795-1.985.795-1.985s.2-1.618.2-3.237v-1.517c0-1.618-.2-3.237-.2-3.237M9.935 14.594l-.001-5.62 5.404 2.82z"})))}]},58992:(e,t,n)=>{"use strict";n.d(t,{d:()=>u});var a=n(96072),r=n.n(a),s=n(28120),o=n.n(s),i=n(51609),l=n.n(i),c=n(91135);class u extends i.PureComponent{static defaultProps={size:24};static propTypes={icon:o().string.isRequired,size:o().number,onClick:o().func,className:o().string};render(){const{size:e,onClick:t,icon:n,className:a,...s}=this.props,o=["social-logo","social-logo-"+n,a].filter(Boolean).join(" "),i=c.$.find((e=>e.name===n));if(!i)return l().createElement("svg",r()({height:e,width:e},s));return l().cloneElement(i.svg,{className:o,height:e,width:e,onClick:t,...s})}}},52068:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>w});var a=n(82170),r=n(96865),s=n(56427),o=n(47143),i=n(27723),l=n(90254),c=n(69457),u=n(88669),d=n(41417),p=n(57003),m=(n(51609),n(95396)),h=n(64425),g=n(47264),f=n(2162),v=n(62402);const __=i.__,b="simplify",k="make-longer",y="make-shorter",E={default:[{name:__("Correct spelling and grammar","jetpack"),key:"correct-spelling",aiSuggestion:h.yy,icon:l.A}],"core/paragraph":[{name:__("Simplify","jetpack"),key:b,aiSuggestion:h.A4,icon:c.A},{name:__("Summarize","jetpack"),key:"summarize",aiSuggestion:h.UA,icon:u.A},{name:__("Expand","jetpack"),key:k,aiSuggestion:h.br,icon:d.A},{name:__("Make shorter","jetpack"),key:y,aiSuggestion:h.fD,icon:d.A}],"core/list-item":[{name:__("Simplify","jetpack"),key:b,aiSuggestion:h.A4,icon:c.A},{name:__("Expand","jetpack"),key:k,aiSuggestion:h.br,icon:d.A},{name:__("Make shorter","jetpack"),key:y,aiSuggestion:h.fD,icon:d.A}],"core/list":m.L.includes("core/list")?[{name:__("Simplify","jetpack"),key:b,aiSuggestion:h.A4,icon:c.A},{name:__("Expand","jetpack"),key:k,aiSuggestion:h.br,icon:d.A},{name:__("Make shorter","jetpack"),key:y,aiSuggestion:h.fD,icon:d.A},{name:__("Turn list into a table","jetpack"),key:"turn-into-table",aiSuggestion:h.d5,icon:p.A,options:{alwaysTransformToAIAssistant:!0,rootParentOnly:!0}}]:[{name:__("Write a post from this list","jetpack"),key:"write-post-from-list",aiSuggestion:h.pE,icon:c.A,options:{userPrompt:"Write a post based on the list items. Include a title as first order heading and try to use secondary headings for each entry"}}]};function w({blockType:e,clientId:t,disabled:n=!1,onAskAiAssistant:i,onRequestSuggestion:l}){const c=E[e]??[],{getBlockParents:u}=(0,o.select)("core/block-editor"),d=u(t);return(0,a.createElement)(a.Fragment,null,n&&(0,a.createElement)(s.Notice,{status:"warning",isDismissible:!1,className:"jetpack-ai-assistant__info"},__("Add content to activate the tools below","jetpack")),(0,a.createElement)(s.MenuGroup,null,(0,a.createElement)(s.MenuItem,{icon:r.cj,iconPosition:"left",key:"key-ai-assistant",onClick:i,disabled:n},(0,a.createElement)("div",{className:"jetpack-ai-assistant__menu-item"},__("Ask AI Assistant","jetpack"))),[...E.default,...c].filter((e=>!(e.options?.rootParentOnly&&d.length>0))).map((e=>(0,a.createElement)(s.MenuItem,{icon:e?.icon,iconPosition:"left",key:`key-${e.key}`,onClick:()=>{l(e.aiSuggestion,{...e.options??{}},e.name)},disabled:n},(0,a.createElement)("div",{className:"jetpack-ai-assistant__menu-item"},e.name)))),(0,a.createElement)(v.hN,{onChange:e=>{l(h.eJ,{tone:e},`${v.uQ}: ${(0,g.Z)(e)}`)},disabled:n}),(0,a.createElement)(f.HU,{onChange:(e,t)=>{l(h.Gm,{language:e},`${f.u0}: ${t}`)},disabled:n})))}},32249:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var a=n(82170),r=n(3924),s=n(56427),o=n(27723);const __=o.__;const i=function(){const e=(0,r.A)("jetpack-ai-feedback");return(0,a.createElement)("div",{className:"jetpack-ai-feedback-control"},(0,a.createElement)(s.BaseControl,null,(0,a.createElement)(s.BaseControl.VisualLabel,null,__("Feedback","jetpack")),(0,a.createElement)("p",null,__("Your feedback is valuable in our commitment to refine and improve this feature.","jetpack")),(0,a.createElement)(s.ExternalLink,{href:e},__("Share your feedback","jetpack"))))}},2162:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>f,HU:()=>v,so:()=>h,u0:()=>p});var a=n(82170),r=n(85985),s=n(56427),o=n(27723),i=n(51113),l=n(29115),c=n(84066);n(51609);const __=o.__,u=["en","es","fr","de","it","pt","ru","zh","ja","ar","hi","ko"],d=window?.Jetpack_Editor_Initial_State?.siteLocale||navigator?.language,p=__("Translate","jetpack"),m=d?.split("-")[0]||"en",h=(d?.split("-"),{en:{label:__("English","jetpack")},es:{label:__("Spanish","jetpack")},fr:{label:__("French","jetpack")},de:{label:__("German","jetpack")},it:{label:__("Italian","jetpack")},pt:{label:__("Portuguese","jetpack")},ru:{label:__("Russian","jetpack")},zh:{label:__("Chinese","jetpack")},ja:{label:__("Japanese","jetpack")},ar:{label:__("Arabic","jetpack")},hi:{label:__("Hindi","jetpack")},ko:{label:__("Korean","jetpack")}}),g=({value:e,onChange:t})=>{const n=[...u.filter((e=>e!==m))];return u.includes(m)&&n.unshift(m),(0,a.createElement)(s.MenuGroup,{label:__("Select language","jetpack")},n.map((n=>(0,a.createElement)(s.MenuItem,{key:`key-${n}`,onClick:()=>t(n+" ("+h[n].label+")",h[n].label),isSelected:e===n},h[n].label))))};function f({value:e=m,label:t=p,onChange:n,disabled:o=!1}){const{tracks:l}=(0,r.st)();return o?(0,a.createElement)(s.Tooltip,{text:t},(0,a.createElement)(s.Button,{disabled:!0},(0,a.createElement)(i.A,{icon:c.A}))):(0,a.createElement)(s.ToolbarDropdownMenu,{icon:c.A,label:t,popoverProps:{variant:"toolbar"},onToggle:e=>{e&&l.recordEvent("jetpack_ai_assistant_block_toolbar_menu_show",{tool:"i18n"})}},(()=>(0,a.createElement)(g,{value:e,onChange:n})))}function v({value:e=m,label:t=p,onChange:n,disabled:r=!1}){return(0,a.createElement)(s.DropdownMenu,{className:"ai-assistant__i18n-dropdown",icon:c.A,label:t,toggleProps:{children:(0,a.createElement)(a.Fragment,null,(0,a.createElement)("div",{className:"ai-assistant__i18n-dropdown__toggle-label"},t),(0,a.createElement)(i.A,{icon:l.A})),disabled:r}},(({onClose:t})=>(0,a.createElement)(g,{onChange:(...e)=>{n(...e),t()},value:e})))}},99050:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>c});var a=n(82170),r=n(85985),s=n(56427),o=n(27723),i=n(78938);const __=o.__,l=[{name:__("Summarize","jetpack"),key:"summarize",aiSuggestion:"summarize"},{name:__("Make longer","jetpack"),key:"make-longer",aiSuggestion:"makeLonger"},{name:__("Make shorter","jetpack"),key:"make-shorter",aiSuggestion:"makeShorter"}];function c({key:e,label:t=__("Improve","jetpack"),exclude:n=[],onChange:o,disabled:c=!1}){const{tracks:u}=(0,r.st)();return c?(0,a.createElement)(s.Tooltip,{text:t},(0,a.createElement)(s.Button,{disabled:!0},(0,a.createElement)(s.Icon,{icon:i.A}))):(0,a.createElement)(s.ToolbarDropdownMenu,{icon:i.A,label:t,popoverProps:{variant:"toolbar"},onToggle:e=>{e&&u.recordEvent("jetpack_ai_assistant_block_toolbar_menu_show",{tool:"improve"})}},(()=>{const r=l.filter((e=>!n.includes(e.key)));return(0,a.createElement)(s.MenuGroup,{label:t},r.map((t=>(0,a.createElement)(s.MenuItem,{key:`key-${t.key}`,onClick:()=>o(t.aiSuggestion,{contentType:"generated"}),isSelected:e===t.key},t.name))))}))}},33468:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>g});var a=n(82170),r=n(85985),s=n(56427),o=n(27723),i=n(78938),l=n(41417),c=n(90254),u=n(69457),d=n(88669),p=n(11269);const __=o.__,m=[{label:__("Post about…","jetpack"),description:{original:"Write a post about ",translated:__("Write a post about","jetpack")+" "}},{label:__("Informative article on…","jetpack"),description:{original:"Craft an informative article explaining ",translated:__("Craft an informative article explaining","jetpack")+" "}},{label:__("Step-by-step tutorial on…","jetpack"),description:{original:"Write a step-by-step tutorial on ",translated:__("Write a step-by-step tutorial on","jetpack")+" "}},{label:__("Motivational post on…","jetpack"),description:{original:"Create a motivational post on ",translated:__("Create a motivational post on","jetpack")+" "}}],h=[{label:__("Say it differently…","jetpack"),description:{original:"Rewrite it in a way that ",translated:__("Rewrite it in a way that","jetpack")+" "}},{label:__("Add…","jetpack"),description:{original:"Add more details about ",translated:__("Add more details about","jetpack")+" "}},{label:__("Remove…","jetpack"),description:{original:"Remove unnecessary details about ",translated:__("Remove unnecessary details about","jetpack")+" "}}];function g({hasContentBefore:e,hasContent:t,hasPostTitle:n,contentIsLoaded:o,onPromptSelect:g,onSuggestionSelect:f}){const v=__("Write with AI…","jetpack"),{tracks:b}=(0,r.st)();return(0,a.createElement)(s.ToolbarDropdownMenu,{className:"jetpack-ai-assistant__templates-control",icon:null,label:v,text:v,onToggle:e=>{e&&b.recordEvent("jetpack_ai_assistant_block_toolbar_menu_show",{tool:"write-with-ai"})}},(({onClose:r})=>o?(0,a.createElement)(s.MenuGroup,{label:__("Write…","jetpack")},h.map(((e,t)=>(0,a.createElement)(s.MenuItem,{icon:i.A,iconPosition:"left",key:`key-${t}`,onClick:()=>{r(),g(e.description)}},e.label)))):(0,a.createElement)(a.Fragment,null,e&&(0,a.createElement)(s.MenuGroup,{label:__("Based on preceding content…","jetpack")},(0,a.createElement)(s.MenuItem,{icon:l.A,iconPosition:"left",onClick:()=>f("continue")},__("Continue writing","jetpack")),(0,a.createElement)(s.MenuItem,{icon:c.A,iconPosition:"left",onClick:()=>f("correctSpelling")},__("Correct spelling and grammar","jetpack")),(0,a.createElement)(s.MenuItem,{icon:u.A,iconPosition:"left",onClick:()=>f("simplify")},__("Simplify","jetpack"))),t&&(0,a.createElement)(s.MenuGroup,{label:__("Based on entire content…","jetpack")},t&&(0,a.createElement)(s.MenuItem,{icon:d.A,iconPosition:"left",onClick:()=>f("summarize")},__("Summarize","jetpack")),t&&(0,a.createElement)(s.MenuItem,{icon:p.A,iconPosition:"left",onClick:()=>f("generateTitle")},__("Generate a post title","jetpack"))),(0,a.createElement)(s.MenuGroup,{label:__("Write…","jetpack")},n&&(0,a.createElement)(s.MenuItem,{icon:i.A,iconPosition:"left",onClick:()=>f("titleSummary")},__("Summary based on title","jetpack")),m.map(((e,t)=>(0,a.createElement)(s.MenuItem,{icon:i.A,iconPosition:"left",key:`key-${t}`,onClick:()=>{r(),g(e.description)}},e.label)))))))}},23e3:(e,t,n)=>{"use strict";n.d(t,{A:()=>b,Q:()=>v});var a=n(82170),r=n(3924),s=n(85985),o=n(56427),i=n(86087),l=n(27723),c=n(10067),u=n.n(c),d=n(56333),p=n(92169),m=n(61297),h=n(7503),g=n(93094);const __=l.__,f=u()("jetpack-ai-assistant:upgrade-prompt"),v=({variant:e="error"})=>{const t=(()=>{const{usagePeriod:e}=(0,m.A)(),t=(e=>{const t=__("You've reached this month's request limit, per our fair usage policy.","jetpack");if(!e)return t; // Translators: %s is the date when the requests will reset. const n=__("Requests will reset on %s.","jetpack");return`${t} ${(0,l.sprintf)(n,e)}`})((e=>{if(!e?.nextStart)return null;const t=new Date(e.nextStart);return t.toLocaleString("default",{month:"long"})+" "+t.getDate()})(e));return(0,i.createInterpolateElement)(t,{link:(0,a.createElement)("a",{href:"https://jetpack.com/redirect/?source=ai-assistant-fair-usage-policy",target:"_blank",rel:"noreferrer"})})})();return"muted"===e?(0,a.createElement)("span",{className:"jetpack-ai-fair-usage-notice-muted-variant"},t):"error"===e?(0,a.createElement)(o.Notice,{status:"error",isDismissible:!1,className:"jetpack-ai-fair-usage-notice"},t):null},b=e=>{const{upgradeType:t,currentTier:n}=(0,m.A)();return 1===n?.value?(0,a.createElement)(v,null):"vip"===t?(({description:e=null,useLightNudge:t=!1})=>{const n=t?g.U:d.c,r=(0,i.createInterpolateElement)(__("You've reached the Jetpack AI rate limit. Please reach out to your VIP account team.","jetpack"),{strong:(0,a.createElement)("strong",null)});return(0,a.createElement)(n,{buttonText:null,checkoutUrl:null,className:"jetpack-ai-upgrade-banner",description:e||r,goToCheckoutPage:null,isRedirecting:null,visible:!0,align:null,title:null,context:null})})({description:e.description,useLightNudge:e?.useLightNudge}):(({placement:e=null,description:t=null,useLightNudge:n=!1})=>{const o=n?g.U:d.c,{checkoutUrl:c}=(0,p.A)(),u=(0,h.C)(),{nextTier:v,tierPlansEnabled:b,currentTier:k,requestsCount:y}=(0,m.A)(),{tracks:E}=(0,s.st)(),w=(0,i.useCallback)((()=>{f("upgrade",e),E.recordEvent("jetpack_ai_upgrade_button",{current_tier_slug:k?.slug,requests_count:y,placement:e})}),[k,y,E,e]),_=(0,i.useCallback)((()=>{f("contact us",e),E.recordEvent("jetpack_ai_upgrade_contact_us",{placement:e})}),[E,e]);if(!u){const e=(0,i.createInterpolateElement)(__("Congratulations on exploring Jetpack AI and reaching the free requests limit! Reach out to the site administrator to upgrade and keep using Jetpack AI.","jetpack"),{strong:(0,a.createElement)("strong",null)});return(0,a.createElement)(o,{showButton:!1,className:"jetpack-ai-upgrade-banner",description:t||e,visible:!0,align:null,title:null,context:null})}if(b){if(!v){const e=(0,r.A)("jetpack-ai-tiers-more-requests-contact"),n=__("You have reached the request limit for your current plan.","jetpack");return(0,a.createElement)(o,{buttonText:__("Contact Us","jetpack"),description:t||n,className:"jetpack-ai-upgrade-banner",checkoutUrl:e,visible:!0,align:null,title:null,context:null,goToCheckoutPage:_,target:"_blank"})}const e=(0,i.createInterpolateElement)((0,l.sprintf)(/* Translators: number of requests */ __("You have reached the requests limit for your current plan. Upgrade now to increase your requests limit to %d.","jetpack"),v.limit),{strong:(0,a.createElement)("strong",null)});return(0,a.createElement)(o,{buttonText:(0,l.sprintf)(/* Translators: number of requests */ diff --git a/_inc/blocks/editor-experimental.asset.php b/_inc/blocks/editor-experimental.asset.php index 0aeec6873c..0abb8950f6 100644 --- a/_inc/blocks/editor-experimental.asset.php +++ b/_inc/blocks/editor-experimental.asset.php @@ -1 +1 @@ - array('jetpack-connection', 'jetpack-script-data', 'lodash', 'moment', 'react', 'react-dom', 'react-jsx-runtime', 'wp-a11y', 'wp-api-fetch', 'wp-blob', 'wp-block-editor', 'wp-block-serialization-default-parser', 'wp-blocks', 'wp-commands', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-date', 'wp-dom-ready', 'wp-edit-post', 'wp-editor', 'wp-element', 'wp-escape-html', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-keycodes', 'wp-media-utils', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-rich-text', 'wp-token-list', 'wp-url', 'wp-viewport', 'wp-widgets', 'wp-wordcount'), 'version' => '362d3cc72da8ede0ee3a'); + array('jetpack-connection', 'jetpack-script-data', 'lodash', 'moment', 'react', 'react-dom', 'react-jsx-runtime', 'wp-a11y', 'wp-api-fetch', 'wp-blob', 'wp-block-editor', 'wp-block-serialization-default-parser', 'wp-blocks', 'wp-commands', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-date', 'wp-dom-ready', 'wp-edit-post', 'wp-editor', 'wp-element', 'wp-escape-html', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-keycodes', 'wp-media-utils', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-rich-text', 'wp-token-list', 'wp-url', 'wp-viewport', 'wp-widgets', 'wp-wordcount'), 'version' => '5c58aa7e18a5e7df415c'); diff --git a/_inc/blocks/editor-experimental.js b/_inc/blocks/editor-experimental.js index e0fbf46cd6..95ad6614f6 100644 --- a/_inc/blocks/editor-experimental.js +++ b/_inc/blocks/editor-experimental.js @@ -11,7 +11,7 @@ const n=__("Requests will reset on %s.","jetpack");return`${t} ${(0,s.sprintf)(n __("(opens in a new tab)","jetpack"))),x=b?"_blank":void 0,j=n?.[0]&&null!==n[0]&&"components-tooltip"!==n?.[0]?.props?.className;return d().createElement(s.Button,r()({target:x,variant:a,className:(0,c.A)(_,{"has-text":!!m&&j}),icon:b?void 0:m,iconSize:h,disabled:g,"aria-disabled":g,isDestructive:f,text:y},w),v&&d().createElement(s.Spinner,null),d().createElement("span",null,n),A)}));m.displayName="Button";const h=m},69222:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var a=n(96072),r=n.n(a),s=n(29491),o=n(86087),i=n(27723),l=n(51112),c=n(78478);const __=i.__,u=({buttonStyle:e="icon",textToCopy:t,onCopy:n,...a})=>{const[i,u]=(0,o.useState)(!1),d=(0,o.useRef)(),p=(0,s.useCopyToClipboard)(t,(()=>{d.current&&clearTimeout(d.current),u(!0),n?.(),d.current=setTimeout((()=>{u(!1),d.current=void 0}),3e3)}));(0,o.useEffect)((()=>()=>{d.current&&clearTimeout(d.current)}),[]);let m=null,h=null;"text"!==e&&(m=i?React.createElement(c.Nr,null):React.createElement(c.ui,null));const g=__("Copy to clipboard","jetpack");return"icon"!==e&&(h=i?__("Copied!","jetpack"):g),React.createElement(l.A,r()({"aria-label":g,icon:m,children:h,ref:p},a))}},63406:(e,t,n)=>{"use strict";n.d(t,{I:()=>s});var a=n(47143),r=n(692);function s(){const e=(0,a.useDispatch)(r.store),t=(0,a.useSelect)((e=>e(r.store).getNotices()),[]);return{...e,createNotice:(t,n,a)=>e.createNotice(t,n,{type:"snackbar",...a}),createErrorNotice:(t,n)=>e.createErrorNotice(t,{type:"snackbar",...n}),createInfoNotice:(t,n)=>e.createInfoNotice(t,{type:"snackbar",...n}),createSuccessNotice:(t,n)=>e.createSuccessNotice(t,{type:"snackbar",...n}),createWarningNotice:(t,n)=>e.createWarningNotice(t,{type:"snackbar",...n}),getNotices:()=>t}}},11883:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var a=n(27723),r=n(13022),s=n(51609);n(4459);const __=a.__;class o extends s.Component{static defaultProps={"aria-hidden":"false",focusable:"true"};needsOffset(e,t){return["gridicons-arrow-left","gridicons-arrow-right","gridicons-calendar","gridicons-cart","gridicons-folder","gridicons-help-outline","gridicons-info","gridicons-info-outline","gridicons-posts","gridicons-star-outline","gridicons-star"].indexOf(e)>=0&&t%18==0}getSVGDescription(e){if("description"in this.props)return this.props.description;switch(e){default:return"";case"gridicons-audio":return __("Has audio.","jetpack");case"gridicons-arrow-left":return __("Arrow left","jetpack");case"gridicons-arrow-right":return __("Arrow right","jetpack");case"gridicons-calendar":return __("Is an event.","jetpack");case"gridicons-cart":return __("Is a product.","jetpack");case"chevron-down":return __("Show filters","jetpack");case"gridicons-comment":return __("Matching comment.","jetpack");case"gridicons-cross":return __("Close.","jetpack");case"gridicons-filter":return __("Toggle search filters.","jetpack");case"gridicons-folder":return __("Category","jetpack");case"gridicons-help-outline":return __("Help","jetpack");case"gridicons-info":case"gridicons-info-outline":return __("Information.","jetpack");case"gridicons-image-multiple":return __("Has multiple images.","jetpack");case"gridicons-image":return __("Has an image.","jetpack");case"gridicons-page":return __("Page","jetpack");case"gridicons-post":return __("Post","jetpack");case"gridicons-jetpack-search":case"gridicons-search":return __("Magnifying Glass","jetpack");case"gridicons-tag":return __("Tag","jetpack");case"gridicons-video":return __("Has a video.","jetpack")}}renderIcon(e){switch(e){default:return null;case"gridicons-audio":return React.createElement("g",null,React.createElement("path",{d:"M8 4v10.184C7.686 14.072 7.353 14 7 14c-1.657 0-3 1.343-3 3s1.343 3 3 3 3-1.343 3-3V7h7v4.184c-.314-.112-.647-.184-1-.184-1.657 0-3 1.343-3 3s1.343 3 3 3 3-1.343 3-3V4H8z"}));case"gridicons-arrow-left":return React.createElement("g",null,React.createElement("path",{d:"M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"}));case"gridicons-arrow-right":return React.createElement("g",null,React.createElement("path",{d:"M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8-8-8z"}));case"gridicons-block":return React.createElement("g",null,React.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zM4 12c0-4.418 3.582-8 8-8 1.848 0 3.545.633 4.9 1.686L5.686 16.9C4.633 15.545 4 13.848 4 12zm8 8c-1.848 0-3.546-.633-4.9-1.686L18.314 7.1C19.367 8.455 20 10.152 20 12c0 4.418-3.582 8-8 8z"}));case"gridicons-calendar":return React.createElement("g",null,React.createElement("path",{d:"M19 4h-1V2h-2v2H8V2H6v2H5c-1.105 0-2 .896-2 2v13c0 1.104.895 2 2 2h14c1.104 0 2-.896 2-2V6c0-1.104-.896-2-2-2zm0 15H5V8h14v11z"}));case"gridicons-cart":return React.createElement("g",null,React.createElement("path",{d:"M9 20c0 1.1-.9 2-2 2s-1.99-.9-1.99-2S5.9 18 7 18s2 .9 2 2zm8-2c-1.1 0-1.99.9-1.99 2s.89 2 1.99 2 2-.9 2-2-.9-2-2-2zm.396-5c.937 0 1.75-.65 1.952-1.566L21 5H7V4c0-1.105-.895-2-2-2H3v2h2v11c0 1.105.895 2 2 2h12c0-1.105-.895-2-2-2H7v-2h10.396z"}));case"gridicons-checkmark":return React.createElement("g",null,React.createElement("path",{d:"M11 17.768l-4.884-4.884 1.768-1.768L11 14.232l8.658-8.658C17.823 3.39 15.075 2 12 2 6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10c0-1.528-.353-2.97-.966-4.266L11 17.768z"}));case"gridicons-chevron-left":return React.createElement("g",null,React.createElement("path",{d:"M16.443 7.41L15.0399 6L9.06934 12L15.0399 18L16.443 16.59L11.8855 12L16.443 7.41Z"}));case"gridicons-chevron-right":return React.createElement("g",null,React.createElement("path",{d:"M10.2366 6L8.8335 7.41L13.391 12L8.8335 16.59L10.2366 18L16.2072 12L10.2366 6Z"}));case"gridicons-chevron-down":return React.createElement("g",null,React.createElement("path",{d:"M20 9l-8 8-8-8 1.414-1.414L12 14.172l6.586-6.586"}));case"gridicons-comment":return React.createElement("g",null,React.createElement("path",{d:"M3 6v9c0 1.105.895 2 2 2h9v5l5.325-3.804c1.05-.75 1.675-1.963 1.675-3.254V6c0-1.105-.895-2-2-2H5c-1.105 0-2 .895-2 2z"}));case"gridicons-computer":return React.createElement("g",null,React.createElement("path",{d:"M20 2H4c-1.104 0-2 .896-2 2v12c0 1.104.896 2 2 2h6v2H7v2h10v-2h-3v-2h6c1.104 0 2-.896 2-2V4c0-1.104-.896-2-2-2zm0 14H4V4h16v12z"}));case"gridicons-cross":return React.createElement("g",null,React.createElement("path",{d:"M18.36 19.78L12 13.41l-6.36 6.37-1.42-1.42L10.59 12 4.22 5.64l1.42-1.42L12 10.59l6.36-6.36 1.41 1.41L13.41 12l6.36 6.36z"}));case"gridicons-filter":return React.createElement("g",null,React.createElement("path",{d:"M10 19h4v-2h-4v2zm-4-6h12v-2H6v2zM3 5v2h18V5H3z"}));case"gridicons-folder":return React.createElement("g",null,React.createElement("path",{d:"M18 19H6c-1.1 0-2-.9-2-2V7c0-1.1.9-2 2-2h3c1.1 0 2 .9 2 2h7c1.1 0 2 .9 2 2v8c0 1.1-.9 2-2 2z"}));case"gridicons-help-outline":return React.createElement("g",null,React.createElement("path",{d:"M12 4c4.41 0 8 3.59 8 8s-3.59 8-8 8-8-3.59-8-8 3.59-8 8-8m0-2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm1 13h-2v2h2v-2zm-1.962-2v-.528c0-.4.082-.74.246-1.017.163-.276.454-.546.87-.808.333-.21.572-.397.717-.565.146-.168.22-.36.22-.577 0-.172-.078-.308-.234-.41-.156-.1-.358-.15-.608-.15-.62 0-1.34.22-2.168.658l-.854-1.67c1.02-.58 2.084-.872 3.194-.872.913 0 1.63.202 2.15.603.52.4.78.948.78 1.64 0 .495-.116.924-.347 1.287-.23.362-.6.705-1.11 1.03-.43.278-.7.48-.807.61-.108.13-.163.282-.163.458V13h-1.885z"}));case"gridicons-image":return React.createElement("g",null,React.createElement("path",{d:"M13 9.5c0-.828.672-1.5 1.5-1.5s1.5.672 1.5 1.5-.672 1.5-1.5 1.5-1.5-.672-1.5-1.5zM22 6v12c0 1.105-.895 2-2 2H4c-1.105 0-2-.895-2-2V6c0-1.105.895-2 2-2h16c1.105 0 2 .895 2 2zm-2 0H4v7.444L8 9l5.895 6.55 1.587-1.85c.798-.932 2.24-.932 3.037 0L20 15.426V6z"}));case"gridicons-image-multiple":return React.createElement("g",null,React.createElement("path",{d:"M15 7.5c0-.828.672-1.5 1.5-1.5s1.5.672 1.5 1.5S17.328 9 16.5 9 15 8.328 15 7.5zM4 20h14c0 1.105-.895 2-2 2H4c-1.1 0-2-.9-2-2V8c0-1.105.895-2 2-2v14zM22 4v12c0 1.105-.895 2-2 2H8c-1.105 0-2-.895-2-2V4c0-1.105.895-2 2-2h12c1.105 0 2 .895 2 2zM8 4v6.333L11 7l4.855 5.395.656-.73c.796-.886 2.183-.886 2.977 0l.513.57V4H8z"}));case"gridicons-info":return React.createElement("g",null,React.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z"}));case"gridicons-info-outline":return React.createElement("g",null,React.createElement("path",{d:"M13 9h-2V7h2v2zm0 2h-2v6h2v-6zm-1-7c-4.411 0-8 3.589-8 8s3.589 8 8 8 8-3.589 8-8-3.589-8-8-8m0-2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2z"}));case"gridicons-jetpack-search":return React.createElement("g",null,React.createElement("path",{d:"M0 9.257C0 4.15 4.151 0 9.257 0c5.105 0 9.256 4.151 9.256 9.257a9.218 9.218 0 01-2.251 6.045l.034.033h1.053L24 22.01l-1.986 1.989-6.664-6.662v-1.055l-.033-.033a9.218 9.218 0 01-6.06 2.264C4.15 18.513 0 14.362 0 9.257zm4.169 1.537h4.61V1.82l-4.61 8.973zm5.547-3.092v8.974l4.61-8.974h-4.61z"}));case"gridicons-phone":return React.createElement("g",null,React.createElement("path",{d:"M16 2H8c-1.104 0-2 .896-2 2v16c0 1.104.896 2 2 2h8c1.104 0 2-.896 2-2V4c0-1.104-.896-2-2-2zm-3 19h-2v-1h2v1zm3-2H8V5h8v14z"}));case"gridicons-pages":return React.createElement("g",null,React.createElement("path",{d:"M16 8H8V6h8v2zm0 2H8v2h8v-2zm4-6v12l-6 6H6c-1.105 0-2-.895-2-2V4c0-1.105.895-2 2-2h12c1.105 0 2 .895 2 2zm-2 10V4H6v16h6v-4c0-1.105.895-2 2-2h4z"}));case"gridicons-posts":return React.createElement("g",null,React.createElement("path",{d:"M16 19H3v-2h13v2zm5-10H3v2h18V9zM3 5v2h11V5H3zm14 0v2h4V5h-4zm-6 8v2h10v-2H11zm-8 0v2h5v-2H3z"}));case"gridicons-search":return React.createElement("g",null,React.createElement("path",{d:"M21 19l-5.154-5.154C16.574 12.742 17 11.42 17 10c0-3.866-3.134-7-7-7s-7 3.134-7 7 3.134 7 7 7c1.42 0 2.742-.426 3.846-1.154L19 21l2-2zM5 10c0-2.757 2.243-5 5-5s5 2.243 5 5-2.243 5-5 5-5-2.243-5-5z"}));case"gridicons-star-outline":return React.createElement("g",null,React.createElement("path",{d:"M12 6.308l1.176 3.167.347.936.997.042 3.374.14-2.647 2.09-.784.62.27.963.91 3.25-2.813-1.872-.83-.553-.83.552-2.814 1.87.91-3.248.27-.962-.783-.62-2.648-2.092 3.374-.14.996-.04.347-.936L12 6.308M12 2L9.418 8.953 2 9.257l5.822 4.602L5.82 21 12 16.89 18.18 21l-2.002-7.14L22 9.256l-7.418-.305L12 2z"}));case"gridicons-star":return React.createElement("g",null,React.createElement("path",{d:"M12 2l2.582 6.953L22 9.257l-5.822 4.602L18.18 21 12 16.89 5.82 21l2.002-7.14L2 9.256l7.418-.304"}));case"gridicons-tag":return React.createElement("g",null,React.createElement("path",{d:"M20 2.007h-7.087c-.53 0-1.04.21-1.414.586L2.592 11.5c-.78.78-.78 2.046 0 2.827l7.086 7.086c.78.78 2.046.78 2.827 0l8.906-8.906c.376-.374.587-.883.587-1.413V4.007c0-1.105-.895-2-2-2zM17.007 9c-1.105 0-2-.895-2-2s.895-2 2-2 2 .895 2 2-.895 2-2 2z"}));case"gridicons-video":return React.createElement("g",null,React.createElement("path",{d:"M20 4v2h-2V4H6v2H4V4c-1.105 0-2 .895-2 2v12c0 1.105.895 2 2 2v-2h2v2h12v-2h2v2c1.105 0 2-.895 2-2V6c0-1.105-.895-2-2-2zM6 16H4v-3h2v3zm0-5H4V8h2v3zm4 4V9l4.5 3-4.5 3zm10 1h-2v-3h2v3zm0-5h-2V8h2v3z"}));case"gridicons-lock":return React.createElement(React.Fragment,null,React.createElement("g",{id:"lock"},React.createElement("path",{d:"M18,8h-1V7c0-2.757-2.243-5-5-5S7,4.243,7,7v1H6c-1.105,0-2,0.895-2,2v10c0,1.105,0.895,2,2,2h12c1.105,0,2-0.895,2-2V10 C20,8.895,19.105,8,18,8z M9,7c0-1.654,1.346-3,3-3s3,1.346,3,3v1H9V7z M13,15.723V18h-2v-2.277c-0.595-0.346-1-0.984-1-1.723 c0-1.105,0.895-2,2-2s2,0.895,2,2C14,14.738,13.595,15.376,13,15.723z"})),React.createElement("g",{id:"Layer_1"}));case"gridicons-external":return React.createElement("g",null,React.createElement("path",{d:"M19 13v6c0 1.105-.895 2-2 2H5c-1.105 0-2-.895-2-2V7c0-1.105.895-2 2-2h6v2H5v12h12v-6h2zM13 3v2h4.586l-7.793 7.793 1.414 1.414L19 6.414V11h2V3h-8z"}))}}render(){const{size:e=24,className:t=""}=this.props,n=this.props.height||e,a=this.props.width||e,s=this.props.style||{height:n,width:a},o="gridicons-"+this.props.icon,i=(0,r.A)("gridicon",o,t,{"needs-offset":this.needsOffset(o,e)}),l=this.getSVGDescription(o);return React.createElement("svg",{className:i,focusable:this.props.focusable,height:n,onClick:this.props.onClick,style:s,viewBox:"0 0 24 24",width:a,xmlns:"http://www.w3.org/2000/svg","aria-hidden":this.props["aria-hidden"]},l?React.createElement("desc",null,l):null,this.renderIcon(o))}}const i=o},40597:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var a=n(56427),r=n(13022),s=n(51609),o=n.n(s),i=n(51112),l=n(11883);n(84813);const c=e=>({"top-end":"top left",top:"top center","top-start":"top right","bottom-end":"bottom left",bottom:"bottom center","bottom-start":"bottom right"}[e]),u=({className:e="",iconClassName:t="",placement:n="bottom-end",animate:u=!0,iconCode:d="info-outline",iconSize:p=18,offset:m=10,title:h,children:g,popoverAnchorStyle:f="icon",forceShow:v=!1,hoverShow:b=!1,wide:k=!1,inline:y=!0,shift:E=!1})=>{const[w,_]=(0,s.useState)(!1),[C,A]=(0,s.useState)(null),x=(0,s.useCallback)((()=>_(!1)),[_]),j=(0,s.useCallback)((e=>{e.preventDefault(),_(!w)}),[w,_]),S={position:c(n),placement:n,animate:u,noArrow:!1,resize:!1,flip:!1,offset:m,focusOnMount:"container",onClose:x,className:"icon-tooltip-container",inline:y,shift:E},N="wrapper"===f,R=(0,r.A)("icon-tooltip-wrapper",e),P={left:N?0:-(62-p/2)+"px"},L=N&&v,T=(0,s.useCallback)((()=>{b&&(C&&(clearTimeout(C),A(null)),_(!0))}),[b,C]),B=(0,s.useCallback)((()=>{if(b){const e=setTimeout((()=>{_(!1),A(null)}),100);A(e)}}),[b]);return o().createElement("div",{className:R,"data-testid":"icon-tooltip_wrapper",onMouseEnter:T,onMouseLeave:B},!N&&o().createElement(i.A,{variant:"link",onMouseDown:j},o().createElement(l.A,{className:t,icon:d,size:p})),o().createElement("div",{className:(0,r.A)("icon-tooltip-helper",{"is-wide":k}),style:P},(L||w)&&o().createElement(a.Popover,S,o().createElement("div",null,h&&o().createElement("div",{className:"icon-tooltip-title"},h),o().createElement("div",{className:"icon-tooltip-content"},g)))))}},78478:(e,t,n)=>{"use strict";n.d(t,{M5:()=>p,Nr:()=>u,ui:()=>d});var a=n(96072),r=n.n(a),s=n(56427),o=n(13022),i=n(84705),l=n(47842);const c=({className:e,size:t=24,viewBox:n="0 0 24 24",opacity:a=1,color:i="#2C3338",children:c})=>{const u={className:(0,o.A)(l.A.iconWrapper,e),width:t,height:t,viewBox:n,opacity:a,fill:void 0};return i&&(u.fill=i),React.createElement(s.SVG,r()({},u,{fillRule:"evenodd",clipRule:"evenodd",xmlns:"http://www.w3.org/2000/svg"}),React.createElement(s.G,{opacity:a},c))},u=({size:e,className:t=l.A["checkmark-icon"],color:n})=>React.createElement(c,{className:t,size:e,color:n},React.createElement(s.Path,{d:"M11 17.768l-4.884-4.884 1.768-1.768L11 14.232l8.658-8.658C17.823 3.39 15.075 2 12 2 6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10c0-1.528-.353-2.97-.966-4.266L11 17.768z"})),d=({size:e,className:t=l.A["clipboard-icon"],color:n})=>React.createElement(c,{className:t,size:e,color:n},React.createElement(s.Path,{d:"M5.625 5.5H15.375C15.444 5.5 15.5 5.55596 15.5 5.625V15.375C15.5 15.444 15.444 15.5 15.375 15.5H5.625C5.55596 15.5 5.5 15.444 5.5 15.375V5.625C5.5 5.55596 5.55596 5.5 5.625 5.5ZM4 5.625C4 4.72754 4.72754 4 5.625 4H15.375C16.2725 4 17 4.72754 17 5.625V10V15.375C17 16.2725 16.2725 17 15.375 17C15.375 17 6.52246 17 5.625 17C4.72754 17 4 16.2725 4 15.375V5.625ZM18.5 17.2812V8.28125H20V17.2812C20 18.7995 18.7704 20 17.2511 20H6.25V18.5H17.2511C17.9409 18.5 18.5 17.9721 18.5 17.2812Z"}));const p=({serviceName:e,className:t,iconSize:n})=>React.createElement(i.Ay,{className:(0,o.A)(l.A.socialIcon,l.A[e],t),icon:e,size:n||24})},67142:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var a=n(96072),r=n.n(a),s=n(27723),o=n(13022),i=n(51609),l=n.n(i);const __=s.__,c=({logoColor:e="#069e08",showText:t=!0,className:n,height:a=32,...s})=>{const i=t?"0 0 118 32":"0 0 32 32";return l().createElement("svg",r()({xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:i,className:(0,o.A)("jetpack-logo",n),"aria-labelledby":"jetpack-logo-title",height:a},s,{role:"img"}),l().createElement("title",{id:"jetpack-logo-title"},__("Jetpack Logo","jetpack")),l().createElement("path",{fill:e,d:"M16,0C7.2,0,0,7.2,0,16s7.2,16,16,16s16-7.2,16-16S24.8,0,16,0z M15,19H7l8-16V19z M17,29V13h8L17,29z"}),t&&l().createElement(l().Fragment,null,l().createElement("path",{d:"M41.3,26.6c-0.5-0.7-0.9-1.4-1.3-2.1c2.3-1.4,3-2.5,3-4.6V8h-3V6h6v13.4C46,22.8,45,24.8,41.3,26.6z"}),l().createElement("path",{d:"M65,18.4c0,1.1,0.8,1.3,1.4,1.3c0.5,0,2-0.2,2.6-0.4v2.1c-0.9,0.3-2.5,0.5-3.7,0.5c-1.5,0-3.2-0.5-3.2-3.1V12H60v-2h2.1V7.1 H65V10h4v2h-4V18.4z"}),l().createElement("path",{d:"M71,10h3v1.3c1.1-0.8,1.9-1.3,3.3-1.3c2.5,0,4.5,1.8,4.5,5.6s-2.2,6.3-5.8,6.3c-0.9,0-1.3-0.1-2-0.3V28h-3V10z M76.5,12.3 c-0.8,0-1.6,0.4-2.5,1.2v5.9c0.6,0.1,0.9,0.2,1.8,0.2c2,0,3.2-1.3,3.2-3.9C79,13.4,78.1,12.3,76.5,12.3z"}),l().createElement("path",{d:"M93,22h-3v-1.5c-0.9,0.7-1.9,1.5-3.5,1.5c-1.5,0-3.1-1.1-3.1-3.2c0-2.9,2.5-3.4,4.2-3.7l2.4-0.3v-0.3c0-1.5-0.5-2.3-2-2.3 c-0.7,0-2.3,0.5-3.7,1.1L84,11c1.2-0.4,3-1,4.4-1c2.7,0,4.6,1.4,4.6,4.7L93,22z M90,16.4l-2.2,0.4c-0.7,0.1-1.4,0.5-1.4,1.6 c0,0.9,0.5,1.4,1.3,1.4s1.5-0.5,2.3-1V16.4z"}),l().createElement("path",{d:"M104.5,21.3c-1.1,0.4-2.2,0.6-3.5,0.6c-4.2,0-5.9-2.4-5.9-5.9c0-3.7,2.3-6,6.1-6c1.4,0,2.3,0.2,3.2,0.5V13 c-0.8-0.3-2-0.6-3.2-0.6c-1.7,0-3.2,0.9-3.2,3.6c0,2.9,1.5,3.8,3.3,3.8c0.9,0,1.9-0.2,3.2-0.7V21.3z"}),l().createElement("path",{d:"M110,15.2c0.2-0.3,0.2-0.8,3.8-5.2h3.7l-4.6,5.7l5,6.3h-3.7l-4.2-5.8V22h-3V6h3V15.2z"}),l().createElement("path",{d:"M58.5,21.3c-1.5,0.5-2.7,0.6-4.2,0.6c-3.6,0-5.8-1.8-5.8-6c0-3.1,1.9-5.9,5.5-5.9s4.9,2.5,4.9,4.9c0,0.8,0,1.5-0.1,2h-7.3 c0.1,2.5,1.5,2.8,3.6,2.8c1.1,0,2.2-0.3,3.4-0.7C58.5,19,58.5,21.3,58.5,21.3z M56,15c0-1.4-0.5-2.9-2-2.9c-1.4,0-2.3,1.3-2.4,2.9 C51.6,15,56,15,56,15z"})))}},60442:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var a=n(29491),r=n(59053);const s=["sm","md","lg"],o=(e,t)=>{const n=Array.isArray(e)?e:[e],o=Array.isArray(t)?t:[t],[i,l,c]=s,u={sm:(0,a.useMediaQuery)(r.A[i]),md:(0,a.useMediaQuery)(r.A[l]),lg:(0,a.useMediaQuery)(r.A[c])};return n.map(((e,t)=>{const n=o[t];return n?((e,t,n)=>{const a=s.indexOf(e),r=a+1,o=t.includes("=");let i=[];return t.startsWith("<")&&(i=s.slice(0,o?r:a)),t.startsWith(">")&&(i=s.slice(o?a:r)),i?.length?i.some((e=>n[e])):n[e]})(e,n,u):u[e]}))}},11876:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var a=n(13022),r=n(51609),s=n.n(r),o=n(47876);const i=({children:e=null,width:t=null,height:n=null,className:r=""})=>s().createElement("div",{className:(0,a.A)(o.A.placeholder,r),style:{width:t,height:n}},e)},47656:(e,t,n)=>{"use strict";n.d(t,{A:()=>m});var a=n(90311),r=n(19783),s=n(83883),o=n(51113),i=n(10991),l=n(13022),c=n(51609),u=n.n(c),d=n(16024);const p=e=>{switch(e){case"error":case"warning":default:return a.A;case"info":return r.A;case"success":return s.A}},m=({level:e="info",title:t,children:n,actions:a,hideCloseButton:r=!1,onClose:s})=>{const c=(0,l.A)(d.A.container,d.A[`is-${e}`]);return u().createElement("div",{className:c},u().createElement("div",{className:d.A["icon-wrapper"]},u().createElement(o.A,{icon:p(e),className:d.A.icon})),u().createElement("div",{className:d.A["main-content"]},t&&u().createElement("div",{className:d.A.title},t),n,a&&a.length>0&&u().createElement("div",{className:d.A["action-bar"]},a.map(((e,t)=>u().createElement("div",{key:t,className:d.A.action},e))))),!r&&u().createElement("button",{"aria-label":"close",className:d.A["close-button"],onClick:s},u().createElement(o.A,{icon:i.A})))}},37975:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});var a=n(51437);const r=(e,t={})=>{const n=(0,a.Y)();return new Intl.NumberFormat(n,t).format(e)}},36281:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});var a=n(21782);const r=({value:e="https://jetpack.com",bgColor:t,fgColor:n,level:r,includeMargin:s,imageSettings:o,renderAs:i="canvas",size:l=248})=>React.createElement(a.Ay,{value:e,size:l,bgColor:t,fgColor:n,level:r,includeMargin:s,imageSettings:o,renderAs:i})},56461:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var a=n(28120),r=n.n(a),s=n(51609),o=n.n(s);n(85335);const i=({color:e="#FFFFFF",className:t="",size:n=20})=>{const a=t+" jp-components-spinner",r={width:n,height:n,fontSize:n,borderTopColor:e},s={borderTopColor:e,borderRightColor:e};return o().createElement("div",{className:a},o().createElement("div",{className:"jp-components-spinner__outer",style:r},o().createElement("div",{className:"jp-components-spinner__inner",style:s})))};i.propTypes={color:r().string,className:r().string,size:r().number};const l=i},10110:(e,t,n)=>{"use strict";n.d(t,{Q:()=>a,Z:()=>r});const a={"headline-medium":"h1","headline-small":"h2","headline-small-regular":"h2","title-medium":"h3","title-medium-semi-bold":"h3","title-small":"h4",body:"p","body-small":"p","body-extra-small":"p","body-extra-small-bold":"p",label:"p"},r=["mt","mr","mb","ml","mx","my","m","pt","pr","pb","pl","px","py","p"]},47425:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>d});var a=n(96072),r=n.n(a),s=n(13022),o=n(51609),i=n.n(o),l=n(10110),c=n(22073);const u=(0,o.forwardRef)((({variant:e="body",children:t,component:n,className:a,...u},d)=>{const p=n||l.Q[e]||"span",m=(0,o.useMemo)((()=>l.Z.reduce(((e,t)=>(void 0!==u[t]&&(e+=c.A[`${t}-${u[t]}`]+" ",delete u[t]),e)),"")),[u]);return i().createElement(p,r()({className:(0,s.A)(c.A.reset,c.A[e],a,m)},u,{ref:d}),t)}));u.displayName="Text";const d=u},50723:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>p});var a=n(51609),r=n.n(a),s=n(25196);const o={"--font-headline-medium":"48px","--font-headline-small":"36px","--font-title-medium":"24px","--font-title-small":"20px","--font-body":"16px","--font-body-small":"14px","--font-body-extra-small":"12px","--font-title-large":"var(--font-headline-small)","--font-label":"var(--font-body-extra-small)"},i={"--jp-black":"#000000","--jp-black-80":"#2c3338","--jp-white":"#ffffff","--jp-white-off":"#f9f9f6","--jp-gray":"#dcdcde","--jp-gray-0":"#F6F7F7","--jp-gray-5":"var(--jp-gray)","--jp-gray-10":"#C3C4C7","--jp-gray-20":"#A7AAAD","--jp-gray-40":"#787C82","--jp-gray-50":"#646970","--jp-gray-60":"#50575E","--jp-gray-70":"#3C434A","--jp-gray-80":"#2C3338","--jp-gray-90":"#1d2327","--jp-gray-off":"#e2e2df","--jp-red-0":"#F7EBEC","--jp-red-5":"#FACFD2","--jp-red-40":"#E65054","--jp-red-50":"#D63638","--jp-red-60":"#B32D2E","--jp-red-70":"#8A2424","--jp-red-80":"#691C1C","--jp-red":"#d63639","--jp-yellow-5":"#F5E6B3","--jp-yellow-10":"#F2CF75","--jp-yellow-20":"#F0C930","--jp-yellow-30":"#DEB100","--jp-yellow-40":"#C08C00","--jp-yellow-50":"#9D6E00","--jp-yellow-60":"#7D5600","--jp-blue-20":"#68B3E8","--jp-blue-40":"#1689DB","--jp-pink":"#C9356E","--jp-green-0":"#f0f2eb","--jp-green-5":"#d0e6b8","--jp-green-10":"#9dd977","--jp-green-20":"#64ca43","--jp-green-30":"#2fb41f","--jp-green-40":"#069e08","--jp-green-50":"#008710","--jp-green-60":"#007117","--jp-green-70":"#005b18","--jp-green-80":"#004515","--jp-green-90":"#003010","--jp-green-100":"#001c09","--jp-green":"#069e08","--jp-green-primary":"var( --jp-green-40 )","--jp-green-secondary":"var( --jp-green-30 )"},l={"--jp-border-radius":"4px","--jp-menu-border-height":"1px","--jp-underline-thickness":"2px"},c={"--spacing-base":"8px"},u={},d=(e,t,n)=>{const a={...o,...i,...l,...c};for(const t in a)e.style.setProperty(t,a[t]);n&&e.classList.add(s.A.global),t&&(u[t]={provided:!0,root:e})},p=({children:e=null,targetDom:t,id:n,withGlobalStyles:s=!0})=>{const o=(0,a.useRef)(),i=u?.[n]?.provided;return(0,a.useLayoutEffect)((()=>{if(!i)return t?d(t,n,s):void(o?.current&&d(o.current,n,s))}),[t,o,i,n,s]),t?r().createElement(r().Fragment,null,e):r().createElement("div",{ref:o},e)}},51437:(e,t,n)=>{"use strict";n.d(t,{Y:()=>r});var a=n(38443);const r=()=>{const{l10n:{locale:e}}=(0,a.getSettings)();if(e)return(e=>{const t=e.match(/^([a-z]{2,3})(_[a-z]{2}|_[a-z][a-z0-9]{4,7})?(?:_.*)?$/i);return t?`${t[1]}${t[2]?t[2]:""}`.replace("_","-"):"en-US"})(e);return window?.window?.navigator?.language??"en-US"}},3924:(e,t,n)=>{"use strict";function a(e,t={}){const n={};let a;if("undefined"!=typeof window&&(a=window?.JP_CONNECTION_INITIAL_STATE?.calypsoEnv),0===e.search("https://")){const t=new URL(e);e=`https://${t.host}${t.pathname}`,n.url=encodeURIComponent(e)}else n.source=encodeURIComponent(e);for(const e in t)n[e]=encodeURIComponent(t[e]);!Object.keys(n).includes("site")&&"undefined"!=typeof jetpack_redirects&&Object.hasOwn(jetpack_redirects,"currentSiteRawUrl")&&(n.site=jetpack_redirects.currentBlogID??jetpack_redirects.currentSiteRawUrl),a&&(n.calypso_env=a);return"https://jetpack.com/redirect/?"+Object.keys(n).map((e=>e+"="+n[e])).join("&")}n.d(t,{A:()=>a})},7162:(e,t,n)=>{"use strict";n.d(t,{GlobalModals:()=>m.m,PostPublishPanels:()=>i.A,PublicizePanel:()=>o.A,SocialImageGeneratorPanel:()=>s.A,SocialPreviewsModal:()=>a.A,SocialPreviewsPanel:()=>r.A,getSocialScriptData:()=>u.getSocialScriptData,usePostCanUseSig:()=>p.e,usePublicizeConfig:()=>c.A,useSocialMediaConnections:()=>l.A,useSyncPostDataToStore:()=>d.F});n(31963),n(10267),n(70925);var a=n(81115),r=n(97192),s=n(29341),o=(n(12226),n(98725),n(29761),n(66561)),i=(n(25300),n(26029)),l=(n(26637),n(7610),n(50001)),c=(n(39553),n(77627)),u=(n(31873),n(70407));n.o(u,"GlobalModals")&&n.d(t,{GlobalModals:function(){return u.GlobalModals}}),n.o(u,"usePostCanUseSig")&&n.d(t,{usePostCanUseSig:function(){return u.usePostCanUseSig}}),n.o(u,"useSyncPostDataToStore")&&n.d(t,{useSyncPostDataToStore:function(){return u.useSyncPostDataToStore}});n(1101);var d=n(75168),p=(n(49036),n(383),n(38656)),m=(n(49192),n(48222),n(51371),n(50646),n(47453))},12141:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var a=n(78478),r=n(86087),s=n(13022),o=n(28120),i=n.n(o);const l=e=>{const{checked:t,serviceName:n,label:o,onClick:i,profilePicture:l}=e,[c,u]=(0,r.useState)(!!l),d=(0,r.useCallback)((()=>u(!1)),[]),p=(0,r.useCallback)((e=>{13===e.keyCode&&i()}),[i]);return React.createElement("div",{onClick:i,onKeyDown:p,role:"switch","aria-checked":t,tabIndex:"0",className:(0,s.A)("components-connection-icon",{"components-connection-icon__picture":c})},c&&React.createElement("img",{src:l,alt:o,onError:d}),React.createElement(a.M5,{alt:o,serviceName:"instagram-business"===n?"instagram":"twitter"===n?"x":n,className:"jetpack-publicize-gutenberg-social-icon"}))};l.propTypes={serviceName:i().string,label:i().string,profilePicture:i().string};const c=l},55488:(e,t,n)=>{"use strict";n(56427),n(27723),n(51609),n(12141),n(27817),n(86158),n(43119),n(52683),n(85605)},27817:(e,t,n)=>{"use strict";n.d(t,{s:()=>l});var a=n(56427),r=n(47143),s=n(27723),o=n(31963),i=n(85605);const __=s.__;function l({connection:e}){const t=(0,r.useSelect)((t=>t(o.M_).getUpdatingConnections().includes(e.connection_id)),[e.connection_id]);return React.createElement("div",{className:i.A["connection-name"]},e.profile_link?React.createElement(a.ExternalLink,{className:i.A["profile-link"],href:e.profile_link},e.display_name||e.external_display||e.external_name):React.createElement("span",{className:i.A["profile-link"]},e.display_name||e.external_name),t?React.createElement(a.Spinner,{color:"black","aria-label":__("Updating account","jetpack")}):null)}},86158:(e,t,n)=>{"use strict";n.d(t,{v:()=>c});var a=n(3924),r=n(56427),s=n(86087),o=n(27723),i=n(43119),l=n(76046);const __=o.__;function c({connection:e,service:t}){return"broken"!==e.status?null:React.createElement("div",null,React.createElement("span",{className:"description"},t?__("There is an issue with this connection.","jetpack"):(0,s.createInterpolateElement)((0,o.sprintf)("%1$s %2$s",__("This platform is no longer supported.","jetpack"),__("You can use our Manual Sharing feature instead.","jetpack")),{link:React.createElement(r.ExternalLink,{href:(0,a.A)("jetpack-social-manual-sharing-help")})}))," ",t?React.createElement(l.C,{connection:e,service:t}):React.createElement(i.V,{connection:e,variant:"link",isDestructive:!1}))}},43119:(e,t,n)=>{"use strict";n.d(t,{V:()=>u});var a=n(51112),r=n(56427),s=n(47143),o=n(86087),i=n(27723),l=n(31963),c=n(85605);const __=i.__,_x=i._x;function u({connection:e,variant:t="secondary",isDestructive:n=!0,buttonClassName:u}){const[d,p]=(0,o.useReducer)((e=>!e),!1),{deleteConnectionById:m}=(0,s.useDispatch)(l.M_),{isDisconnecting:h}=(0,s.useSelect)((t=>{const{getDeletingConnections:n}=t(l.M_);return{isDisconnecting:n().includes(e.connection_id)}}),[e.connection_id]),g=(0,o.useCallback)((async()=>{p(),await m({connectionId:e.connection_id})}),[e.connection_id,m]);return e.can_disconnect?React.createElement(React.Fragment,null,React.createElement(r.__experimentalConfirmDialog,{className:c.A.confirmDialog,isOpen:d,onConfirm:g,onCancel:p,cancelButtonText:__("Cancel","jetpack"),confirmButtonText:__("Yes","jetpack")},(0,o.createInterpolateElement)((0,i.sprintf)( // translators: %s: The name of the connection the user is disconnecting. __("Are you sure you want to disconnect %s?","jetpack"),e.display_name),{strong:React.createElement("strong",null)})),React.createElement(a.A,{size:"small",onClick:p,disabled:h,variant:t,isDestructive:n,className:u},h?__("Disconnecting…","jetpack"):_x("Disconnect","Disconnect a social media account","jetpack"))):null}},26637:(e,t,n)=>{"use strict";n(56427),n(47143),n(86087),n(27723),n(50001),n(31963),n(48222),n(48712),n(55488),n(85605)},52683:(e,t,n)=>{"use strict";n.d(t,{j:()=>l});var a=n(56427),r=n(47143),s=n(86087),o=n(27723),i=n(31963);const __=o.__;function l({connection:e}){const{updateConnectionById:t}=(0,r.useDispatch)(i.M_),{isUpdating:n}=(0,r.useSelect)((t=>{const{getUpdatingConnections:n}=t(i.M_);return{isUpdating:n().includes(e.connection_id)}}),[e.connection_id]),o=(0,s.useCallback)((n=>{t(e.connection_id,{shared:n})}),[e.connection_id,t]);return React.createElement(a.CheckboxControl,{checked:e.shared??!1,onChange:o,disabled:n||"broken"===e.status,label:__("Mark the connection as shared","jetpack"),__nextHasNoMarginBottom:!0})}},76046:(e,t,n)=>{"use strict";n.d(t,{C:()=>c});var a=n(51112),r=n(47143),s=n(86087),o=n(27723),i=n(31963),l=n(70745);const __=o.__,_x=o._x;function c({connection:e,service:t,variant:n="link"}){const{deleteConnectionById:o,setKeyringResult:c,openConnectionsModal:u,setReconnectingAccount:d}=(0,r.useDispatch)(i.M_),{isDisconnecting:p}=(0,r.useSelect)((t=>{const{getDeletingConnections:n}=t(i.M_);return{isDisconnecting:n().includes(e.connection_id)}}),[e.connection_id]),m=(0,s.useCallback)((e=>{c(e),e?.ID&&u()}),[u,c]),h=(0,l.P)({service:t,onConfirm:m}),g=(0,s.useCallback)((async()=>{if(!await o({connectionId:e.connection_id,showSuccessNotice:!1}))return;await d(e);const n=new FormData;"mastodon"===t.ID&&n.set("instance",e.external_display),"bluesky"===t.ID?u():h(n)}),[e,o,u,h,t.ID,d]);return e.can_disconnect?React.createElement(a.A,{size:"small",onClick:g,disabled:p,variant:n},p?__("Disconnecting…","jetpack"):_x("Reconnect","Reconnect a social media account","jetpack")):null}},91910:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var a=n(13022),r=n(28120),s=n.n(r),o=n(12141);const i=e=>{const{checked:t,disabled:n,onChange:r,serviceName:s,label:i,profilePicture:l}=e,c=(0,a.A)("components-connection-toggle",{"is-not-checked":!t,"is-disabled":n});return React.createElement("div",{className:c,title:i},React.createElement(o.A,{checked:t,label:i,onClick:r,serviceName:s,profilePicture:l}))};i.propTypes={className:s().string,checked:s().bool,id:s().string.isRequired,disabled:s().bool,onChange:s().func,serviceName:s().string,label:s().string,profilePicture:s().string};const l=i},10267:(e,t,n)=>{"use strict";n.d(t,{A:()=>m});var a=n(85985),r=n(56427),s=n(47143),o=n(86087),i=n(27723),l=n(31963),c=n(91910),u=n(95051),d=n(49514);const __=i.__;class p extends o.Component{maybeDisplayLinkedInNotice=()=>this.connectionNeedsReauth()&&React.createElement(r.Notice,{className:u.A["publicize-notice"],isDismissible:!1,status:"error"},React.createElement("p",null,__("Your LinkedIn connection needs to be reauthenticated to continue working – head to Sharing to take care of it.","jetpack")),React.createElement(r.ExternalLink,{href:`https://wordpress.com/marketing/connections/${(0,a.GE)()}`},__("Go to Sharing settings","jetpack")));connectionNeedsReauth=()=>this.props.mustReauthConnections.includes(this.props.name);onConnectionChange=()=>{const{id:e}=this.props;this.isDisabled()||this.props.toggleConnection(e)};connectionIsFailing(){const{failedConnections:e,name:t}=this.props;return e.some((e=>e.service_name===t))}isDisabled(){return this.props.disabled||this.connectionIsFailing()||this.connectionNeedsReauth()}render(){const{enabled:e,id:t,label:n,name:a,profilePicture:r}=this.props,s="connection-"+a+"-"+t,o=a.replace("_","-"),i=React.createElement(c.A,{id:s,className:d.A["connection-toggle"],checked:e,onChange:this.onConnectionChange,disabled:this.isDisabled(),serviceName:o,label:n,profilePicture:r});return React.createElement("li",null,this.maybeDisplayLinkedInNotice(),React.createElement("div",{className:d.A["connection-container"]},i))}}const m=(0,s.withSelect)((e=>({failedConnections:e(l.Af).getFailedConnections(),mustReauthConnections:e(l.Af).getMustReauthConnections()})))(p)},77125:(e,t,n)=>{"use strict";n.d(t,{l:()=>f});var a=n(51112),r=n(56427),s=n(47143),o=n(86087),i=n(27723),l=n(77627),c=n(50001),u=n(31963),d=n(50384),p=n(51371),m=n(51475),h=n(9515),g=n(71016);const __=i.__,_x=i._x,f=()=>{const{connections:e}=(0,c.A)(),t=e.filter((e=>"broken"===e.status||(0,d.Y)(e,"broken"))),{connectionsPageUrl:n}=(0,l.A)(),{useAdminUiV1:i}=(0,p.n)().feature_flags,{openConnectionsModal:f}=(0,s.useDispatch)(u.M_),v=i?React.createElement(a.A,{variant:"link",onClick:f,className:g.A["broken-connection-btn"]}):React.createElement(r.ExternalLink,{href:n}),b=(0,h.h)();if(!t.length)return null;const k=t.reduce(((e,t)=>(e[t.service_name]||(e[t.service_name]=[]),e[t.service_name].push(t),e)),{});return t.length>0&&React.createElement(m.A,{type:"error"},__("Your following connections need to be reconnected:","jetpack"),React.createElement("ul",null,Object.entries(k).map((([e,t])=>{const n=b(e);return React.createElement("li",{key:e},React.createElement("div",{className:g.A["broken-connection-service"]},React.createElement("span",null,n,_x(":","Colon to display before the list of connections","jetpack")," "),t.map((({display_name:e,external_display:n,id:a},r)=>React.createElement(o.Fragment,{key:a},React.createElement("span",{className:g.A["broken-connection"]},e||n),rconnections management section.",'"them" refers to the broken connections.',"jetpack"),{fixLink:v}))}},64636:(e,t,n)=>{"use strict";n.d(t,{D:()=>u});var a=n(97999),r=n(56427),s=n(27723),o=n(77627),i=n(50001),l=n(25349),c=n(71016);const __=s.__,u=()=>{const{hasConnections:e}=(0,i.A)(),{needsUserConnection:t}=(0,o.A)();return t?React.createElement(r.PanelRow,null,React.createElement("p",null,__("You must connect your WordPress.com account to be able to add social media connections.","jetpack")," ",React.createElement("a",{href:(0,a.getMyJetpackUrl)("#/connection")},__("Connect now","jetpack")))):e?null:React.createElement(r.PanelRow,null,React.createElement("p",null,React.createElement("span",{className:c.A["no-connections-text"]},__("Sharing is disabled because there are no social media accounts connected.","jetpack")),React.createElement(l.C,{label:__("Connect an account","jetpack")})))}},14993:(e,t,n)=>{"use strict";n.d(t,{E:()=>g});var a=n(85985),r=n(51609),s=n(77627),o=n(50001),i=n(10267),l=n(77125),c=n(57193),u=n(75013),d=n(25349),p=n(71016),m=n(50923),h=n(39329);const g=()=>{const{recordEvent:e}=(0,a.st)(),{connections:t,toggleById:n}=(0,o.A)(),{canBeTurnedOn:g,shouldBeDisabled:f}=(0,h.j)(),{needsUserConnection:v,isPublicizeEnabled:b}=(0,s.A)(),k=(0,r.useCallback)(((t,a)=>()=>{n(t),e("jetpack_social_connection_toggled",{location:"editor",enabled:!a.enabled,service_name:a.service_name})}),[e,n]);return React.createElement("div",null,React.createElement("ul",{className:p.A["connections-list"]},t.map((e=>{const{display_name:t,id:n,service_name:a,profile_picture:r,connection_id:s}=e,o=s||n;return React.createElement(i.A,{disabled:f(e),enabled:g(e)&&e.enabled,key:o,id:o,label:t,name:a,toggleConnection:k(o,e),profilePicture:r})}))),b?React.createElement(React.Fragment,null,React.createElement(u.L,null),React.createElement(l.l,null),React.createElement(m.Z,null),React.createElement(c.H,null)):null,v?null:React.createElement(d.C,{variant:"secondary"}))}},57193:(e,t,n)=>{"use strict";n.d(t,{H:()=>c});var a=n(56427),r=n(27723),s=n(77627),o=n(50001),i=n(71016),l=n(39329);const _n=r._n;function c(){const{enabledConnections:e}=(0,o.A)(),{isPublicizeEnabled:t}=(0,s.A)(),{canBeTurnedOn:n,shouldBeDisabled:c}=(0,l.j)(),u=e.filter((e=>n(e)&&!c(e)));return u.length&&t?React.createElement(a.PanelRow,null,React.createElement("p",{className:i.A["enabled-connections-notice"]},(0,r.sprintf)(/* translators: %d: number of connections */ -_n("This post will be shared to %d connection.","This post will be shared to %d connections.",u.length,"jetpack"),u.length))):null}},9573:(e,t,n)=>{"use strict";n.d(t,{X:()=>u});var a=n(3924),r=n(85985),s=n(56427),o=n(27723),i=n(70407),l=n(71016),c=n(647);const _x=o._x,u=()=>{const e=(0,c.X)();return(0,r.Sy)()||(0,r.d9)()||(0,i.hasSocialPaidFeatures)()?null:React.createElement(s.PanelRow,{className:l.A["enhanced-features-nudge"]},React.createElement(s.Button,{key:"upgrade",variant:"link",onClick:e,href:(0,a.A)("jetpack-social-basic-plan-block-editor",{site:(0,r.GE)()||"",query:"redirect_to="+encodeURIComponent(window.location.href)})},_x("Unlock enhanced media sharing features.","Call to action to buy a new plan","jetpack")))}},70925:(e,t,n)=>{"use strict";n.d(t,{A:()=>v});var a=n(56427),r=n(86087),s=n(7162),o=n(98420),i=n(54915),l=n(80624),c=n(52367),u=n(50001),d=n(48222),p=n(96390),m=n(64636),h=n(14993),g=n(9573),f=n(41190);function v(){const{hasConnections:e,hasEnabledConnections:t,connections:n}=(0,u.A)(),{isPublicizeEnabled:v,isPublicizeDisabledBySitePlan:b}=(0,s.usePublicizeConfig)(),{attachedMedia:k}=(0,o.A)(),y=(0,i.A)(),E=k[0]?.id||y,{validationErrors:w,isConvertible:_}=(0,c.A)(n,(0,l.A)(E)[0]),C=v&&(t||k.length>0||0!==Object.keys(w).length&&!_),A=b?a.Disabled:r.Fragment,{feature_flags:x}=(0,s.getSocialScriptData)();return React.createElement(A,null,x.useAdminUiV1?React.createElement(d._,null):null,e?React.createElement(React.Fragment,null,React.createElement(a.PanelRow,null,React.createElement(h.E,null)),x.useEditorPreview&&v?React.createElement(p.n,null):null,React.createElement(g.X,null)):null,React.createElement(m.D,null),!b&&React.createElement(r.Fragment,null,C&&React.createElement(f.o,{analyticsData:{location:"editor"}})))}},62697:(e,t,n)=>{"use strict";n.d(t,{q:()=>c});var a=n(3924),r=n(97999),s=n(56427),o=n(27723),i=n(27844),l=n(51475);const __=o.__,c=()=>(0,r.siteHasFeature)(i.q.ENHANCED_PUBLISHING)?React.createElement(l.A,{type:"warning"},__("To share to Instagram, add an image/video, or enable Social Image Generator.","jetpack"),React.createElement("br",null),React.createElement(s.ExternalLink,{href:(0,a.A)("jetpack-social-share-to-instagram")},__("Learn more","jetpack"))):React.createElement(l.A,{type:"warning"},__("You need a featured image to share to Instagram.","jetpack"),React.createElement("br",null),React.createElement(s.ExternalLink,{href:(0,a.A)("jetpack-social-share-to-instagram")},__("Learn more","jetpack")))},31099:(e,t,n)=>{"use strict";n.d(t,{j:()=>p});var a=n(3924),r=n(56427),s=n(47143),o=n(86087),i=n(27723),l=n(80682),c=n(31963),u=n(51475),d=n(9515);const __=i.__,_x=i._x,p=({validationErrors:e})=>{const{getConnectionById:t}=(0,s.useSelect)((e=>e(c.M_)),[]),n=(0,d.h)(),i=(0,o.useMemo)((()=>Object.entries(e).reduce(((e,[a,r])=>{if(!r)return e;e[r]||(e[r]=[]);const s=n(t(a)?.service_name);return s&&!e[r].includes(s)&&e[r].push(s),e}),{})),[t,n,e]);return React.createElement(u.A,{type:"warning"},React.createElement("p",null,__("The selected media cannot be share to some social media platforms.","jetpack")),React.createElement("ul",null,Object.entries(i).map((([e,t])=>t.length?React.createElement("li",{key:e},React.createElement("i",null,(0,l.$m)(e)),_x(":","Colon to display before the list of social media platforms","jetpack")+" ",t.map(((e,t,{length:n})=>React.createElement(o.Fragment,{key:e},React.createElement("b",null,e),t{"use strict";n.d(t,{L:()=>d});var a=n(98420),r=n(54915),s=n(80624),o=n(52367),i=n(80682),l=n(50001),c=n(62697),u=n(31099);const d=()=>{const{connections:e}=(0,l.A)(),{attachedMedia:t}=(0,a.A)(),n=(0,r.A)(),d=t[0]?.id||n,{validationErrors:p,isConvertible:m}=(0,o.A)(e,(0,s.A)(d)[0]);return Object.keys(p).length?Object.values(p).includes(i.k3)?React.createElement(c.q,null):m?null:React.createElement(u.j,{validationErrors:p}):null}},25349:(e,t,n)=>{"use strict";n.d(t,{C:()=>u});var a=n(56427),r=n(47143),s=n(27723),o=n(77627),i=n(31963),l=n(51371),c=n(71016);const __=s.__;function u({label:e,variant:t="primary"}){const{useAdminUiV1:n}=(0,l.n)().feature_flags,{connections:s}=(0,r.useSelect)((e=>({connections:e(i.M_).getConnections()})),[]),{openConnectionsModal:u}=(0,r.useDispatch)(i.M_),{connectionsPageUrl:d}=(0,o.A)(),p=e||__("Manage connections","jetpack"),m=s.length>0;return n?React.createElement(a.Button,{onClick:u,variant:m?"link":t,size:m?"default":"small",className:c.A["settings-button"]},p):React.createElement(a.ExternalLink,{className:c.A["settings-button"],href:d},p)}},41190:(e,t,n)=>{"use strict";n.d(t,{o:()=>l});var a=n(97999),r=n(39553),s=n(27844),o=n(12015),i=n(70694);const l=({analyticsData:e=null})=>{const{message:t,updateMessage:n,maxLength:l}=(0,r.A)();return React.createElement(React.Fragment,null,React.createElement(i.A,{maxLength:l,onChange:n,message:t,analyticsData:e}),(0,a.siteHasFeature)(s.q.ENHANCED_PUBLISHING)&&React.createElement(o.A,{analyticsData:e}))}},50923:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var a=n(56427),r=n(86087),s=n(27723),o=n(7162),i=n(50001),l=n(50384),c=n(51475);const __=s.__,u=()=>{const{connections:e}=(0,i.A)(),{connectionsPageUrl:t}=(0,o.usePublicizeConfig)();return e.filter((e=>(0,l.Y)(e,"unsupported"))).length>0&&React.createElement(c.A,{type:"error"},(0,r.createInterpolateElement)(__("Twitter is not supported anymore. Learn more here.","jetpack"),{moreInfo:React.createElement(a.ExternalLink,{href:t})}))}},647:(e,t,n)=>{"use strict";n.d(t,{X:()=>o});var a=n(47143),r=n(43656),s=n(86087);function o(){const{isEditedPostDirty:e}=(0,a.useSelect)(r.store,[]),{autosave:t}=(0,a.useDispatch)(r.store);return(0,s.useCallback)((async n=>{if(!(n.target instanceof HTMLAnchorElement))return;const a=n.target.getAttribute("target");e()&&!a&&(n.preventDefault(),await t(),window.location.href=n.target.href),a&&(n.preventDefault(),window.open(n.target.href,a,"noreferrer"))}),[t,e])}},39329:(e,t,n)=>{"use strict";n.d(t,{j:()=>p});var a=n(86087),r=n(51609),s=n(7162),o=n(98420),i=n(54915),l=n(80624),c=n(52367),u=n(80682),d=n(50001);const p=()=>{const{connections:e}=(0,d.A)(),{isPublicizeEnabled:t,isPublicizeDisabledBySitePlan:n}=(0,s.usePublicizeConfig)(),{attachedMedia:p}=(0,o.A)(),m=(0,i.A)(),h=p[0]?.id||m,{validationErrors:g,isConvertible:f}=(0,c.A)(e,(0,l.A)(h)[0]),v=(0,a.useCallback)((e=>{const{id:t,is_healthy:n,connection_id:a,status:r}=e,s=a||t,o=!1!==n&&"broken"!==r,i=void 0!==g[s]&&!f,l=g[s]===u.k3;return o&&!i&&!l}),[f,g]),b=(0,a.useCallback)((e=>!t||!v(e)),[v,t]),k=(0,a.useCallback)((e=>!n&&v(e)),[v,n]);return(0,r.useMemo)((()=>({shouldBeDisabled:b,canBeTurnedOn:k})),[b,k])}},56457:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>b});var a=n(50723),r=n(1455),s=n.n(r),o=n(56427),i=n(47143),l=n(43656),c=n(27723),u=n(13022),d=n(51609),p=n.n(d),m=n(49747),h=n(60548),g=n(74820);const __=c.__,_x=c._x,f="featured-image-still-loading",v=(e,t,n,a)=>{if("none"===e||"custom"===e&&!t||"featured"===(e??"featured")&&!n)return null;const r=a("custom"===e?t:n);return r?(e=>e?.media_details?.sizes?.large?.source_url||e?.source_url)(r):f};function b({shouldDebounce:e=!0,onNewToken:t,...n}){const[r,c]=(0,d.useState)(null),[b,k]=(0,d.useState)(!0),{customText:y,imageType:E,imageId:w,template:_,setToken:C}={...(0,m.A)(),...n},{title:A,imageUrl:x}=(0,i.useSelect)((e=>{const t=e(l.store).getEditedPostAttribute("featured_media");return{title:e(l.store).getEditedPostAttribute("title"),imageUrl:v(E,w,t,e("core").getMedia)}})),j=(0,d.useMemo)((()=>y||A||" "),[y,A]),S=(0,d.useRef)(j),N=(0,d.useRef)(r);(0,d.useEffect)((()=>{N.current=r})),(0,d.useEffect)((()=>{const n=setTimeout((async()=>{if(k(!0),x===f)return;const e=await s()({path:"/jetpack/v4/social-image-generator/generate-preview-token",method:"POST",data:{text:j,image_url:x,template:_}});C?.(e),t?.(e);const n=(0,g.S)(e);n!==N.current?c(n):k(!1)}),j!==S.current&&e?1500:0);return()=>{clearTimeout(n),S.current=j}}),[j,_,x,t]);const R=(0,d.useCallback)((()=>{k(!1)}),[]);return p().createElement(a.Ay,null,p().createElement(o.BaseControl,{__nextHasNoMarginBottom:!0},p().createElement(o.BaseControl.VisualLabel,null,_x("Preview","Heading for the generated preview image","jetpack")),p().createElement("div",{className:h.A.container},p().createElement("img",{className:(0,u.A)({[h.A.hidden]:b}),src:r,alt:__("Generated preview","jetpack"),onLoad:R}),b&&p().createElement(o.Spinner,{"data-testid":"spinner"}))))}},74820:(e,t,n)=>{"use strict";n.d(t,{S:()=>r});var a=n(3924);function r(e){return e?(0,a.A)("sigenerate",{query:`t=${e}`}):""}},47453:(e,t,n)=>{"use strict";n.d(t,{m:()=>s});var a=n(51371),r=n(7757);const s=()=>{const{feature_flags:e}=(0,a.n)();return React.createElement(React.Fragment,null,e.useShareStatus?React.createElement(r.Q3,null):null)}},59493:(e,t,n)=>{"use strict";n.d(t,{O:()=>g});var a=n(63406),r=n(51112),s=n(3924),o=n(56427),i=n(47143),l=n(86087),c=n(27723),u=n(51475),d=n(31963),p=n(39630),m=n(18973);const __=c.__,_x=c._x;function h({label:e,profile_picture:t}){return React.createElement("div",{className:m.A["account-info"]},t?React.createElement("img",{className:m.A["profile-pic"],src:t,alt:e}):null,React.createElement("span",null,e))}function g({keyringResult:e,onComplete:t,isAdmin:n}){const c=(0,p.o)(),{existingConnections:g,reconnectingAccount:f}=(0,i.useSelect)((e=>{const t=e(d.M_);return{existingConnections:t.getConnections(),reconnectingAccount:t.getReconnectingAccount()}}),[]),{createErrorNotice:v}=(0,a.I)(),b=c.find((t=>t.ID===e.service)),k=(0,l.useCallback)((e=>g.some((t=>t.service_name===b?.ID&&t.external_id===e))),[g,b.ID]),y=(0,l.useMemo)((()=>{const t=[],n=[];if(!b)return{connected:t,not_connected:n};const a=[];if(b.external_users_only||a.push({label:e.external_display||e.external_name,value:e.external_ID,profile_picture:e.external_profile_picture}),b.multiple_external_user_ID_support&&e.additional_external_users?.length)for(const t of e.additional_external_users)a.push({label:t.external_name,value:t.external_ID,profile_picture:t.external_profile_picture});for(const e of a)k(e.value)?t.push(e):n.push(e);return{connected:t,not_connected:n}}),[k,e,b]),{createConnection:E,setReconnectingAccount:w}=(0,i.useDispatch)(d.M_),_=(0,l.useCallback)((async n=>{n.preventDefault(),n.stopPropagation();const a=n.target,r=new FormData(a),s=r.get("external_user_ID");if(!s)return void v(__("Please select an account to connect.","jetpack"));const o={external_user_ID:b.multiple_external_user_ID_support?s:void 0,keyring_connection_ID:e.ID,shared:"1"===r.get("shared")||void 0},i=y.not_connected.find((e=>e.value===s));f&&w(void 0),E(o,{display_name:i?.label,profile_picture:i?.profile_picture,service_name:b.ID,external_id:s}),t()}),[E,f,w,v,e.ID,t,b.multiple_external_user_ID_support,b.ID,y.not_connected]);return React.createElement("section",{className:m.A.confirmation},y.not_connected.length?React.createElement("div",null,React.createElement("p",{className:m.A["header-text"]},__("Select the account you'd like to connect. All your new blog posts will be automatically shared to this account. You'll be able to change this option in the editor sidebar when you're writing a post.","jetpack")),e?.show_linkedin_warning&&React.createElement(u.A,{type:"warning"},React.createElement("p",null,__("We could not retrieve which company pages you have access to. This is a known issue with the LinkedIn API. If you would like to connect a company page, please retry after 5 minutes.","jetpack")," ",React.createElement(o.ExternalLink,{key:"linkedin-api-documentaion",href:(0,s.A)("jetpack-linkedin-permissions-warning")},__("Learn more","jetpack")))),React.createElement("form",{className:m.A.form,onSubmit:_,id:"connection-confirmation-form"},React.createElement("div",{className:m.A["accounts-list"]},y.not_connected.map(((e,t)=>{const n=f?f.service_name===b?.ID&&f.external_id===e.value:0===t;return React.createElement("label",{key:e.value,htmlFor:`external_user_ID__${e.value}`,className:m.A["account-label"],"aria-required":!0},React.createElement("input",{type:"radio",id:`external_user_ID__${e.value}`,name:"external_user_ID",value:e.value,defaultChecked:n,className:m.A["account-input"],required:!0}),React.createElement(h,{label:e.label,profile_picture:e.profile_picture}))}))),n?React.createElement(o.BaseControl,{__nextHasNoMarginBottom:!0,id:"mark-connection-as-shared",help:`${__("If enabled, the connection will be available to all administrators, editors, and authors.","jetpack")} ${__("You can change this later.","jetpack")}`},React.createElement(o.__experimentalHStack,{justify:"flex-start",spacing:3},React.createElement("span",null,React.createElement("input",{type:"checkbox",id:"mark-connection-as-shared",name:"shared",value:"1"})),React.createElement(o.FlexBlock,{as:"label",htmlFor:"mark-connection-as-shared"},__("Mark the connection as shared","jetpack")))):null,React.createElement("input",{type:"hidden",name:"keyring_connection_ID",value:e.ID}))):React.createElement("p",{className:m.A["header-text"]},y.connected.length?_x("No more accounts/pages found.","Message shown when there are no connections found to connect","jetpack"):__("No accounts/pages found.","jetpack")),y.connected.length?React.createElement("section",null,React.createElement("h3",null,__("Already connected","jetpack")),React.createElement("ul",null,y.connected.map(((e,t)=>React.createElement("li",{key:e.label+t},React.createElement(h,{label:e.label,profile_picture:e.profile_picture})))))):null,React.createElement("div",{className:m.A["submit-wrap"]},React.createElement(r.A,{variant:"secondary",onClick:t},__("Cancel","jetpack")),y.not_connected.length?React.createElement(r.A,{form:"connection-confirmation-form",type:"submit"},__("Confirm","jetpack")):null))}},48222:(e,t,n)=>{"use strict";n.d(t,{_:()=>b});var a=n(60442),r=n(47425),s=n(3924),o=n(50723),i=n(56427),l=n(3582),c=n(47143),u=n(86087),d=n(27723),p=n(13022),m=n(31963),h=n(78362),g=n(59493),f=n(73842);const __=d.__,_x=d._x,v=()=>{const{keyringResult:e}=(0,c.useSelect)((e=>{const{getKeyringResult:t}=e(m.M_);return{keyringResult:t()}}),[]),{setKeyringResult:t,closeConnectionsModal:n,setReconnectingAccount:o}=(0,c.useDispatch)(m.M_),[d]=(0,a.A)("sm"),v=(0,u.useCallback)((()=>{t(null),o(void 0),n()}),[n,t,o]),b=Boolean(e?.ID),k=b?__("Connection confirmation","jetpack"):_x("Manage Jetpack Social connections","","jetpack"),y=(0,c.useSelect)((e=>e(l.store).canUser("update","settings")),[]);return React.createElement(i.Modal,{className:(0,p.A)(f.A.modal,{[f.A.small]:d}),onRequestClose:v,title:k},b?React.createElement(g.O,{keyringResult:e,onComplete:v,isAdmin:y}):React.createElement(React.Fragment,null,React.createElement(h.b,null),React.createElement("div",{className:f.A["manual-share"]},React.createElement("em",null,React.createElement(r.Ay,null,__("Want to share to other networks? Use our Manual Sharing feature from the editor.","jetpack")," ",React.createElement(i.ExternalLink,{href:(0,s.A)("jetpack-social-manual-sharing-help")},__("Learn more","jetpack")))))))};function b(){const e=(0,c.useSelect)((e=>e(m.M_).isConnectionsModalOpen()),[]);return React.createElement(o.Ay,{targetDom:document.body},e?React.createElement(v,null):null)}},30642:(e,t,n)=>{"use strict";n.d(t,{F:()=>d});var a=n(50723),r=n(47425),s=n(40597),o=n(56427),i=n(27723),l=n(68541),c=n(34600),u=n(27681);const __=i.__;function d(e){return React.createElement(a.Ay,null,React.createElement("div",{className:u.A.wrapper},React.createElement(o.Flex,{align:"start",justify:"start"},React.createElement(r.Ay,{variant:"body-extra-small",className:u.A.title},__("Manual sharing","jetpack")),React.createElement(s.A,{inline:!1,shift:!0,iconSize:16,placement:"top-end"},React.createElement(c.P,e))),React.createElement(l.R,{buttonStyle:"icon"})))}},34600:(e,t,n)=>{"use strict";n.d(t,{P:()=>i});var a=n(47425),r=n(3924),s=n(56427),o=n(27723);const __=o.__;function i({...e}){return React.createElement(a.Ay,e,__('Just tap the social network or "Copy to Clipboard" icon, and we\'ll format your content for sharing.',"jetpack")," ",React.createElement(s.ExternalLink,{href:(0,r.A)("jetpack-social-manual-sharing-help")},__("Learn more","jetpack")))}},55858:(e,t,n)=>{"use strict";n.d(t,{A:()=>v});var a=n(51112),r=n(50723),s=n(94715),o=n(56427),i=n(86087),l=n(27723),c=n(51113),u=n(31249),d=n(13022),p=n(52367),m=n(2204),h=n(18699),g=n(97671);const __=l.__,f=e=>t=>{t.currentTarget.focus(),e()};function v({buttonLabel:e,subTitle:t,mediaId:n=null,mediaDetails:l={},onChange:v,wrapperClassName:b,allowedMediaTypes:k=null}){const{mediaData:{width:y,height:E,sourceUrl:w}={},metaData:{mime:_,length:C=null}={},previewData:{width:A,height:x,sourceUrl:j}={}}=l,S=!(w&&y&&E&&_),N=(0,i.useCallback)((()=>v(null)),[v]),R=(0,i.useCallback)((e=>{v(e)}),[v]),P=(0,i.useCallback)((e=>{const t=(0,p.c)(_);return t&&!C?null:React.createElement("div",{className:(0,d.A)(g.A["preview-wrapper"],b)},React.createElement("button",{className:g.A.remove,onClick:N},React.createElement(o.VisuallyHidden,null,__("Remove media","jetpack")),React.createElement(c.A,{icon:u.A})),React.createElement("button",{className:g.A.preview,onClick:f(e),"data-unstable-ignore-focus-outside-for-relatedtarget":".media-modal"},t?React.createElement(h.A,{sourceUrl:w,mime:_,duration:C}):React.createElement(o.ResponsiveWrapper,{naturalWidth:A||y,naturalHeight:x||E,isInline:!0},React.createElement("img",{src:j||w,alt:"",className:g.A["preview-image"]}))))}),[E,C,_,N,x,j,A,w,y,b]),L=(0,i.useCallback)((r=>React.createElement("div",{className:g.A.container},n?React.createElement(React.Fragment,null,React.createElement("button",{className:g.A["remove-loading"],onClick:N},React.createElement(o.VisuallyHidden,null,__("Remove media","jetpack")),React.createElement(c.A,{icon:u.A})),React.createElement(o.Spinner,{"data-testid":"spinner"})):React.createElement(React.Fragment,null,React.createElement(a.A,{variant:"secondary",size:"small",className:g.A.preview,onClick:f(r),"data-unstable-ignore-focus-outside-for-relatedtarget":".media-modal"},e),t&&React.createElement("span",null,t)))),[e,n,N,t]),T=(0,i.useCallback)((({open:e})=>n&&!S?P(e):L(e)),[n,S,P,L]);return React.createElement(r.Ay,null,React.createElement(s.MediaUploadCheck,null,React.createElement(s.MediaUpload,{allowedTypes:k??m.UB,title:e,onSelect:R,render:T,value:n})))}},12015:(e,t,n)=>{"use strict";n.d(t,{A:()=>f});var a=n(50723),r=n(3924),s=n(85985),o=n(56427),i=n(86087),l=n(27723),c=n(51609),u=n.n(c),d=n(98420),p=n(80624),m=n(55858),h=n(35270);const __=l.__,g=__("Choose Media","jetpack");function f({disabled:e=!1,disabledNoticeMessage:t="",CustomNotice:n=null,analyticsData:l}){const{attachedMedia:f,updateAttachedMedia:v}=(0,d.A)(),{recordEvent:b}=(0,s.st)(),[k]=(0,p.A)(f[0]?.id),y=(0,i.useCallback)((e=>{if(e){b("jetpack_social_media_attached",l);const{id:t,url:n,mime:a}=e;v([{id:t,url:n,type:a}])}else v([])}),[l,b,v]),E=e?o.Disabled:c.Fragment,w=e?{className:h.A.disabled,"data-testid":"disabled"}:{};return u().createElement(a.Ay,null,u().createElement(o.BaseControl,{__nextHasNoMarginBottom:!0,className:h.A.wrapper},u().createElement(o.BaseControl.VisualLabel,null,__("Attached Media","jetpack")),n||(t?u().createElement(o.Notice,{className:h.A.notice,isDismissible:!1,status:"warning"},u().createElement("p",{"data-testid":"notice"},t)):u().createElement("p",{className:h.A.subtitle},__("Choose a visual to accompany your post.","jetpack"))),u().createElement(E,w,u().createElement(m.A,{buttonLabel:g,subTitle:__("Add an image or video","jetpack"),mediaId:f[0]?.id,mediaDetails:k,onChange:y}),u().createElement(o.ExternalLink,{href:(0,r.A)("jetpack-social-media-support-information"),className:h.A["learn-more"]},__("Learn photo and video best practices","jetpack")))))}},70694:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var a=n(85985),r=n(56427),s=n(27723),o=n(51609);const __=s.__,_n=s._n;function i({message:e="",onChange:t,disabled:n,maxLength:i,analyticsData:l=null}){const{recordEvent:c}=(0,a.st)(),u=(0,o.useRef)(!0),d=i-e.length,p=(0,o.useCallback)((e=>{t(e),u.current&&(c("jetpack_social_custom_message_changed",l),u.current=!1)}),[l,u,t,c]);return React.createElement(r.TextareaControl,{value:e,label:__("Message","jetpack"),onChange:p,disabled:n,maxLength:i,placeholder:__("Write a custom message for your social audience here. This message will override your social post content.","jetpack"),rows:4,help:(0,s.sprintf)(/* translators: placeholder is a number. */ +_n("This post will be shared to %d connection.","This post will be shared to %d connections.",u.length,"jetpack"),u.length))):null}},9573:(e,t,n)=>{"use strict";n.d(t,{X:()=>u});var a=n(3924),r=n(85985),s=n(56427),o=n(27723),i=n(70407),l=n(71016),c=n(647);const _x=o._x,u=()=>{const e=(0,c.X)();return(0,r.Sy)()||(0,r.d9)()||(0,i.hasSocialPaidFeatures)()?null:React.createElement(s.PanelRow,{className:l.A["enhanced-features-nudge"]},React.createElement(s.Button,{key:"upgrade",variant:"link",onClick:e,href:(0,a.A)("jetpack-social-basic-plan-block-editor",{site:(0,r.GE)()||"",query:"redirect_to="+encodeURIComponent(window.location.href)})},_x("Unlock enhanced media sharing features.","Call to action to buy a new plan","jetpack")))}},70925:(e,t,n)=>{"use strict";n.d(t,{A:()=>v});var a=n(56427),r=n(86087),s=n(7162),o=n(98420),i=n(54915),l=n(80624),c=n(52367),u=n(50001),d=n(48222),p=n(96390),m=n(64636),h=n(14993),g=n(9573),f=n(41190);function v(){const{hasConnections:e,hasEnabledConnections:t,connections:n}=(0,u.A)(),{isPublicizeEnabled:v,isPublicizeDisabledBySitePlan:b}=(0,s.usePublicizeConfig)(),{attachedMedia:k}=(0,o.A)(),y=(0,i.A)(),E=k[0]?.id||y,{validationErrors:w,isConvertible:_}=(0,c.A)(n,(0,l.A)(E)[0]),C=v&&(t||k.length>0||0!==Object.keys(w).length&&!_),A=b?a.Disabled:r.Fragment,{feature_flags:x}=(0,s.getSocialScriptData)();return React.createElement(A,null,x.useAdminUiV1?React.createElement(d._,null):null,e?React.createElement(React.Fragment,null,React.createElement(a.PanelRow,null,React.createElement(h.E,null)),x.useEditorPreview&&v?React.createElement(p.n,null):null,React.createElement(g.X,null)):null,React.createElement(m.D,null),!b&&React.createElement(r.Fragment,null,C&&React.createElement(f.o,{analyticsData:{location:"editor"}})))}},62697:(e,t,n)=>{"use strict";n.d(t,{q:()=>c});var a=n(3924),r=n(97999),s=n(56427),o=n(27723),i=n(27844),l=n(51475);const __=o.__,c=()=>(0,r.siteHasFeature)(i.q.ENHANCED_PUBLISHING)?React.createElement(l.A,{type:"warning"},__("To share to Instagram, add an image/video, or enable Social Image Generator.","jetpack"),React.createElement("br",null),React.createElement(s.ExternalLink,{href:(0,a.A)("jetpack-social-share-to-instagram")},__("Learn more","jetpack"))):React.createElement(l.A,{type:"warning"},__("You need a featured image to share to Instagram.","jetpack"),React.createElement("br",null),React.createElement(s.ExternalLink,{href:(0,a.A)("jetpack-social-share-to-instagram")},__("Learn more","jetpack")))},31099:(e,t,n)=>{"use strict";n.d(t,{j:()=>p});var a=n(3924),r=n(56427),s=n(47143),o=n(86087),i=n(27723),l=n(80682),c=n(31963),u=n(51475),d=n(9515);const __=i.__,_x=i._x,p=({validationErrors:e})=>{const{getConnectionById:t}=(0,s.useSelect)((e=>e(c.M_)),[]),n=(0,d.h)(),i=(0,o.useMemo)((()=>Object.entries(e).reduce(((e,[a,r])=>{if(!r)return e;e[r]||(e[r]=[]);const s=n(t(a)?.service_name);return s&&!e[r].includes(s)&&e[r].push(s),e}),{})),[t,n,e]);return React.createElement(u.A,{type:"warning"},React.createElement("p",null,__("The selected media cannot be share to some social media platforms.","jetpack")),React.createElement("ul",null,Object.entries(i).map((([e,t])=>t.length?React.createElement("li",{key:e},React.createElement("i",null,(0,l.$m)(e)),_x(":","Colon to display before the list of social media platforms","jetpack")+" ",t.map(((e,t,{length:n})=>React.createElement(o.Fragment,{key:e},React.createElement("b",null,e),t{"use strict";n.d(t,{L:()=>d});var a=n(98420),r=n(54915),s=n(80624),o=n(52367),i=n(80682),l=n(50001),c=n(62697),u=n(31099);const d=()=>{const{connections:e}=(0,l.A)(),{attachedMedia:t}=(0,a.A)(),n=(0,r.A)(),d=t[0]?.id||n,{validationErrors:p,isConvertible:m}=(0,o.A)(e,(0,s.A)(d)[0]);return Object.keys(p).length?Object.values(p).includes(i.k3)?React.createElement(c.q,null):m?null:React.createElement(u.j,{validationErrors:p}):null}},25349:(e,t,n)=>{"use strict";n.d(t,{C:()=>u});var a=n(56427),r=n(47143),s=n(27723),o=n(77627),i=n(31963),l=n(51371),c=n(71016);const __=s.__;function u({label:e,variant:t="primary"}){const{useAdminUiV1:n}=(0,l.n)().feature_flags,{connections:s}=(0,r.useSelect)((e=>({connections:e(i.M_).getConnections()})),[]),{openConnectionsModal:u}=(0,r.useDispatch)(i.M_),{connectionsPageUrl:d}=(0,o.A)(),p=e||__("Manage connections","jetpack"),m=s.length>0;return n?React.createElement(a.Button,{onClick:u,variant:m?"link":t,size:m?"default":"small",className:c.A["settings-button"]},p):React.createElement(a.ExternalLink,{className:c.A["settings-button"],href:d},p)}},41190:(e,t,n)=>{"use strict";n.d(t,{o:()=>l});var a=n(97999),r=n(39553),s=n(27844),o=n(12015),i=n(70694);const l=({analyticsData:e=null})=>{const{message:t,updateMessage:n,maxLength:l}=(0,r.A)();return React.createElement(React.Fragment,null,React.createElement(i.A,{maxLength:l,onChange:n,message:t,analyticsData:e}),(0,a.siteHasFeature)(s.q.ENHANCED_PUBLISHING)&&React.createElement(o.A,{analyticsData:e}))}},50923:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var a=n(56427),r=n(86087),s=n(27723),o=n(7162),i=n(50001),l=n(50384),c=n(51475);const __=s.__,u=()=>{const{connections:e}=(0,i.A)(),{connectionsPageUrl:t}=(0,o.usePublicizeConfig)();return e.filter((e=>(0,l.Y)(e,"unsupported"))).length>0&&React.createElement(c.A,{type:"error"},(0,r.createInterpolateElement)(__("Twitter is not supported anymore. Learn more here.","jetpack"),{moreInfo:React.createElement(a.ExternalLink,{href:t})}))}},647:(e,t,n)=>{"use strict";n.d(t,{X:()=>o});var a=n(47143),r=n(43656),s=n(86087);function o(){const{isEditedPostDirty:e}=(0,a.useSelect)(r.store,[]),{autosave:t}=(0,a.useDispatch)(r.store);return(0,s.useCallback)((async n=>{if(!(n.target instanceof HTMLAnchorElement))return;const a=n.target.getAttribute("target");e()&&!a&&(n.preventDefault(),await t(),window.location.href=n.target.href),a&&(n.preventDefault(),window.open(n.target.href,a,"noreferrer"))}),[t,e])}},39329:(e,t,n)=>{"use strict";n.d(t,{j:()=>p});var a=n(86087),r=n(51609),s=n(7162),o=n(98420),i=n(54915),l=n(80624),c=n(52367),u=n(80682),d=n(50001);const p=()=>{const{connections:e}=(0,d.A)(),{isPublicizeEnabled:t,isPublicizeDisabledBySitePlan:n}=(0,s.usePublicizeConfig)(),{attachedMedia:p}=(0,o.A)(),m=(0,i.A)(),h=p[0]?.id||m,{validationErrors:g,isConvertible:f}=(0,c.A)(e,(0,l.A)(h)[0]),v=(0,a.useCallback)((e=>{const{id:t,is_healthy:n,connection_id:a,status:r}=e,s=a||t,o=!1!==n&&"broken"!==r,i=void 0!==g[s]&&!f,l=g[s]===u.k3;return o&&!i&&!l}),[f,g]),b=(0,a.useCallback)((e=>!t||!v(e)),[v,t]),k=(0,a.useCallback)((e=>!n&&v(e)),[v,n]);return(0,r.useMemo)((()=>({shouldBeDisabled:b,canBeTurnedOn:k})),[b,k])}},56457:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>b});var a=n(50723),r=n(1455),s=n.n(r),o=n(56427),i=n(47143),l=n(43656),c=n(27723),u=n(13022),d=n(51609),p=n.n(d),m=n(49747),h=n(60548),g=n(74820);const __=c.__,_x=c._x,f="featured-image-still-loading",v=(e,t,n,a)=>{if("none"===e||"custom"===e&&!t||"featured"===(e??"featured")&&!n)return null;const r=a("custom"===e?t:n);return r?(e=>e?.media_details?.sizes?.large?.source_url||e?.source_url)(r):f};function b({shouldDebounce:e=!0,onNewToken:t,...n}){const[r,c]=(0,d.useState)(null),[b,k]=(0,d.useState)(!0),{customText:y,imageType:E,imageId:w,template:_,setToken:C}={...(0,m.A)(),...n},{title:A,imageUrl:x}=(0,i.useSelect)((e=>{const t=e(l.store).getEditedPostAttribute("featured_media");return{title:e(l.store).getEditedPostAttribute("title"),imageUrl:v(E,w,t,e("core").getMedia)}})),j=(0,d.useMemo)((()=>y||A||" "),[y,A]),S=(0,d.useRef)(j),N=(0,d.useRef)(r);(0,d.useEffect)((()=>{N.current=r})),(0,d.useEffect)((()=>{const n=setTimeout((async()=>{if(k(!0),x===f)return;const e=await s()({path:"/jetpack/v4/social-image-generator/generate-preview-token",method:"POST",data:{text:j,image_url:x,template:_}});C?.(e),t?.(e);const n=(0,g.S)(e);n!==N.current?c(n):k(!1)}),j!==S.current&&e?1500:0);return()=>{clearTimeout(n),S.current=j}}),[j,_,x,t]);const R=(0,d.useCallback)((()=>{k(!1)}),[]);return p().createElement(a.Ay,null,p().createElement(o.BaseControl,{__nextHasNoMarginBottom:!0},p().createElement(o.BaseControl.VisualLabel,null,_x("Preview","Heading for the generated preview image","jetpack")),p().createElement("div",{className:h.A.container},p().createElement("img",{className:(0,u.A)({[h.A.hidden]:b}),src:r,alt:__("Generated preview","jetpack"),onLoad:R}),b&&p().createElement(o.Spinner,{"data-testid":"spinner"}))))}},74820:(e,t,n)=>{"use strict";n.d(t,{S:()=>r});var a=n(3924);function r(e){return e?(0,a.A)("sigenerate",{query:`t=${e}`}):""}},47453:(e,t,n)=>{"use strict";n.d(t,{m:()=>s});var a=n(51371),r=n(7757);const s=()=>{const{feature_flags:e}=(0,a.n)();return React.createElement(React.Fragment,null,e.useShareStatus?React.createElement(r.Q3,null):null)}},59493:(e,t,n)=>{"use strict";n.d(t,{O:()=>g});var a=n(63406),r=n(3924),s=n(51112),o=n(56427),i=n(47143),l=n(86087),c=n(27723),u=n(51475),d=n(31963),p=n(39630),m=n(18973);const __=c.__,_x=c._x;function h({label:e,profile_picture:t}){return React.createElement("div",{className:m.A["account-info"]},t?React.createElement("img",{className:m.A["profile-pic"],src:t,alt:e}):null,React.createElement("span",null,e))}function g({keyringResult:e,onComplete:t,isAdmin:n}){const c=(0,p.o)(),{existingConnections:g,reconnectingAccount:f}=(0,i.useSelect)((e=>{const t=e(d.M_);return{existingConnections:t.getConnections(),reconnectingAccount:t.getReconnectingAccount()}}),[]),{createErrorNotice:v}=(0,a.I)(),b=c.find((t=>t.ID===e.service)),k=(0,l.useCallback)((e=>g.some((t=>t.service_name===b?.ID&&t.external_id===e))),[g,b.ID]),y=(0,l.useMemo)((()=>{const t=[],n=[];if(!b)return{connected:t,not_connected:n};const a=[];if(b.external_users_only||a.push({label:e.external_display||e.external_name,value:e.external_ID,profile_picture:e.external_profile_picture}),b.multiple_external_user_ID_support&&e.additional_external_users?.length)for(const t of e.additional_external_users)a.push({label:t.external_name,value:t.external_ID,profile_picture:t.external_profile_picture});for(const e of a)k(e.value)?t.push(e):n.push(e);return{connected:t,not_connected:n}}),[k,e,b]),{createConnection:E,setReconnectingAccount:w}=(0,i.useDispatch)(d.M_),_=(0,l.useCallback)((async n=>{n.preventDefault(),n.stopPropagation();const a=n.target,r=new FormData(a),s=r.get("external_user_ID");if(!s)return void v(__("Please select an account to connect.","jetpack"));const o={external_user_ID:b.multiple_external_user_ID_support?s:void 0,keyring_connection_ID:e.ID,shared:"1"===r.get("shared")||void 0},i=y.not_connected.find((e=>e.value===s));f&&w(void 0),E(o,{display_name:i?.label,profile_picture:i?.profile_picture,service_name:b.ID,external_id:s}),t()}),[E,f,w,v,e.ID,t,b.multiple_external_user_ID_support,b.ID,y.not_connected]);return React.createElement("section",{className:m.A.confirmation},y.not_connected.length?React.createElement("div",null,React.createElement("p",{className:m.A["header-text"]},__("Select the account you'd like to connect. All your new blog posts will be automatically shared to this account. You'll be able to change this option in the editor sidebar when you're writing a post.","jetpack")),e?.show_linkedin_warning&&React.createElement(u.A,{type:"warning"},React.createElement("p",null,__("We could not retrieve which company pages you have access to. This is a known issue with the LinkedIn API. If you would like to connect a company page, please retry after 5 minutes.","jetpack")," ",React.createElement(o.ExternalLink,{key:"linkedin-api-documentaion",href:(0,r.A)("jetpack-linkedin-permissions-warning")},__("Learn more","jetpack")))),React.createElement("form",{className:m.A.form,onSubmit:_,id:"connection-confirmation-form"},React.createElement("div",{className:m.A["accounts-list"]},y.not_connected.map(((e,t)=>{const n=f?f.service_name===b?.ID&&f.external_id===e.value:0===t;return React.createElement("label",{key:e.value,htmlFor:`external_user_ID__${e.value}`,className:m.A["account-label"],"aria-required":!0},React.createElement("input",{type:"radio",id:`external_user_ID__${e.value}`,name:"external_user_ID",value:e.value,defaultChecked:n,className:m.A["account-input"],required:!0}),React.createElement(h,{label:e.label,profile_picture:e.profile_picture}))}))),n?React.createElement(o.BaseControl,{__nextHasNoMarginBottom:!0,id:"mark-connection-as-shared",help:`${__("If enabled, the connection will be available to all administrators, editors, and authors.","jetpack")} ${__("You can change this later.","jetpack")}`},React.createElement(o.__experimentalHStack,{justify:"flex-start",spacing:3},React.createElement("span",null,React.createElement("input",{type:"checkbox",id:"mark-connection-as-shared",name:"shared",value:"1"})),React.createElement(o.FlexBlock,{as:"label",htmlFor:"mark-connection-as-shared"},__("Mark the connection as shared","jetpack")))):null,React.createElement("input",{type:"hidden",name:"keyring_connection_ID",value:e.ID}))):React.createElement("p",{className:m.A["header-text"]},y.connected.length?_x("No more accounts/pages found.","Message shown when there are no connections found to connect","jetpack"):__("No accounts/pages found.","jetpack")),y.connected.length?React.createElement("section",null,React.createElement("h3",null,__("Already connected","jetpack")),React.createElement("ul",null,y.connected.map(((e,t)=>React.createElement("li",{key:e.label+t},React.createElement(h,{label:e.label,profile_picture:e.profile_picture})))))):null,React.createElement("div",{className:m.A["submit-wrap"]},React.createElement(s.A,{variant:"secondary",onClick:t},__("Cancel","jetpack")),y.not_connected.length?React.createElement(s.A,{form:"connection-confirmation-form",type:"submit"},__("Confirm","jetpack")):null))}},48222:(e,t,n)=>{"use strict";n.d(t,{_:()=>b});var a=n(60442),r=n(47425),s=n(3924),o=n(50723),i=n(56427),l=n(3582),c=n(47143),u=n(86087),d=n(27723),p=n(13022),m=n(31963),h=n(78362),g=n(59493),f=n(73842);const __=d.__,_x=d._x,v=()=>{const{keyringResult:e}=(0,c.useSelect)((e=>{const{getKeyringResult:t}=e(m.M_);return{keyringResult:t()}}),[]),{setKeyringResult:t,closeConnectionsModal:n,setReconnectingAccount:o}=(0,c.useDispatch)(m.M_),[d]=(0,a.A)("sm"),v=(0,u.useCallback)((()=>{t(null),o(void 0),n()}),[n,t,o]),b=Boolean(e?.ID),k=b?__("Connection confirmation","jetpack"):_x("Manage Jetpack Social connections","","jetpack"),y=(0,c.useSelect)((e=>e(l.store).canUser("update","settings")),[]);return React.createElement(i.Modal,{className:(0,p.A)(f.A.modal,{[f.A.small]:d}),onRequestClose:v,title:k},b?React.createElement(g.O,{keyringResult:e,onComplete:v,isAdmin:y}):React.createElement(React.Fragment,null,React.createElement(h.b,null),React.createElement("div",{className:f.A["manual-share"]},React.createElement("em",null,React.createElement(r.Ay,null,__("Want to share to other networks? Use our Manual Sharing feature from the editor.","jetpack")," ",React.createElement(i.ExternalLink,{href:(0,s.A)("jetpack-social-manual-sharing-help")},__("Learn more","jetpack")))))))};function b(){const e=(0,c.useSelect)((e=>e(m.M_).isConnectionsModalOpen()),[]);return React.createElement(o.Ay,{targetDom:document.body},e?React.createElement(v,null):null)}},30642:(e,t,n)=>{"use strict";n.d(t,{F:()=>d});var a=n(50723),r=n(47425),s=n(40597),o=n(56427),i=n(27723),l=n(68541),c=n(34600),u=n(27681);const __=i.__;function d(e){return React.createElement(a.Ay,null,React.createElement("div",{className:u.A.wrapper},React.createElement(o.Flex,{align:"start",justify:"start"},React.createElement(r.Ay,{variant:"body-extra-small",className:u.A.title},__("Manual sharing","jetpack")),React.createElement(s.A,{inline:!1,shift:!0,iconSize:16,placement:"top-end"},React.createElement(c.P,e))),React.createElement(l.R,{buttonStyle:"icon"})))}},34600:(e,t,n)=>{"use strict";n.d(t,{P:()=>i});var a=n(47425),r=n(3924),s=n(56427),o=n(27723);const __=o.__;function i({...e}){return React.createElement(a.Ay,e,__('Just tap the social network or "Copy to Clipboard" icon, and we\'ll format your content for sharing.',"jetpack")," ",React.createElement(s.ExternalLink,{href:(0,r.A)("jetpack-social-manual-sharing-help")},__("Learn more","jetpack")))}},55858:(e,t,n)=>{"use strict";n.d(t,{A:()=>v});var a=n(51112),r=n(50723),s=n(94715),o=n(56427),i=n(86087),l=n(27723),c=n(51113),u=n(31249),d=n(13022),p=n(52367),m=n(2204),h=n(18699),g=n(97671);const __=l.__,f=e=>t=>{t.currentTarget.focus(),e()};function v({buttonLabel:e,subTitle:t,mediaId:n=null,mediaDetails:l={},onChange:v,wrapperClassName:b,allowedMediaTypes:k=null}){const{mediaData:{width:y,height:E,sourceUrl:w}={},metaData:{mime:_,length:C=null}={},previewData:{width:A,height:x,sourceUrl:j}={}}=l,S=!(w&&y&&E&&_),N=(0,i.useCallback)((()=>v(null)),[v]),R=(0,i.useCallback)((e=>{v(e)}),[v]),P=(0,i.useCallback)((e=>{const t=(0,p.c)(_);return t&&!C?null:React.createElement("div",{className:(0,d.A)(g.A["preview-wrapper"],b)},React.createElement("button",{className:g.A.remove,onClick:N},React.createElement(o.VisuallyHidden,null,__("Remove media","jetpack")),React.createElement(c.A,{icon:u.A})),React.createElement("button",{className:g.A.preview,onClick:f(e),"data-unstable-ignore-focus-outside-for-relatedtarget":".media-modal"},t?React.createElement(h.A,{sourceUrl:w,mime:_,duration:C}):React.createElement(o.ResponsiveWrapper,{naturalWidth:A||y,naturalHeight:x||E,isInline:!0},React.createElement("img",{src:j||w,alt:"",className:g.A["preview-image"]}))))}),[E,C,_,N,x,j,A,w,y,b]),L=(0,i.useCallback)((r=>React.createElement("div",{className:g.A.container},n?React.createElement(React.Fragment,null,React.createElement("button",{className:g.A["remove-loading"],onClick:N},React.createElement(o.VisuallyHidden,null,__("Remove media","jetpack")),React.createElement(c.A,{icon:u.A})),React.createElement(o.Spinner,{"data-testid":"spinner"})):React.createElement(React.Fragment,null,React.createElement(a.A,{variant:"secondary",size:"small",className:g.A.preview,onClick:f(r),"data-unstable-ignore-focus-outside-for-relatedtarget":".media-modal"},e),t&&React.createElement("span",null,t)))),[e,n,N,t]),T=(0,i.useCallback)((({open:e})=>n&&!S?P(e):L(e)),[n,S,P,L]);return React.createElement(r.Ay,null,React.createElement(s.MediaUploadCheck,null,React.createElement(s.MediaUpload,{allowedTypes:k??m.UB,title:e,onSelect:R,render:T,value:n})))}},12015:(e,t,n)=>{"use strict";n.d(t,{A:()=>f});var a=n(50723),r=n(3924),s=n(85985),o=n(56427),i=n(86087),l=n(27723),c=n(51609),u=n.n(c),d=n(98420),p=n(80624),m=n(55858),h=n(35270);const __=l.__,g=__("Choose Media","jetpack");function f({disabled:e=!1,disabledNoticeMessage:t="",CustomNotice:n=null,analyticsData:l}){const{attachedMedia:f,updateAttachedMedia:v}=(0,d.A)(),{recordEvent:b}=(0,s.st)(),[k]=(0,p.A)(f[0]?.id),y=(0,i.useCallback)((e=>{if(e){b("jetpack_social_media_attached",l);const{id:t,url:n,mime:a}=e;v([{id:t,url:n,type:a}])}else v([])}),[l,b,v]),E=e?o.Disabled:c.Fragment,w=e?{className:h.A.disabled,"data-testid":"disabled"}:{};return u().createElement(a.Ay,null,u().createElement(o.BaseControl,{__nextHasNoMarginBottom:!0,className:h.A.wrapper},u().createElement(o.BaseControl.VisualLabel,null,__("Attached Media","jetpack")),n||(t?u().createElement(o.Notice,{className:h.A.notice,isDismissible:!1,status:"warning"},u().createElement("p",{"data-testid":"notice"},t)):u().createElement("p",{className:h.A.subtitle},__("Choose a visual to accompany your post.","jetpack"))),u().createElement(E,w,u().createElement(m.A,{buttonLabel:g,subTitle:__("Add an image or video","jetpack"),mediaId:f[0]?.id,mediaDetails:k,onChange:y}),u().createElement(o.ExternalLink,{href:(0,r.A)("jetpack-social-media-support-information"),className:h.A["learn-more"]},__("Learn photo and video best practices","jetpack")))))}},70694:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var a=n(85985),r=n(56427),s=n(27723),o=n(51609);const __=s.__,_n=s._n;function i({message:e="",onChange:t,disabled:n,maxLength:i,analyticsData:l=null}){const{recordEvent:c}=(0,a.st)(),u=(0,o.useRef)(!0),d=i-e.length,p=(0,o.useCallback)((e=>{t(e),u.current&&(c("jetpack_social_custom_message_changed",l),u.current=!1)}),[l,u,t,c]);return React.createElement(r.TextareaControl,{value:e,label:__("Message","jetpack"),onChange:p,disabled:n,maxLength:i,placeholder:__("Write a custom message for your social audience here. This message will override your social post content.","jetpack"),rows:4,help:(0,s.sprintf)(/* translators: placeholder is a number. */ _n("%d character remaining","%d characters remaining",d,"jetpack"),d),__nextHasNoMarginBottom:!0})}},51475:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});var a=n(56427),r=n(27723),s=n(51113),o=n(31249),i=n(13022),l=n(28120),c=n.n(l),u=n(93794);const __=r.__,d=({children:e,type:t="default",actions:n=[],onDismiss:r})=>{const l=(0,i.A)(u.A.notice,u.A[`notice--${t}`]);return React.createElement("div",{className:l},React.createElement("div",{className:u.A.content}," ",e," "),r&&React.createElement("button",{className:u.A.dismiss,onClick:r},React.createElement(a.VisuallyHidden,null,__("Dismiss notice","jetpack")),React.createElement(s.A,{icon:o.A})),n&&n.length>0&&React.createElement("div",{className:u.A.actions},n.map((e=>e))))};d.propTypes={children:c().node.isRequired,type:c().oneOf(["default","highlight","warning","error"]),actions:c().arrayOf(c().element),onDismiss:c().func};const p=d},66561:(e,t,n)=>{"use strict";n.d(t,{A:()=>b});var a=n(56427),r=n(47143),s=n(43656),o=n(86087),i=n(27723),l=n(77627),c=n(88584),u=n(49036),d=n(50001),p=n(51371),m=n(70925),h=n(30642),g=n(51353),f=n(1101),v=n(87170);const __=i.__,b=({prePublish:e,children:t})=>{const{refresh:n,hasConnections:i,hasEnabledConnections:b}=(0,d.A)(),k=(0,r.useSelect)((e=>e(s.store).isCurrentPostPublished()),[]),{feature_flags:y}=(0,p.n)(),E=(0,c.A)(),{isPublicizeEnabled:w,hidePublicizeFeature:_,togglePublicizeFeature:C}=(0,l.A)();(0,u._D)((function(){b&&n()}),[b,n]);const A=e?o.Fragment:a.PanelBody,x=e?{}:{title:__("Share this post","jetpack"),className:v.A.panel};return E(),React.createElement(A,x,t,!_&&React.createElement(o.Fragment,null,!k&&React.createElement(a.ToggleControl,{label:w?__("Share when publishing","jetpack"):__("Sharing is disabled","jetpack",0),onChange:C,checked:w&&i,disabled:!i,__nextHasNoMarginBottom:!0}),React.createElement(m.A,null),React.createElement(f.O,null)),k&&React.createElement(React.Fragment,null,y.useShareStatus?React.createElement(g.E,null):null,React.createElement(h.F,null)))}},65843:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var a=n(85985),r=n(47143),s=n(14309),o=n(43656),i=n(27723),l=n(34600),c=n(68541),u=n(5780);const __=i.__;function d(){const{isCurrentPostPublished:e}=(0,r.useSelect)((e=>e(o.store)),[]);return e()?React.createElement(s.PluginPostPublishPanel,{initialOpen:!0,title:__("Manual sharing","jetpack"),id:"publicize-manual-sharing",icon:React.createElement(a.jt,null)},React.createElement(l.P,{className:u.A.description,variant:"body-small"}),React.createElement(c.R,null)):null}},26029:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var a=n(50723),r=n(65843),s=n(39691),o=n(89640);const i=()=>React.createElement(a.Ay,{targetDom:document.body},React.createElement(o.p,null),React.createElement(r.A,null),React.createElement(s.A,null))},39691:(e,t,n)=>{"use strict";n.d(t,{A:()=>m});var a=n(3924),r=n(85985),s=n(1455),o=n.n(s),i=n(14309),l=n(86087),c=n(77627),u=n(49036),d=n(50001),p=n(25300);const m=()=>{const[e,t]=(0,l.useState)((0,r.$i)()?.social?.reviewRequestDismissed??!0),[n,s]=(0,l.useState)(!1),{hasEnabledConnections:m}=(0,d.A)(),{isPublicizeEnabled:h,isPostAlreadyShared:g}=(0,c.A)();(0,u.Wv)((()=>{s(!g&&h&&m)}),[g,m,h]);const f=(0,l.useCallback)((()=>{const e=(0,r.$i)()?.social?.dismissReviewRequestPath??null;o()({path:e,method:"POST",data:{dismissed:!0}}).catch((e=>{throw e})),t(!0)}),[]);return e||!n?null:React.createElement(i.PluginPostPublishPanel,{id:"publicize-title"},React.createElement(p.A,{href:(0,a.A)("jetpack-social-plugin-reviews"),onClose:f}))}},89640:(e,t,n)=>{"use strict";n.d(t,{p:()=>m});var a=n(47143),r=n(14309),s=n(43656),o=n(92214),i=n(383),l=n(57275),c=n(49036),u=n(31963),d=n(51371),p=n(79594);function m(){const{isPublicizeEnabled:e}=(0,i.h)(),{pollForPostShareStatus:t}=(0,a.useDispatch)(u.M_),{feature_flags:n}=(0,d.n)(),{isPostPublished:m}=(0,a.useSelect)((e=>({isPostPublished:e(s.store).isCurrentPostPublished()})),[]),h=(0,l.z)((0,o.P)()),g=(0,l.z)((0,a.useSelect)((e=>e(u.M_).getEnabledConnections()),[])),f=e&&g.length>0&&h,v=n.useShareStatus&&f&&m;return(0,c._D)((()=>{v&&t({isRequestComplete:({postShareStatus:e})=>e.done})}),[v]),v?React.createElement(r.PluginPostPublishPanel,{id:"publicize-share-status"},React.createElement(p.q,null)):null}},79594:(e,t,n)=>{"use strict";n.d(t,{q:()=>u});var a=n(56427),r=n(47143),s=n(27723),o=n(31963),i=n(51475),l=n(7757),c=n(55387);const __=s.__,_n=s._n;function u({reShareTimestamp:e}){const t=(0,r.useSelect)((e=>e(o.M_).getPostShareStatus()),[]),n=e?t.shares.filter((t=>t.timestamp>e)):t.shares;if(t.polling)return React.createElement("div",{className:c.A["loading-block"]},React.createElement(a.Spinner,null),React.createElement("span",{className:c.A["loading-text"]},__("Sharing to your social media…","jetpack")));const u=n.filter((e=>"failure"===e.status)).length;return u>0?React.createElement(i.A,{type:"warning"},React.createElement("p",null,(0,s.sprintf)(/* translators: %d: number of failed shares */ _n("Your post was unable to be shared to %d connection.","Your post was unable to be shared to %d connections.",u,"jetpack"),u)),React.createElement(l.JU,{variant:"link",analyticsData:{location:"post-publish-panel"}},__("Review status and try again","jetpack"))):t.done?n.length?React.createElement(React.Fragment,null,React.createElement("b",null,__("Your post was shared.","jetpack"))," ","🎉",React.createElement("p",null,(0,s.sprintf)(/* translators: %d: number of connections to which a post was shared */ _n("You post was successfuly shared to %d connection.","You post was successfuly shared to %d connections.",n.length,"jetpack"),n.length)),React.createElement(l.JU,{analyticsData:{location:e?"resharing-section":"post-publish-panel"}})):React.createElement("span",null,__("Your post was not shared.","jetpack")):React.createElement("span",null,__("The request to share your post is still in progress.","jetpack")," ",__("Please refresh and check again in a few minutes.","jetpack"))}},51353:(e,t,n)=>{"use strict";n.d(t,{E:()=>c});var a=n(47143),r=n(51609),s=n(31963),o=n(79594),i=n(7757),l=n(61420);const c=()=>{const e=(0,a.useSelect)((e=>e(s.M_).getPostShareStatus()),[]),[t,n]=(0,r.useState)(null);return(0,r.useEffect)((()=>{e.polling&&n(Date.now()/1e3)}),[e.polling]),t?React.createElement("div",{className:l.A.wrapper},React.createElement(o.q,{reShareTimestamp:t})):React.createElement(i.JU,{withWrapper:!0,analyticsData:{location:"editor"}})}},25300:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var a=n(50723),r=n(51112),s=n(85985),o=n(27723),i=n(51609),l=n(76445);const __=o.__,c=({href:e,onClose:t})=>{const{recordEvent:n}=(0,s.st)({pageViewEventName:"social_plugin_review_prompt",pageViewNamespace:"jetpack",pageViewSuffix:"view"}),c=(0,i.useCallback)((()=>{n("jetpack_social_plugin_review_prompt_new_review_click")}),[n]),u=(0,i.useCallback)((()=>{n("jetpack_social_plugin_review_prompt_dismiss_click"),t()}),[n,t]);return React.createElement(a.Ay,null,React.createElement("div",{className:l.A.prompt},React.createElement("h2",{className:l.A.header},(0,o.sprintf)(/* translators: %s is the celebration emoji */ @@ -20,7 +20,7 @@ __("Presto! %s","jetpack"),String.fromCodePoint(127881))),React.createElement("p __("%d connections","jetpack"),e.length):__("Connected","jetpack"))}},78362:(e,t,n)=>{"use strict";n.d(t,{b:()=>l});var a=n(47143),r=n(31963),s=n(59008),o=n(42475),i=n(39630);function l(){const e=(0,i.o)(),t=(0,a.useSelect)((e=>e(r.M_).getConnections().reduce(((e,t)=>(e[t.service_name]||(e[t.service_name]=[]),e[t.service_name].push(t),e)),{})),[]),n=(0,a.useSelect)((e=>e(r.M_).getReconnectingAccount()),[]);return React.createElement("ul",{className:o.A.services},e.map((e=>React.createElement("li",{key:e.ID,className:o.A["service-list-item"]},React.createElement(s.j,{service:e,serviceConnections:t[e.ID]||[],isPanelDefaultOpen:n?.service_name===e.ID})))))}},70745:(e,t,n)=>{"use strict";n.d(t,{P:()=>u});var a=n(63406),r=n(47143),s=n(86087),o=n(27723),i=n(31963),l=n(70407);const __=o.__,c=e=>/^@?\b([A-Z0-9_]+)@([A-Z0-9.-]+\.[A-Z]{2,})$/gi.test(e);function u({service:e,onConfirm:t}){const{createErrorNotice:n}=(0,a.I)(),o=(0,r.useSelect)((e=>e(i.M_).isMastodonAccountAlreadyConnected),[]),u=(0,r.useSelect)((e=>e(i.M_).isBlueskyAccountAlreadyConnected),[]);return(0,s.useCallback)((a=>{const r=new URL(e.connect_URL);switch(e.ID){case"mastodon":{const e=a.get("instance").toString().trim();if(!c(e))return void n(__("Invalid Mastodon username","jetpack"));if(o?.(e))return void n(__("This Mastodon account is already connected","jetpack"));r.searchParams.set("instance",e);break}case"bluesky":{const e=(a.get("handle")?.toString()||"").trim().replace(/^@/,"");if(!function(e){const t=e.split(".").filter(Boolean);return!(t.length<2)&&t.every((e=>/^[a-z0-9_-]+$/i.test(e)))}(e))return void n(__("Invalid Bluesky handle","jetpack"));if(u?.(e))return void n(__("This Bluesky account is already connected","jetpack"));r.searchParams.set("handle",e),r.searchParams.set("app_password",(a.get("app_password")?.toString()||"").trim());break}}(0,l.requestExternalAccess)(r.toString(),t)}),[n,u,o,t,e.ID,e.connect_URL])}},9515:(e,t,n)=>{"use strict";n.d(t,{h:()=>s});var a=n(51609),r=n(48712);function s(){const e=(0,r.h)();return(0,a.useCallback)((t=>e(t)?.label||t[0].toUpperCase()+t.substring(1)),[e])}},48712:(e,t,n)=>{"use strict";n.d(t,{h:()=>s});var a=n(51609),r=n(39630);function s(){const e=(0,r.o)(),t=(0,a.useMemo)((()=>e.reduce(((e,t)=>(e[t.ID]=t,e)),{})),[e]);return(0,a.useCallback)((e=>t[e]),[t])}},39630:(e,t,n)=>{"use strict";n.d(t,{o:()=>f});var a=n(96072),r=n.n(a),s=n(78478),o=n(56427),i=n(86087),l=n(27723),c=n(30081),u=n(26818),d=n(43443),p=n(11326),m=n(65398),h=n(9791),g=n(51371);const __=l.__;function f(){const e=(0,i.useMemo)((()=>{const{supported_services:e}=(0,g.n)();return e.reduce(((e,t)=>({...e,[t.ID]:t})),{})}),[]),t={text:__("New","jetpack"),style:{background:"#e9eff5",color:"#0675C4"}};return[{...e.facebook,icon:e=>React.createElement(s.M5,r()({serviceName:"facebook"},e)),description:__("Share to your pages","jetpack"),examples:[()=>React.createElement(React.Fragment,null,(0,i.createInterpolateElement)(__("Connect to automatically share posts on your Facebook page.","jetpack"),{strong:React.createElement("strong",null)})),()=>React.createElement("img",{src:c,alt:__("Add Facebook connection","jetpack")})]},{...e["instagram-business"],icon:e=>React.createElement(s.M5,r()({serviceName:"instagram"},e)),description:__("Share to your Instagram Business account.","jetpack"),examples:[()=>React.createElement(React.Fragment,null,__("Drive engagement and save time by automatically sharing images to Instagram when you publish blog posts.","jetpack"),React.createElement("div",{className:"instagram-business__requirements"},React.createElement("h4",null,__("Requirements for connecting Instagram:","jetpack")),React.createElement("ol",null,React.createElement("li",null,__("You must have an Instagram Business account.","jetpack")),React.createElement("li",null,__("Your Instagram Business account must be linked to a Facebook page.","jetpack")))),(0,i.createInterpolateElement)(__("When you click “connect” you'll be asked to log into Facebook. If your Instagram Business account isn't listed, ensure it's linked to a Facebook page.","jetpack"),{strong:React.createElement("strong",null),i:React.createElement("em",null)}),React.createElement("br",null),React.createElement("br",null),React.createElement(o.ExternalLink,{className:"instagram-business__help-link",href:"https://jetpack.com/redirect/?source=jetpack-social-instagram-business-help"},__("Learn how to convert & link your Instagram account.","jetpack"))),()=>React.createElement("img",{src:u,alt:__("Add Instagram photo","jetpack")})]},{...e.threads,icon:e=>React.createElement(s.M5,r()({serviceName:"threads"},e)),description:__("Share posts to your Threads feed.","jetpack"),examples:[()=>React.createElement(React.Fragment,null,__("Increase your presence in social media by sharing your posts automatically to Threads.","jetpack")),()=>React.createElement("img",{src:m,alt:__("Add Threads connection","jetpack")})]},{...e.bluesky,needsCustomInputs:!0,icon:e=>React.createElement(s.M5,r()({serviceName:"bluesky"},e)),badges:[t],description:__("Share with your network.","jetpack"),examples:[()=>React.createElement(React.Fragment,null,__("To share to Bluesky please enter your Bluesky handle and app password below, then click connect.","jetpack"))]},{...e.linkedin,icon:e=>React.createElement(s.M5,r()({serviceName:"linkedin"},e)),description:__("Share with your LinkedIn community.","jetpack"),examples:[()=>React.createElement(React.Fragment,null,(0,i.createInterpolateElement)(__("Connect to automatically share posts with your LinkedIn connections.","jetpack"),{strong:React.createElement("strong",null)})),()=>React.createElement("img",{src:d,alt:__("Add LinkedIn connection","jetpack")})]},{...e.nextdoor,icon:e=>React.createElement(s.M5,r()({serviceName:"nextdoor"},e)),description:__("Share on communities","jetpack"),examples:[()=>React.createElement(React.Fragment,null,(0,i.createInterpolateElement)(__("Connect with friends, neighbors, and local businesses by automatically sharing your posts to Nextdoor.","jetpack"),{strong:React.createElement("strong",null)})),()=>React.createElement("img",{src:p,alt:__("Add Instagram photo","jetpack")})]},{...e.tumblr,icon:e=>React.createElement(s.M5,r()({serviceName:"tumblr-alt"},e)),description:__("Share to your Tumblr blog.","jetpack"),examples:[()=>React.createElement(React.Fragment,null,(0,i.createInterpolateElement)(__("Connect to automatically share posts to your Tumblr blog.","jetpack"),{strong:React.createElement("strong",null)})),()=>React.createElement("img",{src:h,alt:__("Add Tumblr connection","jetpack")})]},{...e.mastodon,needsCustomInputs:!0,icon:e=>React.createElement(s.M5,r()({serviceName:"mastodon"},e)),description:__("Share with your network.","jetpack"),examples:[()=>React.createElement(React.Fragment,null,__("To share to Mastodon please enter your Mastodon username below, then click connect.","jetpack"))]}].filter((e=>Boolean(e.ID)))}},73905:(e,t,n)=>{"use strict";n.d(t,{t:()=>r});var a=n(27723);const __=a.__,r=[{label:__("X","jetpack"),networkName:"x",url:"https://x.com/intent/tweet?text={{text}}&url={{url}}"},{label:__("WhatsApp","jetpack"),networkName:"whatsapp",url:"https://api.whatsapp.com/send?text={{text}}"},{label:__("Facebook","jetpack"),networkName:"facebook",url:"https://www.facebook.com/sharer/sharer.php?u={{url}}"}]},49192:(e,t,n)=>{"use strict";n(68541)},68541:(e,t,n)=>{"use strict";n.d(t,{R:()=>h});var a=n(78478),r=n(51112),s=n(47425),o=n(69222),i=n(85985),l=n(86087),c=n(27723),u=n(13022),d=n(73905),p=n(99811),m=n(53975);const __=c.__;function h({buttonStyle:e="icon",buttonVariant:t}){const n=(0,m.i)(),{recordEvent:h}=(0,i.st)(),g=(0,l.useCallback)((()=>{h("jetpack_social_share_button_clicked",{network:"clipboard"})}),[h]),f=(0,l.useCallback)((()=>n("{{text}}\n{{url}}",!1)),[n]),v=(0,l.useCallback)((function(e,t){return function(n){n.preventDefault(),h("jetpack_social_share_button_clicked",t),window.open(e,"","menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600")}}),[h]);return React.createElement("div",{className:(0,u.A)(p.A["share-buttons"],{[p.A.vertical]:e.includes("text")})},d.t.map((({label:o,networkName:i,url:l})=>{const u=n(l),d="icon"===e?React.createElement(a.M5,{serviceName:i}):null,m=(0,c.sprintf)(/* translators: %s is the name of a social network, e.g. Twitter. */ __("Share on %s","jetpack"),o);return React.createElement("div",{className:p.A.container,key:i},React.createElement(r.A,{icon:d,variant:t,"aria-label":m,href:u,target:"_blank",rel:"noopener noreferrer",onClick:v(u,{network:i}),className:"icon"===e?p.A[i]:"has-text"},"icon"===e?null:React.createElement(React.Fragment,null,"icon-text"===e&&React.createElement(a.M5,{className:p.A[i],serviceName:i}),React.createElement(s.Ay,{className:p.A.label,component:"span"},m))))})),React.createElement("div",{className:p.A.container},React.createElement(o.A,{buttonStyle:e,onCopy:g,textToCopy:f,className:"icon"===e?p.A.clipboard:" has-text",variant:t},"icon"===e?null:React.createElement(s.Ay,{className:p.A.label,component:"span"},__("Copy to clipboard","jetpack")))))}},53975:(e,t,n)=>{"use strict";n.d(t,{i:()=>i});var a=n(47143),r=n(43656),s=n(86087),o=n(383);function i(){const{shareMessage:e}=(0,o.h)(),{message:t,link:n}=(0,a.useSelect)((t=>{const{getEditedPostAttribute:n}=t(r.store);return{link:n("link"),message:e||n("meta")?.jetpack_seo_html_title||n("title")}}),[e]);return(0,s.useCallback)(((e,a=!0)=>{let r=t,s=n;return e.includes("{{url}}")||(r=r+"\n\n"+s,s=""),a&&(r=encodeURIComponent(r),s=encodeURIComponent(s)),e.replace("{{text}}",r).replace("{{url}}",s)}),[n,t])}},1101:(e,t,n)=>{"use strict";n.d(t,{O:()=>v});var a=n(85985),r=n(56427),s=n(47143),o=n(43656),i=n(86087),l=n(27723),c=n(692),u=n(92214),d=n(77627),p=n(31873),m=n(31963),h=n(51371);const __=l.__;function g(e=__("Unable to share the Post","jetpack")){const{createErrorNotice:t}=(0,s.dispatch)(c.store);t(e,{id:"publicize-post-share-message"})}function f(){const{isPublicizeEnabled:e}=(0,d.A)(),{isFetching:t,isError:n,isSuccess:l,doPublicize:f}=(0,p.A)(),v=(0,s.useSelect)((e=>e(o.store).isCurrentPostPublished()),[]),{feature_flags:b}=(0,h.n)(),{pollForPostShareStatus:k}=(0,s.useDispatch)(m.M_),{recordEvent:y}=(0,a.st)();(0,i.useEffect)((()=>{if(!t)return n?g():void(l&&function(){const{createSuccessNotice:e}=(0,s.dispatch)(c.store);e(__("Request submitted successfully.","jetpack"),{id:"publicize-post-share-message",type:"snackbar"})}())}),[t,n,l]);const E=(0,u.P)(),w=!e||!E||!v||t,_=(0,i.useCallback)((async()=>{if(!v)return g(__("You must publish your post before you can share it.","jetpack"));(0,s.dispatch)(c.store).removeNotice("publicize-post-share-message"),y("jetpack_social_reshare_clicked",{location:"editor",environment:(0,a.d9)()?"atomic":(0,a.Sy)()?"simple":"jetpack"}),await f(),b.useShareStatus&&k()}),[v,y,f,b.useShareStatus,k]);return React.createElement(r.Button,{variant:"secondary",onClick:_,disabled:w,isBusy:t},__("Share post","jetpack"))}function v(){const{isRePublicizeUpgradableViaUpsell:e}=(0,d.A)(),t=(0,s.useSelect)((e=>e(o.store).isCurrentPostPublished()),[]),{hasConnections:n}=(0,s.useSelect)((e=>e(m.M_)),[]);return t?e?null:n()?React.createElement(r.PanelRow,null,React.createElement(f,null)):null:null}},7757:(e,t,n)=>{"use strict";n.d(t,{JU:()=>r.g,Q3:()=>a.Q});var a=n(59032),r=n(95499)},95499:(e,t,n)=>{"use strict";n.d(t,{g:()=>m});var a=n(96072),r=n.n(a),s=n(85985),o=n(56427),i=n(47143),l=n(27723),c=n(51609),u=n(31963),d=n(51371),p=n(14150);const __=l.__,m=(0,c.forwardRef)((({withWrapper:e=!1,analyticsData:t=null,...n},a)=>{const{recordEvent:l}=(0,s.st)(),{openShareStatusModal:m}=(0,i.useDispatch)(u.M_),h=(0,i.useSelect)((e=>e(u.M_).getPostShareStatus()),[]),g=(0,c.useCallback)((()=>{l("jetpack_social_share_status_modal_opened",t),m()}),[t,m,l]);if(!h||!h.shares||0===h.shares.length)return null;const{feature_flags:f}=(0,d.n)();if(!f.useShareStatus)return null;const v=React.createElement(o.Button,r()({variant:"secondary",onClick:g},n,{ref:a}),n.children||__("View sharing history","jetpack"));return e?React.createElement("div",{className:p.A["trigger-wrapper"]},v):v}))},59032:(e,t,n)=>{"use strict";n.d(t,{Q:()=>d});var a=n(50723),r=n(56427),s=n(47143),o=n(27723),i=n(31963),l=n(30557),c=n(14150);const __=o.__;function u(){const{closeShareStatusModal:e}=(0,s.useDispatch)(i.M_);return React.createElement("div",{className:c.A.wrapper},React.createElement(r.Modal,{onRequestClose:e,title:__("Sharing status","jetpack"),className:c.A.modal},React.createElement(l.W,null)))}function d(){const e=(0,s.useSelect)((e=>e(i.M_).isShareStatusModalOpen()),[]);return React.createElement(a.Ay,{targetDom:document.body},e?React.createElement(u,null):null)}},14329:(e,t,n)=>{"use strict";n.d(t,{f:()=>h});var a=n(40597),r=n(85985),s=n(56427),o=n(47143),i=n(43656),l=n(27723),c=n(51609),u=n(31873),d=n(31963),p=n(59061),m=n(14150);const __=l.__,_x=l._x;function h({shareItem:e}){const{recordEvent:t}=(0,r.st)(),n=(0,o.useSelect)((e=>e(i.store).getCurrentPostId()),[]),l=(0,o.useSelect)((e=>e(d.M_).getConnections()),[]),h=l.some((0,p.eJ)(e)),{doPublicize:g}=(0,u.A)(n),{pollForPostShareStatus:f}=(0,o.useDispatch)(d.M_),[v,b]=(0,c.useState)(!1),k=(0,c.useCallback)((async()=>{t("jetpack_social_share_status_retry",{service:e.service,location:"modal"});const n=(0,p.eJ)(e),a=l.filter((e=>!n(e))).map((({connection_id:e})=>e));a.length!==l.length&&(b(!0),await g(a),await f({isRequestComplete({postShareStatus:t,lastTimestamp:n}){const a=t.shares.some((t=>t.timestamp>n&&(0,p.Ri)(e,t)));return a&&b(!1),a}}))}),[t,e,l,g,f]);return v?React.createElement(s.Spinner,null):React.createElement("div",{className:m.A["retry-wrapper"]},React.createElement(s.Button,{variant:h?"link":"tertiary",onClick:h?k:void 0,disabled:!h},__("Retry","jetpack")),h?null:React.createElement(a.A,{shift:!0,placement:"bottom-end"},e.external_id?_x("This connection has been removed.","Social media connection","jetpack"):_x("This connection has been reconnected or removed.","Social media connection","jetpack")))}},30557:(e,t,n)=>{"use strict";n.d(t,{W:()=>o});var a=n(47143),r=n(31963),s=n(48377);function o(){const e=(0,a.useSelect)((e=>e(r.M_).getPostShareStatus()),[]);return React.createElement("div",null,React.createElement(s.S,{postShareStatus:e}))}},368:(e,t,n)=>{"use strict";n.d(t,{C:()=>l});var a=n(85985),r=n(56427),s=n(27723),o=n(51609),i=n(14329);const __=s.__;function l({shareItem:e}){const{recordEvent:t}=(0,a.st)(),n=(0,o.useCallback)((()=>{t("jetpack_social_share_status_view",{service:e.service,location:"modal"})}),[t,e.service]);return"success"===e.status?React.createElement(r.ExternalLink,{href:e.message,onClick:n},__("View","jetpack")):React.createElement(i.f,{shareItem:e})}},69662:(e,t,n)=>{"use strict";n.d(t,{a:()=>p});var a=n(40597),r=n(47425),s=n(27723),o=n(51113),i=n(83883),l=n(13022),c=n(51609),u=n.n(c),d=n(14150);const __=s.__,_x=s._x;function p({status:e,message:t}){const n="success"===e,s=n?u().createElement(o.A,{className:d.A["share-status-icon"],icon:i.A}):u().createElement(a.A,{shift:!0,inline:!1,title:__("Sharing failed with the following message:","jetpack"),className:d.A["share-status-icon-tooltip"]},u().createElement(r.Ay,{variant:"body-small",className:d.A["tooltip-text"]},t));return u().createElement("div",{className:(0,l.A)(d.A["share-status-wrapper"],{[d.A["share-status-success"]]:n,[d.A["share-status-failure"]]:!n})},u().createElement("div",{className:d.A["share-status-icon"]},s),u().createElement("div",{className:d.A["share-status-label"]},n?_x("Shared","The sharing is successful","jetpack"):__("Failed","jetpack")))}},48377:(e,t,n)=>{"use strict";n.d(t,{S:()=>u});var a=n(38443),r=n(27723),s=n(12141),o=n(368),i=n(69662),l=n(14150);const __=r.__,c=e=>`${e.external_id||e.connection_id}:${e.timestamp}`;function u({postShareStatus:e}){return React.createElement("div",{className:l.A["dataview-wrapper"]},React.createElement("div",{className:"dataviews-wrapper"},React.createElement("table",{className:"dataviews-view-table"},React.createElement("thead",null,React.createElement("tr",{className:"dataviews-view-table__row"},React.createElement("th",null,__("Connection","jetpack")),React.createElement("th",null,__("Time","jetpack")),React.createElement("th",null,__("Status","jetpack")),React.createElement("th",null,__("Actions","jetpack")))),React.createElement("tbody",null,e.shares.map((e=>React.createElement("tr",{key:c(e),className:"dataviews-view-table__row"},React.createElement("td",null,React.createElement("div",{className:"dataviews-view-table__cell-content-wrapper"},React.createElement("div",{className:l.A["connection-name"]},React.createElement(s.A,{serviceName:e.service,label:e.external_name,profilePicture:e.profile_picture}),React.createElement("div",{className:l.A["share-item-name-wrapper"]},React.createElement("div",{className:l.A["share-item-name"]},e.external_name))))),React.createElement("td",null,React.createElement("div",{className:"dataviews-view-table__cell-content-wrapper"},(0,a.humanTimeDiff)(1e3*e.timestamp,(0,a.getDate)(null)))),React.createElement("td",null,React.createElement("div",{className:"dataviews-view-table__cell-content-wrapper"},React.createElement(i.a,{status:e.status,message:e.message}))),React.createElement("td",null,React.createElement("div",{className:"dataviews-view-table__cell-content-wrapper"},React.createElement(o.C,{shareItem:e}))))))))))}},29341:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var a=n(63406),r=n(56427),s=n(86087),o=n(27723),i=n(49747),l=n(38394),c=n(56457),u=n(77932);const __=o.__,_x=o._x,d=({prePublish:e=!1})=>{const t=e?s.Fragment:r.PanelBody,n=e?{}:{title:__("Social Image Generator","jetpack")},{isEnabled:o,setIsEnabled:d}=(0,i.A)(),[p,m]=(0,s.useState)(!1),h=(0,s.useCallback)((()=>m(!0)),[]),g=(0,s.useCallback)((()=>m(!1)),[]),[f,v]=(0,s.useState)(null),{createErrorNotice:b,createSuccessNotice:k}=(0,a.I)(),{save:y,isSaving:E}=(0,l.i)({onError:e=>{b(e.message)},onSuccess:()=>{k(__("Image saved to media library.","jetpack"))}}),w=(0,s.useCallback)((()=>{y(`https://s0.wp.com/_si/?t=${f}`,"generated-image.jpg")}),[f,y]);return React.createElement(t,n,p&&React.createElement(u.A,{onClose:g}),React.createElement(r.ToggleControl,{label:__("Enable Social Image","jetpack"),help:o?"":__("Social Image is disabled for this post.","jetpack"),checked:o,onChange:d,__nextHasNoMarginBottom:!0}),o&&React.createElement(React.Fragment,null,React.createElement("hr",null),React.createElement(c.Ay,{onNewToken:v}),React.createElement("hr",null),React.createElement(r.__experimentalHStack,{spacing:2,wrap:!0},React.createElement(r.Button,{variant:"secondary",onClick:h,label:__("Open the Social Image Generator settings","jetpack")},__("Settings","jetpack")),React.createElement(r.Button,{variant:"secondary",onClick:w,label:__("Save the generated image to your media library.","jetpack"),disabled:!f||E},E?_x("Saving…","Saving the file to media library","jetpack"):__("Save to media library","jetpack")))))}},77932:(e,t,n)=>{"use strict";n.d(t,{A:()=>g});var a=n(50723),r=n(56427),s=n(86087),o=n(27723),i=n(49747),l=n(80624),c=n(56457),u=n(55858),d=n(81299),p=n(53744);const __=o.__,m=["image/jpeg","image/png"],h=__("Choose Image","jetpack"),g=({onClose:e})=>{const{customText:t,imageType:n,imageId:o,template:g,updateSettings:f}=(0,i.A)(),[v,b]=(0,s.useState)(o),[k,y]=(0,s.useState)(n||"featured"),[E,w]=(0,s.useState)(t),[_,C]=(0,s.useState)(g),[A]=(0,l.A)(v),x=(0,s.useCallback)((()=>{f({template:_,image_type:k,custom_text:E||"",..."custom"===k&&{image_id:v}}),e()}),[f,_,k,v,E,e]),j=(0,s.useCallback)((e=>{b(e?.id)}),[b]);return React.createElement(a.Ay,{targetDom:document.body},React.createElement(r.Modal,{onRequestClose:e},React.createElement(c.Ay,{className:p.A.preview,imageId:v,customText:E,imageType:k,template:_}),React.createElement(r.SelectControl,{label:__("Image Type","jetpack"),value:k||"featured",options:[{label:__("Featured Image","jetpack"),value:"featured"},{label:__("Custom Image","jetpack"),value:"custom"},{label:__("No Image","jetpack"),value:"none"}],onChange:y,__nextHasNoMarginBottom:!0}),"custom"===k&&React.createElement(u.A,{buttonLabel:h,subTitle:__("Add a custom image","jetpack"),mediaId:v,mediaDetails:A,onChange:j,allowedMediaTypes:m,wrapperClassName:p.A.mediaPicker}),React.createElement(r.TextControl,{className:p.A.customText,value:E||"",onChange:w,label:__("Custom Header","jetpack"),help:__("By default the post title is used for the image. You can use this field to set your own text.","jetpack"),__nextHasNoMarginBottom:!0}),React.createElement(r.BaseControl,{__nextHasNoMarginBottom:!0,className:p.A.templateControl},React.createElement(r.BaseControl.VisualLabel,null,__("Templates","jetpack")),React.createElement(d.A,{value:_,onTemplateSelected:C})),React.createElement(r.Button,{onClick:e,variant:"tertiary"},__("Cancel","jetpack")),React.createElement(r.Button,{onClick:x,variant:"primary"},__("Save","jetpack"))))}},29761:(e,t,n)=>{"use strict";n(47143),n(86087),n(27723),n(51609),n(31963),n(12226)},12226:(e,t,n)=>{"use strict";n(56427),n(86087),n(27723),n(81299),n(88375)},81299:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var a=n(86087),r=n(27723),s=n(13022),o=n(52002),i=n(10936);const __=r.__,l=({value:e=null,onTemplateSelected:t=null})=>{const n=(0,a.useCallback)((e=>{const n=e.target.id;t?.(n)}),[t]);return React.createElement("div",{className:o.A.templates},i.A.map((t=>React.createElement("button",{onClick:n,id:t.name,key:t.name,className:(0,s.A)(o.A.template,{[o.A["template--active"]]:t.name===e})},React.createElement("img",{src:t.image,alt:t.label}),React.createElement("span",{className:"screen-reader-text"},(0,r.sprintf)(/* translators: %s is the name of the template */ __("Pick the %s template","jetpack"),t.label))))))}},10936:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var a=n(26365),r=n(45329),s=n(9509);const o=[{name:"highway",label:"Highway",image:n(22417)},{name:"dois",label:"Dois",image:a},{name:"edge",label:"Edge",image:r},{name:"fullscreen",label:"Fullscreen",image:s}]},98725:(e,t,n)=>{"use strict";n(47143),n(86087),n(51609),n(31963)},96390:(e,t,n)=>{"use strict";n.d(t,{n:()=>d});var a=n(85985),r=n(56427),s=n(86087),o=n(27723),i=n(10991),l=n(18603),c=n(94360),u=n(47944);const __=o.__;function d(){const[e,t]=(0,s.useReducer)((e=>!e),!1),{recordEvent:n}=(0,a.st)(),o=(0,s.useCallback)((()=>{e||n("jetpack_social_preview_modal_opened"),t()}),[e,n]);return React.createElement(r.PanelRow,{className:u.A.panel},e&&React.createElement(r.Modal,{onRequestClose:t,title:__("Social Previews","jetpack"),className:u.A.modal,__experimentalHideHeader:!0},React.createElement("div",{className:u.A["modal-content"]},React.createElement(c.X,null),React.createElement(l.w,null)),React.createElement(r.Button,{className:u.A["close-button"],onClick:t,icon:i.A,label:__("Close","jetpack")})),React.createElement(r.Button,{variant:"secondary",onClick:o},__("Preview social posts","jetpack")))}},98588:(e,t,n)=>{"use strict";n.d(t,{z:()=>w});var a=n(96072),r=n.n(a),s=n(29103),o=n(73188),i=n(73066),l=n(57984),c=n(48914),u=n(83945),d=n(73915),p=n(89075),m=n(95550),h=n(3582),g=n(47143),f=n(86087),v=n(18537),b=n(27723),k=n(39553),y=n(62697),E=n(31137);const __=b.__;function w({connection:e}){const t=(0,f.useMemo)((()=>({displayName:e.display_name||e.external_display,profileImage:e.profile_picture,externalName:e.external_name})),[e]),{image:n,media:a,title:b,description:w,url:_,excerpt:C}=(0,E.s)(),A=((0,k.A)().message||"").trim(),x=(0,f.useMemo)((()=>({description:w,image:n,media:a,title:b,url:_})),[w,n,a,b,_]),j=(0,g.useSelect)((e=>{const{getUnstableBase:t}=e(h.store);return(0,v.decodeEntities)(t()?.name)}),[]),S=a?.some((({type:e})=>e.startsWith("image/")||e.startsWith("video/")));switch(e.service_name){case"bluesky":{const e=a?.[0],n=e?.type.startsWith("image/")?e.url:null;return React.createElement(s.O,r()({},x,{description:(0,v.decodeEntities)(C),user:{avatarUrl:t.profileImage,address:t.externalName,displayName:t.displayName},customText:(0,v.decodeEntities)(A||`${b}\n\n${C.replaceAll(/[\s\n]/g," ")}`),customImage:n}))}case"facebook":return S?React.createElement(o.h,r()({},x,{type:"article",customText:A||C||b,user:t})):React.createElement(i.l,r()({},x,{type:"article",customText:A||C||b,user:t}));case"instagram-business":{const e=Boolean(n);return S||e?React.createElement(l.l,r()({},x,{image:a?.[0]?.url||n,name:t.displayName,profileImage:t.profileImage,caption:A||b||w})):React.createElement(y.q,null)}case"linkedin":return React.createElement(c.$,r()({},x,{jobTitle:__("Job Title (Company Name)","jetpack"),name:t.displayName,profileImage:t.profileImage,description:A||b||w}));case"mastodon":{const e=a?.[0],n=e?.type.startsWith("image/")?e.url:null;return React.createElement(u._,r()({},x,{description:C,siteName:j,user:{avatarUrl:t.profileImage,address:t.displayName,displayName:t.displayName},customText:A,customImage:n}))}case"nextdoor":{const e=`${A||b||w} ${a.length?_:""}`.trim();return React.createElement(d.K,r()({},x,{description:e,name:t.displayName,profileImage:t.profileImage}))}case"threads":{let e=b;A?e=A:b&&C&&(e=`${b}\n\n${C}`);const n=500-_.length-2;return e=(0,v.decodeEntities)(e).slice(0,n),e+=`\n\n${_}`,React.createElement(p.s,r()({},x,{caption:e,name:t.displayName,profileImage:t.profileImage}))}case"tumblr":return React.createElement(m.B,r()({},x,{user:{displayName:t.displayName,avatarUrl:t.profileImage},customText:A}));default:return null}}},18603:(e,t,n)=>{"use strict";n.d(t,{w:()=>h});var a=n(85985),r=n(56427),s=n(47143),o=n(27723),i=n(51609),l=n(31963),c=n(12141),u=n(39329),d=n(48712),p=n(98588),m=n(47944);const __=o.__,_x=o._x;function h(){const{recordEvent:e}=(0,a.st)(),t=(0,d.h)(),{canBeTurnedOn:n,shouldBeDisabled:o}=(0,u.j)(),h=(0,s.useSelect)((e=>e(l.M_).getConnections().filter((({service_name:e})=>t(e))).map((e=>{const t=e.display_name||e.external_display,a=`${e.service_name}-${e.connection_id}`,r=React.createElement(c.A,{label:t,serviceName:e.service_name,profilePicture:e.profile_picture}),s=o(e)||!n(e)||!e.enabled;return{...e,className:s?m.A["disabled-tab"]:"",name:a,title:t,icon:r}}))),[n,t,o]),{toggleConnectionById:g}=(0,s.useDispatch)(l.M_),f=(0,i.useCallback)(((t,n)=>()=>{g(t),e("jetpack_social_connection_toggled",{location:"preview-modal",enabled:!n.enabled,service_name:n.service_name})}),[e,g]);return React.createElement("div",{className:m.A["preview-section"]},React.createElement(r.TabPanel,{tabs:h},(e=>{const t=n(e)&&e.enabled;return React.createElement("div",{className:m.A["preview-content"]},o(e)?null:React.createElement(r.ToggleControl,{label:t?_x("Connection enabled","","jetpack"):__("Connection disabled","jetpack"),checked:t,onChange:f(e.connection_id,e),__nextHasNoMarginBottom:!0}),React.createElement(p.z,{connection:e}))})))}},94360:(e,t,n)=>{"use strict";n.d(t,{X:()=>o});var a=n(27723),r=n(41190),s=n(47944);const __=a.__;function o(){return React.createElement("div",{className:s.A["settings-section"]},React.createElement("div",{className:s.A["settings-header"]},React.createElement("h2",null,__("Social Preview","jetpack"))),React.createElement("div",{className:s.A["settings-content"]},React.createElement("p",{className:s.A["modal-description"]},__("Edit and preview your social post before sharing.","jetpack")),React.createElement(r.o,{analyticsData:{location:"preview-modal"}})))}},42259:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});var a=n(96072),r=n.n(a),s=n(91937),o=n(3582),i=n(47143),l=n(43656),c=n(18537),u=n(39553),d=n(31963);const p=e=>{const{message:t}=(0,u.A)(),{content:n,siteName:a}=(0,i.useSelect)((e=>{const{getEditedPostAttribute:t}=e(l.store),{getUnstableBase:n}=e(o.store);return{content:t("content").split("\x3c!--more")[0],siteName:(0,c.decodeEntities)(n().name)}}),[]),p=(0,i.useSelect)((e=>{const{displayName:t,profileImage:n,username:a}=e(d.M_).getConnectionProfileDetails(d.zW);return{displayName:t,avatarUrl:n,address:a}}),[]),m=e.media?.[0],h=m?.type.startsWith("image/")?m.url:null,g=(0,i.useSelect)((e=>e(d.M_).getConnectionsByService(d.zW)),[]);return React.createElement(s.x,r()({},e,{siteName:a,user:p,description:(0,c.decodeEntities)(n),customText:(0,c.decodeEntities)(t||`${e.title}\n\n${n.replaceAll(/[\s\n]/g," ")}`),customImage:h,hidePostPreview:!g.length}))}},59540:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var a=n(96072),r=n.n(a),s=n(87070),o=n(47143),i=n(39553),l=n(31963);const c=(0,o.withSelect)((e=>{const{getEditedPostAttribute:t}=e("core/editor");return{excerpt:t("excerpt"),content:t("content").split("\x3c!--more")[0]}}))((e=>{const{message:t}=(0,i.A)(),{title:n,excerpt:a,content:c}=e,u=(0,o.useSelect)((e=>{const{displayName:t,profileImage:n}=e(l.Af).getConnectionProfileDetails(l.s);return{displayName:t,avatarUrl:n}}));return React.createElement(s.k,r()({},e,{type:"article",user:u,customText:t||a||c||n}))}))},81048:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var a=n(96072),r=n.n(a),s=n(8797),o=n(47143),i=n(18537),l=n(51609),c=n.n(l);const u=function(e){const t=(0,o.useSelect)((e=>{const{getUnstableBase:t}=e("core"),n=t().name;return(0,i.decodeEntities)(n)}));return c().createElement(s.m,r()({},e,{siteTitle:t}))}},91262:(e,t,n)=>{"use strict";n.d(t,{p:()=>g});var a=n(47656),r=n(3924),s=n(97999),o=n(20578),i=n(56427),l=n(47143),c=n(27723),u=n(51609),d=n.n(u),p=n(39553),m=n(31963),h=n(27844);const __=c.__,_x=c._x;function g(e){const{title:t,image:n,media:c,description:u}=e,{username:g,profileImage:f}=(0,l.useSelect)((e=>e(m.Af).getConnectionProfileDetails(m.bN))),{message:v}=(0,p.A)(),b=c?.some((({type:e})=>e.startsWith("image/")||e.startsWith("video/"))),k=Boolean(n);if(!b&&!k)return d().createElement(a.A,{hideCloseButton:!0,actions:[d().createElement(i.ExternalLink,{key:"learn-more",href:(0,r.A)("jetpack-social-share-to-instagram")},__("Learn more","jetpack"))]},(0,s.siteHasFeature)(h.q.ENHANCED_PUBLISHING)?__("To share to Instagram, add an image/video, or enable Social Image Generator.","jetpack"):_x("You need a featured image to share to Instagram.","The message shown in the Instagram social preview","jetpack"));const y=v||t||u;return d().createElement(o.a,{image:c?.[0]?.url||n,media:c,name:g,profileImage:f,caption:y})}},29650:(e,t,n)=>{"use strict";n.d(t,{p:()=>u});var a=n(7368),r=n(47143),s=n(27723),o=n(51609),i=n.n(o),l=n(39553),c=n(31963);const __=s.__;function u(e){const{title:t,url:n,image:s,media:o,description:u}=e,{displayName:d,profileImage:p}=(0,r.useSelect)((e=>e(c.Af).getConnectionProfileDetails(c.gt))),{message:m}=(0,l.A)(),h=`${m||t||u} ${o.length?n:""}`.trim();return i().createElement(a.G,{jobTitle:__("Job Title (Company Name)","jetpack"),image:s,name:d,profileImage:p,title:t,description:h,url:n,media:o})}},98175:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var a=n(96072),r=n.n(a),s=n(71751),o=n(47143),i=n(18537),l=n(39553),c=n(31963);const u=e=>{const{message:t}=(0,l.A)(),{content:n,siteName:a}=(0,o.useSelect)((e=>{const{getEditedPostAttribute:t}=e("core/editor"),{getUnstableBase:n}=e("core");return{content:t("content").split("\x3c!--more")[0],siteName:(0,i.decodeEntities)(n().name)}})),u=(0,o.useSelect)((e=>{const{displayName:t,profileImage:n,username:a}=e(c.Af).getConnectionProfileDetails(c.V6);return{displayName:t,avatarUrl:n,address:a}})),d=e.media?.[0],p=d?.type.startsWith("image/")?d.url:null;return React.createElement(s.R,r()({},e,{siteName:a,user:u,description:n,customText:t,customImage:p}))}},81115:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var a=n(56427),r=n(18537),s=n(27723),o=n(10991),i=n(19779),l=n(31137);const __=s.__,c=function({onClose:e,initialTabName:t}){const n=(0,i.r)(),{image:s,media:c,title:u,description:d,url:p,excerpt:m}=(0,l.s)();return React.createElement(a.Modal,{onRequestClose:e,className:"jetpack-social-previews__modal",__experimentalHideHeader:!0},React.createElement(a.Button,{className:"jetpack-social-previews__modal--close-btn",onClick:e,icon:o.A,label:__("Close","jetpack")}),React.createElement(a.TabPanel,{className:"jetpack-social-previews__modal-previews",tabs:n,initialTabName:t},(e=>React.createElement("div",null,React.createElement(e.preview,{excerpt:(0,r.decodeEntities)(m),title:(0,r.decodeEntities)(u),description:(0,r.decodeEntities)(d),url:p,image:s,media:c})))))}},49257:(e,t,n)=>{"use strict";n.d(t,{s:()=>c});var a=n(58581),r=n(47143),s=n(51609),o=n.n(s),i=n(39553),l=n(31963);function c(e){const{title:t,url:n,image:s,media:c,description:u}=e,{displayName:d,profileImage:p}=(0,r.useSelect)((e=>e(l.Af).getConnectionProfileDetails(l.zk))),{message:m}=(0,i.A)(),h=`${m||t||u} ${c.length?n:""}`.trim();return o().createElement(a.n,{image:s,name:d,profileImage:p,title:t,description:h,url:n,media:c})}},97192:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var a=n(56427),r=n(27723),s=n(19779);const __=r.__,_x=r._x,o=({openModal:e})=>{const t=(0,s.r)();return React.createElement("div",{className:"jetpack-social-previews__panel"},React.createElement("p",null,__("Preview what this will look like on social networks and Google search.","jetpack")),React.createElement("div",{className:"jetpack-gutenberg-social-icons"},t.map((e=>React.createElement(e.icon,{key:e.name,className:"jetpack-social-previews__icon"})))),React.createElement(a.Button,{variant:"secondary",onClick:e,label:__("Open Social Previews","jetpack")},_x("Preview","Button label that opens the social previews modal","jetpack")))}},68655:(e,t,n)=>{"use strict";n.d(t,{Q:()=>u});var a=n(33389),r=n(47143),s=n(18537),o=n(51609),i=n.n(o),l=n(383),c=n(31963);function u({excerpt:e,title:t,description:n,image:o,url:u,media:d}){const{shareMessage:p}=(0,l.h)(),m=(0,r.useSelect)((a=>{const{displayName:r,profileImage:i}=a(c.M_).getConnectionProfileDetails(c.BB);let l=t;p?l=p:t&&e&&(l=`${t}\n\n${e}`);const m=500-u.length-2;return l=(0,s.decodeEntities)(l).slice(0,m),l+=`\n\n${u}`,[{caption:l,name:r,profileImage:i,title:t,description:n,image:o,media:d,url:u}]}),[e,t,o,n,d,u,p]),h=(0,r.useSelect)((e=>e(c.M_).getConnectionsByService(c.BB)),[]);return i().createElement(a.n,{posts:m,hidePostPreview:!h.length})}},22322:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var a=n(96072),r=n.n(a),s=n(19036),o=n(47143),i=n(39553),l=n(31963);const c=e=>{const{content:t,author:n}=(0,o.useSelect)((e=>{const{getUser:t}=e("core"),{getEditedPostAttribute:n}=e("core/editor"),a=n("author"),r=a&&t(a);return{content:n("content").split("\x3c!--more")[0],author:r?.name}})),{message:a}=(0,i.A)(),c=(0,o.useSelect)((e=>{const{displayName:t,profileImage:a}=e(l.Af).getConnectionProfileDetails(l.me);return{displayName:t||n,avatarUrl:a}}),[n]);return React.createElement(s.s,r()({},e,{user:c,description:t,customText:a}))}},91537:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var a=n(43731),r=n(47143),s=n(51609),o=n.n(s),i=n(383),l=n(31963);const c=function({title:e,description:t,image:n,url:s,media:c}){const{shareMessage:u}=(0,i.h)(),d=(0,r.useSelect)((a=>{const{displayName:r,profileImage:o,username:i}=a(l.Af).getConnectionProfileDetails(l.PX);return[{name:r,profileImage:o,screenName:i,text:u+(c.length?` ${s}`:""),cardType:n?"summary_large_image":"summary",title:e,description:t,image:n,media:c,url:s}]}),[e,n,t,c,s,u]);return o().createElement(a.p,{tweets:d,hidePostPreview:!0})}},19779:(e,t,n)=>{"use strict";n.d(t,{r:()=>E});var a=n(96072),r=n.n(a),s=n(78478),o=n(27723),i=n(51609),l=n.n(i),c=n(31963),u=n(70407),d=n(42259),p=n(59540),m=n(81048),h=n(91262),g=n(29650),f=n(98175),v=n(49257),b=n(68655),k=n(22322),y=n(91537);const __=o.__,_x=o._x;function E(){const e=(0,u.getSupportedAdditionalConnections)().includes(c.BB);return(0,i.useMemo)((()=>[{title:__("Google Search","jetpack"),icon:e=>l().createElement(s.M5,r()({serviceName:"google"},e)),name:"google",preview:m.A},{title:__("X","jetpack"),icon:e=>l().createElement(s.M5,r()({serviceName:"x"},e)),name:"x",preview:y.A},{title:__("Facebook","jetpack"),icon:e=>l().createElement(s.M5,r()({serviceName:"facebook"},e)),name:"facebook",preview:p.A},{title:__("Instagram","jetpack"),icon:e=>l().createElement(s.M5,r()({serviceName:"instagram"},e)),name:"instagram",preview:h.p},e?{title:_x("Threads","The name of the social media network - threads.net","jetpack"),icon:e=>l().createElement(s.M5,r()({serviceName:"threads"},e)),name:"threads",preview:b.Q}:null,{title:__("LinkedIn","jetpack"),icon:e=>l().createElement(s.M5,r()({serviceName:"linkedin"},e)),name:"linkedin",preview:g.p},{title:__("Nextdoor","jetpack"),icon:e=>l().createElement(s.M5,r()({serviceName:"nextdoor"},e)),name:"nextdoor",preview:v.s},{title:__("Tumblr","jetpack"),icon:e=>l().createElement(s.M5,r()({serviceName:"tumblr-alt"},e)),name:"tumblr",preview:k.A},{title:__("Mastodon","jetpack"),icon:e=>l().createElement(s.M5,r()({serviceName:"mastodon"},e)),name:"mastodon",preview:f.A},{title:__("Bluesky","jetpack"),icon:e=>l().createElement(s.M5,r()({serviceName:"bluesky"},e)),name:"bluesky",preview:d.A}].filter(Boolean)),[e])}},31137:(e,t,n)=>{"use strict";n.d(t,{s:()=>l});var a=n(47143),r=n(27723),s=n(383),o=n(74820),i=n(25995);const __=r.__;function l(){const{attachedMedia:e,imageGeneratorSettings:t}=(0,s.h)();return(0,a.useSelect)((n=>{const{getMedia:a}=n("core"),{getEditedPostAttribute:r,getEditedPostContent:s}=n("core/editor"),l=r("featured_media");let c=l?(0,i.l)(a(l)):"";const u=t.enabled?(0,o.S)(t.token):"";if(u&&(c=u),!c){const e=(0,i.t)(s());e&&(c=e)}const d=[],p=e=>{const t=a(e);return t?{type:t.mime_type,url:(0,i.l)(t),alt:t.alt_text}:null};for(const{id:t}of e){const e=p(t);e&&d.push(e)}return{title:(r("meta")?.jetpack_seo_html_title||r("title")||"").trim(),description:(r("meta")?.advanced_seo_description||r("excerpt")||r("content").split("\x3c!--more")[0]||__("Visit the post for more.","jetpack")||"").trim(),url:r("link"),excerpt:(r("excerpt")||r("content").split("\x3c!--more")[0]||"").trim(),image:c,media:d,initialTabName:null}}),[e,t])}},25995:(e,t,n)=>{"use strict";function a(e){return e?e.media_details?.sizes?.large?.source_url||e.source_url:null}function r(e){const t=(new DOMParser).parseFromString(e,"text/html"),n=Array.from(t.querySelectorAll("img")),a=n[0]?.src;return a??null}n.d(t,{l:()=>a,t:()=>r})},7610:(e,t,n)=>{"use strict";n(47143),n(86087),n(51609),n(7162)},18699:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var a=n(86087),r=n(76794);const s=({sourceUrl:e,mime:t,duration:n})=>{const[s,o]=(0,a.useState)(!1),[i,l]=(0,a.useState)(0),c=(0,a.useRef)(null),u=(0,a.useRef)(null),d=(0,a.useRef)(null);(0,a.useEffect)((()=>{c.current?.load()}),[e]);const p=(0,a.useCallback)((()=>{c.current.pause(),c.current.currentTime=0,clearInterval(u.current),clearTimeout(d.current),l(0),o(!1)}),[]),m=(0,a.useCallback)((()=>{d.current=setTimeout((()=>{s||(c.current.play(),o(!0),u.current=setInterval((()=>{l((e=>e+1))}),1e3))}),500)}),[s]),h=()=>{const e=n-i,t=Math.floor(e/60),a=String(Math.floor(e%60)).padStart(2,"0");return React.createElement("div",{className:r.A.progress},React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"6",height:"8",fill:"none"},React.createElement("path",{fill:"#fff",d:"M5.25 3.567a.5.5 0 0 1 0 .866L.75 7.031A.5.5 0 0 1 0 6.598V1.402A.5.5 0 0 1 .75.969l4.5 2.598Z"})),React.createElement("span",{className:r.A.duration},`${t}:${a}`))};return React.createElement("div",{className:r.A.wrapper,onMouseEnter:m,onMouseLeave:p},React.createElement("video",{ref:c,onEnded:p,muted:!0},React.createElement("source",{src:e,type:t})),React.createElement(h,null))}},98420:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});var a=n(383);function r(){const{attachedMedia:e,updateJetpackSocialOptions:t}=(0,a.h)();return{attachedMedia:e,updateAttachedMedia:e=>t("attached_media",e)}}},54915:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var a=n(47143),r=n(43656);const s=()=>(0,a.useSelect)((e=>e(r.store).getEditedPostAttribute("featured_media")))},49747:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var a=n(47143),r=n(43656),s=n(86087),o=n(383);const i=(e,t)=>({isEnabled:e?.enabled??!t,customText:e?.custom_text??null,imageType:e?.image_type??null,imageId:e?.image_id??null,template:e?.template??null,token:e?.token??null});function l(){const{imageGeneratorSettings:e,jetpackSocialOptions:t,updateJetpackSocialOptions:n}=(0,o.h)(),{isPostPublished:l}=(0,a.useSelect)((e=>({isPostPublished:e(r.store).isCurrentPostPublished()}))),c=(0,s.useCallback)(((t,a)=>{const r={...e,[t]:a};n("image_generator_settings",r)}),[e,n]),u=(0,s.useCallback)((t=>{const a={...e,...t};n("image_generator_settings",a)}),[e,n]);return{...i(t.image_generator_settings,l),setIsEnabled:e=>c("enabled",e),setToken:e=>c("token",e),updateSettings:u}}},92214:(e,t,n)=>{"use strict";n.d(t,{P:()=>d});var a=n(47143),r=n(98420),s=n(54915),o=n(80624),i=n(52367),l=n(80682),c=n(50001),u=n(31963);function d(){const{enabledConnections:e}=(0,c.A)(),{attachedMedia:t}=(0,r.A)(),n=(0,s.A)(),d=t[0]?.id||n,{validationErrors:p,isConvertible:m}=(0,i.A)(e,(0,o.A)(d)[0]),h=(0,a.useSelect)((e=>e(u.M_).getBrokenConnections().map((e=>e.connection_id))),[]);return e.some((function({connection_id:e,service_name:t}){return!h.includes(e)&&(!(e in p)||("instagram-business"!==t||!Object.values(p).includes(l.k3))&&m)}))}},80624:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var a=n(47143),r=n(86087);const s=async e=>{if(!e)return{};let t={mime:e.mime_type,fileSize:e.media_details.filesize,length:e.media_details?.length};"video/videopress"===e.mime_type&&(t=await(async e=>{if(!e?.media_details?.videopress?.original||!e?.media_details?.videopress?.duration)return{};const t=await fetch(e?.media_details?.videopress?.original,{method:"HEAD"}),n=t.headers.get("content-length"),a=t.headers.get("content-type");return n&&a?{mime:a,fileSize:n,length:Math.round(e.media_details.videopress.duration/1e3)}:{}})(e));const n=e?.media_details?.sizes??{};if(!n.full)return{mediaData:{width:e.media_details.width,height:e.media_details.height,sourceUrl:e.source_url},metaData:t};const a=n.medium||n.large,r={width:a.width,height:a.height,sourceUrl:a.source_url};return{mediaData:{width:n.full.width,height:n.full.height,sourceUrl:n.full.source_url},metaData:t,previewData:r}};function o(e=null){const[t,n]=(0,r.useState)([{}]),o=(0,a.useSelect)((t=>t("core").getMedia(e,{context:"view"})),[e]),i=(0,r.useCallback)((async()=>{try{const e=await s(o);n([e??{}])}catch{n([{}])}}),[o]);return(0,r.useEffect)((()=>{i()}),[i]),t}},80682:(e,t,n)=>{"use strict";n.d(t,{$m:()=>u,I1:()=>l,eF:()=>i,ec:()=>o,i1:()=>c,k3:()=>r,z9:()=>s});var a=n(27723);const __=a.__,r="NO_MEDIA_ERROR",s="FILE_TYPE_ERROR",o="FILE_SIZE_ERROR",i="VIDEO_LENGTH_TOO_LONG_ERROR",l="VIDEO_LENGTH_TOO_SHORT_ERROR",c="DIMENSION_ERROR";function u(e){return{[o]:__("File too big","jetpack"),[i]:__("Video too long","jetpack"),[l]:__("Video too short","jetpack"),[c]:__("Invalid dimensions","jetpack")}[e]||__("Invalid media","jetpack")}},52367:(e,t,n)=>{"use strict";n.d(t,{A:()=>d,c:()=>l});var a=n(86087),r=n(98420),s=n(49747),o=n(80682),i=n(2204);function l(e){return"video"===e.split("/")[0]}const c=e=>{if(!e?.mime||!e?.fileSize)return!1;const{mime:t,fileSize:n}=e;if(l(t))return!1;if(!i.nJ.includes(t))return!1;return!((n?n/Math.pow(1e3,2):0)>=55)},u=(e,t,n,a,r)=>{const s=i.mB[n]??i.EX;if(!e||0===Object.keys(e).length)return s.requiresMedia&&!r?o.k3:null;const{mime:c,fileSize:u}=e;if(!s.requiresMedia&&!a)return null;if(!c||!s.allowedMediaTypes.includes(c.toLowerCase()))return o.z9;if(!t?.width||!t?.height)return o.i1;const d=u?u/Math.pow(1e3,2):null;return l(c)?((e,t,n,a,r)=>{const{minSize:s=0,maxSize:l=i.TR,minLength:c=0,maxLength:u=i.TR,maxWidth:d=i.TR,aspectRatio:p=i.EX.video.aspectRatio}=r;if(!e||e>l||eu)return o.eF;const m=n/a;return mp.max||n>d?o.i1:null})(d,e.length,t.width,t.height,s.video):((e,t,n,a)=>{const{maxSize:r=i.TR,minWidth:s=0,maxWidth:l=i.TR,aspectRatio:c=i.EX.image.aspectRatio}=a,u=t/n;return uc.max||t>l||tr?o.ec:null})(d,t.width,t.height,s.image)},d=(e,t)=>{const{attachedMedia:n}=(0,r.A)(),{isEnabled:o}=(0,s.A)(),i=n.length>0,l=(0,a.useRef)({});return(0,a.useMemo)((()=>{const n=e.reduce(((e,{connection_id:n,service_name:a})=>{const r=u(t.metaData,t.mediaData,a,i,o&&"instagram-business"===a);return r&&(e[n]=r),e}),{});return JSON.stringify(n)!==JSON.stringify(l.current)&&(l.current=n),{validationErrors:l.current,isConvertible:c(t.metaData)}}),[e,t.metaData,t.mediaData,i,o])}},2204:(e,t,n)=>{"use strict";n.d(t,{EX:()=>h,TR:()=>m,UB:()=>v,mB:()=>g,nJ:()=>f});const a="video/mp4",r="video/mov",s="video/videopress",o=["image/jpeg","image/jpg","image/png"],i=o.concat(["image/gif","image/bmp"]),l=["video/3g2","video/3gp","video/3gpp","video/asf","video/avi","video/dat","video/divx","video/dv","video/f4v","video/flv","video/gif","video/m2ts","video/m4v","video/mkv","video/mod","video/mov","video/mp4","video/mpe","video/mpeg","video/mpeg4","video/mpg","video/mts","video/nsv","video/ogm","video/ogv","video/qt","video/tod","video/ts","video/vob","video/wmv"],c=o.concat(["image/gif","image/heic","image/heif","image/webp","image/avif"]),u=["video/webm","video/quicktime","video/ogg"],d=o.concat(["image/gif","image/jpe","image/tif","image/tiff","image/webp"]),p=[r,"video/avi","video/mpg","video/mpeg","video/m4v"],m=1e5,h={requiresMedia:!1,allowedMediaTypes:o.concat([a,s,r]),image:{maxSize:4,minWidth:0,maxWidth:m,aspectRatio:{min:0,max:m}},video:{minLength:0,minSize:0,maxSize:m,maxLength:m,maxWidth:m,aspectRatio:{min:0,max:m}}},g={twitter:{allowedMediaTypes:o.concat([a,s]),image:{maxSize:5},video:{maxSize:512,maxLength:140}},facebook:{allowedMediaTypes:i.concat([s,...l]),image:{maxSize:8},video:{maxSize:1e4,maxLength:14400}},tumblr:{allowedMediaTypes:o.concat([a,r,s]),image:{maxSize:20},video:{maxSize:500,maxLength:600}},linkedin:{allowedMediaTypes:o.concat([a,s]),image:{maxSize:20},video:{minSize:.075,maxSize:200,maxLength:600,minLength:3}},"instagram-business":{requiresMedia:!0,allowedMediaTypes:["image/jpg","image/jpeg",a,r,s],image:{maxSize:8,minWidth:320,maxWidth:1440,aspectRatio:{min:.8,max:1.91}},video:{maxLength:900,minLength:3,maxSize:1e3,maxWidth:1920,aspectRatio:{min:.01,max:10}}},mastodon:{allowedMediaTypes:c.concat([...u,a,s]),image:{maxSize:10},video:{maxSize:40}},nextdoor:{allowedMediaTypes:d.concat([...p,a,s]),image:{maxSize:10},video:{maxSize:500}}},f=["image/png","image/jpeg","image/jpg","image/heic","image/heif","image/webp"],v=[...new Set([...o,...i,...c,...l,...u,...f])]},38656:(e,t,n)=>{"use strict";n.d(t,{e:()=>i});var a=n(97999),r=n(47143),s=n(43656),o=n(27844);function i(){return!(0,r.useSelect)((e=>"jetpack-social-note"===e(s.store).getCurrentPostType()),[])&&(0,a.siteHasFeature)(o.q.IMAGE_GENERATOR)}},383:(e,t,n)=>{"use strict";n.d(t,{h:()=>i});var a=n(47143),r=n(43656),s=n(86087),o=n(70407);function i(){const{editPost:e}=(0,a.useDispatch)(r.store),t=(0,a.useSelect)((e=>{const t=e(r.store).getEditedPostAttribute("meta")||{},n=t.jetpack_publicize_feature_enabled??!0,a=t.jetpack_social_options||{};return{isPublicizeEnabled:n,jetpackSocialOptions:a,attachedMedia:a.attached_media||[],imageGeneratorSettings:a.image_generator_settings??{enabled:!1},isPostAlreadyShared:t.jetpack_social_post_already_shared??!1,shareMessage:`${t.jetpack_publicize_message||""}`.substring(0,(0,o.getShareMessageMaxLength)())}}),[]),n=(0,s.useCallback)(((t,n)=>{e({meta:{[t]:n}})}),[e]),i=(0,s.useCallback)((()=>{n("jetpack_publicize_feature_enabled",!t.isPublicizeEnabled)}),[t.isPublicizeEnabled,n]),l=(0,s.useCallback)(((e,a)=>{n("jetpack_social_options",{...t.jetpackSocialOptions,[e]:a,version:2})}),[t.jetpackSocialOptions,n]);return(0,s.useMemo)((()=>({...t,togglePublicizeFeature:i,updateJetpackSocialOptions:l,updateMeta:n})),[t,i,l,n])}},57275:(e,t,n)=>{"use strict";n.d(t,{z:()=>o});var a=n(47143),r=n(43656),s=n(86087);function o(e){const t=(0,a.useSelect)((e=>e(r.store).isPublishingPost()),[]),[n,o]=(0,s.useState)(e),i=(0,s.useRef)(!1);return(0,s.useEffect)((()=>{t&&(i.current=!0),i.current||o(e)}),[t,e]),n}},77627:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var a=n(39384),r=n(85985),s=n(47143),o=n(43656),i=n(70407),l=n(383);const c="republicize";function u(){const e=!(0,r.d9)()&&!(0,r.Sy)()||(0,r.FB)(c)?.available,t=(0,s.useSelect)((e=>e(o.store).isCurrentPostPublished()),[]),{isUserConnected:n}=(0,a.useConnection)(),{urls:u}=(0,i.getSocialScriptData)(),{isPublicizeEnabled:d,togglePublicizeFeature:p,isPostAlreadyShared:m}=(0,l.h)(),h=(0,r.W4)(c)&&!e,g=t?e:d,f=t&&h,v=t&&!e,b=!n&&!(0,r.Sy)();return{isPublicizeEnabledMeta:d,isPublicizeEnabled:g,togglePublicizeFeature:p,isPublicizeDisabledBySitePlan:f,isRePublicizeFeatureAvailable:e,isRePublicizeUpgradableViaUpsell:h,hidePublicizeFeature:v,isPostAlreadyShared:m,isSocialImageGeneratorEnabled:!!(0,r.$i)()?.social?.isSocialImageGeneratorEnabled,connectionsPageUrl:u.connectionsManagementPage,needsUserConnection:b}}},88584:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var a=n(29491),r=n(86087),s=n(86212),o=n(50001);function i(){const e=(0,r.useRef)(!1),t=(0,r.useRef)(!0),n=(0,s.A)(),{refresh:i}=(0,o.A)(),l=(0,a.useDebounce)(i,0),c=(0,a.useDebounce)(i,2e3);return()=>{t.current&&(l(),t.current=!1),n||(e.current=!0,c.cancel()),n&&e.current&&(c(),e.current=!1)}}},38394:(e,t,n)=>{"use strict";n.d(t,{i:()=>o});var a=n(27723),r=n(16480),s=n(51609);const __=a.__;function o({onError:e,onSuccess:t}){const[n,a]=(0,s.useState)(!1),o=(0,s.useCallback)((async(n,s="image")=>{try{a(!0);const o=await fetch(n);if(!o.ok)return void e(new Error(__("Failed to download image.","jetpack"),{cause:o}));const i=await o.blob(),l=new File([i],s,{type:i.type});await(0,r.uploadMedia)({filesList:[l],onFileChange:([e])=>{void 0!==e.id&&(t(e),a(!1))},onError:t=>{e(new Error(__("Failed to save image to library.","jetpack"),{cause:t})),a(!1)},maxUploadFileSize:0})}catch(t){e(new Error(__("Failed to save image to library.","jetpack"),{cause:t}))}finally{a(!1)}}),[e,t]);return(0,s.useMemo)((()=>({isSaving:n,save:o})),[n,o])}},49036:(e,t,n)=>{"use strict";n.d(t,{Wv:()=>l,_D:()=>i});var a=n(29491),r=n(47143),s=n(43656),o=n(86087);function i(e,t){const n=(0,r.useSelect)((e=>e(s.store).isPublishingPost()),[]),i=(0,a.usePrevious)(n);(0,o.useEffect)((()=>{i&&!n&&e()}),[n,i,e,t])}function l(e,t){const n=(0,r.useSelect)((e=>e(s.store).isPublishingPost()),[]),i=(0,a.usePrevious)(n);(0,o.useEffect)((()=>{!i&&n&&e()}),[n,i,e,t])}},31873:(e,t,n)=>{"use strict";n.d(t,{A:()=>m});var a=n(1455),r=n.n(a),s=n(47143),o=n(43656),i=n(86087),l=n(27723),c=n(50001),u=n(39553),d=n(51371);const __=l.__;function p(e){const t=e?.code,n=e?.errors?.length;if(!t&&!n)return!1;let a="";return t&&(a=__("Unable to share the Post","jetpack")),n&&(a=__("Unable to share the Post","jetpack")),{message:a,result:e}}function m(e){const{message:t}=(0,u.A)(),{skippedConnections:n}=(0,c.A)(),a=(0,s.useSelect)((e=>e(o.store).getCurrentPostId()),[]);e=e||a;const[l,m]=(0,i.useState)({data:[],error:{}}),h=(0,d.n)().api_paths.resharePost.replace("{postId}",e),g=(0,i.useCallback)((async function(a=null){const s={isFetching:!1,isError:!1,isSuccess:!1,data:[],error:{},postId:e};if(l.isFetching)return;const o=a||n;return m({...s,isFetching:!0}),await r()({path:h,method:"POST",data:{message:t,skipped_connections:o,async:!0}}).then(((e={})=>{const t=p(e);if(t)return m((e=>({...e,isFetching:!1,isSuccess:!1,isError:!0,data:[],error:t})));m((t=>({...t,isFetching:!1,isSuccess:!0,isError:!1,data:e?.results,error:{}})))})).catch((e=>{m((t=>({...t,isFetching:!1,isSuccess:!1,isError:!0,data:[],error:p(e)})))})),function(){m(s)}}),[e,t,n,l.isFetching,h]);return{...l,doPublicize:g}}},50001:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var a=n(47143),r=n(31963);function s(){const{refreshConnectionTestResults:e,toggleConnectionById:t}=(0,a.useDispatch)(r.M_);return{...(0,a.useSelect)((e=>{const t=e(r.M_),n=t.getConnections(),a=t.getEnabledConnections(),s=t.getDisabledConnections().map((e=>e.connection_id));return{connections:n,hasConnections:n.length>0,hasEnabledConnections:a.length>0,skippedConnections:s,enabledConnections:a}}),[]),toggleById:t,refresh:e}}},39553:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var a=n(70407),r=n(383);function s(){const{updateMeta:e,shareMessage:t}=(0,r.h)();return{message:t,maxLength:(0,a.getShareMessageMaxLength)(),updateMessage:function(t){e("jetpack_publicize_message",t)}}}},75168:(e,t,n)=>{"use strict";n.d(t,{F:()=>i});var a=n(47143),r=n(43656),s=n(31963),o=n(49036);function i(){const{mergeConnections:e}=(0,a.useDispatch)(s.M_),{didPostSaveRequestSucceed:t,isCurrentPostPublished:n,getEditedPostAttribute:i}=(0,a.useSelect)((e=>e(r.store)),[]);(0,o._D)((()=>{if(t()&&n()){const t=i("jetpack_publicize_connections");t?.length&&e(t)}}),[t,n,i])}},38716:(e,t,n)=>{"use strict";n.r(t),n.d(t,{abortRefreshConnectionsRequest:()=>k,abortRequest:()=>b,addConnection:()=>m,closeConnectionsModal:()=>B,createAbortController:()=>f,createConnection:()=>j,deleteConnection:()=>_,deleteConnectionById:()=>A,deletingConnection:()=>C,mergeConnections:()=>g,openConnectionsModal:()=>T,refreshConnectionTestResults:()=>y,removeAbortControllers:()=>v,setConnections:()=>d,setKeyringResult:()=>p,setReconnectingAccount:()=>R,syncConnectionsToPostMeta:()=>E,toggleConnection:()=>h,toggleConnectionById:()=>w,toggleConnectionsModal:()=>L,updateConnection:()=>S,updateConnectionById:()=>P,updatingConnection:()=>N});var a=n(692),r=n(1455),s=n.n(r),o=n(47143),i=n(43656),l=n(27723),c=n(51371),u=n(54118);const __=l.__;function d(e){return{type:u.dA,connections:e}}function p(e){return{type:u.BN,keyringResult:e}}function m(e){return{type:u.Bc,connection:e}}function h(e){return{type:u.af,connectionId:e}}function g(e){return function({dispatch:t,select:n}){const a=n.getConnections(),r=[],s={done:!1,enabled:!0,toggleable:!0};for(const t of e){const e=a.find((e=>e.connection_id?e.connection_id===t.connection_id:e.id===t.id)),n={...s,...e,...t,shared:e?.shared,is_healthy:t.test_success};r.push(n)}t(d(r))}}function f(e,t){return{type:u.WB,requestType:t,abortController:e}}function v(e){return{type:u.Wp,requestType:e}}function b(e){return function({dispatch:t,select:n}){const a=n.getAbortControllers(e);for(const e of a)e.abort();t(v(e))}}function k(){return b(u.rz)}function y(e=!1){return async function({dispatch:t,select:n}){try{const a=(0,c.n)().api_paths.refreshConnections;for(;n.getUpdatingConnections().length>0||n.getDeletingConnections().length>0;)await new Promise((e=>setTimeout(e,100)));const r=new AbortController;t(f(r,u.rz));t(g(await s()({path:a,signal:r.signal}))),e&&t(E())}catch(n){"AbortError"===n.name&&t(y(e))}}}function E(){return function({registry:e,select:t}){const n=t.getConnections();return e.dispatch(i.store).editPost({jetpack_publicize_connections:n})}}function w(e,t=!0){return function({dispatch:n}){n(h(e)),t&&n(E())}}function _(e){return{type:u.nC,connectionId:e}}function C(e,t=!0){return{type:u.WH,connectionId:e,deleting:t}}function A({connectionId:e,showSuccessNotice:t=!0}){return async function({registry:n,dispatch:r}){const{createErrorNotice:l,createSuccessNotice:c}=(0,o.dispatch)(a.store);try{const a=`/jetpack/v4/social/connections/${e}`;return r(k()),r(C(e)),await s()({method:"DELETE",path:a}),r(_(e)),t&&c(__("Account disconnected successfully.","jetpack"),{type:"snackbar",isDismissible:!0}),n.select(i.store).getCurrentPostId()&&r(E()),!0}catch(e){let t=__("Error disconnecting account.","jetpack");"object"==typeof e&&"message"in e&&e.message&&(t=`${t} ${e.message}`),l(t,{type:"snackbar",isDismissible:!0})}finally{r(C(e,!1))}return!1}}let x=1;function j(e,t={}){return async function({registry:n,dispatch:r}){const{createErrorNotice:c,createSuccessNotice:u}=(0,o.dispatch)(a.store),d="new-"+ ++x;try{const a="/jetpack/v4/social/connections/";r(m({connection_id:d,...t})),r(k()),r(N(d));const o=await s()({method:"POST",path:a,data:e});o&&(r(S(d,{...o,can_disconnect:!0,enabled:!0})),u((0,l.sprintf)(/* translators: %s is the name of the social media platform e.g. "Facebook" */ -__("%s account connected successfully.","jetpack"),o.label),{type:"snackbar",isDismissible:!0}),n.select(i.store).getCurrentPostId()&&r(E()))}catch(e){let t=__("Error connecting account.","jetpack");"object"==typeof e&&"message"in e&&e.message&&(t=`${t} ${e.message}`),c(t,{type:"snackbar",isDismissible:!0})}finally{r(N(d,!1)),r(_(d))}}}function S(e,t){return{type:u.dw,connectionId:e,data:t}}function N(e,t=!0){return{type:u._6,connectionId:e,updating:t}}function R(e){return{type:u.Nv,reconnectingAccount:e}}function P(e,t){return async function({dispatch:n,select:r}){const{createErrorNotice:i,createSuccessNotice:l}=(0,o.dispatch)(a.store),c=r.getConnectionById(e);try{const a=`/jetpack/v4/social/connections/${e}`;n(k()),n(S(e,t)),n(N(e));await s()({method:"POST",path:a,data:t})&&l(__("Account updated successfully.","jetpack"),{type:"snackbar",isDismissible:!0})}catch(t){let a=__("Error updating account.","jetpack");"object"==typeof t&&"message"in t&&t.message&&(a=`${a} ${t.message}`),n(S(e,c)),i(a,{type:"snackbar",isDismissible:!0})}finally{n(N(e,!1))}}}function L(e){return{type:u.xW,isOpen:e}}function T(){return L(!0)}function B(){return L(!1)}},54118:(e,t,n)=>{"use strict";n.d(t,{BN:()=>d,Bc:()=>r,M6:()=>k,Nv:()=>u,WB:()=>m,WH:()=>i,Wp:()=>h,_6:()=>c,_y:()=>b,aF:()=>y,af:()=>s,b5:()=>g,dA:()=>a,dw:()=>l,fz:()=>v,nC:()=>o,rz:()=>f,xW:()=>p});const a="SET_CONNECTIONS",r="ADD_CONNECTION",s="TOGGLE_CONNECTION",o="DELETE_CONNECTION",i="DELETING_CONNECTION",l="UPDATE_CONNECTION",c="UPDATING_CONNECTION",u="SET_RECONNECTING_ACCOUNT",d="SET_KEYRING_RESULT",p="TOGGLE_CONNECTIONS_MODAL",m="ADD_ABORT_CONTROLLER",h="REMOVE_ABORT_CONTROLLERS",g="DEFAULT",f="REFRESH_CONNECTIONS",v="FETCH_POST_SHARE_STATUS",b="RECEIVE_POST_SHARE_STATUS",k="TOGGLE_SHARE_STATUS_MODAL",y="POLLING_FOR_POST_SHARE_STATUS"},62491:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var a=n(38716),r=n(72451),s=n(64236),o=n(33134);const i={...r,...a,...s,...n(83117),...o}},72451:(e,t,n)=>{"use strict";n.r(t),n.d(t,{closeShareStatusModal:()=>c,defaultIsRequestComplete:()=>u,fetchPostShareStatus:()=>s,openShareStatusModal:()=>l,pollForPostShareStatus:()=>h,pollingForPostShareStatus:()=>m,receivePostShareStaus:()=>o,toggleShareStatusModal:()=>i});var a=n(43656),r=n(54118);function s(e,t=!0){return{type:r.fz,postId:e,loading:t}}function o(e,t){return{type:r._y,shareStatus:e,postId:t}}function i(e){return{type:r.M6,isOpen:e}}function l(){return i(!0)}function c(){return i(!1)}const u=({lastTimestamp:e,postShareStatus:t})=>e?t.shares.some((t=>t.timestamp>e)):t.shares.length>0,d=6e4,p=3e3;function m(e,t=!0){return{type:r.aF,postId:e,polling:t}}function h({pollingInterval:e=p,postId:t,isRequestComplete:n=u,timeout:r=d}={}){return async function({dispatch:s,select:o,registry:i}){const l=Date.now(),c=t||i.select(a.store).getCurrentPostId(),u=o.getPostShareStatus(c).shares[0]?.timestamp||0;let d=!1,p=!1;s(m(c));do{o.getPostShareStatus(c).loading||s.invalidateResolution("getPostShareStatus",[c]),await new Promise((t=>setTimeout(t,e))),d=n({lastTimestamp:u,postShareStatus:o.getPostShareStatus(c)}),p=Date.now()-l>r}while(!d&&!p);s(m(c,!1))}}},64236:(e,t,n)=>{"use strict";n.r(t),n.d(t,{updateSocialImageGeneratorConfig:()=>s});var a=n(3582),r=n(75238);function s(e){return async function({registry:t}){const{saveSite:n}=t.dispatch(a.store);await n({[r.A]:e})}}},33134:(e,t,n)=>{"use strict";n.r(t),n.d(t,{updateSocialPluginSettings:()=>r});var a=n(3582);function r(e){return async function({registry:t}){const{saveEntityRecord:n}=t.dispatch(a.store);await n("jetpack/v4","social/settings",e)}}},83117:(e,t,n)=>{"use strict";n.r(t),n.d(t,{updateUtmSettings:()=>s});var a=n(3582),r=n(75238);function s(e){return async function({registry:t}){const{saveSite:n}=t.dispatch(a.store);await n({[r.b]:e})}}},75238:(e,t,n)=>{"use strict";n.d(t,{A:()=>a,b:()=>r});const a="jetpack_social_image_generator_settings",r="jetpack_social_utm_settings"},31963:(e,t,n)=>{"use strict";n.d(t,{Af:()=>c,BB:()=>k,M_:()=>y,PX:()=>b,V6:()=>h,bN:()=>p,gt:()=>m,me:()=>v,s:()=>d,zW:()=>g,zk:()=>f});var a=n(47143),r=n(70407),s=n(62491),o=n(708),i=n(75772),l=n(62146);const c="jetpack-social-plugin",u={reducer:o.A,actions:s.A,selectors:l.A,resolvers:i.Ay,initialState:(0,r.getSocialScriptData)()?.store_initial_state},d="facebook",p="instagram-business",m="linkedin",h="mastodon",g="bluesky",f="nextdoor",v="tumblr",b="twitter",k="threads",y=(0,a.createReduxStore)(c,u);(0,a.register)(y)},62015:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});var a=n(54118);const r=(e={connections:[]},t)=>{switch(t.type){case a.xW:return{...e,isConnectionsModalOpen:t.isOpen};case a.Bc:return{...e,connections:[...e.connections,t.connection]};case a.dA:return{...e,connections:t.connections};case a.nC:return{...e,connections:e.connections.filter((({connection_id:e})=>e!==t.connectionId))};case a.WH:{const n=new Set(e.deletingConnections);return t.deleting?n.add(t.connectionId):n.delete(t.connectionId),{...e,deletingConnections:[...n]}}case a.Nv:return{...e,reconnectingAccount:t.reconnectingAccount};case a.dw:return{...e,connections:e.connections.map((e=>e.connection_id===t.connectionId?{...e,...t.data}:e))};case a._6:{const n=new Set(e.updatingConnections);return t.updating?n.add(t.connectionId):n.delete(t.connectionId),{...e,updatingConnections:[...n]}}case a.WB:{const n=t.requestType||a.b5;return{...e,abortControllers:{...e.abortControllers,[n]:[...e.abortControllers?.[n]||[],t.abortController]}}}case a.Wp:{const n=t.requestType||a.b5;return{...e,abortControllers:{...e.abortControllers,[n]:[]}}}case a.BN:return{...e,keyringResult:t.keyringResult};case a.af:return{...e,connections:e.connections.map((e=>(e.connection_id?e.connection_id===t.connectionId:e.id===t.connectionId)?{...e,enabled:!e.enabled}:e))}}return e}},708:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var a=n(47143),r=n(62015),s=n(53202);const o=(0,a.combineReducers)({connectionData:r.A,shareStatus:s.q})},53202:(e,t,n)=>{"use strict";n.d(t,{q:()=>r});var a=n(54118);function r(e={},t){switch(t.type){case a.fz:return{...e,[t.postId]:{shares:[],...e?.[t.postId],loading:t.loading??!0}};case a.aF:return{...e,[t.postId]:{shares:[],...e?.[t.postId],polling:t.polling??!0}};case a._y:return{...e,[t.postId]:{...e?.[t.postId],...t.shareStatus,loading:!1}};case a.M6:return{...e,isModalOpen:t.isOpen}}return e}},75772:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>p});var a=n(1455),r=n.n(a),s=n(3582),o=n(43656),i=n(27723),l=n(51371),c=n(59061),u=n(38716),d=n(72451);const __=i.__;const p={getConnections:function(){return function({dispatch:e,registry:t}){const n=t.select(o.store);if(!n.getCurrentPostId())return;const a=n.getEditedPostAttribute("jetpack_publicize_connections");e((0,u.setConnections)(a||[]))}},getPostShareStatus:function(e){return async({dispatch:t,registry:n})=>{const a=e||n.select(o.store).getCurrentPostId(),{feature_flags:s}=(0,l.n)();if(s.useShareStatus)try{t((0,d.fetchPostShareStatus)(a));let e=await r()({path:`jetpack/v4/social/share-status/${a}`});e=(0,c.xA)(e),t((0,d.receivePostShareStaus)(e,a))}catch{t((0,d.fetchPostShareStatus)(a,!1))}}},getSocialPluginSettings:function(){return async({registry:e})=>{e.select(s.store).getEntitiesConfig("jetpack/v4").some((({name:e})=>"social/settings"===e))||await e.dispatch(s.store).addEntities([{kind:"jetpack/v4",name:"social/settings",baseURL:"/jetpack/v4/social/settings",label:__("Social Settings","jetpack")}])}}}},28343:(e,t,n)=>{"use strict";n.r(t),n.d(t,{getAbortControllers:()=>b,getBrokenConnections:()=>i,getConnectionById:()=>o,getConnectionProfileDetails:()=>h,getConnections:()=>s,getConnectionsByService:()=>l,getDeletingConnections:()=>g,getDisabledConnections:()=>m,getEnabledConnections:()=>p,getFailedConnections:()=>u,getKeyringResult:()=>E,getMustReauthConnections:()=>d,getReconnectingAccount:()=>v,getUpdatingConnections:()=>f,hasConnections:()=>c,isBlueskyAccountAlreadyConnected:()=>y,isConnectionsModalOpen:()=>w,isMastodonAccountAlreadyConnected:()=>k});var a=n(50384),r=n(54118);function s(e){return e.connectionData?.connections??[]}function o(e,t){return s(e).find((e=>e.connection_id===t))}function i(e){return s(e).filter((e=>"broken"===e.status||(0,a.Y)(e,"broken")))}function l(e,t){return s(e).filter((({service_name:e})=>e===t))}function c(e){return s(e).length>0}function u(e){return s(e).filter((e=>!1===e.test_success))}function d(e){return s(e).filter((e=>"must_reauth"===e.test_success)).map((e=>e.service_name))}function p(e){return s(e).filter((e=>e.enabled))}function m(e){return s(e).filter((e=>!e.enabled))}function h(e,t,{forceDefaults:n=!1}={}){let a="",r="",o="";if(!n){const n=s(e).find((({service_name:e})=>t===e));if(n){const{display_name:e,profile_display_name:s,profile_picture:i,external_display:l,external_name:c}=n;a="twitter"===t?s:e||l,o="twitter"===t?e:n.username,r=i,"bluesky"===t&&(o=c)}}return{displayName:a,profileImage:r,username:o}}function g(e){return e.connectionData?.deletingConnections??[]}function f(e){return e.connectionData?.updatingConnections??[]}function v(e){return e.connectionData?.reconnectingAccount}function b(e,t=r.b5){return e.connectionData?.abortControllers?.[t]??[]}function k(e,t){return l(e,"mastodon").some((e=>e.external_display===t))}function y(e,t){return l(e,"bluesky").some((e=>e.external_name===t))}function E(e){return e.connectionData?.keyringResult}function w(e){return e.connectionData?.isConnectionsModalOpen??!1}},62146:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var a=n(3582),r=n(47143),s=n(28343),o=n(49424),i=n(59379),l=n(68273),c=n(86982);const u={...s,...o,isSavingSiteSettings:(0,r.createRegistrySelector)((e=>()=>e(a.store).isSavingEntityRecord("root","site",void 0))),...i,...c,...l}},49424:(e,t,n)=>{"use strict";n.r(t),n.d(t,{getPostShareStatus:()=>s,isShareStatusModalOpen:()=>o});var a=n(47143),r=n(43656);const s=(0,a.createRegistrySelector)((e=>(t,n)=>{const a=n||e(r.store).getCurrentPostId();return t.shareStatus?.[a]??{shares:[]}}));function o(e){return e.shareStatus?.isModalOpen??!1}},59379:(e,t,n)=>{"use strict";n.r(t),n.d(t,{getSocialImageGeneratorConfig:()=>i});var a=n(3582),r=n(47143),s=n(70407),o=n(75238);const i=(0,r.createRegistrySelector)((e=>()=>{const{getSite:t}=e(a.store),n=t(void 0,{_fields:o.A});return n?.[o.A]??(0,s.getSocialScriptData)().settings.socialImageGenerator}))},68273:(e,t,n)=>{"use strict";n.r(t),n.d(t,{getSocialPluginSettings:()=>o,isSavingSocialPluginSettings:()=>i});var a=n(3582),r=n(47143),s=n(70407);const o=(0,r.createRegistrySelector)((e=>()=>e(a.store).getEntityRecord("jetpack/v4","social/settings",void 0)??(0,s.getSocialScriptData)().settings.socialPlugin)),i=(0,r.createRegistrySelector)((e=>()=>e(a.store).isSavingEntityRecord("jetpack/v4","social/settings",void 0)))},86982:(e,t,n)=>{"use strict";n.r(t),n.d(t,{getUtmSettings:()=>i});var a=n(3582),r=n(47143),s=n(70407),o=n(75238);const i=(0,r.createRegistrySelector)((e=>()=>{const{getSite:t}=e(a.store),n=t(void 0,{_fields:o.b});return n?.[o.b]??(0,s.getSocialScriptData)().settings.utmSettings}))},50384:(e,t,n)=>{"use strict";n.d(t,{Y:()=>a});const a=(e,t)=>!1===e.is_healthy&&t===(e.error_code??"broken")},27844:(e,t,n)=>{"use strict";n.d(t,{q:()=>a});const a={ENHANCED_PUBLISHING:"social-enhanced-publishing",IMAGE_GENERATOR:"social-image-generator"}},12093:(e,t,n)=>{"use strict";n.d(t,{T:()=>r});const a=255;function r(){return a}},3280:(e,t,n)=>{"use strict";n.d(t,{n:()=>r});var a=n(85985);function r(){return(0,a.$i)()?.social?.supportedAdditionalConnections||[]}},70407:(e,t,n)=>{"use strict";n.d(t,{getShareMessageMaxLength:()=>a.T,getSocialScriptData:()=>i.n,getSupportedAdditionalConnections:()=>r.n,hasSocialPaidFeatures:()=>i.p,requestExternalAccess:()=>s.x});var a=n(12093),r=n(3280),s=n(5367),o=n(18672);n.o(o,"GlobalModals")&&n.d(t,{GlobalModals:function(){return o.GlobalModals}}),n.o(o,"getSocialScriptData")&&n.d(t,{getSocialScriptData:function(){return o.getSocialScriptData}}),n.o(o,"hasSocialPaidFeatures")&&n.d(t,{hasSocialPaidFeatures:function(){return o.hasSocialPaidFeatures}}),n.o(o,"usePostCanUseSig")&&n.d(t,{usePostCanUseSig:function(){return o.usePostCanUseSig}}),n.o(o,"useSyncPostDataToStore")&&n.d(t,{useSyncPostDataToStore:function(){return o.useSyncPostDataToStore}});var i=n(51371);n(27844)},5367:(e,t,n)=>{"use strict";n.d(t,{x:()=>r});var a=n(51119);const r=(e,t)=>{const n=new a.A;let r;n.open(e,null,"toolbar=0,location=0,status=0,menubar=0,"+n.getScreenCenterSpecs(780,700)),n.once("close",(()=>{t(r?.ID?r:{})})),n.on("message",(e=>{r=e?.data}))}},51371:(e,t,n)=>{"use strict";n.d(t,{n:()=>r,p:()=>s});var a=n(97999);function r(){return(0,a.getScriptData)()?.social}function s(){return(0,a.siteHasFeature)("social-enhanced-publishing")}},59061:(e,t,n)=>{"use strict";function a(e){return e&&"shares"in e&&e.done&&e.shares.sort(((e,t)=>t.timestamp-e.timestamp)),e}function r(e){return t=>t.service_name===e.service&&(e.external_id?t.external_id===e.external_id:t.connection_id===e.connection_id.toString())}function s(e,t){return e.service===t.service&&(e.connection_id===t.connection_id||!(!e.external_id&&!t.external_id)&&e.external_id===t.external_id)}n.d(t,{Ri:()=>s,eJ:()=>r,xA:()=>a})},50646:(e,t,n)=>{"use strict";n(51371)},18672:()=>{},85985:(e,t,n)=>{"use strict";n.d(t,{$i:()=>a.A,BT:()=>l.A,Cq:()=>h.C,Dk:()=>c.Dk,FB:()=>o.A,GE:()=>r.A,GT:()=>c.GT,Q4:()=>c.Q4,Sy:()=>s.Sy,W4:()=>c.W4,aq:()=>c.aq,d9:()=>s.d9,gB:()=>u.A,jt:()=>m.A,lk:()=>s.lk,pP:()=>s.pP,q7:()=>p.A,sH:()=>c.sH,sh:()=>h.s,st:()=>d.A,tu:()=>c.tu,vp:()=>i.A});var a=n(34972),r=n(54815),s=n(62634),o=n(60703),i=n(82034),l=n(65595),c=n(53265),u=n(49354),d=n(73489),p=n(76923),m=n(15877),h=n(30335);n(88290)},15877:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var a=n(67142),r=n(51609),s=n.n(r);const o=()=>s().createElement(a.A,{className:"jetpack-editor-panel-logo",height:16,logoColor:"#1E1E1E",showText:!1})},30335:(e,t,n)=>{"use strict";n.d(t,{C:()=>o,s:()=>s});var a=n(86087),r=n(19334);function s(e){const t={};let n="span",r=e.icon;const s=document.createElement("div");s.innerHTML=e.icon;const o=s.querySelector("svg");return o&&(n="svg",r=o.innerHTML,Array.from(o.attributes).forEach((({nodeName:e,nodeValue:n})=>t[e]=n))),(0,a.createElement)(n,{...t,dangerouslySetInnerHTML:{__html:r||""}})}function o(e){return{src:s(e),foreground:(0,r.A)()}}},19334:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var a=n(62634);const r="#069e08";function s(){return(0,a.d9)()||(0,a.Sy)()?null:r}},34972:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const a="Jetpack_Editor_Initial_State";function r(){return"object"==typeof window?window?.[a]??null:null}},60703:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});var a=n(34972);function r(e){const t=(0,a.A)(),n=t?.available_blocks?.[e]?.available??!1,r=t?.available_blocks?.[e]?.unavailable_reason??"unknown";return{available:n,...!n&&{details:t?.available_blocks?.[e]?.details??[],unavailableReason:r}}}},54815:(e,t,n)=>{"use strict";function a(){return window&&window.Jetpack_Editor_Initial_State&&window.Jetpack_Editor_Initial_State.siteFragment?window.Jetpack_Editor_Initial_State.siteFragment:null}n.d(t,{A:()=>a})},73489:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var a=n(90372),r=n(39384),s=n(86087);const{tracks:o}=a.A,{recordEvent:i}=o,l=({pageViewEventName:e=null,pageViewNamespace:t="jetpack",pageViewSuffix:n="page_view",pageViewEventProperties:l={}}={})=>{const[c,u]=(0,s.useState)(!1),{isUserConnected:d,isRegistered:p,userConnectionData:m={}}=(0,r.useConnection)(),{wpcomUser:{login:h,ID:g}={},blogId:f}=m.currentUser||{},v=(0,s.useCallback)((async(e,t={})=>{d&&g&&h&&i(e,t)}),[d,g,h]);return(0,s.useEffect)((()=>{d&&g&&h&&f&&a.A.initialize(g,h,{blog_id:f})}),[f,g,h,d]),(0,s.useEffect)((()=>{const a=e?`${t}_${e}_${n}`:null;p&&a&&(c||(v(a,l),u(!0)))}),[c,t,e,n,p,l,v]),{recordEvent:v,tracks:o}}},76923:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var a=n(47143),r=n(86087),s=n(88290);const o=e=>{const{isModuleActive:t,isChangingStatus:n,isLoadingModules:o}=(0,a.useSelect)((t=>{const n=t(s.F);return{isModuleActive:n.isModuleActive(e),isChangingStatus:n.isModuleUpdating(e),isLoadingModules:n.areModulesLoading(e)}}),[e]),{updateJetpackModuleStatus:i}=(0,a.useDispatch)(s.F),l=(0,r.useCallback)((t=>i({name:e,active:t})),[e,i]);return(0,r.useMemo)((()=>({isLoadingModules:o,isChangingStatus:n,isModuleActive:t,changeStatus:l})),[o,n,t,l])}},49354:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});var a=n(34972);function r(){return(0,a.A)()?.jetpack?.is_current_user_connected??!1}},27105:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>d,E9:()=>u});var a=n(47143),r=n(62634),s=n(94478),o=n(88290);const i="SET_JETPACK_MODULES";function l(e){return u({isLoading:e})}function c(e,t){return{type:"SET_MODULE_UPDATING",name:e,isUpdating:t}}function u(e){return{type:i,options:e}}const d={updateJetpackModuleStatus:function*(e){try{yield c(e.name,!0),yield(0,s.sB)(e);const t=yield(0,s.wz)();return yield u({data:t}),!0}catch(e){const t=(0,a.select)(o.F).getJetpackModules();return yield u(t),!1}finally{yield c(e.name,!1)}},setJetpackModules:u,fetchModules:function*(){if((0,r.Sy)())return!0;try{yield l(!0);const e=yield(0,s.wz)();return yield u({data:e}),!0}catch(e){const t=(0,a.select)(o.F).getJetpackModules();return yield u(t),!1}finally{yield l(!1)}}}},94478:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>c,sB:()=>l,wz:()=>i});var a=n(1455),r=n.n(a);const s="FETCH_JETPACK_MODULES",o="UPDATE_JETPACK_MODULE_STATUS",i=()=>({type:s}),l=e=>({type:o,settings:e}),c={[s]:function(){return r()({path:"/jetpack/v4/module/all",method:"GET"})},[o]:function({settings:e}){return r()({path:`/jetpack/v4/module/${e.name}/active`,method:"POST",data:{active:e.active}})}}},88290:(e,t,n)=>{"use strict";n.d(t,{F:()=>c});var a=n(47143),r=n(27105),s=n(94478),o=n(38862),i=n(62701),l=n(31640);const c="jetpack-modules",u=(0,a.createReduxStore)(c,{reducer:o.A,actions:r.Ay,controls:s.Ay,resolvers:i.A,selectors:l.A});(0,a.register)(u);const d=window?.Initial_State?.getModules||window?.Jetpack_Editor_Initial_State?.modules||null;null!==d&&(0,a.dispatch)(c).setJetpackModules({data:{...d}})},38862:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const a={isLoading:!1,isUpdating:{},data:{}},r=(e=a,t)=>{switch(t.type){case"SET_JETPACK_MODULES":return{...e,...t.options};case"SET_MODULE_UPDATING":return{...e,isUpdating:{...e.isUpdating,[t.name]:t.isUpdating}}}return e}},62701:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var a=n(27105),r=n(94478);const s={getJetpackModules:function*(){try{const e=yield(0,r.wz)();if(e)return(0,a.E9)({data:e})}catch(e){console.error(e)}}}},31640:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});var a=n(62634);const r={getJetpackModules:e=>e.data,isModuleActive:(e,t)=>(0,a.Sy)()||(e?.data?.[t]?.activated??!1),areModulesLoading:e=>e.isLoading??!1,isModuleUpdating:(e,t)=>e?.isUpdating?.[t]??!1}},53265:(e,t,n)=>{"use strict";n.d(t,{Dk:()=>g,GT:()=>v,Q4:()=>u,W4:()=>d,aq:()=>p,sH:()=>f,tu:()=>m});var a=n(27723),r=n(93832),s=n(66087),o=n(34972),i=n(60703),l=n(54815),c=n(62634);const __=a.__;function u({planSlug:e,plan:t,postId:n,postType:a}){const o=(0,s.startsWith)(e,"jetpack_")?e:(0,s.get)(t,["path_slug"]),i=(void 0===a?()=>{const e=new URLSearchParams(window.location.search);return(0,r.addQueryArgs)(window.location.protocol+`//${(0,l.A)().replace("::","/")}/wp-admin/site-editor.php`,{postId:e.get("postId"),postType:e.get("postType"),plan_upgraded:1})}:()=>{const e=["page","post"].includes(a)?"":"edit";return(0,c.Sy)()?(0,r.addQueryArgs)("/"+(0,s.compact)([e,a,(0,l.A)(),n]).join("/"),{plan_upgraded:1}):(0,r.addQueryArgs)(window.location.protocol+`//${(0,l.A)().replace("::","/")}/wp-admin/post.php`,{action:"edit",post:n,plan_upgraded:1})})();return(0,c.d9)()?(0,r.addQueryArgs)(`https://wordpress.com/plans/${(0,l.A)()}`,{redirect_to:i,customerType:"business"}):o&&(0,r.addQueryArgs)(`https://wordpress.com/checkout/${(0,l.A)()}/${o}`,{redirect_to:i})}function d(e){if(!e)return!1;const t=/^jetpack\//.test(e)?e.substr(8,e.length):e,{available:n,unavailableReason:a}=(0,i.A)(t);return!n&&"missing_plan"===a}function p(e,t){return"missing_plan"===e&&t.required_plan}function m(e){if(!e)return!1;const t=/^jetpack\//.test(e)?e.substr(8,e.length):e,{details:n,unavailableReason:a}=(0,i.A)(t);return p(a,n)}const h=[{name:"core/cover",mediaPlaceholder:!0,mediaReplaceFlow:!0,fileType:"video",description:__("Upgrade your plan to use video covers","jetpack")},{name:"core/audio",mediaPlaceholder:!0,mediaReplaceFlow:!0,fileType:"audio",description:__("Upgrade your plan to upload audio","jetpack")}];function g(){return(0,s.get)((0,o.A)(),"jetpack.enable_upgrade_nudge",!1)}const f=e=>(0,s.map)(h,"name").includes(e),v=e=>(0,s.head)((0,s.filter)(h,(({name:t})=>t===e)))},82034:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var a=n(92279),r=n(60703);function s(e,t){const{available:n,unavailableReason:s}=(0,r.A)(e);return!!n&&(0,a.registerPlugin)(`jetpack-${e}`,t)}},62634:(e,t,n)=>{"use strict";n.d(t,{Sy:()=>s,d9:()=>o,lk:()=>l,pP:()=>i});var a=n(34972);function r(){return"object"==typeof window&&"string"==typeof window._currentSiteType?window._currentSiteType:null}function s(){return"simple"===r()}function o(){return"atomic"===r()}function i(){const e=(0,a.A)();return e?.jetpack?.is_private_site??!1}function l(){const e=(0,a.A)();return e?.jetpack?.is_coming_soon??!1}},65595:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var a=n(96072),r=n.n(a),s=n(29491);const o=e=>(0,s.createHigherOrderComponent)((t=>n=>React.createElement(t,r()({},n,{className:n.name===e?"has-warning is-interactive":n.className}))),"withHasWarningIsInteractiveClassNames")},84705:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>a.d});var a=n(58992);n(91135)},91135:(e,t,n)=>{"use strict";n.d(t,{$:()=>a});const a=[{name:"amazon",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M13.582 8.182c-1.648.185-3.802.308-5.344.984-1.781.769-3.03 2.337-3.03 4.644 0 2.953 1.86 4.429 4.253 4.429 2.02 0 3.125-.477 4.685-2.065.516.747.685 1.109 1.629 1.894a.59.59 0 0 0 .672-.066l.006.006c.567-.505 1.599-1.401 2.18-1.888.231-.188.19-.496.009-.754-.52-.718-1.072-1.303-1.072-2.634V8.305c0-1.876.133-3.599-1.249-4.891C15.23 2.369 13.422 2 12.04 2 9.336 2 6.318 3.01 5.686 6.351c-.068.355.191.542.423.594l2.754.298c.258-.013.445-.266.494-.523.236-1.151 1.2-1.706 2.284-1.706.584 0 1.249.215 1.595.738.398.584.346 1.384.346 2.061zm-.533 5.906c-.451.8-1.169 1.291-1.967 1.291-1.09 0-1.728-.83-1.728-2.061 0-2.42 2.171-2.86 4.227-2.86v.615c.001 1.108.027 2.031-.532 3.015m7.634 5.251C18.329 21.076 14.917 22 11.979 22c-4.118 0-7.826-1.522-10.632-4.057-.22-.199-.024-.471.241-.317 3.027 1.762 6.771 2.823 10.639 2.823 2.608 0 5.476-.541 8.115-1.66.397-.169.73.262.341.55m.653 1.704c-.194.163-.379.076-.293-.139.284-.71.92-2.298.619-2.684s-1.99-.183-2.749-.092c-.23.027-.266-.173-.059-.319 1.348-.946 3.555-.673 3.811-.356.26.32-.066 2.533-1.329 3.59"})))},{name:"behance",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M7.799 5.698c.589 0 1.12.051 1.606.156q.722.155 1.241.507.516.351.804.938c.188.387.281.871.281 1.443q0 .93-.421 1.551-.424.62-1.255 1.014 1.133.328 1.689 1.146.559.822.557 1.975 0 .935-.359 1.612a3.14 3.14 0 0 1-.973 1.114q-.613.432-1.399.637A6.1 6.1 0 0 1 7.963 18H2V5.698zm-.35 4.97q.721 0 1.192-.345.465-.344.463-1.119 0-.43-.152-.707a1.1 1.1 0 0 0-.416-.427 1.7 1.7 0 0 0-.596-.216 3.6 3.6 0 0 0-.697-.06H4.709v2.874zm.151 5.237q.401.001.759-.077c.243-.053.457-.137.637-.261.182-.12.332-.283.441-.491q.164-.31.163-.798-.002-.948-.533-1.357c-.356-.27-.83-.404-1.413-.404H4.709v3.388zm8.562-.041q.552.538 1.583.538.74 0 1.277-.374c.354-.248.571-.514.654-.79h2.155c-.347 1.072-.872 1.838-1.589 2.299-.708.463-1.572.693-2.58.693q-1.05 0-1.899-.337a4 4 0 0 1-1.439-.958 4.4 4.4 0 0 1-.904-1.484 5.4 5.4 0 0 1-.32-1.899q0-1 .329-1.863a4.4 4.4 0 0 1 .933-1.492q.607-.63 1.444-.994a4.6 4.6 0 0 1 1.857-.363q1.131-.001 1.98.44a3.94 3.94 0 0 1 1.389 1.181 4.8 4.8 0 0 1 .783 1.69q.24.947.171 1.983h-6.428c-.001.706.237 1.372.604 1.73m2.811-4.68c-.291-.321-.783-.496-1.384-.496q-.585 0-.973.2a2 2 0 0 0-.621.491 1.8 1.8 0 0 0-.328.628 2.7 2.7 0 0 0-.111.587h3.98c-.058-.625-.271-1.085-.563-1.41m-3.916-3.446h4.985V6.524h-4.985z"})))},{name:"blogger-alt",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M19.779 9.904h-.981l-.021.001a1.163 1.163 0 0 1-1.16-1.079l-.001-.013A5.813 5.813 0 0 0 11.803 3H8.871a5.813 5.813 0 0 0-5.813 5.813v6.375a5.813 5.813 0 0 0 5.813 5.813h6.257a5.814 5.814 0 0 0 5.813-5.813l.002-4.121a1.164 1.164 0 0 0-1.164-1.163M8.726 7.713h3.291a1.117 1.117 0 1 1 0 2.234H8.726a1.117 1.117 0 1 1 0-2.234m6.601 8.657H8.72a1.057 1.057 0 1 1 0-2.114h6.607a1.057 1.057 0 1 1 0 2.114"})))},{name:"blogger",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M14.722 14.019a.654.654 0 0 1-.654.654H9.977a.654.654 0 0 1 0-1.308h4.091c.361 0 .654.293.654.654m-4.741-3.321h2.038a.692.692 0 0 0 0-1.384H9.981a.692.692 0 0 0 0 1.384M21 5v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2m-3.456 6.39a.72.72 0 0 0-.72-.72h-.607l-.013.001a.72.72 0 0 1-.718-.668l-.001-.008a3.6 3.6 0 0 0-3.599-3.599H10.07a3.6 3.6 0 0 0-3.599 3.599v3.947a3.6 3.6 0 0 0 3.599 3.599h3.874a3.6 3.6 0 0 0 3.599-3.599z"})))},{name:"bluesky",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M21.2 3.3c-.5-.2-1.4-.5-3.6 1C15.4 6 12.9 9.2 12 11c-.9-1.8-3.4-5-5.7-6.7-2.2-1.6-3-1.3-3.6-1S2 4.6 2 5.1s.3 4.7.5 5.4c.7 2.3 3.1 3.1 5.3 2.8-3.3.5-6.2 1.7-2.4 5.9 4.2 4.3 5.7-.9 6.5-3.6.8 2.7 1.7 7.7 6.4 3.6 3.6-3.6 1-5.4-2.3-5.9 2.2.2 4.6-.5 5.3-2.8.4-.7.7-4.8.7-5.4 0-.5-.1-1.5-.8-1.8"})))},{name:"codepen",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"m22.016 8.84-.007-.037q-.006-.037-.015-.072-.007-.022-.013-.042l-.023-.062-.02-.042a.4.4 0 0 0-.03-.057l-.025-.038-.035-.052-.03-.037q-.021-.026-.043-.045-.015-.018-.035-.035a.4.4 0 0 0-.048-.04l-.037-.03-.015-.012-9.161-6.096a.86.86 0 0 0-.955 0L2.359 8.237l-.015.012-.038.028-.048.04a.638.638 0 0 0-.078.082q-.018.018-.03.037-.018.026-.035.052l-.025.038q-.016.031-.03.059l-.02.041a1 1 0 0 0-.034.106q-.01.034-.016.071-.003.02-.006.037a1 1 0 0 0-.009.114v6.093q0 .056.008.112l.007.038q.006.035.015.072a.2.2 0 0 0 .013.04q.01.032.022.063l.02.04a.4.4 0 0 0 .055.096l.035.052.03.037.042.045.035.035q.023.02.048.04l.038.03.013.01 9.163 6.095a.858.858 0 0 0 .959.004l9.163-6.095.015-.01q.02-.015.037-.03l.048-.04q.02-.017.035-.035.025-.024.043-.045l.03-.037.035-.052.025-.038a.4.4 0 0 0 .03-.058l.02-.04.023-.063c.003-.013.01-.027.013-.04q.009-.037.015-.072l.007-.037q.006-.062.007-.117V8.954a1 1 0 0 0-.008-.114m-9.154-4.376 6.751 4.49-3.016 2.013-3.735-2.492zm-1.724 0v4.009l-3.735 2.494-3.014-2.013zm-7.439 6.098L5.853 12l-2.155 1.438zm7.439 8.974-6.749-4.491 3.015-2.011 3.735 2.492zM12 14.035 8.953 12 12 9.966 15.047 12zm.862 5.501v-4.009l3.735-2.492 3.016 2.011zm7.441-6.098L18.147 12l2.156-1.438z"})))},{name:"deezer",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M20.129 3.662c.222-1.287.548-2.096.909-2.098h.001c.673.002 1.219 2.809 1.219 6.274s-.546 6.274-1.22 6.274c-.276 0-.531-.477-.736-1.276-.324 2.926-.997 4.937-1.776 4.937-.603 0-1.144-1.208-1.507-3.114-.248 3.624-.872 6.195-1.602 6.195-.458 0-.875-1.019-1.184-2.678C13.861 21.6 13.003 24 12.002 24s-1.861-2.399-2.231-5.824c-.307 1.659-.724 2.678-1.184 2.678-.73 0-1.352-2.571-1.602-6.195-.363 1.905-.903 3.114-1.507 3.114-.778 0-1.452-2.011-1.776-4.937-.204.802-.46 1.276-.736 1.276-.674 0-1.22-2.809-1.22-6.274s.546-6.274 1.22-6.274c.362 0 .685.812.91 2.098.357-2.22.94-3.662 1.6-3.662.784 0 1.463 2.04 1.784 5.002.314-2.156.791-3.53 1.325-3.53.749 0 1.385 2.703 1.621 6.474.443-1.933 1.085-3.146 1.795-3.146s1.352 1.214 1.795 3.146c.237-3.771.872-6.474 1.621-6.474.533 0 1.009 1.374 1.325 3.53.321-2.962 1-5.002 1.784-5.002.658 0 1.244 1.443 1.603 3.662M0 7.221c0-1.549.31-2.805.692-2.805s.692 1.256.692 2.805-.31 2.805-.692 2.805S0 8.77 0 7.221m22.616 0c0-1.549.31-2.805.692-2.805S24 5.672 24 7.221s-.31 2.805-.692 2.805-.692-1.256-.692-2.805"})))},{name:"discord",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M20.33 4.523A20 20 0 0 0 15.379 3a14 14 0 0 0-.634 1.289 18.4 18.4 0 0 0-5.495 0A14 14 0 0 0 8.615 3 20 20 0 0 0 3.66 4.527C.527 9.163-.323 13.684.102 18.141a20 20 0 0 0 6.073 3.049 14.7 14.7 0 0 0 1.301-2.097 13 13 0 0 1-2.048-.978q.258-.189.502-.378a14.27 14.27 0 0 0 12.142 0q.247.202.502.378a13 13 0 0 1-2.052.98 14.5 14.5 0 0 0 1.301 2.095 19.9 19.9 0 0 0 6.076-3.047c.498-5.168-.851-9.648-3.568-13.62M8.013 15.4c-1.183 0-2.161-1.074-2.161-2.395S6.796 10.6 8.01 10.6s2.183 1.083 2.163 2.405S9.22 15.4 8.013 15.4m7.974 0c-1.186 0-2.16-1.074-2.16-2.395s.944-2.405 2.16-2.405 2.178 1.083 2.157 2.405-.951 2.395-2.158 2.395"})))},{name:"dribbble",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12 22C6.486 22 2 17.514 2 12S6.486 2 12 2s10 4.486 10 10-4.486 10-10 10m8.434-8.631c-.292-.092-2.644-.794-5.32-.365 1.117 3.07 1.572 5.57 1.659 6.09a8.56 8.56 0 0 0 3.661-5.725m-5.098 6.507c-.127-.749-.623-3.361-1.822-6.477l-.056.019c-4.818 1.679-6.547 5.02-6.701 5.334A8.5 8.5 0 0 0 12 20.555a8.5 8.5 0 0 0 3.336-.679m-9.682-2.152c.193-.331 2.538-4.213 6.943-5.637q.167-.054.337-.102a29 29 0 0 0-.692-1.45c-4.266 1.277-8.405 1.223-8.778 1.216a8.497 8.497 0 0 0 2.19 5.973m-2.015-7.46c.382.005 3.901.02 7.897-1.041a55 55 0 0 0-3.167-4.94 8.57 8.57 0 0 0-4.73 5.981m6.359-6.555a46 46 0 0 1 3.187 5c3.037-1.138 4.323-2.867 4.477-3.085a8.51 8.51 0 0 0-7.664-1.915m8.614 2.903c-.18.243-1.612 2.078-4.77 3.367a27 27 0 0 1 .751 1.678c2.842-.357 5.666.215 5.948.275a8.5 8.5 0 0 0-1.929-5.32"})))},{name:"dropbox",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12 6.134 6.069 9.797 2 6.54l5.883-3.843zm-10 6.92 5.883 3.843L12 13.459 6.069 9.797zm10 .405 4.116 3.439L22 13.054l-4.069-3.257zM22 6.54l-5.884-3.843L12 6.134l5.931 3.663zm-9.989 7.66-4.129 3.426-1.767-1.153v1.291l5.896 3.539 5.897-3.539v-1.291l-1.769 1.153z"})))},{name:"eventbrite",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M18.041 3.931 5.959 3A2.96 2.96 0 0 0 3 5.959v12.083A2.96 2.96 0 0 0 5.959 21l12.083-.931C19.699 19.983 21 18.744 21 17.11V6.89c0-1.634-1.259-2.863-2.959-2.959M16.933 8.17c-.082.215-.192.432-.378.551-.188.122-.489.132-.799.132-1.521 0-3.062-.048-4.607-.048q-.23 1.061-.451 2.128c.932-.004 1.873.005 2.81.005.726 0 1.462-.069 1.586.525.04.189-.001.426-.052.615-.105.38-.258.676-.625.783-.185.054-.408.058-.646.058-1.145 0-2.345.017-3.493.02-.169.772-.328 1.553-.489 2.333 1.57-.005 3.067-.041 4.633-.058.627-.007 1.085.194 1.009.85a2.2 2.2 0 0 1-.211.725c-.102.208-.248.376-.488.452-.237.075-.541.064-.862.078-.304.014-.614.008-.924.016-.309.009-.619.022-.919.022-1.253 0-2.429.08-3.683.073-.603-.004-1.014-.249-1.124-.757-.059-.273-.018-.58.036-.841a3543 3543 0 0 1 1.629-7.763c.056-.265.114-.511.225-.714a1.24 1.24 0 0 1 .79-.62c.368-.099.883-.047 1.344-.047.305 0 .612.008.914.016.925.026 1.817.03 2.747.053.304.007.615.016.915.016.621 0 1.17.073 1.245.614.039.288-.051.567-.132.783"})))},{name:"facebook",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("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-10"})))},{name:"fediverse",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 743 743"},React.createElement("g",null,React.createElement("path",{d:"M181.131 275.137a68.9 68.9 0 0 1-29.465 29.328l161.758 162.389 38.998-19.764zm213.363 214.187-38.998 19.764 81.963 82.283a68.9 68.9 0 0 1 29.471-29.332zM581.646 339.391l-91.576 46.41 6.752 43.189 103.616-52.513a68.9 68.9 0 0 1-18.792-37.086m-144.738 73.351L220.383 522.477a68.9 68.9 0 0 1 18.795 37.089L443.66 455.934zM367.275 142.438l-104.48 203.97 30.848 30.967 110.623-215.957a68.9 68.9 0 0 1-36.991-18.98M235.621 399.459l-52.922 103.314a68.9 68.9 0 0 1 36.987 18.979l46.781-91.328zM150.768 304.918a68.9 68.9 0 0 1-34.416 7.195 69 69 0 0 1-6.651-.695l30.903 197.662a68.9 68.9 0 0 1 34.416-7.195 69 69 0 0 1 6.646.695zM239.342 560.545c.707 4.589.949 9.239.72 13.877a68.9 68.9 0 0 1-7.267 27.18l197.629 31.712c-.708-4.59-.95-9.24-.723-13.878a68.9 68.9 0 0 1 7.27-27.178zM601.133 377.199l-91.219 178.082a68.9 68.9 0 0 1 36.994 18.983l91.217-178.08a68.9 68.9 0 0 1-36.992-18.985M476.723 125.33a68.9 68.9 0 0 1-29.471 29.332l141.266 141.811a68.9 68.9 0 0 1 29.468-29.332zM347.787 104.631l-178.576 90.498a68.9 68.9 0 0 1 18.793 37.086l178.574-90.502a68.9 68.9 0 0 1-18.791-37.082M446.926 154.826a68.9 68.9 0 0 1-34.983 7.483 69 69 0 0 1-6.029-.633l15.818 101.291 43.163 6.926zm-16 167.028 37.4 239.482a68.9 68.9 0 0 1 33.914-6.943q3.625.206 7.207.791L474.09 328.777zM188.131 232.975c.734 4.66.988 9.383.758 14.095a68.9 68.9 0 0 1-7.16 26.983l101.369 16.281 19.923-38.908zm173.736 27.9-19.926 38.912 239.514 38.467a69 69 0 0 1-.695-13.719 68.9 68.9 0 0 1 7.349-27.324z"}),React.createElement("path",{fillOpacity:".996",d:"M412.284 156.054c34.538 1.882 64.061-24.592 65.943-59.13s-24.592-64.062-59.131-65.943c-34.538-1.882-64.061 24.592-65.943 59.13s24.593 64.062 59.131 65.943M646.144 390.82c34.538 1.881 64.062-24.593 65.943-59.131s-24.592-64.061-59.13-65.943-64.062 24.593-65.943 59.131 24.592 64.061 59.13 65.943M495.086 685.719c34.538 1.881 64.062-24.592 65.943-59.13s-24.592-64.062-59.13-65.943-64.062 24.592-65.943 59.13 24.592 64.062 59.13 65.943M167.866 633.211c34.538 1.882 64.062-24.592 65.943-59.13s-24.592-64.062-59.13-65.943-64.062 24.592-65.943 59.13 24.592 64.062 59.13 65.943M116.692 305.86c34.538 1.882 64.062-24.592 65.943-59.13s-24.592-64.062-59.131-65.943c-34.538-1.881-64.061 24.592-65.943 59.13s24.593 64.062 59.131 65.943"})))},{name:"feed",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M2 8.667V12c5.515 0 10 4.485 10 10h3.333c0-7.363-5.97-13.333-13.333-13.333M2 2v3.333c9.19 0 16.667 7.477 16.667 16.667H22C22 10.955 13.045 2 2 2m2.5 15a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5"})))},{name:"flickr",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M6.5 7c-2.75 0-5 2.25-5 5s2.25 5 5 5 5-2.25 5-5-2.25-5-5-5m11 0c-2.75 0-5 2.25-5 5s2.25 5 5 5 5-2.25 5-5-2.25-5-5-5"})))},{name:"foursquare",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M17.573 2H6.905C5.434 2 5 3.107 5 3.805v16.948c0 .785.422 1.077.66 1.172.238.097.892.177 1.285-.275 0 0 5.035-5.843 5.122-5.93.132-.132.132-.132.262-.132h3.26c1.368 0 1.588-.977 1.732-1.552.078-.318.692-3.428 1.225-6.122l.675-3.368C19.56 2.893 19.14 2 17.573 2m-1.078 5.22c-.053.252-.372.518-.665.518h-4.157c-.467 0-.802.318-.802.787v.508c0 .467.337.798.805.798h3.528c.331 0 .655.362.583.715s-.407 2.102-.448 2.295c-.04.193-.262.523-.655.523h-2.88c-.523 0-.683.068-1.033.503-.35.437-3.505 4.223-3.505 4.223-.032.035-.063.027-.063-.015V4.852c0-.298.26-.648.648-.648h8.562c.315 0 .61.297.528.683z"})))},{name:"ghost",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M10.203 20.997H3.005v-3.599h7.198zm10.792-3.599h-7.193v3.599h7.193zm.003-7.198H3v3.599h17.998zm-7.195-7.197H3.005v3.599h10.798zm7.197 0h-3.599v3.599H21z"})))},{name:"git",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M23.519 10.947 13.053.482a1.543 1.543 0 0 0-2.183 0L8.696 2.656l2.756 2.756a1.83 1.83 0 0 1 1.886.439 1.84 1.84 0 0 1 .436 1.898l2.656 2.657a1.83 1.83 0 0 1 1.899.436 1.837 1.837 0 0 1 0 2.597 1.84 1.84 0 0 1-2.599 0 1.84 1.84 0 0 1-.4-1.998l-2.478-2.477v6.521a1.837 1.837 0 0 1 .485 2.945 1.837 1.837 0 0 1-2.597 0 1.837 1.837 0 0 1 0-2.598 1.8 1.8 0 0 1 .602-.401V8.85a1.8 1.8 0 0 1-.602-.4 1.84 1.84 0 0 1-.395-2.009L7.628 3.723.452 10.898a1.544 1.544 0 0 0 0 2.184l10.467 10.467a1.544 1.544 0 0 0 2.183 0l10.417-10.418a1.546 1.546 0 0 0 0-2.184"})))},{name:"github",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12c0 4.419 2.865 8.166 6.839 9.489.5.09.682-.218.682-.484 0-.236-.009-.866-.014-1.699-2.782.602-3.369-1.34-3.369-1.34-.455-1.157-1.11-1.465-1.11-1.465-.909-.62.069-.608.069-.608 1.004.071 1.532 1.03 1.532 1.03.891 1.529 2.341 1.089 2.91.833.091-.647.349-1.086.635-1.337-2.22-.251-4.555-1.111-4.555-4.943 0-1.091.39-1.984 1.03-2.682-.103-.254-.447-1.27.097-2.646 0 0 .84-.269 2.75 1.025A9.6 9.6 0 0 1 12 6.836c.85.004 1.705.114 2.504.336 1.909-1.294 2.748-1.025 2.748-1.025.546 1.376.202 2.394.1 2.646.64.699 1.026 1.591 1.026 2.682 0 3.841-2.337 4.687-4.565 4.935.359.307.679.917.679 1.852 0 1.335-.012 2.415-.012 2.741 0 .269.18.579.688.481A10 10 0 0 0 22 12c0-5.523-4.477-10-10-10"})))},{name:"google-alt",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2m-.05 16c-3.312 0-6-2.688-6-6s2.688-6 6-6c1.62 0 2.976.594 4.014 1.566L14.26 9.222c-.432-.408-1.188-.888-2.31-.888-1.986 0-3.606 1.65-3.606 3.672s1.62 3.672 3.606 3.672c2.298 0 3.144-1.59 3.3-2.532h-3.306v-2.238h5.616c.084.378.15.732.15 1.23 0 3.426-2.298 5.862-5.76 5.862"})))},{name:"google-plus-alt",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M8 11h6.61c.06.35.11.7.11 1.16 0 4-2.68 6.84-6.72 6.84-3.87 0-7-3.13-7-7s3.13-7 7-7c1.89 0 3.47.69 4.69 1.83l-1.9 1.83c-.52-.5-1.43-1.08-2.79-1.08-2.39 0-4.34 1.98-4.34 4.42S5.61 16.42 8 16.42c2.77 0 3.81-1.99 3.97-3.02H8zm15 0h-2V9h-2v2h-2v2h2v2h2v-2h2"})))},{name:"google-plus",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2m-1.919 14.05a4.051 4.051 0 0 1 0-8.1c1.094 0 2.009.401 2.709 1.057l-1.15 1.118a2.23 2.23 0 0 0-1.559-.599c-1.341 0-2.434 1.114-2.434 2.479s1.094 2.479 2.434 2.479c1.551 0 2.122-1.073 2.227-1.709h-2.232v-1.511h3.791c.057.255.101.494.101.83.001 2.312-1.55 3.956-3.887 3.956M19 12.75h-1.25V14h-1.5v-1.25H15v-1.5h1.25V10h1.5v1.25H19z"})))},{name:"google",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12.02 10.18v3.73h5.51c-.26 1.57-1.67 4.22-5.5 4.22-3.31 0-6.01-2.75-6.01-6.12s2.7-6.12 6.01-6.12c1.87 0 3.13.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 0-.83-.11-1.42-.25-2.05z"})))},{name:"instagram",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12 4.622c2.403 0 2.688.009 3.637.052.877.04 1.354.187 1.671.31.42.163.72.358 1.035.673s.51.615.673 1.035c.123.317.27.794.31 1.671.043.949.052 1.234.052 3.637s-.009 2.688-.052 3.637c-.04.877-.187 1.354-.31 1.671-.163.42-.358.72-.673 1.035s-.615.51-1.035.673c-.317.123-.794.27-1.671.31-.949.043-1.233.052-3.637.052s-2.688-.009-3.637-.052c-.877-.04-1.354-.187-1.671-.31a2.8 2.8 0 0 1-1.035-.673 2.8 2.8 0 0 1-.673-1.035c-.123-.317-.27-.794-.31-1.671-.043-.949-.052-1.234-.052-3.637s.009-2.688.052-3.637c.04-.877.187-1.354.31-1.671.163-.42.358-.72.673-1.035s.615-.51 1.035-.673c.317-.123.794-.27 1.671-.31.949-.043 1.234-.052 3.637-.052M12 3c-2.444 0-2.751.01-3.711.054-.958.044-1.612.196-2.184.418a4.4 4.4 0 0 0-1.594 1.039c-.5.5-.808 1.002-1.038 1.594-.223.572-.375 1.226-.419 2.184C3.01 9.249 3 9.556 3 12s.01 2.751.054 3.711c.044.958.196 1.612.418 2.185.23.592.538 1.094 1.038 1.594s1.002.808 1.594 1.038c.572.222 1.227.375 2.185.418.96.044 1.267.054 3.711.054s2.751-.01 3.711-.054c.958-.044 1.612-.196 2.185-.418a4.4 4.4 0 0 0 1.594-1.038c.5-.5.808-1.002 1.038-1.594.222-.572.375-1.227.418-2.185.044-.96.054-1.267.054-3.711s-.01-2.751-.054-3.711c-.044-.958-.196-1.612-.418-2.185A4.4 4.4 0 0 0 19.49 4.51c-.5-.5-1.002-.808-1.594-1.038-.572-.222-1.227-.375-2.185-.418C14.751 3.01 14.444 3 12 3m0 4.378a4.622 4.622 0 1 0 0 9.244 4.622 4.622 0 0 0 0-9.244M12 15a3 3 0 1 1 0-6 3 3 0 0 1 0 6m4.804-8.884a1.08 1.08 0 1 0 .001 2.161 1.08 1.08 0 0 0-.001-2.161"})))},{name:"json-feed",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"m8.522 17.424.027.027c1.076-1.076 1.854-.993 3.154.306l2.053 2.053c2.136 2.136 4.131 2.028 6.515-.356l.729-.728-1.548-1.548-.373.373c-1.349 1.349-2.293 1.366-3.585.075l-2.409-2.409c-1.242-1.242-2.475-1.366-3.659-.381l-.232-.232c1.01-1.225.911-2.368-.29-3.568l-2.16-2.162c-1.317-1.317-1.308-2.236.058-3.602l.372-.372-1.54-1.54-.728.729c-2.393 2.393-2.525 4.346-.439 6.433l1.78 1.78c1.3 1.3 1.383 2.095.315 3.163l.008.008a1.384 1.384 0 0 0 1.952 1.951"}),React.createElement("circle",{cx:"13.089",cy:"10.905",r:"1.383"}),React.createElement("circle",{cx:"16.349",cy:"7.644",r:"1.383"}),React.createElement("circle",{cx:"19.61",cy:"4.383",r:"1.383"})))},{name:"line",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M14.255 9.572v3.333c0 .084-.066.15-.15.15h-.534a.16.16 0 0 1-.122-.061l-1.528-2.063v1.978c0 .084-.066.15-.15.15h-.534a.15.15 0 0 1-.15-.15V9.576c0-.084.066-.15.15-.15h.529a.14.14 0 0 1 .122.066l1.528 2.063V9.577c0-.084.066-.15.15-.15h.534a.15.15 0 0 1 .155.145m-3.844-.15h-.534a.15.15 0 0 0-.15.15v3.333c0 .084.066.15.15.15h.534c.084 0 .15-.066.15-.15V9.572c0-.08-.066-.15-.15-.15m-1.289 2.794H7.664V9.572a.15.15 0 0 0-.15-.15H6.98a.15.15 0 0 0-.15.15v3.333q0 .062.042.103a.16.16 0 0 0 .103.042h2.142c.084 0 .15-.066.15-.15v-.534a.15.15 0 0 0-.145-.15m7.945-2.794h-2.142c-.08 0-.15.066-.15.15v3.333c0 .08.066.15.15.15h2.142c.084 0 .15-.066.15-.15v-.534a.15.15 0 0 0-.15-.15h-1.458v-.563h1.458c.084 0 .15-.066.15-.15v-.539a.15.15 0 0 0-.15-.15h-1.458v-.563h1.458c.084 0 .15-.066.15-.15v-.534c-.005-.08-.07-.15-.15-.15M22.5 5.33v13.373c-.005 2.1-1.725 3.802-3.83 3.797H5.297c-2.1-.005-3.802-1.73-3.797-3.83V5.297c.005-2.1 1.73-3.802 3.83-3.797h13.373c2.1.005 3.802 1.725 3.797 3.83m-2.888 5.747c0-3.422-3.431-6.206-7.645-6.206s-7.645 2.784-7.645 6.206c0 3.066 2.719 5.634 6.394 6.122.895.192.792.52.591 1.725-.033.192-.155.755.661.413s4.402-2.592 6.009-4.439c1.106-1.219 1.636-2.452 1.636-3.82"})))},{name:"link",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M17 13H7v-2h10zm1-6h-1c-1.631 0-3.065.792-3.977 2H18c1.103 0 2 .897 2 2v2c0 1.103-.897 2-2 2h-4.977c.913 1.208 2.347 2 3.977 2h1a4 4 0 0 0 4-4v-2a4 4 0 0 0-4-4M2 11v2a4 4 0 0 0 4 4h1c1.63 0 3.065-.792 3.977-2H6c-1.103 0-2-.897-2-2v-2c0-1.103.897-2 2-2h4.977C10.065 7.792 8.631 7 7 7H6a4 4 0 0 0-4 4"})))},{name:"linkedin",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M19.7 3H4.3A1.3 1.3 0 0 0 3 4.3v15.4A1.3 1.3 0 0 0 4.3 21h15.4a1.3 1.3 0 0 0 1.3-1.3V4.3A1.3 1.3 0 0 0 19.7 3M8.339 18.338H5.667v-8.59h2.672zM7.004 8.574a1.548 1.548 0 1 1-.002-3.096 1.548 1.548 0 0 1 .002 3.096m11.335 9.764H15.67v-4.177c0-.996-.017-2.278-1.387-2.278-1.389 0-1.601 1.086-1.601 2.206v4.249h-2.667v-8.59h2.559v1.174h.037c.356-.675 1.227-1.387 2.526-1.387 2.703 0 3.203 1.779 3.203 4.092v4.711z"})))},{name:"mail",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M20 4H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2m0 4.236-8 4.882-8-4.882V6h16z"})))},{name:"mastodon",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M11.973 2.352c-2.468.02-4.842.286-6.225.921 0 0-2.742 1.229-2.742 5.415 0 .958-.018 2.105.012 3.32.1 4.094.75 8.128 4.535 9.129 1.745.462 3.244.56 4.45.494 2.19-.122 3.417-.781 3.417-.781l-.072-1.588s-1.565.491-3.32.431c-1.74-.06-3.576-.188-3.858-2.324a4 4 0 0 1-.04-.598s1.709.416 3.874.516c1.324.06 2.563-.076 3.824-.226 2.418-.29 4.524-1.78 4.79-3.141.416-2.144.38-5.232.38-5.232 0-4.186-2.74-5.415-2.74-5.415-1.383-.635-3.76-.9-6.227-.921zM9.18 5.622c1.028 0 1.804.395 2.318 1.185l.502.84.5-.84c.514-.79 1.292-1.186 2.32-1.186.888 0 1.605.313 2.15.922q.795.915.794 2.469v5.068h-2.008V9.16c0-1.037-.438-1.562-1.31-1.562-.966 0-1.448.622-1.448 1.857v2.693h-1.996V9.455c0-1.235-.484-1.857-1.45-1.857-.872 0-1.308.525-1.308 1.562v4.92H6.236V9.012q-.001-1.554.793-2.469c.547-.609 1.263-.922 2.15-.922"})))},{name:"medium-alt",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{fillRule:"nonzero",d:"M7.423 6c3.27 0 5.922 2.686 5.922 6s-2.651 6-5.922 6S1.5 15.313 1.5 12s2.652-6 5.923-6m9.458.351c1.635 0 2.961 2.53 2.961 5.65 0 3.118-1.325 5.648-2.96 5.648S13.92 15.119 13.92 12s1.325-5.649 2.96-5.649m4.577.589c.576 0 1.042 2.265 1.042 5.06s-.466 5.06-1.042 5.06c-.575 0-1.04-2.265-1.04-5.06s.465-5.06 1.04-5.06"})))},{name:"medium",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M3 3v18h18V3zm15 4.26-1 .93a.28.28 0 0 0-.11.27v6.8a.27.27 0 0 0 .11.27l.94.93v.2h-4.75v-.2l1-1c.09-.1.09-.12.09-.27V9.74l-2.71 6.9h-.37L8 9.74v4.62a.67.67 0 0 0 .17.54l1.27 1.54v.2H5.86v-.2l1.27-1.54a.64.64 0 0 0 .17-.54V9a.5.5 0 0 0-.16-.4L6 7.26v-.2h3.52L12.23 13l2.38-5.94H18z"})))},{name:"messenger",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12.026.375C5.462.375.375 5.172.375 11.652c0 3.389 1.393 6.318 3.66 8.341.391.352.311.556.377 2.73a.934.934 0 0 0 1.307.823c2.48-1.092 2.512-1.178 2.933-1.064 7.185 1.977 14.973-2.621 14.973-10.83 0-6.48-5.035-11.277-11.599-11.277m6.996 8.678L15.6 14.47a1.75 1.75 0 0 1-2.527.465l-2.723-2.038a.7.7 0 0 0-.844 0l-3.674 2.786c-.49.372-1.133-.216-.802-.735l3.422-5.417a1.75 1.75 0 0 1 2.527-.465l2.722 2.037a.7.7 0 0 0 .844 0L18.22 8.32c.489-.374 1.132.213.801.732"})))},{name:"microblog",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M19.641 17.086c1.294-1.522 2.067-3.438 2.067-5.521 0-4.957-4.371-8.972-9.763-8.972s-9.763 4.015-9.763 8.972 4.371 8.972 9.763 8.972a10.5 10.5 0 0 0 3.486-.59.315.315 0 0 1 .356.112c.816 1.101 2.09 1.876 3.506 2.191a.194.194 0 0 0 .192-.309 3.82 3.82 0 0 1 .162-4.858zm-3.065-6.575-2.514 1.909.912 3.022a.286.286 0 0 1-.437.317l-2.592-1.802-2.592 1.802a.285.285 0 0 1-.436-.317l.912-3.022-2.515-1.909a.285.285 0 0 1 .167-.513l3.155-.066 1.038-2.981a.285.285 0 0 1 .539 0l1.038 2.981 3.155.066a.285.285 0 0 1 .17.513"})))},{name:"nextdoor",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",strokeMiterlimit:"10",viewBox:"0 0 130 130"},React.createElement("g",null,React.createElement("path",{d:"M64.25 3.531c-31.144.337-57.596 24.22-60.469 55.907-3.064 33.799 21.857 63.685 55.657 66.75s63.685-21.857 66.75-55.657-21.857-63.686-55.657-66.75a62 62 0 0 0-6.281-.25m3.938 34.907C82.468 38.438 93.5 48.58 93.5 61.5v27c0 .685-.565 1.25-1.25 1.25H80.906a1.267 1.267 0 0 1-1.25-1.25V63.375c0-5.58-4.309-11.937-11.469-11.937-7.47 0-11.468 6.357-11.468 11.937V88.5c0 .685-.565 1.25-1.25 1.25H44.125c-.68 0-1.219-.57-1.219-1.25V64.156c0-.74-.529-1.364-1.25-1.531-13.13-2.93-15.115-10.285-15.375-21.125-.005-.332.142-.67.375-.906.233-.237.543-.375.875-.375l11.688.062c.66.01 1.187.529 1.218 1.188.13 4.44.438 9.406 4.438 9.406.83 0 1.443-1.179 1.813-1.719 4.41-6.48 12.28-10.718 21.5-10.718"})))},{name:"patreon",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M20 7.408c-.003-2.299-1.746-4.182-3.79-4.862-2.54-.844-5.888-.722-8.312.453-2.939 1.425-3.862 4.545-3.896 7.656-.028 2.559.22 9.297 3.92 9.345 2.75.036 3.159-3.603 4.43-5.356.906-1.247 2.071-1.599 3.506-1.963 2.465-.627 4.146-2.626 4.142-5.273"})))},{name:"pinterest-alt",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12.289 2C6.617 2 3.606 5.648 3.606 9.622c0 1.846 1.025 4.146 2.666 4.878.25.111.381.063.439-.169.044-.175.267-1.029.365-1.428a.37.37 0 0 0-.091-.362c-.54-.63-.975-1.791-.975-2.873 0-2.777 2.194-5.464 5.933-5.464 3.23 0 5.49 2.108 5.49 5.122 0 3.407-1.794 5.768-4.13 5.768-1.291 0-2.257-1.021-1.948-2.277.372-1.495 1.089-3.112 1.089-4.191 0-.967-.542-1.775-1.663-1.775-1.319 0-2.379 1.309-2.379 3.059 0 1.115.394 1.869.394 1.869s-1.302 5.279-1.54 6.261c-.405 1.666.053 4.368.094 4.604.021.126.167.169.25.063.129-.165 1.699-2.419 2.142-4.051.158-.59.817-2.995.817-2.995.43.784 1.681 1.446 3.013 1.446 3.963 0 6.822-3.494 6.822-7.833C20.394 5.112 16.849 2 12.289 2"})))},{name:"pinterest",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12c0 4.236 2.636 7.855 6.356 9.312-.087-.791-.166-2.005.035-2.869.182-.78 1.173-4.971 1.173-4.971s-.299-.599-.299-1.484c0-1.39.806-2.429 1.809-2.429.853 0 1.265.641 1.265 1.409 0 .858-.546 2.141-.828 3.329-.236.996.499 1.807 1.481 1.807 1.777 0 3.144-1.874 3.144-4.579 0-2.394-1.72-4.068-4.177-4.068-2.845 0-4.515 2.134-4.515 4.34 0 .859.331 1.781.744 2.282a.3.3 0 0 1 .069.287c-.077.316-.246.995-.279 1.134-.044.183-.145.222-.334.134-1.249-.581-2.03-2.407-2.03-3.874 0-3.154 2.292-6.051 6.607-6.051 3.469 0 6.165 2.472 6.165 5.775 0 3.446-2.173 6.22-5.189 6.22-1.013 0-1.966-.526-2.292-1.148l-.623 2.377c-.226.869-.835 1.957-1.243 2.622.936.289 1.93.445 2.961.445 5.523 0 10-4.477 10-10S17.523 2 12 2"})))},{name:"pocket",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M21.927 4.194A1.82 1.82 0 0 0 20.222 3H3.839a1.823 1.823 0 0 0-1.813 1.814v6.035l.069 1.2c.29 2.73 1.707 5.115 3.899 6.778l.119.089.025.018a9.9 9.9 0 0 0 3.91 1.727 10.06 10.06 0 0 0 4.049-.014.3.3 0 0 0 .064-.023 9.9 9.9 0 0 0 3.753-1.691l.025-.018q.06-.043.119-.089c2.192-1.664 3.609-4.049 3.898-6.778l.069-1.2V4.814a1.8 1.8 0 0 0-.098-.62m-4.235 6.287-4.704 4.512a1.37 1.37 0 0 1-1.898 0l-4.705-4.512a1.371 1.371 0 1 1 1.898-1.979l3.756 3.601 3.755-3.601a1.372 1.372 0 0 1 1.898 1.979"})))},{name:"polldaddy",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12 2C6.487 2 2 6.487 2 12c0 5.514 4.487 10 10 10 5.514 0 10-4.486 10-10 0-5.513-4.486-10-10-10m.991 1.68c2.361.084 4.657 1.251 6.197 3.136.283.334.541.693.774 1.067a7.78 7.78 0 0 0-6.094-2.94 7.76 7.76 0 0 0-5.896 2.703q-.008.006-.016.014l-.152.159-.031.032a6.12 6.12 0 0 0-1.633 4.165 6.15 6.15 0 0 0 6.143 6.143c.57 0 1.123-.081 1.649-.227-1.849.839-4.131.747-5.926-.324-1.841-1.089-3.171-3.111-3.433-5.313A7.39 7.39 0 0 1 6.69 6.137C8.294 4.5 10.634 3.563 12.991 3.68m3.373 8.519c-.049-2.024-1.587-3.889-3.544-4.174-1.927-.343-3.917.857-4.451 2.661a3.67 3.67 0 0 0 .2 2.653c.39.8 1.067 1.451 1.894 1.759 1.664.654 3.63-.27 4.173-1.863.593-1.58-.396-3.423-1.94-3.776-1.52-.407-3.161.757-3.204 2.243a2.36 2.36 0 0 0 .753 1.879c.501.476 1.23.667 1.871.529a2.07 2.07 0 0 0 1.469-1.134 1.91 1.91 0 0 0-.087-1.767c-.297-.513-.859-.863-1.429-.881a1.7 1.7 0 0 0-1.437.679 1.53 1.53 0 0 0-.18 1.489q.006.016.016.03c.193.634.774 1.1 1.467 1.117a1.6 1.6 0 0 1-.97-.183c-.466-.244-.809-.747-.893-1.29a1.8 1.8 0 0 1 .499-1.539 2.02 2.02 0 0 1 1.58-.606c.593.04 1.159.35 1.517.859.364.496.51 1.156.383 1.773-.116.62-.529 1.174-1.093 1.514a2.52 2.52 0 0 1-1.914.286c-.65-.161-1.226-.606-1.584-1.206a2.83 2.83 0 0 1-.341-2.031c.143-.7.573-1.321 1.176-1.753 1.193-.883 3.056-.751 4.106.411 1.106 1.1 1.327 3.027.406 4.371-.877 1.376-2.74 2.086-4.374 1.594-1.639-.449-2.913-2.079-3.031-3.853-.07-.884.13-1.797.583-2.577.445-.777 1.155-1.432 1.972-1.862 1.64-.88 3.816-.743 5.349.424 1.251.924 2.083 2.42 2.236 4.009l.001.03c0 2.9-2.359 5.26-5.26 5.26a5.2 5.2 0 0 1-1.947-.376 5 5 0 0 0 2.613-.079 4.96 4.96 0 0 0 2.514-1.751c.618-.828.95-1.861.901-2.869M12 21.113c-5.024 0-9.111-4.087-9.111-9.113 0-4.789 3.713-8.723 8.411-9.081a7 7 0 0 0-.397.06c-2.644.453-5.017 2.106-6.32 4.409-1.309 2.301-1.391 5.19-.3 7.527 1.056 2.34 3.253 4.156 5.776 4.553 2.497.44 5.133-.483 6.787-2.301 1.719-1.797 2.269-4.529 1.486-6.796-.583-1.81-1.976-3.331-3.7-4.046 3.417.594 6.174 3.221 6.174 6.781 0 1.004-.241 2.02-.657 2.966-1.498 2.984-4.586 5.041-8.149 5.041"})))},{name:"print",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M9 16h6v2H9zm13 1h-3v3a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-3H2V9a2 2 0 0 1 2-2h1V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v2h1a2 2 0 0 1 2 2zM7 7h10V5H7zm10 7H7v6h10zm3-3.5a1.5 1.5 0 1 0-3.001.001A1.5 1.5 0 0 0 20 10.5"})))},{name:"quora",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M47.736 16.521c-.41-.81-.898-1.631-1.846-1.631a1 1 0 0 0-.527.107l-.322-.644a2.93 2.93 0 0 1 1.836-.595c1.26 0 1.914.605 2.431 1.397a6.8 6.8 0 0 0 .449-2.675c0-2.773-.869-4.199-2.929-4.199-1.992 0-2.851 1.465-2.851 4.199s.859 4.17 2.851 4.17a4 4 0 0 0 .869-.107zm.498.966a6 6 0 0 1-1.367.185 5.27 5.27 0 0 1-5.263-5.204c0-3.114 2.558-5.233 5.263-5.233s5.282 2.109 5.282 5.233a5.08 5.08 0 0 1-1.992 4.072c.381.566.781.956 1.319.956.595 0 .839-.459.878-.82h.781c.049.488-.195 2.48-2.373 2.48-1.319 0-2.012-.761-2.529-1.66zm5.624-2.646v-3.563c0-.371-.146-.586-.615-.586h-.498v-.956h3.251v5.048c0 .849.459 1.231 1.161 1.231a1.56 1.56 0 0 0 1.465-.839V11.28c0-.371-.146-.586-.615-.586h-.527v-.957h3.28v5.302c0 .527.195.732.8.732h.107v.976l-2.929.468V16.21h-.057a3.12 3.12 0 0 1-2.509 1.152c-1.28 0-2.304-.644-2.304-2.558zm12.059 1.611c1.152 0 1.592-1.005 1.611-3.027.02-1.982-.459-2.929-1.611-2.929-1.005 0-1.641.956-1.641 2.929 0 2.021.625 3.027 1.641 3.027m0 .956a3.906 3.906 0 0 1-3.974-3.974c0-2.334 1.836-3.886 3.974-3.886 2.226 0 4.004 1.582 4.004 3.886a3.867 3.867 0 0 1-4.004 3.974m4.072-.146v-.956h.312c.781 0 .859-.224.859-.908v-4.121c0-.371-.215-.586-.732-.586h-.42v-.955h2.968l.146 1.553h.108c.371-1.113 1.221-1.699 2.051-1.699.693 0 1.221.39 1.221 1.181 0 .547-.264 1.093-1.005 1.093-.664 0-.8-.449-1.358-.449-.488 0-.869.468-.869 1.152v2.783c0 .673.166.908.937.908h.439v.956h-4.658zm9.901-1.093c.956 0 1.338-.898 1.338-1.797v-1.211c-.732.722-2.304.742-2.304 2.021 0 .625.371.986.966.986m1.387 0c-.39.752-1.191 1.26-2.314 1.26-1.309 0-2.148-.732-2.148-1.914 0-2.451 3.417-1.797 4.423-3.427v-.185c0-1.25-.488-1.445-1.035-1.445-1.524 0-.83 1.631-2.226 1.631-.673 0-.937-.371-.937-.859 0-.927 1.093-1.67 3.173-1.67 1.963 0 3.163.537 3.163 2.49v3.114q-.02.742.595.742a1 1 0 0 0 .449-.127l.254.615c-.205.312-.752.869-1.836.869-.908 0-1.465-.42-1.543-1.113h-.01zm-68.554 2.558c-.83-1.641-1.807-3.3-3.711-3.3a2.9 2.9 0 0 0-1.093.215l-.644-1.299a5.66 5.66 0 0 1 3.662-1.211c2.548 0 3.857 1.231 4.892 2.792q.917-2.012.908-5.38c0-5.585-1.748-8.417-5.829-8.417-4.033 0-5.76 2.87-5.76 8.417s1.738 8.397 5.76 8.397a5.9 5.9 0 0 0 1.748-.224zm.996 1.953a9.8 9.8 0 0 1-2.744.371C5.614 21.041.371 16.764.371 10.545.371 4.277 5.614 0 10.965 0c5.448 0 10.642 4.248 10.642 10.545a10.25 10.25 0 0 1-4.013 8.201c.732 1.152 1.563 1.914 2.665 1.914 1.201 0 1.689-.927 1.768-1.66h1.572c.088.966-.4 4.999-4.775 4.999-2.646 0-4.052-1.543-5.106-3.339z"})))},{name:"reddit",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M22 11.816a2.28 2.28 0 0 0-2.277-2.277c-.593 0-1.122.24-1.526.614-1.481-.965-3.455-1.594-5.647-1.69l1.171-3.702 3.18.748a1.88 1.88 0 0 0 1.876 1.862 1.88 1.88 0 0 0 1.877-1.878 1.88 1.88 0 0 0-1.877-1.877c-.769 0-1.431.466-1.72 1.13l-3.508-.826a.386.386 0 0 0-.46.261l-1.35 4.268c-2.316.038-4.411.67-5.97 1.671a2.24 2.24 0 0 0-1.492-.581A2.28 2.28 0 0 0 2 11.816c0 .814.433 1.523 1.078 1.925a4 4 0 0 0-.061.672c0 3.292 4.011 5.97 8.941 5.97s8.941-2.678 8.941-5.97q-.002-.32-.053-.632A2.26 2.26 0 0 0 22 11.816m-3.224-7.422a1.1 1.1 0 1 1-.001 2.199 1.1 1.1 0 0 1 .001-2.199M2.777 11.816c0-.827.672-1.5 1.499-1.5.313 0 .598.103.838.269-.851.676-1.477 1.479-1.812 2.36a1.48 1.48 0 0 1-.525-1.129m9.182 7.79c-4.501 0-8.164-2.329-8.164-5.193S7.457 9.22 11.959 9.22s8.164 2.329 8.164 5.193-3.663 5.193-8.164 5.193m8.677-6.605c-.326-.89-.948-1.701-1.797-2.384.248-.186.55-.301.883-.301.827 0 1.5.673 1.5 1.5.001.483-.23.911-.586 1.185m-11.64 1.703c-.76 0-1.397-.616-1.397-1.376s.637-1.397 1.397-1.397 1.376.637 1.376 1.397-.616 1.376-1.376 1.376m7.405-1.376c0 .76-.616 1.376-1.376 1.376s-1.399-.616-1.399-1.376.639-1.397 1.399-1.397 1.376.637 1.376 1.397m-1.172 3.38a.39.39 0 0 1 0 .55c-.674.674-1.727 1.002-3.219 1.002l-.011-.002-.011.002c-1.492 0-2.544-.328-3.218-1.002a.389.389 0 1 1 .55-.55c.521.521 1.394.775 2.669.775l.011.002.011-.002c1.275 0 2.148-.253 2.669-.775a.387.387 0 0 1 .549 0"})))},{name:"share",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M18 16c-.788 0-1.499.31-2.034.807L8.91 12.7c.05-.23.09-.46.09-.7s-.04-.47-.09-.7l7.05-4.11c.54.5 1.25.81 2.04.81 1.66 0 3-1.34 3-3s-1.34-3-3-3-3 1.34-3 3c0 .24.04.47.09.7L8.04 9.81C7.5 9.31 6.79 9 6 9c-1.66 0-3 1.34-3 3s1.34 3 3 3c.79 0 1.5-.31 2.04-.81l7.048 4.118A3 3 0 0 0 15 19a3 3 0 1 0 3-3"})))},{name:"skype",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"m10.113 2.699.1-.02q.05.025.098.051zM2.72 10.223l-.017.103q.025.048.051.095zm18.555 3.548q.009-.053.018-.106-.025-.047-.052-.095zm-7.712 7.428q.049.027.096.053l.105-.017zM22 16.386a5.55 5.55 0 0 1-1.637 3.953 5.55 5.55 0 0 1-3.953 1.637 5.6 5.6 0 0 1-2.75-.725l.105-.017-.202-.035q.049.027.096.053a9.5 9.5 0 0 1-1.654.147 9.4 9.4 0 0 1-3.676-.743 9.4 9.4 0 0 1-3.002-2.023 9.4 9.4 0 0 1-2.023-3.002 9.4 9.4 0 0 1-.743-3.676c0-.546.049-1.093.142-1.628q.025.048.051.095l-.034-.199-.017.103A5.6 5.6 0 0 1 2 7.615c0-1.493.582-2.898 1.637-3.953A5.56 5.56 0 0 1 7.59 2.024c.915 0 1.818.228 2.622.655l-.1.02.199.031q-.049-.026-.098-.051l.004-.001a9.5 9.5 0 0 1 1.788-.169 9.41 9.41 0 0 1 6.678 2.766 9.4 9.4 0 0 1 2.024 3.002 9.4 9.4 0 0 1 .743 3.676c0 .575-.054 1.15-.157 1.712q-.025-.047-.052-.095l.034.201q.009-.053.018-.106c.461.829.707 1.767.707 2.721m-5.183-2.248c0-1.331-.613-2.743-3.033-3.282l-2.209-.49c-.84-.192-1.807-.444-1.807-1.237s.679-1.348 1.903-1.348c2.468 0 2.243 1.696 3.468 1.696.645 0 1.209-.379 1.209-1.031 0-1.521-2.435-2.663-4.5-2.663-2.242 0-4.63.952-4.63 3.488 0 1.221.436 2.521 2.839 3.123l2.984.745c.903.223 1.129.731 1.129 1.189 0 .762-.758 1.507-2.129 1.507-2.679 0-2.307-2.062-3.743-2.062-.645 0-1.113.444-1.113 1.078 0 1.236 1.501 2.886 4.856 2.886 3.195 0 4.776-1.538 4.776-3.599"})))},{name:"sms",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M17.696 4C20.069 4 22 5.973 22 8.398v4.357c0 2.04-1.368 3.783-3.261 4.266v4.427l-5.234-4.295h-7.2C3.93 17.153 2 15.18 2 12.755V8.398C2 5.973 3.931 4 6.304 4zM7.028 8.515c-.98 0-1.66.562-1.66 1.349-.009.497.322.91.985 1.178l.39.142c.242.097.305.171.305.297 0 .162-.131.251-.442.251s-.76-.135-1.004-.284l-.112.046-.215.868c.359.258.832.364 1.33.364 1.104 0 1.764-.523 1.764-1.333-.008-.574-.305-.956-.954-1.216l-.393-.146c-.266-.108-.341-.181-.341-.287 0-.152.131-.243.387-.243.274 0 .587.093.808.214l.109-.047.214-.837c-.315-.224-.741-.316-1.171-.316m10.302 0c-.98 0-1.66.562-1.66 1.349-.008.497.322.91.985 1.178l.39.142c.243.097.305.171.305.297 0 .162-.13.251-.442.251-.311 0-.76-.135-1.004-.284l-.112.046-.215.868c.359.258.832.364 1.33.364 1.104 0 1.764-.523 1.764-1.333-.008-.574-.305-.956-.954-1.216l-.393-.146c-.266-.108-.341-.181-.341-.287 0-.152.131-.243.387-.243.274 0 .587.093.808.214l.109-.047.214-.837c-.316-.224-.741-.316-1.171-.316m-3.733 0c-.297 0-.55.066-.78.202l-.144.098a2 2 0 0 0-.264.247l-.078.095-.027-.077c-.15-.34-.55-.565-1.033-.565l-.169.007a1.36 1.36 0 0 0-.896.42l-.08.09-.038-.363-.075-.067H8.994l-.075.079.024.634c.005.2.008.397.008.604v2.652l.075.075h1.178l.075-.075v-2.269q-.002-.168.042-.274c.083-.23.262-.392.496-.392.314 0 .483.267.483.753v2.182l.075.075h1.179l.075-.075v-2.277c0-.097.016-.213.043-.285.077-.224.26-.373.486-.373.33 0 .5.272.5.817v2.118l.074.075h1.179l.075-.075v-2.293c0-1.131-.537-1.763-1.39-1.763Z"})))},{name:"snapchat",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M11.989 1.728c3.221.001 5.904 2.683 5.908 5.912q.002 1.133.067 2.094a.737.737 0 0 0 .902.669l1.009-.237a.6.6 0 0 1 .129-.015c.256 0 .492.175.55.434a.74.74 0 0 1-.479.861l-1.532.618a.823.823 0 0 0-.485.98c1.229 4.543 4.661 4.071 4.661 4.662 0 .743-2.587.848-2.821 1.082s-.01 1.368-.532 1.588a1.1 1.1 0 0 1-.409.056c-.393 0-.95-.077-1.536-.077-.509 0-1.04.058-1.507.273-1.239.572-2.433 1.641-3.914 1.641S9.325 21.2 8.086 20.628c-.467-.216-.998-.273-1.507-.273-.586 0-1.143.077-1.536.077-.17 0-.31-.014-.409-.056-.522-.22-.299-1.354-.532-1.588s-2.821-.337-2.821-1.08c0-.592 3.432-.119 4.661-4.662a.824.824 0 0 0-.486-.98l-1.532-.618a.74.74 0 0 1-.479-.861.56.56 0 0 1 .679-.419l1.009.237q.086.02.169.02a.737.737 0 0 0 .733-.689q.065-.961.067-2.094c.004-3.229 2.666-5.91 5.887-5.912m0-1.281c-.961 0-1.898.194-2.784.574A7.2 7.2 0 0 0 6.93 2.572a7.2 7.2 0 0 0-1.539 2.282A7.1 7.1 0 0 0 4.82 7.64a33 33 0 0 1-.029 1.369l-.375-.088a2 2 0 0 0-.421-.049 1.86 1.86 0 0 0-1.135.389 1.84 1.84 0 0 0-.666 1.049 2.024 2.024 0 0 0 1.271 2.335l1.124.454c-.744 2.285-2.117 2.723-3.041 3.018a5 5 0 0 0-.659.246C.087 16.76 0 17.436 0 17.708c0 .521.247.996.694 1.339.223.17.499.311.844.43.47.162 1.016.265 1.459.347.021.164.053.341.106.518.22.738.684 1.069 1.034 1.217.332.14.676.156.905.156.224 0 .462-.018.713-.036.269-.02.548-.041.823-.041.426 0 .743.051.97.155.311.144.64.337.989.542.972.571 2.073 1.217 3.462 1.217s2.49-.647 3.462-1.217c.349-.205.679-.399.989-.542.226-.105.544-.155.97-.155.275 0 .554.021.823.041.251.019.488.036.713.036.229 0 .573-.016.905-.156.35-.147.814-.478 1.034-1.217.053-.178.084-.354.106-.518.443-.082.989-.185 1.459-.347.345-.119.621-.259.844-.43.448-.342.694-.818.694-1.339 0-.272-.087-.948-.891-1.347a5 5 0 0 0-.659-.246c-.924-.295-2.297-.733-3.041-3.018l1.124-.454a2.025 2.025 0 0 0 1.271-2.335 1.83 1.83 0 0 0-.666-1.049 1.86 1.86 0 0 0-1.556-.34l-.375.088a33 33 0 0 1-.029-1.369 7.1 7.1 0 0 0-.575-2.789c-.365-.853-.886-1.62-1.547-2.282s-1.428-1.182-2.28-1.547a7.1 7.1 0 0 0-2.786-.574"})))},{name:"soundcloud",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M23.587 13.923a3.303 3.303 0 0 1-3.344 3.117h-8.037a.674.674 0 0 1-.667-.67V7.717a.74.74 0 0 1 .444-.705s.739-.512 2.296-.512a5.27 5.27 0 0 1 2.702.742 5.35 5.35 0 0 1 2.516 3.485 3.1 3.1 0 0 1 .852-.116 3.217 3.217 0 0 1 3.237 3.312m-13.05-5.659c.242 2.935.419 5.612 0 8.538a.261.261 0 0 1-.519 0c-.39-2.901-.221-5.628 0-8.538a.26.26 0 0 1 .398-.25.26.26 0 0 1 .12.25zm-1.627 8.541a.273.273 0 0 1-.541 0 32.7 32.7 0 0 1 0-7.533.274.274 0 0 1 .544 0 29.4 29.4 0 0 1-.003 7.533m-1.63-7.788c.264 2.69.384 5.099-.003 7.782a.262.262 0 0 1-.522 0c-.374-2.649-.249-5.127 0-7.782a.264.264 0 0 1 .525 0m-1.631 7.792a.268.268 0 0 1-.532 0 27.6 27.6 0 0 1 0-7.034.27.27 0 1 1 .541 0 25.8 25.8 0 0 1-.01 7.034zm-1.63-5.276c.412 1.824.227 3.435-.015 5.294a.255.255 0 0 1-.504 0c-.22-1.834-.402-3.482-.015-5.295a.268.268 0 0 1 .535 0m-1.626-.277c.378 1.869.254 3.451-.01 5.325-.031.277-.506.28-.531 0-.239-1.846-.352-3.476-.01-5.325a.277.277 0 0 1 .551 0m-1.643.907c.396 1.239.261 2.246-.016 3.517a.258.258 0 0 1-.514 0c-.239-1.246-.336-2.274-.021-3.517a.276.276 0 0 1 .55 0z"})))},{name:"spotify",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2m4.586 14.424a.62.62 0 0 1-.857.207c-2.348-1.435-5.304-1.76-8.785-.964a.622.622 0 1 1-.277-1.215c3.809-.871 7.077-.496 9.713 1.115a.623.623 0 0 1 .206.857M17.81 13.7a.78.78 0 0 1-1.072.257c-2.687-1.652-6.785-2.131-9.965-1.166A.779.779 0 1 1 6.32 11.3c3.632-1.102 8.147-.568 11.234 1.328a.78.78 0 0 1 .256 1.072m.105-2.835c-3.223-1.914-8.54-2.09-11.618-1.156a.935.935 0 1 1-.542-1.79c3.532-1.072 9.404-.865 13.115 1.338a.936.936 0 1 1-.955 1.608"})))},{name:"squarespace",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M20.87 9.271a3.86 3.86 0 0 0-5.458 0l-6.141 6.141a.964.964 0 1 0 1.365 1.364l6.14-6.14a1.929 1.929 0 1 1 2.729 2.729l-6.022 6.022a1.93 1.93 0 0 0 2.729 0l4.658-4.658a3.86 3.86 0 0 0 0-5.458m-2.047 2.047a.965.965 0 0 0-1.365 0l-6.14 6.14a1.93 1.93 0 0 1-2.729 0 .964.964 0 1 0-1.364 1.364 3.86 3.86 0 0 0 5.458 0l6.14-6.14a.966.966 0 0 0 0-1.364m-2.047-6.141a3.86 3.86 0 0 0-5.458 0l-6.14 6.14a.964.964 0 1 0 1.364 1.364l6.141-6.14a1.93 1.93 0 0 1 2.729 0 .965.965 0 1 0 1.364-1.364m-2.047 2.047a.964.964 0 0 0-1.364 0l-6.14 6.141a1.929 1.929 0 1 1-2.729-2.729l6.022-6.022a1.93 1.93 0 0 0-2.729 0L3.13 9.271a3.86 3.86 0 0 0 5.458 5.458l6.14-6.141a.963.963 0 0 0 .001-1.364"})))},{name:"stackexchange",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M4 11.606h16v3.272H4zM4 7.377h16v3.272H4zM17.514 3H6.55C5.147 3 4 4.169 4 5.614v.848h16v-.85C20 4.167 18.895 3 17.514 3M4 15.813v.85c0 1.445 1.147 2.614 2.55 2.614h6.799v3.463l3.357-3.463h.744c1.402 0 2.55-1.169 2.55-2.614v-.85z"})))},{name:"stackoverflow",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M18.18 20.103V14.78h1.767v7.09H4v-7.09h1.767v5.323z"}),React.createElement("path",{d:"m7.717 14.275 8.673 1.813.367-1.744-8.673-1.813zm1.147-4.13 8.031 3.74.734-1.606-8.031-3.763zm2.226-3.946 6.815 5.667 1.124-1.354-6.815-5.667zM15.495 2l-1.423 1.055 5.277 7.113 1.423-1.055zM7.533 18.314h8.857v-1.767H7.533z"})))},{name:"stumbleupon",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12 4.294a4.47 4.47 0 0 0-4.471 4.471v6.353a1.059 1.059 0 1 1-2.118 0v-2.824H2v2.941a4.471 4.471 0 0 0 8.942 0v-6.47a1.059 1.059 0 1 1 2.118 0v1.294l1.412.647 2-.647V8.765A4.473 4.473 0 0 0 12 4.294m1.059 8.059v2.882a4.471 4.471 0 0 0 8.941 0v-2.824h-3.412v2.824a1.059 1.059 0 1 1-2.118 0v-2.882l-2 .647z"})))},{name:"substack",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M19.904 9.182H4.095V7.054h15.81v2.127M4.095 11.109V21L12 16.583 19.905 21v-9.891zM19.905 3H4.095v2.127h15.81z"})))},{name:"telegram",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2m3.08 14.757s-.25.625-.936.325l-2.541-1.949-1.63 1.486s-.127.096-.266.036c0 0-.12-.011-.27-.486s-.911-2.972-.911-2.972L6 12.349s-.387-.137-.425-.438c-.037-.3.437-.462.437-.462l10.03-3.934s.824-.362.824.238z"})))},{name:"threads",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 192 192"},React.createElement("g",null,React.createElement("path",{d:"M141.537 88.988a67 67 0 0 0-2.518-1.143c-1.482-27.307-16.403-42.94-41.457-43.1h-.34c-14.986 0-27.449 6.396-35.12 18.036l13.779 9.452c5.73-8.695 14.724-10.548 21.348-10.548h.229c8.249.053 14.474 2.452 18.503 7.129 2.932 3.405 4.893 8.111 5.864 14.05-7.314-1.243-15.224-1.626-23.68-1.14-23.82 1.371-39.134 15.264-38.105 34.568.522 9.792 5.4 18.216 13.735 23.719 7.047 4.652 16.124 6.927 25.557 6.412 12.458-.683 22.231-5.436 29.049-14.127 5.178-6.6 8.453-15.153 9.899-25.93 5.937 3.583 10.337 8.298 12.767 13.966 4.132 9.635 4.373 25.468-8.546 38.376-11.319 11.308-24.925 16.2-45.488 16.351-22.809-.169-40.06-7.484-51.275-21.742C35.236 139.966 29.808 120.682 29.605 96c.203-24.682 5.63-43.966 16.133-57.317C56.954 24.425 74.204 17.11 97.013 16.94c22.975.17 40.526 7.52 52.171 21.847 5.71 7.026 10.015 15.86 12.853 26.162l16.147-4.308c-3.44-12.68-8.853-23.606-16.219-32.668C147.036 9.607 125.202.195 97.07 0h-.113C68.882.194 47.292 9.642 32.788 28.08 19.882 44.485 13.224 67.315 13.001 95.932L13 96v.067c.224 28.617 6.882 51.447 19.788 67.854C47.292 182.358 68.882 191.806 96.957 192h.113c24.96-.173 42.554-6.708 57.048-21.189 18.963-18.945 18.392-42.692 12.142-57.27-4.484-10.454-13.033-18.945-24.723-24.553M98.44 129.507c-10.44.588-21.286-4.098-21.82-14.135-.397-7.442 5.296-15.746 22.461-16.735q2.948-.17 5.79-.169c6.235 0 12.068.606 17.371 1.765-1.978 24.702-13.58 28.713-23.802 29.274"})))},{name:"tiktok-alt",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M5 3a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2zm7.531 3h2.053s-.114 2.635 2.85 2.82v2.04s-1.582.099-2.85-.87l.021 4.207a3.804 3.804 0 1 1-3.802-3.802h.533v2.082a1.73 1.73 0 0 0-1.922.648 1.727 1.727 0 0 0 1.947 2.646 1.73 1.73 0 0 0 1.19-1.642z"})))},{name:"tiktok",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12.22 2h3.42s-.19 4.394 4.75 4.702v3.396s-2.636.166-4.75-1.448l.037 7.012a6.338 6.338 0 1 1-6.34-6.339h.89v3.472a2.882 2.882 0 1 0 2.024 2.752z"})))},{name:"tripadvisor",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M21.01 9.859c.236-1.002.985-2.003.985-2.003l-3.341-.002C16.779 6.643 14.502 6 11.979 6 9.363 6 7 6.659 5.135 7.877L2 7.88s.74.988.98 1.983a4.98 4.98 0 0 0-.977 2.961 5.01 5.01 0 0 0 5.009 5.003 5 5 0 0 0 3.904-1.875l1.065 1.592 1.076-1.606a4.96 4.96 0 0 0 1.838 1.448 4.98 4.98 0 0 0 3.831.151 5.01 5.01 0 0 0 2.963-6.431 5 5 0 0 0-.679-1.247m-13.998 6.96a4 4 0 0 1-3.998-3.995 4 4 0 0 1 3.998-3.997 4 4 0 0 1 3.996 3.997 4 4 0 0 1-3.996 3.995m4.987-4.36A5.007 5.007 0 0 0 7.11 7.821c1.434-.613 3.081-.947 4.867-.947 1.798 0 3.421.324 4.853.966a4.984 4.984 0 0 0-4.831 4.619m6.288 4.134a3.97 3.97 0 0 1-3.058-.122 3.96 3.96 0 0 1-2.075-2.245v-.001a3.97 3.97 0 0 1 .118-3.056 3.97 3.97 0 0 1 2.246-2.077 4.005 4.005 0 0 1 5.135 2.366 4.006 4.006 0 0 1-2.366 5.135"}),React.createElement("path",{d:"M6.949 10.307a2.477 2.477 0 0 0-2.475 2.472 2.48 2.48 0 0 0 2.475 2.474 2.474 2.474 0 0 0 0-4.946m0 4.094a1.626 1.626 0 0 1-1.624-1.623 1.621 1.621 0 1 1 1.624 1.623M16.981 10.307a2.477 2.477 0 0 0-2.474 2.472 2.48 2.48 0 0 0 2.474 2.474 2.476 2.476 0 0 0 2.472-2.474 2.475 2.475 0 0 0-2.472-2.472m0 4.094a1.625 1.625 0 0 1-1.622-1.623 1.622 1.622 0 1 1 1.622 1.623"}),React.createElement("path",{d:"M7.778 12.778a.832.832 0 1 1-1.664.002.832.832 0 0 1 1.664-.002M16.981 11.947a.832.832 0 1 0 .002 1.666.832.832 0 0 0-.002-1.666"})))},{name:"tumblr-alt",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M16.749 17.396c-.357.17-1.041.319-1.551.332-1.539.041-1.837-1.081-1.85-1.896V9.847h3.861v-2.91h-3.847V2.039h-2.817c-.046 0-.127.041-.138.144-.165 1.499-.867 4.13-3.783 5.181v2.484h1.945v6.282c0 2.151 1.587 5.206 5.775 5.135 1.413-.024 2.982-.616 3.329-1.126z"})))},{name:"tumblr",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M19 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2m-5.569 14.265c-2.446.042-3.372-1.742-3.372-2.998v-3.668H8.923v-1.45c1.703-.614 2.113-2.15 2.209-3.025.007-.06.054-.084.081-.084h1.645V8.9h2.246v1.7H12.85v3.495c.008.476.182 1.131 1.081 1.107.298-.008.697-.094.906-.194l.54 1.601c-.205.296-1.121.641-1.946.656"})))},{name:"twitch",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M16.499 8.089h-1.636v4.91h1.636zm-4.499 0h-1.637v4.91H12zM4.228 3.178 3 6.451v13.092h4.499V22h2.456l2.454-2.456h3.681L21 14.636V3.178zm15.136 10.638L16.5 16.681H12l-2.453 2.453V16.68H5.863V4.814h13.501z"})))},{name:"twitter-alt",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M22.23 5.924a8.2 8.2 0 0 1-2.357.646 4.12 4.12 0 0 0 1.804-2.27 8.2 8.2 0 0 1-2.606.996 4.103 4.103 0 0 0-6.991 3.742 11.65 11.65 0 0 1-8.457-4.287 4.1 4.1 0 0 0-.556 2.063 4.1 4.1 0 0 0 1.825 3.415 4.1 4.1 0 0 1-1.859-.513v.052a4.104 4.104 0 0 0 3.292 4.023 4.1 4.1 0 0 1-1.853.07 4.11 4.11 0 0 0 3.833 2.85 8.24 8.24 0 0 1-5.096 1.756 8 8 0 0 1-.979-.057 11.6 11.6 0 0 0 6.29 1.843c7.547 0 11.675-6.252 11.675-11.675q0-.267-.012-.531a8.3 8.3 0 0 0 2.047-2.123"})))},{name:"twitter",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M19 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2m-2.534 6.71q.007.148.007.298c0 3.045-2.318 6.556-6.556 6.556a6.5 6.5 0 0 1-3.532-1.035q.27.032.55.032a4.63 4.63 0 0 0 2.862-.986 2.31 2.31 0 0 1-2.152-1.6 2.3 2.3 0 0 0 1.04-.04 2.306 2.306 0 0 1-1.848-2.259v-.029c.311.173.666.276 1.044.288a2.303 2.303 0 0 1-.713-3.076 6.54 6.54 0 0 0 4.749 2.407 2.305 2.305 0 0 1 3.926-2.101 4.6 4.6 0 0 0 1.463-.559 2.3 2.3 0 0 1-1.013 1.275c.466-.056.91-.18 1.323-.363-.31.461-.7.867-1.15 1.192"})))},{name:"untappd",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"m11 13.299-5.824 8.133c-.298.416-.8.635-1.308.572-.578-.072-1.374-.289-2.195-.879S.392 19.849.139 19.323a1.4 1.4 0 0 1 .122-1.425l5.824-8.133a3.1 3.1 0 0 1 1.062-.927l1.146-.604c.23-.121.436-.283.608-.478.556-.631 2.049-2.284 4.696-4.957l.046-.212a.13.13 0 0 1 .096-.1l.146-.037a.135.135 0 0 0 .101-.141l-.015-.18a.13.13 0 0 1 .125-.142c.176-.005.518.046 1.001.393s.64.656.692.824a.13.13 0 0 1-.095.164l-.175.044a.13.13 0 0 0-.101.141l.012.15a.13.13 0 0 1-.063.123l-.186.112c-1.679 3.369-2.764 5.316-3.183 6.046a2.2 2.2 0 0 0-.257.73l-.205 1.281A3.1 3.1 0 0 1 11 13.3zm12.739 4.598-5.824-8.133a3.1 3.1 0 0 0-1.062-.927l-1.146-.605a2.1 2.1 0 0 1-.608-.478 51 51 0 0 0-.587-.654.09.09 0 0 0-.142.018 97 97 0 0 1-1.745 3.223 1.4 1.4 0 0 0-.171.485 3.5 3.5 0 0 0 0 1.103l.01.064c.075.471.259.918.536 1.305l5.824 8.133c.296.413.79.635 1.294.574a4.76 4.76 0 0 0 2.209-.881 4.76 4.76 0 0 0 1.533-1.802 1.4 1.4 0 0 0-.122-1.425zM8.306 3.366l.175.044a.134.134 0 0 1 .101.141l-.012.15a.13.13 0 0 0 .063.123l.186.112q.465.933.869 1.721c.026.051.091.06.129.019q.655-.703 1.585-1.668a.137.137 0 0 0 .003-.19c-.315-.322-.645-.659-1.002-1.02l-.046-.212a.13.13 0 0 0-.096-.099l-.146-.037a.135.135 0 0 1-.101-.141l.015-.18a.13.13 0 0 0-.123-.142c-.175-.005-.518.045-1.002.393-.483.347-.64.656-.692.824a.13.13 0 0 0 .095.164z"})))},{name:"vimeo",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M22.396 7.164q-.139 3.039-4.245 8.32Q13.907 21 10.97 21q-1.82 0-3.079-3.359l-1.68-6.159q-.934-3.36-2.005-3.36-.234.001-1.634.98l-.978-1.261q1.541-1.353 3.037-2.708 2.056-1.774 3.084-1.869 2.429-.234 2.99 3.321.607 3.836.841 4.769.7 3.181 1.542 3.181.653 0 1.963-2.065 1.307-2.063 1.401-3.142.187-1.781-1.401-1.782-.747.001-1.541.341 1.534-5.024 5.862-4.884 3.21.095 3.024 4.161"})))},{name:"vk",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{fillRule:"evenodd",d:"M1.687 1.687C0 3.374 0 6.09 0 11.52v.96c0 5.431 0 8.146 1.687 9.833S6.09 24 11.52 24h.96c5.431 0 8.146 0 9.833-1.687S24 17.91 24 12.48v-.96c0-5.431 0-8.146-1.687-9.833S17.91 0 12.48 0h-.96C6.09 0 3.374 0 1.687 1.687M4.05 7.3c.13 6.24 3.25 9.99 8.72 9.99h.31v-3.57c2.01.2 3.53 1.67 4.14 3.57h2.84c-.78-2.84-2.83-4.41-4.11-5.01 1.28-.74 3.08-2.54 3.51-4.98h-2.58c-.56 1.98-2.22 3.78-3.8 3.95V7.3H10.5v6.92c-1.6-.4-3.62-2.34-3.71-6.92z"})))},{name:"whatsapp",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"m2.048 22 1.406-5.136a9.9 9.9 0 0 1-1.323-4.955C2.133 6.446 6.579 2 12.042 2a9.85 9.85 0 0 1 7.011 2.906 9.85 9.85 0 0 1 2.9 7.011c-.002 5.464-4.448 9.91-9.91 9.91h-.004a9.9 9.9 0 0 1-4.736-1.206zm5.497-3.172.301.179a8.2 8.2 0 0 0 4.193 1.148h.003c4.54 0 8.235-3.695 8.237-8.237a8.2 8.2 0 0 0-2.41-5.828 8.18 8.18 0 0 0-5.824-2.416c-4.544 0-8.239 3.695-8.241 8.237a8.2 8.2 0 0 0 1.259 4.384l.196.312-.832 3.04zm9.49-4.554c-.062-.103-.227-.165-.475-.289s-1.465-.723-1.692-.806-.392-.124-.557.124-.64.806-.784.971-.289.186-.536.062-1.046-.385-1.991-1.229c-.736-.657-1.233-1.468-1.378-1.715s-.015-.382.109-.505c.111-.111.248-.289.371-.434.124-.145.165-.248.248-.413s.041-.31-.021-.434-.557-1.343-.763-1.839c-.202-.483-.407-.417-.559-.425-.144-.007-.31-.009-.475-.009a.9.9 0 0 0-.66.31c-.226.248-.866.847-.866 2.066s.887 2.396 1.011 2.562 1.746 2.666 4.23 3.739c.591.255 1.052.408 1.412.522.593.189 1.133.162 1.56.098.476-.071 1.465-.599 1.671-1.177.206-.58.206-1.075.145-1.179"})))},{name:"woocommerce",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M19 2H5C3.3 2 2 3.3 2 5v11c0 1.7 1.3 3 3 3h4l6 3-1-3h5c1.7 0 3-1.3 3-3V5c0-1.7-1.3-3-3-3m-1.6 4.5c-.4.8-.8 2.1-1 3.9-.3 1.8-.4 3.1-.3 4.1 0 .3 0 .5-.1.7s-.3.4-.6.4-.6-.1-.9-.4c-1-1-1.8-2.6-2.4-4.6-.7 1.4-1.2 2.4-1.6 3.1-.6 1.2-1.2 1.8-1.6 1.9-.3 0-.5-.2-.8-.7-.5-1.4-1.1-4.2-1.7-8.2 0-.3 0-.5.2-.7.1-.2.4-.3.7-.4.5 0 .9.2.9.8.3 2.3.7 4.2 1.1 5.7l2.4-4.5c.2-.4.4-.6.8-.6q.75 0 .9.9c.3 1.4.6 2.6 1 3.7.3-2.7.8-4.7 1.4-5.9.2-.3.4-.5.7-.5.2 0 .5.1.7.2q.3.3.3.6c0 .3 0 .4-.1.5"})))},{name:"wordpress",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12.158 12.786 9.46 20.625a9 9 0 0 0 5.526-.144 1 1 0 0 1-.065-.124zM3.009 12a8.99 8.99 0 0 0 5.067 8.092L3.788 8.341A8.95 8.95 0 0 0 3.009 12m15.06-.454c0-1.112-.399-1.881-.741-2.48-.456-.741-.883-1.368-.883-2.109 0-.826.627-1.596 1.51-1.596q.06.002.116.007A8.96 8.96 0 0 0 12 3.009a8.98 8.98 0 0 0-7.512 4.052c.211.007.41.011.579.011.94 0 2.396-.114 2.396-.114.484-.028.541.684.057.741 0 0-.487.057-1.029.085l3.274 9.739 1.968-5.901-1.401-3.838c-.484-.028-.943-.085-.943-.085-.485-.029-.428-.769.057-.741 0 0 1.484.114 2.368.114.94 0 2.397-.114 2.397-.114.485-.028.542.684.057.741 0 0-.488.057-1.029.085l3.249 9.665.897-2.996q.684-1.753.684-2.907m1.82-3.86q.06.428.06.924c0 .912-.171 1.938-.684 3.22l-2.746 7.94a8.98 8.98 0 0 0 4.47-7.771 8.9 8.9 0 0 0-1.1-4.313M12 22C6.486 22 2 17.514 2 12S6.486 2 12 2s10 4.486 10 10-4.486 10-10 10"})))},{name:"x",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M13.982 10.622 20.54 3h-1.554l-5.693 6.618L8.745 3H3.5l6.876 10.007L3.5 21h1.554l6.012-6.989L15.868 21h5.245zm-2.128 2.474-.697-.997-5.543-7.93H8l4.474 6.4.697.996 5.815 8.318h-2.387z"})))},{name:"xanga",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M9 9h6v6H9zM3 9h6V3H3zm12 0h6V3h-6zm0 12h6v-6h-6zM3 21h6v-6H3z"})))},{name:"youtube",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M21.8 8.001s-.195-1.378-.795-1.985c-.76-.797-1.613-.801-2.004-.847-2.799-.202-6.997-.202-6.997-.202h-.009s-4.198 0-6.997.202c-.39.047-1.242.051-2.003.847-.6.607-.795 1.985-.795 1.985S2 9.62 2 11.238v1.517c0 1.618.2 3.237.2 3.237s.195 1.378.795 1.985c.761.797 1.76.771 2.205.855 1.6.153 6.8.201 6.8.201s4.203-.006 7.001-.209c.391-.047 1.243-.051 2.004-.847.6-.607.795-1.985.795-1.985s.2-1.618.2-3.237v-1.517c0-1.618-.2-3.237-.2-3.237M9.935 14.594l-.001-5.62 5.404 2.82z"})))}]},58992:(e,t,n)=>{"use strict";n.d(t,{d:()=>u});var a=n(96072),r=n.n(a),s=n(28120),o=n.n(s),i=n(51609),l=n.n(i),c=n(91135);class u extends i.PureComponent{static defaultProps={size:24};static propTypes={icon:o().string.isRequired,size:o().number,onClick:o().func,className:o().string};render(){const{size:e,onClick:t,icon:n,className:a,...s}=this.props,o=["social-logo","social-logo-"+n,a].filter(Boolean).join(" "),i=c.$.find((e=>e.name===n));if(!i)return l().createElement("svg",r()({height:e,width:e},s));return l().cloneElement(i.svg,{className:o,height:e,width:e,onClick:t,...s})}}},52068:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>w});var a=n(82170),r=n(96865),s=n(56427),o=n(47143),i=n(27723),l=n(90254),c=n(69457),u=n(88669),d=n(41417),p=n(57003),m=(n(51609),n(95396)),h=n(64425),g=n(47264),f=n(2162),v=n(62402);const __=i.__,b="simplify",k="make-longer",y="make-shorter",E={default:[{name:__("Correct spelling and grammar","jetpack"),key:"correct-spelling",aiSuggestion:h.yy,icon:l.A}],"core/paragraph":[{name:__("Simplify","jetpack"),key:b,aiSuggestion:h.A4,icon:c.A},{name:__("Summarize","jetpack"),key:"summarize",aiSuggestion:h.UA,icon:u.A},{name:__("Expand","jetpack"),key:k,aiSuggestion:h.br,icon:d.A},{name:__("Make shorter","jetpack"),key:y,aiSuggestion:h.fD,icon:d.A}],"core/list-item":[{name:__("Simplify","jetpack"),key:b,aiSuggestion:h.A4,icon:c.A},{name:__("Expand","jetpack"),key:k,aiSuggestion:h.br,icon:d.A},{name:__("Make shorter","jetpack"),key:y,aiSuggestion:h.fD,icon:d.A}],"core/list":m.L.includes("core/list")?[{name:__("Simplify","jetpack"),key:b,aiSuggestion:h.A4,icon:c.A},{name:__("Expand","jetpack"),key:k,aiSuggestion:h.br,icon:d.A},{name:__("Make shorter","jetpack"),key:y,aiSuggestion:h.fD,icon:d.A},{name:__("Turn list into a table","jetpack"),key:"turn-into-table",aiSuggestion:h.d5,icon:p.A,options:{alwaysTransformToAIAssistant:!0,rootParentOnly:!0}}]:[{name:__("Write a post from this list","jetpack"),key:"write-post-from-list",aiSuggestion:h.pE,icon:c.A,options:{userPrompt:"Write a post based on the list items. Include a title as first order heading and try to use secondary headings for each entry"}}]};function w({blockType:e,clientId:t,disabled:n=!1,onAskAiAssistant:i,onRequestSuggestion:l}){const c=E[e]??[],{getBlockParents:u}=(0,o.select)("core/block-editor"),d=u(t);return(0,a.createElement)(a.Fragment,null,n&&(0,a.createElement)(s.Notice,{status:"warning",isDismissible:!1,className:"jetpack-ai-assistant__info"},__("Add content to activate the tools below","jetpack")),(0,a.createElement)(s.MenuGroup,null,(0,a.createElement)(s.MenuItem,{icon:r.cj,iconPosition:"left",key:"key-ai-assistant",onClick:i,disabled:n},(0,a.createElement)("div",{className:"jetpack-ai-assistant__menu-item"},__("Ask AI Assistant","jetpack"))),[...E.default,...c].filter((e=>!(e.options?.rootParentOnly&&d.length>0))).map((e=>(0,a.createElement)(s.MenuItem,{icon:e?.icon,iconPosition:"left",key:`key-${e.key}`,onClick:()=>{l(e.aiSuggestion,{...e.options??{}},e.name)},disabled:n},(0,a.createElement)("div",{className:"jetpack-ai-assistant__menu-item"},e.name)))),(0,a.createElement)(v.hN,{onChange:e=>{l(h.eJ,{tone:e},`${v.uQ}: ${(0,g.Z)(e)}`)},disabled:n}),(0,a.createElement)(f.HU,{onChange:(e,t)=>{l(h.Gm,{language:e},`${f.u0}: ${t}`)},disabled:n})))}},32249:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var a=n(82170),r=n(3924),s=n(56427),o=n(27723);const __=o.__;const i=function(){const e=(0,r.A)("jetpack-ai-feedback");return(0,a.createElement)("div",{className:"jetpack-ai-feedback-control"},(0,a.createElement)(s.BaseControl,null,(0,a.createElement)(s.BaseControl.VisualLabel,null,__("Feedback","jetpack")),(0,a.createElement)("p",null,__("Your feedback is valuable in our commitment to refine and improve this feature.","jetpack")),(0,a.createElement)(s.ExternalLink,{href:e},__("Share your feedback","jetpack"))))}},2162:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>f,HU:()=>v,so:()=>h,u0:()=>p});var a=n(82170),r=n(85985),s=n(56427),o=n(27723),i=n(51113),l=n(29115),c=n(84066);n(51609);const __=o.__,u=["en","es","fr","de","it","pt","ru","zh","ja","ar","hi","ko"],d=window?.Jetpack_Editor_Initial_State?.siteLocale||navigator?.language,p=__("Translate","jetpack"),m=d?.split("-")[0]||"en",h=(d?.split("-"),{en:{label:__("English","jetpack")},es:{label:__("Spanish","jetpack")},fr:{label:__("French","jetpack")},de:{label:__("German","jetpack")},it:{label:__("Italian","jetpack")},pt:{label:__("Portuguese","jetpack")},ru:{label:__("Russian","jetpack")},zh:{label:__("Chinese","jetpack")},ja:{label:__("Japanese","jetpack")},ar:{label:__("Arabic","jetpack")},hi:{label:__("Hindi","jetpack")},ko:{label:__("Korean","jetpack")}}),g=({value:e,onChange:t})=>{const n=[...u.filter((e=>e!==m))];return u.includes(m)&&n.unshift(m),(0,a.createElement)(s.MenuGroup,{label:__("Select language","jetpack")},n.map((n=>(0,a.createElement)(s.MenuItem,{key:`key-${n}`,onClick:()=>t(n+" ("+h[n].label+")",h[n].label),isSelected:e===n},h[n].label))))};function f({value:e=m,label:t=p,onChange:n,disabled:o=!1}){const{tracks:l}=(0,r.st)();return o?(0,a.createElement)(s.Tooltip,{text:t},(0,a.createElement)(s.Button,{disabled:!0},(0,a.createElement)(i.A,{icon:c.A}))):(0,a.createElement)(s.ToolbarDropdownMenu,{icon:c.A,label:t,popoverProps:{variant:"toolbar"},onToggle:e=>{e&&l.recordEvent("jetpack_ai_assistant_block_toolbar_menu_show",{tool:"i18n"})}},(()=>(0,a.createElement)(g,{value:e,onChange:n})))}function v({value:e=m,label:t=p,onChange:n,disabled:r=!1}){return(0,a.createElement)(s.DropdownMenu,{className:"ai-assistant__i18n-dropdown",icon:c.A,label:t,toggleProps:{children:(0,a.createElement)(a.Fragment,null,(0,a.createElement)("div",{className:"ai-assistant__i18n-dropdown__toggle-label"},t),(0,a.createElement)(i.A,{icon:l.A})),disabled:r}},(({onClose:t})=>(0,a.createElement)(g,{onChange:(...e)=>{n(...e),t()},value:e})))}},99050:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>c});var a=n(82170),r=n(85985),s=n(56427),o=n(27723),i=n(78938);const __=o.__,l=[{name:__("Summarize","jetpack"),key:"summarize",aiSuggestion:"summarize"},{name:__("Make longer","jetpack"),key:"make-longer",aiSuggestion:"makeLonger"},{name:__("Make shorter","jetpack"),key:"make-shorter",aiSuggestion:"makeShorter"}];function c({key:e,label:t=__("Improve","jetpack"),exclude:n=[],onChange:o,disabled:c=!1}){const{tracks:u}=(0,r.st)();return c?(0,a.createElement)(s.Tooltip,{text:t},(0,a.createElement)(s.Button,{disabled:!0},(0,a.createElement)(s.Icon,{icon:i.A}))):(0,a.createElement)(s.ToolbarDropdownMenu,{icon:i.A,label:t,popoverProps:{variant:"toolbar"},onToggle:e=>{e&&u.recordEvent("jetpack_ai_assistant_block_toolbar_menu_show",{tool:"improve"})}},(()=>{const r=l.filter((e=>!n.includes(e.key)));return(0,a.createElement)(s.MenuGroup,{label:t},r.map((t=>(0,a.createElement)(s.MenuItem,{key:`key-${t.key}`,onClick:()=>o(t.aiSuggestion,{contentType:"generated"}),isSelected:e===t.key},t.name))))}))}},33468:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>g});var a=n(82170),r=n(85985),s=n(56427),o=n(27723),i=n(78938),l=n(41417),c=n(90254),u=n(69457),d=n(88669),p=n(11269);const __=o.__,m=[{label:__("Post about…","jetpack"),description:{original:"Write a post about ",translated:__("Write a post about","jetpack")+" "}},{label:__("Informative article on…","jetpack"),description:{original:"Craft an informative article explaining ",translated:__("Craft an informative article explaining","jetpack")+" "}},{label:__("Step-by-step tutorial on…","jetpack"),description:{original:"Write a step-by-step tutorial on ",translated:__("Write a step-by-step tutorial on","jetpack")+" "}},{label:__("Motivational post on…","jetpack"),description:{original:"Create a motivational post on ",translated:__("Create a motivational post on","jetpack")+" "}}],h=[{label:__("Say it differently…","jetpack"),description:{original:"Rewrite it in a way that ",translated:__("Rewrite it in a way that","jetpack")+" "}},{label:__("Add…","jetpack"),description:{original:"Add more details about ",translated:__("Add more details about","jetpack")+" "}},{label:__("Remove…","jetpack"),description:{original:"Remove unnecessary details about ",translated:__("Remove unnecessary details about","jetpack")+" "}}];function g({hasContentBefore:e,hasContent:t,hasPostTitle:n,contentIsLoaded:o,onPromptSelect:g,onSuggestionSelect:f}){const v=__("Write with AI…","jetpack"),{tracks:b}=(0,r.st)();return(0,a.createElement)(s.ToolbarDropdownMenu,{className:"jetpack-ai-assistant__templates-control",icon:null,label:v,text:v,onToggle:e=>{e&&b.recordEvent("jetpack_ai_assistant_block_toolbar_menu_show",{tool:"write-with-ai"})}},(({onClose:r})=>o?(0,a.createElement)(s.MenuGroup,{label:__("Write…","jetpack")},h.map(((e,t)=>(0,a.createElement)(s.MenuItem,{icon:i.A,iconPosition:"left",key:`key-${t}`,onClick:()=>{r(),g(e.description)}},e.label)))):(0,a.createElement)(a.Fragment,null,e&&(0,a.createElement)(s.MenuGroup,{label:__("Based on preceding content…","jetpack")},(0,a.createElement)(s.MenuItem,{icon:l.A,iconPosition:"left",onClick:()=>f("continue")},__("Continue writing","jetpack")),(0,a.createElement)(s.MenuItem,{icon:c.A,iconPosition:"left",onClick:()=>f("correctSpelling")},__("Correct spelling and grammar","jetpack")),(0,a.createElement)(s.MenuItem,{icon:u.A,iconPosition:"left",onClick:()=>f("simplify")},__("Simplify","jetpack"))),t&&(0,a.createElement)(s.MenuGroup,{label:__("Based on entire content…","jetpack")},t&&(0,a.createElement)(s.MenuItem,{icon:d.A,iconPosition:"left",onClick:()=>f("summarize")},__("Summarize","jetpack")),t&&(0,a.createElement)(s.MenuItem,{icon:p.A,iconPosition:"left",onClick:()=>f("generateTitle")},__("Generate a post title","jetpack"))),(0,a.createElement)(s.MenuGroup,{label:__("Write…","jetpack")},n&&(0,a.createElement)(s.MenuItem,{icon:i.A,iconPosition:"left",onClick:()=>f("titleSummary")},__("Summary based on title","jetpack")),m.map(((e,t)=>(0,a.createElement)(s.MenuItem,{icon:i.A,iconPosition:"left",key:`key-${t}`,onClick:()=>{r(),g(e.description)}},e.label)))))))}},23e3:(e,t,n)=>{"use strict";n.d(t,{A:()=>b,Q:()=>v});var a=n(82170),r=n(3924),s=n(85985),o=n(56427),i=n(86087),l=n(27723),c=n(10067),u=n.n(c),d=n(56333),p=n(92169),m=n(61297),h=n(7503),g=n(93094);const __=l.__,f=u()("jetpack-ai-assistant:upgrade-prompt"),v=({variant:e="error"})=>{const t=(()=>{const{usagePeriod:e}=(0,m.A)(),t=(e=>{const t=__("You've reached this month's request limit, per our fair usage policy.","jetpack");if(!e)return t; +__("%s account connected successfully.","jetpack"),o.label),{type:"snackbar",isDismissible:!0}),n.select(i.store).getCurrentPostId()&&r(E()))}catch(e){let t=__("Error connecting account.","jetpack");"object"==typeof e&&"message"in e&&e.message&&(t=`${t} ${e.message}`),c(t,{type:"snackbar",isDismissible:!0})}finally{r(N(d,!1)),r(_(d))}}}function S(e,t){return{type:u.dw,connectionId:e,data:t}}function N(e,t=!0){return{type:u._6,connectionId:e,updating:t}}function R(e){return{type:u.Nv,reconnectingAccount:e}}function P(e,t){return async function({dispatch:n,select:r}){const{createErrorNotice:i,createSuccessNotice:l}=(0,o.dispatch)(a.store),c=r.getConnectionById(e);try{const a=`/jetpack/v4/social/connections/${e}`;n(k()),n(S(e,t)),n(N(e));await s()({method:"POST",path:a,data:t})&&l(__("Account updated successfully.","jetpack"),{type:"snackbar",isDismissible:!0})}catch(t){let a=__("Error updating account.","jetpack");"object"==typeof t&&"message"in t&&t.message&&(a=`${a} ${t.message}`),n(S(e,c)),i(a,{type:"snackbar",isDismissible:!0})}finally{n(N(e,!1))}}}function L(e){return{type:u.xW,isOpen:e}}function T(){return L(!0)}function B(){return L(!1)}},54118:(e,t,n)=>{"use strict";n.d(t,{BN:()=>d,Bc:()=>r,M6:()=>k,Nv:()=>u,WB:()=>m,WH:()=>i,Wp:()=>h,_6:()=>c,_y:()=>b,aF:()=>y,af:()=>s,b5:()=>g,dA:()=>a,dw:()=>l,fz:()=>v,nC:()=>o,rz:()=>f,xW:()=>p});const a="SET_CONNECTIONS",r="ADD_CONNECTION",s="TOGGLE_CONNECTION",o="DELETE_CONNECTION",i="DELETING_CONNECTION",l="UPDATE_CONNECTION",c="UPDATING_CONNECTION",u="SET_RECONNECTING_ACCOUNT",d="SET_KEYRING_RESULT",p="TOGGLE_CONNECTIONS_MODAL",m="ADD_ABORT_CONTROLLER",h="REMOVE_ABORT_CONTROLLERS",g="DEFAULT",f="REFRESH_CONNECTIONS",v="FETCH_POST_SHARE_STATUS",b="RECEIVE_POST_SHARE_STATUS",k="TOGGLE_SHARE_STATUS_MODAL",y="POLLING_FOR_POST_SHARE_STATUS"},62491:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var a=n(38716),r=n(72451),s=n(64236),o=n(33134);const i={...r,...a,...s,...n(83117),...o}},72451:(e,t,n)=>{"use strict";n.r(t),n.d(t,{closeShareStatusModal:()=>c,defaultIsRequestComplete:()=>u,fetchPostShareStatus:()=>s,openShareStatusModal:()=>l,pollForPostShareStatus:()=>h,pollingForPostShareStatus:()=>m,receivePostShareStaus:()=>o,toggleShareStatusModal:()=>i});var a=n(43656),r=n(54118);function s(e,t=!0){return{type:r.fz,postId:e,loading:t}}function o(e,t){return{type:r._y,shareStatus:e,postId:t}}function i(e){return{type:r.M6,isOpen:e}}function l(){return i(!0)}function c(){return i(!1)}const u=({lastTimestamp:e,postShareStatus:t})=>e?t.shares.some((t=>t.timestamp>e)):t.shares.length>0,d=6e4,p=3e3;function m(e,t=!0){return{type:r.aF,postId:e,polling:t}}function h({pollingInterval:e=p,postId:t,isRequestComplete:n=u,timeout:r=d}={}){return async function({dispatch:s,select:o,registry:i}){const l=Date.now(),c=t||i.select(a.store).getCurrentPostId(),u=o.getPostShareStatus(c).shares[0]?.timestamp||0;let d=!1,p=!1;s(m(c));do{o.getPostShareStatus(c).loading||s.invalidateResolution("getPostShareStatus",[c]),await new Promise((t=>setTimeout(t,e))),d=n({lastTimestamp:u,postShareStatus:o.getPostShareStatus(c)}),p=Date.now()-l>r}while(!d&&!p);s(m(c,!1))}}},64236:(e,t,n)=>{"use strict";n.r(t),n.d(t,{updateSocialImageGeneratorConfig:()=>s});var a=n(3582),r=n(75238);function s(e){return async function({registry:t}){const{saveSite:n}=t.dispatch(a.store);await n({[r.A]:e})}}},33134:(e,t,n)=>{"use strict";n.r(t),n.d(t,{updateSocialPluginSettings:()=>r});var a=n(3582);function r(e){return async function({registry:t}){const{saveEntityRecord:n}=t.dispatch(a.store);await n("jetpack/v4","social/settings",e)}}},83117:(e,t,n)=>{"use strict";n.r(t),n.d(t,{updateUtmSettings:()=>s});var a=n(3582),r=n(75238);function s(e){return async function({registry:t}){const{saveSite:n}=t.dispatch(a.store);await n({[r.b]:e})}}},75238:(e,t,n)=>{"use strict";n.d(t,{A:()=>a,b:()=>r});const a="jetpack_social_image_generator_settings",r="jetpack_social_utm_settings"},31963:(e,t,n)=>{"use strict";n.d(t,{Af:()=>c,BB:()=>k,M_:()=>y,PX:()=>b,V6:()=>h,bN:()=>p,gt:()=>m,me:()=>v,s:()=>d,zW:()=>g,zk:()=>f});var a=n(47143),r=n(70407),s=n(62491),o=n(708),i=n(75772),l=n(62146);const c="jetpack-social-plugin",u={reducer:o.A,actions:s.A,selectors:l.A,resolvers:i.Ay,initialState:(0,r.getSocialScriptData)()?.store_initial_state},d="facebook",p="instagram-business",m="linkedin",h="mastodon",g="bluesky",f="nextdoor",v="tumblr",b="twitter",k="threads",y=(0,a.createReduxStore)(c,u);(0,a.register)(y)},62015:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});var a=n(54118);const r=(e={connections:[]},t)=>{switch(t.type){case a.xW:return{...e,isConnectionsModalOpen:t.isOpen};case a.Bc:return{...e,connections:[...e.connections,t.connection]};case a.dA:return{...e,connections:t.connections};case a.nC:return{...e,connections:e.connections.filter((({connection_id:e})=>e!==t.connectionId))};case a.WH:{const n=new Set(e.deletingConnections);return t.deleting?n.add(t.connectionId):n.delete(t.connectionId),{...e,deletingConnections:[...n]}}case a.Nv:return{...e,reconnectingAccount:t.reconnectingAccount};case a.dw:return{...e,connections:e.connections.map((e=>e.connection_id===t.connectionId?{...e,...t.data}:e))};case a._6:{const n=new Set(e.updatingConnections);return t.updating?n.add(t.connectionId):n.delete(t.connectionId),{...e,updatingConnections:[...n]}}case a.WB:{const n=t.requestType||a.b5;return{...e,abortControllers:{...e.abortControllers,[n]:[...e.abortControllers?.[n]||[],t.abortController]}}}case a.Wp:{const n=t.requestType||a.b5;return{...e,abortControllers:{...e.abortControllers,[n]:[]}}}case a.BN:return{...e,keyringResult:t.keyringResult};case a.af:return{...e,connections:e.connections.map((e=>(e.connection_id?e.connection_id===t.connectionId:e.id===t.connectionId)?{...e,enabled:!e.enabled}:e))}}return e}},708:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var a=n(47143),r=n(62015),s=n(53202);const o=(0,a.combineReducers)({connectionData:r.A,shareStatus:s.q})},53202:(e,t,n)=>{"use strict";n.d(t,{q:()=>r});var a=n(54118);function r(e={},t){switch(t.type){case a.fz:return{...e,[t.postId]:{shares:[],...e?.[t.postId],loading:t.loading??!0}};case a.aF:return{...e,[t.postId]:{shares:[],...e?.[t.postId],polling:t.polling??!0}};case a._y:return{...e,[t.postId]:{...e?.[t.postId],...t.shareStatus,loading:!1}};case a.M6:return{...e,isModalOpen:t.isOpen}}return e}},75772:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>p});var a=n(1455),r=n.n(a),s=n(3582),o=n(43656),i=n(27723),l=n(51371),c=n(59061),u=n(38716),d=n(72451);const __=i.__;const p={getConnections:function(){return function({dispatch:e,registry:t}){const n=t.select(o.store);if(!n.getCurrentPostId())return;const a=n.getEditedPostAttribute("jetpack_publicize_connections");e((0,u.setConnections)(a||[]))}},getPostShareStatus:function(e){return async({dispatch:t,registry:n})=>{const a=e||n.select(o.store).getCurrentPostId(),{feature_flags:s}=(0,l.n)();if(s.useShareStatus)try{t((0,d.fetchPostShareStatus)(a));let e=await r()({path:`jetpack/v4/social/share-status/${a}`});e=(0,c.xA)(e),t((0,d.receivePostShareStaus)(e,a))}catch{t((0,d.fetchPostShareStatus)(a,!1))}}},getSocialPluginSettings:function(){return async({registry:e})=>{e.select(s.store).getEntitiesConfig("jetpack/v4").some((({name:e})=>"social/settings"===e))||await e.dispatch(s.store).addEntities([{kind:"jetpack/v4",name:"social/settings",baseURL:"/jetpack/v4/social/settings",label:__("Social Settings","jetpack")}])}}}},28343:(e,t,n)=>{"use strict";n.r(t),n.d(t,{getAbortControllers:()=>b,getBrokenConnections:()=>i,getConnectionById:()=>o,getConnectionProfileDetails:()=>h,getConnections:()=>s,getConnectionsByService:()=>l,getDeletingConnections:()=>g,getDisabledConnections:()=>m,getEnabledConnections:()=>p,getFailedConnections:()=>u,getKeyringResult:()=>E,getMustReauthConnections:()=>d,getReconnectingAccount:()=>v,getUpdatingConnections:()=>f,hasConnections:()=>c,isBlueskyAccountAlreadyConnected:()=>y,isConnectionsModalOpen:()=>w,isMastodonAccountAlreadyConnected:()=>k});var a=n(50384),r=n(54118);function s(e){return e.connectionData?.connections??[]}function o(e,t){return s(e).find((e=>e.connection_id===t))}function i(e){return s(e).filter((e=>"broken"===e.status||(0,a.Y)(e,"broken")))}function l(e,t){return s(e).filter((({service_name:e})=>e===t))}function c(e){return s(e).length>0}function u(e){return s(e).filter((e=>!1===e.test_success))}function d(e){return s(e).filter((e=>"must_reauth"===e.test_success)).map((e=>e.service_name))}function p(e){return s(e).filter((e=>e.enabled))}function m(e){return s(e).filter((e=>!e.enabled))}function h(e,t,{forceDefaults:n=!1}={}){let a="",r="",o="";if(!n){const n=s(e).find((({service_name:e})=>t===e));if(n){const{display_name:e,profile_display_name:s,profile_picture:i,external_display:l,external_name:c}=n;a="twitter"===t?s:e||l,o="twitter"===t?e:n.username,r=i,"bluesky"===t&&(o=c)}}return{displayName:a,profileImage:r,username:o}}function g(e){return e.connectionData?.deletingConnections??[]}function f(e){return e.connectionData?.updatingConnections??[]}function v(e){return e.connectionData?.reconnectingAccount}function b(e,t=r.b5){return e.connectionData?.abortControllers?.[t]??[]}function k(e,t){return l(e,"mastodon").some((e=>e.external_display===t))}function y(e,t){return l(e,"bluesky").some((e=>e.external_name===t))}function E(e){return e.connectionData?.keyringResult}function w(e){return e.connectionData?.isConnectionsModalOpen??!1}},62146:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var a=n(3582),r=n(47143),s=n(28343),o=n(49424),i=n(59379),l=n(68273),c=n(86982);const u={...s,...o,isSavingSiteSettings:(0,r.createRegistrySelector)((e=>()=>e(a.store).isSavingEntityRecord("root","site",void 0))),...i,...c,...l}},49424:(e,t,n)=>{"use strict";n.r(t),n.d(t,{getPostShareStatus:()=>s,isShareStatusModalOpen:()=>o});var a=n(47143),r=n(43656);const s=(0,a.createRegistrySelector)((e=>(t,n)=>{const a=n||e(r.store).getCurrentPostId();return t.shareStatus?.[a]??{shares:[]}}));function o(e){return e.shareStatus?.isModalOpen??!1}},59379:(e,t,n)=>{"use strict";n.r(t),n.d(t,{getSocialImageGeneratorConfig:()=>i});var a=n(3582),r=n(47143),s=n(70407),o=n(75238);const i=(0,r.createRegistrySelector)((e=>()=>{const{getSite:t}=e(a.store),n=t(void 0,{_fields:o.A});return n?.[o.A]??(0,s.getSocialScriptData)().settings.socialImageGenerator}))},68273:(e,t,n)=>{"use strict";n.r(t),n.d(t,{getSocialPluginSettings:()=>o,isSavingSocialPluginSettings:()=>i});var a=n(3582),r=n(47143),s=n(70407);const o=(0,r.createRegistrySelector)((e=>()=>e(a.store).getEntityRecord("jetpack/v4","social/settings",void 0)??(0,s.getSocialScriptData)().settings.socialPlugin)),i=(0,r.createRegistrySelector)((e=>()=>e(a.store).isSavingEntityRecord("jetpack/v4","social/settings",void 0)))},86982:(e,t,n)=>{"use strict";n.r(t),n.d(t,{getUtmSettings:()=>i});var a=n(3582),r=n(47143),s=n(70407),o=n(75238);const i=(0,r.createRegistrySelector)((e=>()=>{const{getSite:t}=e(a.store),n=t(void 0,{_fields:o.b});return n?.[o.b]??(0,s.getSocialScriptData)().settings.utmSettings}))},50384:(e,t,n)=>{"use strict";n.d(t,{Y:()=>a});const a=(e,t)=>!1===e.is_healthy&&t===(e.error_code??"broken")},27844:(e,t,n)=>{"use strict";n.d(t,{q:()=>a});const a={ENHANCED_PUBLISHING:"social-enhanced-publishing",IMAGE_GENERATOR:"social-image-generator"}},12093:(e,t,n)=>{"use strict";n.d(t,{T:()=>r});const a=255;function r(){return a}},3280:(e,t,n)=>{"use strict";n.d(t,{n:()=>r});var a=n(85985);function r(){return(0,a.$i)()?.social?.supportedAdditionalConnections||[]}},70407:(e,t,n)=>{"use strict";n.d(t,{getShareMessageMaxLength:()=>a.T,getSocialScriptData:()=>i.n,getSupportedAdditionalConnections:()=>r.n,hasSocialPaidFeatures:()=>i.p,requestExternalAccess:()=>s.x});var a=n(12093),r=n(3280),s=n(5367),o=n(18672);n.o(o,"GlobalModals")&&n.d(t,{GlobalModals:function(){return o.GlobalModals}}),n.o(o,"getSocialScriptData")&&n.d(t,{getSocialScriptData:function(){return o.getSocialScriptData}}),n.o(o,"hasSocialPaidFeatures")&&n.d(t,{hasSocialPaidFeatures:function(){return o.hasSocialPaidFeatures}}),n.o(o,"usePostCanUseSig")&&n.d(t,{usePostCanUseSig:function(){return o.usePostCanUseSig}}),n.o(o,"useSyncPostDataToStore")&&n.d(t,{useSyncPostDataToStore:function(){return o.useSyncPostDataToStore}});var i=n(51371);n(27844)},5367:(e,t,n)=>{"use strict";n.d(t,{x:()=>r});var a=n(51119);const r=(e,t)=>{const n=new a.A;let r;n.open(e,null,"toolbar=0,location=0,status=0,menubar=0,"+n.getScreenCenterSpecs(780,700)),n.once("close",(()=>{t(r?.ID?r:{})})),n.on("message",(e=>{r=e?.data}))}},51371:(e,t,n)=>{"use strict";n.d(t,{n:()=>r,p:()=>s});var a=n(97999);function r(){return(0,a.getScriptData)()?.social}function s(){return(0,a.siteHasFeature)("social-enhanced-publishing")}},59061:(e,t,n)=>{"use strict";function a(e){return e&&"shares"in e&&e.done&&e.shares.sort(((e,t)=>t.timestamp-e.timestamp)),e}function r(e){return t=>t.service_name===e.service&&(e.external_id?t.external_id===e.external_id:t.connection_id===e.connection_id.toString())}function s(e,t){return e.service===t.service&&(e.connection_id===t.connection_id||!(!e.external_id&&!t.external_id)&&e.external_id===t.external_id)}n.d(t,{Ri:()=>s,eJ:()=>r,xA:()=>a})},50646:(e,t,n)=>{"use strict";n(51371)},18672:()=>{},85985:(e,t,n)=>{"use strict";n.d(t,{$i:()=>a.A,BT:()=>l.A,Cq:()=>h.C,Dk:()=>c.Dk,FB:()=>o.A,GE:()=>r.A,GT:()=>c.GT,Q4:()=>c.Q4,Sy:()=>s.Sy,W4:()=>c.W4,aq:()=>c.aq,d9:()=>s.d9,gB:()=>u.A,jt:()=>m.A,lk:()=>s.lk,pP:()=>s.pP,q7:()=>p.A,sH:()=>c.sH,sh:()=>h.s,st:()=>d.A,tu:()=>c.tu,vp:()=>i.A});var a=n(34972),r=n(54815),s=n(62634),o=n(60703),i=n(82034),l=n(65595),c=n(53265),u=n(49354),d=n(73489),p=n(76923),m=n(15877),h=n(30335);n(88290)},15877:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var a=n(67142),r=n(51609),s=n.n(r);const o=()=>s().createElement(a.A,{className:"jetpack-editor-panel-logo",height:16,logoColor:"#1E1E1E",showText:!1})},30335:(e,t,n)=>{"use strict";n.d(t,{C:()=>o,s:()=>s});var a=n(86087),r=n(19334);function s(e){const t={};let n="span",r=e.icon;const s=document.createElement("div");s.innerHTML=e.icon;const o=s.querySelector("svg");return o&&(n="svg",r=o.innerHTML,Array.from(o.attributes).forEach((({nodeName:e,nodeValue:n})=>t[e]=n))),(0,a.createElement)(n,{...t,dangerouslySetInnerHTML:{__html:r||""}})}function o(e){return{src:s(e),foreground:(0,r.A)()}}},19334:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var a=n(62634);const r="#069e08";function s(){return(0,a.d9)()||(0,a.Sy)()?null:r}},34972:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const a="Jetpack_Editor_Initial_State";function r(){return"object"==typeof window?window?.[a]??null:null}},60703:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});var a=n(34972);function r(e){const t=(0,a.A)(),n=t?.available_blocks?.[e]?.available??!1,r=t?.available_blocks?.[e]?.unavailable_reason??"unknown";return{available:n,...!n&&{details:t?.available_blocks?.[e]?.details??[],unavailableReason:r}}}},54815:(e,t,n)=>{"use strict";function a(){return window&&window.Jetpack_Editor_Initial_State&&window.Jetpack_Editor_Initial_State.siteFragment?window.Jetpack_Editor_Initial_State.siteFragment:null}n.d(t,{A:()=>a})},73489:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var a=n(90372),r=n(39384),s=n(86087);const{tracks:o}=a.A,{recordEvent:i}=o,l=({pageViewEventName:e=null,pageViewNamespace:t="jetpack",pageViewSuffix:n="page_view",pageViewEventProperties:l={}}={})=>{const[c,u]=(0,s.useState)(!1),{isUserConnected:d,isRegistered:p,userConnectionData:m={}}=(0,r.useConnection)(),{wpcomUser:{login:h,ID:g}={},blogId:f}=m.currentUser||{},v=(0,s.useCallback)((async(e,t={})=>{d&&g&&h&&i(e,t)}),[d,g,h]);return(0,s.useEffect)((()=>{d&&g&&h&&f&&a.A.initialize(g,h,{blog_id:f})}),[f,g,h,d]),(0,s.useEffect)((()=>{const a=e?`${t}_${e}_${n}`:null;p&&a&&(c||(v(a,l),u(!0)))}),[c,t,e,n,p,l,v]),{recordEvent:v,tracks:o}}},76923:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var a=n(47143),r=n(86087),s=n(88290);const o=e=>{const{isModuleActive:t,isChangingStatus:n,isLoadingModules:o}=(0,a.useSelect)((t=>{const n=t(s.F);return{isModuleActive:n.isModuleActive(e),isChangingStatus:n.isModuleUpdating(e),isLoadingModules:n.areModulesLoading(e)}}),[e]),{updateJetpackModuleStatus:i}=(0,a.useDispatch)(s.F),l=(0,r.useCallback)((t=>i({name:e,active:t})),[e,i]);return(0,r.useMemo)((()=>({isLoadingModules:o,isChangingStatus:n,isModuleActive:t,changeStatus:l})),[o,n,t,l])}},49354:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});var a=n(34972);function r(){return(0,a.A)()?.jetpack?.is_current_user_connected??!1}},27105:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>d,E9:()=>u});var a=n(47143),r=n(62634),s=n(94478),o=n(88290);const i="SET_JETPACK_MODULES";function l(e){return u({isLoading:e})}function c(e,t){return{type:"SET_MODULE_UPDATING",name:e,isUpdating:t}}function u(e){return{type:i,options:e}}const d={updateJetpackModuleStatus:function*(e){try{yield c(e.name,!0),yield(0,s.sB)(e);const t=yield(0,s.wz)();return yield u({data:t}),!0}catch{const e=(0,a.select)(o.F).getJetpackModules();return yield u(e),!1}finally{yield c(e.name,!1)}},setJetpackModules:u,fetchModules:function*(){if((0,r.Sy)())return!0;try{yield l(!0);const e=yield(0,s.wz)();return yield u({data:e}),!0}catch{const e=(0,a.select)(o.F).getJetpackModules();return yield u(e),!1}finally{yield l(!1)}}}},94478:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>c,sB:()=>l,wz:()=>i});var a=n(1455),r=n.n(a);const s="FETCH_JETPACK_MODULES",o="UPDATE_JETPACK_MODULE_STATUS",i=()=>({type:s}),l=e=>({type:o,settings:e}),c={[s]:function(){return r()({path:"/jetpack/v4/module/all",method:"GET"})},[o]:function({settings:e}){return r()({path:`/jetpack/v4/module/${e.name}/active`,method:"POST",data:{active:e.active}})}}},88290:(e,t,n)=>{"use strict";n.d(t,{F:()=>c});var a=n(47143),r=n(27105),s=n(94478),o=n(38862),i=n(62701),l=n(31640);const c="jetpack-modules",u=(0,a.createReduxStore)(c,{reducer:o.A,actions:r.Ay,controls:s.Ay,resolvers:i.A,selectors:l.A});(0,a.register)(u);const d=window?.Initial_State?.getModules||window?.Jetpack_Editor_Initial_State?.modules||null;null!==d&&(0,a.dispatch)(c).setJetpackModules({data:{...d}})},38862:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const a={isLoading:!1,isUpdating:{},data:{}},r=(e=a,t)=>{switch(t.type){case"SET_JETPACK_MODULES":return{...e,...t.options};case"SET_MODULE_UPDATING":return{...e,isUpdating:{...e.isUpdating,[t.name]:t.isUpdating}}}return e}},62701:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var a=n(27105),r=n(94478);const s={getJetpackModules:function*(){try{const e=yield(0,r.wz)();if(e)return(0,a.E9)({data:e})}catch(e){console.error(e)}}}},31640:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});var a=n(62634);const r={getJetpackModules:e=>e.data,isModuleActive:(e,t)=>(0,a.Sy)()||(e?.data?.[t]?.activated??!1),areModulesLoading:e=>e.isLoading??!1,isModuleUpdating:(e,t)=>e?.isUpdating?.[t]??!1}},53265:(e,t,n)=>{"use strict";n.d(t,{Dk:()=>g,GT:()=>v,Q4:()=>u,W4:()=>d,aq:()=>p,sH:()=>f,tu:()=>m});var a=n(27723),r=n(93832),s=n(66087),o=n(34972),i=n(60703),l=n(54815),c=n(62634);const __=a.__;function u({planSlug:e,plan:t,postId:n,postType:a}){const o=(0,s.startsWith)(e,"jetpack_")?e:(0,s.get)(t,["path_slug"]),i=(void 0===a?()=>{const e=new URLSearchParams(window.location.search);return(0,r.addQueryArgs)(window.location.protocol+`//${(0,l.A)().replace("::","/")}/wp-admin/site-editor.php`,{postId:e.get("postId"),postType:e.get("postType"),plan_upgraded:1})}:()=>{const e=["page","post"].includes(a)?"":"edit";return(0,c.Sy)()?(0,r.addQueryArgs)("/"+(0,s.compact)([e,a,(0,l.A)(),n]).join("/"),{plan_upgraded:1}):(0,r.addQueryArgs)(window.location.protocol+`//${(0,l.A)().replace("::","/")}/wp-admin/post.php`,{action:"edit",post:n,plan_upgraded:1})})();return(0,c.d9)()?(0,r.addQueryArgs)(`https://wordpress.com/plans/${(0,l.A)()}`,{redirect_to:i,customerType:"business"}):o&&(0,r.addQueryArgs)(`https://wordpress.com/checkout/${(0,l.A)()}/${o}`,{redirect_to:i})}function d(e){if(!e)return!1;const t=/^jetpack\//.test(e)?e.substr(8,e.length):e,{available:n,unavailableReason:a}=(0,i.A)(t);return!n&&"missing_plan"===a}function p(e,t){return"missing_plan"===e&&t.required_plan}function m(e){if(!e)return!1;const t=/^jetpack\//.test(e)?e.substr(8,e.length):e,{details:n,unavailableReason:a}=(0,i.A)(t);return p(a,n)}const h=[{name:"core/cover",mediaPlaceholder:!0,mediaReplaceFlow:!0,fileType:"video",description:__("Upgrade your plan to use video covers","jetpack")},{name:"core/audio",mediaPlaceholder:!0,mediaReplaceFlow:!0,fileType:"audio",description:__("Upgrade your plan to upload audio","jetpack")}];function g(){return(0,s.get)((0,o.A)(),"jetpack.enable_upgrade_nudge",!1)}const f=e=>(0,s.map)(h,"name").includes(e),v=e=>(0,s.head)((0,s.filter)(h,(({name:t})=>t===e)))},82034:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var a=n(92279),r=n(60703);function s(e,t){const{available:n,unavailableReason:s}=(0,r.A)(e);return!!n&&(0,a.registerPlugin)(`jetpack-${e}`,t)}},62634:(e,t,n)=>{"use strict";n.d(t,{Sy:()=>s,d9:()=>o,lk:()=>l,pP:()=>i});var a=n(34972);function r(){return"object"==typeof window&&"string"==typeof window._currentSiteType?window._currentSiteType:null}function s(){return"simple"===r()}function o(){return"atomic"===r()}function i(){const e=(0,a.A)();return e?.jetpack?.is_private_site??!1}function l(){const e=(0,a.A)();return e?.jetpack?.is_coming_soon??!1}},65595:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var a=n(96072),r=n.n(a),s=n(29491);const o=e=>(0,s.createHigherOrderComponent)((t=>n=>React.createElement(t,r()({},n,{className:n.name===e?"has-warning is-interactive":n.className}))),"withHasWarningIsInteractiveClassNames")},84705:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>a.d});var a=n(58992);n(91135)},91135:(e,t,n)=>{"use strict";n.d(t,{$:()=>a});const a=[{name:"amazon",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M13.582 8.182c-1.648.185-3.802.308-5.344.984-1.781.769-3.03 2.337-3.03 4.644 0 2.953 1.86 4.429 4.253 4.429 2.02 0 3.125-.477 4.685-2.065.516.747.685 1.109 1.629 1.894a.59.59 0 0 0 .672-.066l.006.006c.567-.505 1.599-1.401 2.18-1.888.231-.188.19-.496.009-.754-.52-.718-1.072-1.303-1.072-2.634V8.305c0-1.876.133-3.599-1.249-4.891C15.23 2.369 13.422 2 12.04 2 9.336 2 6.318 3.01 5.686 6.351c-.068.355.191.542.423.594l2.754.298c.258-.013.445-.266.494-.523.236-1.151 1.2-1.706 2.284-1.706.584 0 1.249.215 1.595.738.398.584.346 1.384.346 2.061zm-.533 5.906c-.451.8-1.169 1.291-1.967 1.291-1.09 0-1.728-.83-1.728-2.061 0-2.42 2.171-2.86 4.227-2.86v.615c.001 1.108.027 2.031-.532 3.015m7.634 5.251C18.329 21.076 14.917 22 11.979 22c-4.118 0-7.826-1.522-10.632-4.057-.22-.199-.024-.471.241-.317 3.027 1.762 6.771 2.823 10.639 2.823 2.608 0 5.476-.541 8.115-1.66.397-.169.73.262.341.55m.653 1.704c-.194.163-.379.076-.293-.139.284-.71.92-2.298.619-2.684s-1.99-.183-2.749-.092c-.23.027-.266-.173-.059-.319 1.348-.946 3.555-.673 3.811-.356.26.32-.066 2.533-1.329 3.59"})))},{name:"behance",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M7.799 5.698c.589 0 1.12.051 1.606.156q.722.155 1.241.507.516.351.804.938c.188.387.281.871.281 1.443q0 .93-.421 1.551-.424.62-1.255 1.014 1.133.328 1.689 1.146.559.822.557 1.975 0 .935-.359 1.612a3.14 3.14 0 0 1-.973 1.114q-.613.432-1.399.637A6.1 6.1 0 0 1 7.963 18H2V5.698zm-.35 4.97q.721 0 1.192-.345.465-.344.463-1.119 0-.43-.152-.707a1.1 1.1 0 0 0-.416-.427 1.7 1.7 0 0 0-.596-.216 3.6 3.6 0 0 0-.697-.06H4.709v2.874zm.151 5.237q.401.001.759-.077c.243-.053.457-.137.637-.261.182-.12.332-.283.441-.491q.164-.31.163-.798-.002-.948-.533-1.357c-.356-.27-.83-.404-1.413-.404H4.709v3.388zm8.562-.041q.552.538 1.583.538.74 0 1.277-.374c.354-.248.571-.514.654-.79h2.155c-.347 1.072-.872 1.838-1.589 2.299-.708.463-1.572.693-2.58.693q-1.05 0-1.899-.337a4 4 0 0 1-1.439-.958 4.4 4.4 0 0 1-.904-1.484 5.4 5.4 0 0 1-.32-1.899q0-1 .329-1.863a4.4 4.4 0 0 1 .933-1.492q.607-.63 1.444-.994a4.6 4.6 0 0 1 1.857-.363q1.131-.001 1.98.44a3.94 3.94 0 0 1 1.389 1.181 4.8 4.8 0 0 1 .783 1.69q.24.947.171 1.983h-6.428c-.001.706.237 1.372.604 1.73m2.811-4.68c-.291-.321-.783-.496-1.384-.496q-.585 0-.973.2a2 2 0 0 0-.621.491 1.8 1.8 0 0 0-.328.628 2.7 2.7 0 0 0-.111.587h3.98c-.058-.625-.271-1.085-.563-1.41m-3.916-3.446h4.985V6.524h-4.985z"})))},{name:"blogger-alt",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M19.779 9.904h-.981l-.021.001a1.163 1.163 0 0 1-1.16-1.079l-.001-.013A5.813 5.813 0 0 0 11.803 3H8.871a5.813 5.813 0 0 0-5.813 5.813v6.375a5.813 5.813 0 0 0 5.813 5.813h6.257a5.814 5.814 0 0 0 5.813-5.813l.002-4.121a1.164 1.164 0 0 0-1.164-1.163M8.726 7.713h3.291a1.117 1.117 0 1 1 0 2.234H8.726a1.117 1.117 0 1 1 0-2.234m6.601 8.657H8.72a1.057 1.057 0 1 1 0-2.114h6.607a1.057 1.057 0 1 1 0 2.114"})))},{name:"blogger",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M14.722 14.019a.654.654 0 0 1-.654.654H9.977a.654.654 0 0 1 0-1.308h4.091c.361 0 .654.293.654.654m-4.741-3.321h2.038a.692.692 0 0 0 0-1.384H9.981a.692.692 0 0 0 0 1.384M21 5v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2m-3.456 6.39a.72.72 0 0 0-.72-.72h-.607l-.013.001a.72.72 0 0 1-.718-.668l-.001-.008a3.6 3.6 0 0 0-3.599-3.599H10.07a3.6 3.6 0 0 0-3.599 3.599v3.947a3.6 3.6 0 0 0 3.599 3.599h3.874a3.6 3.6 0 0 0 3.599-3.599z"})))},{name:"bluesky",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M21.2 3.3c-.5-.2-1.4-.5-3.6 1C15.4 6 12.9 9.2 12 11c-.9-1.8-3.4-5-5.7-6.7-2.2-1.6-3-1.3-3.6-1S2 4.6 2 5.1s.3 4.7.5 5.4c.7 2.3 3.1 3.1 5.3 2.8-3.3.5-6.2 1.7-2.4 5.9 4.2 4.3 5.7-.9 6.5-3.6.8 2.7 1.7 7.7 6.4 3.6 3.6-3.6 1-5.4-2.3-5.9 2.2.2 4.6-.5 5.3-2.8.4-.7.7-4.8.7-5.4 0-.5-.1-1.5-.8-1.8"})))},{name:"codepen",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"m22.016 8.84-.007-.037q-.006-.037-.015-.072-.007-.022-.013-.042l-.023-.062-.02-.042a.4.4 0 0 0-.03-.057l-.025-.038-.035-.052-.03-.037q-.021-.026-.043-.045-.015-.018-.035-.035a.4.4 0 0 0-.048-.04l-.037-.03-.015-.012-9.161-6.096a.86.86 0 0 0-.955 0L2.359 8.237l-.015.012-.038.028-.048.04a.638.638 0 0 0-.078.082q-.018.018-.03.037-.018.026-.035.052l-.025.038q-.016.031-.03.059l-.02.041a1 1 0 0 0-.034.106q-.01.034-.016.071-.003.02-.006.037a1 1 0 0 0-.009.114v6.093q0 .056.008.112l.007.038q.006.035.015.072a.2.2 0 0 0 .013.04q.01.032.022.063l.02.04a.4.4 0 0 0 .055.096l.035.052.03.037.042.045.035.035q.023.02.048.04l.038.03.013.01 9.163 6.095a.858.858 0 0 0 .959.004l9.163-6.095.015-.01q.02-.015.037-.03l.048-.04q.02-.017.035-.035.025-.024.043-.045l.03-.037.035-.052.025-.038a.4.4 0 0 0 .03-.058l.02-.04.023-.063c.003-.013.01-.027.013-.04q.009-.037.015-.072l.007-.037q.006-.062.007-.117V8.954a1 1 0 0 0-.008-.114m-9.154-4.376 6.751 4.49-3.016 2.013-3.735-2.492zm-1.724 0v4.009l-3.735 2.494-3.014-2.013zm-7.439 6.098L5.853 12l-2.155 1.438zm7.439 8.974-6.749-4.491 3.015-2.011 3.735 2.492zM12 14.035 8.953 12 12 9.966 15.047 12zm.862 5.501v-4.009l3.735-2.492 3.016 2.011zm7.441-6.098L18.147 12l2.156-1.438z"})))},{name:"deezer",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M20.129 3.662c.222-1.287.548-2.096.909-2.098h.001c.673.002 1.219 2.809 1.219 6.274s-.546 6.274-1.22 6.274c-.276 0-.531-.477-.736-1.276-.324 2.926-.997 4.937-1.776 4.937-.603 0-1.144-1.208-1.507-3.114-.248 3.624-.872 6.195-1.602 6.195-.458 0-.875-1.019-1.184-2.678C13.861 21.6 13.003 24 12.002 24s-1.861-2.399-2.231-5.824c-.307 1.659-.724 2.678-1.184 2.678-.73 0-1.352-2.571-1.602-6.195-.363 1.905-.903 3.114-1.507 3.114-.778 0-1.452-2.011-1.776-4.937-.204.802-.46 1.276-.736 1.276-.674 0-1.22-2.809-1.22-6.274s.546-6.274 1.22-6.274c.362 0 .685.812.91 2.098.357-2.22.94-3.662 1.6-3.662.784 0 1.463 2.04 1.784 5.002.314-2.156.791-3.53 1.325-3.53.749 0 1.385 2.703 1.621 6.474.443-1.933 1.085-3.146 1.795-3.146s1.352 1.214 1.795 3.146c.237-3.771.872-6.474 1.621-6.474.533 0 1.009 1.374 1.325 3.53.321-2.962 1-5.002 1.784-5.002.658 0 1.244 1.443 1.603 3.662M0 7.221c0-1.549.31-2.805.692-2.805s.692 1.256.692 2.805-.31 2.805-.692 2.805S0 8.77 0 7.221m22.616 0c0-1.549.31-2.805.692-2.805S24 5.672 24 7.221s-.31 2.805-.692 2.805-.692-1.256-.692-2.805"})))},{name:"discord",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M20.33 4.523A20 20 0 0 0 15.379 3a14 14 0 0 0-.634 1.289 18.4 18.4 0 0 0-5.495 0A14 14 0 0 0 8.615 3 20 20 0 0 0 3.66 4.527C.527 9.163-.323 13.684.102 18.141a20 20 0 0 0 6.073 3.049 14.7 14.7 0 0 0 1.301-2.097 13 13 0 0 1-2.048-.978q.258-.189.502-.378a14.27 14.27 0 0 0 12.142 0q.247.202.502.378a13 13 0 0 1-2.052.98 14.5 14.5 0 0 0 1.301 2.095 19.9 19.9 0 0 0 6.076-3.047c.498-5.168-.851-9.648-3.568-13.62M8.013 15.4c-1.183 0-2.161-1.074-2.161-2.395S6.796 10.6 8.01 10.6s2.183 1.083 2.163 2.405S9.22 15.4 8.013 15.4m7.974 0c-1.186 0-2.16-1.074-2.16-2.395s.944-2.405 2.16-2.405 2.178 1.083 2.157 2.405-.951 2.395-2.158 2.395"})))},{name:"dribbble",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12 22C6.486 22 2 17.514 2 12S6.486 2 12 2s10 4.486 10 10-4.486 10-10 10m8.434-8.631c-.292-.092-2.644-.794-5.32-.365 1.117 3.07 1.572 5.57 1.659 6.09a8.56 8.56 0 0 0 3.661-5.725m-5.098 6.507c-.127-.749-.623-3.361-1.822-6.477l-.056.019c-4.818 1.679-6.547 5.02-6.701 5.334A8.5 8.5 0 0 0 12 20.555a8.5 8.5 0 0 0 3.336-.679m-9.682-2.152c.193-.331 2.538-4.213 6.943-5.637q.167-.054.337-.102a29 29 0 0 0-.692-1.45c-4.266 1.277-8.405 1.223-8.778 1.216a8.497 8.497 0 0 0 2.19 5.973m-2.015-7.46c.382.005 3.901.02 7.897-1.041a55 55 0 0 0-3.167-4.94 8.57 8.57 0 0 0-4.73 5.981m6.359-6.555a46 46 0 0 1 3.187 5c3.037-1.138 4.323-2.867 4.477-3.085a8.51 8.51 0 0 0-7.664-1.915m8.614 2.903c-.18.243-1.612 2.078-4.77 3.367a27 27 0 0 1 .751 1.678c2.842-.357 5.666.215 5.948.275a8.5 8.5 0 0 0-1.929-5.32"})))},{name:"dropbox",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12 6.134 6.069 9.797 2 6.54l5.883-3.843zm-10 6.92 5.883 3.843L12 13.459 6.069 9.797zm10 .405 4.116 3.439L22 13.054l-4.069-3.257zM22 6.54l-5.884-3.843L12 6.134l5.931 3.663zm-9.989 7.66-4.129 3.426-1.767-1.153v1.291l5.896 3.539 5.897-3.539v-1.291l-1.769 1.153z"})))},{name:"eventbrite",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M18.041 3.931 5.959 3A2.96 2.96 0 0 0 3 5.959v12.083A2.96 2.96 0 0 0 5.959 21l12.083-.931C19.699 19.983 21 18.744 21 17.11V6.89c0-1.634-1.259-2.863-2.959-2.959M16.933 8.17c-.082.215-.192.432-.378.551-.188.122-.489.132-.799.132-1.521 0-3.062-.048-4.607-.048q-.23 1.061-.451 2.128c.932-.004 1.873.005 2.81.005.726 0 1.462-.069 1.586.525.04.189-.001.426-.052.615-.105.38-.258.676-.625.783-.185.054-.408.058-.646.058-1.145 0-2.345.017-3.493.02-.169.772-.328 1.553-.489 2.333 1.57-.005 3.067-.041 4.633-.058.627-.007 1.085.194 1.009.85a2.2 2.2 0 0 1-.211.725c-.102.208-.248.376-.488.452-.237.075-.541.064-.862.078-.304.014-.614.008-.924.016-.309.009-.619.022-.919.022-1.253 0-2.429.08-3.683.073-.603-.004-1.014-.249-1.124-.757-.059-.273-.018-.58.036-.841a3543 3543 0 0 1 1.629-7.763c.056-.265.114-.511.225-.714a1.24 1.24 0 0 1 .79-.62c.368-.099.883-.047 1.344-.047.305 0 .612.008.914.016.925.026 1.817.03 2.747.053.304.007.615.016.915.016.621 0 1.17.073 1.245.614.039.288-.051.567-.132.783"})))},{name:"facebook",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("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-10"})))},{name:"fediverse",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 743 743"},React.createElement("g",null,React.createElement("path",{d:"M181.131 275.137a68.9 68.9 0 0 1-29.465 29.328l161.758 162.389 38.998-19.764zm213.363 214.187-38.998 19.764 81.963 82.283a68.9 68.9 0 0 1 29.471-29.332zM581.646 339.391l-91.576 46.41 6.752 43.189 103.616-52.513a68.9 68.9 0 0 1-18.792-37.086m-144.738 73.351L220.383 522.477a68.9 68.9 0 0 1 18.795 37.089L443.66 455.934zM367.275 142.438l-104.48 203.97 30.848 30.967 110.623-215.957a68.9 68.9 0 0 1-36.991-18.98M235.621 399.459l-52.922 103.314a68.9 68.9 0 0 1 36.987 18.979l46.781-91.328zM150.768 304.918a68.9 68.9 0 0 1-34.416 7.195 69 69 0 0 1-6.651-.695l30.903 197.662a68.9 68.9 0 0 1 34.416-7.195 69 69 0 0 1 6.646.695zM239.342 560.545c.707 4.589.949 9.239.72 13.877a68.9 68.9 0 0 1-7.267 27.18l197.629 31.712c-.708-4.59-.95-9.24-.723-13.878a68.9 68.9 0 0 1 7.27-27.178zM601.133 377.199l-91.219 178.082a68.9 68.9 0 0 1 36.994 18.983l91.217-178.08a68.9 68.9 0 0 1-36.992-18.985M476.723 125.33a68.9 68.9 0 0 1-29.471 29.332l141.266 141.811a68.9 68.9 0 0 1 29.468-29.332zM347.787 104.631l-178.576 90.498a68.9 68.9 0 0 1 18.793 37.086l178.574-90.502a68.9 68.9 0 0 1-18.791-37.082M446.926 154.826a68.9 68.9 0 0 1-34.983 7.483 69 69 0 0 1-6.029-.633l15.818 101.291 43.163 6.926zm-16 167.028 37.4 239.482a68.9 68.9 0 0 1 33.914-6.943q3.625.206 7.207.791L474.09 328.777zM188.131 232.975c.734 4.66.988 9.383.758 14.095a68.9 68.9 0 0 1-7.16 26.983l101.369 16.281 19.923-38.908zm173.736 27.9-19.926 38.912 239.514 38.467a69 69 0 0 1-.695-13.719 68.9 68.9 0 0 1 7.349-27.324z"}),React.createElement("path",{fillOpacity:".996",d:"M412.284 156.054c34.538 1.882 64.061-24.592 65.943-59.13s-24.592-64.062-59.131-65.943c-34.538-1.882-64.061 24.592-65.943 59.13s24.593 64.062 59.131 65.943M646.144 390.82c34.538 1.881 64.062-24.593 65.943-59.131s-24.592-64.061-59.13-65.943-64.062 24.593-65.943 59.131 24.592 64.061 59.13 65.943M495.086 685.719c34.538 1.881 64.062-24.592 65.943-59.13s-24.592-64.062-59.13-65.943-64.062 24.592-65.943 59.13 24.592 64.062 59.13 65.943M167.866 633.211c34.538 1.882 64.062-24.592 65.943-59.13s-24.592-64.062-59.13-65.943-64.062 24.592-65.943 59.13 24.592 64.062 59.13 65.943M116.692 305.86c34.538 1.882 64.062-24.592 65.943-59.13s-24.592-64.062-59.131-65.943c-34.538-1.881-64.061 24.592-65.943 59.13s24.593 64.062 59.131 65.943"})))},{name:"feed",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M2 8.667V12c5.515 0 10 4.485 10 10h3.333c0-7.363-5.97-13.333-13.333-13.333M2 2v3.333c9.19 0 16.667 7.477 16.667 16.667H22C22 10.955 13.045 2 2 2m2.5 15a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5"})))},{name:"flickr",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M6.5 7c-2.75 0-5 2.25-5 5s2.25 5 5 5 5-2.25 5-5-2.25-5-5-5m11 0c-2.75 0-5 2.25-5 5s2.25 5 5 5 5-2.25 5-5-2.25-5-5-5"})))},{name:"foursquare",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M17.573 2H6.905C5.434 2 5 3.107 5 3.805v16.948c0 .785.422 1.077.66 1.172.238.097.892.177 1.285-.275 0 0 5.035-5.843 5.122-5.93.132-.132.132-.132.262-.132h3.26c1.368 0 1.588-.977 1.732-1.552.078-.318.692-3.428 1.225-6.122l.675-3.368C19.56 2.893 19.14 2 17.573 2m-1.078 5.22c-.053.252-.372.518-.665.518h-4.157c-.467 0-.802.318-.802.787v.508c0 .467.337.798.805.798h3.528c.331 0 .655.362.583.715s-.407 2.102-.448 2.295c-.04.193-.262.523-.655.523h-2.88c-.523 0-.683.068-1.033.503-.35.437-3.505 4.223-3.505 4.223-.032.035-.063.027-.063-.015V4.852c0-.298.26-.648.648-.648h8.562c.315 0 .61.297.528.683z"})))},{name:"ghost",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M10.203 20.997H3.005v-3.599h7.198zm10.792-3.599h-7.193v3.599h7.193zm.003-7.198H3v3.599h17.998zm-7.195-7.197H3.005v3.599h10.798zm7.197 0h-3.599v3.599H21z"})))},{name:"git",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M23.519 10.947 13.053.482a1.543 1.543 0 0 0-2.183 0L8.696 2.656l2.756 2.756a1.83 1.83 0 0 1 1.886.439 1.84 1.84 0 0 1 .436 1.898l2.656 2.657a1.83 1.83 0 0 1 1.899.436 1.837 1.837 0 0 1 0 2.597 1.84 1.84 0 0 1-2.599 0 1.84 1.84 0 0 1-.4-1.998l-2.478-2.477v6.521a1.837 1.837 0 0 1 .485 2.945 1.837 1.837 0 0 1-2.597 0 1.837 1.837 0 0 1 0-2.598 1.8 1.8 0 0 1 .602-.401V8.85a1.8 1.8 0 0 1-.602-.4 1.84 1.84 0 0 1-.395-2.009L7.628 3.723.452 10.898a1.544 1.544 0 0 0 0 2.184l10.467 10.467a1.544 1.544 0 0 0 2.183 0l10.417-10.418a1.546 1.546 0 0 0 0-2.184"})))},{name:"github",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12c0 4.419 2.865 8.166 6.839 9.489.5.09.682-.218.682-.484 0-.236-.009-.866-.014-1.699-2.782.602-3.369-1.34-3.369-1.34-.455-1.157-1.11-1.465-1.11-1.465-.909-.62.069-.608.069-.608 1.004.071 1.532 1.03 1.532 1.03.891 1.529 2.341 1.089 2.91.833.091-.647.349-1.086.635-1.337-2.22-.251-4.555-1.111-4.555-4.943 0-1.091.39-1.984 1.03-2.682-.103-.254-.447-1.27.097-2.646 0 0 .84-.269 2.75 1.025A9.6 9.6 0 0 1 12 6.836c.85.004 1.705.114 2.504.336 1.909-1.294 2.748-1.025 2.748-1.025.546 1.376.202 2.394.1 2.646.64.699 1.026 1.591 1.026 2.682 0 3.841-2.337 4.687-4.565 4.935.359.307.679.917.679 1.852 0 1.335-.012 2.415-.012 2.741 0 .269.18.579.688.481A10 10 0 0 0 22 12c0-5.523-4.477-10-10-10"})))},{name:"google-alt",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2m-.05 16c-3.312 0-6-2.688-6-6s2.688-6 6-6c1.62 0 2.976.594 4.014 1.566L14.26 9.222c-.432-.408-1.188-.888-2.31-.888-1.986 0-3.606 1.65-3.606 3.672s1.62 3.672 3.606 3.672c2.298 0 3.144-1.59 3.3-2.532h-3.306v-2.238h5.616c.084.378.15.732.15 1.23 0 3.426-2.298 5.862-5.76 5.862"})))},{name:"google-plus-alt",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M8 11h6.61c.06.35.11.7.11 1.16 0 4-2.68 6.84-6.72 6.84-3.87 0-7-3.13-7-7s3.13-7 7-7c1.89 0 3.47.69 4.69 1.83l-1.9 1.83c-.52-.5-1.43-1.08-2.79-1.08-2.39 0-4.34 1.98-4.34 4.42S5.61 16.42 8 16.42c2.77 0 3.81-1.99 3.97-3.02H8zm15 0h-2V9h-2v2h-2v2h2v2h2v-2h2"})))},{name:"google-plus",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2m-1.919 14.05a4.051 4.051 0 0 1 0-8.1c1.094 0 2.009.401 2.709 1.057l-1.15 1.118a2.23 2.23 0 0 0-1.559-.599c-1.341 0-2.434 1.114-2.434 2.479s1.094 2.479 2.434 2.479c1.551 0 2.122-1.073 2.227-1.709h-2.232v-1.511h3.791c.057.255.101.494.101.83.001 2.312-1.55 3.956-3.887 3.956M19 12.75h-1.25V14h-1.5v-1.25H15v-1.5h1.25V10h1.5v1.25H19z"})))},{name:"google",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12.02 10.18v3.73h5.51c-.26 1.57-1.67 4.22-5.5 4.22-3.31 0-6.01-2.75-6.01-6.12s2.7-6.12 6.01-6.12c1.87 0 3.13.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 0-.83-.11-1.42-.25-2.05z"})))},{name:"instagram",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12 4.622c2.403 0 2.688.009 3.637.052.877.04 1.354.187 1.671.31.42.163.72.358 1.035.673s.51.615.673 1.035c.123.317.27.794.31 1.671.043.949.052 1.234.052 3.637s-.009 2.688-.052 3.637c-.04.877-.187 1.354-.31 1.671-.163.42-.358.72-.673 1.035s-.615.51-1.035.673c-.317.123-.794.27-1.671.31-.949.043-1.233.052-3.637.052s-2.688-.009-3.637-.052c-.877-.04-1.354-.187-1.671-.31a2.8 2.8 0 0 1-1.035-.673 2.8 2.8 0 0 1-.673-1.035c-.123-.317-.27-.794-.31-1.671-.043-.949-.052-1.234-.052-3.637s.009-2.688.052-3.637c.04-.877.187-1.354.31-1.671.163-.42.358-.72.673-1.035s.615-.51 1.035-.673c.317-.123.794-.27 1.671-.31.949-.043 1.234-.052 3.637-.052M12 3c-2.444 0-2.751.01-3.711.054-.958.044-1.612.196-2.184.418a4.4 4.4 0 0 0-1.594 1.039c-.5.5-.808 1.002-1.038 1.594-.223.572-.375 1.226-.419 2.184C3.01 9.249 3 9.556 3 12s.01 2.751.054 3.711c.044.958.196 1.612.418 2.185.23.592.538 1.094 1.038 1.594s1.002.808 1.594 1.038c.572.222 1.227.375 2.185.418.96.044 1.267.054 3.711.054s2.751-.01 3.711-.054c.958-.044 1.612-.196 2.185-.418a4.4 4.4 0 0 0 1.594-1.038c.5-.5.808-1.002 1.038-1.594.222-.572.375-1.227.418-2.185.044-.96.054-1.267.054-3.711s-.01-2.751-.054-3.711c-.044-.958-.196-1.612-.418-2.185A4.4 4.4 0 0 0 19.49 4.51c-.5-.5-1.002-.808-1.594-1.038-.572-.222-1.227-.375-2.185-.418C14.751 3.01 14.444 3 12 3m0 4.378a4.622 4.622 0 1 0 0 9.244 4.622 4.622 0 0 0 0-9.244M12 15a3 3 0 1 1 0-6 3 3 0 0 1 0 6m4.804-8.884a1.08 1.08 0 1 0 .001 2.161 1.08 1.08 0 0 0-.001-2.161"})))},{name:"json-feed",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"m8.522 17.424.027.027c1.076-1.076 1.854-.993 3.154.306l2.053 2.053c2.136 2.136 4.131 2.028 6.515-.356l.729-.728-1.548-1.548-.373.373c-1.349 1.349-2.293 1.366-3.585.075l-2.409-2.409c-1.242-1.242-2.475-1.366-3.659-.381l-.232-.232c1.01-1.225.911-2.368-.29-3.568l-2.16-2.162c-1.317-1.317-1.308-2.236.058-3.602l.372-.372-1.54-1.54-.728.729c-2.393 2.393-2.525 4.346-.439 6.433l1.78 1.78c1.3 1.3 1.383 2.095.315 3.163l.008.008a1.384 1.384 0 0 0 1.952 1.951"}),React.createElement("circle",{cx:"13.089",cy:"10.905",r:"1.383"}),React.createElement("circle",{cx:"16.349",cy:"7.644",r:"1.383"}),React.createElement("circle",{cx:"19.61",cy:"4.383",r:"1.383"})))},{name:"line",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M14.255 9.572v3.333c0 .084-.066.15-.15.15h-.534a.16.16 0 0 1-.122-.061l-1.528-2.063v1.978c0 .084-.066.15-.15.15h-.534a.15.15 0 0 1-.15-.15V9.576c0-.084.066-.15.15-.15h.529a.14.14 0 0 1 .122.066l1.528 2.063V9.577c0-.084.066-.15.15-.15h.534a.15.15 0 0 1 .155.145m-3.844-.15h-.534a.15.15 0 0 0-.15.15v3.333c0 .084.066.15.15.15h.534c.084 0 .15-.066.15-.15V9.572c0-.08-.066-.15-.15-.15m-1.289 2.794H7.664V9.572a.15.15 0 0 0-.15-.15H6.98a.15.15 0 0 0-.15.15v3.333q0 .062.042.103a.16.16 0 0 0 .103.042h2.142c.084 0 .15-.066.15-.15v-.534a.15.15 0 0 0-.145-.15m7.945-2.794h-2.142c-.08 0-.15.066-.15.15v3.333c0 .08.066.15.15.15h2.142c.084 0 .15-.066.15-.15v-.534a.15.15 0 0 0-.15-.15h-1.458v-.563h1.458c.084 0 .15-.066.15-.15v-.539a.15.15 0 0 0-.15-.15h-1.458v-.563h1.458c.084 0 .15-.066.15-.15v-.534c-.005-.08-.07-.15-.15-.15M22.5 5.33v13.373c-.005 2.1-1.725 3.802-3.83 3.797H5.297c-2.1-.005-3.802-1.73-3.797-3.83V5.297c.005-2.1 1.73-3.802 3.83-3.797h13.373c2.1.005 3.802 1.725 3.797 3.83m-2.888 5.747c0-3.422-3.431-6.206-7.645-6.206s-7.645 2.784-7.645 6.206c0 3.066 2.719 5.634 6.394 6.122.895.192.792.52.591 1.725-.033.192-.155.755.661.413s4.402-2.592 6.009-4.439c1.106-1.219 1.636-2.452 1.636-3.82"})))},{name:"link",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M17 13H7v-2h10zm1-6h-1c-1.631 0-3.065.792-3.977 2H18c1.103 0 2 .897 2 2v2c0 1.103-.897 2-2 2h-4.977c.913 1.208 2.347 2 3.977 2h1a4 4 0 0 0 4-4v-2a4 4 0 0 0-4-4M2 11v2a4 4 0 0 0 4 4h1c1.63 0 3.065-.792 3.977-2H6c-1.103 0-2-.897-2-2v-2c0-1.103.897-2 2-2h4.977C10.065 7.792 8.631 7 7 7H6a4 4 0 0 0-4 4"})))},{name:"linkedin",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M19.7 3H4.3A1.3 1.3 0 0 0 3 4.3v15.4A1.3 1.3 0 0 0 4.3 21h15.4a1.3 1.3 0 0 0 1.3-1.3V4.3A1.3 1.3 0 0 0 19.7 3M8.339 18.338H5.667v-8.59h2.672zM7.004 8.574a1.548 1.548 0 1 1-.002-3.096 1.548 1.548 0 0 1 .002 3.096m11.335 9.764H15.67v-4.177c0-.996-.017-2.278-1.387-2.278-1.389 0-1.601 1.086-1.601 2.206v4.249h-2.667v-8.59h2.559v1.174h.037c.356-.675 1.227-1.387 2.526-1.387 2.703 0 3.203 1.779 3.203 4.092v4.711z"})))},{name:"mail",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M20 4H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2m0 4.236-8 4.882-8-4.882V6h16z"})))},{name:"mastodon",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M11.973 2.352c-2.468.02-4.842.286-6.225.921 0 0-2.742 1.229-2.742 5.415 0 .958-.018 2.105.012 3.32.1 4.094.75 8.128 4.535 9.129 1.745.462 3.244.56 4.45.494 2.19-.122 3.417-.781 3.417-.781l-.072-1.588s-1.565.491-3.32.431c-1.74-.06-3.576-.188-3.858-2.324a4 4 0 0 1-.04-.598s1.709.416 3.874.516c1.324.06 2.563-.076 3.824-.226 2.418-.29 4.524-1.78 4.79-3.141.416-2.144.38-5.232.38-5.232 0-4.186-2.74-5.415-2.74-5.415-1.383-.635-3.76-.9-6.227-.921zM9.18 5.622c1.028 0 1.804.395 2.318 1.185l.502.84.5-.84c.514-.79 1.292-1.186 2.32-1.186.888 0 1.605.313 2.15.922q.795.915.794 2.469v5.068h-2.008V9.16c0-1.037-.438-1.562-1.31-1.562-.966 0-1.448.622-1.448 1.857v2.693h-1.996V9.455c0-1.235-.484-1.857-1.45-1.857-.872 0-1.308.525-1.308 1.562v4.92H6.236V9.012q-.001-1.554.793-2.469c.547-.609 1.263-.922 2.15-.922"})))},{name:"medium-alt",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{fillRule:"nonzero",d:"M7.423 6c3.27 0 5.922 2.686 5.922 6s-2.651 6-5.922 6S1.5 15.313 1.5 12s2.652-6 5.923-6m9.458.351c1.635 0 2.961 2.53 2.961 5.65 0 3.118-1.325 5.648-2.96 5.648S13.92 15.119 13.92 12s1.325-5.649 2.96-5.649m4.577.589c.576 0 1.042 2.265 1.042 5.06s-.466 5.06-1.042 5.06c-.575 0-1.04-2.265-1.04-5.06s.465-5.06 1.04-5.06"})))},{name:"medium",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M3 3v18h18V3zm15 4.26-1 .93a.28.28 0 0 0-.11.27v6.8a.27.27 0 0 0 .11.27l.94.93v.2h-4.75v-.2l1-1c.09-.1.09-.12.09-.27V9.74l-2.71 6.9h-.37L8 9.74v4.62a.67.67 0 0 0 .17.54l1.27 1.54v.2H5.86v-.2l1.27-1.54a.64.64 0 0 0 .17-.54V9a.5.5 0 0 0-.16-.4L6 7.26v-.2h3.52L12.23 13l2.38-5.94H18z"})))},{name:"messenger",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12.026.375C5.462.375.375 5.172.375 11.652c0 3.389 1.393 6.318 3.66 8.341.391.352.311.556.377 2.73a.934.934 0 0 0 1.307.823c2.48-1.092 2.512-1.178 2.933-1.064 7.185 1.977 14.973-2.621 14.973-10.83 0-6.48-5.035-11.277-11.599-11.277m6.996 8.678L15.6 14.47a1.75 1.75 0 0 1-2.527.465l-2.723-2.038a.7.7 0 0 0-.844 0l-3.674 2.786c-.49.372-1.133-.216-.802-.735l3.422-5.417a1.75 1.75 0 0 1 2.527-.465l2.722 2.037a.7.7 0 0 0 .844 0L18.22 8.32c.489-.374 1.132.213.801.732"})))},{name:"microblog",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M19.641 17.086c1.294-1.522 2.067-3.438 2.067-5.521 0-4.957-4.371-8.972-9.763-8.972s-9.763 4.015-9.763 8.972 4.371 8.972 9.763 8.972a10.5 10.5 0 0 0 3.486-.59.315.315 0 0 1 .356.112c.816 1.101 2.09 1.876 3.506 2.191a.194.194 0 0 0 .192-.309 3.82 3.82 0 0 1 .162-4.858zm-3.065-6.575-2.514 1.909.912 3.022a.286.286 0 0 1-.437.317l-2.592-1.802-2.592 1.802a.285.285 0 0 1-.436-.317l.912-3.022-2.515-1.909a.285.285 0 0 1 .167-.513l3.155-.066 1.038-2.981a.285.285 0 0 1 .539 0l1.038 2.981 3.155.066a.285.285 0 0 1 .17.513"})))},{name:"nextdoor",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",strokeMiterlimit:"10",viewBox:"0 0 130 130"},React.createElement("g",null,React.createElement("path",{d:"M64.25 3.531c-31.144.337-57.596 24.22-60.469 55.907-3.064 33.799 21.857 63.685 55.657 66.75s63.685-21.857 66.75-55.657-21.857-63.686-55.657-66.75a62 62 0 0 0-6.281-.25m3.938 34.907C82.468 38.438 93.5 48.58 93.5 61.5v27c0 .685-.565 1.25-1.25 1.25H80.906a1.267 1.267 0 0 1-1.25-1.25V63.375c0-5.58-4.309-11.937-11.469-11.937-7.47 0-11.468 6.357-11.468 11.937V88.5c0 .685-.565 1.25-1.25 1.25H44.125c-.68 0-1.219-.57-1.219-1.25V64.156c0-.74-.529-1.364-1.25-1.531-13.13-2.93-15.115-10.285-15.375-21.125-.005-.332.142-.67.375-.906.233-.237.543-.375.875-.375l11.688.062c.66.01 1.187.529 1.218 1.188.13 4.44.438 9.406 4.438 9.406.83 0 1.443-1.179 1.813-1.719 4.41-6.48 12.28-10.718 21.5-10.718"})))},{name:"patreon",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M20 7.408c-.003-2.299-1.746-4.182-3.79-4.862-2.54-.844-5.888-.722-8.312.453-2.939 1.425-3.862 4.545-3.896 7.656-.028 2.559.22 9.297 3.92 9.345 2.75.036 3.159-3.603 4.43-5.356.906-1.247 2.071-1.599 3.506-1.963 2.465-.627 4.146-2.626 4.142-5.273"})))},{name:"pinterest-alt",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12.289 2C6.617 2 3.606 5.648 3.606 9.622c0 1.846 1.025 4.146 2.666 4.878.25.111.381.063.439-.169.044-.175.267-1.029.365-1.428a.37.37 0 0 0-.091-.362c-.54-.63-.975-1.791-.975-2.873 0-2.777 2.194-5.464 5.933-5.464 3.23 0 5.49 2.108 5.49 5.122 0 3.407-1.794 5.768-4.13 5.768-1.291 0-2.257-1.021-1.948-2.277.372-1.495 1.089-3.112 1.089-4.191 0-.967-.542-1.775-1.663-1.775-1.319 0-2.379 1.309-2.379 3.059 0 1.115.394 1.869.394 1.869s-1.302 5.279-1.54 6.261c-.405 1.666.053 4.368.094 4.604.021.126.167.169.25.063.129-.165 1.699-2.419 2.142-4.051.158-.59.817-2.995.817-2.995.43.784 1.681 1.446 3.013 1.446 3.963 0 6.822-3.494 6.822-7.833C20.394 5.112 16.849 2 12.289 2"})))},{name:"pinterest",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12c0 4.236 2.636 7.855 6.356 9.312-.087-.791-.166-2.005.035-2.869.182-.78 1.173-4.971 1.173-4.971s-.299-.599-.299-1.484c0-1.39.806-2.429 1.809-2.429.853 0 1.265.641 1.265 1.409 0 .858-.546 2.141-.828 3.329-.236.996.499 1.807 1.481 1.807 1.777 0 3.144-1.874 3.144-4.579 0-2.394-1.72-4.068-4.177-4.068-2.845 0-4.515 2.134-4.515 4.34 0 .859.331 1.781.744 2.282a.3.3 0 0 1 .069.287c-.077.316-.246.995-.279 1.134-.044.183-.145.222-.334.134-1.249-.581-2.03-2.407-2.03-3.874 0-3.154 2.292-6.051 6.607-6.051 3.469 0 6.165 2.472 6.165 5.775 0 3.446-2.173 6.22-5.189 6.22-1.013 0-1.966-.526-2.292-1.148l-.623 2.377c-.226.869-.835 1.957-1.243 2.622.936.289 1.93.445 2.961.445 5.523 0 10-4.477 10-10S17.523 2 12 2"})))},{name:"pocket",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M21.927 4.194A1.82 1.82 0 0 0 20.222 3H3.839a1.823 1.823 0 0 0-1.813 1.814v6.035l.069 1.2c.29 2.73 1.707 5.115 3.899 6.778l.119.089.025.018a9.9 9.9 0 0 0 3.91 1.727 10.06 10.06 0 0 0 4.049-.014.3.3 0 0 0 .064-.023 9.9 9.9 0 0 0 3.753-1.691l.025-.018q.06-.043.119-.089c2.192-1.664 3.609-4.049 3.898-6.778l.069-1.2V4.814a1.8 1.8 0 0 0-.098-.62m-4.235 6.287-4.704 4.512a1.37 1.37 0 0 1-1.898 0l-4.705-4.512a1.371 1.371 0 1 1 1.898-1.979l3.756 3.601 3.755-3.601a1.372 1.372 0 0 1 1.898 1.979"})))},{name:"polldaddy",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12 2C6.487 2 2 6.487 2 12c0 5.514 4.487 10 10 10 5.514 0 10-4.486 10-10 0-5.513-4.486-10-10-10m.991 1.68c2.361.084 4.657 1.251 6.197 3.136.283.334.541.693.774 1.067a7.78 7.78 0 0 0-6.094-2.94 7.76 7.76 0 0 0-5.896 2.703q-.008.006-.016.014l-.152.159-.031.032a6.12 6.12 0 0 0-1.633 4.165 6.15 6.15 0 0 0 6.143 6.143c.57 0 1.123-.081 1.649-.227-1.849.839-4.131.747-5.926-.324-1.841-1.089-3.171-3.111-3.433-5.313A7.39 7.39 0 0 1 6.69 6.137C8.294 4.5 10.634 3.563 12.991 3.68m3.373 8.519c-.049-2.024-1.587-3.889-3.544-4.174-1.927-.343-3.917.857-4.451 2.661a3.67 3.67 0 0 0 .2 2.653c.39.8 1.067 1.451 1.894 1.759 1.664.654 3.63-.27 4.173-1.863.593-1.58-.396-3.423-1.94-3.776-1.52-.407-3.161.757-3.204 2.243a2.36 2.36 0 0 0 .753 1.879c.501.476 1.23.667 1.871.529a2.07 2.07 0 0 0 1.469-1.134 1.91 1.91 0 0 0-.087-1.767c-.297-.513-.859-.863-1.429-.881a1.7 1.7 0 0 0-1.437.679 1.53 1.53 0 0 0-.18 1.489q.006.016.016.03c.193.634.774 1.1 1.467 1.117a1.6 1.6 0 0 1-.97-.183c-.466-.244-.809-.747-.893-1.29a1.8 1.8 0 0 1 .499-1.539 2.02 2.02 0 0 1 1.58-.606c.593.04 1.159.35 1.517.859.364.496.51 1.156.383 1.773-.116.62-.529 1.174-1.093 1.514a2.52 2.52 0 0 1-1.914.286c-.65-.161-1.226-.606-1.584-1.206a2.83 2.83 0 0 1-.341-2.031c.143-.7.573-1.321 1.176-1.753 1.193-.883 3.056-.751 4.106.411 1.106 1.1 1.327 3.027.406 4.371-.877 1.376-2.74 2.086-4.374 1.594-1.639-.449-2.913-2.079-3.031-3.853-.07-.884.13-1.797.583-2.577.445-.777 1.155-1.432 1.972-1.862 1.64-.88 3.816-.743 5.349.424 1.251.924 2.083 2.42 2.236 4.009l.001.03c0 2.9-2.359 5.26-5.26 5.26a5.2 5.2 0 0 1-1.947-.376 5 5 0 0 0 2.613-.079 4.96 4.96 0 0 0 2.514-1.751c.618-.828.95-1.861.901-2.869M12 21.113c-5.024 0-9.111-4.087-9.111-9.113 0-4.789 3.713-8.723 8.411-9.081a7 7 0 0 0-.397.06c-2.644.453-5.017 2.106-6.32 4.409-1.309 2.301-1.391 5.19-.3 7.527 1.056 2.34 3.253 4.156 5.776 4.553 2.497.44 5.133-.483 6.787-2.301 1.719-1.797 2.269-4.529 1.486-6.796-.583-1.81-1.976-3.331-3.7-4.046 3.417.594 6.174 3.221 6.174 6.781 0 1.004-.241 2.02-.657 2.966-1.498 2.984-4.586 5.041-8.149 5.041"})))},{name:"print",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M9 16h6v2H9zm13 1h-3v3a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-3H2V9a2 2 0 0 1 2-2h1V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v2h1a2 2 0 0 1 2 2zM7 7h10V5H7zm10 7H7v6h10zm3-3.5a1.5 1.5 0 1 0-3.001.001A1.5 1.5 0 0 0 20 10.5"})))},{name:"quora",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M47.736 16.521c-.41-.81-.898-1.631-1.846-1.631a1 1 0 0 0-.527.107l-.322-.644a2.93 2.93 0 0 1 1.836-.595c1.26 0 1.914.605 2.431 1.397a6.8 6.8 0 0 0 .449-2.675c0-2.773-.869-4.199-2.929-4.199-1.992 0-2.851 1.465-2.851 4.199s.859 4.17 2.851 4.17a4 4 0 0 0 .869-.107zm.498.966a6 6 0 0 1-1.367.185 5.27 5.27 0 0 1-5.263-5.204c0-3.114 2.558-5.233 5.263-5.233s5.282 2.109 5.282 5.233a5.08 5.08 0 0 1-1.992 4.072c.381.566.781.956 1.319.956.595 0 .839-.459.878-.82h.781c.049.488-.195 2.48-2.373 2.48-1.319 0-2.012-.761-2.529-1.66zm5.624-2.646v-3.563c0-.371-.146-.586-.615-.586h-.498v-.956h3.251v5.048c0 .849.459 1.231 1.161 1.231a1.56 1.56 0 0 0 1.465-.839V11.28c0-.371-.146-.586-.615-.586h-.527v-.957h3.28v5.302c0 .527.195.732.8.732h.107v.976l-2.929.468V16.21h-.057a3.12 3.12 0 0 1-2.509 1.152c-1.28 0-2.304-.644-2.304-2.558zm12.059 1.611c1.152 0 1.592-1.005 1.611-3.027.02-1.982-.459-2.929-1.611-2.929-1.005 0-1.641.956-1.641 2.929 0 2.021.625 3.027 1.641 3.027m0 .956a3.906 3.906 0 0 1-3.974-3.974c0-2.334 1.836-3.886 3.974-3.886 2.226 0 4.004 1.582 4.004 3.886a3.867 3.867 0 0 1-4.004 3.974m4.072-.146v-.956h.312c.781 0 .859-.224.859-.908v-4.121c0-.371-.215-.586-.732-.586h-.42v-.955h2.968l.146 1.553h.108c.371-1.113 1.221-1.699 2.051-1.699.693 0 1.221.39 1.221 1.181 0 .547-.264 1.093-1.005 1.093-.664 0-.8-.449-1.358-.449-.488 0-.869.468-.869 1.152v2.783c0 .673.166.908.937.908h.439v.956h-4.658zm9.901-1.093c.956 0 1.338-.898 1.338-1.797v-1.211c-.732.722-2.304.742-2.304 2.021 0 .625.371.986.966.986m1.387 0c-.39.752-1.191 1.26-2.314 1.26-1.309 0-2.148-.732-2.148-1.914 0-2.451 3.417-1.797 4.423-3.427v-.185c0-1.25-.488-1.445-1.035-1.445-1.524 0-.83 1.631-2.226 1.631-.673 0-.937-.371-.937-.859 0-.927 1.093-1.67 3.173-1.67 1.963 0 3.163.537 3.163 2.49v3.114q-.02.742.595.742a1 1 0 0 0 .449-.127l.254.615c-.205.312-.752.869-1.836.869-.908 0-1.465-.42-1.543-1.113h-.01zm-68.554 2.558c-.83-1.641-1.807-3.3-3.711-3.3a2.9 2.9 0 0 0-1.093.215l-.644-1.299a5.66 5.66 0 0 1 3.662-1.211c2.548 0 3.857 1.231 4.892 2.792q.917-2.012.908-5.38c0-5.585-1.748-8.417-5.829-8.417-4.033 0-5.76 2.87-5.76 8.417s1.738 8.397 5.76 8.397a5.9 5.9 0 0 0 1.748-.224zm.996 1.953a9.8 9.8 0 0 1-2.744.371C5.614 21.041.371 16.764.371 10.545.371 4.277 5.614 0 10.965 0c5.448 0 10.642 4.248 10.642 10.545a10.25 10.25 0 0 1-4.013 8.201c.732 1.152 1.563 1.914 2.665 1.914 1.201 0 1.689-.927 1.768-1.66h1.572c.088.966-.4 4.999-4.775 4.999-2.646 0-4.052-1.543-5.106-3.339z"})))},{name:"reddit",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M22 11.816a2.28 2.28 0 0 0-2.277-2.277c-.593 0-1.122.24-1.526.614-1.481-.965-3.455-1.594-5.647-1.69l1.171-3.702 3.18.748a1.88 1.88 0 0 0 1.876 1.862 1.88 1.88 0 0 0 1.877-1.878 1.88 1.88 0 0 0-1.877-1.877c-.769 0-1.431.466-1.72 1.13l-3.508-.826a.386.386 0 0 0-.46.261l-1.35 4.268c-2.316.038-4.411.67-5.97 1.671a2.24 2.24 0 0 0-1.492-.581A2.28 2.28 0 0 0 2 11.816c0 .814.433 1.523 1.078 1.925a4 4 0 0 0-.061.672c0 3.292 4.011 5.97 8.941 5.97s8.941-2.678 8.941-5.97q-.002-.32-.053-.632A2.26 2.26 0 0 0 22 11.816m-3.224-7.422a1.1 1.1 0 1 1-.001 2.199 1.1 1.1 0 0 1 .001-2.199M2.777 11.816c0-.827.672-1.5 1.499-1.5.313 0 .598.103.838.269-.851.676-1.477 1.479-1.812 2.36a1.48 1.48 0 0 1-.525-1.129m9.182 7.79c-4.501 0-8.164-2.329-8.164-5.193S7.457 9.22 11.959 9.22s8.164 2.329 8.164 5.193-3.663 5.193-8.164 5.193m8.677-6.605c-.326-.89-.948-1.701-1.797-2.384.248-.186.55-.301.883-.301.827 0 1.5.673 1.5 1.5.001.483-.23.911-.586 1.185m-11.64 1.703c-.76 0-1.397-.616-1.397-1.376s.637-1.397 1.397-1.397 1.376.637 1.376 1.397-.616 1.376-1.376 1.376m7.405-1.376c0 .76-.616 1.376-1.376 1.376s-1.399-.616-1.399-1.376.639-1.397 1.399-1.397 1.376.637 1.376 1.397m-1.172 3.38a.39.39 0 0 1 0 .55c-.674.674-1.727 1.002-3.219 1.002l-.011-.002-.011.002c-1.492 0-2.544-.328-3.218-1.002a.389.389 0 1 1 .55-.55c.521.521 1.394.775 2.669.775l.011.002.011-.002c1.275 0 2.148-.253 2.669-.775a.387.387 0 0 1 .549 0"})))},{name:"share",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M18 16c-.788 0-1.499.31-2.034.807L8.91 12.7c.05-.23.09-.46.09-.7s-.04-.47-.09-.7l7.05-4.11c.54.5 1.25.81 2.04.81 1.66 0 3-1.34 3-3s-1.34-3-3-3-3 1.34-3 3c0 .24.04.47.09.7L8.04 9.81C7.5 9.31 6.79 9 6 9c-1.66 0-3 1.34-3 3s1.34 3 3 3c.79 0 1.5-.31 2.04-.81l7.048 4.118A3 3 0 0 0 15 19a3 3 0 1 0 3-3"})))},{name:"skype",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"m10.113 2.699.1-.02q.05.025.098.051zM2.72 10.223l-.017.103q.025.048.051.095zm18.555 3.548q.009-.053.018-.106-.025-.047-.052-.095zm-7.712 7.428q.049.027.096.053l.105-.017zM22 16.386a5.55 5.55 0 0 1-1.637 3.953 5.55 5.55 0 0 1-3.953 1.637 5.6 5.6 0 0 1-2.75-.725l.105-.017-.202-.035q.049.027.096.053a9.5 9.5 0 0 1-1.654.147 9.4 9.4 0 0 1-3.676-.743 9.4 9.4 0 0 1-3.002-2.023 9.4 9.4 0 0 1-2.023-3.002 9.4 9.4 0 0 1-.743-3.676c0-.546.049-1.093.142-1.628q.025.048.051.095l-.034-.199-.017.103A5.6 5.6 0 0 1 2 7.615c0-1.493.582-2.898 1.637-3.953A5.56 5.56 0 0 1 7.59 2.024c.915 0 1.818.228 2.622.655l-.1.02.199.031q-.049-.026-.098-.051l.004-.001a9.5 9.5 0 0 1 1.788-.169 9.41 9.41 0 0 1 6.678 2.766 9.4 9.4 0 0 1 2.024 3.002 9.4 9.4 0 0 1 .743 3.676c0 .575-.054 1.15-.157 1.712q-.025-.047-.052-.095l.034.201q.009-.053.018-.106c.461.829.707 1.767.707 2.721m-5.183-2.248c0-1.331-.613-2.743-3.033-3.282l-2.209-.49c-.84-.192-1.807-.444-1.807-1.237s.679-1.348 1.903-1.348c2.468 0 2.243 1.696 3.468 1.696.645 0 1.209-.379 1.209-1.031 0-1.521-2.435-2.663-4.5-2.663-2.242 0-4.63.952-4.63 3.488 0 1.221.436 2.521 2.839 3.123l2.984.745c.903.223 1.129.731 1.129 1.189 0 .762-.758 1.507-2.129 1.507-2.679 0-2.307-2.062-3.743-2.062-.645 0-1.113.444-1.113 1.078 0 1.236 1.501 2.886 4.856 2.886 3.195 0 4.776-1.538 4.776-3.599"})))},{name:"sms",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M17.696 4C20.069 4 22 5.973 22 8.398v4.357c0 2.04-1.368 3.783-3.261 4.266v4.427l-5.234-4.295h-7.2C3.93 17.153 2 15.18 2 12.755V8.398C2 5.973 3.931 4 6.304 4zM7.028 8.515c-.98 0-1.66.562-1.66 1.349-.009.497.322.91.985 1.178l.39.142c.242.097.305.171.305.297 0 .162-.131.251-.442.251s-.76-.135-1.004-.284l-.112.046-.215.868c.359.258.832.364 1.33.364 1.104 0 1.764-.523 1.764-1.333-.008-.574-.305-.956-.954-1.216l-.393-.146c-.266-.108-.341-.181-.341-.287 0-.152.131-.243.387-.243.274 0 .587.093.808.214l.109-.047.214-.837c-.315-.224-.741-.316-1.171-.316m10.302 0c-.98 0-1.66.562-1.66 1.349-.008.497.322.91.985 1.178l.39.142c.243.097.305.171.305.297 0 .162-.13.251-.442.251-.311 0-.76-.135-1.004-.284l-.112.046-.215.868c.359.258.832.364 1.33.364 1.104 0 1.764-.523 1.764-1.333-.008-.574-.305-.956-.954-1.216l-.393-.146c-.266-.108-.341-.181-.341-.287 0-.152.131-.243.387-.243.274 0 .587.093.808.214l.109-.047.214-.837c-.316-.224-.741-.316-1.171-.316m-3.733 0c-.297 0-.55.066-.78.202l-.144.098a2 2 0 0 0-.264.247l-.078.095-.027-.077c-.15-.34-.55-.565-1.033-.565l-.169.007a1.36 1.36 0 0 0-.896.42l-.08.09-.038-.363-.075-.067H8.994l-.075.079.024.634c.005.2.008.397.008.604v2.652l.075.075h1.178l.075-.075v-2.269q-.002-.168.042-.274c.083-.23.262-.392.496-.392.314 0 .483.267.483.753v2.182l.075.075h1.179l.075-.075v-2.277c0-.097.016-.213.043-.285.077-.224.26-.373.486-.373.33 0 .5.272.5.817v2.118l.074.075h1.179l.075-.075v-2.293c0-1.131-.537-1.763-1.39-1.763Z"})))},{name:"snapchat",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M11.989 1.728c3.221.001 5.904 2.683 5.908 5.912q.002 1.133.067 2.094a.737.737 0 0 0 .902.669l1.009-.237a.6.6 0 0 1 .129-.015c.256 0 .492.175.55.434a.74.74 0 0 1-.479.861l-1.532.618a.823.823 0 0 0-.485.98c1.229 4.543 4.661 4.071 4.661 4.662 0 .743-2.587.848-2.821 1.082s-.01 1.368-.532 1.588a1.1 1.1 0 0 1-.409.056c-.393 0-.95-.077-1.536-.077-.509 0-1.04.058-1.507.273-1.239.572-2.433 1.641-3.914 1.641S9.325 21.2 8.086 20.628c-.467-.216-.998-.273-1.507-.273-.586 0-1.143.077-1.536.077-.17 0-.31-.014-.409-.056-.522-.22-.299-1.354-.532-1.588s-2.821-.337-2.821-1.08c0-.592 3.432-.119 4.661-4.662a.824.824 0 0 0-.486-.98l-1.532-.618a.74.74 0 0 1-.479-.861.56.56 0 0 1 .679-.419l1.009.237q.086.02.169.02a.737.737 0 0 0 .733-.689q.065-.961.067-2.094c.004-3.229 2.666-5.91 5.887-5.912m0-1.281c-.961 0-1.898.194-2.784.574A7.2 7.2 0 0 0 6.93 2.572a7.2 7.2 0 0 0-1.539 2.282A7.1 7.1 0 0 0 4.82 7.64a33 33 0 0 1-.029 1.369l-.375-.088a2 2 0 0 0-.421-.049 1.86 1.86 0 0 0-1.135.389 1.84 1.84 0 0 0-.666 1.049 2.024 2.024 0 0 0 1.271 2.335l1.124.454c-.744 2.285-2.117 2.723-3.041 3.018a5 5 0 0 0-.659.246C.087 16.76 0 17.436 0 17.708c0 .521.247.996.694 1.339.223.17.499.311.844.43.47.162 1.016.265 1.459.347.021.164.053.341.106.518.22.738.684 1.069 1.034 1.217.332.14.676.156.905.156.224 0 .462-.018.713-.036.269-.02.548-.041.823-.041.426 0 .743.051.97.155.311.144.64.337.989.542.972.571 2.073 1.217 3.462 1.217s2.49-.647 3.462-1.217c.349-.205.679-.399.989-.542.226-.105.544-.155.97-.155.275 0 .554.021.823.041.251.019.488.036.713.036.229 0 .573-.016.905-.156.35-.147.814-.478 1.034-1.217.053-.178.084-.354.106-.518.443-.082.989-.185 1.459-.347.345-.119.621-.259.844-.43.448-.342.694-.818.694-1.339 0-.272-.087-.948-.891-1.347a5 5 0 0 0-.659-.246c-.924-.295-2.297-.733-3.041-3.018l1.124-.454a2.025 2.025 0 0 0 1.271-2.335 1.83 1.83 0 0 0-.666-1.049 1.86 1.86 0 0 0-1.556-.34l-.375.088a33 33 0 0 1-.029-1.369 7.1 7.1 0 0 0-.575-2.789c-.365-.853-.886-1.62-1.547-2.282s-1.428-1.182-2.28-1.547a7.1 7.1 0 0 0-2.786-.574"})))},{name:"soundcloud",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M23.587 13.923a3.303 3.303 0 0 1-3.344 3.117h-8.037a.674.674 0 0 1-.667-.67V7.717a.74.74 0 0 1 .444-.705s.739-.512 2.296-.512a5.27 5.27 0 0 1 2.702.742 5.35 5.35 0 0 1 2.516 3.485 3.1 3.1 0 0 1 .852-.116 3.217 3.217 0 0 1 3.237 3.312m-13.05-5.659c.242 2.935.419 5.612 0 8.538a.261.261 0 0 1-.519 0c-.39-2.901-.221-5.628 0-8.538a.26.26 0 0 1 .398-.25.26.26 0 0 1 .12.25zm-1.627 8.541a.273.273 0 0 1-.541 0 32.7 32.7 0 0 1 0-7.533.274.274 0 0 1 .544 0 29.4 29.4 0 0 1-.003 7.533m-1.63-7.788c.264 2.69.384 5.099-.003 7.782a.262.262 0 0 1-.522 0c-.374-2.649-.249-5.127 0-7.782a.264.264 0 0 1 .525 0m-1.631 7.792a.268.268 0 0 1-.532 0 27.6 27.6 0 0 1 0-7.034.27.27 0 1 1 .541 0 25.8 25.8 0 0 1-.01 7.034zm-1.63-5.276c.412 1.824.227 3.435-.015 5.294a.255.255 0 0 1-.504 0c-.22-1.834-.402-3.482-.015-5.295a.268.268 0 0 1 .535 0m-1.626-.277c.378 1.869.254 3.451-.01 5.325-.031.277-.506.28-.531 0-.239-1.846-.352-3.476-.01-5.325a.277.277 0 0 1 .551 0m-1.643.907c.396 1.239.261 2.246-.016 3.517a.258.258 0 0 1-.514 0c-.239-1.246-.336-2.274-.021-3.517a.276.276 0 0 1 .55 0z"})))},{name:"spotify",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2m4.586 14.424a.62.62 0 0 1-.857.207c-2.348-1.435-5.304-1.76-8.785-.964a.622.622 0 1 1-.277-1.215c3.809-.871 7.077-.496 9.713 1.115a.623.623 0 0 1 .206.857M17.81 13.7a.78.78 0 0 1-1.072.257c-2.687-1.652-6.785-2.131-9.965-1.166A.779.779 0 1 1 6.32 11.3c3.632-1.102 8.147-.568 11.234 1.328a.78.78 0 0 1 .256 1.072m.105-2.835c-3.223-1.914-8.54-2.09-11.618-1.156a.935.935 0 1 1-.542-1.79c3.532-1.072 9.404-.865 13.115 1.338a.936.936 0 1 1-.955 1.608"})))},{name:"squarespace",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M20.87 9.271a3.86 3.86 0 0 0-5.458 0l-6.141 6.141a.964.964 0 1 0 1.365 1.364l6.14-6.14a1.929 1.929 0 1 1 2.729 2.729l-6.022 6.022a1.93 1.93 0 0 0 2.729 0l4.658-4.658a3.86 3.86 0 0 0 0-5.458m-2.047 2.047a.965.965 0 0 0-1.365 0l-6.14 6.14a1.93 1.93 0 0 1-2.729 0 .964.964 0 1 0-1.364 1.364 3.86 3.86 0 0 0 5.458 0l6.14-6.14a.966.966 0 0 0 0-1.364m-2.047-6.141a3.86 3.86 0 0 0-5.458 0l-6.14 6.14a.964.964 0 1 0 1.364 1.364l6.141-6.14a1.93 1.93 0 0 1 2.729 0 .965.965 0 1 0 1.364-1.364m-2.047 2.047a.964.964 0 0 0-1.364 0l-6.14 6.141a1.929 1.929 0 1 1-2.729-2.729l6.022-6.022a1.93 1.93 0 0 0-2.729 0L3.13 9.271a3.86 3.86 0 0 0 5.458 5.458l6.14-6.141a.963.963 0 0 0 .001-1.364"})))},{name:"stackexchange",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M4 11.606h16v3.272H4zM4 7.377h16v3.272H4zM17.514 3H6.55C5.147 3 4 4.169 4 5.614v.848h16v-.85C20 4.167 18.895 3 17.514 3M4 15.813v.85c0 1.445 1.147 2.614 2.55 2.614h6.799v3.463l3.357-3.463h.744c1.402 0 2.55-1.169 2.55-2.614v-.85z"})))},{name:"stackoverflow",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M18.18 20.103V14.78h1.767v7.09H4v-7.09h1.767v5.323z"}),React.createElement("path",{d:"m7.717 14.275 8.673 1.813.367-1.744-8.673-1.813zm1.147-4.13 8.031 3.74.734-1.606-8.031-3.763zm2.226-3.946 6.815 5.667 1.124-1.354-6.815-5.667zM15.495 2l-1.423 1.055 5.277 7.113 1.423-1.055zM7.533 18.314h8.857v-1.767H7.533z"})))},{name:"stumbleupon",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12 4.294a4.47 4.47 0 0 0-4.471 4.471v6.353a1.059 1.059 0 1 1-2.118 0v-2.824H2v2.941a4.471 4.471 0 0 0 8.942 0v-6.47a1.059 1.059 0 1 1 2.118 0v1.294l1.412.647 2-.647V8.765A4.473 4.473 0 0 0 12 4.294m1.059 8.059v2.882a4.471 4.471 0 0 0 8.941 0v-2.824h-3.412v2.824a1.059 1.059 0 1 1-2.118 0v-2.882l-2 .647z"})))},{name:"substack",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M19.904 9.182H4.095V7.054h15.81v2.127M4.095 11.109V21L12 16.583 19.905 21v-9.891zM19.905 3H4.095v2.127h15.81z"})))},{name:"telegram",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2m3.08 14.757s-.25.625-.936.325l-2.541-1.949-1.63 1.486s-.127.096-.266.036c0 0-.12-.011-.27-.486s-.911-2.972-.911-2.972L6 12.349s-.387-.137-.425-.438c-.037-.3.437-.462.437-.462l10.03-3.934s.824-.362.824.238z"})))},{name:"threads",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 192 192"},React.createElement("g",null,React.createElement("path",{d:"M141.537 88.988a67 67 0 0 0-2.518-1.143c-1.482-27.307-16.403-42.94-41.457-43.1h-.34c-14.986 0-27.449 6.396-35.12 18.036l13.779 9.452c5.73-8.695 14.724-10.548 21.348-10.548h.229c8.249.053 14.474 2.452 18.503 7.129 2.932 3.405 4.893 8.111 5.864 14.05-7.314-1.243-15.224-1.626-23.68-1.14-23.82 1.371-39.134 15.264-38.105 34.568.522 9.792 5.4 18.216 13.735 23.719 7.047 4.652 16.124 6.927 25.557 6.412 12.458-.683 22.231-5.436 29.049-14.127 5.178-6.6 8.453-15.153 9.899-25.93 5.937 3.583 10.337 8.298 12.767 13.966 4.132 9.635 4.373 25.468-8.546 38.376-11.319 11.308-24.925 16.2-45.488 16.351-22.809-.169-40.06-7.484-51.275-21.742C35.236 139.966 29.808 120.682 29.605 96c.203-24.682 5.63-43.966 16.133-57.317C56.954 24.425 74.204 17.11 97.013 16.94c22.975.17 40.526 7.52 52.171 21.847 5.71 7.026 10.015 15.86 12.853 26.162l16.147-4.308c-3.44-12.68-8.853-23.606-16.219-32.668C147.036 9.607 125.202.195 97.07 0h-.113C68.882.194 47.292 9.642 32.788 28.08 19.882 44.485 13.224 67.315 13.001 95.932L13 96v.067c.224 28.617 6.882 51.447 19.788 67.854C47.292 182.358 68.882 191.806 96.957 192h.113c24.96-.173 42.554-6.708 57.048-21.189 18.963-18.945 18.392-42.692 12.142-57.27-4.484-10.454-13.033-18.945-24.723-24.553M98.44 129.507c-10.44.588-21.286-4.098-21.82-14.135-.397-7.442 5.296-15.746 22.461-16.735q2.948-.17 5.79-.169c6.235 0 12.068.606 17.371 1.765-1.978 24.702-13.58 28.713-23.802 29.274"})))},{name:"tiktok-alt",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M5 3a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2zm7.531 3h2.053s-.114 2.635 2.85 2.82v2.04s-1.582.099-2.85-.87l.021 4.207a3.804 3.804 0 1 1-3.802-3.802h.533v2.082a1.73 1.73 0 0 0-1.922.648 1.727 1.727 0 0 0 1.947 2.646 1.73 1.73 0 0 0 1.19-1.642z"})))},{name:"tiktok",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12.22 2h3.42s-.19 4.394 4.75 4.702v3.396s-2.636.166-4.75-1.448l.037 7.012a6.338 6.338 0 1 1-6.34-6.339h.89v3.472a2.882 2.882 0 1 0 2.024 2.752z"})))},{name:"tripadvisor",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M21.01 9.859c.236-1.002.985-2.003.985-2.003l-3.341-.002C16.779 6.643 14.502 6 11.979 6 9.363 6 7 6.659 5.135 7.877L2 7.88s.74.988.98 1.983a4.98 4.98 0 0 0-.977 2.961 5.01 5.01 0 0 0 5.009 5.003 5 5 0 0 0 3.904-1.875l1.065 1.592 1.076-1.606a4.96 4.96 0 0 0 1.838 1.448 4.98 4.98 0 0 0 3.831.151 5.01 5.01 0 0 0 2.963-6.431 5 5 0 0 0-.679-1.247m-13.998 6.96a4 4 0 0 1-3.998-3.995 4 4 0 0 1 3.998-3.997 4 4 0 0 1 3.996 3.997 4 4 0 0 1-3.996 3.995m4.987-4.36A5.007 5.007 0 0 0 7.11 7.821c1.434-.613 3.081-.947 4.867-.947 1.798 0 3.421.324 4.853.966a4.984 4.984 0 0 0-4.831 4.619m6.288 4.134a3.97 3.97 0 0 1-3.058-.122 3.96 3.96 0 0 1-2.075-2.245v-.001a3.97 3.97 0 0 1 .118-3.056 3.97 3.97 0 0 1 2.246-2.077 4.005 4.005 0 0 1 5.135 2.366 4.006 4.006 0 0 1-2.366 5.135"}),React.createElement("path",{d:"M6.949 10.307a2.477 2.477 0 0 0-2.475 2.472 2.48 2.48 0 0 0 2.475 2.474 2.474 2.474 0 0 0 0-4.946m0 4.094a1.626 1.626 0 0 1-1.624-1.623 1.621 1.621 0 1 1 1.624 1.623M16.981 10.307a2.477 2.477 0 0 0-2.474 2.472 2.48 2.48 0 0 0 2.474 2.474 2.476 2.476 0 0 0 2.472-2.474 2.475 2.475 0 0 0-2.472-2.472m0 4.094a1.625 1.625 0 0 1-1.622-1.623 1.622 1.622 0 1 1 1.622 1.623"}),React.createElement("path",{d:"M7.778 12.778a.832.832 0 1 1-1.664.002.832.832 0 0 1 1.664-.002M16.981 11.947a.832.832 0 1 0 .002 1.666.832.832 0 0 0-.002-1.666"})))},{name:"tumblr-alt",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M16.749 17.396c-.357.17-1.041.319-1.551.332-1.539.041-1.837-1.081-1.85-1.896V9.847h3.861v-2.91h-3.847V2.039h-2.817c-.046 0-.127.041-.138.144-.165 1.499-.867 4.13-3.783 5.181v2.484h1.945v6.282c0 2.151 1.587 5.206 5.775 5.135 1.413-.024 2.982-.616 3.329-1.126z"})))},{name:"tumblr",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M19 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2m-5.569 14.265c-2.446.042-3.372-1.742-3.372-2.998v-3.668H8.923v-1.45c1.703-.614 2.113-2.15 2.209-3.025.007-.06.054-.084.081-.084h1.645V8.9h2.246v1.7H12.85v3.495c.008.476.182 1.131 1.081 1.107.298-.008.697-.094.906-.194l.54 1.601c-.205.296-1.121.641-1.946.656"})))},{name:"twitch",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M16.499 8.089h-1.636v4.91h1.636zm-4.499 0h-1.637v4.91H12zM4.228 3.178 3 6.451v13.092h4.499V22h2.456l2.454-2.456h3.681L21 14.636V3.178zm15.136 10.638L16.5 16.681H12l-2.453 2.453V16.68H5.863V4.814h13.501z"})))},{name:"twitter-alt",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M22.23 5.924a8.2 8.2 0 0 1-2.357.646 4.12 4.12 0 0 0 1.804-2.27 8.2 8.2 0 0 1-2.606.996 4.103 4.103 0 0 0-6.991 3.742 11.65 11.65 0 0 1-8.457-4.287 4.1 4.1 0 0 0-.556 2.063 4.1 4.1 0 0 0 1.825 3.415 4.1 4.1 0 0 1-1.859-.513v.052a4.104 4.104 0 0 0 3.292 4.023 4.1 4.1 0 0 1-1.853.07 4.11 4.11 0 0 0 3.833 2.85 8.24 8.24 0 0 1-5.096 1.756 8 8 0 0 1-.979-.057 11.6 11.6 0 0 0 6.29 1.843c7.547 0 11.675-6.252 11.675-11.675q0-.267-.012-.531a8.3 8.3 0 0 0 2.047-2.123"})))},{name:"twitter",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M19 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2m-2.534 6.71q.007.148.007.298c0 3.045-2.318 6.556-6.556 6.556a6.5 6.5 0 0 1-3.532-1.035q.27.032.55.032a4.63 4.63 0 0 0 2.862-.986 2.31 2.31 0 0 1-2.152-1.6 2.3 2.3 0 0 0 1.04-.04 2.306 2.306 0 0 1-1.848-2.259v-.029c.311.173.666.276 1.044.288a2.303 2.303 0 0 1-.713-3.076 6.54 6.54 0 0 0 4.749 2.407 2.305 2.305 0 0 1 3.926-2.101 4.6 4.6 0 0 0 1.463-.559 2.3 2.3 0 0 1-1.013 1.275c.466-.056.91-.18 1.323-.363-.31.461-.7.867-1.15 1.192"})))},{name:"untappd",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"m11 13.299-5.824 8.133c-.298.416-.8.635-1.308.572-.578-.072-1.374-.289-2.195-.879S.392 19.849.139 19.323a1.4 1.4 0 0 1 .122-1.425l5.824-8.133a3.1 3.1 0 0 1 1.062-.927l1.146-.604c.23-.121.436-.283.608-.478.556-.631 2.049-2.284 4.696-4.957l.046-.212a.13.13 0 0 1 .096-.1l.146-.037a.135.135 0 0 0 .101-.141l-.015-.18a.13.13 0 0 1 .125-.142c.176-.005.518.046 1.001.393s.64.656.692.824a.13.13 0 0 1-.095.164l-.175.044a.13.13 0 0 0-.101.141l.012.15a.13.13 0 0 1-.063.123l-.186.112c-1.679 3.369-2.764 5.316-3.183 6.046a2.2 2.2 0 0 0-.257.73l-.205 1.281A3.1 3.1 0 0 1 11 13.3zm12.739 4.598-5.824-8.133a3.1 3.1 0 0 0-1.062-.927l-1.146-.605a2.1 2.1 0 0 1-.608-.478 51 51 0 0 0-.587-.654.09.09 0 0 0-.142.018 97 97 0 0 1-1.745 3.223 1.4 1.4 0 0 0-.171.485 3.5 3.5 0 0 0 0 1.103l.01.064c.075.471.259.918.536 1.305l5.824 8.133c.296.413.79.635 1.294.574a4.76 4.76 0 0 0 2.209-.881 4.76 4.76 0 0 0 1.533-1.802 1.4 1.4 0 0 0-.122-1.425zM8.306 3.366l.175.044a.134.134 0 0 1 .101.141l-.012.15a.13.13 0 0 0 .063.123l.186.112q.465.933.869 1.721c.026.051.091.06.129.019q.655-.703 1.585-1.668a.137.137 0 0 0 .003-.19c-.315-.322-.645-.659-1.002-1.02l-.046-.212a.13.13 0 0 0-.096-.099l-.146-.037a.135.135 0 0 1-.101-.141l.015-.18a.13.13 0 0 0-.123-.142c-.175-.005-.518.045-1.002.393-.483.347-.64.656-.692.824a.13.13 0 0 0 .095.164z"})))},{name:"vimeo",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M22.396 7.164q-.139 3.039-4.245 8.32Q13.907 21 10.97 21q-1.82 0-3.079-3.359l-1.68-6.159q-.934-3.36-2.005-3.36-.234.001-1.634.98l-.978-1.261q1.541-1.353 3.037-2.708 2.056-1.774 3.084-1.869 2.429-.234 2.99 3.321.607 3.836.841 4.769.7 3.181 1.542 3.181.653 0 1.963-2.065 1.307-2.063 1.401-3.142.187-1.781-1.401-1.782-.747.001-1.541.341 1.534-5.024 5.862-4.884 3.21.095 3.024 4.161"})))},{name:"vk",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{fillRule:"evenodd",d:"M1.687 1.687C0 3.374 0 6.09 0 11.52v.96c0 5.431 0 8.146 1.687 9.833S6.09 24 11.52 24h.96c5.431 0 8.146 0 9.833-1.687S24 17.91 24 12.48v-.96c0-5.431 0-8.146-1.687-9.833S17.91 0 12.48 0h-.96C6.09 0 3.374 0 1.687 1.687M4.05 7.3c.13 6.24 3.25 9.99 8.72 9.99h.31v-3.57c2.01.2 3.53 1.67 4.14 3.57h2.84c-.78-2.84-2.83-4.41-4.11-5.01 1.28-.74 3.08-2.54 3.51-4.98h-2.58c-.56 1.98-2.22 3.78-3.8 3.95V7.3H10.5v6.92c-1.6-.4-3.62-2.34-3.71-6.92z"})))},{name:"whatsapp",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"m2.048 22 1.406-5.136a9.9 9.9 0 0 1-1.323-4.955C2.133 6.446 6.579 2 12.042 2a9.85 9.85 0 0 1 7.011 2.906 9.85 9.85 0 0 1 2.9 7.011c-.002 5.464-4.448 9.91-9.91 9.91h-.004a9.9 9.9 0 0 1-4.736-1.206zm5.497-3.172.301.179a8.2 8.2 0 0 0 4.193 1.148h.003c4.54 0 8.235-3.695 8.237-8.237a8.2 8.2 0 0 0-2.41-5.828 8.18 8.18 0 0 0-5.824-2.416c-4.544 0-8.239 3.695-8.241 8.237a8.2 8.2 0 0 0 1.259 4.384l.196.312-.832 3.04zm9.49-4.554c-.062-.103-.227-.165-.475-.289s-1.465-.723-1.692-.806-.392-.124-.557.124-.64.806-.784.971-.289.186-.536.062-1.046-.385-1.991-1.229c-.736-.657-1.233-1.468-1.378-1.715s-.015-.382.109-.505c.111-.111.248-.289.371-.434.124-.145.165-.248.248-.413s.041-.31-.021-.434-.557-1.343-.763-1.839c-.202-.483-.407-.417-.559-.425-.144-.007-.31-.009-.475-.009a.9.9 0 0 0-.66.31c-.226.248-.866.847-.866 2.066s.887 2.396 1.011 2.562 1.746 2.666 4.23 3.739c.591.255 1.052.408 1.412.522.593.189 1.133.162 1.56.098.476-.071 1.465-.599 1.671-1.177.206-.58.206-1.075.145-1.179"})))},{name:"woocommerce",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M19 2H5C3.3 2 2 3.3 2 5v11c0 1.7 1.3 3 3 3h4l6 3-1-3h5c1.7 0 3-1.3 3-3V5c0-1.7-1.3-3-3-3m-1.6 4.5c-.4.8-.8 2.1-1 3.9-.3 1.8-.4 3.1-.3 4.1 0 .3 0 .5-.1.7s-.3.4-.6.4-.6-.1-.9-.4c-1-1-1.8-2.6-2.4-4.6-.7 1.4-1.2 2.4-1.6 3.1-.6 1.2-1.2 1.8-1.6 1.9-.3 0-.5-.2-.8-.7-.5-1.4-1.1-4.2-1.7-8.2 0-.3 0-.5.2-.7.1-.2.4-.3.7-.4.5 0 .9.2.9.8.3 2.3.7 4.2 1.1 5.7l2.4-4.5c.2-.4.4-.6.8-.6q.75 0 .9.9c.3 1.4.6 2.6 1 3.7.3-2.7.8-4.7 1.4-5.9.2-.3.4-.5.7-.5.2 0 .5.1.7.2q.3.3.3.6c0 .3 0 .4-.1.5"})))},{name:"wordpress",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12.158 12.786 9.46 20.625a9 9 0 0 0 5.526-.144 1 1 0 0 1-.065-.124zM3.009 12a8.99 8.99 0 0 0 5.067 8.092L3.788 8.341A8.95 8.95 0 0 0 3.009 12m15.06-.454c0-1.112-.399-1.881-.741-2.48-.456-.741-.883-1.368-.883-2.109 0-.826.627-1.596 1.51-1.596q.06.002.116.007A8.96 8.96 0 0 0 12 3.009a8.98 8.98 0 0 0-7.512 4.052c.211.007.41.011.579.011.94 0 2.396-.114 2.396-.114.484-.028.541.684.057.741 0 0-.487.057-1.029.085l3.274 9.739 1.968-5.901-1.401-3.838c-.484-.028-.943-.085-.943-.085-.485-.029-.428-.769.057-.741 0 0 1.484.114 2.368.114.94 0 2.397-.114 2.397-.114.485-.028.542.684.057.741 0 0-.488.057-1.029.085l3.249 9.665.897-2.996q.684-1.753.684-2.907m1.82-3.86q.06.428.06.924c0 .912-.171 1.938-.684 3.22l-2.746 7.94a8.98 8.98 0 0 0 4.47-7.771 8.9 8.9 0 0 0-1.1-4.313M12 22C6.486 22 2 17.514 2 12S6.486 2 12 2s10 4.486 10 10-4.486 10-10 10"})))},{name:"x",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M13.982 10.622 20.54 3h-1.554l-5.693 6.618L8.745 3H3.5l6.876 10.007L3.5 21h1.554l6.012-6.989L15.868 21h5.245zm-2.128 2.474-.697-.997-5.543-7.93H8l4.474 6.4.697.996 5.815 8.318h-2.387z"})))},{name:"xanga",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M9 9h6v6H9zM3 9h6V3H3zm12 0h6V3h-6zm0 12h6v-6h-6zM3 21h6v-6H3z"})))},{name:"youtube",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M21.8 8.001s-.195-1.378-.795-1.985c-.76-.797-1.613-.801-2.004-.847-2.799-.202-6.997-.202-6.997-.202h-.009s-4.198 0-6.997.202c-.39.047-1.242.051-2.003.847-.6.607-.795 1.985-.795 1.985S2 9.62 2 11.238v1.517c0 1.618.2 3.237.2 3.237s.195 1.378.795 1.985c.761.797 1.76.771 2.205.855 1.6.153 6.8.201 6.8.201s4.203-.006 7.001-.209c.391-.047 1.243-.051 2.004-.847.6-.607.795-1.985.795-1.985s.2-1.618.2-3.237v-1.517c0-1.618-.2-3.237-.2-3.237M9.935 14.594l-.001-5.62 5.404 2.82z"})))}]},58992:(e,t,n)=>{"use strict";n.d(t,{d:()=>u});var a=n(96072),r=n.n(a),s=n(28120),o=n.n(s),i=n(51609),l=n.n(i),c=n(91135);class u extends i.PureComponent{static defaultProps={size:24};static propTypes={icon:o().string.isRequired,size:o().number,onClick:o().func,className:o().string};render(){const{size:e,onClick:t,icon:n,className:a,...s}=this.props,o=["social-logo","social-logo-"+n,a].filter(Boolean).join(" "),i=c.$.find((e=>e.name===n));if(!i)return l().createElement("svg",r()({height:e,width:e},s));return l().cloneElement(i.svg,{className:o,height:e,width:e,onClick:t,...s})}}},52068:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>w});var a=n(82170),r=n(96865),s=n(56427),o=n(47143),i=n(27723),l=n(90254),c=n(69457),u=n(88669),d=n(41417),p=n(57003),m=(n(51609),n(95396)),h=n(64425),g=n(47264),f=n(2162),v=n(62402);const __=i.__,b="simplify",k="make-longer",y="make-shorter",E={default:[{name:__("Correct spelling and grammar","jetpack"),key:"correct-spelling",aiSuggestion:h.yy,icon:l.A}],"core/paragraph":[{name:__("Simplify","jetpack"),key:b,aiSuggestion:h.A4,icon:c.A},{name:__("Summarize","jetpack"),key:"summarize",aiSuggestion:h.UA,icon:u.A},{name:__("Expand","jetpack"),key:k,aiSuggestion:h.br,icon:d.A},{name:__("Make shorter","jetpack"),key:y,aiSuggestion:h.fD,icon:d.A}],"core/list-item":[{name:__("Simplify","jetpack"),key:b,aiSuggestion:h.A4,icon:c.A},{name:__("Expand","jetpack"),key:k,aiSuggestion:h.br,icon:d.A},{name:__("Make shorter","jetpack"),key:y,aiSuggestion:h.fD,icon:d.A}],"core/list":m.L.includes("core/list")?[{name:__("Simplify","jetpack"),key:b,aiSuggestion:h.A4,icon:c.A},{name:__("Expand","jetpack"),key:k,aiSuggestion:h.br,icon:d.A},{name:__("Make shorter","jetpack"),key:y,aiSuggestion:h.fD,icon:d.A},{name:__("Turn list into a table","jetpack"),key:"turn-into-table",aiSuggestion:h.d5,icon:p.A,options:{alwaysTransformToAIAssistant:!0,rootParentOnly:!0}}]:[{name:__("Write a post from this list","jetpack"),key:"write-post-from-list",aiSuggestion:h.pE,icon:c.A,options:{userPrompt:"Write a post based on the list items. Include a title as first order heading and try to use secondary headings for each entry"}}]};function w({blockType:e,clientId:t,disabled:n=!1,onAskAiAssistant:i,onRequestSuggestion:l}){const c=E[e]??[],{getBlockParents:u}=(0,o.select)("core/block-editor"),d=u(t);return(0,a.createElement)(a.Fragment,null,n&&(0,a.createElement)(s.Notice,{status:"warning",isDismissible:!1,className:"jetpack-ai-assistant__info"},__("Add content to activate the tools below","jetpack")),(0,a.createElement)(s.MenuGroup,null,(0,a.createElement)(s.MenuItem,{icon:r.cj,iconPosition:"left",key:"key-ai-assistant",onClick:i,disabled:n},(0,a.createElement)("div",{className:"jetpack-ai-assistant__menu-item"},__("Ask AI Assistant","jetpack"))),[...E.default,...c].filter((e=>!(e.options?.rootParentOnly&&d.length>0))).map((e=>(0,a.createElement)(s.MenuItem,{icon:e?.icon,iconPosition:"left",key:`key-${e.key}`,onClick:()=>{l(e.aiSuggestion,{...e.options??{}},e.name)},disabled:n},(0,a.createElement)("div",{className:"jetpack-ai-assistant__menu-item"},e.name)))),(0,a.createElement)(v.hN,{onChange:e=>{l(h.eJ,{tone:e},`${v.uQ}: ${(0,g.Z)(e)}`)},disabled:n}),(0,a.createElement)(f.HU,{onChange:(e,t)=>{l(h.Gm,{language:e},`${f.u0}: ${t}`)},disabled:n})))}},32249:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var a=n(82170),r=n(3924),s=n(56427),o=n(27723);const __=o.__;const i=function(){const e=(0,r.A)("jetpack-ai-feedback");return(0,a.createElement)("div",{className:"jetpack-ai-feedback-control"},(0,a.createElement)(s.BaseControl,null,(0,a.createElement)(s.BaseControl.VisualLabel,null,__("Feedback","jetpack")),(0,a.createElement)("p",null,__("Your feedback is valuable in our commitment to refine and improve this feature.","jetpack")),(0,a.createElement)(s.ExternalLink,{href:e},__("Share your feedback","jetpack"))))}},2162:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>f,HU:()=>v,so:()=>h,u0:()=>p});var a=n(82170),r=n(85985),s=n(56427),o=n(27723),i=n(51113),l=n(29115),c=n(84066);n(51609);const __=o.__,u=["en","es","fr","de","it","pt","ru","zh","ja","ar","hi","ko"],d=window?.Jetpack_Editor_Initial_State?.siteLocale||navigator?.language,p=__("Translate","jetpack"),m=d?.split("-")[0]||"en",h=(d?.split("-"),{en:{label:__("English","jetpack")},es:{label:__("Spanish","jetpack")},fr:{label:__("French","jetpack")},de:{label:__("German","jetpack")},it:{label:__("Italian","jetpack")},pt:{label:__("Portuguese","jetpack")},ru:{label:__("Russian","jetpack")},zh:{label:__("Chinese","jetpack")},ja:{label:__("Japanese","jetpack")},ar:{label:__("Arabic","jetpack")},hi:{label:__("Hindi","jetpack")},ko:{label:__("Korean","jetpack")}}),g=({value:e,onChange:t})=>{const n=[...u.filter((e=>e!==m))];return u.includes(m)&&n.unshift(m),(0,a.createElement)(s.MenuGroup,{label:__("Select language","jetpack")},n.map((n=>(0,a.createElement)(s.MenuItem,{key:`key-${n}`,onClick:()=>t(n+" ("+h[n].label+")",h[n].label),isSelected:e===n},h[n].label))))};function f({value:e=m,label:t=p,onChange:n,disabled:o=!1}){const{tracks:l}=(0,r.st)();return o?(0,a.createElement)(s.Tooltip,{text:t},(0,a.createElement)(s.Button,{disabled:!0},(0,a.createElement)(i.A,{icon:c.A}))):(0,a.createElement)(s.ToolbarDropdownMenu,{icon:c.A,label:t,popoverProps:{variant:"toolbar"},onToggle:e=>{e&&l.recordEvent("jetpack_ai_assistant_block_toolbar_menu_show",{tool:"i18n"})}},(()=>(0,a.createElement)(g,{value:e,onChange:n})))}function v({value:e=m,label:t=p,onChange:n,disabled:r=!1}){return(0,a.createElement)(s.DropdownMenu,{className:"ai-assistant__i18n-dropdown",icon:c.A,label:t,toggleProps:{children:(0,a.createElement)(a.Fragment,null,(0,a.createElement)("div",{className:"ai-assistant__i18n-dropdown__toggle-label"},t),(0,a.createElement)(i.A,{icon:l.A})),disabled:r}},(({onClose:t})=>(0,a.createElement)(g,{onChange:(...e)=>{n(...e),t()},value:e})))}},99050:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>c});var a=n(82170),r=n(85985),s=n(56427),o=n(27723),i=n(78938);const __=o.__,l=[{name:__("Summarize","jetpack"),key:"summarize",aiSuggestion:"summarize"},{name:__("Make longer","jetpack"),key:"make-longer",aiSuggestion:"makeLonger"},{name:__("Make shorter","jetpack"),key:"make-shorter",aiSuggestion:"makeShorter"}];function c({key:e,label:t=__("Improve","jetpack"),exclude:n=[],onChange:o,disabled:c=!1}){const{tracks:u}=(0,r.st)();return c?(0,a.createElement)(s.Tooltip,{text:t},(0,a.createElement)(s.Button,{disabled:!0},(0,a.createElement)(s.Icon,{icon:i.A}))):(0,a.createElement)(s.ToolbarDropdownMenu,{icon:i.A,label:t,popoverProps:{variant:"toolbar"},onToggle:e=>{e&&u.recordEvent("jetpack_ai_assistant_block_toolbar_menu_show",{tool:"improve"})}},(()=>{const r=l.filter((e=>!n.includes(e.key)));return(0,a.createElement)(s.MenuGroup,{label:t},r.map((t=>(0,a.createElement)(s.MenuItem,{key:`key-${t.key}`,onClick:()=>o(t.aiSuggestion,{contentType:"generated"}),isSelected:e===t.key},t.name))))}))}},33468:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>g});var a=n(82170),r=n(85985),s=n(56427),o=n(27723),i=n(78938),l=n(41417),c=n(90254),u=n(69457),d=n(88669),p=n(11269);const __=o.__,m=[{label:__("Post about…","jetpack"),description:{original:"Write a post about ",translated:__("Write a post about","jetpack")+" "}},{label:__("Informative article on…","jetpack"),description:{original:"Craft an informative article explaining ",translated:__("Craft an informative article explaining","jetpack")+" "}},{label:__("Step-by-step tutorial on…","jetpack"),description:{original:"Write a step-by-step tutorial on ",translated:__("Write a step-by-step tutorial on","jetpack")+" "}},{label:__("Motivational post on…","jetpack"),description:{original:"Create a motivational post on ",translated:__("Create a motivational post on","jetpack")+" "}}],h=[{label:__("Say it differently…","jetpack"),description:{original:"Rewrite it in a way that ",translated:__("Rewrite it in a way that","jetpack")+" "}},{label:__("Add…","jetpack"),description:{original:"Add more details about ",translated:__("Add more details about","jetpack")+" "}},{label:__("Remove…","jetpack"),description:{original:"Remove unnecessary details about ",translated:__("Remove unnecessary details about","jetpack")+" "}}];function g({hasContentBefore:e,hasContent:t,hasPostTitle:n,contentIsLoaded:o,onPromptSelect:g,onSuggestionSelect:f}){const v=__("Write with AI…","jetpack"),{tracks:b}=(0,r.st)();return(0,a.createElement)(s.ToolbarDropdownMenu,{className:"jetpack-ai-assistant__templates-control",icon:null,label:v,text:v,onToggle:e=>{e&&b.recordEvent("jetpack_ai_assistant_block_toolbar_menu_show",{tool:"write-with-ai"})}},(({onClose:r})=>o?(0,a.createElement)(s.MenuGroup,{label:__("Write…","jetpack")},h.map(((e,t)=>(0,a.createElement)(s.MenuItem,{icon:i.A,iconPosition:"left",key:`key-${t}`,onClick:()=>{r(),g(e.description)}},e.label)))):(0,a.createElement)(a.Fragment,null,e&&(0,a.createElement)(s.MenuGroup,{label:__("Based on preceding content…","jetpack")},(0,a.createElement)(s.MenuItem,{icon:l.A,iconPosition:"left",onClick:()=>f("continue")},__("Continue writing","jetpack")),(0,a.createElement)(s.MenuItem,{icon:c.A,iconPosition:"left",onClick:()=>f("correctSpelling")},__("Correct spelling and grammar","jetpack")),(0,a.createElement)(s.MenuItem,{icon:u.A,iconPosition:"left",onClick:()=>f("simplify")},__("Simplify","jetpack"))),t&&(0,a.createElement)(s.MenuGroup,{label:__("Based on entire content…","jetpack")},t&&(0,a.createElement)(s.MenuItem,{icon:d.A,iconPosition:"left",onClick:()=>f("summarize")},__("Summarize","jetpack")),t&&(0,a.createElement)(s.MenuItem,{icon:p.A,iconPosition:"left",onClick:()=>f("generateTitle")},__("Generate a post title","jetpack"))),(0,a.createElement)(s.MenuGroup,{label:__("Write…","jetpack")},n&&(0,a.createElement)(s.MenuItem,{icon:i.A,iconPosition:"left",onClick:()=>f("titleSummary")},__("Summary based on title","jetpack")),m.map(((e,t)=>(0,a.createElement)(s.MenuItem,{icon:i.A,iconPosition:"left",key:`key-${t}`,onClick:()=>{r(),g(e.description)}},e.label)))))))}},23e3:(e,t,n)=>{"use strict";n.d(t,{A:()=>b,Q:()=>v});var a=n(82170),r=n(3924),s=n(85985),o=n(56427),i=n(86087),l=n(27723),c=n(10067),u=n.n(c),d=n(56333),p=n(92169),m=n(61297),h=n(7503),g=n(93094);const __=l.__,f=u()("jetpack-ai-assistant:upgrade-prompt"),v=({variant:e="error"})=>{const t=(()=>{const{usagePeriod:e}=(0,m.A)(),t=(e=>{const t=__("You've reached this month's request limit, per our fair usage policy.","jetpack");if(!e)return t; // Translators: %s is the date when the requests will reset. const n=__("Requests will reset on %s.","jetpack");return`${t} ${(0,l.sprintf)(n,e)}`})((e=>{if(!e?.nextStart)return null;const t=new Date(e.nextStart);return t.toLocaleString("default",{month:"long"})+" "+t.getDate()})(e));return(0,i.createInterpolateElement)(t,{link:(0,a.createElement)("a",{href:"https://jetpack.com/redirect/?source=ai-assistant-fair-usage-policy",target:"_blank",rel:"noreferrer"})})})();return"muted"===e?(0,a.createElement)("span",{className:"jetpack-ai-fair-usage-notice-muted-variant"},t):"error"===e?(0,a.createElement)(o.Notice,{status:"error",isDismissible:!1,className:"jetpack-ai-fair-usage-notice"},t):null},b=e=>{const{upgradeType:t,currentTier:n}=(0,m.A)();return 1===n?.value?(0,a.createElement)(v,null):"vip"===t?(({description:e=null,useLightNudge:t=!1})=>{const n=t?g.U:d.c,r=(0,i.createInterpolateElement)(__("You've reached the Jetpack AI rate limit. Please reach out to your VIP account team.","jetpack"),{strong:(0,a.createElement)("strong",null)});return(0,a.createElement)(n,{buttonText:null,checkoutUrl:null,className:"jetpack-ai-upgrade-banner",description:e||r,goToCheckoutPage:null,isRedirecting:null,visible:!0,align:null,title:null,context:null})})({description:e.description,useLightNudge:e?.useLightNudge}):(({placement:e=null,description:t=null,useLightNudge:n=!1})=>{const o=n?g.U:d.c,{checkoutUrl:c}=(0,p.A)(),u=(0,h.C)(),{nextTier:v,tierPlansEnabled:b,currentTier:k,requestsCount:y}=(0,m.A)(),{tracks:E}=(0,s.st)(),w=(0,i.useCallback)((()=>{f("upgrade",e),E.recordEvent("jetpack_ai_upgrade_button",{current_tier_slug:k?.slug,requests_count:y,placement:e})}),[k,y,E,e]),_=(0,i.useCallback)((()=>{f("contact us",e),E.recordEvent("jetpack_ai_upgrade_contact_us",{placement:e})}),[E,e]);if(!u){const e=(0,i.createInterpolateElement)(__("Congratulations on exploring Jetpack AI and reaching the free requests limit! Reach out to the site administrator to upgrade and keep using Jetpack AI.","jetpack"),{strong:(0,a.createElement)("strong",null)});return(0,a.createElement)(o,{showButton:!1,className:"jetpack-ai-upgrade-banner",description:t||e,visible:!0,align:null,title:null,context:null})}if(b){if(!v){const e=(0,r.A)("jetpack-ai-tiers-more-requests-contact"),n=__("You have reached the request limit for your current plan.","jetpack");return(0,a.createElement)(o,{buttonText:__("Contact Us","jetpack"),description:t||n,className:"jetpack-ai-upgrade-banner",checkoutUrl:e,visible:!0,align:null,title:null,context:null,goToCheckoutPage:_,target:"_blank"})}const e=(0,i.createInterpolateElement)((0,l.sprintf)(/* Translators: number of requests */ __("You have reached the requests limit for your current plan. Upgrade now to increase your requests limit to %d.","jetpack"),v.limit),{strong:(0,a.createElement)("strong",null)});return(0,a.createElement)(o,{buttonText:(0,l.sprintf)(/* Translators: number of requests */ diff --git a/_inc/blocks/editor-no-post-editor.asset.php b/_inc/blocks/editor-no-post-editor.asset.php index 0beae33898..e051582572 100644 --- a/_inc/blocks/editor-no-post-editor.asset.php +++ b/_inc/blocks/editor-no-post-editor.asset.php @@ -1 +1 @@ - array('jetpack-connection', 'lodash', 'moment', 'react', 'react-dom', 'react-jsx-runtime', 'wp-api-fetch', 'wp-blob', 'wp-block-editor', 'wp-block-serialization-default-parser', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-date', 'wp-dom-ready', 'wp-editor', 'wp-element', 'wp-escape-html', 'wp-hooks', 'wp-i18n', 'wp-keycodes', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-token-list', 'wp-url', 'wp-viewport', 'wp-widgets'), 'version' => '6fbfc7bbb45edb935d9c'); + array('jetpack-connection', 'lodash', 'moment', 'react', 'react-dom', 'react-jsx-runtime', 'wp-api-fetch', 'wp-blob', 'wp-block-editor', 'wp-block-serialization-default-parser', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-date', 'wp-dom-ready', 'wp-editor', 'wp-element', 'wp-escape-html', 'wp-hooks', 'wp-i18n', 'wp-keycodes', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-token-list', 'wp-url', 'wp-viewport', 'wp-widgets'), 'version' => 'a4a919567a9f1773ef0a'); diff --git a/_inc/blocks/editor-no-post-editor.js b/_inc/blocks/editor-no-post-editor.js index e7de03fed6..c3707d7633 100644 --- a/_inc/blocks/editor-no-post-editor.js +++ b/_inc/blocks/editor-no-post-editor.js @@ -7,7 +7,7 @@ __("Error: %1$s","jetpack"),i)),t===d.Or?React.createElement(n.Button,{variant:" // translators: %u is the number of requests __("%u requests remaining.","jetpack"),_)),x&&React.createElement(React.Fragment,null," ",React.createElement(a.Button,{variant:"link",href:A,target:"_blank",onClick:()=>{r(m.AN,{context:H,placement:m.Cn})}},__("Upgrade","jetpack")))," ",React.createElement(a.Tooltip,{text:__("Logo generation costs 10 requests; prompt enhancement costs 1 request each","jetpack"),placement:"bottom"},React.createElement(s.A,{className:"prompt-footer__icon",icon:i.A}))),z&&q&&React.createElement(k.G,null),z&&!q&&React.createElement(b.Q,null),w&&React.createElement("div",{className:"jetpack-ai-logo-generator__prompt-error"},__("Error enhancing prompt. Please try again.","jetpack")),C&&React.createElement("div",{className:"jetpack-ai-logo-generator__prompt-error"},__("Error generating logo. Please try again.","jetpack"))))}},64024:(e,t,r)=>{"use strict";r.d(t,{G:()=>p});var n=r(85985),a=r(56427),o=r(86087),s=r(27723),i=r(51113),l=r(90311),c=r(61356),u=r(60674),d=r(88725);const __=s.__,p=()=>{const{tracks:e}=(0,n.st)(),{recordEvent:t}=e,r=__("Upgrade","jetpack"),s=(0,o.createInterpolateElement)(__("Not enough requests left to generate a logo. Upgrade now to increase it.","jetpack"),{strong:React.createElement("strong",null)}),{nextTierCheckoutURL:p}=(0,u.Q)(),{context:m}=(0,d.A)();return React.createElement("div",{className:"jetpack-upgrade-plan-banner"},React.createElement("div",{className:"jetpack-upgrade-plan-banner__wrapper"},React.createElement("div",null,React.createElement(i.A,{className:"jetpack-upgrade-plan-banner__icon",icon:l.A}),React.createElement("span",{className:"jetpack-upgrade-plan-banner__banner-description"},s)),React.createElement(a.Button,{href:p,target:"_blank",className:"is-primary",onClick:()=>{t(c.AN,{context:m,placement:c.tF})}},r)))}},35421:(e,t,r)=>{"use strict";r.d(t,{R:()=>c});var n=r(85985),a=r(56427),o=r(27723),s=r(3924),i=r(61356),l=r(88725);const __=o.__,c=({onCancel:e,upgradeURL:t,reason:r})=>{const{tracks:o}=(0,n.st)(),{recordEvent:c}=o,u=__("Upgrade your Jetpack AI for access to logo generation. This upgrade will also increase the amount of monthly requests you can use in for all AI-powered features.","jetpack"),d=__("Not enough requests left to generate a logo. Upgrade your Jetpack AI to increase the amount of requests you can use in all AI-powered features.","jetpack"),p=(0,s.A)("ai-logo-generator-fair-usage-policy",{anchor:"usage-limitations-and-upgrades"}),{context:m}=(0,l.A)();return React.createElement("div",{className:"jetpack-ai-logo-generator-modal__notice-message-wrapper"},React.createElement("div",{className:"jetpack-ai-logo-generator-modal__notice-message"},React.createElement("span",{className:"jetpack-ai-logo-generator-modal__loading-message"},"feature"===r?u:d)," ",React.createElement(a.Button,{variant:"link",href:p,target:"_blank"},__("Learn more about Jetpack AI.","jetpack"))),React.createElement("div",{className:"jetpack-ai-logo-generator-modal__notice-actions"},React.createElement(a.Button,{variant:"tertiary",onClick:e},__("Cancel","jetpack")),React.createElement(a.Button,{variant:"primary",href:t,target:"_blank",onClick:()=>{c(i.AN,{context:m,placement:i.Tz}),e()}},__("Upgrade","jetpack"))))}},48204:(e,t,r)=>{"use strict";r.d(t,{H:()=>l});var n=r(56427),a=r(27723),o=r(53512),s=r(13022),i=r(36791);const __=a.__,l=({className:e=null,onVisitBlankTarget:t})=>React.createElement("div",{className:(0,s.A)("jetpack-ai-logo-generator-modal-visit-site-banner",e)},React.createElement("div",{className:"jetpack-ai-logo-generator-modal-visit-site-banner__jetpack-logo"},React.createElement("img",{src:i,alt:"Jetpack"})),React.createElement("div",{className:"jetpack-ai-logo-generator-modal-visit-site-banner__content"},React.createElement("strong",null,__("Do you want to know all the amazing things you can do with Jetpack AI?","jetpack")),React.createElement("span",null,__("Generate and tweak content, create forms, get feedback and much more.","jetpack")),React.createElement("div",null,React.createElement(n.Button,{variant:"link",href:"https://jetpack.com/redirect/?source=logo_generator_learn_more_about_jetpack_ai",target:"_blank",onClick:t||null},__("Learn more about Jetpack AI","jetpack"),React.createElement(n.Icon,{icon:o.A,size:20})))))},61356:(e,t,r)=>{"use strict";r.d(t,{$i:()=>c,AN:()=>u,Cn:()=>m,N3:()=>f,Nt:()=>l,Tk:()=>p,Tz:()=>h,UO:()=>d,Zb:()=>i,_S:()=>b,h4:()=>s,iz:()=>n,tF:()=>g,ub:()=>a,vm:()=>o});const n="jetpack_ai_logo_generator_modal_open",a="jetpack_ai_logo_generator_modal_close",o="jetpack_ai_logo_generator_generate",s="jetpack_ai_logo_generator_save",i="jetpack_ai_logo_generator_use",l="jetpack_ai_logo_generator_navigate",c="jetpack_ai_logo_generator_feedback",u="jetpack_ai_upgrade_button",d="jetpack_ai_logo_generator_switch_style",p="jetpack_ai_logo_generator_guess_style",m="input_footer",h="free_user_screen",g="upgrade_prompt",f=3,b=10},60674:(e,t,r)=>{"use strict";r.d(t,{Q:()=>s});var n=r(85985),a=r(47143),o=r(74423);const s=()=>{const{nextTier:e,tierPlansEnabled:t}=(0,a.useSelect)((e=>{const t=e(o.E);return{nextTier:t.getAiAssistantFeature().nextTier,tierPlansEnabled:t.getAiAssistantFeature().tierPlansEnabled}}),[]),r=!(0,n.d9)()&&!(0,n.Sy)(),s=r?"jetpack-ai-upgrade-url-for-jetpack-sites":"jetpack-ai-yearly-tier-upgrade-nudge",i=(0,n.GE)(),l=`https://wordpress.com/home/${i}`,c=new URL("https://jetpack.com/redirect/");c.searchParams.set("source",s),c.searchParams.set("site",i),c.searchParams.set("path",t?`jetpack_ai_yearly:-q-${e?.limit}`:"jetpack_ai_yearly"),r||c.searchParams.set("query",`redirect_to=${encodeURIComponent(l)}`);return{nextTierCheckoutURL:c.toString(),hasNextTier:!!e}}},78867:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var n=r(47143),a=r(86087),o=r(27723),s=r(3924),i=r(74423);const __=o.__,l=()=>{const{usagePeriod:e}=(0,n.useSelect)((e=>({usagePeriod:e(i.E).getAiAssistantFeature().nextTier})),[]),t=(e=>{const t=__("You've reached this month's request limit, per our fair usage policy.","jetpack");if(!e)return t; // Translators: %s is the date when the requests will reset. -const r=__("Requests will reset on %s.","jetpack");return`${t} ${(0,o.sprintf)(r,e)}`})((e=>{if(!e?.nextStart)return null;const t=new Date(e.nextStart);return t.toLocaleString("default",{month:"long"})+" "+t.getDate()})(e)),r=(0,s.A)("ai-logo-generator-fair-usage-policy",{anchor:"jetpack-ai-usage-limit"});return(0,a.createInterpolateElement)(t,{link:React.createElement("a",{href:r,target:"_blank",rel:"noreferrer"})})}},88725:(e,t,r)=>{"use strict";r.d(t,{A:()=>f});var n=r(47143),a=r(10067),o=r.n(a),s=r(51609),i=r(31439),l=r(62614),c=r(93869),u=r(51391),d=r(19362),p=r(28229),m=r(74423),h=r(44461);const g=o()("jetpack-ai-calypso:use-logo-generator"),f=()=>{const{setSelectedLogoIndex:e,setIsSavingLogoToLibrary:t,setIsApplyingLogo:r,setIsRequestingImage:a,setIsEnhancingPrompt:o,increaseAiAssistantRequestsCount:f,addLogoToHistory:b,setContext:k,setIsLoadingHistory:v}=(0,n.useDispatch)(m.E),{logos:y,selectedLogoIndex:_,selectedLogo:E,siteDetails:w,isSavingLogoToLibrary:C,isApplyingLogo:A,isEnhancingPrompt:x,isBusy:S,isRequestingImage:j,getAiAssistantFeature:L,requireUpgrade:P,context:T,tierPlansEnabled:N,isLoadingHistory:R}=(0,n.useSelect)((e=>{const t=e(m.E);return{logos:t.getLogos(),selectedLogoIndex:t.getSelectedLogoIndex(),selectedLogo:t.getSelectedLogo(),siteDetails:t.getSiteDetails(),isSavingLogoToLibrary:t.getIsSavingLogoToLibrary(),isApplyingLogo:t.getIsApplyingLogo(),isRequestingImage:t.getIsRequestingImage(),isEnhancingPrompt:t.getIsEnhancingPrompt(),isBusy:t.getIsBusy(),getAiAssistantFeature:t.getAiAssistantFeature,requireUpgrade:t.getRequireUpgrade(),context:t.getContext(),tierPlansEnabled:t.getTierPlansEnabled(),isLoadingHistory:t.getIsLoadingHistory()}}),[]),{setFirstLogoPromptFetchError:M,setEnhancePromptFetchError:I,setLogoFetchError:B,setSaveToLibraryError:D,setLogoUpdateError:F}=(0,h.A)(),{generateImageWithParameters:O}=(0,l.Ay)(),{saveToMediaLibrary:U}=(0,c.A)(),{ID:z=null,name:H=null,description:q=null}=w||{},$=z?String(z):null,V=L($),G=V?.costs?.["jetpack-ai-logo-generator"]?.logo,W=V?.featuresControl?.["logo-generator"],Z=W?.styles||[],J=(0,s.useCallback)((async function(){M(null),f();try{const e=await(0,u.A)();if(!e||!e.token)throw new Error("No token provided");g("Generating first prompt for site");const t={question:`Generate a simple and short prompt asking for a logo based on the site's name and description, keeping the same language.\nExample for a site named "The minimalist fashion blog", described as "Daily inspiration for all things fashion": A logo for a minimalist fashion site focused on daily sartorial inspiration with a clean and modern aesthetic that is sleek and sophisticated.\nAnother example, now for a site called "El observatorio de aves", described as "Un sitio dedicado a nuestros compañeros y compañeras entusiastas de la observación de aves.": Un logo para un sitio web dedicado a la observación de aves, capturando la esencia de la naturaleza y la pasión por la avifauna en un diseño elegante y representativo, reflejando una estética natural y apasionada por la vida silvestre.\n\nSite name: ${H}\nSite description: ${q}`,feature:"jetpack-ai-logo-generator",stream:!1},r="https://public-api.wordpress.com/wpcom/v2/jetpack-ai-query",n={Authorization:`Bearer ${e.token}`,"Content-Type":"application/json"},a=await fetch(r,{method:"POST",headers:n,body:JSON.stringify(t)}).then((e=>e.json()));return a?.choices?.[0]?.message?.content}catch(e){throw f(-1),M(e),e}}),[M,f,H,q]),K=(0,s.useCallback)((async function(e){if(B(null),!Z||!Z.length)return null;const t=[{role:"jetpack-ai",context:{type:"ai-assistant-guess-logo-style",request:e,name:H,description:q}}];try{const e=await(0,i.A)(t,{feature:"jetpack-ai-logo-generator"});if(!e)return null;const r=Z.find((({value:t})=>t===e));return r?r.value:null}catch(e){g("Error guessing style",e),Promise.reject(e)}}),[Z,H,q]),Y=(0,s.useCallback)((async function({prompt:e,style:t=null}){B(null);try{const r=await(0,u.A)();if(!r||!r.token)throw new Error("No token provided");if("auto"===t)throw new Error("Auto style is not supported");g("Generating image with prompt",e);const n={prompt:`I NEED to test how the tool works with extremely simple prompts. DO NOT add any detail, just use it AS-IS:\nCreate a single text-free iconic vector logo that symbolically represents the user request, using abstract or symbolic imagery.\nThe design should be modern, with either a vivid color scheme full of gradients or a color scheme that's monochromatic. Use any of those styles based on the user request mood.\nEnsure the logo is set against a clean solid background.\nEnsure the logo works in small sizes.\nThe imagery in the logo should subtly hint at the mood of the user request but DO NOT use any text, letters, or the name of the site on the imagery.\nThe image should contain a single icon, without variations, color palettes or different versions.\n\nUser request:${e}`,messages:t?[{role:"jetpack-ai",context:{type:"ai-assistant-generate-logo",request:e,name:H,description:q,style:t}}]:[],feature:"jetpack-ai-logo-generator",response_format:"b64_json",style:t||""};return await O(n)}catch(e){throw B(e),e}}),[H,q]),Q=(0,s.useCallback)((async e=>{D(null);try{if(g("Saving logo for site"),e.mediaId)return{mediaId:e.mediaId,mediaURL:e.url};const r={mediaId:0,mediaURL:""};t(!0);const{id:n,url:a}=await U(e.url,"site-logo.png");return r.mediaId=parseInt(n),r.mediaURL=a,r}catch(e){throw D(e),e}finally{t(!1)}}),[t,D]),X=(0,s.useCallback)((async()=>{F(null);try{if(!$||!E)throw new Error("Missing siteId or logo");g("Applying logo for site",$),r(!0);const{mediaId:e}=E;if(!e)throw new Error("Missing mediaId");await(0,p.Z)({siteId:$,imageId:String(e)})}catch(e){throw F(e),e}finally{r(!1)}}),[E,r,F,$]),ee=(0,s.useCallback)((e=>{b(e),(0,d.hm)({...e,siteId:String($)})}),[$,b,d.hm]),te=(0,s.useCallback)((async function({prompt:e,style:t}){g("Generating logo for site"),a(!0);try{if(!G)throw new Error("Missing cost information");let r;f(G);try{if(r=await Y({prompt:e,style:t}),!r||!r.data.length)throw new Error("No image returned")}catch(e){throw f(-G),e}const n={url:"data:image/png;base64,"+r.data[0].b64_json,description:e};try{const t=await Q(n);ee({url:t.mediaURL,description:e,mediaId:t.mediaId})}catch(e){throw ee(n),e}}finally{a(!1)}}),[G,f,Q,ee,Y]);return{logos:y,selectedLogoIndex:_,selectedLogo:E,setSelectedLogoIndex:e,site:{id:$,name:H,description:q},generateFirstPrompt:J,saveLogo:Q,applyLogo:X,generateImage:Y,enhancePrompt:async function({prompt:e}){I(null),f();try{const t=await(0,u.A)();if(!t||!t.token)throw new Error("No token provided");g("Enhancing prompt",e);const r={messages:[{role:"system",content:"Enhance the prompt you receive.\nThe prompt is meant for generating a logo. Return the same prompt enhanced, and make each enhancement wrapped in brackets.\nDo not add any mention to text, letters, typography or the name of the site in the prompt.\nFor example: user's prompt: A logo for an ice cream shop. Returned prompt: A logo for an ice cream shop [that is pink] [and vibrant]."},{role:"user",content:e}],feature:"jetpack-ai-logo-generator",stream:!1},n="https://public-api.wordpress.com/wpcom/v2/jetpack-ai-query",a={Authorization:`Bearer ${t.token}`,"Content-Type":"application/json"},o=await fetch(n,{method:"POST",headers:a,body:JSON.stringify(r)}).then((e=>e.json()));return o?.choices?.[0]?.message?.content}catch(e){throw f(-1),I(e),e}},storeLogo:ee,generateLogo:te,setIsEnhancingPrompt:o,setIsRequestingImage:a,setIsSavingLogoToLibrary:t,setIsApplyingLogo:r,setContext:k,isEnhancingPrompt:x,isRequestingImage:j,isSavingLogoToLibrary:C,isApplyingLogo:A,isBusy:S,getAiAssistantFeature:L,requireUpgrade:P,context:T,tierPlansEnabled:N,isLoadingHistory:R,setIsLoadingHistory:v,imageStyles:Z,guessStyle:K}}},44461:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(47143),a=r(74423);const o=()=>{const{setFeatureFetchError:e,setFirstLogoPromptFetchError:t,setEnhancePromptFetchError:r,setLogoFetchError:o,setSaveToLibraryError:s,setLogoUpdateError:i}=(0,n.useDispatch)(a.E),{featureFetchError:l,firstLogoPromptFetchError:c,enhancePromptFetchError:u,logoFetchError:d,saveToLibraryError:p,logoUpdateError:m}=(0,n.useSelect)((e=>{const t=e(a.E);return{featureFetchError:t.getFeatureFetchError(),firstLogoPromptFetchError:t.getFirstLogoPromptFetchError(),enhancePromptFetchError:t.getEnhancePromptFetchError(),logoFetchError:t.getLogoFetchError(),saveToLibraryError:t.getSaveToLibraryError(),logoUpdateError:t.getLogoUpdateError()}}),[]);return{setFeatureFetchError:e,setFirstLogoPromptFetchError:t,setEnhancePromptFetchError:r,setLogoFetchError:o,setSaveToLibraryError:s,setLogoUpdateError:i,clearErrors:()=>{e(null),t(null),r(null),o(null),s(null),i(null)},featureFetchError:l,firstLogoPromptFetchError:c,enhancePromptFetchError:u,logoFetchError:d,saveToLibraryError:p,logoUpdateError:m}}},23101:(e,t,r)=>{"use strict";r.d(t,{K:()=>a.K,T:()=>n.T});var n=r(64537),a=r(11114)},19362:(e,t,r)=>{"use strict";r.d(t,{$t:()=>i,H:()=>s,NP:()=>l,Pv:()=>c,hm:()=>o});var n=r(13858);const a=10;function o({siteId:e,url:t,description:r,mediaId:n}){const o=i(e),s={url:t,description:r,mediaId:n};return o.push(s),localStorage.setItem(`logo-history-${e}`,JSON.stringify(o.slice(-a))),s}function s({siteId:e,url:t,newUrl:r,mediaId:n}){const o=i(e),s=o.findIndex((e=>e.url===t));return s>-1&&(o[s].url=r,o[s].mediaId=n),localStorage.setItem(`logo-history-${e}`,JSON.stringify(o.slice(-a))),o[s]}function i(e){const t=localStorage.getItem(`logo-history-${e}`);let r=t?JSON.parse(t):[];return Array.isArray(r)||(r=[]),r=r.slice(-a),r=r.filter((e=>"object"==typeof e&&"string"==typeof e.url&&"string"==typeof e.description)).map((e=>({url:e.url,description:e.description,mediaId:e.mediaId}))),r}function l(e){return 0===i(e).length}async function c(e){const t=i(e).filter((({mediaId:e})=>void 0!==e)).map((({mediaId:t})=>new Promise(((r,a)=>{(0,n.T)({siteId:e,mediaId:t}).then((e=>r({mediaId:t,exists:e}))).catch((e=>a(e)))}))));try{(await Promise.all(t)).filter((({exists:e})=>!e)).forEach((({mediaId:t})=>function({siteId:e,mediaId:t}){const r=i(e),n=r.findIndex((e=>e.mediaId===t));-1!==n&&(r.splice(n,1),localStorage.setItem(`logo-history-${e}`,JSON.stringify(r)))}({siteId:e,mediaId:t})))}catch{}}},13858:(e,t,r)=>{"use strict";r.d(t,{T:()=>a});var n=r(48931);async function a({mediaId:e}){const t=Number(e);if(Number.isNaN(t))return!1;try{return await(0,n.A)({path:`/wp/v2/media/${Number(e)}`,method:"GET"}),!0}catch(e){const t=e?.data?.status;if(404===t)return!1;throw e}}},28229:(e,t,r)=>{"use strict";r.d(t,{Z:()=>a});var n=r(22746);async function a({siteId:e,imageId:t}){const r={site_logo:t,site_icon:t};return(0,n.A)({path:`/sites/${String(e)}/settings`,apiVersion:"v2",apiNamespace:"wp/v2",body:r,query:"source=jetpack-ai",method:"POST"})}},22746:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(48931);const a=5;let o=0;async function s(e){if(o+=1,o>a)throw o-=1,new Error("Too many requests");return(0,n.A)(e).finally((()=>{o-=1}))}},9624:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(19362),a=r(22746),o=r(9938);const s={storeAiAssistantFeature:e=>({type:o.UU,feature:e}),fetchAiAssistantFeature:()=>async({dispatch:e})=>{e({type:o.ql});try{const t=await(0,a.A)({path:"/wpcom/v2/jetpack-ai/ai-assistant-feature",query:"force=wpcom"});if(t.data)throw new Error("Failed to fetch");e(s.storeAiAssistantFeature(function(e){return{hasFeature:!!e["has-feature"],isOverLimit:!!e["is-over-limit"],requestsCount:e["requests-count"],requestsLimit:e["requests-limit"],requireUpgrade:!!e["site-require-upgrade"],errorMessage:e["error-message"],errorCode:e["error-code"],upgradeType:e["upgrade-type"],usagePeriod:{currentStart:e["usage-period"]?.["current-start"],nextStart:e["usage-period"]?.["next-start"],requestsCount:e["usage-period"]?.["requests-count"]||0},currentTier:e["current-tier"],nextTier:e["next-tier"],tierPlansEnabled:!!e["tier-plans-enabled"],costs:e.costs,featuresControl:e["features-control"]}}(t)))}catch(t){e({type:o.Rx,error:t})}},increaseAiAssistantRequestsCount:(e=1)=>({dispatch:t})=>{t({type:o.Lg,count:e})},setAiAssistantFeatureRequireUpgrade:(e=!0)=>({type:o.Kt,requireUpgrade:e}),setTierPlansEnabled:(e=!0)=>({type:o.c1,tierPlansEnabled:e}),setSiteDetails:e=>({type:o.Bz,siteDetails:e}),setSelectedLogoIndex:e=>({type:o.BG,selectedLogoIndex:e}),addLogoToHistory:e=>({type:o.sG,logo:e}),setIsSavingLogoToLibrary:e=>({type:o.E6,isSavingLogoToLibrary:e}),setIsApplyingLogo:e=>({type:o.Ep,isApplyingLogo:e}),updateSelectedLogo:(e,t)=>({type:o.r_,mediaId:e,url:t}),setIsRequestingImage:e=>({type:o.vk,isRequestingImage:e}),setIsEnhancingPrompt:e=>({type:o.O5,isEnhancingPrompt:e}),loadLogoHistory(e){const t=(0,n.$t)(e);return{type:o.ZI,history:t}},setFeatureFetchError:e=>({type:o.Rx,error:e}),setFirstLogoPromptFetchError:e=>({type:o.MQ,error:e}),setEnhancePromptFetchError:e=>({type:o.gG,error:e}),setLogoFetchError:e=>({type:o.q_,error:e}),setSaveToLibraryError:e=>({type:o.x0,error:e}),setLogoUpdateError:e=>({type:o.FN,error:e}),setContext:e=>({type:o.kZ,context:e}),setIsLoadingHistory:e=>({type:o.hY,isLoadingHistory:e})},i=s},9938:(e,t,r)=>{"use strict";r.d(t,{BG:()=>m,Bz:()=>l,E6:()=>g,Ep:()=>f,FN:()=>S,GB:()=>c,Kt:()=>s,Lg:()=>o,MQ:()=>w,O5:()=>v,Rx:()=>E,UU:()=>n,ZI:()=>y,c1:()=>i,gG:()=>C,hY:()=>_,kZ:()=>p,mx:()=>d,nb:()=>u,q_:()=>A,ql:()=>a,r_:()=>b,sG:()=>h,vk:()=>k,x0:()=>x});const n="STORE_AI_ASSISTANT_FEATURE",a="REQUEST_AI_ASSISTANT_FEATURE",o="INCREASE_AI_ASSISTANT_REQUESTS_COUNT",s="SET_AI_ASSISTANT_FEATURE_REQUIRE_UPGRADE",i="SET_TIER_PLANS_ENABLED",l="SET_SITE_DETAILS",c=20,u=3e3,d=3,p="SET_CONTEXT",m="SET_SELECTED_LOGO_INDEX",h="ADD_LOGO_TO_HISTORY",g="SET_IS_SAVING_LOGO_TO_LIBRARY",f="SET_IS_APPLYING_LOGO",b="SAVE_SELECTED_LOGO",k="SET_IS_REQUESTING_IMAGE",v="SET_IS_ENHANCING_PROMPT",y="SET_SITE_HISTORY",_="SET_IS_LOADING_HISTORY",E="SET_FEATURE_FETCH_ERROR",w="SET_FIRST_LOGO_PROMPT_FETCH_ERROR",C="SET_ENHANCE_PROMPT_FETCH_ERROR",A="SET_LOGO_FETCH_ERROR",x="SET_SAVE_TO_LIBRARY_ERROR",S="SET_LOGO_UPDATE_ERROR"},74423:(e,t,r)=>{"use strict";r.d(t,{E:()=>i});var n=r(47143),a=r(9624),o=r(23695),s=r(80037);const i="jetpack-ai/logo-generator",l=(0,n.createReduxStore)(i,{__experimentalUseThunks:!0,actions:a.A,reducer:o.A,selectors:s.A});(0,n.register)(l)},94891:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(9938);const a={siteDetails:{},features:{aiAssistantFeature:{hasFeature:!0,isOverLimit:!1,requestsCount:0,requestsLimit:n.GB,requireUpgrade:!1,errorMessage:"",errorCode:"",upgradeType:"default",currentTier:{slug:"ai-assistant-tier-free",value:0,limit:20},usagePeriod:{currentStart:"",nextStart:"",requestsCount:0},nextTier:null,tierPlansEnabled:!1,_meta:{isRequesting:!1,asyncRequestCountdown:n.mx,asyncRequestTimerId:0,isRequestingImage:!1},featuresControl:{"logo-generator":{enabled:!1,styles:[]}}}},history:[],selectedLogoIndex:0}},23695:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(61356),a=r(9938),o=r(94891);function s(e=o.A,t){switch(t.type){case a.ql:return{...e,_meta:{...e._meta??{},featureFetchError:null},features:{...e.features,aiAssistantFeature:{...e.features.aiAssistantFeature,_meta:{...e?.features?.aiAssistantFeature?._meta,isRequesting:!0,asyncRequestCountdown:a.mx,asyncRequestTimerId:0}}}};case a.UU:{const r={"jetpack-ai-logo-generator":{logo:n._S}};return{...e,features:{...e.features,aiAssistantFeature:{costs:r,...t.feature,requireUpgrade:t.feature?.requireUpgrade||0===t.feature?.currentTier?.value,_meta:{...e?.features?.aiAssistantFeature?._meta,isRequesting:!1}}}}}case a.Lg:{const r=e?.features?.aiAssistantFeature?.usagePeriod||{requestsCount:0},n=(e?.features?.aiAssistantFeature?.requestsCount||0)+(t.count??1);r.requestsCount+=t.count??1;const o=e?.features?.aiAssistantFeature?.currentTier?.value,s=void 0===o&&!e?.features?.aiAssistantFeature?.hasFeature||0===o,i=void 0===o&&e?.features?.aiAssistantFeature?.hasFeature||1===o;let l=e?.features?.aiAssistantFeature?.currentTier?.limit||a.GB;i?l=a.nb:s&&(l=e?.features?.aiAssistantFeature?.requestsLimit);const c=(i||s?n:e?.features?.aiAssistantFeature?.usagePeriod?.requestsCount||0)>=l,u=s||c&&null!==e?.features?.aiAssistantFeature?.nextTier;return{...e,features:{...e.features,aiAssistantFeature:{...e.features.aiAssistantFeature,isOverLimit:c,requestsCount:n,requireUpgrade:u,usagePeriod:{...r}}}}}case a.Kt:return{...e,features:{...e.features,aiAssistantFeature:{...e.features.aiAssistantFeature,requireUpgrade:t.requireUpgrade,...t.requireUpgrade?{isOverLimit:!0}:{}}}};case a.c1:return{...e,features:{...e.features,aiAssistantFeature:{...e.features.aiAssistantFeature,tierPlansEnabled:t.tierPlansEnabled}}};case a.Bz:return{...e,siteDetails:t.siteDetails};case a.BG:return{...e,selectedLogoIndex:t.selectedLogoIndex};case a.sG:{const r=[...e.history,t.logo];return{...e,history:r,selectedLogoIndex:r.length-1}}case a.E6:return{...e,_meta:{...e._meta??{},isSavingLogoToLibrary:t.isSavingLogoToLibrary}};case a.Ep:return{...e,_meta:{...e._meta??{},isApplyingLogo:t.isApplyingLogo}};case a.r_:{const r=e.history?.[e.selectedLogoIndex];return{...e,history:[...e.history.slice(0,e.selectedLogoIndex),{...r,mediaId:t.mediaId,url:t.url},...e.history.slice(e.selectedLogoIndex+1)]}}case a.vk:return{...e,_meta:{...e._meta??{},isRequestingImage:t.isRequestingImage}};case a.O5:return{...e,_meta:{...e._meta??{},isEnhancingPrompt:t.isEnhancingPrompt}};case a.ZI:return{...e,history:t.history,selectedLogoIndex:t.history?.length?t.history.length-1:0};case a.Rx:return{...e,features:{...e.features,aiAssistantFeature:{...e?.features?.aiAssistantFeature,_meta:{...e?.features?.aiAssistantFeature?._meta,isRequesting:!1}}},_meta:{...e._meta??{},featureFetchError:t.error}};case a.MQ:return{...e,_meta:{...e._meta??{},firstLogoPromptFetchError:t.error}};case a.gG:return{...e,_meta:{...e._meta??{},enhancePromptFetchError:t.error}};case a.q_:return{...e,_meta:{...e._meta??{},logoFetchError:t.error}};case a.x0:return{...e,_meta:{...e._meta??{},saveToLibraryError:t.error}};case a.FN:return{...e,_meta:{...e._meta??{},logoUpdateError:t.error}};case a.kZ:return{...e,_meta:{...e._meta??{},context:t.context}};case a.hY:return{...e,_meta:{...e._meta??{},isLoadingHistory:t.isLoadingHistory}}}return e}},80037:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(61356);const a={getAiAssistantFeature(e){const t={...e.features.aiAssistantFeature};return delete t._meta,t},getSiteDetails:e=>e.siteDetails,getIsRequestingAiAssistantFeature:e=>e.features.aiAssistantFeature?._meta?.isRequesting??!1,getLogos:e=>e.history??[],getSelectedLogoIndex:e=>e.selectedLogoIndex??null,getSelectedLogo:e=>e.history?.[e.selectedLogoIndex]??null,getIsSavingLogoToLibrary:e=>e._meta?.isSavingLogoToLibrary??!1,getIsApplyingLogo:e=>e._meta?.isApplyingLogo??!1,getIsEnhancingPrompt:e=>e._meta?.isEnhancingPrompt??!1,getIsRequestingImage:e=>e._meta?.isRequestingImage??!1,getIsBusy:e=>a.getIsApplyingLogo(e)||a.getIsSavingLogoToLibrary(e)||a.getIsRequestingImage(e)||a.getIsEnhancingPrompt(e),getRequireUpgrade(e){const t=e.features.aiAssistantFeature;if(!t?.tierPlansEnabled)return t?.requireUpgrade;const r=t?.costs?.["jetpack-ai-logo-generator"]?.logo??n._S,a=t?.currentTier?.value||0,o=t?.usagePeriod?.requestsCount||0,s=1===a,i=!t?.nextTier;return e.features.aiAssistantFeature?.requireUpgrade||!s&&!i&&a-oe._meta?.featureFetchError??null,getFirstLogoPromptFetchError:e=>e._meta?.firstLogoPromptFetchError??null,getEnhancePromptFetchError:e=>e._meta?.enhancePromptFetchError??null,getLogoFetchError:e=>e._meta?.logoFetchError??null,getSaveToLibraryError:e=>e._meta?.saveToLibraryError??null,getLogoUpdateError:e=>e._meta?.logoUpdateError??null,getContext:e=>e._meta?.context??"",getTierPlansEnabled:e=>e.features.aiAssistantFeature?.tierPlansEnabled??!1,getIsLoadingHistory:e=>e._meta?.isLoadingHistory??!1},o=a},53664:(e,t,r)=>{"use strict";r.d(t,{A:()=>u});var n=r(7675),a=r(10067),o=r.n(a),s=r(46219),i=r(51391),l=r(78836);const c=o()("jetpack-ai-client:suggestions-event-source");class u extends EventTarget{constructor(e){super(),this.fullMessage="",this.fullFunctionCall={name:"",arguments:""},this.isPromptClear=!1,this.controller=new AbortController,this.initEventSource(e)}async initEventSource({url:e,question:t,token:r,options:a={}}){if(!r)try{c("Token was not provided, requesting one..."),r=(await(0,i.A)()).token}catch(e){return void this.processErrorEvent(e)}const o={};if(Number.isInteger(parseInt(a.postId))&&(o.post_id=+a.postId),!e){const t=new URL("https://public-api.wordpress.com/wpcom/v2/jetpack-ai-query");a?.fromCache&&t.searchParams.append("stream_cache","true"),e=t.toString(),c("URL not provided, using default: %o",e)}Array.isArray(t)?o.messages=t:o.question=t,a?.feature?.length&&(c("Feature: %o",a.feature),o.feature=a.feature),a?.functions?.length&&(c("Functions: %o",a.functions),o.functions=a.functions),a?.model?.length&&(c("Model: %o",a.model),o.model=a.model),this.errorUnclearPromptTriggered=!1,await(0,n.y)(e,{openWhenHidden:!0,method:"POST",headers:{"Content-type":"application/json",Authorization:"Bearer "+r},body:JSON.stringify(o),onclose:()=>{c("Stream closed")},onerror:e=>{throw this.processErrorEvent(e),e},onmessage:e=>{this.processEvent(e)},onopen:async e=>{if(e.ok)return;let t;throw e.status>=400&&e.status<=500&&![413,422,429].includes(e.status)&&(c("Connection error: %o",e),t=l.mA,this.dispatchEvent(new CustomEvent(l.mA,{detail:e}))),503===e.status&&(t=l.AZ,this.dispatchEvent(new CustomEvent(l.AZ))),413===e.status&&(t=l.cT,this.dispatchEvent(new CustomEvent(l.cT))),422===e.status&&(t=l.ud,this.dispatchEvent(new CustomEvent(l.ud))),429===e.status&&(t=l.Or,this.dispatchEvent(new CustomEvent(l.Or))),this.dispatchEvent(new CustomEvent(l.zn,{detail:(0,s.fC)(t)})),new Error},signal:this.controller.signal})}checkForUnclearPrompt(){if(this.isPromptClear)return;const e=this.fullMessage.replace(/__|(\*\*)/g,"");if(e.startsWith("JETPACK_AI_ERROR")){if(this.errorUnclearPromptTriggered)return;this.errorUnclearPromptTriggered=!0,this.dispatchEvent(new CustomEvent(l.L9)),c("Unclear error prompt dispatched"),this.dispatchEvent(new CustomEvent(l.zn,{detail:(0,s.fC)(l.L9)}))}else"JETPACK_AI_ERROR".startsWith(e)?c(this.fullMessage):this.isPromptClear=!0}close(){this.controller.abort()}processEvent(e){if("[DONE]"===e.data){if(this.errorUnclearPromptTriggered)return;if(this.fullMessage.length)return this.dispatchEvent(new CustomEvent("done",{detail:this.fullMessage})),void c("Done: %o",this.fullMessage);if(this.fullFunctionCall.name.length)return this.dispatchEvent(new CustomEvent("function_done",{detail:this.fullFunctionCall})),void c("Done: %o",this.fullFunctionCall)}let t;try{t=JSON.parse(e.data)}catch(t){return void c("Error parsing JSON",e,t)}const{delta:r}=t?.choices?.[0]??{delta:{content:null,function_call:null}},n=r.content,a=r.function_call;n&&(this.fullMessage+=n,this.checkForUnclearPrompt(),this.isPromptClear&&(this.dispatchEvent(new CustomEvent("chunk",{detail:n})),c("suggestion: %o",this.fullMessage),this.dispatchEvent(new CustomEvent("suggestion",{detail:this.fullMessage})))),a&&(null!=a.name&&(this.fullFunctionCall.name+=a.name),null!=a.arguments&&(this.fullFunctionCall.arguments+=a.arguments),this.dispatchEvent(new CustomEvent("functionCallChunk",{detail:this.fullFunctionCall})))}processErrorEvent(e){c("onerror: %o",e),this.dispatchEvent(new CustomEvent(l.mA,{detail:e})),this.dispatchEvent(new CustomEvent(l.zn,{detail:(0,s.fC)(l.mA)}))}}},78836:(e,t,r)=>{"use strict";r.d(t,{AZ:()=>a,L9:()=>c,Or:()=>o,cT:()=>i,mA:()=>l,uH:()=>n.u,ud:()=>s,zn:()=>u});var n=r(97784);const a="error_service_unavailable",o="error_quota_exceeded",s="error_moderation",i="error_context_too_large",l="error_network",c="error_unclear_prompt",u="error_response"},90372:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var n=r(10067);const a=r.n(n)()("dops:analytics");let o,s;window._tkq=window._tkq||[],window.ga=window.ga||function(){(window.ga.q=window.ga.q||[]).push(arguments)},window.ga.l=+new Date;const i={initialize:function(e,t,r){i.setUser(e,t),i.setSuperProps(r),i.identifyUser()},setGoogleAnalyticsEnabled:function(e,t=null){this.googleAnalyticsEnabled=e,this.googleAnalyticsKey=t},setMcAnalyticsEnabled:function(e){this.mcAnalyticsEnabled=e},setUser:function(e,t){s={ID:e,username:t}},setSuperProps:function(e){o=e},assignSuperProps:function(e){o=Object.assign(o||{},e)},mc:{bumpStat:function(e,t){const r=function(e,t){let r="";if("object"==typeof e){for(const t in e)r+="&x_"+encodeURIComponent(t)+"="+encodeURIComponent(e[t]);a("Bumping stats %o",e)}else r="&x_"+encodeURIComponent(e)+"="+encodeURIComponent(t),a('Bumping stat "%s" in group "%s"',t,e);return r}(e,t);i.mcAnalyticsEnabled&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom-no-pv"+r+"&t="+Math.random())},bumpStatWithPageView:function(e,t){const r=function(e,t){let r="";if("object"==typeof e){for(const t in e)r+="&"+encodeURIComponent(t)+"="+encodeURIComponent(e[t]);a("Built stats %o",e)}else r="&"+encodeURIComponent(e)+"="+encodeURIComponent(t),a('Built stat "%s" in group "%s"',t,e);return r}(e,t);i.mcAnalyticsEnabled&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom"+r+"&t="+Math.random())}},pageView:{record:function(e,t){i.tracks.recordPageView(e),i.ga.recordPageView(e,t)}},purchase:{record:function(e,t,r,n,a,o,s){i.ga.recordPurchase(e,t,r,n,a,o,s)}},tracks:{recordEvent:function(e,t){t=t||{},0===e.indexOf("akismet_")||0===e.indexOf("jetpack_")?(o&&(a("- Super Props: %o",o),t=Object.assign(t,o)),a('Record event "%s" called with props %s',e,JSON.stringify(t)),window._tkq.push(["recordEvent",e,t])):a('- Event name must be prefixed by "akismet_" or "jetpack_"')},recordJetpackClick:function(e){const t="object"==typeof e?e:{target:e};i.tracks.recordEvent("jetpack_wpa_click",t)},recordPageView:function(e){i.tracks.recordEvent("akismet_page_view",{path:e})},setOptOut:function(e){a("Pushing setOptOut: %o",e),window._tkq.push(["setOptOut",e])}},ga:{initialized:!1,initialize:function(){let e={};i.ga.initialized||(s&&(e={userId:"u-"+s.ID}),window.ga("create",this.googleAnalyticsKey,"auto",e),i.ga.initialized=!0)},recordPageView:function(e,t){i.ga.initialize(),a("Recording Page View ~ [URL: "+e+"] [Title: "+t+"]"),this.googleAnalyticsEnabled&&(window.ga("set","page",e),window.ga("send",{hitType:"pageview",page:e,title:t}))},recordEvent:function(e,t,r,n){i.ga.initialize();let o="Recording Event ~ [Category: "+e+"] [Action: "+t+"]";void 0!==r&&(o+=" [Option Label: "+r+"]"),void 0!==n&&(o+=" [Option Value: "+n+"]"),a(o),this.googleAnalyticsEnabled&&window.ga("send","event",e,t,r,n)},recordPurchase:function(e,t,r,n,a,o,s){window.ga("require","ecommerce"),window.ga("ecommerce:addTransaction",{id:e,revenue:n,currency:s}),window.ga("ecommerce:addItem",{id:e,name:t,sku:r,price:a,quantity:o}),window.ga("ecommerce:send")}},identifyUser:function(){s&&window._tkq.push(["identifyUser",s.ID,s.username])},setProperties:function(e){window._tkq.push(["setProperties",e])},clearedIdentity:function(){window._tkq.push(["clearIdentity"])}},l=i},11876:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(13022),a=r(51609),o=r.n(a),s=r(47876);const i=({children:e=null,width:t=null,height:r=null,className:a=""})=>o().createElement("div",{className:(0,n.A)(s.A.placeholder,a),style:{width:t,height:r}},e)},36281:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(21782);const a=({value:e="https://jetpack.com",bgColor:t,fgColor:r,level:a,includeMargin:o,imageSettings:s,renderAs:i="canvas",size:l=248})=>React.createElement(n.Ay,{value:e,size:l,bgColor:t,fgColor:r,level:a,includeMargin:o,imageSettings:s,renderAs:i})},56461:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var n=r(28120),a=r.n(n),o=r(51609),s=r.n(o);r(85335);const i=({color:e="#FFFFFF",className:t="",size:r=20})=>{const n=t+" jp-components-spinner",a={width:r,height:r,fontSize:r,borderTopColor:e},o={borderTopColor:e,borderRightColor:e};return s().createElement("div",{className:n},s().createElement("div",{className:"jp-components-spinner__outer",style:a},s().createElement("div",{className:"jp-components-spinner__inner",style:o})))};i.propTypes={color:a().string,className:a().string,size:a().number};const l=i},50723:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>p});var n=r(51609),a=r.n(n),o=r(25196);const s={"--font-headline-medium":"48px","--font-headline-small":"36px","--font-title-medium":"24px","--font-title-small":"20px","--font-body":"16px","--font-body-small":"14px","--font-body-extra-small":"12px","--font-title-large":"var(--font-headline-small)","--font-label":"var(--font-body-extra-small)"},i={"--jp-black":"#000000","--jp-black-80":"#2c3338","--jp-white":"#ffffff","--jp-white-off":"#f9f9f6","--jp-gray":"#dcdcde","--jp-gray-0":"#F6F7F7","--jp-gray-5":"var(--jp-gray)","--jp-gray-10":"#C3C4C7","--jp-gray-20":"#A7AAAD","--jp-gray-40":"#787C82","--jp-gray-50":"#646970","--jp-gray-60":"#50575E","--jp-gray-70":"#3C434A","--jp-gray-80":"#2C3338","--jp-gray-90":"#1d2327","--jp-gray-off":"#e2e2df","--jp-red-0":"#F7EBEC","--jp-red-5":"#FACFD2","--jp-red-40":"#E65054","--jp-red-50":"#D63638","--jp-red-60":"#B32D2E","--jp-red-70":"#8A2424","--jp-red-80":"#691C1C","--jp-red":"#d63639","--jp-yellow-5":"#F5E6B3","--jp-yellow-10":"#F2CF75","--jp-yellow-20":"#F0C930","--jp-yellow-30":"#DEB100","--jp-yellow-40":"#C08C00","--jp-yellow-50":"#9D6E00","--jp-yellow-60":"#7D5600","--jp-blue-20":"#68B3E8","--jp-blue-40":"#1689DB","--jp-pink":"#C9356E","--jp-green-0":"#f0f2eb","--jp-green-5":"#d0e6b8","--jp-green-10":"#9dd977","--jp-green-20":"#64ca43","--jp-green-30":"#2fb41f","--jp-green-40":"#069e08","--jp-green-50":"#008710","--jp-green-60":"#007117","--jp-green-70":"#005b18","--jp-green-80":"#004515","--jp-green-90":"#003010","--jp-green-100":"#001c09","--jp-green":"#069e08","--jp-green-primary":"var( --jp-green-40 )","--jp-green-secondary":"var( --jp-green-30 )"},l={"--jp-border-radius":"4px","--jp-menu-border-height":"1px","--jp-underline-thickness":"2px"},c={"--spacing-base":"8px"},u={},d=(e,t,r)=>{const n={...s,...i,...l,...c};for(const t in n)e.style.setProperty(t,n[t]);r&&e.classList.add(o.A.global),t&&(u[t]={provided:!0,root:e})},p=({children:e=null,targetDom:t,id:r,withGlobalStyles:o=!0})=>{const s=(0,n.useRef)(),i=u?.[r]?.provided;return(0,n.useLayoutEffect)((()=>{if(!i)return t?d(t,r,o):void(s?.current&&d(s.current,r,o))}),[t,s,i,r,o]),t?a().createElement(a().Fragment,null,e):a().createElement("div",{ref:s},e)}},3924:(e,t,r)=>{"use strict";function n(e,t={}){const r={};let n;if("undefined"!=typeof window&&(n=window?.JP_CONNECTION_INITIAL_STATE?.calypsoEnv),0===e.search("https://")){const t=new URL(e);e=`https://${t.host}${t.pathname}`,r.url=encodeURIComponent(e)}else r.source=encodeURIComponent(e);for(const e in t)r[e]=encodeURIComponent(t[e]);!Object.keys(r).includes("site")&&"undefined"!=typeof jetpack_redirects&&Object.hasOwn(jetpack_redirects,"currentSiteRawUrl")&&(r.site=jetpack_redirects.currentBlogID??jetpack_redirects.currentSiteRawUrl),n&&(r.calypso_env=n);return"https://jetpack.com/redirect/?"+Object.keys(r).map((e=>e+"="+r[e])).join("&")}r.d(t,{A:()=>n})},85985:(e,t,r)=>{"use strict";r.d(t,{$i:()=>n.A,BT:()=>i.A,Cq:()=>p.C,Dk:()=>l.Dk,FB:()=>s.A,GE:()=>a.A,GT:()=>l.GT,Q4:()=>l.Q4,Sy:()=>o.Sy,W4:()=>l.W4,aq:()=>l.aq,d9:()=>o.d9,gB:()=>c.A,pP:()=>o.pP,q7:()=>d.A,sH:()=>l.sH,sh:()=>p.s,st:()=>u.A,tu:()=>l.tu});var n=r(34972),a=r(54815),o=r(62634),s=r(60703),i=(r(82034),r(65595)),l=r(53265),c=r(49354),u=r(73489),d=r(76923),p=(r(15877),r(30335));r(88290)},15877:(e,t,r)=>{"use strict";r(51609)},30335:(e,t,r)=>{"use strict";r.d(t,{C:()=>s,s:()=>o});var n=r(86087),a=r(19334);function o(e){const t={};let r="span",a=e.icon;const o=document.createElement("div");o.innerHTML=e.icon;const s=o.querySelector("svg");return s&&(r="svg",a=s.innerHTML,Array.from(s.attributes).forEach((({nodeName:e,nodeValue:r})=>t[e]=r))),(0,n.createElement)(r,{...t,dangerouslySetInnerHTML:{__html:a||""}})}function s(e){return{src:o(e),foreground:(0,a.A)()}}},19334:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(62634);const a="#069e08";function o(){return(0,n.d9)()||(0,n.Sy)()?null:a}},34972:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});const n="Jetpack_Editor_Initial_State";function a(){return"object"==typeof window?window?.[n]??null:null}},60703:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(34972);function a(e){const t=(0,n.A)(),r=t?.available_blocks?.[e]?.available??!1,a=t?.available_blocks?.[e]?.unavailable_reason??"unknown";return{available:r,...!r&&{details:t?.available_blocks?.[e]?.details??[],unavailableReason:a}}}},54815:(e,t,r)=>{"use strict";function n(){return window&&window.Jetpack_Editor_Initial_State&&window.Jetpack_Editor_Initial_State.siteFragment?window.Jetpack_Editor_Initial_State.siteFragment:null}r.d(t,{A:()=>n})},73489:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var n=r(90372),a=r(39384),o=r(86087);const{tracks:s}=n.A,{recordEvent:i}=s,l=({pageViewEventName:e=null,pageViewNamespace:t="jetpack",pageViewSuffix:r="page_view",pageViewEventProperties:l={}}={})=>{const[c,u]=(0,o.useState)(!1),{isUserConnected:d,isRegistered:p,userConnectionData:m={}}=(0,a.useConnection)(),{wpcomUser:{login:h,ID:g}={},blogId:f}=m.currentUser||{},b=(0,o.useCallback)((async(e,t={})=>{d&&g&&h&&i(e,t)}),[d,g,h]);return(0,o.useEffect)((()=>{d&&g&&h&&f&&n.A.initialize(g,h,{blog_id:f})}),[f,g,h,d]),(0,o.useEffect)((()=>{const n=e?`${t}_${e}_${r}`:null;p&&n&&(c||(b(n,l),u(!0)))}),[c,t,e,r,p,l,b]),{recordEvent:b,tracks:s}}},76923:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(47143),a=r(86087),o=r(88290);const s=e=>{const{isModuleActive:t,isChangingStatus:r,isLoadingModules:s}=(0,n.useSelect)((t=>{const r=t(o.F);return{isModuleActive:r.isModuleActive(e),isChangingStatus:r.isModuleUpdating(e),isLoadingModules:r.areModulesLoading(e)}}),[e]),{updateJetpackModuleStatus:i}=(0,n.useDispatch)(o.F),l=(0,a.useCallback)((t=>i({name:e,active:t})),[e,i]);return(0,a.useMemo)((()=>({isLoadingModules:s,isChangingStatus:r,isModuleActive:t,changeStatus:l})),[s,r,t,l])}},49354:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(34972);function a(){return(0,n.A)()?.jetpack?.is_current_user_connected??!1}},27105:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>d,E9:()=>u});var n=r(47143),a=r(62634),o=r(94478),s=r(88290);const i="SET_JETPACK_MODULES";function l(e){return u({isLoading:e})}function c(e,t){return{type:"SET_MODULE_UPDATING",name:e,isUpdating:t}}function u(e){return{type:i,options:e}}const d={updateJetpackModuleStatus:function*(e){try{yield c(e.name,!0),yield(0,o.sB)(e);const t=yield(0,o.wz)();return yield u({data:t}),!0}catch(e){const t=(0,n.select)(s.F).getJetpackModules();return yield u(t),!1}finally{yield c(e.name,!1)}},setJetpackModules:u,fetchModules:function*(){if((0,a.Sy)())return!0;try{yield l(!0);const e=yield(0,o.wz)();return yield u({data:e}),!0}catch(e){const t=(0,n.select)(s.F).getJetpackModules();return yield u(t),!1}finally{yield l(!1)}}}},94478:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>c,sB:()=>l,wz:()=>i});var n=r(1455),a=r.n(n);const o="FETCH_JETPACK_MODULES",s="UPDATE_JETPACK_MODULE_STATUS",i=()=>({type:o}),l=e=>({type:s,settings:e}),c={[o]:function(){return a()({path:"/jetpack/v4/module/all",method:"GET"})},[s]:function({settings:e}){return a()({path:`/jetpack/v4/module/${e.name}/active`,method:"POST",data:{active:e.active}})}}},88290:(e,t,r)=>{"use strict";r.d(t,{F:()=>c});var n=r(47143),a=r(27105),o=r(94478),s=r(38862),i=r(62701),l=r(31640);const c="jetpack-modules",u=(0,n.createReduxStore)(c,{reducer:s.A,actions:a.Ay,controls:o.Ay,resolvers:i.A,selectors:l.A});(0,n.register)(u);const d=window?.Initial_State?.getModules||window?.Jetpack_Editor_Initial_State?.modules||null;null!==d&&(0,n.dispatch)(c).setJetpackModules({data:{...d}})},38862:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});const n={isLoading:!1,isUpdating:{},data:{}},a=(e=n,t)=>{switch(t.type){case"SET_JETPACK_MODULES":return{...e,...t.options};case"SET_MODULE_UPDATING":return{...e,isUpdating:{...e.isUpdating,[t.name]:t.isUpdating}}}return e}},62701:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(27105),a=r(94478);const o={getJetpackModules:function*(){try{const e=yield(0,a.wz)();if(e)return(0,n.E9)({data:e})}catch(e){console.error(e)}}}},31640:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(62634);const a={getJetpackModules:e=>e.data,isModuleActive:(e,t)=>(0,n.Sy)()||(e?.data?.[t]?.activated??!1),areModulesLoading:e=>e.isLoading??!1,isModuleUpdating:(e,t)=>e?.isUpdating?.[t]??!1}},53265:(e,t,r)=>{"use strict";r.d(t,{Dk:()=>g,GT:()=>b,Q4:()=>u,W4:()=>d,aq:()=>p,sH:()=>f,tu:()=>m});var n=r(27723),a=r(93832),o=r(66087),s=r(34972),i=r(60703),l=r(54815),c=r(62634);const __=n.__;function u({planSlug:e,plan:t,postId:r,postType:n}){const s=(0,o.startsWith)(e,"jetpack_")?e:(0,o.get)(t,["path_slug"]),i=(void 0===n?()=>{const e=new URLSearchParams(window.location.search);return(0,a.addQueryArgs)(window.location.protocol+`//${(0,l.A)().replace("::","/")}/wp-admin/site-editor.php`,{postId:e.get("postId"),postType:e.get("postType"),plan_upgraded:1})}:()=>{const e=["page","post"].includes(n)?"":"edit";return(0,c.Sy)()?(0,a.addQueryArgs)("/"+(0,o.compact)([e,n,(0,l.A)(),r]).join("/"),{plan_upgraded:1}):(0,a.addQueryArgs)(window.location.protocol+`//${(0,l.A)().replace("::","/")}/wp-admin/post.php`,{action:"edit",post:r,plan_upgraded:1})})();return(0,c.d9)()?(0,a.addQueryArgs)(`https://wordpress.com/plans/${(0,l.A)()}`,{redirect_to:i,customerType:"business"}):s&&(0,a.addQueryArgs)(`https://wordpress.com/checkout/${(0,l.A)()}/${s}`,{redirect_to:i})}function d(e){if(!e)return!1;const t=/^jetpack\//.test(e)?e.substr(8,e.length):e,{available:r,unavailableReason:n}=(0,i.A)(t);return!r&&"missing_plan"===n}function p(e,t){return"missing_plan"===e&&t.required_plan}function m(e){if(!e)return!1;const t=/^jetpack\//.test(e)?e.substr(8,e.length):e,{details:r,unavailableReason:n}=(0,i.A)(t);return p(n,r)}const h=[{name:"core/cover",mediaPlaceholder:!0,mediaReplaceFlow:!0,fileType:"video",description:__("Upgrade your plan to use video covers","jetpack")},{name:"core/audio",mediaPlaceholder:!0,mediaReplaceFlow:!0,fileType:"audio",description:__("Upgrade your plan to upload audio","jetpack")}];function g(){return(0,o.get)((0,s.A)(),"jetpack.enable_upgrade_nudge",!1)}const f=e=>(0,o.map)(h,"name").includes(e),b=e=>(0,o.head)((0,o.filter)(h,(({name:t})=>t===e)))},82034:(e,t,r)=>{"use strict";r(92279)},62634:(e,t,r)=>{"use strict";r.d(t,{Sy:()=>o,d9:()=>s,pP:()=>i});var n=r(34972);function a(){return"object"==typeof window&&"string"==typeof window._currentSiteType?window._currentSiteType:null}function o(){return"simple"===a()}function s(){return"atomic"===a()}function i(){const e=(0,n.A)();return e?.jetpack?.is_private_site??!1}},65595:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(96072),a=r.n(n),o=r(29491);const s=e=>(0,o.createHigherOrderComponent)((t=>r=>React.createElement(t,a()({},r,{className:r.name===e?"has-warning is-interactive":r.className}))),"withHasWarningIsInteractiveClassNames")},52068:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>E});var n=r(82170),a=r(96865),o=r(56427),s=r(47143),i=r(27723),l=r(90254),c=r(69457),u=r(88669),d=r(41417),p=r(57003),m=(r(51609),r(95396)),h=r(64425),g=r(47264),f=r(2162),b=r(62402);const __=i.__,k="simplify",v="make-longer",y="make-shorter",_={default:[{name:__("Correct spelling and grammar","jetpack"),key:"correct-spelling",aiSuggestion:h.yy,icon:l.A}],"core/paragraph":[{name:__("Simplify","jetpack"),key:k,aiSuggestion:h.A4,icon:c.A},{name:__("Summarize","jetpack"),key:"summarize",aiSuggestion:h.UA,icon:u.A},{name:__("Expand","jetpack"),key:v,aiSuggestion:h.br,icon:d.A},{name:__("Make shorter","jetpack"),key:y,aiSuggestion:h.fD,icon:d.A}],"core/list-item":[{name:__("Simplify","jetpack"),key:k,aiSuggestion:h.A4,icon:c.A},{name:__("Expand","jetpack"),key:v,aiSuggestion:h.br,icon:d.A},{name:__("Make shorter","jetpack"),key:y,aiSuggestion:h.fD,icon:d.A}],"core/list":m.L.includes("core/list")?[{name:__("Simplify","jetpack"),key:k,aiSuggestion:h.A4,icon:c.A},{name:__("Expand","jetpack"),key:v,aiSuggestion:h.br,icon:d.A},{name:__("Make shorter","jetpack"),key:y,aiSuggestion:h.fD,icon:d.A},{name:__("Turn list into a table","jetpack"),key:"turn-into-table",aiSuggestion:h.d5,icon:p.A,options:{alwaysTransformToAIAssistant:!0,rootParentOnly:!0}}]:[{name:__("Write a post from this list","jetpack"),key:"write-post-from-list",aiSuggestion:h.pE,icon:c.A,options:{userPrompt:"Write a post based on the list items. Include a title as first order heading and try to use secondary headings for each entry"}}]};function E({blockType:e,clientId:t,disabled:r=!1,onAskAiAssistant:i,onRequestSuggestion:l}){const c=_[e]??[],{getBlockParents:u}=(0,s.select)("core/block-editor"),d=u(t);return(0,n.createElement)(n.Fragment,null,r&&(0,n.createElement)(o.Notice,{status:"warning",isDismissible:!1,className:"jetpack-ai-assistant__info"},__("Add content to activate the tools below","jetpack")),(0,n.createElement)(o.MenuGroup,null,(0,n.createElement)(o.MenuItem,{icon:a.cj,iconPosition:"left",key:"key-ai-assistant",onClick:i,disabled:r},(0,n.createElement)("div",{className:"jetpack-ai-assistant__menu-item"},__("Ask AI Assistant","jetpack"))),[..._.default,...c].filter((e=>!(e.options?.rootParentOnly&&d.length>0))).map((e=>(0,n.createElement)(o.MenuItem,{icon:e?.icon,iconPosition:"left",key:`key-${e.key}`,onClick:()=>{l(e.aiSuggestion,{...e.options??{}},e.name)},disabled:r},(0,n.createElement)("div",{className:"jetpack-ai-assistant__menu-item"},e.name)))),(0,n.createElement)(b.hN,{onChange:e=>{l(h.eJ,{tone:e},`${b.uQ}: ${(0,g.Z)(e)}`)},disabled:r}),(0,n.createElement)(f.HU,{onChange:(e,t)=>{l(h.Gm,{language:e},`${f.u0}: ${t}`)},disabled:r})))}},32249:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(82170),a=r(3924),o=r(56427),s=r(27723);const __=s.__;const i=function(){const e=(0,a.A)("jetpack-ai-feedback");return(0,n.createElement)("div",{className:"jetpack-ai-feedback-control"},(0,n.createElement)(o.BaseControl,null,(0,n.createElement)(o.BaseControl.VisualLabel,null,__("Feedback","jetpack")),(0,n.createElement)("p",null,__("Your feedback is valuable in our commitment to refine and improve this feature.","jetpack")),(0,n.createElement)(o.ExternalLink,{href:e},__("Share your feedback","jetpack"))))}},2162:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>f,HU:()=>b,u0:()=>p});var n=r(82170),a=r(85985),o=r(56427),s=r(27723),i=r(51113),l=r(29115),c=r(84066);r(51609);const __=s.__,u=["en","es","fr","de","it","pt","ru","zh","ja","ar","hi","ko"],d=window?.Jetpack_Editor_Initial_State?.siteLocale||navigator?.language,p=__("Translate","jetpack"),m=d?.split("-")[0]||"en",h=(d?.split("-"),{en:{label:__("English","jetpack")},es:{label:__("Spanish","jetpack")},fr:{label:__("French","jetpack")},de:{label:__("German","jetpack")},it:{label:__("Italian","jetpack")},pt:{label:__("Portuguese","jetpack")},ru:{label:__("Russian","jetpack")},zh:{label:__("Chinese","jetpack")},ja:{label:__("Japanese","jetpack")},ar:{label:__("Arabic","jetpack")},hi:{label:__("Hindi","jetpack")},ko:{label:__("Korean","jetpack")}}),g=({value:e,onChange:t})=>{const r=[...u.filter((e=>e!==m))];return u.includes(m)&&r.unshift(m),(0,n.createElement)(o.MenuGroup,{label:__("Select language","jetpack")},r.map((r=>(0,n.createElement)(o.MenuItem,{key:`key-${r}`,onClick:()=>t(r+" ("+h[r].label+")",h[r].label),isSelected:e===r},h[r].label))))};function f({value:e=m,label:t=p,onChange:r,disabled:s=!1}){const{tracks:l}=(0,a.st)();return s?(0,n.createElement)(o.Tooltip,{text:t},(0,n.createElement)(o.Button,{disabled:!0},(0,n.createElement)(i.A,{icon:c.A}))):(0,n.createElement)(o.ToolbarDropdownMenu,{icon:c.A,label:t,popoverProps:{variant:"toolbar"},onToggle:e=>{e&&l.recordEvent("jetpack_ai_assistant_block_toolbar_menu_show",{tool:"i18n"})}},(()=>(0,n.createElement)(g,{value:e,onChange:r})))}function b({value:e=m,label:t=p,onChange:r,disabled:a=!1}){return(0,n.createElement)(o.DropdownMenu,{className:"ai-assistant__i18n-dropdown",icon:c.A,label:t,toggleProps:{children:(0,n.createElement)(n.Fragment,null,(0,n.createElement)("div",{className:"ai-assistant__i18n-dropdown__toggle-label"},t),(0,n.createElement)(i.A,{icon:l.A})),disabled:a}},(({onClose:t})=>(0,n.createElement)(g,{onChange:(...e)=>{r(...e),t()},value:e})))}},99050:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>c});var n=r(82170),a=r(85985),o=r(56427),s=r(27723),i=r(78938);const __=s.__,l=[{name:__("Summarize","jetpack"),key:"summarize",aiSuggestion:"summarize"},{name:__("Make longer","jetpack"),key:"make-longer",aiSuggestion:"makeLonger"},{name:__("Make shorter","jetpack"),key:"make-shorter",aiSuggestion:"makeShorter"}];function c({key:e,label:t=__("Improve","jetpack"),exclude:r=[],onChange:s,disabled:c=!1}){const{tracks:u}=(0,a.st)();return c?(0,n.createElement)(o.Tooltip,{text:t},(0,n.createElement)(o.Button,{disabled:!0},(0,n.createElement)(o.Icon,{icon:i.A}))):(0,n.createElement)(o.ToolbarDropdownMenu,{icon:i.A,label:t,popoverProps:{variant:"toolbar"},onToggle:e=>{e&&u.recordEvent("jetpack_ai_assistant_block_toolbar_menu_show",{tool:"improve"})}},(()=>{const a=l.filter((e=>!r.includes(e.key)));return(0,n.createElement)(o.MenuGroup,{label:t},a.map((t=>(0,n.createElement)(o.MenuItem,{key:`key-${t.key}`,onClick:()=>s(t.aiSuggestion,{contentType:"generated"}),isSelected:e===t.key},t.name))))}))}},33468:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>g});var n=r(82170),a=r(85985),o=r(56427),s=r(27723),i=r(78938),l=r(41417),c=r(90254),u=r(69457),d=r(88669),p=r(11269);const __=s.__,m=[{label:__("Post about…","jetpack"),description:{original:"Write a post about ",translated:__("Write a post about","jetpack")+" "}},{label:__("Informative article on…","jetpack"),description:{original:"Craft an informative article explaining ",translated:__("Craft an informative article explaining","jetpack")+" "}},{label:__("Step-by-step tutorial on…","jetpack"),description:{original:"Write a step-by-step tutorial on ",translated:__("Write a step-by-step tutorial on","jetpack")+" "}},{label:__("Motivational post on…","jetpack"),description:{original:"Create a motivational post on ",translated:__("Create a motivational post on","jetpack")+" "}}],h=[{label:__("Say it differently…","jetpack"),description:{original:"Rewrite it in a way that ",translated:__("Rewrite it in a way that","jetpack")+" "}},{label:__("Add…","jetpack"),description:{original:"Add more details about ",translated:__("Add more details about","jetpack")+" "}},{label:__("Remove…","jetpack"),description:{original:"Remove unnecessary details about ",translated:__("Remove unnecessary details about","jetpack")+" "}}];function g({hasContentBefore:e,hasContent:t,hasPostTitle:r,contentIsLoaded:s,onPromptSelect:g,onSuggestionSelect:f}){const b=__("Write with AI…","jetpack"),{tracks:k}=(0,a.st)();return(0,n.createElement)(o.ToolbarDropdownMenu,{className:"jetpack-ai-assistant__templates-control",icon:null,label:b,text:b,onToggle:e=>{e&&k.recordEvent("jetpack_ai_assistant_block_toolbar_menu_show",{tool:"write-with-ai"})}},(({onClose:a})=>s?(0,n.createElement)(o.MenuGroup,{label:__("Write…","jetpack")},h.map(((e,t)=>(0,n.createElement)(o.MenuItem,{icon:i.A,iconPosition:"left",key:`key-${t}`,onClick:()=>{a(),g(e.description)}},e.label)))):(0,n.createElement)(n.Fragment,null,e&&(0,n.createElement)(o.MenuGroup,{label:__("Based on preceding content…","jetpack")},(0,n.createElement)(o.MenuItem,{icon:l.A,iconPosition:"left",onClick:()=>f("continue")},__("Continue writing","jetpack")),(0,n.createElement)(o.MenuItem,{icon:c.A,iconPosition:"left",onClick:()=>f("correctSpelling")},__("Correct spelling and grammar","jetpack")),(0,n.createElement)(o.MenuItem,{icon:u.A,iconPosition:"left",onClick:()=>f("simplify")},__("Simplify","jetpack"))),t&&(0,n.createElement)(o.MenuGroup,{label:__("Based on entire content…","jetpack")},t&&(0,n.createElement)(o.MenuItem,{icon:d.A,iconPosition:"left",onClick:()=>f("summarize")},__("Summarize","jetpack")),t&&(0,n.createElement)(o.MenuItem,{icon:p.A,iconPosition:"left",onClick:()=>f("generateTitle")},__("Generate a post title","jetpack"))),(0,n.createElement)(o.MenuGroup,{label:__("Write…","jetpack")},r&&(0,n.createElement)(o.MenuItem,{icon:i.A,iconPosition:"left",onClick:()=>f("titleSummary")},__("Summary based on title","jetpack")),m.map(((e,t)=>(0,n.createElement)(o.MenuItem,{icon:i.A,iconPosition:"left",key:`key-${t}`,onClick:()=>{a(),g(e.description)}},e.label)))))))}},23e3:(e,t,r)=>{"use strict";r.d(t,{A:()=>k,Q:()=>b});var n=r(82170),a=r(3924),o=r(85985),s=r(56427),i=r(86087),l=r(27723),c=r(10067),u=r.n(c),d=r(56333),p=r(92169),m=r(61297),h=r(7503),g=r(93094);const __=l.__,f=u()("jetpack-ai-assistant:upgrade-prompt"),b=({variant:e="error"})=>{const t=(()=>{const{usagePeriod:e}=(0,m.A)(),t=(e=>{const t=__("You've reached this month's request limit, per our fair usage policy.","jetpack");if(!e)return t; +const r=__("Requests will reset on %s.","jetpack");return`${t} ${(0,o.sprintf)(r,e)}`})((e=>{if(!e?.nextStart)return null;const t=new Date(e.nextStart);return t.toLocaleString("default",{month:"long"})+" "+t.getDate()})(e)),r=(0,s.A)("ai-logo-generator-fair-usage-policy",{anchor:"jetpack-ai-usage-limit"});return(0,a.createInterpolateElement)(t,{link:React.createElement("a",{href:r,target:"_blank",rel:"noreferrer"})})}},88725:(e,t,r)=>{"use strict";r.d(t,{A:()=>f});var n=r(47143),a=r(10067),o=r.n(a),s=r(51609),i=r(31439),l=r(62614),c=r(93869),u=r(51391),d=r(19362),p=r(28229),m=r(74423),h=r(44461);const g=o()("jetpack-ai-calypso:use-logo-generator"),f=()=>{const{setSelectedLogoIndex:e,setIsSavingLogoToLibrary:t,setIsApplyingLogo:r,setIsRequestingImage:a,setIsEnhancingPrompt:o,increaseAiAssistantRequestsCount:f,addLogoToHistory:b,setContext:k,setIsLoadingHistory:v}=(0,n.useDispatch)(m.E),{logos:y,selectedLogoIndex:_,selectedLogo:E,siteDetails:w,isSavingLogoToLibrary:C,isApplyingLogo:A,isEnhancingPrompt:x,isBusy:S,isRequestingImage:j,getAiAssistantFeature:L,requireUpgrade:P,context:T,tierPlansEnabled:N,isLoadingHistory:R}=(0,n.useSelect)((e=>{const t=e(m.E);return{logos:t.getLogos(),selectedLogoIndex:t.getSelectedLogoIndex(),selectedLogo:t.getSelectedLogo(),siteDetails:t.getSiteDetails(),isSavingLogoToLibrary:t.getIsSavingLogoToLibrary(),isApplyingLogo:t.getIsApplyingLogo(),isRequestingImage:t.getIsRequestingImage(),isEnhancingPrompt:t.getIsEnhancingPrompt(),isBusy:t.getIsBusy(),getAiAssistantFeature:t.getAiAssistantFeature,requireUpgrade:t.getRequireUpgrade(),context:t.getContext(),tierPlansEnabled:t.getTierPlansEnabled(),isLoadingHistory:t.getIsLoadingHistory()}}),[]),{setFirstLogoPromptFetchError:M,setEnhancePromptFetchError:I,setLogoFetchError:B,setSaveToLibraryError:D,setLogoUpdateError:F}=(0,h.A)(),{generateImageWithParameters:O}=(0,l.Ay)(),{saveToMediaLibrary:U}=(0,c.A)(),{ID:z=null,name:H=null,description:q=null}=w||{},$=z?String(z):null,V=L($),G=V?.costs?.["jetpack-ai-logo-generator"]?.logo,W=V?.featuresControl?.["logo-generator"],Z=W?.styles||[],J=(0,s.useCallback)((async function(){M(null),f();try{const e=await(0,u.A)();if(!e||!e.token)throw new Error("No token provided");g("Generating first prompt for site");const t={question:`Generate a simple and short prompt asking for a logo based on the site's name and description, keeping the same language.\nExample for a site named "The minimalist fashion blog", described as "Daily inspiration for all things fashion": A logo for a minimalist fashion site focused on daily sartorial inspiration with a clean and modern aesthetic that is sleek and sophisticated.\nAnother example, now for a site called "El observatorio de aves", described as "Un sitio dedicado a nuestros compañeros y compañeras entusiastas de la observación de aves.": Un logo para un sitio web dedicado a la observación de aves, capturando la esencia de la naturaleza y la pasión por la avifauna en un diseño elegante y representativo, reflejando una estética natural y apasionada por la vida silvestre.\n\nSite name: ${H}\nSite description: ${q}`,feature:"jetpack-ai-logo-generator",stream:!1},r="https://public-api.wordpress.com/wpcom/v2/jetpack-ai-query",n={Authorization:`Bearer ${e.token}`,"Content-Type":"application/json"},a=await fetch(r,{method:"POST",headers:n,body:JSON.stringify(t)}).then((e=>e.json()));return a?.choices?.[0]?.message?.content}catch(e){throw f(-1),M(e),e}}),[M,f,H,q]),K=(0,s.useCallback)((async function(e){if(B(null),!Z||!Z.length)return null;const t=[{role:"jetpack-ai",context:{type:"ai-assistant-guess-logo-style",request:e,name:H,description:q}}];try{const e=await(0,i.A)(t,{feature:"jetpack-ai-logo-generator"});if(!e)return null;const r=Z.find((({value:t})=>t===e));return r?r.value:null}catch(e){g("Error guessing style",e),Promise.reject(e)}}),[Z,H,q]),Y=(0,s.useCallback)((async function({prompt:e,style:t=null}){B(null);try{const r=await(0,u.A)();if(!r||!r.token)throw new Error("No token provided");if("auto"===t)throw new Error("Auto style is not supported");g("Generating image with prompt",e);const n={prompt:`I NEED to test how the tool works with extremely simple prompts. DO NOT add any detail, just use it AS-IS:\nCreate a single text-free iconic vector logo that symbolically represents the user request, using abstract or symbolic imagery.\nThe design should be modern, with either a vivid color scheme full of gradients or a color scheme that's monochromatic. Use any of those styles based on the user request mood.\nEnsure the logo is set against a clean solid background.\nEnsure the logo works in small sizes.\nThe imagery in the logo should subtly hint at the mood of the user request but DO NOT use any text, letters, or the name of the site on the imagery.\nThe image should contain a single icon, without variations, color palettes or different versions.\n\nUser request:${e}`,messages:t?[{role:"jetpack-ai",context:{type:"ai-assistant-generate-logo",request:e,name:H,description:q,style:t}}]:[],feature:"jetpack-ai-logo-generator",response_format:"b64_json",style:t||""};return await O(n)}catch(e){throw B(e),e}}),[H,q]),Q=(0,s.useCallback)((async e=>{D(null);try{if(g("Saving logo for site"),e.mediaId)return{mediaId:e.mediaId,mediaURL:e.url};const r={mediaId:0,mediaURL:""};t(!0);const{id:n,url:a}=await U(e.url,"site-logo.png");return r.mediaId=parseInt(n),r.mediaURL=a,r}catch(e){throw D(e),e}finally{t(!1)}}),[t,D]),X=(0,s.useCallback)((async()=>{F(null);try{if(!$||!E)throw new Error("Missing siteId or logo");g("Applying logo for site",$),r(!0);const{mediaId:e}=E;if(!e)throw new Error("Missing mediaId");await(0,p.Z)({siteId:$,imageId:String(e)})}catch(e){throw F(e),e}finally{r(!1)}}),[E,r,F,$]),ee=(0,s.useCallback)((e=>{b(e),(0,d.hm)({...e,siteId:String($)})}),[$,b,d.hm]),te=(0,s.useCallback)((async function({prompt:e,style:t}){g("Generating logo for site"),a(!0);try{if(!G)throw new Error("Missing cost information");let r;f(G);try{if(r=await Y({prompt:e,style:t}),!r||!r.data.length)throw new Error("No image returned")}catch(e){throw f(-G),e}const n={url:"data:image/png;base64,"+r.data[0].b64_json,description:e};try{const t=await Q(n);ee({url:t.mediaURL,description:e,mediaId:t.mediaId})}catch(e){throw ee(n),e}}finally{a(!1)}}),[G,f,Q,ee,Y]);return{logos:y,selectedLogoIndex:_,selectedLogo:E,setSelectedLogoIndex:e,site:{id:$,name:H,description:q},generateFirstPrompt:J,saveLogo:Q,applyLogo:X,generateImage:Y,enhancePrompt:async function({prompt:e}){I(null),f();try{const t=await(0,u.A)();if(!t||!t.token)throw new Error("No token provided");g("Enhancing prompt",e);const r={messages:[{role:"system",content:"Enhance the prompt you receive.\nThe prompt is meant for generating a logo. Return the same prompt enhanced, and make each enhancement wrapped in brackets.\nDo not add any mention to text, letters, typography or the name of the site in the prompt.\nFor example: user's prompt: A logo for an ice cream shop. Returned prompt: A logo for an ice cream shop [that is pink] [and vibrant]."},{role:"user",content:e}],feature:"jetpack-ai-logo-generator",stream:!1},n="https://public-api.wordpress.com/wpcom/v2/jetpack-ai-query",a={Authorization:`Bearer ${t.token}`,"Content-Type":"application/json"},o=await fetch(n,{method:"POST",headers:a,body:JSON.stringify(r)}).then((e=>e.json()));return o?.choices?.[0]?.message?.content}catch(e){throw f(-1),I(e),e}},storeLogo:ee,generateLogo:te,setIsEnhancingPrompt:o,setIsRequestingImage:a,setIsSavingLogoToLibrary:t,setIsApplyingLogo:r,setContext:k,isEnhancingPrompt:x,isRequestingImage:j,isSavingLogoToLibrary:C,isApplyingLogo:A,isBusy:S,getAiAssistantFeature:L,requireUpgrade:P,context:T,tierPlansEnabled:N,isLoadingHistory:R,setIsLoadingHistory:v,imageStyles:Z,guessStyle:K}}},44461:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(47143),a=r(74423);const o=()=>{const{setFeatureFetchError:e,setFirstLogoPromptFetchError:t,setEnhancePromptFetchError:r,setLogoFetchError:o,setSaveToLibraryError:s,setLogoUpdateError:i}=(0,n.useDispatch)(a.E),{featureFetchError:l,firstLogoPromptFetchError:c,enhancePromptFetchError:u,logoFetchError:d,saveToLibraryError:p,logoUpdateError:m}=(0,n.useSelect)((e=>{const t=e(a.E);return{featureFetchError:t.getFeatureFetchError(),firstLogoPromptFetchError:t.getFirstLogoPromptFetchError(),enhancePromptFetchError:t.getEnhancePromptFetchError(),logoFetchError:t.getLogoFetchError(),saveToLibraryError:t.getSaveToLibraryError(),logoUpdateError:t.getLogoUpdateError()}}),[]);return{setFeatureFetchError:e,setFirstLogoPromptFetchError:t,setEnhancePromptFetchError:r,setLogoFetchError:o,setSaveToLibraryError:s,setLogoUpdateError:i,clearErrors:()=>{e(null),t(null),r(null),o(null),s(null),i(null)},featureFetchError:l,firstLogoPromptFetchError:c,enhancePromptFetchError:u,logoFetchError:d,saveToLibraryError:p,logoUpdateError:m}}},23101:(e,t,r)=>{"use strict";r.d(t,{K:()=>a.K,T:()=>n.T});var n=r(64537),a=r(11114)},19362:(e,t,r)=>{"use strict";r.d(t,{$t:()=>i,H:()=>s,NP:()=>l,Pv:()=>c,hm:()=>o});var n=r(13858);const a=10;function o({siteId:e,url:t,description:r,mediaId:n}){const o=i(e),s={url:t,description:r,mediaId:n};return o.push(s),localStorage.setItem(`logo-history-${e}`,JSON.stringify(o.slice(-a))),s}function s({siteId:e,url:t,newUrl:r,mediaId:n}){const o=i(e),s=o.findIndex((e=>e.url===t));return s>-1&&(o[s].url=r,o[s].mediaId=n),localStorage.setItem(`logo-history-${e}`,JSON.stringify(o.slice(-a))),o[s]}function i(e){const t=localStorage.getItem(`logo-history-${e}`);let r=t?JSON.parse(t):[];return Array.isArray(r)||(r=[]),r=r.slice(-a),r=r.filter((e=>"object"==typeof e&&"string"==typeof e.url&&"string"==typeof e.description)).map((e=>({url:e.url,description:e.description,mediaId:e.mediaId}))),r}function l(e){return 0===i(e).length}async function c(e){const t=i(e).filter((({mediaId:e})=>void 0!==e)).map((({mediaId:t})=>new Promise(((r,a)=>{(0,n.T)({siteId:e,mediaId:t}).then((e=>r({mediaId:t,exists:e}))).catch((e=>a(e)))}))));try{(await Promise.all(t)).filter((({exists:e})=>!e)).forEach((({mediaId:t})=>function({siteId:e,mediaId:t}){const r=i(e),n=r.findIndex((e=>e.mediaId===t));-1!==n&&(r.splice(n,1),localStorage.setItem(`logo-history-${e}`,JSON.stringify(r)))}({siteId:e,mediaId:t})))}catch{}}},13858:(e,t,r)=>{"use strict";r.d(t,{T:()=>a});var n=r(48931);async function a({mediaId:e}){const t=Number(e);if(Number.isNaN(t))return!1;try{return await(0,n.A)({path:`/wp/v2/media/${Number(e)}`,method:"GET"}),!0}catch(e){const t=e?.data?.status;if(404===t)return!1;throw e}}},28229:(e,t,r)=>{"use strict";r.d(t,{Z:()=>a});var n=r(22746);async function a({siteId:e,imageId:t}){const r={site_logo:t,site_icon:t};return(0,n.A)({path:`/sites/${String(e)}/settings`,apiVersion:"v2",apiNamespace:"wp/v2",body:r,query:"source=jetpack-ai",method:"POST"})}},22746:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(48931);const a=5;let o=0;async function s(e){if(o+=1,o>a)throw o-=1,new Error("Too many requests");return(0,n.A)(e).finally((()=>{o-=1}))}},9624:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(19362),a=r(22746),o=r(9938);const s={storeAiAssistantFeature:e=>({type:o.UU,feature:e}),fetchAiAssistantFeature:()=>async({dispatch:e})=>{e({type:o.ql});try{const t=await(0,a.A)({path:"/wpcom/v2/jetpack-ai/ai-assistant-feature",query:"force=wpcom"});if(t.data)throw new Error("Failed to fetch");e(s.storeAiAssistantFeature(function(e){return{hasFeature:!!e["has-feature"],isOverLimit:!!e["is-over-limit"],requestsCount:e["requests-count"],requestsLimit:e["requests-limit"],requireUpgrade:!!e["site-require-upgrade"],errorMessage:e["error-message"],errorCode:e["error-code"],upgradeType:e["upgrade-type"],usagePeriod:{currentStart:e["usage-period"]?.["current-start"],nextStart:e["usage-period"]?.["next-start"],requestsCount:e["usage-period"]?.["requests-count"]||0},currentTier:e["current-tier"],nextTier:e["next-tier"],tierPlansEnabled:!!e["tier-plans-enabled"],costs:e.costs,featuresControl:e["features-control"]}}(t)))}catch(t){e({type:o.Rx,error:t})}},increaseAiAssistantRequestsCount:(e=1)=>({dispatch:t})=>{t({type:o.Lg,count:e})},setAiAssistantFeatureRequireUpgrade:(e=!0)=>({type:o.Kt,requireUpgrade:e}),setTierPlansEnabled:(e=!0)=>({type:o.c1,tierPlansEnabled:e}),setSiteDetails:e=>({type:o.Bz,siteDetails:e}),setSelectedLogoIndex:e=>({type:o.BG,selectedLogoIndex:e}),addLogoToHistory:e=>({type:o.sG,logo:e}),setIsSavingLogoToLibrary:e=>({type:o.E6,isSavingLogoToLibrary:e}),setIsApplyingLogo:e=>({type:o.Ep,isApplyingLogo:e}),updateSelectedLogo:(e,t)=>({type:o.r_,mediaId:e,url:t}),setIsRequestingImage:e=>({type:o.vk,isRequestingImage:e}),setIsEnhancingPrompt:e=>({type:o.O5,isEnhancingPrompt:e}),loadLogoHistory(e){const t=(0,n.$t)(e);return{type:o.ZI,history:t}},setFeatureFetchError:e=>({type:o.Rx,error:e}),setFirstLogoPromptFetchError:e=>({type:o.MQ,error:e}),setEnhancePromptFetchError:e=>({type:o.gG,error:e}),setLogoFetchError:e=>({type:o.q_,error:e}),setSaveToLibraryError:e=>({type:o.x0,error:e}),setLogoUpdateError:e=>({type:o.FN,error:e}),setContext:e=>({type:o.kZ,context:e}),setIsLoadingHistory:e=>({type:o.hY,isLoadingHistory:e})},i=s},9938:(e,t,r)=>{"use strict";r.d(t,{BG:()=>m,Bz:()=>l,E6:()=>g,Ep:()=>f,FN:()=>S,GB:()=>c,Kt:()=>s,Lg:()=>o,MQ:()=>w,O5:()=>v,Rx:()=>E,UU:()=>n,ZI:()=>y,c1:()=>i,gG:()=>C,hY:()=>_,kZ:()=>p,mx:()=>d,nb:()=>u,q_:()=>A,ql:()=>a,r_:()=>b,sG:()=>h,vk:()=>k,x0:()=>x});const n="STORE_AI_ASSISTANT_FEATURE",a="REQUEST_AI_ASSISTANT_FEATURE",o="INCREASE_AI_ASSISTANT_REQUESTS_COUNT",s="SET_AI_ASSISTANT_FEATURE_REQUIRE_UPGRADE",i="SET_TIER_PLANS_ENABLED",l="SET_SITE_DETAILS",c=20,u=3e3,d=3,p="SET_CONTEXT",m="SET_SELECTED_LOGO_INDEX",h="ADD_LOGO_TO_HISTORY",g="SET_IS_SAVING_LOGO_TO_LIBRARY",f="SET_IS_APPLYING_LOGO",b="SAVE_SELECTED_LOGO",k="SET_IS_REQUESTING_IMAGE",v="SET_IS_ENHANCING_PROMPT",y="SET_SITE_HISTORY",_="SET_IS_LOADING_HISTORY",E="SET_FEATURE_FETCH_ERROR",w="SET_FIRST_LOGO_PROMPT_FETCH_ERROR",C="SET_ENHANCE_PROMPT_FETCH_ERROR",A="SET_LOGO_FETCH_ERROR",x="SET_SAVE_TO_LIBRARY_ERROR",S="SET_LOGO_UPDATE_ERROR"},74423:(e,t,r)=>{"use strict";r.d(t,{E:()=>i});var n=r(47143),a=r(9624),o=r(23695),s=r(80037);const i="jetpack-ai/logo-generator",l=(0,n.createReduxStore)(i,{__experimentalUseThunks:!0,actions:a.A,reducer:o.A,selectors:s.A});(0,n.register)(l)},94891:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(9938);const a={siteDetails:{},features:{aiAssistantFeature:{hasFeature:!0,isOverLimit:!1,requestsCount:0,requestsLimit:n.GB,requireUpgrade:!1,errorMessage:"",errorCode:"",upgradeType:"default",currentTier:{slug:"ai-assistant-tier-free",value:0,limit:20},usagePeriod:{currentStart:"",nextStart:"",requestsCount:0},nextTier:null,tierPlansEnabled:!1,_meta:{isRequesting:!1,asyncRequestCountdown:n.mx,asyncRequestTimerId:0,isRequestingImage:!1},featuresControl:{"logo-generator":{enabled:!1,styles:[]}}}},history:[],selectedLogoIndex:0}},23695:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(61356),a=r(9938),o=r(94891);function s(e=o.A,t){switch(t.type){case a.ql:return{...e,_meta:{...e._meta??{},featureFetchError:null},features:{...e.features,aiAssistantFeature:{...e.features.aiAssistantFeature,_meta:{...e?.features?.aiAssistantFeature?._meta,isRequesting:!0,asyncRequestCountdown:a.mx,asyncRequestTimerId:0}}}};case a.UU:{const r={"jetpack-ai-logo-generator":{logo:n._S}};return{...e,features:{...e.features,aiAssistantFeature:{costs:r,...t.feature,requireUpgrade:t.feature?.requireUpgrade||0===t.feature?.currentTier?.value,_meta:{...e?.features?.aiAssistantFeature?._meta,isRequesting:!1}}}}}case a.Lg:{const r=e?.features?.aiAssistantFeature?.usagePeriod||{requestsCount:0},n=(e?.features?.aiAssistantFeature?.requestsCount||0)+(t.count??1);r.requestsCount+=t.count??1;const o=e?.features?.aiAssistantFeature?.currentTier?.value,s=void 0===o&&!e?.features?.aiAssistantFeature?.hasFeature||0===o,i=void 0===o&&e?.features?.aiAssistantFeature?.hasFeature||1===o;let l=e?.features?.aiAssistantFeature?.currentTier?.limit||a.GB;i?l=a.nb:s&&(l=e?.features?.aiAssistantFeature?.requestsLimit);const c=(i||s?n:e?.features?.aiAssistantFeature?.usagePeriod?.requestsCount||0)>=l,u=s||c&&null!==e?.features?.aiAssistantFeature?.nextTier;return{...e,features:{...e.features,aiAssistantFeature:{...e.features.aiAssistantFeature,isOverLimit:c,requestsCount:n,requireUpgrade:u,usagePeriod:{...r}}}}}case a.Kt:return{...e,features:{...e.features,aiAssistantFeature:{...e.features.aiAssistantFeature,requireUpgrade:t.requireUpgrade,...t.requireUpgrade?{isOverLimit:!0}:{}}}};case a.c1:return{...e,features:{...e.features,aiAssistantFeature:{...e.features.aiAssistantFeature,tierPlansEnabled:t.tierPlansEnabled}}};case a.Bz:return{...e,siteDetails:t.siteDetails};case a.BG:return{...e,selectedLogoIndex:t.selectedLogoIndex};case a.sG:{const r=[...e.history,t.logo];return{...e,history:r,selectedLogoIndex:r.length-1}}case a.E6:return{...e,_meta:{...e._meta??{},isSavingLogoToLibrary:t.isSavingLogoToLibrary}};case a.Ep:return{...e,_meta:{...e._meta??{},isApplyingLogo:t.isApplyingLogo}};case a.r_:{const r=e.history?.[e.selectedLogoIndex];return{...e,history:[...e.history.slice(0,e.selectedLogoIndex),{...r,mediaId:t.mediaId,url:t.url},...e.history.slice(e.selectedLogoIndex+1)]}}case a.vk:return{...e,_meta:{...e._meta??{},isRequestingImage:t.isRequestingImage}};case a.O5:return{...e,_meta:{...e._meta??{},isEnhancingPrompt:t.isEnhancingPrompt}};case a.ZI:return{...e,history:t.history,selectedLogoIndex:t.history?.length?t.history.length-1:0};case a.Rx:return{...e,features:{...e.features,aiAssistantFeature:{...e?.features?.aiAssistantFeature,_meta:{...e?.features?.aiAssistantFeature?._meta,isRequesting:!1}}},_meta:{...e._meta??{},featureFetchError:t.error}};case a.MQ:return{...e,_meta:{...e._meta??{},firstLogoPromptFetchError:t.error}};case a.gG:return{...e,_meta:{...e._meta??{},enhancePromptFetchError:t.error}};case a.q_:return{...e,_meta:{...e._meta??{},logoFetchError:t.error}};case a.x0:return{...e,_meta:{...e._meta??{},saveToLibraryError:t.error}};case a.FN:return{...e,_meta:{...e._meta??{},logoUpdateError:t.error}};case a.kZ:return{...e,_meta:{...e._meta??{},context:t.context}};case a.hY:return{...e,_meta:{...e._meta??{},isLoadingHistory:t.isLoadingHistory}}}return e}},80037:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(61356);const a={getAiAssistantFeature(e){const t={...e.features.aiAssistantFeature};return delete t._meta,t},getSiteDetails:e=>e.siteDetails,getIsRequestingAiAssistantFeature:e=>e.features.aiAssistantFeature?._meta?.isRequesting??!1,getLogos:e=>e.history??[],getSelectedLogoIndex:e=>e.selectedLogoIndex??null,getSelectedLogo:e=>e.history?.[e.selectedLogoIndex]??null,getIsSavingLogoToLibrary:e=>e._meta?.isSavingLogoToLibrary??!1,getIsApplyingLogo:e=>e._meta?.isApplyingLogo??!1,getIsEnhancingPrompt:e=>e._meta?.isEnhancingPrompt??!1,getIsRequestingImage:e=>e._meta?.isRequestingImage??!1,getIsBusy:e=>a.getIsApplyingLogo(e)||a.getIsSavingLogoToLibrary(e)||a.getIsRequestingImage(e)||a.getIsEnhancingPrompt(e),getRequireUpgrade(e){const t=e.features.aiAssistantFeature;if(!t?.tierPlansEnabled)return t?.requireUpgrade;const r=t?.costs?.["jetpack-ai-logo-generator"]?.logo??n._S,a=t?.currentTier?.value||0,o=t?.usagePeriod?.requestsCount||0,s=1===a,i=!t?.nextTier;return e.features.aiAssistantFeature?.requireUpgrade||!s&&!i&&a-oe._meta?.featureFetchError??null,getFirstLogoPromptFetchError:e=>e._meta?.firstLogoPromptFetchError??null,getEnhancePromptFetchError:e=>e._meta?.enhancePromptFetchError??null,getLogoFetchError:e=>e._meta?.logoFetchError??null,getSaveToLibraryError:e=>e._meta?.saveToLibraryError??null,getLogoUpdateError:e=>e._meta?.logoUpdateError??null,getContext:e=>e._meta?.context??"",getTierPlansEnabled:e=>e.features.aiAssistantFeature?.tierPlansEnabled??!1,getIsLoadingHistory:e=>e._meta?.isLoadingHistory??!1},o=a},53664:(e,t,r)=>{"use strict";r.d(t,{A:()=>u});var n=r(7675),a=r(10067),o=r.n(a),s=r(46219),i=r(51391),l=r(78836);const c=o()("jetpack-ai-client:suggestions-event-source");class u extends EventTarget{constructor(e){super(),this.fullMessage="",this.fullFunctionCall={name:"",arguments:""},this.isPromptClear=!1,this.controller=new AbortController,this.initEventSource(e)}async initEventSource({url:e,question:t,token:r,options:a={}}){if(!r)try{c("Token was not provided, requesting one..."),r=(await(0,i.A)()).token}catch(e){return void this.processErrorEvent(e)}const o={};if(Number.isInteger(parseInt(a.postId))&&(o.post_id=+a.postId),!e){const t=new URL("https://public-api.wordpress.com/wpcom/v2/jetpack-ai-query");a?.fromCache&&t.searchParams.append("stream_cache","true"),e=t.toString(),c("URL not provided, using default: %o",e)}Array.isArray(t)?o.messages=t:o.question=t,a?.feature?.length&&(c("Feature: %o",a.feature),o.feature=a.feature),a?.functions?.length&&(c("Functions: %o",a.functions),o.functions=a.functions),a?.model?.length&&(c("Model: %o",a.model),o.model=a.model),this.errorUnclearPromptTriggered=!1,await(0,n.y)(e,{openWhenHidden:!0,method:"POST",headers:{"Content-type":"application/json",Authorization:"Bearer "+r},body:JSON.stringify(o),onclose:()=>{c("Stream closed")},onerror:e=>{throw this.processErrorEvent(e),e},onmessage:e=>{this.processEvent(e)},onopen:async e=>{if(e.ok)return;let t;throw e.status>=400&&e.status<=500&&![413,422,429].includes(e.status)&&(c("Connection error: %o",e),t=l.mA,this.dispatchEvent(new CustomEvent(l.mA,{detail:e}))),503===e.status&&(t=l.AZ,this.dispatchEvent(new CustomEvent(l.AZ))),413===e.status&&(t=l.cT,this.dispatchEvent(new CustomEvent(l.cT))),422===e.status&&(t=l.ud,this.dispatchEvent(new CustomEvent(l.ud))),429===e.status&&(t=l.Or,this.dispatchEvent(new CustomEvent(l.Or))),this.dispatchEvent(new CustomEvent(l.zn,{detail:(0,s.fC)(t)})),new Error},signal:this.controller.signal})}checkForUnclearPrompt(){if(this.isPromptClear)return;const e=this.fullMessage.replace(/__|(\*\*)/g,"");if(e.startsWith("JETPACK_AI_ERROR")){if(this.errorUnclearPromptTriggered)return;this.errorUnclearPromptTriggered=!0,this.dispatchEvent(new CustomEvent(l.L9)),c("Unclear error prompt dispatched"),this.dispatchEvent(new CustomEvent(l.zn,{detail:(0,s.fC)(l.L9)}))}else"JETPACK_AI_ERROR".startsWith(e)?c(this.fullMessage):this.isPromptClear=!0}close(){this.controller.abort()}processEvent(e){if("[DONE]"===e.data){if(this.errorUnclearPromptTriggered)return;if(this.fullMessage.length)return this.dispatchEvent(new CustomEvent("done",{detail:this.fullMessage})),void c("Done: %o",this.fullMessage);if(this.fullFunctionCall.name.length)return this.dispatchEvent(new CustomEvent("function_done",{detail:this.fullFunctionCall})),void c("Done: %o",this.fullFunctionCall)}let t;try{t=JSON.parse(e.data)}catch(t){return void c("Error parsing JSON",e,t)}const{delta:r}=t?.choices?.[0]??{delta:{content:null,function_call:null}},n=r.content,a=r.function_call;n&&(this.fullMessage+=n,this.checkForUnclearPrompt(),this.isPromptClear&&(this.dispatchEvent(new CustomEvent("chunk",{detail:n})),c("suggestion: %o",this.fullMessage),this.dispatchEvent(new CustomEvent("suggestion",{detail:this.fullMessage})))),a&&(null!=a.name&&(this.fullFunctionCall.name+=a.name),null!=a.arguments&&(this.fullFunctionCall.arguments+=a.arguments),this.dispatchEvent(new CustomEvent("functionCallChunk",{detail:this.fullFunctionCall})))}processErrorEvent(e){c("onerror: %o",e),this.dispatchEvent(new CustomEvent(l.mA,{detail:e})),this.dispatchEvent(new CustomEvent(l.zn,{detail:(0,s.fC)(l.mA)}))}}},78836:(e,t,r)=>{"use strict";r.d(t,{AZ:()=>a,L9:()=>c,Or:()=>o,cT:()=>i,mA:()=>l,uH:()=>n.u,ud:()=>s,zn:()=>u});var n=r(97784);const a="error_service_unavailable",o="error_quota_exceeded",s="error_moderation",i="error_context_too_large",l="error_network",c="error_unclear_prompt",u="error_response"},90372:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var n=r(10067);const a=r.n(n)()("dops:analytics");let o,s;window._tkq=window._tkq||[],window.ga=window.ga||function(){(window.ga.q=window.ga.q||[]).push(arguments)},window.ga.l=+new Date;const i={initialize:function(e,t,r){i.setUser(e,t),i.setSuperProps(r),i.identifyUser()},setGoogleAnalyticsEnabled:function(e,t=null){this.googleAnalyticsEnabled=e,this.googleAnalyticsKey=t},setMcAnalyticsEnabled:function(e){this.mcAnalyticsEnabled=e},setUser:function(e,t){s={ID:e,username:t}},setSuperProps:function(e){o=e},assignSuperProps:function(e){o=Object.assign(o||{},e)},mc:{bumpStat:function(e,t){const r=function(e,t){let r="";if("object"==typeof e){for(const t in e)r+="&x_"+encodeURIComponent(t)+"="+encodeURIComponent(e[t]);a("Bumping stats %o",e)}else r="&x_"+encodeURIComponent(e)+"="+encodeURIComponent(t),a('Bumping stat "%s" in group "%s"',t,e);return r}(e,t);i.mcAnalyticsEnabled&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom-no-pv"+r+"&t="+Math.random())},bumpStatWithPageView:function(e,t){const r=function(e,t){let r="";if("object"==typeof e){for(const t in e)r+="&"+encodeURIComponent(t)+"="+encodeURIComponent(e[t]);a("Built stats %o",e)}else r="&"+encodeURIComponent(e)+"="+encodeURIComponent(t),a('Built stat "%s" in group "%s"',t,e);return r}(e,t);i.mcAnalyticsEnabled&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom"+r+"&t="+Math.random())}},pageView:{record:function(e,t){i.tracks.recordPageView(e),i.ga.recordPageView(e,t)}},purchase:{record:function(e,t,r,n,a,o,s){i.ga.recordPurchase(e,t,r,n,a,o,s)}},tracks:{recordEvent:function(e,t){t=t||{},0===e.indexOf("akismet_")||0===e.indexOf("jetpack_")?(o&&(a("- Super Props: %o",o),t=Object.assign(t,o)),a('Record event "%s" called with props %s',e,JSON.stringify(t)),window._tkq.push(["recordEvent",e,t])):a('- Event name must be prefixed by "akismet_" or "jetpack_"')},recordJetpackClick:function(e){const t="object"==typeof e?e:{target:e};i.tracks.recordEvent("jetpack_wpa_click",t)},recordPageView:function(e){i.tracks.recordEvent("akismet_page_view",{path:e})},setOptOut:function(e){a("Pushing setOptOut: %o",e),window._tkq.push(["setOptOut",e])}},ga:{initialized:!1,initialize:function(){let e={};i.ga.initialized||(s&&(e={userId:"u-"+s.ID}),window.ga("create",this.googleAnalyticsKey,"auto",e),i.ga.initialized=!0)},recordPageView:function(e,t){i.ga.initialize(),a("Recording Page View ~ [URL: "+e+"] [Title: "+t+"]"),this.googleAnalyticsEnabled&&(window.ga("set","page",e),window.ga("send",{hitType:"pageview",page:e,title:t}))},recordEvent:function(e,t,r,n){i.ga.initialize();let o="Recording Event ~ [Category: "+e+"] [Action: "+t+"]";void 0!==r&&(o+=" [Option Label: "+r+"]"),void 0!==n&&(o+=" [Option Value: "+n+"]"),a(o),this.googleAnalyticsEnabled&&window.ga("send","event",e,t,r,n)},recordPurchase:function(e,t,r,n,a,o,s){window.ga("require","ecommerce"),window.ga("ecommerce:addTransaction",{id:e,revenue:n,currency:s}),window.ga("ecommerce:addItem",{id:e,name:t,sku:r,price:a,quantity:o}),window.ga("ecommerce:send")}},identifyUser:function(){s&&window._tkq.push(["identifyUser",s.ID,s.username])},setProperties:function(e){window._tkq.push(["setProperties",e])},clearedIdentity:function(){window._tkq.push(["clearIdentity"])}},l=i},11876:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(13022),a=r(51609),o=r.n(a),s=r(47876);const i=({children:e=null,width:t=null,height:r=null,className:a=""})=>o().createElement("div",{className:(0,n.A)(s.A.placeholder,a),style:{width:t,height:r}},e)},36281:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(21782);const a=({value:e="https://jetpack.com",bgColor:t,fgColor:r,level:a,includeMargin:o,imageSettings:s,renderAs:i="canvas",size:l=248})=>React.createElement(n.Ay,{value:e,size:l,bgColor:t,fgColor:r,level:a,includeMargin:o,imageSettings:s,renderAs:i})},56461:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var n=r(28120),a=r.n(n),o=r(51609),s=r.n(o);r(85335);const i=({color:e="#FFFFFF",className:t="",size:r=20})=>{const n=t+" jp-components-spinner",a={width:r,height:r,fontSize:r,borderTopColor:e},o={borderTopColor:e,borderRightColor:e};return s().createElement("div",{className:n},s().createElement("div",{className:"jp-components-spinner__outer",style:a},s().createElement("div",{className:"jp-components-spinner__inner",style:o})))};i.propTypes={color:a().string,className:a().string,size:a().number};const l=i},50723:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>p});var n=r(51609),a=r.n(n),o=r(25196);const s={"--font-headline-medium":"48px","--font-headline-small":"36px","--font-title-medium":"24px","--font-title-small":"20px","--font-body":"16px","--font-body-small":"14px","--font-body-extra-small":"12px","--font-title-large":"var(--font-headline-small)","--font-label":"var(--font-body-extra-small)"},i={"--jp-black":"#000000","--jp-black-80":"#2c3338","--jp-white":"#ffffff","--jp-white-off":"#f9f9f6","--jp-gray":"#dcdcde","--jp-gray-0":"#F6F7F7","--jp-gray-5":"var(--jp-gray)","--jp-gray-10":"#C3C4C7","--jp-gray-20":"#A7AAAD","--jp-gray-40":"#787C82","--jp-gray-50":"#646970","--jp-gray-60":"#50575E","--jp-gray-70":"#3C434A","--jp-gray-80":"#2C3338","--jp-gray-90":"#1d2327","--jp-gray-off":"#e2e2df","--jp-red-0":"#F7EBEC","--jp-red-5":"#FACFD2","--jp-red-40":"#E65054","--jp-red-50":"#D63638","--jp-red-60":"#B32D2E","--jp-red-70":"#8A2424","--jp-red-80":"#691C1C","--jp-red":"#d63639","--jp-yellow-5":"#F5E6B3","--jp-yellow-10":"#F2CF75","--jp-yellow-20":"#F0C930","--jp-yellow-30":"#DEB100","--jp-yellow-40":"#C08C00","--jp-yellow-50":"#9D6E00","--jp-yellow-60":"#7D5600","--jp-blue-20":"#68B3E8","--jp-blue-40":"#1689DB","--jp-pink":"#C9356E","--jp-green-0":"#f0f2eb","--jp-green-5":"#d0e6b8","--jp-green-10":"#9dd977","--jp-green-20":"#64ca43","--jp-green-30":"#2fb41f","--jp-green-40":"#069e08","--jp-green-50":"#008710","--jp-green-60":"#007117","--jp-green-70":"#005b18","--jp-green-80":"#004515","--jp-green-90":"#003010","--jp-green-100":"#001c09","--jp-green":"#069e08","--jp-green-primary":"var( --jp-green-40 )","--jp-green-secondary":"var( --jp-green-30 )"},l={"--jp-border-radius":"4px","--jp-menu-border-height":"1px","--jp-underline-thickness":"2px"},c={"--spacing-base":"8px"},u={},d=(e,t,r)=>{const n={...s,...i,...l,...c};for(const t in n)e.style.setProperty(t,n[t]);r&&e.classList.add(o.A.global),t&&(u[t]={provided:!0,root:e})},p=({children:e=null,targetDom:t,id:r,withGlobalStyles:o=!0})=>{const s=(0,n.useRef)(),i=u?.[r]?.provided;return(0,n.useLayoutEffect)((()=>{if(!i)return t?d(t,r,o):void(s?.current&&d(s.current,r,o))}),[t,s,i,r,o]),t?a().createElement(a().Fragment,null,e):a().createElement("div",{ref:s},e)}},3924:(e,t,r)=>{"use strict";function n(e,t={}){const r={};let n;if("undefined"!=typeof window&&(n=window?.JP_CONNECTION_INITIAL_STATE?.calypsoEnv),0===e.search("https://")){const t=new URL(e);e=`https://${t.host}${t.pathname}`,r.url=encodeURIComponent(e)}else r.source=encodeURIComponent(e);for(const e in t)r[e]=encodeURIComponent(t[e]);!Object.keys(r).includes("site")&&"undefined"!=typeof jetpack_redirects&&Object.hasOwn(jetpack_redirects,"currentSiteRawUrl")&&(r.site=jetpack_redirects.currentBlogID??jetpack_redirects.currentSiteRawUrl),n&&(r.calypso_env=n);return"https://jetpack.com/redirect/?"+Object.keys(r).map((e=>e+"="+r[e])).join("&")}r.d(t,{A:()=>n})},85985:(e,t,r)=>{"use strict";r.d(t,{$i:()=>n.A,BT:()=>i.A,Cq:()=>p.C,Dk:()=>l.Dk,FB:()=>s.A,GE:()=>a.A,GT:()=>l.GT,Q4:()=>l.Q4,Sy:()=>o.Sy,W4:()=>l.W4,aq:()=>l.aq,d9:()=>o.d9,gB:()=>c.A,pP:()=>o.pP,q7:()=>d.A,sH:()=>l.sH,sh:()=>p.s,st:()=>u.A,tu:()=>l.tu});var n=r(34972),a=r(54815),o=r(62634),s=r(60703),i=(r(82034),r(65595)),l=r(53265),c=r(49354),u=r(73489),d=r(76923),p=(r(15877),r(30335));r(88290)},15877:(e,t,r)=>{"use strict";r(51609)},30335:(e,t,r)=>{"use strict";r.d(t,{C:()=>s,s:()=>o});var n=r(86087),a=r(19334);function o(e){const t={};let r="span",a=e.icon;const o=document.createElement("div");o.innerHTML=e.icon;const s=o.querySelector("svg");return s&&(r="svg",a=s.innerHTML,Array.from(s.attributes).forEach((({nodeName:e,nodeValue:r})=>t[e]=r))),(0,n.createElement)(r,{...t,dangerouslySetInnerHTML:{__html:a||""}})}function s(e){return{src:o(e),foreground:(0,a.A)()}}},19334:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(62634);const a="#069e08";function o(){return(0,n.d9)()||(0,n.Sy)()?null:a}},34972:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});const n="Jetpack_Editor_Initial_State";function a(){return"object"==typeof window?window?.[n]??null:null}},60703:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(34972);function a(e){const t=(0,n.A)(),r=t?.available_blocks?.[e]?.available??!1,a=t?.available_blocks?.[e]?.unavailable_reason??"unknown";return{available:r,...!r&&{details:t?.available_blocks?.[e]?.details??[],unavailableReason:a}}}},54815:(e,t,r)=>{"use strict";function n(){return window&&window.Jetpack_Editor_Initial_State&&window.Jetpack_Editor_Initial_State.siteFragment?window.Jetpack_Editor_Initial_State.siteFragment:null}r.d(t,{A:()=>n})},73489:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var n=r(90372),a=r(39384),o=r(86087);const{tracks:s}=n.A,{recordEvent:i}=s,l=({pageViewEventName:e=null,pageViewNamespace:t="jetpack",pageViewSuffix:r="page_view",pageViewEventProperties:l={}}={})=>{const[c,u]=(0,o.useState)(!1),{isUserConnected:d,isRegistered:p,userConnectionData:m={}}=(0,a.useConnection)(),{wpcomUser:{login:h,ID:g}={},blogId:f}=m.currentUser||{},b=(0,o.useCallback)((async(e,t={})=>{d&&g&&h&&i(e,t)}),[d,g,h]);return(0,o.useEffect)((()=>{d&&g&&h&&f&&n.A.initialize(g,h,{blog_id:f})}),[f,g,h,d]),(0,o.useEffect)((()=>{const n=e?`${t}_${e}_${r}`:null;p&&n&&(c||(b(n,l),u(!0)))}),[c,t,e,r,p,l,b]),{recordEvent:b,tracks:s}}},76923:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(47143),a=r(86087),o=r(88290);const s=e=>{const{isModuleActive:t,isChangingStatus:r,isLoadingModules:s}=(0,n.useSelect)((t=>{const r=t(o.F);return{isModuleActive:r.isModuleActive(e),isChangingStatus:r.isModuleUpdating(e),isLoadingModules:r.areModulesLoading(e)}}),[e]),{updateJetpackModuleStatus:i}=(0,n.useDispatch)(o.F),l=(0,a.useCallback)((t=>i({name:e,active:t})),[e,i]);return(0,a.useMemo)((()=>({isLoadingModules:s,isChangingStatus:r,isModuleActive:t,changeStatus:l})),[s,r,t,l])}},49354:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(34972);function a(){return(0,n.A)()?.jetpack?.is_current_user_connected??!1}},27105:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>d,E9:()=>u});var n=r(47143),a=r(62634),o=r(94478),s=r(88290);const i="SET_JETPACK_MODULES";function l(e){return u({isLoading:e})}function c(e,t){return{type:"SET_MODULE_UPDATING",name:e,isUpdating:t}}function u(e){return{type:i,options:e}}const d={updateJetpackModuleStatus:function*(e){try{yield c(e.name,!0),yield(0,o.sB)(e);const t=yield(0,o.wz)();return yield u({data:t}),!0}catch{const e=(0,n.select)(s.F).getJetpackModules();return yield u(e),!1}finally{yield c(e.name,!1)}},setJetpackModules:u,fetchModules:function*(){if((0,a.Sy)())return!0;try{yield l(!0);const e=yield(0,o.wz)();return yield u({data:e}),!0}catch{const e=(0,n.select)(s.F).getJetpackModules();return yield u(e),!1}finally{yield l(!1)}}}},94478:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>c,sB:()=>l,wz:()=>i});var n=r(1455),a=r.n(n);const o="FETCH_JETPACK_MODULES",s="UPDATE_JETPACK_MODULE_STATUS",i=()=>({type:o}),l=e=>({type:s,settings:e}),c={[o]:function(){return a()({path:"/jetpack/v4/module/all",method:"GET"})},[s]:function({settings:e}){return a()({path:`/jetpack/v4/module/${e.name}/active`,method:"POST",data:{active:e.active}})}}},88290:(e,t,r)=>{"use strict";r.d(t,{F:()=>c});var n=r(47143),a=r(27105),o=r(94478),s=r(38862),i=r(62701),l=r(31640);const c="jetpack-modules",u=(0,n.createReduxStore)(c,{reducer:s.A,actions:a.Ay,controls:o.Ay,resolvers:i.A,selectors:l.A});(0,n.register)(u);const d=window?.Initial_State?.getModules||window?.Jetpack_Editor_Initial_State?.modules||null;null!==d&&(0,n.dispatch)(c).setJetpackModules({data:{...d}})},38862:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});const n={isLoading:!1,isUpdating:{},data:{}},a=(e=n,t)=>{switch(t.type){case"SET_JETPACK_MODULES":return{...e,...t.options};case"SET_MODULE_UPDATING":return{...e,isUpdating:{...e.isUpdating,[t.name]:t.isUpdating}}}return e}},62701:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(27105),a=r(94478);const o={getJetpackModules:function*(){try{const e=yield(0,a.wz)();if(e)return(0,n.E9)({data:e})}catch(e){console.error(e)}}}},31640:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(62634);const a={getJetpackModules:e=>e.data,isModuleActive:(e,t)=>(0,n.Sy)()||(e?.data?.[t]?.activated??!1),areModulesLoading:e=>e.isLoading??!1,isModuleUpdating:(e,t)=>e?.isUpdating?.[t]??!1}},53265:(e,t,r)=>{"use strict";r.d(t,{Dk:()=>g,GT:()=>b,Q4:()=>u,W4:()=>d,aq:()=>p,sH:()=>f,tu:()=>m});var n=r(27723),a=r(93832),o=r(66087),s=r(34972),i=r(60703),l=r(54815),c=r(62634);const __=n.__;function u({planSlug:e,plan:t,postId:r,postType:n}){const s=(0,o.startsWith)(e,"jetpack_")?e:(0,o.get)(t,["path_slug"]),i=(void 0===n?()=>{const e=new URLSearchParams(window.location.search);return(0,a.addQueryArgs)(window.location.protocol+`//${(0,l.A)().replace("::","/")}/wp-admin/site-editor.php`,{postId:e.get("postId"),postType:e.get("postType"),plan_upgraded:1})}:()=>{const e=["page","post"].includes(n)?"":"edit";return(0,c.Sy)()?(0,a.addQueryArgs)("/"+(0,o.compact)([e,n,(0,l.A)(),r]).join("/"),{plan_upgraded:1}):(0,a.addQueryArgs)(window.location.protocol+`//${(0,l.A)().replace("::","/")}/wp-admin/post.php`,{action:"edit",post:r,plan_upgraded:1})})();return(0,c.d9)()?(0,a.addQueryArgs)(`https://wordpress.com/plans/${(0,l.A)()}`,{redirect_to:i,customerType:"business"}):s&&(0,a.addQueryArgs)(`https://wordpress.com/checkout/${(0,l.A)()}/${s}`,{redirect_to:i})}function d(e){if(!e)return!1;const t=/^jetpack\//.test(e)?e.substr(8,e.length):e,{available:r,unavailableReason:n}=(0,i.A)(t);return!r&&"missing_plan"===n}function p(e,t){return"missing_plan"===e&&t.required_plan}function m(e){if(!e)return!1;const t=/^jetpack\//.test(e)?e.substr(8,e.length):e,{details:r,unavailableReason:n}=(0,i.A)(t);return p(n,r)}const h=[{name:"core/cover",mediaPlaceholder:!0,mediaReplaceFlow:!0,fileType:"video",description:__("Upgrade your plan to use video covers","jetpack")},{name:"core/audio",mediaPlaceholder:!0,mediaReplaceFlow:!0,fileType:"audio",description:__("Upgrade your plan to upload audio","jetpack")}];function g(){return(0,o.get)((0,s.A)(),"jetpack.enable_upgrade_nudge",!1)}const f=e=>(0,o.map)(h,"name").includes(e),b=e=>(0,o.head)((0,o.filter)(h,(({name:t})=>t===e)))},82034:(e,t,r)=>{"use strict";r(92279)},62634:(e,t,r)=>{"use strict";r.d(t,{Sy:()=>o,d9:()=>s,pP:()=>i});var n=r(34972);function a(){return"object"==typeof window&&"string"==typeof window._currentSiteType?window._currentSiteType:null}function o(){return"simple"===a()}function s(){return"atomic"===a()}function i(){const e=(0,n.A)();return e?.jetpack?.is_private_site??!1}},65595:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(96072),a=r.n(n),o=r(29491);const s=e=>(0,o.createHigherOrderComponent)((t=>r=>React.createElement(t,a()({},r,{className:r.name===e?"has-warning is-interactive":r.className}))),"withHasWarningIsInteractiveClassNames")},52068:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>E});var n=r(82170),a=r(96865),o=r(56427),s=r(47143),i=r(27723),l=r(90254),c=r(69457),u=r(88669),d=r(41417),p=r(57003),m=(r(51609),r(95396)),h=r(64425),g=r(47264),f=r(2162),b=r(62402);const __=i.__,k="simplify",v="make-longer",y="make-shorter",_={default:[{name:__("Correct spelling and grammar","jetpack"),key:"correct-spelling",aiSuggestion:h.yy,icon:l.A}],"core/paragraph":[{name:__("Simplify","jetpack"),key:k,aiSuggestion:h.A4,icon:c.A},{name:__("Summarize","jetpack"),key:"summarize",aiSuggestion:h.UA,icon:u.A},{name:__("Expand","jetpack"),key:v,aiSuggestion:h.br,icon:d.A},{name:__("Make shorter","jetpack"),key:y,aiSuggestion:h.fD,icon:d.A}],"core/list-item":[{name:__("Simplify","jetpack"),key:k,aiSuggestion:h.A4,icon:c.A},{name:__("Expand","jetpack"),key:v,aiSuggestion:h.br,icon:d.A},{name:__("Make shorter","jetpack"),key:y,aiSuggestion:h.fD,icon:d.A}],"core/list":m.L.includes("core/list")?[{name:__("Simplify","jetpack"),key:k,aiSuggestion:h.A4,icon:c.A},{name:__("Expand","jetpack"),key:v,aiSuggestion:h.br,icon:d.A},{name:__("Make shorter","jetpack"),key:y,aiSuggestion:h.fD,icon:d.A},{name:__("Turn list into a table","jetpack"),key:"turn-into-table",aiSuggestion:h.d5,icon:p.A,options:{alwaysTransformToAIAssistant:!0,rootParentOnly:!0}}]:[{name:__("Write a post from this list","jetpack"),key:"write-post-from-list",aiSuggestion:h.pE,icon:c.A,options:{userPrompt:"Write a post based on the list items. Include a title as first order heading and try to use secondary headings for each entry"}}]};function E({blockType:e,clientId:t,disabled:r=!1,onAskAiAssistant:i,onRequestSuggestion:l}){const c=_[e]??[],{getBlockParents:u}=(0,s.select)("core/block-editor"),d=u(t);return(0,n.createElement)(n.Fragment,null,r&&(0,n.createElement)(o.Notice,{status:"warning",isDismissible:!1,className:"jetpack-ai-assistant__info"},__("Add content to activate the tools below","jetpack")),(0,n.createElement)(o.MenuGroup,null,(0,n.createElement)(o.MenuItem,{icon:a.cj,iconPosition:"left",key:"key-ai-assistant",onClick:i,disabled:r},(0,n.createElement)("div",{className:"jetpack-ai-assistant__menu-item"},__("Ask AI Assistant","jetpack"))),[..._.default,...c].filter((e=>!(e.options?.rootParentOnly&&d.length>0))).map((e=>(0,n.createElement)(o.MenuItem,{icon:e?.icon,iconPosition:"left",key:`key-${e.key}`,onClick:()=>{l(e.aiSuggestion,{...e.options??{}},e.name)},disabled:r},(0,n.createElement)("div",{className:"jetpack-ai-assistant__menu-item"},e.name)))),(0,n.createElement)(b.hN,{onChange:e=>{l(h.eJ,{tone:e},`${b.uQ}: ${(0,g.Z)(e)}`)},disabled:r}),(0,n.createElement)(f.HU,{onChange:(e,t)=>{l(h.Gm,{language:e},`${f.u0}: ${t}`)},disabled:r})))}},32249:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(82170),a=r(3924),o=r(56427),s=r(27723);const __=s.__;const i=function(){const e=(0,a.A)("jetpack-ai-feedback");return(0,n.createElement)("div",{className:"jetpack-ai-feedback-control"},(0,n.createElement)(o.BaseControl,null,(0,n.createElement)(o.BaseControl.VisualLabel,null,__("Feedback","jetpack")),(0,n.createElement)("p",null,__("Your feedback is valuable in our commitment to refine and improve this feature.","jetpack")),(0,n.createElement)(o.ExternalLink,{href:e},__("Share your feedback","jetpack"))))}},2162:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>f,HU:()=>b,u0:()=>p});var n=r(82170),a=r(85985),o=r(56427),s=r(27723),i=r(51113),l=r(29115),c=r(84066);r(51609);const __=s.__,u=["en","es","fr","de","it","pt","ru","zh","ja","ar","hi","ko"],d=window?.Jetpack_Editor_Initial_State?.siteLocale||navigator?.language,p=__("Translate","jetpack"),m=d?.split("-")[0]||"en",h=(d?.split("-"),{en:{label:__("English","jetpack")},es:{label:__("Spanish","jetpack")},fr:{label:__("French","jetpack")},de:{label:__("German","jetpack")},it:{label:__("Italian","jetpack")},pt:{label:__("Portuguese","jetpack")},ru:{label:__("Russian","jetpack")},zh:{label:__("Chinese","jetpack")},ja:{label:__("Japanese","jetpack")},ar:{label:__("Arabic","jetpack")},hi:{label:__("Hindi","jetpack")},ko:{label:__("Korean","jetpack")}}),g=({value:e,onChange:t})=>{const r=[...u.filter((e=>e!==m))];return u.includes(m)&&r.unshift(m),(0,n.createElement)(o.MenuGroup,{label:__("Select language","jetpack")},r.map((r=>(0,n.createElement)(o.MenuItem,{key:`key-${r}`,onClick:()=>t(r+" ("+h[r].label+")",h[r].label),isSelected:e===r},h[r].label))))};function f({value:e=m,label:t=p,onChange:r,disabled:s=!1}){const{tracks:l}=(0,a.st)();return s?(0,n.createElement)(o.Tooltip,{text:t},(0,n.createElement)(o.Button,{disabled:!0},(0,n.createElement)(i.A,{icon:c.A}))):(0,n.createElement)(o.ToolbarDropdownMenu,{icon:c.A,label:t,popoverProps:{variant:"toolbar"},onToggle:e=>{e&&l.recordEvent("jetpack_ai_assistant_block_toolbar_menu_show",{tool:"i18n"})}},(()=>(0,n.createElement)(g,{value:e,onChange:r})))}function b({value:e=m,label:t=p,onChange:r,disabled:a=!1}){return(0,n.createElement)(o.DropdownMenu,{className:"ai-assistant__i18n-dropdown",icon:c.A,label:t,toggleProps:{children:(0,n.createElement)(n.Fragment,null,(0,n.createElement)("div",{className:"ai-assistant__i18n-dropdown__toggle-label"},t),(0,n.createElement)(i.A,{icon:l.A})),disabled:a}},(({onClose:t})=>(0,n.createElement)(g,{onChange:(...e)=>{r(...e),t()},value:e})))}},99050:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>c});var n=r(82170),a=r(85985),o=r(56427),s=r(27723),i=r(78938);const __=s.__,l=[{name:__("Summarize","jetpack"),key:"summarize",aiSuggestion:"summarize"},{name:__("Make longer","jetpack"),key:"make-longer",aiSuggestion:"makeLonger"},{name:__("Make shorter","jetpack"),key:"make-shorter",aiSuggestion:"makeShorter"}];function c({key:e,label:t=__("Improve","jetpack"),exclude:r=[],onChange:s,disabled:c=!1}){const{tracks:u}=(0,a.st)();return c?(0,n.createElement)(o.Tooltip,{text:t},(0,n.createElement)(o.Button,{disabled:!0},(0,n.createElement)(o.Icon,{icon:i.A}))):(0,n.createElement)(o.ToolbarDropdownMenu,{icon:i.A,label:t,popoverProps:{variant:"toolbar"},onToggle:e=>{e&&u.recordEvent("jetpack_ai_assistant_block_toolbar_menu_show",{tool:"improve"})}},(()=>{const a=l.filter((e=>!r.includes(e.key)));return(0,n.createElement)(o.MenuGroup,{label:t},a.map((t=>(0,n.createElement)(o.MenuItem,{key:`key-${t.key}`,onClick:()=>s(t.aiSuggestion,{contentType:"generated"}),isSelected:e===t.key},t.name))))}))}},33468:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>g});var n=r(82170),a=r(85985),o=r(56427),s=r(27723),i=r(78938),l=r(41417),c=r(90254),u=r(69457),d=r(88669),p=r(11269);const __=s.__,m=[{label:__("Post about…","jetpack"),description:{original:"Write a post about ",translated:__("Write a post about","jetpack")+" "}},{label:__("Informative article on…","jetpack"),description:{original:"Craft an informative article explaining ",translated:__("Craft an informative article explaining","jetpack")+" "}},{label:__("Step-by-step tutorial on…","jetpack"),description:{original:"Write a step-by-step tutorial on ",translated:__("Write a step-by-step tutorial on","jetpack")+" "}},{label:__("Motivational post on…","jetpack"),description:{original:"Create a motivational post on ",translated:__("Create a motivational post on","jetpack")+" "}}],h=[{label:__("Say it differently…","jetpack"),description:{original:"Rewrite it in a way that ",translated:__("Rewrite it in a way that","jetpack")+" "}},{label:__("Add…","jetpack"),description:{original:"Add more details about ",translated:__("Add more details about","jetpack")+" "}},{label:__("Remove…","jetpack"),description:{original:"Remove unnecessary details about ",translated:__("Remove unnecessary details about","jetpack")+" "}}];function g({hasContentBefore:e,hasContent:t,hasPostTitle:r,contentIsLoaded:s,onPromptSelect:g,onSuggestionSelect:f}){const b=__("Write with AI…","jetpack"),{tracks:k}=(0,a.st)();return(0,n.createElement)(o.ToolbarDropdownMenu,{className:"jetpack-ai-assistant__templates-control",icon:null,label:b,text:b,onToggle:e=>{e&&k.recordEvent("jetpack_ai_assistant_block_toolbar_menu_show",{tool:"write-with-ai"})}},(({onClose:a})=>s?(0,n.createElement)(o.MenuGroup,{label:__("Write…","jetpack")},h.map(((e,t)=>(0,n.createElement)(o.MenuItem,{icon:i.A,iconPosition:"left",key:`key-${t}`,onClick:()=>{a(),g(e.description)}},e.label)))):(0,n.createElement)(n.Fragment,null,e&&(0,n.createElement)(o.MenuGroup,{label:__("Based on preceding content…","jetpack")},(0,n.createElement)(o.MenuItem,{icon:l.A,iconPosition:"left",onClick:()=>f("continue")},__("Continue writing","jetpack")),(0,n.createElement)(o.MenuItem,{icon:c.A,iconPosition:"left",onClick:()=>f("correctSpelling")},__("Correct spelling and grammar","jetpack")),(0,n.createElement)(o.MenuItem,{icon:u.A,iconPosition:"left",onClick:()=>f("simplify")},__("Simplify","jetpack"))),t&&(0,n.createElement)(o.MenuGroup,{label:__("Based on entire content…","jetpack")},t&&(0,n.createElement)(o.MenuItem,{icon:d.A,iconPosition:"left",onClick:()=>f("summarize")},__("Summarize","jetpack")),t&&(0,n.createElement)(o.MenuItem,{icon:p.A,iconPosition:"left",onClick:()=>f("generateTitle")},__("Generate a post title","jetpack"))),(0,n.createElement)(o.MenuGroup,{label:__("Write…","jetpack")},r&&(0,n.createElement)(o.MenuItem,{icon:i.A,iconPosition:"left",onClick:()=>f("titleSummary")},__("Summary based on title","jetpack")),m.map(((e,t)=>(0,n.createElement)(o.MenuItem,{icon:i.A,iconPosition:"left",key:`key-${t}`,onClick:()=>{a(),g(e.description)}},e.label)))))))}},23e3:(e,t,r)=>{"use strict";r.d(t,{A:()=>k,Q:()=>b});var n=r(82170),a=r(3924),o=r(85985),s=r(56427),i=r(86087),l=r(27723),c=r(10067),u=r.n(c),d=r(56333),p=r(92169),m=r(61297),h=r(7503),g=r(93094);const __=l.__,f=u()("jetpack-ai-assistant:upgrade-prompt"),b=({variant:e="error"})=>{const t=(()=>{const{usagePeriod:e}=(0,m.A)(),t=(e=>{const t=__("You've reached this month's request limit, per our fair usage policy.","jetpack");if(!e)return t; // Translators: %s is the date when the requests will reset. const r=__("Requests will reset on %s.","jetpack");return`${t} ${(0,l.sprintf)(r,e)}`})((e=>{if(!e?.nextStart)return null;const t=new Date(e.nextStart);return t.toLocaleString("default",{month:"long"})+" "+t.getDate()})(e));return(0,i.createInterpolateElement)(t,{link:(0,n.createElement)("a",{href:"https://jetpack.com/redirect/?source=ai-assistant-fair-usage-policy",target:"_blank",rel:"noreferrer"})})})();return"muted"===e?(0,n.createElement)("span",{className:"jetpack-ai-fair-usage-notice-muted-variant"},t):"error"===e?(0,n.createElement)(s.Notice,{status:"error",isDismissible:!1,className:"jetpack-ai-fair-usage-notice"},t):null},k=e=>{const{upgradeType:t,currentTier:r}=(0,m.A)();return 1===r?.value?(0,n.createElement)(b,null):"vip"===t?(({description:e=null,useLightNudge:t=!1})=>{const r=t?g.U:d.c,a=(0,i.createInterpolateElement)(__("You've reached the Jetpack AI rate limit. Please reach out to your VIP account team.","jetpack"),{strong:(0,n.createElement)("strong",null)});return(0,n.createElement)(r,{buttonText:null,checkoutUrl:null,className:"jetpack-ai-upgrade-banner",description:e||a,goToCheckoutPage:null,isRedirecting:null,visible:!0,align:null,title:null,context:null})})({description:e.description,useLightNudge:e?.useLightNudge}):(({placement:e=null,description:t=null,useLightNudge:r=!1})=>{const s=r?g.U:d.c,{checkoutUrl:c}=(0,p.A)(),u=(0,h.C)(),{nextTier:b,tierPlansEnabled:k,currentTier:v,requestsCount:y}=(0,m.A)(),{tracks:_}=(0,o.st)(),E=(0,i.useCallback)((()=>{f("upgrade",e),_.recordEvent("jetpack_ai_upgrade_button",{current_tier_slug:v?.slug,requests_count:y,placement:e})}),[v,y,_,e]),w=(0,i.useCallback)((()=>{f("contact us",e),_.recordEvent("jetpack_ai_upgrade_contact_us",{placement:e})}),[_,e]);if(!u){const e=(0,i.createInterpolateElement)(__("Congratulations on exploring Jetpack AI and reaching the free requests limit! Reach out to the site administrator to upgrade and keep using Jetpack AI.","jetpack"),{strong:(0,n.createElement)("strong",null)});return(0,n.createElement)(s,{showButton:!1,className:"jetpack-ai-upgrade-banner",description:t||e,visible:!0,align:null,title:null,context:null})}if(k){if(!b){const e=(0,a.A)("jetpack-ai-tiers-more-requests-contact"),r=__("You have reached the request limit for your current plan.","jetpack");return(0,n.createElement)(s,{buttonText:__("Contact Us","jetpack"),description:t||r,className:"jetpack-ai-upgrade-banner",checkoutUrl:e,visible:!0,align:null,title:null,context:null,goToCheckoutPage:w,target:"_blank"})}const e=(0,i.createInterpolateElement)((0,l.sprintf)(/* Translators: number of requests */ __("You have reached the requests limit for your current plan. Upgrade now to increase your requests limit to %d.","jetpack"),b.limit),{strong:(0,n.createElement)("strong",null)});return(0,n.createElement)(s,{buttonText:(0,l.sprintf)(/* Translators: number of requests */ diff --git a/_inc/blocks/editor.asset.php b/_inc/blocks/editor.asset.php index 5bf114d139..f15a85abd1 100644 --- a/_inc/blocks/editor.asset.php +++ b/_inc/blocks/editor.asset.php @@ -1 +1 @@ - array('jetpack-connection', 'jetpack-script-data', 'lodash', 'moment', 'react', 'react-dom', 'react-jsx-runtime', 'wp-a11y', 'wp-api-fetch', 'wp-blob', 'wp-block-editor', 'wp-block-serialization-default-parser', 'wp-blocks', 'wp-commands', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-date', 'wp-dom-ready', 'wp-edit-post', 'wp-editor', 'wp-element', 'wp-escape-html', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-keycodes', 'wp-media-utils', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-rich-text', 'wp-token-list', 'wp-url', 'wp-viewport', 'wp-widgets', 'wp-wordcount'), 'version' => 'cd3584c03905771097b8'); + array('jetpack-connection', 'jetpack-script-data', 'lodash', 'moment', 'react', 'react-dom', 'react-jsx-runtime', 'wp-a11y', 'wp-api-fetch', 'wp-blob', 'wp-block-editor', 'wp-block-serialization-default-parser', 'wp-blocks', 'wp-commands', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-date', 'wp-dom-ready', 'wp-edit-post', 'wp-editor', 'wp-element', 'wp-escape-html', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-keycodes', 'wp-media-utils', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-rich-text', 'wp-token-list', 'wp-url', 'wp-viewport', 'wp-widgets', 'wp-wordcount'), 'version' => '6f15f7f89b74e6214604'); diff --git a/_inc/blocks/editor.js b/_inc/blocks/editor.js index 75046bfc56..50089892cb 100644 --- a/_inc/blocks/editor.js +++ b/_inc/blocks/editor.js @@ -11,7 +11,7 @@ const n=__("Requests will reset on %s.","jetpack");return`${t} ${(0,s.sprintf)(n __("(opens in a new tab)","jetpack"))),x=b?"_blank":void 0,j=n?.[0]&&null!==n[0]&&"components-tooltip"!==n?.[0]?.props?.className;return d().createElement(s.Button,r()({target:x,variant:a,className:(0,c.A)(_,{"has-text":!!m&&j}),icon:b?void 0:m,iconSize:h,disabled:g,"aria-disabled":g,isDestructive:f,text:y},w),v&&d().createElement(s.Spinner,null),d().createElement("span",null,n),A)}));m.displayName="Button";const h=m},69222:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var a=n(96072),r=n.n(a),s=n(29491),o=n(86087),i=n(27723),l=n(51112),c=n(78478);const __=i.__,u=({buttonStyle:e="icon",textToCopy:t,onCopy:n,...a})=>{const[i,u]=(0,o.useState)(!1),d=(0,o.useRef)(),p=(0,s.useCopyToClipboard)(t,(()=>{d.current&&clearTimeout(d.current),u(!0),n?.(),d.current=setTimeout((()=>{u(!1),d.current=void 0}),3e3)}));(0,o.useEffect)((()=>()=>{d.current&&clearTimeout(d.current)}),[]);let m=null,h=null;"text"!==e&&(m=i?React.createElement(c.Nr,null):React.createElement(c.ui,null));const g=__("Copy to clipboard","jetpack");return"icon"!==e&&(h=i?__("Copied!","jetpack"):g),React.createElement(l.A,r()({"aria-label":g,icon:m,children:h,ref:p},a))}},63406:(e,t,n)=>{"use strict";n.d(t,{I:()=>s});var a=n(47143),r=n(692);function s(){const e=(0,a.useDispatch)(r.store),t=(0,a.useSelect)((e=>e(r.store).getNotices()),[]);return{...e,createNotice:(t,n,a)=>e.createNotice(t,n,{type:"snackbar",...a}),createErrorNotice:(t,n)=>e.createErrorNotice(t,{type:"snackbar",...n}),createInfoNotice:(t,n)=>e.createInfoNotice(t,{type:"snackbar",...n}),createSuccessNotice:(t,n)=>e.createSuccessNotice(t,{type:"snackbar",...n}),createWarningNotice:(t,n)=>e.createWarningNotice(t,{type:"snackbar",...n}),getNotices:()=>t}}},11883:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var a=n(27723),r=n(13022),s=n(51609);n(4459);const __=a.__;class o extends s.Component{static defaultProps={"aria-hidden":"false",focusable:"true"};needsOffset(e,t){return["gridicons-arrow-left","gridicons-arrow-right","gridicons-calendar","gridicons-cart","gridicons-folder","gridicons-help-outline","gridicons-info","gridicons-info-outline","gridicons-posts","gridicons-star-outline","gridicons-star"].indexOf(e)>=0&&t%18==0}getSVGDescription(e){if("description"in this.props)return this.props.description;switch(e){default:return"";case"gridicons-audio":return __("Has audio.","jetpack");case"gridicons-arrow-left":return __("Arrow left","jetpack");case"gridicons-arrow-right":return __("Arrow right","jetpack");case"gridicons-calendar":return __("Is an event.","jetpack");case"gridicons-cart":return __("Is a product.","jetpack");case"chevron-down":return __("Show filters","jetpack");case"gridicons-comment":return __("Matching comment.","jetpack");case"gridicons-cross":return __("Close.","jetpack");case"gridicons-filter":return __("Toggle search filters.","jetpack");case"gridicons-folder":return __("Category","jetpack");case"gridicons-help-outline":return __("Help","jetpack");case"gridicons-info":case"gridicons-info-outline":return __("Information.","jetpack");case"gridicons-image-multiple":return __("Has multiple images.","jetpack");case"gridicons-image":return __("Has an image.","jetpack");case"gridicons-page":return __("Page","jetpack");case"gridicons-post":return __("Post","jetpack");case"gridicons-jetpack-search":case"gridicons-search":return __("Magnifying Glass","jetpack");case"gridicons-tag":return __("Tag","jetpack");case"gridicons-video":return __("Has a video.","jetpack")}}renderIcon(e){switch(e){default:return null;case"gridicons-audio":return React.createElement("g",null,React.createElement("path",{d:"M8 4v10.184C7.686 14.072 7.353 14 7 14c-1.657 0-3 1.343-3 3s1.343 3 3 3 3-1.343 3-3V7h7v4.184c-.314-.112-.647-.184-1-.184-1.657 0-3 1.343-3 3s1.343 3 3 3 3-1.343 3-3V4H8z"}));case"gridicons-arrow-left":return React.createElement("g",null,React.createElement("path",{d:"M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"}));case"gridicons-arrow-right":return React.createElement("g",null,React.createElement("path",{d:"M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8-8-8z"}));case"gridicons-block":return React.createElement("g",null,React.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zM4 12c0-4.418 3.582-8 8-8 1.848 0 3.545.633 4.9 1.686L5.686 16.9C4.633 15.545 4 13.848 4 12zm8 8c-1.848 0-3.546-.633-4.9-1.686L18.314 7.1C19.367 8.455 20 10.152 20 12c0 4.418-3.582 8-8 8z"}));case"gridicons-calendar":return React.createElement("g",null,React.createElement("path",{d:"M19 4h-1V2h-2v2H8V2H6v2H5c-1.105 0-2 .896-2 2v13c0 1.104.895 2 2 2h14c1.104 0 2-.896 2-2V6c0-1.104-.896-2-2-2zm0 15H5V8h14v11z"}));case"gridicons-cart":return React.createElement("g",null,React.createElement("path",{d:"M9 20c0 1.1-.9 2-2 2s-1.99-.9-1.99-2S5.9 18 7 18s2 .9 2 2zm8-2c-1.1 0-1.99.9-1.99 2s.89 2 1.99 2 2-.9 2-2-.9-2-2-2zm.396-5c.937 0 1.75-.65 1.952-1.566L21 5H7V4c0-1.105-.895-2-2-2H3v2h2v11c0 1.105.895 2 2 2h12c0-1.105-.895-2-2-2H7v-2h10.396z"}));case"gridicons-checkmark":return React.createElement("g",null,React.createElement("path",{d:"M11 17.768l-4.884-4.884 1.768-1.768L11 14.232l8.658-8.658C17.823 3.39 15.075 2 12 2 6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10c0-1.528-.353-2.97-.966-4.266L11 17.768z"}));case"gridicons-chevron-left":return React.createElement("g",null,React.createElement("path",{d:"M16.443 7.41L15.0399 6L9.06934 12L15.0399 18L16.443 16.59L11.8855 12L16.443 7.41Z"}));case"gridicons-chevron-right":return React.createElement("g",null,React.createElement("path",{d:"M10.2366 6L8.8335 7.41L13.391 12L8.8335 16.59L10.2366 18L16.2072 12L10.2366 6Z"}));case"gridicons-chevron-down":return React.createElement("g",null,React.createElement("path",{d:"M20 9l-8 8-8-8 1.414-1.414L12 14.172l6.586-6.586"}));case"gridicons-comment":return React.createElement("g",null,React.createElement("path",{d:"M3 6v9c0 1.105.895 2 2 2h9v5l5.325-3.804c1.05-.75 1.675-1.963 1.675-3.254V6c0-1.105-.895-2-2-2H5c-1.105 0-2 .895-2 2z"}));case"gridicons-computer":return React.createElement("g",null,React.createElement("path",{d:"M20 2H4c-1.104 0-2 .896-2 2v12c0 1.104.896 2 2 2h6v2H7v2h10v-2h-3v-2h6c1.104 0 2-.896 2-2V4c0-1.104-.896-2-2-2zm0 14H4V4h16v12z"}));case"gridicons-cross":return React.createElement("g",null,React.createElement("path",{d:"M18.36 19.78L12 13.41l-6.36 6.37-1.42-1.42L10.59 12 4.22 5.64l1.42-1.42L12 10.59l6.36-6.36 1.41 1.41L13.41 12l6.36 6.36z"}));case"gridicons-filter":return React.createElement("g",null,React.createElement("path",{d:"M10 19h4v-2h-4v2zm-4-6h12v-2H6v2zM3 5v2h18V5H3z"}));case"gridicons-folder":return React.createElement("g",null,React.createElement("path",{d:"M18 19H6c-1.1 0-2-.9-2-2V7c0-1.1.9-2 2-2h3c1.1 0 2 .9 2 2h7c1.1 0 2 .9 2 2v8c0 1.1-.9 2-2 2z"}));case"gridicons-help-outline":return React.createElement("g",null,React.createElement("path",{d:"M12 4c4.41 0 8 3.59 8 8s-3.59 8-8 8-8-3.59-8-8 3.59-8 8-8m0-2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm1 13h-2v2h2v-2zm-1.962-2v-.528c0-.4.082-.74.246-1.017.163-.276.454-.546.87-.808.333-.21.572-.397.717-.565.146-.168.22-.36.22-.577 0-.172-.078-.308-.234-.41-.156-.1-.358-.15-.608-.15-.62 0-1.34.22-2.168.658l-.854-1.67c1.02-.58 2.084-.872 3.194-.872.913 0 1.63.202 2.15.603.52.4.78.948.78 1.64 0 .495-.116.924-.347 1.287-.23.362-.6.705-1.11 1.03-.43.278-.7.48-.807.61-.108.13-.163.282-.163.458V13h-1.885z"}));case"gridicons-image":return React.createElement("g",null,React.createElement("path",{d:"M13 9.5c0-.828.672-1.5 1.5-1.5s1.5.672 1.5 1.5-.672 1.5-1.5 1.5-1.5-.672-1.5-1.5zM22 6v12c0 1.105-.895 2-2 2H4c-1.105 0-2-.895-2-2V6c0-1.105.895-2 2-2h16c1.105 0 2 .895 2 2zm-2 0H4v7.444L8 9l5.895 6.55 1.587-1.85c.798-.932 2.24-.932 3.037 0L20 15.426V6z"}));case"gridicons-image-multiple":return React.createElement("g",null,React.createElement("path",{d:"M15 7.5c0-.828.672-1.5 1.5-1.5s1.5.672 1.5 1.5S17.328 9 16.5 9 15 8.328 15 7.5zM4 20h14c0 1.105-.895 2-2 2H4c-1.1 0-2-.9-2-2V8c0-1.105.895-2 2-2v14zM22 4v12c0 1.105-.895 2-2 2H8c-1.105 0-2-.895-2-2V4c0-1.105.895-2 2-2h12c1.105 0 2 .895 2 2zM8 4v6.333L11 7l4.855 5.395.656-.73c.796-.886 2.183-.886 2.977 0l.513.57V4H8z"}));case"gridicons-info":return React.createElement("g",null,React.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z"}));case"gridicons-info-outline":return React.createElement("g",null,React.createElement("path",{d:"M13 9h-2V7h2v2zm0 2h-2v6h2v-6zm-1-7c-4.411 0-8 3.589-8 8s3.589 8 8 8 8-3.589 8-8-3.589-8-8-8m0-2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2z"}));case"gridicons-jetpack-search":return React.createElement("g",null,React.createElement("path",{d:"M0 9.257C0 4.15 4.151 0 9.257 0c5.105 0 9.256 4.151 9.256 9.257a9.218 9.218 0 01-2.251 6.045l.034.033h1.053L24 22.01l-1.986 1.989-6.664-6.662v-1.055l-.033-.033a9.218 9.218 0 01-6.06 2.264C4.15 18.513 0 14.362 0 9.257zm4.169 1.537h4.61V1.82l-4.61 8.973zm5.547-3.092v8.974l4.61-8.974h-4.61z"}));case"gridicons-phone":return React.createElement("g",null,React.createElement("path",{d:"M16 2H8c-1.104 0-2 .896-2 2v16c0 1.104.896 2 2 2h8c1.104 0 2-.896 2-2V4c0-1.104-.896-2-2-2zm-3 19h-2v-1h2v1zm3-2H8V5h8v14z"}));case"gridicons-pages":return React.createElement("g",null,React.createElement("path",{d:"M16 8H8V6h8v2zm0 2H8v2h8v-2zm4-6v12l-6 6H6c-1.105 0-2-.895-2-2V4c0-1.105.895-2 2-2h12c1.105 0 2 .895 2 2zm-2 10V4H6v16h6v-4c0-1.105.895-2 2-2h4z"}));case"gridicons-posts":return React.createElement("g",null,React.createElement("path",{d:"M16 19H3v-2h13v2zm5-10H3v2h18V9zM3 5v2h11V5H3zm14 0v2h4V5h-4zm-6 8v2h10v-2H11zm-8 0v2h5v-2H3z"}));case"gridicons-search":return React.createElement("g",null,React.createElement("path",{d:"M21 19l-5.154-5.154C16.574 12.742 17 11.42 17 10c0-3.866-3.134-7-7-7s-7 3.134-7 7 3.134 7 7 7c1.42 0 2.742-.426 3.846-1.154L19 21l2-2zM5 10c0-2.757 2.243-5 5-5s5 2.243 5 5-2.243 5-5 5-5-2.243-5-5z"}));case"gridicons-star-outline":return React.createElement("g",null,React.createElement("path",{d:"M12 6.308l1.176 3.167.347.936.997.042 3.374.14-2.647 2.09-.784.62.27.963.91 3.25-2.813-1.872-.83-.553-.83.552-2.814 1.87.91-3.248.27-.962-.783-.62-2.648-2.092 3.374-.14.996-.04.347-.936L12 6.308M12 2L9.418 8.953 2 9.257l5.822 4.602L5.82 21 12 16.89 18.18 21l-2.002-7.14L22 9.256l-7.418-.305L12 2z"}));case"gridicons-star":return React.createElement("g",null,React.createElement("path",{d:"M12 2l2.582 6.953L22 9.257l-5.822 4.602L18.18 21 12 16.89 5.82 21l2.002-7.14L2 9.256l7.418-.304"}));case"gridicons-tag":return React.createElement("g",null,React.createElement("path",{d:"M20 2.007h-7.087c-.53 0-1.04.21-1.414.586L2.592 11.5c-.78.78-.78 2.046 0 2.827l7.086 7.086c.78.78 2.046.78 2.827 0l8.906-8.906c.376-.374.587-.883.587-1.413V4.007c0-1.105-.895-2-2-2zM17.007 9c-1.105 0-2-.895-2-2s.895-2 2-2 2 .895 2 2-.895 2-2 2z"}));case"gridicons-video":return React.createElement("g",null,React.createElement("path",{d:"M20 4v2h-2V4H6v2H4V4c-1.105 0-2 .895-2 2v12c0 1.105.895 2 2 2v-2h2v2h12v-2h2v2c1.105 0 2-.895 2-2V6c0-1.105-.895-2-2-2zM6 16H4v-3h2v3zm0-5H4V8h2v3zm4 4V9l4.5 3-4.5 3zm10 1h-2v-3h2v3zm0-5h-2V8h2v3z"}));case"gridicons-lock":return React.createElement(React.Fragment,null,React.createElement("g",{id:"lock"},React.createElement("path",{d:"M18,8h-1V7c0-2.757-2.243-5-5-5S7,4.243,7,7v1H6c-1.105,0-2,0.895-2,2v10c0,1.105,0.895,2,2,2h12c1.105,0,2-0.895,2-2V10 C20,8.895,19.105,8,18,8z M9,7c0-1.654,1.346-3,3-3s3,1.346,3,3v1H9V7z M13,15.723V18h-2v-2.277c-0.595-0.346-1-0.984-1-1.723 c0-1.105,0.895-2,2-2s2,0.895,2,2C14,14.738,13.595,15.376,13,15.723z"})),React.createElement("g",{id:"Layer_1"}));case"gridicons-external":return React.createElement("g",null,React.createElement("path",{d:"M19 13v6c0 1.105-.895 2-2 2H5c-1.105 0-2-.895-2-2V7c0-1.105.895-2 2-2h6v2H5v12h12v-6h2zM13 3v2h4.586l-7.793 7.793 1.414 1.414L19 6.414V11h2V3h-8z"}))}}render(){const{size:e=24,className:t=""}=this.props,n=this.props.height||e,a=this.props.width||e,s=this.props.style||{height:n,width:a},o="gridicons-"+this.props.icon,i=(0,r.A)("gridicon",o,t,{"needs-offset":this.needsOffset(o,e)}),l=this.getSVGDescription(o);return React.createElement("svg",{className:i,focusable:this.props.focusable,height:n,onClick:this.props.onClick,style:s,viewBox:"0 0 24 24",width:a,xmlns:"http://www.w3.org/2000/svg","aria-hidden":this.props["aria-hidden"]},l?React.createElement("desc",null,l):null,this.renderIcon(o))}}const i=o},40597:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var a=n(56427),r=n(13022),s=n(51609),o=n.n(s),i=n(51112),l=n(11883);n(84813);const c=e=>({"top-end":"top left",top:"top center","top-start":"top right","bottom-end":"bottom left",bottom:"bottom center","bottom-start":"bottom right"}[e]),u=({className:e="",iconClassName:t="",placement:n="bottom-end",animate:u=!0,iconCode:d="info-outline",iconSize:p=18,offset:m=10,title:h,children:g,popoverAnchorStyle:f="icon",forceShow:v=!1,hoverShow:b=!1,wide:k=!1,inline:y=!0,shift:E=!1})=>{const[w,_]=(0,s.useState)(!1),[C,A]=(0,s.useState)(null),x=(0,s.useCallback)((()=>_(!1)),[_]),j=(0,s.useCallback)((e=>{e.preventDefault(),_(!w)}),[w,_]),S={position:c(n),placement:n,animate:u,noArrow:!1,resize:!1,flip:!1,offset:m,focusOnMount:"container",onClose:x,className:"icon-tooltip-container",inline:y,shift:E},N="wrapper"===f,R=(0,r.A)("icon-tooltip-wrapper",e),P={left:N?0:-(62-p/2)+"px"},L=N&&v,T=(0,s.useCallback)((()=>{b&&(C&&(clearTimeout(C),A(null)),_(!0))}),[b,C]),B=(0,s.useCallback)((()=>{if(b){const e=setTimeout((()=>{_(!1),A(null)}),100);A(e)}}),[b]);return o().createElement("div",{className:R,"data-testid":"icon-tooltip_wrapper",onMouseEnter:T,onMouseLeave:B},!N&&o().createElement(i.A,{variant:"link",onMouseDown:j},o().createElement(l.A,{className:t,icon:d,size:p})),o().createElement("div",{className:(0,r.A)("icon-tooltip-helper",{"is-wide":k}),style:P},(L||w)&&o().createElement(a.Popover,S,o().createElement("div",null,h&&o().createElement("div",{className:"icon-tooltip-title"},h),o().createElement("div",{className:"icon-tooltip-content"},g)))))}},78478:(e,t,n)=>{"use strict";n.d(t,{M5:()=>p,Nr:()=>u,ui:()=>d});var a=n(96072),r=n.n(a),s=n(56427),o=n(13022),i=n(84705),l=n(47842);const c=({className:e,size:t=24,viewBox:n="0 0 24 24",opacity:a=1,color:i="#2C3338",children:c})=>{const u={className:(0,o.A)(l.A.iconWrapper,e),width:t,height:t,viewBox:n,opacity:a,fill:void 0};return i&&(u.fill=i),React.createElement(s.SVG,r()({},u,{fillRule:"evenodd",clipRule:"evenodd",xmlns:"http://www.w3.org/2000/svg"}),React.createElement(s.G,{opacity:a},c))},u=({size:e,className:t=l.A["checkmark-icon"],color:n})=>React.createElement(c,{className:t,size:e,color:n},React.createElement(s.Path,{d:"M11 17.768l-4.884-4.884 1.768-1.768L11 14.232l8.658-8.658C17.823 3.39 15.075 2 12 2 6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10c0-1.528-.353-2.97-.966-4.266L11 17.768z"})),d=({size:e,className:t=l.A["clipboard-icon"],color:n})=>React.createElement(c,{className:t,size:e,color:n},React.createElement(s.Path,{d:"M5.625 5.5H15.375C15.444 5.5 15.5 5.55596 15.5 5.625V15.375C15.5 15.444 15.444 15.5 15.375 15.5H5.625C5.55596 15.5 5.5 15.444 5.5 15.375V5.625C5.5 5.55596 5.55596 5.5 5.625 5.5ZM4 5.625C4 4.72754 4.72754 4 5.625 4H15.375C16.2725 4 17 4.72754 17 5.625V10V15.375C17 16.2725 16.2725 17 15.375 17C15.375 17 6.52246 17 5.625 17C4.72754 17 4 16.2725 4 15.375V5.625ZM18.5 17.2812V8.28125H20V17.2812C20 18.7995 18.7704 20 17.2511 20H6.25V18.5H17.2511C17.9409 18.5 18.5 17.9721 18.5 17.2812Z"}));const p=({serviceName:e,className:t,iconSize:n})=>React.createElement(i.Ay,{className:(0,o.A)(l.A.socialIcon,l.A[e],t),icon:e,size:n||24})},67142:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var a=n(96072),r=n.n(a),s=n(27723),o=n(13022),i=n(51609),l=n.n(i);const __=s.__,c=({logoColor:e="#069e08",showText:t=!0,className:n,height:a=32,...s})=>{const i=t?"0 0 118 32":"0 0 32 32";return l().createElement("svg",r()({xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:i,className:(0,o.A)("jetpack-logo",n),"aria-labelledby":"jetpack-logo-title",height:a},s,{role:"img"}),l().createElement("title",{id:"jetpack-logo-title"},__("Jetpack Logo","jetpack")),l().createElement("path",{fill:e,d:"M16,0C7.2,0,0,7.2,0,16s7.2,16,16,16s16-7.2,16-16S24.8,0,16,0z M15,19H7l8-16V19z M17,29V13h8L17,29z"}),t&&l().createElement(l().Fragment,null,l().createElement("path",{d:"M41.3,26.6c-0.5-0.7-0.9-1.4-1.3-2.1c2.3-1.4,3-2.5,3-4.6V8h-3V6h6v13.4C46,22.8,45,24.8,41.3,26.6z"}),l().createElement("path",{d:"M65,18.4c0,1.1,0.8,1.3,1.4,1.3c0.5,0,2-0.2,2.6-0.4v2.1c-0.9,0.3-2.5,0.5-3.7,0.5c-1.5,0-3.2-0.5-3.2-3.1V12H60v-2h2.1V7.1 H65V10h4v2h-4V18.4z"}),l().createElement("path",{d:"M71,10h3v1.3c1.1-0.8,1.9-1.3,3.3-1.3c2.5,0,4.5,1.8,4.5,5.6s-2.2,6.3-5.8,6.3c-0.9,0-1.3-0.1-2-0.3V28h-3V10z M76.5,12.3 c-0.8,0-1.6,0.4-2.5,1.2v5.9c0.6,0.1,0.9,0.2,1.8,0.2c2,0,3.2-1.3,3.2-3.9C79,13.4,78.1,12.3,76.5,12.3z"}),l().createElement("path",{d:"M93,22h-3v-1.5c-0.9,0.7-1.9,1.5-3.5,1.5c-1.5,0-3.1-1.1-3.1-3.2c0-2.9,2.5-3.4,4.2-3.7l2.4-0.3v-0.3c0-1.5-0.5-2.3-2-2.3 c-0.7,0-2.3,0.5-3.7,1.1L84,11c1.2-0.4,3-1,4.4-1c2.7,0,4.6,1.4,4.6,4.7L93,22z M90,16.4l-2.2,0.4c-0.7,0.1-1.4,0.5-1.4,1.6 c0,0.9,0.5,1.4,1.3,1.4s1.5-0.5,2.3-1V16.4z"}),l().createElement("path",{d:"M104.5,21.3c-1.1,0.4-2.2,0.6-3.5,0.6c-4.2,0-5.9-2.4-5.9-5.9c0-3.7,2.3-6,6.1-6c1.4,0,2.3,0.2,3.2,0.5V13 c-0.8-0.3-2-0.6-3.2-0.6c-1.7,0-3.2,0.9-3.2,3.6c0,2.9,1.5,3.8,3.3,3.8c0.9,0,1.9-0.2,3.2-0.7V21.3z"}),l().createElement("path",{d:"M110,15.2c0.2-0.3,0.2-0.8,3.8-5.2h3.7l-4.6,5.7l5,6.3h-3.7l-4.2-5.8V22h-3V6h3V15.2z"}),l().createElement("path",{d:"M58.5,21.3c-1.5,0.5-2.7,0.6-4.2,0.6c-3.6,0-5.8-1.8-5.8-6c0-3.1,1.9-5.9,5.5-5.9s4.9,2.5,4.9,4.9c0,0.8,0,1.5-0.1,2h-7.3 c0.1,2.5,1.5,2.8,3.6,2.8c1.1,0,2.2-0.3,3.4-0.7C58.5,19,58.5,21.3,58.5,21.3z M56,15c0-1.4-0.5-2.9-2-2.9c-1.4,0-2.3,1.3-2.4,2.9 C51.6,15,56,15,56,15z"})))}},60442:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var a=n(29491),r=n(59053);const s=["sm","md","lg"],o=(e,t)=>{const n=Array.isArray(e)?e:[e],o=Array.isArray(t)?t:[t],[i,l,c]=s,u={sm:(0,a.useMediaQuery)(r.A[i]),md:(0,a.useMediaQuery)(r.A[l]),lg:(0,a.useMediaQuery)(r.A[c])};return n.map(((e,t)=>{const n=o[t];return n?((e,t,n)=>{const a=s.indexOf(e),r=a+1,o=t.includes("=");let i=[];return t.startsWith("<")&&(i=s.slice(0,o?r:a)),t.startsWith(">")&&(i=s.slice(o?a:r)),i?.length?i.some((e=>n[e])):n[e]})(e,n,u):u[e]}))}},11876:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var a=n(13022),r=n(51609),s=n.n(r),o=n(47876);const i=({children:e=null,width:t=null,height:n=null,className:r=""})=>s().createElement("div",{className:(0,a.A)(o.A.placeholder,r),style:{width:t,height:n}},e)},47656:(e,t,n)=>{"use strict";n.d(t,{A:()=>m});var a=n(90311),r=n(19783),s=n(83883),o=n(51113),i=n(10991),l=n(13022),c=n(51609),u=n.n(c),d=n(16024);const p=e=>{switch(e){case"error":case"warning":default:return a.A;case"info":return r.A;case"success":return s.A}},m=({level:e="info",title:t,children:n,actions:a,hideCloseButton:r=!1,onClose:s})=>{const c=(0,l.A)(d.A.container,d.A[`is-${e}`]);return u().createElement("div",{className:c},u().createElement("div",{className:d.A["icon-wrapper"]},u().createElement(o.A,{icon:p(e),className:d.A.icon})),u().createElement("div",{className:d.A["main-content"]},t&&u().createElement("div",{className:d.A.title},t),n,a&&a.length>0&&u().createElement("div",{className:d.A["action-bar"]},a.map(((e,t)=>u().createElement("div",{key:t,className:d.A.action},e))))),!r&&u().createElement("button",{"aria-label":"close",className:d.A["close-button"],onClick:s},u().createElement(o.A,{icon:i.A})))}},37975:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});var a=n(51437);const r=(e,t={})=>{const n=(0,a.Y)();return new Intl.NumberFormat(n,t).format(e)}},36281:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});var a=n(21782);const r=({value:e="https://jetpack.com",bgColor:t,fgColor:n,level:r,includeMargin:s,imageSettings:o,renderAs:i="canvas",size:l=248})=>React.createElement(a.Ay,{value:e,size:l,bgColor:t,fgColor:n,level:r,includeMargin:s,imageSettings:o,renderAs:i})},56461:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var a=n(28120),r=n.n(a),s=n(51609),o=n.n(s);n(85335);const i=({color:e="#FFFFFF",className:t="",size:n=20})=>{const a=t+" jp-components-spinner",r={width:n,height:n,fontSize:n,borderTopColor:e},s={borderTopColor:e,borderRightColor:e};return o().createElement("div",{className:a},o().createElement("div",{className:"jp-components-spinner__outer",style:r},o().createElement("div",{className:"jp-components-spinner__inner",style:s})))};i.propTypes={color:r().string,className:r().string,size:r().number};const l=i},10110:(e,t,n)=>{"use strict";n.d(t,{Q:()=>a,Z:()=>r});const a={"headline-medium":"h1","headline-small":"h2","headline-small-regular":"h2","title-medium":"h3","title-medium-semi-bold":"h3","title-small":"h4",body:"p","body-small":"p","body-extra-small":"p","body-extra-small-bold":"p",label:"p"},r=["mt","mr","mb","ml","mx","my","m","pt","pr","pb","pl","px","py","p"]},47425:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>d});var a=n(96072),r=n.n(a),s=n(13022),o=n(51609),i=n.n(o),l=n(10110),c=n(22073);const u=(0,o.forwardRef)((({variant:e="body",children:t,component:n,className:a,...u},d)=>{const p=n||l.Q[e]||"span",m=(0,o.useMemo)((()=>l.Z.reduce(((e,t)=>(void 0!==u[t]&&(e+=c.A[`${t}-${u[t]}`]+" ",delete u[t]),e)),"")),[u]);return i().createElement(p,r()({className:(0,s.A)(c.A.reset,c.A[e],a,m)},u,{ref:d}),t)}));u.displayName="Text";const d=u},50723:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>p});var a=n(51609),r=n.n(a),s=n(25196);const o={"--font-headline-medium":"48px","--font-headline-small":"36px","--font-title-medium":"24px","--font-title-small":"20px","--font-body":"16px","--font-body-small":"14px","--font-body-extra-small":"12px","--font-title-large":"var(--font-headline-small)","--font-label":"var(--font-body-extra-small)"},i={"--jp-black":"#000000","--jp-black-80":"#2c3338","--jp-white":"#ffffff","--jp-white-off":"#f9f9f6","--jp-gray":"#dcdcde","--jp-gray-0":"#F6F7F7","--jp-gray-5":"var(--jp-gray)","--jp-gray-10":"#C3C4C7","--jp-gray-20":"#A7AAAD","--jp-gray-40":"#787C82","--jp-gray-50":"#646970","--jp-gray-60":"#50575E","--jp-gray-70":"#3C434A","--jp-gray-80":"#2C3338","--jp-gray-90":"#1d2327","--jp-gray-off":"#e2e2df","--jp-red-0":"#F7EBEC","--jp-red-5":"#FACFD2","--jp-red-40":"#E65054","--jp-red-50":"#D63638","--jp-red-60":"#B32D2E","--jp-red-70":"#8A2424","--jp-red-80":"#691C1C","--jp-red":"#d63639","--jp-yellow-5":"#F5E6B3","--jp-yellow-10":"#F2CF75","--jp-yellow-20":"#F0C930","--jp-yellow-30":"#DEB100","--jp-yellow-40":"#C08C00","--jp-yellow-50":"#9D6E00","--jp-yellow-60":"#7D5600","--jp-blue-20":"#68B3E8","--jp-blue-40":"#1689DB","--jp-pink":"#C9356E","--jp-green-0":"#f0f2eb","--jp-green-5":"#d0e6b8","--jp-green-10":"#9dd977","--jp-green-20":"#64ca43","--jp-green-30":"#2fb41f","--jp-green-40":"#069e08","--jp-green-50":"#008710","--jp-green-60":"#007117","--jp-green-70":"#005b18","--jp-green-80":"#004515","--jp-green-90":"#003010","--jp-green-100":"#001c09","--jp-green":"#069e08","--jp-green-primary":"var( --jp-green-40 )","--jp-green-secondary":"var( --jp-green-30 )"},l={"--jp-border-radius":"4px","--jp-menu-border-height":"1px","--jp-underline-thickness":"2px"},c={"--spacing-base":"8px"},u={},d=(e,t,n)=>{const a={...o,...i,...l,...c};for(const t in a)e.style.setProperty(t,a[t]);n&&e.classList.add(s.A.global),t&&(u[t]={provided:!0,root:e})},p=({children:e=null,targetDom:t,id:n,withGlobalStyles:s=!0})=>{const o=(0,a.useRef)(),i=u?.[n]?.provided;return(0,a.useLayoutEffect)((()=>{if(!i)return t?d(t,n,s):void(o?.current&&d(o.current,n,s))}),[t,o,i,n,s]),t?r().createElement(r().Fragment,null,e):r().createElement("div",{ref:o},e)}},51437:(e,t,n)=>{"use strict";n.d(t,{Y:()=>r});var a=n(38443);const r=()=>{const{l10n:{locale:e}}=(0,a.getSettings)();if(e)return(e=>{const t=e.match(/^([a-z]{2,3})(_[a-z]{2}|_[a-z][a-z0-9]{4,7})?(?:_.*)?$/i);return t?`${t[1]}${t[2]?t[2]:""}`.replace("_","-"):"en-US"})(e);return window?.window?.navigator?.language??"en-US"}},3924:(e,t,n)=>{"use strict";function a(e,t={}){const n={};let a;if("undefined"!=typeof window&&(a=window?.JP_CONNECTION_INITIAL_STATE?.calypsoEnv),0===e.search("https://")){const t=new URL(e);e=`https://${t.host}${t.pathname}`,n.url=encodeURIComponent(e)}else n.source=encodeURIComponent(e);for(const e in t)n[e]=encodeURIComponent(t[e]);!Object.keys(n).includes("site")&&"undefined"!=typeof jetpack_redirects&&Object.hasOwn(jetpack_redirects,"currentSiteRawUrl")&&(n.site=jetpack_redirects.currentBlogID??jetpack_redirects.currentSiteRawUrl),a&&(n.calypso_env=a);return"https://jetpack.com/redirect/?"+Object.keys(n).map((e=>e+"="+n[e])).join("&")}n.d(t,{A:()=>a})},7162:(e,t,n)=>{"use strict";n.d(t,{GlobalModals:()=>m.m,PostPublishPanels:()=>i.A,PublicizePanel:()=>o.A,SocialImageGeneratorPanel:()=>s.A,SocialPreviewsModal:()=>a.A,SocialPreviewsPanel:()=>r.A,getSocialScriptData:()=>u.getSocialScriptData,usePostCanUseSig:()=>p.e,usePublicizeConfig:()=>c.A,useSocialMediaConnections:()=>l.A,useSyncPostDataToStore:()=>d.F});n(31963),n(10267),n(70925);var a=n(81115),r=n(97192),s=n(29341),o=(n(12226),n(98725),n(29761),n(66561)),i=(n(25300),n(26029)),l=(n(26637),n(7610),n(50001)),c=(n(39553),n(77627)),u=(n(31873),n(70407));n.o(u,"GlobalModals")&&n.d(t,{GlobalModals:function(){return u.GlobalModals}}),n.o(u,"usePostCanUseSig")&&n.d(t,{usePostCanUseSig:function(){return u.usePostCanUseSig}}),n.o(u,"useSyncPostDataToStore")&&n.d(t,{useSyncPostDataToStore:function(){return u.useSyncPostDataToStore}});n(1101);var d=n(75168),p=(n(49036),n(383),n(38656)),m=(n(49192),n(48222),n(51371),n(50646),n(47453))},12141:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var a=n(78478),r=n(86087),s=n(13022),o=n(28120),i=n.n(o);const l=e=>{const{checked:t,serviceName:n,label:o,onClick:i,profilePicture:l}=e,[c,u]=(0,r.useState)(!!l),d=(0,r.useCallback)((()=>u(!1)),[]),p=(0,r.useCallback)((e=>{13===e.keyCode&&i()}),[i]);return React.createElement("div",{onClick:i,onKeyDown:p,role:"switch","aria-checked":t,tabIndex:"0",className:(0,s.A)("components-connection-icon",{"components-connection-icon__picture":c})},c&&React.createElement("img",{src:l,alt:o,onError:d}),React.createElement(a.M5,{alt:o,serviceName:"instagram-business"===n?"instagram":"twitter"===n?"x":n,className:"jetpack-publicize-gutenberg-social-icon"}))};l.propTypes={serviceName:i().string,label:i().string,profilePicture:i().string};const c=l},55488:(e,t,n)=>{"use strict";n(56427),n(27723),n(51609),n(12141),n(27817),n(86158),n(43119),n(52683),n(85605)},27817:(e,t,n)=>{"use strict";n.d(t,{s:()=>l});var a=n(56427),r=n(47143),s=n(27723),o=n(31963),i=n(85605);const __=s.__;function l({connection:e}){const t=(0,r.useSelect)((t=>t(o.M_).getUpdatingConnections().includes(e.connection_id)),[e.connection_id]);return React.createElement("div",{className:i.A["connection-name"]},e.profile_link?React.createElement(a.ExternalLink,{className:i.A["profile-link"],href:e.profile_link},e.display_name||e.external_display||e.external_name):React.createElement("span",{className:i.A["profile-link"]},e.display_name||e.external_name),t?React.createElement(a.Spinner,{color:"black","aria-label":__("Updating account","jetpack")}):null)}},86158:(e,t,n)=>{"use strict";n.d(t,{v:()=>c});var a=n(3924),r=n(56427),s=n(86087),o=n(27723),i=n(43119),l=n(76046);const __=o.__;function c({connection:e,service:t}){return"broken"!==e.status?null:React.createElement("div",null,React.createElement("span",{className:"description"},t?__("There is an issue with this connection.","jetpack"):(0,s.createInterpolateElement)((0,o.sprintf)("%1$s %2$s",__("This platform is no longer supported.","jetpack"),__("You can use our Manual Sharing feature instead.","jetpack")),{link:React.createElement(r.ExternalLink,{href:(0,a.A)("jetpack-social-manual-sharing-help")})}))," ",t?React.createElement(l.C,{connection:e,service:t}):React.createElement(i.V,{connection:e,variant:"link",isDestructive:!1}))}},43119:(e,t,n)=>{"use strict";n.d(t,{V:()=>u});var a=n(51112),r=n(56427),s=n(47143),o=n(86087),i=n(27723),l=n(31963),c=n(85605);const __=i.__,_x=i._x;function u({connection:e,variant:t="secondary",isDestructive:n=!0,buttonClassName:u}){const[d,p]=(0,o.useReducer)((e=>!e),!1),{deleteConnectionById:m}=(0,s.useDispatch)(l.M_),{isDisconnecting:h}=(0,s.useSelect)((t=>{const{getDeletingConnections:n}=t(l.M_);return{isDisconnecting:n().includes(e.connection_id)}}),[e.connection_id]),g=(0,o.useCallback)((async()=>{p(),await m({connectionId:e.connection_id})}),[e.connection_id,m]);return e.can_disconnect?React.createElement(React.Fragment,null,React.createElement(r.__experimentalConfirmDialog,{className:c.A.confirmDialog,isOpen:d,onConfirm:g,onCancel:p,cancelButtonText:__("Cancel","jetpack"),confirmButtonText:__("Yes","jetpack")},(0,o.createInterpolateElement)((0,i.sprintf)( // translators: %s: The name of the connection the user is disconnecting. __("Are you sure you want to disconnect %s?","jetpack"),e.display_name),{strong:React.createElement("strong",null)})),React.createElement(a.A,{size:"small",onClick:p,disabled:h,variant:t,isDestructive:n,className:u},h?__("Disconnecting…","jetpack"):_x("Disconnect","Disconnect a social media account","jetpack"))):null}},26637:(e,t,n)=>{"use strict";n(56427),n(47143),n(86087),n(27723),n(50001),n(31963),n(48222),n(48712),n(55488),n(85605)},52683:(e,t,n)=>{"use strict";n.d(t,{j:()=>l});var a=n(56427),r=n(47143),s=n(86087),o=n(27723),i=n(31963);const __=o.__;function l({connection:e}){const{updateConnectionById:t}=(0,r.useDispatch)(i.M_),{isUpdating:n}=(0,r.useSelect)((t=>{const{getUpdatingConnections:n}=t(i.M_);return{isUpdating:n().includes(e.connection_id)}}),[e.connection_id]),o=(0,s.useCallback)((n=>{t(e.connection_id,{shared:n})}),[e.connection_id,t]);return React.createElement(a.CheckboxControl,{checked:e.shared??!1,onChange:o,disabled:n||"broken"===e.status,label:__("Mark the connection as shared","jetpack"),__nextHasNoMarginBottom:!0})}},76046:(e,t,n)=>{"use strict";n.d(t,{C:()=>c});var a=n(51112),r=n(47143),s=n(86087),o=n(27723),i=n(31963),l=n(70745);const __=o.__,_x=o._x;function c({connection:e,service:t,variant:n="link"}){const{deleteConnectionById:o,setKeyringResult:c,openConnectionsModal:u,setReconnectingAccount:d}=(0,r.useDispatch)(i.M_),{isDisconnecting:p}=(0,r.useSelect)((t=>{const{getDeletingConnections:n}=t(i.M_);return{isDisconnecting:n().includes(e.connection_id)}}),[e.connection_id]),m=(0,s.useCallback)((e=>{c(e),e?.ID&&u()}),[u,c]),h=(0,l.P)({service:t,onConfirm:m}),g=(0,s.useCallback)((async()=>{if(!await o({connectionId:e.connection_id,showSuccessNotice:!1}))return;await d(e);const n=new FormData;"mastodon"===t.ID&&n.set("instance",e.external_display),"bluesky"===t.ID?u():h(n)}),[e,o,u,h,t.ID,d]);return e.can_disconnect?React.createElement(a.A,{size:"small",onClick:g,disabled:p,variant:n},p?__("Disconnecting…","jetpack"):_x("Reconnect","Reconnect a social media account","jetpack")):null}},91910:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var a=n(13022),r=n(28120),s=n.n(r),o=n(12141);const i=e=>{const{checked:t,disabled:n,onChange:r,serviceName:s,label:i,profilePicture:l}=e,c=(0,a.A)("components-connection-toggle",{"is-not-checked":!t,"is-disabled":n});return React.createElement("div",{className:c,title:i},React.createElement(o.A,{checked:t,label:i,onClick:r,serviceName:s,profilePicture:l}))};i.propTypes={className:s().string,checked:s().bool,id:s().string.isRequired,disabled:s().bool,onChange:s().func,serviceName:s().string,label:s().string,profilePicture:s().string};const l=i},10267:(e,t,n)=>{"use strict";n.d(t,{A:()=>m});var a=n(85985),r=n(56427),s=n(47143),o=n(86087),i=n(27723),l=n(31963),c=n(91910),u=n(95051),d=n(49514);const __=i.__;class p extends o.Component{maybeDisplayLinkedInNotice=()=>this.connectionNeedsReauth()&&React.createElement(r.Notice,{className:u.A["publicize-notice"],isDismissible:!1,status:"error"},React.createElement("p",null,__("Your LinkedIn connection needs to be reauthenticated to continue working – head to Sharing to take care of it.","jetpack")),React.createElement(r.ExternalLink,{href:`https://wordpress.com/marketing/connections/${(0,a.GE)()}`},__("Go to Sharing settings","jetpack")));connectionNeedsReauth=()=>this.props.mustReauthConnections.includes(this.props.name);onConnectionChange=()=>{const{id:e}=this.props;this.isDisabled()||this.props.toggleConnection(e)};connectionIsFailing(){const{failedConnections:e,name:t}=this.props;return e.some((e=>e.service_name===t))}isDisabled(){return this.props.disabled||this.connectionIsFailing()||this.connectionNeedsReauth()}render(){const{enabled:e,id:t,label:n,name:a,profilePicture:r}=this.props,s="connection-"+a+"-"+t,o=a.replace("_","-"),i=React.createElement(c.A,{id:s,className:d.A["connection-toggle"],checked:e,onChange:this.onConnectionChange,disabled:this.isDisabled(),serviceName:o,label:n,profilePicture:r});return React.createElement("li",null,this.maybeDisplayLinkedInNotice(),React.createElement("div",{className:d.A["connection-container"]},i))}}const m=(0,s.withSelect)((e=>({failedConnections:e(l.Af).getFailedConnections(),mustReauthConnections:e(l.Af).getMustReauthConnections()})))(p)},77125:(e,t,n)=>{"use strict";n.d(t,{l:()=>f});var a=n(51112),r=n(56427),s=n(47143),o=n(86087),i=n(27723),l=n(77627),c=n(50001),u=n(31963),d=n(50384),p=n(51371),m=n(51475),h=n(9515),g=n(71016);const __=i.__,_x=i._x,f=()=>{const{connections:e}=(0,c.A)(),t=e.filter((e=>"broken"===e.status||(0,d.Y)(e,"broken"))),{connectionsPageUrl:n}=(0,l.A)(),{useAdminUiV1:i}=(0,p.n)().feature_flags,{openConnectionsModal:f}=(0,s.useDispatch)(u.M_),v=i?React.createElement(a.A,{variant:"link",onClick:f,className:g.A["broken-connection-btn"]}):React.createElement(r.ExternalLink,{href:n}),b=(0,h.h)();if(!t.length)return null;const k=t.reduce(((e,t)=>(e[t.service_name]||(e[t.service_name]=[]),e[t.service_name].push(t),e)),{});return t.length>0&&React.createElement(m.A,{type:"error"},__("Your following connections need to be reconnected:","jetpack"),React.createElement("ul",null,Object.entries(k).map((([e,t])=>{const n=b(e);return React.createElement("li",{key:e},React.createElement("div",{className:g.A["broken-connection-service"]},React.createElement("span",null,n,_x(":","Colon to display before the list of connections","jetpack")," "),t.map((({display_name:e,external_display:n,id:a},r)=>React.createElement(o.Fragment,{key:a},React.createElement("span",{className:g.A["broken-connection"]},e||n),rconnections management section.",'"them" refers to the broken connections.',"jetpack"),{fixLink:v}))}},64636:(e,t,n)=>{"use strict";n.d(t,{D:()=>u});var a=n(97999),r=n(56427),s=n(27723),o=n(77627),i=n(50001),l=n(25349),c=n(71016);const __=s.__,u=()=>{const{hasConnections:e}=(0,i.A)(),{needsUserConnection:t}=(0,o.A)();return t?React.createElement(r.PanelRow,null,React.createElement("p",null,__("You must connect your WordPress.com account to be able to add social media connections.","jetpack")," ",React.createElement("a",{href:(0,a.getMyJetpackUrl)("#/connection")},__("Connect now","jetpack")))):e?null:React.createElement(r.PanelRow,null,React.createElement("p",null,React.createElement("span",{className:c.A["no-connections-text"]},__("Sharing is disabled because there are no social media accounts connected.","jetpack")),React.createElement(l.C,{label:__("Connect an account","jetpack")})))}},14993:(e,t,n)=>{"use strict";n.d(t,{E:()=>g});var a=n(85985),r=n(51609),s=n(77627),o=n(50001),i=n(10267),l=n(77125),c=n(57193),u=n(75013),d=n(25349),p=n(71016),m=n(50923),h=n(39329);const g=()=>{const{recordEvent:e}=(0,a.st)(),{connections:t,toggleById:n}=(0,o.A)(),{canBeTurnedOn:g,shouldBeDisabled:f}=(0,h.j)(),{needsUserConnection:v,isPublicizeEnabled:b}=(0,s.A)(),k=(0,r.useCallback)(((t,a)=>()=>{n(t),e("jetpack_social_connection_toggled",{location:"editor",enabled:!a.enabled,service_name:a.service_name})}),[e,n]);return React.createElement("div",null,React.createElement("ul",{className:p.A["connections-list"]},t.map((e=>{const{display_name:t,id:n,service_name:a,profile_picture:r,connection_id:s}=e,o=s||n;return React.createElement(i.A,{disabled:f(e),enabled:g(e)&&e.enabled,key:o,id:o,label:t,name:a,toggleConnection:k(o,e),profilePicture:r})}))),b?React.createElement(React.Fragment,null,React.createElement(u.L,null),React.createElement(l.l,null),React.createElement(m.Z,null),React.createElement(c.H,null)):null,v?null:React.createElement(d.C,{variant:"secondary"}))}},57193:(e,t,n)=>{"use strict";n.d(t,{H:()=>c});var a=n(56427),r=n(27723),s=n(77627),o=n(50001),i=n(71016),l=n(39329);const _n=r._n;function c(){const{enabledConnections:e}=(0,o.A)(),{isPublicizeEnabled:t}=(0,s.A)(),{canBeTurnedOn:n,shouldBeDisabled:c}=(0,l.j)(),u=e.filter((e=>n(e)&&!c(e)));return u.length&&t?React.createElement(a.PanelRow,null,React.createElement("p",{className:i.A["enabled-connections-notice"]},(0,r.sprintf)(/* translators: %d: number of connections */ -_n("This post will be shared to %d connection.","This post will be shared to %d connections.",u.length,"jetpack"),u.length))):null}},9573:(e,t,n)=>{"use strict";n.d(t,{X:()=>u});var a=n(3924),r=n(85985),s=n(56427),o=n(27723),i=n(70407),l=n(71016),c=n(647);const _x=o._x,u=()=>{const e=(0,c.X)();return(0,r.Sy)()||(0,r.d9)()||(0,i.hasSocialPaidFeatures)()?null:React.createElement(s.PanelRow,{className:l.A["enhanced-features-nudge"]},React.createElement(s.Button,{key:"upgrade",variant:"link",onClick:e,href:(0,a.A)("jetpack-social-basic-plan-block-editor",{site:(0,r.GE)()||"",query:"redirect_to="+encodeURIComponent(window.location.href)})},_x("Unlock enhanced media sharing features.","Call to action to buy a new plan","jetpack")))}},70925:(e,t,n)=>{"use strict";n.d(t,{A:()=>v});var a=n(56427),r=n(86087),s=n(7162),o=n(98420),i=n(54915),l=n(80624),c=n(52367),u=n(50001),d=n(48222),p=n(96390),m=n(64636),h=n(14993),g=n(9573),f=n(41190);function v(){const{hasConnections:e,hasEnabledConnections:t,connections:n}=(0,u.A)(),{isPublicizeEnabled:v,isPublicizeDisabledBySitePlan:b}=(0,s.usePublicizeConfig)(),{attachedMedia:k}=(0,o.A)(),y=(0,i.A)(),E=k[0]?.id||y,{validationErrors:w,isConvertible:_}=(0,c.A)(n,(0,l.A)(E)[0]),C=v&&(t||k.length>0||0!==Object.keys(w).length&&!_),A=b?a.Disabled:r.Fragment,{feature_flags:x}=(0,s.getSocialScriptData)();return React.createElement(A,null,x.useAdminUiV1?React.createElement(d._,null):null,e?React.createElement(React.Fragment,null,React.createElement(a.PanelRow,null,React.createElement(h.E,null)),x.useEditorPreview&&v?React.createElement(p.n,null):null,React.createElement(g.X,null)):null,React.createElement(m.D,null),!b&&React.createElement(r.Fragment,null,C&&React.createElement(f.o,{analyticsData:{location:"editor"}})))}},62697:(e,t,n)=>{"use strict";n.d(t,{q:()=>c});var a=n(3924),r=n(97999),s=n(56427),o=n(27723),i=n(27844),l=n(51475);const __=o.__,c=()=>(0,r.siteHasFeature)(i.q.ENHANCED_PUBLISHING)?React.createElement(l.A,{type:"warning"},__("To share to Instagram, add an image/video, or enable Social Image Generator.","jetpack"),React.createElement("br",null),React.createElement(s.ExternalLink,{href:(0,a.A)("jetpack-social-share-to-instagram")},__("Learn more","jetpack"))):React.createElement(l.A,{type:"warning"},__("You need a featured image to share to Instagram.","jetpack"),React.createElement("br",null),React.createElement(s.ExternalLink,{href:(0,a.A)("jetpack-social-share-to-instagram")},__("Learn more","jetpack")))},31099:(e,t,n)=>{"use strict";n.d(t,{j:()=>p});var a=n(3924),r=n(56427),s=n(47143),o=n(86087),i=n(27723),l=n(80682),c=n(31963),u=n(51475),d=n(9515);const __=i.__,_x=i._x,p=({validationErrors:e})=>{const{getConnectionById:t}=(0,s.useSelect)((e=>e(c.M_)),[]),n=(0,d.h)(),i=(0,o.useMemo)((()=>Object.entries(e).reduce(((e,[a,r])=>{if(!r)return e;e[r]||(e[r]=[]);const s=n(t(a)?.service_name);return s&&!e[r].includes(s)&&e[r].push(s),e}),{})),[t,n,e]);return React.createElement(u.A,{type:"warning"},React.createElement("p",null,__("The selected media cannot be share to some social media platforms.","jetpack")),React.createElement("ul",null,Object.entries(i).map((([e,t])=>t.length?React.createElement("li",{key:e},React.createElement("i",null,(0,l.$m)(e)),_x(":","Colon to display before the list of social media platforms","jetpack")+" ",t.map(((e,t,{length:n})=>React.createElement(o.Fragment,{key:e},React.createElement("b",null,e),t{"use strict";n.d(t,{L:()=>d});var a=n(98420),r=n(54915),s=n(80624),o=n(52367),i=n(80682),l=n(50001),c=n(62697),u=n(31099);const d=()=>{const{connections:e}=(0,l.A)(),{attachedMedia:t}=(0,a.A)(),n=(0,r.A)(),d=t[0]?.id||n,{validationErrors:p,isConvertible:m}=(0,o.A)(e,(0,s.A)(d)[0]);return Object.keys(p).length?Object.values(p).includes(i.k3)?React.createElement(c.q,null):m?null:React.createElement(u.j,{validationErrors:p}):null}},25349:(e,t,n)=>{"use strict";n.d(t,{C:()=>u});var a=n(56427),r=n(47143),s=n(27723),o=n(77627),i=n(31963),l=n(51371),c=n(71016);const __=s.__;function u({label:e,variant:t="primary"}){const{useAdminUiV1:n}=(0,l.n)().feature_flags,{connections:s}=(0,r.useSelect)((e=>({connections:e(i.M_).getConnections()})),[]),{openConnectionsModal:u}=(0,r.useDispatch)(i.M_),{connectionsPageUrl:d}=(0,o.A)(),p=e||__("Manage connections","jetpack"),m=s.length>0;return n?React.createElement(a.Button,{onClick:u,variant:m?"link":t,size:m?"default":"small",className:c.A["settings-button"]},p):React.createElement(a.ExternalLink,{className:c.A["settings-button"],href:d},p)}},41190:(e,t,n)=>{"use strict";n.d(t,{o:()=>l});var a=n(97999),r=n(39553),s=n(27844),o=n(12015),i=n(70694);const l=({analyticsData:e=null})=>{const{message:t,updateMessage:n,maxLength:l}=(0,r.A)();return React.createElement(React.Fragment,null,React.createElement(i.A,{maxLength:l,onChange:n,message:t,analyticsData:e}),(0,a.siteHasFeature)(s.q.ENHANCED_PUBLISHING)&&React.createElement(o.A,{analyticsData:e}))}},50923:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var a=n(56427),r=n(86087),s=n(27723),o=n(7162),i=n(50001),l=n(50384),c=n(51475);const __=s.__,u=()=>{const{connections:e}=(0,i.A)(),{connectionsPageUrl:t}=(0,o.usePublicizeConfig)();return e.filter((e=>(0,l.Y)(e,"unsupported"))).length>0&&React.createElement(c.A,{type:"error"},(0,r.createInterpolateElement)(__("Twitter is not supported anymore. Learn more here.","jetpack"),{moreInfo:React.createElement(a.ExternalLink,{href:t})}))}},647:(e,t,n)=>{"use strict";n.d(t,{X:()=>o});var a=n(47143),r=n(43656),s=n(86087);function o(){const{isEditedPostDirty:e}=(0,a.useSelect)(r.store,[]),{autosave:t}=(0,a.useDispatch)(r.store);return(0,s.useCallback)((async n=>{if(!(n.target instanceof HTMLAnchorElement))return;const a=n.target.getAttribute("target");e()&&!a&&(n.preventDefault(),await t(),window.location.href=n.target.href),a&&(n.preventDefault(),window.open(n.target.href,a,"noreferrer"))}),[t,e])}},39329:(e,t,n)=>{"use strict";n.d(t,{j:()=>p});var a=n(86087),r=n(51609),s=n(7162),o=n(98420),i=n(54915),l=n(80624),c=n(52367),u=n(80682),d=n(50001);const p=()=>{const{connections:e}=(0,d.A)(),{isPublicizeEnabled:t,isPublicizeDisabledBySitePlan:n}=(0,s.usePublicizeConfig)(),{attachedMedia:p}=(0,o.A)(),m=(0,i.A)(),h=p[0]?.id||m,{validationErrors:g,isConvertible:f}=(0,c.A)(e,(0,l.A)(h)[0]),v=(0,a.useCallback)((e=>{const{id:t,is_healthy:n,connection_id:a,status:r}=e,s=a||t,o=!1!==n&&"broken"!==r,i=void 0!==g[s]&&!f,l=g[s]===u.k3;return o&&!i&&!l}),[f,g]),b=(0,a.useCallback)((e=>!t||!v(e)),[v,t]),k=(0,a.useCallback)((e=>!n&&v(e)),[v,n]);return(0,r.useMemo)((()=>({shouldBeDisabled:b,canBeTurnedOn:k})),[b,k])}},56457:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>b});var a=n(50723),r=n(1455),s=n.n(r),o=n(56427),i=n(47143),l=n(43656),c=n(27723),u=n(13022),d=n(51609),p=n.n(d),m=n(49747),h=n(60548),g=n(74820);const __=c.__,_x=c._x,f="featured-image-still-loading",v=(e,t,n,a)=>{if("none"===e||"custom"===e&&!t||"featured"===(e??"featured")&&!n)return null;const r=a("custom"===e?t:n);return r?(e=>e?.media_details?.sizes?.large?.source_url||e?.source_url)(r):f};function b({shouldDebounce:e=!0,onNewToken:t,...n}){const[r,c]=(0,d.useState)(null),[b,k]=(0,d.useState)(!0),{customText:y,imageType:E,imageId:w,template:_,setToken:C}={...(0,m.A)(),...n},{title:A,imageUrl:x}=(0,i.useSelect)((e=>{const t=e(l.store).getEditedPostAttribute("featured_media");return{title:e(l.store).getEditedPostAttribute("title"),imageUrl:v(E,w,t,e("core").getMedia)}})),j=(0,d.useMemo)((()=>y||A||" "),[y,A]),S=(0,d.useRef)(j),N=(0,d.useRef)(r);(0,d.useEffect)((()=>{N.current=r})),(0,d.useEffect)((()=>{const n=setTimeout((async()=>{if(k(!0),x===f)return;const e=await s()({path:"/jetpack/v4/social-image-generator/generate-preview-token",method:"POST",data:{text:j,image_url:x,template:_}});C?.(e),t?.(e);const n=(0,g.S)(e);n!==N.current?c(n):k(!1)}),j!==S.current&&e?1500:0);return()=>{clearTimeout(n),S.current=j}}),[j,_,x,t]);const R=(0,d.useCallback)((()=>{k(!1)}),[]);return p().createElement(a.Ay,null,p().createElement(o.BaseControl,{__nextHasNoMarginBottom:!0},p().createElement(o.BaseControl.VisualLabel,null,_x("Preview","Heading for the generated preview image","jetpack")),p().createElement("div",{className:h.A.container},p().createElement("img",{className:(0,u.A)({[h.A.hidden]:b}),src:r,alt:__("Generated preview","jetpack"),onLoad:R}),b&&p().createElement(o.Spinner,{"data-testid":"spinner"}))))}},74820:(e,t,n)=>{"use strict";n.d(t,{S:()=>r});var a=n(3924);function r(e){return e?(0,a.A)("sigenerate",{query:`t=${e}`}):""}},47453:(e,t,n)=>{"use strict";n.d(t,{m:()=>s});var a=n(51371),r=n(7757);const s=()=>{const{feature_flags:e}=(0,a.n)();return React.createElement(React.Fragment,null,e.useShareStatus?React.createElement(r.Q3,null):null)}},59493:(e,t,n)=>{"use strict";n.d(t,{O:()=>g});var a=n(63406),r=n(51112),s=n(3924),o=n(56427),i=n(47143),l=n(86087),c=n(27723),u=n(51475),d=n(31963),p=n(39630),m=n(18973);const __=c.__,_x=c._x;function h({label:e,profile_picture:t}){return React.createElement("div",{className:m.A["account-info"]},t?React.createElement("img",{className:m.A["profile-pic"],src:t,alt:e}):null,React.createElement("span",null,e))}function g({keyringResult:e,onComplete:t,isAdmin:n}){const c=(0,p.o)(),{existingConnections:g,reconnectingAccount:f}=(0,i.useSelect)((e=>{const t=e(d.M_);return{existingConnections:t.getConnections(),reconnectingAccount:t.getReconnectingAccount()}}),[]),{createErrorNotice:v}=(0,a.I)(),b=c.find((t=>t.ID===e.service)),k=(0,l.useCallback)((e=>g.some((t=>t.service_name===b?.ID&&t.external_id===e))),[g,b.ID]),y=(0,l.useMemo)((()=>{const t=[],n=[];if(!b)return{connected:t,not_connected:n};const a=[];if(b.external_users_only||a.push({label:e.external_display||e.external_name,value:e.external_ID,profile_picture:e.external_profile_picture}),b.multiple_external_user_ID_support&&e.additional_external_users?.length)for(const t of e.additional_external_users)a.push({label:t.external_name,value:t.external_ID,profile_picture:t.external_profile_picture});for(const e of a)k(e.value)?t.push(e):n.push(e);return{connected:t,not_connected:n}}),[k,e,b]),{createConnection:E,setReconnectingAccount:w}=(0,i.useDispatch)(d.M_),_=(0,l.useCallback)((async n=>{n.preventDefault(),n.stopPropagation();const a=n.target,r=new FormData(a),s=r.get("external_user_ID");if(!s)return void v(__("Please select an account to connect.","jetpack"));const o={external_user_ID:b.multiple_external_user_ID_support?s:void 0,keyring_connection_ID:e.ID,shared:"1"===r.get("shared")||void 0},i=y.not_connected.find((e=>e.value===s));f&&w(void 0),E(o,{display_name:i?.label,profile_picture:i?.profile_picture,service_name:b.ID,external_id:s}),t()}),[E,f,w,v,e.ID,t,b.multiple_external_user_ID_support,b.ID,y.not_connected]);return React.createElement("section",{className:m.A.confirmation},y.not_connected.length?React.createElement("div",null,React.createElement("p",{className:m.A["header-text"]},__("Select the account you'd like to connect. All your new blog posts will be automatically shared to this account. You'll be able to change this option in the editor sidebar when you're writing a post.","jetpack")),e?.show_linkedin_warning&&React.createElement(u.A,{type:"warning"},React.createElement("p",null,__("We could not retrieve which company pages you have access to. This is a known issue with the LinkedIn API. If you would like to connect a company page, please retry after 5 minutes.","jetpack")," ",React.createElement(o.ExternalLink,{key:"linkedin-api-documentaion",href:(0,s.A)("jetpack-linkedin-permissions-warning")},__("Learn more","jetpack")))),React.createElement("form",{className:m.A.form,onSubmit:_,id:"connection-confirmation-form"},React.createElement("div",{className:m.A["accounts-list"]},y.not_connected.map(((e,t)=>{const n=f?f.service_name===b?.ID&&f.external_id===e.value:0===t;return React.createElement("label",{key:e.value,htmlFor:`external_user_ID__${e.value}`,className:m.A["account-label"],"aria-required":!0},React.createElement("input",{type:"radio",id:`external_user_ID__${e.value}`,name:"external_user_ID",value:e.value,defaultChecked:n,className:m.A["account-input"],required:!0}),React.createElement(h,{label:e.label,profile_picture:e.profile_picture}))}))),n?React.createElement(o.BaseControl,{__nextHasNoMarginBottom:!0,id:"mark-connection-as-shared",help:`${__("If enabled, the connection will be available to all administrators, editors, and authors.","jetpack")} ${__("You can change this later.","jetpack")}`},React.createElement(o.__experimentalHStack,{justify:"flex-start",spacing:3},React.createElement("span",null,React.createElement("input",{type:"checkbox",id:"mark-connection-as-shared",name:"shared",value:"1"})),React.createElement(o.FlexBlock,{as:"label",htmlFor:"mark-connection-as-shared"},__("Mark the connection as shared","jetpack")))):null,React.createElement("input",{type:"hidden",name:"keyring_connection_ID",value:e.ID}))):React.createElement("p",{className:m.A["header-text"]},y.connected.length?_x("No more accounts/pages found.","Message shown when there are no connections found to connect","jetpack"):__("No accounts/pages found.","jetpack")),y.connected.length?React.createElement("section",null,React.createElement("h3",null,__("Already connected","jetpack")),React.createElement("ul",null,y.connected.map(((e,t)=>React.createElement("li",{key:e.label+t},React.createElement(h,{label:e.label,profile_picture:e.profile_picture})))))):null,React.createElement("div",{className:m.A["submit-wrap"]},React.createElement(r.A,{variant:"secondary",onClick:t},__("Cancel","jetpack")),y.not_connected.length?React.createElement(r.A,{form:"connection-confirmation-form",type:"submit"},__("Confirm","jetpack")):null))}},48222:(e,t,n)=>{"use strict";n.d(t,{_:()=>b});var a=n(60442),r=n(47425),s=n(3924),o=n(50723),i=n(56427),l=n(3582),c=n(47143),u=n(86087),d=n(27723),p=n(13022),m=n(31963),h=n(78362),g=n(59493),f=n(73842);const __=d.__,_x=d._x,v=()=>{const{keyringResult:e}=(0,c.useSelect)((e=>{const{getKeyringResult:t}=e(m.M_);return{keyringResult:t()}}),[]),{setKeyringResult:t,closeConnectionsModal:n,setReconnectingAccount:o}=(0,c.useDispatch)(m.M_),[d]=(0,a.A)("sm"),v=(0,u.useCallback)((()=>{t(null),o(void 0),n()}),[n,t,o]),b=Boolean(e?.ID),k=b?__("Connection confirmation","jetpack"):_x("Manage Jetpack Social connections","","jetpack"),y=(0,c.useSelect)((e=>e(l.store).canUser("update","settings")),[]);return React.createElement(i.Modal,{className:(0,p.A)(f.A.modal,{[f.A.small]:d}),onRequestClose:v,title:k},b?React.createElement(g.O,{keyringResult:e,onComplete:v,isAdmin:y}):React.createElement(React.Fragment,null,React.createElement(h.b,null),React.createElement("div",{className:f.A["manual-share"]},React.createElement("em",null,React.createElement(r.Ay,null,__("Want to share to other networks? Use our Manual Sharing feature from the editor.","jetpack")," ",React.createElement(i.ExternalLink,{href:(0,s.A)("jetpack-social-manual-sharing-help")},__("Learn more","jetpack")))))))};function b(){const e=(0,c.useSelect)((e=>e(m.M_).isConnectionsModalOpen()),[]);return React.createElement(o.Ay,{targetDom:document.body},e?React.createElement(v,null):null)}},30642:(e,t,n)=>{"use strict";n.d(t,{F:()=>d});var a=n(50723),r=n(47425),s=n(40597),o=n(56427),i=n(27723),l=n(68541),c=n(34600),u=n(27681);const __=i.__;function d(e){return React.createElement(a.Ay,null,React.createElement("div",{className:u.A.wrapper},React.createElement(o.Flex,{align:"start",justify:"start"},React.createElement(r.Ay,{variant:"body-extra-small",className:u.A.title},__("Manual sharing","jetpack")),React.createElement(s.A,{inline:!1,shift:!0,iconSize:16,placement:"top-end"},React.createElement(c.P,e))),React.createElement(l.R,{buttonStyle:"icon"})))}},34600:(e,t,n)=>{"use strict";n.d(t,{P:()=>i});var a=n(47425),r=n(3924),s=n(56427),o=n(27723);const __=o.__;function i({...e}){return React.createElement(a.Ay,e,__('Just tap the social network or "Copy to Clipboard" icon, and we\'ll format your content for sharing.',"jetpack")," ",React.createElement(s.ExternalLink,{href:(0,r.A)("jetpack-social-manual-sharing-help")},__("Learn more","jetpack")))}},55858:(e,t,n)=>{"use strict";n.d(t,{A:()=>v});var a=n(51112),r=n(50723),s=n(94715),o=n(56427),i=n(86087),l=n(27723),c=n(51113),u=n(31249),d=n(13022),p=n(52367),m=n(2204),h=n(18699),g=n(97671);const __=l.__,f=e=>t=>{t.currentTarget.focus(),e()};function v({buttonLabel:e,subTitle:t,mediaId:n=null,mediaDetails:l={},onChange:v,wrapperClassName:b,allowedMediaTypes:k=null}){const{mediaData:{width:y,height:E,sourceUrl:w}={},metaData:{mime:_,length:C=null}={},previewData:{width:A,height:x,sourceUrl:j}={}}=l,S=!(w&&y&&E&&_),N=(0,i.useCallback)((()=>v(null)),[v]),R=(0,i.useCallback)((e=>{v(e)}),[v]),P=(0,i.useCallback)((e=>{const t=(0,p.c)(_);return t&&!C?null:React.createElement("div",{className:(0,d.A)(g.A["preview-wrapper"],b)},React.createElement("button",{className:g.A.remove,onClick:N},React.createElement(o.VisuallyHidden,null,__("Remove media","jetpack")),React.createElement(c.A,{icon:u.A})),React.createElement("button",{className:g.A.preview,onClick:f(e),"data-unstable-ignore-focus-outside-for-relatedtarget":".media-modal"},t?React.createElement(h.A,{sourceUrl:w,mime:_,duration:C}):React.createElement(o.ResponsiveWrapper,{naturalWidth:A||y,naturalHeight:x||E,isInline:!0},React.createElement("img",{src:j||w,alt:"",className:g.A["preview-image"]}))))}),[E,C,_,N,x,j,A,w,y,b]),L=(0,i.useCallback)((r=>React.createElement("div",{className:g.A.container},n?React.createElement(React.Fragment,null,React.createElement("button",{className:g.A["remove-loading"],onClick:N},React.createElement(o.VisuallyHidden,null,__("Remove media","jetpack")),React.createElement(c.A,{icon:u.A})),React.createElement(o.Spinner,{"data-testid":"spinner"})):React.createElement(React.Fragment,null,React.createElement(a.A,{variant:"secondary",size:"small",className:g.A.preview,onClick:f(r),"data-unstable-ignore-focus-outside-for-relatedtarget":".media-modal"},e),t&&React.createElement("span",null,t)))),[e,n,N,t]),T=(0,i.useCallback)((({open:e})=>n&&!S?P(e):L(e)),[n,S,P,L]);return React.createElement(r.Ay,null,React.createElement(s.MediaUploadCheck,null,React.createElement(s.MediaUpload,{allowedTypes:k??m.UB,title:e,onSelect:R,render:T,value:n})))}},12015:(e,t,n)=>{"use strict";n.d(t,{A:()=>f});var a=n(50723),r=n(3924),s=n(85985),o=n(56427),i=n(86087),l=n(27723),c=n(51609),u=n.n(c),d=n(98420),p=n(80624),m=n(55858),h=n(35270);const __=l.__,g=__("Choose Media","jetpack");function f({disabled:e=!1,disabledNoticeMessage:t="",CustomNotice:n=null,analyticsData:l}){const{attachedMedia:f,updateAttachedMedia:v}=(0,d.A)(),{recordEvent:b}=(0,s.st)(),[k]=(0,p.A)(f[0]?.id),y=(0,i.useCallback)((e=>{if(e){b("jetpack_social_media_attached",l);const{id:t,url:n,mime:a}=e;v([{id:t,url:n,type:a}])}else v([])}),[l,b,v]),E=e?o.Disabled:c.Fragment,w=e?{className:h.A.disabled,"data-testid":"disabled"}:{};return u().createElement(a.Ay,null,u().createElement(o.BaseControl,{__nextHasNoMarginBottom:!0,className:h.A.wrapper},u().createElement(o.BaseControl.VisualLabel,null,__("Attached Media","jetpack")),n||(t?u().createElement(o.Notice,{className:h.A.notice,isDismissible:!1,status:"warning"},u().createElement("p",{"data-testid":"notice"},t)):u().createElement("p",{className:h.A.subtitle},__("Choose a visual to accompany your post.","jetpack"))),u().createElement(E,w,u().createElement(m.A,{buttonLabel:g,subTitle:__("Add an image or video","jetpack"),mediaId:f[0]?.id,mediaDetails:k,onChange:y}),u().createElement(o.ExternalLink,{href:(0,r.A)("jetpack-social-media-support-information"),className:h.A["learn-more"]},__("Learn photo and video best practices","jetpack")))))}},70694:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var a=n(85985),r=n(56427),s=n(27723),o=n(51609);const __=s.__,_n=s._n;function i({message:e="",onChange:t,disabled:n,maxLength:i,analyticsData:l=null}){const{recordEvent:c}=(0,a.st)(),u=(0,o.useRef)(!0),d=i-e.length,p=(0,o.useCallback)((e=>{t(e),u.current&&(c("jetpack_social_custom_message_changed",l),u.current=!1)}),[l,u,t,c]);return React.createElement(r.TextareaControl,{value:e,label:__("Message","jetpack"),onChange:p,disabled:n,maxLength:i,placeholder:__("Write a custom message for your social audience here. This message will override your social post content.","jetpack"),rows:4,help:(0,s.sprintf)(/* translators: placeholder is a number. */ +_n("This post will be shared to %d connection.","This post will be shared to %d connections.",u.length,"jetpack"),u.length))):null}},9573:(e,t,n)=>{"use strict";n.d(t,{X:()=>u});var a=n(3924),r=n(85985),s=n(56427),o=n(27723),i=n(70407),l=n(71016),c=n(647);const _x=o._x,u=()=>{const e=(0,c.X)();return(0,r.Sy)()||(0,r.d9)()||(0,i.hasSocialPaidFeatures)()?null:React.createElement(s.PanelRow,{className:l.A["enhanced-features-nudge"]},React.createElement(s.Button,{key:"upgrade",variant:"link",onClick:e,href:(0,a.A)("jetpack-social-basic-plan-block-editor",{site:(0,r.GE)()||"",query:"redirect_to="+encodeURIComponent(window.location.href)})},_x("Unlock enhanced media sharing features.","Call to action to buy a new plan","jetpack")))}},70925:(e,t,n)=>{"use strict";n.d(t,{A:()=>v});var a=n(56427),r=n(86087),s=n(7162),o=n(98420),i=n(54915),l=n(80624),c=n(52367),u=n(50001),d=n(48222),p=n(96390),m=n(64636),h=n(14993),g=n(9573),f=n(41190);function v(){const{hasConnections:e,hasEnabledConnections:t,connections:n}=(0,u.A)(),{isPublicizeEnabled:v,isPublicizeDisabledBySitePlan:b}=(0,s.usePublicizeConfig)(),{attachedMedia:k}=(0,o.A)(),y=(0,i.A)(),E=k[0]?.id||y,{validationErrors:w,isConvertible:_}=(0,c.A)(n,(0,l.A)(E)[0]),C=v&&(t||k.length>0||0!==Object.keys(w).length&&!_),A=b?a.Disabled:r.Fragment,{feature_flags:x}=(0,s.getSocialScriptData)();return React.createElement(A,null,x.useAdminUiV1?React.createElement(d._,null):null,e?React.createElement(React.Fragment,null,React.createElement(a.PanelRow,null,React.createElement(h.E,null)),x.useEditorPreview&&v?React.createElement(p.n,null):null,React.createElement(g.X,null)):null,React.createElement(m.D,null),!b&&React.createElement(r.Fragment,null,C&&React.createElement(f.o,{analyticsData:{location:"editor"}})))}},62697:(e,t,n)=>{"use strict";n.d(t,{q:()=>c});var a=n(3924),r=n(97999),s=n(56427),o=n(27723),i=n(27844),l=n(51475);const __=o.__,c=()=>(0,r.siteHasFeature)(i.q.ENHANCED_PUBLISHING)?React.createElement(l.A,{type:"warning"},__("To share to Instagram, add an image/video, or enable Social Image Generator.","jetpack"),React.createElement("br",null),React.createElement(s.ExternalLink,{href:(0,a.A)("jetpack-social-share-to-instagram")},__("Learn more","jetpack"))):React.createElement(l.A,{type:"warning"},__("You need a featured image to share to Instagram.","jetpack"),React.createElement("br",null),React.createElement(s.ExternalLink,{href:(0,a.A)("jetpack-social-share-to-instagram")},__("Learn more","jetpack")))},31099:(e,t,n)=>{"use strict";n.d(t,{j:()=>p});var a=n(3924),r=n(56427),s=n(47143),o=n(86087),i=n(27723),l=n(80682),c=n(31963),u=n(51475),d=n(9515);const __=i.__,_x=i._x,p=({validationErrors:e})=>{const{getConnectionById:t}=(0,s.useSelect)((e=>e(c.M_)),[]),n=(0,d.h)(),i=(0,o.useMemo)((()=>Object.entries(e).reduce(((e,[a,r])=>{if(!r)return e;e[r]||(e[r]=[]);const s=n(t(a)?.service_name);return s&&!e[r].includes(s)&&e[r].push(s),e}),{})),[t,n,e]);return React.createElement(u.A,{type:"warning"},React.createElement("p",null,__("The selected media cannot be share to some social media platforms.","jetpack")),React.createElement("ul",null,Object.entries(i).map((([e,t])=>t.length?React.createElement("li",{key:e},React.createElement("i",null,(0,l.$m)(e)),_x(":","Colon to display before the list of social media platforms","jetpack")+" ",t.map(((e,t,{length:n})=>React.createElement(o.Fragment,{key:e},React.createElement("b",null,e),t{"use strict";n.d(t,{L:()=>d});var a=n(98420),r=n(54915),s=n(80624),o=n(52367),i=n(80682),l=n(50001),c=n(62697),u=n(31099);const d=()=>{const{connections:e}=(0,l.A)(),{attachedMedia:t}=(0,a.A)(),n=(0,r.A)(),d=t[0]?.id||n,{validationErrors:p,isConvertible:m}=(0,o.A)(e,(0,s.A)(d)[0]);return Object.keys(p).length?Object.values(p).includes(i.k3)?React.createElement(c.q,null):m?null:React.createElement(u.j,{validationErrors:p}):null}},25349:(e,t,n)=>{"use strict";n.d(t,{C:()=>u});var a=n(56427),r=n(47143),s=n(27723),o=n(77627),i=n(31963),l=n(51371),c=n(71016);const __=s.__;function u({label:e,variant:t="primary"}){const{useAdminUiV1:n}=(0,l.n)().feature_flags,{connections:s}=(0,r.useSelect)((e=>({connections:e(i.M_).getConnections()})),[]),{openConnectionsModal:u}=(0,r.useDispatch)(i.M_),{connectionsPageUrl:d}=(0,o.A)(),p=e||__("Manage connections","jetpack"),m=s.length>0;return n?React.createElement(a.Button,{onClick:u,variant:m?"link":t,size:m?"default":"small",className:c.A["settings-button"]},p):React.createElement(a.ExternalLink,{className:c.A["settings-button"],href:d},p)}},41190:(e,t,n)=>{"use strict";n.d(t,{o:()=>l});var a=n(97999),r=n(39553),s=n(27844),o=n(12015),i=n(70694);const l=({analyticsData:e=null})=>{const{message:t,updateMessage:n,maxLength:l}=(0,r.A)();return React.createElement(React.Fragment,null,React.createElement(i.A,{maxLength:l,onChange:n,message:t,analyticsData:e}),(0,a.siteHasFeature)(s.q.ENHANCED_PUBLISHING)&&React.createElement(o.A,{analyticsData:e}))}},50923:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var a=n(56427),r=n(86087),s=n(27723),o=n(7162),i=n(50001),l=n(50384),c=n(51475);const __=s.__,u=()=>{const{connections:e}=(0,i.A)(),{connectionsPageUrl:t}=(0,o.usePublicizeConfig)();return e.filter((e=>(0,l.Y)(e,"unsupported"))).length>0&&React.createElement(c.A,{type:"error"},(0,r.createInterpolateElement)(__("Twitter is not supported anymore. Learn more here.","jetpack"),{moreInfo:React.createElement(a.ExternalLink,{href:t})}))}},647:(e,t,n)=>{"use strict";n.d(t,{X:()=>o});var a=n(47143),r=n(43656),s=n(86087);function o(){const{isEditedPostDirty:e}=(0,a.useSelect)(r.store,[]),{autosave:t}=(0,a.useDispatch)(r.store);return(0,s.useCallback)((async n=>{if(!(n.target instanceof HTMLAnchorElement))return;const a=n.target.getAttribute("target");e()&&!a&&(n.preventDefault(),await t(),window.location.href=n.target.href),a&&(n.preventDefault(),window.open(n.target.href,a,"noreferrer"))}),[t,e])}},39329:(e,t,n)=>{"use strict";n.d(t,{j:()=>p});var a=n(86087),r=n(51609),s=n(7162),o=n(98420),i=n(54915),l=n(80624),c=n(52367),u=n(80682),d=n(50001);const p=()=>{const{connections:e}=(0,d.A)(),{isPublicizeEnabled:t,isPublicizeDisabledBySitePlan:n}=(0,s.usePublicizeConfig)(),{attachedMedia:p}=(0,o.A)(),m=(0,i.A)(),h=p[0]?.id||m,{validationErrors:g,isConvertible:f}=(0,c.A)(e,(0,l.A)(h)[0]),v=(0,a.useCallback)((e=>{const{id:t,is_healthy:n,connection_id:a,status:r}=e,s=a||t,o=!1!==n&&"broken"!==r,i=void 0!==g[s]&&!f,l=g[s]===u.k3;return o&&!i&&!l}),[f,g]),b=(0,a.useCallback)((e=>!t||!v(e)),[v,t]),k=(0,a.useCallback)((e=>!n&&v(e)),[v,n]);return(0,r.useMemo)((()=>({shouldBeDisabled:b,canBeTurnedOn:k})),[b,k])}},56457:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>b});var a=n(50723),r=n(1455),s=n.n(r),o=n(56427),i=n(47143),l=n(43656),c=n(27723),u=n(13022),d=n(51609),p=n.n(d),m=n(49747),h=n(60548),g=n(74820);const __=c.__,_x=c._x,f="featured-image-still-loading",v=(e,t,n,a)=>{if("none"===e||"custom"===e&&!t||"featured"===(e??"featured")&&!n)return null;const r=a("custom"===e?t:n);return r?(e=>e?.media_details?.sizes?.large?.source_url||e?.source_url)(r):f};function b({shouldDebounce:e=!0,onNewToken:t,...n}){const[r,c]=(0,d.useState)(null),[b,k]=(0,d.useState)(!0),{customText:y,imageType:E,imageId:w,template:_,setToken:C}={...(0,m.A)(),...n},{title:A,imageUrl:x}=(0,i.useSelect)((e=>{const t=e(l.store).getEditedPostAttribute("featured_media");return{title:e(l.store).getEditedPostAttribute("title"),imageUrl:v(E,w,t,e("core").getMedia)}})),j=(0,d.useMemo)((()=>y||A||" "),[y,A]),S=(0,d.useRef)(j),N=(0,d.useRef)(r);(0,d.useEffect)((()=>{N.current=r})),(0,d.useEffect)((()=>{const n=setTimeout((async()=>{if(k(!0),x===f)return;const e=await s()({path:"/jetpack/v4/social-image-generator/generate-preview-token",method:"POST",data:{text:j,image_url:x,template:_}});C?.(e),t?.(e);const n=(0,g.S)(e);n!==N.current?c(n):k(!1)}),j!==S.current&&e?1500:0);return()=>{clearTimeout(n),S.current=j}}),[j,_,x,t]);const R=(0,d.useCallback)((()=>{k(!1)}),[]);return p().createElement(a.Ay,null,p().createElement(o.BaseControl,{__nextHasNoMarginBottom:!0},p().createElement(o.BaseControl.VisualLabel,null,_x("Preview","Heading for the generated preview image","jetpack")),p().createElement("div",{className:h.A.container},p().createElement("img",{className:(0,u.A)({[h.A.hidden]:b}),src:r,alt:__("Generated preview","jetpack"),onLoad:R}),b&&p().createElement(o.Spinner,{"data-testid":"spinner"}))))}},74820:(e,t,n)=>{"use strict";n.d(t,{S:()=>r});var a=n(3924);function r(e){return e?(0,a.A)("sigenerate",{query:`t=${e}`}):""}},47453:(e,t,n)=>{"use strict";n.d(t,{m:()=>s});var a=n(51371),r=n(7757);const s=()=>{const{feature_flags:e}=(0,a.n)();return React.createElement(React.Fragment,null,e.useShareStatus?React.createElement(r.Q3,null):null)}},59493:(e,t,n)=>{"use strict";n.d(t,{O:()=>g});var a=n(63406),r=n(3924),s=n(51112),o=n(56427),i=n(47143),l=n(86087),c=n(27723),u=n(51475),d=n(31963),p=n(39630),m=n(18973);const __=c.__,_x=c._x;function h({label:e,profile_picture:t}){return React.createElement("div",{className:m.A["account-info"]},t?React.createElement("img",{className:m.A["profile-pic"],src:t,alt:e}):null,React.createElement("span",null,e))}function g({keyringResult:e,onComplete:t,isAdmin:n}){const c=(0,p.o)(),{existingConnections:g,reconnectingAccount:f}=(0,i.useSelect)((e=>{const t=e(d.M_);return{existingConnections:t.getConnections(),reconnectingAccount:t.getReconnectingAccount()}}),[]),{createErrorNotice:v}=(0,a.I)(),b=c.find((t=>t.ID===e.service)),k=(0,l.useCallback)((e=>g.some((t=>t.service_name===b?.ID&&t.external_id===e))),[g,b.ID]),y=(0,l.useMemo)((()=>{const t=[],n=[];if(!b)return{connected:t,not_connected:n};const a=[];if(b.external_users_only||a.push({label:e.external_display||e.external_name,value:e.external_ID,profile_picture:e.external_profile_picture}),b.multiple_external_user_ID_support&&e.additional_external_users?.length)for(const t of e.additional_external_users)a.push({label:t.external_name,value:t.external_ID,profile_picture:t.external_profile_picture});for(const e of a)k(e.value)?t.push(e):n.push(e);return{connected:t,not_connected:n}}),[k,e,b]),{createConnection:E,setReconnectingAccount:w}=(0,i.useDispatch)(d.M_),_=(0,l.useCallback)((async n=>{n.preventDefault(),n.stopPropagation();const a=n.target,r=new FormData(a),s=r.get("external_user_ID");if(!s)return void v(__("Please select an account to connect.","jetpack"));const o={external_user_ID:b.multiple_external_user_ID_support?s:void 0,keyring_connection_ID:e.ID,shared:"1"===r.get("shared")||void 0},i=y.not_connected.find((e=>e.value===s));f&&w(void 0),E(o,{display_name:i?.label,profile_picture:i?.profile_picture,service_name:b.ID,external_id:s}),t()}),[E,f,w,v,e.ID,t,b.multiple_external_user_ID_support,b.ID,y.not_connected]);return React.createElement("section",{className:m.A.confirmation},y.not_connected.length?React.createElement("div",null,React.createElement("p",{className:m.A["header-text"]},__("Select the account you'd like to connect. All your new blog posts will be automatically shared to this account. You'll be able to change this option in the editor sidebar when you're writing a post.","jetpack")),e?.show_linkedin_warning&&React.createElement(u.A,{type:"warning"},React.createElement("p",null,__("We could not retrieve which company pages you have access to. This is a known issue with the LinkedIn API. If you would like to connect a company page, please retry after 5 minutes.","jetpack")," ",React.createElement(o.ExternalLink,{key:"linkedin-api-documentaion",href:(0,r.A)("jetpack-linkedin-permissions-warning")},__("Learn more","jetpack")))),React.createElement("form",{className:m.A.form,onSubmit:_,id:"connection-confirmation-form"},React.createElement("div",{className:m.A["accounts-list"]},y.not_connected.map(((e,t)=>{const n=f?f.service_name===b?.ID&&f.external_id===e.value:0===t;return React.createElement("label",{key:e.value,htmlFor:`external_user_ID__${e.value}`,className:m.A["account-label"],"aria-required":!0},React.createElement("input",{type:"radio",id:`external_user_ID__${e.value}`,name:"external_user_ID",value:e.value,defaultChecked:n,className:m.A["account-input"],required:!0}),React.createElement(h,{label:e.label,profile_picture:e.profile_picture}))}))),n?React.createElement(o.BaseControl,{__nextHasNoMarginBottom:!0,id:"mark-connection-as-shared",help:`${__("If enabled, the connection will be available to all administrators, editors, and authors.","jetpack")} ${__("You can change this later.","jetpack")}`},React.createElement(o.__experimentalHStack,{justify:"flex-start",spacing:3},React.createElement("span",null,React.createElement("input",{type:"checkbox",id:"mark-connection-as-shared",name:"shared",value:"1"})),React.createElement(o.FlexBlock,{as:"label",htmlFor:"mark-connection-as-shared"},__("Mark the connection as shared","jetpack")))):null,React.createElement("input",{type:"hidden",name:"keyring_connection_ID",value:e.ID}))):React.createElement("p",{className:m.A["header-text"]},y.connected.length?_x("No more accounts/pages found.","Message shown when there are no connections found to connect","jetpack"):__("No accounts/pages found.","jetpack")),y.connected.length?React.createElement("section",null,React.createElement("h3",null,__("Already connected","jetpack")),React.createElement("ul",null,y.connected.map(((e,t)=>React.createElement("li",{key:e.label+t},React.createElement(h,{label:e.label,profile_picture:e.profile_picture})))))):null,React.createElement("div",{className:m.A["submit-wrap"]},React.createElement(s.A,{variant:"secondary",onClick:t},__("Cancel","jetpack")),y.not_connected.length?React.createElement(s.A,{form:"connection-confirmation-form",type:"submit"},__("Confirm","jetpack")):null))}},48222:(e,t,n)=>{"use strict";n.d(t,{_:()=>b});var a=n(60442),r=n(47425),s=n(3924),o=n(50723),i=n(56427),l=n(3582),c=n(47143),u=n(86087),d=n(27723),p=n(13022),m=n(31963),h=n(78362),g=n(59493),f=n(73842);const __=d.__,_x=d._x,v=()=>{const{keyringResult:e}=(0,c.useSelect)((e=>{const{getKeyringResult:t}=e(m.M_);return{keyringResult:t()}}),[]),{setKeyringResult:t,closeConnectionsModal:n,setReconnectingAccount:o}=(0,c.useDispatch)(m.M_),[d]=(0,a.A)("sm"),v=(0,u.useCallback)((()=>{t(null),o(void 0),n()}),[n,t,o]),b=Boolean(e?.ID),k=b?__("Connection confirmation","jetpack"):_x("Manage Jetpack Social connections","","jetpack"),y=(0,c.useSelect)((e=>e(l.store).canUser("update","settings")),[]);return React.createElement(i.Modal,{className:(0,p.A)(f.A.modal,{[f.A.small]:d}),onRequestClose:v,title:k},b?React.createElement(g.O,{keyringResult:e,onComplete:v,isAdmin:y}):React.createElement(React.Fragment,null,React.createElement(h.b,null),React.createElement("div",{className:f.A["manual-share"]},React.createElement("em",null,React.createElement(r.Ay,null,__("Want to share to other networks? Use our Manual Sharing feature from the editor.","jetpack")," ",React.createElement(i.ExternalLink,{href:(0,s.A)("jetpack-social-manual-sharing-help")},__("Learn more","jetpack")))))))};function b(){const e=(0,c.useSelect)((e=>e(m.M_).isConnectionsModalOpen()),[]);return React.createElement(o.Ay,{targetDom:document.body},e?React.createElement(v,null):null)}},30642:(e,t,n)=>{"use strict";n.d(t,{F:()=>d});var a=n(50723),r=n(47425),s=n(40597),o=n(56427),i=n(27723),l=n(68541),c=n(34600),u=n(27681);const __=i.__;function d(e){return React.createElement(a.Ay,null,React.createElement("div",{className:u.A.wrapper},React.createElement(o.Flex,{align:"start",justify:"start"},React.createElement(r.Ay,{variant:"body-extra-small",className:u.A.title},__("Manual sharing","jetpack")),React.createElement(s.A,{inline:!1,shift:!0,iconSize:16,placement:"top-end"},React.createElement(c.P,e))),React.createElement(l.R,{buttonStyle:"icon"})))}},34600:(e,t,n)=>{"use strict";n.d(t,{P:()=>i});var a=n(47425),r=n(3924),s=n(56427),o=n(27723);const __=o.__;function i({...e}){return React.createElement(a.Ay,e,__('Just tap the social network or "Copy to Clipboard" icon, and we\'ll format your content for sharing.',"jetpack")," ",React.createElement(s.ExternalLink,{href:(0,r.A)("jetpack-social-manual-sharing-help")},__("Learn more","jetpack")))}},55858:(e,t,n)=>{"use strict";n.d(t,{A:()=>v});var a=n(51112),r=n(50723),s=n(94715),o=n(56427),i=n(86087),l=n(27723),c=n(51113),u=n(31249),d=n(13022),p=n(52367),m=n(2204),h=n(18699),g=n(97671);const __=l.__,f=e=>t=>{t.currentTarget.focus(),e()};function v({buttonLabel:e,subTitle:t,mediaId:n=null,mediaDetails:l={},onChange:v,wrapperClassName:b,allowedMediaTypes:k=null}){const{mediaData:{width:y,height:E,sourceUrl:w}={},metaData:{mime:_,length:C=null}={},previewData:{width:A,height:x,sourceUrl:j}={}}=l,S=!(w&&y&&E&&_),N=(0,i.useCallback)((()=>v(null)),[v]),R=(0,i.useCallback)((e=>{v(e)}),[v]),P=(0,i.useCallback)((e=>{const t=(0,p.c)(_);return t&&!C?null:React.createElement("div",{className:(0,d.A)(g.A["preview-wrapper"],b)},React.createElement("button",{className:g.A.remove,onClick:N},React.createElement(o.VisuallyHidden,null,__("Remove media","jetpack")),React.createElement(c.A,{icon:u.A})),React.createElement("button",{className:g.A.preview,onClick:f(e),"data-unstable-ignore-focus-outside-for-relatedtarget":".media-modal"},t?React.createElement(h.A,{sourceUrl:w,mime:_,duration:C}):React.createElement(o.ResponsiveWrapper,{naturalWidth:A||y,naturalHeight:x||E,isInline:!0},React.createElement("img",{src:j||w,alt:"",className:g.A["preview-image"]}))))}),[E,C,_,N,x,j,A,w,y,b]),L=(0,i.useCallback)((r=>React.createElement("div",{className:g.A.container},n?React.createElement(React.Fragment,null,React.createElement("button",{className:g.A["remove-loading"],onClick:N},React.createElement(o.VisuallyHidden,null,__("Remove media","jetpack")),React.createElement(c.A,{icon:u.A})),React.createElement(o.Spinner,{"data-testid":"spinner"})):React.createElement(React.Fragment,null,React.createElement(a.A,{variant:"secondary",size:"small",className:g.A.preview,onClick:f(r),"data-unstable-ignore-focus-outside-for-relatedtarget":".media-modal"},e),t&&React.createElement("span",null,t)))),[e,n,N,t]),T=(0,i.useCallback)((({open:e})=>n&&!S?P(e):L(e)),[n,S,P,L]);return React.createElement(r.Ay,null,React.createElement(s.MediaUploadCheck,null,React.createElement(s.MediaUpload,{allowedTypes:k??m.UB,title:e,onSelect:R,render:T,value:n})))}},12015:(e,t,n)=>{"use strict";n.d(t,{A:()=>f});var a=n(50723),r=n(3924),s=n(85985),o=n(56427),i=n(86087),l=n(27723),c=n(51609),u=n.n(c),d=n(98420),p=n(80624),m=n(55858),h=n(35270);const __=l.__,g=__("Choose Media","jetpack");function f({disabled:e=!1,disabledNoticeMessage:t="",CustomNotice:n=null,analyticsData:l}){const{attachedMedia:f,updateAttachedMedia:v}=(0,d.A)(),{recordEvent:b}=(0,s.st)(),[k]=(0,p.A)(f[0]?.id),y=(0,i.useCallback)((e=>{if(e){b("jetpack_social_media_attached",l);const{id:t,url:n,mime:a}=e;v([{id:t,url:n,type:a}])}else v([])}),[l,b,v]),E=e?o.Disabled:c.Fragment,w=e?{className:h.A.disabled,"data-testid":"disabled"}:{};return u().createElement(a.Ay,null,u().createElement(o.BaseControl,{__nextHasNoMarginBottom:!0,className:h.A.wrapper},u().createElement(o.BaseControl.VisualLabel,null,__("Attached Media","jetpack")),n||(t?u().createElement(o.Notice,{className:h.A.notice,isDismissible:!1,status:"warning"},u().createElement("p",{"data-testid":"notice"},t)):u().createElement("p",{className:h.A.subtitle},__("Choose a visual to accompany your post.","jetpack"))),u().createElement(E,w,u().createElement(m.A,{buttonLabel:g,subTitle:__("Add an image or video","jetpack"),mediaId:f[0]?.id,mediaDetails:k,onChange:y}),u().createElement(o.ExternalLink,{href:(0,r.A)("jetpack-social-media-support-information"),className:h.A["learn-more"]},__("Learn photo and video best practices","jetpack")))))}},70694:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var a=n(85985),r=n(56427),s=n(27723),o=n(51609);const __=s.__,_n=s._n;function i({message:e="",onChange:t,disabled:n,maxLength:i,analyticsData:l=null}){const{recordEvent:c}=(0,a.st)(),u=(0,o.useRef)(!0),d=i-e.length,p=(0,o.useCallback)((e=>{t(e),u.current&&(c("jetpack_social_custom_message_changed",l),u.current=!1)}),[l,u,t,c]);return React.createElement(r.TextareaControl,{value:e,label:__("Message","jetpack"),onChange:p,disabled:n,maxLength:i,placeholder:__("Write a custom message for your social audience here. This message will override your social post content.","jetpack"),rows:4,help:(0,s.sprintf)(/* translators: placeholder is a number. */ _n("%d character remaining","%d characters remaining",d,"jetpack"),d),__nextHasNoMarginBottom:!0})}},51475:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});var a=n(56427),r=n(27723),s=n(51113),o=n(31249),i=n(13022),l=n(28120),c=n.n(l),u=n(93794);const __=r.__,d=({children:e,type:t="default",actions:n=[],onDismiss:r})=>{const l=(0,i.A)(u.A.notice,u.A[`notice--${t}`]);return React.createElement("div",{className:l},React.createElement("div",{className:u.A.content}," ",e," "),r&&React.createElement("button",{className:u.A.dismiss,onClick:r},React.createElement(a.VisuallyHidden,null,__("Dismiss notice","jetpack")),React.createElement(s.A,{icon:o.A})),n&&n.length>0&&React.createElement("div",{className:u.A.actions},n.map((e=>e))))};d.propTypes={children:c().node.isRequired,type:c().oneOf(["default","highlight","warning","error"]),actions:c().arrayOf(c().element),onDismiss:c().func};const p=d},66561:(e,t,n)=>{"use strict";n.d(t,{A:()=>b});var a=n(56427),r=n(47143),s=n(43656),o=n(86087),i=n(27723),l=n(77627),c=n(88584),u=n(49036),d=n(50001),p=n(51371),m=n(70925),h=n(30642),g=n(51353),f=n(1101),v=n(87170);const __=i.__,b=({prePublish:e,children:t})=>{const{refresh:n,hasConnections:i,hasEnabledConnections:b}=(0,d.A)(),k=(0,r.useSelect)((e=>e(s.store).isCurrentPostPublished()),[]),{feature_flags:y}=(0,p.n)(),E=(0,c.A)(),{isPublicizeEnabled:w,hidePublicizeFeature:_,togglePublicizeFeature:C}=(0,l.A)();(0,u._D)((function(){b&&n()}),[b,n]);const A=e?o.Fragment:a.PanelBody,x=e?{}:{title:__("Share this post","jetpack"),className:v.A.panel};return E(),React.createElement(A,x,t,!_&&React.createElement(o.Fragment,null,!k&&React.createElement(a.ToggleControl,{label:w?__("Share when publishing","jetpack"):__("Sharing is disabled","jetpack",0),onChange:C,checked:w&&i,disabled:!i,__nextHasNoMarginBottom:!0}),React.createElement(m.A,null),React.createElement(f.O,null)),k&&React.createElement(React.Fragment,null,y.useShareStatus?React.createElement(g.E,null):null,React.createElement(h.F,null)))}},65843:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var a=n(85985),r=n(47143),s=n(14309),o=n(43656),i=n(27723),l=n(34600),c=n(68541),u=n(5780);const __=i.__;function d(){const{isCurrentPostPublished:e}=(0,r.useSelect)((e=>e(o.store)),[]);return e()?React.createElement(s.PluginPostPublishPanel,{initialOpen:!0,title:__("Manual sharing","jetpack"),id:"publicize-manual-sharing",icon:React.createElement(a.jt,null)},React.createElement(l.P,{className:u.A.description,variant:"body-small"}),React.createElement(c.R,null)):null}},26029:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var a=n(50723),r=n(65843),s=n(39691),o=n(89640);const i=()=>React.createElement(a.Ay,{targetDom:document.body},React.createElement(o.p,null),React.createElement(r.A,null),React.createElement(s.A,null))},39691:(e,t,n)=>{"use strict";n.d(t,{A:()=>m});var a=n(3924),r=n(85985),s=n(1455),o=n.n(s),i=n(14309),l=n(86087),c=n(77627),u=n(49036),d=n(50001),p=n(25300);const m=()=>{const[e,t]=(0,l.useState)((0,r.$i)()?.social?.reviewRequestDismissed??!0),[n,s]=(0,l.useState)(!1),{hasEnabledConnections:m}=(0,d.A)(),{isPublicizeEnabled:h,isPostAlreadyShared:g}=(0,c.A)();(0,u.Wv)((()=>{s(!g&&h&&m)}),[g,m,h]);const f=(0,l.useCallback)((()=>{const e=(0,r.$i)()?.social?.dismissReviewRequestPath??null;o()({path:e,method:"POST",data:{dismissed:!0}}).catch((e=>{throw e})),t(!0)}),[]);return e||!n?null:React.createElement(i.PluginPostPublishPanel,{id:"publicize-title"},React.createElement(p.A,{href:(0,a.A)("jetpack-social-plugin-reviews"),onClose:f}))}},89640:(e,t,n)=>{"use strict";n.d(t,{p:()=>m});var a=n(47143),r=n(14309),s=n(43656),o=n(92214),i=n(383),l=n(57275),c=n(49036),u=n(31963),d=n(51371),p=n(79594);function m(){const{isPublicizeEnabled:e}=(0,i.h)(),{pollForPostShareStatus:t}=(0,a.useDispatch)(u.M_),{feature_flags:n}=(0,d.n)(),{isPostPublished:m}=(0,a.useSelect)((e=>({isPostPublished:e(s.store).isCurrentPostPublished()})),[]),h=(0,l.z)((0,o.P)()),g=(0,l.z)((0,a.useSelect)((e=>e(u.M_).getEnabledConnections()),[])),f=e&&g.length>0&&h,v=n.useShareStatus&&f&&m;return(0,c._D)((()=>{v&&t({isRequestComplete:({postShareStatus:e})=>e.done})}),[v]),v?React.createElement(r.PluginPostPublishPanel,{id:"publicize-share-status"},React.createElement(p.q,null)):null}},79594:(e,t,n)=>{"use strict";n.d(t,{q:()=>u});var a=n(56427),r=n(47143),s=n(27723),o=n(31963),i=n(51475),l=n(7757),c=n(55387);const __=s.__,_n=s._n;function u({reShareTimestamp:e}){const t=(0,r.useSelect)((e=>e(o.M_).getPostShareStatus()),[]),n=e?t.shares.filter((t=>t.timestamp>e)):t.shares;if(t.polling)return React.createElement("div",{className:c.A["loading-block"]},React.createElement(a.Spinner,null),React.createElement("span",{className:c.A["loading-text"]},__("Sharing to your social media…","jetpack")));const u=n.filter((e=>"failure"===e.status)).length;return u>0?React.createElement(i.A,{type:"warning"},React.createElement("p",null,(0,s.sprintf)(/* translators: %d: number of failed shares */ _n("Your post was unable to be shared to %d connection.","Your post was unable to be shared to %d connections.",u,"jetpack"),u)),React.createElement(l.JU,{variant:"link",analyticsData:{location:"post-publish-panel"}},__("Review status and try again","jetpack"))):t.done?n.length?React.createElement(React.Fragment,null,React.createElement("b",null,__("Your post was shared.","jetpack"))," ","🎉",React.createElement("p",null,(0,s.sprintf)(/* translators: %d: number of connections to which a post was shared */ _n("You post was successfuly shared to %d connection.","You post was successfuly shared to %d connections.",n.length,"jetpack"),n.length)),React.createElement(l.JU,{analyticsData:{location:e?"resharing-section":"post-publish-panel"}})):React.createElement("span",null,__("Your post was not shared.","jetpack")):React.createElement("span",null,__("The request to share your post is still in progress.","jetpack")," ",__("Please refresh and check again in a few minutes.","jetpack"))}},51353:(e,t,n)=>{"use strict";n.d(t,{E:()=>c});var a=n(47143),r=n(51609),s=n(31963),o=n(79594),i=n(7757),l=n(61420);const c=()=>{const e=(0,a.useSelect)((e=>e(s.M_).getPostShareStatus()),[]),[t,n]=(0,r.useState)(null);return(0,r.useEffect)((()=>{e.polling&&n(Date.now()/1e3)}),[e.polling]),t?React.createElement("div",{className:l.A.wrapper},React.createElement(o.q,{reShareTimestamp:t})):React.createElement(i.JU,{withWrapper:!0,analyticsData:{location:"editor"}})}},25300:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var a=n(50723),r=n(51112),s=n(85985),o=n(27723),i=n(51609),l=n(76445);const __=o.__,c=({href:e,onClose:t})=>{const{recordEvent:n}=(0,s.st)({pageViewEventName:"social_plugin_review_prompt",pageViewNamespace:"jetpack",pageViewSuffix:"view"}),c=(0,i.useCallback)((()=>{n("jetpack_social_plugin_review_prompt_new_review_click")}),[n]),u=(0,i.useCallback)((()=>{n("jetpack_social_plugin_review_prompt_dismiss_click"),t()}),[n,t]);return React.createElement(a.Ay,null,React.createElement("div",{className:l.A.prompt},React.createElement("h2",{className:l.A.header},(0,o.sprintf)(/* translators: %s is the celebration emoji */ @@ -20,7 +20,7 @@ __("Presto! %s","jetpack"),String.fromCodePoint(127881))),React.createElement("p __("%d connections","jetpack"),e.length):__("Connected","jetpack"))}},78362:(e,t,n)=>{"use strict";n.d(t,{b:()=>l});var a=n(47143),r=n(31963),s=n(59008),o=n(42475),i=n(39630);function l(){const e=(0,i.o)(),t=(0,a.useSelect)((e=>e(r.M_).getConnections().reduce(((e,t)=>(e[t.service_name]||(e[t.service_name]=[]),e[t.service_name].push(t),e)),{})),[]),n=(0,a.useSelect)((e=>e(r.M_).getReconnectingAccount()),[]);return React.createElement("ul",{className:o.A.services},e.map((e=>React.createElement("li",{key:e.ID,className:o.A["service-list-item"]},React.createElement(s.j,{service:e,serviceConnections:t[e.ID]||[],isPanelDefaultOpen:n?.service_name===e.ID})))))}},70745:(e,t,n)=>{"use strict";n.d(t,{P:()=>u});var a=n(63406),r=n(47143),s=n(86087),o=n(27723),i=n(31963),l=n(70407);const __=o.__,c=e=>/^@?\b([A-Z0-9_]+)@([A-Z0-9.-]+\.[A-Z]{2,})$/gi.test(e);function u({service:e,onConfirm:t}){const{createErrorNotice:n}=(0,a.I)(),o=(0,r.useSelect)((e=>e(i.M_).isMastodonAccountAlreadyConnected),[]),u=(0,r.useSelect)((e=>e(i.M_).isBlueskyAccountAlreadyConnected),[]);return(0,s.useCallback)((a=>{const r=new URL(e.connect_URL);switch(e.ID){case"mastodon":{const e=a.get("instance").toString().trim();if(!c(e))return void n(__("Invalid Mastodon username","jetpack"));if(o?.(e))return void n(__("This Mastodon account is already connected","jetpack"));r.searchParams.set("instance",e);break}case"bluesky":{const e=(a.get("handle")?.toString()||"").trim().replace(/^@/,"");if(!function(e){const t=e.split(".").filter(Boolean);return!(t.length<2)&&t.every((e=>/^[a-z0-9_-]+$/i.test(e)))}(e))return void n(__("Invalid Bluesky handle","jetpack"));if(u?.(e))return void n(__("This Bluesky account is already connected","jetpack"));r.searchParams.set("handle",e),r.searchParams.set("app_password",(a.get("app_password")?.toString()||"").trim());break}}(0,l.requestExternalAccess)(r.toString(),t)}),[n,u,o,t,e.ID,e.connect_URL])}},9515:(e,t,n)=>{"use strict";n.d(t,{h:()=>s});var a=n(51609),r=n(48712);function s(){const e=(0,r.h)();return(0,a.useCallback)((t=>e(t)?.label||t[0].toUpperCase()+t.substring(1)),[e])}},48712:(e,t,n)=>{"use strict";n.d(t,{h:()=>s});var a=n(51609),r=n(39630);function s(){const e=(0,r.o)(),t=(0,a.useMemo)((()=>e.reduce(((e,t)=>(e[t.ID]=t,e)),{})),[e]);return(0,a.useCallback)((e=>t[e]),[t])}},39630:(e,t,n)=>{"use strict";n.d(t,{o:()=>f});var a=n(96072),r=n.n(a),s=n(78478),o=n(56427),i=n(86087),l=n(27723),c=n(30081),u=n(26818),d=n(43443),p=n(11326),m=n(65398),h=n(9791),g=n(51371);const __=l.__;function f(){const e=(0,i.useMemo)((()=>{const{supported_services:e}=(0,g.n)();return e.reduce(((e,t)=>({...e,[t.ID]:t})),{})}),[]),t={text:__("New","jetpack"),style:{background:"#e9eff5",color:"#0675C4"}};return[{...e.facebook,icon:e=>React.createElement(s.M5,r()({serviceName:"facebook"},e)),description:__("Share to your pages","jetpack"),examples:[()=>React.createElement(React.Fragment,null,(0,i.createInterpolateElement)(__("Connect to automatically share posts on your Facebook page.","jetpack"),{strong:React.createElement("strong",null)})),()=>React.createElement("img",{src:c,alt:__("Add Facebook connection","jetpack")})]},{...e["instagram-business"],icon:e=>React.createElement(s.M5,r()({serviceName:"instagram"},e)),description:__("Share to your Instagram Business account.","jetpack"),examples:[()=>React.createElement(React.Fragment,null,__("Drive engagement and save time by automatically sharing images to Instagram when you publish blog posts.","jetpack"),React.createElement("div",{className:"instagram-business__requirements"},React.createElement("h4",null,__("Requirements for connecting Instagram:","jetpack")),React.createElement("ol",null,React.createElement("li",null,__("You must have an Instagram Business account.","jetpack")),React.createElement("li",null,__("Your Instagram Business account must be linked to a Facebook page.","jetpack")))),(0,i.createInterpolateElement)(__("When you click “connect” you'll be asked to log into Facebook. If your Instagram Business account isn't listed, ensure it's linked to a Facebook page.","jetpack"),{strong:React.createElement("strong",null),i:React.createElement("em",null)}),React.createElement("br",null),React.createElement("br",null),React.createElement(o.ExternalLink,{className:"instagram-business__help-link",href:"https://jetpack.com/redirect/?source=jetpack-social-instagram-business-help"},__("Learn how to convert & link your Instagram account.","jetpack"))),()=>React.createElement("img",{src:u,alt:__("Add Instagram photo","jetpack")})]},{...e.threads,icon:e=>React.createElement(s.M5,r()({serviceName:"threads"},e)),description:__("Share posts to your Threads feed.","jetpack"),examples:[()=>React.createElement(React.Fragment,null,__("Increase your presence in social media by sharing your posts automatically to Threads.","jetpack")),()=>React.createElement("img",{src:m,alt:__("Add Threads connection","jetpack")})]},{...e.bluesky,needsCustomInputs:!0,icon:e=>React.createElement(s.M5,r()({serviceName:"bluesky"},e)),badges:[t],description:__("Share with your network.","jetpack"),examples:[()=>React.createElement(React.Fragment,null,__("To share to Bluesky please enter your Bluesky handle and app password below, then click connect.","jetpack"))]},{...e.linkedin,icon:e=>React.createElement(s.M5,r()({serviceName:"linkedin"},e)),description:__("Share with your LinkedIn community.","jetpack"),examples:[()=>React.createElement(React.Fragment,null,(0,i.createInterpolateElement)(__("Connect to automatically share posts with your LinkedIn connections.","jetpack"),{strong:React.createElement("strong",null)})),()=>React.createElement("img",{src:d,alt:__("Add LinkedIn connection","jetpack")})]},{...e.nextdoor,icon:e=>React.createElement(s.M5,r()({serviceName:"nextdoor"},e)),description:__("Share on communities","jetpack"),examples:[()=>React.createElement(React.Fragment,null,(0,i.createInterpolateElement)(__("Connect with friends, neighbors, and local businesses by automatically sharing your posts to Nextdoor.","jetpack"),{strong:React.createElement("strong",null)})),()=>React.createElement("img",{src:p,alt:__("Add Instagram photo","jetpack")})]},{...e.tumblr,icon:e=>React.createElement(s.M5,r()({serviceName:"tumblr-alt"},e)),description:__("Share to your Tumblr blog.","jetpack"),examples:[()=>React.createElement(React.Fragment,null,(0,i.createInterpolateElement)(__("Connect to automatically share posts to your Tumblr blog.","jetpack"),{strong:React.createElement("strong",null)})),()=>React.createElement("img",{src:h,alt:__("Add Tumblr connection","jetpack")})]},{...e.mastodon,needsCustomInputs:!0,icon:e=>React.createElement(s.M5,r()({serviceName:"mastodon"},e)),description:__("Share with your network.","jetpack"),examples:[()=>React.createElement(React.Fragment,null,__("To share to Mastodon please enter your Mastodon username below, then click connect.","jetpack"))]}].filter((e=>Boolean(e.ID)))}},73905:(e,t,n)=>{"use strict";n.d(t,{t:()=>r});var a=n(27723);const __=a.__,r=[{label:__("X","jetpack"),networkName:"x",url:"https://x.com/intent/tweet?text={{text}}&url={{url}}"},{label:__("WhatsApp","jetpack"),networkName:"whatsapp",url:"https://api.whatsapp.com/send?text={{text}}"},{label:__("Facebook","jetpack"),networkName:"facebook",url:"https://www.facebook.com/sharer/sharer.php?u={{url}}"}]},49192:(e,t,n)=>{"use strict";n(68541)},68541:(e,t,n)=>{"use strict";n.d(t,{R:()=>h});var a=n(78478),r=n(51112),s=n(47425),o=n(69222),i=n(85985),l=n(86087),c=n(27723),u=n(13022),d=n(73905),p=n(99811),m=n(53975);const __=c.__;function h({buttonStyle:e="icon",buttonVariant:t}){const n=(0,m.i)(),{recordEvent:h}=(0,i.st)(),g=(0,l.useCallback)((()=>{h("jetpack_social_share_button_clicked",{network:"clipboard"})}),[h]),f=(0,l.useCallback)((()=>n("{{text}}\n{{url}}",!1)),[n]),v=(0,l.useCallback)((function(e,t){return function(n){n.preventDefault(),h("jetpack_social_share_button_clicked",t),window.open(e,"","menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600")}}),[h]);return React.createElement("div",{className:(0,u.A)(p.A["share-buttons"],{[p.A.vertical]:e.includes("text")})},d.t.map((({label:o,networkName:i,url:l})=>{const u=n(l),d="icon"===e?React.createElement(a.M5,{serviceName:i}):null,m=(0,c.sprintf)(/* translators: %s is the name of a social network, e.g. Twitter. */ __("Share on %s","jetpack"),o);return React.createElement("div",{className:p.A.container,key:i},React.createElement(r.A,{icon:d,variant:t,"aria-label":m,href:u,target:"_blank",rel:"noopener noreferrer",onClick:v(u,{network:i}),className:"icon"===e?p.A[i]:"has-text"},"icon"===e?null:React.createElement(React.Fragment,null,"icon-text"===e&&React.createElement(a.M5,{className:p.A[i],serviceName:i}),React.createElement(s.Ay,{className:p.A.label,component:"span"},m))))})),React.createElement("div",{className:p.A.container},React.createElement(o.A,{buttonStyle:e,onCopy:g,textToCopy:f,className:"icon"===e?p.A.clipboard:" has-text",variant:t},"icon"===e?null:React.createElement(s.Ay,{className:p.A.label,component:"span"},__("Copy to clipboard","jetpack")))))}},53975:(e,t,n)=>{"use strict";n.d(t,{i:()=>i});var a=n(47143),r=n(43656),s=n(86087),o=n(383);function i(){const{shareMessage:e}=(0,o.h)(),{message:t,link:n}=(0,a.useSelect)((t=>{const{getEditedPostAttribute:n}=t(r.store);return{link:n("link"),message:e||n("meta")?.jetpack_seo_html_title||n("title")}}),[e]);return(0,s.useCallback)(((e,a=!0)=>{let r=t,s=n;return e.includes("{{url}}")||(r=r+"\n\n"+s,s=""),a&&(r=encodeURIComponent(r),s=encodeURIComponent(s)),e.replace("{{text}}",r).replace("{{url}}",s)}),[n,t])}},1101:(e,t,n)=>{"use strict";n.d(t,{O:()=>v});var a=n(85985),r=n(56427),s=n(47143),o=n(43656),i=n(86087),l=n(27723),c=n(692),u=n(92214),d=n(77627),p=n(31873),m=n(31963),h=n(51371);const __=l.__;function g(e=__("Unable to share the Post","jetpack")){const{createErrorNotice:t}=(0,s.dispatch)(c.store);t(e,{id:"publicize-post-share-message"})}function f(){const{isPublicizeEnabled:e}=(0,d.A)(),{isFetching:t,isError:n,isSuccess:l,doPublicize:f}=(0,p.A)(),v=(0,s.useSelect)((e=>e(o.store).isCurrentPostPublished()),[]),{feature_flags:b}=(0,h.n)(),{pollForPostShareStatus:k}=(0,s.useDispatch)(m.M_),{recordEvent:y}=(0,a.st)();(0,i.useEffect)((()=>{if(!t)return n?g():void(l&&function(){const{createSuccessNotice:e}=(0,s.dispatch)(c.store);e(__("Request submitted successfully.","jetpack"),{id:"publicize-post-share-message",type:"snackbar"})}())}),[t,n,l]);const E=(0,u.P)(),w=!e||!E||!v||t,_=(0,i.useCallback)((async()=>{if(!v)return g(__("You must publish your post before you can share it.","jetpack"));(0,s.dispatch)(c.store).removeNotice("publicize-post-share-message"),y("jetpack_social_reshare_clicked",{location:"editor",environment:(0,a.d9)()?"atomic":(0,a.Sy)()?"simple":"jetpack"}),await f(),b.useShareStatus&&k()}),[v,y,f,b.useShareStatus,k]);return React.createElement(r.Button,{variant:"secondary",onClick:_,disabled:w,isBusy:t},__("Share post","jetpack"))}function v(){const{isRePublicizeUpgradableViaUpsell:e}=(0,d.A)(),t=(0,s.useSelect)((e=>e(o.store).isCurrentPostPublished()),[]),{hasConnections:n}=(0,s.useSelect)((e=>e(m.M_)),[]);return t?e?null:n()?React.createElement(r.PanelRow,null,React.createElement(f,null)):null:null}},7757:(e,t,n)=>{"use strict";n.d(t,{JU:()=>r.g,Q3:()=>a.Q});var a=n(59032),r=n(95499)},95499:(e,t,n)=>{"use strict";n.d(t,{g:()=>m});var a=n(96072),r=n.n(a),s=n(85985),o=n(56427),i=n(47143),l=n(27723),c=n(51609),u=n(31963),d=n(51371),p=n(14150);const __=l.__,m=(0,c.forwardRef)((({withWrapper:e=!1,analyticsData:t=null,...n},a)=>{const{recordEvent:l}=(0,s.st)(),{openShareStatusModal:m}=(0,i.useDispatch)(u.M_),h=(0,i.useSelect)((e=>e(u.M_).getPostShareStatus()),[]),g=(0,c.useCallback)((()=>{l("jetpack_social_share_status_modal_opened",t),m()}),[t,m,l]);if(!h||!h.shares||0===h.shares.length)return null;const{feature_flags:f}=(0,d.n)();if(!f.useShareStatus)return null;const v=React.createElement(o.Button,r()({variant:"secondary",onClick:g},n,{ref:a}),n.children||__("View sharing history","jetpack"));return e?React.createElement("div",{className:p.A["trigger-wrapper"]},v):v}))},59032:(e,t,n)=>{"use strict";n.d(t,{Q:()=>d});var a=n(50723),r=n(56427),s=n(47143),o=n(27723),i=n(31963),l=n(30557),c=n(14150);const __=o.__;function u(){const{closeShareStatusModal:e}=(0,s.useDispatch)(i.M_);return React.createElement("div",{className:c.A.wrapper},React.createElement(r.Modal,{onRequestClose:e,title:__("Sharing status","jetpack"),className:c.A.modal},React.createElement(l.W,null)))}function d(){const e=(0,s.useSelect)((e=>e(i.M_).isShareStatusModalOpen()),[]);return React.createElement(a.Ay,{targetDom:document.body},e?React.createElement(u,null):null)}},14329:(e,t,n)=>{"use strict";n.d(t,{f:()=>h});var a=n(40597),r=n(85985),s=n(56427),o=n(47143),i=n(43656),l=n(27723),c=n(51609),u=n(31873),d=n(31963),p=n(59061),m=n(14150);const __=l.__,_x=l._x;function h({shareItem:e}){const{recordEvent:t}=(0,r.st)(),n=(0,o.useSelect)((e=>e(i.store).getCurrentPostId()),[]),l=(0,o.useSelect)((e=>e(d.M_).getConnections()),[]),h=l.some((0,p.eJ)(e)),{doPublicize:g}=(0,u.A)(n),{pollForPostShareStatus:f}=(0,o.useDispatch)(d.M_),[v,b]=(0,c.useState)(!1),k=(0,c.useCallback)((async()=>{t("jetpack_social_share_status_retry",{service:e.service,location:"modal"});const n=(0,p.eJ)(e),a=l.filter((e=>!n(e))).map((({connection_id:e})=>e));a.length!==l.length&&(b(!0),await g(a),await f({isRequestComplete({postShareStatus:t,lastTimestamp:n}){const a=t.shares.some((t=>t.timestamp>n&&(0,p.Ri)(e,t)));return a&&b(!1),a}}))}),[t,e,l,g,f]);return v?React.createElement(s.Spinner,null):React.createElement("div",{className:m.A["retry-wrapper"]},React.createElement(s.Button,{variant:h?"link":"tertiary",onClick:h?k:void 0,disabled:!h},__("Retry","jetpack")),h?null:React.createElement(a.A,{shift:!0,placement:"bottom-end"},e.external_id?_x("This connection has been removed.","Social media connection","jetpack"):_x("This connection has been reconnected or removed.","Social media connection","jetpack")))}},30557:(e,t,n)=>{"use strict";n.d(t,{W:()=>o});var a=n(47143),r=n(31963),s=n(48377);function o(){const e=(0,a.useSelect)((e=>e(r.M_).getPostShareStatus()),[]);return React.createElement("div",null,React.createElement(s.S,{postShareStatus:e}))}},368:(e,t,n)=>{"use strict";n.d(t,{C:()=>l});var a=n(85985),r=n(56427),s=n(27723),o=n(51609),i=n(14329);const __=s.__;function l({shareItem:e}){const{recordEvent:t}=(0,a.st)(),n=(0,o.useCallback)((()=>{t("jetpack_social_share_status_view",{service:e.service,location:"modal"})}),[t,e.service]);return"success"===e.status?React.createElement(r.ExternalLink,{href:e.message,onClick:n},__("View","jetpack")):React.createElement(i.f,{shareItem:e})}},69662:(e,t,n)=>{"use strict";n.d(t,{a:()=>p});var a=n(40597),r=n(47425),s=n(27723),o=n(51113),i=n(83883),l=n(13022),c=n(51609),u=n.n(c),d=n(14150);const __=s.__,_x=s._x;function p({status:e,message:t}){const n="success"===e,s=n?u().createElement(o.A,{className:d.A["share-status-icon"],icon:i.A}):u().createElement(a.A,{shift:!0,inline:!1,title:__("Sharing failed with the following message:","jetpack"),className:d.A["share-status-icon-tooltip"]},u().createElement(r.Ay,{variant:"body-small",className:d.A["tooltip-text"]},t));return u().createElement("div",{className:(0,l.A)(d.A["share-status-wrapper"],{[d.A["share-status-success"]]:n,[d.A["share-status-failure"]]:!n})},u().createElement("div",{className:d.A["share-status-icon"]},s),u().createElement("div",{className:d.A["share-status-label"]},n?_x("Shared","The sharing is successful","jetpack"):__("Failed","jetpack")))}},48377:(e,t,n)=>{"use strict";n.d(t,{S:()=>u});var a=n(38443),r=n(27723),s=n(12141),o=n(368),i=n(69662),l=n(14150);const __=r.__,c=e=>`${e.external_id||e.connection_id}:${e.timestamp}`;function u({postShareStatus:e}){return React.createElement("div",{className:l.A["dataview-wrapper"]},React.createElement("div",{className:"dataviews-wrapper"},React.createElement("table",{className:"dataviews-view-table"},React.createElement("thead",null,React.createElement("tr",{className:"dataviews-view-table__row"},React.createElement("th",null,__("Connection","jetpack")),React.createElement("th",null,__("Time","jetpack")),React.createElement("th",null,__("Status","jetpack")),React.createElement("th",null,__("Actions","jetpack")))),React.createElement("tbody",null,e.shares.map((e=>React.createElement("tr",{key:c(e),className:"dataviews-view-table__row"},React.createElement("td",null,React.createElement("div",{className:"dataviews-view-table__cell-content-wrapper"},React.createElement("div",{className:l.A["connection-name"]},React.createElement(s.A,{serviceName:e.service,label:e.external_name,profilePicture:e.profile_picture}),React.createElement("div",{className:l.A["share-item-name-wrapper"]},React.createElement("div",{className:l.A["share-item-name"]},e.external_name))))),React.createElement("td",null,React.createElement("div",{className:"dataviews-view-table__cell-content-wrapper"},(0,a.humanTimeDiff)(1e3*e.timestamp,(0,a.getDate)(null)))),React.createElement("td",null,React.createElement("div",{className:"dataviews-view-table__cell-content-wrapper"},React.createElement(i.a,{status:e.status,message:e.message}))),React.createElement("td",null,React.createElement("div",{className:"dataviews-view-table__cell-content-wrapper"},React.createElement(o.C,{shareItem:e}))))))))))}},29341:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var a=n(63406),r=n(56427),s=n(86087),o=n(27723),i=n(49747),l=n(38394),c=n(56457),u=n(77932);const __=o.__,_x=o._x,d=({prePublish:e=!1})=>{const t=e?s.Fragment:r.PanelBody,n=e?{}:{title:__("Social Image Generator","jetpack")},{isEnabled:o,setIsEnabled:d}=(0,i.A)(),[p,m]=(0,s.useState)(!1),h=(0,s.useCallback)((()=>m(!0)),[]),g=(0,s.useCallback)((()=>m(!1)),[]),[f,v]=(0,s.useState)(null),{createErrorNotice:b,createSuccessNotice:k}=(0,a.I)(),{save:y,isSaving:E}=(0,l.i)({onError:e=>{b(e.message)},onSuccess:()=>{k(__("Image saved to media library.","jetpack"))}}),w=(0,s.useCallback)((()=>{y(`https://s0.wp.com/_si/?t=${f}`,"generated-image.jpg")}),[f,y]);return React.createElement(t,n,p&&React.createElement(u.A,{onClose:g}),React.createElement(r.ToggleControl,{label:__("Enable Social Image","jetpack"),help:o?"":__("Social Image is disabled for this post.","jetpack"),checked:o,onChange:d,__nextHasNoMarginBottom:!0}),o&&React.createElement(React.Fragment,null,React.createElement("hr",null),React.createElement(c.Ay,{onNewToken:v}),React.createElement("hr",null),React.createElement(r.__experimentalHStack,{spacing:2,wrap:!0},React.createElement(r.Button,{variant:"secondary",onClick:h,label:__("Open the Social Image Generator settings","jetpack")},__("Settings","jetpack")),React.createElement(r.Button,{variant:"secondary",onClick:w,label:__("Save the generated image to your media library.","jetpack"),disabled:!f||E},E?_x("Saving…","Saving the file to media library","jetpack"):__("Save to media library","jetpack")))))}},77932:(e,t,n)=>{"use strict";n.d(t,{A:()=>g});var a=n(50723),r=n(56427),s=n(86087),o=n(27723),i=n(49747),l=n(80624),c=n(56457),u=n(55858),d=n(81299),p=n(53744);const __=o.__,m=["image/jpeg","image/png"],h=__("Choose Image","jetpack"),g=({onClose:e})=>{const{customText:t,imageType:n,imageId:o,template:g,updateSettings:f}=(0,i.A)(),[v,b]=(0,s.useState)(o),[k,y]=(0,s.useState)(n||"featured"),[E,w]=(0,s.useState)(t),[_,C]=(0,s.useState)(g),[A]=(0,l.A)(v),x=(0,s.useCallback)((()=>{f({template:_,image_type:k,custom_text:E||"",..."custom"===k&&{image_id:v}}),e()}),[f,_,k,v,E,e]),j=(0,s.useCallback)((e=>{b(e?.id)}),[b]);return React.createElement(a.Ay,{targetDom:document.body},React.createElement(r.Modal,{onRequestClose:e},React.createElement(c.Ay,{className:p.A.preview,imageId:v,customText:E,imageType:k,template:_}),React.createElement(r.SelectControl,{label:__("Image Type","jetpack"),value:k||"featured",options:[{label:__("Featured Image","jetpack"),value:"featured"},{label:__("Custom Image","jetpack"),value:"custom"},{label:__("No Image","jetpack"),value:"none"}],onChange:y,__nextHasNoMarginBottom:!0}),"custom"===k&&React.createElement(u.A,{buttonLabel:h,subTitle:__("Add a custom image","jetpack"),mediaId:v,mediaDetails:A,onChange:j,allowedMediaTypes:m,wrapperClassName:p.A.mediaPicker}),React.createElement(r.TextControl,{className:p.A.customText,value:E||"",onChange:w,label:__("Custom Header","jetpack"),help:__("By default the post title is used for the image. You can use this field to set your own text.","jetpack"),__nextHasNoMarginBottom:!0}),React.createElement(r.BaseControl,{__nextHasNoMarginBottom:!0,className:p.A.templateControl},React.createElement(r.BaseControl.VisualLabel,null,__("Templates","jetpack")),React.createElement(d.A,{value:_,onTemplateSelected:C})),React.createElement(r.Button,{onClick:e,variant:"tertiary"},__("Cancel","jetpack")),React.createElement(r.Button,{onClick:x,variant:"primary"},__("Save","jetpack"))))}},29761:(e,t,n)=>{"use strict";n(47143),n(86087),n(27723),n(51609),n(31963),n(12226)},12226:(e,t,n)=>{"use strict";n(56427),n(86087),n(27723),n(81299),n(88375)},81299:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var a=n(86087),r=n(27723),s=n(13022),o=n(52002),i=n(10936);const __=r.__,l=({value:e=null,onTemplateSelected:t=null})=>{const n=(0,a.useCallback)((e=>{const n=e.target.id;t?.(n)}),[t]);return React.createElement("div",{className:o.A.templates},i.A.map((t=>React.createElement("button",{onClick:n,id:t.name,key:t.name,className:(0,s.A)(o.A.template,{[o.A["template--active"]]:t.name===e})},React.createElement("img",{src:t.image,alt:t.label}),React.createElement("span",{className:"screen-reader-text"},(0,r.sprintf)(/* translators: %s is the name of the template */ __("Pick the %s template","jetpack"),t.label))))))}},10936:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var a=n(26365),r=n(45329),s=n(9509);const o=[{name:"highway",label:"Highway",image:n(22417)},{name:"dois",label:"Dois",image:a},{name:"edge",label:"Edge",image:r},{name:"fullscreen",label:"Fullscreen",image:s}]},98725:(e,t,n)=>{"use strict";n(47143),n(86087),n(51609),n(31963)},96390:(e,t,n)=>{"use strict";n.d(t,{n:()=>d});var a=n(85985),r=n(56427),s=n(86087),o=n(27723),i=n(10991),l=n(18603),c=n(94360),u=n(47944);const __=o.__;function d(){const[e,t]=(0,s.useReducer)((e=>!e),!1),{recordEvent:n}=(0,a.st)(),o=(0,s.useCallback)((()=>{e||n("jetpack_social_preview_modal_opened"),t()}),[e,n]);return React.createElement(r.PanelRow,{className:u.A.panel},e&&React.createElement(r.Modal,{onRequestClose:t,title:__("Social Previews","jetpack"),className:u.A.modal,__experimentalHideHeader:!0},React.createElement("div",{className:u.A["modal-content"]},React.createElement(c.X,null),React.createElement(l.w,null)),React.createElement(r.Button,{className:u.A["close-button"],onClick:t,icon:i.A,label:__("Close","jetpack")})),React.createElement(r.Button,{variant:"secondary",onClick:o},__("Preview social posts","jetpack")))}},98588:(e,t,n)=>{"use strict";n.d(t,{z:()=>w});var a=n(96072),r=n.n(a),s=n(29103),o=n(73188),i=n(73066),l=n(57984),c=n(48914),u=n(83945),d=n(73915),p=n(89075),m=n(95550),h=n(3582),g=n(47143),f=n(86087),v=n(18537),b=n(27723),k=n(39553),y=n(62697),E=n(31137);const __=b.__;function w({connection:e}){const t=(0,f.useMemo)((()=>({displayName:e.display_name||e.external_display,profileImage:e.profile_picture,externalName:e.external_name})),[e]),{image:n,media:a,title:b,description:w,url:_,excerpt:C}=(0,E.s)(),A=((0,k.A)().message||"").trim(),x=(0,f.useMemo)((()=>({description:w,image:n,media:a,title:b,url:_})),[w,n,a,b,_]),j=(0,g.useSelect)((e=>{const{getUnstableBase:t}=e(h.store);return(0,v.decodeEntities)(t()?.name)}),[]),S=a?.some((({type:e})=>e.startsWith("image/")||e.startsWith("video/")));switch(e.service_name){case"bluesky":{const e=a?.[0],n=e?.type.startsWith("image/")?e.url:null;return React.createElement(s.O,r()({},x,{description:(0,v.decodeEntities)(C),user:{avatarUrl:t.profileImage,address:t.externalName,displayName:t.displayName},customText:(0,v.decodeEntities)(A||`${b}\n\n${C.replaceAll(/[\s\n]/g," ")}`),customImage:n}))}case"facebook":return S?React.createElement(o.h,r()({},x,{type:"article",customText:A||C||b,user:t})):React.createElement(i.l,r()({},x,{type:"article",customText:A||C||b,user:t}));case"instagram-business":{const e=Boolean(n);return S||e?React.createElement(l.l,r()({},x,{image:a?.[0]?.url||n,name:t.displayName,profileImage:t.profileImage,caption:A||b||w})):React.createElement(y.q,null)}case"linkedin":return React.createElement(c.$,r()({},x,{jobTitle:__("Job Title (Company Name)","jetpack"),name:t.displayName,profileImage:t.profileImage,description:A||b||w}));case"mastodon":{const e=a?.[0],n=e?.type.startsWith("image/")?e.url:null;return React.createElement(u._,r()({},x,{description:C,siteName:j,user:{avatarUrl:t.profileImage,address:t.displayName,displayName:t.displayName},customText:A,customImage:n}))}case"nextdoor":{const e=`${A||b||w} ${a.length?_:""}`.trim();return React.createElement(d.K,r()({},x,{description:e,name:t.displayName,profileImage:t.profileImage}))}case"threads":{let e=b;A?e=A:b&&C&&(e=`${b}\n\n${C}`);const n=500-_.length-2;return e=(0,v.decodeEntities)(e).slice(0,n),e+=`\n\n${_}`,React.createElement(p.s,r()({},x,{caption:e,name:t.displayName,profileImage:t.profileImage}))}case"tumblr":return React.createElement(m.B,r()({},x,{user:{displayName:t.displayName,avatarUrl:t.profileImage},customText:A}));default:return null}}},18603:(e,t,n)=>{"use strict";n.d(t,{w:()=>h});var a=n(85985),r=n(56427),s=n(47143),o=n(27723),i=n(51609),l=n(31963),c=n(12141),u=n(39329),d=n(48712),p=n(98588),m=n(47944);const __=o.__,_x=o._x;function h(){const{recordEvent:e}=(0,a.st)(),t=(0,d.h)(),{canBeTurnedOn:n,shouldBeDisabled:o}=(0,u.j)(),h=(0,s.useSelect)((e=>e(l.M_).getConnections().filter((({service_name:e})=>t(e))).map((e=>{const t=e.display_name||e.external_display,a=`${e.service_name}-${e.connection_id}`,r=React.createElement(c.A,{label:t,serviceName:e.service_name,profilePicture:e.profile_picture}),s=o(e)||!n(e)||!e.enabled;return{...e,className:s?m.A["disabled-tab"]:"",name:a,title:t,icon:r}}))),[n,t,o]),{toggleConnectionById:g}=(0,s.useDispatch)(l.M_),f=(0,i.useCallback)(((t,n)=>()=>{g(t),e("jetpack_social_connection_toggled",{location:"preview-modal",enabled:!n.enabled,service_name:n.service_name})}),[e,g]);return React.createElement("div",{className:m.A["preview-section"]},React.createElement(r.TabPanel,{tabs:h},(e=>{const t=n(e)&&e.enabled;return React.createElement("div",{className:m.A["preview-content"]},o(e)?null:React.createElement(r.ToggleControl,{label:t?_x("Connection enabled","","jetpack"):__("Connection disabled","jetpack"),checked:t,onChange:f(e.connection_id,e),__nextHasNoMarginBottom:!0}),React.createElement(p.z,{connection:e}))})))}},94360:(e,t,n)=>{"use strict";n.d(t,{X:()=>o});var a=n(27723),r=n(41190),s=n(47944);const __=a.__;function o(){return React.createElement("div",{className:s.A["settings-section"]},React.createElement("div",{className:s.A["settings-header"]},React.createElement("h2",null,__("Social Preview","jetpack"))),React.createElement("div",{className:s.A["settings-content"]},React.createElement("p",{className:s.A["modal-description"]},__("Edit and preview your social post before sharing.","jetpack")),React.createElement(r.o,{analyticsData:{location:"preview-modal"}})))}},42259:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});var a=n(96072),r=n.n(a),s=n(91937),o=n(3582),i=n(47143),l=n(43656),c=n(18537),u=n(39553),d=n(31963);const p=e=>{const{message:t}=(0,u.A)(),{content:n,siteName:a}=(0,i.useSelect)((e=>{const{getEditedPostAttribute:t}=e(l.store),{getUnstableBase:n}=e(o.store);return{content:t("content").split("\x3c!--more")[0],siteName:(0,c.decodeEntities)(n().name)}}),[]),p=(0,i.useSelect)((e=>{const{displayName:t,profileImage:n,username:a}=e(d.M_).getConnectionProfileDetails(d.zW);return{displayName:t,avatarUrl:n,address:a}}),[]),m=e.media?.[0],h=m?.type.startsWith("image/")?m.url:null,g=(0,i.useSelect)((e=>e(d.M_).getConnectionsByService(d.zW)),[]);return React.createElement(s.x,r()({},e,{siteName:a,user:p,description:(0,c.decodeEntities)(n),customText:(0,c.decodeEntities)(t||`${e.title}\n\n${n.replaceAll(/[\s\n]/g," ")}`),customImage:h,hidePostPreview:!g.length}))}},59540:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var a=n(96072),r=n.n(a),s=n(87070),o=n(47143),i=n(39553),l=n(31963);const c=(0,o.withSelect)((e=>{const{getEditedPostAttribute:t}=e("core/editor");return{excerpt:t("excerpt"),content:t("content").split("\x3c!--more")[0]}}))((e=>{const{message:t}=(0,i.A)(),{title:n,excerpt:a,content:c}=e,u=(0,o.useSelect)((e=>{const{displayName:t,profileImage:n}=e(l.Af).getConnectionProfileDetails(l.s);return{displayName:t,avatarUrl:n}}));return React.createElement(s.k,r()({},e,{type:"article",user:u,customText:t||a||c||n}))}))},81048:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var a=n(96072),r=n.n(a),s=n(8797),o=n(47143),i=n(18537),l=n(51609),c=n.n(l);const u=function(e){const t=(0,o.useSelect)((e=>{const{getUnstableBase:t}=e("core"),n=t().name;return(0,i.decodeEntities)(n)}));return c().createElement(s.m,r()({},e,{siteTitle:t}))}},91262:(e,t,n)=>{"use strict";n.d(t,{p:()=>g});var a=n(47656),r=n(3924),s=n(97999),o=n(20578),i=n(56427),l=n(47143),c=n(27723),u=n(51609),d=n.n(u),p=n(39553),m=n(31963),h=n(27844);const __=c.__,_x=c._x;function g(e){const{title:t,image:n,media:c,description:u}=e,{username:g,profileImage:f}=(0,l.useSelect)((e=>e(m.Af).getConnectionProfileDetails(m.bN))),{message:v}=(0,p.A)(),b=c?.some((({type:e})=>e.startsWith("image/")||e.startsWith("video/"))),k=Boolean(n);if(!b&&!k)return d().createElement(a.A,{hideCloseButton:!0,actions:[d().createElement(i.ExternalLink,{key:"learn-more",href:(0,r.A)("jetpack-social-share-to-instagram")},__("Learn more","jetpack"))]},(0,s.siteHasFeature)(h.q.ENHANCED_PUBLISHING)?__("To share to Instagram, add an image/video, or enable Social Image Generator.","jetpack"):_x("You need a featured image to share to Instagram.","The message shown in the Instagram social preview","jetpack"));const y=v||t||u;return d().createElement(o.a,{image:c?.[0]?.url||n,media:c,name:g,profileImage:f,caption:y})}},29650:(e,t,n)=>{"use strict";n.d(t,{p:()=>u});var a=n(7368),r=n(47143),s=n(27723),o=n(51609),i=n.n(o),l=n(39553),c=n(31963);const __=s.__;function u(e){const{title:t,url:n,image:s,media:o,description:u}=e,{displayName:d,profileImage:p}=(0,r.useSelect)((e=>e(c.Af).getConnectionProfileDetails(c.gt))),{message:m}=(0,l.A)(),h=`${m||t||u} ${o.length?n:""}`.trim();return i().createElement(a.G,{jobTitle:__("Job Title (Company Name)","jetpack"),image:s,name:d,profileImage:p,title:t,description:h,url:n,media:o})}},98175:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var a=n(96072),r=n.n(a),s=n(71751),o=n(47143),i=n(18537),l=n(39553),c=n(31963);const u=e=>{const{message:t}=(0,l.A)(),{content:n,siteName:a}=(0,o.useSelect)((e=>{const{getEditedPostAttribute:t}=e("core/editor"),{getUnstableBase:n}=e("core");return{content:t("content").split("\x3c!--more")[0],siteName:(0,i.decodeEntities)(n().name)}})),u=(0,o.useSelect)((e=>{const{displayName:t,profileImage:n,username:a}=e(c.Af).getConnectionProfileDetails(c.V6);return{displayName:t,avatarUrl:n,address:a}})),d=e.media?.[0],p=d?.type.startsWith("image/")?d.url:null;return React.createElement(s.R,r()({},e,{siteName:a,user:u,description:n,customText:t,customImage:p}))}},81115:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var a=n(56427),r=n(18537),s=n(27723),o=n(10991),i=n(19779),l=n(31137);const __=s.__,c=function({onClose:e,initialTabName:t}){const n=(0,i.r)(),{image:s,media:c,title:u,description:d,url:p,excerpt:m}=(0,l.s)();return React.createElement(a.Modal,{onRequestClose:e,className:"jetpack-social-previews__modal",__experimentalHideHeader:!0},React.createElement(a.Button,{className:"jetpack-social-previews__modal--close-btn",onClick:e,icon:o.A,label:__("Close","jetpack")}),React.createElement(a.TabPanel,{className:"jetpack-social-previews__modal-previews",tabs:n,initialTabName:t},(e=>React.createElement("div",null,React.createElement(e.preview,{excerpt:(0,r.decodeEntities)(m),title:(0,r.decodeEntities)(u),description:(0,r.decodeEntities)(d),url:p,image:s,media:c})))))}},49257:(e,t,n)=>{"use strict";n.d(t,{s:()=>c});var a=n(58581),r=n(47143),s=n(51609),o=n.n(s),i=n(39553),l=n(31963);function c(e){const{title:t,url:n,image:s,media:c,description:u}=e,{displayName:d,profileImage:p}=(0,r.useSelect)((e=>e(l.Af).getConnectionProfileDetails(l.zk))),{message:m}=(0,i.A)(),h=`${m||t||u} ${c.length?n:""}`.trim();return o().createElement(a.n,{image:s,name:d,profileImage:p,title:t,description:h,url:n,media:c})}},97192:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var a=n(56427),r=n(27723),s=n(19779);const __=r.__,_x=r._x,o=({openModal:e})=>{const t=(0,s.r)();return React.createElement("div",{className:"jetpack-social-previews__panel"},React.createElement("p",null,__("Preview what this will look like on social networks and Google search.","jetpack")),React.createElement("div",{className:"jetpack-gutenberg-social-icons"},t.map((e=>React.createElement(e.icon,{key:e.name,className:"jetpack-social-previews__icon"})))),React.createElement(a.Button,{variant:"secondary",onClick:e,label:__("Open Social Previews","jetpack")},_x("Preview","Button label that opens the social previews modal","jetpack")))}},68655:(e,t,n)=>{"use strict";n.d(t,{Q:()=>u});var a=n(33389),r=n(47143),s=n(18537),o=n(51609),i=n.n(o),l=n(383),c=n(31963);function u({excerpt:e,title:t,description:n,image:o,url:u,media:d}){const{shareMessage:p}=(0,l.h)(),m=(0,r.useSelect)((a=>{const{displayName:r,profileImage:i}=a(c.M_).getConnectionProfileDetails(c.BB);let l=t;p?l=p:t&&e&&(l=`${t}\n\n${e}`);const m=500-u.length-2;return l=(0,s.decodeEntities)(l).slice(0,m),l+=`\n\n${u}`,[{caption:l,name:r,profileImage:i,title:t,description:n,image:o,media:d,url:u}]}),[e,t,o,n,d,u,p]),h=(0,r.useSelect)((e=>e(c.M_).getConnectionsByService(c.BB)),[]);return i().createElement(a.n,{posts:m,hidePostPreview:!h.length})}},22322:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var a=n(96072),r=n.n(a),s=n(19036),o=n(47143),i=n(39553),l=n(31963);const c=e=>{const{content:t,author:n}=(0,o.useSelect)((e=>{const{getUser:t}=e("core"),{getEditedPostAttribute:n}=e("core/editor"),a=n("author"),r=a&&t(a);return{content:n("content").split("\x3c!--more")[0],author:r?.name}})),{message:a}=(0,i.A)(),c=(0,o.useSelect)((e=>{const{displayName:t,profileImage:a}=e(l.Af).getConnectionProfileDetails(l.me);return{displayName:t||n,avatarUrl:a}}),[n]);return React.createElement(s.s,r()({},e,{user:c,description:t,customText:a}))}},91537:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var a=n(43731),r=n(47143),s=n(51609),o=n.n(s),i=n(383),l=n(31963);const c=function({title:e,description:t,image:n,url:s,media:c}){const{shareMessage:u}=(0,i.h)(),d=(0,r.useSelect)((a=>{const{displayName:r,profileImage:o,username:i}=a(l.Af).getConnectionProfileDetails(l.PX);return[{name:r,profileImage:o,screenName:i,text:u+(c.length?` ${s}`:""),cardType:n?"summary_large_image":"summary",title:e,description:t,image:n,media:c,url:s}]}),[e,n,t,c,s,u]);return o().createElement(a.p,{tweets:d,hidePostPreview:!0})}},19779:(e,t,n)=>{"use strict";n.d(t,{r:()=>E});var a=n(96072),r=n.n(a),s=n(78478),o=n(27723),i=n(51609),l=n.n(i),c=n(31963),u=n(70407),d=n(42259),p=n(59540),m=n(81048),h=n(91262),g=n(29650),f=n(98175),v=n(49257),b=n(68655),k=n(22322),y=n(91537);const __=o.__,_x=o._x;function E(){const e=(0,u.getSupportedAdditionalConnections)().includes(c.BB);return(0,i.useMemo)((()=>[{title:__("Google Search","jetpack"),icon:e=>l().createElement(s.M5,r()({serviceName:"google"},e)),name:"google",preview:m.A},{title:__("X","jetpack"),icon:e=>l().createElement(s.M5,r()({serviceName:"x"},e)),name:"x",preview:y.A},{title:__("Facebook","jetpack"),icon:e=>l().createElement(s.M5,r()({serviceName:"facebook"},e)),name:"facebook",preview:p.A},{title:__("Instagram","jetpack"),icon:e=>l().createElement(s.M5,r()({serviceName:"instagram"},e)),name:"instagram",preview:h.p},e?{title:_x("Threads","The name of the social media network - threads.net","jetpack"),icon:e=>l().createElement(s.M5,r()({serviceName:"threads"},e)),name:"threads",preview:b.Q}:null,{title:__("LinkedIn","jetpack"),icon:e=>l().createElement(s.M5,r()({serviceName:"linkedin"},e)),name:"linkedin",preview:g.p},{title:__("Nextdoor","jetpack"),icon:e=>l().createElement(s.M5,r()({serviceName:"nextdoor"},e)),name:"nextdoor",preview:v.s},{title:__("Tumblr","jetpack"),icon:e=>l().createElement(s.M5,r()({serviceName:"tumblr-alt"},e)),name:"tumblr",preview:k.A},{title:__("Mastodon","jetpack"),icon:e=>l().createElement(s.M5,r()({serviceName:"mastodon"},e)),name:"mastodon",preview:f.A},{title:__("Bluesky","jetpack"),icon:e=>l().createElement(s.M5,r()({serviceName:"bluesky"},e)),name:"bluesky",preview:d.A}].filter(Boolean)),[e])}},31137:(e,t,n)=>{"use strict";n.d(t,{s:()=>l});var a=n(47143),r=n(27723),s=n(383),o=n(74820),i=n(25995);const __=r.__;function l(){const{attachedMedia:e,imageGeneratorSettings:t}=(0,s.h)();return(0,a.useSelect)((n=>{const{getMedia:a}=n("core"),{getEditedPostAttribute:r,getEditedPostContent:s}=n("core/editor"),l=r("featured_media");let c=l?(0,i.l)(a(l)):"";const u=t.enabled?(0,o.S)(t.token):"";if(u&&(c=u),!c){const e=(0,i.t)(s());e&&(c=e)}const d=[],p=e=>{const t=a(e);return t?{type:t.mime_type,url:(0,i.l)(t),alt:t.alt_text}:null};for(const{id:t}of e){const e=p(t);e&&d.push(e)}return{title:(r("meta")?.jetpack_seo_html_title||r("title")||"").trim(),description:(r("meta")?.advanced_seo_description||r("excerpt")||r("content").split("\x3c!--more")[0]||__("Visit the post for more.","jetpack")||"").trim(),url:r("link"),excerpt:(r("excerpt")||r("content").split("\x3c!--more")[0]||"").trim(),image:c,media:d,initialTabName:null}}),[e,t])}},25995:(e,t,n)=>{"use strict";function a(e){return e?e.media_details?.sizes?.large?.source_url||e.source_url:null}function r(e){const t=(new DOMParser).parseFromString(e,"text/html"),n=Array.from(t.querySelectorAll("img")),a=n[0]?.src;return a??null}n.d(t,{l:()=>a,t:()=>r})},7610:(e,t,n)=>{"use strict";n(47143),n(86087),n(51609),n(7162)},18699:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var a=n(86087),r=n(76794);const s=({sourceUrl:e,mime:t,duration:n})=>{const[s,o]=(0,a.useState)(!1),[i,l]=(0,a.useState)(0),c=(0,a.useRef)(null),u=(0,a.useRef)(null),d=(0,a.useRef)(null);(0,a.useEffect)((()=>{c.current?.load()}),[e]);const p=(0,a.useCallback)((()=>{c.current.pause(),c.current.currentTime=0,clearInterval(u.current),clearTimeout(d.current),l(0),o(!1)}),[]),m=(0,a.useCallback)((()=>{d.current=setTimeout((()=>{s||(c.current.play(),o(!0),u.current=setInterval((()=>{l((e=>e+1))}),1e3))}),500)}),[s]),h=()=>{const e=n-i,t=Math.floor(e/60),a=String(Math.floor(e%60)).padStart(2,"0");return React.createElement("div",{className:r.A.progress},React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"6",height:"8",fill:"none"},React.createElement("path",{fill:"#fff",d:"M5.25 3.567a.5.5 0 0 1 0 .866L.75 7.031A.5.5 0 0 1 0 6.598V1.402A.5.5 0 0 1 .75.969l4.5 2.598Z"})),React.createElement("span",{className:r.A.duration},`${t}:${a}`))};return React.createElement("div",{className:r.A.wrapper,onMouseEnter:m,onMouseLeave:p},React.createElement("video",{ref:c,onEnded:p,muted:!0},React.createElement("source",{src:e,type:t})),React.createElement(h,null))}},98420:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});var a=n(383);function r(){const{attachedMedia:e,updateJetpackSocialOptions:t}=(0,a.h)();return{attachedMedia:e,updateAttachedMedia:e=>t("attached_media",e)}}},54915:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var a=n(47143),r=n(43656);const s=()=>(0,a.useSelect)((e=>e(r.store).getEditedPostAttribute("featured_media")))},49747:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var a=n(47143),r=n(43656),s=n(86087),o=n(383);const i=(e,t)=>({isEnabled:e?.enabled??!t,customText:e?.custom_text??null,imageType:e?.image_type??null,imageId:e?.image_id??null,template:e?.template??null,token:e?.token??null});function l(){const{imageGeneratorSettings:e,jetpackSocialOptions:t,updateJetpackSocialOptions:n}=(0,o.h)(),{isPostPublished:l}=(0,a.useSelect)((e=>({isPostPublished:e(r.store).isCurrentPostPublished()}))),c=(0,s.useCallback)(((t,a)=>{const r={...e,[t]:a};n("image_generator_settings",r)}),[e,n]),u=(0,s.useCallback)((t=>{const a={...e,...t};n("image_generator_settings",a)}),[e,n]);return{...i(t.image_generator_settings,l),setIsEnabled:e=>c("enabled",e),setToken:e=>c("token",e),updateSettings:u}}},92214:(e,t,n)=>{"use strict";n.d(t,{P:()=>d});var a=n(47143),r=n(98420),s=n(54915),o=n(80624),i=n(52367),l=n(80682),c=n(50001),u=n(31963);function d(){const{enabledConnections:e}=(0,c.A)(),{attachedMedia:t}=(0,r.A)(),n=(0,s.A)(),d=t[0]?.id||n,{validationErrors:p,isConvertible:m}=(0,i.A)(e,(0,o.A)(d)[0]),h=(0,a.useSelect)((e=>e(u.M_).getBrokenConnections().map((e=>e.connection_id))),[]);return e.some((function({connection_id:e,service_name:t}){return!h.includes(e)&&(!(e in p)||("instagram-business"!==t||!Object.values(p).includes(l.k3))&&m)}))}},80624:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var a=n(47143),r=n(86087);const s=async e=>{if(!e)return{};let t={mime:e.mime_type,fileSize:e.media_details.filesize,length:e.media_details?.length};"video/videopress"===e.mime_type&&(t=await(async e=>{if(!e?.media_details?.videopress?.original||!e?.media_details?.videopress?.duration)return{};const t=await fetch(e?.media_details?.videopress?.original,{method:"HEAD"}),n=t.headers.get("content-length"),a=t.headers.get("content-type");return n&&a?{mime:a,fileSize:n,length:Math.round(e.media_details.videopress.duration/1e3)}:{}})(e));const n=e?.media_details?.sizes??{};if(!n.full)return{mediaData:{width:e.media_details.width,height:e.media_details.height,sourceUrl:e.source_url},metaData:t};const a=n.medium||n.large,r={width:a.width,height:a.height,sourceUrl:a.source_url};return{mediaData:{width:n.full.width,height:n.full.height,sourceUrl:n.full.source_url},metaData:t,previewData:r}};function o(e=null){const[t,n]=(0,r.useState)([{}]),o=(0,a.useSelect)((t=>t("core").getMedia(e,{context:"view"})),[e]),i=(0,r.useCallback)((async()=>{try{const e=await s(o);n([e??{}])}catch{n([{}])}}),[o]);return(0,r.useEffect)((()=>{i()}),[i]),t}},80682:(e,t,n)=>{"use strict";n.d(t,{$m:()=>u,I1:()=>l,eF:()=>i,ec:()=>o,i1:()=>c,k3:()=>r,z9:()=>s});var a=n(27723);const __=a.__,r="NO_MEDIA_ERROR",s="FILE_TYPE_ERROR",o="FILE_SIZE_ERROR",i="VIDEO_LENGTH_TOO_LONG_ERROR",l="VIDEO_LENGTH_TOO_SHORT_ERROR",c="DIMENSION_ERROR";function u(e){return{[o]:__("File too big","jetpack"),[i]:__("Video too long","jetpack"),[l]:__("Video too short","jetpack"),[c]:__("Invalid dimensions","jetpack")}[e]||__("Invalid media","jetpack")}},52367:(e,t,n)=>{"use strict";n.d(t,{A:()=>d,c:()=>l});var a=n(86087),r=n(98420),s=n(49747),o=n(80682),i=n(2204);function l(e){return"video"===e.split("/")[0]}const c=e=>{if(!e?.mime||!e?.fileSize)return!1;const{mime:t,fileSize:n}=e;if(l(t))return!1;if(!i.nJ.includes(t))return!1;return!((n?n/Math.pow(1e3,2):0)>=55)},u=(e,t,n,a,r)=>{const s=i.mB[n]??i.EX;if(!e||0===Object.keys(e).length)return s.requiresMedia&&!r?o.k3:null;const{mime:c,fileSize:u}=e;if(!s.requiresMedia&&!a)return null;if(!c||!s.allowedMediaTypes.includes(c.toLowerCase()))return o.z9;if(!t?.width||!t?.height)return o.i1;const d=u?u/Math.pow(1e3,2):null;return l(c)?((e,t,n,a,r)=>{const{minSize:s=0,maxSize:l=i.TR,minLength:c=0,maxLength:u=i.TR,maxWidth:d=i.TR,aspectRatio:p=i.EX.video.aspectRatio}=r;if(!e||e>l||eu)return o.eF;const m=n/a;return mp.max||n>d?o.i1:null})(d,e.length,t.width,t.height,s.video):((e,t,n,a)=>{const{maxSize:r=i.TR,minWidth:s=0,maxWidth:l=i.TR,aspectRatio:c=i.EX.image.aspectRatio}=a,u=t/n;return uc.max||t>l||tr?o.ec:null})(d,t.width,t.height,s.image)},d=(e,t)=>{const{attachedMedia:n}=(0,r.A)(),{isEnabled:o}=(0,s.A)(),i=n.length>0,l=(0,a.useRef)({});return(0,a.useMemo)((()=>{const n=e.reduce(((e,{connection_id:n,service_name:a})=>{const r=u(t.metaData,t.mediaData,a,i,o&&"instagram-business"===a);return r&&(e[n]=r),e}),{});return JSON.stringify(n)!==JSON.stringify(l.current)&&(l.current=n),{validationErrors:l.current,isConvertible:c(t.metaData)}}),[e,t.metaData,t.mediaData,i,o])}},2204:(e,t,n)=>{"use strict";n.d(t,{EX:()=>h,TR:()=>m,UB:()=>v,mB:()=>g,nJ:()=>f});const a="video/mp4",r="video/mov",s="video/videopress",o=["image/jpeg","image/jpg","image/png"],i=o.concat(["image/gif","image/bmp"]),l=["video/3g2","video/3gp","video/3gpp","video/asf","video/avi","video/dat","video/divx","video/dv","video/f4v","video/flv","video/gif","video/m2ts","video/m4v","video/mkv","video/mod","video/mov","video/mp4","video/mpe","video/mpeg","video/mpeg4","video/mpg","video/mts","video/nsv","video/ogm","video/ogv","video/qt","video/tod","video/ts","video/vob","video/wmv"],c=o.concat(["image/gif","image/heic","image/heif","image/webp","image/avif"]),u=["video/webm","video/quicktime","video/ogg"],d=o.concat(["image/gif","image/jpe","image/tif","image/tiff","image/webp"]),p=[r,"video/avi","video/mpg","video/mpeg","video/m4v"],m=1e5,h={requiresMedia:!1,allowedMediaTypes:o.concat([a,s,r]),image:{maxSize:4,minWidth:0,maxWidth:m,aspectRatio:{min:0,max:m}},video:{minLength:0,minSize:0,maxSize:m,maxLength:m,maxWidth:m,aspectRatio:{min:0,max:m}}},g={twitter:{allowedMediaTypes:o.concat([a,s]),image:{maxSize:5},video:{maxSize:512,maxLength:140}},facebook:{allowedMediaTypes:i.concat([s,...l]),image:{maxSize:8},video:{maxSize:1e4,maxLength:14400}},tumblr:{allowedMediaTypes:o.concat([a,r,s]),image:{maxSize:20},video:{maxSize:500,maxLength:600}},linkedin:{allowedMediaTypes:o.concat([a,s]),image:{maxSize:20},video:{minSize:.075,maxSize:200,maxLength:600,minLength:3}},"instagram-business":{requiresMedia:!0,allowedMediaTypes:["image/jpg","image/jpeg",a,r,s],image:{maxSize:8,minWidth:320,maxWidth:1440,aspectRatio:{min:.8,max:1.91}},video:{maxLength:900,minLength:3,maxSize:1e3,maxWidth:1920,aspectRatio:{min:.01,max:10}}},mastodon:{allowedMediaTypes:c.concat([...u,a,s]),image:{maxSize:10},video:{maxSize:40}},nextdoor:{allowedMediaTypes:d.concat([...p,a,s]),image:{maxSize:10},video:{maxSize:500}}},f=["image/png","image/jpeg","image/jpg","image/heic","image/heif","image/webp"],v=[...new Set([...o,...i,...c,...l,...u,...f])]},38656:(e,t,n)=>{"use strict";n.d(t,{e:()=>i});var a=n(97999),r=n(47143),s=n(43656),o=n(27844);function i(){return!(0,r.useSelect)((e=>"jetpack-social-note"===e(s.store).getCurrentPostType()),[])&&(0,a.siteHasFeature)(o.q.IMAGE_GENERATOR)}},383:(e,t,n)=>{"use strict";n.d(t,{h:()=>i});var a=n(47143),r=n(43656),s=n(86087),o=n(70407);function i(){const{editPost:e}=(0,a.useDispatch)(r.store),t=(0,a.useSelect)((e=>{const t=e(r.store).getEditedPostAttribute("meta")||{},n=t.jetpack_publicize_feature_enabled??!0,a=t.jetpack_social_options||{};return{isPublicizeEnabled:n,jetpackSocialOptions:a,attachedMedia:a.attached_media||[],imageGeneratorSettings:a.image_generator_settings??{enabled:!1},isPostAlreadyShared:t.jetpack_social_post_already_shared??!1,shareMessage:`${t.jetpack_publicize_message||""}`.substring(0,(0,o.getShareMessageMaxLength)())}}),[]),n=(0,s.useCallback)(((t,n)=>{e({meta:{[t]:n}})}),[e]),i=(0,s.useCallback)((()=>{n("jetpack_publicize_feature_enabled",!t.isPublicizeEnabled)}),[t.isPublicizeEnabled,n]),l=(0,s.useCallback)(((e,a)=>{n("jetpack_social_options",{...t.jetpackSocialOptions,[e]:a,version:2})}),[t.jetpackSocialOptions,n]);return(0,s.useMemo)((()=>({...t,togglePublicizeFeature:i,updateJetpackSocialOptions:l,updateMeta:n})),[t,i,l,n])}},57275:(e,t,n)=>{"use strict";n.d(t,{z:()=>o});var a=n(47143),r=n(43656),s=n(86087);function o(e){const t=(0,a.useSelect)((e=>e(r.store).isPublishingPost()),[]),[n,o]=(0,s.useState)(e),i=(0,s.useRef)(!1);return(0,s.useEffect)((()=>{t&&(i.current=!0),i.current||o(e)}),[t,e]),n}},77627:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var a=n(39384),r=n(85985),s=n(47143),o=n(43656),i=n(70407),l=n(383);const c="republicize";function u(){const e=!(0,r.d9)()&&!(0,r.Sy)()||(0,r.FB)(c)?.available,t=(0,s.useSelect)((e=>e(o.store).isCurrentPostPublished()),[]),{isUserConnected:n}=(0,a.useConnection)(),{urls:u}=(0,i.getSocialScriptData)(),{isPublicizeEnabled:d,togglePublicizeFeature:p,isPostAlreadyShared:m}=(0,l.h)(),h=(0,r.W4)(c)&&!e,g=t?e:d,f=t&&h,v=t&&!e,b=!n&&!(0,r.Sy)();return{isPublicizeEnabledMeta:d,isPublicizeEnabled:g,togglePublicizeFeature:p,isPublicizeDisabledBySitePlan:f,isRePublicizeFeatureAvailable:e,isRePublicizeUpgradableViaUpsell:h,hidePublicizeFeature:v,isPostAlreadyShared:m,isSocialImageGeneratorEnabled:!!(0,r.$i)()?.social?.isSocialImageGeneratorEnabled,connectionsPageUrl:u.connectionsManagementPage,needsUserConnection:b}}},88584:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var a=n(29491),r=n(86087),s=n(86212),o=n(50001);function i(){const e=(0,r.useRef)(!1),t=(0,r.useRef)(!0),n=(0,s.A)(),{refresh:i}=(0,o.A)(),l=(0,a.useDebounce)(i,0),c=(0,a.useDebounce)(i,2e3);return()=>{t.current&&(l(),t.current=!1),n||(e.current=!0,c.cancel()),n&&e.current&&(c(),e.current=!1)}}},38394:(e,t,n)=>{"use strict";n.d(t,{i:()=>o});var a=n(27723),r=n(16480),s=n(51609);const __=a.__;function o({onError:e,onSuccess:t}){const[n,a]=(0,s.useState)(!1),o=(0,s.useCallback)((async(n,s="image")=>{try{a(!0);const o=await fetch(n);if(!o.ok)return void e(new Error(__("Failed to download image.","jetpack"),{cause:o}));const i=await o.blob(),l=new File([i],s,{type:i.type});await(0,r.uploadMedia)({filesList:[l],onFileChange:([e])=>{void 0!==e.id&&(t(e),a(!1))},onError:t=>{e(new Error(__("Failed to save image to library.","jetpack"),{cause:t})),a(!1)},maxUploadFileSize:0})}catch(t){e(new Error(__("Failed to save image to library.","jetpack"),{cause:t}))}finally{a(!1)}}),[e,t]);return(0,s.useMemo)((()=>({isSaving:n,save:o})),[n,o])}},49036:(e,t,n)=>{"use strict";n.d(t,{Wv:()=>l,_D:()=>i});var a=n(29491),r=n(47143),s=n(43656),o=n(86087);function i(e,t){const n=(0,r.useSelect)((e=>e(s.store).isPublishingPost()),[]),i=(0,a.usePrevious)(n);(0,o.useEffect)((()=>{i&&!n&&e()}),[n,i,e,t])}function l(e,t){const n=(0,r.useSelect)((e=>e(s.store).isPublishingPost()),[]),i=(0,a.usePrevious)(n);(0,o.useEffect)((()=>{!i&&n&&e()}),[n,i,e,t])}},31873:(e,t,n)=>{"use strict";n.d(t,{A:()=>m});var a=n(1455),r=n.n(a),s=n(47143),o=n(43656),i=n(86087),l=n(27723),c=n(50001),u=n(39553),d=n(51371);const __=l.__;function p(e){const t=e?.code,n=e?.errors?.length;if(!t&&!n)return!1;let a="";return t&&(a=__("Unable to share the Post","jetpack")),n&&(a=__("Unable to share the Post","jetpack")),{message:a,result:e}}function m(e){const{message:t}=(0,u.A)(),{skippedConnections:n}=(0,c.A)(),a=(0,s.useSelect)((e=>e(o.store).getCurrentPostId()),[]);e=e||a;const[l,m]=(0,i.useState)({data:[],error:{}}),h=(0,d.n)().api_paths.resharePost.replace("{postId}",e),g=(0,i.useCallback)((async function(a=null){const s={isFetching:!1,isError:!1,isSuccess:!1,data:[],error:{},postId:e};if(l.isFetching)return;const o=a||n;return m({...s,isFetching:!0}),await r()({path:h,method:"POST",data:{message:t,skipped_connections:o,async:!0}}).then(((e={})=>{const t=p(e);if(t)return m((e=>({...e,isFetching:!1,isSuccess:!1,isError:!0,data:[],error:t})));m((t=>({...t,isFetching:!1,isSuccess:!0,isError:!1,data:e?.results,error:{}})))})).catch((e=>{m((t=>({...t,isFetching:!1,isSuccess:!1,isError:!0,data:[],error:p(e)})))})),function(){m(s)}}),[e,t,n,l.isFetching,h]);return{...l,doPublicize:g}}},50001:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var a=n(47143),r=n(31963);function s(){const{refreshConnectionTestResults:e,toggleConnectionById:t}=(0,a.useDispatch)(r.M_);return{...(0,a.useSelect)((e=>{const t=e(r.M_),n=t.getConnections(),a=t.getEnabledConnections(),s=t.getDisabledConnections().map((e=>e.connection_id));return{connections:n,hasConnections:n.length>0,hasEnabledConnections:a.length>0,skippedConnections:s,enabledConnections:a}}),[]),toggleById:t,refresh:e}}},39553:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var a=n(70407),r=n(383);function s(){const{updateMeta:e,shareMessage:t}=(0,r.h)();return{message:t,maxLength:(0,a.getShareMessageMaxLength)(),updateMessage:function(t){e("jetpack_publicize_message",t)}}}},75168:(e,t,n)=>{"use strict";n.d(t,{F:()=>i});var a=n(47143),r=n(43656),s=n(31963),o=n(49036);function i(){const{mergeConnections:e}=(0,a.useDispatch)(s.M_),{didPostSaveRequestSucceed:t,isCurrentPostPublished:n,getEditedPostAttribute:i}=(0,a.useSelect)((e=>e(r.store)),[]);(0,o._D)((()=>{if(t()&&n()){const t=i("jetpack_publicize_connections");t?.length&&e(t)}}),[t,n,i])}},38716:(e,t,n)=>{"use strict";n.r(t),n.d(t,{abortRefreshConnectionsRequest:()=>k,abortRequest:()=>b,addConnection:()=>m,closeConnectionsModal:()=>B,createAbortController:()=>f,createConnection:()=>j,deleteConnection:()=>_,deleteConnectionById:()=>A,deletingConnection:()=>C,mergeConnections:()=>g,openConnectionsModal:()=>T,refreshConnectionTestResults:()=>y,removeAbortControllers:()=>v,setConnections:()=>d,setKeyringResult:()=>p,setReconnectingAccount:()=>R,syncConnectionsToPostMeta:()=>E,toggleConnection:()=>h,toggleConnectionById:()=>w,toggleConnectionsModal:()=>L,updateConnection:()=>S,updateConnectionById:()=>P,updatingConnection:()=>N});var a=n(692),r=n(1455),s=n.n(r),o=n(47143),i=n(43656),l=n(27723),c=n(51371),u=n(54118);const __=l.__;function d(e){return{type:u.dA,connections:e}}function p(e){return{type:u.BN,keyringResult:e}}function m(e){return{type:u.Bc,connection:e}}function h(e){return{type:u.af,connectionId:e}}function g(e){return function({dispatch:t,select:n}){const a=n.getConnections(),r=[],s={done:!1,enabled:!0,toggleable:!0};for(const t of e){const e=a.find((e=>e.connection_id?e.connection_id===t.connection_id:e.id===t.id)),n={...s,...e,...t,shared:e?.shared,is_healthy:t.test_success};r.push(n)}t(d(r))}}function f(e,t){return{type:u.WB,requestType:t,abortController:e}}function v(e){return{type:u.Wp,requestType:e}}function b(e){return function({dispatch:t,select:n}){const a=n.getAbortControllers(e);for(const e of a)e.abort();t(v(e))}}function k(){return b(u.rz)}function y(e=!1){return async function({dispatch:t,select:n}){try{const a=(0,c.n)().api_paths.refreshConnections;for(;n.getUpdatingConnections().length>0||n.getDeletingConnections().length>0;)await new Promise((e=>setTimeout(e,100)));const r=new AbortController;t(f(r,u.rz));t(g(await s()({path:a,signal:r.signal}))),e&&t(E())}catch(n){"AbortError"===n.name&&t(y(e))}}}function E(){return function({registry:e,select:t}){const n=t.getConnections();return e.dispatch(i.store).editPost({jetpack_publicize_connections:n})}}function w(e,t=!0){return function({dispatch:n}){n(h(e)),t&&n(E())}}function _(e){return{type:u.nC,connectionId:e}}function C(e,t=!0){return{type:u.WH,connectionId:e,deleting:t}}function A({connectionId:e,showSuccessNotice:t=!0}){return async function({registry:n,dispatch:r}){const{createErrorNotice:l,createSuccessNotice:c}=(0,o.dispatch)(a.store);try{const a=`/jetpack/v4/social/connections/${e}`;return r(k()),r(C(e)),await s()({method:"DELETE",path:a}),r(_(e)),t&&c(__("Account disconnected successfully.","jetpack"),{type:"snackbar",isDismissible:!0}),n.select(i.store).getCurrentPostId()&&r(E()),!0}catch(e){let t=__("Error disconnecting account.","jetpack");"object"==typeof e&&"message"in e&&e.message&&(t=`${t} ${e.message}`),l(t,{type:"snackbar",isDismissible:!0})}finally{r(C(e,!1))}return!1}}let x=1;function j(e,t={}){return async function({registry:n,dispatch:r}){const{createErrorNotice:c,createSuccessNotice:u}=(0,o.dispatch)(a.store),d="new-"+ ++x;try{const a="/jetpack/v4/social/connections/";r(m({connection_id:d,...t})),r(k()),r(N(d));const o=await s()({method:"POST",path:a,data:e});o&&(r(S(d,{...o,can_disconnect:!0,enabled:!0})),u((0,l.sprintf)(/* translators: %s is the name of the social media platform e.g. "Facebook" */ -__("%s account connected successfully.","jetpack"),o.label),{type:"snackbar",isDismissible:!0}),n.select(i.store).getCurrentPostId()&&r(E()))}catch(e){let t=__("Error connecting account.","jetpack");"object"==typeof e&&"message"in e&&e.message&&(t=`${t} ${e.message}`),c(t,{type:"snackbar",isDismissible:!0})}finally{r(N(d,!1)),r(_(d))}}}function S(e,t){return{type:u.dw,connectionId:e,data:t}}function N(e,t=!0){return{type:u._6,connectionId:e,updating:t}}function R(e){return{type:u.Nv,reconnectingAccount:e}}function P(e,t){return async function({dispatch:n,select:r}){const{createErrorNotice:i,createSuccessNotice:l}=(0,o.dispatch)(a.store),c=r.getConnectionById(e);try{const a=`/jetpack/v4/social/connections/${e}`;n(k()),n(S(e,t)),n(N(e));await s()({method:"POST",path:a,data:t})&&l(__("Account updated successfully.","jetpack"),{type:"snackbar",isDismissible:!0})}catch(t){let a=__("Error updating account.","jetpack");"object"==typeof t&&"message"in t&&t.message&&(a=`${a} ${t.message}`),n(S(e,c)),i(a,{type:"snackbar",isDismissible:!0})}finally{n(N(e,!1))}}}function L(e){return{type:u.xW,isOpen:e}}function T(){return L(!0)}function B(){return L(!1)}},54118:(e,t,n)=>{"use strict";n.d(t,{BN:()=>d,Bc:()=>r,M6:()=>k,Nv:()=>u,WB:()=>m,WH:()=>i,Wp:()=>h,_6:()=>c,_y:()=>b,aF:()=>y,af:()=>s,b5:()=>g,dA:()=>a,dw:()=>l,fz:()=>v,nC:()=>o,rz:()=>f,xW:()=>p});const a="SET_CONNECTIONS",r="ADD_CONNECTION",s="TOGGLE_CONNECTION",o="DELETE_CONNECTION",i="DELETING_CONNECTION",l="UPDATE_CONNECTION",c="UPDATING_CONNECTION",u="SET_RECONNECTING_ACCOUNT",d="SET_KEYRING_RESULT",p="TOGGLE_CONNECTIONS_MODAL",m="ADD_ABORT_CONTROLLER",h="REMOVE_ABORT_CONTROLLERS",g="DEFAULT",f="REFRESH_CONNECTIONS",v="FETCH_POST_SHARE_STATUS",b="RECEIVE_POST_SHARE_STATUS",k="TOGGLE_SHARE_STATUS_MODAL",y="POLLING_FOR_POST_SHARE_STATUS"},62491:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var a=n(38716),r=n(72451),s=n(64236),o=n(33134);const i={...r,...a,...s,...n(83117),...o}},72451:(e,t,n)=>{"use strict";n.r(t),n.d(t,{closeShareStatusModal:()=>c,defaultIsRequestComplete:()=>u,fetchPostShareStatus:()=>s,openShareStatusModal:()=>l,pollForPostShareStatus:()=>h,pollingForPostShareStatus:()=>m,receivePostShareStaus:()=>o,toggleShareStatusModal:()=>i});var a=n(43656),r=n(54118);function s(e,t=!0){return{type:r.fz,postId:e,loading:t}}function o(e,t){return{type:r._y,shareStatus:e,postId:t}}function i(e){return{type:r.M6,isOpen:e}}function l(){return i(!0)}function c(){return i(!1)}const u=({lastTimestamp:e,postShareStatus:t})=>e?t.shares.some((t=>t.timestamp>e)):t.shares.length>0,d=6e4,p=3e3;function m(e,t=!0){return{type:r.aF,postId:e,polling:t}}function h({pollingInterval:e=p,postId:t,isRequestComplete:n=u,timeout:r=d}={}){return async function({dispatch:s,select:o,registry:i}){const l=Date.now(),c=t||i.select(a.store).getCurrentPostId(),u=o.getPostShareStatus(c).shares[0]?.timestamp||0;let d=!1,p=!1;s(m(c));do{o.getPostShareStatus(c).loading||s.invalidateResolution("getPostShareStatus",[c]),await new Promise((t=>setTimeout(t,e))),d=n({lastTimestamp:u,postShareStatus:o.getPostShareStatus(c)}),p=Date.now()-l>r}while(!d&&!p);s(m(c,!1))}}},64236:(e,t,n)=>{"use strict";n.r(t),n.d(t,{updateSocialImageGeneratorConfig:()=>s});var a=n(3582),r=n(75238);function s(e){return async function({registry:t}){const{saveSite:n}=t.dispatch(a.store);await n({[r.A]:e})}}},33134:(e,t,n)=>{"use strict";n.r(t),n.d(t,{updateSocialPluginSettings:()=>r});var a=n(3582);function r(e){return async function({registry:t}){const{saveEntityRecord:n}=t.dispatch(a.store);await n("jetpack/v4","social/settings",e)}}},83117:(e,t,n)=>{"use strict";n.r(t),n.d(t,{updateUtmSettings:()=>s});var a=n(3582),r=n(75238);function s(e){return async function({registry:t}){const{saveSite:n}=t.dispatch(a.store);await n({[r.b]:e})}}},75238:(e,t,n)=>{"use strict";n.d(t,{A:()=>a,b:()=>r});const a="jetpack_social_image_generator_settings",r="jetpack_social_utm_settings"},31963:(e,t,n)=>{"use strict";n.d(t,{Af:()=>c,BB:()=>k,M_:()=>y,PX:()=>b,V6:()=>h,bN:()=>p,gt:()=>m,me:()=>v,s:()=>d,zW:()=>g,zk:()=>f});var a=n(47143),r=n(70407),s=n(62491),o=n(708),i=n(75772),l=n(62146);const c="jetpack-social-plugin",u={reducer:o.A,actions:s.A,selectors:l.A,resolvers:i.Ay,initialState:(0,r.getSocialScriptData)()?.store_initial_state},d="facebook",p="instagram-business",m="linkedin",h="mastodon",g="bluesky",f="nextdoor",v="tumblr",b="twitter",k="threads",y=(0,a.createReduxStore)(c,u);(0,a.register)(y)},62015:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});var a=n(54118);const r=(e={connections:[]},t)=>{switch(t.type){case a.xW:return{...e,isConnectionsModalOpen:t.isOpen};case a.Bc:return{...e,connections:[...e.connections,t.connection]};case a.dA:return{...e,connections:t.connections};case a.nC:return{...e,connections:e.connections.filter((({connection_id:e})=>e!==t.connectionId))};case a.WH:{const n=new Set(e.deletingConnections);return t.deleting?n.add(t.connectionId):n.delete(t.connectionId),{...e,deletingConnections:[...n]}}case a.Nv:return{...e,reconnectingAccount:t.reconnectingAccount};case a.dw:return{...e,connections:e.connections.map((e=>e.connection_id===t.connectionId?{...e,...t.data}:e))};case a._6:{const n=new Set(e.updatingConnections);return t.updating?n.add(t.connectionId):n.delete(t.connectionId),{...e,updatingConnections:[...n]}}case a.WB:{const n=t.requestType||a.b5;return{...e,abortControllers:{...e.abortControllers,[n]:[...e.abortControllers?.[n]||[],t.abortController]}}}case a.Wp:{const n=t.requestType||a.b5;return{...e,abortControllers:{...e.abortControllers,[n]:[]}}}case a.BN:return{...e,keyringResult:t.keyringResult};case a.af:return{...e,connections:e.connections.map((e=>(e.connection_id?e.connection_id===t.connectionId:e.id===t.connectionId)?{...e,enabled:!e.enabled}:e))}}return e}},708:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var a=n(47143),r=n(62015),s=n(53202);const o=(0,a.combineReducers)({connectionData:r.A,shareStatus:s.q})},53202:(e,t,n)=>{"use strict";n.d(t,{q:()=>r});var a=n(54118);function r(e={},t){switch(t.type){case a.fz:return{...e,[t.postId]:{shares:[],...e?.[t.postId],loading:t.loading??!0}};case a.aF:return{...e,[t.postId]:{shares:[],...e?.[t.postId],polling:t.polling??!0}};case a._y:return{...e,[t.postId]:{...e?.[t.postId],...t.shareStatus,loading:!1}};case a.M6:return{...e,isModalOpen:t.isOpen}}return e}},75772:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>p});var a=n(1455),r=n.n(a),s=n(3582),o=n(43656),i=n(27723),l=n(51371),c=n(59061),u=n(38716),d=n(72451);const __=i.__;const p={getConnections:function(){return function({dispatch:e,registry:t}){const n=t.select(o.store);if(!n.getCurrentPostId())return;const a=n.getEditedPostAttribute("jetpack_publicize_connections");e((0,u.setConnections)(a||[]))}},getPostShareStatus:function(e){return async({dispatch:t,registry:n})=>{const a=e||n.select(o.store).getCurrentPostId(),{feature_flags:s}=(0,l.n)();if(s.useShareStatus)try{t((0,d.fetchPostShareStatus)(a));let e=await r()({path:`jetpack/v4/social/share-status/${a}`});e=(0,c.xA)(e),t((0,d.receivePostShareStaus)(e,a))}catch{t((0,d.fetchPostShareStatus)(a,!1))}}},getSocialPluginSettings:function(){return async({registry:e})=>{e.select(s.store).getEntitiesConfig("jetpack/v4").some((({name:e})=>"social/settings"===e))||await e.dispatch(s.store).addEntities([{kind:"jetpack/v4",name:"social/settings",baseURL:"/jetpack/v4/social/settings",label:__("Social Settings","jetpack")}])}}}},28343:(e,t,n)=>{"use strict";n.r(t),n.d(t,{getAbortControllers:()=>b,getBrokenConnections:()=>i,getConnectionById:()=>o,getConnectionProfileDetails:()=>h,getConnections:()=>s,getConnectionsByService:()=>l,getDeletingConnections:()=>g,getDisabledConnections:()=>m,getEnabledConnections:()=>p,getFailedConnections:()=>u,getKeyringResult:()=>E,getMustReauthConnections:()=>d,getReconnectingAccount:()=>v,getUpdatingConnections:()=>f,hasConnections:()=>c,isBlueskyAccountAlreadyConnected:()=>y,isConnectionsModalOpen:()=>w,isMastodonAccountAlreadyConnected:()=>k});var a=n(50384),r=n(54118);function s(e){return e.connectionData?.connections??[]}function o(e,t){return s(e).find((e=>e.connection_id===t))}function i(e){return s(e).filter((e=>"broken"===e.status||(0,a.Y)(e,"broken")))}function l(e,t){return s(e).filter((({service_name:e})=>e===t))}function c(e){return s(e).length>0}function u(e){return s(e).filter((e=>!1===e.test_success))}function d(e){return s(e).filter((e=>"must_reauth"===e.test_success)).map((e=>e.service_name))}function p(e){return s(e).filter((e=>e.enabled))}function m(e){return s(e).filter((e=>!e.enabled))}function h(e,t,{forceDefaults:n=!1}={}){let a="",r="",o="";if(!n){const n=s(e).find((({service_name:e})=>t===e));if(n){const{display_name:e,profile_display_name:s,profile_picture:i,external_display:l,external_name:c}=n;a="twitter"===t?s:e||l,o="twitter"===t?e:n.username,r=i,"bluesky"===t&&(o=c)}}return{displayName:a,profileImage:r,username:o}}function g(e){return e.connectionData?.deletingConnections??[]}function f(e){return e.connectionData?.updatingConnections??[]}function v(e){return e.connectionData?.reconnectingAccount}function b(e,t=r.b5){return e.connectionData?.abortControllers?.[t]??[]}function k(e,t){return l(e,"mastodon").some((e=>e.external_display===t))}function y(e,t){return l(e,"bluesky").some((e=>e.external_name===t))}function E(e){return e.connectionData?.keyringResult}function w(e){return e.connectionData?.isConnectionsModalOpen??!1}},62146:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var a=n(3582),r=n(47143),s=n(28343),o=n(49424),i=n(59379),l=n(68273),c=n(86982);const u={...s,...o,isSavingSiteSettings:(0,r.createRegistrySelector)((e=>()=>e(a.store).isSavingEntityRecord("root","site",void 0))),...i,...c,...l}},49424:(e,t,n)=>{"use strict";n.r(t),n.d(t,{getPostShareStatus:()=>s,isShareStatusModalOpen:()=>o});var a=n(47143),r=n(43656);const s=(0,a.createRegistrySelector)((e=>(t,n)=>{const a=n||e(r.store).getCurrentPostId();return t.shareStatus?.[a]??{shares:[]}}));function o(e){return e.shareStatus?.isModalOpen??!1}},59379:(e,t,n)=>{"use strict";n.r(t),n.d(t,{getSocialImageGeneratorConfig:()=>i});var a=n(3582),r=n(47143),s=n(70407),o=n(75238);const i=(0,r.createRegistrySelector)((e=>()=>{const{getSite:t}=e(a.store),n=t(void 0,{_fields:o.A});return n?.[o.A]??(0,s.getSocialScriptData)().settings.socialImageGenerator}))},68273:(e,t,n)=>{"use strict";n.r(t),n.d(t,{getSocialPluginSettings:()=>o,isSavingSocialPluginSettings:()=>i});var a=n(3582),r=n(47143),s=n(70407);const o=(0,r.createRegistrySelector)((e=>()=>e(a.store).getEntityRecord("jetpack/v4","social/settings",void 0)??(0,s.getSocialScriptData)().settings.socialPlugin)),i=(0,r.createRegistrySelector)((e=>()=>e(a.store).isSavingEntityRecord("jetpack/v4","social/settings",void 0)))},86982:(e,t,n)=>{"use strict";n.r(t),n.d(t,{getUtmSettings:()=>i});var a=n(3582),r=n(47143),s=n(70407),o=n(75238);const i=(0,r.createRegistrySelector)((e=>()=>{const{getSite:t}=e(a.store),n=t(void 0,{_fields:o.b});return n?.[o.b]??(0,s.getSocialScriptData)().settings.utmSettings}))},50384:(e,t,n)=>{"use strict";n.d(t,{Y:()=>a});const a=(e,t)=>!1===e.is_healthy&&t===(e.error_code??"broken")},27844:(e,t,n)=>{"use strict";n.d(t,{q:()=>a});const a={ENHANCED_PUBLISHING:"social-enhanced-publishing",IMAGE_GENERATOR:"social-image-generator"}},12093:(e,t,n)=>{"use strict";n.d(t,{T:()=>r});const a=255;function r(){return a}},3280:(e,t,n)=>{"use strict";n.d(t,{n:()=>r});var a=n(85985);function r(){return(0,a.$i)()?.social?.supportedAdditionalConnections||[]}},70407:(e,t,n)=>{"use strict";n.d(t,{getShareMessageMaxLength:()=>a.T,getSocialScriptData:()=>i.n,getSupportedAdditionalConnections:()=>r.n,hasSocialPaidFeatures:()=>i.p,requestExternalAccess:()=>s.x});var a=n(12093),r=n(3280),s=n(5367),o=n(18672);n.o(o,"GlobalModals")&&n.d(t,{GlobalModals:function(){return o.GlobalModals}}),n.o(o,"getSocialScriptData")&&n.d(t,{getSocialScriptData:function(){return o.getSocialScriptData}}),n.o(o,"hasSocialPaidFeatures")&&n.d(t,{hasSocialPaidFeatures:function(){return o.hasSocialPaidFeatures}}),n.o(o,"usePostCanUseSig")&&n.d(t,{usePostCanUseSig:function(){return o.usePostCanUseSig}}),n.o(o,"useSyncPostDataToStore")&&n.d(t,{useSyncPostDataToStore:function(){return o.useSyncPostDataToStore}});var i=n(51371);n(27844)},5367:(e,t,n)=>{"use strict";n.d(t,{x:()=>r});var a=n(51119);const r=(e,t)=>{const n=new a.A;let r;n.open(e,null,"toolbar=0,location=0,status=0,menubar=0,"+n.getScreenCenterSpecs(780,700)),n.once("close",(()=>{t(r?.ID?r:{})})),n.on("message",(e=>{r=e?.data}))}},51371:(e,t,n)=>{"use strict";n.d(t,{n:()=>r,p:()=>s});var a=n(97999);function r(){return(0,a.getScriptData)()?.social}function s(){return(0,a.siteHasFeature)("social-enhanced-publishing")}},59061:(e,t,n)=>{"use strict";function a(e){return e&&"shares"in e&&e.done&&e.shares.sort(((e,t)=>t.timestamp-e.timestamp)),e}function r(e){return t=>t.service_name===e.service&&(e.external_id?t.external_id===e.external_id:t.connection_id===e.connection_id.toString())}function s(e,t){return e.service===t.service&&(e.connection_id===t.connection_id||!(!e.external_id&&!t.external_id)&&e.external_id===t.external_id)}n.d(t,{Ri:()=>s,eJ:()=>r,xA:()=>a})},50646:(e,t,n)=>{"use strict";n(51371)},18672:()=>{},85985:(e,t,n)=>{"use strict";n.d(t,{$i:()=>a.A,BT:()=>l.A,Cq:()=>h.C,Dk:()=>c.Dk,FB:()=>o.A,GE:()=>r.A,GT:()=>c.GT,Q4:()=>c.Q4,Sy:()=>s.Sy,W4:()=>c.W4,aq:()=>c.aq,d9:()=>s.d9,gB:()=>u.A,jt:()=>m.A,lk:()=>s.lk,pP:()=>s.pP,q7:()=>p.A,sH:()=>c.sH,sh:()=>h.s,st:()=>d.A,tu:()=>c.tu,vp:()=>i.A});var a=n(34972),r=n(54815),s=n(62634),o=n(60703),i=n(82034),l=n(65595),c=n(53265),u=n(49354),d=n(73489),p=n(76923),m=n(15877),h=n(30335);n(88290)},15877:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var a=n(67142),r=n(51609),s=n.n(r);const o=()=>s().createElement(a.A,{className:"jetpack-editor-panel-logo",height:16,logoColor:"#1E1E1E",showText:!1})},30335:(e,t,n)=>{"use strict";n.d(t,{C:()=>o,s:()=>s});var a=n(86087),r=n(19334);function s(e){const t={};let n="span",r=e.icon;const s=document.createElement("div");s.innerHTML=e.icon;const o=s.querySelector("svg");return o&&(n="svg",r=o.innerHTML,Array.from(o.attributes).forEach((({nodeName:e,nodeValue:n})=>t[e]=n))),(0,a.createElement)(n,{...t,dangerouslySetInnerHTML:{__html:r||""}})}function o(e){return{src:s(e),foreground:(0,r.A)()}}},19334:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var a=n(62634);const r="#069e08";function s(){return(0,a.d9)()||(0,a.Sy)()?null:r}},34972:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const a="Jetpack_Editor_Initial_State";function r(){return"object"==typeof window?window?.[a]??null:null}},60703:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});var a=n(34972);function r(e){const t=(0,a.A)(),n=t?.available_blocks?.[e]?.available??!1,r=t?.available_blocks?.[e]?.unavailable_reason??"unknown";return{available:n,...!n&&{details:t?.available_blocks?.[e]?.details??[],unavailableReason:r}}}},54815:(e,t,n)=>{"use strict";function a(){return window&&window.Jetpack_Editor_Initial_State&&window.Jetpack_Editor_Initial_State.siteFragment?window.Jetpack_Editor_Initial_State.siteFragment:null}n.d(t,{A:()=>a})},73489:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var a=n(90372),r=n(39384),s=n(86087);const{tracks:o}=a.A,{recordEvent:i}=o,l=({pageViewEventName:e=null,pageViewNamespace:t="jetpack",pageViewSuffix:n="page_view",pageViewEventProperties:l={}}={})=>{const[c,u]=(0,s.useState)(!1),{isUserConnected:d,isRegistered:p,userConnectionData:m={}}=(0,r.useConnection)(),{wpcomUser:{login:h,ID:g}={},blogId:f}=m.currentUser||{},v=(0,s.useCallback)((async(e,t={})=>{d&&g&&h&&i(e,t)}),[d,g,h]);return(0,s.useEffect)((()=>{d&&g&&h&&f&&a.A.initialize(g,h,{blog_id:f})}),[f,g,h,d]),(0,s.useEffect)((()=>{const a=e?`${t}_${e}_${n}`:null;p&&a&&(c||(v(a,l),u(!0)))}),[c,t,e,n,p,l,v]),{recordEvent:v,tracks:o}}},76923:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var a=n(47143),r=n(86087),s=n(88290);const o=e=>{const{isModuleActive:t,isChangingStatus:n,isLoadingModules:o}=(0,a.useSelect)((t=>{const n=t(s.F);return{isModuleActive:n.isModuleActive(e),isChangingStatus:n.isModuleUpdating(e),isLoadingModules:n.areModulesLoading(e)}}),[e]),{updateJetpackModuleStatus:i}=(0,a.useDispatch)(s.F),l=(0,r.useCallback)((t=>i({name:e,active:t})),[e,i]);return(0,r.useMemo)((()=>({isLoadingModules:o,isChangingStatus:n,isModuleActive:t,changeStatus:l})),[o,n,t,l])}},49354:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});var a=n(34972);function r(){return(0,a.A)()?.jetpack?.is_current_user_connected??!1}},27105:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>d,E9:()=>u});var a=n(47143),r=n(62634),s=n(94478),o=n(88290);const i="SET_JETPACK_MODULES";function l(e){return u({isLoading:e})}function c(e,t){return{type:"SET_MODULE_UPDATING",name:e,isUpdating:t}}function u(e){return{type:i,options:e}}const d={updateJetpackModuleStatus:function*(e){try{yield c(e.name,!0),yield(0,s.sB)(e);const t=yield(0,s.wz)();return yield u({data:t}),!0}catch(e){const t=(0,a.select)(o.F).getJetpackModules();return yield u(t),!1}finally{yield c(e.name,!1)}},setJetpackModules:u,fetchModules:function*(){if((0,r.Sy)())return!0;try{yield l(!0);const e=yield(0,s.wz)();return yield u({data:e}),!0}catch(e){const t=(0,a.select)(o.F).getJetpackModules();return yield u(t),!1}finally{yield l(!1)}}}},94478:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>c,sB:()=>l,wz:()=>i});var a=n(1455),r=n.n(a);const s="FETCH_JETPACK_MODULES",o="UPDATE_JETPACK_MODULE_STATUS",i=()=>({type:s}),l=e=>({type:o,settings:e}),c={[s]:function(){return r()({path:"/jetpack/v4/module/all",method:"GET"})},[o]:function({settings:e}){return r()({path:`/jetpack/v4/module/${e.name}/active`,method:"POST",data:{active:e.active}})}}},88290:(e,t,n)=>{"use strict";n.d(t,{F:()=>c});var a=n(47143),r=n(27105),s=n(94478),o=n(38862),i=n(62701),l=n(31640);const c="jetpack-modules",u=(0,a.createReduxStore)(c,{reducer:o.A,actions:r.Ay,controls:s.Ay,resolvers:i.A,selectors:l.A});(0,a.register)(u);const d=window?.Initial_State?.getModules||window?.Jetpack_Editor_Initial_State?.modules||null;null!==d&&(0,a.dispatch)(c).setJetpackModules({data:{...d}})},38862:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const a={isLoading:!1,isUpdating:{},data:{}},r=(e=a,t)=>{switch(t.type){case"SET_JETPACK_MODULES":return{...e,...t.options};case"SET_MODULE_UPDATING":return{...e,isUpdating:{...e.isUpdating,[t.name]:t.isUpdating}}}return e}},62701:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var a=n(27105),r=n(94478);const s={getJetpackModules:function*(){try{const e=yield(0,r.wz)();if(e)return(0,a.E9)({data:e})}catch(e){console.error(e)}}}},31640:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});var a=n(62634);const r={getJetpackModules:e=>e.data,isModuleActive:(e,t)=>(0,a.Sy)()||(e?.data?.[t]?.activated??!1),areModulesLoading:e=>e.isLoading??!1,isModuleUpdating:(e,t)=>e?.isUpdating?.[t]??!1}},53265:(e,t,n)=>{"use strict";n.d(t,{Dk:()=>g,GT:()=>v,Q4:()=>u,W4:()=>d,aq:()=>p,sH:()=>f,tu:()=>m});var a=n(27723),r=n(93832),s=n(66087),o=n(34972),i=n(60703),l=n(54815),c=n(62634);const __=a.__;function u({planSlug:e,plan:t,postId:n,postType:a}){const o=(0,s.startsWith)(e,"jetpack_")?e:(0,s.get)(t,["path_slug"]),i=(void 0===a?()=>{const e=new URLSearchParams(window.location.search);return(0,r.addQueryArgs)(window.location.protocol+`//${(0,l.A)().replace("::","/")}/wp-admin/site-editor.php`,{postId:e.get("postId"),postType:e.get("postType"),plan_upgraded:1})}:()=>{const e=["page","post"].includes(a)?"":"edit";return(0,c.Sy)()?(0,r.addQueryArgs)("/"+(0,s.compact)([e,a,(0,l.A)(),n]).join("/"),{plan_upgraded:1}):(0,r.addQueryArgs)(window.location.protocol+`//${(0,l.A)().replace("::","/")}/wp-admin/post.php`,{action:"edit",post:n,plan_upgraded:1})})();return(0,c.d9)()?(0,r.addQueryArgs)(`https://wordpress.com/plans/${(0,l.A)()}`,{redirect_to:i,customerType:"business"}):o&&(0,r.addQueryArgs)(`https://wordpress.com/checkout/${(0,l.A)()}/${o}`,{redirect_to:i})}function d(e){if(!e)return!1;const t=/^jetpack\//.test(e)?e.substr(8,e.length):e,{available:n,unavailableReason:a}=(0,i.A)(t);return!n&&"missing_plan"===a}function p(e,t){return"missing_plan"===e&&t.required_plan}function m(e){if(!e)return!1;const t=/^jetpack\//.test(e)?e.substr(8,e.length):e,{details:n,unavailableReason:a}=(0,i.A)(t);return p(a,n)}const h=[{name:"core/cover",mediaPlaceholder:!0,mediaReplaceFlow:!0,fileType:"video",description:__("Upgrade your plan to use video covers","jetpack")},{name:"core/audio",mediaPlaceholder:!0,mediaReplaceFlow:!0,fileType:"audio",description:__("Upgrade your plan to upload audio","jetpack")}];function g(){return(0,s.get)((0,o.A)(),"jetpack.enable_upgrade_nudge",!1)}const f=e=>(0,s.map)(h,"name").includes(e),v=e=>(0,s.head)((0,s.filter)(h,(({name:t})=>t===e)))},82034:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var a=n(92279),r=n(60703);function s(e,t){const{available:n,unavailableReason:s}=(0,r.A)(e);return!!n&&(0,a.registerPlugin)(`jetpack-${e}`,t)}},62634:(e,t,n)=>{"use strict";n.d(t,{Sy:()=>s,d9:()=>o,lk:()=>l,pP:()=>i});var a=n(34972);function r(){return"object"==typeof window&&"string"==typeof window._currentSiteType?window._currentSiteType:null}function s(){return"simple"===r()}function o(){return"atomic"===r()}function i(){const e=(0,a.A)();return e?.jetpack?.is_private_site??!1}function l(){const e=(0,a.A)();return e?.jetpack?.is_coming_soon??!1}},65595:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var a=n(96072),r=n.n(a),s=n(29491);const o=e=>(0,s.createHigherOrderComponent)((t=>n=>React.createElement(t,r()({},n,{className:n.name===e?"has-warning is-interactive":n.className}))),"withHasWarningIsInteractiveClassNames")},84705:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>a.d});var a=n(58992);n(91135)},91135:(e,t,n)=>{"use strict";n.d(t,{$:()=>a});const a=[{name:"amazon",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M13.582 8.182c-1.648.185-3.802.308-5.344.984-1.781.769-3.03 2.337-3.03 4.644 0 2.953 1.86 4.429 4.253 4.429 2.02 0 3.125-.477 4.685-2.065.516.747.685 1.109 1.629 1.894a.59.59 0 0 0 .672-.066l.006.006c.567-.505 1.599-1.401 2.18-1.888.231-.188.19-.496.009-.754-.52-.718-1.072-1.303-1.072-2.634V8.305c0-1.876.133-3.599-1.249-4.891C15.23 2.369 13.422 2 12.04 2 9.336 2 6.318 3.01 5.686 6.351c-.068.355.191.542.423.594l2.754.298c.258-.013.445-.266.494-.523.236-1.151 1.2-1.706 2.284-1.706.584 0 1.249.215 1.595.738.398.584.346 1.384.346 2.061zm-.533 5.906c-.451.8-1.169 1.291-1.967 1.291-1.09 0-1.728-.83-1.728-2.061 0-2.42 2.171-2.86 4.227-2.86v.615c.001 1.108.027 2.031-.532 3.015m7.634 5.251C18.329 21.076 14.917 22 11.979 22c-4.118 0-7.826-1.522-10.632-4.057-.22-.199-.024-.471.241-.317 3.027 1.762 6.771 2.823 10.639 2.823 2.608 0 5.476-.541 8.115-1.66.397-.169.73.262.341.55m.653 1.704c-.194.163-.379.076-.293-.139.284-.71.92-2.298.619-2.684s-1.99-.183-2.749-.092c-.23.027-.266-.173-.059-.319 1.348-.946 3.555-.673 3.811-.356.26.32-.066 2.533-1.329 3.59"})))},{name:"behance",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M7.799 5.698c.589 0 1.12.051 1.606.156q.722.155 1.241.507.516.351.804.938c.188.387.281.871.281 1.443q0 .93-.421 1.551-.424.62-1.255 1.014 1.133.328 1.689 1.146.559.822.557 1.975 0 .935-.359 1.612a3.14 3.14 0 0 1-.973 1.114q-.613.432-1.399.637A6.1 6.1 0 0 1 7.963 18H2V5.698zm-.35 4.97q.721 0 1.192-.345.465-.344.463-1.119 0-.43-.152-.707a1.1 1.1 0 0 0-.416-.427 1.7 1.7 0 0 0-.596-.216 3.6 3.6 0 0 0-.697-.06H4.709v2.874zm.151 5.237q.401.001.759-.077c.243-.053.457-.137.637-.261.182-.12.332-.283.441-.491q.164-.31.163-.798-.002-.948-.533-1.357c-.356-.27-.83-.404-1.413-.404H4.709v3.388zm8.562-.041q.552.538 1.583.538.74 0 1.277-.374c.354-.248.571-.514.654-.79h2.155c-.347 1.072-.872 1.838-1.589 2.299-.708.463-1.572.693-2.58.693q-1.05 0-1.899-.337a4 4 0 0 1-1.439-.958 4.4 4.4 0 0 1-.904-1.484 5.4 5.4 0 0 1-.32-1.899q0-1 .329-1.863a4.4 4.4 0 0 1 .933-1.492q.607-.63 1.444-.994a4.6 4.6 0 0 1 1.857-.363q1.131-.001 1.98.44a3.94 3.94 0 0 1 1.389 1.181 4.8 4.8 0 0 1 .783 1.69q.24.947.171 1.983h-6.428c-.001.706.237 1.372.604 1.73m2.811-4.68c-.291-.321-.783-.496-1.384-.496q-.585 0-.973.2a2 2 0 0 0-.621.491 1.8 1.8 0 0 0-.328.628 2.7 2.7 0 0 0-.111.587h3.98c-.058-.625-.271-1.085-.563-1.41m-3.916-3.446h4.985V6.524h-4.985z"})))},{name:"blogger-alt",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M19.779 9.904h-.981l-.021.001a1.163 1.163 0 0 1-1.16-1.079l-.001-.013A5.813 5.813 0 0 0 11.803 3H8.871a5.813 5.813 0 0 0-5.813 5.813v6.375a5.813 5.813 0 0 0 5.813 5.813h6.257a5.814 5.814 0 0 0 5.813-5.813l.002-4.121a1.164 1.164 0 0 0-1.164-1.163M8.726 7.713h3.291a1.117 1.117 0 1 1 0 2.234H8.726a1.117 1.117 0 1 1 0-2.234m6.601 8.657H8.72a1.057 1.057 0 1 1 0-2.114h6.607a1.057 1.057 0 1 1 0 2.114"})))},{name:"blogger",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M14.722 14.019a.654.654 0 0 1-.654.654H9.977a.654.654 0 0 1 0-1.308h4.091c.361 0 .654.293.654.654m-4.741-3.321h2.038a.692.692 0 0 0 0-1.384H9.981a.692.692 0 0 0 0 1.384M21 5v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2m-3.456 6.39a.72.72 0 0 0-.72-.72h-.607l-.013.001a.72.72 0 0 1-.718-.668l-.001-.008a3.6 3.6 0 0 0-3.599-3.599H10.07a3.6 3.6 0 0 0-3.599 3.599v3.947a3.6 3.6 0 0 0 3.599 3.599h3.874a3.6 3.6 0 0 0 3.599-3.599z"})))},{name:"bluesky",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M21.2 3.3c-.5-.2-1.4-.5-3.6 1C15.4 6 12.9 9.2 12 11c-.9-1.8-3.4-5-5.7-6.7-2.2-1.6-3-1.3-3.6-1S2 4.6 2 5.1s.3 4.7.5 5.4c.7 2.3 3.1 3.1 5.3 2.8-3.3.5-6.2 1.7-2.4 5.9 4.2 4.3 5.7-.9 6.5-3.6.8 2.7 1.7 7.7 6.4 3.6 3.6-3.6 1-5.4-2.3-5.9 2.2.2 4.6-.5 5.3-2.8.4-.7.7-4.8.7-5.4 0-.5-.1-1.5-.8-1.8"})))},{name:"codepen",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"m22.016 8.84-.007-.037q-.006-.037-.015-.072-.007-.022-.013-.042l-.023-.062-.02-.042a.4.4 0 0 0-.03-.057l-.025-.038-.035-.052-.03-.037q-.021-.026-.043-.045-.015-.018-.035-.035a.4.4 0 0 0-.048-.04l-.037-.03-.015-.012-9.161-6.096a.86.86 0 0 0-.955 0L2.359 8.237l-.015.012-.038.028-.048.04a.638.638 0 0 0-.078.082q-.018.018-.03.037-.018.026-.035.052l-.025.038q-.016.031-.03.059l-.02.041a1 1 0 0 0-.034.106q-.01.034-.016.071-.003.02-.006.037a1 1 0 0 0-.009.114v6.093q0 .056.008.112l.007.038q.006.035.015.072a.2.2 0 0 0 .013.04q.01.032.022.063l.02.04a.4.4 0 0 0 .055.096l.035.052.03.037.042.045.035.035q.023.02.048.04l.038.03.013.01 9.163 6.095a.858.858 0 0 0 .959.004l9.163-6.095.015-.01q.02-.015.037-.03l.048-.04q.02-.017.035-.035.025-.024.043-.045l.03-.037.035-.052.025-.038a.4.4 0 0 0 .03-.058l.02-.04.023-.063c.003-.013.01-.027.013-.04q.009-.037.015-.072l.007-.037q.006-.062.007-.117V8.954a1 1 0 0 0-.008-.114m-9.154-4.376 6.751 4.49-3.016 2.013-3.735-2.492zm-1.724 0v4.009l-3.735 2.494-3.014-2.013zm-7.439 6.098L5.853 12l-2.155 1.438zm7.439 8.974-6.749-4.491 3.015-2.011 3.735 2.492zM12 14.035 8.953 12 12 9.966 15.047 12zm.862 5.501v-4.009l3.735-2.492 3.016 2.011zm7.441-6.098L18.147 12l2.156-1.438z"})))},{name:"deezer",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M20.129 3.662c.222-1.287.548-2.096.909-2.098h.001c.673.002 1.219 2.809 1.219 6.274s-.546 6.274-1.22 6.274c-.276 0-.531-.477-.736-1.276-.324 2.926-.997 4.937-1.776 4.937-.603 0-1.144-1.208-1.507-3.114-.248 3.624-.872 6.195-1.602 6.195-.458 0-.875-1.019-1.184-2.678C13.861 21.6 13.003 24 12.002 24s-1.861-2.399-2.231-5.824c-.307 1.659-.724 2.678-1.184 2.678-.73 0-1.352-2.571-1.602-6.195-.363 1.905-.903 3.114-1.507 3.114-.778 0-1.452-2.011-1.776-4.937-.204.802-.46 1.276-.736 1.276-.674 0-1.22-2.809-1.22-6.274s.546-6.274 1.22-6.274c.362 0 .685.812.91 2.098.357-2.22.94-3.662 1.6-3.662.784 0 1.463 2.04 1.784 5.002.314-2.156.791-3.53 1.325-3.53.749 0 1.385 2.703 1.621 6.474.443-1.933 1.085-3.146 1.795-3.146s1.352 1.214 1.795 3.146c.237-3.771.872-6.474 1.621-6.474.533 0 1.009 1.374 1.325 3.53.321-2.962 1-5.002 1.784-5.002.658 0 1.244 1.443 1.603 3.662M0 7.221c0-1.549.31-2.805.692-2.805s.692 1.256.692 2.805-.31 2.805-.692 2.805S0 8.77 0 7.221m22.616 0c0-1.549.31-2.805.692-2.805S24 5.672 24 7.221s-.31 2.805-.692 2.805-.692-1.256-.692-2.805"})))},{name:"discord",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M20.33 4.523A20 20 0 0 0 15.379 3a14 14 0 0 0-.634 1.289 18.4 18.4 0 0 0-5.495 0A14 14 0 0 0 8.615 3 20 20 0 0 0 3.66 4.527C.527 9.163-.323 13.684.102 18.141a20 20 0 0 0 6.073 3.049 14.7 14.7 0 0 0 1.301-2.097 13 13 0 0 1-2.048-.978q.258-.189.502-.378a14.27 14.27 0 0 0 12.142 0q.247.202.502.378a13 13 0 0 1-2.052.98 14.5 14.5 0 0 0 1.301 2.095 19.9 19.9 0 0 0 6.076-3.047c.498-5.168-.851-9.648-3.568-13.62M8.013 15.4c-1.183 0-2.161-1.074-2.161-2.395S6.796 10.6 8.01 10.6s2.183 1.083 2.163 2.405S9.22 15.4 8.013 15.4m7.974 0c-1.186 0-2.16-1.074-2.16-2.395s.944-2.405 2.16-2.405 2.178 1.083 2.157 2.405-.951 2.395-2.158 2.395"})))},{name:"dribbble",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12 22C6.486 22 2 17.514 2 12S6.486 2 12 2s10 4.486 10 10-4.486 10-10 10m8.434-8.631c-.292-.092-2.644-.794-5.32-.365 1.117 3.07 1.572 5.57 1.659 6.09a8.56 8.56 0 0 0 3.661-5.725m-5.098 6.507c-.127-.749-.623-3.361-1.822-6.477l-.056.019c-4.818 1.679-6.547 5.02-6.701 5.334A8.5 8.5 0 0 0 12 20.555a8.5 8.5 0 0 0 3.336-.679m-9.682-2.152c.193-.331 2.538-4.213 6.943-5.637q.167-.054.337-.102a29 29 0 0 0-.692-1.45c-4.266 1.277-8.405 1.223-8.778 1.216a8.497 8.497 0 0 0 2.19 5.973m-2.015-7.46c.382.005 3.901.02 7.897-1.041a55 55 0 0 0-3.167-4.94 8.57 8.57 0 0 0-4.73 5.981m6.359-6.555a46 46 0 0 1 3.187 5c3.037-1.138 4.323-2.867 4.477-3.085a8.51 8.51 0 0 0-7.664-1.915m8.614 2.903c-.18.243-1.612 2.078-4.77 3.367a27 27 0 0 1 .751 1.678c2.842-.357 5.666.215 5.948.275a8.5 8.5 0 0 0-1.929-5.32"})))},{name:"dropbox",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12 6.134 6.069 9.797 2 6.54l5.883-3.843zm-10 6.92 5.883 3.843L12 13.459 6.069 9.797zm10 .405 4.116 3.439L22 13.054l-4.069-3.257zM22 6.54l-5.884-3.843L12 6.134l5.931 3.663zm-9.989 7.66-4.129 3.426-1.767-1.153v1.291l5.896 3.539 5.897-3.539v-1.291l-1.769 1.153z"})))},{name:"eventbrite",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M18.041 3.931 5.959 3A2.96 2.96 0 0 0 3 5.959v12.083A2.96 2.96 0 0 0 5.959 21l12.083-.931C19.699 19.983 21 18.744 21 17.11V6.89c0-1.634-1.259-2.863-2.959-2.959M16.933 8.17c-.082.215-.192.432-.378.551-.188.122-.489.132-.799.132-1.521 0-3.062-.048-4.607-.048q-.23 1.061-.451 2.128c.932-.004 1.873.005 2.81.005.726 0 1.462-.069 1.586.525.04.189-.001.426-.052.615-.105.38-.258.676-.625.783-.185.054-.408.058-.646.058-1.145 0-2.345.017-3.493.02-.169.772-.328 1.553-.489 2.333 1.57-.005 3.067-.041 4.633-.058.627-.007 1.085.194 1.009.85a2.2 2.2 0 0 1-.211.725c-.102.208-.248.376-.488.452-.237.075-.541.064-.862.078-.304.014-.614.008-.924.016-.309.009-.619.022-.919.022-1.253 0-2.429.08-3.683.073-.603-.004-1.014-.249-1.124-.757-.059-.273-.018-.58.036-.841a3543 3543 0 0 1 1.629-7.763c.056-.265.114-.511.225-.714a1.24 1.24 0 0 1 .79-.62c.368-.099.883-.047 1.344-.047.305 0 .612.008.914.016.925.026 1.817.03 2.747.053.304.007.615.016.915.016.621 0 1.17.073 1.245.614.039.288-.051.567-.132.783"})))},{name:"facebook",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("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-10"})))},{name:"fediverse",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 743 743"},React.createElement("g",null,React.createElement("path",{d:"M181.131 275.137a68.9 68.9 0 0 1-29.465 29.328l161.758 162.389 38.998-19.764zm213.363 214.187-38.998 19.764 81.963 82.283a68.9 68.9 0 0 1 29.471-29.332zM581.646 339.391l-91.576 46.41 6.752 43.189 103.616-52.513a68.9 68.9 0 0 1-18.792-37.086m-144.738 73.351L220.383 522.477a68.9 68.9 0 0 1 18.795 37.089L443.66 455.934zM367.275 142.438l-104.48 203.97 30.848 30.967 110.623-215.957a68.9 68.9 0 0 1-36.991-18.98M235.621 399.459l-52.922 103.314a68.9 68.9 0 0 1 36.987 18.979l46.781-91.328zM150.768 304.918a68.9 68.9 0 0 1-34.416 7.195 69 69 0 0 1-6.651-.695l30.903 197.662a68.9 68.9 0 0 1 34.416-7.195 69 69 0 0 1 6.646.695zM239.342 560.545c.707 4.589.949 9.239.72 13.877a68.9 68.9 0 0 1-7.267 27.18l197.629 31.712c-.708-4.59-.95-9.24-.723-13.878a68.9 68.9 0 0 1 7.27-27.178zM601.133 377.199l-91.219 178.082a68.9 68.9 0 0 1 36.994 18.983l91.217-178.08a68.9 68.9 0 0 1-36.992-18.985M476.723 125.33a68.9 68.9 0 0 1-29.471 29.332l141.266 141.811a68.9 68.9 0 0 1 29.468-29.332zM347.787 104.631l-178.576 90.498a68.9 68.9 0 0 1 18.793 37.086l178.574-90.502a68.9 68.9 0 0 1-18.791-37.082M446.926 154.826a68.9 68.9 0 0 1-34.983 7.483 69 69 0 0 1-6.029-.633l15.818 101.291 43.163 6.926zm-16 167.028 37.4 239.482a68.9 68.9 0 0 1 33.914-6.943q3.625.206 7.207.791L474.09 328.777zM188.131 232.975c.734 4.66.988 9.383.758 14.095a68.9 68.9 0 0 1-7.16 26.983l101.369 16.281 19.923-38.908zm173.736 27.9-19.926 38.912 239.514 38.467a69 69 0 0 1-.695-13.719 68.9 68.9 0 0 1 7.349-27.324z"}),React.createElement("path",{fillOpacity:".996",d:"M412.284 156.054c34.538 1.882 64.061-24.592 65.943-59.13s-24.592-64.062-59.131-65.943c-34.538-1.882-64.061 24.592-65.943 59.13s24.593 64.062 59.131 65.943M646.144 390.82c34.538 1.881 64.062-24.593 65.943-59.131s-24.592-64.061-59.13-65.943-64.062 24.593-65.943 59.131 24.592 64.061 59.13 65.943M495.086 685.719c34.538 1.881 64.062-24.592 65.943-59.13s-24.592-64.062-59.13-65.943-64.062 24.592-65.943 59.13 24.592 64.062 59.13 65.943M167.866 633.211c34.538 1.882 64.062-24.592 65.943-59.13s-24.592-64.062-59.13-65.943-64.062 24.592-65.943 59.13 24.592 64.062 59.13 65.943M116.692 305.86c34.538 1.882 64.062-24.592 65.943-59.13s-24.592-64.062-59.131-65.943c-34.538-1.881-64.061 24.592-65.943 59.13s24.593 64.062 59.131 65.943"})))},{name:"feed",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M2 8.667V12c5.515 0 10 4.485 10 10h3.333c0-7.363-5.97-13.333-13.333-13.333M2 2v3.333c9.19 0 16.667 7.477 16.667 16.667H22C22 10.955 13.045 2 2 2m2.5 15a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5"})))},{name:"flickr",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M6.5 7c-2.75 0-5 2.25-5 5s2.25 5 5 5 5-2.25 5-5-2.25-5-5-5m11 0c-2.75 0-5 2.25-5 5s2.25 5 5 5 5-2.25 5-5-2.25-5-5-5"})))},{name:"foursquare",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M17.573 2H6.905C5.434 2 5 3.107 5 3.805v16.948c0 .785.422 1.077.66 1.172.238.097.892.177 1.285-.275 0 0 5.035-5.843 5.122-5.93.132-.132.132-.132.262-.132h3.26c1.368 0 1.588-.977 1.732-1.552.078-.318.692-3.428 1.225-6.122l.675-3.368C19.56 2.893 19.14 2 17.573 2m-1.078 5.22c-.053.252-.372.518-.665.518h-4.157c-.467 0-.802.318-.802.787v.508c0 .467.337.798.805.798h3.528c.331 0 .655.362.583.715s-.407 2.102-.448 2.295c-.04.193-.262.523-.655.523h-2.88c-.523 0-.683.068-1.033.503-.35.437-3.505 4.223-3.505 4.223-.032.035-.063.027-.063-.015V4.852c0-.298.26-.648.648-.648h8.562c.315 0 .61.297.528.683z"})))},{name:"ghost",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M10.203 20.997H3.005v-3.599h7.198zm10.792-3.599h-7.193v3.599h7.193zm.003-7.198H3v3.599h17.998zm-7.195-7.197H3.005v3.599h10.798zm7.197 0h-3.599v3.599H21z"})))},{name:"git",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M23.519 10.947 13.053.482a1.543 1.543 0 0 0-2.183 0L8.696 2.656l2.756 2.756a1.83 1.83 0 0 1 1.886.439 1.84 1.84 0 0 1 .436 1.898l2.656 2.657a1.83 1.83 0 0 1 1.899.436 1.837 1.837 0 0 1 0 2.597 1.84 1.84 0 0 1-2.599 0 1.84 1.84 0 0 1-.4-1.998l-2.478-2.477v6.521a1.837 1.837 0 0 1 .485 2.945 1.837 1.837 0 0 1-2.597 0 1.837 1.837 0 0 1 0-2.598 1.8 1.8 0 0 1 .602-.401V8.85a1.8 1.8 0 0 1-.602-.4 1.84 1.84 0 0 1-.395-2.009L7.628 3.723.452 10.898a1.544 1.544 0 0 0 0 2.184l10.467 10.467a1.544 1.544 0 0 0 2.183 0l10.417-10.418a1.546 1.546 0 0 0 0-2.184"})))},{name:"github",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12c0 4.419 2.865 8.166 6.839 9.489.5.09.682-.218.682-.484 0-.236-.009-.866-.014-1.699-2.782.602-3.369-1.34-3.369-1.34-.455-1.157-1.11-1.465-1.11-1.465-.909-.62.069-.608.069-.608 1.004.071 1.532 1.03 1.532 1.03.891 1.529 2.341 1.089 2.91.833.091-.647.349-1.086.635-1.337-2.22-.251-4.555-1.111-4.555-4.943 0-1.091.39-1.984 1.03-2.682-.103-.254-.447-1.27.097-2.646 0 0 .84-.269 2.75 1.025A9.6 9.6 0 0 1 12 6.836c.85.004 1.705.114 2.504.336 1.909-1.294 2.748-1.025 2.748-1.025.546 1.376.202 2.394.1 2.646.64.699 1.026 1.591 1.026 2.682 0 3.841-2.337 4.687-4.565 4.935.359.307.679.917.679 1.852 0 1.335-.012 2.415-.012 2.741 0 .269.18.579.688.481A10 10 0 0 0 22 12c0-5.523-4.477-10-10-10"})))},{name:"google-alt",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2m-.05 16c-3.312 0-6-2.688-6-6s2.688-6 6-6c1.62 0 2.976.594 4.014 1.566L14.26 9.222c-.432-.408-1.188-.888-2.31-.888-1.986 0-3.606 1.65-3.606 3.672s1.62 3.672 3.606 3.672c2.298 0 3.144-1.59 3.3-2.532h-3.306v-2.238h5.616c.084.378.15.732.15 1.23 0 3.426-2.298 5.862-5.76 5.862"})))},{name:"google-plus-alt",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M8 11h6.61c.06.35.11.7.11 1.16 0 4-2.68 6.84-6.72 6.84-3.87 0-7-3.13-7-7s3.13-7 7-7c1.89 0 3.47.69 4.69 1.83l-1.9 1.83c-.52-.5-1.43-1.08-2.79-1.08-2.39 0-4.34 1.98-4.34 4.42S5.61 16.42 8 16.42c2.77 0 3.81-1.99 3.97-3.02H8zm15 0h-2V9h-2v2h-2v2h2v2h2v-2h2"})))},{name:"google-plus",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2m-1.919 14.05a4.051 4.051 0 0 1 0-8.1c1.094 0 2.009.401 2.709 1.057l-1.15 1.118a2.23 2.23 0 0 0-1.559-.599c-1.341 0-2.434 1.114-2.434 2.479s1.094 2.479 2.434 2.479c1.551 0 2.122-1.073 2.227-1.709h-2.232v-1.511h3.791c.057.255.101.494.101.83.001 2.312-1.55 3.956-3.887 3.956M19 12.75h-1.25V14h-1.5v-1.25H15v-1.5h1.25V10h1.5v1.25H19z"})))},{name:"google",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12.02 10.18v3.73h5.51c-.26 1.57-1.67 4.22-5.5 4.22-3.31 0-6.01-2.75-6.01-6.12s2.7-6.12 6.01-6.12c1.87 0 3.13.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 0-.83-.11-1.42-.25-2.05z"})))},{name:"instagram",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12 4.622c2.403 0 2.688.009 3.637.052.877.04 1.354.187 1.671.31.42.163.72.358 1.035.673s.51.615.673 1.035c.123.317.27.794.31 1.671.043.949.052 1.234.052 3.637s-.009 2.688-.052 3.637c-.04.877-.187 1.354-.31 1.671-.163.42-.358.72-.673 1.035s-.615.51-1.035.673c-.317.123-.794.27-1.671.31-.949.043-1.233.052-3.637.052s-2.688-.009-3.637-.052c-.877-.04-1.354-.187-1.671-.31a2.8 2.8 0 0 1-1.035-.673 2.8 2.8 0 0 1-.673-1.035c-.123-.317-.27-.794-.31-1.671-.043-.949-.052-1.234-.052-3.637s.009-2.688.052-3.637c.04-.877.187-1.354.31-1.671.163-.42.358-.72.673-1.035s.615-.51 1.035-.673c.317-.123.794-.27 1.671-.31.949-.043 1.234-.052 3.637-.052M12 3c-2.444 0-2.751.01-3.711.054-.958.044-1.612.196-2.184.418a4.4 4.4 0 0 0-1.594 1.039c-.5.5-.808 1.002-1.038 1.594-.223.572-.375 1.226-.419 2.184C3.01 9.249 3 9.556 3 12s.01 2.751.054 3.711c.044.958.196 1.612.418 2.185.23.592.538 1.094 1.038 1.594s1.002.808 1.594 1.038c.572.222 1.227.375 2.185.418.96.044 1.267.054 3.711.054s2.751-.01 3.711-.054c.958-.044 1.612-.196 2.185-.418a4.4 4.4 0 0 0 1.594-1.038c.5-.5.808-1.002 1.038-1.594.222-.572.375-1.227.418-2.185.044-.96.054-1.267.054-3.711s-.01-2.751-.054-3.711c-.044-.958-.196-1.612-.418-2.185A4.4 4.4 0 0 0 19.49 4.51c-.5-.5-1.002-.808-1.594-1.038-.572-.222-1.227-.375-2.185-.418C14.751 3.01 14.444 3 12 3m0 4.378a4.622 4.622 0 1 0 0 9.244 4.622 4.622 0 0 0 0-9.244M12 15a3 3 0 1 1 0-6 3 3 0 0 1 0 6m4.804-8.884a1.08 1.08 0 1 0 .001 2.161 1.08 1.08 0 0 0-.001-2.161"})))},{name:"json-feed",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"m8.522 17.424.027.027c1.076-1.076 1.854-.993 3.154.306l2.053 2.053c2.136 2.136 4.131 2.028 6.515-.356l.729-.728-1.548-1.548-.373.373c-1.349 1.349-2.293 1.366-3.585.075l-2.409-2.409c-1.242-1.242-2.475-1.366-3.659-.381l-.232-.232c1.01-1.225.911-2.368-.29-3.568l-2.16-2.162c-1.317-1.317-1.308-2.236.058-3.602l.372-.372-1.54-1.54-.728.729c-2.393 2.393-2.525 4.346-.439 6.433l1.78 1.78c1.3 1.3 1.383 2.095.315 3.163l.008.008a1.384 1.384 0 0 0 1.952 1.951"}),React.createElement("circle",{cx:"13.089",cy:"10.905",r:"1.383"}),React.createElement("circle",{cx:"16.349",cy:"7.644",r:"1.383"}),React.createElement("circle",{cx:"19.61",cy:"4.383",r:"1.383"})))},{name:"line",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M14.255 9.572v3.333c0 .084-.066.15-.15.15h-.534a.16.16 0 0 1-.122-.061l-1.528-2.063v1.978c0 .084-.066.15-.15.15h-.534a.15.15 0 0 1-.15-.15V9.576c0-.084.066-.15.15-.15h.529a.14.14 0 0 1 .122.066l1.528 2.063V9.577c0-.084.066-.15.15-.15h.534a.15.15 0 0 1 .155.145m-3.844-.15h-.534a.15.15 0 0 0-.15.15v3.333c0 .084.066.15.15.15h.534c.084 0 .15-.066.15-.15V9.572c0-.08-.066-.15-.15-.15m-1.289 2.794H7.664V9.572a.15.15 0 0 0-.15-.15H6.98a.15.15 0 0 0-.15.15v3.333q0 .062.042.103a.16.16 0 0 0 .103.042h2.142c.084 0 .15-.066.15-.15v-.534a.15.15 0 0 0-.145-.15m7.945-2.794h-2.142c-.08 0-.15.066-.15.15v3.333c0 .08.066.15.15.15h2.142c.084 0 .15-.066.15-.15v-.534a.15.15 0 0 0-.15-.15h-1.458v-.563h1.458c.084 0 .15-.066.15-.15v-.539a.15.15 0 0 0-.15-.15h-1.458v-.563h1.458c.084 0 .15-.066.15-.15v-.534c-.005-.08-.07-.15-.15-.15M22.5 5.33v13.373c-.005 2.1-1.725 3.802-3.83 3.797H5.297c-2.1-.005-3.802-1.73-3.797-3.83V5.297c.005-2.1 1.73-3.802 3.83-3.797h13.373c2.1.005 3.802 1.725 3.797 3.83m-2.888 5.747c0-3.422-3.431-6.206-7.645-6.206s-7.645 2.784-7.645 6.206c0 3.066 2.719 5.634 6.394 6.122.895.192.792.52.591 1.725-.033.192-.155.755.661.413s4.402-2.592 6.009-4.439c1.106-1.219 1.636-2.452 1.636-3.82"})))},{name:"link",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M17 13H7v-2h10zm1-6h-1c-1.631 0-3.065.792-3.977 2H18c1.103 0 2 .897 2 2v2c0 1.103-.897 2-2 2h-4.977c.913 1.208 2.347 2 3.977 2h1a4 4 0 0 0 4-4v-2a4 4 0 0 0-4-4M2 11v2a4 4 0 0 0 4 4h1c1.63 0 3.065-.792 3.977-2H6c-1.103 0-2-.897-2-2v-2c0-1.103.897-2 2-2h4.977C10.065 7.792 8.631 7 7 7H6a4 4 0 0 0-4 4"})))},{name:"linkedin",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M19.7 3H4.3A1.3 1.3 0 0 0 3 4.3v15.4A1.3 1.3 0 0 0 4.3 21h15.4a1.3 1.3 0 0 0 1.3-1.3V4.3A1.3 1.3 0 0 0 19.7 3M8.339 18.338H5.667v-8.59h2.672zM7.004 8.574a1.548 1.548 0 1 1-.002-3.096 1.548 1.548 0 0 1 .002 3.096m11.335 9.764H15.67v-4.177c0-.996-.017-2.278-1.387-2.278-1.389 0-1.601 1.086-1.601 2.206v4.249h-2.667v-8.59h2.559v1.174h.037c.356-.675 1.227-1.387 2.526-1.387 2.703 0 3.203 1.779 3.203 4.092v4.711z"})))},{name:"mail",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M20 4H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2m0 4.236-8 4.882-8-4.882V6h16z"})))},{name:"mastodon",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M11.973 2.352c-2.468.02-4.842.286-6.225.921 0 0-2.742 1.229-2.742 5.415 0 .958-.018 2.105.012 3.32.1 4.094.75 8.128 4.535 9.129 1.745.462 3.244.56 4.45.494 2.19-.122 3.417-.781 3.417-.781l-.072-1.588s-1.565.491-3.32.431c-1.74-.06-3.576-.188-3.858-2.324a4 4 0 0 1-.04-.598s1.709.416 3.874.516c1.324.06 2.563-.076 3.824-.226 2.418-.29 4.524-1.78 4.79-3.141.416-2.144.38-5.232.38-5.232 0-4.186-2.74-5.415-2.74-5.415-1.383-.635-3.76-.9-6.227-.921zM9.18 5.622c1.028 0 1.804.395 2.318 1.185l.502.84.5-.84c.514-.79 1.292-1.186 2.32-1.186.888 0 1.605.313 2.15.922q.795.915.794 2.469v5.068h-2.008V9.16c0-1.037-.438-1.562-1.31-1.562-.966 0-1.448.622-1.448 1.857v2.693h-1.996V9.455c0-1.235-.484-1.857-1.45-1.857-.872 0-1.308.525-1.308 1.562v4.92H6.236V9.012q-.001-1.554.793-2.469c.547-.609 1.263-.922 2.15-.922"})))},{name:"medium-alt",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{fillRule:"nonzero",d:"M7.423 6c3.27 0 5.922 2.686 5.922 6s-2.651 6-5.922 6S1.5 15.313 1.5 12s2.652-6 5.923-6m9.458.351c1.635 0 2.961 2.53 2.961 5.65 0 3.118-1.325 5.648-2.96 5.648S13.92 15.119 13.92 12s1.325-5.649 2.96-5.649m4.577.589c.576 0 1.042 2.265 1.042 5.06s-.466 5.06-1.042 5.06c-.575 0-1.04-2.265-1.04-5.06s.465-5.06 1.04-5.06"})))},{name:"medium",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M3 3v18h18V3zm15 4.26-1 .93a.28.28 0 0 0-.11.27v6.8a.27.27 0 0 0 .11.27l.94.93v.2h-4.75v-.2l1-1c.09-.1.09-.12.09-.27V9.74l-2.71 6.9h-.37L8 9.74v4.62a.67.67 0 0 0 .17.54l1.27 1.54v.2H5.86v-.2l1.27-1.54a.64.64 0 0 0 .17-.54V9a.5.5 0 0 0-.16-.4L6 7.26v-.2h3.52L12.23 13l2.38-5.94H18z"})))},{name:"messenger",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12.026.375C5.462.375.375 5.172.375 11.652c0 3.389 1.393 6.318 3.66 8.341.391.352.311.556.377 2.73a.934.934 0 0 0 1.307.823c2.48-1.092 2.512-1.178 2.933-1.064 7.185 1.977 14.973-2.621 14.973-10.83 0-6.48-5.035-11.277-11.599-11.277m6.996 8.678L15.6 14.47a1.75 1.75 0 0 1-2.527.465l-2.723-2.038a.7.7 0 0 0-.844 0l-3.674 2.786c-.49.372-1.133-.216-.802-.735l3.422-5.417a1.75 1.75 0 0 1 2.527-.465l2.722 2.037a.7.7 0 0 0 .844 0L18.22 8.32c.489-.374 1.132.213.801.732"})))},{name:"microblog",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M19.641 17.086c1.294-1.522 2.067-3.438 2.067-5.521 0-4.957-4.371-8.972-9.763-8.972s-9.763 4.015-9.763 8.972 4.371 8.972 9.763 8.972a10.5 10.5 0 0 0 3.486-.59.315.315 0 0 1 .356.112c.816 1.101 2.09 1.876 3.506 2.191a.194.194 0 0 0 .192-.309 3.82 3.82 0 0 1 .162-4.858zm-3.065-6.575-2.514 1.909.912 3.022a.286.286 0 0 1-.437.317l-2.592-1.802-2.592 1.802a.285.285 0 0 1-.436-.317l.912-3.022-2.515-1.909a.285.285 0 0 1 .167-.513l3.155-.066 1.038-2.981a.285.285 0 0 1 .539 0l1.038 2.981 3.155.066a.285.285 0 0 1 .17.513"})))},{name:"nextdoor",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",strokeMiterlimit:"10",viewBox:"0 0 130 130"},React.createElement("g",null,React.createElement("path",{d:"M64.25 3.531c-31.144.337-57.596 24.22-60.469 55.907-3.064 33.799 21.857 63.685 55.657 66.75s63.685-21.857 66.75-55.657-21.857-63.686-55.657-66.75a62 62 0 0 0-6.281-.25m3.938 34.907C82.468 38.438 93.5 48.58 93.5 61.5v27c0 .685-.565 1.25-1.25 1.25H80.906a1.267 1.267 0 0 1-1.25-1.25V63.375c0-5.58-4.309-11.937-11.469-11.937-7.47 0-11.468 6.357-11.468 11.937V88.5c0 .685-.565 1.25-1.25 1.25H44.125c-.68 0-1.219-.57-1.219-1.25V64.156c0-.74-.529-1.364-1.25-1.531-13.13-2.93-15.115-10.285-15.375-21.125-.005-.332.142-.67.375-.906.233-.237.543-.375.875-.375l11.688.062c.66.01 1.187.529 1.218 1.188.13 4.44.438 9.406 4.438 9.406.83 0 1.443-1.179 1.813-1.719 4.41-6.48 12.28-10.718 21.5-10.718"})))},{name:"patreon",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M20 7.408c-.003-2.299-1.746-4.182-3.79-4.862-2.54-.844-5.888-.722-8.312.453-2.939 1.425-3.862 4.545-3.896 7.656-.028 2.559.22 9.297 3.92 9.345 2.75.036 3.159-3.603 4.43-5.356.906-1.247 2.071-1.599 3.506-1.963 2.465-.627 4.146-2.626 4.142-5.273"})))},{name:"pinterest-alt",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12.289 2C6.617 2 3.606 5.648 3.606 9.622c0 1.846 1.025 4.146 2.666 4.878.25.111.381.063.439-.169.044-.175.267-1.029.365-1.428a.37.37 0 0 0-.091-.362c-.54-.63-.975-1.791-.975-2.873 0-2.777 2.194-5.464 5.933-5.464 3.23 0 5.49 2.108 5.49 5.122 0 3.407-1.794 5.768-4.13 5.768-1.291 0-2.257-1.021-1.948-2.277.372-1.495 1.089-3.112 1.089-4.191 0-.967-.542-1.775-1.663-1.775-1.319 0-2.379 1.309-2.379 3.059 0 1.115.394 1.869.394 1.869s-1.302 5.279-1.54 6.261c-.405 1.666.053 4.368.094 4.604.021.126.167.169.25.063.129-.165 1.699-2.419 2.142-4.051.158-.59.817-2.995.817-2.995.43.784 1.681 1.446 3.013 1.446 3.963 0 6.822-3.494 6.822-7.833C20.394 5.112 16.849 2 12.289 2"})))},{name:"pinterest",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12c0 4.236 2.636 7.855 6.356 9.312-.087-.791-.166-2.005.035-2.869.182-.78 1.173-4.971 1.173-4.971s-.299-.599-.299-1.484c0-1.39.806-2.429 1.809-2.429.853 0 1.265.641 1.265 1.409 0 .858-.546 2.141-.828 3.329-.236.996.499 1.807 1.481 1.807 1.777 0 3.144-1.874 3.144-4.579 0-2.394-1.72-4.068-4.177-4.068-2.845 0-4.515 2.134-4.515 4.34 0 .859.331 1.781.744 2.282a.3.3 0 0 1 .069.287c-.077.316-.246.995-.279 1.134-.044.183-.145.222-.334.134-1.249-.581-2.03-2.407-2.03-3.874 0-3.154 2.292-6.051 6.607-6.051 3.469 0 6.165 2.472 6.165 5.775 0 3.446-2.173 6.22-5.189 6.22-1.013 0-1.966-.526-2.292-1.148l-.623 2.377c-.226.869-.835 1.957-1.243 2.622.936.289 1.93.445 2.961.445 5.523 0 10-4.477 10-10S17.523 2 12 2"})))},{name:"pocket",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M21.927 4.194A1.82 1.82 0 0 0 20.222 3H3.839a1.823 1.823 0 0 0-1.813 1.814v6.035l.069 1.2c.29 2.73 1.707 5.115 3.899 6.778l.119.089.025.018a9.9 9.9 0 0 0 3.91 1.727 10.06 10.06 0 0 0 4.049-.014.3.3 0 0 0 .064-.023 9.9 9.9 0 0 0 3.753-1.691l.025-.018q.06-.043.119-.089c2.192-1.664 3.609-4.049 3.898-6.778l.069-1.2V4.814a1.8 1.8 0 0 0-.098-.62m-4.235 6.287-4.704 4.512a1.37 1.37 0 0 1-1.898 0l-4.705-4.512a1.371 1.371 0 1 1 1.898-1.979l3.756 3.601 3.755-3.601a1.372 1.372 0 0 1 1.898 1.979"})))},{name:"polldaddy",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12 2C6.487 2 2 6.487 2 12c0 5.514 4.487 10 10 10 5.514 0 10-4.486 10-10 0-5.513-4.486-10-10-10m.991 1.68c2.361.084 4.657 1.251 6.197 3.136.283.334.541.693.774 1.067a7.78 7.78 0 0 0-6.094-2.94 7.76 7.76 0 0 0-5.896 2.703q-.008.006-.016.014l-.152.159-.031.032a6.12 6.12 0 0 0-1.633 4.165 6.15 6.15 0 0 0 6.143 6.143c.57 0 1.123-.081 1.649-.227-1.849.839-4.131.747-5.926-.324-1.841-1.089-3.171-3.111-3.433-5.313A7.39 7.39 0 0 1 6.69 6.137C8.294 4.5 10.634 3.563 12.991 3.68m3.373 8.519c-.049-2.024-1.587-3.889-3.544-4.174-1.927-.343-3.917.857-4.451 2.661a3.67 3.67 0 0 0 .2 2.653c.39.8 1.067 1.451 1.894 1.759 1.664.654 3.63-.27 4.173-1.863.593-1.58-.396-3.423-1.94-3.776-1.52-.407-3.161.757-3.204 2.243a2.36 2.36 0 0 0 .753 1.879c.501.476 1.23.667 1.871.529a2.07 2.07 0 0 0 1.469-1.134 1.91 1.91 0 0 0-.087-1.767c-.297-.513-.859-.863-1.429-.881a1.7 1.7 0 0 0-1.437.679 1.53 1.53 0 0 0-.18 1.489q.006.016.016.03c.193.634.774 1.1 1.467 1.117a1.6 1.6 0 0 1-.97-.183c-.466-.244-.809-.747-.893-1.29a1.8 1.8 0 0 1 .499-1.539 2.02 2.02 0 0 1 1.58-.606c.593.04 1.159.35 1.517.859.364.496.51 1.156.383 1.773-.116.62-.529 1.174-1.093 1.514a2.52 2.52 0 0 1-1.914.286c-.65-.161-1.226-.606-1.584-1.206a2.83 2.83 0 0 1-.341-2.031c.143-.7.573-1.321 1.176-1.753 1.193-.883 3.056-.751 4.106.411 1.106 1.1 1.327 3.027.406 4.371-.877 1.376-2.74 2.086-4.374 1.594-1.639-.449-2.913-2.079-3.031-3.853-.07-.884.13-1.797.583-2.577.445-.777 1.155-1.432 1.972-1.862 1.64-.88 3.816-.743 5.349.424 1.251.924 2.083 2.42 2.236 4.009l.001.03c0 2.9-2.359 5.26-5.26 5.26a5.2 5.2 0 0 1-1.947-.376 5 5 0 0 0 2.613-.079 4.96 4.96 0 0 0 2.514-1.751c.618-.828.95-1.861.901-2.869M12 21.113c-5.024 0-9.111-4.087-9.111-9.113 0-4.789 3.713-8.723 8.411-9.081a7 7 0 0 0-.397.06c-2.644.453-5.017 2.106-6.32 4.409-1.309 2.301-1.391 5.19-.3 7.527 1.056 2.34 3.253 4.156 5.776 4.553 2.497.44 5.133-.483 6.787-2.301 1.719-1.797 2.269-4.529 1.486-6.796-.583-1.81-1.976-3.331-3.7-4.046 3.417.594 6.174 3.221 6.174 6.781 0 1.004-.241 2.02-.657 2.966-1.498 2.984-4.586 5.041-8.149 5.041"})))},{name:"print",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M9 16h6v2H9zm13 1h-3v3a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-3H2V9a2 2 0 0 1 2-2h1V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v2h1a2 2 0 0 1 2 2zM7 7h10V5H7zm10 7H7v6h10zm3-3.5a1.5 1.5 0 1 0-3.001.001A1.5 1.5 0 0 0 20 10.5"})))},{name:"quora",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M47.736 16.521c-.41-.81-.898-1.631-1.846-1.631a1 1 0 0 0-.527.107l-.322-.644a2.93 2.93 0 0 1 1.836-.595c1.26 0 1.914.605 2.431 1.397a6.8 6.8 0 0 0 .449-2.675c0-2.773-.869-4.199-2.929-4.199-1.992 0-2.851 1.465-2.851 4.199s.859 4.17 2.851 4.17a4 4 0 0 0 .869-.107zm.498.966a6 6 0 0 1-1.367.185 5.27 5.27 0 0 1-5.263-5.204c0-3.114 2.558-5.233 5.263-5.233s5.282 2.109 5.282 5.233a5.08 5.08 0 0 1-1.992 4.072c.381.566.781.956 1.319.956.595 0 .839-.459.878-.82h.781c.049.488-.195 2.48-2.373 2.48-1.319 0-2.012-.761-2.529-1.66zm5.624-2.646v-3.563c0-.371-.146-.586-.615-.586h-.498v-.956h3.251v5.048c0 .849.459 1.231 1.161 1.231a1.56 1.56 0 0 0 1.465-.839V11.28c0-.371-.146-.586-.615-.586h-.527v-.957h3.28v5.302c0 .527.195.732.8.732h.107v.976l-2.929.468V16.21h-.057a3.12 3.12 0 0 1-2.509 1.152c-1.28 0-2.304-.644-2.304-2.558zm12.059 1.611c1.152 0 1.592-1.005 1.611-3.027.02-1.982-.459-2.929-1.611-2.929-1.005 0-1.641.956-1.641 2.929 0 2.021.625 3.027 1.641 3.027m0 .956a3.906 3.906 0 0 1-3.974-3.974c0-2.334 1.836-3.886 3.974-3.886 2.226 0 4.004 1.582 4.004 3.886a3.867 3.867 0 0 1-4.004 3.974m4.072-.146v-.956h.312c.781 0 .859-.224.859-.908v-4.121c0-.371-.215-.586-.732-.586h-.42v-.955h2.968l.146 1.553h.108c.371-1.113 1.221-1.699 2.051-1.699.693 0 1.221.39 1.221 1.181 0 .547-.264 1.093-1.005 1.093-.664 0-.8-.449-1.358-.449-.488 0-.869.468-.869 1.152v2.783c0 .673.166.908.937.908h.439v.956h-4.658zm9.901-1.093c.956 0 1.338-.898 1.338-1.797v-1.211c-.732.722-2.304.742-2.304 2.021 0 .625.371.986.966.986m1.387 0c-.39.752-1.191 1.26-2.314 1.26-1.309 0-2.148-.732-2.148-1.914 0-2.451 3.417-1.797 4.423-3.427v-.185c0-1.25-.488-1.445-1.035-1.445-1.524 0-.83 1.631-2.226 1.631-.673 0-.937-.371-.937-.859 0-.927 1.093-1.67 3.173-1.67 1.963 0 3.163.537 3.163 2.49v3.114q-.02.742.595.742a1 1 0 0 0 .449-.127l.254.615c-.205.312-.752.869-1.836.869-.908 0-1.465-.42-1.543-1.113h-.01zm-68.554 2.558c-.83-1.641-1.807-3.3-3.711-3.3a2.9 2.9 0 0 0-1.093.215l-.644-1.299a5.66 5.66 0 0 1 3.662-1.211c2.548 0 3.857 1.231 4.892 2.792q.917-2.012.908-5.38c0-5.585-1.748-8.417-5.829-8.417-4.033 0-5.76 2.87-5.76 8.417s1.738 8.397 5.76 8.397a5.9 5.9 0 0 0 1.748-.224zm.996 1.953a9.8 9.8 0 0 1-2.744.371C5.614 21.041.371 16.764.371 10.545.371 4.277 5.614 0 10.965 0c5.448 0 10.642 4.248 10.642 10.545a10.25 10.25 0 0 1-4.013 8.201c.732 1.152 1.563 1.914 2.665 1.914 1.201 0 1.689-.927 1.768-1.66h1.572c.088.966-.4 4.999-4.775 4.999-2.646 0-4.052-1.543-5.106-3.339z"})))},{name:"reddit",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M22 11.816a2.28 2.28 0 0 0-2.277-2.277c-.593 0-1.122.24-1.526.614-1.481-.965-3.455-1.594-5.647-1.69l1.171-3.702 3.18.748a1.88 1.88 0 0 0 1.876 1.862 1.88 1.88 0 0 0 1.877-1.878 1.88 1.88 0 0 0-1.877-1.877c-.769 0-1.431.466-1.72 1.13l-3.508-.826a.386.386 0 0 0-.46.261l-1.35 4.268c-2.316.038-4.411.67-5.97 1.671a2.24 2.24 0 0 0-1.492-.581A2.28 2.28 0 0 0 2 11.816c0 .814.433 1.523 1.078 1.925a4 4 0 0 0-.061.672c0 3.292 4.011 5.97 8.941 5.97s8.941-2.678 8.941-5.97q-.002-.32-.053-.632A2.26 2.26 0 0 0 22 11.816m-3.224-7.422a1.1 1.1 0 1 1-.001 2.199 1.1 1.1 0 0 1 .001-2.199M2.777 11.816c0-.827.672-1.5 1.499-1.5.313 0 .598.103.838.269-.851.676-1.477 1.479-1.812 2.36a1.48 1.48 0 0 1-.525-1.129m9.182 7.79c-4.501 0-8.164-2.329-8.164-5.193S7.457 9.22 11.959 9.22s8.164 2.329 8.164 5.193-3.663 5.193-8.164 5.193m8.677-6.605c-.326-.89-.948-1.701-1.797-2.384.248-.186.55-.301.883-.301.827 0 1.5.673 1.5 1.5.001.483-.23.911-.586 1.185m-11.64 1.703c-.76 0-1.397-.616-1.397-1.376s.637-1.397 1.397-1.397 1.376.637 1.376 1.397-.616 1.376-1.376 1.376m7.405-1.376c0 .76-.616 1.376-1.376 1.376s-1.399-.616-1.399-1.376.639-1.397 1.399-1.397 1.376.637 1.376 1.397m-1.172 3.38a.39.39 0 0 1 0 .55c-.674.674-1.727 1.002-3.219 1.002l-.011-.002-.011.002c-1.492 0-2.544-.328-3.218-1.002a.389.389 0 1 1 .55-.55c.521.521 1.394.775 2.669.775l.011.002.011-.002c1.275 0 2.148-.253 2.669-.775a.387.387 0 0 1 .549 0"})))},{name:"share",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M18 16c-.788 0-1.499.31-2.034.807L8.91 12.7c.05-.23.09-.46.09-.7s-.04-.47-.09-.7l7.05-4.11c.54.5 1.25.81 2.04.81 1.66 0 3-1.34 3-3s-1.34-3-3-3-3 1.34-3 3c0 .24.04.47.09.7L8.04 9.81C7.5 9.31 6.79 9 6 9c-1.66 0-3 1.34-3 3s1.34 3 3 3c.79 0 1.5-.31 2.04-.81l7.048 4.118A3 3 0 0 0 15 19a3 3 0 1 0 3-3"})))},{name:"skype",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"m10.113 2.699.1-.02q.05.025.098.051zM2.72 10.223l-.017.103q.025.048.051.095zm18.555 3.548q.009-.053.018-.106-.025-.047-.052-.095zm-7.712 7.428q.049.027.096.053l.105-.017zM22 16.386a5.55 5.55 0 0 1-1.637 3.953 5.55 5.55 0 0 1-3.953 1.637 5.6 5.6 0 0 1-2.75-.725l.105-.017-.202-.035q.049.027.096.053a9.5 9.5 0 0 1-1.654.147 9.4 9.4 0 0 1-3.676-.743 9.4 9.4 0 0 1-3.002-2.023 9.4 9.4 0 0 1-2.023-3.002 9.4 9.4 0 0 1-.743-3.676c0-.546.049-1.093.142-1.628q.025.048.051.095l-.034-.199-.017.103A5.6 5.6 0 0 1 2 7.615c0-1.493.582-2.898 1.637-3.953A5.56 5.56 0 0 1 7.59 2.024c.915 0 1.818.228 2.622.655l-.1.02.199.031q-.049-.026-.098-.051l.004-.001a9.5 9.5 0 0 1 1.788-.169 9.41 9.41 0 0 1 6.678 2.766 9.4 9.4 0 0 1 2.024 3.002 9.4 9.4 0 0 1 .743 3.676c0 .575-.054 1.15-.157 1.712q-.025-.047-.052-.095l.034.201q.009-.053.018-.106c.461.829.707 1.767.707 2.721m-5.183-2.248c0-1.331-.613-2.743-3.033-3.282l-2.209-.49c-.84-.192-1.807-.444-1.807-1.237s.679-1.348 1.903-1.348c2.468 0 2.243 1.696 3.468 1.696.645 0 1.209-.379 1.209-1.031 0-1.521-2.435-2.663-4.5-2.663-2.242 0-4.63.952-4.63 3.488 0 1.221.436 2.521 2.839 3.123l2.984.745c.903.223 1.129.731 1.129 1.189 0 .762-.758 1.507-2.129 1.507-2.679 0-2.307-2.062-3.743-2.062-.645 0-1.113.444-1.113 1.078 0 1.236 1.501 2.886 4.856 2.886 3.195 0 4.776-1.538 4.776-3.599"})))},{name:"sms",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M17.696 4C20.069 4 22 5.973 22 8.398v4.357c0 2.04-1.368 3.783-3.261 4.266v4.427l-5.234-4.295h-7.2C3.93 17.153 2 15.18 2 12.755V8.398C2 5.973 3.931 4 6.304 4zM7.028 8.515c-.98 0-1.66.562-1.66 1.349-.009.497.322.91.985 1.178l.39.142c.242.097.305.171.305.297 0 .162-.131.251-.442.251s-.76-.135-1.004-.284l-.112.046-.215.868c.359.258.832.364 1.33.364 1.104 0 1.764-.523 1.764-1.333-.008-.574-.305-.956-.954-1.216l-.393-.146c-.266-.108-.341-.181-.341-.287 0-.152.131-.243.387-.243.274 0 .587.093.808.214l.109-.047.214-.837c-.315-.224-.741-.316-1.171-.316m10.302 0c-.98 0-1.66.562-1.66 1.349-.008.497.322.91.985 1.178l.39.142c.243.097.305.171.305.297 0 .162-.13.251-.442.251-.311 0-.76-.135-1.004-.284l-.112.046-.215.868c.359.258.832.364 1.33.364 1.104 0 1.764-.523 1.764-1.333-.008-.574-.305-.956-.954-1.216l-.393-.146c-.266-.108-.341-.181-.341-.287 0-.152.131-.243.387-.243.274 0 .587.093.808.214l.109-.047.214-.837c-.316-.224-.741-.316-1.171-.316m-3.733 0c-.297 0-.55.066-.78.202l-.144.098a2 2 0 0 0-.264.247l-.078.095-.027-.077c-.15-.34-.55-.565-1.033-.565l-.169.007a1.36 1.36 0 0 0-.896.42l-.08.09-.038-.363-.075-.067H8.994l-.075.079.024.634c.005.2.008.397.008.604v2.652l.075.075h1.178l.075-.075v-2.269q-.002-.168.042-.274c.083-.23.262-.392.496-.392.314 0 .483.267.483.753v2.182l.075.075h1.179l.075-.075v-2.277c0-.097.016-.213.043-.285.077-.224.26-.373.486-.373.33 0 .5.272.5.817v2.118l.074.075h1.179l.075-.075v-2.293c0-1.131-.537-1.763-1.39-1.763Z"})))},{name:"snapchat",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M11.989 1.728c3.221.001 5.904 2.683 5.908 5.912q.002 1.133.067 2.094a.737.737 0 0 0 .902.669l1.009-.237a.6.6 0 0 1 .129-.015c.256 0 .492.175.55.434a.74.74 0 0 1-.479.861l-1.532.618a.823.823 0 0 0-.485.98c1.229 4.543 4.661 4.071 4.661 4.662 0 .743-2.587.848-2.821 1.082s-.01 1.368-.532 1.588a1.1 1.1 0 0 1-.409.056c-.393 0-.95-.077-1.536-.077-.509 0-1.04.058-1.507.273-1.239.572-2.433 1.641-3.914 1.641S9.325 21.2 8.086 20.628c-.467-.216-.998-.273-1.507-.273-.586 0-1.143.077-1.536.077-.17 0-.31-.014-.409-.056-.522-.22-.299-1.354-.532-1.588s-2.821-.337-2.821-1.08c0-.592 3.432-.119 4.661-4.662a.824.824 0 0 0-.486-.98l-1.532-.618a.74.74 0 0 1-.479-.861.56.56 0 0 1 .679-.419l1.009.237q.086.02.169.02a.737.737 0 0 0 .733-.689q.065-.961.067-2.094c.004-3.229 2.666-5.91 5.887-5.912m0-1.281c-.961 0-1.898.194-2.784.574A7.2 7.2 0 0 0 6.93 2.572a7.2 7.2 0 0 0-1.539 2.282A7.1 7.1 0 0 0 4.82 7.64a33 33 0 0 1-.029 1.369l-.375-.088a2 2 0 0 0-.421-.049 1.86 1.86 0 0 0-1.135.389 1.84 1.84 0 0 0-.666 1.049 2.024 2.024 0 0 0 1.271 2.335l1.124.454c-.744 2.285-2.117 2.723-3.041 3.018a5 5 0 0 0-.659.246C.087 16.76 0 17.436 0 17.708c0 .521.247.996.694 1.339.223.17.499.311.844.43.47.162 1.016.265 1.459.347.021.164.053.341.106.518.22.738.684 1.069 1.034 1.217.332.14.676.156.905.156.224 0 .462-.018.713-.036.269-.02.548-.041.823-.041.426 0 .743.051.97.155.311.144.64.337.989.542.972.571 2.073 1.217 3.462 1.217s2.49-.647 3.462-1.217c.349-.205.679-.399.989-.542.226-.105.544-.155.97-.155.275 0 .554.021.823.041.251.019.488.036.713.036.229 0 .573-.016.905-.156.35-.147.814-.478 1.034-1.217.053-.178.084-.354.106-.518.443-.082.989-.185 1.459-.347.345-.119.621-.259.844-.43.448-.342.694-.818.694-1.339 0-.272-.087-.948-.891-1.347a5 5 0 0 0-.659-.246c-.924-.295-2.297-.733-3.041-3.018l1.124-.454a2.025 2.025 0 0 0 1.271-2.335 1.83 1.83 0 0 0-.666-1.049 1.86 1.86 0 0 0-1.556-.34l-.375.088a33 33 0 0 1-.029-1.369 7.1 7.1 0 0 0-.575-2.789c-.365-.853-.886-1.62-1.547-2.282s-1.428-1.182-2.28-1.547a7.1 7.1 0 0 0-2.786-.574"})))},{name:"soundcloud",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M23.587 13.923a3.303 3.303 0 0 1-3.344 3.117h-8.037a.674.674 0 0 1-.667-.67V7.717a.74.74 0 0 1 .444-.705s.739-.512 2.296-.512a5.27 5.27 0 0 1 2.702.742 5.35 5.35 0 0 1 2.516 3.485 3.1 3.1 0 0 1 .852-.116 3.217 3.217 0 0 1 3.237 3.312m-13.05-5.659c.242 2.935.419 5.612 0 8.538a.261.261 0 0 1-.519 0c-.39-2.901-.221-5.628 0-8.538a.26.26 0 0 1 .398-.25.26.26 0 0 1 .12.25zm-1.627 8.541a.273.273 0 0 1-.541 0 32.7 32.7 0 0 1 0-7.533.274.274 0 0 1 .544 0 29.4 29.4 0 0 1-.003 7.533m-1.63-7.788c.264 2.69.384 5.099-.003 7.782a.262.262 0 0 1-.522 0c-.374-2.649-.249-5.127 0-7.782a.264.264 0 0 1 .525 0m-1.631 7.792a.268.268 0 0 1-.532 0 27.6 27.6 0 0 1 0-7.034.27.27 0 1 1 .541 0 25.8 25.8 0 0 1-.01 7.034zm-1.63-5.276c.412 1.824.227 3.435-.015 5.294a.255.255 0 0 1-.504 0c-.22-1.834-.402-3.482-.015-5.295a.268.268 0 0 1 .535 0m-1.626-.277c.378 1.869.254 3.451-.01 5.325-.031.277-.506.28-.531 0-.239-1.846-.352-3.476-.01-5.325a.277.277 0 0 1 .551 0m-1.643.907c.396 1.239.261 2.246-.016 3.517a.258.258 0 0 1-.514 0c-.239-1.246-.336-2.274-.021-3.517a.276.276 0 0 1 .55 0z"})))},{name:"spotify",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2m4.586 14.424a.62.62 0 0 1-.857.207c-2.348-1.435-5.304-1.76-8.785-.964a.622.622 0 1 1-.277-1.215c3.809-.871 7.077-.496 9.713 1.115a.623.623 0 0 1 .206.857M17.81 13.7a.78.78 0 0 1-1.072.257c-2.687-1.652-6.785-2.131-9.965-1.166A.779.779 0 1 1 6.32 11.3c3.632-1.102 8.147-.568 11.234 1.328a.78.78 0 0 1 .256 1.072m.105-2.835c-3.223-1.914-8.54-2.09-11.618-1.156a.935.935 0 1 1-.542-1.79c3.532-1.072 9.404-.865 13.115 1.338a.936.936 0 1 1-.955 1.608"})))},{name:"squarespace",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M20.87 9.271a3.86 3.86 0 0 0-5.458 0l-6.141 6.141a.964.964 0 1 0 1.365 1.364l6.14-6.14a1.929 1.929 0 1 1 2.729 2.729l-6.022 6.022a1.93 1.93 0 0 0 2.729 0l4.658-4.658a3.86 3.86 0 0 0 0-5.458m-2.047 2.047a.965.965 0 0 0-1.365 0l-6.14 6.14a1.93 1.93 0 0 1-2.729 0 .964.964 0 1 0-1.364 1.364 3.86 3.86 0 0 0 5.458 0l6.14-6.14a.966.966 0 0 0 0-1.364m-2.047-6.141a3.86 3.86 0 0 0-5.458 0l-6.14 6.14a.964.964 0 1 0 1.364 1.364l6.141-6.14a1.93 1.93 0 0 1 2.729 0 .965.965 0 1 0 1.364-1.364m-2.047 2.047a.964.964 0 0 0-1.364 0l-6.14 6.141a1.929 1.929 0 1 1-2.729-2.729l6.022-6.022a1.93 1.93 0 0 0-2.729 0L3.13 9.271a3.86 3.86 0 0 0 5.458 5.458l6.14-6.141a.963.963 0 0 0 .001-1.364"})))},{name:"stackexchange",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M4 11.606h16v3.272H4zM4 7.377h16v3.272H4zM17.514 3H6.55C5.147 3 4 4.169 4 5.614v.848h16v-.85C20 4.167 18.895 3 17.514 3M4 15.813v.85c0 1.445 1.147 2.614 2.55 2.614h6.799v3.463l3.357-3.463h.744c1.402 0 2.55-1.169 2.55-2.614v-.85z"})))},{name:"stackoverflow",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M18.18 20.103V14.78h1.767v7.09H4v-7.09h1.767v5.323z"}),React.createElement("path",{d:"m7.717 14.275 8.673 1.813.367-1.744-8.673-1.813zm1.147-4.13 8.031 3.74.734-1.606-8.031-3.763zm2.226-3.946 6.815 5.667 1.124-1.354-6.815-5.667zM15.495 2l-1.423 1.055 5.277 7.113 1.423-1.055zM7.533 18.314h8.857v-1.767H7.533z"})))},{name:"stumbleupon",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12 4.294a4.47 4.47 0 0 0-4.471 4.471v6.353a1.059 1.059 0 1 1-2.118 0v-2.824H2v2.941a4.471 4.471 0 0 0 8.942 0v-6.47a1.059 1.059 0 1 1 2.118 0v1.294l1.412.647 2-.647V8.765A4.473 4.473 0 0 0 12 4.294m1.059 8.059v2.882a4.471 4.471 0 0 0 8.941 0v-2.824h-3.412v2.824a1.059 1.059 0 1 1-2.118 0v-2.882l-2 .647z"})))},{name:"substack",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M19.904 9.182H4.095V7.054h15.81v2.127M4.095 11.109V21L12 16.583 19.905 21v-9.891zM19.905 3H4.095v2.127h15.81z"})))},{name:"telegram",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2m3.08 14.757s-.25.625-.936.325l-2.541-1.949-1.63 1.486s-.127.096-.266.036c0 0-.12-.011-.27-.486s-.911-2.972-.911-2.972L6 12.349s-.387-.137-.425-.438c-.037-.3.437-.462.437-.462l10.03-3.934s.824-.362.824.238z"})))},{name:"threads",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 192 192"},React.createElement("g",null,React.createElement("path",{d:"M141.537 88.988a67 67 0 0 0-2.518-1.143c-1.482-27.307-16.403-42.94-41.457-43.1h-.34c-14.986 0-27.449 6.396-35.12 18.036l13.779 9.452c5.73-8.695 14.724-10.548 21.348-10.548h.229c8.249.053 14.474 2.452 18.503 7.129 2.932 3.405 4.893 8.111 5.864 14.05-7.314-1.243-15.224-1.626-23.68-1.14-23.82 1.371-39.134 15.264-38.105 34.568.522 9.792 5.4 18.216 13.735 23.719 7.047 4.652 16.124 6.927 25.557 6.412 12.458-.683 22.231-5.436 29.049-14.127 5.178-6.6 8.453-15.153 9.899-25.93 5.937 3.583 10.337 8.298 12.767 13.966 4.132 9.635 4.373 25.468-8.546 38.376-11.319 11.308-24.925 16.2-45.488 16.351-22.809-.169-40.06-7.484-51.275-21.742C35.236 139.966 29.808 120.682 29.605 96c.203-24.682 5.63-43.966 16.133-57.317C56.954 24.425 74.204 17.11 97.013 16.94c22.975.17 40.526 7.52 52.171 21.847 5.71 7.026 10.015 15.86 12.853 26.162l16.147-4.308c-3.44-12.68-8.853-23.606-16.219-32.668C147.036 9.607 125.202.195 97.07 0h-.113C68.882.194 47.292 9.642 32.788 28.08 19.882 44.485 13.224 67.315 13.001 95.932L13 96v.067c.224 28.617 6.882 51.447 19.788 67.854C47.292 182.358 68.882 191.806 96.957 192h.113c24.96-.173 42.554-6.708 57.048-21.189 18.963-18.945 18.392-42.692 12.142-57.27-4.484-10.454-13.033-18.945-24.723-24.553M98.44 129.507c-10.44.588-21.286-4.098-21.82-14.135-.397-7.442 5.296-15.746 22.461-16.735q2.948-.17 5.79-.169c6.235 0 12.068.606 17.371 1.765-1.978 24.702-13.58 28.713-23.802 29.274"})))},{name:"tiktok-alt",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M5 3a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2zm7.531 3h2.053s-.114 2.635 2.85 2.82v2.04s-1.582.099-2.85-.87l.021 4.207a3.804 3.804 0 1 1-3.802-3.802h.533v2.082a1.73 1.73 0 0 0-1.922.648 1.727 1.727 0 0 0 1.947 2.646 1.73 1.73 0 0 0 1.19-1.642z"})))},{name:"tiktok",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12.22 2h3.42s-.19 4.394 4.75 4.702v3.396s-2.636.166-4.75-1.448l.037 7.012a6.338 6.338 0 1 1-6.34-6.339h.89v3.472a2.882 2.882 0 1 0 2.024 2.752z"})))},{name:"tripadvisor",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M21.01 9.859c.236-1.002.985-2.003.985-2.003l-3.341-.002C16.779 6.643 14.502 6 11.979 6 9.363 6 7 6.659 5.135 7.877L2 7.88s.74.988.98 1.983a4.98 4.98 0 0 0-.977 2.961 5.01 5.01 0 0 0 5.009 5.003 5 5 0 0 0 3.904-1.875l1.065 1.592 1.076-1.606a4.96 4.96 0 0 0 1.838 1.448 4.98 4.98 0 0 0 3.831.151 5.01 5.01 0 0 0 2.963-6.431 5 5 0 0 0-.679-1.247m-13.998 6.96a4 4 0 0 1-3.998-3.995 4 4 0 0 1 3.998-3.997 4 4 0 0 1 3.996 3.997 4 4 0 0 1-3.996 3.995m4.987-4.36A5.007 5.007 0 0 0 7.11 7.821c1.434-.613 3.081-.947 4.867-.947 1.798 0 3.421.324 4.853.966a4.984 4.984 0 0 0-4.831 4.619m6.288 4.134a3.97 3.97 0 0 1-3.058-.122 3.96 3.96 0 0 1-2.075-2.245v-.001a3.97 3.97 0 0 1 .118-3.056 3.97 3.97 0 0 1 2.246-2.077 4.005 4.005 0 0 1 5.135 2.366 4.006 4.006 0 0 1-2.366 5.135"}),React.createElement("path",{d:"M6.949 10.307a2.477 2.477 0 0 0-2.475 2.472 2.48 2.48 0 0 0 2.475 2.474 2.474 2.474 0 0 0 0-4.946m0 4.094a1.626 1.626 0 0 1-1.624-1.623 1.621 1.621 0 1 1 1.624 1.623M16.981 10.307a2.477 2.477 0 0 0-2.474 2.472 2.48 2.48 0 0 0 2.474 2.474 2.476 2.476 0 0 0 2.472-2.474 2.475 2.475 0 0 0-2.472-2.472m0 4.094a1.625 1.625 0 0 1-1.622-1.623 1.622 1.622 0 1 1 1.622 1.623"}),React.createElement("path",{d:"M7.778 12.778a.832.832 0 1 1-1.664.002.832.832 0 0 1 1.664-.002M16.981 11.947a.832.832 0 1 0 .002 1.666.832.832 0 0 0-.002-1.666"})))},{name:"tumblr-alt",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M16.749 17.396c-.357.17-1.041.319-1.551.332-1.539.041-1.837-1.081-1.85-1.896V9.847h3.861v-2.91h-3.847V2.039h-2.817c-.046 0-.127.041-.138.144-.165 1.499-.867 4.13-3.783 5.181v2.484h1.945v6.282c0 2.151 1.587 5.206 5.775 5.135 1.413-.024 2.982-.616 3.329-1.126z"})))},{name:"tumblr",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M19 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2m-5.569 14.265c-2.446.042-3.372-1.742-3.372-2.998v-3.668H8.923v-1.45c1.703-.614 2.113-2.15 2.209-3.025.007-.06.054-.084.081-.084h1.645V8.9h2.246v1.7H12.85v3.495c.008.476.182 1.131 1.081 1.107.298-.008.697-.094.906-.194l.54 1.601c-.205.296-1.121.641-1.946.656"})))},{name:"twitch",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M16.499 8.089h-1.636v4.91h1.636zm-4.499 0h-1.637v4.91H12zM4.228 3.178 3 6.451v13.092h4.499V22h2.456l2.454-2.456h3.681L21 14.636V3.178zm15.136 10.638L16.5 16.681H12l-2.453 2.453V16.68H5.863V4.814h13.501z"})))},{name:"twitter-alt",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M22.23 5.924a8.2 8.2 0 0 1-2.357.646 4.12 4.12 0 0 0 1.804-2.27 8.2 8.2 0 0 1-2.606.996 4.103 4.103 0 0 0-6.991 3.742 11.65 11.65 0 0 1-8.457-4.287 4.1 4.1 0 0 0-.556 2.063 4.1 4.1 0 0 0 1.825 3.415 4.1 4.1 0 0 1-1.859-.513v.052a4.104 4.104 0 0 0 3.292 4.023 4.1 4.1 0 0 1-1.853.07 4.11 4.11 0 0 0 3.833 2.85 8.24 8.24 0 0 1-5.096 1.756 8 8 0 0 1-.979-.057 11.6 11.6 0 0 0 6.29 1.843c7.547 0 11.675-6.252 11.675-11.675q0-.267-.012-.531a8.3 8.3 0 0 0 2.047-2.123"})))},{name:"twitter",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M19 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2m-2.534 6.71q.007.148.007.298c0 3.045-2.318 6.556-6.556 6.556a6.5 6.5 0 0 1-3.532-1.035q.27.032.55.032a4.63 4.63 0 0 0 2.862-.986 2.31 2.31 0 0 1-2.152-1.6 2.3 2.3 0 0 0 1.04-.04 2.306 2.306 0 0 1-1.848-2.259v-.029c.311.173.666.276 1.044.288a2.303 2.303 0 0 1-.713-3.076 6.54 6.54 0 0 0 4.749 2.407 2.305 2.305 0 0 1 3.926-2.101 4.6 4.6 0 0 0 1.463-.559 2.3 2.3 0 0 1-1.013 1.275c.466-.056.91-.18 1.323-.363-.31.461-.7.867-1.15 1.192"})))},{name:"untappd",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"m11 13.299-5.824 8.133c-.298.416-.8.635-1.308.572-.578-.072-1.374-.289-2.195-.879S.392 19.849.139 19.323a1.4 1.4 0 0 1 .122-1.425l5.824-8.133a3.1 3.1 0 0 1 1.062-.927l1.146-.604c.23-.121.436-.283.608-.478.556-.631 2.049-2.284 4.696-4.957l.046-.212a.13.13 0 0 1 .096-.1l.146-.037a.135.135 0 0 0 .101-.141l-.015-.18a.13.13 0 0 1 .125-.142c.176-.005.518.046 1.001.393s.64.656.692.824a.13.13 0 0 1-.095.164l-.175.044a.13.13 0 0 0-.101.141l.012.15a.13.13 0 0 1-.063.123l-.186.112c-1.679 3.369-2.764 5.316-3.183 6.046a2.2 2.2 0 0 0-.257.73l-.205 1.281A3.1 3.1 0 0 1 11 13.3zm12.739 4.598-5.824-8.133a3.1 3.1 0 0 0-1.062-.927l-1.146-.605a2.1 2.1 0 0 1-.608-.478 51 51 0 0 0-.587-.654.09.09 0 0 0-.142.018 97 97 0 0 1-1.745 3.223 1.4 1.4 0 0 0-.171.485 3.5 3.5 0 0 0 0 1.103l.01.064c.075.471.259.918.536 1.305l5.824 8.133c.296.413.79.635 1.294.574a4.76 4.76 0 0 0 2.209-.881 4.76 4.76 0 0 0 1.533-1.802 1.4 1.4 0 0 0-.122-1.425zM8.306 3.366l.175.044a.134.134 0 0 1 .101.141l-.012.15a.13.13 0 0 0 .063.123l.186.112q.465.933.869 1.721c.026.051.091.06.129.019q.655-.703 1.585-1.668a.137.137 0 0 0 .003-.19c-.315-.322-.645-.659-1.002-1.02l-.046-.212a.13.13 0 0 0-.096-.099l-.146-.037a.135.135 0 0 1-.101-.141l.015-.18a.13.13 0 0 0-.123-.142c-.175-.005-.518.045-1.002.393-.483.347-.64.656-.692.824a.13.13 0 0 0 .095.164z"})))},{name:"vimeo",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M22.396 7.164q-.139 3.039-4.245 8.32Q13.907 21 10.97 21q-1.82 0-3.079-3.359l-1.68-6.159q-.934-3.36-2.005-3.36-.234.001-1.634.98l-.978-1.261q1.541-1.353 3.037-2.708 2.056-1.774 3.084-1.869 2.429-.234 2.99 3.321.607 3.836.841 4.769.7 3.181 1.542 3.181.653 0 1.963-2.065 1.307-2.063 1.401-3.142.187-1.781-1.401-1.782-.747.001-1.541.341 1.534-5.024 5.862-4.884 3.21.095 3.024 4.161"})))},{name:"vk",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{fillRule:"evenodd",d:"M1.687 1.687C0 3.374 0 6.09 0 11.52v.96c0 5.431 0 8.146 1.687 9.833S6.09 24 11.52 24h.96c5.431 0 8.146 0 9.833-1.687S24 17.91 24 12.48v-.96c0-5.431 0-8.146-1.687-9.833S17.91 0 12.48 0h-.96C6.09 0 3.374 0 1.687 1.687M4.05 7.3c.13 6.24 3.25 9.99 8.72 9.99h.31v-3.57c2.01.2 3.53 1.67 4.14 3.57h2.84c-.78-2.84-2.83-4.41-4.11-5.01 1.28-.74 3.08-2.54 3.51-4.98h-2.58c-.56 1.98-2.22 3.78-3.8 3.95V7.3H10.5v6.92c-1.6-.4-3.62-2.34-3.71-6.92z"})))},{name:"whatsapp",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"m2.048 22 1.406-5.136a9.9 9.9 0 0 1-1.323-4.955C2.133 6.446 6.579 2 12.042 2a9.85 9.85 0 0 1 7.011 2.906 9.85 9.85 0 0 1 2.9 7.011c-.002 5.464-4.448 9.91-9.91 9.91h-.004a9.9 9.9 0 0 1-4.736-1.206zm5.497-3.172.301.179a8.2 8.2 0 0 0 4.193 1.148h.003c4.54 0 8.235-3.695 8.237-8.237a8.2 8.2 0 0 0-2.41-5.828 8.18 8.18 0 0 0-5.824-2.416c-4.544 0-8.239 3.695-8.241 8.237a8.2 8.2 0 0 0 1.259 4.384l.196.312-.832 3.04zm9.49-4.554c-.062-.103-.227-.165-.475-.289s-1.465-.723-1.692-.806-.392-.124-.557.124-.64.806-.784.971-.289.186-.536.062-1.046-.385-1.991-1.229c-.736-.657-1.233-1.468-1.378-1.715s-.015-.382.109-.505c.111-.111.248-.289.371-.434.124-.145.165-.248.248-.413s.041-.31-.021-.434-.557-1.343-.763-1.839c-.202-.483-.407-.417-.559-.425-.144-.007-.31-.009-.475-.009a.9.9 0 0 0-.66.31c-.226.248-.866.847-.866 2.066s.887 2.396 1.011 2.562 1.746 2.666 4.23 3.739c.591.255 1.052.408 1.412.522.593.189 1.133.162 1.56.098.476-.071 1.465-.599 1.671-1.177.206-.58.206-1.075.145-1.179"})))},{name:"woocommerce",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M19 2H5C3.3 2 2 3.3 2 5v11c0 1.7 1.3 3 3 3h4l6 3-1-3h5c1.7 0 3-1.3 3-3V5c0-1.7-1.3-3-3-3m-1.6 4.5c-.4.8-.8 2.1-1 3.9-.3 1.8-.4 3.1-.3 4.1 0 .3 0 .5-.1.7s-.3.4-.6.4-.6-.1-.9-.4c-1-1-1.8-2.6-2.4-4.6-.7 1.4-1.2 2.4-1.6 3.1-.6 1.2-1.2 1.8-1.6 1.9-.3 0-.5-.2-.8-.7-.5-1.4-1.1-4.2-1.7-8.2 0-.3 0-.5.2-.7.1-.2.4-.3.7-.4.5 0 .9.2.9.8.3 2.3.7 4.2 1.1 5.7l2.4-4.5c.2-.4.4-.6.8-.6q.75 0 .9.9c.3 1.4.6 2.6 1 3.7.3-2.7.8-4.7 1.4-5.9.2-.3.4-.5.7-.5.2 0 .5.1.7.2q.3.3.3.6c0 .3 0 .4-.1.5"})))},{name:"wordpress",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12.158 12.786 9.46 20.625a9 9 0 0 0 5.526-.144 1 1 0 0 1-.065-.124zM3.009 12a8.99 8.99 0 0 0 5.067 8.092L3.788 8.341A8.95 8.95 0 0 0 3.009 12m15.06-.454c0-1.112-.399-1.881-.741-2.48-.456-.741-.883-1.368-.883-2.109 0-.826.627-1.596 1.51-1.596q.06.002.116.007A8.96 8.96 0 0 0 12 3.009a8.98 8.98 0 0 0-7.512 4.052c.211.007.41.011.579.011.94 0 2.396-.114 2.396-.114.484-.028.541.684.057.741 0 0-.487.057-1.029.085l3.274 9.739 1.968-5.901-1.401-3.838c-.484-.028-.943-.085-.943-.085-.485-.029-.428-.769.057-.741 0 0 1.484.114 2.368.114.94 0 2.397-.114 2.397-.114.485-.028.542.684.057.741 0 0-.488.057-1.029.085l3.249 9.665.897-2.996q.684-1.753.684-2.907m1.82-3.86q.06.428.06.924c0 .912-.171 1.938-.684 3.22l-2.746 7.94a8.98 8.98 0 0 0 4.47-7.771 8.9 8.9 0 0 0-1.1-4.313M12 22C6.486 22 2 17.514 2 12S6.486 2 12 2s10 4.486 10 10-4.486 10-10 10"})))},{name:"x",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M13.982 10.622 20.54 3h-1.554l-5.693 6.618L8.745 3H3.5l6.876 10.007L3.5 21h1.554l6.012-6.989L15.868 21h5.245zm-2.128 2.474-.697-.997-5.543-7.93H8l4.474 6.4.697.996 5.815 8.318h-2.387z"})))},{name:"xanga",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M9 9h6v6H9zM3 9h6V3H3zm12 0h6V3h-6zm0 12h6v-6h-6zM3 21h6v-6H3z"})))},{name:"youtube",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M21.8 8.001s-.195-1.378-.795-1.985c-.76-.797-1.613-.801-2.004-.847-2.799-.202-6.997-.202-6.997-.202h-.009s-4.198 0-6.997.202c-.39.047-1.242.051-2.003.847-.6.607-.795 1.985-.795 1.985S2 9.62 2 11.238v1.517c0 1.618.2 3.237.2 3.237s.195 1.378.795 1.985c.761.797 1.76.771 2.205.855 1.6.153 6.8.201 6.8.201s4.203-.006 7.001-.209c.391-.047 1.243-.051 2.004-.847.6-.607.795-1.985.795-1.985s.2-1.618.2-3.237v-1.517c0-1.618-.2-3.237-.2-3.237M9.935 14.594l-.001-5.62 5.404 2.82z"})))}]},58992:(e,t,n)=>{"use strict";n.d(t,{d:()=>u});var a=n(96072),r=n.n(a),s=n(28120),o=n.n(s),i=n(51609),l=n.n(i),c=n(91135);class u extends i.PureComponent{static defaultProps={size:24};static propTypes={icon:o().string.isRequired,size:o().number,onClick:o().func,className:o().string};render(){const{size:e,onClick:t,icon:n,className:a,...s}=this.props,o=["social-logo","social-logo-"+n,a].filter(Boolean).join(" "),i=c.$.find((e=>e.name===n));if(!i)return l().createElement("svg",r()({height:e,width:e},s));return l().cloneElement(i.svg,{className:o,height:e,width:e,onClick:t,...s})}}},52068:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>w});var a=n(82170),r=n(96865),s=n(56427),o=n(47143),i=n(27723),l=n(90254),c=n(69457),u=n(88669),d=n(41417),p=n(57003),m=(n(51609),n(95396)),h=n(64425),g=n(47264),f=n(2162),v=n(62402);const __=i.__,b="simplify",k="make-longer",y="make-shorter",E={default:[{name:__("Correct spelling and grammar","jetpack"),key:"correct-spelling",aiSuggestion:h.yy,icon:l.A}],"core/paragraph":[{name:__("Simplify","jetpack"),key:b,aiSuggestion:h.A4,icon:c.A},{name:__("Summarize","jetpack"),key:"summarize",aiSuggestion:h.UA,icon:u.A},{name:__("Expand","jetpack"),key:k,aiSuggestion:h.br,icon:d.A},{name:__("Make shorter","jetpack"),key:y,aiSuggestion:h.fD,icon:d.A}],"core/list-item":[{name:__("Simplify","jetpack"),key:b,aiSuggestion:h.A4,icon:c.A},{name:__("Expand","jetpack"),key:k,aiSuggestion:h.br,icon:d.A},{name:__("Make shorter","jetpack"),key:y,aiSuggestion:h.fD,icon:d.A}],"core/list":m.L.includes("core/list")?[{name:__("Simplify","jetpack"),key:b,aiSuggestion:h.A4,icon:c.A},{name:__("Expand","jetpack"),key:k,aiSuggestion:h.br,icon:d.A},{name:__("Make shorter","jetpack"),key:y,aiSuggestion:h.fD,icon:d.A},{name:__("Turn list into a table","jetpack"),key:"turn-into-table",aiSuggestion:h.d5,icon:p.A,options:{alwaysTransformToAIAssistant:!0,rootParentOnly:!0}}]:[{name:__("Write a post from this list","jetpack"),key:"write-post-from-list",aiSuggestion:h.pE,icon:c.A,options:{userPrompt:"Write a post based on the list items. Include a title as first order heading and try to use secondary headings for each entry"}}]};function w({blockType:e,clientId:t,disabled:n=!1,onAskAiAssistant:i,onRequestSuggestion:l}){const c=E[e]??[],{getBlockParents:u}=(0,o.select)("core/block-editor"),d=u(t);return(0,a.createElement)(a.Fragment,null,n&&(0,a.createElement)(s.Notice,{status:"warning",isDismissible:!1,className:"jetpack-ai-assistant__info"},__("Add content to activate the tools below","jetpack")),(0,a.createElement)(s.MenuGroup,null,(0,a.createElement)(s.MenuItem,{icon:r.cj,iconPosition:"left",key:"key-ai-assistant",onClick:i,disabled:n},(0,a.createElement)("div",{className:"jetpack-ai-assistant__menu-item"},__("Ask AI Assistant","jetpack"))),[...E.default,...c].filter((e=>!(e.options?.rootParentOnly&&d.length>0))).map((e=>(0,a.createElement)(s.MenuItem,{icon:e?.icon,iconPosition:"left",key:`key-${e.key}`,onClick:()=>{l(e.aiSuggestion,{...e.options??{}},e.name)},disabled:n},(0,a.createElement)("div",{className:"jetpack-ai-assistant__menu-item"},e.name)))),(0,a.createElement)(v.hN,{onChange:e=>{l(h.eJ,{tone:e},`${v.uQ}: ${(0,g.Z)(e)}`)},disabled:n}),(0,a.createElement)(f.HU,{onChange:(e,t)=>{l(h.Gm,{language:e},`${f.u0}: ${t}`)},disabled:n})))}},32249:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var a=n(82170),r=n(3924),s=n(56427),o=n(27723);const __=o.__;const i=function(){const e=(0,r.A)("jetpack-ai-feedback");return(0,a.createElement)("div",{className:"jetpack-ai-feedback-control"},(0,a.createElement)(s.BaseControl,null,(0,a.createElement)(s.BaseControl.VisualLabel,null,__("Feedback","jetpack")),(0,a.createElement)("p",null,__("Your feedback is valuable in our commitment to refine and improve this feature.","jetpack")),(0,a.createElement)(s.ExternalLink,{href:e},__("Share your feedback","jetpack"))))}},2162:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>f,HU:()=>v,so:()=>h,u0:()=>p});var a=n(82170),r=n(85985),s=n(56427),o=n(27723),i=n(51113),l=n(29115),c=n(84066);n(51609);const __=o.__,u=["en","es","fr","de","it","pt","ru","zh","ja","ar","hi","ko"],d=window?.Jetpack_Editor_Initial_State?.siteLocale||navigator?.language,p=__("Translate","jetpack"),m=d?.split("-")[0]||"en",h=(d?.split("-"),{en:{label:__("English","jetpack")},es:{label:__("Spanish","jetpack")},fr:{label:__("French","jetpack")},de:{label:__("German","jetpack")},it:{label:__("Italian","jetpack")},pt:{label:__("Portuguese","jetpack")},ru:{label:__("Russian","jetpack")},zh:{label:__("Chinese","jetpack")},ja:{label:__("Japanese","jetpack")},ar:{label:__("Arabic","jetpack")},hi:{label:__("Hindi","jetpack")},ko:{label:__("Korean","jetpack")}}),g=({value:e,onChange:t})=>{const n=[...u.filter((e=>e!==m))];return u.includes(m)&&n.unshift(m),(0,a.createElement)(s.MenuGroup,{label:__("Select language","jetpack")},n.map((n=>(0,a.createElement)(s.MenuItem,{key:`key-${n}`,onClick:()=>t(n+" ("+h[n].label+")",h[n].label),isSelected:e===n},h[n].label))))};function f({value:e=m,label:t=p,onChange:n,disabled:o=!1}){const{tracks:l}=(0,r.st)();return o?(0,a.createElement)(s.Tooltip,{text:t},(0,a.createElement)(s.Button,{disabled:!0},(0,a.createElement)(i.A,{icon:c.A}))):(0,a.createElement)(s.ToolbarDropdownMenu,{icon:c.A,label:t,popoverProps:{variant:"toolbar"},onToggle:e=>{e&&l.recordEvent("jetpack_ai_assistant_block_toolbar_menu_show",{tool:"i18n"})}},(()=>(0,a.createElement)(g,{value:e,onChange:n})))}function v({value:e=m,label:t=p,onChange:n,disabled:r=!1}){return(0,a.createElement)(s.DropdownMenu,{className:"ai-assistant__i18n-dropdown",icon:c.A,label:t,toggleProps:{children:(0,a.createElement)(a.Fragment,null,(0,a.createElement)("div",{className:"ai-assistant__i18n-dropdown__toggle-label"},t),(0,a.createElement)(i.A,{icon:l.A})),disabled:r}},(({onClose:t})=>(0,a.createElement)(g,{onChange:(...e)=>{n(...e),t()},value:e})))}},99050:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>c});var a=n(82170),r=n(85985),s=n(56427),o=n(27723),i=n(78938);const __=o.__,l=[{name:__("Summarize","jetpack"),key:"summarize",aiSuggestion:"summarize"},{name:__("Make longer","jetpack"),key:"make-longer",aiSuggestion:"makeLonger"},{name:__("Make shorter","jetpack"),key:"make-shorter",aiSuggestion:"makeShorter"}];function c({key:e,label:t=__("Improve","jetpack"),exclude:n=[],onChange:o,disabled:c=!1}){const{tracks:u}=(0,r.st)();return c?(0,a.createElement)(s.Tooltip,{text:t},(0,a.createElement)(s.Button,{disabled:!0},(0,a.createElement)(s.Icon,{icon:i.A}))):(0,a.createElement)(s.ToolbarDropdownMenu,{icon:i.A,label:t,popoverProps:{variant:"toolbar"},onToggle:e=>{e&&u.recordEvent("jetpack_ai_assistant_block_toolbar_menu_show",{tool:"improve"})}},(()=>{const r=l.filter((e=>!n.includes(e.key)));return(0,a.createElement)(s.MenuGroup,{label:t},r.map((t=>(0,a.createElement)(s.MenuItem,{key:`key-${t.key}`,onClick:()=>o(t.aiSuggestion,{contentType:"generated"}),isSelected:e===t.key},t.name))))}))}},33468:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>g});var a=n(82170),r=n(85985),s=n(56427),o=n(27723),i=n(78938),l=n(41417),c=n(90254),u=n(69457),d=n(88669),p=n(11269);const __=o.__,m=[{label:__("Post about…","jetpack"),description:{original:"Write a post about ",translated:__("Write a post about","jetpack")+" "}},{label:__("Informative article on…","jetpack"),description:{original:"Craft an informative article explaining ",translated:__("Craft an informative article explaining","jetpack")+" "}},{label:__("Step-by-step tutorial on…","jetpack"),description:{original:"Write a step-by-step tutorial on ",translated:__("Write a step-by-step tutorial on","jetpack")+" "}},{label:__("Motivational post on…","jetpack"),description:{original:"Create a motivational post on ",translated:__("Create a motivational post on","jetpack")+" "}}],h=[{label:__("Say it differently…","jetpack"),description:{original:"Rewrite it in a way that ",translated:__("Rewrite it in a way that","jetpack")+" "}},{label:__("Add…","jetpack"),description:{original:"Add more details about ",translated:__("Add more details about","jetpack")+" "}},{label:__("Remove…","jetpack"),description:{original:"Remove unnecessary details about ",translated:__("Remove unnecessary details about","jetpack")+" "}}];function g({hasContentBefore:e,hasContent:t,hasPostTitle:n,contentIsLoaded:o,onPromptSelect:g,onSuggestionSelect:f}){const v=__("Write with AI…","jetpack"),{tracks:b}=(0,r.st)();return(0,a.createElement)(s.ToolbarDropdownMenu,{className:"jetpack-ai-assistant__templates-control",icon:null,label:v,text:v,onToggle:e=>{e&&b.recordEvent("jetpack_ai_assistant_block_toolbar_menu_show",{tool:"write-with-ai"})}},(({onClose:r})=>o?(0,a.createElement)(s.MenuGroup,{label:__("Write…","jetpack")},h.map(((e,t)=>(0,a.createElement)(s.MenuItem,{icon:i.A,iconPosition:"left",key:`key-${t}`,onClick:()=>{r(),g(e.description)}},e.label)))):(0,a.createElement)(a.Fragment,null,e&&(0,a.createElement)(s.MenuGroup,{label:__("Based on preceding content…","jetpack")},(0,a.createElement)(s.MenuItem,{icon:l.A,iconPosition:"left",onClick:()=>f("continue")},__("Continue writing","jetpack")),(0,a.createElement)(s.MenuItem,{icon:c.A,iconPosition:"left",onClick:()=>f("correctSpelling")},__("Correct spelling and grammar","jetpack")),(0,a.createElement)(s.MenuItem,{icon:u.A,iconPosition:"left",onClick:()=>f("simplify")},__("Simplify","jetpack"))),t&&(0,a.createElement)(s.MenuGroup,{label:__("Based on entire content…","jetpack")},t&&(0,a.createElement)(s.MenuItem,{icon:d.A,iconPosition:"left",onClick:()=>f("summarize")},__("Summarize","jetpack")),t&&(0,a.createElement)(s.MenuItem,{icon:p.A,iconPosition:"left",onClick:()=>f("generateTitle")},__("Generate a post title","jetpack"))),(0,a.createElement)(s.MenuGroup,{label:__("Write…","jetpack")},n&&(0,a.createElement)(s.MenuItem,{icon:i.A,iconPosition:"left",onClick:()=>f("titleSummary")},__("Summary based on title","jetpack")),m.map(((e,t)=>(0,a.createElement)(s.MenuItem,{icon:i.A,iconPosition:"left",key:`key-${t}`,onClick:()=>{r(),g(e.description)}},e.label)))))))}},23e3:(e,t,n)=>{"use strict";n.d(t,{A:()=>b,Q:()=>v});var a=n(82170),r=n(3924),s=n(85985),o=n(56427),i=n(86087),l=n(27723),c=n(10067),u=n.n(c),d=n(56333),p=n(92169),m=n(61297),h=n(7503),g=n(93094);const __=l.__,f=u()("jetpack-ai-assistant:upgrade-prompt"),v=({variant:e="error"})=>{const t=(()=>{const{usagePeriod:e}=(0,m.A)(),t=(e=>{const t=__("You've reached this month's request limit, per our fair usage policy.","jetpack");if(!e)return t; +__("%s account connected successfully.","jetpack"),o.label),{type:"snackbar",isDismissible:!0}),n.select(i.store).getCurrentPostId()&&r(E()))}catch(e){let t=__("Error connecting account.","jetpack");"object"==typeof e&&"message"in e&&e.message&&(t=`${t} ${e.message}`),c(t,{type:"snackbar",isDismissible:!0})}finally{r(N(d,!1)),r(_(d))}}}function S(e,t){return{type:u.dw,connectionId:e,data:t}}function N(e,t=!0){return{type:u._6,connectionId:e,updating:t}}function R(e){return{type:u.Nv,reconnectingAccount:e}}function P(e,t){return async function({dispatch:n,select:r}){const{createErrorNotice:i,createSuccessNotice:l}=(0,o.dispatch)(a.store),c=r.getConnectionById(e);try{const a=`/jetpack/v4/social/connections/${e}`;n(k()),n(S(e,t)),n(N(e));await s()({method:"POST",path:a,data:t})&&l(__("Account updated successfully.","jetpack"),{type:"snackbar",isDismissible:!0})}catch(t){let a=__("Error updating account.","jetpack");"object"==typeof t&&"message"in t&&t.message&&(a=`${a} ${t.message}`),n(S(e,c)),i(a,{type:"snackbar",isDismissible:!0})}finally{n(N(e,!1))}}}function L(e){return{type:u.xW,isOpen:e}}function T(){return L(!0)}function B(){return L(!1)}},54118:(e,t,n)=>{"use strict";n.d(t,{BN:()=>d,Bc:()=>r,M6:()=>k,Nv:()=>u,WB:()=>m,WH:()=>i,Wp:()=>h,_6:()=>c,_y:()=>b,aF:()=>y,af:()=>s,b5:()=>g,dA:()=>a,dw:()=>l,fz:()=>v,nC:()=>o,rz:()=>f,xW:()=>p});const a="SET_CONNECTIONS",r="ADD_CONNECTION",s="TOGGLE_CONNECTION",o="DELETE_CONNECTION",i="DELETING_CONNECTION",l="UPDATE_CONNECTION",c="UPDATING_CONNECTION",u="SET_RECONNECTING_ACCOUNT",d="SET_KEYRING_RESULT",p="TOGGLE_CONNECTIONS_MODAL",m="ADD_ABORT_CONTROLLER",h="REMOVE_ABORT_CONTROLLERS",g="DEFAULT",f="REFRESH_CONNECTIONS",v="FETCH_POST_SHARE_STATUS",b="RECEIVE_POST_SHARE_STATUS",k="TOGGLE_SHARE_STATUS_MODAL",y="POLLING_FOR_POST_SHARE_STATUS"},62491:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var a=n(38716),r=n(72451),s=n(64236),o=n(33134);const i={...r,...a,...s,...n(83117),...o}},72451:(e,t,n)=>{"use strict";n.r(t),n.d(t,{closeShareStatusModal:()=>c,defaultIsRequestComplete:()=>u,fetchPostShareStatus:()=>s,openShareStatusModal:()=>l,pollForPostShareStatus:()=>h,pollingForPostShareStatus:()=>m,receivePostShareStaus:()=>o,toggleShareStatusModal:()=>i});var a=n(43656),r=n(54118);function s(e,t=!0){return{type:r.fz,postId:e,loading:t}}function o(e,t){return{type:r._y,shareStatus:e,postId:t}}function i(e){return{type:r.M6,isOpen:e}}function l(){return i(!0)}function c(){return i(!1)}const u=({lastTimestamp:e,postShareStatus:t})=>e?t.shares.some((t=>t.timestamp>e)):t.shares.length>0,d=6e4,p=3e3;function m(e,t=!0){return{type:r.aF,postId:e,polling:t}}function h({pollingInterval:e=p,postId:t,isRequestComplete:n=u,timeout:r=d}={}){return async function({dispatch:s,select:o,registry:i}){const l=Date.now(),c=t||i.select(a.store).getCurrentPostId(),u=o.getPostShareStatus(c).shares[0]?.timestamp||0;let d=!1,p=!1;s(m(c));do{o.getPostShareStatus(c).loading||s.invalidateResolution("getPostShareStatus",[c]),await new Promise((t=>setTimeout(t,e))),d=n({lastTimestamp:u,postShareStatus:o.getPostShareStatus(c)}),p=Date.now()-l>r}while(!d&&!p);s(m(c,!1))}}},64236:(e,t,n)=>{"use strict";n.r(t),n.d(t,{updateSocialImageGeneratorConfig:()=>s});var a=n(3582),r=n(75238);function s(e){return async function({registry:t}){const{saveSite:n}=t.dispatch(a.store);await n({[r.A]:e})}}},33134:(e,t,n)=>{"use strict";n.r(t),n.d(t,{updateSocialPluginSettings:()=>r});var a=n(3582);function r(e){return async function({registry:t}){const{saveEntityRecord:n}=t.dispatch(a.store);await n("jetpack/v4","social/settings",e)}}},83117:(e,t,n)=>{"use strict";n.r(t),n.d(t,{updateUtmSettings:()=>s});var a=n(3582),r=n(75238);function s(e){return async function({registry:t}){const{saveSite:n}=t.dispatch(a.store);await n({[r.b]:e})}}},75238:(e,t,n)=>{"use strict";n.d(t,{A:()=>a,b:()=>r});const a="jetpack_social_image_generator_settings",r="jetpack_social_utm_settings"},31963:(e,t,n)=>{"use strict";n.d(t,{Af:()=>c,BB:()=>k,M_:()=>y,PX:()=>b,V6:()=>h,bN:()=>p,gt:()=>m,me:()=>v,s:()=>d,zW:()=>g,zk:()=>f});var a=n(47143),r=n(70407),s=n(62491),o=n(708),i=n(75772),l=n(62146);const c="jetpack-social-plugin",u={reducer:o.A,actions:s.A,selectors:l.A,resolvers:i.Ay,initialState:(0,r.getSocialScriptData)()?.store_initial_state},d="facebook",p="instagram-business",m="linkedin",h="mastodon",g="bluesky",f="nextdoor",v="tumblr",b="twitter",k="threads",y=(0,a.createReduxStore)(c,u);(0,a.register)(y)},62015:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});var a=n(54118);const r=(e={connections:[]},t)=>{switch(t.type){case a.xW:return{...e,isConnectionsModalOpen:t.isOpen};case a.Bc:return{...e,connections:[...e.connections,t.connection]};case a.dA:return{...e,connections:t.connections};case a.nC:return{...e,connections:e.connections.filter((({connection_id:e})=>e!==t.connectionId))};case a.WH:{const n=new Set(e.deletingConnections);return t.deleting?n.add(t.connectionId):n.delete(t.connectionId),{...e,deletingConnections:[...n]}}case a.Nv:return{...e,reconnectingAccount:t.reconnectingAccount};case a.dw:return{...e,connections:e.connections.map((e=>e.connection_id===t.connectionId?{...e,...t.data}:e))};case a._6:{const n=new Set(e.updatingConnections);return t.updating?n.add(t.connectionId):n.delete(t.connectionId),{...e,updatingConnections:[...n]}}case a.WB:{const n=t.requestType||a.b5;return{...e,abortControllers:{...e.abortControllers,[n]:[...e.abortControllers?.[n]||[],t.abortController]}}}case a.Wp:{const n=t.requestType||a.b5;return{...e,abortControllers:{...e.abortControllers,[n]:[]}}}case a.BN:return{...e,keyringResult:t.keyringResult};case a.af:return{...e,connections:e.connections.map((e=>(e.connection_id?e.connection_id===t.connectionId:e.id===t.connectionId)?{...e,enabled:!e.enabled}:e))}}return e}},708:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var a=n(47143),r=n(62015),s=n(53202);const o=(0,a.combineReducers)({connectionData:r.A,shareStatus:s.q})},53202:(e,t,n)=>{"use strict";n.d(t,{q:()=>r});var a=n(54118);function r(e={},t){switch(t.type){case a.fz:return{...e,[t.postId]:{shares:[],...e?.[t.postId],loading:t.loading??!0}};case a.aF:return{...e,[t.postId]:{shares:[],...e?.[t.postId],polling:t.polling??!0}};case a._y:return{...e,[t.postId]:{...e?.[t.postId],...t.shareStatus,loading:!1}};case a.M6:return{...e,isModalOpen:t.isOpen}}return e}},75772:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>p});var a=n(1455),r=n.n(a),s=n(3582),o=n(43656),i=n(27723),l=n(51371),c=n(59061),u=n(38716),d=n(72451);const __=i.__;const p={getConnections:function(){return function({dispatch:e,registry:t}){const n=t.select(o.store);if(!n.getCurrentPostId())return;const a=n.getEditedPostAttribute("jetpack_publicize_connections");e((0,u.setConnections)(a||[]))}},getPostShareStatus:function(e){return async({dispatch:t,registry:n})=>{const a=e||n.select(o.store).getCurrentPostId(),{feature_flags:s}=(0,l.n)();if(s.useShareStatus)try{t((0,d.fetchPostShareStatus)(a));let e=await r()({path:`jetpack/v4/social/share-status/${a}`});e=(0,c.xA)(e),t((0,d.receivePostShareStaus)(e,a))}catch{t((0,d.fetchPostShareStatus)(a,!1))}}},getSocialPluginSettings:function(){return async({registry:e})=>{e.select(s.store).getEntitiesConfig("jetpack/v4").some((({name:e})=>"social/settings"===e))||await e.dispatch(s.store).addEntities([{kind:"jetpack/v4",name:"social/settings",baseURL:"/jetpack/v4/social/settings",label:__("Social Settings","jetpack")}])}}}},28343:(e,t,n)=>{"use strict";n.r(t),n.d(t,{getAbortControllers:()=>b,getBrokenConnections:()=>i,getConnectionById:()=>o,getConnectionProfileDetails:()=>h,getConnections:()=>s,getConnectionsByService:()=>l,getDeletingConnections:()=>g,getDisabledConnections:()=>m,getEnabledConnections:()=>p,getFailedConnections:()=>u,getKeyringResult:()=>E,getMustReauthConnections:()=>d,getReconnectingAccount:()=>v,getUpdatingConnections:()=>f,hasConnections:()=>c,isBlueskyAccountAlreadyConnected:()=>y,isConnectionsModalOpen:()=>w,isMastodonAccountAlreadyConnected:()=>k});var a=n(50384),r=n(54118);function s(e){return e.connectionData?.connections??[]}function o(e,t){return s(e).find((e=>e.connection_id===t))}function i(e){return s(e).filter((e=>"broken"===e.status||(0,a.Y)(e,"broken")))}function l(e,t){return s(e).filter((({service_name:e})=>e===t))}function c(e){return s(e).length>0}function u(e){return s(e).filter((e=>!1===e.test_success))}function d(e){return s(e).filter((e=>"must_reauth"===e.test_success)).map((e=>e.service_name))}function p(e){return s(e).filter((e=>e.enabled))}function m(e){return s(e).filter((e=>!e.enabled))}function h(e,t,{forceDefaults:n=!1}={}){let a="",r="",o="";if(!n){const n=s(e).find((({service_name:e})=>t===e));if(n){const{display_name:e,profile_display_name:s,profile_picture:i,external_display:l,external_name:c}=n;a="twitter"===t?s:e||l,o="twitter"===t?e:n.username,r=i,"bluesky"===t&&(o=c)}}return{displayName:a,profileImage:r,username:o}}function g(e){return e.connectionData?.deletingConnections??[]}function f(e){return e.connectionData?.updatingConnections??[]}function v(e){return e.connectionData?.reconnectingAccount}function b(e,t=r.b5){return e.connectionData?.abortControllers?.[t]??[]}function k(e,t){return l(e,"mastodon").some((e=>e.external_display===t))}function y(e,t){return l(e,"bluesky").some((e=>e.external_name===t))}function E(e){return e.connectionData?.keyringResult}function w(e){return e.connectionData?.isConnectionsModalOpen??!1}},62146:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var a=n(3582),r=n(47143),s=n(28343),o=n(49424),i=n(59379),l=n(68273),c=n(86982);const u={...s,...o,isSavingSiteSettings:(0,r.createRegistrySelector)((e=>()=>e(a.store).isSavingEntityRecord("root","site",void 0))),...i,...c,...l}},49424:(e,t,n)=>{"use strict";n.r(t),n.d(t,{getPostShareStatus:()=>s,isShareStatusModalOpen:()=>o});var a=n(47143),r=n(43656);const s=(0,a.createRegistrySelector)((e=>(t,n)=>{const a=n||e(r.store).getCurrentPostId();return t.shareStatus?.[a]??{shares:[]}}));function o(e){return e.shareStatus?.isModalOpen??!1}},59379:(e,t,n)=>{"use strict";n.r(t),n.d(t,{getSocialImageGeneratorConfig:()=>i});var a=n(3582),r=n(47143),s=n(70407),o=n(75238);const i=(0,r.createRegistrySelector)((e=>()=>{const{getSite:t}=e(a.store),n=t(void 0,{_fields:o.A});return n?.[o.A]??(0,s.getSocialScriptData)().settings.socialImageGenerator}))},68273:(e,t,n)=>{"use strict";n.r(t),n.d(t,{getSocialPluginSettings:()=>o,isSavingSocialPluginSettings:()=>i});var a=n(3582),r=n(47143),s=n(70407);const o=(0,r.createRegistrySelector)((e=>()=>e(a.store).getEntityRecord("jetpack/v4","social/settings",void 0)??(0,s.getSocialScriptData)().settings.socialPlugin)),i=(0,r.createRegistrySelector)((e=>()=>e(a.store).isSavingEntityRecord("jetpack/v4","social/settings",void 0)))},86982:(e,t,n)=>{"use strict";n.r(t),n.d(t,{getUtmSettings:()=>i});var a=n(3582),r=n(47143),s=n(70407),o=n(75238);const i=(0,r.createRegistrySelector)((e=>()=>{const{getSite:t}=e(a.store),n=t(void 0,{_fields:o.b});return n?.[o.b]??(0,s.getSocialScriptData)().settings.utmSettings}))},50384:(e,t,n)=>{"use strict";n.d(t,{Y:()=>a});const a=(e,t)=>!1===e.is_healthy&&t===(e.error_code??"broken")},27844:(e,t,n)=>{"use strict";n.d(t,{q:()=>a});const a={ENHANCED_PUBLISHING:"social-enhanced-publishing",IMAGE_GENERATOR:"social-image-generator"}},12093:(e,t,n)=>{"use strict";n.d(t,{T:()=>r});const a=255;function r(){return a}},3280:(e,t,n)=>{"use strict";n.d(t,{n:()=>r});var a=n(85985);function r(){return(0,a.$i)()?.social?.supportedAdditionalConnections||[]}},70407:(e,t,n)=>{"use strict";n.d(t,{getShareMessageMaxLength:()=>a.T,getSocialScriptData:()=>i.n,getSupportedAdditionalConnections:()=>r.n,hasSocialPaidFeatures:()=>i.p,requestExternalAccess:()=>s.x});var a=n(12093),r=n(3280),s=n(5367),o=n(18672);n.o(o,"GlobalModals")&&n.d(t,{GlobalModals:function(){return o.GlobalModals}}),n.o(o,"getSocialScriptData")&&n.d(t,{getSocialScriptData:function(){return o.getSocialScriptData}}),n.o(o,"hasSocialPaidFeatures")&&n.d(t,{hasSocialPaidFeatures:function(){return o.hasSocialPaidFeatures}}),n.o(o,"usePostCanUseSig")&&n.d(t,{usePostCanUseSig:function(){return o.usePostCanUseSig}}),n.o(o,"useSyncPostDataToStore")&&n.d(t,{useSyncPostDataToStore:function(){return o.useSyncPostDataToStore}});var i=n(51371);n(27844)},5367:(e,t,n)=>{"use strict";n.d(t,{x:()=>r});var a=n(51119);const r=(e,t)=>{const n=new a.A;let r;n.open(e,null,"toolbar=0,location=0,status=0,menubar=0,"+n.getScreenCenterSpecs(780,700)),n.once("close",(()=>{t(r?.ID?r:{})})),n.on("message",(e=>{r=e?.data}))}},51371:(e,t,n)=>{"use strict";n.d(t,{n:()=>r,p:()=>s});var a=n(97999);function r(){return(0,a.getScriptData)()?.social}function s(){return(0,a.siteHasFeature)("social-enhanced-publishing")}},59061:(e,t,n)=>{"use strict";function a(e){return e&&"shares"in e&&e.done&&e.shares.sort(((e,t)=>t.timestamp-e.timestamp)),e}function r(e){return t=>t.service_name===e.service&&(e.external_id?t.external_id===e.external_id:t.connection_id===e.connection_id.toString())}function s(e,t){return e.service===t.service&&(e.connection_id===t.connection_id||!(!e.external_id&&!t.external_id)&&e.external_id===t.external_id)}n.d(t,{Ri:()=>s,eJ:()=>r,xA:()=>a})},50646:(e,t,n)=>{"use strict";n(51371)},18672:()=>{},85985:(e,t,n)=>{"use strict";n.d(t,{$i:()=>a.A,BT:()=>l.A,Cq:()=>h.C,Dk:()=>c.Dk,FB:()=>o.A,GE:()=>r.A,GT:()=>c.GT,Q4:()=>c.Q4,Sy:()=>s.Sy,W4:()=>c.W4,aq:()=>c.aq,d9:()=>s.d9,gB:()=>u.A,jt:()=>m.A,lk:()=>s.lk,pP:()=>s.pP,q7:()=>p.A,sH:()=>c.sH,sh:()=>h.s,st:()=>d.A,tu:()=>c.tu,vp:()=>i.A});var a=n(34972),r=n(54815),s=n(62634),o=n(60703),i=n(82034),l=n(65595),c=n(53265),u=n(49354),d=n(73489),p=n(76923),m=n(15877),h=n(30335);n(88290)},15877:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var a=n(67142),r=n(51609),s=n.n(r);const o=()=>s().createElement(a.A,{className:"jetpack-editor-panel-logo",height:16,logoColor:"#1E1E1E",showText:!1})},30335:(e,t,n)=>{"use strict";n.d(t,{C:()=>o,s:()=>s});var a=n(86087),r=n(19334);function s(e){const t={};let n="span",r=e.icon;const s=document.createElement("div");s.innerHTML=e.icon;const o=s.querySelector("svg");return o&&(n="svg",r=o.innerHTML,Array.from(o.attributes).forEach((({nodeName:e,nodeValue:n})=>t[e]=n))),(0,a.createElement)(n,{...t,dangerouslySetInnerHTML:{__html:r||""}})}function o(e){return{src:s(e),foreground:(0,r.A)()}}},19334:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var a=n(62634);const r="#069e08";function s(){return(0,a.d9)()||(0,a.Sy)()?null:r}},34972:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const a="Jetpack_Editor_Initial_State";function r(){return"object"==typeof window?window?.[a]??null:null}},60703:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});var a=n(34972);function r(e){const t=(0,a.A)(),n=t?.available_blocks?.[e]?.available??!1,r=t?.available_blocks?.[e]?.unavailable_reason??"unknown";return{available:n,...!n&&{details:t?.available_blocks?.[e]?.details??[],unavailableReason:r}}}},54815:(e,t,n)=>{"use strict";function a(){return window&&window.Jetpack_Editor_Initial_State&&window.Jetpack_Editor_Initial_State.siteFragment?window.Jetpack_Editor_Initial_State.siteFragment:null}n.d(t,{A:()=>a})},73489:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var a=n(90372),r=n(39384),s=n(86087);const{tracks:o}=a.A,{recordEvent:i}=o,l=({pageViewEventName:e=null,pageViewNamespace:t="jetpack",pageViewSuffix:n="page_view",pageViewEventProperties:l={}}={})=>{const[c,u]=(0,s.useState)(!1),{isUserConnected:d,isRegistered:p,userConnectionData:m={}}=(0,r.useConnection)(),{wpcomUser:{login:h,ID:g}={},blogId:f}=m.currentUser||{},v=(0,s.useCallback)((async(e,t={})=>{d&&g&&h&&i(e,t)}),[d,g,h]);return(0,s.useEffect)((()=>{d&&g&&h&&f&&a.A.initialize(g,h,{blog_id:f})}),[f,g,h,d]),(0,s.useEffect)((()=>{const a=e?`${t}_${e}_${n}`:null;p&&a&&(c||(v(a,l),u(!0)))}),[c,t,e,n,p,l,v]),{recordEvent:v,tracks:o}}},76923:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var a=n(47143),r=n(86087),s=n(88290);const o=e=>{const{isModuleActive:t,isChangingStatus:n,isLoadingModules:o}=(0,a.useSelect)((t=>{const n=t(s.F);return{isModuleActive:n.isModuleActive(e),isChangingStatus:n.isModuleUpdating(e),isLoadingModules:n.areModulesLoading(e)}}),[e]),{updateJetpackModuleStatus:i}=(0,a.useDispatch)(s.F),l=(0,r.useCallback)((t=>i({name:e,active:t})),[e,i]);return(0,r.useMemo)((()=>({isLoadingModules:o,isChangingStatus:n,isModuleActive:t,changeStatus:l})),[o,n,t,l])}},49354:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});var a=n(34972);function r(){return(0,a.A)()?.jetpack?.is_current_user_connected??!1}},27105:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>d,E9:()=>u});var a=n(47143),r=n(62634),s=n(94478),o=n(88290);const i="SET_JETPACK_MODULES";function l(e){return u({isLoading:e})}function c(e,t){return{type:"SET_MODULE_UPDATING",name:e,isUpdating:t}}function u(e){return{type:i,options:e}}const d={updateJetpackModuleStatus:function*(e){try{yield c(e.name,!0),yield(0,s.sB)(e);const t=yield(0,s.wz)();return yield u({data:t}),!0}catch{const e=(0,a.select)(o.F).getJetpackModules();return yield u(e),!1}finally{yield c(e.name,!1)}},setJetpackModules:u,fetchModules:function*(){if((0,r.Sy)())return!0;try{yield l(!0);const e=yield(0,s.wz)();return yield u({data:e}),!0}catch{const e=(0,a.select)(o.F).getJetpackModules();return yield u(e),!1}finally{yield l(!1)}}}},94478:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>c,sB:()=>l,wz:()=>i});var a=n(1455),r=n.n(a);const s="FETCH_JETPACK_MODULES",o="UPDATE_JETPACK_MODULE_STATUS",i=()=>({type:s}),l=e=>({type:o,settings:e}),c={[s]:function(){return r()({path:"/jetpack/v4/module/all",method:"GET"})},[o]:function({settings:e}){return r()({path:`/jetpack/v4/module/${e.name}/active`,method:"POST",data:{active:e.active}})}}},88290:(e,t,n)=>{"use strict";n.d(t,{F:()=>c});var a=n(47143),r=n(27105),s=n(94478),o=n(38862),i=n(62701),l=n(31640);const c="jetpack-modules",u=(0,a.createReduxStore)(c,{reducer:o.A,actions:r.Ay,controls:s.Ay,resolvers:i.A,selectors:l.A});(0,a.register)(u);const d=window?.Initial_State?.getModules||window?.Jetpack_Editor_Initial_State?.modules||null;null!==d&&(0,a.dispatch)(c).setJetpackModules({data:{...d}})},38862:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const a={isLoading:!1,isUpdating:{},data:{}},r=(e=a,t)=>{switch(t.type){case"SET_JETPACK_MODULES":return{...e,...t.options};case"SET_MODULE_UPDATING":return{...e,isUpdating:{...e.isUpdating,[t.name]:t.isUpdating}}}return e}},62701:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var a=n(27105),r=n(94478);const s={getJetpackModules:function*(){try{const e=yield(0,r.wz)();if(e)return(0,a.E9)({data:e})}catch(e){console.error(e)}}}},31640:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});var a=n(62634);const r={getJetpackModules:e=>e.data,isModuleActive:(e,t)=>(0,a.Sy)()||(e?.data?.[t]?.activated??!1),areModulesLoading:e=>e.isLoading??!1,isModuleUpdating:(e,t)=>e?.isUpdating?.[t]??!1}},53265:(e,t,n)=>{"use strict";n.d(t,{Dk:()=>g,GT:()=>v,Q4:()=>u,W4:()=>d,aq:()=>p,sH:()=>f,tu:()=>m});var a=n(27723),r=n(93832),s=n(66087),o=n(34972),i=n(60703),l=n(54815),c=n(62634);const __=a.__;function u({planSlug:e,plan:t,postId:n,postType:a}){const o=(0,s.startsWith)(e,"jetpack_")?e:(0,s.get)(t,["path_slug"]),i=(void 0===a?()=>{const e=new URLSearchParams(window.location.search);return(0,r.addQueryArgs)(window.location.protocol+`//${(0,l.A)().replace("::","/")}/wp-admin/site-editor.php`,{postId:e.get("postId"),postType:e.get("postType"),plan_upgraded:1})}:()=>{const e=["page","post"].includes(a)?"":"edit";return(0,c.Sy)()?(0,r.addQueryArgs)("/"+(0,s.compact)([e,a,(0,l.A)(),n]).join("/"),{plan_upgraded:1}):(0,r.addQueryArgs)(window.location.protocol+`//${(0,l.A)().replace("::","/")}/wp-admin/post.php`,{action:"edit",post:n,plan_upgraded:1})})();return(0,c.d9)()?(0,r.addQueryArgs)(`https://wordpress.com/plans/${(0,l.A)()}`,{redirect_to:i,customerType:"business"}):o&&(0,r.addQueryArgs)(`https://wordpress.com/checkout/${(0,l.A)()}/${o}`,{redirect_to:i})}function d(e){if(!e)return!1;const t=/^jetpack\//.test(e)?e.substr(8,e.length):e,{available:n,unavailableReason:a}=(0,i.A)(t);return!n&&"missing_plan"===a}function p(e,t){return"missing_plan"===e&&t.required_plan}function m(e){if(!e)return!1;const t=/^jetpack\//.test(e)?e.substr(8,e.length):e,{details:n,unavailableReason:a}=(0,i.A)(t);return p(a,n)}const h=[{name:"core/cover",mediaPlaceholder:!0,mediaReplaceFlow:!0,fileType:"video",description:__("Upgrade your plan to use video covers","jetpack")},{name:"core/audio",mediaPlaceholder:!0,mediaReplaceFlow:!0,fileType:"audio",description:__("Upgrade your plan to upload audio","jetpack")}];function g(){return(0,s.get)((0,o.A)(),"jetpack.enable_upgrade_nudge",!1)}const f=e=>(0,s.map)(h,"name").includes(e),v=e=>(0,s.head)((0,s.filter)(h,(({name:t})=>t===e)))},82034:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var a=n(92279),r=n(60703);function s(e,t){const{available:n,unavailableReason:s}=(0,r.A)(e);return!!n&&(0,a.registerPlugin)(`jetpack-${e}`,t)}},62634:(e,t,n)=>{"use strict";n.d(t,{Sy:()=>s,d9:()=>o,lk:()=>l,pP:()=>i});var a=n(34972);function r(){return"object"==typeof window&&"string"==typeof window._currentSiteType?window._currentSiteType:null}function s(){return"simple"===r()}function o(){return"atomic"===r()}function i(){const e=(0,a.A)();return e?.jetpack?.is_private_site??!1}function l(){const e=(0,a.A)();return e?.jetpack?.is_coming_soon??!1}},65595:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var a=n(96072),r=n.n(a),s=n(29491);const o=e=>(0,s.createHigherOrderComponent)((t=>n=>React.createElement(t,r()({},n,{className:n.name===e?"has-warning is-interactive":n.className}))),"withHasWarningIsInteractiveClassNames")},84705:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>a.d});var a=n(58992);n(91135)},91135:(e,t,n)=>{"use strict";n.d(t,{$:()=>a});const a=[{name:"amazon",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M13.582 8.182c-1.648.185-3.802.308-5.344.984-1.781.769-3.03 2.337-3.03 4.644 0 2.953 1.86 4.429 4.253 4.429 2.02 0 3.125-.477 4.685-2.065.516.747.685 1.109 1.629 1.894a.59.59 0 0 0 .672-.066l.006.006c.567-.505 1.599-1.401 2.18-1.888.231-.188.19-.496.009-.754-.52-.718-1.072-1.303-1.072-2.634V8.305c0-1.876.133-3.599-1.249-4.891C15.23 2.369 13.422 2 12.04 2 9.336 2 6.318 3.01 5.686 6.351c-.068.355.191.542.423.594l2.754.298c.258-.013.445-.266.494-.523.236-1.151 1.2-1.706 2.284-1.706.584 0 1.249.215 1.595.738.398.584.346 1.384.346 2.061zm-.533 5.906c-.451.8-1.169 1.291-1.967 1.291-1.09 0-1.728-.83-1.728-2.061 0-2.42 2.171-2.86 4.227-2.86v.615c.001 1.108.027 2.031-.532 3.015m7.634 5.251C18.329 21.076 14.917 22 11.979 22c-4.118 0-7.826-1.522-10.632-4.057-.22-.199-.024-.471.241-.317 3.027 1.762 6.771 2.823 10.639 2.823 2.608 0 5.476-.541 8.115-1.66.397-.169.73.262.341.55m.653 1.704c-.194.163-.379.076-.293-.139.284-.71.92-2.298.619-2.684s-1.99-.183-2.749-.092c-.23.027-.266-.173-.059-.319 1.348-.946 3.555-.673 3.811-.356.26.32-.066 2.533-1.329 3.59"})))},{name:"behance",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M7.799 5.698c.589 0 1.12.051 1.606.156q.722.155 1.241.507.516.351.804.938c.188.387.281.871.281 1.443q0 .93-.421 1.551-.424.62-1.255 1.014 1.133.328 1.689 1.146.559.822.557 1.975 0 .935-.359 1.612a3.14 3.14 0 0 1-.973 1.114q-.613.432-1.399.637A6.1 6.1 0 0 1 7.963 18H2V5.698zm-.35 4.97q.721 0 1.192-.345.465-.344.463-1.119 0-.43-.152-.707a1.1 1.1 0 0 0-.416-.427 1.7 1.7 0 0 0-.596-.216 3.6 3.6 0 0 0-.697-.06H4.709v2.874zm.151 5.237q.401.001.759-.077c.243-.053.457-.137.637-.261.182-.12.332-.283.441-.491q.164-.31.163-.798-.002-.948-.533-1.357c-.356-.27-.83-.404-1.413-.404H4.709v3.388zm8.562-.041q.552.538 1.583.538.74 0 1.277-.374c.354-.248.571-.514.654-.79h2.155c-.347 1.072-.872 1.838-1.589 2.299-.708.463-1.572.693-2.58.693q-1.05 0-1.899-.337a4 4 0 0 1-1.439-.958 4.4 4.4 0 0 1-.904-1.484 5.4 5.4 0 0 1-.32-1.899q0-1 .329-1.863a4.4 4.4 0 0 1 .933-1.492q.607-.63 1.444-.994a4.6 4.6 0 0 1 1.857-.363q1.131-.001 1.98.44a3.94 3.94 0 0 1 1.389 1.181 4.8 4.8 0 0 1 .783 1.69q.24.947.171 1.983h-6.428c-.001.706.237 1.372.604 1.73m2.811-4.68c-.291-.321-.783-.496-1.384-.496q-.585 0-.973.2a2 2 0 0 0-.621.491 1.8 1.8 0 0 0-.328.628 2.7 2.7 0 0 0-.111.587h3.98c-.058-.625-.271-1.085-.563-1.41m-3.916-3.446h4.985V6.524h-4.985z"})))},{name:"blogger-alt",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M19.779 9.904h-.981l-.021.001a1.163 1.163 0 0 1-1.16-1.079l-.001-.013A5.813 5.813 0 0 0 11.803 3H8.871a5.813 5.813 0 0 0-5.813 5.813v6.375a5.813 5.813 0 0 0 5.813 5.813h6.257a5.814 5.814 0 0 0 5.813-5.813l.002-4.121a1.164 1.164 0 0 0-1.164-1.163M8.726 7.713h3.291a1.117 1.117 0 1 1 0 2.234H8.726a1.117 1.117 0 1 1 0-2.234m6.601 8.657H8.72a1.057 1.057 0 1 1 0-2.114h6.607a1.057 1.057 0 1 1 0 2.114"})))},{name:"blogger",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M14.722 14.019a.654.654 0 0 1-.654.654H9.977a.654.654 0 0 1 0-1.308h4.091c.361 0 .654.293.654.654m-4.741-3.321h2.038a.692.692 0 0 0 0-1.384H9.981a.692.692 0 0 0 0 1.384M21 5v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2m-3.456 6.39a.72.72 0 0 0-.72-.72h-.607l-.013.001a.72.72 0 0 1-.718-.668l-.001-.008a3.6 3.6 0 0 0-3.599-3.599H10.07a3.6 3.6 0 0 0-3.599 3.599v3.947a3.6 3.6 0 0 0 3.599 3.599h3.874a3.6 3.6 0 0 0 3.599-3.599z"})))},{name:"bluesky",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M21.2 3.3c-.5-.2-1.4-.5-3.6 1C15.4 6 12.9 9.2 12 11c-.9-1.8-3.4-5-5.7-6.7-2.2-1.6-3-1.3-3.6-1S2 4.6 2 5.1s.3 4.7.5 5.4c.7 2.3 3.1 3.1 5.3 2.8-3.3.5-6.2 1.7-2.4 5.9 4.2 4.3 5.7-.9 6.5-3.6.8 2.7 1.7 7.7 6.4 3.6 3.6-3.6 1-5.4-2.3-5.9 2.2.2 4.6-.5 5.3-2.8.4-.7.7-4.8.7-5.4 0-.5-.1-1.5-.8-1.8"})))},{name:"codepen",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"m22.016 8.84-.007-.037q-.006-.037-.015-.072-.007-.022-.013-.042l-.023-.062-.02-.042a.4.4 0 0 0-.03-.057l-.025-.038-.035-.052-.03-.037q-.021-.026-.043-.045-.015-.018-.035-.035a.4.4 0 0 0-.048-.04l-.037-.03-.015-.012-9.161-6.096a.86.86 0 0 0-.955 0L2.359 8.237l-.015.012-.038.028-.048.04a.638.638 0 0 0-.078.082q-.018.018-.03.037-.018.026-.035.052l-.025.038q-.016.031-.03.059l-.02.041a1 1 0 0 0-.034.106q-.01.034-.016.071-.003.02-.006.037a1 1 0 0 0-.009.114v6.093q0 .056.008.112l.007.038q.006.035.015.072a.2.2 0 0 0 .013.04q.01.032.022.063l.02.04a.4.4 0 0 0 .055.096l.035.052.03.037.042.045.035.035q.023.02.048.04l.038.03.013.01 9.163 6.095a.858.858 0 0 0 .959.004l9.163-6.095.015-.01q.02-.015.037-.03l.048-.04q.02-.017.035-.035.025-.024.043-.045l.03-.037.035-.052.025-.038a.4.4 0 0 0 .03-.058l.02-.04.023-.063c.003-.013.01-.027.013-.04q.009-.037.015-.072l.007-.037q.006-.062.007-.117V8.954a1 1 0 0 0-.008-.114m-9.154-4.376 6.751 4.49-3.016 2.013-3.735-2.492zm-1.724 0v4.009l-3.735 2.494-3.014-2.013zm-7.439 6.098L5.853 12l-2.155 1.438zm7.439 8.974-6.749-4.491 3.015-2.011 3.735 2.492zM12 14.035 8.953 12 12 9.966 15.047 12zm.862 5.501v-4.009l3.735-2.492 3.016 2.011zm7.441-6.098L18.147 12l2.156-1.438z"})))},{name:"deezer",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M20.129 3.662c.222-1.287.548-2.096.909-2.098h.001c.673.002 1.219 2.809 1.219 6.274s-.546 6.274-1.22 6.274c-.276 0-.531-.477-.736-1.276-.324 2.926-.997 4.937-1.776 4.937-.603 0-1.144-1.208-1.507-3.114-.248 3.624-.872 6.195-1.602 6.195-.458 0-.875-1.019-1.184-2.678C13.861 21.6 13.003 24 12.002 24s-1.861-2.399-2.231-5.824c-.307 1.659-.724 2.678-1.184 2.678-.73 0-1.352-2.571-1.602-6.195-.363 1.905-.903 3.114-1.507 3.114-.778 0-1.452-2.011-1.776-4.937-.204.802-.46 1.276-.736 1.276-.674 0-1.22-2.809-1.22-6.274s.546-6.274 1.22-6.274c.362 0 .685.812.91 2.098.357-2.22.94-3.662 1.6-3.662.784 0 1.463 2.04 1.784 5.002.314-2.156.791-3.53 1.325-3.53.749 0 1.385 2.703 1.621 6.474.443-1.933 1.085-3.146 1.795-3.146s1.352 1.214 1.795 3.146c.237-3.771.872-6.474 1.621-6.474.533 0 1.009 1.374 1.325 3.53.321-2.962 1-5.002 1.784-5.002.658 0 1.244 1.443 1.603 3.662M0 7.221c0-1.549.31-2.805.692-2.805s.692 1.256.692 2.805-.31 2.805-.692 2.805S0 8.77 0 7.221m22.616 0c0-1.549.31-2.805.692-2.805S24 5.672 24 7.221s-.31 2.805-.692 2.805-.692-1.256-.692-2.805"})))},{name:"discord",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M20.33 4.523A20 20 0 0 0 15.379 3a14 14 0 0 0-.634 1.289 18.4 18.4 0 0 0-5.495 0A14 14 0 0 0 8.615 3 20 20 0 0 0 3.66 4.527C.527 9.163-.323 13.684.102 18.141a20 20 0 0 0 6.073 3.049 14.7 14.7 0 0 0 1.301-2.097 13 13 0 0 1-2.048-.978q.258-.189.502-.378a14.27 14.27 0 0 0 12.142 0q.247.202.502.378a13 13 0 0 1-2.052.98 14.5 14.5 0 0 0 1.301 2.095 19.9 19.9 0 0 0 6.076-3.047c.498-5.168-.851-9.648-3.568-13.62M8.013 15.4c-1.183 0-2.161-1.074-2.161-2.395S6.796 10.6 8.01 10.6s2.183 1.083 2.163 2.405S9.22 15.4 8.013 15.4m7.974 0c-1.186 0-2.16-1.074-2.16-2.395s.944-2.405 2.16-2.405 2.178 1.083 2.157 2.405-.951 2.395-2.158 2.395"})))},{name:"dribbble",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12 22C6.486 22 2 17.514 2 12S6.486 2 12 2s10 4.486 10 10-4.486 10-10 10m8.434-8.631c-.292-.092-2.644-.794-5.32-.365 1.117 3.07 1.572 5.57 1.659 6.09a8.56 8.56 0 0 0 3.661-5.725m-5.098 6.507c-.127-.749-.623-3.361-1.822-6.477l-.056.019c-4.818 1.679-6.547 5.02-6.701 5.334A8.5 8.5 0 0 0 12 20.555a8.5 8.5 0 0 0 3.336-.679m-9.682-2.152c.193-.331 2.538-4.213 6.943-5.637q.167-.054.337-.102a29 29 0 0 0-.692-1.45c-4.266 1.277-8.405 1.223-8.778 1.216a8.497 8.497 0 0 0 2.19 5.973m-2.015-7.46c.382.005 3.901.02 7.897-1.041a55 55 0 0 0-3.167-4.94 8.57 8.57 0 0 0-4.73 5.981m6.359-6.555a46 46 0 0 1 3.187 5c3.037-1.138 4.323-2.867 4.477-3.085a8.51 8.51 0 0 0-7.664-1.915m8.614 2.903c-.18.243-1.612 2.078-4.77 3.367a27 27 0 0 1 .751 1.678c2.842-.357 5.666.215 5.948.275a8.5 8.5 0 0 0-1.929-5.32"})))},{name:"dropbox",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12 6.134 6.069 9.797 2 6.54l5.883-3.843zm-10 6.92 5.883 3.843L12 13.459 6.069 9.797zm10 .405 4.116 3.439L22 13.054l-4.069-3.257zM22 6.54l-5.884-3.843L12 6.134l5.931 3.663zm-9.989 7.66-4.129 3.426-1.767-1.153v1.291l5.896 3.539 5.897-3.539v-1.291l-1.769 1.153z"})))},{name:"eventbrite",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M18.041 3.931 5.959 3A2.96 2.96 0 0 0 3 5.959v12.083A2.96 2.96 0 0 0 5.959 21l12.083-.931C19.699 19.983 21 18.744 21 17.11V6.89c0-1.634-1.259-2.863-2.959-2.959M16.933 8.17c-.082.215-.192.432-.378.551-.188.122-.489.132-.799.132-1.521 0-3.062-.048-4.607-.048q-.23 1.061-.451 2.128c.932-.004 1.873.005 2.81.005.726 0 1.462-.069 1.586.525.04.189-.001.426-.052.615-.105.38-.258.676-.625.783-.185.054-.408.058-.646.058-1.145 0-2.345.017-3.493.02-.169.772-.328 1.553-.489 2.333 1.57-.005 3.067-.041 4.633-.058.627-.007 1.085.194 1.009.85a2.2 2.2 0 0 1-.211.725c-.102.208-.248.376-.488.452-.237.075-.541.064-.862.078-.304.014-.614.008-.924.016-.309.009-.619.022-.919.022-1.253 0-2.429.08-3.683.073-.603-.004-1.014-.249-1.124-.757-.059-.273-.018-.58.036-.841a3543 3543 0 0 1 1.629-7.763c.056-.265.114-.511.225-.714a1.24 1.24 0 0 1 .79-.62c.368-.099.883-.047 1.344-.047.305 0 .612.008.914.016.925.026 1.817.03 2.747.053.304.007.615.016.915.016.621 0 1.17.073 1.245.614.039.288-.051.567-.132.783"})))},{name:"facebook",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("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-10"})))},{name:"fediverse",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 743 743"},React.createElement("g",null,React.createElement("path",{d:"M181.131 275.137a68.9 68.9 0 0 1-29.465 29.328l161.758 162.389 38.998-19.764zm213.363 214.187-38.998 19.764 81.963 82.283a68.9 68.9 0 0 1 29.471-29.332zM581.646 339.391l-91.576 46.41 6.752 43.189 103.616-52.513a68.9 68.9 0 0 1-18.792-37.086m-144.738 73.351L220.383 522.477a68.9 68.9 0 0 1 18.795 37.089L443.66 455.934zM367.275 142.438l-104.48 203.97 30.848 30.967 110.623-215.957a68.9 68.9 0 0 1-36.991-18.98M235.621 399.459l-52.922 103.314a68.9 68.9 0 0 1 36.987 18.979l46.781-91.328zM150.768 304.918a68.9 68.9 0 0 1-34.416 7.195 69 69 0 0 1-6.651-.695l30.903 197.662a68.9 68.9 0 0 1 34.416-7.195 69 69 0 0 1 6.646.695zM239.342 560.545c.707 4.589.949 9.239.72 13.877a68.9 68.9 0 0 1-7.267 27.18l197.629 31.712c-.708-4.59-.95-9.24-.723-13.878a68.9 68.9 0 0 1 7.27-27.178zM601.133 377.199l-91.219 178.082a68.9 68.9 0 0 1 36.994 18.983l91.217-178.08a68.9 68.9 0 0 1-36.992-18.985M476.723 125.33a68.9 68.9 0 0 1-29.471 29.332l141.266 141.811a68.9 68.9 0 0 1 29.468-29.332zM347.787 104.631l-178.576 90.498a68.9 68.9 0 0 1 18.793 37.086l178.574-90.502a68.9 68.9 0 0 1-18.791-37.082M446.926 154.826a68.9 68.9 0 0 1-34.983 7.483 69 69 0 0 1-6.029-.633l15.818 101.291 43.163 6.926zm-16 167.028 37.4 239.482a68.9 68.9 0 0 1 33.914-6.943q3.625.206 7.207.791L474.09 328.777zM188.131 232.975c.734 4.66.988 9.383.758 14.095a68.9 68.9 0 0 1-7.16 26.983l101.369 16.281 19.923-38.908zm173.736 27.9-19.926 38.912 239.514 38.467a69 69 0 0 1-.695-13.719 68.9 68.9 0 0 1 7.349-27.324z"}),React.createElement("path",{fillOpacity:".996",d:"M412.284 156.054c34.538 1.882 64.061-24.592 65.943-59.13s-24.592-64.062-59.131-65.943c-34.538-1.882-64.061 24.592-65.943 59.13s24.593 64.062 59.131 65.943M646.144 390.82c34.538 1.881 64.062-24.593 65.943-59.131s-24.592-64.061-59.13-65.943-64.062 24.593-65.943 59.131 24.592 64.061 59.13 65.943M495.086 685.719c34.538 1.881 64.062-24.592 65.943-59.13s-24.592-64.062-59.13-65.943-64.062 24.592-65.943 59.13 24.592 64.062 59.13 65.943M167.866 633.211c34.538 1.882 64.062-24.592 65.943-59.13s-24.592-64.062-59.13-65.943-64.062 24.592-65.943 59.13 24.592 64.062 59.13 65.943M116.692 305.86c34.538 1.882 64.062-24.592 65.943-59.13s-24.592-64.062-59.131-65.943c-34.538-1.881-64.061 24.592-65.943 59.13s24.593 64.062 59.131 65.943"})))},{name:"feed",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M2 8.667V12c5.515 0 10 4.485 10 10h3.333c0-7.363-5.97-13.333-13.333-13.333M2 2v3.333c9.19 0 16.667 7.477 16.667 16.667H22C22 10.955 13.045 2 2 2m2.5 15a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5"})))},{name:"flickr",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M6.5 7c-2.75 0-5 2.25-5 5s2.25 5 5 5 5-2.25 5-5-2.25-5-5-5m11 0c-2.75 0-5 2.25-5 5s2.25 5 5 5 5-2.25 5-5-2.25-5-5-5"})))},{name:"foursquare",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M17.573 2H6.905C5.434 2 5 3.107 5 3.805v16.948c0 .785.422 1.077.66 1.172.238.097.892.177 1.285-.275 0 0 5.035-5.843 5.122-5.93.132-.132.132-.132.262-.132h3.26c1.368 0 1.588-.977 1.732-1.552.078-.318.692-3.428 1.225-6.122l.675-3.368C19.56 2.893 19.14 2 17.573 2m-1.078 5.22c-.053.252-.372.518-.665.518h-4.157c-.467 0-.802.318-.802.787v.508c0 .467.337.798.805.798h3.528c.331 0 .655.362.583.715s-.407 2.102-.448 2.295c-.04.193-.262.523-.655.523h-2.88c-.523 0-.683.068-1.033.503-.35.437-3.505 4.223-3.505 4.223-.032.035-.063.027-.063-.015V4.852c0-.298.26-.648.648-.648h8.562c.315 0 .61.297.528.683z"})))},{name:"ghost",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M10.203 20.997H3.005v-3.599h7.198zm10.792-3.599h-7.193v3.599h7.193zm.003-7.198H3v3.599h17.998zm-7.195-7.197H3.005v3.599h10.798zm7.197 0h-3.599v3.599H21z"})))},{name:"git",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M23.519 10.947 13.053.482a1.543 1.543 0 0 0-2.183 0L8.696 2.656l2.756 2.756a1.83 1.83 0 0 1 1.886.439 1.84 1.84 0 0 1 .436 1.898l2.656 2.657a1.83 1.83 0 0 1 1.899.436 1.837 1.837 0 0 1 0 2.597 1.84 1.84 0 0 1-2.599 0 1.84 1.84 0 0 1-.4-1.998l-2.478-2.477v6.521a1.837 1.837 0 0 1 .485 2.945 1.837 1.837 0 0 1-2.597 0 1.837 1.837 0 0 1 0-2.598 1.8 1.8 0 0 1 .602-.401V8.85a1.8 1.8 0 0 1-.602-.4 1.84 1.84 0 0 1-.395-2.009L7.628 3.723.452 10.898a1.544 1.544 0 0 0 0 2.184l10.467 10.467a1.544 1.544 0 0 0 2.183 0l10.417-10.418a1.546 1.546 0 0 0 0-2.184"})))},{name:"github",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12c0 4.419 2.865 8.166 6.839 9.489.5.09.682-.218.682-.484 0-.236-.009-.866-.014-1.699-2.782.602-3.369-1.34-3.369-1.34-.455-1.157-1.11-1.465-1.11-1.465-.909-.62.069-.608.069-.608 1.004.071 1.532 1.03 1.532 1.03.891 1.529 2.341 1.089 2.91.833.091-.647.349-1.086.635-1.337-2.22-.251-4.555-1.111-4.555-4.943 0-1.091.39-1.984 1.03-2.682-.103-.254-.447-1.27.097-2.646 0 0 .84-.269 2.75 1.025A9.6 9.6 0 0 1 12 6.836c.85.004 1.705.114 2.504.336 1.909-1.294 2.748-1.025 2.748-1.025.546 1.376.202 2.394.1 2.646.64.699 1.026 1.591 1.026 2.682 0 3.841-2.337 4.687-4.565 4.935.359.307.679.917.679 1.852 0 1.335-.012 2.415-.012 2.741 0 .269.18.579.688.481A10 10 0 0 0 22 12c0-5.523-4.477-10-10-10"})))},{name:"google-alt",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2m-.05 16c-3.312 0-6-2.688-6-6s2.688-6 6-6c1.62 0 2.976.594 4.014 1.566L14.26 9.222c-.432-.408-1.188-.888-2.31-.888-1.986 0-3.606 1.65-3.606 3.672s1.62 3.672 3.606 3.672c2.298 0 3.144-1.59 3.3-2.532h-3.306v-2.238h5.616c.084.378.15.732.15 1.23 0 3.426-2.298 5.862-5.76 5.862"})))},{name:"google-plus-alt",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M8 11h6.61c.06.35.11.7.11 1.16 0 4-2.68 6.84-6.72 6.84-3.87 0-7-3.13-7-7s3.13-7 7-7c1.89 0 3.47.69 4.69 1.83l-1.9 1.83c-.52-.5-1.43-1.08-2.79-1.08-2.39 0-4.34 1.98-4.34 4.42S5.61 16.42 8 16.42c2.77 0 3.81-1.99 3.97-3.02H8zm15 0h-2V9h-2v2h-2v2h2v2h2v-2h2"})))},{name:"google-plus",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2m-1.919 14.05a4.051 4.051 0 0 1 0-8.1c1.094 0 2.009.401 2.709 1.057l-1.15 1.118a2.23 2.23 0 0 0-1.559-.599c-1.341 0-2.434 1.114-2.434 2.479s1.094 2.479 2.434 2.479c1.551 0 2.122-1.073 2.227-1.709h-2.232v-1.511h3.791c.057.255.101.494.101.83.001 2.312-1.55 3.956-3.887 3.956M19 12.75h-1.25V14h-1.5v-1.25H15v-1.5h1.25V10h1.5v1.25H19z"})))},{name:"google",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12.02 10.18v3.73h5.51c-.26 1.57-1.67 4.22-5.5 4.22-3.31 0-6.01-2.75-6.01-6.12s2.7-6.12 6.01-6.12c1.87 0 3.13.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 0-.83-.11-1.42-.25-2.05z"})))},{name:"instagram",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12 4.622c2.403 0 2.688.009 3.637.052.877.04 1.354.187 1.671.31.42.163.72.358 1.035.673s.51.615.673 1.035c.123.317.27.794.31 1.671.043.949.052 1.234.052 3.637s-.009 2.688-.052 3.637c-.04.877-.187 1.354-.31 1.671-.163.42-.358.72-.673 1.035s-.615.51-1.035.673c-.317.123-.794.27-1.671.31-.949.043-1.233.052-3.637.052s-2.688-.009-3.637-.052c-.877-.04-1.354-.187-1.671-.31a2.8 2.8 0 0 1-1.035-.673 2.8 2.8 0 0 1-.673-1.035c-.123-.317-.27-.794-.31-1.671-.043-.949-.052-1.234-.052-3.637s.009-2.688.052-3.637c.04-.877.187-1.354.31-1.671.163-.42.358-.72.673-1.035s.615-.51 1.035-.673c.317-.123.794-.27 1.671-.31.949-.043 1.234-.052 3.637-.052M12 3c-2.444 0-2.751.01-3.711.054-.958.044-1.612.196-2.184.418a4.4 4.4 0 0 0-1.594 1.039c-.5.5-.808 1.002-1.038 1.594-.223.572-.375 1.226-.419 2.184C3.01 9.249 3 9.556 3 12s.01 2.751.054 3.711c.044.958.196 1.612.418 2.185.23.592.538 1.094 1.038 1.594s1.002.808 1.594 1.038c.572.222 1.227.375 2.185.418.96.044 1.267.054 3.711.054s2.751-.01 3.711-.054c.958-.044 1.612-.196 2.185-.418a4.4 4.4 0 0 0 1.594-1.038c.5-.5.808-1.002 1.038-1.594.222-.572.375-1.227.418-2.185.044-.96.054-1.267.054-3.711s-.01-2.751-.054-3.711c-.044-.958-.196-1.612-.418-2.185A4.4 4.4 0 0 0 19.49 4.51c-.5-.5-1.002-.808-1.594-1.038-.572-.222-1.227-.375-2.185-.418C14.751 3.01 14.444 3 12 3m0 4.378a4.622 4.622 0 1 0 0 9.244 4.622 4.622 0 0 0 0-9.244M12 15a3 3 0 1 1 0-6 3 3 0 0 1 0 6m4.804-8.884a1.08 1.08 0 1 0 .001 2.161 1.08 1.08 0 0 0-.001-2.161"})))},{name:"json-feed",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"m8.522 17.424.027.027c1.076-1.076 1.854-.993 3.154.306l2.053 2.053c2.136 2.136 4.131 2.028 6.515-.356l.729-.728-1.548-1.548-.373.373c-1.349 1.349-2.293 1.366-3.585.075l-2.409-2.409c-1.242-1.242-2.475-1.366-3.659-.381l-.232-.232c1.01-1.225.911-2.368-.29-3.568l-2.16-2.162c-1.317-1.317-1.308-2.236.058-3.602l.372-.372-1.54-1.54-.728.729c-2.393 2.393-2.525 4.346-.439 6.433l1.78 1.78c1.3 1.3 1.383 2.095.315 3.163l.008.008a1.384 1.384 0 0 0 1.952 1.951"}),React.createElement("circle",{cx:"13.089",cy:"10.905",r:"1.383"}),React.createElement("circle",{cx:"16.349",cy:"7.644",r:"1.383"}),React.createElement("circle",{cx:"19.61",cy:"4.383",r:"1.383"})))},{name:"line",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M14.255 9.572v3.333c0 .084-.066.15-.15.15h-.534a.16.16 0 0 1-.122-.061l-1.528-2.063v1.978c0 .084-.066.15-.15.15h-.534a.15.15 0 0 1-.15-.15V9.576c0-.084.066-.15.15-.15h.529a.14.14 0 0 1 .122.066l1.528 2.063V9.577c0-.084.066-.15.15-.15h.534a.15.15 0 0 1 .155.145m-3.844-.15h-.534a.15.15 0 0 0-.15.15v3.333c0 .084.066.15.15.15h.534c.084 0 .15-.066.15-.15V9.572c0-.08-.066-.15-.15-.15m-1.289 2.794H7.664V9.572a.15.15 0 0 0-.15-.15H6.98a.15.15 0 0 0-.15.15v3.333q0 .062.042.103a.16.16 0 0 0 .103.042h2.142c.084 0 .15-.066.15-.15v-.534a.15.15 0 0 0-.145-.15m7.945-2.794h-2.142c-.08 0-.15.066-.15.15v3.333c0 .08.066.15.15.15h2.142c.084 0 .15-.066.15-.15v-.534a.15.15 0 0 0-.15-.15h-1.458v-.563h1.458c.084 0 .15-.066.15-.15v-.539a.15.15 0 0 0-.15-.15h-1.458v-.563h1.458c.084 0 .15-.066.15-.15v-.534c-.005-.08-.07-.15-.15-.15M22.5 5.33v13.373c-.005 2.1-1.725 3.802-3.83 3.797H5.297c-2.1-.005-3.802-1.73-3.797-3.83V5.297c.005-2.1 1.73-3.802 3.83-3.797h13.373c2.1.005 3.802 1.725 3.797 3.83m-2.888 5.747c0-3.422-3.431-6.206-7.645-6.206s-7.645 2.784-7.645 6.206c0 3.066 2.719 5.634 6.394 6.122.895.192.792.52.591 1.725-.033.192-.155.755.661.413s4.402-2.592 6.009-4.439c1.106-1.219 1.636-2.452 1.636-3.82"})))},{name:"link",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M17 13H7v-2h10zm1-6h-1c-1.631 0-3.065.792-3.977 2H18c1.103 0 2 .897 2 2v2c0 1.103-.897 2-2 2h-4.977c.913 1.208 2.347 2 3.977 2h1a4 4 0 0 0 4-4v-2a4 4 0 0 0-4-4M2 11v2a4 4 0 0 0 4 4h1c1.63 0 3.065-.792 3.977-2H6c-1.103 0-2-.897-2-2v-2c0-1.103.897-2 2-2h4.977C10.065 7.792 8.631 7 7 7H6a4 4 0 0 0-4 4"})))},{name:"linkedin",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M19.7 3H4.3A1.3 1.3 0 0 0 3 4.3v15.4A1.3 1.3 0 0 0 4.3 21h15.4a1.3 1.3 0 0 0 1.3-1.3V4.3A1.3 1.3 0 0 0 19.7 3M8.339 18.338H5.667v-8.59h2.672zM7.004 8.574a1.548 1.548 0 1 1-.002-3.096 1.548 1.548 0 0 1 .002 3.096m11.335 9.764H15.67v-4.177c0-.996-.017-2.278-1.387-2.278-1.389 0-1.601 1.086-1.601 2.206v4.249h-2.667v-8.59h2.559v1.174h.037c.356-.675 1.227-1.387 2.526-1.387 2.703 0 3.203 1.779 3.203 4.092v4.711z"})))},{name:"mail",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M20 4H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2m0 4.236-8 4.882-8-4.882V6h16z"})))},{name:"mastodon",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M11.973 2.352c-2.468.02-4.842.286-6.225.921 0 0-2.742 1.229-2.742 5.415 0 .958-.018 2.105.012 3.32.1 4.094.75 8.128 4.535 9.129 1.745.462 3.244.56 4.45.494 2.19-.122 3.417-.781 3.417-.781l-.072-1.588s-1.565.491-3.32.431c-1.74-.06-3.576-.188-3.858-2.324a4 4 0 0 1-.04-.598s1.709.416 3.874.516c1.324.06 2.563-.076 3.824-.226 2.418-.29 4.524-1.78 4.79-3.141.416-2.144.38-5.232.38-5.232 0-4.186-2.74-5.415-2.74-5.415-1.383-.635-3.76-.9-6.227-.921zM9.18 5.622c1.028 0 1.804.395 2.318 1.185l.502.84.5-.84c.514-.79 1.292-1.186 2.32-1.186.888 0 1.605.313 2.15.922q.795.915.794 2.469v5.068h-2.008V9.16c0-1.037-.438-1.562-1.31-1.562-.966 0-1.448.622-1.448 1.857v2.693h-1.996V9.455c0-1.235-.484-1.857-1.45-1.857-.872 0-1.308.525-1.308 1.562v4.92H6.236V9.012q-.001-1.554.793-2.469c.547-.609 1.263-.922 2.15-.922"})))},{name:"medium-alt",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{fillRule:"nonzero",d:"M7.423 6c3.27 0 5.922 2.686 5.922 6s-2.651 6-5.922 6S1.5 15.313 1.5 12s2.652-6 5.923-6m9.458.351c1.635 0 2.961 2.53 2.961 5.65 0 3.118-1.325 5.648-2.96 5.648S13.92 15.119 13.92 12s1.325-5.649 2.96-5.649m4.577.589c.576 0 1.042 2.265 1.042 5.06s-.466 5.06-1.042 5.06c-.575 0-1.04-2.265-1.04-5.06s.465-5.06 1.04-5.06"})))},{name:"medium",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M3 3v18h18V3zm15 4.26-1 .93a.28.28 0 0 0-.11.27v6.8a.27.27 0 0 0 .11.27l.94.93v.2h-4.75v-.2l1-1c.09-.1.09-.12.09-.27V9.74l-2.71 6.9h-.37L8 9.74v4.62a.67.67 0 0 0 .17.54l1.27 1.54v.2H5.86v-.2l1.27-1.54a.64.64 0 0 0 .17-.54V9a.5.5 0 0 0-.16-.4L6 7.26v-.2h3.52L12.23 13l2.38-5.94H18z"})))},{name:"messenger",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12.026.375C5.462.375.375 5.172.375 11.652c0 3.389 1.393 6.318 3.66 8.341.391.352.311.556.377 2.73a.934.934 0 0 0 1.307.823c2.48-1.092 2.512-1.178 2.933-1.064 7.185 1.977 14.973-2.621 14.973-10.83 0-6.48-5.035-11.277-11.599-11.277m6.996 8.678L15.6 14.47a1.75 1.75 0 0 1-2.527.465l-2.723-2.038a.7.7 0 0 0-.844 0l-3.674 2.786c-.49.372-1.133-.216-.802-.735l3.422-5.417a1.75 1.75 0 0 1 2.527-.465l2.722 2.037a.7.7 0 0 0 .844 0L18.22 8.32c.489-.374 1.132.213.801.732"})))},{name:"microblog",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M19.641 17.086c1.294-1.522 2.067-3.438 2.067-5.521 0-4.957-4.371-8.972-9.763-8.972s-9.763 4.015-9.763 8.972 4.371 8.972 9.763 8.972a10.5 10.5 0 0 0 3.486-.59.315.315 0 0 1 .356.112c.816 1.101 2.09 1.876 3.506 2.191a.194.194 0 0 0 .192-.309 3.82 3.82 0 0 1 .162-4.858zm-3.065-6.575-2.514 1.909.912 3.022a.286.286 0 0 1-.437.317l-2.592-1.802-2.592 1.802a.285.285 0 0 1-.436-.317l.912-3.022-2.515-1.909a.285.285 0 0 1 .167-.513l3.155-.066 1.038-2.981a.285.285 0 0 1 .539 0l1.038 2.981 3.155.066a.285.285 0 0 1 .17.513"})))},{name:"nextdoor",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",strokeMiterlimit:"10",viewBox:"0 0 130 130"},React.createElement("g",null,React.createElement("path",{d:"M64.25 3.531c-31.144.337-57.596 24.22-60.469 55.907-3.064 33.799 21.857 63.685 55.657 66.75s63.685-21.857 66.75-55.657-21.857-63.686-55.657-66.75a62 62 0 0 0-6.281-.25m3.938 34.907C82.468 38.438 93.5 48.58 93.5 61.5v27c0 .685-.565 1.25-1.25 1.25H80.906a1.267 1.267 0 0 1-1.25-1.25V63.375c0-5.58-4.309-11.937-11.469-11.937-7.47 0-11.468 6.357-11.468 11.937V88.5c0 .685-.565 1.25-1.25 1.25H44.125c-.68 0-1.219-.57-1.219-1.25V64.156c0-.74-.529-1.364-1.25-1.531-13.13-2.93-15.115-10.285-15.375-21.125-.005-.332.142-.67.375-.906.233-.237.543-.375.875-.375l11.688.062c.66.01 1.187.529 1.218 1.188.13 4.44.438 9.406 4.438 9.406.83 0 1.443-1.179 1.813-1.719 4.41-6.48 12.28-10.718 21.5-10.718"})))},{name:"patreon",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M20 7.408c-.003-2.299-1.746-4.182-3.79-4.862-2.54-.844-5.888-.722-8.312.453-2.939 1.425-3.862 4.545-3.896 7.656-.028 2.559.22 9.297 3.92 9.345 2.75.036 3.159-3.603 4.43-5.356.906-1.247 2.071-1.599 3.506-1.963 2.465-.627 4.146-2.626 4.142-5.273"})))},{name:"pinterest-alt",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12.289 2C6.617 2 3.606 5.648 3.606 9.622c0 1.846 1.025 4.146 2.666 4.878.25.111.381.063.439-.169.044-.175.267-1.029.365-1.428a.37.37 0 0 0-.091-.362c-.54-.63-.975-1.791-.975-2.873 0-2.777 2.194-5.464 5.933-5.464 3.23 0 5.49 2.108 5.49 5.122 0 3.407-1.794 5.768-4.13 5.768-1.291 0-2.257-1.021-1.948-2.277.372-1.495 1.089-3.112 1.089-4.191 0-.967-.542-1.775-1.663-1.775-1.319 0-2.379 1.309-2.379 3.059 0 1.115.394 1.869.394 1.869s-1.302 5.279-1.54 6.261c-.405 1.666.053 4.368.094 4.604.021.126.167.169.25.063.129-.165 1.699-2.419 2.142-4.051.158-.59.817-2.995.817-2.995.43.784 1.681 1.446 3.013 1.446 3.963 0 6.822-3.494 6.822-7.833C20.394 5.112 16.849 2 12.289 2"})))},{name:"pinterest",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12c0 4.236 2.636 7.855 6.356 9.312-.087-.791-.166-2.005.035-2.869.182-.78 1.173-4.971 1.173-4.971s-.299-.599-.299-1.484c0-1.39.806-2.429 1.809-2.429.853 0 1.265.641 1.265 1.409 0 .858-.546 2.141-.828 3.329-.236.996.499 1.807 1.481 1.807 1.777 0 3.144-1.874 3.144-4.579 0-2.394-1.72-4.068-4.177-4.068-2.845 0-4.515 2.134-4.515 4.34 0 .859.331 1.781.744 2.282a.3.3 0 0 1 .069.287c-.077.316-.246.995-.279 1.134-.044.183-.145.222-.334.134-1.249-.581-2.03-2.407-2.03-3.874 0-3.154 2.292-6.051 6.607-6.051 3.469 0 6.165 2.472 6.165 5.775 0 3.446-2.173 6.22-5.189 6.22-1.013 0-1.966-.526-2.292-1.148l-.623 2.377c-.226.869-.835 1.957-1.243 2.622.936.289 1.93.445 2.961.445 5.523 0 10-4.477 10-10S17.523 2 12 2"})))},{name:"pocket",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M21.927 4.194A1.82 1.82 0 0 0 20.222 3H3.839a1.823 1.823 0 0 0-1.813 1.814v6.035l.069 1.2c.29 2.73 1.707 5.115 3.899 6.778l.119.089.025.018a9.9 9.9 0 0 0 3.91 1.727 10.06 10.06 0 0 0 4.049-.014.3.3 0 0 0 .064-.023 9.9 9.9 0 0 0 3.753-1.691l.025-.018q.06-.043.119-.089c2.192-1.664 3.609-4.049 3.898-6.778l.069-1.2V4.814a1.8 1.8 0 0 0-.098-.62m-4.235 6.287-4.704 4.512a1.37 1.37 0 0 1-1.898 0l-4.705-4.512a1.371 1.371 0 1 1 1.898-1.979l3.756 3.601 3.755-3.601a1.372 1.372 0 0 1 1.898 1.979"})))},{name:"polldaddy",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12 2C6.487 2 2 6.487 2 12c0 5.514 4.487 10 10 10 5.514 0 10-4.486 10-10 0-5.513-4.486-10-10-10m.991 1.68c2.361.084 4.657 1.251 6.197 3.136.283.334.541.693.774 1.067a7.78 7.78 0 0 0-6.094-2.94 7.76 7.76 0 0 0-5.896 2.703q-.008.006-.016.014l-.152.159-.031.032a6.12 6.12 0 0 0-1.633 4.165 6.15 6.15 0 0 0 6.143 6.143c.57 0 1.123-.081 1.649-.227-1.849.839-4.131.747-5.926-.324-1.841-1.089-3.171-3.111-3.433-5.313A7.39 7.39 0 0 1 6.69 6.137C8.294 4.5 10.634 3.563 12.991 3.68m3.373 8.519c-.049-2.024-1.587-3.889-3.544-4.174-1.927-.343-3.917.857-4.451 2.661a3.67 3.67 0 0 0 .2 2.653c.39.8 1.067 1.451 1.894 1.759 1.664.654 3.63-.27 4.173-1.863.593-1.58-.396-3.423-1.94-3.776-1.52-.407-3.161.757-3.204 2.243a2.36 2.36 0 0 0 .753 1.879c.501.476 1.23.667 1.871.529a2.07 2.07 0 0 0 1.469-1.134 1.91 1.91 0 0 0-.087-1.767c-.297-.513-.859-.863-1.429-.881a1.7 1.7 0 0 0-1.437.679 1.53 1.53 0 0 0-.18 1.489q.006.016.016.03c.193.634.774 1.1 1.467 1.117a1.6 1.6 0 0 1-.97-.183c-.466-.244-.809-.747-.893-1.29a1.8 1.8 0 0 1 .499-1.539 2.02 2.02 0 0 1 1.58-.606c.593.04 1.159.35 1.517.859.364.496.51 1.156.383 1.773-.116.62-.529 1.174-1.093 1.514a2.52 2.52 0 0 1-1.914.286c-.65-.161-1.226-.606-1.584-1.206a2.83 2.83 0 0 1-.341-2.031c.143-.7.573-1.321 1.176-1.753 1.193-.883 3.056-.751 4.106.411 1.106 1.1 1.327 3.027.406 4.371-.877 1.376-2.74 2.086-4.374 1.594-1.639-.449-2.913-2.079-3.031-3.853-.07-.884.13-1.797.583-2.577.445-.777 1.155-1.432 1.972-1.862 1.64-.88 3.816-.743 5.349.424 1.251.924 2.083 2.42 2.236 4.009l.001.03c0 2.9-2.359 5.26-5.26 5.26a5.2 5.2 0 0 1-1.947-.376 5 5 0 0 0 2.613-.079 4.96 4.96 0 0 0 2.514-1.751c.618-.828.95-1.861.901-2.869M12 21.113c-5.024 0-9.111-4.087-9.111-9.113 0-4.789 3.713-8.723 8.411-9.081a7 7 0 0 0-.397.06c-2.644.453-5.017 2.106-6.32 4.409-1.309 2.301-1.391 5.19-.3 7.527 1.056 2.34 3.253 4.156 5.776 4.553 2.497.44 5.133-.483 6.787-2.301 1.719-1.797 2.269-4.529 1.486-6.796-.583-1.81-1.976-3.331-3.7-4.046 3.417.594 6.174 3.221 6.174 6.781 0 1.004-.241 2.02-.657 2.966-1.498 2.984-4.586 5.041-8.149 5.041"})))},{name:"print",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M9 16h6v2H9zm13 1h-3v3a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-3H2V9a2 2 0 0 1 2-2h1V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v2h1a2 2 0 0 1 2 2zM7 7h10V5H7zm10 7H7v6h10zm3-3.5a1.5 1.5 0 1 0-3.001.001A1.5 1.5 0 0 0 20 10.5"})))},{name:"quora",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M47.736 16.521c-.41-.81-.898-1.631-1.846-1.631a1 1 0 0 0-.527.107l-.322-.644a2.93 2.93 0 0 1 1.836-.595c1.26 0 1.914.605 2.431 1.397a6.8 6.8 0 0 0 .449-2.675c0-2.773-.869-4.199-2.929-4.199-1.992 0-2.851 1.465-2.851 4.199s.859 4.17 2.851 4.17a4 4 0 0 0 .869-.107zm.498.966a6 6 0 0 1-1.367.185 5.27 5.27 0 0 1-5.263-5.204c0-3.114 2.558-5.233 5.263-5.233s5.282 2.109 5.282 5.233a5.08 5.08 0 0 1-1.992 4.072c.381.566.781.956 1.319.956.595 0 .839-.459.878-.82h.781c.049.488-.195 2.48-2.373 2.48-1.319 0-2.012-.761-2.529-1.66zm5.624-2.646v-3.563c0-.371-.146-.586-.615-.586h-.498v-.956h3.251v5.048c0 .849.459 1.231 1.161 1.231a1.56 1.56 0 0 0 1.465-.839V11.28c0-.371-.146-.586-.615-.586h-.527v-.957h3.28v5.302c0 .527.195.732.8.732h.107v.976l-2.929.468V16.21h-.057a3.12 3.12 0 0 1-2.509 1.152c-1.28 0-2.304-.644-2.304-2.558zm12.059 1.611c1.152 0 1.592-1.005 1.611-3.027.02-1.982-.459-2.929-1.611-2.929-1.005 0-1.641.956-1.641 2.929 0 2.021.625 3.027 1.641 3.027m0 .956a3.906 3.906 0 0 1-3.974-3.974c0-2.334 1.836-3.886 3.974-3.886 2.226 0 4.004 1.582 4.004 3.886a3.867 3.867 0 0 1-4.004 3.974m4.072-.146v-.956h.312c.781 0 .859-.224.859-.908v-4.121c0-.371-.215-.586-.732-.586h-.42v-.955h2.968l.146 1.553h.108c.371-1.113 1.221-1.699 2.051-1.699.693 0 1.221.39 1.221 1.181 0 .547-.264 1.093-1.005 1.093-.664 0-.8-.449-1.358-.449-.488 0-.869.468-.869 1.152v2.783c0 .673.166.908.937.908h.439v.956h-4.658zm9.901-1.093c.956 0 1.338-.898 1.338-1.797v-1.211c-.732.722-2.304.742-2.304 2.021 0 .625.371.986.966.986m1.387 0c-.39.752-1.191 1.26-2.314 1.26-1.309 0-2.148-.732-2.148-1.914 0-2.451 3.417-1.797 4.423-3.427v-.185c0-1.25-.488-1.445-1.035-1.445-1.524 0-.83 1.631-2.226 1.631-.673 0-.937-.371-.937-.859 0-.927 1.093-1.67 3.173-1.67 1.963 0 3.163.537 3.163 2.49v3.114q-.02.742.595.742a1 1 0 0 0 .449-.127l.254.615c-.205.312-.752.869-1.836.869-.908 0-1.465-.42-1.543-1.113h-.01zm-68.554 2.558c-.83-1.641-1.807-3.3-3.711-3.3a2.9 2.9 0 0 0-1.093.215l-.644-1.299a5.66 5.66 0 0 1 3.662-1.211c2.548 0 3.857 1.231 4.892 2.792q.917-2.012.908-5.38c0-5.585-1.748-8.417-5.829-8.417-4.033 0-5.76 2.87-5.76 8.417s1.738 8.397 5.76 8.397a5.9 5.9 0 0 0 1.748-.224zm.996 1.953a9.8 9.8 0 0 1-2.744.371C5.614 21.041.371 16.764.371 10.545.371 4.277 5.614 0 10.965 0c5.448 0 10.642 4.248 10.642 10.545a10.25 10.25 0 0 1-4.013 8.201c.732 1.152 1.563 1.914 2.665 1.914 1.201 0 1.689-.927 1.768-1.66h1.572c.088.966-.4 4.999-4.775 4.999-2.646 0-4.052-1.543-5.106-3.339z"})))},{name:"reddit",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M22 11.816a2.28 2.28 0 0 0-2.277-2.277c-.593 0-1.122.24-1.526.614-1.481-.965-3.455-1.594-5.647-1.69l1.171-3.702 3.18.748a1.88 1.88 0 0 0 1.876 1.862 1.88 1.88 0 0 0 1.877-1.878 1.88 1.88 0 0 0-1.877-1.877c-.769 0-1.431.466-1.72 1.13l-3.508-.826a.386.386 0 0 0-.46.261l-1.35 4.268c-2.316.038-4.411.67-5.97 1.671a2.24 2.24 0 0 0-1.492-.581A2.28 2.28 0 0 0 2 11.816c0 .814.433 1.523 1.078 1.925a4 4 0 0 0-.061.672c0 3.292 4.011 5.97 8.941 5.97s8.941-2.678 8.941-5.97q-.002-.32-.053-.632A2.26 2.26 0 0 0 22 11.816m-3.224-7.422a1.1 1.1 0 1 1-.001 2.199 1.1 1.1 0 0 1 .001-2.199M2.777 11.816c0-.827.672-1.5 1.499-1.5.313 0 .598.103.838.269-.851.676-1.477 1.479-1.812 2.36a1.48 1.48 0 0 1-.525-1.129m9.182 7.79c-4.501 0-8.164-2.329-8.164-5.193S7.457 9.22 11.959 9.22s8.164 2.329 8.164 5.193-3.663 5.193-8.164 5.193m8.677-6.605c-.326-.89-.948-1.701-1.797-2.384.248-.186.55-.301.883-.301.827 0 1.5.673 1.5 1.5.001.483-.23.911-.586 1.185m-11.64 1.703c-.76 0-1.397-.616-1.397-1.376s.637-1.397 1.397-1.397 1.376.637 1.376 1.397-.616 1.376-1.376 1.376m7.405-1.376c0 .76-.616 1.376-1.376 1.376s-1.399-.616-1.399-1.376.639-1.397 1.399-1.397 1.376.637 1.376 1.397m-1.172 3.38a.39.39 0 0 1 0 .55c-.674.674-1.727 1.002-3.219 1.002l-.011-.002-.011.002c-1.492 0-2.544-.328-3.218-1.002a.389.389 0 1 1 .55-.55c.521.521 1.394.775 2.669.775l.011.002.011-.002c1.275 0 2.148-.253 2.669-.775a.387.387 0 0 1 .549 0"})))},{name:"share",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M18 16c-.788 0-1.499.31-2.034.807L8.91 12.7c.05-.23.09-.46.09-.7s-.04-.47-.09-.7l7.05-4.11c.54.5 1.25.81 2.04.81 1.66 0 3-1.34 3-3s-1.34-3-3-3-3 1.34-3 3c0 .24.04.47.09.7L8.04 9.81C7.5 9.31 6.79 9 6 9c-1.66 0-3 1.34-3 3s1.34 3 3 3c.79 0 1.5-.31 2.04-.81l7.048 4.118A3 3 0 0 0 15 19a3 3 0 1 0 3-3"})))},{name:"skype",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"m10.113 2.699.1-.02q.05.025.098.051zM2.72 10.223l-.017.103q.025.048.051.095zm18.555 3.548q.009-.053.018-.106-.025-.047-.052-.095zm-7.712 7.428q.049.027.096.053l.105-.017zM22 16.386a5.55 5.55 0 0 1-1.637 3.953 5.55 5.55 0 0 1-3.953 1.637 5.6 5.6 0 0 1-2.75-.725l.105-.017-.202-.035q.049.027.096.053a9.5 9.5 0 0 1-1.654.147 9.4 9.4 0 0 1-3.676-.743 9.4 9.4 0 0 1-3.002-2.023 9.4 9.4 0 0 1-2.023-3.002 9.4 9.4 0 0 1-.743-3.676c0-.546.049-1.093.142-1.628q.025.048.051.095l-.034-.199-.017.103A5.6 5.6 0 0 1 2 7.615c0-1.493.582-2.898 1.637-3.953A5.56 5.56 0 0 1 7.59 2.024c.915 0 1.818.228 2.622.655l-.1.02.199.031q-.049-.026-.098-.051l.004-.001a9.5 9.5 0 0 1 1.788-.169 9.41 9.41 0 0 1 6.678 2.766 9.4 9.4 0 0 1 2.024 3.002 9.4 9.4 0 0 1 .743 3.676c0 .575-.054 1.15-.157 1.712q-.025-.047-.052-.095l.034.201q.009-.053.018-.106c.461.829.707 1.767.707 2.721m-5.183-2.248c0-1.331-.613-2.743-3.033-3.282l-2.209-.49c-.84-.192-1.807-.444-1.807-1.237s.679-1.348 1.903-1.348c2.468 0 2.243 1.696 3.468 1.696.645 0 1.209-.379 1.209-1.031 0-1.521-2.435-2.663-4.5-2.663-2.242 0-4.63.952-4.63 3.488 0 1.221.436 2.521 2.839 3.123l2.984.745c.903.223 1.129.731 1.129 1.189 0 .762-.758 1.507-2.129 1.507-2.679 0-2.307-2.062-3.743-2.062-.645 0-1.113.444-1.113 1.078 0 1.236 1.501 2.886 4.856 2.886 3.195 0 4.776-1.538 4.776-3.599"})))},{name:"sms",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M17.696 4C20.069 4 22 5.973 22 8.398v4.357c0 2.04-1.368 3.783-3.261 4.266v4.427l-5.234-4.295h-7.2C3.93 17.153 2 15.18 2 12.755V8.398C2 5.973 3.931 4 6.304 4zM7.028 8.515c-.98 0-1.66.562-1.66 1.349-.009.497.322.91.985 1.178l.39.142c.242.097.305.171.305.297 0 .162-.131.251-.442.251s-.76-.135-1.004-.284l-.112.046-.215.868c.359.258.832.364 1.33.364 1.104 0 1.764-.523 1.764-1.333-.008-.574-.305-.956-.954-1.216l-.393-.146c-.266-.108-.341-.181-.341-.287 0-.152.131-.243.387-.243.274 0 .587.093.808.214l.109-.047.214-.837c-.315-.224-.741-.316-1.171-.316m10.302 0c-.98 0-1.66.562-1.66 1.349-.008.497.322.91.985 1.178l.39.142c.243.097.305.171.305.297 0 .162-.13.251-.442.251-.311 0-.76-.135-1.004-.284l-.112.046-.215.868c.359.258.832.364 1.33.364 1.104 0 1.764-.523 1.764-1.333-.008-.574-.305-.956-.954-1.216l-.393-.146c-.266-.108-.341-.181-.341-.287 0-.152.131-.243.387-.243.274 0 .587.093.808.214l.109-.047.214-.837c-.316-.224-.741-.316-1.171-.316m-3.733 0c-.297 0-.55.066-.78.202l-.144.098a2 2 0 0 0-.264.247l-.078.095-.027-.077c-.15-.34-.55-.565-1.033-.565l-.169.007a1.36 1.36 0 0 0-.896.42l-.08.09-.038-.363-.075-.067H8.994l-.075.079.024.634c.005.2.008.397.008.604v2.652l.075.075h1.178l.075-.075v-2.269q-.002-.168.042-.274c.083-.23.262-.392.496-.392.314 0 .483.267.483.753v2.182l.075.075h1.179l.075-.075v-2.277c0-.097.016-.213.043-.285.077-.224.26-.373.486-.373.33 0 .5.272.5.817v2.118l.074.075h1.179l.075-.075v-2.293c0-1.131-.537-1.763-1.39-1.763Z"})))},{name:"snapchat",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M11.989 1.728c3.221.001 5.904 2.683 5.908 5.912q.002 1.133.067 2.094a.737.737 0 0 0 .902.669l1.009-.237a.6.6 0 0 1 .129-.015c.256 0 .492.175.55.434a.74.74 0 0 1-.479.861l-1.532.618a.823.823 0 0 0-.485.98c1.229 4.543 4.661 4.071 4.661 4.662 0 .743-2.587.848-2.821 1.082s-.01 1.368-.532 1.588a1.1 1.1 0 0 1-.409.056c-.393 0-.95-.077-1.536-.077-.509 0-1.04.058-1.507.273-1.239.572-2.433 1.641-3.914 1.641S9.325 21.2 8.086 20.628c-.467-.216-.998-.273-1.507-.273-.586 0-1.143.077-1.536.077-.17 0-.31-.014-.409-.056-.522-.22-.299-1.354-.532-1.588s-2.821-.337-2.821-1.08c0-.592 3.432-.119 4.661-4.662a.824.824 0 0 0-.486-.98l-1.532-.618a.74.74 0 0 1-.479-.861.56.56 0 0 1 .679-.419l1.009.237q.086.02.169.02a.737.737 0 0 0 .733-.689q.065-.961.067-2.094c.004-3.229 2.666-5.91 5.887-5.912m0-1.281c-.961 0-1.898.194-2.784.574A7.2 7.2 0 0 0 6.93 2.572a7.2 7.2 0 0 0-1.539 2.282A7.1 7.1 0 0 0 4.82 7.64a33 33 0 0 1-.029 1.369l-.375-.088a2 2 0 0 0-.421-.049 1.86 1.86 0 0 0-1.135.389 1.84 1.84 0 0 0-.666 1.049 2.024 2.024 0 0 0 1.271 2.335l1.124.454c-.744 2.285-2.117 2.723-3.041 3.018a5 5 0 0 0-.659.246C.087 16.76 0 17.436 0 17.708c0 .521.247.996.694 1.339.223.17.499.311.844.43.47.162 1.016.265 1.459.347.021.164.053.341.106.518.22.738.684 1.069 1.034 1.217.332.14.676.156.905.156.224 0 .462-.018.713-.036.269-.02.548-.041.823-.041.426 0 .743.051.97.155.311.144.64.337.989.542.972.571 2.073 1.217 3.462 1.217s2.49-.647 3.462-1.217c.349-.205.679-.399.989-.542.226-.105.544-.155.97-.155.275 0 .554.021.823.041.251.019.488.036.713.036.229 0 .573-.016.905-.156.35-.147.814-.478 1.034-1.217.053-.178.084-.354.106-.518.443-.082.989-.185 1.459-.347.345-.119.621-.259.844-.43.448-.342.694-.818.694-1.339 0-.272-.087-.948-.891-1.347a5 5 0 0 0-.659-.246c-.924-.295-2.297-.733-3.041-3.018l1.124-.454a2.025 2.025 0 0 0 1.271-2.335 1.83 1.83 0 0 0-.666-1.049 1.86 1.86 0 0 0-1.556-.34l-.375.088a33 33 0 0 1-.029-1.369 7.1 7.1 0 0 0-.575-2.789c-.365-.853-.886-1.62-1.547-2.282s-1.428-1.182-2.28-1.547a7.1 7.1 0 0 0-2.786-.574"})))},{name:"soundcloud",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M23.587 13.923a3.303 3.303 0 0 1-3.344 3.117h-8.037a.674.674 0 0 1-.667-.67V7.717a.74.74 0 0 1 .444-.705s.739-.512 2.296-.512a5.27 5.27 0 0 1 2.702.742 5.35 5.35 0 0 1 2.516 3.485 3.1 3.1 0 0 1 .852-.116 3.217 3.217 0 0 1 3.237 3.312m-13.05-5.659c.242 2.935.419 5.612 0 8.538a.261.261 0 0 1-.519 0c-.39-2.901-.221-5.628 0-8.538a.26.26 0 0 1 .398-.25.26.26 0 0 1 .12.25zm-1.627 8.541a.273.273 0 0 1-.541 0 32.7 32.7 0 0 1 0-7.533.274.274 0 0 1 .544 0 29.4 29.4 0 0 1-.003 7.533m-1.63-7.788c.264 2.69.384 5.099-.003 7.782a.262.262 0 0 1-.522 0c-.374-2.649-.249-5.127 0-7.782a.264.264 0 0 1 .525 0m-1.631 7.792a.268.268 0 0 1-.532 0 27.6 27.6 0 0 1 0-7.034.27.27 0 1 1 .541 0 25.8 25.8 0 0 1-.01 7.034zm-1.63-5.276c.412 1.824.227 3.435-.015 5.294a.255.255 0 0 1-.504 0c-.22-1.834-.402-3.482-.015-5.295a.268.268 0 0 1 .535 0m-1.626-.277c.378 1.869.254 3.451-.01 5.325-.031.277-.506.28-.531 0-.239-1.846-.352-3.476-.01-5.325a.277.277 0 0 1 .551 0m-1.643.907c.396 1.239.261 2.246-.016 3.517a.258.258 0 0 1-.514 0c-.239-1.246-.336-2.274-.021-3.517a.276.276 0 0 1 .55 0z"})))},{name:"spotify",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2m4.586 14.424a.62.62 0 0 1-.857.207c-2.348-1.435-5.304-1.76-8.785-.964a.622.622 0 1 1-.277-1.215c3.809-.871 7.077-.496 9.713 1.115a.623.623 0 0 1 .206.857M17.81 13.7a.78.78 0 0 1-1.072.257c-2.687-1.652-6.785-2.131-9.965-1.166A.779.779 0 1 1 6.32 11.3c3.632-1.102 8.147-.568 11.234 1.328a.78.78 0 0 1 .256 1.072m.105-2.835c-3.223-1.914-8.54-2.09-11.618-1.156a.935.935 0 1 1-.542-1.79c3.532-1.072 9.404-.865 13.115 1.338a.936.936 0 1 1-.955 1.608"})))},{name:"squarespace",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M20.87 9.271a3.86 3.86 0 0 0-5.458 0l-6.141 6.141a.964.964 0 1 0 1.365 1.364l6.14-6.14a1.929 1.929 0 1 1 2.729 2.729l-6.022 6.022a1.93 1.93 0 0 0 2.729 0l4.658-4.658a3.86 3.86 0 0 0 0-5.458m-2.047 2.047a.965.965 0 0 0-1.365 0l-6.14 6.14a1.93 1.93 0 0 1-2.729 0 .964.964 0 1 0-1.364 1.364 3.86 3.86 0 0 0 5.458 0l6.14-6.14a.966.966 0 0 0 0-1.364m-2.047-6.141a3.86 3.86 0 0 0-5.458 0l-6.14 6.14a.964.964 0 1 0 1.364 1.364l6.141-6.14a1.93 1.93 0 0 1 2.729 0 .965.965 0 1 0 1.364-1.364m-2.047 2.047a.964.964 0 0 0-1.364 0l-6.14 6.141a1.929 1.929 0 1 1-2.729-2.729l6.022-6.022a1.93 1.93 0 0 0-2.729 0L3.13 9.271a3.86 3.86 0 0 0 5.458 5.458l6.14-6.141a.963.963 0 0 0 .001-1.364"})))},{name:"stackexchange",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M4 11.606h16v3.272H4zM4 7.377h16v3.272H4zM17.514 3H6.55C5.147 3 4 4.169 4 5.614v.848h16v-.85C20 4.167 18.895 3 17.514 3M4 15.813v.85c0 1.445 1.147 2.614 2.55 2.614h6.799v3.463l3.357-3.463h.744c1.402 0 2.55-1.169 2.55-2.614v-.85z"})))},{name:"stackoverflow",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M18.18 20.103V14.78h1.767v7.09H4v-7.09h1.767v5.323z"}),React.createElement("path",{d:"m7.717 14.275 8.673 1.813.367-1.744-8.673-1.813zm1.147-4.13 8.031 3.74.734-1.606-8.031-3.763zm2.226-3.946 6.815 5.667 1.124-1.354-6.815-5.667zM15.495 2l-1.423 1.055 5.277 7.113 1.423-1.055zM7.533 18.314h8.857v-1.767H7.533z"})))},{name:"stumbleupon",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12 4.294a4.47 4.47 0 0 0-4.471 4.471v6.353a1.059 1.059 0 1 1-2.118 0v-2.824H2v2.941a4.471 4.471 0 0 0 8.942 0v-6.47a1.059 1.059 0 1 1 2.118 0v1.294l1.412.647 2-.647V8.765A4.473 4.473 0 0 0 12 4.294m1.059 8.059v2.882a4.471 4.471 0 0 0 8.941 0v-2.824h-3.412v2.824a1.059 1.059 0 1 1-2.118 0v-2.882l-2 .647z"})))},{name:"substack",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M19.904 9.182H4.095V7.054h15.81v2.127M4.095 11.109V21L12 16.583 19.905 21v-9.891zM19.905 3H4.095v2.127h15.81z"})))},{name:"telegram",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2m3.08 14.757s-.25.625-.936.325l-2.541-1.949-1.63 1.486s-.127.096-.266.036c0 0-.12-.011-.27-.486s-.911-2.972-.911-2.972L6 12.349s-.387-.137-.425-.438c-.037-.3.437-.462.437-.462l10.03-3.934s.824-.362.824.238z"})))},{name:"threads",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 192 192"},React.createElement("g",null,React.createElement("path",{d:"M141.537 88.988a67 67 0 0 0-2.518-1.143c-1.482-27.307-16.403-42.94-41.457-43.1h-.34c-14.986 0-27.449 6.396-35.12 18.036l13.779 9.452c5.73-8.695 14.724-10.548 21.348-10.548h.229c8.249.053 14.474 2.452 18.503 7.129 2.932 3.405 4.893 8.111 5.864 14.05-7.314-1.243-15.224-1.626-23.68-1.14-23.82 1.371-39.134 15.264-38.105 34.568.522 9.792 5.4 18.216 13.735 23.719 7.047 4.652 16.124 6.927 25.557 6.412 12.458-.683 22.231-5.436 29.049-14.127 5.178-6.6 8.453-15.153 9.899-25.93 5.937 3.583 10.337 8.298 12.767 13.966 4.132 9.635 4.373 25.468-8.546 38.376-11.319 11.308-24.925 16.2-45.488 16.351-22.809-.169-40.06-7.484-51.275-21.742C35.236 139.966 29.808 120.682 29.605 96c.203-24.682 5.63-43.966 16.133-57.317C56.954 24.425 74.204 17.11 97.013 16.94c22.975.17 40.526 7.52 52.171 21.847 5.71 7.026 10.015 15.86 12.853 26.162l16.147-4.308c-3.44-12.68-8.853-23.606-16.219-32.668C147.036 9.607 125.202.195 97.07 0h-.113C68.882.194 47.292 9.642 32.788 28.08 19.882 44.485 13.224 67.315 13.001 95.932L13 96v.067c.224 28.617 6.882 51.447 19.788 67.854C47.292 182.358 68.882 191.806 96.957 192h.113c24.96-.173 42.554-6.708 57.048-21.189 18.963-18.945 18.392-42.692 12.142-57.27-4.484-10.454-13.033-18.945-24.723-24.553M98.44 129.507c-10.44.588-21.286-4.098-21.82-14.135-.397-7.442 5.296-15.746 22.461-16.735q2.948-.17 5.79-.169c6.235 0 12.068.606 17.371 1.765-1.978 24.702-13.58 28.713-23.802 29.274"})))},{name:"tiktok-alt",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M5 3a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2zm7.531 3h2.053s-.114 2.635 2.85 2.82v2.04s-1.582.099-2.85-.87l.021 4.207a3.804 3.804 0 1 1-3.802-3.802h.533v2.082a1.73 1.73 0 0 0-1.922.648 1.727 1.727 0 0 0 1.947 2.646 1.73 1.73 0 0 0 1.19-1.642z"})))},{name:"tiktok",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12.22 2h3.42s-.19 4.394 4.75 4.702v3.396s-2.636.166-4.75-1.448l.037 7.012a6.338 6.338 0 1 1-6.34-6.339h.89v3.472a2.882 2.882 0 1 0 2.024 2.752z"})))},{name:"tripadvisor",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M21.01 9.859c.236-1.002.985-2.003.985-2.003l-3.341-.002C16.779 6.643 14.502 6 11.979 6 9.363 6 7 6.659 5.135 7.877L2 7.88s.74.988.98 1.983a4.98 4.98 0 0 0-.977 2.961 5.01 5.01 0 0 0 5.009 5.003 5 5 0 0 0 3.904-1.875l1.065 1.592 1.076-1.606a4.96 4.96 0 0 0 1.838 1.448 4.98 4.98 0 0 0 3.831.151 5.01 5.01 0 0 0 2.963-6.431 5 5 0 0 0-.679-1.247m-13.998 6.96a4 4 0 0 1-3.998-3.995 4 4 0 0 1 3.998-3.997 4 4 0 0 1 3.996 3.997 4 4 0 0 1-3.996 3.995m4.987-4.36A5.007 5.007 0 0 0 7.11 7.821c1.434-.613 3.081-.947 4.867-.947 1.798 0 3.421.324 4.853.966a4.984 4.984 0 0 0-4.831 4.619m6.288 4.134a3.97 3.97 0 0 1-3.058-.122 3.96 3.96 0 0 1-2.075-2.245v-.001a3.97 3.97 0 0 1 .118-3.056 3.97 3.97 0 0 1 2.246-2.077 4.005 4.005 0 0 1 5.135 2.366 4.006 4.006 0 0 1-2.366 5.135"}),React.createElement("path",{d:"M6.949 10.307a2.477 2.477 0 0 0-2.475 2.472 2.48 2.48 0 0 0 2.475 2.474 2.474 2.474 0 0 0 0-4.946m0 4.094a1.626 1.626 0 0 1-1.624-1.623 1.621 1.621 0 1 1 1.624 1.623M16.981 10.307a2.477 2.477 0 0 0-2.474 2.472 2.48 2.48 0 0 0 2.474 2.474 2.476 2.476 0 0 0 2.472-2.474 2.475 2.475 0 0 0-2.472-2.472m0 4.094a1.625 1.625 0 0 1-1.622-1.623 1.622 1.622 0 1 1 1.622 1.623"}),React.createElement("path",{d:"M7.778 12.778a.832.832 0 1 1-1.664.002.832.832 0 0 1 1.664-.002M16.981 11.947a.832.832 0 1 0 .002 1.666.832.832 0 0 0-.002-1.666"})))},{name:"tumblr-alt",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M16.749 17.396c-.357.17-1.041.319-1.551.332-1.539.041-1.837-1.081-1.85-1.896V9.847h3.861v-2.91h-3.847V2.039h-2.817c-.046 0-.127.041-.138.144-.165 1.499-.867 4.13-3.783 5.181v2.484h1.945v6.282c0 2.151 1.587 5.206 5.775 5.135 1.413-.024 2.982-.616 3.329-1.126z"})))},{name:"tumblr",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M19 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2m-5.569 14.265c-2.446.042-3.372-1.742-3.372-2.998v-3.668H8.923v-1.45c1.703-.614 2.113-2.15 2.209-3.025.007-.06.054-.084.081-.084h1.645V8.9h2.246v1.7H12.85v3.495c.008.476.182 1.131 1.081 1.107.298-.008.697-.094.906-.194l.54 1.601c-.205.296-1.121.641-1.946.656"})))},{name:"twitch",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M16.499 8.089h-1.636v4.91h1.636zm-4.499 0h-1.637v4.91H12zM4.228 3.178 3 6.451v13.092h4.499V22h2.456l2.454-2.456h3.681L21 14.636V3.178zm15.136 10.638L16.5 16.681H12l-2.453 2.453V16.68H5.863V4.814h13.501z"})))},{name:"twitter-alt",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M22.23 5.924a8.2 8.2 0 0 1-2.357.646 4.12 4.12 0 0 0 1.804-2.27 8.2 8.2 0 0 1-2.606.996 4.103 4.103 0 0 0-6.991 3.742 11.65 11.65 0 0 1-8.457-4.287 4.1 4.1 0 0 0-.556 2.063 4.1 4.1 0 0 0 1.825 3.415 4.1 4.1 0 0 1-1.859-.513v.052a4.104 4.104 0 0 0 3.292 4.023 4.1 4.1 0 0 1-1.853.07 4.11 4.11 0 0 0 3.833 2.85 8.24 8.24 0 0 1-5.096 1.756 8 8 0 0 1-.979-.057 11.6 11.6 0 0 0 6.29 1.843c7.547 0 11.675-6.252 11.675-11.675q0-.267-.012-.531a8.3 8.3 0 0 0 2.047-2.123"})))},{name:"twitter",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M19 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2m-2.534 6.71q.007.148.007.298c0 3.045-2.318 6.556-6.556 6.556a6.5 6.5 0 0 1-3.532-1.035q.27.032.55.032a4.63 4.63 0 0 0 2.862-.986 2.31 2.31 0 0 1-2.152-1.6 2.3 2.3 0 0 0 1.04-.04 2.306 2.306 0 0 1-1.848-2.259v-.029c.311.173.666.276 1.044.288a2.303 2.303 0 0 1-.713-3.076 6.54 6.54 0 0 0 4.749 2.407 2.305 2.305 0 0 1 3.926-2.101 4.6 4.6 0 0 0 1.463-.559 2.3 2.3 0 0 1-1.013 1.275c.466-.056.91-.18 1.323-.363-.31.461-.7.867-1.15 1.192"})))},{name:"untappd",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"m11 13.299-5.824 8.133c-.298.416-.8.635-1.308.572-.578-.072-1.374-.289-2.195-.879S.392 19.849.139 19.323a1.4 1.4 0 0 1 .122-1.425l5.824-8.133a3.1 3.1 0 0 1 1.062-.927l1.146-.604c.23-.121.436-.283.608-.478.556-.631 2.049-2.284 4.696-4.957l.046-.212a.13.13 0 0 1 .096-.1l.146-.037a.135.135 0 0 0 .101-.141l-.015-.18a.13.13 0 0 1 .125-.142c.176-.005.518.046 1.001.393s.64.656.692.824a.13.13 0 0 1-.095.164l-.175.044a.13.13 0 0 0-.101.141l.012.15a.13.13 0 0 1-.063.123l-.186.112c-1.679 3.369-2.764 5.316-3.183 6.046a2.2 2.2 0 0 0-.257.73l-.205 1.281A3.1 3.1 0 0 1 11 13.3zm12.739 4.598-5.824-8.133a3.1 3.1 0 0 0-1.062-.927l-1.146-.605a2.1 2.1 0 0 1-.608-.478 51 51 0 0 0-.587-.654.09.09 0 0 0-.142.018 97 97 0 0 1-1.745 3.223 1.4 1.4 0 0 0-.171.485 3.5 3.5 0 0 0 0 1.103l.01.064c.075.471.259.918.536 1.305l5.824 8.133c.296.413.79.635 1.294.574a4.76 4.76 0 0 0 2.209-.881 4.76 4.76 0 0 0 1.533-1.802 1.4 1.4 0 0 0-.122-1.425zM8.306 3.366l.175.044a.134.134 0 0 1 .101.141l-.012.15a.13.13 0 0 0 .063.123l.186.112q.465.933.869 1.721c.026.051.091.06.129.019q.655-.703 1.585-1.668a.137.137 0 0 0 .003-.19c-.315-.322-.645-.659-1.002-1.02l-.046-.212a.13.13 0 0 0-.096-.099l-.146-.037a.135.135 0 0 1-.101-.141l.015-.18a.13.13 0 0 0-.123-.142c-.175-.005-.518.045-1.002.393-.483.347-.64.656-.692.824a.13.13 0 0 0 .095.164z"})))},{name:"vimeo",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M22.396 7.164q-.139 3.039-4.245 8.32Q13.907 21 10.97 21q-1.82 0-3.079-3.359l-1.68-6.159q-.934-3.36-2.005-3.36-.234.001-1.634.98l-.978-1.261q1.541-1.353 3.037-2.708 2.056-1.774 3.084-1.869 2.429-.234 2.99 3.321.607 3.836.841 4.769.7 3.181 1.542 3.181.653 0 1.963-2.065 1.307-2.063 1.401-3.142.187-1.781-1.401-1.782-.747.001-1.541.341 1.534-5.024 5.862-4.884 3.21.095 3.024 4.161"})))},{name:"vk",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{fillRule:"evenodd",d:"M1.687 1.687C0 3.374 0 6.09 0 11.52v.96c0 5.431 0 8.146 1.687 9.833S6.09 24 11.52 24h.96c5.431 0 8.146 0 9.833-1.687S24 17.91 24 12.48v-.96c0-5.431 0-8.146-1.687-9.833S17.91 0 12.48 0h-.96C6.09 0 3.374 0 1.687 1.687M4.05 7.3c.13 6.24 3.25 9.99 8.72 9.99h.31v-3.57c2.01.2 3.53 1.67 4.14 3.57h2.84c-.78-2.84-2.83-4.41-4.11-5.01 1.28-.74 3.08-2.54 3.51-4.98h-2.58c-.56 1.98-2.22 3.78-3.8 3.95V7.3H10.5v6.92c-1.6-.4-3.62-2.34-3.71-6.92z"})))},{name:"whatsapp",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"m2.048 22 1.406-5.136a9.9 9.9 0 0 1-1.323-4.955C2.133 6.446 6.579 2 12.042 2a9.85 9.85 0 0 1 7.011 2.906 9.85 9.85 0 0 1 2.9 7.011c-.002 5.464-4.448 9.91-9.91 9.91h-.004a9.9 9.9 0 0 1-4.736-1.206zm5.497-3.172.301.179a8.2 8.2 0 0 0 4.193 1.148h.003c4.54 0 8.235-3.695 8.237-8.237a8.2 8.2 0 0 0-2.41-5.828 8.18 8.18 0 0 0-5.824-2.416c-4.544 0-8.239 3.695-8.241 8.237a8.2 8.2 0 0 0 1.259 4.384l.196.312-.832 3.04zm9.49-4.554c-.062-.103-.227-.165-.475-.289s-1.465-.723-1.692-.806-.392-.124-.557.124-.64.806-.784.971-.289.186-.536.062-1.046-.385-1.991-1.229c-.736-.657-1.233-1.468-1.378-1.715s-.015-.382.109-.505c.111-.111.248-.289.371-.434.124-.145.165-.248.248-.413s.041-.31-.021-.434-.557-1.343-.763-1.839c-.202-.483-.407-.417-.559-.425-.144-.007-.31-.009-.475-.009a.9.9 0 0 0-.66.31c-.226.248-.866.847-.866 2.066s.887 2.396 1.011 2.562 1.746 2.666 4.23 3.739c.591.255 1.052.408 1.412.522.593.189 1.133.162 1.56.098.476-.071 1.465-.599 1.671-1.177.206-.58.206-1.075.145-1.179"})))},{name:"woocommerce",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M19 2H5C3.3 2 2 3.3 2 5v11c0 1.7 1.3 3 3 3h4l6 3-1-3h5c1.7 0 3-1.3 3-3V5c0-1.7-1.3-3-3-3m-1.6 4.5c-.4.8-.8 2.1-1 3.9-.3 1.8-.4 3.1-.3 4.1 0 .3 0 .5-.1.7s-.3.4-.6.4-.6-.1-.9-.4c-1-1-1.8-2.6-2.4-4.6-.7 1.4-1.2 2.4-1.6 3.1-.6 1.2-1.2 1.8-1.6 1.9-.3 0-.5-.2-.8-.7-.5-1.4-1.1-4.2-1.7-8.2 0-.3 0-.5.2-.7.1-.2.4-.3.7-.4.5 0 .9.2.9.8.3 2.3.7 4.2 1.1 5.7l2.4-4.5c.2-.4.4-.6.8-.6q.75 0 .9.9c.3 1.4.6 2.6 1 3.7.3-2.7.8-4.7 1.4-5.9.2-.3.4-.5.7-.5.2 0 .5.1.7.2q.3.3.3.6c0 .3 0 .4-.1.5"})))},{name:"wordpress",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12.158 12.786 9.46 20.625a9 9 0 0 0 5.526-.144 1 1 0 0 1-.065-.124zM3.009 12a8.99 8.99 0 0 0 5.067 8.092L3.788 8.341A8.95 8.95 0 0 0 3.009 12m15.06-.454c0-1.112-.399-1.881-.741-2.48-.456-.741-.883-1.368-.883-2.109 0-.826.627-1.596 1.51-1.596q.06.002.116.007A8.96 8.96 0 0 0 12 3.009a8.98 8.98 0 0 0-7.512 4.052c.211.007.41.011.579.011.94 0 2.396-.114 2.396-.114.484-.028.541.684.057.741 0 0-.487.057-1.029.085l3.274 9.739 1.968-5.901-1.401-3.838c-.484-.028-.943-.085-.943-.085-.485-.029-.428-.769.057-.741 0 0 1.484.114 2.368.114.94 0 2.397-.114 2.397-.114.485-.028.542.684.057.741 0 0-.488.057-1.029.085l3.249 9.665.897-2.996q.684-1.753.684-2.907m1.82-3.86q.06.428.06.924c0 .912-.171 1.938-.684 3.22l-2.746 7.94a8.98 8.98 0 0 0 4.47-7.771 8.9 8.9 0 0 0-1.1-4.313M12 22C6.486 22 2 17.514 2 12S6.486 2 12 2s10 4.486 10 10-4.486 10-10 10"})))},{name:"x",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M13.982 10.622 20.54 3h-1.554l-5.693 6.618L8.745 3H3.5l6.876 10.007L3.5 21h1.554l6.012-6.989L15.868 21h5.245zm-2.128 2.474-.697-.997-5.543-7.93H8l4.474 6.4.697.996 5.815 8.318h-2.387z"})))},{name:"xanga",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M9 9h6v6H9zM3 9h6V3H3zm12 0h6V3h-6zm0 12h6v-6h-6zM3 21h6v-6H3z"})))},{name:"youtube",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M21.8 8.001s-.195-1.378-.795-1.985c-.76-.797-1.613-.801-2.004-.847-2.799-.202-6.997-.202-6.997-.202h-.009s-4.198 0-6.997.202c-.39.047-1.242.051-2.003.847-.6.607-.795 1.985-.795 1.985S2 9.62 2 11.238v1.517c0 1.618.2 3.237.2 3.237s.195 1.378.795 1.985c.761.797 1.76.771 2.205.855 1.6.153 6.8.201 6.8.201s4.203-.006 7.001-.209c.391-.047 1.243-.051 2.004-.847.6-.607.795-1.985.795-1.985s.2-1.618.2-3.237v-1.517c0-1.618-.2-3.237-.2-3.237M9.935 14.594l-.001-5.62 5.404 2.82z"})))}]},58992:(e,t,n)=>{"use strict";n.d(t,{d:()=>u});var a=n(96072),r=n.n(a),s=n(28120),o=n.n(s),i=n(51609),l=n.n(i),c=n(91135);class u extends i.PureComponent{static defaultProps={size:24};static propTypes={icon:o().string.isRequired,size:o().number,onClick:o().func,className:o().string};render(){const{size:e,onClick:t,icon:n,className:a,...s}=this.props,o=["social-logo","social-logo-"+n,a].filter(Boolean).join(" "),i=c.$.find((e=>e.name===n));if(!i)return l().createElement("svg",r()({height:e,width:e},s));return l().cloneElement(i.svg,{className:o,height:e,width:e,onClick:t,...s})}}},52068:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>w});var a=n(82170),r=n(96865),s=n(56427),o=n(47143),i=n(27723),l=n(90254),c=n(69457),u=n(88669),d=n(41417),p=n(57003),m=(n(51609),n(95396)),h=n(64425),g=n(47264),f=n(2162),v=n(62402);const __=i.__,b="simplify",k="make-longer",y="make-shorter",E={default:[{name:__("Correct spelling and grammar","jetpack"),key:"correct-spelling",aiSuggestion:h.yy,icon:l.A}],"core/paragraph":[{name:__("Simplify","jetpack"),key:b,aiSuggestion:h.A4,icon:c.A},{name:__("Summarize","jetpack"),key:"summarize",aiSuggestion:h.UA,icon:u.A},{name:__("Expand","jetpack"),key:k,aiSuggestion:h.br,icon:d.A},{name:__("Make shorter","jetpack"),key:y,aiSuggestion:h.fD,icon:d.A}],"core/list-item":[{name:__("Simplify","jetpack"),key:b,aiSuggestion:h.A4,icon:c.A},{name:__("Expand","jetpack"),key:k,aiSuggestion:h.br,icon:d.A},{name:__("Make shorter","jetpack"),key:y,aiSuggestion:h.fD,icon:d.A}],"core/list":m.L.includes("core/list")?[{name:__("Simplify","jetpack"),key:b,aiSuggestion:h.A4,icon:c.A},{name:__("Expand","jetpack"),key:k,aiSuggestion:h.br,icon:d.A},{name:__("Make shorter","jetpack"),key:y,aiSuggestion:h.fD,icon:d.A},{name:__("Turn list into a table","jetpack"),key:"turn-into-table",aiSuggestion:h.d5,icon:p.A,options:{alwaysTransformToAIAssistant:!0,rootParentOnly:!0}}]:[{name:__("Write a post from this list","jetpack"),key:"write-post-from-list",aiSuggestion:h.pE,icon:c.A,options:{userPrompt:"Write a post based on the list items. Include a title as first order heading and try to use secondary headings for each entry"}}]};function w({blockType:e,clientId:t,disabled:n=!1,onAskAiAssistant:i,onRequestSuggestion:l}){const c=E[e]??[],{getBlockParents:u}=(0,o.select)("core/block-editor"),d=u(t);return(0,a.createElement)(a.Fragment,null,n&&(0,a.createElement)(s.Notice,{status:"warning",isDismissible:!1,className:"jetpack-ai-assistant__info"},__("Add content to activate the tools below","jetpack")),(0,a.createElement)(s.MenuGroup,null,(0,a.createElement)(s.MenuItem,{icon:r.cj,iconPosition:"left",key:"key-ai-assistant",onClick:i,disabled:n},(0,a.createElement)("div",{className:"jetpack-ai-assistant__menu-item"},__("Ask AI Assistant","jetpack"))),[...E.default,...c].filter((e=>!(e.options?.rootParentOnly&&d.length>0))).map((e=>(0,a.createElement)(s.MenuItem,{icon:e?.icon,iconPosition:"left",key:`key-${e.key}`,onClick:()=>{l(e.aiSuggestion,{...e.options??{}},e.name)},disabled:n},(0,a.createElement)("div",{className:"jetpack-ai-assistant__menu-item"},e.name)))),(0,a.createElement)(v.hN,{onChange:e=>{l(h.eJ,{tone:e},`${v.uQ}: ${(0,g.Z)(e)}`)},disabled:n}),(0,a.createElement)(f.HU,{onChange:(e,t)=>{l(h.Gm,{language:e},`${f.u0}: ${t}`)},disabled:n})))}},32249:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var a=n(82170),r=n(3924),s=n(56427),o=n(27723);const __=o.__;const i=function(){const e=(0,r.A)("jetpack-ai-feedback");return(0,a.createElement)("div",{className:"jetpack-ai-feedback-control"},(0,a.createElement)(s.BaseControl,null,(0,a.createElement)(s.BaseControl.VisualLabel,null,__("Feedback","jetpack")),(0,a.createElement)("p",null,__("Your feedback is valuable in our commitment to refine and improve this feature.","jetpack")),(0,a.createElement)(s.ExternalLink,{href:e},__("Share your feedback","jetpack"))))}},2162:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>f,HU:()=>v,so:()=>h,u0:()=>p});var a=n(82170),r=n(85985),s=n(56427),o=n(27723),i=n(51113),l=n(29115),c=n(84066);n(51609);const __=o.__,u=["en","es","fr","de","it","pt","ru","zh","ja","ar","hi","ko"],d=window?.Jetpack_Editor_Initial_State?.siteLocale||navigator?.language,p=__("Translate","jetpack"),m=d?.split("-")[0]||"en",h=(d?.split("-"),{en:{label:__("English","jetpack")},es:{label:__("Spanish","jetpack")},fr:{label:__("French","jetpack")},de:{label:__("German","jetpack")},it:{label:__("Italian","jetpack")},pt:{label:__("Portuguese","jetpack")},ru:{label:__("Russian","jetpack")},zh:{label:__("Chinese","jetpack")},ja:{label:__("Japanese","jetpack")},ar:{label:__("Arabic","jetpack")},hi:{label:__("Hindi","jetpack")},ko:{label:__("Korean","jetpack")}}),g=({value:e,onChange:t})=>{const n=[...u.filter((e=>e!==m))];return u.includes(m)&&n.unshift(m),(0,a.createElement)(s.MenuGroup,{label:__("Select language","jetpack")},n.map((n=>(0,a.createElement)(s.MenuItem,{key:`key-${n}`,onClick:()=>t(n+" ("+h[n].label+")",h[n].label),isSelected:e===n},h[n].label))))};function f({value:e=m,label:t=p,onChange:n,disabled:o=!1}){const{tracks:l}=(0,r.st)();return o?(0,a.createElement)(s.Tooltip,{text:t},(0,a.createElement)(s.Button,{disabled:!0},(0,a.createElement)(i.A,{icon:c.A}))):(0,a.createElement)(s.ToolbarDropdownMenu,{icon:c.A,label:t,popoverProps:{variant:"toolbar"},onToggle:e=>{e&&l.recordEvent("jetpack_ai_assistant_block_toolbar_menu_show",{tool:"i18n"})}},(()=>(0,a.createElement)(g,{value:e,onChange:n})))}function v({value:e=m,label:t=p,onChange:n,disabled:r=!1}){return(0,a.createElement)(s.DropdownMenu,{className:"ai-assistant__i18n-dropdown",icon:c.A,label:t,toggleProps:{children:(0,a.createElement)(a.Fragment,null,(0,a.createElement)("div",{className:"ai-assistant__i18n-dropdown__toggle-label"},t),(0,a.createElement)(i.A,{icon:l.A})),disabled:r}},(({onClose:t})=>(0,a.createElement)(g,{onChange:(...e)=>{n(...e),t()},value:e})))}},99050:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>c});var a=n(82170),r=n(85985),s=n(56427),o=n(27723),i=n(78938);const __=o.__,l=[{name:__("Summarize","jetpack"),key:"summarize",aiSuggestion:"summarize"},{name:__("Make longer","jetpack"),key:"make-longer",aiSuggestion:"makeLonger"},{name:__("Make shorter","jetpack"),key:"make-shorter",aiSuggestion:"makeShorter"}];function c({key:e,label:t=__("Improve","jetpack"),exclude:n=[],onChange:o,disabled:c=!1}){const{tracks:u}=(0,r.st)();return c?(0,a.createElement)(s.Tooltip,{text:t},(0,a.createElement)(s.Button,{disabled:!0},(0,a.createElement)(s.Icon,{icon:i.A}))):(0,a.createElement)(s.ToolbarDropdownMenu,{icon:i.A,label:t,popoverProps:{variant:"toolbar"},onToggle:e=>{e&&u.recordEvent("jetpack_ai_assistant_block_toolbar_menu_show",{tool:"improve"})}},(()=>{const r=l.filter((e=>!n.includes(e.key)));return(0,a.createElement)(s.MenuGroup,{label:t},r.map((t=>(0,a.createElement)(s.MenuItem,{key:`key-${t.key}`,onClick:()=>o(t.aiSuggestion,{contentType:"generated"}),isSelected:e===t.key},t.name))))}))}},33468:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>g});var a=n(82170),r=n(85985),s=n(56427),o=n(27723),i=n(78938),l=n(41417),c=n(90254),u=n(69457),d=n(88669),p=n(11269);const __=o.__,m=[{label:__("Post about…","jetpack"),description:{original:"Write a post about ",translated:__("Write a post about","jetpack")+" "}},{label:__("Informative article on…","jetpack"),description:{original:"Craft an informative article explaining ",translated:__("Craft an informative article explaining","jetpack")+" "}},{label:__("Step-by-step tutorial on…","jetpack"),description:{original:"Write a step-by-step tutorial on ",translated:__("Write a step-by-step tutorial on","jetpack")+" "}},{label:__("Motivational post on…","jetpack"),description:{original:"Create a motivational post on ",translated:__("Create a motivational post on","jetpack")+" "}}],h=[{label:__("Say it differently…","jetpack"),description:{original:"Rewrite it in a way that ",translated:__("Rewrite it in a way that","jetpack")+" "}},{label:__("Add…","jetpack"),description:{original:"Add more details about ",translated:__("Add more details about","jetpack")+" "}},{label:__("Remove…","jetpack"),description:{original:"Remove unnecessary details about ",translated:__("Remove unnecessary details about","jetpack")+" "}}];function g({hasContentBefore:e,hasContent:t,hasPostTitle:n,contentIsLoaded:o,onPromptSelect:g,onSuggestionSelect:f}){const v=__("Write with AI…","jetpack"),{tracks:b}=(0,r.st)();return(0,a.createElement)(s.ToolbarDropdownMenu,{className:"jetpack-ai-assistant__templates-control",icon:null,label:v,text:v,onToggle:e=>{e&&b.recordEvent("jetpack_ai_assistant_block_toolbar_menu_show",{tool:"write-with-ai"})}},(({onClose:r})=>o?(0,a.createElement)(s.MenuGroup,{label:__("Write…","jetpack")},h.map(((e,t)=>(0,a.createElement)(s.MenuItem,{icon:i.A,iconPosition:"left",key:`key-${t}`,onClick:()=>{r(),g(e.description)}},e.label)))):(0,a.createElement)(a.Fragment,null,e&&(0,a.createElement)(s.MenuGroup,{label:__("Based on preceding content…","jetpack")},(0,a.createElement)(s.MenuItem,{icon:l.A,iconPosition:"left",onClick:()=>f("continue")},__("Continue writing","jetpack")),(0,a.createElement)(s.MenuItem,{icon:c.A,iconPosition:"left",onClick:()=>f("correctSpelling")},__("Correct spelling and grammar","jetpack")),(0,a.createElement)(s.MenuItem,{icon:u.A,iconPosition:"left",onClick:()=>f("simplify")},__("Simplify","jetpack"))),t&&(0,a.createElement)(s.MenuGroup,{label:__("Based on entire content…","jetpack")},t&&(0,a.createElement)(s.MenuItem,{icon:d.A,iconPosition:"left",onClick:()=>f("summarize")},__("Summarize","jetpack")),t&&(0,a.createElement)(s.MenuItem,{icon:p.A,iconPosition:"left",onClick:()=>f("generateTitle")},__("Generate a post title","jetpack"))),(0,a.createElement)(s.MenuGroup,{label:__("Write…","jetpack")},n&&(0,a.createElement)(s.MenuItem,{icon:i.A,iconPosition:"left",onClick:()=>f("titleSummary")},__("Summary based on title","jetpack")),m.map(((e,t)=>(0,a.createElement)(s.MenuItem,{icon:i.A,iconPosition:"left",key:`key-${t}`,onClick:()=>{r(),g(e.description)}},e.label)))))))}},23e3:(e,t,n)=>{"use strict";n.d(t,{A:()=>b,Q:()=>v});var a=n(82170),r=n(3924),s=n(85985),o=n(56427),i=n(86087),l=n(27723),c=n(10067),u=n.n(c),d=n(56333),p=n(92169),m=n(61297),h=n(7503),g=n(93094);const __=l.__,f=u()("jetpack-ai-assistant:upgrade-prompt"),v=({variant:e="error"})=>{const t=(()=>{const{usagePeriod:e}=(0,m.A)(),t=(e=>{const t=__("You've reached this month's request limit, per our fair usage policy.","jetpack");if(!e)return t; // Translators: %s is the date when the requests will reset. const n=__("Requests will reset on %s.","jetpack");return`${t} ${(0,l.sprintf)(n,e)}`})((e=>{if(!e?.nextStart)return null;const t=new Date(e.nextStart);return t.toLocaleString("default",{month:"long"})+" "+t.getDate()})(e));return(0,i.createInterpolateElement)(t,{link:(0,a.createElement)("a",{href:"https://jetpack.com/redirect/?source=ai-assistant-fair-usage-policy",target:"_blank",rel:"noreferrer"})})})();return"muted"===e?(0,a.createElement)("span",{className:"jetpack-ai-fair-usage-notice-muted-variant"},t):"error"===e?(0,a.createElement)(o.Notice,{status:"error",isDismissible:!1,className:"jetpack-ai-fair-usage-notice"},t):null},b=e=>{const{upgradeType:t,currentTier:n}=(0,m.A)();return 1===n?.value?(0,a.createElement)(v,null):"vip"===t?(({description:e=null,useLightNudge:t=!1})=>{const n=t?g.U:d.c,r=(0,i.createInterpolateElement)(__("You've reached the Jetpack AI rate limit. Please reach out to your VIP account team.","jetpack"),{strong:(0,a.createElement)("strong",null)});return(0,a.createElement)(n,{buttonText:null,checkoutUrl:null,className:"jetpack-ai-upgrade-banner",description:e||r,goToCheckoutPage:null,isRedirecting:null,visible:!0,align:null,title:null,context:null})})({description:e.description,useLightNudge:e?.useLightNudge}):(({placement:e=null,description:t=null,useLightNudge:n=!1})=>{const o=n?g.U:d.c,{checkoutUrl:c}=(0,p.A)(),u=(0,h.C)(),{nextTier:v,tierPlansEnabled:b,currentTier:k,requestsCount:y}=(0,m.A)(),{tracks:E}=(0,s.st)(),w=(0,i.useCallback)((()=>{f("upgrade",e),E.recordEvent("jetpack_ai_upgrade_button",{current_tier_slug:k?.slug,requests_count:y,placement:e})}),[k,y,E,e]),_=(0,i.useCallback)((()=>{f("contact us",e),E.recordEvent("jetpack_ai_upgrade_contact_us",{placement:e})}),[E,e]);if(!u){const e=(0,i.createInterpolateElement)(__("Congratulations on exploring Jetpack AI and reaching the free requests limit! Reach out to the site administrator to upgrade and keep using Jetpack AI.","jetpack"),{strong:(0,a.createElement)("strong",null)});return(0,a.createElement)(o,{showButton:!1,className:"jetpack-ai-upgrade-banner",description:t||e,visible:!0,align:null,title:null,context:null})}if(b){if(!v){const e=(0,r.A)("jetpack-ai-tiers-more-requests-contact"),n=__("You have reached the request limit for your current plan.","jetpack");return(0,a.createElement)(o,{buttonText:__("Contact Us","jetpack"),description:t||n,className:"jetpack-ai-upgrade-banner",checkoutUrl:e,visible:!0,align:null,title:null,context:null,goToCheckoutPage:_,target:"_blank"})}const e=(0,i.createInterpolateElement)((0,l.sprintf)(/* Translators: number of requests */ __("You have reached the requests limit for your current plan. Upgrade now to increase your requests limit to %d.","jetpack"),v.limit),{strong:(0,a.createElement)("strong",null)});return(0,a.createElement)(o,{buttonText:(0,l.sprintf)(/* Translators: number of requests */ diff --git a/_inc/blocks/story/view.asset.php b/_inc/blocks/story/view.asset.php index 85ae1294f2..59e99059eb 100644 --- a/_inc/blocks/story/view.asset.php +++ b/_inc/blocks/story/view.asset.php @@ -1 +1 @@ - array('jetpack-connection', 'lodash', 'react', 'react-dom', 'wp-api-fetch', 'wp-blob', 'wp-compose', 'wp-data', 'wp-dom-ready', 'wp-element', 'wp-escape-html', 'wp-i18n', 'wp-keycodes', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-url'), 'version' => 'e7d9a2f60a4a9db77e9f'); + array('jetpack-connection', 'lodash', 'react', 'react-dom', 'wp-api-fetch', 'wp-blob', 'wp-compose', 'wp-data', 'wp-dom-ready', 'wp-element', 'wp-escape-html', 'wp-i18n', 'wp-keycodes', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-url'), 'version' => '068c6ce2d77062781319'); diff --git a/_inc/blocks/story/view.js b/_inc/blocks/story/view.js index 5b8770b0d9..91589ec8d4 100644 --- a/_inc/blocks/story/view.js +++ b/_inc/blocks/story/view.js @@ -1,4 +1,4 @@ /*! For license information please see view.js.LICENSE.txt */ -(()=>{var e={95723:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(84265);let s,o,i,a;const l=/<(\/)?(\w+)\s*(\/)?>/g;function c(e,t,n,r,s){return{element:e,tokenStart:t,tokenLength:n,prevOffset:r,leadingTextStart:s,children:[]}}const u=e=>{const t="object"==typeof e,n=t&&Object.values(e);return t&&n.length&&n.every((e=>(0,r.isValidElement)(e)))};function d(e){const t=function(){const e=l.exec(s);if(null===e)return["no-more-tokens"];const t=e.index,[n,r,o,i]=e,a=n.length;if(i)return["self-closed",o,t,a];if(r)return["closer",o,t,a];return["opener",o,t,a]}(),[n,u,d,m]=t,g=a.length,y=d>o?o:null;if(!e[u])return p(),!1;switch(n){case"no-more-tokens":if(0!==g){const{leadingTextStart:e,tokenStart:t}=a.pop();i.push(s.substr(e,t))}return p(),!1;case"self-closed":return 0===g?(null!==y&&i.push(s.substr(y,d-y)),i.push(e[u]),o=d+m,!0):(f(c(e[u],d,m)),o=d+m,!0);case"opener":return a.push(c(e[u],d,m,d+m,y)),o=d+m,!0;case"closer":if(1===g)return function(e){const{element:t,leadingTextStart:n,prevOffset:o,tokenStart:l,children:c}=a.pop(),u=e?s.substr(o,e-o):s.substr(o);u&&c.push(u);null!==n&&i.push(s.substr(n,l-n));i.push((0,r.cloneElement)(t,null,...c))}(d),o=d+m,!0;const t=a.pop(),n=s.substr(t.prevOffset,d-t.prevOffset);t.children.push(n),t.prevOffset=d+m;const l=c(t.element,t.tokenStart,t.tokenLength,d+m);return l.children=t.children,f(l),o=d+m,!0;default:return p(),!1}}function p(){const e=s.length-o;0!==e&&i.push(s.substr(o,e))}function f(e){const{element:t,tokenStart:n,tokenLength:o,prevOffset:i,children:l}=e,c=a[a.length-1],u=s.substr(c.prevOffset,n-c.prevOffset);u&&c.children.push(u),c.children.push((0,r.cloneElement)(t,null,...l)),c.prevOffset=i||n+o}t.default=(e,t)=>{if(s=e,o=0,i=[],a=[],l.lastIndex=0,!u(t))throw new TypeError("The conversionMap provided is not valid. It must be an object with values that are React Elements");do{}while(d(t));return(0,r.createElement)(r.Fragment,null,...i)}},82170:(e,t,n)=>{"use strict";var r=n(98504);Object.defineProperty(t,"__esModule",{value:!0});var s={createInterpolateElement:!0,Platform:!0,renderToString:!0,RawHTML:!0};Object.defineProperty(t,"Platform",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(t,"RawHTML",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(t,"createInterpolateElement",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"renderToString",{enumerable:!0,get:function(){return u.default}});var o=r(n(95723)),i=n(84265);Object.keys(i).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(s,e)||e in t&&t[e]===i[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}}))}));var a=n(81649);Object.keys(a).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(s,e)||e in t&&t[e]===a[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return a[e]}}))}));var l=n(98219);Object.keys(l).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(s,e)||e in t&&t[e]===l[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return l[e]}}))}));var c=r(n(52595)),u=r(n(54852)),d=r(n(94468))},52595:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={OS:"web",select:e=>"web"in e?e.web:e.default,isWeb:!0}},94468:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function({children:e,...t}){let n="";return r.Children.toArray(e).forEach((e=>{"string"==typeof e&&""!==e.trim()&&(n+=e)})),(0,r.createElement)("div",{dangerouslySetInnerHTML:{__html:n},...t})};var r=n(84265)},81649:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"createPortal",{enumerable:!0,get:function(){return r.createPortal}}),Object.defineProperty(t,"createRoot",{enumerable:!0,get:function(){return s.createRoot}}),Object.defineProperty(t,"findDOMNode",{enumerable:!0,get:function(){return r.findDOMNode}}),Object.defineProperty(t,"flushSync",{enumerable:!0,get:function(){return r.flushSync}}),Object.defineProperty(t,"hydrate",{enumerable:!0,get:function(){return r.hydrate}}),Object.defineProperty(t,"hydrateRoot",{enumerable:!0,get:function(){return s.hydrateRoot}}),Object.defineProperty(t,"render",{enumerable:!0,get:function(){return r.render}}),Object.defineProperty(t,"unmountComponentAtNode",{enumerable:!0,get:function(){return r.unmountComponentAtNode}});var r=n(75795),s=n(18950)},84265:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Children",{enumerable:!0,get:function(){return r.Children}}),Object.defineProperty(t,"Component",{enumerable:!0,get:function(){return r.Component}}),Object.defineProperty(t,"Fragment",{enumerable:!0,get:function(){return r.Fragment}}),Object.defineProperty(t,"PureComponent",{enumerable:!0,get:function(){return r.PureComponent}}),Object.defineProperty(t,"StrictMode",{enumerable:!0,get:function(){return r.StrictMode}}),Object.defineProperty(t,"Suspense",{enumerable:!0,get:function(){return r.Suspense}}),Object.defineProperty(t,"cloneElement",{enumerable:!0,get:function(){return r.cloneElement}}),t.concatChildren=function(...e){return e.reduce(((e,t,n)=>(r.Children.forEach(t,((t,s)=>{t&&"string"!=typeof t&&(t=(0,r.cloneElement)(t,{key:[n,s].join()})),e.push(t)})),e)),[])},Object.defineProperty(t,"createContext",{enumerable:!0,get:function(){return r.createContext}}),Object.defineProperty(t,"createElement",{enumerable:!0,get:function(){return r.createElement}}),Object.defineProperty(t,"createRef",{enumerable:!0,get:function(){return r.createRef}}),Object.defineProperty(t,"forwardRef",{enumerable:!0,get:function(){return r.forwardRef}}),Object.defineProperty(t,"isValidElement",{enumerable:!0,get:function(){return r.isValidElement}}),Object.defineProperty(t,"lazy",{enumerable:!0,get:function(){return r.lazy}}),Object.defineProperty(t,"memo",{enumerable:!0,get:function(){return r.memo}}),Object.defineProperty(t,"startTransition",{enumerable:!0,get:function(){return r.startTransition}}),t.switchChildrenNodeName=function(e,t){return e&&r.Children.map(e,((e,n)=>{if("string"==typeof e?.valueOf())return(0,r.createElement)(t,{key:n},e);const{children:s,...o}=e.props;return(0,r.createElement)(t,{key:n,...o},s)}))},Object.defineProperty(t,"useCallback",{enumerable:!0,get:function(){return r.useCallback}}),Object.defineProperty(t,"useContext",{enumerable:!0,get:function(){return r.useContext}}),Object.defineProperty(t,"useDebugValue",{enumerable:!0,get:function(){return r.useDebugValue}}),Object.defineProperty(t,"useDeferredValue",{enumerable:!0,get:function(){return r.useDeferredValue}}),Object.defineProperty(t,"useEffect",{enumerable:!0,get:function(){return r.useEffect}}),Object.defineProperty(t,"useId",{enumerable:!0,get:function(){return r.useId}}),Object.defineProperty(t,"useImperativeHandle",{enumerable:!0,get:function(){return r.useImperativeHandle}}),Object.defineProperty(t,"useInsertionEffect",{enumerable:!0,get:function(){return r.useInsertionEffect}}),Object.defineProperty(t,"useLayoutEffect",{enumerable:!0,get:function(){return r.useLayoutEffect}}),Object.defineProperty(t,"useMemo",{enumerable:!0,get:function(){return r.useMemo}}),Object.defineProperty(t,"useReducer",{enumerable:!0,get:function(){return r.useReducer}}),Object.defineProperty(t,"useRef",{enumerable:!0,get:function(){return r.useRef}}),Object.defineProperty(t,"useState",{enumerable:!0,get:function(){return r.useState}}),Object.defineProperty(t,"useSyncExternalStore",{enumerable:!0,get:function(){return r.useSyncExternalStore}}),Object.defineProperty(t,"useTransition",{enumerable:!0,get:function(){return r.useTransition}});var r=n(51609)},54852:(e,t,n)=>{"use strict";var r=n(98504);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.hasPrefix=h,t.renderAttributes=_,t.renderComponent=A,t.renderElement=x,t.renderNativeComponent=P,t.renderStyle=F;var s=n(21214),o=n(61433),i=n(89877),a=n(84265),l=r(n(94468));const{Provider:c,Consumer:u}=(0,a.createContext)(void 0),d=(0,a.forwardRef)((()=>null)),p=new Set(["string","boolean","number"]),f=new Set(["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]),m=new Set(["allowfullscreen","allowpaymentrequest","allowusermedia","async","autofocus","autoplay","checked","controls","default","defer","disabled","download","formnovalidate","hidden","ismap","itemscope","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","selected","typemustmatch"]),g=new Set(["autocapitalize","autocomplete","charset","contenteditable","crossorigin","decoding","dir","draggable","enctype","formenctype","formmethod","http-equiv","inputmode","kind","method","preload","scope","shape","spellcheck","translate","type","wrap"]),y=new Set(["animation","animationIterationCount","baselineShift","borderImageOutset","borderImageSlice","borderImageWidth","columnCount","cx","cy","fillOpacity","flexGrow","flexShrink","floodOpacity","fontWeight","gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart","lineHeight","opacity","order","orphans","r","rx","ry","shapeImageThreshold","stopOpacity","strokeDasharray","strokeDashoffset","strokeMiterlimit","strokeOpacity","strokeWidth","tabSize","widows","x","y","zIndex","zoom"]);function h(e,t){return t.some((t=>0===e.indexOf(t)))}function b(e){return"key"===e||"children"===e}function w(e,t){return"style"===e?F(t):t}const v=["accentHeight","alignmentBaseline","arabicForm","baselineShift","capHeight","clipPath","clipRule","colorInterpolation","colorInterpolationFilters","colorProfile","colorRendering","dominantBaseline","enableBackground","fillOpacity","fillRule","floodColor","floodOpacity","fontFamily","fontSize","fontSizeAdjust","fontStretch","fontStyle","fontVariant","fontWeight","glyphName","glyphOrientationHorizontal","glyphOrientationVertical","horizAdvX","horizOriginX","imageRendering","letterSpacing","lightingColor","markerEnd","markerMid","markerStart","overlinePosition","overlineThickness","paintOrder","panose1","pointerEvents","renderingIntent","shapeRendering","stopColor","stopOpacity","strikethroughPosition","strikethroughThickness","strokeDasharray","strokeDashoffset","strokeLinecap","strokeLinejoin","strokeMiterlimit","strokeOpacity","strokeWidth","textAnchor","textDecoration","textRendering","underlinePosition","underlineThickness","unicodeBidi","unicodeRange","unitsPerEm","vAlphabetic","vHanging","vIdeographic","vMathematical","vectorEffect","vertAdvY","vertOriginX","vertOriginY","wordSpacing","writingMode","xmlnsXlink","xHeight"].reduce(((e,t)=>(e[t.toLowerCase()]=t,e)),{}),E=["allowReorder","attributeName","attributeType","autoReverse","baseFrequency","baseProfile","calcMode","clipPathUnits","contentScriptType","contentStyleType","diffuseConstant","edgeMode","externalResourcesRequired","filterRes","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","suppressContentEditableWarning","suppressHydrationWarning","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector"].reduce(((e,t)=>(e[t.toLowerCase()]=t,e)),{}),C=["xlink:actuate","xlink:arcrole","xlink:href","xlink:role","xlink:show","xlink:title","xlink:type","xml:base","xml:lang","xml:space","xmlns:xlink"].reduce(((e,t)=>(e[t.replace(":","").toLowerCase()]=t,e)),{});function S(e){switch(e){case"htmlFor":return"for";case"className":return"class"}const t=e.toLowerCase();return E[t]?E[t]:v[t]?(0,o.paramCase)(v[t]):C[t]?C[t]:t}function k(e){return e.startsWith("--")?e:h(e,["ms","O","Moz","Webkit"])?"-"+(0,o.paramCase)(e):(0,o.paramCase)(e)}function O(e,t){return"number"!=typeof t||0===t||y.has(e)?t:t+"px"}function x(e,t,n={}){if(null==e||!1===e)return"";if(Array.isArray(e))return j(e,t,n);switch(typeof e){case"string":return(0,i.escapeHTML)(e);case"number":return e.toString()}const{type:r,props:s}=e;switch(r){case a.StrictMode:case a.Fragment:return j(s.children,t,n);case l.default:const{children:e,...r}=s;return P(Object.keys(r).length?"div":null,{...r,dangerouslySetInnerHTML:{__html:e}},t,n)}switch(typeof r){case"string":return P(r,s,t,n);case"function":return r.prototype&&"function"==typeof r.prototype.render?A(r,s,t,n):x(r(s,n),t,n)}switch(r&&r.$$typeof){case c.$$typeof:return j(s.children,s.value,n);case u.$$typeof:return x(s.children(t||r._currentValue),t,n);case d.$$typeof:return x(r.render(s),t,n)}return""}function P(e,t,n,r={}){let s="";if("textarea"===e&&t.hasOwnProperty("value")){s=j(t.value,n,r);const{value:e,...o}=t;t=o}else t.dangerouslySetInnerHTML&&"string"==typeof t.dangerouslySetInnerHTML.__html?s=t.dangerouslySetInnerHTML.__html:void 0!==t.children&&(s=j(t.children,n,r));if(!e)return s;const o=_(t);return f.has(e)?"<"+e+o+"/>":"<"+e+o+">"+s+""}function A(e,t,n,r={}){const s=new e(t,r);"function"==typeof s.getChildContext&&Object.assign(r,s.getChildContext());return x(s.render(),n,r)}function j(e,t,n={}){let r="";e=Array.isArray(e)?e:[e];for(let s=0;s{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isEmptyElement=void 0;t.isEmptyElement=e=>"number"!=typeof e&&("string"==typeof e?.valueOf()||Array.isArray(e)?!e.length:!e)},51889:(e,t,n)=>{"use strict";n.d(t,{$4:()=>o,fZ:()=>i,xQ:()=>a});var r=n(54715),s=n(82769);function o(e,t){return 0===t?e.toLowerCase():(0,s.l3)(e,t)}function i(e,t){return 0===t?e.toLowerCase():(0,s.$7)(e)}function a(e,t){return void 0===t&&(t={}),(0,s.fL)(e,(0,r.Cl)({transform:o},t))}},91859:(e,t,n)=>{"use strict";n.d(t,{D:()=>a,f:()=>i});var r=n(54715),s=n(2532),o=n(21644);function i(e){return(0,o.R)(e.toLowerCase())}function a(e,t){return void 0===t&&(t={}),(0,s.W)(e,(0,r.Cl)({delimiter:" ",transform:i},t))}},61433:(e,t,n)=>{"use strict";n.r(t),n.d(t,{camelCase:()=>r.xQ,camelCaseTransform:()=>r.$4,camelCaseTransformMerge:()=>r.fZ,capitalCase:()=>s.D,capitalCaseTransform:()=>s.f,constantCase:()=>o.F,dotCase:()=>i.a,headerCase:()=>a.u,noCase:()=>l.W,paramCase:()=>c.c,pascalCase:()=>u.fL,pascalCaseTransform:()=>u.l3,pascalCaseTransformMerge:()=>u.$7,pathCase:()=>d.y,sentenceCase:()=>p.o,sentenceCaseTransform:()=>p.u,snakeCase:()=>f.L});var r=n(51889),s=n(91859),o=n(55633),i=n(19382),a=n(22774),l=n(2532),c=n(74572),u=n(82769),d=n(70320),p=n(82682),f=n(68963)},55633:(e,t,n)=>{"use strict";n.d(t,{F:()=>i});var r=n(54715),s=n(2532),o=n(88415);function i(e,t){return void 0===t&&(t={}),(0,s.W)(e,(0,r.Cl)({delimiter:"_",transform:o.l},t))}},19382:(e,t,n)=>{"use strict";n.d(t,{a:()=>o});var r=n(54715),s=n(2532);function o(e,t){return void 0===t&&(t={}),(0,s.W)(e,(0,r.Cl)({delimiter:"."},t))}},22774:(e,t,n)=>{"use strict";n.d(t,{u:()=>o});var r=n(54715),s=n(91859);function o(e,t){return void 0===t&&(t={}),(0,s.D)(e,(0,r.Cl)({delimiter:"-"},t))}},21214:(e,t)=>{"use strict";function n(e){return"[object Object]"===Object.prototype.toString.call(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.isPlainObject=function(e){var t,r;return!1!==n(e)&&(void 0===(t=e.constructor)||!1!==n(r=t.prototype)&&!1!==r.hasOwnProperty("isPrototypeOf"))}},25700:(e,t,n)=>{"use strict";n.d(t,{g:()=>r});function r(e){return e.toLowerCase()}},44997:e=>{var t=1e3,n=60*t,r=60*n,s=24*r,o=7*s,i=365.25*s;function a(e,t,n,r){var s=t>=1.5*n;return Math.round(e/n)+" "+r+(s?"s":"")}e.exports=function(e,l){l=l||{};var c=typeof e;if("string"===c&&e.length>0)return function(e){if((e=String(e)).length>100)return;var a=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!a)return;var l=parseFloat(a[1]);switch((a[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return l*i;case"weeks":case"week":case"w":return l*o;case"days":case"day":case"d":return l*s;case"hours":case"hour":case"hrs":case"hr":case"h":return l*r;case"minutes":case"minute":case"mins":case"min":case"m":return l*n;case"seconds":case"second":case"secs":case"sec":case"s":return l*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return l;default:return}}(e);if("number"===c&&isFinite(e))return l.long?function(e){var o=Math.abs(e);if(o>=s)return a(e,o,s,"day");if(o>=r)return a(e,o,r,"hour");if(o>=n)return a(e,o,n,"minute");if(o>=t)return a(e,o,t,"second");return e+" ms"}(e):function(e){var o=Math.abs(e);if(o>=s)return Math.round(e/s)+"d";if(o>=r)return Math.round(e/r)+"h";if(o>=n)return Math.round(e/n)+"m";if(o>=t)return Math.round(e/t)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},2532:(e,t,n)=>{"use strict";n.d(t,{W:()=>i});var r=n(25700),s=[/([a-z0-9])([A-Z])/g,/([A-Z])([A-Z][a-z])/g],o=/[^A-Z0-9]+/gi;function i(e,t){void 0===t&&(t={});for(var n=t.splitRegexp,i=void 0===n?s:n,l=t.stripRegexp,c=void 0===l?o:l,u=t.transform,d=void 0===u?r.g:u,p=t.delimiter,f=void 0===p?" ":p,m=a(a(e,i,"$1\0$2"),c,"\0"),g=0,y=m.length;"\0"===m.charAt(g);)g++;for(;"\0"===m.charAt(y-1);)y--;return m.slice(g,y).split("\0").map(d).join(f)}function a(e,t,n){return t instanceof RegExp?e.replace(t,n):t.reduce((function(e,t){return e.replace(t,n)}),e)}},74572:(e,t,n)=>{"use strict";n.d(t,{c:()=>o});var r=n(54715),s=n(19382);function o(e,t){return void 0===t&&(t={}),(0,s.a)(e,(0,r.Cl)({delimiter:"-"},t))}},82769:(e,t,n)=>{"use strict";n.d(t,{$7:()=>i,fL:()=>a,l3:()=>o});var r=n(54715),s=n(2532);function o(e,t){var n=e.charAt(0),r=e.substr(1).toLowerCase();return t>0&&n>="0"&&n<="9"?"_"+n+r:""+n.toUpperCase()+r}function i(e){return e.charAt(0).toUpperCase()+e.slice(1).toLowerCase()}function a(e,t){return void 0===t&&(t={}),(0,s.W)(e,(0,r.Cl)({delimiter:"",transform:o},t))}},70320:(e,t,n)=>{"use strict";n.d(t,{y:()=>o});var r=n(54715),s=n(19382);function o(e,t){return void 0===t&&(t={}),(0,s.a)(e,(0,r.Cl)({delimiter:"/"},t))}},18950:(e,t,n)=>{"use strict";var r=n(75795);t.createRoot=r.createRoot,t.hydrateRoot=r.hydrateRoot},32047:e=>{"use strict";function t(e,n){var r;if(Array.isArray(n))for(r=0;r{"use strict";n.d(t,{o:()=>a,u:()=>i});var r=n(54715),s=n(2532),o=n(21644);function i(e,t){var n=e.toLowerCase();return 0===t?(0,o.R)(n):n}function a(e,t){return void 0===t&&(t={}),(0,s.W)(e,(0,r.Cl)({delimiter:" ",transform:i},t))}},68963:(e,t,n)=>{"use strict";n.d(t,{L:()=>o});var r=n(54715),s=n(19382);function o(e,t){return void 0===t&&(t={}),(0,s.a)(e,(0,r.Cl)({delimiter:"_"},t))}},90372:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(10067);const s=n.n(r)()("dops:analytics");let o,i;window._tkq=window._tkq||[],window.ga=window.ga||function(){(window.ga.q=window.ga.q||[]).push(arguments)},window.ga.l=+new Date;const a={initialize:function(e,t,n){a.setUser(e,t),a.setSuperProps(n),a.identifyUser()},setGoogleAnalyticsEnabled:function(e,t=null){this.googleAnalyticsEnabled=e,this.googleAnalyticsKey=t},setMcAnalyticsEnabled:function(e){this.mcAnalyticsEnabled=e},setUser:function(e,t){i={ID:e,username:t}},setSuperProps:function(e){o=e},assignSuperProps:function(e){o=Object.assign(o||{},e)},mc:{bumpStat:function(e,t){const n=function(e,t){let n="";if("object"==typeof e){for(const t in e)n+="&x_"+encodeURIComponent(t)+"="+encodeURIComponent(e[t]);s("Bumping stats %o",e)}else n="&x_"+encodeURIComponent(e)+"="+encodeURIComponent(t),s('Bumping stat "%s" in group "%s"',t,e);return n}(e,t);a.mcAnalyticsEnabled&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom-no-pv"+n+"&t="+Math.random())},bumpStatWithPageView:function(e,t){const n=function(e,t){let n="";if("object"==typeof e){for(const t in e)n+="&"+encodeURIComponent(t)+"="+encodeURIComponent(e[t]);s("Built stats %o",e)}else n="&"+encodeURIComponent(e)+"="+encodeURIComponent(t),s('Built stat "%s" in group "%s"',t,e);return n}(e,t);a.mcAnalyticsEnabled&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom"+n+"&t="+Math.random())}},pageView:{record:function(e,t){a.tracks.recordPageView(e),a.ga.recordPageView(e,t)}},purchase:{record:function(e,t,n,r,s,o,i){a.ga.recordPurchase(e,t,n,r,s,o,i)}},tracks:{recordEvent:function(e,t){t=t||{},0===e.indexOf("akismet_")||0===e.indexOf("jetpack_")?(o&&(s("- Super Props: %o",o),t=Object.assign(t,o)),s('Record event "%s" called with props %s',e,JSON.stringify(t)),window._tkq.push(["recordEvent",e,t])):s('- Event name must be prefixed by "akismet_" or "jetpack_"')},recordJetpackClick:function(e){const t="object"==typeof e?e:{target:e};a.tracks.recordEvent("jetpack_wpa_click",t)},recordPageView:function(e){a.tracks.recordEvent("akismet_page_view",{path:e})},setOptOut:function(e){s("Pushing setOptOut: %o",e),window._tkq.push(["setOptOut",e])}},ga:{initialized:!1,initialize:function(){let e={};a.ga.initialized||(i&&(e={userId:"u-"+i.ID}),window.ga("create",this.googleAnalyticsKey,"auto",e),a.ga.initialized=!0)},recordPageView:function(e,t){a.ga.initialize(),s("Recording Page View ~ [URL: "+e+"] [Title: "+t+"]"),this.googleAnalyticsEnabled&&(window.ga("set","page",e),window.ga("send",{hitType:"pageview",page:e,title:t}))},recordEvent:function(e,t,n,r){a.ga.initialize();let o="Recording Event ~ [Category: "+e+"] [Action: "+t+"]";void 0!==n&&(o+=" [Option Label: "+n+"]"),void 0!==r&&(o+=" [Option Value: "+r+"]"),s(o),this.googleAnalyticsEnabled&&window.ga("send","event",e,t,n,r)},recordPurchase:function(e,t,n,r,s,o,i){window.ga("require","ecommerce"),window.ga("ecommerce:addTransaction",{id:e,revenue:r,currency:i}),window.ga("ecommerce:addItem",{id:e,name:t,sku:n,price:s,quantity:o}),window.ga("ecommerce:send")}},identifyUser:function(){i&&window._tkq.push(["identifyUser",i.ID,i.username])},setProperties:function(e){window._tkq.push(["setProperties",e])},clearedIdentity:function(){window._tkq.push(["clearIdentity"])}},l=a},85985:(e,t,n)=>{"use strict";n.d(t,{sh:()=>r.s});n(82034),n(65595),n(53265),n(73489),n(76923),n(15877);var r=n(30335);n(88290)},15877:(e,t,n)=>{"use strict";n(51609)},30335:(e,t,n)=>{"use strict";n.d(t,{s:()=>s});var r=n(86087);function s(e){const t={};let n="span",s=e.icon;const o=document.createElement("div");o.innerHTML=e.icon;const i=o.querySelector("svg");return i&&(n="svg",s=i.innerHTML,Array.from(i.attributes).forEach((({nodeName:e,nodeValue:n})=>t[e]=n))),(0,r.createElement)(n,{...t,dangerouslySetInnerHTML:{__html:s||""}})}},73489:(e,t,n)=>{"use strict";var r=n(90372);n(39384),n(86087);const{tracks:s}=r.A,{recordEvent:o}=s},76923:(e,t,n)=>{"use strict";n(47143),n(86087),n(88290)},27105:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>d,E9:()=>u});var r=n(47143),s=n(62634),o=n(94478),i=n(88290);const a="SET_JETPACK_MODULES";function l(e){return u({isLoading:e})}function c(e,t){return{type:"SET_MODULE_UPDATING",name:e,isUpdating:t}}function u(e){return{type:a,options:e}}const d={updateJetpackModuleStatus:function*(e){try{yield c(e.name,!0),yield(0,o.sB)(e);const t=yield(0,o.wz)();return yield u({data:t}),!0}catch(e){const t=(0,r.select)(i.F).getJetpackModules();return yield u(t),!1}finally{yield c(e.name,!1)}},setJetpackModules:u,fetchModules:function*(){if((0,s.Sy)())return!0;try{yield l(!0);const e=yield(0,o.wz)();return yield u({data:e}),!0}catch(e){const t=(0,r.select)(i.F).getJetpackModules();return yield u(t),!1}finally{yield l(!1)}}}},94478:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>c,sB:()=>l,wz:()=>a});var r=n(1455),s=n.n(r);const o="FETCH_JETPACK_MODULES",i="UPDATE_JETPACK_MODULE_STATUS",a=()=>({type:o}),l=e=>({type:i,settings:e}),c={[o]:function(){return s()({path:"/jetpack/v4/module/all",method:"GET"})},[i]:function({settings:e}){return s()({path:`/jetpack/v4/module/${e.name}/active`,method:"POST",data:{active:e.active}})}}},88290:(e,t,n)=>{"use strict";n.d(t,{F:()=>c});var r=n(47143),s=n(27105),o=n(94478),i=n(38862),a=n(62701),l=n(31640);const c="jetpack-modules",u=(0,r.createReduxStore)(c,{reducer:i.A,actions:s.Ay,controls:o.Ay,resolvers:a.A,selectors:l.A});(0,r.register)(u);const d=window?.Initial_State?.getModules||window?.Jetpack_Editor_Initial_State?.modules||null;null!==d&&(0,r.dispatch)(c).setJetpackModules({data:{...d}})},38862:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});const r={isLoading:!1,isUpdating:{},data:{}},s=(e=r,t)=>{switch(t.type){case"SET_JETPACK_MODULES":return{...e,...t.options};case"SET_MODULE_UPDATING":return{...e,isUpdating:{...e.isUpdating,[t.name]:t.isUpdating}}}return e}},62701:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(27105),s=n(94478);const o={getJetpackModules:function*(){try{const e=yield(0,s.wz)();if(e)return(0,r.E9)({data:e})}catch(e){console.error(e)}}}},31640:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(62634);const s={getJetpackModules:e=>e.data,isModuleActive:(e,t)=>(0,r.Sy)()||(e?.data?.[t]?.activated??!1),areModulesLoading:e=>e.isLoading??!1,isModuleUpdating:(e,t)=>e?.isUpdating?.[t]??!1}},53265:(e,t,n)=>{"use strict";var r=n(27723);n(93832),n(66087);const __=r.__;__("Upgrade your plan to use video covers","jetpack"),__("Upgrade your plan to upload audio","jetpack")},82034:(e,t,n)=>{"use strict";n(92279)},62634:(e,t,n)=>{"use strict";function r(){return"object"==typeof window&&"string"==typeof window._currentSiteType?window._currentSiteType:null}function s(){return"simple"===r()}n.d(t,{Sy:()=>s})},65595:(e,t,n)=>{"use strict";n(96072),n(29491)},71645:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(82170),s=n(5573);function o({currentMedia:e}){const t=e&&"image"===e.type?e.url:null;return(0,r.createElement)("div",{className:"wp-story-background"},(0,r.createElement)("div",{className:"wp-story-background-image",style:{backgroundImage:t?`url("${t}")`:"none"}}),(0,r.createElement)("div",{className:"wp-story-background-blur"}),(0,r.createElement)(s.SVG,{version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"0",height:"0"},(0,r.createElement)("filter",{id:"gaussian-blur-18"},(0,r.createElement)("feGaussianBlur",{stdDeviation:"18"}))))}},79809:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(82170),s=n(27723),o=n(13022);const __=s.__;function i({isEllipsis:e,disabled:t,index:n,isSelected:i,progress:a,onClick:l}){const c=t||e;let u=null;return e||(u=i?(0,s.sprintf)(/* translators: %d: Slide number. */ +(()=>{var e={95723:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(84265);let s,o,i,a;const l=/<(\/)?(\w+)\s*(\/)?>/g;function c(e,t,n,r,s){return{element:e,tokenStart:t,tokenLength:n,prevOffset:r,leadingTextStart:s,children:[]}}const u=e=>{const t="object"==typeof e,n=t&&Object.values(e);return t&&n.length&&n.every((e=>(0,r.isValidElement)(e)))};function d(e){const t=function(){const e=l.exec(s);if(null===e)return["no-more-tokens"];const t=e.index,[n,r,o,i]=e,a=n.length;if(i)return["self-closed",o,t,a];if(r)return["closer",o,t,a];return["opener",o,t,a]}(),[n,u,d,m]=t,g=a.length,y=d>o?o:null;if(!e[u])return p(),!1;switch(n){case"no-more-tokens":if(0!==g){const{leadingTextStart:e,tokenStart:t}=a.pop();i.push(s.substr(e,t))}return p(),!1;case"self-closed":return 0===g?(null!==y&&i.push(s.substr(y,d-y)),i.push(e[u]),o=d+m,!0):(f(c(e[u],d,m)),o=d+m,!0);case"opener":return a.push(c(e[u],d,m,d+m,y)),o=d+m,!0;case"closer":if(1===g)return function(e){const{element:t,leadingTextStart:n,prevOffset:o,tokenStart:l,children:c}=a.pop(),u=e?s.substr(o,e-o):s.substr(o);u&&c.push(u);null!==n&&i.push(s.substr(n,l-n));i.push((0,r.cloneElement)(t,null,...c))}(d),o=d+m,!0;const t=a.pop(),n=s.substr(t.prevOffset,d-t.prevOffset);t.children.push(n),t.prevOffset=d+m;const l=c(t.element,t.tokenStart,t.tokenLength,d+m);return l.children=t.children,f(l),o=d+m,!0;default:return p(),!1}}function p(){const e=s.length-o;0!==e&&i.push(s.substr(o,e))}function f(e){const{element:t,tokenStart:n,tokenLength:o,prevOffset:i,children:l}=e,c=a[a.length-1],u=s.substr(c.prevOffset,n-c.prevOffset);u&&c.children.push(u),c.children.push((0,r.cloneElement)(t,null,...l)),c.prevOffset=i||n+o}t.default=(e,t)=>{if(s=e,o=0,i=[],a=[],l.lastIndex=0,!u(t))throw new TypeError("The conversionMap provided is not valid. It must be an object with values that are React Elements");do{}while(d(t));return(0,r.createElement)(r.Fragment,null,...i)}},82170:(e,t,n)=>{"use strict";var r=n(98504);Object.defineProperty(t,"__esModule",{value:!0});var s={createInterpolateElement:!0,Platform:!0,renderToString:!0,RawHTML:!0};Object.defineProperty(t,"Platform",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(t,"RawHTML",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(t,"createInterpolateElement",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"renderToString",{enumerable:!0,get:function(){return u.default}});var o=r(n(95723)),i=n(84265);Object.keys(i).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(s,e)||e in t&&t[e]===i[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}}))}));var a=n(81649);Object.keys(a).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(s,e)||e in t&&t[e]===a[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return a[e]}}))}));var l=n(98219);Object.keys(l).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(s,e)||e in t&&t[e]===l[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return l[e]}}))}));var c=r(n(52595)),u=r(n(54852)),d=r(n(94468))},52595:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={OS:"web",select:e=>"web"in e?e.web:e.default,isWeb:!0}},94468:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function({children:e,...t}){let n="";return r.Children.toArray(e).forEach((e=>{"string"==typeof e&&""!==e.trim()&&(n+=e)})),(0,r.createElement)("div",{dangerouslySetInnerHTML:{__html:n},...t})};var r=n(84265)},81649:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"createPortal",{enumerable:!0,get:function(){return r.createPortal}}),Object.defineProperty(t,"createRoot",{enumerable:!0,get:function(){return s.createRoot}}),Object.defineProperty(t,"findDOMNode",{enumerable:!0,get:function(){return r.findDOMNode}}),Object.defineProperty(t,"flushSync",{enumerable:!0,get:function(){return r.flushSync}}),Object.defineProperty(t,"hydrate",{enumerable:!0,get:function(){return r.hydrate}}),Object.defineProperty(t,"hydrateRoot",{enumerable:!0,get:function(){return s.hydrateRoot}}),Object.defineProperty(t,"render",{enumerable:!0,get:function(){return r.render}}),Object.defineProperty(t,"unmountComponentAtNode",{enumerable:!0,get:function(){return r.unmountComponentAtNode}});var r=n(75795),s=n(18950)},84265:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Children",{enumerable:!0,get:function(){return r.Children}}),Object.defineProperty(t,"Component",{enumerable:!0,get:function(){return r.Component}}),Object.defineProperty(t,"Fragment",{enumerable:!0,get:function(){return r.Fragment}}),Object.defineProperty(t,"PureComponent",{enumerable:!0,get:function(){return r.PureComponent}}),Object.defineProperty(t,"StrictMode",{enumerable:!0,get:function(){return r.StrictMode}}),Object.defineProperty(t,"Suspense",{enumerable:!0,get:function(){return r.Suspense}}),Object.defineProperty(t,"cloneElement",{enumerable:!0,get:function(){return r.cloneElement}}),t.concatChildren=function(...e){return e.reduce(((e,t,n)=>(r.Children.forEach(t,((t,s)=>{t&&"string"!=typeof t&&(t=(0,r.cloneElement)(t,{key:[n,s].join()})),e.push(t)})),e)),[])},Object.defineProperty(t,"createContext",{enumerable:!0,get:function(){return r.createContext}}),Object.defineProperty(t,"createElement",{enumerable:!0,get:function(){return r.createElement}}),Object.defineProperty(t,"createRef",{enumerable:!0,get:function(){return r.createRef}}),Object.defineProperty(t,"forwardRef",{enumerable:!0,get:function(){return r.forwardRef}}),Object.defineProperty(t,"isValidElement",{enumerable:!0,get:function(){return r.isValidElement}}),Object.defineProperty(t,"lazy",{enumerable:!0,get:function(){return r.lazy}}),Object.defineProperty(t,"memo",{enumerable:!0,get:function(){return r.memo}}),Object.defineProperty(t,"startTransition",{enumerable:!0,get:function(){return r.startTransition}}),t.switchChildrenNodeName=function(e,t){return e&&r.Children.map(e,((e,n)=>{if("string"==typeof e?.valueOf())return(0,r.createElement)(t,{key:n},e);const{children:s,...o}=e.props;return(0,r.createElement)(t,{key:n,...o},s)}))},Object.defineProperty(t,"useCallback",{enumerable:!0,get:function(){return r.useCallback}}),Object.defineProperty(t,"useContext",{enumerable:!0,get:function(){return r.useContext}}),Object.defineProperty(t,"useDebugValue",{enumerable:!0,get:function(){return r.useDebugValue}}),Object.defineProperty(t,"useDeferredValue",{enumerable:!0,get:function(){return r.useDeferredValue}}),Object.defineProperty(t,"useEffect",{enumerable:!0,get:function(){return r.useEffect}}),Object.defineProperty(t,"useId",{enumerable:!0,get:function(){return r.useId}}),Object.defineProperty(t,"useImperativeHandle",{enumerable:!0,get:function(){return r.useImperativeHandle}}),Object.defineProperty(t,"useInsertionEffect",{enumerable:!0,get:function(){return r.useInsertionEffect}}),Object.defineProperty(t,"useLayoutEffect",{enumerable:!0,get:function(){return r.useLayoutEffect}}),Object.defineProperty(t,"useMemo",{enumerable:!0,get:function(){return r.useMemo}}),Object.defineProperty(t,"useReducer",{enumerable:!0,get:function(){return r.useReducer}}),Object.defineProperty(t,"useRef",{enumerable:!0,get:function(){return r.useRef}}),Object.defineProperty(t,"useState",{enumerable:!0,get:function(){return r.useState}}),Object.defineProperty(t,"useSyncExternalStore",{enumerable:!0,get:function(){return r.useSyncExternalStore}}),Object.defineProperty(t,"useTransition",{enumerable:!0,get:function(){return r.useTransition}});var r=n(51609)},54852:(e,t,n)=>{"use strict";var r=n(98504);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.hasPrefix=h,t.renderAttributes=_,t.renderComponent=A,t.renderElement=x,t.renderNativeComponent=P,t.renderStyle=F;var s=n(21214),o=n(61433),i=n(89877),a=n(84265),l=r(n(94468));const{Provider:c,Consumer:u}=(0,a.createContext)(void 0),d=(0,a.forwardRef)((()=>null)),p=new Set(["string","boolean","number"]),f=new Set(["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]),m=new Set(["allowfullscreen","allowpaymentrequest","allowusermedia","async","autofocus","autoplay","checked","controls","default","defer","disabled","download","formnovalidate","hidden","ismap","itemscope","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","selected","typemustmatch"]),g=new Set(["autocapitalize","autocomplete","charset","contenteditable","crossorigin","decoding","dir","draggable","enctype","formenctype","formmethod","http-equiv","inputmode","kind","method","preload","scope","shape","spellcheck","translate","type","wrap"]),y=new Set(["animation","animationIterationCount","baselineShift","borderImageOutset","borderImageSlice","borderImageWidth","columnCount","cx","cy","fillOpacity","flexGrow","flexShrink","floodOpacity","fontWeight","gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart","lineHeight","opacity","order","orphans","r","rx","ry","shapeImageThreshold","stopOpacity","strokeDasharray","strokeDashoffset","strokeMiterlimit","strokeOpacity","strokeWidth","tabSize","widows","x","y","zIndex","zoom"]);function h(e,t){return t.some((t=>0===e.indexOf(t)))}function b(e){return"key"===e||"children"===e}function w(e,t){return"style"===e?F(t):t}const v=["accentHeight","alignmentBaseline","arabicForm","baselineShift","capHeight","clipPath","clipRule","colorInterpolation","colorInterpolationFilters","colorProfile","colorRendering","dominantBaseline","enableBackground","fillOpacity","fillRule","floodColor","floodOpacity","fontFamily","fontSize","fontSizeAdjust","fontStretch","fontStyle","fontVariant","fontWeight","glyphName","glyphOrientationHorizontal","glyphOrientationVertical","horizAdvX","horizOriginX","imageRendering","letterSpacing","lightingColor","markerEnd","markerMid","markerStart","overlinePosition","overlineThickness","paintOrder","panose1","pointerEvents","renderingIntent","shapeRendering","stopColor","stopOpacity","strikethroughPosition","strikethroughThickness","strokeDasharray","strokeDashoffset","strokeLinecap","strokeLinejoin","strokeMiterlimit","strokeOpacity","strokeWidth","textAnchor","textDecoration","textRendering","underlinePosition","underlineThickness","unicodeBidi","unicodeRange","unitsPerEm","vAlphabetic","vHanging","vIdeographic","vMathematical","vectorEffect","vertAdvY","vertOriginX","vertOriginY","wordSpacing","writingMode","xmlnsXlink","xHeight"].reduce(((e,t)=>(e[t.toLowerCase()]=t,e)),{}),E=["allowReorder","attributeName","attributeType","autoReverse","baseFrequency","baseProfile","calcMode","clipPathUnits","contentScriptType","contentStyleType","diffuseConstant","edgeMode","externalResourcesRequired","filterRes","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","suppressContentEditableWarning","suppressHydrationWarning","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector"].reduce(((e,t)=>(e[t.toLowerCase()]=t,e)),{}),C=["xlink:actuate","xlink:arcrole","xlink:href","xlink:role","xlink:show","xlink:title","xlink:type","xml:base","xml:lang","xml:space","xmlns:xlink"].reduce(((e,t)=>(e[t.replace(":","").toLowerCase()]=t,e)),{});function S(e){switch(e){case"htmlFor":return"for";case"className":return"class"}const t=e.toLowerCase();return E[t]?E[t]:v[t]?(0,o.paramCase)(v[t]):C[t]?C[t]:t}function k(e){return e.startsWith("--")?e:h(e,["ms","O","Moz","Webkit"])?"-"+(0,o.paramCase)(e):(0,o.paramCase)(e)}function O(e,t){return"number"!=typeof t||0===t||y.has(e)?t:t+"px"}function x(e,t,n={}){if(null==e||!1===e)return"";if(Array.isArray(e))return j(e,t,n);switch(typeof e){case"string":return(0,i.escapeHTML)(e);case"number":return e.toString()}const{type:r,props:s}=e;switch(r){case a.StrictMode:case a.Fragment:return j(s.children,t,n);case l.default:const{children:e,...r}=s;return P(Object.keys(r).length?"div":null,{...r,dangerouslySetInnerHTML:{__html:e}},t,n)}switch(typeof r){case"string":return P(r,s,t,n);case"function":return r.prototype&&"function"==typeof r.prototype.render?A(r,s,t,n):x(r(s,n),t,n)}switch(r&&r.$$typeof){case c.$$typeof:return j(s.children,s.value,n);case u.$$typeof:return x(s.children(t||r._currentValue),t,n);case d.$$typeof:return x(r.render(s),t,n)}return""}function P(e,t,n,r={}){let s="";if("textarea"===e&&t.hasOwnProperty("value")){s=j(t.value,n,r);const{value:e,...o}=t;t=o}else t.dangerouslySetInnerHTML&&"string"==typeof t.dangerouslySetInnerHTML.__html?s=t.dangerouslySetInnerHTML.__html:void 0!==t.children&&(s=j(t.children,n,r));if(!e)return s;const o=_(t);return f.has(e)?"<"+e+o+"/>":"<"+e+o+">"+s+""}function A(e,t,n,r={}){const s=new e(t,r);"function"==typeof s.getChildContext&&Object.assign(r,s.getChildContext());return x(s.render(),n,r)}function j(e,t,n={}){let r="";e=Array.isArray(e)?e:[e];for(let s=0;s{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isEmptyElement=void 0;t.isEmptyElement=e=>"number"!=typeof e&&("string"==typeof e?.valueOf()||Array.isArray(e)?!e.length:!e)},51889:(e,t,n)=>{"use strict";n.d(t,{$4:()=>o,fZ:()=>i,xQ:()=>a});var r=n(54715),s=n(82769);function o(e,t){return 0===t?e.toLowerCase():(0,s.l3)(e,t)}function i(e,t){return 0===t?e.toLowerCase():(0,s.$7)(e)}function a(e,t){return void 0===t&&(t={}),(0,s.fL)(e,(0,r.Cl)({transform:o},t))}},91859:(e,t,n)=>{"use strict";n.d(t,{D:()=>a,f:()=>i});var r=n(54715),s=n(2532),o=n(21644);function i(e){return(0,o.R)(e.toLowerCase())}function a(e,t){return void 0===t&&(t={}),(0,s.W)(e,(0,r.Cl)({delimiter:" ",transform:i},t))}},61433:(e,t,n)=>{"use strict";n.r(t),n.d(t,{camelCase:()=>r.xQ,camelCaseTransform:()=>r.$4,camelCaseTransformMerge:()=>r.fZ,capitalCase:()=>s.D,capitalCaseTransform:()=>s.f,constantCase:()=>o.F,dotCase:()=>i.a,headerCase:()=>a.u,noCase:()=>l.W,paramCase:()=>c.c,pascalCase:()=>u.fL,pascalCaseTransform:()=>u.l3,pascalCaseTransformMerge:()=>u.$7,pathCase:()=>d.y,sentenceCase:()=>p.o,sentenceCaseTransform:()=>p.u,snakeCase:()=>f.L});var r=n(51889),s=n(91859),o=n(55633),i=n(19382),a=n(22774),l=n(2532),c=n(74572),u=n(82769),d=n(70320),p=n(82682),f=n(68963)},55633:(e,t,n)=>{"use strict";n.d(t,{F:()=>i});var r=n(54715),s=n(2532),o=n(88415);function i(e,t){return void 0===t&&(t={}),(0,s.W)(e,(0,r.Cl)({delimiter:"_",transform:o.l},t))}},19382:(e,t,n)=>{"use strict";n.d(t,{a:()=>o});var r=n(54715),s=n(2532);function o(e,t){return void 0===t&&(t={}),(0,s.W)(e,(0,r.Cl)({delimiter:"."},t))}},22774:(e,t,n)=>{"use strict";n.d(t,{u:()=>o});var r=n(54715),s=n(91859);function o(e,t){return void 0===t&&(t={}),(0,s.D)(e,(0,r.Cl)({delimiter:"-"},t))}},21214:(e,t)=>{"use strict";function n(e){return"[object Object]"===Object.prototype.toString.call(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.isPlainObject=function(e){var t,r;return!1!==n(e)&&(void 0===(t=e.constructor)||!1!==n(r=t.prototype)&&!1!==r.hasOwnProperty("isPrototypeOf"))}},25700:(e,t,n)=>{"use strict";n.d(t,{g:()=>r});function r(e){return e.toLowerCase()}},44997:e=>{var t=1e3,n=60*t,r=60*n,s=24*r,o=7*s,i=365.25*s;function a(e,t,n,r){var s=t>=1.5*n;return Math.round(e/n)+" "+r+(s?"s":"")}e.exports=function(e,l){l=l||{};var c=typeof e;if("string"===c&&e.length>0)return function(e){if((e=String(e)).length>100)return;var a=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!a)return;var l=parseFloat(a[1]);switch((a[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return l*i;case"weeks":case"week":case"w":return l*o;case"days":case"day":case"d":return l*s;case"hours":case"hour":case"hrs":case"hr":case"h":return l*r;case"minutes":case"minute":case"mins":case"min":case"m":return l*n;case"seconds":case"second":case"secs":case"sec":case"s":return l*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return l;default:return}}(e);if("number"===c&&isFinite(e))return l.long?function(e){var o=Math.abs(e);if(o>=s)return a(e,o,s,"day");if(o>=r)return a(e,o,r,"hour");if(o>=n)return a(e,o,n,"minute");if(o>=t)return a(e,o,t,"second");return e+" ms"}(e):function(e){var o=Math.abs(e);if(o>=s)return Math.round(e/s)+"d";if(o>=r)return Math.round(e/r)+"h";if(o>=n)return Math.round(e/n)+"m";if(o>=t)return Math.round(e/t)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},2532:(e,t,n)=>{"use strict";n.d(t,{W:()=>i});var r=n(25700),s=[/([a-z0-9])([A-Z])/g,/([A-Z])([A-Z][a-z])/g],o=/[^A-Z0-9]+/gi;function i(e,t){void 0===t&&(t={});for(var n=t.splitRegexp,i=void 0===n?s:n,l=t.stripRegexp,c=void 0===l?o:l,u=t.transform,d=void 0===u?r.g:u,p=t.delimiter,f=void 0===p?" ":p,m=a(a(e,i,"$1\0$2"),c,"\0"),g=0,y=m.length;"\0"===m.charAt(g);)g++;for(;"\0"===m.charAt(y-1);)y--;return m.slice(g,y).split("\0").map(d).join(f)}function a(e,t,n){return t instanceof RegExp?e.replace(t,n):t.reduce((function(e,t){return e.replace(t,n)}),e)}},74572:(e,t,n)=>{"use strict";n.d(t,{c:()=>o});var r=n(54715),s=n(19382);function o(e,t){return void 0===t&&(t={}),(0,s.a)(e,(0,r.Cl)({delimiter:"-"},t))}},82769:(e,t,n)=>{"use strict";n.d(t,{$7:()=>i,fL:()=>a,l3:()=>o});var r=n(54715),s=n(2532);function o(e,t){var n=e.charAt(0),r=e.substr(1).toLowerCase();return t>0&&n>="0"&&n<="9"?"_"+n+r:""+n.toUpperCase()+r}function i(e){return e.charAt(0).toUpperCase()+e.slice(1).toLowerCase()}function a(e,t){return void 0===t&&(t={}),(0,s.W)(e,(0,r.Cl)({delimiter:"",transform:o},t))}},70320:(e,t,n)=>{"use strict";n.d(t,{y:()=>o});var r=n(54715),s=n(19382);function o(e,t){return void 0===t&&(t={}),(0,s.a)(e,(0,r.Cl)({delimiter:"/"},t))}},18950:(e,t,n)=>{"use strict";var r=n(75795);t.createRoot=r.createRoot,t.hydrateRoot=r.hydrateRoot},32047:e=>{"use strict";function t(e,n){var r;if(Array.isArray(n))for(r=0;r{"use strict";n.d(t,{o:()=>a,u:()=>i});var r=n(54715),s=n(2532),o=n(21644);function i(e,t){var n=e.toLowerCase();return 0===t?(0,o.R)(n):n}function a(e,t){return void 0===t&&(t={}),(0,s.W)(e,(0,r.Cl)({delimiter:" ",transform:i},t))}},68963:(e,t,n)=>{"use strict";n.d(t,{L:()=>o});var r=n(54715),s=n(19382);function o(e,t){return void 0===t&&(t={}),(0,s.a)(e,(0,r.Cl)({delimiter:"_"},t))}},90372:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(10067);const s=n.n(r)()("dops:analytics");let o,i;window._tkq=window._tkq||[],window.ga=window.ga||function(){(window.ga.q=window.ga.q||[]).push(arguments)},window.ga.l=+new Date;const a={initialize:function(e,t,n){a.setUser(e,t),a.setSuperProps(n),a.identifyUser()},setGoogleAnalyticsEnabled:function(e,t=null){this.googleAnalyticsEnabled=e,this.googleAnalyticsKey=t},setMcAnalyticsEnabled:function(e){this.mcAnalyticsEnabled=e},setUser:function(e,t){i={ID:e,username:t}},setSuperProps:function(e){o=e},assignSuperProps:function(e){o=Object.assign(o||{},e)},mc:{bumpStat:function(e,t){const n=function(e,t){let n="";if("object"==typeof e){for(const t in e)n+="&x_"+encodeURIComponent(t)+"="+encodeURIComponent(e[t]);s("Bumping stats %o",e)}else n="&x_"+encodeURIComponent(e)+"="+encodeURIComponent(t),s('Bumping stat "%s" in group "%s"',t,e);return n}(e,t);a.mcAnalyticsEnabled&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom-no-pv"+n+"&t="+Math.random())},bumpStatWithPageView:function(e,t){const n=function(e,t){let n="";if("object"==typeof e){for(const t in e)n+="&"+encodeURIComponent(t)+"="+encodeURIComponent(e[t]);s("Built stats %o",e)}else n="&"+encodeURIComponent(e)+"="+encodeURIComponent(t),s('Built stat "%s" in group "%s"',t,e);return n}(e,t);a.mcAnalyticsEnabled&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom"+n+"&t="+Math.random())}},pageView:{record:function(e,t){a.tracks.recordPageView(e),a.ga.recordPageView(e,t)}},purchase:{record:function(e,t,n,r,s,o,i){a.ga.recordPurchase(e,t,n,r,s,o,i)}},tracks:{recordEvent:function(e,t){t=t||{},0===e.indexOf("akismet_")||0===e.indexOf("jetpack_")?(o&&(s("- Super Props: %o",o),t=Object.assign(t,o)),s('Record event "%s" called with props %s',e,JSON.stringify(t)),window._tkq.push(["recordEvent",e,t])):s('- Event name must be prefixed by "akismet_" or "jetpack_"')},recordJetpackClick:function(e){const t="object"==typeof e?e:{target:e};a.tracks.recordEvent("jetpack_wpa_click",t)},recordPageView:function(e){a.tracks.recordEvent("akismet_page_view",{path:e})},setOptOut:function(e){s("Pushing setOptOut: %o",e),window._tkq.push(["setOptOut",e])}},ga:{initialized:!1,initialize:function(){let e={};a.ga.initialized||(i&&(e={userId:"u-"+i.ID}),window.ga("create",this.googleAnalyticsKey,"auto",e),a.ga.initialized=!0)},recordPageView:function(e,t){a.ga.initialize(),s("Recording Page View ~ [URL: "+e+"] [Title: "+t+"]"),this.googleAnalyticsEnabled&&(window.ga("set","page",e),window.ga("send",{hitType:"pageview",page:e,title:t}))},recordEvent:function(e,t,n,r){a.ga.initialize();let o="Recording Event ~ [Category: "+e+"] [Action: "+t+"]";void 0!==n&&(o+=" [Option Label: "+n+"]"),void 0!==r&&(o+=" [Option Value: "+r+"]"),s(o),this.googleAnalyticsEnabled&&window.ga("send","event",e,t,n,r)},recordPurchase:function(e,t,n,r,s,o,i){window.ga("require","ecommerce"),window.ga("ecommerce:addTransaction",{id:e,revenue:r,currency:i}),window.ga("ecommerce:addItem",{id:e,name:t,sku:n,price:s,quantity:o}),window.ga("ecommerce:send")}},identifyUser:function(){i&&window._tkq.push(["identifyUser",i.ID,i.username])},setProperties:function(e){window._tkq.push(["setProperties",e])},clearedIdentity:function(){window._tkq.push(["clearIdentity"])}},l=a},85985:(e,t,n)=>{"use strict";n.d(t,{sh:()=>r.s});n(82034),n(65595),n(53265),n(73489),n(76923),n(15877);var r=n(30335);n(88290)},15877:(e,t,n)=>{"use strict";n(51609)},30335:(e,t,n)=>{"use strict";n.d(t,{s:()=>s});var r=n(86087);function s(e){const t={};let n="span",s=e.icon;const o=document.createElement("div");o.innerHTML=e.icon;const i=o.querySelector("svg");return i&&(n="svg",s=i.innerHTML,Array.from(i.attributes).forEach((({nodeName:e,nodeValue:n})=>t[e]=n))),(0,r.createElement)(n,{...t,dangerouslySetInnerHTML:{__html:s||""}})}},73489:(e,t,n)=>{"use strict";var r=n(90372);n(39384),n(86087);const{tracks:s}=r.A,{recordEvent:o}=s},76923:(e,t,n)=>{"use strict";n(47143),n(86087),n(88290)},27105:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>d,E9:()=>u});var r=n(47143),s=n(62634),o=n(94478),i=n(88290);const a="SET_JETPACK_MODULES";function l(e){return u({isLoading:e})}function c(e,t){return{type:"SET_MODULE_UPDATING",name:e,isUpdating:t}}function u(e){return{type:a,options:e}}const d={updateJetpackModuleStatus:function*(e){try{yield c(e.name,!0),yield(0,o.sB)(e);const t=yield(0,o.wz)();return yield u({data:t}),!0}catch{const e=(0,r.select)(i.F).getJetpackModules();return yield u(e),!1}finally{yield c(e.name,!1)}},setJetpackModules:u,fetchModules:function*(){if((0,s.Sy)())return!0;try{yield l(!0);const e=yield(0,o.wz)();return yield u({data:e}),!0}catch{const e=(0,r.select)(i.F).getJetpackModules();return yield u(e),!1}finally{yield l(!1)}}}},94478:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>c,sB:()=>l,wz:()=>a});var r=n(1455),s=n.n(r);const o="FETCH_JETPACK_MODULES",i="UPDATE_JETPACK_MODULE_STATUS",a=()=>({type:o}),l=e=>({type:i,settings:e}),c={[o]:function(){return s()({path:"/jetpack/v4/module/all",method:"GET"})},[i]:function({settings:e}){return s()({path:`/jetpack/v4/module/${e.name}/active`,method:"POST",data:{active:e.active}})}}},88290:(e,t,n)=>{"use strict";n.d(t,{F:()=>c});var r=n(47143),s=n(27105),o=n(94478),i=n(38862),a=n(62701),l=n(31640);const c="jetpack-modules",u=(0,r.createReduxStore)(c,{reducer:i.A,actions:s.Ay,controls:o.Ay,resolvers:a.A,selectors:l.A});(0,r.register)(u);const d=window?.Initial_State?.getModules||window?.Jetpack_Editor_Initial_State?.modules||null;null!==d&&(0,r.dispatch)(c).setJetpackModules({data:{...d}})},38862:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});const r={isLoading:!1,isUpdating:{},data:{}},s=(e=r,t)=>{switch(t.type){case"SET_JETPACK_MODULES":return{...e,...t.options};case"SET_MODULE_UPDATING":return{...e,isUpdating:{...e.isUpdating,[t.name]:t.isUpdating}}}return e}},62701:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(27105),s=n(94478);const o={getJetpackModules:function*(){try{const e=yield(0,s.wz)();if(e)return(0,r.E9)({data:e})}catch(e){console.error(e)}}}},31640:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(62634);const s={getJetpackModules:e=>e.data,isModuleActive:(e,t)=>(0,r.Sy)()||(e?.data?.[t]?.activated??!1),areModulesLoading:e=>e.isLoading??!1,isModuleUpdating:(e,t)=>e?.isUpdating?.[t]??!1}},53265:(e,t,n)=>{"use strict";var r=n(27723);n(93832),n(66087);const __=r.__;__("Upgrade your plan to use video covers","jetpack"),__("Upgrade your plan to upload audio","jetpack")},82034:(e,t,n)=>{"use strict";n(92279)},62634:(e,t,n)=>{"use strict";function r(){return"object"==typeof window&&"string"==typeof window._currentSiteType?window._currentSiteType:null}function s(){return"simple"===r()}n.d(t,{Sy:()=>s})},65595:(e,t,n)=>{"use strict";n(96072),n(29491)},71645:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(82170),s=n(5573);function o({currentMedia:e}){const t=e&&"image"===e.type?e.url:null;return(0,r.createElement)("div",{className:"wp-story-background"},(0,r.createElement)("div",{className:"wp-story-background-image",style:{backgroundImage:t?`url("${t}")`:"none"}}),(0,r.createElement)("div",{className:"wp-story-background-blur"}),(0,r.createElement)(s.SVG,{version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"0",height:"0"},(0,r.createElement)("filter",{id:"gaussian-blur-18"},(0,r.createElement)("feGaussianBlur",{stdDeviation:"18"}))))}},79809:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(82170),s=n(27723),o=n(13022);const __=s.__;function i({isEllipsis:e,disabled:t,index:n,isSelected:i,progress:a,onClick:l}){const c=t||e;let u=null;return e||(u=i?(0,s.sprintf)(/* translators: %d: Slide number. */ __("Slide %d, currently selected","jetpack"),n+1):(0,s.sprintf)(/* translators: %d: Slide number. */ __("Go to slide %d","jetpack"),n+1)),(0,r.createElement)("button",{role:c?"presentation":"tab",key:n,className:(0,o.A)("wp-story-pagination-bullet",{"wp-story-pagination-ellipsis":e}),"aria-label":u,"aria-disabled":c||i,onClick:c||i?void 0:l,disabled:c},(0,r.createElement)("div",{className:"wp-story-pagination-bullet-bar"},(0,r.createElement)("div",{className:"wp-story-pagination-bullet-bar-progress",style:{width:`${a}%`}})))}},35941:(e,t,n)=>{"use strict";n.d(t,{d:()=>l,k:()=>a});var r=n(96072),s=n.n(r),o=n(82170),i=n(13022);const a=({className:e,size:t,label:n,isPressed:r,...a})=>(0,o.createElement)("button",s()({type:"button","aria-label":n,"aria-pressed":r,className:(0,i.A)("jetpack-mdc-icon-button","circle-icon","outlined","bordered",e),style:{width:`${t}px`,height:`${t}px`}},a)),l=({className:e,size:t=24,label:n,isPressed:r,...a})=>(0,o.createElement)("button",s()({type:"button","aria-label":n,"aria-pressed":r,className:(0,i.A)("jetpack-mdc-icon-button",e),style:{width:`${t}px`,height:`${t}px`}},a))},20058:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(82170);const s=()=>(0,r.createElement)("div",{className:"wp-story-loading-spinner"},(0,r.createElement)("div",{className:"wp-story-loading-spinner__outer"},(0,r.createElement)("div",{className:"wp-story-loading-spinner__inner"})))},48907:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(82170),s=n(27723),o=n(35941),i=n(44227);const _x=s._x;function a({playing:e,muted:t,onPlayPressed:n,onMutePressed:s,showMute:a}){return(0,r.createElement)("div",{className:"wp-story-controls"},(0,r.createElement)(o.d,{isPressed:e,label:e?_x("pause","Button tooltip text","jetpack"):_x("play","Button tooltip text","jetpack",0),onClick:n},e?(0,r.createElement)(i.E$,null):(0,r.createElement)(i.ud,null)),a&&(0,r.createElement)(o.d,{isPressed:t,label:t?_x("unmute","Button tooltip text","jetpack"):_x("mute","Button tooltip text","jetpack",0),onClick:s},t?(0,r.createElement)(i.lQ,null):(0,r.createElement)(i.Fz,null)))}},41256:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(82170),s=n(27723),o=n(35941),i=n(44227);const __=s.__;function a({fullscreen:e,onExitFullscreen:t,siteIconUrl:n,storyTitle:s}){return e?(0,r.createElement)("div",{className:"wp-story-meta"},(0,r.createElement)("div",{className:"wp-story-icon"},(0,r.createElement)("img",{alt:__("Site icon","jetpack"),src:n,width:"40",height:"40"})),(0,r.createElement)("div",null,(0,r.createElement)("div",{className:"wp-story-title"},s)),(0,r.createElement)(o.d,{className:"wp-story-exit-fullscreen",label:__("Exit Fullscreen","jetpack"),onClick:t},(0,r.createElement)(i.US,null))):null}},44227:(e,t,n)=>{"use strict";n.d(t,{E$:()=>l,Ej:()=>p,Fz:()=>u,US:()=>c,af:()=>f,lQ:()=>d,ud:()=>a});var r=n(82170),s=n(5573),o=n(62289);const i=({children:e,size:t})=>(0,o.A)(e,t,t),a=({size:e})=>(0,r.createElement)(i,{size:e},(0,r.createElement)(s.Path,{d:"M8 5v14l11-7z"})),l=({size:e})=>(0,r.createElement)(i,{size:e},(0,r.createElement)(s.Path,{d:"M6 19h4V5H6v14zm8-14v14h4V5h-4z"})),c=({size:e})=>(0,r.createElement)(i,{size:e},(0,r.createElement)(s.Path,{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"})),u=({size:e})=>(0,r.createElement)(i,{size:e},(0,r.createElement)(s.Path,{d:"M3 9v6h4l5 5V4L7 9H3zm13.5 3c0-1.77-1.02-3.29-2.5-4.03v8.05c1.48-.73 2.5-2.25 2.5-4.02zM14 3.23v2.06c2.89.86 5 3.54 5 6.71s-2.11 5.85-5 6.71v2.06c4.01-.91 7-4.49 7-8.77s-2.99-7.86-7-8.77z"})),d=({size:e})=>(0,r.createElement)(i,{size:e},(0,r.createElement)(s.Path,{d:"M16.5 12c0-1.77-1.02-3.29-2.5-4.03v2.21l2.45 2.45c.03-.2.05-.41.05-.63zm2.5 0c0 .94-.2 1.82-.54 2.64l1.51 1.51C20.63 14.91 21 13.5 21 12c0-4.28-2.99-7.86-7-8.77v2.06c2.89.86 5 3.54 5 6.71zM4.27 3L3 4.27 7.73 9H3v6h4l5 5v-6.73l4.25 4.25c-.67.52-1.42.93-2.25 1.18v2.06c1.38-.31 2.63-.95 3.69-1.81L19.73 21 21 19.73l-9-9L4.27 3zM12 4L9.91 6.09 12 8.18V4z"})),p=({size:e})=>(0,r.createElement)(i,{size:e},(0,r.createElement)(s.Path,{d:"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"})),f=({size:e})=>(0,r.createElement)(i,{size:e},(0,r.createElement)(s.Path,{d:"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"}))},84545:(e,t,n)=>{"use strict";n.d(t,{$U:()=>c.$U,Dv:()=>r.A,H2:()=>s.A,VS:()=>a.A,Y9:()=>o.A,hJ:()=>i.A,xu:()=>l.A});var r=n(79809),s=n(48907),o=n(41256),i=n(38925),a=n(71645),l=n(20058),c=n(45221);n(35941)},45221:(e,t,n)=>{"use strict";n.d(t,{$U:()=>c});var r=n(96072),s=n.n(r),o=n(82170),i=n(13022);const a=({title:e,alt:t,className:n,id:r,mediaRef:s,mime:a,sizes:l,srcset:c,url:u})=>(0,o.createElement)("img",{ref:s,"data-id":r,"data-mime":a,title:e,alt:t,src:u,className:(0,i.A)("wp-story-image",`wp-image-${r}`,n),srcSet:c,sizes:l}),l=({title:e,className:t,id:n,mediaRef:r,mime:s,url:a,poster:l})=>(0,o.createElement)("video",{className:(0,i.A)("wp-story-video","intrinsic-ignore",`wp-video-${n}`,t),ref:r,"data-id":n,title:e,type:s,src:a,poster:l,tabIndex:-1,preload:"auto",playsInline:!0}),c=({targetAspectRatio:e,cropUpTo:t,type:n,width:r,height:i,...c})=>{let u=null;if(r&&i){const n=r/i;if(n>=e){n>e/(1-t)||(u="wp-story-crop-wide")}else{n{"use strict";n.d(t,{A:()=>c});var r=n(82170),s=n(86087),o=n(27723),i=n(14847),a=n(35941),l=n(44227);const __=o.__;function c({ended:e,hasPrevious:t,onNextSlide:n,onPreviousSlide:c,icon:u,slideCount:d,showSlideCount:p}){const f=(0,s.useCallback)((t=>{e||(t.stopPropagation(),c())}),[c,e]),m=(0,s.useCallback)((t=>{e||(t.stopPropagation(),n())}),[n,e]);return(0,r.createElement)("div",{className:"wp-story-overlay"},p&&(0,r.createElement)("div",{className:"wp-story-embed-icon"},u,(0,r.createElement)("span",null,d)),!p&&(0,r.createElement)("div",{className:"wp-story-embed-icon-expand"},(0,r.createElement)(i.A,{role:"img"})),t&&(0,r.createElement)("div",{className:"wp-story-prev-slide",onClick:f},(0,r.createElement)(a.k,{size:44,label:__("Previous Slide","jetpack"),className:"outlined-w"},(0,o.isRTL)()?(0,r.createElement)(l.af,{size:24}):(0,r.createElement)(l.Ej,{size:24}))),(0,r.createElement)("div",{className:"wp-story-next-slide",onClick:m},(0,r.createElement)(a.k,{size:44,label:__("Next Slide","jetpack"),className:"outlined-w"},(0,o.isRTL)()?(0,r.createElement)(l.Ej,{size:24}):(0,r.createElement)(l.af,{size:24}))))}},92248:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(82170),s=n(86087),o=n(13022),i=n(10938),a=n(41055),l=n(51266);const c=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(window.navigator.userAgent);function u({className:e,fullscreenClassName:t,bodyFullscreenClassName:n,fullscreen:u,shadowDOM:d,onKeyDown:p,onExitFullscreen:f,playerQuerySelector:m,children:g}){const y=(0,s.useRef)(void 0),h=(0,s.useRef)(void 0),[b,w]=(0,s.useState)(null),v=c&&i.Sn(),E=u&&!v,C=u&&v;return(0,s.useLayoutEffect)((()=>{if(v)u?y.current&&i.ql(y.current,f):i.ND()&&i.NS();else if(u){if(w([document.documentElement.scrollLeft,document.documentElement.scrollTop]),document.body.classList.add(n),document.getElementsByTagName("html")[0].classList.add(n),h.current){const e=h.current.querySelector(m);e&&e.focus()}}else if(document.body.classList.remove(n),document.getElementsByTagName("html")[0].classList.remove(n),b){window.scrollTo(...b);const e=y.current.querySelector(m);e&&e.focus()}}),[u]),(0,r.createElement)(r.Fragment,null,(0,r.createElement)(a.A,d,(0,r.createElement)("div",{ref:y,className:(0,o.A)(e,{[t]:C}),onKeyDown:p},!E&&g)),(0,r.createElement)(l.A,{className:(0,o.A)(e,{[t]:E}),isOpened:E,onRequestClose:f,shadowDOM:d,onKeyDown:E&&p,focusOnMount:!1,modalRef:h},E&&g))}},97896:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(82170),s=n(47143),o=n(86087),i=n(48558),a=n(92248),l=n(33470);n(57418);function c({id:e,slides:t,metadata:n,disabled:c,...u}){const d=(0,o.useMemo)((()=>e||Math.random().toString(36)),[e]),{init:p,setEnded:f,setPlaying:m,setFullscreen:g,showSlide:y}=(0,s.useDispatch)("jetpack/story/player"),{playing:h,currentSlideIndex:b,fullscreen:w,isReady:v,playerSettings:E}=(0,s.useSelect)((e=>{const{getCurrentSlideIndex:t,getSettings:n,isFullscreen:r,isPlayerReady:s,isPlaying:o}=e("jetpack/story/player");return s(d)?{playing:o(d),currentSlideIndex:t(d),isReady:!0,fullscreen:r(d),playerSettings:n(d)}:{isReady:!1}}),[d]);(0,o.useEffect)((()=>{v||p(d,{slideCount:t.length,...u})}),[v,d]);const C=(0,o.useCallback)((e=>{switch(e.keyCode){case i.ENTER:if(w)break;case i.SPACE:m(d,!h);break;case i.LEFT:b>0&&y(d,b-1);break;case i.RIGHT:b{g(d,!1)}),[d]);return v?(0,r.createElement)(a.A,{shadowDOM:E.shadowDOM,className:"wp-story-app",fullscreenClassName:"wp-story-fullscreen",bodyFullscreenClassName:"wp-story-in-fullscreen",playerQuerySelector:".wp-story-container",fullscreen:w,onExitFullscreen:S,onKeyDown:C},(0,r.createElement)(l.A,{id:d,slides:t,metadata:n,disabled:c})):null}},10938:(e,t,n)=>{"use strict";n.d(t,{ND:()=>s,NS:()=>i,Sn:()=>r,ql:()=>o});const r=()=>document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled,s=()=>document.fullscreenElement||document.webkitFullscreenElement||document.mozFullScreenElement||document.msFullScreenElement,o=(e,t)=>{if((e.requestFullscreen||e.webkitRequestFullScreen||e.mozRequestFullScreen||e.msRequestFullscreen).call(e),t){const e=()=>{document.fullscreenElement||(document.removeEventListener("fullscreenchange",e),t())};document.addEventListener("fullscreenchange",e)}},i=()=>(document.exitFullscreen||document.webkitExitFullscreen||document.mozCancelFullScreen||document.msExitFullscreen).call(document)},41055:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(82170),s=n(86087);const o=window&&window.Element&&Object.hasOwn(window.Element.prototype,"attachShadow");function i({enabled:e,delegatesFocus:t=!1,mode:n="open",globalStyleElements:i=[],adoptedStyleSheets:l=null,mountOnElement:c=null,children:u}){const[d,p]=(0,s.useState)(null),f=c||d,[m,g]=(0,s.useState)(null),y="string"==typeof i?[...document.querySelectorAll(i)]:i,h=o&&e&&y.length>0,b=(0,s.useCallback)((e=>{null!==e&&p(e.parentNode)}),[]);if((0,s.useEffect)((()=>{if(!f)return;if(f.shadowRoot)return void g(f.shadowRoot);const e=f.attachShadow({delegatesFocus:t,mode:n});l&&(e.adoptedStyleSheets=l),g(e)}),[f]),h&&!m)return c?null:(0,r.createElement)("span",{ref:b});const w=(0,r.createElement)(r.Fragment,null,h&&(0,r.createElement)(a,{globalStyleElements:y}),u);return h?(0,s.createPortal)(w,m):w}function a({globalStyleElements:e}){return(0,r.createElement)(r.Fragment,null,e.map((({id:e,tagName:t,attributes:n,innerHTML:s},o)=>"LINK"===t?(0,r.createElement)("link",{key:e||o,id:e,rel:n.rel.value,href:n.href.value}):"STYLE"===t?(0,r.createElement)("style",{key:e||o,id:e},s):void 0)))}},96464:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(86087);const s=e=>{const t=(0,r.useRef)(void 0),n=(0,r.useRef)(void 0),s=(0,r.useRef)(e),o=(0,r.useCallback)((e=>{e.touches&&1===e.touches.length&&e.preventDefault()}),[]);return(0,r.useEffect)((()=>{s.current=e}),[e]),{onTouchStart:(0,r.useCallback)((e=>{e.target&&(e.target.addEventListener("touchend",o,{passive:!1}),n.current=e.target),t.current=setTimeout((()=>{s.current&&s.current(!0),t.current=null}),200)}),[]),onTouchEnd:(0,r.useCallback)((e=>{t.current?clearTimeout(t.current):(s.current&&s.current(!1),e.stopPropagation()),n.current&&n.current.removeEventListener("touchend",o)}),[])}}},55028:(e,t,n)=>{"use strict";async function r(e){const t=e.tagName.toLowerCase();if("img"===t){if(e.complete)return;await new Promise((t=>{e.addEventListener("load",t,{once:!0})}))}else if("video"===t||"audio"===t){if(e.HAVE_ENOUGH_DATA===e.readyState)return;await new Promise((t=>{e.addEventListener("canplaythrough",t,{once:!0}),e.addEventListener("load",t,{once:!0}),e.HAVE_NOTHING===e.readyState&&e.networkState!==e.NETWORK_LOADING&&e.load()}))}}n.d(t,{A:()=>r})},72246:(e,t,n)=>{"use strict";n.d(t,{WI:()=>a,fe:()=>l});var r=n(66087);const s=new Set(["alert","status","log","marquee","timer"]);let o=[],i=!1;function a(e){if(i)return;const t=document.body.children;(0,r.forEach)(t,(t=>{t!==e&&function(e){const t=e.getAttribute("role");return!("SCRIPT"===e.tagName||e.hasAttribute("aria-hidden")||e.hasAttribute("aria-live")||s.has(t))}(t)&&(t.setAttribute("aria-hidden","true"),o.push(t))})),i=!0}function l(){i&&((0,r.forEach)(o,(e=>{e.removeAttribute("aria-hidden")})),o=[],i=!1)}},38215:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(82170),s=n(29491),o=n(48558);function i({overlayClassName:e,children:t,className:n,focusOnMount:i,shouldCloseOnEsc:a=!0,onRequestClose:l,onKeyDown:c,modalRef:u}){const d=(0,s.useFocusOnMount)(i),p=(0,s.useConstrainedTabbing)(),f=(0,s.useFocusReturn)();return(0,r.createElement)("div",{className:e,onKeyDown:function(e){a&&e.keyCode===o.ESCAPE&&(e.stopPropagation(),l&&l(e)),e.target&&"button"===e.target.tagName.toLowerCase()&&e.keyCode===o.SPACE||c&&c(e)}},(0,r.createElement)("div",{className:n,ref:(0,s.useMergeRefs)([p,f,d,u])},t))}},51266:(e,t,n)=>{"use strict";n.d(t,{A:()=>g});var r=n(96072),s=n.n(r),o=n(82170),i=n(29491),a=n(86087),l=n(41055),c=n(72246),u=n(38215);let d,p=0;const f=()=>{};class m extends a.Component{constructor(e){super(e),this.prepareDOM()}componentDidMount(){p++,1===p&&this.openFirstModal()}componentWillUnmount(){p--,0===p&&this.closeLastModal(),this.cleanDOM()}prepareDOM(){d||(d=document.createElement("div"),document.body.appendChild(d)),this.node=document.createElement("div"),d.appendChild(this.node),this.node.ontouchstart=f,this.node.ontouchend=f}cleanDOM(){this.node&&d&&d.contains(this.node)&&d.removeChild(this.node),this.node=null}openFirstModal(){c.WI(d)}closeLastModal(){c.fe()}render(){const{children:e,isOpened:t,shadowDOM:n,...r}=this.props;return(0,o.createElement)(l.A,s()({},n,{mountOnElement:this.node}),t&&(0,o.createElement)(u.A,r,e))}}m.defaultProps={shouldCloseOnEsc:!0,isOpened:!1,focusOnMount:!0};const g=(0,i.withInstanceId)(m)},33470:(e,t,n)=>{"use strict";n.d(t,{A:()=>v});var r=n(96072),s=n.n(r),o=n(82170),i=n(85985),a=n(63162),l=n(29491),c=n(47143),u=n(86087),d=n(27723),p=n(13022),f=n(66087),m=n(68331),g=n(84545),y=n(96464),h=n(65489),b=n(42153);const __=d.__,w=(0,i.sh)(m);function v({id:e,slides:t,metadata:n,disabled:r}){const{setFullscreen:i,setEnded:d,setPlaying:m,setMuted:v,showSlide:E}=(0,c.useDispatch)("jetpack/story/player"),{playing:C,muted:S,currentSlideIndex:k,currentSlideEnded:O,ended:x,fullscreen:P,settings:A}=(0,c.useSelect)((t=>{const{getCurrentSlideIndex:n,getSettings:r,hasCurrentSlideEnded:s,hasEnded:o,isFullscreen:i,isMuted:a,isPlaying:l}=t("jetpack/story/player");return{playing:l(e),muted:a(e),currentSlideIndex:n(e),currentSlideEnded:s(e),ended:o(e),fullscreen:i(e),settings:r(e)}}),[e]),j=(0,u.useRef)(void 0),[_,F]=(0,u.useState)(null),[M,{width:T,height:I}]=(0,l.useResizeObserver)(),[R,N]=(0,u.useState)(A.defaultAspectRatio),L=(0,f.some)(t,(e=>(0,a.isBlobURL)(e.url))),D=t=>{E(e,t)},U=(0,u.useCallback)((()=>{r||P||A.playInFullscreen&&!C&&m(e,!0)}),[C,r,P]),{onTouchStart:z,onTouchEnd:B}=(0,y.A)((t=>{m(e,!t)}),[]),H=(0,u.useCallback)((()=>{k>0&&D(k-1)}),[k]),$=(0,u.useCallback)((()=>{k{i(e,!1)}),[]);let V,W;return(0,u.useEffect)((()=>{r&&C&&m(e,!1)}),[r,C]),(0,u.useEffect)((()=>{C&&O&&$()}),[C,O]),(0,u.useLayoutEffect)((()=>{if(!j.current)return;let e=Math.round(A.defaultAspectRatio*j.current.offsetHeight);P&&(e=Math.abs(1-e/T){_&&j.current&&j.current.offsetHeight>0&&N(_/j.current.offsetHeight)}),[_]),V=P?[__("You are currently playing a story.","jetpack"),C?__("Press space to pause.","jetpack"):__("Press space to play.","jetpack",0),__("Press escape to exit.","jetpack")].join(" "):__("Play story","jetpack"),W=r?"presentation":P?"dialog":"button",(0,o.createElement)("div",{className:"wp-story-display-contents"},M,(0,o.createElement)("div",{role:W,"aria-label":V,tabIndex:P?-1:0,className:(0,p.A)("wp-story-container",{"wp-story-with-controls":!r&&!P&&!A.playInFullscreen,"wp-story-fullscreen":P,"wp-story-ended":x,"wp-story-disabled":r,"wp-story-clickable":!r&&!P}),style:{maxWidth:`${_}px`},onClick:U,onTouchStart:z,onTouchEnd:B},(0,o.createElement)(g.Y9,s()({},n,{fullscreen:P,onExitFullscreen:q})),(0,o.createElement)("div",{ref:j,className:"wp-story-wrapper"},t.map(((t,n)=>(0,o.createElement)(b.A,{playerId:e,key:n,media:t,index:n,playing:!r&&C,uploading:L,settings:A,targetAspectRatio:R})))),(0,o.createElement)(g.hJ,{icon:w,slideCount:t.length,showSlideCount:A.showSlideCount,ended:x,hasPrevious:k>0,onPreviousSlide:H,onNextSlide:$}),A.showProgressBar&&(0,o.createElement)(h.Ay,{playerId:e,slides:t,disabled:!P,onSlideSeek:D,maxBullets:P?A.maxBulletsFullscreen:A.maxBullets}),(0,o.createElement)(g.H2,{playing:C,muted:S,onPlayPressed:()=>m(e,!C),onMutePressed:()=>v(e,!S),showMute:(e=>{const n=ek&&t[k]}))}},65489:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>l});var r=n(82170),s=n(47143),o=n(66087),i=n(84545);const a=({bulletIndex:e,playerId:t,index:n,disabled:o,isSelected:a,onClick:l})=>{const c=(0,s.useSelect)((e=>e("jetpack/story/player").getCurrentSlideProgressPercentage(t)),[t]);return(0,r.createElement)(i.Dv,{key:`bullet-${e}`,index:n,progress:c,disabled:o,isSelected:a,onClick:l})},l=({playerId:e,slides:t,disabled:n,onSlideSeek:l,maxBullets:c})=>{const{currentSlideIndex:u}=(0,s.useSelect)((t=>({currentSlideIndex:t("jetpack/story/player").getCurrentSlideIndex(e)})),[e]),d=Math.min(t.length,c),p=Math.floor(d/2);let f,m=0,g=t.length-1;return t.length<=c||u=t.length-p?(f=u-t.length+d,m=t.length-d):(f=p,m=u-p,g=u+p),(0,r.createElement)("div",{className:"wp-story-pagination wp-story-pagination-bullets",role:"tablist"},m>0&&(0,r.createElement)(i.Dv,{key:"bullet-0",index:m-1,progress:100,isEllipsis:!0}),(0,o.range)(1,d+1).map(((t,s)=>{const o=s+m;let c=null;if(ou))return(0,r.createElement)(a,{playerId:e,bulletIndex:s,key:`bullet-${s}`,index:o,disabled:n,isSelected:f===s,onClick:()=>l(o)});c=0}return(0,r.createElement)(i.Dv,{key:`bullet-${s}`,index:o,progress:c,disabled:n,isSelected:f===s,onClick:()=>l(o)})})),g{"use strict";n.d(t,{A:()=>d});var r=n(96072),s=n.n(r),o=n(82170),i=n(47143),a=n(86087),l=n(13022),c=n(84545),u=n(55028);const d=({playerId:e,media:t,index:n,playing:r,uploading:d,settings:p,targetAspectRatio:f})=>{const{currentSlideIndex:m,buffering:g}=(0,i.useSelect)((t=>({currentSlideIndex:t("jetpack/story/player").getCurrentSlideIndex(e),buffering:t("jetpack/story/player").isBuffering(e)})),[e]),{slideReady:y}=(0,i.useDispatch)("jetpack/story/player"),h=n===m,b=(0,a.useRef)(null),[w,v]=(0,a.useState)(!1),[E,C]=(0,a.useState)(!0);return(0,a.useEffect)((()=>{if(h&&!E){const t=b.current&&b.current.src&&"video"===b.current.tagName.toLowerCase()?b.current:null;y(e,b.current,t?t.duration:p.imageTime)}}),[h,E]),(0,a.useEffect)((()=>{n<=m+(r?1:0)&&v(!0)}),[r,m]),(0,a.useLayoutEffect)((()=>{b.current&&(0,u.A)(b.current).then((()=>{C(!1)}))}),[w,d]),(0,o.createElement)(o.Fragment,null,h&&(E||d||g)&&(0,o.createElement)("div",{className:(0,l.A)("wp-story-slide","is-loading",{transparent:r&&g,"semi-transparent":d||!r&&g})},(0,o.createElement)(c.xu,null)),(0,o.createElement)("div",{role:"figure",className:"wp-story-slide",style:{display:h&&!E?"block":"none"},tabIndex:h?0:-1},w&&(0,o.createElement)(c.$U,s()({},t,{targetAspectRatio:f,cropUpTo:p.cropUpTo,index:n,mediaRef:b}))))}},87561:(e,t,n)=>{"use strict";function r(e,t){return{type:"SET_MUTED",value:t,playerId:e}}function s(e,t){return{type:"SET_PLAYING",value:t,playerId:e}}function o(e,t){return{type:"SHOW_SLIDE",index:t,playerId:e}}function i(e,t,n){return{type:"SLIDE_READY",mediaElement:t,duration:n,playerId:e}}function a(e,t){return{type:"SET_CURRENT_SLIDE_PROGRESS",value:t,playerId:e}}function l(e){return{type:"RESET_CURRENT_SLIDE_PROGRESS",playerId:e}}function c(e){return{type:"SET_CURRENT_SLIDE_ENDED",playerId:e}}function u(e,t){return{type:"SET_FULLSCREEN",playerId:e,fullscreen:t}}function d(e){return{type:"ENDED",playerId:e}}function p(e,t={}){return{type:"INIT",playerId:e,settings:t}}function f(e,t){return{type:"SET_BUFFERING",value:t,playerId:e}}n.r(t),n.d(t,{init:()=>p,resetCurrentSlideProgress:()=>l,setBuffering:()=>f,setCurrentSlideEnded:()=>c,setCurrentSlideProgress:()=>a,setEnded:()=>d,setFullscreen:()=>u,setMuted:()=>r,setPlaying:()=>s,showSlide:()=>o,slideReady:()=>i})},75483:(e,t,n)=>{"use strict";n.d(t,{Tb:()=>r,kD:()=>o,nh:()=>s});const r={currentTime:0,duration:null,timeout:null,lastUpdate:null},s={progress:r,index:0,mediaElement:null,duration:null,ended:!1,ready:!1},o={slideCount:0,currentSlide:s,previousSlide:null,muted:!1,playing:!1,ended:!1,buffering:!1,fullscreen:!1,settings:{imageTime:5,startMuted:!1,playInFullscreen:!0,playOnNextSlide:!0,playOnLoad:!1,exitFullscreenOnEnd:!0,loadInFullscreen:!1,blurredBackground:!0,showSlideCount:!1,showProgressBar:!0,shadowDOM:{enabled:!0,mode:"open",globalStyleElements:'#jetpack-block-story-css, link[href*="jetpack/_inc/blocks/story/view.css"]'},defaultAspectRatio:.5625,cropUpTo:.2,volume:.8,maxBullets:7,maxBulletsFullscreen:14}}},24500:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(87561),s=n(79920);const o=e=>e&&e.src&&"video"===e.tagName.toLowerCase();function i(e,t){const{getState:n}=t,r=e.playerId,i=(0,s.getCurrentMediaElement)(n(),r),a=(0,s.getPreviousSlideMediaElement)(n(),r);if(o(a)&&(a.currentTime=0,a.onwaiting=null,a.onplaying=null,a.pause()),!o(i))return;const l=(0,s.isMuted)(n(),r),c=(0,s.isPlaying)(n(),r),u=(0,s.getSettings)(n(),r);l!==i.muted&&(i.muted=l,l||(i.volume=u.volume)),c?i.play():i.pause()}function a(e,t){const{getState:n,dispatch:i}=t,l=e.playerId,c=(0,s.isCurrentSlideReady)(n(),l),u=(0,s.isPlaying)(n(),l),d=(0,s.getCurrentSlideProgress)(n(),l);if(clearTimeout(d.timeout),!u||!c)return void(d.lastUpdate&&i((0,r.setCurrentSlideProgress)(l,{...d,lastUpdate:null})));const p=(0,s.getCurrentMediaElement)(n(),l),f=(0,s.getCurrentMediaDuration)(n(),l),m=d.lastUpdate?Date.now()-d.lastUpdate:100,g=o(p)?p.currentTime:d.currentTime+m/1e3;if(g>=f){i((0,r.setCurrentSlideEnded)(l));const e=(0,s.getSlideCount)(n(),l);(0,s.getCurrentSlideIndex)(n(),l)===e-1&&i((0,r.setEnded)(l))}else i((0,r.setCurrentSlideProgress)(l,{timeout:setTimeout((()=>a(e,t)),100),lastUpdate:Date.now(),duration:f,currentTime:g}))}const l={SET_PLAYING:[a,i],SLIDE_READY:[function(e,t){const{getState:n,dispatch:i}=t,a=e.playerId,l=(0,s.getCurrentMediaElement)(n(),a);if(!o(l))return;const c=(0,s.getCurrentSlideProgress)(n(),a);0===l.currentTime&&c.currentTime>0&&(l.currentTime=c.currentTime),l.onwaiting=()=>i((0,r.setBuffering)(a,!0)),l.onplaying=()=>i((0,r.setBuffering)(a,!1))},a,i],SET_MUTED:i,SHOW_SLIDE:i}},57418:(e,t,n)=>{"use strict";var r=n(47143),s=n(87561),o=n(74439),i=n(54502),a=n(79920);const l=(0,r.registerStore)("jetpack/story/player",{actions:s,reducer:i.A,selectors:a});(0,o.A)(l)},74439:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(66087),s=n(32047),o=n.n(s),i=n(24500);function a(e){const t=[o()(i.A)];let n=()=>{throw new Error("Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")},s=[];const a={getState:e.getState,dispatch:(...e)=>n(...e)};return s=t.map((e=>e(a))),n=(0,r.flowRight)(...s)(e.dispatch),e.dispatch=n,e}},54502:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(66087),s=n(75483);function o(e=s.kD,t){switch(t.type){case"SHOW_SLIDE":{const n=e.currentSlide===t.index+1;return{...e,currentSlide:{...s.nh,index:t.index},previousSlide:e.currentSlide,playing:n?e.settings.playOnNextSlide:e.playing}}case"SLIDE_READY":return{...e,buffering:!1,currentSlide:{...e.currentSlide,mediaElement:t.mediaElement,duration:t.duration,ready:!0},previousSlide:null};case"SET_CURRENT_SLIDE_PROGRESS":return{...e,currentSlide:{...e.currentSlide,progress:t.value}};case"SET_CURRENT_SLIDE_ENDED":return{...e,currentSlide:{...e.currentSlide,ended:!0}};case"RESET_CURRENT_SLIDE_PROGRESS":return{...e,currentSlide:{...e.currentSlide,progress:{...s.Tb}}};case"SET_MUTED":return{...e,muted:t.value};case"SET_PLAYING":{const n=t.value&&e.ended;return{...e,playing:t.value,buffering:!!t.value&&e.buffering,fullscreen:!e.playing&&t.value?e.settings.playInFullscreen:e.fullscreen,ended:!n&&e.ended,currentSlide:n?{...s.nh,index:0}:e.currentSlide,previousSlide:n?null:e.previousSlide}}case"SET_BUFFERING":return{...e,buffering:t.value};case"SET_FULLSCREEN":return{...e,fullscreen:t.fullscreen,playing:!(e.fullscreen&&!t.fullscreen&&e.settings.playInFullscreen)&&e.playing};case"INIT":{const n=(0,r.merge)({},e.settings,t.settings);return{...e,settings:n,playing:n.playOnLoad,fullscreen:n.loadInFullscreen}}case"ENDED":return{...e,currentSlide:{...s.nh,index:e.settings.slideCount-1,progress:{...s.Tb,currentTime:100,duration:100}},ended:!0,playing:!1,fullscreen:!e.settings.exitFullscreenOnEnd}}return e}function i(e={},t){return t.playerId?{...e,[t.playerId]:o(e[t.playerId],t)}:e}},79920:(e,t,n)=>{"use strict";function r(e,t){return!!e[t]}function s(e,t){return e[t].currentSlide.index}function o(e,t){return e[t].currentSlide.progress}function i(e,t){const n=e[t].currentSlide.progress.currentTime,r=e[t].currentSlide.progress.duration,s=Math.round(100*n/r);return s>=100?100:s}function a(e,t){return e[t].playing}function l(e,t){return e[t].muted}function c(e,t){return e[t].buffering}function u(e,t){return e[t].currentSlide.mediaElement}function d(e,t){return e[t].currentSlide.duration}function p(e,t){return e[t].currentSlide.ended}function f(e,t){return e[t].currentSlide.ready}function m(e,t){return e[t].previousSlide?.mediaElement}function g(e,t){return e[t].fullscreen}function y(e,t){return e[t].ended}function h(e,t){return e[t].settings}function b(e,t){return e[t].settings.slideCount}n.r(t),n.d(t,{getCurrentMediaDuration:()=>d,getCurrentMediaElement:()=>u,getCurrentSlideIndex:()=>s,getCurrentSlideProgress:()=>o,getCurrentSlideProgressPercentage:()=>i,getPreviousSlideMediaElement:()=>m,getSettings:()=>h,getSlideCount:()=>b,hasCurrentSlideEnded:()=>p,hasEnded:()=>y,isBuffering:()=>c,isCurrentSlideReady:()=>f,isFullscreen:()=>g,isMuted:()=>l,isPlayerReady:()=>r,isPlaying:()=>a})},79366:(e,t,n)=>{"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&(n.p=window.Jetpack_Block_Assets_Base_Url)},62289:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(82170),s=n(5573);const o=(e,t=24,n=24,o="0 0 24 24")=>(0,r.createElement)(s.SVG,{xmlns:"http://www.w3.org/2000/svg",width:t,height:n,viewBox:o},(0,r.createElement)(s.Path,{fill:"none",d:"M0 0h24v24H0V0z",className:"icon-filler"}),e)},10067:(e,t,n)=>{t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const n="color: "+this.color;t.splice(1,0,n,"color: inherit");let r=0,s=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(r++,"%c"===e&&(s=r))})),t.splice(s,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(e){}!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=n(78926)(t);const{formatters:r}=e.exports;r.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},78926:(e,t,n)=>{e.exports=function(e){function t(e){let n,s,o,i=null;function a(...e){if(!a.enabled)return;const r=a,s=Number(new Date),o=s-(n||s);r.diff=o,r.prev=n,r.curr=s,n=s,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let i=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,((n,s)=>{if("%%"===n)return"%";i++;const o=t.formatters[s];if("function"==typeof o){const t=e[i];n=o.call(r,t),e.splice(i,1),i--}return n})),t.formatArgs.call(r,e);(r.log||t.log).apply(r,e)}return a.namespace=e,a.useColors=t.useColors(),a.color=t.selectColor(e),a.extend=r,a.destroy=t.destroy,Object.defineProperty(a,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==i?i:(s!==t.namespaces&&(s=t.namespaces,o=t.enabled(e)),o),set:e=>{i=e}}),"function"==typeof t.init&&t.init(a),a}function r(e,n){const r=t(this.namespace+(void 0===n?":":n)+e);return r.log=this.log,r}function s(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},t.disable=function(){const e=[...t.names.map(s),...t.skips.map(s).map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){let n;t.save(e),t.namespaces=e,t.names=[],t.skips=[];const r=("string"==typeof e?e:"").split(/[\s,]+/),s=r.length;for(n=0;n{t[n]=e[n]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let n=0;for(let t=0;t{"use strict";t.A=function(e){var t=e.size,n=void 0===t?24:t,r=e.onClick,a=(e.icon,e.className),l=function(e,t){if(null==e)return{};var n,r,s=function(e,t){if(null==e)return{};var n,r,s={},o=Object.keys(e);for(r=0;r{"use strict";n.d(t,{Cl:()=>r});var r=function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n{"use strict";function r(e){return e.charAt(0).toUpperCase()+e.substr(1)}n.d(t,{R:()=>r})},88415:(e,t,n)=>{"use strict";n.d(t,{l:()=>r});function r(e){return e.toUpperCase()}},39384:e=>{"use strict";e.exports=window.JetpackConnection},51609:e=>{"use strict";e.exports=window.React},75795:e=>{"use strict";e.exports=window.ReactDOM},66087:e=>{"use strict";e.exports=window.lodash},1455:e=>{"use strict";e.exports=window.wp.apiFetch},63162:e=>{"use strict";e.exports=window.wp.blob},29491:e=>{"use strict";e.exports=window.wp.compose},47143:e=>{"use strict";e.exports=window.wp.data},98490:e=>{"use strict";e.exports=window.wp.domReady},86087:e=>{"use strict";e.exports=window.wp.element},89877:e=>{"use strict";e.exports=window.wp.escapeHtml},27723:e=>{"use strict";e.exports=window.wp.i18n},48558:e=>{"use strict";e.exports=window.wp.keycodes},92279:e=>{"use strict";e.exports=window.wp.plugins},5573:e=>{"use strict";e.exports=window.wp.primitives},93832:e=>{"use strict";e.exports=window.wp.url},98504:e=>{e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},96072:e=>{function t(){return e.exports=t=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";function r(e){var t,n,s="";if("string"==typeof e||"number"==typeof e)s+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;ts});const s=function(){for(var e,t,n=0,s="",o=arguments.length;n{"use strict";e.exports=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"jetpack/story","title":"Story","description":"Add an interactive story.","keywords":["story","image","video","gallery"],"version":"12.5.0","textdomain":"jetpack","category":"media","icon":"","supports":{"html":false},"attributes":{"settings":{"type":"object"},"mediaFiles":{"type":"array","default":[]}},"example":{"attributes":{"mediaFiles":[{"alt":"","caption":"","mime":"image/jpg","type":"image","id":22,"url":"./storyExample1.png"}]}}}')}},t={};function n(r){var s=t[r];if(void 0!==s)return s.exports;var o=t[r]={exports:{}};return e[r](o,o.exports,n),o.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;n.g.importScripts&&(e=n.g.location+"");var t=n.g.document;if(!e&&t&&(t.currentScript&&"SCRIPT"===t.currentScript.tagName.toUpperCase()&&(e=t.currentScript.src),!e)){var r=t.getElementsByTagName("script");if(r.length)for(var s=r.length-1;s>-1&&(!e||!/^http(s?):/.test(e));)e=r[s--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),n.p=e+"../"})(),(()=>{"use strict";n(79366)})(),(()=>{"use strict";var e=n(96072),t=n.n(e),r=n(82170),s=n(98490),o=n.n(s),i=n(86087),a=n(97896);if("undefined"!=typeof window){const e=Array.from(new URLSearchParams(window.location.search).entries()).filter((e=>e[0].startsWith("wp-story-"))).reduce(((e,t)=>{const n=t[0].replace(/^wp-story-/,"").replace(/-([a-z])/g,(e=>e[1].toUpperCase()));try{e[n]=JSON.parse(t[1])}catch(r){e[n]=JSON.parse(`"${t[1]}"`)}return e}),{});o()((function(){const n=[...document.querySelectorAll(":not(#debug-bar-wp-query) .wp-story")];n.forEach((s=>{if("true"===s.getAttribute("data-block-initialized"))return;let o=null;1===n.length&&(o={...e});const l=s.getAttribute("data-settings");if(l)try{o={...o,...JSON.parse(l)}}catch(e){}!function(e,n){"string"==typeof e&&(e=document.querySelectorAll(e));const s=e.querySelector(".wp-story-wrapper"),o=e.querySelector(".wp-story-meta");let l=[];s&&s.children.length>0&&(l=function(e){return[...e.querySelectorAll("li > figure > :first-child")].map((e=>({alt:e.getAttribute("alt")||e.getAttribute("title"),mime:e.getAttribute("data-mime")||e.getAttribute("type"),url:e.getAttribute("src"),id:e.getAttribute("data-id"),type:"img"===e.tagName.toLowerCase()?"image":"video",srcset:e.getAttribute("srcset"),sizes:e.getAttribute("sizes")})))}(s));let c={};o&&o.children.length>0&&(c=function(e){const t=e.querySelector("div:first-child > img"),n=e.querySelector(".wp-story-title"),r=t&&t.src;return{storyTitle:n&&n.innerText,siteIconUrl:r}}(o));const u=function(e){return e.getAttribute("data-id")}(e),d=document.querySelector(`[data-id='${u}']`);d&&(0,i.createRoot)(d).render((0,r.createElement)(a.A,t()({id:u,slides:l,metadata:c,disabled:!1},n)))}(s,o)}))}))}})()})(); \ No newline at end of file diff --git a/_inc/build/admin.asset.php b/_inc/build/admin.asset.php index b0acdc6e12..b604da11de 100644 --- a/_inc/build/admin.asset.php +++ b/_inc/build/admin.asset.php @@ -1 +1 @@ - array('jetpack-connection', 'jetpack-script-data', 'jquery', 'lodash', 'react', 'react-dom', 'react-jsx-runtime', 'wp-api-fetch', 'wp-block-editor', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-date', 'wp-edit-post', 'wp-editor', 'wp-element', 'wp-html-entities', 'wp-i18n', 'wp-media-utils', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-url'), 'version' => '9f31fcb9049c035fd4b2'); + array('jetpack-connection', 'jetpack-script-data', 'jquery', 'lodash', 'react', 'react-dom', 'react-jsx-runtime', 'wp-api-fetch', 'wp-block-editor', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-date', 'wp-edit-post', 'wp-editor', 'wp-element', 'wp-html-entities', 'wp-i18n', 'wp-media-utils', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-url'), 'version' => 'd04fb92e1f09d4d85e50'); diff --git a/_inc/build/admin.js b/_inc/build/admin.js index 267e90bc76..368cb4bb9e 100644 --- a/_inc/build/admin.js +++ b/_inc/build/admin.js @@ -18,11 +18,11 @@ __("Set up & redeem %s","jetpack"),c.product.title),redirectUri:`admin.php?page= __("Redeem your coupon and get started with %s for free the first year!","jetpack"),c.product.title)),p().createElement("ul",null,c.product.features.map(((e,t)=>p().createElement("li",{key:t},e)))),o.hasConnectedOwner&&p().createElement(s.A,{label:(0,i.sprintf)(/* translators: %s: Name of a Jetpack product. */ __("Redeem %s","jetpack"),c.product.title),onClick:k})))};u.propTypes={apiRoot:c().string.isRequired,apiNonce:c().string.isRequired,assetBaseUrl:c().string.isRequired,connectionStatus:c().object.isRequired,partnerCoupon:c().object.isRequired,registrationNonce:c().string.isRequired,siteRawUrl:c().string.isRequired,tracksUserData:c().bool.isRequired,analytics:c().object};const m=u},38745:(e,t,a)=>{"use strict";a.d(t,{ry:()=>s.A});var s=a(94263);a(92938),a(65905)},7162:(e,t,a)=>{"use strict";a.d(t,{ConnectionManagement:()=>r.A,SocialImageGeneratorToggle:()=>n.A,TemplatePickerButton:()=>i.A,UtmToggle:()=>o.A,features:()=>c.features,getSocialScriptData:()=>c.getSocialScriptData,hasSocialPaidFeatures:()=>c.hasSocialPaidFeatures,store:()=>s.M_});var s=a(31963),n=(a(10267),a(70925),a(81115),a(97192),a(29341),a(12226),a(98725)),i=a(29761),r=(a(66561),a(25300),a(26029),a(26637)),o=a(7610),c=(a(50001),a(39553),a(77627),a(31873),a(70407));a(1101),a(75168),a(49036),a(383),a(38656),a(49192),a(48222),a(51371),a(50646),a(47453)},12141:(e,t,a)=>{"use strict";a.d(t,{A:()=>l});var s=a(78478),n=a(86087),i=a(13022),r=a(28120),o=a.n(r);const c=e=>{const{checked:t,serviceName:a,label:r,onClick:o,profilePicture:c}=e,[l,p]=(0,n.useState)(!!c),d=(0,n.useCallback)((()=>p(!1)),[]),u=(0,n.useCallback)((e=>{13===e.keyCode&&o()}),[o]);return React.createElement("div",{onClick:o,onKeyDown:u,role:"switch","aria-checked":t,tabIndex:"0",className:(0,i.A)("components-connection-icon",{"components-connection-icon__picture":l})},l&&React.createElement("img",{src:c,alt:r,onError:d}),React.createElement(s.M5,{alt:r,serviceName:"instagram-business"===a?"instagram":"twitter"===a?"x":a,className:"jetpack-publicize-gutenberg-social-icon"}))};c.propTypes={serviceName:o().string,label:o().string,profilePicture:o().string};const l=c},55488:(e,t,a)=>{"use strict";a.d(t,{T:()=>f});var s=a(51112),n=a(40597),i=a(56427),r=a(27723),o=a(51113),c=a(98248),l=a(64969),p=a(51609),d=a(12141),u=a(27817),m=a(86158),h=a(43119),g=a(52683),k=a(85605);const __=r.__,_x=r._x;function f({connection:e,service:t}){const[a,r]=(0,p.useReducer)((e=>!e),!1);return React.createElement(React.Fragment,null,React.createElement("div",{className:k.A["connection-item"]},React.createElement(d.A,{serviceName:e.service_name,label:e.display_name||e.external_display,profilePicture:e.profile_picture}),React.createElement("div",{className:k.A["connection-name-wrapper"]},React.createElement("div",{className:k.A["connection-item-name"]},React.createElement(u.s,{connection:e})),React.createElement(m.v,{connection:e,service:t})),React.createElement(s.A,{size:"small",className:k.A["learn-more"],variant:"tertiary",onClick:r,"aria-label":a?__("Close panel","jetpack"):_x("Open panel","Accessibility label","jetpack")},React.createElement(o.A,{className:k.A.chevron,icon:a?c.A:l.A}))),React.createElement(i.Panel,{className:k.A["connection-panel"]},React.createElement(i.PanelBody,{opened:a,onToggle:r},React.createElement("div",{className:k.A["mark-shared-wrap"]},React.createElement(g.j,{connection:e}),React.createElement(n.A,null,__("If enabled, the connection will be available to all administrators, editors, and authors.","jetpack"))),React.createElement(h.V,{connection:e}))))}},27817:(e,t,a)=>{"use strict";a.d(t,{s:()=>c});var s=a(56427),n=a(47143),i=a(27723),r=a(31963),o=a(85605);const __=i.__;function c({connection:e}){const t=(0,n.useSelect)((t=>t(r.M_).getUpdatingConnections().includes(e.connection_id)),[e.connection_id]);return React.createElement("div",{className:o.A["connection-name"]},e.profile_link?React.createElement(s.ExternalLink,{className:o.A["profile-link"],href:e.profile_link},e.display_name||e.external_display||e.external_name):React.createElement("span",{className:o.A["profile-link"]},e.display_name||e.external_name),t?React.createElement(s.Spinner,{color:"black","aria-label":__("Updating account","jetpack")}):null)}},86158:(e,t,a)=>{"use strict";a.d(t,{v:()=>l});var s=a(3924),n=a(56427),i=a(86087),r=a(27723),o=a(43119),c=a(76046);const __=r.__;function l({connection:e,service:t}){return"broken"!==e.status?null:React.createElement("div",null,React.createElement("span",{className:"description"},t?__("There is an issue with this connection.","jetpack"):(0,i.createInterpolateElement)((0,r.sprintf)("%1$s %2$s",__("This platform is no longer supported.","jetpack"),__("You can use our Manual Sharing feature instead.","jetpack")),{link:React.createElement(n.ExternalLink,{href:(0,s.A)("jetpack-social-manual-sharing-help")})}))," ",t?React.createElement(c.C,{connection:e,service:t}):React.createElement(o.V,{connection:e,variant:"link",isDestructive:!1}))}},43119:(e,t,a)=>{"use strict";a.d(t,{V:()=>p});var s=a(51112),n=a(56427),i=a(47143),r=a(86087),o=a(27723),c=a(31963),l=a(85605);const __=o.__,_x=o._x;function p({connection:e,variant:t="secondary",isDestructive:a=!0,buttonClassName:p}){const[d,u]=(0,r.useReducer)((e=>!e),!1),{deleteConnectionById:m}=(0,i.useDispatch)(c.M_),{isDisconnecting:h}=(0,i.useSelect)((t=>{const{getDeletingConnections:a}=t(c.M_);return{isDisconnecting:a().includes(e.connection_id)}}),[e.connection_id]),g=(0,r.useCallback)((async()=>{u(),await m({connectionId:e.connection_id})}),[e.connection_id,m]);return e.can_disconnect?React.createElement(React.Fragment,null,React.createElement(n.__experimentalConfirmDialog,{className:l.A.confirmDialog,isOpen:d,onConfirm:g,onCancel:u,cancelButtonText:__("Cancel","jetpack"),confirmButtonText:__("Yes","jetpack")},(0,r.createInterpolateElement)((0,o.sprintf)( // translators: %s: The name of the connection the user is disconnecting. -__("Are you sure you want to disconnect %s?","jetpack"),e.display_name),{strong:React.createElement("strong",null)})),React.createElement(s.A,{size:"small",onClick:u,disabled:h,variant:t,isDestructive:a,className:p},h?__("Disconnecting…","jetpack"):_x("Disconnect","Disconnect a social media account","jetpack"))):null}},26637:(e,t,a)=>{"use strict";a.d(t,{A:()=>g});var s=a(51112),n=a(56427),i=a(47143),r=a(86087),o=a(27723),c=a(13022),l=a(50001),p=a(31963),d=a(48222),u=a(48712),m=a(55488),h=a(85605);const __=o.__,g=({className:e=null,disabled:t=!1})=>{const{refresh:a}=(0,l.A)(),{connections:o,deletingConnections:g,updatingConnections:k}=(0,i.useSelect)((e=>{const{getConnections:t,getDeletingConnections:a,getUpdatingConnections:s}=e(p.M_);return{connections:t(),deletingConnections:a(),updatingConnections:s()}}),[]);o.sort(((e,t)=>e.service_name===t.service_name?e.connection_id.localeCompare(t.connection_id):e.service_name.localeCompare(t.service_name))),(0,r.useEffect)((()=>{a()}),[a]);const f=(0,u.h)(),{openConnectionsModal:v}=(0,i.useDispatch)(p.M_);return React.createElement("div",{className:(0,c.A)(h.A.wrapper,e),inert:t?"true":void 0},o.length?React.createElement(React.Fragment,null,React.createElement("h3",null,__("Connected accounts","jetpack")),React.createElement("ul",{className:h.A["connection-list"]},o.map((e=>{const t=k.includes(e.connection_id)||g.includes(e.connection_id);return React.createElement("li",{className:h.A["connection-list-item"],key:e.connection_id},React.createElement(n.Disabled,{isDisabled:t},React.createElement(m.T,{connection:e,service:f(e.service_name)})))})))):null,React.createElement(d._,null),React.createElement(s.A,{variant:o.length?"secondary":"primary",onClick:v},__("Connect an account","jetpack")))}},52683:(e,t,a)=>{"use strict";a.d(t,{j:()=>c});var s=a(56427),n=a(47143),i=a(86087),r=a(27723),o=a(31963);const __=r.__;function c({connection:e}){const{updateConnectionById:t}=(0,n.useDispatch)(o.M_),{isUpdating:a}=(0,n.useSelect)((t=>{const{getUpdatingConnections:a}=t(o.M_);return{isUpdating:a().includes(e.connection_id)}}),[e.connection_id]),r=(0,i.useCallback)((a=>{t(e.connection_id,{shared:a})}),[e.connection_id,t]);return React.createElement(s.CheckboxControl,{checked:e.shared??!1,onChange:r,disabled:a||"broken"===e.status,label:__("Mark the connection as shared","jetpack"),__nextHasNoMarginBottom:!0})}},76046:(e,t,a)=>{"use strict";a.d(t,{C:()=>l});var s=a(51112),n=a(47143),i=a(86087),r=a(27723),o=a(31963),c=a(70745);const __=r.__,_x=r._x;function l({connection:e,service:t,variant:a="link"}){const{deleteConnectionById:r,setKeyringResult:l,openConnectionsModal:p,setReconnectingAccount:d}=(0,n.useDispatch)(o.M_),{isDisconnecting:u}=(0,n.useSelect)((t=>{const{getDeletingConnections:a}=t(o.M_);return{isDisconnecting:a().includes(e.connection_id)}}),[e.connection_id]),m=(0,i.useCallback)((e=>{l(e),e?.ID&&p()}),[p,l]),h=(0,c.P)({service:t,onConfirm:m}),g=(0,i.useCallback)((async()=>{if(!await r({connectionId:e.connection_id,showSuccessNotice:!1}))return;await d(e);const a=new FormData;"mastodon"===t.ID&&a.set("instance",e.external_display),"bluesky"===t.ID?p():h(a)}),[e,r,p,h,t.ID,d]);return e.can_disconnect?React.createElement(s.A,{size:"small",onClick:g,disabled:u,variant:a},u?__("Disconnecting…","jetpack"):_x("Reconnect","Reconnect a social media account","jetpack")):null}},91910:(e,t,a)=>{"use strict";a.d(t,{A:()=>c});var s=a(13022),n=a(28120),i=a.n(n),r=a(12141);const o=e=>{const{checked:t,disabled:a,onChange:n,serviceName:i,label:o,profilePicture:c}=e,l=(0,s.A)("components-connection-toggle",{"is-not-checked":!t,"is-disabled":a});return React.createElement("div",{className:l,title:o},React.createElement(r.A,{checked:t,label:o,onClick:n,serviceName:i,profilePicture:c}))};o.propTypes={className:i().string,checked:i().bool,id:i().string.isRequired,disabled:i().bool,onChange:i().func,serviceName:i().string,label:i().string,profilePicture:i().string};const c=o},10267:(e,t,a)=>{"use strict";var s=a(85985),n=a(56427),i=a(47143),r=a(86087),o=a(27723),c=a(31963),l=a(91910),p=a(95051),d=a(49514);const __=o.__;class u extends r.Component{maybeDisplayLinkedInNotice=()=>this.connectionNeedsReauth()&&React.createElement(n.Notice,{className:p.A["publicize-notice"],isDismissible:!1,status:"error"},React.createElement("p",null,__("Your LinkedIn connection needs to be reauthenticated to continue working – head to Sharing to take care of it.","jetpack")),React.createElement(n.ExternalLink,{href:`https://wordpress.com/marketing/connections/${(0,s.GE)()}`},__("Go to Sharing settings","jetpack")));connectionNeedsReauth=()=>this.props.mustReauthConnections.includes(this.props.name);onConnectionChange=()=>{const{id:e}=this.props;this.isDisabled()||this.props.toggleConnection(e)};connectionIsFailing(){const{failedConnections:e,name:t}=this.props;return e.some((e=>e.service_name===t))}isDisabled(){return this.props.disabled||this.connectionIsFailing()||this.connectionNeedsReauth()}render(){const{enabled:e,id:t,label:a,name:s,profilePicture:n}=this.props,i="connection-"+s+"-"+t,r=s.replace("_","-"),o=React.createElement(l.A,{id:i,className:d.A["connection-toggle"],checked:e,onChange:this.onConnectionChange,disabled:this.isDisabled(),serviceName:r,label:a,profilePicture:n});return React.createElement("li",null,this.maybeDisplayLinkedInNotice(),React.createElement("div",{className:d.A["connection-container"]},o))}}(0,i.withSelect)((e=>({failedConnections:e(c.Af).getFailedConnections(),mustReauthConnections:e(c.Af).getMustReauthConnections()})))(u)},77125:(e,t,a)=>{"use strict";a(56427),a(47143),a(86087),a(27723),a(77627),a(50001),a(31963),a(51371),a(51475),a(9515),a(71016)},64636:(e,t,a)=>{"use strict";a(97999),a(56427),a(27723),a(77627),a(50001),a(25349),a(71016)},14993:(e,t,a)=>{"use strict";a(85985),a(51609),a(77627),a(50001),a(10267),a(77125),a(57193),a(75013),a(25349),a(71016),a(50923),a(39329)},57193:(e,t,a)=>{"use strict";a(56427),a(27723),a(77627),a(50001),a(71016),a(39329)},9573:(e,t,a)=>{"use strict";a(85985),a(56427),a(27723),a(70407),a(71016),a(647)},70925:(e,t,a)=>{"use strict";a(56427),a(86087),a(7162),a(98420),a(54915),a(80624),a(52367),a(50001),a(48222),a(96390),a(64636),a(14993),a(9573),a(41190)},62697:(e,t,a)=>{"use strict";a(97999),a(56427),a(27723),a(27844),a(51475)},31099:(e,t,a)=>{"use strict";a(56427),a(47143),a(86087),a(27723),a(80682),a(31963),a(51475),a(9515)},75013:(e,t,a)=>{"use strict";a(98420),a(54915),a(80624),a(52367),a(80682),a(50001),a(62697),a(31099)},25349:(e,t,a)=>{"use strict";a(56427),a(47143),a(27723),a(77627),a(31963),a(51371),a(71016)},41190:(e,t,a)=>{"use strict";a(97999),a(39553),a(27844),a(12015),a(70694)},50923:(e,t,a)=>{"use strict";a(56427),a(86087),a(27723),a(7162),a(50001),a(51475)},647:(e,t,a)=>{"use strict";a(47143),a(43656),a(86087)},39329:(e,t,a)=>{"use strict";a(86087),a(51609),a(7162),a(98420),a(54915),a(80624),a(52367),a(80682),a(50001)},56457:(e,t,a)=>{"use strict";a(1455),a(56427),a(47143),a(43656),a(27723),a(51609),a(49747),a(60548)},47453:(e,t,a)=>{"use strict";a(51371),a(7757)},59493:(e,t,a)=>{"use strict";a.d(t,{O:()=>g});var s=a(63406),n=a(51112),i=a(3924),r=a(56427),o=a(47143),c=a(86087),l=a(27723),p=a(51475),d=a(31963),u=a(39630),m=a(18973);const __=l.__,_x=l._x;function h({label:e,profile_picture:t}){return React.createElement("div",{className:m.A["account-info"]},t?React.createElement("img",{className:m.A["profile-pic"],src:t,alt:e}):null,React.createElement("span",null,e))}function g({keyringResult:e,onComplete:t,isAdmin:a}){const l=(0,u.o)(),{existingConnections:g,reconnectingAccount:k}=(0,o.useSelect)((e=>{const t=e(d.M_);return{existingConnections:t.getConnections(),reconnectingAccount:t.getReconnectingAccount()}}),[]),{createErrorNotice:f}=(0,s.I)(),v=l.find((t=>t.ID===e.service)),E=(0,c.useCallback)((e=>g.some((t=>t.service_name===v?.ID&&t.external_id===e))),[g,v.ID]),_=(0,c.useMemo)((()=>{const t=[],a=[];if(!v)return{connected:t,not_connected:a};const s=[];if(v.external_users_only||s.push({label:e.external_display||e.external_name,value:e.external_ID,profile_picture:e.external_profile_picture}),v.multiple_external_user_ID_support&&e.additional_external_users?.length)for(const t of e.additional_external_users)s.push({label:t.external_name,value:t.external_ID,profile_picture:t.external_profile_picture});for(const e of s)E(e.value)?t.push(e):a.push(e);return{connected:t,not_connected:a}}),[E,e,v]),{createConnection:b,setReconnectingAccount:y}=(0,o.useDispatch)(d.M_),w=(0,c.useCallback)((async a=>{a.preventDefault(),a.stopPropagation();const s=a.target,n=new FormData(s),i=n.get("external_user_ID");if(!i)return void f(__("Please select an account to connect.","jetpack"));const r={external_user_ID:v.multiple_external_user_ID_support?i:void 0,keyring_connection_ID:e.ID,shared:"1"===n.get("shared")||void 0},o=_.not_connected.find((e=>e.value===i));k&&y(void 0),b(r,{display_name:o?.label,profile_picture:o?.profile_picture,service_name:v.ID,external_id:i}),t()}),[b,k,y,f,e.ID,t,v.multiple_external_user_ID_support,v.ID,_.not_connected]);return React.createElement("section",{className:m.A.confirmation},_.not_connected.length?React.createElement("div",null,React.createElement("p",{className:m.A["header-text"]},__("Select the account you'd like to connect. All your new blog posts will be automatically shared to this account. You'll be able to change this option in the editor sidebar when you're writing a post.","jetpack")),e?.show_linkedin_warning&&React.createElement(p.A,{type:"warning"},React.createElement("p",null,__("We could not retrieve which company pages you have access to. This is a known issue with the LinkedIn API. If you would like to connect a company page, please retry after 5 minutes.","jetpack")," ",React.createElement(r.ExternalLink,{key:"linkedin-api-documentaion",href:(0,i.A)("jetpack-linkedin-permissions-warning")},__("Learn more","jetpack")))),React.createElement("form",{className:m.A.form,onSubmit:w,id:"connection-confirmation-form"},React.createElement("div",{className:m.A["accounts-list"]},_.not_connected.map(((e,t)=>{const a=k?k.service_name===v?.ID&&k.external_id===e.value:0===t;return React.createElement("label",{key:e.value,htmlFor:`external_user_ID__${e.value}`,className:m.A["account-label"],"aria-required":!0},React.createElement("input",{type:"radio",id:`external_user_ID__${e.value}`,name:"external_user_ID",value:e.value,defaultChecked:a,className:m.A["account-input"],required:!0}),React.createElement(h,{label:e.label,profile_picture:e.profile_picture}))}))),a?React.createElement(r.BaseControl,{__nextHasNoMarginBottom:!0,id:"mark-connection-as-shared",help:`${__("If enabled, the connection will be available to all administrators, editors, and authors.","jetpack")} ${__("You can change this later.","jetpack")}`},React.createElement(r.__experimentalHStack,{justify:"flex-start",spacing:3},React.createElement("span",null,React.createElement("input",{type:"checkbox",id:"mark-connection-as-shared",name:"shared",value:"1"})),React.createElement(r.FlexBlock,{as:"label",htmlFor:"mark-connection-as-shared"},__("Mark the connection as shared","jetpack")))):null,React.createElement("input",{type:"hidden",name:"keyring_connection_ID",value:e.ID}))):React.createElement("p",{className:m.A["header-text"]},_.connected.length?_x("No more accounts/pages found.","Message shown when there are no connections found to connect","jetpack"):__("No accounts/pages found.","jetpack")),_.connected.length?React.createElement("section",null,React.createElement("h3",null,__("Already connected","jetpack")),React.createElement("ul",null,_.connected.map(((e,t)=>React.createElement("li",{key:e.label+t},React.createElement(h,{label:e.label,profile_picture:e.profile_picture})))))):null,React.createElement("div",{className:m.A["submit-wrap"]},React.createElement(n.A,{variant:"secondary",onClick:t},__("Cancel","jetpack")),_.not_connected.length?React.createElement(n.A,{form:"connection-confirmation-form",type:"submit"},__("Confirm","jetpack")):null))}},48222:(e,t,a)=>{"use strict";a.d(t,{_:()=>v});var s=a(60442),n=a(47425),i=a(3924),r=a(50723),o=a(56427),c=a(3582),l=a(47143),p=a(86087),d=a(27723),u=a(13022),m=a(31963),h=a(78362),g=a(59493),k=a(51461);const __=d.__,_x=d._x,f=()=>{const{keyringResult:e}=(0,l.useSelect)((e=>{const{getKeyringResult:t}=e(m.M_);return{keyringResult:t()}}),[]),{setKeyringResult:t,closeConnectionsModal:a,setReconnectingAccount:r}=(0,l.useDispatch)(m.M_),[d]=(0,s.A)("sm"),f=(0,p.useCallback)((()=>{t(null),r(void 0),a()}),[a,t,r]),v=Boolean(e?.ID),E=v?__("Connection confirmation","jetpack"):_x("Manage Jetpack Social connections","","jetpack"),_=(0,l.useSelect)((e=>e(c.store).canUser("update","settings")),[]);return React.createElement(o.Modal,{className:(0,u.A)(k.A.modal,{[k.A.small]:d}),onRequestClose:f,title:E},v?React.createElement(g.O,{keyringResult:e,onComplete:f,isAdmin:_}):React.createElement(React.Fragment,null,React.createElement(h.b,null),React.createElement("div",{className:k.A["manual-share"]},React.createElement("em",null,React.createElement(n.Ay,null,__("Want to share to other networks? Use our Manual Sharing feature from the editor.","jetpack")," ",React.createElement(o.ExternalLink,{href:(0,i.A)("jetpack-social-manual-sharing-help")},__("Learn more","jetpack")))))))};function v(){const e=(0,l.useSelect)((e=>e(m.M_).isConnectionsModalOpen()),[]);return React.createElement(r.Ay,{targetDom:document.body},e?React.createElement(f,null):null)}},30642:(e,t,a)=>{"use strict";a(56427),a(27723),a(68541),a(34600),a(27681)},34600:(e,t,a)=>{"use strict";a(56427),a(27723)},55858:(e,t,a)=>{"use strict";a(94715),a(56427),a(86087),a(27723),a(52367),a(2204),a(18699),a(97671)},12015:(e,t,a)=>{"use strict";a(85985),a(56427),a(86087);var s=a(27723);a(51609),a(98420),a(80624),a(55858),a(35270);const __=s.__;__("Choose Media","jetpack")},70694:(e,t,a)=>{"use strict";a(85985),a(56427),a(27723),a(51609)},51475:(e,t,a)=>{"use strict";a.d(t,{A:()=>u});var s=a(56427),n=a(27723),i=a(51113),r=a(31249),o=a(13022),c=a(28120),l=a.n(c),p=a(93794);const __=n.__,d=({children:e,type:t="default",actions:a=[],onDismiss:n})=>{const c=(0,o.A)(p.A.notice,p.A[`notice--${t}`]);return React.createElement("div",{className:c},React.createElement("div",{className:p.A.content}," ",e," "),n&&React.createElement("button",{className:p.A.dismiss,onClick:n},React.createElement(s.VisuallyHidden,null,__("Dismiss notice","jetpack")),React.createElement(i.A,{icon:r.A})),a&&a.length>0&&React.createElement("div",{className:p.A.actions},a.map((e=>e))))};d.propTypes={children:l().node.isRequired,type:l().oneOf(["default","highlight","warning","error"]),actions:l().arrayOf(l().element),onDismiss:l().func};const u=d},66561:(e,t,a)=>{"use strict";a(56427),a(47143),a(43656),a(86087),a(27723),a(77627),a(88584),a(49036),a(50001),a(51371),a(70925),a(30642),a(51353),a(1101),a(87170)},65843:(e,t,a)=>{"use strict";a(85985),a(47143),a(14309),a(43656),a(27723),a(34600),a(68541),a(5780)},26029:(e,t,a)=>{"use strict";a(65843),a(39691),a(89640)},39691:(e,t,a)=>{"use strict";a(85985),a(1455),a(14309),a(86087),a(77627),a(49036),a(50001),a(25300)},89640:(e,t,a)=>{"use strict";a(47143),a(14309),a(43656),a(92214),a(383),a(57275),a(49036),a(31963),a(51371),a(79594)},79594:(e,t,a)=>{"use strict";a(56427),a(47143),a(27723),a(31963),a(51475),a(7757),a(55387)},51353:(e,t,a)=>{"use strict";a(47143),a(51609),a(31963),a(79594),a(7757),a(61420)},25300:(e,t,a)=>{"use strict";a(85985),a(27723),a(51609),a(76445)},53774:(e,t,a)=>{"use strict";a.d(t,{$:()=>u});var s=a(51112),n=a(47143),i=a(86087),r=a(27723),o=a(13022),c=a(31963),l=a(75018),p=a(42475),d=a(70745);const __=r.__,_x=r._x;function u({service:e,isSmall:t,onSubmit:a,displayInputs:r,hasConnections:u,buttonLabel:m}){const{setKeyringResult:h}=(0,n.useDispatch)(c.M_),{isConnectionsModalOpen:g}=(0,n.useSelect)((e=>e(c.M_)),[]),k=(0,i.useCallback)((e=>{g()&&h(e)}),[h,g]),f=(0,d.P)({service:e,onConfirm:k}),v=(0,i.useCallback)((e=>{if(e.preventDefault(),e.stopPropagation(),a)return a();const t=new FormData(e.target);f(t)}),[a,f]);return React.createElement("form",{className:(0,o.A)(p.A["connect-form"],{[p.A.small]:t}),onSubmit:v},r?React.createElement("div",{className:p.A["fields-wrapper"]},React.createElement(l.t,{service:e})):null,React.createElement("div",{className:p.A["fields-wrapper"]},React.createElement("div",{className:p.A["fields-item"]},React.createElement(s.A,{variant:u?"secondary":"primary",type:"submit",className:p.A["connect-button"]},m||(u?_x("Connect more","","jetpack"):__("Connect","jetpack"))))))}},75018:(e,t,a)=>{"use strict";a.d(t,{t:()=>p});var s=a(42266),n=a(56427),i=a(47143),r=a(86087),o=a(27723),c=a(31963),l=a(42475);const __=o.__,_x=o._x;function p({service:e}){const t=(0,r.useId)(),a=(0,i.useSelect)((e=>e(c.M_).getReconnectingAccount()),[]);return"mastodon"===e.ID?React.createElement("div",{className:l.A["fields-item"]},React.createElement("label",{htmlFor:`${t}-handle`},_x("Handle","The handle of a social media account.","jetpack")),React.createElement("input",{id:`${t}-handle`,required:!0,type:"text",name:"instance",autoComplete:"off",autoCapitalize:"off",autoCorrect:"off",spellCheck:"false","aria-label":__("Mastodon handle","jetpack"),"aria-describedby":`${t}-handle-description`,placeholder:"@mastodon@mastodon.social"}),React.createElement("p",{className:"description",id:`${t}-handle-description`},__("You can find the handle in your Mastodon profile.","jetpack"))):"bluesky"===e.ID?React.createElement(React.Fragment,null,React.createElement("div",{className:l.A["fields-item"]},React.createElement("label",{htmlFor:`${t}-handle`},_x("Handle","The handle of a social media account.","jetpack")),React.createElement("input",{id:`${t}-handle`,required:!0,type:"text",name:"handle",defaultValue:"bluesky"===a?.service_name?a?.external_name:void 0,autoComplete:"off",autoCapitalize:"off",autoCorrect:"off",spellCheck:"false","aria-label":__("Bluesky handle","jetpack"),"aria-describedby":`${t}-handle-description`,placeholder:"username.bsky.social"}),React.createElement("p",{className:"description",id:`${t}-handle-description`},__("You can find the handle in your Bluesky profile.","jetpack"))),React.createElement("div",{className:l.A["fields-item"]},React.createElement("label",{htmlFor:`${t}-password`},__("App password","jetpack")),React.createElement("input",{id:`${t}-password`,required:!0,type:"password",name:"app_password",autoComplete:"off",autoCapitalize:"off",autoCorrect:"off",spellCheck:"false","aria-label":__("App password","jetpack"),"aria-describedby":`${t}-password-description`,placeholder:"xxxx-xxxx-xxxx-xxxx"}),React.createElement("p",{className:"description",id:`${t}-password-description`},(0,r.createInterpolateElement)(__("App password is needed to safely connect your account. App password is different from your account password. You can generate it in Bluesky.","jetpack"),{link:React.createElement(n.ExternalLink,{href:"https://bsky.app/settings/app-passwords"})})),"bluesky"===a?.service_name&&React.createElement(s.A,{level:"error",showIcon:!1},__("Please provide an app password to fix the connection.","jetpack")))):null}},77088:(e,t,a)=>{"use strict";a.d(t,{e:()=>d});var s=a(40597),n=a(47425),i=a(27723),r=a(27817),o=a(86158),c=a(43119),l=a(52683),p=a(42475);const __=i.__,d=({connection:e,service:t,isAdmin:a})=>{return React.createElement("div",{className:p.A["service-connection"]},React.createElement("div",null,e.profile_picture?React.createElement("img",{className:p.A["profile-pic"],src:e.profile_picture,alt:e.display_name}):React.createElement(t.icon,{iconSize:40})),React.createElement("div",{className:p.A["connection-details"]},React.createElement(r.s,{connection:e}),"broken"===(i=e).status&&i.can_disconnect?React.createElement(o.v,{connection:i,service:t}):a?React.createElement("div",{className:p.A["mark-shared-wrap"]},React.createElement(l.j,{connection:i}),React.createElement(s.A,{placement:"top",inline:!1,shift:!0},__("If enabled, the connection will be available to all administrators, editors, and authors.","jetpack"))):i.can_disconnect?null:React.createElement(React.Fragment,null,React.createElement(n.Ay,{className:p.A.description},__("This connection is added by a site administrator.","jetpack")),"broken"===i.status?React.createElement(o.v,{connection:i,service:t}):null)),React.createElement("div",{className:p.A["connection-actions"]},React.createElement(c.V,{connection:e,isDestructive:!1,variant:"tertiary",buttonClassName:p.A.disconnect})));var i}},46985:(e,t,a)=>{"use strict";a.d(t,{x:()=>d});var s=a(60442),n=a(56427),i=a(3582),r=a(47143),o=a(13022),c=a(31963),l=a(77088),p=a(42475);function d({service:e,serviceConnections:t}){const[a]=(0,s.A)("sm"),{deletingConnections:d,updatingConnections:u}=(0,r.useSelect)((e=>{const{getDeletingConnections:t,getUpdatingConnections:a}=e(c.M_);return{deletingConnections:t(),updatingConnections:a()}}),[]),m=(0,r.useSelect)((e=>e(i.store).canUser("update","settings")),[]);return t.length?React.createElement("ul",{className:p.A["service-connection-list"]},t.map((t=>{const a=u.includes(t.connection_id)||d.includes(t.connection_id);return React.createElement("li",{key:t.connection_id},React.createElement(n.Disabled,{isDisabled:a},React.createElement(l.e,{connection:t,service:e,isAdmin:m})))}))):React.createElement("div",{className:(0,o.A)(p.A["example-wrapper"],{[p.A.small]:a})},e.examples.map(((t,a)=>React.createElement("div",{key:e.ID+a,className:p.A.example},React.createElement(t,null)))))}},59008:(e,t,a)=>{"use strict";a.d(t,{j:()=>g});var s=a(60442),n=a(51112),i=a(56427),r=a(86087),o=a(27723),c=a(51113),l=a(98248),p=a(64969),d=a(53774),u=a(46985),m=a(21159),h=a(42475);const __=o.__,_x=o._x;function g({service:e,serviceConnections:t,isPanelDefaultOpen:a}){const[o]=(0,s.A)("sm"),[g,k]=(0,r.useReducer)((e=>!e),a),f=(0,r.useRef)(null);(0,r.useEffect)((()=>{a&&f.current?.scrollIntoView({block:"center",behavior:"smooth"})}),[]);const v=g&&e.needsCustomInputs,E=t.filter((({status:e})=>"broken"===e)),_=E.some((({can_disconnect:e})=>e)),b=v||_&&g,y=E.length>1?_x("Fix connections","Fix the social media connections","jetpack"):_x("Fix connection","Fix social media connection","jetpack");return React.createElement("div",{className:h.A["service-item"]},React.createElement("div",{className:h.A["service-item-info"]},React.createElement("div",null,React.createElement(e.icon,{iconSize:o?36:48})),React.createElement("div",{className:h.A["service-basics"]},React.createElement("div",{className:h.A.heading},React.createElement("span",{className:h.A.title},e.label),e.badges?.length?React.createElement("div",{className:h.A.badges},e.badges.map((({text:e,style:t},a)=>React.createElement("span",{key:a,className:h.A.badge,style:t},e)))):null),o||t.length?null:React.createElement("span",{className:h.A.description},e.description),React.createElement(m.E,{serviceConnections:t,brokenConnections:E})),React.createElement("div",{className:h.A.actions},b?null:React.createElement(d.$,{service:e,isSmall:o,onSubmit:_||e.needsCustomInputs?k:void 0,hasConnections:t.length>0,buttonLabel:_?y:void 0}),React.createElement(n.A,{size:"small",className:h.A["learn-more"],variant:"tertiary",onClick:k,"aria-label":__("Learn more","jetpack")},React.createElement(c.A,{className:h.A.chevron,icon:g?l.A:p.A})))),React.createElement(i.Panel,{className:h.A["service-panel"],ref:f},React.createElement(i.PanelBody,{opened:g,onToggle:k},React.createElement(u.x,{service:e,serviceConnections:t}),e.needsCustomInputs&&!_?React.createElement("div",{className:h.A["connect-form-wrapper"]},React.createElement(d.$,{service:e,displayInputs:!0,isSmall:!1,buttonLabel:__("Connect","jetpack")})):null)))}},21159:(e,t,a)=>{"use strict";a.d(t,{E:()=>r});var s=a(42266),n=a(27723),i=a(42475);const __=n.__,_n=n._n;function r({serviceConnections:e,brokenConnections:t}){if(!e.length)return null;if(t.length>0){const e=t.some((({can_disconnect:e})=>e));return React.createElement(s.A,{level:e?"error":"warning",showIcon:!1,className:i.A["broken-connection-alert"]},e?__("Please fix the broken connections or disconnect them to create more connections.","jetpack"):_n("Broken connection","Broken connections",t.length,"jetpack"))}return React.createElement("span",{className:i.A["active-connection"]},e.length>1?(0,n.sprintf)( +__("Are you sure you want to disconnect %s?","jetpack"),e.display_name),{strong:React.createElement("strong",null)})),React.createElement(s.A,{size:"small",onClick:u,disabled:h,variant:t,isDestructive:a,className:p},h?__("Disconnecting…","jetpack"):_x("Disconnect","Disconnect a social media account","jetpack"))):null}},26637:(e,t,a)=>{"use strict";a.d(t,{A:()=>g});var s=a(51112),n=a(56427),i=a(47143),r=a(86087),o=a(27723),c=a(13022),l=a(50001),p=a(31963),d=a(48222),u=a(48712),m=a(55488),h=a(85605);const __=o.__,g=({className:e=null,disabled:t=!1})=>{const{refresh:a}=(0,l.A)(),{connections:o,deletingConnections:g,updatingConnections:k}=(0,i.useSelect)((e=>{const{getConnections:t,getDeletingConnections:a,getUpdatingConnections:s}=e(p.M_);return{connections:t(),deletingConnections:a(),updatingConnections:s()}}),[]);o.sort(((e,t)=>e.service_name===t.service_name?e.connection_id.localeCompare(t.connection_id):e.service_name.localeCompare(t.service_name))),(0,r.useEffect)((()=>{a()}),[a]);const f=(0,u.h)(),{openConnectionsModal:v}=(0,i.useDispatch)(p.M_);return React.createElement("div",{className:(0,c.A)(h.A.wrapper,e),inert:t?"true":void 0},o.length?React.createElement(React.Fragment,null,React.createElement("h3",null,__("Connected accounts","jetpack")),React.createElement("ul",{className:h.A["connection-list"]},o.map((e=>{const t=k.includes(e.connection_id)||g.includes(e.connection_id);return React.createElement("li",{className:h.A["connection-list-item"],key:e.connection_id},React.createElement(n.Disabled,{isDisabled:t},React.createElement(m.T,{connection:e,service:f(e.service_name)})))})))):null,React.createElement(d._,null),React.createElement(s.A,{variant:o.length?"secondary":"primary",onClick:v},__("Connect an account","jetpack")))}},52683:(e,t,a)=>{"use strict";a.d(t,{j:()=>c});var s=a(56427),n=a(47143),i=a(86087),r=a(27723),o=a(31963);const __=r.__;function c({connection:e}){const{updateConnectionById:t}=(0,n.useDispatch)(o.M_),{isUpdating:a}=(0,n.useSelect)((t=>{const{getUpdatingConnections:a}=t(o.M_);return{isUpdating:a().includes(e.connection_id)}}),[e.connection_id]),r=(0,i.useCallback)((a=>{t(e.connection_id,{shared:a})}),[e.connection_id,t]);return React.createElement(s.CheckboxControl,{checked:e.shared??!1,onChange:r,disabled:a||"broken"===e.status,label:__("Mark the connection as shared","jetpack"),__nextHasNoMarginBottom:!0})}},76046:(e,t,a)=>{"use strict";a.d(t,{C:()=>l});var s=a(51112),n=a(47143),i=a(86087),r=a(27723),o=a(31963),c=a(70745);const __=r.__,_x=r._x;function l({connection:e,service:t,variant:a="link"}){const{deleteConnectionById:r,setKeyringResult:l,openConnectionsModal:p,setReconnectingAccount:d}=(0,n.useDispatch)(o.M_),{isDisconnecting:u}=(0,n.useSelect)((t=>{const{getDeletingConnections:a}=t(o.M_);return{isDisconnecting:a().includes(e.connection_id)}}),[e.connection_id]),m=(0,i.useCallback)((e=>{l(e),e?.ID&&p()}),[p,l]),h=(0,c.P)({service:t,onConfirm:m}),g=(0,i.useCallback)((async()=>{if(!await r({connectionId:e.connection_id,showSuccessNotice:!1}))return;await d(e);const a=new FormData;"mastodon"===t.ID&&a.set("instance",e.external_display),"bluesky"===t.ID?p():h(a)}),[e,r,p,h,t.ID,d]);return e.can_disconnect?React.createElement(s.A,{size:"small",onClick:g,disabled:u,variant:a},u?__("Disconnecting…","jetpack"):_x("Reconnect","Reconnect a social media account","jetpack")):null}},91910:(e,t,a)=>{"use strict";a.d(t,{A:()=>c});var s=a(13022),n=a(28120),i=a.n(n),r=a(12141);const o=e=>{const{checked:t,disabled:a,onChange:n,serviceName:i,label:o,profilePicture:c}=e,l=(0,s.A)("components-connection-toggle",{"is-not-checked":!t,"is-disabled":a});return React.createElement("div",{className:l,title:o},React.createElement(r.A,{checked:t,label:o,onClick:n,serviceName:i,profilePicture:c}))};o.propTypes={className:i().string,checked:i().bool,id:i().string.isRequired,disabled:i().bool,onChange:i().func,serviceName:i().string,label:i().string,profilePicture:i().string};const c=o},10267:(e,t,a)=>{"use strict";var s=a(85985),n=a(56427),i=a(47143),r=a(86087),o=a(27723),c=a(31963),l=a(91910),p=a(95051),d=a(49514);const __=o.__;class u extends r.Component{maybeDisplayLinkedInNotice=()=>this.connectionNeedsReauth()&&React.createElement(n.Notice,{className:p.A["publicize-notice"],isDismissible:!1,status:"error"},React.createElement("p",null,__("Your LinkedIn connection needs to be reauthenticated to continue working – head to Sharing to take care of it.","jetpack")),React.createElement(n.ExternalLink,{href:`https://wordpress.com/marketing/connections/${(0,s.GE)()}`},__("Go to Sharing settings","jetpack")));connectionNeedsReauth=()=>this.props.mustReauthConnections.includes(this.props.name);onConnectionChange=()=>{const{id:e}=this.props;this.isDisabled()||this.props.toggleConnection(e)};connectionIsFailing(){const{failedConnections:e,name:t}=this.props;return e.some((e=>e.service_name===t))}isDisabled(){return this.props.disabled||this.connectionIsFailing()||this.connectionNeedsReauth()}render(){const{enabled:e,id:t,label:a,name:s,profilePicture:n}=this.props,i="connection-"+s+"-"+t,r=s.replace("_","-"),o=React.createElement(l.A,{id:i,className:d.A["connection-toggle"],checked:e,onChange:this.onConnectionChange,disabled:this.isDisabled(),serviceName:r,label:a,profilePicture:n});return React.createElement("li",null,this.maybeDisplayLinkedInNotice(),React.createElement("div",{className:d.A["connection-container"]},o))}}(0,i.withSelect)((e=>({failedConnections:e(c.Af).getFailedConnections(),mustReauthConnections:e(c.Af).getMustReauthConnections()})))(u)},77125:(e,t,a)=>{"use strict";a(56427),a(47143),a(86087),a(27723),a(77627),a(50001),a(31963),a(51371),a(51475),a(9515),a(71016)},64636:(e,t,a)=>{"use strict";a(97999),a(56427),a(27723),a(77627),a(50001),a(25349),a(71016)},14993:(e,t,a)=>{"use strict";a(85985),a(51609),a(77627),a(50001),a(10267),a(77125),a(57193),a(75013),a(25349),a(71016),a(50923),a(39329)},57193:(e,t,a)=>{"use strict";a(56427),a(27723),a(77627),a(50001),a(71016),a(39329)},9573:(e,t,a)=>{"use strict";a(85985),a(56427),a(27723),a(70407),a(71016),a(647)},70925:(e,t,a)=>{"use strict";a(56427),a(86087),a(7162),a(98420),a(54915),a(80624),a(52367),a(50001),a(48222),a(96390),a(64636),a(14993),a(9573),a(41190)},62697:(e,t,a)=>{"use strict";a(97999),a(56427),a(27723),a(27844),a(51475)},31099:(e,t,a)=>{"use strict";a(56427),a(47143),a(86087),a(27723),a(80682),a(31963),a(51475),a(9515)},75013:(e,t,a)=>{"use strict";a(98420),a(54915),a(80624),a(52367),a(80682),a(50001),a(62697),a(31099)},25349:(e,t,a)=>{"use strict";a(56427),a(47143),a(27723),a(77627),a(31963),a(51371),a(71016)},41190:(e,t,a)=>{"use strict";a(97999),a(39553),a(27844),a(12015),a(70694)},50923:(e,t,a)=>{"use strict";a(56427),a(86087),a(27723),a(7162),a(50001),a(51475)},647:(e,t,a)=>{"use strict";a(47143),a(43656),a(86087)},39329:(e,t,a)=>{"use strict";a(86087),a(51609),a(7162),a(98420),a(54915),a(80624),a(52367),a(80682),a(50001)},56457:(e,t,a)=>{"use strict";a(1455),a(56427),a(47143),a(43656),a(27723),a(51609),a(49747),a(60548)},47453:(e,t,a)=>{"use strict";a(51371),a(7757)},59493:(e,t,a)=>{"use strict";a.d(t,{O:()=>g});var s=a(63406),n=a(3924),i=a(51112),r=a(56427),o=a(47143),c=a(86087),l=a(27723),p=a(51475),d=a(31963),u=a(39630),m=a(18973);const __=l.__,_x=l._x;function h({label:e,profile_picture:t}){return React.createElement("div",{className:m.A["account-info"]},t?React.createElement("img",{className:m.A["profile-pic"],src:t,alt:e}):null,React.createElement("span",null,e))}function g({keyringResult:e,onComplete:t,isAdmin:a}){const l=(0,u.o)(),{existingConnections:g,reconnectingAccount:k}=(0,o.useSelect)((e=>{const t=e(d.M_);return{existingConnections:t.getConnections(),reconnectingAccount:t.getReconnectingAccount()}}),[]),{createErrorNotice:f}=(0,s.I)(),v=l.find((t=>t.ID===e.service)),E=(0,c.useCallback)((e=>g.some((t=>t.service_name===v?.ID&&t.external_id===e))),[g,v.ID]),_=(0,c.useMemo)((()=>{const t=[],a=[];if(!v)return{connected:t,not_connected:a};const s=[];if(v.external_users_only||s.push({label:e.external_display||e.external_name,value:e.external_ID,profile_picture:e.external_profile_picture}),v.multiple_external_user_ID_support&&e.additional_external_users?.length)for(const t of e.additional_external_users)s.push({label:t.external_name,value:t.external_ID,profile_picture:t.external_profile_picture});for(const e of s)E(e.value)?t.push(e):a.push(e);return{connected:t,not_connected:a}}),[E,e,v]),{createConnection:b,setReconnectingAccount:y}=(0,o.useDispatch)(d.M_),w=(0,c.useCallback)((async a=>{a.preventDefault(),a.stopPropagation();const s=a.target,n=new FormData(s),i=n.get("external_user_ID");if(!i)return void f(__("Please select an account to connect.","jetpack"));const r={external_user_ID:v.multiple_external_user_ID_support?i:void 0,keyring_connection_ID:e.ID,shared:"1"===n.get("shared")||void 0},o=_.not_connected.find((e=>e.value===i));k&&y(void 0),b(r,{display_name:o?.label,profile_picture:o?.profile_picture,service_name:v.ID,external_id:i}),t()}),[b,k,y,f,e.ID,t,v.multiple_external_user_ID_support,v.ID,_.not_connected]);return React.createElement("section",{className:m.A.confirmation},_.not_connected.length?React.createElement("div",null,React.createElement("p",{className:m.A["header-text"]},__("Select the account you'd like to connect. All your new blog posts will be automatically shared to this account. You'll be able to change this option in the editor sidebar when you're writing a post.","jetpack")),e?.show_linkedin_warning&&React.createElement(p.A,{type:"warning"},React.createElement("p",null,__("We could not retrieve which company pages you have access to. This is a known issue with the LinkedIn API. If you would like to connect a company page, please retry after 5 minutes.","jetpack")," ",React.createElement(r.ExternalLink,{key:"linkedin-api-documentaion",href:(0,n.A)("jetpack-linkedin-permissions-warning")},__("Learn more","jetpack")))),React.createElement("form",{className:m.A.form,onSubmit:w,id:"connection-confirmation-form"},React.createElement("div",{className:m.A["accounts-list"]},_.not_connected.map(((e,t)=>{const a=k?k.service_name===v?.ID&&k.external_id===e.value:0===t;return React.createElement("label",{key:e.value,htmlFor:`external_user_ID__${e.value}`,className:m.A["account-label"],"aria-required":!0},React.createElement("input",{type:"radio",id:`external_user_ID__${e.value}`,name:"external_user_ID",value:e.value,defaultChecked:a,className:m.A["account-input"],required:!0}),React.createElement(h,{label:e.label,profile_picture:e.profile_picture}))}))),a?React.createElement(r.BaseControl,{__nextHasNoMarginBottom:!0,id:"mark-connection-as-shared",help:`${__("If enabled, the connection will be available to all administrators, editors, and authors.","jetpack")} ${__("You can change this later.","jetpack")}`},React.createElement(r.__experimentalHStack,{justify:"flex-start",spacing:3},React.createElement("span",null,React.createElement("input",{type:"checkbox",id:"mark-connection-as-shared",name:"shared",value:"1"})),React.createElement(r.FlexBlock,{as:"label",htmlFor:"mark-connection-as-shared"},__("Mark the connection as shared","jetpack")))):null,React.createElement("input",{type:"hidden",name:"keyring_connection_ID",value:e.ID}))):React.createElement("p",{className:m.A["header-text"]},_.connected.length?_x("No more accounts/pages found.","Message shown when there are no connections found to connect","jetpack"):__("No accounts/pages found.","jetpack")),_.connected.length?React.createElement("section",null,React.createElement("h3",null,__("Already connected","jetpack")),React.createElement("ul",null,_.connected.map(((e,t)=>React.createElement("li",{key:e.label+t},React.createElement(h,{label:e.label,profile_picture:e.profile_picture})))))):null,React.createElement("div",{className:m.A["submit-wrap"]},React.createElement(i.A,{variant:"secondary",onClick:t},__("Cancel","jetpack")),_.not_connected.length?React.createElement(i.A,{form:"connection-confirmation-form",type:"submit"},__("Confirm","jetpack")):null))}},48222:(e,t,a)=>{"use strict";a.d(t,{_:()=>v});var s=a(60442),n=a(47425),i=a(3924),r=a(50723),o=a(56427),c=a(3582),l=a(47143),p=a(86087),d=a(27723),u=a(13022),m=a(31963),h=a(78362),g=a(59493),k=a(51461);const __=d.__,_x=d._x,f=()=>{const{keyringResult:e}=(0,l.useSelect)((e=>{const{getKeyringResult:t}=e(m.M_);return{keyringResult:t()}}),[]),{setKeyringResult:t,closeConnectionsModal:a,setReconnectingAccount:r}=(0,l.useDispatch)(m.M_),[d]=(0,s.A)("sm"),f=(0,p.useCallback)((()=>{t(null),r(void 0),a()}),[a,t,r]),v=Boolean(e?.ID),E=v?__("Connection confirmation","jetpack"):_x("Manage Jetpack Social connections","","jetpack"),_=(0,l.useSelect)((e=>e(c.store).canUser("update","settings")),[]);return React.createElement(o.Modal,{className:(0,u.A)(k.A.modal,{[k.A.small]:d}),onRequestClose:f,title:E},v?React.createElement(g.O,{keyringResult:e,onComplete:f,isAdmin:_}):React.createElement(React.Fragment,null,React.createElement(h.b,null),React.createElement("div",{className:k.A["manual-share"]},React.createElement("em",null,React.createElement(n.Ay,null,__("Want to share to other networks? Use our Manual Sharing feature from the editor.","jetpack")," ",React.createElement(o.ExternalLink,{href:(0,i.A)("jetpack-social-manual-sharing-help")},__("Learn more","jetpack")))))))};function v(){const e=(0,l.useSelect)((e=>e(m.M_).isConnectionsModalOpen()),[]);return React.createElement(r.Ay,{targetDom:document.body},e?React.createElement(f,null):null)}},30642:(e,t,a)=>{"use strict";a(56427),a(27723),a(68541),a(34600),a(27681)},34600:(e,t,a)=>{"use strict";a(56427),a(27723)},55858:(e,t,a)=>{"use strict";a(94715),a(56427),a(86087),a(27723),a(52367),a(2204),a(18699),a(97671)},12015:(e,t,a)=>{"use strict";a(85985),a(56427),a(86087);var s=a(27723);a(51609),a(98420),a(80624),a(55858),a(35270);const __=s.__;__("Choose Media","jetpack")},70694:(e,t,a)=>{"use strict";a(85985),a(56427),a(27723),a(51609)},51475:(e,t,a)=>{"use strict";a.d(t,{A:()=>u});var s=a(56427),n=a(27723),i=a(51113),r=a(31249),o=a(13022),c=a(28120),l=a.n(c),p=a(93794);const __=n.__,d=({children:e,type:t="default",actions:a=[],onDismiss:n})=>{const c=(0,o.A)(p.A.notice,p.A[`notice--${t}`]);return React.createElement("div",{className:c},React.createElement("div",{className:p.A.content}," ",e," "),n&&React.createElement("button",{className:p.A.dismiss,onClick:n},React.createElement(s.VisuallyHidden,null,__("Dismiss notice","jetpack")),React.createElement(i.A,{icon:r.A})),a&&a.length>0&&React.createElement("div",{className:p.A.actions},a.map((e=>e))))};d.propTypes={children:l().node.isRequired,type:l().oneOf(["default","highlight","warning","error"]),actions:l().arrayOf(l().element),onDismiss:l().func};const u=d},66561:(e,t,a)=>{"use strict";a(56427),a(47143),a(43656),a(86087),a(27723),a(77627),a(88584),a(49036),a(50001),a(51371),a(70925),a(30642),a(51353),a(1101),a(87170)},65843:(e,t,a)=>{"use strict";a(85985),a(47143),a(14309),a(43656),a(27723),a(34600),a(68541),a(5780)},26029:(e,t,a)=>{"use strict";a(65843),a(39691),a(89640)},39691:(e,t,a)=>{"use strict";a(85985),a(1455),a(14309),a(86087),a(77627),a(49036),a(50001),a(25300)},89640:(e,t,a)=>{"use strict";a(47143),a(14309),a(43656),a(92214),a(383),a(57275),a(49036),a(31963),a(51371),a(79594)},79594:(e,t,a)=>{"use strict";a(56427),a(47143),a(27723),a(31963),a(51475),a(7757),a(55387)},51353:(e,t,a)=>{"use strict";a(47143),a(51609),a(31963),a(79594),a(7757),a(61420)},25300:(e,t,a)=>{"use strict";a(85985),a(27723),a(51609),a(76445)},53774:(e,t,a)=>{"use strict";a.d(t,{$:()=>u});var s=a(51112),n=a(47143),i=a(86087),r=a(27723),o=a(13022),c=a(31963),l=a(75018),p=a(42475),d=a(70745);const __=r.__,_x=r._x;function u({service:e,isSmall:t,onSubmit:a,displayInputs:r,hasConnections:u,buttonLabel:m}){const{setKeyringResult:h}=(0,n.useDispatch)(c.M_),{isConnectionsModalOpen:g}=(0,n.useSelect)((e=>e(c.M_)),[]),k=(0,i.useCallback)((e=>{g()&&h(e)}),[h,g]),f=(0,d.P)({service:e,onConfirm:k}),v=(0,i.useCallback)((e=>{if(e.preventDefault(),e.stopPropagation(),a)return a();const t=new FormData(e.target);f(t)}),[a,f]);return React.createElement("form",{className:(0,o.A)(p.A["connect-form"],{[p.A.small]:t}),onSubmit:v},r?React.createElement("div",{className:p.A["fields-wrapper"]},React.createElement(l.t,{service:e})):null,React.createElement("div",{className:p.A["fields-wrapper"]},React.createElement("div",{className:p.A["fields-item"]},React.createElement(s.A,{variant:u?"secondary":"primary",type:"submit",className:p.A["connect-button"]},m||(u?_x("Connect more","","jetpack"):__("Connect","jetpack"))))))}},75018:(e,t,a)=>{"use strict";a.d(t,{t:()=>p});var s=a(42266),n=a(56427),i=a(47143),r=a(86087),o=a(27723),c=a(31963),l=a(42475);const __=o.__,_x=o._x;function p({service:e}){const t=(0,r.useId)(),a=(0,i.useSelect)((e=>e(c.M_).getReconnectingAccount()),[]);return"mastodon"===e.ID?React.createElement("div",{className:l.A["fields-item"]},React.createElement("label",{htmlFor:`${t}-handle`},_x("Handle","The handle of a social media account.","jetpack")),React.createElement("input",{id:`${t}-handle`,required:!0,type:"text",name:"instance",autoComplete:"off",autoCapitalize:"off",autoCorrect:"off",spellCheck:"false","aria-label":__("Mastodon handle","jetpack"),"aria-describedby":`${t}-handle-description`,placeholder:"@mastodon@mastodon.social"}),React.createElement("p",{className:"description",id:`${t}-handle-description`},__("You can find the handle in your Mastodon profile.","jetpack"))):"bluesky"===e.ID?React.createElement(React.Fragment,null,React.createElement("div",{className:l.A["fields-item"]},React.createElement("label",{htmlFor:`${t}-handle`},_x("Handle","The handle of a social media account.","jetpack")),React.createElement("input",{id:`${t}-handle`,required:!0,type:"text",name:"handle",defaultValue:"bluesky"===a?.service_name?a?.external_name:void 0,autoComplete:"off",autoCapitalize:"off",autoCorrect:"off",spellCheck:"false","aria-label":__("Bluesky handle","jetpack"),"aria-describedby":`${t}-handle-description`,placeholder:"username.bsky.social"}),React.createElement("p",{className:"description",id:`${t}-handle-description`},__("You can find the handle in your Bluesky profile.","jetpack"))),React.createElement("div",{className:l.A["fields-item"]},React.createElement("label",{htmlFor:`${t}-password`},__("App password","jetpack")),React.createElement("input",{id:`${t}-password`,required:!0,type:"password",name:"app_password",autoComplete:"off",autoCapitalize:"off",autoCorrect:"off",spellCheck:"false","aria-label":__("App password","jetpack"),"aria-describedby":`${t}-password-description`,placeholder:"xxxx-xxxx-xxxx-xxxx"}),React.createElement("p",{className:"description",id:`${t}-password-description`},(0,r.createInterpolateElement)(__("App password is needed to safely connect your account. App password is different from your account password. You can generate it in Bluesky.","jetpack"),{link:React.createElement(n.ExternalLink,{href:"https://bsky.app/settings/app-passwords"})})),"bluesky"===a?.service_name&&React.createElement(s.A,{level:"error",showIcon:!1},__("Please provide an app password to fix the connection.","jetpack")))):null}},77088:(e,t,a)=>{"use strict";a.d(t,{e:()=>d});var s=a(40597),n=a(47425),i=a(27723),r=a(27817),o=a(86158),c=a(43119),l=a(52683),p=a(42475);const __=i.__,d=({connection:e,service:t,isAdmin:a})=>{return React.createElement("div",{className:p.A["service-connection"]},React.createElement("div",null,e.profile_picture?React.createElement("img",{className:p.A["profile-pic"],src:e.profile_picture,alt:e.display_name}):React.createElement(t.icon,{iconSize:40})),React.createElement("div",{className:p.A["connection-details"]},React.createElement(r.s,{connection:e}),"broken"===(i=e).status&&i.can_disconnect?React.createElement(o.v,{connection:i,service:t}):a?React.createElement("div",{className:p.A["mark-shared-wrap"]},React.createElement(l.j,{connection:i}),React.createElement(s.A,{placement:"top",inline:!1,shift:!0},__("If enabled, the connection will be available to all administrators, editors, and authors.","jetpack"))):i.can_disconnect?null:React.createElement(React.Fragment,null,React.createElement(n.Ay,{className:p.A.description},__("This connection is added by a site administrator.","jetpack")),"broken"===i.status?React.createElement(o.v,{connection:i,service:t}):null)),React.createElement("div",{className:p.A["connection-actions"]},React.createElement(c.V,{connection:e,isDestructive:!1,variant:"tertiary",buttonClassName:p.A.disconnect})));var i}},46985:(e,t,a)=>{"use strict";a.d(t,{x:()=>d});var s=a(60442),n=a(56427),i=a(3582),r=a(47143),o=a(13022),c=a(31963),l=a(77088),p=a(42475);function d({service:e,serviceConnections:t}){const[a]=(0,s.A)("sm"),{deletingConnections:d,updatingConnections:u}=(0,r.useSelect)((e=>{const{getDeletingConnections:t,getUpdatingConnections:a}=e(c.M_);return{deletingConnections:t(),updatingConnections:a()}}),[]),m=(0,r.useSelect)((e=>e(i.store).canUser("update","settings")),[]);return t.length?React.createElement("ul",{className:p.A["service-connection-list"]},t.map((t=>{const a=u.includes(t.connection_id)||d.includes(t.connection_id);return React.createElement("li",{key:t.connection_id},React.createElement(n.Disabled,{isDisabled:a},React.createElement(l.e,{connection:t,service:e,isAdmin:m})))}))):React.createElement("div",{className:(0,o.A)(p.A["example-wrapper"],{[p.A.small]:a})},e.examples.map(((t,a)=>React.createElement("div",{key:e.ID+a,className:p.A.example},React.createElement(t,null)))))}},59008:(e,t,a)=>{"use strict";a.d(t,{j:()=>g});var s=a(60442),n=a(51112),i=a(56427),r=a(86087),o=a(27723),c=a(51113),l=a(98248),p=a(64969),d=a(53774),u=a(46985),m=a(21159),h=a(42475);const __=o.__,_x=o._x;function g({service:e,serviceConnections:t,isPanelDefaultOpen:a}){const[o]=(0,s.A)("sm"),[g,k]=(0,r.useReducer)((e=>!e),a),f=(0,r.useRef)(null);(0,r.useEffect)((()=>{a&&f.current?.scrollIntoView({block:"center",behavior:"smooth"})}),[]);const v=g&&e.needsCustomInputs,E=t.filter((({status:e})=>"broken"===e)),_=E.some((({can_disconnect:e})=>e)),b=v||_&&g,y=E.length>1?_x("Fix connections","Fix the social media connections","jetpack"):_x("Fix connection","Fix social media connection","jetpack");return React.createElement("div",{className:h.A["service-item"]},React.createElement("div",{className:h.A["service-item-info"]},React.createElement("div",null,React.createElement(e.icon,{iconSize:o?36:48})),React.createElement("div",{className:h.A["service-basics"]},React.createElement("div",{className:h.A.heading},React.createElement("span",{className:h.A.title},e.label),e.badges?.length?React.createElement("div",{className:h.A.badges},e.badges.map((({text:e,style:t},a)=>React.createElement("span",{key:a,className:h.A.badge,style:t},e)))):null),o||t.length?null:React.createElement("span",{className:h.A.description},e.description),React.createElement(m.E,{serviceConnections:t,brokenConnections:E})),React.createElement("div",{className:h.A.actions},b?null:React.createElement(d.$,{service:e,isSmall:o,onSubmit:_||e.needsCustomInputs?k:void 0,hasConnections:t.length>0,buttonLabel:_?y:void 0}),React.createElement(n.A,{size:"small",className:h.A["learn-more"],variant:"tertiary",onClick:k,"aria-label":__("Learn more","jetpack")},React.createElement(c.A,{className:h.A.chevron,icon:g?l.A:p.A})))),React.createElement(i.Panel,{className:h.A["service-panel"],ref:f},React.createElement(i.PanelBody,{opened:g,onToggle:k},React.createElement(u.x,{service:e,serviceConnections:t}),e.needsCustomInputs&&!_?React.createElement("div",{className:h.A["connect-form-wrapper"]},React.createElement(d.$,{service:e,displayInputs:!0,isSmall:!1,buttonLabel:__("Connect","jetpack")})):null)))}},21159:(e,t,a)=>{"use strict";a.d(t,{E:()=>r});var s=a(42266),n=a(27723),i=a(42475);const __=n.__,_n=n._n;function r({serviceConnections:e,brokenConnections:t}){if(!e.length)return null;if(t.length>0){const e=t.some((({can_disconnect:e})=>e));return React.createElement(s.A,{level:e?"error":"warning",showIcon:!1,className:i.A["broken-connection-alert"]},e?__("Please fix the broken connections or disconnect them to create more connections.","jetpack"):_n("Broken connection","Broken connections",t.length,"jetpack"))}return React.createElement("span",{className:i.A["active-connection"]},e.length>1?(0,n.sprintf)( // translators: %d: Number of connections __("%d connections","jetpack"),e.length):__("Connected","jetpack"))}},78362:(e,t,a)=>{"use strict";a.d(t,{b:()=>c});var s=a(47143),n=a(31963),i=a(59008),r=a(42475),o=a(39630);function c(){const e=(0,o.o)(),t=(0,s.useSelect)((e=>e(n.M_).getConnections().reduce(((e,t)=>(e[t.service_name]||(e[t.service_name]=[]),e[t.service_name].push(t),e)),{})),[]),a=(0,s.useSelect)((e=>e(n.M_).getReconnectingAccount()),[]);return React.createElement("ul",{className:r.A.services},e.map((e=>React.createElement("li",{key:e.ID,className:r.A["service-list-item"]},React.createElement(i.j,{service:e,serviceConnections:t[e.ID]||[],isPanelDefaultOpen:a?.service_name===e.ID})))))}},70745:(e,t,a)=>{"use strict";a.d(t,{P:()=>p});var s=a(63406),n=a(47143),i=a(86087),r=a(27723),o=a(31963),c=a(70407);const __=r.__,l=e=>/^@?\b([A-Z0-9_]+)@([A-Z0-9.-]+\.[A-Z]{2,})$/gi.test(e);function p({service:e,onConfirm:t}){const{createErrorNotice:a}=(0,s.I)(),r=(0,n.useSelect)((e=>e(o.M_).isMastodonAccountAlreadyConnected),[]),p=(0,n.useSelect)((e=>e(o.M_).isBlueskyAccountAlreadyConnected),[]);return(0,i.useCallback)((s=>{const n=new URL(e.connect_URL);switch(e.ID){case"mastodon":{const e=s.get("instance").toString().trim();if(!l(e))return void a(__("Invalid Mastodon username","jetpack"));if(r?.(e))return void a(__("This Mastodon account is already connected","jetpack"));n.searchParams.set("instance",e);break}case"bluesky":{const e=(s.get("handle")?.toString()||"").trim().replace(/^@/,"");if(!function(e){const t=e.split(".").filter(Boolean);return!(t.length<2)&&t.every((e=>/^[a-z0-9_-]+$/i.test(e)))}(e))return void a(__("Invalid Bluesky handle","jetpack"));if(p?.(e))return void a(__("This Bluesky account is already connected","jetpack"));n.searchParams.set("handle",e),n.searchParams.set("app_password",(s.get("app_password")?.toString()||"").trim());break}}(0,c.requestExternalAccess)(n.toString(),t)}),[a,p,r,t,e.ID,e.connect_URL])}},9515:(e,t,a)=>{"use strict";a(51609),a(48712)},48712:(e,t,a)=>{"use strict";a.d(t,{h:()=>i});var s=a(51609),n=a(39630);function i(){const e=(0,n.o)(),t=(0,s.useMemo)((()=>e.reduce(((e,t)=>(e[t.ID]=t,e)),{})),[e]);return(0,s.useCallback)((e=>t[e]),[t])}},39630:(e,t,a)=>{"use strict";a.d(t,{o:()=>k});var s=a(73691),n=a.n(s),i=a(78478),r=a(56427),o=a(86087),c=a(27723),l=a(30081),p=a(26818),d=a(43443),u=a(11326),m=a(65398),h=a(9791),g=a(51371);const __=c.__;function k(){const e=(0,o.useMemo)((()=>{const{supported_services:e}=(0,g.n)();return e.reduce(((e,t)=>({...e,[t.ID]:t})),{})}),[]),t={text:__("New","jetpack"),style:{background:"#e9eff5",color:"#0675C4"}};return[{...e.facebook,icon:e=>React.createElement(i.M5,n()({serviceName:"facebook"},e)),description:__("Share to your pages","jetpack"),examples:[()=>React.createElement(React.Fragment,null,(0,o.createInterpolateElement)(__("Connect to automatically share posts on your Facebook page.","jetpack"),{strong:React.createElement("strong",null)})),()=>React.createElement("img",{src:l,alt:__("Add Facebook connection","jetpack")})]},{...e["instagram-business"],icon:e=>React.createElement(i.M5,n()({serviceName:"instagram"},e)),description:__("Share to your Instagram Business account.","jetpack"),examples:[()=>React.createElement(React.Fragment,null,__("Drive engagement and save time by automatically sharing images to Instagram when you publish blog posts.","jetpack"),React.createElement("div",{className:"instagram-business__requirements"},React.createElement("h4",null,__("Requirements for connecting Instagram:","jetpack")),React.createElement("ol",null,React.createElement("li",null,__("You must have an Instagram Business account.","jetpack")),React.createElement("li",null,__("Your Instagram Business account must be linked to a Facebook page.","jetpack")))),(0,o.createInterpolateElement)(__("When you click “connect” you'll be asked to log into Facebook. If your Instagram Business account isn't listed, ensure it's linked to a Facebook page.","jetpack"),{strong:React.createElement("strong",null),i:React.createElement("em",null)}),React.createElement("br",null),React.createElement("br",null),React.createElement(r.ExternalLink,{className:"instagram-business__help-link",href:"https://jetpack.com/redirect/?source=jetpack-social-instagram-business-help"},__("Learn how to convert & link your Instagram account.","jetpack"))),()=>React.createElement("img",{src:p,alt:__("Add Instagram photo","jetpack")})]},{...e.threads,icon:e=>React.createElement(i.M5,n()({serviceName:"threads"},e)),description:__("Share posts to your Threads feed.","jetpack"),examples:[()=>React.createElement(React.Fragment,null,__("Increase your presence in social media by sharing your posts automatically to Threads.","jetpack")),()=>React.createElement("img",{src:m,alt:__("Add Threads connection","jetpack")})]},{...e.bluesky,needsCustomInputs:!0,icon:e=>React.createElement(i.M5,n()({serviceName:"bluesky"},e)),badges:[t],description:__("Share with your network.","jetpack"),examples:[()=>React.createElement(React.Fragment,null,__("To share to Bluesky please enter your Bluesky handle and app password below, then click connect.","jetpack"))]},{...e.linkedin,icon:e=>React.createElement(i.M5,n()({serviceName:"linkedin"},e)),description:__("Share with your LinkedIn community.","jetpack"),examples:[()=>React.createElement(React.Fragment,null,(0,o.createInterpolateElement)(__("Connect to automatically share posts with your LinkedIn connections.","jetpack"),{strong:React.createElement("strong",null)})),()=>React.createElement("img",{src:d,alt:__("Add LinkedIn connection","jetpack")})]},{...e.nextdoor,icon:e=>React.createElement(i.M5,n()({serviceName:"nextdoor"},e)),description:__("Share on communities","jetpack"),examples:[()=>React.createElement(React.Fragment,null,(0,o.createInterpolateElement)(__("Connect with friends, neighbors, and local businesses by automatically sharing your posts to Nextdoor.","jetpack"),{strong:React.createElement("strong",null)})),()=>React.createElement("img",{src:u,alt:__("Add Instagram photo","jetpack")})]},{...e.tumblr,icon:e=>React.createElement(i.M5,n()({serviceName:"tumblr-alt"},e)),description:__("Share to your Tumblr blog.","jetpack"),examples:[()=>React.createElement(React.Fragment,null,(0,o.createInterpolateElement)(__("Connect to automatically share posts to your Tumblr blog.","jetpack"),{strong:React.createElement("strong",null)})),()=>React.createElement("img",{src:h,alt:__("Add Tumblr connection","jetpack")})]},{...e.mastodon,needsCustomInputs:!0,icon:e=>React.createElement(i.M5,n()({serviceName:"mastodon"},e)),description:__("Share with your network.","jetpack"),examples:[()=>React.createElement(React.Fragment,null,__("To share to Mastodon please enter your Mastodon username below, then click connect.","jetpack"))]}].filter((e=>Boolean(e.ID)))}},73905:(e,t,a)=>{"use strict";var s=a(27723);const __=s.__;__("X","jetpack"),__("WhatsApp","jetpack"),__("Facebook","jetpack")},49192:(e,t,a)=>{"use strict";a(68541)},68541:(e,t,a)=>{"use strict";a(85985),a(86087),a(27723),a(73905),a(99811),a(53975)},53975:(e,t,a)=>{"use strict";a(47143),a(43656),a(86087),a(383)},1101:(e,t,a)=>{"use strict";a(85985),a(56427),a(47143),a(43656),a(86087),a(27723),a(692),a(92214),a(77627),a(31873),a(31963),a(51371)},7757:(e,t,a)=>{"use strict";a(59032),a(95499)},95499:(e,t,a)=>{"use strict";a(73691),a(85985),a(56427),a(47143),a(27723),a(51609),a(31963),a(51371),a(14150)},59032:(e,t,a)=>{"use strict";a(56427),a(47143),a(27723),a(31963),a(30557),a(14150)},14329:(e,t,a)=>{"use strict";a(85985),a(56427),a(47143),a(43656),a(27723),a(51609),a(31873),a(31963),a(14150)},30557:(e,t,a)=>{"use strict";a(47143),a(31963),a(48377)},368:(e,t,a)=>{"use strict";a(85985),a(56427),a(27723),a(51609),a(14329)},69662:(e,t,a)=>{"use strict";a(27723),a(51609),a(14150)},48377:(e,t,a)=>{"use strict";a(38443),a(27723),a(12141),a(368),a(69662),a(14150)},29341:(e,t,a)=>{"use strict";a(56427),a(86087),a(27723),a(49747),a(38394),a(56457),a(77932)},77932:(e,t,a)=>{"use strict";a(56427),a(86087);var s=a(27723);a(49747),a(80624),a(56457),a(55858),a(81299),a(53744);const __=s.__;__("Choose Image","jetpack")},29761:(e,t,a)=>{"use strict";a.d(t,{A:()=>u});var s=a(60442),n=a(51112),i=a(47143),r=a(86087),o=a(27723),c=a(51609),l=a.n(c),p=a(31963),d=a(12226);const __=o.__,u=()=>{const[e,t]=(0,r.useState)(null),{isEnabled:a,isUpdating:o,defaultTemplate:c}=(0,i.useSelect)((e=>{const t=e(p.M_),a=t.getSocialImageGeneratorConfig();return{isEnabled:a.enabled,defaultTemplate:a.template,isUpdating:t.isSavingSiteSettings()}}),[]),{updateSocialImageGeneratorConfig:u}=(0,i.useDispatch)(p.M_);(0,r.useEffect)((()=>{if(e){u({template:e})}}),[e,u]);const[m]=(0,s.A)("sm"),h=(0,r.useCallback)((({open:e})=>l().createElement(n.A,{fullWidth:m,variant:"secondary",size:"small",disabled:o||!a,onClick:e},__("Change default template","jetpack"))),[a,m,o]);return l().createElement(d.A,{value:e||c,onSelect:t,render:h})}},12226:(e,t,a)=>{"use strict";a.d(t,{A:()=>l});var s=a(50723),n=a(56427),i=a(86087),r=a(27723),o=a(81299),c=a(88375);const __=r.__,l=({onSelect:e,render:t,value:a=null})=>{const[r,l]=(0,i.useState)(!1),[p,d]=(0,i.useState)(a),u=(0,i.useCallback)((()=>l(!0)),[l]),m=(0,i.useCallback)((()=>{l(!1)}),[l]),h=(0,i.useCallback)((()=>{e(p),l(!1)}),[e,l,p]);return React.createElement(s.Ay,{targetDom:document.body},t({open:u}),r&&React.createElement(n.Modal,{onRequestClose:m,title:__("Pick a Template","jetpack")},React.createElement(o.A,{value:p,onTemplateSelected:d}),React.createElement("div",{className:c.A.footer},React.createElement(n.Button,{variant:"tertiary",onClick:m},__("Cancel","jetpack")),React.createElement(n.Button,{variant:"primary",onClick:h},__("Save","jetpack")))))}},81299:(e,t,a)=>{"use strict";a.d(t,{A:()=>c});var s=a(86087),n=a(27723),i=a(13022),r=a(52002),o=a(10936);const __=n.__,c=({value:e=null,onTemplateSelected:t=null})=>{const a=(0,s.useCallback)((e=>{const a=e.target.id;t?.(a)}),[t]);return React.createElement("div",{className:r.A.templates},o.A.map((t=>React.createElement("button",{onClick:a,id:t.name,key:t.name,className:(0,i.A)(r.A.template,{[r.A["template--active"]]:t.name===e})},React.createElement("img",{src:t.image,alt:t.label}),React.createElement("span",{className:"screen-reader-text"},(0,n.sprintf)(/* translators: %s is the name of the template */ __("Pick the %s template","jetpack"),t.label))))))}},10936:(e,t,a)=>{"use strict";a.d(t,{A:()=>r});var s=a(26365),n=a(45329),i=a(9509);const r=[{name:"highway",label:"Highway",image:a(22417)},{name:"dois",label:"Dois",image:s},{name:"edge",label:"Edge",image:n},{name:"fullscreen",label:"Fullscreen",image:i}]},98725:(e,t,a)=>{"use strict";a.d(t,{A:()=>l});var s=a(68316),n=a(47143),i=a(86087),r=a(51609),o=a.n(r),c=a(31963);const l=({toggleClass:e,children:t})=>{const{isEnabled:a,isUpdating:r}=(0,n.useSelect)((e=>{const t=e(c.M_);return{isEnabled:t.getSocialImageGeneratorConfig().enabled,isUpdating:t.isSavingSiteSettings()}}),[]),{updateSocialImageGeneratorConfig:l}=(0,n.useDispatch)(c.M_),p=(0,i.useCallback)((()=>{l({enabled:!a})}),[a,l]);return o().createElement(s.A,{className:e,disabled:r,checked:a,onChange:p,label:t})}},96390:(e,t,a)=>{"use strict";a(85985),a(56427),a(86087),a(27723),a(18603),a(94360),a(47944)},98588:(e,t,a)=>{"use strict";a(73691),a(3582),a(47143),a(86087),a(18537),a(27723),a(39553),a(62697),a(31137)},18603:(e,t,a)=>{"use strict";a(85985),a(56427),a(47143),a(27723),a(51609),a(31963),a(12141),a(39329),a(48712),a(98588),a(47944)},94360:(e,t,a)=>{"use strict";a(27723),a(41190),a(47944)},42259:(e,t,a)=>{"use strict";a(73691),a(3582),a(47143),a(43656),a(18537),a(39553),a(31963)},59540:(e,t,a)=>{"use strict";var s=a(73691),n=a.n(s),i=a(87070),r=a(47143),o=a(39553),c=a(31963);(0,r.withSelect)((e=>{const{getEditedPostAttribute:t}=e("core/editor");return{excerpt:t("excerpt"),content:t("content").split("\x3c!--more")[0]}}))((e=>{const{message:t}=(0,o.A)(),{title:a,excerpt:s,content:l}=e,p=(0,r.useSelect)((e=>{const{displayName:t,profileImage:a}=e(c.Af).getConnectionProfileDetails(c.s);return{displayName:t,avatarUrl:a}}));return React.createElement(i.k,n()({},e,{type:"article",user:p,customText:t||s||l||a}))}))},81048:(e,t,a)=>{"use strict";a(73691),a(47143),a(18537),a(51609)},91262:(e,t,a)=>{"use strict";a(97999),a(56427),a(47143),a(27723),a(51609),a(39553),a(31963),a(27844)},29650:(e,t,a)=>{"use strict";a(47143),a(27723),a(51609),a(39553),a(31963)},98175:(e,t,a)=>{"use strict";a(73691),a(47143),a(18537),a(39553),a(31963)},81115:(e,t,a)=>{"use strict";a(56427),a(18537),a(27723),a(42160),a(31137)},49257:(e,t,a)=>{"use strict";a(47143),a(51609),a(39553),a(31963)},97192:(e,t,a)=>{"use strict";a(56427),a(27723),a(42160)},68655:(e,t,a)=>{"use strict";a(47143),a(18537),a(51609),a(383),a(31963)},22322:(e,t,a)=>{"use strict";a(73691),a(47143),a(39553),a(31963)},91537:(e,t,a)=>{"use strict";a(47143),a(51609),a(383),a(31963)},42160:(e,t,a)=>{"use strict";a(73691),a(27723),a(51609),a(31963),a(70407),a(42259),a(59540),a(81048),a(91262),a(29650),a(98175),a(49257),a(68655),a(22322),a(91537)},31137:(e,t,a)=>{"use strict";a(47143),a(27723),a(383)},7610:(e,t,a)=>{"use strict";a.d(t,{A:()=>l});var s=a(68316),n=a(47143),i=a(86087),r=a(51609),o=a.n(r),c=a(7162);const l=({toggleClass:e,children:t})=>{const{isEnabled:a,isUpdating:r}=(0,n.useSelect)((e=>({isEnabled:e(c.store).getUtmSettings().enabled,isUpdating:e(c.store).isSavingSiteSettings()})),[]),{updateUtmSettings:l}=(0,n.useDispatch)(c.store),p=(0,i.useCallback)((()=>{l({enabled:!a})}),[a,l]);return o().createElement(s.A,{className:e,disabled:r,checked:a,onChange:p,label:t})}},18699:(e,t,a)=>{"use strict";a(86087),a(76794)},98420:(e,t,a)=>{"use strict";a(383)},54915:(e,t,a)=>{"use strict";a(47143),a(43656)},49747:(e,t,a)=>{"use strict";a(47143),a(43656),a(86087),a(383)},92214:(e,t,a)=>{"use strict";a(47143),a(98420),a(54915),a(80624),a(52367),a(80682),a(50001),a(31963)},80624:(e,t,a)=>{"use strict";a(47143),a(86087)},80682:(e,t,a)=>{"use strict";a(27723)},52367:(e,t,a)=>{"use strict";a(86087),a(98420),a(49747),a(80682),a(2204)},2204:(e,t,a)=>{"use strict";const s="video/mp4",n="video/mov",i="video/videopress",r=["image/jpeg","image/jpg","image/png"],o=r.concat(["image/gif","image/bmp"]),c=["video/3g2","video/3gp","video/3gpp","video/asf","video/avi","video/dat","video/divx","video/dv","video/f4v","video/flv","video/gif","video/m2ts","video/m4v","video/mkv","video/mod","video/mov","video/mp4","video/mpe","video/mpeg","video/mpeg4","video/mpg","video/mts","video/nsv","video/ogm","video/ogv","video/qt","video/tod","video/ts","video/vob","video/wmv"],l=r.concat(["image/gif","image/heic","image/heif","image/webp","image/avif"]),p=["video/webm","video/quicktime","video/ogg"],d=r.concat(["image/gif","image/jpe","image/tif","image/tiff","image/webp"]),u=[n,"video/avi","video/mpg","video/mpeg","video/m4v"];r.concat([s,i,n]),r.concat([s,i]),o.concat([i,...c]),r.concat([s,n,i]),r.concat([s,i]),l.concat([...p,s,i]),d.concat([...u,s,i]),new Set([...r,...o,...l,...c,...p,"image/png","image/jpeg","image/jpg","image/heic","image/heif","image/webp"])},38656:(e,t,a)=>{"use strict";a(97999),a(47143),a(43656),a(27844)},383:(e,t,a)=>{"use strict";a.d(t,{h:()=>o});var s=a(47143),n=a(43656),i=a(86087),r=a(70407);function o(){const{editPost:e}=(0,s.useDispatch)(n.store),t=(0,s.useSelect)((e=>{const t=e(n.store).getEditedPostAttribute("meta")||{},a=t.jetpack_publicize_feature_enabled??!0,s=t.jetpack_social_options||{};return{isPublicizeEnabled:a,jetpackSocialOptions:s,attachedMedia:s.attached_media||[],imageGeneratorSettings:s.image_generator_settings??{enabled:!1},isPostAlreadyShared:t.jetpack_social_post_already_shared??!1,shareMessage:`${t.jetpack_publicize_message||""}`.substring(0,(0,r.getShareMessageMaxLength)())}}),[]),a=(0,i.useCallback)(((t,a)=>{e({meta:{[t]:a}})}),[e]),o=(0,i.useCallback)((()=>{a("jetpack_publicize_feature_enabled",!t.isPublicizeEnabled)}),[t.isPublicizeEnabled,a]),c=(0,i.useCallback)(((e,s)=>{a("jetpack_social_options",{...t.jetpackSocialOptions,[e]:s,version:2})}),[t.jetpackSocialOptions,a]);return(0,i.useMemo)((()=>({...t,togglePublicizeFeature:o,updateJetpackSocialOptions:c,updateMeta:a})),[t,o,c,a])}},57275:(e,t,a)=>{"use strict";a(47143),a(43656),a(86087)},77627:(e,t,a)=>{"use strict";a(39384),a(85985),a(47143),a(43656),a(70407),a(383)},88584:(e,t,a)=>{"use strict";a(29491),a(86087),a(50001)},38394:(e,t,a)=>{"use strict";a(27723),a(16480),a(51609)},49036:(e,t,a)=>{"use strict";a(29491),a(47143),a(43656),a(86087)},31873:(e,t,a)=>{"use strict";a(1455),a(47143),a(43656),a(86087),a(27723),a(50001),a(39553),a(51371)},50001:(e,t,a)=>{"use strict";a.d(t,{A:()=>i});var s=a(47143),n=a(31963);function i(){const{refreshConnectionTestResults:e,toggleConnectionById:t}=(0,s.useDispatch)(n.M_);return{...(0,s.useSelect)((e=>{const t=e(n.M_),a=t.getConnections(),s=t.getEnabledConnections(),i=t.getDisabledConnections().map((e=>e.connection_id));return{connections:a,hasConnections:a.length>0,hasEnabledConnections:s.length>0,skippedConnections:i,enabledConnections:s}}),[]),toggleById:t,refresh:e}}},39553:(e,t,a)=>{"use strict";a.d(t,{A:()=>i});var s=a(70407),n=a(383);function i(){const{updateMeta:e,shareMessage:t}=(0,n.h)();return{message:t,maxLength:(0,s.getShareMessageMaxLength)(),updateMessage:function(t){e("jetpack_publicize_message",t)}}}},75168:(e,t,a)=>{"use strict";a(47143),a(43656),a(31963),a(49036)},38716:(e,t,a)=>{"use strict";a.r(t),a.d(t,{abortRefreshConnectionsRequest:()=>E,abortRequest:()=>v,addConnection:()=>m,closeConnectionsModal:()=>P,createAbortController:()=>k,createConnection:()=>S,deleteConnection:()=>w,deleteConnectionById:()=>A,deletingConnection:()=>C,mergeConnections:()=>g,openConnectionsModal:()=>O,refreshConnectionTestResults:()=>_,removeAbortControllers:()=>f,setConnections:()=>d,setKeyringResult:()=>u,setReconnectingAccount:()=>R,syncConnectionsToPostMeta:()=>b,toggleConnection:()=>h,toggleConnectionById:()=>y,toggleConnectionsModal:()=>M,updateConnection:()=>N,updateConnectionById:()=>T,updatingConnection:()=>x});var s=a(692),n=a(1455),i=a.n(n),r=a(47143),o=a(43656),c=a(27723),l=a(51371),p=a(54118);const __=c.__;function d(e){return{type:p.dA,connections:e}}function u(e){return{type:p.BN,keyringResult:e}}function m(e){return{type:p.Bc,connection:e}}function h(e){return{type:p.af,connectionId:e}}function g(e){return function({dispatch:t,select:a}){const s=a.getConnections(),n=[],i={done:!1,enabled:!0,toggleable:!0};for(const t of e){const e=s.find((e=>e.connection_id?e.connection_id===t.connection_id:e.id===t.id)),a={...i,...e,...t,shared:e?.shared,is_healthy:t.test_success};n.push(a)}t(d(n))}}function k(e,t){return{type:p.WB,requestType:t,abortController:e}}function f(e){return{type:p.Wp,requestType:e}}function v(e){return function({dispatch:t,select:a}){const s=a.getAbortControllers(e);for(const e of s)e.abort();t(f(e))}}function E(){return v(p.rz)}function _(e=!1){return async function({dispatch:t,select:a}){try{const s=(0,l.n)().api_paths.refreshConnections;for(;a.getUpdatingConnections().length>0||a.getDeletingConnections().length>0;)await new Promise((e=>setTimeout(e,100)));const n=new AbortController;t(k(n,p.rz));t(g(await i()({path:s,signal:n.signal}))),e&&t(b())}catch(a){"AbortError"===a.name&&t(_(e))}}}function b(){return function({registry:e,select:t}){const a=t.getConnections();return e.dispatch(o.store).editPost({jetpack_publicize_connections:a})}}function y(e,t=!0){return function({dispatch:a}){a(h(e)),t&&a(b())}}function w(e){return{type:p.nC,connectionId:e}}function C(e,t=!0){return{type:p.WH,connectionId:e,deleting:t}}function A({connectionId:e,showSuccessNotice:t=!0}){return async function({registry:a,dispatch:n}){const{createErrorNotice:c,createSuccessNotice:l}=(0,r.dispatch)(s.store);try{const s=`/jetpack/v4/social/connections/${e}`;return n(E()),n(C(e)),await i()({method:"DELETE",path:s}),n(w(e)),t&&l(__("Account disconnected successfully.","jetpack"),{type:"snackbar",isDismissible:!0}),a.select(o.store).getCurrentPostId()&&n(b()),!0}catch(e){let t=__("Error disconnecting account.","jetpack");"object"==typeof e&&"message"in e&&e.message&&(t=`${t} ${e.message}`),c(t,{type:"snackbar",isDismissible:!0})}finally{n(C(e,!1))}return!1}}let j=1;function S(e,t={}){return async function({registry:a,dispatch:n}){const{createErrorNotice:l,createSuccessNotice:p}=(0,r.dispatch)(s.store),d="new-"+ ++j;try{const s="/jetpack/v4/social/connections/";n(m({connection_id:d,...t})),n(E()),n(x(d));const r=await i()({method:"POST",path:s,data:e});r&&(n(N(d,{...r,can_disconnect:!0,enabled:!0})),p((0,c.sprintf)(/* translators: %s is the name of the social media platform e.g. "Facebook" */ -__("%s account connected successfully.","jetpack"),r.label),{type:"snackbar",isDismissible:!0}),a.select(o.store).getCurrentPostId()&&n(b()))}catch(e){let t=__("Error connecting account.","jetpack");"object"==typeof e&&"message"in e&&e.message&&(t=`${t} ${e.message}`),l(t,{type:"snackbar",isDismissible:!0})}finally{n(x(d,!1)),n(w(d))}}}function N(e,t){return{type:p.dw,connectionId:e,data:t}}function x(e,t=!0){return{type:p._6,connectionId:e,updating:t}}function R(e){return{type:p.Nv,reconnectingAccount:e}}function T(e,t){return async function({dispatch:a,select:n}){const{createErrorNotice:o,createSuccessNotice:c}=(0,r.dispatch)(s.store),l=n.getConnectionById(e);try{const s=`/jetpack/v4/social/connections/${e}`;a(E()),a(N(e,t)),a(x(e));await i()({method:"POST",path:s,data:t})&&c(__("Account updated successfully.","jetpack"),{type:"snackbar",isDismissible:!0})}catch(t){let s=__("Error updating account.","jetpack");"object"==typeof t&&"message"in t&&t.message&&(s=`${s} ${t.message}`),a(N(e,l)),o(s,{type:"snackbar",isDismissible:!0})}finally{a(x(e,!1))}}}function M(e){return{type:p.xW,isOpen:e}}function O(){return M(!0)}function P(){return M(!1)}},54118:(e,t,a)=>{"use strict";a.d(t,{BN:()=>d,Bc:()=>n,M6:()=>E,Nv:()=>p,WB:()=>m,WH:()=>o,Wp:()=>h,_6:()=>l,_y:()=>v,aF:()=>_,af:()=>i,b5:()=>g,dA:()=>s,dw:()=>c,fz:()=>f,nC:()=>r,rz:()=>k,xW:()=>u});const s="SET_CONNECTIONS",n="ADD_CONNECTION",i="TOGGLE_CONNECTION",r="DELETE_CONNECTION",o="DELETING_CONNECTION",c="UPDATE_CONNECTION",l="UPDATING_CONNECTION",p="SET_RECONNECTING_ACCOUNT",d="SET_KEYRING_RESULT",u="TOGGLE_CONNECTIONS_MODAL",m="ADD_ABORT_CONTROLLER",h="REMOVE_ABORT_CONTROLLERS",g="DEFAULT",k="REFRESH_CONNECTIONS",f="FETCH_POST_SHARE_STATUS",v="RECEIVE_POST_SHARE_STATUS",E="TOGGLE_SHARE_STATUS_MODAL",_="POLLING_FOR_POST_SHARE_STATUS"},62491:(e,t,a)=>{"use strict";a.d(t,{A:()=>o});var s=a(38716),n=a(72451),i=a(64236),r=a(33134);const o={...n,...s,...i,...a(83117),...r}},72451:(e,t,a)=>{"use strict";a.r(t),a.d(t,{closeShareStatusModal:()=>l,defaultIsRequestComplete:()=>p,fetchPostShareStatus:()=>i,openShareStatusModal:()=>c,pollForPostShareStatus:()=>h,pollingForPostShareStatus:()=>m,receivePostShareStaus:()=>r,toggleShareStatusModal:()=>o});var s=a(43656),n=a(54118);function i(e,t=!0){return{type:n.fz,postId:e,loading:t}}function r(e,t){return{type:n._y,shareStatus:e,postId:t}}function o(e){return{type:n.M6,isOpen:e}}function c(){return o(!0)}function l(){return o(!1)}const p=({lastTimestamp:e,postShareStatus:t})=>e?t.shares.some((t=>t.timestamp>e)):t.shares.length>0,d=6e4,u=3e3;function m(e,t=!0){return{type:n.aF,postId:e,polling:t}}function h({pollingInterval:e=u,postId:t,isRequestComplete:a=p,timeout:n=d}={}){return async function({dispatch:i,select:r,registry:o}){const c=Date.now(),l=t||o.select(s.store).getCurrentPostId(),p=r.getPostShareStatus(l).shares[0]?.timestamp||0;let d=!1,u=!1;i(m(l));do{r.getPostShareStatus(l).loading||i.invalidateResolution("getPostShareStatus",[l]),await new Promise((t=>setTimeout(t,e))),d=a({lastTimestamp:p,postShareStatus:r.getPostShareStatus(l)}),u=Date.now()-c>n}while(!d&&!u);i(m(l,!1))}}},64236:(e,t,a)=>{"use strict";a.r(t),a.d(t,{updateSocialImageGeneratorConfig:()=>i});var s=a(3582),n=a(75238);function i(e){return async function({registry:t}){const{saveSite:a}=t.dispatch(s.store);await a({[n.A]:e})}}},33134:(e,t,a)=>{"use strict";a.r(t),a.d(t,{updateSocialPluginSettings:()=>n});var s=a(3582);function n(e){return async function({registry:t}){const{saveEntityRecord:a}=t.dispatch(s.store);await a("jetpack/v4","social/settings",e)}}},83117:(e,t,a)=>{"use strict";a.r(t),a.d(t,{updateUtmSettings:()=>i});var s=a(3582),n=a(75238);function i(e){return async function({registry:t}){const{saveSite:a}=t.dispatch(s.store);await a({[n.b]:e})}}},75238:(e,t,a)=>{"use strict";a.d(t,{A:()=>s,b:()=>n});const s="jetpack_social_image_generator_settings",n="jetpack_social_utm_settings"},31963:(e,t,a)=>{"use strict";a.d(t,{Af:()=>l,M_:()=>u,s:()=>d});var s=a(47143),n=a(70407),i=a(62491),r=a(708),o=a(75772),c=a(62146);const l="jetpack-social-plugin",p={reducer:r.A,actions:i.A,selectors:c.A,resolvers:o.Ay,initialState:(0,n.getSocialScriptData)()?.store_initial_state},d="facebook",u=(0,s.createReduxStore)(l,p);(0,s.register)(u)},62015:(e,t,a)=>{"use strict";a.d(t,{A:()=>n});var s=a(54118);const n=(e={connections:[]},t)=>{switch(t.type){case s.xW:return{...e,isConnectionsModalOpen:t.isOpen};case s.Bc:return{...e,connections:[...e.connections,t.connection]};case s.dA:return{...e,connections:t.connections};case s.nC:return{...e,connections:e.connections.filter((({connection_id:e})=>e!==t.connectionId))};case s.WH:{const a=new Set(e.deletingConnections);return t.deleting?a.add(t.connectionId):a.delete(t.connectionId),{...e,deletingConnections:[...a]}}case s.Nv:return{...e,reconnectingAccount:t.reconnectingAccount};case s.dw:return{...e,connections:e.connections.map((e=>e.connection_id===t.connectionId?{...e,...t.data}:e))};case s._6:{const a=new Set(e.updatingConnections);return t.updating?a.add(t.connectionId):a.delete(t.connectionId),{...e,updatingConnections:[...a]}}case s.WB:{const a=t.requestType||s.b5;return{...e,abortControllers:{...e.abortControllers,[a]:[...e.abortControllers?.[a]||[],t.abortController]}}}case s.Wp:{const a=t.requestType||s.b5;return{...e,abortControllers:{...e.abortControllers,[a]:[]}}}case s.BN:return{...e,keyringResult:t.keyringResult};case s.af:return{...e,connections:e.connections.map((e=>(e.connection_id?e.connection_id===t.connectionId:e.id===t.connectionId)?{...e,enabled:!e.enabled}:e))}}return e}},708:(e,t,a)=>{"use strict";a.d(t,{A:()=>r});var s=a(47143),n=a(62015),i=a(53202);const r=(0,s.combineReducers)({connectionData:n.A,shareStatus:i.q})},53202:(e,t,a)=>{"use strict";a.d(t,{q:()=>n});var s=a(54118);function n(e={},t){switch(t.type){case s.fz:return{...e,[t.postId]:{shares:[],...e?.[t.postId],loading:t.loading??!0}};case s.aF:return{...e,[t.postId]:{shares:[],...e?.[t.postId],polling:t.polling??!0}};case s._y:return{...e,[t.postId]:{...e?.[t.postId],...t.shareStatus,loading:!1}};case s.M6:return{...e,isModalOpen:t.isOpen}}return e}},75772:(e,t,a)=>{"use strict";a.d(t,{Ay:()=>u});var s=a(1455),n=a.n(s),i=a(3582),r=a(43656),o=a(27723),c=a(51371),l=a(59061),p=a(38716),d=a(72451);const __=o.__;const u={getConnections:function(){return function({dispatch:e,registry:t}){const a=t.select(r.store);if(!a.getCurrentPostId())return;const s=a.getEditedPostAttribute("jetpack_publicize_connections");e((0,p.setConnections)(s||[]))}},getPostShareStatus:function(e){return async({dispatch:t,registry:a})=>{const s=e||a.select(r.store).getCurrentPostId(),{feature_flags:i}=(0,c.n)();if(i.useShareStatus)try{t((0,d.fetchPostShareStatus)(s));let e=await n()({path:`jetpack/v4/social/share-status/${s}`});e=(0,l.xA)(e),t((0,d.receivePostShareStaus)(e,s))}catch{t((0,d.fetchPostShareStatus)(s,!1))}}},getSocialPluginSettings:function(){return async({registry:e})=>{e.select(i.store).getEntitiesConfig("jetpack/v4").some((({name:e})=>"social/settings"===e))||await e.dispatch(i.store).addEntities([{kind:"jetpack/v4",name:"social/settings",baseURL:"/jetpack/v4/social/settings",label:__("Social Settings","jetpack")}])}}}},28343:(e,t,a)=>{"use strict";a.r(t),a.d(t,{getAbortControllers:()=>v,getBrokenConnections:()=>o,getConnectionById:()=>r,getConnectionProfileDetails:()=>h,getConnections:()=>i,getConnectionsByService:()=>c,getDeletingConnections:()=>g,getDisabledConnections:()=>m,getEnabledConnections:()=>u,getFailedConnections:()=>p,getKeyringResult:()=>b,getMustReauthConnections:()=>d,getReconnectingAccount:()=>f,getUpdatingConnections:()=>k,hasConnections:()=>l,isBlueskyAccountAlreadyConnected:()=>_,isConnectionsModalOpen:()=>y,isMastodonAccountAlreadyConnected:()=>E});var s=a(50384),n=a(54118);function i(e){return e.connectionData?.connections??[]}function r(e,t){return i(e).find((e=>e.connection_id===t))}function o(e){return i(e).filter((e=>"broken"===e.status||(0,s.Y)(e,"broken")))}function c(e,t){return i(e).filter((({service_name:e})=>e===t))}function l(e){return i(e).length>0}function p(e){return i(e).filter((e=>!1===e.test_success))}function d(e){return i(e).filter((e=>"must_reauth"===e.test_success)).map((e=>e.service_name))}function u(e){return i(e).filter((e=>e.enabled))}function m(e){return i(e).filter((e=>!e.enabled))}function h(e,t,{forceDefaults:a=!1}={}){let s="",n="",r="";if(!a){const a=i(e).find((({service_name:e})=>t===e));if(a){const{display_name:e,profile_display_name:i,profile_picture:o,external_display:c,external_name:l}=a;s="twitter"===t?i:e||c,r="twitter"===t?e:a.username,n=o,"bluesky"===t&&(r=l)}}return{displayName:s,profileImage:n,username:r}}function g(e){return e.connectionData?.deletingConnections??[]}function k(e){return e.connectionData?.updatingConnections??[]}function f(e){return e.connectionData?.reconnectingAccount}function v(e,t=n.b5){return e.connectionData?.abortControllers?.[t]??[]}function E(e,t){return c(e,"mastodon").some((e=>e.external_display===t))}function _(e,t){return c(e,"bluesky").some((e=>e.external_name===t))}function b(e){return e.connectionData?.keyringResult}function y(e){return e.connectionData?.isConnectionsModalOpen??!1}},62146:(e,t,a)=>{"use strict";a.d(t,{A:()=>p});var s=a(3582),n=a(47143),i=a(28343),r=a(49424),o=a(59379),c=a(68273),l=a(86982);const p={...i,...r,isSavingSiteSettings:(0,n.createRegistrySelector)((e=>()=>e(s.store).isSavingEntityRecord("root","site",void 0))),...o,...l,...c}},49424:(e,t,a)=>{"use strict";a.r(t),a.d(t,{getPostShareStatus:()=>i,isShareStatusModalOpen:()=>r});var s=a(47143),n=a(43656);const i=(0,s.createRegistrySelector)((e=>(t,a)=>{const s=a||e(n.store).getCurrentPostId();return t.shareStatus?.[s]??{shares:[]}}));function r(e){return e.shareStatus?.isModalOpen??!1}},59379:(e,t,a)=>{"use strict";a.r(t),a.d(t,{getSocialImageGeneratorConfig:()=>o});var s=a(3582),n=a(47143),i=a(70407),r=a(75238);const o=(0,n.createRegistrySelector)((e=>()=>{const{getSite:t}=e(s.store),a=t(void 0,{_fields:r.A});return a?.[r.A]??(0,i.getSocialScriptData)().settings.socialImageGenerator}))},68273:(e,t,a)=>{"use strict";a.r(t),a.d(t,{getSocialPluginSettings:()=>r,isSavingSocialPluginSettings:()=>o});var s=a(3582),n=a(47143),i=a(70407);const r=(0,n.createRegistrySelector)((e=>()=>e(s.store).getEntityRecord("jetpack/v4","social/settings",void 0)??(0,i.getSocialScriptData)().settings.socialPlugin)),o=(0,n.createRegistrySelector)((e=>()=>e(s.store).isSavingEntityRecord("jetpack/v4","social/settings",void 0)))},86982:(e,t,a)=>{"use strict";a.r(t),a.d(t,{getUtmSettings:()=>o});var s=a(3582),n=a(47143),i=a(70407),r=a(75238);const o=(0,n.createRegistrySelector)((e=>()=>{const{getSite:t}=e(s.store),a=t(void 0,{_fields:r.b});return a?.[r.b]??(0,i.getSocialScriptData)().settings.utmSettings}))},50384:(e,t,a)=>{"use strict";a.d(t,{Y:()=>s});const s=(e,t)=>!1===e.is_healthy&&t===(e.error_code??"broken")},27844:(e,t,a)=>{"use strict";a.d(t,{q:()=>s});const s={ENHANCED_PUBLISHING:"social-enhanced-publishing",IMAGE_GENERATOR:"social-image-generator"}},12093:(e,t,a)=>{"use strict";a.d(t,{T:()=>n});const s=255;function n(){return s}},3280:(e,t,a)=>{"use strict";a(85985)},70407:(e,t,a)=>{"use strict";a.d(t,{features:()=>o.q,getShareMessageMaxLength:()=>s.T,getSocialScriptData:()=>r.n,hasSocialPaidFeatures:()=>r.p,requestExternalAccess:()=>n.x});var s=a(12093),n=(a(3280),a(5367)),i=a(18672);a.o(i,"features")&&a.d(t,{features:function(){return i.features}}),a.o(i,"getSocialScriptData")&&a.d(t,{getSocialScriptData:function(){return i.getSocialScriptData}}),a.o(i,"hasSocialPaidFeatures")&&a.d(t,{hasSocialPaidFeatures:function(){return i.hasSocialPaidFeatures}});var r=a(51371),o=a(27844)},5367:(e,t,a)=>{"use strict";a.d(t,{x:()=>n});var s=a(51119);const n=(e,t)=>{const a=new s.A;let n;a.open(e,null,"toolbar=0,location=0,status=0,menubar=0,"+a.getScreenCenterSpecs(780,700)),a.once("close",(()=>{t(n?.ID?n:{})})),a.on("message",(e=>{n=e?.data}))}},51371:(e,t,a)=>{"use strict";a.d(t,{n:()=>n,p:()=>i});var s=a(97999);function n(){return(0,s.getScriptData)()?.social}function i(){return(0,s.siteHasFeature)("social-enhanced-publishing")}},59061:(e,t,a)=>{"use strict";function s(e){return e&&"shares"in e&&e.done&&e.shares.sort(((e,t)=>t.timestamp-e.timestamp)),e}a.d(t,{xA:()=>s})},50646:(e,t,a)=>{"use strict";a(51371)},18672:()=>{},85985:(e,t,a)=>{"use strict";a.d(t,{GE:()=>s.A});var s=a(54815);a(82034),a(65595),a(53265),a(73489),a(76923),a(15877),a(30335),a(88290)},15877:(e,t,a)=>{"use strict";a(51609)},30335:(e,t,a)=>{"use strict";a(86087)},54815:(e,t,a)=>{"use strict";function s(){return window&&window.Jetpack_Editor_Initial_State&&window.Jetpack_Editor_Initial_State.siteFragment?window.Jetpack_Editor_Initial_State.siteFragment:null}a.d(t,{A:()=>s})},73489:(e,t,a)=>{"use strict";var s=a(90372);a(39384),a(86087);const{tracks:n}=s.A,{recordEvent:i}=n},76923:(e,t,a)=>{"use strict";a(47143),a(86087),a(88290)},27105:(e,t,a)=>{"use strict";a.d(t,{Ay:()=>d,E9:()=>p});var s=a(47143),n=a(62634),i=a(94478),r=a(88290);const o="SET_JETPACK_MODULES";function c(e){return p({isLoading:e})}function l(e,t){return{type:"SET_MODULE_UPDATING",name:e,isUpdating:t}}function p(e){return{type:o,options:e}}const d={updateJetpackModuleStatus:function*(e){try{yield l(e.name,!0),yield(0,i.sB)(e);const t=yield(0,i.wz)();return yield p({data:t}),!0}catch(e){const t=(0,s.select)(r.F).getJetpackModules();return yield p(t),!1}finally{yield l(e.name,!1)}},setJetpackModules:p,fetchModules:function*(){if((0,n.Sy)())return!0;try{yield c(!0);const e=yield(0,i.wz)();return yield p({data:e}),!0}catch(e){const t=(0,s.select)(r.F).getJetpackModules();return yield p(t),!1}finally{yield c(!1)}}}},94478:(e,t,a)=>{"use strict";a.d(t,{Ay:()=>l,sB:()=>c,wz:()=>o});var s=a(1455),n=a.n(s);const i="FETCH_JETPACK_MODULES",r="UPDATE_JETPACK_MODULE_STATUS",o=()=>({type:i}),c=e=>({type:r,settings:e}),l={[i]:function(){return n()({path:"/jetpack/v4/module/all",method:"GET"})},[r]:function({settings:e}){return n()({path:`/jetpack/v4/module/${e.name}/active`,method:"POST",data:{active:e.active}})}}},88290:(e,t,a)=>{"use strict";a.d(t,{F:()=>l});var s=a(47143),n=a(27105),i=a(94478),r=a(38862),o=a(62701),c=a(31640);const l="jetpack-modules",p=(0,s.createReduxStore)(l,{reducer:r.A,actions:n.Ay,controls:i.Ay,resolvers:o.A,selectors:c.A});(0,s.register)(p);const d=window?.Initial_State?.getModules||window?.Jetpack_Editor_Initial_State?.modules||null;null!==d&&(0,s.dispatch)(l).setJetpackModules({data:{...d}})},38862:(e,t,a)=>{"use strict";a.d(t,{A:()=>n});const s={isLoading:!1,isUpdating:{},data:{}},n=(e=s,t)=>{switch(t.type){case"SET_JETPACK_MODULES":return{...e,...t.options};case"SET_MODULE_UPDATING":return{...e,isUpdating:{...e.isUpdating,[t.name]:t.isUpdating}}}return e}},62701:(e,t,a)=>{"use strict";a.d(t,{A:()=>i});var s=a(27105),n=a(94478);const i={getJetpackModules:function*(){try{const e=yield(0,n.wz)();if(e)return(0,s.E9)({data:e})}catch(e){console.error(e)}}}},31640:(e,t,a)=>{"use strict";a.d(t,{A:()=>n});var s=a(62634);const n={getJetpackModules:e=>e.data,isModuleActive:(e,t)=>(0,s.Sy)()||(e?.data?.[t]?.activated??!1),areModulesLoading:e=>e.isLoading??!1,isModuleUpdating:(e,t)=>e?.isUpdating?.[t]??!1}},53265:(e,t,a)=>{"use strict";var s=a(27723);a(93832),a(66087);const __=s.__;__("Upgrade your plan to use video covers","jetpack"),__("Upgrade your plan to upload audio","jetpack")},82034:(e,t,a)=>{"use strict";a(92279)},62634:(e,t,a)=>{"use strict";function s(){return"object"==typeof window&&"string"==typeof window._currentSiteType?window._currentSiteType:null}function n(){return"simple"===s()}a.d(t,{Sy:()=>n})},65595:(e,t,a)=>{"use strict";a(73691),a(29491)},84705:(e,t,a)=>{"use strict";a.d(t,{Ay:()=>s.d});var s=a(58992);a(91135)},91135:(e,t,a)=>{"use strict";a.d(t,{$:()=>s});const s=[{name:"amazon",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M13.582 8.182c-1.648.185-3.802.308-5.344.984-1.781.769-3.03 2.337-3.03 4.644 0 2.953 1.86 4.429 4.253 4.429 2.02 0 3.125-.477 4.685-2.065.516.747.685 1.109 1.629 1.894a.59.59 0 0 0 .672-.066l.006.006c.567-.505 1.599-1.401 2.18-1.888.231-.188.19-.496.009-.754-.52-.718-1.072-1.303-1.072-2.634V8.305c0-1.876.133-3.599-1.249-4.891C15.23 2.369 13.422 2 12.04 2 9.336 2 6.318 3.01 5.686 6.351c-.068.355.191.542.423.594l2.754.298c.258-.013.445-.266.494-.523.236-1.151 1.2-1.706 2.284-1.706.584 0 1.249.215 1.595.738.398.584.346 1.384.346 2.061zm-.533 5.906c-.451.8-1.169 1.291-1.967 1.291-1.09 0-1.728-.83-1.728-2.061 0-2.42 2.171-2.86 4.227-2.86v.615c.001 1.108.027 2.031-.532 3.015m7.634 5.251C18.329 21.076 14.917 22 11.979 22c-4.118 0-7.826-1.522-10.632-4.057-.22-.199-.024-.471.241-.317 3.027 1.762 6.771 2.823 10.639 2.823 2.608 0 5.476-.541 8.115-1.66.397-.169.73.262.341.55m.653 1.704c-.194.163-.379.076-.293-.139.284-.71.92-2.298.619-2.684s-1.99-.183-2.749-.092c-.23.027-.266-.173-.059-.319 1.348-.946 3.555-.673 3.811-.356.26.32-.066 2.533-1.329 3.59"})))},{name:"behance",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M7.799 5.698c.589 0 1.12.051 1.606.156q.722.155 1.241.507.516.351.804.938c.188.387.281.871.281 1.443q0 .93-.421 1.551-.424.62-1.255 1.014 1.133.328 1.689 1.146.559.822.557 1.975 0 .935-.359 1.612a3.14 3.14 0 0 1-.973 1.114q-.613.432-1.399.637A6.1 6.1 0 0 1 7.963 18H2V5.698zm-.35 4.97q.721 0 1.192-.345.465-.344.463-1.119 0-.43-.152-.707a1.1 1.1 0 0 0-.416-.427 1.7 1.7 0 0 0-.596-.216 3.6 3.6 0 0 0-.697-.06H4.709v2.874zm.151 5.237q.401.001.759-.077c.243-.053.457-.137.637-.261.182-.12.332-.283.441-.491q.164-.31.163-.798-.002-.948-.533-1.357c-.356-.27-.83-.404-1.413-.404H4.709v3.388zm8.562-.041q.552.538 1.583.538.74 0 1.277-.374c.354-.248.571-.514.654-.79h2.155c-.347 1.072-.872 1.838-1.589 2.299-.708.463-1.572.693-2.58.693q-1.05 0-1.899-.337a4 4 0 0 1-1.439-.958 4.4 4.4 0 0 1-.904-1.484 5.4 5.4 0 0 1-.32-1.899q0-1 .329-1.863a4.4 4.4 0 0 1 .933-1.492q.607-.63 1.444-.994a4.6 4.6 0 0 1 1.857-.363q1.131-.001 1.98.44a3.94 3.94 0 0 1 1.389 1.181 4.8 4.8 0 0 1 .783 1.69q.24.947.171 1.983h-6.428c-.001.706.237 1.372.604 1.73m2.811-4.68c-.291-.321-.783-.496-1.384-.496q-.585 0-.973.2a2 2 0 0 0-.621.491 1.8 1.8 0 0 0-.328.628 2.7 2.7 0 0 0-.111.587h3.98c-.058-.625-.271-1.085-.563-1.41m-3.916-3.446h4.985V6.524h-4.985z"})))},{name:"blogger-alt",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M19.779 9.904h-.981l-.021.001a1.163 1.163 0 0 1-1.16-1.079l-.001-.013A5.813 5.813 0 0 0 11.803 3H8.871a5.813 5.813 0 0 0-5.813 5.813v6.375a5.813 5.813 0 0 0 5.813 5.813h6.257a5.814 5.814 0 0 0 5.813-5.813l.002-4.121a1.164 1.164 0 0 0-1.164-1.163M8.726 7.713h3.291a1.117 1.117 0 1 1 0 2.234H8.726a1.117 1.117 0 1 1 0-2.234m6.601 8.657H8.72a1.057 1.057 0 1 1 0-2.114h6.607a1.057 1.057 0 1 1 0 2.114"})))},{name:"blogger",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M14.722 14.019a.654.654 0 0 1-.654.654H9.977a.654.654 0 0 1 0-1.308h4.091c.361 0 .654.293.654.654m-4.741-3.321h2.038a.692.692 0 0 0 0-1.384H9.981a.692.692 0 0 0 0 1.384M21 5v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2m-3.456 6.39a.72.72 0 0 0-.72-.72h-.607l-.013.001a.72.72 0 0 1-.718-.668l-.001-.008a3.6 3.6 0 0 0-3.599-3.599H10.07a3.6 3.6 0 0 0-3.599 3.599v3.947a3.6 3.6 0 0 0 3.599 3.599h3.874a3.6 3.6 0 0 0 3.599-3.599z"})))},{name:"bluesky",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M21.2 3.3c-.5-.2-1.4-.5-3.6 1C15.4 6 12.9 9.2 12 11c-.9-1.8-3.4-5-5.7-6.7-2.2-1.6-3-1.3-3.6-1S2 4.6 2 5.1s.3 4.7.5 5.4c.7 2.3 3.1 3.1 5.3 2.8-3.3.5-6.2 1.7-2.4 5.9 4.2 4.3 5.7-.9 6.5-3.6.8 2.7 1.7 7.7 6.4 3.6 3.6-3.6 1-5.4-2.3-5.9 2.2.2 4.6-.5 5.3-2.8.4-.7.7-4.8.7-5.4 0-.5-.1-1.5-.8-1.8"})))},{name:"codepen",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"m22.016 8.84-.007-.037q-.006-.037-.015-.072-.007-.022-.013-.042l-.023-.062-.02-.042a.4.4 0 0 0-.03-.057l-.025-.038-.035-.052-.03-.037q-.021-.026-.043-.045-.015-.018-.035-.035a.4.4 0 0 0-.048-.04l-.037-.03-.015-.012-9.161-6.096a.86.86 0 0 0-.955 0L2.359 8.237l-.015.012-.038.028-.048.04a.638.638 0 0 0-.078.082q-.018.018-.03.037-.018.026-.035.052l-.025.038q-.016.031-.03.059l-.02.041a1 1 0 0 0-.034.106q-.01.034-.016.071-.003.02-.006.037a1 1 0 0 0-.009.114v6.093q0 .056.008.112l.007.038q.006.035.015.072a.2.2 0 0 0 .013.04q.01.032.022.063l.02.04a.4.4 0 0 0 .055.096l.035.052.03.037.042.045.035.035q.023.02.048.04l.038.03.013.01 9.163 6.095a.858.858 0 0 0 .959.004l9.163-6.095.015-.01q.02-.015.037-.03l.048-.04q.02-.017.035-.035.025-.024.043-.045l.03-.037.035-.052.025-.038a.4.4 0 0 0 .03-.058l.02-.04.023-.063c.003-.013.01-.027.013-.04q.009-.037.015-.072l.007-.037q.006-.062.007-.117V8.954a1 1 0 0 0-.008-.114m-9.154-4.376 6.751 4.49-3.016 2.013-3.735-2.492zm-1.724 0v4.009l-3.735 2.494-3.014-2.013zm-7.439 6.098L5.853 12l-2.155 1.438zm7.439 8.974-6.749-4.491 3.015-2.011 3.735 2.492zM12 14.035 8.953 12 12 9.966 15.047 12zm.862 5.501v-4.009l3.735-2.492 3.016 2.011zm7.441-6.098L18.147 12l2.156-1.438z"})))},{name:"deezer",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M20.129 3.662c.222-1.287.548-2.096.909-2.098h.001c.673.002 1.219 2.809 1.219 6.274s-.546 6.274-1.22 6.274c-.276 0-.531-.477-.736-1.276-.324 2.926-.997 4.937-1.776 4.937-.603 0-1.144-1.208-1.507-3.114-.248 3.624-.872 6.195-1.602 6.195-.458 0-.875-1.019-1.184-2.678C13.861 21.6 13.003 24 12.002 24s-1.861-2.399-2.231-5.824c-.307 1.659-.724 2.678-1.184 2.678-.73 0-1.352-2.571-1.602-6.195-.363 1.905-.903 3.114-1.507 3.114-.778 0-1.452-2.011-1.776-4.937-.204.802-.46 1.276-.736 1.276-.674 0-1.22-2.809-1.22-6.274s.546-6.274 1.22-6.274c.362 0 .685.812.91 2.098.357-2.22.94-3.662 1.6-3.662.784 0 1.463 2.04 1.784 5.002.314-2.156.791-3.53 1.325-3.53.749 0 1.385 2.703 1.621 6.474.443-1.933 1.085-3.146 1.795-3.146s1.352 1.214 1.795 3.146c.237-3.771.872-6.474 1.621-6.474.533 0 1.009 1.374 1.325 3.53.321-2.962 1-5.002 1.784-5.002.658 0 1.244 1.443 1.603 3.662M0 7.221c0-1.549.31-2.805.692-2.805s.692 1.256.692 2.805-.31 2.805-.692 2.805S0 8.77 0 7.221m22.616 0c0-1.549.31-2.805.692-2.805S24 5.672 24 7.221s-.31 2.805-.692 2.805-.692-1.256-.692-2.805"})))},{name:"discord",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M20.33 4.523A20 20 0 0 0 15.379 3a14 14 0 0 0-.634 1.289 18.4 18.4 0 0 0-5.495 0A14 14 0 0 0 8.615 3 20 20 0 0 0 3.66 4.527C.527 9.163-.323 13.684.102 18.141a20 20 0 0 0 6.073 3.049 14.7 14.7 0 0 0 1.301-2.097 13 13 0 0 1-2.048-.978q.258-.189.502-.378a14.27 14.27 0 0 0 12.142 0q.247.202.502.378a13 13 0 0 1-2.052.98 14.5 14.5 0 0 0 1.301 2.095 19.9 19.9 0 0 0 6.076-3.047c.498-5.168-.851-9.648-3.568-13.62M8.013 15.4c-1.183 0-2.161-1.074-2.161-2.395S6.796 10.6 8.01 10.6s2.183 1.083 2.163 2.405S9.22 15.4 8.013 15.4m7.974 0c-1.186 0-2.16-1.074-2.16-2.395s.944-2.405 2.16-2.405 2.178 1.083 2.157 2.405-.951 2.395-2.158 2.395"})))},{name:"dribbble",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12 22C6.486 22 2 17.514 2 12S6.486 2 12 2s10 4.486 10 10-4.486 10-10 10m8.434-8.631c-.292-.092-2.644-.794-5.32-.365 1.117 3.07 1.572 5.57 1.659 6.09a8.56 8.56 0 0 0 3.661-5.725m-5.098 6.507c-.127-.749-.623-3.361-1.822-6.477l-.056.019c-4.818 1.679-6.547 5.02-6.701 5.334A8.5 8.5 0 0 0 12 20.555a8.5 8.5 0 0 0 3.336-.679m-9.682-2.152c.193-.331 2.538-4.213 6.943-5.637q.167-.054.337-.102a29 29 0 0 0-.692-1.45c-4.266 1.277-8.405 1.223-8.778 1.216a8.497 8.497 0 0 0 2.19 5.973m-2.015-7.46c.382.005 3.901.02 7.897-1.041a55 55 0 0 0-3.167-4.94 8.57 8.57 0 0 0-4.73 5.981m6.359-6.555a46 46 0 0 1 3.187 5c3.037-1.138 4.323-2.867 4.477-3.085a8.51 8.51 0 0 0-7.664-1.915m8.614 2.903c-.18.243-1.612 2.078-4.77 3.367a27 27 0 0 1 .751 1.678c2.842-.357 5.666.215 5.948.275a8.5 8.5 0 0 0-1.929-5.32"})))},{name:"dropbox",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12 6.134 6.069 9.797 2 6.54l5.883-3.843zm-10 6.92 5.883 3.843L12 13.459 6.069 9.797zm10 .405 4.116 3.439L22 13.054l-4.069-3.257zM22 6.54l-5.884-3.843L12 6.134l5.931 3.663zm-9.989 7.66-4.129 3.426-1.767-1.153v1.291l5.896 3.539 5.897-3.539v-1.291l-1.769 1.153z"})))},{name:"eventbrite",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M18.041 3.931 5.959 3A2.96 2.96 0 0 0 3 5.959v12.083A2.96 2.96 0 0 0 5.959 21l12.083-.931C19.699 19.983 21 18.744 21 17.11V6.89c0-1.634-1.259-2.863-2.959-2.959M16.933 8.17c-.082.215-.192.432-.378.551-.188.122-.489.132-.799.132-1.521 0-3.062-.048-4.607-.048q-.23 1.061-.451 2.128c.932-.004 1.873.005 2.81.005.726 0 1.462-.069 1.586.525.04.189-.001.426-.052.615-.105.38-.258.676-.625.783-.185.054-.408.058-.646.058-1.145 0-2.345.017-3.493.02-.169.772-.328 1.553-.489 2.333 1.57-.005 3.067-.041 4.633-.058.627-.007 1.085.194 1.009.85a2.2 2.2 0 0 1-.211.725c-.102.208-.248.376-.488.452-.237.075-.541.064-.862.078-.304.014-.614.008-.924.016-.309.009-.619.022-.919.022-1.253 0-2.429.08-3.683.073-.603-.004-1.014-.249-1.124-.757-.059-.273-.018-.58.036-.841a3543 3543 0 0 1 1.629-7.763c.056-.265.114-.511.225-.714a1.24 1.24 0 0 1 .79-.62c.368-.099.883-.047 1.344-.047.305 0 .612.008.914.016.925.026 1.817.03 2.747.053.304.007.615.016.915.016.621 0 1.17.073 1.245.614.039.288-.051.567-.132.783"})))},{name:"facebook",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("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-10"})))},{name:"fediverse",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 743 743"},React.createElement("g",null,React.createElement("path",{d:"M181.131 275.137a68.9 68.9 0 0 1-29.465 29.328l161.758 162.389 38.998-19.764zm213.363 214.187-38.998 19.764 81.963 82.283a68.9 68.9 0 0 1 29.471-29.332zM581.646 339.391l-91.576 46.41 6.752 43.189 103.616-52.513a68.9 68.9 0 0 1-18.792-37.086m-144.738 73.351L220.383 522.477a68.9 68.9 0 0 1 18.795 37.089L443.66 455.934zM367.275 142.438l-104.48 203.97 30.848 30.967 110.623-215.957a68.9 68.9 0 0 1-36.991-18.98M235.621 399.459l-52.922 103.314a68.9 68.9 0 0 1 36.987 18.979l46.781-91.328zM150.768 304.918a68.9 68.9 0 0 1-34.416 7.195 69 69 0 0 1-6.651-.695l30.903 197.662a68.9 68.9 0 0 1 34.416-7.195 69 69 0 0 1 6.646.695zM239.342 560.545c.707 4.589.949 9.239.72 13.877a68.9 68.9 0 0 1-7.267 27.18l197.629 31.712c-.708-4.59-.95-9.24-.723-13.878a68.9 68.9 0 0 1 7.27-27.178zM601.133 377.199l-91.219 178.082a68.9 68.9 0 0 1 36.994 18.983l91.217-178.08a68.9 68.9 0 0 1-36.992-18.985M476.723 125.33a68.9 68.9 0 0 1-29.471 29.332l141.266 141.811a68.9 68.9 0 0 1 29.468-29.332zM347.787 104.631l-178.576 90.498a68.9 68.9 0 0 1 18.793 37.086l178.574-90.502a68.9 68.9 0 0 1-18.791-37.082M446.926 154.826a68.9 68.9 0 0 1-34.983 7.483 69 69 0 0 1-6.029-.633l15.818 101.291 43.163 6.926zm-16 167.028 37.4 239.482a68.9 68.9 0 0 1 33.914-6.943q3.625.206 7.207.791L474.09 328.777zM188.131 232.975c.734 4.66.988 9.383.758 14.095a68.9 68.9 0 0 1-7.16 26.983l101.369 16.281 19.923-38.908zm173.736 27.9-19.926 38.912 239.514 38.467a69 69 0 0 1-.695-13.719 68.9 68.9 0 0 1 7.349-27.324z"}),React.createElement("path",{fillOpacity:".996",d:"M412.284 156.054c34.538 1.882 64.061-24.592 65.943-59.13s-24.592-64.062-59.131-65.943c-34.538-1.882-64.061 24.592-65.943 59.13s24.593 64.062 59.131 65.943M646.144 390.82c34.538 1.881 64.062-24.593 65.943-59.131s-24.592-64.061-59.13-65.943-64.062 24.593-65.943 59.131 24.592 64.061 59.13 65.943M495.086 685.719c34.538 1.881 64.062-24.592 65.943-59.13s-24.592-64.062-59.13-65.943-64.062 24.592-65.943 59.13 24.592 64.062 59.13 65.943M167.866 633.211c34.538 1.882 64.062-24.592 65.943-59.13s-24.592-64.062-59.13-65.943-64.062 24.592-65.943 59.13 24.592 64.062 59.13 65.943M116.692 305.86c34.538 1.882 64.062-24.592 65.943-59.13s-24.592-64.062-59.131-65.943c-34.538-1.881-64.061 24.592-65.943 59.13s24.593 64.062 59.131 65.943"})))},{name:"feed",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M2 8.667V12c5.515 0 10 4.485 10 10h3.333c0-7.363-5.97-13.333-13.333-13.333M2 2v3.333c9.19 0 16.667 7.477 16.667 16.667H22C22 10.955 13.045 2 2 2m2.5 15a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5"})))},{name:"flickr",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M6.5 7c-2.75 0-5 2.25-5 5s2.25 5 5 5 5-2.25 5-5-2.25-5-5-5m11 0c-2.75 0-5 2.25-5 5s2.25 5 5 5 5-2.25 5-5-2.25-5-5-5"})))},{name:"foursquare",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M17.573 2H6.905C5.434 2 5 3.107 5 3.805v16.948c0 .785.422 1.077.66 1.172.238.097.892.177 1.285-.275 0 0 5.035-5.843 5.122-5.93.132-.132.132-.132.262-.132h3.26c1.368 0 1.588-.977 1.732-1.552.078-.318.692-3.428 1.225-6.122l.675-3.368C19.56 2.893 19.14 2 17.573 2m-1.078 5.22c-.053.252-.372.518-.665.518h-4.157c-.467 0-.802.318-.802.787v.508c0 .467.337.798.805.798h3.528c.331 0 .655.362.583.715s-.407 2.102-.448 2.295c-.04.193-.262.523-.655.523h-2.88c-.523 0-.683.068-1.033.503-.35.437-3.505 4.223-3.505 4.223-.032.035-.063.027-.063-.015V4.852c0-.298.26-.648.648-.648h8.562c.315 0 .61.297.528.683z"})))},{name:"ghost",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M10.203 20.997H3.005v-3.599h7.198zm10.792-3.599h-7.193v3.599h7.193zm.003-7.198H3v3.599h17.998zm-7.195-7.197H3.005v3.599h10.798zm7.197 0h-3.599v3.599H21z"})))},{name:"git",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M23.519 10.947 13.053.482a1.543 1.543 0 0 0-2.183 0L8.696 2.656l2.756 2.756a1.83 1.83 0 0 1 1.886.439 1.84 1.84 0 0 1 .436 1.898l2.656 2.657a1.83 1.83 0 0 1 1.899.436 1.837 1.837 0 0 1 0 2.597 1.84 1.84 0 0 1-2.599 0 1.84 1.84 0 0 1-.4-1.998l-2.478-2.477v6.521a1.837 1.837 0 0 1 .485 2.945 1.837 1.837 0 0 1-2.597 0 1.837 1.837 0 0 1 0-2.598 1.8 1.8 0 0 1 .602-.401V8.85a1.8 1.8 0 0 1-.602-.4 1.84 1.84 0 0 1-.395-2.009L7.628 3.723.452 10.898a1.544 1.544 0 0 0 0 2.184l10.467 10.467a1.544 1.544 0 0 0 2.183 0l10.417-10.418a1.546 1.546 0 0 0 0-2.184"})))},{name:"github",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12c0 4.419 2.865 8.166 6.839 9.489.5.09.682-.218.682-.484 0-.236-.009-.866-.014-1.699-2.782.602-3.369-1.34-3.369-1.34-.455-1.157-1.11-1.465-1.11-1.465-.909-.62.069-.608.069-.608 1.004.071 1.532 1.03 1.532 1.03.891 1.529 2.341 1.089 2.91.833.091-.647.349-1.086.635-1.337-2.22-.251-4.555-1.111-4.555-4.943 0-1.091.39-1.984 1.03-2.682-.103-.254-.447-1.27.097-2.646 0 0 .84-.269 2.75 1.025A9.6 9.6 0 0 1 12 6.836c.85.004 1.705.114 2.504.336 1.909-1.294 2.748-1.025 2.748-1.025.546 1.376.202 2.394.1 2.646.64.699 1.026 1.591 1.026 2.682 0 3.841-2.337 4.687-4.565 4.935.359.307.679.917.679 1.852 0 1.335-.012 2.415-.012 2.741 0 .269.18.579.688.481A10 10 0 0 0 22 12c0-5.523-4.477-10-10-10"})))},{name:"google-alt",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2m-.05 16c-3.312 0-6-2.688-6-6s2.688-6 6-6c1.62 0 2.976.594 4.014 1.566L14.26 9.222c-.432-.408-1.188-.888-2.31-.888-1.986 0-3.606 1.65-3.606 3.672s1.62 3.672 3.606 3.672c2.298 0 3.144-1.59 3.3-2.532h-3.306v-2.238h5.616c.084.378.15.732.15 1.23 0 3.426-2.298 5.862-5.76 5.862"})))},{name:"google-plus-alt",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M8 11h6.61c.06.35.11.7.11 1.16 0 4-2.68 6.84-6.72 6.84-3.87 0-7-3.13-7-7s3.13-7 7-7c1.89 0 3.47.69 4.69 1.83l-1.9 1.83c-.52-.5-1.43-1.08-2.79-1.08-2.39 0-4.34 1.98-4.34 4.42S5.61 16.42 8 16.42c2.77 0 3.81-1.99 3.97-3.02H8zm15 0h-2V9h-2v2h-2v2h2v2h2v-2h2"})))},{name:"google-plus",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2m-1.919 14.05a4.051 4.051 0 0 1 0-8.1c1.094 0 2.009.401 2.709 1.057l-1.15 1.118a2.23 2.23 0 0 0-1.559-.599c-1.341 0-2.434 1.114-2.434 2.479s1.094 2.479 2.434 2.479c1.551 0 2.122-1.073 2.227-1.709h-2.232v-1.511h3.791c.057.255.101.494.101.83.001 2.312-1.55 3.956-3.887 3.956M19 12.75h-1.25V14h-1.5v-1.25H15v-1.5h1.25V10h1.5v1.25H19z"})))},{name:"google",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12.02 10.18v3.73h5.51c-.26 1.57-1.67 4.22-5.5 4.22-3.31 0-6.01-2.75-6.01-6.12s2.7-6.12 6.01-6.12c1.87 0 3.13.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 0-.83-.11-1.42-.25-2.05z"})))},{name:"instagram",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12 4.622c2.403 0 2.688.009 3.637.052.877.04 1.354.187 1.671.31.42.163.72.358 1.035.673s.51.615.673 1.035c.123.317.27.794.31 1.671.043.949.052 1.234.052 3.637s-.009 2.688-.052 3.637c-.04.877-.187 1.354-.31 1.671-.163.42-.358.72-.673 1.035s-.615.51-1.035.673c-.317.123-.794.27-1.671.31-.949.043-1.233.052-3.637.052s-2.688-.009-3.637-.052c-.877-.04-1.354-.187-1.671-.31a2.8 2.8 0 0 1-1.035-.673 2.8 2.8 0 0 1-.673-1.035c-.123-.317-.27-.794-.31-1.671-.043-.949-.052-1.234-.052-3.637s.009-2.688.052-3.637c.04-.877.187-1.354.31-1.671.163-.42.358-.72.673-1.035s.615-.51 1.035-.673c.317-.123.794-.27 1.671-.31.949-.043 1.234-.052 3.637-.052M12 3c-2.444 0-2.751.01-3.711.054-.958.044-1.612.196-2.184.418a4.4 4.4 0 0 0-1.594 1.039c-.5.5-.808 1.002-1.038 1.594-.223.572-.375 1.226-.419 2.184C3.01 9.249 3 9.556 3 12s.01 2.751.054 3.711c.044.958.196 1.612.418 2.185.23.592.538 1.094 1.038 1.594s1.002.808 1.594 1.038c.572.222 1.227.375 2.185.418.96.044 1.267.054 3.711.054s2.751-.01 3.711-.054c.958-.044 1.612-.196 2.185-.418a4.4 4.4 0 0 0 1.594-1.038c.5-.5.808-1.002 1.038-1.594.222-.572.375-1.227.418-2.185.044-.96.054-1.267.054-3.711s-.01-2.751-.054-3.711c-.044-.958-.196-1.612-.418-2.185A4.4 4.4 0 0 0 19.49 4.51c-.5-.5-1.002-.808-1.594-1.038-.572-.222-1.227-.375-2.185-.418C14.751 3.01 14.444 3 12 3m0 4.378a4.622 4.622 0 1 0 0 9.244 4.622 4.622 0 0 0 0-9.244M12 15a3 3 0 1 1 0-6 3 3 0 0 1 0 6m4.804-8.884a1.08 1.08 0 1 0 .001 2.161 1.08 1.08 0 0 0-.001-2.161"})))},{name:"json-feed",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"m8.522 17.424.027.027c1.076-1.076 1.854-.993 3.154.306l2.053 2.053c2.136 2.136 4.131 2.028 6.515-.356l.729-.728-1.548-1.548-.373.373c-1.349 1.349-2.293 1.366-3.585.075l-2.409-2.409c-1.242-1.242-2.475-1.366-3.659-.381l-.232-.232c1.01-1.225.911-2.368-.29-3.568l-2.16-2.162c-1.317-1.317-1.308-2.236.058-3.602l.372-.372-1.54-1.54-.728.729c-2.393 2.393-2.525 4.346-.439 6.433l1.78 1.78c1.3 1.3 1.383 2.095.315 3.163l.008.008a1.384 1.384 0 0 0 1.952 1.951"}),React.createElement("circle",{cx:"13.089",cy:"10.905",r:"1.383"}),React.createElement("circle",{cx:"16.349",cy:"7.644",r:"1.383"}),React.createElement("circle",{cx:"19.61",cy:"4.383",r:"1.383"})))},{name:"line",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M14.255 9.572v3.333c0 .084-.066.15-.15.15h-.534a.16.16 0 0 1-.122-.061l-1.528-2.063v1.978c0 .084-.066.15-.15.15h-.534a.15.15 0 0 1-.15-.15V9.576c0-.084.066-.15.15-.15h.529a.14.14 0 0 1 .122.066l1.528 2.063V9.577c0-.084.066-.15.15-.15h.534a.15.15 0 0 1 .155.145m-3.844-.15h-.534a.15.15 0 0 0-.15.15v3.333c0 .084.066.15.15.15h.534c.084 0 .15-.066.15-.15V9.572c0-.08-.066-.15-.15-.15m-1.289 2.794H7.664V9.572a.15.15 0 0 0-.15-.15H6.98a.15.15 0 0 0-.15.15v3.333q0 .062.042.103a.16.16 0 0 0 .103.042h2.142c.084 0 .15-.066.15-.15v-.534a.15.15 0 0 0-.145-.15m7.945-2.794h-2.142c-.08 0-.15.066-.15.15v3.333c0 .08.066.15.15.15h2.142c.084 0 .15-.066.15-.15v-.534a.15.15 0 0 0-.15-.15h-1.458v-.563h1.458c.084 0 .15-.066.15-.15v-.539a.15.15 0 0 0-.15-.15h-1.458v-.563h1.458c.084 0 .15-.066.15-.15v-.534c-.005-.08-.07-.15-.15-.15M22.5 5.33v13.373c-.005 2.1-1.725 3.802-3.83 3.797H5.297c-2.1-.005-3.802-1.73-3.797-3.83V5.297c.005-2.1 1.73-3.802 3.83-3.797h13.373c2.1.005 3.802 1.725 3.797 3.83m-2.888 5.747c0-3.422-3.431-6.206-7.645-6.206s-7.645 2.784-7.645 6.206c0 3.066 2.719 5.634 6.394 6.122.895.192.792.52.591 1.725-.033.192-.155.755.661.413s4.402-2.592 6.009-4.439c1.106-1.219 1.636-2.452 1.636-3.82"})))},{name:"link",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M17 13H7v-2h10zm1-6h-1c-1.631 0-3.065.792-3.977 2H18c1.103 0 2 .897 2 2v2c0 1.103-.897 2-2 2h-4.977c.913 1.208 2.347 2 3.977 2h1a4 4 0 0 0 4-4v-2a4 4 0 0 0-4-4M2 11v2a4 4 0 0 0 4 4h1c1.63 0 3.065-.792 3.977-2H6c-1.103 0-2-.897-2-2v-2c0-1.103.897-2 2-2h4.977C10.065 7.792 8.631 7 7 7H6a4 4 0 0 0-4 4"})))},{name:"linkedin",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M19.7 3H4.3A1.3 1.3 0 0 0 3 4.3v15.4A1.3 1.3 0 0 0 4.3 21h15.4a1.3 1.3 0 0 0 1.3-1.3V4.3A1.3 1.3 0 0 0 19.7 3M8.339 18.338H5.667v-8.59h2.672zM7.004 8.574a1.548 1.548 0 1 1-.002-3.096 1.548 1.548 0 0 1 .002 3.096m11.335 9.764H15.67v-4.177c0-.996-.017-2.278-1.387-2.278-1.389 0-1.601 1.086-1.601 2.206v4.249h-2.667v-8.59h2.559v1.174h.037c.356-.675 1.227-1.387 2.526-1.387 2.703 0 3.203 1.779 3.203 4.092v4.711z"})))},{name:"mail",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M20 4H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2m0 4.236-8 4.882-8-4.882V6h16z"})))},{name:"mastodon",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M11.973 2.352c-2.468.02-4.842.286-6.225.921 0 0-2.742 1.229-2.742 5.415 0 .958-.018 2.105.012 3.32.1 4.094.75 8.128 4.535 9.129 1.745.462 3.244.56 4.45.494 2.19-.122 3.417-.781 3.417-.781l-.072-1.588s-1.565.491-3.32.431c-1.74-.06-3.576-.188-3.858-2.324a4 4 0 0 1-.04-.598s1.709.416 3.874.516c1.324.06 2.563-.076 3.824-.226 2.418-.29 4.524-1.78 4.79-3.141.416-2.144.38-5.232.38-5.232 0-4.186-2.74-5.415-2.74-5.415-1.383-.635-3.76-.9-6.227-.921zM9.18 5.622c1.028 0 1.804.395 2.318 1.185l.502.84.5-.84c.514-.79 1.292-1.186 2.32-1.186.888 0 1.605.313 2.15.922q.795.915.794 2.469v5.068h-2.008V9.16c0-1.037-.438-1.562-1.31-1.562-.966 0-1.448.622-1.448 1.857v2.693h-1.996V9.455c0-1.235-.484-1.857-1.45-1.857-.872 0-1.308.525-1.308 1.562v4.92H6.236V9.012q-.001-1.554.793-2.469c.547-.609 1.263-.922 2.15-.922"})))},{name:"medium-alt",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{fillRule:"nonzero",d:"M7.423 6c3.27 0 5.922 2.686 5.922 6s-2.651 6-5.922 6S1.5 15.313 1.5 12s2.652-6 5.923-6m9.458.351c1.635 0 2.961 2.53 2.961 5.65 0 3.118-1.325 5.648-2.96 5.648S13.92 15.119 13.92 12s1.325-5.649 2.96-5.649m4.577.589c.576 0 1.042 2.265 1.042 5.06s-.466 5.06-1.042 5.06c-.575 0-1.04-2.265-1.04-5.06s.465-5.06 1.04-5.06"})))},{name:"medium",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M3 3v18h18V3zm15 4.26-1 .93a.28.28 0 0 0-.11.27v6.8a.27.27 0 0 0 .11.27l.94.93v.2h-4.75v-.2l1-1c.09-.1.09-.12.09-.27V9.74l-2.71 6.9h-.37L8 9.74v4.62a.67.67 0 0 0 .17.54l1.27 1.54v.2H5.86v-.2l1.27-1.54a.64.64 0 0 0 .17-.54V9a.5.5 0 0 0-.16-.4L6 7.26v-.2h3.52L12.23 13l2.38-5.94H18z"})))},{name:"messenger",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12.026.375C5.462.375.375 5.172.375 11.652c0 3.389 1.393 6.318 3.66 8.341.391.352.311.556.377 2.73a.934.934 0 0 0 1.307.823c2.48-1.092 2.512-1.178 2.933-1.064 7.185 1.977 14.973-2.621 14.973-10.83 0-6.48-5.035-11.277-11.599-11.277m6.996 8.678L15.6 14.47a1.75 1.75 0 0 1-2.527.465l-2.723-2.038a.7.7 0 0 0-.844 0l-3.674 2.786c-.49.372-1.133-.216-.802-.735l3.422-5.417a1.75 1.75 0 0 1 2.527-.465l2.722 2.037a.7.7 0 0 0 .844 0L18.22 8.32c.489-.374 1.132.213.801.732"})))},{name:"microblog",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M19.641 17.086c1.294-1.522 2.067-3.438 2.067-5.521 0-4.957-4.371-8.972-9.763-8.972s-9.763 4.015-9.763 8.972 4.371 8.972 9.763 8.972a10.5 10.5 0 0 0 3.486-.59.315.315 0 0 1 .356.112c.816 1.101 2.09 1.876 3.506 2.191a.194.194 0 0 0 .192-.309 3.82 3.82 0 0 1 .162-4.858zm-3.065-6.575-2.514 1.909.912 3.022a.286.286 0 0 1-.437.317l-2.592-1.802-2.592 1.802a.285.285 0 0 1-.436-.317l.912-3.022-2.515-1.909a.285.285 0 0 1 .167-.513l3.155-.066 1.038-2.981a.285.285 0 0 1 .539 0l1.038 2.981 3.155.066a.285.285 0 0 1 .17.513"})))},{name:"nextdoor",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",strokeMiterlimit:"10",viewBox:"0 0 130 130"},React.createElement("g",null,React.createElement("path",{d:"M64.25 3.531c-31.144.337-57.596 24.22-60.469 55.907-3.064 33.799 21.857 63.685 55.657 66.75s63.685-21.857 66.75-55.657-21.857-63.686-55.657-66.75a62 62 0 0 0-6.281-.25m3.938 34.907C82.468 38.438 93.5 48.58 93.5 61.5v27c0 .685-.565 1.25-1.25 1.25H80.906a1.267 1.267 0 0 1-1.25-1.25V63.375c0-5.58-4.309-11.937-11.469-11.937-7.47 0-11.468 6.357-11.468 11.937V88.5c0 .685-.565 1.25-1.25 1.25H44.125c-.68 0-1.219-.57-1.219-1.25V64.156c0-.74-.529-1.364-1.25-1.531-13.13-2.93-15.115-10.285-15.375-21.125-.005-.332.142-.67.375-.906.233-.237.543-.375.875-.375l11.688.062c.66.01 1.187.529 1.218 1.188.13 4.44.438 9.406 4.438 9.406.83 0 1.443-1.179 1.813-1.719 4.41-6.48 12.28-10.718 21.5-10.718"})))},{name:"patreon",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M20 7.408c-.003-2.299-1.746-4.182-3.79-4.862-2.54-.844-5.888-.722-8.312.453-2.939 1.425-3.862 4.545-3.896 7.656-.028 2.559.22 9.297 3.92 9.345 2.75.036 3.159-3.603 4.43-5.356.906-1.247 2.071-1.599 3.506-1.963 2.465-.627 4.146-2.626 4.142-5.273"})))},{name:"pinterest-alt",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12.289 2C6.617 2 3.606 5.648 3.606 9.622c0 1.846 1.025 4.146 2.666 4.878.25.111.381.063.439-.169.044-.175.267-1.029.365-1.428a.37.37 0 0 0-.091-.362c-.54-.63-.975-1.791-.975-2.873 0-2.777 2.194-5.464 5.933-5.464 3.23 0 5.49 2.108 5.49 5.122 0 3.407-1.794 5.768-4.13 5.768-1.291 0-2.257-1.021-1.948-2.277.372-1.495 1.089-3.112 1.089-4.191 0-.967-.542-1.775-1.663-1.775-1.319 0-2.379 1.309-2.379 3.059 0 1.115.394 1.869.394 1.869s-1.302 5.279-1.54 6.261c-.405 1.666.053 4.368.094 4.604.021.126.167.169.25.063.129-.165 1.699-2.419 2.142-4.051.158-.59.817-2.995.817-2.995.43.784 1.681 1.446 3.013 1.446 3.963 0 6.822-3.494 6.822-7.833C20.394 5.112 16.849 2 12.289 2"})))},{name:"pinterest",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12c0 4.236 2.636 7.855 6.356 9.312-.087-.791-.166-2.005.035-2.869.182-.78 1.173-4.971 1.173-4.971s-.299-.599-.299-1.484c0-1.39.806-2.429 1.809-2.429.853 0 1.265.641 1.265 1.409 0 .858-.546 2.141-.828 3.329-.236.996.499 1.807 1.481 1.807 1.777 0 3.144-1.874 3.144-4.579 0-2.394-1.72-4.068-4.177-4.068-2.845 0-4.515 2.134-4.515 4.34 0 .859.331 1.781.744 2.282a.3.3 0 0 1 .069.287c-.077.316-.246.995-.279 1.134-.044.183-.145.222-.334.134-1.249-.581-2.03-2.407-2.03-3.874 0-3.154 2.292-6.051 6.607-6.051 3.469 0 6.165 2.472 6.165 5.775 0 3.446-2.173 6.22-5.189 6.22-1.013 0-1.966-.526-2.292-1.148l-.623 2.377c-.226.869-.835 1.957-1.243 2.622.936.289 1.93.445 2.961.445 5.523 0 10-4.477 10-10S17.523 2 12 2"})))},{name:"pocket",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M21.927 4.194A1.82 1.82 0 0 0 20.222 3H3.839a1.823 1.823 0 0 0-1.813 1.814v6.035l.069 1.2c.29 2.73 1.707 5.115 3.899 6.778l.119.089.025.018a9.9 9.9 0 0 0 3.91 1.727 10.06 10.06 0 0 0 4.049-.014.3.3 0 0 0 .064-.023 9.9 9.9 0 0 0 3.753-1.691l.025-.018q.06-.043.119-.089c2.192-1.664 3.609-4.049 3.898-6.778l.069-1.2V4.814a1.8 1.8 0 0 0-.098-.62m-4.235 6.287-4.704 4.512a1.37 1.37 0 0 1-1.898 0l-4.705-4.512a1.371 1.371 0 1 1 1.898-1.979l3.756 3.601 3.755-3.601a1.372 1.372 0 0 1 1.898 1.979"})))},{name:"polldaddy",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12 2C6.487 2 2 6.487 2 12c0 5.514 4.487 10 10 10 5.514 0 10-4.486 10-10 0-5.513-4.486-10-10-10m.991 1.68c2.361.084 4.657 1.251 6.197 3.136.283.334.541.693.774 1.067a7.78 7.78 0 0 0-6.094-2.94 7.76 7.76 0 0 0-5.896 2.703q-.008.006-.016.014l-.152.159-.031.032a6.12 6.12 0 0 0-1.633 4.165 6.15 6.15 0 0 0 6.143 6.143c.57 0 1.123-.081 1.649-.227-1.849.839-4.131.747-5.926-.324-1.841-1.089-3.171-3.111-3.433-5.313A7.39 7.39 0 0 1 6.69 6.137C8.294 4.5 10.634 3.563 12.991 3.68m3.373 8.519c-.049-2.024-1.587-3.889-3.544-4.174-1.927-.343-3.917.857-4.451 2.661a3.67 3.67 0 0 0 .2 2.653c.39.8 1.067 1.451 1.894 1.759 1.664.654 3.63-.27 4.173-1.863.593-1.58-.396-3.423-1.94-3.776-1.52-.407-3.161.757-3.204 2.243a2.36 2.36 0 0 0 .753 1.879c.501.476 1.23.667 1.871.529a2.07 2.07 0 0 0 1.469-1.134 1.91 1.91 0 0 0-.087-1.767c-.297-.513-.859-.863-1.429-.881a1.7 1.7 0 0 0-1.437.679 1.53 1.53 0 0 0-.18 1.489q.006.016.016.03c.193.634.774 1.1 1.467 1.117a1.6 1.6 0 0 1-.97-.183c-.466-.244-.809-.747-.893-1.29a1.8 1.8 0 0 1 .499-1.539 2.02 2.02 0 0 1 1.58-.606c.593.04 1.159.35 1.517.859.364.496.51 1.156.383 1.773-.116.62-.529 1.174-1.093 1.514a2.52 2.52 0 0 1-1.914.286c-.65-.161-1.226-.606-1.584-1.206a2.83 2.83 0 0 1-.341-2.031c.143-.7.573-1.321 1.176-1.753 1.193-.883 3.056-.751 4.106.411 1.106 1.1 1.327 3.027.406 4.371-.877 1.376-2.74 2.086-4.374 1.594-1.639-.449-2.913-2.079-3.031-3.853-.07-.884.13-1.797.583-2.577.445-.777 1.155-1.432 1.972-1.862 1.64-.88 3.816-.743 5.349.424 1.251.924 2.083 2.42 2.236 4.009l.001.03c0 2.9-2.359 5.26-5.26 5.26a5.2 5.2 0 0 1-1.947-.376 5 5 0 0 0 2.613-.079 4.96 4.96 0 0 0 2.514-1.751c.618-.828.95-1.861.901-2.869M12 21.113c-5.024 0-9.111-4.087-9.111-9.113 0-4.789 3.713-8.723 8.411-9.081a7 7 0 0 0-.397.06c-2.644.453-5.017 2.106-6.32 4.409-1.309 2.301-1.391 5.19-.3 7.527 1.056 2.34 3.253 4.156 5.776 4.553 2.497.44 5.133-.483 6.787-2.301 1.719-1.797 2.269-4.529 1.486-6.796-.583-1.81-1.976-3.331-3.7-4.046 3.417.594 6.174 3.221 6.174 6.781 0 1.004-.241 2.02-.657 2.966-1.498 2.984-4.586 5.041-8.149 5.041"})))},{name:"print",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M9 16h6v2H9zm13 1h-3v3a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-3H2V9a2 2 0 0 1 2-2h1V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v2h1a2 2 0 0 1 2 2zM7 7h10V5H7zm10 7H7v6h10zm3-3.5a1.5 1.5 0 1 0-3.001.001A1.5 1.5 0 0 0 20 10.5"})))},{name:"quora",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M47.736 16.521c-.41-.81-.898-1.631-1.846-1.631a1 1 0 0 0-.527.107l-.322-.644a2.93 2.93 0 0 1 1.836-.595c1.26 0 1.914.605 2.431 1.397a6.8 6.8 0 0 0 .449-2.675c0-2.773-.869-4.199-2.929-4.199-1.992 0-2.851 1.465-2.851 4.199s.859 4.17 2.851 4.17a4 4 0 0 0 .869-.107zm.498.966a6 6 0 0 1-1.367.185 5.27 5.27 0 0 1-5.263-5.204c0-3.114 2.558-5.233 5.263-5.233s5.282 2.109 5.282 5.233a5.08 5.08 0 0 1-1.992 4.072c.381.566.781.956 1.319.956.595 0 .839-.459.878-.82h.781c.049.488-.195 2.48-2.373 2.48-1.319 0-2.012-.761-2.529-1.66zm5.624-2.646v-3.563c0-.371-.146-.586-.615-.586h-.498v-.956h3.251v5.048c0 .849.459 1.231 1.161 1.231a1.56 1.56 0 0 0 1.465-.839V11.28c0-.371-.146-.586-.615-.586h-.527v-.957h3.28v5.302c0 .527.195.732.8.732h.107v.976l-2.929.468V16.21h-.057a3.12 3.12 0 0 1-2.509 1.152c-1.28 0-2.304-.644-2.304-2.558zm12.059 1.611c1.152 0 1.592-1.005 1.611-3.027.02-1.982-.459-2.929-1.611-2.929-1.005 0-1.641.956-1.641 2.929 0 2.021.625 3.027 1.641 3.027m0 .956a3.906 3.906 0 0 1-3.974-3.974c0-2.334 1.836-3.886 3.974-3.886 2.226 0 4.004 1.582 4.004 3.886a3.867 3.867 0 0 1-4.004 3.974m4.072-.146v-.956h.312c.781 0 .859-.224.859-.908v-4.121c0-.371-.215-.586-.732-.586h-.42v-.955h2.968l.146 1.553h.108c.371-1.113 1.221-1.699 2.051-1.699.693 0 1.221.39 1.221 1.181 0 .547-.264 1.093-1.005 1.093-.664 0-.8-.449-1.358-.449-.488 0-.869.468-.869 1.152v2.783c0 .673.166.908.937.908h.439v.956h-4.658zm9.901-1.093c.956 0 1.338-.898 1.338-1.797v-1.211c-.732.722-2.304.742-2.304 2.021 0 .625.371.986.966.986m1.387 0c-.39.752-1.191 1.26-2.314 1.26-1.309 0-2.148-.732-2.148-1.914 0-2.451 3.417-1.797 4.423-3.427v-.185c0-1.25-.488-1.445-1.035-1.445-1.524 0-.83 1.631-2.226 1.631-.673 0-.937-.371-.937-.859 0-.927 1.093-1.67 3.173-1.67 1.963 0 3.163.537 3.163 2.49v3.114q-.02.742.595.742a1 1 0 0 0 .449-.127l.254.615c-.205.312-.752.869-1.836.869-.908 0-1.465-.42-1.543-1.113h-.01zm-68.554 2.558c-.83-1.641-1.807-3.3-3.711-3.3a2.9 2.9 0 0 0-1.093.215l-.644-1.299a5.66 5.66 0 0 1 3.662-1.211c2.548 0 3.857 1.231 4.892 2.792q.917-2.012.908-5.38c0-5.585-1.748-8.417-5.829-8.417-4.033 0-5.76 2.87-5.76 8.417s1.738 8.397 5.76 8.397a5.9 5.9 0 0 0 1.748-.224zm.996 1.953a9.8 9.8 0 0 1-2.744.371C5.614 21.041.371 16.764.371 10.545.371 4.277 5.614 0 10.965 0c5.448 0 10.642 4.248 10.642 10.545a10.25 10.25 0 0 1-4.013 8.201c.732 1.152 1.563 1.914 2.665 1.914 1.201 0 1.689-.927 1.768-1.66h1.572c.088.966-.4 4.999-4.775 4.999-2.646 0-4.052-1.543-5.106-3.339z"})))},{name:"reddit",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M22 11.816a2.28 2.28 0 0 0-2.277-2.277c-.593 0-1.122.24-1.526.614-1.481-.965-3.455-1.594-5.647-1.69l1.171-3.702 3.18.748a1.88 1.88 0 0 0 1.876 1.862 1.88 1.88 0 0 0 1.877-1.878 1.88 1.88 0 0 0-1.877-1.877c-.769 0-1.431.466-1.72 1.13l-3.508-.826a.386.386 0 0 0-.46.261l-1.35 4.268c-2.316.038-4.411.67-5.97 1.671a2.24 2.24 0 0 0-1.492-.581A2.28 2.28 0 0 0 2 11.816c0 .814.433 1.523 1.078 1.925a4 4 0 0 0-.061.672c0 3.292 4.011 5.97 8.941 5.97s8.941-2.678 8.941-5.97q-.002-.32-.053-.632A2.26 2.26 0 0 0 22 11.816m-3.224-7.422a1.1 1.1 0 1 1-.001 2.199 1.1 1.1 0 0 1 .001-2.199M2.777 11.816c0-.827.672-1.5 1.499-1.5.313 0 .598.103.838.269-.851.676-1.477 1.479-1.812 2.36a1.48 1.48 0 0 1-.525-1.129m9.182 7.79c-4.501 0-8.164-2.329-8.164-5.193S7.457 9.22 11.959 9.22s8.164 2.329 8.164 5.193-3.663 5.193-8.164 5.193m8.677-6.605c-.326-.89-.948-1.701-1.797-2.384.248-.186.55-.301.883-.301.827 0 1.5.673 1.5 1.5.001.483-.23.911-.586 1.185m-11.64 1.703c-.76 0-1.397-.616-1.397-1.376s.637-1.397 1.397-1.397 1.376.637 1.376 1.397-.616 1.376-1.376 1.376m7.405-1.376c0 .76-.616 1.376-1.376 1.376s-1.399-.616-1.399-1.376.639-1.397 1.399-1.397 1.376.637 1.376 1.397m-1.172 3.38a.39.39 0 0 1 0 .55c-.674.674-1.727 1.002-3.219 1.002l-.011-.002-.011.002c-1.492 0-2.544-.328-3.218-1.002a.389.389 0 1 1 .55-.55c.521.521 1.394.775 2.669.775l.011.002.011-.002c1.275 0 2.148-.253 2.669-.775a.387.387 0 0 1 .549 0"})))},{name:"share",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M18 16c-.788 0-1.499.31-2.034.807L8.91 12.7c.05-.23.09-.46.09-.7s-.04-.47-.09-.7l7.05-4.11c.54.5 1.25.81 2.04.81 1.66 0 3-1.34 3-3s-1.34-3-3-3-3 1.34-3 3c0 .24.04.47.09.7L8.04 9.81C7.5 9.31 6.79 9 6 9c-1.66 0-3 1.34-3 3s1.34 3 3 3c.79 0 1.5-.31 2.04-.81l7.048 4.118A3 3 0 0 0 15 19a3 3 0 1 0 3-3"})))},{name:"skype",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"m10.113 2.699.1-.02q.05.025.098.051zM2.72 10.223l-.017.103q.025.048.051.095zm18.555 3.548q.009-.053.018-.106-.025-.047-.052-.095zm-7.712 7.428q.049.027.096.053l.105-.017zM22 16.386a5.55 5.55 0 0 1-1.637 3.953 5.55 5.55 0 0 1-3.953 1.637 5.6 5.6 0 0 1-2.75-.725l.105-.017-.202-.035q.049.027.096.053a9.5 9.5 0 0 1-1.654.147 9.4 9.4 0 0 1-3.676-.743 9.4 9.4 0 0 1-3.002-2.023 9.4 9.4 0 0 1-2.023-3.002 9.4 9.4 0 0 1-.743-3.676c0-.546.049-1.093.142-1.628q.025.048.051.095l-.034-.199-.017.103A5.6 5.6 0 0 1 2 7.615c0-1.493.582-2.898 1.637-3.953A5.56 5.56 0 0 1 7.59 2.024c.915 0 1.818.228 2.622.655l-.1.02.199.031q-.049-.026-.098-.051l.004-.001a9.5 9.5 0 0 1 1.788-.169 9.41 9.41 0 0 1 6.678 2.766 9.4 9.4 0 0 1 2.024 3.002 9.4 9.4 0 0 1 .743 3.676c0 .575-.054 1.15-.157 1.712q-.025-.047-.052-.095l.034.201q.009-.053.018-.106c.461.829.707 1.767.707 2.721m-5.183-2.248c0-1.331-.613-2.743-3.033-3.282l-2.209-.49c-.84-.192-1.807-.444-1.807-1.237s.679-1.348 1.903-1.348c2.468 0 2.243 1.696 3.468 1.696.645 0 1.209-.379 1.209-1.031 0-1.521-2.435-2.663-4.5-2.663-2.242 0-4.63.952-4.63 3.488 0 1.221.436 2.521 2.839 3.123l2.984.745c.903.223 1.129.731 1.129 1.189 0 .762-.758 1.507-2.129 1.507-2.679 0-2.307-2.062-3.743-2.062-.645 0-1.113.444-1.113 1.078 0 1.236 1.501 2.886 4.856 2.886 3.195 0 4.776-1.538 4.776-3.599"})))},{name:"sms",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M17.696 4C20.069 4 22 5.973 22 8.398v4.357c0 2.04-1.368 3.783-3.261 4.266v4.427l-5.234-4.295h-7.2C3.93 17.153 2 15.18 2 12.755V8.398C2 5.973 3.931 4 6.304 4zM7.028 8.515c-.98 0-1.66.562-1.66 1.349-.009.497.322.91.985 1.178l.39.142c.242.097.305.171.305.297 0 .162-.131.251-.442.251s-.76-.135-1.004-.284l-.112.046-.215.868c.359.258.832.364 1.33.364 1.104 0 1.764-.523 1.764-1.333-.008-.574-.305-.956-.954-1.216l-.393-.146c-.266-.108-.341-.181-.341-.287 0-.152.131-.243.387-.243.274 0 .587.093.808.214l.109-.047.214-.837c-.315-.224-.741-.316-1.171-.316m10.302 0c-.98 0-1.66.562-1.66 1.349-.008.497.322.91.985 1.178l.39.142c.243.097.305.171.305.297 0 .162-.13.251-.442.251-.311 0-.76-.135-1.004-.284l-.112.046-.215.868c.359.258.832.364 1.33.364 1.104 0 1.764-.523 1.764-1.333-.008-.574-.305-.956-.954-1.216l-.393-.146c-.266-.108-.341-.181-.341-.287 0-.152.131-.243.387-.243.274 0 .587.093.808.214l.109-.047.214-.837c-.316-.224-.741-.316-1.171-.316m-3.733 0c-.297 0-.55.066-.78.202l-.144.098a2 2 0 0 0-.264.247l-.078.095-.027-.077c-.15-.34-.55-.565-1.033-.565l-.169.007a1.36 1.36 0 0 0-.896.42l-.08.09-.038-.363-.075-.067H8.994l-.075.079.024.634c.005.2.008.397.008.604v2.652l.075.075h1.178l.075-.075v-2.269q-.002-.168.042-.274c.083-.23.262-.392.496-.392.314 0 .483.267.483.753v2.182l.075.075h1.179l.075-.075v-2.277c0-.097.016-.213.043-.285.077-.224.26-.373.486-.373.33 0 .5.272.5.817v2.118l.074.075h1.179l.075-.075v-2.293c0-1.131-.537-1.763-1.39-1.763Z"})))},{name:"snapchat",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M11.989 1.728c3.221.001 5.904 2.683 5.908 5.912q.002 1.133.067 2.094a.737.737 0 0 0 .902.669l1.009-.237a.6.6 0 0 1 .129-.015c.256 0 .492.175.55.434a.74.74 0 0 1-.479.861l-1.532.618a.823.823 0 0 0-.485.98c1.229 4.543 4.661 4.071 4.661 4.662 0 .743-2.587.848-2.821 1.082s-.01 1.368-.532 1.588a1.1 1.1 0 0 1-.409.056c-.393 0-.95-.077-1.536-.077-.509 0-1.04.058-1.507.273-1.239.572-2.433 1.641-3.914 1.641S9.325 21.2 8.086 20.628c-.467-.216-.998-.273-1.507-.273-.586 0-1.143.077-1.536.077-.17 0-.31-.014-.409-.056-.522-.22-.299-1.354-.532-1.588s-2.821-.337-2.821-1.08c0-.592 3.432-.119 4.661-4.662a.824.824 0 0 0-.486-.98l-1.532-.618a.74.74 0 0 1-.479-.861.56.56 0 0 1 .679-.419l1.009.237q.086.02.169.02a.737.737 0 0 0 .733-.689q.065-.961.067-2.094c.004-3.229 2.666-5.91 5.887-5.912m0-1.281c-.961 0-1.898.194-2.784.574A7.2 7.2 0 0 0 6.93 2.572a7.2 7.2 0 0 0-1.539 2.282A7.1 7.1 0 0 0 4.82 7.64a33 33 0 0 1-.029 1.369l-.375-.088a2 2 0 0 0-.421-.049 1.86 1.86 0 0 0-1.135.389 1.84 1.84 0 0 0-.666 1.049 2.024 2.024 0 0 0 1.271 2.335l1.124.454c-.744 2.285-2.117 2.723-3.041 3.018a5 5 0 0 0-.659.246C.087 16.76 0 17.436 0 17.708c0 .521.247.996.694 1.339.223.17.499.311.844.43.47.162 1.016.265 1.459.347.021.164.053.341.106.518.22.738.684 1.069 1.034 1.217.332.14.676.156.905.156.224 0 .462-.018.713-.036.269-.02.548-.041.823-.041.426 0 .743.051.97.155.311.144.64.337.989.542.972.571 2.073 1.217 3.462 1.217s2.49-.647 3.462-1.217c.349-.205.679-.399.989-.542.226-.105.544-.155.97-.155.275 0 .554.021.823.041.251.019.488.036.713.036.229 0 .573-.016.905-.156.35-.147.814-.478 1.034-1.217.053-.178.084-.354.106-.518.443-.082.989-.185 1.459-.347.345-.119.621-.259.844-.43.448-.342.694-.818.694-1.339 0-.272-.087-.948-.891-1.347a5 5 0 0 0-.659-.246c-.924-.295-2.297-.733-3.041-3.018l1.124-.454a2.025 2.025 0 0 0 1.271-2.335 1.83 1.83 0 0 0-.666-1.049 1.86 1.86 0 0 0-1.556-.34l-.375.088a33 33 0 0 1-.029-1.369 7.1 7.1 0 0 0-.575-2.789c-.365-.853-.886-1.62-1.547-2.282s-1.428-1.182-2.28-1.547a7.1 7.1 0 0 0-2.786-.574"})))},{name:"soundcloud",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M23.587 13.923a3.303 3.303 0 0 1-3.344 3.117h-8.037a.674.674 0 0 1-.667-.67V7.717a.74.74 0 0 1 .444-.705s.739-.512 2.296-.512a5.27 5.27 0 0 1 2.702.742 5.35 5.35 0 0 1 2.516 3.485 3.1 3.1 0 0 1 .852-.116 3.217 3.217 0 0 1 3.237 3.312m-13.05-5.659c.242 2.935.419 5.612 0 8.538a.261.261 0 0 1-.519 0c-.39-2.901-.221-5.628 0-8.538a.26.26 0 0 1 .398-.25.26.26 0 0 1 .12.25zm-1.627 8.541a.273.273 0 0 1-.541 0 32.7 32.7 0 0 1 0-7.533.274.274 0 0 1 .544 0 29.4 29.4 0 0 1-.003 7.533m-1.63-7.788c.264 2.69.384 5.099-.003 7.782a.262.262 0 0 1-.522 0c-.374-2.649-.249-5.127 0-7.782a.264.264 0 0 1 .525 0m-1.631 7.792a.268.268 0 0 1-.532 0 27.6 27.6 0 0 1 0-7.034.27.27 0 1 1 .541 0 25.8 25.8 0 0 1-.01 7.034zm-1.63-5.276c.412 1.824.227 3.435-.015 5.294a.255.255 0 0 1-.504 0c-.22-1.834-.402-3.482-.015-5.295a.268.268 0 0 1 .535 0m-1.626-.277c.378 1.869.254 3.451-.01 5.325-.031.277-.506.28-.531 0-.239-1.846-.352-3.476-.01-5.325a.277.277 0 0 1 .551 0m-1.643.907c.396 1.239.261 2.246-.016 3.517a.258.258 0 0 1-.514 0c-.239-1.246-.336-2.274-.021-3.517a.276.276 0 0 1 .55 0z"})))},{name:"spotify",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2m4.586 14.424a.62.62 0 0 1-.857.207c-2.348-1.435-5.304-1.76-8.785-.964a.622.622 0 1 1-.277-1.215c3.809-.871 7.077-.496 9.713 1.115a.623.623 0 0 1 .206.857M17.81 13.7a.78.78 0 0 1-1.072.257c-2.687-1.652-6.785-2.131-9.965-1.166A.779.779 0 1 1 6.32 11.3c3.632-1.102 8.147-.568 11.234 1.328a.78.78 0 0 1 .256 1.072m.105-2.835c-3.223-1.914-8.54-2.09-11.618-1.156a.935.935 0 1 1-.542-1.79c3.532-1.072 9.404-.865 13.115 1.338a.936.936 0 1 1-.955 1.608"})))},{name:"squarespace",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M20.87 9.271a3.86 3.86 0 0 0-5.458 0l-6.141 6.141a.964.964 0 1 0 1.365 1.364l6.14-6.14a1.929 1.929 0 1 1 2.729 2.729l-6.022 6.022a1.93 1.93 0 0 0 2.729 0l4.658-4.658a3.86 3.86 0 0 0 0-5.458m-2.047 2.047a.965.965 0 0 0-1.365 0l-6.14 6.14a1.93 1.93 0 0 1-2.729 0 .964.964 0 1 0-1.364 1.364 3.86 3.86 0 0 0 5.458 0l6.14-6.14a.966.966 0 0 0 0-1.364m-2.047-6.141a3.86 3.86 0 0 0-5.458 0l-6.14 6.14a.964.964 0 1 0 1.364 1.364l6.141-6.14a1.93 1.93 0 0 1 2.729 0 .965.965 0 1 0 1.364-1.364m-2.047 2.047a.964.964 0 0 0-1.364 0l-6.14 6.141a1.929 1.929 0 1 1-2.729-2.729l6.022-6.022a1.93 1.93 0 0 0-2.729 0L3.13 9.271a3.86 3.86 0 0 0 5.458 5.458l6.14-6.141a.963.963 0 0 0 .001-1.364"})))},{name:"stackexchange",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M4 11.606h16v3.272H4zM4 7.377h16v3.272H4zM17.514 3H6.55C5.147 3 4 4.169 4 5.614v.848h16v-.85C20 4.167 18.895 3 17.514 3M4 15.813v.85c0 1.445 1.147 2.614 2.55 2.614h6.799v3.463l3.357-3.463h.744c1.402 0 2.55-1.169 2.55-2.614v-.85z"})))},{name:"stackoverflow",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M18.18 20.103V14.78h1.767v7.09H4v-7.09h1.767v5.323z"}),React.createElement("path",{d:"m7.717 14.275 8.673 1.813.367-1.744-8.673-1.813zm1.147-4.13 8.031 3.74.734-1.606-8.031-3.763zm2.226-3.946 6.815 5.667 1.124-1.354-6.815-5.667zM15.495 2l-1.423 1.055 5.277 7.113 1.423-1.055zM7.533 18.314h8.857v-1.767H7.533z"})))},{name:"stumbleupon",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12 4.294a4.47 4.47 0 0 0-4.471 4.471v6.353a1.059 1.059 0 1 1-2.118 0v-2.824H2v2.941a4.471 4.471 0 0 0 8.942 0v-6.47a1.059 1.059 0 1 1 2.118 0v1.294l1.412.647 2-.647V8.765A4.473 4.473 0 0 0 12 4.294m1.059 8.059v2.882a4.471 4.471 0 0 0 8.941 0v-2.824h-3.412v2.824a1.059 1.059 0 1 1-2.118 0v-2.882l-2 .647z"})))},{name:"substack",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M19.904 9.182H4.095V7.054h15.81v2.127M4.095 11.109V21L12 16.583 19.905 21v-9.891zM19.905 3H4.095v2.127h15.81z"})))},{name:"telegram",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2m3.08 14.757s-.25.625-.936.325l-2.541-1.949-1.63 1.486s-.127.096-.266.036c0 0-.12-.011-.27-.486s-.911-2.972-.911-2.972L6 12.349s-.387-.137-.425-.438c-.037-.3.437-.462.437-.462l10.03-3.934s.824-.362.824.238z"})))},{name:"threads",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 192 192"},React.createElement("g",null,React.createElement("path",{d:"M141.537 88.988a67 67 0 0 0-2.518-1.143c-1.482-27.307-16.403-42.94-41.457-43.1h-.34c-14.986 0-27.449 6.396-35.12 18.036l13.779 9.452c5.73-8.695 14.724-10.548 21.348-10.548h.229c8.249.053 14.474 2.452 18.503 7.129 2.932 3.405 4.893 8.111 5.864 14.05-7.314-1.243-15.224-1.626-23.68-1.14-23.82 1.371-39.134 15.264-38.105 34.568.522 9.792 5.4 18.216 13.735 23.719 7.047 4.652 16.124 6.927 25.557 6.412 12.458-.683 22.231-5.436 29.049-14.127 5.178-6.6 8.453-15.153 9.899-25.93 5.937 3.583 10.337 8.298 12.767 13.966 4.132 9.635 4.373 25.468-8.546 38.376-11.319 11.308-24.925 16.2-45.488 16.351-22.809-.169-40.06-7.484-51.275-21.742C35.236 139.966 29.808 120.682 29.605 96c.203-24.682 5.63-43.966 16.133-57.317C56.954 24.425 74.204 17.11 97.013 16.94c22.975.17 40.526 7.52 52.171 21.847 5.71 7.026 10.015 15.86 12.853 26.162l16.147-4.308c-3.44-12.68-8.853-23.606-16.219-32.668C147.036 9.607 125.202.195 97.07 0h-.113C68.882.194 47.292 9.642 32.788 28.08 19.882 44.485 13.224 67.315 13.001 95.932L13 96v.067c.224 28.617 6.882 51.447 19.788 67.854C47.292 182.358 68.882 191.806 96.957 192h.113c24.96-.173 42.554-6.708 57.048-21.189 18.963-18.945 18.392-42.692 12.142-57.27-4.484-10.454-13.033-18.945-24.723-24.553M98.44 129.507c-10.44.588-21.286-4.098-21.82-14.135-.397-7.442 5.296-15.746 22.461-16.735q2.948-.17 5.79-.169c6.235 0 12.068.606 17.371 1.765-1.978 24.702-13.58 28.713-23.802 29.274"})))},{name:"tiktok-alt",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M5 3a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2zm7.531 3h2.053s-.114 2.635 2.85 2.82v2.04s-1.582.099-2.85-.87l.021 4.207a3.804 3.804 0 1 1-3.802-3.802h.533v2.082a1.73 1.73 0 0 0-1.922.648 1.727 1.727 0 0 0 1.947 2.646 1.73 1.73 0 0 0 1.19-1.642z"})))},{name:"tiktok",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12.22 2h3.42s-.19 4.394 4.75 4.702v3.396s-2.636.166-4.75-1.448l.037 7.012a6.338 6.338 0 1 1-6.34-6.339h.89v3.472a2.882 2.882 0 1 0 2.024 2.752z"})))},{name:"tripadvisor",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M21.01 9.859c.236-1.002.985-2.003.985-2.003l-3.341-.002C16.779 6.643 14.502 6 11.979 6 9.363 6 7 6.659 5.135 7.877L2 7.88s.74.988.98 1.983a4.98 4.98 0 0 0-.977 2.961 5.01 5.01 0 0 0 5.009 5.003 5 5 0 0 0 3.904-1.875l1.065 1.592 1.076-1.606a4.96 4.96 0 0 0 1.838 1.448 4.98 4.98 0 0 0 3.831.151 5.01 5.01 0 0 0 2.963-6.431 5 5 0 0 0-.679-1.247m-13.998 6.96a4 4 0 0 1-3.998-3.995 4 4 0 0 1 3.998-3.997 4 4 0 0 1 3.996 3.997 4 4 0 0 1-3.996 3.995m4.987-4.36A5.007 5.007 0 0 0 7.11 7.821c1.434-.613 3.081-.947 4.867-.947 1.798 0 3.421.324 4.853.966a4.984 4.984 0 0 0-4.831 4.619m6.288 4.134a3.97 3.97 0 0 1-3.058-.122 3.96 3.96 0 0 1-2.075-2.245v-.001a3.97 3.97 0 0 1 .118-3.056 3.97 3.97 0 0 1 2.246-2.077 4.005 4.005 0 0 1 5.135 2.366 4.006 4.006 0 0 1-2.366 5.135"}),React.createElement("path",{d:"M6.949 10.307a2.477 2.477 0 0 0-2.475 2.472 2.48 2.48 0 0 0 2.475 2.474 2.474 2.474 0 0 0 0-4.946m0 4.094a1.626 1.626 0 0 1-1.624-1.623 1.621 1.621 0 1 1 1.624 1.623M16.981 10.307a2.477 2.477 0 0 0-2.474 2.472 2.48 2.48 0 0 0 2.474 2.474 2.476 2.476 0 0 0 2.472-2.474 2.475 2.475 0 0 0-2.472-2.472m0 4.094a1.625 1.625 0 0 1-1.622-1.623 1.622 1.622 0 1 1 1.622 1.623"}),React.createElement("path",{d:"M7.778 12.778a.832.832 0 1 1-1.664.002.832.832 0 0 1 1.664-.002M16.981 11.947a.832.832 0 1 0 .002 1.666.832.832 0 0 0-.002-1.666"})))},{name:"tumblr-alt",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M16.749 17.396c-.357.17-1.041.319-1.551.332-1.539.041-1.837-1.081-1.85-1.896V9.847h3.861v-2.91h-3.847V2.039h-2.817c-.046 0-.127.041-.138.144-.165 1.499-.867 4.13-3.783 5.181v2.484h1.945v6.282c0 2.151 1.587 5.206 5.775 5.135 1.413-.024 2.982-.616 3.329-1.126z"})))},{name:"tumblr",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M19 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2m-5.569 14.265c-2.446.042-3.372-1.742-3.372-2.998v-3.668H8.923v-1.45c1.703-.614 2.113-2.15 2.209-3.025.007-.06.054-.084.081-.084h1.645V8.9h2.246v1.7H12.85v3.495c.008.476.182 1.131 1.081 1.107.298-.008.697-.094.906-.194l.54 1.601c-.205.296-1.121.641-1.946.656"})))},{name:"twitch",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M16.499 8.089h-1.636v4.91h1.636zm-4.499 0h-1.637v4.91H12zM4.228 3.178 3 6.451v13.092h4.499V22h2.456l2.454-2.456h3.681L21 14.636V3.178zm15.136 10.638L16.5 16.681H12l-2.453 2.453V16.68H5.863V4.814h13.501z"})))},{name:"twitter-alt",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M22.23 5.924a8.2 8.2 0 0 1-2.357.646 4.12 4.12 0 0 0 1.804-2.27 8.2 8.2 0 0 1-2.606.996 4.103 4.103 0 0 0-6.991 3.742 11.65 11.65 0 0 1-8.457-4.287 4.1 4.1 0 0 0-.556 2.063 4.1 4.1 0 0 0 1.825 3.415 4.1 4.1 0 0 1-1.859-.513v.052a4.104 4.104 0 0 0 3.292 4.023 4.1 4.1 0 0 1-1.853.07 4.11 4.11 0 0 0 3.833 2.85 8.24 8.24 0 0 1-5.096 1.756 8 8 0 0 1-.979-.057 11.6 11.6 0 0 0 6.29 1.843c7.547 0 11.675-6.252 11.675-11.675q0-.267-.012-.531a8.3 8.3 0 0 0 2.047-2.123"})))},{name:"twitter",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M19 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2m-2.534 6.71q.007.148.007.298c0 3.045-2.318 6.556-6.556 6.556a6.5 6.5 0 0 1-3.532-1.035q.27.032.55.032a4.63 4.63 0 0 0 2.862-.986 2.31 2.31 0 0 1-2.152-1.6 2.3 2.3 0 0 0 1.04-.04 2.306 2.306 0 0 1-1.848-2.259v-.029c.311.173.666.276 1.044.288a2.303 2.303 0 0 1-.713-3.076 6.54 6.54 0 0 0 4.749 2.407 2.305 2.305 0 0 1 3.926-2.101 4.6 4.6 0 0 0 1.463-.559 2.3 2.3 0 0 1-1.013 1.275c.466-.056.91-.18 1.323-.363-.31.461-.7.867-1.15 1.192"})))},{name:"untappd",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"m11 13.299-5.824 8.133c-.298.416-.8.635-1.308.572-.578-.072-1.374-.289-2.195-.879S.392 19.849.139 19.323a1.4 1.4 0 0 1 .122-1.425l5.824-8.133a3.1 3.1 0 0 1 1.062-.927l1.146-.604c.23-.121.436-.283.608-.478.556-.631 2.049-2.284 4.696-4.957l.046-.212a.13.13 0 0 1 .096-.1l.146-.037a.135.135 0 0 0 .101-.141l-.015-.18a.13.13 0 0 1 .125-.142c.176-.005.518.046 1.001.393s.64.656.692.824a.13.13 0 0 1-.095.164l-.175.044a.13.13 0 0 0-.101.141l.012.15a.13.13 0 0 1-.063.123l-.186.112c-1.679 3.369-2.764 5.316-3.183 6.046a2.2 2.2 0 0 0-.257.73l-.205 1.281A3.1 3.1 0 0 1 11 13.3zm12.739 4.598-5.824-8.133a3.1 3.1 0 0 0-1.062-.927l-1.146-.605a2.1 2.1 0 0 1-.608-.478 51 51 0 0 0-.587-.654.09.09 0 0 0-.142.018 97 97 0 0 1-1.745 3.223 1.4 1.4 0 0 0-.171.485 3.5 3.5 0 0 0 0 1.103l.01.064c.075.471.259.918.536 1.305l5.824 8.133c.296.413.79.635 1.294.574a4.76 4.76 0 0 0 2.209-.881 4.76 4.76 0 0 0 1.533-1.802 1.4 1.4 0 0 0-.122-1.425zM8.306 3.366l.175.044a.134.134 0 0 1 .101.141l-.012.15a.13.13 0 0 0 .063.123l.186.112q.465.933.869 1.721c.026.051.091.06.129.019q.655-.703 1.585-1.668a.137.137 0 0 0 .003-.19c-.315-.322-.645-.659-1.002-1.02l-.046-.212a.13.13 0 0 0-.096-.099l-.146-.037a.135.135 0 0 1-.101-.141l.015-.18a.13.13 0 0 0-.123-.142c-.175-.005-.518.045-1.002.393-.483.347-.64.656-.692.824a.13.13 0 0 0 .095.164z"})))},{name:"vimeo",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M22.396 7.164q-.139 3.039-4.245 8.32Q13.907 21 10.97 21q-1.82 0-3.079-3.359l-1.68-6.159q-.934-3.36-2.005-3.36-.234.001-1.634.98l-.978-1.261q1.541-1.353 3.037-2.708 2.056-1.774 3.084-1.869 2.429-.234 2.99 3.321.607 3.836.841 4.769.7 3.181 1.542 3.181.653 0 1.963-2.065 1.307-2.063 1.401-3.142.187-1.781-1.401-1.782-.747.001-1.541.341 1.534-5.024 5.862-4.884 3.21.095 3.024 4.161"})))},{name:"vk",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{fillRule:"evenodd",d:"M1.687 1.687C0 3.374 0 6.09 0 11.52v.96c0 5.431 0 8.146 1.687 9.833S6.09 24 11.52 24h.96c5.431 0 8.146 0 9.833-1.687S24 17.91 24 12.48v-.96c0-5.431 0-8.146-1.687-9.833S17.91 0 12.48 0h-.96C6.09 0 3.374 0 1.687 1.687M4.05 7.3c.13 6.24 3.25 9.99 8.72 9.99h.31v-3.57c2.01.2 3.53 1.67 4.14 3.57h2.84c-.78-2.84-2.83-4.41-4.11-5.01 1.28-.74 3.08-2.54 3.51-4.98h-2.58c-.56 1.98-2.22 3.78-3.8 3.95V7.3H10.5v6.92c-1.6-.4-3.62-2.34-3.71-6.92z"})))},{name:"whatsapp",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"m2.048 22 1.406-5.136a9.9 9.9 0 0 1-1.323-4.955C2.133 6.446 6.579 2 12.042 2a9.85 9.85 0 0 1 7.011 2.906 9.85 9.85 0 0 1 2.9 7.011c-.002 5.464-4.448 9.91-9.91 9.91h-.004a9.9 9.9 0 0 1-4.736-1.206zm5.497-3.172.301.179a8.2 8.2 0 0 0 4.193 1.148h.003c4.54 0 8.235-3.695 8.237-8.237a8.2 8.2 0 0 0-2.41-5.828 8.18 8.18 0 0 0-5.824-2.416c-4.544 0-8.239 3.695-8.241 8.237a8.2 8.2 0 0 0 1.259 4.384l.196.312-.832 3.04zm9.49-4.554c-.062-.103-.227-.165-.475-.289s-1.465-.723-1.692-.806-.392-.124-.557.124-.64.806-.784.971-.289.186-.536.062-1.046-.385-1.991-1.229c-.736-.657-1.233-1.468-1.378-1.715s-.015-.382.109-.505c.111-.111.248-.289.371-.434.124-.145.165-.248.248-.413s.041-.31-.021-.434-.557-1.343-.763-1.839c-.202-.483-.407-.417-.559-.425-.144-.007-.31-.009-.475-.009a.9.9 0 0 0-.66.31c-.226.248-.866.847-.866 2.066s.887 2.396 1.011 2.562 1.746 2.666 4.23 3.739c.591.255 1.052.408 1.412.522.593.189 1.133.162 1.56.098.476-.071 1.465-.599 1.671-1.177.206-.58.206-1.075.145-1.179"})))},{name:"woocommerce",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M19 2H5C3.3 2 2 3.3 2 5v11c0 1.7 1.3 3 3 3h4l6 3-1-3h5c1.7 0 3-1.3 3-3V5c0-1.7-1.3-3-3-3m-1.6 4.5c-.4.8-.8 2.1-1 3.9-.3 1.8-.4 3.1-.3 4.1 0 .3 0 .5-.1.7s-.3.4-.6.4-.6-.1-.9-.4c-1-1-1.8-2.6-2.4-4.6-.7 1.4-1.2 2.4-1.6 3.1-.6 1.2-1.2 1.8-1.6 1.9-.3 0-.5-.2-.8-.7-.5-1.4-1.1-4.2-1.7-8.2 0-.3 0-.5.2-.7.1-.2.4-.3.7-.4.5 0 .9.2.9.8.3 2.3.7 4.2 1.1 5.7l2.4-4.5c.2-.4.4-.6.8-.6q.75 0 .9.9c.3 1.4.6 2.6 1 3.7.3-2.7.8-4.7 1.4-5.9.2-.3.4-.5.7-.5.2 0 .5.1.7.2q.3.3.3.6c0 .3 0 .4-.1.5"})))},{name:"wordpress",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12.158 12.786 9.46 20.625a9 9 0 0 0 5.526-.144 1 1 0 0 1-.065-.124zM3.009 12a8.99 8.99 0 0 0 5.067 8.092L3.788 8.341A8.95 8.95 0 0 0 3.009 12m15.06-.454c0-1.112-.399-1.881-.741-2.48-.456-.741-.883-1.368-.883-2.109 0-.826.627-1.596 1.51-1.596q.06.002.116.007A8.96 8.96 0 0 0 12 3.009a8.98 8.98 0 0 0-7.512 4.052c.211.007.41.011.579.011.94 0 2.396-.114 2.396-.114.484-.028.541.684.057.741 0 0-.487.057-1.029.085l3.274 9.739 1.968-5.901-1.401-3.838c-.484-.028-.943-.085-.943-.085-.485-.029-.428-.769.057-.741 0 0 1.484.114 2.368.114.94 0 2.397-.114 2.397-.114.485-.028.542.684.057.741 0 0-.488.057-1.029.085l3.249 9.665.897-2.996q.684-1.753.684-2.907m1.82-3.86q.06.428.06.924c0 .912-.171 1.938-.684 3.22l-2.746 7.94a8.98 8.98 0 0 0 4.47-7.771 8.9 8.9 0 0 0-1.1-4.313M12 22C6.486 22 2 17.514 2 12S6.486 2 12 2s10 4.486 10 10-4.486 10-10 10"})))},{name:"x",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M13.982 10.622 20.54 3h-1.554l-5.693 6.618L8.745 3H3.5l6.876 10.007L3.5 21h1.554l6.012-6.989L15.868 21h5.245zm-2.128 2.474-.697-.997-5.543-7.93H8l4.474 6.4.697.996 5.815 8.318h-2.387z"})))},{name:"xanga",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M9 9h6v6H9zM3 9h6V3H3zm12 0h6V3h-6zm0 12h6v-6h-6zM3 21h6v-6H3z"})))},{name:"youtube",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M21.8 8.001s-.195-1.378-.795-1.985c-.76-.797-1.613-.801-2.004-.847-2.799-.202-6.997-.202-6.997-.202h-.009s-4.198 0-6.997.202c-.39.047-1.242.051-2.003.847-.6.607-.795 1.985-.795 1.985S2 9.62 2 11.238v1.517c0 1.618.2 3.237.2 3.237s.195 1.378.795 1.985c.761.797 1.76.771 2.205.855 1.6.153 6.8.201 6.8.201s4.203-.006 7.001-.209c.391-.047 1.243-.051 2.004-.847.6-.607.795-1.985.795-1.985s.2-1.618.2-3.237v-1.517c0-1.618-.2-3.237-.2-3.237M9.935 14.594l-.001-5.62 5.404 2.82z"})))}]},58992:(e,t,a)=>{"use strict";a.d(t,{d:()=>p});var s=a(73691),n=a.n(s),i=a(28120),r=a.n(i),o=a(51609),c=a.n(o),l=a(91135);class p extends o.PureComponent{static defaultProps={size:24};static propTypes={icon:r().string.isRequired,size:r().number,onClick:r().func,className:r().string};render(){const{size:e,onClick:t,icon:a,className:s,...i}=this.props,r=["social-logo","social-logo-"+a,s].filter(Boolean).join(" "),o=l.$.find((e=>e.name===a));if(!o)return c().createElement("svg",n()({height:e,width:e},i));return c().cloneElement(o.svg,{className:r,height:e,width:e,onClick:t,...i})}}},94900:(e,t,a)=>{"use strict";a.d(t,{A:()=>m});var s=a(73691),n=a.n(s),i=a(3924),r=a(39384),o=a(56427),c=a(27723),l=a(51113),p=a(53512),d=a(41282),u=a(40877);const __=c.__,m=e=>{const{title:t}=e;return React.createElement(r.ConnectScreen,n()({buttonLabel:__("Connect your user account","jetpack"),loadingLabel:__("Connecting your account…","jetpack"),images:[d],from:"my-jetpack"},e,{title:t||__("Unlock all the amazing features of Jetpack by connecting now","jetpack")}),React.createElement("ul",{role:"list"},React.createElement("li",null,__("Receive instant downtime alerts","jetpack")),React.createElement("li",null,__("Automatically share your content on social media","jetpack")),React.createElement("li",null,__("Let your subscribers know when you post","jetpack")),React.createElement("li",null,__("Receive notifications about new likes and comments","jetpack")),React.createElement("li",null,__("Let visitors share your content on social media","jetpack")),React.createElement("li",null,__("Create better content with powerful AI tools","jetpack")),React.createElement("li",null,__("And more!","jetpack")," ",React.createElement("a",{href:(0,i.A)("jetpack-features"),target:"_blank",className:u.A["all-features"],rel:"noreferrer"},__("See all Jetpack features","jetpack"),React.createElement(l.A,{icon:p.A}),React.createElement(o.VisuallyHidden,{as:"span"},/* translators: accessibility text */ +__("%s account connected successfully.","jetpack"),r.label),{type:"snackbar",isDismissible:!0}),a.select(o.store).getCurrentPostId()&&n(b()))}catch(e){let t=__("Error connecting account.","jetpack");"object"==typeof e&&"message"in e&&e.message&&(t=`${t} ${e.message}`),l(t,{type:"snackbar",isDismissible:!0})}finally{n(x(d,!1)),n(w(d))}}}function N(e,t){return{type:p.dw,connectionId:e,data:t}}function x(e,t=!0){return{type:p._6,connectionId:e,updating:t}}function R(e){return{type:p.Nv,reconnectingAccount:e}}function T(e,t){return async function({dispatch:a,select:n}){const{createErrorNotice:o,createSuccessNotice:c}=(0,r.dispatch)(s.store),l=n.getConnectionById(e);try{const s=`/jetpack/v4/social/connections/${e}`;a(E()),a(N(e,t)),a(x(e));await i()({method:"POST",path:s,data:t})&&c(__("Account updated successfully.","jetpack"),{type:"snackbar",isDismissible:!0})}catch(t){let s=__("Error updating account.","jetpack");"object"==typeof t&&"message"in t&&t.message&&(s=`${s} ${t.message}`),a(N(e,l)),o(s,{type:"snackbar",isDismissible:!0})}finally{a(x(e,!1))}}}function M(e){return{type:p.xW,isOpen:e}}function O(){return M(!0)}function P(){return M(!1)}},54118:(e,t,a)=>{"use strict";a.d(t,{BN:()=>d,Bc:()=>n,M6:()=>E,Nv:()=>p,WB:()=>m,WH:()=>o,Wp:()=>h,_6:()=>l,_y:()=>v,aF:()=>_,af:()=>i,b5:()=>g,dA:()=>s,dw:()=>c,fz:()=>f,nC:()=>r,rz:()=>k,xW:()=>u});const s="SET_CONNECTIONS",n="ADD_CONNECTION",i="TOGGLE_CONNECTION",r="DELETE_CONNECTION",o="DELETING_CONNECTION",c="UPDATE_CONNECTION",l="UPDATING_CONNECTION",p="SET_RECONNECTING_ACCOUNT",d="SET_KEYRING_RESULT",u="TOGGLE_CONNECTIONS_MODAL",m="ADD_ABORT_CONTROLLER",h="REMOVE_ABORT_CONTROLLERS",g="DEFAULT",k="REFRESH_CONNECTIONS",f="FETCH_POST_SHARE_STATUS",v="RECEIVE_POST_SHARE_STATUS",E="TOGGLE_SHARE_STATUS_MODAL",_="POLLING_FOR_POST_SHARE_STATUS"},62491:(e,t,a)=>{"use strict";a.d(t,{A:()=>o});var s=a(38716),n=a(72451),i=a(64236),r=a(33134);const o={...n,...s,...i,...a(83117),...r}},72451:(e,t,a)=>{"use strict";a.r(t),a.d(t,{closeShareStatusModal:()=>l,defaultIsRequestComplete:()=>p,fetchPostShareStatus:()=>i,openShareStatusModal:()=>c,pollForPostShareStatus:()=>h,pollingForPostShareStatus:()=>m,receivePostShareStaus:()=>r,toggleShareStatusModal:()=>o});var s=a(43656),n=a(54118);function i(e,t=!0){return{type:n.fz,postId:e,loading:t}}function r(e,t){return{type:n._y,shareStatus:e,postId:t}}function o(e){return{type:n.M6,isOpen:e}}function c(){return o(!0)}function l(){return o(!1)}const p=({lastTimestamp:e,postShareStatus:t})=>e?t.shares.some((t=>t.timestamp>e)):t.shares.length>0,d=6e4,u=3e3;function m(e,t=!0){return{type:n.aF,postId:e,polling:t}}function h({pollingInterval:e=u,postId:t,isRequestComplete:a=p,timeout:n=d}={}){return async function({dispatch:i,select:r,registry:o}){const c=Date.now(),l=t||o.select(s.store).getCurrentPostId(),p=r.getPostShareStatus(l).shares[0]?.timestamp||0;let d=!1,u=!1;i(m(l));do{r.getPostShareStatus(l).loading||i.invalidateResolution("getPostShareStatus",[l]),await new Promise((t=>setTimeout(t,e))),d=a({lastTimestamp:p,postShareStatus:r.getPostShareStatus(l)}),u=Date.now()-c>n}while(!d&&!u);i(m(l,!1))}}},64236:(e,t,a)=>{"use strict";a.r(t),a.d(t,{updateSocialImageGeneratorConfig:()=>i});var s=a(3582),n=a(75238);function i(e){return async function({registry:t}){const{saveSite:a}=t.dispatch(s.store);await a({[n.A]:e})}}},33134:(e,t,a)=>{"use strict";a.r(t),a.d(t,{updateSocialPluginSettings:()=>n});var s=a(3582);function n(e){return async function({registry:t}){const{saveEntityRecord:a}=t.dispatch(s.store);await a("jetpack/v4","social/settings",e)}}},83117:(e,t,a)=>{"use strict";a.r(t),a.d(t,{updateUtmSettings:()=>i});var s=a(3582),n=a(75238);function i(e){return async function({registry:t}){const{saveSite:a}=t.dispatch(s.store);await a({[n.b]:e})}}},75238:(e,t,a)=>{"use strict";a.d(t,{A:()=>s,b:()=>n});const s="jetpack_social_image_generator_settings",n="jetpack_social_utm_settings"},31963:(e,t,a)=>{"use strict";a.d(t,{Af:()=>l,M_:()=>u,s:()=>d});var s=a(47143),n=a(70407),i=a(62491),r=a(708),o=a(75772),c=a(62146);const l="jetpack-social-plugin",p={reducer:r.A,actions:i.A,selectors:c.A,resolvers:o.Ay,initialState:(0,n.getSocialScriptData)()?.store_initial_state},d="facebook",u=(0,s.createReduxStore)(l,p);(0,s.register)(u)},62015:(e,t,a)=>{"use strict";a.d(t,{A:()=>n});var s=a(54118);const n=(e={connections:[]},t)=>{switch(t.type){case s.xW:return{...e,isConnectionsModalOpen:t.isOpen};case s.Bc:return{...e,connections:[...e.connections,t.connection]};case s.dA:return{...e,connections:t.connections};case s.nC:return{...e,connections:e.connections.filter((({connection_id:e})=>e!==t.connectionId))};case s.WH:{const a=new Set(e.deletingConnections);return t.deleting?a.add(t.connectionId):a.delete(t.connectionId),{...e,deletingConnections:[...a]}}case s.Nv:return{...e,reconnectingAccount:t.reconnectingAccount};case s.dw:return{...e,connections:e.connections.map((e=>e.connection_id===t.connectionId?{...e,...t.data}:e))};case s._6:{const a=new Set(e.updatingConnections);return t.updating?a.add(t.connectionId):a.delete(t.connectionId),{...e,updatingConnections:[...a]}}case s.WB:{const a=t.requestType||s.b5;return{...e,abortControllers:{...e.abortControllers,[a]:[...e.abortControllers?.[a]||[],t.abortController]}}}case s.Wp:{const a=t.requestType||s.b5;return{...e,abortControllers:{...e.abortControllers,[a]:[]}}}case s.BN:return{...e,keyringResult:t.keyringResult};case s.af:return{...e,connections:e.connections.map((e=>(e.connection_id?e.connection_id===t.connectionId:e.id===t.connectionId)?{...e,enabled:!e.enabled}:e))}}return e}},708:(e,t,a)=>{"use strict";a.d(t,{A:()=>r});var s=a(47143),n=a(62015),i=a(53202);const r=(0,s.combineReducers)({connectionData:n.A,shareStatus:i.q})},53202:(e,t,a)=>{"use strict";a.d(t,{q:()=>n});var s=a(54118);function n(e={},t){switch(t.type){case s.fz:return{...e,[t.postId]:{shares:[],...e?.[t.postId],loading:t.loading??!0}};case s.aF:return{...e,[t.postId]:{shares:[],...e?.[t.postId],polling:t.polling??!0}};case s._y:return{...e,[t.postId]:{...e?.[t.postId],...t.shareStatus,loading:!1}};case s.M6:return{...e,isModalOpen:t.isOpen}}return e}},75772:(e,t,a)=>{"use strict";a.d(t,{Ay:()=>u});var s=a(1455),n=a.n(s),i=a(3582),r=a(43656),o=a(27723),c=a(51371),l=a(59061),p=a(38716),d=a(72451);const __=o.__;const u={getConnections:function(){return function({dispatch:e,registry:t}){const a=t.select(r.store);if(!a.getCurrentPostId())return;const s=a.getEditedPostAttribute("jetpack_publicize_connections");e((0,p.setConnections)(s||[]))}},getPostShareStatus:function(e){return async({dispatch:t,registry:a})=>{const s=e||a.select(r.store).getCurrentPostId(),{feature_flags:i}=(0,c.n)();if(i.useShareStatus)try{t((0,d.fetchPostShareStatus)(s));let e=await n()({path:`jetpack/v4/social/share-status/${s}`});e=(0,l.xA)(e),t((0,d.receivePostShareStaus)(e,s))}catch{t((0,d.fetchPostShareStatus)(s,!1))}}},getSocialPluginSettings:function(){return async({registry:e})=>{e.select(i.store).getEntitiesConfig("jetpack/v4").some((({name:e})=>"social/settings"===e))||await e.dispatch(i.store).addEntities([{kind:"jetpack/v4",name:"social/settings",baseURL:"/jetpack/v4/social/settings",label:__("Social Settings","jetpack")}])}}}},28343:(e,t,a)=>{"use strict";a.r(t),a.d(t,{getAbortControllers:()=>v,getBrokenConnections:()=>o,getConnectionById:()=>r,getConnectionProfileDetails:()=>h,getConnections:()=>i,getConnectionsByService:()=>c,getDeletingConnections:()=>g,getDisabledConnections:()=>m,getEnabledConnections:()=>u,getFailedConnections:()=>p,getKeyringResult:()=>b,getMustReauthConnections:()=>d,getReconnectingAccount:()=>f,getUpdatingConnections:()=>k,hasConnections:()=>l,isBlueskyAccountAlreadyConnected:()=>_,isConnectionsModalOpen:()=>y,isMastodonAccountAlreadyConnected:()=>E});var s=a(50384),n=a(54118);function i(e){return e.connectionData?.connections??[]}function r(e,t){return i(e).find((e=>e.connection_id===t))}function o(e){return i(e).filter((e=>"broken"===e.status||(0,s.Y)(e,"broken")))}function c(e,t){return i(e).filter((({service_name:e})=>e===t))}function l(e){return i(e).length>0}function p(e){return i(e).filter((e=>!1===e.test_success))}function d(e){return i(e).filter((e=>"must_reauth"===e.test_success)).map((e=>e.service_name))}function u(e){return i(e).filter((e=>e.enabled))}function m(e){return i(e).filter((e=>!e.enabled))}function h(e,t,{forceDefaults:a=!1}={}){let s="",n="",r="";if(!a){const a=i(e).find((({service_name:e})=>t===e));if(a){const{display_name:e,profile_display_name:i,profile_picture:o,external_display:c,external_name:l}=a;s="twitter"===t?i:e||c,r="twitter"===t?e:a.username,n=o,"bluesky"===t&&(r=l)}}return{displayName:s,profileImage:n,username:r}}function g(e){return e.connectionData?.deletingConnections??[]}function k(e){return e.connectionData?.updatingConnections??[]}function f(e){return e.connectionData?.reconnectingAccount}function v(e,t=n.b5){return e.connectionData?.abortControllers?.[t]??[]}function E(e,t){return c(e,"mastodon").some((e=>e.external_display===t))}function _(e,t){return c(e,"bluesky").some((e=>e.external_name===t))}function b(e){return e.connectionData?.keyringResult}function y(e){return e.connectionData?.isConnectionsModalOpen??!1}},62146:(e,t,a)=>{"use strict";a.d(t,{A:()=>p});var s=a(3582),n=a(47143),i=a(28343),r=a(49424),o=a(59379),c=a(68273),l=a(86982);const p={...i,...r,isSavingSiteSettings:(0,n.createRegistrySelector)((e=>()=>e(s.store).isSavingEntityRecord("root","site",void 0))),...o,...l,...c}},49424:(e,t,a)=>{"use strict";a.r(t),a.d(t,{getPostShareStatus:()=>i,isShareStatusModalOpen:()=>r});var s=a(47143),n=a(43656);const i=(0,s.createRegistrySelector)((e=>(t,a)=>{const s=a||e(n.store).getCurrentPostId();return t.shareStatus?.[s]??{shares:[]}}));function r(e){return e.shareStatus?.isModalOpen??!1}},59379:(e,t,a)=>{"use strict";a.r(t),a.d(t,{getSocialImageGeneratorConfig:()=>o});var s=a(3582),n=a(47143),i=a(70407),r=a(75238);const o=(0,n.createRegistrySelector)((e=>()=>{const{getSite:t}=e(s.store),a=t(void 0,{_fields:r.A});return a?.[r.A]??(0,i.getSocialScriptData)().settings.socialImageGenerator}))},68273:(e,t,a)=>{"use strict";a.r(t),a.d(t,{getSocialPluginSettings:()=>r,isSavingSocialPluginSettings:()=>o});var s=a(3582),n=a(47143),i=a(70407);const r=(0,n.createRegistrySelector)((e=>()=>e(s.store).getEntityRecord("jetpack/v4","social/settings",void 0)??(0,i.getSocialScriptData)().settings.socialPlugin)),o=(0,n.createRegistrySelector)((e=>()=>e(s.store).isSavingEntityRecord("jetpack/v4","social/settings",void 0)))},86982:(e,t,a)=>{"use strict";a.r(t),a.d(t,{getUtmSettings:()=>o});var s=a(3582),n=a(47143),i=a(70407),r=a(75238);const o=(0,n.createRegistrySelector)((e=>()=>{const{getSite:t}=e(s.store),a=t(void 0,{_fields:r.b});return a?.[r.b]??(0,i.getSocialScriptData)().settings.utmSettings}))},50384:(e,t,a)=>{"use strict";a.d(t,{Y:()=>s});const s=(e,t)=>!1===e.is_healthy&&t===(e.error_code??"broken")},27844:(e,t,a)=>{"use strict";a.d(t,{q:()=>s});const s={ENHANCED_PUBLISHING:"social-enhanced-publishing",IMAGE_GENERATOR:"social-image-generator"}},12093:(e,t,a)=>{"use strict";a.d(t,{T:()=>n});const s=255;function n(){return s}},3280:(e,t,a)=>{"use strict";a(85985)},70407:(e,t,a)=>{"use strict";a.d(t,{features:()=>o.q,getShareMessageMaxLength:()=>s.T,getSocialScriptData:()=>r.n,hasSocialPaidFeatures:()=>r.p,requestExternalAccess:()=>n.x});var s=a(12093),n=(a(3280),a(5367)),i=a(18672);a.o(i,"features")&&a.d(t,{features:function(){return i.features}}),a.o(i,"getSocialScriptData")&&a.d(t,{getSocialScriptData:function(){return i.getSocialScriptData}}),a.o(i,"hasSocialPaidFeatures")&&a.d(t,{hasSocialPaidFeatures:function(){return i.hasSocialPaidFeatures}});var r=a(51371),o=a(27844)},5367:(e,t,a)=>{"use strict";a.d(t,{x:()=>n});var s=a(51119);const n=(e,t)=>{const a=new s.A;let n;a.open(e,null,"toolbar=0,location=0,status=0,menubar=0,"+a.getScreenCenterSpecs(780,700)),a.once("close",(()=>{t(n?.ID?n:{})})),a.on("message",(e=>{n=e?.data}))}},51371:(e,t,a)=>{"use strict";a.d(t,{n:()=>n,p:()=>i});var s=a(97999);function n(){return(0,s.getScriptData)()?.social}function i(){return(0,s.siteHasFeature)("social-enhanced-publishing")}},59061:(e,t,a)=>{"use strict";function s(e){return e&&"shares"in e&&e.done&&e.shares.sort(((e,t)=>t.timestamp-e.timestamp)),e}a.d(t,{xA:()=>s})},50646:(e,t,a)=>{"use strict";a(51371)},18672:()=>{},85985:(e,t,a)=>{"use strict";a.d(t,{GE:()=>s.A});var s=a(54815);a(82034),a(65595),a(53265),a(73489),a(76923),a(15877),a(30335),a(88290)},15877:(e,t,a)=>{"use strict";a(51609)},30335:(e,t,a)=>{"use strict";a(86087)},54815:(e,t,a)=>{"use strict";function s(){return window&&window.Jetpack_Editor_Initial_State&&window.Jetpack_Editor_Initial_State.siteFragment?window.Jetpack_Editor_Initial_State.siteFragment:null}a.d(t,{A:()=>s})},73489:(e,t,a)=>{"use strict";var s=a(90372);a(39384),a(86087);const{tracks:n}=s.A,{recordEvent:i}=n},76923:(e,t,a)=>{"use strict";a(47143),a(86087),a(88290)},27105:(e,t,a)=>{"use strict";a.d(t,{Ay:()=>d,E9:()=>p});var s=a(47143),n=a(62634),i=a(94478),r=a(88290);const o="SET_JETPACK_MODULES";function c(e){return p({isLoading:e})}function l(e,t){return{type:"SET_MODULE_UPDATING",name:e,isUpdating:t}}function p(e){return{type:o,options:e}}const d={updateJetpackModuleStatus:function*(e){try{yield l(e.name,!0),yield(0,i.sB)(e);const t=yield(0,i.wz)();return yield p({data:t}),!0}catch{const e=(0,s.select)(r.F).getJetpackModules();return yield p(e),!1}finally{yield l(e.name,!1)}},setJetpackModules:p,fetchModules:function*(){if((0,n.Sy)())return!0;try{yield c(!0);const e=yield(0,i.wz)();return yield p({data:e}),!0}catch{const e=(0,s.select)(r.F).getJetpackModules();return yield p(e),!1}finally{yield c(!1)}}}},94478:(e,t,a)=>{"use strict";a.d(t,{Ay:()=>l,sB:()=>c,wz:()=>o});var s=a(1455),n=a.n(s);const i="FETCH_JETPACK_MODULES",r="UPDATE_JETPACK_MODULE_STATUS",o=()=>({type:i}),c=e=>({type:r,settings:e}),l={[i]:function(){return n()({path:"/jetpack/v4/module/all",method:"GET"})},[r]:function({settings:e}){return n()({path:`/jetpack/v4/module/${e.name}/active`,method:"POST",data:{active:e.active}})}}},88290:(e,t,a)=>{"use strict";a.d(t,{F:()=>l});var s=a(47143),n=a(27105),i=a(94478),r=a(38862),o=a(62701),c=a(31640);const l="jetpack-modules",p=(0,s.createReduxStore)(l,{reducer:r.A,actions:n.Ay,controls:i.Ay,resolvers:o.A,selectors:c.A});(0,s.register)(p);const d=window?.Initial_State?.getModules||window?.Jetpack_Editor_Initial_State?.modules||null;null!==d&&(0,s.dispatch)(l).setJetpackModules({data:{...d}})},38862:(e,t,a)=>{"use strict";a.d(t,{A:()=>n});const s={isLoading:!1,isUpdating:{},data:{}},n=(e=s,t)=>{switch(t.type){case"SET_JETPACK_MODULES":return{...e,...t.options};case"SET_MODULE_UPDATING":return{...e,isUpdating:{...e.isUpdating,[t.name]:t.isUpdating}}}return e}},62701:(e,t,a)=>{"use strict";a.d(t,{A:()=>i});var s=a(27105),n=a(94478);const i={getJetpackModules:function*(){try{const e=yield(0,n.wz)();if(e)return(0,s.E9)({data:e})}catch(e){console.error(e)}}}},31640:(e,t,a)=>{"use strict";a.d(t,{A:()=>n});var s=a(62634);const n={getJetpackModules:e=>e.data,isModuleActive:(e,t)=>(0,s.Sy)()||(e?.data?.[t]?.activated??!1),areModulesLoading:e=>e.isLoading??!1,isModuleUpdating:(e,t)=>e?.isUpdating?.[t]??!1}},53265:(e,t,a)=>{"use strict";var s=a(27723);a(93832),a(66087);const __=s.__;__("Upgrade your plan to use video covers","jetpack"),__("Upgrade your plan to upload audio","jetpack")},82034:(e,t,a)=>{"use strict";a(92279)},62634:(e,t,a)=>{"use strict";function s(){return"object"==typeof window&&"string"==typeof window._currentSiteType?window._currentSiteType:null}function n(){return"simple"===s()}a.d(t,{Sy:()=>n})},65595:(e,t,a)=>{"use strict";a(73691),a(29491)},84705:(e,t,a)=>{"use strict";a.d(t,{Ay:()=>s.d});var s=a(58992);a(91135)},91135:(e,t,a)=>{"use strict";a.d(t,{$:()=>s});const s=[{name:"amazon",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M13.582 8.182c-1.648.185-3.802.308-5.344.984-1.781.769-3.03 2.337-3.03 4.644 0 2.953 1.86 4.429 4.253 4.429 2.02 0 3.125-.477 4.685-2.065.516.747.685 1.109 1.629 1.894a.59.59 0 0 0 .672-.066l.006.006c.567-.505 1.599-1.401 2.18-1.888.231-.188.19-.496.009-.754-.52-.718-1.072-1.303-1.072-2.634V8.305c0-1.876.133-3.599-1.249-4.891C15.23 2.369 13.422 2 12.04 2 9.336 2 6.318 3.01 5.686 6.351c-.068.355.191.542.423.594l2.754.298c.258-.013.445-.266.494-.523.236-1.151 1.2-1.706 2.284-1.706.584 0 1.249.215 1.595.738.398.584.346 1.384.346 2.061zm-.533 5.906c-.451.8-1.169 1.291-1.967 1.291-1.09 0-1.728-.83-1.728-2.061 0-2.42 2.171-2.86 4.227-2.86v.615c.001 1.108.027 2.031-.532 3.015m7.634 5.251C18.329 21.076 14.917 22 11.979 22c-4.118 0-7.826-1.522-10.632-4.057-.22-.199-.024-.471.241-.317 3.027 1.762 6.771 2.823 10.639 2.823 2.608 0 5.476-.541 8.115-1.66.397-.169.73.262.341.55m.653 1.704c-.194.163-.379.076-.293-.139.284-.71.92-2.298.619-2.684s-1.99-.183-2.749-.092c-.23.027-.266-.173-.059-.319 1.348-.946 3.555-.673 3.811-.356.26.32-.066 2.533-1.329 3.59"})))},{name:"behance",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M7.799 5.698c.589 0 1.12.051 1.606.156q.722.155 1.241.507.516.351.804.938c.188.387.281.871.281 1.443q0 .93-.421 1.551-.424.62-1.255 1.014 1.133.328 1.689 1.146.559.822.557 1.975 0 .935-.359 1.612a3.14 3.14 0 0 1-.973 1.114q-.613.432-1.399.637A6.1 6.1 0 0 1 7.963 18H2V5.698zm-.35 4.97q.721 0 1.192-.345.465-.344.463-1.119 0-.43-.152-.707a1.1 1.1 0 0 0-.416-.427 1.7 1.7 0 0 0-.596-.216 3.6 3.6 0 0 0-.697-.06H4.709v2.874zm.151 5.237q.401.001.759-.077c.243-.053.457-.137.637-.261.182-.12.332-.283.441-.491q.164-.31.163-.798-.002-.948-.533-1.357c-.356-.27-.83-.404-1.413-.404H4.709v3.388zm8.562-.041q.552.538 1.583.538.74 0 1.277-.374c.354-.248.571-.514.654-.79h2.155c-.347 1.072-.872 1.838-1.589 2.299-.708.463-1.572.693-2.58.693q-1.05 0-1.899-.337a4 4 0 0 1-1.439-.958 4.4 4.4 0 0 1-.904-1.484 5.4 5.4 0 0 1-.32-1.899q0-1 .329-1.863a4.4 4.4 0 0 1 .933-1.492q.607-.63 1.444-.994a4.6 4.6 0 0 1 1.857-.363q1.131-.001 1.98.44a3.94 3.94 0 0 1 1.389 1.181 4.8 4.8 0 0 1 .783 1.69q.24.947.171 1.983h-6.428c-.001.706.237 1.372.604 1.73m2.811-4.68c-.291-.321-.783-.496-1.384-.496q-.585 0-.973.2a2 2 0 0 0-.621.491 1.8 1.8 0 0 0-.328.628 2.7 2.7 0 0 0-.111.587h3.98c-.058-.625-.271-1.085-.563-1.41m-3.916-3.446h4.985V6.524h-4.985z"})))},{name:"blogger-alt",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M19.779 9.904h-.981l-.021.001a1.163 1.163 0 0 1-1.16-1.079l-.001-.013A5.813 5.813 0 0 0 11.803 3H8.871a5.813 5.813 0 0 0-5.813 5.813v6.375a5.813 5.813 0 0 0 5.813 5.813h6.257a5.814 5.814 0 0 0 5.813-5.813l.002-4.121a1.164 1.164 0 0 0-1.164-1.163M8.726 7.713h3.291a1.117 1.117 0 1 1 0 2.234H8.726a1.117 1.117 0 1 1 0-2.234m6.601 8.657H8.72a1.057 1.057 0 1 1 0-2.114h6.607a1.057 1.057 0 1 1 0 2.114"})))},{name:"blogger",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M14.722 14.019a.654.654 0 0 1-.654.654H9.977a.654.654 0 0 1 0-1.308h4.091c.361 0 .654.293.654.654m-4.741-3.321h2.038a.692.692 0 0 0 0-1.384H9.981a.692.692 0 0 0 0 1.384M21 5v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2m-3.456 6.39a.72.72 0 0 0-.72-.72h-.607l-.013.001a.72.72 0 0 1-.718-.668l-.001-.008a3.6 3.6 0 0 0-3.599-3.599H10.07a3.6 3.6 0 0 0-3.599 3.599v3.947a3.6 3.6 0 0 0 3.599 3.599h3.874a3.6 3.6 0 0 0 3.599-3.599z"})))},{name:"bluesky",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M21.2 3.3c-.5-.2-1.4-.5-3.6 1C15.4 6 12.9 9.2 12 11c-.9-1.8-3.4-5-5.7-6.7-2.2-1.6-3-1.3-3.6-1S2 4.6 2 5.1s.3 4.7.5 5.4c.7 2.3 3.1 3.1 5.3 2.8-3.3.5-6.2 1.7-2.4 5.9 4.2 4.3 5.7-.9 6.5-3.6.8 2.7 1.7 7.7 6.4 3.6 3.6-3.6 1-5.4-2.3-5.9 2.2.2 4.6-.5 5.3-2.8.4-.7.7-4.8.7-5.4 0-.5-.1-1.5-.8-1.8"})))},{name:"codepen",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"m22.016 8.84-.007-.037q-.006-.037-.015-.072-.007-.022-.013-.042l-.023-.062-.02-.042a.4.4 0 0 0-.03-.057l-.025-.038-.035-.052-.03-.037q-.021-.026-.043-.045-.015-.018-.035-.035a.4.4 0 0 0-.048-.04l-.037-.03-.015-.012-9.161-6.096a.86.86 0 0 0-.955 0L2.359 8.237l-.015.012-.038.028-.048.04a.638.638 0 0 0-.078.082q-.018.018-.03.037-.018.026-.035.052l-.025.038q-.016.031-.03.059l-.02.041a1 1 0 0 0-.034.106q-.01.034-.016.071-.003.02-.006.037a1 1 0 0 0-.009.114v6.093q0 .056.008.112l.007.038q.006.035.015.072a.2.2 0 0 0 .013.04q.01.032.022.063l.02.04a.4.4 0 0 0 .055.096l.035.052.03.037.042.045.035.035q.023.02.048.04l.038.03.013.01 9.163 6.095a.858.858 0 0 0 .959.004l9.163-6.095.015-.01q.02-.015.037-.03l.048-.04q.02-.017.035-.035.025-.024.043-.045l.03-.037.035-.052.025-.038a.4.4 0 0 0 .03-.058l.02-.04.023-.063c.003-.013.01-.027.013-.04q.009-.037.015-.072l.007-.037q.006-.062.007-.117V8.954a1 1 0 0 0-.008-.114m-9.154-4.376 6.751 4.49-3.016 2.013-3.735-2.492zm-1.724 0v4.009l-3.735 2.494-3.014-2.013zm-7.439 6.098L5.853 12l-2.155 1.438zm7.439 8.974-6.749-4.491 3.015-2.011 3.735 2.492zM12 14.035 8.953 12 12 9.966 15.047 12zm.862 5.501v-4.009l3.735-2.492 3.016 2.011zm7.441-6.098L18.147 12l2.156-1.438z"})))},{name:"deezer",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M20.129 3.662c.222-1.287.548-2.096.909-2.098h.001c.673.002 1.219 2.809 1.219 6.274s-.546 6.274-1.22 6.274c-.276 0-.531-.477-.736-1.276-.324 2.926-.997 4.937-1.776 4.937-.603 0-1.144-1.208-1.507-3.114-.248 3.624-.872 6.195-1.602 6.195-.458 0-.875-1.019-1.184-2.678C13.861 21.6 13.003 24 12.002 24s-1.861-2.399-2.231-5.824c-.307 1.659-.724 2.678-1.184 2.678-.73 0-1.352-2.571-1.602-6.195-.363 1.905-.903 3.114-1.507 3.114-.778 0-1.452-2.011-1.776-4.937-.204.802-.46 1.276-.736 1.276-.674 0-1.22-2.809-1.22-6.274s.546-6.274 1.22-6.274c.362 0 .685.812.91 2.098.357-2.22.94-3.662 1.6-3.662.784 0 1.463 2.04 1.784 5.002.314-2.156.791-3.53 1.325-3.53.749 0 1.385 2.703 1.621 6.474.443-1.933 1.085-3.146 1.795-3.146s1.352 1.214 1.795 3.146c.237-3.771.872-6.474 1.621-6.474.533 0 1.009 1.374 1.325 3.53.321-2.962 1-5.002 1.784-5.002.658 0 1.244 1.443 1.603 3.662M0 7.221c0-1.549.31-2.805.692-2.805s.692 1.256.692 2.805-.31 2.805-.692 2.805S0 8.77 0 7.221m22.616 0c0-1.549.31-2.805.692-2.805S24 5.672 24 7.221s-.31 2.805-.692 2.805-.692-1.256-.692-2.805"})))},{name:"discord",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M20.33 4.523A20 20 0 0 0 15.379 3a14 14 0 0 0-.634 1.289 18.4 18.4 0 0 0-5.495 0A14 14 0 0 0 8.615 3 20 20 0 0 0 3.66 4.527C.527 9.163-.323 13.684.102 18.141a20 20 0 0 0 6.073 3.049 14.7 14.7 0 0 0 1.301-2.097 13 13 0 0 1-2.048-.978q.258-.189.502-.378a14.27 14.27 0 0 0 12.142 0q.247.202.502.378a13 13 0 0 1-2.052.98 14.5 14.5 0 0 0 1.301 2.095 19.9 19.9 0 0 0 6.076-3.047c.498-5.168-.851-9.648-3.568-13.62M8.013 15.4c-1.183 0-2.161-1.074-2.161-2.395S6.796 10.6 8.01 10.6s2.183 1.083 2.163 2.405S9.22 15.4 8.013 15.4m7.974 0c-1.186 0-2.16-1.074-2.16-2.395s.944-2.405 2.16-2.405 2.178 1.083 2.157 2.405-.951 2.395-2.158 2.395"})))},{name:"dribbble",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12 22C6.486 22 2 17.514 2 12S6.486 2 12 2s10 4.486 10 10-4.486 10-10 10m8.434-8.631c-.292-.092-2.644-.794-5.32-.365 1.117 3.07 1.572 5.57 1.659 6.09a8.56 8.56 0 0 0 3.661-5.725m-5.098 6.507c-.127-.749-.623-3.361-1.822-6.477l-.056.019c-4.818 1.679-6.547 5.02-6.701 5.334A8.5 8.5 0 0 0 12 20.555a8.5 8.5 0 0 0 3.336-.679m-9.682-2.152c.193-.331 2.538-4.213 6.943-5.637q.167-.054.337-.102a29 29 0 0 0-.692-1.45c-4.266 1.277-8.405 1.223-8.778 1.216a8.497 8.497 0 0 0 2.19 5.973m-2.015-7.46c.382.005 3.901.02 7.897-1.041a55 55 0 0 0-3.167-4.94 8.57 8.57 0 0 0-4.73 5.981m6.359-6.555a46 46 0 0 1 3.187 5c3.037-1.138 4.323-2.867 4.477-3.085a8.51 8.51 0 0 0-7.664-1.915m8.614 2.903c-.18.243-1.612 2.078-4.77 3.367a27 27 0 0 1 .751 1.678c2.842-.357 5.666.215 5.948.275a8.5 8.5 0 0 0-1.929-5.32"})))},{name:"dropbox",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12 6.134 6.069 9.797 2 6.54l5.883-3.843zm-10 6.92 5.883 3.843L12 13.459 6.069 9.797zm10 .405 4.116 3.439L22 13.054l-4.069-3.257zM22 6.54l-5.884-3.843L12 6.134l5.931 3.663zm-9.989 7.66-4.129 3.426-1.767-1.153v1.291l5.896 3.539 5.897-3.539v-1.291l-1.769 1.153z"})))},{name:"eventbrite",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M18.041 3.931 5.959 3A2.96 2.96 0 0 0 3 5.959v12.083A2.96 2.96 0 0 0 5.959 21l12.083-.931C19.699 19.983 21 18.744 21 17.11V6.89c0-1.634-1.259-2.863-2.959-2.959M16.933 8.17c-.082.215-.192.432-.378.551-.188.122-.489.132-.799.132-1.521 0-3.062-.048-4.607-.048q-.23 1.061-.451 2.128c.932-.004 1.873.005 2.81.005.726 0 1.462-.069 1.586.525.04.189-.001.426-.052.615-.105.38-.258.676-.625.783-.185.054-.408.058-.646.058-1.145 0-2.345.017-3.493.02-.169.772-.328 1.553-.489 2.333 1.57-.005 3.067-.041 4.633-.058.627-.007 1.085.194 1.009.85a2.2 2.2 0 0 1-.211.725c-.102.208-.248.376-.488.452-.237.075-.541.064-.862.078-.304.014-.614.008-.924.016-.309.009-.619.022-.919.022-1.253 0-2.429.08-3.683.073-.603-.004-1.014-.249-1.124-.757-.059-.273-.018-.58.036-.841a3543 3543 0 0 1 1.629-7.763c.056-.265.114-.511.225-.714a1.24 1.24 0 0 1 .79-.62c.368-.099.883-.047 1.344-.047.305 0 .612.008.914.016.925.026 1.817.03 2.747.053.304.007.615.016.915.016.621 0 1.17.073 1.245.614.039.288-.051.567-.132.783"})))},{name:"facebook",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("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-10"})))},{name:"fediverse",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 743 743"},React.createElement("g",null,React.createElement("path",{d:"M181.131 275.137a68.9 68.9 0 0 1-29.465 29.328l161.758 162.389 38.998-19.764zm213.363 214.187-38.998 19.764 81.963 82.283a68.9 68.9 0 0 1 29.471-29.332zM581.646 339.391l-91.576 46.41 6.752 43.189 103.616-52.513a68.9 68.9 0 0 1-18.792-37.086m-144.738 73.351L220.383 522.477a68.9 68.9 0 0 1 18.795 37.089L443.66 455.934zM367.275 142.438l-104.48 203.97 30.848 30.967 110.623-215.957a68.9 68.9 0 0 1-36.991-18.98M235.621 399.459l-52.922 103.314a68.9 68.9 0 0 1 36.987 18.979l46.781-91.328zM150.768 304.918a68.9 68.9 0 0 1-34.416 7.195 69 69 0 0 1-6.651-.695l30.903 197.662a68.9 68.9 0 0 1 34.416-7.195 69 69 0 0 1 6.646.695zM239.342 560.545c.707 4.589.949 9.239.72 13.877a68.9 68.9 0 0 1-7.267 27.18l197.629 31.712c-.708-4.59-.95-9.24-.723-13.878a68.9 68.9 0 0 1 7.27-27.178zM601.133 377.199l-91.219 178.082a68.9 68.9 0 0 1 36.994 18.983l91.217-178.08a68.9 68.9 0 0 1-36.992-18.985M476.723 125.33a68.9 68.9 0 0 1-29.471 29.332l141.266 141.811a68.9 68.9 0 0 1 29.468-29.332zM347.787 104.631l-178.576 90.498a68.9 68.9 0 0 1 18.793 37.086l178.574-90.502a68.9 68.9 0 0 1-18.791-37.082M446.926 154.826a68.9 68.9 0 0 1-34.983 7.483 69 69 0 0 1-6.029-.633l15.818 101.291 43.163 6.926zm-16 167.028 37.4 239.482a68.9 68.9 0 0 1 33.914-6.943q3.625.206 7.207.791L474.09 328.777zM188.131 232.975c.734 4.66.988 9.383.758 14.095a68.9 68.9 0 0 1-7.16 26.983l101.369 16.281 19.923-38.908zm173.736 27.9-19.926 38.912 239.514 38.467a69 69 0 0 1-.695-13.719 68.9 68.9 0 0 1 7.349-27.324z"}),React.createElement("path",{fillOpacity:".996",d:"M412.284 156.054c34.538 1.882 64.061-24.592 65.943-59.13s-24.592-64.062-59.131-65.943c-34.538-1.882-64.061 24.592-65.943 59.13s24.593 64.062 59.131 65.943M646.144 390.82c34.538 1.881 64.062-24.593 65.943-59.131s-24.592-64.061-59.13-65.943-64.062 24.593-65.943 59.131 24.592 64.061 59.13 65.943M495.086 685.719c34.538 1.881 64.062-24.592 65.943-59.13s-24.592-64.062-59.13-65.943-64.062 24.592-65.943 59.13 24.592 64.062 59.13 65.943M167.866 633.211c34.538 1.882 64.062-24.592 65.943-59.13s-24.592-64.062-59.13-65.943-64.062 24.592-65.943 59.13 24.592 64.062 59.13 65.943M116.692 305.86c34.538 1.882 64.062-24.592 65.943-59.13s-24.592-64.062-59.131-65.943c-34.538-1.881-64.061 24.592-65.943 59.13s24.593 64.062 59.131 65.943"})))},{name:"feed",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M2 8.667V12c5.515 0 10 4.485 10 10h3.333c0-7.363-5.97-13.333-13.333-13.333M2 2v3.333c9.19 0 16.667 7.477 16.667 16.667H22C22 10.955 13.045 2 2 2m2.5 15a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5"})))},{name:"flickr",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M6.5 7c-2.75 0-5 2.25-5 5s2.25 5 5 5 5-2.25 5-5-2.25-5-5-5m11 0c-2.75 0-5 2.25-5 5s2.25 5 5 5 5-2.25 5-5-2.25-5-5-5"})))},{name:"foursquare",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M17.573 2H6.905C5.434 2 5 3.107 5 3.805v16.948c0 .785.422 1.077.66 1.172.238.097.892.177 1.285-.275 0 0 5.035-5.843 5.122-5.93.132-.132.132-.132.262-.132h3.26c1.368 0 1.588-.977 1.732-1.552.078-.318.692-3.428 1.225-6.122l.675-3.368C19.56 2.893 19.14 2 17.573 2m-1.078 5.22c-.053.252-.372.518-.665.518h-4.157c-.467 0-.802.318-.802.787v.508c0 .467.337.798.805.798h3.528c.331 0 .655.362.583.715s-.407 2.102-.448 2.295c-.04.193-.262.523-.655.523h-2.88c-.523 0-.683.068-1.033.503-.35.437-3.505 4.223-3.505 4.223-.032.035-.063.027-.063-.015V4.852c0-.298.26-.648.648-.648h8.562c.315 0 .61.297.528.683z"})))},{name:"ghost",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M10.203 20.997H3.005v-3.599h7.198zm10.792-3.599h-7.193v3.599h7.193zm.003-7.198H3v3.599h17.998zm-7.195-7.197H3.005v3.599h10.798zm7.197 0h-3.599v3.599H21z"})))},{name:"git",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M23.519 10.947 13.053.482a1.543 1.543 0 0 0-2.183 0L8.696 2.656l2.756 2.756a1.83 1.83 0 0 1 1.886.439 1.84 1.84 0 0 1 .436 1.898l2.656 2.657a1.83 1.83 0 0 1 1.899.436 1.837 1.837 0 0 1 0 2.597 1.84 1.84 0 0 1-2.599 0 1.84 1.84 0 0 1-.4-1.998l-2.478-2.477v6.521a1.837 1.837 0 0 1 .485 2.945 1.837 1.837 0 0 1-2.597 0 1.837 1.837 0 0 1 0-2.598 1.8 1.8 0 0 1 .602-.401V8.85a1.8 1.8 0 0 1-.602-.4 1.84 1.84 0 0 1-.395-2.009L7.628 3.723.452 10.898a1.544 1.544 0 0 0 0 2.184l10.467 10.467a1.544 1.544 0 0 0 2.183 0l10.417-10.418a1.546 1.546 0 0 0 0-2.184"})))},{name:"github",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12c0 4.419 2.865 8.166 6.839 9.489.5.09.682-.218.682-.484 0-.236-.009-.866-.014-1.699-2.782.602-3.369-1.34-3.369-1.34-.455-1.157-1.11-1.465-1.11-1.465-.909-.62.069-.608.069-.608 1.004.071 1.532 1.03 1.532 1.03.891 1.529 2.341 1.089 2.91.833.091-.647.349-1.086.635-1.337-2.22-.251-4.555-1.111-4.555-4.943 0-1.091.39-1.984 1.03-2.682-.103-.254-.447-1.27.097-2.646 0 0 .84-.269 2.75 1.025A9.6 9.6 0 0 1 12 6.836c.85.004 1.705.114 2.504.336 1.909-1.294 2.748-1.025 2.748-1.025.546 1.376.202 2.394.1 2.646.64.699 1.026 1.591 1.026 2.682 0 3.841-2.337 4.687-4.565 4.935.359.307.679.917.679 1.852 0 1.335-.012 2.415-.012 2.741 0 .269.18.579.688.481A10 10 0 0 0 22 12c0-5.523-4.477-10-10-10"})))},{name:"google-alt",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2m-.05 16c-3.312 0-6-2.688-6-6s2.688-6 6-6c1.62 0 2.976.594 4.014 1.566L14.26 9.222c-.432-.408-1.188-.888-2.31-.888-1.986 0-3.606 1.65-3.606 3.672s1.62 3.672 3.606 3.672c2.298 0 3.144-1.59 3.3-2.532h-3.306v-2.238h5.616c.084.378.15.732.15 1.23 0 3.426-2.298 5.862-5.76 5.862"})))},{name:"google-plus-alt",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M8 11h6.61c.06.35.11.7.11 1.16 0 4-2.68 6.84-6.72 6.84-3.87 0-7-3.13-7-7s3.13-7 7-7c1.89 0 3.47.69 4.69 1.83l-1.9 1.83c-.52-.5-1.43-1.08-2.79-1.08-2.39 0-4.34 1.98-4.34 4.42S5.61 16.42 8 16.42c2.77 0 3.81-1.99 3.97-3.02H8zm15 0h-2V9h-2v2h-2v2h2v2h2v-2h2"})))},{name:"google-plus",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2m-1.919 14.05a4.051 4.051 0 0 1 0-8.1c1.094 0 2.009.401 2.709 1.057l-1.15 1.118a2.23 2.23 0 0 0-1.559-.599c-1.341 0-2.434 1.114-2.434 2.479s1.094 2.479 2.434 2.479c1.551 0 2.122-1.073 2.227-1.709h-2.232v-1.511h3.791c.057.255.101.494.101.83.001 2.312-1.55 3.956-3.887 3.956M19 12.75h-1.25V14h-1.5v-1.25H15v-1.5h1.25V10h1.5v1.25H19z"})))},{name:"google",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12.02 10.18v3.73h5.51c-.26 1.57-1.67 4.22-5.5 4.22-3.31 0-6.01-2.75-6.01-6.12s2.7-6.12 6.01-6.12c1.87 0 3.13.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 0-.83-.11-1.42-.25-2.05z"})))},{name:"instagram",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12 4.622c2.403 0 2.688.009 3.637.052.877.04 1.354.187 1.671.31.42.163.72.358 1.035.673s.51.615.673 1.035c.123.317.27.794.31 1.671.043.949.052 1.234.052 3.637s-.009 2.688-.052 3.637c-.04.877-.187 1.354-.31 1.671-.163.42-.358.72-.673 1.035s-.615.51-1.035.673c-.317.123-.794.27-1.671.31-.949.043-1.233.052-3.637.052s-2.688-.009-3.637-.052c-.877-.04-1.354-.187-1.671-.31a2.8 2.8 0 0 1-1.035-.673 2.8 2.8 0 0 1-.673-1.035c-.123-.317-.27-.794-.31-1.671-.043-.949-.052-1.234-.052-3.637s.009-2.688.052-3.637c.04-.877.187-1.354.31-1.671.163-.42.358-.72.673-1.035s.615-.51 1.035-.673c.317-.123.794-.27 1.671-.31.949-.043 1.234-.052 3.637-.052M12 3c-2.444 0-2.751.01-3.711.054-.958.044-1.612.196-2.184.418a4.4 4.4 0 0 0-1.594 1.039c-.5.5-.808 1.002-1.038 1.594-.223.572-.375 1.226-.419 2.184C3.01 9.249 3 9.556 3 12s.01 2.751.054 3.711c.044.958.196 1.612.418 2.185.23.592.538 1.094 1.038 1.594s1.002.808 1.594 1.038c.572.222 1.227.375 2.185.418.96.044 1.267.054 3.711.054s2.751-.01 3.711-.054c.958-.044 1.612-.196 2.185-.418a4.4 4.4 0 0 0 1.594-1.038c.5-.5.808-1.002 1.038-1.594.222-.572.375-1.227.418-2.185.044-.96.054-1.267.054-3.711s-.01-2.751-.054-3.711c-.044-.958-.196-1.612-.418-2.185A4.4 4.4 0 0 0 19.49 4.51c-.5-.5-1.002-.808-1.594-1.038-.572-.222-1.227-.375-2.185-.418C14.751 3.01 14.444 3 12 3m0 4.378a4.622 4.622 0 1 0 0 9.244 4.622 4.622 0 0 0 0-9.244M12 15a3 3 0 1 1 0-6 3 3 0 0 1 0 6m4.804-8.884a1.08 1.08 0 1 0 .001 2.161 1.08 1.08 0 0 0-.001-2.161"})))},{name:"json-feed",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"m8.522 17.424.027.027c1.076-1.076 1.854-.993 3.154.306l2.053 2.053c2.136 2.136 4.131 2.028 6.515-.356l.729-.728-1.548-1.548-.373.373c-1.349 1.349-2.293 1.366-3.585.075l-2.409-2.409c-1.242-1.242-2.475-1.366-3.659-.381l-.232-.232c1.01-1.225.911-2.368-.29-3.568l-2.16-2.162c-1.317-1.317-1.308-2.236.058-3.602l.372-.372-1.54-1.54-.728.729c-2.393 2.393-2.525 4.346-.439 6.433l1.78 1.78c1.3 1.3 1.383 2.095.315 3.163l.008.008a1.384 1.384 0 0 0 1.952 1.951"}),React.createElement("circle",{cx:"13.089",cy:"10.905",r:"1.383"}),React.createElement("circle",{cx:"16.349",cy:"7.644",r:"1.383"}),React.createElement("circle",{cx:"19.61",cy:"4.383",r:"1.383"})))},{name:"line",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M14.255 9.572v3.333c0 .084-.066.15-.15.15h-.534a.16.16 0 0 1-.122-.061l-1.528-2.063v1.978c0 .084-.066.15-.15.15h-.534a.15.15 0 0 1-.15-.15V9.576c0-.084.066-.15.15-.15h.529a.14.14 0 0 1 .122.066l1.528 2.063V9.577c0-.084.066-.15.15-.15h.534a.15.15 0 0 1 .155.145m-3.844-.15h-.534a.15.15 0 0 0-.15.15v3.333c0 .084.066.15.15.15h.534c.084 0 .15-.066.15-.15V9.572c0-.08-.066-.15-.15-.15m-1.289 2.794H7.664V9.572a.15.15 0 0 0-.15-.15H6.98a.15.15 0 0 0-.15.15v3.333q0 .062.042.103a.16.16 0 0 0 .103.042h2.142c.084 0 .15-.066.15-.15v-.534a.15.15 0 0 0-.145-.15m7.945-2.794h-2.142c-.08 0-.15.066-.15.15v3.333c0 .08.066.15.15.15h2.142c.084 0 .15-.066.15-.15v-.534a.15.15 0 0 0-.15-.15h-1.458v-.563h1.458c.084 0 .15-.066.15-.15v-.539a.15.15 0 0 0-.15-.15h-1.458v-.563h1.458c.084 0 .15-.066.15-.15v-.534c-.005-.08-.07-.15-.15-.15M22.5 5.33v13.373c-.005 2.1-1.725 3.802-3.83 3.797H5.297c-2.1-.005-3.802-1.73-3.797-3.83V5.297c.005-2.1 1.73-3.802 3.83-3.797h13.373c2.1.005 3.802 1.725 3.797 3.83m-2.888 5.747c0-3.422-3.431-6.206-7.645-6.206s-7.645 2.784-7.645 6.206c0 3.066 2.719 5.634 6.394 6.122.895.192.792.52.591 1.725-.033.192-.155.755.661.413s4.402-2.592 6.009-4.439c1.106-1.219 1.636-2.452 1.636-3.82"})))},{name:"link",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M17 13H7v-2h10zm1-6h-1c-1.631 0-3.065.792-3.977 2H18c1.103 0 2 .897 2 2v2c0 1.103-.897 2-2 2h-4.977c.913 1.208 2.347 2 3.977 2h1a4 4 0 0 0 4-4v-2a4 4 0 0 0-4-4M2 11v2a4 4 0 0 0 4 4h1c1.63 0 3.065-.792 3.977-2H6c-1.103 0-2-.897-2-2v-2c0-1.103.897-2 2-2h4.977C10.065 7.792 8.631 7 7 7H6a4 4 0 0 0-4 4"})))},{name:"linkedin",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M19.7 3H4.3A1.3 1.3 0 0 0 3 4.3v15.4A1.3 1.3 0 0 0 4.3 21h15.4a1.3 1.3 0 0 0 1.3-1.3V4.3A1.3 1.3 0 0 0 19.7 3M8.339 18.338H5.667v-8.59h2.672zM7.004 8.574a1.548 1.548 0 1 1-.002-3.096 1.548 1.548 0 0 1 .002 3.096m11.335 9.764H15.67v-4.177c0-.996-.017-2.278-1.387-2.278-1.389 0-1.601 1.086-1.601 2.206v4.249h-2.667v-8.59h2.559v1.174h.037c.356-.675 1.227-1.387 2.526-1.387 2.703 0 3.203 1.779 3.203 4.092v4.711z"})))},{name:"mail",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M20 4H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2m0 4.236-8 4.882-8-4.882V6h16z"})))},{name:"mastodon",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M11.973 2.352c-2.468.02-4.842.286-6.225.921 0 0-2.742 1.229-2.742 5.415 0 .958-.018 2.105.012 3.32.1 4.094.75 8.128 4.535 9.129 1.745.462 3.244.56 4.45.494 2.19-.122 3.417-.781 3.417-.781l-.072-1.588s-1.565.491-3.32.431c-1.74-.06-3.576-.188-3.858-2.324a4 4 0 0 1-.04-.598s1.709.416 3.874.516c1.324.06 2.563-.076 3.824-.226 2.418-.29 4.524-1.78 4.79-3.141.416-2.144.38-5.232.38-5.232 0-4.186-2.74-5.415-2.74-5.415-1.383-.635-3.76-.9-6.227-.921zM9.18 5.622c1.028 0 1.804.395 2.318 1.185l.502.84.5-.84c.514-.79 1.292-1.186 2.32-1.186.888 0 1.605.313 2.15.922q.795.915.794 2.469v5.068h-2.008V9.16c0-1.037-.438-1.562-1.31-1.562-.966 0-1.448.622-1.448 1.857v2.693h-1.996V9.455c0-1.235-.484-1.857-1.45-1.857-.872 0-1.308.525-1.308 1.562v4.92H6.236V9.012q-.001-1.554.793-2.469c.547-.609 1.263-.922 2.15-.922"})))},{name:"medium-alt",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{fillRule:"nonzero",d:"M7.423 6c3.27 0 5.922 2.686 5.922 6s-2.651 6-5.922 6S1.5 15.313 1.5 12s2.652-6 5.923-6m9.458.351c1.635 0 2.961 2.53 2.961 5.65 0 3.118-1.325 5.648-2.96 5.648S13.92 15.119 13.92 12s1.325-5.649 2.96-5.649m4.577.589c.576 0 1.042 2.265 1.042 5.06s-.466 5.06-1.042 5.06c-.575 0-1.04-2.265-1.04-5.06s.465-5.06 1.04-5.06"})))},{name:"medium",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M3 3v18h18V3zm15 4.26-1 .93a.28.28 0 0 0-.11.27v6.8a.27.27 0 0 0 .11.27l.94.93v.2h-4.75v-.2l1-1c.09-.1.09-.12.09-.27V9.74l-2.71 6.9h-.37L8 9.74v4.62a.67.67 0 0 0 .17.54l1.27 1.54v.2H5.86v-.2l1.27-1.54a.64.64 0 0 0 .17-.54V9a.5.5 0 0 0-.16-.4L6 7.26v-.2h3.52L12.23 13l2.38-5.94H18z"})))},{name:"messenger",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12.026.375C5.462.375.375 5.172.375 11.652c0 3.389 1.393 6.318 3.66 8.341.391.352.311.556.377 2.73a.934.934 0 0 0 1.307.823c2.48-1.092 2.512-1.178 2.933-1.064 7.185 1.977 14.973-2.621 14.973-10.83 0-6.48-5.035-11.277-11.599-11.277m6.996 8.678L15.6 14.47a1.75 1.75 0 0 1-2.527.465l-2.723-2.038a.7.7 0 0 0-.844 0l-3.674 2.786c-.49.372-1.133-.216-.802-.735l3.422-5.417a1.75 1.75 0 0 1 2.527-.465l2.722 2.037a.7.7 0 0 0 .844 0L18.22 8.32c.489-.374 1.132.213.801.732"})))},{name:"microblog",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M19.641 17.086c1.294-1.522 2.067-3.438 2.067-5.521 0-4.957-4.371-8.972-9.763-8.972s-9.763 4.015-9.763 8.972 4.371 8.972 9.763 8.972a10.5 10.5 0 0 0 3.486-.59.315.315 0 0 1 .356.112c.816 1.101 2.09 1.876 3.506 2.191a.194.194 0 0 0 .192-.309 3.82 3.82 0 0 1 .162-4.858zm-3.065-6.575-2.514 1.909.912 3.022a.286.286 0 0 1-.437.317l-2.592-1.802-2.592 1.802a.285.285 0 0 1-.436-.317l.912-3.022-2.515-1.909a.285.285 0 0 1 .167-.513l3.155-.066 1.038-2.981a.285.285 0 0 1 .539 0l1.038 2.981 3.155.066a.285.285 0 0 1 .17.513"})))},{name:"nextdoor",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",strokeMiterlimit:"10",viewBox:"0 0 130 130"},React.createElement("g",null,React.createElement("path",{d:"M64.25 3.531c-31.144.337-57.596 24.22-60.469 55.907-3.064 33.799 21.857 63.685 55.657 66.75s63.685-21.857 66.75-55.657-21.857-63.686-55.657-66.75a62 62 0 0 0-6.281-.25m3.938 34.907C82.468 38.438 93.5 48.58 93.5 61.5v27c0 .685-.565 1.25-1.25 1.25H80.906a1.267 1.267 0 0 1-1.25-1.25V63.375c0-5.58-4.309-11.937-11.469-11.937-7.47 0-11.468 6.357-11.468 11.937V88.5c0 .685-.565 1.25-1.25 1.25H44.125c-.68 0-1.219-.57-1.219-1.25V64.156c0-.74-.529-1.364-1.25-1.531-13.13-2.93-15.115-10.285-15.375-21.125-.005-.332.142-.67.375-.906.233-.237.543-.375.875-.375l11.688.062c.66.01 1.187.529 1.218 1.188.13 4.44.438 9.406 4.438 9.406.83 0 1.443-1.179 1.813-1.719 4.41-6.48 12.28-10.718 21.5-10.718"})))},{name:"patreon",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M20 7.408c-.003-2.299-1.746-4.182-3.79-4.862-2.54-.844-5.888-.722-8.312.453-2.939 1.425-3.862 4.545-3.896 7.656-.028 2.559.22 9.297 3.92 9.345 2.75.036 3.159-3.603 4.43-5.356.906-1.247 2.071-1.599 3.506-1.963 2.465-.627 4.146-2.626 4.142-5.273"})))},{name:"pinterest-alt",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12.289 2C6.617 2 3.606 5.648 3.606 9.622c0 1.846 1.025 4.146 2.666 4.878.25.111.381.063.439-.169.044-.175.267-1.029.365-1.428a.37.37 0 0 0-.091-.362c-.54-.63-.975-1.791-.975-2.873 0-2.777 2.194-5.464 5.933-5.464 3.23 0 5.49 2.108 5.49 5.122 0 3.407-1.794 5.768-4.13 5.768-1.291 0-2.257-1.021-1.948-2.277.372-1.495 1.089-3.112 1.089-4.191 0-.967-.542-1.775-1.663-1.775-1.319 0-2.379 1.309-2.379 3.059 0 1.115.394 1.869.394 1.869s-1.302 5.279-1.54 6.261c-.405 1.666.053 4.368.094 4.604.021.126.167.169.25.063.129-.165 1.699-2.419 2.142-4.051.158-.59.817-2.995.817-2.995.43.784 1.681 1.446 3.013 1.446 3.963 0 6.822-3.494 6.822-7.833C20.394 5.112 16.849 2 12.289 2"})))},{name:"pinterest",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12c0 4.236 2.636 7.855 6.356 9.312-.087-.791-.166-2.005.035-2.869.182-.78 1.173-4.971 1.173-4.971s-.299-.599-.299-1.484c0-1.39.806-2.429 1.809-2.429.853 0 1.265.641 1.265 1.409 0 .858-.546 2.141-.828 3.329-.236.996.499 1.807 1.481 1.807 1.777 0 3.144-1.874 3.144-4.579 0-2.394-1.72-4.068-4.177-4.068-2.845 0-4.515 2.134-4.515 4.34 0 .859.331 1.781.744 2.282a.3.3 0 0 1 .069.287c-.077.316-.246.995-.279 1.134-.044.183-.145.222-.334.134-1.249-.581-2.03-2.407-2.03-3.874 0-3.154 2.292-6.051 6.607-6.051 3.469 0 6.165 2.472 6.165 5.775 0 3.446-2.173 6.22-5.189 6.22-1.013 0-1.966-.526-2.292-1.148l-.623 2.377c-.226.869-.835 1.957-1.243 2.622.936.289 1.93.445 2.961.445 5.523 0 10-4.477 10-10S17.523 2 12 2"})))},{name:"pocket",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M21.927 4.194A1.82 1.82 0 0 0 20.222 3H3.839a1.823 1.823 0 0 0-1.813 1.814v6.035l.069 1.2c.29 2.73 1.707 5.115 3.899 6.778l.119.089.025.018a9.9 9.9 0 0 0 3.91 1.727 10.06 10.06 0 0 0 4.049-.014.3.3 0 0 0 .064-.023 9.9 9.9 0 0 0 3.753-1.691l.025-.018q.06-.043.119-.089c2.192-1.664 3.609-4.049 3.898-6.778l.069-1.2V4.814a1.8 1.8 0 0 0-.098-.62m-4.235 6.287-4.704 4.512a1.37 1.37 0 0 1-1.898 0l-4.705-4.512a1.371 1.371 0 1 1 1.898-1.979l3.756 3.601 3.755-3.601a1.372 1.372 0 0 1 1.898 1.979"})))},{name:"polldaddy",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12 2C6.487 2 2 6.487 2 12c0 5.514 4.487 10 10 10 5.514 0 10-4.486 10-10 0-5.513-4.486-10-10-10m.991 1.68c2.361.084 4.657 1.251 6.197 3.136.283.334.541.693.774 1.067a7.78 7.78 0 0 0-6.094-2.94 7.76 7.76 0 0 0-5.896 2.703q-.008.006-.016.014l-.152.159-.031.032a6.12 6.12 0 0 0-1.633 4.165 6.15 6.15 0 0 0 6.143 6.143c.57 0 1.123-.081 1.649-.227-1.849.839-4.131.747-5.926-.324-1.841-1.089-3.171-3.111-3.433-5.313A7.39 7.39 0 0 1 6.69 6.137C8.294 4.5 10.634 3.563 12.991 3.68m3.373 8.519c-.049-2.024-1.587-3.889-3.544-4.174-1.927-.343-3.917.857-4.451 2.661a3.67 3.67 0 0 0 .2 2.653c.39.8 1.067 1.451 1.894 1.759 1.664.654 3.63-.27 4.173-1.863.593-1.58-.396-3.423-1.94-3.776-1.52-.407-3.161.757-3.204 2.243a2.36 2.36 0 0 0 .753 1.879c.501.476 1.23.667 1.871.529a2.07 2.07 0 0 0 1.469-1.134 1.91 1.91 0 0 0-.087-1.767c-.297-.513-.859-.863-1.429-.881a1.7 1.7 0 0 0-1.437.679 1.53 1.53 0 0 0-.18 1.489q.006.016.016.03c.193.634.774 1.1 1.467 1.117a1.6 1.6 0 0 1-.97-.183c-.466-.244-.809-.747-.893-1.29a1.8 1.8 0 0 1 .499-1.539 2.02 2.02 0 0 1 1.58-.606c.593.04 1.159.35 1.517.859.364.496.51 1.156.383 1.773-.116.62-.529 1.174-1.093 1.514a2.52 2.52 0 0 1-1.914.286c-.65-.161-1.226-.606-1.584-1.206a2.83 2.83 0 0 1-.341-2.031c.143-.7.573-1.321 1.176-1.753 1.193-.883 3.056-.751 4.106.411 1.106 1.1 1.327 3.027.406 4.371-.877 1.376-2.74 2.086-4.374 1.594-1.639-.449-2.913-2.079-3.031-3.853-.07-.884.13-1.797.583-2.577.445-.777 1.155-1.432 1.972-1.862 1.64-.88 3.816-.743 5.349.424 1.251.924 2.083 2.42 2.236 4.009l.001.03c0 2.9-2.359 5.26-5.26 5.26a5.2 5.2 0 0 1-1.947-.376 5 5 0 0 0 2.613-.079 4.96 4.96 0 0 0 2.514-1.751c.618-.828.95-1.861.901-2.869M12 21.113c-5.024 0-9.111-4.087-9.111-9.113 0-4.789 3.713-8.723 8.411-9.081a7 7 0 0 0-.397.06c-2.644.453-5.017 2.106-6.32 4.409-1.309 2.301-1.391 5.19-.3 7.527 1.056 2.34 3.253 4.156 5.776 4.553 2.497.44 5.133-.483 6.787-2.301 1.719-1.797 2.269-4.529 1.486-6.796-.583-1.81-1.976-3.331-3.7-4.046 3.417.594 6.174 3.221 6.174 6.781 0 1.004-.241 2.02-.657 2.966-1.498 2.984-4.586 5.041-8.149 5.041"})))},{name:"print",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M9 16h6v2H9zm13 1h-3v3a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-3H2V9a2 2 0 0 1 2-2h1V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v2h1a2 2 0 0 1 2 2zM7 7h10V5H7zm10 7H7v6h10zm3-3.5a1.5 1.5 0 1 0-3.001.001A1.5 1.5 0 0 0 20 10.5"})))},{name:"quora",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M47.736 16.521c-.41-.81-.898-1.631-1.846-1.631a1 1 0 0 0-.527.107l-.322-.644a2.93 2.93 0 0 1 1.836-.595c1.26 0 1.914.605 2.431 1.397a6.8 6.8 0 0 0 .449-2.675c0-2.773-.869-4.199-2.929-4.199-1.992 0-2.851 1.465-2.851 4.199s.859 4.17 2.851 4.17a4 4 0 0 0 .869-.107zm.498.966a6 6 0 0 1-1.367.185 5.27 5.27 0 0 1-5.263-5.204c0-3.114 2.558-5.233 5.263-5.233s5.282 2.109 5.282 5.233a5.08 5.08 0 0 1-1.992 4.072c.381.566.781.956 1.319.956.595 0 .839-.459.878-.82h.781c.049.488-.195 2.48-2.373 2.48-1.319 0-2.012-.761-2.529-1.66zm5.624-2.646v-3.563c0-.371-.146-.586-.615-.586h-.498v-.956h3.251v5.048c0 .849.459 1.231 1.161 1.231a1.56 1.56 0 0 0 1.465-.839V11.28c0-.371-.146-.586-.615-.586h-.527v-.957h3.28v5.302c0 .527.195.732.8.732h.107v.976l-2.929.468V16.21h-.057a3.12 3.12 0 0 1-2.509 1.152c-1.28 0-2.304-.644-2.304-2.558zm12.059 1.611c1.152 0 1.592-1.005 1.611-3.027.02-1.982-.459-2.929-1.611-2.929-1.005 0-1.641.956-1.641 2.929 0 2.021.625 3.027 1.641 3.027m0 .956a3.906 3.906 0 0 1-3.974-3.974c0-2.334 1.836-3.886 3.974-3.886 2.226 0 4.004 1.582 4.004 3.886a3.867 3.867 0 0 1-4.004 3.974m4.072-.146v-.956h.312c.781 0 .859-.224.859-.908v-4.121c0-.371-.215-.586-.732-.586h-.42v-.955h2.968l.146 1.553h.108c.371-1.113 1.221-1.699 2.051-1.699.693 0 1.221.39 1.221 1.181 0 .547-.264 1.093-1.005 1.093-.664 0-.8-.449-1.358-.449-.488 0-.869.468-.869 1.152v2.783c0 .673.166.908.937.908h.439v.956h-4.658zm9.901-1.093c.956 0 1.338-.898 1.338-1.797v-1.211c-.732.722-2.304.742-2.304 2.021 0 .625.371.986.966.986m1.387 0c-.39.752-1.191 1.26-2.314 1.26-1.309 0-2.148-.732-2.148-1.914 0-2.451 3.417-1.797 4.423-3.427v-.185c0-1.25-.488-1.445-1.035-1.445-1.524 0-.83 1.631-2.226 1.631-.673 0-.937-.371-.937-.859 0-.927 1.093-1.67 3.173-1.67 1.963 0 3.163.537 3.163 2.49v3.114q-.02.742.595.742a1 1 0 0 0 .449-.127l.254.615c-.205.312-.752.869-1.836.869-.908 0-1.465-.42-1.543-1.113h-.01zm-68.554 2.558c-.83-1.641-1.807-3.3-3.711-3.3a2.9 2.9 0 0 0-1.093.215l-.644-1.299a5.66 5.66 0 0 1 3.662-1.211c2.548 0 3.857 1.231 4.892 2.792q.917-2.012.908-5.38c0-5.585-1.748-8.417-5.829-8.417-4.033 0-5.76 2.87-5.76 8.417s1.738 8.397 5.76 8.397a5.9 5.9 0 0 0 1.748-.224zm.996 1.953a9.8 9.8 0 0 1-2.744.371C5.614 21.041.371 16.764.371 10.545.371 4.277 5.614 0 10.965 0c5.448 0 10.642 4.248 10.642 10.545a10.25 10.25 0 0 1-4.013 8.201c.732 1.152 1.563 1.914 2.665 1.914 1.201 0 1.689-.927 1.768-1.66h1.572c.088.966-.4 4.999-4.775 4.999-2.646 0-4.052-1.543-5.106-3.339z"})))},{name:"reddit",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M22 11.816a2.28 2.28 0 0 0-2.277-2.277c-.593 0-1.122.24-1.526.614-1.481-.965-3.455-1.594-5.647-1.69l1.171-3.702 3.18.748a1.88 1.88 0 0 0 1.876 1.862 1.88 1.88 0 0 0 1.877-1.878 1.88 1.88 0 0 0-1.877-1.877c-.769 0-1.431.466-1.72 1.13l-3.508-.826a.386.386 0 0 0-.46.261l-1.35 4.268c-2.316.038-4.411.67-5.97 1.671a2.24 2.24 0 0 0-1.492-.581A2.28 2.28 0 0 0 2 11.816c0 .814.433 1.523 1.078 1.925a4 4 0 0 0-.061.672c0 3.292 4.011 5.97 8.941 5.97s8.941-2.678 8.941-5.97q-.002-.32-.053-.632A2.26 2.26 0 0 0 22 11.816m-3.224-7.422a1.1 1.1 0 1 1-.001 2.199 1.1 1.1 0 0 1 .001-2.199M2.777 11.816c0-.827.672-1.5 1.499-1.5.313 0 .598.103.838.269-.851.676-1.477 1.479-1.812 2.36a1.48 1.48 0 0 1-.525-1.129m9.182 7.79c-4.501 0-8.164-2.329-8.164-5.193S7.457 9.22 11.959 9.22s8.164 2.329 8.164 5.193-3.663 5.193-8.164 5.193m8.677-6.605c-.326-.89-.948-1.701-1.797-2.384.248-.186.55-.301.883-.301.827 0 1.5.673 1.5 1.5.001.483-.23.911-.586 1.185m-11.64 1.703c-.76 0-1.397-.616-1.397-1.376s.637-1.397 1.397-1.397 1.376.637 1.376 1.397-.616 1.376-1.376 1.376m7.405-1.376c0 .76-.616 1.376-1.376 1.376s-1.399-.616-1.399-1.376.639-1.397 1.399-1.397 1.376.637 1.376 1.397m-1.172 3.38a.39.39 0 0 1 0 .55c-.674.674-1.727 1.002-3.219 1.002l-.011-.002-.011.002c-1.492 0-2.544-.328-3.218-1.002a.389.389 0 1 1 .55-.55c.521.521 1.394.775 2.669.775l.011.002.011-.002c1.275 0 2.148-.253 2.669-.775a.387.387 0 0 1 .549 0"})))},{name:"share",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M18 16c-.788 0-1.499.31-2.034.807L8.91 12.7c.05-.23.09-.46.09-.7s-.04-.47-.09-.7l7.05-4.11c.54.5 1.25.81 2.04.81 1.66 0 3-1.34 3-3s-1.34-3-3-3-3 1.34-3 3c0 .24.04.47.09.7L8.04 9.81C7.5 9.31 6.79 9 6 9c-1.66 0-3 1.34-3 3s1.34 3 3 3c.79 0 1.5-.31 2.04-.81l7.048 4.118A3 3 0 0 0 15 19a3 3 0 1 0 3-3"})))},{name:"skype",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"m10.113 2.699.1-.02q.05.025.098.051zM2.72 10.223l-.017.103q.025.048.051.095zm18.555 3.548q.009-.053.018-.106-.025-.047-.052-.095zm-7.712 7.428q.049.027.096.053l.105-.017zM22 16.386a5.55 5.55 0 0 1-1.637 3.953 5.55 5.55 0 0 1-3.953 1.637 5.6 5.6 0 0 1-2.75-.725l.105-.017-.202-.035q.049.027.096.053a9.5 9.5 0 0 1-1.654.147 9.4 9.4 0 0 1-3.676-.743 9.4 9.4 0 0 1-3.002-2.023 9.4 9.4 0 0 1-2.023-3.002 9.4 9.4 0 0 1-.743-3.676c0-.546.049-1.093.142-1.628q.025.048.051.095l-.034-.199-.017.103A5.6 5.6 0 0 1 2 7.615c0-1.493.582-2.898 1.637-3.953A5.56 5.56 0 0 1 7.59 2.024c.915 0 1.818.228 2.622.655l-.1.02.199.031q-.049-.026-.098-.051l.004-.001a9.5 9.5 0 0 1 1.788-.169 9.41 9.41 0 0 1 6.678 2.766 9.4 9.4 0 0 1 2.024 3.002 9.4 9.4 0 0 1 .743 3.676c0 .575-.054 1.15-.157 1.712q-.025-.047-.052-.095l.034.201q.009-.053.018-.106c.461.829.707 1.767.707 2.721m-5.183-2.248c0-1.331-.613-2.743-3.033-3.282l-2.209-.49c-.84-.192-1.807-.444-1.807-1.237s.679-1.348 1.903-1.348c2.468 0 2.243 1.696 3.468 1.696.645 0 1.209-.379 1.209-1.031 0-1.521-2.435-2.663-4.5-2.663-2.242 0-4.63.952-4.63 3.488 0 1.221.436 2.521 2.839 3.123l2.984.745c.903.223 1.129.731 1.129 1.189 0 .762-.758 1.507-2.129 1.507-2.679 0-2.307-2.062-3.743-2.062-.645 0-1.113.444-1.113 1.078 0 1.236 1.501 2.886 4.856 2.886 3.195 0 4.776-1.538 4.776-3.599"})))},{name:"sms",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M17.696 4C20.069 4 22 5.973 22 8.398v4.357c0 2.04-1.368 3.783-3.261 4.266v4.427l-5.234-4.295h-7.2C3.93 17.153 2 15.18 2 12.755V8.398C2 5.973 3.931 4 6.304 4zM7.028 8.515c-.98 0-1.66.562-1.66 1.349-.009.497.322.91.985 1.178l.39.142c.242.097.305.171.305.297 0 .162-.131.251-.442.251s-.76-.135-1.004-.284l-.112.046-.215.868c.359.258.832.364 1.33.364 1.104 0 1.764-.523 1.764-1.333-.008-.574-.305-.956-.954-1.216l-.393-.146c-.266-.108-.341-.181-.341-.287 0-.152.131-.243.387-.243.274 0 .587.093.808.214l.109-.047.214-.837c-.315-.224-.741-.316-1.171-.316m10.302 0c-.98 0-1.66.562-1.66 1.349-.008.497.322.91.985 1.178l.39.142c.243.097.305.171.305.297 0 .162-.13.251-.442.251-.311 0-.76-.135-1.004-.284l-.112.046-.215.868c.359.258.832.364 1.33.364 1.104 0 1.764-.523 1.764-1.333-.008-.574-.305-.956-.954-1.216l-.393-.146c-.266-.108-.341-.181-.341-.287 0-.152.131-.243.387-.243.274 0 .587.093.808.214l.109-.047.214-.837c-.316-.224-.741-.316-1.171-.316m-3.733 0c-.297 0-.55.066-.78.202l-.144.098a2 2 0 0 0-.264.247l-.078.095-.027-.077c-.15-.34-.55-.565-1.033-.565l-.169.007a1.36 1.36 0 0 0-.896.42l-.08.09-.038-.363-.075-.067H8.994l-.075.079.024.634c.005.2.008.397.008.604v2.652l.075.075h1.178l.075-.075v-2.269q-.002-.168.042-.274c.083-.23.262-.392.496-.392.314 0 .483.267.483.753v2.182l.075.075h1.179l.075-.075v-2.277c0-.097.016-.213.043-.285.077-.224.26-.373.486-.373.33 0 .5.272.5.817v2.118l.074.075h1.179l.075-.075v-2.293c0-1.131-.537-1.763-1.39-1.763Z"})))},{name:"snapchat",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M11.989 1.728c3.221.001 5.904 2.683 5.908 5.912q.002 1.133.067 2.094a.737.737 0 0 0 .902.669l1.009-.237a.6.6 0 0 1 .129-.015c.256 0 .492.175.55.434a.74.74 0 0 1-.479.861l-1.532.618a.823.823 0 0 0-.485.98c1.229 4.543 4.661 4.071 4.661 4.662 0 .743-2.587.848-2.821 1.082s-.01 1.368-.532 1.588a1.1 1.1 0 0 1-.409.056c-.393 0-.95-.077-1.536-.077-.509 0-1.04.058-1.507.273-1.239.572-2.433 1.641-3.914 1.641S9.325 21.2 8.086 20.628c-.467-.216-.998-.273-1.507-.273-.586 0-1.143.077-1.536.077-.17 0-.31-.014-.409-.056-.522-.22-.299-1.354-.532-1.588s-2.821-.337-2.821-1.08c0-.592 3.432-.119 4.661-4.662a.824.824 0 0 0-.486-.98l-1.532-.618a.74.74 0 0 1-.479-.861.56.56 0 0 1 .679-.419l1.009.237q.086.02.169.02a.737.737 0 0 0 .733-.689q.065-.961.067-2.094c.004-3.229 2.666-5.91 5.887-5.912m0-1.281c-.961 0-1.898.194-2.784.574A7.2 7.2 0 0 0 6.93 2.572a7.2 7.2 0 0 0-1.539 2.282A7.1 7.1 0 0 0 4.82 7.64a33 33 0 0 1-.029 1.369l-.375-.088a2 2 0 0 0-.421-.049 1.86 1.86 0 0 0-1.135.389 1.84 1.84 0 0 0-.666 1.049 2.024 2.024 0 0 0 1.271 2.335l1.124.454c-.744 2.285-2.117 2.723-3.041 3.018a5 5 0 0 0-.659.246C.087 16.76 0 17.436 0 17.708c0 .521.247.996.694 1.339.223.17.499.311.844.43.47.162 1.016.265 1.459.347.021.164.053.341.106.518.22.738.684 1.069 1.034 1.217.332.14.676.156.905.156.224 0 .462-.018.713-.036.269-.02.548-.041.823-.041.426 0 .743.051.97.155.311.144.64.337.989.542.972.571 2.073 1.217 3.462 1.217s2.49-.647 3.462-1.217c.349-.205.679-.399.989-.542.226-.105.544-.155.97-.155.275 0 .554.021.823.041.251.019.488.036.713.036.229 0 .573-.016.905-.156.35-.147.814-.478 1.034-1.217.053-.178.084-.354.106-.518.443-.082.989-.185 1.459-.347.345-.119.621-.259.844-.43.448-.342.694-.818.694-1.339 0-.272-.087-.948-.891-1.347a5 5 0 0 0-.659-.246c-.924-.295-2.297-.733-3.041-3.018l1.124-.454a2.025 2.025 0 0 0 1.271-2.335 1.83 1.83 0 0 0-.666-1.049 1.86 1.86 0 0 0-1.556-.34l-.375.088a33 33 0 0 1-.029-1.369 7.1 7.1 0 0 0-.575-2.789c-.365-.853-.886-1.62-1.547-2.282s-1.428-1.182-2.28-1.547a7.1 7.1 0 0 0-2.786-.574"})))},{name:"soundcloud",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M23.587 13.923a3.303 3.303 0 0 1-3.344 3.117h-8.037a.674.674 0 0 1-.667-.67V7.717a.74.74 0 0 1 .444-.705s.739-.512 2.296-.512a5.27 5.27 0 0 1 2.702.742 5.35 5.35 0 0 1 2.516 3.485 3.1 3.1 0 0 1 .852-.116 3.217 3.217 0 0 1 3.237 3.312m-13.05-5.659c.242 2.935.419 5.612 0 8.538a.261.261 0 0 1-.519 0c-.39-2.901-.221-5.628 0-8.538a.26.26 0 0 1 .398-.25.26.26 0 0 1 .12.25zm-1.627 8.541a.273.273 0 0 1-.541 0 32.7 32.7 0 0 1 0-7.533.274.274 0 0 1 .544 0 29.4 29.4 0 0 1-.003 7.533m-1.63-7.788c.264 2.69.384 5.099-.003 7.782a.262.262 0 0 1-.522 0c-.374-2.649-.249-5.127 0-7.782a.264.264 0 0 1 .525 0m-1.631 7.792a.268.268 0 0 1-.532 0 27.6 27.6 0 0 1 0-7.034.27.27 0 1 1 .541 0 25.8 25.8 0 0 1-.01 7.034zm-1.63-5.276c.412 1.824.227 3.435-.015 5.294a.255.255 0 0 1-.504 0c-.22-1.834-.402-3.482-.015-5.295a.268.268 0 0 1 .535 0m-1.626-.277c.378 1.869.254 3.451-.01 5.325-.031.277-.506.28-.531 0-.239-1.846-.352-3.476-.01-5.325a.277.277 0 0 1 .551 0m-1.643.907c.396 1.239.261 2.246-.016 3.517a.258.258 0 0 1-.514 0c-.239-1.246-.336-2.274-.021-3.517a.276.276 0 0 1 .55 0z"})))},{name:"spotify",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2m4.586 14.424a.62.62 0 0 1-.857.207c-2.348-1.435-5.304-1.76-8.785-.964a.622.622 0 1 1-.277-1.215c3.809-.871 7.077-.496 9.713 1.115a.623.623 0 0 1 .206.857M17.81 13.7a.78.78 0 0 1-1.072.257c-2.687-1.652-6.785-2.131-9.965-1.166A.779.779 0 1 1 6.32 11.3c3.632-1.102 8.147-.568 11.234 1.328a.78.78 0 0 1 .256 1.072m.105-2.835c-3.223-1.914-8.54-2.09-11.618-1.156a.935.935 0 1 1-.542-1.79c3.532-1.072 9.404-.865 13.115 1.338a.936.936 0 1 1-.955 1.608"})))},{name:"squarespace",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M20.87 9.271a3.86 3.86 0 0 0-5.458 0l-6.141 6.141a.964.964 0 1 0 1.365 1.364l6.14-6.14a1.929 1.929 0 1 1 2.729 2.729l-6.022 6.022a1.93 1.93 0 0 0 2.729 0l4.658-4.658a3.86 3.86 0 0 0 0-5.458m-2.047 2.047a.965.965 0 0 0-1.365 0l-6.14 6.14a1.93 1.93 0 0 1-2.729 0 .964.964 0 1 0-1.364 1.364 3.86 3.86 0 0 0 5.458 0l6.14-6.14a.966.966 0 0 0 0-1.364m-2.047-6.141a3.86 3.86 0 0 0-5.458 0l-6.14 6.14a.964.964 0 1 0 1.364 1.364l6.141-6.14a1.93 1.93 0 0 1 2.729 0 .965.965 0 1 0 1.364-1.364m-2.047 2.047a.964.964 0 0 0-1.364 0l-6.14 6.141a1.929 1.929 0 1 1-2.729-2.729l6.022-6.022a1.93 1.93 0 0 0-2.729 0L3.13 9.271a3.86 3.86 0 0 0 5.458 5.458l6.14-6.141a.963.963 0 0 0 .001-1.364"})))},{name:"stackexchange",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M4 11.606h16v3.272H4zM4 7.377h16v3.272H4zM17.514 3H6.55C5.147 3 4 4.169 4 5.614v.848h16v-.85C20 4.167 18.895 3 17.514 3M4 15.813v.85c0 1.445 1.147 2.614 2.55 2.614h6.799v3.463l3.357-3.463h.744c1.402 0 2.55-1.169 2.55-2.614v-.85z"})))},{name:"stackoverflow",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M18.18 20.103V14.78h1.767v7.09H4v-7.09h1.767v5.323z"}),React.createElement("path",{d:"m7.717 14.275 8.673 1.813.367-1.744-8.673-1.813zm1.147-4.13 8.031 3.74.734-1.606-8.031-3.763zm2.226-3.946 6.815 5.667 1.124-1.354-6.815-5.667zM15.495 2l-1.423 1.055 5.277 7.113 1.423-1.055zM7.533 18.314h8.857v-1.767H7.533z"})))},{name:"stumbleupon",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12 4.294a4.47 4.47 0 0 0-4.471 4.471v6.353a1.059 1.059 0 1 1-2.118 0v-2.824H2v2.941a4.471 4.471 0 0 0 8.942 0v-6.47a1.059 1.059 0 1 1 2.118 0v1.294l1.412.647 2-.647V8.765A4.473 4.473 0 0 0 12 4.294m1.059 8.059v2.882a4.471 4.471 0 0 0 8.941 0v-2.824h-3.412v2.824a1.059 1.059 0 1 1-2.118 0v-2.882l-2 .647z"})))},{name:"substack",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M19.904 9.182H4.095V7.054h15.81v2.127M4.095 11.109V21L12 16.583 19.905 21v-9.891zM19.905 3H4.095v2.127h15.81z"})))},{name:"telegram",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2m3.08 14.757s-.25.625-.936.325l-2.541-1.949-1.63 1.486s-.127.096-.266.036c0 0-.12-.011-.27-.486s-.911-2.972-.911-2.972L6 12.349s-.387-.137-.425-.438c-.037-.3.437-.462.437-.462l10.03-3.934s.824-.362.824.238z"})))},{name:"threads",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 192 192"},React.createElement("g",null,React.createElement("path",{d:"M141.537 88.988a67 67 0 0 0-2.518-1.143c-1.482-27.307-16.403-42.94-41.457-43.1h-.34c-14.986 0-27.449 6.396-35.12 18.036l13.779 9.452c5.73-8.695 14.724-10.548 21.348-10.548h.229c8.249.053 14.474 2.452 18.503 7.129 2.932 3.405 4.893 8.111 5.864 14.05-7.314-1.243-15.224-1.626-23.68-1.14-23.82 1.371-39.134 15.264-38.105 34.568.522 9.792 5.4 18.216 13.735 23.719 7.047 4.652 16.124 6.927 25.557 6.412 12.458-.683 22.231-5.436 29.049-14.127 5.178-6.6 8.453-15.153 9.899-25.93 5.937 3.583 10.337 8.298 12.767 13.966 4.132 9.635 4.373 25.468-8.546 38.376-11.319 11.308-24.925 16.2-45.488 16.351-22.809-.169-40.06-7.484-51.275-21.742C35.236 139.966 29.808 120.682 29.605 96c.203-24.682 5.63-43.966 16.133-57.317C56.954 24.425 74.204 17.11 97.013 16.94c22.975.17 40.526 7.52 52.171 21.847 5.71 7.026 10.015 15.86 12.853 26.162l16.147-4.308c-3.44-12.68-8.853-23.606-16.219-32.668C147.036 9.607 125.202.195 97.07 0h-.113C68.882.194 47.292 9.642 32.788 28.08 19.882 44.485 13.224 67.315 13.001 95.932L13 96v.067c.224 28.617 6.882 51.447 19.788 67.854C47.292 182.358 68.882 191.806 96.957 192h.113c24.96-.173 42.554-6.708 57.048-21.189 18.963-18.945 18.392-42.692 12.142-57.27-4.484-10.454-13.033-18.945-24.723-24.553M98.44 129.507c-10.44.588-21.286-4.098-21.82-14.135-.397-7.442 5.296-15.746 22.461-16.735q2.948-.17 5.79-.169c6.235 0 12.068.606 17.371 1.765-1.978 24.702-13.58 28.713-23.802 29.274"})))},{name:"tiktok-alt",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M5 3a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2zm7.531 3h2.053s-.114 2.635 2.85 2.82v2.04s-1.582.099-2.85-.87l.021 4.207a3.804 3.804 0 1 1-3.802-3.802h.533v2.082a1.73 1.73 0 0 0-1.922.648 1.727 1.727 0 0 0 1.947 2.646 1.73 1.73 0 0 0 1.19-1.642z"})))},{name:"tiktok",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12.22 2h3.42s-.19 4.394 4.75 4.702v3.396s-2.636.166-4.75-1.448l.037 7.012a6.338 6.338 0 1 1-6.34-6.339h.89v3.472a2.882 2.882 0 1 0 2.024 2.752z"})))},{name:"tripadvisor",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M21.01 9.859c.236-1.002.985-2.003.985-2.003l-3.341-.002C16.779 6.643 14.502 6 11.979 6 9.363 6 7 6.659 5.135 7.877L2 7.88s.74.988.98 1.983a4.98 4.98 0 0 0-.977 2.961 5.01 5.01 0 0 0 5.009 5.003 5 5 0 0 0 3.904-1.875l1.065 1.592 1.076-1.606a4.96 4.96 0 0 0 1.838 1.448 4.98 4.98 0 0 0 3.831.151 5.01 5.01 0 0 0 2.963-6.431 5 5 0 0 0-.679-1.247m-13.998 6.96a4 4 0 0 1-3.998-3.995 4 4 0 0 1 3.998-3.997 4 4 0 0 1 3.996 3.997 4 4 0 0 1-3.996 3.995m4.987-4.36A5.007 5.007 0 0 0 7.11 7.821c1.434-.613 3.081-.947 4.867-.947 1.798 0 3.421.324 4.853.966a4.984 4.984 0 0 0-4.831 4.619m6.288 4.134a3.97 3.97 0 0 1-3.058-.122 3.96 3.96 0 0 1-2.075-2.245v-.001a3.97 3.97 0 0 1 .118-3.056 3.97 3.97 0 0 1 2.246-2.077 4.005 4.005 0 0 1 5.135 2.366 4.006 4.006 0 0 1-2.366 5.135"}),React.createElement("path",{d:"M6.949 10.307a2.477 2.477 0 0 0-2.475 2.472 2.48 2.48 0 0 0 2.475 2.474 2.474 2.474 0 0 0 0-4.946m0 4.094a1.626 1.626 0 0 1-1.624-1.623 1.621 1.621 0 1 1 1.624 1.623M16.981 10.307a2.477 2.477 0 0 0-2.474 2.472 2.48 2.48 0 0 0 2.474 2.474 2.476 2.476 0 0 0 2.472-2.474 2.475 2.475 0 0 0-2.472-2.472m0 4.094a1.625 1.625 0 0 1-1.622-1.623 1.622 1.622 0 1 1 1.622 1.623"}),React.createElement("path",{d:"M7.778 12.778a.832.832 0 1 1-1.664.002.832.832 0 0 1 1.664-.002M16.981 11.947a.832.832 0 1 0 .002 1.666.832.832 0 0 0-.002-1.666"})))},{name:"tumblr-alt",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M16.749 17.396c-.357.17-1.041.319-1.551.332-1.539.041-1.837-1.081-1.85-1.896V9.847h3.861v-2.91h-3.847V2.039h-2.817c-.046 0-.127.041-.138.144-.165 1.499-.867 4.13-3.783 5.181v2.484h1.945v6.282c0 2.151 1.587 5.206 5.775 5.135 1.413-.024 2.982-.616 3.329-1.126z"})))},{name:"tumblr",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M19 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2m-5.569 14.265c-2.446.042-3.372-1.742-3.372-2.998v-3.668H8.923v-1.45c1.703-.614 2.113-2.15 2.209-3.025.007-.06.054-.084.081-.084h1.645V8.9h2.246v1.7H12.85v3.495c.008.476.182 1.131 1.081 1.107.298-.008.697-.094.906-.194l.54 1.601c-.205.296-1.121.641-1.946.656"})))},{name:"twitch",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M16.499 8.089h-1.636v4.91h1.636zm-4.499 0h-1.637v4.91H12zM4.228 3.178 3 6.451v13.092h4.499V22h2.456l2.454-2.456h3.681L21 14.636V3.178zm15.136 10.638L16.5 16.681H12l-2.453 2.453V16.68H5.863V4.814h13.501z"})))},{name:"twitter-alt",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M22.23 5.924a8.2 8.2 0 0 1-2.357.646 4.12 4.12 0 0 0 1.804-2.27 8.2 8.2 0 0 1-2.606.996 4.103 4.103 0 0 0-6.991 3.742 11.65 11.65 0 0 1-8.457-4.287 4.1 4.1 0 0 0-.556 2.063 4.1 4.1 0 0 0 1.825 3.415 4.1 4.1 0 0 1-1.859-.513v.052a4.104 4.104 0 0 0 3.292 4.023 4.1 4.1 0 0 1-1.853.07 4.11 4.11 0 0 0 3.833 2.85 8.24 8.24 0 0 1-5.096 1.756 8 8 0 0 1-.979-.057 11.6 11.6 0 0 0 6.29 1.843c7.547 0 11.675-6.252 11.675-11.675q0-.267-.012-.531a8.3 8.3 0 0 0 2.047-2.123"})))},{name:"twitter",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M19 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2m-2.534 6.71q.007.148.007.298c0 3.045-2.318 6.556-6.556 6.556a6.5 6.5 0 0 1-3.532-1.035q.27.032.55.032a4.63 4.63 0 0 0 2.862-.986 2.31 2.31 0 0 1-2.152-1.6 2.3 2.3 0 0 0 1.04-.04 2.306 2.306 0 0 1-1.848-2.259v-.029c.311.173.666.276 1.044.288a2.303 2.303 0 0 1-.713-3.076 6.54 6.54 0 0 0 4.749 2.407 2.305 2.305 0 0 1 3.926-2.101 4.6 4.6 0 0 0 1.463-.559 2.3 2.3 0 0 1-1.013 1.275c.466-.056.91-.18 1.323-.363-.31.461-.7.867-1.15 1.192"})))},{name:"untappd",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"m11 13.299-5.824 8.133c-.298.416-.8.635-1.308.572-.578-.072-1.374-.289-2.195-.879S.392 19.849.139 19.323a1.4 1.4 0 0 1 .122-1.425l5.824-8.133a3.1 3.1 0 0 1 1.062-.927l1.146-.604c.23-.121.436-.283.608-.478.556-.631 2.049-2.284 4.696-4.957l.046-.212a.13.13 0 0 1 .096-.1l.146-.037a.135.135 0 0 0 .101-.141l-.015-.18a.13.13 0 0 1 .125-.142c.176-.005.518.046 1.001.393s.64.656.692.824a.13.13 0 0 1-.095.164l-.175.044a.13.13 0 0 0-.101.141l.012.15a.13.13 0 0 1-.063.123l-.186.112c-1.679 3.369-2.764 5.316-3.183 6.046a2.2 2.2 0 0 0-.257.73l-.205 1.281A3.1 3.1 0 0 1 11 13.3zm12.739 4.598-5.824-8.133a3.1 3.1 0 0 0-1.062-.927l-1.146-.605a2.1 2.1 0 0 1-.608-.478 51 51 0 0 0-.587-.654.09.09 0 0 0-.142.018 97 97 0 0 1-1.745 3.223 1.4 1.4 0 0 0-.171.485 3.5 3.5 0 0 0 0 1.103l.01.064c.075.471.259.918.536 1.305l5.824 8.133c.296.413.79.635 1.294.574a4.76 4.76 0 0 0 2.209-.881 4.76 4.76 0 0 0 1.533-1.802 1.4 1.4 0 0 0-.122-1.425zM8.306 3.366l.175.044a.134.134 0 0 1 .101.141l-.012.15a.13.13 0 0 0 .063.123l.186.112q.465.933.869 1.721c.026.051.091.06.129.019q.655-.703 1.585-1.668a.137.137 0 0 0 .003-.19c-.315-.322-.645-.659-1.002-1.02l-.046-.212a.13.13 0 0 0-.096-.099l-.146-.037a.135.135 0 0 1-.101-.141l.015-.18a.13.13 0 0 0-.123-.142c-.175-.005-.518.045-1.002.393-.483.347-.64.656-.692.824a.13.13 0 0 0 .095.164z"})))},{name:"vimeo",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M22.396 7.164q-.139 3.039-4.245 8.32Q13.907 21 10.97 21q-1.82 0-3.079-3.359l-1.68-6.159q-.934-3.36-2.005-3.36-.234.001-1.634.98l-.978-1.261q1.541-1.353 3.037-2.708 2.056-1.774 3.084-1.869 2.429-.234 2.99 3.321.607 3.836.841 4.769.7 3.181 1.542 3.181.653 0 1.963-2.065 1.307-2.063 1.401-3.142.187-1.781-1.401-1.782-.747.001-1.541.341 1.534-5.024 5.862-4.884 3.21.095 3.024 4.161"})))},{name:"vk",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{fillRule:"evenodd",d:"M1.687 1.687C0 3.374 0 6.09 0 11.52v.96c0 5.431 0 8.146 1.687 9.833S6.09 24 11.52 24h.96c5.431 0 8.146 0 9.833-1.687S24 17.91 24 12.48v-.96c0-5.431 0-8.146-1.687-9.833S17.91 0 12.48 0h-.96C6.09 0 3.374 0 1.687 1.687M4.05 7.3c.13 6.24 3.25 9.99 8.72 9.99h.31v-3.57c2.01.2 3.53 1.67 4.14 3.57h2.84c-.78-2.84-2.83-4.41-4.11-5.01 1.28-.74 3.08-2.54 3.51-4.98h-2.58c-.56 1.98-2.22 3.78-3.8 3.95V7.3H10.5v6.92c-1.6-.4-3.62-2.34-3.71-6.92z"})))},{name:"whatsapp",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"m2.048 22 1.406-5.136a9.9 9.9 0 0 1-1.323-4.955C2.133 6.446 6.579 2 12.042 2a9.85 9.85 0 0 1 7.011 2.906 9.85 9.85 0 0 1 2.9 7.011c-.002 5.464-4.448 9.91-9.91 9.91h-.004a9.9 9.9 0 0 1-4.736-1.206zm5.497-3.172.301.179a8.2 8.2 0 0 0 4.193 1.148h.003c4.54 0 8.235-3.695 8.237-8.237a8.2 8.2 0 0 0-2.41-5.828 8.18 8.18 0 0 0-5.824-2.416c-4.544 0-8.239 3.695-8.241 8.237a8.2 8.2 0 0 0 1.259 4.384l.196.312-.832 3.04zm9.49-4.554c-.062-.103-.227-.165-.475-.289s-1.465-.723-1.692-.806-.392-.124-.557.124-.64.806-.784.971-.289.186-.536.062-1.046-.385-1.991-1.229c-.736-.657-1.233-1.468-1.378-1.715s-.015-.382.109-.505c.111-.111.248-.289.371-.434.124-.145.165-.248.248-.413s.041-.31-.021-.434-.557-1.343-.763-1.839c-.202-.483-.407-.417-.559-.425-.144-.007-.31-.009-.475-.009a.9.9 0 0 0-.66.31c-.226.248-.866.847-.866 2.066s.887 2.396 1.011 2.562 1.746 2.666 4.23 3.739c.591.255 1.052.408 1.412.522.593.189 1.133.162 1.56.098.476-.071 1.465-.599 1.671-1.177.206-.58.206-1.075.145-1.179"})))},{name:"woocommerce",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M19 2H5C3.3 2 2 3.3 2 5v11c0 1.7 1.3 3 3 3h4l6 3-1-3h5c1.7 0 3-1.3 3-3V5c0-1.7-1.3-3-3-3m-1.6 4.5c-.4.8-.8 2.1-1 3.9-.3 1.8-.4 3.1-.3 4.1 0 .3 0 .5-.1.7s-.3.4-.6.4-.6-.1-.9-.4c-1-1-1.8-2.6-2.4-4.6-.7 1.4-1.2 2.4-1.6 3.1-.6 1.2-1.2 1.8-1.6 1.9-.3 0-.5-.2-.8-.7-.5-1.4-1.1-4.2-1.7-8.2 0-.3 0-.5.2-.7.1-.2.4-.3.7-.4.5 0 .9.2.9.8.3 2.3.7 4.2 1.1 5.7l2.4-4.5c.2-.4.4-.6.8-.6q.75 0 .9.9c.3 1.4.6 2.6 1 3.7.3-2.7.8-4.7 1.4-5.9.2-.3.4-.5.7-.5.2 0 .5.1.7.2q.3.3.3.6c0 .3 0 .4-.1.5"})))},{name:"wordpress",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12.158 12.786 9.46 20.625a9 9 0 0 0 5.526-.144 1 1 0 0 1-.065-.124zM3.009 12a8.99 8.99 0 0 0 5.067 8.092L3.788 8.341A8.95 8.95 0 0 0 3.009 12m15.06-.454c0-1.112-.399-1.881-.741-2.48-.456-.741-.883-1.368-.883-2.109 0-.826.627-1.596 1.51-1.596q.06.002.116.007A8.96 8.96 0 0 0 12 3.009a8.98 8.98 0 0 0-7.512 4.052c.211.007.41.011.579.011.94 0 2.396-.114 2.396-.114.484-.028.541.684.057.741 0 0-.487.057-1.029.085l3.274 9.739 1.968-5.901-1.401-3.838c-.484-.028-.943-.085-.943-.085-.485-.029-.428-.769.057-.741 0 0 1.484.114 2.368.114.94 0 2.397-.114 2.397-.114.485-.028.542.684.057.741 0 0-.488.057-1.029.085l3.249 9.665.897-2.996q.684-1.753.684-2.907m1.82-3.86q.06.428.06.924c0 .912-.171 1.938-.684 3.22l-2.746 7.94a8.98 8.98 0 0 0 4.47-7.771 8.9 8.9 0 0 0-1.1-4.313M12 22C6.486 22 2 17.514 2 12S6.486 2 12 2s10 4.486 10 10-4.486 10-10 10"})))},{name:"x",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M13.982 10.622 20.54 3h-1.554l-5.693 6.618L8.745 3H3.5l6.876 10.007L3.5 21h1.554l6.012-6.989L15.868 21h5.245zm-2.128 2.474-.697-.997-5.543-7.93H8l4.474 6.4.697.996 5.815 8.318h-2.387z"})))},{name:"xanga",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M9 9h6v6H9zM3 9h6V3H3zm12 0h6V3h-6zm0 12h6v-6h-6zM3 21h6v-6H3z"})))},{name:"youtube",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M21.8 8.001s-.195-1.378-.795-1.985c-.76-.797-1.613-.801-2.004-.847-2.799-.202-6.997-.202-6.997-.202h-.009s-4.198 0-6.997.202c-.39.047-1.242.051-2.003.847-.6.607-.795 1.985-.795 1.985S2 9.62 2 11.238v1.517c0 1.618.2 3.237.2 3.237s.195 1.378.795 1.985c.761.797 1.76.771 2.205.855 1.6.153 6.8.201 6.8.201s4.203-.006 7.001-.209c.391-.047 1.243-.051 2.004-.847.6-.607.795-1.985.795-1.985s.2-1.618.2-3.237v-1.517c0-1.618-.2-3.237-.2-3.237M9.935 14.594l-.001-5.62 5.404 2.82z"})))}]},58992:(e,t,a)=>{"use strict";a.d(t,{d:()=>p});var s=a(73691),n=a.n(s),i=a(28120),r=a.n(i),o=a(51609),c=a.n(o),l=a(91135);class p extends o.PureComponent{static defaultProps={size:24};static propTypes={icon:r().string.isRequired,size:r().number,onClick:r().func,className:r().string};render(){const{size:e,onClick:t,icon:a,className:s,...i}=this.props,r=["social-logo","social-logo-"+a,s].filter(Boolean).join(" "),o=l.$.find((e=>e.name===a));if(!o)return c().createElement("svg",n()({height:e,width:e},i));return c().cloneElement(o.svg,{className:r,height:e,width:e,onClick:t,...i})}}},94900:(e,t,a)=>{"use strict";a.d(t,{A:()=>m});var s=a(73691),n=a.n(s),i=a(3924),r=a(39384),o=a(56427),c=a(27723),l=a(51113),p=a(53512),d=a(41282),u=a(40877);const __=c.__,m=e=>{const{title:t}=e;return React.createElement(r.ConnectScreen,n()({buttonLabel:__("Connect your user account","jetpack"),loadingLabel:__("Connecting your account…","jetpack"),images:[d],from:"my-jetpack"},e,{title:t||__("Unlock all the amazing features of Jetpack by connecting now","jetpack")}),React.createElement("ul",{role:"list"},React.createElement("li",null,__("Receive instant downtime alerts","jetpack")),React.createElement("li",null,__("Automatically share your content on social media","jetpack")),React.createElement("li",null,__("Let your subscribers know when you post","jetpack")),React.createElement("li",null,__("Receive notifications about new likes and comments","jetpack")),React.createElement("li",null,__("Let visitors share your content on social media","jetpack")),React.createElement("li",null,__("Create better content with powerful AI tools","jetpack")),React.createElement("li",null,__("And more!","jetpack")," ",React.createElement("a",{href:(0,i.A)("jetpack-features"),target:"_blank",className:u.A["all-features"],rel:"noreferrer"},__("See all Jetpack features","jetpack"),React.createElement(l.A,{icon:p.A}),React.createElement(o.VisuallyHidden,{as:"span"},/* translators: accessibility text */ __("(opens in a new tab)","jetpack"))))))}},25444:(e,t,a)=>{"use strict";a.d(t,{A:()=>k});var s=a(3924),n=a(27723),i=a(13022),r=a(5739),o=a.n(r),c=a(51609),l=a.n(c),p=a(84952),d=a(26592),u=a(27326),m=a(53835),h=a(34679);const __=n.__;class g extends c.Component{static propTypes={inOfflineMode:o().bool.isRequired,siteRawUrl:o().string.isRequired};static defaultProps={inOfflineMode:!1,siteRawUrl:""};trackActivityClick=()=>{m.A.tracks.recordJetpackClick({type:"activity-link",target:"at-a-glance",feature:"activity-log"})};render(){const{inOfflineMode:e}=this.props,t=__("Jetpack keeps a complete record of everything that happens on your site, taking the guesswork out of site management, debugging, and repair.","jetpack");return l().createElement("div",{className:"jp-dash-item__interior"},l().createElement(u.A,{label:__("Activity","jetpack"),isModule:!1,className:(0,i.A)({"jp-dash-item__is-inactive":e}),pro:!1},l().createElement("p",{className:"jp-dash-item__description"},e?__("Unavailable in Offline Mode.","jetpack"):t)),l().createElement(d.A,{key:"view-activity",className:"jp-dash-item__manage-in-wpcom",compact:!0,href:(0,s.A)("calypso-activity-log",{site:this.props.siteRawUrl}),target:"_blank",rel:"noopener noreferrer",onClick:this.trackActivityClick},__("View site activity","jetpack")))}}const k=(0,p.Ng)((e=>({inOfflineMode:(0,h.hN)(e)})))(g)},96641:(e,t,a)=>{"use strict";a.d(t,{A:()=>N});var s=a(73691),n=a.n(s),i=a(5932),r=a(37975),o=a(86087),c=a(27723),l=a(66087),p=a(5739),d=a.n(p),u=a(51609),m=a(84952),h=a(70386),g=a(26592),k=a(27326),f=a(13867),v=a(5546),E=a(3983),_=a(53835),b=a(6838),y=a(83101),w=a(32819),C=a(34679),A=a(2065),j=a(82656);const __=c.__,_x=c._x;class S extends u.Component{static propTypes={siteRawUrl:d().string.isRequired,siteAdminUrl:d().string.isRequired,trackUpgradeButtonView:d().func,akismetData:d().oneOfType([d().string,d().object,d().number]).isRequired,isOfflineMode:d().bool.isRequired,upgradeUrl:d().string.isRequired};static defaultProps={siteRawUrl:"",siteAdminUrl:"",akismetData:"N/A",isOfflineMode:"",trackUpgradeButtonView:l.noop};trackActivateClick(){_.A.tracks.recordJetpackClick({type:"activate-link",target:"at-a-glance",feature:"anti-spam"})}onActivateClick=()=>(this.trackActivateClick(),this.props.createNotice("is-info",__("Activating Akismet…","jetpack"),{id:"activating-akismet"}),i.Ay.activateAkismet().then((()=>{this.props.removeNotice("activating-akismet"),window.location.href=this.props.siteAdminUrl+"admin.php?page=akismet-key-config"})).catch((()=>{this.props.removeNotice("activating-akismet"),this.props.createNotice("is-error",__("Could not activate Akismet.","jetpack"),{id:"activate-akismet-failure"})})),!1);trackModerateClick(){_.A.tracks.recordJetpackClick({type:"moderate-link",target:"at-a-glance",feature:"anti-spam"})}onModerateClick=()=>{this.trackModerateClick()};getContent(){const{akismetData:e,siteAdminUrl:t}=this.props,a=__("Akismet Anti-spam","jetpack"),s={text:__("Comments and contact form submissions are checked against our global database of spam.","jetpack"),link:this.props.isAtomicSite?null:"https://akismet.com/features",privacyLink:"https://automattic.com/privacy/"},i=()=>{let a;return"not_active"===e?a=(0,o.createInterpolateElement)(__("Already have an API key? .","jetpack"),{Button:React.createElement(h.A,{className:"jp-link-button",onClick:this.onActivateClick})}):"invalid_key"===e&&(a=(0,o.createInterpolateElement)(__("Already have an API key? Get started.","jetpack"),{a:React.createElement("a",{href:t+"admin.php?page=akismet-key-config"})})),React.createElement(E.Ay,{callToAction:_x("Upgrade","Call to action to buy a new plan","jetpack"),title:__("Automatically clear spam from comments and forms.","jetpack"),description:a,disableHref:"false",href:this.props.upgradeUrl,eventFeature:"akismet",path:"dashboard",plan:(0,b.EP8)(b.pt9),trackBannerDisplay:this.props.trackUpgradeButtonView})};if("N/A"===e)return React.createElement(k.A,{label:a,module:"akismet",support:s,pro:!0},React.createElement("p",{className:"jp-dash-item__description"},__("Loading…","jetpack")));if(["not_installed","not_active","invalid_key"].includes(e)){const e={label:a,module:"akismet",support:s,className:"jp-dash-item__is-inactive",pro:!0};return this.props.hasAntiSpam||this.props.hasAkismet?React.createElement(k.A,e,__("Your Jetpack plan provides anti-spam protection through Akismet. Click 'set up' to enable it on your site.","jetpack")):this.props.isOfflineMode?React.createElement(k.A,e,React.createElement("p",{className:"jp-dash-item__description"},__("Unavailable in Offline Mode.","jetpack"))):React.createElement(k.A,n()({},e,{overrideContent:i()}))}return[React.createElement(k.A,{key:"comment-moderation",label:a,module:"akismet",support:s,status:"is-working",pro:!0},(()=>0!==this.props.akismetData?React.createElement(React.Fragment,null,React.createElement("h2",{className:"jp-dash-item__count"},(0,r.A)(this.props.akismetData)),React.createElement("p",{className:"jp-dash-item__description"},_x("Spam comments blocked.",'Example: "412 Spam comments blocked"',"jetpack"))):React.createElement("div",{className:"jp-dash-item__recently-activated"},React.createElement("p",{className:"jp-dash-item__description"},__("Akismet is now monitoring all comments on your site. Data will display here soon!","jetpack"))))()),!this.props.isOfflineMode&&React.createElement(g.A,{key:"moderate-comments",className:"jp-dash-item__manage-in-wpcom",compact:!0,href:`${this.props.siteAdminUrl}edit-comments.php`,onClick:this.onModerateClick},__("Moderate comments","jetpack"))]}render(){return React.createElement("div",{className:"jp-dash-item__interior"},React.createElement(f.A,null),this.getContent())}}const N=(0,m.Ng)((e=>({akismetData:(0,w.PU)(e),isAtomicSite:(0,A.d9)(e),isOfflineMode:(0,C.hN)(e),upgradeUrl:(0,y.F)(e,"akismet"),nonce:(0,A.Co)(e),hasAntiSpam:(0,j.IT)(e,"antispam"),hasAkismet:(0,j.IT)(e,"akismet")})),(e=>({createNotice:v.Fc,removeNotice:v.fj,connectUser:()=>e((0,C.k0)())})))(S)},87589:(e,t,a)=>{"use strict";a.d(t,{A:()=>u});var s=a(27723),n=a(51609),i=a.n(n),r=a(84952),o=a(70386),c=a(26592),l=a(69546),p=a(53835),d=a(30138);const __=s.__,u=(0,r.Ng)((e=>({isDismissed:(0,d.Fj)(e)})),(e=>({dismiss:()=>e((0,d.Xx)({dismiss_dash_backup_getting_started:!0}))})))((({isDismissed:e,dismiss:t})=>{const a=(0,n.useCallback)((()=>{t(),p.A.tracks.recordEvent("jetpack_backup_getting_started_video_dismiss",{position:"at_a_glance"})}),[t]),s=(0,n.useCallback)((()=>{p.A.tracks.recordEvent("jetpack_backup_getting_started_video_click",{position:"at_a_glance"})}),[]);return e?null:i().createElement(c.A,{className:"dash-backup-getting-started"},i().createElement(o.A,{borderless:!0,compact:!0,className:"dash-backup-getting-started__dismiss",onClick:a},i().createElement("span",{className:"dashicons dashicons-no"})),i().createElement("a",{href:l.W_,target:"_blank",rel:"noreferrer"},i().createElement("img",{className:"dash-backup-getting-started__thumbnail",src:l.d0+"backup-getting-started-thumbnail.png",srcSet:`${l.d0+"backup-getting-started-thumbnail.png"} 1x, ${l.d0+"backup-getting-started-thumbnail-2x.png"} 2x`,alt:""})),i().createElement("div",{className:"dash-backup-getting-started__content"},i().createElement("h3",{className:"dash-backup-getting-started__header"},__("Getting started with Jetpack Backup","jetpack")),i().createElement("p",{className:"dash-backup-getting-started__text"},__("A short video guide on how to back up your website","jetpack"))),i().createElement(o.A,{className:"dash-backup-getting-started__cta",href:l.W_,onClick:s,target:"_blank",rel:"noreferrer",compact:!0,primary:!0},__("Watch the video","jetpack")))}))},20369:(e,t,a)=>{"use strict";a.d(t,{E:()=>p});var s=a(66051),n=a(27723),i=a(51609),r=a.n(i),o=a(26592),c=a(53835),l=a(72955);const __=n.__,p=({comments:e,plugins:t,posts:a,onClosePopup:n})=>{const p=(0,i.useRef)(!1);(0,i.useEffect)((()=>{p.current||(c.A.tracks.recordEvent("jetpack_wpa_aag_backup_bar_chart_view",{comments:e,plugins:t,posts:a}),p.current=!0)}),[]);const d=(0,i.useMemo)((()=>[{count:a,label:__("Posts","jetpack"),backgroundColor:"#00BA37"},{count:t,label:__("Plugins","jetpack"),backgroundColor:"#3895BA"},{count:e,label:__("Comments","jetpack"),backgroundColor:"#E68B28"}]),[e,t,a]);return r().createElement(o.A,{className:"jp-dash-upgrade-backup"},r().createElement(l.z,{posts:a,comments:e,onClosePopup:n}),r().createElement(s.A,{items:d}))}},14801:(e,t,a)=>{"use strict";a.d(t,{A:()=>l});var s=a(51609),n=a.n(s),i=a(84952),r=a(53835),o=a(32819),c=a(20369);const l=(0,i.Ng)((e=>{const t=(0,o.eF)(e)?.general?.stats;return{comments:t?.comments,plugins:Object.keys((0,o.O0)(e)).length,posts:t?.posts,isFetchingData:(0,o.rC)(e)||(0,o.Ev)(e)}}))((({comments:e,isFetchingData:t,plugins:a,posts:i})=>{const[o,l]=(0,s.useState)(!0),p=(0,s.useCallback)((()=>{const t={comments:e,plugins:a,posts:i,target:"backup_bar_chart_close",type:"dismiss"};r.A.tracks.recordJetpackClick(t),l(!1)}),[e,a,i]);return!t&&o&&i>20?n().createElement(c.E,{posts:i,comments:e,plugins:a,onClosePopup:p}):null}))},72955:(e,t,a)=>{"use strict";a.d(t,{z:()=>c});var s=a(27723),n=a(51609),i=a.n(n),r=a(70386),o=a(69546);const __=s.__,c=({posts:e,comments:t,onClosePopup:a})=>i().createElement("div",{className:"jp-dash-upgrade-backup__popup"},i().createElement(r.A,{onClick:a,className:"jp-dash-upgrade-backup__popup-close-icon",compact:!0,borderless:!0},i().createElement("img",{src:o.d0+"/close.svg",alt:__("Close","jetpack")})),i().createElement("img",{className:"jp-dash-upgrade-backup__popup-lock-icon",src:o.d0+"/lock.svg",alt:__("Locked","jetpack")}),i().createElement("p",{className:"jp-dash-upgrade-backup__popup-title"},__("Upgrade to backup","jetpack")),i().createElement("p",null,(0,s.sprintf)(/* translators: 1 number of posts, 2 number of comments */ __("Be sure your %1$d posts, %2$d comments, and more information are safely backed up with Jetpack","jetpack"),e,t)))},89514:(e,t,a)=>{"use strict";a.d(t,{A:()=>P});var s=a(3924),n=a(56427),i=a(38443),r=a(86087),o=a(27723),c=a(51113),l=a(8701),p=a(66087),d=a(5739),u=a.n(d),m=a(51609),h=a.n(m),g=a(84952),k=a(70386),f=a(26592),v=a(27326),E=a(41286),_=a(64610),b=a(3983),y=a(53835),w=a(6838),C=a(83101),A=a(32819),j=a(34679),S=a(2065),N=a(82656),x=a(77423),R=a(87589),T=a(14801);const __=o.__,_x=o._x,M=e=>h().createElement(v.A,{label:__("VaultPress Backup","jetpack"),module:e.feature||"backups",support:{text:__("VaultPress Backup allows you to easily restore or download a backup from a specific moment.","jetpack"),link:(0,s.A)("jetpack-support-backup")},className:e.className+" dash-backups",status:e.status,pro:!0,overrideContent:e.overrideContent},h().createElement("p",{className:"jp-dash-item__description"},e.content));class O extends m.Component{static propTypes={siteRawUrl:u().string.isRequired,getOptionValue:u().func.isRequired,rewindStatus:u().string.isRequired,rewindStatusReason:u().string.isRequired,trackUpgradeButtonView:u().func,vaultPressData:u().any.isRequired,hasBackups:u().bool.isRequired,hasRealTimeBackups:u().bool.isRequired,isOfflineMode:u().bool.isRequired,isVaultPressInstalled:u().bool.isRequired,isWoA:u().bool.isRequired,upgradeUrl:u().string.isRequired,hasConnectedOwner:u().bool.isRequired,backupUndoEvent:u().any.isRequired};static defaultProps={siteRawUrl:"",getOptionValue:p.noop,vaultPressData:"",isOfflineMode:!1,isVaultPressInstalled:!1,isWoA:!1,rewindStatus:"",trackUpgradeButtonView:p.noop,backupUndoEvent:{}};trackBackupsClick=(e="backups-link")=>function(){y.A.tracks.recordJetpackClick({type:e,target:"at-a-glance",feature:"backups"})};trackRedeemCouponButtonView=()=>{const{partnerCoupon:e}=this.props;y.A.tracks.recordEvent("jetpack_wpa_aag_redeem_partner_coupon_button_view",{feature:"backups",coupon_preset:e.preset})};getJetpackBackupBanner(){const{partnerCoupon:e,upgradeUrl:t,siteRawUrl:a,trackUpgradeButtonView:n}=this.props;if(this.props.hasConnectedOwner){if(e&&"jetpack_backup_daily"===e.product.slug){const t=(0,s.A)("jetpack-plugin-partner-coupon-checkout",{path:e.product.slug,site:a,query:`coupon=${e.coupon_code}`});return h().createElement(b.Ay,{callToAction:__("Redeem","jetpack"),title:(0,o.sprintf)(/* translators: %s: Name of a Jetpack product. */ __("Redeem your coupon and get started with %s for free the first year!","jetpack"),e.product.title),disableHref:"false",href:t,eventFeature:"backups",path:"dashboard",eventProps:{type:"redeem_partner_coupon",coupon_preset:e.preset},plan:(0,w.EP8)(w.gvR),trackBannerDisplay:this.trackRedeemCouponButtonView})}return h().createElement(h().Fragment,null,h().createElement(T.A,null),h().createElement(b.Ay,{callToAction:_x("Upgrade","Call to action to buy a new plan","jetpack"),title:__("Never worry about losing your site – automatic backups keep your content safe.","jetpack"),disableHref:"false",href:t,eventFeature:"backups",path:"dashboard",plan:(0,w.EP8)(w.gvR),trackBannerDisplay:n}))}return h().createElement(b.Ay,{callToAction:__("Connect","jetpack"),title:__("Connect your WordPress.com account to upgrade and get automatic backups that keep your content safe.","jetpack"),disableHref:"false",onClick:this.props.connectUser,eventFeature:"backups",path:"dashboard",plan:(0,w.EP8)(w.gvR)})}getVPContent(){const{hasBackups:e,isFetchingSite:t,isVaultPressInstalled:a,getOptionValue:n,siteRawUrl:i,vaultPressData:o}=this.props;return n("vaultpress")&&"success"===(0,p.get)(o,"code","")?M({className:"jp-dash-item__is-active",status:"is-working",content:h().createElement("span",null,(0,p.get)(o,"message","")," ",(0,r.createInterpolateElement)(__("View backup details.","jetpack"),{a:h().createElement("a",{href:(0,s.A)("vaultpress-dashboard"),target:"_blank",rel:"noopener noreferrer"})}))}):t?this.renderLoading():M(e?{className:"jp-dash-item__is-inactive",status:a?"pro-inactive":"pro-uninstalled",content:(0,r.createInterpolateElement)(__("To automatically back up your entire site, please install and activate VaultPress.","jetpack"),{a:h().createElement("a",{href:(0,s.A)("calypso-plugins-setup",{site:i,query:"only=backups"}),target:"_blank",rel:"noopener noreferrer"})})}:{className:"jp-dash-item__is-inactive",status:"no-pro-uninstalled-or-inactive",overrideContent:this.getJetpackBackupBanner()})}renderManageBackupsLinks(){const{isWoA:e,siteRawUrl:t}=this.props;return h().createElement(f.A,{compact:!0,key:"manage-backups",className:"jp-dash-item__manage-in-wpcom"},h().createElement("div",{className:"jp-dash-item__action-links"},h().createElement(n.ExternalLink,{href:e?(0,s.A)("calypso-backups",{site:t}):(0,s.A)("my-jetpack-manage-backup",{site:t}),target:"_blank",rel:"noopener noreferrer",onClick:this.trackBackupsClick("backups-link")},__("View your site's backups","jetpack")),h().createElement(n.ExternalLink,{href:(0,s.A)("calypso-activity-log",{site:t,query:"group=rewind"}),target:"_blank",rel:"noopener noreferrer",onClick:this.trackBackupsClick("restore-points-link")},__("View your most recent restore points","jetpack"))))}getRewindContent(){const{hasRealTimeBackups:e,rewindStatus:t,siteRawUrl:a,backupUndoEventLoaded:i}=this.props,o=(e,t,a)=>h().createElement(f.A,{compact:!0,key:"manage-backups",className:"jp-dash-item__manage-in-wpcom",href:e,target:"_blank",rel:"noopener noreferrer",onClick:this.trackBackupsClick(a)},t),c=e=>M({className:"jp-dash-item__is-active",status:"is-working",feature:"rewind",content:e});switch(t){case"provisioning":return h().createElement(h().Fragment,null,c(__("We are configuring your site's backups.","jetpack")));case"awaiting_credentials":return h().createElement(h().Fragment,null,c(__("Enter your SSH, SFTP or FTP credentials to enable one-click site restores and faster backups","jetpack")),o((0,s.A)("jetpack-backup-dash-credentials",{site:a}),__("Enter credentials","jetpack"),"enter-credentials-link"));case"active":{if(i)return this.renderUndo();let t=__("We are backing up your site daily.","jetpack");return e&&(t=(0,r.createInterpolateElement)(__("Every change you make will be backed up, in real-time, as you edit your site. Learn More","jetpack"),{ExternalLink:h().createElement(n.ExternalLink,{href:(0,s.A)("jetpack-blog-realtime-mechanics"),target:"_blank",rel:"noopener noreferrer",onClick:this.trackBackupsClick("realtime-learn-more-link")})})),h().createElement(h().Fragment,null,c(t),this.renderManageBackupsLinks())}}return!1}renderLoading(){return M({className:"",status:"",content:__("Loading…","jetpack")})}renderFromRewindStatus(){return this.props.hasBackups&&"unavailable"===this.props.rewindStatus&&"site_new"===this.props.rewindStatusReason?M({className:"jp-dash-item__is-inactive",status:"pro-inactive",content:__("Your site is new and may still be preparing backup configuration.","jetpack")}):"unavailable"===this.props.rewindStatus||""===this.props.rewindStatus?this.getVPContent():h().createElement("div",{className:"jp-dash-item"},this.getRewindContent())}trackUndoFeatureView(){y.A.tracks.recordEvent("jetpack_wpa_aag_backup_undo_view")}trackUndoButtonClick(){y.A.tracks.recordEvent("jetpack_wpa_aag_backup_undo_button_click")}renderUndo(){const{backupUndoEvent:e}=this.props,{activityDate:t,activityTitle:a,activityDescription:n,actorName:o,actorRole:p,actorAvatarUrl:d,undoBackupId:u}=e,m=(0,i.dateI18n)("M jS, g:i a",t),g=h().createElement("div",{className:"dops-card jp-dash-item__card dash-backup-undo"},h().createElement("div",{className:"jp-dash-item__description dash-backup-undo__activity-log"},h().createElement("div",{className:"dash-backup-undo__activity-log-date"},m),h().createElement("div",{className:"dash-backup-undo__activity-log-action"},a),h().createElement("div",{className:"dash-backup-undo__activity-log-description"},n),h().createElement("div",{className:"dash-backup-undo__activity-log-user-meta"},h().createElement("div",{className:"dash-backup-undo__activity-log-user-meta-avatar"},h().createElement("img",{alt:o,src:d??"https://www.gravatar.com/avatar/0?s=96&d=mm",width:"30",height:"30"})),h().createElement("div",{className:"dash-backup-undo__activity-log-user-meta-name"},o,p&&" - "+p))),h().createElement("div",{className:"dash-backup-undo__cta"},(0,r.createInterpolateElement)(__("","jetpack"),{button:h().createElement(k.A,{href:(0,s.A)("jetpack-backup-undo-cta",{path:u}),primary:!0,target:"_blank",onClick:this.trackUndoButtonClick}),icon:h().createElement(c.A,{icon:l.A})})));return this.trackUndoFeatureView(),h().createElement(h().Fragment,null,M({className:"jp-dash-item__is-active",status:"is-working",feature:"rewind",overrideContent:g}),this.renderManageBackupsLinks())}renderGettingStartedVideo(){return"awaiting_credentials"!==this.props.rewindStatus?null:h().createElement(R.A,null)}render(){return this.props.showBackups?this.props.isOfflineMode?h().createElement("div",{className:"jp-dash-item__interior"},M({className:"jp-dash-item__is-inactive",status:"no-pro-uninstalled-or-inactive",content:__("Unavailable in Offline Mode.","jetpack")})):(this.props.isFetchingSite&&this.renderLoading(),h().createElement("div",null,h().createElement(_.A,null),"active"===this.props.rewindStatus&&h().createElement(E.A,null),this.renderFromRewindStatus(),this.renderGettingStartedVideo())):null}}const P=(0,g.Ng)((e=>({vaultPressData:(0,A.Cc)(e),isOfflineMode:(0,j.hN)(e),isVaultPressInstalled:(0,x.O8)(e,"vaultpress/vaultpress.php"),showBackups:(0,S.Fp)(e),upgradeUrl:(0,C.F)(e,"backup"),hasConnectedOwner:(0,j.BG)(e),isFetchingSite:(0,N.Kb)(e),hasBackups:(0,N.IT)(e,"backups"),hasRealTimeBackups:(0,N.IT)(e,"real-time-backups"),partnerCoupon:(0,S.ly)(e),isWoA:(0,S.lI)(e),backupUndoEvent:(0,A.Zc)(e),backupUndoEventLoaded:(0,A._z)(e),backupUndoEventIsFetching:(0,A.j)(e)})),(e=>({connectUser:()=>e((0,j.k0)())})))(O)},69043:(e,t,a)=>{"use strict";a.d(t,{A:()=>N});var s=a(5932),n=a(58454),i=a(10580),r=a(3924),o=a(56427),c=a(86087),l=a(27723),p=a(13022),d=a(5739),u=a.n(d),m=a(51609),h=a(84952),g=a(63242),k=a(35207),f=a(70557),v=a(53835),E=a(6838),_=a(34679),b=a(2065),y=a(82656),w=a(77423);const __=l.__,_x=l._x,C="admin.php?page=jetpack-boost",A=["jetpack-boost/jetpack-boost.php","jetpack-boost-dev/jetpack-boost.php"],j="jetpack-boost",S=({siteAdminUrl:e,siteConnectionStatus:t,siteUrl:a,apiRoot:r,apiNonce:o,fetchPluginsData:d,fetchingPluginsData:u,isBoostInstalled:h,isBoostActive:g,hasActiveBoostPurchase:_,latestSpeedScores:b={}})=>{const y="offline"===t,[w,S]=(0,m.useState)(!1),[N,M]=(0,m.useState)(!1),[O,P]=(0,m.useState)(!1),[L,I]=(0,m.useState)("C"),[D,z]=(0,m.useState)(1),[U,F]=(0,m.useState)(0),[V,B]=(0,m.useState)(0),[H,J]=(0,m.useState)(!1),q=h&&g,W=!(q||y||u||H),G=_x("Boost","The Jetpack Boost product name, without the Jetpack prefix","jetpack"),K=()=>{F(b.scores.mobile),B(b.scores.desktop),I((0,n.T)(b.scores.mobile,b.scores.desktop)),z((0,n.US)(1e3*b.timestamp))};(0,m.useEffect)((()=>{b&&(0,n.US)(1e3*b.timestamp)<21?K():(async()=>{if(!y&&!q){S(!0);try{const e=await(0,n.sE)(!0,r,a,o),t=(0,n.T)(e.current.mobile,e.current.desktop);I(t),F(e.current.mobile),B(e.current.desktop),z(0),S(!1)}catch(e){v.A.tracks.recordEvent("jetpack_boost_speed_score_error",{feature:j,position:"at-a-glance",error:e}),b&&b.scores?K():J(!0),S(!1)}}})()}),[]);const $=()=>{switch(L){case"A":return{top:__("A one-second delay in loading times can reduce your site traffic by 10%.","jetpack"),bottom:__("Use Boost’s automated acceleration tools to optimize your performance on the go.","jetpack")};case"B":return{top:__("A one-second improvement in loading times can increase your site traffic by 10%.","jetpack"),bottom:__("Jetpack Boost enhance your site’s performance like top websites, no developer needed.","jetpack")};default:return{top:__("You can lose 10% of your visitors for every additional second your site takes to load.","jetpack"),bottom:__("Make your site blazing fast for free with Boost’s simple dashboard and acceleration tools.","jetpack")}}},Y=(0,m.useCallback)((()=>{if(!q)return h?P(!0):M(!0),v.A.tracks.recordJetpackClick({target:"boost_instant_tests_install",type:h?"activate":"install",feature:j}),s.Ay.installPlugin(j,"active").then((()=>new Promise((e=>setTimeout(e,2500))))).then((()=>d())).finally((()=>{M(!1),P(!1)}))}),[d,h,q]);return React.createElement("div",{className:"dash-boost-speed-score"},W?React.createElement(React.Fragment,null,w?React.createElement(f.A,{className:"dash-boost-speed-score__section-header",label:G}):React.createElement("div",{className:"dash-boost-speed-score__summary"},React.createElement("div",null,React.createElement("span",{className:"dash-boost-speed-score__summary-grade"},(0,l.sprintf)( diff --git a/_inc/build/widget-visibility/editor/index.asset.php b/_inc/build/widget-visibility/editor/index.asset.php index 985eb609b6..591e86de3c 100644 --- a/_inc/build/widget-visibility/editor/index.asset.php +++ b/_inc/build/widget-visibility/editor/index.asset.php @@ -1 +1 @@ - array('jetpack-connection', 'lodash', 'react', 'wp-api-fetch', 'wp-block-editor', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-i18n', 'wp-plugins', 'wp-polyfill', 'wp-url'), 'version' => '4d832eb73264273ce631'); + array('jetpack-connection', 'lodash', 'react', 'wp-api-fetch', 'wp-block-editor', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-i18n', 'wp-plugins', 'wp-polyfill', 'wp-url'), 'version' => '25389539786d384a9734'); diff --git a/_inc/build/widget-visibility/editor/index.js b/_inc/build/widget-visibility/editor/index.js index 07510caefa..7be702aba3 100644 --- a/_inc/build/widget-visibility/editor/index.js +++ b/_inc/build/widget-visibility/editor/index.js @@ -1 +1 @@ -(()=>{var e={997:e=>{var t=1e3,n=60*t,o=60*n,i=24*o,s=7*i,a=365.25*i;function r(e,t,n,o){var i=t>=1.5*n;return Math.round(e/n)+" "+o+(i?"s":"")}e.exports=function(e,c){c=c||{};var l=typeof e;if("string"===l&&e.length>0)return function(e){if((e=String(e)).length>100)return;var r=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!r)return;var c=parseFloat(r[1]);switch((r[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return c*a;case"weeks":case"week":case"w":return c*s;case"days":case"day":case"d":return c*i;case"hours":case"hour":case"hrs":case"hr":case"h":return c*o;case"minutes":case"minute":case"mins":case"min":case"m":return c*n;case"seconds":case"second":case"secs":case"sec":case"s":return c*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return c;default:return}}(e);if("number"===l&&isFinite(e))return c.long?function(e){var s=Math.abs(e);if(s>=i)return r(e,s,i,"day");if(s>=o)return r(e,s,o,"hour");if(s>=n)return r(e,s,n,"minute");if(s>=t)return r(e,s,t,"second");return e+" ms"}(e):function(e){var s=Math.abs(e);if(s>=i)return Math.round(e/i)+"d";if(s>=o)return Math.round(e/o)+"h";if(s>=n)return Math.round(e/n)+"m";if(s>=t)return Math.round(e/t)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},372:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var o=n(67);const i=n.n(o)()("dops:analytics");let s,a;window._tkq=window._tkq||[],window.ga=window.ga||function(){(window.ga.q=window.ga.q||[]).push(arguments)},window.ga.l=+new Date;const r={initialize:function(e,t,n){r.setUser(e,t),r.setSuperProps(n),r.identifyUser()},setGoogleAnalyticsEnabled:function(e,t=null){this.googleAnalyticsEnabled=e,this.googleAnalyticsKey=t},setMcAnalyticsEnabled:function(e){this.mcAnalyticsEnabled=e},setUser:function(e,t){a={ID:e,username:t}},setSuperProps:function(e){s=e},assignSuperProps:function(e){s=Object.assign(s||{},e)},mc:{bumpStat:function(e,t){const n=function(e,t){let n="";if("object"==typeof e){for(const t in e)n+="&x_"+encodeURIComponent(t)+"="+encodeURIComponent(e[t]);i("Bumping stats %o",e)}else n="&x_"+encodeURIComponent(e)+"="+encodeURIComponent(t),i('Bumping stat "%s" in group "%s"',t,e);return n}(e,t);r.mcAnalyticsEnabled&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom-no-pv"+n+"&t="+Math.random())},bumpStatWithPageView:function(e,t){const n=function(e,t){let n="";if("object"==typeof e){for(const t in e)n+="&"+encodeURIComponent(t)+"="+encodeURIComponent(e[t]);i("Built stats %o",e)}else n="&"+encodeURIComponent(e)+"="+encodeURIComponent(t),i('Built stat "%s" in group "%s"',t,e);return n}(e,t);r.mcAnalyticsEnabled&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom"+n+"&t="+Math.random())}},pageView:{record:function(e,t){r.tracks.recordPageView(e),r.ga.recordPageView(e,t)}},purchase:{record:function(e,t,n,o,i,s,a){r.ga.recordPurchase(e,t,n,o,i,s,a)}},tracks:{recordEvent:function(e,t){t=t||{},0===e.indexOf("akismet_")||0===e.indexOf("jetpack_")?(s&&(i("- Super Props: %o",s),t=Object.assign(t,s)),i('Record event "%s" called with props %s',e,JSON.stringify(t)),window._tkq.push(["recordEvent",e,t])):i('- Event name must be prefixed by "akismet_" or "jetpack_"')},recordJetpackClick:function(e){const t="object"==typeof e?e:{target:e};r.tracks.recordEvent("jetpack_wpa_click",t)},recordPageView:function(e){r.tracks.recordEvent("akismet_page_view",{path:e})},setOptOut:function(e){i("Pushing setOptOut: %o",e),window._tkq.push(["setOptOut",e])}},ga:{initialized:!1,initialize:function(){let e={};r.ga.initialized||(a&&(e={userId:"u-"+a.ID}),window.ga("create",this.googleAnalyticsKey,"auto",e),r.ga.initialized=!0)},recordPageView:function(e,t){r.ga.initialize(),i("Recording Page View ~ [URL: "+e+"] [Title: "+t+"]"),this.googleAnalyticsEnabled&&(window.ga("set","page",e),window.ga("send",{hitType:"pageview",page:e,title:t}))},recordEvent:function(e,t,n,o){r.ga.initialize();let s="Recording Event ~ [Category: "+e+"] [Action: "+t+"]";void 0!==n&&(s+=" [Option Label: "+n+"]"),void 0!==o&&(s+=" [Option Value: "+o+"]"),i(s),this.googleAnalyticsEnabled&&window.ga("send","event",e,t,n,o)},recordPurchase:function(e,t,n,o,i,s,a){window.ga("require","ecommerce"),window.ga("ecommerce:addTransaction",{id:e,revenue:o,currency:a}),window.ga("ecommerce:addItem",{id:e,name:t,sku:n,price:i,quantity:s}),window.ga("ecommerce:send")}},identifyUser:function(){a&&window._tkq.push(["identifyUser",a.ID,a.username])},setProperties:function(e){window._tkq.push(["setProperties",e])},clearedIdentity:function(){window._tkq.push(["clearIdentity"])}},c=r},985:(e,t,n)=>{"use strict";n.d(t,{Sy:()=>o.Sy,st:()=>i.A});var o=n(634),i=(n(34),n(595),n(265),n(489));n(923),n(877),n(335),n(290)},877:(e,t,n)=>{"use strict";n(609)},335:(e,t,n)=>{"use strict";n(468)},489:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var o=n(372),i=n(384),s=n(468);const{tracks:a}=o.A,{recordEvent:r}=a,c=({pageViewEventName:e=null,pageViewNamespace:t="jetpack",pageViewSuffix:n="page_view",pageViewEventProperties:c={}}={})=>{const[l,d]=(0,s.useState)(!1),{isUserConnected:u,isRegistered:p,userConnectionData:g={}}=(0,i.useConnection)(),{wpcomUser:{login:m,ID:w}={},blogId:f}=g.currentUser||{},C=(0,s.useCallback)((async(e,t={})=>{u&&w&&m&&r(e,t)}),[u,w,m]);return(0,s.useEffect)((()=>{u&&w&&m&&f&&o.A.initialize(w,m,{blog_id:f})}),[f,w,m,u]),(0,s.useEffect)((()=>{const o=e?`${t}_${e}_${n}`:null;p&&o&&(l||(C(o,c),d(!0)))}),[l,t,e,n,p,c,C]),{recordEvent:C,tracks:a}}},923:(e,t,n)=>{"use strict";n(143),n(468),n(290)},105:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>u,E9:()=>d});var o=n(143),i=n(634),s=n(478),a=n(290);const r="SET_JETPACK_MODULES";function c(e){return d({isLoading:e})}function l(e,t){return{type:"SET_MODULE_UPDATING",name:e,isUpdating:t}}function d(e){return{type:r,options:e}}const u={updateJetpackModuleStatus:function*(e){try{yield l(e.name,!0),yield(0,s.sB)(e);const t=yield(0,s.wz)();return yield d({data:t}),!0}catch(e){const t=(0,o.select)(a.F).getJetpackModules();return yield d(t),!1}finally{yield l(e.name,!1)}},setJetpackModules:d,fetchModules:function*(){if((0,i.Sy)())return!0;try{yield c(!0);const e=yield(0,s.wz)();return yield d({data:e}),!0}catch(e){const t=(0,o.select)(a.F).getJetpackModules();return yield d(t),!1}finally{yield c(!1)}}}},478:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>l,sB:()=>c,wz:()=>r});var o=n(455),i=n.n(o);const s="FETCH_JETPACK_MODULES",a="UPDATE_JETPACK_MODULE_STATUS",r=()=>({type:s}),c=e=>({type:a,settings:e}),l={[s]:function(){return i()({path:"/jetpack/v4/module/all",method:"GET"})},[a]:function({settings:e}){return i()({path:`/jetpack/v4/module/${e.name}/active`,method:"POST",data:{active:e.active}})}}},290:(e,t,n)=>{"use strict";n.d(t,{F:()=>l});var o=n(143),i=n(105),s=n(478),a=n(862),r=n(701),c=n(640);const l="jetpack-modules",d=(0,o.createReduxStore)(l,{reducer:a.A,actions:i.Ay,controls:s.Ay,resolvers:r.A,selectors:c.A});(0,o.register)(d);const u=window?.Initial_State?.getModules||window?.Jetpack_Editor_Initial_State?.modules||null;null!==u&&(0,o.dispatch)(l).setJetpackModules({data:{...u}})},862:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});const o={isLoading:!1,isUpdating:{},data:{}},i=(e=o,t)=>{switch(t.type){case"SET_JETPACK_MODULES":return{...e,...t.options};case"SET_MODULE_UPDATING":return{...e,isUpdating:{...e.isUpdating,[t.name]:t.isUpdating}}}return e}},701:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var o=n(105),i=n(478);const s={getJetpackModules:function*(){try{const e=yield(0,i.wz)();if(e)return(0,o.E9)({data:e})}catch(e){console.error(e)}}}},640:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var o=n(634);const i={getJetpackModules:e=>e.data,isModuleActive:(e,t)=>(0,o.Sy)()||(e?.data?.[t]?.activated??!1),areModulesLoading:e=>e.isLoading??!1,isModuleUpdating:(e,t)=>e?.isUpdating?.[t]??!1}},265:(e,t,n)=>{"use strict";var o=n(723);n(832),n(87);const __=o.__;__("Upgrade your plan to use video covers","jetpack"),__("Upgrade your plan to upload audio","jetpack")},34:(e,t,n)=>{"use strict";n(279)},634:(e,t,n)=>{"use strict";function o(){return"object"==typeof window&&"string"==typeof window._currentSiteType?window._currentSiteType:null}function i(){return"simple"===o()}n.d(t,{Sy:()=>i})},595:(e,t,n)=>{"use strict";n(72),n(491)},67:(e,t,n)=>{t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const n="color: "+this.color;t.splice(1,0,n,"color: inherit");let o=0,i=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(o++,"%c"===e&&(i=o))})),t.splice(i,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(e){}!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=n(926)(t);const{formatters:o}=e.exports;o.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},926:(e,t,n)=>{e.exports=function(e){function t(e){let n,i,s,a=null;function r(...e){if(!r.enabled)return;const o=r,i=Number(new Date),s=i-(n||i);o.diff=s,o.prev=n,o.curr=i,n=i,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let a=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,((n,i)=>{if("%%"===n)return"%";a++;const s=t.formatters[i];if("function"==typeof s){const t=e[a];n=s.call(o,t),e.splice(a,1),a--}return n})),t.formatArgs.call(o,e);(o.log||t.log).apply(o,e)}return r.namespace=e,r.useColors=t.useColors(),r.color=t.selectColor(e),r.extend=o,r.destroy=t.destroy,Object.defineProperty(r,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==a?a:(i!==t.namespaces&&(i=t.namespaces,s=t.enabled(e)),s),set:e=>{a=e}}),"function"==typeof t.init&&t.init(r),r}function o(e,n){const o=t(this.namespace+(void 0===n?":":n)+e);return o.log=this.log,o}function i(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},t.disable=function(){const e=[...t.names.map(i),...t.skips.map(i).map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){let n;t.save(e),t.namespaces=e,t.names=[],t.skips=[];const o=("string"==typeof e?e:"").split(/[\s,]+/),i=o.length;for(n=0;n{t[n]=e[n]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let n=0;for(let t=0;t{"use strict";e.exports=window.JetpackConnection},609:e=>{"use strict";e.exports=window.React},87:e=>{"use strict";e.exports=window.lodash},455:e=>{"use strict";e.exports=window.wp.apiFetch},715:e=>{"use strict";e.exports=window.wp.blockEditor},427:e=>{"use strict";e.exports=window.wp.components},491:e=>{"use strict";e.exports=window.wp.compose},143:e=>{"use strict";e.exports=window.wp.data},468:e=>{"use strict";e.exports=window.wp.element},723:e=>{"use strict";e.exports=window.wp.i18n},279:e=>{"use strict";e.exports=window.wp.plugins},832:e=>{"use strict";e.exports=window.wp.url},72:e=>{function t(){return e.exports=t=Object.assign?Object.assign.bind():function(e){for(var t=1;t{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);(()=>{"use strict";var e=n(985),t=n(715),o=n(427),i=n(491),s=n(143),a=n(468),r=n(723);const __=r.__,_x=r._x,c={"&":"&","<":"<",">":">",""":'"',"'":"'"," ":" "},l=/&(?:amp|lt|gt|quot|#39|nbsp);/g,d=e=>{if("string"!=typeof e)return e;return e.replace(l,(e=>c[e]))},u=e=>!new Set(["core/legacy-widget","core/widget-area"]).has(e);wp.hooks.addFilter("blocks.registerBlockType","widget/visibility",(function(e,t){return u(t)&&void 0!==e.attributes&&(e.attributes=Object.assign(e.attributes,{conditions:{type:"object",default:{}}})),e}));const p=(e,t=0)=>e.reduce(((e,n)=>{const[o,i]=n,s=" ".repeat(3*t);if(Array.isArray(i)){const n={label:d(s+o),value:o,disabled:!0},a=p(i,t+1);return e.concat([n]).concat(a)}const a={label:d(s+i),value:o};return e.concat([a])}),[]),g=t=>{const{rule:n,onDelete:i,setMajor:s,setMinor:a}=t,r=[{label:__("User","jetpack"),value:"loggedin"},{label:__("Role","jetpack"),value:"role"}],c=widget_conditions_data.taxonomy&&widget_conditions_data.taxonomy.length>1||"taxonomy"===n.major,l=[{label:__("Taxonomy","jetpack"),value:"taxonomy"}],d=[{label:__("-- Select --","jetpack"),value:""},{label:__("Category","jetpack"),value:"category"},{label:__("Author","jetpack"),value:"author"}].concat((0,e.Sy)()?[]:r).concat([{label:__("Tag","jetpack"),value:"tag"},{label:__("Date","jetpack"),value:"date"},{label:__("Page","jetpack"),value:"page"}]).concat(c?l:[]);let u=[];return n.major in widget_conditions_data&&(u=p(widget_conditions_data[n.major])),React.createElement("div",{className:"widget-vis__rule"},React.createElement("div",{className:"widget-vis__rule-major"},React.createElement("span",{className:"widget-vis__if"},_x("If","Widget Visibility: If {Rule Major [Page]} is {Rule Minor [Search results]}","jetpack")),React.createElement("div",{className:"widget-vis__select"},React.createElement(o.SelectControl,{label:__("Major Rule","jetpack"),hideLabelFromVision:!0,value:n.major,options:d,onChange:s}))),n.major&&React.createElement("div",{className:"widget-vis__rule-minor"},React.createElement("span",{className:"widget-vis__is"},_x("is","Widget Visibility: {Rule Major [Page]} is {Rule Minor [Search results]}","jetpack")),React.createElement("div",{className:"widget-vis__select"},React.createElement(o.SelectControl,{className:"widget-vis__select-multi-level",label:__("Minor Rule","jetpack"),hideLabelFromVision:!0,value:n.minor,options:u,onChange:a}))),React.createElement("div",{className:"widget-vis__delete-rule"},React.createElement(o.Button,{onClick:i,isSmall:!0,variant:"secondary"},_x("Remove","Delete this visibility rule","jetpack"))))},m=e=>({action:"show",rules:[],match_all:0,...e}),w=(0,i.createHigherOrderComponent)((n=>i=>{const{clientId:r,attributes:c,setAttributes:l,isSelected:d}=i,p=(0,a.useMemo)((()=>c.conditions||{}),[c]),w=(0,a.useMemo)((()=>p.rules||[]),[p]),{tracks:f}=(0,e.st)(),C=(0,s.useSelect)((e=>{const{getBlockParents:t,getBlock:n}=e("core/block-editor"),o=t(r,!0),i=o?n(o[0]):void 0;return!i||i&&"core/widget-area"===i.name}),[r]),y=(0,a.useCallback)((()=>{f.recordEvent("jetpack_widget_visibility_toggle_match_all_click"),l({conditions:{...m(p),match_all:"0"===p.match_all?"1":"0"}})}),[f,l,p]),v=(0,a.useCallback)((e=>l({conditions:{...m(p),action:e}})),[l,p]),_=(0,a.useCallback)((()=>{const e=[...w,{major:"",minor:""}];f.recordEvent("jetpack_widget_visibility_add_new_rule_click"),l({conditions:{...m(p),rules:e}})}),[w,f,l,p]),h=(0,a.useCallback)((e=>{const t=[...w.slice(0,e),...w.slice(e+1)];f.recordEvent("jetpack_widget_visibility_delete_rule_click"),l({conditions:{...m(p),rules:t}})}),[w,f,l,p]),b=(0,a.useCallback)(((e,t)=>{f.recordEvent("jetpack_widget_visibility_set_major_rule_click");let n="";t in widget_conditions_data&&Array.isArray(widget_conditions_data[t])&&widget_conditions_data[t].length>0&&(n=widget_conditions_data[t][0][0]);const o=[...w.slice(0,e),{...w[e],major:t,minor:n},...w.slice(e+1)];l({conditions:{...m(p),rules:o}})}),[f,w,l,p]),k=(0,a.useCallback)(((e,t)=>{if(f.recordEvent("jetpack_widget_visibility_set_minor_rule_click"),t&&t.includes("__HEADER__"))return;const n=[...w.slice(0,e),{...w[e],minor:t},...w.slice(e+1)];l({conditions:{...m(p),rules:n}})}),[f,w,l,p]);let F=null;return F=0===w.length?React.createElement(o.BaseControl,{id:"widget-vis__wrapper",className:"widget-vis__wrapper",label:__("Visibility","jetpack"),help:__("No visibility rules yet. Add at least one rule to use this feature.","jetpack")},React.createElement(o.Button,{variant:"secondary",onClick:_,className:"widget-vis__add-new-rule"},__("Add new rule","jetpack"))):React.createElement(o.BaseControl,{className:"widget-vis__wrapper",id:"widget-vis__wrapper",label:__("Visibility","jetpack")},React.createElement(o.SelectControl,{className:"widget-vis__show-hide",label:__("Action","jetpack"),hideLabelFromVision:!0,value:c.conditions.action,options:[{label:__("Show this block","jetpack"),value:"show"},{label:__("Hide this block","jetpack"),value:"hide"}],onChange:v}),w.map(((e,t)=>React.createElement(g,{key:t,rule:e,i:t,onDelete:()=>h(t),setMajor:e=>b(t,e),setMinor:e=>k(t,e)}))),w.length>1&&React.createElement(o.ToggleControl,{className:"widget-vis__match-all",label:__("Match all rules","jetpack"),checked:"1"===p.match_all,onChange:y,__nextHasNoMarginBottom:!0}),React.createElement(o.Button,{variant:"secondary",onClick:_},__("Add new rule","jetpack"))),React.createElement(a.Fragment,null,React.createElement(n,i),d&&C&&u(i.name)&&React.createElement(t.InspectorAdvancedControls,null,F),d&&!C&&u(i.name)&&React.createElement(t.InspectorAdvancedControls,null,React.createElement(o.BaseControl,{id:"widget-vis__wrapper",className:"widget-vis__wrapper",label:__("Visibility","jetpack"),help:__("Please select the top level block of this widget to apply visibility rules.","jetpack")})))}),"visibilityAdvancedControls");wp.hooks.addFilter("editor.BlockEdit","widget/visibility",w)})(),window.WidgetVisibility={}.WidgetVisibility})(); \ No newline at end of file +(()=>{var e={997:e=>{var t=1e3,n=60*t,o=60*n,i=24*o,s=7*i,a=365.25*i;function r(e,t,n,o){var i=t>=1.5*n;return Math.round(e/n)+" "+o+(i?"s":"")}e.exports=function(e,c){c=c||{};var l=typeof e;if("string"===l&&e.length>0)return function(e){if((e=String(e)).length>100)return;var r=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!r)return;var c=parseFloat(r[1]);switch((r[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return c*a;case"weeks":case"week":case"w":return c*s;case"days":case"day":case"d":return c*i;case"hours":case"hour":case"hrs":case"hr":case"h":return c*o;case"minutes":case"minute":case"mins":case"min":case"m":return c*n;case"seconds":case"second":case"secs":case"sec":case"s":return c*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return c;default:return}}(e);if("number"===l&&isFinite(e))return c.long?function(e){var s=Math.abs(e);if(s>=i)return r(e,s,i,"day");if(s>=o)return r(e,s,o,"hour");if(s>=n)return r(e,s,n,"minute");if(s>=t)return r(e,s,t,"second");return e+" ms"}(e):function(e){var s=Math.abs(e);if(s>=i)return Math.round(e/i)+"d";if(s>=o)return Math.round(e/o)+"h";if(s>=n)return Math.round(e/n)+"m";if(s>=t)return Math.round(e/t)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},372:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var o=n(67);const i=n.n(o)()("dops:analytics");let s,a;window._tkq=window._tkq||[],window.ga=window.ga||function(){(window.ga.q=window.ga.q||[]).push(arguments)},window.ga.l=+new Date;const r={initialize:function(e,t,n){r.setUser(e,t),r.setSuperProps(n),r.identifyUser()},setGoogleAnalyticsEnabled:function(e,t=null){this.googleAnalyticsEnabled=e,this.googleAnalyticsKey=t},setMcAnalyticsEnabled:function(e){this.mcAnalyticsEnabled=e},setUser:function(e,t){a={ID:e,username:t}},setSuperProps:function(e){s=e},assignSuperProps:function(e){s=Object.assign(s||{},e)},mc:{bumpStat:function(e,t){const n=function(e,t){let n="";if("object"==typeof e){for(const t in e)n+="&x_"+encodeURIComponent(t)+"="+encodeURIComponent(e[t]);i("Bumping stats %o",e)}else n="&x_"+encodeURIComponent(e)+"="+encodeURIComponent(t),i('Bumping stat "%s" in group "%s"',t,e);return n}(e,t);r.mcAnalyticsEnabled&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom-no-pv"+n+"&t="+Math.random())},bumpStatWithPageView:function(e,t){const n=function(e,t){let n="";if("object"==typeof e){for(const t in e)n+="&"+encodeURIComponent(t)+"="+encodeURIComponent(e[t]);i("Built stats %o",e)}else n="&"+encodeURIComponent(e)+"="+encodeURIComponent(t),i('Built stat "%s" in group "%s"',t,e);return n}(e,t);r.mcAnalyticsEnabled&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom"+n+"&t="+Math.random())}},pageView:{record:function(e,t){r.tracks.recordPageView(e),r.ga.recordPageView(e,t)}},purchase:{record:function(e,t,n,o,i,s,a){r.ga.recordPurchase(e,t,n,o,i,s,a)}},tracks:{recordEvent:function(e,t){t=t||{},0===e.indexOf("akismet_")||0===e.indexOf("jetpack_")?(s&&(i("- Super Props: %o",s),t=Object.assign(t,s)),i('Record event "%s" called with props %s',e,JSON.stringify(t)),window._tkq.push(["recordEvent",e,t])):i('- Event name must be prefixed by "akismet_" or "jetpack_"')},recordJetpackClick:function(e){const t="object"==typeof e?e:{target:e};r.tracks.recordEvent("jetpack_wpa_click",t)},recordPageView:function(e){r.tracks.recordEvent("akismet_page_view",{path:e})},setOptOut:function(e){i("Pushing setOptOut: %o",e),window._tkq.push(["setOptOut",e])}},ga:{initialized:!1,initialize:function(){let e={};r.ga.initialized||(a&&(e={userId:"u-"+a.ID}),window.ga("create",this.googleAnalyticsKey,"auto",e),r.ga.initialized=!0)},recordPageView:function(e,t){r.ga.initialize(),i("Recording Page View ~ [URL: "+e+"] [Title: "+t+"]"),this.googleAnalyticsEnabled&&(window.ga("set","page",e),window.ga("send",{hitType:"pageview",page:e,title:t}))},recordEvent:function(e,t,n,o){r.ga.initialize();let s="Recording Event ~ [Category: "+e+"] [Action: "+t+"]";void 0!==n&&(s+=" [Option Label: "+n+"]"),void 0!==o&&(s+=" [Option Value: "+o+"]"),i(s),this.googleAnalyticsEnabled&&window.ga("send","event",e,t,n,o)},recordPurchase:function(e,t,n,o,i,s,a){window.ga("require","ecommerce"),window.ga("ecommerce:addTransaction",{id:e,revenue:o,currency:a}),window.ga("ecommerce:addItem",{id:e,name:t,sku:n,price:i,quantity:s}),window.ga("ecommerce:send")}},identifyUser:function(){a&&window._tkq.push(["identifyUser",a.ID,a.username])},setProperties:function(e){window._tkq.push(["setProperties",e])},clearedIdentity:function(){window._tkq.push(["clearIdentity"])}},c=r},985:(e,t,n)=>{"use strict";n.d(t,{Sy:()=>o.Sy,st:()=>i.A});var o=n(634),i=(n(34),n(595),n(265),n(489));n(923),n(877),n(335),n(290)},877:(e,t,n)=>{"use strict";n(609)},335:(e,t,n)=>{"use strict";n(468)},489:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var o=n(372),i=n(384),s=n(468);const{tracks:a}=o.A,{recordEvent:r}=a,c=({pageViewEventName:e=null,pageViewNamespace:t="jetpack",pageViewSuffix:n="page_view",pageViewEventProperties:c={}}={})=>{const[l,d]=(0,s.useState)(!1),{isUserConnected:u,isRegistered:p,userConnectionData:g={}}=(0,i.useConnection)(),{wpcomUser:{login:m,ID:w}={},blogId:f}=g.currentUser||{},C=(0,s.useCallback)((async(e,t={})=>{u&&w&&m&&r(e,t)}),[u,w,m]);return(0,s.useEffect)((()=>{u&&w&&m&&f&&o.A.initialize(w,m,{blog_id:f})}),[f,w,m,u]),(0,s.useEffect)((()=>{const o=e?`${t}_${e}_${n}`:null;p&&o&&(l||(C(o,c),d(!0)))}),[l,t,e,n,p,c,C]),{recordEvent:C,tracks:a}}},923:(e,t,n)=>{"use strict";n(143),n(468),n(290)},105:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>u,E9:()=>d});var o=n(143),i=n(634),s=n(478),a=n(290);const r="SET_JETPACK_MODULES";function c(e){return d({isLoading:e})}function l(e,t){return{type:"SET_MODULE_UPDATING",name:e,isUpdating:t}}function d(e){return{type:r,options:e}}const u={updateJetpackModuleStatus:function*(e){try{yield l(e.name,!0),yield(0,s.sB)(e);const t=yield(0,s.wz)();return yield d({data:t}),!0}catch{const e=(0,o.select)(a.F).getJetpackModules();return yield d(e),!1}finally{yield l(e.name,!1)}},setJetpackModules:d,fetchModules:function*(){if((0,i.Sy)())return!0;try{yield c(!0);const e=yield(0,s.wz)();return yield d({data:e}),!0}catch{const e=(0,o.select)(a.F).getJetpackModules();return yield d(e),!1}finally{yield c(!1)}}}},478:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>l,sB:()=>c,wz:()=>r});var o=n(455),i=n.n(o);const s="FETCH_JETPACK_MODULES",a="UPDATE_JETPACK_MODULE_STATUS",r=()=>({type:s}),c=e=>({type:a,settings:e}),l={[s]:function(){return i()({path:"/jetpack/v4/module/all",method:"GET"})},[a]:function({settings:e}){return i()({path:`/jetpack/v4/module/${e.name}/active`,method:"POST",data:{active:e.active}})}}},290:(e,t,n)=>{"use strict";n.d(t,{F:()=>l});var o=n(143),i=n(105),s=n(478),a=n(862),r=n(701),c=n(640);const l="jetpack-modules",d=(0,o.createReduxStore)(l,{reducer:a.A,actions:i.Ay,controls:s.Ay,resolvers:r.A,selectors:c.A});(0,o.register)(d);const u=window?.Initial_State?.getModules||window?.Jetpack_Editor_Initial_State?.modules||null;null!==u&&(0,o.dispatch)(l).setJetpackModules({data:{...u}})},862:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});const o={isLoading:!1,isUpdating:{},data:{}},i=(e=o,t)=>{switch(t.type){case"SET_JETPACK_MODULES":return{...e,...t.options};case"SET_MODULE_UPDATING":return{...e,isUpdating:{...e.isUpdating,[t.name]:t.isUpdating}}}return e}},701:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var o=n(105),i=n(478);const s={getJetpackModules:function*(){try{const e=yield(0,i.wz)();if(e)return(0,o.E9)({data:e})}catch(e){console.error(e)}}}},640:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var o=n(634);const i={getJetpackModules:e=>e.data,isModuleActive:(e,t)=>(0,o.Sy)()||(e?.data?.[t]?.activated??!1),areModulesLoading:e=>e.isLoading??!1,isModuleUpdating:(e,t)=>e?.isUpdating?.[t]??!1}},265:(e,t,n)=>{"use strict";var o=n(723);n(832),n(87);const __=o.__;__("Upgrade your plan to use video covers","jetpack"),__("Upgrade your plan to upload audio","jetpack")},34:(e,t,n)=>{"use strict";n(279)},634:(e,t,n)=>{"use strict";function o(){return"object"==typeof window&&"string"==typeof window._currentSiteType?window._currentSiteType:null}function i(){return"simple"===o()}n.d(t,{Sy:()=>i})},595:(e,t,n)=>{"use strict";n(72),n(491)},67:(e,t,n)=>{t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const n="color: "+this.color;t.splice(1,0,n,"color: inherit");let o=0,i=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(o++,"%c"===e&&(i=o))})),t.splice(i,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(e){}!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=n(926)(t);const{formatters:o}=e.exports;o.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},926:(e,t,n)=>{e.exports=function(e){function t(e){let n,i,s,a=null;function r(...e){if(!r.enabled)return;const o=r,i=Number(new Date),s=i-(n||i);o.diff=s,o.prev=n,o.curr=i,n=i,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let a=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,((n,i)=>{if("%%"===n)return"%";a++;const s=t.formatters[i];if("function"==typeof s){const t=e[a];n=s.call(o,t),e.splice(a,1),a--}return n})),t.formatArgs.call(o,e);(o.log||t.log).apply(o,e)}return r.namespace=e,r.useColors=t.useColors(),r.color=t.selectColor(e),r.extend=o,r.destroy=t.destroy,Object.defineProperty(r,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==a?a:(i!==t.namespaces&&(i=t.namespaces,s=t.enabled(e)),s),set:e=>{a=e}}),"function"==typeof t.init&&t.init(r),r}function o(e,n){const o=t(this.namespace+(void 0===n?":":n)+e);return o.log=this.log,o}function i(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},t.disable=function(){const e=[...t.names.map(i),...t.skips.map(i).map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){let n;t.save(e),t.namespaces=e,t.names=[],t.skips=[];const o=("string"==typeof e?e:"").split(/[\s,]+/),i=o.length;for(n=0;n{t[n]=e[n]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let n=0;for(let t=0;t{"use strict";e.exports=window.JetpackConnection},609:e=>{"use strict";e.exports=window.React},87:e=>{"use strict";e.exports=window.lodash},455:e=>{"use strict";e.exports=window.wp.apiFetch},715:e=>{"use strict";e.exports=window.wp.blockEditor},427:e=>{"use strict";e.exports=window.wp.components},491:e=>{"use strict";e.exports=window.wp.compose},143:e=>{"use strict";e.exports=window.wp.data},468:e=>{"use strict";e.exports=window.wp.element},723:e=>{"use strict";e.exports=window.wp.i18n},279:e=>{"use strict";e.exports=window.wp.plugins},832:e=>{"use strict";e.exports=window.wp.url},72:e=>{function t(){return e.exports=t=Object.assign?Object.assign.bind():function(e){for(var t=1;t{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);(()=>{"use strict";var e=n(985),t=n(715),o=n(427),i=n(491),s=n(143),a=n(468),r=n(723);const __=r.__,_x=r._x,c={"&":"&","<":"<",">":">",""":'"',"'":"'"," ":" "},l=/&(?:amp|lt|gt|quot|#39|nbsp);/g,d=e=>{if("string"!=typeof e)return e;return e.replace(l,(e=>c[e]))},u=e=>!new Set(["core/legacy-widget","core/widget-area"]).has(e);wp.hooks.addFilter("blocks.registerBlockType","widget/visibility",(function(e,t){return u(t)&&void 0!==e.attributes&&(e.attributes=Object.assign(e.attributes,{conditions:{type:"object",default:{}}})),e}));const p=(e,t=0)=>e.reduce(((e,n)=>{const[o,i]=n,s=" ".repeat(3*t);if(Array.isArray(i)){const n={label:d(s+o),value:o,disabled:!0},a=p(i,t+1);return e.concat([n]).concat(a)}const a={label:d(s+i),value:o};return e.concat([a])}),[]),g=t=>{const{rule:n,onDelete:i,setMajor:s,setMinor:a}=t,r=[{label:__("User","jetpack"),value:"loggedin"},{label:__("Role","jetpack"),value:"role"}],c=widget_conditions_data.taxonomy&&widget_conditions_data.taxonomy.length>1||"taxonomy"===n.major,l=[{label:__("Taxonomy","jetpack"),value:"taxonomy"}],d=[{label:__("-- Select --","jetpack"),value:""},{label:__("Category","jetpack"),value:"category"},{label:__("Author","jetpack"),value:"author"}].concat((0,e.Sy)()?[]:r).concat([{label:__("Tag","jetpack"),value:"tag"},{label:__("Date","jetpack"),value:"date"},{label:__("Page","jetpack"),value:"page"}]).concat(c?l:[]);let u=[];return n.major in widget_conditions_data&&(u=p(widget_conditions_data[n.major])),React.createElement("div",{className:"widget-vis__rule"},React.createElement("div",{className:"widget-vis__rule-major"},React.createElement("span",{className:"widget-vis__if"},_x("If","Widget Visibility: If {Rule Major [Page]} is {Rule Minor [Search results]}","jetpack")),React.createElement("div",{className:"widget-vis__select"},React.createElement(o.SelectControl,{label:__("Major Rule","jetpack"),hideLabelFromVision:!0,value:n.major,options:d,onChange:s}))),n.major&&React.createElement("div",{className:"widget-vis__rule-minor"},React.createElement("span",{className:"widget-vis__is"},_x("is","Widget Visibility: {Rule Major [Page]} is {Rule Minor [Search results]}","jetpack")),React.createElement("div",{className:"widget-vis__select"},React.createElement(o.SelectControl,{className:"widget-vis__select-multi-level",label:__("Minor Rule","jetpack"),hideLabelFromVision:!0,value:n.minor,options:u,onChange:a}))),React.createElement("div",{className:"widget-vis__delete-rule"},React.createElement(o.Button,{onClick:i,isSmall:!0,variant:"secondary"},_x("Remove","Delete this visibility rule","jetpack"))))},m=e=>({action:"show",rules:[],match_all:0,...e}),w=(0,i.createHigherOrderComponent)((n=>i=>{const{clientId:r,attributes:c,setAttributes:l,isSelected:d}=i,p=(0,a.useMemo)((()=>c.conditions||{}),[c]),w=(0,a.useMemo)((()=>p.rules||[]),[p]),{tracks:f}=(0,e.st)(),C=(0,s.useSelect)((e=>{const{getBlockParents:t,getBlock:n}=e("core/block-editor"),o=t(r,!0),i=o?n(o[0]):void 0;return!i||i&&"core/widget-area"===i.name}),[r]),y=(0,a.useCallback)((()=>{f.recordEvent("jetpack_widget_visibility_toggle_match_all_click"),l({conditions:{...m(p),match_all:"0"===p.match_all?"1":"0"}})}),[f,l,p]),v=(0,a.useCallback)((e=>l({conditions:{...m(p),action:e}})),[l,p]),_=(0,a.useCallback)((()=>{const e=[...w,{major:"",minor:""}];f.recordEvent("jetpack_widget_visibility_add_new_rule_click"),l({conditions:{...m(p),rules:e}})}),[w,f,l,p]),h=(0,a.useCallback)((e=>{const t=[...w.slice(0,e),...w.slice(e+1)];f.recordEvent("jetpack_widget_visibility_delete_rule_click"),l({conditions:{...m(p),rules:t}})}),[w,f,l,p]),b=(0,a.useCallback)(((e,t)=>{f.recordEvent("jetpack_widget_visibility_set_major_rule_click");let n="";t in widget_conditions_data&&Array.isArray(widget_conditions_data[t])&&widget_conditions_data[t].length>0&&(n=widget_conditions_data[t][0][0]);const o=[...w.slice(0,e),{...w[e],major:t,minor:n},...w.slice(e+1)];l({conditions:{...m(p),rules:o}})}),[f,w,l,p]),k=(0,a.useCallback)(((e,t)=>{if(f.recordEvent("jetpack_widget_visibility_set_minor_rule_click"),t&&t.includes("__HEADER__"))return;const n=[...w.slice(0,e),{...w[e],minor:t},...w.slice(e+1)];l({conditions:{...m(p),rules:n}})}),[f,w,l,p]);let F=null;return F=0===w.length?React.createElement(o.BaseControl,{id:"widget-vis__wrapper",className:"widget-vis__wrapper",label:__("Visibility","jetpack"),help:__("No visibility rules yet. Add at least one rule to use this feature.","jetpack")},React.createElement(o.Button,{variant:"secondary",onClick:_,className:"widget-vis__add-new-rule"},__("Add new rule","jetpack"))):React.createElement(o.BaseControl,{className:"widget-vis__wrapper",id:"widget-vis__wrapper",label:__("Visibility","jetpack")},React.createElement(o.SelectControl,{className:"widget-vis__show-hide",label:__("Action","jetpack"),hideLabelFromVision:!0,value:c.conditions.action,options:[{label:__("Show this block","jetpack"),value:"show"},{label:__("Hide this block","jetpack"),value:"hide"}],onChange:v}),w.map(((e,t)=>React.createElement(g,{key:t,rule:e,i:t,onDelete:()=>h(t),setMajor:e=>b(t,e),setMinor:e=>k(t,e)}))),w.length>1&&React.createElement(o.ToggleControl,{className:"widget-vis__match-all",label:__("Match all rules","jetpack"),checked:"1"===p.match_all,onChange:y,__nextHasNoMarginBottom:!0}),React.createElement(o.Button,{variant:"secondary",onClick:_},__("Add new rule","jetpack"))),React.createElement(a.Fragment,null,React.createElement(n,i),d&&C&&u(i.name)&&React.createElement(t.InspectorAdvancedControls,null,F),d&&!C&&u(i.name)&&React.createElement(t.InspectorAdvancedControls,null,React.createElement(o.BaseControl,{id:"widget-vis__wrapper",className:"widget-vis__wrapper",label:__("Visibility","jetpack"),help:__("Please select the top level block of this widget to apply visibility rules.","jetpack")})))}),"visibilityAdvancedControls");wp.hooks.addFilter("editor.BlockEdit","widget/visibility",w)})(),window.WidgetVisibility={}.WidgetVisibility})(); \ No newline at end of file diff --git a/jetpack_vendor/automattic/jetpack-backup/package.json b/jetpack_vendor/automattic/jetpack-backup/package.json index c2cd12b7f7..533f6d3322 100644 --- a/jetpack_vendor/automattic/jetpack-backup/package.json +++ b/jetpack_vendor/automattic/jetpack-backup/package.json @@ -31,7 +31,7 @@ "@automattic/jetpack-analytics": "^0.1.33", "@automattic/jetpack-api": "^0.17.20", "@automattic/jetpack-components": "^0.64.1-alpha", - "@automattic/jetpack-connection": "^0.36.0", + "@automattic/jetpack-connection": "^0.36.1-alpha", "@tanstack/react-query": "5.20.5", "@wordpress/api-fetch": "7.13.0", "@wordpress/components": "28.13.0", diff --git a/jetpack_vendor/automattic/jetpack-blaze/build/editor.asset.php b/jetpack_vendor/automattic/jetpack-blaze/build/editor.asset.php index fd31a20ebe..db7fe7af34 100644 --- a/jetpack_vendor/automattic/jetpack-blaze/build/editor.asset.php +++ b/jetpack_vendor/automattic/jetpack-blaze/build/editor.asset.php @@ -1 +1 @@ - array('jetpack-connection', 'lodash', 'react', 'react-jsx-runtime', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-data', 'wp-edit-post', 'wp-editor', 'wp-element', 'wp-i18n', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-url'), 'version' => '95aae94b05259cd479f8'); + array('jetpack-connection', 'lodash', 'react', 'react-jsx-runtime', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-data', 'wp-edit-post', 'wp-editor', 'wp-element', 'wp-i18n', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-url'), 'version' => '450a22c4b103e9b8ab7c'); diff --git a/jetpack_vendor/automattic/jetpack-blaze/build/editor.js b/jetpack_vendor/automattic/jetpack-blaze/build/editor.js index 221e481cf6..f0d0a28aaa 100644 --- a/jetpack_vendor/automattic/jetpack-blaze/build/editor.js +++ b/jetpack_vendor/automattic/jetpack-blaze/build/editor.js @@ -1 +1 @@ -(()=>{var e={113:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var s=n(468);const o=(0,s.forwardRef)((function({icon:e,size:t=24,...n},o){return(0,s.cloneElement)(e,{width:t,height:t,...n,ref:o})}))},512:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});var s=n(573),o=n(790);const r=(0,o.jsx)(s.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(s.Path,{d:"M19.5 4.5h-7V6h4.44l-5.97 5.97 1.06 1.06L18 7.06v4.44h1.5v-7Zm-13 1a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-3H17v3a.5.5 0 0 1-.5.5h-10a.5.5 0 0 1-.5-.5v-10a.5.5 0 0 1 .5-.5h3V5.5h-3Z"})})},941:(e,t,n)=>{t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const n="color: "+this.color;t.splice(1,0,n,"color: inherit");let s=0,o=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(s++,"%c"===e&&(o=s))})),t.splice(o,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(e){}!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=n(212)(t);const{formatters:s}=e.exports;s.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},212:(e,t,n)=>{e.exports=function(e){function t(e){let n,o,r,i=null;function a(...e){if(!a.enabled)return;const s=a,o=Number(new Date),r=o-(n||o);s.diff=r,s.prev=n,s.curr=o,n=o,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let i=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,((n,o)=>{if("%%"===n)return"%";i++;const r=t.formatters[o];if("function"==typeof r){const t=e[i];n=r.call(s,t),e.splice(i,1),i--}return n})),t.formatArgs.call(s,e);(s.log||t.log).apply(s,e)}return a.namespace=e,a.useColors=t.useColors(),a.color=t.selectColor(e),a.extend=s,a.destroy=t.destroy,Object.defineProperty(a,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==i?i:(o!==t.namespaces&&(o=t.namespaces,r=t.enabled(e)),r),set:e=>{i=e}}),"function"==typeof t.init&&t.init(a),a}function s(e,n){const s=t(this.namespace+(void 0===n?":":n)+e);return s.log=this.log,s}function o(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},t.disable=function(){const e=[...t.names.map(o),...t.skips.map(o).map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){let n;t.save(e),t.namespaces=e,t.names=[],t.skips=[];const s=("string"==typeof e?e:"").split(/[\s,]+/),o=s.length;for(n=0;n{t[n]=e[n]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let n=0;for(let t=0;t{var t=1e3,n=60*t,s=60*n,o=24*s,r=7*o,i=365.25*o;function a(e,t,n,s){var o=t>=1.5*n;return Math.round(e/n)+" "+s+(o?"s":"")}e.exports=function(e,c){c=c||{};var u=typeof e;if("string"===u&&e.length>0)return function(e){if((e=String(e)).length>100)return;var a=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!a)return;var c=parseFloat(a[1]);switch((a[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return c*i;case"weeks":case"week":case"w":return c*r;case"days":case"day":case"d":return c*o;case"hours":case"hour":case"hrs":case"hr":case"h":return c*s;case"minutes":case"minute":case"mins":case"min":case"m":return c*n;case"seconds":case"second":case"secs":case"sec":case"s":return c*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return c;default:return}}(e);if("number"===u&&isFinite(e))return c.long?function(e){var r=Math.abs(e);if(r>=o)return a(e,r,o,"day");if(r>=s)return a(e,r,s,"hour");if(r>=n)return a(e,r,n,"minute");if(r>=t)return a(e,r,t,"second");return e+" ms"}(e):function(e){var r=Math.abs(e);if(r>=o)return Math.round(e/o)+"d";if(r>=s)return Math.round(e/s)+"h";if(r>=n)return Math.round(e/n)+"m";if(r>=t)return Math.round(e/t)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},372:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var s=n(941);const o=n.n(s)()("dops:analytics");let r,i;window._tkq=window._tkq||[],window.ga=window.ga||function(){(window.ga.q=window.ga.q||[]).push(arguments)},window.ga.l=+new Date;const a={initialize:function(e,t,n){a.setUser(e,t),a.setSuperProps(n),a.identifyUser()},setGoogleAnalyticsEnabled:function(e,t=null){this.googleAnalyticsEnabled=e,this.googleAnalyticsKey=t},setMcAnalyticsEnabled:function(e){this.mcAnalyticsEnabled=e},setUser:function(e,t){i={ID:e,username:t}},setSuperProps:function(e){r=e},assignSuperProps:function(e){r=Object.assign(r||{},e)},mc:{bumpStat:function(e,t){const n=function(e,t){let n="";if("object"==typeof e){for(const t in e)n+="&x_"+encodeURIComponent(t)+"="+encodeURIComponent(e[t]);o("Bumping stats %o",e)}else n="&x_"+encodeURIComponent(e)+"="+encodeURIComponent(t),o('Bumping stat "%s" in group "%s"',t,e);return n}(e,t);a.mcAnalyticsEnabled&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom-no-pv"+n+"&t="+Math.random())},bumpStatWithPageView:function(e,t){const n=function(e,t){let n="";if("object"==typeof e){for(const t in e)n+="&"+encodeURIComponent(t)+"="+encodeURIComponent(e[t]);o("Built stats %o",e)}else n="&"+encodeURIComponent(e)+"="+encodeURIComponent(t),o('Built stat "%s" in group "%s"',t,e);return n}(e,t);a.mcAnalyticsEnabled&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom"+n+"&t="+Math.random())}},pageView:{record:function(e,t){a.tracks.recordPageView(e),a.ga.recordPageView(e,t)}},purchase:{record:function(e,t,n,s,o,r,i){a.ga.recordPurchase(e,t,n,s,o,r,i)}},tracks:{recordEvent:function(e,t){t=t||{},0===e.indexOf("akismet_")||0===e.indexOf("jetpack_")?(r&&(o("- Super Props: %o",r),t=Object.assign(t,r)),o('Record event "%s" called with props %s',e,JSON.stringify(t)),window._tkq.push(["recordEvent",e,t])):o('- Event name must be prefixed by "akismet_" or "jetpack_"')},recordJetpackClick:function(e){const t="object"==typeof e?e:{target:e};a.tracks.recordEvent("jetpack_wpa_click",t)},recordPageView:function(e){a.tracks.recordEvent("akismet_page_view",{path:e})},setOptOut:function(e){o("Pushing setOptOut: %o",e),window._tkq.push(["setOptOut",e])}},ga:{initialized:!1,initialize:function(){let e={};a.ga.initialized||(i&&(e={userId:"u-"+i.ID}),window.ga("create",this.googleAnalyticsKey,"auto",e),a.ga.initialized=!0)},recordPageView:function(e,t){a.ga.initialize(),o("Recording Page View ~ [URL: "+e+"] [Title: "+t+"]"),this.googleAnalyticsEnabled&&(window.ga("set","page",e),window.ga("send",{hitType:"pageview",page:e,title:t}))},recordEvent:function(e,t,n,s){a.ga.initialize();let r="Recording Event ~ [Category: "+e+"] [Action: "+t+"]";void 0!==n&&(r+=" [Option Label: "+n+"]"),void 0!==s&&(r+=" [Option Value: "+s+"]"),o(r),this.googleAnalyticsEnabled&&window.ga("send","event",e,t,n,s)},recordPurchase:function(e,t,n,s,o,r,i){window.ga("require","ecommerce"),window.ga("ecommerce:addTransaction",{id:e,revenue:s,currency:i}),window.ga("ecommerce:addItem",{id:e,name:t,sku:n,price:o,quantity:r}),window.ga("ecommerce:send")}},identifyUser:function(){i&&window._tkq.push(["identifyUser",i.ID,i.username])},setProperties:function(e){window._tkq.push(["setProperties",e])},clearedIdentity:function(){window._tkq.push(["clearIdentity"])}},c=a},985:(e,t,n)=>{"use strict";n.d(t,{st:()=>s.A});n(34),n(595),n(265);var s=n(489);n(923),n(877),n(335),n(290)},877:(e,t,n)=>{"use strict";n(609)},335:(e,t,n)=>{"use strict";n(468)},489:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var s=n(372),o=n(384),r=n(468);const{tracks:i}=s.A,{recordEvent:a}=i,c=({pageViewEventName:e=null,pageViewNamespace:t="jetpack",pageViewSuffix:n="page_view",pageViewEventProperties:c={}}={})=>{const[u,l]=(0,r.useState)(!1),{isUserConnected:d,isRegistered:p,userConnectionData:g={}}=(0,o.useConnection)(),{wpcomUser:{login:w,ID:f}={},blogId:C}=g.currentUser||{},m=(0,r.useCallback)((async(e,t={})=>{d&&f&&w&&a(e,t)}),[d,f,w]);return(0,r.useEffect)((()=>{d&&f&&w&&C&&s.A.initialize(f,w,{blog_id:C})}),[C,f,w,d]),(0,r.useEffect)((()=>{const s=e?`${t}_${e}_${n}`:null;p&&s&&(u||(m(s,c),l(!0)))}),[u,t,e,n,p,c,m]),{recordEvent:m,tracks:i}}},923:(e,t,n)=>{"use strict";n(143),n(468),n(290)},105:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>d,E9:()=>l});var s=n(143),o=n(634),r=n(478),i=n(290);const a="SET_JETPACK_MODULES";function c(e){return l({isLoading:e})}function u(e,t){return{type:"SET_MODULE_UPDATING",name:e,isUpdating:t}}function l(e){return{type:a,options:e}}const d={updateJetpackModuleStatus:function*(e){try{yield u(e.name,!0),yield(0,r.sB)(e);const t=yield(0,r.wz)();return yield l({data:t}),!0}catch(e){const t=(0,s.select)(i.F).getJetpackModules();return yield l(t),!1}finally{yield u(e.name,!1)}},setJetpackModules:l,fetchModules:function*(){if((0,o.Sy)())return!0;try{yield c(!0);const e=yield(0,r.wz)();return yield l({data:e}),!0}catch(e){const t=(0,s.select)(i.F).getJetpackModules();return yield l(t),!1}finally{yield c(!1)}}}},478:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>u,sB:()=>c,wz:()=>a});var s=n(455),o=n.n(s);const r="FETCH_JETPACK_MODULES",i="UPDATE_JETPACK_MODULE_STATUS",a=()=>({type:r}),c=e=>({type:i,settings:e}),u={[r]:function(){return o()({path:"/jetpack/v4/module/all",method:"GET"})},[i]:function({settings:e}){return o()({path:`/jetpack/v4/module/${e.name}/active`,method:"POST",data:{active:e.active}})}}},290:(e,t,n)=>{"use strict";n.d(t,{F:()=>u});var s=n(143),o=n(105),r=n(478),i=n(862),a=n(701),c=n(640);const u="jetpack-modules",l=(0,s.createReduxStore)(u,{reducer:i.A,actions:o.Ay,controls:r.Ay,resolvers:a.A,selectors:c.A});(0,s.register)(l);const d=window?.Initial_State?.getModules||window?.Jetpack_Editor_Initial_State?.modules||null;null!==d&&(0,s.dispatch)(u).setJetpackModules({data:{...d}})},862:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});const s={isLoading:!1,isUpdating:{},data:{}},o=(e=s,t)=>{switch(t.type){case"SET_JETPACK_MODULES":return{...e,...t.options};case"SET_MODULE_UPDATING":return{...e,isUpdating:{...e.isUpdating,[t.name]:t.isUpdating}}}return e}},701:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});var s=n(105),o=n(478);const r={getJetpackModules:function*(){try{const e=yield(0,o.wz)();if(e)return(0,s.E9)({data:e})}catch(e){console.error(e)}}}},640:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var s=n(634);const o={getJetpackModules:e=>e.data,isModuleActive:(e,t)=>(0,s.Sy)()||(e?.data?.[t]?.activated??!1),areModulesLoading:e=>e.isLoading??!1,isModuleUpdating:(e,t)=>e?.isUpdating?.[t]??!1}},265:(e,t,n)=>{"use strict";var s=n(723);n(832),n(87);const __=s.__;__("Upgrade your plan to use video covers","jetpack-blaze"),__("Upgrade your plan to upload audio","jetpack-blaze")},34:(e,t,n)=>{"use strict";n(279)},634:(e,t,n)=>{"use strict";function s(){return"object"==typeof window&&"string"==typeof window._currentSiteType?window._currentSiteType:null}function o(){return"simple"===s()}n.d(t,{Sy:()=>o})},595:(e,t,n)=>{"use strict";n(72),n(491)},368:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var s=n(427);function o(){return React.createElement(s.SVG,{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement(s.G,{clipPath:"url(#clip0_4728_49296)"},React.createElement("circle",{cx:"12",cy:"12",r:"12",fill:"#D9D9D9"}),React.createElement("circle",{cx:"12",cy:"12",r:"12",fill:"black"}),React.createElement(s.Path,{d:"M14.8665 6.68544C14.7139 6.50468 14.4652 6.43826 14.2436 6.52015C14.0224 6.60204 13.875 6.81412 13.875 7.05149V8.71684C13.875 9.02893 13.6226 9.2829 13.3125 9.2829C13.0024 9.2829 12.75 9.02893 12.75 8.71684V4.72989C12.75 4.56762 12.681 4.41365 12.5602 4.3061C12.4354 4.19515 12.3622 4.13288 12.3622 4.13288C12.1537 3.95627 11.8485 3.95552 11.6389 4.13175C11.4086 4.32572 6 8.9327 6 13.434C6 16.7632 8.69175 19.472 12 19.472C15.3082 19.472 18 16.7632 18 13.434C18 10.9267 16.296 8.38022 14.8665 6.68544ZM12.0728 18.5274C11.508 18.544 10.9699 18.3259 10.5259 17.9742C8.3535 16.2537 10.3856 13.4982 11.4469 12.3106C11.7435 11.9789 12.2584 11.9807 12.555 12.3125C13.2742 13.1178 14.4375 14.6416 14.4375 16.0756C14.4375 17.4059 13.3853 18.4885 12.0728 18.5274Z",fill:"white"})))}},384:e=>{"use strict";e.exports=window.JetpackConnection},609:e=>{"use strict";e.exports=window.React},790:e=>{"use strict";e.exports=window.ReactJSXRuntime},87:e=>{"use strict";e.exports=window.lodash},455:e=>{"use strict";e.exports=window.wp.apiFetch},427:e=>{"use strict";e.exports=window.wp.components},491:e=>{"use strict";e.exports=window.wp.compose},143:e=>{"use strict";e.exports=window.wp.data},309:e=>{"use strict";e.exports=window.wp.editPost},656:e=>{"use strict";e.exports=window.wp.editor},468:e=>{"use strict";e.exports=window.wp.element},723:e=>{"use strict";e.exports=window.wp.i18n},279:e=>{"use strict";e.exports=window.wp.plugins},573:e=>{"use strict";e.exports=window.wp.primitives},832:e=>{"use strict";e.exports=window.wp.url},72:e=>{function t(){return e.exports=t=Object.assign?Object.assign.bind():function(e){for(var t=1;t{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var s in t)n.o(t,s)&&!n.o(e,s)&&Object.defineProperty(e,s,{enumerable:!0,get:t[s]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";var e=n(985),t=n(427),s=n(491),o=n(143),r=n(309),i=n(656),a=n(468),c=n(723),u=n(113),l=n(512),d=n(279),p=n(368);const __=c.__,g=()=>{const{blazeUrlTemplate:n}=window?.blazeInitialState||{},{tracks:c}=(0,e.st)(),d=(0,a.useCallback)((()=>c.recordEvent("jetpack_editor_blaze_publish_click")),[c]),{isPostPublished:g,isPublishingPost:w,postId:f,postType:C,postVisibility:m}=(0,o.useSelect)((e=>({isPostPublished:e(i.store).isCurrentPostPublished(),isPublishingPost:e(i.store).isPublishingPost(),postId:e(i.store).getCurrentPostId(),postType:e(i.store).getCurrentPostType(),postVisibility:e(i.store).getEditedPostVisibility()}))),h=(0,s.usePrevious)(w),y={name:"blaze-panel",title:__("Promote with Blaze","jetpack-blaze"),className:"blaze-panel",icon:React.createElement(p.A,null),initialOpen:!0},v=n.link.replace("__POST_ID__",f),b=(0,a.useCallback)((()=>!!["page","post","product"].includes(C)&&!(!g||"password"===m||"private"===m)),[C,g,m]);if((0,a.useEffect)((()=>{h&&!w&&b()&&g&&c.recordEvent("jetpack_editor_blaze_post_publish_panel_view")}),[c,w,g,h,b]),!b())return null;const F={page:__("Blaze this page","jetpack-blaze"),post:__("Blaze this post","jetpack-blaze"),product:__("Blaze this product","jetpack-blaze")}[C]??__("Blaze this post","jetpack-blaze");return React.createElement(r.PluginPostPublishPanel,y,React.createElement(t.PanelRow,null,React.createElement("p",null,__("Reach a larger audience boosting the content to the WordPress.com community of blogs and sites.","jetpack-blaze"))),React.createElement("div",{role:"link",className:"post-publish-panel__postpublish-buttons",tabIndex:0,onClick:d,onKeyDown:d},React.createElement(t.Button,{variant:"secondary",href:v,target:"_top"},F,n.external&&React.createElement(u.A,{icon:l.A,className:"blaze-panel-outbound-link__external_icon"}))))};(0,d.getPlugin)("jetpack-blaze")||(0,d.registerPlugin)("jetpack-blaze",{render:g})})()})(); \ No newline at end of file +(()=>{var e={113:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var s=n(468);const o=(0,s.forwardRef)((function({icon:e,size:t=24,...n},o){return(0,s.cloneElement)(e,{width:t,height:t,...n,ref:o})}))},512:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});var s=n(573),o=n(790);const r=(0,o.jsx)(s.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(s.Path,{d:"M19.5 4.5h-7V6h4.44l-5.97 5.97 1.06 1.06L18 7.06v4.44h1.5v-7Zm-13 1a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-3H17v3a.5.5 0 0 1-.5.5h-10a.5.5 0 0 1-.5-.5v-10a.5.5 0 0 1 .5-.5h3V5.5h-3Z"})})},941:(e,t,n)=>{t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const n="color: "+this.color;t.splice(1,0,n,"color: inherit");let s=0,o=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(s++,"%c"===e&&(o=s))})),t.splice(o,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(e){}!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=n(212)(t);const{formatters:s}=e.exports;s.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},212:(e,t,n)=>{e.exports=function(e){function t(e){let n,o,r,i=null;function a(...e){if(!a.enabled)return;const s=a,o=Number(new Date),r=o-(n||o);s.diff=r,s.prev=n,s.curr=o,n=o,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let i=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,((n,o)=>{if("%%"===n)return"%";i++;const r=t.formatters[o];if("function"==typeof r){const t=e[i];n=r.call(s,t),e.splice(i,1),i--}return n})),t.formatArgs.call(s,e);(s.log||t.log).apply(s,e)}return a.namespace=e,a.useColors=t.useColors(),a.color=t.selectColor(e),a.extend=s,a.destroy=t.destroy,Object.defineProperty(a,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==i?i:(o!==t.namespaces&&(o=t.namespaces,r=t.enabled(e)),r),set:e=>{i=e}}),"function"==typeof t.init&&t.init(a),a}function s(e,n){const s=t(this.namespace+(void 0===n?":":n)+e);return s.log=this.log,s}function o(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},t.disable=function(){const e=[...t.names.map(o),...t.skips.map(o).map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){let n;t.save(e),t.namespaces=e,t.names=[],t.skips=[];const s=("string"==typeof e?e:"").split(/[\s,]+/),o=s.length;for(n=0;n{t[n]=e[n]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let n=0;for(let t=0;t{var t=1e3,n=60*t,s=60*n,o=24*s,r=7*o,i=365.25*o;function a(e,t,n,s){var o=t>=1.5*n;return Math.round(e/n)+" "+s+(o?"s":"")}e.exports=function(e,c){c=c||{};var u=typeof e;if("string"===u&&e.length>0)return function(e){if((e=String(e)).length>100)return;var a=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!a)return;var c=parseFloat(a[1]);switch((a[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return c*i;case"weeks":case"week":case"w":return c*r;case"days":case"day":case"d":return c*o;case"hours":case"hour":case"hrs":case"hr":case"h":return c*s;case"minutes":case"minute":case"mins":case"min":case"m":return c*n;case"seconds":case"second":case"secs":case"sec":case"s":return c*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return c;default:return}}(e);if("number"===u&&isFinite(e))return c.long?function(e){var r=Math.abs(e);if(r>=o)return a(e,r,o,"day");if(r>=s)return a(e,r,s,"hour");if(r>=n)return a(e,r,n,"minute");if(r>=t)return a(e,r,t,"second");return e+" ms"}(e):function(e){var r=Math.abs(e);if(r>=o)return Math.round(e/o)+"d";if(r>=s)return Math.round(e/s)+"h";if(r>=n)return Math.round(e/n)+"m";if(r>=t)return Math.round(e/t)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},372:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var s=n(941);const o=n.n(s)()("dops:analytics");let r,i;window._tkq=window._tkq||[],window.ga=window.ga||function(){(window.ga.q=window.ga.q||[]).push(arguments)},window.ga.l=+new Date;const a={initialize:function(e,t,n){a.setUser(e,t),a.setSuperProps(n),a.identifyUser()},setGoogleAnalyticsEnabled:function(e,t=null){this.googleAnalyticsEnabled=e,this.googleAnalyticsKey=t},setMcAnalyticsEnabled:function(e){this.mcAnalyticsEnabled=e},setUser:function(e,t){i={ID:e,username:t}},setSuperProps:function(e){r=e},assignSuperProps:function(e){r=Object.assign(r||{},e)},mc:{bumpStat:function(e,t){const n=function(e,t){let n="";if("object"==typeof e){for(const t in e)n+="&x_"+encodeURIComponent(t)+"="+encodeURIComponent(e[t]);o("Bumping stats %o",e)}else n="&x_"+encodeURIComponent(e)+"="+encodeURIComponent(t),o('Bumping stat "%s" in group "%s"',t,e);return n}(e,t);a.mcAnalyticsEnabled&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom-no-pv"+n+"&t="+Math.random())},bumpStatWithPageView:function(e,t){const n=function(e,t){let n="";if("object"==typeof e){for(const t in e)n+="&"+encodeURIComponent(t)+"="+encodeURIComponent(e[t]);o("Built stats %o",e)}else n="&"+encodeURIComponent(e)+"="+encodeURIComponent(t),o('Built stat "%s" in group "%s"',t,e);return n}(e,t);a.mcAnalyticsEnabled&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom"+n+"&t="+Math.random())}},pageView:{record:function(e,t){a.tracks.recordPageView(e),a.ga.recordPageView(e,t)}},purchase:{record:function(e,t,n,s,o,r,i){a.ga.recordPurchase(e,t,n,s,o,r,i)}},tracks:{recordEvent:function(e,t){t=t||{},0===e.indexOf("akismet_")||0===e.indexOf("jetpack_")?(r&&(o("- Super Props: %o",r),t=Object.assign(t,r)),o('Record event "%s" called with props %s',e,JSON.stringify(t)),window._tkq.push(["recordEvent",e,t])):o('- Event name must be prefixed by "akismet_" or "jetpack_"')},recordJetpackClick:function(e){const t="object"==typeof e?e:{target:e};a.tracks.recordEvent("jetpack_wpa_click",t)},recordPageView:function(e){a.tracks.recordEvent("akismet_page_view",{path:e})},setOptOut:function(e){o("Pushing setOptOut: %o",e),window._tkq.push(["setOptOut",e])}},ga:{initialized:!1,initialize:function(){let e={};a.ga.initialized||(i&&(e={userId:"u-"+i.ID}),window.ga("create",this.googleAnalyticsKey,"auto",e),a.ga.initialized=!0)},recordPageView:function(e,t){a.ga.initialize(),o("Recording Page View ~ [URL: "+e+"] [Title: "+t+"]"),this.googleAnalyticsEnabled&&(window.ga("set","page",e),window.ga("send",{hitType:"pageview",page:e,title:t}))},recordEvent:function(e,t,n,s){a.ga.initialize();let r="Recording Event ~ [Category: "+e+"] [Action: "+t+"]";void 0!==n&&(r+=" [Option Label: "+n+"]"),void 0!==s&&(r+=" [Option Value: "+s+"]"),o(r),this.googleAnalyticsEnabled&&window.ga("send","event",e,t,n,s)},recordPurchase:function(e,t,n,s,o,r,i){window.ga("require","ecommerce"),window.ga("ecommerce:addTransaction",{id:e,revenue:s,currency:i}),window.ga("ecommerce:addItem",{id:e,name:t,sku:n,price:o,quantity:r}),window.ga("ecommerce:send")}},identifyUser:function(){i&&window._tkq.push(["identifyUser",i.ID,i.username])},setProperties:function(e){window._tkq.push(["setProperties",e])},clearedIdentity:function(){window._tkq.push(["clearIdentity"])}},c=a},985:(e,t,n)=>{"use strict";n.d(t,{st:()=>s.A});n(34),n(595),n(265);var s=n(489);n(923),n(877),n(335),n(290)},877:(e,t,n)=>{"use strict";n(609)},335:(e,t,n)=>{"use strict";n(468)},489:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var s=n(372),o=n(384),r=n(468);const{tracks:i}=s.A,{recordEvent:a}=i,c=({pageViewEventName:e=null,pageViewNamespace:t="jetpack",pageViewSuffix:n="page_view",pageViewEventProperties:c={}}={})=>{const[u,l]=(0,r.useState)(!1),{isUserConnected:d,isRegistered:p,userConnectionData:g={}}=(0,o.useConnection)(),{wpcomUser:{login:w,ID:f}={},blogId:C}=g.currentUser||{},m=(0,r.useCallback)((async(e,t={})=>{d&&f&&w&&a(e,t)}),[d,f,w]);return(0,r.useEffect)((()=>{d&&f&&w&&C&&s.A.initialize(f,w,{blog_id:C})}),[C,f,w,d]),(0,r.useEffect)((()=>{const s=e?`${t}_${e}_${n}`:null;p&&s&&(u||(m(s,c),l(!0)))}),[u,t,e,n,p,c,m]),{recordEvent:m,tracks:i}}},923:(e,t,n)=>{"use strict";n(143),n(468),n(290)},105:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>d,E9:()=>l});var s=n(143),o=n(634),r=n(478),i=n(290);const a="SET_JETPACK_MODULES";function c(e){return l({isLoading:e})}function u(e,t){return{type:"SET_MODULE_UPDATING",name:e,isUpdating:t}}function l(e){return{type:a,options:e}}const d={updateJetpackModuleStatus:function*(e){try{yield u(e.name,!0),yield(0,r.sB)(e);const t=yield(0,r.wz)();return yield l({data:t}),!0}catch{const e=(0,s.select)(i.F).getJetpackModules();return yield l(e),!1}finally{yield u(e.name,!1)}},setJetpackModules:l,fetchModules:function*(){if((0,o.Sy)())return!0;try{yield c(!0);const e=yield(0,r.wz)();return yield l({data:e}),!0}catch{const e=(0,s.select)(i.F).getJetpackModules();return yield l(e),!1}finally{yield c(!1)}}}},478:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>u,sB:()=>c,wz:()=>a});var s=n(455),o=n.n(s);const r="FETCH_JETPACK_MODULES",i="UPDATE_JETPACK_MODULE_STATUS",a=()=>({type:r}),c=e=>({type:i,settings:e}),u={[r]:function(){return o()({path:"/jetpack/v4/module/all",method:"GET"})},[i]:function({settings:e}){return o()({path:`/jetpack/v4/module/${e.name}/active`,method:"POST",data:{active:e.active}})}}},290:(e,t,n)=>{"use strict";n.d(t,{F:()=>u});var s=n(143),o=n(105),r=n(478),i=n(862),a=n(701),c=n(640);const u="jetpack-modules",l=(0,s.createReduxStore)(u,{reducer:i.A,actions:o.Ay,controls:r.Ay,resolvers:a.A,selectors:c.A});(0,s.register)(l);const d=window?.Initial_State?.getModules||window?.Jetpack_Editor_Initial_State?.modules||null;null!==d&&(0,s.dispatch)(u).setJetpackModules({data:{...d}})},862:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});const s={isLoading:!1,isUpdating:{},data:{}},o=(e=s,t)=>{switch(t.type){case"SET_JETPACK_MODULES":return{...e,...t.options};case"SET_MODULE_UPDATING":return{...e,isUpdating:{...e.isUpdating,[t.name]:t.isUpdating}}}return e}},701:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});var s=n(105),o=n(478);const r={getJetpackModules:function*(){try{const e=yield(0,o.wz)();if(e)return(0,s.E9)({data:e})}catch(e){console.error(e)}}}},640:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var s=n(634);const o={getJetpackModules:e=>e.data,isModuleActive:(e,t)=>(0,s.Sy)()||(e?.data?.[t]?.activated??!1),areModulesLoading:e=>e.isLoading??!1,isModuleUpdating:(e,t)=>e?.isUpdating?.[t]??!1}},265:(e,t,n)=>{"use strict";var s=n(723);n(832),n(87);const __=s.__;__("Upgrade your plan to use video covers","jetpack-blaze"),__("Upgrade your plan to upload audio","jetpack-blaze")},34:(e,t,n)=>{"use strict";n(279)},634:(e,t,n)=>{"use strict";function s(){return"object"==typeof window&&"string"==typeof window._currentSiteType?window._currentSiteType:null}function o(){return"simple"===s()}n.d(t,{Sy:()=>o})},595:(e,t,n)=>{"use strict";n(72),n(491)},368:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var s=n(427);function o(){return React.createElement(s.SVG,{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement(s.G,{clipPath:"url(#clip0_4728_49296)"},React.createElement("circle",{cx:"12",cy:"12",r:"12",fill:"#D9D9D9"}),React.createElement("circle",{cx:"12",cy:"12",r:"12",fill:"black"}),React.createElement(s.Path,{d:"M14.8665 6.68544C14.7139 6.50468 14.4652 6.43826 14.2436 6.52015C14.0224 6.60204 13.875 6.81412 13.875 7.05149V8.71684C13.875 9.02893 13.6226 9.2829 13.3125 9.2829C13.0024 9.2829 12.75 9.02893 12.75 8.71684V4.72989C12.75 4.56762 12.681 4.41365 12.5602 4.3061C12.4354 4.19515 12.3622 4.13288 12.3622 4.13288C12.1537 3.95627 11.8485 3.95552 11.6389 4.13175C11.4086 4.32572 6 8.9327 6 13.434C6 16.7632 8.69175 19.472 12 19.472C15.3082 19.472 18 16.7632 18 13.434C18 10.9267 16.296 8.38022 14.8665 6.68544ZM12.0728 18.5274C11.508 18.544 10.9699 18.3259 10.5259 17.9742C8.3535 16.2537 10.3856 13.4982 11.4469 12.3106C11.7435 11.9789 12.2584 11.9807 12.555 12.3125C13.2742 13.1178 14.4375 14.6416 14.4375 16.0756C14.4375 17.4059 13.3853 18.4885 12.0728 18.5274Z",fill:"white"})))}},384:e=>{"use strict";e.exports=window.JetpackConnection},609:e=>{"use strict";e.exports=window.React},790:e=>{"use strict";e.exports=window.ReactJSXRuntime},87:e=>{"use strict";e.exports=window.lodash},455:e=>{"use strict";e.exports=window.wp.apiFetch},427:e=>{"use strict";e.exports=window.wp.components},491:e=>{"use strict";e.exports=window.wp.compose},143:e=>{"use strict";e.exports=window.wp.data},309:e=>{"use strict";e.exports=window.wp.editPost},656:e=>{"use strict";e.exports=window.wp.editor},468:e=>{"use strict";e.exports=window.wp.element},723:e=>{"use strict";e.exports=window.wp.i18n},279:e=>{"use strict";e.exports=window.wp.plugins},573:e=>{"use strict";e.exports=window.wp.primitives},832:e=>{"use strict";e.exports=window.wp.url},72:e=>{function t(){return e.exports=t=Object.assign?Object.assign.bind():function(e){for(var t=1;t{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var s in t)n.o(t,s)&&!n.o(e,s)&&Object.defineProperty(e,s,{enumerable:!0,get:t[s]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";var e=n(985),t=n(427),s=n(491),o=n(143),r=n(309),i=n(656),a=n(468),c=n(723),u=n(113),l=n(512),d=n(279),p=n(368);const __=c.__,g=()=>{const{blazeUrlTemplate:n}=window?.blazeInitialState||{},{tracks:c}=(0,e.st)(),d=(0,a.useCallback)((()=>c.recordEvent("jetpack_editor_blaze_publish_click")),[c]),{isPostPublished:g,isPublishingPost:w,postId:f,postType:C,postVisibility:m}=(0,o.useSelect)((e=>({isPostPublished:e(i.store).isCurrentPostPublished(),isPublishingPost:e(i.store).isPublishingPost(),postId:e(i.store).getCurrentPostId(),postType:e(i.store).getCurrentPostType(),postVisibility:e(i.store).getEditedPostVisibility()}))),h=(0,s.usePrevious)(w),y={name:"blaze-panel",title:__("Promote with Blaze","jetpack-blaze"),className:"blaze-panel",icon:React.createElement(p.A,null),initialOpen:!0},v=n.link.replace("__POST_ID__",f),b=(0,a.useCallback)((()=>!!["page","post","product"].includes(C)&&!(!g||"password"===m||"private"===m)),[C,g,m]);if((0,a.useEffect)((()=>{h&&!w&&b()&&g&&c.recordEvent("jetpack_editor_blaze_post_publish_panel_view")}),[c,w,g,h,b]),!b())return null;const F={page:__("Blaze this page","jetpack-blaze"),post:__("Blaze this post","jetpack-blaze"),product:__("Blaze this product","jetpack-blaze")}[C]??__("Blaze this post","jetpack-blaze");return React.createElement(r.PluginPostPublishPanel,y,React.createElement(t.PanelRow,null,React.createElement("p",null,__("Reach a larger audience boosting the content to the WordPress.com community of blogs and sites.","jetpack-blaze"))),React.createElement("div",{role:"link",className:"post-publish-panel__postpublish-buttons",tabIndex:0,onClick:d,onKeyDown:d},React.createElement(t.Button,{variant:"secondary",href:v,target:"_top"},F,n.external&&React.createElement(u.A,{icon:l.A,className:"blaze-panel-outbound-link__external_icon"}))))};(0,d.getPlugin)("jetpack-blaze")||(0,d.registerPlugin)("jetpack-blaze",{render:g})})()})(); \ No newline at end of file diff --git a/jetpack_vendor/automattic/jetpack-connection/dist/jetpack-connection.asset.php b/jetpack_vendor/automattic/jetpack-connection/dist/jetpack-connection.asset.php index a518aef0f9..2c6cf008dc 100644 --- a/jetpack_vendor/automattic/jetpack-connection/dist/jetpack-connection.asset.php +++ b/jetpack_vendor/automattic/jetpack-connection/dist/jetpack-connection.asset.php @@ -1 +1 @@ - array('jetpack-script-data', 'react', 'react-jsx-runtime', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-primitives', 'wp-url'), 'version' => 'eb297001421eed2aa7ff'); + array('jetpack-script-data', 'react', 'react-jsx-runtime', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-primitives', 'wp-url'), 'version' => 'bc8ee5ac3a110a6aed54'); diff --git a/jetpack_vendor/automattic/jetpack-connection/dist/jetpack-connection.js b/jetpack_vendor/automattic/jetpack-connection/dist/jetpack-connection.js index 1264f96e3d..3de6698f8f 100644 --- a/jetpack_vendor/automattic/jetpack-connection/dist/jetpack-connection.js +++ b/jetpack_vendor/automattic/jetpack-connection/dist/jetpack-connection.js @@ -3,5 +3,5 @@ __("(opens in a new tab)","jetpack-connection"))),A=f?"_blank":void 0,N=t?.[0]&&null!==t[0]&&"components-tooltip"!==t?.[0]?.props?.className;return d().createElement(c.Button,i()({target:A,variant:o,className:(0,l.A)(v,{"has-text":!!m&&N}),icon:f?void 0:m,iconSize:g,disabled:h,"aria-disabled":h,isDestructive:_,text:k},E),y&&d().createElement(c.Spinner,null),d().createElement("span",null,t),w)}));m.displayName="Button";const g=m},9121:(e,n,t)=>{"use strict";t.d(n,{A:()=>o});t(9535);const o=({format:e="horizontal",icon:n,imageUrl:t})=>React.createElement("div",{className:"jp-components__decorative-card "+(e?"jp-components__decorative-card--"+e:"")},React.createElement("div",{className:"jp-components__decorative-card__image",style:{backgroundImage:t?`url( ${t} )`:""}}),React.createElement("div",{className:"jp-components__decorative-card__content"},React.createElement("div",{className:"jp-components__decorative-card__lines"})),n?React.createElement("div",{className:"jp-components__decorative-card__icon-container"},React.createElement("span",{className:"jp-components__decorative-card__icon jp-components__decorative-card__icon--"+n})):null)},7142:(e,n,t)=>{"use strict";t.d(n,{A:()=>l});var o=t(8579),i=t.n(o),c=t(7723),r=t(2231),s=t(1609),a=t.n(s);const __=c.__,l=({logoColor:e="#069e08",showText:n=!0,className:t,height:o=32,...c})=>{const s=n?"0 0 118 32":"0 0 32 32";return a().createElement("svg",i()({xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:s,className:(0,r.A)("jetpack-logo",t),"aria-labelledby":"jetpack-logo-title",height:o},c,{role:"img"}),a().createElement("title",{id:"jetpack-logo-title"},__("Jetpack Logo","jetpack-connection")),a().createElement("path",{fill:e,d:"M16,0C7.2,0,0,7.2,0,16s7.2,16,16,16s16-7.2,16-16S24.8,0,16,0z M15,19H7l8-16V19z M17,29V13h8L17,29z"}),n&&a().createElement(a().Fragment,null,a().createElement("path",{d:"M41.3,26.6c-0.5-0.7-0.9-1.4-1.3-2.1c2.3-1.4,3-2.5,3-4.6V8h-3V6h6v13.4C46,22.8,45,24.8,41.3,26.6z"}),a().createElement("path",{d:"M65,18.4c0,1.1,0.8,1.3,1.4,1.3c0.5,0,2-0.2,2.6-0.4v2.1c-0.9,0.3-2.5,0.5-3.7,0.5c-1.5,0-3.2-0.5-3.2-3.1V12H60v-2h2.1V7.1 H65V10h4v2h-4V18.4z"}),a().createElement("path",{d:"M71,10h3v1.3c1.1-0.8,1.9-1.3,3.3-1.3c2.5,0,4.5,1.8,4.5,5.6s-2.2,6.3-5.8,6.3c-0.9,0-1.3-0.1-2-0.3V28h-3V10z M76.5,12.3 c-0.8,0-1.6,0.4-2.5,1.2v5.9c0.6,0.1,0.9,0.2,1.8,0.2c2,0,3.2-1.3,3.2-3.9C79,13.4,78.1,12.3,76.5,12.3z"}),a().createElement("path",{d:"M93,22h-3v-1.5c-0.9,0.7-1.9,1.5-3.5,1.5c-1.5,0-3.1-1.1-3.1-3.2c0-2.9,2.5-3.4,4.2-3.7l2.4-0.3v-0.3c0-1.5-0.5-2.3-2-2.3 c-0.7,0-2.3,0.5-3.7,1.1L84,11c1.2-0.4,3-1,4.4-1c2.7,0,4.6,1.4,4.6,4.7L93,22z M90,16.4l-2.2,0.4c-0.7,0.1-1.4,0.5-1.4,1.6 c0,0.9,0.5,1.4,1.3,1.4s1.5-0.5,2.3-1V16.4z"}),a().createElement("path",{d:"M104.5,21.3c-1.1,0.4-2.2,0.6-3.5,0.6c-4.2,0-5.9-2.4-5.9-5.9c0-3.7,2.3-6,6.1-6c1.4,0,2.3,0.2,3.2,0.5V13 c-0.8-0.3-2-0.6-3.2-0.6c-1.7,0-3.2,0.9-3.2,3.6c0,2.9,1.5,3.8,3.3,3.8c0.9,0,1.9-0.2,3.2-0.7V21.3z"}),a().createElement("path",{d:"M110,15.2c0.2-0.3,0.2-0.8,3.8-5.2h3.7l-4.6,5.7l5,6.3h-3.7l-4.2-5.8V22h-3V6h3V15.2z"}),a().createElement("path",{d:"M58.5,21.3c-1.5,0.5-2.7,0.6-4.2,0.6c-3.6,0-5.8-1.8-5.8-6c0-3.1,1.9-5.9,5.5-5.9s4.9,2.5,4.9,4.9c0,0.8,0,1.5-0.1,2h-7.3 c0.1,2.5,1.5,2.8,3.6,2.8c1.1,0,2.2-0.3,3.4-0.7C58.5,19,58.5,21.3,58.5,21.3z M56,15c0-1.4-0.5-2.9-2-2.9c-1.4,0-2.3,1.3-2.4,2.9 C51.6,15,56,15,56,15z"})))}},442:(e,n,t)=>{"use strict";t.d(n,{A:()=>r});var o=t(9491),i=t(8403);const c=["sm","md","lg"],r=(e,n)=>{const t=Array.isArray(e)?e:[e],r=Array.isArray(n)?n:[n],[s,a,l]=c,p={sm:(0,o.useMediaQuery)(i.A[s]),md:(0,o.useMediaQuery)(i.A[a]),lg:(0,o.useMediaQuery)(i.A[l])};return t.map(((e,n)=>{const t=r[n];return t?((e,n,t)=>{const o=c.indexOf(e),i=o+1,r=n.includes("=");let s=[];return n.startsWith("<")&&(s=c.slice(0,r?i:o)),n.startsWith(">")&&(s=c.slice(r?o:i)),s?.length?s.some((e=>t[e])):t[e]})(e,t,p):p[e]}))}},1876:(e,n,t)=>{"use strict";t.d(n,{A:()=>s});var o=t(2231),i=t(1609),c=t.n(i),r=t(6406);const s=({children:e=null,width:n=null,height:t=null,className:i=""})=>c().createElement("div",{className:(0,o.A)(r.A.placeholder,i),style:{width:n,height:t}},e)},9957:(e,n,t)=>{"use strict";t.d(n,{A:()=>l});var o=t(4761),i=t(6427),c=t(7723),r=t(1876),s=t(5879);t(4319);const __=c.__,a=e=>-1===e.fraction.indexOf("00"),l=({currencyCode:e="USD",priceDetails:n=__("/month, paid yearly","jetpack-connection"),...t})=>{const l=(0,o.vA)(t.priceBefore,e),p=(0,o.vA)(t.priceAfter,e);return React.createElement("div",{className:"jp-components__pricing-card"},t.icon&&React.createElement("div",{className:"jp-components__pricing-card__icon"},"string"==typeof t.icon?React.createElement("img",{src:t.icon,alt:(0,c.sprintf)(/* translators: placeholder is a product name */ __("Icon for the product %s","jetpack-connection"),t.title)}):t.icon),React.createElement("h1",{className:"jp-components__pricing-card__title"},t.title),React.createElement("div",{className:"jp-components__pricing-card__pricing"},0===t.priceAfter&&React.createElement(r.A,{width:"100%",height:48}),t.priceBefore!==t.priceAfter&&t.priceAfter>0&&React.createElement("div",{className:"jp-components__pricing-card__price-before"},React.createElement("span",{className:"jp-components__pricing-card__currency"},l.symbol),React.createElement("span",{className:"jp-components__pricing-card__price"},l.integer),a(l)&&React.createElement("span",{className:"jp-components__pricing-card__price-decimal"}," ",l.fraction),React.createElement("div",{className:"jp-components__pricing-card__price-strikethrough"})),t.priceAfter>0&&React.createElement(React.Fragment,null,React.createElement("div",{className:"jp-components__pricing-card__price-after"},React.createElement("span",{className:"jp-components__pricing-card__currency"},p.symbol),React.createElement("span",{className:"jp-components__pricing-card__price"},p.integer),a(p)&&React.createElement("span",{className:"jp-components__pricing-card__price-decimal"},p.fraction)),React.createElement("span",{className:"jp-components__pricing-card__price-details"},n))),t.children&&React.createElement("div",{className:"jp-components__pricing-card__extra-content-wrapper"},t.children),t.tosText&&React.createElement("div",{className:"jp-components__pricing-card__tos"},t.tosText),t.ctaText&&React.createElement(React.Fragment,null,!t.tosText&&React.createElement("div",{className:"jp-components__pricing-card__tos"},React.createElement(s.A,{agreeButtonLabel:t.ctaText})),React.createElement("div",{className:"jp-components__pricing-card__cta"},React.createElement(i.Button,{className:"jp-components__pricing-card__button",label:t.ctaText,onClick:t.onCtaClick},t.ctaText))),t.infoText&&React.createElement("div",{className:"jp-components__pricing-card__info"},t.infoText))}},6461:(e,n,t)=>{"use strict";t.d(n,{A:()=>a});var o=t(3619),i=t.n(o),c=t(1609),r=t.n(c);t(8325);const s=({color:e="#FFFFFF",className:n="",size:t=20})=>{const o=n+" jp-components-spinner",i={width:t,height:t,fontSize:t,borderTopColor:e},c={borderTopColor:e,borderRightColor:e};return r().createElement("div",{className:o},r().createElement("div",{className:"jp-components-spinner__outer",style:i},r().createElement("div",{className:"jp-components-spinner__inner",style:c})))};s.propTypes={color:i().string,className:i().string,size:i().number};const a=s},5879:(e,n,t)=>{"use strict";t.d(n,{A:()=>m});var o=t(8579),i=t.n(o),c=t(6087),r=t(7723),s=t(2231),a=t(3924),l=t(7425);t(9634);const __=r.__,p=({multipleButtonsLabels:e})=>Array.isArray(e)&&e.length>1?(0,c.createInterpolateElement)((0,r.sprintf)(/* translators: %1$s is button label 1 and %2$s is button label 2 */ __("By clicking %1$s or %2$s, you agree to our Terms of Service and to sync your site‘s data with us.","jetpack-connection"),e[0],e[1]),{strong:React.createElement("strong",null),tosLink:React.createElement(u,{slug:"wpcom-tos"}),shareDetailsLink:React.createElement(u,{slug:"jetpack-support-what-data-does-jetpack-sync"})}):(0,c.createInterpolateElement)(__("By clicking the buttons above, you agree to our Terms of Service and to sync your site‘s data with us.","jetpack-connection"),{tosLink:React.createElement(u,{slug:"wpcom-tos"}),shareDetailsLink:React.createElement(u,{slug:"jetpack-support-what-data-does-jetpack-sync"})}),d=({agreeButtonLabel:e})=>(0,c.createInterpolateElement)((0,r.sprintf)(/* translators: %s is a button label */ -__("By clicking %s, you agree to our Terms of Service and to sync your site‘s data with us.","jetpack-connection"),e),{strong:React.createElement("strong",null),tosLink:React.createElement(u,{slug:"wpcom-tos"}),shareDetailsLink:React.createElement(u,{slug:"jetpack-support-what-data-does-jetpack-sync"})}),u=({slug:e,children:n})=>React.createElement("a",{className:"terms-of-service__link",href:(0,a.A)(e),rel:"noopener noreferrer",target:"_blank"},n),m=({className:e,multipleButtons:n,agreeButtonLabel:t,...o})=>React.createElement(l.Ay,i()({className:(0,s.A)(e,"terms-of-service")},o),n?React.createElement(p,{multipleButtonsLabels:n}):React.createElement(d,{agreeButtonLabel:t}))},110:(e,n,t)=>{"use strict";t.d(n,{Q:()=>o,Z:()=>i});const o={"headline-medium":"h1","headline-small":"h2","headline-small-regular":"h2","title-medium":"h3","title-medium-semi-bold":"h3","title-small":"h4",body:"p","body-small":"p","body-extra-small":"p","body-extra-small-bold":"p",label:"p"},i=["mt","mr","mb","ml","mx","my","m","pt","pr","pb","pl","px","py","p"]},7425:(e,n,t)=>{"use strict";t.d(n,{Ay:()=>d});var o=t(8579),i=t.n(o),c=t(2231),r=t(1609),s=t.n(r),a=t(110),l=t(4495);const p=(0,r.forwardRef)((({variant:e="body",children:n,component:t,className:o,...p},d)=>{const u=t||a.Q[e]||"span",m=(0,r.useMemo)((()=>a.Z.reduce(((e,n)=>(void 0!==p[n]&&(e+=l.A[`${n}-${p[n]}`]+" ",delete p[n]),e)),"")),[p]);return s().createElement(u,i()({className:(0,c.A)(l.A.reset,l.A[e],o,m)},p,{ref:d}),n)}));p.displayName="Text";const d=p},3924:(e,n,t)=>{"use strict";function o(e,n={}){const t={};let o;if("undefined"!=typeof window&&(o=window?.JP_CONNECTION_INITIAL_STATE?.calypsoEnv),0===e.search("https://")){const n=new URL(e);e=`https://${n.host}${n.pathname}`,t.url=encodeURIComponent(e)}else t.source=encodeURIComponent(e);for(const e in n)t[e]=encodeURIComponent(n[e]);!Object.keys(t).includes("site")&&"undefined"!=typeof jetpack_redirects&&Object.hasOwn(jetpack_redirects,"currentSiteRawUrl")&&(t.site=jetpack_redirects.currentBlogID??jetpack_redirects.currentSiteRawUrl),o&&(t.calypso_env=o);return"https://jetpack.com/redirect/?"+Object.keys(t).map((e=>e+"="+t[e])).join("&")}t.d(n,{A:()=>o})},6439:(e,n,t)=>{let o={};try{o=t(9074)}catch{console.error("jetpackConfig is missing in your webpack config file. See @automattic/jetpack-config"),o={missingConfig:!0}}const i=e=>Object.hasOwn(o,e);e.exports={jetpackConfigHas:i,jetpackConfigGet:e=>{if(!i(e))throw'This app requires the "'+e+'" Jetpack Config to be defined in your webpack configuration file. See details in @automattic/jetpack-config package docs.';return o[e]}}},8421:(e,n,t)=>{"use strict";t.d(n,{A:()=>d});var o=t(8089),i=t(7723),c=t(3619),r=t.n(c),s=t(1609),a=t.n(s),l=t(9660);const __=i.__,p=e=>{const{apiRoot:n,apiNonce:t,connectLabel:i=__("Connect","jetpack-connection"),registrationNonce:c,redirectUri:r=null,from:s,autoTrigger:p=!1}=e,{handleRegisterSite:d,isRegistered:u,isUserConnected:m,siteIsRegistering:g,userIsConnecting:h,registrationError:_}=(0,l.A)({registrationNonce:c,redirectUri:r,apiRoot:n,apiNonce:t,autoTrigger:p,from:s});return a().createElement(a().Fragment,null,(!u||!m)&&a().createElement(o.A,{label:i,onClick:d,displayError:!!_,isLoading:g||h}))};p.propTypes={connectLabel:r().string,apiRoot:r().string.isRequired,apiNonce:r().string.isRequired,from:r().string,redirectUri:r().string.isRequired,registrationNonce:r().string.isRequired,autoTrigger:r().bool};const d=p},6212:(e,n,t)=>{"use strict";t.d(n,{A:()=>a});var o=t(7723),i=t(1609),c=t.n(i),r=t(9660),s=t(5582);const __=o.__,a=({title:e,buttonLabel:n,loadingLabel:t,apiRoot:o,apiNonce:i,registrationNonce:a,from:l,redirectUri:p,images:d,children:u,assetBaseUrl:m,autoTrigger:g,footer:h,skipUserConnection:_,skipPricingPage:y,logo:f})=>{const{handleRegisterSite:b,siteIsRegistering:k,userIsConnecting:C,registrationError:E,isOfflineMode:v}=(0,r.A)({registrationNonce:a,redirectUri:p,apiRoot:o,apiNonce:i,autoTrigger:g,from:l,skipUserConnection:_,skipPricingPage:y}),j=Boolean(E),w=k||C,A=E?.response?.code;return c().createElement(s.A,{title:e||__("Over 5 million WordPress sites are faster and more secure","jetpack-connection"),images:d||[],assetBaseUrl:m,buttonLabel:n||__("Set up Jetpack","jetpack-connection"),loadingLabel:t,handleButtonClick:b,displayButtonError:j,errorCode:A,buttonIsLoading:w,footer:h,isOfflineMode:v,logo:f},u)}},5582:(e,n,t)=>{"use strict";t.d(n,{A:()=>u});var o=t(5879),i=t(8089),c=t(3924),r=t(6087),s=t(7723),a=t(1609),l=t.n(a),p=t(2668);t(1772);const __=s.__,d=(e,n)=>{switch(e){case"fail_domain_forbidden":case"fail_ip_forbidden":case"fail_domain_tld":case"fail_subdomain_wpcom":case"siteurl_private_ip":return __("Your site host is on a private network. Jetpack can only connect to public sites.","jetpack-connection");case"connection_disabled":return __("This site has been suspended.","jetpack-connection")}if(n)return(0,r.createInterpolateElement)(__("Unavailable in Offline Mode","jetpack-connection"),{a:l().createElement("a",{href:(0,c.A)("jetpack-support-development-mode"),target:"_blank",rel:"noopener noreferrer"})})},u=({title:e,images:n,children:t,assetBaseUrl:c,isLoading:r,buttonLabel:s,handleButtonClick:a,displayButtonError:u,errorCode:m,buttonIsLoading:g,loadingLabel:h,footer:_,isOfflineMode:y,logo:f})=>l().createElement(p.A,{title:e,assetBaseUrl:c,images:n,className:"jp-connection__connect-screen"+(r?" jp-connection__connect-screen__loading":""),logo:f},l().createElement("div",{className:"jp-connection__connect-screen__content"},t,l().createElement("div",{className:"jp-connection__connect-screen__tos"},l().createElement(o.A,{agreeButtonLabel:s})),l().createElement(i.A,{label:s,onClick:a,displayError:u||y,errorMessage:d(m,y),isLoading:g,isDisabled:y}),l().createElement("span",{className:"jp-connection__connect-screen__loading-message",role:"status"},g?h||__("Loading","jetpack-connection"):""),_&&l().createElement("div",{className:"jp-connection__connect-screen__footer"},_)))},5745:(e,n,t)=>{"use strict";t.d(n,{A:()=>c});var o=t(1609),i=t.n(o);const c=({images:e,assetBaseUrl:n=""})=>{if(!e?.length)return null;const t=e.map(((e,t)=>i().createElement(i().Fragment,{key:t},i().createElement("img",{src:n+e,alt:""}))));return i().createElement("div",{className:"jp-connection__connect-screen__image-slider"},t)}},2668:(e,n,t)=>{"use strict";t.d(n,{A:()=>a});var o=t(7142),i=t(2231),c=t(1609),r=t.n(c),s=t(5745);t(9064);const a=({title:e,children:n,className:t,assetBaseUrl:c,images:a,logo:l,rna:p=!1})=>{const d=a?.length;return r().createElement("div",{className:(0,i.A)("jp-connection__connect-screen-layout",d?"jp-connection__connect-screen-layout__two-columns":"",t?" "+t:"")},p&&r().createElement("div",{className:"jp-connection__connect-screen-layout__color-blobs"},r().createElement("div",{className:"jp-connection__connect-screen-layout__color-blobs__green"}),r().createElement("div",{className:"jp-connection__connect-screen-layout__color-blobs__yellow"}),r().createElement("div",{className:"jp-connection__connect-screen-layout__color-blobs__blue"})),r().createElement("div",{className:"jp-connection__connect-screen-layout__left"},l||r().createElement(o.A,null),r().createElement("h2",null,e),n),d?r().createElement("div",{className:"jp-connection__connect-screen-layout__right"},r().createElement(s.A,{images:a,assetBaseUrl:c})):null)}},7945:(e,n,t)=>{"use strict";t.d(n,{A:()=>u});var o=t(7723),i=t(3619),c=t.n(i),r=t(1609),s=t.n(r),a=t(2558),l=t(9660),p=t(401);const __=o.__,d=e=>{const{title:n=__("Over 5 million WordPress sites are faster and more secure","jetpack-connection"),autoTrigger:t=!1,buttonLabel:o=__("Set up Jetpack","jetpack-connection"),apiRoot:i,apiNonce:c,registrationNonce:r,from:d,redirectUri:u,children:m,priceBefore:g,priceAfter:h,pricingIcon:_,pricingTitle:y,pricingCurrencyCode:f="USD",wpcomProductSlug:b,siteProductAvailabilityHandler:k,logo:C,rna:E=!1}=e,{handleRegisterSite:v,siteIsRegistering:j,userIsConnecting:w,registrationError:A,isOfflineMode:N}=(0,l.A)({registrationNonce:r,redirectUri:u,apiRoot:i,apiNonce:c,autoTrigger:t,from:d}),S=b||"",{run:R,hasCheckoutStarted:T}=(0,a.A)({productSlug:S,redirectUrl:u,siteProductAvailabilityHandler:k,from:d}),O=Boolean(A),I=j||w||T,P=S?R:v;return s().createElement(p.A,{title:n,buttonLabel:o,priceBefore:g,priceAfter:h,pricingIcon:_,pricingTitle:y,pricingCurrencyCode:f,handleButtonClick:P,displayButtonError:O,buttonIsLoading:I,logo:C,isOfflineMode:N,rna:E},m)};d.propTypes={title:c().string,buttonLabel:c().string,apiRoot:c().string.isRequired,apiNonce:c().string.isRequired,registrationNonce:c().string.isRequired,from:c().string,redirectUri:c().string.isRequired,autoTrigger:c().bool,pricingTitle:c().string.isRequired,pricingIcon:c().oneOfType([c().string,c().element]),priceBefore:c().number.isRequired,priceAfter:c().number.isRequired,pricingCurrencyCode:c().string,wpcomProductSlug:c().string,checkSiteHasWpcomProduct:c().func,logo:c().element};const u=d},401:(e,n,t)=>{"use strict";t.d(n,{A:()=>b});var o=t(8089),i=t(3924),c=t(9957),r=t(5879),s=t(6087),a=t(7723),l=t(2231),p=t(4804),d=t.n(p),u=t(3619),m=t.n(u),g=t(1609),h=t.n(g),_=t(2668);t(381);const __=a.__,y=d()("jetpack:connection:ConnectScreenRequiredPlanVisual"),f=e=>{const{title:n,buttonLabel:t,children:a,priceBefore:p,priceAfter:d,pricingIcon:u,pricingTitle:m,pricingCurrencyCode:g="USD",isLoading:f=!1,handleButtonClick:b=()=>{},displayButtonError:k=!1,buttonIsLoading:C=!1,logo:E,isOfflineMode:v,rna:j=!1}=e;y("props are %o",e);const w=(0,s.createInterpolateElement)(__("Already have a subscription? ","jetpack-connection"),{connectButton:h().createElement(o.A,{label:__("Log in to get started","jetpack-connection"),onClick:b,isLoading:C})}),A=v?(0,s.createInterpolateElement)(__("Unavailable in Offline Mode","jetpack-connection"),{a:h().createElement("a",{href:(0,i.A)("jetpack-support-development-mode"),target:"_blank",rel:"noopener noreferrer"})}):void 0;return h().createElement(_.A,{title:n,className:(0,l.A)("jp-connection__connect-screen-required-plan",f?"jp-connection__connect-screen-required-plan__loading":"",j?"rna":""),logo:E,rna:j},h().createElement("div",{className:"jp-connection__connect-screen-required-plan__content"},a,h().createElement("div",{className:"jp-connection__connect-screen-required-plan__pricing-card"},h().createElement(c.A,{title:m,icon:u,priceBefore:p,currencyCode:g,priceAfter:d},h().createElement(r.A,{agreeButtonLabel:t}),h().createElement(o.A,{label:t,onClick:b,displayError:k||v,errorMessage:A,isLoading:C,isDisabled:v}))),!v&&h().createElement("div",{className:"jp-connection__connect-screen-required-plan__with-subscription"},w)))};f.propTypes={pricingTitle:m().string.isRequired,priceBefore:m().number.isRequired,priceAfter:m().number.isRequired,pricingCurrencyCode:m().string,title:m().string,buttonLabel:m().string,pricingIcon:m().oneOfType([m().string,m().element]),isLoading:m().bool,handleButtonClick:m().func,displayButtonError:m().bool,buttonIsLoading:m().bool,logo:m().element,isOfflineMode:m().bool};const b=f},7840:(e,n,t)=>{"use strict";t.d(n,{A:()=>a});var o=t(5932),i=t(3619),c=t.n(i),r=t(1609);const s=e=>{const{redirectFunc:n=e=>window.location.assign(e),connectUrl:t,redirectUri:i=null,from:c}=e,[s,a]=(0,r.useState)(null);return t&&t!==s&&a(t),(0,r.useEffect)((()=>{s||o.Ay.fetchAuthorizationUrl(i).then((e=>a(e.authorizeUrl))).catch((e=>{throw e}))}),[]),s?(n(s+(c?(s.includes("?")?"&":"?")+"from="+encodeURIComponent(c):"")),null):null};s.propTypes={connectUrl:c().string,redirectUri:c().string.isRequired,from:c().string,redirectFunc:c().func};const a=s},648:(e,n,t)=>{"use strict";t.d(n,{A:()=>p});var o=t(7723),i=t(3619),c=t.n(i),r=t(1609),s=t.n(r),a=t(7499);const __=o.__,l=e=>{const{connectedPlugins:n,disconnectingPlugin:t}=e,o=(0,r.useMemo)((()=>{if(n){return Object.keys(n).map((e=>Object.assign({slug:e},n[e]))).filter((e=>t!==e.slug))}return[]}),[n,t]);return n&&o.length>0?s().createElement(s().Fragment,null,s().createElement("div",{className:"jp-connection__disconnect-dialog__step-copy"},s().createElement("p",{className:"jp-connection__disconnect-dialog__large-text"},__("Jetpack is powering other plugins on your site. If you disconnect, these plugins will no longer work.","jetpack-connection"))),s().createElement("div",{className:"jp-connection__disconnect-card__group"},o.map((e=>s().createElement(a.A,{title:e.name,key:e.slug}))))):null};l.propTypes={connectedPlugins:c().array,disconnectingPlugin:c().string};const p=l},7088:(e,n,t)=>{"use strict";t.d(n,{A:()=>m});var o=t(442),i=t(6461),c=t(6427),r=t(7723),s=t(3619),a=t.n(s),l=t(1609),p=t.n(l),d=t(4175);const __=r.__,u=e=>{const{message:n,isRestoringConnection:t,restoreConnectionCallback:s,restoreConnectionError:a}=e,[l]=(0,o.A)(["md"],[">"]),u=d.A.notice+(l?" "+d.A["bigger-than-medium"]:""),m=p().createElement(c.Icon,{icon:p().createElement(c.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},p().createElement(c.Path,{d:"M11.7815 4.93772C11.8767 4.76626 12.1233 4.76626 12.2185 4.93772L20.519 19.8786C20.6116 20.0452 20.4911 20.25 20.3005 20.25H3.69951C3.50889 20.25 3.3884 20.0452 3.48098 19.8786L11.7815 4.93772Z",stroke:"#D63638",strokeWidth:"1.5"}),p().createElement(c.Path,{d:"M13 10H11V15H13V10Z",fill:"#D63638"}),p().createElement(c.Path,{d:"M13 16H11V18H13V16Z",fill:"#D63638"}))});if(!n)return null;if(t)return p().createElement(c.Notice,{status:"error",isDismissible:!1,className:u},p().createElement("div",{className:d.A.message},p().createElement(i.A,{color:"#B32D2E",size:24}),__("Reconnecting Jetpack","jetpack-connection")));const g=a?p().createElement(c.Notice,{status:"error",isDismissible:!1,className:u+" "+d.A.error},p().createElement("div",{className:d.A.message},m,(0,r.sprintf)(/* translators: placeholder is the error. */ +__("By clicking %s, you agree to our Terms of Service and to sync your site‘s data with us.","jetpack-connection"),e),{strong:React.createElement("strong",null),tosLink:React.createElement(u,{slug:"wpcom-tos"}),shareDetailsLink:React.createElement(u,{slug:"jetpack-support-what-data-does-jetpack-sync"})}),u=({slug:e,children:n})=>React.createElement("a",{className:"terms-of-service__link",href:(0,a.A)(e),rel:"noopener noreferrer",target:"_blank"},n),m=({className:e,multipleButtons:n,agreeButtonLabel:t,...o})=>React.createElement(l.Ay,i()({className:(0,s.A)(e,"terms-of-service")},o),n?React.createElement(p,{multipleButtonsLabels:n}):React.createElement(d,{agreeButtonLabel:t}))},110:(e,n,t)=>{"use strict";t.d(n,{Q:()=>o,Z:()=>i});const o={"headline-medium":"h1","headline-small":"h2","headline-small-regular":"h2","title-medium":"h3","title-medium-semi-bold":"h3","title-small":"h4",body:"p","body-small":"p","body-extra-small":"p","body-extra-small-bold":"p",label:"p"},i=["mt","mr","mb","ml","mx","my","m","pt","pr","pb","pl","px","py","p"]},7425:(e,n,t)=>{"use strict";t.d(n,{Ay:()=>d});var o=t(8579),i=t.n(o),c=t(2231),r=t(1609),s=t.n(r),a=t(110),l=t(4495);const p=(0,r.forwardRef)((({variant:e="body",children:n,component:t,className:o,...p},d)=>{const u=t||a.Q[e]||"span",m=(0,r.useMemo)((()=>a.Z.reduce(((e,n)=>(void 0!==p[n]&&(e+=l.A[`${n}-${p[n]}`]+" ",delete p[n]),e)),"")),[p]);return s().createElement(u,i()({className:(0,c.A)(l.A.reset,l.A[e],o,m)},p,{ref:d}),n)}));p.displayName="Text";const d=p},3924:(e,n,t)=>{"use strict";function o(e,n={}){const t={};let o;if("undefined"!=typeof window&&(o=window?.JP_CONNECTION_INITIAL_STATE?.calypsoEnv),0===e.search("https://")){const n=new URL(e);e=`https://${n.host}${n.pathname}`,t.url=encodeURIComponent(e)}else t.source=encodeURIComponent(e);for(const e in n)t[e]=encodeURIComponent(n[e]);!Object.keys(t).includes("site")&&"undefined"!=typeof jetpack_redirects&&Object.hasOwn(jetpack_redirects,"currentSiteRawUrl")&&(t.site=jetpack_redirects.currentBlogID??jetpack_redirects.currentSiteRawUrl),o&&(t.calypso_env=o);return"https://jetpack.com/redirect/?"+Object.keys(t).map((e=>e+"="+t[e])).join("&")}t.d(n,{A:()=>o})},6439:(e,n,t)=>{let o={};try{o=t(9074)}catch{console.error("jetpackConfig is missing in your webpack config file. See @automattic/jetpack-config"),o={missingConfig:!0}}const i=e=>Object.hasOwn(o,e);e.exports={jetpackConfigHas:i,jetpackConfigGet:e=>{if(!i(e))throw'This app requires the "'+e+'" Jetpack Config to be defined in your webpack configuration file. See details in @automattic/jetpack-config package docs.';return o[e]}}},8421:(e,n,t)=>{"use strict";t.d(n,{A:()=>d});var o=t(8089),i=t(7723),c=t(3619),r=t.n(c),s=t(1609),a=t.n(s),l=t(9660);const __=i.__,p=e=>{const{apiRoot:n,apiNonce:t,connectLabel:i=__("Connect","jetpack-connection"),registrationNonce:c,redirectUri:r=null,from:s,autoTrigger:p=!1}=e,{handleRegisterSite:d,isRegistered:u,isUserConnected:m,siteIsRegistering:g,userIsConnecting:h,registrationError:_}=(0,l.A)({registrationNonce:c,redirectUri:r,apiRoot:n,apiNonce:t,autoTrigger:p,from:s});return a().createElement(a().Fragment,null,(!u||!m)&&a().createElement(o.A,{label:i,onClick:d,displayError:!!_,isLoading:g||h}))};p.propTypes={connectLabel:r().string,apiRoot:r().string.isRequired,apiNonce:r().string.isRequired,from:r().string,redirectUri:r().string.isRequired,registrationNonce:r().string.isRequired,autoTrigger:r().bool};const d=p},6212:(e,n,t)=>{"use strict";t.d(n,{A:()=>a});var o=t(7723),i=t(1609),c=t.n(i),r=t(9660),s=t(5582);const __=o.__,a=({title:e,buttonLabel:n,loadingLabel:t,apiRoot:o,apiNonce:i,registrationNonce:a,from:l,redirectUri:p,images:d,children:u,assetBaseUrl:m,autoTrigger:g,footer:h,skipUserConnection:_,skipPricingPage:y,logo:f})=>{const{handleRegisterSite:b,siteIsRegistering:k,userIsConnecting:C,registrationError:E,isOfflineMode:v}=(0,r.A)({registrationNonce:a,redirectUri:p,apiRoot:o,apiNonce:i,autoTrigger:g,from:l,skipUserConnection:_,skipPricingPage:y}),j=Boolean(E),w=k||C,A=E?.response?.code;return c().createElement(s.A,{title:e||__("Over 5 million WordPress sites are faster and more secure","jetpack-connection"),images:d||[],assetBaseUrl:m,buttonLabel:n||__("Set up Jetpack","jetpack-connection"),loadingLabel:t,handleButtonClick:b,displayButtonError:j,errorCode:A,buttonIsLoading:w,footer:h,isOfflineMode:v,logo:f},u)}},5582:(e,n,t)=>{"use strict";t.d(n,{A:()=>u});var o=t(3924),i=t(5879),c=t(8089),r=t(6087),s=t(7723),a=t(1609),l=t.n(a),p=t(2668);t(1772);const __=s.__,d=(e,n)=>{switch(e){case"fail_domain_forbidden":case"fail_ip_forbidden":case"fail_domain_tld":case"fail_subdomain_wpcom":case"siteurl_private_ip":return __("Your site host is on a private network. Jetpack can only connect to public sites.","jetpack-connection");case"connection_disabled":return __("This site has been suspended.","jetpack-connection")}if(n)return(0,r.createInterpolateElement)(__("Unavailable in Offline Mode","jetpack-connection"),{a:l().createElement("a",{href:(0,o.A)("jetpack-support-development-mode"),target:"_blank",rel:"noopener noreferrer"})})},u=({title:e,images:n,children:t,assetBaseUrl:o,isLoading:r,buttonLabel:s,handleButtonClick:a,displayButtonError:u,errorCode:m,buttonIsLoading:g,loadingLabel:h,footer:_,isOfflineMode:y,logo:f})=>l().createElement(p.A,{title:e,assetBaseUrl:o,images:n,className:"jp-connection__connect-screen"+(r?" jp-connection__connect-screen__loading":""),logo:f},l().createElement("div",{className:"jp-connection__connect-screen__content"},t,l().createElement("div",{className:"jp-connection__connect-screen__tos"},l().createElement(i.A,{agreeButtonLabel:s})),l().createElement(c.A,{label:s,onClick:a,displayError:u||y,errorMessage:d(m,y),isLoading:g,isDisabled:y}),l().createElement("span",{className:"jp-connection__connect-screen__loading-message",role:"status"},g?h||__("Loading","jetpack-connection"):""),_&&l().createElement("div",{className:"jp-connection__connect-screen__footer"},_)))},5745:(e,n,t)=>{"use strict";t.d(n,{A:()=>c});var o=t(1609),i=t.n(o);const c=({images:e,assetBaseUrl:n=""})=>{if(!e?.length)return null;const t=e.map(((e,t)=>i().createElement(i().Fragment,{key:t},i().createElement("img",{src:n+e,alt:""}))));return i().createElement("div",{className:"jp-connection__connect-screen__image-slider"},t)}},2668:(e,n,t)=>{"use strict";t.d(n,{A:()=>a});var o=t(7142),i=t(2231),c=t(1609),r=t.n(c),s=t(5745);t(9064);const a=({title:e,children:n,className:t,assetBaseUrl:c,images:a,logo:l,rna:p=!1})=>{const d=a?.length;return r().createElement("div",{className:(0,i.A)("jp-connection__connect-screen-layout",d?"jp-connection__connect-screen-layout__two-columns":"",t?" "+t:"")},p&&r().createElement("div",{className:"jp-connection__connect-screen-layout__color-blobs"},r().createElement("div",{className:"jp-connection__connect-screen-layout__color-blobs__green"}),r().createElement("div",{className:"jp-connection__connect-screen-layout__color-blobs__yellow"}),r().createElement("div",{className:"jp-connection__connect-screen-layout__color-blobs__blue"})),r().createElement("div",{className:"jp-connection__connect-screen-layout__left"},l||r().createElement(o.A,null),r().createElement("h2",null,e),n),d?r().createElement("div",{className:"jp-connection__connect-screen-layout__right"},r().createElement(s.A,{images:a,assetBaseUrl:c})):null)}},7945:(e,n,t)=>{"use strict";t.d(n,{A:()=>u});var o=t(7723),i=t(3619),c=t.n(i),r=t(1609),s=t.n(r),a=t(2558),l=t(9660),p=t(401);const __=o.__,d=e=>{const{title:n=__("Over 5 million WordPress sites are faster and more secure","jetpack-connection"),autoTrigger:t=!1,buttonLabel:o=__("Set up Jetpack","jetpack-connection"),apiRoot:i,apiNonce:c,registrationNonce:r,from:d,redirectUri:u,children:m,priceBefore:g,priceAfter:h,pricingIcon:_,pricingTitle:y,pricingCurrencyCode:f="USD",wpcomProductSlug:b,siteProductAvailabilityHandler:k,logo:C,rna:E=!1}=e,{handleRegisterSite:v,siteIsRegistering:j,userIsConnecting:w,registrationError:A,isOfflineMode:N}=(0,l.A)({registrationNonce:r,redirectUri:u,apiRoot:i,apiNonce:c,autoTrigger:t,from:d}),S=b||"",{run:R,hasCheckoutStarted:T}=(0,a.A)({productSlug:S,redirectUrl:u,siteProductAvailabilityHandler:k,from:d}),O=Boolean(A),I=j||w||T,P=S?R:v;return s().createElement(p.A,{title:n,buttonLabel:o,priceBefore:g,priceAfter:h,pricingIcon:_,pricingTitle:y,pricingCurrencyCode:f,handleButtonClick:P,displayButtonError:O,buttonIsLoading:I,logo:C,isOfflineMode:N,rna:E},m)};d.propTypes={title:c().string,buttonLabel:c().string,apiRoot:c().string.isRequired,apiNonce:c().string.isRequired,registrationNonce:c().string.isRequired,from:c().string,redirectUri:c().string.isRequired,autoTrigger:c().bool,pricingTitle:c().string.isRequired,pricingIcon:c().oneOfType([c().string,c().element]),priceBefore:c().number.isRequired,priceAfter:c().number.isRequired,pricingCurrencyCode:c().string,wpcomProductSlug:c().string,checkSiteHasWpcomProduct:c().func,logo:c().element};const u=d},401:(e,n,t)=>{"use strict";t.d(n,{A:()=>b});var o=t(8089),i=t(3924),c=t(9957),r=t(5879),s=t(6087),a=t(7723),l=t(2231),p=t(4804),d=t.n(p),u=t(3619),m=t.n(u),g=t(1609),h=t.n(g),_=t(2668);t(381);const __=a.__,y=d()("jetpack:connection:ConnectScreenRequiredPlanVisual"),f=e=>{const{title:n,buttonLabel:t,children:a,priceBefore:p,priceAfter:d,pricingIcon:u,pricingTitle:m,pricingCurrencyCode:g="USD",isLoading:f=!1,handleButtonClick:b=()=>{},displayButtonError:k=!1,buttonIsLoading:C=!1,logo:E,isOfflineMode:v,rna:j=!1}=e;y("props are %o",e);const w=(0,s.createInterpolateElement)(__("Already have a subscription? ","jetpack-connection"),{connectButton:h().createElement(o.A,{label:__("Log in to get started","jetpack-connection"),onClick:b,isLoading:C})}),A=v?(0,s.createInterpolateElement)(__("Unavailable in Offline Mode","jetpack-connection"),{a:h().createElement("a",{href:(0,i.A)("jetpack-support-development-mode"),target:"_blank",rel:"noopener noreferrer"})}):void 0;return h().createElement(_.A,{title:n,className:(0,l.A)("jp-connection__connect-screen-required-plan",f?"jp-connection__connect-screen-required-plan__loading":"",j?"rna":""),logo:E,rna:j},h().createElement("div",{className:"jp-connection__connect-screen-required-plan__content"},a,h().createElement("div",{className:"jp-connection__connect-screen-required-plan__pricing-card"},h().createElement(c.A,{title:m,icon:u,priceBefore:p,currencyCode:g,priceAfter:d},h().createElement(r.A,{agreeButtonLabel:t}),h().createElement(o.A,{label:t,onClick:b,displayError:k||v,errorMessage:A,isLoading:C,isDisabled:v}))),!v&&h().createElement("div",{className:"jp-connection__connect-screen-required-plan__with-subscription"},w)))};f.propTypes={pricingTitle:m().string.isRequired,priceBefore:m().number.isRequired,priceAfter:m().number.isRequired,pricingCurrencyCode:m().string,title:m().string,buttonLabel:m().string,pricingIcon:m().oneOfType([m().string,m().element]),isLoading:m().bool,handleButtonClick:m().func,displayButtonError:m().bool,buttonIsLoading:m().bool,logo:m().element,isOfflineMode:m().bool};const b=f},7840:(e,n,t)=>{"use strict";t.d(n,{A:()=>a});var o=t(5932),i=t(3619),c=t.n(i),r=t(1609);const s=e=>{const{redirectFunc:n=e=>window.location.assign(e),connectUrl:t,redirectUri:i=null,from:c}=e,[s,a]=(0,r.useState)(null);return t&&t!==s&&a(t),(0,r.useEffect)((()=>{s||o.Ay.fetchAuthorizationUrl(i).then((e=>a(e.authorizeUrl))).catch((e=>{throw e}))}),[]),s?(n(s+(c?(s.includes("?")?"&":"?")+"from="+encodeURIComponent(c):"")),null):null};s.propTypes={connectUrl:c().string,redirectUri:c().string.isRequired,from:c().string,redirectFunc:c().func};const a=s},648:(e,n,t)=>{"use strict";t.d(n,{A:()=>p});var o=t(7723),i=t(3619),c=t.n(i),r=t(1609),s=t.n(r),a=t(7499);const __=o.__,l=e=>{const{connectedPlugins:n,disconnectingPlugin:t}=e,o=(0,r.useMemo)((()=>{if(n){return Object.keys(n).map((e=>Object.assign({slug:e},n[e]))).filter((e=>t!==e.slug))}return[]}),[n,t]);return n&&o.length>0?s().createElement(s().Fragment,null,s().createElement("div",{className:"jp-connection__disconnect-dialog__step-copy"},s().createElement("p",{className:"jp-connection__disconnect-dialog__large-text"},__("Jetpack is powering other plugins on your site. If you disconnect, these plugins will no longer work.","jetpack-connection"))),s().createElement("div",{className:"jp-connection__disconnect-card__group"},o.map((e=>s().createElement(a.A,{title:e.name,key:e.slug}))))):null};l.propTypes={connectedPlugins:c().array,disconnectingPlugin:c().string};const p=l},7088:(e,n,t)=>{"use strict";t.d(n,{A:()=>m});var o=t(442),i=t(6461),c=t(6427),r=t(7723),s=t(3619),a=t.n(s),l=t(1609),p=t.n(l),d=t(4175);const __=r.__,u=e=>{const{message:n,isRestoringConnection:t,restoreConnectionCallback:s,restoreConnectionError:a}=e,[l]=(0,o.A)(["md"],[">"]),u=d.A.notice+(l?" "+d.A["bigger-than-medium"]:""),m=p().createElement(c.Icon,{icon:p().createElement(c.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},p().createElement(c.Path,{d:"M11.7815 4.93772C11.8767 4.76626 12.1233 4.76626 12.2185 4.93772L20.519 19.8786C20.6116 20.0452 20.4911 20.25 20.3005 20.25H3.69951C3.50889 20.25 3.3884 20.0452 3.48098 19.8786L11.7815 4.93772Z",stroke:"#D63638",strokeWidth:"1.5"}),p().createElement(c.Path,{d:"M13 10H11V15H13V10Z",fill:"#D63638"}),p().createElement(c.Path,{d:"M13 16H11V18H13V16Z",fill:"#D63638"}))});if(!n)return null;if(t)return p().createElement(c.Notice,{status:"error",isDismissible:!1,className:u},p().createElement("div",{className:d.A.message},p().createElement(i.A,{color:"#B32D2E",size:24}),__("Reconnecting Jetpack","jetpack-connection")));const g=a?p().createElement(c.Notice,{status:"error",isDismissible:!1,className:u+" "+d.A.error},p().createElement("div",{className:d.A.message},m,(0,r.sprintf)(/* translators: placeholder is the error. */ __("There was an error reconnecting Jetpack. Error: %s","jetpack-connection"),a))):null;return p().createElement(p().Fragment,null,g,p().createElement(c.Notice,{status:"error",isDismissible:!1,className:u},p().createElement("div",{className:d.A.message},m,n),s&&p().createElement("a",{onClick:s,onKeyDown:s,className:d.A.button,href:"#"},__("Restore Connection","jetpack-connection"))))};u.propTypes={message:a().string.isRequired,restoreConnectionCallback:a().func,isRestoringConnection:a().bool,restoreConnectionError:a().string};const m=u},7499:(e,n,t)=>{"use strict";t.d(n,{A:()=>a});var o=t(3619),i=t.n(o),c=t(1609),r=t.n(c);t(7419);const s=e=>{const{title:n,value:t,description:o}=e;return r().createElement("div",{className:"jp-connection__disconnect-card card"},r().createElement("div",{className:"jp-connection__disconnect-card__card-content"},r().createElement("p",{className:"jp-connection__disconnect-card__card-headline"},n),(t||o)&&r().createElement("div",{className:"jp-connection__disconnect-card__card-stat-block"},r().createElement("span",{className:"jp-connection__disconnect-card__card-stat"},t),r().createElement("div",{className:"jp-connection__disconnect-card__card-description"},o))))};s.propTypes={title:i().string,value:i().oneOfType([i().string,i().number]),description:i().string};const a=s},3269:(e,n,t)=>{"use strict";t.d(n,{A:()=>y});var o=t(372),i=t(5932),c=t(6439),r=t(6427),s=t(7723),a=t(3619),l=t.n(a),p=t(1609),d=t.n(p),u=(t(785),t(4472)),m=t(8503),g=t(412),h=t(8090);const __=s.__,_=e=>{const[n,t]=(0,p.useState)(!1),[s,a]=(0,p.useState)(!1),[l,_]=(0,p.useState)(!1),[y,f]=(0,p.useState)(!1),[b,k]=(0,p.useState)(!1),[C,E]=(0,p.useState)(!1),{apiRoot:v,apiNonce:j,connectedPlugins:w,title:A=__("Are you sure you want to disconnect?","jetpack-connection"),pluginScreenDisconnectCallback:N,onDisconnected:S,onError:R,disconnectStepComponent:T,context:O="jetpack-dashboard",connectedUser:I={},connectedSiteId:P,isOpen:D,onClose:x}=e;let U="";(0,c.jetpackConfigHas)("consumer_slug")&&(U=(0,c.jetpackConfigGet)("consumer_slug"));const L=(0,p.useMemo)((()=>({context:O,plugin:U})),[O,U]);(0,p.useEffect)((()=>{i.Ay.setApiRoot(v),i.Ay.setApiNonce(j)}),[v,j]),(0,p.useEffect)((()=>{I&&I.ID&&I.login&&o.A.initialize(I.ID,I.login)}),[I,I.ID,I.login]),(0,p.useEffect)((()=>{D&&o.A.tracks.recordEvent("jetpack_disconnect_dialog_open",L)}),[D,L]),(0,p.useEffect)((()=>{D&&(s?!s||y||b?y&&!b?o.A.tracks.recordEvent("jetpack_disconnect_dialog_step",Object.assign({},{step:"survey"},L)):b&&o.A.tracks.recordEvent("jetpack_disconnect_dialog_step",Object.assign({},{step:"thank_you"},L)):o.A.tracks.recordEvent("jetpack_disconnect_dialog_step",Object.assign({},{step:"disconnect_confirm"},L)):o.A.tracks.recordEvent("jetpack_disconnect_dialog_step",Object.assign({},{step:"disconnect"},L)))}),[D,s,y,b,L]);const F=(0,p.useCallback)((()=>{i.Ay.disconnectSite().then((()=>{t(!1),a(!0)})).catch((e=>{t(!1),_(e),R&&R(e)}))}),[t,a,_,R]),B=(0,p.useCallback)(((e,n)=>{E(!0),fetch("https://public-api.wordpress.com/wpcom/v2/marketing/feedback-survey",{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(e)}).then((e=>e.json())).then((e=>{if(!0!==e.success)throw new Error("Survey endpoint returned error code "+e.code);o.A.tracks.recordEvent("jetpack_disconnect_survey_submit",n),k(!0),E(!1)})).catch((e=>{o.A.tracks.recordEvent("jetpack_disconnect_survey_error",Object.assign({},{error:e.message},n)),k(!0),E(!1)}))}),[E,k]),M=(0,p.useCallback)((e=>{e&&e.preventDefault(),_(!1),t(!0),"plugins"!==O?F():N&&N(e)}),[_,t,N,O,F]),$=(0,p.useCallback)((e=>o.A.tracks.recordEvent(e,L)),[L]),J=(0,p.useCallback)((()=>!(!I.ID||!P)),[I,P]),z=(0,p.useCallback)(((e,n,t)=>{if(t&&t.preventDefault(),!J())return void k(!0);const o={site_id:P,user_id:I.ID,survey_id:"jetpack-plugin-disconnect",survey_responses:{"why-cancel":{response:e,text:n||null}}},i=Object.assign({},L,{disconnect_reason:e});B(o,i)}),[B,k,J,P,I,L]),q=(0,p.useCallback)((e=>{e&&e.preventDefault(),S&&S(),x()}),[S,x]),G=(0,p.useCallback)((e=>{e&&e.preventDefault(),f(!0)}),[f]);return d().createElement(d().Fragment,null,D&&d().createElement(r.Modal,{title:"",contentLabel:A,aria:{labelledby:"jp-connection__disconnect-dialog__heading"},onRequestClose:x,shouldCloseOnClickOutside:!1,shouldCloseOnEsc:!1,isDismissible:!1,className:"jp-connection__disconnect-dialog"+(s?" jp-connection__disconnect-dialog__success":"")},s?!s||y||b?y&&!b?d().createElement(g.A,{isSubmittingFeedback:C,onFeedBackProvided:z,onExit:q}):b?d().createElement(h.A,{onExit:q}):void 0:d().createElement(m.A,{canProvideFeedback:J(),onProvideFeedback:G,onExit:q}):d().createElement(u.A,{title:A,connectedPlugins:w,disconnectStepComponent:T,isDisconnecting:n,closeModal:x,onDisconnect:M,disconnectError:l,context:O,disconnectingPlugin:U,trackModalClick:$})))};_.propTypes={apiRoot:l().string.isRequired,apiNonce:l().string.isRequired,title:l().string,onDisconnected:l().func,onError:l().func,context:l().string,connectedPlugins:l().oneOfType([l().array,l().object]),pluginScreenDisconnectCallback:l().func,disconnectStepComponent:l().element,connectedUser:l().object,connectedSiteId:l().number,isOpen:l().bool,onClose:l().func};const y=_},8503:(e,n,t)=>{"use strict";t.d(n,{A:()=>m});var o=t(9121),i=t(6427),c=t(6087),r=t(7723),s=t(3619),a=t.n(s),l=t(1609),p=t.n(l),d=t(2365);const __=r.__,u=e=>{const{onExit:n,canProvideFeedback:t,onProvideFeedback:r}=e;return p().createElement("div",{className:"jp-connection__disconnect-dialog__content"},p().createElement(o.A,{icon:"unlink",imageUrl:d}),p().createElement("div",{className:"jp-connection__disconnect-dialog__step-copy jp-connection__disconnect-dialog__step-copy--narrow"},p().createElement("h1",null,(0,c.createInterpolateElement)(__("Jetpack has been
successfully disconnected.","jetpack-connection"),{br:p().createElement("br",null)})),t&&p().createElement(p().Fragment,null,p().createElement("p",null,__("We’re sorry to see you go. Here at Jetpack, we’re always striving to provide the best experience for our customers. Please take our short survey (2 minutes, promise).","jetpack-connection")),p().createElement("p",null,p().createElement(i.Button,{variant:"primary",onClick:r,className:"jp-connection__disconnect-dialog__btn-back-to-wp"},__("Help us improve","jetpack-connection"))),p().createElement("a",{className:"jp-connection__disconnect-dialog__link jp-connection__disconnect-dialog__link--bold",href:"#",onClick:n},__("No thank you","jetpack-connection"))),!t&&p().createElement(p().Fragment,null,p().createElement("p",null,p().createElement(i.Button,{variant:"primary",onClick:n,className:"jp-connection__disconnect-dialog__btn-back-to-wp"},__("Back to my website","jetpack-connection"))))))};u.propTypes={onExit:a().func,onProvideFeedback:a().func,canProvideFeedback:a().bool};const m=u},4472:(e,n,t)=>{"use strict";t.d(n,{A:()=>m});var o=t(3924),i=t(6427),c=t(6087),r=t(7723),s=t(3619),a=t.n(s),l=t(1609),p=t.n(l),d=t(648);const __=r.__,u=e=>{const{title:n,isDisconnecting:t,onDisconnect:r,disconnectError:s,disconnectStepComponent:a,connectedPlugins:u,disconnectingPlugin:m,closeModal:g,context:h,trackModalClick:_}=e,y=(0,l.useCallback)((()=>_("jetpack_disconnect_dialog_click_learn_about")),[_]),f=(0,l.useCallback)((()=>_("jetpack_disconnect_dialog_click_support")),[_]),b=(0,l.useCallback)((()=>{_("jetpack_disconnect_dialog_click_stay_connected"),g()}),[_,g]),k=(0,l.useCallback)((e=>{_("jetpack_disconnect_dialog_click_disconnect"),r(e)}),[_,r]),C=(0,l.useCallback)((e=>{"Escape"!==e.key||t||b()}),[b,t]);(0,l.useEffect)((()=>(document.addEventListener("keydown",C,!1),()=>{document.removeEventListener("keydown",C,!1)})),[]);return p().createElement(p().Fragment,null,p().createElement("div",{className:"jp-connection__disconnect-dialog__content"},p().createElement("h1",{id:"jp-connection__disconnect-dialog__heading"},n),p().createElement(d.A,{connectedPlugins:u,disconnectingPlugin:m}),a,(()=>{if(!(u&&Object.keys(u).filter((e=>e!==m)).length)&&!a)return p().createElement("div",{className:"jp-connection__disconnect-dialog__step-copy"},p().createElement("p",{className:"jp-connection__disconnect-dialog__large-text"},__("Jetpack is currently powering multiple products on your site.","jetpack-connection"),p().createElement("br",null),__("Once you disconnect Jetpack, these will no longer work.","jetpack-connection")))})()),p().createElement("div",{className:"jp-connection__disconnect-dialog__actions"},p().createElement("div",{className:"jp-row"},p().createElement("div",{className:"lg-col-span-8 md-col-span-9 sm-col-span-4"},p().createElement("p",null,(0,c.createInterpolateElement)(__("Need help? Learn more about the Jetpack connection or contact Jetpack support.","jetpack-connection"),{strong:p().createElement("strong",null),jpConnectionInfoLink:p().createElement(i.ExternalLink,{href:(0,o.A)("why-the-wordpress-com-connection-is-important-for-jetpack"),className:"jp-connection__disconnect-dialog__link",onClick:y}),jpSupportLink:p().createElement(i.ExternalLink,{href:(0,o.A)("jetpack-support"),className:"jp-connection__disconnect-dialog__link",onClick:f})}))),p().createElement("div",{className:"jp-connection__disconnect-dialog__button-wrap lg-col-span-4 md-col-span-7 sm-col-span-4"},p().createElement(i.Button,{variant:"primary",disabled:t,onClick:b,className:"jp-connection__disconnect-dialog__btn-dismiss"},"plugins"===h?__("Cancel","jetpack-connection"):__("Stay connected","jetpack-connection",0)),(()=>{let e=__("Disconnect","jetpack-connection");return t?e=__("Disconnecting…","jetpack-connection"):"plugins"===h&&(e=__("Deactivate","jetpack-connection")),p().createElement(i.Button,{variant:"primary",disabled:t,onClick:k,className:"jp-connection__disconnect-dialog__btn-disconnect"},e)})())),s&&p().createElement("p",{className:"jp-connection__disconnect-dialog__error"},s)))};u.propTypes={title:a().string,isDisconnecting:a().bool,onDisconnect:a().func,disconnectError:a().bool,disconnectStepComponent:a().element,connectedPlugins:a().array,disconnectingPlugin:a().string,closeModal:a().func,context:a().string,trackModalClick:a().func};const m=u},412:(e,n,t)=>{"use strict";t.d(n,{A:()=>p});var o=t(7723),i=t(3619),c=t.n(i),r=t(1609),s=t.n(r),a=(t(255),t(2951));const __=o.__,l=e=>{const{onExit:n,onFeedBackProvided:t,isSubmittingFeedback:o}=e;return s().createElement("div",{className:"jp-connection__disconnect-dialog__content"},s().createElement("h1",null,__("Before you go, help us improve Jetpack","jetpack-connection")),s().createElement("p",{className:"jp-connection__disconnect-dialog__large-text"},__("Let us know what didn‘t work for you","jetpack-connection")),s().createElement(a.A,{onSubmit:t,isSubmittingFeedback:o}),s().createElement("a",{className:"jp-connection__disconnect-dialog__link jp-connection__disconnect-dialog__link--bold",href:"#",onClick:n},__("Skip for now","jetpack-connection")))};l.PropTypes={onExit:c().func,onFeedBackProvided:c().func,isSubmittingFeedback:c().bool};const p=l},8090:(e,n,t)=>{"use strict";t.d(n,{A:()=>m});var o=t(9121),i=t(6427),c=t(6087),r=t(7723),s=t(3619),a=t.n(s),l=t(1609),p=t.n(l),d=t(9362);const __=r.__,u=e=>{const{onExit:n}=e;return p().createElement("div",{className:"jp-connection__disconnect-dialog__content"},p().createElement(o.A,{format:"vertical",imageUrl:d}),p().createElement("div",{className:"jp-connection__disconnect-dialog__copy"},p().createElement("h1",null,__("Thank you!","jetpack-connection")),p().createElement("p",{className:"jp-connection__disconnect-dialog__large-text"},(0,c.createInterpolateElement)(__("Your answer has been submitted.
Thanks for your input on how we can improve Jetpack.","jetpack-connection"),{br:p().createElement("br",null)})),p().createElement(i.Button,{variant:"primary",onClick:n,className:"jp-connection__disconnect-dialog__btn-back-to-wp"},__("Back to my website","jetpack-connection"))))};u.PropTypes={onExit:a().func,assetBaseUrl:a().string};const m=u},2951:(e,n,t)=>{"use strict";t.d(n,{A:()=>d});var o=t(6427),i=t(7723),c=t(3619),r=t.n(c),s=t(1609),a=t.n(s),l=t(8233);const __=i.__,p=e=>{const{onSubmit:n,isSubmittingFeedback:t}=e,[i,c]=(0,s.useState)(),[r,p]=(0,s.useState)(),d=[{id:"troubleshooting",answerText:__("Troubleshooting - I'll be reconnecting afterwards.","jetpack-connection")},{id:"not-working",answerText:__("I can't get it to work.","jetpack-connection")},{id:"slowed-down-site",answerText:__("It slowed down my site.","jetpack-connection")},{id:"buggy",answerText:__("It's buggy.","jetpack-connection")},{id:"what-does-it-do",answerText:__("I don't know what it does.","jetpack-connection")}],u="another-reason",m=(0,s.useCallback)((()=>{n(i,i===u?r:"")}),[n,u,r,i]),g=(0,s.useCallback)((e=>{const n=e.target.value;e.stopPropagation(),p(n)}),[p]),h=e=>e===i?"jp-connect__disconnect-survey-card--selected":"",_=(0,s.useCallback)(((e,n)=>{switch(n.key){case"Enter":case"Space":case"Spacebar":case" ":c(e)}}),[c]);return a().createElement(a().Fragment,null,a().createElement("div",{className:"jp-connection__disconnect-dialog__survey"},d.map((e=>a().createElement(l.A,{key:e.id,id:e.id,onClick:c,onKeyDown:_,className:"card jp-connect__disconnect-survey-card "+h(e.id)},a().createElement("p",{className:"jp-connect__disconnect-survey-card__answer"},e.answerText)))),a().createElement(l.A,{id:u,key:u,onClick:c,onKeyDown:_,className:"card jp-connect__disconnect-survey-card "+h(u)},a().createElement("p",{className:"jp-connect__disconnect-survey-card__answer"},__("Other:","jetpack-connection")," ",a().createElement("input",{placeholder:__("share your experience","jetpack-connection"),className:"jp-connect__disconnect-survey-card__input",type:"text",value:r,onChange:g,maxLength:1e3})))),a().createElement("p",null,a().createElement(o.Button,{disabled:!i||t,variant:"primary",onClick:m,className:"jp-connection__disconnect-dialog__btn-back-to-wp"},t?__("Submitting…","jetpack-connection"):__("Submit Feedback","jetpack-connection",0))))};p.PropTypes={onSubmit:r().func,isSubmittingFeedback:r().bool};const d=p},8233:(e,n,t)=>{"use strict";t.d(n,{A:()=>c});var o=t(1609),i=t.n(o);t(255);const c=e=>{const{id:n,onClick:t,onKeyDown:c,children:r,className:s}=e,a=(0,o.useCallback)((()=>{t(n)}),[n,t]),l=(0,o.useCallback)((e=>{c(n,e)}),[n,c]);return i().createElement("div",{tabIndex:"0",role:"button",onClick:a,onKeyDown:l,className:"card jp-connect__disconnect-survey-card "+s},r)}},7018:(e,n,t)=>{"use strict";t.d(n,{A:()=>l});var o=t(7723),i=t(3619),c=t.n(i),r=t(1609),s=t.n(r);t(3732);const __=o.__,a=e=>{const{title:n,isLoading:t=!1,width:o="100%",displayTOS:i,scrollToIframe:c=!1,connectUrl:a,onComplete:l,onThirdPartyCookiesBlocked:p,location:d}=e;let{height:u="300"}=e;const m=(0,r.useRef)(void 0),g=(0,r.useRef)(void 0),h=e=>{if(g.current&&e.source===g.current.contentWindow)switch(e.data){case"close":window.removeEventListener("message",h),l&&l();break;case"wpcom_nocookie":p&&p()}};(0,r.useEffect)((()=>{c&&window.scrollTo(0,m.current.offsetTop-10),window.addEventListener("message",h)}));let _=a.replace("authorize/","authorize_iframe/");return _.includes("?")||(_+="?"),i&&(_+="&display-tos",u=(parseInt(u)+50).toString()),_+="&iframe_height="+parseInt(u),d&&(_+="&iframe_source="+d),s().createElement("div",{className:"dops-card fade-in jp-iframe-wrap",ref:m},s().createElement("h1",null,n),t?s().createElement("p",null,__("Loading…","jetpack-connection")):s().createElement("iframe",{title:n,width:o,height:u,src:_,ref:g}))};a.propTypes={title:c().string.isRequired,isLoading:c().bool,width:c().string,height:c().string,connectUrl:c().string.isRequired,displayTOS:c().bool.isRequired,scrollToIframe:c().bool,onComplete:c().func,onThirdPartyCookiesBlocked:c().func,location:c().string};const l=a},4981:(e,n,t)=>{"use strict";t.d(n,{A:()=>C});var o=t(7425),i=t(3924),c=t(1112),r=t(6427),s=t(6087),a=t(7723),l=t(7750),p=t(1386),d=t(8391),u=t(2231),m=t(3619),g=t.n(m),h=t(1609),_=t.n(h),y=t(3269);t(2057);const __=a.__,f=e=>{const{title:n=__("Manage your Jetpack connection","jetpack-connection"),apiRoot:t,apiNonce:c,connectedPlugins:s,onDisconnected:a,context:l="jetpack-dashboard",connectedUser:p={},connectedSiteId:d,isOpen:u=!1,onClose:m}=e,[g,f]=(0,h.useState)(!1),C=(0,h.useCallback)((e=>{e&&e.preventDefault(),f(!0)}),[f]),E=(0,h.useCallback)((e=>{e&&e.preventDefault(),f(!1)}),[f]);return _().createElement(_().Fragment,null,u&&_().createElement(_().Fragment,null,_().createElement(r.Modal,{title:"",contentLabel:n,aria:{labelledby:"jp-connection__manage-dialog__heading"},shouldCloseOnClickOutside:!1,shouldCloseOnEsc:!1,isDismissible:!1,className:"jp-connection__manage-dialog"},_().createElement("div",{className:"jp-connection__manage-dialog__content"},_().createElement("h1",{id:"jp-connection__manage-dialog__heading"},n),_().createElement(o.Ay,{className:"jp-connection__manage-dialog__large-text"},__("At least one user must be connected for your Jetpack products to work properly.","jetpack-connection")),_().createElement(b,{title:__("Transfer ownership to another admin","jetpack-connection"),link:(0,i.A)("calypso-settings-manage-connection",{site:window?.myJetpackInitialState?.siteSuffix}),key:"transfer",action:"transfer"}),_().createElement(b,{title:__("Disconnect Jetpack","jetpack-connection"),onClick:C,key:"disconnect",action:"disconnect"})),_().createElement(k,{onClose:m})),_().createElement(y.A,{apiRoot:t,apiNonce:c,onDisconnected:a,connectedPlugins:s,connectedSiteId:d,connectedUser:p,isOpen:g,onClose:E,context:l})))},b=({title:e,onClick:n=()=>null,link:t="#",action:o})=>_().createElement("div",{className:"jp-connection__manage-dialog__action-card card"},_().createElement("div",{className:"jp-connection__manage-dialog__action-card__card-content"},_().createElement("a",{href:t,className:(0,u.A)("jp-connection__manage-dialog__action-card__card-headline",o),onClick:n},e,_().createElement(l.A,{icon:"disconnect"===o?p.A:d.A,className:"jp-connection__manage-dialog__action-card__icon"})))),k=({onClose:e})=>_().createElement("div",{className:"jp-row jp-connection__manage-dialog__actions"},_().createElement("div",{className:"jp-connection__manage-dialog__text-wrap lg-col-span-9 md-col-span-7 sm-col-span-3"},_().createElement(o.Ay,null,(0,s.createInterpolateElement)(__("Need help? Learn more about the Jetpack connection or contact Jetpack support","jetpack-connection"),{strong:_().createElement("strong",null),connectionInfoLink:_().createElement(r.ExternalLink,{href:(0,i.A)("why-the-wordpress-com-connection-is-important-for-jetpack"),className:"jp-connection__manage-dialog__link"}),supportLink:_().createElement(r.ExternalLink,{href:(0,i.A)("jetpack-support"),className:"jp-connection__manage-dialog__link"})}))),_().createElement("div",{className:"jp-connection__manage-dialog__button-wrap lg-col-span-3 md-col-span-1 sm-col-span-1"},_().createElement(c.A,{weight:"regular",variant:"secondary",onClick:e,className:"jp-connection__manage-dialog__btn-dismiss"},__("Cancel","jetpack-connection"))));f.propTypes={title:g().string,apiRoot:g().string.isRequired,apiNonce:g().string.isRequired,connectedPlugins:g().oneOfType([g().array,g().object]),onDisconnected:g().func,context:g().string,connectedUser:g().object,connectedSiteId:g().number,isOpen:g().bool,onClose:g().func};const C=f},9660:(e,n,t)=>{"use strict";t.d(n,{A:()=>l});var o=t(5932),i=t(7999),c=t(7143),r=t(1609),s=t(4293);const a=window?.JP_CONNECTION_INITIAL_STATE||(0,i.getScriptData)()?.connection||{},l=({registrationNonce:e=a.registrationNonce,apiRoot:n=a.apiRoot,apiNonce:t=a.apiNonce,redirectUri:i,autoTrigger:l,from:p,skipUserConnection:d,skipPricingPage:u}={})=>{const{registerSite:m,connectUser:g,refreshConnectedPlugins:h}=(0,c.useDispatch)(s.a),_=(0,c.useSelect)((e=>e(s.a).getRegistrationError())),{siteIsRegistering:y,userIsConnecting:f,userConnectionData:b,connectedPlugins:k,connectionErrors:C,isRegistered:E,isUserConnected:v,hasConnectedOwner:j,isOfflineMode:w}=(0,c.useSelect)((e=>({siteIsRegistering:e(s.a).getSiteIsRegistering(),userIsConnecting:e(s.a).getUserIsConnecting(),userConnectionData:e(s.a).getUserConnectionData(),connectedPlugins:e(s.a).getConnectedPlugins(),connectionErrors:e(s.a).getConnectionErrors(),isOfflineMode:e(s.a).getIsOfflineMode(),...e(s.a).getConnectionStatus()}))),A=()=>d?i?(window.location=i,Promise.resolve(i)):Promise.resolve():g({from:p,redirectUri:i,skipPricingPage:u}),N=n=>(n&&n.preventDefault(),E?A():m({registrationNonce:e,redirectUri:i,from:p}).then((()=>A())));return(0,r.useEffect)((()=>{o.Ay.setApiRoot(n),o.Ay.setApiNonce(t)}),[n,t]),(0,r.useEffect)((()=>{!l||y||f||N()}),[]),{handleRegisterSite:N,handleConnectUser:A,refreshConnectedPlugins:h,isRegistered:E,isUserConnected:v,siteIsRegistering:y,userIsConnecting:f,registrationError:_,userConnectionData:b,hasConnectedOwner:j,connectedPlugins:k,connectionErrors:C,isOfflineMode:w}}},3765:(e,n,t)=>{"use strict";t.d(n,{A:()=>i});var o=t(7999);function i(){const e=("undefined"!=typeof window&&window?.JP_CONNECTION_INITIAL_STATE||(0,o.getScriptData)()?.connection)?.calypsoEnv;switch(e){case"development":return"http://calypso.localhost:3000/";case"wpcalypso":return"https://wpcalypso.wordpress.com/";case"horizon":return"https://horizon.wordpress.com/";default:return"https://wordpress.com/"}}},4617:(e,n,t)=>{"use strict";t.d(n,{A:()=>o});const o=e=>{window.location.replace(e)}},9628:(e,n,t)=>{"use strict";t.d(n,{A:()=>r,R:()=>s});var o=t(7088),i=t(9660),c=t(1713);function r(){const{connectionErrors:e}=(0,i.A)({}),n=Object.values(e).shift(),t=n&&Object.values(n).length&&Object.values(n).shift().error_message;return{hasConnectionError:Boolean(t),connectionErrorMessage:t}}const s=()=>{const{hasConnectionError:e,connectionErrorMessage:n}=r(),{restoreConnection:t,isRestoringConnection:i,restoreConnectionError:s}=(0,c.A)();return e?React.createElement(o.A,{isRestoringConnection:i,restoreConnectionError:s,restoreConnectionCallback:t,message:n}):null}},2558:(e,n,t)=>{"use strict";t.d(n,{A:()=>f});var o=t(5932),i=t(7999),c=t(7143),r=t(4804),s=t.n(r),a=t(1609),l=t(3765),p=t(9660),d=t(4293);const u=s()("jetpack:connection:useProductCheckoutWorkflow"),{registrationNonce:m,apiRoot:g,apiNonce:h,siteSuffix:_}=window?.JP_CONNECTION_INITIAL_STATE||(0,i.getScriptData)()?.connection||{},y=()=>"undefined"!=typeof window?window?.myJetpackInitialState?.adminUrl:null;function f({productSlug:e,redirectUrl:n,siteSuffix:t=_,adminUrl:i=y(),connectAfterCheckout:r=!1,siteProductAvailabilityHandler:s=null,quantity:f=null,from:b,useBlogIdSuffix:k=!1}={}){u("productSlug is %s",e),u("redirectUrl is %s",n),u("siteSuffix is %s",t),u("from is %s",b);const[C,E]=(0,a.useState)(!1),{registerSite:v}=(0,c.useDispatch)(d.a),j=(0,c.useSelect)((e=>e(d.a).getBlogId()),[]);u("blogID is %s",j??"undefined"),k=k&&!!j;const{isUserConnected:w,isRegistered:A,handleConnectUser:N}=(0,p.A)({redirectUri:n,from:b}),S=(0,a.useMemo)((()=>{const o=(0,l.A)(),c=(!A||!w)&&r,s=c?"checkout/jetpack/":`checkout/${k?j.toString():t}/`,a=new URL(`${o}${s}${e}${null!=f?`:-q-${f}`:""}`);return c?(a.searchParams.set("connect_after_checkout",!0),a.searchParams.set("admin_url",i),a.searchParams.set("from_site_slug",t)):a.searchParams.set("site",t),a.searchParams.set("source",b),a.searchParams.set("redirect_to",n),w||a.searchParams.set("unlinked","1"),a}),[A,w,r,t,f,e,b,n,i,k,j]);u("isRegistered is %s",A),u("isUserConnected is %s",w),u("connectAfterCheckout is %s",r),u("checkoutUrl is %s",S);const R=(e=null)=>Promise.resolve(s&&s()).then((n=>{if(e&&S.searchParams.set("redirect_to",e),n)return u("handleAfterRegistration: Site has a product associated"),N();u("handleAfterRegistration: Site does not have a product associated. Redirecting to checkout %s",S),window.location.href=S}));return(0,a.useEffect)((()=>{o.Ay.setApiRoot(g),o.Ay.setApiNonce(h)}),[]),{run:(e,t=null)=>(e&&e.preventDefault(),E(!0),r?((e=null)=>{e&&S.searchParams.set("redirect_to",e),u("Redirecting to connectAfterCheckout flow: %s",S),window.location.href=S})(t):A?R(t):void v({registrationNonce:m,redirectUri:n}).then((()=>R(t)))),isRegistered:A,hasCheckoutStarted:C}}},1713:(e,n,t)=>{"use strict";t.d(n,{A:()=>p});var o=t(5932),i=t(7999),c=t(7143),r=t(1609),s=t(4293);const{apiRoot:a,apiNonce:l}=window?.JP_CONNECTION_INITIAL_STATE||(0,i.getScriptData)()?.connection||{};function p(){const[e,n]=(0,r.useState)(!1),[t,i]=(0,r.useState)(null),{disconnectUserSuccess:p,setConnectionErrors:d}=(0,c.useDispatch)(s.a);return(0,r.useEffect)((()=>{o.Ay.setApiRoot(a),o.Ay.setApiNonce(l)}),[]),{restoreConnection:(e=!0)=>(n(!0),i(null),o.Ay.reconnect().then((n=>("in_progress"===n.status?(p(),d({}),e&&(window.location.href="/wp-admin/admin.php?page=my-jetpack#/connection")):window.location.reload(),n))).catch((e=>{throw i(e),n(!1),e}))),isRestoringConnection:e,restoreConnectionError:t}}},8980:(e,n,t)=>{"use strict";t.d(n,{AY:()=>g.A,F0:()=>o.A,Hx:()=>y.a,JC:()=>l.A,Jl:()=>i.A,Ni:()=>u.A,Ob:()=>b.A,Rc:()=>p.R,Sx:()=>p.A,ag:()=>_.A,bo:()=>d.A,cS:()=>f.A,d1:()=>h.A,mX:()=>a.A,nM:()=>c.A,pK:()=>r.A,w5:()=>m.A,xW:()=>s.A});var o=t(6212),i=t(2668),c=t(7945),r=t(8421),s=t(7018),a=t(7840),l=t(7088),p=t(9628),d=t(3269),u=t(7499),m=t(9660),g=t(4981),h=t(4617),_=t(3765),y=t(4293),f=t(2558),b=t(1713)},3935:(e,n,t)=>{"use strict";t.d(n,{A1:()=>a,Ay:()=>E,DO:()=>s,Ij:()=>r,Kl:()=>m,LW:()=>l,MU:()=>g,XY:()=>p,ZO:()=>c,dz:()=>d,gH:()=>u,v_:()=>i});var o=t(5932);const i="SET_CONNECTION_STATUS",c="SET_CONNECTION_STATUS_IS_FETCHING",r="SET_SITE_IS_REGISTERING",s="SET_USER_IS_CONNECTING",a="SET_REGISTRATION_ERROR",l="CLEAR_REGISTRATION_ERROR",p="SET_AUTHORIZATION_URL",d="DISCONNECT_USER_SUCCESS",u="SET_CONNECTED_PLUGINS",m="SET_CONNECTION_ERRORS",g="SET_IS_OFFLINE_MODE",h=e=>({type:i,connectionStatus:e}),_=e=>({type:r,isRegistering:e}),y=e=>({type:s,isConnecting:e}),f=e=>({type:a,registrationError:e}),b=()=>({type:l}),k=e=>({type:p,authorizationUrl:e}),C=e=>({type:u,connectedPlugins:e});const E={setConnectionStatus:h,setConnectionStatusIsFetching:e=>({type:c,isFetching:e}),fetchConnectionStatus:()=>({type:"FETCH_CONNECTION_STATUS"}),fetchAuthorizationUrl:e=>({type:"FETCH_AUTHORIZATION_URL",redirectUri:e}),setSiteIsRegistering:_,setUserIsConnecting:y,setRegistrationError:f,clearRegistrationError:b,setAuthorizationUrl:k,registerSite:function*({registrationNonce:e,redirectUri:n,from:t=""}){yield b(),yield _(!0);try{const o=yield{type:"REGISTER_SITE",registrationNonce:e,redirectUri:n,from:t};return yield h({isRegistered:!0}),yield k(o.authorizeUrl),yield _(!1),Promise.resolve(o)}catch(e){return yield f(e),yield _(!1),Promise.reject(e)}},connectUser:function*({from:e,redirectFunc:n,redirectUri:t,skipPricingPage:o}={}){yield y(!0),yield{type:"CONNECT_USER",from:e,redirectFunc:n,redirectUri:t,skipPricingPage:o}},disconnectUserSuccess:()=>({type:d}),setConnectedPlugins:C,refreshConnectedPlugins:()=>async({dispatch:e})=>await new Promise((n=>o.Ay.fetchConnectedPlugins().then((t=>{e(C(t)),n(t)})))),setConnectionErrors:e=>({type:m,connectionErrors:e}),setIsOfflineMode:e=>({type:g,isOfflineMode:e})}},2494:(e,n,t)=>{"use strict";t.d(n,{A:()=>r});var o=t(5932),i=t(7143),c=t(2279);const r={FETCH_AUTHORIZATION_URL:({redirectUri:e})=>o.Ay.fetchAuthorizationUrl(e),REGISTER_SITE:({registrationNonce:e,redirectUri:n,from:t})=>o.Ay.registerSite(e,n,t),CONNECT_USER:(0,i.createRegistryControl)((({resolveSelect:e})=>({from:n,redirectFunc:t,redirectUri:o,skipPricingPage:i}={})=>new Promise(((r,s)=>{e(c.A).getAuthorizationUrl(o).then((e=>{const o=t||(e=>window.location.assign(e)),c=new URL(e);i&&c.searchParams.set("skip_pricing","true"),n&&c.searchParams.set("from",encodeURIComponent(n));const s=c.toString();o(s),r(s)})).catch((e=>{s(e)}))}))))}},5051:(e,n,t)=>{"use strict";t.d(n,{A:()=>c});var o=t(7143),i=t(3935);const c=(0,o.combineReducers)({connectionStatus:(e={},n)=>{switch(n.type){case i.v_:return{...e,...n.connectionStatus};case i.dz:return{...e,isUserConnected:!1}}return e},connectionStatusIsFetching:(e=!1,n)=>n.type===i.ZO?n.isFetching:e,siteIsRegistering:(e=!1,n)=>n.type===i.Ij?n.isRegistering:e,userIsConnecting:(e=!1,n)=>n.type===i.DO?n.isConnecting:e,registrationError:(e,n)=>{switch(n.type){case i.LW:return!1;case i.A1:return n.registrationError;default:return e}},authorizationUrl:(e,n)=>n.type===i.XY?n.authorizationUrl:e,userConnectionData:(e,n)=>(n.type,e),connectedPlugins:(e={},n)=>n.type===i.gH?n.connectedPlugins:e,connectionErrors:(e={},n)=>n.type===i.Kl?n.connectionErrors:e,isOfflineMode:(e=!1,n)=>n.type===i.MU?n.isConnecting:e})},8019:(e,n,t)=>{"use strict";t.d(n,{A:()=>r});var o=t(7143),i=t(3935),c=t(2279);const r={...{getAuthorizationUrl:{isFulfilled:(e,...n)=>{const t=Boolean(e.authorizationUrl),i=(0,o.select)(c.A).hasFinishedResolution("getAuthorizationUrl",n);return t&&!i&&(0,o.dispatch)(c.A).finishResolution("getAuthorizationUrl",n),t},*fulfill(e){const n=yield i.Ay.fetchAuthorizationUrl(e);yield i.Ay.setAuthorizationUrl(n.authorizeUrl)}}}}},2676:(e,n,t)=>{"use strict";t.d(n,{A:()=>o});const o={...{getConnectionStatus:e=>e.connectionStatus||{},getConnectionStatusIsFetching:()=>!1,getSiteIsRegistering:e=>e.siteIsRegistering||!1,getUserIsConnecting:e=>e.userIsConnecting||!1,getRegistrationError:e=>e.registrationError||!1,getAuthorizationUrl:e=>e.authorizationUrl||!1,getUserConnectionData:e=>e.userConnectionData||!1,getConnectedPlugins:e=>e.connectedPlugins||[],getConnectionErrors:e=>e.connectionErrors||[],getIsOfflineMode:e=>e.isOfflineMode||!1,getWpcomUser:e=>e?.userConnectionData?.currentUser?.wpcomUser,getBlogId:e=>e?.userConnectionData?.currentUser?.blogId}}},8734:(e,n,t)=>{"use strict";t.d(n,{A:()=>c});var o=t(7143);class i{static store=null;static mayBeInit(e,n){null===i.store&&(i.store=(0,o.createReduxStore)(e,n),(0,o.register)(i.store))}}const c=i},2279:(e,n,t)=>{"use strict";t.d(n,{A:()=>o});const o="jetpack-connection"},4293:(e,n,t)=>{"use strict";t.d(n,{a:()=>p.A});var o=t(7999),i=t(3935),c=t(2494),r=t(5051),s=t(8019),a=t(2676),l=t(8734),p=t(2279);const d=window.JP_CONNECTION_INITIAL_STATE||(0,o.getScriptData)()?.connection;d||console.error("Jetpack Connection package: Initial state is missing. Check documentation to see how to use the Connection composer package to set up the initial state."),l.A.mayBeInit(p.A,{__experimentalUseThunks:!0,reducer:r.A,actions:i.Ay,selectors:a.A,resolvers:s.A,controls:c.A,initialState:d||{}})},2365:(e,n,t)=>{"use strict";e.exports=t.p+"images/disconnect-confirm-dc9fe8f5c68cfd1320e0.jpg"},9362:(e,n,t)=>{"use strict";e.exports=t.p+"images/disconnect-thanks-5873bfac56a9bd7322cd.jpg"},9074:e=>{"use strict";e.exports={consumer_slug:"connection_package"}},7999:e=>{"use strict";e.exports=window.JetpackScriptDataModule},1609:e=>{"use strict";e.exports=window.React},790:e=>{"use strict";e.exports=window.ReactJSXRuntime},6427:e=>{"use strict";e.exports=window.wp.components},9491:e=>{"use strict";e.exports=window.wp.compose},7143:e=>{"use strict";e.exports=window.wp.data},6087:e=>{"use strict";e.exports=window.wp.element},7723:e=>{"use strict";e.exports=window.wp.i18n},5573:e=>{"use strict";e.exports=window.wp.primitives},3832:e=>{"use strict";e.exports=window.wp.url},8579:e=>{function n(){return e.exports=n=Object.assign?Object.assign.bind():function(e){for(var n=1;n{"use strict";function o(e){var n,t,i="";if("string"==typeof e||"number"==typeof e)i+=e;else if("object"==typeof e)if(Array.isArray(e)){var c=e.length;for(n=0;ni});const i=function(){for(var e,n,t=0,i="",c=arguments.length;t{var n=e&&e.__esModule?()=>e.default:()=>e;return t.d(n,{a:n}),n},t.d=(e,n)=>{for(var o in n)t.o(n,o)&&!t.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:n[o]})},t.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),t.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),t.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;t.g.importScripts&&(e=t.g.location+"");var n=t.g.document;if(!e&&n&&(n.currentScript&&"SCRIPT"===n.currentScript.tagName.toUpperCase()&&(e=n.currentScript.src),!e)){var o=n.getElementsByTagName("script");if(o.length)for(var i=o.length-1;i>-1&&(!e||!/^http(s?):/.test(e));)e=o[i--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),t.p=e})();var o={};return(()=>{"use strict";t.r(o),t.d(o,{CONNECTION_STORE_ID:()=>e.Hx,ConnectButton:()=>e.pK,ConnectScreen:()=>e.F0,ConnectScreenLayout:()=>e.Jl,ConnectScreenRequiredPlan:()=>e.nM,ConnectUser:()=>e.mX,ConnectionError:()=>e.Rc,ConnectionErrorNotice:()=>e.JC,DisconnectCard:()=>e.Ni,DisconnectDialog:()=>e.bo,InPlaceConnection:()=>e.xW,ManageConnectionDialog:()=>e.AY,getCalypsoOrigin:()=>e.ag,thirdPartyCookiesFallbackHelper:()=>e.d1,useConnection:()=>e.w5,useConnectionErrorNotice:()=>e.Sx,useProductCheckoutWorkflow:()=>e.cS,useRestoreConnection:()=>e.Ob});var e=t(8980)})(),o})())); \ No newline at end of file diff --git a/jetpack_vendor/automattic/jetpack-forms/dist/blocks/editor.asset.php b/jetpack_vendor/automattic/jetpack-forms/dist/blocks/editor.asset.php index 393b290335..5d37bd26c5 100644 --- a/jetpack_vendor/automattic/jetpack-forms/dist/blocks/editor.asset.php +++ b/jetpack_vendor/automattic/jetpack-forms/dist/blocks/editor.asset.php @@ -1 +1 @@ - array('jetpack-connection', 'lodash', 'react', 'react-jsx-runtime', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-url'), 'version' => '493028fd424d4ef9fd5a'); + array('jetpack-connection', 'lodash', 'react', 'react-jsx-runtime', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-url'), 'version' => 'd9a02c7420f2d144f58c'); diff --git a/jetpack_vendor/automattic/jetpack-forms/dist/blocks/editor.js b/jetpack_vendor/automattic/jetpack-forms/dist/blocks/editor.js index 5c8c4adcf1..16bd4a48fc 100644 --- a/jetpack_vendor/automattic/jetpack-forms/dist/blocks/editor.js +++ b/jetpack_vendor/automattic/jetpack-forms/dist/blocks/editor.js @@ -1,4 +1,4 @@ -(()=>{var e={3407:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});var a=r(5573),o=r(790);const n=(0,o.jsx)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(a.Path,{d:"M15.5 9.5a1 1 0 100-2 1 1 0 000 2zm0 1.5a2.5 2.5 0 100-5 2.5 2.5 0 000 5zm-2.25 6v-2a2.75 2.75 0 00-2.75-2.75h-4A2.75 2.75 0 003.75 15v2h1.5v-2c0-.69.56-1.25 1.25-1.25h4c.69 0 1.25.56 1.25 1.25v2h1.5zm7-2v2h-1.5v-2c0-.69-.56-1.25-1.25-1.25H15v-1.5h2.5A2.75 2.75 0 0120.25 15zM9.5 8.5a1 1 0 11-2 0 1 1 0 012 0zm1.5 0a2.5 2.5 0 11-5 0 2.5 2.5 0 015 0z",fillRule:"evenodd"})})},9904:(e,t)=>{"use strict";var r=/^[-!#$%&'*+\/0-9=?A-Z^_a-z{|}~](\.?[-!#$%&'*+\/0-9=?A-Z^_a-z`{|}~])*@[a-zA-Z0-9](-*\.?[a-zA-Z0-9])*\.[a-zA-Z](-?[a-zA-Z0-9])+$/;t.validate=function(e){if(!e)return!1;if(e.length>254)return!1;if(!r.test(e))return!1;var t=e.split("@");return!(t[0].length>64)&&!t[1].split(".").some((function(e){return e.length>63}))}},2529:(e,t,r)=>{"use strict";const a=r(9443),o=Symbol("max"),n=Symbol("length"),l=Symbol("lengthCalculator"),i=Symbol("allowStale"),s=Symbol("maxAge"),c=Symbol("dispose"),u=Symbol("noDisposeOnSet"),d=Symbol("lruList"),p=Symbol("cache"),m=Symbol("updateAgeOnGet"),f=()=>1;const h=(e,t,r)=>{const a=e[p].get(t);if(a){const t=a.value;if(g(e,t)){if(k(e,a),!e[i])return}else r&&(e[m]&&(a.value.now=Date.now()),e[d].unshiftNode(a));return t.value}},g=(e,t)=>{if(!t||!t.maxAge&&!e[s])return!1;const r=Date.now()-t.now;return t.maxAge?r>t.maxAge:e[s]&&r>e[s]},b=e=>{if(e[n]>e[o])for(let t=e[d].tail;e[n]>e[o]&&null!==t;){const r=t.prev;k(e,t),t=r}},k=(e,t)=>{if(t){const r=t.value;e[c]&&e[c](r.key,r.value),e[n]-=r.length,e[p].delete(r.key),e[d].removeNode(t)}};class E{constructor(e,t,r,a,o){this.key=e,this.value=t,this.length=r,this.now=a,this.maxAge=o||0}}const C=(e,t,r,a)=>{let o=r.value;g(e,o)&&(k(e,r),e[i]||(o=void 0)),o&&t.call(a,o.value,o.key,e)};e.exports=class{constructor(e){if("number"==typeof e&&(e={max:e}),e||(e={}),e.max&&("number"!=typeof e.max||e.max<0))throw new TypeError("max must be a non-negative number");this[o]=e.max||1/0;const t=e.length||f;if(this[l]="function"!=typeof t?f:t,this[i]=e.stale||!1,e.maxAge&&"number"!=typeof e.maxAge)throw new TypeError("maxAge must be a number");this[s]=e.maxAge||0,this[c]=e.dispose,this[u]=e.noDisposeOnSet||!1,this[m]=e.updateAgeOnGet||!1,this.reset()}set max(e){if("number"!=typeof e||e<0)throw new TypeError("max must be a non-negative number");this[o]=e||1/0,b(this)}get max(){return this[o]}set allowStale(e){this[i]=!!e}get allowStale(){return this[i]}set maxAge(e){if("number"!=typeof e)throw new TypeError("maxAge must be a non-negative number");this[s]=e,b(this)}get maxAge(){return this[s]}set lengthCalculator(e){"function"!=typeof e&&(e=f),e!==this[l]&&(this[l]=e,this[n]=0,this[d].forEach((e=>{e.length=this[l](e.value,e.key),this[n]+=e.length}))),b(this)}get lengthCalculator(){return this[l]}get length(){return this[n]}get itemCount(){return this[d].length}rforEach(e,t){t=t||this;for(let r=this[d].tail;null!==r;){const a=r.prev;C(this,e,r,t),r=a}}forEach(e,t){t=t||this;for(let r=this[d].head;null!==r;){const a=r.next;C(this,e,r,t),r=a}}keys(){return this[d].toArray().map((e=>e.key))}values(){return this[d].toArray().map((e=>e.value))}reset(){this[c]&&this[d]&&this[d].length&&this[d].forEach((e=>this[c](e.key,e.value))),this[p]=new Map,this[d]=new a,this[n]=0}dump(){return this[d].map((e=>!g(this,e)&&{k:e.key,v:e.value,e:e.now+(e.maxAge||0)})).toArray().filter((e=>e))}dumpLru(){return this[d]}set(e,t,r){if((r=r||this[s])&&"number"!=typeof r)throw new TypeError("maxAge must be a number");const a=r?Date.now():0,i=this[l](t,e);if(this[p].has(e)){if(i>this[o])return k(this,this[p].get(e)),!1;const l=this[p].get(e).value;return this[c]&&(this[u]||this[c](e,l.value)),l.now=a,l.maxAge=r,l.value=t,this[n]+=i-l.length,l.length=i,this.get(e),b(this),!0}const m=new E(e,t,i,a,r);return m.length>this[o]?(this[c]&&this[c](e,t),!1):(this[n]+=m.length,this[d].unshift(m),this[p].set(e,this[d].head),b(this),!0)}has(e){if(!this[p].has(e))return!1;const t=this[p].get(e).value;return!g(this,t)}get(e){return h(this,e,!0)}peek(e){return h(this,e,!1)}pop(){const e=this[d].tail;return e?(k(this,e),e.value):null}del(e){k(this,this[p].get(e))}load(e){this.reset();const t=Date.now();for(let r=e.length-1;r>=0;r--){const a=e[r],o=a.e||0;if(0===o)this.set(a.k,a.v);else{const e=o-t;e>0&&this.set(a.k,a.v,e)}}}prune(){this[p].forEach(((e,t)=>h(this,t,!1)))}}},7876:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});const a={placeholder:"NisihrgiIKl_knpYJtfg",pulse:"R2i0K45dEF157drbVRPI"}},5196:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});const a={global:"_fUXxnSp5pagKBp9gSN7"}},7378:e=>{var t=1e3,r=60*t,a=60*r,o=24*a,n=7*o,l=365.25*o;function i(e,t,r,a){var o=t>=1.5*r;return Math.round(e/r)+" "+a+(o?"s":"")}e.exports=function(e,s){s=s||{};var c=typeof e;if("string"===c&&e.length>0)return function(e){if((e=String(e)).length>100)return;var i=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!i)return;var s=parseFloat(i[1]);switch((i[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return s*l;case"weeks":case"week":case"w":return s*n;case"days":case"day":case"d":return s*o;case"hours":case"hour":case"hrs":case"hr":case"h":return s*a;case"minutes":case"minute":case"mins":case"min":case"m":return s*r;case"seconds":case"second":case"secs":case"sec":case"s":return s*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return s;default:return}}(e);if("number"===c&&isFinite(e))return s.long?function(e){var n=Math.abs(e);if(n>=o)return i(e,n,o,"day");if(n>=a)return i(e,n,a,"hour");if(n>=r)return i(e,n,r,"minute");if(n>=t)return i(e,n,t,"second");return e+" ms"}(e):function(e){var n=Math.abs(e);if(n>=o)return Math.round(e/o)+"d";if(n>=a)return Math.round(e/a)+"h";if(n>=r)return Math.round(e/r)+"m";if(n>=t)return Math.round(e/t)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},4172:(e,t,r)=>{const a=Symbol("SemVer ANY");class o{static get ANY(){return a}constructor(e,t){if(t=n(t),e instanceof o){if(e.loose===!!t.loose)return e;e=e.value}e=e.trim().split(/\s+/).join(" "),c("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===a?this.value="":this.value=this.operator+this.semver.version,c("comp",this)}parse(e){const t=this.options.loose?l[i.COMPARATORLOOSE]:l[i.COMPARATOR],r=e.match(t);if(!r)throw new TypeError(`Invalid comparator: ${e}`);this.operator=void 0!==r[1]?r[1]:"","="===this.operator&&(this.operator=""),r[2]?this.semver=new u(r[2],this.options.loose):this.semver=a}toString(){return this.value}test(e){if(c("Comparator.test",e,this.options.loose),this.semver===a||e===a)return!0;if("string"==typeof e)try{e=new u(e,this.options)}catch(e){return!1}return s(e,this.operator,this.semver,this.options)}intersects(e,t){if(!(e instanceof o))throw new TypeError("a Comparator is required");return""===this.operator?""===this.value||new d(e.value,t).test(this.value):""===e.operator?""===e.value||new d(this.value,t).test(e.semver):(!(t=n(t)).includePrerelease||"<0.0.0-0"!==this.value&&"<0.0.0-0"!==e.value)&&(!(!t.includePrerelease&&(this.value.startsWith("<0.0.0")||e.value.startsWith("<0.0.0")))&&(!(!this.operator.startsWith(">")||!e.operator.startsWith(">"))||(!(!this.operator.startsWith("<")||!e.operator.startsWith("<"))||(!(this.semver.version!==e.semver.version||!this.operator.includes("=")||!e.operator.includes("="))||(!!(s(this.semver,"<",e.semver,t)&&this.operator.startsWith(">")&&e.operator.startsWith("<"))||!!(s(this.semver,">",e.semver,t)&&this.operator.startsWith("<")&&e.operator.startsWith(">")))))))}}e.exports=o;const n=r(879),{safeRe:l,t:i}=r(4746),s=r(9019),c=r(4860),u=r(3296),d=r(2787)},2787:(e,t,r)=>{class a{constructor(e,t){if(t=n(t),e instanceof a)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new a(e.raw,t);if(e instanceof l)return this.raw=e.value,this.set=[[e]],this.format(),this;if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e.trim().split(/\s+/).join(" "),this.set=this.raw.split("||").map((e=>this.parseRange(e))).filter((e=>e.length)),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){const e=this.set[0];if(this.set=this.set.filter((e=>!g(e[0]))),0===this.set.length)this.set=[e];else if(this.set.length>1)for(const e of this.set)if(1===e.length&&b(e[0])){this.set=[e];break}}this.format()}format(){return this.range=this.set.map((e=>e.join(" ").trim())).join("||").trim(),this.range}toString(){return this.range}parseRange(e){const t=((this.options.includePrerelease&&f)|(this.options.loose&&h))+":"+e,r=o.get(t);if(r)return r;const a=this.options.loose,n=a?c[u.HYPHENRANGELOOSE]:c[u.HYPHENRANGE];e=e.replace(n,B(this.options.includePrerelease)),i("hyphen replace",e),e=e.replace(c[u.COMPARATORTRIM],d),i("comparator trim",e);let s=(e=(e=e.replace(c[u.TILDETRIM],p)).replace(c[u.CARETTRIM],m)).split(" ").map((e=>E(e,this.options))).join(" ").split(/\s+/).map((e=>S(e,this.options)));a&&(s=s.filter((e=>(i("loose invalid filter",e,this.options),!!e.match(c[u.COMPARATORLOOSE]))))),i("range list",s);const b=new Map,k=s.map((e=>new l(e,this.options)));for(const e of k){if(g(e))return[e];b.set(e.value,e)}b.size>1&&b.has("")&&b.delete("");const C=[...b.values()];return o.set(t,C),C}intersects(e,t){if(!(e instanceof a))throw new TypeError("a Range is required");return this.set.some((r=>k(r,t)&&e.set.some((e=>k(e,t)&&r.every((r=>e.every((e=>r.intersects(e,t)))))))))}test(e){if(!e)return!1;if("string"==typeof e)try{e=new s(e,this.options)}catch(e){return!1}for(let t=0;t"<0.0.0-0"===e.value,b=e=>""===e.value,k=(e,t)=>{let r=!0;const a=e.slice();let o=a.pop();for(;r&&a.length;)r=a.every((e=>o.intersects(e,t))),o=a.pop();return r},E=(e,t)=>(i("comp",e,t),e=y(e,t),i("caret",e),e=v(e,t),i("tildes",e),e=A(e,t),i("xrange",e),e=x(e,t),i("stars",e),e),C=e=>!e||"x"===e.toLowerCase()||"*"===e,v=(e,t)=>e.trim().split(/\s+/).map((e=>R(e,t))).join(" "),R=(e,t)=>{const r=t.loose?c[u.TILDELOOSE]:c[u.TILDE];return e.replace(r,((t,r,a,o,n)=>{let l;return i("tilde",e,t,r,a,o,n),C(r)?l="":C(a)?l=`>=${r}.0.0 <${+r+1}.0.0-0`:C(o)?l=`>=${r}.${a}.0 <${r}.${+a+1}.0-0`:n?(i("replaceTilde pr",n),l=`>=${r}.${a}.${o}-${n} <${r}.${+a+1}.0-0`):l=`>=${r}.${a}.${o} <${r}.${+a+1}.0-0`,i("tilde return",l),l}))},y=(e,t)=>e.trim().split(/\s+/).map((e=>j(e,t))).join(" "),j=(e,t)=>{i("caret",e,t);const r=t.loose?c[u.CARETLOOSE]:c[u.CARET],a=t.includePrerelease?"-0":"";return e.replace(r,((t,r,o,n,l)=>{let s;return i("caret",e,t,r,o,n,l),C(r)?s="":C(o)?s=`>=${r}.0.0${a} <${+r+1}.0.0-0`:C(n)?s="0"===r?`>=${r}.${o}.0${a} <${r}.${+o+1}.0-0`:`>=${r}.${o}.0${a} <${+r+1}.0.0-0`:l?(i("replaceCaret pr",l),s="0"===r?"0"===o?`>=${r}.${o}.${n}-${l} <${r}.${o}.${+n+1}-0`:`>=${r}.${o}.${n}-${l} <${r}.${+o+1}.0-0`:`>=${r}.${o}.${n}-${l} <${+r+1}.0.0-0`):(i("no pr"),s="0"===r?"0"===o?`>=${r}.${o}.${n}${a} <${r}.${o}.${+n+1}-0`:`>=${r}.${o}.${n}${a} <${r}.${+o+1}.0-0`:`>=${r}.${o}.${n} <${+r+1}.0.0-0`),i("caret return",s),s}))},A=(e,t)=>(i("replaceXRanges",e,t),e.split(/\s+/).map((e=>w(e,t))).join(" ")),w=(e,t)=>{e=e.trim();const r=t.loose?c[u.XRANGELOOSE]:c[u.XRANGE];return e.replace(r,((r,a,o,n,l,s)=>{i("xRange",e,r,a,o,n,l,s);const c=C(o),u=c||C(n),d=u||C(l),p=d;return"="===a&&p&&(a=""),s=t.includePrerelease?"-0":"",c?r=">"===a||"<"===a?"<0.0.0-0":"*":a&&p?(u&&(n=0),l=0,">"===a?(a=">=",u?(o=+o+1,n=0,l=0):(n=+n+1,l=0)):"<="===a&&(a="<",u?o=+o+1:n=+n+1),"<"===a&&(s="-0"),r=`${a+o}.${n}.${l}${s}`):u?r=`>=${o}.0.0${s} <${+o+1}.0.0-0`:d&&(r=`>=${o}.${n}.0${s} <${o}.${+n+1}.0-0`),i("xRange return",r),r}))},x=(e,t)=>(i("replaceStars",e,t),e.trim().replace(c[u.STAR],"")),S=(e,t)=>(i("replaceGTE0",e,t),e.trim().replace(c[t.includePrerelease?u.GTE0PRE:u.GTE0],"")),B=e=>(t,r,a,o,n,l,i,s,c,u,d,p,m)=>`${r=C(a)?"":C(o)?`>=${a}.0.0${e?"-0":""}`:C(n)?`>=${a}.${o}.0${e?"-0":""}`:l?`>=${r}`:`>=${r}${e?"-0":""}`} ${s=C(c)?"":C(u)?`<${+c+1}.0.0-0`:C(d)?`<${c}.${+u+1}.0-0`:p?`<=${c}.${u}.${d}-${p}`:e?`<${c}.${u}.${+d+1}-0`:`<=${s}`}`.trim(),_=(e,t,r)=>{for(let r=0;r0){const a=e[r].semver;if(a.major===t.major&&a.minor===t.minor&&a.patch===t.patch)return!0}return!1}return!0}},3296:(e,t,r)=>{const a=r(4860),{MAX_LENGTH:o,MAX_SAFE_INTEGER:n}=r(246),{safeRe:l,t:i}=r(4746),s=r(879),{compareIdentifiers:c}=r(487);class u{constructor(e,t){if(t=s(t),e instanceof u){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;e=e.version}else if("string"!=typeof e)throw new TypeError(`Invalid version. Must be a string. Got type "${typeof e}".`);if(e.length>o)throw new TypeError(`version is longer than ${o} characters`);a("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;const r=e.trim().match(t.loose?l[i.LOOSE]:l[i.FULL]);if(!r)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+r[1],this.minor=+r[2],this.patch=+r[3],this.major>n||this.major<0)throw new TypeError("Invalid major version");if(this.minor>n||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>n||this.patch<0)throw new TypeError("Invalid patch version");r[4]?this.prerelease=r[4].split(".").map((e=>{if(/^[0-9]+$/.test(e)){const t=+e;if(t>=0&&t=0;)"number"==typeof this.prerelease[a]&&(this.prerelease[a]++,a=-2);if(-1===a){if(t===this.prerelease.join(".")&&!1===r)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(e)}}if(t){let a=[t,e];!1===r&&(a=[t]),0===c(this.prerelease[0],t)?isNaN(this.prerelease[1])&&(this.prerelease=a):this.prerelease=a}break}default:throw new Error(`invalid increment argument: ${e}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}}e.exports=u},2322:(e,t,r)=>{const a=r(5788);e.exports=(e,t)=>{const r=a(e.trim().replace(/^[=v]+/,""),t);return r?r.version:null}},9019:(e,t,r)=>{const a=r(9250),o=r(6723),n=r(9272),l=r(6453),i=r(3356),s=r(9116);e.exports=(e,t,r,c)=>{switch(t){case"===":return"object"==typeof e&&(e=e.version),"object"==typeof r&&(r=r.version),e===r;case"!==":return"object"==typeof e&&(e=e.version),"object"==typeof r&&(r=r.version),e!==r;case"":case"=":case"==":return a(e,r,c);case"!=":return o(e,r,c);case">":return n(e,r,c);case">=":return l(e,r,c);case"<":return i(e,r,c);case"<=":return s(e,r,c);default:throw new TypeError(`Invalid operator: ${t}`)}}},1854:(e,t,r)=>{const a=r(3296),o=r(5788),{safeRe:n,t:l}=r(4746);e.exports=(e,t)=>{if(e instanceof a)return e;if("number"==typeof e&&(e=String(e)),"string"!=typeof e)return null;let r=null;if((t=t||{}).rtl){let t;for(;(t=n[l.COERCERTL].exec(e))&&(!r||r.index+r[0].length!==e.length);)r&&t.index+t[0].length===r.index+r[0].length||(r=t),n[l.COERCERTL].lastIndex=t.index+t[1].length+t[2].length;n[l.COERCERTL].lastIndex=-1}else r=e.match(n[l.COERCE]);return null===r?null:o(`${r[2]}.${r[3]||"0"}.${r[4]||"0"}`,t)}},8201:(e,t,r)=>{const a=r(3296);e.exports=(e,t,r)=>{const o=new a(e,r),n=new a(t,r);return o.compare(n)||o.compareBuild(n)}},2471:(e,t,r)=>{const a=r(4940);e.exports=(e,t)=>a(e,t,!0)},4940:(e,t,r)=>{const a=r(3296);e.exports=(e,t,r)=>new a(e,r).compare(new a(t,r))},844:(e,t,r)=>{const a=r(5788);e.exports=(e,t)=>{const r=a(e,null,!0),o=a(t,null,!0),n=r.compare(o);if(0===n)return null;const l=n>0,i=l?r:o,s=l?o:r,c=!!i.prerelease.length;if(!!s.prerelease.length&&!c)return s.patch||s.minor?i.patch?"patch":i.minor?"minor":"major":"major";const u=c?"pre":"";return r.major!==o.major?u+"major":r.minor!==o.minor?u+"minor":r.patch!==o.patch?u+"patch":"prerelease"}},9250:(e,t,r)=>{const a=r(4940);e.exports=(e,t,r)=>0===a(e,t,r)},9272:(e,t,r)=>{const a=r(4940);e.exports=(e,t,r)=>a(e,t,r)>0},6453:(e,t,r)=>{const a=r(4940);e.exports=(e,t,r)=>a(e,t,r)>=0},6619:(e,t,r)=>{const a=r(3296);e.exports=(e,t,r,o,n)=>{"string"==typeof r&&(n=o,o=r,r=void 0);try{return new a(e instanceof a?e.version:e,r).inc(t,o,n).version}catch(e){return null}}},3356:(e,t,r)=>{const a=r(4940);e.exports=(e,t,r)=>a(e,t,r)<0},9116:(e,t,r)=>{const a=r(4940);e.exports=(e,t,r)=>a(e,t,r)<=0},3566:(e,t,r)=>{const a=r(3296);e.exports=(e,t)=>new a(e,t).major},2186:(e,t,r)=>{const a=r(3296);e.exports=(e,t)=>new a(e,t).minor},6723:(e,t,r)=>{const a=r(4940);e.exports=(e,t,r)=>0!==a(e,t,r)},5788:(e,t,r)=>{const a=r(3296);e.exports=(e,t,r=!1)=>{if(e instanceof a)return e;try{return new a(e,t)}catch(e){if(!r)return null;throw e}}},6313:(e,t,r)=>{const a=r(3296);e.exports=(e,t)=>new a(e,t).patch},965:(e,t,r)=>{const a=r(5788);e.exports=(e,t)=>{const r=a(e,t);return r&&r.prerelease.length?r.prerelease:null}},8998:(e,t,r)=>{const a=r(4940);e.exports=(e,t,r)=>a(t,e,r)},1753:(e,t,r)=>{const a=r(8201);e.exports=(e,t)=>e.sort(((e,r)=>a(r,e,t)))},6146:(e,t,r)=>{const a=r(2787);e.exports=(e,t,r)=>{try{t=new a(t,r)}catch(e){return!1}return t.test(e)}},5123:(e,t,r)=>{const a=r(8201);e.exports=(e,t)=>e.sort(((e,r)=>a(e,r,t)))},9141:(e,t,r)=>{const a=r(5788);e.exports=(e,t)=>{const r=a(e,t);return r?r.version:null}},8265:(e,t,r)=>{const a=r(4746),o=r(246),n=r(3296),l=r(487),i=r(5788),s=r(9141),c=r(2322),u=r(6619),d=r(844),p=r(3566),m=r(2186),f=r(6313),h=r(965),g=r(4940),b=r(8998),k=r(2471),E=r(8201),C=r(5123),v=r(1753),R=r(9272),y=r(3356),j=r(9250),A=r(6723),w=r(6453),x=r(9116),S=r(9019),B=r(1854),_=r(4172),I=r(2787),N=r(6146),M=r(8067),P=r(7064),F=r(3410),L=r(8761),T=r(5966),$=r(6207),V=r(7095),O=r(3250),H=r(6160),D=r(8417),q=r(2620);e.exports={parse:i,valid:s,clean:c,inc:u,diff:d,major:p,minor:m,patch:f,prerelease:h,compare:g,rcompare:b,compareLoose:k,compareBuild:E,sort:C,rsort:v,gt:R,lt:y,eq:j,neq:A,gte:w,lte:x,cmp:S,coerce:B,Comparator:_,Range:I,satisfies:N,toComparators:M,maxSatisfying:P,minSatisfying:F,minVersion:L,validRange:T,outside:$,gtr:V,ltr:O,intersects:H,simplifyRange:D,subset:q,SemVer:n,re:a.re,src:a.src,tokens:a.t,SEMVER_SPEC_VERSION:o.SEMVER_SPEC_VERSION,RELEASE_TYPES:o.RELEASE_TYPES,compareIdentifiers:l.compareIdentifiers,rcompareIdentifiers:l.rcompareIdentifiers}},246:e=>{const t=Number.MAX_SAFE_INTEGER||9007199254740991;e.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:16,MAX_SAFE_INTEGER:t,RELEASE_TYPES:["major","premajor","minor","preminor","patch","prepatch","prerelease"],SEMVER_SPEC_VERSION:"2.0.0",FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}},4860:e=>{const t="object"==typeof process&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};e.exports=t},487:e=>{const t=/^[0-9]+$/,r=(e,r)=>{const a=t.test(e),o=t.test(r);return a&&o&&(e=+e,r=+r),e===r?0:a&&!o?-1:o&&!a?1:er(t,e)}},879:e=>{const t=Object.freeze({loose:!0}),r=Object.freeze({});e.exports=e=>e?"object"!=typeof e?t:e:r},4746:(e,t,r)=>{const{MAX_SAFE_COMPONENT_LENGTH:a}=r(246),o=r(4860),n=(t=e.exports={}).re=[],l=t.safeRe=[],i=t.src=[],s=t.t={};let c=0;const u=(e,t,r)=>{const a=t.split("\\s*").join("\\s{0,1}").split("\\s+").join("\\s"),u=c++;o(e,u,t),s[e]=u,i[u]=t,n[u]=new RegExp(t,r?"g":void 0),l[u]=new RegExp(a,r?"g":void 0)};u("NUMERICIDENTIFIER","0|[1-9]\\d*"),u("NUMERICIDENTIFIERLOOSE","[0-9]+"),u("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),u("MAINVERSION",`(${i[s.NUMERICIDENTIFIER]})\\.(${i[s.NUMERICIDENTIFIER]})\\.(${i[s.NUMERICIDENTIFIER]})`),u("MAINVERSIONLOOSE",`(${i[s.NUMERICIDENTIFIERLOOSE]})\\.(${i[s.NUMERICIDENTIFIERLOOSE]})\\.(${i[s.NUMERICIDENTIFIERLOOSE]})`),u("PRERELEASEIDENTIFIER",`(?:${i[s.NUMERICIDENTIFIER]}|${i[s.NONNUMERICIDENTIFIER]})`),u("PRERELEASEIDENTIFIERLOOSE",`(?:${i[s.NUMERICIDENTIFIERLOOSE]}|${i[s.NONNUMERICIDENTIFIER]})`),u("PRERELEASE",`(?:-(${i[s.PRERELEASEIDENTIFIER]}(?:\\.${i[s.PRERELEASEIDENTIFIER]})*))`),u("PRERELEASELOOSE",`(?:-?(${i[s.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${i[s.PRERELEASEIDENTIFIERLOOSE]})*))`),u("BUILDIDENTIFIER","[0-9A-Za-z-]+"),u("BUILD",`(?:\\+(${i[s.BUILDIDENTIFIER]}(?:\\.${i[s.BUILDIDENTIFIER]})*))`),u("FULLPLAIN",`v?${i[s.MAINVERSION]}${i[s.PRERELEASE]}?${i[s.BUILD]}?`),u("FULL",`^${i[s.FULLPLAIN]}$`),u("LOOSEPLAIN",`[v=\\s]*${i[s.MAINVERSIONLOOSE]}${i[s.PRERELEASELOOSE]}?${i[s.BUILD]}?`),u("LOOSE",`^${i[s.LOOSEPLAIN]}$`),u("GTLT","((?:<|>)?=?)"),u("XRANGEIDENTIFIERLOOSE",`${i[s.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),u("XRANGEIDENTIFIER",`${i[s.NUMERICIDENTIFIER]}|x|X|\\*`),u("XRANGEPLAIN",`[v=\\s]*(${i[s.XRANGEIDENTIFIER]})(?:\\.(${i[s.XRANGEIDENTIFIER]})(?:\\.(${i[s.XRANGEIDENTIFIER]})(?:${i[s.PRERELEASE]})?${i[s.BUILD]}?)?)?`),u("XRANGEPLAINLOOSE",`[v=\\s]*(${i[s.XRANGEIDENTIFIERLOOSE]})(?:\\.(${i[s.XRANGEIDENTIFIERLOOSE]})(?:\\.(${i[s.XRANGEIDENTIFIERLOOSE]})(?:${i[s.PRERELEASELOOSE]})?${i[s.BUILD]}?)?)?`),u("XRANGE",`^${i[s.GTLT]}\\s*${i[s.XRANGEPLAIN]}$`),u("XRANGELOOSE",`^${i[s.GTLT]}\\s*${i[s.XRANGEPLAINLOOSE]}$`),u("COERCE",`(^|[^\\d])(\\d{1,${a}})(?:\\.(\\d{1,${a}}))?(?:\\.(\\d{1,${a}}))?(?:$|[^\\d])`),u("COERCERTL",i[s.COERCE],!0),u("LONETILDE","(?:~>?)"),u("TILDETRIM",`(\\s*)${i[s.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",u("TILDE",`^${i[s.LONETILDE]}${i[s.XRANGEPLAIN]}$`),u("TILDELOOSE",`^${i[s.LONETILDE]}${i[s.XRANGEPLAINLOOSE]}$`),u("LONECARET","(?:\\^)"),u("CARETTRIM",`(\\s*)${i[s.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",u("CARET",`^${i[s.LONECARET]}${i[s.XRANGEPLAIN]}$`),u("CARETLOOSE",`^${i[s.LONECARET]}${i[s.XRANGEPLAINLOOSE]}$`),u("COMPARATORLOOSE",`^${i[s.GTLT]}\\s*(${i[s.LOOSEPLAIN]})$|^$`),u("COMPARATOR",`^${i[s.GTLT]}\\s*(${i[s.FULLPLAIN]})$|^$`),u("COMPARATORTRIM",`(\\s*)${i[s.GTLT]}\\s*(${i[s.LOOSEPLAIN]}|${i[s.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",u("HYPHENRANGE",`^\\s*(${i[s.XRANGEPLAIN]})\\s+-\\s+(${i[s.XRANGEPLAIN]})\\s*$`),u("HYPHENRANGELOOSE",`^\\s*(${i[s.XRANGEPLAINLOOSE]})\\s+-\\s+(${i[s.XRANGEPLAINLOOSE]})\\s*$`),u("STAR","(<|>)?=?\\s*\\*"),u("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),u("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")},7095:(e,t,r)=>{const a=r(6207);e.exports=(e,t,r)=>a(e,t,">",r)},6160:(e,t,r)=>{const a=r(2787);e.exports=(e,t,r)=>(e=new a(e,r),t=new a(t,r),e.intersects(t,r))},3250:(e,t,r)=>{const a=r(6207);e.exports=(e,t,r)=>a(e,t,"<",r)},7064:(e,t,r)=>{const a=r(3296),o=r(2787);e.exports=(e,t,r)=>{let n=null,l=null,i=null;try{i=new o(t,r)}catch(e){return null}return e.forEach((e=>{i.test(e)&&(n&&-1!==l.compare(e)||(n=e,l=new a(n,r)))})),n}},3410:(e,t,r)=>{const a=r(3296),o=r(2787);e.exports=(e,t,r)=>{let n=null,l=null,i=null;try{i=new o(t,r)}catch(e){return null}return e.forEach((e=>{i.test(e)&&(n&&1!==l.compare(e)||(n=e,l=new a(n,r)))})),n}},8761:(e,t,r)=>{const a=r(3296),o=r(2787),n=r(9272);e.exports=(e,t)=>{e=new o(e,t);let r=new a("0.0.0");if(e.test(r))return r;if(r=new a("0.0.0-0"),e.test(r))return r;r=null;for(let t=0;t{const t=new a(e.semver.version);switch(e.operator){case">":0===t.prerelease.length?t.patch++:t.prerelease.push(0),t.raw=t.format();case"":case">=":l&&!n(t,l)||(l=t);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${e.operator}`)}})),!l||r&&!n(r,l)||(r=l)}return r&&e.test(r)?r:null}},6207:(e,t,r)=>{const a=r(3296),o=r(4172),{ANY:n}=o,l=r(2787),i=r(6146),s=r(9272),c=r(3356),u=r(9116),d=r(6453);e.exports=(e,t,r,p)=>{let m,f,h,g,b;switch(e=new a(e,p),t=new l(t,p),r){case">":m=s,f=u,h=c,g=">",b=">=";break;case"<":m=c,f=d,h=s,g="<",b="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(i(e,t,p))return!1;for(let r=0;r{e.semver===n&&(e=new o(">=0.0.0")),l=l||e,i=i||e,m(e.semver,l.semver,p)?l=e:h(e.semver,i.semver,p)&&(i=e)})),l.operator===g||l.operator===b)return!1;if((!i.operator||i.operator===g)&&f(e,i.semver))return!1;if(i.operator===b&&h(e,i.semver))return!1}return!0}},8417:(e,t,r)=>{const a=r(6146),o=r(4940);e.exports=(e,t,r)=>{const n=[];let l=null,i=null;const s=e.sort(((e,t)=>o(e,t,r)));for(const e of s){a(e,t,r)?(i=e,l||(l=e)):(i&&n.push([l,i]),i=null,l=null)}l&&n.push([l,null]);const c=[];for(const[e,t]of n)e===t?c.push(e):t||e!==s[0]?t?e===s[0]?c.push(`<=${t}`):c.push(`${e} - ${t}`):c.push(`>=${e}`):c.push("*");const u=c.join(" || "),d="string"==typeof t.raw?t.raw:String(t);return u.length{const a=r(2787),o=r(4172),{ANY:n}=o,l=r(6146),i=r(4940),s=[new o(">=0.0.0-0")],c=[new o(">=0.0.0")],u=(e,t,r)=>{if(e===t)return!0;if(1===e.length&&e[0].semver===n){if(1===t.length&&t[0].semver===n)return!0;e=r.includePrerelease?s:c}if(1===t.length&&t[0].semver===n){if(r.includePrerelease)return!0;t=c}const a=new Set;let o,u,m,f,h,g,b;for(const t of e)">"===t.operator||">="===t.operator?o=d(o,t,r):"<"===t.operator||"<="===t.operator?u=p(u,t,r):a.add(t.semver);if(a.size>1)return null;if(o&&u){if(m=i(o.semver,u.semver,r),m>0)return null;if(0===m&&(">="!==o.operator||"<="!==u.operator))return null}for(const e of a){if(o&&!l(e,String(o),r))return null;if(u&&!l(e,String(u),r))return null;for(const a of t)if(!l(e,String(a),r))return!1;return!0}let k=!(!u||r.includePrerelease||!u.semver.prerelease.length)&&u.semver,E=!(!o||r.includePrerelease||!o.semver.prerelease.length)&&o.semver;k&&1===k.prerelease.length&&"<"===u.operator&&0===k.prerelease[0]&&(k=!1);for(const e of t){if(b=b||">"===e.operator||">="===e.operator,g=g||"<"===e.operator||"<="===e.operator,o)if(E&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===E.major&&e.semver.minor===E.minor&&e.semver.patch===E.patch&&(E=!1),">"===e.operator||">="===e.operator){if(f=d(o,e,r),f===e&&f!==o)return!1}else if(">="===o.operator&&!l(o.semver,String(e),r))return!1;if(u)if(k&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===k.major&&e.semver.minor===k.minor&&e.semver.patch===k.patch&&(k=!1),"<"===e.operator||"<="===e.operator){if(h=p(u,e,r),h===e&&h!==u)return!1}else if("<="===u.operator&&!l(u.semver,String(e),r))return!1;if(!e.operator&&(u||o)&&0!==m)return!1}return!(o&&g&&!u&&0!==m)&&(!(u&&b&&!o&&0!==m)&&(!E&&!k))},d=(e,t,r)=>{if(!e)return t;const a=i(e.semver,t.semver,r);return a>0?e:a<0||">"===t.operator&&">="===e.operator?t:e},p=(e,t,r)=>{if(!e)return t;const a=i(e.semver,t.semver,r);return a<0?e:a>0||"<"===t.operator&&"<="===e.operator?t:e};e.exports=(e,t,r={})=>{if(e===t)return!0;e=new a(e,r),t=new a(t,r);let o=!1;e:for(const a of e.set){for(const e of t.set){const t=u(a,e,r);if(o=o||null!==t,t)continue e}if(o)return!1}return!0}},8067:(e,t,r)=>{const a=r(2787);e.exports=(e,t)=>new a(e,t).set.map((e=>e.map((e=>e.value)).join(" ").trim().split(" ")))},5966:(e,t,r)=>{const a=r(2787);e.exports=(e,t)=>{try{return new a(e,t).range||"*"}catch(e){return null}}},372:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var a=r(67);const o=r.n(a)()("dops:analytics");let n,l;window._tkq=window._tkq||[],window.ga=window.ga||function(){(window.ga.q=window.ga.q||[]).push(arguments)},window.ga.l=+new Date;const i={initialize:function(e,t,r){i.setUser(e,t),i.setSuperProps(r),i.identifyUser()},setGoogleAnalyticsEnabled:function(e,t=null){this.googleAnalyticsEnabled=e,this.googleAnalyticsKey=t},setMcAnalyticsEnabled:function(e){this.mcAnalyticsEnabled=e},setUser:function(e,t){l={ID:e,username:t}},setSuperProps:function(e){n=e},assignSuperProps:function(e){n=Object.assign(n||{},e)},mc:{bumpStat:function(e,t){const r=function(e,t){let r="";if("object"==typeof e){for(const t in e)r+="&x_"+encodeURIComponent(t)+"="+encodeURIComponent(e[t]);o("Bumping stats %o",e)}else r="&x_"+encodeURIComponent(e)+"="+encodeURIComponent(t),o('Bumping stat "%s" in group "%s"',t,e);return r}(e,t);i.mcAnalyticsEnabled&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom-no-pv"+r+"&t="+Math.random())},bumpStatWithPageView:function(e,t){const r=function(e,t){let r="";if("object"==typeof e){for(const t in e)r+="&"+encodeURIComponent(t)+"="+encodeURIComponent(e[t]);o("Built stats %o",e)}else r="&"+encodeURIComponent(e)+"="+encodeURIComponent(t),o('Built stat "%s" in group "%s"',t,e);return r}(e,t);i.mcAnalyticsEnabled&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom"+r+"&t="+Math.random())}},pageView:{record:function(e,t){i.tracks.recordPageView(e),i.ga.recordPageView(e,t)}},purchase:{record:function(e,t,r,a,o,n,l){i.ga.recordPurchase(e,t,r,a,o,n,l)}},tracks:{recordEvent:function(e,t){t=t||{},0===e.indexOf("akismet_")||0===e.indexOf("jetpack_")?(n&&(o("- Super Props: %o",n),t=Object.assign(t,n)),o('Record event "%s" called with props %s',e,JSON.stringify(t)),window._tkq.push(["recordEvent",e,t])):o('- Event name must be prefixed by "akismet_" or "jetpack_"')},recordJetpackClick:function(e){const t="object"==typeof e?e:{target:e};i.tracks.recordEvent("jetpack_wpa_click",t)},recordPageView:function(e){i.tracks.recordEvent("akismet_page_view",{path:e})},setOptOut:function(e){o("Pushing setOptOut: %o",e),window._tkq.push(["setOptOut",e])}},ga:{initialized:!1,initialize:function(){let e={};i.ga.initialized||(l&&(e={userId:"u-"+l.ID}),window.ga("create",this.googleAnalyticsKey,"auto",e),i.ga.initialized=!0)},recordPageView:function(e,t){i.ga.initialize(),o("Recording Page View ~ [URL: "+e+"] [Title: "+t+"]"),this.googleAnalyticsEnabled&&(window.ga("set","page",e),window.ga("send",{hitType:"pageview",page:e,title:t}))},recordEvent:function(e,t,r,a){i.ga.initialize();let n="Recording Event ~ [Category: "+e+"] [Action: "+t+"]";void 0!==r&&(n+=" [Option Label: "+r+"]"),void 0!==a&&(n+=" [Option Value: "+a+"]"),o(n),this.googleAnalyticsEnabled&&window.ga("send","event",e,t,r,a)},recordPurchase:function(e,t,r,a,o,n,l){window.ga("require","ecommerce"),window.ga("ecommerce:addTransaction",{id:e,revenue:a,currency:l}),window.ga("ecommerce:addItem",{id:e,name:t,sku:r,price:o,quantity:n}),window.ga("ecommerce:send")}},identifyUser:function(){l&&window._tkq.push(["identifyUser",l.ID,l.username])},setProperties:function(e){window._tkq.push(["setProperties",e])},clearedIdentity:function(){window._tkq.push(["clearIdentity"])}},s=i},1876:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var a=r(3022),o=r(1609),n=r.n(o),l=r(7876);const i=({children:e=null,width:t=null,height:r=null,className:o=""})=>n().createElement("div",{className:(0,a.A)(l.A.placeholder,o),style:{width:t,height:r}},e)},723:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>p});var a=r(1609),o=r.n(a),n=r(5196);const l={"--font-headline-medium":"48px","--font-headline-small":"36px","--font-title-medium":"24px","--font-title-small":"20px","--font-body":"16px","--font-body-small":"14px","--font-body-extra-small":"12px","--font-title-large":"var(--font-headline-small)","--font-label":"var(--font-body-extra-small)"},i={"--jp-black":"#000000","--jp-black-80":"#2c3338","--jp-white":"#ffffff","--jp-white-off":"#f9f9f6","--jp-gray":"#dcdcde","--jp-gray-0":"#F6F7F7","--jp-gray-5":"var(--jp-gray)","--jp-gray-10":"#C3C4C7","--jp-gray-20":"#A7AAAD","--jp-gray-40":"#787C82","--jp-gray-50":"#646970","--jp-gray-60":"#50575E","--jp-gray-70":"#3C434A","--jp-gray-80":"#2C3338","--jp-gray-90":"#1d2327","--jp-gray-off":"#e2e2df","--jp-red-0":"#F7EBEC","--jp-red-5":"#FACFD2","--jp-red-40":"#E65054","--jp-red-50":"#D63638","--jp-red-60":"#B32D2E","--jp-red-70":"#8A2424","--jp-red-80":"#691C1C","--jp-red":"#d63639","--jp-yellow-5":"#F5E6B3","--jp-yellow-10":"#F2CF75","--jp-yellow-20":"#F0C930","--jp-yellow-30":"#DEB100","--jp-yellow-40":"#C08C00","--jp-yellow-50":"#9D6E00","--jp-yellow-60":"#7D5600","--jp-blue-20":"#68B3E8","--jp-blue-40":"#1689DB","--jp-pink":"#C9356E","--jp-green-0":"#f0f2eb","--jp-green-5":"#d0e6b8","--jp-green-10":"#9dd977","--jp-green-20":"#64ca43","--jp-green-30":"#2fb41f","--jp-green-40":"#069e08","--jp-green-50":"#008710","--jp-green-60":"#007117","--jp-green-70":"#005b18","--jp-green-80":"#004515","--jp-green-90":"#003010","--jp-green-100":"#001c09","--jp-green":"#069e08","--jp-green-primary":"var( --jp-green-40 )","--jp-green-secondary":"var( --jp-green-30 )"},s={"--jp-border-radius":"4px","--jp-menu-border-height":"1px","--jp-underline-thickness":"2px"},c={"--spacing-base":"8px"},u={},d=(e,t,r)=>{const a={...l,...i,...s,...c};for(const t in a)e.style.setProperty(t,a[t]);r&&e.classList.add(n.A.global),t&&(u[t]={provided:!0,root:e})},p=({children:e=null,targetDom:t,id:r,withGlobalStyles:n=!0})=>{const l=(0,a.useRef)(),i=u?.[r]?.provided;return(0,a.useLayoutEffect)((()=>{if(!i)return t?d(t,r,n):void(l?.current&&d(l.current,r,n))}),[t,l,i,r,n]),t?o().createElement(o().Fragment,null,e):o().createElement("div",{ref:l},e)}},5985:(e,t,r)=>{"use strict";r.d(t,{$i:()=>a.A,BT:()=>l.A,FB:()=>n.A,Sy:()=>o.Sy,aq:()=>i.aq,d9:()=>o.d9,q7:()=>s.A});var a=r(4972),o=r(2634),n=r(703),l=(r(2034),r(5595)),i=r(3265),s=(r(3489),r(6923));r(5877),r(335),r(8290)},5877:(e,t,r)=>{"use strict";r(1609)},335:(e,t,r)=>{"use strict";r(6087)},4972:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});const a="Jetpack_Editor_Initial_State";function o(){return"object"==typeof window?window?.[a]??null:null}},703:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var a=r(4972);function o(e){const t=(0,a.A)(),r=t?.available_blocks?.[e]?.available??!1,o=t?.available_blocks?.[e]?.unavailable_reason??"unknown";return{available:r,...!r&&{details:t?.available_blocks?.[e]?.details??[],unavailableReason:o}}}},3489:(e,t,r)=>{"use strict";var a=r(372);r(9384),r(6087);const{tracks:o}=a.A,{recordEvent:n}=o},6923:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var a=r(7143),o=r(6087),n=r(8290);const l=e=>{const{isModuleActive:t,isChangingStatus:r,isLoadingModules:l}=(0,a.useSelect)((t=>{const r=t(n.F);return{isModuleActive:r.isModuleActive(e),isChangingStatus:r.isModuleUpdating(e),isLoadingModules:r.areModulesLoading(e)}}),[e]),{updateJetpackModuleStatus:i}=(0,a.useDispatch)(n.F),s=(0,o.useCallback)((t=>i({name:e,active:t})),[e,i]);return(0,o.useMemo)((()=>({isLoadingModules:l,isChangingStatus:r,isModuleActive:t,changeStatus:s})),[l,r,t,s])}},7105:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>d,E9:()=>u});var a=r(7143),o=r(2634),n=r(4478),l=r(8290);const i="SET_JETPACK_MODULES";function s(e){return u({isLoading:e})}function c(e,t){return{type:"SET_MODULE_UPDATING",name:e,isUpdating:t}}function u(e){return{type:i,options:e}}const d={updateJetpackModuleStatus:function*(e){try{yield c(e.name,!0),yield(0,n.sB)(e);const t=yield(0,n.wz)();return yield u({data:t}),!0}catch(e){const t=(0,a.select)(l.F).getJetpackModules();return yield u(t),!1}finally{yield c(e.name,!1)}},setJetpackModules:u,fetchModules:function*(){if((0,o.Sy)())return!0;try{yield s(!0);const e=yield(0,n.wz)();return yield u({data:e}),!0}catch(e){const t=(0,a.select)(l.F).getJetpackModules();return yield u(t),!1}finally{yield s(!1)}}}},4478:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>c,sB:()=>s,wz:()=>i});var a=r(1455),o=r.n(a);const n="FETCH_JETPACK_MODULES",l="UPDATE_JETPACK_MODULE_STATUS",i=()=>({type:n}),s=e=>({type:l,settings:e}),c={[n]:function(){return o()({path:"/jetpack/v4/module/all",method:"GET"})},[l]:function({settings:e}){return o()({path:`/jetpack/v4/module/${e.name}/active`,method:"POST",data:{active:e.active}})}}},8290:(e,t,r)=>{"use strict";r.d(t,{F:()=>c});var a=r(7143),o=r(7105),n=r(4478),l=r(8862),i=r(2701),s=r(1640);const c="jetpack-modules",u=(0,a.createReduxStore)(c,{reducer:l.A,actions:o.Ay,controls:n.Ay,resolvers:i.A,selectors:s.A});(0,a.register)(u);const d=window?.Initial_State?.getModules||window?.Jetpack_Editor_Initial_State?.modules||null;null!==d&&(0,a.dispatch)(c).setJetpackModules({data:{...d}})},8862:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});const a={isLoading:!1,isUpdating:{},data:{}},o=(e=a,t)=>{switch(t.type){case"SET_JETPACK_MODULES":return{...e,...t.options};case"SET_MODULE_UPDATING":return{...e,isUpdating:{...e.isUpdating,[t.name]:t.isUpdating}}}return e}},2701:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});var a=r(7105),o=r(4478);const n={getJetpackModules:function*(){try{const e=yield(0,o.wz)();if(e)return(0,a.E9)({data:e})}catch(e){console.error(e)}}}},1640:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var a=r(2634);const o={getJetpackModules:e=>e.data,isModuleActive:(e,t)=>(0,a.Sy)()||(e?.data?.[t]?.activated??!1),areModulesLoading:e=>e.isLoading??!1,isModuleUpdating:(e,t)=>e?.isUpdating?.[t]??!1}},3265:(e,t,r)=>{"use strict";r.d(t,{aq:()=>o});var a=r(7723);r(3832),r(8468);const __=a.__;function o(e,t){return"missing_plan"===e&&t.required_plan}__("Upgrade your plan to use video covers","jetpack-forms"),__("Upgrade your plan to upload audio","jetpack-forms")},2034:(e,t,r)=>{"use strict";r(2279)},2634:(e,t,r)=>{"use strict";function a(){return"object"==typeof window&&"string"==typeof window._currentSiteType?window._currentSiteType:null}function o(){return"simple"===a()}function n(){return"atomic"===a()}r.d(t,{Sy:()=>o,d9:()=>n})},5595:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var a=r(6072),o=r.n(a),n=r(9491);const l=e=>(0,n.createHigherOrderComponent)((t=>r=>React.createElement(t,o()({},r,{className:r.name===e?"has-warning is-interactive":r.className}))),"withHasWarningIsInteractiveClassNames")},8575:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var a=r(7723);const __=a.__,o={subject:{type:"string",default:window.jpFormsBlocks?.defaults?.subject||""},to:{type:"string",default:window.jpFormsBlocks?.defaults?.to||""},customThankyou:{type:"string",default:""},customThankyouHeading:{type:"string",default:__("Your message has been sent","jetpack-forms")},customThankyouMessage:{type:"string",default:""},customThankyouRedirect:{type:"string",default:""},jetpackCRM:{type:"boolean",default:!0},formTitle:{type:"string",default:""},salesforceData:{type:"object",default:{organizationId:"",sendToSalesforce:!1}}}},1013:(e,t,r)=>{"use strict";r.d(t,{P:()=>A});var a=r(4997),o=r(6427),n=(r(6087),r(7723)),l=r(8468),i=r(1978),s=r(9958),c=r(4697),u=r(565),d=r(4506),p=r(3052),m=r(358),f=r(5700),h=r(5214),g=r(7817),b=r(9787),k=r(1663),E=r(6691),C=r(9771),v=r(1097);const __=n.__,_x=n._x,R={apiVersion:3,category:"contact-form",supports:{reusable:!1,html:!1},attributes:{label:{type:"string",default:null},required:{type:"boolean",default:!1},requiredText:{type:"string"},options:{type:"array",default:[]},defaultValue:{type:"string",default:""},placeholder:{type:"string",default:""},id:{type:"string",default:""},width:{type:"number",default:100},borderRadius:{type:"number",default:""},borderWidth:{type:"number",default:""},labelFontSize:{type:"string"},fieldFontSize:{type:"string"},lineHeight:{type:"number"},labelLineHeight:{type:"number"},inputColor:{type:"string"},labelColor:{type:"string"},fieldBackgroundColor:{type:"string"},buttonBackgroundColor:{type:"string"},buttonBorderRadius:{type:"number",default:""},buttonBorderWidth:{type:"number",default:""},borderColor:{type:"string"},shareFieldAttributes:{type:"boolean",default:!0}},transforms:{to:[{type:"block",blocks:["jetpack/field-text"],transform:e=>(0,a.createBlock)("jetpack/field-text",e)},{type:"block",blocks:["jetpack/field-name"],transform:e=>(0,a.createBlock)("jetpack/field-name",e)},{type:"block",blocks:["jetpack/field-email"],transform:e=>(0,a.createBlock)("jetpack/field-email",e)},{type:"block",blocks:["jetpack/field-url"],transform:e=>(0,a.createBlock)("jetpack/field-url",e)},{type:"block",blocks:["jetpack/field-date"],transform:e=>(0,a.createBlock)("jetpack/field-date",e)},{type:"block",blocks:["jetpack/field-telephone"],transform:e=>(0,a.createBlock)("jetpack/field-telephone",e)},{type:"block",blocks:["jetpack/field-textarea"],transform:e=>(0,a.createBlock)("jetpack/field-textarea",e)},{type:"block",blocks:["jetpack/field-checkbox-multiple"],transform:(e,t)=>{let r=[];if((0,l.isEmpty)(t))e.options?.length&&(r=(0,l.map)(e.options,(e=>(0,a.createBlock)("jetpack/field-option-checkbox",{label:e,fieldType:"checkbox"}))));else{const e=(0,l.filter)(t,(({name:e})=>(0,l.startsWith)(e,"jetpack/field-option")));r=(0,l.map)(e,(e=>(0,a.createBlock)("jetpack/field-option-checkbox",{label:e.attributes.label,fieldType:"checkbox"})))}return(0,a.createBlock)("jetpack/field-checkbox-multiple",e,r)}},{type:"block",blocks:["jetpack/field-radio"],transform:(e,t)=>{let r=[];if((0,l.isEmpty)(t))e.options?.length&&(r=(0,l.map)(e.options,(e=>(0,a.createBlock)("jetpack/field-option-radio",{label:e,fieldType:"radio"}))));else{const e=(0,l.filter)(t,(({name:e})=>(0,l.startsWith)(e,"jetpack/field-option")));r=(0,l.map)(e,(e=>(0,a.createBlock)("jetpack/field-option-radio",{label:e.attributes.label,fieldType:"radio"})))}return(0,a.createBlock)("jetpack/field-radio",e,r)}},{type:"block",blocks:["jetpack/field-select"],transform:(e,t)=>{if(!(0,l.isEmpty)(t)){const r=(0,l.filter)(t,(({name:e})=>(0,l.startsWith)(e,"jetpack/field-option")));e.options=(0,l.map)(r,(e=>e.attributes.label))}return e.options=e.options?.length?e.options:[""],(0,a.createBlock)("jetpack/field-select",e)}},{type:"block",blocks:["jetpack/field-consent"],transform:e=>(0,a.createBlock)("jetpack/field-consent",e)},{type:"block",blocks:["jetpack/field-checkbox"],transform:e=>(0,a.createBlock)("jetpack/field-checkbox",e)}]},save:()=>null,example:{}},y=e=>({attributes:{...R.attributes,label:{type:"string",default:"checkbox"===e?"Choose several options":"Choose one option"}},migrate:t=>{const r=`jetpack/field-option-${e}`,o=(0,l.filter)(t.options,(e=>!(0,l.isEmpty)((0,l.trim)(e)))),n=(0,l.map)(o,(e=>(0,a.createBlock)(r,{label:e})));return t.options=[],[t,n]},isEligible:e=>e.options&&(0,l.filter)(e.options,(e=>!(0,l.isEmpty)((0,l.trim)(e)))).length,save:()=>null}),j=e=>t=>((0,k.DR)(t),React.createElement(i.A,{clientId:t.clientId,type:e,label:(0,E.A)(t.attributes,t.name),required:t.attributes.required,requiredText:t.attributes.requiredText,setAttributes:t.setAttributes,isSelected:t.isSelected,defaultValue:t.attributes.defaultValue,placeholder:t.attributes.placeholder,id:t.attributes.id,width:t.attributes.width,attributes:t.attributes})),A=[{name:"field-text",settings:{...R,title:__("Text Input Field","jetpack-forms"),description:__("Collect short text responses from site visitors.","jetpack-forms"),icon:(0,v.A)(React.createElement(o.Path,{fill:(0,b.V)(),d:"M12 7H4V8.5H12V7ZM19.75 17.25V10.75H4.25V17.25H19.75ZM5.75 15.75V12.25H18.25V15.75H5.75Z"})),edit:j("text"),attributes:{...R.attributes,label:{type:"string",default:"Text"}}}},{name:"field-name",settings:{...R,title:__("Name Field","jetpack-forms"),description:__("Collect the site visitor’s name.","jetpack-forms"),icon:(0,v.A)(React.createElement(o.Path,{fill:(0,b.V)(),d:"M8.25 11.5C9.63071 11.5 10.75 10.3807 10.75 9C10.75 7.61929 9.63071 6.5 8.25 6.5C6.86929 6.5 5.75 7.61929 5.75 9C5.75 10.3807 6.86929 11.5 8.25 11.5ZM8.25 10C8.80228 10 9.25 9.55228 9.25 9C9.25 8.44772 8.80228 8 8.25 8C7.69772 8 7.25 8.44772 7.25 9C7.25 9.55228 7.69772 10 8.25 10ZM13 15.5V17.5H11.5V15.5C11.5 14.8096 10.9404 14.25 10.25 14.25H6.25C5.55964 14.25 5 14.8096 5 15.5V17.5H3.5V15.5C3.5 13.9812 4.73122 12.75 6.25 12.75H10.25C11.7688 12.75 13 13.9812 13 15.5ZM20.5 11H14.5V9.5H20.5V11ZM20.5 14.5H14.5V13H20.5V14.5Z"})),edit:j("text"),attributes:{...R.attributes,label:{type:"string",default:"Name"}}}},{name:"field-email",settings:{...R,title:__("Email Field","jetpack-forms"),keywords:[__("e-mail","jetpack-forms"),__("mail","jetpack-forms"),"email"],description:__("Collect email addresses from your visitors.","jetpack-forms"),icon:(0,v.A)(React.createElement(o.Path,{fill:(0,b.V)(),fillRule:"evenodd",d:"M5.5 8.41665V16C5.5 16.2761 5.72386 16.5 6 16.5H18C18.2761 16.5 18.5 16.2761 18.5 16V8.41633L11.9998 13.9879L5.5 8.41665ZM17.2642 7.5H6.73546L11.9998 12.0123L17.2642 7.5ZM6 6C4.89543 6 4 6.89543 4 8V16C4 17.1046 4.89543 18 6 18H18C19.1046 18 20 17.1046 20 16V8C20 6.89543 19.1046 6 18 6H6Z"})),edit:j("email"),attributes:{...R.attributes,label:{type:"string",default:"Email"}}}},{name:"field-url",settings:{...R,title:__("URL Field","jetpack-forms"),keywords:["url",__("internet page","jetpack-forms"),"link"],description:__("Collect a website address from your site visitors.","jetpack-forms"),icon:(0,v.A)(React.createElement(React.Fragment,null,React.createElement(o.Path,{fill:(0,b.V)(),d:"M4.47118 8.5H3V12.9489C3 14.4653 4.14479 15.5 5.94723 15.5C7.74479 15.5 8.88958 14.4653 8.88958 12.9489V8.5H7.4184V12.8059C7.4184 13.688 6.88742 14.265 5.94723 14.265C5.00216 14.265 4.47118 13.688 4.47118 12.8059V8.5Z"}),React.createElement(o.Path,{fill:(0,b.V)(),d:"M11.5348 9.62534H12.7867C13.5175 9.62534 13.9754 10.0545 13.9754 10.7221C13.9754 11.404 13.5418 11.8188 12.8014 11.8188H11.5348V9.62534ZM11.5348 12.8631H12.7137L14.0241 15.3808H15.6901L14.2092 12.6485C15.0179 12.3386 15.4855 11.5756 15.4855 10.6935C15.4855 9.33447 14.5599 8.5 12.9426 8.5H10.0636V15.3808H11.5348V12.8631Z"}),React.createElement(o.Path,{fill:(0,b.V)(),d:"M21 14.1887H17.9261V8.5H16.4549V15.3808H21V14.1887Z"}))),edit:j("url"),attributes:{...R.attributes,label:{type:"string",default:"URL"}}}},{name:"field-date",settings:{...R,title:__("Date Picker","jetpack-forms"),keywords:[__("Calendar","jetpack-forms"),_x("day month year","block search term","jetpack-forms")],description:__("Capture date information with a date picker.","jetpack-forms"),icon:(0,v.A)(React.createElement(o.Path,{fill:(0,b.V)(),fillRule:"evenodd",d:"M4.5 7H19.5V19C19.5 19.2761 19.2761 19.5 19 19.5H5C4.72386 19.5 4.5 19.2761 4.5 19V7ZM3 5V7V19C3 20.1046 3.89543 21 5 21H19C20.1046 21 21 20.1046 21 19V7V5C21 3.89543 20.1046 3 19 3H5C3.89543 3 3 3.89543 3 5ZM11 9.25H7V13.25H11V9.25Z"})),edit:u.A,attributes:{...R.attributes,label:{type:"string",default:"Date"},dateFormat:{type:"string",default:"yy-mm-dd"}}}},{name:"field-telephone",settings:{...R,title:__("Phone Number Field","jetpack-forms"),keywords:[__("Phone","jetpack-forms"),__("Cellular phone","jetpack-forms"),__("Mobile","jetpack-forms")],description:__("Collect phone numbers from site visitors.","jetpack-forms"),icon:(0,v.A)(React.createElement(o.Path,{fill:(0,b.V)(),fillRule:"evenodd",d:"M9 5.5H15C15.2761 5.5 15.5 5.72386 15.5 6V18C15.5 18.2761 15.2761 18.5 15 18.5H9C8.72386 18.5 8.5 18.2761 8.5 18V6C8.5 5.72386 8.72386 5.5 9 5.5ZM7 6C7 4.89543 7.89543 4 9 4H15C16.1046 4 17 4.89543 17 6V18C17 19.1046 16.1046 20 15 20H9C7.89543 20 7 19.1046 7 18V6ZM13 16H11V17.5H13V16Z"})),edit:j("tel"),attributes:{...R.attributes,label:{type:"string",default:"Phone"}}}},{name:"field-textarea",settings:{...R,title:__("Multi-line Text Field","jetpack-forms"),keywords:[__("Textarea","jetpack-forms"),"textarea",__("Multiline text","jetpack-forms")],description:__("Capture longform text responses from site visitors.","jetpack-forms"),icon:(0,v.A)(React.createElement(o.Path,{fill:(0,b.V)(),d:"M20 5H4V6.5H20V5ZM5.5 11.5H18.5V18.5H5.5V11.5ZM20 20V10H4V20H20Z"})),edit:e=>((0,k.DR)(e),React.createElement(g.A,{clientId:e.clientId,label:e.attributes.label,required:e.attributes.required,requiredText:e.attributes.requiredText,attributes:e.attributes,setAttributes:e.setAttributes,isSelected:e.isSelected,defaultValue:e.attributes.defaultValue,placeholder:e.attributes.placeholder,id:e.attributes.id,width:e.attributes.width})),attributes:{...R.attributes}}},{name:"field-checkbox",settings:{...R,title:__("Checkbox","jetpack-forms"),keywords:[__("Confirm","jetpack-forms"),__("Accept","jetpack-forms")],description:__("Confirm or select information with a single checkbox.","jetpack-forms"),icon:(0,v.A)(React.createElement(o.Path,{fill:(0,b.V)(),fillRule:"evenodd",d:"M6.125 6H17.875C17.944 6 18 6.05596 18 6.125V17.875C18 17.944 17.944 18 17.875 18H6.125C6.05596 18 6 17.944 6 17.875V6.125C6 6.05596 6.05596 6 6.125 6ZM4.5 6.125C4.5 5.22754 5.22754 4.5 6.125 4.5H17.875C18.7725 4.5 19.5 5.22754 19.5 6.125V17.875C19.5 18.7725 18.7725 19.5 17.875 19.5H6.125C5.22754 19.5 4.5 18.7725 4.5 17.875V6.125ZM10.5171 16.4421L16.5897 8.71335L15.4103 7.78662L10.4828 14.0579L8.57616 11.7698L7.42383 12.7301L10.5171 16.4421Z"})),edit:e=>((0,k.DR)(e),React.createElement(s.A,{clientId:e.clientId,label:e.attributes.label,required:e.attributes.required,requiredText:e.attributes.requiredText,setAttributes:e.setAttributes,isSelected:e.isSelected,defaultValue:e.attributes.defaultValue,id:e.attributes.id,width:e.attributes.width,attributes:e.attributes})),attributes:{...R.attributes,label:{type:"string",default:""}}}},{name:"field-consent",settings:{...R,title:__("Terms Consent","jetpack-forms"),keywords:[__("Consent","jetpack-forms")],description:__("Communicate site terms and offer visitors consent to those terms.","jetpack-forms"),icon:(0,v.A)(React.createElement(React.Fragment,null,React.createElement(o.Path,{fill:(0,b.V)(),d:"M7 5.5H17C17.2761 5.5 17.5 5.72386 17.5 6V13H19V6C19 4.89543 18.1046 4 17 4H7C5.89543 4 5 4.89543 5 6V18C5 19.1046 5.89543 20 7 20H11.5V18.5H7C6.72386 18.5 6.5 18.2761 6.5 18V6C6.5 5.72386 6.72386 5.5 7 5.5ZM16 7.75H8V9.25H16V7.75ZM8 11H13V12.5H8V11Z"}),React.createElement(o.Path,{fill:(0,b.V)(),d:"M20.1087 15.9382L15.9826 21.6689L12.959 18.5194L14.0411 17.4806L15.8175 19.331L18.8914 15.0618L20.1087 15.9382Z"}))),attributes:{...R.attributes,label:{type:"string",default:__("Consent","jetpack-forms")},consentType:{type:"string",default:"implicit"},implicitConsentMessage:{type:"string",default:__("By submitting your information, you're giving us permission to email you. You may unsubscribe at any time.","jetpack-forms")},explicitConsentMessage:{type:"string",default:__("Can we send you an email from time to time?","jetpack-forms")}},edit:({attributes:e,clientId:t,isSelected:r,name:a,setAttributes:o})=>{(0,k.DR)({attributes:e,clientId:t,name:a});const{id:n,width:l,consentType:i,implicitConsentMessage:s,explicitConsentMessage:u}=e;return React.createElement(c.A,{clientId:t,id:n,isSelected:r,width:l,consentType:i,implicitConsentMessage:s,explicitConsentMessage:u,setAttributes:o,attributes:e})}}},{name:f.A.name,settings:(0,C.A)(R,{...f.A.settings,deprecated:[y("radio")]})},h.A,{name:p.A.name,settings:(0,C.A)(R,{...p.A.settings,deprecated:[y("checkbox")]})},m.A,{name:"field-select",settings:{...R,title:__("Dropdown Field","jetpack-forms"),keywords:[__("Choose","jetpack-forms"),__("Dropdown","jetpack-forms"),__("Option","jetpack-forms")],description:__("Add a compact select box, that when expanded, allows visitors to choose one value from the list.","jetpack-forms"),icon:(0,v.A)(React.createElement(o.Path,{fill:(0,b.V)(),d:"M5 4.5H19C19.2761 4.5 19.5 4.72386 19.5 5V19C19.5 19.2761 19.2761 19.5 19 19.5H5C4.72386 19.5 4.5 19.2761 4.5 19V5C4.5 4.72386 4.72386 4.5 5 4.5ZM19 3H5C3.89543 3 3 3.89543 3 5V19C3 20.1046 3.89543 21 5 21H19C20.1046 21 21 20.1046 21 19V5C21 3.89543 20.1046 3 19 3ZM8.93582 10.1396L8.06396 11.3602L11.9999 14.1716L15.9358 11.3602L15.064 10.1396L11.9999 12.3283L8.93582 10.1396Z"})),edit:d.A,attributes:{...R.attributes,toggleLabel:{type:"string",default:null},options:{type:"array",default:[""]}}}}]},8799:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var a=r(6427),o=r(7723),n=r(1097);const __=o.__,l=({required:e,onClick:t})=>React.createElement(a.ToolbarGroup,null,React.createElement(a.ToolbarButton,{title:__("Required","jetpack-forms"),icon:(0,n.A)(React.createElement(a.Path,{d:"M8.23118 8L16 16M8 16L15.7688 8 M6.5054 11.893L17.6567 11.9415M12.0585 17.6563L12 6.5",stroke:"currentColor"})),onClick:t,className:e?"is-pressed":void 0}))},615:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var a=r(6072),o=r.n(a),n=r(3022),l=r(9789);const i=({children:e=null,isError:t=!1,...r})=>{const a=(0,n.A)("help-message",{"help-message-is-error":t});return e&&React.createElement("div",o()({className:a},r),t&&React.createElement(l.A,{size:"24","aria-hidden":"true",role:"img",focusable:"false"}),React.createElement("span",null,e))}},599:(e,t,r)=>{"use strict";function a({children:e}){return React.createElement("p",{style:{color:"rgba( 117, 117, 117, 1 )",marginBottom:"24px"}},e)}r.d(t,{A:()=>a})},3373:(e,t,r)=>{"use strict";r.d(t,{o:()=>l});var a=r(6427),o=r(7723),n=r(5620);const __=o.__,l=({changeStatus:e,isLoading:t,isModuleActive:r})=>React.createElement(a.Placeholder,{icon:n.W.icon,instructions:__("You’ll need to activate the Contact Form feature to use this block.","jetpack-forms"),label:n.W.title},React.createElement(a.Button,{disabled:r||t,isBusy:t,onClick:()=>e(!0),variant:"secondary"},t?__("Activating Contact Form","jetpack-forms"):__("Activate Contact Form","jetpack-forms",0)))},1465:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});var a=r(1876),o=r(6427);const n=function(){return React.createElement(o.Placeholder,null,React.createElement(o.Flex,{gap:2,direction:"column",style:{width:"100%"}},React.createElement(o.Flex,{gap:4},React.createElement(o.FlexItem,null,React.createElement(a.A,{width:30,height:30})),React.createElement(o.FlexBlock,null,React.createElement(a.A,{width:"90%",height:30}))),React.createElement(o.Flex,{style:{marginTop:12}},React.createElement(o.FlexBlock,null,React.createElement(a.A,{height:30,width:"60%"}))),React.createElement(o.Flex,{style:{marginTop:12}},React.createElement(o.FlexBlock,null,React.createElement(a.A,{width:150,height:50}))),React.createElement(o.Flex,{style:{marginTop:18}},React.createElement(o.FlexBlock,null,React.createElement(a.A,{width:"90%",height:16})))))}},5345:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var a=r(6427),o=r(6087),n=r(7723);const __=n.__,l=({error:e})=>React.createElement(a.Notice,{isDismissible:!1,status:"error"},(0,o.createInterpolateElement)(__('The CRM Jetpack Form extension failed to activate. The error message was "".',"jetpack-forms"),{error:React.createElement("span",null,e)}))},2842:(e,t,r)=>{"use strict";r.d(t,{A:()=>d});var a=r(1455),o=r.n(a),n=r(6427),l=r(7723),i=r(5345);const __=l.__,s=({isActivatingExt:e,setIsActivatingExt:t,extActivationError:r,setExtActivationError:a,crmData:l,setCRMData:s})=>{const c=((e,t,r,a)=>()=>{t(void 0),e(!0),o()({path:"/jetpack/v4/jetpack_crm",method:"POST",data:{extension:"jetpackforms"}}).then((e=>{if("success"!==e.code)throw new Error(e.code);const t=Object.assign({},r);t.jp_form_ext_enabled=!0,a(t)})).catch((e=>{t(e.message)})).finally((()=>{e(!1)}))})(t,a,l,s);return e?React.createElement(n.Spinner,null):r?React.createElement(i.A,{error:r}):React.createElement(n.Button,{variant:"secondary",onClick:c},__("Enable Jetpack Forms Extension","jetpack-forms"))},c=()=>React.createElement("p",{className:"jetpack-contact-form__crm_text"},__("A site administrator must enable the CRM Jetpack Forms extension.","jetpack-forms")),u=()=>React.createElement("p",{className:"jetpack-contact-form__crm_text"},__("You can integrate this contact form with Jetpack CRM by enabling Jetpack CRM's Jetpack Forms extension.","jetpack-forms")),d=({isActivatingExt:e,setIsActivatingExt:t,extActivationError:r,setExtActivationError:a,crmData:o,setCRMData:n})=>o.can_activate_extension?React.createElement("div",null,React.createElement(u,null),React.createElement("br",null),React.createElement(s,{isActivatingExt:e,setIsActivatingExt:t,extActivationError:r,setExtActivationError:a,crmData:o,setCRMData:n})):React.createElement(c,null)},3912:(e,t,r)=>{"use strict";r.d(t,{A:()=>b});var a=r(6427),o=r(6087),n=r(7723),l=r(8265),i=r.n(l),s=r(1620),c=r(2842);const __=n.__,u=Object.freeze({ACTIVE:1,INSTALLED:2,NOT_INSTALLED:3}),d=()=>React.createElement("p",{className:"jetpack-contact-form__crm_text"},__("The Jetpack CRM plugin is installed but has an invalid version.","jetpack-forms")),p=()=>React.createElement("p",{className:"jetpack-contact-form__crm_text"},__("Please update to the latest version of the Jetpack CRM plugin to integrate your contact form with your CRM.","jetpack-forms")),m=({isActivating:e})=>{const t=e?__("Activating…","jetpack-forms"):__("Installing…","jetpack-forms",0);return React.createElement(a.Button,{variant:"secondary",icon:React.createElement(a.Icon,{style:{animation:"rotation 2s infinite linear"},icon:"update"}),disabled:!0,"aria-label":t},t)},f=({installAndActivateCRMPlugin:e,isInstalling:t})=>{let r=React.createElement(a.Button,{variant:"secondary",onClick:e},__("Install Jetpack CRM","jetpack-forms"));return t&&(r=React.createElement(m,null)),React.createElement("p",{className:"jetpack-contact-form__crm_text jetpack-contact-form__integration-panel"},React.createElement("em",{style:{color:"rgba(38, 46, 57, 0.7)"}},__("You can save contacts from Jetpack contact forms in Jetpack CRM.","jetpack-forms"),React.createElement("br",null),r))},h=({activateCRMPlugin:e,isInstalling:t})=>React.createElement("p",{className:"jetpack-contact-form__crm_text jetpack-contact-form__integration-panel"},React.createElement("em",null,__("You already have the Jetpack CRM plugin installed, but it’s not activated.","jetpack-forms")),React.createElement("br",null),t&&React.createElement(m,{isActivating:!0}),!t&&React.createElement(a.Button,{variant:"secondary",onClick:e},__("Activate the Jetpack CRM plugin","jetpack-forms"))),g=({crmData:e,setCRMData:t,jetpackCRM:r,setAttributes:n})=>{const[l,s]=(0,o.useState)(!1),[u,d]=(0,o.useState)(!1);return e.jp_form_ext_enabled?i().satisfies(i().coerce(e.crm_version),"3.0.19 - 4.0.0")?React.createElement("p",{className:"jetpack-contact-form__crm_text"},__("Contacts from this form will be stored in Jetpack CRM.","jetpack-forms")):React.createElement(a.ToggleControl,{className:"jetpack-contact-form__crm_toggle",label:__("Jetpack CRM","jetpack-forms"),checked:r,onChange:e=>n({jetpackCRM:e}),help:__("Store contact form submissions in your CRM.","jetpack-forms"),__nextHasNoMarginBottom:!0}):React.createElement(c.A,{isActivatingExt:l,setIsActivatingExt:s,extActivationError:u,setExtActivationError:d,crmData:e,setCRMData:t})},b=({crmData:e,setCRMData:t,jetpackCRM:r,setAttributes:a,onCRMPluginClick:o,isInstalling:n})=>{const l=i().coerce(e.crm_version);if(e.crm_installed&&!l)return React.createElement(d,null);if(e.crm_installed&&i().lt(l,"4.9.1"))return React.createElement(p,null);let c=u.NOT_INSTALLED;return e.crm_active?c=u.ACTIVE:e.crm_installed&&(c=u.INSTALLED),React.createElement("div",{"aria-live":"polite"},u.ACTIVE===c&&React.createElement(g,{crmData:e,setCRMData:t,jetpackCRM:r,setAttributes:a}),u.INSTALLED===c&&React.createElement(h,{activateCRMPlugin:()=>o(s.Bf,"zero-bs-crm/ZeroBSCRM"),isInstalling:n}),u.NOT_INSTALLED===c&&React.createElement(f,{installAndActivateCRMPlugin:()=>o(s.pj,"zero-bs-crm"),isInstalling:n}))}},186:(e,t,r)=>{"use strict";r.d(t,{A:()=>u});var a=r(1455),o=r.n(a),n=r(6427),l=r(6087),i=r(3912);const s=(e,t,r)=>{o()({path:"/jetpack/v4/jetpack_crm"}).then((r=>{if(r.error)throw r.message;e(!1),t(r)})).catch((()=>e(!0))).finally((()=>r(!1)))},c=({jetpackCRM:e,setAttributes:t})=>{const[r,a]=(0,l.useState)(!0),[o,c]=(0,l.useState)(!1),[u,d]=(0,l.useState)(),[p,m]=(0,l.useState)(!1),f=(0,l.useCallback)(((e,t)=>{m(!0),e(t).catch((()=>{c(!0)})).finally((()=>{m(!1),a(!0),s(c,d,a)}))}),[m,c,a]);return(0,l.useEffect)((()=>{s(c,d,a)}),[]),r?React.createElement(n.Spinner,null):o?null:React.createElement(i.A,{crmData:u,setCRMData:d,jetpackCRM:e,setAttributes:t,onCRMPluginClick:f,isInstalling:p})},u=({jetpackCRM:e,setAttributes:t})=>React.createElement(n.BaseControl,{__nextHasNoMarginBottom:!0},React.createElement(c,{jetpackCRM:e,setAttributes:t}))},7309:(e,t,r)=>{"use strict";r.d(t,{A:()=>c});var a=r(6427),o=r(6087),n=r(7723),l=r(9904),i=r(615),s=r(599);const __=n.__,c=({emailAddress:e="",emailSubject:t="",instanceId:r,setAttributes:c,postAuthorEmail:u})=>{const[d,p]=(0,o.useState)(!1),m=e=>0!==(e=e.trim()).length&&(!l.validate(e)&&{email:e});return React.createElement(React.Fragment,null,React.createElement(s.A,null,__("Get incoming form responses sent to your email inbox:","jetpack-forms")),React.createElement(a.TextControl,{"aria-describedby":`contact-form-${r}-email-${d&&d.length>0?"error":"help"}`,label:__("Email address to send to","jetpack-forms"),placeholder:__("name@example.com","jetpack-forms"),onKeyDown:e=>{"Enter"===event.key&&(e.preventDefault(),e.stopPropagation())},value:e,onBlur:e=>{if(0===e.target.value.length)return p(!1),void c({to:u});const t=e.target.value.split(",").map(m).filter(Boolean);t&&t.length&&p(t)},onChange:e=>{p(!1),c({to:e.trim()})},help:__("You can enter multiple email addresses separated by commas.","jetpack-forms"),__nextHasNoMarginBottom:!0}),React.createElement(i.A,{isError:!0,id:`contact-form-${r}-email-error`},(()=>{if(d){if(1===d.length)return d[0]&&d[0].email?(0,n.sprintf)(/* translators: placeholder is an email address. */ +(()=>{var e={3407:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});var a=r(5573),o=r(790);const n=(0,o.jsx)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(a.Path,{d:"M15.5 9.5a1 1 0 100-2 1 1 0 000 2zm0 1.5a2.5 2.5 0 100-5 2.5 2.5 0 000 5zm-2.25 6v-2a2.75 2.75 0 00-2.75-2.75h-4A2.75 2.75 0 003.75 15v2h1.5v-2c0-.69.56-1.25 1.25-1.25h4c.69 0 1.25.56 1.25 1.25v2h1.5zm7-2v2h-1.5v-2c0-.69-.56-1.25-1.25-1.25H15v-1.5h2.5A2.75 2.75 0 0120.25 15zM9.5 8.5a1 1 0 11-2 0 1 1 0 012 0zm1.5 0a2.5 2.5 0 11-5 0 2.5 2.5 0 015 0z",fillRule:"evenodd"})})},9904:(e,t)=>{"use strict";var r=/^[-!#$%&'*+\/0-9=?A-Z^_a-z{|}~](\.?[-!#$%&'*+\/0-9=?A-Z^_a-z`{|}~])*@[a-zA-Z0-9](-*\.?[a-zA-Z0-9])*\.[a-zA-Z](-?[a-zA-Z0-9])+$/;t.validate=function(e){if(!e)return!1;if(e.length>254)return!1;if(!r.test(e))return!1;var t=e.split("@");return!(t[0].length>64)&&!t[1].split(".").some((function(e){return e.length>63}))}},2529:(e,t,r)=>{"use strict";const a=r(9443),o=Symbol("max"),n=Symbol("length"),l=Symbol("lengthCalculator"),i=Symbol("allowStale"),s=Symbol("maxAge"),c=Symbol("dispose"),u=Symbol("noDisposeOnSet"),d=Symbol("lruList"),p=Symbol("cache"),m=Symbol("updateAgeOnGet"),f=()=>1;const h=(e,t,r)=>{const a=e[p].get(t);if(a){const t=a.value;if(g(e,t)){if(k(e,a),!e[i])return}else r&&(e[m]&&(a.value.now=Date.now()),e[d].unshiftNode(a));return t.value}},g=(e,t)=>{if(!t||!t.maxAge&&!e[s])return!1;const r=Date.now()-t.now;return t.maxAge?r>t.maxAge:e[s]&&r>e[s]},b=e=>{if(e[n]>e[o])for(let t=e[d].tail;e[n]>e[o]&&null!==t;){const r=t.prev;k(e,t),t=r}},k=(e,t)=>{if(t){const r=t.value;e[c]&&e[c](r.key,r.value),e[n]-=r.length,e[p].delete(r.key),e[d].removeNode(t)}};class E{constructor(e,t,r,a,o){this.key=e,this.value=t,this.length=r,this.now=a,this.maxAge=o||0}}const C=(e,t,r,a)=>{let o=r.value;g(e,o)&&(k(e,r),e[i]||(o=void 0)),o&&t.call(a,o.value,o.key,e)};e.exports=class{constructor(e){if("number"==typeof e&&(e={max:e}),e||(e={}),e.max&&("number"!=typeof e.max||e.max<0))throw new TypeError("max must be a non-negative number");this[o]=e.max||1/0;const t=e.length||f;if(this[l]="function"!=typeof t?f:t,this[i]=e.stale||!1,e.maxAge&&"number"!=typeof e.maxAge)throw new TypeError("maxAge must be a number");this[s]=e.maxAge||0,this[c]=e.dispose,this[u]=e.noDisposeOnSet||!1,this[m]=e.updateAgeOnGet||!1,this.reset()}set max(e){if("number"!=typeof e||e<0)throw new TypeError("max must be a non-negative number");this[o]=e||1/0,b(this)}get max(){return this[o]}set allowStale(e){this[i]=!!e}get allowStale(){return this[i]}set maxAge(e){if("number"!=typeof e)throw new TypeError("maxAge must be a non-negative number");this[s]=e,b(this)}get maxAge(){return this[s]}set lengthCalculator(e){"function"!=typeof e&&(e=f),e!==this[l]&&(this[l]=e,this[n]=0,this[d].forEach((e=>{e.length=this[l](e.value,e.key),this[n]+=e.length}))),b(this)}get lengthCalculator(){return this[l]}get length(){return this[n]}get itemCount(){return this[d].length}rforEach(e,t){t=t||this;for(let r=this[d].tail;null!==r;){const a=r.prev;C(this,e,r,t),r=a}}forEach(e,t){t=t||this;for(let r=this[d].head;null!==r;){const a=r.next;C(this,e,r,t),r=a}}keys(){return this[d].toArray().map((e=>e.key))}values(){return this[d].toArray().map((e=>e.value))}reset(){this[c]&&this[d]&&this[d].length&&this[d].forEach((e=>this[c](e.key,e.value))),this[p]=new Map,this[d]=new a,this[n]=0}dump(){return this[d].map((e=>!g(this,e)&&{k:e.key,v:e.value,e:e.now+(e.maxAge||0)})).toArray().filter((e=>e))}dumpLru(){return this[d]}set(e,t,r){if((r=r||this[s])&&"number"!=typeof r)throw new TypeError("maxAge must be a number");const a=r?Date.now():0,i=this[l](t,e);if(this[p].has(e)){if(i>this[o])return k(this,this[p].get(e)),!1;const l=this[p].get(e).value;return this[c]&&(this[u]||this[c](e,l.value)),l.now=a,l.maxAge=r,l.value=t,this[n]+=i-l.length,l.length=i,this.get(e),b(this),!0}const m=new E(e,t,i,a,r);return m.length>this[o]?(this[c]&&this[c](e,t),!1):(this[n]+=m.length,this[d].unshift(m),this[p].set(e,this[d].head),b(this),!0)}has(e){if(!this[p].has(e))return!1;const t=this[p].get(e).value;return!g(this,t)}get(e){return h(this,e,!0)}peek(e){return h(this,e,!1)}pop(){const e=this[d].tail;return e?(k(this,e),e.value):null}del(e){k(this,this[p].get(e))}load(e){this.reset();const t=Date.now();for(let r=e.length-1;r>=0;r--){const a=e[r],o=a.e||0;if(0===o)this.set(a.k,a.v);else{const e=o-t;e>0&&this.set(a.k,a.v,e)}}}prune(){this[p].forEach(((e,t)=>h(this,t,!1)))}}},7876:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});const a={placeholder:"NisihrgiIKl_knpYJtfg",pulse:"R2i0K45dEF157drbVRPI"}},5196:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});const a={global:"_fUXxnSp5pagKBp9gSN7"}},7378:e=>{var t=1e3,r=60*t,a=60*r,o=24*a,n=7*o,l=365.25*o;function i(e,t,r,a){var o=t>=1.5*r;return Math.round(e/r)+" "+a+(o?"s":"")}e.exports=function(e,s){s=s||{};var c=typeof e;if("string"===c&&e.length>0)return function(e){if((e=String(e)).length>100)return;var i=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!i)return;var s=parseFloat(i[1]);switch((i[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return s*l;case"weeks":case"week":case"w":return s*n;case"days":case"day":case"d":return s*o;case"hours":case"hour":case"hrs":case"hr":case"h":return s*a;case"minutes":case"minute":case"mins":case"min":case"m":return s*r;case"seconds":case"second":case"secs":case"sec":case"s":return s*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return s;default:return}}(e);if("number"===c&&isFinite(e))return s.long?function(e){var n=Math.abs(e);if(n>=o)return i(e,n,o,"day");if(n>=a)return i(e,n,a,"hour");if(n>=r)return i(e,n,r,"minute");if(n>=t)return i(e,n,t,"second");return e+" ms"}(e):function(e){var n=Math.abs(e);if(n>=o)return Math.round(e/o)+"d";if(n>=a)return Math.round(e/a)+"h";if(n>=r)return Math.round(e/r)+"m";if(n>=t)return Math.round(e/t)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},4172:(e,t,r)=>{const a=Symbol("SemVer ANY");class o{static get ANY(){return a}constructor(e,t){if(t=n(t),e instanceof o){if(e.loose===!!t.loose)return e;e=e.value}e=e.trim().split(/\s+/).join(" "),c("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===a?this.value="":this.value=this.operator+this.semver.version,c("comp",this)}parse(e){const t=this.options.loose?l[i.COMPARATORLOOSE]:l[i.COMPARATOR],r=e.match(t);if(!r)throw new TypeError(`Invalid comparator: ${e}`);this.operator=void 0!==r[1]?r[1]:"","="===this.operator&&(this.operator=""),r[2]?this.semver=new u(r[2],this.options.loose):this.semver=a}toString(){return this.value}test(e){if(c("Comparator.test",e,this.options.loose),this.semver===a||e===a)return!0;if("string"==typeof e)try{e=new u(e,this.options)}catch(e){return!1}return s(e,this.operator,this.semver,this.options)}intersects(e,t){if(!(e instanceof o))throw new TypeError("a Comparator is required");return""===this.operator?""===this.value||new d(e.value,t).test(this.value):""===e.operator?""===e.value||new d(this.value,t).test(e.semver):(!(t=n(t)).includePrerelease||"<0.0.0-0"!==this.value&&"<0.0.0-0"!==e.value)&&(!(!t.includePrerelease&&(this.value.startsWith("<0.0.0")||e.value.startsWith("<0.0.0")))&&(!(!this.operator.startsWith(">")||!e.operator.startsWith(">"))||(!(!this.operator.startsWith("<")||!e.operator.startsWith("<"))||(!(this.semver.version!==e.semver.version||!this.operator.includes("=")||!e.operator.includes("="))||(!!(s(this.semver,"<",e.semver,t)&&this.operator.startsWith(">")&&e.operator.startsWith("<"))||!!(s(this.semver,">",e.semver,t)&&this.operator.startsWith("<")&&e.operator.startsWith(">")))))))}}e.exports=o;const n=r(879),{safeRe:l,t:i}=r(4746),s=r(9019),c=r(4860),u=r(3296),d=r(2787)},2787:(e,t,r)=>{class a{constructor(e,t){if(t=n(t),e instanceof a)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new a(e.raw,t);if(e instanceof l)return this.raw=e.value,this.set=[[e]],this.format(),this;if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e.trim().split(/\s+/).join(" "),this.set=this.raw.split("||").map((e=>this.parseRange(e))).filter((e=>e.length)),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){const e=this.set[0];if(this.set=this.set.filter((e=>!g(e[0]))),0===this.set.length)this.set=[e];else if(this.set.length>1)for(const e of this.set)if(1===e.length&&b(e[0])){this.set=[e];break}}this.format()}format(){return this.range=this.set.map((e=>e.join(" ").trim())).join("||").trim(),this.range}toString(){return this.range}parseRange(e){const t=((this.options.includePrerelease&&f)|(this.options.loose&&h))+":"+e,r=o.get(t);if(r)return r;const a=this.options.loose,n=a?c[u.HYPHENRANGELOOSE]:c[u.HYPHENRANGE];e=e.replace(n,B(this.options.includePrerelease)),i("hyphen replace",e),e=e.replace(c[u.COMPARATORTRIM],d),i("comparator trim",e);let s=(e=(e=e.replace(c[u.TILDETRIM],p)).replace(c[u.CARETTRIM],m)).split(" ").map((e=>E(e,this.options))).join(" ").split(/\s+/).map((e=>S(e,this.options)));a&&(s=s.filter((e=>(i("loose invalid filter",e,this.options),!!e.match(c[u.COMPARATORLOOSE]))))),i("range list",s);const b=new Map,k=s.map((e=>new l(e,this.options)));for(const e of k){if(g(e))return[e];b.set(e.value,e)}b.size>1&&b.has("")&&b.delete("");const C=[...b.values()];return o.set(t,C),C}intersects(e,t){if(!(e instanceof a))throw new TypeError("a Range is required");return this.set.some((r=>k(r,t)&&e.set.some((e=>k(e,t)&&r.every((r=>e.every((e=>r.intersects(e,t)))))))))}test(e){if(!e)return!1;if("string"==typeof e)try{e=new s(e,this.options)}catch(e){return!1}for(let t=0;t"<0.0.0-0"===e.value,b=e=>""===e.value,k=(e,t)=>{let r=!0;const a=e.slice();let o=a.pop();for(;r&&a.length;)r=a.every((e=>o.intersects(e,t))),o=a.pop();return r},E=(e,t)=>(i("comp",e,t),e=y(e,t),i("caret",e),e=v(e,t),i("tildes",e),e=A(e,t),i("xrange",e),e=x(e,t),i("stars",e),e),C=e=>!e||"x"===e.toLowerCase()||"*"===e,v=(e,t)=>e.trim().split(/\s+/).map((e=>R(e,t))).join(" "),R=(e,t)=>{const r=t.loose?c[u.TILDELOOSE]:c[u.TILDE];return e.replace(r,((t,r,a,o,n)=>{let l;return i("tilde",e,t,r,a,o,n),C(r)?l="":C(a)?l=`>=${r}.0.0 <${+r+1}.0.0-0`:C(o)?l=`>=${r}.${a}.0 <${r}.${+a+1}.0-0`:n?(i("replaceTilde pr",n),l=`>=${r}.${a}.${o}-${n} <${r}.${+a+1}.0-0`):l=`>=${r}.${a}.${o} <${r}.${+a+1}.0-0`,i("tilde return",l),l}))},y=(e,t)=>e.trim().split(/\s+/).map((e=>j(e,t))).join(" "),j=(e,t)=>{i("caret",e,t);const r=t.loose?c[u.CARETLOOSE]:c[u.CARET],a=t.includePrerelease?"-0":"";return e.replace(r,((t,r,o,n,l)=>{let s;return i("caret",e,t,r,o,n,l),C(r)?s="":C(o)?s=`>=${r}.0.0${a} <${+r+1}.0.0-0`:C(n)?s="0"===r?`>=${r}.${o}.0${a} <${r}.${+o+1}.0-0`:`>=${r}.${o}.0${a} <${+r+1}.0.0-0`:l?(i("replaceCaret pr",l),s="0"===r?"0"===o?`>=${r}.${o}.${n}-${l} <${r}.${o}.${+n+1}-0`:`>=${r}.${o}.${n}-${l} <${r}.${+o+1}.0-0`:`>=${r}.${o}.${n}-${l} <${+r+1}.0.0-0`):(i("no pr"),s="0"===r?"0"===o?`>=${r}.${o}.${n}${a} <${r}.${o}.${+n+1}-0`:`>=${r}.${o}.${n}${a} <${r}.${+o+1}.0-0`:`>=${r}.${o}.${n} <${+r+1}.0.0-0`),i("caret return",s),s}))},A=(e,t)=>(i("replaceXRanges",e,t),e.split(/\s+/).map((e=>w(e,t))).join(" ")),w=(e,t)=>{e=e.trim();const r=t.loose?c[u.XRANGELOOSE]:c[u.XRANGE];return e.replace(r,((r,a,o,n,l,s)=>{i("xRange",e,r,a,o,n,l,s);const c=C(o),u=c||C(n),d=u||C(l),p=d;return"="===a&&p&&(a=""),s=t.includePrerelease?"-0":"",c?r=">"===a||"<"===a?"<0.0.0-0":"*":a&&p?(u&&(n=0),l=0,">"===a?(a=">=",u?(o=+o+1,n=0,l=0):(n=+n+1,l=0)):"<="===a&&(a="<",u?o=+o+1:n=+n+1),"<"===a&&(s="-0"),r=`${a+o}.${n}.${l}${s}`):u?r=`>=${o}.0.0${s} <${+o+1}.0.0-0`:d&&(r=`>=${o}.${n}.0${s} <${o}.${+n+1}.0-0`),i("xRange return",r),r}))},x=(e,t)=>(i("replaceStars",e,t),e.trim().replace(c[u.STAR],"")),S=(e,t)=>(i("replaceGTE0",e,t),e.trim().replace(c[t.includePrerelease?u.GTE0PRE:u.GTE0],"")),B=e=>(t,r,a,o,n,l,i,s,c,u,d,p,m)=>`${r=C(a)?"":C(o)?`>=${a}.0.0${e?"-0":""}`:C(n)?`>=${a}.${o}.0${e?"-0":""}`:l?`>=${r}`:`>=${r}${e?"-0":""}`} ${s=C(c)?"":C(u)?`<${+c+1}.0.0-0`:C(d)?`<${c}.${+u+1}.0-0`:p?`<=${c}.${u}.${d}-${p}`:e?`<${c}.${u}.${+d+1}-0`:`<=${s}`}`.trim(),_=(e,t,r)=>{for(let r=0;r0){const a=e[r].semver;if(a.major===t.major&&a.minor===t.minor&&a.patch===t.patch)return!0}return!1}return!0}},3296:(e,t,r)=>{const a=r(4860),{MAX_LENGTH:o,MAX_SAFE_INTEGER:n}=r(246),{safeRe:l,t:i}=r(4746),s=r(879),{compareIdentifiers:c}=r(487);class u{constructor(e,t){if(t=s(t),e instanceof u){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;e=e.version}else if("string"!=typeof e)throw new TypeError(`Invalid version. Must be a string. Got type "${typeof e}".`);if(e.length>o)throw new TypeError(`version is longer than ${o} characters`);a("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;const r=e.trim().match(t.loose?l[i.LOOSE]:l[i.FULL]);if(!r)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+r[1],this.minor=+r[2],this.patch=+r[3],this.major>n||this.major<0)throw new TypeError("Invalid major version");if(this.minor>n||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>n||this.patch<0)throw new TypeError("Invalid patch version");r[4]?this.prerelease=r[4].split(".").map((e=>{if(/^[0-9]+$/.test(e)){const t=+e;if(t>=0&&t=0;)"number"==typeof this.prerelease[a]&&(this.prerelease[a]++,a=-2);if(-1===a){if(t===this.prerelease.join(".")&&!1===r)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(e)}}if(t){let a=[t,e];!1===r&&(a=[t]),0===c(this.prerelease[0],t)?isNaN(this.prerelease[1])&&(this.prerelease=a):this.prerelease=a}break}default:throw new Error(`invalid increment argument: ${e}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}}e.exports=u},2322:(e,t,r)=>{const a=r(5788);e.exports=(e,t)=>{const r=a(e.trim().replace(/^[=v]+/,""),t);return r?r.version:null}},9019:(e,t,r)=>{const a=r(9250),o=r(6723),n=r(9272),l=r(6453),i=r(3356),s=r(9116);e.exports=(e,t,r,c)=>{switch(t){case"===":return"object"==typeof e&&(e=e.version),"object"==typeof r&&(r=r.version),e===r;case"!==":return"object"==typeof e&&(e=e.version),"object"==typeof r&&(r=r.version),e!==r;case"":case"=":case"==":return a(e,r,c);case"!=":return o(e,r,c);case">":return n(e,r,c);case">=":return l(e,r,c);case"<":return i(e,r,c);case"<=":return s(e,r,c);default:throw new TypeError(`Invalid operator: ${t}`)}}},1854:(e,t,r)=>{const a=r(3296),o=r(5788),{safeRe:n,t:l}=r(4746);e.exports=(e,t)=>{if(e instanceof a)return e;if("number"==typeof e&&(e=String(e)),"string"!=typeof e)return null;let r=null;if((t=t||{}).rtl){let t;for(;(t=n[l.COERCERTL].exec(e))&&(!r||r.index+r[0].length!==e.length);)r&&t.index+t[0].length===r.index+r[0].length||(r=t),n[l.COERCERTL].lastIndex=t.index+t[1].length+t[2].length;n[l.COERCERTL].lastIndex=-1}else r=e.match(n[l.COERCE]);return null===r?null:o(`${r[2]}.${r[3]||"0"}.${r[4]||"0"}`,t)}},8201:(e,t,r)=>{const a=r(3296);e.exports=(e,t,r)=>{const o=new a(e,r),n=new a(t,r);return o.compare(n)||o.compareBuild(n)}},2471:(e,t,r)=>{const a=r(4940);e.exports=(e,t)=>a(e,t,!0)},4940:(e,t,r)=>{const a=r(3296);e.exports=(e,t,r)=>new a(e,r).compare(new a(t,r))},844:(e,t,r)=>{const a=r(5788);e.exports=(e,t)=>{const r=a(e,null,!0),o=a(t,null,!0),n=r.compare(o);if(0===n)return null;const l=n>0,i=l?r:o,s=l?o:r,c=!!i.prerelease.length;if(!!s.prerelease.length&&!c)return s.patch||s.minor?i.patch?"patch":i.minor?"minor":"major":"major";const u=c?"pre":"";return r.major!==o.major?u+"major":r.minor!==o.minor?u+"minor":r.patch!==o.patch?u+"patch":"prerelease"}},9250:(e,t,r)=>{const a=r(4940);e.exports=(e,t,r)=>0===a(e,t,r)},9272:(e,t,r)=>{const a=r(4940);e.exports=(e,t,r)=>a(e,t,r)>0},6453:(e,t,r)=>{const a=r(4940);e.exports=(e,t,r)=>a(e,t,r)>=0},6619:(e,t,r)=>{const a=r(3296);e.exports=(e,t,r,o,n)=>{"string"==typeof r&&(n=o,o=r,r=void 0);try{return new a(e instanceof a?e.version:e,r).inc(t,o,n).version}catch(e){return null}}},3356:(e,t,r)=>{const a=r(4940);e.exports=(e,t,r)=>a(e,t,r)<0},9116:(e,t,r)=>{const a=r(4940);e.exports=(e,t,r)=>a(e,t,r)<=0},3566:(e,t,r)=>{const a=r(3296);e.exports=(e,t)=>new a(e,t).major},2186:(e,t,r)=>{const a=r(3296);e.exports=(e,t)=>new a(e,t).minor},6723:(e,t,r)=>{const a=r(4940);e.exports=(e,t,r)=>0!==a(e,t,r)},5788:(e,t,r)=>{const a=r(3296);e.exports=(e,t,r=!1)=>{if(e instanceof a)return e;try{return new a(e,t)}catch(e){if(!r)return null;throw e}}},6313:(e,t,r)=>{const a=r(3296);e.exports=(e,t)=>new a(e,t).patch},965:(e,t,r)=>{const a=r(5788);e.exports=(e,t)=>{const r=a(e,t);return r&&r.prerelease.length?r.prerelease:null}},8998:(e,t,r)=>{const a=r(4940);e.exports=(e,t,r)=>a(t,e,r)},1753:(e,t,r)=>{const a=r(8201);e.exports=(e,t)=>e.sort(((e,r)=>a(r,e,t)))},6146:(e,t,r)=>{const a=r(2787);e.exports=(e,t,r)=>{try{t=new a(t,r)}catch(e){return!1}return t.test(e)}},5123:(e,t,r)=>{const a=r(8201);e.exports=(e,t)=>e.sort(((e,r)=>a(e,r,t)))},9141:(e,t,r)=>{const a=r(5788);e.exports=(e,t)=>{const r=a(e,t);return r?r.version:null}},8265:(e,t,r)=>{const a=r(4746),o=r(246),n=r(3296),l=r(487),i=r(5788),s=r(9141),c=r(2322),u=r(6619),d=r(844),p=r(3566),m=r(2186),f=r(6313),h=r(965),g=r(4940),b=r(8998),k=r(2471),E=r(8201),C=r(5123),v=r(1753),R=r(9272),y=r(3356),j=r(9250),A=r(6723),w=r(6453),x=r(9116),S=r(9019),B=r(1854),_=r(4172),I=r(2787),N=r(6146),M=r(8067),P=r(7064),F=r(3410),L=r(8761),T=r(5966),$=r(6207),V=r(7095),O=r(3250),H=r(6160),D=r(8417),q=r(2620);e.exports={parse:i,valid:s,clean:c,inc:u,diff:d,major:p,minor:m,patch:f,prerelease:h,compare:g,rcompare:b,compareLoose:k,compareBuild:E,sort:C,rsort:v,gt:R,lt:y,eq:j,neq:A,gte:w,lte:x,cmp:S,coerce:B,Comparator:_,Range:I,satisfies:N,toComparators:M,maxSatisfying:P,minSatisfying:F,minVersion:L,validRange:T,outside:$,gtr:V,ltr:O,intersects:H,simplifyRange:D,subset:q,SemVer:n,re:a.re,src:a.src,tokens:a.t,SEMVER_SPEC_VERSION:o.SEMVER_SPEC_VERSION,RELEASE_TYPES:o.RELEASE_TYPES,compareIdentifiers:l.compareIdentifiers,rcompareIdentifiers:l.rcompareIdentifiers}},246:e=>{const t=Number.MAX_SAFE_INTEGER||9007199254740991;e.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:16,MAX_SAFE_INTEGER:t,RELEASE_TYPES:["major","premajor","minor","preminor","patch","prepatch","prerelease"],SEMVER_SPEC_VERSION:"2.0.0",FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}},4860:e=>{const t="object"==typeof process&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};e.exports=t},487:e=>{const t=/^[0-9]+$/,r=(e,r)=>{const a=t.test(e),o=t.test(r);return a&&o&&(e=+e,r=+r),e===r?0:a&&!o?-1:o&&!a?1:er(t,e)}},879:e=>{const t=Object.freeze({loose:!0}),r=Object.freeze({});e.exports=e=>e?"object"!=typeof e?t:e:r},4746:(e,t,r)=>{const{MAX_SAFE_COMPONENT_LENGTH:a}=r(246),o=r(4860),n=(t=e.exports={}).re=[],l=t.safeRe=[],i=t.src=[],s=t.t={};let c=0;const u=(e,t,r)=>{const a=t.split("\\s*").join("\\s{0,1}").split("\\s+").join("\\s"),u=c++;o(e,u,t),s[e]=u,i[u]=t,n[u]=new RegExp(t,r?"g":void 0),l[u]=new RegExp(a,r?"g":void 0)};u("NUMERICIDENTIFIER","0|[1-9]\\d*"),u("NUMERICIDENTIFIERLOOSE","[0-9]+"),u("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),u("MAINVERSION",`(${i[s.NUMERICIDENTIFIER]})\\.(${i[s.NUMERICIDENTIFIER]})\\.(${i[s.NUMERICIDENTIFIER]})`),u("MAINVERSIONLOOSE",`(${i[s.NUMERICIDENTIFIERLOOSE]})\\.(${i[s.NUMERICIDENTIFIERLOOSE]})\\.(${i[s.NUMERICIDENTIFIERLOOSE]})`),u("PRERELEASEIDENTIFIER",`(?:${i[s.NUMERICIDENTIFIER]}|${i[s.NONNUMERICIDENTIFIER]})`),u("PRERELEASEIDENTIFIERLOOSE",`(?:${i[s.NUMERICIDENTIFIERLOOSE]}|${i[s.NONNUMERICIDENTIFIER]})`),u("PRERELEASE",`(?:-(${i[s.PRERELEASEIDENTIFIER]}(?:\\.${i[s.PRERELEASEIDENTIFIER]})*))`),u("PRERELEASELOOSE",`(?:-?(${i[s.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${i[s.PRERELEASEIDENTIFIERLOOSE]})*))`),u("BUILDIDENTIFIER","[0-9A-Za-z-]+"),u("BUILD",`(?:\\+(${i[s.BUILDIDENTIFIER]}(?:\\.${i[s.BUILDIDENTIFIER]})*))`),u("FULLPLAIN",`v?${i[s.MAINVERSION]}${i[s.PRERELEASE]}?${i[s.BUILD]}?`),u("FULL",`^${i[s.FULLPLAIN]}$`),u("LOOSEPLAIN",`[v=\\s]*${i[s.MAINVERSIONLOOSE]}${i[s.PRERELEASELOOSE]}?${i[s.BUILD]}?`),u("LOOSE",`^${i[s.LOOSEPLAIN]}$`),u("GTLT","((?:<|>)?=?)"),u("XRANGEIDENTIFIERLOOSE",`${i[s.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),u("XRANGEIDENTIFIER",`${i[s.NUMERICIDENTIFIER]}|x|X|\\*`),u("XRANGEPLAIN",`[v=\\s]*(${i[s.XRANGEIDENTIFIER]})(?:\\.(${i[s.XRANGEIDENTIFIER]})(?:\\.(${i[s.XRANGEIDENTIFIER]})(?:${i[s.PRERELEASE]})?${i[s.BUILD]}?)?)?`),u("XRANGEPLAINLOOSE",`[v=\\s]*(${i[s.XRANGEIDENTIFIERLOOSE]})(?:\\.(${i[s.XRANGEIDENTIFIERLOOSE]})(?:\\.(${i[s.XRANGEIDENTIFIERLOOSE]})(?:${i[s.PRERELEASELOOSE]})?${i[s.BUILD]}?)?)?`),u("XRANGE",`^${i[s.GTLT]}\\s*${i[s.XRANGEPLAIN]}$`),u("XRANGELOOSE",`^${i[s.GTLT]}\\s*${i[s.XRANGEPLAINLOOSE]}$`),u("COERCE",`(^|[^\\d])(\\d{1,${a}})(?:\\.(\\d{1,${a}}))?(?:\\.(\\d{1,${a}}))?(?:$|[^\\d])`),u("COERCERTL",i[s.COERCE],!0),u("LONETILDE","(?:~>?)"),u("TILDETRIM",`(\\s*)${i[s.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",u("TILDE",`^${i[s.LONETILDE]}${i[s.XRANGEPLAIN]}$`),u("TILDELOOSE",`^${i[s.LONETILDE]}${i[s.XRANGEPLAINLOOSE]}$`),u("LONECARET","(?:\\^)"),u("CARETTRIM",`(\\s*)${i[s.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",u("CARET",`^${i[s.LONECARET]}${i[s.XRANGEPLAIN]}$`),u("CARETLOOSE",`^${i[s.LONECARET]}${i[s.XRANGEPLAINLOOSE]}$`),u("COMPARATORLOOSE",`^${i[s.GTLT]}\\s*(${i[s.LOOSEPLAIN]})$|^$`),u("COMPARATOR",`^${i[s.GTLT]}\\s*(${i[s.FULLPLAIN]})$|^$`),u("COMPARATORTRIM",`(\\s*)${i[s.GTLT]}\\s*(${i[s.LOOSEPLAIN]}|${i[s.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",u("HYPHENRANGE",`^\\s*(${i[s.XRANGEPLAIN]})\\s+-\\s+(${i[s.XRANGEPLAIN]})\\s*$`),u("HYPHENRANGELOOSE",`^\\s*(${i[s.XRANGEPLAINLOOSE]})\\s+-\\s+(${i[s.XRANGEPLAINLOOSE]})\\s*$`),u("STAR","(<|>)?=?\\s*\\*"),u("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),u("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")},7095:(e,t,r)=>{const a=r(6207);e.exports=(e,t,r)=>a(e,t,">",r)},6160:(e,t,r)=>{const a=r(2787);e.exports=(e,t,r)=>(e=new a(e,r),t=new a(t,r),e.intersects(t,r))},3250:(e,t,r)=>{const a=r(6207);e.exports=(e,t,r)=>a(e,t,"<",r)},7064:(e,t,r)=>{const a=r(3296),o=r(2787);e.exports=(e,t,r)=>{let n=null,l=null,i=null;try{i=new o(t,r)}catch(e){return null}return e.forEach((e=>{i.test(e)&&(n&&-1!==l.compare(e)||(n=e,l=new a(n,r)))})),n}},3410:(e,t,r)=>{const a=r(3296),o=r(2787);e.exports=(e,t,r)=>{let n=null,l=null,i=null;try{i=new o(t,r)}catch(e){return null}return e.forEach((e=>{i.test(e)&&(n&&1!==l.compare(e)||(n=e,l=new a(n,r)))})),n}},8761:(e,t,r)=>{const a=r(3296),o=r(2787),n=r(9272);e.exports=(e,t)=>{e=new o(e,t);let r=new a("0.0.0");if(e.test(r))return r;if(r=new a("0.0.0-0"),e.test(r))return r;r=null;for(let t=0;t{const t=new a(e.semver.version);switch(e.operator){case">":0===t.prerelease.length?t.patch++:t.prerelease.push(0),t.raw=t.format();case"":case">=":l&&!n(t,l)||(l=t);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${e.operator}`)}})),!l||r&&!n(r,l)||(r=l)}return r&&e.test(r)?r:null}},6207:(e,t,r)=>{const a=r(3296),o=r(4172),{ANY:n}=o,l=r(2787),i=r(6146),s=r(9272),c=r(3356),u=r(9116),d=r(6453);e.exports=(e,t,r,p)=>{let m,f,h,g,b;switch(e=new a(e,p),t=new l(t,p),r){case">":m=s,f=u,h=c,g=">",b=">=";break;case"<":m=c,f=d,h=s,g="<",b="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(i(e,t,p))return!1;for(let r=0;r{e.semver===n&&(e=new o(">=0.0.0")),l=l||e,i=i||e,m(e.semver,l.semver,p)?l=e:h(e.semver,i.semver,p)&&(i=e)})),l.operator===g||l.operator===b)return!1;if((!i.operator||i.operator===g)&&f(e,i.semver))return!1;if(i.operator===b&&h(e,i.semver))return!1}return!0}},8417:(e,t,r)=>{const a=r(6146),o=r(4940);e.exports=(e,t,r)=>{const n=[];let l=null,i=null;const s=e.sort(((e,t)=>o(e,t,r)));for(const e of s){a(e,t,r)?(i=e,l||(l=e)):(i&&n.push([l,i]),i=null,l=null)}l&&n.push([l,null]);const c=[];for(const[e,t]of n)e===t?c.push(e):t||e!==s[0]?t?e===s[0]?c.push(`<=${t}`):c.push(`${e} - ${t}`):c.push(`>=${e}`):c.push("*");const u=c.join(" || "),d="string"==typeof t.raw?t.raw:String(t);return u.length{const a=r(2787),o=r(4172),{ANY:n}=o,l=r(6146),i=r(4940),s=[new o(">=0.0.0-0")],c=[new o(">=0.0.0")],u=(e,t,r)=>{if(e===t)return!0;if(1===e.length&&e[0].semver===n){if(1===t.length&&t[0].semver===n)return!0;e=r.includePrerelease?s:c}if(1===t.length&&t[0].semver===n){if(r.includePrerelease)return!0;t=c}const a=new Set;let o,u,m,f,h,g,b;for(const t of e)">"===t.operator||">="===t.operator?o=d(o,t,r):"<"===t.operator||"<="===t.operator?u=p(u,t,r):a.add(t.semver);if(a.size>1)return null;if(o&&u){if(m=i(o.semver,u.semver,r),m>0)return null;if(0===m&&(">="!==o.operator||"<="!==u.operator))return null}for(const e of a){if(o&&!l(e,String(o),r))return null;if(u&&!l(e,String(u),r))return null;for(const a of t)if(!l(e,String(a),r))return!1;return!0}let k=!(!u||r.includePrerelease||!u.semver.prerelease.length)&&u.semver,E=!(!o||r.includePrerelease||!o.semver.prerelease.length)&&o.semver;k&&1===k.prerelease.length&&"<"===u.operator&&0===k.prerelease[0]&&(k=!1);for(const e of t){if(b=b||">"===e.operator||">="===e.operator,g=g||"<"===e.operator||"<="===e.operator,o)if(E&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===E.major&&e.semver.minor===E.minor&&e.semver.patch===E.patch&&(E=!1),">"===e.operator||">="===e.operator){if(f=d(o,e,r),f===e&&f!==o)return!1}else if(">="===o.operator&&!l(o.semver,String(e),r))return!1;if(u)if(k&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===k.major&&e.semver.minor===k.minor&&e.semver.patch===k.patch&&(k=!1),"<"===e.operator||"<="===e.operator){if(h=p(u,e,r),h===e&&h!==u)return!1}else if("<="===u.operator&&!l(u.semver,String(e),r))return!1;if(!e.operator&&(u||o)&&0!==m)return!1}return!(o&&g&&!u&&0!==m)&&(!(u&&b&&!o&&0!==m)&&(!E&&!k))},d=(e,t,r)=>{if(!e)return t;const a=i(e.semver,t.semver,r);return a>0?e:a<0||">"===t.operator&&">="===e.operator?t:e},p=(e,t,r)=>{if(!e)return t;const a=i(e.semver,t.semver,r);return a<0?e:a>0||"<"===t.operator&&"<="===e.operator?t:e};e.exports=(e,t,r={})=>{if(e===t)return!0;e=new a(e,r),t=new a(t,r);let o=!1;e:for(const a of e.set){for(const e of t.set){const t=u(a,e,r);if(o=o||null!==t,t)continue e}if(o)return!1}return!0}},8067:(e,t,r)=>{const a=r(2787);e.exports=(e,t)=>new a(e,t).set.map((e=>e.map((e=>e.value)).join(" ").trim().split(" ")))},5966:(e,t,r)=>{const a=r(2787);e.exports=(e,t)=>{try{return new a(e,t).range||"*"}catch(e){return null}}},372:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var a=r(67);const o=r.n(a)()("dops:analytics");let n,l;window._tkq=window._tkq||[],window.ga=window.ga||function(){(window.ga.q=window.ga.q||[]).push(arguments)},window.ga.l=+new Date;const i={initialize:function(e,t,r){i.setUser(e,t),i.setSuperProps(r),i.identifyUser()},setGoogleAnalyticsEnabled:function(e,t=null){this.googleAnalyticsEnabled=e,this.googleAnalyticsKey=t},setMcAnalyticsEnabled:function(e){this.mcAnalyticsEnabled=e},setUser:function(e,t){l={ID:e,username:t}},setSuperProps:function(e){n=e},assignSuperProps:function(e){n=Object.assign(n||{},e)},mc:{bumpStat:function(e,t){const r=function(e,t){let r="";if("object"==typeof e){for(const t in e)r+="&x_"+encodeURIComponent(t)+"="+encodeURIComponent(e[t]);o("Bumping stats %o",e)}else r="&x_"+encodeURIComponent(e)+"="+encodeURIComponent(t),o('Bumping stat "%s" in group "%s"',t,e);return r}(e,t);i.mcAnalyticsEnabled&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom-no-pv"+r+"&t="+Math.random())},bumpStatWithPageView:function(e,t){const r=function(e,t){let r="";if("object"==typeof e){for(const t in e)r+="&"+encodeURIComponent(t)+"="+encodeURIComponent(e[t]);o("Built stats %o",e)}else r="&"+encodeURIComponent(e)+"="+encodeURIComponent(t),o('Built stat "%s" in group "%s"',t,e);return r}(e,t);i.mcAnalyticsEnabled&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom"+r+"&t="+Math.random())}},pageView:{record:function(e,t){i.tracks.recordPageView(e),i.ga.recordPageView(e,t)}},purchase:{record:function(e,t,r,a,o,n,l){i.ga.recordPurchase(e,t,r,a,o,n,l)}},tracks:{recordEvent:function(e,t){t=t||{},0===e.indexOf("akismet_")||0===e.indexOf("jetpack_")?(n&&(o("- Super Props: %o",n),t=Object.assign(t,n)),o('Record event "%s" called with props %s',e,JSON.stringify(t)),window._tkq.push(["recordEvent",e,t])):o('- Event name must be prefixed by "akismet_" or "jetpack_"')},recordJetpackClick:function(e){const t="object"==typeof e?e:{target:e};i.tracks.recordEvent("jetpack_wpa_click",t)},recordPageView:function(e){i.tracks.recordEvent("akismet_page_view",{path:e})},setOptOut:function(e){o("Pushing setOptOut: %o",e),window._tkq.push(["setOptOut",e])}},ga:{initialized:!1,initialize:function(){let e={};i.ga.initialized||(l&&(e={userId:"u-"+l.ID}),window.ga("create",this.googleAnalyticsKey,"auto",e),i.ga.initialized=!0)},recordPageView:function(e,t){i.ga.initialize(),o("Recording Page View ~ [URL: "+e+"] [Title: "+t+"]"),this.googleAnalyticsEnabled&&(window.ga("set","page",e),window.ga("send",{hitType:"pageview",page:e,title:t}))},recordEvent:function(e,t,r,a){i.ga.initialize();let n="Recording Event ~ [Category: "+e+"] [Action: "+t+"]";void 0!==r&&(n+=" [Option Label: "+r+"]"),void 0!==a&&(n+=" [Option Value: "+a+"]"),o(n),this.googleAnalyticsEnabled&&window.ga("send","event",e,t,r,a)},recordPurchase:function(e,t,r,a,o,n,l){window.ga("require","ecommerce"),window.ga("ecommerce:addTransaction",{id:e,revenue:a,currency:l}),window.ga("ecommerce:addItem",{id:e,name:t,sku:r,price:o,quantity:n}),window.ga("ecommerce:send")}},identifyUser:function(){l&&window._tkq.push(["identifyUser",l.ID,l.username])},setProperties:function(e){window._tkq.push(["setProperties",e])},clearedIdentity:function(){window._tkq.push(["clearIdentity"])}},s=i},1876:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var a=r(3022),o=r(1609),n=r.n(o),l=r(7876);const i=({children:e=null,width:t=null,height:r=null,className:o=""})=>n().createElement("div",{className:(0,a.A)(l.A.placeholder,o),style:{width:t,height:r}},e)},723:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>p});var a=r(1609),o=r.n(a),n=r(5196);const l={"--font-headline-medium":"48px","--font-headline-small":"36px","--font-title-medium":"24px","--font-title-small":"20px","--font-body":"16px","--font-body-small":"14px","--font-body-extra-small":"12px","--font-title-large":"var(--font-headline-small)","--font-label":"var(--font-body-extra-small)"},i={"--jp-black":"#000000","--jp-black-80":"#2c3338","--jp-white":"#ffffff","--jp-white-off":"#f9f9f6","--jp-gray":"#dcdcde","--jp-gray-0":"#F6F7F7","--jp-gray-5":"var(--jp-gray)","--jp-gray-10":"#C3C4C7","--jp-gray-20":"#A7AAAD","--jp-gray-40":"#787C82","--jp-gray-50":"#646970","--jp-gray-60":"#50575E","--jp-gray-70":"#3C434A","--jp-gray-80":"#2C3338","--jp-gray-90":"#1d2327","--jp-gray-off":"#e2e2df","--jp-red-0":"#F7EBEC","--jp-red-5":"#FACFD2","--jp-red-40":"#E65054","--jp-red-50":"#D63638","--jp-red-60":"#B32D2E","--jp-red-70":"#8A2424","--jp-red-80":"#691C1C","--jp-red":"#d63639","--jp-yellow-5":"#F5E6B3","--jp-yellow-10":"#F2CF75","--jp-yellow-20":"#F0C930","--jp-yellow-30":"#DEB100","--jp-yellow-40":"#C08C00","--jp-yellow-50":"#9D6E00","--jp-yellow-60":"#7D5600","--jp-blue-20":"#68B3E8","--jp-blue-40":"#1689DB","--jp-pink":"#C9356E","--jp-green-0":"#f0f2eb","--jp-green-5":"#d0e6b8","--jp-green-10":"#9dd977","--jp-green-20":"#64ca43","--jp-green-30":"#2fb41f","--jp-green-40":"#069e08","--jp-green-50":"#008710","--jp-green-60":"#007117","--jp-green-70":"#005b18","--jp-green-80":"#004515","--jp-green-90":"#003010","--jp-green-100":"#001c09","--jp-green":"#069e08","--jp-green-primary":"var( --jp-green-40 )","--jp-green-secondary":"var( --jp-green-30 )"},s={"--jp-border-radius":"4px","--jp-menu-border-height":"1px","--jp-underline-thickness":"2px"},c={"--spacing-base":"8px"},u={},d=(e,t,r)=>{const a={...l,...i,...s,...c};for(const t in a)e.style.setProperty(t,a[t]);r&&e.classList.add(n.A.global),t&&(u[t]={provided:!0,root:e})},p=({children:e=null,targetDom:t,id:r,withGlobalStyles:n=!0})=>{const l=(0,a.useRef)(),i=u?.[r]?.provided;return(0,a.useLayoutEffect)((()=>{if(!i)return t?d(t,r,n):void(l?.current&&d(l.current,r,n))}),[t,l,i,r,n]),t?o().createElement(o().Fragment,null,e):o().createElement("div",{ref:l},e)}},5985:(e,t,r)=>{"use strict";r.d(t,{$i:()=>a.A,BT:()=>l.A,FB:()=>n.A,Sy:()=>o.Sy,aq:()=>i.aq,d9:()=>o.d9,q7:()=>s.A});var a=r(4972),o=r(2634),n=r(703),l=(r(2034),r(5595)),i=r(3265),s=(r(3489),r(6923));r(5877),r(335),r(8290)},5877:(e,t,r)=>{"use strict";r(1609)},335:(e,t,r)=>{"use strict";r(6087)},4972:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});const a="Jetpack_Editor_Initial_State";function o(){return"object"==typeof window?window?.[a]??null:null}},703:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var a=r(4972);function o(e){const t=(0,a.A)(),r=t?.available_blocks?.[e]?.available??!1,o=t?.available_blocks?.[e]?.unavailable_reason??"unknown";return{available:r,...!r&&{details:t?.available_blocks?.[e]?.details??[],unavailableReason:o}}}},3489:(e,t,r)=>{"use strict";var a=r(372);r(9384),r(6087);const{tracks:o}=a.A,{recordEvent:n}=o},6923:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var a=r(7143),o=r(6087),n=r(8290);const l=e=>{const{isModuleActive:t,isChangingStatus:r,isLoadingModules:l}=(0,a.useSelect)((t=>{const r=t(n.F);return{isModuleActive:r.isModuleActive(e),isChangingStatus:r.isModuleUpdating(e),isLoadingModules:r.areModulesLoading(e)}}),[e]),{updateJetpackModuleStatus:i}=(0,a.useDispatch)(n.F),s=(0,o.useCallback)((t=>i({name:e,active:t})),[e,i]);return(0,o.useMemo)((()=>({isLoadingModules:l,isChangingStatus:r,isModuleActive:t,changeStatus:s})),[l,r,t,s])}},7105:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>d,E9:()=>u});var a=r(7143),o=r(2634),n=r(4478),l=r(8290);const i="SET_JETPACK_MODULES";function s(e){return u({isLoading:e})}function c(e,t){return{type:"SET_MODULE_UPDATING",name:e,isUpdating:t}}function u(e){return{type:i,options:e}}const d={updateJetpackModuleStatus:function*(e){try{yield c(e.name,!0),yield(0,n.sB)(e);const t=yield(0,n.wz)();return yield u({data:t}),!0}catch{const e=(0,a.select)(l.F).getJetpackModules();return yield u(e),!1}finally{yield c(e.name,!1)}},setJetpackModules:u,fetchModules:function*(){if((0,o.Sy)())return!0;try{yield s(!0);const e=yield(0,n.wz)();return yield u({data:e}),!0}catch{const e=(0,a.select)(l.F).getJetpackModules();return yield u(e),!1}finally{yield s(!1)}}}},4478:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>c,sB:()=>s,wz:()=>i});var a=r(1455),o=r.n(a);const n="FETCH_JETPACK_MODULES",l="UPDATE_JETPACK_MODULE_STATUS",i=()=>({type:n}),s=e=>({type:l,settings:e}),c={[n]:function(){return o()({path:"/jetpack/v4/module/all",method:"GET"})},[l]:function({settings:e}){return o()({path:`/jetpack/v4/module/${e.name}/active`,method:"POST",data:{active:e.active}})}}},8290:(e,t,r)=>{"use strict";r.d(t,{F:()=>c});var a=r(7143),o=r(7105),n=r(4478),l=r(8862),i=r(2701),s=r(1640);const c="jetpack-modules",u=(0,a.createReduxStore)(c,{reducer:l.A,actions:o.Ay,controls:n.Ay,resolvers:i.A,selectors:s.A});(0,a.register)(u);const d=window?.Initial_State?.getModules||window?.Jetpack_Editor_Initial_State?.modules||null;null!==d&&(0,a.dispatch)(c).setJetpackModules({data:{...d}})},8862:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});const a={isLoading:!1,isUpdating:{},data:{}},o=(e=a,t)=>{switch(t.type){case"SET_JETPACK_MODULES":return{...e,...t.options};case"SET_MODULE_UPDATING":return{...e,isUpdating:{...e.isUpdating,[t.name]:t.isUpdating}}}return e}},2701:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});var a=r(7105),o=r(4478);const n={getJetpackModules:function*(){try{const e=yield(0,o.wz)();if(e)return(0,a.E9)({data:e})}catch(e){console.error(e)}}}},1640:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var a=r(2634);const o={getJetpackModules:e=>e.data,isModuleActive:(e,t)=>(0,a.Sy)()||(e?.data?.[t]?.activated??!1),areModulesLoading:e=>e.isLoading??!1,isModuleUpdating:(e,t)=>e?.isUpdating?.[t]??!1}},3265:(e,t,r)=>{"use strict";r.d(t,{aq:()=>o});var a=r(7723);r(3832),r(8468);const __=a.__;function o(e,t){return"missing_plan"===e&&t.required_plan}__("Upgrade your plan to use video covers","jetpack-forms"),__("Upgrade your plan to upload audio","jetpack-forms")},2034:(e,t,r)=>{"use strict";r(2279)},2634:(e,t,r)=>{"use strict";function a(){return"object"==typeof window&&"string"==typeof window._currentSiteType?window._currentSiteType:null}function o(){return"simple"===a()}function n(){return"atomic"===a()}r.d(t,{Sy:()=>o,d9:()=>n})},5595:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var a=r(6072),o=r.n(a),n=r(9491);const l=e=>(0,n.createHigherOrderComponent)((t=>r=>React.createElement(t,o()({},r,{className:r.name===e?"has-warning is-interactive":r.className}))),"withHasWarningIsInteractiveClassNames")},8575:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var a=r(7723);const __=a.__,o={subject:{type:"string",default:window.jpFormsBlocks?.defaults?.subject||""},to:{type:"string",default:window.jpFormsBlocks?.defaults?.to||""},customThankyou:{type:"string",default:""},customThankyouHeading:{type:"string",default:__("Your message has been sent","jetpack-forms")},customThankyouMessage:{type:"string",default:""},customThankyouRedirect:{type:"string",default:""},jetpackCRM:{type:"boolean",default:!0},formTitle:{type:"string",default:""},salesforceData:{type:"object",default:{organizationId:"",sendToSalesforce:!1}}}},1013:(e,t,r)=>{"use strict";r.d(t,{P:()=>A});var a=r(4997),o=r(6427),n=(r(6087),r(7723)),l=r(8468),i=r(1978),s=r(9958),c=r(4697),u=r(565),d=r(4506),p=r(3052),m=r(358),f=r(5700),h=r(5214),g=r(7817),b=r(9787),k=r(1663),E=r(6691),C=r(9771),v=r(1097);const __=n.__,_x=n._x,R={apiVersion:3,category:"contact-form",supports:{reusable:!1,html:!1},attributes:{label:{type:"string",default:null},required:{type:"boolean",default:!1},requiredText:{type:"string"},options:{type:"array",default:[]},defaultValue:{type:"string",default:""},placeholder:{type:"string",default:""},id:{type:"string",default:""},width:{type:"number",default:100},borderRadius:{type:"number",default:""},borderWidth:{type:"number",default:""},labelFontSize:{type:"string"},fieldFontSize:{type:"string"},lineHeight:{type:"number"},labelLineHeight:{type:"number"},inputColor:{type:"string"},labelColor:{type:"string"},fieldBackgroundColor:{type:"string"},buttonBackgroundColor:{type:"string"},buttonBorderRadius:{type:"number",default:""},buttonBorderWidth:{type:"number",default:""},borderColor:{type:"string"},shareFieldAttributes:{type:"boolean",default:!0}},transforms:{to:[{type:"block",blocks:["jetpack/field-text"],transform:e=>(0,a.createBlock)("jetpack/field-text",e)},{type:"block",blocks:["jetpack/field-name"],transform:e=>(0,a.createBlock)("jetpack/field-name",e)},{type:"block",blocks:["jetpack/field-email"],transform:e=>(0,a.createBlock)("jetpack/field-email",e)},{type:"block",blocks:["jetpack/field-url"],transform:e=>(0,a.createBlock)("jetpack/field-url",e)},{type:"block",blocks:["jetpack/field-date"],transform:e=>(0,a.createBlock)("jetpack/field-date",e)},{type:"block",blocks:["jetpack/field-telephone"],transform:e=>(0,a.createBlock)("jetpack/field-telephone",e)},{type:"block",blocks:["jetpack/field-textarea"],transform:e=>(0,a.createBlock)("jetpack/field-textarea",e)},{type:"block",blocks:["jetpack/field-checkbox-multiple"],transform:(e,t)=>{let r=[];if((0,l.isEmpty)(t))e.options?.length&&(r=(0,l.map)(e.options,(e=>(0,a.createBlock)("jetpack/field-option-checkbox",{label:e,fieldType:"checkbox"}))));else{const e=(0,l.filter)(t,(({name:e})=>(0,l.startsWith)(e,"jetpack/field-option")));r=(0,l.map)(e,(e=>(0,a.createBlock)("jetpack/field-option-checkbox",{label:e.attributes.label,fieldType:"checkbox"})))}return(0,a.createBlock)("jetpack/field-checkbox-multiple",e,r)}},{type:"block",blocks:["jetpack/field-radio"],transform:(e,t)=>{let r=[];if((0,l.isEmpty)(t))e.options?.length&&(r=(0,l.map)(e.options,(e=>(0,a.createBlock)("jetpack/field-option-radio",{label:e,fieldType:"radio"}))));else{const e=(0,l.filter)(t,(({name:e})=>(0,l.startsWith)(e,"jetpack/field-option")));r=(0,l.map)(e,(e=>(0,a.createBlock)("jetpack/field-option-radio",{label:e.attributes.label,fieldType:"radio"})))}return(0,a.createBlock)("jetpack/field-radio",e,r)}},{type:"block",blocks:["jetpack/field-select"],transform:(e,t)=>{if(!(0,l.isEmpty)(t)){const r=(0,l.filter)(t,(({name:e})=>(0,l.startsWith)(e,"jetpack/field-option")));e.options=(0,l.map)(r,(e=>e.attributes.label))}return e.options=e.options?.length?e.options:[""],(0,a.createBlock)("jetpack/field-select",e)}},{type:"block",blocks:["jetpack/field-consent"],transform:e=>(0,a.createBlock)("jetpack/field-consent",e)},{type:"block",blocks:["jetpack/field-checkbox"],transform:e=>(0,a.createBlock)("jetpack/field-checkbox",e)}]},save:()=>null,example:{}},y=e=>({attributes:{...R.attributes,label:{type:"string",default:"checkbox"===e?"Choose several options":"Choose one option"}},migrate:t=>{const r=`jetpack/field-option-${e}`,o=(0,l.filter)(t.options,(e=>!(0,l.isEmpty)((0,l.trim)(e)))),n=(0,l.map)(o,(e=>(0,a.createBlock)(r,{label:e})));return t.options=[],[t,n]},isEligible:e=>e.options&&(0,l.filter)(e.options,(e=>!(0,l.isEmpty)((0,l.trim)(e)))).length,save:()=>null}),j=e=>t=>((0,k.DR)(t),React.createElement(i.A,{clientId:t.clientId,type:e,label:(0,E.A)(t.attributes,t.name),required:t.attributes.required,requiredText:t.attributes.requiredText,setAttributes:t.setAttributes,isSelected:t.isSelected,defaultValue:t.attributes.defaultValue,placeholder:t.attributes.placeholder,id:t.attributes.id,width:t.attributes.width,attributes:t.attributes})),A=[{name:"field-text",settings:{...R,title:__("Text Input Field","jetpack-forms"),description:__("Collect short text responses from site visitors.","jetpack-forms"),icon:(0,v.A)(React.createElement(o.Path,{fill:(0,b.V)(),d:"M12 7H4V8.5H12V7ZM19.75 17.25V10.75H4.25V17.25H19.75ZM5.75 15.75V12.25H18.25V15.75H5.75Z"})),edit:j("text"),attributes:{...R.attributes,label:{type:"string",default:"Text"}}}},{name:"field-name",settings:{...R,title:__("Name Field","jetpack-forms"),description:__("Collect the site visitor’s name.","jetpack-forms"),icon:(0,v.A)(React.createElement(o.Path,{fill:(0,b.V)(),d:"M8.25 11.5C9.63071 11.5 10.75 10.3807 10.75 9C10.75 7.61929 9.63071 6.5 8.25 6.5C6.86929 6.5 5.75 7.61929 5.75 9C5.75 10.3807 6.86929 11.5 8.25 11.5ZM8.25 10C8.80228 10 9.25 9.55228 9.25 9C9.25 8.44772 8.80228 8 8.25 8C7.69772 8 7.25 8.44772 7.25 9C7.25 9.55228 7.69772 10 8.25 10ZM13 15.5V17.5H11.5V15.5C11.5 14.8096 10.9404 14.25 10.25 14.25H6.25C5.55964 14.25 5 14.8096 5 15.5V17.5H3.5V15.5C3.5 13.9812 4.73122 12.75 6.25 12.75H10.25C11.7688 12.75 13 13.9812 13 15.5ZM20.5 11H14.5V9.5H20.5V11ZM20.5 14.5H14.5V13H20.5V14.5Z"})),edit:j("text"),attributes:{...R.attributes,label:{type:"string",default:"Name"}}}},{name:"field-email",settings:{...R,title:__("Email Field","jetpack-forms"),keywords:[__("e-mail","jetpack-forms"),__("mail","jetpack-forms"),"email"],description:__("Collect email addresses from your visitors.","jetpack-forms"),icon:(0,v.A)(React.createElement(o.Path,{fill:(0,b.V)(),fillRule:"evenodd",d:"M5.5 8.41665V16C5.5 16.2761 5.72386 16.5 6 16.5H18C18.2761 16.5 18.5 16.2761 18.5 16V8.41633L11.9998 13.9879L5.5 8.41665ZM17.2642 7.5H6.73546L11.9998 12.0123L17.2642 7.5ZM6 6C4.89543 6 4 6.89543 4 8V16C4 17.1046 4.89543 18 6 18H18C19.1046 18 20 17.1046 20 16V8C20 6.89543 19.1046 6 18 6H6Z"})),edit:j("email"),attributes:{...R.attributes,label:{type:"string",default:"Email"}}}},{name:"field-url",settings:{...R,title:__("URL Field","jetpack-forms"),keywords:["url",__("internet page","jetpack-forms"),"link"],description:__("Collect a website address from your site visitors.","jetpack-forms"),icon:(0,v.A)(React.createElement(React.Fragment,null,React.createElement(o.Path,{fill:(0,b.V)(),d:"M4.47118 8.5H3V12.9489C3 14.4653 4.14479 15.5 5.94723 15.5C7.74479 15.5 8.88958 14.4653 8.88958 12.9489V8.5H7.4184V12.8059C7.4184 13.688 6.88742 14.265 5.94723 14.265C5.00216 14.265 4.47118 13.688 4.47118 12.8059V8.5Z"}),React.createElement(o.Path,{fill:(0,b.V)(),d:"M11.5348 9.62534H12.7867C13.5175 9.62534 13.9754 10.0545 13.9754 10.7221C13.9754 11.404 13.5418 11.8188 12.8014 11.8188H11.5348V9.62534ZM11.5348 12.8631H12.7137L14.0241 15.3808H15.6901L14.2092 12.6485C15.0179 12.3386 15.4855 11.5756 15.4855 10.6935C15.4855 9.33447 14.5599 8.5 12.9426 8.5H10.0636V15.3808H11.5348V12.8631Z"}),React.createElement(o.Path,{fill:(0,b.V)(),d:"M21 14.1887H17.9261V8.5H16.4549V15.3808H21V14.1887Z"}))),edit:j("url"),attributes:{...R.attributes,label:{type:"string",default:"URL"}}}},{name:"field-date",settings:{...R,title:__("Date Picker","jetpack-forms"),keywords:[__("Calendar","jetpack-forms"),_x("day month year","block search term","jetpack-forms")],description:__("Capture date information with a date picker.","jetpack-forms"),icon:(0,v.A)(React.createElement(o.Path,{fill:(0,b.V)(),fillRule:"evenodd",d:"M4.5 7H19.5V19C19.5 19.2761 19.2761 19.5 19 19.5H5C4.72386 19.5 4.5 19.2761 4.5 19V7ZM3 5V7V19C3 20.1046 3.89543 21 5 21H19C20.1046 21 21 20.1046 21 19V7V5C21 3.89543 20.1046 3 19 3H5C3.89543 3 3 3.89543 3 5ZM11 9.25H7V13.25H11V9.25Z"})),edit:u.A,attributes:{...R.attributes,label:{type:"string",default:"Date"},dateFormat:{type:"string",default:"yy-mm-dd"}}}},{name:"field-telephone",settings:{...R,title:__("Phone Number Field","jetpack-forms"),keywords:[__("Phone","jetpack-forms"),__("Cellular phone","jetpack-forms"),__("Mobile","jetpack-forms")],description:__("Collect phone numbers from site visitors.","jetpack-forms"),icon:(0,v.A)(React.createElement(o.Path,{fill:(0,b.V)(),fillRule:"evenodd",d:"M9 5.5H15C15.2761 5.5 15.5 5.72386 15.5 6V18C15.5 18.2761 15.2761 18.5 15 18.5H9C8.72386 18.5 8.5 18.2761 8.5 18V6C8.5 5.72386 8.72386 5.5 9 5.5ZM7 6C7 4.89543 7.89543 4 9 4H15C16.1046 4 17 4.89543 17 6V18C17 19.1046 16.1046 20 15 20H9C7.89543 20 7 19.1046 7 18V6ZM13 16H11V17.5H13V16Z"})),edit:j("tel"),attributes:{...R.attributes,label:{type:"string",default:"Phone"}}}},{name:"field-textarea",settings:{...R,title:__("Multi-line Text Field","jetpack-forms"),keywords:[__("Textarea","jetpack-forms"),"textarea",__("Multiline text","jetpack-forms")],description:__("Capture longform text responses from site visitors.","jetpack-forms"),icon:(0,v.A)(React.createElement(o.Path,{fill:(0,b.V)(),d:"M20 5H4V6.5H20V5ZM5.5 11.5H18.5V18.5H5.5V11.5ZM20 20V10H4V20H20Z"})),edit:e=>((0,k.DR)(e),React.createElement(g.A,{clientId:e.clientId,label:e.attributes.label,required:e.attributes.required,requiredText:e.attributes.requiredText,attributes:e.attributes,setAttributes:e.setAttributes,isSelected:e.isSelected,defaultValue:e.attributes.defaultValue,placeholder:e.attributes.placeholder,id:e.attributes.id,width:e.attributes.width})),attributes:{...R.attributes}}},{name:"field-checkbox",settings:{...R,title:__("Checkbox","jetpack-forms"),keywords:[__("Confirm","jetpack-forms"),__("Accept","jetpack-forms")],description:__("Confirm or select information with a single checkbox.","jetpack-forms"),icon:(0,v.A)(React.createElement(o.Path,{fill:(0,b.V)(),fillRule:"evenodd",d:"M6.125 6H17.875C17.944 6 18 6.05596 18 6.125V17.875C18 17.944 17.944 18 17.875 18H6.125C6.05596 18 6 17.944 6 17.875V6.125C6 6.05596 6.05596 6 6.125 6ZM4.5 6.125C4.5 5.22754 5.22754 4.5 6.125 4.5H17.875C18.7725 4.5 19.5 5.22754 19.5 6.125V17.875C19.5 18.7725 18.7725 19.5 17.875 19.5H6.125C5.22754 19.5 4.5 18.7725 4.5 17.875V6.125ZM10.5171 16.4421L16.5897 8.71335L15.4103 7.78662L10.4828 14.0579L8.57616 11.7698L7.42383 12.7301L10.5171 16.4421Z"})),edit:e=>((0,k.DR)(e),React.createElement(s.A,{clientId:e.clientId,label:e.attributes.label,required:e.attributes.required,requiredText:e.attributes.requiredText,setAttributes:e.setAttributes,isSelected:e.isSelected,defaultValue:e.attributes.defaultValue,id:e.attributes.id,width:e.attributes.width,attributes:e.attributes})),attributes:{...R.attributes,label:{type:"string",default:""}}}},{name:"field-consent",settings:{...R,title:__("Terms Consent","jetpack-forms"),keywords:[__("Consent","jetpack-forms")],description:__("Communicate site terms and offer visitors consent to those terms.","jetpack-forms"),icon:(0,v.A)(React.createElement(React.Fragment,null,React.createElement(o.Path,{fill:(0,b.V)(),d:"M7 5.5H17C17.2761 5.5 17.5 5.72386 17.5 6V13H19V6C19 4.89543 18.1046 4 17 4H7C5.89543 4 5 4.89543 5 6V18C5 19.1046 5.89543 20 7 20H11.5V18.5H7C6.72386 18.5 6.5 18.2761 6.5 18V6C6.5 5.72386 6.72386 5.5 7 5.5ZM16 7.75H8V9.25H16V7.75ZM8 11H13V12.5H8V11Z"}),React.createElement(o.Path,{fill:(0,b.V)(),d:"M20.1087 15.9382L15.9826 21.6689L12.959 18.5194L14.0411 17.4806L15.8175 19.331L18.8914 15.0618L20.1087 15.9382Z"}))),attributes:{...R.attributes,label:{type:"string",default:__("Consent","jetpack-forms")},consentType:{type:"string",default:"implicit"},implicitConsentMessage:{type:"string",default:__("By submitting your information, you're giving us permission to email you. You may unsubscribe at any time.","jetpack-forms")},explicitConsentMessage:{type:"string",default:__("Can we send you an email from time to time?","jetpack-forms")}},edit:({attributes:e,clientId:t,isSelected:r,name:a,setAttributes:o})=>{(0,k.DR)({attributes:e,clientId:t,name:a});const{id:n,width:l,consentType:i,implicitConsentMessage:s,explicitConsentMessage:u}=e;return React.createElement(c.A,{clientId:t,id:n,isSelected:r,width:l,consentType:i,implicitConsentMessage:s,explicitConsentMessage:u,setAttributes:o,attributes:e})}}},{name:f.A.name,settings:(0,C.A)(R,{...f.A.settings,deprecated:[y("radio")]})},h.A,{name:p.A.name,settings:(0,C.A)(R,{...p.A.settings,deprecated:[y("checkbox")]})},m.A,{name:"field-select",settings:{...R,title:__("Dropdown Field","jetpack-forms"),keywords:[__("Choose","jetpack-forms"),__("Dropdown","jetpack-forms"),__("Option","jetpack-forms")],description:__("Add a compact select box, that when expanded, allows visitors to choose one value from the list.","jetpack-forms"),icon:(0,v.A)(React.createElement(o.Path,{fill:(0,b.V)(),d:"M5 4.5H19C19.2761 4.5 19.5 4.72386 19.5 5V19C19.5 19.2761 19.2761 19.5 19 19.5H5C4.72386 19.5 4.5 19.2761 4.5 19V5C4.5 4.72386 4.72386 4.5 5 4.5ZM19 3H5C3.89543 3 3 3.89543 3 5V19C3 20.1046 3.89543 21 5 21H19C20.1046 21 21 20.1046 21 19V5C21 3.89543 20.1046 3 19 3ZM8.93582 10.1396L8.06396 11.3602L11.9999 14.1716L15.9358 11.3602L15.064 10.1396L11.9999 12.3283L8.93582 10.1396Z"})),edit:d.A,attributes:{...R.attributes,toggleLabel:{type:"string",default:null},options:{type:"array",default:[""]}}}}]},8799:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var a=r(6427),o=r(7723),n=r(1097);const __=o.__,l=({required:e,onClick:t})=>React.createElement(a.ToolbarGroup,null,React.createElement(a.ToolbarButton,{title:__("Required","jetpack-forms"),icon:(0,n.A)(React.createElement(a.Path,{d:"M8.23118 8L16 16M8 16L15.7688 8 M6.5054 11.893L17.6567 11.9415M12.0585 17.6563L12 6.5",stroke:"currentColor"})),onClick:t,className:e?"is-pressed":void 0}))},615:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var a=r(6072),o=r.n(a),n=r(3022),l=r(9789);const i=({children:e=null,isError:t=!1,...r})=>{const a=(0,n.A)("help-message",{"help-message-is-error":t});return e&&React.createElement("div",o()({className:a},r),t&&React.createElement(l.A,{size:"24","aria-hidden":"true",role:"img",focusable:"false"}),React.createElement("span",null,e))}},599:(e,t,r)=>{"use strict";function a({children:e}){return React.createElement("p",{style:{color:"rgba( 117, 117, 117, 1 )",marginBottom:"24px"}},e)}r.d(t,{A:()=>a})},3373:(e,t,r)=>{"use strict";r.d(t,{o:()=>l});var a=r(6427),o=r(7723),n=r(5620);const __=o.__,l=({changeStatus:e,isLoading:t,isModuleActive:r})=>React.createElement(a.Placeholder,{icon:n.W.icon,instructions:__("You’ll need to activate the Contact Form feature to use this block.","jetpack-forms"),label:n.W.title},React.createElement(a.Button,{disabled:r||t,isBusy:t,onClick:()=>e(!0),variant:"secondary"},t?__("Activating Contact Form","jetpack-forms"):__("Activate Contact Form","jetpack-forms",0)))},1465:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});var a=r(1876),o=r(6427);const n=function(){return React.createElement(o.Placeholder,null,React.createElement(o.Flex,{gap:2,direction:"column",style:{width:"100%"}},React.createElement(o.Flex,{gap:4},React.createElement(o.FlexItem,null,React.createElement(a.A,{width:30,height:30})),React.createElement(o.FlexBlock,null,React.createElement(a.A,{width:"90%",height:30}))),React.createElement(o.Flex,{style:{marginTop:12}},React.createElement(o.FlexBlock,null,React.createElement(a.A,{height:30,width:"60%"}))),React.createElement(o.Flex,{style:{marginTop:12}},React.createElement(o.FlexBlock,null,React.createElement(a.A,{width:150,height:50}))),React.createElement(o.Flex,{style:{marginTop:18}},React.createElement(o.FlexBlock,null,React.createElement(a.A,{width:"90%",height:16})))))}},5345:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var a=r(6427),o=r(6087),n=r(7723);const __=n.__,l=({error:e})=>React.createElement(a.Notice,{isDismissible:!1,status:"error"},(0,o.createInterpolateElement)(__('The CRM Jetpack Form extension failed to activate. The error message was "".',"jetpack-forms"),{error:React.createElement("span",null,e)}))},2842:(e,t,r)=>{"use strict";r.d(t,{A:()=>d});var a=r(1455),o=r.n(a),n=r(6427),l=r(7723),i=r(5345);const __=l.__,s=({isActivatingExt:e,setIsActivatingExt:t,extActivationError:r,setExtActivationError:a,crmData:l,setCRMData:s})=>{const c=((e,t,r,a)=>()=>{t(void 0),e(!0),o()({path:"/jetpack/v4/jetpack_crm",method:"POST",data:{extension:"jetpackforms"}}).then((e=>{if("success"!==e.code)throw new Error(e.code);const t=Object.assign({},r);t.jp_form_ext_enabled=!0,a(t)})).catch((e=>{t(e.message)})).finally((()=>{e(!1)}))})(t,a,l,s);return e?React.createElement(n.Spinner,null):r?React.createElement(i.A,{error:r}):React.createElement(n.Button,{variant:"secondary",onClick:c},__("Enable Jetpack Forms Extension","jetpack-forms"))},c=()=>React.createElement("p",{className:"jetpack-contact-form__crm_text"},__("A site administrator must enable the CRM Jetpack Forms extension.","jetpack-forms")),u=()=>React.createElement("p",{className:"jetpack-contact-form__crm_text"},__("You can integrate this contact form with Jetpack CRM by enabling Jetpack CRM's Jetpack Forms extension.","jetpack-forms")),d=({isActivatingExt:e,setIsActivatingExt:t,extActivationError:r,setExtActivationError:a,crmData:o,setCRMData:n})=>o.can_activate_extension?React.createElement("div",null,React.createElement(u,null),React.createElement("br",null),React.createElement(s,{isActivatingExt:e,setIsActivatingExt:t,extActivationError:r,setExtActivationError:a,crmData:o,setCRMData:n})):React.createElement(c,null)},3912:(e,t,r)=>{"use strict";r.d(t,{A:()=>b});var a=r(6427),o=r(6087),n=r(7723),l=r(8265),i=r.n(l),s=r(1620),c=r(2842);const __=n.__,u=Object.freeze({ACTIVE:1,INSTALLED:2,NOT_INSTALLED:3}),d=()=>React.createElement("p",{className:"jetpack-contact-form__crm_text"},__("The Jetpack CRM plugin is installed but has an invalid version.","jetpack-forms")),p=()=>React.createElement("p",{className:"jetpack-contact-form__crm_text"},__("Please update to the latest version of the Jetpack CRM plugin to integrate your contact form with your CRM.","jetpack-forms")),m=({isActivating:e})=>{const t=e?__("Activating…","jetpack-forms"):__("Installing…","jetpack-forms",0);return React.createElement(a.Button,{variant:"secondary",icon:React.createElement(a.Icon,{style:{animation:"rotation 2s infinite linear"},icon:"update"}),disabled:!0,"aria-label":t},t)},f=({installAndActivateCRMPlugin:e,isInstalling:t})=>{let r=React.createElement(a.Button,{variant:"secondary",onClick:e},__("Install Jetpack CRM","jetpack-forms"));return t&&(r=React.createElement(m,null)),React.createElement("p",{className:"jetpack-contact-form__crm_text jetpack-contact-form__integration-panel"},React.createElement("em",{style:{color:"rgba(38, 46, 57, 0.7)"}},__("You can save contacts from Jetpack contact forms in Jetpack CRM.","jetpack-forms"),React.createElement("br",null),r))},h=({activateCRMPlugin:e,isInstalling:t})=>React.createElement("p",{className:"jetpack-contact-form__crm_text jetpack-contact-form__integration-panel"},React.createElement("em",null,__("You already have the Jetpack CRM plugin installed, but it’s not activated.","jetpack-forms")),React.createElement("br",null),t&&React.createElement(m,{isActivating:!0}),!t&&React.createElement(a.Button,{variant:"secondary",onClick:e},__("Activate the Jetpack CRM plugin","jetpack-forms"))),g=({crmData:e,setCRMData:t,jetpackCRM:r,setAttributes:n})=>{const[l,s]=(0,o.useState)(!1),[u,d]=(0,o.useState)(!1);return e.jp_form_ext_enabled?i().satisfies(i().coerce(e.crm_version),"3.0.19 - 4.0.0")?React.createElement("p",{className:"jetpack-contact-form__crm_text"},__("Contacts from this form will be stored in Jetpack CRM.","jetpack-forms")):React.createElement(a.ToggleControl,{className:"jetpack-contact-form__crm_toggle",label:__("Jetpack CRM","jetpack-forms"),checked:r,onChange:e=>n({jetpackCRM:e}),help:__("Store contact form submissions in your CRM.","jetpack-forms"),__nextHasNoMarginBottom:!0}):React.createElement(c.A,{isActivatingExt:l,setIsActivatingExt:s,extActivationError:u,setExtActivationError:d,crmData:e,setCRMData:t})},b=({crmData:e,setCRMData:t,jetpackCRM:r,setAttributes:a,onCRMPluginClick:o,isInstalling:n})=>{const l=i().coerce(e.crm_version);if(e.crm_installed&&!l)return React.createElement(d,null);if(e.crm_installed&&i().lt(l,"4.9.1"))return React.createElement(p,null);let c=u.NOT_INSTALLED;return e.crm_active?c=u.ACTIVE:e.crm_installed&&(c=u.INSTALLED),React.createElement("div",{"aria-live":"polite"},u.ACTIVE===c&&React.createElement(g,{crmData:e,setCRMData:t,jetpackCRM:r,setAttributes:a}),u.INSTALLED===c&&React.createElement(h,{activateCRMPlugin:()=>o(s.Bf,"zero-bs-crm/ZeroBSCRM"),isInstalling:n}),u.NOT_INSTALLED===c&&React.createElement(f,{installAndActivateCRMPlugin:()=>o(s.pj,"zero-bs-crm"),isInstalling:n}))}},186:(e,t,r)=>{"use strict";r.d(t,{A:()=>u});var a=r(1455),o=r.n(a),n=r(6427),l=r(6087),i=r(3912);const s=(e,t,r)=>{o()({path:"/jetpack/v4/jetpack_crm"}).then((r=>{if(r.error)throw r.message;e(!1),t(r)})).catch((()=>e(!0))).finally((()=>r(!1)))},c=({jetpackCRM:e,setAttributes:t})=>{const[r,a]=(0,l.useState)(!0),[o,c]=(0,l.useState)(!1),[u,d]=(0,l.useState)(),[p,m]=(0,l.useState)(!1),f=(0,l.useCallback)(((e,t)=>{m(!0),e(t).catch((()=>{c(!0)})).finally((()=>{m(!1),a(!0),s(c,d,a)}))}),[m,c,a]);return(0,l.useEffect)((()=>{s(c,d,a)}),[]),r?React.createElement(n.Spinner,null):o?null:React.createElement(i.A,{crmData:u,setCRMData:d,jetpackCRM:e,setAttributes:t,onCRMPluginClick:f,isInstalling:p})},u=({jetpackCRM:e,setAttributes:t})=>React.createElement(n.BaseControl,{__nextHasNoMarginBottom:!0},React.createElement(c,{jetpackCRM:e,setAttributes:t}))},7309:(e,t,r)=>{"use strict";r.d(t,{A:()=>c});var a=r(6427),o=r(6087),n=r(7723),l=r(9904),i=r(615),s=r(599);const __=n.__,c=({emailAddress:e="",emailSubject:t="",instanceId:r,setAttributes:c,postAuthorEmail:u})=>{const[d,p]=(0,o.useState)(!1),m=e=>0!==(e=e.trim()).length&&(!l.validate(e)&&{email:e});return React.createElement(React.Fragment,null,React.createElement(s.A,null,__("Get incoming form responses sent to your email inbox:","jetpack-forms")),React.createElement(a.TextControl,{"aria-describedby":`contact-form-${r}-email-${d&&d.length>0?"error":"help"}`,label:__("Email address to send to","jetpack-forms"),placeholder:__("name@example.com","jetpack-forms"),onKeyDown:e=>{"Enter"===event.key&&(e.preventDefault(),e.stopPropagation())},value:e,onBlur:e=>{if(0===e.target.value.length)return p(!1),void c({to:u});const t=e.target.value.split(",").map(m).filter(Boolean);t&&t.length&&p(t)},onChange:e=>{p(!1),c({to:e.trim()})},help:__("You can enter multiple email addresses separated by commas.","jetpack-forms"),__nextHasNoMarginBottom:!0}),React.createElement(i.A,{isError:!0,id:`contact-form-${r}-email-error`},(()=>{if(d){if(1===d.length)return d[0]&&d[0].email?(0,n.sprintf)(/* translators: placeholder is an email address. */ __("%s is not a valid email address.","jetpack-forms"),d[0].email):d[0];if(2===d.length)return(0,n.sprintf)(/* translators: placeholders are email addresses. */ __("%1$s and %2$s are not a valid email address.","jetpack-forms"),d[0].email,d[1].email);const e=d.map((e=>e.email));return(0,n.sprintf)(/* translators: placeholder is a list of email addresses. */ __("%s are not a valid email address.","jetpack-forms"),e.join(", "))}return null})()),React.createElement(a.TextControl,{label:__("Email subject line","jetpack-forms"),value:t,placeholder:__("Enter a subject","jetpack-forms"),onChange:e=>c({subject:e}),__nextHasNoMarginBottom:!0}))}},9958:(e,t,r)=>{"use strict";r.d(t,{A:()=>m});var a=r(4715),o=r(6427),n=r(9491),l=r(7723),i=r(8890),s=r(8799),c=r(6869),u=r(975),d=r(1646),p=r(1787);const __=l.__;const m=(0,n.compose)((0,i.H)(["borderRadius","borderWidth","labelFontSize","fieldFontSize","lineHeight","labelLineHeight","inputColor","labelColor","fieldBackgroundColor","borderColor"]),n.withInstanceId)((function(e){const{instanceId:t,required:r,requiredText:n,label:l,setAttributes:i,width:m,defaultValue:f,attributes:h}=e,{blockStyle:g}=(0,p.U)(h),b=(0,a.useBlockProps)({id:`jetpack-field-checkbox-${t}`,className:"jetpack-field jetpack-field-checkbox",style:g});return React.createElement(React.Fragment,null,React.createElement(a.BlockControls,null,React.createElement(s.A,{required:r,onClick:()=>i({required:!r})})),React.createElement("div",b,React.createElement("input",{className:"jetpack-field-checkbox__checkbox",type:"checkbox",disabled:!0,checked:f}),React.createElement(c.A,{required:r,requiredText:n,label:l,setAttributes:i,attributes:h}),React.createElement(a.InspectorControls,null,React.createElement(o.PanelBody,{title:__("Checkbox Settings","jetpack-forms")},React.createElement(o.ToggleControl,{label:__("Checked by default","jetpack-forms"),checked:f,onChange:e=>i({defaultValue:e?"true":""}),__nextHasNoMarginBottom:!0}))),React.createElement(a.InspectorControls,null,React.createElement(o.PanelBody,{title:__("Manage Responses","jetpack-forms")},React.createElement(d.A,{isChildBlock:!0})),React.createElement(o.PanelBody,{title:__("Field Settings","jetpack-forms")},React.createElement(o.ToggleControl,{label:__("Field is required","jetpack-forms"),className:"jetpack-field-label__required",checked:r,onChange:e=>i({required:e}),help:__('You can edit the "required" label in the editor',"jetpack-forms"),__nextHasNoMarginBottom:!0}),React.createElement(u.A,{setAttributes:i,width:m}),React.createElement(o.ToggleControl,{label:__("Sync fields style","jetpack-forms"),checked:h.shareFieldAttributes,onChange:e=>i({shareFieldAttributes:e}),help:__("Deactivate for individual styling of this block","jetpack-forms"),__nextHasNoMarginBottom:!0})),React.createElement(a.PanelColorSettings,{title:__("Color","jetpack-forms"),initialOpen:!1,colorSettings:[{value:h.labelColor,onChange:e=>i({labelColor:e}),label:__("Label Text","jetpack-forms")}]}),React.createElement(o.PanelBody,{title:__("Label Styles","jetpack-forms"),initialOpen:h.labelFontSize},React.createElement(a.FontSizePicker,{withSlider:!0,withReset:!0,size:"__unstable-large",__nextHasNoMarginBottom:!0,onChange:e=>i({labelFontSize:e}),value:h.labelFontSize})))))}))},6563:(e,t,r)=>{"use strict";r.d(t,{A:()=>h});var a=r(6072),o=r.n(a),n=r(4715),l=r(9491),i=r(7143),s=r(3022),c=r(1663),u=r(6691),d=r(8890),p=r(1713),m=r(6869),f=r(1787);const h=(0,l.compose)((0,d.H)(["borderRadius","borderWidth","labelFontSize","fieldFontSize","lineHeight","labelLineHeight","inputColor","labelColor","fieldBackgroundColor","buttonBackgroundColor","buttonBorderRadius","buttonBorderWidth","borderColor"]),l.withInstanceId)((e=>{const{name:t,className:r,clientId:a,instanceId:l,setAttributes:d,isSelected:h,attributes:g,type:b}=e,{required:k,requiredText:E,options:C,id:v,width:R}=g;(0,c.DR)(e);const y=(0,i.useSelect)((e=>e("core/block-editor").getBlock(a).innerBlocks),[a]),j=(0,s.A)(r,"jetpack-field jetpack-field-multiple",{"is-selected":h,"has-placeholder":C&&C.length||y.length}),A=(0,c.BV)(a),{blockStyle:w}=(0,f.U)(g),x=(0,n.useBlockProps)({id:`jetpack-field-multiple-${l}`,style:w,className:j}),S=(0,n.useInnerBlocksProps)(x,{defaultBlock:`jetpack/field-option-${b}`,template:[[`jetpack/field-option-${b}`]],templateInsertUpdatesSelection:!0});return React.createElement(React.Fragment,null,React.createElement("div",x,React.createElement(m.A,{required:k,requiredText:E,label:(0,u.A)(g,t),setAttributes:d,isSelected:h,attributes:g,style:A}),React.createElement("ul",o()({},S,{className:"jetpack-field-multiple__list"}))),React.createElement(p.A,{blockClassNames:j,clientId:a,id:v,required:k,attributes:g,setAttributes:d,type:b,width:R,hidePlaceholder:!0}))}))},9659:(e,t,r)=>{"use strict";r.d(t,{A:()=>f});var a=r(6072),o=r.n(a),n=r(4715),l=r(4997),i=r(7143),s=r(7723),c=r(3022),u=r(8468),d=r(8882),p=r(2233),m=r(1787);const __=s.__;function f({attributes:e,clientId:t,name:r,onReplace:a,setAttributes:s,type:f}){const{removeBlock:h}=(0,i.useDispatch)("core/block-editor"),g=(0,p.F)(t),{optionStyle:b}=(0,m.U)(g),k=(0,i.useSelect)((e=>{const r=e("core/block-editor"),a=(0,u.first)(r.getBlockParents(t,!0));return r.getBlock(a).innerBlocks.length}),[t]),E=(0,n.useBlockProps)(),C=(0,d.B)(),v=(0,c.A)("jetpack-field-option",`field-option-${f}`,E.className),R=(0,n.useInnerBlocksProps)(E,{className:v,style:b});return React.createElement(React.Fragment,null,React.createElement("li",R,React.createElement("input",{type:f,className:"jetpack-option__type",tabIndex:"-1"}),React.createElement(n.RichText,o()({identifier:"label",tagName:"div",className:"wp-block",value:e.label,placeholder:__("Add option…","jetpack-forms"),allowedFormats:[],onChange:e=>s({label:e}),preserveWhiteSpace:!1,withoutInteractiveFormatting:!0,onRemove:()=>{k<=1||h(t)},onReplace:a},C?{}:{onSplit:t=>(0,l.createBlock)(r,{...e,clientId:t&&0===e.label.indexOf(t)?e.clientId:void 0,label:t})}))))}},4414:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});const a={apiVersion:3,category:"contact-form",attributes:{label:{type:"string"},fieldType:{enum:["checkbox","radio"],default:"checkbox"}},supports:{reusable:!1,html:!1,splitting:!0}}},8230:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});const a={styles:[{name:"list",label:"List",isDefault:!0},{name:"button",label:"Button"}]}},4697:(e,t,r)=>{"use strict";r.d(t,{A:()=>d});var a=r(4715),o=r(6427),n=r(9491),l=r(7723),i=r(8890),s=r(6869),c=r(975),u=r(1646);const __=l.__,d=(0,n.compose)((0,i.H)(["borderRadius","borderWidth","labelFontSize","fieldFontSize","lineHeight","labelLineHeight","inputColor","labelColor","fieldBackgroundColor","borderColor"]),n.withInstanceId)((({instanceId:e,width:t,consentType:r,implicitConsentMessage:n,explicitConsentMessage:i,setAttributes:d,attributes:p})=>{const m=(0,a.useBlockProps)({id:`jetpack-field-consent-${e}`,className:"jetpack-field jetpack-field-consent"});return React.createElement("div",m,"explicit"===r&&React.createElement("input",{className:"jetpack-field-consent__checkbox",type:"checkbox",disabled:!0}),React.createElement(s.A,{required:!1,label:{implicit:n,explicit:i}[r]??"",attributes:p,setAttributes:d,labelFieldName:`${r}ConsentMessage`,placeholder:(0,l.sprintf)(/* translators: placeholder is a type of consent: implicit or explicit */ diff --git a/jetpack_vendor/automattic/jetpack-forms/dist/dashboard/jetpack-forms-dashboard.asset.php b/jetpack_vendor/automattic/jetpack-forms/dist/dashboard/jetpack-forms-dashboard.asset.php index 69ebc8c0ef..aacaa02376 100644 --- a/jetpack_vendor/automattic/jetpack-forms/dist/dashboard/jetpack-forms-dashboard.asset.php +++ b/jetpack_vendor/automattic/jetpack-forms/dist/dashboard/jetpack-forms-dashboard.asset.php @@ -1 +1 @@ - array('jetpack-connection', 'jetpack-script-data', 'lodash', 'react', 'react-dom', 'react-jsx-runtime', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-date', 'wp-element', 'wp-html-entities', 'wp-i18n', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-url'), 'version' => '4fb798f7fbf2c22828e7'); + array('jetpack-connection', 'jetpack-script-data', 'lodash', 'react', 'react-dom', 'react-jsx-runtime', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-date', 'wp-element', 'wp-html-entities', 'wp-i18n', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-url'), 'version' => '6692c151f97719eb119e'); diff --git a/jetpack_vendor/automattic/jetpack-forms/dist/dashboard/jetpack-forms-dashboard.js b/jetpack_vendor/automattic/jetpack-forms/dist/dashboard/jetpack-forms-dashboard.js index 76407f68d9..dcb6f052fc 100644 --- a/jetpack_vendor/automattic/jetpack-forms/dist/dashboard/jetpack-forms-dashboard.js +++ b/jetpack_vendor/automattic/jetpack-forms/dist/dashboard/jetpack-forms-dashboard.js @@ -1,4 +1,4 @@ /*! For license information please see jetpack-forms-dashboard.js.LICENSE.txt */ (()=>{var e={6992:(e,t,a)=>{"use strict";function n(){return n=Object.assign?Object.assign.bind():function(e){for(var t=1;tV,HS:()=>O,Oi:()=>s,Rr:()=>u,TM:()=>o,_p:()=>F,aE:()=>te,pX:()=>I,pb:()=>N,rc:()=>r,sd:()=>L,tH:()=>D,ue:()=>v}),function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"}(r||(r={}));const c="popstate";function o(e){return void 0===e&&(e={}),p((function(e,t){let{pathname:a="/",search:n="",hash:r=""}=u(e.location.hash.substr(1));return d("",{pathname:a,search:n,hash:r},t.state&&t.state.usr||null,t.state&&t.state.key||"default")}),(function(e,t){let a=e.document.querySelector("base"),n="";if(a&&a.getAttribute("href")){let t=e.location.href,a=t.indexOf("#");n=-1===a?t:t.slice(0,a)}return n+"#"+("string"==typeof t?t:m(t))}),(function(e,t){i("/"===e.pathname.charAt(0),"relative pathnames are not supported in hash history.push("+JSON.stringify(t)+")")}),e)}function s(e,t){if(!1===e||null==e)throw new Error(t)}function i(e,t){if(!e){"undefined"!=typeof console&&console.warn(t);try{throw new Error(t)}catch(e){}}}function l(e,t){return{usr:e.state,key:e.key,idx:t}}function d(e,t,a,r){return void 0===a&&(a=null),n({pathname:"string"==typeof e?e:e.pathname,search:"",hash:""},"string"==typeof t?u(t):t,{state:a,key:t&&t.key||r||Math.random().toString(36).substr(2,8)})}function m(e){let{pathname:t="/",search:a="",hash:n=""}=e;return a&&"?"!==a&&(t+="?"===a.charAt(0)?a:"?"+a),n&&"#"!==n&&(t+="#"===n.charAt(0)?n:"#"+n),t}function u(e){let t={};if(e){let a=e.indexOf("#");a>=0&&(t.hash=e.substr(a),e=e.substr(0,a));let n=e.indexOf("?");n>=0&&(t.search=e.substr(n),e=e.substr(0,n)),e&&(t.pathname=e)}return t}function p(e,t,a,o){void 0===o&&(o={});let{window:i=document.defaultView,v5Compat:u=!1}=o,p=i.history,h=r.Pop,f=null,g=v();function v(){return(p.state||{idx:null}).idx}function E(){h=r.Pop;let e=v(),t=null==e?null:e-g;g=e,f&&f({action:h,location:R.location,delta:t})}function w(e){let t="null"!==i.location.origin?i.location.origin:i.location.href,a="string"==typeof e?e:m(e);return s(t,"No window.location.(origin|href) available to create URL for href: "+a),new URL(a,t)}null==g&&(g=0,p.replaceState(n({},p.state,{idx:g}),""));let R={get action(){return h},get location(){return e(i,p)},listen(e){if(f)throw new Error("A history only accepts one active listener");return i.addEventListener(c,E),f=e,()=>{i.removeEventListener(c,E),f=null}},createHref:e=>t(i,e),createURL:w,encodeLocation(e){let t=w(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:function(e,t){h=r.Push;let n=d(R.location,e,t);a&&a(n,e),g=v()+1;let c=l(n,g),o=R.createHref(n);try{p.pushState(c,"",o)}catch(e){i.location.assign(o)}u&&f&&f({action:h,location:R.location,delta:1})},replace:function(e,t){h=r.Replace;let n=d(R.location,e,t);a&&a(n,e),g=v();let c=l(n,g),o=R.createHref(n);p.replaceState(c,"",o),u&&f&&f({action:h,location:R.location,delta:0})},go:e=>p.go(e)};return R}var h;!function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"}(h||(h={}));const f=new Set(["lazy","caseSensitive","path","id","index","children"]);function g(e,t,a,r){return void 0===a&&(a=[]),void 0===r&&(r={}),e.map(((e,c)=>{let o=[...a,c],i="string"==typeof e.id?e.id:o.join("-");if(s(!0!==e.index||!e.children,"Cannot specify children on an index route"),s(!r[i],'Found a route id collision on id "'+i+"\". Route id's must be globally unique within Data Router usages"),function(e){return!0===e.index}(e)){let a=n({},e,{hasErrorBoundary:t(e),id:i});return r[i]=a,a}{let a=n({},e,{id:i,hasErrorBoundary:t(e),children:void 0});return r[i]=a,e.children&&(a.children=g(e.children,t,o,r)),a}}))}function v(e,t,a){void 0===a&&(a="/");let n=N(("string"==typeof t?u(t):t).pathname||"/",a);if(null==n)return null;let r=E(e);!function(e){e.sort(((e,t)=>e.score!==t.score?t.score-e.score:function(e,t){let a=e.length===t.length&&e.slice(0,-1).every(((e,a)=>e===t[a]));return a?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map((e=>e.childrenIndex)),t.routesMeta.map((e=>e.childrenIndex)))))}(r);let c=null;for(let e=0;null==c&&e{let o={relativePath:void 0===c?e.path||"":c,caseSensitive:!0===e.caseSensitive,childrenIndex:r,route:e};o.relativePath.startsWith("/")&&(s(o.relativePath.startsWith(n),'Absolute route path "'+o.relativePath+'" nested under path "'+n+'" is not valid. An absolute child route path must start with the combined path of all its parent routes.'),o.relativePath=o.relativePath.slice(n.length));let i=O([n,o.relativePath]),l=a.concat(o);e.children&&e.children.length>0&&(s(!0!==e.index,'Index routes must not have child routes. Please remove all child routes from route path "'+i+'".'),E(e.children,t,l,i)),(null!=e.path||e.index)&&t.push({path:i,score:j(i,e.index),routesMeta:l})};return e.forEach(((e,t)=>{var a;if(""!==e.path&&null!=(a=e.path)&&a.includes("?"))for(let a of w(e.path))r(e,t,a);else r(e,t)})),t}function w(e){let t=e.split("/");if(0===t.length)return[];let[a,...n]=t,r=a.endsWith("?"),c=a.replace(/\?$/,"");if(0===n.length)return r?[c,""]:[c];let o=w(n.join("/")),s=[];return s.push(...o.map((e=>""===e?c:[c,e].join("/")))),r&&s.push(...o),s.map((t=>e.startsWith("/")&&""===t?"/":t))}const R=/^:\w+$/,C=3,y=2,b=1,k=10,x=-2,_=e=>"*"===e;function j(e,t){let a=e.split("/"),n=a.length;return a.some(_)&&(n+=x),t&&(n+=y),a.filter((e=>!_(e))).reduce(((e,t)=>e+(R.test(t)?C:""===t?b:k)),n)}function A(e,t){let{routesMeta:a}=e,n={},r="/",c=[];for(let e=0;e(n.push(t),"/([^\\/]+)")));e.endsWith("*")?(n.push("*"),r+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):a?r+="\\/*$":""!==e&&"/"!==e&&(r+="(?:(?=\\/|$))");let c=new RegExp(r,t?void 0:"i");return[c,n]}(e.path,e.caseSensitive,e.end),r=t.match(a);if(!r)return null;let c=r[0],o=c.replace(/(.)\/+$/,"$1"),s=r.slice(1);return{params:n.reduce(((e,t,a)=>{if("*"===t){let e=s[a]||"";o=c.slice(0,c.length-e.length).replace(/(.)\/+$/,"$1")}return e[t]=function(e,t){try{return decodeURIComponent(e)}catch(a){return i(!1,'The value for the URL param "'+t+'" will not be decoded because the string "'+e+'" is a malformed URL segment. This is probably due to a bad percent encoding ('+a+")."),e}}(s[a]||"",t),e}),{}),pathname:c,pathnameBase:o,pattern:e}}function S(e){try{return decodeURI(e)}catch(t){return i(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent encoding ('+t+")."),e}}function N(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let a=t.endsWith("/")?t.length-1:t.length,n=e.charAt(a);return n&&"/"!==n?null:e.slice(a)||"/"}function z(e,t,a,n){return"Cannot include a '"+e+"' character in a manually specified `to."+t+"` field ["+JSON.stringify(n)+"]. Please separate it out to the `to."+a+'` field. Alternatively you may provide the full path as a string in and the router will parse it for you.'}function L(e){return e.filter(((e,t)=>0===t||e.route.path&&e.route.path.length>0))}function V(e,t,a,r){let c;void 0===r&&(r=!1),"string"==typeof e?c=u(e):(c=n({},e),s(!c.pathname||!c.pathname.includes("?"),z("?","pathname","search",c)),s(!c.pathname||!c.pathname.includes("#"),z("#","pathname","hash",c)),s(!c.search||!c.search.includes("#"),z("#","search","hash",c)));let o,i=""===e||""===c.pathname,l=i?"/":c.pathname;if(r||null==l)o=a;else{let e=t.length-1;if(l.startsWith("..")){let t=l.split("/");for(;".."===t[0];)t.shift(),e-=1;c.pathname=t.join("/")}o=e>=0?t[e]:"/"}let d=function(e,t){void 0===t&&(t="/");let{pathname:a,search:n="",hash:r=""}="string"==typeof e?u(e):e,c=a?a.startsWith("/")?a:function(e,t){let a=t.replace(/\/+$/,"").split("/");return e.split("/").forEach((e=>{".."===e?a.length>1&&a.pop():"."!==e&&a.push(e)})),a.length>1?a.join("/"):"/"}(a,t):t;return{pathname:c,search:P(n),hash:T(r)}}(c,o),m=l&&"/"!==l&&l.endsWith("/"),p=(i||"."===l)&&a.endsWith("/");return d.pathname.endsWith("/")||!m&&!p||(d.pathname+="/"),d}const O=e=>e.join("/").replace(/\/\/+/g,"/"),H=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),P=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",T=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:"";class D extends Error{}class F{constructor(e,t,a,n){void 0===n&&(n=!1),this.status=e,this.statusText=t||"",this.internal=n,a instanceof Error?(this.data=a.toString(),this.error=a):this.data=a}}function I(e){return null!=e&&"number"==typeof e.status&&"string"==typeof e.statusText&&"boolean"==typeof e.internal&&"data"in e}const U=["post","put","patch","delete"],B=new Set(U),$=["get",...U],q=new Set($),J=new Set([301,302,303,307,308]),Z=new Set([307,308]),W={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0},G={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0},K={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},Y=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Q="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement,X=!Q,ee=e=>Boolean(e.hasErrorBoundary);function te(e){s(e.routes.length>0,"You must provide a non-empty routes array to createRouter");let t,a=e.detectErrorBoundary||ee,c={},o=g(e.routes,a,void 0,c),l=n({v7_normalizeFormMethod:!1},e.future),m=null,u=new Set,p=null,f=null,E=null,w=null!=e.hydrationData,R=v(o,e.history.location,e.basename),C=null;if(null==R){let t=ge(404,{pathname:e.history.location.pathname}),{matches:a,route:n}=fe(o);R=a,C={[n.id]:t}}let y,b,k=!(R.some((e=>e.route.lazy))||R.some((e=>e.route.loader))&&null==e.hydrationData),x={historyAction:e.history.action,location:e.history.location,matches:R,initialized:k,navigation:W,restoreScrollPosition:null==e.hydrationData&&null,preventScrollReset:!1,revalidation:"idle",loaderData:e.hydrationData&&e.hydrationData.loaderData||{},actionData:e.hydrationData&&e.hydrationData.actionData||null,errors:e.hydrationData&&e.hydrationData.errors||C,fetchers:new Map,blockers:new Map},_=r.Pop,j=!1,A=!1,M=!1,S=[],z=[],L=new Map,V=0,O=-1,H=new Map,P=new Set,T=new Map,D=new Map,F=new Map,I=!1;function U(e){x=n({},x,e),u.forEach((e=>e(x)))}function B(a,c){var s,i;let l,d=null!=x.actionData&&null!=x.navigation.formMethod&&ke(x.navigation.formMethod)&&"loading"===x.navigation.state&&!0!==(null==(s=a.state)?void 0:s._isRedirect);l=c.actionData?Object.keys(c.actionData).length>0?c.actionData:null:d?x.actionData:null;let m=c.loaderData?pe(x.loaderData,c.loaderData,c.matches||[],c.errors):x.loaderData;for(let[e]of F)Ee(e);let u=!0===j||null!=x.navigation.formMethod&&ke(x.navigation.formMethod)&&!0!==(null==(i=a.state)?void 0:i._isRedirect);t&&(o=t,t=void 0),U(n({},c,{actionData:l,loaderData:m,historyAction:_,location:a,initialized:!0,navigation:W,revalidation:"idle",restoreScrollPosition:Se(a,c.matches||x.matches),preventScrollReset:u,blockers:new Map(x.blockers)})),A||_===r.Pop||(_===r.Push?e.history.push(a,a.state):_===r.Replace&&e.history.replace(a,a.state)),_=r.Pop,j=!1,A=!1,M=!1,S=[],z=[]}async function $(i,l,d){b&&b.abort(),b=null,_=i,A=!0===(d&&d.startUninterruptedRevalidation),function(e,t){if(p&&f&&E){let a=t.map((e=>Ae(e,x.loaderData))),n=f(e,a)||e.key;p[n]=E()}}(x.location,x.matches),j=!0===(d&&d.preventScrollReset);let m=t||o,u=d&&d.overrideNavigation,g=v(m,l,e.basename);if(!g){let e=ge(404,{pathname:l.pathname}),{matches:t,route:a}=fe(m);return je(),void B(l,{matches:t,loaderData:{},errors:{[a.id]:e}})}if(!(w=x.location,R=l,w.pathname!==R.pathname||w.search!==R.search||w.hash===R.hash||d&&d.submission&&ke(d.submission.formMethod)))return void B(l,{matches:g});var w,R;b=new AbortController;let C,k,N=le(e.history,l,b.signal,d&&d.submission);if(d&&d.pendingError)k={[he(g).route.id]:d.pendingError};else if(d&&d.submission&&ke(d.submission.formMethod)){let e=await async function(e,t,o,s,i){ne();let l,d=n({state:"submitting",location:t},o);U({navigation:d});let m=Me(s,t);if(m.route.action||m.route.lazy){if(l=await ie("action",e,m,s,c,a,y.basename),e.signal.aborted)return{shortCircuited:!0}}else l={type:h.error,error:ge(405,{method:e.method,pathname:t.pathname,routeId:m.route.id})};if(Ce(l)){let e;return e=i&&null!=i.replace?i.replace:l.location===x.location.pathname+x.location.search,await J(x,l,{submission:o,replace:e}),{shortCircuited:!0}}if(Re(l)){let e=he(s,m.route.id);return!0!==(i&&i.replace)&&(_=r.Push),{pendingActionData:{},pendingActionError:{[e.route.id]:l.error}}}if(we(l))throw ge(400,{type:"defer-action"});return{pendingActionData:{[m.route.id]:l.data}}}(N,l,d.submission,g,{replace:d.replace});if(e.shortCircuited)return;C=e.pendingActionData,k=e.pendingActionError,u=n({state:"loading",location:l},d.submission),N=new Request(N.url,{signal:N.signal})}let{shortCircuited:H,loaderData:F,errors:I}=await async function(a,r,c,i,l,d,m,u,p){let h=i;if(!h){h=n({state:"loading",location:r,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0},l)}let f=l||d?l||d:h.formMethod&&h.formAction&&h.formData&&h.formEncType?{formMethod:h.formMethod,formAction:h.formAction,formData:h.formData,formEncType:h.formEncType}:void 0,g=t||o,[v,E]=re(e.history,x,c,f,r,M,S,z,T,g,e.basename,u,p);if(je((e=>!(c&&c.some((t=>t.route.id===e)))||v&&v.some((t=>t.route.id===e)))),0===v.length&&0===E.length)return B(r,n({matches:c,loaderData:{},errors:p||null},u?{actionData:u}:{})),{shortCircuited:!0};if(!A){E.forEach((e=>{let t=x.fetchers.get(e.key),a={state:"loading",data:t&&t.data,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0," _hasFetcherDoneAnything ":!0};x.fetchers.set(e.key,a)}));let e=u||x.actionData;U(n({navigation:h},e?0===Object.keys(e).length?{actionData:null}:{actionData:e}:{},E.length>0?{fetchers:new Map(x.fetchers)}:{}))}O=++V,E.forEach((e=>L.set(e.key,b)));let{results:w,loaderResults:R,fetcherResults:C}=await te(x.matches,c,v,E,a);if(a.signal.aborted)return{shortCircuited:!0};E.forEach((e=>L.delete(e.key)));let y=ve(w);if(y)return await J(x,y,{replace:m}),{shortCircuited:!0};let{loaderData:k,errors:_}=ue(x,c,v,R,p,E,C,D);D.forEach(((e,t)=>{e.subscribe((a=>{(a||e.done)&&D.delete(t)}))})),function(){let e=[];for(let t of P){let a=x.fetchers.get(t);s(a,"Expected fetcher: "+t),"loading"===a.state&&(P.delete(t),e.push(t))}de(e)}();let j=me(O);return n({loaderData:k,errors:_},j||E.length>0?{fetchers:new Map(x.fetchers)}:{})}(N,l,g,u,d&&d.submission,d&&d.fetcherSubmission,d&&d.replace,C,k);H||(b=null,B(l,n({matches:g},C?{actionData:C}:{},{loaderData:F,errors:I})))}function q(e){return x.fetchers.get(e)||G}async function J(t,a,c){var o;let{submission:i,replace:l,isFetchActionRedirect:m}=void 0===c?{}:c;a.revalidate&&(M=!0);let u=d(t.location,a.location,n({_isRedirect:!0},m?{_isFetchActionRedirect:!0}:{}));if(s(u,"Expected a location on the redirect navigation"),Y.test(a.location)&&Q&&void 0!==(null==(o=window)?void 0:o.location)){let t=e.history.createURL(a.location),n=null==N(t.pathname,e.basename||"/");if(window.location.origin!==t.origin||n)return void(l?window.location.replace(a.location):window.location.assign(a.location))}b=null;let p=!0===l?r.Replace:r.Push,{formMethod:h,formAction:f,formEncType:g,formData:v}=t.navigation;!i&&h&&f&&v&&g&&(i={formMethod:h,formAction:f,formEncType:g,formData:v}),Z.has(a.status)&&i&&ke(i.formMethod)?await $(p,u,{submission:n({},i,{formAction:a.location}),preventScrollReset:j}):m?await $(p,u,{overrideNavigation:{state:"loading",location:u,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0},fetcherSubmission:i,preventScrollReset:j}):await $(p,u,{overrideNavigation:{state:"loading",location:u,formMethod:i?i.formMethod:void 0,formAction:i?i.formAction:void 0,formEncType:i?i.formEncType:void 0,formData:i?i.formData:void 0},preventScrollReset:j})}async function te(t,n,r,o,s){let i=await Promise.all([...r.map((e=>ie("loader",s,e,n,c,a,y.basename))),...o.map((t=>{if(t.matches&&t.match)return ie("loader",le(e.history,t.path,s.signal),t.match,t.matches,c,a,y.basename);return{type:h.error,error:ge(404,{pathname:t.path})}}))]),l=i.slice(0,r.length),d=i.slice(r.length);return await Promise.all([xe(t,r,l,s.signal,!1,x.loaderData),xe(t,o.map((e=>e.match)),d,s.signal,!0)]),{results:i,loaderResults:l,fetcherResults:d}}function ne(){M=!0,S.push(...je()),T.forEach(((e,t)=>{L.has(t)&&(z.push(t),se(t))}))}function ce(e,t,a){let n=he(x.matches,t);oe(e),U({errors:{[n.route.id]:a},fetchers:new Map(x.fetchers)})}function oe(e){L.has(e)&&se(e),T.delete(e),H.delete(e),P.delete(e),x.fetchers.delete(e)}function se(e){let t=L.get(e);s(t,"Expected fetch controller: "+e),t.abort(),L.delete(e)}function de(e){for(let t of e){let e={state:"idle",data:q(t).data,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0," _hasFetcherDoneAnything ":!0};x.fetchers.set(t,e)}}function me(e){let t=[];for(let[a,n]of H)if(n0}function Ee(e){x.blockers.delete(e),F.delete(e)}function ye(e,t){let a=x.blockers.get(e)||K;s("unblocked"===a.state&&"blocked"===t.state||"blocked"===a.state&&"blocked"===t.state||"blocked"===a.state&&"proceeding"===t.state||"blocked"===a.state&&"unblocked"===t.state||"proceeding"===a.state&&"unblocked"===t.state,"Invalid blocker state transition: "+a.state+" -> "+t.state),x.blockers.set(e,t),U({blockers:new Map(x.blockers)})}function be(e){let{currentLocation:t,nextLocation:a,historyAction:n}=e;if(0===F.size)return;F.size>1&&i(!1,"A router only supports one blocker at a time");let r=Array.from(F.entries()),[c,o]=r[r.length-1],s=x.blockers.get(c);return s&&"proceeding"===s.state?void 0:o({currentLocation:t,nextLocation:a,historyAction:n})?c:void 0}function je(e){let t=[];return D.forEach(((a,n)=>{e&&!e(n)||(a.cancel(),t.push(n),D.delete(n))})),t}function Se(e,t){if(p&&f&&E){let a=t.map((e=>Ae(e,x.loaderData))),n=f(e,a)||e.key,r=p[n];if("number"==typeof r)return r}return null}return y={get basename(){return e.basename},get state(){return x},get routes(){return o},initialize:function(){return m=e.history.listen((t=>{let{action:a,location:n,delta:r}=t;if(I)return void(I=!1);i(0===F.size||null!=r,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs. This can also happen if you are using createHashRouter and the user manually changes the URL.");let c=be({currentLocation:x.location,nextLocation:n,historyAction:a});return c&&null!=r?(I=!0,e.history.go(-1*r),void ye(c,{state:"blocked",location:n,proceed(){ye(c,{state:"proceeding",proceed:void 0,reset:void 0,location:n}),e.history.go(r)},reset(){Ee(c),U({blockers:new Map(y.state.blockers)})}})):$(a,n)})),x.initialized||$(r.Pop,x.location),y},subscribe:function(e){return u.add(e),()=>u.delete(e)},enableScrollRestoration:function(e,t,a){if(p=e,E=t,f=a||(e=>e.key),!w&&x.navigation===W){w=!0;let e=Se(x.location,x.matches);null!=e&&U({restoreScrollPosition:e})}return()=>{p=null,E=null,f=null}},navigate:async function t(a,c){if("number"==typeof a)return void e.history.go(a);let{path:o,submission:s,error:i}=ae(a,l,c),m=x.location,u=d(x.location,o,c&&c.state);u=n({},u,e.history.encodeLocation(u));let p=c&&null!=c.replace?c.replace:void 0,h=r.Push;!0===p?h=r.Replace:!1===p||null!=s&&ke(s.formMethod)&&s.formAction===x.location.pathname+x.location.search&&(h=r.Replace);let f=c&&"preventScrollReset"in c?!0===c.preventScrollReset:void 0,g=be({currentLocation:m,nextLocation:u,historyAction:h});if(!g)return await $(h,u,{submission:s,pendingError:i,preventScrollReset:f,replace:c&&c.replace});ye(g,{state:"blocked",location:u,proceed(){ye(g,{state:"proceeding",proceed:void 0,reset:void 0,location:u}),t(a,c)},reset(){Ee(g),U({blockers:new Map(x.blockers)})}})},fetch:function(r,i,d,m){if(X)throw new Error("router.fetch() was called during the server render, but it shouldn't be. You are likely calling a useFetcher() method in the body of your component. Try moving it to a useEffect or a callback.");L.has(r)&&se(r);let u=v(t||o,d,e.basename);if(!u)return void ce(r,i,ge(404,{pathname:d}));let{path:p,submission:h}=ae(d,l,m,!0),f=Me(u,p);j=!0===(m&&m.preventScrollReset),h&&ke(h.formMethod)?async function(r,i,l,d,m,u){if(ne(),T.delete(r),!d.route.action&&!d.route.lazy){let e=ge(405,{method:u.formMethod,pathname:l,routeId:i});return void ce(r,i,e)}let p=x.fetchers.get(r),h=n({state:"submitting"},u,{data:p&&p.data," _hasFetcherDoneAnything ":!0});x.fetchers.set(r,h),U({fetchers:new Map(x.fetchers)});let f=new AbortController,g=le(e.history,l,f.signal,u);L.set(r,f);let E=await ie("action",g,d,m,c,a,y.basename);if(g.signal.aborted)return void(L.get(r)===f&&L.delete(r));if(Ce(E)){L.delete(r),P.add(r);let e=n({state:"loading"},u,{data:void 0," _hasFetcherDoneAnything ":!0});return x.fetchers.set(r,e),U({fetchers:new Map(x.fetchers)}),J(x,E,{submission:u,isFetchActionRedirect:!0})}if(Re(E))return void ce(r,i,E.error);if(we(E))throw ge(400,{type:"defer-action"});let w=x.navigation.location||x.location,R=le(e.history,w,f.signal),C=t||o,k="idle"!==x.navigation.state?v(C,x.navigation.location,e.basename):x.matches;s(k,"Didn't find any matches after fetcher action");let j=++V;H.set(r,j);let A=n({state:"loading",data:E.data},u,{" _hasFetcherDoneAnything ":!0});x.fetchers.set(r,A);let[N,F]=re(e.history,x,k,u,w,M,S,z,T,C,e.basename,{[d.route.id]:E.data},void 0);F.filter((e=>e.key!==r)).forEach((e=>{let t=e.key,a=x.fetchers.get(t),n={state:"loading",data:a&&a.data,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0," _hasFetcherDoneAnything ":!0};x.fetchers.set(t,n),L.set(t,f)})),U({fetchers:new Map(x.fetchers)});let{results:I,loaderResults:$,fetcherResults:q}=await te(x.matches,k,N,F,R);if(f.signal.aborted)return;H.delete(r),L.delete(r),F.forEach((e=>L.delete(e.key)));let Z=ve(I);if(Z)return J(x,Z);let{loaderData:W,errors:G}=ue(x,x.matches,N,$,void 0,F,q,D),K={state:"idle",data:E.data,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0," _hasFetcherDoneAnything ":!0};x.fetchers.set(r,K);let Y=me(j);"loading"===x.navigation.state&&j>O?(s(_,"Expected pending action"),b&&b.abort(),B(x.navigation.location,{matches:k,loaderData:W,errors:G,fetchers:new Map(x.fetchers)})):(U(n({errors:G,loaderData:pe(x.loaderData,W,k,G)},Y?{fetchers:new Map(x.fetchers)}:{})),M=!1)}(r,i,p,f,u,h):(T.set(r,{routeId:i,path:p}),async function(t,r,o,i,l,d){let m=x.fetchers.get(t),u=n({state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0},d,{data:m&&m.data," _hasFetcherDoneAnything ":!0});x.fetchers.set(t,u),U({fetchers:new Map(x.fetchers)});let p=new AbortController,h=le(e.history,o,p.signal);L.set(t,p);let f=await ie("loader",h,i,l,c,a,y.basename);we(f)&&(f=await _e(f,h.signal,!0)||f);L.get(t)===p&&L.delete(t);if(h.signal.aborted)return;if(Ce(f))return void await J(x,f);if(Re(f)){let e=he(x.matches,r);return x.fetchers.delete(t),void U({fetchers:new Map(x.fetchers),errors:{[e.route.id]:f.error}})}s(!we(f),"Unhandled fetcher deferred data");let g={state:"idle",data:f.data,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0," _hasFetcherDoneAnything ":!0};x.fetchers.set(t,g),U({fetchers:new Map(x.fetchers)})}(r,i,p,f,u,h))},revalidate:function(){ne(),U({revalidation:"loading"}),"submitting"!==x.navigation.state&&("idle"!==x.navigation.state?$(_||x.historyAction,x.navigation.location,{overrideNavigation:x.navigation}):$(x.historyAction,x.location,{startUninterruptedRevalidation:!0}))},createHref:t=>e.history.createHref(t),encodeLocation:t=>e.history.encodeLocation(t),getFetcher:q,deleteFetcher:oe,dispose:function(){m&&m(),u.clear(),b&&b.abort(),x.fetchers.forEach(((e,t)=>oe(t))),x.blockers.forEach(((e,t)=>Ee(t)))},getBlocker:function(e,t){let a=x.blockers.get(e)||K;return F.get(e)!==t&&F.set(e,t),a},deleteBlocker:Ee,_internalFetchControllers:L,_internalActiveDeferreds:D,_internalSetRoutes:function(e){t=e}},y}Symbol("deferred");function ae(e,t,a,n){void 0===n&&(n=!1);let r,c="string"==typeof e?e:m(e);if(!a||!function(e){return null!=e&&"formData"in e}(a))return{path:c};if(a.formMethod&&!be(a.formMethod))return{path:c,error:ge(405,{method:a.formMethod})};if(a.formData){let e=a.formMethod||"get";if(r={formMethod:t.v7_normalizeFormMethod?e.toUpperCase():e.toLowerCase(),formAction:Ee(c),formEncType:a&&a.formEncType||"application/x-www-form-urlencoded",formData:a.formData},ke(r.formMethod))return{path:c,submission:r}}let o=u(c),s=de(a.formData);return n&&o.search&&je(o.search)&&s.append("index",""),o.search="?"+s,{path:m(o),submission:r}}function ne(e,t){let a=e;if(t){let n=e.findIndex((e=>e.route.id===t));n>=0&&(a=e.slice(0,n))}return a}function re(e,t,a,r,c,o,s,i,l,d,m,u,p){let h=p?Object.values(p)[0]:u?Object.values(u)[0]:void 0,f=e.createURL(t.location),g=e.createURL(c),E=o||f.toString()===g.toString()||f.search!==g.search,w=p?Object.keys(p)[0]:void 0,R=ne(a,w).filter(((e,a)=>{if(e.route.lazy)return!0;if(null==e.route.loader)return!1;if(function(e,t,a){let n=!t||a.route.id!==t.route.id,r=void 0===e[a.route.id];return n||r}(t.loaderData,t.matches[a],e)||s.some((t=>t===e.route.id)))return!0;let c=t.matches[a],o=e;return oe(e,n({currentUrl:f,currentParams:c.params,nextUrl:g,nextParams:o.params},r,{actionResult:h,defaultShouldRevalidate:E||ce(c,o)}))})),C=[];return l.forEach(((e,c)=>{if(!a.some((t=>t.route.id===e.routeId)))return;let o=v(d,e.path,m);if(!o)return void C.push(n({key:c},e,{matches:null,match:null}));let s=Me(o,e.path);(i.includes(c)||oe(s,n({currentUrl:f,currentParams:t.matches[t.matches.length-1].params,nextUrl:g,nextParams:a[a.length-1].params},r,{actionResult:h,defaultShouldRevalidate:E})))&&C.push(n({key:c,matches:o,match:s},e))})),[R,C]}function ce(e,t){let a=e.route.path;return e.pathname!==t.pathname||null!=a&&a.endsWith("*")&&e.params["*"]!==t.params["*"]}function oe(e,t){if(e.route.shouldRevalidate){let a=e.route.shouldRevalidate(t);if("boolean"==typeof a)return a}return t.defaultShouldRevalidate}async function se(e,t,a){if(!e.lazy)return;let r=await e.lazy();if(!e.lazy)return;let c=a[e.id];s(c,"No route found in manifest");let o={};for(let e in r){let t=void 0!==c[e]&&"hasErrorBoundary"!==e;i(!t,'Route "'+c.id+'" has a static property "'+e+'" defined but its lazy function is also returning a value for this property. The lazy route property "'+e+'" will be ignored.'),t||f.has(e)||(o[e]=r[e])}Object.assign(c,o),Object.assign(c,{hasErrorBoundary:t(n({},c)),lazy:void 0})}async function ie(e,t,a,n,r,c,o,i,l,d){let u,p,f;void 0===o&&(o="/"),void 0===i&&(i=!1),void 0===l&&(l=!1);let g=e=>{let n,r=new Promise(((e,t)=>n=t));return f=()=>n(),t.signal.addEventListener("abort",f),Promise.race([e({request:t,params:a.params,context:d}),r])};try{let n=a.route[e];if(a.route.lazy)if(n){p=(await Promise.all([g(n),se(a.route,c,r)]))[0]}else{if(await se(a.route,c,r),n=a.route[e],!n){if("action"===e)throw ge(405,{method:t.method,pathname:new URL(t.url).pathname,routeId:a.route.id});return{type:h.data,data:void 0}}p=await g(n)}else s(n,"Could not find the "+e+' to run on the "'+a.route.id+'" route'),p=await g(n);s(void 0!==p,"You defined "+("action"===e?"an action":"a loader")+' for route "'+a.route.id+"\" but didn't return anything from your `"+e+"` function. Please return a value or `null`.")}catch(e){u=h.error,p=e}finally{f&&t.signal.removeEventListener("abort",f)}if(ye(p)){let e,r=p.status;if(J.has(r)){let e=p.headers.get("Location");if(s(e,"Redirects returned/thrown from loaders/actions must have a Location header"),Y.test(e)){if(!i){let a=new URL(t.url),n=e.startsWith("//")?new URL(a.protocol+e):new URL(e),r=null!=N(n.pathname,o);n.origin===a.origin&&r&&(e=n.pathname+n.search+n.hash)}}else{let r=V(e,L(n.slice(0,n.indexOf(a)+1)).map((e=>e.pathnameBase)),new URL(t.url).pathname);if(s(m(r),"Unable to resolve redirect location: "+e),o){let e=r.pathname;r.pathname="/"===e?o:O([o,e])}e=m(r)}if(i)throw p.headers.set("Location",e),p;return{type:h.redirect,status:r,location:e,revalidate:null!==p.headers.get("X-Remix-Revalidate")}}if(l)throw{type:u||h.data,response:p};let c=p.headers.get("Content-Type");return e=c&&/\bapplication\/json\b/.test(c)?await p.json():await p.text(),u===h.error?{type:u,error:new F(r,p.statusText,e),headers:p.headers}:{type:h.data,data:e,statusCode:p.status,headers:p.headers}}return u===h.error?{type:u,error:p}:function(e){let t=e;return t&&"object"==typeof t&&"object"==typeof t.data&&"function"==typeof t.subscribe&&"function"==typeof t.cancel&&"function"==typeof t.resolveData}(p)?{type:h.deferred,deferredData:p,statusCode:null==(v=p.init)?void 0:v.status,headers:(null==(E=p.init)?void 0:E.headers)&&new Headers(p.init.headers)}:{type:h.data,data:p};var v,E}function le(e,t,a,n){let r=e.createURL(Ee(t)).toString(),c={signal:a};if(n&&ke(n.formMethod)){let{formMethod:e,formEncType:t,formData:a}=n;c.method=e.toUpperCase(),c.body="application/x-www-form-urlencoded"===t?de(a):a}return new Request(r,c)}function de(e){let t=new URLSearchParams;for(let[a,n]of e.entries())t.append(a,n instanceof File?n.name:n);return t}function me(e,t,a,n,r){let c,o={},i=null,l=!1,d={};return a.forEach(((a,m)=>{let u=t[m].route.id;if(s(!Ce(a),"Cannot handle redirect results in processLoaderData"),Re(a)){let t=he(e,u),r=a.error;n&&(r=Object.values(n)[0],n=void 0),i=i||{},null==i[t.route.id]&&(i[t.route.id]=r),o[u]=void 0,l||(l=!0,c=I(a.error)?a.error.status:500),a.headers&&(d[u]=a.headers)}else we(a)?(r.set(u,a.deferredData),o[u]=a.deferredData.data):o[u]=a.data,null==a.statusCode||200===a.statusCode||l||(c=a.statusCode),a.headers&&(d[u]=a.headers)})),n&&(i=n,o[Object.keys(n)[0]]=void 0),{loaderData:o,errors:i,statusCode:c||200,loaderHeaders:d}}function ue(e,t,a,r,c,o,i,l){let{loaderData:d,errors:m}=me(t,a,r,c,l);for(let t=0;te.route.id===t))+1):[...e]).reverse().find((e=>!0===e.route.hasErrorBoundary))||e[0]}function fe(e){let t=e.find((e=>e.index||!e.path||"/"===e.path))||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:t}],route:t}}function ge(e,t){let{pathname:a,routeId:n,method:r,type:c}=void 0===t?{}:t,o="Unknown Server Error",s="Unknown @remix-run/router error";return 400===e?(o="Bad Request",r&&a&&n?s="You made a "+r+' request to "'+a+'" but did not provide a `loader` for route "'+n+'", so there is no way to handle the request.':"defer-action"===c&&(s="defer() is not supported in actions")):403===e?(o="Forbidden",s='Route "'+n+'" does not match URL "'+a+'"'):404===e?(o="Not Found",s='No route matches URL "'+a+'"'):405===e&&(o="Method Not Allowed",r&&a&&n?s="You made a "+r.toUpperCase()+' request to "'+a+'" but did not provide an `action` for route "'+n+'", so there is no way to handle the request.':r&&(s='Invalid request method "'+r.toUpperCase()+'"')),new F(e||500,o,new Error(s),!0)}function ve(e){for(let t=e.length-1;t>=0;t--){let a=e[t];if(Ce(a))return a}}function Ee(e){return m(n({},"string"==typeof e?u(e):e,{hash:""}))}function we(e){return e.type===h.deferred}function Re(e){return e.type===h.error}function Ce(e){return(e&&e.type)===h.redirect}function ye(e){return null!=e&&"number"==typeof e.status&&"string"==typeof e.statusText&&"object"==typeof e.headers&&void 0!==e.body}function be(e){return q.has(e.toLowerCase())}function ke(e){return B.has(e.toLowerCase())}async function xe(e,t,a,n,r,c){for(let o=0;oe.route.id===i.route.id)),d=null!=l&&!ce(l,i)&&void 0!==(c&&c[i.route.id]);we(s)&&(r||d)&&await _e(s,n,r).then((e=>{e&&(a[o]=e||a[o])}))}}async function _e(e,t,a){if(void 0===a&&(a=!1),!await e.deferredData.resolveData(t)){if(a)try{return{type:h.data,data:e.deferredData.unwrappedData}}catch(e){return{type:h.error,error:e}}return{type:h.data,data:e.deferredData.data}}}function je(e){return new URLSearchParams(e).getAll("index").some((e=>""===e))}function Ae(e,t){let{route:a,pathname:n,params:r}=e;return{id:a.id,pathname:n,params:r,data:t[a.id],handle:a.handle}}function Me(e,t){let a="string"==typeof t?u(t).search:t.search;if(e[e.length-1].route.index&&je(a||""))return e[e.length-1];let n=L(e);return n[n.length-1]}},1113:(e,t,a)=>{"use strict";a.d(t,{A:()=>r});var n=a(6087);const r=(0,n.forwardRef)((function({icon:e,size:t=24,...a},r){return(0,n.cloneElement)(e,{width:t,height:t,...a,ref:r})}))},7474:(e,t,a)=>{"use strict";a.d(t,{A:()=>c});var n=a(5573),r=a(790);const c=(0,r.jsx)(n.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,r.jsx)(n.Path,{d:"M20 11.2H6.8l3.7-3.7-1-1L3.9 12l5.6 5.5 1-1-3.7-3.7H20z"})})},4969:(e,t,a)=>{"use strict";a.d(t,{A:()=>c});var n=a(5573),r=a(790);const c=(0,r.jsx)(n.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)(n.Path,{d:"M17.5 11.6L12 16l-5.5-4.4.9-1.2L12 14l4.5-3.6 1 1.2z"})})},9115:(e,t,a)=>{"use strict";a.d(t,{A:()=>c});var n=a(5573),r=a(790);const c=(0,r.jsx)(n.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,r.jsx)(n.Path,{d:"M10.6 6L9.4 7l4.6 5-4.6 5 1.2 1 5.4-6z"})})},1249:(e,t,a)=>{"use strict";a.d(t,{A:()=>c});var n=a(5573),r=a(790);const c=(0,r.jsx)(n.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,r.jsx)(n.Path,{d:"M12 13.06l3.712 3.713 1.061-1.06L13.061 12l3.712-3.712-1.06-1.06L12 10.938 8.288 7.227l-1.061 1.06L10.939 12l-3.712 3.712 1.06 1.061L12 13.061z"})})},3512:(e,t,a)=>{"use strict";a.d(t,{A:()=>c});var n=a(5573),r=a(790);const c=(0,r.jsx)(n.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,r.jsx)(n.Path,{d:"M19.5 4.5h-7V6h4.44l-5.97 5.97 1.06 1.06L18 7.06v4.44h1.5v-7Zm-13 1a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-3H17v3a.5.5 0 0 1-.5.5h-10a.5.5 0 0 1-.5-.5v-10a.5.5 0 0 1 .5-.5h3V5.5h-3Z"})})},4259:(e,t,a)=>{"use strict";a.d(t,{A:()=>c});var n=a(5573),r=a(790);const c=(0,r.jsx)(n.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,r.jsx)(n.Path,{fillRule:"evenodd",d:"M6 5.5h12a.5.5 0 01.5.5v7H14a2 2 0 11-4 0H5.5V6a.5.5 0 01.5-.5zm-.5 9V18a.5.5 0 00.5.5h12a.5.5 0 00.5-.5v-3.5h-3.337a3.5 3.5 0 01-6.326 0H5.5zM4 13V6a2 2 0 012-2h12a2 2 0 012 2v12a2 2 0 01-2 2H6a2 2 0 01-2-2v-5z",clipRule:"evenodd"})})},8231:(e,t,a)=>{"use strict";a.d(t,{A:()=>c});var n=a(5573),r=a(790);const c=(0,r.jsx)(n.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,r.jsx)(n.Path,{d:"M11 13h2v-2h-2v2zm-6 0h2v-2H5v2zm12-2v2h2v-2h-2z"})})},6673:(e,t,a)=>{"use strict";a.d(t,{A:()=>c});var n=a(5573),r=a(790);const c=(0,r.jsx)(n.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,r.jsx)(n.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M12 5.5A2.25 2.25 0 0 0 9.878 7h4.244A2.251 2.251 0 0 0 12 5.5ZM12 4a3.751 3.751 0 0 0-3.675 3H5v1.5h1.27l.818 8.997a2.75 2.75 0 0 0 2.739 2.501h4.347a2.75 2.75 0 0 0 2.738-2.5L17.73 8.5H19V7h-3.325A3.751 3.751 0 0 0 12 4Zm4.224 4.5H7.776l.806 8.861a1.25 1.25 0 0 0 1.245 1.137h4.347a1.25 1.25 0 0 0 1.245-1.137l.805-8.861Z"})})},9710:(e,t,a)=>{"use strict";a.d(t,{A:()=>r});var n=a(2183);function r(e,t){e.classList?e.classList.add(t):(0,n.A)(e,t)||("string"==typeof e.className?e.className=e.className+" "+t:e.setAttribute("class",(e.className&&e.className.baseVal||"")+" "+t))}},2183:(e,t,a)=>{"use strict";function n(e,t){return e.classList?!!t&&e.classList.contains(t):-1!==(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")}a.d(t,{A:()=>n})},9383:(e,t,a)=>{"use strict";function n(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}function r(e,t){e.classList?e.classList.remove(t):"string"==typeof e.className?e.className=n(e.className,t):e.setAttribute("class",n(e.className&&e.className.baseVal||"",t))}a.d(t,{A:()=>r})},3689:()=>{},2300:(e,t,a)=>{"use strict";a.d(t,{A:()=>n});const n={"star-icon":"cuoSlhSNrqf1dozY22Xb",jetpack:"lAIiifeLMmZAPlQ9n9ZR","checkmark-icon":"JLquNpQVlysAamuh5lJO",socialIcon:"cbOwD8Y4tFjwimmtchQI",bluesky:"aLWBKY0yRghEk7tNCgK3",facebook:"aHOlEBGD5EA8NKRw3xTw",instagram:"cL3m0xBYTYhIKI7lCqDB",twitter:"af4Y_zItXvLAOEoSDPSv",linkedin:"f68aqF3XSD1OBvXR1get",tumblr:"xFI0dt3UiXRlRQdqPWkx",google:"q7JEoyymveP6kF747M43",mastodon:"DKOBOTVmTLbh26gUH_73",nextdoor:"n5XodNsuMfMAAvqHFmbw",whatsapp:"fftumuc_lJ6v0tq4UMVR",threads:"inzgC27qxdt7hSdhTWRI"}},4206:()=>{},8403:(e,t,a)=>{"use strict";a.d(t,{A:()=>n});const n={sm:"(max-width: 599px)",md:"(min-width: 600px) and (max-width: 959px)",lg:"(min-width: 960px)"}},4997:e=>{var t=1e3,a=60*t,n=60*a,r=24*n,c=7*r,o=365.25*r;function s(e,t,a,n){var r=t>=1.5*a;return Math.round(e/a)+" "+n+(r?"s":"")}e.exports=function(e,i){i=i||{};var l=typeof e;if("string"===l&&e.length>0)return function(e){if((e=String(e)).length>100)return;var s=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!s)return;var i=parseFloat(s[1]);switch((s[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return i*o;case"weeks":case"week":case"w":return i*c;case"days":case"day":case"d":return i*r;case"hours":case"hour":case"hrs":case"hr":case"h":return i*n;case"minutes":case"minute":case"mins":case"min":case"m":return i*a;case"seconds":case"second":case"secs":case"sec":case"s":return i*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return i;default:return}}(e);if("number"===l&&isFinite(e))return i.long?function(e){var c=Math.abs(e);if(c>=r)return s(e,c,r,"day");if(c>=n)return s(e,c,n,"hour");if(c>=a)return s(e,c,a,"minute");if(c>=t)return s(e,c,t,"second");return e+" ms"}(e):function(e){var c=Math.abs(e);if(c>=r)return Math.round(e/r)+"d";if(c>=n)return Math.round(e/n)+"h";if(c>=a)return Math.round(e/a)+"m";if(c>=t)return Math.round(e/t)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},5762:(e,t,a)=>{"use strict";var n=a(3761);function r(){}function c(){}c.resetWarningCache=r,e.exports=function(){function e(e,t,a,r,c,o){if(o!==n){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var a={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:c,resetWarningCache:r};return a.PropTypes=a,a}},8120:(e,t,a)=>{e.exports=a(5762)()},3761:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},28:(e,t,a)=>{"use strict";a.d(t,{Ge:()=>i,ok:()=>p});var n=a(1609),r=a(9539),c=a(6992);function o(){return o=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let n=e[a];return t.concat(Array.isArray(n)?n.map((e=>[a,e])):[[a,n]])}),[]))}function i(e,t){return(0,c.aE)({basename:null==t?void 0:t.basename,future:null==t?void 0:t.future,history:(0,c.TM)({window:null==t?void 0:t.window}),hydrationData:(null==t?void 0:t.hydrationData)||l(),routes:e,detectErrorBoundary:r.lO}).initialize()}function l(){var e;let t=null==(e=window)?void 0:e.__staticRouterHydrationData;return t&&t.errors&&(t=o({},t,{errors:d(t.errors)})),t}function d(e){if(!e)return null;let t=Object.entries(e),a={};for(let[e,n]of t)if(n&&"RouteErrorResponse"===n.__type)a[e]=new c._p(n.status,n.statusText,n.data,!0===n.internal);else if(n&&"Error"===n.__type){let t=new Error(n.message);t.stack="",a[e]=t}else a[e]=n;return a}"undefined"!=typeof window&&void 0!==window.document&&window.document.createElement;var m,u;function p(e){let t=n.useRef(s(e)),a=n.useRef(!1),c=(0,r.zy)(),o=n.useMemo((()=>function(e,t){let a=s(e);if(t)for(let e of t.keys())a.has(e)||t.getAll(e).forEach((t=>{a.append(e,t)}));return a}(c.search,a.current?null:t.current)),[c.search]),i=(0,r.Zp)(),l=n.useCallback(((e,t)=>{const n=s("function"==typeof e?e(o):e);a.current=!0,i("?"+n,t)}),[i,o]);return[o,l]}(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmitImpl="useSubmitImpl",e.UseFetcher="useFetcher"})(m||(m={})),function(e){e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"}(u||(u={}))},9539:(e,t,a)=>{"use strict";a.d(t,{C5:()=>z,Zp:()=>y,lO:()=>T,pg:()=>N,zy:()=>C});var n=a(6992),r=a(1609);const c="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},{useState:o,useEffect:s,useLayoutEffect:i,useDebugValue:l}=r;function d(e){const t=e.getSnapshot,a=e.value;try{const e=t();return!c(a,e)}catch(e){return!0}}const m=!!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement)?function(e,t,a){return t()}:function(e,t,a){const n=t(),[{inst:r},c]=o({inst:{value:n,getSnapshot:t}});return i((()=>{r.value=n,r.getSnapshot=t,d(r)&&c({inst:r})}),[e,n,t]),s((()=>{d(r)&&c({inst:r});return e((()=>{d(r)&&c({inst:r})}))}),[e]),l(n),n},u="useSyncExternalStore"in r?r.useSyncExternalStore:m;const p=r.createContext(null);const h=r.createContext(null);const f=r.createContext(null);const g=r.createContext(null);const v=r.createContext({outlet:null,matches:[]});const E=r.createContext(null);function w(){return w=Object.assign?Object.assign.bind():function(e){for(var t=1;te.pathnameBase))),s=r.useRef(!1);return r.useEffect((()=>{s.current=!0})),r.useCallback((function(a,r){if(void 0===r&&(r={}),!s.current)return;if("number"==typeof a)return void t.go(a);let i=(0,n.Gh)(a,JSON.parse(o),c,"path"===r.relative);"/"!==e&&(i.pathname="/"===i.pathname?e:(0,n.HS)([e,i.pathname])),(r.replace?t.replace:t.push)(i,r.state,r)}),[e,t,o,c])}function b(){let e=function(){var e;let t=r.useContext(E),a=M(A.UseRouteError),n=S(A.UseRouteError);if(t)return t;return null==(e=a.errors)?void 0:e[n]}(),t=(0,n.pX)(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),a=e instanceof Error?e.stack:null,c="rgba(200,200,200, 0.5)",o={padding:"0.5rem",backgroundColor:c};return r.createElement(r.Fragment,null,r.createElement("h2",null,"Unexpected Application Error!"),r.createElement("h3",{style:{fontStyle:"italic"}},t),a?r.createElement("pre",{style:o},a):null,null)}class k extends r.Component{constructor(e){super(e),this.state={location:e.location,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location?{error:e.error,location:e.location}:{error:e.error||t.error,location:t.location}}componentDidCatch(e,t){console.error("React Router caught the following error during render",e,t)}render(){return this.state.error?r.createElement(v.Provider,{value:this.props.routeContext},r.createElement(E.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function x(e){let{routeContext:t,match:a,children:n}=e,c=r.useContext(p);return c&&c.static&&c.staticContext&&(a.route.errorElement||a.route.ErrorBoundary)&&(c.staticContext._deepestRenderedBoundaryId=a.route.id),r.createElement(v.Provider,{value:t},n)}function _(e,t,a){if(void 0===t&&(t=[]),null==e){if(null==a||!a.errors)return null;e=a.matches}let c=e,o=null==a?void 0:a.errors;if(null!=o){let e=c.findIndex((e=>e.route.id&&(null==o?void 0:o[e.route.id])));e>=0||(0,n.Oi)(!1),c=c.slice(0,Math.min(c.length,e+1))}return c.reduceRight(((e,n,s)=>{let i=n.route.id?null==o?void 0:o[n.route.id]:null,l=null;a&&(l=n.route.ErrorBoundary?r.createElement(n.route.ErrorBoundary,null):n.route.errorElement?n.route.errorElement:r.createElement(b,null));let d=t.concat(c.slice(0,s+1)),m=()=>{let t=e;return i?t=l:n.route.Component?t=r.createElement(n.route.Component,null):n.route.element&&(t=n.route.element),r.createElement(x,{match:n,routeContext:{outlet:e,matches:d},children:t})};return a&&(n.route.ErrorBoundary||n.route.errorElement||0===s)?r.createElement(k,{location:a.location,component:l,error:i,children:m(),routeContext:{outlet:null,matches:d}}):m()}),null)}var j,A;function M(e){let t=r.useContext(h);return t||(0,n.Oi)(!1),t}function S(e){let t=function(){let e=r.useContext(v);return e||(0,n.Oi)(!1),e}(),a=t.matches[t.matches.length-1];return a.route.id||(0,n.Oi)(!1),a.route.id}!function(e){e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator"}(j||(j={})),function(e){e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator"}(A||(A={}));function N(e){let{fallbackElement:t,router:a}=e,n=r.useCallback((()=>a.state),[a]),c=u(a.subscribe,n,n),o=r.useMemo((()=>({createHref:a.createHref,encodeLocation:a.encodeLocation,go:e=>a.navigate(e),push:(e,t,n)=>a.navigate(e,{state:t,preventScrollReset:null==n?void 0:n.preventScrollReset}),replace:(e,t,n)=>a.navigate(e,{replace:!0,state:t,preventScrollReset:null==n?void 0:n.preventScrollReset})})),[a]),s=a.basename||"/",i=r.useMemo((()=>({router:a,navigator:o,static:!1,basename:s})),[a,o,s]);return r.createElement(r.Fragment,null,r.createElement(p.Provider,{value:i},r.createElement(h.Provider,{value:c},r.createElement(V,{basename:a.basename,location:a.state.location,navigationType:a.state.historyAction,navigator:o},a.state.initialized?r.createElement(O,null):t))),null)}function z(e){let{to:t,replace:a,state:c,relative:o}=e;R()||(0,n.Oi)(!1);let s=r.useContext(h),i=y();return r.useEffect((()=>{s&&"idle"!==s.navigation.state||i(t,{replace:a,state:c,relative:o})})),null}function L(e){(0,n.Oi)(!1)}function V(e){let{basename:t="/",children:a=null,location:c,navigationType:o=n.rc.Pop,navigator:s,static:i=!1}=e;R()&&(0,n.Oi)(!1);let l=t.replace(/^\/*/,"/"),d=r.useMemo((()=>({basename:l,navigator:s,static:i})),[l,s,i]);"string"==typeof c&&(c=(0,n.Rr)(c));let{pathname:m="/",search:u="",hash:p="",state:h=null,key:v="default"}=c,E=r.useMemo((()=>{let e=(0,n.pb)(m,l);return null==e?null:{location:{pathname:e,search:u,hash:p,state:h,key:v},navigationType:o}}),[l,m,u,p,h,v,o]);return null==E?null:r.createElement(f.Provider,{value:d},r.createElement(g.Provider,{children:a,value:E}))}function O(e){let{children:t,location:a}=e,c=r.useContext(p);return function(e,t){R()||(0,n.Oi)(!1);let{navigator:a}=r.useContext(f),c=r.useContext(h),{matches:o}=r.useContext(v),s=o[o.length-1],i=s?s.params:{},l=(s&&s.pathname,s?s.pathnameBase:"/");s&&s.route;let d,m=C();if(t){var u;let e="string"==typeof t?(0,n.Rr)(t):t;"/"===l||(null==(u=e.pathname)?void 0:u.startsWith(l))||(0,n.Oi)(!1),d=e}else d=m;let p=d.pathname||"/",E="/"===l?p:p.slice(l.length)||"/",y=(0,n.ue)(e,{pathname:E}),b=_(y&&y.map((e=>Object.assign({},e,{params:Object.assign({},i,e.params),pathname:(0,n.HS)([l,a.encodeLocation?a.encodeLocation(e.pathname).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?l:(0,n.HS)([l,a.encodeLocation?a.encodeLocation(e.pathnameBase).pathname:e.pathnameBase])}))),o,c||void 0);return t&&b?r.createElement(g.Provider,{value:{location:w({pathname:"/",search:"",hash:"",state:null,key:"default"},d),navigationType:n.rc.Pop}},b):b}(c&&!t?c.router.routes:P(t),a)}var H;!function(e){e[e.pending=0]="pending",e[e.success=1]="success",e[e.error=2]="error"}(H||(H={}));new Promise((()=>{}));r.Component;function P(e,t){void 0===t&&(t=[]);let a=[];return r.Children.forEach(e,((e,c)=>{if(!r.isValidElement(e))return;let o=[...t,c];if(e.type===r.Fragment)return void a.push.apply(a,P(e.props.children,o));e.type!==L&&(0,n.Oi)(!1),e.props.index&&e.props.children&&(0,n.Oi)(!1);let s={id:e.props.id||o.join("-"),caseSensitive:e.props.caseSensitive,element:e.props.element,Component:e.props.Component,index:e.props.index,path:e.props.path,loader:e.props.loader,action:e.props.action,errorElement:e.props.errorElement,ErrorBoundary:e.props.ErrorBoundary,hasErrorBoundary:null!=e.props.ErrorBoundary||null!=e.props.errorElement,shouldRevalidate:e.props.shouldRevalidate,handle:e.props.handle,lazy:e.props.lazy};e.props.children&&(s.children=P(e.props.children,o)),a.push(s)})),a}function T(e){return Boolean(e.ErrorBoundary)||Boolean(e.errorElement)}},9026:(e,t,a)=>{"use strict";a.d(t,{A:()=>h});var n=a(7790),r=a(4001),c=a(1105),o=a(9710),s=a(9383),i=a(1609),l=a.n(i),d=a(4143),m=a(7479),u=function(e,t){return e&&t&&t.split(" ").forEach((function(t){return(0,s.A)(e,t)}))},p=function(e){function t(){for(var t,a=arguments.length,n=new Array(a),r=0;r{"use strict";a.d(t,{Ay:()=>w});var n=a(4001),r=a(1105),c=a(1609),o=a.n(c),s=a(5795),i=a.n(s),l=a(8822),d=a(3021),m=a(7479),u="unmounted",p="exited",h="entering",f="entered",g="exiting",v=function(e){function t(t,a){var n;n=e.call(this,t,a)||this;var r,c=a&&!a.isMounting?t.enter:t.appear;return n.appearStatus=null,t.in?c?(r=p,n.appearStatus=h):r=f:r=t.unmountOnExit||t.mountOnEnter?u:p,n.state={status:r},n.nextCallback=null,n}(0,r.A)(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===u?{status:p}:null};var a=t.prototype;return a.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},a.componentDidUpdate=function(e){var t=null;if(e!==this.props){var a=this.state.status;this.props.in?a!==h&&a!==f&&(t=h):a!==h&&a!==f||(t=g)}this.updateStatus(!1,t)},a.componentWillUnmount=function(){this.cancelNextCallback()},a.getTimeouts=function(){var e,t,a,n=this.props.timeout;return e=t=a=n,null!=n&&"number"!=typeof n&&(e=n.exit,t=n.enter,a=void 0!==n.appear?n.appear:t),{exit:e,enter:t,appear:a}},a.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===h){if(this.props.unmountOnExit||this.props.mountOnEnter){var a=this.props.nodeRef?this.props.nodeRef.current:i().findDOMNode(this);a&&(0,m.F)(a)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===p&&this.setState({status:u})},a.performEnter=function(e){var t=this,a=this.props.enter,n=this.context?this.context.isMounting:e,r=this.props.nodeRef?[n]:[i().findDOMNode(this),n],c=r[0],o=r[1],s=this.getTimeouts(),d=n?s.appear:s.enter;!e&&!a||l.A.disabled?this.safeSetState({status:f},(function(){t.props.onEntered(c)})):(this.props.onEnter(c,o),this.safeSetState({status:h},(function(){t.props.onEntering(c,o),t.onTransitionEnd(d,(function(){t.safeSetState({status:f},(function(){t.props.onEntered(c,o)}))}))})))},a.performExit=function(){var e=this,t=this.props.exit,a=this.getTimeouts(),n=this.props.nodeRef?void 0:i().findDOMNode(this);t&&!l.A.disabled?(this.props.onExit(n),this.safeSetState({status:g},(function(){e.props.onExiting(n),e.onTransitionEnd(a.exit,(function(){e.safeSetState({status:p},(function(){e.props.onExited(n)}))}))}))):this.safeSetState({status:p},(function(){e.props.onExited(n)}))},a.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},a.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},a.setNextCallback=function(e){var t=this,a=!0;return this.nextCallback=function(n){a&&(a=!1,t.nextCallback=null,e(n))},this.nextCallback.cancel=function(){a=!1},this.nextCallback},a.onTransitionEnd=function(e,t){this.setNextCallback(t);var a=this.props.nodeRef?this.props.nodeRef.current:i().findDOMNode(this),n=null==e&&!this.props.addEndListener;if(a&&!n){if(this.props.addEndListener){var r=this.props.nodeRef?[this.nextCallback]:[a,this.nextCallback],c=r[0],o=r[1];this.props.addEndListener(c,o)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},a.render=function(){var e=this.state.status;if(e===u)return null;var t=this.props,a=t.children,r=(t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef,(0,n.A)(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return o().createElement(d.A.Provider,{value:null},"function"==typeof a?a(e,r):o().cloneElement(o().Children.only(a),r))},t}(o().Component);function E(){}v.contextType=d.A,v.propTypes={},v.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:E,onEntering:E,onEntered:E,onExit:E,onExiting:E,onExited:E},v.UNMOUNTED=u,v.EXITED=p,v.ENTERING=h,v.ENTERED=f,v.EXITING=g;const w=v},9672:(e,t,a)=>{"use strict";a.d(t,{A:()=>p});var n=a(4001),r=a(7790),c=a(5895),o=a(1105),s=a(1609),i=a.n(s),l=a(3021),d=a(5678),m=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},u=function(e){function t(t,a){var n,r=(n=e.call(this,t,a)||this).handleExited.bind((0,c.A)(n));return n.state={contextValue:{isMounting:!0},handleExited:r,firstRender:!0},n}(0,o.A)(t,e);var a=t.prototype;return a.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},a.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var a=t.children,n=t.handleExited;return{children:t.firstRender?(0,d.dw)(e,n):(0,d.qX)(e,a,n),firstRender:!1}},a.handleExited=function(e,t){var a=(0,d.p7)(this.props.children);e.key in a||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var a=(0,r.A)({},t.children);return delete a[e.key],{children:a}})))},a.render=function(){var e=this.props,t=e.component,a=e.childFactory,r=(0,n.A)(e,["component","childFactory"]),c=this.state.contextValue,o=m(this.state.children).map(a);return delete r.appear,delete r.enter,delete r.exit,null===t?i().createElement(l.A.Provider,{value:c},o):i().createElement(l.A.Provider,{value:c},i().createElement(t,r,o))},t}(i().Component);u.propTypes={},u.defaultProps={component:"div",childFactory:function(e){return e}};const p=u},3021:(e,t,a)=>{"use strict";a.d(t,{A:()=>r});var n=a(1609);const r=a.n(n)().createContext(null)},8822:(e,t,a)=>{"use strict";a.d(t,{A:()=>n});const n={disabled:!1}},5678:(e,t,a)=>{"use strict";a.d(t,{dw:()=>o,p7:()=>r,qX:()=>s});var n=a(1609);function r(e,t){var a=Object.create(null);return e&&n.Children.map(e,(function(e){return e})).forEach((function(e){a[e.key]=function(e){return t&&(0,n.isValidElement)(e)?t(e):e}(e)})),a}function c(e,t,a){return null!=a[t]?a[t]:e.props[t]}function o(e,t){return r(e.children,(function(a){return(0,n.cloneElement)(a,{onExited:t.bind(null,a),in:!0,appear:c(a,"appear",e),enter:c(a,"enter",e),exit:c(a,"exit",e)})}))}function s(e,t,a){var o=r(e.children),s=function(e,t){function a(a){return a in t?t[a]:e[a]}e=e||{},t=t||{};var n,r=Object.create(null),c=[];for(var o in e)o in t?c.length&&(r[o]=c,c=[]):c.push(o);var s={};for(var i in t){if(r[i])for(n=0;n{"use strict";a.d(t,{F:()=>n});var n=function(e){return e.scrollTop}},372:(e,t,a)=>{"use strict";a.d(t,{A:()=>i});var n=a(67);const r=a.n(n)()("dops:analytics");let c,o;window._tkq=window._tkq||[],window.ga=window.ga||function(){(window.ga.q=window.ga.q||[]).push(arguments)},window.ga.l=+new Date;const s={initialize:function(e,t,a){s.setUser(e,t),s.setSuperProps(a),s.identifyUser()},setGoogleAnalyticsEnabled:function(e,t=null){this.googleAnalyticsEnabled=e,this.googleAnalyticsKey=t},setMcAnalyticsEnabled:function(e){this.mcAnalyticsEnabled=e},setUser:function(e,t){o={ID:e,username:t}},setSuperProps:function(e){c=e},assignSuperProps:function(e){c=Object.assign(c||{},e)},mc:{bumpStat:function(e,t){const a=function(e,t){let a="";if("object"==typeof e){for(const t in e)a+="&x_"+encodeURIComponent(t)+"="+encodeURIComponent(e[t]);r("Bumping stats %o",e)}else a="&x_"+encodeURIComponent(e)+"="+encodeURIComponent(t),r('Bumping stat "%s" in group "%s"',t,e);return a}(e,t);s.mcAnalyticsEnabled&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom-no-pv"+a+"&t="+Math.random())},bumpStatWithPageView:function(e,t){const a=function(e,t){let a="";if("object"==typeof e){for(const t in e)a+="&"+encodeURIComponent(t)+"="+encodeURIComponent(e[t]);r("Built stats %o",e)}else a="&"+encodeURIComponent(e)+"="+encodeURIComponent(t),r('Built stat "%s" in group "%s"',t,e);return a}(e,t);s.mcAnalyticsEnabled&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom"+a+"&t="+Math.random())}},pageView:{record:function(e,t){s.tracks.recordPageView(e),s.ga.recordPageView(e,t)}},purchase:{record:function(e,t,a,n,r,c,o){s.ga.recordPurchase(e,t,a,n,r,c,o)}},tracks:{recordEvent:function(e,t){t=t||{},0===e.indexOf("akismet_")||0===e.indexOf("jetpack_")?(c&&(r("- Super Props: %o",c),t=Object.assign(t,c)),r('Record event "%s" called with props %s',e,JSON.stringify(t)),window._tkq.push(["recordEvent",e,t])):r('- Event name must be prefixed by "akismet_" or "jetpack_"')},recordJetpackClick:function(e){const t="object"==typeof e?e:{target:e};s.tracks.recordEvent("jetpack_wpa_click",t)},recordPageView:function(e){s.tracks.recordEvent("akismet_page_view",{path:e})},setOptOut:function(e){r("Pushing setOptOut: %o",e),window._tkq.push(["setOptOut",e])}},ga:{initialized:!1,initialize:function(){let e={};s.ga.initialized||(o&&(e={userId:"u-"+o.ID}),window.ga("create",this.googleAnalyticsKey,"auto",e),s.ga.initialized=!0)},recordPageView:function(e,t){s.ga.initialize(),r("Recording Page View ~ [URL: "+e+"] [Title: "+t+"]"),this.googleAnalyticsEnabled&&(window.ga("set","page",e),window.ga("send",{hitType:"pageview",page:e,title:t}))},recordEvent:function(e,t,a,n){s.ga.initialize();let c="Recording Event ~ [Category: "+e+"] [Action: "+t+"]";void 0!==a&&(c+=" [Option Label: "+a+"]"),void 0!==n&&(c+=" [Option Value: "+n+"]"),r(c),this.googleAnalyticsEnabled&&window.ga("send","event",e,t,a,n)},recordPurchase:function(e,t,a,n,r,c,o){window.ga("require","ecommerce"),window.ga("ecommerce:addTransaction",{id:e,revenue:n,currency:o}),window.ga("ecommerce:addItem",{id:e,name:t,sku:a,price:r,quantity:c}),window.ga("ecommerce:send")}},identifyUser:function(){o&&window._tkq.push(["identifyUser",o.ID,o.username])},setProperties:function(e){window._tkq.push(["setProperties",e])},clearedIdentity:function(){window._tkq.push(["clearIdentity"])}},i=s},5932:(e,t,a)=>{"use strict";a.d(t,{Ay:()=>m});var n=a(6439),r=a(3832);function c(e){class t extends Error{constructor(...t){super(...t),this.name=e}}return t}const o=c("JsonParseError"),s=c("JsonParseAfterRedirectError"),i=c("Api404Error"),l=c("Api404AfterRedirectError"),d=c("FetchNetworkError");const m=new function(e,t){let a=e,c=e,o={"X-WP-Nonce":t},s={credentials:"same-origin",headers:o},i={method:"post",credentials:"same-origin",headers:Object.assign({},o,{"Content-type":"application/json"})},l=function(e){const t=e.split("?"),a=t.length>1?t[1]:"",n=a.length?a.split("&"):[];return n.push("_cacheBuster="+(new Date).getTime()),t[0]+"?"+n.join("&")};const d={setApiRoot(e){a=e},setWpcomOriginApiUrl(e){c=e},setApiNonce(e){o={"X-WP-Nonce":e},s={credentials:"same-origin",headers:o},i={method:"post",credentials:"same-origin",headers:Object.assign({},o,{"Content-type":"application/json"})}},setCacheBusterCallback:e=>{l=e},registerSite:(e,t,r)=>{const c={registration_nonce:e,no_iframe:!0};return(0,n.jetpackConfigHas)("consumer_slug")&&(c.plugin_slug=(0,n.jetpackConfigGet)("consumer_slug")),null!==t&&(c.redirect_uri=t),r&&(c.from=r),h(`${a}jetpack/v4/connection/register`,i,{body:JSON.stringify(c)}).then(u).then(p)},fetchAuthorizationUrl:e=>m((0,r.addQueryArgs)(`${a}jetpack/v4/connection/authorize_url`,{no_iframe:"1",redirect_uri:e}),s).then(u).then(p),fetchSiteConnectionData:()=>m(`${a}jetpack/v4/connection/data`,s).then(p),fetchSiteConnectionStatus:()=>m(`${a}jetpack/v4/connection`,s).then(p),fetchSiteConnectionTest:()=>m(`${a}jetpack/v4/connection/test`,s).then(u).then(p),fetchUserConnectionData:()=>m(`${a}jetpack/v4/connection/data`,s).then(p),fetchUserTrackingSettings:()=>m(`${a}jetpack/v4/tracking/settings`,s).then(u).then(p),updateUserTrackingSettings:e=>h(`${a}jetpack/v4/tracking/settings`,i,{body:JSON.stringify(e)}).then(u).then(p),disconnectSite:()=>h(`${a}jetpack/v4/connection`,i,{body:JSON.stringify({isActive:!1})}).then(u).then(p),fetchConnectUrl:()=>m(`${a}jetpack/v4/connection/url`,s).then(u).then(p),unlinkUser:()=>h(`${a}jetpack/v4/connection/user`,i,{body:JSON.stringify({linked:!1})}).then(u).then(p),reconnect:()=>h(`${a}jetpack/v4/connection/reconnect`,i).then(u).then(p),fetchConnectedPlugins:()=>m(`${a}jetpack/v4/connection/plugins`,s).then(u).then(p),setHasSeenWCConnectionModal:()=>h(`${a}jetpack/v4/seen-wc-connection-modal`,i).then(u).then(p),fetchModules:()=>m(`${a}jetpack/v4/module/all`,s).then(u).then(p),fetchModule:e=>m(`${a}jetpack/v4/module/${e}`,s).then(u).then(p),activateModule:e=>h(`${a}jetpack/v4/module/${e}/active`,i,{body:JSON.stringify({active:!0})}).then(u).then(p),deactivateModule:e=>h(`${a}jetpack/v4/module/${e}/active`,i,{body:JSON.stringify({active:!1})}),updateModuleOptions:(e,t)=>h(`${a}jetpack/v4/module/${e}`,i,{body:JSON.stringify(t)}).then(u).then(p),updateSettings:e=>h(`${a}jetpack/v4/settings`,i,{body:JSON.stringify(e)}).then(u).then(p),getProtectCount:()=>m(`${a}jetpack/v4/module/protect/data`,s).then(u).then(p),resetOptions:e=>h(`${a}jetpack/v4/options/${e}`,i,{body:JSON.stringify({reset:!0})}).then(u).then(p),activateVaultPress:()=>h(`${a}jetpack/v4/plugins`,i,{body:JSON.stringify({slug:"vaultpress",status:"active"})}).then(u).then(p),getVaultPressData:()=>m(`${a}jetpack/v4/module/vaultpress/data`,s).then(u).then(p),installPlugin:(e,t)=>{const n={slug:e,status:"active"};return t&&(n.source=t),h(`${a}jetpack/v4/plugins`,i,{body:JSON.stringify(n)}).then(u).then(p)},activateAkismet:()=>h(`${a}jetpack/v4/plugins`,i,{body:JSON.stringify({slug:"akismet",status:"active"})}).then(u).then(p),getAkismetData:()=>m(`${a}jetpack/v4/module/akismet/data`,s).then(u).then(p),checkAkismetKey:()=>m(`${a}jetpack/v4/module/akismet/key/check`,s).then(u).then(p),checkAkismetKeyTyped:e=>h(`${a}jetpack/v4/module/akismet/key/check`,i,{body:JSON.stringify({api_key:e})}).then(u).then(p),fetchStatsData:e=>m(function(e){let t=`${a}jetpack/v4/module/stats/data`;-1!==t.indexOf("?")?t+=`&range=${encodeURIComponent(e)}`:t+=`?range=${encodeURIComponent(e)}`;return t}(e),s).then(u).then(p).then(g),getPluginUpdates:()=>m(`${a}jetpack/v4/updates/plugins`,s).then(u).then(p),getPlans:()=>m(`${a}jetpack/v4/plans`,s).then(u).then(p),fetchSettings:()=>m(`${a}jetpack/v4/settings`,s).then(u).then(p),updateSetting:e=>h(`${a}jetpack/v4/settings`,i,{body:JSON.stringify(e)}).then(u).then(p),fetchSiteData:()=>m(`${a}jetpack/v4/site`,s).then(u).then(p).then((e=>JSON.parse(e.data))),fetchSiteFeatures:()=>m(`${a}jetpack/v4/site/features`,s).then(u).then(p).then((e=>JSON.parse(e.data))),fetchSiteProducts:()=>m(`${a}jetpack/v4/site/products`,s).then(u).then(p),fetchSitePurchases:()=>m(`${a}jetpack/v4/site/purchases`,s).then(u).then(p).then((e=>JSON.parse(e.data))),fetchSiteBenefits:()=>m(`${a}jetpack/v4/site/benefits`,s).then(u).then(p).then((e=>JSON.parse(e.data))),fetchSiteDiscount:()=>m(`${a}jetpack/v4/site/discount`,s).then(u).then(p).then((e=>e.data)),fetchSetupQuestionnaire:()=>m(`${a}jetpack/v4/setup/questionnaire`,s).then(u).then(p),fetchRecommendationsData:()=>m(`${a}jetpack/v4/recommendations/data`,s).then(u).then(p),fetchRecommendationsProductSuggestions:()=>m(`${a}jetpack/v4/recommendations/product-suggestions`,s).then(u).then(p),fetchRecommendationsUpsell:()=>m(`${a}jetpack/v4/recommendations/upsell`,s).then(u).then(p),fetchRecommendationsConditional:()=>m(`${a}jetpack/v4/recommendations/conditional`,s).then(u).then(p),saveRecommendationsData:e=>h(`${a}jetpack/v4/recommendations/data`,i,{body:JSON.stringify({data:e})}).then(u),fetchProducts:()=>m(`${a}jetpack/v4/products`,s).then(u).then(p),fetchRewindStatus:()=>m(`${a}jetpack/v4/rewind`,s).then(u).then(p).then((e=>JSON.parse(e.data))),fetchScanStatus:()=>m(`${a}jetpack/v4/scan`,s).then(u).then(p).then((e=>JSON.parse(e.data))),dismissJetpackNotice:e=>h(`${a}jetpack/v4/notice/${e}`,i,{body:JSON.stringify({dismissed:!0})}).then(u).then(p),fetchPluginsData:()=>m(`${a}jetpack/v4/plugins`,s).then(u).then(p),fetchIntroOffers:()=>m(`${a}jetpack/v4/intro-offers`,s).then(u).then(p),fetchVerifySiteGoogleStatus:e=>m(null!==e?`${a}jetpack/v4/verify-site/google/${e}`:`${a}jetpack/v4/verify-site/google`,s).then(u).then(p),verifySiteGoogle:e=>h(`${a}jetpack/v4/verify-site/google`,i,{body:JSON.stringify({keyring_id:e})}).then(u).then(p),submitSurvey:e=>h(`${a}jetpack/v4/marketing/survey`,i,{body:JSON.stringify(e)}).then(u).then(p),saveSetupQuestionnaire:e=>h(`${a}jetpack/v4/setup/questionnaire`,i,{body:JSON.stringify(e)}).then(u).then(p),updateLicensingError:e=>h(`${a}jetpack/v4/licensing/error`,i,{body:JSON.stringify(e)}).then(u).then(p),updateLicenseKey:e=>h(`${a}jetpack/v4/licensing/set-license`,i,{body:JSON.stringify({license:e})}).then(u).then(p),getUserLicensesCounts:()=>m(`${a}jetpack/v4/licensing/user/counts`,s).then(u).then(p),getUserLicenses:()=>m(`${a}jetpack/v4/licensing/user/licenses`,s).then(u).then(p),updateLicensingActivationNoticeDismiss:e=>h(`${a}jetpack/v4/licensing/user/activation-notice-dismiss`,i,{body:JSON.stringify({last_detached_count:e})}).then(u).then(p),updateRecommendationsStep:e=>h(`${a}jetpack/v4/recommendations/step`,i,{body:JSON.stringify({step:e})}).then(u),confirmIDCSafeMode:()=>h(`${a}jetpack/v4/identity-crisis/confirm-safe-mode`,i).then(u),startIDCFresh:e=>h(`${a}jetpack/v4/identity-crisis/start-fresh`,i,{body:JSON.stringify({redirect_uri:e})}).then(u).then(p),migrateIDC:()=>h(`${a}jetpack/v4/identity-crisis/migrate`,i).then(u),attachLicenses:e=>h(`${a}jetpack/v4/licensing/attach-licenses`,i,{body:JSON.stringify({licenses:e})}).then(u).then(p),fetchSearchPlanInfo:()=>m(`${c}jetpack/v4/search/plan`,s).then(u).then(p),fetchSearchSettings:()=>m(`${c}jetpack/v4/search/settings`,s).then(u).then(p),updateSearchSettings:e=>h(`${c}jetpack/v4/search/settings`,i,{body:JSON.stringify(e)}).then(u).then(p),fetchSearchStats:()=>m(`${c}jetpack/v4/search/stats`,s).then(u).then(p),fetchWafSettings:()=>m(`${a}jetpack/v4/waf`,s).then(u).then(p),updateWafSettings:e=>h(`${a}jetpack/v4/waf`,i,{body:JSON.stringify(e)}).then(u).then(p),fetchWordAdsSettings:()=>m(`${a}jetpack/v4/wordads/settings`,s).then(u).then(p),updateWordAdsSettings:e=>h(`${a}jetpack/v4/wordads/settings`,i,{body:JSON.stringify(e)}),fetchSearchPricing:()=>m(`${c}jetpack/v4/search/pricing`,s).then(u).then(p),fetchMigrationStatus:()=>m(`${a}jetpack/v4/migration/status`,s).then(u).then(p),fetchBackupUndoEvent:()=>m(`${a}jetpack/v4/site/backup/undo-event`,s).then(u).then(p),fetchBackupPreflightStatus:()=>m(`${a}jetpack/v4/site/backup/preflight`,s).then(u).then(p)};function m(e,t){return fetch(l(e),t)}function h(e,t,a){return fetch(e,Object.assign({},t,a)).catch(f)}function g(e){return e.general&&void 0===e.general.response||e.week&&void 0===e.week.response||e.month&&void 0===e.month.response?e:{}}Object.assign(this,d)};function u(e){return e.status>=200&&e.status<300?e:404===e.status?new Promise((()=>{throw e.redirected?new l(e.redirected):new i})):e.json().catch((e=>h(e))).then((t=>{const a=new Error(`${t.message} (Status ${e.status})`);throw a.response=t,a.name="ApiError",a}))}function p(e){return e.json().catch((t=>h(t,e.redirected,e.url)))}function h(e,t,a){throw t?new s(a):new o}function f(){throw new d}},8907:(e,t,a)=>{"use strict";a.d(t,{A:()=>l});var n=a(6072),r=a.n(n),c=a(7723),o=a(3022),s=a(1609),i=a.n(s);const __=c.__,l=({title:e=__("An Automattic Airline","jetpack-forms"),height:t=7,className:a,...n})=>i().createElement("svg",r()({role:"img",x:"0",y:"0",viewBox:"0 0 935 38.2",enableBackground:"new 0 0 935 38.2","aria-labelledby":"jp-automattic-byline-logo-title",height:t,className:(0,o.A)("jp-automattic-byline-logo",a)},n),i().createElement("desc",{id:"jp-automattic-byline-logo-title"},e),i().createElement("path",{d:"M317.1 38.2c-12.6 0-20.7-9.1-20.7-18.5v-1.2c0-9.6 8.2-18.5 20.7-18.5 12.6 0 20.8 8.9 20.8 18.5v1.2C337.9 29.1 329.7 38.2 317.1 38.2zM331.2 18.6c0-6.9-5-13-14.1-13s-14 6.1-14 13v0.9c0 6.9 5 13.1 14 13.1s14.1-6.2 14.1-13.1V18.6zM175 36.8l-4.7-8.8h-20.9l-4.5 8.8h-7L157 1.3h5.5L182 36.8H175zM159.7 8.2L152 23.1h15.7L159.7 8.2zM212.4 38.2c-12.7 0-18.7-6.9-18.7-16.2V1.3h6.6v20.9c0 6.6 4.3 10.5 12.5 10.5 8.4 0 11.9-3.9 11.9-10.5V1.3h6.7V22C231.4 30.8 225.8 38.2 212.4 38.2zM268.6 6.8v30h-6.7v-30h-15.5V1.3h37.7v5.5H268.6zM397.3 36.8V8.7l-1.8 3.1 -14.9 25h-3.3l-14.7-25 -1.8-3.1v28.1h-6.5V1.3h9.2l14 24.4 1.7 3 1.7-3 13.9-24.4h9.1v35.5H397.3zM454.4 36.8l-4.7-8.8h-20.9l-4.5 8.8h-7l19.2-35.5h5.5l19.5 35.5H454.4zM439.1 8.2l-7.7 14.9h15.7L439.1 8.2zM488.4 6.8v30h-6.7v-30h-15.5V1.3h37.7v5.5H488.4zM537.3 6.8v30h-6.7v-30h-15.5V1.3h37.7v5.5H537.3zM569.3 36.8V4.6c2.7 0 3.7-1.4 3.7-3.4h2.8v35.5L569.3 36.8 569.3 36.8zM628 11.3c-3.2-2.9-7.9-5.7-14.2-5.7 -9.5 0-14.8 6.5-14.8 13.3v0.7c0 6.7 5.4 13 15.3 13 5.9 0 10.8-2.8 13.9-5.7l4 4.2c-3.9 3.8-10.5 7.1-18.3 7.1 -13.4 0-21.6-8.7-21.6-18.3v-1.2c0-9.6 8.9-18.7 21.9-18.7 7.5 0 14.3 3.1 18 7.1L628 11.3zM321.5 12.4c1.2 0.8 1.5 2.4 0.8 3.6l-6.1 9.4c-0.8 1.2-2.4 1.6-3.6 0.8l0 0c-1.2-0.8-1.5-2.4-0.8-3.6l6.1-9.4C318.7 11.9 320.3 11.6 321.5 12.4L321.5 12.4z"}),i().createElement("path",{d:"M37.5 36.7l-4.7-8.9H11.7l-4.6 8.9H0L19.4 0.8H25l19.7 35.9H37.5zM22 7.8l-7.8 15.1h15.9L22 7.8zM82.8 36.7l-23.3-24 -2.3-2.5v26.6h-6.7v-36H57l22.6 24 2.3 2.6V0.8h6.7v35.9H82.8z"}),i().createElement("path",{d:"M719.9 37l-4.8-8.9H694l-4.6 8.9h-7.1l19.5-36h5.6l19.8 36H719.9zM704.4 8l-7.8 15.1h15.9L704.4 8zM733 37V1h6.8v36H733zM781 37c-1.8 0-2.6-2.5-2.9-5.8l-0.2-3.7c-0.2-3.6-1.7-5.1-8.4-5.1h-12.8V37H750V1h19.6c10.8 0 15.7 4.3 15.7 9.9 0 3.9-2 7.7-9 9 7 0.5 8.5 3.7 8.6 7.9l0.1 3c0.1 2.5 0.5 4.3 2.2 6.1V37H781zM778.5 11.8c0-2.6-2.1-5.1-7.9-5.1h-13.8v10.8h14.4c5 0 7.3-2.4 7.3-5.2V11.8zM794.8 37V1h6.8v30.4h28.2V37H794.8zM836.7 37V1h6.8v36H836.7zM886.2 37l-23.4-24.1 -2.3-2.5V37h-6.8V1h6.5l22.7 24.1 2.3 2.6V1h6.8v36H886.2zM902.3 37V1H935v5.6h-26v9.2h20v5.5h-20v10.1h26V37H902.3z"}))},1883:(e,t,a)=>{"use strict";a.d(t,{A:()=>s});var n=a(7723),r=a(3022),c=a(1609);a(3689);const __=n.__;class o extends c.Component{static defaultProps={"aria-hidden":"false",focusable:"true"};needsOffset(e,t){return["gridicons-arrow-left","gridicons-arrow-right","gridicons-calendar","gridicons-cart","gridicons-folder","gridicons-help-outline","gridicons-info","gridicons-info-outline","gridicons-posts","gridicons-star-outline","gridicons-star"].indexOf(e)>=0&&t%18==0}getSVGDescription(e){if("description"in this.props)return this.props.description;switch(e){default:return"";case"gridicons-audio":return __("Has audio.","jetpack-forms");case"gridicons-arrow-left":return __("Arrow left","jetpack-forms");case"gridicons-arrow-right":return __("Arrow right","jetpack-forms");case"gridicons-calendar":return __("Is an event.","jetpack-forms");case"gridicons-cart":return __("Is a product.","jetpack-forms");case"chevron-down":return __("Show filters","jetpack-forms");case"gridicons-comment":return __("Matching comment.","jetpack-forms");case"gridicons-cross":return __("Close.","jetpack-forms");case"gridicons-filter":return __("Toggle search filters.","jetpack-forms");case"gridicons-folder":return __("Category","jetpack-forms");case"gridicons-help-outline":return __("Help","jetpack-forms");case"gridicons-info":case"gridicons-info-outline":return __("Information.","jetpack-forms");case"gridicons-image-multiple":return __("Has multiple images.","jetpack-forms");case"gridicons-image":return __("Has an image.","jetpack-forms");case"gridicons-page":return __("Page","jetpack-forms");case"gridicons-post":return __("Post","jetpack-forms");case"gridicons-jetpack-search":case"gridicons-search":return __("Magnifying Glass","jetpack-forms");case"gridicons-tag":return __("Tag","jetpack-forms");case"gridicons-video":return __("Has a video.","jetpack-forms")}}renderIcon(e){switch(e){default:return null;case"gridicons-audio":return React.createElement("g",null,React.createElement("path",{d:"M8 4v10.184C7.686 14.072 7.353 14 7 14c-1.657 0-3 1.343-3 3s1.343 3 3 3 3-1.343 3-3V7h7v4.184c-.314-.112-.647-.184-1-.184-1.657 0-3 1.343-3 3s1.343 3 3 3 3-1.343 3-3V4H8z"}));case"gridicons-arrow-left":return React.createElement("g",null,React.createElement("path",{d:"M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"}));case"gridicons-arrow-right":return React.createElement("g",null,React.createElement("path",{d:"M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8-8-8z"}));case"gridicons-block":return React.createElement("g",null,React.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zM4 12c0-4.418 3.582-8 8-8 1.848 0 3.545.633 4.9 1.686L5.686 16.9C4.633 15.545 4 13.848 4 12zm8 8c-1.848 0-3.546-.633-4.9-1.686L18.314 7.1C19.367 8.455 20 10.152 20 12c0 4.418-3.582 8-8 8z"}));case"gridicons-calendar":return React.createElement("g",null,React.createElement("path",{d:"M19 4h-1V2h-2v2H8V2H6v2H5c-1.105 0-2 .896-2 2v13c0 1.104.895 2 2 2h14c1.104 0 2-.896 2-2V6c0-1.104-.896-2-2-2zm0 15H5V8h14v11z"}));case"gridicons-cart":return React.createElement("g",null,React.createElement("path",{d:"M9 20c0 1.1-.9 2-2 2s-1.99-.9-1.99-2S5.9 18 7 18s2 .9 2 2zm8-2c-1.1 0-1.99.9-1.99 2s.89 2 1.99 2 2-.9 2-2-.9-2-2-2zm.396-5c.937 0 1.75-.65 1.952-1.566L21 5H7V4c0-1.105-.895-2-2-2H3v2h2v11c0 1.105.895 2 2 2h12c0-1.105-.895-2-2-2H7v-2h10.396z"}));case"gridicons-checkmark":return React.createElement("g",null,React.createElement("path",{d:"M11 17.768l-4.884-4.884 1.768-1.768L11 14.232l8.658-8.658C17.823 3.39 15.075 2 12 2 6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10c0-1.528-.353-2.97-.966-4.266L11 17.768z"}));case"gridicons-chevron-left":return React.createElement("g",null,React.createElement("path",{d:"M16.443 7.41L15.0399 6L9.06934 12L15.0399 18L16.443 16.59L11.8855 12L16.443 7.41Z"}));case"gridicons-chevron-right":return React.createElement("g",null,React.createElement("path",{d:"M10.2366 6L8.8335 7.41L13.391 12L8.8335 16.59L10.2366 18L16.2072 12L10.2366 6Z"}));case"gridicons-chevron-down":return React.createElement("g",null,React.createElement("path",{d:"M20 9l-8 8-8-8 1.414-1.414L12 14.172l6.586-6.586"}));case"gridicons-comment":return React.createElement("g",null,React.createElement("path",{d:"M3 6v9c0 1.105.895 2 2 2h9v5l5.325-3.804c1.05-.75 1.675-1.963 1.675-3.254V6c0-1.105-.895-2-2-2H5c-1.105 0-2 .895-2 2z"}));case"gridicons-computer":return React.createElement("g",null,React.createElement("path",{d:"M20 2H4c-1.104 0-2 .896-2 2v12c0 1.104.896 2 2 2h6v2H7v2h10v-2h-3v-2h6c1.104 0 2-.896 2-2V4c0-1.104-.896-2-2-2zm0 14H4V4h16v12z"}));case"gridicons-cross":return React.createElement("g",null,React.createElement("path",{d:"M18.36 19.78L12 13.41l-6.36 6.37-1.42-1.42L10.59 12 4.22 5.64l1.42-1.42L12 10.59l6.36-6.36 1.41 1.41L13.41 12l6.36 6.36z"}));case"gridicons-filter":return React.createElement("g",null,React.createElement("path",{d:"M10 19h4v-2h-4v2zm-4-6h12v-2H6v2zM3 5v2h18V5H3z"}));case"gridicons-folder":return React.createElement("g",null,React.createElement("path",{d:"M18 19H6c-1.1 0-2-.9-2-2V7c0-1.1.9-2 2-2h3c1.1 0 2 .9 2 2h7c1.1 0 2 .9 2 2v8c0 1.1-.9 2-2 2z"}));case"gridicons-help-outline":return React.createElement("g",null,React.createElement("path",{d:"M12 4c4.41 0 8 3.59 8 8s-3.59 8-8 8-8-3.59-8-8 3.59-8 8-8m0-2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm1 13h-2v2h2v-2zm-1.962-2v-.528c0-.4.082-.74.246-1.017.163-.276.454-.546.87-.808.333-.21.572-.397.717-.565.146-.168.22-.36.22-.577 0-.172-.078-.308-.234-.41-.156-.1-.358-.15-.608-.15-.62 0-1.34.22-2.168.658l-.854-1.67c1.02-.58 2.084-.872 3.194-.872.913 0 1.63.202 2.15.603.52.4.78.948.78 1.64 0 .495-.116.924-.347 1.287-.23.362-.6.705-1.11 1.03-.43.278-.7.48-.807.61-.108.13-.163.282-.163.458V13h-1.885z"}));case"gridicons-image":return React.createElement("g",null,React.createElement("path",{d:"M13 9.5c0-.828.672-1.5 1.5-1.5s1.5.672 1.5 1.5-.672 1.5-1.5 1.5-1.5-.672-1.5-1.5zM22 6v12c0 1.105-.895 2-2 2H4c-1.105 0-2-.895-2-2V6c0-1.105.895-2 2-2h16c1.105 0 2 .895 2 2zm-2 0H4v7.444L8 9l5.895 6.55 1.587-1.85c.798-.932 2.24-.932 3.037 0L20 15.426V6z"}));case"gridicons-image-multiple":return React.createElement("g",null,React.createElement("path",{d:"M15 7.5c0-.828.672-1.5 1.5-1.5s1.5.672 1.5 1.5S17.328 9 16.5 9 15 8.328 15 7.5zM4 20h14c0 1.105-.895 2-2 2H4c-1.1 0-2-.9-2-2V8c0-1.105.895-2 2-2v14zM22 4v12c0 1.105-.895 2-2 2H8c-1.105 0-2-.895-2-2V4c0-1.105.895-2 2-2h12c1.105 0 2 .895 2 2zM8 4v6.333L11 7l4.855 5.395.656-.73c.796-.886 2.183-.886 2.977 0l.513.57V4H8z"}));case"gridicons-info":return React.createElement("g",null,React.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z"}));case"gridicons-info-outline":return React.createElement("g",null,React.createElement("path",{d:"M13 9h-2V7h2v2zm0 2h-2v6h2v-6zm-1-7c-4.411 0-8 3.589-8 8s3.589 8 8 8 8-3.589 8-8-3.589-8-8-8m0-2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2z"}));case"gridicons-jetpack-search":return React.createElement("g",null,React.createElement("path",{d:"M0 9.257C0 4.15 4.151 0 9.257 0c5.105 0 9.256 4.151 9.256 9.257a9.218 9.218 0 01-2.251 6.045l.034.033h1.053L24 22.01l-1.986 1.989-6.664-6.662v-1.055l-.033-.033a9.218 9.218 0 01-6.06 2.264C4.15 18.513 0 14.362 0 9.257zm4.169 1.537h4.61V1.82l-4.61 8.973zm5.547-3.092v8.974l4.61-8.974h-4.61z"}));case"gridicons-phone":return React.createElement("g",null,React.createElement("path",{d:"M16 2H8c-1.104 0-2 .896-2 2v16c0 1.104.896 2 2 2h8c1.104 0 2-.896 2-2V4c0-1.104-.896-2-2-2zm-3 19h-2v-1h2v1zm3-2H8V5h8v14z"}));case"gridicons-pages":return React.createElement("g",null,React.createElement("path",{d:"M16 8H8V6h8v2zm0 2H8v2h8v-2zm4-6v12l-6 6H6c-1.105 0-2-.895-2-2V4c0-1.105.895-2 2-2h12c1.105 0 2 .895 2 2zm-2 10V4H6v16h6v-4c0-1.105.895-2 2-2h4z"}));case"gridicons-posts":return React.createElement("g",null,React.createElement("path",{d:"M16 19H3v-2h13v2zm5-10H3v2h18V9zM3 5v2h11V5H3zm14 0v2h4V5h-4zm-6 8v2h10v-2H11zm-8 0v2h5v-2H3z"}));case"gridicons-search":return React.createElement("g",null,React.createElement("path",{d:"M21 19l-5.154-5.154C16.574 12.742 17 11.42 17 10c0-3.866-3.134-7-7-7s-7 3.134-7 7 3.134 7 7 7c1.42 0 2.742-.426 3.846-1.154L19 21l2-2zM5 10c0-2.757 2.243-5 5-5s5 2.243 5 5-2.243 5-5 5-5-2.243-5-5z"}));case"gridicons-star-outline":return React.createElement("g",null,React.createElement("path",{d:"M12 6.308l1.176 3.167.347.936.997.042 3.374.14-2.647 2.09-.784.62.27.963.91 3.25-2.813-1.872-.83-.553-.83.552-2.814 1.87.91-3.248.27-.962-.783-.62-2.648-2.092 3.374-.14.996-.04.347-.936L12 6.308M12 2L9.418 8.953 2 9.257l5.822 4.602L5.82 21 12 16.89 18.18 21l-2.002-7.14L22 9.256l-7.418-.305L12 2z"}));case"gridicons-star":return React.createElement("g",null,React.createElement("path",{d:"M12 2l2.582 6.953L22 9.257l-5.822 4.602L18.18 21 12 16.89 5.82 21l2.002-7.14L2 9.256l7.418-.304"}));case"gridicons-tag":return React.createElement("g",null,React.createElement("path",{d:"M20 2.007h-7.087c-.53 0-1.04.21-1.414.586L2.592 11.5c-.78.78-.78 2.046 0 2.827l7.086 7.086c.78.78 2.046.78 2.827 0l8.906-8.906c.376-.374.587-.883.587-1.413V4.007c0-1.105-.895-2-2-2zM17.007 9c-1.105 0-2-.895-2-2s.895-2 2-2 2 .895 2 2-.895 2-2 2z"}));case"gridicons-video":return React.createElement("g",null,React.createElement("path",{d:"M20 4v2h-2V4H6v2H4V4c-1.105 0-2 .895-2 2v12c0 1.105.895 2 2 2v-2h2v2h12v-2h2v2c1.105 0 2-.895 2-2V6c0-1.105-.895-2-2-2zM6 16H4v-3h2v3zm0-5H4V8h2v3zm4 4V9l4.5 3-4.5 3zm10 1h-2v-3h2v3zm0-5h-2V8h2v3z"}));case"gridicons-lock":return React.createElement(React.Fragment,null,React.createElement("g",{id:"lock"},React.createElement("path",{d:"M18,8h-1V7c0-2.757-2.243-5-5-5S7,4.243,7,7v1H6c-1.105,0-2,0.895-2,2v10c0,1.105,0.895,2,2,2h12c1.105,0,2-0.895,2-2V10 C20,8.895,19.105,8,18,8z M9,7c0-1.654,1.346-3,3-3s3,1.346,3,3v1H9V7z M13,15.723V18h-2v-2.277c-0.595-0.346-1-0.984-1-1.723 c0-1.105,0.895-2,2-2s2,0.895,2,2C14,14.738,13.595,15.376,13,15.723z"})),React.createElement("g",{id:"Layer_1"}));case"gridicons-external":return React.createElement("g",null,React.createElement("path",{d:"M19 13v6c0 1.105-.895 2-2 2H5c-1.105 0-2-.895-2-2V7c0-1.105.895-2 2-2h6v2H5v12h12v-6h2zM13 3v2h4.586l-7.793 7.793 1.414 1.414L19 6.414V11h2V3h-8z"}))}}render(){const{size:e=24,className:t=""}=this.props,a=this.props.height||e,n=this.props.width||e,c=this.props.style||{height:a,width:n},o="gridicons-"+this.props.icon,s=(0,r.A)("gridicon",o,t,{"needs-offset":this.needsOffset(o,e)}),i=this.getSVGDescription(o);return React.createElement("svg",{className:s,focusable:this.props.focusable,height:a,onClick:this.props.onClick,style:c,viewBox:"0 0 24 24",width:n,xmlns:"http://www.w3.org/2000/svg","aria-hidden":this.props["aria-hidden"]},i?React.createElement("desc",null,i):null,this.renderIcon(o))}}const s=o},8478:(e,t,a)=>{"use strict";a.d(t,{WI:()=>d,dW:()=>l});var n=a(6072),r=a.n(n),c=a(6427),o=a(3022),s=(a(4705),a(2300));const i=({className:e,size:t=24,viewBox:a="0 0 24 24",opacity:n=1,color:i="#2C3338",children:l})=>{const d={className:(0,o.A)(s.A.iconWrapper,e),width:t,height:t,viewBox:a,opacity:n,fill:void 0};return i&&(d.fill=i),React.createElement(c.SVG,r()({},d,{fillRule:"evenodd",clipRule:"evenodd",xmlns:"http://www.w3.org/2000/svg"}),React.createElement(c.G,{opacity:n},l))},l=({opacity:e=1,size:t,color:a})=>React.createElement(i,{size:t,opacity:e,color:a},React.createElement(c.Path,{d:"M13.2,4.7l4.7,12.8c0.4,1.1,1,1.5,2.1,1.6c0.1,0,0.1,0,0.1,0l0.1,0.1l0.1,0.1c0,0.1,0,0.1,0,0.2c0,0.1,0,0.1,0,0.1 s0,0.1-0.1,0.1c-0.1,0-0.1,0.1-0.1,0.1s-0.1,0-0.2,0h-5.1c-0.1,0-0.1,0-0.2,0c-0.1,0-0.1-0.1-0.1-0.1l-0.1-0.1c0-0.1,0-0.1,0-0.1 c0-0.1,0-0.1,0-0.2s0-0.1,0.1-0.1l0.1-0.1c0,0,0.1,0,0.2,0c0.5,0,1.1-0.2,1.1-0.8c0-0.3-0.1-0.5-0.2-0.8l-1.1-3.1 c-0.1-0.2-0.1-0.2-0.2-0.2h-4.3c-0.7,0-1.5,0-1.9,0.9l-1.1,2.4C7.1,17.6,7,17.8,7,18.1c0,0.8,1,0.9,1.6,0.9c0.1,0,0.1,0,0.2,0 L8.8,19l0.1,0.1c0,0.1,0,0.1,0,0.2c0,0.1,0,0.1,0,0.1s-0.1,0.1-0.1,0.1l-0.1,0.1c-0.1,0-0.1,0-0.2,0H4.1c-0.1,0-0.1,0-0.1,0 c-0.1,0-0.1-0.1-0.1-0.1l-0.1-0.1c0-0.1,0-0.1,0-0.1c0-0.1,0-0.1,0-0.2s0-0.1,0.1-0.1L4,19c0,0,0.1,0,0.1,0C5.2,19,5.5,18.5,6,17.5 l5.4-12.4c0.2-0.5,0.8-1,1.3-1C13,4.2,13.1,4.4,13.2,4.7z M9.1,13.1c0,0.1-0.1,0.1-0.1,0.2c0,0.1,0.1,0.1,0.1,0.1h4.4 c0.3,0,0.4-0.1,0.4-0.3c0-0.1,0-0.2-0.1-0.3l-1.2-3.5c-0.3-0.8-0.8-1.9-0.8-2.7c0-0.1,0-0.1-0.1-0.1c0,0-0.1,0-0.1,0.1 c-0.1,0.6-0.4,1.2-0.7,1.7L9.1,13.1z"}),React.createElement(c.Path,{d:"M13.2,4.7l4.7,12.8c0.4,1.1,1,1.5,2.1,1.6c0.1,0,0.1,0,0.1,0l0.1,0.1l0.1,0.1c0,0.1,0,0.1,0,0.2c0,0.1,0,0.1,0,0.1 s0,0.1-0.1,0.1c-0.1,0-0.1,0.1-0.1,0.1s-0.1,0-0.2,0h-5.1c-0.1,0-0.1,0-0.2,0c-0.1,0-0.1-0.1-0.1-0.1l-0.1-0.1c0-0.1,0-0.1,0-0.1 c0-0.1,0-0.1,0-0.2s0-0.1,0.1-0.1l0.1-0.1c0,0,0.1,0,0.2,0c0.5,0,1.1-0.2,1.1-0.8c0-0.3-0.1-0.5-0.2-0.8l-1.1-3.1 c-0.1-0.2-0.1-0.2-0.2-0.2h-4.3c-0.7,0-1.5,0-1.9,0.9l-1.1,2.4C7.1,17.6,7,17.8,7,18.1c0,0.8,1,0.9,1.6,0.9c0.1,0,0.1,0,0.2,0 L8.8,19l0.1,0.1c0,0.1,0,0.1,0,0.2c0,0.1,0,0.1,0,0.1s-0.1,0.1-0.1,0.1l-0.1,0.1c-0.1,0-0.1,0-0.2,0H4.1c-0.1,0-0.1,0-0.1,0 c-0.1,0-0.1-0.1-0.1-0.1l-0.1-0.1c0-0.1,0-0.1,0-0.1c0-0.1,0-0.1,0-0.2s0-0.1,0.1-0.1L4,19c0,0,0.1,0,0.1,0C5.2,19,5.5,18.5,6,17.5 l5.4-12.4c0.2-0.5,0.8-1,1.3-1C13,4.2,13.1,4.4,13.2,4.7z M9.1,13.1c0,0.1-0.1,0.1-0.1,0.2c0,0.1,0.1,0.1,0.1,0.1h4.4 c0.3,0,0.4-0.1,0.4-0.3c0-0.1,0-0.2-0.1-0.3l-1.2-3.5c-0.3-0.8-0.8-1.9-0.8-2.7c0-0.1,0-0.1-0.1-0.1c0,0-0.1,0-0.1,0.1 c-0.1,0.6-0.4,1.2-0.7,1.7L9.1,13.1z"}),React.createElement(c.Path,{d:"M21.6,12.5c0,0.6-0.3,1-0.9,1c-0.6,0-0.8-0.3-0.8-0.8c0-0.6,0.4-1,0.9-1C21.3,11.7,21.6,12.1,21.6,12.5z"}),React.createElement(c.Path,{d:"M4.1,12.5c0,0.6-0.3,1-0.9,1s-0.8-0.3-0.8-0.8c0-0.6,0.4-1,0.9-1S4.1,12.1,4.1,12.5z"})),d=({opacity:e=1,size:t,color:a})=>React.createElement(i,{size:t,opacity:e,color:a},React.createElement(c.Path,{d:"M17.5 11.5a4 4 0 1 1-8 0 4 4 0 0 1 8 0Zm1.5 0a5.5 5.5 0 0 1-9.142 4.121l-3.364 2.943-.988-1.128 3.373-2.952A5.5 5.5 0 1 1 19 11.5Z"}))},8250:(e,t,a)=>{"use strict";a.d(t,{A:()=>R});var n=a(6072),r=a.n(n),c=a(7143),o=a(7723),s=a(1113),i=a(3512),l=a(3022),d=a(1609),m=a.n(d),u=a(3924),p=a(4293),h=a(1069),f=a(8907),g=(a(4206),a(7142)),v=a(442);const __=o.__,_x=o._x,E=()=>m().createElement(g.A,{logoColor:"#000",showText:!1,height:16,"aria-hidden":"true"}),w=()=>m().createElement(m().Fragment,null,m().createElement(s.A,{icon:i.A,size:16}),m().createElement("span",{className:"jp-dashboard-footer__accessible-external-link"},/* translators: accessibility text */ -__("(opens in a new tab)","jetpack-forms"))),R=({moduleName:e=__("Jetpack","jetpack-forms"),className:t,moduleNameHref:a="https://jetpack.com",menu:n,onAboutClick:o,onPrivacyClick:s,onTermsClick:i,...d})=>{const[g]=(0,v.A)("sm","<="),[R]=(0,v.A)("md","<="),[C]=(0,v.A)("lg",">"),{isActive:y,connectedPlugins:b}=(0,c.useSelect)((e=>{const t=e(p.a);return{connectedPlugins:t?.getConnectedPlugins(),...t.getConnectionStatus()}}),[]),k=(0,h.A)(),x=k&&y&&b?.some((({slug:e})=>"jetpack"===e));let _=[{label:_x("About","Link to learn more about Jetpack.","jetpack-forms"),title:__("About Jetpack","jetpack-forms"),href:x?new URL("admin.php?page=jetpack_about",k).href:(0,u.A)("jetpack-about"),target:x?"_self":"_blank",onClick:o},{label:_x("Privacy","Shorthand for Privacy Policy.","jetpack-forms"),title:__("Automattic's Privacy Policy","jetpack-forms"),href:x?new URL("admin.php?page=jetpack#/privacy",k).href:(0,u.A)("a8c-privacy"),target:x?"_self":"_blank",onClick:s},{label:_x("Terms","Shorthand for Terms of Service.","jetpack-forms"),title:__("WordPress.com Terms of Service","jetpack-forms"),href:(0,u.A)("wpcom-tos"),target:"_blank",onClick:i}];n&&(_=[..._,...n]);const j=m().createElement(m().Fragment,null,m().createElement(E,null),e);return m().createElement("footer",r()({className:(0,l.A)("jp-dashboard-footer",{"is-sm":g,"is-md":R,"is-lg":C},t),"aria-label":__("Jetpack","jetpack-forms")},d),m().createElement("ul",null,m().createElement("li",{className:"jp-dashboard-footer__jp-item"},a?m().createElement("a",{href:a},j):j),_.map((e=>{const t="button"===e.role,a=!t&&"_blank"===e.target;return m().createElement("li",{key:e.label},m().createElement("a",{href:e.href,title:e.title,target:e.target,onClick:e.onClick,onKeyDown:e.onKeyDown,className:(0,l.A)("jp-dashboard-footer__menu-item",{"is-external":a}),role:e.role,rel:a?"noopener noreferrer":void 0,tabIndex:t?0:void 0},e.label,a&&m().createElement(w,null)))})),m().createElement("li",{className:"jp-dashboard-footer__a8c-item"},m().createElement("a",{href:x?new URL("admin.php?page=jetpack_about",k).href:(0,u.A)("a8c-about"),"aria-label":__("An Automattic Airline","jetpack-forms")},m().createElement(f.A,{"aria-hidden":"true"})))))}},7142:(e,t,a)=>{"use strict";a.d(t,{A:()=>l});var n=a(6072),r=a.n(n),c=a(7723),o=a(3022),s=a(1609),i=a.n(s);const __=c.__,l=({logoColor:e="#069e08",showText:t=!0,className:a,height:n=32,...c})=>{const s=t?"0 0 118 32":"0 0 32 32";return i().createElement("svg",r()({xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:s,className:(0,o.A)("jetpack-logo",a),"aria-labelledby":"jetpack-logo-title",height:n},c,{role:"img"}),i().createElement("title",{id:"jetpack-logo-title"},__("Jetpack Logo","jetpack-forms")),i().createElement("path",{fill:e,d:"M16,0C7.2,0,0,7.2,0,16s7.2,16,16,16s16-7.2,16-16S24.8,0,16,0z M15,19H7l8-16V19z M17,29V13h8L17,29z"}),t&&i().createElement(i().Fragment,null,i().createElement("path",{d:"M41.3,26.6c-0.5-0.7-0.9-1.4-1.3-2.1c2.3-1.4,3-2.5,3-4.6V8h-3V6h6v13.4C46,22.8,45,24.8,41.3,26.6z"}),i().createElement("path",{d:"M65,18.4c0,1.1,0.8,1.3,1.4,1.3c0.5,0,2-0.2,2.6-0.4v2.1c-0.9,0.3-2.5,0.5-3.7,0.5c-1.5,0-3.2-0.5-3.2-3.1V12H60v-2h2.1V7.1 H65V10h4v2h-4V18.4z"}),i().createElement("path",{d:"M71,10h3v1.3c1.1-0.8,1.9-1.3,3.3-1.3c2.5,0,4.5,1.8,4.5,5.6s-2.2,6.3-5.8,6.3c-0.9,0-1.3-0.1-2-0.3V28h-3V10z M76.5,12.3 c-0.8,0-1.6,0.4-2.5,1.2v5.9c0.6,0.1,0.9,0.2,1.8,0.2c2,0,3.2-1.3,3.2-3.9C79,13.4,78.1,12.3,76.5,12.3z"}),i().createElement("path",{d:"M93,22h-3v-1.5c-0.9,0.7-1.9,1.5-3.5,1.5c-1.5,0-3.1-1.1-3.1-3.2c0-2.9,2.5-3.4,4.2-3.7l2.4-0.3v-0.3c0-1.5-0.5-2.3-2-2.3 c-0.7,0-2.3,0.5-3.7,1.1L84,11c1.2-0.4,3-1,4.4-1c2.7,0,4.6,1.4,4.6,4.7L93,22z M90,16.4l-2.2,0.4c-0.7,0.1-1.4,0.5-1.4,1.6 c0,0.9,0.5,1.4,1.3,1.4s1.5-0.5,2.3-1V16.4z"}),i().createElement("path",{d:"M104.5,21.3c-1.1,0.4-2.2,0.6-3.5,0.6c-4.2,0-5.9-2.4-5.9-5.9c0-3.7,2.3-6,6.1-6c1.4,0,2.3,0.2,3.2,0.5V13 c-0.8-0.3-2-0.6-3.2-0.6c-1.7,0-3.2,0.9-3.2,3.6c0,2.9,1.5,3.8,3.3,3.8c0.9,0,1.9-0.2,3.2-0.7V21.3z"}),i().createElement("path",{d:"M110,15.2c0.2-0.3,0.2-0.8,3.8-5.2h3.7l-4.6,5.7l5,6.3h-3.7l-4.2-5.8V22h-3V6h3V15.2z"}),i().createElement("path",{d:"M58.5,21.3c-1.5,0.5-2.7,0.6-4.2,0.6c-3.6,0-5.8-1.8-5.8-6c0-3.1,1.9-5.9,5.5-5.9s4.9,2.5,4.9,4.9c0,0.8,0,1.5-0.1,2h-7.3 c0.1,2.5,1.5,2.8,3.6,2.8c1.1,0,2.2-0.3,3.4-0.7C58.5,19,58.5,21.3,58.5,21.3z M56,15c0-1.4-0.5-2.9-2-2.9c-1.4,0-2.3,1.3-2.4,2.9 C51.6,15,56,15,56,15z"})))}},442:(e,t,a)=>{"use strict";a.d(t,{A:()=>o});var n=a(9491),r=a(8403);const c=["sm","md","lg"],o=(e,t)=>{const a=Array.isArray(e)?e:[e],o=Array.isArray(t)?t:[t],[s,i,l]=c,d={sm:(0,n.useMediaQuery)(r.A[s]),md:(0,n.useMediaQuery)(r.A[i]),lg:(0,n.useMediaQuery)(r.A[l])};return a.map(((e,t)=>{const a=o[t];return a?((e,t,a)=>{const n=c.indexOf(e),r=n+1,o=t.includes("=");let s=[];return t.startsWith("<")&&(s=c.slice(0,o?r:n)),t.startsWith(">")&&(s=c.slice(o?n:r)),s?.length?s.some((e=>a[e])):a[e]})(e,a,d):d[e]}))}},1069:(e,t,a)=>{"use strict";function n(){return window.Initial_State?.adminUrl||window.Jetpack_Editor_Initial_State?.adminUrl||window?.myJetpackInitialState?.adminUrl||null}a.d(t,{A:()=>n})},3924:(e,t,a)=>{"use strict";function n(e,t={}){const a={};let n;if("undefined"!=typeof window&&(n=window?.JP_CONNECTION_INITIAL_STATE?.calypsoEnv),0===e.search("https://")){const t=new URL(e);e=`https://${t.host}${t.pathname}`,a.url=encodeURIComponent(e)}else a.source=encodeURIComponent(e);for(const e in t)a[e]=encodeURIComponent(t[e]);!Object.keys(a).includes("site")&&"undefined"!=typeof jetpack_redirects&&Object.hasOwn(jetpack_redirects,"currentSiteRawUrl")&&(a.site=jetpack_redirects.currentBlogID??jetpack_redirects.currentSiteRawUrl),n&&(a.calypso_env=n);return"https://jetpack.com/redirect/?"+Object.keys(a).map((e=>e+"="+a[e])).join("&")}a.d(t,{A:()=>n})},6439:(e,t,a)=>{let n={};try{n=a(5875)}catch{console.error("jetpackConfig is missing in your webpack config file. See @automattic/jetpack-config"),n={missingConfig:!0}}const r=e=>Object.hasOwn(n,e);e.exports={jetpackConfigHas:r,jetpackConfigGet:e=>{if(!r(e))throw'This app requires the "'+e+'" Jetpack Config to be defined in your webpack configuration file. See details in @automattic/jetpack-config package docs.';return n[e]}}},3935:(e,t,a)=>{"use strict";a.d(t,{A1:()=>i,Ay:()=>y,DO:()=>s,Ij:()=>o,Kl:()=>p,LW:()=>l,MU:()=>h,XY:()=>d,ZO:()=>c,dz:()=>m,gH:()=>u,v_:()=>r});var n=a(5932);const r="SET_CONNECTION_STATUS",c="SET_CONNECTION_STATUS_IS_FETCHING",o="SET_SITE_IS_REGISTERING",s="SET_USER_IS_CONNECTING",i="SET_REGISTRATION_ERROR",l="CLEAR_REGISTRATION_ERROR",d="SET_AUTHORIZATION_URL",m="DISCONNECT_USER_SUCCESS",u="SET_CONNECTED_PLUGINS",p="SET_CONNECTION_ERRORS",h="SET_IS_OFFLINE_MODE",f=e=>({type:r,connectionStatus:e}),g=e=>({type:o,isRegistering:e}),v=e=>({type:s,isConnecting:e}),E=e=>({type:i,registrationError:e}),w=()=>({type:l}),R=e=>({type:d,authorizationUrl:e}),C=e=>({type:u,connectedPlugins:e});const y={setConnectionStatus:f,setConnectionStatusIsFetching:e=>({type:c,isFetching:e}),fetchConnectionStatus:()=>({type:"FETCH_CONNECTION_STATUS"}),fetchAuthorizationUrl:e=>({type:"FETCH_AUTHORIZATION_URL",redirectUri:e}),setSiteIsRegistering:g,setUserIsConnecting:v,setRegistrationError:E,clearRegistrationError:w,setAuthorizationUrl:R,registerSite:function*({registrationNonce:e,redirectUri:t,from:a=""}){yield w(),yield g(!0);try{const n=yield{type:"REGISTER_SITE",registrationNonce:e,redirectUri:t,from:a};return yield f({isRegistered:!0}),yield R(n.authorizeUrl),yield g(!1),Promise.resolve(n)}catch(e){return yield E(e),yield g(!1),Promise.reject(e)}},connectUser:function*({from:e,redirectFunc:t,redirectUri:a,skipPricingPage:n}={}){yield v(!0),yield{type:"CONNECT_USER",from:e,redirectFunc:t,redirectUri:a,skipPricingPage:n}},disconnectUserSuccess:()=>({type:m}),setConnectedPlugins:C,refreshConnectedPlugins:()=>async({dispatch:e})=>await new Promise((t=>n.Ay.fetchConnectedPlugins().then((a=>{e(C(a)),t(a)})))),setConnectionErrors:e=>({type:p,connectionErrors:e}),setIsOfflineMode:e=>({type:h,isOfflineMode:e})}},2494:(e,t,a)=>{"use strict";a.d(t,{A:()=>o});var n=a(5932),r=a(7143),c=a(2279);const o={FETCH_AUTHORIZATION_URL:({redirectUri:e})=>n.Ay.fetchAuthorizationUrl(e),REGISTER_SITE:({registrationNonce:e,redirectUri:t,from:a})=>n.Ay.registerSite(e,t,a),CONNECT_USER:(0,r.createRegistryControl)((({resolveSelect:e})=>({from:t,redirectFunc:a,redirectUri:n,skipPricingPage:r}={})=>new Promise(((o,s)=>{e(c.A).getAuthorizationUrl(n).then((e=>{const n=a||(e=>window.location.assign(e)),c=new URL(e);r&&c.searchParams.set("skip_pricing","true"),t&&c.searchParams.set("from",encodeURIComponent(t));const s=c.toString();n(s),o(s)})).catch((e=>{s(e)}))}))))}},5051:(e,t,a)=>{"use strict";a.d(t,{A:()=>c});var n=a(7143),r=a(3935);const c=(0,n.combineReducers)({connectionStatus:(e={},t)=>{switch(t.type){case r.v_:return{...e,...t.connectionStatus};case r.dz:return{...e,isUserConnected:!1}}return e},connectionStatusIsFetching:(e=!1,t)=>t.type===r.ZO?t.isFetching:e,siteIsRegistering:(e=!1,t)=>t.type===r.Ij?t.isRegistering:e,userIsConnecting:(e=!1,t)=>t.type===r.DO?t.isConnecting:e,registrationError:(e,t)=>{switch(t.type){case r.LW:return!1;case r.A1:return t.registrationError;default:return e}},authorizationUrl:(e,t)=>t.type===r.XY?t.authorizationUrl:e,userConnectionData:(e,t)=>(t.type,e),connectedPlugins:(e={},t)=>t.type===r.gH?t.connectedPlugins:e,connectionErrors:(e={},t)=>t.type===r.Kl?t.connectionErrors:e,isOfflineMode:(e=!1,t)=>t.type===r.MU?t.isConnecting:e})},8019:(e,t,a)=>{"use strict";a.d(t,{A:()=>o});var n=a(7143),r=a(3935),c=a(2279);const o={...{getAuthorizationUrl:{isFulfilled:(e,...t)=>{const a=Boolean(e.authorizationUrl),r=(0,n.select)(c.A).hasFinishedResolution("getAuthorizationUrl",t);return a&&!r&&(0,n.dispatch)(c.A).finishResolution("getAuthorizationUrl",t),a},*fulfill(e){const t=yield r.Ay.fetchAuthorizationUrl(e);yield r.Ay.setAuthorizationUrl(t.authorizeUrl)}}}}},2676:(e,t,a)=>{"use strict";a.d(t,{A:()=>n});const n={...{getConnectionStatus:e=>e.connectionStatus||{},getConnectionStatusIsFetching:()=>!1,getSiteIsRegistering:e=>e.siteIsRegistering||!1,getUserIsConnecting:e=>e.userIsConnecting||!1,getRegistrationError:e=>e.registrationError||!1,getAuthorizationUrl:e=>e.authorizationUrl||!1,getUserConnectionData:e=>e.userConnectionData||!1,getConnectedPlugins:e=>e.connectedPlugins||[],getConnectionErrors:e=>e.connectionErrors||[],getIsOfflineMode:e=>e.isOfflineMode||!1,getWpcomUser:e=>e?.userConnectionData?.currentUser?.wpcomUser,getBlogId:e=>e?.userConnectionData?.currentUser?.blogId}}},8734:(e,t,a)=>{"use strict";a.d(t,{A:()=>c});var n=a(7143);class r{static store=null;static mayBeInit(e,t){null===r.store&&(r.store=(0,n.createReduxStore)(e,t),(0,n.register)(r.store))}}const c=r},2279:(e,t,a)=>{"use strict";a.d(t,{A:()=>n});const n="jetpack-connection"},4293:(e,t,a)=>{"use strict";a.d(t,{a:()=>d.A});var n=a(7999),r=a(3935),c=a(2494),o=a(5051),s=a(8019),i=a(2676),l=a(8734),d=a(2279);const m=window.JP_CONNECTION_INITIAL_STATE||(0,n.getScriptData)()?.connection;m||console.error("Jetpack Connection package: Initial state is missing. Check documentation to see how to use the Connection composer package to set up the initial state."),l.A.mayBeInit(d.A,{__experimentalUseThunks:!0,reducer:o.A,actions:r.Ay,selectors:i.A,resolvers:s.A,controls:c.A,initialState:m||{}})},5985:(e,t,a)=>{"use strict";a.d(t,{Sy:()=>n.Sy,d9:()=>n.d9});var n=a(2634);a(2034),a(5595),a(3265),a(3489),a(6923),a(5877),a(335),a(8290)},5877:(e,t,a)=>{"use strict";a(1609)},335:(e,t,a)=>{"use strict";a(6087)},3489:(e,t,a)=>{"use strict";var n=a(372);a(9384),a(6087);const{tracks:r}=n.A,{recordEvent:c}=r},6923:(e,t,a)=>{"use strict";a(7143),a(6087),a(8290)},7105:(e,t,a)=>{"use strict";a.d(t,{Ay:()=>m,E9:()=>d});var n=a(7143),r=a(2634),c=a(4478),o=a(8290);const s="SET_JETPACK_MODULES";function i(e){return d({isLoading:e})}function l(e,t){return{type:"SET_MODULE_UPDATING",name:e,isUpdating:t}}function d(e){return{type:s,options:e}}const m={updateJetpackModuleStatus:function*(e){try{yield l(e.name,!0),yield(0,c.sB)(e);const t=yield(0,c.wz)();return yield d({data:t}),!0}catch(e){const t=(0,n.select)(o.F).getJetpackModules();return yield d(t),!1}finally{yield l(e.name,!1)}},setJetpackModules:d,fetchModules:function*(){if((0,r.Sy)())return!0;try{yield i(!0);const e=yield(0,c.wz)();return yield d({data:e}),!0}catch(e){const t=(0,n.select)(o.F).getJetpackModules();return yield d(t),!1}finally{yield i(!1)}}}},4478:(e,t,a)=>{"use strict";a.d(t,{Ay:()=>l,sB:()=>i,wz:()=>s});var n=a(1455),r=a.n(n);const c="FETCH_JETPACK_MODULES",o="UPDATE_JETPACK_MODULE_STATUS",s=()=>({type:c}),i=e=>({type:o,settings:e}),l={[c]:function(){return r()({path:"/jetpack/v4/module/all",method:"GET"})},[o]:function({settings:e}){return r()({path:`/jetpack/v4/module/${e.name}/active`,method:"POST",data:{active:e.active}})}}},8290:(e,t,a)=>{"use strict";a.d(t,{F:()=>l});var n=a(7143),r=a(7105),c=a(4478),o=a(8862),s=a(2701),i=a(1640);const l="jetpack-modules",d=(0,n.createReduxStore)(l,{reducer:o.A,actions:r.Ay,controls:c.Ay,resolvers:s.A,selectors:i.A});(0,n.register)(d);const m=window?.Initial_State?.getModules||window?.Jetpack_Editor_Initial_State?.modules||null;null!==m&&(0,n.dispatch)(l).setJetpackModules({data:{...m}})},8862:(e,t,a)=>{"use strict";a.d(t,{A:()=>r});const n={isLoading:!1,isUpdating:{},data:{}},r=(e=n,t)=>{switch(t.type){case"SET_JETPACK_MODULES":return{...e,...t.options};case"SET_MODULE_UPDATING":return{...e,isUpdating:{...e.isUpdating,[t.name]:t.isUpdating}}}return e}},2701:(e,t,a)=>{"use strict";a.d(t,{A:()=>c});var n=a(7105),r=a(4478);const c={getJetpackModules:function*(){try{const e=yield(0,r.wz)();if(e)return(0,n.E9)({data:e})}catch(e){console.error(e)}}}},1640:(e,t,a)=>{"use strict";a.d(t,{A:()=>r});var n=a(2634);const r={getJetpackModules:e=>e.data,isModuleActive:(e,t)=>(0,n.Sy)()||(e?.data?.[t]?.activated??!1),areModulesLoading:e=>e.isLoading??!1,isModuleUpdating:(e,t)=>e?.isUpdating?.[t]??!1}},3265:(e,t,a)=>{"use strict";var n=a(7723);a(3832),a(8468);const __=n.__;__("Upgrade your plan to use video covers","jetpack-forms"),__("Upgrade your plan to upload audio","jetpack-forms")},2034:(e,t,a)=>{"use strict";a(4660)},2634:(e,t,a)=>{"use strict";function n(){return"object"==typeof window&&"string"==typeof window._currentSiteType?window._currentSiteType:null}function r(){return"simple"===n()}function c(){return"atomic"===n()}a.d(t,{Sy:()=>r,d9:()=>c})},5595:(e,t,a)=>{"use strict";a(6072),a(9491)},4705:(e,t,a)=>{"use strict";a(8992),a(1135)},1135:(e,t,a)=>{"use strict";a.d(t,{$:()=>n});const n=[{name:"amazon",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M13.582 8.182c-1.648.185-3.802.308-5.344.984-1.781.769-3.03 2.337-3.03 4.644 0 2.953 1.86 4.429 4.253 4.429 2.02 0 3.125-.477 4.685-2.065.516.747.685 1.109 1.629 1.894a.59.59 0 0 0 .672-.066l.006.006c.567-.505 1.599-1.401 2.18-1.888.231-.188.19-.496.009-.754-.52-.718-1.072-1.303-1.072-2.634V8.305c0-1.876.133-3.599-1.249-4.891C15.23 2.369 13.422 2 12.04 2 9.336 2 6.318 3.01 5.686 6.351c-.068.355.191.542.423.594l2.754.298c.258-.013.445-.266.494-.523.236-1.151 1.2-1.706 2.284-1.706.584 0 1.249.215 1.595.738.398.584.346 1.384.346 2.061zm-.533 5.906c-.451.8-1.169 1.291-1.967 1.291-1.09 0-1.728-.83-1.728-2.061 0-2.42 2.171-2.86 4.227-2.86v.615c.001 1.108.027 2.031-.532 3.015m7.634 5.251C18.329 21.076 14.917 22 11.979 22c-4.118 0-7.826-1.522-10.632-4.057-.22-.199-.024-.471.241-.317 3.027 1.762 6.771 2.823 10.639 2.823 2.608 0 5.476-.541 8.115-1.66.397-.169.73.262.341.55m.653 1.704c-.194.163-.379.076-.293-.139.284-.71.92-2.298.619-2.684s-1.99-.183-2.749-.092c-.23.027-.266-.173-.059-.319 1.348-.946 3.555-.673 3.811-.356.26.32-.066 2.533-1.329 3.59"})))},{name:"behance",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M7.799 5.698c.589 0 1.12.051 1.606.156q.722.155 1.241.507.516.351.804.938c.188.387.281.871.281 1.443q0 .93-.421 1.551-.424.62-1.255 1.014 1.133.328 1.689 1.146.559.822.557 1.975 0 .935-.359 1.612a3.14 3.14 0 0 1-.973 1.114q-.613.432-1.399.637A6.1 6.1 0 0 1 7.963 18H2V5.698zm-.35 4.97q.721 0 1.192-.345.465-.344.463-1.119 0-.43-.152-.707a1.1 1.1 0 0 0-.416-.427 1.7 1.7 0 0 0-.596-.216 3.6 3.6 0 0 0-.697-.06H4.709v2.874zm.151 5.237q.401.001.759-.077c.243-.053.457-.137.637-.261.182-.12.332-.283.441-.491q.164-.31.163-.798-.002-.948-.533-1.357c-.356-.27-.83-.404-1.413-.404H4.709v3.388zm8.562-.041q.552.538 1.583.538.74 0 1.277-.374c.354-.248.571-.514.654-.79h2.155c-.347 1.072-.872 1.838-1.589 2.299-.708.463-1.572.693-2.58.693q-1.05 0-1.899-.337a4 4 0 0 1-1.439-.958 4.4 4.4 0 0 1-.904-1.484 5.4 5.4 0 0 1-.32-1.899q0-1 .329-1.863a4.4 4.4 0 0 1 .933-1.492q.607-.63 1.444-.994a4.6 4.6 0 0 1 1.857-.363q1.131-.001 1.98.44a3.94 3.94 0 0 1 1.389 1.181 4.8 4.8 0 0 1 .783 1.69q.24.947.171 1.983h-6.428c-.001.706.237 1.372.604 1.73m2.811-4.68c-.291-.321-.783-.496-1.384-.496q-.585 0-.973.2a2 2 0 0 0-.621.491 1.8 1.8 0 0 0-.328.628 2.7 2.7 0 0 0-.111.587h3.98c-.058-.625-.271-1.085-.563-1.41m-3.916-3.446h4.985V6.524h-4.985z"})))},{name:"blogger-alt",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M19.779 9.904h-.981l-.021.001a1.163 1.163 0 0 1-1.16-1.079l-.001-.013A5.813 5.813 0 0 0 11.803 3H8.871a5.813 5.813 0 0 0-5.813 5.813v6.375a5.813 5.813 0 0 0 5.813 5.813h6.257a5.814 5.814 0 0 0 5.813-5.813l.002-4.121a1.164 1.164 0 0 0-1.164-1.163M8.726 7.713h3.291a1.117 1.117 0 1 1 0 2.234H8.726a1.117 1.117 0 1 1 0-2.234m6.601 8.657H8.72a1.057 1.057 0 1 1 0-2.114h6.607a1.057 1.057 0 1 1 0 2.114"})))},{name:"blogger",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M14.722 14.019a.654.654 0 0 1-.654.654H9.977a.654.654 0 0 1 0-1.308h4.091c.361 0 .654.293.654.654m-4.741-3.321h2.038a.692.692 0 0 0 0-1.384H9.981a.692.692 0 0 0 0 1.384M21 5v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2m-3.456 6.39a.72.72 0 0 0-.72-.72h-.607l-.013.001a.72.72 0 0 1-.718-.668l-.001-.008a3.6 3.6 0 0 0-3.599-3.599H10.07a3.6 3.6 0 0 0-3.599 3.599v3.947a3.6 3.6 0 0 0 3.599 3.599h3.874a3.6 3.6 0 0 0 3.599-3.599z"})))},{name:"bluesky",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M21.2 3.3c-.5-.2-1.4-.5-3.6 1C15.4 6 12.9 9.2 12 11c-.9-1.8-3.4-5-5.7-6.7-2.2-1.6-3-1.3-3.6-1S2 4.6 2 5.1s.3 4.7.5 5.4c.7 2.3 3.1 3.1 5.3 2.8-3.3.5-6.2 1.7-2.4 5.9 4.2 4.3 5.7-.9 6.5-3.6.8 2.7 1.7 7.7 6.4 3.6 3.6-3.6 1-5.4-2.3-5.9 2.2.2 4.6-.5 5.3-2.8.4-.7.7-4.8.7-5.4 0-.5-.1-1.5-.8-1.8"})))},{name:"codepen",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"m22.016 8.84-.007-.037q-.006-.037-.015-.072-.007-.022-.013-.042l-.023-.062-.02-.042a.4.4 0 0 0-.03-.057l-.025-.038-.035-.052-.03-.037q-.021-.026-.043-.045-.015-.018-.035-.035a.4.4 0 0 0-.048-.04l-.037-.03-.015-.012-9.161-6.096a.86.86 0 0 0-.955 0L2.359 8.237l-.015.012-.038.028-.048.04a.638.638 0 0 0-.078.082q-.018.018-.03.037-.018.026-.035.052l-.025.038q-.016.031-.03.059l-.02.041a1 1 0 0 0-.034.106q-.01.034-.016.071-.003.02-.006.037a1 1 0 0 0-.009.114v6.093q0 .056.008.112l.007.038q.006.035.015.072a.2.2 0 0 0 .013.04q.01.032.022.063l.02.04a.4.4 0 0 0 .055.096l.035.052.03.037.042.045.035.035q.023.02.048.04l.038.03.013.01 9.163 6.095a.858.858 0 0 0 .959.004l9.163-6.095.015-.01q.02-.015.037-.03l.048-.04q.02-.017.035-.035.025-.024.043-.045l.03-.037.035-.052.025-.038a.4.4 0 0 0 .03-.058l.02-.04.023-.063c.003-.013.01-.027.013-.04q.009-.037.015-.072l.007-.037q.006-.062.007-.117V8.954a1 1 0 0 0-.008-.114m-9.154-4.376 6.751 4.49-3.016 2.013-3.735-2.492zm-1.724 0v4.009l-3.735 2.494-3.014-2.013zm-7.439 6.098L5.853 12l-2.155 1.438zm7.439 8.974-6.749-4.491 3.015-2.011 3.735 2.492zM12 14.035 8.953 12 12 9.966 15.047 12zm.862 5.501v-4.009l3.735-2.492 3.016 2.011zm7.441-6.098L18.147 12l2.156-1.438z"})))},{name:"deezer",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M20.129 3.662c.222-1.287.548-2.096.909-2.098h.001c.673.002 1.219 2.809 1.219 6.274s-.546 6.274-1.22 6.274c-.276 0-.531-.477-.736-1.276-.324 2.926-.997 4.937-1.776 4.937-.603 0-1.144-1.208-1.507-3.114-.248 3.624-.872 6.195-1.602 6.195-.458 0-.875-1.019-1.184-2.678C13.861 21.6 13.003 24 12.002 24s-1.861-2.399-2.231-5.824c-.307 1.659-.724 2.678-1.184 2.678-.73 0-1.352-2.571-1.602-6.195-.363 1.905-.903 3.114-1.507 3.114-.778 0-1.452-2.011-1.776-4.937-.204.802-.46 1.276-.736 1.276-.674 0-1.22-2.809-1.22-6.274s.546-6.274 1.22-6.274c.362 0 .685.812.91 2.098.357-2.22.94-3.662 1.6-3.662.784 0 1.463 2.04 1.784 5.002.314-2.156.791-3.53 1.325-3.53.749 0 1.385 2.703 1.621 6.474.443-1.933 1.085-3.146 1.795-3.146s1.352 1.214 1.795 3.146c.237-3.771.872-6.474 1.621-6.474.533 0 1.009 1.374 1.325 3.53.321-2.962 1-5.002 1.784-5.002.658 0 1.244 1.443 1.603 3.662M0 7.221c0-1.549.31-2.805.692-2.805s.692 1.256.692 2.805-.31 2.805-.692 2.805S0 8.77 0 7.221m22.616 0c0-1.549.31-2.805.692-2.805S24 5.672 24 7.221s-.31 2.805-.692 2.805-.692-1.256-.692-2.805"})))},{name:"discord",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M20.33 4.523A20 20 0 0 0 15.379 3a14 14 0 0 0-.634 1.289 18.4 18.4 0 0 0-5.495 0A14 14 0 0 0 8.615 3 20 20 0 0 0 3.66 4.527C.527 9.163-.323 13.684.102 18.141a20 20 0 0 0 6.073 3.049 14.7 14.7 0 0 0 1.301-2.097 13 13 0 0 1-2.048-.978q.258-.189.502-.378a14.27 14.27 0 0 0 12.142 0q.247.202.502.378a13 13 0 0 1-2.052.98 14.5 14.5 0 0 0 1.301 2.095 19.9 19.9 0 0 0 6.076-3.047c.498-5.168-.851-9.648-3.568-13.62M8.013 15.4c-1.183 0-2.161-1.074-2.161-2.395S6.796 10.6 8.01 10.6s2.183 1.083 2.163 2.405S9.22 15.4 8.013 15.4m7.974 0c-1.186 0-2.16-1.074-2.16-2.395s.944-2.405 2.16-2.405 2.178 1.083 2.157 2.405-.951 2.395-2.158 2.395"})))},{name:"dribbble",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12 22C6.486 22 2 17.514 2 12S6.486 2 12 2s10 4.486 10 10-4.486 10-10 10m8.434-8.631c-.292-.092-2.644-.794-5.32-.365 1.117 3.07 1.572 5.57 1.659 6.09a8.56 8.56 0 0 0 3.661-5.725m-5.098 6.507c-.127-.749-.623-3.361-1.822-6.477l-.056.019c-4.818 1.679-6.547 5.02-6.701 5.334A8.5 8.5 0 0 0 12 20.555a8.5 8.5 0 0 0 3.336-.679m-9.682-2.152c.193-.331 2.538-4.213 6.943-5.637q.167-.054.337-.102a29 29 0 0 0-.692-1.45c-4.266 1.277-8.405 1.223-8.778 1.216a8.497 8.497 0 0 0 2.19 5.973m-2.015-7.46c.382.005 3.901.02 7.897-1.041a55 55 0 0 0-3.167-4.94 8.57 8.57 0 0 0-4.73 5.981m6.359-6.555a46 46 0 0 1 3.187 5c3.037-1.138 4.323-2.867 4.477-3.085a8.51 8.51 0 0 0-7.664-1.915m8.614 2.903c-.18.243-1.612 2.078-4.77 3.367a27 27 0 0 1 .751 1.678c2.842-.357 5.666.215 5.948.275a8.5 8.5 0 0 0-1.929-5.32"})))},{name:"dropbox",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12 6.134 6.069 9.797 2 6.54l5.883-3.843zm-10 6.92 5.883 3.843L12 13.459 6.069 9.797zm10 .405 4.116 3.439L22 13.054l-4.069-3.257zM22 6.54l-5.884-3.843L12 6.134l5.931 3.663zm-9.989 7.66-4.129 3.426-1.767-1.153v1.291l5.896 3.539 5.897-3.539v-1.291l-1.769 1.153z"})))},{name:"eventbrite",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M18.041 3.931 5.959 3A2.96 2.96 0 0 0 3 5.959v12.083A2.96 2.96 0 0 0 5.959 21l12.083-.931C19.699 19.983 21 18.744 21 17.11V6.89c0-1.634-1.259-2.863-2.959-2.959M16.933 8.17c-.082.215-.192.432-.378.551-.188.122-.489.132-.799.132-1.521 0-3.062-.048-4.607-.048q-.23 1.061-.451 2.128c.932-.004 1.873.005 2.81.005.726 0 1.462-.069 1.586.525.04.189-.001.426-.052.615-.105.38-.258.676-.625.783-.185.054-.408.058-.646.058-1.145 0-2.345.017-3.493.02-.169.772-.328 1.553-.489 2.333 1.57-.005 3.067-.041 4.633-.058.627-.007 1.085.194 1.009.85a2.2 2.2 0 0 1-.211.725c-.102.208-.248.376-.488.452-.237.075-.541.064-.862.078-.304.014-.614.008-.924.016-.309.009-.619.022-.919.022-1.253 0-2.429.08-3.683.073-.603-.004-1.014-.249-1.124-.757-.059-.273-.018-.58.036-.841a3543 3543 0 0 1 1.629-7.763c.056-.265.114-.511.225-.714a1.24 1.24 0 0 1 .79-.62c.368-.099.883-.047 1.344-.047.305 0 .612.008.914.016.925.026 1.817.03 2.747.053.304.007.615.016.915.016.621 0 1.17.073 1.245.614.039.288-.051.567-.132.783"})))},{name:"facebook",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("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-10"})))},{name:"fediverse",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 743 743"},React.createElement("g",null,React.createElement("path",{d:"M181.131 275.137a68.9 68.9 0 0 1-29.465 29.328l161.758 162.389 38.998-19.764zm213.363 214.187-38.998 19.764 81.963 82.283a68.9 68.9 0 0 1 29.471-29.332zM581.646 339.391l-91.576 46.41 6.752 43.189 103.616-52.513a68.9 68.9 0 0 1-18.792-37.086m-144.738 73.351L220.383 522.477a68.9 68.9 0 0 1 18.795 37.089L443.66 455.934zM367.275 142.438l-104.48 203.97 30.848 30.967 110.623-215.957a68.9 68.9 0 0 1-36.991-18.98M235.621 399.459l-52.922 103.314a68.9 68.9 0 0 1 36.987 18.979l46.781-91.328zM150.768 304.918a68.9 68.9 0 0 1-34.416 7.195 69 69 0 0 1-6.651-.695l30.903 197.662a68.9 68.9 0 0 1 34.416-7.195 69 69 0 0 1 6.646.695zM239.342 560.545c.707 4.589.949 9.239.72 13.877a68.9 68.9 0 0 1-7.267 27.18l197.629 31.712c-.708-4.59-.95-9.24-.723-13.878a68.9 68.9 0 0 1 7.27-27.178zM601.133 377.199l-91.219 178.082a68.9 68.9 0 0 1 36.994 18.983l91.217-178.08a68.9 68.9 0 0 1-36.992-18.985M476.723 125.33a68.9 68.9 0 0 1-29.471 29.332l141.266 141.811a68.9 68.9 0 0 1 29.468-29.332zM347.787 104.631l-178.576 90.498a68.9 68.9 0 0 1 18.793 37.086l178.574-90.502a68.9 68.9 0 0 1-18.791-37.082M446.926 154.826a68.9 68.9 0 0 1-34.983 7.483 69 69 0 0 1-6.029-.633l15.818 101.291 43.163 6.926zm-16 167.028 37.4 239.482a68.9 68.9 0 0 1 33.914-6.943q3.625.206 7.207.791L474.09 328.777zM188.131 232.975c.734 4.66.988 9.383.758 14.095a68.9 68.9 0 0 1-7.16 26.983l101.369 16.281 19.923-38.908zm173.736 27.9-19.926 38.912 239.514 38.467a69 69 0 0 1-.695-13.719 68.9 68.9 0 0 1 7.349-27.324z"}),React.createElement("path",{fillOpacity:".996",d:"M412.284 156.054c34.538 1.882 64.061-24.592 65.943-59.13s-24.592-64.062-59.131-65.943c-34.538-1.882-64.061 24.592-65.943 59.13s24.593 64.062 59.131 65.943M646.144 390.82c34.538 1.881 64.062-24.593 65.943-59.131s-24.592-64.061-59.13-65.943-64.062 24.593-65.943 59.131 24.592 64.061 59.13 65.943M495.086 685.719c34.538 1.881 64.062-24.592 65.943-59.13s-24.592-64.062-59.13-65.943-64.062 24.592-65.943 59.13 24.592 64.062 59.13 65.943M167.866 633.211c34.538 1.882 64.062-24.592 65.943-59.13s-24.592-64.062-59.13-65.943-64.062 24.592-65.943 59.13 24.592 64.062 59.13 65.943M116.692 305.86c34.538 1.882 64.062-24.592 65.943-59.13s-24.592-64.062-59.131-65.943c-34.538-1.881-64.061 24.592-65.943 59.13s24.593 64.062 59.131 65.943"})))},{name:"feed",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M2 8.667V12c5.515 0 10 4.485 10 10h3.333c0-7.363-5.97-13.333-13.333-13.333M2 2v3.333c9.19 0 16.667 7.477 16.667 16.667H22C22 10.955 13.045 2 2 2m2.5 15a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5"})))},{name:"flickr",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M6.5 7c-2.75 0-5 2.25-5 5s2.25 5 5 5 5-2.25 5-5-2.25-5-5-5m11 0c-2.75 0-5 2.25-5 5s2.25 5 5 5 5-2.25 5-5-2.25-5-5-5"})))},{name:"foursquare",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M17.573 2H6.905C5.434 2 5 3.107 5 3.805v16.948c0 .785.422 1.077.66 1.172.238.097.892.177 1.285-.275 0 0 5.035-5.843 5.122-5.93.132-.132.132-.132.262-.132h3.26c1.368 0 1.588-.977 1.732-1.552.078-.318.692-3.428 1.225-6.122l.675-3.368C19.56 2.893 19.14 2 17.573 2m-1.078 5.22c-.053.252-.372.518-.665.518h-4.157c-.467 0-.802.318-.802.787v.508c0 .467.337.798.805.798h3.528c.331 0 .655.362.583.715s-.407 2.102-.448 2.295c-.04.193-.262.523-.655.523h-2.88c-.523 0-.683.068-1.033.503-.35.437-3.505 4.223-3.505 4.223-.032.035-.063.027-.063-.015V4.852c0-.298.26-.648.648-.648h8.562c.315 0 .61.297.528.683z"})))},{name:"ghost",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M10.203 20.997H3.005v-3.599h7.198zm10.792-3.599h-7.193v3.599h7.193zm.003-7.198H3v3.599h17.998zm-7.195-7.197H3.005v3.599h10.798zm7.197 0h-3.599v3.599H21z"})))},{name:"git",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M23.519 10.947 13.053.482a1.543 1.543 0 0 0-2.183 0L8.696 2.656l2.756 2.756a1.83 1.83 0 0 1 1.886.439 1.84 1.84 0 0 1 .436 1.898l2.656 2.657a1.83 1.83 0 0 1 1.899.436 1.837 1.837 0 0 1 0 2.597 1.84 1.84 0 0 1-2.599 0 1.84 1.84 0 0 1-.4-1.998l-2.478-2.477v6.521a1.837 1.837 0 0 1 .485 2.945 1.837 1.837 0 0 1-2.597 0 1.837 1.837 0 0 1 0-2.598 1.8 1.8 0 0 1 .602-.401V8.85a1.8 1.8 0 0 1-.602-.4 1.84 1.84 0 0 1-.395-2.009L7.628 3.723.452 10.898a1.544 1.544 0 0 0 0 2.184l10.467 10.467a1.544 1.544 0 0 0 2.183 0l10.417-10.418a1.546 1.546 0 0 0 0-2.184"})))},{name:"github",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12c0 4.419 2.865 8.166 6.839 9.489.5.09.682-.218.682-.484 0-.236-.009-.866-.014-1.699-2.782.602-3.369-1.34-3.369-1.34-.455-1.157-1.11-1.465-1.11-1.465-.909-.62.069-.608.069-.608 1.004.071 1.532 1.03 1.532 1.03.891 1.529 2.341 1.089 2.91.833.091-.647.349-1.086.635-1.337-2.22-.251-4.555-1.111-4.555-4.943 0-1.091.39-1.984 1.03-2.682-.103-.254-.447-1.27.097-2.646 0 0 .84-.269 2.75 1.025A9.6 9.6 0 0 1 12 6.836c.85.004 1.705.114 2.504.336 1.909-1.294 2.748-1.025 2.748-1.025.546 1.376.202 2.394.1 2.646.64.699 1.026 1.591 1.026 2.682 0 3.841-2.337 4.687-4.565 4.935.359.307.679.917.679 1.852 0 1.335-.012 2.415-.012 2.741 0 .269.18.579.688.481A10 10 0 0 0 22 12c0-5.523-4.477-10-10-10"})))},{name:"google-alt",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2m-.05 16c-3.312 0-6-2.688-6-6s2.688-6 6-6c1.62 0 2.976.594 4.014 1.566L14.26 9.222c-.432-.408-1.188-.888-2.31-.888-1.986 0-3.606 1.65-3.606 3.672s1.62 3.672 3.606 3.672c2.298 0 3.144-1.59 3.3-2.532h-3.306v-2.238h5.616c.084.378.15.732.15 1.23 0 3.426-2.298 5.862-5.76 5.862"})))},{name:"google-plus-alt",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M8 11h6.61c.06.35.11.7.11 1.16 0 4-2.68 6.84-6.72 6.84-3.87 0-7-3.13-7-7s3.13-7 7-7c1.89 0 3.47.69 4.69 1.83l-1.9 1.83c-.52-.5-1.43-1.08-2.79-1.08-2.39 0-4.34 1.98-4.34 4.42S5.61 16.42 8 16.42c2.77 0 3.81-1.99 3.97-3.02H8zm15 0h-2V9h-2v2h-2v2h2v2h2v-2h2"})))},{name:"google-plus",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2m-1.919 14.05a4.051 4.051 0 0 1 0-8.1c1.094 0 2.009.401 2.709 1.057l-1.15 1.118a2.23 2.23 0 0 0-1.559-.599c-1.341 0-2.434 1.114-2.434 2.479s1.094 2.479 2.434 2.479c1.551 0 2.122-1.073 2.227-1.709h-2.232v-1.511h3.791c.057.255.101.494.101.83.001 2.312-1.55 3.956-3.887 3.956M19 12.75h-1.25V14h-1.5v-1.25H15v-1.5h1.25V10h1.5v1.25H19z"})))},{name:"google",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12.02 10.18v3.73h5.51c-.26 1.57-1.67 4.22-5.5 4.22-3.31 0-6.01-2.75-6.01-6.12s2.7-6.12 6.01-6.12c1.87 0 3.13.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 0-.83-.11-1.42-.25-2.05z"})))},{name:"instagram",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12 4.622c2.403 0 2.688.009 3.637.052.877.04 1.354.187 1.671.31.42.163.72.358 1.035.673s.51.615.673 1.035c.123.317.27.794.31 1.671.043.949.052 1.234.052 3.637s-.009 2.688-.052 3.637c-.04.877-.187 1.354-.31 1.671-.163.42-.358.72-.673 1.035s-.615.51-1.035.673c-.317.123-.794.27-1.671.31-.949.043-1.233.052-3.637.052s-2.688-.009-3.637-.052c-.877-.04-1.354-.187-1.671-.31a2.8 2.8 0 0 1-1.035-.673 2.8 2.8 0 0 1-.673-1.035c-.123-.317-.27-.794-.31-1.671-.043-.949-.052-1.234-.052-3.637s.009-2.688.052-3.637c.04-.877.187-1.354.31-1.671.163-.42.358-.72.673-1.035s.615-.51 1.035-.673c.317-.123.794-.27 1.671-.31.949-.043 1.234-.052 3.637-.052M12 3c-2.444 0-2.751.01-3.711.054-.958.044-1.612.196-2.184.418a4.4 4.4 0 0 0-1.594 1.039c-.5.5-.808 1.002-1.038 1.594-.223.572-.375 1.226-.419 2.184C3.01 9.249 3 9.556 3 12s.01 2.751.054 3.711c.044.958.196 1.612.418 2.185.23.592.538 1.094 1.038 1.594s1.002.808 1.594 1.038c.572.222 1.227.375 2.185.418.96.044 1.267.054 3.711.054s2.751-.01 3.711-.054c.958-.044 1.612-.196 2.185-.418a4.4 4.4 0 0 0 1.594-1.038c.5-.5.808-1.002 1.038-1.594.222-.572.375-1.227.418-2.185.044-.96.054-1.267.054-3.711s-.01-2.751-.054-3.711c-.044-.958-.196-1.612-.418-2.185A4.4 4.4 0 0 0 19.49 4.51c-.5-.5-1.002-.808-1.594-1.038-.572-.222-1.227-.375-2.185-.418C14.751 3.01 14.444 3 12 3m0 4.378a4.622 4.622 0 1 0 0 9.244 4.622 4.622 0 0 0 0-9.244M12 15a3 3 0 1 1 0-6 3 3 0 0 1 0 6m4.804-8.884a1.08 1.08 0 1 0 .001 2.161 1.08 1.08 0 0 0-.001-2.161"})))},{name:"json-feed",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"m8.522 17.424.027.027c1.076-1.076 1.854-.993 3.154.306l2.053 2.053c2.136 2.136 4.131 2.028 6.515-.356l.729-.728-1.548-1.548-.373.373c-1.349 1.349-2.293 1.366-3.585.075l-2.409-2.409c-1.242-1.242-2.475-1.366-3.659-.381l-.232-.232c1.01-1.225.911-2.368-.29-3.568l-2.16-2.162c-1.317-1.317-1.308-2.236.058-3.602l.372-.372-1.54-1.54-.728.729c-2.393 2.393-2.525 4.346-.439 6.433l1.78 1.78c1.3 1.3 1.383 2.095.315 3.163l.008.008a1.384 1.384 0 0 0 1.952 1.951"}),React.createElement("circle",{cx:"13.089",cy:"10.905",r:"1.383"}),React.createElement("circle",{cx:"16.349",cy:"7.644",r:"1.383"}),React.createElement("circle",{cx:"19.61",cy:"4.383",r:"1.383"})))},{name:"line",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M14.255 9.572v3.333c0 .084-.066.15-.15.15h-.534a.16.16 0 0 1-.122-.061l-1.528-2.063v1.978c0 .084-.066.15-.15.15h-.534a.15.15 0 0 1-.15-.15V9.576c0-.084.066-.15.15-.15h.529a.14.14 0 0 1 .122.066l1.528 2.063V9.577c0-.084.066-.15.15-.15h.534a.15.15 0 0 1 .155.145m-3.844-.15h-.534a.15.15 0 0 0-.15.15v3.333c0 .084.066.15.15.15h.534c.084 0 .15-.066.15-.15V9.572c0-.08-.066-.15-.15-.15m-1.289 2.794H7.664V9.572a.15.15 0 0 0-.15-.15H6.98a.15.15 0 0 0-.15.15v3.333q0 .062.042.103a.16.16 0 0 0 .103.042h2.142c.084 0 .15-.066.15-.15v-.534a.15.15 0 0 0-.145-.15m7.945-2.794h-2.142c-.08 0-.15.066-.15.15v3.333c0 .08.066.15.15.15h2.142c.084 0 .15-.066.15-.15v-.534a.15.15 0 0 0-.15-.15h-1.458v-.563h1.458c.084 0 .15-.066.15-.15v-.539a.15.15 0 0 0-.15-.15h-1.458v-.563h1.458c.084 0 .15-.066.15-.15v-.534c-.005-.08-.07-.15-.15-.15M22.5 5.33v13.373c-.005 2.1-1.725 3.802-3.83 3.797H5.297c-2.1-.005-3.802-1.73-3.797-3.83V5.297c.005-2.1 1.73-3.802 3.83-3.797h13.373c2.1.005 3.802 1.725 3.797 3.83m-2.888 5.747c0-3.422-3.431-6.206-7.645-6.206s-7.645 2.784-7.645 6.206c0 3.066 2.719 5.634 6.394 6.122.895.192.792.52.591 1.725-.033.192-.155.755.661.413s4.402-2.592 6.009-4.439c1.106-1.219 1.636-2.452 1.636-3.82"})))},{name:"link",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M17 13H7v-2h10zm1-6h-1c-1.631 0-3.065.792-3.977 2H18c1.103 0 2 .897 2 2v2c0 1.103-.897 2-2 2h-4.977c.913 1.208 2.347 2 3.977 2h1a4 4 0 0 0 4-4v-2a4 4 0 0 0-4-4M2 11v2a4 4 0 0 0 4 4h1c1.63 0 3.065-.792 3.977-2H6c-1.103 0-2-.897-2-2v-2c0-1.103.897-2 2-2h4.977C10.065 7.792 8.631 7 7 7H6a4 4 0 0 0-4 4"})))},{name:"linkedin",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M19.7 3H4.3A1.3 1.3 0 0 0 3 4.3v15.4A1.3 1.3 0 0 0 4.3 21h15.4a1.3 1.3 0 0 0 1.3-1.3V4.3A1.3 1.3 0 0 0 19.7 3M8.339 18.338H5.667v-8.59h2.672zM7.004 8.574a1.548 1.548 0 1 1-.002-3.096 1.548 1.548 0 0 1 .002 3.096m11.335 9.764H15.67v-4.177c0-.996-.017-2.278-1.387-2.278-1.389 0-1.601 1.086-1.601 2.206v4.249h-2.667v-8.59h2.559v1.174h.037c.356-.675 1.227-1.387 2.526-1.387 2.703 0 3.203 1.779 3.203 4.092v4.711z"})))},{name:"mail",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M20 4H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2m0 4.236-8 4.882-8-4.882V6h16z"})))},{name:"mastodon",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M11.973 2.352c-2.468.02-4.842.286-6.225.921 0 0-2.742 1.229-2.742 5.415 0 .958-.018 2.105.012 3.32.1 4.094.75 8.128 4.535 9.129 1.745.462 3.244.56 4.45.494 2.19-.122 3.417-.781 3.417-.781l-.072-1.588s-1.565.491-3.32.431c-1.74-.06-3.576-.188-3.858-2.324a4 4 0 0 1-.04-.598s1.709.416 3.874.516c1.324.06 2.563-.076 3.824-.226 2.418-.29 4.524-1.78 4.79-3.141.416-2.144.38-5.232.38-5.232 0-4.186-2.74-5.415-2.74-5.415-1.383-.635-3.76-.9-6.227-.921zM9.18 5.622c1.028 0 1.804.395 2.318 1.185l.502.84.5-.84c.514-.79 1.292-1.186 2.32-1.186.888 0 1.605.313 2.15.922q.795.915.794 2.469v5.068h-2.008V9.16c0-1.037-.438-1.562-1.31-1.562-.966 0-1.448.622-1.448 1.857v2.693h-1.996V9.455c0-1.235-.484-1.857-1.45-1.857-.872 0-1.308.525-1.308 1.562v4.92H6.236V9.012q-.001-1.554.793-2.469c.547-.609 1.263-.922 2.15-.922"})))},{name:"medium-alt",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{fillRule:"nonzero",d:"M7.423 6c3.27 0 5.922 2.686 5.922 6s-2.651 6-5.922 6S1.5 15.313 1.5 12s2.652-6 5.923-6m9.458.351c1.635 0 2.961 2.53 2.961 5.65 0 3.118-1.325 5.648-2.96 5.648S13.92 15.119 13.92 12s1.325-5.649 2.96-5.649m4.577.589c.576 0 1.042 2.265 1.042 5.06s-.466 5.06-1.042 5.06c-.575 0-1.04-2.265-1.04-5.06s.465-5.06 1.04-5.06"})))},{name:"medium",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M3 3v18h18V3zm15 4.26-1 .93a.28.28 0 0 0-.11.27v6.8a.27.27 0 0 0 .11.27l.94.93v.2h-4.75v-.2l1-1c.09-.1.09-.12.09-.27V9.74l-2.71 6.9h-.37L8 9.74v4.62a.67.67 0 0 0 .17.54l1.27 1.54v.2H5.86v-.2l1.27-1.54a.64.64 0 0 0 .17-.54V9a.5.5 0 0 0-.16-.4L6 7.26v-.2h3.52L12.23 13l2.38-5.94H18z"})))},{name:"messenger",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12.026.375C5.462.375.375 5.172.375 11.652c0 3.389 1.393 6.318 3.66 8.341.391.352.311.556.377 2.73a.934.934 0 0 0 1.307.823c2.48-1.092 2.512-1.178 2.933-1.064 7.185 1.977 14.973-2.621 14.973-10.83 0-6.48-5.035-11.277-11.599-11.277m6.996 8.678L15.6 14.47a1.75 1.75 0 0 1-2.527.465l-2.723-2.038a.7.7 0 0 0-.844 0l-3.674 2.786c-.49.372-1.133-.216-.802-.735l3.422-5.417a1.75 1.75 0 0 1 2.527-.465l2.722 2.037a.7.7 0 0 0 .844 0L18.22 8.32c.489-.374 1.132.213.801.732"})))},{name:"microblog",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M19.641 17.086c1.294-1.522 2.067-3.438 2.067-5.521 0-4.957-4.371-8.972-9.763-8.972s-9.763 4.015-9.763 8.972 4.371 8.972 9.763 8.972a10.5 10.5 0 0 0 3.486-.59.315.315 0 0 1 .356.112c.816 1.101 2.09 1.876 3.506 2.191a.194.194 0 0 0 .192-.309 3.82 3.82 0 0 1 .162-4.858zm-3.065-6.575-2.514 1.909.912 3.022a.286.286 0 0 1-.437.317l-2.592-1.802-2.592 1.802a.285.285 0 0 1-.436-.317l.912-3.022-2.515-1.909a.285.285 0 0 1 .167-.513l3.155-.066 1.038-2.981a.285.285 0 0 1 .539 0l1.038 2.981 3.155.066a.285.285 0 0 1 .17.513"})))},{name:"nextdoor",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",strokeMiterlimit:"10",viewBox:"0 0 130 130"},React.createElement("g",null,React.createElement("path",{d:"M64.25 3.531c-31.144.337-57.596 24.22-60.469 55.907-3.064 33.799 21.857 63.685 55.657 66.75s63.685-21.857 66.75-55.657-21.857-63.686-55.657-66.75a62 62 0 0 0-6.281-.25m3.938 34.907C82.468 38.438 93.5 48.58 93.5 61.5v27c0 .685-.565 1.25-1.25 1.25H80.906a1.267 1.267 0 0 1-1.25-1.25V63.375c0-5.58-4.309-11.937-11.469-11.937-7.47 0-11.468 6.357-11.468 11.937V88.5c0 .685-.565 1.25-1.25 1.25H44.125c-.68 0-1.219-.57-1.219-1.25V64.156c0-.74-.529-1.364-1.25-1.531-13.13-2.93-15.115-10.285-15.375-21.125-.005-.332.142-.67.375-.906.233-.237.543-.375.875-.375l11.688.062c.66.01 1.187.529 1.218 1.188.13 4.44.438 9.406 4.438 9.406.83 0 1.443-1.179 1.813-1.719 4.41-6.48 12.28-10.718 21.5-10.718"})))},{name:"patreon",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M20 7.408c-.003-2.299-1.746-4.182-3.79-4.862-2.54-.844-5.888-.722-8.312.453-2.939 1.425-3.862 4.545-3.896 7.656-.028 2.559.22 9.297 3.92 9.345 2.75.036 3.159-3.603 4.43-5.356.906-1.247 2.071-1.599 3.506-1.963 2.465-.627 4.146-2.626 4.142-5.273"})))},{name:"pinterest-alt",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12.289 2C6.617 2 3.606 5.648 3.606 9.622c0 1.846 1.025 4.146 2.666 4.878.25.111.381.063.439-.169.044-.175.267-1.029.365-1.428a.37.37 0 0 0-.091-.362c-.54-.63-.975-1.791-.975-2.873 0-2.777 2.194-5.464 5.933-5.464 3.23 0 5.49 2.108 5.49 5.122 0 3.407-1.794 5.768-4.13 5.768-1.291 0-2.257-1.021-1.948-2.277.372-1.495 1.089-3.112 1.089-4.191 0-.967-.542-1.775-1.663-1.775-1.319 0-2.379 1.309-2.379 3.059 0 1.115.394 1.869.394 1.869s-1.302 5.279-1.54 6.261c-.405 1.666.053 4.368.094 4.604.021.126.167.169.25.063.129-.165 1.699-2.419 2.142-4.051.158-.59.817-2.995.817-2.995.43.784 1.681 1.446 3.013 1.446 3.963 0 6.822-3.494 6.822-7.833C20.394 5.112 16.849 2 12.289 2"})))},{name:"pinterest",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12c0 4.236 2.636 7.855 6.356 9.312-.087-.791-.166-2.005.035-2.869.182-.78 1.173-4.971 1.173-4.971s-.299-.599-.299-1.484c0-1.39.806-2.429 1.809-2.429.853 0 1.265.641 1.265 1.409 0 .858-.546 2.141-.828 3.329-.236.996.499 1.807 1.481 1.807 1.777 0 3.144-1.874 3.144-4.579 0-2.394-1.72-4.068-4.177-4.068-2.845 0-4.515 2.134-4.515 4.34 0 .859.331 1.781.744 2.282a.3.3 0 0 1 .069.287c-.077.316-.246.995-.279 1.134-.044.183-.145.222-.334.134-1.249-.581-2.03-2.407-2.03-3.874 0-3.154 2.292-6.051 6.607-6.051 3.469 0 6.165 2.472 6.165 5.775 0 3.446-2.173 6.22-5.189 6.22-1.013 0-1.966-.526-2.292-1.148l-.623 2.377c-.226.869-.835 1.957-1.243 2.622.936.289 1.93.445 2.961.445 5.523 0 10-4.477 10-10S17.523 2 12 2"})))},{name:"pocket",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M21.927 4.194A1.82 1.82 0 0 0 20.222 3H3.839a1.823 1.823 0 0 0-1.813 1.814v6.035l.069 1.2c.29 2.73 1.707 5.115 3.899 6.778l.119.089.025.018a9.9 9.9 0 0 0 3.91 1.727 10.06 10.06 0 0 0 4.049-.014.3.3 0 0 0 .064-.023 9.9 9.9 0 0 0 3.753-1.691l.025-.018q.06-.043.119-.089c2.192-1.664 3.609-4.049 3.898-6.778l.069-1.2V4.814a1.8 1.8 0 0 0-.098-.62m-4.235 6.287-4.704 4.512a1.37 1.37 0 0 1-1.898 0l-4.705-4.512a1.371 1.371 0 1 1 1.898-1.979l3.756 3.601 3.755-3.601a1.372 1.372 0 0 1 1.898 1.979"})))},{name:"polldaddy",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12 2C6.487 2 2 6.487 2 12c0 5.514 4.487 10 10 10 5.514 0 10-4.486 10-10 0-5.513-4.486-10-10-10m.991 1.68c2.361.084 4.657 1.251 6.197 3.136.283.334.541.693.774 1.067a7.78 7.78 0 0 0-6.094-2.94 7.76 7.76 0 0 0-5.896 2.703q-.008.006-.016.014l-.152.159-.031.032a6.12 6.12 0 0 0-1.633 4.165 6.15 6.15 0 0 0 6.143 6.143c.57 0 1.123-.081 1.649-.227-1.849.839-4.131.747-5.926-.324-1.841-1.089-3.171-3.111-3.433-5.313A7.39 7.39 0 0 1 6.69 6.137C8.294 4.5 10.634 3.563 12.991 3.68m3.373 8.519c-.049-2.024-1.587-3.889-3.544-4.174-1.927-.343-3.917.857-4.451 2.661a3.67 3.67 0 0 0 .2 2.653c.39.8 1.067 1.451 1.894 1.759 1.664.654 3.63-.27 4.173-1.863.593-1.58-.396-3.423-1.94-3.776-1.52-.407-3.161.757-3.204 2.243a2.36 2.36 0 0 0 .753 1.879c.501.476 1.23.667 1.871.529a2.07 2.07 0 0 0 1.469-1.134 1.91 1.91 0 0 0-.087-1.767c-.297-.513-.859-.863-1.429-.881a1.7 1.7 0 0 0-1.437.679 1.53 1.53 0 0 0-.18 1.489q.006.016.016.03c.193.634.774 1.1 1.467 1.117a1.6 1.6 0 0 1-.97-.183c-.466-.244-.809-.747-.893-1.29a1.8 1.8 0 0 1 .499-1.539 2.02 2.02 0 0 1 1.58-.606c.593.04 1.159.35 1.517.859.364.496.51 1.156.383 1.773-.116.62-.529 1.174-1.093 1.514a2.52 2.52 0 0 1-1.914.286c-.65-.161-1.226-.606-1.584-1.206a2.83 2.83 0 0 1-.341-2.031c.143-.7.573-1.321 1.176-1.753 1.193-.883 3.056-.751 4.106.411 1.106 1.1 1.327 3.027.406 4.371-.877 1.376-2.74 2.086-4.374 1.594-1.639-.449-2.913-2.079-3.031-3.853-.07-.884.13-1.797.583-2.577.445-.777 1.155-1.432 1.972-1.862 1.64-.88 3.816-.743 5.349.424 1.251.924 2.083 2.42 2.236 4.009l.001.03c0 2.9-2.359 5.26-5.26 5.26a5.2 5.2 0 0 1-1.947-.376 5 5 0 0 0 2.613-.079 4.96 4.96 0 0 0 2.514-1.751c.618-.828.95-1.861.901-2.869M12 21.113c-5.024 0-9.111-4.087-9.111-9.113 0-4.789 3.713-8.723 8.411-9.081a7 7 0 0 0-.397.06c-2.644.453-5.017 2.106-6.32 4.409-1.309 2.301-1.391 5.19-.3 7.527 1.056 2.34 3.253 4.156 5.776 4.553 2.497.44 5.133-.483 6.787-2.301 1.719-1.797 2.269-4.529 1.486-6.796-.583-1.81-1.976-3.331-3.7-4.046 3.417.594 6.174 3.221 6.174 6.781 0 1.004-.241 2.02-.657 2.966-1.498 2.984-4.586 5.041-8.149 5.041"})))},{name:"print",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M9 16h6v2H9zm13 1h-3v3a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-3H2V9a2 2 0 0 1 2-2h1V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v2h1a2 2 0 0 1 2 2zM7 7h10V5H7zm10 7H7v6h10zm3-3.5a1.5 1.5 0 1 0-3.001.001A1.5 1.5 0 0 0 20 10.5"})))},{name:"quora",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M47.736 16.521c-.41-.81-.898-1.631-1.846-1.631a1 1 0 0 0-.527.107l-.322-.644a2.93 2.93 0 0 1 1.836-.595c1.26 0 1.914.605 2.431 1.397a6.8 6.8 0 0 0 .449-2.675c0-2.773-.869-4.199-2.929-4.199-1.992 0-2.851 1.465-2.851 4.199s.859 4.17 2.851 4.17a4 4 0 0 0 .869-.107zm.498.966a6 6 0 0 1-1.367.185 5.27 5.27 0 0 1-5.263-5.204c0-3.114 2.558-5.233 5.263-5.233s5.282 2.109 5.282 5.233a5.08 5.08 0 0 1-1.992 4.072c.381.566.781.956 1.319.956.595 0 .839-.459.878-.82h.781c.049.488-.195 2.48-2.373 2.48-1.319 0-2.012-.761-2.529-1.66zm5.624-2.646v-3.563c0-.371-.146-.586-.615-.586h-.498v-.956h3.251v5.048c0 .849.459 1.231 1.161 1.231a1.56 1.56 0 0 0 1.465-.839V11.28c0-.371-.146-.586-.615-.586h-.527v-.957h3.28v5.302c0 .527.195.732.8.732h.107v.976l-2.929.468V16.21h-.057a3.12 3.12 0 0 1-2.509 1.152c-1.28 0-2.304-.644-2.304-2.558zm12.059 1.611c1.152 0 1.592-1.005 1.611-3.027.02-1.982-.459-2.929-1.611-2.929-1.005 0-1.641.956-1.641 2.929 0 2.021.625 3.027 1.641 3.027m0 .956a3.906 3.906 0 0 1-3.974-3.974c0-2.334 1.836-3.886 3.974-3.886 2.226 0 4.004 1.582 4.004 3.886a3.867 3.867 0 0 1-4.004 3.974m4.072-.146v-.956h.312c.781 0 .859-.224.859-.908v-4.121c0-.371-.215-.586-.732-.586h-.42v-.955h2.968l.146 1.553h.108c.371-1.113 1.221-1.699 2.051-1.699.693 0 1.221.39 1.221 1.181 0 .547-.264 1.093-1.005 1.093-.664 0-.8-.449-1.358-.449-.488 0-.869.468-.869 1.152v2.783c0 .673.166.908.937.908h.439v.956h-4.658zm9.901-1.093c.956 0 1.338-.898 1.338-1.797v-1.211c-.732.722-2.304.742-2.304 2.021 0 .625.371.986.966.986m1.387 0c-.39.752-1.191 1.26-2.314 1.26-1.309 0-2.148-.732-2.148-1.914 0-2.451 3.417-1.797 4.423-3.427v-.185c0-1.25-.488-1.445-1.035-1.445-1.524 0-.83 1.631-2.226 1.631-.673 0-.937-.371-.937-.859 0-.927 1.093-1.67 3.173-1.67 1.963 0 3.163.537 3.163 2.49v3.114q-.02.742.595.742a1 1 0 0 0 .449-.127l.254.615c-.205.312-.752.869-1.836.869-.908 0-1.465-.42-1.543-1.113h-.01zm-68.554 2.558c-.83-1.641-1.807-3.3-3.711-3.3a2.9 2.9 0 0 0-1.093.215l-.644-1.299a5.66 5.66 0 0 1 3.662-1.211c2.548 0 3.857 1.231 4.892 2.792q.917-2.012.908-5.38c0-5.585-1.748-8.417-5.829-8.417-4.033 0-5.76 2.87-5.76 8.417s1.738 8.397 5.76 8.397a5.9 5.9 0 0 0 1.748-.224zm.996 1.953a9.8 9.8 0 0 1-2.744.371C5.614 21.041.371 16.764.371 10.545.371 4.277 5.614 0 10.965 0c5.448 0 10.642 4.248 10.642 10.545a10.25 10.25 0 0 1-4.013 8.201c.732 1.152 1.563 1.914 2.665 1.914 1.201 0 1.689-.927 1.768-1.66h1.572c.088.966-.4 4.999-4.775 4.999-2.646 0-4.052-1.543-5.106-3.339z"})))},{name:"reddit",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M22 11.816a2.28 2.28 0 0 0-2.277-2.277c-.593 0-1.122.24-1.526.614-1.481-.965-3.455-1.594-5.647-1.69l1.171-3.702 3.18.748a1.88 1.88 0 0 0 1.876 1.862 1.88 1.88 0 0 0 1.877-1.878 1.88 1.88 0 0 0-1.877-1.877c-.769 0-1.431.466-1.72 1.13l-3.508-.826a.386.386 0 0 0-.46.261l-1.35 4.268c-2.316.038-4.411.67-5.97 1.671a2.24 2.24 0 0 0-1.492-.581A2.28 2.28 0 0 0 2 11.816c0 .814.433 1.523 1.078 1.925a4 4 0 0 0-.061.672c0 3.292 4.011 5.97 8.941 5.97s8.941-2.678 8.941-5.97q-.002-.32-.053-.632A2.26 2.26 0 0 0 22 11.816m-3.224-7.422a1.1 1.1 0 1 1-.001 2.199 1.1 1.1 0 0 1 .001-2.199M2.777 11.816c0-.827.672-1.5 1.499-1.5.313 0 .598.103.838.269-.851.676-1.477 1.479-1.812 2.36a1.48 1.48 0 0 1-.525-1.129m9.182 7.79c-4.501 0-8.164-2.329-8.164-5.193S7.457 9.22 11.959 9.22s8.164 2.329 8.164 5.193-3.663 5.193-8.164 5.193m8.677-6.605c-.326-.89-.948-1.701-1.797-2.384.248-.186.55-.301.883-.301.827 0 1.5.673 1.5 1.5.001.483-.23.911-.586 1.185m-11.64 1.703c-.76 0-1.397-.616-1.397-1.376s.637-1.397 1.397-1.397 1.376.637 1.376 1.397-.616 1.376-1.376 1.376m7.405-1.376c0 .76-.616 1.376-1.376 1.376s-1.399-.616-1.399-1.376.639-1.397 1.399-1.397 1.376.637 1.376 1.397m-1.172 3.38a.39.39 0 0 1 0 .55c-.674.674-1.727 1.002-3.219 1.002l-.011-.002-.011.002c-1.492 0-2.544-.328-3.218-1.002a.389.389 0 1 1 .55-.55c.521.521 1.394.775 2.669.775l.011.002.011-.002c1.275 0 2.148-.253 2.669-.775a.387.387 0 0 1 .549 0"})))},{name:"share",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M18 16c-.788 0-1.499.31-2.034.807L8.91 12.7c.05-.23.09-.46.09-.7s-.04-.47-.09-.7l7.05-4.11c.54.5 1.25.81 2.04.81 1.66 0 3-1.34 3-3s-1.34-3-3-3-3 1.34-3 3c0 .24.04.47.09.7L8.04 9.81C7.5 9.31 6.79 9 6 9c-1.66 0-3 1.34-3 3s1.34 3 3 3c.79 0 1.5-.31 2.04-.81l7.048 4.118A3 3 0 0 0 15 19a3 3 0 1 0 3-3"})))},{name:"skype",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"m10.113 2.699.1-.02q.05.025.098.051zM2.72 10.223l-.017.103q.025.048.051.095zm18.555 3.548q.009-.053.018-.106-.025-.047-.052-.095zm-7.712 7.428q.049.027.096.053l.105-.017zM22 16.386a5.55 5.55 0 0 1-1.637 3.953 5.55 5.55 0 0 1-3.953 1.637 5.6 5.6 0 0 1-2.75-.725l.105-.017-.202-.035q.049.027.096.053a9.5 9.5 0 0 1-1.654.147 9.4 9.4 0 0 1-3.676-.743 9.4 9.4 0 0 1-3.002-2.023 9.4 9.4 0 0 1-2.023-3.002 9.4 9.4 0 0 1-.743-3.676c0-.546.049-1.093.142-1.628q.025.048.051.095l-.034-.199-.017.103A5.6 5.6 0 0 1 2 7.615c0-1.493.582-2.898 1.637-3.953A5.56 5.56 0 0 1 7.59 2.024c.915 0 1.818.228 2.622.655l-.1.02.199.031q-.049-.026-.098-.051l.004-.001a9.5 9.5 0 0 1 1.788-.169 9.41 9.41 0 0 1 6.678 2.766 9.4 9.4 0 0 1 2.024 3.002 9.4 9.4 0 0 1 .743 3.676c0 .575-.054 1.15-.157 1.712q-.025-.047-.052-.095l.034.201q.009-.053.018-.106c.461.829.707 1.767.707 2.721m-5.183-2.248c0-1.331-.613-2.743-3.033-3.282l-2.209-.49c-.84-.192-1.807-.444-1.807-1.237s.679-1.348 1.903-1.348c2.468 0 2.243 1.696 3.468 1.696.645 0 1.209-.379 1.209-1.031 0-1.521-2.435-2.663-4.5-2.663-2.242 0-4.63.952-4.63 3.488 0 1.221.436 2.521 2.839 3.123l2.984.745c.903.223 1.129.731 1.129 1.189 0 .762-.758 1.507-2.129 1.507-2.679 0-2.307-2.062-3.743-2.062-.645 0-1.113.444-1.113 1.078 0 1.236 1.501 2.886 4.856 2.886 3.195 0 4.776-1.538 4.776-3.599"})))},{name:"sms",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M17.696 4C20.069 4 22 5.973 22 8.398v4.357c0 2.04-1.368 3.783-3.261 4.266v4.427l-5.234-4.295h-7.2C3.93 17.153 2 15.18 2 12.755V8.398C2 5.973 3.931 4 6.304 4zM7.028 8.515c-.98 0-1.66.562-1.66 1.349-.009.497.322.91.985 1.178l.39.142c.242.097.305.171.305.297 0 .162-.131.251-.442.251s-.76-.135-1.004-.284l-.112.046-.215.868c.359.258.832.364 1.33.364 1.104 0 1.764-.523 1.764-1.333-.008-.574-.305-.956-.954-1.216l-.393-.146c-.266-.108-.341-.181-.341-.287 0-.152.131-.243.387-.243.274 0 .587.093.808.214l.109-.047.214-.837c-.315-.224-.741-.316-1.171-.316m10.302 0c-.98 0-1.66.562-1.66 1.349-.008.497.322.91.985 1.178l.39.142c.243.097.305.171.305.297 0 .162-.13.251-.442.251-.311 0-.76-.135-1.004-.284l-.112.046-.215.868c.359.258.832.364 1.33.364 1.104 0 1.764-.523 1.764-1.333-.008-.574-.305-.956-.954-1.216l-.393-.146c-.266-.108-.341-.181-.341-.287 0-.152.131-.243.387-.243.274 0 .587.093.808.214l.109-.047.214-.837c-.316-.224-.741-.316-1.171-.316m-3.733 0c-.297 0-.55.066-.78.202l-.144.098a2 2 0 0 0-.264.247l-.078.095-.027-.077c-.15-.34-.55-.565-1.033-.565l-.169.007a1.36 1.36 0 0 0-.896.42l-.08.09-.038-.363-.075-.067H8.994l-.075.079.024.634c.005.2.008.397.008.604v2.652l.075.075h1.178l.075-.075v-2.269q-.002-.168.042-.274c.083-.23.262-.392.496-.392.314 0 .483.267.483.753v2.182l.075.075h1.179l.075-.075v-2.277c0-.097.016-.213.043-.285.077-.224.26-.373.486-.373.33 0 .5.272.5.817v2.118l.074.075h1.179l.075-.075v-2.293c0-1.131-.537-1.763-1.39-1.763Z"})))},{name:"snapchat",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M11.989 1.728c3.221.001 5.904 2.683 5.908 5.912q.002 1.133.067 2.094a.737.737 0 0 0 .902.669l1.009-.237a.6.6 0 0 1 .129-.015c.256 0 .492.175.55.434a.74.74 0 0 1-.479.861l-1.532.618a.823.823 0 0 0-.485.98c1.229 4.543 4.661 4.071 4.661 4.662 0 .743-2.587.848-2.821 1.082s-.01 1.368-.532 1.588a1.1 1.1 0 0 1-.409.056c-.393 0-.95-.077-1.536-.077-.509 0-1.04.058-1.507.273-1.239.572-2.433 1.641-3.914 1.641S9.325 21.2 8.086 20.628c-.467-.216-.998-.273-1.507-.273-.586 0-1.143.077-1.536.077-.17 0-.31-.014-.409-.056-.522-.22-.299-1.354-.532-1.588s-2.821-.337-2.821-1.08c0-.592 3.432-.119 4.661-4.662a.824.824 0 0 0-.486-.98l-1.532-.618a.74.74 0 0 1-.479-.861.56.56 0 0 1 .679-.419l1.009.237q.086.02.169.02a.737.737 0 0 0 .733-.689q.065-.961.067-2.094c.004-3.229 2.666-5.91 5.887-5.912m0-1.281c-.961 0-1.898.194-2.784.574A7.2 7.2 0 0 0 6.93 2.572a7.2 7.2 0 0 0-1.539 2.282A7.1 7.1 0 0 0 4.82 7.64a33 33 0 0 1-.029 1.369l-.375-.088a2 2 0 0 0-.421-.049 1.86 1.86 0 0 0-1.135.389 1.84 1.84 0 0 0-.666 1.049 2.024 2.024 0 0 0 1.271 2.335l1.124.454c-.744 2.285-2.117 2.723-3.041 3.018a5 5 0 0 0-.659.246C.087 16.76 0 17.436 0 17.708c0 .521.247.996.694 1.339.223.17.499.311.844.43.47.162 1.016.265 1.459.347.021.164.053.341.106.518.22.738.684 1.069 1.034 1.217.332.14.676.156.905.156.224 0 .462-.018.713-.036.269-.02.548-.041.823-.041.426 0 .743.051.97.155.311.144.64.337.989.542.972.571 2.073 1.217 3.462 1.217s2.49-.647 3.462-1.217c.349-.205.679-.399.989-.542.226-.105.544-.155.97-.155.275 0 .554.021.823.041.251.019.488.036.713.036.229 0 .573-.016.905-.156.35-.147.814-.478 1.034-1.217.053-.178.084-.354.106-.518.443-.082.989-.185 1.459-.347.345-.119.621-.259.844-.43.448-.342.694-.818.694-1.339 0-.272-.087-.948-.891-1.347a5 5 0 0 0-.659-.246c-.924-.295-2.297-.733-3.041-3.018l1.124-.454a2.025 2.025 0 0 0 1.271-2.335 1.83 1.83 0 0 0-.666-1.049 1.86 1.86 0 0 0-1.556-.34l-.375.088a33 33 0 0 1-.029-1.369 7.1 7.1 0 0 0-.575-2.789c-.365-.853-.886-1.62-1.547-2.282s-1.428-1.182-2.28-1.547a7.1 7.1 0 0 0-2.786-.574"})))},{name:"soundcloud",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M23.587 13.923a3.303 3.303 0 0 1-3.344 3.117h-8.037a.674.674 0 0 1-.667-.67V7.717a.74.74 0 0 1 .444-.705s.739-.512 2.296-.512a5.27 5.27 0 0 1 2.702.742 5.35 5.35 0 0 1 2.516 3.485 3.1 3.1 0 0 1 .852-.116 3.217 3.217 0 0 1 3.237 3.312m-13.05-5.659c.242 2.935.419 5.612 0 8.538a.261.261 0 0 1-.519 0c-.39-2.901-.221-5.628 0-8.538a.26.26 0 0 1 .398-.25.26.26 0 0 1 .12.25zm-1.627 8.541a.273.273 0 0 1-.541 0 32.7 32.7 0 0 1 0-7.533.274.274 0 0 1 .544 0 29.4 29.4 0 0 1-.003 7.533m-1.63-7.788c.264 2.69.384 5.099-.003 7.782a.262.262 0 0 1-.522 0c-.374-2.649-.249-5.127 0-7.782a.264.264 0 0 1 .525 0m-1.631 7.792a.268.268 0 0 1-.532 0 27.6 27.6 0 0 1 0-7.034.27.27 0 1 1 .541 0 25.8 25.8 0 0 1-.01 7.034zm-1.63-5.276c.412 1.824.227 3.435-.015 5.294a.255.255 0 0 1-.504 0c-.22-1.834-.402-3.482-.015-5.295a.268.268 0 0 1 .535 0m-1.626-.277c.378 1.869.254 3.451-.01 5.325-.031.277-.506.28-.531 0-.239-1.846-.352-3.476-.01-5.325a.277.277 0 0 1 .551 0m-1.643.907c.396 1.239.261 2.246-.016 3.517a.258.258 0 0 1-.514 0c-.239-1.246-.336-2.274-.021-3.517a.276.276 0 0 1 .55 0z"})))},{name:"spotify",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2m4.586 14.424a.62.62 0 0 1-.857.207c-2.348-1.435-5.304-1.76-8.785-.964a.622.622 0 1 1-.277-1.215c3.809-.871 7.077-.496 9.713 1.115a.623.623 0 0 1 .206.857M17.81 13.7a.78.78 0 0 1-1.072.257c-2.687-1.652-6.785-2.131-9.965-1.166A.779.779 0 1 1 6.32 11.3c3.632-1.102 8.147-.568 11.234 1.328a.78.78 0 0 1 .256 1.072m.105-2.835c-3.223-1.914-8.54-2.09-11.618-1.156a.935.935 0 1 1-.542-1.79c3.532-1.072 9.404-.865 13.115 1.338a.936.936 0 1 1-.955 1.608"})))},{name:"squarespace",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M20.87 9.271a3.86 3.86 0 0 0-5.458 0l-6.141 6.141a.964.964 0 1 0 1.365 1.364l6.14-6.14a1.929 1.929 0 1 1 2.729 2.729l-6.022 6.022a1.93 1.93 0 0 0 2.729 0l4.658-4.658a3.86 3.86 0 0 0 0-5.458m-2.047 2.047a.965.965 0 0 0-1.365 0l-6.14 6.14a1.93 1.93 0 0 1-2.729 0 .964.964 0 1 0-1.364 1.364 3.86 3.86 0 0 0 5.458 0l6.14-6.14a.966.966 0 0 0 0-1.364m-2.047-6.141a3.86 3.86 0 0 0-5.458 0l-6.14 6.14a.964.964 0 1 0 1.364 1.364l6.141-6.14a1.93 1.93 0 0 1 2.729 0 .965.965 0 1 0 1.364-1.364m-2.047 2.047a.964.964 0 0 0-1.364 0l-6.14 6.141a1.929 1.929 0 1 1-2.729-2.729l6.022-6.022a1.93 1.93 0 0 0-2.729 0L3.13 9.271a3.86 3.86 0 0 0 5.458 5.458l6.14-6.141a.963.963 0 0 0 .001-1.364"})))},{name:"stackexchange",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M4 11.606h16v3.272H4zM4 7.377h16v3.272H4zM17.514 3H6.55C5.147 3 4 4.169 4 5.614v.848h16v-.85C20 4.167 18.895 3 17.514 3M4 15.813v.85c0 1.445 1.147 2.614 2.55 2.614h6.799v3.463l3.357-3.463h.744c1.402 0 2.55-1.169 2.55-2.614v-.85z"})))},{name:"stackoverflow",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M18.18 20.103V14.78h1.767v7.09H4v-7.09h1.767v5.323z"}),React.createElement("path",{d:"m7.717 14.275 8.673 1.813.367-1.744-8.673-1.813zm1.147-4.13 8.031 3.74.734-1.606-8.031-3.763zm2.226-3.946 6.815 5.667 1.124-1.354-6.815-5.667zM15.495 2l-1.423 1.055 5.277 7.113 1.423-1.055zM7.533 18.314h8.857v-1.767H7.533z"})))},{name:"stumbleupon",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12 4.294a4.47 4.47 0 0 0-4.471 4.471v6.353a1.059 1.059 0 1 1-2.118 0v-2.824H2v2.941a4.471 4.471 0 0 0 8.942 0v-6.47a1.059 1.059 0 1 1 2.118 0v1.294l1.412.647 2-.647V8.765A4.473 4.473 0 0 0 12 4.294m1.059 8.059v2.882a4.471 4.471 0 0 0 8.941 0v-2.824h-3.412v2.824a1.059 1.059 0 1 1-2.118 0v-2.882l-2 .647z"})))},{name:"substack",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M19.904 9.182H4.095V7.054h15.81v2.127M4.095 11.109V21L12 16.583 19.905 21v-9.891zM19.905 3H4.095v2.127h15.81z"})))},{name:"telegram",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2m3.08 14.757s-.25.625-.936.325l-2.541-1.949-1.63 1.486s-.127.096-.266.036c0 0-.12-.011-.27-.486s-.911-2.972-.911-2.972L6 12.349s-.387-.137-.425-.438c-.037-.3.437-.462.437-.462l10.03-3.934s.824-.362.824.238z"})))},{name:"threads",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 192 192"},React.createElement("g",null,React.createElement("path",{d:"M141.537 88.988a67 67 0 0 0-2.518-1.143c-1.482-27.307-16.403-42.94-41.457-43.1h-.34c-14.986 0-27.449 6.396-35.12 18.036l13.779 9.452c5.73-8.695 14.724-10.548 21.348-10.548h.229c8.249.053 14.474 2.452 18.503 7.129 2.932 3.405 4.893 8.111 5.864 14.05-7.314-1.243-15.224-1.626-23.68-1.14-23.82 1.371-39.134 15.264-38.105 34.568.522 9.792 5.4 18.216 13.735 23.719 7.047 4.652 16.124 6.927 25.557 6.412 12.458-.683 22.231-5.436 29.049-14.127 5.178-6.6 8.453-15.153 9.899-25.93 5.937 3.583 10.337 8.298 12.767 13.966 4.132 9.635 4.373 25.468-8.546 38.376-11.319 11.308-24.925 16.2-45.488 16.351-22.809-.169-40.06-7.484-51.275-21.742C35.236 139.966 29.808 120.682 29.605 96c.203-24.682 5.63-43.966 16.133-57.317C56.954 24.425 74.204 17.11 97.013 16.94c22.975.17 40.526 7.52 52.171 21.847 5.71 7.026 10.015 15.86 12.853 26.162l16.147-4.308c-3.44-12.68-8.853-23.606-16.219-32.668C147.036 9.607 125.202.195 97.07 0h-.113C68.882.194 47.292 9.642 32.788 28.08 19.882 44.485 13.224 67.315 13.001 95.932L13 96v.067c.224 28.617 6.882 51.447 19.788 67.854C47.292 182.358 68.882 191.806 96.957 192h.113c24.96-.173 42.554-6.708 57.048-21.189 18.963-18.945 18.392-42.692 12.142-57.27-4.484-10.454-13.033-18.945-24.723-24.553M98.44 129.507c-10.44.588-21.286-4.098-21.82-14.135-.397-7.442 5.296-15.746 22.461-16.735q2.948-.17 5.79-.169c6.235 0 12.068.606 17.371 1.765-1.978 24.702-13.58 28.713-23.802 29.274"})))},{name:"tiktok-alt",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M5 3a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2zm7.531 3h2.053s-.114 2.635 2.85 2.82v2.04s-1.582.099-2.85-.87l.021 4.207a3.804 3.804 0 1 1-3.802-3.802h.533v2.082a1.73 1.73 0 0 0-1.922.648 1.727 1.727 0 0 0 1.947 2.646 1.73 1.73 0 0 0 1.19-1.642z"})))},{name:"tiktok",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12.22 2h3.42s-.19 4.394 4.75 4.702v3.396s-2.636.166-4.75-1.448l.037 7.012a6.338 6.338 0 1 1-6.34-6.339h.89v3.472a2.882 2.882 0 1 0 2.024 2.752z"})))},{name:"tripadvisor",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M21.01 9.859c.236-1.002.985-2.003.985-2.003l-3.341-.002C16.779 6.643 14.502 6 11.979 6 9.363 6 7 6.659 5.135 7.877L2 7.88s.74.988.98 1.983a4.98 4.98 0 0 0-.977 2.961 5.01 5.01 0 0 0 5.009 5.003 5 5 0 0 0 3.904-1.875l1.065 1.592 1.076-1.606a4.96 4.96 0 0 0 1.838 1.448 4.98 4.98 0 0 0 3.831.151 5.01 5.01 0 0 0 2.963-6.431 5 5 0 0 0-.679-1.247m-13.998 6.96a4 4 0 0 1-3.998-3.995 4 4 0 0 1 3.998-3.997 4 4 0 0 1 3.996 3.997 4 4 0 0 1-3.996 3.995m4.987-4.36A5.007 5.007 0 0 0 7.11 7.821c1.434-.613 3.081-.947 4.867-.947 1.798 0 3.421.324 4.853.966a4.984 4.984 0 0 0-4.831 4.619m6.288 4.134a3.97 3.97 0 0 1-3.058-.122 3.96 3.96 0 0 1-2.075-2.245v-.001a3.97 3.97 0 0 1 .118-3.056 3.97 3.97 0 0 1 2.246-2.077 4.005 4.005 0 0 1 5.135 2.366 4.006 4.006 0 0 1-2.366 5.135"}),React.createElement("path",{d:"M6.949 10.307a2.477 2.477 0 0 0-2.475 2.472 2.48 2.48 0 0 0 2.475 2.474 2.474 2.474 0 0 0 0-4.946m0 4.094a1.626 1.626 0 0 1-1.624-1.623 1.621 1.621 0 1 1 1.624 1.623M16.981 10.307a2.477 2.477 0 0 0-2.474 2.472 2.48 2.48 0 0 0 2.474 2.474 2.476 2.476 0 0 0 2.472-2.474 2.475 2.475 0 0 0-2.472-2.472m0 4.094a1.625 1.625 0 0 1-1.622-1.623 1.622 1.622 0 1 1 1.622 1.623"}),React.createElement("path",{d:"M7.778 12.778a.832.832 0 1 1-1.664.002.832.832 0 0 1 1.664-.002M16.981 11.947a.832.832 0 1 0 .002 1.666.832.832 0 0 0-.002-1.666"})))},{name:"tumblr-alt",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M16.749 17.396c-.357.17-1.041.319-1.551.332-1.539.041-1.837-1.081-1.85-1.896V9.847h3.861v-2.91h-3.847V2.039h-2.817c-.046 0-.127.041-.138.144-.165 1.499-.867 4.13-3.783 5.181v2.484h1.945v6.282c0 2.151 1.587 5.206 5.775 5.135 1.413-.024 2.982-.616 3.329-1.126z"})))},{name:"tumblr",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M19 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2m-5.569 14.265c-2.446.042-3.372-1.742-3.372-2.998v-3.668H8.923v-1.45c1.703-.614 2.113-2.15 2.209-3.025.007-.06.054-.084.081-.084h1.645V8.9h2.246v1.7H12.85v3.495c.008.476.182 1.131 1.081 1.107.298-.008.697-.094.906-.194l.54 1.601c-.205.296-1.121.641-1.946.656"})))},{name:"twitch",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M16.499 8.089h-1.636v4.91h1.636zm-4.499 0h-1.637v4.91H12zM4.228 3.178 3 6.451v13.092h4.499V22h2.456l2.454-2.456h3.681L21 14.636V3.178zm15.136 10.638L16.5 16.681H12l-2.453 2.453V16.68H5.863V4.814h13.501z"})))},{name:"twitter-alt",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M22.23 5.924a8.2 8.2 0 0 1-2.357.646 4.12 4.12 0 0 0 1.804-2.27 8.2 8.2 0 0 1-2.606.996 4.103 4.103 0 0 0-6.991 3.742 11.65 11.65 0 0 1-8.457-4.287 4.1 4.1 0 0 0-.556 2.063 4.1 4.1 0 0 0 1.825 3.415 4.1 4.1 0 0 1-1.859-.513v.052a4.104 4.104 0 0 0 3.292 4.023 4.1 4.1 0 0 1-1.853.07 4.11 4.11 0 0 0 3.833 2.85 8.24 8.24 0 0 1-5.096 1.756 8 8 0 0 1-.979-.057 11.6 11.6 0 0 0 6.29 1.843c7.547 0 11.675-6.252 11.675-11.675q0-.267-.012-.531a8.3 8.3 0 0 0 2.047-2.123"})))},{name:"twitter",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M19 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2m-2.534 6.71q.007.148.007.298c0 3.045-2.318 6.556-6.556 6.556a6.5 6.5 0 0 1-3.532-1.035q.27.032.55.032a4.63 4.63 0 0 0 2.862-.986 2.31 2.31 0 0 1-2.152-1.6 2.3 2.3 0 0 0 1.04-.04 2.306 2.306 0 0 1-1.848-2.259v-.029c.311.173.666.276 1.044.288a2.303 2.303 0 0 1-.713-3.076 6.54 6.54 0 0 0 4.749 2.407 2.305 2.305 0 0 1 3.926-2.101 4.6 4.6 0 0 0 1.463-.559 2.3 2.3 0 0 1-1.013 1.275c.466-.056.91-.18 1.323-.363-.31.461-.7.867-1.15 1.192"})))},{name:"untappd",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"m11 13.299-5.824 8.133c-.298.416-.8.635-1.308.572-.578-.072-1.374-.289-2.195-.879S.392 19.849.139 19.323a1.4 1.4 0 0 1 .122-1.425l5.824-8.133a3.1 3.1 0 0 1 1.062-.927l1.146-.604c.23-.121.436-.283.608-.478.556-.631 2.049-2.284 4.696-4.957l.046-.212a.13.13 0 0 1 .096-.1l.146-.037a.135.135 0 0 0 .101-.141l-.015-.18a.13.13 0 0 1 .125-.142c.176-.005.518.046 1.001.393s.64.656.692.824a.13.13 0 0 1-.095.164l-.175.044a.13.13 0 0 0-.101.141l.012.15a.13.13 0 0 1-.063.123l-.186.112c-1.679 3.369-2.764 5.316-3.183 6.046a2.2 2.2 0 0 0-.257.73l-.205 1.281A3.1 3.1 0 0 1 11 13.3zm12.739 4.598-5.824-8.133a3.1 3.1 0 0 0-1.062-.927l-1.146-.605a2.1 2.1 0 0 1-.608-.478 51 51 0 0 0-.587-.654.09.09 0 0 0-.142.018 97 97 0 0 1-1.745 3.223 1.4 1.4 0 0 0-.171.485 3.5 3.5 0 0 0 0 1.103l.01.064c.075.471.259.918.536 1.305l5.824 8.133c.296.413.79.635 1.294.574a4.76 4.76 0 0 0 2.209-.881 4.76 4.76 0 0 0 1.533-1.802 1.4 1.4 0 0 0-.122-1.425zM8.306 3.366l.175.044a.134.134 0 0 1 .101.141l-.012.15a.13.13 0 0 0 .063.123l.186.112q.465.933.869 1.721c.026.051.091.06.129.019q.655-.703 1.585-1.668a.137.137 0 0 0 .003-.19c-.315-.322-.645-.659-1.002-1.02l-.046-.212a.13.13 0 0 0-.096-.099l-.146-.037a.135.135 0 0 1-.101-.141l.015-.18a.13.13 0 0 0-.123-.142c-.175-.005-.518.045-1.002.393-.483.347-.64.656-.692.824a.13.13 0 0 0 .095.164z"})))},{name:"vimeo",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M22.396 7.164q-.139 3.039-4.245 8.32Q13.907 21 10.97 21q-1.82 0-3.079-3.359l-1.68-6.159q-.934-3.36-2.005-3.36-.234.001-1.634.98l-.978-1.261q1.541-1.353 3.037-2.708 2.056-1.774 3.084-1.869 2.429-.234 2.99 3.321.607 3.836.841 4.769.7 3.181 1.542 3.181.653 0 1.963-2.065 1.307-2.063 1.401-3.142.187-1.781-1.401-1.782-.747.001-1.541.341 1.534-5.024 5.862-4.884 3.21.095 3.024 4.161"})))},{name:"vk",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{fillRule:"evenodd",d:"M1.687 1.687C0 3.374 0 6.09 0 11.52v.96c0 5.431 0 8.146 1.687 9.833S6.09 24 11.52 24h.96c5.431 0 8.146 0 9.833-1.687S24 17.91 24 12.48v-.96c0-5.431 0-8.146-1.687-9.833S17.91 0 12.48 0h-.96C6.09 0 3.374 0 1.687 1.687M4.05 7.3c.13 6.24 3.25 9.99 8.72 9.99h.31v-3.57c2.01.2 3.53 1.67 4.14 3.57h2.84c-.78-2.84-2.83-4.41-4.11-5.01 1.28-.74 3.08-2.54 3.51-4.98h-2.58c-.56 1.98-2.22 3.78-3.8 3.95V7.3H10.5v6.92c-1.6-.4-3.62-2.34-3.71-6.92z"})))},{name:"whatsapp",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"m2.048 22 1.406-5.136a9.9 9.9 0 0 1-1.323-4.955C2.133 6.446 6.579 2 12.042 2a9.85 9.85 0 0 1 7.011 2.906 9.85 9.85 0 0 1 2.9 7.011c-.002 5.464-4.448 9.91-9.91 9.91h-.004a9.9 9.9 0 0 1-4.736-1.206zm5.497-3.172.301.179a8.2 8.2 0 0 0 4.193 1.148h.003c4.54 0 8.235-3.695 8.237-8.237a8.2 8.2 0 0 0-2.41-5.828 8.18 8.18 0 0 0-5.824-2.416c-4.544 0-8.239 3.695-8.241 8.237a8.2 8.2 0 0 0 1.259 4.384l.196.312-.832 3.04zm9.49-4.554c-.062-.103-.227-.165-.475-.289s-1.465-.723-1.692-.806-.392-.124-.557.124-.64.806-.784.971-.289.186-.536.062-1.046-.385-1.991-1.229c-.736-.657-1.233-1.468-1.378-1.715s-.015-.382.109-.505c.111-.111.248-.289.371-.434.124-.145.165-.248.248-.413s.041-.31-.021-.434-.557-1.343-.763-1.839c-.202-.483-.407-.417-.559-.425-.144-.007-.31-.009-.475-.009a.9.9 0 0 0-.66.31c-.226.248-.866.847-.866 2.066s.887 2.396 1.011 2.562 1.746 2.666 4.23 3.739c.591.255 1.052.408 1.412.522.593.189 1.133.162 1.56.098.476-.071 1.465-.599 1.671-1.177.206-.58.206-1.075.145-1.179"})))},{name:"woocommerce",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M19 2H5C3.3 2 2 3.3 2 5v11c0 1.7 1.3 3 3 3h4l6 3-1-3h5c1.7 0 3-1.3 3-3V5c0-1.7-1.3-3-3-3m-1.6 4.5c-.4.8-.8 2.1-1 3.9-.3 1.8-.4 3.1-.3 4.1 0 .3 0 .5-.1.7s-.3.4-.6.4-.6-.1-.9-.4c-1-1-1.8-2.6-2.4-4.6-.7 1.4-1.2 2.4-1.6 3.1-.6 1.2-1.2 1.8-1.6 1.9-.3 0-.5-.2-.8-.7-.5-1.4-1.1-4.2-1.7-8.2 0-.3 0-.5.2-.7.1-.2.4-.3.7-.4.5 0 .9.2.9.8.3 2.3.7 4.2 1.1 5.7l2.4-4.5c.2-.4.4-.6.8-.6q.75 0 .9.9c.3 1.4.6 2.6 1 3.7.3-2.7.8-4.7 1.4-5.9.2-.3.4-.5.7-.5.2 0 .5.1.7.2q.3.3.3.6c0 .3 0 .4-.1.5"})))},{name:"wordpress",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12.158 12.786 9.46 20.625a9 9 0 0 0 5.526-.144 1 1 0 0 1-.065-.124zM3.009 12a8.99 8.99 0 0 0 5.067 8.092L3.788 8.341A8.95 8.95 0 0 0 3.009 12m15.06-.454c0-1.112-.399-1.881-.741-2.48-.456-.741-.883-1.368-.883-2.109 0-.826.627-1.596 1.51-1.596q.06.002.116.007A8.96 8.96 0 0 0 12 3.009a8.98 8.98 0 0 0-7.512 4.052c.211.007.41.011.579.011.94 0 2.396-.114 2.396-.114.484-.028.541.684.057.741 0 0-.487.057-1.029.085l3.274 9.739 1.968-5.901-1.401-3.838c-.484-.028-.943-.085-.943-.085-.485-.029-.428-.769.057-.741 0 0 1.484.114 2.368.114.94 0 2.397-.114 2.397-.114.485-.028.542.684.057.741 0 0-.488.057-1.029.085l3.249 9.665.897-2.996q.684-1.753.684-2.907m1.82-3.86q.06.428.06.924c0 .912-.171 1.938-.684 3.22l-2.746 7.94a8.98 8.98 0 0 0 4.47-7.771 8.9 8.9 0 0 0-1.1-4.313M12 22C6.486 22 2 17.514 2 12S6.486 2 12 2s10 4.486 10 10-4.486 10-10 10"})))},{name:"x",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M13.982 10.622 20.54 3h-1.554l-5.693 6.618L8.745 3H3.5l6.876 10.007L3.5 21h1.554l6.012-6.989L15.868 21h5.245zm-2.128 2.474-.697-.997-5.543-7.93H8l4.474 6.4.697.996 5.815 8.318h-2.387z"})))},{name:"xanga",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M9 9h6v6H9zM3 9h6V3H3zm12 0h6V3h-6zm0 12h6v-6h-6zM3 21h6v-6H3z"})))},{name:"youtube",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M21.8 8.001s-.195-1.378-.795-1.985c-.76-.797-1.613-.801-2.004-.847-2.799-.202-6.997-.202-6.997-.202h-.009s-4.198 0-6.997.202c-.39.047-1.242.051-2.003.847-.6.607-.795 1.985-.795 1.985S2 9.62 2 11.238v1.517c0 1.618.2 3.237.2 3.237s.195 1.378.795 1.985c.761.797 1.76.771 2.205.855 1.6.153 6.8.201 6.8.201s4.203-.006 7.001-.209c.391-.047 1.243-.051 2.004-.847.6-.607.795-1.985.795-1.985s.2-1.618.2-3.237v-1.517c0-1.618-.2-3.237-.2-3.237M9.935 14.594l-.001-5.62 5.404 2.82z"})))}]},8992:(e,t,a)=>{"use strict";a(6072);var n=a(8120),r=a.n(n),c=a(1609);a(1135);c.PureComponent,r().string.isRequired,r().number,r().func,r().string},5402:(e,t,a)=>{"use strict";a.d(t,{A:()=>c});var n=a(1113),r=a(9115);const c=({children:e,summary:t})=>React.createElement("details",{className:"jp-forms__details"},React.createElement("summary",{className:"jp-forms__details-summary"},React.createElement(n.A,{className:"jp-forms__details-icon",icon:r.A,size:32}),React.createElement("span",null,t)),React.createElement("div",{className:"jp-forms__details-content"},e," "))},9862:(e,t,a)=>{"use strict";a.d(t,{A:()=>s});var n=a(6427),r=a(6087),c=a(4969),o=a(8468);const s=({options:e=[],onChange:t=o.noop,value:a})=>{const s=(0,r.useMemo)((()=>{if((0,o.isNil)(a)){const t=(0,o.first)(e);return t?.label||""}return(0,o.find)(e,(e=>e.value===a))?.label||""}),[e,a]),i=(0,r.useCallback)(((e,a)=>()=>{t(e.value),a()}),[t]);return React.createElement(n.DropdownMenu,{text:s,icon:c.A,popoverProps:{placement:"bottom-end"},toggleProps:{variant:"secondary",iconPosition:"right"}},(({onClose:t})=>React.createElement(n.MenuGroup,null,(0,o.map)(e,(e=>React.createElement(n.MenuItem,{key:e.value,onClick:i(e,t)},e.label))))))}},1186:(e,t,a)=>{"use strict";a.d(t,{A:()=>s});var n=a(8250),r=a(7723),c=a(3022),o=a(7891);const __=r.__,s=({children:e,className:t,title:a,subtitle:r,showFooter:s})=>{const i=(0,c.A)("jp-forms__layout",t);return React.createElement("div",{className:i},React.createElement("div",{className:"jp-forms__logo-wrapper"},React.createElement(o.A,null)),(a||r)&&React.createElement("div",{className:"jp-forms__layout-header"},a&&React.createElement("h2",{className:"jp-forms__layout-title"},a),r&&React.createElement("p",{className:"jp-forms__header-subtext"},r)),e,s&&React.createElement(n.A,{className:"jp-forms__layout-footer",moduleName:__("Jetpack Forms","jetpack-forms")}))}},7891:(e,t,a)=>{"use strict";a.d(t,{A:()=>n});const n=()=>React.createElement("svg",{className:"jp-forms__logo",width:"330",height:"42",viewBox:"0 0 330 42",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"M21.0008 42C32.5991 42 42.0016 32.5975 42.0016 20.9992C42.0016 9.40089 32.5991 0 21.0008 0C9.40245 0 0 9.40245 0 21.0008C0 32.5991 9.40245 42 21.0008 42Z",fill:"#069E08"}),React.createElement("path",{d:"M22.043 17.4727V37.8312L32.5434 17.4727H22.043V17.4727Z",fill:"white"}),React.createElement("path",{d:"M19.9189 24.4876V4.16797L9.45898 24.4876H19.9189Z",fill:"white"}),React.createElement("path",{d:"M54.2231 34.8656C53.6213 33.9434 53.0614 33.0228 52.5 32.141C55.4657 30.337 56.4672 28.8954 56.4672 26.1692V10.4186H52.9805V7.41406H60.3955V25.3683C60.3955 29.9373 59.0736 32.5018 54.2231 34.8656Z",fill:"black"}),React.createElement("path",{d:"M85.2845 24.1241C85.2845 25.6466 86.3668 25.8067 87.0884 25.8067C87.81 25.8067 88.852 25.5657 89.6529 25.3262V28.1317C88.5301 28.4925 87.3684 28.7724 85.765 28.7724C83.8413 28.7724 81.5972 28.0508 81.5972 24.6839V16.4276H79.5537V13.5817H81.5972V9.375H85.2845V13.5832H89.9328V16.4292H85.2845V24.1241Z",fill:"black"}),React.createElement("path",{d:"M92.9785 36.2696V13.5458H96.5056V14.9081C97.9083 13.8257 99.4713 13.1445 101.395 13.1445C104.721 13.1445 107.367 15.4695 107.367 20.4786C107.367 25.4489 104.482 28.7349 99.7123 28.7349C98.5506 28.7349 97.6284 28.5748 96.6658 28.3741V36.2292H92.9785V36.2696V36.2696ZM100.432 16.1911C99.35 16.1911 97.9877 16.7121 96.7047 17.8349V25.5702C97.5056 25.7304 98.3485 25.8501 99.4697 25.8501C102.075 25.8501 103.558 24.2063 103.558 20.7601C103.558 17.5938 102.476 16.1911 100.432 16.1911Z",fill:"black"}),React.createElement("path",{d:"M121.873 28.413H118.427V26.7692H118.346C117.144 27.6914 115.661 28.6929 113.457 28.6929C111.533 28.6929 109.449 27.2902 109.449 24.4443C109.449 20.6373 112.695 19.9157 114.979 19.5953L118.225 19.1552V18.7151C118.225 16.7105 117.424 16.0698 115.539 16.0698C114.617 16.0698 112.454 16.3497 110.69 17.0713L110.37 14.1056C111.973 13.5442 114.177 13.1445 116.021 13.1445C119.628 13.1445 121.953 14.5877 121.953 18.8753V28.413H121.873V28.413ZM118.186 21.4801L115.14 21.9607C114.217 22.0804 113.256 22.6418 113.256 24.0042C113.256 25.2063 113.937 25.8875 114.939 25.8875C116.021 25.8875 117.183 25.2467 118.185 24.5251V21.4801H118.186Z",fill:"black"}),React.createElement("path",{d:"M137.104 27.9325C135.581 28.4535 134.219 28.7738 132.494 28.7738C126.964 28.7738 124.759 25.6075 124.759 20.9996C124.759 16.1506 127.805 13.1445 132.734 13.1445C134.576 13.1445 135.699 13.4649 136.942 13.8661V16.992C135.859 16.5907 134.297 16.1506 132.774 16.1506C130.53 16.1506 128.606 17.3528 128.606 20.799C128.606 24.606 130.53 25.7693 132.975 25.7693C134.136 25.7693 135.419 25.5282 137.142 24.8471V27.9325H137.104Z",fill:"black"}),React.createElement("path",{d:"M144.077 19.9579C144.397 19.5971 144.638 19.2363 149.286 13.5849H154.095L148.083 20.6391L154.655 28.4537H149.846L144.115 21.3996V28.4537H140.43V7.41406H144.117V19.9579H144.077Z",fill:"black"}),React.createElement("path",{d:"M76.7863 27.934C74.8626 28.5359 73.2188 28.7754 71.2951 28.7754C66.5659 28.7754 63.6406 26.4115 63.6406 20.8799C63.6406 16.8318 66.1258 13.1445 70.8939 13.1445C75.6231 13.1445 77.2669 16.4306 77.2669 19.5564C77.2669 20.5984 77.186 21.1598 77.1471 21.7601H67.6094C67.6902 25.0057 69.5331 25.7677 72.2982 25.7677C73.8207 25.7677 75.183 25.4069 76.7475 24.8455V27.9309H76.7863V27.934ZM73.421 19.3169C73.421 17.513 72.8191 15.95 70.8565 15.95C69.0137 15.95 67.8909 17.2719 67.6498 19.3169H73.421V19.3169Z",fill:"black"}),React.createElement("path",{d:"M167.332 29V19.8447H176.692V17.501H167.332V10.2354H177.527V7.8623H164.695V29H167.332ZM186.59 29.2783C191.087 29.2783 193.871 26.1729 193.871 21.1045C193.871 16.0215 191.087 12.9307 186.59 12.9307C182.093 12.9307 179.31 16.0215 179.31 21.1045C179.31 26.1729 182.093 29.2783 186.59 29.2783ZM186.59 27.0078C183.602 27.0078 181.917 24.8398 181.917 21.1045C181.917 17.3545 183.602 15.2012 186.59 15.2012C189.579 15.2012 191.263 17.3545 191.263 21.1045C191.263 24.8398 189.579 27.0078 186.59 27.0078ZM196.386 29H198.905V19.2148C198.905 16.9883 200.648 15.377 203.051 15.377C203.549 15.377 204.457 15.4648 204.662 15.5234V13.0039C204.34 12.96 203.812 12.9307 203.402 12.9307C201.307 12.9307 199.491 14.0146 199.022 15.5527H198.788V13.209H196.386V29ZM206.664 29H209.184V19.2148C209.184 16.9883 210.781 15.2012 212.846 15.2012C214.838 15.2012 216.142 16.4023 216.142 18.2773V29H218.661V18.8486C218.661 16.8418 220.126 15.2012 222.324 15.2012C224.55 15.2012 225.649 16.3438 225.649 18.6729V29H228.168V18.0869C228.168 14.7764 226.367 12.9307 223.144 12.9307C220.961 12.9307 219.159 14.0293 218.31 15.6992H218.076C217.343 14.0586 215.849 12.9307 213.71 12.9307C211.601 12.9307 210.019 13.9414 209.301 15.6992H209.067V13.209H206.664V29ZM230.962 17.5303C230.962 19.8154 232.309 21.0898 235.268 21.8076L237.978 22.4668C239.663 22.877 240.483 23.6094 240.483 24.6934C240.483 26.1436 238.96 27.1543 236.836 27.1543C234.814 27.1543 233.554 26.3047 233.13 24.9717H230.537C230.815 27.5938 233.232 29.2783 236.748 29.2783C240.337 29.2783 243.076 27.3301 243.076 24.5029C243.076 22.2324 241.64 20.9434 238.667 20.2256L236.235 19.6396C234.375 19.1855 233.496 18.5117 233.496 17.4277C233.496 16.0215 234.961 15.0693 236.836 15.0693C238.74 15.0693 239.97 15.9043 240.307 17.1641H242.798C242.461 14.5713 240.161 12.9307 236.85 12.9307C233.496 12.9307 230.962 14.9082 230.962 17.5303Z",fill:"black"}))},3752:(e,t,a)=>{"use strict";a.d(t,{A:()=>i});var n=a(1883),r=a(6087),c=a(7723),o=a(8468),s=a(7611);const __=c.__,i=({currentPage:e,expandedRange:t=3,onSelectPage:a,pages:c})=>{const i=(0,r.useCallback)((()=>a(e-1)),[e,a]),l=(0,r.useCallback)((()=>a(e+1)),[e,a]),d=(0,o.range)(Math.max(0,e-t+1),Math.min(c,e+t-1)+1),m=(0,o.filter)((0,o.flatten)([tisFinite(t)?React.createElement(s.A,{key:t,className:"jp-forms__page-navigation-button",active:t===e,page:t,onSelect:a}):React.createElement("button",{key:`placeholder-${n}`,className:"jp-forms__page-navigation-placeholder",disabled:!0},"…"))),React.createElement("button",{disabled:e===c,className:"jp-forms__page-navigation-button",onClick:l},__("Next","jetpack-forms"),React.createElement(n.A,{icon:"arrow-right",size:18})))}},7611:(e,t,a)=>{"use strict";a.d(t,{A:()=>c});var n=a(6087),r=a(3022);const c=({active:e,className:t,page:a,onSelect:c})=>{const o=(0,r.A)("jp-forms__page-navigation-page-number",t,{"is-active":e}),s=(0,n.useCallback)((()=>c(a)),[a,c]);return React.createElement("button",{className:o,onClick:s},a)}},6433:(e,t,a)=>{"use strict";a.d(t,{A:()=>r});var n=a(6120);const r=({initialValue:e,loading:t,onSearch:a})=>React.createElement("div",{className:"jp-forms__actions-search"},React.createElement(n.A,{initialValue:e,loading:t,onSearch:a}))},6120:(e,t,a)=>{"use strict";a.d(t,{A:()=>f});var n=a(6072),r=a.n(n),c=a(8478),o=a(6427),s=a(9491),i=a(6087),l=a(7723),d=a(1113),m=a(1249),u=a(3022),p=a(8468);const __=l.__,h=({className:e,disabled:t=!1,endAdornment:a=null,icon:n=null,loading:c=!1,...s})=>React.createElement("div",{className:(0,u.A)(e,"input-wrapper",{disabled:t})},React.createElement(React.Fragment,null,(c||n)&&React.createElement("div",{className:(0,u.A)("icon-wrapper",{loader:c})},c?React.createElement(o.Spinner,null):n),React.createElement("input",r()({"aria-disabled":t,className:(0,u.A)("input",{"with-icon":null!==n}),disabled:t,type:"text"},s)),a)),f=({initialValue:e,loading:t,placeholder:a=__("Search responses","jetpack-forms"),onSearch:n=p.noop,wait:o=500,...l})=>{const[f,g]=(0,i.useState)(e),v=(0,s.useDebounce)(n,o),E=(0,i.useCallback)((e=>{g(e.target.value),v(e.target.value)}),[v]),w=(0,i.useCallback)((e=>{["Enter","NumpadEnter"].includes(e.code)&&n(e.currentTarget.value)}),[n]),R=(0,i.useCallback)((()=>{g(""),n("")}),[n]);return React.createElement(h,r()({},l,{icon:React.createElement(c.WI,{size:24}),loading:t,placeholder:a,onChange:E,onKeyUp:w,value:f,endAdornment:React.createElement("div",{className:(0,u.A)("icon-wrapper",{hidden:!f})},React.createElement(d.A,{icon:m.A,onClick:R,className:(0,u.A)("clear-icon")}))}))}},7564:(e,t,a)=>{"use strict";a.d(t,{A:()=>i});var n=a(6072),r=a.n(n),c=a(6087),o=a(9672),s=a(9026);const i=(0,c.forwardRef)((({activeViewKey:e,children:t,duration:a,...n},i)=>{const[l,d]=(0,c.useState)(e),[m,u]=(0,c.useState)(0),p=(0,c.useRef)(void 0),h=(0,c.useRef)(void 0);(0,c.useEffect)((()=>{l!==e&&(d(e),u(0===m?1:0))}),[m,e,t,u,d,l]);const f=(0,c.useMemo)((()=>e===l?0===m?p:h:0===m?h:p),[m,e,l,p,h]),g=(0,c.useCallback)((e=>{i&&(i.current=e),f.current=e}),[f,i]);return React.createElement(o.A,{component:null},React.createElement(s.A,{key:e,nodeRef:f,timeout:a,mountOnEnter:!0,unmountOnExit:!0},React.createElement("div",r()({ref:g},n),t)))}))},7580:(e,t,a)=>{"use strict";a.d(t,{A:()=>d});var n=a(6087),r=a(3022),c=a(8468),o=a(9672),s=a(9026),i=a(4941);const l=(e,t)=>`table-row-${e.isLoading?`${t}-loading`:e.id}`,d=({className:e,columns:t,items:a,rowAnimationTimeout:d=0,selectedResponses:m=[],setSelectedResponses:u})=>{const{current:p}=(0,n.useRef)({});(0,n.useEffect)((()=>{(0,c.forEach)(a,(e=>{p[l(e)]||(p[l(e)]=(0,n.createRef)())}))}),[a,p]);const h=(0,n.useCallback)((e=>{const t=(0,c.includes)(m,e)?(0,c.without)(m,e):[...m,e];u(t)}),[m,u]),f=(0,n.useCallback)((()=>{if(0===(0,c.difference)((0,c.map)(a,"id"),m).length)return void u([]);const e=(0,c.map)(a,"id");u(e)}),[a,m,u]),g=(0,r.A)("jp-forms__table",e),v=(0,r.A)("jp-forms__table-checkbox",{"is-intermediate":0!==m.length&&m.length!==a.length});return React.createElement("div",{className:g},React.createElement("div",{className:"jp-forms__table-header"},!!u&&React.createElement("div",{className:"jp-forms__table-cell is-select"},React.createElement("input",{className:v,onChange:f,type:"checkbox",checked:0===(0,c.difference)((0,c.map)(a,"id"),m).length})),(0,c.map)(t,(({label:e,key:t})=>{const a=(0,r.A)("jp-forms__table-cell",`is-${(0,c.kebabCase)(t)}`);return React.createElement("div",{key:`table-header-${t}`,className:a},e)}))),React.createElement(o.A,{component:null},(0,c.map)(a,((e,a)=>React.createElement(s.A,{key:l(e,a),nodeRef:p[l(e,a)],mountOnEnter:!!d,mountOnExit:!!d,timeout:d},React.createElement(i.A,{ref:p[l(e,a)],columns:t,item:e,isSelected:(0,c.includes)(m,e.id),onSelectChange:u&&h}))))))}},4941:(e,t,a)=>{"use strict";a.d(t,{A:()=>s});var n=a(6087),r=a(3022),c=a(8468);const o=e=>e.stopPropagation(),s=(0,n.forwardRef)((({columns:e,item:t,isSelected:a,onSelectChange:s},i)=>{const l=(0,n.useCallback)((()=>s(t.id)),[t.id,s]),d=(0,r.A)("jp-forms__table-item",t.className,{"is-active":!t.isLoading&&t.isActive,"is-clickable":!t.isLoading&&t.onClick,"is-loading":t.isLoading,"is-selected":!t.isLoading&&a});return React.createElement("div",{ref:i,className:d,onClick:t.onClick},!!s&&React.createElement("div",{className:"jp-forms__table-cell is-select"},!t.isLoading&&React.createElement("input",{className:"jp-forms__table-checkbox",type:"checkbox",onClick:o,onChange:l,checked:a})),(0,c.map)(e,(({additionalClassNames:e,getValue:a,key:n},o)=>{const s=a?a(t):t[n],i=(0,r.A)("jp-forms__table-cell",`is-${(0,c.kebabCase)(n)}`,e);return t.isLoading?React.createElement("div",{key:`table-${n}-${o}-loading`,className:i}):React.createElement("div",{key:`table-${n}-${t.id}`,className:i},s)})))}))},2199:(e,t,a)=>{"use strict";a.d(t,{k:()=>i,l:()=>s});var n=a(1455),r=a.n(n),c=a(8537),o=a(8468);const s=e=>{const t=new URLSearchParams((0,o.pick)((0,o.omitBy)(e,o.isNil),["limit","offset","search","status","parent_id","month"])).toString();return r()({path:`/wpcom/v2/forms/responses?${t}`}).then((e=>({...e,responses:e.responses.map((e=>({...e,author_name:(0,c.decodeEntities)(e.author_name),entry_title:(0,c.decodeEntities)(e.entry_title),fields:(0,o.mapValues)(e.fields,(e=>(0,c.decodeEntities)(e)))})))})))},i=(e,t)=>r()({path:"/wpcom/v2/forms/responses/bulk_actions",method:"POST",data:{action:t,post_ids:e}})},5591:(e,t,a)=>{"use strict";a.d(t,{A:()=>h});var n=a(8478),r=a(6427),c=a(7143),o=a(6087),s=a(7723),i=a(4058),l=a(2199),d=a(3324),m=a(3656),u=a(7325);const __=s.__,p=(e=0)=>{const t=new FormData;return t.append("action","grunion_recheck_queue"),t.append(`jetpack_check_feedback_spam_${(0,i.$)("blogId")}`,(0,i.$)("checkForSpamNonce")),t.append("offset",e),t.append("limit",100),fetch(window.ajaxurl,{method:"POST",body:t}).then((e=>e.json())).then((t=>{if(!(t.processed<100))return p(e+100)}))},h=({currentView:e,selectedResponses:t,setSelectedResponses:a})=>{const[s,i]=(0,o.useState)(!1),{addTabTotals:h,fetchResponses:f,removeResponses:g,setLoading:v}=(0,c.useDispatch)(d.E),{currentPage:E,query:w}=(0,u.t)(),R=(0,o.useCallback)((()=>{i(!0),p().finally((()=>{i(!1),f(w)}))}),[f,i,w]),C=n=>async()=>{try{v(!0),a([]),g(t),h({[e]:-t.length,[m.Ku[n]]:t.length}),await(0,l.k)(t,n),await f({...w,limit:m.e4,offset:(E-1)*m.e4},{append:!0}),v(!1)}catch(e){v(!1)}};return React.createElement(React.Fragment,null,e!==m.DF.trash&&React.createElement(r.Button,{onClick:C(m.kl.moveToTrash),variant:"secondary"},__("Move to trash","jetpack-forms")),e===m.DF.trash&&React.createElement(r.Button,{onClick:C(m.kl.removeFromTrash),variant:"secondary"},__("Remove from trash","jetpack-forms")),e!==m.DF.spam&&React.createElement(r.Button,{onClick:C(m.kl.markAsSpam),variant:"secondary"},__("Mark as spam","jetpack-forms")),e===m.DF.spam&&React.createElement(r.Button,{onClick:C(m.kl.markAsNotSpam),variant:"secondary"},__("Not spam","jetpack-forms")),e===m.DF.inbox&&t.length>0&&React.createElement(r.Button,{className:"jp-forms__check-for-spam",disabled:s,variant:"secondary",onClick:R},s?React.createElement(r.Spinner,null):React.createElement(n.dW,null),__("Check for spam","jetpack-forms")))}},3656:(e,t,a)=>{"use strict";a.d(t,{DF:()=>r,Ku:()=>o,e4:()=>n,kl:()=>c});const n=50,r={inbox:"inbox",spam:"spam",trash:"trash"},c={moveToTrash:"trash",removeFromTrash:"untrash",delete:"delete",markAsSpam:"mark_as_spam",markAsNotSpam:"mark_as_not_spam"},o={[c.moveToTrash]:r.trash,[c.removeFromTrash]:r.inbox,[c.markAsSpam]:r.spam,[c.markAsNotSpam]:r.inbox}},8196:(e,t,a)=>{"use strict";a.d(t,{A:()=>s});var n=a(6087),r=a(7723),c=a(3022),o=a(7385);const __=r.__,s=({onExport:e})=>{const t=(0,n.useCallback)((()=>{e("feedback_export","feedback_export_nonce_csv").then((async e=>{const t=await e.blob(),a=document.createElement("a");a.href=window.URL.createObjectURL(t);const n=e.headers.get("Content-Disposition")??"";a.download=n.split("filename=")[1]||"Jetpack Form Responses.csv",document.body.appendChild(a),a.click(),document.body.removeChild(a),window.URL.revokeObjectURL(a.href)}))}),[e]),a=(0,c.A)("button","export-button","export-csv",{"button-primary":!(0,o.ze)()});return React.createElement("div",{className:"jp-forms__export-modal-card"},React.createElement("div",{className:"jp-forms__export-modal-card-header"},React.createElement("svg",{width:"22",height:"20",viewBox:"0 0 22 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.2309 5.04199L10.0797 2.73945C9.98086 2.54183 9.77887 2.41699 9.55792 2.41699H2.83333C2.51117 2.41699 2.25 2.67816 2.25 3.00033V16.7087C2.25 17.0308 2.51117 17.292 2.83333 17.292H19.1667C19.4888 17.292 19.75 17.0308 19.75 16.7087V5.62533C19.75 5.30316 19.4888 5.04199 19.1667 5.04199H11.2309ZM12.3125 3.29199L11.6449 1.95683C11.2497 1.16633 10.4417 0.666992 9.55792 0.666992H2.83333C1.54467 0.666992 0.5 1.71166 0.5 3.00033V16.7087C0.5 17.9973 1.54467 19.042 2.83333 19.042H19.1667C20.4553 19.042 21.5 17.9973 21.5 16.7087V5.62533C21.5 4.33666 20.4553 3.29199 19.1667 3.29199H12.3125Z",fill:"#008710"})),React.createElement("div",{className:"jp-forms__export-modal-card-header-title"},__("CSV File","jetpack-forms"))),React.createElement("div",{className:"jp-forms__export-modal-card-body"},React.createElement("div",{className:"jp-forms__export-modal-card-body-description"},__("Download your form response data as a CSV file.","jetpack-forms")),React.createElement("div",{className:"jp-forms__export-modal-card-body-cta"},React.createElement("button",{className:a,onClick:t},__("Download","jetpack-forms")))))}},8720:(e,t,a)=>{"use strict";a.d(t,{A:()=>l});var n=a(6087),r=a(7723),c=a(3022),o=a(8468),s=a(4058),i=a(7385);const __=r.__,l=({onExport:e})=>{const[t,a]=(0,n.useState)((0,s.$)("gdriveConnection")),r=(0,n.useCallback)((()=>{const e=setInterval((async()=>{if(t)clearInterval(e);else try{const t=await fetch(window.ajaxurl,{method:"POST",body:(0,o.tap)(new FormData,(e=>{e.append("action","grunion_gdrive_connection"),e.append("feedback_export_nonce_gdrive",(0,s.$)("exportNonce"))}))});if(!(await t.json()).connection)return;clearInterval(e),a(!0)}catch(t){clearInterval(e)}}),5e3)}),[t]),l=(0,n.useCallback)((()=>{e("grunion_export_to_gdrive","feedback_export_nonce_gdrive").then((e=>e.json())).then((({data:e})=>{window.open(e.sheet_link,"_blank")}))}),[e]),d=(0,c.A)("button","export-button","export-gdrive",{"button-primary":!(0,i.ze)()});return React.createElement("div",{className:"jp-forms__export-modal-card"},React.createElement("div",{className:"jp-forms__export-modal-card-header"},React.createElement("svg",{width:"18",height:"24",viewBox:"0 0 18 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"M11.8387 1.16016H2C1.44772 1.16016 1 1.60787 1 2.16016V21.8053V21.8376C1 22.3899 1.44772 22.8376 2 22.8376H16C16.5523 22.8376 17 22.3899 17 21.8376V5.80532M11.8387 1.16016V5.80532H17M11.8387 1.16016L17 5.80532M4.6129 13.0311V16.1279H9.25806M4.6129 13.0311V9.93435H9.25806M4.6129 13.0311H13.9032M13.9032 13.0311V9.93435H9.25806M13.9032 13.0311V16.1279H9.25806M9.25806 9.93435V16.1279",stroke:"#008710",strokeWidth:"1.5"})),React.createElement("div",{className:"jp-forms__export-modal-card-header-title"},__("Google Sheets","jetpack-forms")),React.createElement("div",{className:"jp-forms__export-modal-card-beta-badge"},"BETA")),React.createElement("div",{className:"jp-forms__export-modal-card-body"},React.createElement("div",{className:"jp-forms__export-modal-card-body-description"},React.createElement("div",null,__("Export your data into a Google Sheets file.","jetpack-forms")," ",React.createElement("a",{href:(0,s.$)("gdriveConnectSupportURL"),title:__("Connect to Google Drive","jetpack-forms"),target:"_blank",rel:"noopener noreferrer"},__("You need to connect to Google Drive.","jetpack-forms"))),React.createElement("p",{className:"jp-forms__export-modal-card-body-description-footer"},__("This premium feature is currently free to use in beta.","jetpack-forms"))),React.createElement("div",{className:"jp-forms__export-modal-card-body-cta"},t&&React.createElement("button",{className:d,onClick:l},__("Export","jetpack-forms")),!t&&React.createElement("a",{href:(0,s.$)("gdriveConnectURL"),className:d,rel:"noopener noreferrer",target:"_blank",onClick:r},__("Connect to Google Drive","jetpack-forms")))))}},72:(e,t,a)=>{"use strict";a.d(t,{A:()=>h});var n=a(1883),r=a(8250),c=a(7143),o=a(6087),s=a(7723),i=a(8468),l=a(4058),d=a(3324),m=a(7325),u=a(8196),p=a(8720);const __=s.__,h=({isVisible:e,onClose:t})=>{const a=(0,o.useRef)(void 0),s=(0,c.useSelect)((e=>e(d.E).getSelectedResponseIds()),[]),{query:h}=(0,m.t)();(0,o.useEffect)((()=>{a.current?.addEventListener("click",(e=>{e.target===a.current&&t()}))}),[e,t]);const f=(0,o.useCallback)(((e,t)=>{const a=new FormData;return a.append("action",e),a.append(t,(0,l.$)("exportNonce")),(0,i.forEach)(s,(e=>a.append("selected[]",e))),a.append("date",""),a.append("post","all"),a.append("search",h.search||""),a.append("status",h.status),fetch(window.ajaxurl,{method:"POST",body:a})}),[h,s]);return e?React.createElement("div",{ref:a,className:"jp-forms__export-modal"},React.createElement("div",{className:"jp-forms__export-modal-wrapper"},React.createElement("button",{className:"jp-forms__export-modal-close-button",onClick:t},React.createElement(n.A,{icon:"cross",size:18})),React.createElement("div",{className:"jp-forms__export-modal-header"},React.createElement("h1",{className:"jp-forms__export-modal-header-title"},__("Export your Form Responses","jetpack-forms")),React.createElement("p",{className:"jp-forms__export-modal-header-subtitle"},__("Choose your favorite file format or export destination:","jetpack-forms"))),React.createElement("div",{className:"jp-forms__export-modal-content"},React.createElement(u.A,{onExport:f}),React.createElement(p.A,{onExport:f})),React.createElement(r.A,{className:"jp-forms__export-modal-footer",moduleName:__("Jetpack Forms","jetpack-forms")}))):null}},7969:(e,t,a)=>{"use strict";a.d(t,{A:()=>_});var n=a(6427),r=a(3582),c=a(7143),o=a(8443),s=a(6087),i=a(7723),l=a(7474),d=a(3022),m=a(8468),u=a(9539),p=a(4058),h=a(9862),f=a(1186),g=a(6433),v=a(3324),E=a(5591),w=a(3656),R=a(72),C=a(3721),y=a(454),b=a(7325),k=a(7385);const __=i.__,_x=i._x,x=[{name:"inbox",title:__("Inbox","jetpack-forms"),className:"jp-forms__inbox-tab-item"},{name:"spam",title:__("Spam","jetpack-forms"),className:"jp-forms__inbox-tab-item"},{name:"trash",title:_x("Trash","noun","jetpack-forms"),className:"jp-forms__inbox-tab-item"}],_=()=>{const e=(0,s.useRef)(void 0),[t,a]=(0,s.useState)(1),[i,_]=(0,s.useState)(!1),[j,A]=(0,s.useState)(!1),M=(0,u.Zp)(),{fetchResponses:S,selectResponses:N}=(0,c.useDispatch)(v.E),[z,L,V,O,H,P,T,D]=(0,c.useSelect)((e=>[e(v.E).getQuery(),e(v.E).getMonthFilter(),e(v.E).getSourceFilter(),e(v.E).isFetchingResponses(),e(v.E).getResponses(),e(v.E).getSelectedResponseIds(),e(v.E).getTabTotals(),e(v.E).getTotalResponses()]),[]),F=(0,c.useSelect)((e=>{const{canUser:t}=e(r.store);return t("update","settings")})),{currentPage:I,currentResponseId:U,setCurrentPage:B,setCurrentResponseId:$,setMonthQuery:q,setSearchQuery:J,setSourceQuery:Z,setStatusQuery:W,query:G}=(0,b.t)();(0,s.useEffect)((()=>{(0,p.$)("hasFeedback")||M("/landing")}),[M]),(0,s.useEffect)((()=>{S({limit:w.e4,offset:(I-1)*w.e4,...G})}),[I,S,G]),(0,s.useEffect)((()=>{U&&!O&&(0,m.isEqual)((0,m.pick)(z,(0,m.keys)(G)),G)&&!(0,m.includes)((0,m.map)(H,"id"),U)&&$(0)}),[z,U,O,H,$,G]);const K=(0,s.useMemo)((()=>H.length&&!(0,m.includes)((0,m.map)(H,"id"),U)?H[0].id:U),[U,H]);(0,s.useEffect)((()=>{const t=e.current;if(!t)return;const a=new IntersectionObserver((([e])=>{A(!e.isIntersecting&&!O)}),{rootMargin:"-177px 0px 0px 0px",threshold:0});return a.observe(t),()=>{a.unobserve(t)}}),[e.current,O]);const Y=(0,s.useCallback)((e=>{$(e),a((0,m.findIndex)(H,{id:e})-(0,m.findIndex)(H,{id:K}))}),[K,H,$]),Q=(0,s.useCallback)((e=>{e.preventDefault(),$(0)}),[$]),X=(0,s.useCallback)((()=>_(!i)),[i,_]),ee=(0,s.useMemo)((()=>x.map((({title:e,...t})=>({...t,title:React.createElement(React.Fragment,null,e,T&&React.createElement("span",{className:"jp-forms__inbox-tab-item-count"},T[t.name]||0)),disabled:O})))),[O,T]),te=(0,s.useMemo)((()=>{const e=(0,m.map)(L,(e=>{const t=new Date;return t.setDate(1),t.setMonth(e.month-1),{label:`${(0,o.dateI18n)("F",t)} ${e.year}`,value:`${e.year}${String(e.month).padStart(2,"0")}`}}));return[{label:__("All dates","jetpack-forms"),value:null},...e]}),[L]),ae=(0,s.useMemo)((()=>{const e=(0,m.map)(V,(e=>({label:e.title,value:`${e.id}`})));return[{label:__("All sources","jetpack-forms"),value:null},...e]}),[V]),ne=(0,s.useMemo)((()=>(0,m.join)((0,m.map)((0,m.pick)(z,(0,m.keys)(G)),((e,t)=>`${t}-${e}`)),"-")),[z,G]),re=!!P.length&&!O,ce=(0,d.A)("jp-forms__inbox",{"is-response-view":!!U,"is-response-animation-reverted":t<0}),oe=React.createElement(React.Fragment,null,React.createElement("span",{className:"title"},(0,k.ze)()?__("Jetpack Forms","jetpack-forms"):__("Responses","jetpack-forms")),(0,k.ze)()&&React.createElement("span",{className:"subtitle"},(0,s.createInterpolateElement)(__("Collect and manage responses from your audience. Learn more","jetpack-forms"),{a:React.createElement("a",{href:"https://jetpack.com/support/jetpack-blocks/contact-form/",rel:"noreferrer noopener",target:"_blank"})})),React.createElement("a",{className:"back-button",onClick:Q},React.createElement(n.Icon,{icon:l.A}),__("View all responses","jetpack-forms")));return React.createElement(f.A,{title:oe,className:ce},React.createElement(n.TabPanel,{className:"jp-forms__inbox-tabs",activeClass:"active-tab",initialTabName:G.status,onSelect:W,tabs:ee},(()=>React.createElement(React.Fragment,null,React.createElement("div",{className:"jp-forms__inbox-actions"},!re&&React.createElement(React.Fragment,null,React.createElement(g.A,{onSearch:J,initialValue:G.search,loading:O}),React.createElement(h.A,{options:te,onChange:q,value:G.month}),React.createElement(h.A,{options:ae,onChange:Z,value:G.parent_id})),re&&React.createElement(E.A,{currentView:G.status,selectedResponses:P,setSelectedResponses:N}),F&&React.createElement("button",{className:"button button-primary export-button",onClick:X},__("Export","jetpack-forms"))),React.createElement("div",{className:"jp-forms__inbox-content"},React.createElement("div",{className:"jp-forms__inbox-content-column"},React.createElement("div",{className:"jp-forms__inbox-sticky-sentinel",ref:e}),!O&&j&&React.createElement("div",{className:"jp-forms__inbox-sticky-mark"}),React.createElement(C.A,{key:ne,currentPage:I,currentResponseId:K,currentTab:G.status,loading:O,pages:Math.ceil(D/w.e4),responses:H,selectedResponses:P,setCurrentPage:B,setCurrentResponseId:Y,setSelectedResponses:N})),React.createElement("div",{className:"jp-forms__inbox-content-column"},React.createElement(y.A,{isLoading:O,response:(0,m.find)(H,{id:K})})))))),React.createElement(R.A,{isVisible:i,onClose:X}))}},3721:(e,t,a)=>{"use strict";a.d(t,{A:()=>f});var n=a(6427),r=a(7143),c=a(8443),o=a(6087),s=a(7723),i=a(8468),l=a(3752),d=a(7580),m=a(3324),u=a(3656),p=a(1203);const __=s.__,h=[{key:"name",label:__("From","jetpack-forms")},{key:"date",label:__("Date","jetpack-forms"),getValue:e=>(0,c.dateI18n)("M j, Y",e.date)},{key:"source",label:__("Source","jetpack-forms"),getValue:e=>React.createElement(n.Button,{href:e.entry_permalink,variant:"link"},e.source)},{key:"actions",getValue:e=>React.createElement(p.A,{id:e.id})}],f=({currentPage:e,currentResponseId:t,currentTab:a,pages:n,responses:c,selectedResponses:s,setCurrentPage:p,setCurrentResponseId:f,setSelectedResponses:g,loading:v})=>{const E=(0,r.useSelect)((e=>e(m.E).getTabTotals()),[])[a],w=(0,o.useMemo)((()=>{const a=c.map((e=>({...e,onClick:()=>f(e.id),isActive:e.id===t})));if(v){const t=E?Math.min(u.e4,E-(e-1)*u.e4)-c.length:10;return a.concat((0,i.times)(t,(()=>({isLoading:!0}))))}return a}),[e,t,v,c,f,E]);return!v&&0===c.length||0===E?React.createElement(d.A,{className:"jp-forms__inbox-list",columns:[{key:"empty",label:__("No results found","jetpack-forms")}],items:[]}):React.createElement(React.Fragment,null,React.createElement(d.A,{className:"jp-forms__inbox-list",columns:h,items:w,selectedResponses:s,setSelectedResponses:g,rowAnimationTimeout:200}),n>1&&React.createElement(l.A,{currentPage:e,pages:n,onSelectPage:p,expandedRange:2}))}},454:(e,t,a)=>{"use strict";a.d(t,{A:()=>m});var n=a(6427),r=a(8443),c=a(6087),o=a(7723),s=a(3022),i=a(8468),l=a(7564),d=a(7385);const __=o.__,m=({loading:e,response:t})=>{const[a,m]=(0,c.useState)(!1),u=(0,c.useRef)(void 0);(0,c.useEffect)((()=>{u.current&&(u.current.scrollTop=0)}),[t]);const p=(0,c.useCallback)((async()=>{await window.navigator.clipboard.writeText(t.author_email),m(!0),setTimeout((()=>m(!1)),3e3)}),[t,m]);if(!e&&!t)return null;const h=(0,s.A)("jp-forms__inbox-response-title",{"is-email":t&&!t.author_name&&t.author_email,"is-ip":t&&!t.author_name&&!t.author_email,"is-name":t&&t.author_name});return React.createElement(l.A,{ref:u,activeViewKey:t.id,className:"jp-forms__inbox-response",duration:200},React.createElement("div",{className:"jp-forms__inbox-response-avatar"},React.createElement("img",{src:"https://gravatar.com/avatar/6e998f49bfee1a92cfe639eabb350bc5?size=68&default=identicon",alt:__("Respondent’s gravatar","jetpack-forms")})),React.createElement("h3",{className:h},(0,d.Mn)(t)),t.author_email&&(0,d.Mn)(t)!==t.author_email&&React.createElement("p",{className:"jp-forms__inbox-response-subtitle"},t.author_email,React.createElement(n.Button,{variant:"secondary",onClick:p},!a&&__("Copy","jetpack-forms"),a&&__("✓ Copied","jetpack-forms"))),React.createElement("div",{className:"jp-forms__inbox-response-meta"},React.createElement("div",{className:"jp-forms__inbox-response-meta-label"},React.createElement("span",{className:"jp-forms__inbox-response-meta-key"},__("Date:","jetpack-forms")," "),React.createElement("span",{className:"jp-forms__inbox-response-meta-value"},(0,o.sprintf)(/* Translators: %1$s is the date, %2$s is the time. */ +__("(opens in a new tab)","jetpack-forms"))),R=({moduleName:e=__("Jetpack","jetpack-forms"),className:t,moduleNameHref:a="https://jetpack.com",menu:n,onAboutClick:o,onPrivacyClick:s,onTermsClick:i,...d})=>{const[g]=(0,v.A)("sm","<="),[R]=(0,v.A)("md","<="),[C]=(0,v.A)("lg",">"),{isActive:y,connectedPlugins:b}=(0,c.useSelect)((e=>{const t=e(p.a);return{connectedPlugins:t?.getConnectedPlugins(),...t.getConnectionStatus()}}),[]),k=(0,h.A)(),x=k&&y&&b?.some((({slug:e})=>"jetpack"===e));let _=[{label:_x("About","Link to learn more about Jetpack.","jetpack-forms"),title:__("About Jetpack","jetpack-forms"),href:x?new URL("admin.php?page=jetpack_about",k).href:(0,u.A)("jetpack-about"),target:x?"_self":"_blank",onClick:o},{label:_x("Privacy","Shorthand for Privacy Policy.","jetpack-forms"),title:__("Automattic's Privacy Policy","jetpack-forms"),href:x?new URL("admin.php?page=jetpack#/privacy",k).href:(0,u.A)("a8c-privacy"),target:x?"_self":"_blank",onClick:s},{label:_x("Terms","Shorthand for Terms of Service.","jetpack-forms"),title:__("WordPress.com Terms of Service","jetpack-forms"),href:(0,u.A)("wpcom-tos"),target:"_blank",onClick:i}];n&&(_=[..._,...n]);const j=m().createElement(m().Fragment,null,m().createElement(E,null),e);return m().createElement("footer",r()({className:(0,l.A)("jp-dashboard-footer",{"is-sm":g,"is-md":R,"is-lg":C},t),"aria-label":__("Jetpack","jetpack-forms")},d),m().createElement("ul",null,m().createElement("li",{className:"jp-dashboard-footer__jp-item"},a?m().createElement("a",{href:a},j):j),_.map((e=>{const t="button"===e.role,a=!t&&"_blank"===e.target;return m().createElement("li",{key:e.label},m().createElement("a",{href:e.href,title:e.title,target:e.target,onClick:e.onClick,onKeyDown:e.onKeyDown,className:(0,l.A)("jp-dashboard-footer__menu-item",{"is-external":a}),role:e.role,rel:a?"noopener noreferrer":void 0,tabIndex:t?0:void 0},e.label,a&&m().createElement(w,null)))})),m().createElement("li",{className:"jp-dashboard-footer__a8c-item"},m().createElement("a",{href:x?new URL("admin.php?page=jetpack_about",k).href:(0,u.A)("a8c-about"),"aria-label":__("An Automattic Airline","jetpack-forms")},m().createElement(f.A,{"aria-hidden":"true"})))))}},7142:(e,t,a)=>{"use strict";a.d(t,{A:()=>l});var n=a(6072),r=a.n(n),c=a(7723),o=a(3022),s=a(1609),i=a.n(s);const __=c.__,l=({logoColor:e="#069e08",showText:t=!0,className:a,height:n=32,...c})=>{const s=t?"0 0 118 32":"0 0 32 32";return i().createElement("svg",r()({xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:s,className:(0,o.A)("jetpack-logo",a),"aria-labelledby":"jetpack-logo-title",height:n},c,{role:"img"}),i().createElement("title",{id:"jetpack-logo-title"},__("Jetpack Logo","jetpack-forms")),i().createElement("path",{fill:e,d:"M16,0C7.2,0,0,7.2,0,16s7.2,16,16,16s16-7.2,16-16S24.8,0,16,0z M15,19H7l8-16V19z M17,29V13h8L17,29z"}),t&&i().createElement(i().Fragment,null,i().createElement("path",{d:"M41.3,26.6c-0.5-0.7-0.9-1.4-1.3-2.1c2.3-1.4,3-2.5,3-4.6V8h-3V6h6v13.4C46,22.8,45,24.8,41.3,26.6z"}),i().createElement("path",{d:"M65,18.4c0,1.1,0.8,1.3,1.4,1.3c0.5,0,2-0.2,2.6-0.4v2.1c-0.9,0.3-2.5,0.5-3.7,0.5c-1.5,0-3.2-0.5-3.2-3.1V12H60v-2h2.1V7.1 H65V10h4v2h-4V18.4z"}),i().createElement("path",{d:"M71,10h3v1.3c1.1-0.8,1.9-1.3,3.3-1.3c2.5,0,4.5,1.8,4.5,5.6s-2.2,6.3-5.8,6.3c-0.9,0-1.3-0.1-2-0.3V28h-3V10z M76.5,12.3 c-0.8,0-1.6,0.4-2.5,1.2v5.9c0.6,0.1,0.9,0.2,1.8,0.2c2,0,3.2-1.3,3.2-3.9C79,13.4,78.1,12.3,76.5,12.3z"}),i().createElement("path",{d:"M93,22h-3v-1.5c-0.9,0.7-1.9,1.5-3.5,1.5c-1.5,0-3.1-1.1-3.1-3.2c0-2.9,2.5-3.4,4.2-3.7l2.4-0.3v-0.3c0-1.5-0.5-2.3-2-2.3 c-0.7,0-2.3,0.5-3.7,1.1L84,11c1.2-0.4,3-1,4.4-1c2.7,0,4.6,1.4,4.6,4.7L93,22z M90,16.4l-2.2,0.4c-0.7,0.1-1.4,0.5-1.4,1.6 c0,0.9,0.5,1.4,1.3,1.4s1.5-0.5,2.3-1V16.4z"}),i().createElement("path",{d:"M104.5,21.3c-1.1,0.4-2.2,0.6-3.5,0.6c-4.2,0-5.9-2.4-5.9-5.9c0-3.7,2.3-6,6.1-6c1.4,0,2.3,0.2,3.2,0.5V13 c-0.8-0.3-2-0.6-3.2-0.6c-1.7,0-3.2,0.9-3.2,3.6c0,2.9,1.5,3.8,3.3,3.8c0.9,0,1.9-0.2,3.2-0.7V21.3z"}),i().createElement("path",{d:"M110,15.2c0.2-0.3,0.2-0.8,3.8-5.2h3.7l-4.6,5.7l5,6.3h-3.7l-4.2-5.8V22h-3V6h3V15.2z"}),i().createElement("path",{d:"M58.5,21.3c-1.5,0.5-2.7,0.6-4.2,0.6c-3.6,0-5.8-1.8-5.8-6c0-3.1,1.9-5.9,5.5-5.9s4.9,2.5,4.9,4.9c0,0.8,0,1.5-0.1,2h-7.3 c0.1,2.5,1.5,2.8,3.6,2.8c1.1,0,2.2-0.3,3.4-0.7C58.5,19,58.5,21.3,58.5,21.3z M56,15c0-1.4-0.5-2.9-2-2.9c-1.4,0-2.3,1.3-2.4,2.9 C51.6,15,56,15,56,15z"})))}},442:(e,t,a)=>{"use strict";a.d(t,{A:()=>o});var n=a(9491),r=a(8403);const c=["sm","md","lg"],o=(e,t)=>{const a=Array.isArray(e)?e:[e],o=Array.isArray(t)?t:[t],[s,i,l]=c,d={sm:(0,n.useMediaQuery)(r.A[s]),md:(0,n.useMediaQuery)(r.A[i]),lg:(0,n.useMediaQuery)(r.A[l])};return a.map(((e,t)=>{const a=o[t];return a?((e,t,a)=>{const n=c.indexOf(e),r=n+1,o=t.includes("=");let s=[];return t.startsWith("<")&&(s=c.slice(0,o?r:n)),t.startsWith(">")&&(s=c.slice(o?n:r)),s?.length?s.some((e=>a[e])):a[e]})(e,a,d):d[e]}))}},1069:(e,t,a)=>{"use strict";function n(){return window.Initial_State?.adminUrl||window.Jetpack_Editor_Initial_State?.adminUrl||window?.myJetpackInitialState?.adminUrl||null}a.d(t,{A:()=>n})},3924:(e,t,a)=>{"use strict";function n(e,t={}){const a={};let n;if("undefined"!=typeof window&&(n=window?.JP_CONNECTION_INITIAL_STATE?.calypsoEnv),0===e.search("https://")){const t=new URL(e);e=`https://${t.host}${t.pathname}`,a.url=encodeURIComponent(e)}else a.source=encodeURIComponent(e);for(const e in t)a[e]=encodeURIComponent(t[e]);!Object.keys(a).includes("site")&&"undefined"!=typeof jetpack_redirects&&Object.hasOwn(jetpack_redirects,"currentSiteRawUrl")&&(a.site=jetpack_redirects.currentBlogID??jetpack_redirects.currentSiteRawUrl),n&&(a.calypso_env=n);return"https://jetpack.com/redirect/?"+Object.keys(a).map((e=>e+"="+a[e])).join("&")}a.d(t,{A:()=>n})},6439:(e,t,a)=>{let n={};try{n=a(5875)}catch{console.error("jetpackConfig is missing in your webpack config file. See @automattic/jetpack-config"),n={missingConfig:!0}}const r=e=>Object.hasOwn(n,e);e.exports={jetpackConfigHas:r,jetpackConfigGet:e=>{if(!r(e))throw'This app requires the "'+e+'" Jetpack Config to be defined in your webpack configuration file. See details in @automattic/jetpack-config package docs.';return n[e]}}},3935:(e,t,a)=>{"use strict";a.d(t,{A1:()=>i,Ay:()=>y,DO:()=>s,Ij:()=>o,Kl:()=>p,LW:()=>l,MU:()=>h,XY:()=>d,ZO:()=>c,dz:()=>m,gH:()=>u,v_:()=>r});var n=a(5932);const r="SET_CONNECTION_STATUS",c="SET_CONNECTION_STATUS_IS_FETCHING",o="SET_SITE_IS_REGISTERING",s="SET_USER_IS_CONNECTING",i="SET_REGISTRATION_ERROR",l="CLEAR_REGISTRATION_ERROR",d="SET_AUTHORIZATION_URL",m="DISCONNECT_USER_SUCCESS",u="SET_CONNECTED_PLUGINS",p="SET_CONNECTION_ERRORS",h="SET_IS_OFFLINE_MODE",f=e=>({type:r,connectionStatus:e}),g=e=>({type:o,isRegistering:e}),v=e=>({type:s,isConnecting:e}),E=e=>({type:i,registrationError:e}),w=()=>({type:l}),R=e=>({type:d,authorizationUrl:e}),C=e=>({type:u,connectedPlugins:e});const y={setConnectionStatus:f,setConnectionStatusIsFetching:e=>({type:c,isFetching:e}),fetchConnectionStatus:()=>({type:"FETCH_CONNECTION_STATUS"}),fetchAuthorizationUrl:e=>({type:"FETCH_AUTHORIZATION_URL",redirectUri:e}),setSiteIsRegistering:g,setUserIsConnecting:v,setRegistrationError:E,clearRegistrationError:w,setAuthorizationUrl:R,registerSite:function*({registrationNonce:e,redirectUri:t,from:a=""}){yield w(),yield g(!0);try{const n=yield{type:"REGISTER_SITE",registrationNonce:e,redirectUri:t,from:a};return yield f({isRegistered:!0}),yield R(n.authorizeUrl),yield g(!1),Promise.resolve(n)}catch(e){return yield E(e),yield g(!1),Promise.reject(e)}},connectUser:function*({from:e,redirectFunc:t,redirectUri:a,skipPricingPage:n}={}){yield v(!0),yield{type:"CONNECT_USER",from:e,redirectFunc:t,redirectUri:a,skipPricingPage:n}},disconnectUserSuccess:()=>({type:m}),setConnectedPlugins:C,refreshConnectedPlugins:()=>async({dispatch:e})=>await new Promise((t=>n.Ay.fetchConnectedPlugins().then((a=>{e(C(a)),t(a)})))),setConnectionErrors:e=>({type:p,connectionErrors:e}),setIsOfflineMode:e=>({type:h,isOfflineMode:e})}},2494:(e,t,a)=>{"use strict";a.d(t,{A:()=>o});var n=a(5932),r=a(7143),c=a(2279);const o={FETCH_AUTHORIZATION_URL:({redirectUri:e})=>n.Ay.fetchAuthorizationUrl(e),REGISTER_SITE:({registrationNonce:e,redirectUri:t,from:a})=>n.Ay.registerSite(e,t,a),CONNECT_USER:(0,r.createRegistryControl)((({resolveSelect:e})=>({from:t,redirectFunc:a,redirectUri:n,skipPricingPage:r}={})=>new Promise(((o,s)=>{e(c.A).getAuthorizationUrl(n).then((e=>{const n=a||(e=>window.location.assign(e)),c=new URL(e);r&&c.searchParams.set("skip_pricing","true"),t&&c.searchParams.set("from",encodeURIComponent(t));const s=c.toString();n(s),o(s)})).catch((e=>{s(e)}))}))))}},5051:(e,t,a)=>{"use strict";a.d(t,{A:()=>c});var n=a(7143),r=a(3935);const c=(0,n.combineReducers)({connectionStatus:(e={},t)=>{switch(t.type){case r.v_:return{...e,...t.connectionStatus};case r.dz:return{...e,isUserConnected:!1}}return e},connectionStatusIsFetching:(e=!1,t)=>t.type===r.ZO?t.isFetching:e,siteIsRegistering:(e=!1,t)=>t.type===r.Ij?t.isRegistering:e,userIsConnecting:(e=!1,t)=>t.type===r.DO?t.isConnecting:e,registrationError:(e,t)=>{switch(t.type){case r.LW:return!1;case r.A1:return t.registrationError;default:return e}},authorizationUrl:(e,t)=>t.type===r.XY?t.authorizationUrl:e,userConnectionData:(e,t)=>(t.type,e),connectedPlugins:(e={},t)=>t.type===r.gH?t.connectedPlugins:e,connectionErrors:(e={},t)=>t.type===r.Kl?t.connectionErrors:e,isOfflineMode:(e=!1,t)=>t.type===r.MU?t.isConnecting:e})},8019:(e,t,a)=>{"use strict";a.d(t,{A:()=>o});var n=a(7143),r=a(3935),c=a(2279);const o={...{getAuthorizationUrl:{isFulfilled:(e,...t)=>{const a=Boolean(e.authorizationUrl),r=(0,n.select)(c.A).hasFinishedResolution("getAuthorizationUrl",t);return a&&!r&&(0,n.dispatch)(c.A).finishResolution("getAuthorizationUrl",t),a},*fulfill(e){const t=yield r.Ay.fetchAuthorizationUrl(e);yield r.Ay.setAuthorizationUrl(t.authorizeUrl)}}}}},2676:(e,t,a)=>{"use strict";a.d(t,{A:()=>n});const n={...{getConnectionStatus:e=>e.connectionStatus||{},getConnectionStatusIsFetching:()=>!1,getSiteIsRegistering:e=>e.siteIsRegistering||!1,getUserIsConnecting:e=>e.userIsConnecting||!1,getRegistrationError:e=>e.registrationError||!1,getAuthorizationUrl:e=>e.authorizationUrl||!1,getUserConnectionData:e=>e.userConnectionData||!1,getConnectedPlugins:e=>e.connectedPlugins||[],getConnectionErrors:e=>e.connectionErrors||[],getIsOfflineMode:e=>e.isOfflineMode||!1,getWpcomUser:e=>e?.userConnectionData?.currentUser?.wpcomUser,getBlogId:e=>e?.userConnectionData?.currentUser?.blogId}}},8734:(e,t,a)=>{"use strict";a.d(t,{A:()=>c});var n=a(7143);class r{static store=null;static mayBeInit(e,t){null===r.store&&(r.store=(0,n.createReduxStore)(e,t),(0,n.register)(r.store))}}const c=r},2279:(e,t,a)=>{"use strict";a.d(t,{A:()=>n});const n="jetpack-connection"},4293:(e,t,a)=>{"use strict";a.d(t,{a:()=>d.A});var n=a(7999),r=a(3935),c=a(2494),o=a(5051),s=a(8019),i=a(2676),l=a(8734),d=a(2279);const m=window.JP_CONNECTION_INITIAL_STATE||(0,n.getScriptData)()?.connection;m||console.error("Jetpack Connection package: Initial state is missing. Check documentation to see how to use the Connection composer package to set up the initial state."),l.A.mayBeInit(d.A,{__experimentalUseThunks:!0,reducer:o.A,actions:r.Ay,selectors:i.A,resolvers:s.A,controls:c.A,initialState:m||{}})},5985:(e,t,a)=>{"use strict";a.d(t,{Sy:()=>n.Sy,d9:()=>n.d9});var n=a(2634);a(2034),a(5595),a(3265),a(3489),a(6923),a(5877),a(335),a(8290)},5877:(e,t,a)=>{"use strict";a(1609)},335:(e,t,a)=>{"use strict";a(6087)},3489:(e,t,a)=>{"use strict";var n=a(372);a(9384),a(6087);const{tracks:r}=n.A,{recordEvent:c}=r},6923:(e,t,a)=>{"use strict";a(7143),a(6087),a(8290)},7105:(e,t,a)=>{"use strict";a.d(t,{Ay:()=>m,E9:()=>d});var n=a(7143),r=a(2634),c=a(4478),o=a(8290);const s="SET_JETPACK_MODULES";function i(e){return d({isLoading:e})}function l(e,t){return{type:"SET_MODULE_UPDATING",name:e,isUpdating:t}}function d(e){return{type:s,options:e}}const m={updateJetpackModuleStatus:function*(e){try{yield l(e.name,!0),yield(0,c.sB)(e);const t=yield(0,c.wz)();return yield d({data:t}),!0}catch{const e=(0,n.select)(o.F).getJetpackModules();return yield d(e),!1}finally{yield l(e.name,!1)}},setJetpackModules:d,fetchModules:function*(){if((0,r.Sy)())return!0;try{yield i(!0);const e=yield(0,c.wz)();return yield d({data:e}),!0}catch{const e=(0,n.select)(o.F).getJetpackModules();return yield d(e),!1}finally{yield i(!1)}}}},4478:(e,t,a)=>{"use strict";a.d(t,{Ay:()=>l,sB:()=>i,wz:()=>s});var n=a(1455),r=a.n(n);const c="FETCH_JETPACK_MODULES",o="UPDATE_JETPACK_MODULE_STATUS",s=()=>({type:c}),i=e=>({type:o,settings:e}),l={[c]:function(){return r()({path:"/jetpack/v4/module/all",method:"GET"})},[o]:function({settings:e}){return r()({path:`/jetpack/v4/module/${e.name}/active`,method:"POST",data:{active:e.active}})}}},8290:(e,t,a)=>{"use strict";a.d(t,{F:()=>l});var n=a(7143),r=a(7105),c=a(4478),o=a(8862),s=a(2701),i=a(1640);const l="jetpack-modules",d=(0,n.createReduxStore)(l,{reducer:o.A,actions:r.Ay,controls:c.Ay,resolvers:s.A,selectors:i.A});(0,n.register)(d);const m=window?.Initial_State?.getModules||window?.Jetpack_Editor_Initial_State?.modules||null;null!==m&&(0,n.dispatch)(l).setJetpackModules({data:{...m}})},8862:(e,t,a)=>{"use strict";a.d(t,{A:()=>r});const n={isLoading:!1,isUpdating:{},data:{}},r=(e=n,t)=>{switch(t.type){case"SET_JETPACK_MODULES":return{...e,...t.options};case"SET_MODULE_UPDATING":return{...e,isUpdating:{...e.isUpdating,[t.name]:t.isUpdating}}}return e}},2701:(e,t,a)=>{"use strict";a.d(t,{A:()=>c});var n=a(7105),r=a(4478);const c={getJetpackModules:function*(){try{const e=yield(0,r.wz)();if(e)return(0,n.E9)({data:e})}catch(e){console.error(e)}}}},1640:(e,t,a)=>{"use strict";a.d(t,{A:()=>r});var n=a(2634);const r={getJetpackModules:e=>e.data,isModuleActive:(e,t)=>(0,n.Sy)()||(e?.data?.[t]?.activated??!1),areModulesLoading:e=>e.isLoading??!1,isModuleUpdating:(e,t)=>e?.isUpdating?.[t]??!1}},3265:(e,t,a)=>{"use strict";var n=a(7723);a(3832),a(8468);const __=n.__;__("Upgrade your plan to use video covers","jetpack-forms"),__("Upgrade your plan to upload audio","jetpack-forms")},2034:(e,t,a)=>{"use strict";a(4660)},2634:(e,t,a)=>{"use strict";function n(){return"object"==typeof window&&"string"==typeof window._currentSiteType?window._currentSiteType:null}function r(){return"simple"===n()}function c(){return"atomic"===n()}a.d(t,{Sy:()=>r,d9:()=>c})},5595:(e,t,a)=>{"use strict";a(6072),a(9491)},4705:(e,t,a)=>{"use strict";a(8992),a(1135)},1135:(e,t,a)=>{"use strict";a.d(t,{$:()=>n});const n=[{name:"amazon",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M13.582 8.182c-1.648.185-3.802.308-5.344.984-1.781.769-3.03 2.337-3.03 4.644 0 2.953 1.86 4.429 4.253 4.429 2.02 0 3.125-.477 4.685-2.065.516.747.685 1.109 1.629 1.894a.59.59 0 0 0 .672-.066l.006.006c.567-.505 1.599-1.401 2.18-1.888.231-.188.19-.496.009-.754-.52-.718-1.072-1.303-1.072-2.634V8.305c0-1.876.133-3.599-1.249-4.891C15.23 2.369 13.422 2 12.04 2 9.336 2 6.318 3.01 5.686 6.351c-.068.355.191.542.423.594l2.754.298c.258-.013.445-.266.494-.523.236-1.151 1.2-1.706 2.284-1.706.584 0 1.249.215 1.595.738.398.584.346 1.384.346 2.061zm-.533 5.906c-.451.8-1.169 1.291-1.967 1.291-1.09 0-1.728-.83-1.728-2.061 0-2.42 2.171-2.86 4.227-2.86v.615c.001 1.108.027 2.031-.532 3.015m7.634 5.251C18.329 21.076 14.917 22 11.979 22c-4.118 0-7.826-1.522-10.632-4.057-.22-.199-.024-.471.241-.317 3.027 1.762 6.771 2.823 10.639 2.823 2.608 0 5.476-.541 8.115-1.66.397-.169.73.262.341.55m.653 1.704c-.194.163-.379.076-.293-.139.284-.71.92-2.298.619-2.684s-1.99-.183-2.749-.092c-.23.027-.266-.173-.059-.319 1.348-.946 3.555-.673 3.811-.356.26.32-.066 2.533-1.329 3.59"})))},{name:"behance",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M7.799 5.698c.589 0 1.12.051 1.606.156q.722.155 1.241.507.516.351.804.938c.188.387.281.871.281 1.443q0 .93-.421 1.551-.424.62-1.255 1.014 1.133.328 1.689 1.146.559.822.557 1.975 0 .935-.359 1.612a3.14 3.14 0 0 1-.973 1.114q-.613.432-1.399.637A6.1 6.1 0 0 1 7.963 18H2V5.698zm-.35 4.97q.721 0 1.192-.345.465-.344.463-1.119 0-.43-.152-.707a1.1 1.1 0 0 0-.416-.427 1.7 1.7 0 0 0-.596-.216 3.6 3.6 0 0 0-.697-.06H4.709v2.874zm.151 5.237q.401.001.759-.077c.243-.053.457-.137.637-.261.182-.12.332-.283.441-.491q.164-.31.163-.798-.002-.948-.533-1.357c-.356-.27-.83-.404-1.413-.404H4.709v3.388zm8.562-.041q.552.538 1.583.538.74 0 1.277-.374c.354-.248.571-.514.654-.79h2.155c-.347 1.072-.872 1.838-1.589 2.299-.708.463-1.572.693-2.58.693q-1.05 0-1.899-.337a4 4 0 0 1-1.439-.958 4.4 4.4 0 0 1-.904-1.484 5.4 5.4 0 0 1-.32-1.899q0-1 .329-1.863a4.4 4.4 0 0 1 .933-1.492q.607-.63 1.444-.994a4.6 4.6 0 0 1 1.857-.363q1.131-.001 1.98.44a3.94 3.94 0 0 1 1.389 1.181 4.8 4.8 0 0 1 .783 1.69q.24.947.171 1.983h-6.428c-.001.706.237 1.372.604 1.73m2.811-4.68c-.291-.321-.783-.496-1.384-.496q-.585 0-.973.2a2 2 0 0 0-.621.491 1.8 1.8 0 0 0-.328.628 2.7 2.7 0 0 0-.111.587h3.98c-.058-.625-.271-1.085-.563-1.41m-3.916-3.446h4.985V6.524h-4.985z"})))},{name:"blogger-alt",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M19.779 9.904h-.981l-.021.001a1.163 1.163 0 0 1-1.16-1.079l-.001-.013A5.813 5.813 0 0 0 11.803 3H8.871a5.813 5.813 0 0 0-5.813 5.813v6.375a5.813 5.813 0 0 0 5.813 5.813h6.257a5.814 5.814 0 0 0 5.813-5.813l.002-4.121a1.164 1.164 0 0 0-1.164-1.163M8.726 7.713h3.291a1.117 1.117 0 1 1 0 2.234H8.726a1.117 1.117 0 1 1 0-2.234m6.601 8.657H8.72a1.057 1.057 0 1 1 0-2.114h6.607a1.057 1.057 0 1 1 0 2.114"})))},{name:"blogger",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M14.722 14.019a.654.654 0 0 1-.654.654H9.977a.654.654 0 0 1 0-1.308h4.091c.361 0 .654.293.654.654m-4.741-3.321h2.038a.692.692 0 0 0 0-1.384H9.981a.692.692 0 0 0 0 1.384M21 5v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2m-3.456 6.39a.72.72 0 0 0-.72-.72h-.607l-.013.001a.72.72 0 0 1-.718-.668l-.001-.008a3.6 3.6 0 0 0-3.599-3.599H10.07a3.6 3.6 0 0 0-3.599 3.599v3.947a3.6 3.6 0 0 0 3.599 3.599h3.874a3.6 3.6 0 0 0 3.599-3.599z"})))},{name:"bluesky",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M21.2 3.3c-.5-.2-1.4-.5-3.6 1C15.4 6 12.9 9.2 12 11c-.9-1.8-3.4-5-5.7-6.7-2.2-1.6-3-1.3-3.6-1S2 4.6 2 5.1s.3 4.7.5 5.4c.7 2.3 3.1 3.1 5.3 2.8-3.3.5-6.2 1.7-2.4 5.9 4.2 4.3 5.7-.9 6.5-3.6.8 2.7 1.7 7.7 6.4 3.6 3.6-3.6 1-5.4-2.3-5.9 2.2.2 4.6-.5 5.3-2.8.4-.7.7-4.8.7-5.4 0-.5-.1-1.5-.8-1.8"})))},{name:"codepen",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"m22.016 8.84-.007-.037q-.006-.037-.015-.072-.007-.022-.013-.042l-.023-.062-.02-.042a.4.4 0 0 0-.03-.057l-.025-.038-.035-.052-.03-.037q-.021-.026-.043-.045-.015-.018-.035-.035a.4.4 0 0 0-.048-.04l-.037-.03-.015-.012-9.161-6.096a.86.86 0 0 0-.955 0L2.359 8.237l-.015.012-.038.028-.048.04a.638.638 0 0 0-.078.082q-.018.018-.03.037-.018.026-.035.052l-.025.038q-.016.031-.03.059l-.02.041a1 1 0 0 0-.034.106q-.01.034-.016.071-.003.02-.006.037a1 1 0 0 0-.009.114v6.093q0 .056.008.112l.007.038q.006.035.015.072a.2.2 0 0 0 .013.04q.01.032.022.063l.02.04a.4.4 0 0 0 .055.096l.035.052.03.037.042.045.035.035q.023.02.048.04l.038.03.013.01 9.163 6.095a.858.858 0 0 0 .959.004l9.163-6.095.015-.01q.02-.015.037-.03l.048-.04q.02-.017.035-.035.025-.024.043-.045l.03-.037.035-.052.025-.038a.4.4 0 0 0 .03-.058l.02-.04.023-.063c.003-.013.01-.027.013-.04q.009-.037.015-.072l.007-.037q.006-.062.007-.117V8.954a1 1 0 0 0-.008-.114m-9.154-4.376 6.751 4.49-3.016 2.013-3.735-2.492zm-1.724 0v4.009l-3.735 2.494-3.014-2.013zm-7.439 6.098L5.853 12l-2.155 1.438zm7.439 8.974-6.749-4.491 3.015-2.011 3.735 2.492zM12 14.035 8.953 12 12 9.966 15.047 12zm.862 5.501v-4.009l3.735-2.492 3.016 2.011zm7.441-6.098L18.147 12l2.156-1.438z"})))},{name:"deezer",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M20.129 3.662c.222-1.287.548-2.096.909-2.098h.001c.673.002 1.219 2.809 1.219 6.274s-.546 6.274-1.22 6.274c-.276 0-.531-.477-.736-1.276-.324 2.926-.997 4.937-1.776 4.937-.603 0-1.144-1.208-1.507-3.114-.248 3.624-.872 6.195-1.602 6.195-.458 0-.875-1.019-1.184-2.678C13.861 21.6 13.003 24 12.002 24s-1.861-2.399-2.231-5.824c-.307 1.659-.724 2.678-1.184 2.678-.73 0-1.352-2.571-1.602-6.195-.363 1.905-.903 3.114-1.507 3.114-.778 0-1.452-2.011-1.776-4.937-.204.802-.46 1.276-.736 1.276-.674 0-1.22-2.809-1.22-6.274s.546-6.274 1.22-6.274c.362 0 .685.812.91 2.098.357-2.22.94-3.662 1.6-3.662.784 0 1.463 2.04 1.784 5.002.314-2.156.791-3.53 1.325-3.53.749 0 1.385 2.703 1.621 6.474.443-1.933 1.085-3.146 1.795-3.146s1.352 1.214 1.795 3.146c.237-3.771.872-6.474 1.621-6.474.533 0 1.009 1.374 1.325 3.53.321-2.962 1-5.002 1.784-5.002.658 0 1.244 1.443 1.603 3.662M0 7.221c0-1.549.31-2.805.692-2.805s.692 1.256.692 2.805-.31 2.805-.692 2.805S0 8.77 0 7.221m22.616 0c0-1.549.31-2.805.692-2.805S24 5.672 24 7.221s-.31 2.805-.692 2.805-.692-1.256-.692-2.805"})))},{name:"discord",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M20.33 4.523A20 20 0 0 0 15.379 3a14 14 0 0 0-.634 1.289 18.4 18.4 0 0 0-5.495 0A14 14 0 0 0 8.615 3 20 20 0 0 0 3.66 4.527C.527 9.163-.323 13.684.102 18.141a20 20 0 0 0 6.073 3.049 14.7 14.7 0 0 0 1.301-2.097 13 13 0 0 1-2.048-.978q.258-.189.502-.378a14.27 14.27 0 0 0 12.142 0q.247.202.502.378a13 13 0 0 1-2.052.98 14.5 14.5 0 0 0 1.301 2.095 19.9 19.9 0 0 0 6.076-3.047c.498-5.168-.851-9.648-3.568-13.62M8.013 15.4c-1.183 0-2.161-1.074-2.161-2.395S6.796 10.6 8.01 10.6s2.183 1.083 2.163 2.405S9.22 15.4 8.013 15.4m7.974 0c-1.186 0-2.16-1.074-2.16-2.395s.944-2.405 2.16-2.405 2.178 1.083 2.157 2.405-.951 2.395-2.158 2.395"})))},{name:"dribbble",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12 22C6.486 22 2 17.514 2 12S6.486 2 12 2s10 4.486 10 10-4.486 10-10 10m8.434-8.631c-.292-.092-2.644-.794-5.32-.365 1.117 3.07 1.572 5.57 1.659 6.09a8.56 8.56 0 0 0 3.661-5.725m-5.098 6.507c-.127-.749-.623-3.361-1.822-6.477l-.056.019c-4.818 1.679-6.547 5.02-6.701 5.334A8.5 8.5 0 0 0 12 20.555a8.5 8.5 0 0 0 3.336-.679m-9.682-2.152c.193-.331 2.538-4.213 6.943-5.637q.167-.054.337-.102a29 29 0 0 0-.692-1.45c-4.266 1.277-8.405 1.223-8.778 1.216a8.497 8.497 0 0 0 2.19 5.973m-2.015-7.46c.382.005 3.901.02 7.897-1.041a55 55 0 0 0-3.167-4.94 8.57 8.57 0 0 0-4.73 5.981m6.359-6.555a46 46 0 0 1 3.187 5c3.037-1.138 4.323-2.867 4.477-3.085a8.51 8.51 0 0 0-7.664-1.915m8.614 2.903c-.18.243-1.612 2.078-4.77 3.367a27 27 0 0 1 .751 1.678c2.842-.357 5.666.215 5.948.275a8.5 8.5 0 0 0-1.929-5.32"})))},{name:"dropbox",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12 6.134 6.069 9.797 2 6.54l5.883-3.843zm-10 6.92 5.883 3.843L12 13.459 6.069 9.797zm10 .405 4.116 3.439L22 13.054l-4.069-3.257zM22 6.54l-5.884-3.843L12 6.134l5.931 3.663zm-9.989 7.66-4.129 3.426-1.767-1.153v1.291l5.896 3.539 5.897-3.539v-1.291l-1.769 1.153z"})))},{name:"eventbrite",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M18.041 3.931 5.959 3A2.96 2.96 0 0 0 3 5.959v12.083A2.96 2.96 0 0 0 5.959 21l12.083-.931C19.699 19.983 21 18.744 21 17.11V6.89c0-1.634-1.259-2.863-2.959-2.959M16.933 8.17c-.082.215-.192.432-.378.551-.188.122-.489.132-.799.132-1.521 0-3.062-.048-4.607-.048q-.23 1.061-.451 2.128c.932-.004 1.873.005 2.81.005.726 0 1.462-.069 1.586.525.04.189-.001.426-.052.615-.105.38-.258.676-.625.783-.185.054-.408.058-.646.058-1.145 0-2.345.017-3.493.02-.169.772-.328 1.553-.489 2.333 1.57-.005 3.067-.041 4.633-.058.627-.007 1.085.194 1.009.85a2.2 2.2 0 0 1-.211.725c-.102.208-.248.376-.488.452-.237.075-.541.064-.862.078-.304.014-.614.008-.924.016-.309.009-.619.022-.919.022-1.253 0-2.429.08-3.683.073-.603-.004-1.014-.249-1.124-.757-.059-.273-.018-.58.036-.841a3543 3543 0 0 1 1.629-7.763c.056-.265.114-.511.225-.714a1.24 1.24 0 0 1 .79-.62c.368-.099.883-.047 1.344-.047.305 0 .612.008.914.016.925.026 1.817.03 2.747.053.304.007.615.016.915.016.621 0 1.17.073 1.245.614.039.288-.051.567-.132.783"})))},{name:"facebook",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("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-10"})))},{name:"fediverse",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 743 743"},React.createElement("g",null,React.createElement("path",{d:"M181.131 275.137a68.9 68.9 0 0 1-29.465 29.328l161.758 162.389 38.998-19.764zm213.363 214.187-38.998 19.764 81.963 82.283a68.9 68.9 0 0 1 29.471-29.332zM581.646 339.391l-91.576 46.41 6.752 43.189 103.616-52.513a68.9 68.9 0 0 1-18.792-37.086m-144.738 73.351L220.383 522.477a68.9 68.9 0 0 1 18.795 37.089L443.66 455.934zM367.275 142.438l-104.48 203.97 30.848 30.967 110.623-215.957a68.9 68.9 0 0 1-36.991-18.98M235.621 399.459l-52.922 103.314a68.9 68.9 0 0 1 36.987 18.979l46.781-91.328zM150.768 304.918a68.9 68.9 0 0 1-34.416 7.195 69 69 0 0 1-6.651-.695l30.903 197.662a68.9 68.9 0 0 1 34.416-7.195 69 69 0 0 1 6.646.695zM239.342 560.545c.707 4.589.949 9.239.72 13.877a68.9 68.9 0 0 1-7.267 27.18l197.629 31.712c-.708-4.59-.95-9.24-.723-13.878a68.9 68.9 0 0 1 7.27-27.178zM601.133 377.199l-91.219 178.082a68.9 68.9 0 0 1 36.994 18.983l91.217-178.08a68.9 68.9 0 0 1-36.992-18.985M476.723 125.33a68.9 68.9 0 0 1-29.471 29.332l141.266 141.811a68.9 68.9 0 0 1 29.468-29.332zM347.787 104.631l-178.576 90.498a68.9 68.9 0 0 1 18.793 37.086l178.574-90.502a68.9 68.9 0 0 1-18.791-37.082M446.926 154.826a68.9 68.9 0 0 1-34.983 7.483 69 69 0 0 1-6.029-.633l15.818 101.291 43.163 6.926zm-16 167.028 37.4 239.482a68.9 68.9 0 0 1 33.914-6.943q3.625.206 7.207.791L474.09 328.777zM188.131 232.975c.734 4.66.988 9.383.758 14.095a68.9 68.9 0 0 1-7.16 26.983l101.369 16.281 19.923-38.908zm173.736 27.9-19.926 38.912 239.514 38.467a69 69 0 0 1-.695-13.719 68.9 68.9 0 0 1 7.349-27.324z"}),React.createElement("path",{fillOpacity:".996",d:"M412.284 156.054c34.538 1.882 64.061-24.592 65.943-59.13s-24.592-64.062-59.131-65.943c-34.538-1.882-64.061 24.592-65.943 59.13s24.593 64.062 59.131 65.943M646.144 390.82c34.538 1.881 64.062-24.593 65.943-59.131s-24.592-64.061-59.13-65.943-64.062 24.593-65.943 59.131 24.592 64.061 59.13 65.943M495.086 685.719c34.538 1.881 64.062-24.592 65.943-59.13s-24.592-64.062-59.13-65.943-64.062 24.592-65.943 59.13 24.592 64.062 59.13 65.943M167.866 633.211c34.538 1.882 64.062-24.592 65.943-59.13s-24.592-64.062-59.13-65.943-64.062 24.592-65.943 59.13 24.592 64.062 59.13 65.943M116.692 305.86c34.538 1.882 64.062-24.592 65.943-59.13s-24.592-64.062-59.131-65.943c-34.538-1.881-64.061 24.592-65.943 59.13s24.593 64.062 59.131 65.943"})))},{name:"feed",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M2 8.667V12c5.515 0 10 4.485 10 10h3.333c0-7.363-5.97-13.333-13.333-13.333M2 2v3.333c9.19 0 16.667 7.477 16.667 16.667H22C22 10.955 13.045 2 2 2m2.5 15a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5"})))},{name:"flickr",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M6.5 7c-2.75 0-5 2.25-5 5s2.25 5 5 5 5-2.25 5-5-2.25-5-5-5m11 0c-2.75 0-5 2.25-5 5s2.25 5 5 5 5-2.25 5-5-2.25-5-5-5"})))},{name:"foursquare",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M17.573 2H6.905C5.434 2 5 3.107 5 3.805v16.948c0 .785.422 1.077.66 1.172.238.097.892.177 1.285-.275 0 0 5.035-5.843 5.122-5.93.132-.132.132-.132.262-.132h3.26c1.368 0 1.588-.977 1.732-1.552.078-.318.692-3.428 1.225-6.122l.675-3.368C19.56 2.893 19.14 2 17.573 2m-1.078 5.22c-.053.252-.372.518-.665.518h-4.157c-.467 0-.802.318-.802.787v.508c0 .467.337.798.805.798h3.528c.331 0 .655.362.583.715s-.407 2.102-.448 2.295c-.04.193-.262.523-.655.523h-2.88c-.523 0-.683.068-1.033.503-.35.437-3.505 4.223-3.505 4.223-.032.035-.063.027-.063-.015V4.852c0-.298.26-.648.648-.648h8.562c.315 0 .61.297.528.683z"})))},{name:"ghost",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M10.203 20.997H3.005v-3.599h7.198zm10.792-3.599h-7.193v3.599h7.193zm.003-7.198H3v3.599h17.998zm-7.195-7.197H3.005v3.599h10.798zm7.197 0h-3.599v3.599H21z"})))},{name:"git",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M23.519 10.947 13.053.482a1.543 1.543 0 0 0-2.183 0L8.696 2.656l2.756 2.756a1.83 1.83 0 0 1 1.886.439 1.84 1.84 0 0 1 .436 1.898l2.656 2.657a1.83 1.83 0 0 1 1.899.436 1.837 1.837 0 0 1 0 2.597 1.84 1.84 0 0 1-2.599 0 1.84 1.84 0 0 1-.4-1.998l-2.478-2.477v6.521a1.837 1.837 0 0 1 .485 2.945 1.837 1.837 0 0 1-2.597 0 1.837 1.837 0 0 1 0-2.598 1.8 1.8 0 0 1 .602-.401V8.85a1.8 1.8 0 0 1-.602-.4 1.84 1.84 0 0 1-.395-2.009L7.628 3.723.452 10.898a1.544 1.544 0 0 0 0 2.184l10.467 10.467a1.544 1.544 0 0 0 2.183 0l10.417-10.418a1.546 1.546 0 0 0 0-2.184"})))},{name:"github",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12c0 4.419 2.865 8.166 6.839 9.489.5.09.682-.218.682-.484 0-.236-.009-.866-.014-1.699-2.782.602-3.369-1.34-3.369-1.34-.455-1.157-1.11-1.465-1.11-1.465-.909-.62.069-.608.069-.608 1.004.071 1.532 1.03 1.532 1.03.891 1.529 2.341 1.089 2.91.833.091-.647.349-1.086.635-1.337-2.22-.251-4.555-1.111-4.555-4.943 0-1.091.39-1.984 1.03-2.682-.103-.254-.447-1.27.097-2.646 0 0 .84-.269 2.75 1.025A9.6 9.6 0 0 1 12 6.836c.85.004 1.705.114 2.504.336 1.909-1.294 2.748-1.025 2.748-1.025.546 1.376.202 2.394.1 2.646.64.699 1.026 1.591 1.026 2.682 0 3.841-2.337 4.687-4.565 4.935.359.307.679.917.679 1.852 0 1.335-.012 2.415-.012 2.741 0 .269.18.579.688.481A10 10 0 0 0 22 12c0-5.523-4.477-10-10-10"})))},{name:"google-alt",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2m-.05 16c-3.312 0-6-2.688-6-6s2.688-6 6-6c1.62 0 2.976.594 4.014 1.566L14.26 9.222c-.432-.408-1.188-.888-2.31-.888-1.986 0-3.606 1.65-3.606 3.672s1.62 3.672 3.606 3.672c2.298 0 3.144-1.59 3.3-2.532h-3.306v-2.238h5.616c.084.378.15.732.15 1.23 0 3.426-2.298 5.862-5.76 5.862"})))},{name:"google-plus-alt",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M8 11h6.61c.06.35.11.7.11 1.16 0 4-2.68 6.84-6.72 6.84-3.87 0-7-3.13-7-7s3.13-7 7-7c1.89 0 3.47.69 4.69 1.83l-1.9 1.83c-.52-.5-1.43-1.08-2.79-1.08-2.39 0-4.34 1.98-4.34 4.42S5.61 16.42 8 16.42c2.77 0 3.81-1.99 3.97-3.02H8zm15 0h-2V9h-2v2h-2v2h2v2h2v-2h2"})))},{name:"google-plus",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2m-1.919 14.05a4.051 4.051 0 0 1 0-8.1c1.094 0 2.009.401 2.709 1.057l-1.15 1.118a2.23 2.23 0 0 0-1.559-.599c-1.341 0-2.434 1.114-2.434 2.479s1.094 2.479 2.434 2.479c1.551 0 2.122-1.073 2.227-1.709h-2.232v-1.511h3.791c.057.255.101.494.101.83.001 2.312-1.55 3.956-3.887 3.956M19 12.75h-1.25V14h-1.5v-1.25H15v-1.5h1.25V10h1.5v1.25H19z"})))},{name:"google",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12.02 10.18v3.73h5.51c-.26 1.57-1.67 4.22-5.5 4.22-3.31 0-6.01-2.75-6.01-6.12s2.7-6.12 6.01-6.12c1.87 0 3.13.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 0-.83-.11-1.42-.25-2.05z"})))},{name:"instagram",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12 4.622c2.403 0 2.688.009 3.637.052.877.04 1.354.187 1.671.31.42.163.72.358 1.035.673s.51.615.673 1.035c.123.317.27.794.31 1.671.043.949.052 1.234.052 3.637s-.009 2.688-.052 3.637c-.04.877-.187 1.354-.31 1.671-.163.42-.358.72-.673 1.035s-.615.51-1.035.673c-.317.123-.794.27-1.671.31-.949.043-1.233.052-3.637.052s-2.688-.009-3.637-.052c-.877-.04-1.354-.187-1.671-.31a2.8 2.8 0 0 1-1.035-.673 2.8 2.8 0 0 1-.673-1.035c-.123-.317-.27-.794-.31-1.671-.043-.949-.052-1.234-.052-3.637s.009-2.688.052-3.637c.04-.877.187-1.354.31-1.671.163-.42.358-.72.673-1.035s.615-.51 1.035-.673c.317-.123.794-.27 1.671-.31.949-.043 1.234-.052 3.637-.052M12 3c-2.444 0-2.751.01-3.711.054-.958.044-1.612.196-2.184.418a4.4 4.4 0 0 0-1.594 1.039c-.5.5-.808 1.002-1.038 1.594-.223.572-.375 1.226-.419 2.184C3.01 9.249 3 9.556 3 12s.01 2.751.054 3.711c.044.958.196 1.612.418 2.185.23.592.538 1.094 1.038 1.594s1.002.808 1.594 1.038c.572.222 1.227.375 2.185.418.96.044 1.267.054 3.711.054s2.751-.01 3.711-.054c.958-.044 1.612-.196 2.185-.418a4.4 4.4 0 0 0 1.594-1.038c.5-.5.808-1.002 1.038-1.594.222-.572.375-1.227.418-2.185.044-.96.054-1.267.054-3.711s-.01-2.751-.054-3.711c-.044-.958-.196-1.612-.418-2.185A4.4 4.4 0 0 0 19.49 4.51c-.5-.5-1.002-.808-1.594-1.038-.572-.222-1.227-.375-2.185-.418C14.751 3.01 14.444 3 12 3m0 4.378a4.622 4.622 0 1 0 0 9.244 4.622 4.622 0 0 0 0-9.244M12 15a3 3 0 1 1 0-6 3 3 0 0 1 0 6m4.804-8.884a1.08 1.08 0 1 0 .001 2.161 1.08 1.08 0 0 0-.001-2.161"})))},{name:"json-feed",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"m8.522 17.424.027.027c1.076-1.076 1.854-.993 3.154.306l2.053 2.053c2.136 2.136 4.131 2.028 6.515-.356l.729-.728-1.548-1.548-.373.373c-1.349 1.349-2.293 1.366-3.585.075l-2.409-2.409c-1.242-1.242-2.475-1.366-3.659-.381l-.232-.232c1.01-1.225.911-2.368-.29-3.568l-2.16-2.162c-1.317-1.317-1.308-2.236.058-3.602l.372-.372-1.54-1.54-.728.729c-2.393 2.393-2.525 4.346-.439 6.433l1.78 1.78c1.3 1.3 1.383 2.095.315 3.163l.008.008a1.384 1.384 0 0 0 1.952 1.951"}),React.createElement("circle",{cx:"13.089",cy:"10.905",r:"1.383"}),React.createElement("circle",{cx:"16.349",cy:"7.644",r:"1.383"}),React.createElement("circle",{cx:"19.61",cy:"4.383",r:"1.383"})))},{name:"line",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M14.255 9.572v3.333c0 .084-.066.15-.15.15h-.534a.16.16 0 0 1-.122-.061l-1.528-2.063v1.978c0 .084-.066.15-.15.15h-.534a.15.15 0 0 1-.15-.15V9.576c0-.084.066-.15.15-.15h.529a.14.14 0 0 1 .122.066l1.528 2.063V9.577c0-.084.066-.15.15-.15h.534a.15.15 0 0 1 .155.145m-3.844-.15h-.534a.15.15 0 0 0-.15.15v3.333c0 .084.066.15.15.15h.534c.084 0 .15-.066.15-.15V9.572c0-.08-.066-.15-.15-.15m-1.289 2.794H7.664V9.572a.15.15 0 0 0-.15-.15H6.98a.15.15 0 0 0-.15.15v3.333q0 .062.042.103a.16.16 0 0 0 .103.042h2.142c.084 0 .15-.066.15-.15v-.534a.15.15 0 0 0-.145-.15m7.945-2.794h-2.142c-.08 0-.15.066-.15.15v3.333c0 .08.066.15.15.15h2.142c.084 0 .15-.066.15-.15v-.534a.15.15 0 0 0-.15-.15h-1.458v-.563h1.458c.084 0 .15-.066.15-.15v-.539a.15.15 0 0 0-.15-.15h-1.458v-.563h1.458c.084 0 .15-.066.15-.15v-.534c-.005-.08-.07-.15-.15-.15M22.5 5.33v13.373c-.005 2.1-1.725 3.802-3.83 3.797H5.297c-2.1-.005-3.802-1.73-3.797-3.83V5.297c.005-2.1 1.73-3.802 3.83-3.797h13.373c2.1.005 3.802 1.725 3.797 3.83m-2.888 5.747c0-3.422-3.431-6.206-7.645-6.206s-7.645 2.784-7.645 6.206c0 3.066 2.719 5.634 6.394 6.122.895.192.792.52.591 1.725-.033.192-.155.755.661.413s4.402-2.592 6.009-4.439c1.106-1.219 1.636-2.452 1.636-3.82"})))},{name:"link",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M17 13H7v-2h10zm1-6h-1c-1.631 0-3.065.792-3.977 2H18c1.103 0 2 .897 2 2v2c0 1.103-.897 2-2 2h-4.977c.913 1.208 2.347 2 3.977 2h1a4 4 0 0 0 4-4v-2a4 4 0 0 0-4-4M2 11v2a4 4 0 0 0 4 4h1c1.63 0 3.065-.792 3.977-2H6c-1.103 0-2-.897-2-2v-2c0-1.103.897-2 2-2h4.977C10.065 7.792 8.631 7 7 7H6a4 4 0 0 0-4 4"})))},{name:"linkedin",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M19.7 3H4.3A1.3 1.3 0 0 0 3 4.3v15.4A1.3 1.3 0 0 0 4.3 21h15.4a1.3 1.3 0 0 0 1.3-1.3V4.3A1.3 1.3 0 0 0 19.7 3M8.339 18.338H5.667v-8.59h2.672zM7.004 8.574a1.548 1.548 0 1 1-.002-3.096 1.548 1.548 0 0 1 .002 3.096m11.335 9.764H15.67v-4.177c0-.996-.017-2.278-1.387-2.278-1.389 0-1.601 1.086-1.601 2.206v4.249h-2.667v-8.59h2.559v1.174h.037c.356-.675 1.227-1.387 2.526-1.387 2.703 0 3.203 1.779 3.203 4.092v4.711z"})))},{name:"mail",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M20 4H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2m0 4.236-8 4.882-8-4.882V6h16z"})))},{name:"mastodon",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M11.973 2.352c-2.468.02-4.842.286-6.225.921 0 0-2.742 1.229-2.742 5.415 0 .958-.018 2.105.012 3.32.1 4.094.75 8.128 4.535 9.129 1.745.462 3.244.56 4.45.494 2.19-.122 3.417-.781 3.417-.781l-.072-1.588s-1.565.491-3.32.431c-1.74-.06-3.576-.188-3.858-2.324a4 4 0 0 1-.04-.598s1.709.416 3.874.516c1.324.06 2.563-.076 3.824-.226 2.418-.29 4.524-1.78 4.79-3.141.416-2.144.38-5.232.38-5.232 0-4.186-2.74-5.415-2.74-5.415-1.383-.635-3.76-.9-6.227-.921zM9.18 5.622c1.028 0 1.804.395 2.318 1.185l.502.84.5-.84c.514-.79 1.292-1.186 2.32-1.186.888 0 1.605.313 2.15.922q.795.915.794 2.469v5.068h-2.008V9.16c0-1.037-.438-1.562-1.31-1.562-.966 0-1.448.622-1.448 1.857v2.693h-1.996V9.455c0-1.235-.484-1.857-1.45-1.857-.872 0-1.308.525-1.308 1.562v4.92H6.236V9.012q-.001-1.554.793-2.469c.547-.609 1.263-.922 2.15-.922"})))},{name:"medium-alt",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{fillRule:"nonzero",d:"M7.423 6c3.27 0 5.922 2.686 5.922 6s-2.651 6-5.922 6S1.5 15.313 1.5 12s2.652-6 5.923-6m9.458.351c1.635 0 2.961 2.53 2.961 5.65 0 3.118-1.325 5.648-2.96 5.648S13.92 15.119 13.92 12s1.325-5.649 2.96-5.649m4.577.589c.576 0 1.042 2.265 1.042 5.06s-.466 5.06-1.042 5.06c-.575 0-1.04-2.265-1.04-5.06s.465-5.06 1.04-5.06"})))},{name:"medium",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M3 3v18h18V3zm15 4.26-1 .93a.28.28 0 0 0-.11.27v6.8a.27.27 0 0 0 .11.27l.94.93v.2h-4.75v-.2l1-1c.09-.1.09-.12.09-.27V9.74l-2.71 6.9h-.37L8 9.74v4.62a.67.67 0 0 0 .17.54l1.27 1.54v.2H5.86v-.2l1.27-1.54a.64.64 0 0 0 .17-.54V9a.5.5 0 0 0-.16-.4L6 7.26v-.2h3.52L12.23 13l2.38-5.94H18z"})))},{name:"messenger",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12.026.375C5.462.375.375 5.172.375 11.652c0 3.389 1.393 6.318 3.66 8.341.391.352.311.556.377 2.73a.934.934 0 0 0 1.307.823c2.48-1.092 2.512-1.178 2.933-1.064 7.185 1.977 14.973-2.621 14.973-10.83 0-6.48-5.035-11.277-11.599-11.277m6.996 8.678L15.6 14.47a1.75 1.75 0 0 1-2.527.465l-2.723-2.038a.7.7 0 0 0-.844 0l-3.674 2.786c-.49.372-1.133-.216-.802-.735l3.422-5.417a1.75 1.75 0 0 1 2.527-.465l2.722 2.037a.7.7 0 0 0 .844 0L18.22 8.32c.489-.374 1.132.213.801.732"})))},{name:"microblog",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M19.641 17.086c1.294-1.522 2.067-3.438 2.067-5.521 0-4.957-4.371-8.972-9.763-8.972s-9.763 4.015-9.763 8.972 4.371 8.972 9.763 8.972a10.5 10.5 0 0 0 3.486-.59.315.315 0 0 1 .356.112c.816 1.101 2.09 1.876 3.506 2.191a.194.194 0 0 0 .192-.309 3.82 3.82 0 0 1 .162-4.858zm-3.065-6.575-2.514 1.909.912 3.022a.286.286 0 0 1-.437.317l-2.592-1.802-2.592 1.802a.285.285 0 0 1-.436-.317l.912-3.022-2.515-1.909a.285.285 0 0 1 .167-.513l3.155-.066 1.038-2.981a.285.285 0 0 1 .539 0l1.038 2.981 3.155.066a.285.285 0 0 1 .17.513"})))},{name:"nextdoor",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",strokeMiterlimit:"10",viewBox:"0 0 130 130"},React.createElement("g",null,React.createElement("path",{d:"M64.25 3.531c-31.144.337-57.596 24.22-60.469 55.907-3.064 33.799 21.857 63.685 55.657 66.75s63.685-21.857 66.75-55.657-21.857-63.686-55.657-66.75a62 62 0 0 0-6.281-.25m3.938 34.907C82.468 38.438 93.5 48.58 93.5 61.5v27c0 .685-.565 1.25-1.25 1.25H80.906a1.267 1.267 0 0 1-1.25-1.25V63.375c0-5.58-4.309-11.937-11.469-11.937-7.47 0-11.468 6.357-11.468 11.937V88.5c0 .685-.565 1.25-1.25 1.25H44.125c-.68 0-1.219-.57-1.219-1.25V64.156c0-.74-.529-1.364-1.25-1.531-13.13-2.93-15.115-10.285-15.375-21.125-.005-.332.142-.67.375-.906.233-.237.543-.375.875-.375l11.688.062c.66.01 1.187.529 1.218 1.188.13 4.44.438 9.406 4.438 9.406.83 0 1.443-1.179 1.813-1.719 4.41-6.48 12.28-10.718 21.5-10.718"})))},{name:"patreon",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M20 7.408c-.003-2.299-1.746-4.182-3.79-4.862-2.54-.844-5.888-.722-8.312.453-2.939 1.425-3.862 4.545-3.896 7.656-.028 2.559.22 9.297 3.92 9.345 2.75.036 3.159-3.603 4.43-5.356.906-1.247 2.071-1.599 3.506-1.963 2.465-.627 4.146-2.626 4.142-5.273"})))},{name:"pinterest-alt",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12.289 2C6.617 2 3.606 5.648 3.606 9.622c0 1.846 1.025 4.146 2.666 4.878.25.111.381.063.439-.169.044-.175.267-1.029.365-1.428a.37.37 0 0 0-.091-.362c-.54-.63-.975-1.791-.975-2.873 0-2.777 2.194-5.464 5.933-5.464 3.23 0 5.49 2.108 5.49 5.122 0 3.407-1.794 5.768-4.13 5.768-1.291 0-2.257-1.021-1.948-2.277.372-1.495 1.089-3.112 1.089-4.191 0-.967-.542-1.775-1.663-1.775-1.319 0-2.379 1.309-2.379 3.059 0 1.115.394 1.869.394 1.869s-1.302 5.279-1.54 6.261c-.405 1.666.053 4.368.094 4.604.021.126.167.169.25.063.129-.165 1.699-2.419 2.142-4.051.158-.59.817-2.995.817-2.995.43.784 1.681 1.446 3.013 1.446 3.963 0 6.822-3.494 6.822-7.833C20.394 5.112 16.849 2 12.289 2"})))},{name:"pinterest",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12c0 4.236 2.636 7.855 6.356 9.312-.087-.791-.166-2.005.035-2.869.182-.78 1.173-4.971 1.173-4.971s-.299-.599-.299-1.484c0-1.39.806-2.429 1.809-2.429.853 0 1.265.641 1.265 1.409 0 .858-.546 2.141-.828 3.329-.236.996.499 1.807 1.481 1.807 1.777 0 3.144-1.874 3.144-4.579 0-2.394-1.72-4.068-4.177-4.068-2.845 0-4.515 2.134-4.515 4.34 0 .859.331 1.781.744 2.282a.3.3 0 0 1 .069.287c-.077.316-.246.995-.279 1.134-.044.183-.145.222-.334.134-1.249-.581-2.03-2.407-2.03-3.874 0-3.154 2.292-6.051 6.607-6.051 3.469 0 6.165 2.472 6.165 5.775 0 3.446-2.173 6.22-5.189 6.22-1.013 0-1.966-.526-2.292-1.148l-.623 2.377c-.226.869-.835 1.957-1.243 2.622.936.289 1.93.445 2.961.445 5.523 0 10-4.477 10-10S17.523 2 12 2"})))},{name:"pocket",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M21.927 4.194A1.82 1.82 0 0 0 20.222 3H3.839a1.823 1.823 0 0 0-1.813 1.814v6.035l.069 1.2c.29 2.73 1.707 5.115 3.899 6.778l.119.089.025.018a9.9 9.9 0 0 0 3.91 1.727 10.06 10.06 0 0 0 4.049-.014.3.3 0 0 0 .064-.023 9.9 9.9 0 0 0 3.753-1.691l.025-.018q.06-.043.119-.089c2.192-1.664 3.609-4.049 3.898-6.778l.069-1.2V4.814a1.8 1.8 0 0 0-.098-.62m-4.235 6.287-4.704 4.512a1.37 1.37 0 0 1-1.898 0l-4.705-4.512a1.371 1.371 0 1 1 1.898-1.979l3.756 3.601 3.755-3.601a1.372 1.372 0 0 1 1.898 1.979"})))},{name:"polldaddy",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12 2C6.487 2 2 6.487 2 12c0 5.514 4.487 10 10 10 5.514 0 10-4.486 10-10 0-5.513-4.486-10-10-10m.991 1.68c2.361.084 4.657 1.251 6.197 3.136.283.334.541.693.774 1.067a7.78 7.78 0 0 0-6.094-2.94 7.76 7.76 0 0 0-5.896 2.703q-.008.006-.016.014l-.152.159-.031.032a6.12 6.12 0 0 0-1.633 4.165 6.15 6.15 0 0 0 6.143 6.143c.57 0 1.123-.081 1.649-.227-1.849.839-4.131.747-5.926-.324-1.841-1.089-3.171-3.111-3.433-5.313A7.39 7.39 0 0 1 6.69 6.137C8.294 4.5 10.634 3.563 12.991 3.68m3.373 8.519c-.049-2.024-1.587-3.889-3.544-4.174-1.927-.343-3.917.857-4.451 2.661a3.67 3.67 0 0 0 .2 2.653c.39.8 1.067 1.451 1.894 1.759 1.664.654 3.63-.27 4.173-1.863.593-1.58-.396-3.423-1.94-3.776-1.52-.407-3.161.757-3.204 2.243a2.36 2.36 0 0 0 .753 1.879c.501.476 1.23.667 1.871.529a2.07 2.07 0 0 0 1.469-1.134 1.91 1.91 0 0 0-.087-1.767c-.297-.513-.859-.863-1.429-.881a1.7 1.7 0 0 0-1.437.679 1.53 1.53 0 0 0-.18 1.489q.006.016.016.03c.193.634.774 1.1 1.467 1.117a1.6 1.6 0 0 1-.97-.183c-.466-.244-.809-.747-.893-1.29a1.8 1.8 0 0 1 .499-1.539 2.02 2.02 0 0 1 1.58-.606c.593.04 1.159.35 1.517.859.364.496.51 1.156.383 1.773-.116.62-.529 1.174-1.093 1.514a2.52 2.52 0 0 1-1.914.286c-.65-.161-1.226-.606-1.584-1.206a2.83 2.83 0 0 1-.341-2.031c.143-.7.573-1.321 1.176-1.753 1.193-.883 3.056-.751 4.106.411 1.106 1.1 1.327 3.027.406 4.371-.877 1.376-2.74 2.086-4.374 1.594-1.639-.449-2.913-2.079-3.031-3.853-.07-.884.13-1.797.583-2.577.445-.777 1.155-1.432 1.972-1.862 1.64-.88 3.816-.743 5.349.424 1.251.924 2.083 2.42 2.236 4.009l.001.03c0 2.9-2.359 5.26-5.26 5.26a5.2 5.2 0 0 1-1.947-.376 5 5 0 0 0 2.613-.079 4.96 4.96 0 0 0 2.514-1.751c.618-.828.95-1.861.901-2.869M12 21.113c-5.024 0-9.111-4.087-9.111-9.113 0-4.789 3.713-8.723 8.411-9.081a7 7 0 0 0-.397.06c-2.644.453-5.017 2.106-6.32 4.409-1.309 2.301-1.391 5.19-.3 7.527 1.056 2.34 3.253 4.156 5.776 4.553 2.497.44 5.133-.483 6.787-2.301 1.719-1.797 2.269-4.529 1.486-6.796-.583-1.81-1.976-3.331-3.7-4.046 3.417.594 6.174 3.221 6.174 6.781 0 1.004-.241 2.02-.657 2.966-1.498 2.984-4.586 5.041-8.149 5.041"})))},{name:"print",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M9 16h6v2H9zm13 1h-3v3a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-3H2V9a2 2 0 0 1 2-2h1V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v2h1a2 2 0 0 1 2 2zM7 7h10V5H7zm10 7H7v6h10zm3-3.5a1.5 1.5 0 1 0-3.001.001A1.5 1.5 0 0 0 20 10.5"})))},{name:"quora",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M47.736 16.521c-.41-.81-.898-1.631-1.846-1.631a1 1 0 0 0-.527.107l-.322-.644a2.93 2.93 0 0 1 1.836-.595c1.26 0 1.914.605 2.431 1.397a6.8 6.8 0 0 0 .449-2.675c0-2.773-.869-4.199-2.929-4.199-1.992 0-2.851 1.465-2.851 4.199s.859 4.17 2.851 4.17a4 4 0 0 0 .869-.107zm.498.966a6 6 0 0 1-1.367.185 5.27 5.27 0 0 1-5.263-5.204c0-3.114 2.558-5.233 5.263-5.233s5.282 2.109 5.282 5.233a5.08 5.08 0 0 1-1.992 4.072c.381.566.781.956 1.319.956.595 0 .839-.459.878-.82h.781c.049.488-.195 2.48-2.373 2.48-1.319 0-2.012-.761-2.529-1.66zm5.624-2.646v-3.563c0-.371-.146-.586-.615-.586h-.498v-.956h3.251v5.048c0 .849.459 1.231 1.161 1.231a1.56 1.56 0 0 0 1.465-.839V11.28c0-.371-.146-.586-.615-.586h-.527v-.957h3.28v5.302c0 .527.195.732.8.732h.107v.976l-2.929.468V16.21h-.057a3.12 3.12 0 0 1-2.509 1.152c-1.28 0-2.304-.644-2.304-2.558zm12.059 1.611c1.152 0 1.592-1.005 1.611-3.027.02-1.982-.459-2.929-1.611-2.929-1.005 0-1.641.956-1.641 2.929 0 2.021.625 3.027 1.641 3.027m0 .956a3.906 3.906 0 0 1-3.974-3.974c0-2.334 1.836-3.886 3.974-3.886 2.226 0 4.004 1.582 4.004 3.886a3.867 3.867 0 0 1-4.004 3.974m4.072-.146v-.956h.312c.781 0 .859-.224.859-.908v-4.121c0-.371-.215-.586-.732-.586h-.42v-.955h2.968l.146 1.553h.108c.371-1.113 1.221-1.699 2.051-1.699.693 0 1.221.39 1.221 1.181 0 .547-.264 1.093-1.005 1.093-.664 0-.8-.449-1.358-.449-.488 0-.869.468-.869 1.152v2.783c0 .673.166.908.937.908h.439v.956h-4.658zm9.901-1.093c.956 0 1.338-.898 1.338-1.797v-1.211c-.732.722-2.304.742-2.304 2.021 0 .625.371.986.966.986m1.387 0c-.39.752-1.191 1.26-2.314 1.26-1.309 0-2.148-.732-2.148-1.914 0-2.451 3.417-1.797 4.423-3.427v-.185c0-1.25-.488-1.445-1.035-1.445-1.524 0-.83 1.631-2.226 1.631-.673 0-.937-.371-.937-.859 0-.927 1.093-1.67 3.173-1.67 1.963 0 3.163.537 3.163 2.49v3.114q-.02.742.595.742a1 1 0 0 0 .449-.127l.254.615c-.205.312-.752.869-1.836.869-.908 0-1.465-.42-1.543-1.113h-.01zm-68.554 2.558c-.83-1.641-1.807-3.3-3.711-3.3a2.9 2.9 0 0 0-1.093.215l-.644-1.299a5.66 5.66 0 0 1 3.662-1.211c2.548 0 3.857 1.231 4.892 2.792q.917-2.012.908-5.38c0-5.585-1.748-8.417-5.829-8.417-4.033 0-5.76 2.87-5.76 8.417s1.738 8.397 5.76 8.397a5.9 5.9 0 0 0 1.748-.224zm.996 1.953a9.8 9.8 0 0 1-2.744.371C5.614 21.041.371 16.764.371 10.545.371 4.277 5.614 0 10.965 0c5.448 0 10.642 4.248 10.642 10.545a10.25 10.25 0 0 1-4.013 8.201c.732 1.152 1.563 1.914 2.665 1.914 1.201 0 1.689-.927 1.768-1.66h1.572c.088.966-.4 4.999-4.775 4.999-2.646 0-4.052-1.543-5.106-3.339z"})))},{name:"reddit",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M22 11.816a2.28 2.28 0 0 0-2.277-2.277c-.593 0-1.122.24-1.526.614-1.481-.965-3.455-1.594-5.647-1.69l1.171-3.702 3.18.748a1.88 1.88 0 0 0 1.876 1.862 1.88 1.88 0 0 0 1.877-1.878 1.88 1.88 0 0 0-1.877-1.877c-.769 0-1.431.466-1.72 1.13l-3.508-.826a.386.386 0 0 0-.46.261l-1.35 4.268c-2.316.038-4.411.67-5.97 1.671a2.24 2.24 0 0 0-1.492-.581A2.28 2.28 0 0 0 2 11.816c0 .814.433 1.523 1.078 1.925a4 4 0 0 0-.061.672c0 3.292 4.011 5.97 8.941 5.97s8.941-2.678 8.941-5.97q-.002-.32-.053-.632A2.26 2.26 0 0 0 22 11.816m-3.224-7.422a1.1 1.1 0 1 1-.001 2.199 1.1 1.1 0 0 1 .001-2.199M2.777 11.816c0-.827.672-1.5 1.499-1.5.313 0 .598.103.838.269-.851.676-1.477 1.479-1.812 2.36a1.48 1.48 0 0 1-.525-1.129m9.182 7.79c-4.501 0-8.164-2.329-8.164-5.193S7.457 9.22 11.959 9.22s8.164 2.329 8.164 5.193-3.663 5.193-8.164 5.193m8.677-6.605c-.326-.89-.948-1.701-1.797-2.384.248-.186.55-.301.883-.301.827 0 1.5.673 1.5 1.5.001.483-.23.911-.586 1.185m-11.64 1.703c-.76 0-1.397-.616-1.397-1.376s.637-1.397 1.397-1.397 1.376.637 1.376 1.397-.616 1.376-1.376 1.376m7.405-1.376c0 .76-.616 1.376-1.376 1.376s-1.399-.616-1.399-1.376.639-1.397 1.399-1.397 1.376.637 1.376 1.397m-1.172 3.38a.39.39 0 0 1 0 .55c-.674.674-1.727 1.002-3.219 1.002l-.011-.002-.011.002c-1.492 0-2.544-.328-3.218-1.002a.389.389 0 1 1 .55-.55c.521.521 1.394.775 2.669.775l.011.002.011-.002c1.275 0 2.148-.253 2.669-.775a.387.387 0 0 1 .549 0"})))},{name:"share",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M18 16c-.788 0-1.499.31-2.034.807L8.91 12.7c.05-.23.09-.46.09-.7s-.04-.47-.09-.7l7.05-4.11c.54.5 1.25.81 2.04.81 1.66 0 3-1.34 3-3s-1.34-3-3-3-3 1.34-3 3c0 .24.04.47.09.7L8.04 9.81C7.5 9.31 6.79 9 6 9c-1.66 0-3 1.34-3 3s1.34 3 3 3c.79 0 1.5-.31 2.04-.81l7.048 4.118A3 3 0 0 0 15 19a3 3 0 1 0 3-3"})))},{name:"skype",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"m10.113 2.699.1-.02q.05.025.098.051zM2.72 10.223l-.017.103q.025.048.051.095zm18.555 3.548q.009-.053.018-.106-.025-.047-.052-.095zm-7.712 7.428q.049.027.096.053l.105-.017zM22 16.386a5.55 5.55 0 0 1-1.637 3.953 5.55 5.55 0 0 1-3.953 1.637 5.6 5.6 0 0 1-2.75-.725l.105-.017-.202-.035q.049.027.096.053a9.5 9.5 0 0 1-1.654.147 9.4 9.4 0 0 1-3.676-.743 9.4 9.4 0 0 1-3.002-2.023 9.4 9.4 0 0 1-2.023-3.002 9.4 9.4 0 0 1-.743-3.676c0-.546.049-1.093.142-1.628q.025.048.051.095l-.034-.199-.017.103A5.6 5.6 0 0 1 2 7.615c0-1.493.582-2.898 1.637-3.953A5.56 5.56 0 0 1 7.59 2.024c.915 0 1.818.228 2.622.655l-.1.02.199.031q-.049-.026-.098-.051l.004-.001a9.5 9.5 0 0 1 1.788-.169 9.41 9.41 0 0 1 6.678 2.766 9.4 9.4 0 0 1 2.024 3.002 9.4 9.4 0 0 1 .743 3.676c0 .575-.054 1.15-.157 1.712q-.025-.047-.052-.095l.034.201q.009-.053.018-.106c.461.829.707 1.767.707 2.721m-5.183-2.248c0-1.331-.613-2.743-3.033-3.282l-2.209-.49c-.84-.192-1.807-.444-1.807-1.237s.679-1.348 1.903-1.348c2.468 0 2.243 1.696 3.468 1.696.645 0 1.209-.379 1.209-1.031 0-1.521-2.435-2.663-4.5-2.663-2.242 0-4.63.952-4.63 3.488 0 1.221.436 2.521 2.839 3.123l2.984.745c.903.223 1.129.731 1.129 1.189 0 .762-.758 1.507-2.129 1.507-2.679 0-2.307-2.062-3.743-2.062-.645 0-1.113.444-1.113 1.078 0 1.236 1.501 2.886 4.856 2.886 3.195 0 4.776-1.538 4.776-3.599"})))},{name:"sms",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M17.696 4C20.069 4 22 5.973 22 8.398v4.357c0 2.04-1.368 3.783-3.261 4.266v4.427l-5.234-4.295h-7.2C3.93 17.153 2 15.18 2 12.755V8.398C2 5.973 3.931 4 6.304 4zM7.028 8.515c-.98 0-1.66.562-1.66 1.349-.009.497.322.91.985 1.178l.39.142c.242.097.305.171.305.297 0 .162-.131.251-.442.251s-.76-.135-1.004-.284l-.112.046-.215.868c.359.258.832.364 1.33.364 1.104 0 1.764-.523 1.764-1.333-.008-.574-.305-.956-.954-1.216l-.393-.146c-.266-.108-.341-.181-.341-.287 0-.152.131-.243.387-.243.274 0 .587.093.808.214l.109-.047.214-.837c-.315-.224-.741-.316-1.171-.316m10.302 0c-.98 0-1.66.562-1.66 1.349-.008.497.322.91.985 1.178l.39.142c.243.097.305.171.305.297 0 .162-.13.251-.442.251-.311 0-.76-.135-1.004-.284l-.112.046-.215.868c.359.258.832.364 1.33.364 1.104 0 1.764-.523 1.764-1.333-.008-.574-.305-.956-.954-1.216l-.393-.146c-.266-.108-.341-.181-.341-.287 0-.152.131-.243.387-.243.274 0 .587.093.808.214l.109-.047.214-.837c-.316-.224-.741-.316-1.171-.316m-3.733 0c-.297 0-.55.066-.78.202l-.144.098a2 2 0 0 0-.264.247l-.078.095-.027-.077c-.15-.34-.55-.565-1.033-.565l-.169.007a1.36 1.36 0 0 0-.896.42l-.08.09-.038-.363-.075-.067H8.994l-.075.079.024.634c.005.2.008.397.008.604v2.652l.075.075h1.178l.075-.075v-2.269q-.002-.168.042-.274c.083-.23.262-.392.496-.392.314 0 .483.267.483.753v2.182l.075.075h1.179l.075-.075v-2.277c0-.097.016-.213.043-.285.077-.224.26-.373.486-.373.33 0 .5.272.5.817v2.118l.074.075h1.179l.075-.075v-2.293c0-1.131-.537-1.763-1.39-1.763Z"})))},{name:"snapchat",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M11.989 1.728c3.221.001 5.904 2.683 5.908 5.912q.002 1.133.067 2.094a.737.737 0 0 0 .902.669l1.009-.237a.6.6 0 0 1 .129-.015c.256 0 .492.175.55.434a.74.74 0 0 1-.479.861l-1.532.618a.823.823 0 0 0-.485.98c1.229 4.543 4.661 4.071 4.661 4.662 0 .743-2.587.848-2.821 1.082s-.01 1.368-.532 1.588a1.1 1.1 0 0 1-.409.056c-.393 0-.95-.077-1.536-.077-.509 0-1.04.058-1.507.273-1.239.572-2.433 1.641-3.914 1.641S9.325 21.2 8.086 20.628c-.467-.216-.998-.273-1.507-.273-.586 0-1.143.077-1.536.077-.17 0-.31-.014-.409-.056-.522-.22-.299-1.354-.532-1.588s-2.821-.337-2.821-1.08c0-.592 3.432-.119 4.661-4.662a.824.824 0 0 0-.486-.98l-1.532-.618a.74.74 0 0 1-.479-.861.56.56 0 0 1 .679-.419l1.009.237q.086.02.169.02a.737.737 0 0 0 .733-.689q.065-.961.067-2.094c.004-3.229 2.666-5.91 5.887-5.912m0-1.281c-.961 0-1.898.194-2.784.574A7.2 7.2 0 0 0 6.93 2.572a7.2 7.2 0 0 0-1.539 2.282A7.1 7.1 0 0 0 4.82 7.64a33 33 0 0 1-.029 1.369l-.375-.088a2 2 0 0 0-.421-.049 1.86 1.86 0 0 0-1.135.389 1.84 1.84 0 0 0-.666 1.049 2.024 2.024 0 0 0 1.271 2.335l1.124.454c-.744 2.285-2.117 2.723-3.041 3.018a5 5 0 0 0-.659.246C.087 16.76 0 17.436 0 17.708c0 .521.247.996.694 1.339.223.17.499.311.844.43.47.162 1.016.265 1.459.347.021.164.053.341.106.518.22.738.684 1.069 1.034 1.217.332.14.676.156.905.156.224 0 .462-.018.713-.036.269-.02.548-.041.823-.041.426 0 .743.051.97.155.311.144.64.337.989.542.972.571 2.073 1.217 3.462 1.217s2.49-.647 3.462-1.217c.349-.205.679-.399.989-.542.226-.105.544-.155.97-.155.275 0 .554.021.823.041.251.019.488.036.713.036.229 0 .573-.016.905-.156.35-.147.814-.478 1.034-1.217.053-.178.084-.354.106-.518.443-.082.989-.185 1.459-.347.345-.119.621-.259.844-.43.448-.342.694-.818.694-1.339 0-.272-.087-.948-.891-1.347a5 5 0 0 0-.659-.246c-.924-.295-2.297-.733-3.041-3.018l1.124-.454a2.025 2.025 0 0 0 1.271-2.335 1.83 1.83 0 0 0-.666-1.049 1.86 1.86 0 0 0-1.556-.34l-.375.088a33 33 0 0 1-.029-1.369 7.1 7.1 0 0 0-.575-2.789c-.365-.853-.886-1.62-1.547-2.282s-1.428-1.182-2.28-1.547a7.1 7.1 0 0 0-2.786-.574"})))},{name:"soundcloud",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M23.587 13.923a3.303 3.303 0 0 1-3.344 3.117h-8.037a.674.674 0 0 1-.667-.67V7.717a.74.74 0 0 1 .444-.705s.739-.512 2.296-.512a5.27 5.27 0 0 1 2.702.742 5.35 5.35 0 0 1 2.516 3.485 3.1 3.1 0 0 1 .852-.116 3.217 3.217 0 0 1 3.237 3.312m-13.05-5.659c.242 2.935.419 5.612 0 8.538a.261.261 0 0 1-.519 0c-.39-2.901-.221-5.628 0-8.538a.26.26 0 0 1 .398-.25.26.26 0 0 1 .12.25zm-1.627 8.541a.273.273 0 0 1-.541 0 32.7 32.7 0 0 1 0-7.533.274.274 0 0 1 .544 0 29.4 29.4 0 0 1-.003 7.533m-1.63-7.788c.264 2.69.384 5.099-.003 7.782a.262.262 0 0 1-.522 0c-.374-2.649-.249-5.127 0-7.782a.264.264 0 0 1 .525 0m-1.631 7.792a.268.268 0 0 1-.532 0 27.6 27.6 0 0 1 0-7.034.27.27 0 1 1 .541 0 25.8 25.8 0 0 1-.01 7.034zm-1.63-5.276c.412 1.824.227 3.435-.015 5.294a.255.255 0 0 1-.504 0c-.22-1.834-.402-3.482-.015-5.295a.268.268 0 0 1 .535 0m-1.626-.277c.378 1.869.254 3.451-.01 5.325-.031.277-.506.28-.531 0-.239-1.846-.352-3.476-.01-5.325a.277.277 0 0 1 .551 0m-1.643.907c.396 1.239.261 2.246-.016 3.517a.258.258 0 0 1-.514 0c-.239-1.246-.336-2.274-.021-3.517a.276.276 0 0 1 .55 0z"})))},{name:"spotify",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2m4.586 14.424a.62.62 0 0 1-.857.207c-2.348-1.435-5.304-1.76-8.785-.964a.622.622 0 1 1-.277-1.215c3.809-.871 7.077-.496 9.713 1.115a.623.623 0 0 1 .206.857M17.81 13.7a.78.78 0 0 1-1.072.257c-2.687-1.652-6.785-2.131-9.965-1.166A.779.779 0 1 1 6.32 11.3c3.632-1.102 8.147-.568 11.234 1.328a.78.78 0 0 1 .256 1.072m.105-2.835c-3.223-1.914-8.54-2.09-11.618-1.156a.935.935 0 1 1-.542-1.79c3.532-1.072 9.404-.865 13.115 1.338a.936.936 0 1 1-.955 1.608"})))},{name:"squarespace",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M20.87 9.271a3.86 3.86 0 0 0-5.458 0l-6.141 6.141a.964.964 0 1 0 1.365 1.364l6.14-6.14a1.929 1.929 0 1 1 2.729 2.729l-6.022 6.022a1.93 1.93 0 0 0 2.729 0l4.658-4.658a3.86 3.86 0 0 0 0-5.458m-2.047 2.047a.965.965 0 0 0-1.365 0l-6.14 6.14a1.93 1.93 0 0 1-2.729 0 .964.964 0 1 0-1.364 1.364 3.86 3.86 0 0 0 5.458 0l6.14-6.14a.966.966 0 0 0 0-1.364m-2.047-6.141a3.86 3.86 0 0 0-5.458 0l-6.14 6.14a.964.964 0 1 0 1.364 1.364l6.141-6.14a1.93 1.93 0 0 1 2.729 0 .965.965 0 1 0 1.364-1.364m-2.047 2.047a.964.964 0 0 0-1.364 0l-6.14 6.141a1.929 1.929 0 1 1-2.729-2.729l6.022-6.022a1.93 1.93 0 0 0-2.729 0L3.13 9.271a3.86 3.86 0 0 0 5.458 5.458l6.14-6.141a.963.963 0 0 0 .001-1.364"})))},{name:"stackexchange",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M4 11.606h16v3.272H4zM4 7.377h16v3.272H4zM17.514 3H6.55C5.147 3 4 4.169 4 5.614v.848h16v-.85C20 4.167 18.895 3 17.514 3M4 15.813v.85c0 1.445 1.147 2.614 2.55 2.614h6.799v3.463l3.357-3.463h.744c1.402 0 2.55-1.169 2.55-2.614v-.85z"})))},{name:"stackoverflow",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M18.18 20.103V14.78h1.767v7.09H4v-7.09h1.767v5.323z"}),React.createElement("path",{d:"m7.717 14.275 8.673 1.813.367-1.744-8.673-1.813zm1.147-4.13 8.031 3.74.734-1.606-8.031-3.763zm2.226-3.946 6.815 5.667 1.124-1.354-6.815-5.667zM15.495 2l-1.423 1.055 5.277 7.113 1.423-1.055zM7.533 18.314h8.857v-1.767H7.533z"})))},{name:"stumbleupon",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12 4.294a4.47 4.47 0 0 0-4.471 4.471v6.353a1.059 1.059 0 1 1-2.118 0v-2.824H2v2.941a4.471 4.471 0 0 0 8.942 0v-6.47a1.059 1.059 0 1 1 2.118 0v1.294l1.412.647 2-.647V8.765A4.473 4.473 0 0 0 12 4.294m1.059 8.059v2.882a4.471 4.471 0 0 0 8.941 0v-2.824h-3.412v2.824a1.059 1.059 0 1 1-2.118 0v-2.882l-2 .647z"})))},{name:"substack",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M19.904 9.182H4.095V7.054h15.81v2.127M4.095 11.109V21L12 16.583 19.905 21v-9.891zM19.905 3H4.095v2.127h15.81z"})))},{name:"telegram",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2m3.08 14.757s-.25.625-.936.325l-2.541-1.949-1.63 1.486s-.127.096-.266.036c0 0-.12-.011-.27-.486s-.911-2.972-.911-2.972L6 12.349s-.387-.137-.425-.438c-.037-.3.437-.462.437-.462l10.03-3.934s.824-.362.824.238z"})))},{name:"threads",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 192 192"},React.createElement("g",null,React.createElement("path",{d:"M141.537 88.988a67 67 0 0 0-2.518-1.143c-1.482-27.307-16.403-42.94-41.457-43.1h-.34c-14.986 0-27.449 6.396-35.12 18.036l13.779 9.452c5.73-8.695 14.724-10.548 21.348-10.548h.229c8.249.053 14.474 2.452 18.503 7.129 2.932 3.405 4.893 8.111 5.864 14.05-7.314-1.243-15.224-1.626-23.68-1.14-23.82 1.371-39.134 15.264-38.105 34.568.522 9.792 5.4 18.216 13.735 23.719 7.047 4.652 16.124 6.927 25.557 6.412 12.458-.683 22.231-5.436 29.049-14.127 5.178-6.6 8.453-15.153 9.899-25.93 5.937 3.583 10.337 8.298 12.767 13.966 4.132 9.635 4.373 25.468-8.546 38.376-11.319 11.308-24.925 16.2-45.488 16.351-22.809-.169-40.06-7.484-51.275-21.742C35.236 139.966 29.808 120.682 29.605 96c.203-24.682 5.63-43.966 16.133-57.317C56.954 24.425 74.204 17.11 97.013 16.94c22.975.17 40.526 7.52 52.171 21.847 5.71 7.026 10.015 15.86 12.853 26.162l16.147-4.308c-3.44-12.68-8.853-23.606-16.219-32.668C147.036 9.607 125.202.195 97.07 0h-.113C68.882.194 47.292 9.642 32.788 28.08 19.882 44.485 13.224 67.315 13.001 95.932L13 96v.067c.224 28.617 6.882 51.447 19.788 67.854C47.292 182.358 68.882 191.806 96.957 192h.113c24.96-.173 42.554-6.708 57.048-21.189 18.963-18.945 18.392-42.692 12.142-57.27-4.484-10.454-13.033-18.945-24.723-24.553M98.44 129.507c-10.44.588-21.286-4.098-21.82-14.135-.397-7.442 5.296-15.746 22.461-16.735q2.948-.17 5.79-.169c6.235 0 12.068.606 17.371 1.765-1.978 24.702-13.58 28.713-23.802 29.274"})))},{name:"tiktok-alt",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M5 3a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2zm7.531 3h2.053s-.114 2.635 2.85 2.82v2.04s-1.582.099-2.85-.87l.021 4.207a3.804 3.804 0 1 1-3.802-3.802h.533v2.082a1.73 1.73 0 0 0-1.922.648 1.727 1.727 0 0 0 1.947 2.646 1.73 1.73 0 0 0 1.19-1.642z"})))},{name:"tiktok",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12.22 2h3.42s-.19 4.394 4.75 4.702v3.396s-2.636.166-4.75-1.448l.037 7.012a6.338 6.338 0 1 1-6.34-6.339h.89v3.472a2.882 2.882 0 1 0 2.024 2.752z"})))},{name:"tripadvisor",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M21.01 9.859c.236-1.002.985-2.003.985-2.003l-3.341-.002C16.779 6.643 14.502 6 11.979 6 9.363 6 7 6.659 5.135 7.877L2 7.88s.74.988.98 1.983a4.98 4.98 0 0 0-.977 2.961 5.01 5.01 0 0 0 5.009 5.003 5 5 0 0 0 3.904-1.875l1.065 1.592 1.076-1.606a4.96 4.96 0 0 0 1.838 1.448 4.98 4.98 0 0 0 3.831.151 5.01 5.01 0 0 0 2.963-6.431 5 5 0 0 0-.679-1.247m-13.998 6.96a4 4 0 0 1-3.998-3.995 4 4 0 0 1 3.998-3.997 4 4 0 0 1 3.996 3.997 4 4 0 0 1-3.996 3.995m4.987-4.36A5.007 5.007 0 0 0 7.11 7.821c1.434-.613 3.081-.947 4.867-.947 1.798 0 3.421.324 4.853.966a4.984 4.984 0 0 0-4.831 4.619m6.288 4.134a3.97 3.97 0 0 1-3.058-.122 3.96 3.96 0 0 1-2.075-2.245v-.001a3.97 3.97 0 0 1 .118-3.056 3.97 3.97 0 0 1 2.246-2.077 4.005 4.005 0 0 1 5.135 2.366 4.006 4.006 0 0 1-2.366 5.135"}),React.createElement("path",{d:"M6.949 10.307a2.477 2.477 0 0 0-2.475 2.472 2.48 2.48 0 0 0 2.475 2.474 2.474 2.474 0 0 0 0-4.946m0 4.094a1.626 1.626 0 0 1-1.624-1.623 1.621 1.621 0 1 1 1.624 1.623M16.981 10.307a2.477 2.477 0 0 0-2.474 2.472 2.48 2.48 0 0 0 2.474 2.474 2.476 2.476 0 0 0 2.472-2.474 2.475 2.475 0 0 0-2.472-2.472m0 4.094a1.625 1.625 0 0 1-1.622-1.623 1.622 1.622 0 1 1 1.622 1.623"}),React.createElement("path",{d:"M7.778 12.778a.832.832 0 1 1-1.664.002.832.832 0 0 1 1.664-.002M16.981 11.947a.832.832 0 1 0 .002 1.666.832.832 0 0 0-.002-1.666"})))},{name:"tumblr-alt",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M16.749 17.396c-.357.17-1.041.319-1.551.332-1.539.041-1.837-1.081-1.85-1.896V9.847h3.861v-2.91h-3.847V2.039h-2.817c-.046 0-.127.041-.138.144-.165 1.499-.867 4.13-3.783 5.181v2.484h1.945v6.282c0 2.151 1.587 5.206 5.775 5.135 1.413-.024 2.982-.616 3.329-1.126z"})))},{name:"tumblr",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M19 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2m-5.569 14.265c-2.446.042-3.372-1.742-3.372-2.998v-3.668H8.923v-1.45c1.703-.614 2.113-2.15 2.209-3.025.007-.06.054-.084.081-.084h1.645V8.9h2.246v1.7H12.85v3.495c.008.476.182 1.131 1.081 1.107.298-.008.697-.094.906-.194l.54 1.601c-.205.296-1.121.641-1.946.656"})))},{name:"twitch",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M16.499 8.089h-1.636v4.91h1.636zm-4.499 0h-1.637v4.91H12zM4.228 3.178 3 6.451v13.092h4.499V22h2.456l2.454-2.456h3.681L21 14.636V3.178zm15.136 10.638L16.5 16.681H12l-2.453 2.453V16.68H5.863V4.814h13.501z"})))},{name:"twitter-alt",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M22.23 5.924a8.2 8.2 0 0 1-2.357.646 4.12 4.12 0 0 0 1.804-2.27 8.2 8.2 0 0 1-2.606.996 4.103 4.103 0 0 0-6.991 3.742 11.65 11.65 0 0 1-8.457-4.287 4.1 4.1 0 0 0-.556 2.063 4.1 4.1 0 0 0 1.825 3.415 4.1 4.1 0 0 1-1.859-.513v.052a4.104 4.104 0 0 0 3.292 4.023 4.1 4.1 0 0 1-1.853.07 4.11 4.11 0 0 0 3.833 2.85 8.24 8.24 0 0 1-5.096 1.756 8 8 0 0 1-.979-.057 11.6 11.6 0 0 0 6.29 1.843c7.547 0 11.675-6.252 11.675-11.675q0-.267-.012-.531a8.3 8.3 0 0 0 2.047-2.123"})))},{name:"twitter",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M19 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2m-2.534 6.71q.007.148.007.298c0 3.045-2.318 6.556-6.556 6.556a6.5 6.5 0 0 1-3.532-1.035q.27.032.55.032a4.63 4.63 0 0 0 2.862-.986 2.31 2.31 0 0 1-2.152-1.6 2.3 2.3 0 0 0 1.04-.04 2.306 2.306 0 0 1-1.848-2.259v-.029c.311.173.666.276 1.044.288a2.303 2.303 0 0 1-.713-3.076 6.54 6.54 0 0 0 4.749 2.407 2.305 2.305 0 0 1 3.926-2.101 4.6 4.6 0 0 0 1.463-.559 2.3 2.3 0 0 1-1.013 1.275c.466-.056.91-.18 1.323-.363-.31.461-.7.867-1.15 1.192"})))},{name:"untappd",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"m11 13.299-5.824 8.133c-.298.416-.8.635-1.308.572-.578-.072-1.374-.289-2.195-.879S.392 19.849.139 19.323a1.4 1.4 0 0 1 .122-1.425l5.824-8.133a3.1 3.1 0 0 1 1.062-.927l1.146-.604c.23-.121.436-.283.608-.478.556-.631 2.049-2.284 4.696-4.957l.046-.212a.13.13 0 0 1 .096-.1l.146-.037a.135.135 0 0 0 .101-.141l-.015-.18a.13.13 0 0 1 .125-.142c.176-.005.518.046 1.001.393s.64.656.692.824a.13.13 0 0 1-.095.164l-.175.044a.13.13 0 0 0-.101.141l.012.15a.13.13 0 0 1-.063.123l-.186.112c-1.679 3.369-2.764 5.316-3.183 6.046a2.2 2.2 0 0 0-.257.73l-.205 1.281A3.1 3.1 0 0 1 11 13.3zm12.739 4.598-5.824-8.133a3.1 3.1 0 0 0-1.062-.927l-1.146-.605a2.1 2.1 0 0 1-.608-.478 51 51 0 0 0-.587-.654.09.09 0 0 0-.142.018 97 97 0 0 1-1.745 3.223 1.4 1.4 0 0 0-.171.485 3.5 3.5 0 0 0 0 1.103l.01.064c.075.471.259.918.536 1.305l5.824 8.133c.296.413.79.635 1.294.574a4.76 4.76 0 0 0 2.209-.881 4.76 4.76 0 0 0 1.533-1.802 1.4 1.4 0 0 0-.122-1.425zM8.306 3.366l.175.044a.134.134 0 0 1 .101.141l-.012.15a.13.13 0 0 0 .063.123l.186.112q.465.933.869 1.721c.026.051.091.06.129.019q.655-.703 1.585-1.668a.137.137 0 0 0 .003-.19c-.315-.322-.645-.659-1.002-1.02l-.046-.212a.13.13 0 0 0-.096-.099l-.146-.037a.135.135 0 0 1-.101-.141l.015-.18a.13.13 0 0 0-.123-.142c-.175-.005-.518.045-1.002.393-.483.347-.64.656-.692.824a.13.13 0 0 0 .095.164z"})))},{name:"vimeo",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M22.396 7.164q-.139 3.039-4.245 8.32Q13.907 21 10.97 21q-1.82 0-3.079-3.359l-1.68-6.159q-.934-3.36-2.005-3.36-.234.001-1.634.98l-.978-1.261q1.541-1.353 3.037-2.708 2.056-1.774 3.084-1.869 2.429-.234 2.99 3.321.607 3.836.841 4.769.7 3.181 1.542 3.181.653 0 1.963-2.065 1.307-2.063 1.401-3.142.187-1.781-1.401-1.782-.747.001-1.541.341 1.534-5.024 5.862-4.884 3.21.095 3.024 4.161"})))},{name:"vk",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{fillRule:"evenodd",d:"M1.687 1.687C0 3.374 0 6.09 0 11.52v.96c0 5.431 0 8.146 1.687 9.833S6.09 24 11.52 24h.96c5.431 0 8.146 0 9.833-1.687S24 17.91 24 12.48v-.96c0-5.431 0-8.146-1.687-9.833S17.91 0 12.48 0h-.96C6.09 0 3.374 0 1.687 1.687M4.05 7.3c.13 6.24 3.25 9.99 8.72 9.99h.31v-3.57c2.01.2 3.53 1.67 4.14 3.57h2.84c-.78-2.84-2.83-4.41-4.11-5.01 1.28-.74 3.08-2.54 3.51-4.98h-2.58c-.56 1.98-2.22 3.78-3.8 3.95V7.3H10.5v6.92c-1.6-.4-3.62-2.34-3.71-6.92z"})))},{name:"whatsapp",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"m2.048 22 1.406-5.136a9.9 9.9 0 0 1-1.323-4.955C2.133 6.446 6.579 2 12.042 2a9.85 9.85 0 0 1 7.011 2.906 9.85 9.85 0 0 1 2.9 7.011c-.002 5.464-4.448 9.91-9.91 9.91h-.004a9.9 9.9 0 0 1-4.736-1.206zm5.497-3.172.301.179a8.2 8.2 0 0 0 4.193 1.148h.003c4.54 0 8.235-3.695 8.237-8.237a8.2 8.2 0 0 0-2.41-5.828 8.18 8.18 0 0 0-5.824-2.416c-4.544 0-8.239 3.695-8.241 8.237a8.2 8.2 0 0 0 1.259 4.384l.196.312-.832 3.04zm9.49-4.554c-.062-.103-.227-.165-.475-.289s-1.465-.723-1.692-.806-.392-.124-.557.124-.64.806-.784.971-.289.186-.536.062-1.046-.385-1.991-1.229c-.736-.657-1.233-1.468-1.378-1.715s-.015-.382.109-.505c.111-.111.248-.289.371-.434.124-.145.165-.248.248-.413s.041-.31-.021-.434-.557-1.343-.763-1.839c-.202-.483-.407-.417-.559-.425-.144-.007-.31-.009-.475-.009a.9.9 0 0 0-.66.31c-.226.248-.866.847-.866 2.066s.887 2.396 1.011 2.562 1.746 2.666 4.23 3.739c.591.255 1.052.408 1.412.522.593.189 1.133.162 1.56.098.476-.071 1.465-.599 1.671-1.177.206-.58.206-1.075.145-1.179"})))},{name:"woocommerce",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M19 2H5C3.3 2 2 3.3 2 5v11c0 1.7 1.3 3 3 3h4l6 3-1-3h5c1.7 0 3-1.3 3-3V5c0-1.7-1.3-3-3-3m-1.6 4.5c-.4.8-.8 2.1-1 3.9-.3 1.8-.4 3.1-.3 4.1 0 .3 0 .5-.1.7s-.3.4-.6.4-.6-.1-.9-.4c-1-1-1.8-2.6-2.4-4.6-.7 1.4-1.2 2.4-1.6 3.1-.6 1.2-1.2 1.8-1.6 1.9-.3 0-.5-.2-.8-.7-.5-1.4-1.1-4.2-1.7-8.2 0-.3 0-.5.2-.7.1-.2.4-.3.7-.4.5 0 .9.2.9.8.3 2.3.7 4.2 1.1 5.7l2.4-4.5c.2-.4.4-.6.8-.6q.75 0 .9.9c.3 1.4.6 2.6 1 3.7.3-2.7.8-4.7 1.4-5.9.2-.3.4-.5.7-.5.2 0 .5.1.7.2q.3.3.3.6c0 .3 0 .4-.1.5"})))},{name:"wordpress",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M12.158 12.786 9.46 20.625a9 9 0 0 0 5.526-.144 1 1 0 0 1-.065-.124zM3.009 12a8.99 8.99 0 0 0 5.067 8.092L3.788 8.341A8.95 8.95 0 0 0 3.009 12m15.06-.454c0-1.112-.399-1.881-.741-2.48-.456-.741-.883-1.368-.883-2.109 0-.826.627-1.596 1.51-1.596q.06.002.116.007A8.96 8.96 0 0 0 12 3.009a8.98 8.98 0 0 0-7.512 4.052c.211.007.41.011.579.011.94 0 2.396-.114 2.396-.114.484-.028.541.684.057.741 0 0-.487.057-1.029.085l3.274 9.739 1.968-5.901-1.401-3.838c-.484-.028-.943-.085-.943-.085-.485-.029-.428-.769.057-.741 0 0 1.484.114 2.368.114.94 0 2.397-.114 2.397-.114.485-.028.542.684.057.741 0 0-.488.057-1.029.085l3.249 9.665.897-2.996q.684-1.753.684-2.907m1.82-3.86q.06.428.06.924c0 .912-.171 1.938-.684 3.22l-2.746 7.94a8.98 8.98 0 0 0 4.47-7.771 8.9 8.9 0 0 0-1.1-4.313M12 22C6.486 22 2 17.514 2 12S6.486 2 12 2s10 4.486 10 10-4.486 10-10 10"})))},{name:"x",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M13.982 10.622 20.54 3h-1.554l-5.693 6.618L8.745 3H3.5l6.876 10.007L3.5 21h1.554l6.012-6.989L15.868 21h5.245zm-2.128 2.474-.697-.997-5.543-7.93H8l4.474 6.4.697.996 5.815 8.318h-2.387z"})))},{name:"xanga",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M9 9h6v6H9zM3 9h6V3H3zm12 0h6V3h-6zm0 12h6v-6h-6zM3 21h6v-6H3z"})))},{name:"youtube",svg:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement("g",null,React.createElement("path",{d:"M21.8 8.001s-.195-1.378-.795-1.985c-.76-.797-1.613-.801-2.004-.847-2.799-.202-6.997-.202-6.997-.202h-.009s-4.198 0-6.997.202c-.39.047-1.242.051-2.003.847-.6.607-.795 1.985-.795 1.985S2 9.62 2 11.238v1.517c0 1.618.2 3.237.2 3.237s.195 1.378.795 1.985c.761.797 1.76.771 2.205.855 1.6.153 6.8.201 6.8.201s4.203-.006 7.001-.209c.391-.047 1.243-.051 2.004-.847.6-.607.795-1.985.795-1.985s.2-1.618.2-3.237v-1.517c0-1.618-.2-3.237-.2-3.237M9.935 14.594l-.001-5.62 5.404 2.82z"})))}]},8992:(e,t,a)=>{"use strict";a(6072);var n=a(8120),r=a.n(n),c=a(1609);a(1135);c.PureComponent,r().string.isRequired,r().number,r().func,r().string},5402:(e,t,a)=>{"use strict";a.d(t,{A:()=>c});var n=a(1113),r=a(9115);const c=({children:e,summary:t})=>React.createElement("details",{className:"jp-forms__details"},React.createElement("summary",{className:"jp-forms__details-summary"},React.createElement(n.A,{className:"jp-forms__details-icon",icon:r.A,size:32}),React.createElement("span",null,t)),React.createElement("div",{className:"jp-forms__details-content"},e," "))},9862:(e,t,a)=>{"use strict";a.d(t,{A:()=>s});var n=a(6427),r=a(6087),c=a(4969),o=a(8468);const s=({options:e=[],onChange:t=o.noop,value:a})=>{const s=(0,r.useMemo)((()=>{if((0,o.isNil)(a)){const t=(0,o.first)(e);return t?.label||""}return(0,o.find)(e,(e=>e.value===a))?.label||""}),[e,a]),i=(0,r.useCallback)(((e,a)=>()=>{t(e.value),a()}),[t]);return React.createElement(n.DropdownMenu,{text:s,icon:c.A,popoverProps:{placement:"bottom-end"},toggleProps:{variant:"secondary",iconPosition:"right"}},(({onClose:t})=>React.createElement(n.MenuGroup,null,(0,o.map)(e,(e=>React.createElement(n.MenuItem,{key:e.value,onClick:i(e,t)},e.label))))))}},1186:(e,t,a)=>{"use strict";a.d(t,{A:()=>s});var n=a(8250),r=a(7723),c=a(3022),o=a(7891);const __=r.__,s=({children:e,className:t,title:a,subtitle:r,showFooter:s})=>{const i=(0,c.A)("jp-forms__layout",t);return React.createElement("div",{className:i},React.createElement("div",{className:"jp-forms__logo-wrapper"},React.createElement(o.A,null)),(a||r)&&React.createElement("div",{className:"jp-forms__layout-header"},a&&React.createElement("h2",{className:"jp-forms__layout-title"},a),r&&React.createElement("p",{className:"jp-forms__header-subtext"},r)),e,s&&React.createElement(n.A,{className:"jp-forms__layout-footer",moduleName:__("Jetpack Forms","jetpack-forms")}))}},7891:(e,t,a)=>{"use strict";a.d(t,{A:()=>n});const n=()=>React.createElement("svg",{className:"jp-forms__logo",width:"330",height:"42",viewBox:"0 0 330 42",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"M21.0008 42C32.5991 42 42.0016 32.5975 42.0016 20.9992C42.0016 9.40089 32.5991 0 21.0008 0C9.40245 0 0 9.40245 0 21.0008C0 32.5991 9.40245 42 21.0008 42Z",fill:"#069E08"}),React.createElement("path",{d:"M22.043 17.4727V37.8312L32.5434 17.4727H22.043V17.4727Z",fill:"white"}),React.createElement("path",{d:"M19.9189 24.4876V4.16797L9.45898 24.4876H19.9189Z",fill:"white"}),React.createElement("path",{d:"M54.2231 34.8656C53.6213 33.9434 53.0614 33.0228 52.5 32.141C55.4657 30.337 56.4672 28.8954 56.4672 26.1692V10.4186H52.9805V7.41406H60.3955V25.3683C60.3955 29.9373 59.0736 32.5018 54.2231 34.8656Z",fill:"black"}),React.createElement("path",{d:"M85.2845 24.1241C85.2845 25.6466 86.3668 25.8067 87.0884 25.8067C87.81 25.8067 88.852 25.5657 89.6529 25.3262V28.1317C88.5301 28.4925 87.3684 28.7724 85.765 28.7724C83.8413 28.7724 81.5972 28.0508 81.5972 24.6839V16.4276H79.5537V13.5817H81.5972V9.375H85.2845V13.5832H89.9328V16.4292H85.2845V24.1241Z",fill:"black"}),React.createElement("path",{d:"M92.9785 36.2696V13.5458H96.5056V14.9081C97.9083 13.8257 99.4713 13.1445 101.395 13.1445C104.721 13.1445 107.367 15.4695 107.367 20.4786C107.367 25.4489 104.482 28.7349 99.7123 28.7349C98.5506 28.7349 97.6284 28.5748 96.6658 28.3741V36.2292H92.9785V36.2696V36.2696ZM100.432 16.1911C99.35 16.1911 97.9877 16.7121 96.7047 17.8349V25.5702C97.5056 25.7304 98.3485 25.8501 99.4697 25.8501C102.075 25.8501 103.558 24.2063 103.558 20.7601C103.558 17.5938 102.476 16.1911 100.432 16.1911Z",fill:"black"}),React.createElement("path",{d:"M121.873 28.413H118.427V26.7692H118.346C117.144 27.6914 115.661 28.6929 113.457 28.6929C111.533 28.6929 109.449 27.2902 109.449 24.4443C109.449 20.6373 112.695 19.9157 114.979 19.5953L118.225 19.1552V18.7151C118.225 16.7105 117.424 16.0698 115.539 16.0698C114.617 16.0698 112.454 16.3497 110.69 17.0713L110.37 14.1056C111.973 13.5442 114.177 13.1445 116.021 13.1445C119.628 13.1445 121.953 14.5877 121.953 18.8753V28.413H121.873V28.413ZM118.186 21.4801L115.14 21.9607C114.217 22.0804 113.256 22.6418 113.256 24.0042C113.256 25.2063 113.937 25.8875 114.939 25.8875C116.021 25.8875 117.183 25.2467 118.185 24.5251V21.4801H118.186Z",fill:"black"}),React.createElement("path",{d:"M137.104 27.9325C135.581 28.4535 134.219 28.7738 132.494 28.7738C126.964 28.7738 124.759 25.6075 124.759 20.9996C124.759 16.1506 127.805 13.1445 132.734 13.1445C134.576 13.1445 135.699 13.4649 136.942 13.8661V16.992C135.859 16.5907 134.297 16.1506 132.774 16.1506C130.53 16.1506 128.606 17.3528 128.606 20.799C128.606 24.606 130.53 25.7693 132.975 25.7693C134.136 25.7693 135.419 25.5282 137.142 24.8471V27.9325H137.104Z",fill:"black"}),React.createElement("path",{d:"M144.077 19.9579C144.397 19.5971 144.638 19.2363 149.286 13.5849H154.095L148.083 20.6391L154.655 28.4537H149.846L144.115 21.3996V28.4537H140.43V7.41406H144.117V19.9579H144.077Z",fill:"black"}),React.createElement("path",{d:"M76.7863 27.934C74.8626 28.5359 73.2188 28.7754 71.2951 28.7754C66.5659 28.7754 63.6406 26.4115 63.6406 20.8799C63.6406 16.8318 66.1258 13.1445 70.8939 13.1445C75.6231 13.1445 77.2669 16.4306 77.2669 19.5564C77.2669 20.5984 77.186 21.1598 77.1471 21.7601H67.6094C67.6902 25.0057 69.5331 25.7677 72.2982 25.7677C73.8207 25.7677 75.183 25.4069 76.7475 24.8455V27.9309H76.7863V27.934ZM73.421 19.3169C73.421 17.513 72.8191 15.95 70.8565 15.95C69.0137 15.95 67.8909 17.2719 67.6498 19.3169H73.421V19.3169Z",fill:"black"}),React.createElement("path",{d:"M167.332 29V19.8447H176.692V17.501H167.332V10.2354H177.527V7.8623H164.695V29H167.332ZM186.59 29.2783C191.087 29.2783 193.871 26.1729 193.871 21.1045C193.871 16.0215 191.087 12.9307 186.59 12.9307C182.093 12.9307 179.31 16.0215 179.31 21.1045C179.31 26.1729 182.093 29.2783 186.59 29.2783ZM186.59 27.0078C183.602 27.0078 181.917 24.8398 181.917 21.1045C181.917 17.3545 183.602 15.2012 186.59 15.2012C189.579 15.2012 191.263 17.3545 191.263 21.1045C191.263 24.8398 189.579 27.0078 186.59 27.0078ZM196.386 29H198.905V19.2148C198.905 16.9883 200.648 15.377 203.051 15.377C203.549 15.377 204.457 15.4648 204.662 15.5234V13.0039C204.34 12.96 203.812 12.9307 203.402 12.9307C201.307 12.9307 199.491 14.0146 199.022 15.5527H198.788V13.209H196.386V29ZM206.664 29H209.184V19.2148C209.184 16.9883 210.781 15.2012 212.846 15.2012C214.838 15.2012 216.142 16.4023 216.142 18.2773V29H218.661V18.8486C218.661 16.8418 220.126 15.2012 222.324 15.2012C224.55 15.2012 225.649 16.3438 225.649 18.6729V29H228.168V18.0869C228.168 14.7764 226.367 12.9307 223.144 12.9307C220.961 12.9307 219.159 14.0293 218.31 15.6992H218.076C217.343 14.0586 215.849 12.9307 213.71 12.9307C211.601 12.9307 210.019 13.9414 209.301 15.6992H209.067V13.209H206.664V29ZM230.962 17.5303C230.962 19.8154 232.309 21.0898 235.268 21.8076L237.978 22.4668C239.663 22.877 240.483 23.6094 240.483 24.6934C240.483 26.1436 238.96 27.1543 236.836 27.1543C234.814 27.1543 233.554 26.3047 233.13 24.9717H230.537C230.815 27.5938 233.232 29.2783 236.748 29.2783C240.337 29.2783 243.076 27.3301 243.076 24.5029C243.076 22.2324 241.64 20.9434 238.667 20.2256L236.235 19.6396C234.375 19.1855 233.496 18.5117 233.496 17.4277C233.496 16.0215 234.961 15.0693 236.836 15.0693C238.74 15.0693 239.97 15.9043 240.307 17.1641H242.798C242.461 14.5713 240.161 12.9307 236.85 12.9307C233.496 12.9307 230.962 14.9082 230.962 17.5303Z",fill:"black"}))},3752:(e,t,a)=>{"use strict";a.d(t,{A:()=>i});var n=a(1883),r=a(6087),c=a(7723),o=a(8468),s=a(7611);const __=c.__,i=({currentPage:e,expandedRange:t=3,onSelectPage:a,pages:c})=>{const i=(0,r.useCallback)((()=>a(e-1)),[e,a]),l=(0,r.useCallback)((()=>a(e+1)),[e,a]),d=(0,o.range)(Math.max(0,e-t+1),Math.min(c,e+t-1)+1),m=(0,o.filter)((0,o.flatten)([tisFinite(t)?React.createElement(s.A,{key:t,className:"jp-forms__page-navigation-button",active:t===e,page:t,onSelect:a}):React.createElement("button",{key:`placeholder-${n}`,className:"jp-forms__page-navigation-placeholder",disabled:!0},"…"))),React.createElement("button",{disabled:e===c,className:"jp-forms__page-navigation-button",onClick:l},__("Next","jetpack-forms"),React.createElement(n.A,{icon:"arrow-right",size:18})))}},7611:(e,t,a)=>{"use strict";a.d(t,{A:()=>c});var n=a(6087),r=a(3022);const c=({active:e,className:t,page:a,onSelect:c})=>{const o=(0,r.A)("jp-forms__page-navigation-page-number",t,{"is-active":e}),s=(0,n.useCallback)((()=>c(a)),[a,c]);return React.createElement("button",{className:o,onClick:s},a)}},6433:(e,t,a)=>{"use strict";a.d(t,{A:()=>r});var n=a(6120);const r=({initialValue:e,loading:t,onSearch:a})=>React.createElement("div",{className:"jp-forms__actions-search"},React.createElement(n.A,{initialValue:e,loading:t,onSearch:a}))},6120:(e,t,a)=>{"use strict";a.d(t,{A:()=>f});var n=a(6072),r=a.n(n),c=a(8478),o=a(6427),s=a(9491),i=a(6087),l=a(7723),d=a(1113),m=a(1249),u=a(3022),p=a(8468);const __=l.__,h=({className:e,disabled:t=!1,endAdornment:a=null,icon:n=null,loading:c=!1,...s})=>React.createElement("div",{className:(0,u.A)(e,"input-wrapper",{disabled:t})},React.createElement(React.Fragment,null,(c||n)&&React.createElement("div",{className:(0,u.A)("icon-wrapper",{loader:c})},c?React.createElement(o.Spinner,null):n),React.createElement("input",r()({"aria-disabled":t,className:(0,u.A)("input",{"with-icon":null!==n}),disabled:t,type:"text"},s)),a)),f=({initialValue:e,loading:t,placeholder:a=__("Search responses","jetpack-forms"),onSearch:n=p.noop,wait:o=500,...l})=>{const[f,g]=(0,i.useState)(e),v=(0,s.useDebounce)(n,o),E=(0,i.useCallback)((e=>{g(e.target.value),v(e.target.value)}),[v]),w=(0,i.useCallback)((e=>{["Enter","NumpadEnter"].includes(e.code)&&n(e.currentTarget.value)}),[n]),R=(0,i.useCallback)((()=>{g(""),n("")}),[n]);return React.createElement(h,r()({},l,{icon:React.createElement(c.WI,{size:24}),loading:t,placeholder:a,onChange:E,onKeyUp:w,value:f,endAdornment:React.createElement("div",{className:(0,u.A)("icon-wrapper",{hidden:!f})},React.createElement(d.A,{icon:m.A,onClick:R,className:(0,u.A)("clear-icon")}))}))}},7564:(e,t,a)=>{"use strict";a.d(t,{A:()=>i});var n=a(6072),r=a.n(n),c=a(6087),o=a(9672),s=a(9026);const i=(0,c.forwardRef)((({activeViewKey:e,children:t,duration:a,...n},i)=>{const[l,d]=(0,c.useState)(e),[m,u]=(0,c.useState)(0),p=(0,c.useRef)(void 0),h=(0,c.useRef)(void 0);(0,c.useEffect)((()=>{l!==e&&(d(e),u(0===m?1:0))}),[m,e,t,u,d,l]);const f=(0,c.useMemo)((()=>e===l?0===m?p:h:0===m?h:p),[m,e,l,p,h]),g=(0,c.useCallback)((e=>{i&&(i.current=e),f.current=e}),[f,i]);return React.createElement(o.A,{component:null},React.createElement(s.A,{key:e,nodeRef:f,timeout:a,mountOnEnter:!0,unmountOnExit:!0},React.createElement("div",r()({ref:g},n),t)))}))},7580:(e,t,a)=>{"use strict";a.d(t,{A:()=>d});var n=a(6087),r=a(3022),c=a(8468),o=a(9672),s=a(9026),i=a(4941);const l=(e,t)=>`table-row-${e.isLoading?`${t}-loading`:e.id}`,d=({className:e,columns:t,items:a,rowAnimationTimeout:d=0,selectedResponses:m=[],setSelectedResponses:u})=>{const{current:p}=(0,n.useRef)({});(0,n.useEffect)((()=>{(0,c.forEach)(a,(e=>{p[l(e)]||(p[l(e)]=(0,n.createRef)())}))}),[a,p]);const h=(0,n.useCallback)((e=>{const t=(0,c.includes)(m,e)?(0,c.without)(m,e):[...m,e];u(t)}),[m,u]),f=(0,n.useCallback)((()=>{if(0===(0,c.difference)((0,c.map)(a,"id"),m).length)return void u([]);const e=(0,c.map)(a,"id");u(e)}),[a,m,u]),g=(0,r.A)("jp-forms__table",e),v=(0,r.A)("jp-forms__table-checkbox",{"is-intermediate":0!==m.length&&m.length!==a.length});return React.createElement("div",{className:g},React.createElement("div",{className:"jp-forms__table-header"},!!u&&React.createElement("div",{className:"jp-forms__table-cell is-select"},React.createElement("input",{className:v,onChange:f,type:"checkbox",checked:0===(0,c.difference)((0,c.map)(a,"id"),m).length})),(0,c.map)(t,(({label:e,key:t})=>{const a=(0,r.A)("jp-forms__table-cell",`is-${(0,c.kebabCase)(t)}`);return React.createElement("div",{key:`table-header-${t}`,className:a},e)}))),React.createElement(o.A,{component:null},(0,c.map)(a,((e,a)=>React.createElement(s.A,{key:l(e,a),nodeRef:p[l(e,a)],mountOnEnter:!!d,mountOnExit:!!d,timeout:d},React.createElement(i.A,{ref:p[l(e,a)],columns:t,item:e,isSelected:(0,c.includes)(m,e.id),onSelectChange:u&&h}))))))}},4941:(e,t,a)=>{"use strict";a.d(t,{A:()=>s});var n=a(6087),r=a(3022),c=a(8468);const o=e=>e.stopPropagation(),s=(0,n.forwardRef)((({columns:e,item:t,isSelected:a,onSelectChange:s},i)=>{const l=(0,n.useCallback)((()=>s(t.id)),[t.id,s]),d=(0,r.A)("jp-forms__table-item",t.className,{"is-active":!t.isLoading&&t.isActive,"is-clickable":!t.isLoading&&t.onClick,"is-loading":t.isLoading,"is-selected":!t.isLoading&&a});return React.createElement("div",{ref:i,className:d,onClick:t.onClick},!!s&&React.createElement("div",{className:"jp-forms__table-cell is-select"},!t.isLoading&&React.createElement("input",{className:"jp-forms__table-checkbox",type:"checkbox",onClick:o,onChange:l,checked:a})),(0,c.map)(e,(({additionalClassNames:e,getValue:a,key:n},o)=>{const s=a?a(t):t[n],i=(0,r.A)("jp-forms__table-cell",`is-${(0,c.kebabCase)(n)}`,e);return t.isLoading?React.createElement("div",{key:`table-${n}-${o}-loading`,className:i}):React.createElement("div",{key:`table-${n}-${t.id}`,className:i},s)})))}))},2199:(e,t,a)=>{"use strict";a.d(t,{k:()=>i,l:()=>s});var n=a(1455),r=a.n(n),c=a(8537),o=a(8468);const s=e=>{const t=new URLSearchParams((0,o.pick)((0,o.omitBy)(e,o.isNil),["limit","offset","search","status","parent_id","month"])).toString();return r()({path:`/wpcom/v2/forms/responses?${t}`}).then((e=>({...e,responses:e.responses.map((e=>({...e,author_name:(0,c.decodeEntities)(e.author_name),entry_title:(0,c.decodeEntities)(e.entry_title),fields:(0,o.mapValues)(e.fields,(e=>(0,c.decodeEntities)(e)))})))})))},i=(e,t)=>r()({path:"/wpcom/v2/forms/responses/bulk_actions",method:"POST",data:{action:t,post_ids:e}})},5591:(e,t,a)=>{"use strict";a.d(t,{A:()=>h});var n=a(8478),r=a(6427),c=a(7143),o=a(6087),s=a(7723),i=a(4058),l=a(2199),d=a(3324),m=a(3656),u=a(7325);const __=s.__,p=(e=0)=>{const t=new FormData;return t.append("action","grunion_recheck_queue"),t.append(`jetpack_check_feedback_spam_${(0,i.$)("blogId")}`,(0,i.$)("checkForSpamNonce")),t.append("offset",e),t.append("limit",100),fetch(window.ajaxurl,{method:"POST",body:t}).then((e=>e.json())).then((t=>{if(!(t.processed<100))return p(e+100)}))},h=({currentView:e,selectedResponses:t,setSelectedResponses:a})=>{const[s,i]=(0,o.useState)(!1),{addTabTotals:h,fetchResponses:f,removeResponses:g,setLoading:v}=(0,c.useDispatch)(d.E),{currentPage:E,query:w}=(0,u.t)(),R=(0,o.useCallback)((()=>{i(!0),p().finally((()=>{i(!1),f(w)}))}),[f,i,w]),C=n=>async()=>{try{v(!0),a([]),g(t),h({[e]:-t.length,[m.Ku[n]]:t.length}),await(0,l.k)(t,n),await f({...w,limit:m.e4,offset:(E-1)*m.e4},{append:!0}),v(!1)}catch(e){v(!1)}};return React.createElement(React.Fragment,null,e!==m.DF.trash&&React.createElement(r.Button,{onClick:C(m.kl.moveToTrash),variant:"secondary"},__("Move to trash","jetpack-forms")),e===m.DF.trash&&React.createElement(r.Button,{onClick:C(m.kl.removeFromTrash),variant:"secondary"},__("Remove from trash","jetpack-forms")),e!==m.DF.spam&&React.createElement(r.Button,{onClick:C(m.kl.markAsSpam),variant:"secondary"},__("Mark as spam","jetpack-forms")),e===m.DF.spam&&React.createElement(r.Button,{onClick:C(m.kl.markAsNotSpam),variant:"secondary"},__("Not spam","jetpack-forms")),e===m.DF.inbox&&t.length>0&&React.createElement(r.Button,{className:"jp-forms__check-for-spam",disabled:s,variant:"secondary",onClick:R},s?React.createElement(r.Spinner,null):React.createElement(n.dW,null),__("Check for spam","jetpack-forms")))}},3656:(e,t,a)=>{"use strict";a.d(t,{DF:()=>r,Ku:()=>o,e4:()=>n,kl:()=>c});const n=50,r={inbox:"inbox",spam:"spam",trash:"trash"},c={moveToTrash:"trash",removeFromTrash:"untrash",delete:"delete",markAsSpam:"mark_as_spam",markAsNotSpam:"mark_as_not_spam"},o={[c.moveToTrash]:r.trash,[c.removeFromTrash]:r.inbox,[c.markAsSpam]:r.spam,[c.markAsNotSpam]:r.inbox}},8196:(e,t,a)=>{"use strict";a.d(t,{A:()=>s});var n=a(6087),r=a(7723),c=a(3022),o=a(7385);const __=r.__,s=({onExport:e})=>{const t=(0,n.useCallback)((()=>{e("feedback_export","feedback_export_nonce_csv").then((async e=>{const t=await e.blob(),a=document.createElement("a");a.href=window.URL.createObjectURL(t);const n=e.headers.get("Content-Disposition")??"";a.download=n.split("filename=")[1]||"Jetpack Form Responses.csv",document.body.appendChild(a),a.click(),document.body.removeChild(a),window.URL.revokeObjectURL(a.href)}))}),[e]),a=(0,c.A)("button","export-button","export-csv",{"button-primary":!(0,o.ze)()});return React.createElement("div",{className:"jp-forms__export-modal-card"},React.createElement("div",{className:"jp-forms__export-modal-card-header"},React.createElement("svg",{width:"22",height:"20",viewBox:"0 0 22 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.2309 5.04199L10.0797 2.73945C9.98086 2.54183 9.77887 2.41699 9.55792 2.41699H2.83333C2.51117 2.41699 2.25 2.67816 2.25 3.00033V16.7087C2.25 17.0308 2.51117 17.292 2.83333 17.292H19.1667C19.4888 17.292 19.75 17.0308 19.75 16.7087V5.62533C19.75 5.30316 19.4888 5.04199 19.1667 5.04199H11.2309ZM12.3125 3.29199L11.6449 1.95683C11.2497 1.16633 10.4417 0.666992 9.55792 0.666992H2.83333C1.54467 0.666992 0.5 1.71166 0.5 3.00033V16.7087C0.5 17.9973 1.54467 19.042 2.83333 19.042H19.1667C20.4553 19.042 21.5 17.9973 21.5 16.7087V5.62533C21.5 4.33666 20.4553 3.29199 19.1667 3.29199H12.3125Z",fill:"#008710"})),React.createElement("div",{className:"jp-forms__export-modal-card-header-title"},__("CSV File","jetpack-forms"))),React.createElement("div",{className:"jp-forms__export-modal-card-body"},React.createElement("div",{className:"jp-forms__export-modal-card-body-description"},__("Download your form response data as a CSV file.","jetpack-forms")),React.createElement("div",{className:"jp-forms__export-modal-card-body-cta"},React.createElement("button",{className:a,onClick:t},__("Download","jetpack-forms")))))}},8720:(e,t,a)=>{"use strict";a.d(t,{A:()=>l});var n=a(6087),r=a(7723),c=a(3022),o=a(8468),s=a(4058),i=a(7385);const __=r.__,l=({onExport:e})=>{const[t,a]=(0,n.useState)((0,s.$)("gdriveConnection")),r=(0,n.useCallback)((()=>{const e=setInterval((async()=>{if(t)clearInterval(e);else try{const t=await fetch(window.ajaxurl,{method:"POST",body:(0,o.tap)(new FormData,(e=>{e.append("action","grunion_gdrive_connection"),e.append("feedback_export_nonce_gdrive",(0,s.$)("exportNonce"))}))});if(!(await t.json()).connection)return;clearInterval(e),a(!0)}catch(t){clearInterval(e)}}),5e3)}),[t]),l=(0,n.useCallback)((()=>{e("grunion_export_to_gdrive","feedback_export_nonce_gdrive").then((e=>e.json())).then((({data:e})=>{window.open(e.sheet_link,"_blank")}))}),[e]),d=(0,c.A)("button","export-button","export-gdrive",{"button-primary":!(0,i.ze)()});return React.createElement("div",{className:"jp-forms__export-modal-card"},React.createElement("div",{className:"jp-forms__export-modal-card-header"},React.createElement("svg",{width:"18",height:"24",viewBox:"0 0 18 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"M11.8387 1.16016H2C1.44772 1.16016 1 1.60787 1 2.16016V21.8053V21.8376C1 22.3899 1.44772 22.8376 2 22.8376H16C16.5523 22.8376 17 22.3899 17 21.8376V5.80532M11.8387 1.16016V5.80532H17M11.8387 1.16016L17 5.80532M4.6129 13.0311V16.1279H9.25806M4.6129 13.0311V9.93435H9.25806M4.6129 13.0311H13.9032M13.9032 13.0311V9.93435H9.25806M13.9032 13.0311V16.1279H9.25806M9.25806 9.93435V16.1279",stroke:"#008710",strokeWidth:"1.5"})),React.createElement("div",{className:"jp-forms__export-modal-card-header-title"},__("Google Sheets","jetpack-forms")),React.createElement("div",{className:"jp-forms__export-modal-card-beta-badge"},"BETA")),React.createElement("div",{className:"jp-forms__export-modal-card-body"},React.createElement("div",{className:"jp-forms__export-modal-card-body-description"},React.createElement("div",null,__("Export your data into a Google Sheets file.","jetpack-forms")," ",React.createElement("a",{href:(0,s.$)("gdriveConnectSupportURL"),title:__("Connect to Google Drive","jetpack-forms"),target:"_blank",rel:"noopener noreferrer"},__("You need to connect to Google Drive.","jetpack-forms"))),React.createElement("p",{className:"jp-forms__export-modal-card-body-description-footer"},__("This premium feature is currently free to use in beta.","jetpack-forms"))),React.createElement("div",{className:"jp-forms__export-modal-card-body-cta"},t&&React.createElement("button",{className:d,onClick:l},__("Export","jetpack-forms")),!t&&React.createElement("a",{href:(0,s.$)("gdriveConnectURL"),className:d,rel:"noopener noreferrer",target:"_blank",onClick:r},__("Connect to Google Drive","jetpack-forms")))))}},72:(e,t,a)=>{"use strict";a.d(t,{A:()=>h});var n=a(1883),r=a(8250),c=a(7143),o=a(6087),s=a(7723),i=a(8468),l=a(4058),d=a(3324),m=a(7325),u=a(8196),p=a(8720);const __=s.__,h=({isVisible:e,onClose:t})=>{const a=(0,o.useRef)(void 0),s=(0,c.useSelect)((e=>e(d.E).getSelectedResponseIds()),[]),{query:h}=(0,m.t)();(0,o.useEffect)((()=>{a.current?.addEventListener("click",(e=>{e.target===a.current&&t()}))}),[e,t]);const f=(0,o.useCallback)(((e,t)=>{const a=new FormData;return a.append("action",e),a.append(t,(0,l.$)("exportNonce")),(0,i.forEach)(s,(e=>a.append("selected[]",e))),a.append("date",""),a.append("post","all"),a.append("search",h.search||""),a.append("status",h.status),fetch(window.ajaxurl,{method:"POST",body:a})}),[h,s]);return e?React.createElement("div",{ref:a,className:"jp-forms__export-modal"},React.createElement("div",{className:"jp-forms__export-modal-wrapper"},React.createElement("button",{className:"jp-forms__export-modal-close-button",onClick:t},React.createElement(n.A,{icon:"cross",size:18})),React.createElement("div",{className:"jp-forms__export-modal-header"},React.createElement("h1",{className:"jp-forms__export-modal-header-title"},__("Export your Form Responses","jetpack-forms")),React.createElement("p",{className:"jp-forms__export-modal-header-subtitle"},__("Choose your favorite file format or export destination:","jetpack-forms"))),React.createElement("div",{className:"jp-forms__export-modal-content"},React.createElement(u.A,{onExport:f}),React.createElement(p.A,{onExport:f})),React.createElement(r.A,{className:"jp-forms__export-modal-footer",moduleName:__("Jetpack Forms","jetpack-forms")}))):null}},7969:(e,t,a)=>{"use strict";a.d(t,{A:()=>_});var n=a(6427),r=a(3582),c=a(7143),o=a(8443),s=a(6087),i=a(7723),l=a(7474),d=a(3022),m=a(8468),u=a(9539),p=a(4058),h=a(9862),f=a(1186),g=a(6433),v=a(3324),E=a(5591),w=a(3656),R=a(72),C=a(3721),y=a(454),b=a(7325),k=a(7385);const __=i.__,_x=i._x,x=[{name:"inbox",title:__("Inbox","jetpack-forms"),className:"jp-forms__inbox-tab-item"},{name:"spam",title:__("Spam","jetpack-forms"),className:"jp-forms__inbox-tab-item"},{name:"trash",title:_x("Trash","noun","jetpack-forms"),className:"jp-forms__inbox-tab-item"}],_=()=>{const e=(0,s.useRef)(void 0),[t,a]=(0,s.useState)(1),[i,_]=(0,s.useState)(!1),[j,A]=(0,s.useState)(!1),M=(0,u.Zp)(),{fetchResponses:S,selectResponses:N}=(0,c.useDispatch)(v.E),[z,L,V,O,H,P,T,D]=(0,c.useSelect)((e=>[e(v.E).getQuery(),e(v.E).getMonthFilter(),e(v.E).getSourceFilter(),e(v.E).isFetchingResponses(),e(v.E).getResponses(),e(v.E).getSelectedResponseIds(),e(v.E).getTabTotals(),e(v.E).getTotalResponses()]),[]),F=(0,c.useSelect)((e=>{const{canUser:t}=e(r.store);return t("update","settings")})),{currentPage:I,currentResponseId:U,setCurrentPage:B,setCurrentResponseId:$,setMonthQuery:q,setSearchQuery:J,setSourceQuery:Z,setStatusQuery:W,query:G}=(0,b.t)();(0,s.useEffect)((()=>{(0,p.$)("hasFeedback")||M("/landing")}),[M]),(0,s.useEffect)((()=>{S({limit:w.e4,offset:(I-1)*w.e4,...G})}),[I,S,G]),(0,s.useEffect)((()=>{U&&!O&&(0,m.isEqual)((0,m.pick)(z,(0,m.keys)(G)),G)&&!(0,m.includes)((0,m.map)(H,"id"),U)&&$(0)}),[z,U,O,H,$,G]);const K=(0,s.useMemo)((()=>H.length&&!(0,m.includes)((0,m.map)(H,"id"),U)?H[0].id:U),[U,H]);(0,s.useEffect)((()=>{const t=e.current;if(!t)return;const a=new IntersectionObserver((([e])=>{A(!e.isIntersecting&&!O)}),{rootMargin:"-177px 0px 0px 0px",threshold:0});return a.observe(t),()=>{a.unobserve(t)}}),[e.current,O]);const Y=(0,s.useCallback)((e=>{$(e),a((0,m.findIndex)(H,{id:e})-(0,m.findIndex)(H,{id:K}))}),[K,H,$]),Q=(0,s.useCallback)((e=>{e.preventDefault(),$(0)}),[$]),X=(0,s.useCallback)((()=>_(!i)),[i,_]),ee=(0,s.useMemo)((()=>x.map((({title:e,...t})=>({...t,title:React.createElement(React.Fragment,null,e,T&&React.createElement("span",{className:"jp-forms__inbox-tab-item-count"},T[t.name]||0)),disabled:O})))),[O,T]),te=(0,s.useMemo)((()=>{const e=(0,m.map)(L,(e=>{const t=new Date;return t.setDate(1),t.setMonth(e.month-1),{label:`${(0,o.dateI18n)("F",t)} ${e.year}`,value:`${e.year}${String(e.month).padStart(2,"0")}`}}));return[{label:__("All dates","jetpack-forms"),value:null},...e]}),[L]),ae=(0,s.useMemo)((()=>{const e=(0,m.map)(V,(e=>({label:e.title,value:`${e.id}`})));return[{label:__("All sources","jetpack-forms"),value:null},...e]}),[V]),ne=(0,s.useMemo)((()=>(0,m.join)((0,m.map)((0,m.pick)(z,(0,m.keys)(G)),((e,t)=>`${t}-${e}`)),"-")),[z,G]),re=!!P.length&&!O,ce=(0,d.A)("jp-forms__inbox",{"is-response-view":!!U,"is-response-animation-reverted":t<0}),oe=React.createElement(React.Fragment,null,React.createElement("span",{className:"title"},(0,k.ze)()?__("Jetpack Forms","jetpack-forms"):__("Responses","jetpack-forms")),(0,k.ze)()&&React.createElement("span",{className:"subtitle"},(0,s.createInterpolateElement)(__("Collect and manage responses from your audience. Learn more","jetpack-forms"),{a:React.createElement("a",{href:"https://jetpack.com/support/jetpack-blocks/contact-form/",rel:"noreferrer noopener",target:"_blank"})})),React.createElement("a",{className:"back-button",onClick:Q},React.createElement(n.Icon,{icon:l.A}),__("View all responses","jetpack-forms")));return React.createElement(f.A,{title:oe,className:ce},React.createElement(n.TabPanel,{className:"jp-forms__inbox-tabs",activeClass:"active-tab",initialTabName:G.status,onSelect:W,tabs:ee},(()=>React.createElement(React.Fragment,null,React.createElement("div",{className:"jp-forms__inbox-actions"},!re&&React.createElement(React.Fragment,null,React.createElement(g.A,{onSearch:J,initialValue:G.search,loading:O}),React.createElement(h.A,{options:te,onChange:q,value:G.month}),React.createElement(h.A,{options:ae,onChange:Z,value:G.parent_id})),re&&React.createElement(E.A,{currentView:G.status,selectedResponses:P,setSelectedResponses:N}),F&&React.createElement("button",{className:"button button-primary export-button",onClick:X},__("Export","jetpack-forms"))),React.createElement("div",{className:"jp-forms__inbox-content"},React.createElement("div",{className:"jp-forms__inbox-content-column"},React.createElement("div",{className:"jp-forms__inbox-sticky-sentinel",ref:e}),!O&&j&&React.createElement("div",{className:"jp-forms__inbox-sticky-mark"}),React.createElement(C.A,{key:ne,currentPage:I,currentResponseId:K,currentTab:G.status,loading:O,pages:Math.ceil(D/w.e4),responses:H,selectedResponses:P,setCurrentPage:B,setCurrentResponseId:Y,setSelectedResponses:N})),React.createElement("div",{className:"jp-forms__inbox-content-column"},React.createElement(y.A,{isLoading:O,response:(0,m.find)(H,{id:K})})))))),React.createElement(R.A,{isVisible:i,onClose:X}))}},3721:(e,t,a)=>{"use strict";a.d(t,{A:()=>f});var n=a(6427),r=a(7143),c=a(8443),o=a(6087),s=a(7723),i=a(8468),l=a(3752),d=a(7580),m=a(3324),u=a(3656),p=a(1203);const __=s.__,h=[{key:"name",label:__("From","jetpack-forms")},{key:"date",label:__("Date","jetpack-forms"),getValue:e=>(0,c.dateI18n)("M j, Y",e.date)},{key:"source",label:__("Source","jetpack-forms"),getValue:e=>React.createElement(n.Button,{href:e.entry_permalink,variant:"link"},e.source)},{key:"actions",getValue:e=>React.createElement(p.A,{id:e.id})}],f=({currentPage:e,currentResponseId:t,currentTab:a,pages:n,responses:c,selectedResponses:s,setCurrentPage:p,setCurrentResponseId:f,setSelectedResponses:g,loading:v})=>{const E=(0,r.useSelect)((e=>e(m.E).getTabTotals()),[])[a],w=(0,o.useMemo)((()=>{const a=c.map((e=>({...e,onClick:()=>f(e.id),isActive:e.id===t})));if(v){const t=E?Math.min(u.e4,E-(e-1)*u.e4)-c.length:10;return a.concat((0,i.times)(t,(()=>({isLoading:!0}))))}return a}),[e,t,v,c,f,E]);return!v&&0===c.length||0===E?React.createElement(d.A,{className:"jp-forms__inbox-list",columns:[{key:"empty",label:__("No results found","jetpack-forms")}],items:[]}):React.createElement(React.Fragment,null,React.createElement(d.A,{className:"jp-forms__inbox-list",columns:h,items:w,selectedResponses:s,setSelectedResponses:g,rowAnimationTimeout:200}),n>1&&React.createElement(l.A,{currentPage:e,pages:n,onSelectPage:p,expandedRange:2}))}},454:(e,t,a)=>{"use strict";a.d(t,{A:()=>m});var n=a(6427),r=a(8443),c=a(6087),o=a(7723),s=a(3022),i=a(8468),l=a(7564),d=a(7385);const __=o.__,m=({loading:e,response:t})=>{const[a,m]=(0,c.useState)(!1),u=(0,c.useRef)(void 0);(0,c.useEffect)((()=>{u.current&&(u.current.scrollTop=0)}),[t]);const p=(0,c.useCallback)((async()=>{await window.navigator.clipboard.writeText(t.author_email),m(!0),setTimeout((()=>m(!1)),3e3)}),[t,m]);if(!e&&!t)return null;const h=(0,s.A)("jp-forms__inbox-response-title",{"is-email":t&&!t.author_name&&t.author_email,"is-ip":t&&!t.author_name&&!t.author_email,"is-name":t&&t.author_name});return React.createElement(l.A,{ref:u,activeViewKey:t.id,className:"jp-forms__inbox-response",duration:200},React.createElement("div",{className:"jp-forms__inbox-response-avatar"},React.createElement("img",{src:"https://gravatar.com/avatar/6e998f49bfee1a92cfe639eabb350bc5?size=68&default=identicon",alt:__("Respondent’s gravatar","jetpack-forms")})),React.createElement("h3",{className:h},(0,d.Mn)(t)),t.author_email&&(0,d.Mn)(t)!==t.author_email&&React.createElement("p",{className:"jp-forms__inbox-response-subtitle"},t.author_email,React.createElement(n.Button,{variant:"secondary",onClick:p},!a&&__("Copy","jetpack-forms"),a&&__("✓ Copied","jetpack-forms"))),React.createElement("div",{className:"jp-forms__inbox-response-meta"},React.createElement("div",{className:"jp-forms__inbox-response-meta-label"},React.createElement("span",{className:"jp-forms__inbox-response-meta-key"},__("Date:","jetpack-forms")," "),React.createElement("span",{className:"jp-forms__inbox-response-meta-value"},(0,o.sprintf)(/* Translators: %1$s is the date, %2$s is the time. */ __("%1$s at %2$s","jetpack-forms"),(0,r.dateI18n)((0,r.getSettings)().formats.date,t.date),(0,r.dateI18n)((0,r.getSettings)().formats.time,t.date)))),React.createElement("div",{className:"jp-forms__inbox-response-meta-label"},React.createElement("span",{className:"jp-forms__inbox-response-meta-key"},__("Source:","jetpack-forms")," "),React.createElement("span",{className:"jp-forms__inbox-response-meta-value"},React.createElement(n.Button,{variant:"link",href:t.entry_permalink},t.entry_permalink))),React.createElement("div",{className:"jp-forms__inbox-response-meta-label"},React.createElement("span",{className:"jp-forms__inbox-response-meta-key\t"},__("IP address:","jetpack-forms")," "),React.createElement("span",{className:"jp-forms__inbox-response-meta-value"},t.ip))),React.createElement("div",{className:"jp-forms__inbox-response-separator"}),React.createElement("div",{className:"jp-forms__inbox-response-data"},(0,i.map)(t.fields,((e,t)=>React.createElement("div",{key:t,className:"jp-forms__inbox-response-item"},React.createElement("div",{className:"jp-forms__inbox-response-data-label"},(0,d.NK)(t),":"),React.createElement("div",{className:"jp-forms__inbox-response-data-value"},(0,d.DC)(e)))))))}},1203:(e,t,a)=>{"use strict";a.d(t,{A:()=>p});var n=a(6427),r=a(7143),c=a(7723),o=a(8231),s=a(4259),i=a(6673),l=a(2199),d=a(3324),m=a(3656),u=a(7325);const __=c.__,_x=c._x,p=({id:e})=>{const{addTabTotals:t,fetchResponses:a,removeResponses:c,setLoading:p}=(0,r.useDispatch)(d.E),{currentPage:h,query:f}=(0,u.t)(),g=f.status,v=g!==m.DF.trash?_x("Trash","verb","jetpack-forms"):__("Delete permanently","jetpack-forms"),E=g!==m.DF.trash?m.kl.moveToTrash:m.kl.delete,w=n=>async()=>{try{p(!0),c([e]),t({[g]:-1,[m.Ku[n]]:1}),await(0,l.k)([e],n),await a({...f,limit:m.e4,offset:(h-1)*m.e4},{append:!0}),p(!1)}catch(e){p(!1)}};return React.createElement(n.DropdownMenu,{icon:o.A,popoverProps:{position:"bottom left"}},(()=>React.createElement(n.MenuGroup,null,g===m.DF.spam&&React.createElement(n.MenuItem,{onClick:w(m.kl.markAsNotSpam),iconPosition:"left",icon:s.A},__("Not spam","jetpack-forms")),g===m.DF.inbox&&React.createElement(n.MenuItem,{onClick:w(m.kl.markAsSpam),iconPosition:"left",icon:React.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"M11 13V7H13V13H11Z"}),React.createElement("path",{d:"M11 15V17H13V15H11Z"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.75 12C20.75 16.8325 16.8325 20.75 12 20.75C7.16751 20.75 3.25 16.8325 3.25 12C3.25 7.16751 7.16751 3.25 12 3.25C16.8325 3.25 20.75 7.16751 20.75 12ZM12 19.25C16.0041 19.25 19.25 16.0041 19.25 12C19.25 7.99594 16.0041 4.75 12 4.75C7.99594 4.75 4.75 7.99594 4.75 12C4.75 16.0041 7.99594 19.25 12 19.25Z"}))},__("Mark as spam","jetpack-forms")),g===m.DF.trash&&React.createElement(n.MenuItem,{onClick:w(m.kl.removeFromTrash),iconPosition:"left",icon:s.A},__("Remove from trash","jetpack-forms")),React.createElement(n.MenuItem,{onClick:w(E),iconPosition:"left",icon:i.A,variant:"tertiary",isDestructive:!0},v))))}},7325:(e,t,a)=>{"use strict";a.d(t,{t:()=>s});var n=a(6087),r=a(8468),c=a(28);const o={p:1,r:0,status:"inbox"},s=()=>{const[e,t]=(0,c.ok)(),a=(0,n.useMemo)((()=>({...o,...(0,r.fromPairs)([...e])})),[e]),s=(0,n.useMemo)((()=>({month:a.month,parent_id:a.parent_id,search:a.search,status:a.status})),[a.month,a.parent_id,a.search,a.status]),i=(0,n.useCallback)((e=>a=>t((t=>a?(t.set(e,a),t):(t.delete(e),t)))),[t]),l=(0,n.useCallback)((e=>a=>t((t=>(t.delete("p"),t.delete("r"),a?t.set(e,a):t.delete(e),t)))),[t]);return{currentPage:parseInt(a.p,10),currentResponseId:parseInt(a.r,10),setCurrentPage:(0,n.useCallback)((e=>i("p")(e)),[i]),setCurrentResponseId:(0,n.useCallback)((e=>i("r")(e)),[i]),setMonthQuery:(0,n.useCallback)((e=>l("month")(e)),[l]),setSearchQuery:(0,n.useCallback)((e=>l("search")(e)),[l]),setSourceQuery:(0,n.useCallback)((e=>l("parent_id")(e)),[l]),setStatusQuery:(0,n.useCallback)((e=>l("status")(e)),[l]),query:s}}},7385:(e,t,a)=>{"use strict";a.d(t,{DC:()=>i,Mn:()=>c,NK:()=>s,Yn:()=>o,ze:()=>l});var n=a(5985),r=a(8468);const c=e=>e.author_name?e.author_name:e.author_email?e.author_email:e.ip,o=e=>{try{return new URL(e.entry_permalink).pathname}catch(e){return""}},s=e=>{const t=e.match(/^(\d+_)?(.*)/i);return t?t[2]:e},i=e=>(0,r.isEmpty)(e)?"-":(0,r.isArray)(e)?(0,r.join)(e,", "):e,l=()=>(0,n.d9)()||(0,n.Sy)()},4058:(e,t,a)=>{"use strict";a.d(t,{$:()=>d});var n=a(6087),r=a(8468),c=a(28),o=a(9539),s=a(7969),i=a(678);let l={};const d=e=>(0,r.get)(l,e);window.addEventListener("load",(()=>{const e=document.getElementById("jp-forms-dashboard");l=JSON.parse(decodeURIComponent(e.dataset.config)),delete e.dataset.config;const t=(0,c.Ge)([{path:"/landing",element:React.createElement(i.A,null)},{path:"/responses",element:React.createElement(s.A,null)},{path:"/",element:React.createElement(o.C5,{to:"/responses"})}]);(0,n.createRoot)(e).render(React.createElement(o.pg,{router:t}))}))},678:(e,t,a)=>{"use strict";a.d(t,{A:()=>E});var n=a(372),r=a(3924),c=a(5985),o=a(6087),s=a(7723),i=a(1609),l=a(5402),d=a(1186),m=a(4058),u=a(5594),p=a(4300),h=a(2488),f=a(4426),g=a(5032),v=a(519);const __=s.__,E=()=>{const e=(0,m.$)("pluginAssetsURL"),t=(0,c.d9)()||(0,c.Sy)()?"responses-inbox-wp-com.png":"responses-inbox.png";(0,i.useEffect)((()=>{n.A.tracks.recordEvent("jetpack_wpa_forms_landing_page_display")}),[]);const a=e=>async()=>{const t=new FormData;t.append("action","create_new_form"),t.append("newFormNonce",(0,m.$)("newFormNonce"));const a=await fetch(window.ajaxurl,{method:"POST",body:t}),{post_url:r}=await a.json();r&&(n.A.tracks.recordEvent("jetpack_wpa_forms_landing_page_cta_click",{button:"forms"}),window.open(`${r}${e?"&showJetpackFormsPatterns":""}`))};return React.createElement(d.A,{className:"jp-forms__landing",showFooter:!0},React.createElement("section",{className:"jp-forms__landing-section bg-white-off"},React.createElement("div",{className:"jp-forms__landing-content"},React.createElement("h1",{className:"mb-2"},__("Building forms made easy","jetpack-forms")),React.createElement("h4",{className:"mb-8"},__("Free, flexible, fast, and it works out of the box.","jetpack-forms")),React.createElement("button",{className:"button button-primary mb-10",onClick:a(!1)},__("Create your first form","jetpack-forms")),React.createElement("img",{src:`${e}/images/${t}`,className:"jp-forms__teaser-image",alt:__("Jetpack Forms teaser video","jetpack-forms")}))),React.createElement("section",{className:"jp-forms__landing-section features-block"},React.createElement("div",{className:"jp-forms__landing-content"},React.createElement("div",{className:"jp-forms__block"},React.createElement("div",{className:"jp-forms__block-text"},React.createElement("h1",{className:"mb-6"},__("Jetpack AI Assistant makes creating forms a breeze.","jetpack-forms")),React.createElement("p",null,__("Jetpack AI Assistant enhances the Forms Block with AI-powered features for effortless form creation:","jetpack-forms")),React.createElement("ul",null,React.createElement("li",null,__("Creating a registration form for a global event? Automatically populate a country dropdown list with the AI Assistant.","jetpack-forms")),React.createElement("li",null,__("Need an RSVP form for your event site? Simply ask AI Assistant to prepare a form that includes options for meal preferences, attendance status, or plus-ones.","jetpack-forms"))),React.createElement("button",{className:"button button-primary",onClick:()=>{const e=(0,m.$)("hasAI");if(e)a(!1)();else{const t=(0,r.A)("jetpack-plans",{site:(0,m.$)("siteURL"),anchor:"jetpack_ai_yearly"});n.A.tracks.recordEvent("jetpack_wpa_forms_landing_page_cta_click",{button:"ai",isAIEnabledForSite:e}),window.open(t)}}},__("Explore Jetpack AI","jetpack-forms"))),React.createElement("div",{className:"jp-forms__block-media"},React.createElement("img",{src:`${e}/images/ai-forms.png`,alt:__("An illustration demonstrating how Jetpack AI can help to create forms","jetpack-forms")}))))),React.createElement("section",{className:"jp-forms__landing-section"},React.createElement("div",{className:"jp-forms__landing-content"},React.createElement("h1",null,__("Start with one of many beautiful form patterns.","jetpack-forms")),React.createElement("h1",{className:"mb-12"},__("Customize to your needs.","jetpack-forms")),React.createElement("div",{className:"jp-forms__patterns-grid mb-8"},React.createElement("div",{className:"jp-forms__pattern-item"},React.createElement("img",{src:`${e}/images/contact-form.png`,alt:__("Contact Form","jetpack-forms")}),React.createElement("span",null,__("Contact form","jetpack-forms"))),React.createElement("div",{className:"jp-forms__pattern-item"},React.createElement("img",{src:`${e}/images/registration-form.png`,alt:__("Registration Form","jetpack-forms")}),React.createElement("span",null,__("Registration and login forms","jetpack-forms"))),React.createElement("div",{className:"jp-forms__pattern-item"},React.createElement("img",{src:`${e}/images/feedback-form.png`,alt:__("Feedback Form","jetpack-forms")}),React.createElement("span",null,__("Feedback form","jetpack-forms")))),React.createElement("button",{className:"button button-primary",onClick:a(!0)},__("Explore more patterns","jetpack-forms")))),React.createElement("section",{className:"jp-forms__landing-section bg-white-off"},React.createElement("div",{className:"jp-forms__landing-content"},React.createElement("h1",null,__("You’re in full control of the data.","jetpack-forms")),React.createElement("h1",{className:"mb-12"},__("Empower your workflow.","jetpack-forms")),React.createElement("div",{className:"jp-forms__features"},React.createElement("div",{className:"jp-forms__feature feature-connect"},React.createElement("div",{className:"jp-forms__feature-image-wrapper"},React.createElement("img",{src:`${e}/images/google-sheets-icon.png`,alt:__("Google Sheets icon","jetpack-forms")}),React.createElement("img",{src:`${e}/images/salesforce-icon.png`,alt:__("Salesforce icon","jetpack-forms")})),React.createElement("h1",null,__("Connect with apps you already work with","jetpack-forms"))),React.createElement("div",{className:"jp-forms__feature feature-data"},React.createElement("h4",null,__("Manage your data in wp-admin","jetpack-forms")),React.createElement(v.A,null)),React.createElement("div",{className:"jp-forms__feature feature-akismet"},React.createElement(u.A,{className:"mb-6"}),React.createElement("h4",null,__("No spam with Akismet","jetpack-forms"))),React.createElement("div",{className:"jp-forms__feature feature-export"},React.createElement(f.A,null),React.createElement("h4",null,__("Export your data anytime","jetpack-forms"))),React.createElement("div",{className:"jp-forms__feature feature-notifications"},React.createElement(g.A,{className:"mb-6"}),React.createElement("h4",null,__("Real-time notifications via email","jetpack-forms"))),React.createElement("div",{className:"jp-forms__feature feature-dependencies"},React.createElement("h1",null,React.createElement("span",null,__("Nada","jetpack-forms")),__("Zero","jetpack-forms"),React.createElement("span",null,__("Ziltch","jetpack-forms"))),React.createElement("h4",{className:"align-center"},__("No additional plugins required","jetpack-forms"))),React.createElement("div",{className:"jp-forms__feature feature-validation"},React.createElement("div",{className:"jp-forms__feature-image-wrapper align-center mb-4"},React.createElement(p.A,null),React.createElement(h.A,null)),React.createElement("h4",{className:"align-center"},__("Auto field validation","jetpack-forms")))))),React.createElement("section",{className:"jp-forms__landing-section align-center"},React.createElement("div",{className:"jp-forms__landing-content"},React.createElement("h4",{className:"mb-6"},__("You are in good company.","jetpack-forms")),React.createElement("h1",{className:"jp-forms__wp-sites mb-8"},__("Trusted by more than 5 million WordPress sites.","jetpack-forms")),React.createElement("button",{className:"button button-primary",onClick:a(!1)},__("Get started with Jetpack Forms","jetpack-forms")))),React.createElement("section",{className:"jp-forms__landing-section bg-white-off"},React.createElement("div",{className:"jp-forms__landing-content"},React.createElement("h1",{className:"mb-6"},__("Frequently Asked Questions","jetpack-forms")),React.createElement(l.A,{summary:__("What do I need to use Jetpack Forms?","jetpack-forms")},__('Jetpack Forms is activated by default, so it\'s already fully functional. To get started, simply open the WordPress editor and search for the "Form" block in the block library. You can then add the form block and its corresponding child blocks, such as the text input field or multiple choice block, to your website. You can easily manage incoming form responses within the WP-Admin area.',"jetpack-forms")),React.createElement(l.A,{summary:__("How much does Jetpack Forms cost?","jetpack-forms")},__("Jetpack Forms is currently free and comes by default with your Jetpack plugin.","jetpack-forms")),React.createElement(l.A,{summary:__("Is Jetpack Forms GDPR compliant?","jetpack-forms")},(0,o.createInterpolateElement)(__("Jetpack and its parent company Automattic take data privacy and the GDPR very seriously. We respect the GDPR’s principles of minimizing the amount of data we collect, being transparent about what data we collect and how we use it, complying with EU law in regards to any data that is transferred to non-EU countries, and not keeping data longer than we need it for the purpose it was collected. You can read more about the data we collect, how data is used and shared, and how long data is retained in our Privacy Policy.","jetpack-forms"),{a:React.createElement("a",{href:"https://automattic.com/privacy/",rel:"noreferrer noopener",target:"_blank"})})),React.createElement(l.A,{summary:__("Is there a form responses limit?","jetpack-forms")},__("No.","jetpack-forms")),React.createElement(l.A,{summary:__("What if I would need some help?","jetpack-forms")},(0,o.createInterpolateElement)(__("If you have more specific questions about Jetpack and Forms feel free to reach out to us and we’ll be happy to help.","jetpack-forms"),{a:React.createElement("a",{href:"https://jetpack.com/contact-support/",rel:"noreferrer noopener",target:"_blank"})})))))}},5594:(e,t,a)=>{"use strict";a.d(t,{A:()=>c});var n=a(6072),r=a.n(n);const c=e=>React.createElement("svg",r()({width:"46",height:"46",viewBox:"0 0 46 46",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),React.createElement("rect",{width:"46",height:"46",rx:"8",fill:"#272635"}),React.createElement("g",{clipPath:"url(#clip0_3308_44290)"},React.createElement("path",{d:"M24.4162 12.0335L31.0989 29.5939C31.6753 31.0964 32.5607 31.641 34.0748 31.7683C34.1301 31.7708 34.1843 31.7847 34.2341 31.8089C34.2839 31.8332 34.3281 31.8675 34.3641 31.9095C34.4001 31.9515 34.4271 32.0005 34.4435 32.0534C34.4598 32.1063 34.4651 32.162 34.459 32.217C34.4613 32.2738 34.4522 32.3305 34.4324 32.3837C34.4125 32.437 34.3823 32.4858 34.3435 32.5274C34.3046 32.5689 34.2579 32.6023 34.2061 32.6257C34.1542 32.6491 34.0982 32.6619 34.0414 32.6635H26.7218C26.6626 32.665 26.6037 32.6544 26.5488 32.6325C26.4938 32.6106 26.4438 32.5778 26.4019 32.536C26.3599 32.4943 26.3268 32.4445 26.3047 32.3897C26.2825 32.3349 26.2716 32.2761 26.2728 32.217C26.2684 32.1596 26.276 32.1019 26.2951 32.0476C26.3141 31.9933 26.3442 31.9435 26.3834 31.9014C26.4227 31.8593 26.4702 31.8257 26.523 31.8028C26.5758 31.7799 26.6328 31.7681 26.6904 31.7683C27.4255 31.7683 28.2588 31.5763 28.2588 30.6811C28.2523 30.3078 28.1758 29.939 28.0332 29.5939L26.4294 25.3389C26.3646 25.1469 26.3333 25.0822 26.1412 25.0822H20.0328C19.0722 25.0822 17.8881 25.0822 17.3431 26.2988L15.8812 29.5939C15.7326 29.8928 15.6452 30.2185 15.6244 30.5517C15.6244 31.7036 17.13 31.7683 17.9215 31.7683C17.9791 31.7681 18.0361 31.7799 18.0889 31.8028C18.1418 31.8257 18.1893 31.8593 18.2285 31.9014C18.2677 31.9435 18.2978 31.9933 18.3169 32.0476C18.3359 32.1019 18.3435 32.1596 18.3392 32.217C18.3404 32.2762 18.3294 32.335 18.3071 32.3899C18.2848 32.4448 18.2515 32.4945 18.2093 32.5361C18.1671 32.5777 18.1168 32.6103 18.0616 32.6318C18.0064 32.6534 17.9474 32.6635 17.8881 32.6615H11.3934C11.3343 32.6629 11.2756 32.6523 11.2207 32.6304C11.1658 32.6084 11.116 32.5756 11.0742 32.5338C11.0324 32.4921 10.9995 32.4423 10.9776 32.3875C10.9556 32.3326 10.9451 32.2739 10.9465 32.2149C10.9422 32.1575 10.9498 32.0998 10.9688 32.0455C10.9879 31.9912 11.0179 31.9414 11.0572 31.8993C11.0964 31.8572 11.1439 31.8236 11.1967 31.8007C11.2496 31.7778 11.3066 31.7661 11.3642 31.7662C12.9325 31.6702 13.4525 30.9315 14.0518 29.5918L21.7661 12.7033C22.1191 11.9667 22.8876 11.3281 23.5913 11.3281C24.0967 11.3302 24.2575 11.6182 24.4162 12.0335ZM18.5689 23.4837C18.5302 23.5406 18.5078 23.607 18.5042 23.6757C18.5042 23.7404 18.5689 23.7717 18.6963 23.7717H25.0344C25.4813 23.7717 25.6734 23.6757 25.6734 23.3877C25.6728 23.2432 25.64 23.1006 25.5773 22.9704L23.8169 18.2354C23.3992 17.1482 22.7936 15.7104 22.6015 14.5251C22.6015 14.4625 22.5681 14.4291 22.5367 14.4291C22.5054 14.4291 22.4741 14.4625 22.4741 14.5251C22.2337 15.3401 21.9228 16.1326 21.5448 16.8936L18.5689 23.4837Z",fill:"white"}),React.createElement("path",{d:"M24.4162 12.0335L31.0989 29.5939C31.6753 31.0964 32.5607 31.641 34.0748 31.7683C34.1301 31.7708 34.1843 31.7847 34.2341 31.809C34.2839 31.8332 34.3281 31.8675 34.3641 31.9095C34.4001 31.9516 34.4271 32.0005 34.4435 32.0534C34.4598 32.1063 34.4651 32.162 34.459 32.217C34.4613 32.2738 34.4522 32.3305 34.4324 32.3837C34.4125 32.437 34.3823 32.4858 34.3435 32.5274C34.3046 32.5689 34.2579 32.6023 34.2061 32.6257C34.1542 32.6491 34.0982 32.6619 34.0414 32.6636H26.7218C26.6626 32.665 26.6037 32.6544 26.5488 32.6325C26.4938 32.6106 26.4438 32.5778 26.4019 32.536C26.3599 32.4943 26.3268 32.4445 26.3047 32.3897C26.2825 32.3349 26.2716 32.2761 26.2728 32.217C26.2684 32.1596 26.276 32.1019 26.2951 32.0476C26.3141 31.9933 26.3442 31.9435 26.3834 31.9014C26.4227 31.8593 26.4702 31.8257 26.523 31.8028C26.5758 31.7799 26.6328 31.7682 26.6904 31.7683C27.4255 31.7683 28.2588 31.5763 28.2588 30.6811C28.2523 30.3078 28.1758 29.939 28.0332 29.5939L26.4294 25.3389C26.3647 25.1469 26.3333 25.0822 26.1412 25.0822H20.0328C19.0722 25.0822 17.8881 25.0822 17.3431 26.2988L15.8812 29.5939C15.7326 29.8929 15.6452 30.2185 15.6244 30.5517C15.6244 31.7036 17.13 31.7683 17.9215 31.7683C17.9791 31.7682 18.0361 31.7799 18.0889 31.8028C18.1418 31.8257 18.1893 31.8593 18.2285 31.9014C18.2677 31.9435 18.2978 31.9933 18.3169 32.0476C18.3359 32.1019 18.3435 32.1596 18.3392 32.217C18.3404 32.2762 18.3294 32.335 18.3071 32.3899C18.2848 32.4448 18.2515 32.4945 18.2093 32.5361C18.1671 32.5777 18.1168 32.6103 18.0616 32.6318C18.0064 32.6534 17.9474 32.6635 17.8881 32.6615H11.3934C11.3343 32.6629 11.2756 32.6523 11.2207 32.6304C11.1658 32.6084 11.116 32.5756 11.0742 32.5339C11.0324 32.4921 10.9995 32.4423 10.9776 32.3875C10.9556 32.3326 10.9451 32.2739 10.9465 32.2149C10.9422 32.1575 10.9498 32.0999 10.9688 32.0455C10.9879 31.9912 11.0179 31.9415 11.0572 31.8993C11.0964 31.8572 11.1439 31.8236 11.1967 31.8007C11.2496 31.7778 11.3066 31.7661 11.3642 31.7662C12.9325 31.6702 13.4525 30.9315 14.0518 29.5918L21.7661 12.7033C22.1191 11.9667 22.8876 11.3281 23.5913 11.3281C24.0967 11.3302 24.2575 11.6182 24.4162 12.0335ZM18.5689 23.4837C18.5302 23.5406 18.5078 23.607 18.5042 23.6757C18.5042 23.7404 18.5689 23.7717 18.6963 23.7717H25.0344C25.4813 23.7717 25.6734 23.6757 25.6734 23.3877C25.6728 23.2432 25.64 23.1006 25.5774 22.9704L23.8169 18.2354C23.3992 17.1482 22.7936 15.7104 22.6015 14.5251C22.6015 14.4625 22.5681 14.4291 22.5367 14.4291C22.5054 14.4291 22.4741 14.4625 22.4741 14.5251C22.2337 15.3401 21.9228 16.1326 21.5448 16.8936L18.5689 23.4837Z",fill:"white"}),React.createElement("path",{d:"M36.4557 22.7333C36.4557 23.5555 35.99 24.0209 35.1484 24.0209C34.3068 24.0209 33.9727 23.5931 33.9727 22.9399C33.9727 22.1177 34.4592 21.6523 35.28 21.6523C36.1007 21.6523 36.4557 22.0989 36.4557 22.7333Z",fill:"white"}),React.createElement("path",{d:"M11.3739 22.7588C11.3739 23.5789 10.9061 24.0464 10.0666 24.0464C9.22712 24.0464 8.88672 23.6165 8.88672 22.9633C8.88672 22.1432 9.3733 21.6758 10.194 21.6758C11.0147 21.6758 11.3739 22.1244 11.3739 22.7588Z",fill:"white"})),React.createElement("defs",null,React.createElement("clipPath",{id:"clip0_3308_44290"},React.createElement("rect",{width:"27.5556",height:"21.3333",fill:"white",transform:"translate(8.89062 11.332)"}))))},4300:(e,t,a)=>{"use strict";a.d(t,{A:()=>c});var n=a(6072),r=a.n(n);const c=e=>React.createElement("svg",r()({width:"56",height:"56",viewBox:"0 0 56 56",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M41.833 18.615L25.0371 41.2036L14.499 33.368L16.5874 30.5593L24.3169 36.3066L39.0243 16.5266L41.833 18.615Z",fill:"#008710"}))},2488:(e,t,a)=>{"use strict";a.d(t,{A:()=>c});var n=a(6072),r=a.n(n);const c=e=>React.createElement("svg",r()({width:"56",height:"56",viewBox:"0 0 56 56",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M28.0002 30.4751L36.6623 39.1371L39.1371 36.6623L30.4751 28.0002L39.1372 19.3382L36.6623 16.8633L28.0002 25.5254L19.3382 16.8633L16.8633 19.3382L25.5254 28.0002L16.8633 36.6623L19.3382 39.1372L28.0002 30.4751Z",fill:"#D63638"}))},4426:(e,t,a)=>{"use strict";a.d(t,{A:()=>c});var n=a(6072),r=a.n(n);const c=e=>React.createElement("svg",r()({width:"132",height:"50",viewBox:"0 0 132 50",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),React.createElement("rect",{x:"25",y:"14",width:"107",height:"4",rx:"2",fill:"#256EFF"}),React.createElement("rect",{x:"31",y:"35",width:"63",height:"3",rx:"1.5",fill:"#1858D8"}),React.createElement("rect",{x:"16",y:"35",width:"8",height:"3",rx:"1.5",fill:"#1858D8"}),React.createElement("rect",{y:"14",width:"19",height:"4",rx:"2",fill:"#256EFF"}),React.createElement("rect",{x:"44",y:"25",width:"72",height:"4",rx:"2",fill:"#357B49"}),React.createElement("rect",{x:"16",y:"25",width:"23",height:"4",rx:"2",fill:"#357B49"}),React.createElement("rect",{x:"6",y:"5",width:"66",height:"3",rx:"1.5",fill:"#6DBF85"}),React.createElement("rect",{width:"127",height:"50",fill:"url(#paint0_linear_3308_44308)"}),React.createElement("defs",null,React.createElement("linearGradient",{id:"paint0_linear_3308_44308",x1:"2.5",y1:"25",x2:"65.5",y2:"25",gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"white"}),React.createElement("stop",{offset:"1",stopColor:"white",stopOpacity:"0"}))))},5032:(e,t,a)=>{"use strict";a.d(t,{A:()=>c});var n=a(6072),r=a.n(n);const c=e=>React.createElement("svg",r()({width:"46",height:"36",viewBox:"0 0 46 36",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.6667 8C2.0894 8 0 10.0893 0 12.6667V31.3333C0 33.9107 2.0894 36 4.6667 36H32.6667C35.244 36 37.3334 33.9107 37.3334 31.3333V12.6667C37.3334 10.0893 35.244 8 32.6667 8H4.6667ZM3.5 13.6382V31.3333C3.5 31.9777 4.0224 32.5 4.6667 32.5H32.6667C33.311 32.5 33.8334 31.9777 33.8334 31.3333V13.6382L18.6667 26.6382L3.5 13.6382ZM30.9499 11.5H6.3835L18.6667 22.0284L30.9499 11.5Z",fill:"#1E1E1E"}),React.createElement("path",{d:"M37.668 16C42.0862 16 45.668 12.4183 45.668 8C45.668 3.58172 42.0862 0 37.668 0C33.2497 0 29.668 3.58172 29.668 8C29.668 12.4183 33.2497 16 37.668 16Z",fill:"#D63638"}))},519:(e,t,a)=>{"use strict";a.d(t,{A:()=>c});var n=a(6072),r=a.n(n);const c=e=>React.createElement("svg",r()({width:"136",height:"95",viewBox:"0 0 136 95",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M42.9708 18.9005C44.1337 18.134 44.505 16.5837 43.7747 15.3976C43.044 14.2108 41.4873 13.838 40.3216 14.602C30.653 20.9387 22.3008 29.0987 15.7365 38.6338C9.17125 48.1704 4.52929 58.8867 2.061 70.182C1.76407 71.5408 2.66601 72.8592 4.03266 73.1177C5.40037 73.3763 6.7148 72.4749 7.01303 71.1153C11.7833 49.3673 24.9629 30.7687 42.9708 18.9005Z",fill:"#4DB26A"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M42.9708 18.9005C44.1337 18.134 44.505 16.5837 43.7747 15.3976C43.044 14.2108 41.4873 13.838 40.3216 14.602C30.653 20.9387 22.3008 29.0987 15.7365 38.6338C9.17125 48.1704 4.52929 58.8867 2.061 70.182C1.76407 71.5408 2.66601 72.8592 4.03266 73.1177C5.40037 73.3763 6.7148 72.4749 7.01303 71.1153C11.7833 49.3673 24.9629 30.7687 42.9708 18.9005Z",fill:"#4DB26A"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M59.5137 42.4168C60.4544 41.8184 60.78 40.5851 60.2172 39.6228C59.654 38.6598 58.4145 38.3328 57.4712 38.9284C46.8358 45.6429 38.5862 55.5676 33.9351 67.2909C29.2835 79.0151 28.4852 91.8974 31.6254 104.078C31.9034 105.156 33.028 105.767 34.0965 105.453C35.1646 105.138 35.7721 104.019 35.4976 102.94C34.382 98.5546 33.7891 93.9608 33.7891 89.2286C33.7891 69.543 44.0492 52.2537 59.5137 42.4168Z",fill:"#1858D8"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M107.624 32.6581C95.629 28.7574 82.7218 28.7757 70.7641 32.6803C69.7058 33.0259 69.1676 34.1865 69.5489 35.2325C69.9301 36.2785 71.0861 36.8137 72.1454 36.471C77.5265 34.7298 83.2677 33.7891 89.2286 33.7891C107.655 33.7891 123.983 42.7791 134.063 56.6124C134.72 57.514 135.973 57.7612 136.898 57.1381C137.824 56.5147 138.072 55.2561 137.418 54.3517C130.044 44.163 119.618 36.5582 107.624 32.6581Z",fill:"#272635"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M125.194 10.3266C125.771 9.06103 125.213 7.56393 123.932 7.02306C103.735 -1.50267 81.1004 -2.29366 60.3576 4.8014C59.0419 5.25142 58.3815 6.70568 58.8684 8.00815C59.3554 9.31074 60.805 9.96807 62.1216 9.52038C70.6288 6.62765 79.7479 5.05859 89.2335 5.05859C100.795 5.05859 111.813 7.38976 121.841 11.6077C123.124 12.1471 124.617 11.5926 125.194 10.3266Z",fill:"#256EFF"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.31243 82.6459C5.42004 81.2555 4.42168 80.0104 3.03527 79.8597C1.64766 79.7088 0.396736 80.7112 0.285223 82.1025C-0.050481 86.291 -0.0899009 90.498 0.167258 94.6921C0.252708 96.0857 1.48505 97.1117 2.87569 96.9868C4.26521 96.862 5.28707 95.6354 5.2053 94.2427C5.10795 92.5847 5.05859 90.9139 5.05859 89.2315C5.05859 87.0153 5.14425 84.819 5.31243 82.6459Z",fill:"#357B49"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M31.7916 50.6255C32.4778 49.6066 32.255 48.2185 31.2581 47.5008C30.2617 46.7836 28.8696 47.0081 28.1828 48.0256C21.8352 57.4297 17.7403 68.1824 16.2306 79.4476C14.7208 90.7147 15.8408 102.168 19.49 112.913C19.8837 114.073 21.1643 114.654 22.3113 114.226C23.4584 113.797 24.0373 112.521 23.6459 111.361C21.3019 104.412 20.0312 96.9691 20.0312 89.2295C20.0312 74.935 24.3656 61.6528 31.7916 50.6255Z",fill:"#357B49"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M72.5768 17.4851C59.8851 20.4307 48.2153 26.6871 38.7474 35.5993C37.8522 36.4421 37.8544 37.8544 38.7238 38.7238C39.5932 39.5932 41.0003 39.5903 41.8971 38.7492C54.2734 27.1395 70.9211 20.0293 89.2295 20.0293C123.718 20.0293 152.314 45.2605 157.565 78.2712C157.758 79.483 158.867 80.3482 160.084 80.193C161.3 80.038 162.164 78.9257 161.972 77.7148C159.939 64.8699 154.538 52.7777 146.302 42.6792C137.598 32.0067 126.076 23.9885 113.044 19.5351C100.012 15.0817 85.9921 14.3715 72.5768 17.4851Z",fill:"#357B49"}),React.createElement("rect",{x:"49",y:"48",width:"82",height:"82",rx:"41",fill:"#1E1E1E"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M121 89C121 71.919 107.081 58 90 58C72.888 58 59 71.919 59 89C59 106.112 72.888 120 90 120C107.081 120 121 106.112 121 89ZM83.118 105.647L72.547 77.282C74.252 77.22 76.174 77.034 76.174 77.034C77.724 76.848 77.538 73.531 75.988 73.593C75.988 73.593 71.493 73.934 68.641 73.934C68.083 73.934 67.494 73.934 66.843 73.903C71.772 66.339 80.297 61.441 90 61.441C97.223 61.441 103.795 64.138 108.755 68.695C106.647 68.354 103.64 69.904 103.64 73.593C103.64 75.6018 104.71 77.3253 105.912 79.2631L105.912 79.2632L105.913 79.2642C106.084 79.539 106.257 79.8181 106.43 80.103C107.515 81.994 108.135 84.319 108.135 87.729C108.135 92.348 103.795 103.229 103.795 103.229L94.402 77.282C96.076 77.22 96.944 76.755 96.944 76.755C98.494 76.6 98.308 72.88 96.758 72.973C96.758 72.973 92.294 73.345 89.38 73.345C86.683 73.345 82.157 72.973 82.157 72.973C80.607 72.88 80.421 76.693 81.971 76.755L84.823 77.003L88.729 87.574L83.118 105.647ZM113.039 88.8199L112.971 89C110.725 94.9133 108.496 100.877 106.271 106.83L106.27 106.832L106.268 106.839L106.261 106.857C105.48 108.947 104.699 111.034 103.919 113.118C112.196 108.344 117.559 99.199 117.559 89C117.559 84.226 116.474 79.824 114.304 75.825C115.237 82.9857 113.804 86.7883 113.039 88.8199ZM77.91 114.079C68.672 109.615 62.441 99.943 62.441 89C62.441 84.97 63.154 81.312 64.673 77.871C65.6006 80.4122 66.5282 82.9547 67.4561 85.498L67.4587 85.5051C70.9333 95.0288 74.412 104.564 77.91 114.079ZM98.401 115.164L90.403 93.526C88.9295 97.8728 87.445 102.22 85.9562 106.58C84.9392 109.558 83.9201 112.542 82.901 115.536C85.133 116.218 87.551 116.559 90 116.559C92.945 116.559 95.735 116.063 98.401 115.164Z",fill:"white"}))},9864:(e,t,a)=>{"use strict";a.d(t,{EB:()=>r,JB:()=>d,NH:()=>l,Oz:()=>c,TA:()=>n,pi:()=>o,uk:()=>s,zR:()=>i});const n="ASYNC_ROUTINE_DISPATCH",r="RESPONSES_FETCH",c="RESPONSES_FETCH_RECEIVE",o="RESPONSES_FETCH_FAIL",s="RESPONSES_REMOVE",i="RESPONSES_SELECTION_SET",l="RESPONSES_TAB_TOTALS_ADD",d="RESPONSES_LOADING_SET"},6759:(e,t,a)=>{"use strict";a.r(t),a.d(t,{addTabTotals:()=>d,dispatchAsync:()=>c,fetchResponses:()=>o,removeResponses:()=>s,selectResponses:()=>i,setLoading:()=>l});var n=a(2199),r=a(9864);const c=(e,t=[])=>({type:r.TA,apply:e,args:t});function*o(e,t={}){yield{type:r.EB,append:t.append,query:e};try{const a=yield c(n.l,[e]);return{type:r.Oz,responses:a.responses,total:a.totals[e.status||"inbox"],tabTotals:a.totals,filters:a.filters_available,append:t.append}}catch(e){return{type:r.pi,error:e}}}const s=(e,t)=>({type:r.uk,responseIds:e,status:t}),i=e=>({type:r.zR,selectedResponses:e}),l=e=>({type:r.JB,loading:e}),d=e=>({type:r.NH,tabTotals:e})},9200:(e,t,a)=>{"use strict";a.d(t,{A:()=>r});var n=a(9864);const r={[n.TA]:({apply:e,args:t})=>e(...t)}},3324:(e,t,a)=>{"use strict";a.d(t,{E:()=>i});var n=a(7143),r=a(6759),c=a(9200),o=a(5096),s=a(9658);const i="FORM_RESPONSES",l={actions:{...r},reducer:o.A,selectors:{...s},controls:c.A},d=(0,n.createReduxStore)(i,l);(0,n.register)(d)},5096:(e,t,a)=>{"use strict";a.d(t,{A:()=>o});var n=a(7143),r=a(8468),c=a(9864);const o=(0,n.combineReducers)({currentSelection:(e=[],t)=>t.type===c.Oz?[]:t.type===c.zR?t.selectedResponses:e,filters:(e={},t)=>t.type===c.Oz?t.filters:e,loading:(e=!1,t)=>t.type===c.EB||t.type!==c.Oz&&t.type!==c.pi&&(t.type===c.JB?t.loading:e),query:(e={},t)=>t.type===c.EB?t.query:e,responses:(e=[],t)=>t.type!==c.EB||t.append?t.type===c.Oz?t.append?(0,r.uniqBy)([...e,...t.responses],(e=>e.id)):[...t.responses]:t.type===c.uk?e.filter((e=>t.responseIds.indexOf(e.id)<0)):e:[],tabTotals:(e=void 0,t)=>t.type===c.Oz?t.tabTotals:t.type===c.NH?(0,r.fromPairs)((0,r.map)((0,r.keys)({...e,...t.tabTotals}),(a=>[a,(e[a]||0)+(t.tabTotals[a]||0)]))):e,total:(e=0,t)=>t.type===c.EB&&0===t.offset?0:t.type===c.Oz?t.total:t.type===c.uk?e-t.responseIds.length:e})},9658:(e,t,a)=>{"use strict";a.r(t),a.d(t,{getMonthFilter:()=>d,getQuery:()=>s,getResponses:()=>o,getSelectedResponseIds:()=>u,getSourceFilter:()=>m,getTabTotals:()=>i,getTotalResponses:()=>l,isFetchingResponses:()=>c});var n=a(8468),r=a(7385);const c=e=>e.loading,o=e=>(0,n.map)(e.responses,(e=>({...e,source:e.entry_title||(0,r.Yn)(e),name:e.author_name||e.author_email||e.author_url||e.ip}))),s=e=>e.query||{},i=e=>e.tabTotals||{},l=e=>e.total,d=e=>e.filters.month||[],m=e=>e.filters.source||[],u=e=>e.currentSelection},67:(e,t,a)=>{t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const a="color: "+this.color;t.splice(1,0,a,"color: inherit");let n=0,r=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(n++,"%c"===e&&(r=n))})),t.splice(r,0,a)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(e){}!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=a(8926)(t);const{formatters:n}=e.exports;n.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},8926:(e,t,a)=>{e.exports=function(e){function t(e){let a,r,c,o=null;function s(...e){if(!s.enabled)return;const n=s,r=Number(new Date),c=r-(a||r);n.diff=c,n.prev=a,n.curr=r,a=r,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let o=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,((a,r)=>{if("%%"===a)return"%";o++;const c=t.formatters[r];if("function"==typeof c){const t=e[o];a=c.call(n,t),e.splice(o,1),o--}return a})),t.formatArgs.call(n,e);(n.log||t.log).apply(n,e)}return s.namespace=e,s.useColors=t.useColors(),s.color=t.selectColor(e),s.extend=n,s.destroy=t.destroy,Object.defineProperty(s,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==o?o:(r!==t.namespaces&&(r=t.namespaces,c=t.enabled(e)),c),set:e=>{o=e}}),"function"==typeof t.init&&t.init(s),s}function n(e,a){const n=t(this.namespace+(void 0===a?":":a)+e);return n.log=this.log,n}function r(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},t.disable=function(){const e=[...t.names.map(r),...t.skips.map(r).map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){let a;t.save(e),t.namespaces=e,t.names=[],t.skips=[];const n=("string"==typeof e?e:"").split(/[\s,]+/),r=n.length;for(a=0;a{t[a]=e[a]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let a=0;for(let t=0;t{"use strict";e.exports={consumer_slug:"jetpack-forms"}},9384:e=>{"use strict";e.exports=window.JetpackConnection},7999:e=>{"use strict";e.exports=window.JetpackScriptDataModule},1609:e=>{"use strict";e.exports=window.React},5795:e=>{"use strict";e.exports=window.ReactDOM},790:e=>{"use strict";e.exports=window.ReactJSXRuntime},8468:e=>{"use strict";e.exports=window.lodash},1455:e=>{"use strict";e.exports=window.wp.apiFetch},6427:e=>{"use strict";e.exports=window.wp.components},9491:e=>{"use strict";e.exports=window.wp.compose},3582:e=>{"use strict";e.exports=window.wp.coreData},7143:e=>{"use strict";e.exports=window.wp.data},8443:e=>{"use strict";e.exports=window.wp.date},6087:e=>{"use strict";e.exports=window.wp.element},8537:e=>{"use strict";e.exports=window.wp.htmlEntities},7723:e=>{"use strict";e.exports=window.wp.i18n},4660:e=>{"use strict";e.exports=window.wp.plugins},5573:e=>{"use strict";e.exports=window.wp.primitives},3832:e=>{"use strict";e.exports=window.wp.url},6072:e=>{function t(){return e.exports=t=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";function n(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}a.d(t,{A:()=>n})},7790:(e,t,a)=>{"use strict";function n(){return n=Object.assign?Object.assign.bind():function(e){for(var t=1;tn})},1105:(e,t,a)=>{"use strict";a.d(t,{A:()=>r});var n=a(1200);function r(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,(0,n.A)(e,t)}},4001:(e,t,a)=>{"use strict";function n(e,t){if(null==e)return{};var a={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.includes(n))continue;a[n]=e[n]}return a}a.d(t,{A:()=>n})},1200:(e,t,a)=>{"use strict";function n(e,t){return n=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},n(e,t)}a.d(t,{A:()=>n})},3022:(e,t,a)=>{"use strict";function n(e){var t,a,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e)){var c=e.length;for(t=0;tr});const r=function(){for(var e,t,a=0,r="",c=arguments.length;a{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},a.d=(e,t)=>{for(var n in t)a.o(t,n)&&!a.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};a(4058)})(); \ No newline at end of file diff --git a/jetpack_vendor/automattic/jetpack-videopress/build/block-editor/blocks/video/index.asset.php b/jetpack_vendor/automattic/jetpack-videopress/build/block-editor/blocks/video/index.asset.php index 3a8f801622..4e62dc5ca1 100644 --- a/jetpack_vendor/automattic/jetpack-videopress/build/block-editor/blocks/video/index.asset.php +++ b/jetpack_vendor/automattic/jetpack-videopress/build/block-editor/blocks/video/index.asset.php @@ -1 +1 @@ - array('jetpack-connection', 'lodash', 'react', 'react-jsx-runtime', 'wp-api-fetch', 'wp-blob', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-editor', 'wp-element', 'wp-escape-html', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-url'), 'version' => '45cad11a08bfdce7d74b'); + array('jetpack-connection', 'lodash', 'react', 'react-jsx-runtime', 'wp-api-fetch', 'wp-blob', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-editor', 'wp-element', 'wp-escape-html', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-url'), 'version' => 'd26d042c80ab400c34ee'); diff --git a/jetpack_vendor/automattic/jetpack-videopress/build/block-editor/blocks/video/index.js b/jetpack_vendor/automattic/jetpack-videopress/build/block-editor/blocks/video/index.js index 58366399ab..515ebcf41f 100644 --- a/jetpack_vendor/automattic/jetpack-videopress/build/block-editor/blocks/video/index.js +++ b/jetpack_vendor/automattic/jetpack-videopress/build/block-editor/blocks/video/index.js @@ -1,6 +1,6 @@ /*! For license information please see index.js.LICENSE.txt */ (()=>{var e={1113:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});var o=r(6087);const n=(0,o.forwardRef)((function({icon:e,size:t=24,...r},n){return(0,o.cloneElement)(e,{width:t,height:t,...r,ref:n})}))},7913:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var o=r(5573),n=r(790);const a=(0,n.jsx)(o.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,n.jsx)(o.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M6 5.5h12a.5.5 0 0 1 .5.5v12a.5.5 0 0 1-.5.5H6a.5.5 0 0 1-.5-.5V6a.5.5 0 0 1 .5-.5ZM4 6a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6Zm4 10h2v-1.5H8V16Zm5 0h-2v-1.5h2V16Zm1 0h2v-1.5h-2V16Z"})})},3512:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var o=r(5573),n=r(790);const a=(0,n.jsx)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,n.jsx)(o.Path,{d:"M19.5 4.5h-7V6h4.44l-5.97 5.97 1.06 1.06L18 7.06v4.44h1.5v-7Zm-13 1a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-3H17v3a.5.5 0 0 1-.5.5h-10a.5.5 0 0 1-.5-.5v-10a.5.5 0 0 1 .5-.5h3V5.5h-3Z"})})},5938:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var o=r(5573),n=r(790);const a=(0,n.jsx)(o.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,n.jsx)(o.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.5v8.4l-3-2.9c-.3-.3-.8-.3-1 0L11.9 14 9 12c-.3-.2-.6-.2-.8 0l-3.6 2.6V5c-.1-.3.1-.5.4-.5zm14 15H5c-.3 0-.5-.2-.5-.5v-2.4l4.1-3 3 1.9c.3.2.7.2.9-.1L16 12l3.5 3.4V19c0 .3-.2.5-.5.5z"})})},5855:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var o=r(5573),n=r(790);const a=(0,n.jsx)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,n.jsx)(o.Path,{d:"M17.031 4.703 15.576 4l-1.56 3H14v.03l-2.324 4.47H9.5V13h1.396l-1.502 2.889h-.95a3.694 3.694 0 0 1 0-7.389H10V7H8.444a5.194 5.194 0 1 0 0 10.389h.17L7.5 19.53l1.416.719L15.049 8.5h.507a3.694 3.694 0 0 1 0 7.39H14v1.5h1.556a5.194 5.194 0 0 0 .273-10.383l1.202-2.304Z"})})},7326:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var o=r(5573),n=r(790);const a=(0,n.jsx)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,n.jsx)(o.Path,{d:"M18.5 15v3.5H13V6.7l4.5 4.1 1-1.1-6.2-5.8-5.8 5.8 1 1.1 4-4v11.7h-6V15H4v5h16v-5z"})})},311:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var o=r(5573),n=r(790);const a=(0,n.jsx)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24",children:(0,n.jsx)(o.Path,{d:"M10 2c4.42 0 8 3.58 8 8s-3.58 8-8 8-8-3.58-8-8 3.58-8 8-8zm1.13 9.38l.35-6.46H8.52l.35 6.46h2.26zm-.09 3.36c.24-.23.37-.55.37-.96 0-.42-.12-.74-.36-.97s-.59-.35-1.06-.35-.82.12-1.07.35-.37.55-.37.97c0 .41.13.73.38.96.26.23.61.34 1.06.34s.8-.11 1.05-.34z"})})},6941:(e,t,r)=>{t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const r="color: "+this.color;t.splice(1,0,r,"color: inherit");let o=0,n=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(o++,"%c"===e&&(n=o))})),t.splice(n,0,r)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(e){}!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=r(3212)(t);const{formatters:o}=e.exports;o.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},3212:(e,t,r)=>{e.exports=function(e){function t(e){let r,n,a,i=null;function s(...e){if(!s.enabled)return;const o=s,n=Number(new Date),a=n-(r||n);o.diff=a,o.prev=r,o.curr=n,r=n,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let i=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,((r,n)=>{if("%%"===r)return"%";i++;const a=t.formatters[n];if("function"==typeof a){const t=e[i];r=a.call(o,t),e.splice(i,1),i--}return r})),t.formatArgs.call(o,e);(o.log||t.log).apply(o,e)}return s.namespace=e,s.useColors=t.useColors(),s.color=t.selectColor(e),s.extend=o,s.destroy=t.destroy,Object.defineProperty(s,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==i?i:(n!==t.namespaces&&(n=t.namespaces,a=t.enabled(e)),a),set:e=>{i=e}}),"function"==typeof t.init&&t.init(s),s}function o(e,r){const o=t(this.namespace+(void 0===r?":":r)+e);return o.log=this.log,o}function n(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},t.disable=function(){const e=[...t.names.map(n),...t.skips.map(n).map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){let r;t.save(e),t.namespaces=e,t.names=[],t.skips=[];const o=("string"==typeof e?e:"").split(/[\s,]+/),n=o.length;for(r=0;r{t[r]=e[r]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let r=0;for(let t=0;t1&&void 0!==arguments[1]?arguments[1]:{},A=[],P=0;if(isNaN(n))throw new TypeError("Invalid number");if(s=!0===S.bits,b=!0===S.unix,v=!0===S.pad,i=S.base||10,g=void 0!==S.round?S.round:b?1:2,p=void 0!==S.locale?S.locale:"",d=S.localeOptions||{},k=void 0!==S.separator?S.separator:"",w=void 0!==S.spacer?S.spacer:b?"":" ",E=S.symbols||{},_=2===i?S.standard||"iec":"jedec",h=S.output||"string",l=!0===S.fullform,u=S.fullforms instanceof Array?S.fullforms:[],a=void 0!==S.exponent?S.exponent:-1,R=o[S.roundingMethod]||Math.round,f=(m=Number(n))<0,c=i>2?1e3:1024,C=!1===isNaN(S.precision)?parseInt(S.precision,10):0,f&&(m=-m),(-1===a||isNaN(a))&&(a=Math.floor(Math.log(m)/Math.log(c)))<0&&(a=0),a>8&&(C>0&&(C+=8-a),a=8),"exponent"===h)return a;if(0===m)A[0]=0,y=A[1]=b?"":t[_][s?"bits":"bytes"][a];else{P=m/(2===i?Math.pow(2,10*a):Math.pow(1e3,a)),s&&(P*=8)>=c&&a<8&&(P/=c,a++);var j=Math.pow(10,a>0?g:0);A[0]=R(P*j)/j,A[0]===c&&a<8&&void 0===S.exponent&&(A[0]=1,a++),y=A[1]=10===i&&1===a?s?"kbit":"kB":t[_][s?"bits":"bytes"][a],b&&(A[1]=A[1].charAt(0),e.test(A[1])&&(A[0]=Math.floor(A[0]),A[1]=""))}if(f&&(A[0]=-A[0]),C>0&&(A[0]=A[0].toPrecision(C)),A[1]=E[A[1]]||A[1],!0===p?A[0]=A[0].toLocaleString():p.length>0?A[0]=A[0].toLocaleString(p,d):k.length>0&&(A[0]=A[0].toString().replace(".",k)),v&&!1===Number.isInteger(A[0])&&g>0){var x=k||".",T=A[0].toString().split(x),U=T[1]||"",N=U.length,O=g-N;A[0]="".concat(T[0]).concat(x).concat(U.padEnd(N+O,"0"))}return l&&(A[1]=u[a]?u[a]:r[_][a]+(s?"bit":"byte")+(1===A[0]?"":"s")),"array"===h?A:"object"===h?{value:A[0],symbol:A[1],exponent:a,unit:y}:A.join(w)}return n.partial=function(e){return function(t){return n(t,e)}},n}()},7560:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});const o={button:"zI5tJ_qhWE6Oe6Lk75GY","is-icon-button":"tuBt2DLqimiImoqVzPqo",small:"Na39I683LAaSA99REg14",normal:"ipS7tKy9GntCS4R3vekF",icon:"paGLQwtPEaJmtArCcmyK",regular:"lZAo6_oGfclXOO9CC6Rd","full-width":"xJDOiJxTt0R_wSl8Ipz_",loading:"q_tVWqMjl39RcY6WtQA6","external-icon":"CDuBjJp_8jxzx5j6Nept"}},2604:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});const o={"help-message":"MVuHtQ6MxijxzLoKaiAD"}},941:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});const o={"timestamp-control__controls-wrapper":"rcGUZgpe4CGD8uYmerUD","timestamp-range-control":"iZjYt7tDXuSRYGSpgL1y","timestamp-input-wrapper":"dx9xZVwTj45XWtgjLwf2","timestamp-control-input":"Uge3H06ePl7rnHIbnUgo","is-disabled":"AmMha5bHq6c3gHoP7k28","timestamp-control-divider":"aN3nKQFl5a3qMbO8CaVg"}},8766:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});const o={container:"ianknO6MB_ng2EieMQdE","play-icon":"no33D8j7N4nzdafpETZy","video-player-wrapper":"VFzg5w6i04b05mkee2SA","video-player-spinner-wrapper":"PHuqvGT1Z0IVZgjAtUZw",spinner:"xwBn5mUH0mhSBqas1dog",video:"k5rpcKdHL3HKU39CrUhe",range:"sgykjydBL76DT5yDw_ka"}},7378:e=>{var t=1e3,r=60*t,o=60*r,n=24*o,a=7*n,i=365.25*n;function s(e,t,r,o){var n=t>=1.5*r;return Math.round(e/r)+" "+o+(n?"s":"")}e.exports=function(e,c){c=c||{};var l=typeof e;if("string"===l&&e.length>0)return function(e){if((e=String(e)).length>100)return;var s=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!s)return;var c=parseFloat(s[1]);switch((s[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return c*i;case"weeks":case"week":case"w":return c*a;case"days":case"day":case"d":return c*n;case"hours":case"hour":case"hrs":case"hr":case"h":return c*o;case"minutes":case"minute":case"mins":case"min":case"m":return c*r;case"seconds":case"second":case"secs":case"sec":case"s":return c*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return c;default:return}}(e);if("number"===l&&isFinite(e))return c.long?function(e){var a=Math.abs(e);if(a>=n)return s(e,a,n,"day");if(a>=o)return s(e,a,o,"hour");if(a>=r)return s(e,a,r,"minute");if(a>=t)return s(e,a,t,"second");return e+" ms"}(e):function(e){var a=Math.abs(e);if(a>=n)return Math.round(e/n)+"d";if(a>=o)return Math.round(e/o)+"h";if(a>=r)return Math.round(e/r)+"m";if(a>=t)return Math.round(e/t)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},4588:(e,t)=>{"use strict";var r=Object.prototype.hasOwnProperty;function o(e){try{return decodeURIComponent(e.replace(/\+/g," "))}catch(e){return null}}function n(e){try{return encodeURIComponent(e)}catch(e){return null}}t.stringify=function(e,t){t=t||"";var o,a,i=[];for(a in"string"!=typeof t&&(t="?"),e)if(r.call(e,a)){if((o=e[a])||null!=o&&!isNaN(o)||(o=""),a=n(a),o=n(o),null===a||null===o)continue;i.push(a+"="+o)}return i.length?t+i.join("&"):""},t.parse=function(e){for(var t,r=/([^=?#&]+)=?([^&]*)/g,n={};t=r.exec(e);){var a=o(t[1]),i=o(t[2]);null===a||null===i||a in n||(n[a]=i)}return n}},6811:e=>{"use strict";e.exports=function(e,t){if(t=t.split(":")[0],!(e=+e))return!1;switch(t){case"http":case"ws":return 80!==e;case"https":case"wss":return 443!==e;case"ftp":return 21!==e;case"gopher":return 70!==e;case"file":return!1}return 0!==e}},372:(e,t,r)=>{"use strict";r.d(t,{A:()=>c});var o=r(6941);const n=r.n(o)()("dops:analytics");let a,i;window._tkq=window._tkq||[],window.ga=window.ga||function(){(window.ga.q=window.ga.q||[]).push(arguments)},window.ga.l=+new Date;const s={initialize:function(e,t,r){s.setUser(e,t),s.setSuperProps(r),s.identifyUser()},setGoogleAnalyticsEnabled:function(e,t=null){this.googleAnalyticsEnabled=e,this.googleAnalyticsKey=t},setMcAnalyticsEnabled:function(e){this.mcAnalyticsEnabled=e},setUser:function(e,t){i={ID:e,username:t}},setSuperProps:function(e){a=e},assignSuperProps:function(e){a=Object.assign(a||{},e)},mc:{bumpStat:function(e,t){const r=function(e,t){let r="";if("object"==typeof e){for(const t in e)r+="&x_"+encodeURIComponent(t)+"="+encodeURIComponent(e[t]);n("Bumping stats %o",e)}else r="&x_"+encodeURIComponent(e)+"="+encodeURIComponent(t),n('Bumping stat "%s" in group "%s"',t,e);return r}(e,t);s.mcAnalyticsEnabled&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom-no-pv"+r+"&t="+Math.random())},bumpStatWithPageView:function(e,t){const r=function(e,t){let r="";if("object"==typeof e){for(const t in e)r+="&"+encodeURIComponent(t)+"="+encodeURIComponent(e[t]);n("Built stats %o",e)}else r="&"+encodeURIComponent(e)+"="+encodeURIComponent(t),n('Built stat "%s" in group "%s"',t,e);return r}(e,t);s.mcAnalyticsEnabled&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom"+r+"&t="+Math.random())}},pageView:{record:function(e,t){s.tracks.recordPageView(e),s.ga.recordPageView(e,t)}},purchase:{record:function(e,t,r,o,n,a,i){s.ga.recordPurchase(e,t,r,o,n,a,i)}},tracks:{recordEvent:function(e,t){t=t||{},0===e.indexOf("akismet_")||0===e.indexOf("jetpack_")?(a&&(n("- Super Props: %o",a),t=Object.assign(t,a)),n('Record event "%s" called with props %s',e,JSON.stringify(t)),window._tkq.push(["recordEvent",e,t])):n('- Event name must be prefixed by "akismet_" or "jetpack_"')},recordJetpackClick:function(e){const t="object"==typeof e?e:{target:e};s.tracks.recordEvent("jetpack_wpa_click",t)},recordPageView:function(e){s.tracks.recordEvent("akismet_page_view",{path:e})},setOptOut:function(e){n("Pushing setOptOut: %o",e),window._tkq.push(["setOptOut",e])}},ga:{initialized:!1,initialize:function(){let e={};s.ga.initialized||(i&&(e={userId:"u-"+i.ID}),window.ga("create",this.googleAnalyticsKey,"auto",e),s.ga.initialized=!0)},recordPageView:function(e,t){s.ga.initialize(),n("Recording Page View ~ [URL: "+e+"] [Title: "+t+"]"),this.googleAnalyticsEnabled&&(window.ga("set","page",e),window.ga("send",{hitType:"pageview",page:e,title:t}))},recordEvent:function(e,t,r,o){s.ga.initialize();let a="Recording Event ~ [Category: "+e+"] [Action: "+t+"]";void 0!==r&&(a+=" [Option Label: "+r+"]"),void 0!==o&&(a+=" [Option Value: "+o+"]"),n(a),this.googleAnalyticsEnabled&&window.ga("send","event",e,t,r,o)},recordPurchase:function(e,t,r,o,n,a,i){window.ga("require","ecommerce"),window.ga("ecommerce:addTransaction",{id:e,revenue:o,currency:i}),window.ga("ecommerce:addItem",{id:e,name:t,sku:r,price:n,quantity:a}),window.ga("ecommerce:send")}},identifyUser:function(){i&&window._tkq.push(["identifyUser",i.ID,i.username])},setProperties:function(e){window._tkq.push(["setProperties",e])},clearedIdentity:function(){window._tkq.push(["clearIdentity"])}},c=s},1112:(e,t,r)=>{"use strict";r.d(t,{A:()=>m});var o=r(6072),n=r.n(o),a=r(6427),i=r(7723),s=r(1113),c=r(3512),l=r(3022),u=r(1609),p=r.n(u),d=r(7560);const __=i.__,f=(0,u.forwardRef)(((e,t)=>{const{children:r,variant:o="primary",size:i="normal",weight:u="bold",icon:f,iconSize:m,disabled:h,isDestructive:v,isLoading:g,isExternalLink:y,className:b,text:k,fullWidth:w,..._}=e,E=(0,l.A)(d.A.button,b,{[d.A.normal]:"normal"===i,[d.A.small]:"small"===i,[d.A.icon]:Boolean(f),[d.A.loading]:g,[d.A.regular]:"regular"===u,[d.A["full-width"]]:w,[d.A["is-icon-button"]]:Boolean(f)&&!r});_.ref=t;const R="normal"===i?20:16,C=y&&p().createElement(p().Fragment,null,p().createElement(s.A,{size:R,icon:c.A,className:d.A["external-icon"]}),p().createElement(a.VisuallyHidden,{as:"span"},/* translators: accessibility text */ -__("(opens in a new tab)","jetpack-videopress-pkg"))),S=y?"_blank":void 0,A=r?.[0]&&null!==r[0]&&"components-tooltip"!==r?.[0]?.props?.className;return p().createElement(a.Button,n()({target:S,variant:o,className:(0,l.A)(E,{"has-text":!!f&&A}),icon:y?void 0:f,iconSize:m,disabled:h,"aria-disabled":h,isDestructive:v,text:k},_),g&&p().createElement(a.Spinner,null),p().createElement("span",null,r),C)}));f.displayName="Button";const m=f},3924:(e,t,r)=>{"use strict";function o(e,t={}){const r={};let o;if("undefined"!=typeof window&&(o=window?.JP_CONNECTION_INITIAL_STATE?.calypsoEnv),0===e.search("https://")){const t=new URL(e);e=`https://${t.host}${t.pathname}`,r.url=encodeURIComponent(e)}else r.source=encodeURIComponent(e);for(const e in t)r[e]=encodeURIComponent(t[e]);!Object.keys(r).includes("site")&&"undefined"!=typeof jetpack_redirects&&Object.hasOwn(jetpack_redirects,"currentSiteRawUrl")&&(r.site=jetpack_redirects.currentBlogID??jetpack_redirects.currentSiteRawUrl),o&&(r.calypso_env=o);return"https://jetpack.com/redirect/?"+Object.keys(r).map((e=>e+"="+r[e])).join("&")}r.d(t,{A:()=>o})},5985:(e,t,r)=>{"use strict";r.d(t,{Sy:()=>o.Sy,d9:()=>o.d9,st:()=>n.A});var o=r(2634),n=(r(2034),r(5595),r(3265),r(3489));r(6923),r(5877),r(335),r(8290)},5877:(e,t,r)=>{"use strict";r(1609)},335:(e,t,r)=>{"use strict";r(6087)},3489:(e,t,r)=>{"use strict";r.d(t,{A:()=>c});var o=r(372),n=r(9384),a=r(6087);const{tracks:i}=o.A,{recordEvent:s}=i,c=({pageViewEventName:e=null,pageViewNamespace:t="jetpack",pageViewSuffix:r="page_view",pageViewEventProperties:c={}}={})=>{const[l,u]=(0,a.useState)(!1),{isUserConnected:p,isRegistered:d,userConnectionData:f={}}=(0,n.useConnection)(),{wpcomUser:{login:m,ID:h}={},blogId:v}=f.currentUser||{},g=(0,a.useCallback)((async(e,t={})=>{p&&h&&m&&s(e,t)}),[p,h,m]);return(0,a.useEffect)((()=>{p&&h&&m&&v&&o.A.initialize(h,m,{blog_id:v})}),[v,h,m,p]),(0,a.useEffect)((()=>{const o=e?`${t}_${e}_${r}`:null;d&&o&&(l||(g(o,c),u(!0)))}),[l,t,e,r,d,c,g]),{recordEvent:g,tracks:i}}},6923:(e,t,r)=>{"use strict";r(7143),r(6087),r(8290)},7105:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>p,E9:()=>u});var o=r(7143),n=r(2634),a=r(4478),i=r(8290);const s="SET_JETPACK_MODULES";function c(e){return u({isLoading:e})}function l(e,t){return{type:"SET_MODULE_UPDATING",name:e,isUpdating:t}}function u(e){return{type:s,options:e}}const p={updateJetpackModuleStatus:function*(e){try{yield l(e.name,!0),yield(0,a.sB)(e);const t=yield(0,a.wz)();return yield u({data:t}),!0}catch(e){const t=(0,o.select)(i.F).getJetpackModules();return yield u(t),!1}finally{yield l(e.name,!1)}},setJetpackModules:u,fetchModules:function*(){if((0,n.Sy)())return!0;try{yield c(!0);const e=yield(0,a.wz)();return yield u({data:e}),!0}catch(e){const t=(0,o.select)(i.F).getJetpackModules();return yield u(t),!1}finally{yield c(!1)}}}},4478:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>l,sB:()=>c,wz:()=>s});var o=r(1455),n=r.n(o);const a="FETCH_JETPACK_MODULES",i="UPDATE_JETPACK_MODULE_STATUS",s=()=>({type:a}),c=e=>({type:i,settings:e}),l={[a]:function(){return n()({path:"/jetpack/v4/module/all",method:"GET"})},[i]:function({settings:e}){return n()({path:`/jetpack/v4/module/${e.name}/active`,method:"POST",data:{active:e.active}})}}},8290:(e,t,r)=>{"use strict";r.d(t,{F:()=>l});var o=r(7143),n=r(7105),a=r(4478),i=r(8862),s=r(2701),c=r(1640);const l="jetpack-modules",u=(0,o.createReduxStore)(l,{reducer:i.A,actions:n.Ay,controls:a.Ay,resolvers:s.A,selectors:c.A});(0,o.register)(u);const p=window?.Initial_State?.getModules||window?.Jetpack_Editor_Initial_State?.modules||null;null!==p&&(0,o.dispatch)(l).setJetpackModules({data:{...p}})},8862:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});const o={isLoading:!1,isUpdating:{},data:{}},n=(e=o,t)=>{switch(t.type){case"SET_JETPACK_MODULES":return{...e,...t.options};case"SET_MODULE_UPDATING":return{...e,isUpdating:{...e.isUpdating,[t.name]:t.isUpdating}}}return e}},2701:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var o=r(7105),n=r(4478);const a={getJetpackModules:function*(){try{const e=yield(0,n.wz)();if(e)return(0,o.E9)({data:e})}catch(e){console.error(e)}}}},1640:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});var o=r(2634);const n={getJetpackModules:e=>e.data,isModuleActive:(e,t)=>(0,o.Sy)()||(e?.data?.[t]?.activated??!1),areModulesLoading:e=>e.isLoading??!1,isModuleUpdating:(e,t)=>e?.isUpdating?.[t]??!1}},3265:(e,t,r)=>{"use strict";var o=r(7723);r(3832),r(8468);const __=o.__;__("Upgrade your plan to use video covers","jetpack-videopress-pkg"),__("Upgrade your plan to upload audio","jetpack-videopress-pkg")},2034:(e,t,r)=>{"use strict";r(2279)},2634:(e,t,r)=>{"use strict";function o(){return"object"==typeof window&&"string"==typeof window._currentSiteType?window._currentSiteType:null}function n(){return"simple"===o()}function a(){return"atomic"===o()}r.d(t,{Sy:()=>n,d9:()=>a})},5595:(e,t,r)=>{"use strict";r(6072),r(9491)},9079:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var o=r(6427),n=r(7723),a=r(9152);const __=n.__;function i({onConnect:e,isModuleActive:t,isConnected:r,isConnecting:n}){if(r&&t)return null;const i=r&&!t;let s=__("Connect Jetpack","jetpack-videopress-pkg");n&&(s=__("Redirecting…","jetpack-videopress-pkg"));let c=__("Activate VideoPress","jetpack-videopress-pkg");n&&(c=__("Activating…","jetpack-videopress-pkg"));const l=__("Connect your account to continue using VideoPress","jetpack-videopress-pkg"),u=__("Enable Jetpack module to continue using VideoPress","jetpack-videopress-pkg");return React.createElement(a.A,{action:React.createElement(o.Button,{variant:"primary",onClick:e,disabled:n,isBusy:n},i?c:s),icon:""},i?u:l)}},9152:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var o=r(6427),n=r(311),a=r(1113);function i({icon:e=n.A,action:t,children:r,isLoading:i}){return React.createElement("div",{className:"block-banner"},e&&React.createElement(a.A,{icon:e}),React.createElement("div",{className:"block-banner__content"},r),i&&React.createElement(o.Spinner,null),t&&React.createElement("div",{className:"block-banner__action"},t))}},8226:(e,t,r)=>{"use strict";r.d(t,{A:()=>u});var o=r(4715),n=r(6427),a=r(9491),i=r(6087),s=r(7723),c=r(8770),l=r(8894);const __=s.__;function u({clientId:e,attributes:t,setAttributes:r}){const{useAverageColor:s,seekbarColor:u,seekbarLoadingColor:p,seekbarPlayedColor:d}=t,f={seekbarPlayedColor:d,seekbarLoadingColor:p,seekbarColor:u},[m,h]=(0,i.useState)(f),v=(0,a.useDebounce)((e=>{r(e)}),2e3),g=(0,i.useCallback)((e=>{h((t=>({...t,...e}))),v(e)}),[]),y=(0,i.useCallback)((()=>{h({}),r({useAverageColor:!0,seekbarColor:"",seekbarLoadingColor:"",seekbarPlayedColor:""})}),[]);return React.createElement(n.__experimentalToolsPanelItem,{className:"videopress-playback-bar-colors-panel-item",hasValue:()=>!s,label:__("Dynamic color","jetpack-videopress-pkg"),resetAllFilter:y,isShownByDefault:!0,panelId:e,onDeselect:y},React.createElement(n.PanelRow,{className:"videopress-color-panel__title"},__("Playback bar colors","jetpack-videopress-pkg")),React.createElement(n.ToggleControl,{label:__("Dynamic color","jetpack-videopress-pkg"),help:React.createElement(React.Fragment,null,__("Playback bar colors adapt to the video as it plays.","jetpack-videopress-pkg"),React.createElement("img",{className:"videopress-dynamic-color-example",src:(0,c.A)(l),alt:__("Dynamic colors example","jetpack-videopress-pkg")})),onChange:e=>r({useAverageColor:e}),checked:s,__nextHasNoMarginBottom:!0}),!s&&React.createElement(o.PanelColorSettings,{className:"videopress-color-panel",opened:!s,showTitle:!1,colorSettings:[{label:__("Main","jetpack-videopress-pkg"),showTitle:!0,value:m.seekbarColor,onChange:e=>g({seekbarColor:e})},{label:__("Loaded","jetpack-videopress-pkg"),showTitle:!0,value:m.seekbarLoadingColor,onChange:e=>g({seekbarLoadingColor:e})},{label:__("Progress","jetpack-videopress-pkg"),showTitle:!0,value:m.seekbarPlayedColor,onChange:e=>g({seekbarPlayedColor:e})}]}))}},917:(e,t,r)=>{"use strict";r.d(t,{A:()=>u});var o=r(6427),n=r(6087),a=r(7723),i=r(6151),s=r(2843),c=r(2439);const __=a.__,l=31;function u({filename:e,chapter:t,isAutoGeneratedChapter:r,attributes:a,setAttributes:u,isRequestingVideoData:p,updateError:d,videoBelongToSite:f}){const{title:m,description:h}=a,{hasIncompleteChapters:v}=(0,c.A)(h),g=h?.length?h.split("\n").map((e=>Math.ceil(e.length/l)||1)).reduce(((e,t)=>e+t),0):4,y=Math.min(12,Math.max(g,4)),b=v?null:React.createElement(i.A,null),k=!!t&&!r;return React.createElement(o.PanelBody,{title:__("Details","jetpack-videopress-pkg")},!f&&React.createElement(o.Notice,{status:"warning",isDismissible:!1,className:"not-belong-to-site-notice"},__("This video is not owned by this site. You can still embed it and customize the player, but you won’t be able to edit the video.","jetpack-videopress-pkg")),React.createElement(o.TextControl,{label:__("Title","jetpack-videopress-pkg"),value:m,placeholder:e?.length?`${e} video`:__("Video title","jetpack-videopress-pkg"),onChange:e=>u({title:e}),disabled:p||!!d||!f,__nextHasNoMarginBottom:!0}),React.createElement(o.TextareaControl,{label:__("Description","jetpack-videopress-pkg"),value:h,placeholder:__("Video description","jetpack-videopress-pkg"),onChange:e=>u({description:e}),rows:y,disabled:p||!!d||!f,help:b,__nextHasNoMarginBottom:!0}),!k&&v&&React.createElement(s.A,{className:"incomplete-chapters-notice"}),k&&React.createElement(o.Notice,{status:"success",className:"learn-how-notice",isDismissible:!1},React.createElement("p",{className:"learn-how-notice__message"},(0,n.createInterpolateElement)(__("You already have chapter information on an attached VTT file, so adding chapters to the description will not change the original ones. Learn more","jetpack-videopress-pkg"),{link:React.createElement(o.ExternalLink,{href:"https://jetpack.com/support/jetpack-videopress/jetpack-videopress-customizing-your-videos/#adding-subtitles-captions-or-chapters-within-a-video"})}))),!!d&&React.createElement(o.Notice,{status:"error",className:"details-panel__error",isDismissible:!1},__("Error updating the video details.","jetpack-videopress-pkg")))}},6592:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var o=r(6427),n=r(7723);const __=n.__;function a({isOpen:e,onClose:t}){return e?React.createElement(o.Modal,{title:__("Chapters in VideoPress","jetpack-videopress-pkg"),isDismissible:!1,className:"learn-how-modal",onRequestClose:t},React.createElement("p",null,__("Chapters are a great way to split up longer videos and organize them into different sections.","jetpack-videopress-pkg")),React.createElement("p",null,__("They allow your visitors to see what each section is about and skip to their favorite parts.","jetpack-videopress-pkg")),React.createElement("p",{className:"learn-how-modal__heading"},__("How to add Chapters to your VideoPress videos","jetpack-videopress-pkg")),React.createElement("ol",null,React.createElement("li",null,__("In the Description, add a list of timestamps and titles.","jetpack-videopress-pkg")),React.createElement("li",null,__("Make sure that the first timestamp starts with 00:00.","jetpack-videopress-pkg")),React.createElement("li",null,__("Add at least three chapters entries and as many as you need.","jetpack-videopress-pkg")),React.createElement("li",null,__("Add your chapters entries in consecutive order, with at least 10-second intervals between each.","jetpack-videopress-pkg"))),React.createElement("p",{className:"learn-how-modal__heading"},__("Example","jetpack-videopress-pkg")),React.createElement("p",null,__("00:00 Intro","jetpack-videopress-pkg")),React.createElement("p",null,__("00:24 Mountains arise","jetpack-videopress-pkg")),React.createElement("p",null,__("02:38 Coming back home","jetpack-videopress-pkg")),React.createElement("p",null,__("03:04 Credits","jetpack-videopress-pkg")),React.createElement("div",{className:"learn-how-modal__buttons"},React.createElement(o.Button,{className:"learn-how-modal__button",onClick:t,variant:"primary"},__("Got it, thanks","jetpack-videopress-pkg")))):null}},3534:(e,t,r)=>{"use strict";r.d(t,{K:()=>n,a:()=>a});var o=r(6427);const n=React.createElement(o.SVG,{width:"29",height:"21",viewBox:"0 0 29 21",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},React.createElement(o.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M2.79037 0.59375C4.0363 0.59375 5.13102 1.41658 5.47215 2.60947L8.8452 14.4044C8.8486 14.4164 8.85411 14.4273 8.86124 14.4368L12.8572 0.59375H15.0927H21.2721C25.6033 0.59375 28.5066 3.39892 28.5066 7.64565C28.5066 11.9411 25.5272 14.6196 21.0818 14.6196H18.1499H14.3719L13.6379 16.8813C12.9796 18.9095 11.0827 20.2839 8.94152 20.2839C6.80035 20.2839 4.90341 18.9095 4.24517 16.8813L0.137069 4.22276C-0.444671 2.43022 0.898038 0.59375 2.79037 0.59375ZM15.7374 10.4119H20.0156C21.8718 10.4119 22.9856 9.35018 22.9856 7.64565C22.9856 5.93137 21.8718 4.91839 20.0156 4.91839H17.5202L15.7374 10.4119Z"})),a=React.createElement(o.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},React.createElement(o.Path,{d:"M7 15.5H17V17H7V15.5Z"}),React.createElement(o.Path,{d:"M17 12.5H7V14H17V12.5Z"}),React.createElement(o.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M18.7 3H5.3C4 3 3 4 3 5.3V18.7C3 20 4 21 5.3 21H18.7C20 21 21 20 21 18.7V5.3C21 4 20 3 18.7 3ZM19.5 18.7C19.5 19.1 19.1 19.5 18.7 19.5H5.3C4.9 19.5 4.5 19.1 4.5 18.7V5.3C4.5 4.9 4.9 4.5 5.3 4.5H18.7C19.1 4.5 19.5 4.9 19.5 5.3V18.7Z"}))},396:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var o=r(6427),n=r(6087),a=r(7723),i=r(2604);const __=a.__;function s({attributes:e,setAttributes:t}){const{autoplay:r,loop:a,muted:s,controls:c,playsinline:l,preload:u,posterData:p}=e,d=p?.previewOnHover,f=(0,n.useCallback)(((e,r)=>o=>{t({[e]:r??o})}),[t]),m=()=>d?React.createElement("span",{className:i.A["help-message"]},__("Autoplay is turned off as the preview on hover is active.","jetpack-videopress-pkg")):React.createElement(React.Fragment,null,React.createElement("span",{className:i.A["help-message"]},__("Start playing the video as soon as the page loads.","jetpack-videopress-pkg")),r&&React.createElement("span",{className:i.A["help-message"]},__("Note: Autoplaying videos may cause usability issues for some visitors.","jetpack-videopress-pkg")));return React.createElement(o.PanelBody,{title:__("Playback","jetpack-videopress-pkg")},React.createElement(o.ToggleControl,{label:__("Autoplay","jetpack-videopress-pkg"),onChange:f("autoplay"),checked:r&&!d,disabled:d,help:React.createElement(m,null),__nextHasNoMarginBottom:!0}),React.createElement(o.ToggleControl,{label:__("Loop","jetpack-videopress-pkg"),onChange:f("loop"),checked:a,help:__("Restarts the video when it reaches the end.","jetpack-videopress-pkg"),__nextHasNoMarginBottom:!0}),React.createElement(o.ToggleControl,{label:__("Muted","jetpack-videopress-pkg"),onChange:f("muted"),checked:s,__nextHasNoMarginBottom:!0}),React.createElement(o.ToggleControl,{label:__("Show Controls","jetpack-videopress-pkg"),onChange:f("controls"),checked:c,help:__("Display the video playback controls.","jetpack-videopress-pkg"),__nextHasNoMarginBottom:!0}),React.createElement(o.ToggleControl,{label:__("Play Inline","jetpack-videopress-pkg"),onChange:f("playsinline"),checked:l,help:__("Play the video inline instead of full-screen on mobile devices.","jetpack-videopress-pkg"),__nextHasNoMarginBottom:!0}),React.createElement(o.ToggleControl,{label:__("Preload Metadata","jetpack-videopress-pkg"),onChange:f("preload","metadata"===u?"none":"metadata"),checked:"metadata"===u,help:__("Preload the video metadata when the page is loaded.","jetpack-videopress-pkg"),__nextHasNoMarginBottom:!0}),(0,n.createInterpolateElement)(__("Send us your VideoPress feedback","jetpack-videopress-pkg"),{a:React.createElement(o.ExternalLink,{href:"https://automattic.survey.fm/videopress-feedback"})}))}},7137:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var o=r(4715),n=r(6427),a=r(6087),i=r(7723),s=r(4954);const __=i.__,c=[];if(window.videopressAjax){const e=new Blob([`var videopressAjax = ${JSON.stringify({...window.videopressAjax,context:"sandbox"})};`],{type:"text/javascript"});c.push(URL.createObjectURL(e),window.videopressAjax.bridgeUrl)}function l({showCaption:e,html:t,isSelected:r,attributes:i,setAttributes:l,preview:u,isRequestingEmbedPreview:p}){const d=(0,a.useRef)(),f=(0,a.useRef)(),{maxWidth:m,caption:h,videoRatio:v}=i,[g,y]=(0,a.useState)(400);function b(){y(f.current.offsetWidth*v/100+12)}const[k,w]=(0,a.useState)(!1);(0,a.useEffect)((()=>{f?.current&&(u.html?setTimeout((()=>{y("auto")}),250):v&&(b(),setTimeout((()=>{b()}),0),w(!1)))}),[f,v,u]),(0,a.useEffect)((()=>{w(!!t)}),[t]);const _=(0,a.useCallback)((e=>{const{data:t}=e||{},{event:r}=t;"videopress_loading_state"===r&&w("loaded"===t?.state)}),[]);(0,a.useEffect)((()=>{const e=(0,s.Q)(f);if(e&&!p)return e.addEventListener("message",_),()=>e?.removeEventListener("message",_)}),[f,p]);const{atTime:E,previewOnHover:R,previewAtTime:C,previewLoopDuration:S,type:A}=i.posterData;let P;P="video-frame"===A&&R?C:E,(0,s.A)(f,p,{initialTimePosition:P,autoplay:i.autoplay,wrapperElement:d?.current,previewOnHover:R?{atTime:C,duration:S}:void 0}),(0,a.useEffect)((()=>{p&&b()}),[k,p]);const j=(0,a.useCallback)(((e,t,r)=>{let o=getComputedStyle(r).width;if(null!==r.parentElement){o===getComputedStyle(r.parentElement).width&&(o="100%")}y("auto"),l({maxWidth:o})}),[l]),x={},T=(0,a.useCallback)((e=>{e&&!h&&e.focus()}),[h]);return"auto"!==g&&(x.height=g||200,x.paddingBottom=g?12:0),React.createElement("figure",{ref:d,className:"jetpack-videopress-player"},React.createElement(n.ResizableBox,{enable:{top:!1,bottom:!1,left:!1,right:!0},maxWidth:"100%",size:{width:m,height:"auto"},style:{marginRight:"auto"},onResizeStop:j,onResizeStart:()=>y("auto")},!r&&React.createElement("div",{className:"jetpack-videopress-player__overlay"}),React.createElement("div",{className:"jetpack-videopress-player__wrapper",ref:f,style:x},React.createElement(React.Fragment,null,!p&&React.createElement(n.SandBox,{html:t,scripts:c}),!k&&React.createElement("div",{className:"jetpack-videopress-player__loading"},__("Loading…","jetpack-videopress-pkg"))))),e&&(!o.RichText.isEmpty(h)||r)&&React.createElement(o.RichText,{identifier:"caption",tagName:"figcaption","aria-label":__("Video caption text","jetpack-videopress-pkg"),placeholder:__("Add caption","jetpack-videopress-pkg"),value:h,onChange:e=>l({caption:e}),inlineToolbar:!0,ref:T}))}window?.videoPressEditorState?.playerBridgeUrl&&c.push(window.videoPressEditorState.playerBridgeUrl)},4749:(e,t,r)=>{"use strict";r.d(t,{A:()=>p,z:()=>u});var o=r(4715),n=r(6427),a=r(6087),i=r(7723),s=r(5938),c=r(5855),l=r(9069);const __=i.__;function u({poster:e,className:t}){const r=(0,a.createInterpolateElement)(__("No custom Poster image selected.You can upload or select an image from your media library to override the default video image.","jetpack-videopress-pkg"),{help:React.createElement("p",{className:"poster-panel-control__help"})}),o=(0,a.createInterpolateElement)(__("You are currently overriding the default Poster image.Remove it if you want to use the default image generated by VideoPress.","jetpack-videopress-pkg"),{help:React.createElement("p",{className:"poster-panel-control__help"})});return React.createElement("div",{className:t},e?o:r)}function p({attributes:e,setAttributes:t,clientId:r}){const{poster:a}=e;return React.createElement(n.Dropdown,{contentClassName:"dropdown-content",renderToggle:({isOpen:e,onToggle:t})=>React.createElement(n.ToolbarButton,{label:__("Poster image","jetpack-videopress-pkg"),showTooltip:!0,"aria-expanded":e,"aria-haspopup":"true",onClick:t,icon:s.A}),renderContent:({onClose:e})=>{const p=`video-block__poster-image-description-${r}`;return React.createElement(React.Fragment,null,React.createElement(n.NavigableMenu,{className:"poster-image-block-control__wrapper"},React.createElement(o.MediaUploadCheck,null,React.createElement(o.MediaUpload,{title:__("Select Poster Image","jetpack-videopress-pkg"),onSelect:r=>{(e=>{t({poster:e.url})})(r),e()},allowedTypes:l.o,render:({open:e})=>React.createElement(n.MenuItem,{icon:s.A,onClick:e,"aria-describedby":p},__("Open Media Library","jetpack-videopress-pkg"),React.createElement("p",{id:p,hidden:!0},a?(0,i.sprintf)(/* translators: Placeholder is an image URL. */ +__("(opens in a new tab)","jetpack-videopress-pkg"))),S=y?"_blank":void 0,A=r?.[0]&&null!==r[0]&&"components-tooltip"!==r?.[0]?.props?.className;return p().createElement(a.Button,n()({target:S,variant:o,className:(0,l.A)(E,{"has-text":!!f&&A}),icon:y?void 0:f,iconSize:m,disabled:h,"aria-disabled":h,isDestructive:v,text:k},_),g&&p().createElement(a.Spinner,null),p().createElement("span",null,r),C)}));f.displayName="Button";const m=f},3924:(e,t,r)=>{"use strict";function o(e,t={}){const r={};let o;if("undefined"!=typeof window&&(o=window?.JP_CONNECTION_INITIAL_STATE?.calypsoEnv),0===e.search("https://")){const t=new URL(e);e=`https://${t.host}${t.pathname}`,r.url=encodeURIComponent(e)}else r.source=encodeURIComponent(e);for(const e in t)r[e]=encodeURIComponent(t[e]);!Object.keys(r).includes("site")&&"undefined"!=typeof jetpack_redirects&&Object.hasOwn(jetpack_redirects,"currentSiteRawUrl")&&(r.site=jetpack_redirects.currentBlogID??jetpack_redirects.currentSiteRawUrl),o&&(r.calypso_env=o);return"https://jetpack.com/redirect/?"+Object.keys(r).map((e=>e+"="+r[e])).join("&")}r.d(t,{A:()=>o})},5985:(e,t,r)=>{"use strict";r.d(t,{Sy:()=>o.Sy,d9:()=>o.d9,st:()=>n.A});var o=r(2634),n=(r(2034),r(5595),r(3265),r(3489));r(6923),r(5877),r(335),r(8290)},5877:(e,t,r)=>{"use strict";r(1609)},335:(e,t,r)=>{"use strict";r(6087)},3489:(e,t,r)=>{"use strict";r.d(t,{A:()=>c});var o=r(372),n=r(9384),a=r(6087);const{tracks:i}=o.A,{recordEvent:s}=i,c=({pageViewEventName:e=null,pageViewNamespace:t="jetpack",pageViewSuffix:r="page_view",pageViewEventProperties:c={}}={})=>{const[l,u]=(0,a.useState)(!1),{isUserConnected:p,isRegistered:d,userConnectionData:f={}}=(0,n.useConnection)(),{wpcomUser:{login:m,ID:h}={},blogId:v}=f.currentUser||{},g=(0,a.useCallback)((async(e,t={})=>{p&&h&&m&&s(e,t)}),[p,h,m]);return(0,a.useEffect)((()=>{p&&h&&m&&v&&o.A.initialize(h,m,{blog_id:v})}),[v,h,m,p]),(0,a.useEffect)((()=>{const o=e?`${t}_${e}_${r}`:null;d&&o&&(l||(g(o,c),u(!0)))}),[l,t,e,r,d,c,g]),{recordEvent:g,tracks:i}}},6923:(e,t,r)=>{"use strict";r(7143),r(6087),r(8290)},7105:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>p,E9:()=>u});var o=r(7143),n=r(2634),a=r(4478),i=r(8290);const s="SET_JETPACK_MODULES";function c(e){return u({isLoading:e})}function l(e,t){return{type:"SET_MODULE_UPDATING",name:e,isUpdating:t}}function u(e){return{type:s,options:e}}const p={updateJetpackModuleStatus:function*(e){try{yield l(e.name,!0),yield(0,a.sB)(e);const t=yield(0,a.wz)();return yield u({data:t}),!0}catch{const e=(0,o.select)(i.F).getJetpackModules();return yield u(e),!1}finally{yield l(e.name,!1)}},setJetpackModules:u,fetchModules:function*(){if((0,n.Sy)())return!0;try{yield c(!0);const e=yield(0,a.wz)();return yield u({data:e}),!0}catch{const e=(0,o.select)(i.F).getJetpackModules();return yield u(e),!1}finally{yield c(!1)}}}},4478:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>l,sB:()=>c,wz:()=>s});var o=r(1455),n=r.n(o);const a="FETCH_JETPACK_MODULES",i="UPDATE_JETPACK_MODULE_STATUS",s=()=>({type:a}),c=e=>({type:i,settings:e}),l={[a]:function(){return n()({path:"/jetpack/v4/module/all",method:"GET"})},[i]:function({settings:e}){return n()({path:`/jetpack/v4/module/${e.name}/active`,method:"POST",data:{active:e.active}})}}},8290:(e,t,r)=>{"use strict";r.d(t,{F:()=>l});var o=r(7143),n=r(7105),a=r(4478),i=r(8862),s=r(2701),c=r(1640);const l="jetpack-modules",u=(0,o.createReduxStore)(l,{reducer:i.A,actions:n.Ay,controls:a.Ay,resolvers:s.A,selectors:c.A});(0,o.register)(u);const p=window?.Initial_State?.getModules||window?.Jetpack_Editor_Initial_State?.modules||null;null!==p&&(0,o.dispatch)(l).setJetpackModules({data:{...p}})},8862:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});const o={isLoading:!1,isUpdating:{},data:{}},n=(e=o,t)=>{switch(t.type){case"SET_JETPACK_MODULES":return{...e,...t.options};case"SET_MODULE_UPDATING":return{...e,isUpdating:{...e.isUpdating,[t.name]:t.isUpdating}}}return e}},2701:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var o=r(7105),n=r(4478);const a={getJetpackModules:function*(){try{const e=yield(0,n.wz)();if(e)return(0,o.E9)({data:e})}catch(e){console.error(e)}}}},1640:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});var o=r(2634);const n={getJetpackModules:e=>e.data,isModuleActive:(e,t)=>(0,o.Sy)()||(e?.data?.[t]?.activated??!1),areModulesLoading:e=>e.isLoading??!1,isModuleUpdating:(e,t)=>e?.isUpdating?.[t]??!1}},3265:(e,t,r)=>{"use strict";var o=r(7723);r(3832),r(8468);const __=o.__;__("Upgrade your plan to use video covers","jetpack-videopress-pkg"),__("Upgrade your plan to upload audio","jetpack-videopress-pkg")},2034:(e,t,r)=>{"use strict";r(2279)},2634:(e,t,r)=>{"use strict";function o(){return"object"==typeof window&&"string"==typeof window._currentSiteType?window._currentSiteType:null}function n(){return"simple"===o()}function a(){return"atomic"===o()}r.d(t,{Sy:()=>n,d9:()=>a})},5595:(e,t,r)=>{"use strict";r(6072),r(9491)},9079:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var o=r(6427),n=r(7723),a=r(9152);const __=n.__;function i({onConnect:e,isModuleActive:t,isConnected:r,isConnecting:n}){if(r&&t)return null;const i=r&&!t;let s=__("Connect Jetpack","jetpack-videopress-pkg");n&&(s=__("Redirecting…","jetpack-videopress-pkg"));let c=__("Activate VideoPress","jetpack-videopress-pkg");n&&(c=__("Activating…","jetpack-videopress-pkg"));const l=__("Connect your account to continue using VideoPress","jetpack-videopress-pkg"),u=__("Enable Jetpack module to continue using VideoPress","jetpack-videopress-pkg");return React.createElement(a.A,{action:React.createElement(o.Button,{variant:"primary",onClick:e,disabled:n,isBusy:n},i?c:s),icon:""},i?u:l)}},9152:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var o=r(6427),n=r(311),a=r(1113);function i({icon:e=n.A,action:t,children:r,isLoading:i}){return React.createElement("div",{className:"block-banner"},e&&React.createElement(a.A,{icon:e}),React.createElement("div",{className:"block-banner__content"},r),i&&React.createElement(o.Spinner,null),t&&React.createElement("div",{className:"block-banner__action"},t))}},8226:(e,t,r)=>{"use strict";r.d(t,{A:()=>u});var o=r(4715),n=r(6427),a=r(9491),i=r(6087),s=r(7723),c=r(8770),l=r(8894);const __=s.__;function u({clientId:e,attributes:t,setAttributes:r}){const{useAverageColor:s,seekbarColor:u,seekbarLoadingColor:p,seekbarPlayedColor:d}=t,f={seekbarPlayedColor:d,seekbarLoadingColor:p,seekbarColor:u},[m,h]=(0,i.useState)(f),v=(0,a.useDebounce)((e=>{r(e)}),2e3),g=(0,i.useCallback)((e=>{h((t=>({...t,...e}))),v(e)}),[]),y=(0,i.useCallback)((()=>{h({}),r({useAverageColor:!0,seekbarColor:"",seekbarLoadingColor:"",seekbarPlayedColor:""})}),[]);return React.createElement(n.__experimentalToolsPanelItem,{className:"videopress-playback-bar-colors-panel-item",hasValue:()=>!s,label:__("Dynamic color","jetpack-videopress-pkg"),resetAllFilter:y,isShownByDefault:!0,panelId:e,onDeselect:y},React.createElement(n.PanelRow,{className:"videopress-color-panel__title"},__("Playback bar colors","jetpack-videopress-pkg")),React.createElement(n.ToggleControl,{label:__("Dynamic color","jetpack-videopress-pkg"),help:React.createElement(React.Fragment,null,__("Playback bar colors adapt to the video as it plays.","jetpack-videopress-pkg"),React.createElement("img",{className:"videopress-dynamic-color-example",src:(0,c.A)(l),alt:__("Dynamic colors example","jetpack-videopress-pkg")})),onChange:e=>r({useAverageColor:e}),checked:s,__nextHasNoMarginBottom:!0}),!s&&React.createElement(o.PanelColorSettings,{className:"videopress-color-panel",opened:!s,showTitle:!1,colorSettings:[{label:__("Main","jetpack-videopress-pkg"),showTitle:!0,value:m.seekbarColor,onChange:e=>g({seekbarColor:e})},{label:__("Loaded","jetpack-videopress-pkg"),showTitle:!0,value:m.seekbarLoadingColor,onChange:e=>g({seekbarLoadingColor:e})},{label:__("Progress","jetpack-videopress-pkg"),showTitle:!0,value:m.seekbarPlayedColor,onChange:e=>g({seekbarPlayedColor:e})}]}))}},917:(e,t,r)=>{"use strict";r.d(t,{A:()=>u});var o=r(6427),n=r(6087),a=r(7723),i=r(6151),s=r(2843),c=r(2439);const __=a.__,l=31;function u({filename:e,chapter:t,isAutoGeneratedChapter:r,attributes:a,setAttributes:u,isRequestingVideoData:p,updateError:d,videoBelongToSite:f}){const{title:m,description:h}=a,{hasIncompleteChapters:v}=(0,c.A)(h),g=h?.length?h.split("\n").map((e=>Math.ceil(e.length/l)||1)).reduce(((e,t)=>e+t),0):4,y=Math.min(12,Math.max(g,4)),b=v?null:React.createElement(i.A,null),k=!!t&&!r;return React.createElement(o.PanelBody,{title:__("Details","jetpack-videopress-pkg")},!f&&React.createElement(o.Notice,{status:"warning",isDismissible:!1,className:"not-belong-to-site-notice"},__("This video is not owned by this site. You can still embed it and customize the player, but you won’t be able to edit the video.","jetpack-videopress-pkg")),React.createElement(o.TextControl,{label:__("Title","jetpack-videopress-pkg"),value:m,placeholder:e?.length?`${e} video`:__("Video title","jetpack-videopress-pkg"),onChange:e=>u({title:e}),disabled:p||!!d||!f,__nextHasNoMarginBottom:!0}),React.createElement(o.TextareaControl,{label:__("Description","jetpack-videopress-pkg"),value:h,placeholder:__("Video description","jetpack-videopress-pkg"),onChange:e=>u({description:e}),rows:y,disabled:p||!!d||!f,help:b,__nextHasNoMarginBottom:!0}),!k&&v&&React.createElement(s.A,{className:"incomplete-chapters-notice"}),k&&React.createElement(o.Notice,{status:"success",className:"learn-how-notice",isDismissible:!1},React.createElement("p",{className:"learn-how-notice__message"},(0,n.createInterpolateElement)(__("You already have chapter information on an attached VTT file, so adding chapters to the description will not change the original ones. Learn more","jetpack-videopress-pkg"),{link:React.createElement(o.ExternalLink,{href:"https://jetpack.com/support/jetpack-videopress/jetpack-videopress-customizing-your-videos/#adding-subtitles-captions-or-chapters-within-a-video"})}))),!!d&&React.createElement(o.Notice,{status:"error",className:"details-panel__error",isDismissible:!1},__("Error updating the video details.","jetpack-videopress-pkg")))}},6592:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var o=r(6427),n=r(7723);const __=n.__;function a({isOpen:e,onClose:t}){return e?React.createElement(o.Modal,{title:__("Chapters in VideoPress","jetpack-videopress-pkg"),isDismissible:!1,className:"learn-how-modal",onRequestClose:t},React.createElement("p",null,__("Chapters are a great way to split up longer videos and organize them into different sections.","jetpack-videopress-pkg")),React.createElement("p",null,__("They allow your visitors to see what each section is about and skip to their favorite parts.","jetpack-videopress-pkg")),React.createElement("p",{className:"learn-how-modal__heading"},__("How to add Chapters to your VideoPress videos","jetpack-videopress-pkg")),React.createElement("ol",null,React.createElement("li",null,__("In the Description, add a list of timestamps and titles.","jetpack-videopress-pkg")),React.createElement("li",null,__("Make sure that the first timestamp starts with 00:00.","jetpack-videopress-pkg")),React.createElement("li",null,__("Add at least three chapters entries and as many as you need.","jetpack-videopress-pkg")),React.createElement("li",null,__("Add your chapters entries in consecutive order, with at least 10-second intervals between each.","jetpack-videopress-pkg"))),React.createElement("p",{className:"learn-how-modal__heading"},__("Example","jetpack-videopress-pkg")),React.createElement("p",null,__("00:00 Intro","jetpack-videopress-pkg")),React.createElement("p",null,__("00:24 Mountains arise","jetpack-videopress-pkg")),React.createElement("p",null,__("02:38 Coming back home","jetpack-videopress-pkg")),React.createElement("p",null,__("03:04 Credits","jetpack-videopress-pkg")),React.createElement("div",{className:"learn-how-modal__buttons"},React.createElement(o.Button,{className:"learn-how-modal__button",onClick:t,variant:"primary"},__("Got it, thanks","jetpack-videopress-pkg")))):null}},3534:(e,t,r)=>{"use strict";r.d(t,{K:()=>n,a:()=>a});var o=r(6427);const n=React.createElement(o.SVG,{width:"29",height:"21",viewBox:"0 0 29 21",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},React.createElement(o.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M2.79037 0.59375C4.0363 0.59375 5.13102 1.41658 5.47215 2.60947L8.8452 14.4044C8.8486 14.4164 8.85411 14.4273 8.86124 14.4368L12.8572 0.59375H15.0927H21.2721C25.6033 0.59375 28.5066 3.39892 28.5066 7.64565C28.5066 11.9411 25.5272 14.6196 21.0818 14.6196H18.1499H14.3719L13.6379 16.8813C12.9796 18.9095 11.0827 20.2839 8.94152 20.2839C6.80035 20.2839 4.90341 18.9095 4.24517 16.8813L0.137069 4.22276C-0.444671 2.43022 0.898038 0.59375 2.79037 0.59375ZM15.7374 10.4119H20.0156C21.8718 10.4119 22.9856 9.35018 22.9856 7.64565C22.9856 5.93137 21.8718 4.91839 20.0156 4.91839H17.5202L15.7374 10.4119Z"})),a=React.createElement(o.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},React.createElement(o.Path,{d:"M7 15.5H17V17H7V15.5Z"}),React.createElement(o.Path,{d:"M17 12.5H7V14H17V12.5Z"}),React.createElement(o.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M18.7 3H5.3C4 3 3 4 3 5.3V18.7C3 20 4 21 5.3 21H18.7C20 21 21 20 21 18.7V5.3C21 4 20 3 18.7 3ZM19.5 18.7C19.5 19.1 19.1 19.5 18.7 19.5H5.3C4.9 19.5 4.5 19.1 4.5 18.7V5.3C4.5 4.9 4.9 4.5 5.3 4.5H18.7C19.1 4.5 19.5 4.9 19.5 5.3V18.7Z"}))},396:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var o=r(6427),n=r(6087),a=r(7723),i=r(2604);const __=a.__;function s({attributes:e,setAttributes:t}){const{autoplay:r,loop:a,muted:s,controls:c,playsinline:l,preload:u,posterData:p}=e,d=p?.previewOnHover,f=(0,n.useCallback)(((e,r)=>o=>{t({[e]:r??o})}),[t]),m=()=>d?React.createElement("span",{className:i.A["help-message"]},__("Autoplay is turned off as the preview on hover is active.","jetpack-videopress-pkg")):React.createElement(React.Fragment,null,React.createElement("span",{className:i.A["help-message"]},__("Start playing the video as soon as the page loads.","jetpack-videopress-pkg")),r&&React.createElement("span",{className:i.A["help-message"]},__("Note: Autoplaying videos may cause usability issues for some visitors.","jetpack-videopress-pkg")));return React.createElement(o.PanelBody,{title:__("Playback","jetpack-videopress-pkg")},React.createElement(o.ToggleControl,{label:__("Autoplay","jetpack-videopress-pkg"),onChange:f("autoplay"),checked:r&&!d,disabled:d,help:React.createElement(m,null),__nextHasNoMarginBottom:!0}),React.createElement(o.ToggleControl,{label:__("Loop","jetpack-videopress-pkg"),onChange:f("loop"),checked:a,help:__("Restarts the video when it reaches the end.","jetpack-videopress-pkg"),__nextHasNoMarginBottom:!0}),React.createElement(o.ToggleControl,{label:__("Muted","jetpack-videopress-pkg"),onChange:f("muted"),checked:s,__nextHasNoMarginBottom:!0}),React.createElement(o.ToggleControl,{label:__("Show Controls","jetpack-videopress-pkg"),onChange:f("controls"),checked:c,help:__("Display the video playback controls.","jetpack-videopress-pkg"),__nextHasNoMarginBottom:!0}),React.createElement(o.ToggleControl,{label:__("Play Inline","jetpack-videopress-pkg"),onChange:f("playsinline"),checked:l,help:__("Play the video inline instead of full-screen on mobile devices.","jetpack-videopress-pkg"),__nextHasNoMarginBottom:!0}),React.createElement(o.ToggleControl,{label:__("Preload Metadata","jetpack-videopress-pkg"),onChange:f("preload","metadata"===u?"none":"metadata"),checked:"metadata"===u,help:__("Preload the video metadata when the page is loaded.","jetpack-videopress-pkg"),__nextHasNoMarginBottom:!0}),(0,n.createInterpolateElement)(__("Send us your VideoPress feedback","jetpack-videopress-pkg"),{a:React.createElement(o.ExternalLink,{href:"https://automattic.survey.fm/videopress-feedback"})}))}},7137:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var o=r(4715),n=r(6427),a=r(6087),i=r(7723),s=r(4954);const __=i.__,c=[];if(window.videopressAjax){const e=new Blob([`var videopressAjax = ${JSON.stringify({...window.videopressAjax,context:"sandbox"})};`],{type:"text/javascript"});c.push(URL.createObjectURL(e),window.videopressAjax.bridgeUrl)}function l({showCaption:e,html:t,isSelected:r,attributes:i,setAttributes:l,preview:u,isRequestingEmbedPreview:p}){const d=(0,a.useRef)(),f=(0,a.useRef)(),{maxWidth:m,caption:h,videoRatio:v}=i,[g,y]=(0,a.useState)(400);function b(){y(f.current.offsetWidth*v/100+12)}const[k,w]=(0,a.useState)(!1);(0,a.useEffect)((()=>{f?.current&&(u.html?setTimeout((()=>{y("auto")}),250):v&&(b(),setTimeout((()=>{b()}),0),w(!1)))}),[f,v,u]),(0,a.useEffect)((()=>{w(!!t)}),[t]);const _=(0,a.useCallback)((e=>{const{data:t}=e||{},{event:r}=t;"videopress_loading_state"===r&&w("loaded"===t?.state)}),[]);(0,a.useEffect)((()=>{const e=(0,s.Q)(f);if(e&&!p)return e.addEventListener("message",_),()=>e?.removeEventListener("message",_)}),[f,p]);const{atTime:E,previewOnHover:R,previewAtTime:C,previewLoopDuration:S,type:A}=i.posterData;let P;P="video-frame"===A&&R?C:E,(0,s.A)(f,p,{initialTimePosition:P,autoplay:i.autoplay,wrapperElement:d?.current,previewOnHover:R?{atTime:C,duration:S}:void 0}),(0,a.useEffect)((()=>{p&&b()}),[k,p]);const j=(0,a.useCallback)(((e,t,r)=>{let o=getComputedStyle(r).width;if(null!==r.parentElement){o===getComputedStyle(r.parentElement).width&&(o="100%")}y("auto"),l({maxWidth:o})}),[l]),x={},T=(0,a.useCallback)((e=>{e&&!h&&e.focus()}),[h]);return"auto"!==g&&(x.height=g||200,x.paddingBottom=g?12:0),React.createElement("figure",{ref:d,className:"jetpack-videopress-player"},React.createElement(n.ResizableBox,{enable:{top:!1,bottom:!1,left:!1,right:!0},maxWidth:"100%",size:{width:m,height:"auto"},style:{marginRight:"auto"},onResizeStop:j,onResizeStart:()=>y("auto")},!r&&React.createElement("div",{className:"jetpack-videopress-player__overlay"}),React.createElement("div",{className:"jetpack-videopress-player__wrapper",ref:f,style:x},React.createElement(React.Fragment,null,!p&&React.createElement(n.SandBox,{html:t,scripts:c}),!k&&React.createElement("div",{className:"jetpack-videopress-player__loading"},__("Loading…","jetpack-videopress-pkg"))))),e&&(!o.RichText.isEmpty(h)||r)&&React.createElement(o.RichText,{identifier:"caption",tagName:"figcaption","aria-label":__("Video caption text","jetpack-videopress-pkg"),placeholder:__("Add caption","jetpack-videopress-pkg"),value:h,onChange:e=>l({caption:e}),inlineToolbar:!0,ref:T}))}window?.videoPressEditorState?.playerBridgeUrl&&c.push(window.videoPressEditorState.playerBridgeUrl)},4749:(e,t,r)=>{"use strict";r.d(t,{A:()=>p,z:()=>u});var o=r(4715),n=r(6427),a=r(6087),i=r(7723),s=r(5938),c=r(5855),l=r(9069);const __=i.__;function u({poster:e,className:t}){const r=(0,a.createInterpolateElement)(__("No custom Poster image selected.You can upload or select an image from your media library to override the default video image.","jetpack-videopress-pkg"),{help:React.createElement("p",{className:"poster-panel-control__help"})}),o=(0,a.createInterpolateElement)(__("You are currently overriding the default Poster image.Remove it if you want to use the default image generated by VideoPress.","jetpack-videopress-pkg"),{help:React.createElement("p",{className:"poster-panel-control__help"})});return React.createElement("div",{className:t},e?o:r)}function p({attributes:e,setAttributes:t,clientId:r}){const{poster:a}=e;return React.createElement(n.Dropdown,{contentClassName:"dropdown-content",renderToggle:({isOpen:e,onToggle:t})=>React.createElement(n.ToolbarButton,{label:__("Poster image","jetpack-videopress-pkg"),showTooltip:!0,"aria-expanded":e,"aria-haspopup":"true",onClick:t,icon:s.A}),renderContent:({onClose:e})=>{const p=`video-block__poster-image-description-${r}`;return React.createElement(React.Fragment,null,React.createElement(n.NavigableMenu,{className:"poster-image-block-control__wrapper"},React.createElement(o.MediaUploadCheck,null,React.createElement(o.MediaUpload,{title:__("Select Poster Image","jetpack-videopress-pkg"),onSelect:r=>{(e=>{t({poster:e.url})})(r),e()},allowedTypes:l.o,render:({open:e})=>React.createElement(n.MenuItem,{icon:s.A,onClick:e,"aria-describedby":p},__("Open Media Library","jetpack-videopress-pkg"),React.createElement("p",{id:p,hidden:!0},a?(0,i.sprintf)(/* translators: Placeholder is an image URL. */ __("The current poster image url is %s","jetpack-videopress-pkg"),a):__("There is no poster image currently selected","jetpack-videopress-pkg")))})),React.createElement(u,{poster:a,className:"current-media"}),!!a&&React.createElement(n.MenuItem,{className:"poster-image-block-control__remove-button",variant:"tertiary",isDestructive:!0,onClick:()=>{t({poster:""}),e()},icon:c.A},__("Remove and use default","jetpack-videopress-pkg"))))}})}},8864:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>S,ZC:()=>k});var o=r(4715),n=r(6427),a=r(6087),i=r(7723),s=r(5938),c=r(5855),l=r(3022),u=r(3685),p=r(9689),d=r(6302),f=r(4967),m=r(4954),h=r(9069),v=r(4749);const __=i.__,g=3e3,y=1e4,b=5e3,k=()=>!!window?.Jetpack_Editor_Initial_State?.available_blocks?.["v6-video-frame-poster"],w=[];if(window.videopressAjax){const e=new Blob([`var videopressAjax = ${JSON.stringify({...window.videopressAjax,context:"sandbox"})};`],{type:"text/javascript"});w.push(URL.createObjectURL(e),window.videopressAjax.bridgeUrl)}function _({clientId:e,attributes:t,setAttributes:r}){const c=`video-block__poster-image-description-${e}`,{poster:l}=t,u=(0,a.useCallback)((e=>{r({poster:e.url,posterData:{...t.posterData,type:"media-library",id:e.id,url:e.url}})}),[t]),p=__("Select Poster Image","jetpack-videopress-pkg"),d=__("Replace Poster Image","jetpack-videopress-pkg"),f=(0,a.useRef)(null),m=Number(t?.videoRatio)/100||9/16,[v,g]=(0,a.useState)(140);return(0,a.useEffect)((()=>{if(!l||!f?.current)return;const{current:e}=f,t=e?.offsetWidth;t&&g(t*m)}),[l,f,m]),React.createElement(n.Dropdown,{contentClassName:"poster-panel__dropdown",placement:"top left",renderToggle:({isOpen:e,onToggle:t})=>React.createElement(n.Button,{ref:f,style:{backgroundImage:l?`url(${l})`:void 0,height:v,minHeight:v},className:"poster-panel__button "+(l?"has-poster":""),variant:"secondary",onClick:t,"aria-expanded":e},React.createElement("span",null,l?d:p)),renderContent:({onClose:e})=>React.createElement(n.NavigableMenu,{className:"block-editor-media-replace-flow__media-upload-menu"},React.createElement(o.MediaUploadCheck,null,React.createElement(o.MediaUpload,{title:__("Select Poster Image","jetpack-videopress-pkg"),onSelect:t=>{u(t),e()},allowedTypes:h.o,render:({open:e})=>React.createElement(n.MenuItem,{icon:s.A,onClick:e,"aria-describedby":c},__("Open Media Library","jetpack-videopress-pkg"),React.createElement("p",{id:c,hidden:!0},l?(0,i.sprintf)(/* translators: Placeholder is an image URL. */ __("The current poster image url is %s","jetpack-videopress-pkg"),l):__("There is no poster image currently selected","jetpack-videopress-pkg")))})))})}window?.videoPressEditorState?.playerBridgeUrl&&w.push(window.videoPressEditorState.playerBridgeUrl);const E=e=>{const t=e?.current?.querySelector("iframe.components-sandbox");return t?.contentWindow};function R({guid:e,isGeneratingPoster:t,atTime:r=.1,onVideoFrameSelect:o,duration:i}){const[s,c]=(0,a.useState)(r),d=(0,a.useRef)(null),h=(0,p.ep)(e,{autoplay:!0,muted:!0,controls:!1,loop:!1}),{preview:v={html:null},isRequestingEmbedPreview:g}=(0,f.g)(h),{html:y}=v,{playerIsReady:b,pause:k}=(0,m.A)(d,g,{initialTimePosition:r});(0,a.useEffect)((()=>{b&&k()}),[b,k]);const _=(0,a.useCallback)((e=>{const t=E(d);t?.postMessage({event:"videopress_action_set_currenttime",currentTime:e/1e3}),o(e)}),[E,o]);return React.createElement("div",{className:"poster-panel__frame-picker"},React.createElement("div",{ref:d,className:(0,l.A)("poster-panel__frame-picker__sandbox-wrapper",{"is-player-ready":b,"is-generating-poster":t})},(!b||t)&&React.createElement(n.Spinner,null),React.createElement(n.SandBox,{html:y,scripts:w})),t&&React.createElement(n.Notice,{status:"info",className:"poster-panel__notice",isDismissible:!1},__("Generating video poster image. It may take a few seconds.","jetpack-videopress-pkg")),React.createElement(u.Ay,{label:__("Video frame","jetpack-videopress-pkg"),help:__("Select the frame you want to use as poster image","jetpack-videopress-pkg"),disabled:g||t,max:i,value:s,wait:250,fineAdjustment:50,onChange:c,onDebounceChange:_}))}function C({previewOnHover:e=!1,previewAtTime:t=0,loopDuration:r=b,videoDuration:o,onPreviewOnHoverChange:s,onPreviewAtTimeChange:c,onLoopDurationChange:l}){const p=!o,f=Math.max(o-g,0),[m,h]=(0,a.useState)(Math.min(y,o-t)),v=Math.floor(m/10)/100,k=(0,a.createInterpolateElement)((0,i.sprintf)(/* translators: placeholder is video duration */ __("Video duration: %s.","jetpack-videopress-pkg"),(0,d.ZO)(o)),{em:React.createElement("em",null)}),w=(0,a.createInterpolateElement)((0,i.sprintf)(/* translators: placeholders are the minimum and maximum lapse duration for the previewOnHover, in seconds */ diff --git a/vendor/composer/installed.json b/vendor/composer/installed.json index 8af71b3be9..8f8ce71f14 100644 --- a/vendor/composer/installed.json +++ b/vendor/composer/installed.json @@ -7,7 +7,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-a8c-mc-stats", - "reference": "8d2f0c638a9a96b4a8d2338229446d3d5770b2bc" + "reference": "ae29a64c2c8251b21e8a8434b5a2927e73c8b0c5" }, "require": { "php": ">=7.2" @@ -63,7 +63,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-admin-ui", - "reference": "9354efacd9587d5f9edc05edca18a54bfadc2174" + "reference": "a415225a5315a77f640c65c1a0fdf6b1002fcb67" }, "require": { "php": ">=7.2" @@ -131,7 +131,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-assets", - "reference": "59e02e364fcfe8a82596d6054c7099cf92c8b414" + "reference": "2f9aea47941a20198273c9c07f50382747399f93" }, "require": { "automattic/jetpack-constants": "^3.0.1", @@ -203,7 +203,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-autoloader", - "reference": "0e5a0200c337ff70b18a80c821820bfbdc91f208" + "reference": "e95426b8677f94daf2ad00032582964c94573661" }, "require": { "composer-plugin-api": "^2.2", @@ -274,7 +274,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-backup", - "reference": "47c57b709ab64f6b0b4676f47264f24191dede38" + "reference": "3c89d9b1c0c95e3b56010efa7ecdbe231e735739" }, "require": { "automattic/jetpack-admin-ui": "^0.5.1", @@ -367,7 +367,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-backup-helper-script-manager", - "reference": "17c6e1aa1b40d091764eaa8a96992a37c0814464" + "reference": "45675323749c5a3384e0bb5a1b530ba9e0162e61" }, "require": { "php": ">=7.2" @@ -430,7 +430,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-blaze", - "reference": "e274e3d02ada6cffdc83fc575acda17a0a6099e2" + "reference": "67f09a9dd1fed717e07ac14568d47e11eccce92b" }, "require": { "automattic/jetpack-assets": "^4.0.1", @@ -514,7 +514,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-blocks", - "reference": "ae6b1c8f445caee48d6593f39519740c6dc4b5fa" + "reference": "7aeba8f7329b65e3c33f6c9893eb4ad3ebc92a5f" }, "require": { "automattic/jetpack-constants": "^3.0.1", @@ -579,7 +579,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-boost-core", - "reference": "fb14abd859e06ec91498f40aa498dde52c3beaab" + "reference": "9c8693cc7a59eb41b64a3d42e763cd9634e0c150" }, "require": { "automattic/jetpack-connection": "^6.2.0-alpha", @@ -650,7 +650,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-boost-speed-score", - "reference": "2404a5360e129ab2f35e36d32d22f031174a0159" + "reference": "e92f9eae6de85d49db72d3d2084ed81e4e55839a" }, "require": { "automattic/jetpack-boost-core": "^0.3.2", @@ -729,7 +729,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-classic-theme-helper", - "reference": "fca25386f7a9353039de464796b19a57709d82d1" + "reference": "8cc82c9673512a93a71e69b33de9024c882b19b9" }, "require": { "automattic/jetpack-assets": "^4.0.1", @@ -803,7 +803,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-compat", - "reference": "4b85636be38eff63a44112732e9ee919f9104805" + "reference": "4074a2321c7102bbc4901957323b21119cd3549c" }, "require": { "php": ">=7.2" @@ -843,7 +843,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-composer-plugin", - "reference": "6233dfc90faaa08c27b84905c192d44f8f598be8" + "reference": "a1738ad2e83e1d415817072097f23f6e397cf798" }, "require": { "composer-plugin-api": "^2.2", @@ -906,7 +906,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-config", - "reference": "a04d95e29adb653cb870f1812c40e6061379cb88" + "reference": "ae402c1aff6ae32ee0bc3b32ddc7df87257e9cb4" }, "require": { "php": ">=7.2" @@ -981,7 +981,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-connection", - "reference": "7ca537bcca56ec374e5b809a8db4d34a8ce57ba9" + "reference": "382949d2f719d1800d68e4ad1fdf0b49dbe66f08" }, "require": { "automattic/jetpack-a8c-mc-stats": "^3.0.0", @@ -1074,7 +1074,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-constants", - "reference": "74dd95edf49629e7bae89a80b1e8ee249cc6a54b" + "reference": "f370be26b095a206fc05c584de68ab0794228d4c" }, "require": { "php": ">=7.2" @@ -1131,7 +1131,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-device-detection", - "reference": "dd6dd50c0e602abbd0b170ed8a1ab1ef712cf00f" + "reference": "d8c183417393b830719b0cd45d1b8798362d305b" }, "require": { "php": ">=7.2" @@ -1187,7 +1187,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-error", - "reference": "b600d7bdff9c8113dbc5f613cdf6c80baa55644d" + "reference": "3e0feb96f715c95a670e6109d602e9cb9b319886" }, "require": { "php": ">=7.2" @@ -1243,7 +1243,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-explat", - "reference": "9ce9e9fd89b8d5ee2047cd70d385c1753e194c75" + "reference": "299dbc2d5dabb27c3d097c79a434afcdd90010aa" }, "require": { "automattic/jetpack-connection": "^6.2.0-alpha", @@ -1321,7 +1321,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-forms", - "reference": "b7af71dad3f2940520751792bda6f6d3ad03fecc" + "reference": "0b83111316fa9a4247e9ec634a7003ba3efb8a0d" }, "require": { "automattic/jetpack-assets": "^4.0.1", @@ -1408,7 +1408,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-image-cdn", - "reference": "3490f977c2263a7d27650678bda3c2decb625e80" + "reference": "391abfa6e1c5f18206dd09cd4e33db7f4dd6d41f" }, "require": { "automattic/jetpack-assets": "^4.0.1", @@ -1477,7 +1477,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-import", - "reference": "a4b75ba9cc7fbf23d72cea286dfe4158ed8ba19b" + "reference": "ef43113932137d16a60734dee4f9028035f5f97d" }, "require": { "automattic/jetpack-connection": "^6.2.0-alpha", @@ -1552,7 +1552,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-ip", - "reference": "4e0fb442fc034cd05b134a920763d9331b651b5d" + "reference": "b2de70f803a27cbeedf62ae6af14edb351870018" }, "require": { "php": ">=7.2" @@ -1613,7 +1613,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-jitm", - "reference": "16610f6913d3864dd4cb01c17e319ed0d77473c2" + "reference": "4216387eb44be1123821d41d613f69d635381071" }, "require": { "automattic/jetpack-a8c-mc-stats": "^3.0.0", @@ -1691,7 +1691,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-licensing", - "reference": "291bbcbb4b41a656a87de381ac54646ea6d46f77" + "reference": "c8a15411f1e7558cae709e0dccabbbc67428be2c" }, "require": { "automattic/jetpack-connection": "^6.2.0-alpha", @@ -1756,7 +1756,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-logo", - "reference": "84642d68b7ecd3ab619d36ad788d4cccc042fee9" + "reference": "7f75aa0da8552cd310b8e64c63345ef4e84422fa" }, "require": { "php": ">=7.2" @@ -1812,7 +1812,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-masterbar", - "reference": "f8393445580ccac0dfa5e766b24505ec49bbb02d" + "reference": "7589272a460e20681b9810c80e94e4f2ef36c391" }, "require": { "automattic/jetpack-assets": "^4.0.1", @@ -1898,7 +1898,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-my-jetpack", - "reference": "ceb56ee5d97d609838ee56d1ed43b98069aed91f" + "reference": "8b42313dccc42d49ae4e5c3ebe80751d943b4902" }, "require": { "automattic/jetpack-admin-ui": "^0.5.1", @@ -2003,7 +2003,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-password-checker", - "reference": "1b396d544569ed6daef000d28bb5eeca56b736c1" + "reference": "c989d999631f7d7daf85ccae448204b88454edcc" }, "require": { "php": ">=7.2" @@ -2067,7 +2067,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-plans", - "reference": "fdcdd36cfd4cbc2768907332f9fcb717d11dc97f" + "reference": "e2f54f2ae9ce18cba83b24a373141ed9d16de7b9" }, "require": { "automattic/jetpack-connection": "^6.2.0-alpha", @@ -2138,7 +2138,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-plugins-installer", - "reference": "ca33dc4b96d6a3f0cd0c4dd5b1d0485cf8d3b04a" + "reference": "627e70c8edd32399cdec547c8c8ef734dc2f1bb0" }, "require": { "automattic/jetpack-a8c-mc-stats": "^3.0.0", @@ -2197,7 +2197,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-post-list", - "reference": "64acf27ddb316cdbff1eb8e513e2b2991fc3675d" + "reference": "b65ff177bb93d4837c6019718bc84163d1de8142" }, "require": { "automattic/jetpack-assets": "^4.0.1", @@ -2265,7 +2265,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-protect-models", - "reference": "7199a3215b22018db77054ed941f16f5ffde3d67" + "reference": "06f84fb36e9464a7e4a9f5875dd8a135a4712343" }, "require": { "php": ">=7.2" @@ -2338,7 +2338,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-protect-status", - "reference": "7c583c0505f4c95bc681d0b46dab28c9fb06bcbe" + "reference": "a4a669e542bb283cea2c34663b2cc6250a919077" }, "require": { "automattic/jetpack-connection": "^6.2.0-alpha", @@ -2416,7 +2416,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-publicize", - "reference": "050a50c584c3f112fc72df51282dfd2d7a939ebd" + "reference": "28d58cc81008fa47b3bbad86a59ae52ad834ea83" }, "require": { "automattic/jetpack-assets": "^4.0.1", @@ -2501,7 +2501,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-redirect", - "reference": "cdeee6bb42ee1cad881a68920614b0d91039cec9" + "reference": "a86d03a329e8e4c01903c90b58763be925d9742b" }, "require": { "automattic/jetpack-status": "^5.0.1", @@ -2559,7 +2559,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-roles", - "reference": "cd980afabe2eeb589e94c3c9c4ff4660582b0683" + "reference": "7066d965e86ea314506c40a9327eae798d55053c" }, "require": { "php": ">=7.2" @@ -2616,7 +2616,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-search", - "reference": "2dd30efa8c0b041ab7799dc4c0e0c7611b0c65fc" + "reference": "e5f2a734bcf964ffb76d9debd7e02627e728e5b1" }, "require": { "automattic/jetpack-assets": "^4.0.1", @@ -2707,7 +2707,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-stats", - "reference": "5273f1713e53e0cfe661247309947c3f80a6c06f" + "reference": "99b1019de1fadbae7075433f2e1c70da12915db9" }, "require": { "automattic/jetpack-connection": "^6.2.0-alpha", @@ -2777,7 +2777,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-stats-admin", - "reference": "b55146c6cfb5d362b112086db83803f309d04d8e" + "reference": "580e10c932f3e086f268468ac5bc3bc86779d8eb" }, "require": { "automattic/jetpack-connection": "^6.2.0-alpha", @@ -2853,7 +2853,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-status", - "reference": "ee25a78278bb886be20e22e3495fd043e6d7b9ed" + "reference": "b31fdc94e98cd62837502685800d7ba181a97ee6" }, "require": { "automattic/jetpack-constants": "^3.0.1", @@ -2920,7 +2920,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-sync", - "reference": "793ea123c90f30ee526285ffd6999852ee892da9" + "reference": "6c5b25ff8b16741e26ef6d5bcfca7edae0ab416e" }, "require": { "automattic/jetpack-connection": "^6.2.0-alpha", @@ -3001,7 +3001,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-videopress", - "reference": "32bcbf293f3be4322c7f59d580102f6763a5a421" + "reference": "463a6da6a40cb5a9bc26b01fa77f74098ce81cae" }, "require": { "automattic/jetpack-admin-ui": "^0.5.1", @@ -3087,7 +3087,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-waf", - "reference": "394e309a27dd8855a034354e75ca6896040ef725" + "reference": "b7be4a24a4121fd667cefbcacd1e2cf3d1c05053" }, "require": { "automattic/jetpack-connection": "^6.2.0-alpha", @@ -3164,7 +3164,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-wordads", - "reference": "d3fce75d4f85a400e5b059911b7e7fae29c00442" + "reference": "b9ea73d27f22a11b3c4f81ef647113c93f18dce9" }, "require": { "automattic/jetpack-assets": "^4.0.1", @@ -3246,7 +3246,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/woocommerce-analytics", - "reference": "c2cb879338c40d3063a5a6d0154a52dbcdc0c330" + "reference": "c8deb5d53f4d1aa3323da7be95ae0f87f9499117" }, "require": { "automattic/jetpack-connection": "^6.2.0-alpha", diff --git a/vendor/composer/installed.php b/vendor/composer/installed.php index 58730ea941..e8f4a33aba 100644 --- a/vendor/composer/installed.php +++ b/vendor/composer/installed.php @@ -22,7 +22,7 @@ 'automattic/jetpack-a8c-mc-stats' => array( 'pretty_version' => '3.0.0', 'version' => '3.0.0.0', - 'reference' => '8d2f0c638a9a96b4a8d2338229446d3d5770b2bc', + 'reference' => 'ae29a64c2c8251b21e8a8434b5a2927e73c8b0c5', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-a8c-mc-stats', 'aliases' => array(), @@ -31,7 +31,7 @@ 'automattic/jetpack-admin-ui' => array( 'pretty_version' => '0.5.1', 'version' => '0.5.1.0', - 'reference' => '9354efacd9587d5f9edc05edca18a54bfadc2174', + 'reference' => 'a415225a5315a77f640c65c1a0fdf6b1002fcb67', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-admin-ui', 'aliases' => array(), @@ -40,7 +40,7 @@ 'automattic/jetpack-assets' => array( 'pretty_version' => '4.0.1', 'version' => '4.0.1.0', - 'reference' => '59e02e364fcfe8a82596d6054c7099cf92c8b414', + 'reference' => '2f9aea47941a20198273c9c07f50382747399f93', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-assets', 'aliases' => array(), @@ -49,7 +49,7 @@ 'automattic/jetpack-autoloader' => array( 'pretty_version' => '5.0.0', 'version' => '5.0.0.0', - 'reference' => '0e5a0200c337ff70b18a80c821820bfbdc91f208', + 'reference' => 'e95426b8677f94daf2ad00032582964c94573661', 'type' => 'composer-plugin', 'install_path' => __DIR__ . '/../automattic/jetpack-autoloader', 'aliases' => array(), @@ -58,7 +58,7 @@ 'automattic/jetpack-backup' => array( 'pretty_version' => '4.0.4-alpha.1733170314', 'version' => '4.0.4.0-alpha1733170314', - 'reference' => '47c57b709ab64f6b0b4676f47264f24191dede38', + 'reference' => '3c89d9b1c0c95e3b56010efa7ecdbe231e735739', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-backup', 'aliases' => array(), @@ -67,7 +67,7 @@ 'automattic/jetpack-backup-helper-script-manager' => array( 'pretty_version' => '0.3.1', 'version' => '0.3.1.0', - 'reference' => '17c6e1aa1b40d091764eaa8a96992a37c0814464', + 'reference' => '45675323749c5a3384e0bb5a1b530ba9e0162e61', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-backup-helper-script-manager', 'aliases' => array(), @@ -76,7 +76,7 @@ 'automattic/jetpack-blaze' => array( 'pretty_version' => '0.25.3', 'version' => '0.25.3.0', - 'reference' => 'e274e3d02ada6cffdc83fc575acda17a0a6099e2', + 'reference' => '67f09a9dd1fed717e07ac14568d47e11eccce92b', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-blaze', 'aliases' => array(), @@ -85,7 +85,7 @@ 'automattic/jetpack-blocks' => array( 'pretty_version' => '3.0.1', 'version' => '3.0.1.0', - 'reference' => 'ae6b1c8f445caee48d6593f39519740c6dc4b5fa', + 'reference' => '7aeba8f7329b65e3c33f6c9893eb4ad3ebc92a5f', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-blocks', 'aliases' => array(), @@ -94,7 +94,7 @@ 'automattic/jetpack-boost-core' => array( 'pretty_version' => '0.3.2', 'version' => '0.3.2.0', - 'reference' => 'fb14abd859e06ec91498f40aa498dde52c3beaab', + 'reference' => '9c8693cc7a59eb41b64a3d42e763cd9634e0c150', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-boost-core', 'aliases' => array(), @@ -103,7 +103,7 @@ 'automattic/jetpack-boost-speed-score' => array( 'pretty_version' => '0.4.0', 'version' => '0.4.0.0', - 'reference' => '2404a5360e129ab2f35e36d32d22f031174a0159', + 'reference' => 'e92f9eae6de85d49db72d3d2084ed81e4e55839a', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-boost-speed-score', 'aliases' => array(), @@ -112,7 +112,7 @@ 'automattic/jetpack-classic-theme-helper' => array( 'pretty_version' => '0.7.3', 'version' => '0.7.3.0', - 'reference' => 'fca25386f7a9353039de464796b19a57709d82d1', + 'reference' => '8cc82c9673512a93a71e69b33de9024c882b19b9', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-classic-theme-helper', 'aliases' => array(), @@ -121,7 +121,7 @@ 'automattic/jetpack-compat' => array( 'pretty_version' => '4.0.0', 'version' => '4.0.0.0', - 'reference' => '4b85636be38eff63a44112732e9ee919f9104805', + 'reference' => '4074a2321c7102bbc4901957323b21119cd3549c', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-compat', 'aliases' => array(), @@ -130,7 +130,7 @@ 'automattic/jetpack-composer-plugin' => array( 'pretty_version' => '4.0.0', 'version' => '4.0.0.0', - 'reference' => '6233dfc90faaa08c27b84905c192d44f8f598be8', + 'reference' => 'a1738ad2e83e1d415817072097f23f6e397cf798', 'type' => 'composer-plugin', 'install_path' => __DIR__ . '/../automattic/jetpack-composer-plugin', 'aliases' => array(), @@ -139,7 +139,7 @@ 'automattic/jetpack-config' => array( 'pretty_version' => '3.0.0', 'version' => '3.0.0.0', - 'reference' => 'a04d95e29adb653cb870f1812c40e6061379cb88', + 'reference' => 'ae402c1aff6ae32ee0bc3b32ddc7df87257e9cb4', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-config', 'aliases' => array(), @@ -148,7 +148,7 @@ 'automattic/jetpack-connection' => array( 'pretty_version' => '6.2.0-alpha.1733428152', 'version' => '6.2.0.0-alpha1733428152', - 'reference' => '7ca537bcca56ec374e5b809a8db4d34a8ce57ba9', + 'reference' => '382949d2f719d1800d68e4ad1fdf0b49dbe66f08', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-connection', 'aliases' => array(), @@ -157,7 +157,7 @@ 'automattic/jetpack-constants' => array( 'pretty_version' => '3.0.1', 'version' => '3.0.1.0', - 'reference' => '74dd95edf49629e7bae89a80b1e8ee249cc6a54b', + 'reference' => 'f370be26b095a206fc05c584de68ab0794228d4c', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-constants', 'aliases' => array(), @@ -166,7 +166,7 @@ 'automattic/jetpack-device-detection' => array( 'pretty_version' => '3.0.0', 'version' => '3.0.0.0', - 'reference' => 'dd6dd50c0e602abbd0b170ed8a1ab1ef712cf00f', + 'reference' => 'd8c183417393b830719b0cd45d1b8798362d305b', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-device-detection', 'aliases' => array(), @@ -175,7 +175,7 @@ 'automattic/jetpack-error' => array( 'pretty_version' => '3.0.0', 'version' => '3.0.0.0', - 'reference' => 'b600d7bdff9c8113dbc5f613cdf6c80baa55644d', + 'reference' => '3e0feb96f715c95a670e6109d602e9cb9b319886', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-error', 'aliases' => array(), @@ -184,7 +184,7 @@ 'automattic/jetpack-explat' => array( 'pretty_version' => '0.2.2', 'version' => '0.2.2.0', - 'reference' => '9ce9e9fd89b8d5ee2047cd70d385c1753e194c75', + 'reference' => '299dbc2d5dabb27c3d097c79a434afcdd90010aa', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-explat', 'aliases' => array(), @@ -193,7 +193,7 @@ 'automattic/jetpack-forms' => array( 'pretty_version' => '0.34.3-alpha.1733418279', 'version' => '0.34.3.0-alpha1733418279', - 'reference' => 'b7af71dad3f2940520751792bda6f6d3ad03fecc', + 'reference' => '0b83111316fa9a4247e9ec634a7003ba3efb8a0d', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-forms', 'aliases' => array(), @@ -202,7 +202,7 @@ 'automattic/jetpack-image-cdn' => array( 'pretty_version' => '0.7.1', 'version' => '0.7.1.0', - 'reference' => '3490f977c2263a7d27650678bda3c2decb625e80', + 'reference' => '391abfa6e1c5f18206dd09cd4e33db7f4dd6d41f', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-image-cdn', 'aliases' => array(), @@ -211,7 +211,7 @@ 'automattic/jetpack-import' => array( 'pretty_version' => '0.9.1', 'version' => '0.9.1.0', - 'reference' => 'a4b75ba9cc7fbf23d72cea286dfe4158ed8ba19b', + 'reference' => 'ef43113932137d16a60734dee4f9028035f5f97d', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-import', 'aliases' => array(), @@ -220,7 +220,7 @@ 'automattic/jetpack-ip' => array( 'pretty_version' => '0.4.1', 'version' => '0.4.1.0', - 'reference' => '4e0fb442fc034cd05b134a920763d9331b651b5d', + 'reference' => 'b2de70f803a27cbeedf62ae6af14edb351870018', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-ip', 'aliases' => array(), @@ -229,7 +229,7 @@ 'automattic/jetpack-jitm' => array( 'pretty_version' => '4.0.2', 'version' => '4.0.2.0', - 'reference' => '16610f6913d3864dd4cb01c17e319ed0d77473c2', + 'reference' => '4216387eb44be1123821d41d613f69d635381071', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-jitm', 'aliases' => array(), @@ -238,7 +238,7 @@ 'automattic/jetpack-licensing' => array( 'pretty_version' => '3.0.2', 'version' => '3.0.2.0', - 'reference' => '291bbcbb4b41a656a87de381ac54646ea6d46f77', + 'reference' => 'c8a15411f1e7558cae709e0dccabbbc67428be2c', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-licensing', 'aliases' => array(), @@ -247,7 +247,7 @@ 'automattic/jetpack-logo' => array( 'pretty_version' => '3.0.0', 'version' => '3.0.0.0', - 'reference' => '84642d68b7ecd3ab619d36ad788d4cccc042fee9', + 'reference' => '7f75aa0da8552cd310b8e64c63345ef4e84422fa', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-logo', 'aliases' => array(), @@ -256,7 +256,7 @@ 'automattic/jetpack-masterbar' => array( 'pretty_version' => '0.10.2', 'version' => '0.10.2.0', - 'reference' => 'f8393445580ccac0dfa5e766b24505ec49bbb02d', + 'reference' => '7589272a460e20681b9810c80e94e4f2ef36c391', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-masterbar', 'aliases' => array(), @@ -265,7 +265,7 @@ 'automattic/jetpack-my-jetpack' => array( 'pretty_version' => '5.1.1', 'version' => '5.1.1.0', - 'reference' => 'ceb56ee5d97d609838ee56d1ed43b98069aed91f', + 'reference' => '8b42313dccc42d49ae4e5c3ebe80751d943b4902', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-my-jetpack', 'aliases' => array(), @@ -274,7 +274,7 @@ 'automattic/jetpack-password-checker' => array( 'pretty_version' => '0.4.1', 'version' => '0.4.1.0', - 'reference' => '1b396d544569ed6daef000d28bb5eeca56b736c1', + 'reference' => 'c989d999631f7d7daf85ccae448204b88454edcc', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-password-checker', 'aliases' => array(), @@ -283,7 +283,7 @@ 'automattic/jetpack-plans' => array( 'pretty_version' => '0.5.1', 'version' => '0.5.1.0', - 'reference' => 'fdcdd36cfd4cbc2768907332f9fcb717d11dc97f', + 'reference' => 'e2f54f2ae9ce18cba83b24a373141ed9d16de7b9', 'type' => 'library', 'install_path' => __DIR__ . '/../automattic/jetpack-plans', 'aliases' => array(), @@ -292,7 +292,7 @@ 'automattic/jetpack-plugins-installer' => array( 'pretty_version' => '0.5.0', 'version' => '0.5.0.0', - 'reference' => 'ca33dc4b96d6a3f0cd0c4dd5b1d0485cf8d3b04a', + 'reference' => '627e70c8edd32399cdec547c8c8ef734dc2f1bb0', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-plugins-installer', 'aliases' => array(), @@ -301,7 +301,7 @@ 'automattic/jetpack-post-list' => array( 'pretty_version' => '0.7.1', 'version' => '0.7.1.0', - 'reference' => '64acf27ddb316cdbff1eb8e513e2b2991fc3675d', + 'reference' => 'b65ff177bb93d4837c6019718bc84163d1de8142', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-post-list', 'aliases' => array(), @@ -310,7 +310,7 @@ 'automattic/jetpack-protect-models' => array( 'pretty_version' => '0.4.1', 'version' => '0.4.1.0', - 'reference' => '7199a3215b22018db77054ed941f16f5ffde3d67', + 'reference' => '06f84fb36e9464a7e4a9f5875dd8a135a4712343', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-protect-models', 'aliases' => array(), @@ -319,7 +319,7 @@ 'automattic/jetpack-protect-status' => array( 'pretty_version' => '0.4.0', 'version' => '0.4.0.0', - 'reference' => '7c583c0505f4c95bc681d0b46dab28c9fb06bcbe', + 'reference' => 'a4a669e542bb283cea2c34663b2cc6250a919077', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-protect-status', 'aliases' => array(), @@ -328,7 +328,7 @@ 'automattic/jetpack-publicize' => array( 'pretty_version' => '0.56.4-alpha.1733166700', 'version' => '0.56.4.0-alpha1733166700', - 'reference' => '050a50c584c3f112fc72df51282dfd2d7a939ebd', + 'reference' => '28d58cc81008fa47b3bbad86a59ae52ad834ea83', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-publicize', 'aliases' => array(), @@ -337,7 +337,7 @@ 'automattic/jetpack-redirect' => array( 'pretty_version' => '3.0.1', 'version' => '3.0.1.0', - 'reference' => 'cdeee6bb42ee1cad881a68920614b0d91039cec9', + 'reference' => 'a86d03a329e8e4c01903c90b58763be925d9742b', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-redirect', 'aliases' => array(), @@ -346,7 +346,7 @@ 'automattic/jetpack-roles' => array( 'pretty_version' => '3.0.1', 'version' => '3.0.1.0', - 'reference' => 'cd980afabe2eeb589e94c3c9c4ff4660582b0683', + 'reference' => '7066d965e86ea314506c40a9327eae798d55053c', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-roles', 'aliases' => array(), @@ -355,7 +355,7 @@ 'automattic/jetpack-search' => array( 'pretty_version' => '0.47.3-alpha.1733259103', 'version' => '0.47.3.0-alpha1733259103', - 'reference' => '2dd30efa8c0b041ab7799dc4c0e0c7611b0c65fc', + 'reference' => 'e5f2a734bcf964ffb76d9debd7e02627e728e5b1', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-search', 'aliases' => array(), @@ -364,7 +364,7 @@ 'automattic/jetpack-stats' => array( 'pretty_version' => '0.14.1', 'version' => '0.14.1.0', - 'reference' => '5273f1713e53e0cfe661247309947c3f80a6c06f', + 'reference' => '99b1019de1fadbae7075433f2e1c70da12915db9', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-stats', 'aliases' => array(), @@ -373,7 +373,7 @@ 'automattic/jetpack-stats-admin' => array( 'pretty_version' => '0.23.1', 'version' => '0.23.1.0', - 'reference' => 'b55146c6cfb5d362b112086db83803f309d04d8e', + 'reference' => '580e10c932f3e086f268468ac5bc3bc86779d8eb', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-stats-admin', 'aliases' => array(), @@ -382,7 +382,7 @@ 'automattic/jetpack-status' => array( 'pretty_version' => '5.0.1', 'version' => '5.0.1.0', - 'reference' => 'ee25a78278bb886be20e22e3495fd043e6d7b9ed', + 'reference' => 'b31fdc94e98cd62837502685800d7ba181a97ee6', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-status', 'aliases' => array(), @@ -391,7 +391,7 @@ 'automattic/jetpack-sync' => array( 'pretty_version' => '4.0.2', 'version' => '4.0.2.0', - 'reference' => '793ea123c90f30ee526285ffd6999852ee892da9', + 'reference' => '6c5b25ff8b16741e26ef6d5bcfca7edae0ab416e', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-sync', 'aliases' => array(), @@ -400,7 +400,7 @@ 'automattic/jetpack-videopress' => array( 'pretty_version' => '0.25.4-alpha.1733261868', 'version' => '0.25.4.0-alpha1733261868', - 'reference' => '32bcbf293f3be4322c7f59d580102f6763a5a421', + 'reference' => '463a6da6a40cb5a9bc26b01fa77f74098ce81cae', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-videopress', 'aliases' => array(), @@ -409,7 +409,7 @@ 'automattic/jetpack-waf' => array( 'pretty_version' => '0.23.1', 'version' => '0.23.1.0', - 'reference' => '394e309a27dd8855a034354e75ca6896040ef725', + 'reference' => 'b7be4a24a4121fd667cefbcacd1e2cf3d1c05053', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-waf', 'aliases' => array(), @@ -418,7 +418,7 @@ 'automattic/jetpack-wordads' => array( 'pretty_version' => '0.4.3-alpha.1733259103', 'version' => '0.4.3.0-alpha1733259103', - 'reference' => 'd3fce75d4f85a400e5b059911b7e7fae29c00442', + 'reference' => 'b9ea73d27f22a11b3c4f81ef647113c93f18dce9', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-wordads', 'aliases' => array(), @@ -427,7 +427,7 @@ 'automattic/woocommerce-analytics' => array( 'pretty_version' => '0.2.0', 'version' => '0.2.0.0', - 'reference' => 'c2cb879338c40d3063a5a6d0154a52dbcdc0c330', + 'reference' => 'c8deb5d53f4d1aa3323da7be95ae0f87f9499117', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/woocommerce-analytics', 'aliases' => array(),