UNPKG

webpack-stats-report

Version:
1 lines 333 kB
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define("webpack-stats-report",[],e):"object"==typeof exports?exports["webpack-stats-report"]=e():t["webpack-stats-report"]=e()}(self,(()=>(()=>{var t={649:(t,e,o)=>{var n=o(81),i=o(645)(n);i.push([t.id,".vui-info{width:100%;height:100%;overflow:auto}",""]),t.exports=i},376:(t,e,o)=>{var n=o(81),i=o(645)(n);i.push([t.id,".vui-module-types{width:100%;height:100%;overflow:auto}",""]),t.exports=i},378:(t,e,o)=>{var n=o(81),i=o(645)(n);i.push([t.id,".vui-detail{width:100%;height:100%;overflow:auto}",""]),t.exports=i},587:(t,e,o)=>{var n=o(81),i=o(645),s=o(667),r=o(217),l=o(326),a=o(65),c=o(193),u=o(66),h=o(116),d=o(962),g=o(528),p=o(903),f=i(n),m=s(r),v=s(l),b=s(a),w=s(c),y=s(u),x=s(h),C=s(d),S=s(g),I=s(p);f.push([t.id,`*,*::before,*::after{box-sizing:border-box}html,body{width:100%;height:100%;margin:0;padding:0;color:#002b36;font-size:14px;font-family:Helvetica,Arial,sans-serif}a:link,a:visited{color:#002b36;text-decoration:none;background-color:rgba(0,0,0,0)}a:hover{color:#3fa8f8;text-decoration:underline}.vui-icon{display:block;width:20px;height:20px;background-repeat:no-repeat;background-position:center center;background-size:20px 20px;opacity:.6;overflow:hidden}.vui-icon:hover{opacity:1}.vui-icon-close{background-image:url(${m})}.vui-icon-arrow-right{background-image:url(${v})}.vui-icon-webpack{background-image:url(${b})}.vui-icon-github{background-image:url(${w})}.vui-icon-modules{margin-right:5px;background-image:url(${y});opacity:.9}.vui-icon-assets{margin-right:5px;background-image:url(${x});background-size:18px 18px;opacity:.9}.vui-main{display:flex;flex-direction:column;width:100%;height:100%;overflow:hidden}.vui-main .vui-tab{display:flex;flex-direction:column}.vui-main .vui-tab .vui-tab-header{border-top:none}.vui-main .vui-tab .vui-tab-panes{flex:1;overflow:hidden}.vui-main .vui-tab .vui-tab-panes .vui-tab-pane{padding:0}.vui-title{padding:0 10px;font-weight:bold;font-size:16px;text-align:center}.vui-pane{display:flex;flex-direction:column;height:100%}.vui-filter{padding:5px 10px;border-bottom:1px solid #ddd;overflow:hidden}.vui-filter .vui-input input{padding-right:25px;background-image:url(${C});background-repeat:no-repeat;background-position:right 5px center;background-size:15px 15px}.vui-filter-info{height:30px;margin-left:10px;line-height:30px}.vui-separator{width:1px;height:19px;border-right:1px dotted #333}.vui-grid{overflow:hidden}.vui-grid .tg-row .tg-cell{border-right:none}.vui-grid .tg-row .vui-percent{width:100%;height:15px;margin-top:6px;border:1px solid #888;border-radius:3px}.vui-footer{position:relative;padding:8px;border-top:1px solid #eee;background:#f5f5f5}.vui-footer,.vui-footer a:link,.vui-footer a:visited{color:#888}.vui-footer a:hover{color:#333}.vui-link{margin-right:10px;cursor:pointer}.vui-link:hover{text-decoration:underline}.vui-info-disabled{margin-right:10px;font-weight:normal}.vui-info-warnings{color:orange}.vui-info-errors{color:red}.color-gray{color:gray}.color-green{color:green}.color-orange{color:orange}.color-red{color:red}.color-match{color:#191970}.tg-issuer-icon{width:100%;height:100%;background-color:#fff;background-image:url(${S});background-repeat:no-repeat;background-position:center center;pointer-events:none}.tg-flyover-icon{position:absolute;top:0;right:0;display:inline-block;width:20px;height:100%;cursor:pointer}.vui-flyover-main{height:100%;overflow:hidden}.vui-flyover-header{padding:0 10px;background-color:#666}.vui-flyover-icon{padding:9px 0;cursor:pointer}.vui-flyover-title{height:41px;color:#fff;font-weight:bold;font-size:16px;line-height:41px}.vui-flyover-content{padding:10px;overflow:auto}.vui-modal-block{margin-bottom:10px}.vui-modal-label{padding:3px 0;font-weight:bold;font-size:16px}.vui-modal-item{position:relative;display:flex;padding:5px;word-wrap:break-word;word-break:break-word;overflow-wrap:break-word;border-bottom:1px solid #f5f5f5}.vui-modal-item:hover{background-color:#f5f5f5}.vui-modal-arrow{display:inline-block;width:16px;height:16px;background-image:url(${I});background-repeat:no-repeat;background-position:center center;pointer-events:none}.vui-modal-table{position:relative;width:100%;margin-top:5px;border-collapse:collapse}.vui-modal-table th,.vui-modal-table td{padding:5px;text-align:left;border:1px solid #eee}.vui-modal-nowrap{white-space:nowrap}`,""]),t.exports=f},645:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var o="",n=void 0!==e[5];return e[4]&&(o+="@supports (".concat(e[4],") {")),e[2]&&(o+="@media ".concat(e[2]," {")),n&&(o+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),o+=t(e),n&&(o+="}"),e[2]&&(o+="}"),e[4]&&(o+="}"),o})).join("")},e.i=function(t,o,n,i,s){"string"==typeof t&&(t=[[null,t,void 0]]);var r={};if(n)for(var l=0;l<this.length;l++){var a=this[l][0];null!=a&&(r[a]=!0)}for(var c=0;c<t.length;c++){var u=[].concat(t[c]);n&&r[u[0]]||(void 0!==s&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=s),o&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=o):u[2]=o),i&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=i):u[4]="".concat(i)),e.push(u))}},e}},667:t=>{"use strict";t.exports=function(t,e){return e||(e={}),t?(t=String(t.__esModule?t.default:t),/^['"].*['"]$/.test(t)&&(t=t.slice(1,-1)),e.hash&&(t+=e.hash),/["'() \t\n]|(%20)/.test(t)||e.needQuotes?'"'.concat(t.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):t):t}},81:t=>{"use strict";t.exports=function(t){return t[1]}},925:t=>{var e,o,n=(e=(t,e)=>{e.exports={data:'(()=>{var x=(e,n)=>()=>(n||e((n={exports:{}}).exports,n),n.exports);var S=x((V,R)=>{var _=0,p=-3;function b(){this.table=new Uint16Array(16),this.trans=new Uint16Array(288)}function N(e,n){this.source=e,this.sourceIndex=0,this.tag=0,this.bitcount=0,this.dest=n,this.destLen=0,this.ltree=new b,this.dtree=new b}var y=new b,k=new b,w=new Uint8Array(30),h=new Uint16Array(30),L=new Uint8Array(30),T=new Uint16Array(30),O=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),A=new b,c=new Uint8Array(288+32);function D(e,n,r,a){var t,i;for(t=0;t<r;++t)e[t]=0;for(t=0;t<30-r;++t)e[t+r]=t/r|0;for(i=a,t=0;t<30;++t)n[t]=i,i+=1<<e[t]}function z(e,n){var r;for(r=0;r<7;++r)e.table[r]=0;for(e.table[7]=24,e.table[8]=152,e.table[9]=112,r=0;r<24;++r)e.trans[r]=256+r;for(r=0;r<144;++r)e.trans[24+r]=r;for(r=0;r<8;++r)e.trans[24+144+r]=280+r;for(r=0;r<112;++r)e.trans[24+144+8+r]=144+r;for(r=0;r<5;++r)n.table[r]=0;for(n.table[5]=32,r=0;r<32;++r)n.trans[r]=r}var I=new Uint16Array(16);function l(e,n,r,a){var t,i;for(t=0;t<16;++t)e.table[t]=0;for(t=0;t<a;++t)e.table[n[r+t]]++;for(e.table[0]=0,i=0,t=0;t<16;++t)I[t]=i,i+=e.table[t];for(t=0;t<a;++t)n[r+t]&&(e.trans[I[n[r+t]]++]=t)}function B(e){e.bitcount--||(e.tag=e.source[e.sourceIndex++],e.bitcount=7);var n=e.tag&1;return e.tag>>>=1,n}function u(e,n,r){if(!n)return r;for(;e.bitcount<24;)e.tag|=e.source[e.sourceIndex++]<<e.bitcount,e.bitcount+=8;var a=e.tag&65535>>>16-n;return e.tag>>>=n,e.bitcount-=n,a+r}function v(e,n){for(;e.bitcount<24;)e.tag|=e.source[e.sourceIndex++]<<e.bitcount,e.bitcount+=8;var r=0,a=0,t=0,i=e.tag;do a=2*a+(i&1),i>>>=1,++t,r+=n.table[t],a-=n.table[t];while(a>=0);return e.tag=i,e.bitcount-=t,n.trans[r+a]}function C(e,n,r){var a,t,i,o,s,f;for(a=u(e,5,257),t=u(e,5,1),i=u(e,4,4),o=0;o<19;++o)c[o]=0;for(o=0;o<i;++o){var F=u(e,3,0);c[O[o]]=F}for(l(A,c,0,19),s=0;s<a+t;){var g=v(e,A);switch(g){case 16:var M=c[s-1];for(f=u(e,2,3);f;--f)c[s++]=M;break;case 17:for(f=u(e,3,3);f;--f)c[s++]=0;break;case 18:for(f=u(e,7,11);f;--f)c[s++]=0;break;default:c[s++]=g;break}}l(n,c,0,a),l(r,c,a,t)}function U(e,n,r){for(;;){var a=v(e,n);if(a===256)return _;if(a<256)e.dest[e.destLen++]=a;else{var t,i,o,s;for(a-=257,t=u(e,w[a],h[a]),i=v(e,r),o=e.destLen-u(e,L[i],T[i]),s=o;s<o+t;++s)e.dest[e.destLen++]=e.dest[s]}}}function K(e){for(var n,r,a;e.bitcount>8;)e.sourceIndex--,e.bitcount-=8;if(n=e.source[e.sourceIndex+1],n=256*n+e.source[e.sourceIndex],r=e.source[e.sourceIndex+3],r=256*r+e.source[e.sourceIndex+2],n!==(~r&65535))return p;for(e.sourceIndex+=4,a=n;a;--a)e.dest[e.destLen++]=e.source[e.sourceIndex++];return e.bitcount=0,_}function j(e,n){var r=new N(e,n),a,t,i;do{switch(a=B(r),t=u(r,2,0),t){case 0:i=K(r);break;case 1:i=U(r,y,k);break;case 2:C(r,r.ltree,r.dtree),i=U(r,r.ltree,r.dtree);break;default:i=p}if(i!==_)throw new Error("Data error")}while(!a);return r.destLen<r.dest.length?typeof r.dest.slice=="function"?r.dest.slice(0,r.destLen):r.dest.subarray(0,r.destLen):r.dest}z(y,k);D(w,h,4,3);D(L,T,2,1);w[28]=0;h[28]=258;R.exports=j});var E=x((W,q)=>{var G=S(),H=e=>Uint8Array.from(atob(e),n=>n.charCodeAt(0)),J=e=>new TextDecoder().decode(e);q.exports=function(e){if(e){let[n,r]=e.split(".");if(n&&r){let a=H(n),t=new Uint8Array(parseInt(r));return G(a,t),J(t)}}}});var P=E();onmessage=function(e){postMessage(P(e.data))};postMessage("workerReady");})();\n'}},()=>(o||e((o={exports:{}}).exports,o),o.exports))();t.exports=t=>new Promise((e=>{let o=new Worker(URL.createObjectURL(new Blob([n.data],{type:"application/javascript"})));o.onmessage=n=>{"workerReady"!==n.data?(e(n.data),o.terminate()):o.postMessage(t)},o.onerror=t=>{e({error:t}),o.terminate()}}))},379:t=>{"use strict";var e=[];function o(t){for(var o=-1,n=0;n<e.length;n++)if(e[n].identifier===t){o=n;break}return o}function n(t,n){for(var s={},r=[],l=0;l<t.length;l++){var a=t[l],c=n.base?a[0]+n.base:a[0],u=s[c]||0,h="".concat(c," ").concat(u);s[c]=u+1;var d=o(h),g={css:a[1],media:a[2],sourceMap:a[3],supports:a[4],layer:a[5]};if(-1!==d)e[d].references++,e[d].updater(g);else{var p=i(g,n);n.byIndex=l,e.splice(l,0,{identifier:h,updater:p,references:1})}r.push(h)}return r}function i(t,e){var o=e.domAPI(e);o.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;o.update(t=e)}else o.remove()}}t.exports=function(t,i){var s=n(t=t||[],i=i||{});return function(t){t=t||[];for(var r=0;r<s.length;r++){var l=o(s[r]);e[l].references--}for(var a=n(t,i),c=0;c<s.length;c++){var u=o(s[c]);0===e[u].references&&(e[u].updater(),e.splice(u,1))}s=a}}},569:t=>{"use strict";var e={};t.exports=function(t,o){var n=function(t){if(void 0===e[t]){var o=document.querySelector(t);if(window.HTMLIFrameElement&&o instanceof window.HTMLIFrameElement)try{o=o.contentDocument.head}catch(t){o=null}e[t]=o}return e[t]}(t);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");n.appendChild(o)}},216:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},575:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach((function(o){t.setAttribute(o,e[o])}))}},37:t=>{"use strict";var e,o=(e=[],function(t,o){return e[t]=o,e.filter(Boolean).join("\n")});function n(t,e,n,i){var s;if(n)s="";else{s="",i.supports&&(s+="@supports (".concat(i.supports,") {")),i.media&&(s+="@media ".concat(i.media," {"));var r=void 0!==i.layer;r&&(s+="@layer".concat(i.layer.length>0?" ".concat(i.layer):""," {")),s+=i.css,r&&(s+="}"),i.media&&(s+="}"),i.supports&&(s+="}")}if(t.styleSheet)t.styleSheet.cssText=o(e,s);else{var l=document.createTextNode(s),a=t.childNodes;a[e]&&t.removeChild(a[e]),a.length?t.insertBefore(l,a[e]):t.appendChild(l)}}var i={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=i.singletonCounter++,o=i.singleton||(i.singleton=t.insertStyleElement(t));return{update:function(t){n(o,e,!1,t)},remove:function(t){n(o,e,!0,t)}}}},535:t=>{var e;self,e=()=>(()=>{var t={40:(t,e,o)=>{var n=o(550),i=o(45)(n);i.push([t.id,'.tg-turbogrid{position:relative;z-index:0;width:100%;height:100%;margin:0;padding:0;box-sizing:border-box;font-size:14px;font-family:arial,sans-serif;outline:0;cursor:default;overflow:hidden}.tg-turbogrid *,.tg-turbogrid *::before,.tg-turbogrid *::after{box-sizing:border-box}.tg-text-unselectable.tg-turbogrid{user-select:none}.tg-turbogrid svg{display:block;pointer-events:none}.tg-turbogrid .tg-symbols{font-family:webdings,sans-serif}.tg-turbogrid .tg-nowrap{white-space:nowrap}.tg-turbogrid .tg-align-left{text-align:left}.tg-turbogrid .tg-align-center{text-align:center}.tg-turbogrid .tg-align-right{text-align:right}@keyframes tg-fade-in{from{opacity:0}to{opacity:1}}@keyframes tg-fade-out{from{opacity:1}to{opacity:0}}.tg-turbogrid .tg-fade-in{animation-name:tg-fade-in;animation-duration:.2s;animation-fill-mode:both}.tg-turbogrid .tg-fade-in .tg-scrollbar-track{display:none}.tg-turbogrid .tg-fade-out{animation-name:tg-fade-out;animation-duration:.2s;animation-fill-mode:both}.tg-turbogrid .tg-fade-out .tg-scrollbar-track{display:none}@keyframes tg-loading-animation{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}.tg-turbogrid .tg-loading{position:absolute;top:50%;left:50%;z-index:100;display:none;transform:translate(-50%, -50%);pointer-events:none}.tg-turbogrid .tg-loading-default{width:35px;height:35px;color:#0077cf;animation:1s tg-loading-animation linear infinite}.tg-turbogrid .tg-loading-fast{animation:.382s tg-loading-animation linear infinite}.tg-turbogrid .tg-checkbox{width:100%;height:100%;cursor:pointer;overflow:hidden}.tg-turbogrid .tg-checkbox:hover .tg-checkbox-item{fill:#005ba1}.tg-turbogrid .tg-checkbox.tg-select-icon-all{height:18px}.tg-turbogrid .tg-checkbox .tg-icon-checkbox{position:absolute;top:50%;left:50%;display:block;width:16px;height:16px;transform:translate(-50%, -50%)}.tg-turbogrid .tg-checkbox .tg-checkbox-item{display:none;fill:gray}.tg-turbogrid .tg-checkbox .tg-checkbox-none{display:block}.tg-turbogrid .tg-checkbox.tg-selected .tg-checkbox-selected{display:block;fill:#0077cf}.tg-turbogrid .tg-checkbox.tg-mixed .tg-checkbox-mixed{display:block;fill:#0077cf}.tg-turbogrid .tg-radio{cursor:pointer;overflow:hidden}.tg-turbogrid .tg-radio:hover .tg-icon-radio::before{border-color:#005ba1}.tg-turbogrid .tg-radio .tg-icon-radio{position:absolute;top:50%;left:50%;width:16px;height:16px;transform:translate(-50%, -50%)}.tg-turbogrid .tg-radio .tg-icon-radio::before{position:absolute;top:50%;left:50%;content:"";display:block;width:16px;height:16px;border:thin solid gray;border-radius:50%;background:#fff;transform:translate(-50%, -50%)}.tg-turbogrid .tg-radio .tg-icon-radio::after{position:absolute;top:50%;left:50%;content:"";display:none;width:10px;height:10px;border-radius:50%;background:#0077cf;transform:translate(-50%, -50%)}.tg-turbogrid .tg-radio.tg-selected .tg-icon-radio::after{display:block;border-color:#0077cf}.tg-turbogrid .tg-scrollbar{position:absolute;z-index:100;overflow:hidden;user-select:none}.tg-turbogrid .tg-scrollbar-v{top:0;right:0}.tg-turbogrid .tg-scrollbar-h{left:0;bottom:0}.tg-turbogrid .tg-scrollbar-track{position:relative;width:100%;height:100%;background:#f9f9f9;overflow:hidden;user-select:none}.tg-turbogrid .tg-scrollbar-thumb{position:absolute;top:0;left:0;border-radius:1px;background:#999;overflow:hidden;user-select:none}.tg-turbogrid .tg-scrollbar-thumb:hover{background:#888}.tg-turbogrid .tg-scrollbar-thumb-hold{background:#666}.tg-turbogrid .tg-scrollbar-thumb-hold:hover{background:#666}.tg-turbogrid .tg-scrollbar-round .tg-scrollbar-track{border-radius:10px}.tg-turbogrid .tg-scrollbar-round .tg-scrollbar-thumb{border-radius:10px}.tg-turbogrid .tg-scroll-pane{position:relative;margin:0;padding:0;border:none;outline:none;overflow:hidden}.tg-turbogrid .tg-scroll-view{position:relative;width:100%;height:100%;margin:0;padding:0;border:none;overflow:hidden}.tg-turbogrid .tg-scroll-body{position:absolute}.tg-turbogrid .tg-header{position:relative;width:10000px;border-left:0;overflow:hidden}.tg-turbogrid .tg-header-table{position:relative;color:#5e5e5e;font-weight:bold;font-size:14px;line-height:16px;border-bottom:thin solid #e5e5e5;overflow:hidden}.tg-turbogrid .tg-header-item{position:absolute;bottom:0}.tg-turbogrid .tg-header-group-item{overflow:hidden}.tg-turbogrid .tg-header-group-item::after{position:absolute;left:5px;bottom:0;content:"";display:block;width:calc(100% - 10px);height:1px;border-bottom:thin solid #ccc}.tg-turbogrid .tg-column-header{position:absolute;bottom:0;overflow:hidden}.tg-turbogrid .tg-column-header .tg-column-name{padding:10px 5px;text-overflow:ellipsis;overflow:hidden}.tg-turbogrid .tg-column-header .tg-column-name.tg-header-group-name{margin:0 5px;padding:5px 0}.tg-turbogrid .tg-column-resizing{position:absolute;top:0;right:-5px;z-index:100;width:10px;height:100%;background:#ccc;cursor:ew-resize;opacity:0}.tg-turbogrid .tg-header-column-last .tg-column-resizing{right:0}.tg-turbogrid .tg-column-sortable .tg-column-name{cursor:pointer}.tg-turbogrid .tg-column-sortable .tg-sort-indicator{cursor:pointer}.tg-turbogrid .tg-column-sorted{color:#000}.tg-turbogrid .tg-header-sort-h .tg-column-name{padding:12px 5px 15px}.tg-turbogrid .tg-header-sort-h .tg-column-sort{width:100%;height:15px;margin-top:-15px;padding:0 5px;overflow:hidden}.tg-turbogrid .tg-header-sort-h .tg-sort-indicator{position:relative;display:none;width:100%;height:100%}.tg-turbogrid .tg-header-sort-h .tg-column-sorted .tg-column-sort .tg-sort-indicator{display:block}.tg-turbogrid .tg-header-sort-h .tg-sort-indicator-line{position:absolute;top:1px;width:100%;height:0;border-top:thin solid #1e1e1e;overflow:hidden}.tg-turbogrid .tg-header-sort-h .tg-sort-indicator-icon{position:absolute;top:5px;left:0;right:inherit}.tg-turbogrid .tg-header-sort-h .tg-align-right .tg-sort-indicator-icon{left:inherit;right:0}.tg-turbogrid .tg-header-sort-h .tg-align-center .tg-sort-indicator-icon{left:50%;transform:translateX(-50%)}.tg-turbogrid .tg-header-sort-h .tg-sort-indicator-icon .tg-icon-sort-h{display:block;width:19px;height:6px}.tg-turbogrid .tg-header-sort-h .tg-sort-indicator-icon .tg-icon-item{display:none;fill:#1e1e1e}.tg-turbogrid .tg-header-sort-h .tg-sort-indicator-icon .tg-icon-item-light{fill:#ababab}.tg-turbogrid .tg-column-sort-v{display:flex;flex-direction:row;align-items:center}.tg-turbogrid .tg-column-sort-v .tg-column-name{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.tg-turbogrid .tg-column-sort-v.tg-align-right{justify-content:right}.tg-turbogrid .tg-column-sort-v .tg-sort-indicator{position:relative;width:16px;height:16px}.tg-turbogrid .tg-column-sort-v .tg-sort-indicator-icon{position:absolute}.tg-turbogrid .tg-column-sort-v .tg-sort-indicator-icon .tg-icon-sort-v{display:block;width:10px;height:16px}.tg-turbogrid .tg-column-sort-v .tg-sort-indicator-icon .tg-icon-item{fill:#ababab}.tg-turbogrid .tg-column-sort-v .tg-sort-indicator-icon .tg-icon-item-light{fill:#ababab}.tg-turbogrid .tg-column-sort-v.tg-column-sorted .tg-sort-indicator-icon .tg-icon-item{fill:#1e1e1e}.tg-turbogrid .tg-column-sort-v.tg-column-sorted .tg-sort-indicator-icon .tg-icon-item-light{fill:#ababab}.tg-turbogrid .tg-sort-desc .tg-sort-indicator .tg-sort-indicator-icon .tg-desc{display:block}.tg-turbogrid .tg-sort-desc .tg-sort-indicator .tg-sort-indicator-icon .tg-asc{display:none}.tg-turbogrid .tg-sort-asc .tg-sort-indicator .tg-sort-indicator-icon .tg-desc{display:none}.tg-turbogrid .tg-sort-asc .tg-sort-indicator .tg-sort-indicator-icon .tg-asc{display:block}.tg-turbogrid .tg-column-line{position:absolute;top:0;left:0;z-index:100;display:none;height:100%;pointer-events:none}.tg-turbogrid .tg-column-line-item{position:absolute;top:0;bottom:0;display:block;width:0;height:100%;border-left:thin solid #ccc}.tg-turbogrid .tg-column-line-item.tg-active{border-left:thin solid #0077cf}.tg-turbogrid .tg-column-dragging{cursor:ew-resize}.tg-turbogrid .tg-column-dragging .tg-column-name{cursor:ew-resize}.tg-turbogrid .tg-column-dragging .tg-column-resizing:not(.tg-resizing-active){display:none}.tg-turbogrid .tg-tree{position:relative;display:flex;flex-direction:row;justify-items:left;align-items:center;width:100%;height:100%;overflow:hidden}.tg-turbogrid .tg-tree-icon{position:relative;width:15px;height:100%;min-height:9px;text-align:left;cursor:pointer;overflow:hidden}.tg-turbogrid .tg-tree-icon .tg-icon-tree{position:absolute;top:50%;left:0;display:block;width:9px;height:9px;transform:translate(0, -50%);overflow:hidden}.tg-turbogrid .tg-tree-icon .tg-tree-item{display:none}.tg-turbogrid .tg-tree-icon-collapsed .tg-tree-collapsed{display:block}.tg-turbogrid .tg-tree-icon-empty .tg-tree-collapsed{opacity:.5}.tg-turbogrid .tg-tree-icon-expanded .tg-tree-expanded{display:block}.tg-turbogrid .tg-tree-name{flex:1;text-overflow:ellipsis;overflow:hidden}.tg-turbogrid .tg-tree-header .tg-tree .tg-tree-icon{display:none}.tg-turbogrid .tg-tree-icon-all{position:relative;height:17px}.tg-turbogrid .tg-tree-header-indent .tg-tree{padding-left:5px}.tg-turbogrid .tg-tree-header-indent .tg-tree .tg-tree-icon{display:block}.tg-turbogrid .tg-tree-header-indent.tg-column-sort-h .tg-column-sort{width:calc(100% - 20px);margin-left:20px}.tg-turbogrid .tg-pane{position:absolute;width:100%;outline:0;overflow:hidden}.tg-turbogrid .tg-header-frame{position:relative;display:block;outline:0;overflow:hidden}.tg-turbogrid .tg-header-frame .tg-pane{height:100%}.tg-turbogrid .tg-body-frame{position:relative;width:100%;outline:0}.tg-turbogrid .tg-body-message{position:absolute;display:none;width:100%;height:100%;padding:10px;overflow:hidden}.tg-turbogrid .tg-body-message img,.tg-turbogrid .tg-body-message div{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.tg-turbogrid .tg-body{position:absolute;outline:0}.tg-turbogrid .tg-cell-hover-icon{display:none}.tg-touch-device.tg-turbogrid .tg-cell-hover-icon{display:inherit}.tg-turbogrid .tg-cell-row-number{font-weight:normal}.tg-turbogrid .tg-cell-row-drag .tg-row-drag-icon{position:absolute;top:50%;left:50%;width:24px;height:24px;cursor:move;opacity:.8;transform:translate(-50%, -50%)}.tg-turbogrid .tg-cell-row-drag .tg-row-drag-icon:hover{opacity:1}.tg-turbogrid .tg-cell{position:absolute;z-index:1;height:100%;margin:0;padding:0 5px;color:#1e1e1e;white-space:nowrap;text-overflow:ellipsis;vertical-align:middle;overflow:hidden}.tg-turbogrid .tg-cell:focus{outline:none}.tg-turbogrid .tg-cell.tg-flashing{border:1px solid red !important}.tg-turbogrid .tg-cell.tg-selected{background-color:beige}.tg-turbogrid .tg-cell.tg-multiline{padding:3px 5px;line-height:1.15;white-space:normal}.tg-turbogrid .tg-cell.tg-align-left.tg-cell-negative{padding-left:1px}.tg-turbogrid .tg-cell.tg-align-right.tg-cell-negative{padding-right:1px}.tg-turbogrid .tg-row{position:absolute;width:100%;border:0;border-bottom:thin solid #e5e5e5}.tg-turbogrid .tg-row.tg-group-line{border-bottom:thin solid #999}.tg-turbogrid .tg-row.tg-none-line{border-bottom:none}.tg-turbogrid .tg-row.tg-top-line{border-top:thin solid #e5e5e5}.tg-turbogrid .tg-row.tg-group{font-weight:bold;overflow:hidden}.tg-turbogrid .tg-row.tg-group .tg-cell.tg-align-left.tg-cell-negative{padding-left:0}.tg-turbogrid .tg-row.tg-group .tg-cell.tg-align-right.tg-cell-negative{padding-right:0}.tg-turbogrid .tg-row.tg-hover .tg-cell .tg-cell-hover-icon{display:inherit}.tg-turbogrid .tg-row.tg-dragging{opacity:.3}.tg-turbogrid .tg-row.tg-clone{z-index:1000;border:1px dashed #ccc;border-right:none;border-left:none;background:#fff;cursor:move;opacity:.5}.tg-turbogrid .tg-row.tg-clone *{cursor:move}.tg-turbogrid .tg-row-placeholder{position:absolute;z-index:9999;width:100%;border-top:2px solid #00a8e1;pointer-events:none}.tg-turbogrid .tg-row::before,.tg-turbogrid .tg-row::after{position:absolute;top:0;left:0;content:"";z-index:100;display:none;width:100%;height:100%;pointer-events:none}.tg-turbogrid .tg-hover.tg-row::before{display:block;background:rgba(0,0,0,.08)}.tg-turbogrid .tg-selected.tg-row::after{display:block;background:rgba(0,0,0,.13)}.tg-lightblue .tg-header-item{border-top:thin solid #e8eaf0;border-right:thin solid #e8eaf0}.tg-lightblue .tg-column-name{padding:5px;color:#304265}.tg-lightblue .tg-header-group-item::after{display:none}.tg-lightblue .tg-checkbox .tg-icon-item{fill:#d4d7e0}.tg-lightblue .tg-checkbox:hover .tg-icon-item{fill:#107fff}.tg-lightblue .tg-checkbox.tg-selected .tg-select-checkbox{fill:#107fff}.tg-lightblue .tg-checkbox.tg-mixed .tg-select-mixed{fill:#107fff}.tg-lightblue .tg-cell{color:#304265;border-right:thin solid #e8eaf0}.tg-lightblue .tg-cell.tg-multiline{padding:0}.tg-lightblue .tg-row{border-bottom:thin solid #e8eaf0}.tg-lightblue .tg-row.tg-group-line{border-bottom:thin solid #c9ccd8}.tg-lightblue .tg-row.tg-selected{background:rgba(58,116,213,.05)}.tg-lightblue .tg-row.tg-hover{background:rgba(58,116,213,.05)}.tg-lightblue .tg-row.tg-even{background:#fbfcfe}.tg-lightblue .tg-row.tg-odd{background:#fff}.tg-lightblue .tg-hover.tg-row::before{background:rgba(58,116,213,.05)}.tg-lightblue .tg-selected.tg-row::after{background:rgba(58,116,213,.1)}.tg-lightblue .tg-header-frame{border-bottom:thin solid #e8eaf0}.tg-lightblue .tg-row-not-found .tg-frozen-line-v{border-right:none}.tg-lightblue .tg-scrollbar-track{background:#fff}.tg-lightblue .tg-scrollbar-thumb{background:rgba(48,66,101,.35)}.tg-lightblue .tg-scrollbar-thumb:hover{background-color:#a8a8a8}.tg-lightblue .tg-scrollbar-thumb:active{background-color:#787878}.tg-dark{background:#1e1e1e}.tg-dark .tg-checkbox .tg-icon-item{fill:#ababab}.tg-dark .tg-header-table{color:#ccc;border-bottom:thin solid #333}.tg-dark .tg-header-group-item::after{border-bottom:1px solid #999}.tg-dark .tg-column-sorted{color:#fff}.tg-dark .tg-column-sorted .tg-tree-icon-all .tg-icon-item{fill:#fff}.tg-dark .tg-header-sort-h .tg-sort-indicator-line{border-top:thin solid #eee}.tg-dark .tg-header-sort-h .tg-sort-indicator-icon .tg-icon-item{fill:#eee}.tg-dark .tg-header-sort-h .tg-sort-indicator-icon .tg-icon-item-light{fill:#666}.tg-dark .tg-column-sort-v .tg-sort-indicator-icon .tg-icon-item{fill:#666}.tg-dark .tg-column-sort-v .tg-sort-indicator-icon .tg-icon-item-light{fill:#666}.tg-dark .tg-column-sort-v.tg-column-sorted .tg-sort-indicator-icon .tg-icon-item{fill:#fff}.tg-dark .tg-column-sort-v.tg-column-sorted .tg-sort-indicator-icon .tg-icon-item-light{fill:#666}.tg-dark .tg-tree-icon .tg-icon-item{fill:#fff}.tg-dark .tg-tree-icon-all .tg-icon-item{fill:#999}.tg-dark .tg-header-item .tg-tree-icon .tg-icon-item{fill:#999}.tg-dark .tg-header-item .tg-column-sorted .tg-tree-icon .tg-icon-item{fill:#fff}.tg-dark .tg-row{border-bottom:thin solid #333}.tg-dark .tg-row.tg-group-line{border-bottom:thin solid #666}.tg-dark .tg-row.tg-clone{border:1px dashed #1e1e1e;opacity:.1}.tg-dark .tg-cell{color:#eee}.tg-dark .tg-body-message{color:#eee}.tg-dark .tg-hover.tg-row::before{background:rgba(255,255,255,.1)}.tg-dark .tg-selected.tg-row::after{background:rgba(255,255,255,.2)}.tg-dark .tg-scrollbar-track{background:#333}.tg-dark .tg-scrollbar-thumb{background:#bbb}.tg-dark .tg-scrollbar-thumb:hover{background:#ddd}.tg-dark .tg-scrollbar-thumb-hold{background:#eee}.tg-dark .tg-scrollbar-thumb-hold:hover{background:#eee}.tg-pointer-events-none{pointer-events:none}',""]),t.exports=i},45:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var o="",n=void 0!==e[5];return e[4]&&(o+="@supports (".concat(e[4],") {")),e[2]&&(o+="@media ".concat(e[2]," {")),n&&(o+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),o+=t(e),n&&(o+="}"),e[2]&&(o+="}"),e[4]&&(o+="}"),o})).join("")},e.i=function(t,o,n,i,s){"string"==typeof t&&(t=[[null,t,void 0]]);var r={};if(n)for(var l=0;l<this.length;l++){var a=this[l][0];null!=a&&(r[a]=!0)}for(var c=0;c<t.length;c++){var u=[].concat(t[c]);n&&r[u[0]]||(void 0!==s&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=s),o&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=o):u[2]=o),i&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=i):u[4]="".concat(i)),e.push(u))}},e}},550:t=>{"use strict";t.exports=function(t){return t[1]}}},e={};function o(n){var i=e[n];if(void 0!==i)return i.exports;var s=e[n]={id:n,exports:{}};return t[n](s,s.exports,o),s.exports}o.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return o.d(e,{a:e}),e},o.d=(t,e)=>{for(var n in e)o.o(e,n)&&!o.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},o.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),o.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var n={};return(()=>{"use strict";o.r(n),o.d(n,{$:()=>v,CONST:()=>e,EventBase:()=>_,Grid:()=>Ut,Icon:()=>U,Motion:()=>O,ScrollPane:()=>_t,TIMESTAMP:()=>Yt,Util:()=>u,VERSION:()=>Gt,default:()=>Xt});const t="turbogrid",e={ID:t,NS:`tg-${t}`,VERSION:"3.0.8",TIMESTAMP:"2023-10-23T06:51:09.510Z",UP:"up",DOWN:"down",LEFT:"left",RIGHT:"right",TREE_INDENT:15},i=function(t){if(!t||"object"!=typeof t)return!1;const e=Object.prototype.toString.call(t);return!(!["[object Object]","[object Array]"].includes(e)||t.constructor&&![Object,Array].includes(t.constructor))},s=function(){const t=Array.from(arguments),e=t.length;if(!e)return{};let o=!0;return!1===t[e-1]&&(o=!1),function(t,e){let o;return t.forEach((t=>{i(t)&&(o||(o=t instanceof Array?[]:{}),t instanceof Array?function(t,e,o){const n=e.length;for(let r=0;r<n;r++){const n=e[r];o&&i(n)?t[r]=s(t[r],n):t[r]=n}t instanceof Array&&(t.length=n)}(o,t,e):function(t,e,o){Object.keys(e).forEach((function(n){const r=e[n];o&&i(r)&&Object.prototype.hasOwnProperty.call(t,n)?t[n]=s(t[n],r):t[n]=r}))}(o,t,e))})),o||{}}(t,o)},r=s;class l{start(t){this.callback=t,this.started||(this.started=!0,this.create())}create(){if("function"!=typeof window.queueMicrotask){if("function"!=typeof Promise)throw new Error("Current browser does NOT support queueMicrotask or Promise");Promise.resolve().then((()=>{this.execute()}))}else window.queueMicrotask((()=>{this.execute()}))}execute(){if(!this.started)return;this.started=!1;const t=this.callback;this.callback=null,"function"==typeof t&&t.call(this)}cancel(){this.started=!1,this.callback=null}}const a=new WeakMap,c={isObject:i,merge:r,hasOwn:function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},uid:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:8,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";for(;t--;)e+="0123456789abcdefghijklmnopqrstuvwxyz"[36*Math.random()|0];return e},isNum:function(t){return"number"==typeof t&&!isNaN(t)&&(e=t)!==Number.MAX_VALUE&&e!==Number.MIN_VALUE&&e!==Number.NEGATIVE_INFINITY&&e!==Number.POSITIVE_INFINITY;var e},toNum:function(t,e){return"number"!=typeof t&&(t=parseFloat(t)),isNaN(t)&&(t=0),e&&!Number.isInteger(t)&&(t=Math.round(t)),t},convertNum:function(t){return"string"==typeof t&&/^[-+]?\d+(\.\d+)?$/gi.test(t)?parseFloat(t):t},clamp:function(t,e,o){return Math.max(Math.min(t,o),e)},per:function(t){return t=c.toNum(t),c.clamp(t,0,1)},replace:function(t,e){return t=`${t}`,e?t=t.replace(/\{([^}]+)\}/g,(function(t,o){return c.hasOwn(e,o)?e[o]:t})):t},isArray:function(t){return!!(t&&t instanceof Array)},toList:function(t){return t instanceof Array?t:void 0===t?[]:"string"==typeof t?[t]:t&&c.hasOwn(t,"length")?Array.from(t):[t]},isList:function(t){return!!(c.isArray(t)&&t.length>0)},inList:function(t,e){if(!c.isList(e))return!1;for(let o=0,n=e.length;o<n;o++)if(e[o]===t)return!0;return!1},isDate:function(t){return!!(t&&t instanceof Date)&&!isNaN(t.getTime())},isPromise:function(t){return Boolean(t)&&("object"==typeof t||"function"==typeof t)&&"function"==typeof t.then},getValue:function(t,e,o){if(!e)return o;let n=t;const i=e.split("."),s=i.pop();for(;n&&i.length;)n=n[i.shift()];if(n&&c.hasOwn(n,s)){const t=n[s];if(void 0!==t)return t}return o},forEachTree:function(t,e){const o=(t,n)=>{if(!c.isList(t))return;let i=0;const s=t.length;for(;i<s;){const s=t[i];if(!1===e(s,i,n))return!1;if(!1===o(s.subs,s))return!1;i++}};o(t)},removePreProps:function(t,e){t&&e&&Object.keys(t).filter((t=>t.startsWith(e))).forEach((e=>{t[e]=null}))},hasShiftKey:function(t){let e=!1;return t&&(e=t.shiftKey),e},isTouchDevice:function(){return"ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0},contains:function(t,e){if(!t||!e)return!1;if(t===e)return!0;if("function"==typeof t.contains)return t.contains(e);let o=e.parentNode;for(;o;){if(o===t)return!0;o=o.parentNode}return!1},isNarrowCharacter:function(t){const e=t.codePointAt(0);return e>=32&&e<=126||162===e||163===e||165===e||166===e||172===e||175===e||8361===e||e>=10214&&e<=10221||10629===e||10630===e||e>=65377&&e<=65470||e>=65474&&e<=65479||e>=65482&&e<=65487||e>=65490&&e<=65495||e>=65498&&e<=65500||e>=65512&&e<=65518},getCharLen:function(t){let e=0;if(!t)return e;for(const o of String(t))e+=c.isNarrowCharacter(o)?1:2;return e},pascalToKebabCase:function(t){return`${t}`.trim().replace(/([a-z])([A-Z])/g,"$1-$2").replace(/\W/g,(t=>/[À-ž]/.test(t)?t:"-")).replace(/^-+|-+$/g,"").replace(/-{2,}/g,"-").toLowerCase()},classMap:function(t){if("string"==typeof t)return t.trim();if(Array.isArray(t)){let e=t.filter((t=>t));return e=e.map((t=>t&&"object"==typeof t?c.classMap(t):String(t).trim())),e=e.filter((t=>t)),e=Array.from(new Set(e)),e.join(" ")}if(t&&"object"==typeof t){const e=[];return Object.keys(t).forEach((o=>{t[o]&&e.push(o)})),e.join(" ")}return""},styleMap:function(t){if("string"==typeof t)return t.trim();if(Array.isArray(t)){let e=t.filter((t=>t));return e=e.map((t=>{const e=String(t).trim();return e?-1===e.indexOf(":")?"":e.endsWith(";")?e:`${e};`:""})),e=e.filter((t=>t)),e=Array.from(new Set(e)),e.join(" ")}if(t&&"object"==typeof t){const e=[];return Object.keys(t).forEach((o=>{const n=t[o];if(n||0===n){const t=String(n).trim();t&&e.push(`${c.pascalToKebabCase(o)}: ${t};`)}})),e.join(" ")}return""},getInstance:function(t){if(t){const e=document.getElementById(t);if(e)return a.get(e)}},setInstance:function(t,e){t&&a.set(t,e)},bindEvents:function(t,e){t&&(c.unbindEvents(t),Object.keys(t).forEach((o=>{const n=t[o];n.target=n.target||e,n.target.addEventListener(o,n.handler,n.options)})))},unbindEvents:function(t){t&&Object.keys(t).forEach((e=>{const o=t[e];o.target&&o.target.removeEventListener(e,o.handler,o.options)}))},preventDefault:function(t){t&&"function"==typeof t.preventDefault&&t.cancelable&&t.preventDefault()},debounce:function(t){let e,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:100;const n=function(){clearTimeout(e),e=setTimeout((()=>{t.apply(this,arguments)}),o)};return n.cancel=()=>{clearTimeout(e)},n},throttle:function(t){let e,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:100,n=0;const i=function(){const i=Date.now();if(i>n+o)return clearTimeout(e),n=i,void t.apply(this,arguments);clearTimeout(e),e=setTimeout((()=>{n=i,t.apply(this,arguments)}),o)};return i.cancel=()=>{clearTimeout(e),n=0},i},microtask:function(t){const e=new l,o=function(){e.start((()=>{t.apply(this,arguments)}))};return o.cancel=()=>{e.cancel()},o},cancelAsync:function(t){t&&(Object.keys(t).filter((e=>e.startsWith("async")&&"function"==typeof t[e])).forEach((e=>{const o=t[e];"function"==typeof o.cancel&&(o.cancel(),t[e]=null)})),Object.keys(t).filter((t=>t.startsWith("timeout"))).forEach((e=>{clearTimeout(t[e])})))}},u=c,h={animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},d=function(t){return null!==t&&1===t.nodeType},g=function(t){let e=t.ownerDocument.defaultView;return e&&e.opener||(e=window),e.getComputedStyle(t)},p={},f=function(t,e){return null!=(o=t)&&o===o.window?t[`inner${e}`]:(function(t){return null!==t&&9===t.nodeType}(t)&&(t=t.body),t[`client${e}`]);var o},m=function(t){return this.list=[],t?this.create(t):this};function v(t){return new m(t)}m.prototype={constructor:m,Query:"Query",list:[],create:function(t){return t instanceof m?t:"string"==typeof t?this.createFromString(t):((t.nodeType||t===window)&&(this.list=[t]),this)},createFromString:function(t){if("<"===(t=t.trim())[0]&&">"===t[t.length-1]&&t.length>=3)this.parseHTML(t);else{const e=document.querySelectorAll(t);for(let t=0,o=e.length;t<o;t++)this.list[t]=e[t]}return this},parseHTML:function(t){const e=document.createElement("div");e.innerHTML=t;let o=e.firstChild;for(;o;)d(o)&&this.list.push(o),o=o.nextSibling;return this},get:function(t){return this.list[t]},each:function(t){if("function"!=typeof t)return this;const e=this.list;for(let o=0,n=e.length;o<n;o++){const n=e[o];if(!1===t.call(this,n,o))break}return this},add:function(t){if(!t)return this;const e=this.list;return t instanceof m?(t.each((function(t){e.push(t)})),this):(t.nodeType&&e.push(t),this)},empty:function(){return this.each((function(t){t.innerHTML=""})),this},remove:function(){return this.each((function(t,e){t&&t.parentNode&&t.parentNode.removeChild(t)})),this.list=[],this},find:function(t){const e=new m;return t&&"string"==typeof t?(this.each((function(o){if(o&&o.querySelectorAll){const n=o.querySelectorAll(t);for(let t=0,o=n.length;t<o;t++)e.add(n[t])}})),e):e},prepend:function(t){if(!t)return this;const e=new m(t);return this.each((function(t){e.each((function(e){t.insertBefore(e,t.firstChild)}))})),this},append:function(t){if(!t)return this;const e=new m(t);return this.each((function(t){e.each((function(e){t.appendChild(e)}))})),this},appendTo:function(t){if(!t)return this;const e=new m(t);return this.each((function(t){e.append(t)})),this},html:function(t){if(0===arguments.length){const t=this.get(0);return t?t.innerHTML:""}return this.each((function(e){e.innerHTML=t})),this},width:function(t){if(0===arguments.length){const t=this.get(0);return t?f(t,"Width"):0}return this.css("width",t),this},height:function(t){if(0===arguments.length){const t=this.get(0);return t?f(t,"Height"):0}return this.css("height",t),this},css:function(t,e){if(!t)return this;if(1===arguments.length){if("object"!=typeof t){const e=this.get(0);return e?g(e)[(o=t,o.replace(/-([a-z])/g,(function(t,e){return e.toUpperCase()})))]:void 0}Object.keys(t).forEach((e=>{this.css(e,t[e])}))}var o;return this.each((function(o){let n=e;"number"!=typeof n||h[t]||(n+="px"),o.style[t]=n})),this},attr:function(t,e){if(!t)return this;if(1===arguments.length){if("object"==typeof t)return Object.keys(t).forEach((e=>{this.attr(e,t[e])})),this;const e=this.get(0);return e?e.getAttribute(t):void 0}return this.each((function(o){o.setAttribute(t,e)})),this},removeAttr:function(t){return t?(this.each((function(e){e.hasAttribute(t)&&e.removeAttribute(t)})),this):this},removeClass:function(t){if(!arguments.length)return this.each((function(t){t.className=""})),this;if(!t||"string"!=typeof t)return this;const e=t.split(" ");return this.each((function(t){e.forEach((function(e){e&&t.classList.remove(e)}))})),this},addClass:function(t){if(!t||"string"!=typeof t)return this;const e=t.split(" ");return this.each((function(t){e.forEach((function(e){e&&t.classList.add(e)}))})),this},hasClass:function(t){if(!t||"string"!=typeof t)return!1;let e=!1;return this.each((function(o){if(o.classList.contains(t))return e=!0,!1})),e},show:function(){return this.each((function(t){if(!d(t))return;const e=function(t){if(!p[t]){const e=document.createElement(t);document.body.appendChild(e);const o=g(e).display;e.parentNode.removeChild(e),p[t]=o}return p[t]}(t.nodeName);t.style.display=e})),this},hide:function(){return this.each((function(t){d(t)&&"none"!==t.style.display&&(t.style.display="none")})),this},click:function(){const t=this.get(0);return t&&"function"==typeof t.click&&t.click(),this},offset:function(){const t={left:0,top:0},e=this.get(0);if(e){const o=e.getBoundingClientRect();t.left=o.left+window.scrollX,t.top=o.top+window.scrollY}return t},clone:function(){const t=new m;return this.each((function(e){if(e&&e.cloneNode){const o=e.cloneNode(!0);t.add(o)}})),t},children:function(){const t=new m;return this.each((function(e){let o=e.firstChild;for(;o;)t.add(o),o=o.nextSibling})),t},parent:function(){const t=this.get(0);return t?new m(t.parentNode):new m},is:function(t){if(!t)return!1;const e=t.split(",");let o=!0;return this.each((function(t){if(!t.nodeName)return o=!1,!1;const n=t.nodeName.toLowerCase();return u.inList(n,e)?void 0:(o=!1,!1)})),o}},Object.defineProperty(m.prototype,"length",{get:function(){return this.list.length}});const b={createCache:function(){this.headerCache=new Map,this.bodyCache=new Map,this.dataCache=new WeakMap},setHeaderCache:function(t,e){this.headerCache.set(t,e)},getHeaderCache:function(t){return this.headerCache.get(t)},clearHeaderCache:function(){this.headerCache.clear()},setRowCache:function(t,e){this.bodyCache.set(t,{rowNodes:e,cellNodes:new Map})},getRowCache:function(t){return this.bodyCache.get(t)},deleteRowCache:function(t){const e=this.getRowNodesByIndex(t);e&&e.each((t=>{this.removeNode(t)})),this.bodyCache.delete(t)},deleteCellCache:function(t,e){t&&(this.removeNode(t.get(e)),t.delete(e))},getRowNodesByIndex:function(t){const e=this.getRowCache(t);if(e)return e.rowNodes},getCellNodeByIndex:function(t,e){const o=this.getRowCache(t);if(o)return o.cellNodes.get(e)},forEachBodyCache:function(t){this.bodyCache.forEach(((e,o)=>{t.call(this,o,e.rowNodes,e.cellNodes)}))},updateRowCacheTopOffset:function(){const t=this.frozenInfo.row;this.forEachBodyCache(((e,o,n)=>{if(!(e<=t)&&o){const t=this.getViewRowItem(e),n=this.getViewRowTop(t);o.css("top",n)}}))},setNodeDataCache:function(t,e){if(t)return this.dataCache.set(t,e)},getNodeDataCache:function(t){if(t)return this.dataCache.get(t)},removeCache:function(){this.headerCache=null,this.bodyCache=null,this.dataCache=null}},w=["onUpdated","onFirstUpdated","onHeaderUpdated","onSort","onColumnAdded","onColumnRemoved","onColumnWidthChanged","onRowAdded","onRowRemoved","onRowExpanded","onRowCollapsed","onRowSubsRequest","onRowDragged","onRowDropped","onRowMoved","onRowMouseEnter","onRowMouseLeave","onSelectChanged","onCellUpdated","onCellMouseEnter","onCellMouseLeave","onClick","onDblClick","onContextMenu","onMouseOver","onMouseOut","onTouchStart","onTouchMove","onTouchEnd","onScroll","onScrollStateChanged","onMouseWheel","onResize","onLayout","onKeyDown","onDestroy"],y={};w.forEach((t=>{y[t]=t}));const x=y,C={renderCells:function(t,e){t.forEach((t=>{this.drawRowCells(t,e)}))},getCellValue:function(t,e){return t[e.id]},renderCell:function(t,e,o){const n=this.getCellValue(t,e);let i=n;this.nullFormatter&&(i=this.nullFormatter.call(this,i,t,e,o));const s=t.tg_formatter||e.tg_formatter;"function"==typeof s&&(i=s.call(this,i,t,e,o)),this.renderNodeContent(o,i),this.trigger(x.onCellUpdated,{value:n,rowItem:t,columnItem:e,node:o})},getPreRenderColumnList:function(t,e){const o=[];if(!e.length)return o;for(let n=0,i=e.length;n<i;n++){const i=e[n];this.getCellNodeByIndex(t,i)||o.push(i)}return o},drawRowCells:function(t,e){const o=this.getPreRenderColumnList(t,e);o.length&&o.forEach((e=>{this.createCellNode(t,e)}))},getCellClass:function(t,e){const o=e.tg_view_index,n=["tg-cell"];return n.push(`tg-c-${o}`),e.align&&n.push(`tg-align-${e.align}`),0===e.tg_list_index&&n.push("tg-list-first"),e.tg_list_last&&n.push("tg-list-last"),n.push(u.classMap(e.classMap)),n.push(u.classMap(t[`${e.id}ClassMap`])),u.classMap(n)},createCellNode:function(t,e){const o=this.getRowCache(t);if(!o)return;const n=this.getViewRowItem(t),i=this.getViewColumnItem(e);if(!n||!i)return;const s=document.createElement("div");s.setAttribute("column",e);const r=this.getCellClass(n,i);s.className=r;const l=u.styleMap(i.styleMap)+u.styleMap(n[`${i.id}StyleMap`]);l&&(s.style.cssText=l);const a=o.rowNodes,c=i.tg_frozen,h=this.getCellRowNode(a,c);this.appendNode(h,s),this.renderCell(n,i,s),o.cellNodes.set(e,s),this.setNodeDataCache(s,{row:t,rowItem:n,rowNode:h,column:e,columnItem:i,cellNode:s})},getCellRowNode:function(t,e){const o=t.get(0);if(this.frozenInfo.columns){const n=t.get(1);return this.frozenInfo.right?e?n:o:e?o:n}return o}},S={addColumn:function(t,e,o){let n=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];const i=this.getToBeAddedItemList(t);if(!i.length)return!1;let s;if(null!=e&&(s=this.getColumnItem(e),!s))return!1;const r=this.getToBeAddedParentSubs(s,this.columns),l=[this.getToBeAddedPositionIndex(o,r),0].concat(i);r.splice.apply(r,l),this.onNextUpdated((function(){this.trigger(x.onColumnAdded,i)}));const a={type:"columns"};return n&&(a.scrollColumn=i[i.length-1]),this.render(a),!0},deleteColumn:function(t){const e=this.toColumnItemList(t,(t=>!t.private));return!!e.length&&(this.removeColumnsHandler(e),this.onNextUpdated((function(){this.trigger(x.onColumnRemoved,e)})),this.render("columns"),!0)},removeColumnsHandler:function(t){const e=[].concat(t);e.sort((function(t,e){return e.tg_index-t.tg_index})),e.forEach((t=>{let e;if(t===this.sortColumn&&this.removeSortColumn(),t.tg_parent)e=t.tg_parent.subs,e.splice(t.tg_sub_index,1);else{e=this.columns;const o=e.findIndex((e=>e===t));-1!==o&&e.splice(o,1)}!e.length&&t.tg_parent&&(t.tg_parent.subs=null)}))}},I={setColumnWidth:function(t,e){return this.updateColumnWidth(t,e)?(this.resize(),this):this},updateColumnWidth:function(t,e){const o=this.getColumnItem(t);return!!o&&!!u.isNum(e)&&(e=Math.round(e),e=Math.max(0,e),o.tg_width!==e&&(o.width=e,o.minWidth=Math.min(o.minWidth,e),o.maxWidth=Math.max(o.maxWidth,e),this.updateViewColumnWidth(o),!0))},showColumn:function(t){return this.updateColumnsInvisible(this.toColumnItemList(t),!1)},hideColumn:function(t){return this.updateColumnsInvisible(this.toColumnItemList(t),!0)},updateColumnsInvisible:function(t,e){if(!t.length)return!1;const o=[];return t.forEach((t=>{t.invisible!==e&&(t.invisible=e,t.tg_invisible=e,o.push(t))})),!!o.length&&(this.render("columns"),!0)}},M={showColumnLine:function(t){t&&(this.$columnLineContainer.show(),this.renderColumnLine(t))},hideColumnLine:function(){this.previousColumnLineActive||this.$columnLineContainer.hide()},setColumnLineActive:function(t){t!==this.previousColumnLineActive&&(this.previousColumnLineActive=t,t?this.$columnLineItem.addClass("tg-active"):this.$columnLineItem.removeClass("tg-active"))},getColumnLineLeft:function(t){let e=t.tg_left;return t.tg_frozen||(e-=this.scrollLeft),this.frozenInfo.right&&(t.tg_frozen?e=t.tg_left+this.paneWidthL:e-=this.columnsWidthR),e},renderColumnLine:function(t){const e=this.getHeaderItemNode(t).offsetTop,o=t.tg_width,n=this.getColumnLineLeft(t);this.$columnLineItemL.css({top:e,left:n}),this.$columnLineItemR.css({top:e,left:n+o-1}),this.frozenInfo.right||(this.frozenInfo.columns&&!t.tg_frozen&&n<this.paneWidthL?this.$columnLineItemL.hide():this.$columnLineItemL.show())},setColumnWidthDragStatus:function(t,e){e?this.$headerFrame.addClass("tg-column-dragging"):this.$headerFrame.removeClass("tg-column-dragging");const o=this.getHeaderItemNode(t);if(!o)return;const n=v(o).find(".tg-column-resizing");e?n.addClass("tg-resizing-active"):n.removeClass("tg-resizing-active")},columnWidthDragStartHandler:function(t,e){const o=e.columnItem;this.setColumnLineActive(!0),this.setColumnWidthDragStatus(o,!0);const n=this.getColumnHeaderNode(o);e.tg_width=n.clientWidth},columnWidthDragMoveHandler:function(t,e){const o=e.columnItem;let n=e.tg_width+e.offsetX;n=u.clamp(n,o.minWidth,o.maxWidth),o.tg_width!==n&&(o.width=n,this.updateViewColumnWidth(o),this.renderColumnLine(o))},columnWidthDragEndHandler:function(t,e){if(!e.changed)return;const o=e.columnItem;this.setColumnWidthDragStatus(o,!1),this.setColumnLineActive(!1);const n=e.e&&e.e.target;n&&"tg-column-resizing"!==n.className&&this.hideColumnLine(),this.onNextUpdated((()=>{this.renderColumnLine(e.columnItem)})),this.resize()},columnWidthTouchStartHandler:function(t,e){u.preventDefault(e.e);const o=e.columnItem;this.showColumnLine(o),this.setColumnLineActive(!0),e.index=o.tg_index;const n=this.getColumnHeaderNode(o);e.width=n.clientWidth},columnWidthTouchMoveHandler:function(t,e){u.preventDefault(e.e);const o=e.columnItem;let n=e.width+e.offsetX;n=u.clamp(n,o.minWidth,o.maxWidth),o.tg_width!==n&&(o.width=n,this.updateViewColumnWidth(o),this.renderColumnLine(o))},columnWidthTouchEndHandler:function(t,e){u.preventDefault(e.e),this.setColumnLineActive(!1),this.hideColumnLine(),this.resize()}},H={getColumnItem:function(t){return u.isNum(t)?(t<0&&(t=this.columnsInfo.length+t),this.columnsInfo.indexCache[t]):t?u.isNum(t.tg_index)?t:this.getColumnItemById(t.id||t):void 0},getColumnItemById:function(t){return this.getColumnItemBy("id",t)},getColumnItemBy:function(t,e){if(void 0!==e)return this.columnsInfo.indexCache.find((o=>o[t]===e))},getColumnsLength:function(t){return t?this.columnsInfo.length:this.viewColumns.length},getViewColumnItem:function(t){return this.viewAllColumns[t]},isColumnSortable:function(t){return!!t&&!t.tg_group&&!(!t.name||!t.id)&&this.isSortable(t)},isColumnResizable:function(t){return!!t&&!t.tg_group&&(!u.hasOwn(t,"resizable")||Boolean(t.resizable))},updateViewColumnWidth:function(t){return t.tg_width=t.width,this.updateColumnHeaderSize(t),this.updateTotalColumnsWidth(),this.updateHeaderLayerHeight(),this.cssRulesInvalid=!0,this.resizeBodyHandler(),this.trigger(x.onColumnWidthChanged,t),!0},updateTotalColumnsWidth:function(){this.blankColumn.tg_width=0;const t=this.viewColumns;let e=0,o=0;const n=this.frozenInfo.columns,i=t.length;let s=0;for(let r=0;r<i;r++){const i=t[r];i.tg_left=s;const l=i.tg_width;l>0&&(s+=l,n&&r>=n?o+=l:e+=l)}if(this.frozenInfo.right){const t=e;e=o,o=t}this.columnsWidthL=e,this.columnsWidthR=o,this.columnsWidth=e+o},updateColumnHeaderSize:function(t){this.updateColumnHeaderWidth(t),this.updateColumnHeaderHeight(t,!0),this.updateColumnGroupWidth(t)},updateColumnHeaderWidth:function(t){const e=this.getColumnHeaderNode(t);if(!e)return;const o=t.tg_width;this.isInvisible(t)||o<=0?e.style.display="none":(e.style.display="",e.style.width=`${o}px`)},updateColumnHe