![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/mets.corals.io/wp-content/plugins/amp/assets/js/ |
!function(){"use strict";var e={n:function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,{a:n}),n},d:function(t,n){for(var o in n)e.o(n,o)&&!e.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:n[o]})}};e.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),e.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)};var t=window.wp.domReady,n=e.n(t);const{parent:o,ampPairedBrowsingClientData:r}=window,{ampUrl:a,nonAmpUrl:i,isAmpDocument:c}=r,s=new URL(i);function d(){if(document.documentElement.style.setProperty("scroll-behavior","auto","important"),c){const e=document.getElementById("wp-admin-bar-amp-paired-browsing");e&&e.remove();const t=document.getElementById("wp-admin-bar-amp-view");t&&t.remove()}else document.getElementById("wp-admin-bar-amp").remove()}function l(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};e.postMessage({type:t,...n,ampPairedBrowsing:!0},s.origin)}let u=!1;function m(){l(o,"scroll",{x:window.scrollX,y:window.scrollY})}function p(e){const t=e.target,n=t.matches("[href]")?t:t.closest("[href]");n&&l(o,"navigate",{href:n.href})}function f(){l(o,"heartbeat")}e.g.addEventListener("message",(function(t){if(t.data&&t.data.ampPairedBrowsing&&t.data.type&&t.source&&s.origin===t.origin)switch(t.data.type){case"init":u||(u=!0,f(),setInterval(f,500),e.g.document.addEventListener("click",p,{passive:!0}),e.g.addEventListener("scroll",m,{passive:!0}),n()(d),l(o,"loaded",{isAmpDocument:c,ampUrl:a,nonAmpUrl:i,documentTitle:document.title}));break;case"scroll":!function(e){let{x:t,y:n}=e;window.scrollTo(t,n)}(t.data);break;case"replaceLocation":!function(e){let{href:t}=e;window.location.replace(t)}(t.data)}}))}();