PageSourceSearch

https://dckboardshorts.com/cdn/shop/t/67/assets/product-quick-view.js?v=136541749929207071071779741590

js dckboardshorts.com collected 2026-10-04 05:08:43 UTC 2,258 bytes, 2 lines download raw bytes

1const{MinimogThemeStyles,MinimogThemeScripts}=window;class QuickView{constructor(){this.modal=new MinimogTheme.Modal,this.isOpen=!1,this.isLoading=!1,addEventDelegate({selector:".m-product-quickview-button",handler:(e,target)=>{if(e.preventDefault(),this.isLoading)return;this.target=target,this.toggleLoading(!0);const productHandle=target.dataset.productHandle;productHandle&&this.loadProductQuickView(productHandle)}}),window.MinimogEvents.subscribe(MinimogTheme.pubSubEvents.cartUpdate,()=>{this.modal&&this.close()})}loadProductQuickView(productHandle){this.isOpen&&this.close(),this.isLoading=!0,this.loadAssets([MinimogThemeStyles.product,MinimogThemeStyles.productInventory],"quick-view-assets").then(()=>fetchSection("product-quickview",{url:`${window.MinimogSettings.base_url}products/${productHandle}`})).then(html=>{this.modalContent=html.querySelector(".m-product-quickview");const firstModel=html.querySelector("product-model");return this.mediaGallery=this.modalContent.querySelector("media-gallery"),this.loadAssets([MinimogThemeScripts.productMedia,MinimogThemeScripts.variantsPicker,MinimogThemeScripts.productInventory],"variants-picker").then(()=>{const colorScheme=this.modalContent.dataset.colorScheme;if(this.modal.appendChild(this.modalContent),this.modal.setWidth("960px"),this.modal.open(),this.modal.setSizes(`m-gradient ${colorScheme}`),this.toggleLoading(!1),this.isOpen=!0,this.isLoading=!1,firstModel)return this.loadAssets([MinimogThemeScripts.productModel,"https://cdn.shopify.com/shopifycloud/model-viewer-ui/assets/v1.0/model-viewer-ui.css"],"product-model-assets")})}).then(()=>{document.dispatchEvent(new CustomEvent("quick-view:loaded",{detail:{productUrl:this.target.dataset.productHandle}}))}).catch(error=>{console.error("Error loading product quick view:",error),this.toggleLoading(!1)})}loadAssets(assets,key){return new Promise((resolve,reject)=>{loadAssetsNew(assets,key,resolve,reject)})}close(e){this.modal.close(e),this.isOpen=!1}toggleLoading(isLoading){isLoading?this.target.classList.add("m-spinner-loading"):this.target.classList.remove("m-spinner-loading")}}MinimogTheme.ProductQuickView=new QuickView;
2//# sourceMappingURL=/cdn/shop/t/67/assets/product-quick-view.js.map?v=136541749929207071071779741590

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.