Server : LiteSpeed
System : Linux premium92.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
User : rbnsfqys ( 805)
PHP Version : 8.1.33
Disable Function : NONE
Directory :  /home/rbnsfqys/ali.rbn.services/wp-content/plugins/surerank/build/bricks/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]


Current File : /home/rbnsfqys/ali.rbn.services/wp-content/plugins/surerank/build/bricks/index.js
"use strict";(globalThis.webpackChunksurerank=globalThis.webpackChunksurerank||[]).push([[4961],{1671:(e,t,r)=>{r.d(t,{E:()=>n});const n="surerank"},9607:(e,t,r)=>{r.d(t,{EJ:()=>g,MI:()=>P,OY:()=>$,P$:()=>b,P3:()=>m,PA:()=>y,RL:()=>F,XY:()=>p,ZV:()=>E,_t:()=>z,b7:()=>j,bF:()=>h,cn:()=>_,d_:()=>B,e$:()=>f,jP:()=>v,jT:()=>D,mT:()=>O,mv:()=>N,ns:()=>I,pk:()=>k,rt:()=>U,sI:()=>M,sL:()=>S,sz:()=>L,tI:()=>V,tX:()=>T,we:()=>A,x7:()=>H,xZ:()=>R,xx:()=>x});var n=r(27723),s=r(65313),a=r(6463),o=r(80696),i=r(81301),l=r(34164),u=r(75795),c=r(50856),d=r(76016);const p=e=>{const t=e.match(/<p>(.*?)<\/p>/g);return t?.length?t[0].replace(/(<([^>]+)>)/gi,""):e.replace(/(<([^>]+)>)/gi,"").replace(/\s+/g," ")},g=(e,t,r="...")=>!e?.length||!t||t<0||e.length<=t?e:e.slice(0,t)+r,h=(e,t,r=100)=>{if("string"!==typeof e||!e.trim())return;if(!w(t))return;const n=document.querySelector(e);n&&setTimeout(()=>{(0,u.createRoot)(n).render(t)},r)},w=e=>e&&e?.$$typeof===Symbol.for("react.element"),f=()=>({surerank_general:"general_settings",surerank_social:"social_settings",surerank_advanced:"advanced_settings"}[new URLSearchParams(window.location.search).get("page")]||"general_settings"),_=(...e)=>(0,c.QP)((0,l.A)(...e)),m=(e,t="value")=>{const r=e?.root?.children[0]?.children;if(!r||!r?.length)return"";let n="";return r.forEach(e=>{switch(e.type){case"text":n+=e.text;break;case"mention":n+=e.data[t];break;case"linebreak":n+="\n"}}),n},k=(e,t=[],r="value",n={type:"mention",version:1,data:{},size:"md",by:"label"})=>{const s={root:{children:[{children:[],direction:null,format:"",indent:0,type:"paragraph",version:1,textFormat:0,textStyle:""}],direction:null,format:"",indent:0,type:"root",version:1}};return("string"===typeof e?e:"").trim().split(/(\s+|%[\w\-_.]+%)/).filter(Boolean).forEach(e=>{if("\n"===e)s.root.children[0].children.push({type:"linebreak",version:1});else if(e?.startsWith("%")&&e?.endsWith("%")){const a=t?.find(t=>t[r]===e.trim());s.root.children[0].children.push(a?{...n,data:{...a}}:{detail:0,format:0,mode:"normal",style:"",text:e,type:"text",version:1})}else s.root.children[0].children.push({detail:0,format:0,mode:"normal",style:"",text:e,type:"text",version:1})}),JSON.stringify(s)};function v(e,t=65){const r=e.split("/");let n=`${r.slice(0,3).join("/")} \u203a ${r.slice(3).filter(Boolean).join(" \u203a ")}`;return n.length>t&&(n=n.substring(0,t-3)+"..."),n}const b=e=>{const t=window.location.pathname;return Array.isArray(e)?e.some(e=>t.includes(e)):t.includes(e)},y=(e,t={})=>{if(!e)return;const{delay:r=1e3,retryDelay:n=200,maxRetries:s=5}=t,a=(t=0)=>{const o=document.getElementById(e);o?setTimeout(()=>{o.scrollIntoView({behavior:"smooth",block:"center",inline:"nearest"})},r):t<s&&setTimeout(()=>{a(t+1)},n)};window.requestAnimationFrame(()=>{a()})},x=(e,t)=>{try{return new URL(window.location.href).searchParams.get(e)===t}catch(r){return!1}},C=(e,t="yyyy-MM-dd")=>{try{if(!e||isNaN(new Date(e).getTime()))throw new Error((0,n.__)("Invalid Date","surerank"));return(0,s.GP)(new Date(e),t)}catch(r){return(0,n.__)("No Date","surerank")}},$=(e,t=!0)=>{if(isNaN(e))return{from:"",to:""};const r=t?(0,o.R)():(0,i.K)();let n=new Date(r);return n.setDate(r.getDate()-e),n=(0,a.o)(n),{from:n,to:r}},E=(e,t={})=>{const{decimals:r=1,forceDecimals:n=!1}=t;if("number"!==typeof e||isNaN(e))return"0";const s=e<0,a=Math.abs(e);if(a<1e3)return s?`-${a}`:a.toString();const o=[{value:1e3,suffix:"k"},{value:1e6,suffix:"m"},{value:1e9,suffix:"b"},{value:1e12,suffix:"t"},{value:1e15,suffix:"p"},{value:1e18,suffix:"e"},{value:1e21,suffix:"z"},{value:1e24,suffix:"y"},{value:1e27,suffix:"r"},{value:1e30,suffix:"q"}],i=o.find(({value:e})=>a<1e3*e)||o[o.length-1],l=(a/i.value).toFixed(r);return`${s?"-":""}${n?l:l.replace(/\.?0+$/,"")}${i.suffix}`},S=e=>{const t=new Date(e);return new Date(t.getTime()-6e4*t.getTimezoneOffset()).toISOString()},T=(e,t,r,s="MMM dd, yyyy")=>{if(!e)return"";const a=new Date(e),o=t?new Date(t):null,i=r?new Date(r):null;return isNaN(a.getTime())?(0,n.__)("Invalid Date","surerank"):o&&i?o.getMonth()===i.getMonth()&&o.getFullYear()===i.getFullYear()?C(a,"dd"):o.getFullYear()===i.getFullYear()?C(a,"MMM dd"):C(a,s):C(a,s)},M=e=>{let t,r="pending";const n=e.then(e=>{r="success",t=e},e=>{r="error",t=e});return{read(){if("pending"===r)throw n;if("error"===r)throw t;if("success"===r)return t}}},D=e=>{var t;return e&&"string"===typeof e&&null!==(t=(new DOMParser).parseFromString(e,"text/html").documentElement.textContent)&&void 0!==t?t:e},N=e=>{try{return/^(https?:\/\/)?((([a-z\d]([a-z\d-]*[a-z\d])*)\.)+[a-z]{2,}|localhost|\d{1,3}(\.\d{1,3}){3})(:\d+)?(\/[-a-z\d%_.~+]*)*(\?[;&a-z\d%_.~+=-]*)?(\#[-a-z\d_]*)?(\s.*)?$/i.test(e)}catch(t){return!1}},O=e=>e?Object.entries(e).map(([e,t])=>{const r=e.replace(/_/g," ").replace(/\b\w/g,e=>e.toUpperCase());return{...t,id:e,title:t?.message||r,data:t?.description,showImages:"image_alt_text"===e}}):[],R=(e,t=[])=>e.filter(Boolean).reduce((e,r)=>(t.includes(r.id)?(r.ignore=!0,e.ignoredChecks.push(r)):(r.ignore=!1,"error"===r.status?e.badChecks.push(r):"warning"===r.status?e.fairChecks.push(r):"suggestion"===r.status?e.suggestionChecks.push(r):"success"===r.status&&e.passedChecks.push(r)),e),{badChecks:[],fairChecks:[],suggestionChecks:[],passedChecks:[],ignoredChecks:[]}),z=(e,t)=>"error"===e?(0,n.sprintf)("%1$s %2$s",t,(0,n._n)("Issue","Issues",t,"surerank")):"warning"===e?(0,n.sprintf)("%1$s %2$s",t,(0,n._n)("Warning","Warnings",t,"surerank")):(0,n.__)("SEO is Optimized","surerank"),I=e=>{switch(e){case"error":return"bg-support-error";case"warning":return"bg-support-warning";case"suggestion":return"bg-support-info";case"success":return"bg-support-success";default:return"bg-background-secondary"}},H=e=>e>0?(0,n.sprintf)((0,n.__)("%1$d %2$s need attention.","surerank"),e,(0,n._n)("issue","issues",e,"surerank")):(0,n.__)("All SEO checks passed.","surerank"),P=(e,t="")=>{try{const r=new URL(e,window.location.origin).searchParams;return t?r.get(t)||"":Object.fromEntries(r.entries())}catch(r){return t?"":{}}},j=(e,t)=>{try{const r=new URL(e,window.location.origin),n=r.searchParams;return Array.isArray(t)?t.forEach(e=>n.delete(e)):n.delete(t),r.toString()}catch(r){return e}},A=(e,t)=>(e&&"object"===typeof e&&Object.keys(e).forEach(r=>{e[r]&&"object"===typeof e[r]&&(e[r].category=t)}),e),F=(e,t,r)=>{const n=[];return d.Tv.forEach(s=>{if(s===t)n.push(...r);else{const t=L(s).type;n.push(...e.pageSeoChecks?.[t]||[])}}),n},L=e=>({type:`${e}Checks`,categorizedType:`categorized${e.charAt(0).toUpperCase()+e.slice(1)}Checks`}),V=e=>{let t=null!==e&&void 0!==e?e:"";return t.includes("sc-domain:")&&(t=t.replace(/sc-domain:/,"")),t.includes("https://")||t.includes("http://")||(t=`https://${t}`),t},B=e=>{let t="";switch(e.percentageType){case"danger":t="text-support-error [&>*]:text-support-error";break;case"success":t="text-support-success [&>*]:text-support-success";break;default:t=""}let r="";return null===e.value&&null===e.previous&&(r="text-text-tertiary [&>*]:text-text-tertiary"),{differenceClassName:t,fallbackClassName:r}},U=e=>({renderValue:null===e.value&&null===e.previous?"N/A":E(e.value),renderDifference:null===e.value&&null===e.previous?"N/A":E(Math.abs(e?.value-e?.previous))})},24488:(e,t,r)=>{var n,s=r(27723),a=r(61701);n=jQuery,document.addEventListener("DOMContentLoaded",function(){const e=n("#bricks-toolbar .right, #bricks-toolbar .end"),t=n(`<li aria-label="${(0,s.__)("Open SureRank SEO","surerank")}" data-balloon-pos="bottom" data-balloon="${(0,s.__)("SureRank Meta Box","surerank")}" tabindex="0">\n\t\t\t\t\t\t<span class="bricks-svg-wrapper">${(0,a.R)("surerank")}</span>\n\t\t\t\t\t</li>`);t.on("click",a.J),e.children().eq(3).after(t)})},27723:e=>{e.exports=window.wp.i18n},47143:e=>{e.exports=window.wp.data},51609:e=>{e.exports=window.React},61701:(e,t,r)=>{r.d(t,{J:()=>o,R:()=>i});var n=r(9607),s=r(1671),a=r(47143);const o=()=>{(0,a.dispatch)(s.E).updateModalState(!0)},i=e=>`<svg class="${(0,n.cn)(e)}" width="12" height="12" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n          <path d="M13.5537 1.5C17.8453 1.5 21.3251 4.97895 21.3252 9.27051C21.3252 12.347 19.5368 15.0056 16.9434 16.2646H21.3252V22.5H18.0889C14.9086 22.5 12.2861 20.1186 11.9033 17.042H11.9014L11.9033 13.7852C14.8283 13.7661 17.0342 11.3894 17.0342 8.45996V6.0293C14.137 6.02947 11.6948 7.97682 10.9443 10.6338C10.1605 9.53345 8.87383 8.8165 7.41992 8.81641H6.38086V9.85352H6.38379C6.44515 12.0356 8.23375 13.786 10.4307 13.7861H10.7061L10.6934 17.042H10.6865C10.2943 20.1082 7.67678 22.4785 4.50391 22.4785H2.6748V1.5H13.5537Z" fill="white"/>\n        </svg>`},75795:e=>{e.exports=window.ReactDOM},76016:(e,t,r)=>{r.d(t,{$K:()=>f,Et:()=>b,HH:()=>T,Jj:()=>x,KT:()=>C,Op:()=>h,Rw:()=>$,Tv:()=>S,UM:()=>m,X:()=>v,dc:()=>E,de:()=>_,qt:()=>k,vr:()=>w,x8:()=>y});var n,s,a,o,i,l,u,c,d,p=r(51609),g=r(27723);const h=null!==(n=window?.surerank_globals?.input_variable_suggestions)&&void 0!==n?n:null,w=[{id:"post_no_index",value:"no",label:(0,g.__)("No index","surerank"),description:(0,g.__)("Prevents search engines from listing your page in search results.","surerank")},{id:"post_no_follow",value:"no",label:(0,g.__)("No follow","surerank"),description:(0,g.__)("Tells search engines not to follow any links on your page.","surerank")},{id:"post_no_archive",value:"no",label:(0,g.__)("No archive","surerank"),description:(0,g.__)("Blocks search engines from storing a cached version of your page.","surerank")}],f=()=>(0,g.__)("This content will be set as the meta description tag and may appear in search results. Keep it short and clearly explain what the page is about.","surerank"),_=null!==(s=window?.surerank_globals?.wp_dashboard_url)&&void 0!==s?s:"",m=null!==(a=window?.surerank_globals?.description_length)&&void 0!==a?a:160,k=null!==(o=window?.surerank_globals?.title_length)&&void 0!==o?o:60,v=null!==(i=window?.surerank_globals?.url_length)&&void 0!==i?i:90,b=()=>{var e;return(0,p.createElement)(p.Fragment,null,(0,g.__)("View a preview of how your page may appear in search engine results. This preview is for guidance only and might not exactly match how search engines display your content.","surerank"),(0,p.createElement)("div",{className:"mt-2"},(0,p.createElement)("strong",null,(0,g.__)("Site Icon: ","surerank")),(0,p.createElement)("span",null,(0,g.__)("The site icon (favicon) appears in browser tabs, bookmarks, and mobile devices. To update it, go to General Settings \u2192 Site Icon and upload a new image under Site Identity.","surerank")," ",(0,p.createElement)("a",{href:null!==(e=window?.surerank_globals?.wp_general_settings_url)&&void 0!==e?e:"",target:"_blank",rel:"noopener noreferrer",className:"block mt-2 no-underline hover:no-underline focus:[box-shadow:none] text-link-inverse hover:text-link-inverse-hover"},(0,g.__)("Change Here","surerank")))))},y=500,x=null!==(l=window?.surerank_globals?.enable_page_level_seo)&&void 0!==l&&l,C=null!==(u=window?.surerank_globals?.enable_google_console)&&void 0!==u&&u,$=null!==(c=window?.surerank_globals?.enable_schemas)&&void 0!==c&&c,E=null!==(d=window?.surerank_globals?.enable_migration)&&void 0!==d&&d,S=["page","keyword"],T="https://surerank.com/surerank-ai/?utm_medium=surerank_plugin"}},e=>{e.O(0,[9603,4631,5769,4795,7167,862,5988,9743,4912,4865,5608,6115,1085,6152,359,9545,641,6018,2691,8426,9254,2584,418,5555,6770,938,8427,9526,8871,2002,908,8789,9658,8645,4973,5043,8732,5599,1811,4160,7683,5408,7040,703,4634,4787,8433,1624],()=>e(e.s=24488)),e.O()}]);

F1le Man4ger