{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///indico/modules/events/client/js/importing.js"],"names":["webpackJsonpCallback","data","moduleId","chunkId","chunkIds","moreModules","executeModules","i","resolves","length","Object","prototype","hasOwnProperty","call","installedChunks","push","modules","parentJsonpFunction","shift","deferredModules","apply","checkDeferredModules","result","deferredModule","fulfilled","j","depId","splice","__webpack_require__","s","installedModules","158","exports","module","l","e","promises","installedChunkData","promise","Promise","resolve","reject","onScriptComplete","script","document","createElement","charset","timeout","nc","setAttribute","src","p","jsonpScriptSrc","error","Error","event","onerror","onload","clearTimeout","chunk","errorType","type","realSrc","target","message","name","request","undefined","setTimeout","head","appendChild","all","m","c","d","getter","o","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","oe","err","console","jsonpArray","window","oldJsonpFunction","slice","setupImportDialog","$formContainer","$","$form","$eventDetails","hide","$cloneErrors","$nextButton","step","clonerDependencies","updateEventDetails","force","serializedForm","param","serializeArray","ajaxSubmit","url","method","success","$eventTitle","find","$eventCategory","$eventDates","text","title","category_chain","join","serializeDateTimeRange","start_dt","end_dt","show","prop","html","append","map","item","label","items","on","preventDefault","$this","this","dependencies","val","$field","closest","requires","forEach","optionName","format","required_by","trigger"],"mappings":"aACE,SAASA,EAAqBC,GAQ7B,IAPA,IAMIC,EAAUC,EANVC,EAAWH,EAAK,GAChBI,EAAcJ,EAAK,GACnBK,EAAiBL,EAAK,GAIHM,EAAI,EAAGC,EAAW,GACpCD,EAAIH,EAASK,OAAQF,IACzBJ,EAAUC,EAASG,GAChBG,OAAOC,UAAUC,eAAeC,KAAKC,EAAiBX,IAAYW,EAAgBX,IACpFK,EAASO,KAAKD,EAAgBX,GAAS,IAExCW,EAAgBX,GAAW,EAE5B,IAAID,KAAYG,EACZK,OAAOC,UAAUC,eAAeC,KAAKR,EAAaH,KACpDc,EAAQd,GAAYG,EAAYH,IAKlC,IAFGe,GAAqBA,EAAoBhB,GAEtCO,EAASC,QACdD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,aACtBR,EAAaQ,YAAYH,SAAQ,SAASC,GACxCJ,EAAOxB,KAAK,cAAc6B,OAAOD,IAAajB,KAAK,WAAW,SAMpE7B,EAAE,2DAA2DiD,QAAQ,UAErEjD,EAAE,iEAAiEiD,QAAQ","file":"js/module_events.importing.7b8d222a.bundle.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(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && 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\t158: 0\n \t};\n\n \tvar deferredModules = [];\n\n \t// script path function\n \tfunction jsonpScriptSrc(chunkId) {\n \t\treturn __webpack_require__.p + \"js/\" + ({\"3\":\"moment-locale/af\",\"4\":\"moment-locale/ar\",\"5\":\"moment-locale/ar-dz\",\"6\":\"moment-locale/ar-kw\",\"7\":\"moment-locale/ar-ly\",\"8\":\"moment-locale/ar-ma\",\"9\":\"moment-locale/ar-sa\",\"10\":\"moment-locale/ar-tn\",\"11\":\"moment-locale/az\",\"12\":\"moment-locale/be\",\"13\":\"moment-locale/bg\",\"14\":\"moment-locale/bm\",\"15\":\"moment-locale/bn\",\"16\":\"moment-locale/bo\",\"17\":\"moment-locale/br\",\"18\":\"moment-locale/bs\",\"19\":\"moment-locale/ca\",\"20\":\"moment-locale/cs\",\"21\":\"moment-locale/cv\",\"22\":\"moment-locale/cy\",\"23\":\"moment-locale/da\",\"24\":\"moment-locale/de\",\"25\":\"moment-locale/de-at\",\"26\":\"moment-locale/de-ch\",\"27\":\"moment-locale/dv\",\"28\":\"moment-locale/el\",\"29\":\"moment-locale/en-au\",\"30\":\"moment-locale/en-ca\",\"31\":\"moment-locale/en-gb\",\"32\":\"moment-locale/en-ie\",\"33\":\"moment-locale/en-il\",\"34\":\"moment-locale/en-in\",\"35\":\"moment-locale/en-nz\",\"36\":\"moment-locale/en-sg\",\"37\":\"moment-locale/eo\",\"38\":\"moment-locale/es\",\"39\":\"moment-locale/es-do\",\"40\":\"moment-locale/es-us\",\"41\":\"moment-locale/et\",\"42\":\"moment-locale/eu\",\"43\":\"moment-locale/fa\",\"44\":\"moment-locale/fi\",\"45\":\"moment-locale/fil\",\"46\":\"moment-locale/fo\",\"47\":\"moment-locale/fr\",\"48\":\"moment-locale/fr-ca\",\"49\":\"moment-locale/fr-ch\",\"50\":\"moment-locale/fy\",\"51\":\"moment-locale/ga\",\"52\":\"moment-locale/gd\",\"53\":\"moment-locale/gl\",\"54\":\"moment-locale/gom-deva\",\"55\":\"moment-locale/gom-latn\",\"56\":\"moment-locale/gu\",\"57\":\"moment-locale/he\",\"58\":\"moment-locale/hi\",\"59\":\"moment-locale/hr\",\"60\":\"moment-locale/hu\",\"61\":\"moment-locale/hy-am\",\"62\":\"moment-locale/id\",\"63\":\"moment-locale/is\",\"64\":\"moment-locale/it\",\"65\":\"moment-locale/it-ch\",\"66\":\"moment-locale/ja\",\"67\":\"moment-locale/jv\",\"68\":\"moment-locale/ka\",\"69\":\"moment-locale/kk\",\"70\":\"moment-locale/km\",\"71\":\"moment-locale/kn\",\"72\":\"moment-locale/ko\",\"73\":\"moment-locale/ku\",\"74\":\"moment-locale/ky\",\"75\":\"moment-locale/lb\",\"76\":\"moment-locale/lo\",\"77\":\"moment-locale/lt\",\"78\":\"moment-locale/lv\",\"79\":\"moment-locale/me\",\"80\":\"moment-locale/mi\",\"81\":\"moment-locale/mk\",\"82\":\"moment-locale/ml\",\"83\":\"moment-locale/mn\",\"84\":\"moment-locale/mr\",\"85\":\"moment-locale/ms\",\"86\":\"moment-locale/ms-my\",\"87\":\"moment-locale/mt\",\"88\":\"moment-locale/my\",\"89\":\"moment-locale/nb\",\"90\":\"moment-locale/ne\",\"91\":\"moment-locale/nl\",\"92\":\"moment-locale/nl-be\",\"93\":\"moment-locale/nn\",\"94\":\"moment-locale/oc-lnc\",\"95\":\"moment-locale/pa-in\",\"96\":\"moment-locale/pl\",\"97\":\"moment-locale/pt\",\"98\":\"moment-locale/pt-br\",\"99\":\"moment-locale/ro\",\"100\":\"moment-locale/ru\",\"101\":\"moment-locale/sd\",\"102\":\"moment-locale/se\",\"103\":\"moment-locale/si\",\"104\":\"moment-locale/sk\",\"105\":\"moment-locale/sl\",\"106\":\"moment-locale/sq\",\"107\":\"moment-locale/sr\",\"108\":\"moment-locale/sr-cyrl\",\"109\":\"moment-locale/ss\",\"110\":\"moment-locale/sv\",\"111\":\"moment-locale/sw\",\"112\":\"moment-locale/ta\",\"113\":\"moment-locale/te\",\"114\":\"moment-locale/tet\",\"115\":\"moment-locale/tg\",\"116\":\"moment-locale/th\",\"117\":\"moment-locale/tk\",\"118\":\"moment-locale/tl-ph\",\"119\":\"moment-locale/tlh\",\"120\":\"moment-locale/tr\",\"121\":\"moment-locale/tzl\",\"122\":\"moment-locale/tzm\",\"123\":\"moment-locale/tzm-latn\",\"124\":\"moment-locale/ug-cn\",\"125\":\"moment-locale/uk\",\"126\":\"moment-locale/ur\",\"127\":\"moment-locale/uz\",\"128\":\"moment-locale/uz-latn\",\"129\":\"moment-locale/vi\",\"130\":\"moment-locale/x-pseudo\",\"131\":\"moment-locale/yo\",\"132\":\"moment-locale/zh-cn\",\"133\":\"moment-locale/zh-hk\",\"134\":\"moment-locale/zh-mo\",\"135\":\"moment-locale/zh-tw\"}[chunkId]||chunkId) + \".\" + {\"3\":\"25c15901\",\"4\":\"a6d6a650\",\"5\":\"f65560c5\",\"6\":\"e01eaa6d\",\"7\":\"cf8e2bfc\",\"8\":\"b26e386f\",\"9\":\"4ec61148\",\"10\":\"9e073590\",\"11\":\"e53c3a53\",\"12\":\"494413ab\",\"13\":\"55d8fbe5\",\"14\":\"0326d63b\",\"15\":\"2536607f\",\"16\":\"3a24165f\",\"17\":\"21a037f7\",\"18\":\"e02f54e9\",\"19\":\"0192729c\",\"20\":\"18a54afc\",\"21\":\"045b040b\",\"22\":\"eae23259\",\"23\":\"92ea4588\",\"24\":\"34583b81\",\"25\":\"816e8d78\",\"26\":\"6149cc79\",\"27\":\"afad9269\",\"28\":\"d51e7e79\",\"29\":\"b17a660b\",\"30\":\"15dffed9\",\"31\":\"b9b90281\",\"32\":\"544c3406\",\"33\":\"a6026eb0\",\"34\":\"30e5f0a2\",\"35\":\"1571edbc\",\"36\":\"c57a7ef6\",\"37\":\"ae7c27bf\",\"38\":\"e0905378\",\"39\":\"156f859b\",\"40\":\"5a611da4\",\"41\":\"fb21aeba\",\"42\":\"3d3a8856\",\"43\":\"32ad71dc\",\"44\":\"35420bd7\",\"45\":\"ff7c60c4\",\"46\":\"7705b17d\",\"47\":\"1a093bad\",\"48\":\"8d97a35b\",\"49\":\"f56556f2\",\"50\":\"cec05da9\",\"51\":\"4497b3c3\",\"52\":\"6d70731f\",\"53\":\"e8ead3a6\",\"54\":\"3bded839\",\"55\":\"dc8702b0\",\"56\":\"6d22fa58\",\"57\":\"112bfea0\",\"58\":\"2d2f3213\",\"59\":\"f0c61ccd\",\"60\":\"00731bd1\",\"61\":\"7ad50eca\",\"62\":\"91f876de\",\"63\":\"bd199f49\",\"64\":\"780b6fbb\",\"65\":\"5c4b1265\",\"66\":\"675a9604\",\"67\":\"6e035d21\",\"68\":\"2f5525ed\",\"69\":\"dd839e86\",\"70\":\"b8164371\",\"71\":\"493f1bbf\",\"72\":\"937697c7\",\"73\":\"bc17ba7e\",\"74\":\"ede4757f\",\"75\":\"b8f90e62\",\"76\":\"8b2831cf\",\"77\":\"5c1e4470\",\"78\":\"82bfa47d\",\"79\":\"e67e8f78\",\"80\":\"6812e84c\",\"81\":\"b326f58b\",\"82\":\"9834fd4d\",\"83\":\"b4a621a6\",\"84\":\"cd0b5836\",\"85\":\"26fd9aee\",\"86\":\"8e7958c4\",\"87\":\"e30d7ea4\",\"88\":\"244f4e4b\",\"89\":\"c226c8be\",\"90\":\"16a51ca1\",\"91\":\"2d85e623\",\"92\":\"ec41d2d6\",\"93\":\"86f68e29\",\"94\":\"6fdf603c\",\"95\":\"2cfc7239\",\"96\":\"4914d630\",\"97\":\"af61e48e\",\"98\":\"1d9a7bf4\",\"99\":\"523ccb97\",\"100\":\"71dcf240\",\"101\":\"c4c11aec\",\"102\":\"6b9a5060\",\"103\":\"2ca20547\",\"104\":\"6458425a\",\"105\":\"78d12e94\",\"106\":\"5c0ce9e0\",\"107\":\"873a943f\",\"108\":\"f8f99a3f\",\"109\":\"0e84da26\",\"110\":\"5673eb88\",\"111\":\"24703ef7\",\"112\":\"4a18b82c\",\"113\":\"5d5df4a1\",\"114\":\"0b253ee8\",\"115\":\"66dda238\",\"116\":\"3fc9b80b\",\"117\":\"00479436\",\"118\":\"9c68d1e1\",\"119\":\"b72a9351\",\"120\":\"3ff325a2\",\"121\":\"ea56193a\",\"122\":\"877e9690\",\"123\":\"b338d0e5\",\"124\":\"25549c0a\",\"125\":\"4043e511\",\"126\":\"f9a4cf4a\",\"127\":\"05f5cef6\",\"128\":\"1b34fdb9\",\"129\":\"7946e7ca\",\"130\":\"79ce1965\",\"131\":\"6f9951b7\",\"132\":\"477fe2c1\",\"133\":\"2cebe2f5\",\"134\":\"5478427b\",\"135\":\"7ead85cf\"}[chunkId] + \".bundle.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 = \"/dist/\";\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[\"coreJsonp\"] = window[\"coreJsonp\"] || [];\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([1965,0]);\n \t// run deferred modules when ready\n \treturn checkDeferredModules();\n","// This file is part of Indico.\n// Copyright (C) 2002 - 2021 CERN\n//\n// Indico is free software; you can redistribute it and/or\n// modify it under the terms of the MIT License; see the\n// LICENSE file for more details.\n\nimport _ from 'lodash';\nimport {serializeDateTimeRange} from 'indico/utils/date';\n\n(function(global) {\n global.setupImportDialog = function setupImportDialog() {\n const $formContainer = $('#event-import-form-container');\n const $form = $('#event-import-form');\n const $eventDetails = $('#event-details').hide();\n const $cloneErrors = $('#clone-errors').hide();\n const $nextButton = $('.clone-action-button');\n const step = $formContainer.data('step');\n const clonerDependencies = $formContainer.data('clonerDependencies');\n\n function errorToHTML(error) {\n if (typeof error === 'string') {\n return error;\n } else {\n return $('
').append(\n error.map(function(item) {\n const label = $('').append(item[0]);\n const items = $('