marketplacepos 3.0.0 → 3.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Marketplace/168.fc314c19c4f4ee75.js +1 -0
- package/Marketplace/{445.8f1497373c95bb64.js → 445.cbf341bc0afe3ffc.js} +1 -1
- package/Marketplace/452.3ff80b06e0abc432.js +1 -0
- package/Marketplace/609.1ff46df22313afe0.js +1 -0
- package/Marketplace/index.html +2 -2
- package/Marketplace/{main.f311ebcbe604cb5c.js → main.e4f7719282b0ec0f.js} +1 -1
- package/Marketplace/{runtime.e9aace67aca23cc4.js → runtime.ca83e8a57daaf703.js} +1 -1
- package/Marketplace/scripts.0d34bffadb54993a.js +1 -0
- package/package.json +1 -1
- package/Marketplace/168.c285a33949235b70.js +0 -1
- package/Marketplace/452.98cb96aa212c291a.js +0 -1
- package/Marketplace/671.8d5ec5d95df1c8e5.js +0 -1
- package/Marketplace/scripts.3e75d50128144df1.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
(()=>{"use strict";var e,h={},v={};function r(e){var f=v[e];if(void 0!==f)return f.exports;var t=v[e]={id:e,loaded:!1,exports:{}};return h[e].call(t.exports,t,t.exports,r),t.loaded=!0,t.exports}r.m=h,e=[],r.O=(f,t,n,c)=>{if(!t){var a=1/0;for(d=0;d<e.length;d++){for(var[t,n,c]=e[d],b=!0,o=0;o<t.length;o++)(!1&c||a>=c)&&Object.keys(r.O).every(u=>r.O[u](t[o]))?t.splice(o--,1):(b=!1,c<a&&(a=c));if(b){e.splice(d--,1);var s=n();void 0!==s&&(f=s)}}return f}c=c||0;for(var d=e.length;d>0&&e[d-1][2]>c;d--)e[d]=e[d-1];e[d]=[t,n,c]},r.n=e=>{var f=e&&e.__esModule?()=>e.default:()=>e;return r.d(f,{a:f}),f},(()=>{var f,e=Object.getPrototypeOf?t=>Object.getPrototypeOf(t):t=>t.__proto__;r.t=function(t,n){if(1&n&&(t=this(t)),8&n||"object"==typeof t&&t&&(4&n&&t.__esModule||16&n&&"function"==typeof t.then))return t;var c=Object.create(null);r.r(c);var d={};f=f||[null,e({}),e([]),e(e)];for(var a=2&n&&t;"object"==typeof a&&!~f.indexOf(a);a=e(a))Object.getOwnPropertyNames(a).forEach(b=>d[b]=()=>t[b]);return d.default=()=>t,r.d(c,d),c}})(),r.d=(e,f)=>{for(var t in f)r.o(f,t)&&!r.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:f[t]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce((f,t)=>(r.f[t](e,f),f),[])),r.u=e=>(592===e?"common":e)+"."+{56:"0432dfcbb3e04e39",62:"4f9a8ca2692bdd97",103:"bc1f4c51ca99f04f",168:"
|
|
1
|
+
(()=>{"use strict";var e,h={},v={};function r(e){var f=v[e];if(void 0!==f)return f.exports;var t=v[e]={id:e,loaded:!1,exports:{}};return h[e].call(t.exports,t,t.exports,r),t.loaded=!0,t.exports}r.m=h,e=[],r.O=(f,t,n,c)=>{if(!t){var a=1/0;for(d=0;d<e.length;d++){for(var[t,n,c]=e[d],b=!0,o=0;o<t.length;o++)(!1&c||a>=c)&&Object.keys(r.O).every(u=>r.O[u](t[o]))?t.splice(o--,1):(b=!1,c<a&&(a=c));if(b){e.splice(d--,1);var s=n();void 0!==s&&(f=s)}}return f}c=c||0;for(var d=e.length;d>0&&e[d-1][2]>c;d--)e[d]=e[d-1];e[d]=[t,n,c]},r.n=e=>{var f=e&&e.__esModule?()=>e.default:()=>e;return r.d(f,{a:f}),f},(()=>{var f,e=Object.getPrototypeOf?t=>Object.getPrototypeOf(t):t=>t.__proto__;r.t=function(t,n){if(1&n&&(t=this(t)),8&n||"object"==typeof t&&t&&(4&n&&t.__esModule||16&n&&"function"==typeof t.then))return t;var c=Object.create(null);r.r(c);var d={};f=f||[null,e({}),e([]),e(e)];for(var a=2&n&&t;"object"==typeof a&&!~f.indexOf(a);a=e(a))Object.getOwnPropertyNames(a).forEach(b=>d[b]=()=>t[b]);return d.default=()=>t,r.d(c,d),c}})(),r.d=(e,f)=>{for(var t in f)r.o(f,t)&&!r.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:f[t]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce((f,t)=>(r.f[t](e,f),f),[])),r.u=e=>(592===e?"common":e)+"."+{56:"0432dfcbb3e04e39",62:"4f9a8ca2692bdd97",103:"bc1f4c51ca99f04f",168:"fc314c19c4f4ee75",231:"0c7ab993977632a2",257:"d1592e885695ba4b",278:"e89610409641d910",296:"93310f70e5f9d3a9",307:"e009e017bc05d4a6",311:"afcc0c4a03ea0076",389:"f73b3c5db7bdf654",445:"cbf341bc0afe3ffc",452:"3ff80b06e0abc432",476:"d08ef7b92327904d",478:"a63c640a3e971a16",500:"c2e6963e4771761e",527:"984c24771dbd0f8e",556:"5d624cfb73f161b2",592:"f9c9a55b81e3da5a",599:"8de0c2b4c7af0f9d",609:"1ff46df22313afe0",617:"4db1b737553fe58b",687:"1fb4b2602d2b185a",699:"d68a917277dbe11a",726:"40535ee28a35e978",810:"af61302495e16f98",877:"bbdea3b04cc75780",900:"b7de175b628a8dbe",967:"2b39f548c7f4eb30"}[e]+".js",r.miniCssF=e=>{},r.hmd=e=>((e=Object.create(e)).children||(e.children=[]),Object.defineProperty(e,"exports",{enumerable:!0,set:()=>{throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}}),e),r.o=(e,f)=>Object.prototype.hasOwnProperty.call(e,f),(()=>{var e={},f="pos-marketplace:";r.l=(t,n,c,d)=>{if(e[t])e[t].push(n);else{var a,b;if(void 0!==c)for(var o=document.getElementsByTagName("script"),s=0;s<o.length;s++){var i=o[s];if(i.getAttribute("src")==t||i.getAttribute("data-webpack")==f+c){a=i;break}}a||(b=!0,(a=document.createElement("script")).type="module",a.charset="utf-8",a.timeout=120,r.nc&&a.setAttribute("nonce",r.nc),a.setAttribute("data-webpack",f+c),a.src=r.tu(t)),e[t]=[n];var p=(g,u)=>{a.onerror=a.onload=null,clearTimeout(l);var _=e[t];if(delete e[t],a.parentNode&&a.parentNode.removeChild(a),_&&_.forEach(y=>y(u)),g)return g(u)},l=setTimeout(p.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=p.bind(null,a.onerror),a.onload=p.bind(null,a.onload),b&&document.head.appendChild(a)}}})(),r.r=e=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e;r.tt=()=>(void 0===e&&(e={createScriptURL:f=>f},typeof trustedTypes<"u"&&trustedTypes.createPolicy&&(e=trustedTypes.createPolicy("angular#bundler",e))),e)})(),r.tu=e=>r.tt().createScriptURL(e),r.p="https://cdn.jsdelivr.net/npm/marketplacepos@3.0.3/Marketplace/",(()=>{var e={666:0};r.f.j=(n,c)=>{var d=r.o(e,n)?e[n]:void 0;if(0!==d)if(d)c.push(d[2]);else if(666!=n){var a=new Promise((i,p)=>d=e[n]=[i,p]);c.push(d[2]=a);var b=r.p+r.u(n),o=new Error;r.l(b,i=>{if(r.o(e,n)&&(0!==(d=e[n])&&(e[n]=void 0),d)){var p=i&&("load"===i.type?"missing":i.type),l=i&&i.target&&i.target.src;o.message="Loading chunk "+n+" failed.\n("+p+": "+l+")",o.name="ChunkLoadError",o.type=p,o.request=l,d[1](o)}},"chunk-"+n,n)}else e[n]=0},r.O.j=n=>0===e[n];var f=(n,c)=>{var o,s,[d,a,b]=c,i=0;if(d.some(l=>0!==e[l])){for(o in a)r.o(a,o)&&(r.m[o]=a[o]);if(b)var p=b(r)}for(n&&n(c);i<d.length;i++)r.o(e,s=d[i])&&e[s]&&e[s][0](),e[s]=0;return r.O(p)},t=self.webpackChunkpos_marketplace=self.webpackChunkpos_marketplace||[];t.forEach(f.bind(null,0)),t.push=f.bind(null,t.push.bind(t))})()})();
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(S,u){"object"==typeof exports&&typeof module<"u"?module.exports=u():"function"==typeof define&&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)||0===l.size?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),0===e.size&&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||"object"!=typeof r)&&(void 0!==r.jquery&&(r=r[0]),void 0!==r.nodeType),b=r=>_(r)?r.jquery?r[0]:r:"string"==typeof r&&r.length>0?document.querySelector(f(r)):null,g=r=>{if(!_(r)||0===r.getClientRects().length)return!1;const t="visible"===getComputedStyle(r).getPropertyValue("visibility"),e=r.closest("details:not([open])");if(!e)return t;if(e!==r){const l=r.closest("summary");if(l&&l.parentNode!==e||null===l)return!1}return t},h=r=>!r||r.nodeType!==Node.ELEMENT_NODE||!!r.classList.contains("disabled")||(void 0!==r.disabled?r.disabled:r.hasAttribute("disabled")&&"false"!==r.getAttribute("disabled")),a=r=>{if(!document.documentElement.attachShadow)return null;if("function"==typeof r.getRootNode){const t=r.getRootNode();return t instanceof ShadowRoot?t:null}return r instanceof ShadowRoot?r:r.parentNode?a(r.parentNode):null},i=()=>{},o=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,s=[],c=()=>"rtl"===document.documentElement.dir,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)}},"loading"===document.readyState?(s.length||document.addEventListener("DOMContentLoaded",()=>{for(const e of s)e()}),s.push(t)):t()},E=(r,t=[],e=r)=>"function"==typeof r?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-1===p?!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="string"==typeof t,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("string"!=typeof t||!r)return;let[p,w,O]=An(t,e,l);var I;t in rt&&(I=w,w=function(M){if(!M.relatedTarget||M.relatedTarget!==M.delegateTarget&&!M.delegateTarget.contains(M.relatedTarget))return I.call(this,M)});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("string"!=typeof t||!r)return;const[d,p,w]=An(t,e,l),O=w!==t,x=me(r),j=x[w]||{},P=t.startsWith(".");if(void 0===p){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("string"!=typeof t||!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("true"===r)return!0;if("false"===r)return!1;if(r===Number(r).toString())return Number(r);if(""===r||"null"===r)return null;if("string"!=typeof r)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,..."object"==typeof l?l:{},..._(e)?At.getDataAttributes(e):{},..."object"==typeof t?t:{}}}_typeCheckConfig(t,e=this.constructor.DefaultType){for(const[d,p]of Object.entries(e)){const w=t[d],O=_(w)?"element":null==(l=w)?`${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,"object"==typeof e?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 l=r.NAME;A.on(document,`click.dismiss${r.EVENT_KEY}`,`[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("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)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);"toggle"===t&&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&&("pen"===t.pointerType||"touch"===t.pointerType)}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());l!==t&&this._slide(t>l?le:Xt,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)),"hover"===this._config.pause&&(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());this._swipeHelper=new ve(this._element,{leftCallback:()=>this._slide(this._directionToOrder(Vt)),rightCallback:()=>this._slide(this._directionToOrder(ye)),endCallback:()=>{"hover"===this._config.pause&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),500+this._config.interval))}})}_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),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("number"!=typeof t){if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)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()):"next"===At.getDataAttribute(this,"slide")?(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);null!==p&&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`,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"string"==typeof t&&/show|hide/.test(t)&&(e.toggle=!1),this.each(function(){const l=qt.getOrCreateInstance(this,e);if("string"==typeof t){if(void 0===l[t])throw new TypeError(`No method named "${t}"`);l[t]()}})}}A.on(document,Lo,Ve,function(r){("A"===r.target.tagName||r.delegateTarget&&"A"===r.delegateTarget.tagName)&&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",$n="afterRead",Bn="beforeMain",zn="afterMain",Fn="beforeWrite",Xn="afterWrite",Vn=[Rn,"read",$n,Bn,"main",zn,Fn,"write",Xn];function yt(r){return r?(r.nodeName||"").toLowerCase():null}function lt(r){if(null==r)return window;if("[object Window]"!==r.toString()){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];!1===O?p.removeAttribute(w):p.setAttribute(w,!0===O?"":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 null!=r&&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){void 0===t&&(t=!1),void 0===e&&(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"html"===yt(r)?r:r.assignedSlot||r.parentNode||(Ke(r)?r.host:null)||St(r)}function qn(r){return ut(r)&&"fixed"!==xt(r).position?r.offsetParent:null}function ue(r){for(var t=lt(r),e=qn(r);e&&Ro(e)&&"static"===xt(e).position;)e=qn(e);return e&&("html"===yt(e)||"body"===yt(e)&&"static"===xt(e).position)?t:e||function(l){var d=/firefox/i.test(Ye());if(/Trident/i.test(Ye())&&ut(l)&&"fixed"===xt(l).position)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("none"!==w.transform||"none"!==w.perspective||"paint"===w.contain||-1!==["transform","perspective"].indexOf(w.willChange)||d&&"filter"===w.willChange||d&&w.filter&&"none"!==w.filter)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,W,X,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=(X=e,Kn("number"!=typeof(W="function"==typeof(W=d.padding)?W(Object.assign({},X.rects,{placement:X.placement})):W)?W:Qn(W,Kt))),C=Je(p),R="y"===x?et:nt,L="y"===x?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?"y"===x?D.clientHeight||0:D.clientWidth||0:0,N=V/2-C[j]/2+(I/2-M/2),H=fe(P[R],N,V-C[j]-P[L]);e.modifiersData[l]=((t={})[x]=H,t.centerOffset=H-N,t)}},effect:function(r){var t=r.state,e=r.options.element,l=void 0===e?"[data-popper-arrow]":e;null!=l&&("string"!=typeof l||(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=void 0===R?0:R,I=w.y,M=void 0===I?0:I,D="function"==typeof P?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)&&"static"!==xt(H=St(e)).position&&"absolute"===O&&(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,bt,it,dt,Y,J=Object.assign({position:O},j&&No),ct=!0===P?(bt={x:L,y:M},it=lt(e),dt=bt.y,{x:Jt(bt.x*(Y=it.devicePixelRatio||1))/Y||0,y:Jt(dt*Y)/Y||0}):{x:L,y:M};return L=ct.x,M=ct.y,Object.assign({},J,x?((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):((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=void 0===l||l,p=e.adaptive,w=void 0===p||p,O=e.roundOffsets,x=void 0===O||O,j={placement:wt(t.placement),variation:te(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:d,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,Jn(Object.assign({},j,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:w,roundOffsets:x})))),null!=t.modifiersData.arrow&&(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=void 0===d||d,w=l.resize,O=void 0===w||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);return/auto|scroll|overlay|hidden/.test(t.overflow+t.overflowY+t.overflowX)}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;void 0===t&&(t=[]);var l=ti(r),d=l===(null==(e=r.ownerDocument)?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&&"fixed"===d)&&(P=O.offsetLeft,C=O.offsetTop)}return{width:x,height:j,x:P+on(l),y:C}}(r,e)):Mt(t)?((p=Zt(l=t,!1,"fixed"===e)).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):sn(function(l){var d,p=St(l),w=nn(l),O=null==(d=l.ownerDocument)?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"rtl"===xt(O||p).direction&&(P+=It(p.clientWidth,O?O.clientWidth:0)-x),{width:x,height:j,x:P,y:C}}(St(r)));var l,p}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(null!=j){var P="y"===j?"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){void 0===t&&(t={});var it,ht,dt,Y,q,ot,pt,Ot,Et,Z,l=t.placement,d=void 0===l?r.placement:l,p=t.strategy,w=void 0===p?r.strategy:p,O=t.boundary,x=void 0===O?In:O,j=t.rootBoundary,P=void 0===j?We:j,C=t.elementContext,R=void 0===C?Yt:C,L=t.altBoundary,I=void 0!==L&&L,M=t.padding,D=void 0===M?0:M,V=Kn("number"!=typeof D?D:Qn(D,Kt)),B=r.rects.popper,z=r.elements[I?R===Yt?Dn:Yt:R],N=(it=Mt(z)?z:z.contextElement||St(r.elements.popper),dt=P,Y=w,Ot="clippingParents"===(ht=x)?(ot=he(xe(q=it)),Mt(pt=["absolute","fixed"].indexOf(xt(q).position)>=0&&ut(q)?ue(q):q)?ot.filter(function(kt){return Mt(kt)&&Un(kt,pt)&&"body"!==yt(kt)}):[]):[].concat(ht),Z=(Et=[].concat(Ot,[dt])).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,Et[0],Y)),Z.width=Z.right-Z.left,Z.height=Z.bottom-Z.top,Z.x=Z.left,Z.y=Z.top,Z),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}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=void 0===d||d,w=e.altAxis,O=void 0===w||w,x=e.fallbackPlacements,j=e.padding,P=e.boundary,C=e.rootBoundary,R=e.altBoundary,L=e.flipVariations,I=void 0===L||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?function Ho(r,t){void 0===t&&(t={});var d=t.boundary,p=t.rootBoundary,w=t.padding,O=t.flipVariations,x=t.allowedAutoPlacements,j=void 0===x?qe:x,P=te(t.placement),C=P?O?Ue:Ue.filter(function(I){return te(I)===P}):Kt,R=C.filter(function(I){return j.indexOf(I)>=0});0===R.length&&(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]})}(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&&"break"!==oe(Z);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 void 0===e&&(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,l=r.name,d=r.options.offset,p=void 0===d?[0,0]:d,w=qe.reduce(function(P,C){return P[C]=(L=t.rects,I=p,M=wt(R=C),D=[nt,et].indexOf(M)>=0?-1:1,K=(K=(V="function"==typeof I?I(Object.assign({},L,{placement:R})):I)[0])||0,B=((B=V[1])||0)*D,[nt,at].indexOf(M)>=0?{x:B,y:K}:{x:K,y:B}),P;var R,L,I,M,D,V,K,B},{}),O=w[t.placement],j=O.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=O.x,t.modifiersData.popperOffsets.y+=j),t.modifiersData[l]=w}},an={name:"popperOffsets",enabled:!0,phase:"read",fn:function(r){var t=r.state;t.modifiersData[r.name]=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 On,ro,t=r.state,e=r.options,l=r.name,d=e.mainAxis,p=void 0===d||d,w=e.altAxis,O=void 0!==w&&w,R=e.tether,L=void 0===R||R,I=e.tetherOffset,M=void 0===I?0:I,D=ee(t,{boundary:e.boundary,rootBoundary:e.rootBoundary,padding:e.padding,altBoundary:e.altBoundary}),V=wt(t.placement),K=te(t.placement),B=!K,z=Ze(V),N="x"===z?"y":"x",H=t.modifiersData.popperOffsets,G=t.rects.reference,W=t.rects.popper,X="function"==typeof M?M(Object.assign({},t.rects,{placement:t.placement})):M,J="number"==typeof X?{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="y"===z?et:nt,dt="y"===z?st:at,Y="y"===z?"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?"y"===z?yn.clientTop||0:yn.clientLeft||0:0,Qi=null!=(it=ct?.[z])?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,Ft=H[N],$e="y"===N?"height":"width",Zi=Ft+D["x"===z?et:nt],to=Ft-D["x"===z?st:at],wn=-1!==[et,nt].indexOf(V),eo=null!=(Ji=ct?.[N])?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?(ro=fe(no,Ft,On=io))>On?On:ro: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){void 0===e&&(e=!1);var l,d,C,R,L,I,p=ut(t),w=ut(t)&&(R=(C=t).getBoundingClientRect(),L=Jt(R.width)/C.offsetWidth||1,I=Jt(R.height)/C.offsetHeight||1,1!==L||1!==I),O=St(t),x=Zt(r,w,e),j={scrollLeft:0,scrollTop:0},P={x:0,y:0};return(p||!p&&!e)&&(("body"!==yt(t)||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&&"function"==typeof l.getBoundingClientRect)})}function je(r){void 0===r&&(r={});var e=r.defaultModifiers,l=void 0===e?[]:e,d=r.defaultOptions,p=void 0===d?ci:d;return function(w,O,x){void 0===x&&(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="function"==typeof D?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,N,H,z=(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},{}),N=Object.keys(B).map(function(N){return B[N]}),H=Fo(N),Vn.reduce(function(G,W){return G.concat(H.filter(function(X){return X.phase===W}))},[]));return C.orderedModifiers=z.filter(function(N){return N.enabled}),C.orderedModifiers.forEach(function(N){var G=N.options,X=N.effect;if("function"==typeof X){var J=X({state:C,name:N.name,instance:I,options:void 0===G?{}:G});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),"fixed"===C.options.strategy),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(!0!==C.reset){var z=C.orderedModifiers[B],N=z.fn,H=z.options;"function"==typeof N&&(C=N({state:C,options:void 0===H?{}:H,name:z.name,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:"main",modifierPhases:Vn,offset:ai,placements:qe,popper:Yt,popperGenerator:je,popperOffsets:an,preventOverflow:li,read:"read",reference:Dn,right:at,start:Lt,top:et,variationPlacements:Ue,viewport:We,write:"write"},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(){!h(this._element)&&this._isShown()&&this._completeHide({relatedTarget:this._element})}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("object"==typeof(t=super._getConfig(t)).reference&&!_(t.reference)&&"function"!=typeof t.reference.getBoundingClientRect)throw new TypeError(`${hi.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return t}_createPopper(){if(void 0===fi)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let t=this._element;"parent"===this._config.reference?t=this._parent:_(this._config.reference)?t=b(this._config.reference):"object"==typeof this._config.reference&&(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="end"===getComputedStyle(this._menu).getPropertyValue("--bs-position").trim();return t.classList.contains("dropup")?e?Zo:Jo:e?er:tr}_detectNavbar(){return null!==this._element.closest(".navbar")}_getOffset(){const{offset:t}=this._config;return"string"==typeof t?t.split(",").map(e=>Number.parseInt(e,10)):"function"==typeof t?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||"static"===this._config.display)&&(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("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}})}static clearMenus(t){if(2===t.button||"keyup"===t.type&&"Tab"!==t.key)return;const e=k.find(Yo);for(const l of e){const d=mt.getInstance(l);if(!d||!1===d._config.autoClose)continue;const p=t.composedPath(),w=p.includes(d._menu);if(p.includes(d._element)||"inside"===d._config.autoClose&&!w||"outside"===d._config.autoClose&&w||d._menu.contains(t.target)&&("keyup"===t.type&&"Tab"===t.key||/input|select|option|textarea|form/i.test(t.target.tagName)))continue;const O={relatedTarget:d._element};"click"===t.type&&(O.clickEvent=t),d._completeHide(O)}}static dataApiKeydownHandler(t){const e=/input|textarea/i.test(t.target.tagName),l="Escape"===t.key,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",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();this._getElement().classList.add("show"),this._emulateAnimation(()=>{E(t)})}hide(t){this._config.isVisible?(this._getElement().classList.remove("show"),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);0===l.length?e.focus():this._lastTabNavDirection===yi?l[l.length-1].focus():l[0].focus()}_handleKeydown(t){"Tab"===t.key&&(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);null!==d?(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",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("show"),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),this._element.classList.add("show"),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=>{"Escape"===t.key&&(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&&("static"!==this._config.backdrop?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;"hidden"===e||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("string"==typeof t){if(void 0===l[t])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}`,ki="showing",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("show"),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("hiding"),this._backdrop.hide(),this._queueCallback(()=>{this._element.classList.remove("show","hiding"),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?()=>{"static"!==this._config.backdrop?this.hide():A.trigger(this._element,Ii)}:null})}_initializeFocusTrap(){return new wi({trapElement:this._element})}_addEventListeners(){A.on(this._element,jr,t=>{"Escape"===t.key&&(this._config.keyboard?this.hide():A.trigger(this._element,Ii))})}static jQueryInterface(t){return this.each(function(){const e=Tt.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)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-]"))"fixed"!==getComputedStyle(r).position&&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&&"function"==typeof d)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",$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(void 0===fi)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(".modal"),$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("none"===this._element.style.display)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")),!1===this._isHovered&&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"string"==typeof t?t.split(",").map(e=>Number.parseInt(e,10)):"function"==typeof t?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("click"===e)A.on(this._element,this.constructor.eventName("click"),this._config.selector,l=>{this._initializeOnDelegatedTarget(l).toggle()});else if("manual"!==e){const l=this.constructor.eventName(e===de?"mouseenter":"focusin"),d=this.constructor.eventName(e===de?"mouseleave":"focusout");A.on(this._element,l,this._config.selector,p=>{const w=this._initializeOnDelegatedTarget(p);w._activeTrigger["focusin"===p.type?dn:de]=!0,w._enter()}),A.on(this._element,d,this._config.selector,p=>{const w=this._initializeOnDelegatedTarget(p);w._activeTrigger["focusout"===p.type?dn:de]=w._element.contains(p.relatedTarget),w._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},A.on(this._element.closest(".modal"),$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,..."object"==typeof t&&t?t:{}},t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t.container=!1===t.container?document.body:b(t.container),"number"==typeof t.delay&&(t.delay={show:t.delay,hide:t.delay}),"number"==typeof t.title&&(t.title=t.title.toString()),"number"==typeof t.content&&(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("string"==typeof t){if(void 0===e[t])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("string"==typeof t){if(void 0===e[t])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="visible"===getComputedStyle(this._element).overflowY?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,"string"==typeof t.threshold&&(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(){return new IntersectionObserver(e=>this._observerCallback(e),{root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin})}_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("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)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",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(()=>{"tab"===t.getAttribute("role")?(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("fade")))}_deactivate(t,e){t&&(t.classList.remove(Ht),t.blur(),this._deactivate(k.getElementFromSelector(t)),this._queueCallback(()=>{"tab"===t.getAttribute("role")?(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("fade")))}_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("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)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}`,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("hide"),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("hide"),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("string"==typeof t){if(void 0===e[t])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}}),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&&"object"==typeof f&&f&&f.__esModule)return f;var _=Object.create(null);if(m.r(_),Object.defineProperty(_,"default",{enumerable:!0,value:f}),2&v&&"string"!=typeof f)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}}(),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||"object"!=typeof s&&"function"!=typeof s?o:s}(this,(a.__proto__||Object.getPrototypeOf(a)).call(this,i,n))}return function(i,n){if("function"!=typeof n&&null!==n)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+="0"==o[s]?"100":"110"}return{data:i+="1001",text:this.text}}},{key:"valid",value:function(){return-1!==this.data.search(/^[0-9]+$/)}}]),a}(((f=m(0))&&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}}(),b=(f=m(0))&&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||"object"!=typeof y&&"function"!=typeof y?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("function"!=typeof o&&null!==o)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(void 0===s)throw new RangeError("The encoding does not start with a start character.");!0===this.shouldEncodeAsEan128()&&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"string"==typeof n&&(n="true"===n.toLowerCase()),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];void 0!==E?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[_]);v+=(_+f.length)%2==0?b: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||"object"!=typeof c&&"function"!=typeof c?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("function"!=typeof n&&null!==n)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),-1!==i.search(/^[0-9]{11}$/)&&(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||"object"!=typeof c&&"function"!=typeof c?s:c}(this,(a.__proto__||Object.getPrototypeOf(a)).call(this,i,n));return o.displayValue=n.displayValue,o.fontSize=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("function"!=typeof n&&null!==n)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-1!==this.data.search(/^[0-9]{12}$/)&&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),a=function(i){function n(){return function g(i,n){if(!(i instanceof n))throw new TypeError("Cannot call a class as a function")}(this,n),function h(i,n){if(!i)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!n||"object"!=typeof n&&"function"!=typeof n?i:n}(this,(n.__proto__||Object.getPrototypeOf(n)).apply(this,arguments))}return function(o,s){if("function"!=typeof s&&null!==s)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-1!==this.data.search(/^([0-9]{2})+$/)}},{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("1"===c?"111":"1")+("1"===s[y]?"000":"0")}).join("")}}]),n}(((f=m(0))&&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(_)&&"string"==typeof f[_=v[_]]&&(f[_]=parseInt(f[_],10));return"string"==typeof f.displayValue&&(f.displayValue="false"!=f.displayValue),f}},function(S,u,m){"use strict";Object.defineProperty(u,"__esModule",{value:!0}),u.default={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(){}}},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,_=(f=m(7))&&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("center"==n.textAlign)return Math.floor((a-i)/2);if("left"==n.textAlign)return 0;if("right"==n.textAlign)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||"object"!=typeof i&&"function"!=typeof i?a:i}function _(a,i){if("function"!=typeof i&&null!==i)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),void 0!==Q&&((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=void 0===U.text?void 0:""+U.text;var vt=(0,v.default)(rt._options,U);vt=(0,h.default)(vt);var me=T(F,$[Q],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){var F=(0,v.default)(this._options,($=this._renderProperties[Q]).options);"auto"==F.format&&(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}}(),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+=(y=function(y){for(var E=0,T=0;T<y.length;T++)E+=i(y[T]);return E%43}(s),g[y])),function(y,E){if(!y)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!E||"object"!=typeof E&&"function"!=typeof E?y:E}(this,(o.__proto__||Object.getPrototypeOf(o)).call(this,s,c));var y}return function(s,c){if("function"!=typeof c&&null!==c)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-1!==this.data.search(/^[0-9A-Z\-\.\ \$\/\+\%]+$/)}}]),o}(((f=m(0))&&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 o=i(n),h[o].toString(2);var o}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||"object"!=typeof a&&"function"!=typeof a?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("function"!=typeof n&&null!==n)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}}(),b=(f=m(5))&&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||"object"!=typeof c&&"function"!=typeof c?s:c}(this,(i.__proto__||Object.getPrototypeOf(i)).call(this,g.A_START_CHAR+n,o))}return function(n,o){if("function"!=typeof o&&null!==o)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}}(),b=(f=m(5))&&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||"object"!=typeof c&&"function"!=typeof c?s:c}(this,(i.__proto__||Object.getPrototypeOf(i)).call(this,g.B_START_CHAR+n,o))}return function(n,o){if("function"!=typeof o&&null!==o)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}}(),b=(f=m(5))&&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||"object"!=typeof c&&"function"!=typeof c?s:c}(this,(i.__proto__||Object.getPrototypeOf(i)).call(this,g.C_START_CHAR+n,o))}return function(n,o){if("function"!=typeof o&&null!==o)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){null===o&&(o=Function.prototype);var y=Object.getOwnPropertyDescriptor(o,s);if(void 0===y){var E=Object.getPrototypeOf(o);return null===E?void 0:n(E,s,c)}if("value"in y)return y.value;var T=y.get;return void 0!==T?T.call(c):void 0},b=m(2),h=(f=m(8))&&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),-1!==s.search(/^[0-9]{12}$/)&&(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||"object"!=typeof T&&"function"!=typeof T?E:T}(this,(o.__proto__||Object.getPrototypeOf(o)).call(this,s,c));return y.lastChar=c.lastChar,y}return function(s,c){if("function"!=typeof c&&null!==c)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-1!==this.data.search(/^[0-9]{13}$/)&&+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){null===n&&(n=Function.prototype);var c=Object.getOwnPropertyDescriptor(n,o);if(void 0===c){var y=Object.getPrototypeOf(n);return null===y?void 0:i(y,o,s)}if("value"in c)return c.value;var E=c.get;return void 0!==E?E.call(s):void 0},g=(f=m(8))&&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),-1!==o.search(/^[0-9]{7}$/)&&(o+=h(o)),function(c,y){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!y||"object"!=typeof y&&"function"!=typeof y?c:y}(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,o,s))}return function(o,s){if("function"!=typeof s&&null!==s)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-1!==this.data.search(/^[0-9]{8}$/)&&+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));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||"object"!=typeof c&&"function"!=typeof c?s:c}(this,(i.__proto__||Object.getPrototypeOf(i)).call(this,n,o))}return function(n,o){if("function"!=typeof o&&null!==o)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-1!==this.data.search(/^[0-9]{5}$/)}},{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}(g(m(0)).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||"object"!=typeof s&&"function"!=typeof s?o:s}(this,(a.__proto__||Object.getPrototypeOf(a)).call(this,i,n))}return function(i,n){if("function"!=typeof n&&null!==n)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-1!==this.data.search(/^[0-9]{2}$/)}},{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||"object"!=typeof c&&"function"!=typeof c?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,-1!==y.search(/^[0-9]{6}$/))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(-1===y.search(/^[01][0-9]{7}$/)||(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,T.fontSize=E.fontSize>10*E.width?10*E.width:E.fontSize,T.guardHeight=E.height+T.fontSize/2+E.textMargin,T}return function(y,E){if("function"!=typeof E&&null!==E)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],T=i[parseInt(this.upcA[this.upcA.length-1])][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}}(),b=(f=m(10))&&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),-1!==n.search(/^[0-9]{13}$/)&&(n+=g(n)),function(s,c){if(!s)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!c||"object"!=typeof c&&"function"!=typeof c?s:c}(this,(i.__proto__||Object.getPrototypeOf(i)).call(this,n,o))}return function(n,o){if("function"!=typeof o&&null!==o)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-1!==this.data.search(/^[0-9]{14}$/)&&+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,_=(f=m(4))&&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||"object"!=typeof s&&"function"!=typeof s?o:s}(this,(a.__proto__||Object.getPrototypeOf(a)).call(this,i+(0,b.mod10)(i),n))}return function(i,n){if("function"!=typeof n&&null!==n)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,_=(f=m(4))&&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||"object"!=typeof s&&"function"!=typeof s?o:s}(this,(a.__proto__||Object.getPrototypeOf(a)).call(this,i+(0,b.mod11)(i),n))}return function(i,n){if("function"!=typeof n&&null!==n)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,_=(f=m(4))&&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||"object"!=typeof s&&"function"!=typeof s?o:s}(this,(a.__proto__||Object.getPrototypeOf(a)).call(this,i,n))}return function(i,n){if("function"!=typeof n&&null!==n)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,_=(f=m(4))&&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||"object"!=typeof s&&"function"!=typeof s?o:s}(this,(a.__proto__||Object.getPrototypeOf(a)).call(this,i,n))}return function(i,n){if("function"!=typeof n&&null!==n)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}}(),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||"object"!=typeof s&&"function"!=typeof s?o:s}(this,(h.__proto__||Object.getPrototypeOf(h)).call(this,a,i));return n.number=parseInt(a,10),n}return function(a,i){if("function"!=typeof i&&null!==i)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)&&0!=a;)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=m(0))&&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}}(),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),0===a.search(/^[0-9\-\$\:\.\+\/]+$/)&&(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||"object"!=typeof s&&"function"!=typeof s?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("function"!=typeof i&&null!==i)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-1!==this.data.search(/^[A-D][0-9\-\$\:\.\+\/]+[A-D]$/)}},{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=m(0))&&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}}(),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||"object"!=typeof o&&"function"!=typeof o?n:o}(this,(h.__proto__||Object.getPrototypeOf(h)).call(this,a,i))}return function(a,i){if("function"!=typeof i&&null!==i)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=m(0))&&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="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(a){return typeof a}:function(a){return a&&"function"==typeof Symbol&&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}}u.default=function h(a){if("string"==typeof a)return function(c){var y=document.querySelectorAll(c);if(0!==y.length){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&&"svg"===a.nodeName.toLowerCase()||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&&"object"===(void 0===a?"undefined":f(a))&&!a.nodeName)return{element:a,renderer:_.default.ObjectRenderer};throw new b.InvalidElementException;var o,s}},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"),(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}}(),b=(f=m(7))&&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="top"==i.textPosition?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;"1"===c[y]?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");i.displayValue&&(s="top"==i.textPosition?i.marginTop+i.fontSize-i.textMargin:i.height+i.textMargin+i.marginTop+i.fontSize,c.font=i.fontOptions+" "+i.fontSize+"px "+i.font,"left"==i.textAlign||n.barcodePadding>0?(o=0,c.textAlign="left"):"right"==i.textAlign?(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}}(),b=(f=m(7))&&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="top"==o.textPosition?o.fontSize+o.textMargin:0;for(var E=0,T=0,tt=0;tt<y.length;tt++)T=tt*o.width+s.barcodePadding,"1"===y[tt]?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="top"==o.textPosition?o.fontSize-o.textMargin:o.height+o.textMargin+o.fontSize,"left"==o.textAlign||s.barcodePadding>0?(c=0,E.setAttribute("text-anchor","start")):"right"==o.textAlign?(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("InvalidInputException"!==b.name)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}]);
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"marketplacepos","version":"3.0.
|
|
1
|
+
{"name":"marketplacepos","version":"3.0.3"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkpos_marketplace=self.webpackChunkpos_marketplace||[]).push([[168],{7168:(I,p,s)=>{s.r(p),s.d(p,{LoginModule:()=>S});var l=s(6814),d=s(6223),t=s(5879),c=s(9790),g=s(9659);let u=(()=>{var o;class r{constructor(e,n,a){this.route=e,this.http=n,this.service=a}ngOnInit(){this.route.queryParams.subscribe(e=>{this.code=e.code})}addChannelLazada(){this.http.post("/api/ChannelAdd/AddLazada",{Code:this.code}).subscribe(n=>{this.service.navigate(["/menu/channel"])})}}return(o=r).\u0275fac=function(e){return new(e||o)(t.Y36(c.gz),t.Y36(g.O),t.Y36(c.F0))},o.\u0275cmp=t.Xpm({type:o,selectors:[["app-lazada"]],decls:20,vars:1,consts:[[1,"container","h-100"],[1,"row","d-flex","justify-content-center","align-items-center","h-100"],[1,"col-md-4"],[1,"card"],[1,"card-header","text-center"],[1,"far","fa-check-circle","text-success",2,"font-size","115px"],[1,"h3","fw-bold"],[1,"card-body","text-center","py-6"],[1,"text-shopee","fw-bold"],["type","button",1,"btn","btn-success","mt-6",3,"click"],[1,"fas","fa-undo"]],template:function(e,n){1&e&&(t.TgZ(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4),t._UZ(5,"i",5),t.TgZ(6,"div",6),t._uU(7,"Success !"),t.qZA()(),t.TgZ(8,"div",7)(9,"div"),t._uU(10,"You have successfully authorized "),t.qZA(),t.TgZ(11,"div"),t._uU(12,"DEALPOS to manage your Lazada"),t.qZA(),t.TgZ(13,"div"),t._uU(14," Your Code is "),t.TgZ(15,"span",8),t._uU(16),t.qZA()(),t.TgZ(17,"button",9),t.NdJ("click",function(){return n.addChannelLazada()}),t._UZ(18,"i",10),t._uU(19," Add to my Channel"),t.qZA()()()()()()),2&e&&(t.xp6(16),t.Oqu(n.code))}}),r})();var h=s(5802),f=s(7826),_=s(9229);let b=(()=>{var o;class r{constructor(){}getBrowserName(){const e=window.navigator.userAgent.toLowerCase();switch(!0){case e.indexOf("edge")>-1||e.indexOf("edg")>-1:return"edge";case e.indexOf("opr")>-1:return"opera";case e.indexOf("chrome")>-1:return"chrome";case e.indexOf("trident")>-1:return"ie";case e.indexOf("firefox")>-1:return"firefox";case e.indexOf("safari")>-1:return"safari";default:return"other"}}}return(o=r).\u0275fac=function(e){return new(e||o)},o.\u0275prov=t.Yz7({token:o,factory:o.\u0275fac,providedIn:"root"}),r})();var x=s(4750),m=s(621);const C=["subdomainEl"];function v(o,r){if(1&o){const i=t.EpF();t.ynx(0),t.TgZ(1,"div",18)(2,"div",19)(3,"form")(4,"div",20)(5,"h2",21),t._uU(6,"Sign in"),t.qZA(),t.TgZ(7,"div",22)(8,"div",23)(9,"div",24)(10,"span",25),t._UZ(11,"i",26),t.qZA(),t.TgZ(12,"input",27,28),t.NdJ("ngModelChange",function(n){t.CHM(i);const a=t.oxw();return t.KtG(a.subdomain=n)}),t.qZA()()(),t.TgZ(14,"select",29),t.NdJ("ngModelChange",function(n){t.CHM(i);const a=t.oxw();return t.KtG(a.domain=n)}),t.TgZ(15,"option",30),t._uU(16,".dealpos.co.id"),t.qZA(),t.TgZ(17,"option",31),t._uU(18,".dealpos.net"),t.qZA(),t.TgZ(19,"option",32),t._uU(20,".dealpos.com"),t.qZA(),t.TgZ(21,"option",33),t._uU(22,".dealpos.app"),t.qZA()()()(),t.TgZ(23,"div",34)(24,"button",35),t.NdJ("click",function(){t.CHM(i);const n=t.oxw();return t.KtG(n.onNextState())}),t._uU(25," Next "),t.qZA()()()()(),t.BQk()}if(2&o){const i=t.oxw();t.xp6(12),t.Q6J("ngModel",i.subdomain),t.xp6(2),t.Q6J("ngModel",i.domain)}}function w(o,r){1&o&&(t.TgZ(0,"p"),t._uU(1," Username is required "),t.qZA())}function Z(o,r){if(1&o&&(t.TgZ(0,"div",59),t.YNc(1,w,2,0,"p",60),t.qZA()),2&o){t.oxw();const i=t.MAs(13);t.xp6(1),t.Q6J("ngIf",i.errors.required)}}const M=function(o,r){return{"fa-eye":o,"fa-eye-slash":r}};function O(o,r){if(1&o){const i=t.EpF();t.TgZ(0,"i",61),t.NdJ("click",function(){t.CHM(i);const n=t.oxw(2);return t.KtG(n.hideShowPassword())}),t.qZA()}if(2&o){const i=t.oxw(2);t.Q6J("ngClass",t.WLB(1,M,"eye-off"==i.passwordIcon,"eye"==i.passwordIcon))}}function y(o,r){1&o&&(t.TgZ(0,"p"),t._uU(1," Password is required "),t.qZA())}function A(o,r){if(1&o&&(t.TgZ(0,"div",59),t.YNc(1,y,2,0,"p",60),t.qZA()),2&o){t.oxw();const i=t.MAs(19);t.xp6(1),t.Q6J("ngIf",i.errors.required)}}function T(o,r){if(1&o){const i=t.EpF();t.TgZ(0,"div",18)(1,"div",19)(2,"div",36)(3,"h2",21),t._uU(4,"Sign in"),t.qZA(),t.TgZ(5,"div",37),t._uU(6," to "),t.TgZ(7,"h6",38),t._uU(8),t.qZA(),t.TgZ(9,"i",39),t.NdJ("click",function(){t.CHM(i);const n=t.oxw();return t.KtG(n.onEditDomain())}),t.qZA()()(),t.TgZ(10,"form",40)(11,"div",41)(12,"input",42,43),t.NdJ("ngModelChange",function(n){t.CHM(i);const a=t.oxw();return t.KtG(a.username=n)}),t.qZA(),t.TgZ(14,"label",44),t._uU(15,"Username"),t.qZA(),t.YNc(16,Z,2,1,"div",45),t.qZA(),t.TgZ(17,"div",46)(18,"input",47,48),t.NdJ("ngModelChange",function(n){t.CHM(i);const a=t.oxw();return t.KtG(a.password=n)}),t.qZA(),t.TgZ(20,"label",49),t._uU(21,"Password"),t.qZA(),t.YNc(22,O,1,4,"i",50),t.YNc(23,A,2,1,"div",45),t.qZA(),t.TgZ(24,"div",51)(25,"a",52),t._uU(26,"Forgot Password?"),t.qZA()(),t.TgZ(27,"div",53)(28,"button",54),t.NdJ("click",function(){t.CHM(i);const n=t.oxw();return t.KtG(n.onLogin())}),t._uU(29," Log in "),t.qZA()(),t.TgZ(30,"div",55),t._UZ(31,"hr"),t.TgZ(32,"span",56),t._uU(33,"or"),t.qZA(),t._UZ(34,"hr"),t.qZA(),t.TgZ(35,"div")(36,"button",57),t.NdJ("click",function(n){t.CHM(i);const a=t.oxw();return t.KtG(a.onLoginByGoogle(n))}),t._UZ(37,"i",58),t._uU(38," Sign In with Google "),t.qZA()()()()()}if(2&o){const i=t.MAs(13),e=t.MAs(19),n=t.oxw();t.xp6(8),t.AsE(" (",n.subdomain,"",n.domain,") "),t.xp6(4),t.Q6J("ngModel",n.username),t.xp6(4),t.Q6J("ngIf",i.invalid&&(i.dirty||i.touched)),t.xp6(2),t.Q6J("type",n.passwordType)("ngModel",n.password),t.xp6(4),t.Q6J("ngIf",""!=n.password&&"edge"!=n.browser),t.xp6(1),t.Q6J("ngIf",e.invalid&&(e.dirty||e.touched)),t.xp6(2),t.Q6J("href","https://"+n.subdomain+n.domain+"/ForgotPassword",t.LSH)}}const P=[{path:"",component:(()=>{var o;class r{constructor(e,n,a,q,L,z){this._router=e,this.elementRef=n,this.toastr=a,this.checkBrowser=q,this.authService=L,this.ngxPermission=z,this.domain=".dealpos.co.id",this.loginState="FORM_DOMAIN",this.passwordType="password",this.passwordIcon="eye-off"}ngOnInit(){this.initLogin(),this.elementRef.nativeElement.ownerDocument.body.style.backgroundColor="#dfeffc",this.browser=this.checkBrowser.getBrowserName()}ngAfterViewInit(){this.setAutoFocusDomain()}initLogin(){const e=JSON.parse(localStorage.getItem("Authorization"));if(e){this.username=e?.username,this.subdomain=e?.Host?.split(".")[0];const n=e?.Host?.split(".");this.domain=`.${n[1]}.${n[2]}`,this.authService.isActiveToken()&&this._router.navigate(["menu"])}}onNextState(){h.g.IsEmpty(this.subdomain)?this.toastr.warning("Account Domain is required","Warning"):(this.parseSubdomain(),this.loginState="FORM_AUTH")}parseSubdomain(){let e=this.subdomain.indexOf(".dealpos");-1!=e&&(this.subdomain=this.subdomain.substring(0,e))}onEditDomain(){this.loginState="FORM_DOMAIN"}onLogin(){this.authService.login({Host:`${this.subdomain}${this.domain}`,Username:this.username,Password:this.password}).subscribe(n=>{this.onSuccessLogin(n)})}onLoginByGoogle(e){this.authService.loginWithGoogle(e,`${this.subdomain}${this.domain}`).subscribe(a=>{this.onSuccessLogin(a)})}onSuccessLogin(e){this.ngxPermission.hasPermission([f.G.dashboardView]).then(n=>{this._router.navigate(n?["menu/dashboard"]:e.Channel.length<1?["menu/channel"]:["menu/products"])})}setAutoFocusDomain(){this.subdomainEl.nativeElement.focus()}hideShowPassword(){this.passwordType="text"===this.passwordType?"password":"text",this.passwordIcon="eye-off"===this.passwordIcon?"eye":"eye-off"}ngOnDestroy(){this.elementRef.nativeElement.ownerDocument.body.style.backgroundColor="white"}}return(o=r).\u0275fac=function(e){return new(e||o)(t.Y36(c.F0),t.Y36(t.SBq),t.Y36(_._W),t.Y36(b),t.Y36(x.e),t.Y36(m.YI))},o.\u0275cmp=t.Xpm({type:o,selectors:[["app-login"]],viewQuery:function(e,n){if(1&e&&t.Gf(C,5),2&e){let a;t.iGM(a=t.CRH())&&(n.subdomainEl=a.first)}},decls:30,vars:8,consts:[[1,"container"],[1,"row","mt-md-0","align-self-center"],[1,"col-12","col-md-7","text-center"],[1,"big-display","robotoslab","d-none","d-sm-block"],["ngSrc","https://res.cloudinary.com/pos/image/upload/v1687829600/APP/New_Omnichannel.png","alt","integration-image",1,"img-fluid",3,"width","height"],[1,"col-12","col-md-5","order-first","order-md-last","mt-12"],[1,"big-display","text-center","my-5","py-5","robotoslab","d-block","d-sm-none"],[4,"ngIf","ngIfElse"],["USR_PASS",""],[1,"col-12","d-block","d-md-none","text-center"],[1,"pt-8","me-3"],["target","_blank","href","https://www.dealpos.com"],["ngSrc","https://res.cloudinary.com/pos/image/upload/POS/Images/Login/dealpos.png","alt","dealpos-logo",1,"img-fluid",3,"width","height"],["target","_blank","href","https://changelog.dealpos.com/?categories=cat_nILYcoEQzgGWX&view=complete",1,"pt-8","font-italic"],[1,"mx-5","pb-5","mb-5","d-none","d-md-block"],[1,"row","justify-content-between","align-items-center"],[1,"col-auto","d-inline-flex"],[1,"col-auto"],[1,"card"],[1,"card-body","p-8"],[1,"card-title"],[1,"fw-normal","font-xl","robotoslab"],[1,"d-flex","align-items-center","mt-6"],[1,"mt-7","w-75","rounded-end-0"],[1,"input-group","mb-3"],["id","basic-addon1",1,"input-group-text","border-end-0","rounded-start"],[1,"fa-solid","fa-cloud"],["type","text","required","","name","subdomain","id","inputHost","placeholder","Store Address",1,"form-control","text-start","subdomain-input","border-start-0",2,"padding-left","0px",3,"ngModel","ngModelChange"],["subdomainEl",""],["name","domainOption",1,"form-select","form-control","border-start-0","mt-4","rounded-end","rounded-start-0","domain-option",3,"ngModel","ngModelChange"],["selected","","value",".dealpos.co.id"],["value",".dealpos.net"],["value",".dealpos.com"],["value",".dealpos.app"],[1,"w-100","mt-10"],["name","next","data-cy","next","type","submit",1,"btn","btn-lg","btn-primary","btn-block","font125rem","robotoslab","w-100",3,"click"],[1,"card-title","d-flex","align-items-center"],[1,"pt-2","ms-2"],[1,"fw-bold","me-2","robotoslab","d-inline-block","text-primary"],[1,"fa-solid","fa-edit","link-primary","fs-5","pointer",3,"click"],[1,"mt-10"],[1,"form-label-group"],["autofocus","","type","text","name","Username","id","inputUsername","placeholder","Username","required","",1,"form-control","text-start",3,"ngModel","ngModelChange"],["usernameCtrl","ngModel"],["for","inputUsername",1,"text-start"],["class","text-danger",4,"ngIf"],[1,"form-label-group","mb-5","mb-sm-1"],["name","Password","id","inputPassword","placeholder","Password","required","",1,"form-control","text-start",3,"type","ngModel","ngModelChange"],["passwordCtrl","ngModel"],["for","inputPassword",1,"text-start"],["class","passwordIcon fas fa-lg",3,"ngClass","click",4,"ngIf"],[1,"text-end","mt-3"],[3,"href"],[1,"w-100","mt-8"],["data-cy","login","type","submit",1,"btn","btn-lg","btn-primary","btn-block","font125rem","robotoslab","w-100",3,"click"],[1,"divider","d-flex","align-items-center","justify-content-center"],[1,"mx-4","text-muted"],[1,"btn","btn-social-login","text-primary","w-100","fw-bold",3,"click"],[1,"fa-brands","fa-google"],[1,"text-danger"],[4,"ngIf"],[1,"passwordIcon","fas","fa-lg",3,"ngClass","click"]],template:function(e,n){if(1&e&&(t.TgZ(0,"div",0)(1,"div",1)(2,"div",2)(3,"h1",3),t._uU(4," DealPOS Omnichannel "),t.qZA(),t._UZ(5,"img",4),t.qZA(),t.TgZ(6,"div",5)(7,"h1",6),t._uU(8," DealPOS Omnichannel "),t.qZA(),t.YNc(9,v,26,2,"ng-container",7),t.YNc(10,T,39,9,"ng-template",null,8,t.W1O),t.qZA(),t.TgZ(12,"div",9)(13,"p",10),t._uU(14,"Powered by :"),t.qZA(),t.TgZ(15,"a",11),t._UZ(16,"img",12),t.qZA(),t._UZ(17,"br"),t.TgZ(18,"a",13),t._uU(19,"Version 3.0.0"),t.qZA()()()(),t.TgZ(20,"footer",14)(21,"div",15)(22,"div",16)(23,"p",10),t._uU(24,"Powered by :"),t.qZA(),t.TgZ(25,"a",11),t._UZ(26,"img",12),t.qZA()(),t.TgZ(27,"div",17)(28,"a",13),t._uU(29,"Version 3.0.0"),t.qZA()()()()),2&e){const a=t.MAs(11);t.xp6(5),t.Q6J("width",350)("height",273),t.xp6(4),t.Q6J("ngIf","FORM_DOMAIN"==n.loginState)("ngIfElse",a),t.xp6(7),t.Q6J("width",130)("height",73),t.xp6(10),t.Q6J("width",130)("height",73)}},dependencies:[l.mk,l.O5,d._Y,d.YN,d.Kr,d.Fj,d.EJ,d.JJ,d.JL,d.Q7,d.On,d.F,l.Zd],styles:[".container[_ngcontent-%COMP%]{position:absolute;max-width:100%}.card[_ngcontent-%COMP%]{margin-bottom:30px;padding-bottom:5px;padding-top:5px}.passwordIcon[_ngcontent-%COMP%]{top:1.8rem;right:.8rem;position:absolute;margin:0 auto!important;cursor:pointer}.big-display[_ngcontent-%COMP%]{font-size:2rem;font-weight:300;line-height:1.2}@media (min-width: 768px){.container[_ngcontent-%COMP%]{max-width:70%;top:50%;left:50%;transform:translate(-50%) translateY(-50%)}.big-display[_ngcontent-%COMP%]{font-size:3rem}}footer[_ngcontent-%COMP%]{position:absolute;bottom:0;width:90%;left:3rem}.form-label-group[_ngcontent-%COMP%] > label[_ngcontent-%COMP%]{color:#666}.font-xl[_ngcontent-%COMP%]{font-size:x-large}.font125rem[_ngcontent-%COMP%]{font-size:1.25rem}.robotoslab[_ngcontent-%COMP%]{font-family:Roboto Slab}div.divider[_ngcontent-%COMP%] > hr[_ngcontent-%COMP%]{margin-top:1.2rem;margin-bottom:1.2rem;border-top:1px solid rgba(0,0,0,.855);width:20%}button.btn-social-login[_ngcontent-%COMP%]{border:1px solid var(--bs-primary)}.fa-google[_ngcontent-%COMP%]{background:conic-gradient(from -45deg,#ea4335 110deg,#4285f4 90deg 180deg,#34a853 180deg 270deg,#fbbc05 270deg) 73% 55%/150% 150% no-repeat;-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent}.domain-option[_ngcontent-%COMP%]{height:3.625rem;padding:.75rem;color:#343434;font-size:.875rem;border-color:#c8d3df;width:10rem}.subdomain-input[_ngcontent-%COMP%]{height:3.625rem;padding:.75rem;color:#343434;font-size:.875rem;border-color:#c8d3df}.form-select[_ngcontent-%COMP%]:focus{border:solid 1.5px #1A73E8!important;box-shadow:none!important}"]}),r})(),data:{title:"Dealpos x Marketplace"}},{path:"shopee",component:(()=>{var o;class r{constructor(e,n,a){this.route=e,this.http=n,this.service=a}ngOnInit(){this.route.queryParams.subscribe(e=>{this.shopID=e.shop_id,this.code=e.code})}addShopee(){let e={ShopID:Number(this.shopID),Code:this.code};this.http.post("/api/ChannelAdd/ShopeeV2",e).subscribe(a=>{this.service.navigate(["/menu/channel"])})}}return(o=r).\u0275fac=function(e){return new(e||o)(t.Y36(c.gz),t.Y36(g.O),t.Y36(c.F0))},o.\u0275cmp=t.Xpm({type:o,selectors:[["shopee-authorized"]],decls:20,vars:1,consts:[[1,"container","h-100"],[1,"row","d-flex","justify-content-center","align-items-center","h-100"],[1,"col-md-4"],[1,"card"],[1,"card-header","text-center"],[1,"far","fa-check-circle","text-success",2,"font-size","115px"],[1,"h3","fw-bold"],[1,"card-body","text-center","py-6"],[1,"text-shopee","fw-bold"],["type","button",1,"btn","btn-success","mt-t",3,"click"],[1,"fas","fa-undo"]],template:function(e,n){1&e&&(t.TgZ(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4),t._UZ(5,"i",5),t.TgZ(6,"div",6),t._uU(7,"Success !"),t.qZA()(),t.TgZ(8,"div",7)(9,"div"),t._uU(10,"You have successfully authorized "),t.qZA(),t.TgZ(11,"div"),t._uU(12,"DEALPOS to manage your Shopee"),t.qZA(),t.TgZ(13,"div"),t._uU(14," Your shopID is "),t.TgZ(15,"span",8),t._uU(16),t.qZA()(),t.TgZ(17,"button",9),t.NdJ("click",function(){return n.addShopee()}),t._UZ(18,"i",10),t._uU(19," Add to my Channel"),t.qZA()()()()()()),2&e&&(t.xp6(16),t.Oqu(n.shopID))},styles:[".container[_ngcontent-%COMP%]{position:absolute;max-width:100%}.card[_ngcontent-%COMP%]{margin-bottom:30px;padding-bottom:5px;padding-top:5px}.passwordIcon[_ngcontent-%COMP%]{top:1.8rem;right:.8rem;position:absolute;margin:0 auto!important;cursor:pointer}.big-display[_ngcontent-%COMP%]{font-size:2rem;font-weight:300;line-height:1.2}@media (min-width: 768px){.container[_ngcontent-%COMP%]{max-width:70%;top:50%;left:50%;transform:translate(-50%) translateY(-50%)}.big-display[_ngcontent-%COMP%]{font-size:3rem}}footer[_ngcontent-%COMP%]{position:absolute;bottom:0;width:90%;left:3rem}.form-label-group[_ngcontent-%COMP%] > label[_ngcontent-%COMP%]{color:#666}.font-xl[_ngcontent-%COMP%]{font-size:x-large}.font125rem[_ngcontent-%COMP%]{font-size:1.25rem}.robotoslab[_ngcontent-%COMP%]{font-family:Roboto Slab}div.divider[_ngcontent-%COMP%] > hr[_ngcontent-%COMP%]{margin-top:1.2rem;margin-bottom:1.2rem;border-top:1px solid rgba(0,0,0,.855);width:20%}button.btn-social-login[_ngcontent-%COMP%]{border:1px solid var(--bs-primary)}.fa-google[_ngcontent-%COMP%]{background:conic-gradient(from -45deg,#ea4335 110deg,#4285f4 90deg 180deg,#34a853 180deg 270deg,#fbbc05 270deg) 73% 55%/150% 150% no-repeat;-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent}.domain-option[_ngcontent-%COMP%]{height:3.625rem;padding:.75rem;color:#343434;font-size:.875rem;border-color:#c8d3df;width:10rem}.subdomain-input[_ngcontent-%COMP%]{height:3.625rem;padding:.75rem;color:#343434;font-size:.875rem;border-color:#c8d3df}.form-select[_ngcontent-%COMP%]:focus{border:solid 1.5px #1A73E8!important;box-shadow:none!important}.form-signin[_ngcontent-%COMP%]{max-width:600px}.card[_ngcontent-%COMP%]{font:100 14px/25px Roboto,Helvetica Neue,sans-serif;border-radius:13px;box-sizing:border-box}.text-shopee[_ngcontent-%COMP%]{color:#f53d2d}"]}),r})(),data:{title:"Success"}},{path:"tiktok",component:(()=>{var o;class r{constructor(e,n,a){this.route=e,this.http=n,this.service=a}ngOnInit(){this.route.queryParams.subscribe(e=>{this.code=e.code,this.state=e.state})}addChannelTiktok(){this.http.post("/api/ChannelAdd/AddTiktok",{Code:this.code}).subscribe(n=>{this.service.navigate(["/menu/channel"])})}}return(o=r).\u0275fac=function(e){return new(e||o)(t.Y36(c.gz),t.Y36(g.O),t.Y36(c.F0))},o.\u0275cmp=t.Xpm({type:o,selectors:[["app-tiktok"]],decls:24,vars:2,consts:[[1,"container","h-100"],[1,"row","d-flex","justify-content-center","align-items-center","h-100"],[1,"col-md-4"],[1,"card"],[1,"card-header","text-center"],[1,"far","fa-check-circle","text-success",2,"font-size","115px"],[1,"h3","fw-bold"],[1,"card-body","text-center","py-6"],[1,"text-shopee","fw-bold"],["type","button",1,"btn","btn-success","mt-6",3,"click"],[1,"fas","fa-undo"]],template:function(e,n){1&e&&(t.TgZ(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4),t._UZ(5,"i",5),t.TgZ(6,"div",6),t._uU(7,"Success !"),t.qZA()(),t.TgZ(8,"div",7)(9,"div"),t._uU(10,"You have successfully authorized "),t.qZA(),t.TgZ(11,"div"),t._uU(12,"DEALPOS to manage your Tiktok"),t.qZA(),t.TgZ(13,"div"),t._uU(14," Your Code is "),t.TgZ(15,"span",8),t._uU(16),t.qZA()(),t.TgZ(17,"div"),t._uU(18," Your State is "),t.TgZ(19,"span",8),t._uU(20),t.qZA()(),t.TgZ(21,"button",9),t.NdJ("click",function(){return n.addChannelTiktok()}),t._UZ(22,"i",10),t._uU(23," Add to my Channel"),t.qZA()()()()()()),2&e&&(t.xp6(16),t.Oqu(n.code),t.xp6(4),t.Oqu(n.state))},styles:[".container[_ngcontent-%COMP%]{position:absolute;max-width:100%}.card[_ngcontent-%COMP%]{margin-bottom:30px;padding-bottom:5px;padding-top:5px}.passwordIcon[_ngcontent-%COMP%]{top:1.8rem;right:.8rem;position:absolute;margin:0 auto!important;cursor:pointer}.big-display[_ngcontent-%COMP%]{font-size:2rem;font-weight:300;line-height:1.2}@media (min-width: 768px){.container[_ngcontent-%COMP%]{max-width:70%;top:50%;left:50%;transform:translate(-50%) translateY(-50%)}.big-display[_ngcontent-%COMP%]{font-size:3rem}}footer[_ngcontent-%COMP%]{position:absolute;bottom:0;width:90%;left:3rem}.form-label-group[_ngcontent-%COMP%] > label[_ngcontent-%COMP%]{color:#666}.font-xl[_ngcontent-%COMP%]{font-size:x-large}.font125rem[_ngcontent-%COMP%]{font-size:1.25rem}.robotoslab[_ngcontent-%COMP%]{font-family:Roboto Slab}div.divider[_ngcontent-%COMP%] > hr[_ngcontent-%COMP%]{margin-top:1.2rem;margin-bottom:1.2rem;border-top:1px solid rgba(0,0,0,.855);width:20%}button.btn-social-login[_ngcontent-%COMP%]{border:1px solid var(--bs-primary)}.fa-google[_ngcontent-%COMP%]{background:conic-gradient(from -45deg,#ea4335 110deg,#4285f4 90deg 180deg,#34a853 180deg 270deg,#fbbc05 270deg) 73% 55%/150% 150% no-repeat;-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent}.domain-option[_ngcontent-%COMP%]{height:3.625rem;padding:.75rem;color:#343434;font-size:.875rem;border-color:#c8d3df;width:10rem}.subdomain-input[_ngcontent-%COMP%]{height:3.625rem;padding:.75rem;color:#343434;font-size:.875rem;border-color:#c8d3df}.form-select[_ngcontent-%COMP%]:focus{border:solid 1.5px #1A73E8!important;box-shadow:none!important}.form-signin[_ngcontent-%COMP%]{max-width:600px}.card[_ngcontent-%COMP%]{font:100 14px/25px Roboto,Helvetica Neue,sans-serif;border-radius:13px;box-sizing:border-box}.text-shopee[_ngcontent-%COMP%]{color:#f53d2d}"]}),r})(),data:{title:"Success"}},{path:"lazada",component:u,data:{title:"Success"}}];let k=(()=>{var o;class r{}return(o=r).\u0275fac=function(e){return new(e||o)},o.\u0275mod=t.oAB({type:o}),o.\u0275inj=t.cJS({imports:[c.Bz.forChild(P),c.Bz]}),r})();var U=s(4807);let S=(()=>{var o;class r{}return(o=r).\u0275fac=function(e){return new(e||o)},o.\u0275mod=t.oAB({type:o}),o.\u0275inj=t.cJS({imports:[l.ez,d.u5,k,U.A0,m.VI]}),r})()}}]);
|