| Current Path : /home/x/b/o/xbodynamge/namtation/wp-content/ |
| Current File : /home/x/b/o/xbodynamge/namtation/wp-content/contentHasAssets.e1428256.js.tar |
dev/wp-content/plugins/all-in-one-seo-pack/dist/Lite/assets/js/contentHasAssets.e1428256.js 0000644 00000002311 15113722657 0030154 0 ustar 00 home/xbodynamge import{_ as r}from"./default-i18n.20001971.js";const o="all-in-one-seo-pack";function t(e){return e=typeof e=="string"?e:e instanceof HTMLImageElement?e.outerHTML:(e==null?void 0:e.innerHTML)||"",[].concat(s(e,"<img(?:[^>]+)?>"),s(e,"\\[gallery( [^\\]]+?)?\\]")).length}function u(e){return e=typeof e=="string"?e:e instanceof HTMLIFrameElement||e instanceof HTMLVideoElement?e.outerHTML:(e==null?void 0:e.innerHTML)||"",[].concat(s(e,"<iframe(?:[^>]+)?>"),s(e,"\\[video( [^\\]]+?)?\\]"),s(e,"<video(?:[^>]+)?>"),s(e,/(http:\/\/|https:\/\/|)(player.|www.)?(vimeo\.com|youtu(be\.com|\.be|be\.googleapis\.com))\/(video\/|embed\/|watch\?v=|v\/)?([A-Za-z0-9._%-]*)(\&\S+)?/)).length}function s(e,i){const a=new RegExp(i,"ig"),n=e.match(a);return n===null?[]:n}function l(e){if(!e)return{error:1,title:r("No content yet",o),description:r("Please add some content first.",o),score:1,maxScore:5};const i=t(e),a=u(e);return 0<i||0<a?{error:0,title:r("Images/videos in content",o),description:r("Your content contains images and/or video(s).",o),score:5,maxScore:5}:{error:1,title:r("Images/videos in content",o),description:r("You are not using rich media like images or videos.",o),score:1,maxScore:5}}export{u as a,l as c,t as g};