Skip to Content

JavaScript File

URL: https://cdn.ampproject.org/rtv/012011252111002/v0/amp-loader-0.1.js
HTTP Status: 200 OK
MIME Type: text/javascript
Last Modified: Mon, 01 Jan 1601 00:00:00 GMT
Download Time: Less than a second
Cookies: None
Size: 15 KB
HTTP Headers:  12 headers
Links In:  1 pages
  
OK Issues: No issues found

1(self.AMP=self.AMP||[]).push({n:"amp-loader",v:"2011252111002",f:(function(AMP,_){

2'use strict';var g=self.AMP_CONFIG||{}

3,k=("string"==typeof g.cdnProxyRegex?new RegExp(g.cdnProxyRegex):g.cdnProxyRegex)||/^https:\/\/([a-zA-Z0-9_-]+\.)?cdn\.ampproject\.org$/;function l(a){if(self.document&&self.document.head&&(!self.location||!k.test(self.location.origin))){var b=self.document.head.querySelector('meta[name="'+a+'"]');b&&b.getAttribute("content")}

4}

5g.cdnUrl||l("runtime-host");g.geoApiUrl||l("amp-geo-api");self.__AMP_LOG=self.__AMP_LOG||{user:null,dev:null,userForEmbed:null}

6;function m(a){a=a.__AMP_TOP||(a.__AMP_TOP=a);var b=a.__AMP_SERVICES;b||(b=a.__AMP_SERVICES={}

7);a=b.extensions;a.obj||(a.obj=new a.ctor(a.context),a.ctor=null,a.context=null,a.resolve&&a.resolve(a.obj));return a.obj}

8;/*

9 https://mths.be/cssescape v1.5.1 by @mathias | MIT license */

10var n;function p(a){a=a.ownerDocument||a;n&&n.ownerDocument===a||(n=a.createElement("div"));return q}

11function q(a){var b=n;b.innerHTML=a[0];a=b.firstElementChild;b.removeChild(a);return a}

12;var r,u="Webkit webkit Moz moz ms O o".split(" ");function v(a,b,c){if(b.startsWith("--"))return b;r||(r=Object.create(null));var d=r[b];if(!d||c){d=b;if(void 0===a[b]){var e=b.charAt(0).toUpperCase()+b.slice(1);a:{for(var f=0;f<u.length;f++){var h=u[f]+e;if(void 0!==a[h]){e=h;break a}

13}

14e=""}

15var t=e;void 0!==a[t]&&(d=t)}

16c||(r[b]=d)}

17return d}

18;function w(a,b){var c=a.getHeadNode(),d=x(c,y(c));if(b){var e=a.getRootNode();if(z(e,d))b(d);else var f=setInterval(function(){z(e,d)&&(clearInterval(f),b(d))}

19,4)}

20}

21

22function x(a,b){var c=a.__AMP_CSS_SM;c||(c=a.__AMP_CSS_SM=Object.create(null));var d=A(a,c,"amp-extension=amp-loader");if(d)return d.textContent!==b&&(d.textContent=b),d;var e=(a.ownerDocument||a).createElement("style");e.textContent=b;var f=null;e.setAttribute("amp-extension","amp-loader");b=f=A(a,c,"amp-runtime");(b=void 0===b?null:b)?a.insertBefore(e,b.nextSibling):a.insertBefore(e,a.firstChild);return c["amp-extension=amp-loader"]=e}

23

24function A(a,b,c){return b[c]?b[c]:(a=a.querySelector("style["+c+"]"))?b[c]=a:null}

25

26function y(a){return(a=a.__AMP_CSS_TR)?a(".i-amphtml-loader-background{position:absolute;top:0;left:0;bottom:0;right:0;background-color:#f8f8f8}

27.i-amphtml-new-loader{display:inline-block;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:0;height:0;color:#aaa}

28.i-amphtml-new-loader-size-default,.i-amphtml-new-loader-size-small{width:72px;height:72px}

29.i-amphtml-new-loader-logo{transform-origin:center;opacity:0;animation:i-amphtml-new-loader-scale-and-fade-in 0.8s ease-in forwards;animation-delay:0.6s;animation-delay:calc(0.6s - var(--loader-delay-offset))}

30.i-amphtml-new-loader-size-small .i-amphtml-new-loader-logo{display:none}

31.i-amphtml-new-loader-logo-default{fill:currentColor;animation:i-amphtml-new-loader-fade-out 0.8s ease-out forwards;animation-delay:1.8s;animation-delay:calc(1.8s - var(--loader-delay-offset))}

32.i-amphtml-new-loader-has-shim{color:#fff!important}

33.i-amphtml-new-loader-shim{width:72px;height:72px;border-radius:50%;display:none;transform-origin:center;opacity:0;background-color:rgba(0,0,0,0.6);animation:i-amphtml-new-loader-scale-and-fade-in 0.8s ease-in forwards;animation-delay:0.6s;animation-delay:calc(0.6s - var(--loader-delay-offset))}

34.i-amphtml-new-loader-size-small .i-amphtml-new-loader-shim{width:48px;height:48px;margin:12px}

35.i-amphtml-new-loader-has-shim .i-amphtml-new-loader-shim{display:initial}

36.i-amphtml-new-loader-has-shim .i-amphtml-new-loader-logo-default{display:none}

37.i-amphtml-new-loader-has-shim .i-amphtml-new-loader-transparent-on-shim{fill:transparent!important}

38.i-amphtml-new-loader-logo,.i-amphtml-new-loader-shim,.i-amphtml-new-loader-spinner-wrapper{position:absolute;top:0;left:0;bottom:0;right:0}

39.i-amphtml-new-loader-spinner-wrapper{margin:12px}

40.i-amphtml-new-loader-spinner{stroke:currentColor;stroke-width:1.5px;opacity:0;animation:i-amphtml-new-loader-fade-in 0.8s ease-in forwards;animation-delay:1.8s;animation-delay:calc(1.8s - var(--loader-delay-offset))}

...

</html>