Files
doneit-web/_platforms/browser/www/common-es5.da63efafb900da6709d5.js
T

1 line
131 KiB
JavaScript
Raw Normal View History

2021-08-18 18:58:02 +01:00
!function(){function t(t,n){for(var e=0;e<n.length;e++){var o=n[e];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function n(n,e,o){return e&&t(n.prototype,e),o&&t(n,o),n}function e(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}function o(t,n,e,o,i,r,a){try{var c=t[r](a),s=c.value}catch(l){return void e(l)}c.done?n(s):Promise.resolve(s).then(o,i)}function i(t){return function(){var n=this,e=arguments;return new Promise(function(i,r){var a=t.apply(n,e);function c(t){o(a,i,r,c,s,"next",t)}function s(t){o(a,i,r,c,s,"throw",t)}c(void 0)})}}(self.webpackChunkgabinete_digital=self.webpackChunkgabinete_digital||[]).push([[8592],{76507:function(t,n,e){"use strict";e.d(n,{c:function(){return a}});var o=e(31667),i=e(97279),r=e(52954),a=function(t,n){var e,a,c=function(t,o,i){if("undefined"!=typeof document){var r=document.elementFromPoint(t,o);r&&n(r)?r!==e&&(l(),s(r,i)):l()}},s=function(t,n){e=t,a||(a=e);var i=e;(0,o.c)(function(){return i.classList.add("ion-activated")}),n()},l=function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(e){var n=e;(0,o.c)(function(){return n.classList.remove("ion-activated")}),t&&a!==e&&e.click(),e=void 0}};return(0,i.createGesture)({el:t,gestureName:"buttonActiveDrag",threshold:0,onStart:function(t){return c(t.currentX,t.currentY,r.a)},onMove:function(t){return c(t.currentX,t.currentY,r.b)},onEnd:function(){l(!0),(0,r.h)(),a=void 0}})}},60504:function(t,n,e){"use strict";e.d(n,{a:function(){return o},d:function(){return r}});var o=function(){var t=i(regeneratorRuntime.mark(function t(n,e,o,i,r){var a;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(!n){t.next=2;break}return t.abrupt("return",n.attachViewToDom(e,o,r,i));case 2:if("string"==typeof o||o instanceof HTMLElement){t.next=4;break}throw new Error("framework delegate is missing");case 4:if(a="string"==typeof o?e.ownerDocument&&e.ownerDocument.createElement(o):o,i&&i.forEach(function(t){return a.classList.add(t)}),r&&Object.assign(a,r),e.appendChild(a),t.t0=a.componentOnReady,!t.t0){t.next=12;break}return t.next=12,a.componentOnReady();case 12:return t.abrupt("return",a);case 13:case"end":return t.stop()}},t)}));return function(n,e,o,i,r){return t.apply(this,arguments)}}(),r=function(t,n){if(n){if(t)return t.removeViewFromDom(n.parentElement,n);n.remove()}return Promise.resolve()}},52954:function(t,n,e){"use strict";e.d(n,{a:function(){return r},b:function(){return a},c:function(){return i},d:function(){return s},h:function(){return c}});var o={getEngine:function(){var t=window;return t.TapticEngine||t.Capacitor&&t.Capacitor.isPluginAvailable("Haptics")&&t.Capacitor.Plugins.Haptics},available:function(){return!!this.getEngine()},isCordova:function(){return!!window.TapticEngine},isCapacitor:function(){return!!window.Capacitor},impact:function(t){var n=this.getEngine();if(n){var e=this.isCapacitor()?t.style.toUpperCase():t.style;n.impact({style:e})}},notification:function(t){var n=this.getEngine();if(n){var e=this.isCapacitor()?t.style.toUpperCase():t.style;n.notification({style:e})}},selection:function(){this.impact({style:"light"})},selectionStart:function(){var t=this.getEngine();t&&(this.isCapacitor()?t.selectionStart():t.gestureSelectionStart())},selectionChanged:function(){var t=this.getEngine();t&&(this.isCapacitor()?t.selectionChanged():t.gestureSelectionChanged())},selectionEnd:function(){var t=this.getEngine();t&&(this.isCapacitor()?t.selectionEnd():t.gestureSelectionEnd())}},i=function(){o.selection()},r=function(){o.selectionStart()},a=function(){o.selectionChanged()},c=function(){o.selectionEnd()},s=function(t){o.impact(t)}},66575:function(t,n,o){"use strict";o.d(n,{s:function(){return i}});var i=function(t){try{if(t instanceof function(){return function t(n){e(this,t),this.value=n}}())return t.value;if(!c()||"string"!=typeof t||""===t)return t;var n=document.createDocumentFragment(),o=document.createElement("div");n.appendChild(o),o.innerHTML=t,l.forEach(function(t){for(var e=n.