heroweb/poc/in/assets/js/plugins/datatables.min.js

7 lines
36 KiB
JavaScript
Raw Normal View History

2024-09-02 05:28:06 +00:00
/**
* Minified by jsDelivr using Terser v5.3.5.
* Original file: /npm/simple-datatables@3.0.2/dist/umd/simple-datatables.js
*
* Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files
*/
!function(a){"object"==typeof exports&&"undefined"!=typeof module?module.exports=a():"function"==typeof define&&define.amd?define([],a):("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).simpleDatatables=a()}(function(){return(function d(e,f,b){function c(a,k){if(!f[a]){if(!e[a]){var i="function"==typeof require&&require;if(!k&&i)return i(a,!0);if(g)return g(a,!0);var j=new Error("Cannot find module '"+a+"'");throw j.code="MODULE_NOT_FOUND",j}var h=f[a]={exports:{}};e[a][0].call(h.exports,function(b){return c(e[a][1][b]||b)},h,h.exports,d,e,f,b)}return f[a].exports}for(var g="function"==typeof require&&require,a=0;a<b.length;a++)c(b[a]);return c})({1:[function(a,b,c){(function(a){(function(){"use strict";function b(b,a){return b(a={exports:{}},a.exports),a.exports}"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==a||"undefined"!=typeof self&&self;var d=b(function(q,w){var f,g,h,i,r,j,s,k,l,t,u,m,n,o,b,c,d,a,e,v,p;q.exports=(f="millisecond",g="second",h="minute",i="hour",r="week",j="month",s="quarter",k="year",l="date",t=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[^0-9]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,u=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,m={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_")},n=function(a,c,d){var b=String(a);return!b||b.length>=c?a:""+Array(c+1-b.length).join(d)+a},(b={})[o="en"]=m,c=function(a){return a instanceof v},d=function(a,d,e){var c;if(!a)return o;if("string"==typeof a)b[a]&&(c=a),d&&(b[a]=d,c=a);else{var f=a.name;b[f]=a,c=f}return!e&&c&&(o=c),c|| !e&&o},a=function(a,d){if(c(a))return a.clone();var b="object"==typeof d?d:{};return b.date=a,b.args=arguments,new v(b)},(e={s:n,z:function(c){var a=-c.utcOffset(),b=Math.abs(a);return(a<=0?"+":"-")+n(Math.floor(b/60),2,"0")+":"+n(b%60,2,"0")},m:function g(a,b){if(a.date()<b.date())return-g(b,a);var d=12*(b.year()-a.year())+(b.month()-a.month()),c=a.clone().add(d,j),e=b-c<0,f=a.clone().add(d+(e?-1:1),j);return+(-(d+(b-c)/(e?c-f:f-c))||0)},a:function(a){return a<0?Math.ceil(a)||0:Math.floor(a)},p:function(a){return({M:j,y:k,w:r,d:"day",D:l,h:i,m:h,s:g,ms:f,Q:s})[a]||String(a||"").toLowerCase().replace(/s$/,"")},u:function(a){return void 0===a}}).l=d,e.i=c,e.w=function(c,b){return a(c,{locale:b.$L,utc:b.$u,x:b.$x,$offset:b.$offset})},p=(v=function(){function m(a){this.$L=d(a.locale,null,!0),this.parse(a)}var c=m.prototype;return c.parse=function(a){this.$d=function(c){var b=c.date,g=c.utc;if(null===b)return new Date(NaN);if(e.u(b))return new Date;if(b instanceof Date)return new Date(b);if("string"==typeof b&&!/Z$/i.test(b)){var a=b.match(t);if(a){var d=a[2]-1||0,f=(a[7]||"0").substring(0,3);return g?new Date(Date.UTC(a[1],d,a[3]||1,a[4]||0,a[5]||0,a[6]||0,f)):new Date(a[1],d,a[3]||1,a[4]||0,a[5]||0,a[6]||0,f)}}return new Date(b)}(a),this.$x=a.x||{},this.init()},c.init=function(){var a=this.$d;this.$y=a.getFullYear(),this.$M=a.getMonth(),this.$D=a.getDate(),this.$W=a.getDay(),this.$H=a.getHours(),this.$m=a.getMinutes(),this.$s=a.getSeconds(),this.$ms=a.getMilliseconds()},c.$utils=function(){return e},c.isValid=function(){return"Invalid Date"!==this.$d.toString()},c.isSame=function(d,b){var c=a(d);return this.startOf(b)<=c&&c<=this.endOf(b)},c.isAfter=function(b,c){return a(b)<this.startOf(c)},c.isBefore=function(b,c){return this.endOf(c)<a(b)},c.$g=function(a,b,c){return e.u(a)?this[b]:this.set(c,a)},c.unix=function(){return Math.floor(this.valueOf()/1e3)},c.valueOf=function(){return this.$d.getTime()},c.startOf=function(s,n){var u=this,d=!!e.u(n)||n,t=e.p(s),a=function(a,b){var c=e.w(u.$u?Date.UTC(u.$y,b,a):new Date(u.$y,b,a),u);return d?c:c.endOf("day")},b=function(a,b){return e.w(u.toDate()[a].apply(u.toDate("s"),(d?[0,0,0,0]:[23,59,59,999]).slice(b)),u)},f=this.$W,m=this.$M,o=this.$D,c="set"+(this.$u?"UTC":"");switch(t){case k:return d?a(1,0):a(31,11);case j:ret