UNPKG

tablefilter

Version:

A Javascript library making HTML tables filterable and a bit more

1 lines 267 kB
!function webpackUniversalModuleDefinition(t,e){if("object"==typeof exports&&"object"==typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var n=e();for(var i in n)("object"==typeof exports?exports:t)[i]=n[i]}}(window,function(){return function(o){function webpackJsonpCallback(t){for(var e,n,i=t[0],r=t[1],s=0,a=[];s<i.length;s++)n=i[s],u[n]&&a.push(u[n][0]),u[n]=0;for(e in r)Object.prototype.hasOwnProperty.call(r,e)&&(o[e]=r[e]);for(l&&l(t);a.length;)a.shift()()}var n={},u={0:0};function __webpack_require__(t){if(n[t])return n[t].exports;var e=n[t]={i:t,l:!1,exports:{}};return o[t].call(e.exports,e,e.exports,__webpack_require__),e.l=!0,e.exports}__webpack_require__.e=function requireEnsure(r){var t=[],n=u[r];if(0!==n)if(n)t.push(n[2]);else{var e=new Promise(function(t,e){n=u[r]=[t,e]});t.push(n[2]=e);var i,s=document.createElement("script");s.charset="utf-8",s.timeout=120,__webpack_require__.nc&&s.setAttribute("nonce",__webpack_require__.nc),s.src=function jsonpScriptSrc(t){return __webpack_require__.p+"tf-"+({}[t]||t)+"-"+{1:"aa77ded8a1c16cdd0238"}[t]+".js"}(r);var a=new Error;i=function(t){s.onerror=s.onload=null,clearTimeout(o);var e=u[r];if(0!==e){if(e){var n=t&&("load"===t.type?"missing":t.type),i=t&&t.target&&t.target.src;a.message="Loading chunk "+r+" failed.\n("+n+": "+i+")",a.name="ChunkLoadError",a.type=n,a.request=i,e[1](a)}u[r]=void 0}};var o=setTimeout(function(){i({type:"timeout",target:s})},12e4);s.onerror=s.onload=i,document.head.appendChild(s)}return Promise.all(t)},__webpack_require__.m=o,__webpack_require__.c=n,__webpack_require__.d=function(t,e,n){__webpack_require__.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},__webpack_require__.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},__webpack_require__.t=function(e,t){if(1&t&&(e=__webpack_require__(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(__webpack_require__.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)__webpack_require__.d(n,i,function(t){return e[t]}.bind(null,i));return n},__webpack_require__.n=function(t){var e=t&&t.__esModule?function getDefault(){return t.default}:function getModuleExports(){return t};return __webpack_require__.d(e,"a",e),e},__webpack_require__.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},__webpack_require__.p="",__webpack_require__.oe=function(t){throw console.error(t),t};var t=window.webpackJsonp=window.webpackJsonp||[],e=t.push.bind(t);t.push=webpackJsonpCallback,t=t.slice();for(var i=0;i<t.length;i++)webpackJsonpCallback(t[i]);var l=e;return __webpack_require__(__webpack_require__.s=127)}([function(L,t,e){(function(M){(function(){"use strict";var o,e="Sugar",f=1,d=2,t=!(!Object.defineProperty||!Object.defineProperties),h=function getGlobal(){return testGlobal(void 0!==M&&M)||testGlobal("undefined"!=typeof window&&window)}(),p=!1,m={},y={},r=t?Object.defineProperty:function definePropertyShim(t,e,n){t[e]=n.value},u=getNewChainableClass("Chainable");function testGlobal(t){return t&&t.Object===Object?t:null}function createNamespace(u){var l="Object"===u,c=getNewChainableClass(u);function defineWithOptionCollect(t,r,s){setProperty(c,t,function(t,e,n){var i=collectDefineOptions(t,e,n);return function defineMethods(i,t,r,s,a){g(t,function(t,e){var n=t;s&&(n=wrapMethodWithArguments(t)),a&&(n.flags=a),r&d&&!t.instance&&setProperty(n,"instance",function wrapInstanceMethod(t,e){return e?wrapMethodWithArguments(t,!0):function wrapInstanceMethodFixed(r){switch(r.length){case 0:case 1:return function(){return r(this)};case 2:return function(t){return r(this,t)};case 3:return function(t,e){return r(this,t,e)};case 4:return function(t,e,n){return r(this,t,e,n)};case 5:return function(t,e,n,i){return r(this,t,e,n,i)}}}(t)}(t,s)),r&f&&setProperty(n,"static",!0),setMethod(i,e,n),i.active&&i.extend(e)})}(c,i.methods,r,s,i.last),c})}return defineWithOptionCollect("defineStatic",f),defineWithOptionCollect("defineInstance",d),defineWithOptionCollect("defineInstanceAndStatic",d|f),defineWithOptionCollect("defineStaticWithArguments",f,!0),defineWithOptionCollect("defineInstanceWithArguments",d,!0),setProperty(c,"defineStaticPolyfill",function(t,e,n){var i=collectDefineOptions(t,e,n);return extendNative(h[u],i.methods,!0,i.last),c}),setProperty(c,"defineInstancePolyfill",function(t,e,n){var i=collectDefineOptions(t,e,n);return extendNative(h[u].prototype,i.methods,!0,i.last),g(i.methods,function(t,e){defineChainableMethod(c,e,t)}),c}),setProperty(c,"alias",function(t,e){var n="string"==typeof e?c[e]:e;return setMethod(c,t,n),c}),setProperty(c,"extend",function(s){var n,i=h[u],r=i.prototype,a={},o={};function arrayOptionExists(t,e){var n=s[t];if(n)for(var i,r=0;i=n[r];r++)if(i===e)return!0;return!1}function canExtend(t,e,n){return!function objectRestricted(t,e){return l&&e===r&&(!p||"get"===t||"set"===t)}(t,n)&&!function disallowedByFlags(t,e,n){if(!e[t]||!n)return!1;for(var i=0;i<n.length;i++)if(!1===s[n[i]])return!0}(t,n,e.flags)&&!function methodIsExcepted(t){return arrayOptionExists("except",t)}(t)}if(n=(s=s||{}).methods,!function namespaceIsExcepted(){return arrayOptionExists("except",i)||function arrayOptionExcludes(t,e){return s[t]&&!arrayOptionExists(t,e)}("namespaces",i)}())return l&&"boolean"==typeof s.objectPrototype&&(p=s.objectPrototype),g(n||c,function(t,e){n&&(t=c[e=t]),hasOwn(t,"instance")&&canExtend(e,t,r)&&(o[e]=t.instance),hasOwn(t,"static")&&canExtend(e,t,i)&&(a[e]=t)}),extendNative(i,a),extendNative(r,o),n||setProperty(c,"active",!0),c}),m[u]=c,y["[object "+u+"]"]=c,mapNativeToChainable(u),function mapObjectChainablesToNamespace(n){g(o.Object&&o.Object.prototype,function(t,e){"function"==typeof t&&setObjectChainableOnNamespace(n,e,t)})}(c),o[u]=c}function toString(){return e}function collectDefineOptions(t,e,n){var i;return{last:"string"==typeof t?((i={})[t]=e,n):(i=t,e),methods:i}}function wrapMethodWithArguments(r,s){var a=r.length-1-(s?1:0);return function(){var t,e=[],n=[];s&&e.push(this),t=Math.max(arguments.length,a);for(var i=0;i<t;i++)i<a?e.push(arguments[i]):n.push(arguments[i]);return e.push(n),r.apply(this,e)}}function extendNative(n,t,i,r){g(t,function(t,e){i&&!r&&n[e]||setProperty(n,e,t)})}function setMethod(t,e,n){(t[e]=n).instance&&defineChainableMethod(t,e,n.instance)}function getNewChainableClass(t){var n=function SugarChainable(t,e){if(!(this instanceof n))return new n(t,e);this.constructor!==n&&(t=this.constructor.apply(t,arguments)),this.raw=t};return setProperty(n,"toString",function(){return e+t}),setProperty(n.prototype,"valueOf",function(){return this.raw}),n}function defineChainableMethod(t,e,n){var i,r,s,a=function wrapWithChainableResult(t){return function(){return new u(t.apply(this.raw,arguments))}}(n);r=(i=(s=u.prototype)[e])&&i!==Object.prototype[e],i&&i.disambiguate||(s[e]=r?function disambiguateMethod(n){function Ed(){var t,e=this.raw;return null!=e&&(t=y[classToString(e)]),new(t=t||o.Object)(e)[n].apply(this,arguments)}return Ed.disambiguate=!0,Ed}(e):a),t.prototype[e]=a,t===o.Object&&function mapObjectChainableToAllNamespaces(e,n){g(m,function(t){setObjectChainableOnNamespace(t,e,n)})}(e,a)}function setObjectChainableOnNamespace(t,e,n){var i=t.prototype;hasOwn(i,e)||(i[e]=n)}function mapNativeToChainable(t,e){var n=m[t],i=h[t].prototype;!e&&s&&(e=s(i)),g(e,function(t){if(!function nativeMethodProhibited(t){return"constructor"===t||"valueOf"===t||"__proto__"===t}(t)){try{var e=i[t];if("function"!=typeof e)return}catch(t){return}defineChainableMethod(n,t,e)}})}var s=Object.getOwnPropertyNames,n=Object.prototype.toString,i=Object.prototype.hasOwnProperty,g=function(t,e){for(var n in t)if(hasOwn(t,n)&&!1===e.call(t,t[n],n,t))break};function setProperty(t,e,n,i){r(t,e,{value:n,enumerable:!!i,configurable:!0,writable:!0})}function classToString(t){return n.call(t)}function hasOwn(t,e){return!!t&&i.call(t,e)}function getOwn(t,e){if(hasOwn(t,e))return t[e]}!function setupGlobal(){if(!(o=h[e])){if(o=function(n){return g(o,function(t,e){hasOwn(m,e)&&t.extend(n)}),o},L.exports)L.exports=o;else try{h[e]=o}catch(t){}g("Object Number String Array Date RegExp Function".split(" "),function(t){createNamespace(t)}),function setGlobalProperties(){setProperty(o,"VERSION","2.0.6"),setProperty(o,"extend",o),setProperty(o,"toString",toString),setProperty(o,"createNamespace",createNamespace),setProperty(o,"util",{hasOwn:hasOwn,getOwn:getOwn,setProperty:setProperty,classToString:classToString,defineProperty:r,forEachProperty:g,mapNativeToChainable:mapNativeToChainable})}()}}();var a,l,c,b=!("0"in Object("a")),v="\t\n\v\f\r   ᠎             \u2028\u2029 \ufeff",O=".",_=",",C=o.Object,w=o.Array,x=o.Date,k=o.String,j=(o.Number,o.Function);o.RegExp;function isClass(t,e,n){return(n=n||classToString(t))==="[object "+e+"]"}function wrapNamespace(i){return function(t,e,n){t[i](e,n)}}wrapNamespace("alias"),wrapNamespace("defineStatic"),wrapNamespace("defineInstance");var P=wrapNamespace("defineStaticPolyfill"),S=wrapNamespace("defineInstancePolyfill");wrapNamespace("defineInstanceAndStatic"),wrapNamespace("defineInstanceWithArguments");function assertCallable(t){if(!l(t))throw new TypeError("Function is not callable")}function isDefined(t){return void 0!==t}function isObjectType(t,e){return!!t&&"object"===(e||typeof t)}function isPrimitive(t,e){return e=e||typeof t,null==t||"string"===e||"number"===e||"boolean"===e}function isPlainObject(t,e){return isObjectType(t)&&isClass(t,"Object",e)&&function hasValidPlainObjectPrototype(t){var e="toString"in t,n="constructor"in t;return!n&&!e||n&&!hasOwn(t,"constructor")&&hasOwn(t.constructor.prototype,"isPrototypeOf")}(t)&&function hasOwnEnumeratedProperties(t){var e=Object.prototype;for(var n in t){var i=t[n];if(!hasOwn(t,n)&&i!==e[n])return!1}return!0}(t)}function isArrayIndex(t){return t>>>0==t&&4294967295!=t}function iterateOverSparseArray(t,e,n,i){for(var r,s=getSparseArrayIndexes(t,n,i),a=0,o=s.length;a<o;a++)r=s[a],e.call(t,t[r],r,t);return t}function getSparseArrayIndexes(t,i,e,n){var r,s=[];for(r in t)isArrayIndex(r)&&(e||(n?r<=i:i<=r))&&s.push(+r);return s.sort(function(t,e){var n=i<t;return n!=i<e?n?-1:1:t-e}),s}function spaceSplit(t){return t.split(" ")}function forEach(t,e){for(var n=0,i=t.length;n<i;n++){if(!(n in t))return iterateOverSparseArray(t,e,n);e(t[n],n)}}var E,T=Math.trunc||function(t){return 0!==t&&isFinite(t)?t<0?N(t):I(t):t};function padNumber(t,e,n,i,r){var s=F(t).toString(i||10);return s=function repeatString(t,e){var n="";t=t.toString();for(;0<e;)1&e&&(n+=t),(e>>=1)&&(t+=t);return n}(r||"0",e-s.replace(/\.\d+/,"").length)+s,(n||t<0)&&(s=(t<0?"-":"+")+s),s}var F=Math.abs,N=(Math.pow,Math.min,Math.max,Math.ceil),I=Math.floor,D=(Math.round,String.fromCharCode);(function privatePropertyAccessor(t){var n="_sugar_"+t;return function(t,e){return 1<arguments.length?(setProperty(t,n,e),t):t[n]}})("utc");!function buildClassChecks(){var n={};function addKnownType(t){n["[object "+t+"]"]=!0}function buildClassCheck(t,e){return e&&isClass(new e,"Object")?function getConstructorClassCheck(t){var e=String(t);return function(t){return String(t.constructor)===e}}(e):function getToStringClassCheck(n){return function(t,e){return isClass(t,n,e)}}(t)}function buildPrimitiveClassCheck(n){var i=n.toLowerCase();return function(t){var e=typeof t;return e===i||"object"==e&&isClass(t,n)}}!function addCoreTypes(){var t=spaceSplit("Boolean Number String Date RegExp Function Array Error Set Map");buildPrimitiveClassCheck(t[0]),buildPrimitiveClassCheck(t[1]),a=buildPrimitiveClassCheck(t[2]),buildClassCheck(t[3]),buildClassCheck(t[4]),l=buildClassCheck(t[5]),c=Array.isArray||buildClassCheck(t[6]),buildClassCheck(t[7]),buildClassCheck(t[8],"undefined"!=typeof Set&&Set),buildClassCheck(t[9],"undefined"!=typeof Map&&Map),addKnownType("Arguments"),addKnownType(t[0]),addKnownType(t[1]),addKnownType(t[2]),addKnownType(t[3]),addKnownType(t[4]),addKnownType(t[6])}(),function addArrayTypes(){forEach(spaceSplit("Int8 Uint8 Uint8Clamped Int16 Uint16 Int32 Uint32 Float32 Float64"),function(t){addKnownType(t+"Array")})}(),function(t,e){return function isKnownType(t){return n[t]}(e)||isPlainObject(t,e)}}(),function buildFullWidthNumber(){var t=O,e=_,n="";E={};for(var i,r=0;r<=9;r++)n+=i=D(r+65296),E[i]=D(r+48);E[e]="",E["."]=t,E[t]=t,function allCharsReg(t){return RegExp("["+t+"]","g")}(n+"."+e+t),n}();var R=["valueOf","toString","constructor","isPrototypeOf","hasOwnProperty","toLocaleString","propertyIsEnumerable"];function arrayIndexOf(t,e,n,i){var r,s,a,o=t.length;for(a=i?-1:1,r=i?o-1:0,(n=T(n))||0===n||(n=r),n<0&&(n=o+n),(!i&&n<0||i&&o<=n)&&(n=r),s=n;i&&0<=s||!i&&s<o;){if(!(s in t))return sparseIndexOf(t,e,n,i);if(isArrayIndex(s)&&t[s]===e)return s;s+=a}return-1}function sparseIndexOf(t,e,n,i){var r,s=getSparseArrayIndexes(t,n,!1,i);for(s.sort(function(t,e){return i?e-t:t-e});void 0!==(r=s.shift());)if(t[r]===e)return+r;return-1}function arrayReduce(t,e,n,i){var r,s,a=t.length,o=0,u=isDefined(n);if(assertCallable(e),0==a&&!u)throw new TypeError("Reduce called on empty array with no initial value");for(u?r=n:(r=t[i?a-1:o],o++);o<a;)(s=i?a-o-1:o)in t&&(r=e(r,t[s],s,t)),o++;return r}!function buildDontEnumFix(){if(!{toString:1}.propertyIsEnumerable("toString")){var r=g;g=function(t,e){r(t,e);for(var n,i=0;(n=R[i])&&(!hasOwn(t,n)||!1!==e.call(t,t[n],n,t));i++);}}}(),function buildChainableNativeMethodsFix(){Object.getOwnPropertyNames||!function defineNativeMethodsOnChainable(){var i="FullYear,Month,Date,Hours,Minutes,Seconds,Milliseconds".split(",");function addDateTokens(t,e){for(var n=0;n<i.length;n++)e.push(t+i[n])}g({Function:"apply,call",RegExp:"compile,exec,test",Number:"toExponential,toFixed,toLocaleString,toPrecision",Object:"hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString",Array:"concat,join,pop,push,reverse,shift,slice,sort,splice,toLocaleString,unshift",Date:"getTime,getTimezoneOffset,setTime,toDateString,toGMTString,toLocaleDateString,toLocaleString,toLocaleTimeString,toTimeString,toUTCString",String:"anchor,big,blink,bold,charAt,charCodeAt,concat,fixed,fontcolor,fontsize,indexOf,italics,lastIndexOf,link,localeCompare,match,replace,search,slice,small,split,strike,sub,substr,substring,sup,toLocaleLowerCase,toLocaleUpperCase,toLowerCase,toUpperCase"},function(t,e){var n=t.split(",");"Date"===e&&(addDateTokens("get",n),addDateTokens("set",n),addDateTokens("getUTC",n),addDateTokens("setUTC",n)),n.push("toString"),mapNativeToChainable(e,n)})}()}(),P(C,{keys:function(t){var n=[];return function assertNonNull(t){if(null==t)throw new TypeError("Object required")}(t),g(function coercePrimitiveToObject(t){return isPrimitive(t)&&(t=Object(t)),b&&a(t)&&function forceStringCoercion(t){var e,n=0;for(;e=t.charAt(n);)t[n++]=e}(t),t}(t),function(t,e){n.push(e)}),n}}),P(w,{isArray:function(t){return c(t)}}),S(w,{every:function(t){var e=arguments[1],n=this.length,i=0;for(assertCallable(t);i<n;){if(i in this&&!t.call(e,this[i],i,this))return!1;i++}return!0},some:function(t){var e=arguments[1],n=this.length,i=0;for(assertCallable(t);i<n;){if(i in this&&t.call(e,this[i],i,this))return!0;i++}return!1},map:function(t){var e=arguments[1],n=this.length,i=0,r=new Array(n);for(assertCallable(t);i<n;)i in this&&(r[i]=t.call(e,this[i],i,this)),i++;return r},filter:function(t){var e=arguments[1],n=this.length,i=0,r=[];for(assertCallable(t);i<n;)i in this&&t.call(e,this[i],i,this)&&r.push(this[i]),i++;return r},indexOf:function(t){var e=arguments[1];return a(this)?this.indexOf(t,e):arrayIndexOf(this,t,e)},lastIndexOf:function(t){var e=arguments[1];return a(this)?this.lastIndexOf(t,e):arrayIndexOf(this,t,e,!0)},forEach:function(t){var e=arguments[1],n=this.length,i=0;for(assertCallable(t);i<n;)i in this&&t.call(e,this[i],i,this),i++},reduce:function(t){return arrayReduce(this,t,arguments[1])},reduceRight:function(t){return arrayReduce(this,t,arguments[1],!0)}});var A=RegExp("^["+v+"]+|["+v+"]+$","g");S(k,{trim:function(){return this.toString().replace(A,"")}}),S(j,{bind:function(i){for(var r=[],t=1,e=arguments.length;t<e;t++)r.push(arguments[t]);var n,s=this;return assertCallable(this),(n=function(){for(var t=[],e=0,n=arguments.length;e<n;e++)t.push(arguments[e]);return s.apply(s.prototype&&this instanceof s?this:i,r.concat(t))}).prototype=this.prototype,n}}),P(x,{now:function(){return(new Date).getTime()}}),S(x,{toISOString:function(){return padNumber(this.getUTCFullYear(),4)+"-"+padNumber(this.getUTCMonth()+1,2)+"-"+padNumber(this.getUTCDate(),2)+"T"+padNumber(this.getUTCHours(),2)+":"+padNumber(this.getUTCMinutes(),2)+":"+padNumber(this.getUTCSeconds(),2)+"."+padNumber(this.getUTCMilliseconds(),3)+"Z"},toJSON:function(t){return this.toISOString(t)}},!function hasISOSupport(){var t=new Date(Date.UTC(2e3,0));return!!t.toISOString&&"2000-01-01T00:00:00.000Z"===t.toISOString()}())}).call(this)}).call(this,e(94))},function(t,e,n){"use strict";n.r(e),n.d(e,"defaultsBool",function(){return r}),n.d(e,"defaultsStr",function(){return s}),n.d(e,"defaultsNb",function(){return a}),n.d(e,"defaultsArr",function(){return o}),n.d(e,"defaultsFn",function(){return u});var i=n(3),r=function defaultsBool(t,e){return Object(i.isBoolean)(t)?t:e},s=function defaultsStr(t,e){return Object(i.isString)(t)?t:e},a=function defaultsNb(t,e){return isNaN(t)?e:t},o=function defaultsArr(t,e){return Object(i.isArray)(t)?t:e},u=function defaultsFn(t,e){return Object(i.isFn)(t)?t:e}},function(t,e,n){"use strict";n.r(e),n.d(e,"getText",function(){return o}),n.d(e,"getFirstTextNode",function(){return u}),n.d(e,"createElm",function(){return l}),n.d(e,"removeElm",function(){return c}),n.d(e,"createText",function(){return f}),n.d(e,"hasClass",function(){return d}),n.d(e,"addClass",function(){return h}),n.d(e,"removeClass",function(){return p}),n.d(e,"createOpt",function(){return m}),n.d(e,"createCheckItem",function(){return y}),n.d(e,"elm",function(){return g}),n.d(e,"tag",function(){return b});var i=n(9),s=n(3),r=n(8),a=i.root.document,o=function getText(t){return Object(s.isUndef)(t.textContent)?Object(r.trim)(t.innerText):Object(r.trim)(t.textContent)},u=function getFirstTextNode(t){for(var e=0;e<t.childNodes.length;e++){var n=t.childNodes[e];if(3===n.nodeType)return n.data}},l=function createElm(t){var e=arguments.length<=0?void 0:t;if(!Object(s.isString)(e))return null;for(var n=a.createElement(e),i=0;i<arguments.length;i++){var r=i<0||arguments.length<=i?void 0:arguments[i];Object(s.isArray)(r)&&2===r.length&&n.setAttribute(r[0],r[1])}return n},c=function removeElm(t){return t.parentNode.removeChild(t)},f=function createText(t){return a.createTextNode(t)},d=function hasClass(t,e){return!Object(s.isUndef)(t)&&(supportsClassList()?t.classList.contains(e):t.className.match(new RegExp("(\\s|^)"+e+"(\\s|$)")))},h=function addClass(t,e){Object(s.isUndef)(t)||(supportsClassList()?t.classList.add(e):""===t.className?t.className=e:d(t,e)||(t.className+=" "+e))},p=function removeClass(t,e){if(!Object(s.isUndef)(t))if(supportsClassList())t.classList.remove(e);else{var n=new RegExp("(\\s|^)"+e+"(\\s|$)","g");t.className=t.className.replace(n,"")}},m=function createOpt(t,e,n){var i=!!n?l("option",["value",e],["selected","true"]):l("option",["value",e]);return i.appendChild(f(t)),i},y=function createCheckItem(t,e,n,i){var r=3<arguments.length&&void 0!==i?i:[],s=l("li"),a=l("label",["for",t]),o=l("input",["id",t],["name",t],["type","checkbox"],["value",e],r);return a.appendChild(o),a.appendChild(f(n)),s.appendChild(a),s.label=a,s.check=o,s},g=function elm(t){return a.getElementById(t)},b=function tag(t,e){return t.getElementsByTagName(e)};function supportsClassList(){return a.documentElement.classList}},function(t,e,n){"use strict";n.r(e),n.d(e,"EMPTY_FN",function(){return i}),n.d(e,"isObj",function(){return r}),n.d(e,"isFn",function(){return s}),n.d(e,"isArray",function(){return a}),n.d(e,"isString",function(){return o}),n.d(e,"isNumber",function(){return u}),n.d(e,"isBoolean",function(){return l}),n.d(e,"isUndef",function(){return c}),n.d(e,"isNull",function(){return f}),n.d(e,"isEmpty",function(){return d});var i=function EMPTY_FN(){},r=function isObj(t){return"[object Object]"===Object.prototype.toString.call(t)},s=function isFn(t){return"[object Function]"===Object.prototype.toString.call(t)},a=function isArray(t){return"[object Array]"===Object.prototype.toString.call(t)},o=function isString(t){return"[object String]"===Object.prototype.toString.call(t)},u=function isNumber(t){return"[object Number]"===Object.prototype.toString.call(t)},l=function isBoolean(t){return"[object Boolean]"===Object.prototype.toString.call(t)},c=function isUndef(t){return void 0===t},f=function isNull(t){return null===t},d=function isEmpty(t){return c(t)||f(t)||0===t.length}},function(t,e,n){"use strict";n.r(e),n.d(e,"INPUT",function(){return i}),n.d(e,"SELECT",function(){return r}),n.d(e,"MULTIPLE",function(){return s}),n.d(e,"CHECKLIST",function(){return a}),n.d(e,"NONE",function(){return o}),n.d(e,"ENTER_KEY",function(){return u}),n.d(e,"TAB_KEY",function(){return l}),n.d(e,"ESC_KEY",function(){return c}),n.d(e,"UP_ARROW_KEY",function(){return f}),n.d(e,"DOWN_ARROW_KEY",function(){return d}),n.d(e,"HEADER_TAG",function(){return h}),n.d(e,"CELL_TAG",function(){return p}),n.d(e,"STRING",function(){return m}),n.d(e,"NUMBER",function(){return y}),n.d(e,"FORMATTED_NUMBER",function(){return g}),n.d(e,"DATE",function(){return b}),n.d(e,"IP_ADDRESS",function(){return v}),n.d(e,"AUTO_FILTER_DELAY",function(){return O});var i="input",r="select",s="multiple",a="checklist",o="none",u=13,l=9,c=27,f=38,d=40,h="TH",p="TD",m="string",y="number",g="formatted-number",b="date",v="ipaddress",O=750},function(t,e,n){"use strict";n.r(e),n.d(e,"addEvt",function(){return r}),n.d(e,"removeEvt",function(){return s}),n.d(e,"stopEvt",function(){return a}),n.d(e,"cancelEvt",function(){return o}),n.d(e,"targetEvt",function(){return u}),n.d(e,"keyCode",function(){return l}),n.d(e,"isKeyPressed",function(){return c}),n.d(e,"bound",function(){return bound});var i=n(9),r=function addEvt(t,e,n,i){t.addEventListener?t.addEventListener(e,n,i):t.attachEvent?t.attachEvent("on"+e,n):t["on"+e]=n},s=function removeEvt(t,e,n,i){t.removeEventListener?t.removeEventListener(e,n,i):t.detachEvent?t.detachEvent("on"+e,n):t["on"+e]=null},a=function stopEvt(t){(t=t||i.root.event).stopPropagation?t.stopPropagation():t.cancelBubble=!0},o=function cancelEvt(t){(t=t||i.root.event).preventDefault?t.preventDefault():t.returnValue=!1},u=function targetEvt(t){return(t=t||i.root.event).target||t.srcElement},l=function keyCode(t){return t.charCode?t.charCode:t.keyCode?t.keyCode:t.which?t.which:0},c=function isKeyPressed(t,e){return-1!==(1<arguments.length&&void 0!==e?e:[]).indexOf(l(t))};function bound(t,e){var n="".concat(t.name,"_bound");return e[n]||(e[n]=t.bind(e)),e[n]}},function(t,e,n){"use strict";n(182)()},function(t,e,n){"use strict";n(267)()},function(t,e,n){"use strict";n.r(e),n.d(e,"trim",function(){return i}),n.d(e,"isEmpty",function(){return r}),n.d(e,"rgxEsc",function(){return u}),n.d(e,"matchCase",function(){return s}),n.d(e,"contains",function(){return a}),n.d(e,"toCamelCase",function(){return l}),n.d(e,"uuid",function(){return c});var o=n(88),i=function trim(t){return t.trim?t.trim():t.replace(/^\s*|\s*$/g,"")},r=function isEmpty(t){return""===i(t)},u=function rgxEsc(t){return String(t).replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")},s=function matchCase(t,e){return 1<arguments.length&&void 0!==e&&e?t:t.toLowerCase()},a=function contains(t,e,n,i,r){var s=2<arguments.length&&void 0!==n&&n,a=3<arguments.length&&void 0!==i&&i?"g":"gi";return 4<arguments.length&&void 0!==r&&r&&(t=Object(o.remove)(t),e=Object(o.remove)(e)),(s?new RegExp("(^\\s*)"+u(t)+"(\\s*$)",a):new RegExp(u(t),a)).test(e)},l=function toCamelCase(t){return(0<arguments.length&&void 0!==t?t:"").replace(/^([A-Z])|[\s-_]+(\w)/g,function(t,e,n){return n?n.toUpperCase():e.toLowerCase()})},c=function uuid(){function hq(){return Math.random().toString(16).slice(-4)}return hq()+hq()+"-"+hq()+"-"+hq()+"-"+hq()+"-"+hq()+hq()+hq()}},function(t,n,i){"use strict";i.r(n),function(t){function _typeof(t){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function _typeof(t){return typeof t}:function _typeof(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}i.d(n,"root",function(){return e});var e="object"===("undefined"==typeof self?"undefined":_typeof(self))&&self.self===self&&self||"object"===(void 0===t?"undefined":_typeof(t))&&t.global===t&&t||void 0}.call(this,i(94))},function(t,e,n){"use strict";n.r(e),n.d(e,"Feature",function(){return s});var i=n(8);function _defineProperties(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}var r="Not implemented.",s=function(){function Feature(t,e){var n=this;!function _classCallCheck(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,Feature),e.meta=e.meta||{},this.tf=t,this.feature=e.meta.altName||e.meta.name||Object(i.toCamelCase)(e.name),this.enabled=t[this.feature],this.config=t.config(),this.emitter=t.emitter,this.initialized=!1,this.emitter.on(["destroy"],function(){return n.destroy()})}return function _createClass(t,e,n){return e&&_defineProperties(t.prototype,e),n&&_defineProperties(t,n),t}(Feature,[{key:"init",value:function init(){throw new Error(r)}},{key:"reset",value:function reset(){this.enable(),this.init()}},{key:"destroy",value:function destroy(){throw new Error(r)}},{key:"enable",value:function enable(){this.enabled=!0}},{key:"disable",value:function disable(){this.enabled=!1}},{key:"isEnabled",value:function isEnabled(){return!0===this.enabled}}]),Feature}()},function(t,e,n){"use strict";var i=n(0),r=n(14).localeManager;i.Date.defineStatic({addLocale:function(t,e){return r.add(t,e)}}),t.exports=i.Date.addLocale},function(t,e,n){"use strict";var i,r,s,a,o,u,l,c,f,d,h,p=n(142),m=n(32),y=n(98),g=n(52),b=n(143);!function buildClassChecks(){var n={};function addKnownType(t){n["[object "+t+"]"]=!0}function buildClassCheck(t,e){return e&&y(new e,"Object")?function getConstructorClassCheck(t){var e=String(t);return function(t){return String(t.constructor)===e}}(e):function getToStringClassCheck(n){return function(t,e){return y(t,n,e)}}(t)}function buildPrimitiveClassCheck(n){var i=n.toLowerCase();return function(t){var e=typeof t;return e===i||"object"==e&&y(t,n)}}!function addCoreTypes(){var t=g(p);r=buildPrimitiveClassCheck(t[0]),s=buildPrimitiveClassCheck(t[1]),a=buildPrimitiveClassCheck(t[2]),o=buildClassCheck(t[3]),u=buildClassCheck(t[4]),l=buildClassCheck(t[5]),c=Array.isArray||buildClassCheck(t[6]),h=buildClassCheck(t[7]),f=buildClassCheck(t[8],"undefined"!=typeof Set&&Set),d=buildClassCheck(t[9],"undefined"!=typeof Map&&Map),addKnownType("Arguments"),addKnownType(t[0]),addKnownType(t[1]),addKnownType(t[2]),addKnownType(t[3]),addKnownType(t[4]),addKnownType(t[6])}(),function addArrayTypes(){m(g("Int8 Uint8 Uint8Clamped Int16 Uint16 Int32 Uint32 Float32 Float64"),function(t){addKnownType(t+"Array")})}(),i=function(t,e){return function isKnownType(t){return n[t]}(e)||b(t,e)}}(),t.exports={isSerializable:i,isBoolean:r,isNumber:s,isString:a,isDate:o,isRegExp:u,isFunction:l,isArray:c,isSet:f,isMap:d,isError:h}},function(t,e,n){"use strict";t.exports={HOURS_INDEX:3,DAY_INDEX:4,WEEK_INDEX:5,MONTH_INDEX:6,YEAR_INDEX:7}},function(t,e,n){"use strict";var i,r,s=n(129),a=n(95),o=n(133);!function buildLocales(){function LocaleManager(t){this.locales={},this.add(t)}LocaleManager.prototype={get:function(t,e){var n=this.locales[t];return!n&&s[t]?n=this.add(t,s[t]):!n&&t&&(n=this.locales[t.slice(0,2)]),n||!1===e?n:this.current},getAll:function(){return this.locales},set:function(t){var e=this.get(t,!1);if(!e)throw new TypeError("Invalid Locale: "+t);return this.current=e},add:function(t,e){e?e.code=t:t=(e=t).code;var n=e.compiledFormats?e:o(e);return this.locales[t]=n,this.current||(this.current=n),n},remove:function(t){return this.current.code===t&&(this.current=this.get("en")),delete this.locales[t]}},i=o(a),r=new LocaleManager(i)}(),t.exports={English:i,localeManager:r}},function(t,e,n){"use strict";t.exports={abs:Math.abs,pow:Math.pow,min:Math.min,max:Math.max,ceil:Math.ceil,floor:Math.floor,round:Math.round}},function(t,e,n){"use strict";var i=n(0);t.exports={hasOwn:i.util.hasOwn,getOwn:i.util.getOwn,setProperty:i.util.setProperty,classToString:i.util.classToString,defineProperty:i.util.defineProperty,forEachProperty:i.util.forEachProperty,mapNativeToChainable:i.util.mapNativeToChainable}},function(t,e,n){"use strict";n(323)()},function(t,e,n){"use strict";n.r(e),n.d(e,"LEFT",function(){return u}),n.d(e,"RIGHT",function(){return l}),n.d(e,"CENTER",function(){return c}),n.d(e,"Toolbar",function(){return f});var i=n(10),s=n(2),r=n(1),a=n(3);function _typeof(t){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function _typeof(t){return typeof t}:function _typeof(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function _defineProperties(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function _possibleConstructorReturn(t,e){return!e||"object"!==_typeof(e)&&"function"!=typeof e?function _assertThisInitialized(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}function _getPrototypeOf(t){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function _setPrototypeOf(t,e){return(_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(t,e){return t.__proto__=e,t})(t,e)}var o=["initializing-feature","initializing-extension"],u="left",l="right",c="center",f=function(){function Toolbar(t){var n;!function _classCallCheck(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,Toolbar);var e=(n=_possibleConstructorReturn(this,_getPrototypeOf(Toolbar).call(this,t,Toolbar))).config.toolbar||{};return n.contCssClass=Object(r.defaultsStr)(e.container_css_class,"inf"),n.lContCssClass=Object(r.defaultsStr)(e.left_cont_css_class,"ldiv"),n.rContCssClass=Object(r.defaultsStr)(e.right_cont_css_class,"rdiv"),n.cContCssClass=Object(r.defaultsStr)(e.center_cont_css_class,"mdiv"),n.tgtId=Object(r.defaultsStr)(e.target_id,null),n.cont=null,n.lCont=null,n.rCont=null,n.cCont=null,n.innerCont={left:null,center:null,right:null},n.emitter.on(o,function(t,e){return n.init(e)}),n.enabled=!0,n}return function _inherits(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&_setPrototypeOf(t,e)}(Toolbar,i["Feature"]),function _createClass(t,e,n){return e&&_defineProperties(t.prototype,e),n&&_defineProperties(t,n),t}(Toolbar,[{key:"init",value:function init(t){if(!this.initialized&&!t){var e=this.tf,n=Object(s.createElm)("div");if(n.className=this.contCssClass,this.tgtId)Object(s.elm)(this.tgtId).appendChild(n);else if(e.gridLayout){var i=e.Mod.gridLayout;i.tblMainCont.appendChild(n),n.className=i.infDivCssClass}else{var r=Object(s.createElm)("caption");r.appendChild(n),e.dom().insertBefore(r,e.dom().firstChild)}this.cont=n,this.lCont=this.createContainer(n,this.lContCssClass),this.rCont=this.createContainer(n,this.rContCssClass),this.cCont=this.createContainer(n,this.cContCssClass),this.innerCont={left:this.lCont,center:this.cCont,right:this.rCont},this.initialized=!0,Object(a.isUndef)(e.help)&&(e.Mod.help.enable(),this.emitter.emit("init-help",e))}}},{key:"container",value:function container(t,e){var n=0<arguments.length&&void 0!==t?t:l,i=1<arguments.length?e:void 0,r=this.innerCont[n];return i&&r.appendChild(i),r}},{key:"createContainer",value:function createContainer(t,e){var n=Object(s.createElm)("div",["class",e]);return t.appendChild(n),n}},{key:"destroy",value:function destroy(){if(this.initialized){var t=this.tf;Object(s.removeElm)(this.cont),this.cont=null;var e=t.dom(),n=Object(s.tag)(e,"caption");[].forEach.call(n,function(t){return Object(s.removeElm)(t)}),this.initialized=!1}}}]),Toolbar}();f.meta={alwaysInstantiate:!0}},function(t,e,n){"use strict";var i=n(121);t.exports=function Range(t,e){this.start=i(t),this.end=i(e)}},function(t,e,n){"use strict";n.r(e),n.d(e,"has",function(){return i});var a=n(8),i=function has(t,e,n){for(var i=Boolean(n),r=0,s=t.length;r<s;r++)if(Object(a.matchCase)(t[r].toString(),i)===e)return!0;return!1}},function(t,e,n){"use strict";var i=n(16).forEachProperty;t.exports=function defineOnPrototype(t,e){var n=t.prototype;i(e,function(t,e){n[e]=t})}},function(t,e,n){"use strict";n.r(e),n.d(e,"parse",function(){return i});var s=n(3),i=function parse(t,e){var n=1<arguments.length&&void 0!==e?e:".";if(Object(s.isNumber)(t))return t;var i=new RegExp("[^0-9-"+n+"]",["g"]),r=parseFloat((""+t).replace(/\((.*)\)/,"-$1").replace(i,"").replace(n,"."));return isNaN(r)?0:r}},function(t,e,n){"use strict";var i=n(25);t.exports=function callDateGet(t,e){return t["get"+(i(t)?"UTC":"")+e]()}},function(t,e,n){"use strict";var i=n(23);t.exports=function getWeekday(t){return i(t,"Day")}},function(t,e,n){"use strict";var i=n(148);t.exports=i("utc")},function(t,e,n){"use strict";var i=n(15),r=i.ceil,s=i.floor,a=Math.trunc||function(t){return 0!==t&&isFinite(t)?t<0?r(t):s(t):t};t.exports=a},function(t,e,n){"use strict";var i=n(65);t.exports=function createDate(t,e,n){return i(null,t,e,n).date}},function(t,e,n){"use strict";var i=n(0);t.exports={sugarObject:i.Object,sugarArray:i.Array,sugarDate:i.Date,sugarString:i.String,sugarNumber:i.Number,sugarFunction:i.Function,sugarRegExp:i.RegExp}},function(t,e,n){"use strict";var a=n(39),o=n(40),u=n(24),i=n(12),r=n(15),l=i.isNumber,c=r.abs;t.exports=function setWeekday(t,e,n){if(l(e)){var i=u(t);if(n){var r=0<n?1:-1,s=e%7-i;s&&s/c(s)!=r&&(e+=7*r)}return a(t,o(t)+e-i),t.getTime()}}},function(t,e,n){"use strict";n(399)()},function(t,e,n){"use strict";n.r(e),n.d(e,"ignoreCase",function(){return i}),n.d(e,"numSortAsc",function(){return r}),n.d(e,"numSortDesc",function(){return s}),n.d(e,"dateSortAsc",function(){return u}),n.d(e,"dateSortDesc",function(){return l}),n.d(e,"sortNumberStr",function(){return c}),n.d(e,"sortDateStr",function(){return f});var a=n(22),o=n(47),i=function ignoreCase(t,e){var n=t.toLowerCase(),i=e.toLowerCase();return n<i?-1:i<n?1:0},r=function numSortAsc(t,e){return t-e},s=function numSortDesc(t,e){return e-t},u=function dateSortAsc(t,e){return t.getTime()-e.getTime()},l=function dateSortDesc(t,e){return e.getTime()-t.getTime()},c=function sortNumberStr(r,t){var s=1<arguments.length&&void 0!==t?t:",";return function(t,e){var n=Object(a.parse)(t,s),i=Object(a.parse)(e,s);return r(n,i)}},f=function sortDateStr(r,t){var s=1<arguments.length&&void 0!==t?t:"en-us";return function(t,e){var n=o.Date.create(t,s),i=o.Date.create(e,s);return r(n,i)}}},function(t,e,n){"use strict";var r=n(138);t.exports=function forEach(t,e){for(var n=0,i=t.length;n<i;n++){if(!(n in t))return r(t,e,n);e(t[n],n)}}},function(t,e,n){"use strict";t.exports=function isDefined(t){return void 0!==t}},function(t,e,n){"use strict";var i=n(100),r=[{name:"millisecond",method:"Milliseconds",multiplier:1,start:0,end:999},{name:"second",method:"Seconds",multiplier:1e3,start:0,end:59},{name:"minute",method:"Minutes",multiplier:6e4,start:0,end:59},{name:"hour",method:"Hours",multiplier:36e5,start:0,end:23},{name:"day",alias:"date",method:"Date",ambiguous:!0,multiplier:864e5,start:1,end:function(t){return i(t)}},{name:"week",method:"ISOWeek",ambiguous:!0,multiplier:6048e5},{name:"month",method:"Month",ambiguous:!0,multiplier:26298e5,start:0,end:11},{name:"year",method:"FullYear",ambiguous:!0,multiplier:315576e5,start:0}];t.exports=r},function(t,e,n){"use strict";var i=n(23);t.exports=function getYear(t){return i(t,"FullYear")}},function(t,e,n){"use strict";var i=n(23);t.exports=function getMonth(t){return i(t,"Month")}},function(t,e,n){"use strict";var a=n(33),i=n(12),o=n(38),u=n(106),l=i.isFunction;t.exports=function setUnitAndLowerToEdge(i,t,r,s){return u(t,function(t,e){var n=s?t.end:t.start;return l(n)&&(n=n(i)),o(i,t.method,n),!a(r)||r<e}),i}},function(t,e,n){"use strict";var r=n(25),s=n(23);t.exports=function callDateSet(t,e,n,i){i&&n===s(t,e,n)||t["set"+(r(t)?"UTC":"")+e](n)}},function(t,e,n){"use strict";var i=n(38);t.exports=function setDate(t,e){i(t,"Date",e)}},function(t,e,n){"use strict";var i=n(23);t.exports=function getDate(t){return i(t,"Date")}},function(t,e,n){"use strict";var i=n(25);t.exports=function cloneDate(t){var e=new Date(t.getTime());return i(e,!!i(t)),e}},function(t,e,n){"use strict";t.exports=function isUndefined(t){return void 0===t}},function(t,e,n){"use strict";var i=n(13),r=i.HOURS_INDEX,s=i.DAY_INDEX,a=i.WEEK_INDEX,o=i.MONTH_INDEX;t.exports=function getLowerUnitIndex(t){return t===o?s:t===a?r:t-1}},function(t,e,n){"use strict";var i=n(66);t.exports=function getNewDate(){return i("newDateInternal")()}},function(t,e,n){"use strict";var s=n(54);t.exports=function advanceDate(t,e,n,i){var r={};return r[e]=n,s(t,r,i,1)}},function(t,e,n){"use strict";t.exports=function dateIsValid(t){return!isNaN(t.getTime())}},function(t,e,n){"use strict";n(128),n(387),t.exports=n(0)},function(t,e,n){"use strict";n.r(e),n.d(e,"BaseDropdown",function(){return r});var i=n(10),d=n(31),h=n(3),p=n(4);function _typeof(t){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function _typeof(t){return typeof t}:function _typeof(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function _defineProperties(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function _possibleConstructorReturn(t,e){return!e||"object"!==_typeof(e)&&"function"!=typeof e?function _assertThisInitialized(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}function _getPrototypeOf(t){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function _setPrototypeOf(t,e){return(_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(t,e){return t.__proto__=e,t})(t,e)}var r=function(){function BaseDropdown(t,e){var n;!function _classCallCheck(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,BaseDropdown);var i=(n=_possibleConstructorReturn(this,_getPrototypeOf(BaseDropdown).call(this,t,e))).config;return n.customSorter=Object(h.isObj)(i.filter_options_sorter)&&Object(h.isArray)(i.filter_options_sorter.col)&&Object(h.isArray)(i.filter_options_sorter.comparer)?i.filter_options_sorter:null,n.isCustom=!1,n.opts=[],n.optsTxt=[],n.excludedOpts=[],n}return function _inherits(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&_setPrototypeOf(t,e)}(BaseDropdown,i["Feature"]),function _createClass(t,e,n){return e&&_defineProperties(t.prototype,e),n&&_defineProperties(t,n),t}(BaseDropdown,[{key:"sortOptions",value:function sortOptions(t,e){var n=1<arguments.length&&void 0!==e?e:[],i=this.tf;if(i.isCustomOptions(t)||!i.sortSlc||Object(h.isArray)(i.sortSlc)&&-1===i.sortSlc.indexOf(t))return n;var r,s=i.caseSensitive,a=-1!==i.sortFilterOptionsDesc.indexOf(t);if(this.customSorter&&-1!==this.customSorter.col.indexOf(t)){var o=this.customSorter.col.indexOf(t);r=this.customSorter.comparer[o]}else if(i.hasType(t,[p.NUMBER,p.FORMATTED_NUMBER])){var u=i.getDecimal(t),l=a?d.numSortDesc:d.numSortAsc;r=Object(d.sortNumberStr)(l,u)}else if(i.hasType(t,[p.DATE])){var c=i.feature("dateType").getLocale(t),f=a?d.dateSortDesc:d.dateSortAsc;r=Object(d.sortDateStr)(f,c)}else if(r=s?void 0:d.ignoreCase,a)return n.sort(r).reverse();return n.sort(r)}},{key:"refreshFilters",value:function refreshFilters(t){var n=this;t.forEach(function(t){var e=n.getValues(t);n.build(t,n.tf.linkedFilters),n.selectOptions(t,e)})}},{key:"isValidLinkedValue",value:function isValidLinkedValue(t,e){var n=this.tf;if(n.disableExcludedOptions)return!0;if(n.paging){if(!Object(h.isEmpty)(e)&&n.isRowValid(t))return!0}else if(n.isRowDisplayed(t))return!0;return!1}},{key:"linkFilters",value:function linkFilters(){var t=this.tf;t.linkedFilters&&t.activeFilterId&&this.refreshAll()}}]),BaseDropdown}()},function(t,e,n){"use strict";var i=n(16).forEachProperty;t.exports=function simpleMerge(n,t){return i(t,function(t,e){n[e]=t}),n}},function(t,e,n){"use strict";var i=n(49);t.exports=function simpleClone(t){return i({},t)}},function(t,e,n){"use strict";t.exports={HALF_WIDTH_ZERO:48,FULL_WIDTH_ZERO:65296,HALF_WIDTH_PERIOD:".",FULL_WIDTH_PERIOD:".",HALF_WIDTH_COMMA:",",OPEN_BRACE:"{",CLOSE_BRACE:"}"}},function(t,e,n){"use strict";t.exports=function spaceSplit(t){return t.split(" ")}},function(t,e,n){"use strict";t.exports=function tzOffset(t){return t.getTimezoneOffset()}},function(t,e,n){"use strict";var h=n(34),i=n(13),p=n(26),m=n(39),y=n(40),g=n(36),r=n(44),b=n(29),s=n(15),v=n(23),a=n(12),O=n(162),_=n(43),C=n(163),w=n(164),x=n(55),k=i.DAY_INDEX,j=i.WEEK_INDEX,P=i.MONTH_INDEX,S=i.YEAR_INDEX,E=s.round,T=a.isNumber;t.exports=function updateDate(o,u,t,l,c,f,e){var d;function setUnit(t,e,n,i){var r,s,a=n.method;!function setUpperUnit(t,e){c&&!d&&(d="weekday"===t?j:C(e))}(t,i),function setSpecificity(t){t>u.specificity||(u.specificity=t)}(i),(s=e%1)&&(function handleFraction(t,e,n){if(e){var i=h[_(e)],r=E(t.multiplier/i.multiplier*n);u[i.name]=r}}(n,i,s),e=p(e)),"weekday"!==t?(r=i===P&&28<y(o),!l||n.ambiguous?(l&&(i===j&&(e*=7,a=h[k].method),e=e*l+v(o,a)),w(o,a,e,l),r&&function monthHasShifted(t,e){return e<0&&(e=e%12+12),e%12!==g(t)}(o,e)&&m(o,0)):o.setTime(o.getTime()+e*l*n.multiplier)):l||b(o,e,f)}if(T(u)&&l)u={millisecond:u};else if(T(u))return o.setTime(u),o;return x(u,setUnit),t&&u.specificity&&O(o,u.specificity),function canDisambiguate(){if(d&&!(S<d))switch(c){case-1:return o>=(e||r());case 1:return o<=(e||r())}}()&&function disambiguateHigherUnit(){var t=h[d];l=c,setUnit(t.name,1,t,d)}(),o}},function(t,e,n){"use strict";var i=n(13),a=n(33),o=n(167),u=n(64),l=i.DAY_INDEX;t.exports=function iterateOverDateParams(r,s,t,e){function run(t,e,n){var i=o(r,t);a(i)&&s(t,i,e,n)}u(function(t,e){var n=run(t.name,t,e);return!1!==n&&e===l&&(n=run("weekday",t,e)),n},t,e)}},function(t,e,n){"use strict";var i=n(14),r=n(13),s=n(110),a=n(43),o=n(37),u=r.WEEK_INDEX,l=i.localeManager;t.exports=function moveToEndOfUnit(t,e,n,i){return e===u&&s(t,l.get(n).getFirstDayOfWeek()),o(t,a(e),i,!0)}},function(t,e,n){"use strict";var i=n(14),r=n(13),s=n(43),a=n(67),o=n(37),u=r.WEEK_INDEX,l=i.localeManager;t.exports=function moveToBeginningOfUnit(t,e,n){return e===u&&a(t,l.get(n).getFirstDayOfWeek()),o(t,s(e))}},function(t,e,n){"use strict";var i=n(183),r=n(185),s=i.defineInstance;t.exports=function defineInstanceSimilar(t,e,n,i){s(t,r(e,n),i)}},function(t,e,n){"use strict";var i=n(400);t.exports=function rangeIsValid(t){return i(t.start)&&i(t.end)&&typeof t.start==typeof t.end}},function(t,e,n){"use strict";n.r(e);var a=n(9).root.document;e.default={write:function write(t,e,n){var i="";n&&(i="; expires="+(i=new Date((new Date).getTime()+36e5*n)).toGMTString()),a.cookie=t+"="+escape(e)+i},read:function read(t){var e="",n=t+"=";if(0<a.cookie.length){var i=a.cookie,r=i.indexOf(n);if(-1!==r){r+=n.length;var s=i.indexOf(";",r);-1===s&&(s=i.length),e=unescape(i.substring(r,s))}}return e},remove:function remove(t){this.write(t,"",-1)}}},function(t,e,n){"use strict";var i=n(131),r=n(49),s=n(50);t.exports=function getEnglishVariant(t){return r(s(i),t)}},function(t,e,n){"use strict";t.exports={ISO_FIRST_DAY_OF_WEEK:1,ISO_FIRST_DAY_OF_WEEK_YEAR:4}},function(t,e,n){"use strict";t.exports=function isObjectType(t,e){return!!t&&"object"===(e||typeof t)}},function(t,e,n){"use strict";var r=n(34),i=n(13),s=n(42),a=i.YEAR_INDEX;t.exports=function iterateOverDateUnits(t,e,n){n=n||0,s(e)&&(e=a);for(var i=e;n<=i&&!1!==t(r[i],i);i--);}},function(t,e,n){"use strict";var y=n(104),g=n(157),i=n(14),r=n(13),b=n(25),v=n(26),O=n(32),_=n(53),C=n(33),w=n(105),x=n(44),k=n(54),j=n(29),P=n(49),S=n(45),E=n(42),s=n(12),T=n(46),F=n(50),N=n(63),I=n(56),D=n(169),a=n(16),R=n(57),A=n(55),M=n(170),L=n(171),H=s.isNumber,z=s.isString,B=s.isDate,W=a.getOwn,U=i.English,V=i.localeManager,Y=r.DAY_INDEX,K=r.WEEK_INDEX,G=r.MONTH_INDEX,q=r.YEAR_INDEX;t.exports=function getExtendedDate(r,t,e,n){var a,o,u,s,l,c,f,d,h,i,p,m;function parseFormatValues(r,t){var s=p||{};return O(t.to,function(t,e){var n,i=r[e+1];i&&(n=function parseIrregular(t,e){{if("utc"===e)return 1;if("year"===e){var n=t.match(g);if(n)return M(n[1],a,f)}}}(i,t),E(n)&&(n=u.parseValue(i,t)),s[t]=n)}),s}function cloneDateByFlag(t,e){return b(t)&&!C(h)&&(h=!0),b(t)&&!C(i)&&(i=!0),e&&(t=new Date(t.getTime())),t}function afterDateSet(t){s.push(t)}function handleAmpm(t){1===t&&o.hour<12?o.hour+=12:0===t&&12===o.hour&&(o.hour=0)}function handleTimezoneOffset(t,e){b(a,!0),t<0&&(e*=-1);var n=60*t+(e||0);n&&(o.minute=(o.minute||0)-n)}function handleUnitlessShift(){C(o.month)?o.unit=q:C(o.weekday)&&(o.unit=K)}function handleUnitlessNum(t){C(o.weekday)?setOrdinalWeekday(t):C(o.month)&&(o.date=o.num)}function handleMidday(t){o.hour=t%24,23<t&&afterDateSet(function(){S(a,"date",v(t/24))})}function handleRelativeDay(){w(a),E(o.unit)&&(o.unit=Y,o.num=o.day,delete o.day)}function handleRelativeUnit(t){var e;e=C(o.num)?o.num:C(o.edge)&&E(o.shift)?0:1,C(o.weekday)&&(t===G?(setOrdinalWeekday(e),e=1):(k(a,{weekday:o.weekday},!0),delete o.weekday)),o.half&&(e*=o.half),C(o.shift)?e*=o.shift:o.sign&&(e*=o.sign),C(o.day)&&(e+=o.day,delete o.day),function separateAbsoluteUnits(r){var s;A(o,function(t,e,n,i){if(r<=i)return a.setTime(NaN),!1;i<r&&((s=s||{})[t]=e,D(o,t))}),s&&(afterDateSet(function(){k(a,s,!0,0,!1,c),p&&P(p,s)}),o.edge&&(handleEdge(o.edge,s),delete o.edge))}(t),o[U.units[t]]=e,l=!0}function handleEdge(e,r){var n,s=r.unit;s||L(r,function(t,e,n,i){"weekday"===t&&C(r.month)||(s=i)}),s===G&&C(r.weekday)&&(n=r.weekday,delete r.weekday),afterDateSet(function(){var t;e<0?R(a,s,d):0<e&&(1===e&&R(a,t=Y),I(a,s,d,t)),C(n)&&(j(a,n,-e),w(a))}),r.specificity=s===G?Y:s-1}function setOrdinalWeekday(t){o.weekday=7*(t-1)+o.weekday,o.date=1,c=1}return s=[],function setupOptions(t){t=z(t)?{locale:t}:t||{},f=+!!W(t,"future")-+!!W(t,"past"),d=W(t,"locale"),h=W(t,"fromUTC"),i=W(t,"setUTC"),p=W(t,"params"),m=W(t,"clone")}(e),a=r&&t?cloneDateByFlag(r,!0):x(),b(a,h),z(t)?a=function parseStringDate(t){t=t.toLowerCase(),u=V.get(d);for(var e,n,i=0;e=u.compiledFormats[i];i++)if(n=t.match(e.reg)){if(u.cacheFormat(e,i),o=parseFormatValues(n,e),C(o.timestamp)){a.setTime(o.timestamp);break}C(o.ampm)&&handleAmpm(o.ampm),(o.utc||C(o.tzHour))&&handleTimezoneOffset(o.tzHour,o.tzMinute),C(o.shift)&&E(o.unit)&&handleUnitlessShift(),C(o.num)&&E(o.unit)&&handleUnitlessNum(o.num),o.midday&&handleMidday(o.midday),C(o.day)&&handleRelativeDay(o.day),C(o.unit)&&handleRelativeUnit(o.unit),o.edge&&handleEdge(o.edge,o);break}return o?l?k(a,o,!1,1):k(a,o,!0,0,f,c,r):(a=new Date(t),h&&T(a)&&a.setTime(a.getTime()+_(a)*y)),function fireCallbacks(){O(s,function(t){t.call()})}(),a}(t):B(t)?a=cloneDateByFlag(t,m||n):N(t)?(o=F(t),k(a,o,!0)):!H(t)&&null!==t||a.setTime(t),b(a,!!i),{set:o,date:a}}},function(t,e,n){"use strict";var i=n(158),r=n(28),s=n(160),a=r.sugarDate;t.exports=s(a,i)},function(t,e,n){"use strict";var i=n(29),r=n(24),s=n(15).floor;t.exports=function moveToBeginningOfWeek(t,e){return i(t,7*s((r(t)-e)/7)+e),t}},function(t,e,n){"use strict";t.exports=function simpleCapitalize(t){return t.charAt(0).toUpperCase()+t.slice(1)}},function(t,e,n){"use strict";var a=n(26),o=n(41),u=n(45);t.exports=function getTimeDistanceForUnit(t,e,n){var i,r,s=t<e;if(s||(r=e,e=t,t=r),i=e-t,1<n.multiplier&&(i=a(i/n.multiplier)),n.ambiguous)for(t=o(t),i&&(i-=1,u(t,n.name,i));t<e&&(u(t,n.name,1),!(e<t));)i+=1;return s?-i:i}},function(t,e,n){"use strict";var i=n(15),a=n(298),o=i.abs;t.exports=function padNumber(t,e,n,i,r){var s=o(t).toString(i||10);return s=a(r||"0",e-s.replace(/\.\d+/,"").length)+s,(n||t<0)&&(s=(t<0?"-":"+")+s),s}},function(t,e,n){"use strict";var i=n(62),a=n(39),o=n(40),u=n(41),l=n(42),c=n(110),f=n(67),d=n(108),h=i.ISO_FIRST_DAY_OF_WEEK,p=i.ISO_FIRST_DAY_OF_WEEK_YEAR;t.exports=function getWeekNumber(t,e,n,i){var r,s=0;for(l(n)&&(n=h),l(i)&&(i=p),r=c(u(t),n),d(r,n,i),e&&t<r&&(r=f(u(t),n),d(r,n,i));r<=t;)a(r,o(r)+7),s++;return s}},function(t,e,n){"use strict";t.exports="year|month|week|day|hour|minute|second|millisecond"},function(t,e,n){"use strict";var i=n(12),p=n(59),m=n(124),y=n(402),g=n(403),b=n(404),v=n(126),O=i.isNumber,_=i.isString,C=i.isDate,w=i.isFunction;t.exports=function rangeEvery(t,e,n,i){var r,s,a,o,u=t.start,l=t.end,c=l<u,f=u,d=0,h=[];if(!p(t))return n?NaN:[];for(w(e)&&(i=e,e=null),e=e||1,O(u)?(s=b(u,e),r=function(){return y(f,e,s)}):_(u)?r=function(){return g(f,e)}:C(u)&&(a=v(e),e=a[0],o=a[1],r=function(){return m(f,e,o)}),c&&0<e&&(e*=-1);c?l<=f:f<=l;)n||h.push(f),i&&i(f,d,t),f=r(),d++;return n?d-1:h}},function(t,e,n){"use strict";n.r(e),n.d(e,"DateType",function(){return s});var i=n(47),r=(n(422),n(10)),o=n(3),u=n(4),l=n(9);function _typeof(t){return(_typeof="function"==typeof Symbol&&"symb