PageSourceSearch

https://tremontisingssinatra.com/cdn/shop/t/4/assets/video.min.js?v=69463823849724424101646245264

js tremontisingssinatra.com collected 2026-10-08 07:40:51 UTC 5,958 bytes, 1 lines download raw bytes

1!function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=59)}({0:function(e,t,n){"use strict";function i(e,t){if(null===t)return e;if("master"===t)return r(e);const n=e.match(/\.(jpg|jpeg|gif|png|bmp|bitmap|tiff|tif)(\?v=\d+)?$/i);if(n){const i=e.split(n[0]),o=n[0];return r(`${i[0]}_${t}${o}`)}return null}function r(e){return e.replace(/http(s)?:/,"")}n.d(t,"d",(function(){return o})),n.d(t,"b",(function(){return s})),n.d(t,"c",(function(){return u})),n.d(t,"f",(function(){return a})),n.d(t,"e",(function(){return d})),n.d(t,"a",(function(){return c}));function o(e){for(var t in e)if(e.hasOwnProperty(t))return!1;return!0}function s(e,t=[180,360,540,720,900,1080,1296,1512,1728,1944,2160,2376,2592,2808,3024]){if(!e)return;const n=[];return t.forEach(t=>{n.push(`${i(e,t.toString()+"x")} ${t}w`)}),n.join(",\n")}!function(){const e={select:"input",change:"input",submit:"form",reset:"form",error:"img",load:"img",abort:"img"}}();function u(e){let t=[],n=e.parentNode.firstChild;for(;n;)1===n.nodeType&&n!==e&&t.push(n),n=n.nextSibling;return t}function a(e){e.tables.forEach((function(t){var n=document.createElement("div");n.classList.add(e.tableWrapperClass),t.parentNode.insertBefore(n,t),n.appendChild(t)}))}function d(e){e.iframes.forEach((function(t){var n=document.createElement("div");n.classList.add(e.iframeWrapperClass),t.parentNode.insertBefore(n,t),n.appendChild(t),t.src=t.src}))}const c=(l=!1,{setTouch:function(){l=!0},isTouch:function(){return l}});var l},5:function(e,t,n){"use strict";const i=function(){const e="link",t="script",n="requested",i="loaded",r="https://cdn.shopify.com/shopifycloud/",o={youtubeSdk:{tagId:"youtube-sdk",src:"https://www.youtube.com/iframe_api",type:t},vimeoSdk:{tagId:"vimeo-sdk",src:"https://player.vimeo.com/api/player.js",type:t},plyrShopifyStyles:{tagId:"plyr-shopify-styles",src:r+"plyr/v2.0/shopify-plyr.css",type:e},shopifyXr:{tagId:"shopify-model-viewer-xr",src:r+"shopify-xr-js/assets/v1.0/shopify-xr.en.js",type:t},modelViewerUi:{tagId:"shopify-model-viewer-ui",src:r+"model-viewer-ui/assets/v1.0/model-viewer-ui.en.js",type:t},modelViewerUiStyles:{tagId:"shopify-model-viewer-ui-styles",src:r+"model-viewer-ui/assets/v1.0/model-viewer-ui.css",type:e}};return{load:function(r,s){const u=o[r];if(!u)return;if(u.status===n)return;if(s=s||function(){},u.status===i)return void s();let a;switch(u.status=n,u.type){case t:a=function(e,t){const n=document.createElement("script");return n.src=e.src,n.addEventListener("load",(function(){e.status=i,t()})),n}(u,s);break;case e:a=function(e,t){const n=document.createElement("link");return n.href=e.src,n.rel="stylesheet",n.type="text/css",n.addEventListener("load",(function(){e.status=i,t()})),n}(u,s)}a.id=u.tagId,u.element=a;const d=document.getElementsByTagName(u.type)[0];d.parentNode.insertBefore(a,d)}}}();t.a=i},59:function(e,t,n){"use strict";n.r(t);var i=n(5),r=n(0);defineGlobalOnce("ThemeModule_Video",(function(e,t,n,o){return{enabled:!1,id:e,type:t,host:n,youtubeReady:!1,productMediaWrapper:null,ytPlayer:null,vimeoPlayer:null,autoPlayOnDesktop:o,mounted:function(){var e=this;document.addEventListener("touchstart",(function(){r.a.setTouch()})),document.body.addEventListener("pauseAllMedia",(function(t){null!==t.detail?t.detail.id!==e.id&&e.pause():e.pause()})),"youtube"===this.host&&(document.body.addEventListener("youtubeiframeapiready",(function(){e.youtubeReady=!0})),i.a.load("youtubeSdk")),"vimeo"===this.host&&i.a.load("vimeoSdk"),this.productMediaWrapper=this.$el.closest("[data-product-single-media-wrapper]"),null!==this.productMediaWrapper&&this.setupProductMediaListeners()},enableVideo:function(){var e=this;this.enabled=!0,this.$nextTick((function(){if("video"===e.type){e.$refs.video_container.querySelector(".video").onplay=function(){e.dispatchPauseEvent()}}else{if("youtube"===e.host){var t=e.$refs.video_container.querySelector(".js-youtube");e.ytPlayer=new YT.Player(t,{events:{onStateChange:function(e){1===e.data&&this.dispatchPauseEvent()}.bind(e)}})}if("vimeo"===e.host){var n=e.$refs.video_container.querySelector(".js-vimeo");e.vmPlayer=new Vimeo.Player(n),e.vmPlayer.on("play",(function(){e.dispatchPauseEvent()}))}}}))},dispatchPauseEvent:function(){document.body.dispatchEvent(new CustomEvent("pauseAllMedia",{detail:{id:this.id}}))},pause:function(){if(!this.enabled)return!1;if("video"===this.type)this.$refs.video_container.querySelector("video").pause();else switch(this.host){case"youtube":this.ytPlayer.pauseVideo();break;case"vimeo":this.vmPlayer.pause()}},play:function(){if(!this.enabled)return!1;if("video"===this.type)this.$refs.video_container.querySelector("video").play();else switch(this.host){case"youtube":this.ytPlayer.playVideo();break;case"vimeo":this.vmPlayer.play()}},setupProductMediaListeners:function(){var e=this;this.productMediaWrapper.addEventListener("mediaHidden",(function(){e.pause()})),this.productMediaWrapper.addEventListener("xrLaunch",(function(){e.pause()})),this.productMediaWrapper.addEventListener("mediaVisible",(function(){r.a.isTouch()||(!e.enabled&&e.autoPlayOnDesktop?e.enableVideo():e.play())}))}}}))}});

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.