{"version":3,"sources":["../node_modules/@ionic/core/dist/esm-es5/ion-text.entry.js","../node_modules/@ionic/core/dist/esm-es5/theme-ff3fc52f.js"],"names":["Text","t","registerInstance","this","prototype","render","o","getIonMode","h","Host","class","createColorClasses","color","style","hostContext","r","closest","e","length","Object","assign","getClassMap","undefined","Array","isArray","split","filter","map","trim","getClassList","forEach","SCHEME","openURL","n","__awaiter","__generator","a","test","document","querySelector","preventDefault","push"],"mappings":"6GAAA,6EAAqPA,EAAK,WAAW,SAASC,EAAEA,GAAGC,YAAiBC,KAAKF,GAAuJ,OAApJA,EAAEG,UAAUC,OAAO,WAAW,IAAIJ,EAAMK,EAAEC,YAAWJ,MAAM,OAAOK,YAAEC,IAAK,CAACC,MAAMC,YAAmBR,KAAKS,OAAOX,EAAE,GAAGA,EAAEK,IAAG,EAAKL,KAAKO,YAAE,OAAO,QAAeP,EAA7M,GAAkND,EAAKa,MAAjR,kD,iCCAhM,mJAA6CC,EAAY,SAASC,EAAEd,GAAG,OAAsB,OAAfA,EAAEe,QAAQD,IAAeJ,EAAmB,SAASI,EAAEd,GAAG,IAAIgB,EAAE,MAAkB,kBAAJF,GAAcA,EAAEG,OAAO,EAAEC,OAAOC,SAAQH,EAAE,CAAC,aAAY,IAAQ,aAAaF,IAAG,EAAKE,GAAGhB,GAAGA,GAA8NoB,EAAY,SAASN,GAAG,IAAId,EAAE,GAA4D,OAApS,SAASc,GAAG,YAAOO,IAAJP,GAAqBQ,MAAMC,QAAQT,GAAGA,EAAEA,EAAEU,MAAM,MAAcC,QAAQ,SAASX,GAAG,OAAU,MAAHA,KAAWY,KAAK,SAASZ,GAAG,OAAOA,EAAEa,UAAUF,QAAQ,SAASX,GAAG,MAAW,KAAJA,KAAgB,GAAyCc,CAAad,GAAGe,SAAS,SAASf,GAAG,OAAOd,EAAEc,IAAG,KAAed,GAAO8B,EAAO,uBAA2BC,EAAQ,SAASjB,EAAEd,EAAEgB,EAAEgB,GAAG,OAAOC,iBAAU,OAAO,OAAO,GAAQ,WAAW,IAAI5B,EAAE,OAAO6B,YAAYhC,MAAM,SAASiC,GAAG,OAAM,MAAHrB,GAAgB,MAAPA,EAAE,KAAWgB,EAAOM,KAAKtB,KAAIT,EAAEgC,SAASC,cAAc,gBAA0B,MAAHtC,GAASA,EAAEuC,iBAAuB,CAAC,EAAElC,EAAEmC,KAAK1B,EAAEE,EAAEgB,KAAW,CAAC,GAAE","file":"static/js/37.7a4eaf8d.chunk.js","sourcesContent":["import{r as registerInstance,h,H as Host}from\"./index-7a8b7a1c.js\";import{b as getIonMode}from\"./ionic-global-63a97a32.js\";import{c as createColorClasses}from\"./theme-ff3fc52f.js\";var textCss=\":host(.ion-color){color:var(--ion-color-base)}\";var Text=function(){function t(t){registerInstance(this,t)}t.prototype.render=function(){var t;var o=getIonMode(this);return h(Host,{class:createColorClasses(this.color,(t={},t[o]=true,t))},h(\"slot\",null))};return t}();Text.style=textCss;export{Text as ion_text};","import{__awaiter,__generator}from\"tslib\";var hostContext=function(r,t){return t.closest(r)!==null};var createColorClasses=function(r,t){var e;return typeof r===\"string\"&&r.length>0?Object.assign((e={\"ion-color\":true},e[\"ion-color-\"+r]=true,e),t):t};var getClassList=function(r){if(r!==undefined){var t=Array.isArray(r)?r:r.split(\" \");return t.filter((function(r){return r!=null})).map((function(r){return r.trim()})).filter((function(r){return r!==\"\"}))}return[]};var getClassMap=function(r){var t={};getClassList(r).forEach((function(r){return t[r]=true}));return t};var SCHEME=/^[a-z][a-z0-9+\\-.]*:/;var openURL=function(r,t,e,n){return __awaiter(void 0,void 0,void 0,(function(){var o;return __generator(this,(function(a){if(r!=null&&r[0]!==\"#\"&&!SCHEME.test(r)){o=document.querySelector(\"ion-router\");if(o){if(t!=null){t.preventDefault()}return[2,o.push(r,e,n)]}}return[2,false]}))}))};export{createColorClasses as c,getClassMap as g,hostContext as h,openURL as o};"],"sourceRoot":""}