p-cff0a9de.system.js 1.5 KB
Newer Older
1
System.register(["./p-ea7bbed1.system.js"],(function(r){"use strict";var n;return{setters:[function(r){n=r.g}],execute:function(){var t;var e=function(){if(typeof window==="undefined"){return new Map}else{if(!t){var r=window;r.Ionicons=r.Ionicons||{};t=r.Ionicons.map=r.Ionicons.map||new Map}return t}};var i=r("a",(function(r){var n=e();Object.keys(r).forEach((function(t){return n.set(t,r[t])}))}));var o=r("g",(function(r){var n=c(r.src);if(n){return n}n=f(r.name,r.icon,r.mode,r.ios,r.md);if(n){return u(n)}if(r.icon){n=c(r.icon);if(n){return n}n=c(r.icon[r.mode]);if(n){return n}}return null}));var u=function(r){var t=e().get(r);if(t){return t}return n("svg/".concat(r,".svg"))};var f=r("c",(function(r,n,t,e,i){t=(t&&v(t))==="ios"?"ios":"md";if(e&&t==="ios"){r=v(e)}else if(i&&t==="md"){r=v(i)}else{if(!r&&n&&!a(n)){r=n}if(s(r)){r=v(r)}}if(!s(r)||r.trim()===""){return null}var o=r.replace(/[a-z]|-|\d/gi,"");if(o!==""){return null}return r}));var c=function(r){if(s(r)){r=r.trim();if(a(r)){return r}}return null};var a=function(r){return r.length>0&&/(\/|\.)/.test(r)};var s=r("i",(function(r){return typeof r==="string"}));var v=function(r){return r.toLowerCase()};var d=r("b",(function(r,n){if(n===void 0){n=[]}var t={};n.forEach((function(n){if(r.hasAttribute(n)){var e=r.getAttribute(n);if(e!==null){t[n]=r.getAttribute(n)}r.removeAttribute(n)}}));return t}));var l=r("d",(function(r){if(r){if(r.dir!==""){return r.dir.toLowerCase()==="rtl"}}return(document===null||document===void 0?void 0:document.dir.toLowerCase())==="rtl"}))}}}));