cordova.define("cordova-plugin-permissions.Permissions", function(require, exports, module) {

    "use strict";

    function Permissions() {
    }

    Permissions.prototype.getLocationPermissions = function (callback) {
        cordova.exec(callback, null, "Permissions", "getLocationPermissions", []);
    };

    Permissions.prototype.getNotificationPermissions = function (callback) {
        cordova.exec(callback, null, "Permissions", "getNotificationPermissions", []);
    };

    Permissions.prototype.getCalendarPermissions = function (callback) {
        cordova.exec(callback, null, "Permissions", "getCalendarPermissions", []);
    };

    Permissions.prototype.getHealthKitPermissions = function (callback) {
        cordova.exec(callback, null, "Permissions", "getHealthKitPermissions", []);
    };

    Permissions.prototype.openSettings = function (callback) {
      cordova.exec(callback, null, "Permissions", "openSettings", []);
    };

    Permissions.install = function () {
      if (!window.plugins) {
        window.plugins = {};
      }

      window.plugins.permissions = new Permissions();
      return window.plugins.permissions;
    };

    cordova.addConstructor(Permissions.install);

});

@@ -1,122 +1,5 @@
-cordova.define(%22cordova-plugin-permissions.Permissions%22, function(require, exports, module) %7B%0A%0A    %22use strict%22;%0A%0A    
+%0A
 func
@@ -19,27 +19,19 @@
 ons() %7B%0A
-    %7D%0A%0A    
+%7D%0A%0A
 Permissi
@@ -83,36 +83,32 @@
 on (callback) %7B%0A
-    
     cordova.exec
@@ -166,36 +166,28 @@
 ions%22, %5B%5D);%0A
-    %7D;%0A%0A    
+%7D;%0A%0A
 Permissions.
@@ -239,36 +239,32 @@
 on (callback) %7B%0A
-    
     cordova.exec
@@ -326,36 +326,28 @@
 ions%22, %5B%5D);%0A
-    %7D;%0A%0A    
+%7D;%0A%0A
 Permissions.
@@ -399,36 +399,32 @@
 callback) %7B%0A    
-  
-  
 cordova.exec(cal
@@ -478,36 +478,28 @@
 ions%22, %5B%5D);%0A
-    %7D;%0A%0A    
+%7D;%0A%0A
 Permissions.
@@ -560,20 +560,16 @@
 ) %7B%0A    
-   
- 
 cordova.
@@ -632,36 +632,28 @@
 ions%22, %5B%5D);%0A
-    %7D;%0A%0A    
+%7D;%0A%0A
 Permissions.
@@ -699,20 +699,16 @@
 back) %7B%0A
-    
   cordov
@@ -766,28 +766,20 @@
 %22, %5B%5D);%0A
-    %7D;%0A%0A    
+%7D;%0A%0A
 Permissi
@@ -806,20 +806,16 @@
 on () %7B%0A
-    
   if (!w
@@ -835,20 +835,16 @@
 ) %7B%0A    
-  
-  
 window.p
@@ -862,19 +862,11 @@
 ;%0A  
-    %7D%0A%0A    
+%7D%0A%0A
   wi
@@ -911,20 +911,16 @@
 ions();%0A
-    
   return
@@ -952,20 +952,12 @@
 ns;%0A
-    %7D;%0A%0A    
+%7D;%0A%0A
 cord
@@ -1001,9 +1001,4 @@
 l);%0A
-%0A%7D);%0A

remove outer cordova wrapper