Current File : /home/pacjaorg/wpt.pacja.org/km/media/system/js/joomla-core-loader-es5.min.js |
(function(){"use strict";function s(e,o){for(var r=0;r<o.length;r++){var t=o[r];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(e,v(t.key),t)}}function x(e,o,r){return o&&s(e.prototype,o),r&&s(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function h(e,o){e.prototype=Object.create(o.prototype),e.prototype.constructor=e,p(e,o)}function l(e){return l=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},l(e)}function p(e,o){return p=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,i){return t.__proto__=i,t},p(e,o)}function g(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function u(e,o,r){return g()?u=Reflect.construct.bind():u=function(i,n,a){var c=[null];c.push.apply(c,n);var f=Function.bind.apply(i,c),b=new f;return a&&p(b,a.prototype),b},u.apply(null,arguments)}function y(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function d(e){var o=typeof Map=="function"?new Map:void 0;return d=function(t){if(t===null||!y(t))return t;if(typeof t!="function")throw new TypeError("Super expression must either be null or a function");if(typeof o<"u"){if(o.has(t))return o.get(t);o.set(t,i)}function i(){return u(t,arguments,l(this).constructor)}return i.prototype=Object.create(t.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),p(i,t)},d(e)}function m(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function w(e,o){if(typeof e!="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var t=r.call(e,o||"default");if(typeof t!="object")return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return(o==="string"?String:Number)(e)}function v(e){var o=w(e,"string");return typeof o=="symbol"?o:String(o)}(function(e){"strict";var o=function(r){h(t,r);function t(){var n;n=r.call(this)||this;var a=document.createElement("template");return a.innerHTML=`<style>:host{z-index:10000;opacity:.8;align-items:center;width:100%;height:100%;display:flex;position:fixed;top:0;left:0;overflow:hidden}.box{width:345px;height:345px;margin:0 auto;position:relative}.box p{float:right;color:#999;margin:95px 0 0;font:1.25em/1em sans-serif}.box>span{animation:2s ease-in-out infinite jspinner}.box .red{animation-delay:-1.5s}.box .blue{animation-delay:-1s}.box .green{animation-delay:-.5s}.yellow{content:"";background:#f9a541;border-radius:90px;width:90px;height:90px;position:absolute;top:0;left:0}.yellow:before,.yellow:after{box-sizing:content-box;content:"";background:0 0;border:50px solid #f9a541;width:50px;position:absolute;top:0;left:0}.yellow:before{border-width:50px 50px 0;border-radius:75px 75px 0 0;height:35px;margin:60px 0 0 -30px}.yellow:after{border-width:0 0 0 50px;height:105px;margin:140px 0 0 -30px}.red{content:"";background:#f44321;border-radius:90px;width:90px;height:90px;position:absolute;top:0;left:0}.red:before,.red:after{box-sizing:content-box;content:"";background:0 0;border:50px solid #f44321;width:50px;position:absolute;top:0;left:0}.red:before{border-width:50px 50px 0;border-radius:75px 75px 0 0;height:35px;margin:60px 0 0 -30px}.red:after{border-width:0 0 0 50px;height:105px;margin:140px 0 0 -30px}.blue{content:"";background:#5091cd;border-radius:90px;width:90px;height:90px;position:absolute;top:0;left:0}.blue:before,.blue:after{box-sizing:content-box;content:"";background:0 0;border:50px solid #5091cd;width:50px;position:absolute;top:0;left:0}.blue:before{border-width:50px 50px 0;border-radius:75px 75px 0 0;height:35px;margin:60px 0 0 -30px}.blue:after{border-width:0 0 0 50px;height:105px;margin:140px 0 0 -30px}.green{content:"";background:#7ac143;border-radius:90px;width:90px;height:90px;position:absolute;top:0;left:0}.green:before,.green:after{box-sizing:content-box;content:"";background:0 0;border:50px solid #7ac143;width:50px;position:absolute;top:0;left:0}.green:before{border-width:50px 50px 0;border-radius:75px 75px 0 0;height:35px;margin:60px 0 0 -30px}.green:after{border-width:0 0 0 50px;height:105px;margin:140px 0 0 -30px}.yellow{margin:0 0 0 255px;transform:rotate(45deg)}.red{margin:255px 0 0 255px;transform:rotate(135deg)}.blue{margin:255px 0 0;transform:rotate(225deg)}.green{transform:rotate(315deg)}@keyframes jspinner{0%,40%,to{opacity:.3}20%{opacity:1}}@media (prefers-reduced-motion:reduce){.box>span{animation:none}}</style>
<div>
<span class="yellow"></span>
<span class="red"></span>
<span class="blue"></span>
<span class="green"></span>
<p>™</p>
</div>`,window.ShadyCSS&&window.ShadyCSS.prepareTemplate(a,"joomla-core-loader"),n.attachShadow({mode:"open"}),n.shadowRoot.appendChild(a.content.cloneNode(!0)),window.ShadyCSS&&window.ShadyCSS.styleElement(m(n)),n}var i=t.prototype;return i.connectedCallback=function(){this.style.backgroundColor=this.color,this.style.opacity=.8,this.shadowRoot.querySelector("div").classList.add("box")},i.attributeChangedCallback=function(a,c,f){switch(a){case"color":f&&f!==c&&(this.style.backgroundColor=this.color);break}},x(t,[{key:"color",get:function(){return this.getAttribute("color")||"#fff"},set:function(a){this.setAttribute("color",a)}}],[{key:"observedAttributes",get:function(){return["color"]}}]),t}(d(HTMLElement));e.get("joomla-core-loader")||e.define("joomla-core-loader",o)})(customElements)})();