marketplacepos 3.2.1 → 3.4.1

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.
Files changed (112) hide show
  1. package/Marketplace/3rdpartylicenses.txt +202 -187
  2. package/Marketplace/chunk-2GOE5RBJ.js +1 -0
  3. package/Marketplace/chunk-2QO2D23V.js +1 -0
  4. package/Marketplace/chunk-2XMJ7C47.js +1 -0
  5. package/Marketplace/chunk-2Y47HNW5.js +1 -0
  6. package/Marketplace/chunk-32YQ5ZBK.js +1 -0
  7. package/Marketplace/chunk-353KSOKY.js +1 -0
  8. package/Marketplace/chunk-3MUYDBXT.js +1 -0
  9. package/Marketplace/chunk-55NPYZ64.js +2 -0
  10. package/Marketplace/chunk-5PV4AXUR.js +2 -0
  11. package/Marketplace/chunk-5UESNVF7.js +3 -0
  12. package/Marketplace/chunk-5YX57TZJ.js +1 -0
  13. package/Marketplace/chunk-6FFJWFMY.js +4 -0
  14. package/Marketplace/chunk-7AS2YI3I.js +2 -0
  15. package/Marketplace/chunk-AN4U7FVT.js +1 -0
  16. package/Marketplace/chunk-B6ZV4WVU.js +8 -0
  17. package/Marketplace/chunk-BBX2DZWF.js +1 -0
  18. package/Marketplace/chunk-BLRV33OB.js +4 -0
  19. package/Marketplace/chunk-BTKP3PJH.js +5 -0
  20. package/Marketplace/chunk-CA4NYL7C.js +1 -0
  21. package/Marketplace/chunk-CFL3VDAM.js +1 -0
  22. package/Marketplace/chunk-DE2BZXNA.js +1 -0
  23. package/Marketplace/chunk-DE6KXPBU.js +1 -0
  24. package/Marketplace/chunk-FDGOGKXD.js +1 -0
  25. package/Marketplace/chunk-FDYGWNMG.js +1 -0
  26. package/Marketplace/chunk-FR67IIWG.js +1 -0
  27. package/Marketplace/chunk-G6DYB24N.js +1 -0
  28. package/Marketplace/chunk-GAMNBDJD.js +1 -0
  29. package/Marketplace/chunk-GUKAWOAK.js +1 -0
  30. package/Marketplace/chunk-HDWZXE6G.js +1 -0
  31. package/Marketplace/chunk-HQTUUTDT.js +1 -0
  32. package/Marketplace/chunk-HTODD7RF.js +1 -0
  33. package/Marketplace/chunk-I2FTGSXA.js +1 -0
  34. package/Marketplace/chunk-IFHFFP4S.js +1 -0
  35. package/Marketplace/chunk-IGSHV4S3.js +1 -0
  36. package/Marketplace/chunk-IJ3WNDAP.js +6 -0
  37. package/Marketplace/chunk-J3NU4TSW.js +1 -0
  38. package/Marketplace/chunk-J55273WG.js +7 -0
  39. package/Marketplace/chunk-JI67LAJB.js +1 -0
  40. package/Marketplace/chunk-JJXHYCB6.js +1 -0
  41. package/Marketplace/chunk-JRZ4OAAZ.js +1 -0
  42. package/Marketplace/chunk-JT76ON64.js +1 -0
  43. package/Marketplace/chunk-KKQWPACG.js +1 -0
  44. package/Marketplace/chunk-LICL6LNZ.js +1 -0
  45. package/Marketplace/chunk-LWR5YJ24.js +8 -0
  46. package/Marketplace/chunk-LZR6F2JE.js +1 -0
  47. package/Marketplace/chunk-MB6PCQRT.js +1 -0
  48. package/Marketplace/chunk-MYMGFQII.js +1 -0
  49. package/Marketplace/chunk-NNYMQPRT.js +1 -0
  50. package/Marketplace/chunk-NV3T3OZB.js +5 -0
  51. package/Marketplace/chunk-OGJ6YVG4.js +1 -0
  52. package/Marketplace/chunk-OI7LGMDP.js +1 -0
  53. package/Marketplace/chunk-Q4Y764AE.js +5 -0
  54. package/Marketplace/chunk-QJKKB3RG.js +3 -0
  55. package/Marketplace/chunk-QSO3ASFL.js +1 -0
  56. package/Marketplace/chunk-QV22VQ5Q.js +1 -0
  57. package/Marketplace/chunk-R3VPTXDH.js +1 -0
  58. package/Marketplace/chunk-RHM4GQMX.js +1 -0
  59. package/Marketplace/chunk-RS52HOKA.js +5 -0
  60. package/Marketplace/chunk-S7ANPM6L.js +1 -0
  61. package/Marketplace/chunk-TEEFXPWJ.js +2 -0
  62. package/Marketplace/chunk-TIXJK5ZY.js +1 -0
  63. package/Marketplace/chunk-TZ6CWMER.js +1 -0
  64. package/Marketplace/chunk-UUMW24BF.js +1 -0
  65. package/Marketplace/chunk-VMRMDMBE.js +1 -0
  66. package/Marketplace/chunk-XDPBTCKN.js +1 -0
  67. package/Marketplace/chunk-XQTL4ELH.js +1 -0
  68. package/Marketplace/chunk-YHWXRXON.js +1 -0
  69. package/Marketplace/chunk-YIB32JAF.js +1 -0
  70. package/Marketplace/chunk-YZHBBFDR.js +2 -0
  71. package/Marketplace/index.html +2 -2
  72. package/Marketplace/main-KZQ55EQA.js +1 -0
  73. package/Marketplace/polyfills-OSLX3UYW.js +2 -0
  74. package/Marketplace/scripts-M46NWPTC.js +5 -0
  75. package/Marketplace/styles-LDNPEPLO.css +1 -0
  76. package/package.json +1 -1
  77. package/Marketplace/103.bc1f4c51ca99f04f.js +0 -1
  78. package/Marketplace/168.07ef2936896a9f4f.js +0 -1
  79. package/Marketplace/231.0c7ab993977632a2.js +0 -1
  80. package/Marketplace/257.d1592e885695ba4b.js +0 -1
  81. package/Marketplace/278.e89610409641d910.js +0 -1
  82. package/Marketplace/296.93310f70e5f9d3a9.js +0 -1
  83. package/Marketplace/311.afcc0c4a03ea0076.js +0 -1
  84. package/Marketplace/389.02d8fd64069d0119.js +0 -1
  85. package/Marketplace/394.11ae606578598904.js +0 -1
  86. package/Marketplace/445.cbf341bc0afe3ffc.js +0 -1
  87. package/Marketplace/452.58ce3ef12b9b5a47.js +0 -1
  88. package/Marketplace/476.d08ef7b92327904d.js +0 -1
  89. package/Marketplace/478.a63c640a3e971a16.js +0 -1
  90. package/Marketplace/500.c2e6963e4771761e.js +0 -1
  91. package/Marketplace/527.984c24771dbd0f8e.js +0 -1
  92. package/Marketplace/556.5d624cfb73f161b2.js +0 -1
  93. package/Marketplace/56.0432dfcbb3e04e39.js +0 -1
  94. package/Marketplace/599.8de0c2b4c7af0f9d.js +0 -1
  95. package/Marketplace/609.0e0a820d30efd4d4.js +0 -1
  96. package/Marketplace/617.4db1b737553fe58b.js +0 -1
  97. package/Marketplace/62.4f9a8ca2692bdd97.js +0 -1
  98. package/Marketplace/687.1fb4b2602d2b185a.js +0 -1
  99. package/Marketplace/699.d68a917277dbe11a.js +0 -1
  100. package/Marketplace/700.755c54d915bd281e.js +0 -1
  101. package/Marketplace/726.40535ee28a35e978.js +0 -1
  102. package/Marketplace/806.4037f673990a5242.js +0 -1
  103. package/Marketplace/810.629a800ca97725b7.js +0 -1
  104. package/Marketplace/877.bbdea3b04cc75780.js +0 -1
  105. package/Marketplace/900.b7de175b628a8dbe.js +0 -1
  106. package/Marketplace/967.2b39f548c7f4eb30.js +0 -1
  107. package/Marketplace/common.2cffc11d42ed963f.js +0 -1
  108. package/Marketplace/main.7c0e9137308de113.js +0 -1
  109. package/Marketplace/polyfills.503b3f4bf922d237.js +0 -1
  110. package/Marketplace/runtime.b0602b888a191d78.js +0 -1
  111. package/Marketplace/scripts.0d34bffadb54993a.js +0 -1
  112. package/Marketplace/styles.095460a0131dd2fc.css +0 -19
