PageSourceSearch

https://www.keystoneresort.com/dist/checkout.sessionExpiredModal.bundle.424fedc8dfd2c3c494c5.js

js keystoneresort.com collected 2026-10-02 05:19:58 UTC 3,336 bytes, 1 lines download raw bytes

1(self.webpackChunkDigital_Freeride_Web=self.webpackChunkDigital_Freeride_Web||[]).push([[1047],{22993:function(e,i,n){var t,o;void 0===(o=function(){"use strict";t=[n(53182),n(41669),n(22224),n(38123),n(71585),n(83994)],void 0===(o=function(e,i,n,t,o,s){var r,a,d,c,l,u,p={},g={cacheJQueryElements:function(){p.cartNav=i("#nav_cart"),p.sessionExpiredTemplate=i("#session_expired_template"),p.checkoutSessionExpiredTemplate=i("#checkout_session_expired_template")},clearExistingTimeout:function(){d&&clearTimeout(d)},closeModal:function(){e.$el.window.trigger("global-modal-close")},openModal:function(){var i=g.getTemplate();setTimeout(function(){e.$el.window.trigger("global-modal-open",[i,void 0])},2e3)},getTemplate:function(){return(a||c?n.template(p.checkoutSessionExpiredTemplate.html()):n.template(p.sessionExpiredTemplate.html()))({})},setPageType:function(){c=e.$el.body.hasClass("checkout-page"),l=e.$el.body.hasClass("account-page")},setCartVars:function(){n.isEmpty(window.shoppingCart)?(console.error("window.shoppingCart does not exist."),a=!1):a=window.shoppingCart.TotalProducts>0},startSessionWarning:function(){g.clearExistingTimeout(),"true"===e.$el.body.attr("data-session-active")&&"logged in"===e.$el.body.attr("data-user-authentication-status")&&(r=t().add(parseInt(e.$el.body.attr("data-session-time"),10),"m"),g.checkForSessionWarning())},checkForSessionWarning:function(){if(r){var e=t();g.clearExistingTimeout(),e.isSame(r)||e.isAfter(r)?(r=void 0,g.signoutAndRedirect()):d=setTimeout(g.checkForSessionWarning,6e4)}},setRedirectUrl:function(){u=a||c?p.cartNav.attr("href")+"?sessionExpired":"/?sessionExpired"},signoutAndRedirect:function(){o.logOut({},function(e){!0===e.success?window.location.href=c||l||a?u:"?sessionExpired":console.error("restApi.logOut response: ",e.error)})},openSessionExpiredModal:function(){if("sessionExpired"in s.getQueryStringParameters()){g.openModal();var e=window.location.toString();if(e.indexOf("?")>0){var i=e.substring(0,e.indexOf("?"));window.history.replaceState({},document.title,i)}}}},f={init:function(){g.cacheJQueryElements(),g.setPageType(),g.openSessionExpiredModal(),f.bindEvents(),g.startSessionWarning()},bindEvents:function(){e.$el.window.on("page-visibility-shown",g.checkForSessionWarning),e.$el.window.on("session-extended",g.startSessionWarning),e.$el.window.on("win.sc_load",function(){g.setCartVars(),g.setRedirectUrl()}),e.$el.window.on("cart-count-update",function(){g.setCartVars(),g.checkForSessionWarning()}),e.$el.globalModal.on("click",".session_expired_modal__button",function(e){e.preventDefault(),g.closeModal()})}};i(()=>f.init())}.apply(i,t))||(e.exports=o)}.apply(i,t=[]))||(e.exports=o)},89152:function(e,i,n){var t,o;void 0===(o=function(){"use strict";t=[n(53182),n(41669)],void 0===(o=function(e,i){var n,t,o=function(){document[n]?e.$el.window.trigger("page-visibility-hidden"):e.$el.window.trigger("page-visibility-shown")};i(()=>(void 0!==document.hidden?(n="hidden",t="visibilitychange"):void 0!==document.msHidden?(n="msHidden",t="msvisibilitychange"):void 0!==document.webkitHidden&&(n="webkitHidden",t="webkitvisibilitychange"),void i(document).on(t,o)))}.apply(i,t))||(e.exports=o)}.apply(i,t=[]))||(e.exports=o)}},function(e){var i=function(i){return e(i)};e.O(0,[4121,7547,3057],function(){return i(89152),i(22993)}),e.O()}]);

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.