1"use strict";(self.webpackChunkeltiempo=self.webpackChunkeltiempo||[]).push([[5120],{6386(t,e,n){n.r(e),n.d(e,{WindValue:()=>u});var r=n(5236);function o(t){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}function i(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,a(r.key),r)}}function a(t){var e=function(t,e){if("object"!=o(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==o(e)?e:e+""}var u=function(){return t=function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.cookieWind=r.A.get("windspeed_unit"),this.changeWindUnit(e)},(e=[{key:"changeWindUnit",value:function(t){var e=this;t.forEach(function(t){var n,r=t.querySelector(".velocity");r&&(n=parseInt(r.dataset.speed));var o=t.querySelector(".wind-text-value"),i=t.querySelector(".wind-text-unit");if(n||0===n)switch(e.cookieWind){case"mph":o.textContent=Math.round(.621371*n),i.textContent="mph";break;case"kt":o.textContent=Math.round(.539957*n),i.textContent="kt";break;case"ms":o.textContent=Math.round(.277778*n),i.textContent="m/s"}})}}])&&i(t.prototype,e),n&&i(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,e,n}()}}]);
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.