@ianicdev/datatables2 0.8.14 → 0.8.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Columns-DcGC-80C.cjs → Columns-CXLpVp9o.cjs} +1 -1
- package/dist/{Columns-CC4nA_Ct.js → Columns-DFFA76r9.js} +1 -1
- package/dist/{Comparison-Dce7ScjC.cjs → Comparison-CHgtd2_K.cjs} +1 -1
- package/dist/{Comparison-C01AKfgw.js → Comparison-CxtIF1j1.js} +1 -1
- package/dist/{Datepicker-mPcniC1A.js → Datepicker-9OGqYUYS.js} +62 -62
- package/dist/{Datepicker-DxBdrdTB.cjs → Datepicker-CqIdbz1C.cjs} +1 -1
- package/dist/{Download-BDnoqp1M.js → Download-CVYfz0Dn.js} +59 -59
- package/dist/{Download-CPzJn-2w.cjs → Download-DQeQ7L-F.cjs} +1 -1
- package/dist/{Options-CaFgL3JX.js → Options-CCs38y2s.js} +1 -1
- package/dist/{Options-BkF79lwm.cjs → Options-zU-AQOf5.cjs} +1 -1
- package/dist/{RefreshTable-BzqRXqsa.js → RefreshTable-Bd3R53R5.js} +2 -2
- package/dist/{RefreshTable-y95tbLjN.cjs → RefreshTable-CL-wZop-.cjs} +1 -1
- package/dist/Search-Bx6YYkMQ.cjs +1 -0
- package/dist/{Search-Dc5sTYD8.js → Search-D8HrkoPb.js} +19 -19
- package/dist/{Table-mMCKTOcZ.cjs → Table-Bmliyq7v.cjs} +1 -1
- package/dist/{Table-Ck19343m.js → Table-CNs60LSW.js} +2 -2
- package/dist/TableServer-DofMcT2r.cjs +20 -0
- package/dist/{TableServer-BSL5gUMK.js → TableServer-iUuU7UzF.js} +26 -34
- package/dist/{cellRender-VUoXYbjo.js → cellRender-B0HWDUm8.js} +2 -2
- package/dist/{cellRender-134wtDl3.cjs → cellRender-B33OOzkW.cjs} +1 -1
- package/dist/{dataTables-Cqxnh1k5.js → dataTables-B08Xc7bo.js} +1377 -1339
- package/dist/dataTables-DCnrUmUh.cjs +4 -0
- package/dist/datatables.cjs +1 -1
- package/dist/datatables.js +1 -1
- package/dist/datatables2.css +1 -1
- package/dist/{html2canvas.esm-CUkZERmf.cjs → html2canvas.esm-CNmnTSlr.cjs} +1 -18
- package/dist/{html2canvas.esm-Dmi1NfiH.js → html2canvas.esm-DQ00cQCm.js} +0 -19
- package/dist/{index-BSg6ffz_.js → index-BtA1RE4g.js} +1534 -1568
- package/dist/{index-BN_4tyjK.cjs → index-CR-8W111.cjs} +1 -1
- package/dist/index-DYDMoN3B.cjs +1 -0
- package/dist/{index-DKGM8L7F.js → index-bh7xyE4p.js} +1 -1
- package/dist/{index.es-sKSodxcW.js → index.es-BXudRhtE.js} +1 -15
- package/dist/{index.es-B0GUE7KM.cjs → index.es-DbLPWyn6.cjs} +2 -15
- package/dist/{jspdf-BDkAtFGI.cjs → jspdf-DQdhUPLM.cjs} +3 -118
- package/dist/{jspdf-CzuJJB6C.js → jspdf-Dt---f5Z.js} +3 -125
- package/dist/{purify.es-DHbHSKL1.js → purify.es-BwLardii.js} +0 -1
- package/dist/purify.es-ClceE12G.cjs +2 -0
- package/dist/{sortablejs-DSHM8iDp.js → sortablejs-C0WJhxmJ.js} +0 -6
- package/dist/sortablejs-Da6TYh39.cjs +1 -0
- package/dist/{xlsx-vtl6oPEm.js → xlsx-Beik4N2o.js} +0 -2
- package/dist/{xlsx-BBXALOAs.cjs → xlsx-BiH37OJz.cjs} +2 -2
- package/package.json +12 -12
- package/dist/Search-Deh-nYFV.cjs +0 -1
- package/dist/TableServer-BgXf9koC.cjs +0 -27
- package/dist/dataTables-DpKVZNst.cjs +0 -4
- package/dist/index-B1GllOYW.cjs +0 -1
- package/dist/purify.es-D1I7B1hP.cjs +0 -2
- package/dist/sortablejs-BhPwT7wS.cjs +0 -6
|
@@ -2579,55 +2579,6 @@ var Ru;
|
|
|
2579
2579
|
function h2(r, t) {
|
|
2580
2580
|
return new l2(r, t).decode();
|
|
2581
2581
|
}
|
|
2582
|
-
/** @license
|
|
2583
|
-
*
|
|
2584
|
-
* jsPDF - PDF Document creation from JavaScript
|
|
2585
|
-
* Version 3.0.3 Built on 2025-09-18T08:03:54.261Z
|
|
2586
|
-
* CommitID 00000000
|
|
2587
|
-
*
|
|
2588
|
-
* Copyright (c) 2010-2025 James Hall <james@parall.ax>, https://github.com/MrRio/jsPDF
|
|
2589
|
-
* 2015-2025 yWorks GmbH, http://www.yworks.com
|
|
2590
|
-
* 2015-2025 Lukas Holländer <lukas.hollaender@yworks.com>, https://github.com/HackbrettXXX
|
|
2591
|
-
* 2016-2018 Aras Abbasi <aras.abbasi@gmail.com>
|
|
2592
|
-
* 2010 Aaron Spike, https://github.com/acspike
|
|
2593
|
-
* 2012 Willow Systems Corporation, https://github.com/willowsystems
|
|
2594
|
-
* 2012 Pablo Hess, https://github.com/pablohess
|
|
2595
|
-
* 2012 Florian Jenett, https://github.com/fjenett
|
|
2596
|
-
* 2013 Warren Weckesser, https://github.com/warrenweckesser
|
|
2597
|
-
* 2013 Youssef Beddad, https://github.com/lifof
|
|
2598
|
-
* 2013 Lee Driscoll, https://github.com/lsdriscoll
|
|
2599
|
-
* 2013 Stefan Slonevskiy, https://github.com/stefslon
|
|
2600
|
-
* 2013 Jeremy Morel, https://github.com/jmorel
|
|
2601
|
-
* 2013 Christoph Hartmann, https://github.com/chris-rock
|
|
2602
|
-
* 2014 Juan Pablo Gaviria, https://github.com/juanpgaviria
|
|
2603
|
-
* 2014 James Makes, https://github.com/dollaruw
|
|
2604
|
-
* 2014 Diego Casorran, https://github.com/diegocr
|
|
2605
|
-
* 2014 Steven Spungin, https://github.com/Flamenco
|
|
2606
|
-
* 2014 Kenneth Glassey, https://github.com/Gavvers
|
|
2607
|
-
*
|
|
2608
|
-
* Permission is hereby granted, free of charge, to any person obtaining
|
|
2609
|
-
* a copy of this software and associated documentation files (the
|
|
2610
|
-
* "Software"), to deal in the Software without restriction, including
|
|
2611
|
-
* without limitation the rights to use, copy, modify, merge, publish,
|
|
2612
|
-
* distribute, sublicense, and/or sell copies of the Software, and to
|
|
2613
|
-
* permit persons to whom the Software is furnished to do so, subject to
|
|
2614
|
-
* the following conditions:
|
|
2615
|
-
*
|
|
2616
|
-
* The above copyright notice and this permission notice shall be
|
|
2617
|
-
* included in all copies or substantial portions of the Software.
|
|
2618
|
-
*
|
|
2619
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
2620
|
-
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
2621
|
-
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
2622
|
-
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
|
2623
|
-
* LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
2624
|
-
* OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
|
2625
|
-
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
2626
|
-
*
|
|
2627
|
-
* Contributor(s):
|
|
2628
|
-
* siefkenj, ahwolf, rickygu, Midnith, saintclair, eaparango,
|
|
2629
|
-
* kim3er, mfo, alnorth, Flamenco
|
|
2630
|
-
*/
|
|
2631
2582
|
var Vt = /* @__PURE__ */ (function() {
|
|
2632
2583
|
return typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : this;
|
|
2633
2584
|
})();
|
|
@@ -2699,12 +2650,6 @@ var _i = Vt.saveAs || ((typeof window > "u" ? "undefined" : ye(window)) !== "obj
|
|
|
2699
2650
|
}, 4e4);
|
|
2700
2651
|
}
|
|
2701
2652
|
});
|
|
2702
|
-
/**
|
|
2703
|
-
* A class to parse color values
|
|
2704
|
-
* @author Stoyan Stefanov <sstoo@gmail.com>
|
|
2705
|
-
* {@link http://www.phpied.com/rgb-color-parser-in-javascript/}
|
|
2706
|
-
* @license Use it if you like it
|
|
2707
|
-
*/
|
|
2708
2653
|
function Yh(r) {
|
|
2709
2654
|
var t;
|
|
2710
2655
|
r = r || "", this.ok = !1, r.charAt(0) == "#" && (r = r.substr(1, 6)), r = { aliceblue: "f0f8ff", antiquewhite: "faebd7", aqua: "00ffff", aquamarine: "7fffd4", azure: "f0ffff", beige: "f5f5dc", bisque: "ffe4c4", black: "000000", blanchedalmond: "ffebcd", blue: "0000ff", blueviolet: "8a2be2", brown: "a52a2a", burlywood: "deb887", cadetblue: "5f9ea0", chartreuse: "7fff00", chocolate: "d2691e", coral: "ff7f50", cornflowerblue: "6495ed", cornsilk: "fff8dc", crimson: "dc143c", cyan: "00ffff", darkblue: "00008b", darkcyan: "008b8b", darkgoldenrod: "b8860b", darkgray: "a9a9a9", darkgreen: "006400", darkkhaki: "bdb76b", darkmagenta: "8b008b", darkolivegreen: "556b2f", darkorange: "ff8c00", darkorchid: "9932cc", darkred: "8b0000", darksalmon: "e9967a", darkseagreen: "8fbc8f", darkslateblue: "483d8b", darkslategray: "2f4f4f", darkturquoise: "00ced1", darkviolet: "9400d3", deeppink: "ff1493", deepskyblue: "00bfff", dimgray: "696969", dodgerblue: "1e90ff", feldspar: "d19275", firebrick: "b22222", floralwhite: "fffaf0", forestgreen: "228b22", fuchsia: "ff00ff", gainsboro: "dcdcdc", ghostwhite: "f8f8ff", gold: "ffd700", goldenrod: "daa520", gray: "808080", green: "008000", greenyellow: "adff2f", honeydew: "f0fff0", hotpink: "ff69b4", indianred: "cd5c5c", indigo: "4b0082", ivory: "fffff0", khaki: "f0e68c", lavender: "e6e6fa", lavenderblush: "fff0f5", lawngreen: "7cfc00", lemonchiffon: "fffacd", lightblue: "add8e6", lightcoral: "f08080", lightcyan: "e0ffff", lightgoldenrodyellow: "fafad2", lightgrey: "d3d3d3", lightgreen: "90ee90", lightpink: "ffb6c1", lightsalmon: "ffa07a", lightseagreen: "20b2aa", lightskyblue: "87cefa", lightslateblue: "8470ff", lightslategray: "778899", lightsteelblue: "b0c4de", lightyellow: "ffffe0", lime: "00ff00", limegreen: "32cd32", linen: "faf0e6", magenta: "ff00ff", maroon: "800000", mediumaquamarine: "66cdaa", mediumblue: "0000cd", mediumorchid: "ba55d3", mediumpurple: "9370d8", mediumseagreen: "3cb371", mediumslateblue: "7b68ee", mediumspringgreen: "00fa9a", mediumturquoise: "48d1cc", mediumvioletred: "c71585", midnightblue: "191970", mintcream: "f5fffa", mistyrose: "ffe4e1", moccasin: "ffe4b5", navajowhite: "ffdead", navy: "000080", oldlace: "fdf5e6", olive: "808000", olivedrab: "6b8e23", orange: "ffa500", orangered: "ff4500", orchid: "da70d6", palegoldenrod: "eee8aa", palegreen: "98fb98", paleturquoise: "afeeee", palevioletred: "d87093", papayawhip: "ffefd5", peachpuff: "ffdab9", peru: "cd853f", pink: "ffc0cb", plum: "dda0dd", powderblue: "b0e0e6", purple: "800080", red: "ff0000", rosybrown: "bc8f8f", royalblue: "4169e1", saddlebrown: "8b4513", salmon: "fa8072", sandybrown: "f4a460", seagreen: "2e8b57", seashell: "fff5ee", sienna: "a0522d", silver: "c0c0c0", skyblue: "87ceeb", slateblue: "6a5acd", slategray: "708090", snow: "fffafa", springgreen: "00ff7f", steelblue: "4682b4", tan: "d2b48c", teal: "008080", thistle: "d8bfd8", tomato: "ff6347", turquoise: "40e0d0", violet: "ee82ee", violetred: "d02090", wheat: "f5deb3", white: "ffffff", whitesmoke: "f5f5f5", yellow: "ffff00", yellowgreen: "9acd32" }[r = (r = r.replace(/ /g, "")).toLowerCase()] || r;
|
|
@@ -2726,15 +2671,6 @@ function Yh(r) {
|
|
|
2726
2671
|
};
|
|
2727
2672
|
}
|
|
2728
2673
|
var Co = Vt.atob.bind(Vt), Tu = Vt.btoa.bind(Vt);
|
|
2729
|
-
/**
|
|
2730
|
-
* @license
|
|
2731
|
-
* Joseph Myers does not specify a particular license for his work.
|
|
2732
|
-
*
|
|
2733
|
-
* Author: Joseph Myers
|
|
2734
|
-
* Accessed from: http://www.myersdaily.org/joseph/javascript/md5.js
|
|
2735
|
-
*
|
|
2736
|
-
* Modified by: Owen Leong
|
|
2737
|
-
*/
|
|
2738
2674
|
function Ds(r, t) {
|
|
2739
2675
|
var e = r[0], n = r[1], a = r[2], i = r[3];
|
|
2740
2676
|
e = dr(e, n, a, i, t[0], 7, -680876936), i = dr(i, e, n, a, t[1], 12, -389564586), a = dr(a, i, e, n, t[2], 17, 606105819), n = dr(n, a, i, e, t[3], 22, -1044525330), e = dr(e, n, a, i, t[4], 7, -176418897), i = dr(i, e, n, a, t[5], 12, 1200080426), a = dr(a, i, e, n, t[6], 17, -1473231341), n = dr(n, a, i, e, t[7], 22, -45705983), e = dr(e, n, a, i, t[8], 7, 1770035416), i = dr(i, e, n, a, t[9], 12, -1958414417), a = dr(a, i, e, n, t[10], 17, -42063), n = dr(n, a, i, e, t[11], 22, -1990404162), e = dr(e, n, a, i, t[12], 7, 1804603682), i = dr(i, e, n, a, t[13], 12, -40341101), a = dr(a, i, e, n, t[14], 17, -1502002290), e = pr(e, n = dr(n, a, i, e, t[15], 22, 1236535329), a, i, t[1], 5, -165796510), i = pr(i, e, n, a, t[6], 9, -1069501632), a = pr(a, i, e, n, t[11], 14, 643717713), n = pr(n, a, i, e, t[0], 20, -373897302), e = pr(e, n, a, i, t[5], 5, -701558691), i = pr(i, e, n, a, t[10], 9, 38016083), a = pr(a, i, e, n, t[15], 14, -660478335), n = pr(n, a, i, e, t[4], 20, -405537848), e = pr(e, n, a, i, t[9], 5, 568446438), i = pr(i, e, n, a, t[14], 9, -1019803690), a = pr(a, i, e, n, t[3], 14, -187363961), n = pr(n, a, i, e, t[8], 20, 1163531501), e = pr(e, n, a, i, t[13], 5, -1444681467), i = pr(i, e, n, a, t[2], 9, -51403784), a = pr(a, i, e, n, t[7], 14, 1735328473), e = gr(e, n = pr(n, a, i, e, t[12], 20, -1926607734), a, i, t[5], 4, -378558), i = gr(i, e, n, a, t[8], 11, -2022574463), a = gr(a, i, e, n, t[11], 16, 1839030562), n = gr(n, a, i, e, t[14], 23, -35309556), e = gr(e, n, a, i, t[1], 4, -1530992060), i = gr(i, e, n, a, t[4], 11, 1272893353), a = gr(a, i, e, n, t[7], 16, -155497632), n = gr(n, a, i, e, t[10], 23, -1094730640), e = gr(e, n, a, i, t[13], 4, 681279174), i = gr(i, e, n, a, t[0], 11, -358537222), a = gr(a, i, e, n, t[3], 16, -722521979), n = gr(n, a, i, e, t[6], 23, 76029189), e = gr(e, n, a, i, t[9], 4, -640364487), i = gr(i, e, n, a, t[12], 11, -421815835), a = gr(a, i, e, n, t[15], 16, 530742520), e = vr(e, n = gr(n, a, i, e, t[2], 23, -995338651), a, i, t[0], 6, -198630844), i = vr(i, e, n, a, t[7], 10, 1126891415), a = vr(a, i, e, n, t[14], 15, -1416354905), n = vr(n, a, i, e, t[5], 21, -57434055), e = vr(e, n, a, i, t[12], 6, 1700485571), i = vr(i, e, n, a, t[3], 10, -1894986606), a = vr(a, i, e, n, t[10], 15, -1051523), n = vr(n, a, i, e, t[1], 21, -2054922799), e = vr(e, n, a, i, t[8], 6, 1873313359), i = vr(i, e, n, a, t[15], 10, -30611744), a = vr(a, i, e, n, t[6], 15, -1560198380), n = vr(n, a, i, e, t[13], 21, 1309151649), e = vr(e, n, a, i, t[4], 6, -145523070), i = vr(i, e, n, a, t[11], 10, -1120210379), a = vr(a, i, e, n, t[2], 15, 718787259), n = vr(n, a, i, e, t[9], 21, -343485551), r[0] = Xn(e, r[0]), r[1] = Xn(n, r[1]), r[2] = Xn(a, r[2]), r[3] = Xn(i, r[3]);
|
|
@@ -2790,14 +2726,6 @@ function Xn(r, t) {
|
|
|
2790
2726
|
}
|
|
2791
2727
|
return r + t & 4294967295;
|
|
2792
2728
|
}
|
|
2793
|
-
/**
|
|
2794
|
-
* @license
|
|
2795
|
-
* FPDF is released under a permissive license: there is no usage restriction.
|
|
2796
|
-
* You may embed it freely in your application (commercial or not), with or
|
|
2797
|
-
* without modifications.
|
|
2798
|
-
*
|
|
2799
|
-
* Reference: http://www.fpdf.org/en/script/script37.php
|
|
2800
|
-
*/
|
|
2801
2729
|
function tl(r, t) {
|
|
2802
2730
|
var e, n, a, i;
|
|
2803
2731
|
if (r !== e) {
|
|
@@ -2813,17 +2741,6 @@ function tl(r, t) {
|
|
|
2813
2741
|
for (u = 0; u < w; u++) g = (g + (p = l[x = (x + 1) % 256])) % 256, l[x] = l[g], l[g] = p, h = l[(l[x] + l[g]) % 256], P += String.fromCharCode(t.charCodeAt(u) ^ h);
|
|
2814
2742
|
return P;
|
|
2815
2743
|
}
|
|
2816
|
-
/**
|
|
2817
|
-
* @license
|
|
2818
|
-
* Licensed under the MIT License.
|
|
2819
|
-
* http://opensource.org/licenses/mit-license
|
|
2820
|
-
* Author: Owen Leong (@owenl131)
|
|
2821
|
-
* Date: 15 Oct 2020
|
|
2822
|
-
* References:
|
|
2823
|
-
* https://www.cs.cmu.edu/~dst/Adobe/Gallery/anon21jul01-pdf-encryption.txt
|
|
2824
|
-
* https://github.com/foliojs/pdfkit/blob/master/lib/security.js
|
|
2825
|
-
* http://www.fpdf.org/en/script/script37.php
|
|
2826
|
-
*/
|
|
2827
2744
|
var Uu = { print: 4, modify: 8, copy: 16, "annot-forms": 32 };
|
|
2828
2745
|
function Vi(r, t, e, n) {
|
|
2829
2746
|
this.v = 1, this.r = 2;
|
|
@@ -5708,38 +5625,6 @@ function ah(r, t, e, n) {
|
|
|
5708
5625
|
}
|
|
5709
5626
|
return x !== n && Se.log("Warning, gif stream shorter than expected."), e;
|
|
5710
5627
|
}
|
|
5711
|
-
/**
|
|
5712
|
-
* @license
|
|
5713
|
-
Copyright (c) 2008, Adobe Systems Incorporated
|
|
5714
|
-
All rights reserved.
|
|
5715
|
-
|
|
5716
|
-
Redistribution and use in source and binary forms, with or without
|
|
5717
|
-
modification, are permitted provided that the following conditions are
|
|
5718
|
-
met:
|
|
5719
|
-
|
|
5720
|
-
* Redistributions of source code must retain the above copyright notice,
|
|
5721
|
-
this list of conditions and the following disclaimer.
|
|
5722
|
-
|
|
5723
|
-
* Redistributions in binary form must reproduce the above copyright
|
|
5724
|
-
notice, this list of conditions and the following disclaimer in the
|
|
5725
|
-
documentation and/or other materials provided with the distribution.
|
|
5726
|
-
|
|
5727
|
-
* Neither the name of Adobe Systems Incorporated nor the names of its
|
|
5728
|
-
contributors may be used to endorse or promote products derived from
|
|
5729
|
-
this software without specific prior written permission.
|
|
5730
|
-
|
|
5731
|
-
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
|
|
5732
|
-
IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
|
|
5733
|
-
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
|
5734
|
-
PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
|
|
5735
|
-
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
|
5736
|
-
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
|
5737
|
-
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
|
5738
|
-
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
|
5739
|
-
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
|
5740
|
-
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
|
5741
|
-
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
5742
|
-
*/
|
|
5743
5628
|
function Us(r) {
|
|
5744
5629
|
var t, e, n, a, i, h = Math.floor, l = new Array(64), u = new Array(64), f = new Array(64), p = new Array(64), w = new Array(65535), x = new Array(65535), g = new Array(64), P = new Array(64), C = [], j = 0, S = 7, W = new Array(64), G = new Array(64), T = new Array(64), it = new Array(256), mt = new Array(2048), pt = [0, 1, 5, 6, 14, 15, 27, 28, 2, 4, 7, 13, 16, 26, 29, 42, 3, 8, 12, 17, 25, 30, 41, 43, 9, 11, 18, 24, 31, 40, 44, 53, 10, 19, 23, 32, 39, 45, 52, 54, 20, 22, 33, 38, 46, 51, 55, 60, 21, 34, 37, 47, 50, 56, 59, 61, 35, 36, 48, 49, 57, 58, 62, 63], K = [0, 0, 1, 5, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0], M = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11], Q = [0, 0, 2, 1, 3, 3, 2, 4, 3, 5, 5, 4, 4, 0, 0, 1, 125], L = [1, 2, 3, 0, 4, 17, 5, 18, 33, 49, 65, 6, 19, 81, 97, 7, 34, 113, 20, 50, 129, 145, 161, 8, 35, 66, 177, 193, 21, 82, 209, 240, 36, 51, 98, 114, 130, 9, 10, 22, 23, 24, 25, 26, 37, 38, 39, 40, 41, 42, 52, 53, 54, 55, 56, 57, 58, 67, 68, 69, 70, 71, 72, 73, 74, 83, 84, 85, 86, 87, 88, 89, 90, 99, 100, 101, 102, 103, 104, 105, 106, 115, 116, 117, 118, 119, 120, 121, 122, 131, 132, 133, 134, 135, 136, 137, 138, 146, 147, 148, 149, 150, 151, 152, 153, 154, 162, 163, 164, 165, 166, 167, 168, 169, 170, 178, 179, 180, 181, 182, 183, 184, 185, 186, 194, 195, 196, 197, 198, 199, 200, 201, 202, 210, 211, 212, 213, 214, 215, 216, 217, 218, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250], E = [0, 0, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0], z = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11], U = [0, 0, 2, 1, 2, 4, 4, 3, 4, 7, 5, 4, 4, 0, 1, 2, 119], nt = [0, 1, 2, 3, 17, 4, 5, 33, 49, 6, 18, 65, 81, 7, 97, 113, 19, 34, 50, 129, 8, 20, 66, 145, 161, 177, 193, 9, 35, 51, 82, 240, 21, 98, 114, 209, 10, 22, 36, 52, 225, 37, 241, 23, 24, 25, 26, 38, 39, 40, 41, 42, 53, 54, 55, 56, 57, 58, 67, 68, 69, 70, 71, 72, 73, 74, 83, 84, 85, 86, 87, 88, 89, 90, 99, 100, 101, 102, 103, 104, 105, 106, 115, 116, 117, 118, 119, 120, 121, 122, 130, 131, 132, 133, 134, 135, 136, 137, 138, 146, 147, 148, 149, 150, 151, 152, 153, 154, 162, 163, 164, 165, 166, 167, 168, 169, 170, 178, 179, 180, 181, 182, 183, 184, 185, 186, 194, 195, 196, 197, 198, 199, 200, 201, 202, 210, 211, 212, 213, 214, 215, 216, 217, 218, 226, 227, 228, 229, 230, 231, 232, 233, 234, 242, 243, 244, 245, 246, 247, 248, 249, 250];
|
|
5745
5630
|
function lt(_, B) {
|
|
@@ -5859,13 +5744,6 @@ function Us(r) {
|
|
|
5859
5744
|
for (var _ = 0; _ < 256; _++) mt[_] = 19595 * _, mt[_ + 256 | 0] = 38470 * _, mt[_ + 512 | 0] = 7471 * _ + 32768, mt[_ + 768 | 0] = -11059 * _, mt[_ + 1024 | 0] = -21709 * _, mt[_ + 1280 | 0] = 32768 * _ + 8421375, mt[_ + 1536 | 0] = -27439 * _, mt[_ + 1792 | 0] = -5329 * _;
|
|
5860
5745
|
})(), wt(r);
|
|
5861
5746
|
}
|
|
5862
|
-
/**
|
|
5863
|
-
* @license
|
|
5864
|
-
* Copyright (c) 2017 Aras Abbasi
|
|
5865
|
-
*
|
|
5866
|
-
* Licensed under the MIT License.
|
|
5867
|
-
* http://opensource.org/licenses/mit-license
|
|
5868
|
-
*/
|
|
5869
5747
|
function Xr(r, t) {
|
|
5870
5748
|
if (this.pos = 0, this.buffer = r, this.datav = new DataView(r.buffer), this.is_with_alpha = !!t, this.bottom_up = !0, this.flag = String.fromCharCode(this.buffer[0]) + String.fromCharCode(this.buffer[1]), this.pos += 2, ["BM", "BA", "CI", "CP", "IC", "PT"].indexOf(this.flag) === -1) throw new Error("Invalid BMP File");
|
|
5871
5749
|
this.parseHeader(), this.parseBGR();
|
|
@@ -8453,14 +8331,14 @@ function oh(r) {
|
|
|
8453
8331
|
}, r.loadImageFile = r.loadFile;
|
|
8454
8332
|
})(Rt.API), (function(r) {
|
|
8455
8333
|
function t() {
|
|
8456
|
-
return (Vt.html2canvas ? Promise.resolve(Vt.html2canvas) : import("./html2canvas.esm-
|
|
8334
|
+
return (Vt.html2canvas ? Promise.resolve(Vt.html2canvas) : import("./html2canvas.esm-DQ00cQCm.js")).catch(function(l) {
|
|
8457
8335
|
return Promise.reject(new Error("Could not load html2canvas: " + l));
|
|
8458
8336
|
}).then(function(l) {
|
|
8459
8337
|
return l.default ? l.default : l;
|
|
8460
8338
|
});
|
|
8461
8339
|
}
|
|
8462
8340
|
function e() {
|
|
8463
|
-
return (Vt.DOMPurify ? Promise.resolve(Vt.DOMPurify) : import("./purify.es-
|
|
8341
|
+
return (Vt.DOMPurify ? Promise.resolve(Vt.DOMPurify) : import("./purify.es-BwLardii.js")).catch(function(l) {
|
|
8464
8342
|
return Promise.reject(new Error("Could not load dompurify: " + l));
|
|
8465
8343
|
}).then(function(l) {
|
|
8466
8344
|
return l.default ? l.default : l;
|
|
@@ -9158,7 +9036,7 @@ endobj\r
|
|
|
9158
9036
|
var f = u.getContext("2d");
|
|
9159
9037
|
f.fillStyle = "#fff", f.fillRect(0, 0, u.width, u.height);
|
|
9160
9038
|
var p = { ignoreMouse: !0, ignoreAnimation: !0, ignoreDimensions: !0 }, w = this;
|
|
9161
|
-
return (Vt.canvg ? Promise.resolve(Vt.canvg) : import("./index.es-
|
|
9039
|
+
return (Vt.canvg ? Promise.resolve(Vt.canvg) : import("./index.es-BXudRhtE.js")).catch(function(x) {
|
|
9162
9040
|
return Promise.reject(new Error("Could not load canvg: " + x));
|
|
9163
9041
|
}).then(function(x) {
|
|
9164
9042
|
return x.default ? x.default : x;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const{entries:Tt,setPrototypeOf:rt,isFrozen:Bt,getPrototypeOf:Yt,getOwnPropertyDescriptor:Xt}=Object;let{freeze:S,seal:y,create:_t}=Object,{apply:we,construct:xe}=typeof Reflect<"u"&&Reflect;S||(S=function(o){return o});y||(y=function(o){return o});we||(we=function(o,l,s){return o.apply(l,s)});xe||(xe=function(o,l){return new o(...l)});const le=R(Array.prototype.forEach),jt=R(Array.prototype.lastIndexOf),st=R(Array.prototype.pop),$=R(Array.prototype.push),Vt=R(Array.prototype.splice),fe=R(String.prototype.toLowerCase),De=R(String.prototype.toString),lt=R(String.prototype.match),q=R(String.prototype.replace),$t=R(String.prototype.indexOf),qt=R(String.prototype.trim),L=R(Object.prototype.hasOwnProperty),A=R(RegExp.prototype.test),K=Kt(TypeError);function R(r){return function(o){o instanceof RegExp&&(o.lastIndex=0);for(var l=arguments.length,s=new Array(l>1?l-1:0),T=1;T<l;T++)s[T-1]=arguments[T];return we(r,o,s)}}function Kt(r){return function(){for(var o=arguments.length,l=new Array(o),s=0;s<o;s++)l[s]=arguments[s];return xe(r,l)}}function a(r,o){let l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:fe;rt&&rt(r,null);let s=o.length;for(;s--;){let T=o[s];if(typeof T=="string"){const D=l(T);D!==T&&(Bt(o)||(o[s]=D),T=D)}r[T]=!0}return r}function Zt(r){for(let o=0;o<r.length;o++)L(r,o)||(r[o]=null);return r}function C(r){const o=_t(null);for(const[l,s]of Tt(r))L(r,l)&&(Array.isArray(s)?o[l]=Zt(s):s&&typeof s=="object"&&s.constructor===Object?o[l]=C(s):o[l]=s);return o}function Z(r,o){for(;r!==null;){const s=Xt(r,o);if(s){if(s.get)return R(s.get);if(typeof s.value=="function")return R(s.value)}r=Yt(r)}function l(){return null}return l}const ct=S(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),Ne=S(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),Ie=S(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),Jt=S(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),Me=S(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),Qt=S(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),ft=S(["#text"]),ut=S(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),Ce=S(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),mt=S(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),ce=S(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),en=y(/\{\{[\w\W]*|[\w\W]*\}\}/gm),tn=y(/<%[\w\W]*|[\w\W]*%>/gm),nn=y(/\$\{[\w\W]*/gm),on=y(/^data-[\-\w.\u00B7-\uFFFF]+$/),an=y(/^aria-[\-\w]+$/),Et=y(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),rn=y(/^(?:\w+script|data):/i),sn=y(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),gt=y(/^html$/i),ln=y(/^[a-z][.\w]*(-[.\w]+)+$/i);var pt=Object.freeze({__proto__:null,ARIA_ATTR:an,ATTR_WHITESPACE:sn,CUSTOM_ELEMENT:ln,DATA_ATTR:on,DOCTYPE_NAME:gt,ERB_EXPR:tn,IS_ALLOWED_URI:Et,IS_SCRIPT_OR_DATA:rn,MUSTACHE_EXPR:en,TMPLIT_EXPR:nn});const J={element:1,text:3,progressingInstruction:7,comment:8,document:9},cn=function(){return typeof window>"u"?null:window},fn=function(o,l){if(typeof o!="object"||typeof o.createPolicy!="function")return null;let s=null;const T="data-tt-policy-suffix";l&&l.hasAttribute(T)&&(s=l.getAttribute(T));const D="dompurify"+(s?"#"+s:"");try{return o.createPolicy(D,{createHTML(x){return x},createScriptURL(x){return x}})}catch{return console.warn("TrustedTypes policy "+D+" could not be created."),null}},dt=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function ht(){let r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:cn();const o=i=>ht(i);if(o.version="3.2.6",o.removed=[],!r||!r.document||r.document.nodeType!==J.document||!r.Element)return o.isSupported=!1,o;let{document:l}=r;const s=l,T=s.currentScript,{DocumentFragment:D,HTMLTemplateElement:x,Node:ue,Element:Pe,NodeFilter:G,NamedNodeMap:At=r.NamedNodeMap||r.MozNamedAttrMap,HTMLFormElement:St,DOMParser:Rt,trustedTypes:Q}=r,W=Pe.prototype,Ot=Z(W,"cloneNode"),yt=Z(W,"remove"),Lt=Z(W,"nextSibling"),bt=Z(W,"childNodes"),ee=Z(W,"parentNode");if(typeof x=="function"){const i=l.createElement("template");i.content&&i.content.ownerDocument&&(l=i.content.ownerDocument)}let g,B="";const{implementation:me,createNodeIterator:Dt,createDocumentFragment:Nt,getElementsByTagName:It}=l,{importNode:Mt}=s;let h=dt();o.isSupported=typeof Tt=="function"&&typeof ee=="function"&&me&&me.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:pe,ERB_EXPR:de,TMPLIT_EXPR:Te,DATA_ATTR:Ct,ARIA_ATTR:wt,IS_SCRIPT_OR_DATA:xt,ATTR_WHITESPACE:ve,CUSTOM_ELEMENT:Pt}=pt;let{IS_ALLOWED_URI:ke}=pt,m=null;const Ue=a({},[...ct,...Ne,...Ie,...Me,...ft]);let d=null;const Fe=a({},[...ut,...Ce,...mt,...ce]);let f=Object.seal(_t(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Y=null,_e=null,He=!0,Ee=!0,ze=!1,Ge=!0,P=!1,te=!0,w=!1,ge=!1,he=!1,v=!1,ne=!1,oe=!1,We=!0,Be=!1;const vt="user-content-";let Ae=!0,X=!1,k={},U=null;const Ye=a({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let Xe=null;const je=a({},["audio","video","img","source","image","track"]);let Se=null;const Ve=a({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),ie="http://www.w3.org/1998/Math/MathML",ae="http://www.w3.org/2000/svg",N="http://www.w3.org/1999/xhtml";let F=N,Re=!1,Oe=null;const kt=a({},[ie,ae,N],De);let re=a({},["mi","mo","mn","ms","mtext"]),se=a({},["annotation-xml"]);const Ut=a({},["title","style","font","a","script"]);let j=null;const Ft=["application/xhtml+xml","text/html"],Ht="text/html";let p=null,H=null;const zt=l.createElement("form"),$e=function(e){return e instanceof RegExp||e instanceof Function},ye=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(H&&H===e)){if((!e||typeof e!="object")&&(e={}),e=C(e),j=Ft.indexOf(e.PARSER_MEDIA_TYPE)===-1?Ht:e.PARSER_MEDIA_TYPE,p=j==="application/xhtml+xml"?De:fe,m=L(e,"ALLOWED_TAGS")?a({},e.ALLOWED_TAGS,p):Ue,d=L(e,"ALLOWED_ATTR")?a({},e.ALLOWED_ATTR,p):Fe,Oe=L(e,"ALLOWED_NAMESPACES")?a({},e.ALLOWED_NAMESPACES,De):kt,Se=L(e,"ADD_URI_SAFE_ATTR")?a(C(Ve),e.ADD_URI_SAFE_ATTR,p):Ve,Xe=L(e,"ADD_DATA_URI_TAGS")?a(C(je),e.ADD_DATA_URI_TAGS,p):je,U=L(e,"FORBID_CONTENTS")?a({},e.FORBID_CONTENTS,p):Ye,Y=L(e,"FORBID_TAGS")?a({},e.FORBID_TAGS,p):C({}),_e=L(e,"FORBID_ATTR")?a({},e.FORBID_ATTR,p):C({}),k=L(e,"USE_PROFILES")?e.USE_PROFILES:!1,He=e.ALLOW_ARIA_ATTR!==!1,Ee=e.ALLOW_DATA_ATTR!==!1,ze=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Ge=e.ALLOW_SELF_CLOSE_IN_ATTR!==!1,P=e.SAFE_FOR_TEMPLATES||!1,te=e.SAFE_FOR_XML!==!1,w=e.WHOLE_DOCUMENT||!1,v=e.RETURN_DOM||!1,ne=e.RETURN_DOM_FRAGMENT||!1,oe=e.RETURN_TRUSTED_TYPE||!1,he=e.FORCE_BODY||!1,We=e.SANITIZE_DOM!==!1,Be=e.SANITIZE_NAMED_PROPS||!1,Ae=e.KEEP_CONTENT!==!1,X=e.IN_PLACE||!1,ke=e.ALLOWED_URI_REGEXP||Et,F=e.NAMESPACE||N,re=e.MATHML_TEXT_INTEGRATION_POINTS||re,se=e.HTML_INTEGRATION_POINTS||se,f=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&$e(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(f.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&$e(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(f.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(f.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),P&&(Ee=!1),ne&&(v=!0),k&&(m=a({},ft),d=[],k.html===!0&&(a(m,ct),a(d,ut)),k.svg===!0&&(a(m,Ne),a(d,Ce),a(d,ce)),k.svgFilters===!0&&(a(m,Ie),a(d,Ce),a(d,ce)),k.mathMl===!0&&(a(m,Me),a(d,mt),a(d,ce))),e.ADD_TAGS&&(m===Ue&&(m=C(m)),a(m,e.ADD_TAGS,p)),e.ADD_ATTR&&(d===Fe&&(d=C(d)),a(d,e.ADD_ATTR,p)),e.ADD_URI_SAFE_ATTR&&a(Se,e.ADD_URI_SAFE_ATTR,p),e.FORBID_CONTENTS&&(U===Ye&&(U=C(U)),a(U,e.FORBID_CONTENTS,p)),Ae&&(m["#text"]=!0),w&&a(m,["html","head","body"]),m.table&&(a(m,["tbody"]),delete Y.tbody),e.TRUSTED_TYPES_POLICY){if(typeof e.TRUSTED_TYPES_POLICY.createHTML!="function")throw K('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof e.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw K('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');g=e.TRUSTED_TYPES_POLICY,B=g.createHTML("")}else g===void 0&&(g=fn(Q,T)),g!==null&&typeof B=="string"&&(B=g.createHTML(""));S&&S(e),H=e}},qe=a({},[...Ne,...Ie,...Jt]),Ke=a({},[...Me,...Qt]),Gt=function(e){let t=ee(e);(!t||!t.tagName)&&(t={namespaceURI:F,tagName:"template"});const n=fe(e.tagName),c=fe(t.tagName);return Oe[e.namespaceURI]?e.namespaceURI===ae?t.namespaceURI===N?n==="svg":t.namespaceURI===ie?n==="svg"&&(c==="annotation-xml"||re[c]):!!qe[n]:e.namespaceURI===ie?t.namespaceURI===N?n==="math":t.namespaceURI===ae?n==="math"&&se[c]:!!Ke[n]:e.namespaceURI===N?t.namespaceURI===ae&&!se[c]||t.namespaceURI===ie&&!re[c]?!1:!Ke[n]&&(Ut[n]||!qe[n]):!!(j==="application/xhtml+xml"&&Oe[e.namespaceURI]):!1},b=function(e){$(o.removed,{element:e});try{ee(e).removeChild(e)}catch{yt(e)}},z=function(e,t){try{$(o.removed,{attribute:t.getAttributeNode(e),from:t})}catch{$(o.removed,{attribute:null,from:t})}if(t.removeAttribute(e),e==="is")if(v||ne)try{b(t)}catch{}else try{t.setAttribute(e,"")}catch{}},Ze=function(e){let t=null,n=null;if(he)e="<remove></remove>"+e;else{const u=lt(e,/^[\r\n\t ]+/);n=u&&u[0]}j==="application/xhtml+xml"&&F===N&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");const c=g?g.createHTML(e):e;if(F===N)try{t=new Rt().parseFromString(c,j)}catch{}if(!t||!t.documentElement){t=me.createDocument(F,"template",null);try{t.documentElement.innerHTML=Re?B:c}catch{}}const _=t.body||t.documentElement;return e&&n&&_.insertBefore(l.createTextNode(n),_.childNodes[0]||null),F===N?It.call(t,w?"html":"body")[0]:w?t.documentElement:_},Je=function(e){return Dt.call(e.ownerDocument||e,e,G.SHOW_ELEMENT|G.SHOW_COMMENT|G.SHOW_TEXT|G.SHOW_PROCESSING_INSTRUCTION|G.SHOW_CDATA_SECTION,null)},Le=function(e){return e instanceof St&&(typeof e.nodeName!="string"||typeof e.textContent!="string"||typeof e.removeChild!="function"||!(e.attributes instanceof At)||typeof e.removeAttribute!="function"||typeof e.setAttribute!="function"||typeof e.namespaceURI!="string"||typeof e.insertBefore!="function"||typeof e.hasChildNodes!="function")},Qe=function(e){return typeof ue=="function"&&e instanceof ue};function I(i,e,t){le(i,n=>{n.call(o,e,t,H)})}const et=function(e){let t=null;if(I(h.beforeSanitizeElements,e,null),Le(e))return b(e),!0;const n=p(e.nodeName);if(I(h.uponSanitizeElement,e,{tagName:n,allowedTags:m}),te&&e.hasChildNodes()&&!Qe(e.firstElementChild)&&A(/<[/\w!]/g,e.innerHTML)&&A(/<[/\w!]/g,e.textContent)||e.nodeType===J.progressingInstruction||te&&e.nodeType===J.comment&&A(/<[/\w]/g,e.data))return b(e),!0;if(!m[n]||Y[n]){if(!Y[n]&&nt(n)&&(f.tagNameCheck instanceof RegExp&&A(f.tagNameCheck,n)||f.tagNameCheck instanceof Function&&f.tagNameCheck(n)))return!1;if(Ae&&!U[n]){const c=ee(e)||e.parentNode,_=bt(e)||e.childNodes;if(_&&c){const u=_.length;for(let O=u-1;O>=0;--O){const M=Ot(_[O],!0);M.__removalCount=(e.__removalCount||0)+1,c.insertBefore(M,Lt(e))}}}return b(e),!0}return e instanceof Pe&&!Gt(e)||(n==="noscript"||n==="noembed"||n==="noframes")&&A(/<\/no(script|embed|frames)/i,e.innerHTML)?(b(e),!0):(P&&e.nodeType===J.text&&(t=e.textContent,le([pe,de,Te],c=>{t=q(t,c," ")}),e.textContent!==t&&($(o.removed,{element:e.cloneNode()}),e.textContent=t)),I(h.afterSanitizeElements,e,null),!1)},tt=function(e,t,n){if(We&&(t==="id"||t==="name")&&(n in l||n in zt))return!1;if(!(Ee&&!_e[t]&&A(Ct,t))){if(!(He&&A(wt,t))){if(!d[t]||_e[t]){if(!(nt(e)&&(f.tagNameCheck instanceof RegExp&&A(f.tagNameCheck,e)||f.tagNameCheck instanceof Function&&f.tagNameCheck(e))&&(f.attributeNameCheck instanceof RegExp&&A(f.attributeNameCheck,t)||f.attributeNameCheck instanceof Function&&f.attributeNameCheck(t))||t==="is"&&f.allowCustomizedBuiltInElements&&(f.tagNameCheck instanceof RegExp&&A(f.tagNameCheck,n)||f.tagNameCheck instanceof Function&&f.tagNameCheck(n))))return!1}else if(!Se[t]){if(!A(ke,q(n,ve,""))){if(!((t==="src"||t==="xlink:href"||t==="href")&&e!=="script"&&$t(n,"data:")===0&&Xe[e])){if(!(ze&&!A(xt,q(n,ve,"")))){if(n)return!1}}}}}}return!0},nt=function(e){return e!=="annotation-xml"&<(e,Pt)},ot=function(e){I(h.beforeSanitizeAttributes,e,null);const{attributes:t}=e;if(!t||Le(e))return;const n={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:d,forceKeepAttr:void 0};let c=t.length;for(;c--;){const _=t[c],{name:u,namespaceURI:O,value:M}=_,V=p(u),be=M;let E=u==="value"?be:qt(be);if(n.attrName=V,n.attrValue=E,n.keepAttr=!0,n.forceKeepAttr=void 0,I(h.uponSanitizeAttribute,e,n),E=n.attrValue,Be&&(V==="id"||V==="name")&&(z(u,e),E=vt+E),te&&A(/((--!?|])>)|<\/(style|title)/i,E)){z(u,e);continue}if(n.forceKeepAttr)continue;if(!n.keepAttr){z(u,e);continue}if(!Ge&&A(/\/>/i,E)){z(u,e);continue}P&&le([pe,de,Te],at=>{E=q(E,at," ")});const it=p(e.nodeName);if(!tt(it,V,E)){z(u,e);continue}if(g&&typeof Q=="object"&&typeof Q.getAttributeType=="function"&&!O)switch(Q.getAttributeType(it,V)){case"TrustedHTML":{E=g.createHTML(E);break}case"TrustedScriptURL":{E=g.createScriptURL(E);break}}if(E!==be)try{O?e.setAttributeNS(O,u,E):e.setAttribute(u,E),Le(e)?b(e):st(o.removed)}catch{z(u,e)}}I(h.afterSanitizeAttributes,e,null)},Wt=function i(e){let t=null;const n=Je(e);for(I(h.beforeSanitizeShadowDOM,e,null);t=n.nextNode();)I(h.uponSanitizeShadowNode,t,null),et(t),ot(t),t.content instanceof D&&i(t.content);I(h.afterSanitizeShadowDOM,e,null)};return o.sanitize=function(i){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t=null,n=null,c=null,_=null;if(Re=!i,Re&&(i="<!-->"),typeof i!="string"&&!Qe(i))if(typeof i.toString=="function"){if(i=i.toString(),typeof i!="string")throw K("dirty is not a string, aborting")}else throw K("toString is not a function");if(!o.isSupported)return i;if(ge||ye(e),o.removed=[],typeof i=="string"&&(X=!1),X){if(i.nodeName){const M=p(i.nodeName);if(!m[M]||Y[M])throw K("root node is forbidden and cannot be sanitized in-place")}}else if(i instanceof ue)t=Ze("<!---->"),n=t.ownerDocument.importNode(i,!0),n.nodeType===J.element&&n.nodeName==="BODY"||n.nodeName==="HTML"?t=n:t.appendChild(n);else{if(!v&&!P&&!w&&i.indexOf("<")===-1)return g&&oe?g.createHTML(i):i;if(t=Ze(i),!t)return v?null:oe?B:""}t&&he&&b(t.firstChild);const u=Je(X?i:t);for(;c=u.nextNode();)et(c),ot(c),c.content instanceof D&&Wt(c.content);if(X)return i;if(v){if(ne)for(_=Nt.call(t.ownerDocument);t.firstChild;)_.appendChild(t.firstChild);else _=t;return(d.shadowroot||d.shadowrootmode)&&(_=Mt.call(s,_,!0)),_}let O=w?t.outerHTML:t.innerHTML;return w&&m["!doctype"]&&t.ownerDocument&&t.ownerDocument.doctype&&t.ownerDocument.doctype.name&&A(gt,t.ownerDocument.doctype.name)&&(O="<!DOCTYPE "+t.ownerDocument.doctype.name+`>
|
|
2
|
+
`+O),P&&le([pe,de,Te],M=>{O=q(O,M," ")}),g&&oe?g.createHTML(O):O},o.setConfig=function(){let i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};ye(i),ge=!0},o.clearConfig=function(){H=null,ge=!1},o.isValidAttribute=function(i,e,t){H||ye({});const n=p(i),c=p(e);return tt(n,c,t)},o.addHook=function(i,e){typeof e=="function"&&$(h[i],e)},o.removeHook=function(i,e){if(e!==void 0){const t=jt(h[i],e);return t===-1?void 0:Vt(h[i],t,1)[0]}return st(h[i])},o.removeHooks=function(i){h[i]=[]},o.removeAllHooks=function(){h=dt()},o}var un=ht();exports.default=un;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";function se(o,t){var e=Object.keys(o);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(o);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(o,i).enumerable})),e.push.apply(e,n)}return e}function z(o){for(var t=1;t<arguments.length;t++){var e=arguments[t]!=null?arguments[t]:{};t%2?se(Object(e),!0).forEach(function(n){Me(o,n,e[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(e)):se(Object(e)).forEach(function(n){Object.defineProperty(o,n,Object.getOwnPropertyDescriptor(e,n))})}return o}function Mt(o){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Mt=function(t){return typeof t}:Mt=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Mt(o)}function Me(o,t,e){return t in o?Object.defineProperty(o,t,{value:e,enumerable:!0,configurable:!0,writable:!0}):o[t]=e,o}function q(){return q=Object.assign||function(o){for(var t=1;t<arguments.length;t++){var e=arguments[t];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(o[n]=e[n])}return o},q.apply(this,arguments)}function Fe(o,t){if(o==null)return{};var e={},n=Object.keys(o),i,r;for(r=0;r<n.length;r++)i=n[r],!(t.indexOf(i)>=0)&&(e[i]=o[i]);return e}function Re(o,t){if(o==null)return{};var e=Fe(o,t),n,i;if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(o);for(i=0;i<r.length;i++)n=r[i],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(o,n)&&(e[n]=o[n])}return e}var Xe="1.15.6";function U(o){if(typeof window<"u"&&window.navigator)return!!navigator.userAgent.match(o)}var V=U(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),Ct=U(/Edge/i),ue=U(/firefox/i),wt=U(/safari/i)&&!U(/chrome/i)&&!U(/android/i),oe=U(/iP(ad|od|hone)/i),ve=U(/chrome/i)&&U(/android/i),be={capture:!1,passive:!1};function v(o,t,e){o.addEventListener(t,e,!V&&be)}function m(o,t,e){o.removeEventListener(t,e,!V&&be)}function kt(o,t){if(t){if(t[0]===">"&&(t=t.substring(1)),o)try{if(o.matches)return o.matches(t);if(o.msMatchesSelector)return o.msMatchesSelector(t);if(o.webkitMatchesSelector)return o.webkitMatchesSelector(t)}catch{return!1}return!1}}function Ee(o){return o.host&&o!==document&&o.host.nodeType?o.host:o.parentNode}function W(o,t,e,n){if(o){e=e||document;do{if(t!=null&&(t[0]===">"?o.parentNode===e&&kt(o,t):kt(o,t))||n&&o===e)return o;if(o===e)break}while(o=Ee(o))}return null}var fe=/\s+/g;function R(o,t,e){if(o&&t)if(o.classList)o.classList[e?"add":"remove"](t);else{var n=(" "+o.className+" ").replace(fe," ").replace(" "+t+" "," ");o.className=(n+(e?" "+t:"")).replace(fe," ")}}function h(o,t,e){var n=o&&o.style;if(n){if(e===void 0)return document.defaultView&&document.defaultView.getComputedStyle?e=document.defaultView.getComputedStyle(o,""):o.currentStyle&&(e=o.currentStyle),t===void 0?e:e[t];!(t in n)&&t.indexOf("webkit")===-1&&(t="-webkit-"+t),n[t]=e+(typeof e=="string"?"":"px")}}function ct(o,t){var e="";if(typeof o=="string")e=o;else do{var n=h(o,"transform");n&&n!=="none"&&(e=n+" "+e)}while(!t&&(o=o.parentNode));var i=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return i&&new i(e)}function ye(o,t,e){if(o){var n=o.getElementsByTagName(t),i=0,r=n.length;if(e)for(;i<r;i++)e(n[i],i);return n}return[]}function L(){var o=document.scrollingElement;return o||document.documentElement}function C(o,t,e,n,i){if(!(!o.getBoundingClientRect&&o!==window)){var r,a,l,s,u,d,c;if(o!==window&&o.parentNode&&o!==L()?(r=o.getBoundingClientRect(),a=r.top,l=r.left,s=r.bottom,u=r.right,d=r.height,c=r.width):(a=0,l=0,s=window.innerHeight,u=window.innerWidth,d=window.innerHeight,c=window.innerWidth),(t||e)&&o!==window&&(i=i||o.parentNode,!V))do if(i&&i.getBoundingClientRect&&(h(i,"transform")!=="none"||e&&h(i,"position")!=="static")){var b=i.getBoundingClientRect();a-=b.top+parseInt(h(i,"border-top-width")),l-=b.left+parseInt(h(i,"border-left-width")),s=a+r.height,u=l+r.width;break}while(i=i.parentNode);if(n&&o!==window){var w=ct(i||o),E=w&&w.a,y=w&&w.d;w&&(a/=y,l/=E,c/=E,d/=y,s=a+d,u=l+c)}return{top:a,left:l,bottom:s,right:u,width:c,height:d}}}function ce(o,t,e){for(var n=tt(o,!0),i=C(o)[t];n;){var r=C(n)[e],a=void 0;if(a=i>=r,!a)return n;if(n===L())break;n=tt(n,!1)}return!1}function dt(o,t,e,n){for(var i=0,r=0,a=o.children;r<a.length;){if(a[r].style.display!=="none"&&a[r]!==p.ghost&&(n||a[r]!==p.dragged)&&W(a[r],e.draggable,o,!1)){if(i===t)return a[r];i++}r++}return null}function ie(o,t){for(var e=o.lastElementChild;e&&(e===p.ghost||h(e,"display")==="none"||t&&!kt(e,t));)e=e.previousElementSibling;return e||null}function Y(o,t){var e=0;if(!o||!o.parentNode)return-1;for(;o=o.previousElementSibling;)o.nodeName.toUpperCase()!=="TEMPLATE"&&o!==p.clone&&(!t||kt(o,t))&&e++;return e}function de(o){var t=0,e=0,n=L();if(o)do{var i=ct(o),r=i.a,a=i.d;t+=o.scrollLeft*r,e+=o.scrollTop*a}while(o!==n&&(o=o.parentNode));return[t,e]}function Ye(o,t){for(var e in o)if(o.hasOwnProperty(e)){for(var n in t)if(t.hasOwnProperty(n)&&t[n]===o[e][n])return Number(e)}return-1}function tt(o,t){if(!o||!o.getBoundingClientRect)return L();var e=o,n=!1;do if(e.clientWidth<e.scrollWidth||e.clientHeight<e.scrollHeight){var i=h(e);if(e.clientWidth<e.scrollWidth&&(i.overflowX=="auto"||i.overflowX=="scroll")||e.clientHeight<e.scrollHeight&&(i.overflowY=="auto"||i.overflowY=="scroll")){if(!e.getBoundingClientRect||e===document.body)return L();if(n||t)return e;n=!0}}while(e=e.parentNode);return L()}function ke(o,t){if(o&&t)for(var e in t)t.hasOwnProperty(e)&&(o[e]=t[e]);return o}function zt(o,t){return Math.round(o.top)===Math.round(t.top)&&Math.round(o.left)===Math.round(t.left)&&Math.round(o.height)===Math.round(t.height)&&Math.round(o.width)===Math.round(t.width)}var _t;function we(o,t){return function(){if(!_t){var e=arguments,n=this;e.length===1?o.call(n,e[0]):o.apply(n,e),_t=setTimeout(function(){_t=void 0},t)}}}function Be(){clearTimeout(_t),_t=void 0}function _e(o,t,e){o.scrollLeft+=t,o.scrollTop+=e}function De(o){var t=window.Polymer,e=window.jQuery||window.Zepto;return t&&t.dom?t.dom(o).cloneNode(!0):e?e(o).clone(!0)[0]:o.cloneNode(!0)}function Se(o,t,e){var n={};return Array.from(o.children).forEach(function(i){var r,a,l,s;if(!(!W(i,t.draggable,o,!1)||i.animated||i===e)){var u=C(i);n.left=Math.min((r=n.left)!==null&&r!==void 0?r:1/0,u.left),n.top=Math.min((a=n.top)!==null&&a!==void 0?a:1/0,u.top),n.right=Math.max((l=n.right)!==null&&l!==void 0?l:-1/0,u.right),n.bottom=Math.max((s=n.bottom)!==null&&s!==void 0?s:-1/0,u.bottom)}}),n.width=n.right-n.left,n.height=n.bottom-n.top,n.x=n.left,n.y=n.top,n}var N="Sortable"+new Date().getTime();function He(){var o=[],t;return{captureAnimationState:function(){if(o=[],!!this.options.animation){var n=[].slice.call(this.el.children);n.forEach(function(i){if(!(h(i,"display")==="none"||i===p.ghost)){o.push({target:i,rect:C(i)});var r=z({},o[o.length-1].rect);if(i.thisAnimationDuration){var a=ct(i,!0);a&&(r.top-=a.f,r.left-=a.e)}i.fromRect=r}})}},addAnimationState:function(n){o.push(n)},removeAnimationState:function(n){o.splice(Ye(o,{target:n}),1)},animateAll:function(n){var i=this;if(!this.options.animation){clearTimeout(t),typeof n=="function"&&n();return}var r=!1,a=0;o.forEach(function(l){var s=0,u=l.target,d=u.fromRect,c=C(u),b=u.prevFromRect,w=u.prevToRect,E=l.rect,y=ct(u,!0);y&&(c.top-=y.f,c.left-=y.e),u.toRect=c,u.thisAnimationDuration&&zt(b,c)&&!zt(d,c)&&(E.top-c.top)/(E.left-c.left)===(d.top-c.top)/(d.left-c.left)&&(s=Ge(E,b,w,i.options)),zt(c,d)||(u.prevFromRect=d,u.prevToRect=c,s||(s=i.options.animation),i.animate(u,E,c,s)),s&&(r=!0,a=Math.max(a,s),clearTimeout(u.animationResetTimer),u.animationResetTimer=setTimeout(function(){u.animationTime=0,u.prevFromRect=null,u.fromRect=null,u.prevToRect=null,u.thisAnimationDuration=null},s),u.thisAnimationDuration=s)}),clearTimeout(t),r?t=setTimeout(function(){typeof n=="function"&&n()},a):typeof n=="function"&&n(),o=[]},animate:function(n,i,r,a){if(a){h(n,"transition",""),h(n,"transform","");var l=ct(this.el),s=l&&l.a,u=l&&l.d,d=(i.left-r.left)/(s||1),c=(i.top-r.top)/(u||1);n.animatingX=!!d,n.animatingY=!!c,h(n,"transform","translate3d("+d+"px,"+c+"px,0)"),this.forRepaintDummy=We(n),h(n,"transition","transform "+a+"ms"+(this.options.easing?" "+this.options.easing:"")),h(n,"transform","translate3d(0,0,0)"),typeof n.animated=="number"&&clearTimeout(n.animated),n.animated=setTimeout(function(){h(n,"transition",""),h(n,"transform",""),n.animated=!1,n.animatingX=!1,n.animatingY=!1},a)}}}}function We(o){return o.offsetWidth}function Ge(o,t,e,n){return Math.sqrt(Math.pow(t.top-o.top,2)+Math.pow(t.left-o.left,2))/Math.sqrt(Math.pow(t.top-e.top,2)+Math.pow(t.left-e.left,2))*n.animation}var lt=[],jt={initializeByDefault:!0},Ot={mount:function(t){for(var e in jt)jt.hasOwnProperty(e)&&!(e in t)&&(t[e]=jt[e]);lt.forEach(function(n){if(n.pluginName===t.pluginName)throw"Sortable: Cannot mount plugin ".concat(t.pluginName," more than once")}),lt.push(t)},pluginEvent:function(t,e,n){var i=this;this.eventCanceled=!1,n.cancel=function(){i.eventCanceled=!0};var r=t+"Global";lt.forEach(function(a){e[a.pluginName]&&(e[a.pluginName][r]&&e[a.pluginName][r](z({sortable:e},n)),e.options[a.pluginName]&&e[a.pluginName][t]&&e[a.pluginName][t](z({sortable:e},n)))})},initializePlugins:function(t,e,n,i){lt.forEach(function(l){var s=l.pluginName;if(!(!t.options[s]&&!l.initializeByDefault)){var u=new l(t,e,t.options);u.sortable=t,u.options=t.options,t[s]=u,q(n,u.defaults)}});for(var r in t.options)if(t.options.hasOwnProperty(r)){var a=this.modifyOption(t,r,t.options[r]);typeof a<"u"&&(t.options[r]=a)}},getEventProperties:function(t,e){var n={};return lt.forEach(function(i){typeof i.eventProperties=="function"&&q(n,i.eventProperties.call(e[i.pluginName],t))}),n},modifyOption:function(t,e,n){var i;return lt.forEach(function(r){t[r.pluginName]&&r.optionListeners&&typeof r.optionListeners[e]=="function"&&(i=r.optionListeners[e].call(t[r.pluginName],n))}),i}};function Le(o){var t=o.sortable,e=o.rootEl,n=o.name,i=o.targetEl,r=o.cloneEl,a=o.toEl,l=o.fromEl,s=o.oldIndex,u=o.newIndex,d=o.oldDraggableIndex,c=o.newDraggableIndex,b=o.originalEvent,w=o.putSortable,E=o.extraEventProperties;if(t=t||e&&e[N],!!t){var y,k=t.options,j="on"+n.charAt(0).toUpperCase()+n.substr(1);window.CustomEvent&&!V&&!Ct?y=new CustomEvent(n,{bubbles:!0,cancelable:!0}):(y=document.createEvent("Event"),y.initEvent(n,!0,!0)),y.to=a||e,y.from=l||e,y.item=i||e,y.clone=r,y.oldIndex=s,y.newIndex=u,y.oldDraggableIndex=d,y.newDraggableIndex=c,y.originalEvent=b,y.pullMode=w?w.lastPutMode:void 0;var A=z(z({},E),Ot.getEventProperties(n,t));for(var B in A)y[B]=A[B];e&&e.dispatchEvent(y),k[j]&&k[j].call(t,y)}}var ze=["evt"],x=function(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i=n.evt,r=Re(n,ze);Ot.pluginEvent.bind(p)(t,e,z({dragEl:f,parentEl:S,ghostEl:g,rootEl:_,nextEl:at,lastDownEl:Ft,cloneEl:D,cloneHidden:J,dragStarted:bt,putSortable:O,activeSortable:p.active,originalEvent:i,oldIndex:ft,oldDraggableIndex:Dt,newIndex:X,newDraggableIndex:Q,hideGhostForTarget:Ie,unhideGhostForTarget:Ae,cloneNowHidden:function(){J=!0},cloneNowShown:function(){J=!1},dispatchSortableEvent:function(l){P({sortable:e,name:l,originalEvent:i})}},r))};function P(o){Le(z({putSortable:O,cloneEl:D,targetEl:f,rootEl:_,oldIndex:ft,oldDraggableIndex:Dt,newIndex:X,newDraggableIndex:Q},o))}var f,S,g,_,at,Ft,D,J,ft,X,Dt,Q,At,O,ut=!1,Bt=!1,Ht=[],it,H,$t,Ut,he,pe,bt,st,St,Tt=!1,Pt=!1,Rt,I,qt=[],Jt=!1,Wt=[],Lt=typeof document<"u",xt=oe,ge=Ct||V?"cssFloat":"float",je=Lt&&!ve&&!oe&&"draggable"in document.createElement("div"),Te=(function(){if(Lt){if(V)return!1;var o=document.createElement("x");return o.style.cssText="pointer-events:auto",o.style.pointerEvents==="auto"}})(),Ce=function(t,e){var n=h(t),i=parseInt(n.width)-parseInt(n.paddingLeft)-parseInt(n.paddingRight)-parseInt(n.borderLeftWidth)-parseInt(n.borderRightWidth),r=dt(t,0,e),a=dt(t,1,e),l=r&&h(r),s=a&&h(a),u=l&&parseInt(l.marginLeft)+parseInt(l.marginRight)+C(r).width,d=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+C(a).width;if(n.display==="flex")return n.flexDirection==="column"||n.flexDirection==="column-reverse"?"vertical":"horizontal";if(n.display==="grid")return n.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(r&&l.float&&l.float!=="none"){var c=l.float==="left"?"left":"right";return a&&(s.clear==="both"||s.clear===c)?"vertical":"horizontal"}return r&&(l.display==="block"||l.display==="flex"||l.display==="table"||l.display==="grid"||u>=i&&n[ge]==="none"||a&&n[ge]==="none"&&u+d>i)?"vertical":"horizontal"},$e=function(t,e,n){var i=n?t.left:t.top,r=n?t.right:t.bottom,a=n?t.width:t.height,l=n?e.left:e.top,s=n?e.right:e.bottom,u=n?e.width:e.height;return i===l||r===s||i+a/2===l+u/2},Ue=function(t,e){var n;return Ht.some(function(i){var r=i[N].options.emptyInsertThreshold;if(!(!r||ie(i))){var a=C(i),l=t>=a.left-r&&t<=a.right+r,s=e>=a.top-r&&e<=a.bottom+r;if(l&&s)return n=i}}),n},Oe=function(t){function e(r,a){return function(l,s,u,d){var c=l.options.group.name&&s.options.group.name&&l.options.group.name===s.options.group.name;if(r==null&&(a||c))return!0;if(r==null||r===!1)return!1;if(a&&r==="clone")return r;if(typeof r=="function")return e(r(l,s,u,d),a)(l,s,u,d);var b=(a?l:s).options.group.name;return r===!0||typeof r=="string"&&r===b||r.join&&r.indexOf(b)>-1}}var n={},i=t.group;(!i||Mt(i)!="object")&&(i={name:i}),n.name=i.name,n.checkPull=e(i.pull,!0),n.checkPut=e(i.put),n.revertClone=i.revertClone,t.group=n},Ie=function(){!Te&&g&&h(g,"display","none")},Ae=function(){!Te&&g&&h(g,"display","")};Lt&&!ve&&document.addEventListener("click",function(o){if(Bt)return o.preventDefault(),o.stopPropagation&&o.stopPropagation(),o.stopImmediatePropagation&&o.stopImmediatePropagation(),Bt=!1,!1},!0);var rt=function(t){if(f){t=t.touches?t.touches[0]:t;var e=Ue(t.clientX,t.clientY);if(e){var n={};for(var i in t)t.hasOwnProperty(i)&&(n[i]=t[i]);n.target=n.rootEl=e,n.preventDefault=void 0,n.stopPropagation=void 0,e[N]._onDragOver(n)}}},qe=function(t){f&&f.parentNode[N]._isOutsideThisEl(t.target)};function p(o,t){if(!(o&&o.nodeType&&o.nodeType===1))throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(o));this.el=o,this.options=t=q({},t),o[N]=this;var e={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(o.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return Ce(o,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(a,l){a.setData("Text",l.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:p.supportPointer!==!1&&"PointerEvent"in window&&(!wt||oe),emptyInsertThreshold:5};Ot.initializePlugins(this,o,e);for(var n in e)!(n in t)&&(t[n]=e[n]);Oe(t);for(var i in this)i.charAt(0)==="_"&&typeof this[i]=="function"&&(this[i]=this[i].bind(this));this.nativeDraggable=t.forceFallback?!1:je,this.nativeDraggable&&(this.options.touchStartThreshold=1),t.supportPointer?v(o,"pointerdown",this._onTapStart):(v(o,"mousedown",this._onTapStart),v(o,"touchstart",this._onTapStart)),this.nativeDraggable&&(v(o,"dragover",this),v(o,"dragenter",this)),Ht.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[]),q(this,He())}p.prototype={constructor:p,_isOutsideThisEl:function(t){!this.el.contains(t)&&t!==this.el&&(st=null)},_getDirection:function(t,e){return typeof this.options.direction=="function"?this.options.direction.call(this,t,e,f):this.options.direction},_onTapStart:function(t){if(t.cancelable){var e=this,n=this.el,i=this.options,r=i.preventOnFilter,a=t.type,l=t.touches&&t.touches[0]||t.pointerType&&t.pointerType==="touch"&&t,s=(l||t).target,u=t.target.shadowRoot&&(t.path&&t.path[0]||t.composedPath&&t.composedPath()[0])||s,d=i.filter;if(nn(n),!f&&!(/mousedown|pointerdown/.test(a)&&t.button!==0||i.disabled)&&!u.isContentEditable&&!(!this.nativeDraggable&&wt&&s&&s.tagName.toUpperCase()==="SELECT")&&(s=W(s,i.draggable,n,!1),!(s&&s.animated)&&Ft!==s)){if(ft=Y(s),Dt=Y(s,i.draggable),typeof d=="function"){if(d.call(this,t,s,this)){P({sortable:e,rootEl:u,name:"filter",targetEl:s,toEl:n,fromEl:n}),x("filter",e,{evt:t}),r&&t.preventDefault();return}}else if(d&&(d=d.split(",").some(function(c){if(c=W(u,c.trim(),n,!1),c)return P({sortable:e,rootEl:c,name:"filter",targetEl:s,fromEl:n,toEl:n}),x("filter",e,{evt:t}),!0}),d)){r&&t.preventDefault();return}i.handle&&!W(u,i.handle,n,!1)||this._prepareDragStart(t,l,s)}}},_prepareDragStart:function(t,e,n){var i=this,r=i.el,a=i.options,l=r.ownerDocument,s;if(n&&!f&&n.parentNode===r){var u=C(n);if(_=r,f=n,S=f.parentNode,at=f.nextSibling,Ft=n,At=a.group,p.dragged=f,it={target:f,clientX:(e||t).clientX,clientY:(e||t).clientY},he=it.clientX-u.left,pe=it.clientY-u.top,this._lastX=(e||t).clientX,this._lastY=(e||t).clientY,f.style["will-change"]="all",s=function(){if(x("delayEnded",i,{evt:t}),p.eventCanceled){i._onDrop();return}i._disableDelayedDragEvents(),!ue&&i.nativeDraggable&&(f.draggable=!0),i._triggerDragStart(t,e),P({sortable:i,name:"choose",originalEvent:t}),R(f,a.chosenClass,!0)},a.ignore.split(",").forEach(function(d){ye(f,d.trim(),Vt)}),v(l,"dragover",rt),v(l,"mousemove",rt),v(l,"touchmove",rt),a.supportPointer?(v(l,"pointerup",i._onDrop),!this.nativeDraggable&&v(l,"pointercancel",i._onDrop)):(v(l,"mouseup",i._onDrop),v(l,"touchend",i._onDrop),v(l,"touchcancel",i._onDrop)),ue&&this.nativeDraggable&&(this.options.touchStartThreshold=4,f.draggable=!0),x("delayStart",this,{evt:t}),a.delay&&(!a.delayOnTouchOnly||e)&&(!this.nativeDraggable||!(Ct||V))){if(p.eventCanceled){this._onDrop();return}a.supportPointer?(v(l,"pointerup",i._disableDelayedDrag),v(l,"pointercancel",i._disableDelayedDrag)):(v(l,"mouseup",i._disableDelayedDrag),v(l,"touchend",i._disableDelayedDrag),v(l,"touchcancel",i._disableDelayedDrag)),v(l,"mousemove",i._delayedDragTouchMoveHandler),v(l,"touchmove",i._delayedDragTouchMoveHandler),a.supportPointer&&v(l,"pointermove",i._delayedDragTouchMoveHandler),i._dragStartTimer=setTimeout(s,a.delay)}else s()}},_delayedDragTouchMoveHandler:function(t){var e=t.touches?t.touches[0]:t;Math.max(Math.abs(e.clientX-this._lastX),Math.abs(e.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){f&&Vt(f),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var t=this.el.ownerDocument;m(t,"mouseup",this._disableDelayedDrag),m(t,"touchend",this._disableDelayedDrag),m(t,"touchcancel",this._disableDelayedDrag),m(t,"pointerup",this._disableDelayedDrag),m(t,"pointercancel",this._disableDelayedDrag),m(t,"mousemove",this._delayedDragTouchMoveHandler),m(t,"touchmove",this._delayedDragTouchMoveHandler),m(t,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(t,e){e=e||t.pointerType=="touch"&&t,!this.nativeDraggable||e?this.options.supportPointer?v(document,"pointermove",this._onTouchMove):e?v(document,"touchmove",this._onTouchMove):v(document,"mousemove",this._onTouchMove):(v(f,"dragend",this),v(_,"dragstart",this._onDragStart));try{document.selection?Xt(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch{}},_dragStarted:function(t,e){if(ut=!1,_&&f){x("dragStarted",this,{evt:e}),this.nativeDraggable&&v(document,"dragover",qe);var n=this.options;!t&&R(f,n.dragClass,!1),R(f,n.ghostClass,!0),p.active=this,t&&this._appendGhost(),P({sortable:this,name:"start",originalEvent:e})}else this._nulling()},_emulateDragOver:function(){if(H){this._lastX=H.clientX,this._lastY=H.clientY,Ie();for(var t=document.elementFromPoint(H.clientX,H.clientY),e=t;t&&t.shadowRoot&&(t=t.shadowRoot.elementFromPoint(H.clientX,H.clientY),t!==e);)e=t;if(f.parentNode[N]._isOutsideThisEl(t),e)do{if(e[N]){var n=void 0;if(n=e[N]._onDragOver({clientX:H.clientX,clientY:H.clientY,target:t,rootEl:e}),n&&!this.options.dragoverBubble)break}t=e}while(e=Ee(e));Ae()}},_onTouchMove:function(t){if(it){var e=this.options,n=e.fallbackTolerance,i=e.fallbackOffset,r=t.touches?t.touches[0]:t,a=g&&ct(g,!0),l=g&&a&&a.a,s=g&&a&&a.d,u=xt&&I&&de(I),d=(r.clientX-it.clientX+i.x)/(l||1)+(u?u[0]-qt[0]:0)/(l||1),c=(r.clientY-it.clientY+i.y)/(s||1)+(u?u[1]-qt[1]:0)/(s||1);if(!p.active&&!ut){if(n&&Math.max(Math.abs(r.clientX-this._lastX),Math.abs(r.clientY-this._lastY))<n)return;this._onDragStart(t,!0)}if(g){a?(a.e+=d-($t||0),a.f+=c-(Ut||0)):a={a:1,b:0,c:0,d:1,e:d,f:c};var b="matrix(".concat(a.a,",").concat(a.b,",").concat(a.c,",").concat(a.d,",").concat(a.e,",").concat(a.f,")");h(g,"webkitTransform",b),h(g,"mozTransform",b),h(g,"msTransform",b),h(g,"transform",b),$t=d,Ut=c,H=r}t.cancelable&&t.preventDefault()}},_appendGhost:function(){if(!g){var t=this.options.fallbackOnBody?document.body:_,e=C(f,!0,xt,!0,t),n=this.options;if(xt){for(I=t;h(I,"position")==="static"&&h(I,"transform")==="none"&&I!==document;)I=I.parentNode;I!==document.body&&I!==document.documentElement?(I===document&&(I=L()),e.top+=I.scrollTop,e.left+=I.scrollLeft):I=L(),qt=de(I)}g=f.cloneNode(!0),R(g,n.ghostClass,!1),R(g,n.fallbackClass,!0),R(g,n.dragClass,!0),h(g,"transition",""),h(g,"transform",""),h(g,"box-sizing","border-box"),h(g,"margin",0),h(g,"top",e.top),h(g,"left",e.left),h(g,"width",e.width),h(g,"height",e.height),h(g,"opacity","0.8"),h(g,"position",xt?"absolute":"fixed"),h(g,"zIndex","100000"),h(g,"pointerEvents","none"),p.ghost=g,t.appendChild(g),h(g,"transform-origin",he/parseInt(g.style.width)*100+"% "+pe/parseInt(g.style.height)*100+"%")}},_onDragStart:function(t,e){var n=this,i=t.dataTransfer,r=n.options;if(x("dragStart",this,{evt:t}),p.eventCanceled){this._onDrop();return}x("setupClone",this),p.eventCanceled||(D=De(f),D.removeAttribute("id"),D.draggable=!1,D.style["will-change"]="",this._hideClone(),R(D,this.options.chosenClass,!1),p.clone=D),n.cloneId=Xt(function(){x("clone",n),!p.eventCanceled&&(n.options.removeCloneOnHide||_.insertBefore(D,f),n._hideClone(),P({sortable:n,name:"clone"}))}),!e&&R(f,r.dragClass,!0),e?(Bt=!0,n._loopId=setInterval(n._emulateDragOver,50)):(m(document,"mouseup",n._onDrop),m(document,"touchend",n._onDrop),m(document,"touchcancel",n._onDrop),i&&(i.effectAllowed="move",r.setData&&r.setData.call(n,i,f)),v(document,"drop",n),h(f,"transform","translateZ(0)")),ut=!0,n._dragStartId=Xt(n._dragStarted.bind(n,e,t)),v(document,"selectstart",n),bt=!0,window.getSelection().removeAllRanges(),wt&&h(document.body,"user-select","none")},_onDragOver:function(t){var e=this.el,n=t.target,i,r,a,l=this.options,s=l.group,u=p.active,d=At===s,c=l.sort,b=O||u,w,E=this,y=!1;if(Jt)return;function k(vt,xe){x(vt,E,z({evt:t,isOwner:d,axis:w?"vertical":"horizontal",revert:a,dragRect:i,targetRect:r,canSort:c,fromSortable:b,target:n,completed:A,onMove:function(le,Ne){return Nt(_,e,f,i,le,C(le),t,Ne)},changed:B},xe))}function j(){k("dragOverAnimationCapture"),E.captureAnimationState(),E!==b&&b.captureAnimationState()}function A(vt){return k("dragOverCompleted",{insertion:vt}),vt&&(d?u._hideClone():u._showClone(E),E!==b&&(R(f,O?O.options.ghostClass:u.options.ghostClass,!1),R(f,l.ghostClass,!0)),O!==E&&E!==p.active?O=E:E===p.active&&O&&(O=null),b===E&&(E._ignoreWhileAnimating=n),E.animateAll(function(){k("dragOverAnimationComplete"),E._ignoreWhileAnimating=null}),E!==b&&(b.animateAll(),b._ignoreWhileAnimating=null)),(n===f&&!f.animated||n===e&&!n.animated)&&(st=null),!l.dragoverBubble&&!t.rootEl&&n!==document&&(f.parentNode[N]._isOutsideThisEl(t.target),!vt&&rt(t)),!l.dragoverBubble&&t.stopPropagation&&t.stopPropagation(),y=!0}function B(){X=Y(f),Q=Y(f,l.draggable),P({sortable:E,name:"change",toEl:e,newIndex:X,newDraggableIndex:Q,originalEvent:t})}if(t.preventDefault!==void 0&&t.cancelable&&t.preventDefault(),n=W(n,l.draggable,e,!0),k("dragOver"),p.eventCanceled)return y;if(f.contains(t.target)||n.animated&&n.animatingX&&n.animatingY||E._ignoreWhileAnimating===n)return A(!1);if(Bt=!1,u&&!l.disabled&&(d?c||(a=S!==_):O===this||(this.lastPutMode=At.checkPull(this,u,f,t))&&s.checkPut(this,u,f,t))){if(w=this._getDirection(t,n)==="vertical",i=C(f),k("dragOverValid"),p.eventCanceled)return y;if(a)return S=_,j(),this._hideClone(),k("revert"),p.eventCanceled||(at?_.insertBefore(f,at):_.appendChild(f)),A(!0);var M=ie(e,l.draggable);if(!M||Qe(t,w,this)&&!M.animated){if(M===f)return A(!1);if(M&&e===t.target&&(n=M),n&&(r=C(n)),Nt(_,e,f,i,n,r,t,!!n)!==!1)return j(),M&&M.nextSibling?e.insertBefore(f,M.nextSibling):e.appendChild(f),S=e,B(),A(!0)}else if(M&&Ze(t,w,this)){var et=dt(e,0,l,!0);if(et===f)return A(!1);if(n=et,r=C(n),Nt(_,e,f,i,n,r,t,!1)!==!1)return j(),e.insertBefore(f,et),S=e,B(),A(!0)}else if(n.parentNode===e){r=C(n);var G=0,nt,ht=f.parentNode!==e,F=!$e(f.animated&&f.toRect||i,n.animated&&n.toRect||r,w),pt=w?"top":"left",K=ce(n,"top","top")||ce(f,"top","top"),gt=K?K.scrollTop:void 0;st!==n&&(nt=r[pt],Tt=!1,Pt=!F&&l.invertSwap||ht),G=Je(t,n,r,w,F?1:l.swapThreshold,l.invertedSwapThreshold==null?l.swapThreshold:l.invertedSwapThreshold,Pt,st===n);var $;if(G!==0){var ot=Y(f);do ot-=G,$=S.children[ot];while($&&(h($,"display")==="none"||$===g))}if(G===0||$===n)return A(!1);st=n,St=G;var mt=n.nextElementSibling,Z=!1;Z=G===1;var It=Nt(_,e,f,i,n,r,t,Z);if(It!==!1)return(It===1||It===-1)&&(Z=It===1),Jt=!0,setTimeout(Ke,30),j(),Z&&!mt?e.appendChild(f):n.parentNode.insertBefore(f,Z?mt:n),K&&_e(K,0,gt-K.scrollTop),S=f.parentNode,nt!==void 0&&!Pt&&(Rt=Math.abs(nt-C(n)[pt])),B(),A(!0)}if(e.contains(f))return A(!1)}return!1},_ignoreWhileAnimating:null,_offMoveEvents:function(){m(document,"mousemove",this._onTouchMove),m(document,"touchmove",this._onTouchMove),m(document,"pointermove",this._onTouchMove),m(document,"dragover",rt),m(document,"mousemove",rt),m(document,"touchmove",rt)},_offUpEvents:function(){var t=this.el.ownerDocument;m(t,"mouseup",this._onDrop),m(t,"touchend",this._onDrop),m(t,"pointerup",this._onDrop),m(t,"pointercancel",this._onDrop),m(t,"touchcancel",this._onDrop),m(document,"selectstart",this)},_onDrop:function(t){var e=this.el,n=this.options;if(X=Y(f),Q=Y(f,n.draggable),x("drop",this,{evt:t}),S=f&&f.parentNode,X=Y(f),Q=Y(f,n.draggable),p.eventCanceled){this._nulling();return}ut=!1,Pt=!1,Tt=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),te(this.cloneId),te(this._dragStartId),this.nativeDraggable&&(m(document,"drop",this),m(e,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),wt&&h(document.body,"user-select",""),h(f,"transform",""),t&&(bt&&(t.cancelable&&t.preventDefault(),!n.dropBubble&&t.stopPropagation()),g&&g.parentNode&&g.parentNode.removeChild(g),(_===S||O&&O.lastPutMode!=="clone")&&D&&D.parentNode&&D.parentNode.removeChild(D),f&&(this.nativeDraggable&&m(f,"dragend",this),Vt(f),f.style["will-change"]="",bt&&!ut&&R(f,O?O.options.ghostClass:this.options.ghostClass,!1),R(f,this.options.chosenClass,!1),P({sortable:this,name:"unchoose",toEl:S,newIndex:null,newDraggableIndex:null,originalEvent:t}),_!==S?(X>=0&&(P({rootEl:S,name:"add",toEl:S,fromEl:_,originalEvent:t}),P({sortable:this,name:"remove",toEl:S,originalEvent:t}),P({rootEl:S,name:"sort",toEl:S,fromEl:_,originalEvent:t}),P({sortable:this,name:"sort",toEl:S,originalEvent:t})),O&&O.save()):X!==ft&&X>=0&&(P({sortable:this,name:"update",toEl:S,originalEvent:t}),P({sortable:this,name:"sort",toEl:S,originalEvent:t})),p.active&&((X==null||X===-1)&&(X=ft,Q=Dt),P({sortable:this,name:"end",toEl:S,originalEvent:t}),this.save()))),this._nulling()},_nulling:function(){x("nulling",this),_=f=S=g=at=D=Ft=J=it=H=bt=X=Q=ft=Dt=st=St=O=At=p.dragged=p.ghost=p.clone=p.active=null,Wt.forEach(function(t){t.checked=!0}),Wt.length=$t=Ut=0},handleEvent:function(t){switch(t.type){case"drop":case"dragend":this._onDrop(t);break;case"dragenter":case"dragover":f&&(this._onDragOver(t),Ve(t));break;case"selectstart":t.preventDefault();break}},toArray:function(){for(var t=[],e,n=this.el.children,i=0,r=n.length,a=this.options;i<r;i++)e=n[i],W(e,a.draggable,this.el,!1)&&t.push(e.getAttribute(a.dataIdAttr)||en(e));return t},sort:function(t,e){var n={},i=this.el;this.toArray().forEach(function(r,a){var l=i.children[a];W(l,this.options.draggable,i,!1)&&(n[r]=l)},this),e&&this.captureAnimationState(),t.forEach(function(r){n[r]&&(i.removeChild(n[r]),i.appendChild(n[r]))}),e&&this.animateAll()},save:function(){var t=this.options.store;t&&t.set&&t.set(this)},closest:function(t,e){return W(t,e||this.options.draggable,this.el,!1)},option:function(t,e){var n=this.options;if(e===void 0)return n[t];var i=Ot.modifyOption(this,t,e);typeof i<"u"?n[t]=i:n[t]=e,t==="group"&&Oe(n)},destroy:function(){x("destroy",this);var t=this.el;t[N]=null,m(t,"mousedown",this._onTapStart),m(t,"touchstart",this._onTapStart),m(t,"pointerdown",this._onTapStart),this.nativeDraggable&&(m(t,"dragover",this),m(t,"dragenter",this)),Array.prototype.forEach.call(t.querySelectorAll("[draggable]"),function(e){e.removeAttribute("draggable")}),this._onDrop(),this._disableDelayedDragEvents(),Ht.splice(Ht.indexOf(this.el),1),this.el=t=null},_hideClone:function(){if(!J){if(x("hideClone",this),p.eventCanceled)return;h(D,"display","none"),this.options.removeCloneOnHide&&D.parentNode&&D.parentNode.removeChild(D),J=!0}},_showClone:function(t){if(t.lastPutMode!=="clone"){this._hideClone();return}if(J){if(x("showClone",this),p.eventCanceled)return;f.parentNode==_&&!this.options.group.revertClone?_.insertBefore(D,f):at?_.insertBefore(D,at):_.appendChild(D),this.options.group.revertClone&&this.animate(f,D),h(D,"display",""),J=!1}}};function Ve(o){o.dataTransfer&&(o.dataTransfer.dropEffect="move"),o.cancelable&&o.preventDefault()}function Nt(o,t,e,n,i,r,a,l){var s,u=o[N],d=u.options.onMove,c;return window.CustomEvent&&!V&&!Ct?s=new CustomEvent("move",{bubbles:!0,cancelable:!0}):(s=document.createEvent("Event"),s.initEvent("move",!0,!0)),s.to=t,s.from=o,s.dragged=e,s.draggedRect=n,s.related=i||t,s.relatedRect=r||C(t),s.willInsertAfter=l,s.originalEvent=a,o.dispatchEvent(s),d&&(c=d.call(u,s,a)),c}function Vt(o){o.draggable=!1}function Ke(){Jt=!1}function Ze(o,t,e){var n=C(dt(e.el,0,e.options,!0)),i=Se(e.el,e.options,g),r=10;return t?o.clientX<i.left-r||o.clientY<n.top&&o.clientX<n.right:o.clientY<i.top-r||o.clientY<n.bottom&&o.clientX<n.left}function Qe(o,t,e){var n=C(ie(e.el,e.options.draggable)),i=Se(e.el,e.options,g),r=10;return t?o.clientX>i.right+r||o.clientY>n.bottom&&o.clientX>n.left:o.clientY>i.bottom+r||o.clientX>n.right&&o.clientY>n.top}function Je(o,t,e,n,i,r,a,l){var s=n?o.clientY:o.clientX,u=n?e.height:e.width,d=n?e.top:e.left,c=n?e.bottom:e.right,b=!1;if(!a){if(l&&Rt<u*i){if(!Tt&&(St===1?s>d+u*r/2:s<c-u*r/2)&&(Tt=!0),Tt)b=!0;else if(St===1?s<d+Rt:s>c-Rt)return-St}else if(s>d+u*(1-i)/2&&s<c-u*(1-i)/2)return tn(t)}return b=b||a,b&&(s<d+u*r/2||s>c-u*r/2)?s>d+u/2?1:-1:0}function tn(o){return Y(f)<Y(o)?1:-1}function en(o){for(var t=o.tagName+o.className+o.src+o.href+o.textContent,e=t.length,n=0;e--;)n+=t.charCodeAt(e);return n.toString(36)}function nn(o){Wt.length=0;for(var t=o.getElementsByTagName("input"),e=t.length;e--;){var n=t[e];n.checked&&Wt.push(n)}}function Xt(o){return setTimeout(o,0)}function te(o){return clearTimeout(o)}Lt&&v(document,"touchmove",function(o){(p.active||ut)&&o.cancelable&&o.preventDefault()});p.utils={on:v,off:m,css:h,find:ye,is:function(t,e){return!!W(t,e,t,!1)},extend:ke,throttle:we,closest:W,toggleClass:R,clone:De,index:Y,nextTick:Xt,cancelNextTick:te,detectDirection:Ce,getChild:dt,expando:N};p.get=function(o){return o[N]};p.mount=function(){for(var o=arguments.length,t=new Array(o),e=0;e<o;e++)t[e]=arguments[e];t[0].constructor===Array&&(t=t[0]),t.forEach(function(n){if(!n.prototype||!n.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(n));n.utils&&(p.utils=z(z({},p.utils),n.utils)),Ot.mount(n)})};p.create=function(o,t){return new p(o,t)};p.version=Xe;var T=[],Et,ee,ne=!1,Kt,Zt,Gt,yt;function on(){function o(){this.defaults={scroll:!0,forceAutoScrollFallback:!1,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0};for(var t in this)t.charAt(0)==="_"&&typeof this[t]=="function"&&(this[t]=this[t].bind(this))}return o.prototype={dragStarted:function(e){var n=e.originalEvent;this.sortable.nativeDraggable?v(document,"dragover",this._handleAutoScroll):this.options.supportPointer?v(document,"pointermove",this._handleFallbackAutoScroll):n.touches?v(document,"touchmove",this._handleFallbackAutoScroll):v(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(e){var n=e.originalEvent;!this.options.dragOverBubble&&!n.rootEl&&this._handleAutoScroll(n)},drop:function(){this.sortable.nativeDraggable?m(document,"dragover",this._handleAutoScroll):(m(document,"pointermove",this._handleFallbackAutoScroll),m(document,"touchmove",this._handleFallbackAutoScroll),m(document,"mousemove",this._handleFallbackAutoScroll)),me(),Yt(),Be()},nulling:function(){Gt=ee=Et=ne=yt=Kt=Zt=null,T.length=0},_handleFallbackAutoScroll:function(e){this._handleAutoScroll(e,!0)},_handleAutoScroll:function(e,n){var i=this,r=(e.touches?e.touches[0]:e).clientX,a=(e.touches?e.touches[0]:e).clientY,l=document.elementFromPoint(r,a);if(Gt=e,n||this.options.forceAutoScrollFallback||Ct||V||wt){Qt(e,this.options,l,n);var s=tt(l,!0);ne&&(!yt||r!==Kt||a!==Zt)&&(yt&&me(),yt=setInterval(function(){var u=tt(document.elementFromPoint(r,a),!0);u!==s&&(s=u,Yt()),Qt(e,i.options,u,n)},10),Kt=r,Zt=a)}else{if(!this.options.bubbleScroll||tt(l,!0)===L()){Yt();return}Qt(e,this.options,tt(l,!1),!1)}}},q(o,{pluginName:"scroll",initializeByDefault:!0})}function Yt(){T.forEach(function(o){clearInterval(o.pid)}),T=[]}function me(){clearInterval(yt)}var Qt=we(function(o,t,e,n){if(t.scroll){var i=(o.touches?o.touches[0]:o).clientX,r=(o.touches?o.touches[0]:o).clientY,a=t.scrollSensitivity,l=t.scrollSpeed,s=L(),u=!1,d;ee!==e&&(ee=e,Yt(),Et=t.scroll,d=t.scrollFn,Et===!0&&(Et=tt(e,!0)));var c=0,b=Et;do{var w=b,E=C(w),y=E.top,k=E.bottom,j=E.left,A=E.right,B=E.width,M=E.height,et=void 0,G=void 0,nt=w.scrollWidth,ht=w.scrollHeight,F=h(w),pt=w.scrollLeft,K=w.scrollTop;w===s?(et=B<nt&&(F.overflowX==="auto"||F.overflowX==="scroll"||F.overflowX==="visible"),G=M<ht&&(F.overflowY==="auto"||F.overflowY==="scroll"||F.overflowY==="visible")):(et=B<nt&&(F.overflowX==="auto"||F.overflowX==="scroll"),G=M<ht&&(F.overflowY==="auto"||F.overflowY==="scroll"));var gt=et&&(Math.abs(A-i)<=a&&pt+B<nt)-(Math.abs(j-i)<=a&&!!pt),$=G&&(Math.abs(k-r)<=a&&K+M<ht)-(Math.abs(y-r)<=a&&!!K);if(!T[c])for(var ot=0;ot<=c;ot++)T[ot]||(T[ot]={});(T[c].vx!=gt||T[c].vy!=$||T[c].el!==w)&&(T[c].el=w,T[c].vx=gt,T[c].vy=$,clearInterval(T[c].pid),(gt!=0||$!=0)&&(u=!0,T[c].pid=setInterval((function(){n&&this.layer===0&&p.active._onTouchMove(Gt);var mt=T[this.layer].vy?T[this.layer].vy*l:0,Z=T[this.layer].vx?T[this.layer].vx*l:0;typeof d=="function"&&d.call(p.dragged.parentNode[N],Z,mt,o,Gt,T[this.layer].el)!=="continue"||_e(T[this.layer].el,Z,mt)}).bind({layer:c}),24))),c++}while(t.bubbleScroll&&b!==s&&(b=tt(b,!1)));ne=u}},30),Pe=function(t){var e=t.originalEvent,n=t.putSortable,i=t.dragEl,r=t.activeSortable,a=t.dispatchSortableEvent,l=t.hideGhostForTarget,s=t.unhideGhostForTarget;if(e){var u=n||r;l();var d=e.changedTouches&&e.changedTouches.length?e.changedTouches[0]:e,c=document.elementFromPoint(d.clientX,d.clientY);s(),u&&!u.el.contains(c)&&(a("spill"),this.onSpill({dragEl:i,putSortable:n}))}};function re(){}re.prototype={startIndex:null,dragStart:function(t){var e=t.oldDraggableIndex;this.startIndex=e},onSpill:function(t){var e=t.dragEl,n=t.putSortable;this.sortable.captureAnimationState(),n&&n.captureAnimationState();var i=dt(this.sortable.el,this.startIndex,this.options);i?this.sortable.el.insertBefore(e,i):this.sortable.el.appendChild(e),this.sortable.animateAll(),n&&n.animateAll()},drop:Pe};q(re,{pluginName:"revertOnSpill"});function ae(){}ae.prototype={onSpill:function(t){var e=t.dragEl,n=t.putSortable,i=n||this.sortable;i.captureAnimationState(),e.parentNode&&e.parentNode.removeChild(e),i.animateAll()},drop:Pe};q(ae,{pluginName:"removeOnSpill"});p.mount(new on);p.mount(ae,re);exports.Sortable=p;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/*! xlsx.js (C) 2013-present SheetJS -- http://sheetjs.com */
|
|
2
1
|
var g0 = {};
|
|
3
2
|
g0.version = "0.20.3";
|
|
4
3
|
var Yr = 1200, jt = function(e) {
|
|
@@ -14257,7 +14256,6 @@ function Qi(e, t) {
|
|
|
14257
14256
|
/*, opts*/
|
|
14258
14257
|
)), r;
|
|
14259
14258
|
}
|
|
14260
|
-
/*! sheetjs (C) 2013-present SheetJS -- http://sheetjs.com */
|
|
14261
14259
|
var wr = (function() {
|
|
14262
14260
|
try {
|
|
14263
14261
|
return typeof Uint8Array > "u" || typeof Uint8Array.prototype.subarray > "u" ? "slice" : typeof Buffer < "u" ? typeof Buffer.prototype.subarray > "u" ? "slice" : (typeof Buffer.from == "function" ? Buffer.from([72, 62]) : new Buffer([72, 62])) instanceof Uint8Array ? "subarray" : "slice" : "subarray";
|