UNPKG

@tindtechnologies/universalviewer

Version:

The Universal Viewer is a community-developed open source project on a mission to help you share your 📚📜📰📽️📻🗿 with the 🌎

1 lines 2.84 kB
"use strict";(self.webpackChunkUV=self.webpackChunkUV||[]).push([[6120],{6120:(n,t,r)=>{r.r(t),r.d(t,{ion_card_subtitle:()=>i});var e=r(5873),o=r(636),i=function(){function n(n){(0,e.r)(this,n)}return n.prototype.render=function(){var n,t=(0,e.f)(this);return(0,e.h)(e.H,{role:"heading","aria-level":"3",class:Object.assign(Object.assign({},(0,o.c)(this.color)),(n={},n[t]=!0,n))},(0,e.h)("slot",null))},Object.defineProperty(n,"style",{get:function(){return":host{display:block;position:relative;color:var(--color)}:host(.ion-color){color:var(--ion-color-base)}:host{--color:var(--ion-color-step-550,#737373);margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;font-size:14px;font-weight:500}"},enumerable:!0,configurable:!0}),n}()},636:(n,t,r)=>{r.d(t,{c:()=>o,g:()=>i,h:()=>e,o:()=>l});var e=function(n,t){return null!==t.closest(n)},o=function(n){var t;return"string"==typeof n&&n.length>0?((t={"ion-color":!0})["ion-color-"+n]=!0,t):void 0},i=function(n){var t={};return function(n){return void 0!==n?(Array.isArray(n)?n:n.split(" ")).filter((function(n){return null!=n})).map((function(n){return n.trim()})).filter((function(n){return""!==n})):[]}(n).forEach((function(n){return t[n]=!0})),t},u=/^[a-z][a-z0-9+\-.]*:/,l=function(n,t,r){return e=void 0,o=void 0,l=function(){var e;return function(n,t){var r,e,o,i,u={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(i){return function(l){return function(i){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,e&&(o=2&i[0]?e.return:i[0]?e.throw||((o=e.return)&&o.call(e),0):e.next)&&!(o=o.call(e,i[1])).done)return o;switch(e=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return u.label++,{value:i[1],done:!1};case 5:u.label++,e=i[1],i=[0];continue;case 7:i=u.ops.pop(),u.trys.pop();continue;default:if(!((o=(o=u.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){u=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){u.label=i[1];break}if(6===i[0]&&u.label<o[1]){u.label=o[1],o=i;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(i);break}o[2]&&u.ops.pop(),u.trys.pop();continue}i=t.call(n,u)}catch(n){i=[6,n],e=0}finally{r=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,l])}}}(this,(function(o){return null!=n&&"#"!==n[0]&&!u.test(n)&&(e=document.querySelector("ion-router"))?(null!=t&&t.preventDefault(),[2,e.push(n,r)]):[2,!1]}))},new((i=void 0)||(i=Promise))((function(n,t){function r(n){try{a(l.next(n))}catch(n){t(n)}}function u(n){try{a(l.throw(n))}catch(n){t(n)}}function a(t){t.done?n(t.value):new i((function(n){n(t.value)})).then(r,u)}a((l=l.apply(e,o||[])).next())}));var e,o,i,l}}}]);