/******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /******/ /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache /******/ if(installedModules[moduleId]) { /******/ return installedModules[moduleId].exports; /******/ } /******/ // Create a new module (and put it into the cache) /******/ var module = installedModules[moduleId] = { /******/ i: moduleId, /******/ l: false, /******/ exports: {} /******/ }; /******/ /******/ // Execute the module function /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); /******/ /******/ // Flag the module as loaded /******/ module.l = true; /******/ /******/ // Return the exports of the module /******/ return module.exports; /******/ } /******/ /******/ /******/ // expose the modules object (__webpack_modules__) /******/ __webpack_require__.m = modules; /******/ /******/ // expose the module cache /******/ __webpack_require__.c = installedModules; /******/ /******/ // define getter function for harmony exports /******/ __webpack_require__.d = function(exports, name, getter) { /******/ if(!__webpack_require__.o(exports, name)) { /******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); /******/ } /******/ }; /******/ /******/ // define __esModule on exports /******/ __webpack_require__.r = function(exports) { /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); /******/ } /******/ Object.defineProperty(exports, '__esModule', { value: true }); /******/ }; /******/ /******/ // create a fake namespace object /******/ // mode & 1: value is a module id, require it /******/ // mode & 2: merge all properties of value into the ns /******/ // mode & 4: return value when already ns object /******/ // mode & 8|1: behave like require /******/ __webpack_require__.t = function(value, mode) { /******/ if(mode & 1) value = __webpack_require__(value); /******/ if(mode & 8) return value; /******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; /******/ var ns = Object.create(null); /******/ __webpack_require__.r(ns); /******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); /******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); /******/ return ns; /******/ }; /******/ /******/ // getDefaultExport function for compatibility with non-harmony modules /******/ __webpack_require__.n = function(module) { /******/ var getter = module && module.__esModule ? /******/ function getDefault() { return module['default']; } : /******/ function getModuleExports() { return module; }; /******/ __webpack_require__.d(getter, 'a', getter); /******/ return getter; /******/ }; /******/ /******/ // Object.prototype.hasOwnProperty.call /******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; /******/ /******/ // __webpack_public_path__ /******/ __webpack_require__.p = ""; /******/ /******/ /******/ // Load entry module and return exports /******/ return __webpack_require__(__webpack_require__.s = "./src/questionnaire.js"); /******/ }) /************************************************************************/ /******/ ({ /***/ "../config/instance.js": /*!*****************************!*\ !*** ../config/instance.js ***! \*****************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { var _module$exports; function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } var users = __webpack_require__(/*! ./users */ "../config/users.js"); var questionnaires = __webpack_require__(/*! ./questionnaires */ "../config/questionnaires.js"); module.exports = (_module$exports = { apiUrl: "http://localhost:3000/api", siteUrl: "http://localhost:8080", adminName: "Fabrice", adminEmail: "dev@wikilerni.com", senderName: "WikiLerni (local)", senderEmail: "bonjour@wikilerni.com", adminLang: "fr", theme: "wikilerni", // le thème utilisé (dans /views) pour générer les pages HTML. Contient ses propres fichiers de configuration. availableLangs: ["fr"], // Languages in which the site is available. The first one is the default one. siteName: "WikiLerni (local)", beginCodeGodfather: "WL", // case-sensitive and can't contain "@" ! cronTimingAlertInSeconde: 120, // for logs responseTimingAlertInSeconde: 3, // idem tokenSignupValidationTimeInHours: "48h", // https://github.com/zeit/ms tokenLoginLinkTimeInHours: "1h", tokenConnexionMinTimeInHours: "24h", tokenConnexionMaxTimeInDays: "180 days", tokenLoginChangingTimeInHours: "1h", // for email & password changing tokenDeleteUserTimeInHours: "1h", tokenUnsubscribeLinkTimeInDays: "7 days", // token send with subscription's emails freeAccountTimingInDays: 10, freeAccountExpirationNotificationInDays: 5, accountExpirationFirstNotificationInDays: 14, accountExpirationSecondNotificationInDays: 5, inactiveAccountTimeToDeleteInDays: 180, // Questionnaires: nbQuestionsMin: 1, // minimum number of questions for the questionnaire to be publishable nbQuestionsMax: 2, // if 0 = not maximum nbChoicesMax: 10, nbNewQuestionnaires: 10, // for RSS, etc. hourGiveNewQuestionnaireBegin: 1, // in user local time hourGiveNewQuestionnaireEnd: 24, // idem numberNewQuestionnaireAtSameTime: 50, // for mass mailing minSearchQuestionnaires: 3, // Illustrations: nbIllustrationsMin: 0, nbIllustrationsMax: 1, maxIllustrationSizeinOctet: 1000000, // pas contrôlé pour l'instant. À revoir. mimeTypesForIllustration: ["image/jpg", "image/jpeg", "image/png", "image/gif", "image/png"], // -- Upload and resize: illustrationsWidthMaxInPx: 400, illustrationsMiniaturesWidthMaxInPx: 200, // Links: nbLinksMin: 1, nbLinksMax: 1 }, _defineProperty(_module$exports, "nbQuestionsMin", questionnaires.nbQuestionsMin), _defineProperty(_module$exports, "nbQuestionsMax", questionnaires.nbQuestionsMax), _defineProperty(_module$exports, "nbChoicesMax", questionnaires.nbChoicesMax), _defineProperty(_module$exports, "passwordMinLength", users.password.minlength), _defineProperty(_module$exports, "dirCacheUsers", users.dirCacheUsers), _defineProperty(_module$exports, "dirCacheUsersAnswers", users.dirCacheUsersAnswers), _defineProperty(_module$exports, "dirCacheQuestionnaires", questionnaires.dirCacheQuestionnaires), _defineProperty(_module$exports, "dirCacheQuestions", questionnaires.dirCacheQuestions), _defineProperty(_module$exports, "dirCacheUsersQuestionnaires", questionnaires.dirCacheUsersQuestionnaires), _defineProperty(_module$exports, "dirHTMLQuestionnaire", questionnaires.dirHTMLQuestionnaire), _defineProperty(_module$exports, "dirWebQuestionnaire", questionnaires.dirWebQuestionnaire), _module$exports); /***/ }), /***/ "../config/questionnaires.js": /*!***********************************!*\ !*** ../config/questionnaires.js ***! \***********************************/ /*! no static exports found */ /***/ (function(module, exports) { module.exports = { // API'routes (after "apiUrl" defined in instance.js) questionnaireRoutes: "/questionnaire", getQuestionnaireRoutes: "/get", previewQuestionnaireRoutes: "/preview", publishedQuestionnaireRoutes: "/quiz/", saveAnswersRoute: "/answer/", getStatsQuestionnaires: "/stats/", searchQuestionnairesRoute: "/search", getRandomQuestionnairesRoute: "/getrandom", searchAdminQuestionnairesRoute: "/searchadmin", getListNextQuestionnaires: "/getlistnextquestionnaires/", regenerateHTML: "/htmlregenerated", // -- questions & choices : questionsRoute: "/question/", // -- tags : tagsSearchRoute: "/tags/search/", // -- answers : getQuestionnairesWithoutAnswer: "/withoutanswer/user/", getPreviousAnswers: "/user/answers/", getStatsAnswers: "/user/anwswers/stats/", getAdminStats: "/getadminstats/", // forms : à compléter avec valeurs par défaut, etc. cf modèle Questionnaire: { title: { maxlength: 255, required: true }, slug: { maxlength: 150 }, // champ requis mais calculé à partir du titre qd vide introduction: { required: true } }, searchQuestionnaires: { minlength: 3, required: true }, Question: { text: { maxlength: 255, required: true }, rank: { required: true, min: 1, defaultValue: 1 } }, Choice: { text: { maxlength: 255, required: true } }, nbQuestionsMin: 1, nbQuestionsMax: 0, nbChoicesMax: 10, nbTagsMin: 0, nbTagsMax: 0, // 0 = not max // JSON and HTML dir dirCacheQuestionnaires: "datas/questionnaires", dirCacheQuestions: "datas/questionnaires/questions", dirCacheUsersQuestionnaires: "datas/users/questionnaires", dirCacheTags: "datas/questionnaires/tags", dirHTMLQuestionnaire: "front/public/quiz", dirHTMLTags: "front/public/quizs", dirWebQuestionnaire: "quiz", //pour url page dirWebTags: "quizs", // idem nbRandomResults: 3 // limite les résultat du moteur de recherche quand demande de résultats au hasard }; /***/ }), /***/ "../config/users.js": /*!**************************!*\ !*** ../config/users.js ***! \**************************/ /*! no static exports found */ /***/ (function(module, exports) { module.exports = { // API'routes (after "apiUrl" defined in instance.js) userRoutes: "/user", subscribeRoute: "/signup", getGodfatherRoute: "/getgodfatherid", checkIfIsEmailfreeRoute: "/isemailfree", checkSubscribeTokenRoute: "/validation/", checkLoginRoute: "/checklogin/", connectionRoute: "/login", getLoginLinkRoute: "/getloginlink", connectionWithLinkRoute: "/checkloginlink", getUserInfos: "/get/", createUserRoute: "/create", validateUserRoute: "/validate/", updateUserInfos: "/modify/", searchUserRoute: "/search/", getGodChilds: "/getgodchilds/", checkNewLoginLinkRoute: "/confirmnewlogin/", checkDeleteLinkRoute: "/confirmdelete/", getPayments: "/payment/getforoneuser/", unsubscribeRoute: "/subscription/stop/", getAdminStats: "/getadminstats/", // forms : à compléter avec valeurs par défaut, etc. cf modèle name: { maxlength: 70, required: true }, email: { maxlength: 255, required: true }, password: { minlength: 8, maxlength: 72, required: true }, // https://www.npmjs.com/package/bcrypt#security-issues-and-concerns newPassword: { minlength: 8, maxlength: 72 }, codeGodfather: { maxlength: 255 }, cguOk: { value: "true", required: true }, timeDifferenceMin: -720, timeDifferenceMax: 840, // JSON dir dirCacheUsers: "datas/users", dirCacheUsersAnswers: "datas/users/questionnaires/answers" }; /***/ }), /***/ "../lang sync recursive ^\\.\\/.*\\/answer$": /*!*************************************!*\ !*** ../lang sync ^\.\/.*\/answer$ ***! \*************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { var map = { "./fr/answer": "../lang/fr/answer.js" }; function webpackContext(req) { var id = webpackContextResolve(req); return __webpack_require__(id); } function webpackContextResolve(req) { if(!__webpack_require__.o(map, req)) { var e = new Error("Cannot find module '" + req + "'"); e.code = 'MODULE_NOT_FOUND'; throw e; } return map[req]; } webpackContext.keys = function webpackContextKeys() { return Object.keys(map); }; webpackContext.resolve = webpackContextResolve; module.exports = webpackContext; webpackContext.id = "../lang sync recursive ^\\.\\/.*\\/answer$"; /***/ }), /***/ "../lang sync recursive ^\\.\\/.*\\/general$": /*!**************************************!*\ !*** ../lang sync ^\.\/.*\/general$ ***! \**************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { var map = { "./fr/general": "../lang/fr/general.js" }; function webpackContext(req) { var id = webpackContextResolve(req); return __webpack_require__(id); } function webpackContextResolve(req) { if(!__webpack_require__.o(map, req)) { var e = new Error("Cannot find module '" + req + "'"); e.code = 'MODULE_NOT_FOUND'; throw e; } return map[req]; } webpackContext.keys = function webpackContextKeys() { return Object.keys(map); }; webpackContext.resolve = webpackContextResolve; module.exports = webpackContext; webpackContext.id = "../lang sync recursive ^\\.\\/.*\\/general$"; /***/ }), /***/ "../lang/fr/answer.js": /*!****************************!*\ !*** ../lang/fr/answer.js ***! \****************************/ /*! no static exports found */ /***/ (function(module, exports) { module.exports = { needNumberUserResponses: "Le nombre de questions auxquelles l'utilisateur a répondu doit être fourni.", needIntegerNumberUserResponses: "Le nombre de questions auxquelles l'utilisateur a répondu doit être un nombre entier.", needMinNumberUserResponses: "Le nombre de questions auxquelles l'utilisateur a répondu ne peut être inférieur à 1.", needMaxNumberUserResponses: "Le nombre de questions auxquelles l'utilisateur a répondu ne peut être aussi élevé.", needNumberCorrectResponses: "Le nombre de réponses correctes doit être fourni.", needIntegerNumberCorrectResponses: "Le nombre de réponses correctes doit être un nombre entier.", needMinNumberCorrectResponses: "Le nombre de réponses correctes ne peut être négatif.", needMaxNumberCorrectResponses: "Le nombre de réponses correctes ne peut être supérieur au nombre de questions.", needIntegerNumberSecondesResponse: "La durée de la réponse doit être un nombre entier de secondes.", needMinNumberSecondesResponse: "La durée de la réponse ne peut être négative.", checkResponsesOuputFail: "Vous avez répondu en DURATION secondes et avez NBCORRECTANSWERS bonne(s) réponse(s) sur NBQUESTIONS. C'est certain, vous ferez mieux la prochaine fois !", checkResponsesOuputMedium: "Vous avez répondu en DURATION secondes et avez NBCORRECTANSWERS bonne(s) réponse(s) sur NBQUESTIONS. C'est pas mal du tout !", checkResponsesOuputSuccess: "Vous avez répondu en DURATION secondes et avez NBCORRECTANSWERS bonne(s) réponse(s) sur NBQUESTIONS. Bravo ! Rien ne vous échappe !", wantToSaveResponses: "Si vous le souhaitez, vous pouvez sauvegarder votre résultat en vous connectant à votre compte.", responseSavedMessage: "Votre résultat a été enregistré. Accèder à tous vos quizs.", responseSavedError: "Cependant une erreur a été rencontrée durant l'enregistrement de votre résultat. Accèder à tous vos quizs.", noQuestionnaireWithoudAnswer: "Bravo ! Vous avez répondu à tous les quizs qui vous on été proposés !
Il y en a des nouveaux publiés régulièrement et qui vous seront proposés.
En attendant vous pouvez peut-être essayer de répondre de nouveau à certain quiz pour voir si vous vous souvenez des bonnes réponses ?", nbQuestionnaireWithoudAnswer: "Il y a #NB quizs qui vous ont été proposés et auxquels vous n'avez pas répondu. Voici les derniers :!", statsUser: "Vous avez enregistré NBANSWERS réponses à NBQUESTIONNAIRES questionnaires différents sur les NBTOTQUESTIONNAIRES proposés par le site.
En moyenne, vous avez mis AVGDURATION secondes à répondre et avez correctement répondu à AVGCORRECTANSWERS % des questions.", previousAnswersTitle: "Bonjour #NOM, voici vos précédents résultats à ce quiz", previousAnswersStats: "En moyenne, vous avez répondu à ce quiz en AVGDURATION secondes, en ayant AVGCORRECTANSWERS % de bonnes réponses.", previousAnswersLine: "Le DATEANSWER, vous avez répondu correctement à NBCORRECTANSWERS questions en AVGDURATION secondes.", noPreviousAnswer: "Bonjour #NOM, c'est la première fois que vous répondez à ce quiz. Bonne lecture !" }; /***/ }), /***/ "../lang/fr/general.js": /*!*****************************!*\ !*** ../lang/fr/general.js ***! \*****************************/ /*! no static exports found */ /***/ (function(module, exports) { module.exports = { siteHTMLTitle: "WikiLerni : Wikipédia en questions", siteMetaDescription: "Avec WikiLerni, recevez chaque jour de nouveaux quizs pour tester vos connaissances et apprendre de nouvelles choses.", scriptTimingInfo: "Durée de la réponse : SCRIPT_TIMING millisecondes, route : SCRIPT_URL", scriptTimingAlert: "*** Script lent : SCRIPT_TIMING millisecondes, route : SCRIPT_URL", serverError: "Désolé. Une erreur imprévue est survenue. Si cela persiste, n'hésitez à prévenir l'administrateur du site.", serverErrorAdmin: "Bug de l'application :", neededParams: "Des paramètres nécessaires manquants sont manquants.", badUrl: "Tentative d'accès à une page n'existant pas :", notValidFormat: "Format non valide.", notAllowed: "Vous n'avez pas les droits nécessaires pour cette action.", notRequired: "Facultatif.", updateBtnTxt: "Modifier", addBtnTxt: "Ajouter", deleteBtnTxt: "Supprimer", addOkMessage: "Les données ont bien été enregistrées.", updateOkMessage: "La mise à jour à jour a bien été enregistrée.", deleteOkMessage: "La suppression a bien été enregistrée.", failAuth: "Erreur d'authentification.", failAuthHeader: "Absence de header Authorization.", failAuthToken: "Token invalide ou utilisateur non trouvé.", failAuthId: "Identifiant non valide : ", failAuthCron: "Tentative de lancement d'un cron sans le bon token.", previousPage: "Page précédente", nextPage: "Page suivante", alertNewWindow: "nouvelle fenêtre", btnLinkToQuestionnaire: "Aller au quiz !", statsAdmin: "Durant les dernières 24h : NB_USERS_24H comptes ont été créés, NB_SUBSCRIPTIONS_24H validés et NB_USERS_DELETED_24H supprimés. NB_ANSWERS_24H réponses aux quizs ont été enregistrées.
En tout, il y a : NB_USERS_TOT comptes, dont NB_SUBSCRIPTIONS_TOT validés et NB_SUBSCRIPTIONS_PREMIUM comptes prémium. NB_ANSWERS_TOT réponses aux quizs ont été enregistrées.
Parmi les NB_USERS_DELETED_TOT comptes supprimés, NB_USERS_DELETED_VALIDED avaient validé leur compte et NB_USERS_DELETED_PREMIUM avaient souscrit un compte prémium." }; /***/ }), /***/ "../tools/main.js": /*!************************!*\ !*** ../tools/main.js ***! \************************/ /*! no static exports found */ /***/ (function(module, exports) { function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; } // Quelques fonctions utiles pour les chaînes var Tool = /*#__PURE__*/function () { function Tool() { _classCallCheck(this, Tool); } _createClass(Tool, null, [{ key: "isEmpty", value: function isEmpty(myVar) { if (myVar === undefined || myVar === null) return true;else { myVar += ""; // si autre chose qu'une chaîne envoyé... myVar = myVar.trim(); if (myVar === "") return true;else return false; } } }, { key: "trimIfNotNull", value: function trimIfNotNull(myString) { if (Tool.isEmpty(myString)) myString = null;else { myString += ""; // si autre chose qu'une chaîne envoyé... myString = myString.trim(); } return myString; } }, { key: "shortenIfLongerThan", value: function shortenIfLongerThan(myString, max) { myString += ""; // au cas où cela ne serait pas une chaîne... if (myString.length > max) myString = myString.substring(0, max - 3) + "..."; return myString; } // source : https://stackoverflow.com/questions/15604140/replace-multiple-strings-with-multiple-other-strings }, { key: "replaceAll", value: function replaceAll(myString, mapObj) { var replaceElts = new RegExp(Object.keys(mapObj).join("|"), "gi"); return myString.replace(replaceElts, function (matched) { return mapObj[matched]; }); } // source : https://developer.mozilla.org/fr/docs/Web/JavaScript/Reference/Objets_globaux/Math/random }, { key: "getRandomInt", value: function getRandomInt(min, max) { min = Math.ceil(min); max = Math.floor(max); return Math.floor(Math.random() * (max - min)) + min; } // à compléter : https://en.wikipedia.org/wiki/Date_format_by_country }, { key: "dateFormat", value: function dateFormat(dateString) { var lang = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : "fr"; if (Tool.isEmpty(dateString)) return ""; var myDate = new Date(dateString); var myDay = myDate.getDate() + ""; if (myDay.length === 1) myDay = "0" + myDay; var myMounth = myDate.getMonth() + 1 + ""; if (myMounth.length === 1) myMounth = "0" + myMounth; var myYear = myDate.getFullYear(); if (lang === "fr") return myDay + "/" + myMounth + "/" + myYear;else if (lang === "form") // 2014-02-09 return myYear + "-" + myMounth + "-" + myDay;else return myMounth + "/" + myDay + "/" + myYear; } }]); return Tool; }(); module.exports = Tool; /***/ }), /***/ "../views sync recursive ^\\.\\/.*\\.js$": /*!**********************************!*\ !*** ../views sync ^\.\/.*\.js$ ***! \**********************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { var map = { "./default/config/fr.js": "../views/default/config/fr.js", "./wikilerni/config/fr.js": "../views/wikilerni/config/fr.js" }; function webpackContext(req) { var id = webpackContextResolve(req); return __webpack_require__(id); } function webpackContextResolve(req) { if(!__webpack_require__.o(map, req)) { var e = new Error("Cannot find module '" + req + "'"); e.code = 'MODULE_NOT_FOUND'; throw e; } return map[req]; } webpackContext.keys = function webpackContextKeys() { return Object.keys(map); }; webpackContext.resolve = webpackContextResolve; module.exports = webpackContext; webpackContext.id = "../views sync recursive ^\\.\\/.*\\.js$"; /***/ }), /***/ "../views/default/config/fr.js": /*!*************************************!*\ !*** ../views/default/config/fr.js ***! \*************************************/ /*! no static exports found */ /***/ (function(module, exports) { module.exports = { headLinks: [{ anchor: "Accueil", attributes: { href: "/" } }, { anchor: "Mon compte", attributes: { href: "/connexion.html", id: "accountHeadLink" } }, { anchor: "À propos", attributes: { href: "/a-propos.html" } }, { anchor: "Contact", attributes: { href: "/contact.html" } }], footLinks: [{ anchor: "Crédits", attributes: { href: "/credits.html" } }, { anchor: "Mentions légales", attributes: { href: "/mentions-legales.html", rel: "nofollow" } }, { anchor: "Données personnelles", attributes: { href: "/donnees.html" } }, { anchor: "C.G.U.", attributes: { href: "/cgu.html", rel: "nofollow" } }, { anchor: "C.G.V.", attributes: { href: "/cgv.html", rel: "nofollow" } }], maxQuestionnairesByPage: 10, userHomePage: "accueil.html", adminHomePage: "admin.html", managerHomePage: "gestion.html", subscribePage: "inscription.html", connectionPage: "connexion.html", accountPage: "compte.html", questionnairesManagementPage: "gestion-quizs.html", usersManagementPage: "gestion-utilisateurs.html", nbQuestionnairesUserHomePage: 10, illustrationDir: "/img/quizs/", siteSlogan: "Cultivons notre jardin !", homeTitle1: "De nature curieuse ?", homeP1: "Avec WikiLerni vous apprenez chaque jour de nouvelles choses.
Des articles de Wikipédia sont sélectionnés pour vous et sont suivis d'un quiz vous permettant de tester ce que vous en avez retenu.
De jour en jour de nouvelles graines de savoir sont ainsi semées dans votre \"jardin\".", homeTitle2: "La culture en liberté", homeP2: "Tout comme sur Wikipédia (*), le logiciel et le contenu partagé sur WikiLerni sont libres.
Vous pouvez les utiliser, les modifier et les diffuser selon votre souhait.
Sur WikiLerni, pas de publicité, ni de commercialisation de vos données personnelles.
Vous pouvez venir y \"cultiver votre jardin\" en toute tranquillité.

