{"version":3,"sources":["webpack://jrs-ui/./src/config/requestSettings.js","webpack://jrs-ui/./src/i18n/bundleStore.js","webpack://jrs-ui/./src/settings/settingsStore.js","webpack://jrs-ui/./src/i18n/bundleLoader.js","webpack://jrs-ui/./src/settings/settingsLoader.js","webpack://jrs-ui/./src/transport/requestExtension.js","webpack://jrs-ui/../js-sdk/src/common/extension/jqueryExtension.js","webpack://jrs-ui/./src/util/prototypeExtension.js","webpack://jrs-ui/../js-sdk/src/common/util/cloneDeep.js","webpack://jrs-ui/../js-sdk/src/common/extension/underscoreExtension.js","webpack://jrs-ui/../js-sdk/src/common/extension/momentExtension.js","webpack://jrs-ui/../js-sdk/src/common/component/colorPicker/util/colorConvertUtil.ts","webpack://jrs-ui/../js-sdk/src/common/component/colorPicker/react/ColorSample.tsx","webpack://jrs-ui/../js-sdk/src/common/component/colorPicker/react/ColorSelector.tsx","webpack://jrs-ui/../js-sdk/src/common/component/colorPicker/react/ColorSelectorWrapper.tsx","webpack://jrs-ui/../js-sdk/src/common/extension/epoxyExtension.js","webpack://jrs-ui/../js-sdk/src/common/extension/tv4Extension.js","webpack://jrs-ui/./src/config/backboneConfig.js","webpack://jrs-ui/./src/util/allExtensionsSetup.js","webpack://jrs-ui/./src/util/mainPagesStartup.js","webpack://jrs-ui/../js-sdk/src/common/config/requestSettings.js","webpack://jrs-ui/../js-sdk/src/common/extension/commonLocaleExtension.js","webpack://jrs-ui/../js-sdk/src/i18n/jasperserver_config.properties.js","webpack://jrs-ui/../js-sdk/src/common/extension/numeralExtension.js","webpack://jrs-ui/../js-sdk/src/common/enum/loggingLevels.js","webpack://jrs-ui/../js-sdk/src/common/logging/Level.js","webpack://jrs-ui/../js-sdk/src/common/logging/LogItem.js","webpack://jrs-ui/../js-sdk/src/common/logging/Log.js","webpack://jrs-ui/../js-sdk/src/common/logging/appender/ConsoleAppender.js","webpack://jrs-ui/../js-sdk/src/common/logging/LoggerManager.js","webpack://jrs-ui/../js-sdk/src/common/logging/logger.js","webpack://jrs-ui/../js-sdk/src/common/logging/loggerConfig.js","webpack://jrs-ui/../js-sdk/src/common/transport/request.js","webpack://jrs-ui/../js-sdk/src/common/transport/requestRegistry.js","webpack://jrs-ui/./runtime_dependencies/moment/locale|lazy|/^\\.\\/.*$/|groupOptions: {}|namespace object","webpack://jrs-ui/./runtime_dependencies/numeral/locales|lazy|/^\\.\\/.*$/|groupOptions: {}|namespace object"],"names":["locale","configs","settings","defaultSettings","headers","MERGED_BUNDLES_NAME","store","log","logger","scheduledBundlePromises","setBundleToStore","bundleName","content","Object","assign","bundlePathes","contextPath","promises","map","path","jrsConfigs","existingBundlePromise","isAllBundle","urlSuffix","url","originalSettings","requestSettings","type","dataType","promise","request","then","resp","statusText","xhr","status","error","keys","forEach","key","loadSingleBundle","Promise","resolve","all","scheduledSettingsGroupPromises","loadSingleSettingsGroup","settingsGroup","settingsGroupUrl","context","settingsStore","settingsPathes","requestSettingsDefault","document","window","getOriginFromUrl","a","createElement","href","origin","protocol","host","currentUri","location","$document","$","isSameOrigin","sameServerOrigin","isSameDomainWithDifferentPath","sameDomainServerOrigin","search","triggerEvent","trigger","apply","arguments","checkSessionExpiration","getResponseHeader","warn","reload","_","mergedOptions","serverOrigin","split","xhrFields","withCredentials","crossDomain","fail","jqXHR","textStatus","errorThrown","responseText","done","htmlPrefilter","html","call","this","xssUtil","escapeXSS","extend","prototype","primitiveTypes","jsNonceTag","RegExp","underscoreString","evaluate","interpolate","escape","strExports","originalTemplate","originalIsEqual","xssSoftEscape","xssHardEscape","template","text","data","options","String","reDelimiters","source","replace","tmplFunction","isEqual","b","cloneDeep","customizer","target","value","sourceType","indexOf","Array","isArray","hasOwnProperty","loadLocale","exactImportLocale","momentLocale","embeddedLocales","moment","RGBA_REGEX","color","rgb","match","reduce","memo","val","parseInt","toString","slice","toUpperCase","colour","r","g","test","substr","Math","sqrt","SWATCH_LIGHT_CLASS","TRANSPARENT_CLASS","ColorSelector","ColorSample","AttachableColorPicker","props","colorSampleRef","colorPickerContainerWrapper","state","show","React","className","body","appendChild","remove","isSetState","setState","colorPicker","label","colorSampleEl","current","showTransparentPreset","padding","top","left","onChangeComplete","onColorChange","onHide","onColorPickerHide","attachTo","ref","onClick","ReactDOM","createColorSampleWithColorPicker","style","backgroundColor","Colors","colorConvertUtil","AttachableColorPickerComponent","defaultOptions","ColorSelectorWrapper","element","renderColorSelector","getAttrName","$el","handlerName","selector","pattern","bindingSettings","isModel","obj","Backbone","isFunction","isObject","readAccessor","accessor","Epoxy","init","$element","bindings","e","optionsEmpty","d","optionsDefault","v","set","self","currentValue","models","numOptions","length","enabled","concat","option","index","opt","prop","selectedIndex","children","revisedValue","textAttr","valueAttr","classAttr","get","join","attr","model","view","_onAttrValidated","modelOnValidate","on","event","clean","off","showTransparentInput","colorSelectorState","_getColorSelectorState","_convertColorForModel","callback","elementValue","radioDivs","siblings","addClass","removeClass","complete","hide","selectionRange","start","selectionStart","end","selectionEnd","is","setSelectionRange","focus","charAt","tv4","dateUtil","timeUtil","requestRegistry","bundleLoader","momentLocaleLoaded","bundles","importCommonModule","settingsLoader","allExtensionsLoaded","DEFAULT_EMBEDDED_LOCALES","resolveLocale","localesToCheck","localeFallback","localeToImport","pop","includes","importLocale","defaultLocaleConverter","toLowerCase","acc","nextLocalePart","previousLocalePart","nextLocale","localeConverter","bundle","numeral","currency","symbol","jasperserverConfig","delimiters","thousands","decimal","DEBUG","INFO","WARN","ERROR","Level","level","name","i","isGreaterOrEqual","globalLevel","levelNumber","getLevel","levels","LogItem","k","l","Error","message","toArray","date","h","m","s","ms","logParams","push","time","getHours","getMinutes","getSeconds","getMilliseconds","id","file","line","args","createLogMethod","_prepareLogItem","Log","_id","_callback","logItem","Date","stack","lineAccessingLogger","res","debug","info","ConsoleAppender","console","f","assert","clear","count","dir","dirxml","group","groupCollapsed","groupEnd","markTimeline","profile","profileEnd","table","timeEnd","timeStamp","trace","write","Function","ex","appenderConstructors","LoggerManager","initialize","defaults","appenders","appenderInstances","loggers","attributes","appender","register","_processLogItem","disable","enable","setLevel","_appendLogItem","process","defaultRequest","webpackAsyncContext","req","__webpack_require__","o","code","ids","t","module","exports"],"mappings":"4IAwBA,mBACI,IAAMA,EAASC,uBAA2B,KAAM,KAC1CC,GAAWC,SAEjB,wBACOD,EADP,CAEIE,QAAS,OAAF,UACAF,EAASE,QADT,CAEH,kBAAmBJ,Q,sDCTxB,IAAMK,EAAsB,MACtBC,EAAQ,I,8CCDrB,Y,uHCIMC,EAAMC,aAAgB,gBAKfC,EAA0B,GAGjCC,EAAmB,SAACC,EAAYC,GAClCN,IAAMK,GAAcL,IAAMK,IAAe,GAEzCE,OAAOC,OAAOR,IAAMK,GAAaC,IAqDrC,iBAAgBG,EAAcC,GAC1B,IAAMC,EAAWF,EAAeA,EAAaG,KAAI,SAAAC,GAAI,OAnDhC,SAACR,EAAYK,GAClCA,EAAcA,GAAeI,gBAG7B,IAAMC,EAAwBZ,EAAwBE,GACtD,GAAIU,EACA,OAAOA,EAGX,IAAMC,EAAcjB,MAAwBM,EACtCY,EAAYD,EAAc,iBAAmB,IAAMX,EACnDa,EAAM,GAAH,OAAMR,EAAN,YAtBW,mBAsBX,OAAuCO,GAE1CE,GAAmBC,SACnBxB,EAAW,OAAH,UACPuB,EADO,CAEVrB,QAAS,OAAF,UACAqB,EAAiBrB,QADjB,CAIH,gBAAiB,UACjB,OAAU,KAEduB,KAAM,MACNC,SAAU,OACVJ,QAGEK,GAAUC,OAAQ5B,GAAU6B,MAAK,SAAUC,EAAMC,EAAYC,GAa/D,OAjDkB,MAqCdA,EAAIC,QACJ5B,EAAI6B,MAAJ,kCAAqCzB,EAArC,iDAGAW,EACAT,OAAOwB,KAAKL,GAAMM,SAAQ,SAAAC,GACtB7B,EAAiB6B,EAAKP,EAAKO,OAG/B7B,EAAiBC,EAAYqB,GAG1BA,KAMX,OAFAvB,EAAwBE,GAAckB,EAE/BA,EAIkDW,CAAiBrB,EAAMH,MAAgB,CAACyB,QAAQC,WAEzG,OAAOD,QAA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Ac,CACb,MACA,MAED,UAAW,CACV,MACA,MAED,aAAc,CACb,MACA,MAED,UAAW,CACV,MACA,MAED,aAAc,CACb,MACA,MAED,UAAW,CACV,MACA,KAED,aAAc,CACb,MACA,KAED,UAAW,CACV,MACA,MAED,OAAQ,CACP,MACA,MAED,UAAW,CACV,MACA,MAED,OAAQ,CACP,MACA,MAED,UAAW,CACV,MACA,MAED,OAAQ,CACP,KACA,MAED,UAAW,CACV,KACA,MAED,OAAQ,CACP,MACA,MAED,UAAW,CACV,MACA,MAED,OAAQ,CACP,MACA,MAED,UAAW,CACV,MACA,MAED,aAAc,CACb,MACA,MAED,UAAW,CACV,MACA,MAED,OAAQ,CACP,KACA,MAED,UAAW,CACV,KACA,MAED,OAAQ,CACP,MACA,MAED,UAAW,CACV,MACA,MAED,OAAQ,CACP,MACA,MAED,UAAW,CACV,MACA,MAED,OAAQ,CACP,MACA,KAED,UAAW,CACV,MACA,KAED,OAAQ,CACP,MACA,MAED,UAAW,CACV,MACA,MAED,OAAQ,CACP,MACA,MAED,UAAW,CACV,MACA,MAED,OAAQ,CACP,MACA,MAED,UAAW,CACV,MACA,MAED,OAAQ,CACP,KACA,MAED,UAAW,CACV,KACA,MAED,OAAQ,CACP,MACA,MAED,UAAW,CACV,MACA,MAED,aAAc,CACb,MACA,MAED,UAAW,CACV,MACA,KAED,aAAc,CACb,MACA,KAED,UAAW,CACV,MACA,MAED,OAAQ,CACP,MACA,MAED,UAAW,CACV,MACA,MAED,OAAQ,CACP,KACA,MAED,UAAW,CACV,KACA,MAED,UAAW,CACV,MACA,MAED,aAAc,CACb,MACA,MAED,UAAW,CACV,MACA,MAED,aAAc,CACb,MACA,MAED,UAAW,CACV,IACA,KAED,aAAc,CACb,IACA,KAED,UAAW,CACV,MACA,MAED,aAAc,CACb,MACA,MAED,UAAW,CACV,MACA,MAED,aAAc,CACb,MACA,MAED,UAAW,CACV,MACA,MAED,aAAc,CACb,MACA,MAED,UAAW,CACV,MACA,MAED,aAAc,CACb,MACA,MAED,UAAW,CACV,MACA,IAED,aAAc,CACb,MACA,IAED,OAAQ,CACP,MACA,MAED,UAAW,CACV,MACA,MAED,OAAQ,CACP,MACA,MAED,UAAW,CACV,MACA,MAED,aAAc,CACb,MACA,MAED,UAAW,CACV,KACA,MAED,aAAc,CACb,KACA,MAED,UAAW,CACV,KACA,MAED,aAAc,CACb,KACA,MAED,UAAW,CACV,MACA,MAED,OAAQ,CACP,MACA,KAED,UAAW,CACV,MACA,KAED,OAAQ,CACP,MACA,IAED,UAAW,CACV,MACA,IAED,OAAQ,CACP,MACA,MAED,UAAW,CACV,MACA,MAED,OAAQ,CACP,MACA,MAED,UAAW,CACV,MACA,MAED,QAAS,CACR,MACA,MAED,WAAY,CACX,MACA,MAED,OAAQ,CACP,MACA,MAED,UAAW,CACV,MACA,MAED,OAAQ,CACP,KACA,MAED,UAAW,CACV,MACA,MAED,aAAc,CACb,MACA,MAED,UAAW,CACV,MACA,MAED,aAAc,CACb,MACA,MAED,UAAW,CACV,KACA,MAED,OAAQ,CACP,MACA,MAED,UAAW,CACV,MACA,MAED,OAAQ,CACP,MACA,MAED,UAAW,CACV,MACA,MAED,OAAQ,CACP,MACA,MAED,UAAW,CACV,MACA,MAED,OAAQ,CACP,MACA,MAED,UAAW,CACV,MACA,MAED,aAAc,CACb,MACA,KAED,gBAAiB,CAChB,MACA,KAED,aAAc,CACb,MACA,MAED,gBAAiB,CAChB,MACA,MAED,OAAQ,CACP,MACA,MAED,UAAW,CACV,MACA,MAED,OAAQ,CACP,MACA,MAED,UAAW,CACV,MACA,MAED,OAAQ,CACP,MACA,MAED,UAAW,CACV,MACA,MAED,OAAQ,CACP,MACA,MAED,UAAW,CACV,MACA,MAED,OAAQ,CACP,MACA,MAED,UAAW,CACV,MACA,MAED,UAAW,CACV,MACA,MAED,aAAc,CACb,MACA,MAED,OAAQ,CACP,MACA,MAED,UAAW,CACV,MACA,MAED,OAAQ,CACP,MACA,MAED,UAAW,CACV,MACA,MAED,OAAQ,CACP,MACA,MAED,UAAW,CACV,MACA,MAED,aAAc,CACb,MACA,MAED,UAAW,CACV,MACA,MAED,OAAQ,CACP,MACA,MAED,UAAW,CACV,MACA,MAED,OAAQ,CACP,MACA,MAED,UAAW,CACV,MACA,MAED,OAAQ,CACP,MACA,MAED,UAAW,CACV,MACA,MAED,OAAQ,CACP,MACA,MAED,UAAW,CACV,MACA,MAED,OAAQ,CACP,IACA,KAED,UAAW,CACV,IACA,KAED,OAAQ,CACP,MACA,MAED,UAAW,CACV,MACA,MAED,OAAQ,CACP,MACA,MAED,UAAW,CACV,MACA,MAED,OAAQ,CACP,IACA,KAED,UAAW,CACV,IACA,KAED,OAAQ,CACP,MACA,MAED,UAAW,CACV,MACA,MAED,OAAQ,CACP,MACA,MAED,UAAW,CACV,MACA,MAED,OAAQ,CACP,MACA,MAED,UAAW,CACV,MACA,MAED,OAAQ,CACP,MACA,MAED,UAAW,CACV,MACA,MAED,OAAQ,CACP,MACA,KAED,UAAW,CACV,MACA,KAED,OAAQ,CACP,KACA,MAED,UAAW,CACV,KACA,MAED,OAAQ,CACP,MACA,MAED,UAAW,CACV,MACA,MAED,OAAQ,CACP,MACA,MAED,UAAW,CACV,MACA,MAED,OAAQ,CACP,MACA,MAED,UAAW,CACV,MACA,MAED,OAAQ,CACP,MACA,MAED,UAAW,CACV,MACA,MAED,OAAQ,CACP,MACA,MAED,UAAW,CACV,MACA,MAED,OAAQ,CACP,MACA,MAED,UAAW,CACV,MACA,MAED,aAAc,CACb,MACA,MAED,UAAW,CACV,MACA,MAED,OAAQ,CACP,MACA,MAED,UAAW,CACV,MACA,MAED,OAAQ,CACP,MACA,MAED,UAAW,CACV,MACA,MAED,OAAQ,CACP,MACA,MAED,UAAW,CACV,MACA,MAED,OAAQ,CACP,MACA,MAED,UAAW,CACV,MACA,MAED,OAAQ,CACP,MACA,MAED,UAAW,CACV,MACA,MAED,aAAc,CACb,MACA,MAED,UAAW,CACV,MACA,MAED,OAAQ,CACP,MACA,MAED,UAAW,CACV,MACA,MAED,WAAY,CACX,MACA,MAED,cAAe,CACd,MACA,MAED,UAAW,CACV,MACA,MAED,aAAc,CACb,MACA,MAED,OAAQ,CACP,MACA,MAED,UAAW,CACV,MACA,MAED,OAAQ,CACP,MACA,MAED,UAAW,CACV,MACA,MAED,aAAc,CACb,MACA,MAED,UAAW,CACV,MACA,MAED,OAAQ,CACP,MACA,MAED,UAAW,CACV,MACA,MAED,OAAQ,CACP,MACA,MAED,UAAW,CACV,MACA,MAED,OAAQ,CACP,MACA,MAED,UAAW,CACV,MACA,MAED,OAAQ,CACP,MACA,MAED,UAAW,CACV,MACA,MAED,OAAQ,CACP,MACA,MAED,UAAW,CACV,MACA,MAED,OAAQ,CACP,KACA,MAED,UAAW,CACV,KACA,MAED,OAAQ,CACP,MACA,MAED,UAAW,CACV,MACA,MAED,OAAQ,CACP,MACA,MAED,UAAW,CACV,MACA,MAED,OAAQ,CACP,MACA,MAED,YAAa,CACZ,MACA,MAED,eAAgB,CACf,MACA,MAED,UAAW,CACV,MACA,MAED,OAAQ,CACP,MACA,MAED,UAAW,CACV,MACA,MAED,OAAQ,CACP,MACA,MAED,UAAW,CACV,MACA,MAED,OAAQ,CACP,MACA,MAED,UAAW,CACV,MACA,MAED,OAAQ,CACP,MACA,MAED,UAAW,CACV,MACA,MAED,OAAQ,CACP,MACA,MAED,UAAW,CACV,MACA,MAED,QAAS,CACR,MACA,MAED,WAAY,CACX,MACA,MAED,OAAQ,CACP,MACA,MAED,UAAW,CACV,MACA,MAED,OAAQ,CACP,MACA,MAED,UAAW,CACV,MACA,MAED,OAAQ,CACP,IACA,KAED,UAAW,CACV,IACA,KAED,UAAW,CACV,MACA,MAED,aAAc,CACb,MACA,MAED,QAAS,CACR,MACA,MAED,WAAY,CACX,MACA,MAED,OAAQ,CACP,KACA,MAED,UAAW,CACV,KACA,MAED,QAAS,CACR,MACA,MAED,WAAY,CACX,MACA,MAED,QAAS,CACR,MACA,MAED,aAAc,CACb,MACA,MAED,gBAAiB,CAChB,MACA,MAED,WAAY,CACX,MACA,MAED,UAAW,CACV,MACA,MAED,aAAc,CACb,MACA,MAED,OAAQ,CACP,MACA,MAED,UAAW,CACV,MACA,MAED,OAAQ,CACP,MACA,MAED,UAAW,CACV,MACA,MAED,OAAQ,CACP,KACA,MAED,YAAa,CACZ,MACA,MAED,eAAgB,CACf,MACA,MAED,UAAW,CACV,KACA,MAED,OAAQ,CACP,MACA,MAED,UAAW,CACV,MACA,MAED,aAAc,CACb,MACA,MAED,gBAAiB,CAChB,MACA,MAED,OAAQ,CACP,MACA,MAED,UAAW,CACV,MACA,MAED,UAAW,CACV,MACA,MAED,aAAc,CACb,MACA,MAED,UAAW,CACV,MACA,MAED,aAAc,CACb,MACA,MAED,UAAW,CACV,MACA,KAED,aAAc,CACb,MACA,KAED,UAAW,CACV,MACA,MAED,aAAc,CACb,MACA,OAGF,SAASiX,EAAoBC,GAC5B,IAAIC,EAAoBC,EAAEpX,EAAKkX,GAC9B,OAAO3V,QAAQC,UAAUX,MAAK,KAC7B,IAAIuL,EAAI,IAAIwG,MAAM,uBAAyBsE,EAAM,KAEjD,MADA9K,EAAEiL,KAAO,mBACHjL,KAIR,IAAIkL,EAAMtX,EAAIkX,GAAMvD,EAAK2D,EAAI,GAC7B,OAAOH,EAAoB/K,EAAEkL,EAAI,IAAIzW,MAAK,IAClCsW,EAAoBI,EAAE5D,EAAI,KAGnCsD,EAAoB9V,KAAO,IAAOxB,OAAOwB,KAAKnB,GAC9CiX,EAAoBtD,GAAK,MACzB6D,EAAOC,QAAUR,G,gBC1kCjB,IAAIjX,EAAM,CACT,OAAQ,CACP,MACA,MAED,UAAW,CACV,MACA,MAED,QAAS,CACR,MACA,MAED,WAAY,CACX,MACA,MAED,OAAQ,CACP,MACA,IAED,UAAW,CACV,MACA,IAED,UAAW,CACV,MACA,MAED,aAAc,CACb,MACA,MAED,OAAQ,CACP,MACA,MAED,UAAW,CACV,MACA,MAED,aAAc,CACb,MACA,MAED,UAAW,CACV,MACA,MAED,UAAW,CACV,MACA,MAED,aAAc,CACb,MACA,MAED,UAAW,CACV,MACA,MAED,aAAc,CACb,MACA,MAED,UAAW,CACV,MACA,MAED,aAAc,CACb,MACA,MAED,OAAQ,CACP,MACA,MAED,UAAW,CACV,MACA,MAED,aAAc,CACb,MACA,MAED,UAAW,CACV,MACA,MAED,OAAQ,CACP,MACA,MAED,UAAW,CACV,MACA,MAED,OAAQ,CACP,MACA,MAED,UAAW,CACV,MACA,MAED,OAAQ,CACP,MACA,MAED,UAAW,CACV,MACA,MAED,aAAc,CACb,MACA,MAED,UAAW,CACV,MACA,MAED,aAAc,CACb,MACA,MAED,UAAW,CACV,MACA,MAED,OAAQ,CACP,MACA,MAED,UAAW,CACV,MACA,MAED,OAAQ,CACP,MACA,KAED,UAAW,CACV,MACA,KAED,OAAQ,CACP,MACA,MAED,UAAW,CACV,MACA,MAED,OAAQ,CACP,MACA,MAED,UAAW,CACV,MACA,MAED,UAAW,CACV,MACA,MAED,aAAc,CACb,MACA,MAED,UAAW,CACV,MACA,MAED,aAAc,CACb,MACA,MAED,OAAQ,CACP,MACA,KAED,UAAW,CACV,MACA,KAED,OAAQ,CACP,MACA,MAED,UAAW,CACV,MACA,MAED,UAAW,CACV,KACA,MAED,aAAc,CACb,KACA,MAED,UAAW,CACV,MACA,KAED,aAAc,CACb,MACA,KAED,OAAQ,CACP,MACA,MAED,UAAW,CACV,MACA,MAED,aAAc,CACb,MACA,MAED,UAAW,CACV,MACA,MAED,OAAQ,CACP,MACA,MAED,UAAW,CACV,MACA,MAED,OAAQ,CACP,MACA,MAED,UAAW,CACV,MACA,MAED,OAAQ,CACP,MACA,MAED,UAAW,CACV,MACA,MAED,OAAQ,CACP,IACA,KAED,UAAW,CACV,IACA,KAED,UAAW,CACV,MACA,MAED,aAAc,CACb,MACA,MAED,OAAQ,CACP,MACA,MAED,UAAW,CACV,MACA,OAGF,SAASiX,EAAoBC,GAC5B,IAAIC,EAAoBC,EAAEpX,EAAKkX,GAC9B,OAAO3V,QAAQC,UAAUX,MAAK,KAC7B,IAAIuL,EAAI,IAAIwG,MAAM,uBAAyBsE,EAAM,KAEjD,MADA9K,EAAEiL,KAAO,mBACHjL,KAIR,IAAIkL,EAAMtX,EAAIkX,GAAMvD,EAAK2D,EAAI,GAC7B,OAAOH,EAAoB/K,EAAEkL,EAAI,IAAIzW,MAAK,IAClCsW,EAAoBI,EAAE5D,EAAI,KAGnCsD,EAAoB9V,KAAO,IAAOxB,OAAOwB,KAAKnB,GAC9CiX,EAAoBtD,GAAK,MACzB6D,EAAOC,QAAUR","file":"_chunks/chunk.2495.js","sourcesContent":["/*\n * Copyright (C) 2005 - 2022 TIBCO Software Inc. All rights reserved.\n * http://www.jaspersoft.com.\n *\n * Unless you have purchased a commercial license agreement from Jaspersoft,\n * the following license terms apply:\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see .\n */\n\nimport defaultSettings from 'js-sdk/src/common/config/requestSettings';\nimport configs from 'js-sdk/src/jrs.configs';\n\nexport default () => {\n const locale = configs.userLocale.replace(/_/g, '-');\n const settings = defaultSettings();\n\n return {\n ...settings,\n headers: {\n ...settings.headers,\n 'Accept-Language': locale\n }\n }\n};","/*\n * Copyright (C) 2005 - 2022 TIBCO Software Inc. All rights reserved.\n * http://www.jaspersoft.com.\n *\n * Unless you have purchased a commercial license agreement from Jaspersoft,\n * the following license terms apply:\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see .\n */\n\n// This bundle store will be filled with the actual bundles loaded from the server\n\nexport const MERGED_BUNDLES_NAME = \"all\";\nexport const store = {};","/*\n * Copyright (C) 2005 - 2022 TIBCO Software Inc. All rights reserved.\n * http://www.jaspersoft.com.\n *\n * Unless you have purchased a commercial license agreement from Jaspersoft,\n * the following license terms apply:\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see .\n */\n\n// This settings store will be filled with the actual settings loaded from the server\n\nexport default {};","/*\n * Copyright (C) 2005 - 2019 TIBCO Software Inc. All rights reserved.\n * http://www.jaspersoft.com.\n *\n * Unless you have purchased a commercial license agreement from Jaspersoft,\n * the following license terms apply:\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see .\n */\n\nimport {store, MERGED_BUNDLES_NAME} from \"./bundleStore\";\nimport jrsConfigs from \"js-sdk/src/jrs.configs\";\nimport requestSettings from '../config/requestSettings';\nimport request from 'js-sdk/src/common/transport/request';\nimport logger from \"js-sdk/src/common/logging/logger\";\n\nconst log = logger.register(\"bundleLoader\");\n\n// use bundle name \"all\" to get all available bundles merged to single bundle\nconst bundlesRestPath = 'rest_v2/bundles';\n\nexport const scheduledBundlePromises = {};\nexport const NO_CONTENT = 204;\n\nconst setBundleToStore = (bundleName, content) => {\n store[bundleName] = store[bundleName] || {};\n\n Object.assign(store[bundleName], content);\n}\n\nconst loadSingleBundle = (bundleName, contextPath) => {\n contextPath = contextPath || jrsConfigs.contextPath;\n\n // if bundle already scheduled for loading or loaded - skip loading\n const existingBundlePromise = scheduledBundlePromises[bundleName];\n if (existingBundlePromise) {\n return existingBundlePromise;\n }\n\n const isAllBundle = MERGED_BUNDLES_NAME === bundleName;\n const urlSuffix = isAllBundle ? \"?expanded=true\" : \"/\" + bundleName;\n const url = `${contextPath}/${bundlesRestPath}${urlSuffix}`;\n\n const originalSettings = requestSettings();\n const settings = {\n ...originalSettings,\n headers: {\n ...originalSettings.headers,\n // Changing default Cache Control directive to have possibility to decide caching on the server\n // Default value was 'no-cache'\n \"Cache-Control\": \"private\",\n \"Pragma\": \"\"\n },\n type: \"GET\",\n dataType: \"json\",\n url\n };\n\n const promise = request(settings).then(function (resp, statusText, xhr) {\n if (xhr.status === NO_CONTENT) {\n log.error(`No content for bundle: [${bundleName}]. Make sure bundles are deployed to web app`);\n }\n\n if (isAllBundle) {\n Object.keys(resp).forEach(key => {\n setBundleToStore(key, resp[key]);\n })\n } else {\n setBundleToStore(bundleName, resp);\n }\n\n return resp;\n });\n\n // mark that bundle already scheduled for loading to avoid duplicate requests\n scheduledBundlePromises[bundleName] = promise;\n\n return promise;\n}\n\nexport default (bundlePathes, contextPath) => {\n const promises = bundlePathes ? bundlePathes.map(path => loadSingleBundle(path, contextPath)) : [Promise.resolve()];\n\n return Promise.all(promises);\n}\n","/*\n * Copyright (C) 2005 - 2019 TIBCO Software Inc. All rights reserved.\n * http://www.jaspersoft.com.\n *\n * Unless you have purchased a commercial license agreement from Jaspersoft,\n * the following license terms apply:\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see .\n */\n\nimport request from \"js-sdk/src/common/transport/request\";\nimport requestSettings from '../config/requestSettings';\nimport jrsConfigs from \"js-sdk/src/jrs.configs\";\nimport settingsStore from \"../settings/settingsStore\";\n\nconst settingsRestPath = \"rest_v2/settings\";\nconst scheduledSettingsGroupPromises = {};\n\nconst setSettingsGroupToStore = (settingsGroupUrl, context) => {\n settingsStore[settingsGroupUrl] = settingsStore[settingsGroupUrl] || {};\n Object.assign(settingsStore[settingsGroupUrl], context);\n}\n\nconst loadSingleSettingsGroup = (settingsGroup, contextPath, headers) => {\n contextPath = contextPath || jrsConfigs.contextPath;\n const url = `${contextPath}/${settingsRestPath}/${settingsGroup}`;\n\n // if settings group already scheduled for loading or loaded - skip loading\n if (scheduledSettingsGroupPromises[settingsGroup]) {\n return scheduledSettingsGroupPromises[settingsGroup];\n }\n\n const originalSettings = requestSettings();\n const settings = {\n ...originalSettings,\n headers: {\n ...originalSettings.headers,\n // Changing default Cache Control directive to have possibility to decide caching on the server\n // Default value was 'no-cache'\n \"Cache-Control\": \"private\",\n \"Pragma\": \"\",\n ...headers\n },\n type: \"GET\",\n dataType: \"json\",\n url\n };\n\n const promise = request(settings).then(function (resp) {\n setSettingsGroupToStore(settingsGroup, resp)\n return resp;\n });\n\n // mark that settings group already scheduled for loading to avoid duplicate requests\n scheduledSettingsGroupPromises[settingsGroup] = promise;\n\n return promise;\n}\n\nexport default (settingsPathes, contextPath, headers = {}) => {\n const promises = settingsPathes ? settingsPathes.map(path => loadSingleSettingsGroup(path, contextPath, headers)) : [Promise.resolve()];\n\n return Promise.all(promises);\n}","/*\n * Copyright (C) 2005 - 2022 TIBCO Software Inc. All rights reserved.\n * http://www.jaspersoft.com.\n *\n * Unless you have purchased a commercial license agreement from Jaspersoft,\n * the following license terms apply:\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see .\n */\nimport $ from 'jquery';\nimport _ from 'underscore';\nimport configs from 'js-sdk/src/jrs.configs';\nimport requestRegistry from 'js-sdk/src/common/transport/requestRegistry';\nimport requestSettingsDefault from '../config/requestSettings';\nimport logger from 'js-sdk/src/common/logging/logger';\n\nvar log = logger.register(\"request\");\n\nexport const request = function () {\n const requestSettings = requestSettingsDefault();\n\n // workaround for optimizer which usually runs in Node env without document defined\n if (typeof document === \"undefined\" || window === \"undefined\") {\n return {};\n }\n\n\n function getOriginFromUrl(url) {\n var a = document.createElement('a');\n a.href = url;\n\n return a.origin || (a.protocol + \"//\" + a.host);\n }\n\n // configure CORS\n var currentUri = window.location.href;\n var origin = getOriginFromUrl(window.location.href);\n\n\n // TODO: observableRequest functionality is temporary here. This should be revised after Amber release.\n\n var $document = $(document);\n function isSameOrigin(sameServerOrigin) {\n return origin === sameServerOrigin;\n }\n\n function isSameDomainWithDifferentPath(sameDomainServerOrigin) {\n return currentUri.search(sameDomainServerOrigin + configs.urlContext) < 0;\n }\n\n\n function triggerEvent() {\n $document.trigger.apply($document, arguments);\n }\n\n function checkSessionExpiration(xhr) {\n //TODO: custom error handlers should be used instead\n if (xhr.status == 401 || xhr.getResponseHeader(\"LoginRequested\")) {\n //trigger custom event to allow do something before page reloading\n $(window).trigger(\"sessionExpired\");\n log.warn(\"Session timed-out. Redirecting to login page.\");\n window.location.reload();\n }\n }\n\n _.partial(triggerEvent, \"request:before\").apply(null, arguments);\n var mergedOptions = _.extend({}, requestSettings, arguments[0]);\n var serverOrigin = getOriginFromUrl(mergedOptions.url);\n if (requestSettings.headers && arguments[0].headers) {\n mergedOptions.headers = _.extend({}, requestSettings.headers, arguments[0].headers);\n }\n if (!isSameOrigin(serverOrigin)) {\n mergedOptions.xhrFields = {withCredentials: true};\n mergedOptions.crossDomain = true;\n mergedOptions.headers[\"X-Remote-Domain\"] = origin;\n } else if (isSameDomainWithDifferentPath(serverOrigin)) {\n mergedOptions.headers[\"X-Remote-Domain\"] = origin + \"/\" + currentUri.split(\"/\")[3];\n }\n\n\n return $.ajax(mergedOptions)\n .fail(isSameOrigin(serverOrigin) && checkSessionExpiration)\n .fail(function (jqXHR, textStatus, errorThrown) {\n if (jqXHR.getResponseHeader(\"adhocException\")) {\n log.error(jqXHR.getResponseHeader(\"adhocException\"));\n } else if (jqXHR.status == 500 || (jqXHR.getResponseHeader(\"JasperServerError\") && !jqXHR.getResponseHeader(\"SuppressError\"))) {\n log.error(jqXHR.responseText);\n }\n })\n .fail(_.partial(triggerEvent, \"request:failure\"))\n .done(_.partial(triggerEvent, \"request:success\"))\n .done(arguments[1]);\n}\n\nexport default () => {\n // set request to registry so now everyone who uses js-sdk/src/common/transport/request will use\n // this request function from the registry\n requestRegistry.request = request;\n};","/*\n * Copyright (C) 2005 - 2022 TIBCO Software Inc. All rights reserved.\n * http://www.jaspersoft.com.\n *\n * Unless you have purchased a commercial license agreement from Jaspersoft,\n * the following license terms apply:\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see .\n */\n\nimport xssUtil from '../util/xssUtil';\nimport $ from 'jquery';\n\nconst extend = function ($) {\n const htmlPrefilter = $.htmlPrefilter;\n\n $.htmlPrefilter = function (html) {\n html = htmlPrefilter.call(this, html);\n return xssUtil.softHtmlEscape(html);\n };\n}\n\nextend($);\n$.noConflict(true);","/*\n * Copyright (C) 2005 - 2022 TIBCO Software Inc. All rights reserved.\n * http://www.jaspersoft.com.\n *\n * Unless you have purchased a commercial license agreement from Jaspersoft,\n * the following license terms apply:\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see .\n */\n\nimport xssUtil from 'js-sdk/src/common/util/xssUtil';\nimport * as prototype from 'prototype'\n\nconst extend = function ($) {\n $.escapeXSS = xssUtil.softHtmlEscape;\n}\n\nextend(prototype.$)","/*\n * Copyright (C) 2005 - 2022 TIBCO Software Inc. All rights reserved.\n * http://www.jaspersoft.com.\n *\n * Unless you have purchased a commercial license agreement from Jaspersoft,\n * the following license terms apply:\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see .\n */\n\nvar primitiveTypes = [\"string\", \"number\", \"boolean\", \"undefined\"];\n\nexport default function cloneDeep(source, customizer) {\n if (source === null) {\n return source;\n }\n\n var sourceType = typeof source;\n\n if (primitiveTypes.indexOf(sourceType) >= 0) {\n return source;\n }\n\n var target,\n value,\n key;\n\n if (typeof customizer === \"function\") {\n target = customizer(source);\n\n if (target) {\n return target;\n }\n }\n\n target = Array.isArray(source) ? [] : {};\n\n for (key in source) {\n if (source.hasOwnProperty(key)) {\n value = source[key];\n\n if (typeof value === \"object\") {\n if (typeof customizer === \"function\") {\n target[key] = customizer(value, key) || cloneDeep(value);\n } else {\n target[key] = cloneDeep(value);\n }\n } else {\n target[key] = value;\n }\n }\n }\n\n return target;\n}","/*\n * Copyright (C) 2005 - 2022 TIBCO Software Inc. All rights reserved.\n * http://www.jaspersoft.com.\n *\n * Unless you have purchased a commercial license agreement from Jaspersoft,\n * the following license terms apply:\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see .\n */\n\n\n/**\n * @author: Igor.Nesterenko\n * @version: ${Id}\n */\n\nimport _ from 'underscore';\nimport $ from 'jquery';\nimport cloneDeep from '../util/cloneDeep';\nimport xssUtil from '../util/xssUtil';\nimport underscoreString from 'underscore.string';\nimport jrsConfigs from '../../jrs.configs';\n\nvar jsNonceTag = RegExp(/(\\s*<\\/js-templateNonce>)|()/gi);\n\n_.str = underscoreString;\n\n//provide default templates\n_.templateSettings = {\n evaluate:/\\{\\{([\\s\\S]+?)\\}\\}/g,\n interpolate:/\\{\\{=([\\s\\S]+?)\\}\\}/g,\n escape:/\\{\\{-([\\s\\S]+?)\\}\\}/g\n};\n\n// Mix in only non-conflict functions to Underscore namespace\nvar strExports = _.str.exports();\nvar conflictedStrFunctions = [\"wrap\"];\n\n_.mixin(_.omit(strExports, conflictedStrFunctions));\n\nvar originalTemplate = _.template,\n originalIsEqual = _.isEqual;\n\n_.mixin({\n xssSoftEscape: xssUtil.softHtmlEscape,\n xssHardEscape: xssUtil.hardEscape,\n\n template: function(text, data, options) {\n var settings = _.templateSettings,\n reNoMatch = /($^)/;\n\n text = String(text || '');\n options = _.defaults({}, options, settings);\n\n var reDelimiters = RegExp((options.escape || reNoMatch).source + '|$', 'g');\n\n text = text.replace(reDelimiters, '{{ print(_.xssHardEscape($1)); }}');\n\n text = text.replace(jsNonceTag, \"\");\n\n var tmplFunction = originalTemplate.call(_, text, options);\n\n if (data) {\n return tmplFunction(data);\n }\n\n return tmplFunction;\n },\n\n isEqual: function(a, b) {\n // we need to override isEquals, because it doesn't support dom or jquery elements\n // generally it's a bad idea to check if dom objects are equal, but we have them set into a\n // backbone model which uses isEquals to produce changed attributes property\n if ((_.isElement(a) && _.isElement(b)) || ((a instanceof $) && (b instanceof $))) {\n return a === b;\n }\n\n return originalIsEqual.apply(_, arguments);\n },\n\n cloneDeep: cloneDeep\n});\n\nexport default _;","/*\n * Copyright (C) 2005 - 2022 TIBCO Software Inc. All rights reserved.\n * http://www.jaspersoft.com.\n *\n * Unless you have purchased a commercial license agreement from Jaspersoft,\n * the following license terms apply:\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see .\n */\n\nimport moment from 'moment';\nimport 'moment-timezone';\nimport loadLocale from './commonLocaleExtension';\n\nconst DEFAULT_EMBEDDED_LOCALES = ['en', 'en-us'];\n\nconst importMomentLocale = (momentLocale) => {\n return import(`moment/locale/${momentLocale}`)\n}\n\nexport default loadLocale({\n exactImportLocale: importMomentLocale,\n embeddedLocales: DEFAULT_EMBEDDED_LOCALES\n}).then((locale) => {\n moment.locale(locale);\n});","/*\n * Copyright (C) 2005 - 2022 TIBCO Software Inc. All rights reserved.\n * http://www.jaspersoft.com.\n *\n * Unless you have purchased a commercial license agreement from Jaspersoft,\n * the following license terms apply:\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see .\n */\n\nconst RGBA_REGEX = /^rgba?\\((\\d+),\\s*(\\d+),\\s*(\\d+)(?:,\\s*(\\d+(?:\\.\\d+)?))?\\)$/;\nconst THRESHOLD = 127.5;\n\nexport default {\n rgba2NoAlphaHex(color: string): string {\n const rgb = color.match(RGBA_REGEX) || [];\n const hexValue = '#';\n\n return [rgb[1], rgb[2], rgb[3]].reduce((memo, val) => {\n const hex = (`0${parseInt(val, 10).toString(16)}`).slice(-2);\n return memo + hex;\n }, hexValue).toUpperCase();\n },\n isRgbTransparent: (rgb: string): boolean => {\n return rgb.replace(/\\s/g, '').indexOf('0,0,0,0') !== -1;\n },\n isRgba: (rgb: string): boolean => {\n return RGBA_REGEX.test(rgb);\n },\n isColorDark: (color: string): boolean => {\n let colour,\n r,\n g,\n b;\n\n if (/^rgb/.test(color)) {\n colour = color.match(RGBA_REGEX) || [];\n\n r = parseInt(colour[1], 10);\n g = parseInt(colour[2], 10);\n b = parseInt(colour[3], 10);\n } else {\n colour = color.substr(1);\n\n r = parseInt(`${colour[0]}${colour[1]}`, 16);\n g = parseInt(`${colour[2]}${colour[3]}`, 16);\n b = parseInt(`${colour[4]}${colour[5]}`, 16);\n }\n\n const rgb = Math.sqrt(\n 0.299 * (r * r)\n + 0.587 * (g * g)\n + 0.114 * (b * b)\n );\n\n return rgb < THRESHOLD;\n }\n}\n","/*\n * Copyright (C) 2005 - 2022 TIBCO Software Inc. All rights reserved.\n * http://www.jaspersoft.com.\n *\n * Unless you have purchased a commercial license agreement from Jaspersoft,\n * the following license terms apply:\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see .\n */\n\nimport React from 'react';\nimport colorConvertUtil from '../util/colorConvertUtil';\nimport Colors from './enum/colors';\n\nconst SWATCH_LIGHT_CLASS = 'jr-mControl-launcher-swatchLight';\nconst TRANSPARENT_CLASS = `${SWATCH_LIGHT_CLASS} jr-mControl-launcher-swatchTransparent`;\n\nexport interface ColorSampleProps {\n color: string,\n label: string,\n onClick(): void\n}\n\nconst getSwatchLightClass = (color : string): string => {\n if (color === Colors.TRANSPARENT) {\n return TRANSPARENT_CLASS;\n }\n if (!colorConvertUtil.isColorDark(color)) {\n return SWATCH_LIGHT_CLASS;\n }\n return '';\n};\n\nconst ColorSample = (props: ColorSampleProps) => {\n const style: React.CSSProperties = { backgroundColor: props.color };\n const className = `jr-mControl-launcher-swatch ${getSwatchLightClass(props.color)} jr`;\n\n return (\n // eslint-disable-next-line jsx-a11y/no-static-element-interactions\n
\n
\n
{ props.label }
\n
\n );\n};\n\nexport { ColorSample };\n","/*\n * Copyright (C) 2005 - 2022 TIBCO Software Inc. All rights reserved.\n * http://www.jaspersoft.com.\n *\n * Unless you have purchased a commercial license agreement from Jaspersoft,\n * the following license terms apply:\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see .\n */\n\nimport React from 'react';\nimport ReactDOM from 'react-dom';\nimport { ColorResult } from 'react-color';\nimport { ColorSample as ColorSampleComponent, ColorSampleProps } from './ColorSample';\nimport { AttachableColorPicker as AttachableColorPickerComponent, ColorPickerProps } from './AttachableColorPicker';\n\nexport interface ColorSelectorProps {\n color: string,\n label: string,\n showTransparentPreset?: boolean,\n onColorChange: (color: ColorResult) => void\n}\n\ninterface ColorSelectorState {\n show: boolean\n}\n\nconst createColorSampleWithColorPicker = (\n ColorSample: React.ComponentType,\n AttachableColorPicker: React.ComponentType\n): React.ComponentType => {\n return class ColorSelector extends React.Component {\n\n constructor(props: ColorSelectorProps) {\n super(props);\n\n this.state = {\n show: false\n };\n\n this.colorSampleRef = React.createRef();\n this.colorPickerContainerWrapper = null;\n }\n\n // eslint-disable-next-line camelcase\n UNSAFE_componentWillMount(): void {\n this.colorPickerContainerWrapper = document.createElement('div');\n this.colorPickerContainerWrapper.className = 'jr-jColorPickerWrapper';\n\n document.body.appendChild(this.colorPickerContainerWrapper);\n }\n\n componentWillUnmount(): void {\n if (this.colorPickerContainerWrapper) {\n this.colorPickerContainerWrapper.remove();\n }\n }\n\n private onClick() {\n const isSetState = this.state.show;\n this.setState({\n show: !isSetState\n });\n }\n\n private onColorPickerHide() {\n this.setState({\n show: false\n });\n }\n\n private readonly colorSampleRef: React.RefObject;\n\n private colorPickerContainerWrapper: HTMLDivElement|null;\n\n render() {\n const { show } = this.state;\n const { color, label } = this.props;\n const colorSampleEl = this.colorSampleRef.current;\n\n const showTransparentPreset = typeof this.props.showTransparentPreset === 'undefined'\n ? true\n : this.props.showTransparentPreset;\n\n let colorPicker: React.ReactElement;\n\n if (colorSampleEl) {\n colorPicker = (\n { this.onColorPickerHide() }}\n attachTo={colorSampleEl}\n />\n )\n } else {\n colorPicker =
;\n }\n\n return (\n <>\n
\n { this.onClick() }}\n />\n
\n {\n ReactDOM.createPortal(colorPicker,\n this.colorPickerContainerWrapper as HTMLDivElement)\n }\n \n )\n }\n }\n};\n\nconst ColorSelector = createColorSampleWithColorPicker(\n ColorSampleComponent,\n AttachableColorPickerComponent\n);\n\nexport { createColorSampleWithColorPicker, ColorSelector };\n","/*\n * Copyright (C) 2005 - 2022 TIBCO Software Inc. All rights reserved.\n * http://www.jaspersoft.com.\n *\n * Unless you have purchased a commercial license agreement from Jaspersoft,\n * the following license terms apply:\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see .\n */\n\nimport React from 'react';\nimport ReactDOM from 'react-dom';\nimport { ColorSelector, ColorSelectorProps } from './ColorSelector';\n\ninterface Options {\n color: string,\n label: string,\n showTransparentPreset: boolean,\n onColorChange(): void,\n ColorSelector?: React.ComponentType\n}\n\nconst defaultOptions = {\n color: '',\n label: '',\n showTransparentPreset: true,\n onColorChange(): void {},\n ColorSelector\n};\n\nexport default class ColorSelectorWrapper {\n private readonly element: HTMLElement;\n\n private readonly onColorChange: () => void;\n\n constructor(element: HTMLElement, options: Options = defaultOptions) {\n this.element = element;\n\n this.onColorChange = options.onColorChange;\n\n this.renderColorSelector({\n color: options.color,\n label: options.label,\n showTransparentPreset: options.showTransparentPreset,\n onColorChange: this.onColorChange\n });\n }\n\n private renderColorSelector(state: Options) {\n ReactDOM.render(\n ,\n this.element\n );\n }\n\n setState(state: { color: string, label: string, showTransparentPreset: boolean}) {\n this.renderColorSelector({\n ...state, onColorChange: this.onColorChange\n });\n }\n\n remove() {\n ReactDOM.unmountComponentAtNode(this.element);\n }\n}\n","/*\n * Copyright (C) 2005 - 2022 TIBCO Software Inc. All rights reserved.\n * http://www.jaspersoft.com.\n *\n * Unless you have purchased a commercial license agreement from Jaspersoft,\n * the following license terms apply:\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see .\n */\n\nimport Epoxy from 'backbone.epoxy';\nimport Backbone from 'backbone';\nimport ColorSelectorWrapper from '../component/colorPicker/react/ColorSelectorWrapper';\nimport _ from 'underscore';\nimport colorConvertUtil from '../component/colorPicker/util/colorConvertUtil';\n\nfunction getAttrName($el, handlerName) {\n var selector = $el.data('bind'), pattern = new RegExp(handlerName + ':(\\\\w*)\\\\(?(\\\\w*)?\\\\)?');\n if (selector) {\n return _.last(_.compact(selector.match(pattern)));\n } else {\n return $el.data('bindAttribute');\n }\n}\nvar bindingSettings = {\n optionText: 'label',\n optionValue: 'value',\n optionClass: 'className'\n};\nvar isCollection = function (obj) {\n return obj instanceof Backbone.Collection;\n};\nvar isModel = function (obj) {\n return obj instanceof Backbone.Model;\n};\nvar isFunction = _.isFunction;\nvar isObject = _.isObject;\n\nconst TRANSPARENT = 'transparent';\nconst TRANSPARENT_LABEL = 'TRANSP';\n\nEpoxy.binding.addHandler('optionsWithAdditionalProperties', {\n init: function ($element, value, context, bindings) {\n this.e = bindings.optionsEmpty;\n this.d = bindings.optionsDefault;\n this.v = bindings.value;\n },\n set: function ($element, value) {\n var self = this;\n var optionsEmpty = readAccessor(self.e);\n var optionsDefault = readAccessor(self.d);\n var currentValue = readAccessor(self.v);\n var options = isCollection(value) ? value.models : value;\n var numOptions = options.length;\n var enabled = true;\n var html = '';\n if (!numOptions && !optionsDefault && optionsEmpty) {\n html += self.opt(optionsEmpty, numOptions);\n enabled = false;\n } else {\n if (optionsDefault) {\n options = [optionsDefault].concat(options);\n }\n _.each(options, function (option, index) {\n html += self.opt(option, numOptions);\n });\n }\n $element.html(html).prop('disabled', !enabled).val(currentValue);\n if ($element[0].selectedIndex < 0 && $element.children().length) {\n $element[0].selectedIndex = 0;\n }\n var revisedValue = $element.val();\n if (self.v && !_.isEqual(currentValue, revisedValue)) {\n self.v(revisedValue);\n }\n },\n opt: function (option, numOptions) {\n var label = option;\n var value = option;\n var className = option;\n var textAttr = bindingSettings.optionText;\n var valueAttr = bindingSettings.optionValue;\n var classAttr = bindingSettings.optionClass;\n var optionClass;\n if (isObject(option)) {\n label = isModel(option) ? option.get(textAttr) : option[textAttr];\n value = isModel(option) ? option.get(valueAttr) : option[valueAttr];\n className = isModel(option) ? option.get(classAttr) : option[classAttr];\n }\n if (className) {\n optionClass = 'class=\"' + className + '\"';\n } else {\n optionClass = '';\n }\n return [\n ''\n ].join('');\n }\n});\nEpoxy.binding.addHandler('validationErrorClass', {\n init: function ($element, value, bindings, context) {\n this.attr = getAttrName($element, 'validationErrorClass');\n var model = this.view.model;\n this._onAttrValidated = function (modelOnValidate, attr, error) {\n $element[error ? 'addClass' : 'removeClass']('error');\n };\n model.on('validate:' + this.attr, this._onAttrValidated);\n },\n get: function ($element, value, event) {\n return $element.val();\n },\n set: function ($element, value) {\n $element.val(value);\n },\n clean: function () {\n this.view.model.off('validate:' + this.attr, this._onAttrValidated);\n }\n});\nEpoxy.binding.addHandler('validationErrorText', {\n init: function ($element, value, bindings, context) {\n this.attr = getAttrName($element, 'validationErrorText');\n var model = this.view.model;\n this._onAttrValidated = function (modelOnValidate, attr, error) {\n $element.text(error || '');\n };\n model.on('validate:' + this.attr, this._onAttrValidated);\n },\n get: function ($element, value, event) {\n return $element.val();\n },\n set: function ($element, value) {\n $element.val(value);\n },\n clean: function () {\n this.view.model.off('validate:' + this.attr, this._onAttrValidated);\n }\n});\nEpoxy.binding.addFilter('escapeCharacters', {\n get: function (value) {\n return _.escape(value);\n },\n set: function (value) {\n return _.unescape(value);\n }\n});\nEpoxy.binding.addHandler('colorpicker', {\n init: function ($element, value, bindings, context) {\n var self = this,\n showTransparentInput = !!$element.data('showTransparentInput'),\n attr = getAttrName($element, 'colorpicker'),\n colorSelectorState = this._getColorSelectorState(value);\n this.colorPicker = new ColorSelectorWrapper($element[0], {\n showTransparentPreset: showTransparentInput,\n color: colorSelectorState.color,\n label: colorSelectorState.label,\n onColorChange: function(color){\n bindings[attr](self._convertColorForModel(color));\n }\n });\n },\n get: function ($element, value, event) {\n return $element.val();\n },\n set: function ($element, value) {\n let state = this._getColorSelectorState(value);\n this.colorPicker.setState(state);\n },\n clean: function () {\n this.colorPicker.remove();\n },\n _getColorSelectorState: function(value) {\n let label = colorConvertUtil.rgba2NoAlphaHex(value),\n color = label;\n\n if (colorConvertUtil.isRgbTransparent(value)) {\n label = TRANSPARENT_LABEL;\n color = TRANSPARENT;\n }\n\n return {\n label,\n color\n };\n },\n _convertColorForModel: function(color) {\n var rgb = color.rgb;\n\n return (`rgba(${rgb.r}, ${rgb.g}, ${rgb.b}, ${rgb.a})`);\n }\n});\nEpoxy.binding.addHandler('radioDiv', {\n init: function ($element, value, bindings, context) {\n var attr = getAttrName($element, 'radioDiv');\n this.callback = function () {\n var elementValue = $element.data('value');\n bindings[attr](elementValue);\n };\n $element.on('click', _.bind(this.callback, this));\n },\n get: function ($element, value, event) {\n return $element.data('value');\n },\n set: function ($element, value) {\n var radioDivs = $element.siblings('div[data-bind*=\\'radioDiv:\\']');\n if ($element.data('value') === value) {\n $element.addClass('checked');\n $element.children('.radioChild').addClass('checked');\n radioDivs.removeClass('checked');\n radioDivs.children('.radioChild').removeClass('checked');\n }\n }\n});\nEpoxy.binding.addHandler('checkboxDiv', {\n init: function ($element, value, bindings, context) {\n var attr = getAttrName($element, 'checkboxDiv');\n this.callback = function () {\n bindings[attr](!bindings[attr]());\n };\n $element.on('click', _.bind(this.callback, this));\n },\n get: function ($element, value, event) {\n return $element.data('value');\n },\n set: function ($element, value) {\n if (value) {\n $element.addClass('checked');\n $element.children('.checkboxChild').addClass('checked');\n } else {\n $element.removeClass('checked');\n $element.children('.checkboxChild').removeClass('checked');\n }\n }\n});\nEpoxy.binding.addHandler('slide', function ($element, value) {\n $element[value ? 'slideDown' : 'slideUp']({\n complete: function () {\n !value && $element.hide();\n }\n });\n});\nEpoxy.binding.addHandler('selectionRange', {\n get: function ($element, value, event) {\n return {\n selectionRange: {\n start: $element[0].selectionStart,\n end: $element[0].selectionEnd\n }\n };\n },\n set: function ($element, value) {\n if ($element.is(':visible')) {\n $element[0].setSelectionRange(value.start, value.end);\n $element.focus();\n }\n }\n});\nEpoxy.binding.addFilter('prependText', function (value, text) {\n if (text.charAt(0) === '\\'' && text.charAt(text.length - 1) === '\\'') {\n text = text.slice(1, text.length - 1);\n }\n return text + ' ' + (_.isUndefined(value) ? '' : value);\n});\nfunction readAccessor(accessor) {\n if (isFunction(accessor)) {\n return accessor();\n } else if (isObject(accessor)) {\n accessor = _.clone(accessor);\n _.each(accessor, function (value, key) {\n accessor[key] = readAccessor(value);\n });\n }\n return accessor;\n}\nexport default Epoxy;","/*\n * Copyright (C) 2005 - 2022 TIBCO Software Inc. All rights reserved.\n * http://www.jaspersoft.com.\n *\n * Unless you have purchased a commercial license agreement from Jaspersoft,\n * the following license terms apply:\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see .\n */\n\nimport tv4 from 'tv4';\nimport timeUtil from '../util/parse/time';\nimport dateUtil from '../util/parse/date';\n\ntv4.addFormat({\n 'date-time': function (value) {\n if (dateUtil.isIso8601Timestamp(value)) {\n return null;\n }\n return 'A valid ISO 8601 date-time string (YYYY-MM-DDThh:mm:ss) is expected';\n },\n 'time': function (value) {\n if (timeUtil.isIso8601Time(value)) {\n return null;\n }\n return 'A valid ISO 8601 time string (hh:mm:ss) is expected';\n }\n});\n\nexport default tv4;","/*\n * Copyright (C) 2005 - 2019 TIBCO Software Inc. All rights reserved.\n * http://www.jaspersoft.com.\n *\n * Unless you have purchased a commercial license agreement from Jaspersoft,\n * the following license terms apply:\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see .\n */\n\nimport Backbone from 'backbone';\nimport request from \"js-sdk/src/common/transport/request\";\n\nBackbone.ajax = request;\nBackbone.noConflict();\n\nexport default Backbone;\n","/*\n * Copyright (C) 2005 - 2019 TIBCO Software Inc. All rights reserved.\n * http://www.jaspersoft.com.\n *\n * Unless you have purchased a commercial license agreement from Jaspersoft,\n * the following license terms apply:\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see .\n */\n\nimport bundleLoader from '../i18n/bundleLoader';\nimport extendRequest from '../transport/requestExtension';\nimport 'js-sdk/src/common/extension/jqueryExtension';\nimport './prototypeExtension';\nimport \"js-sdk/src/common/extension/underscoreExtension\";\nimport momentLocaleLoaded from \"js-sdk/src/common/extension/momentExtension\";\nimport \"js-sdk/src/common/extension/epoxyExtension\";\nimport \"js-sdk/src/common/extension/tv4Extension\";\nimport \"js-sdk/src/common/extension/jQueryTimepickerExtension\";\nimport \"../config/backboneConfig\";\n\nconst importNumeralExtension = () => import(/* webpackMode: \"eager\" */ \"js-sdk/src/common/extension/numeralExtension\");\n\nextendRequest();\n\nexport default Promise.all([\n bundleLoader([\"jasperserver_config\"]).then(importNumeralExtension),\n momentLocaleLoaded\n]);\n","/*\n * Copyright (C) 2005 - 2019 TIBCO Software Inc. All rights reserved.\n * http://www.jaspersoft.com.\n *\n * Unless you have purchased a commercial license agreement from Jaspersoft,\n * the following license terms apply:\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see .\n */\n\n// This file should be very first import in each final js webpack bundle\n// This module does configuration for all js bundles\n\nimport bundleLoader from '../i18n/bundleLoader';\nimport settingsLoader from '../settings/settingsLoader';\nimport allExtensionsLoaded from './allExtensionsSetup';\n\nexport default ({bundles, settings, importCommonModule} = {}) => {\n if (importCommonModule) {\n // wait for bundles for the common modules and for the common module itself\n Promise.all([\n bundleLoader([\"CommonBundle\", \"jasperserver_config\", \"jasperserver_messages\", \"jsexceptions_messages\"]),\n settingsLoader([\"dateTimeSettings\"])\n ]).then(importCommonModule)\n }\n\n return Promise.all([\n allExtensionsLoaded,\n bundleLoader(bundles),\n settingsLoader(settings)\n ]);\n}\n","/*\n * Copyright (C) 2005 - 2022 TIBCO Software Inc. All rights reserved.\n * http://www.jaspersoft.com.\n *\n * Unless you have purchased a commercial license agreement from Jaspersoft,\n * the following license terms apply:\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see .\n */\n\nexport default () => ({\n headers: {\n 'X-Suppress-Basic': 'true',\n 'Cache-Control': 'no-cache, no-store',\n 'Pragma': 'no-cache'\n }\n});","/*\n * Copyright (C) 2005 - 2022 TIBCO Software Inc. All rights reserved.\n * http://www.jaspersoft.com.\n *\n * Unless you have purchased a commercial license agreement from Jaspersoft,\n * the following license terms apply:\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see .\n */\n\nimport jrsConfigs from '../../jrs.configs';\n\nconst DEFAULT_LOCALE_SEPARATOR = '-';\nconst DEFAULT_LOCALE_FALLBACK = 'en';\nconst DEFAULT_EMBEDDED_LOCALES = [DEFAULT_LOCALE_FALLBACK];\n\nconst importLocale = (locale, exactImportLocale, embeddedLocales) => {\n if (!embeddedLocales.includes(locale)) {\n return exactImportLocale(locale);\n } else {\n // en and en-us locales are bundled into the moment library, no need to load them\n return Promise.resolve();\n }\n}\n\n// if locale is zh-cn we will load zh-cn first\n// and if load will fail we will try to load zh locale as a fallback\n// if load still will fail we will use default fallback\nconst resolveLocale = (localesToCheck, localeFallback, exactImportLocale, embeddedLocales) => {\n const localeToImport = localesToCheck.pop();\n return importLocale(localeToImport, exactImportLocale, embeddedLocales)\n .then(() => localeToImport)\n .catch(() => {\n if (localesToCheck.length > 0) {\n return resolveLocale(localesToCheck, localeFallback, exactImportLocale, embeddedLocales);\n } else {\n return localeFallback;\n }\n })\n}\n\nconst defaultLocaleConverter = (locale) => {\n const locales = locale.toLowerCase().split('_');\n\n return locales.reduce((acc, nextLocalePart, index) => {\n const previousLocalePart = index > 0 ? `${acc[index - 1]}${DEFAULT_LOCALE_SEPARATOR}` : ''\n const nextLocale = `${previousLocalePart}${nextLocalePart}`;\n return acc.concat(nextLocale);\n }, []);\n}\n\nexport default ({\n exactImportLocale,\n locale = jrsConfigs.userLocale,\n localeFallback = DEFAULT_LOCALE_FALLBACK,\n localeConverter = defaultLocaleConverter,\n embeddedLocales = DEFAULT_EMBEDDED_LOCALES\n}) => {\n const localesToCheck = localeConverter(locale);\n\n return resolveLocale(localesToCheck, localeFallback, exactImportLocale, embeddedLocales);\n}","\n import {store, MERGED_BUNDLES_NAME} from 'bundleStore';\n \n let bundle;\n \n if ('jasperserver_config' !== MERGED_BUNDLES_NAME) {\n store['jasperserver_config'] = store['jasperserver_config'] || {};\n bundle = store['jasperserver_config'];\n } else {\n bundle = Object.keys(store).reduce((acc, key) => {\n return {\n ...acc,\n ...store[key]\n }\n }, {});\n }\n \n export default bundle;\n ","/*\n * Copyright (C) 2005 - 2022 TIBCO Software Inc. All rights reserved.\n * http://www.jaspersoft.com.\n *\n * Unless you have purchased a commercial license agreement from Jaspersoft,\n * the following license terms apply:\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see .\n */\n\nimport numeral from 'numeral';\nimport jasperserverConfig from \"../../i18n/jasperserver_config.properties\";\nimport loadLocale from './commonLocaleExtension';\n\nconst DEFAULT_EMBEDDED_LOCALES = ['en'];\n\nconst importNumeralLocale = (locale) => {\n return import(`numeral/locales/${locale}`);\n}\n\nexport default loadLocale({\n exactImportLocale: importNumeralLocale,\n embeddedLocales: DEFAULT_EMBEDDED_LOCALES\n}).then((locale) => {\n numeral.locale(locale);\n numeral.localeData(locale).currency.symbol = jasperserverConfig['client.currency.symbol'];\n numeral.localeData(locale).delimiters.thousands = jasperserverConfig['client.delimiters.thousands'];\n numeral.localeData(locale).delimiters.decimal = jasperserverConfig['client.delimiters.decimal'];\n});","/*\n * Copyright (C) 2005 - 2022 TIBCO Software Inc. All rights reserved.\n * http://www.jaspersoft.com.\n *\n * Unless you have purchased a commercial license agreement from Jaspersoft,\n * the following license terms apply:\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see .\n */\n\n\n/**\n * @author: Pavel Savushchyk\n * @version: $Id$\n */\n\nexport default {\n DEBUG: 100,\n INFO: 200,\n WARN: 300,\n ERROR: 400\n};","/*\n * Copyright (C) 2005 - 2022 TIBCO Software Inc. All rights reserved.\n * http://www.jaspersoft.com.\n *\n * Unless you have purchased a commercial license agreement from Jaspersoft,\n * the following license terms apply:\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see .\n */\n\n\n/**\n * @author: Pavel Savushchyk\n * @version: $Id$\n */\n\nimport levels from \"../enum/loggingLevels\";\n\nfunction Level(level, name) {\n this.level = level;\n this.name = name.toUpperCase();\n}\n\nLevel.prototype.isGreaterOrEqual = function(globalLevel) {\n var levelNumber = (globalLevel instanceof Level ? globalLevel : Level.getLevel(globalLevel) ).level;\n return this.level >= levelNumber;\n};\nLevel.prototype.toString = function() {\n return this.name;\n};\nLevel.getLevel = function(level) {\n return Level[level.toUpperCase()];\n};\n\nfor (var i in levels) {\n if (levels.hasOwnProperty(i)) {\n Level[i] = new Level(levels[i], i);\n }\n}\n\nexport default Level;","/*\n * Copyright (C) 2005 - 2022 TIBCO Software Inc. All rights reserved.\n * http://www.jaspersoft.com.\n *\n * Unless you have purchased a commercial license agreement from Jaspersoft,\n * the following license terms apply:\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see .\n */\n\n\n/**\n * @author: Pavel Savushchyk\n * @version: $Id$\n */\n\nfunction formatTime(date) {\n var timeString,\n h = date.getHours().toString(),\n m = date.getMinutes().toString(),\n s = date.getSeconds().toString(),\n ms = date.getMilliseconds();\n\n if (h.length === 1) {\n h = \"0\" + h;\n }\n if (m.length === 1) {\n m = \"0\" + m;\n }\n if (s.length === 1) {\n s = \"0\" + s;\n }\n\n timeString = h + \":\" + m + \":\" + s + \".\" + ms;\n\n return timeString;\n}\n\nfunction LogItem(options) {\n for (var i in options) {\n if (options.hasOwnProperty(i)) {\n if (i === \"args\") {\n for (var k = 0, l = options[i].length; k < l; k++) {\n if (options[i][k] instanceof Error) {\n options[i][k] = options[i][k].message;\n }\n }\n }\n this[i] = options[i];\n }\n }\n}\n\nLogItem.prototype.toArray = function() {\n var logParams = [];\n logParams.push(formatTime(this.time));\n logParams.push(\"[\" + this.id + \"]\");\n if (this.file !== \"unknown\"){\n logParams.push(\"[\" + this.file + \":\" + this.line + \"]\");\n }\n logParams.push(\"[\" + this.level.toString() + \"] -\");\n logParams = logParams.concat(this.args);\n\n return logParams;\n};\n\nexport default LogItem;","/*\n * Copyright (C) 2005 - 2022 TIBCO Software Inc. All rights reserved.\n * http://www.jaspersoft.com.\n *\n * Unless you have purchased a commercial license agreement from Jaspersoft,\n * the following license terms apply:\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see .\n */\n\n\n/**\n * @author: Pavel Savushchyk\n * @version: $Id$\n */\n\nimport Level from \"./Level\";\nimport LogItem from \"./LogItem\";\n\nfunction createLogMethod(type) {\n return function() {\n return this._prepareLogItem({\n level: Level.getLevel(type),\n args: arguments\n });\n }\n}\n\nfunction Log(settings, callback) {\n this._id = settings.id;\n this._callback = callback;\n}\n\nLog.prototype._prepareLogItem = function(logItem) {\n logItem.id = this._id;\n logItem.args = Array.prototype.slice.call(logItem.args, 0);\n logItem.time = new Date();\n\n // TODO cross browser support\n var stack = new Error().stack;\n if (stack) {\n var lineAccessingLogger = stack.split(\"\\n\")[2];\n if (lineAccessingLogger != null) {\n var res = lineAccessingLogger.match(/\\/(\\w+\\.\\w+):(\\d+)/i);\n if (res) {\n logItem.file = res[1];\n logItem.line = res[2];\n }\n }\n }\n if (!logItem.file) {\n logItem.file = \"unknown\";\n logItem.line = \"0\";\n }\n\n logItem = new LogItem(logItem);\n\n this._callback(logItem);\n return logItem;\n};\n\nLog.prototype.debug = createLogMethod(\"debug\");\nLog.prototype.info = createLogMethod(\"info\");\nLog.prototype.warn = createLogMethod(\"warn\");\nLog.prototype.error = createLogMethod(\"error\");\n\nexport default Log;","/*\n * Copyright (C) 2005 - 2022 TIBCO Software Inc. All rights reserved.\n * http://www.jaspersoft.com.\n *\n * Unless you have purchased a commercial license agreement from Jaspersoft,\n * the following license terms apply:\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see .\n */\n\n\n/**\n * @author: Pavel Savushchyk\n * @version: $Id$\n */\n\n/*global console */\nfunction ConsoleAppender() {}\n\nConsoleAppender.prototype.console = (function() {\n if (typeof console === \"undefined\") {\n var f = function() {};\n\n return {\n assert: f,\n clear: f,\n count: f,\n debug: f,\n dir: f,\n dirxml: f,\n error: f,\n group: f,\n groupCollapsed: f,\n groupEnd: f,\n info: f,\n log: f,\n markTimeline: f,\n profile: f,\n profileEnd: f,\n table: f,\n time: f,\n timeEnd: f,\n timeStamp: f,\n trace: f,\n warn: f\n }\n } else {\n return console;\n }\n})();\n\nConsoleAppender.prototype.write = function(logItem) {\n\n var f = this.console.log;\n\n switch (logItem.level.toString()) {\n case \"DEBUG\":\n f = this.console.debug || this.console.log;\n break;\n case \"INFO\":\n f = this.console.info || this.console.log;\n break;\n case \"WARN\":\n f = this.console.warn;\n break;\n case \"ERROR\":\n f = this.console.error;\n break;\n }\n\n try\n {\n f.apply(this.console, logItem.toArray());\n }\n catch (e)\n {\n try {\n Function.prototype.apply.call(f, this.console, logItem.toArray());\n } catch(ex) {}\n }\n};\n\nexport default ConsoleAppender;","/*\n * Copyright (C) 2005 - 2022 TIBCO Software Inc. All rights reserved.\n * http://www.jaspersoft.com.\n *\n * Unless you have purchased a commercial license agreement from Jaspersoft,\n * the following license terms apply:\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see .\n */\n\n\n/**\n * @author: Pavel Savushchyk\n * @version: $Id$\n */\n\n\nimport _ from \"underscore\";\nimport Log from \"./Log\";\nimport Level from \"./Level\";\nimport ConsoleAppender from \"./appender/ConsoleAppender\";\n\nvar appenderConstructors = {\n console: ConsoleAppender\n};\n\nvar LoggerManager = function(options) {\n this.initialize(options || {});\n};\n\n_.extend(LoggerManager.prototype, {\n\n defaults : function() {\n return {\n enabled: false,\n level: \"error\",\n appenders: {},\n appenderInstances: {},\n loggers: {}\n }\n },\n\n initialize: function(options) {\n this.attributes = _.defaults(options, this.defaults());\n\n // initialize appenders\n var appenders = {};\n _.each(appenderConstructors, function(appender, name){\n appenders[name] = new appender();\n });\n this.set(\"appenderInstances\", appenders);\n\n },\n\n get: function(attr) {\n return this.attributes[attr];\n },\n\n set: function(attr, value) {\n this.attributes[attr] = value;\n },\n\n register: function(options) {\n var settings = {\n id: \"root\"\n };\n\n if (typeof options === \"string\" && options !== \"\") {\n settings.id = options;\n } else if (options && options.hasOwnProperty(\"id\")) {\n settings.id = options.id;\n }\n\n if (!this.get(\"loggers\").hasOwnProperty(settings.id)) {\n var loggers = this.get(\"loggers\");\n loggers[settings.id] = new Log(settings, _.bind(this._processLogItem, this));\n this.set(\"loggers\", loggers);\n }\n\n return this.get(\"loggers\")[settings.id];\n },\n disable: function() {\n this.set(\"enabled\", false);\n },\n enable: function(level) {\n if (level) {\n this.set(\"level\", Level.getLevel(level));\n }\n this.set(\"enabled\", true);\n },\n setLevel: function(level) {\n this.set(\"level\", level);\n },\n\n _processLogItem: function(logItem) {\n if (this.get(\"enabled\") && logItem.level.isGreaterOrEqual(this.get(\"level\"))) {\n this._appendLogItem(logItem);\n }\n },\n _appendLogItem: function(logItem) {\n var appenders = this.get(\"appenders\"),\n appenderInstances = this.get(\"appenderInstances\");\n for (var i in appenders) {\n if (appenderInstances.hasOwnProperty(appenders[i])) {\n appenderInstances[appenders[i]].write(logItem);\n }\n }\n }\n});\n\nexport default LoggerManager;","/*\n * Copyright (C) 2005 - 2022 TIBCO Software Inc. All rights reserved.\n * http://www.jaspersoft.com.\n *\n * Unless you have purchased a commercial license agreement from Jaspersoft,\n * the following license terms apply:\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see .\n */\n\nimport LoggerManager from './LoggerManager';\nimport config from \"./loggerConfig\";\n\nlet logger = new LoggerManager(config);\nexport default logger;","/*\n * Copyright (C) 2005 - 2022 TIBCO Software Inc. All rights reserved.\n * http://www.jaspersoft.com.\n *\n * Unless you have purchased a commercial license agreement from Jaspersoft,\n * the following license terms apply:\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see .\n */\n\n/* global process */\n\nexport default {\n enabled : process.env.LOGGER_ENABLED !== 'false',\n level : process.env.LOGGER_LEVEL || 'error',\n appenders: (process.env.LOGGER_APPENDERS || \"console\").split(',')\n};","/*\n * Copyright (C) 2005 - 2022 TIBCO Software Inc. All rights reserved.\n * http://www.jaspersoft.com.\n *\n * Unless you have purchased a commercial license agreement from Jaspersoft,\n * the following license terms apply:\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see .\n */\n\nimport $ from 'jquery';\nimport _ from 'underscore';\nimport requestSettingsDefault from '../config/requestSettings';\nimport requestRegistry from \"./requestRegistry\";\n\nconst defaultRequest = (...args) => {\n const requestSettings = requestSettingsDefault();\n\n var mergedOptions = _.extend({}, requestSettings, args[0]);\n\n if (requestSettings.headers && args[0].headers) {\n mergedOptions.headers = _.extend({}, requestSettings.headers, args[0].headers);\n }\n\n args[0] = mergedOptions;\n\n return $.ajax.apply($, args);\n}\n\nexport default function (...args) {\n if (requestRegistry.request) {\n return requestRegistry.request.call(null, ...args);\n }\n\n return defaultRequest(...args);\n}","/*\n * Copyright (C) 2005 - 2019 TIBCO Software Inc. All rights reserved.\n * http://www.jaspersoft.com.\n *\n * Unless you have purchased a commercial license agreement from Jaspersoft,\n * the following license terms apply:\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see .\n */\n\nexport default {\n request: null //set value to override default request\n};","var map = {\n\t\"./af\": [\n\t\t81584,\n\t\t1584\n\t],\n\t\"./af.js\": [\n\t\t81584,\n\t\t1584\n\t],\n\t\"./ar\": [\n\t\t89545,\n\t\t9545\n\t],\n\t\"./ar-dz\": [\n\t\t16576,\n\t\t6576\n\t],\n\t\"./ar-dz.js\": [\n\t\t16576,\n\t\t6576\n\t],\n\t\"./ar-kw\": [\n\t\t58501,\n\t\t8501\n\t],\n\t\"./ar-kw.js\": [\n\t\t58501,\n\t\t8501\n\t],\n\t\"./ar-ly\": [\n\t\t92873,\n\t\t2873\n\t],\n\t\"./ar-ly.js\": [\n\t\t92873,\n\t\t2873\n\t],\n\t\"./ar-ma\": [\n\t\t92901,\n\t\t2901\n\t],\n\t\"./ar-ma.js\": [\n\t\t92901,\n\t\t2901\n\t],\n\t\"./ar-sa\": [\n\t\t22840,\n\t\t2840\n\t],\n\t\"./ar-sa.js\": [\n\t\t22840,\n\t\t2840\n\t],\n\t\"./ar-tn\": [\n\t\t20487,\n\t\t487\n\t],\n\t\"./ar-tn.js\": [\n\t\t20487,\n\t\t487\n\t],\n\t\"./ar.js\": [\n\t\t89545,\n\t\t9545\n\t],\n\t\"./az\": [\n\t\t51766,\n\t\t1766\n\t],\n\t\"./az.js\": [\n\t\t51766,\n\t\t1766\n\t],\n\t\"./be\": [\n\t\t31101,\n\t\t1101\n\t],\n\t\"./be.js\": [\n\t\t31101,\n\t\t1101\n\t],\n\t\"./bg\": [\n\t\t9295,\n\t\t9295\n\t],\n\t\"./bg.js\": [\n\t\t9295,\n\t\t9295\n\t],\n\t\"./bm\": [\n\t\t51262,\n\t\t1262\n\t],\n\t\"./bm.js\": [\n\t\t51262,\n\t\t1262\n\t],\n\t\"./bn\": [\n\t\t74652,\n\t\t4652\n\t],\n\t\"./bn-bd\": [\n\t\t86775,\n\t\t6775\n\t],\n\t\"./bn-bd.js\": [\n\t\t86775,\n\t\t6775\n\t],\n\t\"./bn.js\": [\n\t\t74652,\n\t\t4652\n\t],\n\t\"./bo\": [\n\t\t7215,\n\t\t7215\n\t],\n\t\"./bo.js\": [\n\t\t7215,\n\t\t7215\n\t],\n\t\"./br\": [\n\t\t75384,\n\t\t5384\n\t],\n\t\"./br.js\": [\n\t\t75384,\n\t\t5384\n\t],\n\t\"./bs\": [\n\t\t69138,\n\t\t9138\n\t],\n\t\"./bs.js\": [\n\t\t69138,\n\t\t9138\n\t],\n\t\"./ca\": [\n\t\t70376,\n\t\t376\n\t],\n\t\"./ca.js\": [\n\t\t70376,\n\t\t376\n\t],\n\t\"./cs\": [\n\t\t79648,\n\t\t9648\n\t],\n\t\"./cs.js\": [\n\t\t79648,\n\t\t9648\n\t],\n\t\"./cv\": [\n\t\t35344,\n\t\t5344\n\t],\n\t\"./cv.js\": [\n\t\t35344,\n\t\t5344\n\t],\n\t\"./cy\": [\n\t\t23574,\n\t\t3574\n\t],\n\t\"./cy.js\": [\n\t\t23574,\n\t\t3574\n\t],\n\t\"./da\": [\n\t\t3016,\n\t\t3016\n\t],\n\t\"./da.js\": [\n\t\t3016,\n\t\t3016\n\t],\n\t\"./de\": [\n\t\t21878,\n\t\t1878\n\t],\n\t\"./de-at\": [\n\t\t92014,\n\t\t2014\n\t],\n\t\"./de-at.js\": [\n\t\t92014,\n\t\t2014\n\t],\n\t\"./de-ch\": [\n\t\t70888,\n\t\t888\n\t],\n\t\"./de-ch.js\": [\n\t\t70888,\n\t\t888\n\t],\n\t\"./de.js\": [\n\t\t21878,\n\t\t1878\n\t],\n\t\"./dv\": [\n\t\t84028,\n\t\t4028\n\t],\n\t\"./dv.js\": [\n\t\t84028,\n\t\t4028\n\t],\n\t\"./el\": [\n\t\t3072,\n\t\t3072\n\t],\n\t\"./el.js\": [\n\t\t3072,\n\t\t3072\n\t],\n\t\"./en-au\": [\n\t\t16501,\n\t\t6501\n\t],\n\t\"./en-au.js\": [\n\t\t16501,\n\t\t6501\n\t],\n\t\"./en-ca\": [\n\t\t63599,\n\t\t3599\n\t],\n\t\"./en-ca.js\": [\n\t\t63599,\n\t\t3599\n\t],\n\t\"./en-gb\": [\n\t\t779,\n\t\t779\n\t],\n\t\"./en-gb.js\": [\n\t\t779,\n\t\t779\n\t],\n\t\"./en-ie\": [\n\t\t28420,\n\t\t8420\n\t],\n\t\"./en-ie.js\": [\n\t\t28420,\n\t\t8420\n\t],\n\t\"./en-il\": [\n\t\t17305,\n\t\t7305\n\t],\n\t\"./en-il.js\": [\n\t\t17305,\n\t\t7305\n\t],\n\t\"./en-in\": [\n\t\t68382,\n\t\t4213\n\t],\n\t\"./en-in.js\": [\n\t\t68382,\n\t\t4213\n\t],\n\t\"./en-nz\": [\n\t\t29493,\n\t\t9493\n\t],\n\t\"./en-nz.js\": [\n\t\t29493,\n\t\t9493\n\t],\n\t\"./en-sg\": [\n\t\t90033,\n\t\t33\n\t],\n\t\"./en-sg.js\": [\n\t\t90033,\n\t\t33\n\t],\n\t\"./eo\": [\n\t\t48953,\n\t\t8953\n\t],\n\t\"./eo.js\": [\n\t\t48953,\n\t\t8953\n\t],\n\t\"./es\": [\n\t\t28107,\n\t\t8107\n\t],\n\t\"./es-do\": [\n\t\t34864,\n\t\t4864\n\t],\n\t\"./es-do.js\": [\n\t\t34864,\n\t\t4864\n\t],\n\t\"./es-mx\": [\n\t\t7527,\n\t\t7527\n\t],\n\t\"./es-mx.js\": [\n\t\t7527,\n\t\t7527\n\t],\n\t\"./es-us\": [\n\t\t3547,\n\t\t3547\n\t],\n\t\"./es-us.js\": [\n\t\t3547,\n\t\t3547\n\t],\n\t\"./es.js\": [\n\t\t28107,\n\t\t8107\n\t],\n\t\"./et\": [\n\t\t10744,\n\t\t744\n\t],\n\t\"./et.js\": [\n\t\t10744,\n\t\t744\n\t],\n\t\"./eu\": [\n\t\t50081,\n\t\t81\n\t],\n\t\"./eu.js\": [\n\t\t50081,\n\t\t81\n\t],\n\t\"./fa\": [\n\t\t96214,\n\t\t6214\n\t],\n\t\"./fa.js\": [\n\t\t96214,\n\t\t6214\n\t],\n\t\"./fi\": [\n\t\t94351,\n\t\t4351\n\t],\n\t\"./fi.js\": [\n\t\t94351,\n\t\t4351\n\t],\n\t\"./fil\": [\n\t\t76037,\n\t\t6037\n\t],\n\t\"./fil.js\": [\n\t\t76037,\n\t\t6037\n\t],\n\t\"./fo\": [\n\t\t68598,\n\t\t8598\n\t],\n\t\"./fo.js\": [\n\t\t68598,\n\t\t8598\n\t],\n\t\"./fr\": [\n\t\t4388,\n\t\t4388\n\t],\n\t\"./fr-ca\": [\n\t\t78405,\n\t\t8405\n\t],\n\t\"./fr-ca.js\": [\n\t\t78405,\n\t\t8405\n\t],\n\t\"./fr-ch\": [\n\t\t43799,\n\t\t3799\n\t],\n\t\"./fr-ch.js\": [\n\t\t43799,\n\t\t3799\n\t],\n\t\"./fr.js\": [\n\t\t4388,\n\t\t4388\n\t],\n\t\"./fy\": [\n\t\t45262,\n\t\t5262\n\t],\n\t\"./fy.js\": [\n\t\t45262,\n\t\t5262\n\t],\n\t\"./ga\": [\n\t\t72026,\n\t\t2026\n\t],\n\t\"./ga.js\": [\n\t\t72026,\n\t\t2026\n\t],\n\t\"./gd\": [\n\t\t23326,\n\t\t3326\n\t],\n\t\"./gd.js\": [\n\t\t23326,\n\t\t3326\n\t],\n\t\"./gl\": [\n\t\t51242,\n\t\t1242\n\t],\n\t\"./gl.js\": [\n\t\t51242,\n\t\t1242\n\t],\n\t\"./gom-deva\": [\n\t\t80801,\n\t\t801\n\t],\n\t\"./gom-deva.js\": [\n\t\t80801,\n\t\t801\n\t],\n\t\"./gom-latn\": [\n\t\t68262,\n\t\t8262\n\t],\n\t\"./gom-latn.js\": [\n\t\t68262,\n\t\t8262\n\t],\n\t\"./gu\": [\n\t\t37301,\n\t\t7301\n\t],\n\t\"./gu.js\": [\n\t\t37301,\n\t\t7301\n\t],\n\t\"./he\": [\n\t\t81867,\n\t\t1867\n\t],\n\t\"./he.js\": [\n\t\t81867,\n\t\t1867\n\t],\n\t\"./hi\": [\n\t\t78568,\n\t\t8568\n\t],\n\t\"./hi.js\": [\n\t\t78568,\n\t\t8568\n\t],\n\t\"./hr\": [\n\t\t76268,\n\t\t6268\n\t],\n\t\"./hr.js\": [\n\t\t76268,\n\t\t6268\n\t],\n\t\"./hu\": [\n\t\t53507,\n\t\t3507\n\t],\n\t\"./hu.js\": [\n\t\t53507,\n\t\t3507\n\t],\n\t\"./hy-am\": [\n\t\t75833,\n\t\t5833\n\t],\n\t\"./hy-am.js\": [\n\t\t75833,\n\t\t5833\n\t],\n\t\"./id\": [\n\t\t22479,\n\t\t2479\n\t],\n\t\"./id.js\": [\n\t\t22479,\n\t\t2479\n\t],\n\t\"./is\": [\n\t\t31138,\n\t\t1138\n\t],\n\t\"./is.js\": [\n\t\t31138,\n\t\t1138\n\t],\n\t\"./it\": [\n\t\t85607,\n\t\t5607\n\t],\n\t\"./it-ch\": [\n\t\t21619,\n\t\t1619\n\t],\n\t\"./it-ch.js\": [\n\t\t21619,\n\t\t1619\n\t],\n\t\"./it.js\": [\n\t\t85607,\n\t\t5607\n\t],\n\t\"./ja\": [\n\t\t83430,\n\t\t3430\n\t],\n\t\"./ja.js\": [\n\t\t83430,\n\t\t3430\n\t],\n\t\"./jv\": [\n\t\t58590,\n\t\t8590\n\t],\n\t\"./jv.js\": [\n\t\t58590,\n\t\t8590\n\t],\n\t\"./ka\": [\n\t\t42265,\n\t\t2265\n\t],\n\t\"./ka.js\": [\n\t\t42265,\n\t\t2265\n\t],\n\t\"./kk\": [\n\t\t41157,\n\t\t1157\n\t],\n\t\"./kk.js\": [\n\t\t41157,\n\t\t1157\n\t],\n\t\"./km\": [\n\t\t966,\n\t\t966\n\t],\n\t\"./km.js\": [\n\t\t966,\n\t\t966\n\t],\n\t\"./kn\": [\n\t\t12041,\n\t\t2041\n\t],\n\t\"./kn.js\": [\n\t\t12041,\n\t\t2041\n\t],\n\t\"./ko\": [\n\t\t25157,\n\t\t5157\n\t],\n\t\"./ko.js\": [\n\t\t25157,\n\t\t5157\n\t],\n\t\"./ku\": [\n\t\t510,\n\t\t510\n\t],\n\t\"./ku.js\": [\n\t\t510,\n\t\t510\n\t],\n\t\"./ky\": [\n\t\t95753,\n\t\t5753\n\t],\n\t\"./ky.js\": [\n\t\t95753,\n\t\t5753\n\t],\n\t\"./lb\": [\n\t\t79868,\n\t\t9868\n\t],\n\t\"./lb.js\": [\n\t\t79868,\n\t\t9868\n\t],\n\t\"./lo\": [\n\t\t13918,\n\t\t3918\n\t],\n\t\"./lo.js\": [\n\t\t13918,\n\t\t3918\n\t],\n\t\"./lt\": [\n\t\t78964,\n\t\t8964\n\t],\n\t\"./lt.js\": [\n\t\t78964,\n\t\t8964\n\t],\n\t\"./lv\": [\n\t\t50502,\n\t\t502\n\t],\n\t\"./lv.js\": [\n\t\t50502,\n\t\t502\n\t],\n\t\"./me\": [\n\t\t8858,\n\t\t8858\n\t],\n\t\"./me.js\": [\n\t\t8858,\n\t\t8858\n\t],\n\t\"./mi\": [\n\t\t31536,\n\t\t1536\n\t],\n\t\"./mi.js\": [\n\t\t31536,\n\t\t1536\n\t],\n\t\"./mk\": [\n\t\t11780,\n\t\t1780\n\t],\n\t\"./mk.js\": [\n\t\t11780,\n\t\t1780\n\t],\n\t\"./ml\": [\n\t\t59810,\n\t\t9810\n\t],\n\t\"./ml.js\": [\n\t\t59810,\n\t\t9810\n\t],\n\t\"./mn\": [\n\t\t38541,\n\t\t8541\n\t],\n\t\"./mn.js\": [\n\t\t38541,\n\t\t8541\n\t],\n\t\"./mr\": [\n\t\t58825,\n\t\t8825\n\t],\n\t\"./mr.js\": [\n\t\t58825,\n\t\t8825\n\t],\n\t\"./ms\": [\n\t\t52943,\n\t\t2943\n\t],\n\t\"./ms-my\": [\n\t\t89523,\n\t\t9523\n\t],\n\t\"./ms-my.js\": [\n\t\t89523,\n\t\t9523\n\t],\n\t\"./ms.js\": [\n\t\t52943,\n\t\t2943\n\t],\n\t\"./mt\": [\n\t\t97730,\n\t\t7730\n\t],\n\t\"./mt.js\": [\n\t\t97730,\n\t\t7730\n\t],\n\t\"./my\": [\n\t\t44650,\n\t\t4650\n\t],\n\t\"./my.js\": [\n\t\t44650,\n\t\t4650\n\t],\n\t\"./nb\": [\n\t\t48022,\n\t\t8022\n\t],\n\t\"./nb.js\": [\n\t\t48022,\n\t\t8022\n\t],\n\t\"./ne\": [\n\t\t26330,\n\t\t6330\n\t],\n\t\"./ne.js\": [\n\t\t26330,\n\t\t6330\n\t],\n\t\"./nl\": [\n\t\t87380,\n\t\t7380\n\t],\n\t\"./nl-be\": [\n\t\t23810,\n\t\t3810\n\t],\n\t\"./nl-be.js\": [\n\t\t23810,\n\t\t3810\n\t],\n\t\"./nl.js\": [\n\t\t87380,\n\t\t7380\n\t],\n\t\"./nn\": [\n\t\t65413,\n\t\t5413\n\t],\n\t\"./nn.js\": [\n\t\t65413,\n\t\t5413\n\t],\n\t\"./oc-lnc\": [\n\t\t64428,\n\t\t4428\n\t],\n\t\"./oc-lnc.js\": [\n\t\t64428,\n\t\t4428\n\t],\n\t\"./pa-in\": [\n\t\t42959,\n\t\t2959\n\t],\n\t\"./pa-in.js\": [\n\t\t42959,\n\t\t2959\n\t],\n\t\"./pl\": [\n\t\t77252,\n\t\t7252\n\t],\n\t\"./pl.js\": [\n\t\t77252,\n\t\t7252\n\t],\n\t\"./pt\": [\n\t\t41734,\n\t\t1734\n\t],\n\t\"./pt-br\": [\n\t\t86951,\n\t\t6951\n\t],\n\t\"./pt-br.js\": [\n\t\t86951,\n\t\t6951\n\t],\n\t\"./pt.js\": [\n\t\t41734,\n\t\t1734\n\t],\n\t\"./ro\": [\n\t\t85245,\n\t\t5245\n\t],\n\t\"./ro.js\": [\n\t\t85245,\n\t\t5245\n\t],\n\t\"./ru\": [\n\t\t52977,\n\t\t2977\n\t],\n\t\"./ru.js\": [\n\t\t52977,\n\t\t2977\n\t],\n\t\"./sd\": [\n\t\t63383,\n\t\t3383\n\t],\n\t\"./sd.js\": [\n\t\t63383,\n\t\t3383\n\t],\n\t\"./se\": [\n\t\t75389,\n\t\t5389\n\t],\n\t\"./se.js\": [\n\t\t75389,\n\t\t5389\n\t],\n\t\"./si\": [\n\t\t67156,\n\t\t7156\n\t],\n\t\"./si.js\": [\n\t\t67156,\n\t\t7156\n\t],\n\t\"./sk\": [\n\t\t7177,\n\t\t7177\n\t],\n\t\"./sk.js\": [\n\t\t7177,\n\t\t7177\n\t],\n\t\"./sl\": [\n\t\t19321,\n\t\t9321\n\t],\n\t\"./sl.js\": [\n\t\t19321,\n\t\t9321\n\t],\n\t\"./sq\": [\n\t\t74744,\n\t\t4744\n\t],\n\t\"./sq.js\": [\n\t\t74744,\n\t\t4744\n\t],\n\t\"./sr\": [\n\t\t48768,\n\t\t8768\n\t],\n\t\"./sr-cyrl\": [\n\t\t51855,\n\t\t1855\n\t],\n\t\"./sr-cyrl.js\": [\n\t\t51855,\n\t\t1855\n\t],\n\t\"./sr.js\": [\n\t\t48768,\n\t\t8768\n\t],\n\t\"./ss\": [\n\t\t14769,\n\t\t4769\n\t],\n\t\"./ss.js\": [\n\t\t14769,\n\t\t4769\n\t],\n\t\"./sv\": [\n\t\t39696,\n\t\t9696\n\t],\n\t\"./sv.js\": [\n\t\t39696,\n\t\t9696\n\t],\n\t\"./sw\": [\n\t\t22309,\n\t\t2309\n\t],\n\t\"./sw.js\": [\n\t\t22309,\n\t\t2309\n\t],\n\t\"./ta\": [\n\t\t62862,\n\t\t2862\n\t],\n\t\"./ta.js\": [\n\t\t62862,\n\t\t2862\n\t],\n\t\"./te\": [\n\t\t47466,\n\t\t4079\n\t],\n\t\"./te.js\": [\n\t\t47466,\n\t\t4079\n\t],\n\t\"./tet\": [\n\t\t96068,\n\t\t6068\n\t],\n\t\"./tet.js\": [\n\t\t96068,\n\t\t6068\n\t],\n\t\"./tg\": [\n\t\t29113,\n\t\t9113\n\t],\n\t\"./tg.js\": [\n\t\t29113,\n\t\t9113\n\t],\n\t\"./th\": [\n\t\t49049,\n\t\t9049\n\t],\n\t\"./th.js\": [\n\t\t49049,\n\t\t9049\n\t],\n\t\"./tk\": [\n\t\t637,\n\t\t637\n\t],\n\t\"./tk.js\": [\n\t\t637,\n\t\t637\n\t],\n\t\"./tl-ph\": [\n\t\t65597,\n\t\t5597\n\t],\n\t\"./tl-ph.js\": [\n\t\t65597,\n\t\t5597\n\t],\n\t\"./tlh\": [\n\t\t55829,\n\t\t5829\n\t],\n\t\"./tlh.js\": [\n\t\t55829,\n\t\t5829\n\t],\n\t\"./tr\": [\n\t\t7485,\n\t\t7485\n\t],\n\t\"./tr.js\": [\n\t\t7485,\n\t\t7485\n\t],\n\t\"./tzl\": [\n\t\t13184,\n\t\t3184\n\t],\n\t\"./tzl.js\": [\n\t\t13184,\n\t\t3184\n\t],\n\t\"./tzm\": [\n\t\t46128,\n\t\t6128\n\t],\n\t\"./tzm-latn\": [\n\t\t55967,\n\t\t5967\n\t],\n\t\"./tzm-latn.js\": [\n\t\t55967,\n\t\t5967\n\t],\n\t\"./tzm.js\": [\n\t\t46128,\n\t\t6128\n\t],\n\t\"./ug-cn\": [\n\t\t67543,\n\t\t7543\n\t],\n\t\"./ug-cn.js\": [\n\t\t67543,\n\t\t7543\n\t],\n\t\"./uk\": [\n\t\t38278,\n\t\t8278\n\t],\n\t\"./uk.js\": [\n\t\t38278,\n\t\t8278\n\t],\n\t\"./ur\": [\n\t\t34602,\n\t\t4602\n\t],\n\t\"./ur.js\": [\n\t\t34602,\n\t\t4602\n\t],\n\t\"./uz\": [\n\t\t7711,\n\t\t7711\n\t],\n\t\"./uz-latn\": [\n\t\t21508,\n\t\t1508\n\t],\n\t\"./uz-latn.js\": [\n\t\t21508,\n\t\t1508\n\t],\n\t\"./uz.js\": [\n\t\t7711,\n\t\t7711\n\t],\n\t\"./vi\": [\n\t\t68900,\n\t\t8900\n\t],\n\t\"./vi.js\": [\n\t\t68900,\n\t\t8900\n\t],\n\t\"./x-pseudo\": [\n\t\t24197,\n\t\t4197\n\t],\n\t\"./x-pseudo.js\": [\n\t\t24197,\n\t\t4197\n\t],\n\t\"./yo\": [\n\t\t37955,\n\t\t7955\n\t],\n\t\"./yo.js\": [\n\t\t37955,\n\t\t7955\n\t],\n\t\"./zh-cn\": [\n\t\t14586,\n\t\t4586\n\t],\n\t\"./zh-cn.js\": [\n\t\t14586,\n\t\t4586\n\t],\n\t\"./zh-hk\": [\n\t\t55819,\n\t\t5819\n\t],\n\t\"./zh-hk.js\": [\n\t\t55819,\n\t\t5819\n\t],\n\t\"./zh-mo\": [\n\t\t30930,\n\t\t930\n\t],\n\t\"./zh-mo.js\": [\n\t\t30930,\n\t\t930\n\t],\n\t\"./zh-tw\": [\n\t\t54904,\n\t\t4904\n\t],\n\t\"./zh-tw.js\": [\n\t\t54904,\n\t\t4904\n\t]\n};\nfunction webpackAsyncContext(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\treturn Promise.resolve().then(() => {\n\t\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t});\n\t}\n\n\tvar ids = map[req], id = ids[0];\n\treturn __webpack_require__.e(ids[1]).then(() => {\n\t\treturn __webpack_require__.t(id, 7);\n\t});\n}\nwebpackAsyncContext.keys = () => (Object.keys(map));\nwebpackAsyncContext.id = 81480;\nmodule.exports = webpackAsyncContext;","var map = {\n\t\"./bg\": [\n\t\t71946,\n\t\t1946\n\t],\n\t\"./bg.js\": [\n\t\t71946,\n\t\t1946\n\t],\n\t\"./chs\": [\n\t\t16296,\n\t\t6296\n\t],\n\t\"./chs.js\": [\n\t\t16296,\n\t\t6296\n\t],\n\t\"./cs\": [\n\t\t50088,\n\t\t88\n\t],\n\t\"./cs.js\": [\n\t\t50088,\n\t\t88\n\t],\n\t\"./da-dk\": [\n\t\t22803,\n\t\t2803\n\t],\n\t\"./da-dk.js\": [\n\t\t22803,\n\t\t2803\n\t],\n\t\"./de\": [\n\t\t37069,\n\t\t7069\n\t],\n\t\"./de-ch\": [\n\t\t25764,\n\t\t5764\n\t],\n\t\"./de-ch.js\": [\n\t\t25764,\n\t\t5764\n\t],\n\t\"./de.js\": [\n\t\t37069,\n\t\t7069\n\t],\n\t\"./en-au\": [\n\t\t83740,\n\t\t3740\n\t],\n\t\"./en-au.js\": [\n\t\t83740,\n\t\t3740\n\t],\n\t\"./en-gb\": [\n\t\t91743,\n\t\t1743\n\t],\n\t\"./en-gb.js\": [\n\t\t91743,\n\t\t1743\n\t],\n\t\"./en-za\": [\n\t\t73571,\n\t\t3571\n\t],\n\t\"./en-za.js\": [\n\t\t73571,\n\t\t3571\n\t],\n\t\"./es\": [\n\t\t38822,\n\t\t8822\n\t],\n\t\"./es-es\": [\n\t\t74726,\n\t\t4726\n\t],\n\t\"./es-es.js\": [\n\t\t74726,\n\t\t4726\n\t],\n\t\"./es.js\": [\n\t\t38822,\n\t\t8822\n\t],\n\t\"./et\": [\n\t\t63717,\n\t\t3717\n\t],\n\t\"./et.js\": [\n\t\t63717,\n\t\t3717\n\t],\n\t\"./fi\": [\n\t\t82922,\n\t\t2922\n\t],\n\t\"./fi.js\": [\n\t\t82922,\n\t\t2922\n\t],\n\t\"./fr\": [\n\t\t92494,\n\t\t2494\n\t],\n\t\"./fr-ca\": [\n\t\t23999,\n\t\t3999\n\t],\n\t\"./fr-ca.js\": [\n\t\t23999,\n\t\t3999\n\t],\n\t\"./fr-ch\": [\n\t\t72832,\n\t\t2832\n\t],\n\t\"./fr-ch.js\": [\n\t\t72832,\n\t\t2832\n\t],\n\t\"./fr.js\": [\n\t\t92494,\n\t\t2494\n\t],\n\t\"./hu\": [\n\t\t28168,\n\t\t8168\n\t],\n\t\"./hu.js\": [\n\t\t28168,\n\t\t8168\n\t],\n\t\"./it\": [\n\t\t80229,\n\t\t229\n\t],\n\t\"./it.js\": [\n\t\t80229,\n\t\t229\n\t],\n\t\"./ja\": [\n\t\t43882,\n\t\t3882\n\t],\n\t\"./ja.js\": [\n\t\t43882,\n\t\t3882\n\t],\n\t\"./lv\": [\n\t\t24875,\n\t\t3718\n\t],\n\t\"./lv.js\": [\n\t\t24875,\n\t\t3718\n\t],\n\t\"./nl-be\": [\n\t\t39661,\n\t\t9661\n\t],\n\t\"./nl-be.js\": [\n\t\t39661,\n\t\t9661\n\t],\n\t\"./nl-nl\": [\n\t\t33731,\n\t\t3731\n\t],\n\t\"./nl-nl.js\": [\n\t\t33731,\n\t\t3731\n\t],\n\t\"./no\": [\n\t\t60939,\n\t\t939\n\t],\n\t\"./no.js\": [\n\t\t60939,\n\t\t939\n\t],\n\t\"./pl\": [\n\t\t63542,\n\t\t3542\n\t],\n\t\"./pl.js\": [\n\t\t63542,\n\t\t3542\n\t],\n\t\"./pt-br\": [\n\t\t7341,\n\t\t7341\n\t],\n\t\"./pt-br.js\": [\n\t\t7341,\n\t\t7341\n\t],\n\t\"./pt-pt\": [\n\t\t70723,\n\t\t723\n\t],\n\t\"./pt-pt.js\": [\n\t\t70723,\n\t\t723\n\t],\n\t\"./ru\": [\n\t\t62674,\n\t\t2674\n\t],\n\t\"./ru-ua\": [\n\t\t95023,\n\t\t5023\n\t],\n\t\"./ru-ua.js\": [\n\t\t95023,\n\t\t5023\n\t],\n\t\"./ru.js\": [\n\t\t62674,\n\t\t2674\n\t],\n\t\"./sk\": [\n\t\t43885,\n\t\t3885\n\t],\n\t\"./sk.js\": [\n\t\t43885,\n\t\t3885\n\t],\n\t\"./sl\": [\n\t\t15836,\n\t\t5836\n\t],\n\t\"./sl.js\": [\n\t\t15836,\n\t\t5836\n\t],\n\t\"./th\": [\n\t\t37728,\n\t\t7728\n\t],\n\t\"./th.js\": [\n\t\t37728,\n\t\t7728\n\t],\n\t\"./tr\": [\n\t\t329,\n\t\t329\n\t],\n\t\"./tr.js\": [\n\t\t329,\n\t\t329\n\t],\n\t\"./uk-ua\": [\n\t\t27023,\n\t\t7023\n\t],\n\t\"./uk-ua.js\": [\n\t\t27023,\n\t\t7023\n\t],\n\t\"./vi\": [\n\t\t11371,\n\t\t1371\n\t],\n\t\"./vi.js\": [\n\t\t11371,\n\t\t1371\n\t]\n};\nfunction webpackAsyncContext(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\treturn Promise.resolve().then(() => {\n\t\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t});\n\t}\n\n\tvar ids = map[req], id = ids[0];\n\treturn __webpack_require__.e(ids[1]).then(() => {\n\t\treturn __webpack_require__.t(id, 7);\n\t});\n}\nwebpackAsyncContext.keys = () => (Object.keys(map));\nwebpackAsyncContext.id = 12727;\nmodule.exports = webpackAsyncContext;"],"sourceRoot":""}