1301 lines
168 KiB
JavaScript
1301 lines
168 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/subscribeValidation.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 ^\\.\\/.*\\/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 ^\\.\\/.*\\/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/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/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/subscribeValidation.js":
|
|
/*!************************************!*\
|
|
!*** ./src/subscribeValidation.js ***!
|
|
\************************************/
|
|
/*! no exports provided */
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
|
|
"use strict";
|
|
__webpack_require__.r(__webpack_exports__);
|
|
/* harmony import */ var _config_instance_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../config/instance.js */ "../config/instance.js");
|
|
/* harmony import */ var _config_instance_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_config_instance_js__WEBPACK_IMPORTED_MODULE_0__);
|
|
/* harmony import */ var _config_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 _tools_clientstorage_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./tools/clientstorage.js */ "./src/tools/clientstorage.js");
|
|
/* harmony import */ var _tools_dom_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./tools/dom.js */ "./src/tools/dom.js");
|
|
/* harmony import */ var _tools_everywhere_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./tools/everywhere.js */ "./src/tools/everywhere.js");
|
|
/* harmony import */ var _tools_url_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./tools/url.js */ "./src/tools/url.js");
|
|
/* 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 PERMETTANT DE VALIDER LA CRÉATION DE SON COMPTE
|
|
/// Un token est transmis en paramètre de l'Url. Il a une validité limité dans le temps.
|
|
/// Si le token n'est pas/plus valide, on redirige l'utilisateur vers la page de connexion pour obtenir un nouveau lien.
|
|
/// Si le token est ok, on l'informe que tout est ok et lui propose de se connecter.
|
|
/// Si l'utilisateur a déjà une session active valide, c'est qu'il a déjà cliqué sur le lien. On le redirige vers sa page d'accueil.
|
|
// Fichier de configuration tirés du backend :
|
|
|
|
var lang = _config_instance_js__WEBPACK_IMPORTED_MODULE_0__["availableLangs"][0];
|
|
|
|
|
|
var configTemplate = __webpack_require__("../views sync recursive ^\\.\\/.*\\.js$")("./" + _config_instance_js__WEBPACK_IMPORTED_MODULE_0__["theme"] + "/config/" + lang + ".js"); // Importation des 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 divResponse = document.getElementById("response");
|
|
|
|
var initialise = /*#__PURE__*/function () {
|
|
var _ref = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
|
|
var isConnected, user, homePage, datas, xhr;
|
|
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__["checkSession"])();
|
|
|
|
case 3:
|
|
isConnected = _context.sent;
|
|
|
|
if (isConnected) {
|
|
Object(_tools_clientstorage_js__WEBPACK_IMPORTED_MODULE_2__["saveLocaly"])("message", {
|
|
message: txtUsers.alreadyConnected,
|
|
color: "information"
|
|
});
|
|
user = Object(_tools_clientstorage_js__WEBPACK_IMPORTED_MODULE_2__["getLocaly"])("user", true);
|
|
homePage = user.status + "HomePage"; // lors de la création, seul le statut 'user" est possible
|
|
|
|
window.location.assign("/" + configTemplate[homePage]);
|
|
} else {
|
|
datas = Object(_tools_url_js__WEBPACK_IMPORTED_MODULE_5__["getUrlParams"])();
|
|
|
|
if (datas && datas.t !== undefined) {
|
|
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__["checkSubscribeTokenRoute"] + datas.t);
|
|
|
|
xhr.onreadystatechange = function () {
|
|
if (this.readyState == XMLHttpRequest.DONE) {
|
|
var response = JSON.parse(this.responseText);
|
|
|
|
if (this.status === 200 && response.userId != undefined && response.token != undefined) {
|
|
Object(_tools_clientstorage_js__WEBPACK_IMPORTED_MODULE_2__["saveLocaly"])("message", {
|
|
message: txtUsers.validationMessage,
|
|
color: "success"
|
|
}); // pour l'afficher sur la page suivante
|
|
|
|
window.location.assign("/" + configTemplate.connectionPage);
|
|
} else if ((this.status === 200 || this.status === 404) && response.errors != undefined) {
|
|
if (Array.isArray(response.errors)) response.errors = response.errors.join("<br>");else response.errors = txt.serverError;
|
|
Object(_tools_dom_js__WEBPACK_IMPORTED_MODULE_3__["addElement"])(divResponse, "p", response.errors, "", ["error"]);
|
|
} else Object(_tools_dom_js__WEBPACK_IMPORTED_MODULE_3__["addElement"])(divResponse, "p", txtUsers.badLinkValidationMessage.replace("#URL", configTemplate.connectionPage), "", ["error"]);
|
|
}
|
|
};
|
|
|
|
xhr.send();
|
|
}
|
|
}
|
|
|
|
_context.next = 11;
|
|
break;
|
|
|
|
case 7:
|
|
_context.prev = 7;
|
|
_context.t0 = _context["catch"](0);
|
|
console.error(_context.t0);
|
|
Object(_tools_dom_js__WEBPACK_IMPORTED_MODULE_3__["addElement"])(divResponse, "p", txt.serverError, "", ["error"]);
|
|
|
|
case 11:
|
|
case "end":
|
|
return _context.stop();
|
|
}
|
|
}
|
|
}, _callee, null, [[0, 7]]);
|
|
}));
|
|
|
|
return function initialise() {
|
|
return _ref.apply(this, arguments);
|
|
};
|
|
}();
|
|
|
|
initialise();
|
|
Object(_tools_everywhere_js__WEBPACK_IMPORTED_MODULE_4__["helloDev"])();
|
|
|
|
/***/ }),
|
|
|
|
/***/ "./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/url.js":
|
|
/*!**************************!*\
|
|
!*** ./src/tools/url.js ***!
|
|
\**************************/
|
|
/*! exports provided: getUrlParams */
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
|
|
"use strict";
|
|
__webpack_require__.r(__webpack_exports__);
|
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getUrlParams", function() { return getUrlParams; });
|
|
/* 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__);
|
|
// Fonction récupérant les paramètres passés par l'url
|
|
|
|
var getUrlParams = function getUrlParams() {
|
|
if (Object(_tools_main__WEBPACK_IMPORTED_MODULE_0__["isEmpty"])(location.search)) return false;
|
|
var parameters = location.search.substring(1).split("&");
|
|
if (!Array.isArray(parameters) || parameters.length === 0) return false;
|
|
var param,
|
|
datas = {};
|
|
|
|
for (var i in parameters) {
|
|
param = parameters[i].split("=");
|
|
if (param.length === 2) datas[param[0]] = decodeURI(param[1]);
|
|
}
|
|
|
|
return datas;
|
|
};
|
|
|
|
/***/ }),
|
|
|
|
/***/ "./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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vd2VicGFjay9ib290c3RyYXAiLCJ3ZWJwYWNrOi8vLy4uL2NvbmZpZy9pbnN0YW5jZS5qcyIsIndlYnBhY2s6Ly8vLi4vY29uZmlnL3F1ZXN0aW9ubmFpcmVzLmpzIiwid2VicGFjazovLy8uLi9jb25maWcvdXNlcnMuanMiLCJ3ZWJwYWNrOi8vLy4uL2xhbmcgc3luYyBeXFwuXFwvLipcXC9nZW5lcmFsJCIsIndlYnBhY2s6Ly8vLi4vbGFuZyBzeW5jIF5cXC5cXC8uKlxcL3VzZXIkIiwid2VicGFjazovLy8uLi9sYW5nL2ZyL2dlbmVyYWwuanMiLCJ3ZWJwYWNrOi8vLy4uL2xhbmcvZnIvdXNlci5qcyIsIndlYnBhY2s6Ly8vLi4vdG9vbHMvbWFpbi5qcyIsIndlYnBhY2s6Ly8vLi4vdmlld3Mgc3luYyBeXFwuXFwvLipcXC5qcyQiLCJ3ZWJwYWNrOi8vLy4uL3ZpZXdzL2RlZmF1bHQvY29uZmlnL2ZyLmpzIiwid2VicGFjazovLy8uLi92aWV3cy93aWtpbGVybmkvY29uZmlnL2ZyLmpzIiwid2VicGFjazovLy8uL3NyYy9zdWJzY3JpYmVWYWxpZGF0aW9uLmpzIiwid2VicGFjazovLy8uL3NyYy90b29scy9jbGllbnRzdG9yYWdlLmpzIiwid2VicGFjazovLy8uL3NyYy90b29scy9kb20uanMiLCJ3ZWJwYWNrOi8vLy4vc3JjL3Rvb2xzL2V2ZXJ5d2hlcmUuanMiLCJ3ZWJwYWNr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cOpIHNvbiBjb21wdGUgbGUgREFURV9DUkVBPC9iPiwgbGEgZGVybmnDqHJlIG1pc2Ugw6Agam91ciBkYXRhbnQgZHUgREFURV9VUERBVEUuPGJyPjxiPkRhdGUgZGUgc2EgZGVybmnDqHJlIGNvbm5leGlvbiA6IERBVEVfQ09OTkVDVElPTi48L2I+XCIsXG4gICAgaW5mb3NBZG1pbkdvZGZhdGhlcjogXCJDZXQgdXRpbGlzYXRldXIgYSDDqXTDqSBwYXJyYWluw6kgcGFyIFwiLFxuICAgIGluZm9zQWRtaW5OYkdvZENoaWxkczogXCJTZXMgI05CIGZpbGxldWlscyA6IFwiXG59OyIsIi8vIFF1ZWxxdWVzIGZvbmN0aW9ucyB1dGlsZXMgcG91ciBsZXMgY2hhw65uZXNcblxuY2xhc3MgVG9vbFxue1xuICAgIHN0YXRpYyBpc0VtcHR5KG15VmFyKVxuICAgIHtcbiAgICAgICAgaWYobXlWYXI9PT11bmRlZmluZWQgfHwgbXlWYXI9PT1udWxsKVxuICAgICAgICAgICAgcmV0dXJuIHRydWU7XG4gICAgICAgIGVsc2VcbiAgICAgICAge1xuICAgICAgICAgICAgbXlWYXIrPVwiXCI7Ly8gc2kgYXV0cmUgY2hvc2UgcXUndW5lIGNoYcOubmUgZW52b3nDqS4uLlxuICAgICAgICAgICAgbXlWYXI9bXlWYXIudHJpbSgpO1xuICAgICAgICAgICAgaWYobXlWYXI9PT1cIlwiKVxuICAgICAgICAgICAgICAgIHJldHVybiB0cnVlO1xuICAgICAgICAgICAgZWxzZVxuICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTtcbiAgICAgICAgfVxuICAgIH1cbiAgICBcbiAgICBzdGF0aWMgdHJpbUlmTm90TnVsbChteVN0cmluZylcbiAgICB7XG4gICAgICAgIGlmKFRvb2wuaXNFbXB0eShteVN0cmluZykpXG4gICAgICAgICAgICBteVN0cmluZz1udWxsO1xuICAgICAgICBlbHNlXG4gICAgICAgIHtcbiAgICAgICAgICAgIG15U3Ry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U2NyaXB0L1JlZmVyZW5jZS9PYmpldHNfZ2xvYmF1eC9NYXRoL3JhbmRvbVxuICAgIHN0YXRpYyBnZXRSYW5kb21JbnQobWluLCBtYXgpXG4gICAge1xuICAgICAgICBtaW4gPSBNYXRoLmNlaWwobWluKTtcbiAgICAgICAgbWF4ID0gTWF0aC5mbG9vcihtYXgpO1xuICAgICAgICByZXR1cm4gTWF0aC5mbG9vcihNYXRoLnJhbmRvbSgpICogKG1heCAtIG1pbikpICsgbWluO1xuICAgIH1cblxuICAgIC8vIMOgIGNvbXBsw6l0ZXIgOiBodHRwczovL2VuLndpa2lwZWRpYS5vcmcvd2lraS9EYXRlX2Zvcm1hdF9ieV9jb3VudHJ5XG4gICAgc3RhdGljIGRhdGVGb3JtYXQoZGF0ZVN0cmluZywgbGFuZz1cImZyXCIpXG4gICAge1xuICAgICAgICBpZihUb29sLmlzRW1wdHkoZGF0ZVN0cmluZykpXG4gICAgICAgICAgICByZXR1cm4gXCJcIjtcbiAgICAgICAgbGV0IG15RGF0ZT1uZXcgRGF0ZShkYXRlU3RyaW5nKTtcbiAgICAgICAgbGV0IG15RGF5PW15RGF0ZS5nZXREYXRlKCkrXCJcIjtcbiAgICAgICAgaWYobXlEYXkubGVuZ3RoPT09MSlcbiAgICAgICAgICAgIG15RGF5PVwiMFwiK215RGF5O1xuICAgICAgICBsZXQgbXlNb3VudGg9KG15RGF0ZS5nZXRNb250aCgpKzEpK1wiXCI7XG4gICAgICAgIGlmKG15TW91bnRoLmxlbmd0aD09PTEpXG4gICAgICAgICAgICBteU1vdW50aD1cIjBcIitteU1vdW50aDtcbiAgICAgICAgbGV0IG15WWVhcj1teURhdGUuZ2V0RnVsbFllYXIoKTtcbiAgICAgICAgaWYobGFuZz09PVwiZnJcIilcbiAgICAgICAgICAgIHJldHVybiBteURheStcIi9cIitteU1vdW50aCtcIi9cIitteVllYXI7XG4gICAgICAgIGVsc2UgaWYgKGxhbmc9PT1cImZvcm1cIikvLyAyMDE0LTAyL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b2NhbHkoXCJtZXNzYWdlXCIsIHsgbWVzc2FnZTogdHh0VXNlcnMuYWxyZWFkeUNvbm5lY3RlZCwgY29sb3I6XCJpbmZvcm1hdGlvblwiIH0pO1xuICAgICAgICAgICAgY29uc3QgdXNlcj1nZXRMb2NhbHkoXCJ1c2VyXCIsIHRydWUpO1xuICAgICAgICAgICAgY29uc3QgaG9tZVBhZ2U9dXNlci5zdGF0dXMrXCJIb21lUGFnZVwiOy8vIGxvcnMgZGUgbGEgY3LDqWF0aW9uLCBzZXVsIGxlIHN0YXR1dCAndXNlclwiIGVzdCBwb3NzaWJsZVxuICAgICAgICAgICAgd2luZG93LmxvY2F0aW9uLmFzc2lnbihcIi9cIitjb25maWdUZW1wbGF0ZVtob21lUGFnZV0pO1xuICAgICAgICB9XG4gICAgICAgIGVsc2VcbiAgICAgICAge1xuICAgICAgICAgICAgY29uc3QgZGF0YXM9Z2V0VXJsUGFyYW1zKCk7XG4gICAgICAgICAgICBpZihkYXRhcyAmJiBkYXRhcy50IT09dW5kZWZpbmVkKVxuICAgICAgICAgICAge1xuICAgICAgICAgICAgICAgIGNvbnN0IHhociA9IG5ldyBYTUxIdHRwUmVxdWVzdCgpO1xuICAgICAgICAgICAgICAgIHhoci5vcGVuKFwiR0VUXCIsIGFwaVVybCt1c2VyUm91dGVzK2NoZWNrU3Vic2NyaWJlVG9rZW5Sb3V0ZStkYXRhcy50KTtcbiAgICAgICAgICAgICAgICB4aHIub25yZWFkeXN0YXRlY2hhbmdlID0gZnVuY3Rpb24oKVxuICAgICAgICAgICAgICAgIHtcbiAgICAgICAgICAgICAgICAgICAgaWYgKHRoaXMucmVhZHlTdGF0ZSA9PSBYTUxIdHRwUmVxdWVzdC5ET05FKVxuICAgICAgICAgICAgICAgICAgICB7XG4gICAgICAgICAgICAgICAgICAgICAgICBsZXQgcmVzcG9uc2U9SlNPTi5wYXJzZSh0aGlzLnJlc3BvbnNlVGV4dCk7XG4gICAgICAgICAgICAgICAgICAgICAgICBpZiAodGhpcy5zdGF0dXMgPT09IDIwMCAmJiByZXNwb25zZS51c2VySWQgIT0gdW5kZWZpbmVkICYmIHJlc3BvbnNlLnRva2VuICE9IHVuZGVmaW5lZClcbiAgICAgICAgICAgICAgICAgICAgICAgIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBzYXZlTG9jYWx5KFwibWVzc2FnZVwiLCB7IG1lc3NhZ2U6IHR4dFVzZXJzLnZhbGlkYXRpb25NZXNzYWdlLCBjb2xvcjpcInN1Y2Nlc3NcIiB9KTsvLyBwb3VyIGwnYWZmaWNoZXIgc3VyIGxhIHBhZ2Ugc3VpdmFudGVcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB3aW5kb3cubG9jYXRpb24uYXNzaWduKFwiL1wiK2NvbmZpZ1RlbXBsYXRlLmNvbm5lY3Rpb25QYWdlKTtcbiAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgICAgIGVsc2UgaWYgKCh0aGlzLnN0YXR1cyA9PT0gMjAwIHx8IHRoaXMuc3RhdHVzID09PSA0MDQpICYmIHJlc3BvbnNlLmVycm9ycyAhPSB1bmRlZmluZWQpXG4gICAgICAgICAgICAgICAgICAgICAgICB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlmKEFycmF5LmlzQXJyYXkocmVzcG9uc2UuZXJyb3JzKSlcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgcmVzcG9uc2UuZXJyb3JzID0gcmVzcG9uc2UuZXJyb3JzLmpvaW4oXCI8YnI+XCIpO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGVsc2VcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgcmVzcG9uc2UuZXJyb3JzID0gdHh0LnNlcnZlckVycm9yO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGFkZEVsZW1lbnQoZGl2UmVzcG9uc2UsIFwicFwiLCByZXNwb25zZS5lcnJvcnMsIFwiXCIsIFtc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Y3Rpb24sIG1lc3NhZ2UsIHVybFdhbnRlZCk7XG4gICAgICAgICAgICByZXNvbHZlKGZhbHNlKTtcbiAgICAgICAgfVxuICAgICAgICBlbHNlXG4gICAgICAgIHtcbiAgICAgICAgICAgIGNvbnN0IHVzZXI9SlNPTi5wYXJzZSh1c2VyRGF0YXMpO1xuICAgICAgICAgICAgaWYoaXNFbXB0eSh1c2VyLmlkKSB8fMKgaXNFbXB0eSh1c2VyLnRva2VuKSB8fCBpc0VtcHR5KHVzZXIuZHVyYXRpb24pIHx8IHVzZXIuZHVyYXRpb24gPCBEYXRlLm5vdygpKVxuICAgICAgICAgICAge1xuICAgICAgICAgICAgICAgIHJlbW92ZUxvY2FseShcInVzZXJcIik7XG4gICAgICAgICAgICAgICAgcmVkaXJlY3RVc2VyKHVybFJlZGlyZWN0aW9uLCBtZXNzYWdlLCB1cmxXYW50ZWQpO1xuICAgICAgICAgICAgICAgIHJlc29sdmUoZmFsc2UpO1xuICAgICAgICAgICAgfVxuICAgICAgICAgICAgZWxzZVxuICAgICAgICAgICAge1xuICAgICAgICAgICAgICAgIGNvbnN0IHhociA9IG5ldyBYTUxIdHRwUmVxdWVzdCgpO1xuICAgICAgICAgICAgICAgIHhoci5vcGVuKFwiR0VUXCIsIGFwaVVybCt1c2VyUm91dGVzK2NoZWNrTG9naW5Sb3V0ZSt1c2VyLnRva2VuKTtcbiAgICAgICAgICAgICAgICB4aHIub25sb2FkID0gKCkgPT5cbiAgICAgICAgICAgICAgICB7XG4gICAgICAgICAgICAgICAgICAgIGxldCByZXNwb25zZT1KU09OLnBhcnNlKHhoci5yZXNwb25zZVRleHQpO1xuICAgICAgICAgICAgICAgICAgICBpZiAoeGhyLnN0YXR1cyA9PT0gMjAwICYmIHJlc3BvbnNlLmlzVmFsaWQgJiYgcmVzcG9uc2UuaWQgIT0gdW5kZWZpbmVkKVxuICAgICAgICAgICAgICAgICAgICB7XG4gICAgICAgICAgICAgICAgICAgICAgICBpZihyZXNwb25zZS5pZD09PXVzZXIuaWQpXG4gICAgICAgICAgICAgICAgICAgICAgICB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgdXNlci5uYW1lPXJlc3BvbnNlLm5hbWU7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgdXNlci5sYW5ndWFnZT1yZXNwb25zZS5sYW5ndWFnZTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB1c2VyLnRpbWVEaWZmZXJlbmNlPXJlc3BvbnNlLnRpbWVEaWZmZXJlbmNlO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHVzZXIuc3RhdHVzPXJlc3BvbnNlLnN0YXR1czsvLyBjJ2VzdCBsZSB0b2tlbiBxdWkgc2VydCDDoCB2w6lyaWZpZXIgbGUgc3RhdHV0IMOgIGNoYXF1ZSByZXF1w6p0ZSDDoCBsJ0FQSVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHNhdmVMb2NhbHkoXCJ1c2VyXCIsIHVzZXIpO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIC8vIHNpIGlsIHMnYWdpdCBkJ3VuIFwidXNlclwiIGV0IHF1ZSBzb24gYWJvbm5lbWVudCBhIGV4cGlyw6ksIGplIGxlIHJlZGlyaWdlIHZlcnMgbGEgY2Fpc3NlIDotKVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlmKHJlc3BvbnNlLnN0YXR1cz09PVwidXNlclwiICYmIHJlc3BvbnNlLm5iRGF5c09rIDw9IDApXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBjb25zdCB1cmxBY2NvdW50PXNpdGVVcmwrXCIvXCIrY29uZmlnVGVtcGxhdGUuYWNjb3VudFBhZ2U7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlmKHdpbmRvdy5sb2NhdGlvbi5ocmVmLmluZGV4T2YodXJsQWNjb3VudCk9PT0tMSlcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHdpbmRvdy5sb2NhdGlvbi5hc3NpZ24oXCIvXCIrY29uZmlnVGVtcGxhdGUuYWNjb3VudFBhZ2UrXCIjc3Vic2NyaWJlXCIpOy8vIHBhc3PDqWUgZGlyZWN0ZW1lbnQgaWNpLCBsJ2FuY3JlICNzdWJzY3JpYmUgbmUgZm9uY3Rpb25uZSBwYXMgIT9cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgcmVzb2x2ZSh0cnVlKTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgZWxzZVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaWYoc3RhdHVzLmxlbmd0aCE9PTAgJiYgc3RhdHVzLmluZGV4T2YocmVzcG9uc2Uuc3RhdHVzKT09PS0xKVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICByZWRpcmVjdFVzZXIodXJsUmVkaXJlY3Rpb24sIG1lc3NhZ2UsIHVybFdhbnRlZCk7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICByZXNvbHZlKGZhbHNlKTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBlbHNlXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICByZXNvbHZlKHRydWUpO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgICAgIGVsc2VcbiAgICAgICAgICAgICAgICAgICAgICAgIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICByZW1vdmVMb2NhbHkoXCJ1c2VyXCIpO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHJlZGlyZWN0VXNlcih1cmxSZWRpcmVjdGlvbiwgbWVzc2FnZSwgdXJsV2FudGVkKTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICByZXNvbHZlKGZhbHNlKTtcbiAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICBlbHNlXG4gICAgICAgICAgICAgICAgICAgIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIHJlbW92ZUxvY2FseShcInVzZXJcIik7XG4gICAgICAgICAgICAgICAgICAgICAgICByZWRpcmVjdFVzZXIodXJsUmVkaXJlY3Rpb24sIG1lc3NhZ2UsIHVybFdhbnRlZCk7XG4gICAgICAgICAgICAgICAgICAgICAgICByZXNvbHZlKGZhbHNlKTtcbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICB4aHIub25lcnJvciA9ICgpID0+IHJlamVjdCh4aHIuc3RhdHVzVGV4dCk7XG4gICAgICAgICAgICAgICAgeGhyLnNlbmQoKTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgIH0pO1xufVxuLy8gQ2V0dGUgZm9uY3Rpb24gc2VydCDDoCBsYSBwcsOpY8OpZGVudGUgZW4gY2FzIGRlIGNvbm5leGlvbiBub24gdmFsaWRlXG5jb25zdCByZWRpcmVjdFVzZXIgPSAodXJsUmVkaXJlY3Rpb24sIG1lc3NhZ2UsIHVybFdhbnRlZCkgPT5cbntcbiAgICBpZighaXNFbXB0eShtZXNzYWdlKSlcbiAgICAgICAgc2F2ZUxvY2FseShcIm1lc3NhZ2VcIiwgbWVzc2FnZSk7XG4gICAgaWYoIWlzRW1wdHkodXJsV2FudGVkKSlcbiAgICAgICAgc2F2ZUxvY2FseShcInVybFwiLCB1cmxXYW50ZWQpO1xuICAgIGlmKCFpc0VtcHR5KHVybFJlZGlyZWN0aW9uKSlcbiAgICAgICAgd2luZG93LmxvY2F0aW9uLmFzc2lnbih1cmxSZWRpcmVjdGlvbik7XG59Il0sInNvdXJjZVJvb3QiOiIifQ==
|