(*) Bien que partageant ses valeurs, WikiLerni est un projet indépendant de la fondation Wikipédia.", newQuestionnairesTitle: "Les derniers quizs publiés sur WikiLerni", newQuestionnairesIntro: "Liste des derniers quizs publiés sur WikiLerni.", explanationTitle: "Vous découvrez WikiLerni ?", explanationTxt: "Le principe est simple : vous commencez par lire l'article Wikipédia dont le lien vous est proposé.
Puis vous afficher le quiz pour vérifier ce que vous en avez retenu de votre lecture. Vous obtenez alors votre résultat immédiatement.

Toutes les réponses se trouvent dans l'article proposé à la lecture. Vous êtes ici pour apprendre de nouvelles choses, mais libre à vous d'essayer d'y répondre immédiatement.

Quand le sujet s'y prête, ne vous étonnez pas si certaines des réponses proposées peuvent être un peu décalées, absurdes... On peut apprendre avec le sourire, non ? :-)

Une fois votre résultat obtenu, il vous sera proposé de créer un compte pour le sauvegarder.
Ce compte vous permettra de tester de nouveau ce quiz pour vérifier ce que vous en avez retenu plusieurs jours, semaines, mois... Et de recevoir régulièrement de nouvelles suggestions de lectures.

Mais la création de ce compte est facultative et vous pouvez parcourir WikiLerni librement.", noJSNotification: "Désolé, mais pour l'instant, l'utilisation de WikiLerni nécessite l'activation du JavaScript.", tagsListTxt: "Parcourir les rubriques :" }; /***/ }), /***/ "../views/wikilerni/config/fr.js": /*!***************************************!*\ !*** ../views/wikilerni/config/fr.js ***! \***************************************/ /*! no static exports found */ /***/ (function(module, exports) { module.exports = { headLinks: [{ anchor: "Contact", attributes: { href: "/contact.html", rel: "nofollow" } }, { anchor: "Parcourir", attributes: { href: "/quizs/", id: "indexHeadLink", title: "Les derniers quizs" } }, { anchor: "Mon compte", attributes: { href: "/connexion.html", id: "accountHeadLink" } }, { anchor: "À propos", attributes: { href: "/a-propos.html" } }], footLinks: [{ anchor: "Blog", attributes: { href: "https://framasphere.org/people/7e54b7a0b53201389eef2a0000053625", title: "Blog WikiLerni sur diaspora*" } }, { anchor: "Crédits", attributes: { href: "/credits.html" } }, { anchor: "Mentions légales", attributes: { href: "/mentions-legales.html", rel: "nofollow" } }, { anchor: "Données personnelles", attributes: { href: "/donnees.html" } }, { anchor: "CGV & CGU", attributes: { href: "/CGV-CGU.html", rel: "nofollow" } }], maxQuestionnairesSiteHomePage: 3, maxQuestionnairesByPage: 9, nbQuestionnairesUserHomePage: 3, userHomePage: "accueil.html", adminHomePage: "admin.html", managerHomePage: "gestion.html", subscribePage: "inscription.html", connectionPage: "connexion.html", validationLinkPage: "validation.html?t=", loginLinkPage: "login.html?t=", newLoginLinkPage: "newlogin.html?t=", deleteLinkPage: "aurevoir.html?t=", stopMailPage: "stop-mail.html?t=", accountPage: "compte.html", updateAccountPage: "mon-compte.html", questionnairesManagementPage: "gestion-quizs.html", usersManagementPage: "gestion-utilisateurs.html", aboutPage: "a-propos.html", illustrationDir: "/img/quizs/", siteSlogan: "Cultivons notre jardin !", homePageTxt: "Page d'accueil", homeTitle1: "De nature curieuse ?", homeP1: "Avec WikiLerni, vous apprenez chaque jour de nouvelles choses.
Des articles de Wikipédia sont sélectionnés pour vous et sont suivis d'un quiz vous permettant de tester ce que vous en avez retenu.
De jour en jour de nouvelles graines de savoir sont ainsi semées dans votre \"jardin\".", homeTitle2: "La culture en liberté", homeP2: "Tout comme sur Wikipédia (*), le logiciel et le contenu partagé sur WikiLerni sont libres.
Vous pouvez les utiliser, les modifier et les diffuser selon votre souhait.
Sur WikiLerni, pas de publicité, ni de commercialisation de vos données personnelles.
Vous pouvez venir y \"cultiver votre jardin\" en toute tranquillité.

