{ "version": 3, "sources": [ "acceptedlanguages.js" ], "names": [ "webpackUniversalModuleDefinition", "root", "factory", "exports", "module", "define", "amd", "this", "modules", "installedModules", "__webpack_require__", "moduleId", "id", "loaded", "call", "m", "c", "p", "_interopRequireWildcard", "obj", "__esModule", "newObj", "key", "Object", "prototype", "hasOwnProperty", "defineProperty", "value", "_acceptedlanguagesUtil", "util", "_acceptedlanguagesUser", "user", "_acceptedlanguagesPage", "page", "_acceptedlanguagesRelevant", "relevant", "lib", "current", "getCurrentLanguage", "accepted", "getAcceptedLanguages", "acceptedExpanded", "expandLanguages", "alternate", "getAlternateLanguages", "alternateExpanded", "getRelevantAlternateLanguages", "languages", "expanded", "forEach", "language", "code", "match", "_acceptedlanguagesRoot", "rooter", "getRoot", "navigator", "userLanguage", "setRoot", "window", "newRoot", "getLinkForLanguage", "getHrefForLanguage", "html", "document", "querySelector", "getAttribute", "links", "querySelectorAll", "hreflangs", "i", "length", "link", "hreflang", "item", "push", "acceptedLanguageExpanded", "alternateLanguageExpanded", "acceptedLanguages", "keys", "alternateLanguages", "relevantLanguages", "relevantAlternateLanguages", "filter", "indexOf", "map", "uniq", "uniqueRelevantAlternateLanguages", "URL", "location", "searchParams", "get", "acceptedlanguages", "substring", "toLowerCase", "href", "replace", "domain", "query", "search", "hash", "includes" ], "mappings": "AAqSA,GApSA,SAAUA,iCAAiCC,KAAMC,SAC1B,iBAAZC,SAA0C,iBAAXC,OACxCA,OAAOD,QAAUD,UACQ,mBAAXG,QAAyBA,OAAOC,IAC9CD,OAAOH,SACmB,iBAAZC,QACdA,QAA2B,kBAAID,UAE/BD,KAAwB,kBAAIC,UAR9B,CASGK,MAAM,WACT,OAAgB,SAAUC,SAEhB,IAAIC,iBAAmB,GAGvB,SAASC,oBAAoBC,UAG5B,GAAGF,iBAAiBE,UACnB,OAAOF,iBAAiBE,UAAUR,QAGnC,IAAIC,OAASK,iBAAiBE,UAAY,CACzCR,QAAS,GACTS,GAAID,SACJE,QAAQ,GAUT,O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