marketplacepos 5.46.7 → 5.48.0
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/Marketplace/3rdpartylicenses.txt +54 -2
- package/Marketplace/chunk-222IOSGU.js +2 -0
- package/Marketplace/chunk-2FSRCK7Y.js +1 -0
- package/Marketplace/chunk-2J7P6ENI.js +1 -0
- package/Marketplace/chunk-2LCP6ZFH.js +1 -0
- package/Marketplace/chunk-34UF36YY.js +1 -0
- package/Marketplace/chunk-37NOSLQL.js +2 -0
- package/Marketplace/chunk-3I2V337G.js +2 -0
- package/Marketplace/chunk-3JRUKSV3.js +251 -0
- package/Marketplace/chunk-3LU2SFN4.js +7 -0
- package/Marketplace/chunk-3WRXJBHF.js +380 -0
- package/Marketplace/chunk-3YDWTOSL.js +1 -0
- package/Marketplace/chunk-44URQXRM.js +1 -0
- package/Marketplace/chunk-465DKI6M.js +1 -0
- package/Marketplace/chunk-46IROEMV.js +2 -0
- package/Marketplace/chunk-4ILDFTIG.js +34 -0
- package/Marketplace/chunk-4R746B4G.js +1 -0
- package/Marketplace/chunk-4RG5YR7N.js +54 -0
- package/Marketplace/chunk-4RLWHMI6.js +1 -0
- package/Marketplace/chunk-4VNQYYVV.js +1 -0
- package/Marketplace/chunk-55BTWXFX.js +2 -0
- package/Marketplace/{chunk-7TI3OR34.js → chunk-56BH43Y7.js} +3 -3
- package/Marketplace/chunk-573EEV7X.js +1 -0
- package/Marketplace/chunk-5MV3UFJQ.js +88 -0
- package/Marketplace/chunk-5O33CV4F.js +7 -0
- package/Marketplace/chunk-5PMKN6PM.js +151 -0
- package/Marketplace/chunk-5S7ONNKP.js +1 -0
- package/Marketplace/chunk-5YBWBAQS.js +1 -0
- package/Marketplace/chunk-63I3I3MX.js +5 -0
- package/Marketplace/chunk-6KWG6O5L.js +2 -0
- package/Marketplace/{chunk-6L7TD5DW.js → chunk-6Q6L5NUD.js} +1 -1
- package/Marketplace/chunk-6XT3JSG5.js +1 -0
- package/Marketplace/chunk-6ZEQRKBC.js +1 -0
- package/Marketplace/chunk-74JHI4MS.js +39 -0
- package/Marketplace/chunk-76CPUGUB.js +149 -0
- package/Marketplace/chunk-7HVOZWYY.js +1 -0
- package/Marketplace/chunk-7JQEF4XX.js +1 -0
- package/Marketplace/chunk-7U32FNM2.js +2 -0
- package/Marketplace/chunk-7VRLCSNB.js +1 -0
- package/Marketplace/chunk-7Y2L4CNS.js +1 -0
- package/Marketplace/chunk-A6QXXKPR.js +1 -0
- package/Marketplace/chunk-A7YRNCQP.js +2 -0
- package/Marketplace/chunk-AFDI4TD4.js +104 -0
- package/Marketplace/chunk-AL5RTE5M.js +1 -0
- package/Marketplace/chunk-AXC6LM6T.js +1 -0
- package/Marketplace/chunk-AZOCRKXK.js +1 -0
- package/Marketplace/chunk-B4QCGMST.js +1 -0
- package/Marketplace/chunk-BHGEKKCM.js +1 -0
- package/Marketplace/chunk-BKR7YPEW.js +1 -0
- package/Marketplace/chunk-BLHKSSK6.js +1 -0
- package/Marketplace/chunk-BXOHTPGP.js +1 -0
- package/Marketplace/chunk-CEXUETT6.js +1 -0
- package/Marketplace/{chunk-RNNH3EZC.js → chunk-CM3B2UZ7.js} +1 -1
- package/Marketplace/chunk-CNTLG54D.js +1 -0
- package/Marketplace/chunk-DLXWO2XC.js +1 -0
- package/Marketplace/chunk-DPQMNLFO.js +1 -0
- package/Marketplace/chunk-DQOO5YZC.js +1 -0
- package/Marketplace/{chunk-KXU32D3B.js → chunk-DRTRU4DB.js} +1 -1
- package/Marketplace/chunk-DYQ3BWPB.js +1 -0
- package/Marketplace/chunk-E5JZCOHZ.js +1 -0
- package/Marketplace/chunk-E6AMKEQR.js +149 -0
- package/Marketplace/chunk-E7FHMF3J.js +1 -0
- package/Marketplace/chunk-EMLE4JDW.js +1 -0
- package/Marketplace/chunk-EYT2YJGK.js +1 -0
- package/Marketplace/chunk-FFTZPZOW.js +5 -0
- package/Marketplace/chunk-FHZNWINZ.js +1 -0
- package/Marketplace/{chunk-HVCIQI7B.js → chunk-FULVA6QB.js} +1 -1
- package/Marketplace/chunk-G6P2UZU4.js +1 -0
- package/Marketplace/chunk-GLMM3CVD.js +1 -0
- package/Marketplace/chunk-GQCDEPDY.js +1 -0
- package/Marketplace/chunk-GV3NEJJ6.js +2 -0
- package/Marketplace/chunk-GZLXMT7F.js +1 -0
- package/Marketplace/chunk-HERBJRWM.js +1 -0
- package/Marketplace/chunk-HG4R6CUP.js +1 -0
- package/Marketplace/chunk-HK5FXZE4.js +40 -0
- package/Marketplace/{chunk-W3JTS22H.js → chunk-HPINZVE4.js} +1 -1
- package/Marketplace/chunk-HU7LMMZJ.js +1 -0
- package/Marketplace/chunk-I3IA6MAD.js +1 -0
- package/Marketplace/chunk-IGKMJFKP.js +90 -0
- package/Marketplace/chunk-IM5M2CAI.js +1 -0
- package/Marketplace/chunk-IO2TWJDO.js +2 -0
- package/Marketplace/chunk-ISMIPSYN.js +1 -0
- package/Marketplace/chunk-ITGVXYDV.js +1 -0
- package/Marketplace/chunk-IZZQQW5G.js +5 -0
- package/Marketplace/{chunk-63ANFYRV.js → chunk-J2BPOHP6.js} +3 -3
- package/Marketplace/chunk-J5BZDPXE.js +1 -0
- package/Marketplace/chunk-J7FL3VT4.js +1 -0
- package/Marketplace/chunk-JLVWTKDH.js +1 -0
- package/Marketplace/chunk-JOKDW6WD.js +1 -0
- package/Marketplace/chunk-JUO4RKIH.js +1 -0
- package/Marketplace/chunk-KJE5GRQ4.js +1 -0
- package/Marketplace/chunk-KKB4B7FU.js +157 -0
- package/Marketplace/chunk-KWNXPX2M.js +1 -0
- package/Marketplace/chunk-L2GMXVN6.js +1 -0
- package/Marketplace/chunk-L3W6SG2T.js +1 -0
- package/Marketplace/chunk-L7WZ6U4T.js +15 -0
- package/Marketplace/chunk-LNJUGHOX.js +2 -0
- package/Marketplace/chunk-LOWGZOML.js +1 -0
- package/Marketplace/chunk-M4ZE35XK.js +61 -0
- package/Marketplace/chunk-M7U5T2ZP.js +1 -0
- package/Marketplace/chunk-MAMCOUZ6.js +1 -0
- package/Marketplace/chunk-MEER4VNV.js +1 -0
- package/Marketplace/chunk-MQXW3UAW.js +2 -0
- package/Marketplace/chunk-N26QQL77.js +1 -0
- package/Marketplace/chunk-N3WBRUNI.js +2 -0
- package/Marketplace/{chunk-JVNHFIYT.js → chunk-N5AE5WMQ.js} +1 -1
- package/Marketplace/chunk-NECWUPZQ.js +4 -0
- package/Marketplace/chunk-NLSVMXR7.js +2 -0
- package/Marketplace/chunk-NOIKC7TF.js +1 -0
- package/Marketplace/chunk-NWB7EVME.js +112 -0
- package/Marketplace/chunk-NYJPPKGX.js +1 -0
- package/Marketplace/chunk-O4HOLA7Y.js +1 -0
- package/Marketplace/chunk-ODQVHQPB.js +15 -0
- package/Marketplace/chunk-ONU4O7N2.js +2 -0
- package/Marketplace/chunk-OPXITNRF.js +1 -0
- package/Marketplace/chunk-OROFEDQN.js +5 -0
- package/Marketplace/chunk-OXWPYJNB.js +1 -0
- package/Marketplace/chunk-P6TDS7UT.js +1 -0
- package/Marketplace/chunk-PE7QBBA6.js +1 -0
- package/Marketplace/chunk-PGR6BEOA.js +1 -0
- package/Marketplace/chunk-PNUEO4J2.js +1 -0
- package/Marketplace/chunk-PQEXTCFW.js +1413 -0
- package/Marketplace/chunk-PS43OK3J.js +1 -0
- package/Marketplace/{chunk-QS22J2SC.js → chunk-PZB3GQWT.js} +2 -2
- package/Marketplace/chunk-Q2QX5AAJ.js +1130 -0
- package/Marketplace/chunk-QXRG5XYP.js +1 -0
- package/Marketplace/chunk-R6SCDZGW.js +1 -0
- package/Marketplace/chunk-RJFFTIAO.js +2 -0
- package/Marketplace/chunk-RNWHARPK.js +92 -0
- package/Marketplace/chunk-RUBV3KX2.js +149 -0
- package/Marketplace/{chunk-TGMCGROM.js → chunk-RXLMJGUY.js} +3 -3
- package/Marketplace/chunk-S32PEKW5.js +1 -0
- package/Marketplace/chunk-SILAIDPV.js +3 -0
- package/Marketplace/chunk-SJ5MC42H.js +257 -0
- package/Marketplace/chunk-SNSROU6N.js +1 -0
- package/Marketplace/chunk-SUTHLGCO.js +266 -0
- package/Marketplace/chunk-TCWEUEBR.js +264 -0
- package/Marketplace/chunk-TDCMI7YC.js +2 -0
- package/Marketplace/chunk-TUJHFVOP.js +1 -0
- package/Marketplace/chunk-UH5C5HXK.js +1 -0
- package/Marketplace/chunk-UI5ITL7Z.js +4 -0
- package/Marketplace/chunk-UNGNRJ2B.js +1 -0
- package/Marketplace/chunk-UW3UCIOY.js +10 -0
- package/Marketplace/chunk-VZSHSSQZ.js +2 -0
- package/Marketplace/chunk-W7YZT7CH.js +1 -0
- package/Marketplace/chunk-WFMAM73Y.js +1 -0
- package/Marketplace/chunk-WW7F6LSG.js +1 -0
- package/Marketplace/chunk-XBDQR2BA.js +1 -0
- package/Marketplace/chunk-XBIHN6D3.js +1 -0
- package/Marketplace/chunk-XFIUNEOU.js +1 -0
- package/Marketplace/chunk-XRLXIT7I.js +1 -0
- package/Marketplace/chunk-XUBQATMN.js +3 -0
- package/Marketplace/chunk-XW2CGM4G.js +5 -0
- package/Marketplace/chunk-Y6WFE3L2.js +1 -0
- package/Marketplace/chunk-YJTPDV4D.js +1 -0
- package/Marketplace/chunk-YKEAAH3N.js +2 -0
- package/Marketplace/chunk-YTHY4IFS.js +1 -0
- package/Marketplace/chunk-YTUPRTC2.js +1 -0
- package/Marketplace/chunk-ZAUKG4R6.js +2 -0
- package/Marketplace/chunk-ZETUYNFJ.js +1 -0
- package/Marketplace/chunk-ZS465QKM.js +2 -0
- package/Marketplace/chunk-ZSUWHVKX.js +1 -0
- package/Marketplace/chunk-ZV7EHPNJ.js +1 -0
- package/Marketplace/chunk-ZYJ6LAJ3.js +4 -0
- package/Marketplace/index.html +2 -2
- package/Marketplace/main-NBCLYU5Y.js +1 -0
- package/Marketplace/{polyfills-BUUDEW7V.js → polyfills-5FDKUQTZ.js} +1 -1
- package/Marketplace/scripts-2STIAS5P.js +5 -0
- package/Marketplace/styles-3SQUCHWS.css +1 -0
- package/package.json +1 -1
- package/Marketplace/chunk-25345PS7.js +0 -257
- package/Marketplace/chunk-2UIK6NRS.js +0 -1
- package/Marketplace/chunk-37MIOA6D.js +0 -1
- package/Marketplace/chunk-3DCFDJVG.js +0 -1
- package/Marketplace/chunk-3GDM5JNY.js +0 -2
- package/Marketplace/chunk-3X5SEOLP.js +0 -1
- package/Marketplace/chunk-4G7SG2H6.js +0 -1
- package/Marketplace/chunk-4NEKWRL7.js +0 -1
- package/Marketplace/chunk-4RTDKHTN.js +0 -1
- package/Marketplace/chunk-4VJ3SIJF.js +0 -1
- package/Marketplace/chunk-5CKVZBHM.js +0 -102
- package/Marketplace/chunk-5EIQGYTB.js +0 -1
- package/Marketplace/chunk-5G3N7OU5.js +0 -1
- package/Marketplace/chunk-5KNFEBH5.js +0 -1
- package/Marketplace/chunk-5PS6ZS3N.js +0 -1
- package/Marketplace/chunk-5QO5B7YG.js +0 -1
- package/Marketplace/chunk-67HPC5Y3.js +0 -2
- package/Marketplace/chunk-6H2KAYSB.js +0 -1088
- package/Marketplace/chunk-6NRH3MJL.js +0 -1
- package/Marketplace/chunk-6OMSPZZC.js +0 -2
- package/Marketplace/chunk-6QFP63YQ.js +0 -1
- package/Marketplace/chunk-7G6GQTSH.js +0 -33
- package/Marketplace/chunk-7KN3UVZI.js +0 -1
- package/Marketplace/chunk-7L3UKJDU.js +0 -1
- package/Marketplace/chunk-A6PXM4YX.js +0 -1
- package/Marketplace/chunk-ABYG6YZT.js +0 -2
- package/Marketplace/chunk-ACIMXBIC.js +0 -1
- package/Marketplace/chunk-AGURPBGY.js +0 -5
- package/Marketplace/chunk-AGZCB65X.js +0 -1
- package/Marketplace/chunk-BDBETNFT.js +0 -137
- package/Marketplace/chunk-BKRCW7SH.js +0 -79
- package/Marketplace/chunk-BMYBLBSP.js +0 -3
- package/Marketplace/chunk-BTO76EDH.js +0 -1
- package/Marketplace/chunk-BVDLO6WD.js +0 -1235
- package/Marketplace/chunk-CGOB6Y3X.js +0 -1
- package/Marketplace/chunk-CMBQCMTZ.js +0 -1
- package/Marketplace/chunk-CVM573KF.js +0 -1
- package/Marketplace/chunk-CWNZ6HAV.js +0 -1
- package/Marketplace/chunk-CYG42H2K.js +0 -1
- package/Marketplace/chunk-DAXM2MPK.js +0 -1
- package/Marketplace/chunk-DNNH5AQJ.js +0 -1
- package/Marketplace/chunk-DPAQQ77L.js +0 -222
- package/Marketplace/chunk-DXPLB6OB.js +0 -252
- package/Marketplace/chunk-EAA6S4WB.js +0 -1
- package/Marketplace/chunk-EHBCYQSG.js +0 -1
- package/Marketplace/chunk-EHUVS2VB.js +0 -1
- package/Marketplace/chunk-ERXVXBTU.js +0 -1
- package/Marketplace/chunk-EU2KAMEK.js +0 -1
- package/Marketplace/chunk-EUYQST7Q.js +0 -1
- package/Marketplace/chunk-EYONZQ2W.js +0 -1
- package/Marketplace/chunk-F2T43CJB.js +0 -51
- package/Marketplace/chunk-F2XHUFJC.js +0 -157
- package/Marketplace/chunk-F4Z47C2S.js +0 -15
- package/Marketplace/chunk-FJYAC47U.js +0 -2
- package/Marketplace/chunk-FXQKRJWU.js +0 -2
- package/Marketplace/chunk-GCECFUOP.js +0 -1
- package/Marketplace/chunk-GH5FTODR.js +0 -1
- package/Marketplace/chunk-GHVAGYK3.js +0 -2
- package/Marketplace/chunk-GJTQNOXV.js +0 -1
- package/Marketplace/chunk-GRYGUILI.js +0 -2
- package/Marketplace/chunk-GUO3DTDP.js +0 -1
- package/Marketplace/chunk-GZKOMS4T.js +0 -2
- package/Marketplace/chunk-HBVCUV6A.js +0 -7
- package/Marketplace/chunk-HERZ7KEM.js +0 -1
- package/Marketplace/chunk-HIC5QC3Y.js +0 -1
- package/Marketplace/chunk-HJXYT6MI.js +0 -4
- package/Marketplace/chunk-HZKRKNLA.js +0 -5
- package/Marketplace/chunk-IHSGQFDX.js +0 -2
- package/Marketplace/chunk-IITU3NV6.js +0 -1
- package/Marketplace/chunk-IQ3ER4NM.js +0 -1
- package/Marketplace/chunk-JAWWMIGP.js +0 -1
- package/Marketplace/chunk-JBT7GBCM.js +0 -5
- package/Marketplace/chunk-JGEU4EJT.js +0 -1
- package/Marketplace/chunk-JP6HRQLK.js +0 -2
- package/Marketplace/chunk-JZC463X6.js +0 -1
- package/Marketplace/chunk-K4NTJPH5.js +0 -1
- package/Marketplace/chunk-KS7ACI26.js +0 -10
- package/Marketplace/chunk-KSHWHTCH.js +0 -2
- package/Marketplace/chunk-KTB223SK.js +0 -1
- package/Marketplace/chunk-KWHVCPX2.js +0 -1
- package/Marketplace/chunk-LBDA5KP3.js +0 -1
- package/Marketplace/chunk-LBMUKJV5.js +0 -1
- package/Marketplace/chunk-LDL3A7NM.js +0 -1
- package/Marketplace/chunk-LETC4UBH.js +0 -1
- package/Marketplace/chunk-LVZDOEKQ.js +0 -1
- package/Marketplace/chunk-LW3PTNRL.js +0 -1
- package/Marketplace/chunk-LYCCI55Z.js +0 -1
- package/Marketplace/chunk-LYPHZP72.js +0 -2
- package/Marketplace/chunk-MAQ6FWVP.js +0 -1
- package/Marketplace/chunk-MFMD6ZSP.js +0 -234
- package/Marketplace/chunk-MFQQEEHJ.js +0 -3
- package/Marketplace/chunk-MO53T3IK.js +0 -1
- package/Marketplace/chunk-MX5SR3SR.js +0 -94
- package/Marketplace/chunk-MYPTLVUU.js +0 -1
- package/Marketplace/chunk-NAGQF4JJ.js +0 -1
- package/Marketplace/chunk-NCLAP5OW.js +0 -1
- package/Marketplace/chunk-NFGFM7TW.js +0 -1
- package/Marketplace/chunk-NNOI3AG4.js +0 -1
- package/Marketplace/chunk-NTGU2UMX.js +0 -1
- package/Marketplace/chunk-NX4WQMFK.js +0 -1
- package/Marketplace/chunk-O2YNPIYM.js +0 -5
- package/Marketplace/chunk-O3ADJ3YS.js +0 -1
- package/Marketplace/chunk-OJMQBH6T.js +0 -7
- package/Marketplace/chunk-OMPJUICC.js +0 -1
- package/Marketplace/chunk-OR6TBLPO.js +0 -33
- package/Marketplace/chunk-OXWPLJEW.js +0 -93
- package/Marketplace/chunk-OZ7LWNOK.js +0 -15
- package/Marketplace/chunk-PE5AFID4.js +0 -1
- package/Marketplace/chunk-PFY5UG5D.js +0 -4
- package/Marketplace/chunk-PHUHUFYL.js +0 -2
- package/Marketplace/chunk-PIBVGTHJ.js +0 -1
- package/Marketplace/chunk-PYXL7UF7.js +0 -2
- package/Marketplace/chunk-Q4N2QUV6.js +0 -30
- package/Marketplace/chunk-QOP7KZK7.js +0 -1
- package/Marketplace/chunk-QPLUVWFA.js +0 -158
- package/Marketplace/chunk-QW4EOJRM.js +0 -1
- package/Marketplace/chunk-QWISVEBT.js +0 -141
- package/Marketplace/chunk-R5KKW4LC.js +0 -1
- package/Marketplace/chunk-RAQRGWCZ.js +0 -2
- package/Marketplace/chunk-RC5PUUVM.js +0 -193
- package/Marketplace/chunk-RGAWEFPQ.js +0 -1
- package/Marketplace/chunk-RGY4FVTG.js +0 -1
- package/Marketplace/chunk-RHHHL4OR.js +0 -5
- package/Marketplace/chunk-S3FZRSRP.js +0 -1
- package/Marketplace/chunk-SCHKXMJN.js +0 -2
- package/Marketplace/chunk-T27ABFCP.js +0 -1
- package/Marketplace/chunk-T2OSIFLN.js +0 -78
- package/Marketplace/chunk-TLEH7QMI.js +0 -1
- package/Marketplace/chunk-TUHKMG57.js +0 -1
- package/Marketplace/chunk-U7WCPDIV.js +0 -1
- package/Marketplace/chunk-UGYIOLBR.js +0 -1
- package/Marketplace/chunk-UMP6ZMEJ.js +0 -1
- package/Marketplace/chunk-UQWB6RQP.js +0 -2
- package/Marketplace/chunk-V3USB3ZU.js +0 -1
- package/Marketplace/chunk-VFATXJRG.js +0 -1
- package/Marketplace/chunk-VLF5RZ3X.js +0 -1
- package/Marketplace/chunk-VRPKQ2HJ.js +0 -1
- package/Marketplace/chunk-W3DTXPRM.js +0 -1
- package/Marketplace/chunk-WN5DZGA4.js +0 -1
- package/Marketplace/chunk-WRJFUNM3.js +0 -1
- package/Marketplace/chunk-WUKVYBD3.js +0 -1
- package/Marketplace/chunk-XHAXYWZ7.js +0 -1
- package/Marketplace/chunk-XONEJSCE.js +0 -1
- package/Marketplace/chunk-XPCRS7AL.js +0 -1
- package/Marketplace/chunk-XXT6F2ZS.js +0 -5
- package/Marketplace/chunk-YERZ6W22.js +0 -1
- package/Marketplace/chunk-YFDFIBAG.js +0 -1
- package/Marketplace/chunk-YHT4EYQJ.js +0 -397
- package/Marketplace/chunk-YQLOB7IQ.js +0 -70
- package/Marketplace/chunk-YTCIQBSO.js +0 -2
- package/Marketplace/chunk-YU2SDRUC.js +0 -1
- package/Marketplace/chunk-Z3ITXK3D.js +0 -1
- package/Marketplace/chunk-ZHPHANAW.js +0 -3
- package/Marketplace/main-HRVNLZTX.js +0 -1
- package/Marketplace/scripts-BTEOQWVQ.js +0 -5
- package/Marketplace/styles-EW2SXTVD.css +0 -1
- /package/Marketplace/{chunk-SDUUFQUI.js → chunk-D2J64VUP.js} +0 -0
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Bootstrap v5.3.8 (https://getbootstrap.com/)
|
|
3
|
+
* Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
|
|
4
|
+
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
|
5
|
+
*/(function(S,c){typeof exports=="object"&&typeof module<"u"?module.exports=c():typeof define=="function"&&define.amd?define(c):(S=typeof globalThis<"u"?globalThis:S||self).bootstrap=c()})(this,function(){"use strict";const S=new Map,c={set(r,t,e){S.has(r)||S.set(r,new Map);const l=S.get(r);l.has(t)||l.size===0?l.set(t,e):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(l.keys())[0]}.`)},get:(r,t)=>S.has(r)&&S.get(r).get(t)||null,remove(r,t){if(!S.has(r))return;const e=S.get(r);e.delete(t),e.size===0&&S.delete(r)}},_="transitionend",u=r=>(r&&window.CSS&&window.CSS.escape&&(r=r.replace(/#([^\s"#']+)/g,(t,e)=>`#${CSS.escape(e)}`)),r),v=r=>r==null?`${r}`:Object.prototype.toString.call(r).match(/\s([a-z]+)/i)[1].toLowerCase(),b=r=>{r.dispatchEvent(new Event(_))},m=r=>!(!r||typeof r!="object")&&(r.jquery!==void 0&&(r=r[0]),r.nodeType!==void 0),p=r=>m(r)?r.jquery?r[0]:r:typeof r=="string"&&r.length>0?document.querySelector(u(r)):null,d=r=>{if(!m(r)||r.getClientRects().length===0)return!1;const t=getComputedStyle(r).getPropertyValue("visibility")==="visible",e=r.closest("details:not([open])");if(!e)return t;if(e!==r){const l=r.closest("summary");if(l&&l.parentNode!==e||l===null)return!1}return t},s=r=>!r||r.nodeType!==Node.ELEMENT_NODE||!!r.classList.contains("disabled")||(r.disabled!==void 0?r.disabled:r.hasAttribute("disabled")&&r.getAttribute("disabled")!=="false"),i=r=>{if(!document.documentElement.attachShadow)return null;if(typeof r.getRootNode=="function"){const t=r.getRootNode();return t instanceof ShadowRoot?t:null}return r instanceof ShadowRoot?r:r.parentNode?i(r.parentNode):null},n=()=>{},o=r=>{r.offsetHeight},a=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,f=[],y=()=>document.documentElement.dir==="rtl",O=r=>{var t;t=()=>{const e=a();if(e){const l=r.NAME,h=e.fn[l];e.fn[l]=r.jQueryInterface,e.fn[l].Constructor=r,e.fn[l].noConflict=()=>(e.fn[l]=h,r.jQueryInterface)}},document.readyState==="loading"?(f.length||document.addEventListener("DOMContentLoaded",()=>{for(const e of f)e()}),f.push(t)):t()},x=(r,t=[],e=r)=>typeof r=="function"?r.call(...t):e,ot=(r,t,e=!0)=>{if(!e)return void x(r);const l=(w=>{if(!w)return 0;let{transitionDuration:E,transitionDelay:C}=window.getComputedStyle(w);const j=Number.parseFloat(E),P=Number.parseFloat(C);return j||P?(E=E.split(",")[0],C=C.split(",")[0],1e3*(Number.parseFloat(E)+Number.parseFloat(C))):0})(t)+5;let h=!1;const g=({target:w})=>{w===t&&(h=!0,t.removeEventListener(_,g),x(r))};t.addEventListener(_,g),setTimeout(()=>{h||b(t)},l)},st=(r,t,e,l)=>{const h=r.length;let g=r.indexOf(t);return g===-1?!e&&l?r[h-1]:r[0]:(g+=e?1:-1,l&&(g=(g+h)%h),r[Math.max(0,Math.min(g,h-1))])},N=/[^.]*(?=\..*)\.|.*/,K=/\..*/,U=/::\d+$/,X={};let rt=1;const _t={mouseenter:"mouseover",mouseleave:"mouseout"},Ne=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function _e(r,t){return t&&`${t}::${rt++}`||r.uidEvent||rt++}function An(r){const t=_e(r);return r.uidEvent=t,X[t]=X[t]||{},X[t]}function Cn(r,t,e=null){return Object.values(r).find(l=>l.callable===t&&l.delegationSelector===e)}function xn(r,t,e){const l=typeof t=="string",h=l?e:t||e;let g=Sn(r);return Ne.has(g)||(g=r),[l,h,g]}function Tn(r,t,e,l,h){if(typeof t!="string"||!r)return;let[g,w,E]=xn(t,e,l);t in _t&&(w=(I=>function(M){if(!M.relatedTarget||M.relatedTarget!==M.delegateTarget&&!M.delegateTarget.contains(M.relatedTarget))return I.call(this,M)})(w));const C=An(r),j=C[E]||(C[E]={}),P=Cn(j,w,g?e:null);if(P)return void(P.oneOff=P.oneOff&&h);const T=_e(w,t.replace(N,"")),$=g?(function(L,I,M){return function D(V){const Y=L.querySelectorAll(I);for(let{target:B}=V;B&&B!==this;B=B.parentNode)for(const F of Y)if(F===B)return He(V,{delegateTarget:B}),D.oneOff&&A.off(L,V.type,I,M),M.apply(B,[V])}})(r,e,w):(function(L,I){return function M(D){return He(D,{delegateTarget:L}),M.oneOff&&A.off(L,D.type,I),I.apply(L,[D])}})(r,w);$.delegationSelector=g?e:null,$.callable=w,$.oneOff=h,$.uidEvent=T,j[T]=$,r.addEventListener(E,$,g)}function Be(r,t,e,l,h){const g=Cn(t[e],l,h);g&&(r.removeEventListener(e,g,!!h),delete t[e][g.uidEvent])}function lo(r,t,e,l){const h=t[e]||{};for(const[g,w]of Object.entries(h))g.includes(l)&&Be(r,t,e,w.callable,w.delegationSelector)}function Sn(r){return r=r.replace(K,""),_t[r]||r}const A={on(r,t,e,l){Tn(r,t,e,l,!1)},one(r,t,e,l){Tn(r,t,e,l,!0)},off(r,t,e,l){if(typeof t!="string"||!r)return;const[h,g,w]=xn(t,e,l),E=w!==t,C=An(r),j=C[w]||{},P=t.startsWith(".");if(g===void 0){if(P)for(const T of Object.keys(C))lo(r,C,T,t.slice(1));for(const[T,$]of Object.entries(j)){const L=T.replace(U,"");E&&!t.includes(L)||Be(r,C,w,$.callable,$.delegationSelector)}}else{if(!Object.keys(j).length)return;Be(r,C,w,g,h?e:null)}},trigger(r,t,e){if(typeof t!="string"||!r)return null;const l=a();let h=null,g=!0,w=!0,E=!1;t!==Sn(t)&&l&&(h=l.Event(t,e),l(r).trigger(h),g=!h.isPropagationStopped(),w=!h.isImmediatePropagationStopped(),E=h.isDefaultPrevented());const C=He(new Event(t,{bubbles:g,cancelable:!0}),e);return E&&C.preventDefault(),w&&r.dispatchEvent(C),C.defaultPrevented&&h&&h.preventDefault(),C}};function He(r,t={}){for(const[e,l]of Object.entries(t))try{r[e]=l}catch{Object.defineProperty(r,e,{configurable:!0,get:()=>l})}return r}function jn(r){if(r==="true")return!0;if(r==="false")return!1;if(r===Number(r).toString())return Number(r);if(r===""||r==="null")return null;if(typeof r!="string")return r;try{return JSON.parse(decodeURIComponent(r))}catch{return r}}function Fe(r){return r.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}const At={setDataAttribute(r,t,e){r.setAttribute(`data-bs-${Fe(t)}`,e)},removeDataAttribute(r,t){r.removeAttribute(`data-bs-${Fe(t)}`)},getDataAttributes(r){if(!r)return{};const t={},e=Object.keys(r.dataset).filter(l=>l.startsWith("bs")&&!l.startsWith("bsConfig"));for(const l of e){let h=l.replace(/^bs/,"");h=h.charAt(0).toLowerCase()+h.slice(1),t[h]=jn(r.dataset[l])}return t},getDataAttribute:(r,t)=>jn(r.getAttribute(`data-bs-${Fe(t)}`))};class re{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(t){return t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t}_mergeConfigObj(t,e){const l=m(e)?At.getDataAttribute(e,"config"):{};return{...this.constructor.Default,...typeof l=="object"?l:{},...m(e)?At.getDataAttributes(e):{},...typeof t=="object"?t:{}}}_typeCheckConfig(t,e=this.constructor.DefaultType){for(const[l,h]of Object.entries(e)){const g=t[l],w=m(g)?"element":v(g);if(!new RegExp(h).test(w))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${l}" provided type "${w}" but expected type "${h}".`)}}}class mt extends re{constructor(t,e){super(),(t=p(t))&&(this._element=t,this._config=this._getConfig(e),c.set(this._element,this.constructor.DATA_KEY,this))}dispose(){c.remove(this._element,this.constructor.DATA_KEY),A.off(this._element,this.constructor.EVENT_KEY);for(const t of Object.getOwnPropertyNames(this))this[t]=null}_queueCallback(t,e,l=!0){ot(t,e,l)}_getConfig(t){return t=this._mergeConfigObj(t,this._element),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}static getInstance(t){return c.get(p(t),this.DATA_KEY)}static getOrCreateInstance(t,e={}){return this.getInstance(t)||new this(t,typeof e=="object"?e:null)}static get VERSION(){return"5.3.8"}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(t){return`${t}${this.EVENT_KEY}`}}const ze=r=>{let t=r.getAttribute("data-bs-target");if(!t||t==="#"){let e=r.getAttribute("href");if(!e||!e.includes("#")&&!e.startsWith("."))return null;e.includes("#")&&!e.startsWith("#")&&(e=`#${e.split("#")[1]}`),t=e&&e!=="#"?e.trim():null}return t?t.split(",").map(e=>u(e)).join(","):null},k={find:(r,t=document.documentElement)=>[].concat(...Element.prototype.querySelectorAll.call(t,r)),findOne:(r,t=document.documentElement)=>Element.prototype.querySelector.call(t,r),children:(r,t)=>[].concat(...r.children).filter(e=>e.matches(t)),parents(r,t){const e=[];let l=r.parentNode.closest(t);for(;l;)e.push(l),l=l.parentNode.closest(t);return e},prev(r,t){let e=r.previousElementSibling;for(;e;){if(e.matches(t))return[e];e=e.previousElementSibling}return[]},next(r,t){let e=r.nextElementSibling;for(;e;){if(e.matches(t))return[e];e=e.nextElementSibling}return[]},focusableChildren(r){const t=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(e=>`${e}:not([tabindex^="-"])`).join(",");return this.find(t,r).filter(e=>!s(e)&&d(e))},getSelectorFromElement(r){const t=ze(r);return t&&k.findOne(t)?t:null},getElementFromSelector(r){const t=ze(r);return t?k.findOne(t):null},getMultipleElementsFromSelector(r){const t=ze(r);return t?k.find(t):[]}},me=(r,t="hide")=>{const e=`click.dismiss${r.EVENT_KEY}`,l=r.NAME;A.on(document,e,`[data-bs-dismiss="${l}"]`,function(h){if(["A","AREA"].includes(this.tagName)&&h.preventDefault(),s(this))return;const g=k.getElementFromSelector(this)||this.closest(`.${l}`);r.getOrCreateInstance(g)[t]()})},Pn=".bs.alert",co=`close${Pn}`,uo=`closed${Pn}`;class se extends mt{static get NAME(){return"alert"}close(){if(A.trigger(this._element,co).defaultPrevented)return;this._element.classList.remove("show");const t=this._element.classList.contains("fade");this._queueCallback(()=>this._destroyElement(),this._element,t)}_destroyElement(){this._element.remove(),A.trigger(this._element,uo),this.dispose()}static jQueryInterface(t){return this.each(function(){const e=se.getOrCreateInstance(this);if(typeof t=="string"){if(e[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);e[t](this)}})}}me(se,"close"),O(se);const kn='[data-bs-toggle="button"]';class ae extends mt{static get NAME(){return"button"}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle("active"))}static jQueryInterface(t){return this.each(function(){const e=ae.getOrCreateInstance(this);t==="toggle"&&e[t]()})}}A.on(document,"click.bs.button.data-api",kn,r=>{r.preventDefault();const t=r.target.closest(kn);ae.getOrCreateInstance(t).toggle()}),O(ae);const Gt=".bs.swipe",fo=`touchstart${Gt}`,ho=`touchmove${Gt}`,po=`touchend${Gt}`,go=`pointerdown${Gt}`,_o=`pointerup${Gt}`,mo={endCallback:null,leftCallback:null,rightCallback:null},bo={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class be extends re{constructor(t,e){super(),this._element=t,t&&be.isSupported()&&(this._config=this._getConfig(e),this._deltaX=0,this._supportPointerEvents=!!window.PointerEvent,this._initEvents())}static get Default(){return mo}static get DefaultType(){return bo}static get NAME(){return"swipe"}dispose(){A.off(this._element,Gt)}_start(t){this._supportPointerEvents?this._eventIsPointerPenTouch(t)&&(this._deltaX=t.clientX):this._deltaX=t.touches[0].clientX}_end(t){this._eventIsPointerPenTouch(t)&&(this._deltaX=t.clientX-this._deltaX),this._handleSwipe(),x(this._config.endCallback)}_move(t){this._deltaX=t.touches&&t.touches.length>1?0:t.touches[0].clientX-this._deltaX}_handleSwipe(){const t=Math.abs(this._deltaX);if(t<=40)return;const e=t/this._deltaX;this._deltaX=0,e&&x(e>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(A.on(this._element,go,t=>this._start(t)),A.on(this._element,_o,t=>this._end(t)),this._element.classList.add("pointer-event")):(A.on(this._element,fo,t=>this._start(t)),A.on(this._element,ho,t=>this._move(t)),A.on(this._element,po,t=>this._end(t)))}_eventIsPointerPenTouch(t){return this._supportPointerEvents&&(t.pointerType==="pen"||t.pointerType==="touch")}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const St=".bs.carousel",Ln=".data-api",vo="ArrowLeft",yo="ArrowRight",le="next",Xt="prev",Vt="left",ve="right",wo=`slide${St}`,Ge=`slid${St}`,Oo=`keydown${St}`,Eo=`mouseenter${St}`,Ao=`mouseleave${St}`,Co=`dragstart${St}`,xo=`load${St}${Ln}`,To=`click${St}${Ln}`,Mn="carousel",ye="active",In=".active",Dn=".carousel-item",So=In+Dn,jo={[vo]:ve,[yo]:Vt},Po={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},ko={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class Wt extends mt{constructor(t,e){super(t,e),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=k.findOne(".carousel-indicators",this._element),this._addEventListeners(),this._config.ride===Mn&&this.cycle()}static get Default(){return Po}static get DefaultType(){return ko}static get NAME(){return"carousel"}next(){this._slide(le)}nextWhenVisible(){!document.hidden&&d(this._element)&&this.next()}prev(){this._slide(Xt)}pause(){this._isSliding&&b(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval(()=>this.nextWhenVisible(),this._config.interval)}_maybeEnableCycle(){this._config.ride&&(this._isSliding?A.one(this._element,Ge,()=>this.cycle()):this.cycle())}to(t){const e=this._getItems();if(t>e.length-1||t<0)return;if(this._isSliding)return void A.one(this._element,Ge,()=>this.to(t));const l=this._getItemIndex(this._getActive());if(l===t)return;const h=t>l?le:Xt;this._slide(h,e[t])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(t){return t.defaultInterval=t.interval,t}_addEventListeners(){this._config.keyboard&&A.on(this._element,Oo,t=>this._keydown(t)),this._config.pause==="hover"&&(A.on(this._element,Eo,()=>this.pause()),A.on(this._element,Ao,()=>this._maybeEnableCycle())),this._config.touch&&be.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const e of k.find(".carousel-item img",this._element))A.on(e,Co,l=>l.preventDefault());const t={leftCallback:()=>this._slide(this._directionToOrder(Vt)),rightCallback:()=>this._slide(this._directionToOrder(ve)),endCallback:()=>{this._config.pause==="hover"&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),500+this._config.interval))}};this._swipeHelper=new be(this._element,t)}_keydown(t){if(/input|textarea/i.test(t.target.tagName))return;const e=jo[t.key];e&&(t.preventDefault(),this._slide(this._directionToOrder(e)))}_getItemIndex(t){return this._getItems().indexOf(t)}_setActiveIndicatorElement(t){if(!this._indicatorsElement)return;const e=k.findOne(In,this._indicatorsElement);e.classList.remove(ye),e.removeAttribute("aria-current");const l=k.findOne(`[data-bs-slide-to="${t}"]`,this._indicatorsElement);l&&(l.classList.add(ye),l.setAttribute("aria-current","true"))}_updateInterval(){const t=this._activeElement||this._getActive();if(!t)return;const e=Number.parseInt(t.getAttribute("data-bs-interval"),10);this._config.interval=e||this._config.defaultInterval}_slide(t,e=null){if(this._isSliding)return;const l=this._getActive(),h=t===le,g=e||st(this._getItems(),l,h,this._config.wrap);if(g===l)return;const w=this._getItemIndex(g),E=T=>A.trigger(this._element,T,{relatedTarget:g,direction:this._orderToDirection(t),from:this._getItemIndex(l),to:w});if(E(wo).defaultPrevented||!l||!g)return;const C=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(w),this._activeElement=g;const j=h?"carousel-item-start":"carousel-item-end",P=h?"carousel-item-next":"carousel-item-prev";g.classList.add(P),o(g),l.classList.add(j),g.classList.add(j),this._queueCallback(()=>{g.classList.remove(j,P),g.classList.add(ye),l.classList.remove(ye,P,j),this._isSliding=!1,E(Ge)},l,this._isAnimated()),C&&this.cycle()}_isAnimated(){return this._element.classList.contains("slide")}_getActive(){return k.findOne(So,this._element)}_getItems(){return k.find(Dn,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(t){return y()?t===Vt?Xt:le:t===Vt?le:Xt}_orderToDirection(t){return y()?t===Xt?Vt:ve:t===Xt?ve:Vt}static jQueryInterface(t){return this.each(function(){const e=Wt.getOrCreateInstance(this,t);if(typeof t!="number"){if(typeof t=="string"){if(e[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);e[t]()}}else e.to(t)})}}A.on(document,To,"[data-bs-slide], [data-bs-slide-to]",function(r){const t=k.getElementFromSelector(this);if(!t||!t.classList.contains(Mn))return;r.preventDefault();const e=Wt.getOrCreateInstance(t),l=this.getAttribute("data-bs-slide-to");return l?(e.to(l),void e._maybeEnableCycle()):At.getDataAttribute(this,"slide")==="next"?(e.next(),void e._maybeEnableCycle()):(e.prev(),void e._maybeEnableCycle())}),A.on(window,xo,()=>{const r=k.find('[data-bs-ride="carousel"]');for(const t of r)Wt.getOrCreateInstance(t)}),O(Wt);const ce=".bs.collapse",Lo=`show${ce}`,Mo=`shown${ce}`,Io=`hide${ce}`,Do=`hidden${ce}`,$o=`click${ce}.data-api`,Xe="show",Ut="collapse",we="collapsing",Ro=`:scope .${Ut} .${Ut}`,Ve='[data-bs-toggle="collapse"]',No={parent:null,toggle:!0},Bo={parent:"(null|element)",toggle:"boolean"};class qt extends mt{constructor(t,e){super(t,e),this._isTransitioning=!1,this._triggerArray=[];const l=k.find(Ve);for(const h of l){const g=k.getSelectorFromElement(h),w=k.find(g).filter(E=>E===this._element);g!==null&&w.length&&this._triggerArray.push(h)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return No}static get DefaultType(){return Bo}static get NAME(){return"collapse"}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let t=[];if(this._config.parent&&(t=this._getFirstLevelChildren(".collapse.show, .collapse.collapsing").filter(h=>h!==this._element).map(h=>qt.getOrCreateInstance(h,{toggle:!1}))),t.length&&t[0]._isTransitioning||A.trigger(this._element,Lo).defaultPrevented)return;for(const h of t)h.hide();const e=this._getDimension();this._element.classList.remove(Ut),this._element.classList.add(we),this._element.style[e]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const l=`scroll${e[0].toUpperCase()+e.slice(1)}`;this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(we),this._element.classList.add(Ut,Xe),this._element.style[e]="",A.trigger(this._element,Mo)},this._element,!0),this._element.style[e]=`${this._element[l]}px`}hide(){if(this._isTransitioning||!this._isShown()||A.trigger(this._element,Io).defaultPrevented)return;const t=this._getDimension();this._element.style[t]=`${this._element.getBoundingClientRect()[t]}px`,o(this._element),this._element.classList.add(we),this._element.classList.remove(Ut,Xe);for(const e of this._triggerArray){const l=k.getElementFromSelector(e);l&&!this._isShown(l)&&this._addAriaAndCollapsedClass([e],!1)}this._isTransitioning=!0,this._element.style[t]="",this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(we),this._element.classList.add(Ut),A.trigger(this._element,Do)},this._element,!0)}_isShown(t=this._element){return t.classList.contains(Xe)}_configAfterMerge(t){return t.toggle=!!t.toggle,t.parent=p(t.parent),t}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(!this._config.parent)return;const t=this._getFirstLevelChildren(Ve);for(const e of t){const l=k.getElementFromSelector(e);l&&this._addAriaAndCollapsedClass([e],this._isShown(l))}}_getFirstLevelChildren(t){const e=k.find(Ro,this._config.parent);return k.find(t,this._config.parent).filter(l=>!e.includes(l))}_addAriaAndCollapsedClass(t,e){if(t.length)for(const l of t)l.classList.toggle("collapsed",!e),l.setAttribute("aria-expanded",e)}static jQueryInterface(t){const e={};return typeof t=="string"&&/show|hide/.test(t)&&(e.toggle=!1),this.each(function(){const l=qt.getOrCreateInstance(this,e);if(typeof t=="string"){if(l[t]===void 0)throw new TypeError(`No method named "${t}"`);l[t]()}})}}A.on(document,$o,Ve,function(r){(r.target.tagName==="A"||r.delegateTarget&&r.delegateTarget.tagName==="A")&&r.preventDefault();for(const t of k.getMultipleElementsFromSelector(this))qt.getOrCreateInstance(t,{toggle:!1}).toggle()}),O(qt);var tt="top",at="bottom",lt="right",et="left",Oe="auto",Yt=[tt,at,lt,et],Lt="start",Kt="end",$n="clippingParents",We="viewport",Qt="popper",Rn="reference",Ue=Yt.reduce(function(r,t){return r.concat([t+"-"+Lt,t+"-"+Kt])},[]),qe=[].concat(Yt,[Oe]).reduce(function(r,t){return r.concat([t,t+"-"+Lt,t+"-"+Kt])},[]),Nn="beforeRead",Bn="read",Hn="afterRead",Fn="beforeMain",zn="main",Gn="afterMain",Xn="beforeWrite",Vn="write",Wn="afterWrite",Un=[Nn,Bn,Hn,Fn,zn,Gn,Xn,Vn,Wn];function yt(r){return r?(r.nodeName||"").toLowerCase():null}function ct(r){if(r==null)return window;if(r.toString()!=="[object Window]"){var t=r.ownerDocument;return t&&t.defaultView||window}return r}function Mt(r){return r instanceof ct(r).Element||r instanceof Element}function ft(r){return r instanceof ct(r).HTMLElement||r instanceof HTMLElement}function Ye(r){return typeof ShadowRoot<"u"&&(r instanceof ct(r).ShadowRoot||r instanceof ShadowRoot)}const Ke={name:"applyStyles",enabled:!0,phase:"write",fn:function(r){var t=r.state;Object.keys(t.elements).forEach(function(e){var l=t.styles[e]||{},h=t.attributes[e]||{},g=t.elements[e];ft(g)&&yt(g)&&(Object.assign(g.style,l),Object.keys(h).forEach(function(w){var E=h[w];E===!1?g.removeAttribute(w):g.setAttribute(w,E===!0?"":E)}))})},effect:function(r){var t=r.state,e={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,e.popper),t.styles=e,t.elements.arrow&&Object.assign(t.elements.arrow.style,e.arrow),function(){Object.keys(t.elements).forEach(function(l){var h=t.elements[l],g=t.attributes[l]||{},w=Object.keys(t.styles.hasOwnProperty(l)?t.styles[l]:e[l]).reduce(function(E,C){return E[C]="",E},{});ft(h)&&yt(h)&&(Object.assign(h.style,w),Object.keys(g).forEach(function(E){h.removeAttribute(E)}))})}},requires:["computeStyles"]};function wt(r){return r.split("-")[0]}var It=Math.max,Ee=Math.min,Jt=Math.round;function Qe(){var r=navigator.userAgentData;return r!=null&&r.brands&&Array.isArray(r.brands)?r.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function qn(){return!/^((?!chrome|android).)*safari/i.test(Qe())}function Zt(r,t,e){t===void 0&&(t=!1),e===void 0&&(e=!1);var l=r.getBoundingClientRect(),h=1,g=1;t&&ft(r)&&(h=r.offsetWidth>0&&Jt(l.width)/r.offsetWidth||1,g=r.offsetHeight>0&&Jt(l.height)/r.offsetHeight||1);var w=(Mt(r)?ct(r):window).visualViewport,E=!qn()&&e,C=(l.left+(E&&w?w.offsetLeft:0))/h,j=(l.top+(E&&w?w.offsetTop:0))/g,P=l.width/h,T=l.height/g;return{width:P,height:T,top:j,right:C+P,bottom:j+T,left:C,x:C,y:j}}function Je(r){var t=Zt(r),e=r.offsetWidth,l=r.offsetHeight;return Math.abs(t.width-e)<=1&&(e=t.width),Math.abs(t.height-l)<=1&&(l=t.height),{x:r.offsetLeft,y:r.offsetTop,width:e,height:l}}function Yn(r,t){var e=t.getRootNode&&t.getRootNode();if(r.contains(t))return!0;if(e&&Ye(e)){var l=t;do{if(l&&r.isSameNode(l))return!0;l=l.parentNode||l.host}while(l)}return!1}function Ct(r){return ct(r).getComputedStyle(r)}function Ho(r){return["table","td","th"].indexOf(yt(r))>=0}function jt(r){return((Mt(r)?r.ownerDocument:r.document)||window.document).documentElement}function Ae(r){return yt(r)==="html"?r:r.assignedSlot||r.parentNode||(Ye(r)?r.host:null)||jt(r)}function Kn(r){return ft(r)&&Ct(r).position!=="fixed"?r.offsetParent:null}function ue(r){for(var t=ct(r),e=Kn(r);e&&Ho(e)&&Ct(e).position==="static";)e=Kn(e);return e&&(yt(e)==="html"||yt(e)==="body"&&Ct(e).position==="static")?t:e||(function(l){var h=/firefox/i.test(Qe());if(/Trident/i.test(Qe())&&ft(l)&&Ct(l).position==="fixed")return null;var g=Ae(l);for(Ye(g)&&(g=g.host);ft(g)&&["html","body"].indexOf(yt(g))<0;){var w=Ct(g);if(w.transform!=="none"||w.perspective!=="none"||w.contain==="paint"||["transform","perspective"].indexOf(w.willChange)!==-1||h&&w.willChange==="filter"||h&&w.filter&&w.filter!=="none")return g;g=g.parentNode}return null})(r)||t}function Ze(r){return["top","bottom"].indexOf(r)>=0?"x":"y"}function fe(r,t,e){return It(r,Ee(t,e))}function Qn(r){return Object.assign({},{top:0,right:0,bottom:0,left:0},r)}function Jn(r,t){return t.reduce(function(e,l){return e[l]=r,e},{})}const Zn={name:"arrow",enabled:!0,phase:"main",fn:function(r){var t,e=r.state,l=r.name,h=r.options,g=e.elements.arrow,w=e.modifiersData.popperOffsets,E=wt(e.placement),C=Ze(E),j=[et,lt].indexOf(E)>=0?"height":"width";if(g&&w){var P=(function(W,G){return Qn(typeof(W=typeof W=="function"?W(Object.assign({},G.rects,{placement:G.placement})):W)!="number"?W:Jn(W,Yt))})(h.padding,e),T=Je(g),$=C==="y"?tt:et,L=C==="y"?at:lt,I=e.rects.reference[j]+e.rects.reference[C]-w[C]-e.rects.popper[j],M=w[C]-e.rects.reference[C],D=ue(g),V=D?C==="y"?D.clientHeight||0:D.clientWidth||0:0,Y=I/2-M/2,B=P[$],F=V-T[j]-P[L],R=V/2-T[j]/2+Y,H=fe(B,R,F),z=C;e.modifiersData[l]=((t={})[z]=H,t.centerOffset=H-R,t)}},effect:function(r){var t=r.state,e=r.options.element,l=e===void 0?"[data-popper-arrow]":e;l!=null&&(typeof l!="string"||(l=t.elements.popper.querySelector(l)))&&Yn(t.elements.popper,l)&&(t.elements.arrow=l)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function te(r){return r.split("-")[1]}var Fo={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ti(r){var t,e=r.popper,l=r.popperRect,h=r.placement,g=r.variation,w=r.offsets,E=r.position,C=r.gpuAcceleration,j=r.adaptive,P=r.roundOffsets,T=r.isFixed,$=w.x,L=$===void 0?0:$,I=w.y,M=I===void 0?0:I,D=typeof P=="function"?P({x:L,y:M}):{x:L,y:M};L=D.x,M=D.y;var V=w.hasOwnProperty("x"),Y=w.hasOwnProperty("y"),B=et,F=tt,R=window;if(j){var H=ue(e),z="clientHeight",W="clientWidth";H===ct(e)&&Ct(H=jt(e)).position!=="static"&&E==="absolute"&&(z="scrollHeight",W="scrollWidth"),(h===tt||(h===et||h===lt)&&g===Kt)&&(F=at,M-=(T&&H===R&&R.visualViewport?R.visualViewport.height:H[z])-l.height,M*=C?1:-1),h!==et&&(h!==tt&&h!==at||g!==Kt)||(B=lt,L-=(T&&H===R&&R.visualViewport?R.visualViewport.width:H[W])-l.width,L*=C?1:-1)}var G,J=Object.assign({position:E},j&&Fo),ut=P===!0?(function(vt,nt){var ht=vt.x,pt=vt.y,Q=nt.devicePixelRatio||1;return{x:Jt(ht*Q)/Q||0,y:Jt(pt*Q)/Q||0}})({x:L,y:M},ct(e)):{x:L,y:M};return L=ut.x,M=ut.y,C?Object.assign({},J,((G={})[F]=Y?"0":"",G[B]=V?"0":"",G.transform=(R.devicePixelRatio||1)<=1?"translate("+L+"px, "+M+"px)":"translate3d("+L+"px, "+M+"px, 0)",G)):Object.assign({},J,((t={})[F]=Y?M+"px":"",t[B]=V?L+"px":"",t.transform="",t))}const tn={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(r){var t=r.state,e=r.options,l=e.gpuAcceleration,h=l===void 0||l,g=e.adaptive,w=g===void 0||g,E=e.roundOffsets,C=E===void 0||E,j={placement:wt(t.placement),variation:te(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:h,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,ti(Object.assign({},j,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:w,roundOffsets:C})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,ti(Object.assign({},j,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:C})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}};var Ce={passive:!0};const en={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(r){var t=r.state,e=r.instance,l=r.options,h=l.scroll,g=h===void 0||h,w=l.resize,E=w===void 0||w,C=ct(t.elements.popper),j=[].concat(t.scrollParents.reference,t.scrollParents.popper);return g&&j.forEach(function(P){P.addEventListener("scroll",e.update,Ce)}),E&&C.addEventListener("resize",e.update,Ce),function(){g&&j.forEach(function(P){P.removeEventListener("scroll",e.update,Ce)}),E&&C.removeEventListener("resize",e.update,Ce)}},data:{}};var zo={left:"right",right:"left",bottom:"top",top:"bottom"};function xe(r){return r.replace(/left|right|bottom|top/g,function(t){return zo[t]})}var Go={start:"end",end:"start"};function ei(r){return r.replace(/start|end/g,function(t){return Go[t]})}function nn(r){var t=ct(r);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function on(r){return Zt(jt(r)).left+nn(r).scrollLeft}function rn(r){var t=Ct(r),e=t.overflow,l=t.overflowX,h=t.overflowY;return/auto|scroll|overlay|hidden/.test(e+h+l)}function ni(r){return["html","body","#document"].indexOf(yt(r))>=0?r.ownerDocument.body:ft(r)&&rn(r)?r:ni(Ae(r))}function de(r,t){var e;t===void 0&&(t=[]);var l=ni(r),h=l===((e=r.ownerDocument)==null?void 0:e.body),g=ct(l),w=h?[g].concat(g.visualViewport||[],rn(l)?l:[]):l,E=t.concat(w);return h?E:E.concat(de(Ae(w)))}function sn(r){return Object.assign({},r,{left:r.x,top:r.y,right:r.x+r.width,bottom:r.y+r.height})}function ii(r,t,e){return t===We?sn((function(l,h){var g=ct(l),w=jt(l),E=g.visualViewport,C=w.clientWidth,j=w.clientHeight,P=0,T=0;if(E){C=E.width,j=E.height;var $=qn();($||!$&&h==="fixed")&&(P=E.offsetLeft,T=E.offsetTop)}return{width:C,height:j,x:P+on(l),y:T}})(r,e)):Mt(t)?(function(l,h){var g=Zt(l,!1,h==="fixed");return g.top=g.top+l.clientTop,g.left=g.left+l.clientLeft,g.bottom=g.top+l.clientHeight,g.right=g.left+l.clientWidth,g.width=l.clientWidth,g.height=l.clientHeight,g.x=g.left,g.y=g.top,g})(t,e):sn((function(l){var h,g=jt(l),w=nn(l),E=(h=l.ownerDocument)==null?void 0:h.body,C=It(g.scrollWidth,g.clientWidth,E?E.scrollWidth:0,E?E.clientWidth:0),j=It(g.scrollHeight,g.clientHeight,E?E.scrollHeight:0,E?E.clientHeight:0),P=-w.scrollLeft+on(l),T=-w.scrollTop;return Ct(E||g).direction==="rtl"&&(P+=It(g.clientWidth,E?E.clientWidth:0)-C),{width:C,height:j,x:P,y:T}})(jt(r)))}function oi(r){var t,e=r.reference,l=r.element,h=r.placement,g=h?wt(h):null,w=h?te(h):null,E=e.x+e.width/2-l.width/2,C=e.y+e.height/2-l.height/2;switch(g){case tt:t={x:E,y:e.y-l.height};break;case at:t={x:E,y:e.y+e.height};break;case lt:t={x:e.x+e.width,y:C};break;case et:t={x:e.x-l.width,y:C};break;default:t={x:e.x,y:e.y}}var j=g?Ze(g):null;if(j!=null){var P=j==="y"?"height":"width";switch(w){case Lt:t[j]=t[j]-(e[P]/2-l[P]/2);break;case Kt:t[j]=t[j]+(e[P]/2-l[P]/2)}}return t}function ee(r,t){t===void 0&&(t={});var e=t,l=e.placement,h=l===void 0?r.placement:l,g=e.strategy,w=g===void 0?r.strategy:g,E=e.boundary,C=E===void 0?$n:E,j=e.rootBoundary,P=j===void 0?We:j,T=e.elementContext,$=T===void 0?Qt:T,L=e.altBoundary,I=L!==void 0&&L,M=e.padding,D=M===void 0?0:M,V=Qn(typeof D!="number"?D:Jn(D,Yt)),Y=$===Qt?Rn:Qt,B=r.rects.popper,F=r.elements[I?Y:$],R=(function(nt,ht,pt,Q){var Ot=ht==="clippingParents"?(function(q){var it=de(Ae(q)),gt=["absolute","fixed"].indexOf(Ct(q).position)>=0&&ft(q)?ue(q):q;return Mt(gt)?it.filter(function(kt){return Mt(kt)&&Yn(kt,gt)&&yt(kt)!=="body"}):[]})(nt):[].concat(ht),Et=[].concat(Ot,[pt]),oe=Et[0],Z=Et.reduce(function(q,it){var gt=ii(nt,it,Q);return q.top=It(gt.top,q.top),q.right=Ee(gt.right,q.right),q.bottom=Ee(gt.bottom,q.bottom),q.left=It(gt.left,q.left),q},ii(nt,oe,Q));return Z.width=Z.right-Z.left,Z.height=Z.bottom-Z.top,Z.x=Z.left,Z.y=Z.top,Z})(Mt(F)?F:F.contextElement||jt(r.elements.popper),C,P,w),H=Zt(r.elements.reference),z=oi({reference:H,element:B,placement:h}),W=sn(Object.assign({},B,z)),G=$===Qt?W:H,J={top:R.top-G.top+V.top,bottom:G.bottom-R.bottom+V.bottom,left:R.left-G.left+V.left,right:G.right-R.right+V.right},ut=r.modifiersData.offset;if($===Qt&&ut){var vt=ut[h];Object.keys(J).forEach(function(nt){var ht=[lt,at].indexOf(nt)>=0?1:-1,pt=[tt,at].indexOf(nt)>=0?"y":"x";J[nt]+=vt[pt]*ht})}return J}function Xo(r,t){t===void 0&&(t={});var e=t,l=e.placement,h=e.boundary,g=e.rootBoundary,w=e.padding,E=e.flipVariations,C=e.allowedAutoPlacements,j=C===void 0?qe:C,P=te(l),T=P?E?Ue:Ue.filter(function(I){return te(I)===P}):Yt,$=T.filter(function(I){return j.indexOf(I)>=0});$.length===0&&($=T);var L=$.reduce(function(I,M){return I[M]=ee(r,{placement:M,boundary:h,rootBoundary:g,padding:w})[wt(M)],I},{});return Object.keys(L).sort(function(I,M){return L[I]-L[M]})}const ri={name:"flip",enabled:!0,phase:"main",fn:function(r){var t=r.state,e=r.options,l=r.name;if(!t.modifiersData[l]._skip){for(var h=e.mainAxis,g=h===void 0||h,w=e.altAxis,E=w===void 0||w,C=e.fallbackPlacements,j=e.padding,P=e.boundary,T=e.rootBoundary,$=e.altBoundary,L=e.flipVariations,I=L===void 0||L,M=e.allowedAutoPlacements,D=t.options.placement,V=wt(D),Y=C||(V!==D&&I?(function(q){if(wt(q)===Oe)return[];var it=xe(q);return[ei(q),it,ei(it)]})(D):[xe(D)]),B=[D].concat(Y).reduce(function(q,it){return q.concat(wt(it)===Oe?Xo(t,{placement:it,boundary:P,rootBoundary:T,padding:j,flipVariations:I,allowedAutoPlacements:M}):it)},[]),F=t.rects.reference,R=t.rects.popper,H=new Map,z=!0,W=B[0],G=0;G<B.length;G++){var J=B[G],ut=wt(J),vt=te(J)===Lt,nt=[tt,at].indexOf(ut)>=0,ht=nt?"width":"height",pt=ee(t,{placement:J,boundary:P,rootBoundary:T,altBoundary:$,padding:j}),Q=nt?vt?lt:et:vt?at:tt;F[ht]>R[ht]&&(Q=xe(Q));var Ot=xe(Q),Et=[];if(g&&Et.push(pt[ut]<=0),E&&Et.push(pt[Q]<=0,pt[Ot]<=0),Et.every(function(q){return q})){W=J,z=!1;break}H.set(J,Et)}if(z)for(var oe=function(q){var it=B.find(function(gt){var kt=H.get(gt);if(kt)return kt.slice(0,q).every(function(De){return De})});if(it)return W=it,"break"},Z=I?3:1;Z>0&&oe(Z)!=="break";Z--);t.placement!==W&&(t.modifiersData[l]._skip=!0,t.placement=W,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function si(r,t,e){return e===void 0&&(e={x:0,y:0}),{top:r.top-t.height-e.y,right:r.right-t.width+e.x,bottom:r.bottom-t.height+e.y,left:r.left-t.width-e.x}}function ai(r){return[tt,lt,at,et].some(function(t){return r[t]>=0})}const li={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(r){var t=r.state,e=r.name,l=t.rects.reference,h=t.rects.popper,g=t.modifiersData.preventOverflow,w=ee(t,{elementContext:"reference"}),E=ee(t,{altBoundary:!0}),C=si(w,l),j=si(E,h,g),P=ai(C),T=ai(j);t.modifiersData[e]={referenceClippingOffsets:C,popperEscapeOffsets:j,isReferenceHidden:P,hasPopperEscaped:T},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":P,"data-popper-escaped":T})}},ci={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(r){var t=r.state,e=r.options,l=r.name,h=e.offset,g=h===void 0?[0,0]:h,w=qe.reduce(function(P,T){return P[T]=(function($,L,I){var M=wt($),D=[et,tt].indexOf(M)>=0?-1:1,V=typeof I=="function"?I(Object.assign({},L,{placement:$})):I,Y=V[0],B=V[1];return Y=Y||0,B=(B||0)*D,[et,lt].indexOf(M)>=0?{x:B,y:Y}:{x:Y,y:B}})(T,t.rects,g),P},{}),E=w[t.placement],C=E.x,j=E.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=C,t.modifiersData.popperOffsets.y+=j),t.modifiersData[l]=w}},an={name:"popperOffsets",enabled:!0,phase:"read",fn:function(r){var t=r.state,e=r.name;t.modifiersData[e]=oi({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})},data:{}},ui={name:"preventOverflow",enabled:!0,phase:"main",fn:function(r){var t=r.state,e=r.options,l=r.name,h=e.mainAxis,g=h===void 0||h,w=e.altAxis,E=w!==void 0&&w,C=e.boundary,j=e.rootBoundary,P=e.altBoundary,T=e.padding,$=e.tether,L=$===void 0||$,I=e.tetherOffset,M=I===void 0?0:I,D=ee(t,{boundary:C,rootBoundary:j,padding:T,altBoundary:P}),V=wt(t.placement),Y=te(t.placement),B=!Y,F=Ze(V),R=F==="x"?"y":"x",H=t.modifiersData.popperOffsets,z=t.rects.reference,W=t.rects.popper,G=typeof M=="function"?M(Object.assign({},t.rects,{placement:t.placement})):M,J=typeof G=="number"?{mainAxis:G,altAxis:G}:Object.assign({mainAxis:0,altAxis:0},G),ut=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,vt={x:0,y:0};if(H){if(g){var nt,ht=F==="y"?tt:et,pt=F==="y"?at:lt,Q=F==="y"?"height":"width",Ot=H[F],Et=Ot+D[ht],oe=Ot-D[pt],Z=L?-W[Q]/2:0,q=Y===Lt?z[Q]:W[Q],it=Y===Lt?-W[Q]:-z[Q],gt=t.elements.arrow,kt=L&>?Je(gt):{width:0,height:0},De=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},Ki=De[ht],Qi=De[pt],$e=fe(0,z[Q],kt[Q]),Os=B?z[Q]/2-Z-$e-Ki-J.mainAxis:q-$e-Ki-J.mainAxis,Es=B?-z[Q]/2+Z+$e+Qi+J.mainAxis:it+$e+Qi+J.mainAxis,wn=t.elements.arrow&&ue(t.elements.arrow),As=wn?F==="y"?wn.clientTop||0:wn.clientLeft||0:0,Ji=(nt=ut?.[F])!=null?nt:0,Cs=Ot+Es-Ji,Zi=fe(L?Ee(Et,Ot+Os-Ji-As):Et,Ot,L?It(oe,Cs):oe);H[F]=Zi,vt[F]=Zi-Ot}if(E){var to,xs=F==="x"?tt:et,Ts=F==="x"?at:lt,zt=H[R],Re=R==="y"?"height":"width",eo=zt+D[xs],no=zt-D[Ts],On=[tt,et].indexOf(V)!==-1,io=(to=ut?.[R])!=null?to:0,oo=On?eo:zt-z[Re]-W[Re]-io+J.altAxis,ro=On?zt+z[Re]+W[Re]-io-J.altAxis:no,so=L&&On?(function(Ss,js,En){var ao=fe(Ss,js,En);return ao>En?En:ao})(oo,zt,ro):fe(L?oo:eo,zt,L?ro:no);H[R]=so,vt[R]=so-zt}t.modifiersData[l]=vt}},requiresIfExists:["offset"]};function Vo(r,t,e){e===void 0&&(e=!1);var l,h,g=ft(t),w=ft(t)&&(function(T){var $=T.getBoundingClientRect(),L=Jt($.width)/T.offsetWidth||1,I=Jt($.height)/T.offsetHeight||1;return L!==1||I!==1})(t),E=jt(t),C=Zt(r,w,e),j={scrollLeft:0,scrollTop:0},P={x:0,y:0};return(g||!g&&!e)&&((yt(t)!=="body"||rn(E))&&(j=(l=t)!==ct(l)&&ft(l)?{scrollLeft:(h=l).scrollLeft,scrollTop:h.scrollTop}:nn(l)),ft(t)?((P=Zt(t,!0)).x+=t.clientLeft,P.y+=t.clientTop):E&&(P.x=on(E))),{x:C.left+j.scrollLeft-P.x,y:C.top+j.scrollTop-P.y,width:C.width,height:C.height}}function Wo(r){var t=new Map,e=new Set,l=[];function h(g){e.add(g.name),[].concat(g.requires||[],g.requiresIfExists||[]).forEach(function(w){if(!e.has(w)){var E=t.get(w);E&&h(E)}}),l.push(g)}return r.forEach(function(g){t.set(g.name,g)}),r.forEach(function(g){e.has(g.name)||h(g)}),l}var fi={placement:"bottom",modifiers:[],strategy:"absolute"};function di(){for(var r=arguments.length,t=new Array(r),e=0;e<r;e++)t[e]=arguments[e];return!t.some(function(l){return!(l&&typeof l.getBoundingClientRect=="function")})}function Te(r){r===void 0&&(r={});var t=r,e=t.defaultModifiers,l=e===void 0?[]:e,h=t.defaultOptions,g=h===void 0?fi:h;return function(w,E,C){C===void 0&&(C=g);var j,P,T={placement:"bottom",orderedModifiers:[],options:Object.assign({},fi,g),modifiersData:{},elements:{reference:w,popper:E},attributes:{},styles:{}},$=[],L=!1,I={state:T,setOptions:function(D){var V=typeof D=="function"?D(T.options):D;M(),T.options=Object.assign({},g,T.options,V),T.scrollParents={reference:Mt(w)?de(w):w.contextElement?de(w.contextElement):[],popper:de(E)};var Y,B,F=(function(R){var H=Wo(R);return Un.reduce(function(z,W){return z.concat(H.filter(function(G){return G.phase===W}))},[])})((Y=[].concat(l,T.options.modifiers),B=Y.reduce(function(R,H){var z=R[H.name];return R[H.name]=z?Object.assign({},z,H,{options:Object.assign({},z.options,H.options),data:Object.assign({},z.data,H.data)}):H,R},{}),Object.keys(B).map(function(R){return B[R]})));return T.orderedModifiers=F.filter(function(R){return R.enabled}),T.orderedModifiers.forEach(function(R){var H=R.name,z=R.options,W=z===void 0?{}:z,G=R.effect;if(typeof G=="function"){var J=G({state:T,name:H,instance:I,options:W});$.push(J||function(){})}}),I.update()},forceUpdate:function(){if(!L){var D=T.elements,V=D.reference,Y=D.popper;if(di(V,Y)){T.rects={reference:Vo(V,ue(Y),T.options.strategy==="fixed"),popper:Je(Y)},T.reset=!1,T.placement=T.options.placement,T.orderedModifiers.forEach(function(G){return T.modifiersData[G.name]=Object.assign({},G.data)});for(var B=0;B<T.orderedModifiers.length;B++)if(T.reset!==!0){var F=T.orderedModifiers[B],R=F.fn,H=F.options,z=H===void 0?{}:H,W=F.name;typeof R=="function"&&(T=R({state:T,options:z,name:W,instance:I})||T)}else T.reset=!1,B=-1}}},update:(j=function(){return new Promise(function(D){I.forceUpdate(),D(T)})},function(){return P||(P=new Promise(function(D){Promise.resolve().then(function(){P=void 0,D(j())})})),P}),destroy:function(){M(),L=!0}};if(!di(w,E))return I;function M(){$.forEach(function(D){return D()}),$=[]}return I.setOptions(C).then(function(D){!L&&C.onFirstUpdate&&C.onFirstUpdate(D)}),I}}var Uo=Te(),qo=Te({defaultModifiers:[en,an,tn,Ke]}),ln=Te({defaultModifiers:[en,an,tn,Ke,ci,ri,ui,Zn,li]});const hi=Object.freeze(Object.defineProperty({__proto__:null,afterMain:Gn,afterRead:Hn,afterWrite:Wn,applyStyles:Ke,arrow:Zn,auto:Oe,basePlacements:Yt,beforeMain:Fn,beforeRead:Nn,beforeWrite:Xn,bottom:at,clippingParents:$n,computeStyles:tn,createPopper:ln,createPopperBase:Uo,createPopperLite:qo,detectOverflow:ee,end:Kt,eventListeners:en,flip:ri,hide:li,left:et,main:zn,modifierPhases:Un,offset:ci,placements:qe,popper:Qt,popperGenerator:Te,popperOffsets:an,preventOverflow:ui,read:Bn,reference:Rn,right:lt,start:Lt,top:tt,variationPlacements:Ue,viewport:We,write:Vn},Symbol.toStringTag,{value:"Module"})),pi="dropdown",Dt=".bs.dropdown",cn=".data-api",Yo="ArrowUp",gi="ArrowDown",Ko=`hide${Dt}`,Qo=`hidden${Dt}`,Jo=`show${Dt}`,Zo=`shown${Dt}`,_i=`click${Dt}${cn}`,mi=`keydown${Dt}${cn}`,tr=`keyup${Dt}${cn}`,ne="show",$t='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',er=`${$t}.${ne}`,Se=".dropdown-menu",nr=y()?"top-end":"top-start",ir=y()?"top-start":"top-end",or=y()?"bottom-end":"bottom-start",rr=y()?"bottom-start":"bottom-end",sr=y()?"left-start":"right-start",ar=y()?"right-start":"left-start",lr={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},cr={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class bt extends mt{constructor(t,e){super(t,e),this._popper=null,this._parent=this._element.parentNode,this._menu=k.next(this._element,Se)[0]||k.prev(this._element,Se)[0]||k.findOne(Se,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return lr}static get DefaultType(){return cr}static get NAME(){return pi}toggle(){return this._isShown()?this.hide():this.show()}show(){if(s(this._element)||this._isShown())return;const t={relatedTarget:this._element};if(!A.trigger(this._element,Jo,t).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(".navbar-nav"))for(const e of[].concat(...document.body.children))A.on(e,"mouseover",n);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(ne),this._element.classList.add(ne),A.trigger(this._element,Zo,t)}}hide(){if(s(this._element)||!this._isShown())return;const t={relatedTarget:this._element};this._completeHide(t)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(t){if(!A.trigger(this._element,Ko,t).defaultPrevented){if("ontouchstart"in document.documentElement)for(const e of[].concat(...document.body.children))A.off(e,"mouseover",n);this._popper&&this._popper.destroy(),this._menu.classList.remove(ne),this._element.classList.remove(ne),this._element.setAttribute("aria-expanded","false"),At.removeDataAttribute(this._menu,"popper"),A.trigger(this._element,Qo,t)}}_getConfig(t){if(typeof(t=super._getConfig(t)).reference=="object"&&!m(t.reference)&&typeof t.reference.getBoundingClientRect!="function")throw new TypeError(`${pi.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return t}_createPopper(){if(hi===void 0)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org/docs/v2/)");let t=this._element;this._config.reference==="parent"?t=this._parent:m(this._config.reference)?t=p(this._config.reference):typeof this._config.reference=="object"&&(t=this._config.reference);const e=this._getPopperConfig();this._popper=ln(t,this._menu,e)}_isShown(){return this._menu.classList.contains(ne)}_getPlacement(){const t=this._parent;if(t.classList.contains("dropend"))return sr;if(t.classList.contains("dropstart"))return ar;if(t.classList.contains("dropup-center"))return"top";if(t.classList.contains("dropdown-center"))return"bottom";const e=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";return t.classList.contains("dropup")?e?ir:nr:e?rr:or}_detectNavbar(){return this._element.closest(".navbar")!==null}_getOffset(){const{offset:t}=this._config;return typeof t=="string"?t.split(",").map(e=>Number.parseInt(e,10)):typeof t=="function"?e=>t(e,this._element):t}_getPopperConfig(){const t={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||this._config.display==="static")&&(At.setDataAttribute(this._menu,"popper","static"),t.modifiers=[{name:"applyStyles",enabled:!1}]),{...t,...x(this._config.popperConfig,[void 0,t])}}_selectMenuItem({key:t,target:e}){const l=k.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter(h=>d(h));l.length&&st(l,e,t===gi,!l.includes(e)).focus()}static jQueryInterface(t){return this.each(function(){const e=bt.getOrCreateInstance(this,t);if(typeof t=="string"){if(e[t]===void 0)throw new TypeError(`No method named "${t}"`);e[t]()}})}static clearMenus(t){if(t.button===2||t.type==="keyup"&&t.key!=="Tab")return;const e=k.find(er);for(const l of e){const h=bt.getInstance(l);if(!h||h._config.autoClose===!1)continue;const g=t.composedPath(),w=g.includes(h._menu);if(g.includes(h._element)||h._config.autoClose==="inside"&&!w||h._config.autoClose==="outside"&&w||h._menu.contains(t.target)&&(t.type==="keyup"&&t.key==="Tab"||/input|select|option|textarea|form/i.test(t.target.tagName)))continue;const E={relatedTarget:h._element};t.type==="click"&&(E.clickEvent=t),h._completeHide(E)}}static dataApiKeydownHandler(t){const e=/input|textarea/i.test(t.target.tagName),l=t.key==="Escape",h=[Yo,gi].includes(t.key);if(!h&&!l||e&&!l)return;t.preventDefault();const g=this.matches($t)?this:k.prev(this,$t)[0]||k.next(this,$t)[0]||k.findOne($t,t.delegateTarget.parentNode),w=bt.getOrCreateInstance(g);if(h)return t.stopPropagation(),w.show(),void w._selectMenuItem(t);w._isShown()&&(t.stopPropagation(),w.hide(),g.focus())}}A.on(document,mi,$t,bt.dataApiKeydownHandler),A.on(document,mi,Se,bt.dataApiKeydownHandler),A.on(document,_i,bt.clearMenus),A.on(document,tr,bt.clearMenus),A.on(document,_i,$t,function(r){r.preventDefault(),bt.getOrCreateInstance(this).toggle()}),O(bt);const bi="backdrop",vi="show",yi=`mousedown.bs.${bi}`,ur={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},fr={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class wi extends re{constructor(t){super(),this._config=this._getConfig(t),this._isAppended=!1,this._element=null}static get Default(){return ur}static get DefaultType(){return fr}static get NAME(){return bi}show(t){if(!this._config.isVisible)return void x(t);this._append();const e=this._getElement();this._config.isAnimated&&o(e),e.classList.add(vi),this._emulateAnimation(()=>{x(t)})}hide(t){this._config.isVisible?(this._getElement().classList.remove(vi),this._emulateAnimation(()=>{this.dispose(),x(t)})):x(t)}dispose(){this._isAppended&&(A.off(this._element,yi),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const t=document.createElement("div");t.className=this._config.className,this._config.isAnimated&&t.classList.add("fade"),this._element=t}return this._element}_configAfterMerge(t){return t.rootElement=p(t.rootElement),t}_append(){if(this._isAppended)return;const t=this._getElement();this._config.rootElement.append(t),A.on(t,yi,()=>{x(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(t){ot(t,this._getElement(),this._config.isAnimated)}}const je=".bs.focustrap",dr=`focusin${je}`,hr=`keydown.tab${je}`,Oi="backward",pr={autofocus:!0,trapElement:null},gr={autofocus:"boolean",trapElement:"element"};class Ei extends re{constructor(t){super(),this._config=this._getConfig(t),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return pr}static get DefaultType(){return gr}static get NAME(){return"focustrap"}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),A.off(document,je),A.on(document,dr,t=>this._handleFocusin(t)),A.on(document,hr,t=>this._handleKeydown(t)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,A.off(document,je))}_handleFocusin(t){const{trapElement:e}=this._config;if(t.target===document||t.target===e||e.contains(t.target))return;const l=k.focusableChildren(e);l.length===0?e.focus():this._lastTabNavDirection===Oi?l[l.length-1].focus():l[0].focus()}_handleKeydown(t){t.key==="Tab"&&(this._lastTabNavDirection=t.shiftKey?Oi:"forward")}}const Ai=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",Ci=".sticky-top",Pe="padding-right",xi="margin-right";class un{constructor(){this._element=document.body}getWidth(){const t=document.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}hide(){const t=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,Pe,e=>e+t),this._setElementAttributes(Ai,Pe,e=>e+t),this._setElementAttributes(Ci,xi,e=>e-t)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,Pe),this._resetElementAttributes(Ai,Pe),this._resetElementAttributes(Ci,xi)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(t,e,l){const h=this.getWidth();this._applyManipulationCallback(t,g=>{if(g!==this._element&&window.innerWidth>g.clientWidth+h)return;this._saveInitialAttribute(g,e);const w=window.getComputedStyle(g).getPropertyValue(e);g.style.setProperty(e,`${l(Number.parseFloat(w))}px`)})}_saveInitialAttribute(t,e){const l=t.style.getPropertyValue(e);l&&At.setDataAttribute(t,e,l)}_resetElementAttributes(t,e){this._applyManipulationCallback(t,l=>{const h=At.getDataAttribute(l,e);h!==null?(At.removeDataAttribute(l,e),l.style.setProperty(e,h)):l.style.removeProperty(e)})}_applyManipulationCallback(t,e){if(m(t))e(t);else for(const l of k.find(t,this._element))e(l)}}const dt=".bs.modal",_r=`hide${dt}`,mr=`hidePrevented${dt}`,Ti=`hidden${dt}`,Si=`show${dt}`,br=`shown${dt}`,vr=`resize${dt}`,yr=`click.dismiss${dt}`,wr=`mousedown.dismiss${dt}`,Or=`keydown.dismiss${dt}`,Er=`click${dt}.data-api`,ji="modal-open",Pi="show",fn="modal-static",Ar={backdrop:!0,focus:!0,keyboard:!0},Cr={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class Rt extends mt{constructor(t,e){super(t,e),this._dialog=k.findOne(".modal-dialog",this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new un,this._addEventListeners()}static get Default(){return Ar}static get DefaultType(){return Cr}static get NAME(){return"modal"}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||this._isTransitioning||A.trigger(this._element,Si,{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(ji),this._adjustDialog(),this._backdrop.show(()=>this._showElement(t)))}hide(){this._isShown&&!this._isTransitioning&&(A.trigger(this._element,_r).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(Pi),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated())))}dispose(){A.off(window,dt),A.off(this._dialog,dt),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new wi({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new Ei({trapElement:this._element})}_showElement(t){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;const e=k.findOne(".modal-body",this._dialog);e&&(e.scrollTop=0),o(this._element),this._element.classList.add(Pi),this._queueCallback(()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,A.trigger(this._element,br,{relatedTarget:t})},this._dialog,this._isAnimated())}_addEventListeners(){A.on(this._element,Or,t=>{t.key==="Escape"&&(this._config.keyboard?this.hide():this._triggerBackdropTransition())}),A.on(window,vr,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),A.on(this._element,wr,t=>{A.one(this._element,yr,e=>{this._element===t.target&&this._element===e.target&&(this._config.backdrop!=="static"?this._config.backdrop&&this.hide():this._triggerBackdropTransition())})})}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide(()=>{document.body.classList.remove(ji),this._resetAdjustments(),this._scrollBar.reset(),A.trigger(this._element,Ti)})}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){if(A.trigger(this._element,mr).defaultPrevented)return;const t=this._element.scrollHeight>document.documentElement.clientHeight,e=this._element.style.overflowY;e==="hidden"||this._element.classList.contains(fn)||(t||(this._element.style.overflowY="hidden"),this._element.classList.add(fn),this._queueCallback(()=>{this._element.classList.remove(fn),this._queueCallback(()=>{this._element.style.overflowY=e},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const t=this._element.scrollHeight>document.documentElement.clientHeight,e=this._scrollBar.getWidth(),l=e>0;if(l&&!t){const h=y()?"paddingLeft":"paddingRight";this._element.style[h]=`${e}px`}if(!l&&t){const h=y()?"paddingRight":"paddingLeft";this._element.style[h]=`${e}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(t,e){return this.each(function(){const l=Rt.getOrCreateInstance(this,t);if(typeof t=="string"){if(l[t]===void 0)throw new TypeError(`No method named "${t}"`);l[t](e)}})}}A.on(document,Er,'[data-bs-toggle="modal"]',function(r){const t=k.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&r.preventDefault(),A.one(t,Si,l=>{l.defaultPrevented||A.one(t,Ti,()=>{d(this)&&this.focus()})});const e=k.findOne(".modal.show");e&&Rt.getInstance(e).hide(),Rt.getOrCreateInstance(t).toggle(this)}),me(Rt),O(Rt);const xt=".bs.offcanvas",ki=".data-api",xr=`load${xt}${ki}`,Li="show",Mi="showing",Ii="hiding",Di=".offcanvas.show",Tr=`show${xt}`,Sr=`shown${xt}`,jr=`hide${xt}`,$i=`hidePrevented${xt}`,Ri=`hidden${xt}`,Pr=`resize${xt}`,kr=`click${xt}${ki}`,Lr=`keydown.dismiss${xt}`,Mr={backdrop:!0,keyboard:!0,scroll:!1},Ir={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class Tt extends mt{constructor(t,e){super(t,e),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return Mr}static get DefaultType(){return Ir}static get NAME(){return"offcanvas"}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||A.trigger(this._element,Tr,{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._backdrop.show(),this._config.scroll||new un().hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(Mi),this._queueCallback(()=>{this._config.scroll&&!this._config.backdrop||this._focustrap.activate(),this._element.classList.add(Li),this._element.classList.remove(Mi),A.trigger(this._element,Sr,{relatedTarget:t})},this._element,!0))}hide(){this._isShown&&(A.trigger(this._element,jr).defaultPrevented||(this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(Ii),this._backdrop.hide(),this._queueCallback(()=>{this._element.classList.remove(Li,Ii),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||new un().reset(),A.trigger(this._element,Ri)},this._element,!0)))}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const t=!!this._config.backdrop;return new wi({className:"offcanvas-backdrop",isVisible:t,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:t?()=>{this._config.backdrop!=="static"?this.hide():A.trigger(this._element,$i)}:null})}_initializeFocusTrap(){return new Ei({trapElement:this._element})}_addEventListeners(){A.on(this._element,Lr,t=>{t.key==="Escape"&&(this._config.keyboard?this.hide():A.trigger(this._element,$i))})}static jQueryInterface(t){return this.each(function(){const e=Tt.getOrCreateInstance(this,t);if(typeof t=="string"){if(e[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);e[t](this)}})}}A.on(document,kr,'[data-bs-toggle="offcanvas"]',function(r){const t=k.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&r.preventDefault(),s(this))return;A.one(t,Ri,()=>{d(this)&&this.focus()});const e=k.findOne(Di);e&&e!==t&&Tt.getInstance(e).hide(),Tt.getOrCreateInstance(t).toggle(this)}),A.on(window,xr,()=>{for(const r of k.find(Di))Tt.getOrCreateInstance(r).show()}),A.on(window,Pr,()=>{for(const r of k.find("[aria-modal][class*=show][class*=offcanvas-]"))getComputedStyle(r).position!=="fixed"&&Tt.getOrCreateInstance(r).hide()}),me(Tt),O(Tt);const Ni={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],dd:[],div:[],dl:[],dt:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},Dr=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),$r=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,Rr=(r,t)=>{const e=r.nodeName.toLowerCase();return t.includes(e)?!Dr.has(e)||!!$r.test(r.nodeValue):t.filter(l=>l instanceof RegExp).some(l=>l.test(e))},Nr={allowList:Ni,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},Br={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},Hr={entry:"(string|element|function|null)",selector:"(string|element)"};class Fr extends re{constructor(t){super(),this._config=this._getConfig(t)}static get Default(){return Nr}static get DefaultType(){return Br}static get NAME(){return"TemplateFactory"}getContent(){return Object.values(this._config.content).map(t=>this._resolvePossibleFunction(t)).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(t){return this._checkContent(t),this._config.content={...this._config.content,...t},this}toHtml(){const t=document.createElement("div");t.innerHTML=this._maybeSanitize(this._config.template);for(const[h,g]of Object.entries(this._config.content))this._setContent(t,g,h);const e=t.children[0],l=this._resolvePossibleFunction(this._config.extraClass);return l&&e.classList.add(...l.split(" ")),e}_typeCheckConfig(t){super._typeCheckConfig(t),this._checkContent(t.content)}_checkContent(t){for(const[e,l]of Object.entries(t))super._typeCheckConfig({selector:e,entry:l},Hr)}_setContent(t,e,l){const h=k.findOne(l,t);h&&((e=this._resolvePossibleFunction(e))?m(e)?this._putElementInTemplate(p(e),h):this._config.html?h.innerHTML=this._maybeSanitize(e):h.textContent=e:h.remove())}_maybeSanitize(t){return this._config.sanitize?(function(e,l,h){if(!e.length)return e;if(h&&typeof h=="function")return h(e);const g=new window.DOMParser().parseFromString(e,"text/html"),w=[].concat(...g.body.querySelectorAll("*"));for(const E of w){const C=E.nodeName.toLowerCase();if(!Object.keys(l).includes(C)){E.remove();continue}const j=[].concat(...E.attributes),P=[].concat(l["*"]||[],l[C]||[]);for(const T of j)Rr(T,P)||E.removeAttribute(T.nodeName)}return g.body.innerHTML})(t,this._config.allowList,this._config.sanitizeFn):t}_resolvePossibleFunction(t){return x(t,[void 0,this])}_putElementInTemplate(t,e){if(this._config.html)return e.innerHTML="",void e.append(t);e.textContent=t.textContent}}const zr=new Set(["sanitize","allowList","sanitizeFn"]),dn="fade",ke="show",Gr=".tooltip-inner",Bi=".modal",Hi="hide.bs.modal",he="hover",hn="focus",pn="click",Xr={AUTO:"auto",TOP:"top",RIGHT:y()?"left":"right",BOTTOM:"bottom",LEFT:y()?"right":"left"},Vr={allowList:Ni,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,6],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',title:"",trigger:"hover focus"},Wr={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"};class Nt extends mt{constructor(t,e){if(hi===void 0)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org/docs/v2/)");super(t,e),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return Vr}static get DefaultType(){return Wr}static get NAME(){return"tooltip"}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){this._isEnabled&&(this._isShown()?this._leave():this._enter())}dispose(){clearTimeout(this._timeout),A.off(this._element.closest(Bi),Hi,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if(this._element.style.display==="none")throw new Error("Please use show on visible elements");if(!this._isWithContent()||!this._isEnabled)return;const t=A.trigger(this._element,this.constructor.eventName("show")),e=(i(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(t.defaultPrevented||!e)return;this._disposePopper();const l=this._getTipElement();this._element.setAttribute("aria-describedby",l.getAttribute("id"));const{container:h}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(h.append(l),A.trigger(this._element,this.constructor.eventName("inserted"))),this._popper=this._createPopper(l),l.classList.add(ke),"ontouchstart"in document.documentElement)for(const g of[].concat(...document.body.children))A.on(g,"mouseover",n);this._queueCallback(()=>{A.trigger(this._element,this.constructor.eventName("shown")),this._isHovered===!1&&this._leave(),this._isHovered=!1},this.tip,this._isAnimated())}hide(){if(this._isShown()&&!A.trigger(this._element,this.constructor.eventName("hide")).defaultPrevented){if(this._getTipElement().classList.remove(ke),"ontouchstart"in document.documentElement)for(const t of[].concat(...document.body.children))A.off(t,"mouseover",n);this._activeTrigger[pn]=!1,this._activeTrigger[hn]=!1,this._activeTrigger[he]=!1,this._isHovered=null,this._queueCallback(()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),A.trigger(this._element,this.constructor.eventName("hidden")))},this.tip,this._isAnimated())}}update(){this._popper&&this._popper.update()}_isWithContent(){return!!this._getTitle()}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(t){const e=this._getTemplateFactory(t).toHtml();if(!e)return null;e.classList.remove(dn,ke),e.classList.add(`bs-${this.constructor.NAME}-auto`);const l=(h=>{do h+=Math.floor(1e6*Math.random());while(document.getElementById(h));return h})(this.constructor.NAME).toString();return e.setAttribute("id",l),this._isAnimated()&&e.classList.add(dn),e}setContent(t){this._newContent=t,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(t){return this._templateFactory?this._templateFactory.changeContent(t):this._templateFactory=new Fr({...this._config,content:t,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[Gr]:this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(t){return this.constructor.getOrCreateInstance(t.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(dn)}_isShown(){return this.tip&&this.tip.classList.contains(ke)}_createPopper(t){const e=x(this._config.placement,[this,t,this._element]),l=Xr[e.toUpperCase()];return ln(this._element,t,this._getPopperConfig(l))}_getOffset(){const{offset:t}=this._config;return typeof t=="string"?t.split(",").map(e=>Number.parseInt(e,10)):typeof t=="function"?e=>t(e,this._element):t}_resolvePossibleFunction(t){return x(t,[this._element,this._element])}_getPopperConfig(t){const e={placement:t,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:l=>{this._getTipElement().setAttribute("data-popper-placement",l.state.placement)}}]};return{...e,...x(this._config.popperConfig,[void 0,e])}}_setListeners(){const t=this._config.trigger.split(" ");for(const e of t)if(e==="click")A.on(this._element,this.constructor.eventName("click"),this._config.selector,l=>{const h=this._initializeOnDelegatedTarget(l);h._activeTrigger[pn]=!(h._isShown()&&h._activeTrigger[pn]),h.toggle()});else if(e!=="manual"){const l=e===he?this.constructor.eventName("mouseenter"):this.constructor.eventName("focusin"),h=e===he?this.constructor.eventName("mouseleave"):this.constructor.eventName("focusout");A.on(this._element,l,this._config.selector,g=>{const w=this._initializeOnDelegatedTarget(g);w._activeTrigger[g.type==="focusin"?hn:he]=!0,w._enter()}),A.on(this._element,h,this._config.selector,g=>{const w=this._initializeOnDelegatedTarget(g);w._activeTrigger[g.type==="focusout"?hn:he]=w._element.contains(g.relatedTarget),w._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},A.on(this._element.closest(Bi),Hi,this._hideModalHandler)}_fixTitle(){const t=this._element.getAttribute("title");t&&(this._element.getAttribute("aria-label")||this._element.textContent.trim()||this._element.setAttribute("aria-label",t),this._element.setAttribute("data-bs-original-title",t),this._element.removeAttribute("title"))}_enter(){this._isShown()||this._isHovered?this._isHovered=!0:(this._isHovered=!0,this._setTimeout(()=>{this._isHovered&&this.show()},this._config.delay.show))}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout(()=>{this._isHovered||this.hide()},this._config.delay.hide))}_setTimeout(t,e){clearTimeout(this._timeout),this._timeout=setTimeout(t,e)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(t){const e=At.getDataAttributes(this._element);for(const l of Object.keys(e))zr.has(l)&&delete e[l];return t={...e,...typeof t=="object"&&t?t:{}},t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t.container=t.container===!1?document.body:p(t.container),typeof t.delay=="number"&&(t.delay={show:t.delay,hide:t.delay}),typeof t.title=="number"&&(t.title=t.title.toString()),typeof t.content=="number"&&(t.content=t.content.toString()),t}_getDelegateConfig(){const t={};for(const[e,l]of Object.entries(this._config))this.constructor.Default[e]!==l&&(t[e]=l);return t.selector=!1,t.trigger="manual",t}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(t){return this.each(function(){const e=Nt.getOrCreateInstance(this,t);if(typeof t=="string"){if(e[t]===void 0)throw new TypeError(`No method named "${t}"`);e[t]()}})}}O(Nt);const Ur=".popover-header",qr=".popover-body",Yr={...Nt.Default,content:"",offset:[0,8],placement:"right",template:'<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>',trigger:"click"},Kr={...Nt.DefaultType,content:"(null|string|element|function)"};class Le extends Nt{static get Default(){return Yr}static get DefaultType(){return Kr}static get NAME(){return"popover"}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[Ur]:this._getTitle(),[qr]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(t){return this.each(function(){const e=Le.getOrCreateInstance(this,t);if(typeof t=="string"){if(e[t]===void 0)throw new TypeError(`No method named "${t}"`);e[t]()}})}}O(Le);const gn=".bs.scrollspy",Qr=`activate${gn}`,Fi=`click${gn}`,Jr=`load${gn}.data-api`,ie="active",_n="[href]",zi=".nav-link",Zr=`${zi}, .nav-item > ${zi}, .list-group-item`,ts={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},es={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class pe extends mt{constructor(t,e){super(t,e),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement=getComputedStyle(this._element).overflowY==="visible"?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return ts}static get DefaultType(){return es}static get NAME(){return"scrollspy"}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const t of this._observableSections.values())this._observer.observe(t)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(t){return t.target=p(t.target)||document.body,t.rootMargin=t.offset?`${t.offset}px 0px -30%`:t.rootMargin,typeof t.threshold=="string"&&(t.threshold=t.threshold.split(",").map(e=>Number.parseFloat(e))),t}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(A.off(this._config.target,Fi),A.on(this._config.target,Fi,_n,t=>{const e=this._observableSections.get(t.target.hash);if(e){t.preventDefault();const l=this._rootElement||window,h=e.offsetTop-this._element.offsetTop;if(l.scrollTo)return void l.scrollTo({top:h,behavior:"smooth"});l.scrollTop=h}}))}_getNewObserver(){const t={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver(e=>this._observerCallback(e),t)}_observerCallback(t){const e=w=>this._targetLinks.get(`#${w.target.id}`),l=w=>{this._previousScrollData.visibleEntryTop=w.target.offsetTop,this._process(e(w))},h=(this._rootElement||document.documentElement).scrollTop,g=h>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=h;for(const w of t){if(!w.isIntersecting){this._activeTarget=null,this._clearActiveClass(e(w));continue}const E=w.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(g&&E){if(l(w),!h)return}else g||E||l(w)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const t=k.find(_n,this._config.target);for(const e of t){if(!e.hash||s(e))continue;const l=k.findOne(decodeURI(e.hash),this._element);d(l)&&(this._targetLinks.set(decodeURI(e.hash),e),this._observableSections.set(e.hash,l))}}_process(t){this._activeTarget!==t&&(this._clearActiveClass(this._config.target),this._activeTarget=t,t.classList.add(ie),this._activateParents(t),A.trigger(this._element,Qr,{relatedTarget:t}))}_activateParents(t){if(t.classList.contains("dropdown-item"))k.findOne(".dropdown-toggle",t.closest(".dropdown")).classList.add(ie);else for(const e of k.parents(t,".nav, .list-group"))for(const l of k.prev(e,Zr))l.classList.add(ie)}_clearActiveClass(t){t.classList.remove(ie);const e=k.find(`${_n}.${ie}`,t);for(const l of e)l.classList.remove(ie)}static jQueryInterface(t){return this.each(function(){const e=pe.getOrCreateInstance(this,t);if(typeof t=="string"){if(e[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);e[t]()}})}}A.on(window,Jr,()=>{for(const r of k.find('[data-bs-spy="scroll"]'))pe.getOrCreateInstance(r)}),O(pe);const Bt=".bs.tab",ns=`hide${Bt}`,is=`hidden${Bt}`,os=`show${Bt}`,rs=`shown${Bt}`,ss=`click${Bt}`,as=`keydown${Bt}`,ls=`load${Bt}`,cs="ArrowLeft",Gi="ArrowRight",us="ArrowUp",Xi="ArrowDown",mn="Home",Vi="End",Ht="active",Wi="fade",bn="show",Ui=".dropdown-toggle",vn=`:not(${Ui})`,qi='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',yn=`.nav-link${vn}, .list-group-item${vn}, [role="tab"]${vn}, ${qi}`,fs=`.${Ht}[data-bs-toggle="tab"], .${Ht}[data-bs-toggle="pill"], .${Ht}[data-bs-toggle="list"]`;class Ft extends mt{constructor(t){super(t),this._parent=this._element.closest('.list-group, .nav, [role="tablist"]'),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),A.on(this._element,as,e=>this._keydown(e)))}static get NAME(){return"tab"}show(){const t=this._element;if(this._elemIsActive(t))return;const e=this._getActiveElem(),l=e?A.trigger(e,ns,{relatedTarget:t}):null;A.trigger(t,os,{relatedTarget:e}).defaultPrevented||l&&l.defaultPrevented||(this._deactivate(e,t),this._activate(t,e))}_activate(t,e){t&&(t.classList.add(Ht),this._activate(k.getElementFromSelector(t)),this._queueCallback(()=>{t.getAttribute("role")==="tab"?(t.removeAttribute("tabindex"),t.setAttribute("aria-selected",!0),this._toggleDropDown(t,!0),A.trigger(t,rs,{relatedTarget:e})):t.classList.add(bn)},t,t.classList.contains(Wi)))}_deactivate(t,e){t&&(t.classList.remove(Ht),t.blur(),this._deactivate(k.getElementFromSelector(t)),this._queueCallback(()=>{t.getAttribute("role")==="tab"?(t.setAttribute("aria-selected",!1),t.setAttribute("tabindex","-1"),this._toggleDropDown(t,!1),A.trigger(t,is,{relatedTarget:e})):t.classList.remove(bn)},t,t.classList.contains(Wi)))}_keydown(t){if(![cs,Gi,us,Xi,mn,Vi].includes(t.key))return;t.stopPropagation(),t.preventDefault();const e=this._getChildren().filter(h=>!s(h));let l;if([mn,Vi].includes(t.key))l=e[t.key===mn?0:e.length-1];else{const h=[Gi,Xi].includes(t.key);l=st(e,t.target,h,!0)}l&&(l.focus({preventScroll:!0}),Ft.getOrCreateInstance(l).show())}_getChildren(){return k.find(yn,this._parent)}_getActiveElem(){return this._getChildren().find(t=>this._elemIsActive(t))||null}_setInitialAttributes(t,e){this._setAttributeIfNotExists(t,"role","tablist");for(const l of e)this._setInitialAttributesOnChild(l)}_setInitialAttributesOnChild(t){t=this._getInnerElement(t);const e=this._elemIsActive(t),l=this._getOuterElement(t);t.setAttribute("aria-selected",e),l!==t&&this._setAttributeIfNotExists(l,"role","presentation"),e||t.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(t,"role","tab"),this._setInitialAttributesOnTargetPanel(t)}_setInitialAttributesOnTargetPanel(t){const e=k.getElementFromSelector(t);e&&(this._setAttributeIfNotExists(e,"role","tabpanel"),t.id&&this._setAttributeIfNotExists(e,"aria-labelledby",`${t.id}`))}_toggleDropDown(t,e){const l=this._getOuterElement(t);if(!l.classList.contains("dropdown"))return;const h=(g,w)=>{const E=k.findOne(g,l);E&&E.classList.toggle(w,e)};h(Ui,Ht),h(".dropdown-menu",bn),l.setAttribute("aria-expanded",e)}_setAttributeIfNotExists(t,e,l){t.hasAttribute(e)||t.setAttribute(e,l)}_elemIsActive(t){return t.classList.contains(Ht)}_getInnerElement(t){return t.matches(yn)?t:k.findOne(yn,t)}_getOuterElement(t){return t.closest(".nav-item, .list-group-item")||t}static jQueryInterface(t){return this.each(function(){const e=Ft.getOrCreateInstance(this);if(typeof t=="string"){if(e[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);e[t]()}})}}A.on(document,ss,qi,function(r){["A","AREA"].includes(this.tagName)&&r.preventDefault(),s(this)||Ft.getOrCreateInstance(this).show()}),A.on(window,ls,()=>{for(const r of k.find(fs))Ft.getOrCreateInstance(r)}),O(Ft);const Pt=".bs.toast",ds=`mouseover${Pt}`,hs=`mouseout${Pt}`,ps=`focusin${Pt}`,gs=`focusout${Pt}`,_s=`hide${Pt}`,ms=`hidden${Pt}`,bs=`show${Pt}`,vs=`shown${Pt}`,Yi="hide",Me="show",Ie="showing",ys={animation:"boolean",autohide:"boolean",delay:"number"},ws={animation:!0,autohide:!0,delay:5e3};class ge extends mt{constructor(t,e){super(t,e),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return ws}static get DefaultType(){return ys}static get NAME(){return"toast"}show(){A.trigger(this._element,bs).defaultPrevented||(this._clearTimeout(),this._config.animation&&this._element.classList.add("fade"),this._element.classList.remove(Yi),o(this._element),this._element.classList.add(Me,Ie),this._queueCallback(()=>{this._element.classList.remove(Ie),A.trigger(this._element,vs),this._maybeScheduleHide()},this._element,this._config.animation))}hide(){this.isShown()&&(A.trigger(this._element,_s).defaultPrevented||(this._element.classList.add(Ie),this._queueCallback(()=>{this._element.classList.add(Yi),this._element.classList.remove(Ie,Me),A.trigger(this._element,ms)},this._element,this._config.animation)))}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(Me),super.dispose()}isShown(){return this._element.classList.contains(Me)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay)))}_onInteraction(t,e){switch(t.type){case"mouseover":case"mouseout":this._hasMouseInteraction=e;break;case"focusin":case"focusout":this._hasKeyboardInteraction=e}if(e)return void this._clearTimeout();const l=t.relatedTarget;this._element===l||this._element.contains(l)||this._maybeScheduleHide()}_setListeners(){A.on(this._element,ds,t=>this._onInteraction(t,!0)),A.on(this._element,hs,t=>this._onInteraction(t,!1)),A.on(this._element,ps,t=>this._onInteraction(t,!0)),A.on(this._element,gs,t=>this._onInteraction(t,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(t){return this.each(function(){const e=ge.getOrCreateInstance(this,t);if(typeof t=="string"){if(e[t]===void 0)throw new TypeError(`No method named "${t}"`);e[t](this)}})}}return me(ge),O(ge),{Alert:se,Button:ae,Carousel:Wt,Collapse:qt,Dropdown:bt,Modal:Rt,Offcanvas:Tt,Popover:Le,ScrollSpy:pe,Tab:Ft,Toast:ge,Tooltip:Nt}});/*! JsBarcode v3.12.1 | (c) Johan Lindell | MIT license */(function(S){var c={};function _(u){if(c[u])return c[u].exports;var v=c[u]={i:u,l:!1,exports:{}};return S[u].call(v.exports,v,v.exports,_),v.l=!0,v.exports}_.m=S,_.c=c,_.d=function(u,v,b){_.o(u,v)||Object.defineProperty(u,v,{enumerable:!0,get:b})},_.r=function(u){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(u,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(u,"__esModule",{value:!0})},_.t=function(u,v){if(1&v&&(u=_(u)),8&v||4&v&&typeof u=="object"&&u&&u.__esModule)return u;var b=Object.create(null);if(_.r(b),Object.defineProperty(b,"default",{enumerable:!0,value:u}),2&v&&typeof u!="string")for(var m in u)_.d(b,m,(function(p){return u[p]}).bind(null,m));return b},_.n=function(u){var v=u&&u.__esModule?function(){return u.default}:function(){return u};return _.d(v,"a",v),v},_.o=function(u,v){return Object.prototype.hasOwnProperty.call(u,v)},_.p="",_(_.s=16)})([function(S,c,_){"use strict";Object.defineProperty(c,"__esModule",{value:!0}),c.default=function u(v,b){(function(m,p){if(!(m instanceof p))throw new TypeError("Cannot call a class as a function")})(this,u),this.data=v,this.text=b.text||v,this.options=b}},function(S,c,_){"use strict";var u;function v(n,o,a){return o in n?Object.defineProperty(n,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[o]=a,n}Object.defineProperty(c,"__esModule",{value:!0});var b=c.SET_A=0,m=c.SET_B=1,p=c.SET_C=2,d=(c.SHIFT=98,c.START_A=103),s=c.START_B=104,i=c.START_C=105;c.MODULO=103,c.STOP=106,c.FNC1=207,c.SET_BY_CODE=(v(u={},d,b),v(u,s,m),v(u,i,p),u),c.SWAP={101:b,100:m,99:p},c.A_START_CHAR="\xD0",c.B_START_CHAR="\xD1",c.C_START_CHAR="\xD2",c.A_CHARS="[\0-_\xC8-\xCF]",c.B_CHARS="[ -\x7F\xC8-\xCF]",c.C_CHARS="(\xCF*[0-9]{2}\xCF*)",c.BARS=[11011001100,11001101100,11001100110,10010011e3,10010001100,10001001100,10011001e3,10011000100,10001100100,11001001e3,11001000100,11000100100,10110011100,10011011100,10011001110,10111001100,10011101100,10011100110,11001110010,11001011100,11001001110,11011100100,11001110100,11101101110,11101001100,11100101100,11100100110,11101100100,11100110100,11100110010,11011011e3,11011000110,11000110110,10100011e3,10001011e3,10001000110,10110001e3,10001101e3,10001100010,11010001e3,11000101e3,11000100010,10110111e3,10110001110,10001101110,10111011e3,10111000110,10001110110,11101110110,11010001110,11000101110,11011101e3,11011100010,11011101110,11101011e3,11101000110,11100010110,11101101e3,11101100010,11100011010,11101111010,11001000010,11110001010,1010011e4,10100001100,1001011e4,10010000110,10000101100,10000100110,1011001e4,10110000100,1001101e4,10011000010,10000110100,10000110010,11000010010,1100101e4,11110111010,11000010100,10001111010,10100111100,10010111100,10010011110,10111100100,10011110100,10011110010,11110100100,11110010100,11110010010,11011011110,11011110110,11110110110,10101111e3,10100011110,10001011110,10111101e3,10111100010,11110101e3,11110100010,10111011110,10111101110,11101011110,11110101110,11010000100,1101001e4,11010011100,1100011101011]},function(S,c,_){"use strict";Object.defineProperty(c,"__esModule",{value:!0}),c.SIDE_BIN="101",c.MIDDLE_BIN="01010",c.BINARIES={L:["0001101","0011001","0010011","0111101","0100011","0110001","0101111","0111011","0110111","0001011"],G:["0100111","0110011","0011011","0100001","0011101","0111001","0000101","0010001","0001001","0010111"],R:["1110010","1100110","1101100","1000010","1011100","1001110","1010000","1000100","1001000","1110100"],O:["0001101","0011001","0010011","0111101","0100011","0110001","0101111","0111011","0110111","0001011"],E:["0100111","0110011","0011011","0100001","0011101","0111001","0000101","0010001","0001001","0010111"]},c.EAN2_STRUCTURE=["LL","LG","GL","GG"],c.EAN5_STRUCTURE=["GGLLL","GLGLL","GLLGL","GLLLG","LGGLL","LLGGL","LLLGG","LGLGL","LGLLG","LLGLG"],c.EAN13_STRUCTURE=["LLLLLL","LLGLGG","LLGGLG","LLGGGL","LGLLGG","LGGLLG","LGGGLL","LGLGLG","LGLGGL","LGGLGL"]},function(S,c,_){"use strict";Object.defineProperty(c,"__esModule",{value:!0});var u=_(2);c.default=function(v,b,m){var p=v.split("").map((function(s,i){return u.BINARIES[b[i]]})).map((function(s,i){return s?s[v[i]]:""}));if(m){var d=v.length-1;p=p.map((function(s,i){return i<d?s+m:s}))}return p.join("")}},function(S,c,_){"use strict";Object.defineProperty(c,"__esModule",{value:!0});var u,v=(function(){function d(s,i){for(var n=0;n<i.length;n++){var o=i[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(s,o.key,o)}}return function(s,i,n){return i&&d(s.prototype,i),n&&d(s,n),s}})(),b=_(0),m=(function(d){function s(i,n){return(function(o,a){if(!(o instanceof a))throw new TypeError("Cannot call a class as a function")})(this,s),(function(o,a){if(!o)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!a||typeof a!="object"&&typeof a!="function"?o:a})(this,(s.__proto__||Object.getPrototypeOf(s)).call(this,i,n))}return(function(i,n){if(typeof n!="function"&&n!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof n);i.prototype=Object.create(n&&n.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),n&&(Object.setPrototypeOf?Object.setPrototypeOf(i,n):i.__proto__=n)})(s,d),v(s,[{key:"encode",value:function(){for(var i="110",n=0;n<this.data.length;n++){var o=parseInt(this.data[n]).toString(2);o=p(o,4-o.length);for(var a=0;a<o.length;a++)i+=o[a]=="0"?"100":"110"}return{data:i+="1001",text:this.text}}},{key:"valid",value:function(){return this.data.search(/^[0-9]+$/)!==-1}}]),s})(((u=b)&&u.__esModule?u:{default:u}).default);function p(d,s){for(var i=0;i<s;i++)d="0"+d;return d}c.default=m},function(S,c,_){"use strict";Object.defineProperty(c,"__esModule",{value:!0});var u,v=(function(){function s(i,n){for(var o=0;o<n.length;o++){var a=n[o];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(i,a.key,a)}}return function(i,n,o){return n&&s(i.prototype,n),o&&s(i,o),i}})(),b=_(0),m=(u=b)&&u.__esModule?u:{default:u},p=_(1),d=(function(s){function i(n,o){(function(f,y){if(!(f instanceof y))throw new TypeError("Cannot call a class as a function")})(this,i);var a=(function(f,y){if(!f)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!y||typeof y!="object"&&typeof y!="function"?f:y})(this,(i.__proto__||Object.getPrototypeOf(i)).call(this,n.substring(1),o));return a.bytes=n.split("").map((function(f){return f.charCodeAt(0)})),a}return(function(n,o){if(typeof o!="function"&&o!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof o);n.prototype=Object.create(o&&o.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),o&&(Object.setPrototypeOf?Object.setPrototypeOf(n,o):n.__proto__=o)})(i,s),v(i,[{key:"valid",value:function(){return/^[\x00-\x7F\xC8-\xD3]+$/.test(this.data)}},{key:"encode",value:function(){var n=this.bytes,o=n.shift()-105,a=p.SET_BY_CODE[o];if(a===void 0)throw new RangeError("The encoding does not start with a start character.");this.shouldEncodeAsEan128()===!0&&n.unshift(p.FNC1);var f=i.next(n,1,a);return{text:this.text===this.data?this.text.replace(/[^\x20-\x7E]/g,""):this.text,data:i.getBar(o)+f.result+i.getBar((f.checksum+o)%p.MODULO)+i.getBar(p.STOP)}}},{key:"shouldEncodeAsEan128",value:function(){var n=this.options.ean128||!1;return typeof n=="string"&&(n=n.toLowerCase()==="true"),n}}],[{key:"getBar",value:function(n){return p.BARS[n]?p.BARS[n].toString():""}},{key:"correctIndex",value:function(n,o){if(o===p.SET_A){var a=n.shift();return a<32?a+64:a-32}return o===p.SET_B?n.shift()-32:10*(n.shift()-48)+n.shift()-48}},{key:"next",value:function(n,o,a){if(!n.length)return{result:"",checksum:0};var f=void 0,y=void 0;if(n[0]>=200){y=n.shift()-105;var O=p.SWAP[y];O!==void 0?f=i.next(n,o+1,O):(a!==p.SET_A&&a!==p.SET_B||y!==p.SHIFT||(n[0]=a===p.SET_A?n[0]>95?n[0]-96:n[0]:n[0]<32?n[0]+96:n[0]),f=i.next(n,o+1,a))}else y=i.correctIndex(n,a),f=i.next(n,o+1,a);var x=y*o;return{result:i.getBar(y)+f.result,checksum:x+f.checksum}}}]),i})(m.default);c.default=d},function(S,c,_){"use strict";Object.defineProperty(c,"__esModule",{value:!0}),c.mod10=function(u){for(var v=0,b=0;b<u.length;b++){var m=parseInt(u[b]);(b+u.length)%2==0?v+=m:v+=2*m%10+Math.floor(2*m/10)}return(10-v%10)%10},c.mod11=function(u){for(var v=0,b=[2,3,4,5,6,7],m=0;m<u.length;m++){var p=parseInt(u[u.length-1-m]);v+=b[m%b.length]*p}return(11-v%11)%11}},function(S,c,_){"use strict";Object.defineProperty(c,"__esModule",{value:!0});var u=Object.assign||function(v){for(var b=1;b<arguments.length;b++){var m=arguments[b];for(var p in m)Object.prototype.hasOwnProperty.call(m,p)&&(v[p]=m[p])}return v};c.default=function(v,b){return u({},v,b)}},function(S,c,_){"use strict";Object.defineProperty(c,"__esModule",{value:!0});var u=(function(){function d(s,i){for(var n=0;n<i.length;n++){var o=i[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(s,o.key,o)}}return function(s,i,n){return i&&d(s.prototype,i),n&&d(s,n),s}})(),v=_(2),b=m(_(3));function m(d){return d&&d.__esModule?d:{default:d}}var p=(function(d){function s(i,n){(function(a,f){if(!(a instanceof f))throw new TypeError("Cannot call a class as a function")})(this,s);var o=(function(a,f){if(!a)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!f||typeof f!="object"&&typeof f!="function"?a:f})(this,(s.__proto__||Object.getPrototypeOf(s)).call(this,i,n));return o.fontSize=!n.flat&&n.fontSize>10*n.width?10*n.width:n.fontSize,o.guardHeight=n.height+o.fontSize/2+n.textMargin,o}return(function(i,n){if(typeof n!="function"&&n!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof n);i.prototype=Object.create(n&&n.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),n&&(Object.setPrototypeOf?Object.setPrototypeOf(i,n):i.__proto__=n)})(s,d),u(s,[{key:"encode",value:function(){return this.options.flat?this.encodeFlat():this.encodeGuarded()}},{key:"leftText",value:function(i,n){return this.text.substr(i,n)}},{key:"leftEncode",value:function(i,n){return(0,b.default)(i,n)}},{key:"rightText",value:function(i,n){return this.text.substr(i,n)}},{key:"rightEncode",value:function(i,n){return(0,b.default)(i,n)}},{key:"encodeGuarded",value:function(){var i={fontSize:this.fontSize},n={height:this.guardHeight};return[{data:v.SIDE_BIN,options:n},{data:this.leftEncode(),text:this.leftText(),options:i},{data:v.MIDDLE_BIN,options:n},{data:this.rightEncode(),text:this.rightText(),options:i},{data:v.SIDE_BIN,options:n}]}},{key:"encodeFlat",value:function(){return{data:[v.SIDE_BIN,this.leftEncode(),v.MIDDLE_BIN,this.rightEncode(),v.SIDE_BIN].join(""),text:this.text}}}]),s})(m(_(0)).default);c.default=p},function(S,c,_){"use strict";Object.defineProperty(c,"__esModule",{value:!0});var u=(function(){function d(s,i){for(var n=0;n<i.length;n++){var o=i[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(s,o.key,o)}}return function(s,i,n){return i&&d(s.prototype,i),n&&d(s,n),s}})();c.checksum=p;var v=b(_(3));function b(d){return d&&d.__esModule?d:{default:d}}var m=(function(d){function s(i,n){(function(a,f){if(!(a instanceof f))throw new TypeError("Cannot call a class as a function")})(this,s),i.search(/^[0-9]{11}$/)!==-1&&(i+=p(i));var o=(function(a,f){if(!a)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!f||typeof f!="object"&&typeof f!="function"?a:f})(this,(s.__proto__||Object.getPrototypeOf(s)).call(this,i,n));return o.displayValue=n.displayValue,n.fontSize>10*n.width?o.fontSize=10*n.width:o.fontSize=n.fontSize,o.guardHeight=n.height+o.fontSize/2+n.textMargin,o}return(function(i,n){if(typeof n!="function"&&n!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof n);i.prototype=Object.create(n&&n.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),n&&(Object.setPrototypeOf?Object.setPrototypeOf(i,n):i.__proto__=n)})(s,d),u(s,[{key:"valid",value:function(){return this.data.search(/^[0-9]{12}$/)!==-1&&this.data[11]==p(this.data)}},{key:"encode",value:function(){return this.options.flat?this.flatEncoding():this.guardedEncoding()}},{key:"flatEncoding",value:function(){var i="";return i+="101",i+=(0,v.default)(this.data.substr(0,6),"LLLLLL"),i+="01010",i+=(0,v.default)(this.data.substr(6,6),"RRRRRR"),{data:i+="101",text:this.text}}},{key:"guardedEncoding",value:function(){var i=[];return this.displayValue&&i.push({data:"00000000",text:this.text.substr(0,1),options:{textAlign:"left",fontSize:this.fontSize}}),i.push({data:"101"+(0,v.default)(this.data[0],"L"),options:{height:this.guardHeight}}),i.push({data:(0,v.default)(this.data.substr(1,5),"LLLLL"),text:this.text.substr(1,5),options:{fontSize:this.fontSize}}),i.push({data:"01010",options:{height:this.guardHeight}}),i.push({data:(0,v.default)(this.data.substr(6,5),"RRRRR"),text:this.text.substr(6,5),options:{fontSize:this.fontSize}}),i.push({data:(0,v.default)(this.data[11],"R")+"101",options:{height:this.guardHeight}}),this.displayValue&&i.push({data:"00000000",text:this.text.substr(11,1),options:{textAlign:"right",fontSize:this.fontSize}}),i}}]),s})(b(_(0)).default);function p(d){var s,i=0;for(s=1;s<11;s+=2)i+=parseInt(d[s]);for(s=0;s<11;s+=2)i+=3*parseInt(d[s]);return(10-i%10)%10}c.default=m},function(S,c,_){"use strict";Object.defineProperty(c,"__esModule",{value:!0});var u,v=(function(){function i(n,o){for(var a=0;a<o.length;a++){var f=o[a];f.enumerable=f.enumerable||!1,f.configurable=!0,"value"in f&&(f.writable=!0),Object.defineProperty(n,f.key,f)}}return function(n,o,a){return o&&i(n.prototype,o),a&&i(n,a),n}})(),b=_(32),m=_(0);function p(i,n){if(!(i instanceof n))throw new TypeError("Cannot call a class as a function")}function d(i,n){if(!i)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!n||typeof n!="object"&&typeof n!="function"?i:n}var s=(function(i){function n(){return p(this,n),d(this,(n.__proto__||Object.getPrototypeOf(n)).apply(this,arguments))}return(function(o,a){if(typeof a!="function"&&a!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof a);o.prototype=Object.create(a&&a.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),a&&(Object.setPrototypeOf?Object.setPrototypeOf(o,a):o.__proto__=a)})(n,i),v(n,[{key:"valid",value:function(){return this.data.search(/^([0-9]{2})+$/)!==-1}},{key:"encode",value:function(){var o=this,a=this.data.match(/.{2}/g).map((function(f){return o.encodePair(f)})).join("");return{data:b.START_BIN+a+b.END_BIN,text:this.text}}},{key:"encodePair",value:function(o){var a=b.BINARIES[o[1]];return b.BINARIES[o[0]].split("").map((function(f,y){return(f==="1"?"111":"1")+(a[y]==="1"?"000":"0")})).join("")}}]),n})(((u=m)&&u.__esModule?u:{default:u}).default);c.default=s},function(S,c,_){"use strict";Object.defineProperty(c,"__esModule",{value:!0});var u,v=(function(){function d(s,i){for(var n=0;n<i.length;n++){var o=i[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(s,o.key,o)}}return function(s,i,n){return i&&d(s.prototype,i),n&&d(s,n),s}})(),b=_(42),m=_(0),p=(function(d){function s(i,n){return(function(o,a){if(!(o instanceof a))throw new TypeError("Cannot call a class as a function")})(this,s),(function(o,a){if(!o)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!a||typeof a!="object"&&typeof a!="function"?o:a})(this,(s.__proto__||Object.getPrototypeOf(s)).call(this,i,n))}return(function(i,n){if(typeof n!="function"&&n!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof n);i.prototype=Object.create(n&&n.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),n&&(Object.setPrototypeOf?Object.setPrototypeOf(i,n):i.__proto__=n)})(s,d),v(s,[{key:"valid",value:function(){return/^[0-9A-Z\-. $/+%]+$/.test(this.data)}},{key:"encode",value:function(){var i=this.data.split("").flatMap((function(f){return b.MULTI_SYMBOLS[f]||f})),n=i.map((function(f){return s.getEncoding(f)})).join(""),o=s.checksum(i,20),a=s.checksum(i.concat(o),15);return{text:this.text,data:s.getEncoding("\xFF")+n+s.getEncoding(o)+s.getEncoding(a)+s.getEncoding("\xFF")+"1"}}}],[{key:"getEncoding",value:function(i){return b.BINARIES[s.symbolValue(i)]}},{key:"getSymbol",value:function(i){return b.SYMBOLS[i]}},{key:"symbolValue",value:function(i){return b.SYMBOLS.indexOf(i)}},{key:"checksum",value:function(i,n){var o=i.slice().reverse().reduce((function(a,f,y){var O=y%n+1;return a+s.symbolValue(f)*O}),0);return s.getSymbol(o%47)}}]),s})(((u=m)&&u.__esModule?u:{default:u}).default);c.default=p},function(S,c,_){"use strict";Object.defineProperty(c,"__esModule",{value:!0}),c.default=function(u){var v=["width","height","textMargin","fontSize","margin","marginTop","marginBottom","marginLeft","marginRight"];for(var b in v)v.hasOwnProperty(b)&&(b=v[b],typeof u[b]=="string"&&(u[b]=parseInt(u[b],10)));return typeof u.displayValue=="string"&&(u.displayValue=u.displayValue!="false"),u}},function(S,c,_){"use strict";Object.defineProperty(c,"__esModule",{value:!0});var u={width:2,height:100,format:"auto",displayValue:!0,fontOptions:"",font:"monospace",text:void 0,textAlign:"center",textPosition:"bottom",textMargin:2,fontSize:20,background:"#ffffff",lineColor:"#000000",margin:10,marginTop:void 0,marginBottom:void 0,marginLeft:void 0,marginRight:void 0,valid:function(){}};c.default=u},function(S,c,_){"use strict";Object.defineProperty(c,"__esModule",{value:!0}),c.getTotalWidthOfEncodings=c.calculateEncodingAttributes=c.getBarcodePadding=c.getEncodingHeight=c.getMaximumHeightOfEncodings=void 0;var u,v=_(7),b=(u=v)&&u.__esModule?u:{default:u};function m(s,i){return i.height+(i.displayValue&&s.text.length>0?i.fontSize+i.textMargin:0)+i.marginTop+i.marginBottom}function p(s,i,n){if(n.displayValue&&i<s){if(n.textAlign=="center")return Math.floor((s-i)/2);if(n.textAlign=="left")return 0;if(n.textAlign=="right")return Math.floor(s-i)}return 0}function d(s,i,n){var o;if(n)o=n;else{if(typeof document>"u")return 0;o=document.createElement("canvas").getContext("2d")}o.font=i.fontOptions+" "+i.fontSize+"px "+i.font;var a=o.measureText(s);return a?a.width:0}c.getMaximumHeightOfEncodings=function(s){for(var i=0,n=0;n<s.length;n++)s[n].height>i&&(i=s[n].height);return i},c.getEncodingHeight=m,c.getBarcodePadding=p,c.calculateEncodingAttributes=function(s,i,n){for(var o=0;o<s.length;o++){var a,f=s[o],y=(0,b.default)(i,f.options);a=y.displayValue?d(f.text,y,n):0;var O=f.data.length*y.width;f.width=Math.ceil(Math.max(a,O)),f.height=m(f,y),f.barcodePadding=p(a,O,y)}},c.getTotalWidthOfEncodings=function(s){for(var i=0,n=0;n<s.length;n++)i+=s[n].width;return i}},function(S,c,_){"use strict";function u(s,i){if(!(s instanceof i))throw new TypeError("Cannot call a class as a function")}function v(s,i){if(!s)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!i||typeof i!="object"&&typeof i!="function"?s:i}function b(s,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof i);s.prototype=Object.create(i&&i.prototype,{constructor:{value:s,enumerable:!1,writable:!0,configurable:!0}}),i&&(Object.setPrototypeOf?Object.setPrototypeOf(s,i):s.__proto__=i)}Object.defineProperty(c,"__esModule",{value:!0});var m=(function(s){function i(n,o){u(this,i);var a=v(this,(i.__proto__||Object.getPrototypeOf(i)).call(this));return a.name="InvalidInputException",a.symbology=n,a.input=o,a.message='"'+a.input+'" is not a valid input for '+a.symbology,a}return b(i,Error),i})(),p=(function(s){function i(){u(this,i);var n=v(this,(i.__proto__||Object.getPrototypeOf(i)).call(this));return n.name="InvalidElementException",n.message="Not supported type to render on",n}return b(i,Error),i})(),d=(function(s){function i(){u(this,i);var n=v(this,(i.__proto__||Object.getPrototypeOf(i)).call(this));return n.name="NoElementException",n.message="No element to render on.",n}return b(i,Error),i})();c.InvalidInputException=m,c.InvalidElementException=p,c.NoElementException=d},function(S,c,_){"use strict";var u=o(_(17)),v=o(_(7)),b=o(_(45)),m=o(_(46)),p=o(_(47)),d=o(_(12)),s=o(_(53)),i=_(15),n=o(_(13));function o(N){return N&&N.__esModule?N:{default:N}}var a=function(){},f=function(N,K,U){var X=new a;if(N===void 0)throw Error("No element to render on was provided.");return X._renderProperties=(0,p.default)(N),X._encodings=[],X._options=n.default,X._errorHandler=new s.default(X),K!==void 0&&((U=U||{}).format||(U.format=ot()),X.options(U)[U.format](K,U).render()),X};for(var y in f.getModule=function(N){return u.default[N]},u.default)u.default.hasOwnProperty(y)&&O(u.default,y);function O(N,K){a.prototype[K]=a.prototype[K.toUpperCase()]=a.prototype[K.toLowerCase()]=function(U,X){var rt=this;return rt._errorHandler.wrapBarcodeCall((function(){X.text=X.text===void 0?void 0:""+X.text;var _t=(0,v.default)(rt._options,X);_t=(0,d.default)(_t);var Ne=N[K],_e=x(U,Ne,_t);return rt._encodings.push(_e),rt}))}}function x(N,K,U){var X=new K(N=""+N,U);if(!X.valid())throw new i.InvalidInputException(X.constructor.name,N);var rt=X.encode();rt=(0,b.default)(rt);for(var _t=0;_t<rt.length;_t++)rt[_t].options=(0,v.default)(U,rt[_t].options);return rt}function ot(){return u.default.CODE128?"CODE128":Object.keys(u.default)[0]}function st(N,K,U){K=(0,b.default)(K);for(var X=0;X<K.length;X++)K[X].options=(0,v.default)(U,K[X].options),(0,m.default)(K[X].options);(0,m.default)(U),new N.renderer(N.element,K,U).render(),N.afterRender&&N.afterRender()}a.prototype.options=function(N){return this._options=(0,v.default)(this._options,N),this},a.prototype.blank=function(N){var K=new Array(N+1).join("0");return this._encodings.push({data:K}),this},a.prototype.init=function(){var N;if(this._renderProperties)for(var K in Array.isArray(this._renderProperties)||(this._renderProperties=[this._renderProperties]),this._renderProperties){N=this._renderProperties[K];var U=(0,v.default)(this._options,N.options);U.format=="auto"&&(U.format=ot()),this._errorHandler.wrapBarcodeCall((function(){var X=x(U.value,u.default[U.format.toUpperCase()],U);st(N,X,U)}))}},a.prototype.render=function(){if(!this._renderProperties)throw new i.NoElementException;if(Array.isArray(this._renderProperties))for(var N=0;N<this._renderProperties.length;N++)st(this._renderProperties[N],this._encodings,this._options);else st(this._renderProperties,this._encodings,this._options);return this},a.prototype._defaults=n.default,typeof window<"u"&&(window.JsBarcode=f),typeof jQuery<"u"&&(jQuery.fn.JsBarcode=function(N,K){var U=[];return jQuery(this).each((function(){U.push(this)})),f(U,N,K)}),S.exports=f},function(S,c,_){"use strict";Object.defineProperty(c,"__esModule",{value:!0});var u=_(18),v=_(19),b=_(25),m=_(31),p=_(34),d=_(39),s=_(40),i=_(41),n=_(44);c.default={CODE39:u.CODE39,CODE128:v.CODE128,CODE128A:v.CODE128A,CODE128B:v.CODE128B,CODE128C:v.CODE128C,EAN13:b.EAN13,EAN8:b.EAN8,EAN5:b.EAN5,EAN2:b.EAN2,UPC:b.UPC,UPCE:b.UPCE,ITF14:m.ITF14,ITF:m.ITF,MSI:p.MSI,MSI10:p.MSI10,MSI11:p.MSI11,MSI1010:p.MSI1010,MSI1110:p.MSI1110,pharmacode:d.pharmacode,codabar:s.codabar,CODE93:i.CODE93,CODE93FullASCII:i.CODE93FullASCII,GenericBarcode:n.GenericBarcode}},function(S,c,_){"use strict";Object.defineProperty(c,"__esModule",{value:!0}),c.CODE39=void 0;var u,v=(function(){function n(o,a){for(var f=0;f<a.length;f++){var y=a[f];y.enumerable=y.enumerable||!1,y.configurable=!0,"value"in y&&(y.writable=!0),Object.defineProperty(o,y.key,y)}}return function(o,a,f){return a&&n(o.prototype,a),f&&n(o,f),o}})(),b=_(0),m=(function(n){function o(a,f){return(function(y,O){if(!(y instanceof O))throw new TypeError("Cannot call a class as a function")})(this,o),a=a.toUpperCase(),f.mod43&&(a+=(function(y){return p[y]})((function(y){for(var O=0,x=0;x<y.length;x++)O+=i(y[x]);return O%=43})(a))),(function(y,O){if(!y)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!O||typeof O!="object"&&typeof O!="function"?y:O})(this,(o.__proto__||Object.getPrototypeOf(o)).call(this,a,f))}return(function(a,f){if(typeof f!="function"&&f!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof f);a.prototype=Object.create(f&&f.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),f&&(Object.setPrototypeOf?Object.setPrototypeOf(a,f):a.__proto__=f)})(o,n),v(o,[{key:"encode",value:function(){for(var a=s("*"),f=0;f<this.data.length;f++)a+=s(this.data[f])+"0";return{data:a+=s("*"),text:this.text}}},{key:"valid",value:function(){return this.data.search(/^[0-9A-Z\-\.\ \$\/\+\%]+$/)!==-1}}]),o})(((u=b)&&u.__esModule?u:{default:u}).default),p=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","-","."," ","$","/","+","%","*"],d=[20957,29783,23639,30485,20951,29813,23669,20855,29789,23645,29975,23831,30533,22295,30149,24005,21623,29981,23837,22301,30023,23879,30545,22343,30161,24017,21959,30065,23921,22385,29015,18263,29141,17879,29045,18293,17783,29021,18269,17477,17489,17681,20753,35770];function s(n){return(function(o){return d[o].toString(2)})(i(n))}function i(n){return p.indexOf(n)}c.CODE39=m},function(S,c,_){"use strict";Object.defineProperty(c,"__esModule",{value:!0}),c.CODE128C=c.CODE128B=c.CODE128A=c.CODE128=void 0;var u=p(_(20)),v=p(_(22)),b=p(_(23)),m=p(_(24));function p(d){return d&&d.__esModule?d:{default:d}}c.CODE128=u.default,c.CODE128A=v.default,c.CODE128B=b.default,c.CODE128C=m.default},function(S,c,_){"use strict";Object.defineProperty(c,"__esModule",{value:!0});var u=b(_(5)),v=b(_(21));function b(d){return d&&d.__esModule?d:{default:d}}function m(d,s){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!s||typeof s!="object"&&typeof s!="function"?d:s}var p=(function(d){function s(i,n){if((function(a,f){if(!(a instanceof f))throw new TypeError("Cannot call a class as a function")})(this,s),/^[\x00-\x7F\xC8-\xD3]+$/.test(i))var o=m(this,(s.__proto__||Object.getPrototypeOf(s)).call(this,(0,v.default)(i),n));else o=m(this,(s.__proto__||Object.getPrototypeOf(s)).call(this,i,n));return m(o)}return(function(i,n){if(typeof n!="function"&&n!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof n);i.prototype=Object.create(n&&n.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),n&&(Object.setPrototypeOf?Object.setPrototypeOf(i,n):i.__proto__=n)})(s,d),s})(u.default);c.default=p},function(S,c,_){"use strict";Object.defineProperty(c,"__esModule",{value:!0});var u=_(1),v=function(s){return s.match(new RegExp("^"+u.A_CHARS+"*"))[0].length},b=function(s){return s.match(new RegExp("^"+u.B_CHARS+"*"))[0].length},m=function(s){return s.match(new RegExp("^"+u.C_CHARS+"*"))[0]};function p(s,i){var n=i?u.A_CHARS:u.B_CHARS,o=s.match(new RegExp("^("+n+"+?)(([0-9]{2}){2,})([^0-9]|$)"));if(o)return o[1]+"\xCC"+d(s.substring(o[1].length));var a=s.match(new RegExp("^"+n+"+"))[0];return a.length===s.length?s:a+String.fromCharCode(i?205:206)+p(s.substring(a.length),!i)}function d(s){var i=m(s),n=i.length;if(n===s.length)return s;s=s.substring(n);var o=v(s)>=b(s);return i+String.fromCharCode(o?206:205)+p(s,o)}c.default=function(s){var i=void 0;if(m(s).length>=2)i=u.C_START_CHAR+d(s);else{var n=v(s)>b(s);i=(n?u.A_START_CHAR:u.B_START_CHAR)+p(s,n)}return i.replace(/[\xCD\xCE]([^])[\xCD\xCE]/,(function(o,a){return"\xCB"+a}))}},function(S,c,_){"use strict";Object.defineProperty(c,"__esModule",{value:!0});var u,v=(function(){function s(i,n){for(var o=0;o<n.length;o++){var a=n[o];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(i,a.key,a)}}return function(i,n,o){return n&&s(i.prototype,n),o&&s(i,o),i}})(),b=_(5),m=(u=b)&&u.__esModule?u:{default:u},p=_(1),d=(function(s){function i(n,o){return(function(a,f){if(!(a instanceof f))throw new TypeError("Cannot call a class as a function")})(this,i),(function(a,f){if(!a)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!f||typeof f!="object"&&typeof f!="function"?a:f})(this,(i.__proto__||Object.getPrototypeOf(i)).call(this,p.A_START_CHAR+n,o))}return(function(n,o){if(typeof o!="function"&&o!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof o);n.prototype=Object.create(o&&o.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),o&&(Object.setPrototypeOf?Object.setPrototypeOf(n,o):n.__proto__=o)})(i,s),v(i,[{key:"valid",value:function(){return new RegExp("^"+p.A_CHARS+"+$").test(this.data)}}]),i})(m.default);c.default=d},function(S,c,_){"use strict";Object.defineProperty(c,"__esModule",{value:!0});var u,v=(function(){function s(i,n){for(var o=0;o<n.length;o++){var a=n[o];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(i,a.key,a)}}return function(i,n,o){return n&&s(i.prototype,n),o&&s(i,o),i}})(),b=_(5),m=(u=b)&&u.__esModule?u:{default:u},p=_(1),d=(function(s){function i(n,o){return(function(a,f){if(!(a instanceof f))throw new TypeError("Cannot call a class as a function")})(this,i),(function(a,f){if(!a)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!f||typeof f!="object"&&typeof f!="function"?a:f})(this,(i.__proto__||Object.getPrototypeOf(i)).call(this,p.B_START_CHAR+n,o))}return(function(n,o){if(typeof o!="function"&&o!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof o);n.prototype=Object.create(o&&o.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),o&&(Object.setPrototypeOf?Object.setPrototypeOf(n,o):n.__proto__=o)})(i,s),v(i,[{key:"valid",value:function(){return new RegExp("^"+p.B_CHARS+"+$").test(this.data)}}]),i})(m.default);c.default=d},function(S,c,_){"use strict";Object.defineProperty(c,"__esModule",{value:!0});var u,v=(function(){function s(i,n){for(var o=0;o<n.length;o++){var a=n[o];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(i,a.key,a)}}return function(i,n,o){return n&&s(i.prototype,n),o&&s(i,o),i}})(),b=_(5),m=(u=b)&&u.__esModule?u:{default:u},p=_(1),d=(function(s){function i(n,o){return(function(a,f){if(!(a instanceof f))throw new TypeError("Cannot call a class as a function")})(this,i),(function(a,f){if(!a)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!f||typeof f!="object"&&typeof f!="function"?a:f})(this,(i.__proto__||Object.getPrototypeOf(i)).call(this,p.C_START_CHAR+n,o))}return(function(n,o){if(typeof o!="function"&&o!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof o);n.prototype=Object.create(o&&o.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),o&&(Object.setPrototypeOf?Object.setPrototypeOf(n,o):n.__proto__=o)})(i,s),v(i,[{key:"valid",value:function(){return new RegExp("^"+p.C_CHARS+"+$").test(this.data)}}]),i})(m.default);c.default=d},function(S,c,_){"use strict";Object.defineProperty(c,"__esModule",{value:!0}),c.UPCE=c.UPC=c.EAN2=c.EAN5=c.EAN8=c.EAN13=void 0;var u=s(_(26)),v=s(_(27)),b=s(_(28)),m=s(_(29)),p=s(_(9)),d=s(_(30));function s(i){return i&&i.__esModule?i:{default:i}}c.EAN13=u.default,c.EAN8=v.default,c.EAN5=b.default,c.EAN2=m.default,c.UPC=p.default,c.UPCE=d.default},function(S,c,_){"use strict";Object.defineProperty(c,"__esModule",{value:!0});var u,v=(function(){function n(o,a){for(var f=0;f<a.length;f++){var y=a[f];y.enumerable=y.enumerable||!1,y.configurable=!0,"value"in y&&(y.writable=!0),Object.defineProperty(o,y.key,y)}}return function(o,a,f){return a&&n(o.prototype,a),f&&n(o,f),o}})(),b=function n(o,a,f){o===null&&(o=Function.prototype);var y=Object.getOwnPropertyDescriptor(o,a);if(y===void 0){var O=Object.getPrototypeOf(o);return O===null?void 0:n(O,a,f)}if("value"in y)return y.value;var x=y.get;return x!==void 0?x.call(f):void 0},m=_(2),p=_(8),d=(u=p)&&u.__esModule?u:{default:u},s=function(n){return(10-n.substr(0,12).split("").map((function(o){return+o})).reduce((function(o,a,f){return f%2?o+3*a:o+a}),0)%10)%10},i=(function(n){function o(a,f){(function(O,x){if(!(O instanceof x))throw new TypeError("Cannot call a class as a function")})(this,o),a.search(/^[0-9]{12}$/)!==-1&&(a+=s(a));var y=(function(O,x){if(!O)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!x||typeof x!="object"&&typeof x!="function"?O:x})(this,(o.__proto__||Object.getPrototypeOf(o)).call(this,a,f));return y.lastChar=f.lastChar,y}return(function(a,f){if(typeof f!="function"&&f!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof f);a.prototype=Object.create(f&&f.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),f&&(Object.setPrototypeOf?Object.setPrototypeOf(a,f):a.__proto__=f)})(o,n),v(o,[{key:"valid",value:function(){return this.data.search(/^[0-9]{13}$/)!==-1&&+this.data[12]===s(this.data)}},{key:"leftText",value:function(){return b(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),"leftText",this).call(this,1,6)}},{key:"leftEncode",value:function(){var a=this.data.substr(1,6),f=m.EAN13_STRUCTURE[this.data[0]];return b(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),"leftEncode",this).call(this,a,f)}},{key:"rightText",value:function(){return b(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),"rightText",this).call(this,7,6)}},{key:"rightEncode",value:function(){var a=this.data.substr(7,6);return b(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),"rightEncode",this).call(this,a,"RRRRRR")}},{key:"encodeGuarded",value:function(){var a=b(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),"encodeGuarded",this).call(this);return this.options.displayValue&&(a.unshift({data:"000000000000",text:this.text.substr(0,1),options:{textAlign:"left",fontSize:this.fontSize}}),this.options.lastChar&&(a.push({data:"00"}),a.push({data:"00000",text:this.options.lastChar,options:{fontSize:this.fontSize}}))),a}}]),o})(d.default);c.default=i},function(S,c,_){"use strict";Object.defineProperty(c,"__esModule",{value:!0});var u,v=(function(){function i(n,o){for(var a=0;a<o.length;a++){var f=o[a];f.enumerable=f.enumerable||!1,f.configurable=!0,"value"in f&&(f.writable=!0),Object.defineProperty(n,f.key,f)}}return function(n,o,a){return o&&i(n.prototype,o),a&&i(n,a),n}})(),b=function i(n,o,a){n===null&&(n=Function.prototype);var f=Object.getOwnPropertyDescriptor(n,o);if(f===void 0){var y=Object.getPrototypeOf(n);return y===null?void 0:i(y,o,a)}if("value"in f)return f.value;var O=f.get;return O!==void 0?O.call(a):void 0},m=_(8),p=(u=m)&&u.__esModule?u:{default:u},d=function(i){return(10-i.substr(0,7).split("").map((function(n){return+n})).reduce((function(n,o,a){return a%2?n+o:n+3*o}),0)%10)%10},s=(function(i){function n(o,a){return(function(f,y){if(!(f instanceof y))throw new TypeError("Cannot call a class as a function")})(this,n),o.search(/^[0-9]{7}$/)!==-1&&(o+=d(o)),(function(f,y){if(!f)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!y||typeof y!="object"&&typeof y!="function"?f:y})(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,o,a))}return(function(o,a){if(typeof a!="function"&&a!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof a);o.prototype=Object.create(a&&a.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),a&&(Object.setPrototypeOf?Object.setPrototypeOf(o,a):o.__proto__=a)})(n,i),v(n,[{key:"valid",value:function(){return this.data.search(/^[0-9]{8}$/)!==-1&&+this.data[7]===d(this.data)}},{key:"leftText",value:function(){return b(n.prototype.__proto__||Object.getPrototypeOf(n.prototype),"leftText",this).call(this,0,4)}},{key:"leftEncode",value:function(){var o=this.data.substr(0,4);return b(n.prototype.__proto__||Object.getPrototypeOf(n.prototype),"leftEncode",this).call(this,o,"LLLL")}},{key:"rightText",value:function(){return b(n.prototype.__proto__||Object.getPrototypeOf(n.prototype),"rightText",this).call(this,4,4)}},{key:"rightEncode",value:function(){var o=this.data.substr(4,4);return b(n.prototype.__proto__||Object.getPrototypeOf(n.prototype),"rightEncode",this).call(this,o,"RRRR")}}]),n})(p.default);c.default=s},function(S,c,_){"use strict";Object.defineProperty(c,"__esModule",{value:!0});var u=(function(){function s(i,n){for(var o=0;o<n.length;o++){var a=n[o];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(i,a.key,a)}}return function(i,n,o){return n&&s(i.prototype,n),o&&s(i,o),i}})(),v=_(2),b=p(_(3)),m=p(_(0));function p(s){return s&&s.__esModule?s:{default:s}}var d=(function(s){function i(n,o){return(function(a,f){if(!(a instanceof f))throw new TypeError("Cannot call a class as a function")})(this,i),(function(a,f){if(!a)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!f||typeof f!="object"&&typeof f!="function"?a:f})(this,(i.__proto__||Object.getPrototypeOf(i)).call(this,n,o))}return(function(n,o){if(typeof o!="function"&&o!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof o);n.prototype=Object.create(o&&o.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),o&&(Object.setPrototypeOf?Object.setPrototypeOf(n,o):n.__proto__=o)})(i,s),u(i,[{key:"valid",value:function(){return this.data.search(/^[0-9]{5}$/)!==-1}},{key:"encode",value:function(){var n,o=v.EAN5_STRUCTURE[n=this.data,n.split("").map((function(a){return+a})).reduce((function(a,f,y){return y%2?a+9*f:a+3*f}),0)%10];return{data:"1011"+(0,b.default)(this.data,o,"01"),text:this.text}}}]),i})(m.default);c.default=d},function(S,c,_){"use strict";Object.defineProperty(c,"__esModule",{value:!0});var u=(function(){function d(s,i){for(var n=0;n<i.length;n++){var o=i[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(s,o.key,o)}}return function(s,i,n){return i&&d(s.prototype,i),n&&d(s,n),s}})(),v=_(2),b=m(_(3));function m(d){return d&&d.__esModule?d:{default:d}}var p=(function(d){function s(i,n){return(function(o,a){if(!(o instanceof a))throw new TypeError("Cannot call a class as a function")})(this,s),(function(o,a){if(!o)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!a||typeof a!="object"&&typeof a!="function"?o:a})(this,(s.__proto__||Object.getPrototypeOf(s)).call(this,i,n))}return(function(i,n){if(typeof n!="function"&&n!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof n);i.prototype=Object.create(n&&n.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),n&&(Object.setPrototypeOf?Object.setPrototypeOf(i,n):i.__proto__=n)})(s,d),u(s,[{key:"valid",value:function(){return this.data.search(/^[0-9]{2}$/)!==-1}},{key:"encode",value:function(){var i=v.EAN2_STRUCTURE[parseInt(this.data)%4];return{data:"1011"+(0,b.default)(this.data,i,"01"),text:this.text}}}]),s})(m(_(0)).default);c.default=p},function(S,c,_){"use strict";Object.defineProperty(c,"__esModule",{value:!0});var u=(function(){function a(f,y){for(var O=0;O<y.length;O++){var x=y[O];x.enumerable=x.enumerable||!1,x.configurable=!0,"value"in x&&(x.writable=!0),Object.defineProperty(f,x.key,x)}}return function(f,y,O){return y&&a(f.prototype,y),O&&a(f,O),f}})(),v=p(_(3)),b=p(_(0)),m=_(9);function p(a){return a&&a.__esModule?a:{default:a}}function d(a,f){if(!a)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!f||typeof f!="object"&&typeof f!="function"?a:f}var s=["XX00000XXX","XX10000XXX","XX20000XXX","XXX00000XX","XXXX00000X","XXXXX00005","XXXXX00006","XXXXX00007","XXXXX00008","XXXXX00009"],i=[["EEEOOO","OOOEEE"],["EEOEOO","OOEOEE"],["EEOOEO","OOEEOE"],["EEOOOE","OOEEEO"],["EOEEOO","OEOOEE"],["EOOEEO","OEEOOE"],["EOOOEE","OEEEOO"],["EOEOEO","OEOEOE"],["EOEOOE","OEOEEO"],["EOOEOE","OEEOEO"]],n=(function(a){function f(y,O){(function(ot,st){if(!(ot instanceof st))throw new TypeError("Cannot call a class as a function")})(this,f);var x=d(this,(f.__proto__||Object.getPrototypeOf(f)).call(this,y,O));if(x.isValid=!1,y.search(/^[0-9]{6}$/)!==-1)x.middleDigits=y,x.upcA=o(y,"0"),x.text=O.text||""+x.upcA[0]+y+x.upcA[x.upcA.length-1],x.isValid=!0;else{if(y.search(/^[01][0-9]{7}$/)===-1||(x.middleDigits=y.substring(1,y.length-1),x.upcA=o(x.middleDigits,y[0]),x.upcA[x.upcA.length-1]!==y[y.length-1]))return d(x);x.isValid=!0}return x.displayValue=O.displayValue,O.fontSize>10*O.width?x.fontSize=10*O.width:x.fontSize=O.fontSize,x.guardHeight=O.height+x.fontSize/2+O.textMargin,x}return(function(y,O){if(typeof O!="function"&&O!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof O);y.prototype=Object.create(O&&O.prototype,{constructor:{value:y,enumerable:!1,writable:!0,configurable:!0}}),O&&(Object.setPrototypeOf?Object.setPrototypeOf(y,O):y.__proto__=O)})(f,a),u(f,[{key:"valid",value:function(){return this.isValid}},{key:"encode",value:function(){return this.options.flat?this.flatEncoding():this.guardedEncoding()}},{key:"flatEncoding",value:function(){var y="";return y+="101",y+=this.encodeMiddleDigits(),{data:y+="010101",text:this.text}}},{key:"guardedEncoding",value:function(){var y=[];return this.displayValue&&y.push({data:"00000000",text:this.text[0],options:{textAlign:"left",fontSize:this.fontSize}}),y.push({data:"101",options:{height:this.guardHeight}}),y.push({data:this.encodeMiddleDigits(),text:this.text.substring(1,7),options:{fontSize:this.fontSize}}),y.push({data:"010101",options:{height:this.guardHeight}}),this.displayValue&&y.push({data:"00000000",text:this.text[7],options:{textAlign:"right",fontSize:this.fontSize}}),y}},{key:"encodeMiddleDigits",value:function(){var y=this.upcA[0],O=this.upcA[this.upcA.length-1],x=i[parseInt(O)][parseInt(y)];return(0,v.default)(this.middleDigits,x)}}]),f})(b.default);function o(a,f){for(var y=parseInt(a[a.length-1]),O=s[y],x="",ot=0,st=0;st<O.length;st++){var N=O[st];x+=N==="X"?a[ot++]:N}return(x=""+f+x)+(0,m.checksum)(x)}c.default=n},function(S,c,_){"use strict";Object.defineProperty(c,"__esModule",{value:!0}),c.ITF14=c.ITF=void 0;var u=b(_(10)),v=b(_(33));function b(m){return m&&m.__esModule?m:{default:m}}c.ITF=u.default,c.ITF14=v.default},function(S,c,_){"use strict";Object.defineProperty(c,"__esModule",{value:!0}),c.START_BIN="1010",c.END_BIN="11101",c.BINARIES=["00110","10001","01001","11000","00101","10100","01100","00011","10010","01010"]},function(S,c,_){"use strict";Object.defineProperty(c,"__esModule",{value:!0});var u,v=(function(){function s(i,n){for(var o=0;o<n.length;o++){var a=n[o];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(i,a.key,a)}}return function(i,n,o){return n&&s(i.prototype,n),o&&s(i,o),i}})(),b=_(10),m=(u=b)&&u.__esModule?u:{default:u},p=function(s){var i=s.substr(0,13).split("").map((function(n){return parseInt(n,10)})).reduce((function(n,o,a){return n+o*(3-a%2*2)}),0);return 10*Math.ceil(i/10)-i},d=(function(s){function i(n,o){return(function(a,f){if(!(a instanceof f))throw new TypeError("Cannot call a class as a function")})(this,i),n.search(/^[0-9]{13}$/)!==-1&&(n+=p(n)),(function(a,f){if(!a)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!f||typeof f!="object"&&typeof f!="function"?a:f})(this,(i.__proto__||Object.getPrototypeOf(i)).call(this,n,o))}return(function(n,o){if(typeof o!="function"&&o!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof o);n.prototype=Object.create(o&&o.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),o&&(Object.setPrototypeOf?Object.setPrototypeOf(n,o):n.__proto__=o)})(i,s),v(i,[{key:"valid",value:function(){return this.data.search(/^[0-9]{14}$/)!==-1&&+this.data[13]===p(this.data)}}]),i})(m.default);c.default=d},function(S,c,_){"use strict";Object.defineProperty(c,"__esModule",{value:!0}),c.MSI1110=c.MSI1010=c.MSI11=c.MSI10=c.MSI=void 0;var u=d(_(4)),v=d(_(35)),b=d(_(36)),m=d(_(37)),p=d(_(38));function d(s){return s&&s.__esModule?s:{default:s}}c.MSI=u.default,c.MSI10=v.default,c.MSI11=b.default,c.MSI1010=m.default,c.MSI1110=p.default},function(S,c,_){"use strict";Object.defineProperty(c,"__esModule",{value:!0});var u,v=_(4),b=(u=v)&&u.__esModule?u:{default:u},m=_(6),p=(function(d){function s(i,n){return(function(o,a){if(!(o instanceof a))throw new TypeError("Cannot call a class as a function")})(this,s),(function(o,a){if(!o)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!a||typeof a!="object"&&typeof a!="function"?o:a})(this,(s.__proto__||Object.getPrototypeOf(s)).call(this,i+(0,m.mod10)(i),n))}return(function(i,n){if(typeof n!="function"&&n!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof n);i.prototype=Object.create(n&&n.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),n&&(Object.setPrototypeOf?Object.setPrototypeOf(i,n):i.__proto__=n)})(s,d),s})(b.default);c.default=p},function(S,c,_){"use strict";Object.defineProperty(c,"__esModule",{value:!0});var u,v=_(4),b=(u=v)&&u.__esModule?u:{default:u},m=_(6),p=(function(d){function s(i,n){return(function(o,a){if(!(o instanceof a))throw new TypeError("Cannot call a class as a function")})(this,s),(function(o,a){if(!o)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!a||typeof a!="object"&&typeof a!="function"?o:a})(this,(s.__proto__||Object.getPrototypeOf(s)).call(this,i+(0,m.mod11)(i),n))}return(function(i,n){if(typeof n!="function"&&n!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof n);i.prototype=Object.create(n&&n.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),n&&(Object.setPrototypeOf?Object.setPrototypeOf(i,n):i.__proto__=n)})(s,d),s})(b.default);c.default=p},function(S,c,_){"use strict";Object.defineProperty(c,"__esModule",{value:!0});var u,v=_(4),b=(u=v)&&u.__esModule?u:{default:u},m=_(6),p=(function(d){function s(i,n){return(function(o,a){if(!(o instanceof a))throw new TypeError("Cannot call a class as a function")})(this,s),i+=(0,m.mod10)(i),i+=(0,m.mod10)(i),(function(o,a){if(!o)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!a||typeof a!="object"&&typeof a!="function"?o:a})(this,(s.__proto__||Object.getPrototypeOf(s)).call(this,i,n))}return(function(i,n){if(typeof n!="function"&&n!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof n);i.prototype=Object.create(n&&n.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),n&&(Object.setPrototypeOf?Object.setPrototypeOf(i,n):i.__proto__=n)})(s,d),s})(b.default);c.default=p},function(S,c,_){"use strict";Object.defineProperty(c,"__esModule",{value:!0});var u,v=_(4),b=(u=v)&&u.__esModule?u:{default:u},m=_(6),p=(function(d){function s(i,n){return(function(o,a){if(!(o instanceof a))throw new TypeError("Cannot call a class as a function")})(this,s),i+=(0,m.mod11)(i),i+=(0,m.mod10)(i),(function(o,a){if(!o)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!a||typeof a!="object"&&typeof a!="function"?o:a})(this,(s.__proto__||Object.getPrototypeOf(s)).call(this,i,n))}return(function(i,n){if(typeof n!="function"&&n!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof n);i.prototype=Object.create(n&&n.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),n&&(Object.setPrototypeOf?Object.setPrototypeOf(i,n):i.__proto__=n)})(s,d),s})(b.default);c.default=p},function(S,c,_){"use strict";Object.defineProperty(c,"__esModule",{value:!0}),c.pharmacode=void 0;var u,v=(function(){function p(d,s){for(var i=0;i<s.length;i++){var n=s[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(d,n.key,n)}}return function(d,s,i){return s&&p(d.prototype,s),i&&p(d,i),d}})(),b=_(0),m=(function(p){function d(s,i){(function(o,a){if(!(o instanceof a))throw new TypeError("Cannot call a class as a function")})(this,d);var n=(function(o,a){if(!o)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!a||typeof a!="object"&&typeof a!="function"?o:a})(this,(d.__proto__||Object.getPrototypeOf(d)).call(this,s,i));return n.number=parseInt(s,10),n}return(function(s,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof i);s.prototype=Object.create(i&&i.prototype,{constructor:{value:s,enumerable:!1,writable:!0,configurable:!0}}),i&&(Object.setPrototypeOf?Object.setPrototypeOf(s,i):s.__proto__=i)})(d,p),v(d,[{key:"encode",value:function(){for(var s=this.number,i="";!isNaN(s)&&s!=0;)s%2==0?(i="11100"+i,s=(s-2)/2):(i="100"+i,s=(s-1)/2);return{data:i=i.slice(0,-2),text:this.text}}},{key:"valid",value:function(){return this.number>=3&&this.number<=131070}}]),d})(((u=b)&&u.__esModule?u:{default:u}).default);c.pharmacode=m},function(S,c,_){"use strict";Object.defineProperty(c,"__esModule",{value:!0}),c.codabar=void 0;var u,v=(function(){function p(d,s){for(var i=0;i<s.length;i++){var n=s[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(d,n.key,n)}}return function(d,s,i){return s&&p(d.prototype,s),i&&p(d,i),d}})(),b=_(0),m=(function(p){function d(s,i){(function(o,a){if(!(o instanceof a))throw new TypeError("Cannot call a class as a function")})(this,d),s.search(/^[0-9\-\$\:\.\+\/]+$/)===0&&(s="A"+s+"A");var n=(function(o,a){if(!o)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!a||typeof a!="object"&&typeof a!="function"?o:a})(this,(d.__proto__||Object.getPrototypeOf(d)).call(this,s.toUpperCase(),i));return n.text=n.options.text||n.text.replace(/[A-D]/g,""),n}return(function(s,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof i);s.prototype=Object.create(i&&i.prototype,{constructor:{value:s,enumerable:!1,writable:!0,configurable:!0}}),i&&(Object.setPrototypeOf?Object.setPrototypeOf(s,i):s.__proto__=i)})(d,p),v(d,[{key:"valid",value:function(){return this.data.search(/^[A-D][0-9\-\$\:\.\+\/]+[A-D]$/)!==-1}},{key:"encode",value:function(){for(var s=[],i=this.getEncodings(),n=0;n<this.data.length;n++)s.push(i[this.data.charAt(n)]),n!==this.data.length-1&&s.push("0");return{text:this.text,data:s.join("")}}},{key:"getEncodings",value:function(){return{0:"101010011",1:"101011001",2:"101001011",3:"110010101",4:"101101001",5:"110101001",6:"100101011",7:"100101101",8:"100110101",9:"110100101","-":"101001101",$:"101100101",":":"1101011011","/":"1101101011",".":"1101101101","+":"1011011011",A:"1011001001",B:"1001001011",C:"1010010011",D:"1010011001"}}}]),d})(((u=b)&&u.__esModule?u:{default:u}).default);c.codabar=m},function(S,c,_){"use strict";Object.defineProperty(c,"__esModule",{value:!0}),c.CODE93FullASCII=c.CODE93=void 0;var u=b(_(11)),v=b(_(43));function b(m){return m&&m.__esModule?m:{default:m}}c.CODE93=u.default,c.CODE93FullASCII=v.default},function(S,c,_){"use strict";Object.defineProperty(c,"__esModule",{value:!0}),c.SYMBOLS=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","-","."," ","$","/","+","%","($)","(%)","(/)","(+)","\xFF"],c.BINARIES=["100010100","101001000","101000100","101000010","100101000","100100100","100100010","101010000","100010010","100001010","110101000","110100100","110100010","110010100","110010010","110001010","101101000","101100100","101100010","100110100","100011010","101011000","101001100","101000110","100101100","100010110","110110100","110110010","110101100","110100110","110010110","110011010","101101100","101100110","100110110","100111010","100101110","111010100","111010010","111001010","101101110","101110110","110101110","100100110","111011010","111010110","100110010","101011110"],c.MULTI_SYMBOLS={"\0":["(%)","U"],"":["($)","A"],"":["($)","B"],"":["($)","C"],"":["($)","D"],"":["($)","E"],"":["($)","F"],"\x07":["($)","G"],"\b":["($)","H"]," ":["($)","I"],"\n":["($)","J"],"\v":["($)","K"],"\f":["($)","L"],"\r":["($)","M"],"":["($)","N"],"":["($)","O"],"":["($)","P"],"":["($)","Q"],"":["($)","R"],"":["($)","S"],"":["($)","T"],"":["($)","U"],"":["($)","V"],"":["($)","W"],"":["($)","X"],"":["($)","Y"],"":["($)","Z"],"\x1B":["(%)","A"],"":["(%)","B"],"":["(%)","C"],"":["(%)","D"],"":["(%)","E"],"!":["(/)","A"],'"':["(/)","B"],"#":["(/)","C"],"&":["(/)","F"],"'":["(/)","G"],"(":["(/)","H"],")":["(/)","I"],"*":["(/)","J"],",":["(/)","L"],":":["(/)","Z"],";":["(%)","F"],"<":["(%)","G"],"=":["(%)","H"],">":["(%)","I"],"?":["(%)","J"],"@":["(%)","V"],"[":["(%)","K"],"\\":["(%)","L"],"]":["(%)","M"],"^":["(%)","N"],_:["(%)","O"],"`":["(%)","W"],a:["(+)","A"],b:["(+)","B"],c:["(+)","C"],d:["(+)","D"],e:["(+)","E"],f:["(+)","F"],g:["(+)","G"],h:["(+)","H"],i:["(+)","I"],j:["(+)","J"],k:["(+)","K"],l:["(+)","L"],m:["(+)","M"],n:["(+)","N"],o:["(+)","O"],p:["(+)","P"],q:["(+)","Q"],r:["(+)","R"],s:["(+)","S"],t:["(+)","T"],u:["(+)","U"],v:["(+)","V"],w:["(+)","W"],x:["(+)","X"],y:["(+)","Y"],z:["(+)","Z"],"{":["(%)","P"],"|":["(%)","Q"],"}":["(%)","R"],"~":["(%)","S"],"\x7F":["(%)","T"]}},function(S,c,_){"use strict";Object.defineProperty(c,"__esModule",{value:!0});var u,v=(function(){function p(d,s){for(var i=0;i<s.length;i++){var n=s[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(d,n.key,n)}}return function(d,s,i){return s&&p(d.prototype,s),i&&p(d,i),d}})(),b=_(11),m=(function(p){function d(s,i){return(function(n,o){if(!(n instanceof o))throw new TypeError("Cannot call a class as a function")})(this,d),(function(n,o){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!o||typeof o!="object"&&typeof o!="function"?n:o})(this,(d.__proto__||Object.getPrototypeOf(d)).call(this,s,i))}return(function(s,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof i);s.prototype=Object.create(i&&i.prototype,{constructor:{value:s,enumerable:!1,writable:!0,configurable:!0}}),i&&(Object.setPrototypeOf?Object.setPrototypeOf(s,i):s.__proto__=i)})(d,p),v(d,[{key:"valid",value:function(){return/^[\x00-\x7f]+$/.test(this.data)}}]),d})(((u=b)&&u.__esModule?u:{default:u}).default);c.default=m},function(S,c,_){"use strict";Object.defineProperty(c,"__esModule",{value:!0}),c.GenericBarcode=void 0;var u,v=(function(){function p(d,s){for(var i=0;i<s.length;i++){var n=s[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(d,n.key,n)}}return function(d,s,i){return s&&p(d.prototype,s),i&&p(d,i),d}})(),b=_(0),m=(function(p){function d(s,i){return(function(n,o){if(!(n instanceof o))throw new TypeError("Cannot call a class as a function")})(this,d),(function(n,o){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!o||typeof o!="object"&&typeof o!="function"?n:o})(this,(d.__proto__||Object.getPrototypeOf(d)).call(this,s,i))}return(function(s,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof i);s.prototype=Object.create(i&&i.prototype,{constructor:{value:s,enumerable:!1,writable:!0,configurable:!0}}),i&&(Object.setPrototypeOf?Object.setPrototypeOf(s,i):s.__proto__=i)})(d,p),v(d,[{key:"encode",value:function(){return{data:"10101010101010101010101010101010101010101",text:this.text}}},{key:"valid",value:function(){return!0}}]),d})(((u=b)&&u.__esModule?u:{default:u}).default);c.GenericBarcode=m},function(S,c,_){"use strict";Object.defineProperty(c,"__esModule",{value:!0}),c.default=function(u){var v=[];return(function b(m){if(Array.isArray(m))for(var p=0;p<m.length;p++)b(m[p]);else m.text=m.text||"",m.data=m.data||"",v.push(m)})(u),v}},function(S,c,_){"use strict";Object.defineProperty(c,"__esModule",{value:!0}),c.default=function(u){return u.marginTop=u.marginTop||u.margin,u.marginBottom=u.marginBottom||u.margin,u.marginRight=u.marginRight||u.margin,u.marginLeft=u.marginLeft||u.margin,u}},function(S,c,_){"use strict";Object.defineProperty(c,"__esModule",{value:!0});var u=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(s){return typeof s}:function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},v=p(_(48)),b=p(_(49)),m=_(15);function p(s){return s&&s.__esModule?s:{default:s}}function d(s){if(typeof s=="string")return(function(f){var y=document.querySelectorAll(f);if(y.length!==0){for(var O=[],x=0;x<y.length;x++)O.push(d(y[x]));return O}})(s);if(Array.isArray(s)){for(var i=[],n=0;n<s.length;n++)i.push(d(s[n]));return i}if(typeof HTMLCanvasElement<"u"&&s instanceof HTMLImageElement)return o=s,{element:a=document.createElement("canvas"),options:(0,v.default)(o),renderer:b.default.CanvasRenderer,afterRender:function(){o.setAttribute("src",a.toDataURL())}};if(s&&s.nodeName&&s.nodeName.toLowerCase()==="svg"||typeof SVGElement<"u"&&s instanceof SVGElement)return{element:s,options:(0,v.default)(s),renderer:b.default.SVGRenderer};if(typeof HTMLCanvasElement<"u"&&s instanceof HTMLCanvasElement)return{element:s,options:(0,v.default)(s),renderer:b.default.CanvasRenderer};if(s&&s.getContext)return{element:s,renderer:b.default.CanvasRenderer};if(s&&(s===void 0?"undefined":u(s))==="object"&&!s.nodeName)return{element:s,renderer:b.default.ObjectRenderer};throw new m.InvalidElementException;var o,a}c.default=d},function(S,c,_){"use strict";Object.defineProperty(c,"__esModule",{value:!0});var u=b(_(12)),v=b(_(13));function b(m){return m&&m.__esModule?m:{default:m}}c.default=function(m){var p={};for(var d in v.default)v.default.hasOwnProperty(d)&&(m.hasAttribute("jsbarcode-"+d.toLowerCase())&&(p[d]=m.getAttribute("jsbarcode-"+d.toLowerCase())),m.hasAttribute("data-"+d.toLowerCase())&&(p[d]=m.getAttribute("data-"+d.toLowerCase())));return p.value=m.getAttribute("jsbarcode-value")||m.getAttribute("data-value"),p=(0,u.default)(p)}},function(S,c,_){"use strict";Object.defineProperty(c,"__esModule",{value:!0});var u=m(_(50)),v=m(_(51)),b=m(_(52));function m(p){return p&&p.__esModule?p:{default:p}}c.default={CanvasRenderer:u.default,SVGRenderer:v.default,ObjectRenderer:b.default}},function(S,c,_){"use strict";Object.defineProperty(c,"__esModule",{value:!0});var u,v=(function(){function s(i,n){for(var o=0;o<n.length;o++){var a=n[o];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(i,a.key,a)}}return function(i,n,o){return n&&s(i.prototype,n),o&&s(i,o),i}})(),b=_(7),m=(u=b)&&u.__esModule?u:{default:u},p=_(14),d=(function(){function s(i,n,o){(function(a,f){if(!(a instanceof f))throw new TypeError("Cannot call a class as a function")})(this,s),this.canvas=i,this.encodings=n,this.options=o}return v(s,[{key:"render",value:function(){if(!this.canvas.getContext)throw new Error("The browser does not support canvas.");this.prepareCanvas();for(var i=0;i<this.encodings.length;i++){var n=(0,m.default)(this.options,this.encodings[i].options);this.drawCanvasBarcode(n,this.encodings[i]),this.drawCanvasText(n,this.encodings[i]),this.moveCanvasDrawing(this.encodings[i])}this.restoreCanvas()}},{key:"prepareCanvas",value:function(){var i=this.canvas.getContext("2d");i.save(),(0,p.calculateEncodingAttributes)(this.encodings,this.options,i);var n=(0,p.getTotalWidthOfEncodings)(this.encodings),o=(0,p.getMaximumHeightOfEncodings)(this.encodings);this.canvas.width=n+this.options.marginLeft+this.options.marginRight,this.canvas.height=o,i.clearRect(0,0,this.canvas.width,this.canvas.height),this.options.background&&(i.fillStyle=this.options.background,i.fillRect(0,0,this.canvas.width,this.canvas.height)),i.translate(this.options.marginLeft,0)}},{key:"drawCanvasBarcode",value:function(i,n){var o,a=this.canvas.getContext("2d"),f=n.data;o=i.textPosition=="top"?i.marginTop+i.fontSize+i.textMargin:i.marginTop,a.fillStyle=i.lineColor;for(var y=0;y<f.length;y++){var O=y*i.width+n.barcodePadding;f[y]==="1"?a.fillRect(O,o,i.width,i.height):f[y]&&a.fillRect(O,o,i.width,i.height*f[y])}}},{key:"drawCanvasText",value:function(i,n){var o,a,f=this.canvas.getContext("2d"),y=i.fontOptions+" "+i.fontSize+"px "+i.font;i.displayValue&&(a=i.textPosition=="top"?i.marginTop+i.fontSize-i.textMargin:i.height+i.textMargin+i.marginTop+i.fontSize,f.font=y,i.textAlign=="left"||n.barcodePadding>0?(o=0,f.textAlign="left"):i.textAlign=="right"?(o=n.width-1,f.textAlign="right"):(o=n.width/2,f.textAlign="center"),f.fillText(n.text,o,a))}},{key:"moveCanvasDrawing",value:function(i){this.canvas.getContext("2d").translate(i.width,0)}},{key:"restoreCanvas",value:function(){this.canvas.getContext("2d").restore()}}]),s})();c.default=d},function(S,c,_){"use strict";Object.defineProperty(c,"__esModule",{value:!0});var u,v=(function(){function i(n,o){for(var a=0;a<o.length;a++){var f=o[a];f.enumerable=f.enumerable||!1,f.configurable=!0,"value"in f&&(f.writable=!0),Object.defineProperty(n,f.key,f)}}return function(n,o,a){return o&&i(n.prototype,o),a&&i(n,a),n}})(),b=_(7),m=(u=b)&&u.__esModule?u:{default:u},p=_(14),d="http://www.w3.org/2000/svg",s=(function(){function i(n,o,a){(function(f,y){if(!(f instanceof y))throw new TypeError("Cannot call a class as a function")})(this,i),this.svg=n,this.encodings=o,this.options=a,this.document=a.xmlDocument||document}return v(i,[{key:"render",value:function(){var n=this.options.marginLeft;this.prepareSVG();for(var o=0;o<this.encodings.length;o++){var a=this.encodings[o],f=(0,m.default)(this.options,a.options),y=this.createGroup(n,f.marginTop,this.svg);this.setGroupOptions(y,f),this.drawSvgBarcode(y,f,a),this.drawSVGText(y,f,a),n+=a.width}}},{key:"prepareSVG",value:function(){for(;this.svg.firstChild;)this.svg.removeChild(this.svg.firstChild);(0,p.calculateEncodingAttributes)(this.encodings,this.options);var n=(0,p.getTotalWidthOfEncodings)(this.encodings),o=(0,p.getMaximumHeightOfEncodings)(this.encodings),a=n+this.options.marginLeft+this.options.marginRight;this.setSvgAttributes(a,o),this.options.background&&this.drawRect(0,0,a,o,this.svg).setAttribute("style","fill:"+this.options.background+";")}},{key:"drawSvgBarcode",value:function(n,o,a){var f,y=a.data;f=o.textPosition=="top"?o.fontSize+o.textMargin:0;for(var O=0,x=0,ot=0;ot<y.length;ot++)x=ot*o.width+a.barcodePadding,y[ot]==="1"?O++:O>0&&(this.drawRect(x-o.width*O,f,o.width*O,o.height,n),O=0);O>0&&this.drawRect(x-o.width*(O-1),f,o.width*O,o.height,n)}},{key:"drawSVGText",value:function(n,o,a){var f,y,O=this.document.createElementNS(d,"text");o.displayValue&&(O.setAttribute("style","font:"+o.fontOptions+" "+o.fontSize+"px "+o.font),y=o.textPosition=="top"?o.fontSize-o.textMargin:o.height+o.textMargin+o.fontSize,o.textAlign=="left"||a.barcodePadding>0?(f=0,O.setAttribute("text-anchor","start")):o.textAlign=="right"?(f=a.width-1,O.setAttribute("text-anchor","end")):(f=a.width/2,O.setAttribute("text-anchor","middle")),O.setAttribute("x",f),O.setAttribute("y",y),O.appendChild(this.document.createTextNode(a.text)),n.appendChild(O))}},{key:"setSvgAttributes",value:function(n,o){var a=this.svg;a.setAttribute("width",n+"px"),a.setAttribute("height",o+"px"),a.setAttribute("x","0px"),a.setAttribute("y","0px"),a.setAttribute("viewBox","0 0 "+n+" "+o),a.setAttribute("xmlns",d),a.setAttribute("version","1.1"),a.setAttribute("style","transform: translate(0,0)")}},{key:"createGroup",value:function(n,o,a){var f=this.document.createElementNS(d,"g");return f.setAttribute("transform","translate("+n+", "+o+")"),a.appendChild(f),f}},{key:"setGroupOptions",value:function(n,o){n.setAttribute("style","fill:"+o.lineColor+";")}},{key:"drawRect",value:function(n,o,a,f,y){var O=this.document.createElementNS(d,"rect");return O.setAttribute("x",n),O.setAttribute("y",o),O.setAttribute("width",a),O.setAttribute("height",f),y.appendChild(O),O}}]),i})();c.default=s},function(S,c,_){"use strict";Object.defineProperty(c,"__esModule",{value:!0});var u=(function(){function b(m,p){for(var d=0;d<p.length;d++){var s=p[d];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(m,s.key,s)}}return function(m,p,d){return p&&b(m.prototype,p),d&&b(m,d),m}})(),v=(function(){function b(m,p,d){(function(s,i){if(!(s instanceof i))throw new TypeError("Cannot call a class as a function")})(this,b),this.object=m,this.encodings=p,this.options=d}return u(b,[{key:"render",value:function(){this.object.encodings=this.encodings}}]),b})();c.default=v},function(S,c,_){"use strict";Object.defineProperty(c,"__esModule",{value:!0});var u=(function(){function b(m,p){for(var d=0;d<p.length;d++){var s=p[d];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(m,s.key,s)}}return function(m,p,d){return p&&b(m.prototype,p),d&&b(m,d),m}})(),v=(function(){function b(m){(function(p,d){if(!(p instanceof d))throw new TypeError("Cannot call a class as a function")})(this,b),this.api=m}return u(b,[{key:"handleCatch",value:function(m){if(m.name!=="InvalidInputException")throw m;if(this.api._options.valid===this.api._defaults.valid)throw m.message;this.api._options.valid(!1),this.api.render=function(){}}},{key:"wrapBarcodeCall",value:function(m){try{var p=m.apply(void 0,arguments);return this.api._options.valid(!0),p}catch(d){return this.handleCatch(d),this.api}}}]),b})();c.default=v}]);
|