(*) Bien que partageant ses valeurs, WikiLerni est un projet indépendant de la fondation Wikipédia.", homeBtnAboutTxt: "En savoir plus sur WikiLerni !", homeBtnSubscribeTxt: "Tester WikiLerni gratuitement.", newQuestionnairesTitle: "Les derniers quizs publiés sur WikiLerni", newQuestionnairesIntro: "Liste des derniers quizs publiés sur WikiLerni.", explanationTitle: "Vous découvrez WikiLerni ?", explanationTxt: "Le principe est simple : vous commencez par lire l'article Wikipédia dont le lien vous est proposé.
Puis vous afficher le quiz pour vérifier ce que vous avez retenu de votre lecture. Vous obtenez alors votre résultat immédiatement.

Suivant les questions, une ou plusieurs réponses peuvent être correctes et doivent donc être cochées. C'est toujours le contenu de l'article Wikipédia qui fait foi concernant les \"bonnes\" réponses. Mais les articles de Wikipédia peuvent évoluer, donc n'hésitez pas à me signaler une erreur.

Toutes les réponses se trouvent dans l'article proposé à la lecture. Vous êtes ici pour apprendre de nouvelles choses, mais libre à vous d'essayer d'y répondre immédiatement.

Quand le sujet s'y prête, ne vous étonnez pas si certaines des réponses proposées peuvent être un peu décalées, absurdes... On peut apprendre avec le sourire, non ? :-)

Une fois votre résultat obtenu, il vous sera proposé de créer un compte pour le sauvegarder. Ce compte vous permettra de tester de nouveau ce quiz pour vérifier ce que vous en avez retenu plusieurs jours, semaines, mois... Grâce à ce compte, vous pourrez aussi recevoir régulièrement de nouveaux quizs pour continuer à \"cultiver votre jardin\".

