/*! Bundled by webpack from entry point: ./_Scripts/PartialJS/full-anon.ts */ /******/ (() => { // webpackBootstrap /******/ var __webpack_modules__ = ({ /***/ "./Content/Js/third-party/event-emitter.js": /*!*************************************************!*\ !*** ./Content/Js/third-party/event-emitter.js ***! \*************************************************/ /***/ (function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_RESULT__; /** * EventEmitter v4.0.1 - git.io/gTW-jg * Oliver Caldwell * MIT license */ ; (function (exports) { // JSHint config - http://www.jshint.com/ /*jshint laxcomma:true*/ /*global define:true*/ // Place the script in strict mode 'use strict'; /** * Class for managing events. * Can be extended to provide event functionality in other classes. * * @class Manages event registering and emitting. */ function EventEmitter() { } // Shortcuts to improve speed and size // Easy access to the prototype var proto = EventEmitter.prototype // Blank array used when no arguments are passed to emitEvent , argumentsPlaceholder = [] // Existence of a native index , nativeIndexOf = argumentsPlaceholder.indexOf ? true : false; /** * Finds the index of the listener for the event in it's storage array * * @param {Function} listener Method to look for. * @param {Function[]} listeners Array of listeners to search through. * @return {Number} Index of the specified listener, -1 if not found */ function indexOfListener(listener, listeners) { // Return the index via the native method if possible if (nativeIndexOf) { return listeners.indexOf(listener); } // There is no native method // Use a manual loop to find the index var i = listeners.length; while (i--) { // If the listener matches, return it's index if (listeners[i] === listener) { return i; } } // Default to returning -1 return -1; } /** * Returns the listener array for the specified event. * Will initialise the event object and listener arrays if required. * * @param {String} evt Name of the event to return the listeners from. * @return {Function[]} All listener functions for the event. * @doc */ proto.getListeners = function (evt) { // Create a shortcut to the storage object // Initialise it if it does not exists yet var events = this._events || (this._events = {}); // Return the listener array // Initialise it if it does not exist return events[evt] || (events[evt] = []); }; /** * Adds a listener function to the specified event. * The listener will not be added if it is a duplicate. * If the listener returns true then it will be removed after it is called. * * @param {String} evt Name of the event to attach the listener to. * @param {Function} listener Method to be called when the event is emitted. If the function returns true then it will be removed after calling. * @return {Object} Current instance of EventEmitter for chaining. * @doc */ proto.addListener = function (evt, listener) { // Fetch the listeners var listeners = this.getListeners(evt); // Push the listener into the array if it is not already there if (indexOfListener(listener, listeners) === -1) { listeners.push(listener); } // Return the instance of EventEmitter to allow chaining return this; }; /** * Removes a listener function from the specified event. * * @param {String} evt Name of the event to remove the listener from. * @param {Function} listener Method to remove from the event. * @return {Object} Current instance of EventEmitter for chaining. * @doc */ proto.removeListener = function (evt, listener) { // Fetch the listeners // And get the index of the listener in the array var listeners = this.getListeners(evt), index = indexOfListener(listener, listeners); // If the listener was found then remove it if (index !== -1) { listeners.splice(index, 1); // If there are no more listeners in this array then remove it if (listeners.length === 0) { this._events[evt] = null; } } // Return the instance of EventEmitter to allow chaining return this; }; /** * Adds listeners in bulk using the manipulateListeners method. * If you pass an object as the second argument you can add to multiple events at once. The object should contain key value pairs of events and listeners or listener arrays. * You can also pass it an event name and an array of listeners to be added. * * @param {String|Object} evt An event name if you will pass an array of listeners next. An object if you wish to add to multiple events at once. * @param {Function[]} [listeners] An optional array of listener functions to add. * @return {Object} Current instance of EventEmitter for chaining. * @doc */ proto.addListeners = function (evt, listeners) { // Pass through to manipulateListeners return this.manipulateListeners(false, evt, listeners); }; /** * Removes listeners in bulk using the manipulateListeners method. * If you pass an object as the second argument you can remove from multiple events at once. The object should contain key value pairs of events and listeners or listener arrays. * You can also pass it an event name and an array of listeners to be removed. * * @param {String|Object} evt An event name if you will pass an array of listeners next. An object if you wish to remove from multiple events at once. * @param {Function[]} [listeners] An optional array of listener functions to remove. * @return {Object} Current instance of EventEmitter for chaining. * @doc */ proto.removeListeners = function (evt, listeners) { // Pass through to manipulateListeners return this.manipulateListeners(true, evt, listeners); }; /** * Edits listeners in bulk. The addListeners and removeListeners methods both use this to do their job. You should really use those instead, this is a little lower level. * The first argument will determine if the listeners are removed (true) or added (false). * If you pass an object as the second argument you can add/remove from multiple events at once. The object should contain key value pairs of events and listeners or listener arrays. * You can also pass it an event name and an array of listeners to be added/removed. * * @param {Boolean} remove True if you want to remove listeners, false if you want to add. * @param {String|Object} evt An event name if you will pass an array of listeners next. An object if you wish to add/remove from multiple events at once. * @param {Function[]} [listeners] An optional array of listener functions to add/remove. * @return {Object} Current instance of EventEmitter for chaining. * @doc */ proto.manipulateListeners = function (remove, evt, listeners) { // Initialise any required variables var i, value, single = remove ? this.removeListener : this.addListener, multiple = remove ? this.removeListeners : this.addListeners; // If evt is an object then pass each of it's properties to this method if (typeof evt === 'object') { for (i in evt) { if (evt.hasOwnProperty(i) && (value = evt[i])) { // Pass the single listener straight through to the singular method if (typeof value === 'function') { single.call(this, i, value); } else { // Otherwise pass back to the multiple function multiple.call(this, i, value); } } } } else { // So evt must be a string // And listeners must be an array of listeners // Loop over it and pass each one to the multiple method i = listeners.length; while (i--) { single.call(this, evt, listeners[i]); } } // Return the instance of EventEmitter to allow chaining return this; }; /** * Removes all listeners from a specified event. * If you do not specify an event then all listeners will be removed. * That means every event will be emptied. * * @param {String} [evt] Optional name of the event to remove all listeners for. Will remove from every event if not passed. * @return {Object} Current instance of EventEmitter for chaining. * @doc */ proto.removeEvent = function (evt) { // Remove different things depending on the state of evt if (evt) { // Remove all listeners for the specified event this._events[evt] = null; } else { // Remove all listeners in all events this._events = null; } // Return the instance of EventEmitter to allow chaining return this; }; /** * Emits an event of your choice. * When emitted, every listener attached to that event will be executed. * If you pass the optional argument array then those arguments will be passed to every listener upon execution. * Because it uses `apply`, your array of arguments will be passed as if you wrote them out separately. * So they will not arrive within the array on the other side, they will be separate. * * @param {String} evt Name of the event to emit and execute listeners for. * @param {Array} [args] Optional array of arguments to be passed to each argument. * @return {Object} Current instance of EventEmitter for chaining. * @doc */ proto.emitEvent = function (evt, args) { // Get the listeners for the event // Also initialise any other required variables var listeners = this.getListeners(evt), i = listeners.length; // Loop over all listeners assigned to the event // Apply the arguments array to each listener function while (i--) { // If the listener returns true then it shall be removed from the event if (listeners[i].apply(null, args || argumentsPlaceholder) === true) { this.removeListener(evt, listeners[i]); } } // Return the instance of EventEmitter to allow chaining return this; }; // Expose the class either via AMD or the global object if (true) { !(__WEBPACK_AMD_DEFINE_RESULT__ = (function () { return EventEmitter; }).call(exports, __webpack_require__, exports, module), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); } else {} }(this)); /***/ }), /***/ "./_Scripts/LegacyJS/constants.mod.js": /*!********************************************!*\ !*** ./_Scripts/LegacyJS/constants.mod.js ***! \********************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ KEY_CODE: () => (/* binding */ KEY_CODE) /* harmony export */ }); const KEY_CODE = { LEFT_MOUSE: 1, MIDDLE_MOUSE: 2, BACKSPACE: 8, TAB: 9, ENTER: 13, ESC: 27, SPACE: 32, PAGEUP: 33, PAGEDOWN: 34, END: 35, HOME: 36, LEFT: 37, UP: 38, RIGHT: 39, DOWN: 40, DEL: 46, 0: 48, 1: 49, 2: 50, 3: 51, 4: 52, 5: 53, 6: 54, 7: 55, 8: 56, 9: 57, A: 65, B: 66, C: 67, D: 68, E: 69, F: 70, G: 71, H: 72, I: 73, J: 74, K: 75, L: 76, M: 77, N: 78, O: 79, P: 80, Q: 81, R: 82, S: 83, T: 84, U: 85, V: 86, W: 87, X: 88, Y: 89, Z: 90, F4: 115, COMMA: 188, }; /***/ }), /***/ "./_Scripts/LegacyJS/full-anon-only sync (?<%21\\.mod)\\.js$": /*!*******************************************************************************!*\ !*** ./_Scripts/LegacyJS/full-anon-only/ sync nonrecursive (?<%21\.mod)\.js$ ***! \*******************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { var map = { "./00_InlineAuth.js": "./_Scripts/LegacyJS/full-anon-only/00_InlineAuth.js", "./01_Vote.js": "./_Scripts/LegacyJS/full-anon-only/01_Vote.js", "./02_SignupModal.js": "./_Scripts/LegacyJS/full-anon-only/02_SignupModal.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 = "./_Scripts/LegacyJS/full-anon-only sync (?<%21\\.mod)\\.js$"; /***/ }), /***/ "./_Scripts/LegacyJS/full-common/20_Analytics.mod.js": /*!***********************************************************!*\ !*** ./_Scripts/LegacyJS/full-common/20_Analytics.mod.js ***! \***********************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ bindTrackClicks: () => (/* binding */ bindTrackClicks), /* harmony export */ init: () => (/* binding */ init), /* harmony export */ sendPending: () => (/* binding */ sendPending), /* harmony export */ track: () => (/* binding */ track), /* harmony export */ trackOutboundClicks: () => (/* binding */ trackOutboundClicks) /* harmony export */ }); /* harmony import */ var _20_Analytics__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./20_Analytics */ "./_Scripts/LegacyJS/full-common/20_Analytics.js"); /* harmony import */ var _20_Analytics__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_20_Analytics__WEBPACK_IMPORTED_MODULE_0__); function init(...args) { return StackExchange.gps.init(...args); } function bindTrackClicks(...args) { StackExchange.gps.bindTrackClicks(...args); } function track(...args) { return StackExchange.gps.track(...args); } function sendPending(...args) { return StackExchange.gps.sendPending(...args); } function trackOutboundClicks(...args) { return StackExchange.gps.trackOutboundClicks(...args); } /***/ }), /***/ "./_Scripts/LegacyJS/full-common/21_OpenID.mod.js": /*!********************************************************!*\ !*** ./_Scripts/LegacyJS/full-common/21_OpenID.mod.js ***! \********************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ initPostLogin: () => (/* binding */ initPostLogin), /* harmony export */ showLoginModal: () => (/* binding */ showLoginModal) /* harmony export */ }); /* harmony import */ var _21_OpenID__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./21_OpenID */ "./_Scripts/LegacyJS/full-common/21_OpenID.js"); const initPostLogin = StackExchange.openid.initPostLogin; const showLoginModal = StackExchange.openid.showLoginModal; /***/ }), /***/ "./_Scripts/LegacyJS/full-common/controllers sync (?<%21\\.mod)\\.js$": /*!****************************************************************************************!*\ !*** ./_Scripts/LegacyJS/full-common/controllers/ sync nonrecursive (?<%21\.mod)\.js$ ***! \****************************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { var map = { "./se-char-counter.js": "./_Scripts/LegacyJS/full-common/controllers/se-char-counter.js", "./se-draggable.js": "./_Scripts/LegacyJS/full-common/controllers/se-draggable.js", "./se-share-sheet.js": "./_Scripts/LegacyJS/full-common/controllers/se-share-sheet.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 = "./_Scripts/LegacyJS/full-common/controllers sync (?<%21\\.mod)\\.js$"; /***/ }), /***/ "./_Scripts/LegacyJS/full-common sync (?<%21\\.mod)\\.js$": /*!****************************************************************************!*\ !*** ./_Scripts/LegacyJS/full-common/ sync nonrecursive (?<%21\.mod)\.js$ ***! \****************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { var map = { "./00_Header.js": "./_Scripts/LegacyJS/full-common/00_Header.js", "./02_TopBar.js": "./_Scripts/LegacyJS/full-common/02_TopBar.js", "./03_Notify.js": "./_Scripts/LegacyJS/full-common/03_Notify.js", "./04_MoveScroller.js": "./_Scripts/LegacyJS/full-common/04_MoveScroller.js", "./05_StyleCode.js": "./_Scripts/LegacyJS/full-common/05_StyleCode.js", "./07_TagMenu.js": "./_Scripts/LegacyJS/full-common/07_TagMenu.js", "./08_UserMenu.js": "./_Scripts/LegacyJS/full-common/08_UserMenu.js", "./09_ChatAd.js": "./_Scripts/LegacyJS/full-common/09_ChatAd.js", "./10_TagSanitizer.js": "./_Scripts/LegacyJS/full-common/10_TagSanitizer.js", "./11_Question.js": "./_Scripts/LegacyJS/full-common/11_Question.js", "./12_Comments.js": "./_Scripts/LegacyJS/full-common/12_Comments.js", "./14_TagRenderer.js": "./_Scripts/LegacyJS/full-common/14_TagRenderer.js", "./15_FadingHelpText.js": "./_Scripts/LegacyJS/full-common/15_FadingHelpText.js", "./18_jQueryCaretPlugin.js": "./_Scripts/LegacyJS/full-common/18_jQueryCaretPlugin.js", "./19_NoCaptcha.js": "./_Scripts/LegacyJS/full-common/19_NoCaptcha.js", "./20_Analytics.js": "./_Scripts/LegacyJS/full-common/20_Analytics.js", "./21_OpenID.js": "./_Scripts/LegacyJS/full-common/21_OpenID.js", "./22_UniversalAuth.js": "./_Scripts/LegacyJS/full-common/22_UniversalAuth.js", "./33_AnonFkeyCookie.js": "./_Scripts/LegacyJS/full-common/33_AnonFkeyCookie.js", "./34_jqueryUiLoader.js": "./_Scripts/LegacyJS/full-common/34_jqueryUiLoader.js", "./36_FlashMessage.js": "./_Scripts/LegacyJS/full-common/36_FlashMessage.js", "./37_PrepareEditor.js": "./_Scripts/LegacyJS/full-common/37_PrepareEditor.js", "./39_Auth.js": "./_Scripts/LegacyJS/full-common/39_Auth.js", "./40_Hero.js": "./_Scripts/LegacyJS/full-common/40_Hero.js", "./41_Checklist.js": "./_Scripts/LegacyJS/full-common/41_Checklist.js", "./44_StacksValidation.js": "./_Scripts/LegacyJS/full-common/44_StacksValidation.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 = "./_Scripts/LegacyJS/full-common sync (?<%21\\.mod)\\.js$"; /***/ }), /***/ "./_Scripts/LegacyJS/stub.mod.js": /*!***************************************!*\ !*** ./_Scripts/LegacyJS/stub.mod.js ***! \***************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ debug: () => (/* binding */ debug), /* harmony export */ setTooltipHtml: () => (/* binding */ setTooltipHtml), /* harmony export */ setTooltipText: () => (/* binding */ setTooltipText) /* harmony export */ }); const debug = StackExchange.debug; function setTooltipHtml(jqueryObj, html, options) { jqueryObj.each(function () { Stacks.setTooltipHtml(this, html, options); }); } function setTooltipText(jqueryObj, text, options) { jqueryObj.each(function () { Stacks.setTooltipText(this, text, options); }); } /***/ }), /***/ "./_Scripts/site-includes lazy recursive ^\\.\\/.*\\.mod$ exclude: index": /*!************************************************************************************!*\ !*** ./_Scripts/site-includes/ lazy ^\.\/.*\.mod$ exclude: index namespace object ***! \************************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { var map = { "./chess.mod": [ "./_Scripts/site-includes/chess.mod.ts", "_Scripts_site-includes_chess_mod_ts" ], "./mathHideUserRep.mod": [ "./_Scripts/site-includes/mathHideUserRep.mod.ts", "_Scripts_site-includes_mathHideUserRep_mod_ts" ], "./poker.mod": [ "./_Scripts/site-includes/poker.mod.ts", "_Scripts_site-includes_poker_mod_ts" ] }; function webpackAsyncContext(req) { if(!__webpack_require__.o(map, req)) { return Promise.resolve().then(() => { var e = new Error("Cannot find module '" + req + "'"); e.code = 'MODULE_NOT_FOUND'; throw e; }); } var ids = map[req], id = ids[0]; return __webpack_require__.e(ids[1]).then(() => { return __webpack_require__(id); }); } webpackAsyncContext.keys = () => (Object.keys(map)); webpackAsyncContext.id = "./_Scripts/site-includes lazy recursive ^\\.\\/.*\\.mod$ exclude: index"; module.exports = webpackAsyncContext; /***/ }), /***/ "./node_modules/exports-loader/dist/cjs.js?exports=Svg!./node_modules/imports-loader/dist/cjs.js??ruleSet[1].rules[1].use[0]!./node_modules/ts-loader/index.js??ruleSet[1].rules[2].use[0]!./_Scripts/PartialJS/full-common/99_svg.ts": /*!********************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/exports-loader/dist/cjs.js?exports=Svg!./node_modules/imports-loader/dist/cjs.js??ruleSet[1].rules[1].use[0]!./node_modules/ts-loader/index.js??ruleSet[1].rules[2].use[0]!./_Scripts/PartialJS/full-common/99_svg.ts ***! \********************************************************************************************************************************************************************************************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ Svg: () => (/* binding */ Svg) /* harmony export */ }); /*** IMPORTS FROM imports-loader ***/ StackExchange = window.StackExchange = (window.StackExchange || {}); StackOverflow = window.StackOverflow = (window.StackOverflow || {}); "use strict"; /** NOTE: When this file is removed, also remove the svg loading functionality in webpack.common.ts **/ /** * DO NOT USE THIS; use `createSvgElement` from `Shared/svg-utils.mod.ts` like so: * ``` * import { IconClearSm } from "@stackoverflow/stacks-icons/icon"; * import { createSvgElement } from "./path/to/Shared/svg-utils.mod"; * const icon = createSvgElement(IconClearSm); * ``` * @deprecated */ class Svg { static getSvg(svg) { const $svg = $(svg); const ret = () => $svg; ret.With = function (classes) { return $svg.clone().addClass(classes); }; ret.WithAttr = function (args) { const clone = $svg.clone(); clone.attr(args); return clone; }; return ret; } } Svg.AchievementsSm = Svg.getSvg(__webpack_require__(/*! @stackoverflow/stacks-icons/dist/Icon/AchievementsSm.svg */ "./node_modules/@stackoverflow/stacks-icons/dist/lib/Icon/AchievementsSm.svg")); Svg.Alert = Svg.getSvg(__webpack_require__(/*! @stackoverflow/stacks-icons/dist/Icon/Alert.svg */ "./node_modules/@stackoverflow/stacks-icons/dist/lib/Icon/Alert.svg")); Svg.AlertCircle = Svg.getSvg(__webpack_require__(/*! @stackoverflow/stacks-icons/dist/Icon/AlertCircle.svg */ "./node_modules/@stackoverflow/stacks-icons/dist/lib/Icon/AlertCircle.svg")); Svg.AlertSm = Svg.getSvg(__webpack_require__(/*! @stackoverflow/stacks-icons/dist/Icon/AlertSm.svg */ "./node_modules/@stackoverflow/stacks-icons/dist/lib/Icon/AlertSm.svg")); Svg.Checkmark = Svg.getSvg(__webpack_require__(/*! @stackoverflow/stacks-icons/dist/Icon/Checkmark.svg */ "./node_modules/@stackoverflow/stacks-icons/dist/lib/Icon/Checkmark.svg")); Svg.Clear = Svg.getSvg(__webpack_require__(/*! @stackoverflow/stacks-icons/dist/Icon/Clear.svg */ "./node_modules/@stackoverflow/stacks-icons/dist/lib/Icon/Clear.svg")); Svg.ClearSm = Svg.getSvg(__webpack_require__(/*! @stackoverflow/stacks-icons/dist/Icon/ClearSm.svg */ "./node_modules/@stackoverflow/stacks-icons/dist/lib/Icon/ClearSm.svg")); Svg.DevTo = Svg.getSvg(__webpack_require__(/*! @stackoverflow/stacks-icons/dist/Icon/DevTo.svg */ "./node_modules/@stackoverflow/stacks-icons/dist/lib/Icon/DevTo.svg")); Svg.Facebook = Svg.getSvg(__webpack_require__(/*! @stackoverflow/stacks-icons/dist/Icon/Facebook.svg */ "./node_modules/@stackoverflow/stacks-icons/dist/lib/Icon/Facebook.svg")); Svg.HelpSm = Svg.getSvg(__webpack_require__(/*! @stackoverflow/stacks-icons/dist/Icon/HelpSm.svg */ "./node_modules/@stackoverflow/stacks-icons/dist/lib/Icon/HelpSm.svg")); Svg.Link = Svg.getSvg(__webpack_require__(/*! @stackoverflow/stacks-icons/dist/Icon/Link.svg */ "./node_modules/@stackoverflow/stacks-icons/dist/lib/Icon/Link.svg")); Svg.People = Svg.getSvg(__webpack_require__(/*! @stackoverflow/stacks-icons/dist/Icon/People.svg */ "./node_modules/@stackoverflow/stacks-icons/dist/lib/Icon/People.svg")); Svg.ShareSm = Svg.getSvg(__webpack_require__(/*! @stackoverflow/stacks-icons/dist/Icon/ShareSm.svg */ "./node_modules/@stackoverflow/stacks-icons/dist/lib/Icon/ShareSm.svg")); Svg.TrendingDown = Svg.getSvg(__webpack_require__(/*! @stackoverflow/stacks-icons/dist/Icon/TrendingDown.svg */ "./node_modules/@stackoverflow/stacks-icons/dist/lib/Icon/TrendingDown.svg")); Svg.TrendingNone = Svg.getSvg(__webpack_require__(/*! @stackoverflow/stacks-icons/dist/Icon/TrendingNone.svg */ "./node_modules/@stackoverflow/stacks-icons/dist/lib/Icon/TrendingNone.svg")); Svg.TrendingUp = Svg.getSvg(__webpack_require__(/*! @stackoverflow/stacks-icons/dist/Icon/TrendingUp.svg */ "./node_modules/@stackoverflow/stacks-icons/dist/lib/Icon/TrendingUp.svg")); Svg.Twitter = Svg.getSvg(__webpack_require__(/*! @stackoverflow/stacks-icons/dist/Icon/Twitter.svg */ "./node_modules/@stackoverflow/stacks-icons/dist/lib/Icon/Twitter.svg")); Svg.UndoSm = Svg.getSvg(__webpack_require__(/*! @stackoverflow/stacks-icons/dist/Icon/UndoSm.svg */ "./node_modules/@stackoverflow/stacks-icons/dist/lib/Icon/UndoSm.svg")); Svg.IndustrySm = Svg.getSvg(__webpack_require__(/*! @stackoverflow/stacks-icons/dist/Icon/IndustrySm.svg */ "./node_modules/@stackoverflow/stacks-icons/dist/lib/Icon/IndustrySm.svg")); /*** EXPORTS FROM exports-loader ***/ /***/ }), /***/ "./node_modules/expose-loader/dist/cjs.js?exposes=EventEmitter!./Content/Js/third-party/event-emitter-exposed.js": /*!***********************************************************************************************************************!*\ !*** ./node_modules/expose-loader/dist/cjs.js?exposes=EventEmitter!./Content/Js/third-party/event-emitter-exposed.js ***! \***********************************************************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { var ___EXPOSE_LOADER_IMPORT___ = __webpack_require__(/*! -!./event-emitter.js */ "./Content/Js/third-party/event-emitter.js"); var ___EXPOSE_LOADER_GET_GLOBAL_THIS___ = __webpack_require__(/*! ../../../node_modules/expose-loader/dist/runtime/getGlobalThis.js */ "./node_modules/expose-loader/dist/runtime/getGlobalThis.js"); var ___EXPOSE_LOADER_GLOBAL_THIS___ = ___EXPOSE_LOADER_GET_GLOBAL_THIS___; if (typeof ___EXPOSE_LOADER_GLOBAL_THIS___["EventEmitter"] === 'undefined') ___EXPOSE_LOADER_GLOBAL_THIS___["EventEmitter"] = ___EXPOSE_LOADER_IMPORT___; else throw new Error('[exposes-loader] The "EventEmitter" value exists in the global scope, it may not be safe to overwrite it, use the "override" option') module.exports = ___EXPOSE_LOADER_IMPORT___; /***/ }), /***/ "./node_modules/expose-loader/dist/cjs.js?exposes=Svg|Svg!./node_modules/exports-loader/dist/cjs.js?exports=Svg!./_Scripts/PartialJS/full-common/99_svg-exposed.ts": /*!*************************************************************************************************************************************************************************!*\ !*** ./node_modules/expose-loader/dist/cjs.js?exposes=Svg|Svg!./node_modules/exports-loader/dist/cjs.js?exports=Svg!./_Scripts/PartialJS/full-common/99_svg-exposed.ts ***! \*************************************************************************************************************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { var ___EXPOSE_LOADER_IMPORT___ = __webpack_require__(/*! -!../../../node_modules/exports-loader/dist/cjs.js?exports=Svg!../../../node_modules/imports-loader/dist/cjs.js??ruleSet[1].rules[1].use[0]!../../../node_modules/ts-loader/index.js??ruleSet[1].rules[2].use[0]!./99_svg.ts */ "./node_modules/exports-loader/dist/cjs.js?exports=Svg!./node_modules/imports-loader/dist/cjs.js??ruleSet[1].rules[1].use[0]!./node_modules/ts-loader/index.js??ruleSet[1].rules[2].use[0]!./_Scripts/PartialJS/full-common/99_svg.ts"); var ___EXPOSE_LOADER_GET_GLOBAL_THIS___ = __webpack_require__(/*! ../../../node_modules/expose-loader/dist/runtime/getGlobalThis.js */ "./node_modules/expose-loader/dist/runtime/getGlobalThis.js"); var ___EXPOSE_LOADER_GLOBAL_THIS___ = ___EXPOSE_LOADER_GET_GLOBAL_THIS___; var ___EXPOSE_LOADER_IMPORT_MODULE_LOCAL_NAME___ = ___EXPOSE_LOADER_IMPORT___.Svg if (typeof ___EXPOSE_LOADER_GLOBAL_THIS___["Svg"] === 'undefined') ___EXPOSE_LOADER_GLOBAL_THIS___["Svg"] = ___EXPOSE_LOADER_IMPORT_MODULE_LOCAL_NAME___; else throw new Error('[exposes-loader] The "Svg" value exists in the global scope, it may not be safe to overwrite it, use the "override" option') module.exports = ___EXPOSE_LOADER_IMPORT___; /***/ }), /***/ "./node_modules/expose-loader/dist/runtime/getGlobalThis.js": /*!******************************************************************!*\ !*** ./node_modules/expose-loader/dist/runtime/getGlobalThis.js ***! \******************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; // eslint-disable-next-line func-names module.exports = function () { if (typeof globalThis === "object") { return globalThis; } var g; try { // This works if eval is allowed (see CSP) // eslint-disable-next-line no-new-func g = this || new Function("return this")(); } catch (e) { // This works if the window reference is available if (typeof window === "object") { return window; } // This works if the self reference is available if (typeof self === "object") { return self; } // This works if the global reference is available if (typeof __webpack_require__.g !== "undefined") { return __webpack_require__.g; } } return g; }(); /***/ }), /***/ "./_Scripts/LegacyJS/full-anon-only/00_InlineAuth.js": /*!***********************************************************!*\ !*** ./_Scripts/LegacyJS/full-anon-only/00_InlineAuth.js ***! \***********************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony import */ var _constants_mod__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../constants.mod */ "./_Scripts/LegacyJS/constants.mod.js"); /* harmony import */ var _utilities_popup__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../utilities/popup */ "./_Scripts/utilities/popup.ts"); /*** IMPORTS FROM imports-loader ***/ StackExchange = window.StackExchange = (window.StackExchange || {}); StackOverflow = window.StackOverflow = (window.StackOverflow || {}); StackExchange.InlineAuth = (function () { var auth = { using_universal_ui: false, getSsrc: function (defaultValue) { var el = $('#login-form input[name="ssrc"]'); var val = undefined; if (el && el.length === 1) val = el.val(); if (!val) val = defaultValue; return val; }, init: function () { var emailErrors = [], passwordErrors = [], nameErrors = [], captchaErrors = [], popupsToClear = [], currentEmailError = null, currentPasswordError = null, currentNameError = null, currentCaptchaError = null; // Reset oauth inputs this.setOAuthInfo('',''); var showValidationMessage = function ($elem, message, options) { return StackExchange.helpers.showMessage($elem, message, options); } // click actions $('#openid-buttons').on('click', '.js-major-provider', function (e) { var provider = $(this).data('provider'); if (provider) { var signupLogged = false; StackExchange.using('gps', function () { StackExchange.gps.track('signup.start', { openid_provider: provider, location: auth.getSsrc('signup_inline'), tid: StackExchange.options.user.tid }, true); }); signupLogged = true; if (StackExchange.settings.auth.oauthInPopup) { (0,_utilities_popup__WEBPACK_IMPORTED_MODULE_1__.openCenteredPopup)('', 'oauth-frame', window, 500, 550); } auth.signin($(this), e, signupLogged); } }); // signup events tracking var loginFields = $('#se-login-fields'); $(loginFields).on('keyup', 'input[name=inline-password],input[name=inline-display-name],input[name=inline-email]', function (e) { var input = $(e.target); if (!input.data('entered')) { var eventName = ('signup.' + input.attr('name').replace('display-', '') + '.entered'); input.data('entered', true); StackExchange.using('gps', function () { StackExchange.gps.track(eventName, {}, true); }); } }); $('#se-login-fields').on('click', 'input[name=submit-button]', function () { StackExchange.using('gps', function () { StackExchange.gps.track('signup.se.click', {}, true); }); }); $('.js-terms').on('click', 'a[name=privacy],a[name=tos]', function (e) { var input = $(e.target); var eventName = ('signup.' + input.attr('name') + '.click'); StackExchange.using('gps', function () { StackExchange.gps.track(eventName, {}, true); }); }); // password requirements live feedback var passwordFeedback = null; var passwordFeedbackAttachedTo = null; var pw1 = $('input.js-inline-signup'); var givePasswordFeedback = function () { // special case, show our initial requirements when the fields are literally empty if (pw1.val().length === 0) { var reqMsg = __tr(["$pStart$Password must contain at least eight characters, including:$pEnd$ $listStart$ $itemStart$ letters $itemEnd$ $itemStart$ numbers $itemEnd$ $listEnd$"], {pStart: '
',pEnd: '
',listStart: '