Current File : /dom405686/wp-content/plugins/wordpress-seo/js/dist/ai-consent.js
(()=>{var e={818(e,t,s){const r=s(1609),n=r.forwardRef(function(e,t){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),r.createElement("path",{fillRule:"evenodd",d:"M12.293 5.293a1 1 0 011.414 0l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414-1.414L14.586 11H3a1 1 0 110-2h11.586l-2.293-2.293a1 1 0 010-1.414z",clipRule:"evenodd"}))});e.exports=n},1609(e){"use strict";e.exports=window.React},2485(e,t){var s;!function(){"use strict";var r={}.hasOwnProperty;function n(){for(var e=[],t=0;t<arguments.length;t++){var s=arguments[t];if(s){var o=typeof s;if("string"===o||"number"===o)e.push(s);else if(Array.isArray(s)){if(s.length){var i=n.apply(null,s);i&&e.push(i)}}else if("object"===o){if(s.toString!==Object.prototype.toString&&!s.toString.toString().includes("[native code]")){e.push(s.toString());continue}for(var a in s)r.call(s,a)&&s[a]&&e.push(a)}}}return e.join(" ")}e.exports?(n.default=n,e.exports=n):void 0===(s=function(){return n}.apply(t,[]))||(e.exports=s)}()},2514(e,t,s){const r=s(1609),n=r.forwardRef(function(e,t){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8 11V7a4 4 0 118 0m-4 8v2m-6 4h12a2 2 0 002-2v-6a2 2 0 00-2-2H6a2 2 0 00-2 2v6a2 2 0 002 2z"}))});e.exports=n},3473(e,t,s){const r=s(1609),n=r.forwardRef(function(e,t){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M17 8l4 4m0 0l-4 4m4-4H3"}))});e.exports=n},5074(e,t,s){const r=s(1609),n=r.forwardRef(function(e,t){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"}))});e.exports=n},5687(e,t,s){const r=s(1609),n=r.forwardRef(function(e,t){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),r.createElement("path",{fillRule:"evenodd",d:"M10.293 5.293a1 1 0 011.414 0l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414-1.414L12.586 11H5a1 1 0 110-2h7.586l-2.293-2.293a1 1 0 010-1.414z",clipRule:"evenodd"}))});e.exports=n},6702(e,t,s){const r=s(1609),n=r.forwardRef(function(e,t){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14"}))});e.exports=n},8738(e,t,s){const r=s(1609),n=r.forwardRef(function(e,t){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),r.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z",clipRule:"evenodd"}))});e.exports=n}},t={};function s(r){var n=t[r];if(void 0!==n)return n.exports;var o=t[r]={exports:{}};return e[r](o,o.exports,s),o.exports}s.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return s.d(t,{a:t}),t},s.d=(e,t)=>{for(var r in t)s.o(t,r)&&!s.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";const e=window.wp.data,t=window.wp.domReady;var r=s.n(t);const n=window.wp.element,o=window.wp.i18n,i=window.yoast.uiLibrary;var a=s(2485),l=s.n(a);const c=window.lodash,d=window.yoast.reduxJsToolkit,u="adminUrl",p=(0,d.createSlice)({name:u,initialState:"",reducers:{setAdminUrl:(e,{payload:t})=>t}}),m=p.getInitialState,y={selectAdminUrl:e=>(0,c.get)(e,u,"")};y.selectAdminLink=(0,d.createSelector)([y.selectAdminUrl,(e,t)=>t],(e,t="")=>{try{return new URL(t,e).href}catch(t){return e}});const g=p.actions,h=p.reducer,w="replacementVariables",f=(0,d.createSlice)({name:w,initialState:(v={},{recommended:(0,c.get)(v,"recommended",{}),shared:(0,c.get)(v,"shared",[]),specific:(0,c.get)(v,"specific",{}),variables:(0,c.get)(v,"variables",[])}),reducers:{}});var v;const x=(0,d.createSelector)([e=>(0,c.get)(e,[w,"shared"],[]),e=>(0,c.get)(e,[w,"specific"],{}),(e,t)=>t,(e,t,s)=>s],(e,t,s,r)=>[...e,...(0,c.get)(t,s,(0,c.get)(t,r,[]))]),S=((0,d.createSelector)([e=>(0,c.get)(e,[w,"variables"],[]),x],(e,t)=>(0,c.filter)(e,({name:e})=>(0,c.includes)(t,e))),(0,d.createSelector)([e=>(0,c.get)(e,[w,"recommended"],{}),(e,t)=>t,(e,t,s)=>s],(e,t,s)=>(0,c.get)(e,t,(0,c.get)(e,s,[]))),f.actions,f.reducer,window.wp.apiFetch);var k=s.n(S);const _="hasConsent",b=`${_}/storeConsent`,R=(0,d.createSlice)({name:_,initialState:{hasConsent:!1,endpoint:""},reducers:{giveAiGeneratorConsent:(e,{payload:t})=>{e.hasConsent=t},setAiGeneratorConsentEndpoint:(e,{payload:t})=>{e.endpoint=t}}}),j=R.getInitialState,C={selectHasAiGeneratorConsent:e=>(0,c.get)(e,[_,"hasConsent"],R.getInitialState().hasConsent),selectAiGeneratorConsentEndpoint:e=>(0,c.get)(e,[_,"endpoint"],R.getInitialState().endpoint)},N={...R.actions,storeAiGeneratorConsent:function*(e,t){try{yield{type:b,payload:{consent:e,endpoint:t}}}catch(e){return!1}return yield{type:`${_}/giveAiGeneratorConsent`,payload:e},!0}},q={[b]:async({payload:e})=>await k()({path:e.endpoint,method:"POST",data:{consent:e.consent},parse:!1})},L=R.reducer,A=window.wp.url,I="linkParams",O=(0,d.createSlice)({name:I,initialState:{},reducers:{setLinkParams:(e,{payload:t})=>t}}),E=O.getInitialState,P={selectLinkParam:(e,t,s={})=>(0,c.get)(e,`${I}.${t}`,s),selectLinkParams:e=>(0,c.get)(e,I,{})};P.selectLink=(0,d.createSelector)([P.selectLinkParams,(e,t)=>t,(e,t,s={})=>s],(e,t,s)=>(0,A.addQueryArgs)(t,{...e,...s}));const M=O.actions,T=O.reducer,G=(0,d.createSlice)({name:"myyoastConnection",initialState:{isAvailable:!1,canConnect:!1,connectUrl:null,learnMoreUrl:""},reducers:{}}),U=(G.getInitialState,G.actions,G.reducer,"notifications"),B=(0,d.createSlice)({name:U,initialState:{},reducers:{addNotification:{reducer:(e,{payload:t})=>{e[t.id]={id:t.id,variant:t.variant,size:t.size,title:t.title,description:t.description}},prepare:({id:e,variant:t="info",size:s="default",title:r,description:n})=>({payload:{id:e||(0,d.nanoid)(),variant:t,size:s,title:r||"",description:n}})},removeNotification:(e,{payload:t})=>(0,c.omit)(e,t)}}),$=(B.getInitialState,B.actions,B.reducer,"request"),z="loading",F=(0,d.createSlice)({name:"optInNotification",initialState:{seen:{}},reducers:{hideOptInNotification(e,t){const s=t.payload;e.seen[s]=!0}}}),H=(F.getInitialState,F.actions,F.reducer,"pluginUrl"),Y=(0,d.createSlice)({name:H,initialState:"",reducers:{setPluginUrl:(e,{payload:t})=>t}}),V=Y.getInitialState,W={selectPluginUrl:e=>(0,c.get)(e,H,"")};W.selectImageLink=(0,d.createSelector)([W.selectPluginUrl,(e,t,s="images")=>s,(e,t)=>t],(e,t,s)=>[(0,c.trimEnd)(e,"/"),(0,c.trim)(t,"/"),(0,c.trimStart)(s,"/")].join("/"));const D=Y.actions,J=Y.reducer,Q="wistiaEmbedPermission",X=(0,d.createSlice)({name:Q,initialState:{value:!1,status:"idle",error:{}},reducers:{setWistiaEmbedPermissionValue:(e,{payload:t})=>{e.value=Boolean(t)}},extraReducers:e=>{e.addCase(`${Q}/${$}`,e=>{e.status=z}),e.addCase(`${Q}/success`,(e,{payload:t})=>{e.status="success",e.value=Boolean(t&&t.value)}),e.addCase(`${Q}/error`,(e,{payload:t})=>{e.status="error",e.value=Boolean(t&&t.value),e.error={code:(0,c.get)(t,"error.code",500),message:(0,c.get)(t,"error.message","Unknown")}})}});var K;X.getInitialState,X.actions,X.reducer;const Z=(0,d.createSlice)({name:"documentTitle",initialState:(0,c.defaultTo)(null===(K=document)||void 0===K?void 0:K.title,""),reducers:{setDocumentTitle:(e,{payload:t})=>t}}),ee=(Z.getInitialState,Z.actions,Z.reducer,window.yoast.propTypes);var te=s.n(ee);s(6702);const se=(e,t)=>{try{return(0,n.createInterpolateElement)(e,t)}catch(t){return console.error("Error in translation for:",e,t),e}},re=window.ReactJSXRuntime;te().string.isRequired,s(2514);var ne=s(818),oe=s.n(ne);te().string.isRequired,te().string.isRequired,te().shape({src:te().string.isRequired,width:te().string,height:te().string}).isRequired,te().shape({value:te().bool.isRequired,status:te().string.isRequired,set:te().func.isRequired}).isRequired,te().string,te().string,te().string;const ie=({handleRefreshClick:e,supportLink:t})=>(0,re.jsxs)("div",{className:"yst-flex yst-gap-2",children:[(0,re.jsx)(i.Button,{onClick:e,children:(0,o.__)("Refresh this page","wordpress-seo")}),(0,re.jsx)(i.Button,{variant:"secondary",as:"a",href:t,target:"_blank",rel:"noopener",children:(0,o.__)("Contact support","wordpress-seo")})]});ie.propTypes={handleRefreshClick:te().func.isRequired,supportLink:te().string.isRequired};const ae=({handleRefreshClick:e,supportLink:t})=>(0,re.jsxs)("div",{className:"yst-grid yst-grid-cols-1 yst-gap-y-2",children:[(0,re.jsx)(i.Button,{className:"yst-order-last",onClick:e,children:(0,o.__)("Refresh this page","wordpress-seo")}),(0,re.jsx)(i.Button,{variant:"secondary",as:"a",href:t,target:"_blank",rel:"noopener",children:(0,o.__)("Contact support","wordpress-seo")})]});ae.propTypes={handleRefreshClick:te().func.isRequired,supportLink:te().string.isRequired};const le=({error:e,children:t=null})=>(0,re.jsxs)("div",{role:"alert",className:"yst-max-w-screen-sm yst-p-8 yst-space-y-4",children:[(0,re.jsx)(i.Title,{children:(0,o.__)("Something went wrong. An unexpected error occurred.","wordpress-seo")}),(0,re.jsx)("p",{children:(0,o.__)("We're very sorry, but it seems like the following error has interrupted our application:","wordpress-seo")}),(0,re.jsx)(i.Alert,{variant:"error",children:(null==e?void 0:e.message)||(0,o.__)("Undefined error message.","wordpress-seo")}),(0,re.jsx)("p",{children:(0,o.__)("Unfortunately, this means that any unsaved changes in this section will be lost. You can try and refresh this page to resolve the problem. If this error still occurs, please get in touch with our support team, and we'll get you all the help you need!","wordpress-seo")}),t]});le.propTypes={error:te().object.isRequired,children:te().node},le.VerticalButtons=ae,le.HorizontalButtons=ie;te().string,te().node.isRequired,te().node.isRequired,te().node,te().oneOf(Object.keys({lg:{grid:"yst-grid lg:yst-grid-cols-3 lg:yst-gap-12",col1:"yst-col-span-1",col2:"lg:yst-mt-0 lg:yst-col-span-2"},xl:{grid:"yst-grid xl:yst-grid-cols-3 xl:yst-gap-12",col1:"yst-col-span-1",col2:"xl:yst-mt-0 xl:yst-col-span-2"},"2xl":{grid:"yst-grid 2xl:yst-grid-cols-3 2xl:yst-gap-12",col1:"yst-col-span-1",col2:"2xl:yst-mt-0 2xl:yst-col-span-2"}}));var ce=s(1609);const de=window.ReactDOM;var ue,pe,me;(pe=ue||(ue={})).Pop="POP",pe.Push="PUSH",pe.Replace="REPLACE",function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"}(me||(me={})),new Set(["lazy","caseSensitive","path","id","index","children"]),Error;const ye=["post","put","patch","delete"],ge=(new Set(ye),["get",...ye]);new Set(ge),new Set([301,302,303,307,308]),new Set([307,308]),Symbol("deferred"),ce.Component,ce.startTransition,new Promise(()=>{}),ce.Component,new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);try{window.__reactRouterVersion="6"}catch(e){}var he,we,fe,ve;new Map,ce.startTransition,de.flushSync,ce.useId,"undefined"!=typeof window&&void 0!==window.document&&window.document.createElement,(ve=he||(he={})).UseScrollRestoration="useScrollRestoration",ve.UseSubmit="useSubmit",ve.UseSubmitFetcher="useSubmitFetcher",ve.UseFetcher="useFetcher",ve.useViewTransitionState="useViewTransitionState",(fe=we||(we={})).UseFetcher="useFetcher",fe.UseFetchers="useFetchers",fe.UseScrollRestoration="useScrollRestoration",te().string.isRequired,te().string;const xe=({href:e,children:t=null,...s})=>(0,re.jsxs)(i.Link,{target:"_blank",rel:"noopener noreferrer",...s,href:e,children:[t,(0,re.jsx)("span",{className:"yst-sr-only",children:/* translators: Hidden accessibility text. */ /* translators: Hidden accessibility text. */
(0,o.__)("(Opens in a new browser tab)","wordpress-seo")})]});xe.propTypes={href:te().string.isRequired,children:te().node};s(8738);(0,o.__)("Create optimized SEO titles & meta descriptions in seconds","wordpress-seo"),(0,o.__)("Apply AI suggestions to improve content in 1 click","wordpress-seo"),(0,o.__)("Manage redirects with ease and without extra plugins","wordpress-seo"),(0,o.__)("Optimize pages for multiple keywords with guidance","wordpress-seo"),(0,o.__)("Add product details to help your listings stand out","wordpress-seo"),(0,o.__)("Make sure search engines show the right version of your product page","wordpress-seo"),(0,o.__)("Create optimized SEO titles & meta descriptions with AI","wordpress-seo"),(0,o.__)("Bulk AI-generated alt text for product images","wordpress-seo"),(0,o.__)("Generate SEO optimized metadata in seconds with AI","wordpress-seo"),(0,o.__)("Make your articles visible, be seen in Google News","wordpress-seo"),(0,o.__)("Built to get found by search, AI, and real users","wordpress-seo"),(0,o.__)("Easy Local SEO. Show up in Google Maps results","wordpress-seo"),(0,o.__)("Internal links and redirect management, easy","wordpress-seo"),(0,o.__)("Access to friendly help when you need it, day or night","wordpress-seo");te().string.isRequired,te().object.isRequired,te().func.isRequired,te().bool.isRequired,s(3473),te().string.isRequired,te().object,te().func.isRequired,te().bool.isRequired,te().string.isRequired,te().object.isRequired,te().string.isRequired,te().func.isRequired,te().bool.isRequired;var Se=s(5074),ke=s.n(Se);te().bool.isRequired,te().func,te().func,te().string.isRequired,te().string.isRequired,te().string.isRequired,te().string.isRequired;window.yoast.reactHelmet;te().string.isRequired,te().shape({src:te().string.isRequired,width:te().string,height:te().string}).isRequired,te().shape({value:te().bool.isRequired,status:te().string.isRequired,set:te().func.isRequired}).isRequired,te().bool,s(5687),te().bool.isRequired,te().func.isRequired,te().func,te().string;const _e="yoast-seo/editor",be=((0,c.mapValues)({post:"title",term:"term_title"},e=>`%%${e}%%`),({children:e})=>(0,re.jsx)("p",{className:"yst-mt-2",children:e}));be.propTypes={children:te().node.isRequired};const Re=(0,o.__)("Something went wrong","wordpress-seo"),je=({linkStoreName:t=_e})=>{const s=(0,e.useSelect)(e=>e(t).selectLink("https://yoa.st/ai-common-errors"),[t]),r=(0,e.useSelect)(e=>e(t).selectAdminLink("?page=wpseo_page_support"),[t]);return(0,re.jsx)(be,{children:se((0,o.sprintf)(/* translators: %1$s and %3$s expand to an opening tag. %2$s and %4$s expand to a closing tag. */ /* translators: %1$s and %3$s expand to an opening tag. %2$s and %4$s expand to a closing tag. */
(0,o.__)("Please try again later. If this issue persists, you can learn more about possible reasons for this error on our page about %1$scommon AI feature problems and errors%2$s. In case you need further help, please %3$scontact our support team%4$s.","wordpress-seo"),"<a1>","</a1>","<a2>","</a2>"),{a1:(0,re.jsx)(xe,{variant:"error",href:s}),a2:(0,re.jsx)(xe,{variant:"error",href:r})})})};je.propTypes={linkStoreName:te().string};const Ce=({linkStoreName:e=_e,className:t=""})=>(0,re.jsxs)(i.Alert,{variant:"error",className:t,children:[(0,re.jsx)("span",{className:"yst-block yst-font-medium",children:Re}),(0,re.jsx)(je,{linkStoreName:e})]});Ce.propTypes={linkStoreName:te().string,className:te().string},(0,o.__)("Not enough content","wordpress-seo"),(0,o.__)("SEO analysis required","wordpress-seo"),(0,o.__)("You've reached the Yoast AI rate limit","wordpress-seo"),(0,o.__)("Subscription required","wordpress-seo");te().arrayOf(te().string),te().arrayOf(te().string),(0,o.__)("Connection timeout","wordpress-seo"),(0,o.__)("Usage policy violation","wordpress-seo"),(0,o.__)("Something went wrong","wordpress-seo");te().string,te().string,(0,o.__)("Something went wrong","wordpress-seo");te().bool,te().func.isRequired,te().func.isRequired,te().bool,te().bool,te().func,te().func,te().bool,te().bool,te().func,te().func,te().string,te().bool,te().bool,te().func,te().func,te().bool,te().func,te().bool,te().func,te().bool,te().func,te().bool,te().func,te().arrayOf(te().string),te().bool,te().func,te().bool,te().func,(0,o.__)("Yoast AI cannot reach your site","wordpress-seo");te().string,te().bool,te().func;const Ne=({onGiveConsent:e,learnMoreLink:t,privacyPolicyLink:s,termsOfServiceLink:r,imageLink:a,linkStoreName:l})=>{const{onClose:c,initialFocus:d}=(0,i.useModalContext)(),[u,p]=(0,i.useToggleState)(!1),[m,y]=(0,n.useState)(!1),g=(0,n.useMemo)(()=>({src:a,width:"432",height:"244"}),[a]),h=se((0,o.sprintf)(/* translators: %1$s and %2$s are a set of anchor tags and %3$s and %4$s are a set of anchor tags. */ /* translators: %1$s and %2$s are a set of anchor tags and %3$s and %4$s are a set of anchor tags. */
(0,o.__)("I approve the %1$sTerms of Service%2$s & %3$sPrivacy Policy%4$s of the Yoast AI service. This includes consenting to the collection and use of data to improve user experience.","wordpress-seo"),"<a1>","</a1>","<a2>","</a2>"),{a1:(0,re.jsx)(xe,{href:r}),a2:(0,re.jsx)(xe,{href:s})}),[w,f]=(0,i.useToggleState)(!1),v=(0,n.useCallback)(async()=>{f();const t=await e();y(!1===t),f()},[e]);return(0,re.jsxs)(re.Fragment,{children:[(0,re.jsx)("div",{className:"yst-px-10 yst-pt-10 yst-introduction-gradient yst-text-center",children:(0,re.jsx)("div",{className:"yst-relative yst-w-full",children:(0,re.jsx)("img",{className:"yst-w-full yst-h-auto yst-rounded-md yst-drop-shadow-md",alt:"",loading:"lazy",decoding:"async",...g})})}),(0,re.jsxs)("div",{className:"yst-px-10 yst-pb-4 yst-flex yst-flex-col yst-items-center",children:[(0,re.jsxs)("div",{className:"yst-mt-4 yst-mx-1.5 yst-text-center",children:[(0,re.jsx)("h3",{className:"yst-text-slate-900 yst-text-lg yst-font-medium",children:(0,o.sprintf)(/* translators: %s expands to Yoast AI. */ /* translators: %s expands to Yoast AI. */
(0,o.__)("Grant consent for %s","wordpress-seo"),"Yoast AI")}),(0,re.jsx)("div",{className:"yst-mt-2 yst-text-slate-600 yst-text-sm",children:se((0,o.sprintf)(/* translators: %1$s is a break tag; %2$s and %3$s are anchor tag; %4$s is the arrow icon. */ /* translators: %1$s is a break tag; %2$s and %3$s are anchor tag; %4$s is the arrow icon. */
(0,o.__)("Enable AI-powered SEO! Use all Yoast AI features to boost your efficiency. Just give us the green light. %1$s%2$sLearn more%3$s%4$s","wordpress-seo"),"<br/>","<a>","<ArrowNarrowRightIcon />","</a>"),{a:(0,re.jsx)(xe,{href:t,className:"yst-inline-flex yst-items-center yst-gap-1 yst-no-underline yst-font-medium",variant:"primary"}),ArrowNarrowRightIcon:(0,re.jsx)(oe(),{className:"yst-w-4 yst-h-4 rtl:yst-rotate-180"}),br:(0,re.jsx)("br",{})})})]}),(0,re.jsx)("div",{className:"yst-flex yst-w-full yst-mt-6",children:(0,re.jsx)("hr",{className:"yst-w-full yst-text-gray-200"})}),(0,re.jsxs)("div",{className:"yst-flex yst-items-start yst-mt-4",children:[(0,re.jsx)("input",{type:"checkbox",id:"yst-ai-consent-checkbox",name:"yst-ai-consent-checkbox",checked:u,value:u?"true":"false",onChange:p,className:"yst-checkbox__input",ref:d}),(0,re.jsx)("label",{htmlFor:"yst-ai-consent-checkbox",className:"yst-label yst-checkbox__label yst-text-xs yst-font-normal yst-text-slate-500",children:h})]}),m&&(0,re.jsx)(Ce,{className:"yst-mt-3",linkStoreName:l}),(0,re.jsx)("div",{className:"yst-w-full yst-flex yst-mt-4",children:(0,re.jsxs)(i.Button,{as:"button",className:"yst-grow",size:"large",disabled:!u||m,onClick:v,children:[w&&!m&&(0,re.jsx)(i.Spinner,{className:"yst-me-2"}),(0,o.__)("Grant consent","wordpress-seo")]})}),(0,re.jsx)(i.Button,{as:"button",className:"yst-mt-4",variant:"tertiary",onClick:c,children:(0,o.__)("Close","wordpress-seo")})]})]})};Ne.propTypes={onGiveConsent:te().func.isRequired,learnMoreLink:te().string.isRequired,privacyPolicyLink:te().string.isRequired,termsOfServiceLink:te().string.isRequired,imageLink:te().string.isRequired,linkStoreName:te().string.isRequired};const qe={termsOfService:"https://yoa.st/ai-generator-terms-of-service",privacyPolicy:"https://yoa.st/ai-generator-privacy-policy",learnMore:"https://yoa.st/ai-generator-learn-more"},Le=({storeName:t,onConsentGranted:s,linkStoreName:r,links:o={}})=>{const i=(0,n.useMemo)(()=>({...qe,...o}),[o]),{termsOfServiceLink:a,privacyPolicyLink:l,learnMoreLink:c,imageLink:d,endpoint:u}=(0,e.useSelect)(e=>{const s=e(r),n=e(t);return{termsOfServiceLink:s.selectLink(i.termsOfService),privacyPolicyLink:s.selectLink(i.privacyPolicy),learnMoreLink:s.selectLink(i.learnMore),imageLink:s.selectImageLink("ai-consent.jpg"),endpoint:n.selectAiGeneratorConsentEndpoint()}},[r,t,i]),{storeAiGeneratorConsent:p}=(0,e.useDispatch)(t),m=(0,n.useCallback)(async()=>{const e=await p(!0,u);return!1!==e&&s(),e},[p,s,u]);return(0,re.jsx)(Ne,{termsOfServiceLink:a,privacyPolicyLink:l,learnMoreLink:c,imageLink:d,onGiveConsent:m,linkStoreName:r})};Le.propTypes={storeName:te().string.isRequired,onConsentGranted:te().func.isRequired,linkStoreName:te().string.isRequired,links:te().shape({termsOfService:te().string,privacyPolicy:te().string,learnMore:te().string})};const Ae="yoast-seo/ai-consent",Ie={termsOfService:"https://yoa.st/ai-fix-assessments-terms-of-service",privacyPolicy:"https://yoa.st/ai-fix-assessments-privacy-policy",learnMore:"https://yoa.st/ai-fix-assessments-consent-learn-more"},Oe=({onStartGenerating:e})=>(0,re.jsx)(Le,{storeName:Ae,onConsentGranted:e,linkStoreName:Ae,links:Ie});Oe.propTypes={onStartGenerating:te().func.isRequired};const Ee=({onClose:t})=>{const{storeAiGeneratorConsent:s,giveAiGeneratorConsent:r}=(0,e.useDispatch)(Ae),a=(0,e.useSelect)(e=>e(Ae).selectAiGeneratorConsentEndpoint(),[]),[l,c]=(0,n.useState)(!1),d=(0,n.useCallback)(async()=>{c(!0),await s(!1,a),r(!1),t(),c(!1)},[s,r,c,t,a]);return(0,re.jsxs)("div",{className:"yst-flex yst-flex-row",children:[(0,re.jsx)("span",{className:"yst-shrink-0 yst-h-12 yst-w-12 yst-rounded-full yst-flex yst-justify-center yst-items-center yst-mb-3 yst-me-5 yst-bg-red-100",children:(0,re.jsx)(ke(),{className:"yst-w-6 yst-h-6 yst-align-center yst-text-red-600"})}),(0,re.jsxs)("div",{children:[(0,re.jsx)(i.Modal.Title,{className:"yst-font-semibold",as:"h3",size:"4",children:(0,o.__)("Revoke AI consent","wordpress-seo")}),(0,re.jsx)("p",{className:"yst-mt-2 yst-text-slate-600",children:(0,o.__)("By revoking your consent, you will no longer have access to Yoast AI features. Are you sure you want to revoke your consent?","wordpress-seo")}),(0,re.jsxs)("footer",{className:"yst-mt-6 sm:yst-flex sm:yst-flex-row-reverse",children:[(0,re.jsx)(i.Button,{variant:"error",isLoading:l,className:"yst-w-full sm:yst-w-auto yst-revoke-button",onClick:d,children:(0,o.__)("Yes, revoke consent","wordpress-seo")}),(0,re.jsx)(i.Button,{variant:"secondary",className:"yst-w-full sm:yst-w-auto yst-me-3",onClick:t,children:(0,o.__)("Close","wordpress-seo")})]})]})]})};r()(()=>{((t={})=>{(0,e.register)((t=>(0,e.createReduxStore)(Ae,{actions:{...N,...D,...M,...g},selectors:{...C,...W,...P,...y},initialState:(0,c.merge)({},{[_]:j(),[H]:V(),[I]:E(),[u]:m()},t),reducer:(0,e.combineReducers)({[_]:L,[H]:J,[I]:T,[u]:h}),controls:{...q}}))(t))})({[_]:{hasConsent:"1"===(0,c.get)(window,"wpseoAiConsent.hasConsent",!1),endpoint:(0,c.get)(window,"wpseoAiConsent.endpoints.consent","")},[H]:(0,c.get)(window,"wpseoAiConsent.pluginUrl",""),[I]:(0,c.get)(window,"wpseoAiConsent.linkParams",{}),[u]:(0,c.get)(window,"wpseoAiConsent.adminUrl","")});const t=()=>{const t=(0,e.useSelect)(e=>e(Ae).selectHasAiGeneratorConsent(),[]),[s,,,r,a]=(0,i.useToggleState)(!1),c=(0,n.useRef)(null),d=(0,n.useCallback)(e=>{if(e.isTrusted)return e.currentTarget===e.target&&void r()},[r]);return(0,re.jsxs)(n.Fragment,{children:[(0,re.jsx)(i.Modal,{className:"yst-introduction-modal",isOpen:s,onClose:a,initialFocus:c,children:(0,re.jsxs)(i.Modal.Panel,{className:l()(!t&&"yst-p-0 yst-max-w-lg yst-rounded-3xl",t&&"yst-max-w-xl yst-rounded-lg"),children:[!t&&(0,re.jsx)(Oe,{onStartGenerating:a,focusElementRef:c}),t&&(0,re.jsx)(Ee,{onClose:a})]})}),(0,re.jsx)("button",{className:"button",id:"ai-generator-consent-button",type:"button",onClick:d,children:t?(0,o.__)("Revoke consent","wordpress-seo"):(0,o.__)("Grant consent","wordpress-seo")})]})},s=document.getElementById("ai-generator-consent");s&&(0,n.createRoot)(s).render((0,re.jsx)(t,{}))})})()})();
Distinguish Your Business From The Rest With The People That Make Up Your Team
We go Beyond a Resume to find high value, committed people
ready, willing, and able to add true value toward your organization's mission.
The right people make or break your business
We focus on resolving two types of challenges surrounding staffing and recruiting at Beyond a Resume: The first challenge comes when a business continues to grow, but does not have the full-time, internal, talent acquisition resources to hire the right people or talent necessary to keep up with their rate of progression as a company.
The second is a business that has a dedicated internal Human Resources Team, but requires outsourced assistance when the volume of people and talent needed exceeds short term internal capacity, OR the position(s) they seek to fill demand a specific skill set that is difficult to find, requiring added bandwidth.
In nearly any line of business, growth is a challenge in and of itself. Yet, the real problems arise in managing growth to ensure your progress remains profitable, sustainable, and repeatable. The biggest factor in this equation is usually found in your people. When you have the right people, success is unlimited. On the other hand, when you don’t have the right people in place or are having trouble finding enough of the right people, failure or stagnation is imminent.
The frustration that comes with the process of “hiring” can bring you to new levels of stress as the time cost involved eats away at your production elsewhere. If you have experienced this in the past, or are currently struggling with this issue, you’re certainly not alone. You may simply need the right partner to take the worst parts of this process off your plate so you can concentrate on your responsibilities, while we work diligently to reduce the noise and deliver only the ideal candidates worth your time and attention.
People can make or break your business and we go Beyond a Resume to find high value, committed people ready, willing, and able to add true value.