1var _____WB$wombat$assign$function_____=function(name){return (self._wb_wombat && self._wb_wombat.local_init && self._wb_wombat.local_init(name))||self[name];};if(!self.__WB_pmw){self.__WB_pmw=function(obj){this.__WB_source=obj;return this;}}{ 2let window = _____WB$wombat$assign$function_____("window"); 3let self = _____WB$wombat$assign$function_____("self"); 4let document = _____WB$wombat$assign$function_____("document"); 5let location = _____WB$wombat$assign$function_____("location"); 6let top = _____WB$wombat$assign$function_____("top"); 7let parent = _____WB$wombat$assign$function_____("parent"); 8let frames = _____WB$wombat$assign$function_____("frames"); 9let opens = _____WB$wombat$assign$function_____("opens"); 10function _receiveMessage(event) { 11 let iframeEl = 12 document.querySelector('[data-drive-web-iframe]') || 13 document.getElementById('drive-web-iframe') 14 if ( 15 iframeEl && 16 (event.origin.match(/\.hyundaidrive.com$/) || 17 event.origin.match(/\.mygenesisvalet.com$/) || 18 event.origin.match(/^http:\/\/localhost:3000$/)) 19 ) { 20 switch (event.data.type) { 21 case 'drive-tier3-sizer': 22 let height = event.data.height 23 if (height) { 24 iframeEl.style.height = `${height}px` 25 } 26 break 27 case 'drive-tier3-nav': 28 window.scrollTo(0, 0) 29 break 30 default: 31 break 32 } 33 } 34} 35 36window.addEventListener('message', _receiveMessage, false) 37 38}
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.