vendor: 13,246 bytes, line 1
1"use strict";function _typeof(obj){"@babel/helpers - typeof";return _typeof=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(obj2){return typeof obj2}:function(obj2){return obj2&&typeof Symbol=="function"&&obj2.constructor===Symbol&&obj2!==Symbol.prototype?"symbol":typeof obj2},_typeof(obj)}function _regeneratorRuntime(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */_regeneratorRuntime=function(){return exports};var exports={},Op=Object.prototype,hasOwn=Op.hasOwnProperty,defineProperty=Object.defineProperty||function(obj,key,desc){obj[key]=desc.value},$Symbol=typeof Symbol=="function"?Symbol:{},iteratorSymbol=$Symbol.iterator||"@@iterator",asyncIteratorSymbol=$Symbol.asyncIterator||"@@asyncIterator",toStringTagSymbol=$Symbol.toStringTag||"@@toStringTag";function define(obj,key,value){return Object.defineProperty(obj,key,{value:value,enumerable:!0,configurable:!0,writable:!0}),obj[key]}try{define({},"")}catch(err){define=function(obj,key,value){return obj[key]=value}}function wrap(innerFn,outerFn,self,tryLocsList){var protoGenerator=outerFn&&outerFn.prototype instanceof Generator?outerFn:Generator,generator=Object.create(protoGenerator.prototype),context=new Context(tryLocsList||[]);return defineProperty(generator,"_invoke",{value:makeInvokeMethod(innerFn,self,context)}),generator}function tryCatch(fn,obj,arg){try{return{type:"normal",arg:fn.call(obj,arg)}}catch(err){return{type:"throw",arg:err}}}exports.wrap=wrap;var ContinueSentinel={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}var IteratorPrototype={};define(IteratorPrototype,iteratorSymbol,function(){return this});var getProto=Object.getPrototypeOf,NativeIteratorPrototype=getProto&&getProto(getProto(values([])));NativeIteratorPrototype&&NativeIteratorPrototype!==Op&&hasOwn.call(NativeIteratorPrototype,iteratorSymbol)&&(IteratorPrototype=NativeIteratorPrototype);var Gp=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(IteratorPrototype);function defineIteratorMethods(prototype){["next","throw","return"].forEach(function(method){define(prototype,method,function(arg){return this._invoke(method,arg)})})}function AsyncIterator(generator,PromiseImpl){function invoke(method,arg,resolve,reject){var record=tryCatch(generator[method],generator,arg);if(record.type!=="throw"){var result=record.arg,value=result.value;return value&&_typeof(value)=="object"&&hasOwn.call(value,"__await")?PromiseImpl.resolve(value.__await).then(function(value2){invoke("next",value2,resolve,reject)},function(err){invoke("throw",err,resolve,reject)}):PromiseImpl.resolve(value).then(function(unwrapped){result.value=unwrapped,resolve(result)},function(error){return invoke("throw",error,resolve,reject)})}reject(record.arg)}var previousPromise;defineProperty(this,"_invoke",{value:function(method,arg){function callInvokeWithMethodAndArg(){return new PromiseImpl(function(resolve,reject){invoke(method,arg,resolve,reject)})}return previousPromise=previousPromise?previousPromise.then(callInvokeWithMethodAndArg,callInvokeWithMethodAndArg):callInvokeWithMethodAndArg()}})}function makeInvokeMethod(innerFn,self,context){var state="suspendedStart";return function(method,arg){if(state==="executing")throw new Error("Generator is already running");if(state==="completed"){if(method==="throw")throw arg;return doneResult()}for(context.method=method,context.arg=arg;;){var delegate=context.delegate;if(delegate){var delegateResult=maybeInvokeDelegate(delegate,context);if(delegateResult){if(delegateResult===ContinueSentinel)continue;return delegateResult}}if(context.method==="next")context.sent=context._sent=context.arg;else if(context.method==="throw"){if(state==="suspendedStart")throw state="completed",context.arg;context.dispatchException(context.arg)}else context.method==="return"&&context.abrupt("return",context.arg);state="executing";var record=tryCatch(innerFn,self,context);if(record.type==="normal"){if(state=context.done?"completed":"suspendedYield",record.arg===ContinueSentinel)continue;return{value:record.arg,done:context.done}}record.type==="throw"&&(state="completed",context.method="throw",context.arg=record.arg)}}}function maybeInvokeDelegate(delegate,context){var methodName=context.method,method=delegate.iterator[methodName];if(method===void 0)return context.delegate=null,methodName==="throw"&&delegate.iterator.return&&(context.method="return",context.arg=void 0,maybeInvokeDelegate(delegate,context),context.method==="throw")||methodName!=="return"&&(context.method="throw",context.arg=new TypeError("The iterator does not provide a '"+methodName+"' method")),ContinueSentinel;var record=tryCatch(method,delegate.iterator,context.arg);if(record.type==="throw")return context.method="throw",context.arg=record.arg,context.delegate=null,ContinueSentinel;var info=record.arg;return info?info.done?(context[delegate.resultName]=info.value,context.next=delegate.nextLoc,context.method!=="return"&&(context.method="next",context.arg=void 0),context.delegate=null,ContinueSentinel):info:(context.method="throw",context.arg=new TypeError("iterator result is not an object"),context.delegate=null,ContinueSentinel)}function pushTryEntry(locs){var entry={tryLoc:locs[0]};1 in locs&&(entry.catchLoc=locs[1]),2 in locs&&(entry.finallyLoc=locs[2],entry.afterLoc=locs[3]),this.tryEntries.push(entry)}function resetTryEntry(entry){var record=entry.completion||{};record.type="normal",delete record.arg,entry.completion=record}function Context(tryLocsList){this.tryEntries=[{tryLoc:"root"}],tryLocsList.forEach(pushTryEntry,this),this.reset(!0)}function values(iterable){if(iterable){var iteratorMethod=iterable[iteratorSymbol];if(iteratorMethod)return iteratorMethod.call(iterable);if(typeof iterable.next=="function")return iterable;if(!isNaN(iterable.length)){var i=-1,next=function next2(){for(;++i<iterable.length;)if(hasOwn.call(iterable,i))return next2.value=iterable[i],next2.done=!1,next2;return next2.value=void 0,next2.done=!0,next2};return next.next=next}}return{next:doneResult}}function doneResult(){return{value:void 0,done:!0}}return GeneratorFunction.prototype=GeneratorFunctionPrototype,defineProperty(Gp,"constructor",{value:GeneratorFunctionPrototype,configurable:!0}),defineProperty(GeneratorFunctionPrototype,"constructor",{value:GeneratorFunction,configurable:!0}),GeneratorFunction.displayName=define(GeneratorFunctionPrototype,toStringTagSymbol,"GeneratorFunction"),exports.isGeneratorFunction=function(genFun){var ctor=typeof genFun=="function"&&genFun.constructor;return!!ctor&&(ctor===GeneratorFunction||(ctor.displayName||ctor.name)==="GeneratorFunction")},exports.mark=function(genFun){return Object.setPrototypeOf?Object.setPrototypeOf(genFun,GeneratorFunctionPrototype):(genFun.__proto__=GeneratorFunctionPrototype,define(genFun,toStringTagSymbol,"GeneratorFunction")),genFun.prototype=Object.create(Gp),genFun},exports.awrap=function(arg){return{__await:arg}},defineIteratorMethods(AsyncIterator.prototype),define(AsyncIterator.prototype,asyncIteratorSymbol,function(){return this}),exports.AsyncIterator=AsyncIterator,exports.async=function(innerFn,outerFn,self,tryLocsList,PromiseImpl){PromiseImpl===void 0&&(PromiseImpl=Promise);var iter=new AsyncIterator(wrap(innerFn,outerFn,self,tryLocsList),PromiseImpl);return exports.isGeneratorFunction(outerFn)?iter:iter.next().then(function(result){return result.done?result.value:iter.next()})},defineIteratorMethods(Gp),define(Gp,toStringTagSymbol,"Generator"),define(Gp,iteratorSymbol,function(){return this}),define(Gp,"toString",function(){return"[object Generator]"}),exports.keys=function(val){var object=Object(val),keys=[];for(var key in object)keys.push(key);return keys.reverse(),function next(){for(;keys.length;){var key2=keys.pop();if(key2 in object)return next.value=key2,next.done=!1,next}return next.done=!0,next}},exports.values=values,Context.prototype={constructor:Context,reset:function(skipTempReset){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(resetTryEntry),!skipTempReset)for(var name in this)name.charAt(0)==="t"&&hasOwn.call(this,name)&&!isNaN(+name.slice(1))&&(this[name]=void 0)},stop:function(){this.done=!0;var rootRecord=this.tryEntries[0].completion;if(rootRecord.type==="throw")throw rootRecord.arg;return this.rval},dispatchException:function(exception){if(this.done)throw exception;var context=this;function handle(loc,caught){return record.type="throw",record.arg=exception,context.next=loc,caught&&(context.method="next",context.arg=void 0),!!caught}for(var i=this.tryEntries.length-1;i>=0;--i){var entry=this.tryEntries[i],record=entry.completion;if(entry.tryLoc==="root")return handle("end");if(entry.tryLoc<=this.prev){var hasCatch=hasOwn.call(entry,"catchLoc"),hasFinally=hasOwn.call(entry,"finallyLoc");if(hasCatch&&hasFinally){if(this.prev<entry.catchLoc)return handle(entry.catchLoc,!0);if(this.prev<entry.finallyLoc)return handle(entry.finallyLoc)}else if(hasCatch){if(this.prev<entry.catchLoc)return handle(entry.catchLoc,!0)}else{if(!hasFinally)throw new Error("try statement without catch or finally");if(this.prev<entry.finallyLoc)return handle(entry.finallyLoc)}}}},abrupt:function(type,arg){for(var i=this.tryEntries.length-1;i>=0;--i){var entry=this.tryEntries[i];if(entry.tryLoc<=this.prev&&hasOwn.call(entry,"finallyLoc")&&this.prev<entry.finallyLoc){var finallyEntry=entry;break}}finallyEntry&&(type==="break"||type==="continue")&&finallyEntry.tryLoc<=arg&&arg<=finallyEntry.finallyLoc&&(finallyEntry=null);var record=finallyEntry?finallyEntry.completion:{};return record.type=type,record.arg=arg,finallyEntry?(this.method="next",this.next=finallyEntry.finallyLoc,ContinueSentinel):this.complete(record)},complete:function(record,afterLoc){if(record.type==="throw")throw record.arg;return record.type==="break"||record.type==="continue"?this.next=record.arg:record.type==="return"?(this.rval=this.arg=record.arg,this.method="return",this.next="end"):record.type==="normal"&&afterLoc&&(this.next=afterLoc),ContinueSentinel},finish:function(finallyLoc){for(var i=this.tryEntries.length-1;i>=0;--i){var entry=this.tryEntries[i];if(entry.finallyLoc===finallyLoc)return this.complete(entry.completion,entry.afterLoc),resetTryEntry(entry),ContinueSentinel}},catch:function(tryLoc){for(var i=this.tryEntries.length-1;i>=0;--i){var entry=this.tryEntries[i];if(entry.tryLoc===tryLoc){var record=entry.completion;if(record.type==="throw"){var thrown=record.arg;resetTryEntry(entry)}return thrown}}throw new Error("illegal catch attempt")},delegateYield:function(iterable,resultName,nextLoc){return this.delegate={iterator:values(iterable),resultName:resultName,nextLoc:nextLoc},this.method==="next"&&(this.arg=void 0),ContinueSentinel}},exports}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,_toPropertyKey(descriptor.key),descriptor)}}function _createClass(Constructor,protoProps,staticProps){return protoProps&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),Object.defineProperty(Constructor,"prototype",{writable:!1}),Constructor}function _inherits(subClass,superClass){if(typeof superClass!="function"&&superClass!==null)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:!0,configurable:!0}}),Object.defineProperty(subClass,"prototype",{writable:!1}),superClass&&_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){return _setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(o2,p2){return o2.__proto__=p2,o2},_setPrototypeOf(o,p)}function _createSuper(Derived){var hasNativeReflectConstruct=_isNativeReflectConstruct();return function(){var Super=_getPrototypeOf(Derived),result;if(hasNativeReflectConstruct){var NewTarget=_getPrototypeOf(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else result=Super.apply(this,arguments);return _possibleConstructorReturn(this,result)}}function _possibleConstructorReturn(self,call){if(call&&(_typeof(call)==="object"||typeof call=="function"))return call;if(call!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return _assertThisInitialized(self)}function _assertThisInitialized(self){if(self===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}function _isNativeReflectConstruct(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}
1function _getPrototypeOf(o){return _getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(o2){return o2.__proto__||Object.getPrototypeOf(o2)},_getPrototypeOf(o)}function _defineProperty(obj,key,value){return key=_toPropertyKey(key),key in obj?Object.defineProperty(obj,key,{value:value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}function _toPropertyKey(arg){var key=_toPrimitive(arg,"string");return _typeof(key)==="symbol"?key:String(key)}function _toPrimitive(input,hint){if(_typeof(input)!=="object"||input===null)return input;var prim=input[Symbol.toPrimitive];if(prim!==void 0){var res=prim.call(input,hint||"default");if(_typeof(res)!=="object")return res;throw new TypeError("@@toPrimitive must return a primitive value.")}return(hint==="string"?String:Number)(input)}function asyncGeneratorStep(gen,resolve,reject,_next,_throw,key,arg){try{var info=gen[key](arg),value=info.value}catch(error){reject(error);return}info.done?resolve(value):Promise.resolve(value).then(_next,_throw)}function _asyncToGenerator(fn){return function(){var self=this,args=arguments;return new Promise(function(resolve,reject){var gen=fn.apply(self,args);function _next(value){asyncGeneratorStep(gen,resolve,reject,_next,_throw,"next",value)}function _throw(err){asyncGeneratorStep(gen,resolve,reject,_next,_throw,"throw",err)}_next(void 0)})}}_asyncToGenerator(_regeneratorRuntime().mark(function _callee4(){var _yield$importModule,Core,_yield$importModule2,$fetch,debounce,$toggleDisplay,$replaceContent,scrollLock,ATTR_ONLY_STOCK,ATTR_MIN_CHARS,ATTR_LIMIT,ATTR_WITH_SUGGESTIONS,ATTR_WITH_RECENT,ATTR_SOURCES,RQ_SECTION,ATTR_NO_RESULTS,DEFAULT_MIN_CHARS,DEFAULT_LIMIT,CN_ACTIVE,CN_LOADING;return _regeneratorRuntime().wrap(function(_context4){for(;;)switch(_context4.prev=_context4.next){case 0:return _context4.next=2,importModule("Core");case 2:return _yield$importModule=_context4.sent,Core=_yield$importModule.Core,_context4.next=6,importModule("Utils");case 6:_yield$importModule2=_context4.sent,$fetch=_yield$importModule2.$fetch,debounce=_yield$importModule2.debounce,$toggleDisplay=_yield$importModule2.$toggleDisplay,$replaceContent=_yield$importModule2.$replaceContent,scrollLock=_yield$importModule2.scrollLock,ATTR_ONLY_STOCK="only-stock-products",ATTR_MIN_CHARS="min-chars",ATTR_LIMIT="results-limit",ATTR_WITH_SUGGESTIONS="with-suggestions",ATTR_WITH_RECENT="with-recent",ATTR_SOURCES="sources",RQ_SECTION="r_predictive-search",ATTR_NO_RESULTS="data-empty-results",DEFAULT_MIN_CHARS=3,DEFAULT_LIMIT=5,CN_ACTIVE="!active",CN_LOADING="!loading",customElements.define("predictive-search",(function(_Core){_inherits(_class2,_Core);var _super=_createSuper(_class2);function _class2(){var _this;_classCallCheck(this,_class2);for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return _this=_super.call.apply(_super,[this].concat(args)),_defineProperty(_assertThisInitialized(_this),"elements",{form:"form",input:'input[name="q"]',button:'[data-element="button"]',results:"[data-results]",wrapper:"[data-wrapper]",initial:"[data-initial]",suggestions:"*[data-suggestion]"}),_defineProperty(_assertThisInitialized(_this),"subscriptions",{"recentSearches:select":"_updateInputValue"}),_defineProperty(_assertThisInitialized(_this),"cache",{}),_this}return _createClass(_class2,[{key:"render",value:function(){var _this2=this;this.addEventListener("click",function(e){_this2.$input.focus()}),this._disableAutocomplete(),this._handleInput(),this._handleButtonClick(),this._handleOuterClick(),this._handleSuggestions(),this._handleRecentSearches()}},{key:"_disableAutocomplete",value:function(){this.$input.setAttribute("autocomplete","off")}},{key:"_handleInput",value:function(){this.$input.addEventListener("focus",this._handleFocus.bind(this)),this.$input.addEventListener("blur",this._handleBlur.bind(this)),this.$input.addEventListener("input",debounce(this._inputHandler.bind(this),300).bind(this))}},{key:"_handleButtonClick",value:function(){this.$button.addEventListener("click",this._handleButtonOnEmpty.bind(this))}},{key:"_handleButtonOnEmpty",value:function(e){this.$input.value||(e.preventDefault(),this.$input.focus())}},{key:"_handleFocus",value:function(){this._handleActiveState(),this.lights=!1}},{key:"_handleBlur",value:function(e){this.lights=!0}},{key:"_handleActiveState",value:function(){this.isEmptyResults?(this.showInitial=!1,this.active=!0):(this.showInitial=!0,this.active=!!this.minQueryChars||!!this.$initial)}},{key:"_inputHandler",value:(function(){var _inputHandler2=_asyncToGenerator(_regeneratorRuntime().mark(function _callee(){return _regeneratorRuntime().wrap(function(_context){for(;;)switch(_context.prev=_context.next){case 0:if(this.minQueryChars){_context.next=5;break}return this.showResults=!1,this.isEmptyResults=!1,this._handleActiveState(),_context.abrupt("return");case 5:return this.loading=!0,_context.next=8,this._getQueryResults();case 8:this._renderQueryResults();case 9:case"end":return _context.stop()}},_callee,this)}));function _inputHandler(){return _inputHandler2.apply(this,arguments)}return _inputHandler})()},{key:"_getQueryResults",value:(function(){var _getQueryResults2=_asyncToGenerator(_regeneratorRuntime().mark(function _callee2(){var $resultsDoc,empty;return _regeneratorRuntime().wrap(function(_context2){for(;;)switch(_context2.prev=_context2.next){case 0:if(this.cache["".concat(this.query)]){_context2.next=6;break}return _context2.next=3,this._fetchResultsDoc();case 3:$resultsDoc=_context2.sent,empty=$resultsDoc.hasAttribute(ATTR_NO_RESULTS),this.cache["".concat(this.query)]={empty:empty,content:$resultsDoc};case 6:case"end":return _context2.stop()}},_callee2,this)}));function _getQueryResults(){return _getQueryResults2.apply(this,arguments)}return _getQueryResults})()},{key:"_fetchResultsDoc",value:(function(){var _fetchResultsDoc2=_asyncToGenerator(_regeneratorRuntime().mark(function _callee3(){return _regeneratorRuntime().wrap(function(_context3){for(;;)switch(_context3.prev=_context3.next){case 0:return _context3.abrupt("return",$fetch("".concat(routes.predictive_search_url,"?").concat(this.searchParams),{select:"[data-template]"}));case 1:case"end":return _context3.stop()}},_callee3,this)}));function _fetchResultsDoc(){return _fetchResultsDoc2.apply(this,arguments)}return _fetchResultsDoc})()},{key:"_renderQueryResults",value:function(){$replaceContent(this.$results,this.cache["".concat(this.query)].content);var isEmpty=this.cache["".concat(this.query)].empty;this.isEmptyResults=!isEmpty,this._handleActiveState(),this.loading=!1,this.showResults=!0}},{key:"_handleOuterClick",value:function(){var _this3=this;document.addEventListener("click",function(e){!_this3.contains(e.target)&&_this3.active&&(_this3.active=!1)})}},{key:"_handleSuggestions",value:function(){var _this4=this;this.withSuggestions&&this.$suggestions.map(function($suggestion){$suggestion.addEventListener("click",function(e){e.preventDefault(),_this4.$input.value=e.currentTarget.dataset.suggestion,_this4.$input.focus(),_this4.$input.dispatchEvent(new Event("input"))})})}},{key:"_handleRecentSearches",value:function(){var _this5=this;this.withRecent&&(this.subscribe("recentSearches:select"),this.addEventListener("click",function(e){e.target.href&&_this5._publishQuery(_this5.query
1)}),this.$form.addEventListener("submit",function(e){e.preventDefault();var query=new FormData(_this5.$form).get("q");_this5._publishQuery(query),_this5.$form.submit()},{once:!0}))}},{key:"_updateInputValue",value:function(_ref2){var value=_ref2.value;this.$input.value=value,this.$input.focus()}},{key:"_publishQuery",value:function(query){this.publish("search:query",{query:query})}},{key:"loading",set:function(state){this.classList.toggle(CN_LOADING,state)}},{key:"showInitial",set:function(state){this.$initial&&$toggleDisplay(this.$initial,state)}},{key:"showResults",set:function(state){$toggleDisplay(this.$results,state)}},{key:"active",get:function(){return!!this._active},set:function(state){this.$wrapper.classList.toggle(CN_ACTIVE,state),scrollLock(state),this._active=state}},{key:"lights",get:function(){return this._lights},set:function(state){this.publish("lights-out",!state),this._lights=state}},{key:"minQueryChars",get:function(){return this.query.length>=this.minChars}},{key:"query",get:function(){return this.$input.value.trim()}},{key:"minChars",get:function(){return this.hasAttribute(ATTR_MIN_CHARS)?this.getAttribute(ATTR_MIN_CHARS):DEFAULT_MIN_CHARS}},{key:"searchParams",get:function(){return new URLSearchParams({q:this.query,"resources[type]":this.sources,"resources[options][unavailable_products]":this.onlyStock,"resources[limit]":this.limit,section_id:RQ_SECTION}).toString()}},{key:"sources",get:function(){return this.hasAttribute(ATTR_SOURCES)?this.getAttribute(ATTR_SOURCES).split(",").filter(Boolean).join(","):""}},{key:"onlyStock",get:function(){return this.hasAttribute(ATTR_ONLY_STOCK)?"hide":"last"}},{key:"limit",get:function(){return this.hasAttribute(ATTR_LIMIT)?this.getAttribute(ATTR_LIMIT):DEFAULT_LIMIT}},{key:"withSuggestions",get:function(){return this.hasAttribute(ATTR_WITH_SUGGESTIONS)}},{key:"withRecent",get:function(){return this.hasAttribute(ATTR_WITH_RECENT)}}]),_class2})(Core));case 25:case"end":return _context4.stop()}},_callee4)}))(); 2//# sourceMappingURL=/cdn/shop/t/62/assets/predictive-search.js.map?v=180119177400845173741773862421
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.