HEX
Server: LiteSpeed
System: Linux cpir1.prohostdns.com 4.18.0-553.123.2.lve.el8.x86_64 #1 SMP Thu May 7 23:17:13 UTC 2026 x86_64
User: pelakir (2976)
PHP: 8.2.31
Disabled: exec, shell_exec, system, passthru, proc_open, proc_close, proc_terminate, proc_get_status, popen, pclose, pcntl_exec
Upload Files
File: /home/pelakir/www/wp-content/plugins/wordpress-seo-premium/assets/js/dist/introductions-2760.min.js
(()=>{var e={951:(e,t)=>{var i;!function(){"use strict";var s={}.hasOwnProperty;function r(){for(var e=[],t=0;t<arguments.length;t++){var i=arguments[t];if(i){var n=typeof i;if("string"===n||"number"===n)e.push(i);else if(Array.isArray(i)){if(i.length){var o=r.apply(null,i);o&&e.push(o)}}else if("object"===n){if(i.toString!==Object.prototype.toString&&!i.toString.toString().includes("[native code]")){e.push(i.toString());continue}for(var a in i)s.call(i,a)&&i[a]&&e.push(a)}}}return e.join(" ")}e.exports?(r.default=r,e.exports=r):void 0===(i=function(){return r}.apply(t,[]))||(e.exports=i)}()}},t={};function i(s){var r=t[s];if(void 0!==r)return r.exports;var n=t[s]={exports:{}};return e[s](n,n.exports,i),n.exports}i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},i.d=(e,t)=>{for(var s in t)i.o(t,s)&&!i.o(e,s)&&Object.defineProperty(e,s,{enumerable:!0,get:t[s]})},i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";const e=window.wp.domReady;var t=i.n(e);const s=window.wp.hooks,r=window.lodash,n=window.yoast.reduxJsToolkit,o="adminUrl",a=(0,n.createSlice)({name:o,initialState:"",reducers:{setAdminUrl:(e,{payload:t})=>t}}),l=(a.getInitialState,{selectAdminUrl:e=>(0,r.get)(e,o,"")});l.selectAdminLink=(0,n.createSelector)([l.selectAdminUrl,(e,t)=>t],((e,t)=>{try{return new URL(t,e).href}catch(t){return e}})),a.actions,a.reducer;const c="pluginUrl",d=(0,n.createSlice)({name:c,initialState:"",reducers:{setPluginUrl:(e,{payload:t})=>t}}),u=d.getInitialState,p={selectPluginUrl:e=>(0,r.get)(e,c,"")};p.selectImageLink=(0,n.createSelector)([p.selectPluginUrl,(e,t,i="assets/images")=>i,(e,t)=>t],((e,t,i)=>[(0,r.trimEnd)(e,"/"),(0,r.trim)(t,"/"),(0,r.trimStart)(i,"/")].join("/")));const m=d.actions,w=d.reducer,y=window.wp.url,g="linkParams",h=(0,n.createSlice)({name:g,initialState:{},reducers:{setLinkParams:(e,{payload:t})=>t}}),v=(h.getInitialState,{selectLinkParam:(e,t,i={})=>(0,r.get)(e,`${g}.${t}`,i),selectLinkParams:e=>(0,r.get)(e,g,{})});v.selectLink=(0,n.createSelector)([v.selectLinkParams,(e,t)=>t],((e,t)=>(0,y.addQueryArgs)(t,e))),h.actions,h.reducer;const f=window.wp.apiFetch;var b=i.n(f);const x="loading",S="wistiaEmbedPermission",R=(0,n.createSlice)({name:S,initialState:{value:!1,status:"idle",error:{}},reducers:{setWistiaEmbedPermissionValue:(e,{payload:t})=>{e.value=Boolean(t)}},extraReducers:e=>{e.addCase(`${S}/request`,(e=>{e.status=x})),e.addCase(`${S}/success`,((e,{payload:t})=>{e.status="success",e.value=Boolean(t&&t.value)})),e.addCase(`${S}/error`,((e,{payload:t})=>{e.status="error",e.value=Boolean(t&&t.value),e.error={code:(0,r.get)(t,"error.code",500),message:(0,r.get)(t,"error.message","Unknown")}}))}}),E=(R.getInitialState,R.actions,R.reducer,"notifications"),I=(0,n.createSlice)({name:E,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:i="default",title:s,description:r})=>({payload:{id:e||(0,n.nanoid)(),variant:t,size:i,title:s||"",description:r}})},removeNotification:(e,{payload:t})=>(0,r.omit)(e,t)}});var j;I.getInitialState,I.actions,I.reducer;const k=(0,n.createSlice)({name:"documentTitle",initialState:(0,r.defaultTo)(null===(j=document)||void 0===j?void 0:j.title,""),reducers:{setDocumentTitle:(e,{payload:t})=>t}}),C=(k.getInitialState,k.actions,k.reducer,window.wp.data),P=window.wp.element,_=window.React,z=_.forwardRef((function(e,t){return _.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),_.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"}))})),L=window.wp.i18n,N=window.yoast.uiLibrary,q=window.yoast.propTypes;var B=i.n(q);const T=(e,t)=>{try{return(0,P.createInterpolateElement)(e,t)}catch(t){return console.error("Error in translation for:",e,t),e}},A=window.ReactJSXRuntime;B().string.isRequired,B().shape({src:B().string.isRequired,width:B().string,height:B().string}).isRequired,B().shape({value:B().bool.isRequired,status:B().string.isRequired,set:B().func.isRequired}).isRequired;const O=({href:e,children:t,...i})=>(0,A.jsxs)(N.Link,{target:"_blank",rel:"noopener noreferrer",...i,href:e,children:[t,(0,A.jsx)("span",{className:"yst-sr-only",children:/* translators: Hidden accessibility text. */ /* translators: Hidden accessibility text. */
(0,L.__)("(Opens in a new browser tab)","wordpress-seo-premium")})]});O.propTypes={href:B().string.isRequired,children:B().node},O.defaultProps={children:null};window.yoast.reactHelmet;B().string.isRequired,B().shape({src:B().string.isRequired,width:B().string,height:B().string}).isRequired,B().shape({value:B().bool.isRequired,status:B().string.isRequired,set:B().func.isRequired}).isRequired,B().func.isRequired,B().string.isRequired,B().string.isRequired,B().string.isRequired,B().string.isRequired;var $=i(951),U=i.n($);const V=window.yoast.aiFrontend,Y=(e,t)=>{const i=document.getElementById(`${t}`);return null==i?void 0:i.getElementsByClassName(e)[0]},D=async(e="ai-button")=>{const t=document.getElementById("wpseo_meta");if(!t)return null;t.classList.contains("closed")&&(t.classList.remove("closed"),await new Promise((e=>setTimeout(e,600))));const i=document.getElementById("yoast-seo-analysis-collapsible-metabox"),s=document.getElementById("wpseo-meta-tab-readability"),r="true"===(null==s?void 0:s.ariaSelected);let n;return i&&!r&&("false"===i.getAttribute("aria-expanded")&&(i.click(),await new Promise((e=>setTimeout(e,1e3)))),n=Y(e,"wpseo-meta-section-content")),s&&!n&&(r||(s.click(),await new Promise((e=>setTimeout(e,600)))),n=Y(e,"wpseo-meta-section-readability")),n},F=()=>{const{handleDismiss:e}=(0,N.usePopoverContext)(),t=(0,L.__)("Got it!","wordpress-seo-premium"),i=(0,P.useRef)(null);return(0,P.useEffect)((()=>{const e=setTimeout((()=>{i.current&&(i.current.focus(),i.current.scrollIntoView({behavior:"smooth",block:"center"}))}),300);return()=>clearTimeout(e)}),[]),(0,A.jsx)(N.Button,{ref:i,type:"button",variant:"primary",onClick:e,className:"yst-self-end",children:t})},M=()=>{const e=(0,L.sprintf)(/* translators: %1$s expands to Yoast SEO */ /* translators: %1$s expands to Yoast SEO */
(0,L.__)("Integrated in your %1$s Analyses","wordpress-seo-premium"),"Yoast SEO"),t=(0,L.__)("Improve your content SEO and readability with a click. Generate suggestions and start optimizing right away.","wordpress-seo-premium"),[i,s]=(0,P.useState)(null);(0,P.useEffect)((()=>{D().then((e=>{e?s(e):b()({path:"yoast/v1/introductions/ai-optimize-classic/seen/",method:"POST",data:{is_seen:!1}})}))}),[]);const{position:r}=(0,N.useNotificationsContext)(),[n,o]=(0,P.useState)(!1),[a,l]=(0,P.useState)(!1),[c,d]=(0,P.useState)({}),u=(0,P.useRef)(null),p=(()=>{const[e,t]=(0,P.useState)(null);return(0,P.useEffect)((()=>{const e=()=>t(window.innerWidth<640);return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)}),[]),e})(),m=(0,P.useCallback)((()=>{const e=u.current;if(e){const t=e.getBoundingClientRect();d({top:`${t.top+window.scrollY}px`,left:`${t.left+window.scrollX}px`,width:`${t.width}px`,height:`${t.height}px`})}}),[]),w=(0,P.useCallback)((async()=>{const e=await(async()=>{const e=await D();return e?(e=>{e.scrollIntoView({behavior:"smooth",block:"center"});const t=e.cloneNode(!0),i=(e=>{const t=e.getBoundingClientRect(),i=document.createElement("div");return Object.assign(i.style,{position:"absolute",top:`${t.top+window.scrollY}px`,left:`${t.left+window.scrollX}px`,width:`${t.width}px`,height:`${t.height}px`,zIndex:"10001"}),i})(e);return i.appendChild(t),document.body.appendChild(i),i})(e):null})();e&&(u.current=e,l(!0))}),[m]),y=(0,P.useCallback)((()=>{l(!1),u.current&&(document.body.removeChild(u.current),u.current=null)}),[]),g=(0,P.useCallback)((()=>{o(!1)}),[o]),h=(0,P.useCallback)((()=>{w().then(g)}),[w,g]);return(0,P.useEffect)((()=>{if(!a||!u.current)return;m(),window.addEventListener("scroll",m),window.addEventListener("resize",m);const e=new ResizeObserver(m);return e.observe(u.current),()=>{window.removeEventListener("scroll",m),window.removeEventListener("resize",m),e.disconnect()}}),[a,m]),(0,P.useEffect)((()=>{if(a){const e=document.getElementById("wp-content-editor-tools"),t=document.getElementById("mceu_25"),i=document.getElementById("adminmenuback");e&&(e.style.zIndex="0"),t&&(t.style.zIndex="0"),i&&(i.style.zIndex="1001")}}),[a]),(0,P.useEffect)((()=>{a||y()}),[a,y]),i&&(0,A.jsxs)(A.Fragment,{children:[(0,A.jsx)(N.Notifications,{className:U()(p?"yst-mx-[calc(50%-50vw)] yst-transition-all":"yst-mx-[calc(60%-50vw)] yst-transition-all",""),position:"bottom-left",children:(0,A.jsx)(N.Toast,{id:"ai-optimize-classic-introduction",className:"yst-w-96 yst-border yst-overflow-y-visible yst-bg-white",onDismiss:g,isVisible:n,setIsVisible:o,position:r,children:(0,A.jsx)(V.ToastContent,{title:(0,L.__)("New: Yoast AI Optimize for the Classic Editor!","wordpress-seo-premium"),description:(0,L.__)("Save time optimizing your content SEO and readability with smart AI suggestions.","wordpress-seo-premium"),badgeText:"",learnMoreLink:"",handleDismiss:g,handleApply:h,applyButtonContent:T(/* translators: %1$s is the arrow icon. */ /* translators: %1$s is the arrow icon. */
(0,L.sprintf)((0,L.__)("Show me %1$s","wordpress-seo-premium"),"<ArrowNarrowRightIcon />"),{ArrowNarrowRightIcon:(0,A.jsx)(z,{className:"yst-w-4 yst-h-4 rtl:yst-rotate-180 yst-ms-1"})})})})}),a&&u.current&&(0,A.jsx)("div",{className:"yst-absolute",style:c,children:(0,A.jsxs)(N.Popover,{id:"ai-optimize-introduction-classic-popover",hasBackdrop:!0,role:"dialog",isVisible:a,setIsVisible:l,position:p?"bottom-left":"right",className:U()(p?"yst--end-[14px] yst-top-11":"yst-start-full"),"aria-labelledby":"popover-title","aria-describedby":"popover-content",children:[(0,A.jsxs)("div",{className:"yst-flex yst-gap-3",children:[(0,A.jsx)("div",{className:"yst-flex-shrink-0",children:(0,A.jsx)("span",{className:"yst-logo-icon","aria-label":"Yoast Logo",role:"img"})}),(0,A.jsxs)("div",{className:"yst-flex-1",children:[(0,A.jsx)("div",{className:"yst-mb-2 yst-flex yst-justify-start",children:(0,A.jsx)(N.Popover.Title,{id:"popover-title",children:e})}),(0,A.jsx)(N.Popover.Content,{id:"popover-content",children:t})]}),(0,A.jsx)("div",{children:(0,A.jsx)(N.Popover.CloseButton,{screenReaderLabel:(0,L.__)("Dismiss popover.","wordpress-seo-premium")})})]}),(0,A.jsx)("div",{className:"yst-flex yst-gap-3 yst-justify-end yst-mt-3",children:(0,A.jsx)(F,{})})]})})]})},W=()=>{const e=(0,r.get)(window,"YoastSEO._registerIntroductionComponent",null);null!==e?(((e={})=>{(0,C.register)((e=>(0,C.createReduxStore)("yoast-seo-premium/introductions",{actions:{...m},selectors:{...p},initialState:(0,r.merge)({},{[c]:u()},e),reducer:(0,C.combineReducers)({[c]:w})}))(e))})({[c]:(0,r.get)(window,"wpseoPremiumIntroductions.pluginUrl","")}),setTimeout((()=>{e("ai-optimize-classic",M)}),3e3)):console.error("Warning: Premium introductions expected window.YoastSEO._registerIntroductionComponent to exist.")};t()((()=>{(0,s.didAction)("yoast.introductions.ready")?W():(0,s.addAction)("yoast.introductions.ready","yoast/yoast-seo-premium/initializeIntroductions",W)}))})()})();