Mais la création de ce compte est facultative et vous pouvez parcourir WikiLerni librement.", noJSNotification: "Désolé, mais pour l'instant, l'utilisation de WikiLerni nécessite l'activation du JavaScript.", newsListTitle: "Les dernières graines de savoir", tagsListTxt: "Parcourir les rubriques", mailRecipientTxt: "Message envoyé à :" }; /***/ }), /***/ "./src/config/general.js": /*!*******************************!*\ !*** ./src/config/general.js ***! \*******************************/ /*! no static exports found */ /***/ (function(module, exports) { // à supprimer une fois que tout récupérer du backend : module.exports = { apiUrl: "http://localhost:3000/api", usersGetConfigUrl: "/user/getconfig", lang: "fr", userHomePage: "accueil.html", adminHomePage: "admin.html", managerHomePage: "gestion.html", subscribePage: "inscription.html", connectionPage: "connexion.html", accountPage: "compte.html", questionnairesManagementPage: "gestion-quizs.html", usersManagementPage: "gestion-utilisateurs.html", nbQuestionnairesUserHomePage: 10, illustrationDir: "/img/quizs/" }; /***/ }), /***/ "./src/questionnaire.js": /*!******************************!*\ !*** ./src/questionnaire.js ***! \******************************/ /*! no exports provided */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony import */ var _config_instance_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../config/instance.js */ "../config/instance.js"); /* harmony import */ var _config_instance_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_config_instance_js__WEBPACK_IMPORTED_MODULE_0__); /* harmony import */ var _config_questionnaires_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../config/questionnaires.js */ "../config/questionnaires.js"); /* harmony import */ var _config_questionnaires_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_config_questionnaires_js__WEBPACK_IMPORTED_MODULE_1__); /* harmony import */ var _tools_answers_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./tools/answers.js */ "./src/tools/answers.js"); /* harmony import */ var _tools_dom_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./tools/dom.js */ "./src/tools/dom.js"); /* harmony import */ var _tools_everywhere_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./tools/everywhere.js */ "./src/tools/everywhere.js"); /* harmony import */ var _tools_clientstorage_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./tools/clientstorage.js */ "./src/tools/clientstorage.js"); /* harmony import */ var _tools_forms_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./tools/forms.js */ "./src/tools/forms.js"); /* harmony import */ var _tools_main__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../tools/main */ "../tools/main.js"); /* harmony import */ var _tools_main__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_tools_main__WEBPACK_IMPORTED_MODULE_7__); /* harmony import */ var _tools_users_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./tools/users.js */ "./src/tools/users.js"); function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } } function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; } // -- GESTION DU FORMULAIRE PERMETTANT D'AFFICHER ET RÉPONDRE À UN QUIZ /// Il n'est pas nécessaire d'être connecté pour répondre au quiz et voir son résultat. /// Mais si pas connecté, on propose à l'internaute de se connecter ou de créer un compte pour sauvegarder son résultat. /// Dans ce but son résultat est stocké dans son navigateur. /// Si il est connecté, l'enregistrement de son résultat se fait automatiquement côté serveur et ses éventuels précédents résultats sont affichés. // Fichier de configuration tirés du backend : var lang = _config_instance_js__WEBPACK_IMPORTED_MODULE_0__["availableLangs"][0]; var configTemplate = __webpack_require__("../views sync recursive ^\\.\\/.*\\.js$")("./" + _config_instance_js__WEBPACK_IMPORTED_MODULE_0__["theme"] + "/config/" + lang + ".js"); // Dictionnaires : var txt = __webpack_require__("../lang sync recursive ^\\.\\/.*\\/general$")("./" + lang + "/general"); var txtAnswers = __webpack_require__("../lang sync recursive ^\\.\\/.*\\/answer$")("./" + lang + "/answer"); // Principaux éléments du DOM manipulés : var myForm = document.getElementById("questionnaire"); var divResponse = document.getElementById("response"); var btnShow = document.getElementById("showQuestionnaire"); var btnSubmit = document.getElementById("checkResponses"); var explanationsTitle = document.getElementById("explanationsTitle"); var explanationsContent = document.getElementById("explanationsContent"); var isConnected, user; var initialise = /*#__PURE__*/function () { var _ref = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() { return regeneratorRuntime.wrap(function _callee$(_context) { while (1) { switch (_context.prev = _context.next) { case 0: _context.prev = 0; btnShow.style.display = "inline"; // bouton caché si JS inactif, car JS nécessaire pour vérifier les réponses _context.next = 4; return Object(_tools_users_js__WEBPACK_IMPORTED_MODULE_8__["checkSession"])(["user"]); case 4: isConnected = _context.sent; // seuls les utilisateurs de base peuvent répondre aux quizs // Si l'utilisateur est connecté et a déjà répondu à ce quiz, on affiche ses précédentes réponses à la place du texte servant à expliquer le topo aux nouveaux if (isConnected) { user = Object(_tools_clientstorage_js__WEBPACK_IMPORTED_MODULE_5__["getLocaly"])("user", true); Object(_tools_everywhere_js__WEBPACK_IMPORTED_MODULE_4__["updateAccountLink"])(user.status, configTemplate); checkPreviousResponses(user); } _context.next = 12; break; case 8: _context.prev = 8; _context.t0 = _context["catch"](0); Object(_tools_dom_js__WEBPACK_IMPORTED_MODULE_3__["addElement"])(divResponse, "p", txt.serverError, "", ["error"]); console.error(_context.t0); case 12: case "end": return _context.stop(); } } }, _callee, null, [[0, 8]]); })); return function initialise() { return _ref.apply(this, arguments); }; }(); initialise(); Object(_tools_everywhere_js__WEBPACK_IMPORTED_MODULE_4__["helloDev"])(); // Affichage du questionnaire quand l'utilisateur clique sur le bouton ou si l'id du formulaire est passée par l'url // Déclenche en même temps le chronomètre mesurant la durée de la réponse aux questions. var showQuestionnaire = function showQuestionnaire() { chronoBegin = Date.now(); myForm.style.display = "block"; btnShow.style.display = "none"; window.location.hash = ""; // risque d'enchaîner les ancres si on recharge la page var here = window.location; // window.location à ajouter pour ne pas quitter la page en mode "preview"... window.location.assign(here + "questionnaire"); }; var chronoBegin = 0; btnShow.addEventListener("click", function (e) { try { e.preventDefault(); showQuestionnaire(); } catch (e) { Object(_tools_dom_js__WEBPACK_IMPORTED_MODULE_3__["addElement"])(divResponse, "p", txt.serverError, "", ["error"]); console.error(e); } }); // Lien passé par mail pour voir directement le quiz if (location.hash != undefined && location.hash === "#questionnaire") showQuestionnaire(); // Traitement de l'envoi de la réponse de l'utilisateur : var answer = {}; myForm.addEventListener("submit", function (e) { try { e.preventDefault(); btnSubmit.style.display = "none"; // seulement un envoi à la fois :) divResponse.innerHTML = ""; // supprime les éventuels messages déjà affichés var userResponses = Object(_tools_forms_js__WEBPACK_IMPORTED_MODULE_6__["getDatasFromInputs"])(myForm); answer.duration = Math.round((Date.now() - chronoBegin) / 1000); answer.nbQuestions = 0; answer.nbCorrectAnswers = 0; answer.QuestionnaireId = document.getElementById("questionnaireId").value; // Les réponses sont regroupées par question, donc quand l'idQuestion change, on connaît le résultat pour la question précédente // Pour qu'une réponse soit bonne, il faut cocher toutes les bonnes réponses (si QCM) à une question et cocher aucune des mauvaises var idChoice, idQuestion = "", goodResponse = false; for (var item in userResponses) { if (item.startsWith("isCorrect_response_")) // = nouvelle réponse possible { idChoice = item.substring(item.lastIndexOf("_") + 1); // si on change de queston if (userResponses["question_id_response_" + idChoice] != idQuestion) // on commence à traiter une nouvelle question { idQuestion = userResponses["question_id_response_" + idChoice]; answer.nbQuestions++; if (goodResponse) // résultat pour la question précédente answer.nbCorrectAnswers++; goodResponse = true; // réponse bonne jusqu'à la première erreur... } if (userResponses[item] == "true") { document.getElementById("response_" + idChoice).parentNode.classList.add("isCorrect"); if (userResponses["response_" + idChoice] === undefined) // bonne réponse non sélectionnée goodResponse = false; } else { if (userResponses["response_" + idChoice] === "on") // réponse cochée n'étant pas une des bonnes { goodResponse = false; document.getElementById("response_" + idChoice).parentNode.classList.add("isNotCorrect"); } } } } // si j'ai bien répondu à la dernière question, il faut le traiter ici, car je suis sorti de la boucle : if (goodResponse) answer.nbCorrectAnswers++; // Affichage du résultat, suivant si l'utilisateur est connecté ou pas et son score : var getOuput = Object(_tools_answers_js__WEBPACK_IMPORTED_MODULE_2__["checkAnswerOuput"])(answer); if (isConnected) { // Si l'utilisateur est connecté on enregistre son résultat sur le serveur. var xhrSaveAnswer = new XMLHttpRequest(); xhrSaveAnswer.open("POST", _config_instance_js__WEBPACK_IMPORTED_MODULE_0__["apiUrl"] + _config_questionnaires_js__WEBPACK_IMPORTED_MODULE_1__["questionnaireRoutes"] + _config_questionnaires_js__WEBPACK_IMPORTED_MODULE_1__["saveAnswersRoute"]); xhrSaveAnswer.onreadystatechange = function () { if (this.readyState == XMLHttpRequest.DONE) { var xhrResponse = JSON.parse(this.responseText); if (this.status === 201 && xhrResponse.message) { getOuput += "
" + xhrResponse.message.replace("#URL", configTemplate.userHomePage); checkPreviousResponses(user); } else getOuput += "
" + txtAnswers.responseSavedError.replace("#URL", configTemplate.userHomePage); Object(_tools_dom_js__WEBPACK_IMPORTED_MODULE_3__["addElement"])(divResponse, "p", getOuput, "", ["info"]); } }; xhrSaveAnswer.setRequestHeader("Authorization", "Bearer " + user.token); xhrSaveAnswer.setRequestHeader("Content-Type", "application/json"); answer.timeDifference = Object(_tools_users_js__WEBPACK_IMPORTED_MODULE_8__["getTimeDifference"])(); // on en profite pour mettre les pendules à l'heure xhrSaveAnswer.send(JSON.stringify(answer)); } else { // si pas connecté, on enregistre le résultat côté client pour permettre de le retrouver au moment de la création du compte ou de la connexion if (Object(_tools_answers_js__WEBPACK_IMPORTED_MODULE_2__["saveAnswer"])(answer)) { getOuput += "

