@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.88 kB
JavaScript
;(self.webpackChunkUV=self.webpackChunkUV||[]).push([[2020],{9639:(t,n,r)=>{r.r(n),r.d(n,{ion_card_subtitle:()=>i});var e=r(5873),o=r(636),i=function(){function t(t){(0,e.r)(this,t)}return t.prototype.render=function(){var t,n=(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)),(t={},t[n]=!0,t))},(0,e.h)("slot",null))},Object.defineProperty(t,"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-600,#666);margin-left:0;margin-right:0;margin-top:0;margin-bottom:4px;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;font-size:12px;font-weight:700;letter-spacing:.4px;text-transform:uppercase}"},enumerable:!0,configurable:!0}),t}()},636:(t,n,r)=>{r.d(n,{c:()=>o,g:()=>i,h:()=>e,o:()=>l});var e=function(t,n){return null!==n.closest(t)},o=function(t){var n;return"string"==typeof t&&t.length>0?((n={"ion-color":!0})["ion-color-"+t]=!0,n):void 0},i=function(t){var n={};return function(t){return void 0!==t?(Array.isArray(t)?t:t.split(" ")).filter((function(t){return null!=t})).map((function(t){return t.trim()})).filter((function(t){return""!==t})):[]}(t).forEach((function(t){return n[t]=!0})),n},u=/^[a-z][a-z0-9+\-.]*:/,l=function(t,n,r){return e=void 0,o=void 0,l=function(){var e;return function(t,n){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=n.call(t,u)}catch(t){i=[6,t],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!=t&&"#"!==t[0]&&!u.test(t)&&(e=document.querySelector("ion-router"))?(null!=n&&n.preventDefault(),[2,e.push(t,r)]):[2,!1]}))},new((i=void 0)||(i=Promise))((function(t,n){function r(t){try{a(l.next(t))}catch(t){n(t)}}function u(t){try{a(l.throw(t))}catch(t){n(t)}}function a(n){n.done?t(n.value):new i((function(t){t(n.value)})).then(r,u)}a((l=l.apply(e,o||[])).next())}));var e,o,i,l}}}]);