1!function(){var e,t={245:function(e,t,n){var r={"./zin-accordion_30.entry.js":[718,697]};function o(e){if(!n.o(r,e))return Promise.resolve().then((function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}));var t=r[e],o=t[0];return n.e(t[1]).then((function(){return n(o)}))}o.keys=function(){return Object.keys(r)},o.id=245,e.exports=o},390:function(e,t,n){"use strict";n.r(t)},552:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.trackEvent=void 0;var o=n(431),i="custom_page_view",a="dynamic_click_tracking",c=function(){var e,t=null===(e=document.querySelector("[data-theme]"))||void 0===e?void 0:e.dataset.theme;return{brand:t?o.Brand.getLongName(t):"",platform:"Web",release_version:"AEM-multibrand"}};t.trackEvent=function(e){var t=c();!function(e){switch(e.type){case"CUSTOM_PAGE_VIEW":window.dataLayer.push(r({event:i},e.payload));break;case"DYNAMIC_CLICK_TRACKING":window.dataLayer.push(r({event:a,event_category:"dynamic click tracking",event_action:"click"},e.payload))}}(r(r({},e),{payload:r(r({},t),e.payload)}))},document.addEventListener("click",(function(e){var n,r,o,i,a,c=e.target.closest(["a","button","zin-button","zin-icon-button","zin-nav-item","zin-tab","zin-accordion-item"].join(","));if(c){var s=(null!==(a=null!==(i=null!==(o=null===(r=null===(n=c.childNodes[0])||void 0===n?void 0:n.textContent)||void 0===r?void 0:r.trim())&&void 0!==o?o:null==c?void 0:c.getAttribute("aria-label"))&&void 0!==i?i:null==c?void 0:c.getAttribute("title"))&&void 0!==a?a:"").toLowerCase();(0,t.trackEvent)({type:"DYNAMIC_CLICK_TRACKING",payload:{event_label:s}})}}),!0)},431:function(e,t){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.Brand=t.BrandLongName=t.BrandAbbrev=void 0,t.BrandAbbrev={EBAC:"ebac",SIR:"sir"},t.BrandLongName=((n={})[t.BrandAbbrev.EBAC]="Eddie Bauer Adventure Club",n[t.BrandAbbrev.SIR]="Sports Illustrated Resorts",n),t.Brand={getLongName:function(e){return t.BrandLongName[e]}}},753:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.throttle=void 0,t.throttle=function(e,t){var n=0,r=null;return function(){var o=Date.now(),i=t-(o-n);i<=0?(r&&(clearTimeout(r),r=null),n=o,e()):r||(r=setTimeout((function(){n=Date.now(),r=null,e()}),i))}}},799:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(753);t.default=function(){function e(){var e,t=document.querySelector(".back-to-top"),n=null==t?void 0:t.getAttribute("scrollActivation");n&&(e="single"===n?window.innerHeight:2*window.innerHeight,window.scrollY>e?t.classList.add("fade-in"):t.classList.remove("fade-in"))}var t=(0,r.throttle)(e,100);document.addEventListener("DOMContentLoaded",(function(){var n=document.querySelector(".back-to-top");n&&(document.addEventListener("scroll",t),n.onclick=function(){return window.scrollTo({top:0,behavior:"smooth"})}),window.scrollY>0&&e()}))}()},342:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var o=n(552);t.default=function(e,t){var n;if(t&&t.author){var i=window.location.search.includes("wcmmode=disabled");if("edit"===(null===(n=e.cookie.split("; ").find((function(e){return e.startsWith("wcmmode=")})))||void 0===n?void 0:n.split("=")[1])&&!i)return}var a=!1,c={};function s(){var t=e.querySelector(".account-menu").getAttribute("data-mako-api")||"/mkapi/v1/",n=JSON.parse(sessionStorage.getItem("mkThemeBrand")),r="".concat(window.location.origin).concat(t,"/me?brand=").concat(n);return fetch(r,{method:"GET",headers:{Accept:"*/*","Content-Type":"application/json"},credentials:"include"}).then((function(e){if(!e.ok)throw new Error("Failed to fetch user data: "+e.statusText);return e.json()})).then((function(e){if(e.errorCode)throw new Error(e.errorMessage||e.errorCode);return e})).catch((function(e){throw e}))}function l(t){var n=window.matchMedia("(max-width: 768px)").matches;c=t.user;var r=t.linkGroups,o=t.user,i=o.id,a=o.memberships,s=o.name,l=s.first,u=s.last,d=s.initials,v={fullName:"".concat(l," ").concat(u),id:i,initials:d,memberships:a.map((function(e){var t,n;return{id:e.id,contractLabel:e.contractType||e.level.id,levelLabel:e.level.label||"Member",credits:{balance:"".concat(e.credits.balance.toLocaleStr
1ing()||"Pending"),currency:null===(t=e.credits)||void 0===t?void 0:t.currency,useBy:null===(n=e.credits)||void 0===n?void 0:n.useBy}}}))};return new Promise((function(t,o){try{var i=e.querySelector(".account-menu");if(!i)return void o("Account menu container not found");var a=e.createElement("div");a.className="account-overlay";var c=v.memberships.length>1,s=sessionStorage.getItem("mkMemberNumber"),l=0;if(s){var u=v.memberships.findIndex((function(e){return e.id===s}));-1!==u&&(l=u)}var d=e.createElement("div");d.className="account-header",d.innerHTML='\n <h2 class="subtitle-1">'.concat(v.fullName,'</h2>\n <button type="button" class="account-tier-badge tier caption-1" id="toggle-membership-btn">\n ').concat(v.memberships[l].levelLabel,'\n <zin-icon size="tiny" name="').concat(c?"angle-down":"angle-up",'"></zin-icon>\n </button>\n ').concat(n?'<button\n class="close-button"\n aria-label="Close"\n onclick="document.querySelector(\'.account-overlay\').classList.remove(\'visible\');">\n ×\n </button>':"","\n "),a.appendChild(d);var m=e.createElement("div");if(m.className="owner-selection",m.style.display=c?"none":"block",c){var f=e.createElement("div");f.className="owner-selection-heading",f.innerHTML='<span class="subtitle-3">SELECT OWNER ID</span>',m.appendChild(f)}v.memberships.forEach((function(t,n){var r=e.createElement("div");r.className="owner-option",r.innerHTML='\n <div class="owner-info">\n <span class="body-3">#'.concat(t.id,'</span>\n <span class="body-3">').concat(t.contractLabel,'</span>\n <span class="body-3 owner-info__credits">').concat(t.credits.balance," ").concat(t.credits.currency||"points",'</span>\n <span class="body-3">').concat(t.levelLabel||"Member","</span>\n </div>\n ").concat(c?'\n <zin-radio\n class="body-1"\n name="membership-selection"\n role="radio"\n invert\n '.concat(n===l?"checked":"","\n ></zin-radio>\n "):"","\n "),c&&function(t,n){t.addEventListener("click",(function(t){if("zin-radio"===t.target.localName){var r=e.querySelector(".account-menu").getAttribute("data-mk-acct-sw")||"/mk/account-switch",o=n.id,i=encodeURIComponent(window.location.pathname+window.location.search+window.location.hash);window.location.href="".concat(r,"?memberNumber=").concat(o,"&redirectUri=").concat(i)}}))}(r,t),m.appendChild(r)})),a.appendChild(m),setTimeout((function(){return t=m,void((n=e.getElementById("toggle-membership-btn"))&&n.addEventListener("click",(function(){var e="none"!==t.style.display;t.style.display=e?"none":"block",n.classList.toggle("expanded",!e);var r=n.querySelector("zin-icon");r&&r.setAttribute("name",e?"angle-down":"angle-up")})));var t,n}),0);var p=e.createElement("div");p.className="credit-summary";var b=v.memberships[l],h=e.createElement("div");h.className="credit-bubble",h.innerHTML='\n <div class="user-avatar subtitle-3">'.concat(v.initials,'</div>\n <div class="credit-info">\n <strong class="subtitle-2 credit-info__currency">\n ').concat(b.credits.balance.toLocaleString()||"Pending"," ").concat(b.credits.currency||"pts","\n </strong>\n ").concat(b.credits.useBy?'<div class="credit-expiry body-2">Use by '.concat(b.credits.useBy,"</div>"):"","\n </div>"),i.innerHTML=n?'<div class="user-avatar">'.concat(v.initials,"</div>"):"",p.appendChild(h),n?a.appendChild(p):i.appendChild(p);var y=e.createElement("div");y.className="nav-links",r.forEach((function(t){t.links.forEach((function(t){var n=e.createElement("a");
1n.className="link",n.href=t.url,n.innerHTML="\n ".concat(t.icon?'<zin-icon class="icon" name="'.concat(t.icon.name,'"></zin-icon>'):"",'\n <span class="body-1 body-1--semibold">').concat(t.label,"</span>"),y.appendChild(n)}))})),a.appendChild(y),i.appendChild(a),t()}catch(e){o(e)}}))}e.addEventListener("DOMContentLoaded",(function(){var t=e.querySelector(".header__account");if(t){var n=e.querySelector(".credit-summary"),i=e.querySelector(".nav-item__sign-in"),u=e.querySelector(".account-overlay"),d=e.getElementById("sign-in-link"),v=e.getElementById("sign-out-link"),m=e.querySelector(".user-icon"),f=e.querySelector(".nav-item__actions");s().then((function(n){p(),l(n).then((function(){var n=e.querySelector(".nav-item__actions"),r=e.querySelector(".account-overlay"),o=e.querySelector(".credit-summary"),i=e.querySelector(".user-avatar"),a=window.matchMedia("(max-width: 1023px)").matches;sessionStorage.getItem("loggedin")&&(n&&(n.style.display="none"),o&&(o.style.display="block")),o&&!a?o.addEventListener("click",(function(){r&&r.classList.toggle("visible")})):i.addEventListener("click",(function(){r&&r.classList.toggle("visible")})),e.addEventListener("click",(function(e){(null==r?void 0:r.classList.contains("visible"))&&!t.contains(e.target)&&r.classList.remove("visible")}))})),v.addEventListener("click",(function(){sessionStorage.setItem("loggedin","false"),p()})),d.addEventListener("click",(function(){sessionStorage.setItem("loggedin","true"),p(),s()})),i.addEventListener("click",(function(){sessionStorage.setItem("loggedin","true"),p(),s()}))})).catch((function(){a=!0,p()})).finally((function(){!function(){var t,n,i,a=(null!==(t=c.memberships)&&void 0!==t?t:[])[0],s=null!=a?a:{},l=s.contractId,u=s.currentUseYear,d=s.endUseYear,v=s.homeResort,m=s.housekeepingCredits,f=s.tenure,p=s.id,b=s.contractType,h=s.pointsOwned,y=s.level,g=void 0===y?{id:"",label:""}:y,w=g.id,_=g.label,k=s.credits,L=(void 0===k?{balance:0}:k).balance;(0,o.trackEvent)({type:"CUSTOM_PAGE_VIEW",payload:r({custom_page_name:null!==(i=null===(n=e.title)||void 0===n?void 0:n.trim())&&void 0!==i?i:""},a&&{contract_id:l,current_use_year:u,end_use_year:d,home_resort:v,house_keeping_credits:m,membership_tenure:f,membership_number:p,membership_type:null!=b?b:w,membership_tier:_,party_id:c.id,points_available:String(L),points_owned:h})})}()}))}function p(){a?(i&&i.classList.add("visible"),v&&v.classList.add("hidden"),i&&(i.style.display="flex"),n&&n.classList.remove("visible"),m&&m.classList.remove("visible"),u&&u.classList.remove("visible"),f&&f.classList.toggle("visible")):(n&&n.classList.toggle("visible"),i&&(i.classList.remove("visible"),i.style.display="none"),v&&v.classList.remove("hidden"),m&&m.classList.toggle("visible"),f&&(f.style.display="none"))}}))}(document,window.Granite)},528:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=document.documentElement.classList.contains("promo-header"),t=document.querySelector("header"),n=document.querySelector("zin-nav");function r(){window.scrollY>0?e&&(t.style.setProperty("--header-background","var(--header-background-default)"),t.style.setProperty("--header-text-color","var(--header-text-color-default)"),t.style.setProperty("--header-nav-item-underline-border-color-active","var(--header-text-color-default)"),null==n||n.removeAttribute("transparent"),t.querySelectorAll(".logo zin-image[data-promo-logo-url]").forEach((function(e){var t=e.getAttribute("src"),n=e.getAttribute("data-logo-url");n&&n!==t&&e.setAttribute("src",n)}))):e&&(t.style.removeProperty("--header-background"),t.style.removeProperty("--header-text-color"),t.style.removeProperty("--header-nav-item-underline-border-color-active"),null==n||n.setAttribute("transparent",""),t.querySelectorAll(".logo zin-image[data-promo-logo-url]").forEach((function(e){var t=e.getAttribute("src"),n=e.getAttribute("data-promo-logo-url");n&&n!==t&&e.setAttribute("src",n)})))}var o,i,a,c,s=(o=r,i=100,a=0,c=null,function(){var e=Date.now(),t=i-(e-a);t<=0?(c&&(clearTimeout(c),c=null),a=e,o()):c||(c=setTimeout((function(){a=Date.now(),c=null,o()}),t))});document.addEventListener("DOMContentLoaded",(function(){window.addEventListener("scroll",s),window.scrollY>0&&r()}))}()},834:function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Prom
1ise))((function(o,i){function a(e){try{s(r.next(e))}catch(e){i(e)}}function c(e){try{s(r.throw(e))}catch(e){i(e)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,c)}s((r=r.apply(e,t||[])).next())}))},o=this&&this.__generator||function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function c(i){return function(c){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,c])}}};Object.defineProperty(t,"__esModule",{value:!0}),n(390),n(40),n(552),n(799),n(342),n(528);var i=function(){return r(void 0,void 0,void 0,(function(){var e,t,n,r,i,a;return o(this,(function(o){switch(o.label){case 0:return o.trys.push([0,5,,6]),c="/bin/services/common/oauthv2",e="localhost"===window.location.hostname?"http://localhost:".concat(4502).concat(c):c,[4,fetch(e,{method:"GET",headers:{"Content-Type":"application/json"}})];case 1:return t=o.sent(),a={status:t.status},t.ok?[4,t.json()]:[3,3];case 2:return r=o.sent(),[3,4];case 3:r=null,o.label=4;case 4:return a.data=r,n=a,t.ok||console.error("Failed to call servlet. Status:",n.status),[2,n];case 5:return i=o.sent(),console.error("Error calling AEM servlet:",i),[2,{status:500,data:null}];case 6:return[2]}var c}))}))};window.getAccessToken=function(){return r(void 0,void 0,void 0,(function(){var e,t,n,r;return o(this,(function(o){switch(o.label){case 0:return a="authTokenObject",c=sessionStorage.getItem(a),e=null!==c?JSON.parse(c):null,6e4,!e||Date.now()>=parseInt((null==e?void 0:e.expiration)||"0",10)-6e4?[4,i()]:[3,2];case 1:if(200===(t=o.sent()).status&&t.data)return n=t.data,r=parseInt(n.issued_at||"0",10)+1e3*parseInt(n.expires_in||"0",10),n.expiration=String(r),sessionStorage.setItem("authTokenObject",JSON.stringify(n)),[2,Promise.resolve(n||null)];o.label=2;case 2:return[2,Promise.resolve(e||null)]}var a,c}))}))}}},n={};function r(e){var o=n[e];if(void 0!==o)return o.exports;var i=n[e]={exports:{}};return t[e].call(i.exports,i,i.exports,r),i.exports}r.m=t,e=[],r.O=function(t,n,o,i){if(!n){var a=1/0;for(u=0;u<e.length;u++){n=e[u][0],o=e[u][1],i=e[u][2];for(var c=!0,s=0;s<n.length;s++)(!1&i||a>=i)&&Object.keys(r.O).every((function(e){return r.O[e](n[s])}))?n.splice(s--,1):(c=!1,i<a&&(a=i));if(c){e.splice(u--,1);var l=o();void 0!==l&&(t=l)}}return t}i=i||0;for(var u=e.length;u>0&&e[u-1][2]>i;u--)e[u]=e[u-1];e[u]=[n,o,i]},r.d=function(e,t){for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.e=function(){return Promise.resolve()},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},function(){var e={641:0};r.O.j=function(t){return 0===e[t]};var t=function(t,n){var o,i,a=n[0],c=n[1],s=n[2],l=0;if(a.some((function(t){return 0!==e[t]}))){for(o in c)r.o(c,o)&&(r.m[o]=c[o]);if(s)var u=s(r)}for(t&&t(n);l<a.length;l++)i=a[l],r.o(e,i)&&e[i]&&e[i][0](),e[i]=0;return r.O(u)},n=self.webpackChunkaem_maven_archetype=self.webpackChunkaem_maven_archetype||[];
1n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))}();var o=r.O(void 0,[697],(function(){return r(834)}));o=r.O(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.