" + txtAnswers.wantToSaveResponses; Object(_tools_dom_js__WEBPACK_IMPORTED_MODULE_3__["addElement"])(divResponse, "p", getOuput, "", ["info"]); document.querySelector(".subcribeBtns").style.display = "block"; } else // pas la peine de proposer de créer un compte si le stockage local ne fonctionne pas Object(_tools_dom_js__WEBPACK_IMPORTED_MODULE_3__["addElement"])(divResponse, "p", getOuput, "", ["info"]); // on redirige vers le résultat window.location.hash = ""; var here = window.location; // window.location à ajouter pour ne pas quitter la page en mode "preview"... window.location.assign(here + "response"); } // affichage des textes d'explications pour chaque question var explanations = document.querySelectorAll(".help"); for (var i in explanations) { if (explanations[i].style != undefined) // sinon, la console affiche une erreur "TypeError: explanations[i].style is undefined", bien que tout fonctionne (?) explanations[i].style.display = "block"; } } catch (e) { Object(_tools_dom_js__WEBPACK_IMPORTED_MODULE_3__["addElement"])(divResponse, "p", txt.serverError, "", ["error"]); console.error(e); } }); // Fonction vérifiant les précédentes réponses de l'utilisateur // Utile si connecté lors du premier chargement de la page, puis après une nouvelle réponse var checkPreviousResponses = function checkPreviousResponses(user) { var xhrPreviousRes = new XMLHttpRequest(); xhrPreviousRes.open("GET", _config_instance_js__WEBPACK_IMPORTED_MODULE_0__["apiUrl"] + _config_questionnaires_js__WEBPACK_IMPORTED_MODULE_1__["questionnaireRoutes"] + _config_questionnaires_js__WEBPACK_IMPORTED_MODULE_1__["getPreviousAnswers"] + user.id + "/" + document.getElementById("questionnaireId").value); xhrPreviousRes.onreadystatechange = function () { if (this.readyState == XMLHttpRequest.DONE) { var response = JSON.parse(this.responseText); if (this.status === 200) { var nbResponses = response.length; var previousAnswersContent = ""; Object(_tools_dom_js__WEBPACK_IMPORTED_MODULE_3__["addElement"])(explanationsTitle, "span", txtAnswers.previousAnswersTitle.replace("#NOM", user.name)); if (nbResponses !== 0) { var totNbQuestions = 0, totNbCorrectAnswers = 0, totDuration = 0, mapLineContent; for (var i in response) { totNbQuestions += response[i].nbQuestions; totNbCorrectAnswers += response[i].nbCorrectAnswers; totDuration += response[i].duration; mapLineContent = { DATEANSWER: Object(_tools_main__WEBPACK_IMPORTED_MODULE_7__["dateFormat"])(response[i].createdAt), // revoir problème de la langue NBCORRECTANSWERS: response[i].nbCorrectAnswers, AVGDURATION: response[i].duration }; previousAnswersContent += "
  • " + Object(_tools_main__WEBPACK_IMPORTED_MODULE_7__["replaceAll"])(txtAnswers.previousAnswersLine, mapLineContent) + "
  • "; } mapLineContent = { AVGDURATION: Math.round(totDuration / nbResponses), AVGCORRECTANSWERS: Math.round(totNbCorrectAnswers / totNbQuestions * 100) }; previousAnswersContent = "
    " + Object(_tools_main__WEBPACK_IMPORTED_MODULE_7__["replaceAll"])(txtAnswers.previousAnswersStats, mapLineContent) + "
    " + previousAnswersContent; Object(_tools_dom_js__WEBPACK_IMPORTED_MODULE_3__["addElement"])(explanationsContent, "ul", previousAnswersContent); } else Object(_tools_dom_js__WEBPACK_IMPORTED_MODULE_3__["addElement"])(explanationsContent, "ul", txtAnswers.noPreviousAnswer.replace("#NOM", user.name)); } //else // addElement(divResponse, "p", txt.serverError, "", ["error"]); // pas forcément utile de prévenir du bug ici ? } }; xhrPreviousRes.setRequestHeader("Authorization", "Bearer " + user.token); xhrPreviousRes.send(); }; /***/ }), /***/ "./src/tools/answers.js": /*!******************************!*\ !*** ./src/tools/answers.js ***! \******************************/ /*! exports provided: saveAnswer, checkAnswerOuput */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "saveAnswer", function() { return saveAnswer; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "checkAnswerOuput", function() { return checkAnswerOuput; }); /* harmony import */ var _clientstorage_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./clientstorage.js */ "./src/tools/clientstorage.js"); /* harmony import */ var _tools_main__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../tools/main */ "../tools/main.js"); /* harmony import */ var _tools_main__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_tools_main__WEBPACK_IMPORTED_MODULE_1__); var configFrontEnd = __webpack_require__(/*! ../config/general */ "./src/config/general.js"); var txt = __webpack_require__("../lang sync recursive ^\\.\\/.*\\/answer$")("./" + configFrontEnd.lang + "/answer"); // Enregistrement côté client du dernier résultat à un quiz en attendant d'être connecté var saveAnswer = function saveAnswer(answer) { if (!Object(_tools_main__WEBPACK_IMPORTED_MODULE_1__["isEmpty"])(answer.duration) && !Object(_tools_main__WEBPACK_IMPORTED_MODULE_1__["isEmpty"])(answer.nbCorrectAnswers) && !Object(_tools_main__WEBPACK_IMPORTED_MODULE_1__["isEmpty"])(answer.nbQuestions) && !Object(_tools_main__WEBPACK_IMPORTED_MODULE_1__["isEmpty"])(answer.QuestionnaireId)) { Object(_clientstorage_js__WEBPACK_IMPORTED_MODULE_0__["saveLocaly"])("lastAnswer", answer); return true; } else return false; }; // Retourne le texte suivant le nombre de bonnes réponses var checkAnswerOuput = function checkAnswerOuput(answer) { if (!Object(_tools_main__WEBPACK_IMPORTED_MODULE_1__["isEmpty"])(answer.duration) && !Object(_tools_main__WEBPACK_IMPORTED_MODULE_1__["isEmpty"])(answer.nbCorrectAnswers) && !Object(_tools_main__WEBPACK_IMPORTED_MODULE_1__["isEmpty"])(answer.nbQuestions)) { var ratio = answer.nbCorrectAnswers / answer.nbQuestions; var mapObj = { DURATION: answer.duration, NBCORRECTANSWERS: answer.nbCorrectAnswers, NBQUESTIONS: answer.nbQuestions }; var output = ""; if (ratio < 0.4) output = Object(_tools_main__WEBPACK_IMPORTED_MODULE_1__["replaceAll"])(txt.checkResponsesOuputFail, mapObj);else if (ratio < 0.8) output = Object(_tools_main__WEBPACK_IMPORTED_MODULE_1__["replaceAll"])(txt.checkResponsesOuputMedium, mapObj);else output = Object(_tools_main__WEBPACK_IMPORTED_MODULE_1__["replaceAll"])(txt.checkResponsesOuputSuccess, mapObj); if (output) return output;else return ""; } else return ""; }; /* export const checkSession = async (config) => { return new Promise((resolve, reject) => { if(isEmpty(localStorage.getItem("user"))) resolve(false); else { const user=JSON.parse(localStorage.getItem("user")); if(user.duration===undefined || user.duration < Date.now()) { localStorage.removeItem("user"); resolve(false); } else { const xhr = new XMLHttpRequest(); xhr.open("GET", configFrontEnd.apiUrl+config.userRoutes+config.checkLoginRoute+user.token); xhr.onload = () => { let response=JSON.parse(xhr.responseText); if (xhr.status === 200 && response.isValid && response.id != undefined) { if(response.id===user.id) resolve(true); else { localStorage.removeItem("user"); resolve(false); } } else { localStorage.removeItem("user"); resolve(false); } } xhr.onerror = () => reject(xhr.statusText); xhr.send(); } } }); }*/ /***/ }), /***/ "./src/tools/clientstorage.js": /*!************************************!*\ !*** ./src/tools/clientstorage.js ***! \************************************/ /*! exports provided: saveLocaly, getLocaly, removeLocaly */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "saveLocaly", function() { return saveLocaly; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getLocaly", function() { return getLocaly; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "removeLocaly", function() { return removeLocaly; }); // FONCTIONS UTILES AU STOCKAGE LOCAL (SESSION, COOKIES, INDEXDB, ETC.) // Revenir pour gérer le cas où local.storage n'est pas connu pour utiliser cookie var saveLocaly = function saveLocaly(name, data) { localStorage.setItem(name, JSON.stringify(data)); }; var getLocaly = function getLocaly(name) { var json = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; if (json) return JSON.parse(localStorage.getItem(name));else return localStorage.getItem(name); }; var removeLocaly = function removeLocaly(name) { localStorage.removeItem(name); }; /***/ }), /***/ "./src/tools/dom.js": /*!**************************!*\ !*** ./src/tools/dom.js ***! \**************************/ /*! exports provided: addElement */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "addElement", function() { return addElement; }); /* harmony import */ var _tools_main__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../tools/main */ "../tools/main.js"); /* harmony import */ var _tools_main__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_tools_main__WEBPACK_IMPORTED_MODULE_0__); function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } // Fonction associant les attributs fournis à un champ de formulaire var addElement = function addElement(eltParent, eltType) { var eltContent = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : ""; var eltId = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : ""; var eltClass = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : []; var eltAttributes = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : {}; var replace = arguments.length > 6 && arguments[6] !== undefined ? arguments[6] : true; if (Object(_tools_main__WEBPACK_IMPORTED_MODULE_0__["isEmpty"])(eltType) || Object(_tools_main__WEBPACK_IMPORTED_MODULE_0__["isEmpty"])(eltParent)) return false;else { var newElement = document.createElement(eltType); if (!Object(_tools_main__WEBPACK_IMPORTED_MODULE_0__["isEmpty"])(eltId)) // tester si l'id n'est pas déjà utilisé dans le DOM ? newElement.id = eltId; if (Array.isArray(eltClass) && eltClass.length != 0) { for (var i in eltClass) { newElement.classList.add(eltClass[i]); } } if (_typeof(eltAttributes) === "object") // !! tous les objets ne sont pas ok { for (var attributName in eltAttributes) { newElement.setAttribute(attributName, eltAttributes[attributName]); } } if (!Object(_tools_main__WEBPACK_IMPORTED_MODULE_0__["isEmpty"])(eltContent)) newElement.innerHTML = eltContent.replace(/\n/g, "
    "); // innerHTML permet d'ajouter du texte ayant lui-même des balises, etc. if (replace) eltParent.innerHTML = ""; eltParent.appendChild(newElement); } }; /***/ }), /***/ "./src/tools/everywhere.js": /*!*********************************!*\ !*** ./src/tools/everywhere.js ***! \*********************************/ /*! exports provided: helloDev, updateAccountLink */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "helloDev", function() { return helloDev; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "updateAccountLink", function() { return updateAccountLink; }); // Ce script fournit des fonctions utilisées sur toutes les pages du site var helloDev = function helloDev() { console.log("**** Hello ami développeur :-)\n Le code de WikiLerni est libre et sera bientôt lisible sur Gitlab.\n Pour les suggestions d'amélioration ou questions : dev@wililerni.com ****"); return true; }; var updateAccountLink = function updateAccountLink(status, configTemplate) { var link = document.getElementById("accountHeadLink"); var homePage = status + "HomePage"; link.href = "/" + configTemplate[homePage]; }; /***/ }), /***/ "./src/tools/forms.js": /*!****************************!*\ !*** ./src/tools/forms.js ***! \****************************/ /*! exports provided: setAttributesToInputs, getDatasFromInputs, empyForm, empyAndHideForm */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "setAttributesToInputs", function() { return setAttributesToInputs; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getDatasFromInputs", function() { return getDatasFromInputs; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "empyForm", function() { return empyForm; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "empyAndHideForm", function() { return empyAndHideForm; }); /* harmony import */ var _tools_main__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../tools/main */ "../tools/main.js"); /* harmony import */ var _tools_main__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_tools_main__WEBPACK_IMPORTED_MODULE_0__); function _createForOfIteratorHelper(o, allowArrayLike) { var it; if (typeof Symbol === "undefined" || o[Symbol.iterator] == null) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = o[Symbol.iterator](); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; } function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); } function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; } // Fonction associant les attributs fournis à un champ de formulaire var setAttributesToInputs = function setAttributesToInputs(inputsConf, myForm) { for (var i in myForm.elements) { if (!Object(_tools_main__WEBPACK_IMPORTED_MODULE_0__["isEmpty"])(myForm.elements[i].id)) { var idInput = myForm.elements[i].id; if (inputsConf[idInput] !== undefined) { var inputHTML = document.getElementById(idInput); for (var attribute in inputsConf[idInput]) { inputHTML.setAttribute(attribute, inputsConf[idInput][attribute]); } } } } return true; }; // Récupère toutes les valeurs de champs en omettant les checkbox non cochées, etc. var getDatasFromInputs = function getDatasFromInputs(myForm) { var datas = {}; var formData = new FormData(myForm); var _iterator = _createForOfIteratorHelper(formData.entries()), _step; try { for (_iterator.s(); !(_step = _iterator.n()).done;) { var entrie = _step.value; datas[entrie[0]] = entrie[1]; } } catch (err) { _iterator.e(err); } finally { _iterator.f(); } return datas; }; // Vide tous les champs d'un formulaire, y compris hidden, checkbox, etc. // Revoir pour les select var empyForm = function empyForm(myForm) { var formData = new FormData(myForm); var _iterator2 = _createForOfIteratorHelper(formData.entries()), _step2; try { for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) { var entrie = _step2.value; if (myForm.elements[entrie[0]].type == "checkbox" || myForm.elements[entrie[0]].type == "radio") myForm.elements[entrie[0]].checked = false;else myForm.elements[entrie[0]].value = ""; } } catch (err) { _iterator2.e(err); } finally { _iterator2.f(); } return true; }; // Vide et cache le formulaire var empyAndHideForm = function empyAndHideForm(myForm) { empyForm(myForm); myForm.style.display = "none"; }; /***/ }), /***/ "./src/tools/users.js": /*!****************************!*\ !*** ./src/tools/users.js ***! \****************************/ /*! exports provided: getConfig, getTimeDifference, getPassword, setSession, checkAnswerDatas, checkSession */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getConfig", function() { return getConfig; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getTimeDifference", function() { return getTimeDifference; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getPassword", function() { return getPassword; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "setSession", function() { return setSession; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "checkAnswerDatas", function() { return checkAnswerDatas; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "checkSession", function() { return checkSession; }); /* harmony import */ var _config_instance_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../config/instance.js */ "../config/instance.js"); /* harmony import */ var _config_instance_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_config_instance_js__WEBPACK_IMPORTED_MODULE_0__); /* harmony import */ var _config_users_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../config/users.js */ "../config/users.js"); /* harmony import */ var _config_users_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_config_users_js__WEBPACK_IMPORTED_MODULE_1__); /* harmony import */ var _clientstorage_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./clientstorage.js */ "./src/tools/clientstorage.js"); /* harmony import */ var _tools_main__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../tools/main */ "../tools/main.js"); /* harmony import */ var _tools_main__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_tools_main__WEBPACK_IMPORTED_MODULE_3__); function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } } function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; } var lang = _config_instance_js__WEBPACK_IMPORTED_MODULE_0__["availableLangs"][0]; var configTemplate = __webpack_require__("../views sync recursive ^\\.\\/.*\\.js$")("./" + _config_instance_js__WEBPACK_IMPORTED_MODULE_0__["theme"] + "/config/" + lang + ".js"); // Récupère les données de configuration des utilisateurs // À terme, un fichier statique importable comme module devrait éviter une requête ajax var getConfig = /*#__PURE__*/function () { var _ref = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() { return regeneratorRuntime.wrap(function _callee$(_context) { while (1) { switch (_context.prev = _context.next) { case 0: return _context.abrupt("return", new Promise(function (resolve, reject) { var xhr = new XMLHttpRequest(); xhr.open("GET", _config_instance_js__WEBPACK_IMPORTED_MODULE_0__["apiUrl"] + "/user/getconfig"); xhr.onload = function () { return resolve(JSON.parse(xhr.responseText)); }; xhr.onerror = function () { return reject(xhr.statusText); }; xhr.send(); })); case 1: case "end": return _context.stop(); } } }, _callee); })); return function getConfig() { return _ref.apply(this, arguments); }; }(); var getTimeDifference = function getTimeDifference() { // multiplier par -1, car c'est ce qu'il faut "ajouter" à l'heure UTC pour revenir en heure locale qui m'intéresse et non l'inverse var timeLocal = new Date().getTimezoneOffset() * -1; if (timeLocal > _config_users_js__WEBPACK_IMPORTED_MODULE_1__["timeDifferenceMax"] || timeLocal < _config_users_js__WEBPACK_IMPORTED_MODULE_1__["timeDifferenceMin"]) return 0;else return timeLocal; }; // On enlève volontairement les 0/O pour éviter les confusions ! // Et mieux vaut aussi débuter et finir par une lettre simple. var getPassword = function getPassword(nbCarMin, nbCarMax) { var nbCar = nbCarMin + Math.floor(Math.random() * (nbCarMax - nbCarMin)); var letters = "ABCDEFGHIJKLMNPQRSTUVWXYZabcdefghijklmnpqrstuvwxyz"; var others = "123456789!?.*-_%@&ÉÀÈÙ€$ÂÊÛÎ"; var password = letters[Math.floor(Math.random() * letters.length)]; for (var i = 1; i < nbCar - 1; i++) { if (i % 2 === 1) password += others[Math.floor(Math.random() * others.length)];else password += letters[Math.floor(Math.random() * letters.length)]; } password += letters[Math.floor(Math.random() * letters.length)]; return password; }; // J'utilise le stockage local du navigateur pour enregistrer les données permettant de reconnaître l'utilisateur par la suite // Seul le serveur pourra vérifier que les identifiants sont (toujours) valides. var setSession = function setSession(userId, token, durationTS) { var storageUser = { id: userId, token: token, duration: durationTS }; Object(_clientstorage_js__WEBPACK_IMPORTED_MODULE_2__["saveLocaly"])("user", storageUser); }; // Vérifie qu'il y a des données locales concernant le résultat d'un quiz // Et les ajoute aux données envoyées par les formulaires d'inscription/connexion si c'est le cas var checkAnswerDatas = function checkAnswerDatas(datas) { var lastAnswer = Object(_clientstorage_js__WEBPACK_IMPORTED_MODULE_2__["getLocaly"])("lastAnswer"); if (!Object(_tools_main__WEBPACK_IMPORTED_MODULE_3__["isEmpty"])(lastAnswer)) { var answer = JSON.parse(lastAnswer); if (!Object(_tools_main__WEBPACK_IMPORTED_MODULE_3__["isEmpty"])(answer.duration) && !Object(_tools_main__WEBPACK_IMPORTED_MODULE_3__["isEmpty"])(answer.nbCorrectAnswers) && !Object(_tools_main__WEBPACK_IMPORTED_MODULE_3__["isEmpty"])(answer.QuestionnaireId) && !Object(_tools_main__WEBPACK_IMPORTED_MODULE_3__["isEmpty"])(answer.nbQuestions)) { datas.duration = answer.duration; datas.nbCorrectAnswers = answer.nbCorrectAnswers; datas.QuestionnaireId = answer.QuestionnaireId; datas.nbQuestions = answer.nbQuestions; } } return datas; }; // Cette fonction teste la connexion de l'utilisateur d'une page // On peut fournis une liste de statuts acceptés (si vide = tous), ainsi qu'une url de redirection si non connecté, un message d'erreur à afficher sur la page de destination et l'url sur laquelle revenir une fois connecté var checkSession = /*#__PURE__*/function () { var _ref2 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee2() { var status, urlRedirection, message, urlWanted, _args2 = arguments; return regeneratorRuntime.wrap(function _callee2$(_context2) { while (1) { switch (_context2.prev = _context2.next) { case 0: status = _args2.length > 0 && _args2[0] !== undefined ? _args2[0] : []; urlRedirection = _args2.length > 1 ? _args2[1] : undefined; message = _args2.length > 2 ? _args2[2] : undefined; urlWanted = _args2.length > 3 ? _args2[3] : undefined; return _context2.abrupt("return", new Promise(function (resolve, reject) { var userDatas = Object(_clientstorage_js__WEBPACK_IMPORTED_MODULE_2__["getLocaly"])("user"); if (Object(_tools_main__WEBPACK_IMPORTED_MODULE_3__["isEmpty"])(userDatas)) { redirectUser(urlRedirection, message, urlWanted); resolve(false); } else { var user = JSON.parse(userDatas); if (Object(_tools_main__WEBPACK_IMPORTED_MODULE_3__["isEmpty"])(user.id) || Object(_tools_main__WEBPACK_IMPORTED_MODULE_3__["isEmpty"])(user.token) || Object(_tools_main__WEBPACK_IMPORTED_MODULE_3__["isEmpty"])(user.duration) || user.duration < Date.now()) { Object(_clientstorage_js__WEBPACK_IMPORTED_MODULE_2__["removeLocaly"])("user"); redirectUser(urlRedirection, message, urlWanted); resolve(false); } else { var xhr = new XMLHttpRequest(); xhr.open("GET", _config_instance_js__WEBPACK_IMPORTED_MODULE_0__["apiUrl"] + _config_users_js__WEBPACK_IMPORTED_MODULE_1__["userRoutes"] + _config_users_js__WEBPACK_IMPORTED_MODULE_1__["checkLoginRoute"] + user.token); xhr.onload = function () { var response = JSON.parse(xhr.responseText); if (xhr.status === 200 && response.isValid && response.id != undefined) { if (response.id === user.id) { user.name = response.name; user.language = response.language; user.timeDifference = response.timeDifference; user.status = response.status; // c'est le token qui sert à vérifier le statut à chaque requête à l'API Object(_clientstorage_js__WEBPACK_IMPORTED_MODULE_2__["saveLocaly"])("user", user); // si il s'agit d'un "user" et que son abonnement a expiré, je le redirige vers la caisse :-) if (response.status === "user" && response.nbDaysOk <= 0) { var urlAccount = _config_instance_js__WEBPACK_IMPORTED_MODULE_0__["siteUrl"] + "/" + configTemplate.accountPage; if (window.location.href.indexOf(urlAccount) === -1) window.location.assign("/" + configTemplate.accountPage + "#subscribe"); // passée directement ici, l'ancre #subscribe ne fonctionne pas !? resolve(true); } else { if (status.length !== 0 && status.indexOf(response.status) === -1) { redirectUser(urlRedirection, message, urlWanted); resolve(false); } else resolve(true); } } else { Object(_clientstorage_js__WEBPACK_IMPORTED_MODULE_2__["removeLocaly"])("user"); redirectUser(urlRedirection, message, urlWanted); resolve(false); } } else { Object(_clientstorage_js__WEBPACK_IMPORTED_MODULE_2__["removeLocaly"])("user"); redirectUser(urlRedirection, message, urlWanted); resolve(false); } }; xhr.onerror = function () { return reject(xhr.statusText); }; xhr.send(); } } })); case 5: case "end": return _context2.stop(); } } }, _callee2); })); return function checkSession() { return _ref2.apply(this, arguments); }; }(); // Cette fonction sert à la précédente en cas de connexion non valide var redirectUser = function redirectUser(urlRedirection, message, urlWanted) { if (!Object(_tools_main__WEBPACK_IMPORTED_MODULE_3__["isEmpty"])(message)) Object(_clientstorage_js__WEBPACK_IMPORTED_MODULE_2__["saveLocaly"])("message", message); if (!Object(_tools_main__WEBPACK_IMPORTED_MODULE_3__["isEmpty"])(urlWanted)) Object(_clientstorage_js__WEBPACK_IMPORTED_MODULE_2__["saveLocaly"])("url", urlWanted); if (!Object(_tools_main__WEBPACK_IMPORTED_MODULE_3__["isEmpty"])(urlRedirection)) window.location.assign(urlRedirection); }; /***/ }) /******/ }); //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vd2VicGFjay9ib290c3RyYXAiLCJ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gICAgICAgICAgcmV0dXJuIHRydWU7XG4gICAgICAgICAgICBlbHNlXG4gICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlO1xuICAgICAgICB9XG4gICAgfVxuICAgIFxuICAgIHN0YXRpYyB0cmltSWZOb3ROdWxsKG15U3RyaW5nKVxuICAgIHtcbiAgICAgICAgaWYoVG9vbC5pc0VtcHR5KG15U3RyaW5nKSlcbiAgICAgICAgICAgIG15U3RyaW5nPW51bGw7XG4gICAgICAgIGVsc2VcbiAgICAgICAge1xuICAgICAgICAgICAgbXlTdHJpbmcrPVwiXCI7Ly8gc2kgYXV0cmUgY2hvc2UgcXUndW5lIGNoYcOubmUgZW52b3nDqS4uLlxuICAgICAgICAgICAgbXlTdHJpbmc9bXlTdHJpbmcudHJpbSgpO1xuICAgICAgICB9XG4gICAgICAgIHJldHVybiBteVN0cmluZztcbiAgICB9XG5cblxuICAgIHN0YXRpYyBzaG9ydGVuSWZMb25nZXJUaGFuKG15U3RyaW5nLCBtYXgpXG4gICAge1xuICAgICAgICBteVN0cmluZys9XCJcIjsvLyBhdSBjYXMgb8O5IGNlbGEgbmUgc2VyYWl0IHBhcyB1bmUgY2hhw65uZS4uLlxuICAgICAgIGlmKG15U3RyaW5nLmxlbmd0aCA+IG1heClcbiAgICAgICAgICAgIG15U3RyaW5nPW15U3RyaW5nLnN1YnN0cmluZygwLCAobWF4LTMpKStcIi4uLlwiO1xuICAgICAgICByZXR1cm4gbXlTdHJpbmc7XG4gICAgfVxuXG4gICAgLy8gc291cmNlIDogaHR0cHM6Ly9zdGFja292ZXJmbG93LmNvbS9xdWVzdGlvbnMvMTU2MDQxNDAvcmVwbGFjZS1tdWx0aXBsZS1zdHJpbmdzLXdpdGgtbXVsdGlwbGUtb3RoZXItc3RyaW5nc1xuICAgIHN0YXRpYyByZXBsYWNlQWxsKG15U3RyaW5nLCBtYXBPYmopXG4gICAge1xuICAgICAgICBjb25zdCByZXBsYWNlRWx0cyA9IG5ldyBSZWdFeHAoT2JqZWN0LmtleXMobWFwT2JqKS5qb2luKFwifFwiKSxcImdpXCIpO1xuICAgICAgICByZXR1cm4gbXlTdHJpbmcucmVwbGFjZShyZXBsYWNlRWx0cywgKG1hdGNoZWQpID0+XG4gICAgICAgIHtcbiAgICAgICAgICAgIHJldHVybiBtYXBPYmpbbWF0Y2hlZF07XG4gICAgICAgIH0pO1xuICAgIH1cblxuICAgIC8vIHNvdXJjZSA6IGh0dHBzOi8vZGV2ZWxvcGVyLm1vemlsbGEub3JnL2ZyL2RvY3MvV2ViL0phdmFTY3JpcHQvUmVmZXJlbmNlL09iamV0c19nbG9iYXV4L01hdGgvcmFuZG9tXG4gICAgc3RhdGljIGdldFJhbmRvbUludChtaW4sIG1heClcbiAgICB7XG4gICAgICAgIG1pbiA9IE1hdGguY2VpbChtaW4pO1xuICAgICAgICBtYXggPSBNYXRoLmZsb29yKG1heCk7XG4gICAgICAgIHJldHVybiBNYXRoLmZsb29yKE1hdGgucmFuZG9tKCkgKiAobWF4IC0gbWluKSkgKyBtaW47XG4gICAgfVxuXG4gICAgLy8gw6AgY29tcGzDqXRlciA6IGh0dHBzOi8vZW4ud2lraXBlZGlhLm9yZy93aWtpL0RhdGVfZm9ybWF0X2J5X2NvdW50cnlcbiAgICBzdGF0aWMgZGF0ZUZvcm1hdChkYXRlU3RyaW5nLCBsYW5nPVwiZnJcIilcbiAgICB7XG4gICAgICAgIGlmKFRvb2wuaXNFbXB0eShkYXRlU3RyaW5nKSlcbiAgICAgICAgICAgIHJldHVybiBcIlwiO1xuICAgICAgICBsZXQgbXlEYXRlPW5ldyBEYXRlKGRhdGVTdHJpbmcpO1xuICAgICAgICBsZXQgbXlEYXk9bXlEYXRlLmdldERhdGUoKStcIlwiO1xuICAgICAgICBpZihteURheS5sZW5ndGg9PT0xKVxuICAgICAgICAgICAgbXlEYXk9XCIwXCIrbXlEYXk7XG4gICAgICAgIGxldCBteU1vdW50aD0obXlEYXRlLmdldE1vbnRoKCkrMSkrXCJcIjtcb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WYodXNlclJlc3BvbnNlc1tpdGVtXT09XCJ0cnVlXCIpXG4gICAgICAgICAgICAgICAge1xuICAgICAgICAgICAgICAgICAgICBkb2N1bWVudC5nZXRFbGVtZW50QnlJZChcInJlc3BvbnNlX1wiK2lkQ2hvaWNlKS5wYXJlbnROb2RlLmNsYXNzTGlzdC5hZGQoXCJpc0NvcnJlY3RcIik7XG4gICAgICAgICAgICAgICAgICAgIGlmKHVzZXJSZXNwb25zZXNbXCJyZXNwb25zZV9cIitpZENob2ljZV09PT11bmRlZmluZWQpLy8gYm9ubmUgcsOpcG9uc2Ugbm9uIHPDqWxlY3Rpb25uw6llXG4gICAgICAgICAgICAgICAgICAgICAgICBnb29kUmVzcG9uc2U9ZmFsc2U7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIGVsc2VcbiAgICAgICAgICAgICAgICB7XG4gICAgICAgICAgICAgICAgICAgIGlmKHVzZXJSZXNwb25zZXNbXCJyZXNwb25zZV9cIitpZENob2ljZV09PT1cIm9uXCIpLy8gcsOpcG9uc2UgY29jaMOpZSBuJ8OpdGFudCBwYXMgdW5lIGRlcyBib25uZXNcbiAgICAgICAgICAgICAgICAgICAge1xuICAgICAgICAgICAgICAgICAgICAgICAgZ29vZFJlc3BvbnNlPWZhbHNlO1xuICAgICAgICAgICAgICAgICAgICAgICAgZG9jdW1lbnQuZ2V0RWxlbWVudEJ5SWQoXCJyZXNwb25zZV9cIitpZENob2ljZSkucGFyZW50Tm9kZS5jbGFzc0xpc3QuYWRkKFwiaXNOb3RDb3JyZWN0XCIpO1xuICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuICAgICAgICB9XG4gICAgICAgIC8vIHNpIGonYWkgYmllbiByw6lwb25kdSDDoCBsYSBkZXJuacOocmUgcXVlc3Rpb24sIGlsIGZhdXQgbGUgdHJhaXRlciBpY2ksIGNhciBqZSBzdWlzIHNvcnRpIGRlIGxhIGJvdWNsZ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AgICAgICAgICAgICBmb3IobGV0IGkgaW4gcmVzcG9uc2UpXG4gICAgICAgICAgICAgICAgICAgIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIHRvdE5iUXVlc3Rpb25zKz1yZXNwb25zZVtpXS5uYlF1ZXN0aW9ucztcbiAgICAgICAgICAgICAgICAgICAgICAgIHRvdE5iQ29ycmVjdEFuc3dlcnMrPXJlc3BvbnNlW2ldLm5iQ29ycmVjdEFuc3dlcnM7XG4gICAgICAgICAgICAgICAgICAgICAgICB0b3REdXJhdGlvbis9cmVzcG9uc2VbaV0uZHVyYXRpb247XG4gICAgICAgICAgICAgICAgICAgICAgICBtYXBMaW5lQ29udGVudCA9XG4gICAgICAgICAgICAgICAgICAgICAgICB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgREFURUFOU1dFUiA6IGRhdGVGb3JtYXQocmVzcG9uc2VbaV0uY3JlYXRlZEF0KSwvLyByZXZvaXIgcHJvYmzDqG1lIGRlIGxhIGxhbmd1ZVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIE5CQ09SUkVDVEFOU1dFUlMgOiByZXNwb25zZVtpXS5uYkNvcnJlY3RBbnN3ZXJzLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIEFWR0RVUkFUSU9OIDogcmVzcG9uc2VbaV0uZHVyYXRpb25cbiAgICAgICAgICAgICAgICAgICAgICAgIH07XG4gICAgICAgICAgICAgICAgICAgICAgICBwcmV2aW91c0Fuc3dlcnNDb250ZW50Kz1cIjxsaT5cIityZXBsYWNlQWxsKHR4dEFuc3dlcnMucHJldmlvdXNBbnN3ZXJzTGluZSwgbWFwTGluZUNvbnRlbnQpK1wiPC9saT5cIjtcbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICBtYXBMaW5lQ29udGVudCA9XG4gICAgICAgICAgICAgICAgICAgIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIEFWR0RVUkFUSU9OIDogTWF0aC5yb3VuZCh0b3RE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vbHZlLCByZWplY3QpID0+XG4gICAge1xuICAgICAgICBpZihpc0VtcHR5KGxvY2FsU3RvcmFnZS5nZXRJdGVtKFwidXNlclwiKSkpXG4gICAgICAgICAgICByZXNvbHZlKGZhbHNlKTtcbiAgICAgICAgZWxzZVxuICAgICAgICB7XG4gICAgICAgICAgICBjb25zdCB1c2VyPUpTT04ucGFyc2UobG9jYWxTdG9yYWdlLmdldEl0ZW0oXCJ1c2VyXCIpKTtcbiAgICAgICAgICAgIGlmKHVzZXIuZHVyYXRpb249PT11bmRlZmluZWQgfHwgdXNlci5kdXJhdGlvbiA8IERhdGUubm93KCkpXG4gICAgICAgICAgICB7XG4gICAgICAgICAgICAgICAgbG9jYWxTdG9yYWdlLnJlbW92ZUl0ZW0oXCJ1c2VyXCIpO1xuICAgICAgICAgICAgICAgIHJlc29sdmUoZmFsc2UpO1xuICAgICAgICAgICAgfVxuICAgICAgICAgICAgZWxzZVxuICAgICAgICAgICAge1xuICAgICAgICAgICAgICAgIGNvbnN0IHhociA9IG5ldyBYTUxIdHRwUmVxdWVzdCgpO1xuICAgICAgICAgICAgICAgIHhoci5vcGVuKFwiR0VUXCIsIGNvbmZpZ0Zyb250RW5kLmFwaVVybCtjb25maWcudXNlclJvdXRlcytjb25maWcuY2hlY2tMb2dpblJvdXRlK3VzZXIudG9rZW4pO1xuICAgICAgICAgICAgICAgIHhoci5vbmxvYWQgPSAoKSA9PlxuICAgICAgICAgICAgICAgIHtcbiAgICAgICAgICAgICAgICAgICAgbGV0IHJlc3BvbnNlPUpTT04ucGFyc2UoeGhyLnJlc3BvbnNlVGV4dCk7XG4gICAgICAgICAgICAgICAgICAgIGlmICh4aHIuc3RhdHVzID09PSAyMDAgJiYgcmVzcG9uc2UuaXNWYWxpZCAmJiByZXNwb25zZS5pZCAhPSB1bmRlZmluZWQpXG4gICAgICAgICAgICAgICAgICAgIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIGlmKHJlc3BvbnNlLmlkPT09dXNlci5pZClcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICByZXNvbHZlKHRydWUpO1xuICAgICAgICAgICAgICAgICAgICAgICAgZWxzZVxuICAgICAgICAgICAgICAgICAgICAgICAge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGxvY2FsU3RvcmFnZS5yZW1vdmVJdGVtKFwidXNlclwiKTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICByZXNvbHZlKGZhbHNlKTtcbiAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICBlbHNlXG4gICAgICAgICAgICAgICAgICAgIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIGxvY2FsU3RvcmFnZS5yZW1vdmVJdGVtKFwidXNlclwiKTtcbiAgICAgICAgICAgICAgICAgICAgICAgIHJlc29sdmUoZmFsc2UpO1xuICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIHhoci5vbmVycm9yID0gKCkgPT4gcmVqZWN0KHhoci5zdGF0dXNUZXh0KTtcbiAgICAgICAgICAgICAgICB4aHIuc2VuZCgpO1xuICAgICAgICAgICAgfVxuICAgICAgICB9XG4gICAgfSk7XG59Ki8iLCIvLyBGT05DVElPTlMgVVRJTEVTIEFVIFNUT0NLQUdFIExPQ0FMIChTRVNTSU9OLCBDT09LSUVTLCBJTkRFWERCLCBFVEMuKVxuLy8gUmV2ZW5pciBwb3VyIGfDqXJlciBsZSBjYXMgb8O5IGxvY2FsLnN0b3JhZ2Ugbidlc3QgcGFzIGNvbm51IHBvdXIgdXRpbGlzZXIgY29va2llXG4gICAgXG5leHBvcnQgY29uc3Qgc2F2ZUxvY2FseSA9IChuYW1lLCBkYXRhKSA9Plxue1xuICAgIGxvY2FsU3RvcmFnZS5zZXRJdGVtKG5hbWUsIEpTT04uc3RyaW5naWZ5KGRhdGEpKTtcbn1cblxuZXhwb3J0IGNvbnN0IGdldExvY2Fse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SA9Plxue1xuICAgIHJldHVybiBuZXcgUHJvbWlzZSgocmVzb2x2ZSwgcmVqZWN0KSA9PlxuICAgIHtcbiAgICAgICAgY29uc3QgdXNlckRhdGFzPWdldExvY2FseShcInVzZXJcIik7XG4gICAgICAgIGlmKGlzRW1wdHkodXNlckRhdGFzKSlcbiAgICAgICAge1xuICAgICAgICAgICAgcmVkaXJlY3RVc2VyKHVybFJlZGlyZWN0aW9uLCBtZXNzYWdlLCB1cmxXYW50ZWQpO1xuICAgICAgICAgICAgcmVzb2x2ZShmYWxzZSk7XG4gICAgICAgIH1cbiAgICAgICAgZWxzZVxuICAgICAgICB7XG4gICAgICAgICAgICBjb25zdCB1c2VyPUpTT04ucGFyc2UodXNlckRhdGFzKTtcbiAgICAgICAgICAgIGlmKGlzRW1wdHkodXNlci5pZCkgfHzCoGlzRW1wdHkodXNlci50b2tlbikgfHwgaXNFbXB0eSh1c2VyLmR1cmF0aW9uKSB8fCB1c2VyLmR1cmF0aW9uIDwgRGF0ZS5ub3coKSlcbiAgICAgICAgICAgIHtcbiAgICAgICAgICAgICAgICByZW1vdmVMb2NhbHkoXCJ1c2VyXCIpO1xuICAgICAgICAgICAgICAgIHJlZGlyZWN0VXNlcih1cmxSZWRpcmVjdGlvbiwgbWVzc2FnZSwgdXJsV2FudGVkKTtcbiAgICAgICAgICAgICAgICByZXNvbHZlKGZhbHNlKTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIGVsc2VcbiAgICAgICAgICAgIHtcbiAgICAgICAgICAgICAgICBjb25zdCB4aHIgPSBuZXcgWE1MSHR0cFJlcXVlc3QoKTtcbiAgICAgICAgICAgICAgICB4aHIub3BlbihcIkdFVFwiLCBhcGlVcmwrdXNlclJvdXRlcytjaGVja0xvZ2luUm91dGUrdXNlci50b2tlbik7XG4gICAgICAgICAgICAgICAgeGhyLm9ubG9hZCA9ICgpID0+XG4gICAgICAgICAgICAgICAge1xuICAgICAgICAgICAgICAgICAgICBsZXQgcmVzcG9uc2U9SlNPTi5wYXJzZSh4aHIucmVzcG9uc2VUZXh0KTtcbiAgICAgICAgICAgICAgICAgICAgaWYgKHhoci5zdGF0dXMgPT09IDIwMCAmJiByZXNwb25zZS5pc1ZhbGlkICYmIHJlc3BvbnNlLmlkICE9IHVuZGVmaW5lZClcbiAgICAgICAgICAgICAgICAgICAge1xuICAgICAgICAgICAgICAgICAgICAgICAgaWYocmVzcG9uc2UuaWQ9PT11c2VyLmlkKVxuICAgICAgICAgICAgICAgICAgICAgICAge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHVzZXIubmFtZT1yZXNwb25zZS5uYW1lO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHVzZXIubGFuZ3VhZ2U9cmVzcG9uc2UubGFuZ3VhZ2U7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgdXNlci50aW1lRGlmZmVyZW5jZT1yZXNwb25zZS50aW1lRGlmZmVyZW5jZTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB1c2VyLnN0YXR1cz1yZXNwb25zZS5zdGF0dXM7Ly8gYydlc3QgbGUgdG9rZW4gcXVpIHNlcnQgw6AgdsOpcmlmaWVyIGxlIHN0YXR1dCDDoCBjaGFxdWUgcmVxdcOqdGUgw6AgbCdBUElcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBzYXZlTG9jYWx5KFwidXNlclwiLCB1c2VyKTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAvLyBzaSBpbCBzJ2FnaXQgZCd1biBcInVzZXJcIiBldCBxdWUgc29uIGFib25uZW1lbnQgYSBleHBpcsOpLCBqZSBsZSByZWRpcmlnZSB2ZXJzIGxhIGNhaXNzZSA6LSlcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBpZihyZXNwb25zZS5zdGF0dXM9PT1cInVzZXJcIiAmJiByZXNwb25zZS5uYkRheXNPayA8PSAwKVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgY29uc3QgdXJsQWNjb3VudD1zaXRlVXJsK1wiL1wiK2NvbmZpZ1RlbXBsYXRlLmFjY291bnRQYWdlO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBpZih3aW5kb3cubG9jYXRpb24uaHJlZi5pbmRleE9mKHVybEFjY291bnQpPT09LTEpXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB3aW5kb3cubG9jYXRpb24uYXNzaWduKFwiL1wiK2NvbmZpZ1RlbXBsYXRlLmFjY291bnRQYWdlK1wiI3N1YnNjcmliZVwiKTsvLyBwYXNzw6llIGRpcmVjdGVtZW50IGljaSwgbCdhbmNyZSAjc3Vic2NyaWJlIG5lIGZvbmN0aW9ubmUgcGFzICE/XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHJlc29sdmUodHJ1ZSk7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGVsc2VcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlmKHN0YXR1cy5sZW5ndGghPT0wICYmIHN0YXR1cy5pbmRleE9mKHJlc3BvbnNlLnN0YXR1cyk9PT0tMSlcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgcmVkaXJlY3RVc2VyKHVybFJlZGlyZWN0aW9uLCBtZXNzYWdlLCB1cmxXYW50ZWQpO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgcmVzb2x2ZShmYWxzZSk7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgZWxzZVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgcmVzb2x2ZSh0cnVlKTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgICAgICBlbHNlXG4gICAgICAgICAgICAgICAgICAgICAgICB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgcmVtb3ZlTG9jYWx5KFwidXNlclwiKTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICByZWRpcmVjdFVzZXIodXJsUmVkaXJlY3Rpb24sIG1lc3NhZ2UsIHVybFdhbnRlZCk7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgcmVzb2x2ZShmYWxzZSk7XG4gICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgZWxzZVxuICAgICAgICAgICAgICAgICAgICB7XG4gICAgICAgICAgICAgICAgICAgICAgICByZW1vdmVMb2NhbHkoXCJ1c2VyXCIpO1xuICAgICAgICAgICAgICAgICAgICAgICAgcmVkaXJlY3RVc2VyKHVybFJlZGlyZWN0aW9uLCBtZXNzYWdlLCB1cmxXYW50ZWQpO1xuICAgICAgICAgICAgICAgICAgICAgICAgcmVzb2x2ZShmYWxzZSk7XG4gICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgeGhyLm9uZXJyb3IgPSAoKSA9PiByZWplY3QoeGhyLnN0YXR1c1RleHQpO1xuICAgICAgICAgICAgICAgIHhoci5zZW5kKCk7XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICB9KTtcbn1cbi8vIENldHRlIGZvbmN0aW9uIHNlcnQgw6AgbGEgcHLDqWPDqWRlbnRlIGVuIGNhcyBkZSBjb25uZXhpb24gbm9uIHZhbGlkZVxuY29uc3QgcmVkaXJlY3RVc2VyID0gKHVybFJlZGlyZWN0aW9uLCBtZXNzYWdlLCB1cmxXYW50ZWQpID0+XG57XG4gICAgaWYoIWlzRW1wdHkobWVzc2FnZSkpXG4gICAgICAgIHNhdmVMb2NhbHkoXCJtZXNzYWdlXCIsIG1lc3NhZ2UpO1xuICAgIGlmKCFpc0VtcHR5KHVybFdhbnRlZCkpXG4gICAgICAgIHNhdmVMb2NhbHkoXCJ1cmxcIiwgdXJsV2FudGVkKTtcbiAgICBpZighaXNFbXB0eSh1cmxSZWRpcmVjdGlvbikpXG4gICAgICAgIHdpbmRvdy5sb2NhdGlvbi5hc3NpZ24odXJsUmVkaXJlY3Rpb24pO1xufSJdLCJzb3VyY2VSb290IjoiIn0=