1/** 2* DO NOT EDIT THIS FILE. 3* See the following change record for more information, 4* https://www.drupal.org/node/2815083 5* @preserve 6**/ 7(function (Modernizr) { 8 var _deprecationErrorModernizrCopy = function _deprecationErrorModernizrCopy(_ref) { 9 var message = _ref.message; 10 if (typeof console !== 'undefined' && console.warn) { 11 console.warn("[Deprecation] ".concat(message)); 12 } 13 }; 14 var _deprecatedPropertyModernizrCopy = function _deprecatedPropertyModernizrCopy(_ref2) { 15 var target = _ref2.target, 16 deprecatedProperty = _ref2.deprecatedProperty, 17 message = _ref2.message; 18 if (!Proxy || !Reflect) { 19 return target; 20 } 21 return new Proxy(target, { 22 get: function get(target, key) { 23 if (key === deprecatedProperty) { 24 _deprecationErrorModernizrCopy({ 25 message: message 26 }); 27 } 28 for (var _len = arguments.length, rest = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) { 29 rest[_key - 2] = arguments[_key]; 30 } 31 return Reflect.get.apply(Reflect, [target, key].concat(rest)); 32 } 33 }); 34 }; 35 window.Modernizr = _deprecatedPropertyModernizrCopy({ 36 target: Modernizr, 37 deprecatedProperty: 'touchevents', 38 message: 'The touchevents property of Modernizr has been deprecated in drupal:9.4.0 and is removed from drupal:10.0.0. There will be no replacement for this feature. See https://www.drupal.org/node/3277381.' 39 }); 40 if (document.documentElement.classList.contains('touchevents') || document.documentElement.classList.contains('no-touchevents')) { 41 return; 42 } 43 Modernizr.addTest('touchevents', function () { 44 _deprecationErrorModernizrCopy({ 45 message: 'The Modernizr touch events test is deprecated in Drupal 9.4.0 and will be removed in Drupal 10.0.0. See https://www.drupal.org/node/3277381 for information on its replacement and how it should be used.' 46 }); 47 var bool; 48 if ('ontouchstart' in window || window.DocumentTouch && document instanceof window.DocumentTouch) { 49 bool = true; 50 } else { 51 var query = ['@media (', Modernizr._prefixes.join('touch-enabled),('), 'heartz', ')', '{#modernizr{top:9px;position:absolute}}'].join(''); 52 Modernizr.testStyles(query, function (node) { 53 bool = node.offsetTop === 9; 54 }); 55 } 56 return bool; 57 }); 58})(Modernizr);
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.