PageSourceSearch

https://www.donic.com/theme/6c5c29f8457876740d5a008f7c3d7da0/js/ze…ravity.zen-quickview-close.plugin.4dad73.js

js donic.com collected 2026-10-02 16:39:01 UTC 1,365 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkzenitPlatformGravity=self.webpackChunkzenitPlatformGravity||[]).push([[96172],{6172(e,t,a){a.r(t),a.d(t,{default:()=>i});class i extends window.PluginBaseClass{static #e=this.options={offcanvasCartButtonSelector:"[data-off-canvas-cart]",offcanvasCartSelector:".cart-offcanvas",offcanvasCookieSelector:".offcanvas-cookie",quickviewModalSelector:".quickview-modal"};init(){let e=this.options,t=document.querySelector(e.offcanvasCartButtonSelector);t&&(this._offcanvasCartPlugin=window.PluginManager.getPluginInstanceFromElement(t,"OffCanvasCart")),this._registerEvents()}_registerEvents(){this._offcanvasCartPlugin&&this._offcanvasCartPlugin.$emitter.subscribe("offCanvasOpened.ZenQuickviewClosePlugin",this._onOffCanvasOpened.bind(this,"cart"),{once:!0}),document.$emitter.subscribe("CookieConfiguration/requestConsent.ZenQuickviewClosePlugin",this._onOffCanvasOpened.bind(this,"wishlist"))}_onOffCanvasOpened(e){let t=this.options;if(this._quickviewModal=document.querySelector(t.quickviewModalSelector),!this._quickviewModal)return;let a=bootstrap.Modal.getInstance(this._quickviewModal);this._quickviewModal.addEventListener("hidden.bs.modal",()=>{if("cart"===e){let e=document.querySelector(t.offcanvasCartSelector);e&&e.focus()}else{let e=document.querySelector(t.offcanvasCookieSelector);e&&e.focus()}},{once:!0}),a.hide()}}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.