1669 lines
226 KiB
JavaScript
1669 lines
226 KiB
JavaScript
/******/ (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/homeUser.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 sync recursive ^\\.\\/.*\\/questionnaire$":
|
|
/*!********************************************!*\
|
|
!*** ../lang sync ^\.\/.*\/questionnaire$ ***!
|
|
\********************************************/
|
|
/*! no static exports found */
|
|
/***/ (function(module, exports, __webpack_require__) {
|
|
|
|
var map = {
|
|
"./fr/questionnaire": "../lang/fr/questionnaire.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 ^\\.\\/.*\\/questionnaire$";
|
|
|
|
/***/ }),
|
|
|
|
/***/ "../lang sync recursive ^\\.\\/.*\\/user$":
|
|
/*!***********************************!*\
|
|
!*** ../lang sync ^\.\/.*\/user$ ***!
|
|
\***********************************/
|
|
/*! no static exports found */
|
|
/***/ (function(module, exports, __webpack_require__) {
|
|
|
|
var map = {
|
|
"./fr/user": "../lang/fr/user.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 ^\\.\\/.*\\/user$";
|
|
|
|
/***/ }),
|
|
|
|
/***/ "../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 questions. 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 questions. C'est pas mal du tout !",
|
|
checkResponsesOuputSuccess: "Vous avez répondu en DURATION secondes et avez NBCORRECTANSWERS bonne(s) réponse(s) sur NBQUESTIONS questions. 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é. <a href='/#URL'>Accèder à tous vos quizs</a>.",
|
|
responseSavedError: "Cependant une erreur a été rencontrée durant l'enregistrement de votre résultat. <a href='/#URL'>Accèder à tous vos quizs</a>.",
|
|
noQuestionnaireWithoudAnswer: "Bravo ! Vous avez répondu à tous les quizs qui vous on été proposés !<br>Il y en a des nouveaux publiés régulièrement et qui vous seront proposés.<br>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 à <b>NBQUESTIONNAIRES questionnaires différents</b> sur les NBTOTQUESTIONNAIRES proposés par le site.<br>En moyenne, vous avez mis AVGDURATION secondes à répondre et avez <b>correctement répondu à AVGCORRECTANSWERS % des questions</b>.",
|
|
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 <b>AVGCORRECTANSWERS % de bonnes réponses</b>.",
|
|
previousAnswersLine: "Le DATEANSWER, vous avez répondu correctement à NBCORRECTANSWERS questions en AVGDURATION secondes.",
|
|
noPreviousAnswer: "On dirait que 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.<br>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.<br>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."
|
|
};
|
|
|
|
/***/ }),
|
|
|
|
/***/ "../lang/fr/questionnaire.js":
|
|
/*!***********************************!*\
|
|
!*** ../lang/fr/questionnaire.js ***!
|
|
\***********************************/
|
|
/*! no static exports found */
|
|
/***/ (function(module, exports) {
|
|
|
|
module.exports = {
|
|
needTitle: "Merci de fournir un titre à votre quiz.",
|
|
needNotTooLongTitle: "Le titre du quiz ne doit pas compter plus de 255 caractères.",
|
|
needUrl: "Merci de fournir l'url à votre quiz.",
|
|
needUniqueUrl: "L'url du quiz doit être unique.",
|
|
needIntroduction: "Merci de fournir un texte d'introduction à votre quiz.",
|
|
needCorrectPublishingDate: "La date de publication fournie n'a pas un format valide.",
|
|
needKnowIfIsPublished: "Il faut savoir si ce quiz est publié.",
|
|
needLanguage: "Vous devez sélectionner la langue de ce quiz.",
|
|
needEstimatedTime: "Merci de sélectionner une estimation de la durée de ce quiz.",
|
|
notFound: "Aucun quiz n'a pas été trouvé.",
|
|
searchResultTitle: "Résultat pour votre recherche",
|
|
searchNoResult: "Aucun résultat n'a été trouvé pour votre recherche",
|
|
searchWithResult: "Voici #NB quizs pour votre recherche :",
|
|
questionnairesName: "quiz",
|
|
publishedBy: "Quiz publié par",
|
|
publishedAt: ", le",
|
|
lastUpdated: "Dernière mise à jour, le ",
|
|
estimatedTime: "Durée de lecture estimée : ",
|
|
estimatedTimeOption: {
|
|
short: "courte",
|
|
medium: "moyenne",
|
|
long: "longue"
|
|
},
|
|
explanationBeforeTxt: "Extrait :",
|
|
correctAnswerTxt: "Bonne réponse",
|
|
wrongAnswerTxt: "Mauvaise réponse",
|
|
btnSendResponse: "Testez vos réponses.",
|
|
btnProposeSubscribe: "Je crée mon compte.",
|
|
btnProposeConnection: "Je me connecte.",
|
|
btnShowQuestionnaire: "Afficher le quiz !",
|
|
btnShareQuizTxt: "Partager ce quiz sur ",
|
|
nextQuestionnairesList: "Les #NB prochains quizs devant être publiés",
|
|
needBeCompleted: "Quiz incomplet",
|
|
nextDateWithoutQuestionnaire: "Prochaine date sans quiz programmé : ",
|
|
haveBeenPublished: ":NB nouveaux questionnaires ont été publiés.",
|
|
haveBeenRegenerated: "Les fichiers HTML de #NB1 questionnaires et #NB2 rubriques ont été regénérés."
|
|
};
|
|
|
|
/***/ }),
|
|
|
|
/***/ "../lang/fr/user.js":
|
|
/*!**************************!*\
|
|
!*** ../lang/fr/user.js ***!
|
|
\**************************/
|
|
/*! no static exports found */
|
|
/***/ (function(module, exports) {
|
|
|
|
module.exports = {
|
|
notFound: "L'utilisateur n'a pas été trouvé.",
|
|
needName: "Merci de choisir un nom d'utilisateur.",
|
|
needNotTooLongName: "Merci de choisir un nom d'utilisateur ne comptant pas plus de 70 caractères.",
|
|
needEmail: "Merci de saisir votre adresse e-mail.",
|
|
needUniqueEmail: "L'adresse e-mail que vous avez saisie est déjà utilisée par un autre utilisateur. Si vous avez déjà un compte, <a href='/#URL'>cliquez-ici pour vous connecter</a>.",
|
|
needNotTooLongEmail: "Merci de saisir une adresse e-mail ne comptant pas plus de 255 caractères.",
|
|
needPassWord: "Merci de fournir un mot de passe.",
|
|
needLongPassWord: "Merci de fournir un mot de passe d'au moins MIN_LENGTH caractères.",
|
|
passwordCopied: "Le mot de passe généré a été copié dans votre presse-papier. Vous pouvez le recopier (Ctrl+V) où vous le souhaitez.",
|
|
needStatus: "Il manque le statut.",
|
|
needLanguage: "Il manque le code langue.",
|
|
needValidLastConnectionDate: "La date de dernière connexion n'est pas valide.",
|
|
needSMTP: "Il manque le serveur SMTP.",
|
|
needSMTPNotFound: "Il manque le serveur SMTP.",
|
|
needKnowNewsletterOk: "Il faut savoir si l'utilisateur accepte ou refuse de recevoir la newsletter.",
|
|
needTimeDifference: "Il faut connaître le nombre de minutes du décalage horaire.",
|
|
needMinTimeDifference: "Il faut fournir un nombre de minutes à enlever à l'heure GMT ne dépassant pas 720.",
|
|
needMaxTimeDifference: "Il faut fournir un nombre de minutes à ajouter à l'heure GMT ne dépassant pas 840.",
|
|
needUGCOk: "Vous devez accepter les CGU pour pouvoir créer votre compte. ",
|
|
godfatherNotFound: "Aucun utilisateur n'a été trouvé pour ce code parrain.",
|
|
godfatherFound: "Votre parrain a bien été trouvé !",
|
|
mailValidationMessage: "Votre inscription est bien enregistrée.\nPour la finaliser, merci de cliquer dans les 24H sur le lien de confirmation qui vient de vous être envoyé par e-mail.",
|
|
mailValidationLinkSubject: "Merci de valider votre inscription",
|
|
mailValidationLinkTxt: "Valider mon compte.",
|
|
mailValidationLinkSBodyTxt: "Bonjour USER_NAME,\n\nPour valider votre inscription, merci de cliquer sur le lien suivant dans les 24h :\nLINK_URL",
|
|
mailValidationLinkSBodyHTML: "<h3>Bonjour USER_NAME,</h3><p>Pour valider votre inscription, merci de cliquer sur le lien ci-dessous dans les 24h.</p>",
|
|
validationMessage: "Votre compte vient bien d'être validé. Merci et bienvenue !<br>Vous pouvez sans tarder vous connecter ci-dessous pour accéder à votre compte.",
|
|
validationMessageAdmin: "Le compte a bien été validé.",
|
|
validationAlreadyMessage: "Il semble que vous ayez déjà validé votre compte.",
|
|
validationAlreadyMessageAdmin: "Ce compte a déjà été validé.",
|
|
mailWelcomeSubject: "Bienvenue !",
|
|
mailWelcomeLinkTxt: "Me connecter à mon compte.",
|
|
mailWelcomeBodyTxt: "Bonjour USER_NAME,\n\nVous venez de valider votre inscription à NOM_SITE. Merci et bienvenue !\n\nSi vous avez la moindre question ou suggestion concernant NOM_SITE, n'hésitez pas à me contacter en écrivant à EMAIL.\n\nJe vous conseille d'ailleurs d'ajouter EMAIL à votre carnet d'adresses pour éviter que les prochains envois du site n'arrivent en \"spam\".\n\nPar ailleurs, pour gérer votre abonnement, accéder à vos informations ou encore chercher plus facilement parmi les quizs du site, vous pouvez à tout moment vous connecter à votre compte utilisateur.\n\nPour ce faire, utilisez le lien suivant : LINK_URL\n\nEncore merci et à bientôt.",
|
|
mailWelcomeBodyHTML: "<h3>Bonjour USER_NAME,</h3><p>Vous venez de valider votre inscription à NOM_SITE. Merci et bienvenue !<br><br>Si vous avez la moindre question ou suggestion concernant NOM_SITE, n'hésitez pas à me contacter en écrivant à <b>EMAIL</b>.<br><br>Je vous conseille d'ailleurs d'ajouter <b>EMAIL</b> à votre carnet d'adresses pour éviter que les prochains envois du site n'arrivent en <i>spam</i>.<br><br>Par ailleurs, pour gérer votre abonnement, accéder à vos informations ou encore chercher plus facilement parmi les quizs du site, vous pouvez à tout moment vous connecter à votre compte utilisateur.<br><br>Pour ce faire, utilisez le lien ci-dessous.<br><br>Encore merci et à bientôt.",
|
|
mailThankGodfatherSubject: "Merci !",
|
|
mailThankGodfatherLinkTxt: "Me connecter à mon compte.",
|
|
mailThankGodfatherBodyTxt: "Bonjour USER_NAME,\nGrâce à vous un nouvel utilisateur (EMAIL) vient de s'inscrire sur NOM_SITE.\nMerci et à bientôt !",
|
|
mailThankGodfatherBodyHTML: "<h3>Bonjour USER_NAME,</h3><p>Grâce à vous un nouvel utilisateur (EMAIL) vient de s'inscrire sur NOM_SITE.</p><p>Merci et à bientôt !</p>",
|
|
badLinkValidationMessage: "Votre lien de confirmation ne semble pas valide ou bien il a expiré. Vous pouvez en recevoir un nouveau <a href='#URL'>en cliquant ici</a>.",
|
|
emailNotFound: "Aucun utilisateur trouvé pour cette adresse e-mail.",
|
|
alreadyConnected: "Vous êtes déjà connecté(e) au site !",
|
|
needBeConnected: "Vous devez être connecté(e) pour accéder à cette page.",
|
|
connectionOk: "Connexion réussie.",
|
|
needChooseLoginWay: "Vous devez soit saisir votre mot de passe, soit cocher la case vous permettant de recevoir un lien de connexion par e-mail.",
|
|
needValidationToLogin: "Vous devez d'abord valider votre compte avant de vous connecter. Pour ce faire, un lien vient de vous être envoyé par e-mail.",
|
|
tooManyLoginFails: "Trop de tentatives de connexion infructueuses pour cette adresse e-mail. Vous devez attendre MINUTES minutes pour essayer de nouveau.",
|
|
badPassword: "Le mot de passe n'est pas le bon.",
|
|
mailLoginLinkSubject: "Votre lien de connexion.",
|
|
mailLoginLinkTxt: "Me connecter.",
|
|
mailLoginLinkBodyTxt: "Bonjour USER_NAME,\n\nPour vous connecter à votre compte, cliquez sur le lien suivant sans tarder :\nLINK_URL",
|
|
mailLoginLinkBodyHTML: "<h3>Bonjour USER_NAME,</h3><p>Pour vous connecter à votre compte, cliquez sur le lien suivant sans tarder :</p>",
|
|
mailLoginLinkMessage: "Un lien de connexion vient de vous être envoyé sur votre adresse e-mail. Ne tardez pas à l'utiliser, car il n'est valable que durant ",
|
|
updatedOkMessage: "Vos informations ont bien été mises à jour.",
|
|
updatedNeedGoodEmail: "Mais la nouvelle adresse e-mail n'a pu être enregistrée car elle n'a pas un format correct.",
|
|
updatedNeedUniqueEmail: "Mais la nouvelle adresse e-mail saisie (NEW_EMAIL) n'a pu être enregistrée, car elle est déjà utilisée pour un autre compte.",
|
|
mailUpdateLoginSubject: "Merci de valider vos nouveaux identifiants.",
|
|
mailUpdateLoginLinkTxt: "Valider.",
|
|
mailUpdateLoginBodyTxt: "Bonjour USER_NAME,\n\nPour valider vos nouveaux identifiants de connexion, cliquez sur le lien suivant sans tarder :\nLINK_URL",
|
|
mailUpdateLoginBodyHTML: "<h3>Bonjour USER_NAME,</h3><p>Pour valider vos nouveaux identifiants de connexion, cliquez sur le lien ci-dessous sans tarder.</p>",
|
|
mailUpdateLoginLinkMessage: "Cependant, vous avez modifié au moins un de vos identifiants de connexion (email et/ou mot de passe) et <b>vous devez cliquer sur le lien qui vient de vous êtres envoyé sur votre adresse (NEW_EMAIL) pour valider ce changement</b>. En attendant, merci de continuer à utiliser vos anciens identifiants.",
|
|
updatedNeedValidatedUser: "L'utilisateur que vous souhaité modifier n'existe pas/plus ou n'a pas encore validé son compte.",
|
|
updatedNeedGoodGodfather: "Mais le nouveau code parrain n'a pu être retenu, car il ne correspond à aucun compte utilisateur ou à l'utilisateur lui-même.",
|
|
mailUpdateLoginOkMessage: "La mise à jour de vos identifiants a bien été enregistrée.",
|
|
updatedFailedGodfatherNotFound: "L'identifiant fourni pour le parrain ne correspond à aucun utilisateur.",
|
|
creationOkMessage: "Le nouvel utilisateur a bien été enregistré.",
|
|
mailDeleteSubject: "Confirmer la suppression de votre compte.",
|
|
mailDeleteLinkTxt: "Confirmer.",
|
|
mailDeleteBodyTxt: "Bonjour USER_NAME,\n\nPour confirmer la suppression de votre compte, cliquez sur le lien suivant sans tarder :\nLINK_URL",
|
|
mailDeleteBodyHTML: "<h3>Bonjour USER_NAME,</h3><p>Pour confirmer la suppression de votre compte, cliquez sur le lien ci-dessous sans tarder.</p>",
|
|
mailDeleteLinkMessage: "Votre demande de suppression a bien été enregistrée. Merci de cliquer sans tarder sur le lien qui vient de vous être envoyé par e-mail pour confirmer.",
|
|
deleteOkMessage: "L'utilisateur a bien été supprimé.",
|
|
deleteFailMessage: "Tentative de suppression d'un utilisateur inexistant : ",
|
|
mailDeleteLinkOkMessage: "Votre compte a bien été supprimé. Merci d'avoir utilisé nos services.",
|
|
mailDeleteLinkAlreadyMessage: "Il semble que vous ayez déjà validé la suppression de votre compte.",
|
|
mailDeleteLinkFailMessage: "Votre lien de suppression n'est pas valide ou alors il n'est plus valable.",
|
|
cronDeleteUnvalidedUsersMessage: " comptes utilisateurs non validés ont été supprimés.",
|
|
deleteInactiveUsersMessage: " comptes utilisateurs inactifs ont été supprimés.",
|
|
welcomeMessage: "Bienvenue #NAME !",
|
|
byebyeMessage: "Si vous voyez ce message, c'est que votre déconnexion s'est bien déroulée.<br>À bientôt !",
|
|
infosUserForAdmin: "Cet utilisateur (id: ID_USER) a <b>créé son compte le DATE_CREA</b>, la dernière mise à jour datant du DATE_UPDATE.<br><b>Date de sa dernière connexion : DATE_CONNECTION.</b>",
|
|
infosAdminGodfather: "Cet utilisateur a été parrainé par ",
|
|
infosAdminNbGodChilds: "Ses #NB filleuils : "
|
|
};
|
|
|
|
/***/ }),
|
|
|
|
/***/ "../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.<br>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.<br>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.<br>Vous pouvez les utiliser, les modifier et les diffuser selon votre souhait.<br>Sur WikiLerni, pas de publicité, ni de commercialisation de vos données personnelles.<br>Vous pouvez venir y \"cultiver votre jardin\" en toute tranquillité.<br><br><small><em>(*) Bien que partageant ses valeurs, WikiLerni est un projet indépendant de la fondation Wikipédia.</em></small>",
|
|
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é.<br>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.<br><br>Toutes les réponses se trouvent dans l'article proposé à la lecture. <b>Vous êtes ici pour apprendre de nouvelles choses</b>, mais libre à vous d'essayer d'y répondre immédiatement.<br><br>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 ? :-)<br><br>Une fois votre résultat obtenu, il vous sera proposé de créer un compte pour le sauvegarder.<br>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.<br><br>Mais <b>la création de ce compte est facultative</b> et <a href='/quizs/' title='Les derniers quizs publiés'>vous pouvez parcourir WikiLerni librement</a>.",
|
|
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.<br>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.<br>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 <span class='postscriptum'>(*)</span>, le logiciel et le contenu partagé sur WikiLerni sont libres.<br>Vous pouvez les utiliser, les modifier et les diffuser selon votre souhait.<br>Sur WikiLerni, pas de publicité, ni de commercialisation de vos données personnelles.<br>Vous pouvez venir y \"cultiver votre jardin\" en toute tranquillité.<br><br><span class='postscriptum'>(*) Bien que partageant ses valeurs, WikiLerni est un projet indépendant de la fondation Wikipédia.</span>",
|
|
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é.<br>Puis vous afficher le quiz pour vérifier ce que vous avez retenu de votre lecture. Vous obtenez alors votre résultat immédiatement.<br><br>Suivant les questions, une ou plusieurs réponses peuvent être correctes et doivent donc être cochées. <b>C'est toujours le contenu de l'article Wikipédia qui fait foi concernant les \"bonnes\" réponses</b>. Mais les articles de Wikipédia peuvent évoluer, donc n'hésitez pas <a href='/contact.html'>à me signaler une erreur</a>.<br><br>Toutes les réponses se trouvent dans l'article proposé à la lecture. <b>Vous êtes ici pour apprendre de nouvelles choses, mais libre à vous d'essayer d'y répondre immédiatement</b>.<br><br>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 ? :-)<br><br>Une fois votre résultat obtenu, il vous sera proposé de créer un compte pour le sauvegarder. Ce compte vous permettra de <b>tester de nouveau ce quiz</b> pour vérifier ce que vous en avez retenu plusieurs jours, semaines, mois... Grâce à ce compte, vous pourrez aussi <b>recevoir régulièrement de nouveaux quizs</b> pour continuer à \"cultiver votre jardin\".<br><br>Mais <b>la création de ce compte est facultative</b> et <a href='/quizs/' title='Les derniers quizs publiés'>vous pouvez parcourir WikiLerni librement</a>.",
|
|
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/homeUser.js":
|
|
/*!*************************!*\
|
|
!*** ./src/homeUser.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 _tools_clientstorage_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./tools/clientstorage.js */ "./src/tools/clientstorage.js");
|
|
/* harmony import */ var _tools_dom_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./tools/dom.js */ "./src/tools/dom.js");
|
|
/* harmony import */ var _tools_everywhere_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./tools/everywhere.js */ "./src/tools/everywhere.js");
|
|
/* harmony import */ var _tools_forms_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./tools/forms.js */ "./src/tools/forms.js");
|
|
/* harmony import */ var _tools_main__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../tools/main */ "../tools/main.js");
|
|
/* harmony import */ var _tools_main__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_tools_main__WEBPACK_IMPORTED_MODULE_5__);
|
|
/* harmony import */ var _tools_users_js__WEBPACK_IMPORTED_MODULE_6__ = __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); }); }; }
|
|
|
|
// -- PAGE D'ACCUEIL DE L'UTILISATEUR
|
|
/// Vérifier que l'utilisateur est bien connecté, a le bon statut et le rediriger vers le formulaire d'inscription si ce n'est pas le cas.
|
|
/// Si c'est ok, on récupère ses infos et stats + les derniers quizs auxquels il a accès, mais n'a pas répondu.
|
|
/// Un moteur de recherche permet d'obtenir d'autres quizs parmi ceux publiés.
|
|
/// Pour l'affichage des listings de quiz, l'API retourne directement du html.
|
|
/// Un menu permet à l'utilisateur d'accéder à la modification de ses infos, de son abonnement, etc.
|
|
/// Un message venant d'une autre page peut aussi être à afficher lors du premier chargement.
|
|
// Fichier de configuration côté client :
|
|
|
|
var lang = _config_instance_js__WEBPACK_IMPORTED_MODULE_0__["availableLangs"][0];
|
|
|
|
var configFrontEnd = __webpack_require__("../views sync recursive ^\\.\\/.*\\.js$")("./" + _config_instance_js__WEBPACK_IMPORTED_MODULE_0__["theme"] + "/config/" + lang + ".js"); // Fonctions utiles au script :
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Dictionnaires :
|
|
|
|
var txt = __webpack_require__("../lang sync recursive ^\\.\\/.*\\/general$")("./" + lang + "/general");
|
|
|
|
var txtUsers = __webpack_require__("../lang sync recursive ^\\.\\/.*\\/user$")("./" + lang + "/user");
|
|
|
|
var txtAnwers = __webpack_require__("../lang sync recursive ^\\.\\/.*\\/answer$")("./" + lang + "/answer");
|
|
|
|
var txtQuestionnaire = __webpack_require__("../lang sync recursive ^\\.\\/.*\\/questionnaire$")("./" + lang + "/questionnaire"); // Principaux éléments du DOM manipulés :
|
|
|
|
|
|
var divMain = document.getElementById("main-content");
|
|
var divCrash = document.getElementById("crash");
|
|
var divMessage = document.getElementById("message");
|
|
var quizTitle = document.getElementById("quizsTitle");
|
|
var quizIntro = document.getElementById("quizsIntro");
|
|
var quizListing = document.getElementById("quizsList");
|
|
var quizPaginationPrevious = document.getElementById("previous");
|
|
var quizPaginationNext = document.getElementById("next");
|
|
var formSearch = document.getElementById("search");
|
|
var inputBegin = document.getElementById("begin");
|
|
var btnRandom = document.getElementById("random");
|
|
Object(_tools_everywhere_js__WEBPACK_IMPORTED_MODULE_3__["helloDev"])();
|
|
|
|
var initialise = /*#__PURE__*/function () {
|
|
var _ref = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
|
|
var config, isConnected, user, xhrStats, xhrLastQuizs, sendSearch;
|
|
return regeneratorRuntime.wrap(function _callee$(_context) {
|
|
while (1) {
|
|
switch (_context.prev = _context.next) {
|
|
case 0:
|
|
_context.prev = 0;
|
|
_context.next = 3;
|
|
return Object(_tools_users_js__WEBPACK_IMPORTED_MODULE_6__["getConfig"])();
|
|
|
|
case 3:
|
|
config = _context.sent;
|
|
|
|
if (config) {
|
|
_context.next = 8;
|
|
break;
|
|
}
|
|
|
|
Object(_tools_dom_js__WEBPACK_IMPORTED_MODULE_2__["addElement"])(divCrash, "p", txt.serverError, "", ["error"]);
|
|
_context.next = 12;
|
|
break;
|
|
|
|
case 8:
|
|
_context.next = 10;
|
|
return Object(_tools_users_js__WEBPACK_IMPORTED_MODULE_6__["checkSession"])(["user"], "/" + configFrontEnd.connectionPage, {
|
|
message: txtUsers.needBeConnected,
|
|
color: "error"
|
|
}, window.location);
|
|
|
|
case 10:
|
|
isConnected = _context.sent;
|
|
|
|
if (isConnected) {
|
|
user = Object(_tools_clientstorage_js__WEBPACK_IMPORTED_MODULE_1__["getLocaly"])("user", true);
|
|
Object(_tools_everywhere_js__WEBPACK_IMPORTED_MODULE_3__["updateAccountLink"])(user.status, configFrontEnd);
|
|
Object(_tools_dom_js__WEBPACK_IMPORTED_MODULE_2__["addElement"])(divMessage, "h1", txtUsers.welcomeMessage.replace("#NAME", user.name));
|
|
divMain.style.display = "block";
|
|
|
|
if (!Object(_tools_main__WEBPACK_IMPORTED_MODULE_5__["isEmpty"])(Object(_tools_clientstorage_js__WEBPACK_IMPORTED_MODULE_1__["getLocaly"])("message"))) {
|
|
Object(_tools_dom_js__WEBPACK_IMPORTED_MODULE_2__["addElement"])(divMessage, "p", Object(_tools_clientstorage_js__WEBPACK_IMPORTED_MODULE_1__["getLocaly"])("message", true).message, "", [Object(_tools_clientstorage_js__WEBPACK_IMPORTED_MODULE_1__["getLocaly"])("message", true).color], "", false);
|
|
Object(_tools_clientstorage_js__WEBPACK_IMPORTED_MODULE_1__["removeLocaly"])("message");
|
|
} // Initialisation du formulaire de recherche :
|
|
|
|
|
|
Object(_tools_forms_js__WEBPACK_IMPORTED_MODULE_4__["setAttributesToInputs"])(config, formSearch); // Les stats :
|
|
|
|
xhrStats = new XMLHttpRequest();
|
|
xhrStats.open("GET", _config_instance_js__WEBPACK_IMPORTED_MODULE_0__["apiUrl"] + config.questionnaireRoutes + config.getStatsAnswers + user.id);
|
|
|
|
xhrStats.onreadystatechange = function () {
|
|
if (this.readyState == XMLHttpRequest.DONE) {
|
|
var response = JSON.parse(this.responseText);
|
|
|
|
if (this.status === 200 && !Object(_tools_main__WEBPACK_IMPORTED_MODULE_5__["isEmpty"])(response.nbAnswers) && response.nbAnswers !== 0) // pas de stats si aucune réponse !
|
|
{
|
|
var mapText = {
|
|
NBANSWERS: response.nbAnswers,
|
|
NBQUESTIONNAIRES: response.nbQuestionnaires,
|
|
NBTOTQUESTIONNAIRES: response.general.nbPublished,
|
|
AVGDURATION: response.avgDuration,
|
|
AVGCORRECTANSWERS: response.avgCorrectAnswers
|
|
};
|
|
Object(_tools_dom_js__WEBPACK_IMPORTED_MODULE_2__["addElement"])(divMessage, "p", Object(_tools_main__WEBPACK_IMPORTED_MODULE_5__["replaceAll"])(txtAnwers.statsUser, mapText), "", "", "", false);
|
|
}
|
|
}
|
|
};
|
|
|
|
xhrStats.setRequestHeader("Authorization", "Bearer " + user.token);
|
|
xhrStats.send(); // Par défaut, on affiche des derniers quizs proposés sans réponse :
|
|
|
|
xhrLastQuizs = new XMLHttpRequest();
|
|
xhrLastQuizs.open("GET", _config_instance_js__WEBPACK_IMPORTED_MODULE_0__["apiUrl"] + config.questionnaireRoutes + config.getQuestionnairesWithoutAnswer + "" + user.id + "/" + 0 + "/" + configFrontEnd.nbQuestionnairesUserHomePage + "/html");
|
|
|
|
xhrLastQuizs.onreadystatechange = function () {
|
|
if (this.readyState == XMLHttpRequest.DONE) {
|
|
var response = JSON.parse(this.responseText);
|
|
|
|
if (this.status === 200) {
|
|
if (response.nbTot === 0) Object(_tools_dom_js__WEBPACK_IMPORTED_MODULE_2__["addElement"])(quizIntro, "p", txtAnwers.noQuestionnaireWithoudAnswer, "", ["success"]);else if (response.html) {
|
|
Object(_tools_dom_js__WEBPACK_IMPORTED_MODULE_2__["addElement"])(quizIntro, "p", txtAnwers.nbQuestionnaireWithoudAnswer.replace("#NB", response.questionnaires.length), "", ["info"]);
|
|
quizListing.innerHTML = response.html;
|
|
window.location.hash = ""; // sinon les hash s'enchaînent...
|
|
|
|
window.location.assign("#quizsTitle");
|
|
} else Object(_tools_dom_js__WEBPACK_IMPORTED_MODULE_2__["addElement"])(quizs, "p", txt.serverError, "", ["error"]); // revoir si intérêt d'afficher quelque chose
|
|
} else Object(_tools_dom_js__WEBPACK_IMPORTED_MODULE_2__["addElement"])(quizs, "p", txt.serverError, "", ["error"]); // idem
|
|
|
|
}
|
|
};
|
|
|
|
xhrLastQuizs.setRequestHeader("Authorization", "Bearer " + user.token);
|
|
xhrLastQuizs.send(); // Traitement du lancement d'une recherche
|
|
// La recherche peut être lancée via la bouton submit ou un lien de pagination
|
|
|
|
sendSearch = function sendSearch() {
|
|
var type = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : "search";
|
|
quizTitle.innerHTML = txtQuestionnaire.searchResultTitle;
|
|
quizListing.innerHTML = "" + "";
|
|
var datas = Object(_tools_forms_js__WEBPACK_IMPORTED_MODULE_4__["getDatasFromInputs"])(formSearch);
|
|
var xhrSearch = new XMLHttpRequest();
|
|
if (type == "search") xhrSearch.open("POST", config.apiUrl + config.questionnaireRoutes + config.searchQuestionnairesRoute);else if (type == "random") xhrSearch.open("POST", config.apiUrl + config.questionnaireRoutes + "/getrandom"); // revoir : changer par la variable getRandomQuestionnairesRoute du fichier de config
|
|
|
|
xhrSearch.onreadystatechange = function () {
|
|
if (this.readyState == XMLHttpRequest.DONE) {
|
|
var response = JSON.parse(this.responseText);
|
|
|
|
if (this.status === 200 && !Object(_tools_main__WEBPACK_IMPORTED_MODULE_5__["isEmpty"])(response.nbTot)) {
|
|
if (response.nbTot === 0) {
|
|
Object(_tools_dom_js__WEBPACK_IMPORTED_MODULE_2__["addElement"])(quizIntro, "p", txtQuestionnaire.notFound, "", ["info"]);
|
|
window.location.hash = ""; // sinon les hash s'enchaînent...
|
|
|
|
window.location.assign("#quizsTitle");
|
|
} else if (response.html) {
|
|
Object(_tools_dom_js__WEBPACK_IMPORTED_MODULE_2__["addElement"])(quizIntro, "p", txtQuestionnaire.searchWithResult.replace("#NB", response.nbTot), "", ["success"]);
|
|
quizListing.innerHTML = response.html;
|
|
window.location.hash = "";
|
|
window.location.assign("#quizsTitle"); // Pagination nécessaire ?
|
|
// on commence par vider...
|
|
|
|
quizPaginationPrevious.innerHTML = "";
|
|
quizPaginationNext.innerHTML = "";
|
|
|
|
if (response.begin != 0) // peut retourner "0" et non 0 !
|
|
{
|
|
Object(_tools_dom_js__WEBPACK_IMPORTED_MODULE_2__["addElement"])(quizPaginationPrevious, "a", "<< " + txt.previousPage, "previousRes", ["button"], {
|
|
href: "#search"
|
|
}); // revoir, les "<<" pourraient être gérées par le CSS
|
|
|
|
var previousPage = document.getElementById("previousRes"); // le retour à la page précédente peut se faire en cliquant sur le bouton ou via l'historique du navigateur
|
|
|
|
var goBackRes = function goBackRes() {
|
|
var newBegin = response.begin - configFrontEnd.nbQuestionnairesUserHomePage;
|
|
if (newBegin < 0) // ne devrait pas être possible..
|
|
newBegin = 0;
|
|
document.getElementById("begin").value = newBegin;
|
|
sendSearch();
|
|
window.location.hash = "";
|
|
window.location.assign("#quizsTitle"); // pour remonter
|
|
};
|
|
|
|
previousPage.addEventListener("click", function (e) {
|
|
e.preventDefault();
|
|
goBackRes();
|
|
});
|
|
/* semble provoqué bug ???
|
|
window.onpopstate = function(e)
|
|
{
|
|
e.preventDefault();
|
|
goBackRes();
|
|
};*/
|
|
}
|
|
|
|
if (response.end < response.nbTot - 1) // -1, car tableau commence à 0 !
|
|
{
|
|
Object(_tools_dom_js__WEBPACK_IMPORTED_MODULE_2__["addElement"])(quizPaginationNext, "a", txt.nextPage + " >>", "nextRes", ["button"], {
|
|
href: "#search"
|
|
}, false);
|
|
var nextPage = document.getElementById("nextRes");
|
|
nextPage.addEventListener("click", function (e) {
|
|
e.preventDefault();
|
|
document.getElementById("begin").value = response.end + 1;
|
|
sendSearch();
|
|
window.location.hash = ""; // sinon les hash s'enchaînent...
|
|
|
|
window.location.assign("#quizsTitle"); // pour remonter
|
|
});
|
|
}
|
|
} else Object(_tools_dom_js__WEBPACK_IMPORTED_MODULE_2__["addElement"])(quizs, "p", txt.serverError, "", ["error"]);
|
|
} else Object(_tools_dom_js__WEBPACK_IMPORTED_MODULE_2__["addElement"])(quizs, "p", txt.serverError, "", ["error"]);
|
|
}
|
|
};
|
|
|
|
xhrSearch.setRequestHeader("Content-Type", "application/json");
|
|
xhrSearch.setRequestHeader("Authorization", "Bearer " + user.token);
|
|
|
|
if (datas) {
|
|
datas.output = "html";
|
|
xhrSearch.send(JSON.stringify(datas));
|
|
}
|
|
};
|
|
|
|
btnRandom.addEventListener("click", function (e) {
|
|
e.preventDefault();
|
|
document.getElementById("begin").value = 0;
|
|
sendSearch("random");
|
|
});
|
|
formSearch.addEventListener("submit", function (e) {
|
|
e.preventDefault();
|
|
document.getElementById("begin").value = 0;
|
|
sendSearch();
|
|
});
|
|
}
|
|
|
|
case 12:
|
|
_context.next = 18;
|
|
break;
|
|
|
|
case 14:
|
|
_context.prev = 14;
|
|
_context.t0 = _context["catch"](0);
|
|
console.error(_context.t0);
|
|
Object(_tools_dom_js__WEBPACK_IMPORTED_MODULE_2__["addElement"])(divCrash, "p", txt.serverError, "", ["error"]);
|
|
|
|
case 18:
|
|
case "end":
|
|
return _context.stop();
|
|
}
|
|
}
|
|
}, _callee, null, [[0, 14]]);
|
|
}));
|
|
|
|
return function initialise() {
|
|
return _ref.apply(this, arguments);
|
|
};
|
|
}();
|
|
|
|
initialise();
|
|
|
|
/***/ }),
|
|
|
|
/***/ "./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, "<br>"); // 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\nLe code de WikiLerni est libre et vous pouvez le trouver si Gitlab :\nhttps://gitlab.com/lefablab/wikilerni\n\nPour 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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vd2VicGFjay9ib290c3RyYXAiLCJ3ZWJwYWNrOi8vLy4uL2NvbmZpZy9pbnN0YW5jZS5qcyIsIndlYnBhY2s6Ly8vLi4vY29uZmlnL3F1ZXN0aW9ubmFpcmVzLmpzIiwid2VicGFjazovLy8uLi9jb25maWcvdXNlcnMuanMiLCJ3ZWJwYWNrOi8vLy4uL2xhbmcgc3luYyBeXFwuXFwvLipcXC9hbnN3ZXIkIiwid2VicGFjazovLy8uLi9sYW5nIHN5bmMgXlxcLlxcLy4qXFwvZ2VuZXJhbCQiLCJ3ZWJwYWNrOi8vLy4uL2xhbmcgc3luYyBeXFwuXFwvLipcXC9xdWVzdGlvbm5haXJlJCIsIndlYnBh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ubmV4aW9uIDogREFURV9DT05ORUNUSU9OLjwvYj5cIixcbiAgICBpbmZvc0FkbWluR29kZmF0aGVyOiBcIkNldCB1dGlsaXNhdGV1ciBhIMOpdMOpIHBhcnJhaW7DqSBwYXIgXCIsXG4gICAgaW5mb3NBZG1pbk5iR29kQ2hpbGRzOiBcIlNlcyAjTkIgZmlsbGV1aWxzIDogXCJcbn07IiwiLy8gUXVlbHF1ZXMgZm9uY3Rpb25zIHV0aWxlcyBwb3VyIGxlcyBjaGHDrm5lc1xuXG5jbGFzcyBUb29sXG57XG4gICAgc3RhdGljIGlzRW1wdHkobXlWYXIpXG4gICAge1xuICAgICAgICBpZihteVZhcj09PXVuZGVmaW5lZCB8fCBteVZhcj09PW51bGwpXG4gICAgICAgICAgICByZXR1cm4gdHJ1ZTtcbiAgICAgICAgZWxzZVxuICAgICAgICB7XG4gICAgICAgICAgICBteVZhcis9XCJcIjsvLyBzaSBhdXRyZSBjaG9zZSBxdSd1bmUgY2hhw65uZSBlbnZvecOpLi4uXG4gICAgICAgICAgICBteVZhcj1teVZhci50cmltKCk7XG4gICAgICAgICAgICBpZihteVZhcj09PVwiXCIpXG4gICAgICAgICAgICAgICAgcmV0dXJuIHRydWU7XG4gICAgICAgICAgICBlbHNlXG4gICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlO1xuICAgICAgICB9XG4gICAgfVxuICAgIFxuICAgIHN0YXRpYyB0cmltSWZOb3ROdWxsKG15U3RyaW5nKVxuICAgIHtcbiAgICAgICAgaWYoVG9vbC5pc0VtcHR5KG15U3RyaW5nKSlcbiAgICAgICAgICAgIG15U3RyaW5nPW51bGw7XG4gICAgICAgIGVsc2VcbiAgICAgICAge1xuICAgICAgICAgICAgbXlTdHJpbmcrPVwiXCI7Ly8gc2kgYXV0cmUgY2hvc2UgcXUndW5lIGNoYcOubmUgZW52b3nDqS4uLlxuICAgICAgICAgICAgbXlTdHJpbmc9bXlTdHJpbmcudHJpbSgpO1xuICAgICAgICB9XG4gIC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xuICAgICAgICBtYXggPSBNYXRoLmZsb29yKG1heCk7XG4gICAgICAgIHJldHVybiBNYXRoLmZsb29yKE1hdGgucmFuZG9tKCkgKiAobWF4IC0gbWluKSkgKyBtaW47XG4gICAgfVxuXG4gICAgLy8gw6AgY29tcGzDqXRlciA6IGh0dHBzOi8vZW4ud2lraXBlZGlhLm9yZy93aWtpL0RhdGVfZm9ybWF0X2J5X2NvdW50cnlcbiAgICBzdGF0aWMgZGF0ZUZvcm1hdChkYXRlU3RyaW5nLCBsYW5nPVwiZnJcIilcbiAgICB7XG4gICAgICAgIGlmKFRvb2wuaXNFbXB0eShkYXRlU3RyaW5nKSlcbiAgICAgICAgICAgIHJldHVybiBcIlwiO1xuICAgICAgICBsZXQgbXlEYXRlPW5ldyBEYXRlKGRhdGVTdHJpbmcpO1xuICAgICAgICBsZXQgbXlEYXk9bXlEYXRlLmdldERhdGUoKStcIlwiO1xuICAgICAgICBpZihteURheS5sZW5ndGg9PT0xKVxuICAgICAgICAgICAgbXlEYXk9XCIwXCIrbXlEYXk7XG4gICAgICAgIGxldCBteU1vdW50aD0obXlEYXRlLmdldE1vbnRoKCkrMSkrXCJcIjtcbiAgICAgICAgaWYobXlNb3VudGgubGVuZ3RoPT09MSlcbiAgICAgICAgICAgIG15TW91bnRoPVwiMFwiK215TW91bnRoO1xuICAgICAgICBsZXQgbXlZZWFyPW15RGF0ZS5nZXRGdWxsWWVhcigpO1xuICAgICAgICBpZihsYW5nPT09XCJmclwiKVxuICAgICAgICAgICAgcmV0dXJuIG15RGF5K1wiL1wiK215TW91bnRoK1wiL1wiK215WWVhcjtcbiAgICAgICAgZWxzZSBpZiAobGFuZz09PVwiZm9ybVwiKS8vIDIwMTQtMDItMDlcbiAgICAgICAgICAgIHJldHVybiBteVllYXIrXCItXCIrbXlNb3VudGgrXCItXCIrbXlEYXk7XG4gICAgICAgIGVsc2VcbiAgICAgICAgICAgIHJldHVybiBteU1vdW50aCtcIi9cIitteURheStcIi9cIitteVllYXI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XCIsIGZhbHNlKTtcbiAgICAgICAgICAgICAgICAgICAgcmVtb3ZlTG9jYWx5KFwibWVzc2FnZVwiKTtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgLy8gSW5pdGlhbGlzYXRpb24gZHUgZm9ybXVsYWlyZSBkZSByZWNoZXJjaGUgOlxuICAgICAgICAgICAgICAgIHNldEF0dHJpYnV0ZXNUb0lucHV0cyhjb25maWcsIGZvcm1TZWFyY2gpOyAgICAgICAgXG4gICAgICAgICAgICAgICAgLy8gTGVzIHN0YXRzIDogICAgICAgICAgICAgICBcbiAgICAgICAgICAgICAgICBjb25zdCB4aHJTdGF0cyA9IG5ldyBYTUxIdHRwUmVxdWVzdCgpO1xuICAgICAgICAgICAgICAgIHhoclN0YXRzLm9wZW4oXCJHRVRcIiwgYXBpVXJsK2NvbmZpZy5xdWVzdGlvbm5haXJlUm91dGVzK2NvbmZpZy5nZXRTdGF0c0Fuc3dlcnMrdXNlci5pZCk7XG4gICAgICAgICAgICAgICAgeGhyU3RhdHMub25yZWFkeXN0YXRlY2hhbmdlID0gZnVuY3Rpb24oKVxuICAgICAgICAgICAgICAgIHtcbiAgICAgICAgICAgICAgICAgICAgaWYgKHRoaXMucmVhZHlTdGF0ZSA9PSBYTUxIdHRwUmVxdWVzdC5ET05FKVxuICAgICAgICAgICAgICAgICAgICB7XG4gICAgICAgICAgICAgICAgICAgICAgICBsZXQgcmVzcG9uc2U9SlNPTi5wYXJzZSh0aGlzLnJlc3BvbnNlVGV4dCk7XG4gICAgICAgICAgICAgICAgICAgICAgICBpZiAodGhpcy5zdGF0dXMgPT09IDIwMCAmJiAhaXNFbXB0eShyZXNwb25zZS5uYkFuc3dlcnMpICYmIHJlc3BvbnNlLm5iQW5zd2VycyE9PTApLy8gcGFzIGRlIHN0YXRzIHNpIGF1Y3VuZSByw6lwb25zZSAhXG4gICAgICAgICAgICAgICAgICAgICAgICB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgY29uc3QgbWFwVGV4dCA9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIE5CQU5TV0VSUyA6IHJlc3BvbnNlLm5iQW5zd2VycyxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBOQlFVRVNUSU9OTkFJUkVTIDogcmVzcG9uc2UubmJRdWVzdGlvbm5haXJlcyxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBOQlRPVFFVRVNUSU9OTkFJUkVTIDogcmVzcG9uc2UuZ2VuZXJhbC5uYlB1Ymxpc2hlZCxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBBVkdEVVJBVElPTiA6IHJlc3BvbnNlLmF2Z0R1cmF0aW9uLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIEFWR0NPUlJFQ1RBTlNXRVJTIDogcmVzcG9uc2UuYXZnQ29ycmVjdEFuc3dlcnNcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB9O1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGFkZEVsZW1lbnQoZGl2TWVzc2FnZSwgXCJwXCIsIHJlcGxhY2VBbGwodHh0QW53ZXJzLnN0YXRzVXNlciwgbWFwVGV4dCksIFwiXCIsIFwiXCIsIFwiXCIsIGZhbHNlKTtcbiAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICB4aHJTdGF0cy5zZXRSZXF1ZXN0SGVhZGVyKFwiQXV0aG9yaXphdGlvblwiLCBcIkJlYXJlciBcIit1c2VyLnRva2VuKTsgXG4gICAgICAgICAgICAgICAgeGhyU3RhdHMuc2VuZCgpO1xuICAgICAgICAgICAgICAgIFxuICAgICAgICAgICAgICAgIC8vIFBhciBkw6lmYXV0LCBvbiBhZmZpY2hlIGRlcyBkZXJuaWVycyBxdWl6cyBwcm9wb3PDqXMgc2FucyByw6lwb25zZSA6XG4gICAgICAgICAgICAgICAgY29uc3QgeGhyTGFzdFF1aXpzID0gbmV3IFhNTEh0dHBSZXF1ZXN0KCk7XG4gICAgICAgICAgICAgICAgeGhyTGFzdFF1aXpzLm9wZW4oXCJHRVRcIiwgYXBpVXJsK2NvbmZpZy5xdWVzdGlvbm5haXJlUm91dGVzK2NvbmZpZy5nZXRRdWVzdGlvbm5haXJlc1dpdGhvdXRBbnN3ZXIrXCJcIit1c2VyLmlkK1wiL1wiKzArXCIvXCIrY29uZmlnRnJvbnRFbmQubmJRdWVzdGlvbm5haXJlc1VzZXJIb21lUGFnZStcIi9odG1sXCIpO1xuICAgICAgICAgICAgICAgIHhockxhc3RRdWl6cy5vbnJlYWR5c3RhdGVjaGFuZ2UgPSBmdW5jdGlvbigpXG4gICAgICAgICAgICAgICAge1xuICAgICAgICAgICAgICAgICAgICBpZiAodGhpcy5yZWFkeVN0YXRlID09IFhNTEh0dHBSZXF1ZXN0LkRPTkUpXG4gICAgICAgICAgICAgICAgICAgIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIGxldCByZXNwb25zZT1KU09OLnBhcnNlKHRoaXMucmVzcG9uc2VUZXh0KTtcbiAgICAgICAgICAgICAgICAgICAgICAgIGlmICh0aGlzLnN0YXR1cyA9PT0gMjAwKVxuICAgICAgICAgICAgICAgICAgICAgICAge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlmKHJlc3BvbnNlLm5iVG90PT09MClcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgYWRkRWxlbWVudChxdWl6SW50cm8sIFwicFwiLCB0eHRBbndlcnMubm9RdWVzdGlvbm5haXJlV2l0aG91ZEFuc3dlciwgXCJcIiwgW1wic3VjY2Vzc1wiXSk7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgZWxzZSBpZihyZXNwb25zZS5odG1sKVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgYWRkRWxlbWVudChxdWl6SW50cm8sIFwicFwiLCB0eHRBbndlcnMubmJRdWVzdGlvbm5haXJlV2l0aG91ZEFuc3dlci5yZXBsYWNlKFwiI05CXCIsIHJlc3BvbnNlLnF1ZXN0aW9ubmFpcmVzLmxlbmd0aCksIFwiXCIsIFtcImluZm9cIl0pO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBxdWl6TGlzdGluZy5pbm5lckhUTUw9cmVzcG9uc2UuaHRtbDtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgd2luZG93LmxvY2F0aW9uLmhhc2g9XCJcIjsvLyBzaW5vbiBsZXMgaGFzaCBzJ2VuY2hhw65uZW50Li4uXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHdpbmRvdy5sb2NhdGlvbi5hc3NpZ24oXCIjcXVpenNUaXRsZVwiKTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgZWxzZVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBhZGRFbGVtZW50KHF1aXpzLCBcInBcIiwgdHh0LnNlcnZlckVycm9yLCBcIlwiLCBbXCJlcnJvclwiXSk7Ly8gcmV2b2lyIHNpIGludMOpcsOqdCBkJ2FmZmljaGVyIHF1ZWxxdWUgY2hvc2VcbiAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgICAgIGVsc2VcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBhZGRFbGVtZW50KHF1aXpzLCBcInBcIiwgdHh0LnNlcnZlckVycm9yLCBcIlwiLCBbXCJlcnJvclwiXSk7IC8vIGlkZW1cbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICB4aHJMYXN0UXVpenMuc2V0UmVxdWVzdEhlYWRlcihcIkF1dGhvcml6YXRpb25cIiwgXCJCZWFyZXIgXCIrdXNlci50b2tlbik7XG4gICAgICAgICAgICAgICAgeGhyTGFzdFF1aXpzLnNlbmQoKTtcblxuICAgICAgICAgICAgICAgIC8vIFRyYWl0ZW1lbnQgZHUgbGFuY2VtZW50IGQndW5lIHJlY2hlcmNoZVxuICAgICAgICAgICAgICAgIC8vIExhIHJlY2hlcmNoZSBwZXV0IMOqdHJlIGxhbmPDqWUgdmlhIGxhIGJvdXRvbiBzdWJtaXQgb3UgdW4gbGllbiBkZSBwYWdpbmF0aW9uXG4gICAgICAgICAgICAgICAgY29uc3Qgc2VuZFNlYXJjaCA9ICh0eXBlPVwic2VhcmNoXCIpID0+XG4gICAgICAgICAgICAgICAge1xuICAgICAgICAgICAgICAgICAgICBxdWl6VGl0bGUuaW5uZXJIVE1MPXR4dFF1ZXN0aW9ubmFpcmUuc2VhcmNoUmVzdWx0VGl0bGU7XG4gICAgICAgICAgICAgICAgICAgIHF1aXpMaXN0aW5nLmlubmVySFRNTD1cIlwiK1wiXCI7XG4gICAgICAgICAgICAgICAgICAgIGxldCBkYXRhcz1nZXREYXRhc0Zyb21JbnB1dHMoZm9ybVNlYXJjaCk7XG4gICAgICAgICAgICAgICAgICAgIGNvbnN0IHhoclNlYXJjaCA9IG5ldyBYTUxIdHRwUmVxdWVzdCgpO1xuICAgICAgICAgICAgICAgICAgICBpZih0eXBlPT1cInNlYXJjaFwiKVxuICAgICAgICAgICAgICAgICAgICAgICAgeGhyU2VhcmNoLm9wZW4oXCJQT1NUXCIsIGNvbmZpZy5hcGlVcmwrY29uZmlnLnF1ZXN0aW9ubmFpcmVSb3V0ZXMrY29uZmlnLnNlYXJjaFF1ZXN0aW9ubmFpcmVzUm91dGUpO1xuICAgICAgICAgICAgICAgICAgICBlbHNlIGlmKHR5cGU9PVwicmFuZG9tXCIpXG4gICAgICAgICAgICAgICAgICAgICAgICB4aHJTZWFyY2gub3BlbihcIlBPU1RcIiwgY29uZmlnLmFwaVVybCtjb25maWcucXVlc3Rpb25uYWlyZVJvdXRlcytcIi9nZXRyYW5kb21cIik7Ly8gcmV2b2lyIDogY2hhbmdlciBwYXIgbGEgdmFyaWFibGUgZ2V0UmFuZG9tUXVlc3Rpb25uYWlyZXNSb3V0ZSBkdSBmaWNoaWVyIGRlIGNvbmZpZ1xuICAgICAgICAgICAgICAgICAgICB4aHJTZWFyY2gub25yZWFkeXN0YXRlY2hhbmdlID0gZnVuY3Rpb24oKVxuICAgICAgICAgICAgICAgICAgICB7XG4gICAgICAgICAgICAgICAgICAgICAgICBpZiAodGhpcy5yZWFkeVN0YXRlID09IFhNTEh0dHBSZXF1ZXN0LkRPTkUpXG4gICAgICAgICAgICAgICAgICAgICAgICB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgbGV0IHJlc3BvbnNlPUpTT04ucGFyc2UodGhpcy5yZXNwb25zZVRleHQpO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlmICh0aGlzLnN0YXR1cyA9PT0gMjAwICYmICFpc0VtcHR5KHJlc3BvbnNlLm5iVG90KSlcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlmKHJlc3BvbnNlLm5iVG90PT09MClcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgYWRkRWxlbWVudChxdWl6SW50cm8sIFwicFwiLCB0eHRRdWVzdGlvbm5haXJlLm5vdEZvdW5kLCBcIlwiLCBbXCJpbmZvXCJdKTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHdpbmRvdy5sb2NhdGlvbi5oYXNoPVwiXCI7Ly8gc2lub24gbGVzIGhhc2ggcydlbmNoYcOubmVudC4uLlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgd2luZG93LmxvY2F0aW9uLmFzc2lnbihcIiNxdWl6c1RpdGxlXCIpO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGVsc2UgaWYocmVzcG9uc2UuaHRtbClcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgYWRkRWxlbWVudChxdWl6SW50cm8sIFwicFwiLCB0eHRRdWVzdGlvbm5haXJlLnNlYXJjaFdpdGhSZXN1bHQucmVwbGFjZShcIiNOQlwiLCByZXNwb25zZS5uYlRvdCkgLCBcIlwiLCBbXCJzdWNjZXNzXCJdKTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHF1aXpMaXN0aW5nLmlubmVySFRNTD1yZXNwb25zZS5odG1sO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgd2luZG93LmxvY2F0aW9uLmhhc2g9XCJcIjtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHdpbmRvdy5sb2NhdGlvbi5hc3NpZ24oXCIjcXVpenNUaXRsZVwiKTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC8vIFBhZ2luYXRpb24gbsOpY2Vzc2FpcmUgP1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLy8gb24gY29tbWVuY2UgcGFyIHZpZGVyLi4uXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBxdWl6UGFnaW5hdGlvblByZXZpb3VzLmlubmVySFRNTD1cIlwiO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgcXVpelBhZ2luYXRpb25OZXh0LmlubmVySFRNTD1cIlwiO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaWYocmVzcG9uc2UuYmVnaW4gIT0gMCkvLyBwZXV0IHJldG91cm5lciBcIjBcIiBldCBub24gMCAhXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgYWRkRWxlbWVudChxdWl6UGFnaW5hdGlvblByZXZpb3VzLCBcImFcIiwgXCI8PCBcIit0eHQucHJldmlvdXNQYWdlICwgXCJwcmV2aW91c1Jlc1wiLCBbXCJidXR0b25cIl0sIHsgaHJlZjogXCIjc2VhcmNoXCIgfSk7IC8vIHJldm9pciwgbGVzIFwiPDxcIiBwb3VycmFpZW50IMOqdHJlIGfDqXLDqWVzIHBhciBsZSBDU1NcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBjb25zdCBwcmV2aW91c1BhZ2U9ZG9jdW1lbnQuZ2V0RWxlbWVudEJ5SWQoXCJwcmV2aW91c1Jlc1wiKTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAvLyBsZSByZXRvdXIgw6AgbGEgcGFnZSBwcsOpY8OpZGVudGUgcGV1dCBzZSBmYWlyZSBlbiBjbGlxdWFudCBzdXIgbGUgYm91dG9uIG91IHZpYSBsJ2hpc3RvcmlxdWUgZHUgbmF2aWdhdGV1clxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNvbnN0IGdvQmFja1JlcyA9ICgpID0+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBsZXQgbmV3QmVnaW49cmVzcG9uc2UuYmVnaW4tY29uZmlnRnJvbnRFbmQubmJRdWVzdGlvbm5haXJlc1VzZXJIb21lUGFnZTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaWYobmV3QmVnaW48MCkgLy8gbmUgZGV2cmFpdCBwYXMgw6p0cmUgcG9zc2libGUuLlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgbmV3QmVnaW49MDtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgZG9jdW1lbnQuZ2V0RWxlbWVudEJ5SWQoXCJiZWdpblwiKS52YWx1ZT1uZXdCZWdpbjtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgc2VuZFNlYXJjaCgpO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB3aW5kb3cubG9jYXRpb24uaGFzaD1cIlwiO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB3aW5kb3cubG9jYXRpb24uYXNzaWduKFwiI3F1aXpzVGl0bGVcIik7Ly8gcG91ciByZW1vbnRlclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBwcmV2aW91c1BhZ2UuYWRkRXZlbnRMaXN0ZW5lcihcImNsaWNrXCIsIGZ1bmN0aW9uKGUpXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBlLnByZXZlbnREZWZhdWx0KCk7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGdvQmFja1JlcygpO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIH0pO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC8qIHNlbWJsZSBwcm92b3F1w6kgYnVnID8/P1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHdpbmRvdy5vbnBvcHN0YXRlID0gZnVuY3Rpb24oZSlcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGUucHJldmVudERlZmF1bHQoKTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgZ29CYWNrUmVzKCk7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfTsqL1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaWYocmVzcG9uc2UuZW5kIDwgKHJlc3BvbnNlLm5iVG90LTEpKS8vIC0xLCBjYXIgdGFibGVhdSBjb21tZW5jZSDDoCAwICFcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBhZGRFbGVtZW50KHF1aXpQYWdpbmF0aW9uTmV4dCwgXCJhXCIsIHR4dC5uZXh0UGFnZSsgXCIgPj5cIiwgXCJuZXh0UmVzXCIsIFtcImJ1dHRvblwiXSwgeyBocmVmOiBcIiNzZWFyY2hcIiB9LCBmYWxzZSk7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgY29uc3QgbmV4dFBhZ2U9ZG9jdW1lbnQuZ2V0RWxlbWVudEJ5SWQoXCJuZXh0UmVzXCIpO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIG5leHRQYWdlLmFkZEV2ZW50TGlzdGVuZXIoXCJjbGlja1wiLCBmdW5jdGlvbihlKVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgZS5wcmV2ZW50RGVmYXVsdCgpO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBkb2N1bWVudC5nZXRFbGVtZW50QnlJZChcImJlZ2luXCIpLnZhbHVlPXJlc3BvbnNlLmVuZCsxO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBzZW5kU2VhcmNoKCk7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHdpbmRvdy5sb2NhdGlvbi5oYXNoPVwiXCI7Ly8gc2lub24gbGVzIGhhc2ggcydlbmNoYcOubmVudC4uLlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB3aW5kb3cubG9jYXRpb24uYXNzaWduKFwiI3F1aXpzVGl0bGVcIik7IC8vIHBvdXIgcmVtb250ZXJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB9KTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBlbHNlXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBhZGRFbGVtZW50KHF1aXpzLCBcInBcIiwgdHh0LnNlcnZlckVycm9yLCBcIlwiLCBbXCJlcnJvclwiXSk7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGVsc2VcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgYWRkRWxlbWVudChxdWl6cywgXCJwXCIsIHR4dC5zZXJ2ZXJFcnJvciwgXCJcIiwgW1wiZXJyb3JcIl0pO1xuICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgIHhoclNlYXJjaC5zZXRSZXF1ZXN0SGVhZGVyKFwiQ29udGVudC1UeXBlXCIsIFwiYXBwbGljYXRpb24vanNvblwiKTtcbiAgICAgICAgICAgICAgICAgICAgeGhyU2VhcmNoLnNldFJlcXVlc3RIZWFkZXIoXCJBdXRob3JpemF0aW9uXCIsIFwiQmVhcmVyIFwiK3VzZXIudG9rZW4pO1xuICAgICAgICAgICAgICAgICAgICBpZihkYXRhcylcbiAgICAgICAgICAgICAgICAgICAge1xuICAgICAgICAgICAgICAgICAgICAgICAgZGF0YXMub3V0cHV0PVwiaHRtbFwiO1xuICAgICAgICAgICAgICAgICAgICAgICAgeGhyU2VhcmNoLnNlbmQoSlNPTi5zdHJpbmdpZnkoZGF0YXMpKTtcbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgICAgIGJ0blJhbmRvbS5hZGRFdmVudExpc3RlbmVyKFwiY2xpY2tcIiwgZnVuY3Rpb24oZSlcbiAgICAgICAgICAgICAgICB7XG4gICAgICAgICAgICAgICAgICAgIGUucHJldmVudERlZmF1bHQoKTtcbiAgICAgICAgICAgICAgICAgICAgZG9jdW1lbnQuZ2V0RWxlbWVudEJ5SWQoXCJiZWdpblwiKS52YWx1ZT0wO1xuICAgICAgICAgICAgICAgICAgICBzZW5kU2VhcmNoKFwicmFuZG9tXCIpO1xuICAgICAgICAgICAgICAgIH0pO1xuICAgICAgICAgICAgICAgIFxuICAgICAgICAgICAgICAgIGZvcm1TZWFyY2guYWRkRXZlbnRMaXN0ZW5lcihcInN1Ym1pdFwiLCBmdW5jdGlvbihlKVxuICAgICAgICAgICAgICAgIHtcbiAgICAgICAgICAgICAgICAgICAgZS5wcmV2ZW50RGVmYXVsdCgpO1xuICAgICAgICAgICAgICAgICAgICBkb2N1bWVudC5nZXRFbGVtZW50QnlJZChcImJlZ2luXCIpLnZhbHVlPTA7XG4gICAgICAgICAgICAgICAgICAgIHNlbmRTZWFyY2goKTtcbiAgICAgICAgICAgICAgICB9KTsgICAgICAgICAgICAgICAgXG4gICAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICB9XG4gICAgY2F0Y2goZSlcbiAgICB7XG4gICAgICAgIGNvbnNvbGUuZXJyb3IoZSk7XG4gICAgICAgIGFkZEVsZW1lbnQoZGl2Q3Jhc2gsIFwicFwiLCB0eHQuc2VydmVyRXJyb3IsIFwiXCIsIFtcImVycm9yXCJdKTtcbiAgICB9XG59XG5pbml0aWFsaXNlKCk7IiwiLy8gRk9OQ1RJT05TIFVUSUxFUyBBVS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cmVjdFVzZXIodXJsUmVkaXJlY3Rpb24sIG1lc3NhZ2UsIHVybFdhbnRlZCk7XG4gICAgICAgICAgICAgICAgcmVzb2x2ZShmYWxzZSk7XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICBlbHNlXG4gICAgICAgICAgICB7XG4gICAgICAgICAgICAgICAgY29uc3QgeGhyID0gbmV3IFhNTEh0dHBSZXF1ZXN0KCk7XG4gICAgICAgICAgICAgICAgeGhyLm9wZW4oXCJHRVRcIiwgYXBpVXJsK3VzZXJSb3V0ZXMrY2hlY2tMb2dpblJvdXRlK3VzZXIudG9rZW4pO1xuICAgICAgICAgICAgICAgIHhoci5vbmxvYWQgPSAoKSA9PlxuICAgICAgICAgICAgICAgIHtcbiAgICAgICAgICAgICAgICAgICAgbGV0IHJlc3BvbnNlPUpTT04ucGFyc2UoeGhyLnJlc3BvbnNlVGV4dCk7XG4gICAgICAgICAgICAgICAgICAgIGlmICh4aHIuc3RhdHVzID09PSAyMDAgJiYgcmVzcG9uc2UuaXNWYWxpZCAmJiByZXNwb25zZS5pZCAhPSB1bmRlZmluZWQpXG4gICAgICAgICAgICAgICAgICAgIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIGlmKHJlc3BvbnNlLmlkPT09dXNlci5pZClcbiAgICAgICAgICAgICAgICAgICAgICAgIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB1c2VyLm5hbWU9cmVzcG9uc2UubmFtZTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB1c2VyLmxhbmd1YWdlPXJlc3BvbnNlLmxhbmd1YWdlO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHVzZXIudGltZURpZmZlcmVuY2U9cmVzcG9uc2UudGltZURpZmZlcmVuY2U7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgdXNlci5zdGF0dXM9cmVzcG9uc2Uuc3RhdHVzOy8vIGMnZXN0IGxlIHRva2VuIHF1aSBzZXJ0IMOgIHbDqXJpZmllciBsZSBzdGF0dXQgw6AgY2hhcXVlIHJlcXXDqnRlIMOgIGwnQVBJXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgc2F2ZUxvY2FseShcInVzZXJcIiwgdXNlcik7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgLy8gc2kgaWwgcydhZ2l0IGQndW4gXCJ1c2VyXCIgZXQgcXVlIHNvbiBhYm9ubmVtZW50IGEgZXhwaXLDqSwgamUgbGUgcmVkaXJpZ2UgdmVycyBsYSBjYWlzc2UgOi0pXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgaWYocmVzcG9uc2Uuc3RhdHVzPT09XCJ1c2VyXCIgJiYgcmVzcG9uc2UubmJEYXlzT2sgPD0gMClcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNvbnN0IHVybEFjY291bnQ9c2l0ZVVybCtcIi9cIitjb25maWdUZW1wbGF0ZS5hY2NvdW50UGFnZTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaWYod2luZG93LmxvY2F0aW9uLmhyZWYuaW5kZXhPZih1cmxBY2NvdW50KT09PS0xKVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgd2luZG93LmxvY2F0aW9uLmFzc2lnbihcIi9cIitjb25maWdUZW1wbGF0ZS5hY2NvdW50UGFnZStcIiNzdWJzY3JpYmVcIik7Ly8gcGFzc8OpZSBkaXJlY3RlbWVudCBpY2ksIGwnYW5jcmUgI3N1YnNjcmliZSBuZSBmb25jdGlvbm5lIHBhcyAhP1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICByZXNvbHZlKHRydWUpO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBlbHNlXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBpZihzdGF0dXMubGVuZ3RoIT09MCAmJiBzdGF0dXMuaW5kZXhPZihyZXNwb25zZS5zdGF0dXMpPT09LTEpXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHJlZGlyZWN0VXNlcih1cmxSZWRpcmVjdGlvbiwgbWVzc2FnZSwgdXJsV2FudGVkKTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHJlc29sdmUoZmFsc2UpO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGVsc2VcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHJlc29sdmUodHJ1ZSk7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICAgICAgZWxzZVxuICAgICAgICAgICAgICAgICAgICAgICAge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHJlbW92ZUxvY2FseShcInVzZXJcIik7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgcmVkaXJlY3RVc2VyKHVybFJlZGlyZWN0aW9uLCBtZXNzYWdlLCB1cmxXYW50ZWQpO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHJlc29sdmUoZmFsc2UpO1xuICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgIGVsc2VcbiAgICAgICAgICAgICAgICAgICAge1xuICAgICAgICAgICAgICAgICAgICAgICAgcmVtb3ZlTG9jYWx5KFwidXNlclwiKTtcbiAgICAgICAgICAgICAgICAgICAgICAgIHJlZGlyZWN0VXNlcih1cmxSZWRpcmVjdGlvbiwgbWVzc2FnZSwgdXJsV2FudGVkKTtcbiAgICAgICAgICAgICAgICAgICAgICAgIHJlc29sdmUoZmFsc2UpO1xuICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIHhoci5vbmVycm9yID0gKCkgPT4gcmVqZWN0KHhoci5zdGF0dXNUZXh0KTtcbiAgICAgICAgICAgICAgICB4aHIuc2VuZCgpO1xuICAgICAgICAgICAgfVxuICAgICAgICB9XG4gICAgfSk7XG59XG4vLyBDZXR0ZSBmb25jdGlvbiBzZXJ0IMOgIGxhIHByw6ljw6lkZW50ZSBlbiBjYXMgZGUgY29ubmV4aW9uIG5vbiB2YWxpZGVcbmNvbnN0IHJlZGlyZWN0VXNlciA9ICh1cmxSZWRpcmVjdGlvbiwgbWVzc2FnZSwgdXJsV2FudGVkKSA9Plxue1xuICAgIGlmKCFpc0VtcHR5KG1lc3NhZ2UpKVxuICAgICAgICBzYXZlTG9jYWx5KFwibWVzc2FnZVwiLCBtZXNzYWdlKTtcbiAgICBpZighaXNFbXB0eSh1cmxXYW50ZWQpKVxuICAgICAgICBzYXZlTG9jYWx5KFwidXJsXCIsIHVybFdhbnRlZCk7XG4gICAgaWYoIWlzRW1wdHkodXJsUmVkaXJlY3Rpb24pKVxuICAgICAgICB3aW5kb3cubG9jYXRpb24uYXNzaWduKHVybFJlZGlyZWN0aW9uKTtcbn0iXSwic291cmNlUm9vdCI6IiJ9
|