/** * Minified by jsDelivr using Terser v3.14.1. * Original file: /gh/nuxodin/ie11CustomProperties@4.1.0/ie11CustomProperties.js * * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files */!function(){"use strict";vare=document.createElement("i");if(e.style.setProperty("--x","y"),"y"!==e.style.getPropertyValue("--x")&&e.msMatchesSelector){Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector);vart,r=[],n=document,o=!1;document.addEventListener("DOMContentLoaded",function(){o=!0}),"classList"inElement.prototype||H("classList",HTMLElement.prototype,Element.prototype),"innerHTML"inElement.prototype||H("innerHTML",HTMLElement.prototype,Element.prototype),"runtimeStyle"inElement.prototype||H("runtimeStyle",HTMLElement.prototype,Element.prototype),"sheet"inSVGStyleElement.prototype||Object.defineProperty(SVGStyleElement.prototype,"sheet",{get:function(){for(vare,t=document.styleSheets,r=0;e=t[r++];)if(e.ownerNode===this)returne}});vari={},s=newSet,c=!1,l=!1,a=/([\s{;])(--([A-Za-z0-9-_]*)\s*:([^;!}{]+)(!important)?)(?=\s*([;}]|$))/g,u=/([{;]\s*)([A-Za-z0-9-_]+\s*:[^;}{]*var\([^!;}{]+)(!important)?(?=\s*([;}$]|$))/g,f=/-ieVar-([^:]+):/g,p=/-ie-([^};]+)/g,d=/:(hover|active|focus|target|visited|link|:before|:after|:first-letter|:first-line)/;M("style",q),M('link[rel="stylesheet"]',q),M("[ie-style]",function(e){vart=B("{"+e.getAttribute("ie-style")).substr(1);e.style.cssText+=";"+t;varr=R(e.style);r.getters&&N(e,r.getters,"%styleAttr"),r.setters&&G(e,r.setters)});varm={hover:{on:"mouseenter",off:"mouseleave"},focus:{on:"focusin",off:"focusout"},active:{on:"CSSActivate",off:"CSSDeactivate"}},y=null;document.addEventListener("mousedown",function(e){setTimeout(function(){if(e.target===document.activeElement){vart=document.createEvent("Event");t.initEvent("CSSActivate",!0,!0),(y=e.target).dispatchEvent(t)}})}),document.addEventListener("mouseup",function(){if(y){vare=document.createEvent("Event");e.initEvent("CSSDeactivate",!0,!0),y.dispatchEvent(e),y=null}});varv=0,h=newMutationObserver(function(e){if(!l)for(vart,r=0;t=e[r++];)"iecp-needed"!==t.attributeName&&J(t.target)});setTimeout(function(){h.observe(document,{attributes:!0,subtree:!0})});varS=location.hash;addEventListener("hashchange",function(e){vart=document.getElementById(location.hash.substr(1));if(t){varr=document.getElementById(S.substr(1));J(t),J(r)}elseJ(document);S=location.hash});varE=Object.getOwnPropertyDescriptor(HTMLElement.prototype,"style"),P=E.get;E.get=function(){conste=P.call(this);returne.owningElement=this,e},Object.defineProperty(HTMLElement.prototype,"style",E);varC=getComputedStyle;window.getComputedStyle=function(e){vart=C.apply(this,arguments);returnt.computedFor=e,t};varg=CSSStyleDeclaration.prototype,b=g.getPropertyValue;g.getPropertyValue=function(e){if(this.lastPropertyServedBy=!1,"-"!==(e=e.trim())[0]||"-"!==e[1])returnb.apply(this,arguments);constt=e.substr(2),r="-ie-"+t,n="-ie-❗"+t;leto=D(this[n]||this[r]);if(this.computedFor){if(void0===o||T[o]){if(T[o]||!_[e]||_[e].inherits){lett=this.computedFor.parentNode;for(;1===t.nodeType;){if(t.ieCP_setters&&t.ieCP_setters[e]){vari=getComputedStyle(t),s=D(i[n]||i[r]);if(void0!==s){o=Q(this,s),this.lastPropertyServedBy=t;break}}t=t.parentNode}}}elseo=Q(this,o),this.lastPropertyServedBy=this.computedFor;if("initial"===o)return""}returnvoid0===o&&_[e]&&(o=_[e].initialValue),void0===o?"":o};varT={inherit:1,revert:1,unset:1},L=g.setProperty;g.setProperty=function(e,t,r){if("-"!==e[0]||"-"!==e[1])returnL.apply(this,arguments);constn=this.owningElement;n&&(n.ieCP_setters||(n.ieCP_setters={}),n.ieCP_setters[e]=1),e="-ie-"+("important"===r?"❗":"")+e.substr(2),this.cssText+="; "+e+":"+k(t)+";",n&&J(n)},window.CSS||(window.CSS={});var_={};CSS.registerProperty=function(e){_[e.name]=e}}functionw(e,t){try{returne.querySelectorAll(t)}catch(e){return[]}}functionM(e,o){for(vari,s={selector:e,callback:o,elements:newWeakMap},c=w(n,s.selector),l=0;i=c[l++];)s.elements.set(i,!0),s.callback.call(i,i);r.push(s),t||(t=newMutationObserver(O)).observe(n,{childList:!0,subtree:!0}),A(s)}functionA(e,t){varr,i=0,s=[];try{t&&t.matches(e.selector)&&s.push(t)}catch(e){}for(o&&Array.prototype.push.apply(s,w(t||n,e.selector));r=s[i++];)e.elements.has(r)||(e.elements.set(r,!0),e.callback.call(r,r))}functionV(e){for(vart,n=0;t=r[n++];)A(t,e)}functionO(e){for(vart,r,n,o,i=0;r=e[i++];)for(n=r.addedNodes,t=0;o=n[t++];)1===o.nodeType&&V(o)}functionH(e,t,r){varn=Object.getOwnPropertyDescriptor(t,e);Object.defineProperty(r,e,n)}functionq(e){if(!e.ieCP_polyfilled&&!e.ieCP_elementSheet&&e.sheet){if(e.href)returnt=e.href,r=function(t){varr=B(t);t!==r&&j(e,r)},(n=newXMLHttpRequest).open("GET",t),n.overrideMimeType("text/css"),n.onload=function(){n.status>=200&&n.status<400&&r(n.responseText)},voidn.send();vart,r,n,o=e.innerHTML,i=B(o);o!==i&&j(e,i)}}functionB(e){returne.replace(a,function(e,t,r,n,o,i){returnt+"-ie-"+(i?"❗":"")+n+":"+k(o)}).replace(u,function(e,t,r,n){returnt+"-ieVar-"+(n?"❗":"")+r+"; "+r})}functionk(e){returne}functionD(e){returne}functionR(e){e["z-index"]===e&&x();constt=e.cssText;varr,n,o=t.match(f);if(o){vars=[];for(r=0;n=o[r++];){lett=n.slice(7,-1);"❗"===t[0]&&(t=t.substr(1)),s.push(t),i[t]||(i[t]=[]),i[t].push(e)}}varc=t.match(p);if(c){varl={};for(r=0;n=c[r++];){lete=n.substr(4).split(":"),t=e[0],r=e[1];"❗"===t[0]&&(t=t.substr(1)),l[t]=r}}return{getters:s,setters:l}}functionj(e,t){e.sheet.cssText=t,e.ieCP_polyfilled=!0;for(varr,n=e.sheet.rules,o=0;r=n[o++];){conste=R(r.style);e.getters&&F(r.selectorText,e.getters),e.setters&&z(r.selectorText,e.setters);constt=r.parentRule&&r.parentRule.media&&r.parentRule.media.mediaText;t&&(e.getters||e.setters)&&matchMedia(t).addListener(function(){J(document.documentElement)})}$()}functionF(e,t){I(e),M(Z(e),function(r){N(r,t,e),W(r)})}functionN(e,t,r){varn,o,i=0;consts=r.split(",");for(e.setAttribute("iecp-needed",!0),e.ieCPSelectors||(e.ieCPSelectors={});n=t[i++];)for(o=0;r=s[o++];){constt=r.trim().split("::");e.ieCPSelectors[n]||(e.ieCPSelectors[n]=[]),e.ieCPSelectors[n].push({selector:t[0],pseudo:t[1]?"::"+t[1]:""})}}functionz(e,t){I(e),M(Z(e),function(e){G(e,t)})}functionG(e,t){for(varrine.ieCP_setters||(e.ieCP_setters={}),t)e.ieCP_setters["--"+r]=1;J(e)}function$(){for(vareini){leto=i[e];for(vart,r=0;t=o[r++];)if(!t.owningElement){varn=t["-ieVar-"+e];if(n&&""!==(n=Q(getComputedStyle(document.documentElement),n)))try{t[e]=n}catch(e){}}}}functionI(e){for(vartine=e.split(",")[0],m){varr=e.split(":"+t);if(r.length>1){varn=r[1].match(/^[^\s]*/);lete=Z(r[0]+n);consto=m[t];M(e,function(e){e.addEventListener(o.on,K),e.addEventListener(o.off,K)})}}}functionZ(e){returne.replace(d,"").replace(":not()","")}functionW(e){s.add(e),c||(c=!0,requestAnimationFrame(function(){c=!1,l=!0,s.forEach(X),s.clear(),setTimeout(function(){l=!1})}))}functionX(e){e.ieCP_unique||(e.ieCP_unique=++v,e.classList.add("iecp-u"+e.ieCP_unique));vart=getComputedStyle(e);letr="";for(varnine.runtimeStyle.cssText="",e.ieCPSelectors){varo=t["-ieVar-❗"+n];leta=o||t["-ieVar-"+n];if(a){vari={},s=Q(t,a,i);o&&(s+=" !important");for(varc,l=0;c=e.ieCPSelectors[n][l++];)"%styleAttr"===c.selector&&(e.style[n]=s),(o||!1===i.allByRoot)&&(c.pseudo?r+=c.selector+".iecp-u"+e.ieCP_unique+c.pseudo+"{"+n+":"+s+"}\n":e.runtimeStyle[n]=s)}}!function(e,t){if(!e.ieCP_styleEl&&t){constt=document.createElement("style");t.ieCP_elementSheet=1,document.head.appendChild(t),e.ieCP_styleEl=t}e.ieCP_styleEl&&(e.ieCP_styleEl.innerHTML=t)}(e,r)}functionJ(e){if(e){e===document.documentElement&&$();vart=e.querySelectorAll("[iecp-needed]");e.hasAttribute&&e.hasAttribute("iecp-needed")&&W(e);for(varr,n=0;r=t[n++];)W(r)}}functionK(e){J(e.target)}functionQ(e,t,r){returnfunction(e,t){letr,n,o=0,i=null,s=0,c="",l=0;for(;r=e[l++];){if("("===r&&(++o,null===i&&e[l-4]+e[l-3]+e[l-2]==="var"&&(i=o,c+=e.substring(s,l-4),s=l),e[l-5]+e[l-4]+e[l-3]+e[l-2]==="calc"&&(n=o)),")"===r&&i===o){letr,o=e.substring(s,l-1).trim(),a=o.indexOf(",");-1!==a&&(r=o.slice(a+1),o=o.slice(0,a)),c+=t(o,r,n),s=l,i=null}")"===r&&n===--o&&(n=null)}returnc+=e.substring(s)}(t,function(t,n,o){vari=e.getPropertyValue(t);returno&&(i=i.replace(/^calc\(/,"(")),r&&e.lastPropertyServedBy!==document.documentElement&&(r.allByRoot=!1),""===i&&n&&(i=Q(e,n,r)),i})}}();//# sourceMappingURL=/sm/0d31c8eaba1cbe6281431a1768c1714c7071e7ded57ebaeec897ba2017ae561d.map