File: /storage/v4513/ivenusin/public_html/wp-content/plugins/amp/assets/js/amp-site-scan-notice.js
(()=>{var e={184:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function s(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var a=typeof n;if("string"===a||"number"===a)e.push(n);else if(Array.isArray(n)){if(n.length){var l=s.apply(null,n);l&&e.push(l)}}else if("object"===a){if(n.toString!==Object.prototype.toString&&!n.toString.toString().includes("[native code]")){e.push(n.toString());continue}for(var i in n)r.call(n,i)&&n[i]&&e.push(i)}}}return e.join(" ")}e.exports?(s.default=s,e.exports=s):void 0===(n=function(){return s}.apply(t,[]))||(e.exports=n)}()}},t={};function n(r){var s=t[r];if(void 0!==s)return s.exports;var a=t[r]={exports:{}};return e[r](a,a.exports,n),a.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";const e=window.wp.element,t=ampSiteScanNotice,r=window.wp.domReady;var s=n.n(r);const a=window.wp.i18n,l=(0,e.createContext)();function i(t){let{children:n}=t;const[r,s]=(0,e.useState)(null);return(0,e.createElement)(l.Provider,{value:{error:r,setError:s}},n)}const c=window.wp.apiFetch;var o=n.n(c);const u=window.wp.url;function p(){const[t,n]=(0,e.useState)();return{error:t,setAsyncError:(0,e.useCallback)((e=>{n((()=>{throw e}))}),[])}}const m=(0,e.createContext)();function d(t){let{children:n,optionsRestPath:r,populateDefaultValues:s,hasErrorBoundary:a=!1,delaySave:i=!1}=t;const[c,d]=(0,e.useState)({}),[h,f]=(0,e.useState)(!1),[_,S]=(0,e.useState)(null),[g,E]=(0,e.useState)({}),[y,b]=(0,e.useState)(!1),[A,v]=(0,e.useState)(!1),[I,C]=(0,e.useState)({}),[U,P]=(0,e.useState)({}),{error:T,setError:w}=(0,e.useContext)(l),{setAsyncError:N}=p(),[O,L]=(0,e.useState)(!1),R=(0,e.useRef)(!1);(0,e.useEffect)((()=>()=>{R.current=!0}),[]);const x=(0,e.useCallback)((()=>{T||h||(async()=>{f(!0);try{const e=await o()({path:(0,u.addQueryArgs)(r,{_fields:["suppressed_plugins","suppressible_plugins"]})});if(!0===R.current)return;C({...I,...e})}catch(e){if(!0===R.current)return;return w(e),void(a&&N(e))}f(!1)})()}),[T,h,a,r,I,N,w]);(0,e.useEffect)((()=>{T||Object.keys(I).length||_||(async()=>{S(!0);try{const e=await o()({path:r});if(!0===R.current)return;s||!1!==e.plugin_configured||(e.mobile_redirect=!0,e.reader_theme=null,e.theme_support=null),C(e)}catch(e){if(!0===R.current)return;return w(e),void(a&&N(e))}S(!1)})()}),[T,_,a,I,r,s,N,w]);const M=(0,e.useCallback)((async()=>{b(!0);try{const e={...c};null===e.reader_theme&&delete e.reader_theme,I.plugin_configured||"mobile_redirect"in e||(e.mobile_redirect=I.mobile_redirect),I.plugin_configured||(e.plugin_configured=!0);const[t]=await Promise.all([o()({method:"post",path:r,data:e}),i?new Promise((e=>{setTimeout(e,1e3)})):()=>{}]);if(!0===R.current)return;C(t),w(null)}catch(e){if(!0===R.current)return;return b(!1),w(e),void(a&&N(e))}P({...U,...c}),E(c),d({}),v(!0),b(!1)}),[i,a,r,N,I,w,c,U]),k=(0,e.useCallback)((e=>{d({...c,...e}),v(!1)}),[c]),B=(0,e.useCallback)((e=>{const t={...c};delete t[e],d(t)}),[c]);return(0,e.createElement)(m.Provider,{value:{editedOptions:{...I,...c},fetchingOptions:_,hasOptionsChanges:Boolean(Object.keys(c).length),didSaveOptions:A,updates:c,originalOptions:I,saveOptions:M,savedOptions:g,savingOptions:y,unsetOption:B,updateOptions:k,readerModeWasOverridden:O,refetchPluginSuppression:x,setReaderModeWasOverridden:L,modifiedOptions:U}},n)}const h=(0,e.createContext)();function f(t){let{children:n}=t;const[r,s]=(0,e.useState)([]),[a,l]=(0,e.useState)(null),[i,c]=(0,e.useState)(),p=(0,e.useRef)(!1);return(0,e.useEffect)((()=>()=>{p.current=!0}),[]),(0,e.useEffect)((()=>{i||r.length>0||a||(async()=>{l(!0);try{const e=await o()({path:(0,u.addQueryArgs)("/wp/v2/plugins",{_fields:["author","name","plugin","status","version"]})});if(!0===p.current)return;s(e)}catch(e){if(!0===p.current)return;c(e)}l(!1)})()}),[i,a,r]),(0,e.createElement)(h.Provider,{value:{fetchingPlugins:a,plugins:r}},n)}function _(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e.replace(/\/.*$/,"").replace(/\.php$/,"")}const S=(0,e.createContext)(),g="ACTION_SET_STATUS",E="ACTION_SCANNABLE_URLS_REQUEST",y="ACTION_SCANNABLE_URLS_RECEIVE",b="ACTION_SCAN_INITIALIZE",A="ACTION_SCAN_URL",v="ACTION_SCAN_RECEIVE_RESULTS",I="ACTION_SCAN_COMPLETE",C="ACTION_SCAN_CANCEL",U="STATUS_REQUEST_SCANNABLE_URLS",P="STATUS_FETCHING_SCANNABLE_URLS",T="STATUS_REFETCHING_PLUGIN_SUPPRESSION",w="STATUS_READY",N="STATUS_IDLE",O="STATUS_IN_PROGRESS",L="STATUS_COMPLETED",R="STATUS_FAILED",x="STATUS_CANCELLED",M="STATUS_SKIPPED",k={currentlyScannedUrlIndexes:[],forceStandardMode:!1,scannableUrls:[],scanOnce:!1,status:"",scansCount:0,urlIndexesPendingScan:[]};function B(e,t){if(e.status===M)return e;switch(t.type){case g:return{...e,status:t.status};case E:var n;return{...e,status:U,forceStandardMode:null!==(n=t?.forceStandardMode)&&void 0!==n&&n,currentlyScannedUrlIndexes:[],urlIndexesPendingScan:[]};case y:{const n=Array.isArray(t.scannableUrls)&&t.scannableUrls.length>0;return{...e,status:e.scanOnce&&e.scansCount>0||!n?L:w,scannableUrls:n?t.scannableUrls:[]}}case b:return[w,L,R,x].includes(e.status)?e.scanOnce&&e.scansCount>0?{...e,status:L}:{...e,status:N,currentlyScannedUrlIndexes:[],scansCount:e.scansCount+1,urlIndexesPendingScan:e.scannableUrls.map(((e,t)=>t))}:e;case A:return[N,O].includes(e.status)?{...e,status:O,currentlyScannedUrlIndexes:[...e.currentlyScannedUrlIndexes,t.currentlyScannedUrlIndex],urlIndexesPendingScan:e.urlIndexesPendingScan.filter((e=>e!==t.currentlyScannedUrlIndex))}:e;case v:var r;return[N,O].includes(e.status)?{...e,status:N,currentlyScannedUrlIndexes:e.currentlyScannedUrlIndexes.filter((e=>e!==t.currentlyScannedUrlIndex)),scannableUrls:[...e.scannableUrls.slice(0,t.currentlyScannedUrlIndex),{...e.scannableUrls[t.currentlyScannedUrlIndex],stale:!1,error:null!==(r=t.error)&&void 0!==r&&r,validated_url_post:t.error?{}:t.validatedUrlPost,validation_errors:t.error?[]:t.validationErrors},...e.scannableUrls.slice(t.currentlyScannedUrlIndex+1)]}:e;case I:{const t=e.scannableUrls.every((e=>Boolean(e.error)));return{...e,status:t?R:T}}case C:return[N,O].includes(e.status)?{...e,status:x,currentlyScannedUrlIndexes:[],urlIndexesPendingScan:[]}:e;default:throw new Error(`Unhandled action type: ${t.type}`)}}function D(t){var n;let{children:r,fetchCachedValidationErrors:s=!1,refetchPluginSuppressionOnScanComplete:a=!1,resetOnOptionsChange:l=!1,scannableUrlsRestPath:i,scanOnce:c=!1,validateNonce:d}=t;const{originalOptions:{theme_support:h},savedOptions:f,refetchPluginSuppression:D}=(0,e.useContext)(m),{setAsyncError:W}=p(),[j,$]=(0,e.useReducer)(B,{...k,scanOnce:c}),{currentlyScannedUrlIndexes:F,forceStandardMode:V,scannableUrls:G,urlIndexesPendingScan:H,status:Q}=j,z=V||"standard"===h?"url":"amp_url",K=null!==(n=G?.[0]?.[z])&&void 0!==n?n:"",{hasSiteScanResults:J,pluginsWithAmpIncompatibility:Y,stale:Z,themesWithAmpIncompatibility:q}=(0,e.useMemo)((()=>{if(![w,L,M].includes(Q))return{hasSiteScanResults:!1,pluginsWithAmpIncompatibility:[],stale:!1,themesWithAmpIncompatibility:[]};const e=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],{useAmpUrls:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=new Map,r=new Map;for(const s of e){const{amp_url:e,url:a,validation_errors:l}=s;if(l?.length)for(const s of l)if(s?.sources?.length)for(const l of s.sources)if(l?.type)if("plugin"===l.type){const r=_(l.name);if("gutenberg"===r&&s.sources.length>1)continue;n.set(r,new Set([...n.get(r)||[],t?e:a]))}else"theme"===l.type&&r.set(l.name,new Set([...r.get(l.name)||[],t?e:a]))}return n.delete("amp"),{plugins:[...n].map((e=>{let[t,n]=e;return{slug:t,urls:[...n]}})),themes:[...r].map((e=>{let[t,n]=e;return{slug:t,urls:[...n]}}))}}(G,{useAmpUrls:"amp_url"===z});return{hasSiteScanResults:G.some((e=>Boolean(e?.validation_errors))),pluginsWithAmpIncompatibility:e.plugins,stale:G.some((e=>!0===e?.stale)),themesWithAmpIncompatibility:e.themes}}),[G,Q,z]);(0,e.useEffect)((()=>{d||Q===M||$({type:g,status:M})}),[Q,d]);const X=(0,e.useRef)(!1);(0,e.useEffect)((()=>()=>{X.current=!0}),[]);const ee=(0,e.useCallback)((function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};$({type:E,forceStandardMode:e?.forceStandardMode})}),[]),te=(0,e.useCallback)((()=>{$({type:b})}),[]),ne=(0,e.useCallback)((()=>{$({type:C})}),[]);(0,e.useEffect)((()=>{l&&Object.keys(f).length>0&&$({type:E})}),[l,f]),(0,e.useEffect)((()=>{Q===w&&Object.keys(f.suppressed_plugins||{}).length>0&&$({type:b})}),[f?.suppressed_plugins,Q]),(0,e.useEffect)((()=>{Q===T&&(a&&D(),$({type:g,status:L}))}),[D,a,Q]);const[re,se]=(0,e.useState)(!1);return(0,e.useEffect)((()=>{let e;return re&&(async()=>{await new Promise((t=>{e=setTimeout(t,500)})),!0!==X.current&&se(!1)})(),()=>{e&&clearTimeout(e)}}),[re]),(0,e.useEffect)((()=>{(async()=>{if(Q===U){$({type:g,status:P});try{const e=["url","amp_url","type","label"],t=await o()({path:(0,u.addQueryArgs)(i,{_fields:s?[...e,"validation_errors","stale"]:e,force_standard_mode:V?1:void 0})});if(!0===X.current)return;$({type:y,scannableUrls:t})}catch(e){if(!0===X.current)return;W(e)}}})()}),[s,V,i,W,Q]),(0,e.useEffect)((()=>{if(![N,O].includes(Q))return;if(0===H.length)return void(0===F.length&&$({type:I}));if(re||F.length>=3)return;se(!0);const e=H[0];$({type:A,currentlyScannedUrlIndex:e}),(async()=>{const t={};try{const n=G[e][z],r={amp_validate:{cache:!0,cache_bust:Math.random(),force_standard_mode:V||void 0,nonce:d,omit_stylesheets:!0}},s=await fetch((0,u.addQueryArgs)(n,r)),a=await s.json();if(!0===X.current)return;s.ok?(t.validatedUrlPost=a.validated_url_post,t.validationErrors=a.results.map((e=>{let{error:t}=e;return t}))):t.error=a?.code||!0}catch(e){if(!0===X.current)return;t.error=!0}$({type:v,currentlyScannedUrlIndex:e,...t}),se(!1)})()}),[F.length,V,G,re,Q,H,z,d]),(0,e.createElement)(S.Provider,{value:{cancelSiteScan:ne,fetchScannableUrls:ee,forceStandardMode:V,hasSiteScanResults:J,isBusy:[N,O].includes(Q),isCancelled:Q===x,isCompleted:[T,L].includes(Q),isFailed:Q===R,isFetchingScannableUrls:[U,P].includes(Q),isInitializing:!Boolean(Q),isReady:Q===w,isSiteScannable:G.length>0,isSkipped:Q===M,pluginsWithAmpIncompatibility:Y,previewPermalink:K,scannableUrls:G,scannedUrlsMaxIndex:([O,N].includes(Q)?Math.min(G.length,...H):0)-1,stale:Z,startSiteScan:te,themesWithAmpIncompatibility:q}},r)}const W=(0,e.createContext)();function j(t){let{children:n}=t;const[r,s]=(0,e.useState)([]),[a,l]=(0,e.useState)(null),[i,c]=(0,e.useState)(),p=(0,e.useRef)(!1);return(0,e.useEffect)((()=>()=>{p.current=!0}),[]),(0,e.useEffect)((()=>{i||r.length>0||a||(async()=>{l(!0);try{const e=await o()({path:(0,u.addQueryArgs)("/wp/v2/themes",{_fields:["author","name","status","stylesheet","template","version"]})});if(!0===p.current)return;s(e)}catch(e){if(!0===p.current)return;c(e)}l(!1)})()}),[i,a,r]),(0,e.createElement)(W.Provider,{value:{fetchingThemes:a,themes:r}},n)}const $=window.wp.components;function F(){return F=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},F.apply(this,arguments)}const V=window.wp.compose;function G(t){let{children:n,onCopy:r,onFinishCopy:s,text:a,...l}=t;const i=(0,e.useRef)(),c=(0,V.useCopyToClipboard)(a,(()=>{r&&r(),clearTimeout(i.current),s&&(i.current=setTimeout((()=>s()),4e3))}));return(0,e.useEffect)((()=>{clearTimeout(i.current)}),[]),(0,e.createElement)($.Button,F({},l,{className:"components-clipboard-button",ref:c,onCopy:e=>{e.target.focus()}}),n)}function H(t){let{error:n,finishLinkLabel:r,finishLinkUrl:s,title:l}=t;const[i,c]=(0,e.useState)(!1),{message:o,stack:u}=n;return(0,e.createElement)("div",{className:"error-screen-container"},(0,e.createElement)($.Panel,{className:"error-screen"},(0,e.createElement)("h1",null,l||(0,a.__)("Something went wrong.","amp")),(0,e.createElement)("p",{dangerouslySetInnerHTML:{__html:o||(0,a.__)("There was an error loading the page.","amp")}}),(0,e.createElement)("p",null,(0,e.createInterpolateElement)((0,a.__)("Please submit details to our <a>support forum</a>.","amp"),{a:(0,e.createElement)("a",{href:"https://wordpress.org/support/plugin/amp/",target:"_blank",rel:"noreferrer noopener"})})),u&&(0,e.createElement)("details",null,(0,e.createElement)("summary",null,(0,a.__)("Details","amp")),(0,e.createElement)("pre",null,u),(0,e.createElement)(G,{isSmall:!0,isSecondary:!0,text:JSON.stringify({message:o,stack:u},null,2),onCopy:()=>c(!0),onFinishCopy:()=>c(!1)},i?(0,a.__)("Copied!","amp"):(0,a.__)("Copy Error","amp"))),s&&r&&(0,e.createElement)("p",null,(0,e.createElement)("a",{href:s},r))))}class Q extends e.Component{constructor(e){super(e),this.timeout=null,this.state={error:null}}componentDidMount(){this.mounted=!0}componentWillUnmount(){this.mounted=!1}componentDidCatch(e){this.setState({error:e})}render(){const{error:t}=this.state,{children:n,exitLinkLabel:r,exitLinkUrl:s,title:a}=this.props;return t?(0,e.createElement)(H,{error:t,finishLinkLabel:r,finishLinkUrl:s,title:a}):n}}var z=n(184),K=n.n(z);const J="info",Y="success",Z="warning",q="error";function X(t){let{children:n,className:r,isDismissible:s=!1,onDismiss:l,type:i=J}=t;const[c,o]=(0,e.useState)(!1),u=(0,e.useCallback)((()=>{o(!0),"function"==typeof l&&l()}),[l]);return s&&c?null:(0,e.createElement)("div",{className:K()("amp-admin-notice",r,{"amp-admin-notice--dismissible":s,"amp-admin-notice--info":i===J,"amp-admin-notice--success":i===Y,"amp-admin-notice--warning":i===Z,"amp-admin-notice--error":i===q})},n,s&&(0,e.createElement)("button",{type:"button",onClick:u,className:"amp-admin-notice__dismiss"},(0,e.createElement)($.VisuallyHidden,{as:"span"},(0,a.__)("Dismiss","amp"))))}function ee(t){let{inline:n=!1}=t;const r=n?"span":"div";return(0,e.createElement)(r,{className:K()("amp-spinner-container",{"amp-spinner-container--inline":n})},(0,e.createElement)($.Spinner,null))}const te=e=>n.g?.location?.host!==new URL(e).host,ne=new URL(t.SETTINGS_LINK);function re(n){let{pluginsWithAmpIncompatibility:r}=n;const{fetchingPlugins:s,plugins:l}=(0,e.useContext)(h),i=(0,e.useMemo)((()=>l?.reduce(((e,t)=>({...e,[_(t.plugin)]:t.name})),{})),[l]);return s?null:(0,e.createElement)(e.Fragment,null,(0,e.createElement)("p",null,(0,a._n)("AMP compatibility issue(s) discovered with the following plugin:","AMP compatibility issue(s) discovered with the following plugins:",r.length,"amp")),r.map((t=>(0,e.createElement)("details",{key:t.slug,className:"amp-site-scan-notice__source-details"},(0,e.createElement)("summary",{className:"amp-site-scan-notice__source-summary"},(0,e.createInterpolateElement)((0,a.sprintf)(/* translators: 1: plugin name; 2: number of URLs with AMP validation issues. */
(0,a._n)("<b>%1$s</b> on %2$d URL","<b>%1$s</b> on %2$d URLs",t.urls.length,"amp"),i[t.slug],t.urls.length),{b:(0,e.createElement)("b",null)})),(0,e.createElement)("ul",{className:"amp-site-scan-notice__urls-list"},t.urls.map((t=>(0,e.createElement)("li",{key:t},(0,e.createElement)("a",{href:t,target:"_blank",rel:"noopener noreferrer"},t)))))))),(0,e.createElement)("div",{className:"amp-site-scan-notice__cta"},(0,e.createElement)("a",{href:ne.href,className:"button"},(0,a.__)("Review Plugin Suppression","amp")),(0,e.createElement)("a",F({href:t.AMP_COMPATIBLE_PLUGINS_URL,className:"button"},te(t.AMP_COMPATIBLE_PLUGINS_URL)?{target:"_blank",rel:"noopener noreferrer"}:{}),(0,a.__)("View AMP-Compatible Plugins","amp"))))}function se(n){let{themesWithAmpIncompatibility:r}=n;const{fetchingThemes:s,themes:l}=(0,e.useContext)(W),i=(0,e.useMemo)((()=>l?.reduce(((e,t)=>{var n;return{...e,[t.stylesheet]:null!==(n=t.name?.rendered)&&void 0!==n?n:t.name}}),{})),[l]);return s?null:(0,e.createElement)(e.Fragment,null,(0,e.createElement)("p",null,(0,a._n)("AMP compatibility issue(s) discovered with the following theme:","AMP compatibility issue(s) discovered with the following themes:",r.length,"amp")),r.map((t=>(0,e.createElement)("details",{key:t.slug,className:"amp-site-scan-notice__source-details"},(0,e.createElement)("summary",{className:"amp-site-scan-notice__source-summary"},(0,e.createInterpolateElement)((0,a.sprintf)(/* translators: 1: theme name; 2: number of URLs with AMP validation issues. */
(0,a._n)("<b>%1$s</b> on %2$d URL","<b>%1$s</b> on %2$d URLs",t.urls.length,"amp"),i[t.slug],t.urls.length),{b:(0,e.createElement)("b",null)})),(0,e.createElement)("ul",{className:"amp-site-scan-notice__urls-list"},t.urls.map((t=>(0,e.createElement)("li",{key:t},(0,e.createElement)("a",{href:t,target:"_blank",rel:"noopener noreferrer"},t)))))))),(0,e.createElement)("div",{className:"amp-site-scan-notice__cta"},(0,e.createElement)("a",F({href:t.AMP_COMPATIBLE_THEMES_URL,className:"button"},te(t.AMP_COMPATIBLE_THEMES_URL)?{target:"_blank",rel:"noopener noreferrer"}:{}),(0,a.__)("View AMP-Compatible Themes","amp"))))}function ae(){const{cancelSiteScan:t,fetchScannableUrls:n,isCancelled:r,isCompleted:s,isFailed:l,isInitializing:i,isReady:c,pluginsWithAmpIncompatibility:o,themesWithAmpIncompatibility:u,startSiteScan:p}=(0,e.useContext)(S);(0,e.useEffect)((()=>t),[t]),(0,e.useEffect)((()=>{i?n():c&&p()}),[n,i,c,p]);const m={className:"amp-site-scan-notice",isDismissible:!0,onDismiss:t};if(l||r)return(0,e.createElement)(X,F({type:q},m),(0,e.createElement)("p",null,(0,a.__)("AMP could not check your site for compatibility issues.","amp")));if(s){let t=[o.length>0?(0,e.createElement)(re,{key:`plugins-${o.length}`,pluginsWithAmpIncompatibility:o}):null,u.length>0?(0,e.createElement)(se,{key:`themes-${u.length}`,themesWithAmpIncompatibility:u}):null];return document.location.href.includes("themes.php")&&(t=t.reverse()),t=t.filter(Boolean),(0,e.createElement)(X,F({type:t.length?Z:Y},m),t.length?t:(0,e.createElement)("p",null,(0,a.__)("No AMP compatibility issues detected.","amp")))}return(0,e.createElement)(X,F({type:J},m),(0,e.createElement)("p",null,(0,a.__)("Checking your site for AMP compatibility issues…","amp"),(0,e.createElement)(ee,{inline:!0})))}let le;function ie(r){let{children:s}=r;return n.g.removeEventListener("error",le),(0,e.createElement)(i,null,(0,e.createElement)(Q,{title:(0,a.__)("The AMP Site Scanner has experienced an error.","amp")},(0,e.createElement)(d,{hasErrorBoundary:!0,optionsRestPath:t.OPTIONS_REST_PATH,populateDefaultValues:!1},(0,e.createElement)(f,null,(0,e.createElement)(j,null,(0,e.createElement)(D,{scannableUrlsRestPath:t.SCANNABLE_URLS_REST_PATH,validateNonce:t.VALIDATE_NONCE},s))))))}ne.hash="plugin-suppression",s()((()=>{let r=document.getElementById(t.APP_ROOT_ID);if(!r){const e=document.getElementById(t.APP_ROOT_SIBLING_ID);if(!e)return;r=document.createElement("div"),r.setAttribute("id",t.APP_ROOT_ID),e.after(r)}le=t=>{t.filename&&/amp-site-scan-notice(\.min)?\.js/.test(t.filename)&&(0,e.render)((0,e.createElement)(H,{error:t.error}),r)},n.g.addEventListener("error",le),(0,e.render)((0,e.createElement)(ie,null,(0,e.createElement)(ae,null)),r)}))})()})();