@@ -0,0 +1,5 @@
1
+ /*!
2
+ * Bootstrap v5.3.2 (https://getbootstrap.com/)
3
+ * Copyright 2011-2023 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,u){typeof exports=="object"&&typeof module<"u"?module.exports=u():typeof define=="function"&&define.amd?define(u):(S=typeof globalThis<"u"?globalThis:S||self).bootstrap=u()})(this,function(){"use strict";const S=new Map,u={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)}},m="transitionend",f=r=>(r&&window.CSS&&window.CSS.escape&&(r=r.replace(/#([^\s"#']+)/g,(t,e)=>`#${CSS.escape(e)}`)),r),v=r=>{r.dispatchEvent(new Event(m))},_=r=>!(!r||typeof r!="object")&&(r.jquery!==void 0&&(r=r[0]),r.nodeType!==void 0),b=r=>_(r)?r.jquery?r[0]:r:typeof r=="string"&&r.length>0?document.querySelector(f(r)):null,g=r=>{if(!_(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},h=r=>!r||r.nodeType!==Node.ELEMENT_NODE||!!r.classList.contains("disabled")||(r.disabled!==void 0?r.disabled:r.hasAttribute("disabled")&&r.getAttribute("disabled")!=="false"),a=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?a(r.parentNode):null},i=()=>{},n=r=>{r.offsetHeight},o=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,s=[],c=()=>document.documentElement.dir==="rtl",y=r=>{var t;t=()=>{const e=o();if(e){const l=r.NAME,d=e.fn[l];e.fn[l]=r.jQueryInterface,e.fn[l].Constructor=r,e.fn[l].noConflict=()=>(e.fn[l]=d,r.jQueryInterface)}},document.readyState==="loading"?(s.length||document.addEventListener("DOMContentLoaded",()=>{for(const e of s)e()}),s.push(t)):t()},E=(r,t=[],e=r)=>typeof r=="function"?r(...t):e,T=(r,t,e=!0)=>{if(!e)return void E(r);const l=(w=>{if(!w)return 0;let{transitionDuration:O,transitionDelay:x}=window.getComputedStyle(w);const j=Number.parseFloat(O),P=Number.parseFloat(x);return j||P?(O=O.split(",")[0],x=x.split(",")[0],1e3*(Number.parseFloat(O)+Number.parseFloat(x))):0})(t)+5;let d=!1;const p=({target:w})=>{w===t&&(d=!0,t.removeEventListener(m,p),E(r))};t.addEventListener(m,p),setTimeout(()=>{d||v(t)},l)},tt=(r,t,e,l)=>{const d=r.length;let p=r.indexOf(t);return p===-1?!e&&l?r[d-1]:r[0]:(p+=e?1:-1,l&&(p=(p+d)%d),r[Math.max(0,Math.min(p,d-1))])},gt=/[^.]*(?=\..*)\.|.*/,$=/\..*/,Q=/::\d+$/,F={};let U=1;const rt={mouseenter:"mouseover",mouseleave:"mouseout"},vt=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}::${U++}`||r.uidEvent||U++}function me(r){const t=_e(r);return r.uidEvent=t,F[t]=F[t]||{},F[t]}function En(r,t,e=null){return Object.values(r).find(l=>l.callable===t&&l.delegationSelector===e)}function An(r,t,e){const l=typeof t=="string",d=l?e:t||e;let p=Cn(r);return vt.has(p)||(p=r),[l,d,p]}function xn(r,t,e,l,d){if(typeof t!="string"||!r)return;let[p,w,O]=An(t,e,l);t in rt&&(w=(I=>function(M){if(!M.relatedTarget||M.relatedTarget!==M.delegateTarget&&!M.delegateTarget.contains(M.relatedTarget))return I.call(this,M)})(w));const x=me(r),j=x[O]||(x[O]={}),P=En(j,w,p?e:null);if(P)return void(P.oneOff=P.oneOff&&d);const C=_e(w,t.replace(gt,"")),R=p?function(L,I,M){return function D(V){const K=L.querySelectorAll(I);for(let{target:B}=V;B&&B!==this;B=B.parentNode)for(const z of K)if(z===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);R.delegationSelector=p?e:null,R.callable=w,R.oneOff=d,R.uidEvent=C,j[C]=R,r.addEventListener(O,R,p)}function Be(r,t,e,l,d){const p=En(t[e],l,d);p&&(r.removeEventListener(e,p,!!d),delete t[e][p.uidEvent])}function so(r,t,e,l){const d=t[e]||{};for(const[p,w]of Object.entries(d))p.includes(l)&&Be(r,t,e,w.callable,w.delegationSelector)}function Cn(r){return r=r.replace($,""),rt[r]||r}const A={on(r,t,e,l){xn(r,t,e,l,!1)},one(r,t,e,l){xn(r,t,e,l,!0)},off(r,t,e,l){if(typeof t!="string"||!r)return;const[d,p,w]=An(t,e,l),O=w!==t,x=me(r),j=x[w]||{},P=t.startsWith(".");if(p===void 0){if(P)for(const C of Object.keys(x))so(r,x,C,t.slice(1));for(const[C,R]of Object.entries(j)){const L=C.replace(Q,"");O&&!t.includes(L)||Be(r,x,w,R.callable,R.delegationSelector)}}else{if(!Object.keys(j).length)return;Be(r,x,w,p,d?e:null)}},trigger(r,t,e){if(typeof t!="string"||!r)return null;const l=o();let d=null,p=!0,w=!0,O=!1;t!==Cn(t)&&l&&(d=l.Event(t,e),l(r).trigger(d),p=!d.isPropagationStopped(),w=!d.isImmediatePropagationStopped(),O=d.isDefaultPrevented());const x=He(new Event(t,{bubbles:p,cancelable:!0}),e);return O&&x.preventDefault(),w&&r.dispatchEvent(x),x.defaultPrevented&&d&&d.preventDefault(),x}};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 Tn(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 ze(r){return r.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}const At={setDataAttribute(r,t,e){r.setAttribute(`data-bs-${ze(t)}`,e)},removeDataAttribute(r,t){r.removeAttribute(`data-bs-${ze(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 d=l.replace(/^bs/,"");d=d.charAt(0).toLowerCase()+d.slice(1,d.length),t[d]=Tn(r.dataset[l])}return t},getDataAttribute:(r,t)=>Tn(r.getAttribute(`data-bs-${ze(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=_(e)?At.getDataAttribute(e,"config"):{};return{...this.constructor.Default,...typeof l=="object"?l:{},..._(e)?At.getDataAttributes(e):{},...typeof t=="object"?t:{}}}_typeCheckConfig(t,e=this.constructor.DefaultType){for(const[d,p]of Object.entries(e)){const w=t[d],O=_(w)?"element":(l=w)==null?`${l}`:Object.prototype.toString.call(l).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(p).test(O))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${d}" provided type "${O}" but expected type "${p}".`)}var l}}class _t extends re{constructor(t,e){super(),(t=b(t))&&(this._element=t,this._config=this._getConfig(e),u.set(this._element,this.constructor.DATA_KEY,this))}dispose(){u.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){T(t,e,l)}_getConfig(t){return t=this._mergeConfigObj(t,this._element),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}static getInstance(t){return u.get(b(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.2"}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 Fe=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!=="#"?f(e.trim()):null}return t},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=>!h(e)&&g(e))},getSelectorFromElement(r){const t=Fe(r);return t&&k.findOne(t)?t:null},getElementFromSelector(r){const t=Fe(r);return t?k.findOne(t):null},getMultipleElementsFromSelector(r){const t=Fe(r);return t?k.find(t):[]}},be=(r,t="hide")=>{const e=`click.dismiss${r.EVENT_KEY}`,l=r.NAME;A.on(document,e,`[data-bs-dismiss="${l}"]`,function(d){if(["A","AREA"].includes(this.tagName)&&d.preventDefault(),h(this))return;const p=k.getElementFromSelector(this)||this.closest(`.${l}`);r.getOrCreateInstance(p)[t]()})},jn=".bs.alert",ao=`close${jn}`,lo=`closed${jn}`;class se extends _t{static get NAME(){return"alert"}close(){if(A.trigger(this._element,ao).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,lo),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)}})}}be(se,"close"),y(se);const Sn='[data-bs-toggle="button"]';class ae extends _t{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",Sn,r=>{r.preventDefault();const t=r.target.closest(Sn);ae.getOrCreateInstance(t).toggle()}),y(ae);const Gt=".bs.swipe",co=`touchstart${Gt}`,uo=`touchmove${Gt}`,fo=`touchend${Gt}`,ho=`pointerdown${Gt}`,po=`pointerup${Gt}`,go={endCallback:null,leftCallback:null,rightCallback:null},_o={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class ve extends re{constructor(t,e){super(),this._element=t,t&&ve.isSupported()&&(this._config=this._getConfig(e),this._deltaX=0,this._supportPointerEvents=!!window.PointerEvent,this._initEvents())}static get Default(){return go}static get DefaultType(){return _o}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(),E(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&&E(e>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(A.on(this._element,ho,t=>this._start(t)),A.on(this._element,po,t=>this._end(t)),this._element.classList.add("pointer-event")):(A.on(this._element,co,t=>this._start(t)),A.on(this._element,uo,t=>this._move(t)),A.on(this._element,fo,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 jt=".bs.carousel",Pn=".data-api",le="next",Xt="prev",Vt="left",ye="right",mo=`slide${jt}`,Ge=`slid${jt}`,bo=`keydown${jt}`,vo=`mouseenter${jt}`,yo=`mouseleave${jt}`,wo=`dragstart${jt}`,Oo=`load${jt}${Pn}`,Eo=`click${jt}${Pn}`,kn="carousel",we="active",Ln=".active",Mn=".carousel-item",Ao=Ln+Mn,xo={ArrowLeft:ye,ArrowRight:Vt},Co={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},To={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class Wt extends _t{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===kn&&this.cycle()}static get Default(){return Co}static get DefaultType(){return To}static get NAME(){return"carousel"}next(){this._slide(le)}nextWhenVisible(){!document.hidden&&g(this._element)&&this.next()}prev(){this._slide(Xt)}pause(){this._isSliding&&v(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 d=t>l?le:Xt;this._slide(d,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,bo,t=>this._keydown(t)),this._config.pause==="hover"&&(A.on(this._element,vo,()=>this.pause()),A.on(this._element,yo,()=>this._maybeEnableCycle())),this._config.touch&&ve.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const e of k.find(".carousel-item img",this._element))A.on(e,wo,l=>l.preventDefault());const t={leftCallback:()=>this._slide(this._directionToOrder(Vt)),rightCallback:()=>this._slide(this._directionToOrder(ye)),endCallback:()=>{this._config.pause==="hover"&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),500+this._config.interval))}};this._swipeHelper=new ve(this._element,t)}_keydown(t){if(/input|textarea/i.test(t.target.tagName))return;const e=xo[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(Ln,this._indicatorsElement);e.classList.remove(we),e.removeAttribute("aria-current");const l=k.findOne(`[data-bs-slide-to="${t}"]`,this._indicatorsElement);l&&(l.classList.add(we),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(),d=t===le,p=e||tt(this._getItems(),l,d,this._config.wrap);if(p===l)return;const w=this._getItemIndex(p),O=C=>A.trigger(this._element,C,{relatedTarget:p,direction:this._orderToDirection(t),from:this._getItemIndex(l),to:w});if(O(mo).defaultPrevented||!l||!p)return;const x=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(w),this._activeElement=p;const j=d?"carousel-item-start":"carousel-item-end",P=d?"carousel-item-next":"carousel-item-prev";p.classList.add(P),n(p),l.classList.add(j),p.classList.add(j),this._queueCallback(()=>{p.classList.remove(j,P),p.classList.add(we),l.classList.remove(we,P,j),this._isSliding=!1,O(Ge)},l,this._isAnimated()),x&&this.cycle()}_isAnimated(){return this._element.classList.contains("slide")}_getActive(){return k.findOne(Ao,this._element)}_getItems(){return k.find(Mn,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(t){return c()?t===Vt?Xt:le:t===Vt?le:Xt}_orderToDirection(t){return c()?t===Xt?Vt:ye:t===Xt?ye: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,Eo,"[data-bs-slide], [data-bs-slide-to]",function(r){const t=k.getElementFromSelector(this);if(!t||!t.classList.contains(kn))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,Oo,()=>{const r=k.find('[data-bs-ride="carousel"]');for(const t of r)Wt.getOrCreateInstance(t)}),y(Wt);const ce=".bs.collapse",jo=`show${ce}`,So=`shown${ce}`,Po=`hide${ce}`,ko=`hidden${ce}`,Lo=`click${ce}.data-api`,Xe="show",Ut="collapse",Oe="collapsing",Mo=`:scope .${Ut} .${Ut}`,Ve='[data-bs-toggle="collapse"]',Io={parent:null,toggle:!0},Do={parent:"(null|element)",toggle:"boolean"};class qt extends _t{constructor(t,e){super(t,e),this._isTransitioning=!1,this._triggerArray=[];const l=k.find(Ve);for(const d of l){const p=k.getSelectorFromElement(d),w=k.find(p).filter(O=>O===this._element);p!==null&&w.length&&this._triggerArray.push(d)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return Io}static get DefaultType(){return Do}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(d=>d!==this._element).map(d=>qt.getOrCreateInstance(d,{toggle:!1}))),t.length&&t[0]._isTransitioning||A.trigger(this._element,jo).defaultPrevented)return;for(const d of t)d.hide();const e=this._getDimension();this._element.classList.remove(Ut),this._element.classList.add(Oe),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(Oe),this._element.classList.add(Ut,Xe),this._element.style[e]="",A.trigger(this._element,So)},this._element,!0),this._element.style[e]=`${this._element[l]}px`}hide(){if(this._isTransitioning||!this._isShown()||A.trigger(this._element,Po).defaultPrevented)return;const t=this._getDimension();this._element.style[t]=`${this._element.getBoundingClientRect()[t]}px`,n(this._element),this._element.classList.add(Oe),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(Oe),this._element.classList.add(Ut),A.trigger(this._element,ko)},this._element,!0)}_isShown(t=this._element){return t.classList.contains(Xe)}_configAfterMerge(t){return t.toggle=!!t.toggle,t.parent=b(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(Mo,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,Lo,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()}),y(qt);var et="top",st="bottom",at="right",nt="left",Ee="auto",Kt=[et,st,at,nt],Lt="start",Qt="end",In="clippingParents",We="viewport",Yt="popper",Dn="reference",Ue=Kt.reduce(function(r,t){return r.concat([t+"-"+Lt,t+"-"+Qt])},[]),qe=[].concat(Kt,[Ee]).reduce(function(r,t){return r.concat([t,t+"-"+Lt,t+"-"+Qt])},[]),Rn="beforeRead",Nn="read",$n="afterRead",Bn="beforeMain",Hn="main",zn="afterMain",Fn="beforeWrite",Gn="write",Xn="afterWrite",Vn=[Rn,Nn,$n,Bn,Hn,zn,Fn,Gn,Xn];function yt(r){return r?(r.nodeName||"").toLowerCase():null}function lt(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 lt(r).Element||r instanceof Element}function ut(r){return r instanceof lt(r).HTMLElement||r instanceof HTMLElement}function Ke(r){return typeof ShadowRoot<"u"&&(r instanceof lt(r).ShadowRoot||r instanceof ShadowRoot)}const Qe={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]||{},d=t.attributes[e]||{},p=t.elements[e];ut(p)&&yt(p)&&(Object.assign(p.style,l),Object.keys(d).forEach(function(w){var O=d[w];O===!1?p.removeAttribute(w):p.setAttribute(w,O===!0?"":O)}))})},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 d=t.elements[l],p=t.attributes[l]||{},w=Object.keys(t.styles.hasOwnProperty(l)?t.styles[l]:e[l]).reduce(function(O,x){return O[x]="",O},{});ut(d)&&yt(d)&&(Object.assign(d.style,w),Object.keys(p).forEach(function(O){d.removeAttribute(O)}))})}},requires:["computeStyles"]};function wt(r){return r.split("-")[0]}var It=Math.max,Ae=Math.min,Jt=Math.round;function Ye(){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 Wn(){return!/^((?!chrome|android).)*safari/i.test(Ye())}function Zt(r,t,e){t===void 0&&(t=!1),e===void 0&&(e=!1);var l=r.getBoundingClientRect(),d=1,p=1;t&&ut(r)&&(d=r.offsetWidth>0&&Jt(l.width)/r.offsetWidth||1,p=r.offsetHeight>0&&Jt(l.height)/r.offsetHeight||1);var w=(Mt(r)?lt(r):window).visualViewport,O=!Wn()&&e,x=(l.left+(O&&w?w.offsetLeft:0))/d,j=(l.top+(O&&w?w.offsetTop:0))/p,P=l.width/d,C=l.height/p;return{width:P,height:C,top:j,right:x+P,bottom:j+C,left:x,x,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 Un(r,t){var e=t.getRootNode&&t.getRootNode();if(r.contains(t))return!0;if(e&&Ke(e)){var l=t;do{if(l&&r.isSameNode(l))return!0;l=l.parentNode||l.host}while(l)}return!1}function xt(r){return lt(r).getComputedStyle(r)}function Ro(r){return["table","td","th"].indexOf(yt(r))>=0}function St(r){return((Mt(r)?r.ownerDocument:r.document)||window.document).documentElement}function xe(r){return yt(r)==="html"?r:r.assignedSlot||r.parentNode||(Ke(r)?r.host:null)||St(r)}function qn(r){return ut(r)&&xt(r).position!=="fixed"?r.offsetParent:null}function ue(r){for(var t=lt(r),e=qn(r);e&&Ro(e)&&xt(e).position==="static";)e=qn(e);return e&&(yt(e)==="html"||yt(e)==="body"&&xt(e).position==="static")?t:e||function(l){var d=/firefox/i.test(Ye());if(/Trident/i.test(Ye())&&ut(l)&&xt(l).position==="fixed")return null;var p=xe(l);for(Ke(p)&&(p=p.host);ut(p)&&["html","body"].indexOf(yt(p))<0;){var w=xt(p);if(w.transform!=="none"||w.perspective!=="none"||w.contain==="paint"||["transform","perspective"].indexOf(w.willChange)!==-1||d&&w.willChange==="filter"||d&&w.filter&&w.filter!=="none")return p;p=p.parentNode}return null}(r)||t}function Ze(r){return["top","bottom"].indexOf(r)>=0?"x":"y"}function fe(r,t,e){return It(r,Ae(t,e))}function Kn(r){return Object.assign({},{top:0,right:0,bottom:0,left:0},r)}function Qn(r,t){return t.reduce(function(e,l){return e[l]=r,e},{})}const Yn={name:"arrow",enabled:!0,phase:"main",fn:function(r){var t,e=r.state,l=r.name,d=r.options,p=e.elements.arrow,w=e.modifiersData.popperOffsets,O=wt(e.placement),x=Ze(O),j=[nt,at].indexOf(O)>=0?"height":"width";if(p&&w){var P=function(W,X){return Kn(typeof(W=typeof W=="function"?W(Object.assign({},X.rects,{placement:X.placement})):W)!="number"?W:Qn(W,Kt))}(d.padding,e),C=Je(p),R=x==="y"?et:nt,L=x==="y"?st:at,I=e.rects.reference[j]+e.rects.reference[x]-w[x]-e.rects.popper[j],M=w[x]-e.rects.reference[x],D=ue(p),V=D?x==="y"?D.clientHeight||0:D.clientWidth||0:0,K=I/2-M/2,B=P[R],z=V-C[j]-P[L],N=V/2-C[j]/2+K,H=fe(B,N,z),G=x;e.modifiersData[l]=((t={})[G]=H,t.centerOffset=H-N,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)))&&Un(t.elements.popper,l)&&(t.elements.arrow=l)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function te(r){return r.split("-")[1]}var No={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Jn(r){var t,e=r.popper,l=r.popperRect,d=r.placement,p=r.variation,w=r.offsets,O=r.position,x=r.gpuAcceleration,j=r.adaptive,P=r.roundOffsets,C=r.isFixed,R=w.x,L=R===void 0?0:R,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"),K=w.hasOwnProperty("y"),B=nt,z=et,N=window;if(j){var H=ue(e),G="clientHeight",W="clientWidth";H===lt(e)&&xt(H=St(e)).position!=="static"&&O==="absolute"&&(G="scrollHeight",W="scrollWidth"),(d===et||(d===nt||d===at)&&p===Qt)&&(z=st,M-=(C&&H===N&&N.visualViewport?N.visualViewport.height:H[G])-l.height,M*=x?1:-1),d!==nt&&(d!==et&&d!==st||p!==Qt)||(B=at,L-=(C&&H===N&&N.visualViewport?N.visualViewport.width:H[W])-l.width,L*=x?1:-1)}var X,J=Object.assign({position:O},j&&No),ct=P===!0?function(bt,it){var ht=bt.x,dt=bt.y,Y=it.devicePixelRatio||1;return{x:Jt(ht*Y)/Y||0,y:Jt(dt*Y)/Y||0}}({x:L,y:M},lt(e)):{x:L,y:M};return L=ct.x,M=ct.y,x?Object.assign({},J,((X={})[z]=K?"0":"",X[B]=V?"0":"",X.transform=(N.devicePixelRatio||1)<=1?"translate("+L+"px, "+M+"px)":"translate3d("+L+"px, "+M+"px, 0)",X)):Object.assign({},J,((t={})[z]=K?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,d=l===void 0||l,p=e.adaptive,w=p===void 0||p,O=e.roundOffsets,x=O===void 0||O,j={placement:wt(t.placement),variation:te(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:d,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,Jn(Object.assign({},j,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:w,roundOffsets:x})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,Jn(Object.assign({},j,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:x})))),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,d=l.scroll,p=d===void 0||d,w=l.resize,O=w===void 0||w,x=lt(t.elements.popper),j=[].concat(t.scrollParents.reference,t.scrollParents.popper);return p&&j.forEach(function(P){P.addEventListener("scroll",e.update,Ce)}),O&&x.addEventListener("resize",e.update,Ce),function(){p&&j.forEach(function(P){P.removeEventListener("scroll",e.update,Ce)}),O&&x.removeEventListener("resize",e.update,Ce)}},data:{}};var $o={left:"right",right:"left",bottom:"top",top:"bottom"};function Te(r){return r.replace(/left|right|bottom|top/g,function(t){return $o[t]})}var Bo={start:"end",end:"start"};function Zn(r){return r.replace(/start|end/g,function(t){return Bo[t]})}function nn(r){var t=lt(r);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function on(r){return Zt(St(r)).left+nn(r).scrollLeft}function rn(r){var t=xt(r),e=t.overflow,l=t.overflowX,d=t.overflowY;return/auto|scroll|overlay|hidden/.test(e+d+l)}function ti(r){return["html","body","#document"].indexOf(yt(r))>=0?r.ownerDocument.body:ut(r)&&rn(r)?r:ti(xe(r))}function he(r,t){var e;t===void 0&&(t=[]);var l=ti(r),d=l===((e=r.ownerDocument)==null?void 0:e.body),p=lt(l),w=d?[p].concat(p.visualViewport||[],rn(l)?l:[]):l,O=t.concat(w);return d?O:O.concat(he(xe(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 ei(r,t,e){return t===We?sn(function(l,d){var p=lt(l),w=St(l),O=p.visualViewport,x=w.clientWidth,j=w.clientHeight,P=0,C=0;if(O){x=O.width,j=O.height;var R=Wn();(R||!R&&d==="fixed")&&(P=O.offsetLeft,C=O.offsetTop)}return{width:x,height:j,x:P+on(l),y:C}}(r,e)):Mt(t)?function(l,d){var p=Zt(l,!1,d==="fixed");return p.top=p.top+l.clientTop,p.left=p.left+l.clientLeft,p.bottom=p.top+l.clientHeight,p.right=p.left+l.clientWidth,p.width=l.clientWidth,p.height=l.clientHeight,p.x=p.left,p.y=p.top,p}(t,e):sn(function(l){var d,p=St(l),w=nn(l),O=(d=l.ownerDocument)==null?void 0:d.body,x=It(p.scrollWidth,p.clientWidth,O?O.scrollWidth:0,O?O.clientWidth:0),j=It(p.scrollHeight,p.clientHeight,O?O.scrollHeight:0,O?O.clientHeight:0),P=-w.scrollLeft+on(l),C=-w.scrollTop;return xt(O||p).direction==="rtl"&&(P+=It(p.clientWidth,O?O.clientWidth:0)-x),{width:x,height:j,x:P,y:C}}(St(r)))}function ni(r){var t,e=r.reference,l=r.element,d=r.placement,p=d?wt(d):null,w=d?te(d):null,O=e.x+e.width/2-l.width/2,x=e.y+e.height/2-l.height/2;switch(p){case et:t={x:O,y:e.y-l.height};break;case st:t={x:O,y:e.y+e.height};break;case at:t={x:e.x+e.width,y:x};break;case nt:t={x:e.x-l.width,y:x};break;default:t={x:e.x,y:e.y}}var j=p?Ze(p):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 Qt: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,d=l===void 0?r.placement:l,p=e.strategy,w=p===void 0?r.strategy:p,O=e.boundary,x=O===void 0?In:O,j=e.rootBoundary,P=j===void 0?We:j,C=e.elementContext,R=C===void 0?Yt:C,L=e.altBoundary,I=L!==void 0&&L,M=e.padding,D=M===void 0?0:M,V=Kn(typeof D!="number"?D:Qn(D,Kt)),K=R===Yt?Dn:Yt,B=r.rects.popper,z=r.elements[I?K:R],N=function(it,ht,dt,Y){var Ot=ht==="clippingParents"?function(q){var ot=he(xe(q)),pt=["absolute","fixed"].indexOf(xt(q).position)>=0&&ut(q)?ue(q):q;return Mt(pt)?ot.filter(function(kt){return Mt(kt)&&Un(kt,pt)&&yt(kt)!=="body"}):[]}(it):[].concat(ht),Et=[].concat(Ot,[dt]),oe=Et[0],Z=Et.reduce(function(q,ot){var pt=ei(it,ot,Y);return q.top=It(pt.top,q.top),q.right=Ae(pt.right,q.right),q.bottom=Ae(pt.bottom,q.bottom),q.left=It(pt.left,q.left),q},ei(it,oe,Y));return Z.width=Z.right-Z.left,Z.height=Z.bottom-Z.top,Z.x=Z.left,Z.y=Z.top,Z}(Mt(z)?z:z.contextElement||St(r.elements.popper),x,P,w),H=Zt(r.elements.reference),G=ni({reference:H,element:B,strategy:"absolute",placement:d}),W=sn(Object.assign({},B,G)),X=R===Yt?W:H,J={top:N.top-X.top+V.top,bottom:X.bottom-N.bottom+V.bottom,left:N.left-X.left+V.left,right:X.right-N.right+V.right},ct=r.modifiersData.offset;if(R===Yt&&ct){var bt=ct[d];Object.keys(J).forEach(function(it){var ht=[at,st].indexOf(it)>=0?1:-1,dt=[et,st].indexOf(it)>=0?"y":"x";J[it]+=bt[dt]*ht})}return J}function Ho(r,t){t===void 0&&(t={});var e=t,l=e.placement,d=e.boundary,p=e.rootBoundary,w=e.padding,O=e.flipVariations,x=e.allowedAutoPlacements,j=x===void 0?qe:x,P=te(l),C=P?O?Ue:Ue.filter(function(I){return te(I)===P}):Kt,R=C.filter(function(I){return j.indexOf(I)>=0});R.length===0&&(R=C);var L=R.reduce(function(I,M){return I[M]=ee(r,{placement:M,boundary:d,rootBoundary:p,padding:w})[wt(M)],I},{});return Object.keys(L).sort(function(I,M){return L[I]-L[M]})}const ii={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 d=e.mainAxis,p=d===void 0||d,w=e.altAxis,O=w===void 0||w,x=e.fallbackPlacements,j=e.padding,P=e.boundary,C=e.rootBoundary,R=e.altBoundary,L=e.flipVariations,I=L===void 0||L,M=e.allowedAutoPlacements,D=t.options.placement,V=wt(D),K=x||(V!==D&&I?function(q){if(wt(q)===Ee)return[];var ot=Te(q);return[Zn(q),ot,Zn(ot)]}(D):[Te(D)]),B=[D].concat(K).reduce(function(q,ot){return q.concat(wt(ot)===Ee?Ho(t,{placement:ot,boundary:P,rootBoundary:C,padding:j,flipVariations:I,allowedAutoPlacements:M}):ot)},[]),z=t.rects.reference,N=t.rects.popper,H=new Map,G=!0,W=B[0],X=0;X<B.length;X++){var J=B[X],ct=wt(J),bt=te(J)===Lt,it=[et,st].indexOf(ct)>=0,ht=it?"width":"height",dt=ee(t,{placement:J,boundary:P,rootBoundary:C,altBoundary:R,padding:j}),Y=it?bt?at:nt:bt?st:et;z[ht]>N[ht]&&(Y=Te(Y));var Ot=Te(Y),Et=[];if(p&&Et.push(dt[ct]<=0),O&&Et.push(dt[Y]<=0,dt[Ot]<=0),Et.every(function(q){return q})){W=J,G=!1;break}H.set(J,Et)}if(G)for(var oe=function(q){var ot=B.find(function(pt){var kt=H.get(pt);if(kt)return kt.slice(0,q).every(function(Re){return Re})});if(ot)return W=ot,"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 oi(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 ri(r){return[et,at,st,nt].some(function(t){return r[t]>=0})}const si={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(r){var t=r.state,e=r.name,l=t.rects.reference,d=t.rects.popper,p=t.modifiersData.preventOverflow,w=ee(t,{elementContext:"reference"}),O=ee(t,{altBoundary:!0}),x=oi(w,l),j=oi(O,d,p),P=ri(x),C=ri(j);t.modifiersData[e]={referenceClippingOffsets:x,popperEscapeOffsets:j,isReferenceHidden:P,hasPopperEscaped:C},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":P,"data-popper-escaped":C})}},ai={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(r){var t=r.state,e=r.options,l=r.name,d=e.offset,p=d===void 0?[0,0]:d,w=qe.reduce(function(P,C){return P[C]=function(R,L,I){var M=wt(R),D=[nt,et].indexOf(M)>=0?-1:1,V=typeof I=="function"?I(Object.assign({},L,{placement:R})):I,K=V[0],B=V[1];return K=K||0,B=(B||0)*D,[nt,at].indexOf(M)>=0?{x:B,y:K}:{x:K,y:B}}(C,t.rects,p),P},{}),O=w[t.placement],x=O.x,j=O.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=x,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]=ni({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},li={name:"preventOverflow",enabled:!0,phase:"main",fn:function(r){var t=r.state,e=r.options,l=r.name,d=e.mainAxis,p=d===void 0||d,w=e.altAxis,O=w!==void 0&&w,x=e.boundary,j=e.rootBoundary,P=e.altBoundary,C=e.padding,R=e.tether,L=R===void 0||R,I=e.tetherOffset,M=I===void 0?0:I,D=ee(t,{boundary:x,rootBoundary:j,padding:C,altBoundary:P}),V=wt(t.placement),K=te(t.placement),B=!K,z=Ze(V),N=z==="x"?"y":"x",H=t.modifiersData.popperOffsets,G=t.rects.reference,W=t.rects.popper,X=typeof M=="function"?M(Object.assign({},t.rects,{placement:t.placement})):M,J=typeof X=="number"?{mainAxis:X,altAxis:X}:Object.assign({mainAxis:0,altAxis:0},X),ct=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,bt={x:0,y:0};if(H){if(p){var it,ht=z==="y"?et:nt,dt=z==="y"?st:at,Y=z==="y"?"height":"width",Ot=H[z],Et=Ot+D[ht],oe=Ot-D[dt],Z=L?-W[Y]/2:0,q=K===Lt?G[Y]:W[Y],ot=K===Lt?-W[Y]:-G[Y],pt=t.elements.arrow,kt=L&&pt?Je(pt):{width:0,height:0},Re=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},qi=Re[ht],Ki=Re[dt],Ne=fe(0,G[Y],kt[Y]),gs=B?G[Y]/2-Z-Ne-qi-J.mainAxis:q-Ne-qi-J.mainAxis,_s=B?-G[Y]/2+Z+Ne+Ki+J.mainAxis:ot+Ne+Ki+J.mainAxis,yn=t.elements.arrow&&ue(t.elements.arrow),ms=yn?z==="y"?yn.clientTop||0:yn.clientLeft||0:0,Qi=(it=ct?.[z])!=null?it:0,bs=Ot+_s-Qi,Yi=fe(L?Ae(Et,Ot+gs-Qi-ms):Et,Ot,L?It(oe,bs):oe);H[z]=Yi,bt[z]=Yi-Ot}if(O){var Ji,vs=z==="x"?et:nt,ys=z==="x"?st:at,Ft=H[N],$e=N==="y"?"height":"width",Zi=Ft+D[vs],to=Ft-D[ys],wn=[et,nt].indexOf(V)!==-1,eo=(Ji=ct?.[N])!=null?Ji:0,no=wn?Zi:Ft-G[$e]-W[$e]-eo+J.altAxis,io=wn?Ft+G[$e]+W[$e]-eo-J.altAxis:to,oo=L&&wn?function(ws,Os,On){var ro=fe(ws,Os,On);return ro>On?On:ro}(no,Ft,io):fe(L?no:Zi,Ft,L?io:to);H[N]=oo,bt[N]=oo-Ft}t.modifiersData[l]=bt}},requiresIfExists:["offset"]};function zo(r,t,e){e===void 0&&(e=!1);var l,d,p=ut(t),w=ut(t)&&function(C){var R=C.getBoundingClientRect(),L=Jt(R.width)/C.offsetWidth||1,I=Jt(R.height)/C.offsetHeight||1;return L!==1||I!==1}(t),O=St(t),x=Zt(r,w,e),j={scrollLeft:0,scrollTop:0},P={x:0,y:0};return(p||!p&&!e)&&((yt(t)!=="body"||rn(O))&&(j=(l=t)!==lt(l)&&ut(l)?{scrollLeft:(d=l).scrollLeft,scrollTop:d.scrollTop}:nn(l)),ut(t)?((P=Zt(t,!0)).x+=t.clientLeft,P.y+=t.clientTop):O&&(P.x=on(O))),{x:x.left+j.scrollLeft-P.x,y:x.top+j.scrollTop-P.y,width:x.width,height:x.height}}function Fo(r){var t=new Map,e=new Set,l=[];function d(p){e.add(p.name),[].concat(p.requires||[],p.requiresIfExists||[]).forEach(function(w){if(!e.has(w)){var O=t.get(w);O&&d(O)}}),l.push(p)}return r.forEach(function(p){t.set(p.name,p)}),r.forEach(function(p){e.has(p.name)||d(p)}),l}var ci={placement:"bottom",modifiers:[],strategy:"absolute"};function ui(){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 je(r){r===void 0&&(r={});var t=r,e=t.defaultModifiers,l=e===void 0?[]:e,d=t.defaultOptions,p=d===void 0?ci:d;return function(w,O,x){x===void 0&&(x=p);var j,P,C={placement:"bottom",orderedModifiers:[],options:Object.assign({},ci,p),modifiersData:{},elements:{reference:w,popper:O},attributes:{},styles:{}},R=[],L=!1,I={state:C,setOptions:function(D){var V=typeof D=="function"?D(C.options):D;M(),C.options=Object.assign({},p,C.options,V),C.scrollParents={reference:Mt(w)?he(w):w.contextElement?he(w.contextElement):[],popper:he(O)};var K,B,z=function(N){var H=Fo(N);return Vn.reduce(function(G,W){return G.concat(H.filter(function(X){return X.phase===W}))},[])}((K=[].concat(l,C.options.modifiers),B=K.reduce(function(N,H){var G=N[H.name];return N[H.name]=G?Object.assign({},G,H,{options:Object.assign({},G.options,H.options),data:Object.assign({},G.data,H.data)}):H,N},{}),Object.keys(B).map(function(N){return B[N]})));return C.orderedModifiers=z.filter(function(N){return N.enabled}),C.orderedModifiers.forEach(function(N){var H=N.name,G=N.options,W=G===void 0?{}:G,X=N.effect;if(typeof X=="function"){var J=X({state:C,name:H,instance:I,options:W});R.push(J||function(){})}}),I.update()},forceUpdate:function(){if(!L){var D=C.elements,V=D.reference,K=D.popper;if(ui(V,K)){C.rects={reference:zo(V,ue(K),C.options.strategy==="fixed"),popper:Je(K)},C.reset=!1,C.placement=C.options.placement,C.orderedModifiers.forEach(function(X){return C.modifiersData[X.name]=Object.assign({},X.data)});for(var B=0;B<C.orderedModifiers.length;B++)if(C.reset!==!0){var z=C.orderedModifiers[B],N=z.fn,H=z.options,G=H===void 0?{}:H,W=z.name;typeof N=="function"&&(C=N({state:C,options:G,name:W,instance:I})||C)}else C.reset=!1,B=-1}}},update:(j=function(){return new Promise(function(D){I.forceUpdate(),D(C)})},function(){return P||(P=new Promise(function(D){Promise.resolve().then(function(){P=void 0,D(j())})})),P}),destroy:function(){M(),L=!0}};if(!ui(w,O))return I;function M(){R.forEach(function(D){return D()}),R=[]}return I.setOptions(x).then(function(D){!L&&x.onFirstUpdate&&x.onFirstUpdate(D)}),I}}var Go=je(),Xo=je({defaultModifiers:[en,an,tn,Qe]}),ln=je({defaultModifiers:[en,an,tn,Qe,ai,ii,li,Yn,si]});const fi=Object.freeze(Object.defineProperty({__proto__:null,afterMain:zn,afterRead:$n,afterWrite:Xn,applyStyles:Qe,arrow:Yn,auto:Ee,basePlacements:Kt,beforeMain:Bn,beforeRead:Rn,beforeWrite:Fn,bottom:st,clippingParents:In,computeStyles:tn,createPopper:ln,createPopperBase:Go,createPopperLite:Xo,detectOverflow:ee,end:Qt,eventListeners:en,flip:ii,hide:si,left:nt,main:Hn,modifierPhases:Vn,offset:ai,placements:qe,popper:Yt,popperGenerator:je,popperOffsets:an,preventOverflow:li,read:Nn,reference:Dn,right:at,start:Lt,top:et,variationPlacements:Ue,viewport:We,write:Gn},Symbol.toStringTag,{value:"Module"})),hi="dropdown",Dt=".bs.dropdown",cn=".data-api",Vo="ArrowUp",di="ArrowDown",Wo=`hide${Dt}`,Uo=`hidden${Dt}`,qo=`show${Dt}`,Ko=`shown${Dt}`,pi=`click${Dt}${cn}`,gi=`keydown${Dt}${cn}`,Qo=`keyup${Dt}${cn}`,ne="show",Rt='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',Yo=`${Rt}.${ne}`,Se=".dropdown-menu",Jo=c()?"top-end":"top-start",Zo=c()?"top-start":"top-end",tr=c()?"bottom-end":"bottom-start",er=c()?"bottom-start":"bottom-end",nr=c()?"left-start":"right-start",ir=c()?"right-start":"left-start",or={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},rr={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class mt extends _t{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 or}static get DefaultType(){return rr}static get NAME(){return hi}toggle(){return this._isShown()?this.hide():this.show()}show(){if(h(this._element)||this._isShown())return;const t={relatedTarget:this._element};if(!A.trigger(this._element,qo,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",i);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(ne),this._element.classList.add(ne),A.trigger(this._element,Ko,t)}}hide(){if(h(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,Wo,t).defaultPrevented){if("ontouchstart"in document.documentElement)for(const e of[].concat(...document.body.children))A.off(e,"mouseover",i);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,Uo,t)}}_getConfig(t){if(typeof(t=super._getConfig(t)).reference=="object"&&!_(t.reference)&&typeof t.reference.getBoundingClientRect!="function")throw new TypeError(`${hi.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return t}_createPopper(){if(fi===void 0)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let t=this._element;this._config.reference==="parent"?t=this._parent:_(this._config.reference)?t=b(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 nr;if(t.classList.contains("dropstart"))return ir;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?Zo:Jo:e?er:tr}_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,...E(this._config.popperConfig,[t])}}_selectMenuItem({key:t,target:e}){const l=k.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter(d=>g(d));l.length&&tt(l,e,t===di,!l.includes(e)).focus()}static jQueryInterface(t){return this.each(function(){const e=mt.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(Yo);for(const l of e){const d=mt.getInstance(l);if(!d||d._config.autoClose===!1)continue;const p=t.composedPath(),w=p.includes(d._menu);if(p.includes(d._element)||d._config.autoClose==="inside"&&!w||d._config.autoClose==="outside"&&w||d._menu.contains(t.target)&&(t.type==="keyup"&&t.key==="Tab"||/input|select|option|textarea|form/i.test(t.target.tagName)))continue;const O={relatedTarget:d._element};t.type==="click"&&(O.clickEvent=t),d._completeHide(O)}}static dataApiKeydownHandler(t){const e=/input|textarea/i.test(t.target.tagName),l=t.key==="Escape",d=[Vo,di].includes(t.key);if(!d&&!l||e&&!l)return;t.preventDefault();const p=this.matches(Rt)?this:k.prev(this,Rt)[0]||k.next(this,Rt)[0]||k.findOne(Rt,t.delegateTarget.parentNode),w=mt.getOrCreateInstance(p);if(d)return t.stopPropagation(),w.show(),void w._selectMenuItem(t);w._isShown()&&(t.stopPropagation(),w.hide(),p.focus())}}A.on(document,gi,Rt,mt.dataApiKeydownHandler),A.on(document,gi,Se,mt.dataApiKeydownHandler),A.on(document,pi,mt.clearMenus),A.on(document,Qo,mt.clearMenus),A.on(document,pi,Rt,function(r){r.preventDefault(),mt.getOrCreateInstance(this).toggle()}),y(mt);const _i="backdrop",mi="show",bi=`mousedown.bs.${_i}`,sr={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},ar={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class vi extends re{constructor(t){super(),this._config=this._getConfig(t),this._isAppended=!1,this._element=null}static get Default(){return sr}static get DefaultType(){return ar}static get NAME(){return _i}show(t){if(!this._config.isVisible)return void E(t);this._append();const e=this._getElement();this._config.isAnimated&&n(e),e.classList.add(mi),this._emulateAnimation(()=>{E(t)})}hide(t){this._config.isVisible?(this._getElement().classList.remove(mi),this._emulateAnimation(()=>{this.dispose(),E(t)})):E(t)}dispose(){this._isAppended&&(A.off(this._element,bi),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=b(t.rootElement),t}_append(){if(this._isAppended)return;const t=this._getElement();this._config.rootElement.append(t),A.on(t,bi,()=>{E(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(t){T(t,this._getElement(),this._config.isAnimated)}}const Pe=".bs.focustrap",lr=`focusin${Pe}`,cr=`keydown.tab${Pe}`,yi="backward",ur={autofocus:!0,trapElement:null},fr={autofocus:"boolean",trapElement:"element"};class wi extends re{constructor(t){super(),this._config=this._getConfig(t),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return ur}static get DefaultType(){return fr}static get NAME(){return"focustrap"}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),A.off(document,Pe),A.on(document,lr,t=>this._handleFocusin(t)),A.on(document,cr,t=>this._handleKeydown(t)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,A.off(document,Pe))}_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===yi?l[l.length-1].focus():l[0].focus()}_handleKeydown(t){t.key==="Tab"&&(this._lastTabNavDirection=t.shiftKey?yi:"forward")}}const Oi=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",Ei=".sticky-top",ke="padding-right",Ai="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,ke,e=>e+t),this._setElementAttributes(Oi,ke,e=>e+t),this._setElementAttributes(Ei,Ai,e=>e-t)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,ke),this._resetElementAttributes(Oi,ke),this._resetElementAttributes(Ei,Ai)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(t,e,l){const d=this.getWidth();this._applyManipulationCallback(t,p=>{if(p!==this._element&&window.innerWidth>p.clientWidth+d)return;this._saveInitialAttribute(p,e);const w=window.getComputedStyle(p).getPropertyValue(e);p.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 d=At.getDataAttribute(l,e);d!==null?(At.removeDataAttribute(l,e),l.style.setProperty(e,d)):l.style.removeProperty(e)})}_applyManipulationCallback(t,e){if(_(t))e(t);else for(const l of k.find(t,this._element))e(l)}}const ft=".bs.modal",hr=`hide${ft}`,dr=`hidePrevented${ft}`,xi=`hidden${ft}`,Ci=`show${ft}`,pr=`shown${ft}`,gr=`resize${ft}`,_r=`click.dismiss${ft}`,mr=`mousedown.dismiss${ft}`,br=`keydown.dismiss${ft}`,vr=`click${ft}.data-api`,Ti="modal-open",ji="show",fn="modal-static",yr={backdrop:!0,focus:!0,keyboard:!0},wr={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class Nt extends _t{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 yr}static get DefaultType(){return wr}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,Ci,{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(Ti),this._adjustDialog(),this._backdrop.show(()=>this._showElement(t)))}hide(){this._isShown&&!this._isTransitioning&&(A.trigger(this._element,hr).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(ji),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated())))}dispose(){A.off(window,ft),A.off(this._dialog,ft),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new vi({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new wi({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),n(this._element),this._element.classList.add(ji),this._queueCallback(()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,A.trigger(this._element,pr,{relatedTarget:t})},this._dialog,this._isAnimated())}_addEventListeners(){A.on(this._element,br,t=>{t.key==="Escape"&&(this._config.keyboard?this.hide():this._triggerBackdropTransition())}),A.on(window,gr,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),A.on(this._element,mr,t=>{A.one(this._element,_r,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(Ti),this._resetAdjustments(),this._scrollBar.reset(),A.trigger(this._element,xi)})}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){if(A.trigger(this._element,dr).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 d=c()?"paddingLeft":"paddingRight";this._element.style[d]=`${e}px`}if(!l&&t){const d=c()?"paddingRight":"paddingLeft";this._element.style[d]=`${e}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(t,e){return this.each(function(){const l=Nt.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,vr,'[data-bs-toggle="modal"]',function(r){const t=k.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&r.preventDefault(),A.one(t,Ci,l=>{l.defaultPrevented||A.one(t,xi,()=>{g(this)&&this.focus()})});const e=k.findOne(".modal.show");e&&Nt.getInstance(e).hide(),Nt.getOrCreateInstance(t).toggle(this)}),be(Nt),y(Nt);const Ct=".bs.offcanvas",Si=".data-api",Or=`load${Ct}${Si}`,Pi="show",ki="showing",Li="hiding",Mi=".offcanvas.show",Er=`show${Ct}`,Ar=`shown${Ct}`,xr=`hide${Ct}`,Ii=`hidePrevented${Ct}`,Di=`hidden${Ct}`,Cr=`resize${Ct}`,Tr=`click${Ct}${Si}`,jr=`keydown.dismiss${Ct}`,Sr={backdrop:!0,keyboard:!0,scroll:!1},Pr={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class Tt extends _t{constructor(t,e){super(t,e),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return Sr}static get DefaultType(){return Pr}static get NAME(){return"offcanvas"}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||A.trigger(this._element,Er,{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(ki),this._queueCallback(()=>{this._config.scroll&&!this._config.backdrop||this._focustrap.activate(),this._element.classList.add(Pi),this._element.classList.remove(ki),A.trigger(this._element,Ar,{relatedTarget:t})},this._element,!0))}hide(){this._isShown&&(A.trigger(this._element,xr).defaultPrevented||(this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(Li),this._backdrop.hide(),this._queueCallback(()=>{this._element.classList.remove(Pi,Li),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||new un().reset(),A.trigger(this._element,Di)},this._element,!0)))}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const t=!!this._config.backdrop;return new vi({className:"offcanvas-backdrop",isVisible:t,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:t?()=>{this._config.backdrop!=="static"?this.hide():A.trigger(this._element,Ii)}:null})}_initializeFocusTrap(){return new wi({trapElement:this._element})}_addEventListeners(){A.on(this._element,jr,t=>{t.key==="Escape"&&(this._config.keyboard?this.hide():A.trigger(this._element,Ii))})}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,Tr,'[data-bs-toggle="offcanvas"]',function(r){const t=k.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&r.preventDefault(),h(this))return;A.one(t,Di,()=>{g(this)&&this.focus()});const e=k.findOne(Mi);e&&e!==t&&Tt.getInstance(e).hide(),Tt.getOrCreateInstance(t).toggle(this)}),A.on(window,Or,()=>{for(const r of k.find(Mi))Tt.getOrCreateInstance(r).show()}),A.on(window,Cr,()=>{for(const r of k.find("[aria-modal][class*=show][class*=offcanvas-]"))getComputedStyle(r).position!=="fixed"&&Tt.getOrCreateInstance(r).hide()}),be(Tt),y(Tt);const Ri={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],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:[]},kr=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),Lr=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,Mr=(r,t)=>{const e=r.nodeName.toLowerCase();return t.includes(e)?!kr.has(e)||!!Lr.test(r.nodeValue):t.filter(l=>l instanceof RegExp).some(l=>l.test(e))},Ir={allowList:Ri,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},Dr={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},Rr={entry:"(string|element|function|null)",selector:"(string|element)"};class Nr extends re{constructor(t){super(),this._config=this._getConfig(t)}static get Default(){return Ir}static get DefaultType(){return Dr}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[d,p]of Object.entries(this._config.content))this._setContent(t,p,d);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},Rr)}_setContent(t,e,l){const d=k.findOne(l,t);d&&((e=this._resolvePossibleFunction(e))?_(e)?this._putElementInTemplate(b(e),d):this._config.html?d.innerHTML=this._maybeSanitize(e):d.textContent=e:d.remove())}_maybeSanitize(t){return this._config.sanitize?function(e,l,d){if(!e.length)return e;if(d&&typeof d=="function")return d(e);const p=new window.DOMParser().parseFromString(e,"text/html"),w=[].concat(...p.body.querySelectorAll("*"));for(const O of w){const x=O.nodeName.toLowerCase();if(!Object.keys(l).includes(x)){O.remove();continue}const j=[].concat(...O.attributes),P=[].concat(l["*"]||[],l[x]||[]);for(const C of j)Mr(C,P)||O.removeAttribute(C.nodeName)}return p.body.innerHTML}(t,this._config.allowList,this._config.sanitizeFn):t}_resolvePossibleFunction(t){return E(t,[this])}_putElementInTemplate(t,e){if(this._config.html)return e.innerHTML="",void e.append(t);e.textContent=t.textContent}}const $r=new Set(["sanitize","allowList","sanitizeFn"]),hn="fade",Le="show",Ni=".modal",$i="hide.bs.modal",de="hover",dn="focus",Br={AUTO:"auto",TOP:"top",RIGHT:c()?"left":"right",BOTTOM:"bottom",LEFT:c()?"right":"left"},Hr={allowList:Ri,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"},zr={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 $t extends _t{constructor(t,e){if(fi===void 0)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");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 Hr}static get DefaultType(){return zr}static get NAME(){return"tooltip"}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){this._isEnabled&&(this._activeTrigger.click=!this._activeTrigger.click,this._isShown()?this._leave():this._enter())}dispose(){clearTimeout(this._timeout),A.off(this._element.closest(Ni),$i,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=(a(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:d}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(d.append(l),A.trigger(this._element,this.constructor.eventName("inserted"))),this._popper=this._createPopper(l),l.classList.add(Le),"ontouchstart"in document.documentElement)for(const p of[].concat(...document.body.children))A.on(p,"mouseover",i);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(Le),"ontouchstart"in document.documentElement)for(const t of[].concat(...document.body.children))A.off(t,"mouseover",i);this._activeTrigger.click=!1,this._activeTrigger[dn]=!1,this._activeTrigger[de]=!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(hn,Le),e.classList.add(`bs-${this.constructor.NAME}-auto`);const l=(d=>{do d+=Math.floor(1e6*Math.random());while(document.getElementById(d));return d})(this.constructor.NAME).toString();return e.setAttribute("id",l),this._isAnimated()&&e.classList.add(hn),e}setContent(t){this._newContent=t,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(t){return this._templateFactory?this._templateFactory.changeContent(t):this._templateFactory=new Nr({...this._config,content:t,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{".tooltip-inner":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(hn)}_isShown(){return this.tip&&this.tip.classList.contains(Le)}_createPopper(t){const e=E(this._config.placement,[this,t,this._element]),l=Br[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 E(t,[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,...E(this._config.popperConfig,[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=>{this._initializeOnDelegatedTarget(l).toggle()});else if(e!=="manual"){const l=e===de?this.constructor.eventName("mouseenter"):this.constructor.eventName("focusin"),d=e===de?this.constructor.eventName("mouseleave"):this.constructor.eventName("focusout");A.on(this._element,l,this._config.selector,p=>{const w=this._initializeOnDelegatedTarget(p);w._activeTrigger[p.type==="focusin"?dn:de]=!0,w._enter()}),A.on(this._element,d,this._config.selector,p=>{const w=this._initializeOnDelegatedTarget(p);w._activeTrigger[p.type==="focusout"?dn:de]=w._element.contains(p.relatedTarget),w._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},A.on(this._element.closest(Ni),$i,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))$r.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:b(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=$t.getOrCreateInstance(this,t);if(typeof t=="string"){if(e[t]===void 0)throw new TypeError(`No method named "${t}"`);e[t]()}})}}y($t);const Fr={...$t.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"},Gr={...$t.DefaultType,content:"(null|string|element|function)"};class Me extends $t{static get Default(){return Fr}static get DefaultType(){return Gr}static get NAME(){return"popover"}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{".popover-header":this._getTitle(),".popover-body":this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(t){return this.each(function(){const e=Me.getOrCreateInstance(this,t);if(typeof t=="string"){if(e[t]===void 0)throw new TypeError(`No method named "${t}"`);e[t]()}})}}y(Me);const pn=".bs.scrollspy",Xr=`activate${pn}`,Bi=`click${pn}`,Vr=`load${pn}.data-api`,ie="active",gn="[href]",Hi=".nav-link",Wr=`${Hi}, .nav-item > ${Hi}, .list-group-item`,Ur={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},qr={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class pe extends _t{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 Ur}static get DefaultType(){return qr}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=b(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,Bi),A.on(this._config.target,Bi,gn,t=>{const e=this._observableSections.get(t.target.hash);if(e){t.preventDefault();const l=this._rootElement||window,d=e.offsetTop-this._element.offsetTop;if(l.scrollTo)return void l.scrollTo({top:d,behavior:"smooth"});l.scrollTop=d}}))}_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))},d=(this._rootElement||document.documentElement).scrollTop,p=d>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=d;for(const w of t){if(!w.isIntersecting){this._activeTarget=null,this._clearActiveClass(e(w));continue}const O=w.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(p&&O){if(l(w),!d)return}else p||O||l(w)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const t=k.find(gn,this._config.target);for(const e of t){if(!e.hash||h(e))continue;const l=k.findOne(decodeURI(e.hash),this._element);g(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,Xr,{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,Wr))l.classList.add(ie)}_clearActiveClass(t){t.classList.remove(ie);const e=k.find(`${gn}.${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,Vr,()=>{for(const r of k.find('[data-bs-spy="scroll"]'))pe.getOrCreateInstance(r)}),y(pe);const Bt=".bs.tab",Kr=`hide${Bt}`,Qr=`hidden${Bt}`,Yr=`show${Bt}`,Jr=`shown${Bt}`,Zr=`click${Bt}`,ts=`keydown${Bt}`,es=`load${Bt}`,ns="ArrowLeft",zi="ArrowRight",is="ArrowUp",Fi="ArrowDown",_n="Home",Gi="End",Ht="active",Xi="fade",mn="show",Vi=".dropdown-toggle",bn=`:not(${Vi})`,Wi='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',vn=`.nav-link${bn}, .list-group-item${bn}, [role="tab"]${bn}, ${Wi}`,os=`.${Ht}[data-bs-toggle="tab"], .${Ht}[data-bs-toggle="pill"], .${Ht}[data-bs-toggle="list"]`;class zt extends _t{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,ts,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,Kr,{relatedTarget:t}):null;A.trigger(t,Yr,{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,Jr,{relatedTarget:e})):t.classList.add(mn)},t,t.classList.contains(Xi)))}_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,Qr,{relatedTarget:e})):t.classList.remove(mn)},t,t.classList.contains(Xi)))}_keydown(t){if(![ns,zi,is,Fi,_n,Gi].includes(t.key))return;t.stopPropagation(),t.preventDefault();const e=this._getChildren().filter(d=>!h(d));let l;if([_n,Gi].includes(t.key))l=e[t.key===_n?0:e.length-1];else{const d=[zi,Fi].includes(t.key);l=tt(e,t.target,d,!0)}l&&(l.focus({preventScroll:!0}),zt.getOrCreateInstance(l).show())}_getChildren(){return k.find(vn,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 d=(p,w)=>{const O=k.findOne(p,l);O&&O.classList.toggle(w,e)};d(Vi,Ht),d(".dropdown-menu",mn),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(vn)?t:k.findOne(vn,t)}_getOuterElement(t){return t.closest(".nav-item, .list-group-item")||t}static jQueryInterface(t){return this.each(function(){const e=zt.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,Zr,Wi,function(r){["A","AREA"].includes(this.tagName)&&r.preventDefault(),h(this)||zt.getOrCreateInstance(this).show()}),A.on(window,es,()=>{for(const r of k.find(os))zt.getOrCreateInstance(r)}),y(zt);const Pt=".bs.toast",rs=`mouseover${Pt}`,ss=`mouseout${Pt}`,as=`focusin${Pt}`,ls=`focusout${Pt}`,cs=`hide${Pt}`,us=`hidden${Pt}`,fs=`show${Pt}`,hs=`shown${Pt}`,Ui="hide",Ie="show",De="showing",ds={animation:"boolean",autohide:"boolean",delay:"number"},ps={animation:!0,autohide:!0,delay:5e3};class ge extends _t{constructor(t,e){super(t,e),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return ps}static get DefaultType(){return ds}static get NAME(){return"toast"}show(){A.trigger(this._element,fs).defaultPrevented||(this._clearTimeout(),this._config.animation&&this._element.classList.add("fade"),this._element.classList.remove(Ui),n(this._element),this._element.classList.add(Ie,De),this._queueCallback(()=>{this._element.classList.remove(De),A.trigger(this._element,hs),this._maybeScheduleHide()},this._element,this._config.animation))}hide(){this.isShown()&&(A.trigger(this._element,cs).defaultPrevented||(this._element.classList.add(De),this._queueCallback(()=>{this._element.classList.add(Ui),this._element.classList.remove(De,Ie),A.trigger(this._element,us)},this._element,this._config.animation)))}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(Ie),super.dispose()}isShown(){return this._element.classList.contains(Ie)}_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,rs,t=>this._onInteraction(t,!0)),A.on(this._element,ss,t=>this._onInteraction(t,!1)),A.on(this._element,as,t=>this._onInteraction(t,!0)),A.on(this._element,ls,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 be(ge),y(ge),{Alert:se,Button:ae,Carousel:Wt,Collapse:qt,Dropdown:mt,Modal:Nt,Offcanvas:Tt,Popover:Me,ScrollSpy:pe,Tab:zt,Toast:ge,Tooltip:$t}});/*! JsBarcode v3.11.6 | (c) Johan Lindell | MIT license */(function(S){var u={};function m(f){if(u[f])return u[f].exports;var v=u[f]={i:f,l:!1,exports:{}};return S[f].call(v.exports,v,v.exports,m),v.l=!0,v.exports}m.m=S,m.c=u,m.d=function(f,v,_){m.o(f,v)||Object.defineProperty(f,v,{enumerable:!0,get:_})},m.r=function(f){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(f,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(f,"__esModule",{value:!0})},m.t=function(f,v){if(1&v&&(f=m(f)),8&v||4&v&&typeof f=="object"&&f&&f.__esModule)return f;var _=Object.create(null);if(m.r(_),Object.defineProperty(_,"default",{enumerable:!0,value:f}),2&v&&typeof f!="string")for(var b in f)m.d(_,b,(function(g){return f[g]}).bind(null,b));return _},m.n=function(f){var v=f&&f.__esModule?function(){return f.default}:function(){return f};return m.d(v,"a",v),v},m.o=function(f,v){return Object.prototype.hasOwnProperty.call(f,v)},m.p="",m(m.s=15)})([function(S,u,m){"use strict";Object.defineProperty(u,"__esModule",{value:!0}),u.default=function f(v,_){(function(b,g){if(!(b instanceof g))throw new TypeError("Cannot call a class as a function")})(this,f),this.data=v,this.text=_.text||v,this.options=_}},function(S,u,m){"use strict";var f;function v(n,o,s){return o in n?Object.defineProperty(n,o,{value:s,enumerable:!0,configurable:!0,writable:!0}):n[o]=s,n}Object.defineProperty(u,"__esModule",{value:!0});var _=u.SET_A=0,b=u.SET_B=1,g=u.SET_C=2,h=(u.SHIFT=98,u.START_A=103),a=u.START_B=104,i=u.START_C=105;u.MODULO=103,u.STOP=106,u.FNC1=207,u.SET_BY_CODE=(v(f={},h,_),v(f,a,b),v(f,i,g),f),u.SWAP={101:_,100:b,99:g},u.A_START_CHAR=String.fromCharCode(208),u.B_START_CHAR=String.fromCharCode(209),u.C_START_CHAR=String.fromCharCode(210),u.A_CHARS="[\0-_\xC8-\xCF]",u.B_CHARS="[ -\x7F\xC8-\xCF]",u.C_CHARS="(\xCF*[0-9]{2}\xCF*)",u.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,u,m){"use strict";Object.defineProperty(u,"__esModule",{value:!0}),u.SIDE_BIN="101",u.MIDDLE_BIN="01010",u.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"]},u.EAN2_STRUCTURE=["LL","LG","GL","GG"],u.EAN5_STRUCTURE=["GGLLL","GLGLL","GLLGL","GLLLG","LGGLL","LLGGL","LLLGG","LGLGL","LGLLG","LLGLG"],u.EAN13_STRUCTURE=["LLLLLL","LLGLGG","LLGGLG","LLGGGL","LGLLGG","LGGLLG","LGGGLL","LGLGLG","LGLGGL","LGGLGL"]},function(S,u,m){"use strict";Object.defineProperty(u,"__esModule",{value:!0});var f=m(2);u.default=function(v,_,b){var g=v.split("").map(function(a,i){return f.BINARIES[_[i]]}).map(function(a,i){return a?a[v[i]]:""});if(b){var h=v.length-1;g=g.map(function(a,i){return i<h?a+b:a})}return g.join("")}},function(S,u,m){"use strict";Object.defineProperty(u,"__esModule",{value:!0});var f,v=function(){function h(a,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(a,o.key,o)}}return function(a,i,n){return i&&h(a.prototype,i),n&&h(a,n),a}}(),_=m(0),b=function(h){function a(i,n){return function(o,s){if(!(o instanceof s))throw new TypeError("Cannot call a class as a function")}(this,a),function(o,s){if(!o)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!s||typeof s!="object"&&typeof s!="function"?o:s}(this,(a.__proto__||Object.getPrototypeOf(a)).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)}(a,h),v(a,[{key:"encode",value:function(){for(var i="110",n=0;n<this.data.length;n++){var o=parseInt(this.data[n]).toString(2);o=g(o,4-o.length);for(var s=0;s<o.length;s++)i+=o[s]=="0"?"100":"110"}return{data:i+="1001",text:this.text}}},{key:"valid",value:function(){return this.data.search(/^[0-9]+$/)!==-1}}]),a}(((f=_)&&f.__esModule?f:{default:f}).default);function g(h,a){for(var i=0;i<a;i++)h="0"+h;return h}u.default=b},function(S,u,m){"use strict";Object.defineProperty(u,"__esModule",{value:!0});var f,v=function(){function a(i,n){for(var o=0;o<n.length;o++){var s=n[o];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(i,s.key,s)}}return function(i,n,o){return n&&a(i.prototype,n),o&&a(i,o),i}}(),_=m(0),b=(f=_)&&f.__esModule?f:{default:f},g=m(1),h=function(a){function i(n,o){(function(c,y){if(!(c instanceof y))throw new TypeError("Cannot call a class as a function")})(this,i);var s=function(c,y){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!y||typeof y!="object"&&typeof y!="function"?c:y}(this,(i.__proto__||Object.getPrototypeOf(i)).call(this,n.substring(1),o));return s.bytes=n.split("").map(function(c){return c.charCodeAt(0)}),s}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,a),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,s=g.SET_BY_CODE[o];if(s===void 0)throw new RangeError("The encoding does not start with a start character.");this.shouldEncodeAsEan128()===!0&&n.unshift(g.FNC1);var c=i.next(n,1,s);return{text:this.text===this.data?this.text.replace(/[^\x20-\x7E]/g,""):this.text,data:i.getBar(o)+c.result+i.getBar((c.checksum+o)%g.MODULO)+i.getBar(g.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 g.BARS[n]?g.BARS[n].toString():""}},{key:"correctIndex",value:function(n,o){if(o===g.SET_A){var s=n.shift();return s<32?s+64:s-32}return o===g.SET_B?n.shift()-32:10*(n.shift()-48)+n.shift()-48}},{key:"next",value:function(n,o,s){if(!n.length)return{result:"",checksum:0};var c=void 0,y=void 0;if(n[0]>=200){y=n.shift()-105;var E=g.SWAP[y];E!==void 0?c=i.next(n,o+1,E):(s!==g.SET_A&&s!==g.SET_B||y!==g.SHIFT||(n[0]=s===g.SET_A?n[0]>95?n[0]-96:n[0]:n[0]<32?n[0]+96:n[0]),c=i.next(n,o+1,s))}else y=i.correctIndex(n,s),c=i.next(n,o+1,s);var T=y*o;return{result:i.getBar(y)+c.result,checksum:T+c.checksum}}}]),i}(b.default);u.default=h},function(S,u,m){"use strict";Object.defineProperty(u,"__esModule",{value:!0}),u.mod10=function(f){for(var v=0,_=0;_<f.length;_++){var b=parseInt(f[_]);(_+f.length)%2==0?v+=b:v+=2*b%10+Math.floor(2*b/10)}return(10-v%10)%10},u.mod11=function(f){for(var v=0,_=[2,3,4,5,6,7],b=0;b<f.length;b++){var g=parseInt(f[f.length-1-b]);v+=_[b%_.length]*g}return(11-v%11)%11}},function(S,u,m){"use strict";Object.defineProperty(u,"__esModule",{value:!0});var f=Object.assign||function(v){for(var _=1;_<arguments.length;_++){var b=arguments[_];for(var g in b)Object.prototype.hasOwnProperty.call(b,g)&&(v[g]=b[g])}return v};u.default=function(v,_){return f({},v,_)}},function(S,u,m){"use strict";Object.defineProperty(u,"__esModule",{value:!0});var f=function(){function h(a,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(a,o.key,o)}}return function(a,i,n){return i&&h(a.prototype,i),n&&h(a,n),a}}(),v=m(2),_=b(m(3));function b(h){return h&&h.__esModule?h:{default:h}}var g=function(h){function a(i,n){(function(s,c){if(!(s instanceof c))throw new TypeError("Cannot call a class as a function")})(this,a);var o=function(s,c){if(!s)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!c||typeof c!="object"&&typeof c!="function"?s:c}(this,(a.__proto__||Object.getPrototypeOf(a)).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)}(a,h),f(a,[{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,_.default)(i,n)}},{key:"rightText",value:function(i,n){return this.text.substr(i,n)}},{key:"rightEncode",value:function(i,n){return(0,_.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}}}]),a}(b(m(0)).default);u.default=g},function(S,u,m){"use strict";Object.defineProperty(u,"__esModule",{value:!0});var f=function(){function h(a,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(a,o.key,o)}}return function(a,i,n){return i&&h(a.prototype,i),n&&h(a,n),a}}();u.checksum=g;var v=_(m(3));function _(h){return h&&h.__esModule?h:{default:h}}var b=function(h){function a(i,n){(function(s,c){if(!(s instanceof c))throw new TypeError("Cannot call a class as a function")})(this,a),i.search(/^[0-9]{11}$/)!==-1&&(i+=g(i));var o=function(s,c){if(!s)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!c||typeof c!="object"&&typeof c!="function"?s:c}(this,(a.__proto__||Object.getPrototypeOf(a)).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)}(a,h),f(a,[{key:"valid",value:function(){return this.data.search(/^[0-9]{12}$/)!==-1&&this.data[11]==g(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}}]),a}(_(m(0)).default);function g(h){var a,i=0;for(a=1;a<11;a+=2)i+=parseInt(h[a]);for(a=0;a<11;a+=2)i+=3*parseInt(h[a]);return(10-i%10)%10}u.default=b},function(S,u,m){"use strict";Object.defineProperty(u,"__esModule",{value:!0});var f,v=function(){function i(n,o){for(var s=0;s<o.length;s++){var c=o[s];c.enumerable=c.enumerable||!1,c.configurable=!0,"value"in c&&(c.writable=!0),Object.defineProperty(n,c.key,c)}}return function(n,o,s){return o&&i(n.prototype,o),s&&i(n,s),n}}(),_=m(31),b=m(0);function g(i,n){if(!(i instanceof n))throw new TypeError("Cannot call a class as a function")}function h(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 a=function(i){function n(){return g(this,n),h(this,(n.__proto__||Object.getPrototypeOf(n)).apply(this,arguments))}return function(o,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof s);o.prototype=Object.create(s&&s.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),s&&(Object.setPrototypeOf?Object.setPrototypeOf(o,s):o.__proto__=s)}(n,i),v(n,[{key:"valid",value:function(){return this.data.search(/^([0-9]{2})+$/)!==-1}},{key:"encode",value:function(){var o=this,s=this.data.match(/.{2}/g).map(function(c){return o.encodePair(c)}).join("");return{data:_.START_BIN+s+_.END_BIN,text:this.text}}},{key:"encodePair",value:function(o){var s=_.BINARIES[o[1]];return _.BINARIES[o[0]].split("").map(function(c,y){return(c==="1"?"111":"1")+(s[y]==="1"?"000":"0")}).join("")}}]),n}(((f=b)&&f.__esModule?f:{default:f}).default);u.default=a},function(S,u,m){"use strict";Object.defineProperty(u,"__esModule",{value:!0}),u.default=function(f){var v=["width","height","textMargin","fontSize","margin","marginTop","marginBottom","marginLeft","marginRight"];for(var _ in v)v.hasOwnProperty(_)&&(_=v[_],typeof f[_]=="string"&&(f[_]=parseInt(f[_],10)));return typeof f.displayValue=="string"&&(f.displayValue=f.displayValue!="false"),f}},function(S,u,m){"use strict";Object.defineProperty(u,"__esModule",{value:!0});var f={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(){}};u.default=f},function(S,u,m){"use strict";Object.defineProperty(u,"__esModule",{value:!0}),u.getTotalWidthOfEncodings=u.calculateEncodingAttributes=u.getBarcodePadding=u.getEncodingHeight=u.getMaximumHeightOfEncodings=void 0;var f,v=m(7),_=(f=v)&&f.__esModule?f:{default:f};function b(a,i){return i.height+(i.displayValue&&a.text.length>0?i.fontSize+i.textMargin:0)+i.marginTop+i.marginBottom}function g(a,i,n){if(n.displayValue&&i<a){if(n.textAlign=="center")return Math.floor((a-i)/2);if(n.textAlign=="left")return 0;if(n.textAlign=="right")return Math.floor(a-i)}return 0}function h(a,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 s=o.measureText(a);return s?s.width:0}u.getMaximumHeightOfEncodings=function(a){for(var i=0,n=0;n<a.length;n++)a[n].height>i&&(i=a[n].height);return i},u.getEncodingHeight=b,u.getBarcodePadding=g,u.calculateEncodingAttributes=function(a,i,n){for(var o=0;o<a.length;o++){var s,c=a[o],y=(0,_.default)(i,c.options);s=y.displayValue?h(c.text,y,n):0;var E=c.data.length*y.width;c.width=Math.ceil(Math.max(s,E)),c.height=b(c,y),c.barcodePadding=g(s,E,y)}},u.getTotalWidthOfEncodings=function(a){for(var i=0,n=0;n<a.length;n++)i+=a[n].width;return i}},function(S,u,m){"use strict";function f(a,i){if(!(a instanceof i))throw new TypeError("Cannot call a class as a function")}function v(a,i){if(!a)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!i||typeof i!="object"&&typeof i!="function"?a:i}function _(a,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof i);a.prototype=Object.create(i&&i.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),i&&(Object.setPrototypeOf?Object.setPrototypeOf(a,i):a.__proto__=i)}Object.defineProperty(u,"__esModule",{value:!0});var b=function(a){function i(n,o){f(this,i);var s=v(this,(i.__proto__||Object.getPrototypeOf(i)).call(this));return s.name="InvalidInputException",s.symbology=n,s.input=o,s.message='"'+s.input+'" is not a valid input for '+s.symbology,s}return _(i,Error),i}(),g=function(a){function i(){f(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 _(i,Error),i}(),h=function(a){function i(){f(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 _(i,Error),i}();u.InvalidInputException=b,u.InvalidElementException=g,u.NoElementException=h},function(S,u,m){"use strict";var f=o(m(16)),v=o(m(7)),_=o(m(41)),b=o(m(42)),g=o(m(43)),h=o(m(11)),a=o(m(49)),i=m(14),n=o(m(12));function o($){return $&&$.__esModule?$:{default:$}}var s=function(){},c=function($,Q,F){var U=new s;if($===void 0)throw Error("No element to render on was provided.");return U._renderProperties=(0,g.default)($),U._encodings=[],U._options=n.default,U._errorHandler=new a.default(U),Q!==void 0&&((F=F||{}).format||(F.format=tt()),U.options(F)[F.format](Q,F).render()),U};for(var y in c.getModule=function($){return f.default[$]},f.default)f.default.hasOwnProperty(y)&&E(f.default,y);function E($,Q){s.prototype[Q]=s.prototype[Q.toUpperCase()]=s.prototype[Q.toLowerCase()]=function(F,U){var rt=this;return rt._errorHandler.wrapBarcodeCall(function(){U.text=U.text===void 0?void 0:""+U.text;var vt=(0,v.default)(rt._options,U);vt=(0,h.default)(vt);var _e=$[Q],me=T(F,_e,vt);return rt._encodings.push(me),rt})}}function T($,Q,F){var U=new Q($=""+$,F);if(!U.valid())throw new i.InvalidInputException(U.constructor.name,$);var rt=U.encode();rt=(0,_.default)(rt);for(var vt=0;vt<rt.length;vt++)rt[vt].options=(0,v.default)(F,rt[vt].options);return rt}function tt(){return f.default.CODE128?"CODE128":Object.keys(f.default)[0]}function gt($,Q,F){Q=(0,_.default)(Q);for(var U=0;U<Q.length;U++)Q[U].options=(0,v.default)(F,Q[U].options),(0,b.default)(Q[U].options);(0,b.default)(F),new $.renderer($.element,Q,F).render(),$.afterRender&&$.afterRender()}s.prototype.options=function($){return this._options=(0,v.default)(this._options,$),this},s.prototype.blank=function($){var Q=new Array($+1).join("0");return this._encodings.push({data:Q}),this},s.prototype.init=function(){var $;if(this._renderProperties)for(var Q in Array.isArray(this._renderProperties)||(this._renderProperties=[this._renderProperties]),this._renderProperties){$=this._renderProperties[Q];var F=(0,v.default)(this._options,$.options);F.format=="auto"&&(F.format=tt()),this._errorHandler.wrapBarcodeCall(function(){var U=T(F.value,f.default[F.format.toUpperCase()],F);gt($,U,F)})}},s.prototype.render=function(){if(!this._renderProperties)throw new i.NoElementException;if(Array.isArray(this._renderProperties))for(var $=0;$<this._renderProperties.length;$++)gt(this._renderProperties[$],this._encodings,this._options);else gt(this._renderProperties,this._encodings,this._options);return this},s.prototype._defaults=n.default,typeof window<"u"&&(window.JsBarcode=c),typeof jQuery<"u"&&(jQuery.fn.JsBarcode=function($,Q){var F=[];return jQuery(this).each(function(){F.push(this)}),c(F,$,Q)}),S.exports=c},function(S,u,m){"use strict";Object.defineProperty(u,"__esModule",{value:!0});var f=m(17),v=m(18),_=m(24),b=m(30),g=m(33),h=m(38),a=m(39),i=m(40);u.default={CODE39:f.CODE39,CODE128:v.CODE128,CODE128A:v.CODE128A,CODE128B:v.CODE128B,CODE128C:v.CODE128C,EAN13:_.EAN13,EAN8:_.EAN8,EAN5:_.EAN5,EAN2:_.EAN2,UPC:_.UPC,UPCE:_.UPCE,ITF14:b.ITF14,ITF:b.ITF,MSI:g.MSI,MSI10:g.MSI10,MSI11:g.MSI11,MSI1010:g.MSI1010,MSI1110:g.MSI1110,pharmacode:h.pharmacode,codabar:a.codabar,GenericBarcode:i.GenericBarcode}},function(S,u,m){"use strict";Object.defineProperty(u,"__esModule",{value:!0}),u.CODE39=void 0;var f,v=function(){function n(o,s){for(var c=0;c<s.length;c++){var y=s[c];y.enumerable=y.enumerable||!1,y.configurable=!0,"value"in y&&(y.writable=!0),Object.defineProperty(o,y.key,y)}}return function(o,s,c){return s&&n(o.prototype,s),c&&n(o,c),o}}(),_=m(0),b=function(n){function o(s,c){return function(y,E){if(!(y instanceof E))throw new TypeError("Cannot call a class as a function")}(this,o),s=s.toUpperCase(),c.mod43&&(s+=function(y){return g[y]}(function(y){for(var E=0,T=0;T<y.length;T++)E+=i(y[T]);return E%=43}(s))),function(y,E){if(!y)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!E||typeof E!="object"&&typeof E!="function"?y:E}(this,(o.__proto__||Object.getPrototypeOf(o)).call(this,s,c))}return function(s,c){if(typeof c!="function"&&c!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof c);s.prototype=Object.create(c&&c.prototype,{constructor:{value:s,enumerable:!1,writable:!0,configurable:!0}}),c&&(Object.setPrototypeOf?Object.setPrototypeOf(s,c):s.__proto__=c)}(o,n),v(o,[{key:"encode",value:function(){for(var s=a("*"),c=0;c<this.data.length;c++)s+=a(this.data[c])+"0";return{data:s+=a("*"),text:this.text}}},{key:"valid",value:function(){return this.data.search(/^[0-9A-Z\-\.\ \$\/\+\%]+$/)!==-1}}]),o}(((f=_)&&f.__esModule?f:{default:f}).default),g=["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","-","."," ","$","/","+","%","*"],h=[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 a(n){return function(o){return h[o].toString(2)}(i(n))}function i(n){return g.indexOf(n)}u.CODE39=b},function(S,u,m){"use strict";Object.defineProperty(u,"__esModule",{value:!0}),u.CODE128C=u.CODE128B=u.CODE128A=u.CODE128=void 0;var f=g(m(19)),v=g(m(21)),_=g(m(22)),b=g(m(23));function g(h){return h&&h.__esModule?h:{default:h}}u.CODE128=f.default,u.CODE128A=v.default,u.CODE128B=_.default,u.CODE128C=b.default},function(S,u,m){"use strict";Object.defineProperty(u,"__esModule",{value:!0});var f=_(m(5)),v=_(m(20));function _(h){return h&&h.__esModule?h:{default:h}}function b(h,a){if(!h)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!a||typeof a!="object"&&typeof a!="function"?h:a}var g=function(h){function a(i,n){if(function(s,c){if(!(s instanceof c))throw new TypeError("Cannot call a class as a function")}(this,a),/^[\x00-\x7F\xC8-\xD3]+$/.test(i))var o=b(this,(a.__proto__||Object.getPrototypeOf(a)).call(this,(0,v.default)(i),n));else o=b(this,(a.__proto__||Object.getPrototypeOf(a)).call(this,i,n));return b(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)}(a,h),a}(f.default);u.default=g},function(S,u,m){"use strict";Object.defineProperty(u,"__esModule",{value:!0});var f=m(1),v=function(a){return a.match(new RegExp("^"+f.A_CHARS+"*"))[0].length},_=function(a){return a.match(new RegExp("^"+f.B_CHARS+"*"))[0].length},b=function(a){return a.match(new RegExp("^"+f.C_CHARS+"*"))[0]};function g(a,i){var n=i?f.A_CHARS:f.B_CHARS,o=a.match(new RegExp("^("+n+"+?)(([0-9]{2}){2,})([^0-9]|$)"));if(o)return o[1]+String.fromCharCode(204)+h(a.substring(o[1].length));var s=a.match(new RegExp("^"+n+"+"))[0];return s.length===a.length?a:s+String.fromCharCode(i?205:206)+g(a.substring(s.length),!i)}function h(a){var i=b(a),n=i.length;if(n===a.length)return a;a=a.substring(n);var o=v(a)>=_(a);return i+String.fromCharCode(o?206:205)+g(a,o)}u.default=function(a){var i=void 0;if(b(a).length>=2)i=f.C_START_CHAR+h(a);else{var n=v(a)>_(a);i=(n?f.A_START_CHAR:f.B_START_CHAR)+g(a,n)}return i.replace(/[\xCD\xCE]([^])[\xCD\xCE]/,function(o,s){return String.fromCharCode(203)+s})}},function(S,u,m){"use strict";Object.defineProperty(u,"__esModule",{value:!0});var f,v=function(){function a(i,n){for(var o=0;o<n.length;o++){var s=n[o];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(i,s.key,s)}}return function(i,n,o){return n&&a(i.prototype,n),o&&a(i,o),i}}(),_=m(5),b=(f=_)&&f.__esModule?f:{default:f},g=m(1),h=function(a){function i(n,o){return function(s,c){if(!(s instanceof c))throw new TypeError("Cannot call a class as a function")}(this,i),function(s,c){if(!s)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!c||typeof c!="object"&&typeof c!="function"?s:c}(this,(i.__proto__||Object.getPrototypeOf(i)).call(this,g.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,a),v(i,[{key:"valid",value:function(){return new RegExp("^"+g.A_CHARS+"+$").test(this.data)}}]),i}(b.default);u.default=h},function(S,u,m){"use strict";Object.defineProperty(u,"__esModule",{value:!0});var f,v=function(){function a(i,n){for(var o=0;o<n.length;o++){var s=n[o];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(i,s.key,s)}}return function(i,n,o){return n&&a(i.prototype,n),o&&a(i,o),i}}(),_=m(5),b=(f=_)&&f.__esModule?f:{default:f},g=m(1),h=function(a){function i(n,o){return function(s,c){if(!(s instanceof c))throw new TypeError("Cannot call a class as a function")}(this,i),function(s,c){if(!s)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!c||typeof c!="object"&&typeof c!="function"?s:c}(this,(i.__proto__||Object.getPrototypeOf(i)).call(this,g.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,a),v(i,[{key:"valid",value:function(){return new RegExp("^"+g.B_CHARS+"+$").test(this.data)}}]),i}(b.default);u.default=h},function(S,u,m){"use strict";Object.defineProperty(u,"__esModule",{value:!0});var f,v=function(){function a(i,n){for(var o=0;o<n.length;o++){var s=n[o];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(i,s.key,s)}}return function(i,n,o){return n&&a(i.prototype,n),o&&a(i,o),i}}(),_=m(5),b=(f=_)&&f.__esModule?f:{default:f},g=m(1),h=function(a){function i(n,o){return function(s,c){if(!(s instanceof c))throw new TypeError("Cannot call a class as a function")}(this,i),function(s,c){if(!s)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!c||typeof c!="object"&&typeof c!="function"?s:c}(this,(i.__proto__||Object.getPrototypeOf(i)).call(this,g.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,a),v(i,[{key:"valid",value:function(){return new RegExp("^"+g.C_CHARS+"+$").test(this.data)}}]),i}(b.default);u.default=h},function(S,u,m){"use strict";Object.defineProperty(u,"__esModule",{value:!0}),u.UPCE=u.UPC=u.EAN2=u.EAN5=u.EAN8=u.EAN13=void 0;var f=a(m(25)),v=a(m(26)),_=a(m(27)),b=a(m(28)),g=a(m(9)),h=a(m(29));function a(i){return i&&i.__esModule?i:{default:i}}u.EAN13=f.default,u.EAN8=v.default,u.EAN5=_.default,u.EAN2=b.default,u.UPC=g.default,u.UPCE=h.default},function(S,u,m){"use strict";Object.defineProperty(u,"__esModule",{value:!0});var f,v=function(){function n(o,s){for(var c=0;c<s.length;c++){var y=s[c];y.enumerable=y.enumerable||!1,y.configurable=!0,"value"in y&&(y.writable=!0),Object.defineProperty(o,y.key,y)}}return function(o,s,c){return s&&n(o.prototype,s),c&&n(o,c),o}}(),_=function n(o,s,c){o===null&&(o=Function.prototype);var y=Object.getOwnPropertyDescriptor(o,s);if(y===void 0){var E=Object.getPrototypeOf(o);return E===null?void 0:n(E,s,c)}if("value"in y)return y.value;var T=y.get;return T!==void 0?T.call(c):void 0},b=m(2),g=m(8),h=(f=g)&&f.__esModule?f:{default:f},a=function(n){return(10-n.substr(0,12).split("").map(function(o){return+o}).reduce(function(o,s,c){return c%2?o+3*s:o+s},0)%10)%10},i=function(n){function o(s,c){(function(E,T){if(!(E instanceof T))throw new TypeError("Cannot call a class as a function")})(this,o),s.search(/^[0-9]{12}$/)!==-1&&(s+=a(s));var y=function(E,T){if(!E)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!T||typeof T!="object"&&typeof T!="function"?E:T}(this,(o.__proto__||Object.getPrototypeOf(o)).call(this,s,c));return y.lastChar=c.lastChar,y}return function(s,c){if(typeof c!="function"&&c!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof c);s.prototype=Object.create(c&&c.prototype,{constructor:{value:s,enumerable:!1,writable:!0,configurable:!0}}),c&&(Object.setPrototypeOf?Object.setPrototypeOf(s,c):s.__proto__=c)}(o,n),v(o,[{key:"valid",value:function(){return this.data.search(/^[0-9]{13}$/)!==-1&&+this.data[12]===a(this.data)}},{key:"leftText",value:function(){return _(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),"leftText",this).call(this,1,6)}},{key:"leftEncode",value:function(){var s=this.data.substr(1,6),c=b.EAN13_STRUCTURE[this.data[0]];return _(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),"leftEncode",this).call(this,s,c)}},{key:"rightText",value:function(){return _(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),"rightText",this).call(this,7,6)}},{key:"rightEncode",value:function(){var s=this.data.substr(7,6);return _(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),"rightEncode",this).call(this,s,"RRRRRR")}},{key:"encodeGuarded",value:function(){var s=_(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),"encodeGuarded",this).call(this);return this.options.displayValue&&(s.unshift({data:"000000000000",text:this.text.substr(0,1),options:{textAlign:"left",fontSize:this.fontSize}}),this.options.lastChar&&(s.push({data:"00"}),s.push({data:"00000",text:this.options.lastChar,options:{fontSize:this.fontSize}}))),s}}]),o}(h.default);u.default=i},function(S,u,m){"use strict";Object.defineProperty(u,"__esModule",{value:!0});var f,v=function(){function i(n,o){for(var s=0;s<o.length;s++){var c=o[s];c.enumerable=c.enumerable||!1,c.configurable=!0,"value"in c&&(c.writable=!0),Object.defineProperty(n,c.key,c)}}return function(n,o,s){return o&&i(n.prototype,o),s&&i(n,s),n}}(),_=function i(n,o,s){n===null&&(n=Function.prototype);var c=Object.getOwnPropertyDescriptor(n,o);if(c===void 0){var y=Object.getPrototypeOf(n);return y===null?void 0:i(y,o,s)}if("value"in c)return c.value;var E=c.get;return E!==void 0?E.call(s):void 0},b=m(8),g=(f=b)&&f.__esModule?f:{default:f},h=function(i){return(10-i.substr(0,7).split("").map(function(n){return+n}).reduce(function(n,o,s){return s%2?n+o:n+3*o},0)%10)%10},a=function(i){function n(o,s){return function(c,y){if(!(c instanceof y))throw new TypeError("Cannot call a class as a function")}(this,n),o.search(/^[0-9]{7}$/)!==-1&&(o+=h(o)),function(c,y){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!y||typeof y!="object"&&typeof y!="function"?c:y}(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,o,s))}return function(o,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof s);o.prototype=Object.create(s&&s.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),s&&(Object.setPrototypeOf?Object.setPrototypeOf(o,s):o.__proto__=s)}(n,i),v(n,[{key:"valid",value:function(){return this.data.search(/^[0-9]{8}$/)!==-1&&+this.data[7]===h(this.data)}},{key:"leftText",value:function(){return _(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 _(n.prototype.__proto__||Object.getPrototypeOf(n.prototype),"leftEncode",this).call(this,o,"LLLL")}},{key:"rightText",value:function(){return _(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 _(n.prototype.__proto__||Object.getPrototypeOf(n.prototype),"rightEncode",this).call(this,o,"RRRR")}}]),n}(g.default);u.default=a},function(S,u,m){"use strict";Object.defineProperty(u,"__esModule",{value:!0});var f=function(){function a(i,n){for(var o=0;o<n.length;o++){var s=n[o];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(i,s.key,s)}}return function(i,n,o){return n&&a(i.prototype,n),o&&a(i,o),i}}(),v=m(2),_=g(m(3)),b=g(m(0));function g(a){return a&&a.__esModule?a:{default:a}}var h=function(a){function i(n,o){return function(s,c){if(!(s instanceof c))throw new TypeError("Cannot call a class as a function")}(this,i),function(s,c){if(!s)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!c||typeof c!="object"&&typeof c!="function"?s:c}(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,a),f(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(s){return+s}).reduce(function(s,c,y){return y%2?s+9*c:s+3*c},0)%10];return{data:"1011"+(0,_.default)(this.data,o,"01"),text:this.text}}}]),i}(b.default);u.default=h},function(S,u,m){"use strict";Object.defineProperty(u,"__esModule",{value:!0});var f=function(){function h(a,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(a,o.key,o)}}return function(a,i,n){return i&&h(a.prototype,i),n&&h(a,n),a}}(),v=m(2),_=b(m(3));function b(h){return h&&h.__esModule?h:{default:h}}var g=function(h){function a(i,n){return function(o,s){if(!(o instanceof s))throw new TypeError("Cannot call a class as a function")}(this,a),function(o,s){if(!o)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!s||typeof s!="object"&&typeof s!="function"?o:s}(this,(a.__proto__||Object.getPrototypeOf(a)).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)}(a,h),f(a,[{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,_.default)(this.data,i,"01"),text:this.text}}}]),a}(b(m(0)).default);u.default=g},function(S,u,m){"use strict";Object.defineProperty(u,"__esModule",{value:!0});var f=function(){function s(c,y){for(var E=0;E<y.length;E++){var T=y[E];T.enumerable=T.enumerable||!1,T.configurable=!0,"value"in T&&(T.writable=!0),Object.defineProperty(c,T.key,T)}}return function(c,y,E){return y&&s(c.prototype,y),E&&s(c,E),c}}(),v=g(m(3)),_=g(m(0)),b=m(9);function g(s){return s&&s.__esModule?s:{default:s}}function h(s,c){if(!s)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!c||typeof c!="object"&&typeof c!="function"?s:c}var a=["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(s){function c(y,E){(function(tt,gt){if(!(tt instanceof gt))throw new TypeError("Cannot call a class as a function")})(this,c);var T=h(this,(c.__proto__||Object.getPrototypeOf(c)).call(this,y,E));if(T.isValid=!1,y.search(/^[0-9]{6}$/)!==-1)T.middleDigits=y,T.upcA=o(y,"0"),T.text=E.text||""+T.upcA[0]+y+T.upcA[T.upcA.length-1],T.isValid=!0;else{if(y.search(/^[01][0-9]{7}$/)===-1||(T.middleDigits=y.substring(1,y.length-1),T.upcA=o(T.middleDigits,y[0]),T.upcA[T.upcA.length-1]!==y[y.length-1]))return h(T);T.isValid=!0}return T.displayValue=E.displayValue,E.fontSize>10*E.width?T.fontSize=10*E.width:T.fontSize=E.fontSize,T.guardHeight=E.height+T.fontSize/2+E.textMargin,T}return function(y,E){if(typeof E!="function"&&E!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof E);y.prototype=Object.create(E&&E.prototype,{constructor:{value:y,enumerable:!1,writable:!0,configurable:!0}}),E&&(Object.setPrototypeOf?Object.setPrototypeOf(y,E):y.__proto__=E)}(c,s),f(c,[{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],E=this.upcA[this.upcA.length-1],T=i[parseInt(E)][parseInt(y)];return(0,v.default)(this.middleDigits,T)}}]),c}(_.default);function o(s,c){for(var y=parseInt(s[s.length-1]),E=a[y],T="",tt=0,gt=0;gt<E.length;gt++){var $=E[gt];T+=$==="X"?s[tt++]:$}return(T=""+c+T)+(0,b.checksum)(T)}u.default=n},function(S,u,m){"use strict";Object.defineProperty(u,"__esModule",{value:!0}),u.ITF14=u.ITF=void 0;var f=_(m(10)),v=_(m(32));function _(b){return b&&b.__esModule?b:{default:b}}u.ITF=f.default,u.ITF14=v.default},function(S,u,m){"use strict";Object.defineProperty(u,"__esModule",{value:!0}),u.START_BIN="1010",u.END_BIN="11101",u.BINARIES=["00110","10001","01001","11000","00101","10100","01100","00011","10010","01010"]},function(S,u,m){"use strict";Object.defineProperty(u,"__esModule",{value:!0});var f,v=function(){function a(i,n){for(var o=0;o<n.length;o++){var s=n[o];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(i,s.key,s)}}return function(i,n,o){return n&&a(i.prototype,n),o&&a(i,o),i}}(),_=m(10),b=(f=_)&&f.__esModule?f:{default:f},g=function(a){var i=a.substr(0,13).split("").map(function(n){return parseInt(n,10)}).reduce(function(n,o,s){return n+o*(3-s%2*2)},0);return 10*Math.ceil(i/10)-i},h=function(a){function i(n,o){return function(s,c){if(!(s instanceof c))throw new TypeError("Cannot call a class as a function")}(this,i),n.search(/^[0-9]{13}$/)!==-1&&(n+=g(n)),function(s,c){if(!s)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!c||typeof c!="object"&&typeof c!="function"?s:c}(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,a),v(i,[{key:"valid",value:function(){return this.data.search(/^[0-9]{14}$/)!==-1&&+this.data[13]===g(this.data)}}]),i}(b.default);u.default=h},function(S,u,m){"use strict";Object.defineProperty(u,"__esModule",{value:!0}),u.MSI1110=u.MSI1010=u.MSI11=u.MSI10=u.MSI=void 0;var f=h(m(4)),v=h(m(34)),_=h(m(35)),b=h(m(36)),g=h(m(37));function h(a){return a&&a.__esModule?a:{default:a}}u.MSI=f.default,u.MSI10=v.default,u.MSI11=_.default,u.MSI1010=b.default,u.MSI1110=g.default},function(S,u,m){"use strict";Object.defineProperty(u,"__esModule",{value:!0});var f,v=m(4),_=(f=v)&&f.__esModule?f:{default:f},b=m(6),g=function(h){function a(i,n){return function(o,s){if(!(o instanceof s))throw new TypeError("Cannot call a class as a function")}(this,a),function(o,s){if(!o)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!s||typeof s!="object"&&typeof s!="function"?o:s}(this,(a.__proto__||Object.getPrototypeOf(a)).call(this,i+(0,b.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)}(a,h),a}(_.default);u.default=g},function(S,u,m){"use strict";Object.defineProperty(u,"__esModule",{value:!0});var f,v=m(4),_=(f=v)&&f.__esModule?f:{default:f},b=m(6),g=function(h){function a(i,n){return function(o,s){if(!(o instanceof s))throw new TypeError("Cannot call a class as a function")}(this,a),function(o,s){if(!o)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!s||typeof s!="object"&&typeof s!="function"?o:s}(this,(a.__proto__||Object.getPrototypeOf(a)).call(this,i+(0,b.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)}(a,h),a}(_.default);u.default=g},function(S,u,m){"use strict";Object.defineProperty(u,"__esModule",{value:!0});var f,v=m(4),_=(f=v)&&f.__esModule?f:{default:f},b=m(6),g=function(h){function a(i,n){return function(o,s){if(!(o instanceof s))throw new TypeError("Cannot call a class as a function")}(this,a),i+=(0,b.mod10)(i),i+=(0,b.mod10)(i),function(o,s){if(!o)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!s||typeof s!="object"&&typeof s!="function"?o:s}(this,(a.__proto__||Object.getPrototypeOf(a)).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)}(a,h),a}(_.default);u.default=g},function(S,u,m){"use strict";Object.defineProperty(u,"__esModule",{value:!0});var f,v=m(4),_=(f=v)&&f.__esModule?f:{default:f},b=m(6),g=function(h){function a(i,n){return function(o,s){if(!(o instanceof s))throw new TypeError("Cannot call a class as a function")}(this,a),i+=(0,b.mod11)(i),i+=(0,b.mod10)(i),function(o,s){if(!o)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!s||typeof s!="object"&&typeof s!="function"?o:s}(this,(a.__proto__||Object.getPrototypeOf(a)).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)}(a,h),a}(_.default);u.default=g},function(S,u,m){"use strict";Object.defineProperty(u,"__esModule",{value:!0}),u.pharmacode=void 0;var f,v=function(){function g(h,a){for(var i=0;i<a.length;i++){var n=a[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(h,n.key,n)}}return function(h,a,i){return a&&g(h.prototype,a),i&&g(h,i),h}}(),_=m(0),b=function(g){function h(a,i){(function(o,s){if(!(o instanceof s))throw new TypeError("Cannot call a class as a function")})(this,h);var n=function(o,s){if(!o)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!s||typeof s!="object"&&typeof s!="function"?o:s}(this,(h.__proto__||Object.getPrototypeOf(h)).call(this,a,i));return n.number=parseInt(a,10),n}return function(a,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof i);a.prototype=Object.create(i&&i.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),i&&(Object.setPrototypeOf?Object.setPrototypeOf(a,i):a.__proto__=i)}(h,g),v(h,[{key:"encode",value:function(){for(var a=this.number,i="";!isNaN(a)&&a!=0;)a%2==0?(i="11100"+i,a=(a-2)/2):(i="100"+i,a=(a-1)/2);return{data:i=i.slice(0,-2),text:this.text}}},{key:"valid",value:function(){return this.number>=3&&this.number<=131070}}]),h}(((f=_)&&f.__esModule?f:{default:f}).default);u.pharmacode=b},function(S,u,m){"use strict";Object.defineProperty(u,"__esModule",{value:!0}),u.codabar=void 0;var f,v=function(){function g(h,a){for(var i=0;i<a.length;i++){var n=a[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(h,n.key,n)}}return function(h,a,i){return a&&g(h.prototype,a),i&&g(h,i),h}}(),_=m(0),b=function(g){function h(a,i){(function(o,s){if(!(o instanceof s))throw new TypeError("Cannot call a class as a function")})(this,h),a.search(/^[0-9\-\$\:\.\+\/]+$/)===0&&(a="A"+a+"A");var n=function(o,s){if(!o)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!s||typeof s!="object"&&typeof s!="function"?o:s}(this,(h.__proto__||Object.getPrototypeOf(h)).call(this,a.toUpperCase(),i));return n.text=n.options.text||n.text.replace(/[A-D]/g,""),n}return function(a,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof i);a.prototype=Object.create(i&&i.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),i&&(Object.setPrototypeOf?Object.setPrototypeOf(a,i):a.__proto__=i)}(h,g),v(h,[{key:"valid",value:function(){return this.data.search(/^[A-D][0-9\-\$\:\.\+\/]+[A-D]$/)!==-1}},{key:"encode",value:function(){for(var a=[],i=this.getEncodings(),n=0;n<this.data.length;n++)a.push(i[this.data.charAt(n)]),n!==this.data.length-1&&a.push("0");return{text:this.text,data:a.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"}}}]),h}(((f=_)&&f.__esModule?f:{default:f}).default);u.codabar=b},function(S,u,m){"use strict";Object.defineProperty(u,"__esModule",{value:!0}),u.GenericBarcode=void 0;var f,v=function(){function g(h,a){for(var i=0;i<a.length;i++){var n=a[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(h,n.key,n)}}return function(h,a,i){return a&&g(h.prototype,a),i&&g(h,i),h}}(),_=m(0),b=function(g){function h(a,i){return function(n,o){if(!(n instanceof o))throw new TypeError("Cannot call a class as a function")}(this,h),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,(h.__proto__||Object.getPrototypeOf(h)).call(this,a,i))}return function(a,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof i);a.prototype=Object.create(i&&i.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),i&&(Object.setPrototypeOf?Object.setPrototypeOf(a,i):a.__proto__=i)}(h,g),v(h,[{key:"encode",value:function(){return{data:"10101010101010101010101010101010101010101",text:this.text}}},{key:"valid",value:function(){return!0}}]),h}(((f=_)&&f.__esModule?f:{default:f}).default);u.GenericBarcode=b},function(S,u,m){"use strict";Object.defineProperty(u,"__esModule",{value:!0}),u.default=function(f){var v=[];return function _(b){if(Array.isArray(b))for(var g=0;g<b.length;g++)_(b[g]);else b.text=b.text||"",b.data=b.data||"",v.push(b)}(f),v}},function(S,u,m){"use strict";Object.defineProperty(u,"__esModule",{value:!0}),u.default=function(f){return f.marginTop=f.marginTop||f.margin,f.marginBottom=f.marginBottom||f.margin,f.marginRight=f.marginRight||f.margin,f.marginLeft=f.marginLeft||f.margin,f}},function(S,u,m){"use strict";Object.defineProperty(u,"__esModule",{value:!0});var f=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(a){return typeof a}:function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},v=g(m(44)),_=g(m(45)),b=m(14);function g(a){return a&&a.__esModule?a:{default:a}}function h(a){if(typeof a=="string")return function(c){var y=document.querySelectorAll(c);if(y.length!==0){for(var E=[],T=0;T<y.length;T++)E.push(h(y[T]));return E}}(a);if(Array.isArray(a)){for(var i=[],n=0;n<a.length;n++)i.push(h(a[n]));return i}if(typeof HTMLCanvasElement<"u"&&a instanceof HTMLImageElement)return o=a,{element:s=document.createElement("canvas"),options:(0,v.default)(o),renderer:_.default.CanvasRenderer,afterRender:function(){o.setAttribute("src",s.toDataURL())}};if(a&&a.nodeName&&a.nodeName.toLowerCase()==="svg"||typeof SVGElement<"u"&&a instanceof SVGElement)return{element:a,options:(0,v.default)(a),renderer:_.default.SVGRenderer};if(typeof HTMLCanvasElement<"u"&&a instanceof HTMLCanvasElement)return{element:a,options:(0,v.default)(a),renderer:_.default.CanvasRenderer};if(a&&a.getContext)return{element:a,renderer:_.default.CanvasRenderer};if(a&&(a===void 0?"undefined":f(a))==="object"&&!a.nodeName)return{element:a,renderer:_.default.ObjectRenderer};throw new b.InvalidElementException;var o,s}u.default=h},function(S,u,m){"use strict";Object.defineProperty(u,"__esModule",{value:!0});var f=_(m(11)),v=_(m(12));function _(b){return b&&b.__esModule?b:{default:b}}u.default=function(b){var g={};for(var h in v.default)v.default.hasOwnProperty(h)&&(b.hasAttribute("jsbarcode-"+h.toLowerCase())&&(g[h]=b.getAttribute("jsbarcode-"+h.toLowerCase())),b.hasAttribute("data-"+h.toLowerCase())&&(g[h]=b.getAttribute("data-"+h.toLowerCase())));return g.value=b.getAttribute("jsbarcode-value")||b.getAttribute("data-value"),g=(0,f.default)(g)}},function(S,u,m){"use strict";Object.defineProperty(u,"__esModule",{value:!0});var f=b(m(46)),v=b(m(47)),_=b(m(48));function b(g){return g&&g.__esModule?g:{default:g}}u.default={CanvasRenderer:f.default,SVGRenderer:v.default,ObjectRenderer:_.default}},function(S,u,m){"use strict";Object.defineProperty(u,"__esModule",{value:!0});var f,v=function(){function a(i,n){for(var o=0;o<n.length;o++){var s=n[o];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(i,s.key,s)}}return function(i,n,o){return n&&a(i.prototype,n),o&&a(i,o),i}}(),_=m(7),b=(f=_)&&f.__esModule?f:{default:f},g=m(13),h=function(){function a(i,n,o){(function(s,c){if(!(s instanceof c))throw new TypeError("Cannot call a class as a function")})(this,a),this.canvas=i,this.encodings=n,this.options=o}return v(a,[{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,b.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,g.calculateEncodingAttributes)(this.encodings,this.options,i);var n=(0,g.getTotalWidthOfEncodings)(this.encodings),o=(0,g.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,s=this.canvas.getContext("2d"),c=n.data;o=i.textPosition=="top"?i.marginTop+i.fontSize+i.textMargin:i.marginTop,s.fillStyle=i.lineColor;for(var y=0;y<c.length;y++){var E=y*i.width+n.barcodePadding;c[y]==="1"?s.fillRect(E,o,i.width,i.height):c[y]&&s.fillRect(E,o,i.width,i.height*c[y])}}},{key:"drawCanvasText",value:function(i,n){var o,s,c=this.canvas.getContext("2d"),y=i.fontOptions+" "+i.fontSize+"px "+i.font;i.displayValue&&(s=i.textPosition=="top"?i.marginTop+i.fontSize-i.textMargin:i.height+i.textMargin+i.marginTop+i.fontSize,c.font=y,i.textAlign=="left"||n.barcodePadding>0?(o=0,c.textAlign="left"):i.textAlign=="right"?(o=n.width-1,c.textAlign="right"):(o=n.width/2,c.textAlign="center"),c.fillText(n.text,o,s))}},{key:"moveCanvasDrawing",value:function(i){this.canvas.getContext("2d").translate(i.width,0)}},{key:"restoreCanvas",value:function(){this.canvas.getContext("2d").restore()}}]),a}();u.default=h},function(S,u,m){"use strict";Object.defineProperty(u,"__esModule",{value:!0});var f,v=function(){function i(n,o){for(var s=0;s<o.length;s++){var c=o[s];c.enumerable=c.enumerable||!1,c.configurable=!0,"value"in c&&(c.writable=!0),Object.defineProperty(n,c.key,c)}}return function(n,o,s){return o&&i(n.prototype,o),s&&i(n,s),n}}(),_=m(7),b=(f=_)&&f.__esModule?f:{default:f},g=m(13),h="http://www.w3.org/2000/svg",a=function(){function i(n,o,s){(function(c,y){if(!(c instanceof y))throw new TypeError("Cannot call a class as a function")})(this,i),this.svg=n,this.encodings=o,this.options=s,this.document=s.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 s=this.encodings[o],c=(0,b.default)(this.options,s.options),y=this.createGroup(n,c.marginTop,this.svg);this.setGroupOptions(y,c),this.drawSvgBarcode(y,c,s),this.drawSVGText(y,c,s),n+=s.width}}},{key:"prepareSVG",value:function(){for(;this.svg.firstChild;)this.svg.removeChild(this.svg.firstChild);(0,g.calculateEncodingAttributes)(this.encodings,this.options);var n=(0,g.getTotalWidthOfEncodings)(this.encodings),o=(0,g.getMaximumHeightOfEncodings)(this.encodings),s=n+this.options.marginLeft+this.options.marginRight;this.setSvgAttributes(s,o),this.options.background&&this.drawRect(0,0,s,o,this.svg).setAttribute("style","fill:"+this.options.background+";")}},{key:"drawSvgBarcode",value:function(n,o,s){var c,y=s.data;c=o.textPosition=="top"?o.fontSize+o.textMargin:0;for(var E=0,T=0,tt=0;tt<y.length;tt++)T=tt*o.width+s.barcodePadding,y[tt]==="1"?E++:E>0&&(this.drawRect(T-o.width*E,c,o.width*E,o.height,n),E=0);E>0&&this.drawRect(T-o.width*(E-1),c,o.width*E,o.height,n)}},{key:"drawSVGText",value:function(n,o,s){var c,y,E=this.document.createElementNS(h,"text");o.displayValue&&(E.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"||s.barcodePadding>0?(c=0,E.setAttribute("text-anchor","start")):o.textAlign=="right"?(c=s.width-1,E.setAttribute("text-anchor","end")):(c=s.width/2,E.setAttribute("text-anchor","middle")),E.setAttribute("x",c),E.setAttribute("y",y),E.appendChild(this.document.createTextNode(s.text)),n.appendChild(E))}},{key:"setSvgAttributes",value:function(n,o){var s=this.svg;s.setAttribute("width",n+"px"),s.setAttribute("height",o+"px"),s.setAttribute("x","0px"),s.setAttribute("y","0px"),s.setAttribute("viewBox","0 0 "+n+" "+o),s.setAttribute("xmlns",h),s.setAttribute("version","1.1"),s.setAttribute("style","transform: translate(0,0)")}},{key:"createGroup",value:function(n,o,s){var c=this.document.createElementNS(h,"g");return c.setAttribute("transform","translate("+n+", "+o+")"),s.appendChild(c),c}},{key:"setGroupOptions",value:function(n,o){n.setAttribute("style","fill:"+o.lineColor+";")}},{key:"drawRect",value:function(n,o,s,c,y){var E=this.document.createElementNS(h,"rect");return E.setAttribute("x",n),E.setAttribute("y",o),E.setAttribute("width",s),E.setAttribute("height",c),y.appendChild(E),E}}]),i}();u.default=a},function(S,u,m){"use strict";Object.defineProperty(u,"__esModule",{value:!0});var f=function(){function _(b,g){for(var h=0;h<g.length;h++){var a=g[h];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(b,a.key,a)}}return function(b,g,h){return g&&_(b.prototype,g),h&&_(b,h),b}}(),v=function(){function _(b,g,h){(function(a,i){if(!(a instanceof i))throw new TypeError("Cannot call a class as a function")})(this,_),this.object=b,this.encodings=g,this.options=h}return f(_,[{key:"render",value:function(){this.object.encodings=this.encodings}}]),_}();u.default=v},function(S,u,m){"use strict";Object.defineProperty(u,"__esModule",{value:!0});var f=function(){function _(b,g){for(var h=0;h<g.length;h++){var a=g[h];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(b,a.key,a)}}return function(b,g,h){return g&&_(b.prototype,g),h&&_(b,h),b}}(),v=function(){function _(b){(function(g,h){if(!(g instanceof h))throw new TypeError("Cannot call a class as a function")})(this,_),this.api=b}return f(_,[{key:"handleCatch",value:function(b){if(b.name!=="InvalidInputException")throw b;if(this.api._options.valid===this.api._defaults.valid)throw b.message;this.api._options.valid(!1),this.api.render=function(){}}},{key:"wrapBarcodeCall",value:function(b){try{var g=b.apply(void 0,arguments);return this.api._options.valid(!0),g}catch(h){return this.handleCatch(h),this.api}}}]),_}();u.default=v}]);