PageSourceSearch

https://verabradley.com/cdn/shop/t/991/assets/theme.4fadc10b6e1c18923f14.js

js verabradley.com collected 2026-09-24 18:09:26 UTC 4,992 bytes, 1 lines download raw bytes

1(self.webpackChunkslate_master=self.webpackChunkslate_master||[]).push([[2239],{6833:(e,i,a)=>{"use strict";a.d(i,{Z:()=>p});var n=a(3609),o=a.n(n),t=a(3469),s=a.n(t),l=a(2316),d=a.n(l),r=a(8333);let c=d().View.extend({initialize:function(e){var i=this;i.$videoBoxes=i.$el,i.isResponsive=e.isResponsive||!1,i.bgVideo=e.bgVideo||!1,i.autoplay=e.autoplay||!1,i.muted=!("muted"in e)||e.muted,i.initVideos()},events:{},initVideos:function(){var e=this;s().each(e.$videoBoxes,(function(i){var a=o()(i),n=a.attr("id"),t=a.data("video-type"),s=a.data("video-id"),l=a.data("video-src");e.bgVideo?e.loadHostPlayer(s,l,a,n):"vimeo"==t&&e.loadVimeoPlayer(s,l,a,n)}))},loadHostPlayer:function(e,i,a,n){var t=this,s="",l=a,d=l.data("ratio")?l.data("ratio"):.6,r=l.find(".video-ctl"),c=function(e){l.width()/l.height()>=e?l.find("video").css({width:"100%",height:l.width()/e}):l.find("video").css({height:"100%",width:l.height()*e})},p=o()(`\n            <video\n                ${t.autoplay?"autoplay":""}\n                loop\n                ${t.muted?"muted":""}\n                playsinline\n                preload="metadata"\n            >\n                <source src="${i}" type="video/mp4">\n            </video>\n        `);r.text("Play"),a.prepend(p);var v=p[0];function u(){p.isPlaying?(v.pause(),r.text("Play"),r.removeClass("playing").addClass("paused")):(v.play(),r.text("Pause"),r.removeClass("paused").addClass("playing"))}p.on("play",(function(){p.isPlaying=!0,r.text("Pause"),r.removeClass("paused").addClass("playing"),p.isPlaying=!0,a.find("video").css({visibility:"visible",opacity:"1"})})),p.on("pause",(function(){p.isPlaying=!1,r.text("Play"),r.removeClass("playing").addClass("paused"),p.isPlaying=!1,!t.autoplay&&t.bgVideo&&a.find("video").css({visibility:"hidden",opacity:"0"})})),p.on("click",(function(){u()})),r.length&&(r.text("Pause"),r.on("click",(function(){u()}))),p.on("bufferend",(function(){console.log("video buffered"),t.isResponsive&&c(d),console.log("init video")})),t.isResponsive&&o()(window).resize((function(){clearTimeout(s),s=setTimeout((function(){c(d)}),400)}))},loadVimeoPlayer:function(e,i,a,n){var t=this,s="",l=a,d=l.data("ratio")?l.data("ratio"):.6,c=l.siblings(".video-ctl"),p=function(e){l.width()/l.height()>=e?l.find("iframe").css({width:"100%",height:l.width()/e}):l.find("iframe").css({height:"100%",width:l.height()*e})};if(t.isMobile())var v=new r.Z(n,{byline:!1,portrait:!1,title:!1,loop:!1,background:!0});else{var u=o()('<iframe frameborder="0" src="'+i+'?title=0&amp;byline=0&amp;portrait=1&amp;autoplay=1&amp;loop=1&amp;controls=0&amp;background=1">');a.html(u),v=new r.Z(u)}c.length&&(t.isMobile()?(c.text("Play"),c.removeClass("playing").addClass("paused"),c.on("click",(function(){v.isPlaying&&v.pause(),v.play()}))):(c.text("Pause"),c.removeClass("paused").addClass("playing"),c.on("click",(function(){v.isPlaying?(v.pause(),c.text("Play"),c.removeClass("playing").addClass("paused")):(v.play(),c.text("Pause"),c.removeClass("paused").addClass("playing"))})))),v.setVolume(0),v.on("play",(function(){v.isPlaying=!0,t.isMobile()&&(a.find("iframe").css({opacity:"1"}),c.css({"z-index":"3"}),c.text("Pause"),c.removeClass("paused").addClass("playing")),console.log("played vm video!")})),v.on("pause",(function(){v.isPlaying=!1,t.isMobile()&&(a.find("iframe").css({opacity:"0"}),c.text("Play"),c.removeClass("playing").addClass("paused")),console.log("pause vm video!")})),v.on("loaded",(function(){t.isResponsive&&p(d),console.log("init vm video")})),t.isResponsive&&o()(window).resize((function(){clearTimeout(s),s=setTimeout((function(){p(d)}),400)}))},destroy:function(){this.undelegateEvents()},isMobile:function(){return"small"==ORW.responsive},isDesktop:function(){return"large"==ORW.responsive}});const p={init:function(e){return new c(e)}}},2443:(e,i,a)=>{"use strict";a.r(i);var n=a(3609),o=a.n(n),t=a(7978),s=a(2316),l=a.n(s),d=a(6833);a(9154);const r=l().View.extend({initialize(){console.log("init blog template");var e=this;e.$blogLargeSlider=e.$el.find(".blog-large-slider"),e.$yearNav=e.$el.find(".blog-year-nav .nav-dropdown"),e.$yearMobileNav=e.$el.find(".blog-year-nav select"),e.blogLargeSlider()},events:{"click .blog-year-nav .nav-dropdown-content":"yearNav","click .blog-year-nav .nav-dropdown-content a":"yearNavLink","change .blog-year-nav select":"yearNavMobile"},blogLargeSlider(){var e=this.$blogLargeSlider.find(".video-wrapper");this.$blogLargeSlider.slick({dots:!0,infinite:!0,speed:600,slidesToShow:1,arrows:!1,adaptiveHeight:!1,autoplay:!0,autoplaySpeed:6e3}),e.length>0&&d.Z.init({el:e,isResponsive:!1,bgVideo:!0,autoplay:!0})},yearNav(e){this.$yearNav.toggleClass("opened")},yearNavLink(e){var i=o()(e.currentTarget);
1i.closest(".nav-dropdown-content").find("li.active").removeClass("nav-dropdown-title active"),i.closest("li").addClass("nav-dropdown-title active")},yearNavMobile(e){var i=o()(e.currentTarget).val();""!=i&&(window.location=i)}});(0,t.Z)((()=>{new r({el:o()("#MainContent")})}))}}]);

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.