@acdh-oeaw/universalviewer
Version:
The Universal Viewer is a community-developed open source project on a mission to help you share your 📚📜📰📽️📻🗿 with the 🌎
2 lines (1 loc) • 2.31 kB
JavaScript
import{a as o}from"./chunk-RQUDVHEA.js";import"./chunk-47FI7OS3.js";import"./chunk-4DAZ7WDM.js";import{a as p}from"./chunk-JFPB5N6O.js";import"./chunk-L67DAW3A.js";var y=function(i,r,n,a){return new(n||(n=Promise))(function(u,e){function l(t){try{f(a.next(t))}catch(c){e(c)}}function s(t){try{f(a.throw(t))}catch(c){e(c)}}function f(t){t.done?u(t.value):new n(function(c){c(t.value)}).then(l,s)}f((a=a.apply(i,r||[])).next())})},h=function(i,r){var n={label:0,sent:function(){if(e[0]&1)throw e[1];return e[1]},trys:[],ops:[]},a,u,e,l;return l={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function s(t){return function(c){return f([t,c])}}function f(t){if(a)throw new TypeError("Generator is already executing.");for(;n;)try{if(a=1,u&&(e=t[0]&2?u.return:t[0]?u.throw||((e=u.return)&&e.call(u),0):u.next)&&!(e=e.call(u,t[1])).done)return e;switch(u=0,e&&(t=[t[0]&2,e.value]),t[0]){case 0:case 1:e=t;break;case 4:return n.label++,{value:t[1],done:!1};case 5:n.label++,u=t[1],t=[0];continue;case 7:t=n.ops.pop(),n.trys.pop();continue;default:if(e=n.trys,!(e=e.length>0&&e[e.length-1])&&(t[0]===6||t[0]===2)){n=0;continue}if(t[0]===3&&(!e||t[1]>e[0]&&t[1]<e[3])){n.label=t[1];break}if(t[0]===6&&n.label<e[1]){n.label=e[1],e=t;break}if(e&&n.label<e[2]){n.label=e[2],n.ops.push(t);break}e[2]&&n.ops.pop(),n.trys.pop();continue}t=r.call(i,n)}catch(c){t=[6,c],u=0}finally{a=e=0}if(t[0]&5)throw t[1];return{value:t[0]?t[1]:void 0,done:!0}}},d=function(){function i(r){p(this,r)}return i.prototype.open=function(r){return o.open(r)},i.prototype.close=function(r){return o.close(r)},i.prototype.toggle=function(r){return o.toggle(r)},i.prototype.enable=function(r,n){return o.enable(r,n)},i.prototype.swipeGesture=function(r,n){return o.swipeGesture(r,n)},i.prototype.isOpen=function(r){return o.isOpen(r)},i.prototype.isEnabled=function(r){return o.isEnabled(r)},i.prototype.get=function(r){return o.get(r)},i.prototype.getOpen=function(){return o.getOpen()},i.prototype.getMenus=function(){return o.getMenus()},i.prototype.isAnimating=function(){return o.isAnimating()},i.prototype.registerAnimation=function(r,n){return y(this,void 0,void 0,function(){return h(this,function(a){return[2,o.registerAnimation(r,n)]})})},i}();export{d as ion_menu_controller};