PageSourceSearch

https://www.awaytravel.com/cdn/shop/t/1495/assets/-global.js?v=64912883550488196311790874783

js awaytravel.com collected 2026-10-02 02:18:51 UTC 19,910 bytes, 1 lines download raw bytes

1(function(){if(typeof document>"u"||"adoptedStyleSheets"in document)return;var x="ShadyCSS"in window&&!ShadyCSS.nativeShadow,y=document.implementation.createHTMLDocument(""),O=new WeakMap,T=typeof DOMException=="object"?Error:DOMException,h=Object.defineProperty,B=Array.prototype.forEach,ie=/@import.+?;?$/gm;function U(a){var r=a.replace(ie,"");return r!==a&&console.warn("@import rules are not allowed here. See https://github.com/WICG/construct-stylesheets/issues/119#issuecomment-588352418"),r.trim()}function w(a){return"isConnected"in a?a.isConnected:document.contains(a)}function ee(a){return a.filter(function(r,l){return a.indexOf(r)===l})}function H(a,r){return a.filter(function(l){return r.indexOf(l)===-1})}function te(a){a.parentNode.removeChild(a)}function K(a){return a.shadowRoot||O.get(a)}var ne=["addRule","deleteRule","insertRule","removeRule"],ae=CSSStyleSheet,S=ae.prototype;S.replace=function(){return Promise.reject(new T("Can't call replace on non-constructed CSSStyleSheets."))},S.replaceSync=function(){throw new T("Failed to execute 'replaceSync' on 'CSSStyleSheet': Can't call replaceSync on non-constructed CSSStyleSheets.")};function V(a){return typeof a=="object"?k.isPrototypeOf(a)||S.isPrototypeOf(a):!1}function se(a){return typeof a=="object"?S.isPrototypeOf(a):!1}var b=new WeakMap,M=new WeakMap,R=new WeakMap,C=new WeakMap;function G(a,r){var l=document.createElement("style");return R.get(a).set(r,l),M.get(a).push(r),l}function L(a,r){return R.get(a).get(r)}function le(a,r){R.get(a).delete(r),M.set(a,M.get(a).filter(function(l){return l!==r}))}function $(a,r){requestAnimationFrame(function(){r.textContent=b.get(a).textContent,C.get(a).forEach(function(l){return r.sheet[l.method].apply(r.sheet,l.args)})})}function g(a){if(!b.has(a))throw new TypeError("Illegal invocation")}function P(){var a=this,r=document.createElement("style");y.body.appendChild(r),b.set(a,r),M.set(a,[]),R.set(a,new WeakMap),C.set(a,[])}var k=P.prototype;k.replace=function(r){try{return this.replaceSync(r),Promise.resolve(this)}catch(l){return Promise.reject(l)}},k.replaceSync=function(r){if(g(this),typeof r=="string"){var l=this;b.get(l).textContent=U(r),C.set(l,[]),M.get(l).forEach(function(u){u.isConnected()&&$(l,L(l,u))})}},h(k,"cssRules",{configurable:!0,enumerable:!0,get:function(){return g(this),b.get(this).sheet.cssRules}}),h(k,"media",{configurable:!0,enumerable:!0,get:function(){return g(this),b.get(this).sheet.media}}),ne.forEach(function(a){k[a]=function(){var r=this;g(r);var l=arguments;C.get(r).push({method:a,args:l}),M.get(r).forEach(function(m){if(m.isConnected()){var d=L(r,m).sheet;d[a].apply(d,l)}});var u=b.get(r).sheet;return u[a].apply(u,l)}}),h(P,Symbol.hasInstance,{configurable:!0,value:V});var J={childList:!0,subtree:!0},oe=new WeakMap;function F(a){var r=oe.get(a);return r||(r=new X(a),oe.set(a,r)),r}function W(a){h(a.prototype,"adoptedStyleSheets",{configurable:!0,enumerable:!0,get:function(){return F(this).sheets},set:function(r){F(this).update(r)}})}function Q(a,r){for(var l=document.createNodeIterator(a,NodeFilter.SHOW_ELEMENT,function(m){return K(m)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT},null,!1),u=void 0;u=l.nextNode();)r(K(u))}var _=new WeakMap,N=new WeakMap,j=new WeakMap;function re(a,r){return r instanceof HTMLStyleElement&&N.get(a).some(function(l){return L(l,a)})}function D(a){var r=_.get(a);return r instanceof Document?r.body:r}function v(a){var r=document.createDocumentFragment(),l=N.get(a),u=j.get(a),m=D(a);u.disconnect(),l.forEach(function(d){r.appendChild(L(d,a)||G(d,a))}),m.insertBefore(r,null),u.observe(m,J),l.forEach(function(d){$(d,L(d,a))})}function X(a){var r=this;r.sheets=[],_.set(r,a),N.set(r,[]),j.set(r,new MutationObserver(function(l,u){if(!document){u.disconnect();return}l.forEach(function(m){x||B.call(m.addedNodes,function(d){d instanceof Element&&Q(d,function(I){F(I).connect()})}),B.call(m.removedNodes,function(d){d instanceof Element&&(re(r,d)&&v(r),x||Q(d,function(I){F(I).disconnect()}))})})}))}if(X.prototype={isConnected:function(){var a=_.get(this);return a instanceof Document?a.readyState!=="loading":w(a.host)},connect:function(){var a=D(this);j.get(this).observe(a,J),N.get(this).length>0&&v(this),Q(a,function(r){F(r).connect()})},disconnect:function(){j.get(this).disconnect()},update:function(a){var r=this,l=_.get(r)===document?"Document":"ShadowRoot";if(!Array.isArray(a))throw new TypeError("Failed to set the 'adoptedStyleSheets' property on "+l+": Iterator getter is not callable.");if(!a.every(V))throw new TypeError("Failed to set the 'adoptedStyleSheets' property on "+l+": Failed to convert value to 'CSSStyleSheet'");if(a.some(se))throw new TypeError("Failed to set the 'adoptedStyleSheets' property on "+l+": Can't adopt non-constructed stylesheets");r.sheets=a;var u=N.get(r),m=ee(a),d=H(u,m);d.forEach(function(I){te(L(I,r)),le(I,r)}),N.set(r,m),r.isConnected()&&m.length>0&&v(r)}},window.CSSStyleSheet=P,W(Document),"ShadowRoot"in window){W(ShadowRoot);var Y=Element.prototype,q=Y.attachShadow;Y.attachShadow=function(r){var l=q.call(this,r);return r.mode==="closed"&&O.set(this,l),l}}var z=F(document);z.isConnected()?z.connect():document.addEventListener("DOMContentLoaded",z.connect.bind(z))})();(function(){(function(x){const y=new WeakMap,O=new WeakMap,T=new WeakMap,h=new WeakMap,B=new WeakMap,ie=new WeakMap,U=new WeakMap,w=new WeakMap,ee=new WeakMap,H=new WeakMap,te=new WeakMap,K=new WeakMap,ne=new WeakMap,ae=new WeakMap,S=new WeakMap,V={ariaAtomic:"aria-atomic",ariaAutoComplete:"aria-autocomplete",ariaBusy:"aria-busy",ariaChecked:"aria-checked",ariaColCount:"aria-colcount",ariaColIndex:"aria-colindex",ariaColIndexText:"aria-colindextext",ariaColSpan:"aria-colspan",ariaCurrent:"aria-current",ariaDescription:"aria-description",ariaDisabled:"aria-disabled",ariaExpanded:"aria-expanded",ariaHasPopup:"aria-haspopup",ariaHidden:"aria-hidden",ariaInvalid:"aria-invalid",ariaKeyShortcuts:"aria-keyshortcuts",ariaLabel:"aria-label",ariaLevel:"aria-level",ariaLive:"aria-live",ariaModal:"aria-modal",ariaMultiLine:"aria-multiline",ariaMultiSelectable:"aria-multiselectable",ariaOrientation:"aria-orientation",ariaPlaceholder:"aria-placeholder",ariaPosInSet:"aria-posinset",ariaPressed:"aria-pressed",ariaReadOnly:"aria-readonly",ariaRelevant:"aria-relevant",ariaRequired:"aria-required",ariaRoleDescription:"aria-roledescription",ariaRowCount:"aria-rowcount",ariaRowIndex:"aria-rowindex",ariaRowIndexText:"aria-rowindextext",ariaRowSpan:"aria-rowspan",ariaSelected:"aria-selected",ariaSetSize:"aria-setsize",ariaSort:"aria-sort",ariaValueMax:"aria-valuemax",ariaValueMin:"aria-valuemin",ariaValueNow:"aria-valuenow",ariaValueText:"aria-valuetext",role:"role"},se=(t,e)=>{for(let n in V){e[n]=null;let o=null;const i=V[n];Object.defineProperty(e,n,{get(){return o},set(c){o=c,t.isConnected?g(t,i,c):H.set(t,e)}})}};function b(t){const e=h.get(t),{form:n}=e;re(t,n,e),F(t,e.labels)}const M=(t,e=!1)=>{const n=document.createTreeWalker(t,NodeFilter.SHOW_ELEMENT,{acceptNode(c){return h.has(c)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});let o=n.nextNode();const i=!e||t.disabled;for(;o;)o.formDisabledCallback&&i&&P(o,t.disabled),o=n.nextNode()},R={attributes:!0,attributeFilter:["disabled","name"]},C=q()?new MutationObserver(t=>{for(const e of t){const n=e.target;if(e.attributeName==="disabled"&&(n.constructor.formAssociated?P(n,n.hasAttribute("disabled")):n.localName==="fieldset"&&M(n)),e.attributeName==="name"&&n.constructor.formAssociated){const o=h.get(n),i=ee.get(n);o.setFormValue(i)}}}):{};
1function G(t){t.forEach(e=>{const{addedNodes:n,removedNodes:o}=e,i=Array.from(n),c=Array.from(o);i.forEach(s=>{var p;if(h.has(s)&&s.constructor.formAssociated&&b(s),H.has(s)){const f=H.get(s);Object.keys(V).filter(E=>f[E]!==null).forEach(E=>{g(s,V[E],f[E])}),H.delete(s)}if(S.has(s)){const f=S.get(s);g(s,"internals-valid",f.validity.valid.toString()),g(s,"internals-invalid",(!f.validity.valid).toString()),g(s,"aria-invalid",(!f.validity.valid).toString()),S.delete(s)}if(s.localName==="form"){const f=w.get(s),A=document.createTreeWalker(s,NodeFilter.SHOW_ELEMENT,{acceptNode(de){return h.has(de)&&de.constructor.formAssociated&&!(f&&f.has(de))?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});let E=A.nextNode();for(;E;)b(E),E=A.nextNode()}s.localName==="fieldset"&&((p=C.observe)===null||p===void 0||p.call(C,s,R),M(s,!0))}),c.forEach(s=>{const p=h.get(s);p&&T.get(p)&&k(p),U.has(s)&&U.get(s).disconnect()})})}function L(t){t.forEach(e=>{const{removedNodes:n}=e;n.forEach(o=>{const i=ne.get(e.target);h.has(o)&&Y(o),i.disconnect()})})}const le=t=>{var e,n;const o=new MutationObserver(L);!((e=window==null?void 0:window.ShadyDOM)===null||e===void 0)&&e.inUse&&t.mode&&t.host&&(t=t.host),(n=o.observe)===null||n===void 0||n.call(o,t,{childList:!0}),ne.set(t,o)};q()&&new MutationObserver(G);const $={childList:!0,subtree:!0},g=(t,e,n)=>{t.getAttribute(e)!==n&&t.setAttribute(e,n)},P=(t,e)=>{t.toggleAttribute("internals-disabled",e),e?g(t,"aria-disabled","true"):t.removeAttribute("aria-disabled"),t.formDisabledCallback&&t.formDisabledCallback.apply(t,[e])},k=t=>{T.get(t).forEach(n=>{n.remove()}),T.set(t,[])},J=(t,e)=>{const n=document.createElement("input");return n.type="hidden",n.name=t.getAttribute("name"),t.after(n),T.get(e).push(n),n},oe=(t,e)=>{var n;T.set(e,[]),(n=C.observe)===null||n===void 0||n.call(C,t,R)},F=(t,e)=>{if(e.length){Array.from(e).forEach(o=>o.addEventListener("click",t.click.bind(t)));let n=e[0].id;e[0].id||(n=`${e[0].htmlFor}_Label`,e[0].id=n),g(t,"aria-labelledby",n)}},W=t=>{const e=Array.from(t.elements).filter(c=>!c.tagName.includes("-")&&c.validity).map(c=>c.validity.valid),n=w.get(t)||[],o=Array.from(n).filter(c=>c.isConnected).map(c=>h.get(c).validity.valid),i=[...e,...o].includes(!1);t.toggleAttribute("internals-invalid",i),t.toggleAttribute("internals-valid",!i)},Q=t=>{W(D(t.target))},_=t=>{W(D(t.target))},N=t=>{const e=["button[type=submit]","input[type=submit]","button:not([type])"].map(n=>`${n}:not([disabled])`).map(n=>`${n}:not([form])${t.id?`,${n}[form='${t.id}']`:""}`).join(",");t.addEventListener("click",n=>{if(n.target.closest(e)){const i=w.get(t);if(t.noValidate)return;i.size&&Array.from(i).reverse().map(p=>h.get(p).reportValidity()).includes(!1)&&n.preventDefault()}})},j=t=>{const e=w.get(t.target);e&&e.size&&e.forEach(n=>{n.constructor.formAssociated&&n.formResetCallback&&n.formResetCallback.apply(n)})},re=(t,e,n)=>{if(e){const o=w.get(e);if(o)o.add(t);else{const i=new Set;i.add(t),w.set(e,i),N(e),e.addEventListener("reset",j),e.addEventListener("input",Q),e.addEventListener("change",_)}ie.set(e,{ref:t,internals:n}),t.constructor.formAssociated&&t.formAssociatedCallback&&setTimeout(()=>{t.formAssociatedCallback.apply(t,[e])},0),W(e)}},D=t=>{let e=t.parentNode;return e&&e.tagName!=="FORM"&&(e=D(e)),e},v=(t,e,n=DOMException)=>{if(!t.constructor.formAssociated)throw new n(e)},X=(t,e,n)=>{const o=w.get(t);return o&&o.size&&o.forEach(i=>{h.get(i)[n]()||(e=!1)}),e},Y=t=>{if(t.constructor.formAssociated){const e=h.get(t),{labels:n,form:o}=e;F(t,n),re(t,o,e)}};function q(){return typeof MutationObserver<"u"}class z{constructor(){this.badInput=!1,this.customError=!1,this.patternMismatch=!1,this.rangeOverflow=!1,this.rangeUnderflow=!1,this.stepMismatch=!1,this.tooLong=!1,this.tooShort=!1,this.typeMismatch=!1,this.valid=!0,this.valueMissing=!1,Object.seal(this)}}const a=t=>(t.badInput=!1,t.customError=!1,t.patternMismatch=!1,t.rangeOverflow=!1,t.rangeUnderflow=!1,t.stepMismatch=!1,t.tooLong=!1,t.tooShort=!1,t.typeMismatch=!1,t.valid=!0,t.valueMissing=!1,t),r=(t,e,n)=>(t.valid=l(e),Object.keys(e).forEach(o=>t[o]=e[o]),n&&W(n),t),l=t=>{let e=!0;for(let n in t)n!=="valid"&&t[n]!==!1&&(e=!1);return e},u=new WeakMap;function m(t,e){t.toggleAttribute(e,!0),t.part&&t.part.add(e)}class d extends Set{static get isPolyfilled(){return!0}constructor(e){if(super(),!e||!e.tagName||e.tagName.indexOf("-")===-1)throw new TypeError("Illegal constructor");u.set(this,e)}add(e){if(!/^--/.test(e)||typeof e!="string")throw new DOMException(`Failed to execute 'add' on 'CustomStateSet': The specified value ${e} must start with '--'.`);const n=super.add(e),o=u.get(this),i=`state${e}`;return o.isConnected?m(o,i):setTimeout(()=>{m(o,i)}),n}clear(){for(let[e]of this.entries())this.delete(e);super.clear()}delete(e){const n=super.delete(e),o=u.get(this);return o.isConnected?(o.toggleAttribute(`state${e}`,!1),o.part&&o.part.remove(`state${e}`)):setTimeout(()=>{o.toggleAttribute(`state${e}`,!1),o.part&&o.part.remove(`state${e}`)}),n}}function I(t,e,n,o){if(typeof e=="function"?t!==e||!0:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return n==="m"?o:n==="a"?o.call(t):o?o.value:e.get(t)}function pe(t,e,n,o,i){if(typeof e=="function"?t!==e||!0:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return e.set(t,n),n}var Z;class ye{constructor(e){Z.set(this,void 0),pe(this,Z,e);for(let n=0;n<e.length;n++){let o=e[n];this[n]=o,o.hasAttribute("name")&&(this[o.getAttribute("name")]=o)}Object.freeze(this)}get length(){return I(this,Z,"f").length}[(Z=new WeakMap,Symbol.iterator)](){return I(this,Z,"f")[Symbol.iterator]()}item(e){return this[e]==null?null:this[e]}namedItem(e){return this[e]==null?null:this[e]}}function ge(){const t=HTMLFormElement.prototype.checkValidity;HTMLFormElement.prototype.checkValidity=n;const e=HTMLFormElement.prototype.reportValidity;HTMLFormElement.prototype.reportValidity=o;function n(...c){let s=t.apply(this,c);return X(this,s,"checkValidity")}function o(...c){let s=e.apply(this,c);return X(this,s,"reportValidity")}const{get:i}=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get(...c){const s=i.
1call(this,...c),p=Array.from(w.get(this)||[]);if(p.length===0)return s;const f=Array.from(s).concat(p).sort((A,E)=>A.compareDocumentPosition?A.compareDocumentPosition(E)&2?1:-1:0);return new ye(f)}})}class ue{static get isPolyfilled(){return!0}constructor(e){if(!e||!e.tagName||e.tagName.indexOf("-")===-1)throw new TypeError("Illegal constructor");const n=e.getRootNode(),o=new z;this.states=new d(e),y.set(this,e),O.set(this,o),h.set(e,this),se(e,this),oe(e,this),Object.seal(this),n instanceof DocumentFragment&&le(n)}checkValidity(){const e=y.get(this);if(v(e,"Failed to execute 'checkValidity' on 'ElementInternals': The target element is not a form-associated custom element."),!this.willValidate)return!0;const n=O.get(this);if(!n.valid){const o=new Event("invalid",{bubbles:!1,cancelable:!0,composed:!1});e.dispatchEvent(o)}return n.valid}get form(){const e=y.get(this);v(e,"Failed to read the 'form' property from 'ElementInternals': The target element is not a form-associated custom element.");let n;return e.constructor.formAssociated===!0&&(n=D(e)),n}get labels(){const e=y.get(this);v(e,"Failed to read the 'labels' property from 'ElementInternals': The target element is not a form-associated custom element.");const n=e.getAttribute("id"),o=e.getRootNode();return o&&n?o.querySelectorAll(`[for="${n}"]`):[]}reportValidity(){const e=y.get(this);if(v(e,"Failed to execute 'reportValidity' on 'ElementInternals': The target element is not a form-associated custom element."),!this.willValidate)return!0;const n=this.checkValidity(),o=K.get(this);if(o&&!e.constructor.formAssociated)throw new DOMException("Failed to execute 'reportValidity' on 'ElementInternals': The target element is not a form-associated custom element.");return!n&&o&&(e.focus(),o.focus()),n}setFormValue(e){const n=y.get(this);if(v(n,"Failed to execute 'setFormValue' on 'ElementInternals': The target element is not a form-associated custom element."),k(this),e!=null&&!(e instanceof FormData)){if(n.getAttribute("name")){const o=J(n,this);o.value=e}}else e!=null&&e instanceof FormData&&Array.from(e).reverse().forEach(([o,i])=>{if(typeof i=="string"){const c=J(n,this);c.name=o,c.value=i}});ee.set(n,e)}setValidity(e,n,o){const i=y.get(this);if(v(i,"Failed to execute 'setValidity' on 'ElementInternals': The target element is not a form-associated custom element."),!e)throw new TypeError("Failed to execute 'setValidity' on 'ElementInternals': 1 argument required, but only 0 present.");K.set(this,o);const c=O.get(this),s={};for(const A in e)s[A]=e[A];Object.keys(s).length===0&&a(c);const p=Object.assign(Object.assign({},c),s);delete p.valid;const{valid:f}=r(c,p,this.form);if(!f&&!n)throw new DOMException("Failed to execute 'setValidity' on 'ElementInternals': The second argument should not be empty if one or more flags in the first argument are true.");B.set(this,f?"":n),i.isConnected?(i.toggleAttribute("internals-invalid",!f),i.toggleAttribute("internals-valid",f),g(i,"aria-invalid",`${!f}`)):S.set(i,this)}get shadowRoot(){const e=y.get(this),n=te.get(e);return n||null}get validationMessage(){const e=y.get(this);return v(e,"Failed to read the 'validationMessage' property from 'ElementInternals': The target element is not a form-associated custom element."),B.get(this)}get validity(){const e=y.get(this);return v(e,"Failed to read the 'validity' property from 'ElementInternals': The target element is not a form-associated custom element."),O.get(this)}get willValidate(){const e=y.get(this);return v(e,"Failed to read the 'willValidate' property from 'ElementInternals': The target element is not a form-associated custom element."),!(e.disabled||e.hasAttribute("disabled")||e.hasAttribute("readonly"))}}function ve(){if(typeof window>"u"||!window.ElementInternals||!HTMLElement.prototype.attachInternals)return!1;class t extends HTMLElement{constructor(){super(),this.internals=this.attachInternals()}}const e=`element-internals-feature-detection-${Math.random().toString(36).replace(/[^a-z]+/g,"")}`;customElements.define(e,t);const n=new t;return["shadowRoot","form","willValidate","validity","validationMessage","labels","setFormValue","setValidity","checkValidity","reportValidity"].every(o=>o in n.internals)}let fe=!1,he=!1;function ce(t){he||(he=!0,window.CustomStateSet=d,t&&(HTMLElement.prototype.attachInternals=function(...e){const n=t.call(this,e);return n.states=new d(this),n}))}function me(t=!0){if(!fe){if(fe=!0,typeof window<"u"&&(window.ElementInternals=ue),typeof CustomElementRegistry<"u"){const n=CustomElementRegistry.prototype.define;CustomElementRegistry.prototype.define=function(o,i,c){if(i.formAssociated){const s=i.prototype.connectedCallback;i.prototype.connectedCallback=function(){ae.has(this)||(ae.set(this,!0),this.hasAttribute("disabled")&&P(this,!0)),s!=null&&s.apply(this),Y(this)}}n.call(this,o,i,c)}}if(typeof HTMLElement<"u"&&(HTMLElement.prototype.attachInternals=function(){if(this.tagName){if(this.tagName.indexOf("-")===-1)throw new Error("Failed to execute 'attachInternals' on 'HTMLElement': Unable to attach ElementInternals to non-cu
1stom elements.")}else return{};if(h.has(this))throw new DOMException("DOMException: Failed to execute 'attachInternals' on 'HTMLElement': ElementInternals for the specified element was already attached.");return new ue(this)}),typeof Element<"u"){let n=function(...i){const c=o.apply(this,i);if(te.set(this,c),q()){const s=new MutationObserver(G);window.ShadyDOM?s.observe(this,$):s.observe(c,$),U.set(this,s)}return c};var e=n;const o=Element.prototype.attachShadow;Element.prototype.attachShadow=n}q()&&typeof document<"u"&&new MutationObserver(G).observe(document.documentElement,$),typeof HTMLFormElement<"u"&&ge(),(t||typeof window<"u"&&!window.CustomStateSet)&&ce()}}return!!customElements.polyfillWrapFlushCallback||(ve()?typeof window<"u"&&!window.CustomStateSet&&ce(HTMLElement.prototype.attachInternals):me(!1)),x.forceCustomStateSetPolyfill=ce,x.forceElementInternalsPolyfill=me,Object.defineProperty(x,"__esModule",{value:!0}),x})({})})();

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.