Sid Gifari File Manager
🏠 Root
/
home1
/
immorth6
/
public_html
/
khaled_backup
/
wp-content
/
plugins
/
bluehost-wordpress-plugin
/
build
/
Editing: 23-e52ad181c4b698c4ee00.js
(window.webpackJsonp_bluehost_wordpress_plugin=window.webpackJsonp_bluehost_wordpress_plugin||[]).push([[23],{135:function(e,t,r){"use strict";r.d(t,"a",(function(){return i})),r.d(t,"b",(function(){return O})),r.d(t,"c",(function(){return g})),r.d(t,"d",(function(){return v})),r.d(t,"e",(function(){return y})),r.d(t,"f",(function(){return _})),r.d(t,"g",(function(){return P}));var n=r(38),a=r.n(n),c=r(4),s=r.n(c),o=r(1),l=r(6);function i(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=Object(o.useState)(e),r=s()(t,2),n=r[0],c=r[1];function i(e){c([].concat(a()(n),[e]))}function u(e){return n.includes(e)}function p(e){c(Object(l.without)(n,e))}function d(e){u(e)?p(e):i(e)}return[{favorites:n},{addFavorite:i,hasFavorite:u,removeFavorite:p,setFavorites:c,toggleFavorite:d}]}var u=r(134),p=r.n(u),d=r(18),b=r.n(d),m=r(16),h=r.n(m);function O(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"themes",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=Object(o.useState)(!1),n=s()(r,2),a=n[0],c=n[1],l=Object(o.useState)(!1),i=s()(l,2),u=i[0],d=i[1],m=Object(o.useState)(!1),O=s()(m,2),g=O[0],f=O[1],j=Object(o.useState)(e),v=s()(j,2),y=v[0],_=v[1],w=Object(o.useState)(t),E=s()(w,2),S=E[0],P=E[1],N=Object(o.useState)({}),k=s()(N,2),T=k[0],x=k[1];return Object(o.useEffect)((function(){!function(){var e=p()(b.a.mark((function e(){var t,r,n,a,o,l,i;return b.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:for(c(!1),d(!1),f(!0),e.prev=3,t=new URLSearchParams(""),r=0,n=Object.entries(S);r<n.length;r++)a=s()(n[r],2),o=a[0],l=a[1],t.append(o,l);return e.next=8,h()({path:"/mojo/v1/"+y+"?"+t.toString()});case 8:i=e.sent,x(i),e.next=16;break;case 12:e.prev=12,e.t0=e.catch(3),d(!0),x(e.t0);case 16:f(!1),c(!0);case 18:case"end":return e.stop()}}),e,null,[[3,12]])})));return function(){return e.apply(this,arguments)}}()()}),[y,S]),[{done:a,isError:u,isLoading:g,params:S,payload:T},{setType:_,setParams:P}]}function g(e){return[function(t,r){switch(r){case"favorites":return function(t){return Object(l.filter)(t,(function(t){return e.includes(t.id)}))}(t);default:return t}}]}var f=r(139),j=r.n(f);function v(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=Object(o.useState)(e),r=s()(t,2),n=r[0],a=r[1];function c(e){return n?new j.a(e,{threshold:.1,keys:["name","short_description","features","tags"]}).search(n):e}return[{query:n},{search:c,setQuery:a}]}function y(){function e(e){return e.sort((function(e,t){return e.created_timestamp>t.created_timestamp?1:e.created_timestamp<t.created_timestamp?-1:e.name<t.name?1:-1}))}function t(t){return Object(l.reverse)(e(t))}function r(e){return Object(l.sortBy)(e,(function(e){return parseInt(e.prices.single_domain_license,10)}))}function n(e){return Object(l.reverse)(r(e))}function a(e){return e.sort((function(e,t){return e.sales_count>t.sales_count?1:e.sales_count<t.sales_count?-1:e.name<t.name?1:-1}))}function c(e){return Object(l.reverse)(a(e))}return[function(s){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"sales",l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"desc";switch(s=Object.values(s),o){case"date":return"desc"===l?t(s):e(s);case"price":return"desc"===l?n(s):r(s);default:return"desc"===l?c(s):a(s)}}]}function _(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:12,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,n=Object(o.useState)(e),a=s()(n,2),c=a[0],i=a[1],u=Object(o.useState)([]),p=s()(u,2),d=p[0],b=p[1],m=Object(o.useState)(t),h=s()(m,2),O=h[0],g=h[1],f=Object(o.useState)([]),j=s()(f,2),v=j[0],y=j[1],_=Object(o.useState)(1),w=s()(_,2),E=w[0],S=w[1],P=Object(o.useState)(r),N=s()(P,2),k=N[0],T=N[1];return Object(o.useEffect)((function(){var e=Object(l.chunk)(c,O);y(e),S(e.length)}),[c]),Object(o.useEffect)((function(){b(v[k-1])}),[v,k]),[{items:d,itemsPerPage:O,pageCount:E,pageNumber:k},{setCollection:i,setItemsPerPage:g,setPageNumber:T}]}var w=r(19),E=r.n(w),S=r(2);function P(){var e=Object(o.useState)(null),t=s()(e,2),r=t[0],n=t[1],a=Object(o.useState)(null),c=s()(a,2),l=c[0],i=c[1],u=Object(o.useState)(null),d=s()(u,2),m=d[0],O=d[1],g=Object(o.useState)(null),f=s()(g,2),j=f[0],v=f[1],y=Object(o.useState)(!1),_=s()(y,2),w=_[0],P=_[1],N=Object(o.useState)(!1),k=s()(N,2),T=k[0],x=k[1],D=Object(o.useState)(!1),C=s()(D,2),L=C[0],U=C[1],F=Object(o.useState)(null),Y=s()(F,2),A=Y[0],I=Y[1],q=Object(o.useState)(null),B=s()(q,2),G=B[0],z=B[1],Q=Object(o.useState)(null),V=s()(Q,2),H=V[0],W=V[1],J=Object(o.useState)(null),M=s()(J,2),R=M[0],K=M[1],X=Object(o.useState)(null),Z=s()(X,2),$=Z[0],ee=Z[1],te=Object(o.useState)(null),re=s()(te,2),ne=re[0],ae=re[1],ce=Object(o.useState)(""),se=s()(ce,2),oe=se[0],le=se[1],ie=Object(S.__)("An unknown error has occurred.","bluehost-wordpress-plugin"),ue=function(){var e=p()(b.a.mark((function e(t){var r;return b.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return x(!1),U(!0),O(null),e.prev=3,e.next=6,h()(t);case 6:if(!(r=e.sent).hasOwnProperty("status")||"error"!==r.status){e.next=9;break}throw new Error(r.message);case 9:return U(!1),e.abrupt("return",r);case 13:return e.prev=13,e.t0=e.catch(3),U(!1),x(!0),O(("object"===E()(e.t0)?e.t0.message:e.t0)||ie),e.abrupt("return",null);case 19:case"end":return e.stop()}}),e,null,[[3,13]])})));return function(_x){return e.apply(this,arguments)}}(),pe=function(e){e.hasOwnProperty("stagingExists")&&v(e.stagingExists),e.hasOwnProperty("currentEnvironment")&&i("production"===e.currentEnvironment),e.hasOwnProperty("productionDir")&&I(e.productionDir),e.hasOwnProperty("productionThumbnailUrl")&&z(e.productionThumbnailUrl),e.hasOwnProperty("productionUrl")&&W(e.productionUrl),e.hasOwnProperty("stagingDir")&&K(e.stagingDir),e.hasOwnProperty("stagingThumbnailUrl")&&ee(e.stagingThumbnailUrl),e.hasOwnProperty("stagingUrl")&&ae(e.stagingUrl),e.hasOwnProperty("creationDate")&&n(e.creationDate)};function de(){return(de=p()(b.a.mark((function e(){var t;return b.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return P(!0),e.next=3,ue({path:"/bluehost/v1/staging",method:"POST"});case 3:(t=e.sent)&&(pe(t),O(t.message),x("error"===t.status)),P(!1);case 6:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function be(){return(be=p()(b.a.mark((function e(){return b.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,ue({path:"/bluehost/v1/staging",method:"DELETE"});case 2:e.sent&&(v(!1),O(Object(S.__)("Staging website destroyed.","bluehost-wordpress-plugin")));case 4:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function me(){return(me=p()(b.a.mark((function e(t){var r;return b.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return le(t),e.next=3,ue({path:"/bluehost/v1/staging/switch-to?env=".concat(t)});case 3:(r=e.sent)&&r.hasOwnProperty("load_page")&&(window.location.href=r.load_page);case 5:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function he(){return(he=p()(b.a.mark((function e(){return b.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,ue({path:"/bluehost/v1/staging/clone",method:"POST"});case 2:e.sent&&O(Object(S.__)("Website cloned successfully.","bluehost-wordpress-plugin"));case 4:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Oe(){return(Oe=p()(b.a.mark((function e(){var t,r=arguments;return b.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=r.length>0&&void 0!==r[0]?r[0]:"all",e.next=3,ue({path:"/bluehost/v1/staging/deploy?type=".concat(t),method:"POST"});case 3:e.sent&&O(Object(S.__)("Changes deployed successfully.","bluehost-wordpress-plugin"));case 5:case"end":return e.stop()}}),e)})))).apply(this,arguments)}return Object(o.useEffect)((function(){ue({path:"/bluehost/v1/staging"}).then(pe)}),[]),[{creationDate:r,hasStaging:j,isCreatingStaging:w,isError:T,isProduction:l,isLoading:L,notice:m,productionDir:A,productionThumbnailUrl:G,productionUrl:H,stagingDir:R,stagingThumbnailUrl:$,stagingUrl:ne,switchingTo:oe},{cloneEnv:function(){return he.apply(this,arguments)},createEnv:function(){return de.apply(this,arguments)},deleteEnv:function(){return be.apply(this,arguments)},deployChanges:function(){return Oe.apply(this,arguments)},setNotice:O,switchToEnv:function(e){return me.apply(this,arguments)}}]}},136:function(e,t,r){},137:function(e,t,r){},138:function(e,t,r){"use strict";r.d(t,"a",(function(){return h})),r.d(t,"b",(function(){return f})),r.d(t,"c",(function(){return D}));var n=r(14),a=r.n(n),c=r(1),s=r(9),o=r(26),l=r(2),i=r(3),u=r.n(i),p=r(6),d=r(133),b=r(5),m=r(12),h=function(e){var t=e.type,r=void 0===t?"base":t,n=e.descriptivePageTitle,i=void 0!==n&&n,h=a()(e,["type","descriptivePageTitle"]),O=document.querySelector(".bwa-route-contents"),g=Object(b.useLocation)(),f=Object(m.useSelect)((function(e){return e("bluehost/plugin").getTopLevelPages()}),[]);if(null==f)return!1;var j=function(){var e=Object(l.__)("Bluehost WordPress Plugin","bluehost-wordpress-plugin"),t=document.querySelector("h2");return!1!==i?i:null!==t?t.innerText:e};return Object(c.useEffect)((function(){var e,t,r,n,a;Object(s.e)(f),Object(s.d)((e=!1,t=g.pathname,(r=Object(p.keyBy)(f,"path"))[t]?e=r[t].slug:f.forEach((function(r){t.includes(r.path)&&(e=r.slug)})),e)),O.focus({preventScroll:!0}),n=g,a=j(),void 0!==n.state&&void 0!==n.state.redirect&&"unspecified-or-root"===n.state.redirect||Object(d.speak)(a,"assertive"),Object(s.h)(g,j())}),[g.pathname]),Object(c.createElement)("section",{className:u()(["component-template-"+r,"base-template","animated","fadeIn","page-fade-speed",h.className?h.className:null])},Object(c.createElement)(o.l,null),h.children)},O=r(11),g=r.n(O),f=(r(136),function(e){var t=e.type,r=void 0===t?"common":t,n=e.children,s=a()(e,["type","children"]);return Object(c.createElement)(h,g()({type:r},s),n)}),j=r(10),v=r.n(j),y=r(38),_=r.n(y),w=r(4),E=r.n(w),S=(r(137),r(7)),P=r(135),N=r(8);function k(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function T(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?k(Object(r),!0).forEach((function(t){v()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):k(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var x=[{label:Object(l.__)("Popular","bluehost-wordpress-plugin"),value:"sort-sales-desc"},{label:Object(l.__)("Price (High to Low)","bluehost-wordpress-plugin"),value:"sort-price-desc"},{label:Object(l.__)("Price (Low to High)","bluehost-wordpress-plugin"),value:"sort-price-asc"},{label:Object(l.__)("Date Added","bluehost-wordpress-plugin"),value:"sort-date-desc"}],D=function(e){var t=e.type,r=void 0===t?"marketplace":t,n=e.className,s=void 0===n?"":n,i=e.isLoading,p=e.payload,d=e.render,b=e.marketplaceType,m=void 0===b?"themes":b,h=a()(e,["type","className","isLoading","payload","render","marketplaceType"]),O=Object(P.a)(),j=E()(O,2),v=j[0].favorites,y=j[1],w=y.hasFavorite,k=y.toggleFavorite,D=Object(P.c)(v),C=E()(D,1)[0],L=Object(P.f)(),U=E()(L,2),F=U[0],Y=F.items,A=F.itemsPerPage,I=F.pageCount,q=F.pageNumber,B=U[1],G=B.setCollection,z=B.setPageNumber,Q=Object(c.useState)("sort-sales-desc"),V=E()(Q,2),H=V[0],W=V[1],J=Object(P.e)(),M=E()(J,1)[0],R=Object(P.d)(),K=E()(R,2),X=K[0].query,Z=K[1],$=Z.search,ee=Z.setQuery;return s=u()("bluehost-marketplace",s),Object(c.useEffect)((function(){var e=p.items||[],t=H.split("-"),r=E()(t,3),n=r[0],a=r[1],c=r[2];e="filter"===n?C(M(e,"sales"),a):M(e,a,c),e=$(e,X),G(e),z(1)}),[p,H,X]),Object(c.useEffect)((function(){window.scrollTo(0,0)}),[q]),Object(c.createElement)(f,g()({type:r,className:s,marketplaceType:m},h),Object(c.createElement)("section",{className:"".concat(s,"__header")},Object(c.createElement)("div",{className:"".concat(s,"__header-primary")},Object(c.createElement)(S.d,{level:"h2",size:1,className:"marketplace-page-title"},function(e){switch(e){case"plugins":return Object(l.__)("Premium Plugins","bluehost-wordpress-plugin");case"services":return Object(l.__)("Premium Services","bluehost-wordpress-plugin");default:return Object(l.__)("Premium Themes","bluehost-wordpress-plugin")}}(m)),Object(c.createElement)("div",{className:"".concat(s,"__pagination-container")},Object(c.createElement)(S.g,{callback:z,currentPage:q,pageCount:I}))),Object(c.createElement)("div",{className:"".concat(s,"__header-secondary")},Object(c.createElement)(o.q,{value:X,onChange:ee}),Object(c.createElement)(S.c,{id:"sort-filter",label:Object(l.__)("Sort By","bluehost-wordpress-plugin"),onChange:function(e){return W(e)},options:x,value:H,width:178}))),Object(c.createElement)("div",{className:"".concat(s,"__content")},i?Object(c.createElement)(o.p,null,_()(Array(A).keys()).map((function(e){return Object(c.createElement)(o.o,{key:e})}))):Y&&Y.length?Object(c.createElement)(o.p,null,Y.map((function(e){return d({item:T(T({},e),{},{marketplaceType:m}),hasFavorite:w,toggleFavorite:k})}))):"filter-favorites"===H?Object(c.createElement)("div",{className:"bluehost-no-results"},Object(c.createElement)(N.v,null),Object(c.createElement)("h2",null,Object(l.__)("You don't have any favorites yet.","bluehost-wordpress-plugin")),Object(c.createElement)("p",null,Object(l.__)("Add favorites by starring items you like.","bluehost-wordpress-plugin")),Object(c.createElement)("a",{href:"#",onClick:function(e){e.preventDefault(),W("sort-sales-desc")}},function(){switch(m){case"plugins":return Object(l.__)("View Plugins","bluehost-wordpress-plugin");case"services":return Object(l.__)("View Services","bluehost-wordpress-plugin");default:return Object(l.__)("View Themes","bluehost-wordpress-plugin")}}())):Object(c.createElement)(o.i,null)),Object(c.createElement)("footer",{className:"".concat(s,"__footer")},Object(c.createElement)("div",{className:"".concat(s,"__ad")}),Object(c.createElement)(S.g,{callback:z,currentPage:q,pageCount:I})))}},244:function(e,t,r){},256:function(e,t,r){"use strict";r.r(t);var n=r(1),a=(r(244),r(7)),c=r(2),s=r(138),o=r(152),l=r.n(o),i=r(9);t.default=function(){return Object(n.createElement)(s.b,{className:"page-yoast-seo-premium"},Object(n.createElement)(a.d,{level:"h2",size:0},Object(c.__)("Yoast SEO Premium","bluehost-wordpress-plugin")),Object(n.createElement)("div",{className:"section-logo"},Object(n.createElement)("a",{href:Object(i.a)("https://yoast.com"),"aria-label":Object(c.__)("Blue Sky service logo","bluehost-wordpress-plugin")},Object(n.createElement)("img",{src:"https://cdn.hiive.space/bluehost/plugin/yoast-logo.svg",width:"320px",height:"auto",alt:"Yoast SEO Logo"}))),Object(n.createElement)("div",{className:"section-intro"},Object(n.createElement)("div",{className:"media-block"},Object(n.createElement)("div",{className:"media-block__details"},Object(n.createElement)("div",{className:"media-block__title"},Object(c.__)("Yoast SEO: the #1 WordPress SEO plugin","bluehost-wordpress-plugin")),Object(n.createElement)("div",{className:"media-block__description"},Object(n.createElement)("ul",{class:"yoast-list"},Object(n.createElement)("li",null,Object(c.__)("SEO made easy!","bluehost-wordpress-plugin")),Object(n.createElement)("li",null,Object(c.__)("Get more visitors from Google, Bing and social media","bluehost-wordpress-plugin")),Object(n.createElement)("li",null,Object(c.__)("Increase your readers' engagement","bluehost-wordpress-plugin")),Object(n.createElement)("li",null,Object(c.__)("Includes complimentary access to Yoast SEO academy","bluehost-wordpress-plugin")))),Object(n.createElement)(a.b,{className:"media-block__button",href:Object(i.a)("https://yoa.st/bh-premium"),utmContent:"yseopremium",isLink:!0,isPrimary:!0},Object(c.__)("Get Yoast SEO Premium","bluehost-wordpress-plugin"))),Object(n.createElement)("div",{className:"media-block__media"},Object(n.createElement)("div",{className:"react-player-container"},Object(n.createElement)(l.a,{id:"yoast-seo",title:"yoast-seo",className:"react-player yoast-seo",height:"100%",playIcon:Object(n.createElement)("span",null),url:"https://www.youtube.com/watch?v=fqQFstQSv4M",width:"100%",config:{title:"yoast-seo",youtube:{embedVars:{title:"yoast-seo",color:"white",modestbranding:"1"}}}}))))),Object(n.createElement)("br",null),Object(n.createElement)("br",null),Object(n.createElement)("div",{className:"section-features"},Object(n.createElement)("div",{className:"feature-list"},Object(n.createElement)("div",{className:"feature-card"},Object(n.createElement)("div",{className:"feature-card__image"},Object(n.createElement)("span",{class:"dashicons dashicons-media-document"})),Object(n.createElement)("div",{className:"feature-card__title"},Object(c.__)("Create SEO-friendly content","bluehost-wordpress-plugin")),Object(n.createElement)("div",{className:"feature-card__description"},Object(c.__)("Intelligent word forms recognition automatically takes different word forms into account. Add synonyms and related keyphrases to write totally natural content.","bluehost-wordpress-plugin"))),Object(n.createElement)("div",{className:"feature-card"},Object(n.createElement)("div",{className:"feature-card__image"},Object(n.createElement)("span",{class:"dashicons dashicons-google"})),Object(n.createElement)("div",{className:"feature-card__title"},Object(c.__)("Help Google understand your site","bluehost-wordpress-plugin")),Object(n.createElement)("div",{className:"feature-card__description"},Object(c.__)("Yoast SEO automatically adds the right structured data and comes with options for you to enrich your site with extra structured data.","bluehost-wordpress-plugin"))),Object(n.createElement)("div",{className:"feature-card"},Object(n.createElement)("div",{className:"feature-card__image"},Object(n.createElement)("span",{class:"dashicons dashicons-welcome-view-site"})),Object(n.createElement)("div",{className:"feature-card__title"},Object(c.__)("Preview your content for search results and social media","bluehost-wordpress-plugin")),Object(n.createElement)("div",{className:"feature-card__description"},Object(c.__)("The Google & Social previews help you visualize and optimize what your posts will look like when shared online.","bluehost-wordpress-plugin"))))),Object(n.createElement)("div",{className:"section-call-to-action"},Object(n.createElement)("div",{className:"section-title"},Object(c.__)("Learn vital SEO skills that you can apply at once with Yoast Academy!","bluehost-wordpress-plugin")),Object(n.createElement)("div",{className:"call-to-action"},Object(n.createElement)("div",{className:"video"},Object(n.createElement)(l.a,{id:"yoast-academy",title:"yoast-academy",className:"react-player yoast-academy",height:"100%",playIcon:Object(n.createElement)("span",null),url:"https://youtu.be/DA19_EcEkbw",width:"100%",config:{title:"yoast-academy",youtube:{title:"yoast-academy",color:"white",modestbranding:"1"}}})),Object(n.createElement)(a.b,{className:"media-block__button",href:Object(i.a)("https://yoa.st/bh-premium"),utmContent:"yoastseopremacademy",isLink:!0,isPrimary:!0},Object(c.__)("Get full access to Yoast Academy","bluehost-wordpress-plugin")),Object(n.createElement)("br",null),Object(n.createElement)(a.b,{className:"media-block__button",href:Object(i.a)("https://yoast.com/wordpress/plugins/"),utmContent:"yoastseopremallplug",isLink:!0},Object(c.__)("See all Yoast Plugins","bluehost-wordpress-plugin")))))}}}]);
Save
Cancel