PageSourceSearch

https://www.iecaonline.com/wp-content/plugins/yoko-sso-cp/assets/js/app.js?ver=1.0.1

js iecaonline.com collected 2026-10-03 22:14:00 UTC 11,252 bytes, 294 lines download raw bytes

vendor: 3,594 bytes, lines 1-88
1/******/ (function(modules) { // webpackBootstrap
2/******/ 	// The module cache
3/******/ 	var installedModules = {};
4/******/
5/******/ 	// The require function
6/******/ 	function __webpack_require__(moduleId) {
7/******/
8/******/ 		// Check if module is in cache
9/******/ 		if(installedModules[moduleId]) {
10/******/ 			return installedModules[moduleId].exports;
11/******/ 		}
12/******/ 		// Create a new module (and put it into the cache)
13/******/ 		var module = installedModules[moduleId] = {
14/******/ 			i: moduleId,
15/******/ 			l: false,
16/******/ 			exports: {}
17/******/ 		};
18/******/
19/******/ 		// Execute the module function
20/******/ 		modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
21/******/
22/******/ 		// Flag the module as loaded
23/******/ 		module.l = true;
24/******/
25/******/ 		// Return the exports of the module
26/******/ 		return module.exports;
27/******/ 	}
28/******/
29/******/
30/******/ 	// expose the modules object (__webpack_modules__)
31/******/ 	__webpack_require__.m = modules;
32/******/
33/******/ 	// expose the module cache
34/******/ 	__webpack_require__.c = installedModules;
35/******/
36/******/ 	// define getter function for harmony exports
37/******/ 	__webpack_require__.d = function(exports, name, getter) {
38/******/ 		if(!__webpack_require__.o(exports, name)) {
39/******/ 			Object.defineProperty(exports, name, { enumerable: true, get: getter });
40/******/ 		}
41/******/ 	};
42/******/
43/******/ 	// define __esModule on exports
44/******/ 	__webpack_require__.r = function(exports) {
45/******/ 		if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
46/******/ 			Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
47/******/ 		}
48/******/ 		Object.defineProperty(exports, '__esModule', { value: true });
49/******/ 	};
50/******/
51/******/ 	// create a fake namespace object
52/******/ 	// mode & 1: value is a module id, require it
53/******/ 	// mode & 2: merge all properties of value into the ns
54/******/ 	// mode & 4: return value when already ns object
55/******/ 	// mode & 8|1: behave like require
56/******/ 	__webpack_require__.t = function(value, mode) {
57/******/ 		if(mode & 1) value = __webpack_require__(value);
58/******/ 		if(mode & 8) return value;
59/******/ 		if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
60/******/ 		var ns = Object.create(null);
61/******/ 		__webpack_require__.r(ns);
62/******/ 		Object.defineProperty(ns, 'default', { enumerable: true, value: value });
63/******/ 		if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
64/******/ 		return ns;
65/******/ 	};
66/******/
67/******/ 	// getDefaultExport function for compatibility with non-harmony modules
68/******/ 	__webpack_require__.n = function(module) {
69/******/ 		var getter = module && module.__esModule ?
70/******/ 			function getDefault() { return module['default']; } :
71/******/ 			function getModuleExports() { return module; };
72/******/ 		__webpack_require__.d(getter, 'a', getter);
73/******/ 		return getter;
74/******/ 	};
75/******/
76/******/ 	// Object.prototype.hasOwnProperty.call
77/******/ 	__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
78/******/
79/******/ 	// __webpack_public_path__
80/******/ 	__webpack_require__.p = "";
81/******/
82/******/
83/******/ 	// Load entry module and return exports
84/******/ 	return __webpack_require__(__webpack_require__.s = 0);
85/******/ })
86/************************************************************************/
87/******/ ({
88
vendor: 6,375 bytes, lines 89-255
89/***/ "./node_modules/cookies-js/dist/cookies.js":
90/*!*************************************************!*\
91  !*** ./node_modules/cookies-js/dist/cookies.js ***!
92  \*************************************************/
93/*! no static exports found */
94/***/ (function(module, exports, __webpack_require__) {
95
96var __WEBPACK_AMD_DEFINE_RESULT__;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); }
97
98/*
99 * Cookies.js - 1.2.3
100 * https://github.com/ScottHamper/Cookies
101 *
102 * This is free and unencumbered software released into the public domain.
103 */
104(function (global, undefined) {
105  'use strict';
106
107  var factory = function factory(window) {
108    if (_typeof(window.document) !== 'object') {
109      throw new Error('Cookies.js requires a `window` with a `document` object');
110    }
111
112    var Cookies = function Cookies(key, value, options) {
113      return arguments.length === 1 ? Cookies.get(key) : Cookies.set(key, value, options);
114    }; // Allows for setter injection in unit tests
115
116
117    Cookies._document = window.document; // Used to ensure cookie keys do not collide with
118    // built-in `Object` properties
119
120    Cookies._cacheKeyPrefix = 'cookey.'; // Hurr hurr, :)
121
122    Cookies._maxExpireDate = new Date('Fri, 31 Dec 9999 23:59:59 UTC');
123    Cookies.defaults = {
124      path: '/',
125      secure: false
126    };
127
128    Cookies.get = function (key) {
129      if (Cookies._cachedDocumentCookie !== Cookies._document.cookie) {
130        Cookies._renewCache();
131      }
132
133      var value = Cookies._cache[Cookies._cacheKeyPrefix + key];
134      return value === undefined ? undefined : decodeURIComponent(value);
135    };
136
137    Cookies.set = function (key, value, options) {
138      options = Cookies._getExtendedOptions(options);
139      options.expires = Cookies._getExpiresDate(value === undefined ? -1 : options.expires);
140      Cookies._document.cookie = Cookies._generateCookieString(key, value, options);
141      return Cookies;
142    };
143
144    Cookies.expire = function (key, options) {
145      return Cookies.set(key, undefined, options);
146    };
147
148    Cookies._getExtendedOptions = function (options) {
149      return {
150        path: options && options.path || Cookies.defaults.path,
151        domain: options && options.domain || Cookies.defaults.domain,
152        expires: options && options.expires || Cookies.defaults.expires,
153        secure: options && options.secure !== undefined ? options.secure : Cookies.defaults.secure
154      };
155    };
156
157    Cookies._isValidDate = function (date) {
158      return Object.prototype.toString.call(date) === '[object Date]' && !isNaN(date.getTime());
159    };
160
161    Cookies._getExpiresDate = function (expires, now) {
162      now = now || new Date();
163
164      if (typeof expires === 'number') {
165        expires = expires === Infinity ? Cookies._maxExpireDate : new Date(now.getTime() + expires * 1000);
166      } else if (typeof expires === 'string') {
167        expires = new Date(expires);
168      }
169
170      if (expires && !Cookies._isValidDate(expires)) {
171        throw new Error('`expires` parameter cannot be converted to a valid Date instance');
172      }
173
174      return expires;
175    };
176
177    Cookies._generateCookieString = function (key, value, options) {
178      key = key.replace(/[^#$&+\^`|]/g, encodeURIComponent);
179      key = key.replace(/\(/g, '%28').replace(/\)/g, '%29');
180      value = (value + '').replace(/[^!#$&-+\--:<-\[\]-~]/g, encodeURIComponent);
181      options = options || {};
182      var cookieString = key + '=' + value;
183      cookieString += options.path ? ';path=' + options.path : '';
184      cookieString += options.domain ? ';domain=' + options.domain : '';
185      cookieString += options.expires ? ';expires=' + options.expires.toUTCString() : '';
186      cookieString += options.secure ? ';secure' : '';
187      return cookieString;
188    };
189
190    Cookies._getCacheFromString = function (documentCookie) {
191      var cookieCache = {};
192      var cookiesArray = documentCookie ? documentCookie.split('; ') : [];
193
194      for (var i = 0; i < cookiesArray.length; i++) {
195        var cookieKvp = Cookies._getKeyValuePairFromCookieString(cookiesArray[i]);
196
197        if (cookieCache[Cookies._cacheKeyPrefix + cookieKvp.key] === undefined) {
198          cookieCache[Cookies._cacheKeyPrefix + cookieKvp.key] = cookieKvp.value;
199        }
200      }
201
202      return cookieCache;
203    };
204
205    Cookies._getKeyValuePairFromCookieString = function (cookieString) {
206      // "=" is a valid character in a cookie value according to RFC6265, so cannot `split('=')`
207      var separatorIndex = cookieString.indexOf('='); // IE omits the "=" when the cookie value is an empty string
208
209      separatorIndex = separatorIndex < 0 ? cookieString.length : separatorIndex;
210      var key = cookieString.substr(0, separatorIndex);
211      var decodedKey;
212
213      try {
214        decodedKey = decodeURIComponent(key);
215      } catch (e) {
216        if (console && typeof console.error === 'function') {
217          console.error('Could not decode cookie with key "' + key + '"', e);
218        }
219      }
220
221      return {
222        key: decodedKey,
223        value: cookieString.substr(separatorIndex + 1) // Defer decoding value until accessed
224
225      };
226    };
227
228    Cookies._renewCache = function () {
229      Cookies._cache = Cookies._getCacheFromString(Cookies._document.cookie);
230      Cookies._cachedDocumentCookie = Cookies._document.cookie;
231    };
232
233    Cookies._areEnabled = function () {
234      var testKey = 'cookies.js';
235      var areEnabled = Cookies.set(testKey, 1).get(testKey) === '1';
236      Cookies.expire(testKey);
237      return areEnabled;
238    };
239
240    Cookies.enabled = Cookies._areEnabled();
241    return Cookies;
242  };
243
244  var cookiesExport = global && _typeof(global.document) === 'object' ? factory(global) : factory; // AMD support
245
246  if (true) {
247    !(__WEBPACK_AMD_DEFINE_RESULT__ = (function () {
248      return cookiesExport;
249    }).call(exports, __webpack_require__, exports, module),
250				__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); // CommonJS/Node.js support
251  } else {}
252})(typeof window === 'undefined' ? this : window);
253
254/***/ }),
255
256/***/ "./src/js/app.js":
257/*!***********************!*\
258  !*** ./src/js/app.js ***!
259  \***********************/
260/*! no exports provided */
261/***/ (function(module, __webpack_exports__, __webpack_require__) {
262
263"use strict";
264__webpack_require__.r(__webpack_exports__);
265/* harmony import */ var cookies_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! cookies-js */ "./node_modules/cookies-js/dist/cookies.js");
266/* harmony import */ var cookies_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(cookies_js__WEBPACK_IMPORTED_MODULE_0__);
267
268
269(function ($) {
270  'use strict'; // Stash the current URL as a cookie whenever our login link is clicked.
271
272  $('.intent-login').on('click', function (e) {
273    cookies_js__WEBPACK_IMPORTED_MODULE_0___default.a.set('yoko-sso-target-url', window.location.href, {
274      expires: 86400
275    });
276  });
277})(jQuery);
278
279/***/ })
279,
280
281/***/ 0:
282/*!*****************************!*\
283  !*** multi ./src/js/app.js ***!
284  \*****************************/
285/*! no static exports found */
286/***/ (function(module, exports, __webpack_require__) {
287
288module.exports = __webpack_require__(/*! /Volumes/SimShady/www/plugins/wp-content/plugins/yoko-sso-cp/src/js/app.js */"./src/js/app.js");
289
290
291/***/ })
292
293/******/ });
294//# sourceMappingURL=app.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.