PageSourceSearch

https://www.reef.com/cdn/shop/t/1353/assets/footer.min.js?v=105669433501813304551788967998

js reef.com collected 2026-10-02 11:39:44 UTC 6,423 bytes, 1 lines download raw bytes

1(()=>{function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e(t)}function t(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function n(t,n){for(var r=0;r<n.length;r++){var o=n[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,(i=o.key,u=void 0,u=function(t,n){if("object"!==e(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var o=r.call(t,n||"default");if("object"!==e(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(t)}(i,"string"),"symbol"===e(u)?u:String(u)),o)}var i,u}function r(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&f(e,t)}function i(e){var t=s();return function(){var n,r=d(e);if(t){var o=d(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return u(this,n)}}function u(t,n){if(n&&("object"===e(n)||"function"==typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return c(t)}function c(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function a(e){var t="function"==typeof Map?new Map:void 0;return a=function(e){if(null===e||!function(e){try{return-1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}}(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return l(e,arguments,d(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),f(n,e)},a(e)}function l(e,t,n){return l=s()?Reflect.construct.bind():function(e,t,n){var r=[null];r.push.apply(r,t);var o=new(Function.bind.apply(e,r));return n&&f(o,n.prototype),o},l.apply(null,arguments)}function s(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function f(e,t){return f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},f(e,t)}function d(e){return d=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},d(e)}customElements.get("localization-form")||customElements.define("localization-form",function(e){o(u,e);var n=i(u);function u(){var e,r,o,i;return t(this,u),(i=n.call(this)).elements={input:i.querySelector('input[name="locale_code"], input[name="country_code"]'),button:i.querySelector("button"),panel:i.querySelector(".disclosure__list-wrapper")},null===(e=i.elements.button)||void 0===e||e.addEventListener("click",i.openSelector.bind(c(i))),null===(r=i.elements.button)||void 0===r||r.addEventListener("focusout",i.closeSelector.bind(c(i))),null===(o=c(i))||void 0===o||o.addEventListener("keyup",i.onContainerKeyUp.bind(c(i))),i.querySelectorAll("a").forEach((function(e){return null==e?void 0:e.addEventListener("click",i.onItemClick.bind(c(i)))})),i}return r(u,[{key:"hidePanel",value:function(){this.elements.button.setAttribute("aria-expanded","false"),this.elements.panel.setAttribute("hidden",!0)}},{key:"onContainerKeyUp",value:function(e){"ESCAPE"===e.code.toUpperCase()&&"false"!=this.elements.button.getAttribute("aria-expanded")&&(this.hidePanel(),e.stopPropagation(),this.elements.button.focus())}},{key:"onItemClick",value:function(e){e.preventDefault();var t=this.querySelector("form");this.elements.input.value=e.currentTarget.dataset.value,t&&t.submit()}},{key:"openSelector",value:function(){this.elements.button.focus(),this.elements.panel.toggleAttribute("hidden"),this.elements.button.setAttribute("aria-expanded",("false"===this.elements.button.getAttribute("aria-expanded")).toString())}},{key:"closeSelector",value:function(e){var t=this.elements.panel.contains(e.relatedTarget)||this.elements.button.contains(e.relatedTarget);e.relatedTarget&&t||this.hidePanel()}}]),u}(a(HTMLElement))),customElements.get("weather-forecast")||customElements.define("weather-forecast",function(e){o(c,e);var n=i(c);function c(){var e;t(this,c),e=n.call(this);var r=document.querySelector("[data-weather]").innerHTML;return!r.length>0?u(e):(r=JSON.parse(document.querySelector("[data-weather]").innerHTML),Object.keys(r).forEach((function(t){var n=r[t],o=parseInt(n.offset.replace("UTC","")),i=(new Date).getUTCHours(),u=(new Date).getUTCMinutes(),c=i+o;c>23?(c-=24)<10&&(c="0"+c):c<0&&(c=24+c)<10&&(c="0"+c),u<10&&(u="0"+u),e.querySelector("[data-weather-display]").innerHTML+='<li class="footer__weather-col">\n              <div class="footer__weather-current">\n                <strong class="footer__weather-rating">'.concat(n.temp,'<sup>°</sup></strong>\n                <small class="footer__weather-minutes p-4">').concat(c,":").concat(u,'</small>\n              </div>\n              <div class="footer__weather-location">\n                ').concat(n.location,"\n              </div>\n            </li>")})),e)}return r(c)}(a(HTMLElement))),document.addEventListener("DOMContentLoaded",(function(){var e=function(){for(var e,t,n=document.querySelectorAll(".footer__video"),r=0;r<n.length;r++){var o=n[r];t=void 0,t=(e=o).getBoundingClientRect(),(e.classList.contains("hide-mobile")&&document.documentElement.clientWidth>
1=1024||e.classList.contains("hide-desktop")&&document.documentElement.clientWidth<=1024)&&t.left>=0&&t.top<=(window.innerHeight||document.documentElement.clientHeight)&&t.right<=(window.innerWidth||document.documentElement.clientWidth)&&!o.hasAttribute("data-loaded")&&(o.load(),o.play(),o.setAttribute("data-loaded","true"))}};window.addEventListener("load",e,!1),window.addEventListener("scroll",e,!1),window.addEventListener("resize",e,!1)}))})();

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.