(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory();
else if(typeof define === 'function' && define.amd)
define([], factory);
else if(typeof exports === 'object')
exports["framework"] = factory();
else
root["framework"] = factory();
})(self, () => {
return /******/ (() => { // webpackBootstrap
/******/ "use strict";
/******/ var __webpack_modules__ = ({
/***/ "./src/framework/ajax.js":
/*!*******************************!*\
!*** ./src/framework/ajax.js ***!
\*******************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./core */ "./src/framework/core.js");
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
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, _toPropertyKey(descriptor.key), descriptor); } }
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
function _classPrivateMethodInitSpec(obj, privateSet) { _checkPrivateRedeclaration(obj, privateSet); privateSet.add(obj); }
function _classPrivateFieldInitSpec(obj, privateMap, value) { _checkPrivateRedeclaration(obj, privateMap); privateMap.set(obj, value); }
function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } }
function _classPrivateFieldGet(receiver, privateMap) { var descriptor = _classExtractFieldDescriptor(receiver, privateMap, "get"); return _classApplyDescriptorGet(receiver, descriptor); }
function _classApplyDescriptorGet(receiver, descriptor) { if (descriptor.get) { return descriptor.get.call(receiver); } return descriptor.value; }
function _classPrivateFieldSet(receiver, privateMap, value) { var descriptor = _classExtractFieldDescriptor(receiver, privateMap, "set"); _classApplyDescriptorSet(receiver, descriptor, value); return value; }
function _classExtractFieldDescriptor(receiver, privateMap, action) { if (!privateMap.has(receiver)) { throw new TypeError("attempted to " + action + " private field on non-instance"); } return privateMap.get(receiver); }
function _classApplyDescriptorSet(receiver, descriptor, value) { if (descriptor.set) { descriptor.set.call(receiver, value); } else { if (!descriptor.writable) { throw new TypeError("attempted to set read only private field"); } descriptor.value = value; } }
(function (f, _xhr, _default_args, _url, _type, _data, _callbacks, _load) {
f.ajax = (_xhr = /*#__PURE__*/new WeakMap(), _default_args = /*#__PURE__*/new WeakMap(), _url = /*#__PURE__*/new WeakMap(), _type = /*#__PURE__*/new WeakMap(), _data = /*#__PURE__*/new WeakMap(), _callbacks = /*#__PURE__*/new WeakMap(), _load = /*#__PURE__*/new WeakSet(), /*#__PURE__*/function () {
function _class(args) {
_classCallCheck(this, _class);
_classPrivateMethodInitSpec(this, _load);
_classPrivateFieldInitSpec(this, _xhr, {
writable: true,
value: null
});
_classPrivateFieldInitSpec(this, _default_args, {
writable: true,
value: {
"url": "",
"type": "get",
"data": {},
"success": null,
"error": null
}
});
_classPrivateFieldInitSpec(this, _url, {
writable: true,
value: ""
});
_classPrivateFieldInitSpec(this, _type, {
writable: true,
value: ""
});
_classPrivateFieldInitSpec(this, _data, {
writable: true,
value: {}
});
_classPrivateFieldInitSpec(this, _callbacks, {
writable: true,
value: []
});
_classPrivateFieldSet(this, _xhr, new XMLHttpRequest());
}
_createClass(_class, [{
key: "done",
value: function done(callback) {
if (typeof callback === "function") {
_classPrivateFieldGet(this, _callbacks).push({
"callback_success": callback
});
}
return this;
}
}, {
key: "success",
value: function success(callback) {
return this.done(callback);
}
}, {
key: "fail",
value: function fail(callback) {
if (typeof callback === "function") {
_classPrivateFieldGet(this, _callbacks).push({
"callback_error": callback
});
}
return this;
}
}, {
key: "error",
value: function error(callback) {
return this.fail(callback);
}
}, {
key: "always",
value: function always(callback) {
if (typeof callback === "function") {
_classPrivateFieldGet(this, _callbacks).push({
"callback_complete": callback
});
}
return this;
}
}, {
key: "complete",
value: function complete(callback) {
return this.always(callback);
}
}, {
key: "progress",
value: function progress(callback) {
if (typeof callback === "function") {
_classPrivateFieldGet(this, _callbacks).push({
"callback_progress": callback
});
}
return this;
}
}, {
key: "then",
value: function then(successCallback) {
var errorCallback = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
if (typeof callback_success === "function") {
if (typeof errorCallback === "function") {
_classPrivateFieldGet(this, _callbacks).push({
"callback_success": successCallback,
"callback_error": errorCallback
});
} else {
_classPrivateFieldGet(this, _callbacks).push({
"callback_success": callback_success
});
}
}
return this;
}
}, {
key: "abort",
value: function abort() {
_classPrivateFieldGet(this, _xhr).abort();
return this;
}
}]);
return _class;
}());
function _load2() {
var _this = this;
_classPrivateFieldGet(this, _xhr).onerror = function (error) {
_classPrivateFieldGet(_this, _callbacks).forEach(function (data) {
if (data.callback_error !== undefined) {
data.callback_error(_classPrivateFieldGet(_this, _xhr), _classPrivateFieldGet(_this, _xhr).statusText, error);
}
});
_classPrivateFieldGet(_this, _callbacks).forEach(function (data) {
if (data.callback_complete !== undefined) {
data.callback_complete({}, _classPrivateFieldGet(_this, _xhr), _classPrivateFieldGet(_this, _xhr).statusText, error);
}
});
};
_classPrivateFieldGet(this, _xhr).addEventListener("progress", function (evt) {
_classPrivateFieldGet(_this, _callbacks).forEach(function (data) {
if (data.callback_progress !== undefined) {
data.callback_progress(evt, _classPrivateFieldGet(_this, _xhr));
}
});
});
_classPrivateFieldGet(this, _xhr).addEventListener("load", function (evt) {
var response = {};
if (_classPrivateFieldGet(_this, _xhr).readyState == 4) {
try {
response = JSON.parse(_this.responseText);
} catch (error) {
response = _this.responseText;
}
_classPrivateFieldGet(_this, _callbacks).forEach(function (data) {
if (data.callback_success !== undefined) {
data.callback_success(response, _classPrivateFieldGet(_this, _xhr), _classPrivateFieldGet(_this, _xhr).statusText, _classPrivateFieldGet(_this, _xhr).status);
}
});
_classPrivateFieldGet(_this, _callbacks).forEach(function (data) {
if (data.callback_complete !== undefined) {
data.callback_complete(response, _classPrivateFieldGet(_this, _xhr), _classPrivateFieldGet(_this, _xhr).statusText, _classPrivateFieldGet(_this, _xhr).status);
}
});
} else {
_classPrivateFieldGet(_this, _callbacks).forEach(function (data) {
if (data.callback_error !== undefined) {
data.callback_error(_classPrivateFieldGet(_this, _xhr), _classPrivateFieldGet(_this, _xhr).statusText, _this.status);
}
});
_classPrivateFieldGet(_this, _callbacks).forEach(function (data) {
if (data.callback_complete !== undefined) {
data.callback_complete({}, _classPrivateFieldGet(_this, _xhr), _classPrivateFieldGet(_this, _xhr).statusText, _this.status);
}
});
}
});
}
f.ajax = function (args) {
/*
jqXHR.done(function( data, textStatus, jqXHR ){});
jqXHR.fail(function( jqXHR, textStatus, errorThrown ){});
jqXHR.always(function( data|jqXHR, textStatus, jqXHR|errorThrown){});
jqXHR.then(function( data, textStatus, jqXHR ) {}, function( jqXHR, textStatus, errorThrown ){});
.
*/
xhttp.onload = function () {
var response;
if (this.readyState == 4 && this.status == 200) {
var _response = "";
try {
//check if the response in json
//if json the parse it
_response = JSON.parse(this.responseText);
} catch (e) {
//if not json the simple reurn the response
_response = this.responseText;
}
// give a success callback
return success(_response);
} else {
//give a fail callback with the error status
return fail(this.status);
}
};
var parameters = "";
if (args) {
type = args["type"];
if ('data' in args) {
//converting object to url URLSearchParams
parameters = new URLSearchParams(args['data']).toString();
}
}
if (type && type.toUpperCase() == 'POST') {
xhttp.open("POST", url, true);
xhttp.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
xhttp.send(parameters);
} else if (!type || type.toUpperCase() == 'GET') {
xhttp.open("GET", url + "?" + parameters, true);
xhttp.setRequestHeader("X-Requested-With", "XMLHttpRequest");
xhttp.send();
}
};
})(_core__WEBPACK_IMPORTED_MODULE_0__.Framework);
/***/ }),
/***/ "./src/framework/core.js":
/*!*******************************!*\
!*** ./src/framework/core.js ***!
\*******************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ Framework: () => (/* binding */ Framework)
/* harmony export */ });
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
var Framework = function Framework(el) {
return Framework.fn.init(el);
};
Framework.__proto__ = Framework.prototype = {};
Framework.v = {};
Framework.f = {};
Framework.f.init = function (el) {};
Framework.fn.extend = function (name, func) {
if (typeof name == "string") {
Framework.extend(Framework.fn, {
name: func
});
} else if (_typeof(name) == "object") {
for (var n in name) {
Framework.fn.extend(n, name[n]);
}
}
return Framework.fn;
};
Framework.extend = function (name, func) {
if (typeof name == "string") {
Framework[name] = func;
} else if (_typeof(name) === _typeof(func) === "object") {
$keys = Object.keys(func);
for (var i = 0; i < $keys.length; i++) {
var n = $keys[i];
var v = func[n];
name[n] = v;
}
}
return Framework;
};
Framework.extend(Framework.fn, {
ready: function ready(callback) {
var _this = this;
this[0].addEventListener('readystatechange', function (e) {
if (_this[0].readyState === "complete") {
callback();
return true;
}
});
},
each: function each(callback) {
if (callback && typeof callback == 'function') {
for (var i = 0; i < this.length; i++) {
callback(this[i], i);
}
return this;
}
},
siblings: function siblings() {
var _this2 = this;
return _toConsumableArray(this[0].parentNode.children).filter(function (c) {
return c != _this2[0];
});
},
addClass: function addClass(className) {
this.each(function (el) {
el.classList.add(className);
});
return this;
},
removeClass: function removeClass(className) {
this.each(function (el) {
el.classList.remove(className);
});
return this;
},
hasClass: function hasClass(className) {
return this[0].classList.contains(className);
},
css: function css(propertyObject) {
this.each(function (el) {
Object.assign(el.style, propertyObject);
});
return this;
},
attr: function attr(_attr) {
var value = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
var getattr = this;
if (value) {
this.each(function (el) {
el.setAttribute(_attr, value);
});
} else {
getattr = this[0].getAttribute(_attr);
}
return getattr;
},
html: function html(data) {
if (data) {
this.each(function (el) {
el.innerHTML = data;
});
} else {
return this[0].innerHTML;
}
return this;
},
prepend: function prepend(el) {
this[0].prepend(el);
return this;
},
append: function append(el) {
this[0].append(el);
return this;
},
hide: function hide() {
this.each(function (el) {
el.style.display = "none";
});
return this;
},
show: function show() {
this.each(function (el) {
el.style.display = "block";
});
return this;
},
on: function on(event, child) {
var callback = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;
if (callback != null) {
var selector = child;
this.each(function (element) {
element.addEventListener(event, function (event) {
if (event.target.matches(selector + ', ' + selector + ' *')) {
callback.apply(event.target.closest(selector), arguments);
}
});
});
} else {
//if the callback argument is not present then assume the child argument is being use as callback
callback = child;
this.each(function (element) {
element.addEventListener(event, callback);
});
}
return this;
}
});
/***/ }),
/***/ "./src/framework/core/ready.js":
/*!*************************************!*\
!*** ./src/framework/core/ready.js ***!
\*************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../core */ "./src/framework/core.js");
/* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../helpers */ "./src/framework/helpers.js");
(function (f) {
var ready = function ready(fn) {
if (!_helpers__WEBPACK_IMPORTED_MODULE_1__.isset(document) || !_helpers__WEBPACK_IMPORTED_MODULE_1__.isset(document.head) || !_helpers__WEBPACK_IMPORTED_MODULE_1__.isset(document.body)) {
return false;
}
if (_helpers__WEBPACK_IMPORTED_MODULE_1__.is_function(fn)) {
if (is_ready == false) {
ready_list.push(fn);
}
}
if (!isset(fn) && is_ready == true) {
while (ready_list.length > 0) {
var f = ready_list.shift();
f();
}
}
};
function on_ready() {
if (document.readyState !== 'loading') {
ready();
} else {
document.addEventListener('DOMContentLoaded', ready);
}
}
var is_ready = false;
var ready_list = [];
_core__WEBPACK_IMPORTED_MODULE_0__.Framework.extend("ready", ready);
on_ready();
})(_core__WEBPACK_IMPORTED_MODULE_0__.Framework);
/***/ }),
/***/ "./src/framework/entries/framework.js":
/*!********************************************!*\
!*** ./src/framework/entries/framework.js ***!
\********************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ CoreUtils: () => (/* reexport module object */ _helpers__WEBPACK_IMPORTED_MODULE_0__),
/* harmony export */ Framework: () => (/* reexport safe */ _core__WEBPACK_IMPORTED_MODULE_1__.Framework),
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../helpers */ "./src/framework/helpers.js");
/* harmony import */ var _core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../core */ "./src/framework/core.js");
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_core__WEBPACK_IMPORTED_MODULE_1__.Framework);
/***/ }),
/***/ "./src/framework/helpers.js":
/*!**********************************!*\
!*** ./src/framework/helpers.js ***!
\**********************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ array_search: () => (/* binding */ array_search),
/* harmony export */ explode: () => (/* binding */ explode),
/* harmony export */ floatval: () => (/* binding */ floatval),
/* harmony export */ foreach: () => (/* binding */ foreach),
/* harmony export */ implode: () => (/* binding */ implode),
/* harmony export */ in_array: () => (/* binding */ in_array),
/* harmony export */ instance_of: () => (/* binding */ instance_of),
/* harmony export */ intval: () => (/* binding */ intval),
/* harmony export */ isElement: () => (/* binding */ isElement),
/* harmony export */ is_array: () => (/* binding */ is_array),
/* harmony export */ is_float: () => (/* binding */ is_float),
/* harmony export */ is_function: () => (/* binding */ is_function),
/* harmony export */ is_int: () => (/* binding */ is_int),
/* harmony export */ is_object: () => (/* binding */ is_object),
/* harmony export */ isset: () => (/* binding */ isset),
/* harmony export */ json_decode: () => (/* binding */ json_decode),
/* harmony export */ json_encode: () => (/* binding */ json_encode),
/* harmony export */ str_replace: () => (/* binding */ str_replace),
/* harmony export */ strpos: () => (/* binding */ strpos)
/* harmony export */ });
var _arguments = typeof arguments === "undefined" ? void 0 : arguments;
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
var intval = function intval() {
return parseInt.apply(console, _arguments);
};
var floatval = function floatval() {
return parseFloat.apply(console, _arguments);
};
var json_decode = function json_decode() {
return JSON.parse.apply(console, _arguments);
};
var json_encode = function json_encode() {
return JSON.stringify.apply(console, _arguments);
};
var explode = function explode(selector, string) {
return string.toString().split(selector);
};
var implode = function implode(selector, array) {
return array.join(selector);
};
var str_replace = function str_replace(find, replace, string) {
if (typeof find == "array") {
var temp = "";
find.forEach(function (toFind) {
if (temp == "") {
temp = string.toString();
}
temp = temp.replace(toFind, replace);
});
return temp;
}
return string.replace(find, replace);
};
var is_int = function is_int(val) {
if (parseInt(val) < parseFloat(val)) {
return false;
}
return true;
};
var is_float = function is_float(val) {
if (parseInt(val) < parseFloat(val)) {
return true;
}
return false;
};
var isset = function isset(val) {
if (typeof val !== "undefined") {
return true;
}
return false;
};
var name_to_object = function name_to_object($name) {
$switch = $name.toLocaleLowerCase();
switch ($switch) {
case "function":
return Function;
break;
case "string":
return String;
break;
case "object":
return Object;
break;
case "array":
return Array;
break;
default:
if (isset(window[$name])) {
return window[$name];
} else if (isset(document[$name])) {
return document[$name];
} else {
return null;
}
break;
}
};
var instance_of = function instance_of($var, $class) {
var $origin = $class;
if (typeof $class == "string") {
$class = name_to_object($class);
}
if ($class === null) {
console.warn("not implemented", $origin);
return false;
}
if ($var instanceof $class) {
return true;
}
return false;
};
var is_array = function is_array(obj) {
return isset(obj) && obj instanceof Array;
};
var is_string = function is_string(obj) {
return isset(obj) && obj.constructor.name == 'String';
};
var array_search = function array_search(value, array) {
return is_array(array) && isset(value) ? Array.indexOf(array, value) : false;
};
var strpos = function strpos($haystack, $neddle) {
var $offset = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 0;
if (!is_string($haystack) || !is_string($neddle) || !is_int($offset)) {
if (is_int($offset)) {
console.warn("The '$haystack' and 'neddle' must be a string!");
} else {
console.warn("The '$offset must be an integer'");
}
return false;
}
return $haystack.indexOf($neddle, $offset);
};
var in_array = function in_array($needle, $haystack) {
if (!is_array($haystack)) {
console.warn("The '$haystack' must be a array");
return false;
}
var $index = $haystack.indexOf($needle) - 1;
if ($index == -2) {
return false;
}
return true;
};
var is_object = function is_object(obj) {
return isset(obj) && !is_array(obj) && !is_float(obj) && !is_int(obj) && !is_string(obj) && obj instanceof Object;
};
var is_function = function is_function(obj) {
return isset(obj) && obj instanceof Function;
};
var foreach = function foreach(arg, func) {
if (!is_function(func)) {
console.warn("The 'func' argument must be a function");
return false;
}
if (!is_array(arg) || !is_object(arg)) {
console.warn("The 'arg' argument must be a array or a object");
return false;
}
if (func.length > 1) {
for (var i in arg) {
func(i, arg[i]);
}
} else {
for (var i in arg) {
func(arg[i]);
}
}
};
var isElement = function isElement(obj) {
if (!isset(obj)) {
return false;
}
if (obj instanceof HTMLElement) {
//Using W3 DOM2 (works for FF, Opera and Chrome)
return true;
}
return _typeof(obj) === "object" && obj.nodeType === 1 && _typeof(obj.style) === "object" && _typeof(obj.ownerDocument) === "object";
};
/***/ }),
/***/ "./src/framework/selector.js":
/*!***********************************!*\
!*** ./src/framework/selector.js ***!
\***********************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ Selector: () => (/* binding */ Selector)
/* harmony export */ });
/* harmony import */ var _helpers_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./helpers.js */ "./src/framework/helpers.js");
var Selector = function Selector(obj) {
var parentNode = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : document;
if (typeof obj == "string") {
return Selector.resolve_string_to_object(obj, parentNode);
} else if (_helpers_js__WEBPACK_IMPORTED_MODULE_0__.isElement(obj)) {
return obj;
} else {
return {};
}
};
Selector.prototype = Selector.__proto__ = {};
Selector.resolve_string_to_object = function (string, parentNode) {};
/***/ })
/******/ });
/************************************************************************/
/******/ // The module cache
/******/ var __webpack_module_cache__ = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/ // Check if module is in cache
/******/ var cachedModule = __webpack_module_cache__[moduleId];
/******/ if (cachedModule !== undefined) {
/******/ return cachedModule.exports;
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = __webpack_module_cache__[moduleId] = {
/******/ // no module.id needed
/******/ // no module.loaded needed
/******/ exports: {}
/******/ };
/******/
/******/ // Execute the module function
/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
/******/
/******/ // Return the exports of the module
/******/ return module.exports;
/******/ }
/******/
/************************************************************************/
/******/ /* webpack/runtime/define property getters */
/******/ (() => {
/******/ // define getter functions for harmony exports
/******/ __webpack_require__.d = (exports, definition) => {
/******/ for(var key in definition) {
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
/******/ }
/******/ }
/******/ };
/******/ })();
/******/
/******/ /* webpack/runtime/hasOwnProperty shorthand */
/******/ (() => {
/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
/******/ })();
/******/
/******/ /* webpack/runtime/make namespace object */
/******/ (() => {
/******/ // define __esModule on exports
/******/ __webpack_require__.r = (exports) => {
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
/******/ }
/******/ Object.defineProperty(exports, '__esModule', { value: true });
/******/ };
/******/ })();
/******/
/************************************************************************/
var __webpack_exports__ = {};
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
(() => {
/*!**************************!*\
!*** ./src/framework.js ***!
\**************************/
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ Core: () => (/* reexport safe */ _framework_core__WEBPACK_IMPORTED_MODULE_0__.Framework),
/* harmony export */ Framework: () => (/* reexport safe */ _framework_entries_framework__WEBPACK_IMPORTED_MODULE_5__.Framework),
/* harmony export */ "default": () => (/* reexport safe */ _framework_entries_framework__WEBPACK_IMPORTED_MODULE_5__["default"])
/* harmony export */ });
/* harmony import */ var _framework_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./framework/core */ "./src/framework/core.js");
/* harmony import */ var _framework_helpers_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./framework/helpers.js */ "./src/framework/helpers.js");
/* harmony import */ var _framework_selector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./framework/selector.js */ "./src/framework/selector.js");
/* harmony import */ var _framework_core_ready_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./framework/core/ready.js */ "./src/framework/core/ready.js");
/* harmony import */ var _framework_ajax_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./framework/ajax.js */ "./src/framework/ajax.js");
/* harmony import */ var _framework_entries_framework__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./framework/entries/framework */ "./src/framework/entries/framework.js");
//import "./framework/traversing.js";
//import "./framework/callbacks.js";
//import "./framework/deferred.js";
//import "./framework/deferred/exceptionHook.js";
//import "./framework/core/parseXML.js";
//import "./framework/core/parseHTML.js";
//import "./framework/data.js";
//import "./framework/queue.js";
//import "./framework/queue/delay.js";
//import "./framework/attributes.js";
//import "./framework/event.js";
//import "./framework/event/trigger.js";
//import "./framework/manipulation.js";
//import "./framework/manipulation/_evalUrl.js";
//import "./framework/wrap.js";
//import "./framework/css.js";
//import "./framework/css/hiddenVisibleSelectors.js";
//import "./framework/css/showHide.js";
//import "./framework/serialize.js";
//import "./framework/ajax/xhr.js";
//import "./framework/ajax/script.js";
//import "./framework/ajax/jsonp.js";
//import "./framework/ajax/binary.js";
//import "./framework/ajax/load.js";
//import "./framework/effects.js";
//import "./framework/effects/animatedSelector.js";
//import "./framework/offset.js";
//import "./framework/dimensions.js";
//import './framework/util/box.js'
//import './framework/util/imageLoader.js';
//import './framework/util/keyboard.js';
//import './framework/util/mediaQuery.js';
//import './framework/util/motion.js';
//import './framework/util/nest.js';
//import './framework/util/timer.js';
//import './framework/util/touch.js';
//import './framework/util/triggers.js';
//import './framework/elements/abide.js';
//import './framework/elements/accordion.js';
//import './framework/elements/accordionMenu.js';
//import './framework/elements/drilldown.js';
//import './framework/elements/dropdown.js';
//import './framework/elements/dropdownMenu.js';
//import './framework/elements/equalizer.js';
//import './framework/elements/interchange.js';
//import './framework/elements/magellan.js';
//import './framework/elements/offcanvas.js';
//import './framework/elements/orbit.js';
//import './framework/elements/responsiveMenu.js';
//import './framework/elements/responsiveToggle.js';
//import './framework/elements/reveal.js';
//import './framework/elements/slider.js';
//import './framework/elements/switch.js';
//import './framework/elements/smoothScroll.js';
//import './framework/elements/sticky.js';
//import './framework/elements/tabs.js';
//import './framework/elements/toggler.js';
//import './framework/elements/tooltip.js';
//import './framework/elements/responsiveAccordionTabs.js';
})();
/******/ return __webpack_exports__;
/******/ })()
;
});
//# sourceMappingURL=framework.js.map