FreeDatas2HTML/public/JS/firstExample.app.js

2 lines
42 KiB
JavaScript
Raw Normal View History

/*! For license information please see firstExample.app.js.LICENSE.txt */
(()=>{var e={196:(e,t,i)=>{"use strict";i.d(t,{q:()=>M});var r=function(e,t){return e<t?-1:e>t?1:0},n=/(^0x[\da-fA-F]+$|^([+-]?(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?(?!\.\d+)(?=\D|\s|$))|\d+)/g,s=/^\s+|\s+$/g,a=/\s+/g,o=/^[+-]?(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?$/,l=/(^([\w ]+,?[\w ]+)?[\w ]+,?[\w ]+\d+:\d+(:\d+)?[\w ]?|^\d{1,4}[/-]\d{1,4}[/-]\d{1,4}|^\w+, \w+ \d+, \d{4})/,d=/^0+[1-9]{1}[0-9]*$/,u=/[^\x00-\x80]/,c=function(e,t){var i=e.localeCompare(t);return i?i/Math.abs(i):0},h=function(e,t){return e<t?-1:e>t?1:0},f=function(e){if(0!==e.length){var t=Number(e);if(!Number.isNaN(t))return t}},p=function(e){return e.replace(a," ").replace(s,"")},g=function(e,t,i){if(o.test(e)&&(!d.test(e)||0===t||"."!==i[t-1]))return f(e)||0},v=function(e,t,i){return{parsedNumber:g(e,t,i),normalizedString:p(e)}},m=function(e){return function(e){return e.replace(n,"\0$1\0").replace(/\0$/,"").replace(/^\0/,"").split("\0")}(e).map(v)},_=function(e){return"function"==typeof e},y=function(e){return Number.isNaN(e)||e instanceof Number&&Number.isNaN(e.valueOf())},b=function(e){return null===e},w=function(e){return!(null===e||"object"!=typeof e||Array.isArray(e)||e instanceof Number||e instanceof String||e instanceof Boolean||e instanceof Date)},E=function(e){return"symbol"==typeof e},S=function(e){return void 0===e},F=function(e){if("string"==typeof e||e instanceof String||("number"==typeof e||e instanceof Number)&&!y(e)||"boolean"==typeof e||e instanceof Boolean||e instanceof Date){var t=function(e){return"boolean"==typeof e||e instanceof Boolean?Number(e).toString():"number"==typeof e||e instanceof Number?e.toString():e instanceof Date?e.getTime().toString():"string"==typeof e||e instanceof String?e.toLowerCase().replace(s,""):""}(e),i=function(e){var t=f(e);return void 0!==t?t:function(e){if(l.test(e)){var t=Date.parse(e);if(!Number.isNaN(t))return t}}(e)}(t);return{parsedNumber:i,chunks:m(i?""+i:t),value:e}}return{isArray:Array.isArray(e),isFunction:_(e),isNaN:y(e),isNull:b(e),isObject:w(e),isSymbol:E(e),isUndefined:S(e),value:e}},k=function(e){return"string"==typeof e&&("asc"===e||"desc"===e)};function M(e){var t,i;return function(e){return function(t,i){return function(e,t){return e.value===t.value?0:void 0!==e.parsedNumber&&void 0!==t.parsedNumber?r(e.parsedNumber,t.parsedNumber):e.chunks&&t.chunks?function(e,t){for(var i=e.length,n=t.length,s=Math.min(i,n),a=0;a<s;a++){var o=e[a],l=t[a];if(o.normalizedString!==l.normalizedString){if(""===o.normalizedString!=(""===l.normalizedString))return""===o.normalizedString?-1:1;if(void 0!==o.parsedNumber&&void 0!==l.parsedNumber){var d=r(o.parsedNumber,l.parsedNumber);return 0===d?h(o.normalizedString,l.normalizedString):d}return void 0!==o.parsedNumber||void 0!==l.parsedNumber?void 0!==o.parsedNumber?-1:1:u.test(o.normalizedString+l.normalizedString)&&o.normalizedString.localeCompare?c(o.normalizedString,l.normalizedString):h(o.normalizedString,l.normalizedString)}}return i>s||n>s?i<=s?-1:1:0}(e.chunks,t.chunks):function(e,t){return(e.chunks?!t.chunks:t.chunks)?e.chunks?-1:1:(e.isNaN?!t.isNaN:t.isNaN)?e.isNaN?-1:1:(e.isSymbol?!t.isSymbol:t.isSymbol)?e.isSymbol?-1:1:(e.isObject?!t.isObject:t.isObject)?e.isObject?-1:1:(e.isArray?!t.isArray:t.isArray)?e.isArray?-1:1:(e.isFunction?!t.isFunction:t.isFunction)?e.isFunction?-1:1:(e.isNull?!t.isNull:t.isNull)?e.isNull?-1:1:0}(e,t)}(F(t),F(i))*("desc"===e.order?-1:1)}}((i="asc","string"==typeof(t=e)&&k(t)?i=t:t&&"object"==typeof t&&t.order&&k(t.order)&&(i=t.order),{order:i}))}},460:function(e,t){var i,r;void 0===(r="function"==typeof(i=function e(){"use strict";var t="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==t?t:{},i=!t.document&&!!t.postMessage,r=i&&/blob:/i.test((t.location||{}).protocol),n={},s=0,a={parse:function(i,r){var o=(r=r||{}).dynamicTyping||!1;if(w(o)&&(r.dynamicTypingFunction=o,o={}),r.dynamicTyping=o,r.transform=!!w(r.transform)&&r.transform,r.worker&&a.WORKERS_SUPPORTED){var l=function(){if(!a.WORKERS_SUPPORTED)return!1;var i,r,o=(i=t.URL||t.webkitURL||null,r=e.toString(),a.BLOB_URL||(a.BLOB_URL=i.crea