var _____WB$wombat$assign$function_____ = function(name) {return (self._wb_wombat && self._wb_wombat.local_init && self._wb_wombat.local_init(name)) || self[name]; };
if (!self.__WB_pmw) { self.__WB_pmw = function(obj) { this.__WB_source = obj; return this; } }
{
  let window = _____WB$wombat$assign$function_____("window");
  let self = _____WB$wombat$assign$function_____("self");
  let document = _____WB$wombat$assign$function_____("document");
  let location = _____WB$wombat$assign$function_____("location");
  let top = _____WB$wombat$assign$function_____("top");
  let parent = _____WB$wombat$assign$function_____("parent");
  let frames = _____WB$wombat$assign$function_____("frames");
  let opener = _____WB$wombat$assign$function_____("opener");

"use strict";(globalThis.webpackChunkcalypso=globalThis.webpackChunkcalypso||[]).push([[33712],{"./components/data/query-sites/index.jsx":(e,t,s)=>{s.d(t,{Z:()=>h});var r=s("../node_modules/react/index.js"),n=s("../node_modules/react-redux/es/index.js"),i=s("./state/preferences/selectors.js"),o=s("./state/selectors/get-primary-site-id.js"),a=s("./state/sites/actions.js"),c=s("./state/sites/selectors/is-requesting-sites.js"),p=s("./state/sites/selectors/is-requesting-site.js"),u=s("./state/sites/selectors/has-all-sites-list.js"),l=s("../node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js");const d=e=>(0,i.Oz)(e,"recentSites");function m(){const e=(0,n.I0)();return(0,r.useEffect)((()=>{e(((e,t)=>{(0,c.Z)(t())||e((0,a.BU)())}))}),[e]),null}const _=e=>(t,s)=>{e&&!(0,p.Z)(s(),e)&&t((0,a.LV)(e))};function y({siteId:e}){const t=(0,n.I0)();return(0,r.useEffect)((()=>{e&&t(_(e))}),[t,e]),null}function f(){const e=(0,n.v9)(o.Z),t=(0,n.v9)(d),s=(0,n.I0)();return(0,r.useEffect)((()=>{const r=[...e?[e]:[],...t??[]];r.length&&s((e=>(t,s)=>{const r=s();(0,u.Z)(r)||e.forEach((e=>t(_(e))))})(r))}),[s,e,t]),null}function h({siteId:e,allSites:t=!1,primaryAndRecent:s=!1}){return(0,l.BX)(r.Fragment,{children:[t&&(0,l.tZ)(m,{}),e&&(0,l.tZ)(y,{siteId:e}),s&&(0,l.tZ)(f,{})]})}},"./components/localized-moment/context.js":(e,t,s)=>{s.d(t,{Z:()=>i});var r=s("../node_modules/moment/moment.js"),n=s.n(r);const i=(0,s("../node_modules/react/index.js").createContext)({moment:n(),momentLocale:n().locale()})},"./lib/logstash/index.ts":(e,t,s)=>{s.d(t,{C:()=>n});var r=s("./lib/wp/browser.js");async function n(e){await r.Z.req.post("/logstash",{params:JSON.stringify(e)})}},"./lib/route/untrailingslashit.ts":(e,t,s)=>{s.d(t,{Z:()=>r});const r=e=>"/"===e?e:e.replace(/\/$/,"")},"./me/purchases/paths.js":(e,t,s)=>{s.d(t,{JY:()=>r,UY:()=>n,bw:()=>i,Fd:()=>o,X_:()=>a,CT:()=>c,F:()=>p,_A:()=>u,KL:()=>l,I$:()=>d,S0:()=>m,nQ:()=>_,gP:()=>y,nM:()=>f,x9:()=>h});const r="/me/purchases",n=r+"/add-credit-card",i=r+"/add-payment-method",o=r+"/billing",a=r+"/payment-methods",c=r+"/vat-details";function p(e){return o+`/${e}`}function u(e,t){return r+`/${e}/${t}`}function l(e,t){return u(e,t)+"/cancel"}function d(e,t){return u(e,t)+"/confirm-cancel-domain"}function m(e,t){return u(e,t)+"/payment/add"}function _(e,t,s){return u(e,t)+`/payment/edit/${s}`}function y(e,t){return u(e,t)+"/payment-method/add"}function f(e,t,s){return u(e,t)+`/payment-method/change/${s}`}const h={upcomingCharges:r+"/upcoming",otherPurchases:r+"/other"}},"./sections-filter.js":(e,t,s)=>{s.d(t,{Z:()=>n,e:()=>i});var r=s("../packages/calypso-config/src/index.ts");function n(e){return i(e.name)}function i(e){const t=(0,r.ZP)("sections"),s=(0,r.ZP)("enable_all_sections");return t&&void 0!==t[e]?t[e]:s}},"./state/happychat/connection/actions.js":(e,t,s)=>{s.d(t,{XY:()=>o,id:()=>a,nv:()=>c,wH:()=>p,k_:()=>u,up:()=>l,Mo:()=>d,pL:()=>m,$W:()=>_,QM:()=>y,dN:()=>f,gg:()=>h,KX:()=>g,Mx:()=>j,bi:()=>v,bG:()=>Z,qP:()=>w,gp:()=>k,tL:()=>x,bB:()=>I,Ol:()=>S,_8:()=>P,yW:()=>A});var r=s("../node_modules/uuid/dist/esm-browser/v4.js"),n=s("./state/action-types.ts"),i=s("./state/happychat/constants.js");s("./state/happychat/init.js");const o=e=>({type:n.Mei,auth:e}),a=()=>({type:n.oH7}),c=e=>({type:n.f5U,error:e}),p=()=>({type:n.yGK}),u=e=>({type:n.M7f,user:e}),l=e=>({type:n.IwF,error:e}),d=()=>({type:n.k_K}),m=e=>({type:n.nHy,isAvailable:e}),_=e=>({type:n.Sur,isAvailable:e}),y=e=>({type:n.$Tb,message:e}),f=e=>({type:n.IoY,message:{...e,isOptimistic:!0}}),h=e=>({type:n.Ylp,message:e}),g=e=>({type:n.myH,status:e}),j=e=>({type:n.AKl,error:e}),b=({messages:e,timestamp:t})=>({type:n.kJ4,messages:e,timestamp:t}),v=(e,t=1e4)=>({type:n.R_D,event:"transcript",payload:e,timeout:t,callback:b}),Z=(e,t={})=>({type:n.qjX,event:"message",payload:{id:(0,r.Z)(),text:e,meta:t}}),w=e=>({type:n.Syf,event:"message",payload:{id:(0,r.Z)(),text:e,type:i.so.CUSTOMER_EVENT,meta:{forOperator:!0,event_type:i.so.CUSTOMER_EVENT}}}),k=e=>({type:n.vsK,event:"message",payload:{id:(0,r.Z)(),text:e,type:i.so.LOG,meta:{forOperator:!0,event_type:i.so.LOG}}}),x=e=>({type:n.$tj,event:"message",payload:{id:(0,r.Z)(),type:i.so.CUSTOMER_INFO,meta:{forOperator:!0,...e}}}),I=e=>({type:n.ILV,event:"typing",payload:{message:e}}),S=()=>I(!1),P=(e,t,s)=>({type:n.Do$,event:"preferences",payload:{locale:e,groups:t,skills:s}}),A=e=>({type:n.SgU,event:"chat.setFields",payload:e})},"./state/happychat/selectors/get-groups.js":(e,t,s)=>{s.d(t,{Z:()=>a});var r=s("./state/happychat/constants.js"),n=s("./state/selectors/is-site-automated-transfer.js"),i=s("./state/sites/selectors/is-jetpack-site.js"),o=s("./state/ui/selectors/get-section-name.js");const a=(e,t)=>"jetpack-connect"===(0,o.Z)(e)||(0,i.Z)(e,t)&&!(0,n.Z)(e,t)?[r.EB]:[r.mr]},"./state/happychat/selectors/get-happychat-connection-status.js":(e,t,s)=>{s.d(t,{Z:()=>n});var r=s("../node_modules/lodash-es/get.js");s("./state/happychat/init.js");function n(e){return(0,r.Z)(e,"happychat.connection.status")}},"./state/happychat/selectors/get-skills.js":(e,t,s)=>{s.d(t,{Z:()=>o});var r=s("./state/current-user/selectors.js"),n=s("./state/happychat/constants.js"),i=s("./state/happychat/selectors/get-groups.js");const o=(e,t)=>{const s={[n.ul]:(0,i.Z)(e,t)},o=(0,r.Mg)(e);return o&&(s[n.mH]=[o]),s}},"./state/happychat/selectors/is-happychat-client-connected.js":(e,t,s)=>{s.d(t,{Z:()=>i});var r=s("./state/happychat/constants.js"),n=s("./state/happychat/selectors/get-happychat-connection-status.js");function i(e){return(0,n.Z)(e)===r.XY}},"./state/happychat/user/actions.js":(e,t,s)=>{s.d(t,{_:()=>a});var r=s("./lib/logstash/index.ts"),n=s("./lib/wp/browser.js"),i=s("./state/action-types.ts"),o=s("./state/notices/actions.ts");s("./state/happychat/init.js");const a=()=>e=>{n.Z.req.get("/help/olark/mine").then((t=>{var s;e((s=t,{type:i.Xeb,config:s}))})).catch((t=>{t&&t.message&&"authorization_required"!==t.error&&(e((0,o.tF)(t.message)),(0,r.C)({feature:"calypso_client",message:"Olark configuration request failed",severity:"error",extra:{error:t.name,status:t.status,message:t.message}}))}))}},"./state/help/directly/constants.js":(e,t,s)=>{s.d(t,{qd:()=>r,mb:()=>n,xm:()=>i,Un:()=>o});const r="STATUS_UNINITIALIZED",n="STATUS_INITIALIZING",i="STATUS_READY",o="STATUS_ERROR"},"./state/help/init.js":(e,t,s)=>{var r=s("./state/redux-store.ts"),n=s("../packages/state-utils/src/index.ts"),i=s("./state/action-types.ts"),o=s("./state/utils/reducer-utils.ts"),a=s("./state/help/directly/constants.js");const c=(0,o.U)({questionAsked:(e=null,t)=>t.type===i.cJe||e,status:(e=a.qd,t)=>{switch(t.type){case i.mmY:return a.mb;case i.IjW:return a.xm;case i.$nl:return a.Un}return e}}),p=(0,o.U)({isReady:(e=!1,t)=>t.type===i.PLr||e,isRequesting:(e=!1,t)=>{switch(t.type){case i.yee:return!0;case i.PLr:case i.ASN:return!1}return e},isUserEligible:(e=!1,t)=>{if(t.type===i.PLr){const{configuration:e}=t;return e.is_user_eligible}return e},requestError:(e=null,t)=>{switch(t.type){case i.yee:case i.PLr:return null;case i.ASN:{const{error:e}=t;return e}}return e}}),u=(0,o.U)({directly:c,ticket:p,selectedSiteId:(e=null,t)=>t.type===i.uWp?t.siteId:e}),l=(0,n.xi)("help",u);(0,r.x)(["help"],l)},"./state/help/selectors.js":(e,t,s)=>{s.d(t,{YP:()=>a,QQ:()=>c});var r=s("../node_modules/lodash-es/get.js"),n=s("./state/selectors/get-primary-site-id.js"),i=s("./state/ui/selectors/get-selected-site-id.js");var o=s("./state/sites/selectors/get-site.js");s("./state/help/init.js");const a=e=>{const t=(e=>e.help?.selectedSiteId)(e)||function(e){return(0,i.Z)(e)||(0,n.Z)(e)}(e),s=(0,o.Z)(e,t);if(s)return s;const a=Object.keys((0,r.Z)(e,"sites.items")||{});return a.length>0?(0,o.Z)(e,a[0]):null},c=e=>{const t=a(e);return(0,r.Z)(t,"ID",null)}},"./state/preferences/actions.js":(e,t,s)=>{s.d(t,{Fe:()=>a,l$:()=>c,zZ:()=>p});var r=s("./lib/wp/browser.js"),n=s("./state/action-types.ts"),i=s("./state/preferences/constants.js");s("./state/preferences/init.js");function o(e){return{type:n.XuD,values:e}}function a(){return e=>(e({type:n.pSd}),r.Z.req.get("/me/preferences").then((t=>{e(o(t[i.w])),e({type:n.N8o})})).catch(((t,s)=>{e({type:n.PD1,error:s})})))}const c=(e,t)=>({type:n.JPH,key:e,value:t}),p=(e,t)=>s=>{s(c(e,t));const a={[i.w]:{[e]:t}};return r.Z.req.put("/me/preferences",a).then((r=>{s(o(r[i.w])),s({type:n.lCo,key:e,value:t})})).catch((()=>{}))}},"./state/preferences/constants.js":(e,t,s)=>{s.d(t,{w:()=>r,p:()=>n});const r="calypso_preferences",n={"guided-tours-history":[],recentSites:[],mediaScale:.157,colorScheme:"default",homeQuickLinksToggleStatus:"expanded"}},"./state/preferences/init.js":(e,t,s)=>{var r=s("./state/redux-store.ts"),n=s("../packages/state-utils/src/index.ts"),i=s("./state/action-types.ts"),o=s("./state/utils/schema-utils.js"),a=s("./state/utils/reducer-utils.ts");const c=(0,o.G)({type:["null","object"],patternProperties:{"^dismissible-card-.+$":{type:["boolean","object"]},"^time-mismatch-warning-\\d+$":{type:["boolean","number"]}},properties:{"guided-tours-history":{type:"array",items:{type:"object",properties:{tourName:{type:"string"},timestamp:{type:"number",minimum:0},finished:{type:"boolean"}},required:["tourName","timestamp","finished"],additionalProperties:!1}},recentSites:{type:"array",items:{type:"number"}},mediaScale:{type:"number",minimum:0,maximum:1},colorScheme:{type:"string",enum:["aquatic","blue","classic-blue","classic-bright","classic-dark","coffee","contrast","ectoplasm","light","midnight","modern","nightfall","ocean","powder-snow","sakura","sunrise","sunset"]},"upwork-dismissible-banner":{type:"object","^[a-z-]+$":{type:"array",items:{type:"object",properties:{dismissedAt:{type:"number",minimum:0},type:{type:"string",enum:["dismiss"]}},required:["dismissedAt","type"]}}},"jetpack-review-prompt":{type:"object",properties:{scan:{$ref:"#/definitions/dismissiblePrompt"},restore:{$ref:"#/definitions/dismissiblePrompt"}}},homeQuickLinksToggleStatus:{type:"string",enum:["collapsed","expanded"]},"persistent-counter":{type:"object",properties:{"^[a-z0-9-]+$":{type:"object",properties:{count:{type:"number",minimum:0},lastCountDate:{type:["number","null"]}}}}}},definitions:{dismissiblePrompt:{type:"object",properties:{dismissedAt:{type:["number","null"]},dismissedCount:{type:"number",minimum:0},reviewed:{type:"number"},validFrom:{type:["number","null"]}},required:["dismissedAt","dismissedCount","reviewed","validFrom"]}}},((e=null,t)=>{if(t.type===i.XuD){const{values:e}=t;return e}return e})),p=(0,a.U)({localValues:(e={},t)=>{switch(t.type){case i.JPH:{const{key:s,value:r}=t;return e[s]===r?e:{...e,[s]:r}}case i.lCo:{const{[t.key]:s,...r}=e;return r}}return e},remoteValues:c,fetching:(e=!1,t)=>{switch(t.type){case i.N8o:case i.PD1:return!1;case i.pSd:return!0}return e},lastFetchedTimestamp:(e=!1,t)=>t.type===i.N8o?Date.now():e}),u=(0,n.xi)("preferences",p);(0,r.x)(["preferences"],u)},"./state/preferences/selectors.js":(e,t,s)=>{s.d(t,{rf:()=>n,Oz:()=>i,el:()=>o,Ru:()=>a,V2:()=>c});var r=s("./state/preferences/constants.js");s("./state/preferences/init.js");const n=e=>!!e.preferences.fetching;function i(e,t){for(const s of[e.preferences?.localValues,e.preferences?.remoteValues,r.p])if(s&&s.hasOwnProperty(t))return s[t]??null;return null}function o(e){return e.preferences.remoteValues}const a=e=>e.preferences.lastFetchedTimestamp;function c(e){return!!e.preferences.remoteValues}},"./state/selectors/can-current-user.js":(e,t,s)=>{function r(e,t,s){const r=e.currentUser.capabilities[t];return r?r[s]||!1:null}s.d(t,{i:()=>r})},"./state/selectors/get-p2-hub-blog-id.js":(e,t,s)=>{s.d(t,{Z:()=>i});var r=s("../node_modules/lodash-es/get.js"),n=s("./state/selectors/is-site-wpforteams.js");function i(e,t){return(0,n.Z)(e,t)?(0,r.Z)(e,["sites","items",t,"options","p2_hub_blog_id"],null):null}},"./state/selectors/get-previous-path.js":(e,t,s)=>{s.d(t,{Z:()=>n});var r=s("../node_modules/lodash-es/get.js");s("./state/route/init.js");const n=e=>(0,r.Z)(e,"route.path.previous","")},"./state/selectors/get-previous-route.js":(e,t,s)=>{s.d(t,{Z:()=>a});var r=s("../node_modules/qs/lib/index.js"),n=s("./state/selectors/get-previous-path.js"),i=s("../node_modules/lodash-es/get.js");s("./state/route/init.js");const o=e=>(0,i.Z)(e,"route.query.previous",""),a=e=>{const t=(0,n.Z)(e),s=o(e);let i="";return s&&(i="?"+(0,r.stringify)(s)),t+i}},"./state/selectors/get-primary-site-id.js":(e,t,s)=>{s.d(t,{Z:()=>i});var r=s("../node_modules/lodash-es/get.js"),n=s("./state/current-user/selectors.js");function i(e){const t=(0,n.ts)(e);return(0,r.Z)(t,"primary_blog",null)}},"./state/selectors/get-site-url.js":(e,t,s)=>{s.d(t,{Z:()=>n});var r=s("./state/selectors/get-raw-site.ts");function n(e,t){return(0,r.Z)(e,t)?.URL??null}},"./state/selectors/is-site-automated-transfer.js":(e,t,s)=>{s.d(t,{Z:()=>n});var r=s("../node_modules/lodash-es/get.js");function n(e,t){return(0,r.Z)(e,["sites","items",t,"options","is_automated_transfer"],null)}},"./state/selectors/is-site-wpforteams.js":(e,t,s)=>{s.d(t,{Z:()=>n});var r=s("../node_modules/lodash-es/get.js");function n(e,t){return(0,r.Z)(e,["sites","items",t,"options","is_wpforteams_site"],null)}},"./state/sites/actions.js":(e,t,s)=>{s.d(t,{Mu:()=>y,wm:()=>f,BU:()=>h,LV:()=>g,xb:()=>v,mS:()=>Z,p$:()=>w,Fj:()=>x});var r=s("../packages/calypso-config/src/index.ts"),n=s("../packages/i18n-calypso/src/index.js"),i=s("../node_modules/lodash-es/omit.js"),o=s("./lib/wp/browser.js"),a=s("./me/purchases/paths.js"),c=s("./state/action-types.ts"),p=s("./state/current-user/actions.js"),u=s("./state/notices/actions.ts"),l=s("./state/selectors/get-p2-hub-blog-id.js"),d=s("./state/selectors/get-site-url.js"),m=s("./state/sites/constants.js"),_=s("./state/sites/selectors/get-site-domain.js");function y(e){return t=>{t({type:c.SYS,siteId:e}),t((0,p.k)())}}function f(e){return{type:c.UUJ,site:e}}function h(){return e=>{e({type:c.M4_});const t=(0,r.ZP)("site_filter");return o.Z.me().sites({apiVersion:"1.2",site_visibility:"all",include_domain_only:!0,site_activity:"active",fields:m.U,options:m.x,filters:t.length>0?t.join(","):void 0}).then((t=>{var s;e((s=t.sites,{type:c.xLe,sites:s})),e({type:c.KSQ})})).catch((t=>{e({type:c.eTV,error:t})}))}}function g(e){function t(t){const s={apiVersion:"1.2"};t&&(s.force="wpcom");const n=(0,r.ZP)("site_filter");return n.length>0&&(s.filters=n.join(",")),o.Z.site(e).get(s)}return s=>{s({type:c.hJk,siteId:e});const r=t(!1).catch((e=>403===e?.status&&"API calls to this blog have been disabled."===e?.message||400===e?.status&&"ApiNotFoundError"===e?.name?t(!0):Promise.reject(e)));return r.then((t=>{t&&t.capabilities&&s(f((0,i.Z)(t,"_headers"))),s({type:c.Mvd,siteId:e})})).catch((()=>{s({type:c.uuM,siteId:e})})),r}}const j="site-delete",b={duration:5e3,id:j};function v(e){return(t,s)=>{const r=(0,_.Z)(s(),e);return t((0,u.RT)((0,n.Iu)("%(siteDomain)s is being deleted.",{args:{siteDomain:r}}),b)),o.Z.req.post(`/sites/${e}/delete`).then((()=>{t(y(e)),t((0,u.RT)((0,n.Iu)("%(siteDomain)s has been deleted.",{args:{siteDomain:r}}),b))})).catch((r=>{if("active-subscriptions"!==r.error)if("p2-hub-has-spaces"!==r.error)t((0,u.tF)(r.message,b));else{const r=(0,l.Z)(s(),e),i=(0,d.Z)(s(),r);t((0,u.tF)((0,n.Iu)("Your P2 Workspace has P2s. You must delete all P2s in this workspace before you can delete it."),{id:j,showDismiss:!1,button:(0,n.Iu)("Manage P2s"),href:i}))}else t((0,u.tF)((0,n.Iu)("You must cancel any active subscriptions prior to deleting your site."),{id:j,showDismiss:!1,button:(0,n.Iu)("Manage Purchases"),href:a.JY}))}))}}const Z=e=>({type:c.U0$,siteId:e}),w=(e,t)=>async s=>{try{const r=await o.Z.req.post(`/sites/${e}/homepage`,{is_page_on_front:k(t.show_on_front),page_on_front_id:t.page_on_front,page_for_posts_id:t.page_for_posts});s({type:c.uvG,siteId:e,frontPageOptions:{show_on_front:r.is_page_on_front?"page":"posts",page_on_front:parseInt(r.page_on_front_id,10),page_for_posts:parseInt(r.page_for_posts_id,10)}})}catch{}};function k(e){switch(e){case"page":return!0;case"posts":return!1;default:return}}const x=(e,t,s=null)=>({siteId:e,type:c.lTr,migrationStatus:t,lastModified:s})},"./state/sites/constants.js":(e,t,s)=>{s.d(t,{U:()=>r,x:()=>n});const r=["ID","URL","capabilities","icon","is_multisite","is_private","is_coming_soon","is_vip","jetpack","jetpack_modules","name","options","plan","products","single_user_site","visible","lang","launch_status","site_migration","site_owner","is_core_site_editor_enabled","is_wpcom_atomic","description"].join(),n=["admin_url","advanced_seo_front_page_description","advanced_seo_title_formats","allowed_file_types","anchor_podcast","created_at","default_comment_status","default_ping_status","default_post_format","design_type","editing_toolkit_is_active","frame_nonce","gmt_offset","has_pending_automated_transfer","is_automated_transfer","is_cloud_eligible","is_domain_only","is_mapped_domain","is_redirect","is_wpcom_atomic","is_wpcom_store","is_wpforteams_site","p2_hub_blog_id","jetpack_frame_nonce","jetpack_version","main_network_site","page_on_front","page_for_posts","podcasting_archive","podcasting_category_id","publicize_permanently_disabled","show_on_front","site_segment","software_version","timezone","upgraded_filetypes_enabled","unmapped_url","verification_services_codes","videopress_enabled","woocommerce_is_active","wordads","site_creation_flow","is_difm_lite_in_progress","difm_lite_site_options","site_intent"].join()},"./state/sites/selectors/has-all-sites-list.js":(e,t,s)=>{function r(e){return!!e.sites.hasAllSitesList}s.d(t,{Z:()=>r})},"./state/sites/selectors/is-requesting-site.js":(e,t,s)=>{function r(e,t){return!!e.sites.requesting[t]}s.d(t,{Z:()=>r})},"./state/sites/selectors/is-requesting-sites.js":(e,t,s)=>{function r(e){return!!e.sites.requestingAll}s.d(t,{Z:()=>r})},"./state/sites/selectors/is-single-user-site.js":(e,t,s)=>{s.d(t,{Z:()=>n});var r=s("./state/sites/selectors/get-site.js");function n(e,t){return(0,r.Z)(e,t)?.single_user_site??null}},"../packages/viewport-react/src/index.js":(e,t,s)=>{s.d(t,{Gc:()=>a,_z:()=>c,sK:()=>p,LR:()=>u,vS:()=>l});var r=s("../packages/viewport/src/index.ts"),n=s("../node_modules/@wordpress/compose/build-module/utils/create-higher-order-component/index.js"),i=s("../node_modules/react/index.js"),o=s("../node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js");function a(e){const[t,s]=(0,i.useState)((()=>({isActive:(0,r.kV)(e),breakpoint:e})));return(0,i.useEffect)((()=>(0,r.Sp)(e,(function(t){s((s=>s.isActive===t&&s.breakpoint===e?s:{isActive:t,breakpoint:e}))}))),[e]),e===t.breakpoint?t.isActive:(0,r.kV)(e)}function c(){return a(r.Gh)}function p(){return a(r.oh)}const u=(0,n.Z)((e=>(0,i.forwardRef)(((t,s)=>{const n=a(r.Gh);return(0,o.tZ)(e,{...t,isBreakpointActive:n,ref:s})}))),"WithMobileBreakpoint"),l=(0,n.Z)((e=>(0,i.forwardRef)(((t,s)=>{const n=a(r.oh);return(0,o.tZ)(e,{...t,isBreakpointActive:n,ref:s})}))),"WithDesktopBreakpoint")}}]);

}
/*
     FILE ARCHIVED ON 16:49:03 Jun 07, 2022 AND RETRIEVED FROM THE
     INTERNET ARCHIVE ON 04:52:12 Nov 19, 2024.
     JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE.

     ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C.
     SECTION 108(a)(3)).
*/
/*
playback timings (ms):
  captures_list: 0.488
  exclusion.robots: 0.033
  exclusion.robots.policy: 0.024
  esindex: 0.009
  cdx.remote: 16.789
  LoadShardBlock: 100.055 (3)
  PetaboxLoader3.datanode: 145.664 (5)
  load_resource: 299.119 (2)
  PetaboxLoader3.resolve: 163.065 (2)
*/