Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
function RippleElement() {
_classCallCheck(this, RippleElement);
var _this = _possibleConstructorReturn(this, (RippleElement.__proto__ || _Object$getPrototypeOf(RippleElement)).call(this));
_this._onTap = _this._onTap.bind(_this);
_this._onHold = _this._onHold.bind(_this);
_this._onDragStart = _this._onDragStart.bind(_this);
_this._onRelease = _this._onRelease.bind(_this);
contentReady(_this, function () {
return _this._compile();
});
_this._animator = new Animator();
['color', 'center', 'start-radius', 'background', 'modifier'].forEach(function (e) {
_this.attributeChangedCallback(e, null, _this.getAttribute(e));
});
return _this;
function AndroidAlertDialogAnimator() {
var _ref2 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
_ref2$timing = _ref2.timing,
timing = _ref2$timing === undefined ? 'cubic-bezier(.1, .7, .4, 1)' : _ref2$timing,
_ref2$duration = _ref2.duration,
duration = _ref2$duration === undefined ? 0.2 : _ref2$duration,
_ref2$delay = _ref2.delay,
delay = _ref2$delay === undefined ? 0 : _ref2$delay;
_classCallCheck(this, AndroidAlertDialogAnimator);
return _possibleConstructorReturn(this, (AndroidAlertDialogAnimator.__proto__ || _Object$getPrototypeOf(AndroidAlertDialogAnimator)).call(this, { duration: duration, timing: timing, delay: delay }));
}
function PageElement() {
_classCallCheck(this, PageElement);
var _this = _possibleConstructorReturn(this, (PageElement.__proto__ || _Object$getPrototypeOf(PageElement)).call(this));
_this._deriveHooks();
_this._defaultClassName = defaultClassName;
_this.classList.add(defaultClassName);
_this._initialized = false;
contentReady(_this, function () {
_this._compile();
_this._isShown = false;
_this._contentElement = _this._getContentElement();
_this._backgroundElement = _this._getBackgroundElement();
});
return _this;
function BaseDialogElement() {
_classCallCheck(this, BaseDialogElement);
var _this = _possibleConstructorReturn(this, (BaseDialogElement.__proto__ || _Object$getPrototypeOf(BaseDialogElement)).call(this));
if (_this.constructor === BaseDialogElement) {
util.throwAbstract();
}
_this._visible = false;
_this._doorLock = new DoorLock();
_this._cancel = _this._cancel.bind(_this);
_this._selfCamelName = util.camelize(_this.tagName.slice(4));
_this._defaultDBB = function (e) {
return _this.cancelable ? _this._cancel() : e.callParentHandler();
};
_this._animatorFactory = _this._updateAnimatorFactory();
return _this;
}
function AXAHeaderNavigation() {
_classCallCheck(this, AXAHeaderNavigation);
var _this = _possibleConstructorReturn(this, (AXAHeaderNavigation.__proto__ || _Object$getPrototypeOf(AXAHeaderNavigation)).call(this, { styles: styles, template: template }));
_this.consumeContext('axa-header-main');
return _this;
}
value: function connectedCallback() {
_get(AXAHeaderMetaRight.prototype.__proto__ || _Object$getPrototypeOf(AXAHeaderMetaRight.prototype), 'connectedCallback', this).call(this);
this.className = this.initialClassName + ' m-header-meta-right';
}
}]);
get: function get() {
return [].concat(_toConsumableArray(_get(ModalElement.__proto__ || _Object$getPrototypeOf(ModalElement), 'observedAttributes', this)), ['class']);
}
}, {
function AXAFooterLinks() {
_classCallCheck(this, AXAFooterLinks);
return _possibleConstructorReturn(this, (AXAFooterLinks.__proto__ || _Object$getPrototypeOf(AXAFooterLinks)).call(this, { styles: styles, template: template }));
}
value: function render() {
if (this.disclaimerHandler.hasAccepted()) {
this.disclaimerHandler.cleanupWcNode();
} else {
_get(AXACookieDisclaimer.prototype.__proto__ || _Object$getPrototypeOf(AXACookieDisclaimer.prototype), 'render', this).call(this);
}
}
function AXACheckbox() {
_classCallCheck(this, AXACheckbox);
return _possibleConstructorReturn(this, (AXACheckbox.__proto__ || _Object$getPrototypeOf(AXACheckbox)).call(this, { styles: styles, template: template }));
}