diff --git a/jetpack_vendor/automattic/jetpack-search/build/dashboard/jp-search-dashboard.asset.php b/jetpack_vendor/automattic/jetpack-search/build/dashboard/jp-search-dashboard.asset.php index aa1e9b96..f7bf64cc 100644 --- a/jetpack_vendor/automattic/jetpack-search/build/dashboard/jp-search-dashboard.asset.php +++ b/jetpack_vendor/automattic/jetpack-search/build/dashboard/jp-search-dashboard.asset.php @@ -1 +1 @@ - array('jetpack-connection', 'jetpack-script-data', 'react', 'react-jsx-runtime', 'wp-components', 'wp-compose', 'wp-data', 'wp-date', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-primitives', 'wp-url'), 'version' => '12affa0b12fd7b5a0a81'); + array('jetpack-connection', 'jetpack-script-data', 'react', 'react-jsx-runtime', 'wp-components', 'wp-compose', 'wp-data', 'wp-date', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-primitives', 'wp-url'), 'version' => 'fb2f302b8f26d769a6e0'); diff --git a/jetpack_vendor/automattic/jetpack-search/build/dashboard/jp-search-dashboard.js b/jetpack_vendor/automattic/jetpack-search/build/dashboard/jp-search-dashboard.js index 9183721e..e9ac0274 100644 --- a/jetpack_vendor/automattic/jetpack-search/build/dashboard/jp-search-dashboard.js +++ b/jetpack_vendor/automattic/jetpack-search/build/dashboard/jp-search-dashboard.js @@ -8,7 +8,7 @@ default:(0,n.sprintf)(__("%s coming soon","jetpack-search-pkg"),r)}:{lg:t?h:f,de __("%s not included","jetpack-search-pkg"),r)})(t,e,A),P=C?N.lg:N.default;return l().createElement("div",{className:(0,o.A)(g.A.item,g.A.value)},l().createElement(a.A,{className:(0,o.A)(g.A.icon,j?g.A["icon-check"]:g.A["icon-cross"]),size:32,icon:j?s.A:c.A}),l().createElement(m.Ay,{variant:"body-small"},d||P),x&&l().createElement(p.A,{title:k||w,iconClassName:g.A["popover-icon"],className:(0,o.A)(g.A.popover,E),placement:"bottom-end",iconSize:14,offset:4,wide:Boolean(k&&b)},l().createElement(m.Ay,{variant:"body-small",component:"div"},b||S)))},k=({children:e})=>l().createElement("div",{className:g.A.header},e),E=({primary:e=!1,children:t})=>{let r=0;return l().createElement("div",{className:(0,o.A)(g.A.card,{[g.A["is-primary"]]:e})},i.Children.map(t,(e=>{const t=e;return t.type===b?(r++,(0,i.cloneElement)(t,{index:r-1})):t})))},C=({title:e,items:t,children:r,showIntroOfferDisclaimer:n=!1})=>{const[a]=(0,u.A)("lg");return l().createElement(y.Provider,{value:t},l().createElement("div",{className:(0,o.A)(g.A.container,{[g.A["is-viewport-large"]]:a}),style:{"--rows":t.length+1,"--columns":i.Children.toArray(r).length+1}},l().createElement("div",{className:g.A.table},l().createElement(m.Ay,{variant:"headline-small"},e),a&&t.map(((e,r)=>l().createElement("div",{className:(0,o.A)(g.A.item,{[g.A["last-feature"]]:r===t.length-1}),key:r},l().createElement(m.Ay,{variant:"body-small"},l().createElement("strong",null,e.name)),e.tooltipInfo&&l().createElement(p.A,{title:e.tooltipTitle,iconClassName:g.A["popover-icon"],className:g.A.popover,placement:e.tooltipPlacement?e.tooltipPlacement:"bottom-end",iconSize:14,offset:4,wide:Boolean(e.tooltipTitle&&e.tooltipInfo)},l().createElement(m.Ay,{variant:"body-small"},e.tooltipInfo))))),r)),l().createElement("div",{className:g.A["tos-container"]},l().createElement("div",{className:g.A.tos},n&&l().createElement(m.Ay,{variant:"body-small"},__("Reduced pricing is a limited offer for the first year and renews at regular price.","jetpack-search-pkg")),l().createElement(d.A,{multipleButtons:!0}))))}},489:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(7723),a=r(3022),s=r(7425),c=r(2746),o=r(3407);const __=n.__,i=({price:e,offPrice:t,currency:r="",showNotOffPrice:n=!0,hideDiscountLabel:i=!0,promoLabel:l="",legend:p=__("/month, paid yearly","jetpack-search-pkg"),isNotConvenientPrice:u=!1,hidePriceFraction:d=!1,children:m})=>{if(null==e&&null==t||!r)return null;n=n&&null!=t;const g="number"==typeof e&&"number"==typeof t?Math.floor((e-t)/e*100):0,h=!i&&g&&g>0?g+__("% off","jetpack-search-pkg"):null;return React.createElement(React.Fragment,null,React.createElement("div",{className:o.A.container},React.createElement("div",{className:(0,a.A)(o.A["price-container"],"product-price_container")},React.createElement(c.g,{value:t??e,currency:r,isOff:!u,hidePriceFraction:d}),n&&React.createElement(c.g,{value:e,currency:r,isOff:!1,hidePriceFraction:d}),h&&React.createElement(s.Ay,{className:(0,a.A)(o.A["promo-label"],"product-price_promo_label")},h))),React.createElement("div",{className:o.A.footer},m||React.createElement(s.Ay,{className:(0,a.A)(o.A.legend,"product-price_legend")},p),l&&React.createElement(s.Ay,{className:(0,a.A)(o.A["promo-label"],"product-price_promo_label")},l)))}},2746:(e,t,r)=>{"use strict";r.d(t,{g:()=>o});var n=r(7397),a=r(3022),s=r(7425),c=r(3407);const o=({value:e,currency:t,isOff:r,hidePriceFraction:o})=>{const i=(0,a.A)(c.A.price,"product-price_price",{[c.A["is-not-off-price"]]:!r}),{symbol:l,integer:p,fraction:u}=(0,n.vA)(e,t),d=!o||!u.endsWith("00");return React.createElement(s.Ay,{className:i,variant:"headline-medium",component:"p"},React.createElement(s.Ay,{className:c.A.symbol,component:"sup",variant:"title-medium"},l),p,d&&React.createElement(s.Ay,{component:"sup",variant:"body-small","data-testid":"PriceFraction"},React.createElement("strong",null,u)))}},6051:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(7723),a=r(3022),s=r(1609),c=r.n(s),o=r(7975);r(8249);const __=n.__,i=({totalCount:e,items:t=[],showLegendLabelBeforeCount:r=!1,sortByCount:n,className:i,tableCaption:l,legendTitle:p,recordTypeLabel:u,recordCountLabel:d})=>{const m=(0,s.useMemo)((()=>e||t.reduce(((e,{count:t})=>e+t),0)),[t,e]),g=(0,s.useMemo)((()=>n?[...t].sort(((e,t)=>"ascending"===n?e.count-t.count:t.count-e.count)):t),[t,n]);return c().createElement("div",{className:(0,a.A)("record-meter-bar",i)},c().createElement("div",{className:"record-meter-bar__items","aria-hidden":"true"},g.map((({count:e,label:t,backgroundColor:r})=>{const n=(e/m*100).toPrecision(2);return c().createElement("div",{key:t,style:{backgroundColor:r,flexBasis:`${n}%`}})}))),c().createElement("div",{className:"record-meter-bar__legend","aria-hidden":"true"},p&&c().createElement("div",{className:"record-meter-bar__legend--title"},p),c().createElement("ul",{className:"record-meter-bar__legend--items"},g.map((({count:e,label:t,backgroundColor:n})=>{const a=(0,o.A)(e);return c().createElement("li",{key:t,className:"record-meter-bar__legend--item"},c().createElement("div",{className:"record-meter-bar__legend--item-circle",style:{backgroundColor:n}}),!r&&c().createElement("span",null,c().createElement("span",{className:"record-meter-bar__legend--item-count"},a),c().createElement("span",{className:"record-meter-bar__legend--item-label"},t)),r&&c().createElement("span",null,c().createElement("span",{className:"record-meter-bar__legend--item-label record-meter-bar__legend--item-label-first"},t),c().createElement("span",{className:"record-meter-bar__legend--item-count"},"(",a,")")))})))),c().createElement("table",{className:"screen-reader-text"},c().createElement("caption",null,l||__("Summary of the records","jetpack-search-pkg")),c().createElement("tbody",null,c().createElement("tr",null,c().createElement("th",{scope:"col"},u||__("Record type","jetpack-search-pkg")),c().createElement("th",{scope:"col"},d||__("Record count","jetpack-search-pkg"))),g.map((({label:e,count:t})=>c().createElement("tr",{key:e},c().createElement("td",null,e),c().createElement("td",null,t)))))))}},6461:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(8120),a=r.n(n),s=r(1609),c=r.n(s);r(8325);const o=({color:e="#FFFFFF",className:t="",size:r=20})=>{const n=t+" jp-components-spinner",a={width:r,height:r,fontSize:r,borderTopColor:e},s={borderTopColor:e,borderRightColor:e};return c().createElement("div",{className:n},c().createElement("div",{className:"jp-components-spinner__outer",style:a},c().createElement("div",{className:"jp-components-spinner__inner",style:s})))};o.propTypes={color:a().string,className:a().string,size:a().number};const i=o},5879:(e,t,r)=>{"use strict";r.d(t,{A:()=>m});var n=r(6072),a=r.n(n),s=r(6087),c=r(7723),o=r(3022),i=r(3924),l=r(7425);r(7253);const __=c.__,p=({multipleButtonsLabels:e})=>Array.isArray(e)&&e.length>1?(0,s.createInterpolateElement)((0,c.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-search-pkg"),e[0],e[1]),{strong:React.createElement("strong",null),tosLink:React.createElement(d,{slug:"wpcom-tos"}),shareDetailsLink:React.createElement(d,{slug:"jetpack-support-what-data-does-jetpack-sync"})}):(0,s.createInterpolateElement)(__("By clicking the buttons above, you agree to our Terms of Service and to sync your site‘s data with us.","jetpack-search-pkg"),{tosLink:React.createElement(d,{slug:"wpcom-tos"}),shareDetailsLink:React.createElement(d,{slug:"jetpack-support-what-data-does-jetpack-sync"})}),u=({agreeButtonLabel:e})=>(0,s.createInterpolateElement)((0,c.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-search-pkg"),e),{strong:React.createElement("strong",null),tosLink:React.createElement(d,{slug:"wpcom-tos"}),shareDetailsLink:React.createElement(d,{slug:"jetpack-support-what-data-does-jetpack-sync"})}),d=({slug:e,children:t})=>React.createElement("a",{className:"terms-of-service__link",href:(0,i.A)(e),rel:"noopener noreferrer",target:"_blank"},t),m=({className:e,multipleButtons:t,agreeButtonLabel:r,...n})=>React.createElement(l.Ay,a()({className:(0,o.A)(e,"terms-of-service")},n),t?React.createElement(p,{multipleButtonsLabels:t}):React.createElement(u,{agreeButtonLabel:r}))},110:(e,t,r)=>{"use strict";r.d(t,{Q:()=>n,Z:()=>a});const n={"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"},a=["mt","mr","mb","ml","mx","my","m","pt","pr","pb","pl","px","py","p"]},7425:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>u});var n=r(6072),a=r.n(n),s=r(3022),c=r(1609),o=r.n(c),i=r(110),l=r(4495);const p=(0,c.forwardRef)((({variant:e="body",children:t,component:r,className:n,...p},u)=>{const d=r||i.Q[e]||"span",m=(0,c.useMemo)((()=>i.Z.reduce(((e,t)=>(void 0!==p[t]&&(e+=l.A[`${t}-${p[t]}`]+" ",delete p[t]),e)),"")),[p]);return p.ref=u,o().createElement(d,a()({className:(0,s.A)(l.A.reset,l.A[e],n,m)},p),t)}));p.displayName="Text";const u=p},723:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>d});var n=r(1609),a=r.n(n),s=r(9422);const c={"--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)"},o={"--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 )"},i={"--jp-border-radius":"4px","--jp-menu-border-height":"1px","--jp-underline-thickness":"2px"},l={"--spacing-base":"8px"},p={},u=(e,t,r)=>{const n={...c,...o,...i,...l};for(const t in n)e.style.setProperty(t,n[t]);r&&e.classList.add(s.A.global),t&&(p[t]={provided:!0,root:e})},d=({children:e=null,targetDom:t,id:r,withGlobalStyles:s=!0})=>{const c=(0,n.useRef)(),o=p?.[r]?.provided;return(0,n.useLayoutEffect)((()=>{if(!o)return t?u(t,r,s):void(c?.current&&u(c.current,r,s))}),[t,c,o,r,s]),t?a().createElement(a().Fragment,null,e):a().createElement("div",{ref:c},e)}},1437:(e,t,r)=>{"use strict";r.d(t,{Y:()=>a});var n=r(8443);const a=()=>{const{l10n:{locale:e}}=(0,n.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"}},8214:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});r(6257),r(3788),r(903);function n(e,t,r,n){const a=new URL("https://wordpress.com/checkout/"),s=new URL(`${a}${t}/${e}`);return s.searchParams.set("redirect_to",r),n||s.searchParams.set("unlinked","1"),s.searchParams.set("site",t),s.toString()}},1069:(e,t,r)=>{"use strict";function n(){return window.Initial_State?.adminUrl||window.Jetpack_Editor_Initial_State?.adminUrl||window?.myJetpackInitialState?.adminUrl||null}r.d(t,{A:()=>n})},3924:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});r(6257),r(3788),r(903);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("&")}},6439:(e,t,r)=>{let n={};try{n=r(516)}catch{console.error("jetpackConfig is missing in your webpack config file. See @automattic/jetpack-config"),n={missingConfig:!0}}const a=e=>Object.hasOwn(n,e);e.exports={jetpackConfigHas:a,jetpackConfigGet:e=>{if(!a(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,r)=>{"use strict";r.d(t,{A1:()=>i,Ay:()=>C,DO:()=>o,Ij:()=>c,Kl:()=>m,LW:()=>l,MU:()=>g,XY:()=>p,ZO:()=>s,dz:()=>u,gH:()=>d,v_:()=>a});var n=r(5932);const a="SET_CONNECTION_STATUS",s="SET_CONNECTION_STATUS_IS_FETCHING",c="SET_SITE_IS_REGISTERING",o="SET_USER_IS_CONNECTING",i="SET_REGISTRATION_ERROR",l="CLEAR_REGISTRATION_ERROR",p="SET_AUTHORIZATION_URL",u="DISCONNECT_USER_SUCCESS",d="SET_CONNECTED_PLUGINS",m="SET_CONNECTION_ERRORS",g="SET_IS_OFFLINE_MODE",h=e=>({type:a,connectionStatus:e}),f=e=>({type:c,isRegistering:e}),v=e=>({type:o,isConnecting:e}),y=e=>({type:i,registrationError:e}),b=()=>({type:l}),k=e=>({type:p,authorizationUrl:e}),E=e=>({type:d,connectedPlugins:e});const C={setConnectionStatus:h,setConnectionStatusIsFetching:e=>({type:s,isFetching:e}),fetchConnectionStatus:()=>({type:"FETCH_CONNECTION_STATUS"}),fetchAuthorizationUrl:e=>({type:"FETCH_AUTHORIZATION_URL",redirectUri:e}),setSiteIsRegistering:f,setUserIsConnecting:v,setRegistrationError:y,clearRegistrationError:b,setAuthorizationUrl:k,registerSite:function*({registrationNonce:e,redirectUri:t,from:r=""}){yield b(),yield f(!0);try{const n=yield{type:"REGISTER_SITE",registrationNonce:e,redirectUri:t,from:r};return yield h({isRegistered:!0}),yield k(n.authorizeUrl),yield f(!1),Promise.resolve(n)}catch(e){return yield y(e),yield f(!1),Promise.reject(e)}},connectUser:function*({from:e,redirectFunc:t,redirectUri:r}={}){yield v(!0),yield{type:"CONNECT_USER",from:e,redirectFunc:t,redirectUri:r}},disconnectUserSuccess:()=>({type:u}),setConnectedPlugins:E,refreshConnectedPlugins:()=>async({dispatch:e})=>await new Promise((t=>n.Ay.fetchConnectedPlugins().then((r=>{e(E(r)),t(r)})))),setConnectionErrors:e=>({type:m,connectionErrors:e}),setIsOfflineMode:e=>({type:g,isOfflineMode:e})}},2494:(e,t,r)=>{"use strict";r.d(t,{A:()=>c});r(6257),r(3788),r(903);var n=r(5932),a=r(7143),s=r(2279);const c={FETCH_AUTHORIZATION_URL:({redirectUri:e})=>n.Ay.fetchAuthorizationUrl(e),REGISTER_SITE:({registrationNonce:e,redirectUri:t,from:r})=>n.Ay.registerSite(e,t,r),CONNECT_USER:(0,a.createRegistryControl)((({resolveSelect:e})=>({from:t,redirectFunc:r,redirectUri:n}={})=>new Promise(((a,c)=>{e(s.A).getAuthorizationUrl(n).then((e=>{const n=r||(e=>window.location.assign(e)),s=new URL(e);t&&s.searchParams.set("from",encodeURIComponent(t));const c=s.toString();n(c),a(c)})).catch((e=>{c(e)}))}))))}},5051:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(7143),a=r(3935);const s=(0,n.combineReducers)({connectionStatus:(e={},t)=>{switch(t.type){case a.v_:return{...e,...t.connectionStatus};case a.dz:return{...e,isUserConnected:!1}}return e},connectionStatusIsFetching:(e=!1,t)=>t.type===a.ZO?t.isFetching:e,siteIsRegistering:(e=!1,t)=>t.type===a.Ij?t.isRegistering:e,userIsConnecting:(e=!1,t)=>t.type===a.DO?t.isConnecting:e,registrationError:(e,t)=>{switch(t.type){case a.LW:return!1;case a.A1:return t.registrationError;default:return e}},authorizationUrl:(e,t)=>t.type===a.XY?t.authorizationUrl:e,userConnectionData:(e,t)=>(t.type,e),connectedPlugins:(e={},t)=>t.type===a.gH?t.connectedPlugins:e,connectionErrors:(e={},t)=>t.type===a.Kl?t.connectionErrors:e,isOfflineMode:(e=!1,t)=>t.type===a.MU?t.isConnecting:e})},8019:(e,t,r)=>{"use strict";r.d(t,{A:()=>c});var n=r(7143),a=r(3935),s=r(2279);const c={...{getAuthorizationUrl:{isFulfilled:(e,...t)=>{const r=Boolean(e.authorizationUrl),a=(0,n.select)(s.A).hasFinishedResolution("getAuthorizationUrl",t);return r&&!a&&(0,n.dispatch)(s.A).finishResolution("getAuthorizationUrl",t),r},*fulfill(e){const t=yield a.Ay.fetchAuthorizationUrl(e);yield a.Ay.setAuthorizationUrl(t.authorizeUrl)}}}}},2676:(e,t,r)=>{"use strict";r.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,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(7143);class a{static store=null;static mayBeInit(e,t){null===a.store&&(a.store=(0,n.createReduxStore)(e,t),(0,n.register)(a.store))}}const s=a},2279:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});const n="jetpack-connection"},4293:(e,t,r)=>{"use strict";r.d(t,{a:()=>p.A});var n=r(7999),a=r(3935),s=r(2494),c=r(5051),o=r(8019),i=r(2676),l=r(8734),p=r(2279);const u=window.JP_CONNECTION_INITIAL_STATE||(0,n.getScriptData)()?.connection;u||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:c.A,actions:a.Ay,selectors:i.A,resolvers:o.A,controls:s.A,initialState:u||{}})},468:(e,t,r)=>{"use strict";r.d(t,{A:()=>p});var n=r(3022),a=r(6418),s=r.n(a),c=r(5739),o=r.n(c),i=r(1609),l=r.n(i);class p extends l().Component{static displayName="Button";static propTypes={disabled:o().bool,compact:o().bool,primary:o().bool,scary:o().bool,type:o().string,href:o().string,onClick:o().func,borderless:o().bool,className:o().string};static defaultProps={disabled:!1,type:"button",onClick:s(),borderless:!1};render(){const e=this.props.href?"a":"button",{primary:t,compact:r,scary:a,borderless:s,className:c,...o}=this.props,i=(0,n.A)({"dops-button":!0,"is-compact":r,"is-primary":t,"is-scary":a,"is-borderless":s});return o.className=(0,n.A)(c,i),l().createElement(e,o,this.props.children)}}},7982:(e,t,r)=>{"use strict";r.d(t,{A:()=>f});r(9060);var n=r(1883),a=r(3022),s=r(9367),c=r.n(s),o=r(2903),i=r.n(o),l=r(5739),p=r.n(l),u=r(1609),d=r.n(u);class m extends d().Component{static propTypes={title:p().any,vertical:p().any,style:p().object,className:p().string,device:p().oneOf(["desktop","tablet","phone"])};static defaultProps={vertical:null};render(){return d().createElement("div",{className:(0,a.A)("dops-card-section",this.props.className),style:this.props.style},this.props.title?this._renderWithTitle():this.props.children)}_renderWithTitle=()=>{const e="dops-card-section-orient-"+(this.props.vertical?"vertical":"horizontal");return d().createElement("div",{className:e},d().createElement("h4",{className:"dops-card-section-label"},this.props.title),d().createElement("div",{className:"dops-card-section-content"},this.props.children))}}class g extends d().Component{render(){return d().createElement("div",{className:"dops-card-footer"},this.props.children)}}class h extends d().Component{static propTypes={meta:p().any,icon:p().string,iconLabel:p().any,iconColor:p().string,style:p().object,className:p().string,href:p().string,onClick:p().func,title:p().string,tagName:p().string,target:p().string,compact:p().bool,children:p().node};static defaultProps={iconColor:"#787878",className:"",tagName:"div",onClick:()=>{}};render(){const e=(0,a.A)("dops-card",this.props.className,{"is-card-link":!!this.props.href,"is-compact":this.props.compact}),t=["compact","tagName","meta","iconColor"];let r,s;return this.props.href?r=d().createElement(n.A,{className:"dops-card__link-indicator",icon:this.props.target?"external":"chevron-right"}):t.push("href","target"),this.props.title&&(s=d().createElement("h2",{className:"dops-card-title"},this.props.title,this.props.meta&&d().createElement("span",{className:"dops-card-meta"},this.props.meta),(this.props.icon||this.props.iconLabel)&&this._renderIcon())),d().createElement(this.props.href?"a":this.props.tagName,c()(i()(this.props,t),{className:e}),r,s,this.props.children)}_renderIcon=()=>d().createElement("span",{className:"dops-card-icon",style:{color:this.props.iconColor}},this.props.icon&&d().createElement(n.A,{icon:this.props.icon,style:{backgroundColor:this.props.iconColor}}),this.props.iconLabel)}h.Section=m,h.Footer=g;const f=h},496:(e,t,r)=>{"use strict";r.d(t,{A:()=>m});var n=r(372),a=r(5932),s=r(7143),c=r(684),o=r(5214),i=r(5432),l=r(665),p=r(1609),u=r.n(p),d=r(8228);function m(){const{isFullyConnected:e}=(0,l.A)(),t=(0,s.useSelect)((e=>e(d.a).isNewPricing202208()),[]);return(0,p.useMemo)((()=>{const e=(0,s.select)(d.a).getAPIRootUrl(),t=(0,s.select)(d.a).getWpcomOriginApiUrl(),r=(0,s.select)(d.a).getAPINonce();e&&a.Ay.setApiRoot(e),t&&a.Ay.setWpcomOriginApiUrl(t),r&&a.Ay.setApiNonce(r),(()=>{const e=(0,s.select)(d.a).getWpcomUser(),t=(0,s.select)(d.a).getBlogId();e&&n.A.initialize(e.ID,e.login,{blog_id:t})})(),n.A.tracks.recordEvent("jetpack_search_admin_page_view",{current_version:(0,s.select)(d.a).getVersion()})}),[]),u().createElement(u().Fragment,null,!e&&!t&&u().createElement(c.A,null),(e||t)&&u().createElement(g,null))}function g(){const{isFullyConnected:e}=(0,l.A)();return u().createElement(u().Fragment,null,e&&u().createElement(h,null),!e&&u().createElement(i.A,null))}function h(){(0,s.useSelect)((e=>e(d.a).getSearchPlanInfo()),[]);const e=(0,s.useSelect)((e=>e(d.a).supportsSearch())),t=(0,s.useSelect)((e=>e(d.a).isResolving("getSearchPlanInfo")||!e(d.a).hasStartedResolution("getSearchPlanInfo")));return u().createElement(u().Fragment,null,e&&u().createElement(o.A,{isLoading:t}),!e&&u().createElement(i.A,{isLoading:t}))}},2090:(e,t,r)=>{"use strict";r.d(t,{A:()=>v,Z:()=>m});var n=r(7975),a=r(723),s=r(4976),c=r(597),o=r(1112),i=r(1883),l=r(7723),p=r(1609),u=r.n(p);const __=l.__,d=__("Unlimited","jetpack-search-pkg"),m=e=>e>1e18?d:(0,n.A)(e),g=(e,t)=>{e.preventDefault(),t()},h=({localizedMessage:e,iconClickedCallback:t})=>{const r="function"==typeof t;return u().createElement("div",{className:"donut-info-primary"},e," ",r&&u().createElement("a",{href:"#",className:"info-icon-wrapper",onClick:e=>{g(e,t)}},u().createElement(i.A,{className:"",icon:"info-outline",size:16})))},f=({localizedMessage:e,linkClickedCallback:t})=>{const r="function"==typeof t;return u().createElement("div",{className:"donut-info-secondary"},e," ",r&&u().createElement("a",{href:"#",className:"info-link",onClick:e=>{g(e,t)}},__("View details","jetpack-search-pkg")))},v=({current:e=0,limit:t=1,title:r,tooltip:n,iconClickedCallback:i,linkClickedCallback:l})=>{const p=t>1e18,g=p?1:e,v=p?1:t,y=((e,t)=>t>1e18?0===e?d:`${m(e)} / ${d}`:`${m(e)} / ${m(t)}`)(e,t),b={popoverAnchorStyle:"wrapper",title:n.title,placement:"top",forceShow:n.forceShow};return u().createElement(a.Ay,null,u().createElement("div",{className:"donut-meter-container"},u().createElement("div",{className:"donut-meter-wrapper"},u().createElement(s.A,{segmentCount:g,totalCount:v,useAdaptiveColors:!p}),u().createElement("div",{className:"upgrade-tooltip-shadow-anchor"},u().createElement(c.A,b,u().createElement(u().Fragment,null,u().createElement("div",null,n.content),u().createElement("div",{className:"upgrade-tooltip-actions"},u().createElement("span",null,n.section),u().createElement(o.A,{onClick:n.goToNext},n.next)))))),u().createElement("div",{className:"donut-info-wrapper"},u().createElement(h,{localizedMessage:r,iconClickedCallback:i}),u().createElement(f,{localizedMessage:y,linkClickedCallback:l}))))}},4092:(e,t,r)=>{"use strict";r.d(t,{A:()=>u});var n=r(6072),a=r.n(n),s=r(3022),c=r(1363),o=r(2903),i=r.n(o),l=r(1609),p=r.n(l);class u extends p().Component{static displayName="CompactFormToggle";render(){return p().createElement(c.A,a()({},i()(this.props,"className"),{className:(0,s.A)(this.props.className,"is-compact")}),this.props.children)}}},1363:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(3022),a=r(5739),s=r.n(a),c=r(1609),o=r.n(c);class i extends c.Component{static propTypes={onChange:s().func,onKeyDown:s().func,checked:s().bool,disabled:s().bool,id:s().string,className:s().string,toggling:s().bool,"aria-label":s().string,children:s().node,disabledReason:s().node,switchClassNames:s().string,labelClassNames:s().string};static defaultProps={checked:!1,disabled:!1,onKeyDown:()=>{},onChange:()=>{},disabledReason:""};state={};static idNum=0;constructor(){super(...arguments),this.onKeyDown=this.onKeyDown.bind(this),this.onClick=this.onClick.bind(this),this.onLabelClick=this.onLabelClick.bind(this)}UNSAFE_componentWillMount(){this.id=this.constructor.idNum++}onKeyDown(e){this.props.disabled||("Enter"!==e.key&&" "!==e.key||(e.preventDefault(),this.props.onChange()),this.props.onKeyDown(e))}onClick(){this.props.disabled||this.props.onChange()}onLabelClick(e){if(this.props.disabled)return;const t=e.target.nodeName.toLowerCase();"a"!==t&&"input"!==t&&"select"!==t&&(e.preventDefault(),this.props.onChange())}render(){const e=this.props.id||"toggle-"+this.id,t=(0,n.A)("form-toggle",this.props.className,{"is-toggling":this.props.toggling});return o().createElement(c.Fragment,null,o().createElement("div",{className:(0,n.A)("form-toggle__switch-container",this.props.switchClassNames)},o().createElement("input",{className:t,type:"checkbox",checked:this.props.checked,readOnly:!0,disabled:this.props.disabled}),o().createElement("span",{className:(0,n.A)("form-toggle__switch",this.props.switchClassNames),disabled:this.props.disabled,id:e,onClick:this.onClick,onKeyDown:this.onKeyDown,role:"checkbox","aria-checked":this.props.checked,"aria-label":this.props["aria-label"],tabIndex:this.props.disabled?-1:0})),o().createElement("label",{className:(0,n.A)("form-toggle__label",this.props.labelClassNames),htmlFor:e},o().createElement("span",{className:(0,n.A)("form-toggle__label-content",this.props.labelClassNames),onClick:this.onLabelClick},this.props.children)))}}},2121:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(8420),a=r(8423),s=r(1609),c=r.n(s);function o(e={handleLocalNoticeDismissClick:null,notices:Object.freeze([])}){const t=e.notices.map((function(t){const r=t=>()=>{t&&e.handleLocalNoticeDismissClick(t.id)};return c().createElement(n.A,{key:"notice-"+t.id,status:t.status,duration:t.duration||null,text:t.text,isCompact:t.isCompact,onDismissClick:r(t),showDismiss:t.showDismiss},t.button&&c().createElement(a.A,{href:t.href,onClick:r(t)},t.button))}));return t.length?c().createElement("div",{id:e.id,className:"global-notices"},t):null}},6450:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>h,Er:()=>p,HI:()=>m,I4:()=>o,Op:()=>c,hn:()=>g,tg:()=>u});var n=r(7723),a=r(4436),s=r.n(a);const __=n.__,c="CREATE_NOTICE",o="REMOVE_NOTICE";function i(e,t,r={}){const n={id:r.id||s()(),duration:r.duration??2e3,showDismiss:"boolean"!=typeof r.showDismiss||r.showDismiss,isPersistent:r.isPersistent||!1,displayOnNextPage:r.displayOnNextPage||!1,status:e,text:t};return{type:c,notice:n}}function l(e){return{type:o,notice:{id:e}}}const p=i.bind(null,"is-success"),u=i.bind(null,"is-error"),d=(i.bind(null,"is-info"),i.bind(null,"is-warning")),m=(e=__("Updating settings…","jetpack-search-pkg"))=>i("is-info",e,{duration:3e4,id:"search-updating-settings"}),g=()=>l("search-updating-settings"),h={createNotice:i,removeNotice:l,successNotice:p,errorNotice:u,warningNotice:d,updatingNotice:m,removeUpdatingNotice:g}},1473:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(6450);const a=(e={notices:[]},t)=>{switch(t.type){case n.Op:return{...e,notices:[...e.notices,t.notice]};case n.I4:return{...e,notices:e.notices.filter((e=>e.id!==t.notice.id))}}return e}},8179:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});const n={getNotices:e=>e.notices.notices??[]}},2948:(e,t,r)=>{"use strict";r.d(t,{A:()=>c});var n=r(6461),a=r(1609),s=r.n(a);function c(){return s().createElement(n.A,{className:"jp-search-dashboard-page-loading-spinner",color:"#000",size:32})}},3030:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(1609),a=r.n(n),s=r(7543),c=r(8160);function o({supportsInstantSearch:e=!0,supportsOnlyClassicSearch:t=!1}){const r=t&&!e;return a().createElement(n.Fragment,null,r&&a().createElement(c.A,null),!r&&a().createElement(s.A,null))}},7543:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(1883),a=r(7723),s=r(1609),c=r.n(s),o=r(7717);const __=a.__;function i(){return c().createElement("div",{className:"jp-mocked-instant-search","aria-hidden":"true"},c().createElement("div",{className:"jp-mocked-instant-search__search-controls"},c().createElement("div",{className:"jp-mocked-instant-search__search-icon"},c().createElement(n.A,{icon:"search",size:24})),c().createElement("div",{className:"jp-mocked-instant-search__search-mock-input"},c().createElement(o.A,{style:{height:"50px",width:"80%",maxWidth:"212px"}})),c().createElement("div",{className:"jp-mocked-instant-search__close-button"},c().createElement(n.A,{icon:"cross",size:24}))),c().createElement("div",{className:"jp-mocked-instant-search__search-results"},c().createElement("div",{className:"jp-mocked-instant-search__search-results-primary"},c().createElement("div",{className:"jp-mocked-instant-search__search-results-header"},c().createElement("div",{className:"jp-mocked-instant-search__result-statistics"},/* translators: %s is replaced with the number of search results */ /* translators: %s is replaced with the number of search results */ -(0,a.sprintf)(__("Found %s results","jetpack-search-pkg"),"27")),c().createElement("div",{className:"jp-mocked-instant-search__result-sort-list"},c().createElement("span",{className:"jp-mocked-instant-search__result-sort-selected"},__("Relevance","jetpack-search-pkg")),c().createElement("span",null,"·"),c().createElement("span",null,__("Newest","jetpack-search-pkg")),c().createElement("span",null,"·"),c().createElement("span",null,__("Oldest","jetpack-search-pkg")))),c().createElement("div",{className:"jp-mocked-instant-search__search-results-content"},c().createElement(p,null),c().createElement(p,null),c().createElement(p,null))),c().createElement("div",{className:"jp-mocked-instant-search__search-results-secondary"},c().createElement("div",{className:"jp-mocked-instant-search__search-filter-header"},__("Filter options","jetpack-search-pkg")),c().createElement("div",{className:"jp-mocked-instant-search__search-filter-list"},c().createElement(l,null),c().createElement(l,null)))))}const l=()=>c().createElement("div",{className:"jp-mocked-instant-search__search-filter"},c().createElement("label",null,c().createElement("input",{type:"checkbox",disabled:"disabled"})," ",c().createElement(o.A,{style:{width:"30%"}}))),p=()=>c().createElement("div",{className:"jp-mocked-instant-search__search-result"},c().createElement(o.A,{style:{height:"2.5em",width:"50%",maxWidth:"200px",margin:"0.1em 0.1em 1em 0.1em"}}),c().createElement(o.A,{style:{height:"1em",width:"90%",margin:"0.1em"}}),c().createElement(o.A,{style:{height:"1em",width:"70%",margin:"0.1em"}}))},8160:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(1883),a=r(1609),s=r.n(a),c=r(7717);function o(){return s().createElement("div",{className:"jp-mocked-legacy-search","aria-hidden":"true"},s().createElement("div",{className:"jp-mocked-legacy-search__search-controls"},s().createElement("div",{className:"jp-mocked-legacy-search__search-icon"},s().createElement(n.A,{icon:"search",size:24})),s().createElement("div",{className:"jp-mocked-legacy-search__search-input"},s().createElement(c.A,{style:{height:"50px",width:"80%",maxWidth:"212px"}}))))}},7717:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(1609),a=r.n(n);const s=e=>a().createElement("div",{className:"jp-search-dashboard__text-row-placeholder",style:{display:"inline-block",borderRadius:"10px",maxHeight:"1.5em",width:"100%",height:"1em",backgroundColor:"#E9EFF3",...e.style}})},9624:(e,t,r)=>{"use strict";r.d(t,{A:()=>k});var n=r(372),a=r(8214),s=r(9384),c=r(7143),o=r(6087),i=r(7723),l=r(3022),p=r(468),u=r(7982),d=r(4092),m=r(1549),g=r(1609),h=r.n(g),f=r(8228);const __=i.__,v=__("Jetpack Search is an incredibly powerful and customizable replacement for the search capability built into WordPress that helps your visitors find the right content.","jetpack-search-pkg"),y=__("Instant search uses a dynamic overlay for lightning-fast searching, sorting, and filtering without reloading the page.","jetpack-search-pkg"),b="admin.php?page=jetpack-search";function k({siteAdminUrl:e,updateOptions:t,domain:r,isDisabledFromOverLimit:o,isSavingEitherOption:i,isModuleEnabled:p,isInstantSearchEnabled:d,isInstantSearchPromotionActive:m,supportsOnlyClassicSearch:v,supportsSearch:y,supportsInstantSearch:k,isTogglingModule:C,isTogglingInstantSearch:j}){const{isUserConnected:A}=(0,s.useConnection)({redirectUri:"admin.php?page=jetpack-search",from:"jetpack-search"}),S=(0,c.useSelect)((e=>e(f.a).isWpcom()),[]),w=(0,a.A)("jetpack_search_free",r,"admin.php?page=jetpack-search",A||S),x=(0,g.useCallback)((()=>{if(o)return;const e={module_active:!p};d!==!p&&(e.instant_search_enabled=!p&&k),t(e),n.A.tracks.recordEvent("jetpack_search_module_toggle",e)}),[k,p,t,d,o]),N=(0,g.useCallback)((()=>{if(o)return;const e={instant_search_enabled:k&&!d};e.instant_search_enabled&&(e.module_active=!0),t(e),n.A.tracks.recordEvent("jetpack_search_instant_toggle",e)}),[k,d,t,o]);return h().createElement("div",{className:(0,l.A)({"jp-form-settings-group jp-form-search-settings-group":!0,"jp-form-search-settings-group--disabled":o})},h().createElement(u.A,{className:(0,l.A)({"jp-form-has-child":!0})},h().createElement("div",{className:"jp-form-search-settings-group-inside"},h().createElement(_,{isModuleEnabled:p,isSavingEitherOption:i,isTogglingModule:C,supportsSearch:y,toggleSearchModule:x,isDisabledFromOverLimit:o}),h().createElement(E,{isInstantSearchEnabled:d,isInstantSearchPromotionActive:m,isModuleEnabled:p,isSavingEitherOption:i,isTogglingInstantSearch:j,returnUrl:e+b,supportsInstantSearch:k,supportsOnlyClassicSearch:v,toggleInstantSearch:N,upgradeUrl:w,isDisabledFromOverLimit:o}))))}const E=({isInstantSearchEnabled:e,isInstantSearchPromotionActive:t,isSavingEitherOption:r,isModuleEnabled:n,isTogglingInstantSearch:a,returnUrl:s,supportsInstantSearch:c,supportsOnlyClassicSearch:i,toggleInstantSearch:l,upgradeUrl:p,isDisabledFromOverLimit:u})=>{const f=n&&e&&c&&!u,v=r||!c||u,b=r||!n||!e||!c||u,k=r||!n||u;return h().createElement("div",{className:"jp-form-search-settings-group__toggle is-instant-search jp-search-dashboard-wrap"},h().createElement("div",{className:"jp-search-dashboard-row"},h().createElement("div",{className:"lg-col-span-2 md-col-span-1 sm-col-span-0"}),h().createElement(d.A,{checked:f,disabled:v,onChange:l,toggling:a,className:"is-search-admin",switchClassNames:"lg-col-span-1 md-col-span-1 sm-col-span-1",labelClassNames:" lg-col-span-7 md-col-span-5 sm-col-span-3","aria-label":__("Enable instant search experience (recommended)","jetpack-search-pkg")},(0,o.createInterpolateElement)(__("Enable instant search experience (recommended)","jetpack-search-pkg"),{span:h().createElement("span",null)}))),h().createElement("div",{className:"jp-search-dashboard-row"},h().createElement("div",{className:"lg-col-span-3 md-col-span-2 sm-col-span-1"}),h().createElement("div",{className:"jp-form-search-settings-group__toggle-description lg-col-span-7 md-col-span-5 sm-col-span-3"},c&&h().createElement(g.Fragment,null,h().createElement("p",{className:"jp-form-search-settings-group__toggle-explanation"},y)),!c&&t&&h().createElement(m.A,{href:p,upgrade:i})),h().createElement("div",{className:"lg-col-span-2 md-col-span-1 sm-col-span-0"})),c&&h().createElement(C,{isInstantSearchCustomizeButtonDisabled:b,isWidgetsEditorButtonDisabled:k,returnUrl:s}))},C=({isInstantSearchCustomizeButtonDisabled:e,isWidgetsEditorButtonDisabled:t,returnUrl:r})=>h().createElement("div",{className:"jp-form-search-settings-group-buttons jp-search-dashboard-row"},h().createElement("div",{className:"lg-col-span-3 md-col-span-2 sm-col-span-1"}),h().createElement(p.A,{className:"jp-form-search-settings-group-buttons__button is-customize-search lg-col-span-4 md-col-span-5 sm-col-span-3",href:e?void 0:(0,i.sprintf)("admin.php?page=jetpack-search-configure",encodeURIComponent(r)),disabled:e},h().createElement("span",null,__("Customize search results","jetpack-search-pkg"))),h().createElement("div",{className:"lg-col-span-0 md-col-span-1 sm-col-span-0"}),h().createElement("div",{className:"lg-col-span-0 md-col-span-2 sm-col-span-1"}),h().createElement(p.A,{className:"jp-form-search-settings-group-buttons__button is-widgets-editor lg-col-span-3 md-col-span-5 sm-col-span-3",href:t?void 0:(0,i.sprintf)("widgets.php",encodeURIComponent(r)),disabled:t},h().createElement("span",null,__("Edit sidebar widgets","jetpack-search-pkg"))),h().createElement("div",{className:"lg-col-span-2 md-col-span-1 sm-col-span-0"})),_=({isModuleEnabled:e,isSavingEitherOption:t,isTogglingModule:r,supportsSearch:n,toggleSearchModule:a,isDisabledFromOverLimit:s})=>{const c=e&&n&&!s,o=t||!n||s;return h().createElement("div",{className:"jp-form-search-settings-group__toggle is-search jp-search-dashboard-wrap"},h().createElement("div",{className:"jp-search-dashboard-row"},h().createElement("div",{className:"lg-col-span-2 md-col-span-1 sm-col-span-0"}),h().createElement(d.A,{checked:c,disabled:o,onChange:a,toggling:r,className:"is-search-admin",switchClassNames:"lg-col-span-1 md-col-span-1 sm-col-span-1",labelClassNames:" lg-col-span-7 md-col-span-5 sm-col-span-3","aria-label":__("Enable Jetpack Search","jetpack-search-pkg")},__("Enable Jetpack Search","jetpack-search-pkg")),h().createElement("div",{className:"lg-col-span-2 md-col-span-1 sm-col-span-0"})),h().createElement("div",{className:"jp-search-dashboard-row"},h().createElement("div",{className:"lg-col-span-3 md-col-span-2 sm-col-span-1"}),h().createElement("div",{className:"jp-form-search-settings-group__toggle-description lg-col-span-7 md-col-span-5 sm-col-span-3"},h().createElement("p",{className:"jp-form-search-settings-group__toggle-explanation"},v)),h().createElement("div",{className:"lg-col-span-2 md-col-span-1 sm-col-span-0"})))}},8420:(e,t,r)=>{"use strict";r.d(t,{A:()=>u});var n=r(1883),a=r(3022),s=r(6418),c=r.n(s),o=r(5739),i=r.n(o),l=r(1609),p=r.n(l);class u extends p().Component{static displayName="SimpleNotice";static defaultProps={duration:0,status:null,showDismiss:!0,className:"",onDismissClick:c()};static propTypes={status:i().string,showDismiss:i().bool,isCompact:i().bool,duration:i().number,text:i().oneOfType([i().oneOfType([i().string,i().node]),i().arrayOf(i().oneOfType([i().string,i().node]))]),icon:i().string,onDismissClick:i().func,className:i().string};dismissTimeout=null;componentDidMount(){this.props.duration>0&&(this.dismissTimeout=setTimeout(this.props.onDismissClick,this.props.duration))}componentWillUnmount(){this.dismissTimeout&&clearTimeout(this.dismissTimeout)}getIcon=()=>{let e;switch(this.props.status){case"is-info":default:e="info";break;case"is-success":e="checkmark";break;case"is-error":case"is-warning":e="notice"}return e};clearText=e=>"string"==typeof e?e.replace(/(<([^>]+)>)/gi,""):e;onKeyDownCallback=e=>t=>{13!==t.which&&32!==t.which||e&&e(t)};render(){const{children:e,className:t,icon:r,isCompact:s,onDismissClick:c,showDismiss:o=!s,status:i,text:l,dismissText:u}=this.props,d=(0,a.A)("dops-notice",i,t,{"is-compact":s,"is-dismissable":o});return p().createElement("div",{className:d},p().createElement("span",{className:"dops-notice__icon-wrapper"},p().createElement(n.A,{className:"dops-notice__icon",icon:r||this.getIcon(),size:24})),p().createElement("span",{className:"dops-notice__content"},p().createElement("span",{className:"dops-notice__text"},l?this.clearText(l):e)),l?e:null,o&&p().createElement("span",{role:"button",onKeyDown:this.onKeyDownCallback(c),tabIndex:"0",className:"dops-notice__dismiss",onClick:c},p().createElement(n.A,{icon:"cross",size:24}),p().createElement("span",{className:"dops-notice__screen-reader-text screen-reader-text"},u)))}}},8423:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(1883),a=r(5739),s=r.n(a),c=r(1609),o=r.n(c);class i extends o().Component{static displayName="NoticeAction";static propTypes={href:s().string,onClick:s().func,external:s().bool,icon:s().string};static defaultProps={external:!1};render(){const e={className:"dops-notice__action",href:this.props.href,onClick:this.props.onClick};return this.props.external&&(e.target="_blank"),o().createElement("a",e,o().createElement("span",null,this.props.children),this.props.icon&&o().createElement(n.A,{icon:this.props.icon,size:24}),this.props.external&&o().createElement(n.A,{icon:"external",size:24}))}}},684:(e,t,r)=>{"use strict";r.d(t,{A:()=>h});var n=r(766),a=r(5918),s=r(8509),c=r(3924),o=r(9384),i=r(7143),l=r(7723),p=r(2948),u=r(8232),d=r(1609),m=r.n(d),g=r(8228);const __=l.__;function h({isLoading:e=!1}){(0,i.useSelect)((e=>e(g.a).getSearchPricing()),[]);const t=(0,i.useSelect)((t=>t(g.a).isResolving("getSearchPricing")||!t(g.a).hasStartedResolution("getSearchPricing")||e),[e]);return m().createElement(m().Fragment,null,t&&m().createElement(p.A,null),!t&&m().createElement("div",{className:"jp-search-dashboard-connection-screen"},m().createElement(n.A,null,m().createElement(a.A,{horizontalSpacing:3,horizontalGap:3},m().createElement(s.A,{lg:12,md:8,sm:4},m().createElement(v,null)),m().createElement(s.A,{lg:12,md:8,sm:4},m().createElement(f,null))))))}const f=()=>m().createElement("div",{className:"jp-search-dashboard-connection-footer"},m().createElement("p",{className:"jp-search-dashboard-connection-footer__text"},__("Special introductory pricing, all renewals are at full price. 14 day money back guarantee.","jetpack-search-pkg")),m().createElement("p",{className:"jp-search-dashboard-connection-footer__text"},"*"," ",__("Pricing will automatically adjust based on the number of records in your search index.","jetpack-search-pkg")," ",m().createElement("a",{href:(0,c.A)("search-product-pricing"),className:"jp-search-dashboard-connection-footer__link"},__("Learn more","jetpack-search-pkg")))),v=()=>{const e=(0,i.useSelect)((e=>e(g.a).getAPINonce()),[]),t=(0,i.useSelect)((e=>e(g.a).getAPIRootUrl()),[]),r=(0,i.useSelect)((e=>e(g.a).getPriceBefore()),[]),n=(0,i.useSelect)((e=>e(g.a).getPriceAfter()),[]),a=(0,i.useSelect)((e=>e(g.a).getPriceCurrencyCode()),[]),s=(0,i.useSelect)((e=>e(g.a).getRegistrationNonce()),[]),{fetchSearchPlanInfo:c}=(0,i.useDispatch)(g.a),l=(0,d.useCallback)((()=>c().then((e=>e?.supports_search))),[c]);return m().createElement(o.ConnectScreenRequiredPlan,{buttonLabel:__("Get Jetpack Search","jetpack-search-pkg"),priceAfter:n/12,priceBefore:r/12,pricingCurrencyCode:a,pricingIcon:"data:image/svg+xml,%3Csvg width='32' height='32' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' 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' fill='%23000'/%3E%3C/svg%3E",pricingTitle:__("Jetpack Search","jetpack-search-pkg"),title:__("The best WordPress search experience","jetpack-search-pkg"),apiRoot:t,apiNonce:e,registrationNonce:s,from:"jetpack-search",redirectUri:"admin.php?page=jetpack-search",wpcomProductSlug:"jetpack_search",siteProductAvailabilityHandler:l},m().createElement(u.A,null))}},5214:(e,t,r)=>{"use strict";r.d(t,{A:()=>C});var n=r(8214),a=r(5918),s=r(8509),c=r(8250),o=r(4149),i=r(1112),l=r(9384),p=r(7143),u=r(7723),d=r(2121),m=r(2948),g=r(3030),h=r(9624),f=r(7011),v=r(1609),y=r.n(v),b=r(8228),k=r(3795),E=r(5998);const __=u.__;function C({isLoading:e=!1}){(0,p.useSelect)((e=>e(b.a).getSearchPlanInfo()),[]),(0,p.useSelect)((e=>e(b.a).getSearchModuleStatus()),[]),(0,p.useSelect)((e=>e(b.a).getSearchStats()),[]);const t=(0,p.useSelect)((e=>e(b.a).getCalypsoSlug())),r=(0,p.useSelect)((e=>e(b.a).getBlogId())),c=(0,p.useSelect)((e=>e(b.a).getSiteAdminUrl())),{hasConnectionError:o}=(0,l.useConnectionErrorNotice)(),i=()=>{const e=(0,n.A)("jetpack_search",r||t,"admin.php?page=jetpack-search&just_upgraded=1",!0);window.location.href=e},u=(0,p.useSelect)((t=>t(b.a).isResolving("getSearchModuleStatus")||!t(b.a).hasStartedResolution("getSearchModuleStatus")||t(b.a).isResolving("getSearchStats")||!t(b.a).hasStartedResolution("getSearchStats")||t(b.a).isResolving("getSearchPlanInfo")||!t(b.a).hasStartedResolution("getSearchPlanInfo")||e),[e]),g=(0,p.useSelect)((e=>e(b.a).isNewPricing202208()),[]),v=(0,p.useSelect)((e=>e(b.a).isFreePlan())),k=(0,p.useSelect)((e=>e(b.a).isOverLimit())),E=(0,p.useDispatch)(b.a).updateJetpackSettings,C=(0,p.useSelect)((e=>e(b.a).isInstantSearchPromotionActive())),w=(0,p.useSelect)((e=>e(b.a).supportsOnlyClassicSearch())),x=(0,p.useSelect)((e=>e(b.a).supportsSearch())),N=(0,p.useSelect)((e=>e(b.a).supportsInstantSearch())),P=(0,p.useSelect)((e=>e(b.a).isModuleEnabled())),R=(0,p.useSelect)((e=>e(b.a).isInstantSearchEnabled())),I=(0,p.useSelect)((e=>e(b.a).isUpdatingJetpackSettings())),O=(0,p.useSelect)((e=>e(b.a).isTogglingModule())),T=(0,p.useSelect)((e=>e(b.a).isTogglingInstantSearch())),M=(0,p.useSelect)((e=>e(b.a).getTierMaximumRecords())),z=(0,p.useSelect)((e=>e(b.a).getPostCount())),D=(0,p.useSelect)((e=>e(b.a).getPostTypeBreakdown())),L=(0,p.useSelect)((e=>e(b.a).getLastIndexedDate())),U=(0,p.useSelect)((e=>e(b.a).getPostTypes())),F=(0,p.useDispatch)(b.a).removeNotice,B=(0,p.useSelect)((e=>e(b.a).getNotices()),[]),V={lastIndexedDate:L,postCount:z,postTypeBreakdown:D,postTypes:U,tierMaximumRecords:M};return y().createElement(y().Fragment,null,y().createElement(a.A,{horizontalSpacing:0},y().createElement(s.A,null,y().createElement("div",{id:"jp-admin-notices",className:"jetpack-search-jitm-card"}))),u&&y().createElement(m.A,null),!u&&y().createElement("div",{className:"jp-search-dashboard-page"},y().createElement(S,{isUpgradable:g&&v||!N,sendPaidPlanToCart:i}),o&&y().createElement(a.A,{horizontalSpacing:3,horizontalGap:3},y().createElement(s.A,{lg:12,md:12,sm:12},y().createElement(l.ConnectionError,null))),y().createElement(j,{supportsInstantSearch:N,supportsOnlyClassicSearch:w}),g&&N&&y().createElement(_,{hasIndex:0!==z,recordMeterInfo:V,isFreePlan:v,sendPaidPlanToCart:i}),!g&&N&&y().createElement(f.A,{postCount:z,postTypeBreakdown:D,tierMaximumRecords:M,lastIndexedDate:L,postTypes:U}),y().createElement("div",{className:"jp-search-dashboard-bottom"},y().createElement(h.A,{siteAdminUrl:c,updateOptions:E,domain:t,isDisabledFromOverLimit:k,isInstantSearchPromotionActive:C,supportsOnlyClassicSearch:w,supportsSearch:x,supportsInstantSearch:N,isModuleEnabled:P,isInstantSearchEnabled:R,isSavingEitherOption:I,isTogglingModule:O,isTogglingInstantSearch:T})),y().createElement(A,null),y().createElement(d.A,{notices:B,handleLocalNoticeDismissClick:F})))}const _=({hasIndex:e,recordMeterInfo:t,isFreePlan:r,sendPaidPlanToCart:n})=>{const a=(0,p.useSelect)((e=>e(b.a).getSiteTitle()))||"your site",s={currentPlan:(0,p.useSelect)((e=>e(b.a).getCurrentPlan())),currentUsage:(0,p.useSelect)((e=>e(b.a).getCurrentUsage())),latestMonthRequests:(0,p.useSelect)((e=>e(b.a).getLatestMonthRequests())),isFreePlan:r},c=(0,p.useSelect)((e=>e(b.a).isPlanJustUpgraded()),[]);return y().createElement(y().Fragment,null,!e&&y().createElement(k.A,{siteTitle:a,planInfo:s}),e&&y().createElement(y().Fragment,null,y().createElement(E.A,{isFreePlan:r,isPlanJustUpgraded:c,planInfo:s,sendPaidPlanToCart:n}),y().createElement(f.A,{postCount:t.postCount,postTypeBreakdown:t.postTypeBreakdown,tierMaximumRecords:t.tierMaximumRecords,lastIndexedDate:t.lastIndexedDate,postTypes:t.postTypes})))},j=({supportsInstantSearch:e,supportsOnlyClassicSearch:t})=>y().createElement("div",{className:"jp-search-dashboard-top jp-search-dashboard-wrap"},y().createElement("div",{className:"jp-search-dashboard-row"},y().createElement("div",{className:"jp-search-dashboard-top__title lg-col-span-6 md-col-span-7 sm-col-span-4"},y().createElement("h1",null,__("Help your visitors find exactly what they're looking for, fast","jetpack-search-pkg"))),y().createElement("div",{className:" lg-col-span-6 md-col-span-1 sm-col-span-0"})),y().createElement("div",{className:"jp-search-dashboard-row","aria-hidden":"true"},y().createElement("div",{className:"lg-col-span-1 md-col-span-1 sm-col-span-0"}),y().createElement("div",{className:"jp-search-dashboard-top__mocked-search-interface lg-col-span-10 md-col-span-6 sm-col-span-4"},y().createElement(g.A,{supportsInstantSearch:e,supportsOnlyClassicSearch:t})),y().createElement("div",{className:"lg-col-span-1 md-col-span-1 sm-col-span-0"}))),A=()=>y().createElement("div",{className:"jp-search-dashboard-footer jp-search-dashboard-wrap"},y().createElement("div",{className:"jp-search-dashboard-row"},y().createElement(c.A,{moduleName:__("Jetpack Search","jetpack-search-pkg"),className:"lg-col-span-12 md-col-span-8 sm-col-span-4"}))),S=({isUpgradable:e,sendPaidPlanToCart:t})=>{const r={children:__("Upgrade Jetpack Search","jetpack-search-pkg"),variant:"link",onClick:t};return y().createElement("div",{className:"jp-search-dashboard-header jp-search-dashboard-wrap"},y().createElement("div",{className:"jp-search-dashboard-row"},y().createElement("div",{className:"lg-col-span-12 md-col-span-8 sm-col-span-4"},y().createElement("div",{className:"jp-search-dashboard-header__logo-container"},y().createElement(o.A,{className:"jp-search-dashboard-header__masthead"}),e&&y().createElement(i.A,r)))))}},3795:(e,t,r)=>{"use strict";r.d(t,{A:()=>d});var n=r(723),a=r(7319),s=r(7723),c=r(8420),o=r(1609),i=r.n(o),l=r(6893);const __=s.__,p=({siteTitle:e})=>i().createElement("div",null,i().createElement("h3",null,(0,s.sprintf)( +(0,a.sprintf)(__("Found %s results","jetpack-search-pkg"),"27")),c().createElement("div",{className:"jp-mocked-instant-search__result-sort-list"},c().createElement("span",{className:"jp-mocked-instant-search__result-sort-selected"},__("Relevance","jetpack-search-pkg")),c().createElement("span",null,"·"),c().createElement("span",null,__("Newest","jetpack-search-pkg")),c().createElement("span",null,"·"),c().createElement("span",null,__("Oldest","jetpack-search-pkg")))),c().createElement("div",{className:"jp-mocked-instant-search__search-results-content"},c().createElement(p,null),c().createElement(p,null),c().createElement(p,null))),c().createElement("div",{className:"jp-mocked-instant-search__search-results-secondary"},c().createElement("div",{className:"jp-mocked-instant-search__search-filter-header"},__("Filter options","jetpack-search-pkg")),c().createElement("div",{className:"jp-mocked-instant-search__search-filter-list"},c().createElement(l,null),c().createElement(l,null)))))}const l=()=>{const e=(0,s.useId)();return c().createElement("div",{className:"jp-mocked-instant-search__search-filter"},c().createElement("label",{htmlFor:e},c().createElement("input",{id:e,type:"checkbox",disabled:"disabled"})," ",c().createElement(o.A,{style:{width:"30%"}})))},p=()=>c().createElement("div",{className:"jp-mocked-instant-search__search-result"},c().createElement(o.A,{style:{height:"2.5em",width:"50%",maxWidth:"200px",margin:"0.1em 0.1em 1em 0.1em"}}),c().createElement(o.A,{style:{height:"1em",width:"90%",margin:"0.1em"}}),c().createElement(o.A,{style:{height:"1em",width:"70%",margin:"0.1em"}}))},8160:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(1883),a=r(1609),s=r.n(a),c=r(7717);function o(){return s().createElement("div",{className:"jp-mocked-legacy-search","aria-hidden":"true"},s().createElement("div",{className:"jp-mocked-legacy-search__search-controls"},s().createElement("div",{className:"jp-mocked-legacy-search__search-icon"},s().createElement(n.A,{icon:"search",size:24})),s().createElement("div",{className:"jp-mocked-legacy-search__search-input"},s().createElement(c.A,{style:{height:"50px",width:"80%",maxWidth:"212px"}}))))}},7717:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(1609),a=r.n(n);const s=e=>a().createElement("div",{className:"jp-search-dashboard__text-row-placeholder",style:{display:"inline-block",borderRadius:"10px",maxHeight:"1.5em",width:"100%",height:"1em",backgroundColor:"#E9EFF3",...e.style}})},9624:(e,t,r)=>{"use strict";r.d(t,{A:()=>k});var n=r(372),a=r(8214),s=r(9384),c=r(7143),o=r(6087),i=r(7723),l=r(3022),p=r(468),u=r(7982),d=r(4092),m=r(1549),g=r(1609),h=r.n(g),f=r(8228);const __=i.__,v=__("Jetpack Search is an incredibly powerful and customizable replacement for the search capability built into WordPress that helps your visitors find the right content.","jetpack-search-pkg"),y=__("Instant search uses a dynamic overlay for lightning-fast searching, sorting, and filtering without reloading the page.","jetpack-search-pkg"),b="admin.php?page=jetpack-search";function k({siteAdminUrl:e,updateOptions:t,domain:r,isDisabledFromOverLimit:o,isSavingEitherOption:i,isModuleEnabled:p,isInstantSearchEnabled:d,isInstantSearchPromotionActive:m,supportsOnlyClassicSearch:v,supportsSearch:y,supportsInstantSearch:k,isTogglingModule:C,isTogglingInstantSearch:j}){const{isUserConnected:A}=(0,s.useConnection)({redirectUri:"admin.php?page=jetpack-search",from:"jetpack-search"}),S=(0,c.useSelect)((e=>e(f.a).isWpcom()),[]),w=(0,a.A)("jetpack_search_free",r,"admin.php?page=jetpack-search",A||S),x=(0,g.useCallback)((()=>{if(o)return;const e={module_active:!p};d!==!p&&(e.instant_search_enabled=!p&&k),t(e),n.A.tracks.recordEvent("jetpack_search_module_toggle",e)}),[k,p,t,d,o]),N=(0,g.useCallback)((()=>{if(o)return;const e={instant_search_enabled:k&&!d};e.instant_search_enabled&&(e.module_active=!0),t(e),n.A.tracks.recordEvent("jetpack_search_instant_toggle",e)}),[k,d,t,o]);return h().createElement("div",{className:(0,l.A)({"jp-form-settings-group jp-form-search-settings-group":!0,"jp-form-search-settings-group--disabled":o})},h().createElement(u.A,{className:(0,l.A)({"jp-form-has-child":!0})},h().createElement("div",{className:"jp-form-search-settings-group-inside"},h().createElement(_,{isModuleEnabled:p,isSavingEitherOption:i,isTogglingModule:C,supportsSearch:y,toggleSearchModule:x,isDisabledFromOverLimit:o}),h().createElement(E,{isInstantSearchEnabled:d,isInstantSearchPromotionActive:m,isModuleEnabled:p,isSavingEitherOption:i,isTogglingInstantSearch:j,returnUrl:e+b,supportsInstantSearch:k,supportsOnlyClassicSearch:v,toggleInstantSearch:N,upgradeUrl:w,isDisabledFromOverLimit:o}))))}const E=({isInstantSearchEnabled:e,isInstantSearchPromotionActive:t,isSavingEitherOption:r,isModuleEnabled:n,isTogglingInstantSearch:a,returnUrl:s,supportsInstantSearch:c,supportsOnlyClassicSearch:i,toggleInstantSearch:l,upgradeUrl:p,isDisabledFromOverLimit:u})=>{const f=n&&e&&c&&!u,v=r||!c||u,b=r||!n||!e||!c||u,k=r||!n||u;return h().createElement("div",{className:"jp-form-search-settings-group__toggle is-instant-search jp-search-dashboard-wrap"},h().createElement("div",{className:"jp-search-dashboard-row"},h().createElement("div",{className:"lg-col-span-2 md-col-span-1 sm-col-span-0"}),h().createElement(d.A,{checked:f,disabled:v,onChange:l,toggling:a,className:"is-search-admin",switchClassNames:"lg-col-span-1 md-col-span-1 sm-col-span-1",labelClassNames:" lg-col-span-7 md-col-span-5 sm-col-span-3","aria-label":__("Enable instant search experience (recommended)","jetpack-search-pkg")},(0,o.createInterpolateElement)(__("Enable instant search experience (recommended)","jetpack-search-pkg"),{span:h().createElement("span",null)}))),h().createElement("div",{className:"jp-search-dashboard-row"},h().createElement("div",{className:"lg-col-span-3 md-col-span-2 sm-col-span-1"}),h().createElement("div",{className:"jp-form-search-settings-group__toggle-description lg-col-span-7 md-col-span-5 sm-col-span-3"},c&&h().createElement(g.Fragment,null,h().createElement("p",{className:"jp-form-search-settings-group__toggle-explanation"},y)),!c&&t&&h().createElement(m.A,{href:p,upgrade:i})),h().createElement("div",{className:"lg-col-span-2 md-col-span-1 sm-col-span-0"})),c&&h().createElement(C,{isInstantSearchCustomizeButtonDisabled:b,isWidgetsEditorButtonDisabled:k,returnUrl:s}))},C=({isInstantSearchCustomizeButtonDisabled:e,isWidgetsEditorButtonDisabled:t,returnUrl:r})=>h().createElement("div",{className:"jp-form-search-settings-group-buttons jp-search-dashboard-row"},h().createElement("div",{className:"lg-col-span-3 md-col-span-2 sm-col-span-1"}),h().createElement(p.A,{className:"jp-form-search-settings-group-buttons__button is-customize-search lg-col-span-4 md-col-span-5 sm-col-span-3",href:e?void 0:(0,i.sprintf)("admin.php?page=jetpack-search-configure",encodeURIComponent(r)),disabled:e},h().createElement("span",null,__("Customize search results","jetpack-search-pkg"))),h().createElement("div",{className:"lg-col-span-0 md-col-span-1 sm-col-span-0"}),h().createElement("div",{className:"lg-col-span-0 md-col-span-2 sm-col-span-1"}),h().createElement(p.A,{className:"jp-form-search-settings-group-buttons__button is-widgets-editor lg-col-span-3 md-col-span-5 sm-col-span-3",href:t?void 0:(0,i.sprintf)("widgets.php",encodeURIComponent(r)),disabled:t},h().createElement("span",null,__("Edit sidebar widgets","jetpack-search-pkg"))),h().createElement("div",{className:"lg-col-span-2 md-col-span-1 sm-col-span-0"})),_=({isModuleEnabled:e,isSavingEitherOption:t,isTogglingModule:r,supportsSearch:n,toggleSearchModule:a,isDisabledFromOverLimit:s})=>{const c=e&&n&&!s,o=t||!n||s;return h().createElement("div",{className:"jp-form-search-settings-group__toggle is-search jp-search-dashboard-wrap"},h().createElement("div",{className:"jp-search-dashboard-row"},h().createElement("div",{className:"lg-col-span-2 md-col-span-1 sm-col-span-0"}),h().createElement(d.A,{checked:c,disabled:o,onChange:a,toggling:r,className:"is-search-admin",switchClassNames:"lg-col-span-1 md-col-span-1 sm-col-span-1",labelClassNames:" lg-col-span-7 md-col-span-5 sm-col-span-3","aria-label":__("Enable Jetpack Search","jetpack-search-pkg")},__("Enable Jetpack Search","jetpack-search-pkg")),h().createElement("div",{className:"lg-col-span-2 md-col-span-1 sm-col-span-0"})),h().createElement("div",{className:"jp-search-dashboard-row"},h().createElement("div",{className:"lg-col-span-3 md-col-span-2 sm-col-span-1"}),h().createElement("div",{className:"jp-form-search-settings-group__toggle-description lg-col-span-7 md-col-span-5 sm-col-span-3"},h().createElement("p",{className:"jp-form-search-settings-group__toggle-explanation"},v)),h().createElement("div",{className:"lg-col-span-2 md-col-span-1 sm-col-span-0"})))}},8420:(e,t,r)=>{"use strict";r.d(t,{A:()=>u});var n=r(1883),a=r(3022),s=r(6418),c=r.n(s),o=r(5739),i=r.n(o),l=r(1609),p=r.n(l);class u extends p().Component{static displayName="SimpleNotice";static defaultProps={duration:0,status:null,showDismiss:!0,className:"",onDismissClick:c()};static propTypes={status:i().string,showDismiss:i().bool,isCompact:i().bool,duration:i().number,text:i().oneOfType([i().oneOfType([i().string,i().node]),i().arrayOf(i().oneOfType([i().string,i().node]))]),icon:i().string,onDismissClick:i().func,className:i().string};dismissTimeout=null;componentDidMount(){this.props.duration>0&&(this.dismissTimeout=setTimeout(this.props.onDismissClick,this.props.duration))}componentWillUnmount(){this.dismissTimeout&&clearTimeout(this.dismissTimeout)}getIcon=()=>{let e;switch(this.props.status){case"is-info":default:e="info";break;case"is-success":e="checkmark";break;case"is-error":case"is-warning":e="notice"}return e};clearText=e=>"string"==typeof e?e.replace(/(<([^>]+)>)/gi,""):e;onKeyDownCallback=e=>t=>{13!==t.which&&32!==t.which||e&&e(t)};render(){const{children:e,className:t,icon:r,isCompact:s,onDismissClick:c,showDismiss:o=!s,status:i,text:l,dismissText:u}=this.props,d=(0,a.A)("dops-notice",i,t,{"is-compact":s,"is-dismissable":o});return p().createElement("div",{className:d},p().createElement("span",{className:"dops-notice__icon-wrapper"},p().createElement(n.A,{className:"dops-notice__icon",icon:r||this.getIcon(),size:24})),p().createElement("span",{className:"dops-notice__content"},p().createElement("span",{className:"dops-notice__text"},l?this.clearText(l):e)),l?e:null,o&&p().createElement("span",{role:"button",onKeyDown:this.onKeyDownCallback(c),tabIndex:"0",className:"dops-notice__dismiss",onClick:c},p().createElement(n.A,{icon:"cross",size:24}),p().createElement("span",{className:"dops-notice__screen-reader-text screen-reader-text"},u)))}}},8423:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(1883),a=r(5739),s=r.n(a),c=r(1609),o=r.n(c);class i extends o().Component{static displayName="NoticeAction";static propTypes={href:s().string,onClick:s().func,external:s().bool,icon:s().string};static defaultProps={external:!1};render(){const e={className:"dops-notice__action",href:this.props.href,onClick:this.props.onClick};return this.props.external&&(e.target="_blank"),o().createElement("a",e,o().createElement("span",null,this.props.children),this.props.icon&&o().createElement(n.A,{icon:this.props.icon,size:24}),this.props.external&&o().createElement(n.A,{icon:"external",size:24}))}}},684:(e,t,r)=>{"use strict";r.d(t,{A:()=>h});var n=r(766),a=r(5918),s=r(8509),c=r(3924),o=r(9384),i=r(7143),l=r(7723),p=r(2948),u=r(8232),d=r(1609),m=r.n(d),g=r(8228);const __=l.__;function h({isLoading:e=!1}){(0,i.useSelect)((e=>e(g.a).getSearchPricing()),[]);const t=(0,i.useSelect)((t=>t(g.a).isResolving("getSearchPricing")||!t(g.a).hasStartedResolution("getSearchPricing")||e),[e]);return m().createElement(m().Fragment,null,t&&m().createElement(p.A,null),!t&&m().createElement("div",{className:"jp-search-dashboard-connection-screen"},m().createElement(n.A,null,m().createElement(a.A,{horizontalSpacing:3,horizontalGap:3},m().createElement(s.A,{lg:12,md:8,sm:4},m().createElement(v,null)),m().createElement(s.A,{lg:12,md:8,sm:4},m().createElement(f,null))))))}const f=()=>m().createElement("div",{className:"jp-search-dashboard-connection-footer"},m().createElement("p",{className:"jp-search-dashboard-connection-footer__text"},__("Special introductory pricing, all renewals are at full price. 14 day money back guarantee.","jetpack-search-pkg")),m().createElement("p",{className:"jp-search-dashboard-connection-footer__text"},"*"," ",__("Pricing will automatically adjust based on the number of records in your search index.","jetpack-search-pkg")," ",m().createElement("a",{href:(0,c.A)("search-product-pricing"),className:"jp-search-dashboard-connection-footer__link"},__("Learn more","jetpack-search-pkg")))),v=()=>{const e=(0,i.useSelect)((e=>e(g.a).getAPINonce()),[]),t=(0,i.useSelect)((e=>e(g.a).getAPIRootUrl()),[]),r=(0,i.useSelect)((e=>e(g.a).getPriceBefore()),[]),n=(0,i.useSelect)((e=>e(g.a).getPriceAfter()),[]),a=(0,i.useSelect)((e=>e(g.a).getPriceCurrencyCode()),[]),s=(0,i.useSelect)((e=>e(g.a).getRegistrationNonce()),[]),{fetchSearchPlanInfo:c}=(0,i.useDispatch)(g.a),l=(0,d.useCallback)((()=>c().then((e=>e?.supports_search))),[c]);return m().createElement(o.ConnectScreenRequiredPlan,{buttonLabel:__("Get Jetpack Search","jetpack-search-pkg"),priceAfter:n/12,priceBefore:r/12,pricingCurrencyCode:a,pricingIcon:"data:image/svg+xml,%3Csvg width='32' height='32' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' 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' fill='%23000'/%3E%3C/svg%3E",pricingTitle:__("Jetpack Search","jetpack-search-pkg"),title:__("The best WordPress search experience","jetpack-search-pkg"),apiRoot:t,apiNonce:e,registrationNonce:s,from:"jetpack-search",redirectUri:"admin.php?page=jetpack-search",wpcomProductSlug:"jetpack_search",siteProductAvailabilityHandler:l},m().createElement(u.A,null))}},5214:(e,t,r)=>{"use strict";r.d(t,{A:()=>C});var n=r(8214),a=r(5918),s=r(8509),c=r(8250),o=r(4149),i=r(1112),l=r(9384),p=r(7143),u=r(7723),d=r(2121),m=r(2948),g=r(3030),h=r(9624),f=r(7011),v=r(1609),y=r.n(v),b=r(8228),k=r(3795),E=r(5998);const __=u.__;function C({isLoading:e=!1}){(0,p.useSelect)((e=>e(b.a).getSearchPlanInfo()),[]),(0,p.useSelect)((e=>e(b.a).getSearchModuleStatus()),[]),(0,p.useSelect)((e=>e(b.a).getSearchStats()),[]);const t=(0,p.useSelect)((e=>e(b.a).getCalypsoSlug())),r=(0,p.useSelect)((e=>e(b.a).getBlogId())),c=(0,p.useSelect)((e=>e(b.a).getSiteAdminUrl())),{hasConnectionError:o}=(0,l.useConnectionErrorNotice)(),i=()=>{const e=(0,n.A)("jetpack_search",r||t,"admin.php?page=jetpack-search&just_upgraded=1",!0);window.location.href=e},u=(0,p.useSelect)((t=>t(b.a).isResolving("getSearchModuleStatus")||!t(b.a).hasStartedResolution("getSearchModuleStatus")||t(b.a).isResolving("getSearchStats")||!t(b.a).hasStartedResolution("getSearchStats")||t(b.a).isResolving("getSearchPlanInfo")||!t(b.a).hasStartedResolution("getSearchPlanInfo")||e),[e]),g=(0,p.useSelect)((e=>e(b.a).isNewPricing202208()),[]),v=(0,p.useSelect)((e=>e(b.a).isFreePlan())),k=(0,p.useSelect)((e=>e(b.a).isOverLimit())),E=(0,p.useDispatch)(b.a).updateJetpackSettings,C=(0,p.useSelect)((e=>e(b.a).isInstantSearchPromotionActive())),w=(0,p.useSelect)((e=>e(b.a).supportsOnlyClassicSearch())),x=(0,p.useSelect)((e=>e(b.a).supportsSearch())),N=(0,p.useSelect)((e=>e(b.a).supportsInstantSearch())),P=(0,p.useSelect)((e=>e(b.a).isModuleEnabled())),R=(0,p.useSelect)((e=>e(b.a).isInstantSearchEnabled())),I=(0,p.useSelect)((e=>e(b.a).isUpdatingJetpackSettings())),O=(0,p.useSelect)((e=>e(b.a).isTogglingModule())),T=(0,p.useSelect)((e=>e(b.a).isTogglingInstantSearch())),M=(0,p.useSelect)((e=>e(b.a).getTierMaximumRecords())),z=(0,p.useSelect)((e=>e(b.a).getPostCount())),D=(0,p.useSelect)((e=>e(b.a).getPostTypeBreakdown())),L=(0,p.useSelect)((e=>e(b.a).getLastIndexedDate())),U=(0,p.useSelect)((e=>e(b.a).getPostTypes())),F=(0,p.useDispatch)(b.a).removeNotice,B=(0,p.useSelect)((e=>e(b.a).getNotices()),[]),V={lastIndexedDate:L,postCount:z,postTypeBreakdown:D,postTypes:U,tierMaximumRecords:M};return y().createElement(y().Fragment,null,y().createElement(a.A,{horizontalSpacing:0},y().createElement(s.A,null,y().createElement("div",{id:"jp-admin-notices",className:"jetpack-search-jitm-card"}))),u&&y().createElement(m.A,null),!u&&y().createElement("div",{className:"jp-search-dashboard-page"},y().createElement(S,{isUpgradable:g&&v||!N,sendPaidPlanToCart:i}),o&&y().createElement(a.A,{horizontalSpacing:3,horizontalGap:3},y().createElement(s.A,{lg:12,md:12,sm:12},y().createElement(l.ConnectionError,null))),y().createElement(j,{supportsInstantSearch:N,supportsOnlyClassicSearch:w}),g&&N&&y().createElement(_,{hasIndex:0!==z,recordMeterInfo:V,isFreePlan:v,sendPaidPlanToCart:i}),!g&&N&&y().createElement(f.A,{postCount:z,postTypeBreakdown:D,tierMaximumRecords:M,lastIndexedDate:L,postTypes:U}),y().createElement("div",{className:"jp-search-dashboard-bottom"},y().createElement(h.A,{siteAdminUrl:c,updateOptions:E,domain:t,isDisabledFromOverLimit:k,isInstantSearchPromotionActive:C,supportsOnlyClassicSearch:w,supportsSearch:x,supportsInstantSearch:N,isModuleEnabled:P,isInstantSearchEnabled:R,isSavingEitherOption:I,isTogglingModule:O,isTogglingInstantSearch:T})),y().createElement(A,null),y().createElement(d.A,{notices:B,handleLocalNoticeDismissClick:F})))}const _=({hasIndex:e,recordMeterInfo:t,isFreePlan:r,sendPaidPlanToCart:n})=>{const a=(0,p.useSelect)((e=>e(b.a).getSiteTitle()))||"your site",s={currentPlan:(0,p.useSelect)((e=>e(b.a).getCurrentPlan())),currentUsage:(0,p.useSelect)((e=>e(b.a).getCurrentUsage())),latestMonthRequests:(0,p.useSelect)((e=>e(b.a).getLatestMonthRequests())),isFreePlan:r},c=(0,p.useSelect)((e=>e(b.a).isPlanJustUpgraded()),[]);return y().createElement(y().Fragment,null,!e&&y().createElement(k.A,{siteTitle:a,planInfo:s}),e&&y().createElement(y().Fragment,null,y().createElement(E.A,{isFreePlan:r,isPlanJustUpgraded:c,planInfo:s,sendPaidPlanToCart:n}),y().createElement(f.A,{postCount:t.postCount,postTypeBreakdown:t.postTypeBreakdown,tierMaximumRecords:t.tierMaximumRecords,lastIndexedDate:t.lastIndexedDate,postTypes:t.postTypes})))},j=({supportsInstantSearch:e,supportsOnlyClassicSearch:t})=>y().createElement("div",{className:"jp-search-dashboard-top jp-search-dashboard-wrap"},y().createElement("div",{className:"jp-search-dashboard-row"},y().createElement("div",{className:"jp-search-dashboard-top__title lg-col-span-6 md-col-span-7 sm-col-span-4"},y().createElement("h1",null,__("Help your visitors find exactly what they're looking for, fast","jetpack-search-pkg"))),y().createElement("div",{className:" lg-col-span-6 md-col-span-1 sm-col-span-0"})),y().createElement("div",{className:"jp-search-dashboard-row","aria-hidden":"true"},y().createElement("div",{className:"lg-col-span-1 md-col-span-1 sm-col-span-0"}),y().createElement("div",{className:"jp-search-dashboard-top__mocked-search-interface lg-col-span-10 md-col-span-6 sm-col-span-4"},y().createElement(g.A,{supportsInstantSearch:e,supportsOnlyClassicSearch:t})),y().createElement("div",{className:"lg-col-span-1 md-col-span-1 sm-col-span-0"}))),A=()=>y().createElement("div",{className:"jp-search-dashboard-footer jp-search-dashboard-wrap"},y().createElement("div",{className:"jp-search-dashboard-row"},y().createElement(c.A,{moduleName:__("Jetpack Search","jetpack-search-pkg"),className:"lg-col-span-12 md-col-span-8 sm-col-span-4"}))),S=({isUpgradable:e,sendPaidPlanToCart:t})=>{const r={children:__("Upgrade Jetpack Search","jetpack-search-pkg"),variant:"link",onClick:t};return y().createElement("div",{className:"jp-search-dashboard-header jp-search-dashboard-wrap"},y().createElement("div",{className:"jp-search-dashboard-row"},y().createElement("div",{className:"lg-col-span-12 md-col-span-8 sm-col-span-4"},y().createElement("div",{className:"jp-search-dashboard-header__logo-container"},y().createElement(o.A,{className:"jp-search-dashboard-header__masthead"}),e&&y().createElement(i.A,r)))))}},3795:(e,t,r)=>{"use strict";r.d(t,{A:()=>d});var n=r(723),a=r(7319),s=r(7723),c=r(8420),o=r(1609),i=r.n(o),l=r(6893);const __=s.__,p=({siteTitle:e})=>i().createElement("div",null,i().createElement("h3",null,(0,s.sprintf)( // translators: %1$s: site name (not translated) __("Indexing %1$s","jetpack-search-pkg"),e)),i().createElement(n.Ay,null,i().createElement(a.A,null))),u=()=>{const e=__("We're gathering your usage data.","jetpack-search-pkg"),t=__("If you have recently set up Search, please allow a little time for indexing to complete.","jetpack-search-pkg");return i().createElement(c.A,{isCompact:!1,status:"is-info",className:"jp-search-notice-box",icon:"info-outline",showDismiss:!1},i().createElement("h3",{className:"dops-notice__header"},e),i().createElement("span",{className:"dops-notice__body"},t))},d=({planInfo:e,siteTitle:t})=>i().createElement("div",{className:"jp-search-dashboard-wrap jp-search-dashboard-meter-wrap"},i().createElement("div",{className:"jp-search-dashboard-row"},i().createElement("div",{className:"lg-col-span-2 md-col-span-1 sm-col-span-0"}),i().createElement("div",{className:"jp-search-dashboard-meter-wrap__content lg-col-span-8 md-col-span-6 sm-col-span-4"},i().createElement(l.A,{planInfo:e}),i().createElement(p,{siteTitle:t}),i().createElement(u,null)),i().createElement("div",{className:"lg-col-span-2 md-col-span-1 sm-col-span-0"})))},6893:(e,t,r)=>{"use strict";r.d(t,{A:()=>c});var n=r(7723),a=r(1609),s=r.n(a);const __=n.__,c=({isFreePlan:e,planInfo:t})=>s().createElement("h2",null, // translators: Header for section showing search records and requests usage. diff --git a/jetpack_vendor/i18n-map.php b/jetpack_vendor/i18n-map.php index 88eeda85..e52d35ab 100644 --- a/jetpack_vendor/i18n-map.php +++ b/jetpack_vendor/i18n-map.php @@ -66,7 +66,7 @@ ), 'jetpack-search-pkg' => array( 'path' => 'jetpack_vendor/automattic/jetpack-search', - 'ver' => '0.45.8-alpha1728575216', + 'ver' => '0.45.8-alpha1728591908', ), 'jetpack-stats' => array( 'path' => 'jetpack_vendor/automattic/jetpack-stats', diff --git a/vendor/composer/installed.json b/vendor/composer/installed.json index 4b5c0a16..1a454cfc 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": "29da586958ce9d500e42e2075bacf3cf69e3b509" + "reference": "334947e78bc63cba7e0f0094aba30195d990b200" }, "require": { "php": ">=7.0" @@ -60,7 +60,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-admin-ui", - "reference": "247c7b530af7620e8e6171086277f358324e5be4" + "reference": "462c2931985dd808af828394e5a58d0284d0f33a" }, "require": { "php": ">=7.0" @@ -125,7 +125,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-assets", - "reference": "0dd383e7eb599273d065f6742b84f362e161737e" + "reference": "547261886c9297cf5b4523964fb36d9609ef0e7b" }, "require": { "automattic/jetpack-constants": "^2.0.4", @@ -194,7 +194,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-autoloader", - "reference": "834b0745e0c17325463c3c9c7b15eb11abab49db" + "reference": "68632d1505c96e8b158327a9a7c3168bdd3917c1" }, "require": { "composer-plugin-api": "^1.1 || ^2.0", @@ -261,7 +261,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-boost-core", - "reference": "56303cfee6cbbe68c9aa60468e566ca3c08c2602" + "reference": "62691a6aea6119ffdac060e9cb65ece1edcd2aa1" }, "require": { "automattic/jetpack-connection": "^5.1.3", @@ -329,7 +329,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-boost-speed-score", - "reference": "aedcf81a2945674b8769494af1147e869909c452" + "reference": "2baea3a7198d870ad3f24e9651950eb9a6940bfb" }, "require": { "automattic/jetpack-boost-core": "^0.2.12", @@ -405,7 +405,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-composer-plugin", - "reference": "929fac5f805c7ff5369b821dd315827141d3ee78" + "reference": "df9843672e1e05bff8c47bf52f804bf7c93a2292" }, "require": { "composer-plugin-api": "^2.1.0", @@ -465,7 +465,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-config", - "reference": "0aabe7c5a2362254012795035f5d8fa4cdf3c141" + "reference": "8020d51d9911648ea02957b28c82d0dc1628429b" }, "require": { "php": ">=7.0" @@ -540,7 +540,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-connection", - "reference": "8440a9868230e5b50769ceaeec8d097f48a8e99d" + "reference": "ca03e85e86b7486fb808e3114b85481df6a0c50e" }, "require": { "automattic/jetpack-a8c-mc-stats": "^2.0.3", @@ -630,7 +630,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-constants", - "reference": "833cd5aa51981f947d5bcc1a014fb52d857682ce" + "reference": "8bdfc77c77490a3078ea7ac259b4aeb64c68aaf1" }, "require": { "php": ">=7.0" @@ -684,7 +684,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-device-detection", - "reference": "0e62e6d959e6f0480dcbeb19aca4d2f256968111" + "reference": "7c2312e2a36d5b78b56f4d64dbde024886b2691c" }, "require": { "php": ">=7.0" @@ -737,7 +737,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-explat", - "reference": "d138d08c4932941e9adb0592bf0602255f60cbac" + "reference": "78da39daa3cf1c271e04f9af9f96792b13927857" }, "require": { "automattic/jetpack-connection": "^5.1.3", @@ -812,7 +812,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-ip", - "reference": "64caf0ae8193157e295721394e8bf1067f1ba017" + "reference": "648a70406a518ec95bf3b2e85c422a2c6fa81d55" }, "require": { "php": ">=7.0" @@ -870,7 +870,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-jitm", - "reference": "a47b42653e81a7fdd0baaf2eeb94244df08811f5" + "reference": "4bc9e9b7e6cc931cab458b2816f5a972da5a57c4" }, "require": { "automattic/jetpack-a8c-mc-stats": "^2.0.3", @@ -945,7 +945,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-licensing", - "reference": "ee81cdfc6ac72de4bc19aeb67e38bf0561a1894b" + "reference": "02f74f0d574ed07f87ae67e800e7994b7f870c3a" }, "require": { "automattic/jetpack-connection": "^5.1.3", @@ -1007,7 +1007,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-logo", - "reference": "a2b135612bfa24d2ca2b57197aeb78dcfd905823" + "reference": "7b3cd0cc6d8b1fc5dc6bea2bb063ea2a2c4ab10e" }, "require": { "php": ">=7.0" @@ -1060,7 +1060,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-my-jetpack", - "reference": "d1f2a066f91689382667df76e498d85f15bbd7f1" + "reference": "a823d51c0db8de9b7f0088c6f908ebc415774907" }, "require": { "automattic/jetpack-admin-ui": "^0.4.5", @@ -1162,7 +1162,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-password-checker", - "reference": "86ea5390541e87931072c2e17532a1cb93fb14ee" + "reference": "c35feca68107393ac9bceff0f6173e6a31222000" }, "require": { "php": ">=7.0" @@ -1223,7 +1223,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-plans", - "reference": "c01b507a5c0ccb9359cd9610ceafd30d044e4ca3" + "reference": "a283bf19c25422503444bdd0aa2812dcd1dad4d0" }, "require": { "automattic/jetpack-connection": "^5.1.3", @@ -1291,7 +1291,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-plugins-installer", - "reference": "e2fecb1de375ee4fa3eef864fb96503501b5f2f8" + "reference": "32241db784a016a82f0467a82c43ec13dc799d21" }, "require": { "automattic/jetpack-a8c-mc-stats": "^2.0.3", @@ -1347,7 +1347,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-protect-models", - "reference": "162b21ebe1df7a54a32324c9970fe81700f79e47" + "reference": "a6b941e325071bb78605b94f904c3a12330108ad" }, "require": { "php": ">=7.0" @@ -1417,7 +1417,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-protect-status", - "reference": "8be905710d72fd419fe59d101add744bbbd8c9db" + "reference": "c661651bc1e1dbf5822eaa6962895d62bb4ee29a" }, "require": { "automattic/jetpack-connection": "^5.1.3", @@ -1492,7 +1492,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-redirect", - "reference": "b9944f4c2b0dadb8ac47892288cdd289f505b7d4" + "reference": "dde146d4505810000940bf7814a539f67414774b" }, "require": { "automattic/jetpack-status": "^4.0.2", @@ -1547,7 +1547,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-roles", - "reference": "ec1b16e5649784f6f73f774d195b13cf0f9673ab" + "reference": "59d01a514bbab3dcaff08df242930dc8aa54e34d" }, "require": { "php": ">=7.0" @@ -1596,12 +1596,12 @@ }, { "name": "automattic/jetpack-search", - "version": "0.45.8-alpha.1728575216", - "version_normalized": "0.45.8.0-alpha1728575216", + "version": "0.45.8-alpha.1728591908", + "version_normalized": "0.45.8.0-alpha1728591908", "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-search", - "reference": "e8767dd6e7b8eb03356b984aebc11ed35813a46b" + "reference": "efa032eedc3d319161326905e3b1e186d21a0e91" }, "require": { "automattic/jetpack-assets": "^2.3.10", @@ -1689,7 +1689,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-stats", - "reference": "5d46058efffe85323cf910bd17faf3c5b86c9c5e" + "reference": "bb5a2becfe39a7e0207369fe051e5e3ce4c01b15" }, "require": { "automattic/jetpack-connection": "^5.1.3", @@ -1756,7 +1756,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-status", - "reference": "0fe8c68175cc2669722022686da2ab1921b966f6" + "reference": "bf8f3d43e0521aaa2c6d59a9f0d7e496e48c50dc" }, "require": { "automattic/jetpack-constants": "^2.0.4", @@ -1820,7 +1820,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-sync", - "reference": "855ed8d336c6fc2dbcf7d468bc8d857b4afae2ef" + "reference": "2ea4f74c5ee8a64b2d8f354b7d5c55430a1d9b6e" }, "require": { "automattic/jetpack-connection": "^5.1.3", diff --git a/vendor/composer/installed.php b/vendor/composer/installed.php index d75e2346..ce4ad9e8 100644 --- a/vendor/composer/installed.php +++ b/vendor/composer/installed.php @@ -13,7 +13,7 @@ 'automattic/jetpack-a8c-mc-stats' => array( 'pretty_version' => '2.0.3', 'version' => '2.0.3.0', - 'reference' => '29da586958ce9d500e42e2075bacf3cf69e3b509', + 'reference' => '334947e78bc63cba7e0f0094aba30195d990b200', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-a8c-mc-stats', 'aliases' => array(), @@ -22,7 +22,7 @@ 'automattic/jetpack-admin-ui' => array( 'pretty_version' => '0.4.5', 'version' => '0.4.5.0', - 'reference' => '247c7b530af7620e8e6171086277f358324e5be4', + 'reference' => '462c2931985dd808af828394e5a58d0284d0f33a', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-admin-ui', 'aliases' => array(), @@ -31,7 +31,7 @@ 'automattic/jetpack-assets' => array( 'pretty_version' => '2.3.10', 'version' => '2.3.10.0', - 'reference' => '0dd383e7eb599273d065f6742b84f362e161737e', + 'reference' => '547261886c9297cf5b4523964fb36d9609ef0e7b', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-assets', 'aliases' => array(), @@ -40,7 +40,7 @@ 'automattic/jetpack-autoloader' => array( 'pretty_version' => '3.1.1', 'version' => '3.1.1.0', - 'reference' => '834b0745e0c17325463c3c9c7b15eb11abab49db', + 'reference' => '68632d1505c96e8b158327a9a7c3168bdd3917c1', 'type' => 'composer-plugin', 'install_path' => __DIR__ . '/../automattic/jetpack-autoloader', 'aliases' => array(), @@ -49,7 +49,7 @@ 'automattic/jetpack-boost-core' => array( 'pretty_version' => '0.2.12', 'version' => '0.2.12.0', - 'reference' => '56303cfee6cbbe68c9aa60468e566ca3c08c2602', + 'reference' => '62691a6aea6119ffdac060e9cb65ece1edcd2aa1', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-boost-core', 'aliases' => array(), @@ -58,7 +58,7 @@ 'automattic/jetpack-boost-speed-score' => array( 'pretty_version' => '0.3.12', 'version' => '0.3.12.0', - 'reference' => 'aedcf81a2945674b8769494af1147e869909c452', + 'reference' => '2baea3a7198d870ad3f24e9651950eb9a6940bfb', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-boost-speed-score', 'aliases' => array(), @@ -67,7 +67,7 @@ 'automattic/jetpack-composer-plugin' => array( 'pretty_version' => '2.0.3', 'version' => '2.0.3.0', - 'reference' => '929fac5f805c7ff5369b821dd315827141d3ee78', + 'reference' => 'df9843672e1e05bff8c47bf52f804bf7c93a2292', 'type' => 'composer-plugin', 'install_path' => __DIR__ . '/../automattic/jetpack-composer-plugin', 'aliases' => array(), @@ -76,7 +76,7 @@ 'automattic/jetpack-config' => array( 'pretty_version' => '2.0.4', 'version' => '2.0.4.0', - 'reference' => '0aabe7c5a2362254012795035f5d8fa4cdf3c141', + 'reference' => '8020d51d9911648ea02957b28c82d0dc1628429b', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-config', 'aliases' => array(), @@ -85,7 +85,7 @@ 'automattic/jetpack-connection' => array( 'pretty_version' => '5.1.3', 'version' => '5.1.3.0', - 'reference' => '8440a9868230e5b50769ceaeec8d097f48a8e99d', + 'reference' => 'ca03e85e86b7486fb808e3114b85481df6a0c50e', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-connection', 'aliases' => array(), @@ -94,7 +94,7 @@ 'automattic/jetpack-constants' => array( 'pretty_version' => '2.0.4', 'version' => '2.0.4.0', - 'reference' => '833cd5aa51981f947d5bcc1a014fb52d857682ce', + 'reference' => '8bdfc77c77490a3078ea7ac259b4aeb64c68aaf1', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-constants', 'aliases' => array(), @@ -103,7 +103,7 @@ 'automattic/jetpack-device-detection' => array( 'pretty_version' => '2.1.5', 'version' => '2.1.5.0', - 'reference' => '0e62e6d959e6f0480dcbeb19aca4d2f256968111', + 'reference' => '7c2312e2a36d5b78b56f4d64dbde024886b2691c', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-device-detection', 'aliases' => array(), @@ -112,7 +112,7 @@ 'automattic/jetpack-explat' => array( 'pretty_version' => '0.1.12-alpha.1728575216', 'version' => '0.1.12.0-alpha1728575216', - 'reference' => 'd138d08c4932941e9adb0592bf0602255f60cbac', + 'reference' => '78da39daa3cf1c271e04f9af9f96792b13927857', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-explat', 'aliases' => array(), @@ -121,7 +121,7 @@ 'automattic/jetpack-ip' => array( 'pretty_version' => '0.3.0', 'version' => '0.3.0.0', - 'reference' => '64caf0ae8193157e295721394e8bf1067f1ba017', + 'reference' => '648a70406a518ec95bf3b2e85c422a2c6fa81d55', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-ip', 'aliases' => array(), @@ -130,7 +130,7 @@ 'automattic/jetpack-jitm' => array( 'pretty_version' => '3.1.26-alpha.1728575216', 'version' => '3.1.26.0-alpha1728575216', - 'reference' => 'a47b42653e81a7fdd0baaf2eeb94244df08811f5', + 'reference' => '4bc9e9b7e6cc931cab458b2816f5a972da5a57c4', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-jitm', 'aliases' => array(), @@ -139,7 +139,7 @@ 'automattic/jetpack-licensing' => array( 'pretty_version' => '2.0.10', 'version' => '2.0.10.0', - 'reference' => 'ee81cdfc6ac72de4bc19aeb67e38bf0561a1894b', + 'reference' => '02f74f0d574ed07f87ae67e800e7994b7f870c3a', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-licensing', 'aliases' => array(), @@ -148,7 +148,7 @@ 'automattic/jetpack-logo' => array( 'pretty_version' => '2.0.4', 'version' => '2.0.4.0', - 'reference' => 'a2b135612bfa24d2ca2b57197aeb78dcfd905823', + 'reference' => '7b3cd0cc6d8b1fc5dc6bea2bb063ea2a2c4ab10e', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-logo', 'aliases' => array(), @@ -157,7 +157,7 @@ 'automattic/jetpack-my-jetpack' => array( 'pretty_version' => '4.35.13-alpha.1728575216', 'version' => '4.35.13.0-alpha1728575216', - 'reference' => 'd1f2a066f91689382667df76e498d85f15bbd7f1', + 'reference' => 'a823d51c0db8de9b7f0088c6f908ebc415774907', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-my-jetpack', 'aliases' => array(), @@ -166,7 +166,7 @@ 'automattic/jetpack-password-checker' => array( 'pretty_version' => '0.3.2', 'version' => '0.3.2.0', - 'reference' => '86ea5390541e87931072c2e17532a1cb93fb14ee', + 'reference' => 'c35feca68107393ac9bceff0f6173e6a31222000', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-password-checker', 'aliases' => array(), @@ -175,7 +175,7 @@ 'automattic/jetpack-plans' => array( 'pretty_version' => '0.4.11', 'version' => '0.4.11.0', - 'reference' => 'c01b507a5c0ccb9359cd9610ceafd30d044e4ca3', + 'reference' => 'a283bf19c25422503444bdd0aa2812dcd1dad4d0', 'type' => 'library', 'install_path' => __DIR__ . '/../automattic/jetpack-plans', 'aliases' => array(), @@ -184,7 +184,7 @@ 'automattic/jetpack-plugins-installer' => array( 'pretty_version' => '0.4.3', 'version' => '0.4.3.0', - 'reference' => 'e2fecb1de375ee4fa3eef864fb96503501b5f2f8', + 'reference' => '32241db784a016a82f0467a82c43ec13dc799d21', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-plugins-installer', 'aliases' => array(), @@ -193,7 +193,7 @@ 'automattic/jetpack-protect-models' => array( 'pretty_version' => '0.3.0', 'version' => '0.3.0.0', - 'reference' => '162b21ebe1df7a54a32324c9970fe81700f79e47', + 'reference' => 'a6b941e325071bb78605b94f904c3a12330108ad', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-protect-models', 'aliases' => array(), @@ -202,7 +202,7 @@ 'automattic/jetpack-protect-status' => array( 'pretty_version' => '0.2.0', 'version' => '0.2.0.0', - 'reference' => '8be905710d72fd419fe59d101add744bbbd8c9db', + 'reference' => 'c661651bc1e1dbf5822eaa6962895d62bb4ee29a', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-protect-status', 'aliases' => array(), @@ -211,7 +211,7 @@ 'automattic/jetpack-redirect' => array( 'pretty_version' => '2.0.4', 'version' => '2.0.4.0', - 'reference' => 'b9944f4c2b0dadb8ac47892288cdd289f505b7d4', + 'reference' => 'dde146d4505810000940bf7814a539f67414774b', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-redirect', 'aliases' => array(), @@ -220,16 +220,16 @@ 'automattic/jetpack-roles' => array( 'pretty_version' => '2.0.3', 'version' => '2.0.3.0', - 'reference' => 'ec1b16e5649784f6f73f774d195b13cf0f9673ab', + 'reference' => '59d01a514bbab3dcaff08df242930dc8aa54e34d', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-roles', 'aliases' => array(), 'dev_requirement' => false, ), 'automattic/jetpack-search' => array( - 'pretty_version' => '0.45.8-alpha.1728575216', - 'version' => '0.45.8.0-alpha1728575216', - 'reference' => 'e8767dd6e7b8eb03356b984aebc11ed35813a46b', + 'pretty_version' => '0.45.8-alpha.1728591908', + 'version' => '0.45.8.0-alpha1728591908', + 'reference' => 'efa032eedc3d319161326905e3b1e186d21a0e91', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-search', 'aliases' => array(), @@ -247,7 +247,7 @@ 'automattic/jetpack-stats' => array( 'pretty_version' => '0.13.3', 'version' => '0.13.3.0', - 'reference' => '5d46058efffe85323cf910bd17faf3c5b86c9c5e', + 'reference' => 'bb5a2becfe39a7e0207369fe051e5e3ce4c01b15', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-stats', 'aliases' => array(), @@ -256,7 +256,7 @@ 'automattic/jetpack-status' => array( 'pretty_version' => '4.0.2', 'version' => '4.0.2.0', - 'reference' => '0fe8c68175cc2669722022686da2ab1921b966f6', + 'reference' => 'bf8f3d43e0521aaa2c6d59a9f0d7e496e48c50dc', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-status', 'aliases' => array(), @@ -265,7 +265,7 @@ 'automattic/jetpack-sync' => array( 'pretty_version' => '3.14.0', 'version' => '3.14.0.0', - 'reference' => '855ed8d336c6fc2dbcf7d468bc8d857b4afae2ef', + 'reference' => '2ea4f74c5ee8a64b2d8f354b7d5c55430a1d9b6e', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-sync', 'aliases' => array(), diff --git a/vendor/composer/jetpack_autoload_classmap.php b/vendor/composer/jetpack_autoload_classmap.php index 8fdb7f32..b0463778 100644 --- a/vendor/composer/jetpack_autoload_classmap.php +++ b/vendor/composer/jetpack_autoload_classmap.php @@ -531,91 +531,91 @@ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-roles/src/class-roles.php' ), 'Automattic\\Jetpack\\Search\\CLI' => array( - 'version' => '0.45.8.0-alpha1728575216', + 'version' => '0.45.8.0-alpha1728591908', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-search/src/class-cli.php' ), 'Automattic\\Jetpack\\Search\\Classic_Search' => array( - 'version' => '0.45.8.0-alpha1728575216', + 'version' => '0.45.8.0-alpha1728591908', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-search/src/classic-search/class-classic-search.php' ), 'Automattic\\Jetpack\\Search\\Customberg' => array( - 'version' => '0.45.8.0-alpha1728575216', + 'version' => '0.45.8.0-alpha1728591908', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-search/src/customberg/class-customberg.php' ), 'Automattic\\Jetpack\\Search\\Customizer' => array( - 'version' => '0.45.8.0-alpha1728575216', + 'version' => '0.45.8.0-alpha1728591908', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-search/src/customizer/class-customizer.php' ), 'Automattic\\Jetpack\\Search\\Dashboard' => array( - 'version' => '0.45.8.0-alpha1728575216', + 'version' => '0.45.8.0-alpha1728591908', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-search/src/dashboard/class-dashboard.php' ), 'Automattic\\Jetpack\\Search\\Excluded_Post_Types_Control' => array( - 'version' => '0.45.8.0-alpha1728575216', + 'version' => '0.45.8.0-alpha1728591908', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-search/src/customizer/customize-controls/class-excluded-post-types-control.php' ), 'Automattic\\Jetpack\\Search\\Helper' => array( - 'version' => '0.45.8.0-alpha1728575216', + 'version' => '0.45.8.0-alpha1728591908', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-search/src/class-helper.php' ), 'Automattic\\Jetpack\\Search\\Initial_State' => array( - 'version' => '0.45.8.0-alpha1728575216', + 'version' => '0.45.8.0-alpha1728591908', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-search/src/dashboard/class-initial-state.php' ), 'Automattic\\Jetpack\\Search\\Initializer' => array( - 'version' => '0.45.8.0-alpha1728575216', + 'version' => '0.45.8.0-alpha1728591908', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-search/src/initializers/class-initializer.php' ), 'Automattic\\Jetpack\\Search\\Instant_Search' => array( - 'version' => '0.45.8.0-alpha1728575216', + 'version' => '0.45.8.0-alpha1728591908', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-search/src/instant-search/class-instant-search.php' ), 'Automattic\\Jetpack\\Search\\Label_Control' => array( - 'version' => '0.45.8.0-alpha1728575216', + 'version' => '0.45.8.0-alpha1728591908', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-search/src/customizer/customize-controls/class-label-control.php' ), 'Automattic\\Jetpack\\Search\\Module_Control' => array( - 'version' => '0.45.8.0-alpha1728575216', + 'version' => '0.45.8.0-alpha1728591908', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-search/src/class-module-control.php' ), 'Automattic\\Jetpack\\Search\\Options' => array( - 'version' => '0.45.8.0-alpha1728575216', + 'version' => '0.45.8.0-alpha1728591908', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-search/src/class-options.php' ), 'Automattic\\Jetpack\\Search\\Package' => array( - 'version' => '0.45.8.0-alpha1728575216', + 'version' => '0.45.8.0-alpha1728591908', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-search/src/class-package.php' ), 'Automattic\\Jetpack\\Search\\Plan' => array( - 'version' => '0.45.8.0-alpha1728575216', + 'version' => '0.45.8.0-alpha1728591908', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-search/src/class-plan.php' ), 'Automattic\\Jetpack\\Search\\REST_Controller' => array( - 'version' => '0.45.8.0-alpha1728575216', + 'version' => '0.45.8.0-alpha1728591908', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-search/src/class-rest-controller.php' ), 'Automattic\\Jetpack\\Search\\Search_Widget' => array( - 'version' => '0.45.8.0-alpha1728575216', + 'version' => '0.45.8.0-alpha1728591908', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-search/src/widgets/class-search-widget.php' ), 'Automattic\\Jetpack\\Search\\Settings' => array( - 'version' => '0.45.8.0-alpha1728575216', + 'version' => '0.45.8.0-alpha1728591908', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-search/src/class-settings.php' ), 'Automattic\\Jetpack\\Search\\Stats' => array( - 'version' => '0.45.8.0-alpha1728575216', + 'version' => '0.45.8.0-alpha1728591908', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-search/src/class-stats.php' ), 'Automattic\\Jetpack\\Search\\Template_Tags' => array( - 'version' => '0.45.8.0-alpha1728575216', + 'version' => '0.45.8.0-alpha1728591908', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-search/src/class-template-tags.php' ), 'Automattic\\Jetpack\\Search\\WPES\\Query_Builder' => array( - 'version' => '0.45.8.0-alpha1728575216', + 'version' => '0.45.8.0-alpha1728591908', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-search/src/wpes/class-query-builder.php' ), 'Automattic\\Jetpack\\Search\\WPES\\Query_Parser' => array( - 'version' => '0.45.8.0-alpha1728575216', + 'version' => '0.45.8.0-alpha1728591908', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-search/src/wpes/class-query-parser.php' ), 'Automattic\\Jetpack\\Search_Plugin\\Jetpack_Search_Plugin' => array(