1 line
14 KiB
Plaintext
1 line
14 KiB
Plaintext
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///app/javascript/tank/sources/git/git.pleroma.social/pleroma/mastofe/app/javascript/locales/index.js"],"names":["i","chunkIds","length","deferredModules","j","deferredModule","chunkId","type","target","script","enumerable","get","getter","value","key","bind","module","Object","prototype","hasOwnProperty","call","object","property","console","error","err","jsonpArray","webpackJsonpCallback","theLocale","setLocale","locale","getLocale"],"mappings":"aACA,cAQA,IAPA,IAMA,IANA,OACA,OACA,OAIA,SACQA,EAAIC,EAASC,OAAQF,IAC7B,OACA,MACA,gBAEA,OAEA,WACA,4CACA,WAKA,IAFA,QAEA,UACA,YAOA,OAHA,sBAGA,IAEA,aAEA,IADA,MACA,IAAkBA,EAAIG,EAAgBD,OAAQF,IAAK,CAGnD,IAFA,WACA,KACA,IAAmBI,EAAIC,EAAeH,OAAQE,IAAK,CACnD,WACA,iBAEA,IACA,gBACA,eAIA,SAIA,SAKA,GACA,KAGA,KAQA,cAGA,QACA,oBAGA,YACA,IACA,KACA,YAUA,OANA,mCAGA,OAGA,UAKA,gBACA,SAKA,OACA,SAGA,KACA,iBACW,CAEX,gCACA,eAEA,eAGA,IACA,EADA,mCAGA,kBACA,cACA,MACA,6BAEA,MA1DA,YACA,gBAAyC,EAAI,SAAS,EAAI,iBAAiB,EAAI,6BAA6B,GAAK,eAAe,GAAK,kBAAkB,GAAK,2BAA2B,GAAK,4BAA4B,GAAK,kBAAkB,GAAK,8BAA8B,GAAK,mBAAmB,GAAK,2BAA2B,GAAK,qBAAqB,GAAK,yBAAyB,GAAK,+BAA+B,GAAK,sBAAsB,GAAK,2BAA2B,GAAK,qBAAqB,GAAK,qBAAqB,GAAK,6BAA6B,GAAK,2BAA2B,GAAK,kCAAkC,GAAK,mCAAmC,GAAK,+BAA+B,GAAK,4BAA4B,GAAK,yBAAyB,GAAK,8BAA8B,GAAK,sBAAsB,GAAK,uBAAuB,GAAK,yBAAyB,GAAK,iBAAiB,G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C,eAAeC,KAAKC,EAAQC,IAG3G,cAGA,iBAA+D,MAApBC,QAAQC,MAAMC,GAAYA,GAErE,kDACA,iBACA,SACA,YACA,YAAiBzB,EAAI0B,EAAWxB,OAAQF,IAAK2B,EAAqBD,EAAW1B,IAC7E,QAIA,aAEA,I,kCC5NA,IAAI4B,EAEG,SAASC,EAAUC,GACxBF,EAAYE,EAGP,SAASC,IACd,OAAOH,EAPT","file":"locales.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tfunction webpackJsonpCallback(data) {\n \t\tvar chunkIds = data[0];\n \t\tvar moreModules = data[1];\n \t\tvar executeModules = data[2];\n\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(data);\n\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n\n \t\t// add entry modules from loaded chunk to deferred list\n \t\tdeferredModules.push.apply(deferredModules, executeModules || []);\n\n \t\t// run deferred modules when all chunks ready\n \t\treturn checkDeferredModules();\n \t};\n \tfunction checkDeferredModules() {\n \t\tvar result;\n \t\tfor(var i = 0; i < deferredModules.length; i++) {\n \t\t\tvar deferredModule = deferredModules[i];\n \t\t\tvar fulfilled = true;\n \t\t\tfor(var j = 1; j < deferredModule.length; j++) {\n \t\t\t\tvar depId = deferredModule[j];\n \t\t\t\tif(installedChunks[depId] !== 0) fulfilled = false;\n \t\t\t}\n \t\t\tif(fulfilled) {\n \t\t\t\tdeferredModules.splice(i--, 1);\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = deferredModule[0]);\n \t\t\t}\n \t\t}\n\n \t\treturn result;\n \t}\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded and loading chunks\n \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n \t// Promise = chunk loading, 0 = chunk loaded\n \tvar installedChunks = {\n \t\t0: 0\n \t};\n\n \tvar deferredModules = [];\n\n \t// script path function\n \tfunction jsonpScriptSrc(chunkId) {\n \t\treturn __webpack_require__.p + \"\" + ({\"1\":\"common\",\"2\":\"base_polyfills\",\"3\":\"containers/media_container\",\"12\":\"emoji_picker\",\"13\":\"extra_polyfills\",\"14\":\"features/account_gallery\",\"15\":\"features/account_timeline\",\"16\":\"features/blocks\",\"17\":\"features/community_timeline\",\"18\":\"features/compose\",\"19\":\"features/direct_timeline\",\"20\":\"features/directory\",\"21\":\"features/domain_blocks\",\"22\":\"features/favourited_statuses\",\"23\":\"features/favourites\",\"24\":\"features/follow_requests\",\"25\":\"features/followers\",\"26\":\"features/following\",\"27\":\"features/generic_not_found\",\"28\":\"features/getting_started\",\"29\":\"features/glitch/async/directory\",\"30\":\"features/glitch/async/list_adder\",\"31\":\"features/glitch/async/search\",\"32\":\"features/hashtag_timeline\",\"33\":\"features/home_timeline\",\"34\":\"features/keyboard_shortcuts\",\"35\":\"features/list_adder\",\"36\":\"features/list_editor\",\"37\":\"features/list_timeline\",\"38\":\"features/lists\",\"39\":\"features/mutes\",\"40\":\"features/notifications\",\"41\":\"features/pinned_statuses\",\"42\":\"features/public_timeline\",\"43\":\"features/reblogs\",\"44\":\"features/search\",\"45\":\"features/status\",\"48\":\"flavours/glitch/async/account_gallery\",\"49\":\"flavours/glitch/async/account_timeline\",\"50\":\"flavours/glitch/async/block_modal\",\"51\":\"flavours/glitch/async/blocks\",\"52\":\"flavours/glitch/async/bookmarked_statuses\",\"53\":\"flavours/glitch/async/community_timeline\",\"54\":\"flavours/glitch/async/compose\",\"55\":\"flavours/glitch/async/direct_timeline\",\"56\":\"flavours/glitch/async/domain_blocks\",\"57\":\"flavours/glitch/async/embed_modal\",\"58\":\"flavours/glitch/async/emoji_picker\",\"59\":\"flavours/glitch/async/favourited_statuses\",\"60\":\"flavours/glitch/async/favourites\",\"61\":\"flavours/glitch/async/follow_requests\",\"62\":\"flavours/glitch/async/followers\",\"63\":\"flavours/glitch/async/following\",\"64\":\"flavours/glitch/async/generic_not_found\",\"65\":\"flavours/glitch/async/getting_started\",\"66\":\"flavours/glitch/async/getting_started_misc\",\"67\":\"flavours/glitch/async/hashtag_timeline\",\"68\":\"flavours/glitch/async/home_timeline\",\"69\":\"flavours/glitch/async/keyboard_shortcuts\",\"70\":\"flavours/glitch/async/list_editor\",\"71\":\"flavours/glitch/async/list_timeline\",\"72\":\"flavours/glitch/async/lists\",\"73\":\"flavours/glitch/async/mute_modal\",\"74\":\"flavours/glitch/async/mutes\",\"75\":\"flavours/glitch/async/notifications\",\"76\":\"flavours/glitch/async/onboarding_modal\",\"77\":\"flavours/glitch/async/pinned_accounts_editor\",\"78\":\"flavours/glitch/async/pinned_statuses\",\"79\":\"flavours/glitch/async/public_timeline\",\"80\":\"flavours/glitch/async/reblogs\",\"81\":\"flavours/glitch/async/report_modal\",\"82\":\"flavours/glitch/async/settings_modal\",\"83\":\"flavours/glitch/async/status\",\"193\":\"modals/block_modal\",\"194\":\"modals/embed_modal\",\"195\":\"modals/mute_modal\",\"196\":\"modals/report_modal\",\"202\":\"tesseract\"}[chunkId]||chunkId) + \".js\"\n \t}\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n \t// This file contains only the entry chunk.\n \t// The chunk loading function for additional chunks\n \t__webpack_require__.e = function requireEnsure(chunkId) {\n \t\tvar promises = [];\n\n\n \t\t// JSONP chunk loading for javascript\n\n \t\tvar installedChunkData = installedChunks[chunkId];\n \t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n \t\t\t// a Promise means \"currently loading\".\n \t\t\tif(installedChunkData) {\n \t\t\t\tpromises.push(installedChunkData[2]);\n \t\t\t} else {\n \t\t\t\t// setup Promise in chunk cache\n \t\t\t\tvar promise = new Promise(function(resolve, reject) {\n \t\t\t\t\tinstalledChunkData = installedChunks[chunkId] = [resolve, reject];\n \t\t\t\t});\n \t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n \t\t\t\t// start chunk loading\n \t\t\t\tvar script = document.createElement('script');\n \t\t\t\tvar onScriptComplete;\n\n \t\t\t\tscript.charset = 'utf-8';\n \t\t\t\tscript.timeout = 120;\n \t\t\t\tif (__webpack_require__.nc) {\n \t\t\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n \t\t\t\t}\n \t\t\t\tscript.src = jsonpScriptSrc(chunkId);\n\n \t\t\t\t// create error before stack unwound to get useful stacktrace later\n \t\t\t\tvar error = new Error();\n \t\t\t\tonScriptComplete = function (event) {\n \t\t\t\t\t// avoid mem leaks in IE.\n \t\t\t\t\tscript.onerror = script.onload = null;\n \t\t\t\t\tclearTimeout(timeout);\n \t\t\t\t\tvar chunk = installedChunks[chunkId];\n \t\t\t\t\tif(chunk !== 0) {\n \t\t\t\t\t\tif(chunk) {\n \t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n \t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n \t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n \t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n \t\t\t\t\t\t\terror.type = errorType;\n \t\t\t\t\t\t\terror.request = realSrc;\n \t\t\t\t\t\t\tchunk[1](error);\n \t\t\t\t\t\t}\n \t\t\t\t\t\tinstalledChunks[chunkId] = undefined;\n \t\t\t\t\t}\n \t\t\t\t};\n \t\t\t\tvar timeout = setTimeout(function(){\n \t\t\t\t\tonScriptComplete({ type: 'timeout', target: script });\n \t\t\t\t}, 120000);\n \t\t\t\tscript.onerror = script.onload = onScriptComplete;\n \t\t\t\tdocument.head.appendChild(script);\n \t\t\t}\n \t\t}\n \t\treturn Promise.all(promises);\n \t};\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/packs/\";\n\n \t// on error function for async loading\n \t__webpack_require__.oe = function(err) { console.error(err); throw err; };\n\n \tvar jsonpArray = window[\"webpackJsonp\"] = window[\"webpackJsonp\"] || [];\n \tvar oldJsonpFunction = jsonpArray.push.bind(jsonpArray);\n \tjsonpArray.push = webpackJsonpCallback;\n \tjsonpArray = jsonpArray.slice();\n \tfor(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);\n \tvar parentJsonpFunction = oldJsonpFunction;\n\n\n \t// add entry module to deferred list\n \tdeferredModules.push([11]);\n \t// run deferred modules when ready\n \treturn checkDeferredModules();\n","let theLocale;\n\nexport function setLocale(locale) {\n theLocale = locale;\n}\n\nexport function getLocale() {\n return theLocale;\n}\n"],"sourceRoot":""} |