marketplacepos 2.2.9 → 2.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (74) hide show
  1. package/Marketplace/126.cdcda87dcc3da677.js +1 -0
  2. package/Marketplace/170.f2067bfd5ecb2a86.js +1 -0
  3. package/Marketplace/22.738096d8317ec65b.js +1 -0
  4. package/Marketplace/231.adb8d56e26375a9c.js +1 -0
  5. package/Marketplace/285.17f6cbef78acd327.js +1 -0
  6. package/Marketplace/3rdpartylicenses.txt +490 -0
  7. package/Marketplace/46.8652d978a45ce5ab.js +1 -0
  8. package/Marketplace/472.519965afdb7a160d.js +1 -0
  9. package/Marketplace/512.eddb4675a9016de6.js +1 -0
  10. package/Marketplace/518.aff0cf9876e146d2.js +1 -0
  11. package/Marketplace/585.c93552ac67f4550c.js +1 -0
  12. package/Marketplace/6.fc79ecc0c0a33462.js +1 -0
  13. package/Marketplace/616.507588c0a5d7b9e1.js +1 -0
  14. package/Marketplace/717.62ca448a74adc1c2.js +1 -0
  15. package/Marketplace/739.82b92600f9519019.js +1 -0
  16. package/Marketplace/763.42fa4c0d665819d3.js +1 -0
  17. package/Marketplace/767.0ce42314dea8dfea.js +1 -0
  18. package/Marketplace/796.3be8ad424aad7864.js +1 -0
  19. package/Marketplace/common.34d3e7dcd2b85c7a.js +1 -0
  20. package/Marketplace/index.html +22 -23
  21. package/Marketplace/main.6481a1f35d927562.js +1 -0
  22. package/Marketplace/polyfills.8d85b0533e3f867a.js +1 -0
  23. package/Marketplace/runtime.ba5c4b46d4312c5e.js +1 -0
  24. package/Marketplace/scripts.512baec01df5d79f.js +1 -0
  25. package/Marketplace/styles.d8aa52b2e9cd02ae.css +39 -0
  26. package/package.json +1 -1
  27. package/Marketplace/common.js +0 -46
  28. package/Marketplace/common.js.map +0 -1
  29. package/Marketplace/default-node_modules_angular_forms_fesm2020_forms_mjs.js +0 -9551
  30. package/Marketplace/default-node_modules_angular_forms_fesm2020_forms_mjs.js.map +0 -1
  31. package/Marketplace/default-node_modules_angular_material_fesm2020_paginator_mjs.js +0 -797
  32. package/Marketplace/default-node_modules_angular_material_fesm2020_paginator_mjs.js.map +0 -1
  33. package/Marketplace/default-node_modules_ng-select_ng-select_fesm2020_ng-select-ng-select_mjs.js +0 -4632
  34. package/Marketplace/default-node_modules_ng-select_ng-select_fesm2020_ng-select-ng-select_mjs.js.map +0 -1
  35. package/Marketplace/default-src_app_menu_nav-tab_nav-tab_component_ts-node_modules_angular_material_fesm2020_date-e7a231.js +0 -6836
  36. package/Marketplace/default-src_app_menu_nav-tab_nav-tab_component_ts-node_modules_angular_material_fesm2020_date-e7a231.js.map +0 -1
  37. package/Marketplace/default-src_app_menu_nav-tab_nav-tab_component_ts-node_modules_angular_material_fesm2020_slid-566c11.js +0 -722
  38. package/Marketplace/default-src_app_menu_nav-tab_nav-tab_component_ts-node_modules_angular_material_fesm2020_slid-566c11.js.map +0 -1
  39. package/Marketplace/default-src_app_sharing-module_datepicker_datepicker_component_ts.js +0 -19951
  40. package/Marketplace/default-src_app_sharing-module_datepicker_datepicker_component_ts.js.map +0 -1
  41. package/Marketplace/main.js +0 -617
  42. package/Marketplace/main.js.map +0 -1
  43. package/Marketplace/polyfills.js +0 -3398
  44. package/Marketplace/polyfills.js.map +0 -1
  45. package/Marketplace/runtime.js +0 -346
  46. package/Marketplace/runtime.js.map +0 -1
  47. package/Marketplace/scripts.js +0 -2634
  48. package/Marketplace/scripts.js.map +0 -1
  49. package/Marketplace/src_app_login_login_module_ts.js +0 -538
  50. package/Marketplace/src_app_login_login_module_ts.js.map +0 -1
  51. package/Marketplace/src_app_menu_ReportOrder_report_module_ts.js +0 -1060
  52. package/Marketplace/src_app_menu_ReportOrder_report_module_ts.js.map +0 -1
  53. package/Marketplace/src_app_menu_channels_channels_module_ts.js +0 -9710
  54. package/Marketplace/src_app_menu_channels_channels_module_ts.js.map +0 -1
  55. package/Marketplace/src_app_menu_inventory_inventory_module_ts.js +0 -1069
  56. package/Marketplace/src_app_menu_inventory_inventory_module_ts.js.map +0 -1
  57. package/Marketplace/src_app_menu_logistic_logistic_module_ts.js +0 -232
  58. package/Marketplace/src_app_menu_logistic_logistic_module_ts.js.map +0 -1
  59. package/Marketplace/src_app_menu_menu_module_ts.js +0 -38973
  60. package/Marketplace/src_app_menu_menu_module_ts.js.map +0 -1
  61. package/Marketplace/src_app_menu_notification_notification_module_ts.js +0 -192
  62. package/Marketplace/src_app_menu_notification_notification_module_ts.js.map +0 -1
  63. package/Marketplace/src_app_menu_object-log_logs_module_ts.js +0 -1997
  64. package/Marketplace/src_app_menu_object-log_logs_module_ts.js.map +0 -1
  65. package/Marketplace/src_app_menu_orders_orders_module_ts.js +0 -2449
  66. package/Marketplace/src_app_menu_orders_orders_module_ts.js.map +0 -1
  67. package/Marketplace/src_app_menu_price_price_module_ts.js +0 -1713
  68. package/Marketplace/src_app_menu_price_price_module_ts.js.map +0 -1
  69. package/Marketplace/src_app_menu_products_product_module_ts.js +0 -2196
  70. package/Marketplace/src_app_menu_products_product_module_ts.js.map +0 -1
  71. package/Marketplace/styles.css +0 -30612
  72. package/Marketplace/styles.css.map +0 -1
  73. package/Marketplace/vendor.js +0 -71753
  74. package/Marketplace/vendor.js.map +0 -1
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkpos_marketplace=self.webpackChunkpos_marketplace||[]).push([[429],{7435:(ie,Ee,de)=>{de(8583)},8583:()=>{!function(e){const n=e.performance;function i(M){n&&n.mark&&n.mark(M)}function o(M,E){n&&n.measure&&n.measure(M,E)}i("Zone");const c=e.__Zone_symbol_prefix||"__zone_symbol__";function a(M){return c+M}const y=!0===e[a("forceDuplicateZoneCheck")];if(e.Zone){if(y||"function"!=typeof e.Zone.__symbol__)throw new Error("Zone already loaded.");return e.Zone}let d=(()=>{class M{constructor(t,r){this._parent=t,this._name=r?r.name||"unnamed":"<root>",this._properties=r&&r.properties||{},this._zoneDelegate=new v(this,this._parent&&this._parent._zoneDelegate,r)}static assertZonePatched(){if(e.Promise!==oe.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let t=M.current;for(;t.parent;)t=t.parent;return t}static get current(){return U.zone}static get currentTask(){return re}static __load_patch(t,r,k=!1){if(oe.hasOwnProperty(t)){if(!k&&y)throw Error("Already loaded patch: "+t)}else if(!e["__Zone_disable_"+t]){const C="Zone:"+t;i(C),oe[t]=r(e,M,z),o(C,C)}}get parent(){return this._parent}get name(){return this._name}get(t){const r=this.getZoneWith(t);if(r)return r._properties[t]}getZoneWith(t){let r=this;for(;r;){if(r._properties.hasOwnProperty(t))return r;r=r._parent}return null}fork(t){if(!t)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,t)}wrap(t,r){if("function"!=typeof t)throw new Error("Expecting function got: "+t);const k=this._zoneDelegate.intercept(this,t,r),C=this;return function(){return C.runGuarded(k,this,arguments,r)}}run(t,r,k,C){U={parent:U,zone:this};try{return this._zoneDelegate.invoke(this,t,r,k,C)}finally{U=U.parent}}runGuarded(t,r=null,k,C){U={parent:U,zone:this};try{try{return this._zoneDelegate.invoke(this,t,r,k,C)}catch($){if(this._zoneDelegate.handleError(this,$))throw $}}finally{U=U.parent}}runTask(t,r,k){if(t.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(t.zone||K).name+"; Execution: "+this.name+")");if(t.state===x&&(t.type===Q||t.type===w))return;const C=t.state!=p;C&&t._transitionTo(p,j),t.runCount++;const $=re;re=t,U={parent:U,zone:this};try{t.type==w&&t.data&&!t.data.isPeriodic&&(t.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,t,r,k)}catch(l){if(this._zoneDelegate.handleError(this,l))throw l}}finally{t.state!==x&&t.state!==h&&(t.type==Q||t.data&&t.data.isPeriodic?C&&t._transitionTo(j,p):(t.runCount=0,this._updateTaskCount(t,-1),C&&t._transitionTo(x,p,x))),U=U.parent,re=$}}scheduleTask(t){if(t.zone&&t.zone!==this){let k=this;for(;k;){if(k===t.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${t.zone.name}`);k=k.parent}}t._transitionTo(X,x);const r=[];t._zoneDelegates=r,t._zone=this;try{t=this._zoneDelegate.scheduleTask(this,t)}catch(k){throw t._transitionTo(h,X,x),this._zoneDelegate.handleError(this,k),k}return t._zoneDelegates===r&&this._updateTaskCount(t,1),t.state==X&&t._transitionTo(j,X),t}scheduleMicroTask(t,r,k,C){return this.scheduleTask(new m(I,t,r,k,C,void 0))}scheduleMacroTask(t,r,k,C,$){return this.scheduleTask(new m(w,t,r,k,C,$))}scheduleEventTask(t,r,k,C,$){return this.scheduleTask(new m(Q,t,r,k,C,$))}cancelTask(t){if(t.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(t.zone||K).name+"; Execution: "+this.name+")");t._transitionTo(G,j,p);try{this._zoneDelegate.cancelTask(this,t)}catch(r){throw t._transitionTo(h,G),this._zoneDelegate.handleError(this,r),r}return this._updateTaskCount(t,-1),t._transitionTo(x,G),t.runCount=0,t}_updateTaskCount(t,r){const k=t._zoneDelegates;-1==r&&(t._zoneDelegates=null);for(let C=0;C<k.length;C++)k[C]._updateTaskCount(t.type,r)}}return M.__symbol__=a,M})();const P={name:"",onHasTask:(M,E,t,r)=>M.hasTask(t,r),onScheduleTask:(M,E,t,r)=>M.scheduleTask(t,r),onInvokeTask:(M,E,t,r,k,C)=>M.invokeTask(t,r,k,C),onCancelTask:(M,E,t,r)=>M.cancelTask(t,r)};class v{constructor(E,t,r){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=E,this._parentDelegate=t,this._forkZS=r&&(r&&r.onFork?r:t._forkZS),this._forkDlgt=r&&(r.onFork?t:t._forkDlgt),this._forkCurrZone=r&&(r.onFork?this.zone:t._forkCurrZone),this._interceptZS=r&&(r.onIntercept?r:t._interceptZS),this._interceptDlgt=r&&(r.onIntercept?t:t._interceptDlgt),this._interceptCurrZone=r&&(r.onIntercept?this.zone:t._interceptCurrZone),this._invokeZS=r&&(r.onInvoke?r:t._invokeZS),this._invokeDlgt=r&&(r.onInvoke?t:t._invokeDlgt),this._invokeCurrZone=r&&(r.onInvoke?this.zone:t._invokeCurrZone),this._handleErrorZS=r&&(r.onHandleError?r:t._handleErrorZS),this._handleErrorDlgt=r&&(r.onHandleError?t:t._handleErrorDlgt),this._handleErrorCurrZone=r&&(r.onHandleError?this.zone:t._handleErrorCurrZone),this._scheduleTaskZS=r&&(r.onScheduleTask?r:t._scheduleTaskZS),this._scheduleTaskDlgt=r&&(r.onScheduleTask?t:t._scheduleTaskDlgt),this._scheduleTaskCurrZone=r&&(r.onScheduleTask?this.zone:t._scheduleTaskCurrZone),this._invokeTaskZS=r&&(r.onInvokeTask?r:t._invokeTaskZS),this._invokeTaskDlgt=r&&(r.onInvokeTask?t:t._invokeTaskDlgt),this._invokeTaskCurrZone=r&&(r.onInvokeTask?this.zone:t._invokeTaskCurrZone),this._cancelTaskZS=r&&(r.onCancelTask?r:t._cancelTaskZS),this._cancelTaskDlgt=r&&(r.onCancelTask?t:t._cancelTaskDlgt),this._cancelTaskCurrZone=r&&(r.onCancelTask?this.zone:t._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const k=r&&r.onHasTask;(k||t&&t._hasTaskZS)&&(this._hasTaskZS=k?r:P,this._hasTaskDlgt=t,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=E,r.onScheduleTask||(this._scheduleTaskZS=P,this._scheduleTaskDlgt=t,this._scheduleTaskCurrZone=this.zone),r.onInvokeTask||(this._invokeTaskZS=P,this._invokeTaskDlgt=t,this._invokeTaskCurrZone=this.zone),r.onCancelTask||(this._cancelTaskZS=P,this._cancelTaskDlgt=t,this._cancelTaskCurrZone=this.zone))}fork(E,t){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,E,t):new d(E,t)}intercept(E,t,r){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,E,t,r):t}invoke(E,t,r,k,C){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,E,t,r,k,C):t.apply(r,k)}handleError(E,t){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,E,t)}scheduleTask(E,t){let r=t;if(this._scheduleTaskZS)this._hasTaskZS&&r._zoneDelegates.push(this._hasTaskDlgtOwner),r=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,E,t),r||(r=t);else if(t.scheduleFn)t.scheduleFn(t);else{if(t.type!=I)throw new Error("Task is missing scheduleFn.");R(t)}return r}invokeTask(E,t,r,k){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,E,t,r,k):t.callback.apply(r,k)}cancelTask(E,t){let r;if(this._cancelTaskZS)r=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,E,t);else{if(!t.cancelFn)throw Error("Task is not cancelable");r=t.cancelFn(t)}return r}hasTask(E,t){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,E,t)}catch(r){this.handleError(E,r)}}_updateTaskCount(E,t){const r=this._taskCounts,k=r[E],C=r[E]=k+t;if(C<0)throw new Error("More tasks executed then were scheduled.");0!=k&&0!=C||this.hasTask(this.zone,{microTask:r.microTask>0,macroTask:r.macroTask>0,eventTask:r.eventTask>0,change:E})}}class m{constructor(E,t,r,k,C,$){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=E,this.source=t,this.data=k,this.scheduleFn=C,this.cancelFn=$,!r)throw new Error("callback is not defined");this.callback=r;const l=this;this.invoke=E===Q&&k&&k.useG?m.invokeTask:function(){return m.invokeTask.call(e,l,this,arguments)}}static invokeTask(E,t,r){E||(E=this),ee++;try{return E.runCount++,E.zone.runTask(E,t,r)}finally{1==ee&&_(),ee--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(x,X)}_transitionTo(E,t,r){if(this._state!==t&&this._state!==r)throw new Error(`${this.type} '${this.source}': can not transition to '${E}', expecting state '${t}'${r?" or '"+r+"'":""}, was '${this._state}'.`);this._state=E,E==x&&(this._zoneDelegates=null)}toString(){return this.data&&typeof this.data.handleId<"u"?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}const L=a("setTimeout"),Z=a("Promise"),N=a("then");let J,B=[],H=!1;function q(M){if(J||e[Z]&&(J=e[Z].resolve(0)),J){let E=J[N];E||(E=J.then),E.call(J,M)}else e[L](M,0)}function R(M){0===ee&&0===B.length&&q(_),M&&B.push(M)}function _(){if(!H){for(H=!0;B.length;){const M=B;B=[];for(let E=0;E<M.length;E++){const t=M[E];try{t.zone.runTask(t,null,null)}catch(r){z.onUnhandledError(r)}}}z.microtaskDrainDone(),H=!1}}const K={name:"NO ZONE"},x="notScheduled",X="scheduling",j="scheduled",p="running",G="canceling",h="unknown",I="microTask",w="macroTask",Q="eventTask",oe={},z={symbol:a,currentZoneFrame:()=>U,onUnhandledError:W,microtaskDrainDone:W,scheduleMicroTask:R,showUncaughtError:()=>!d[a("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:W,patchMethod:()=>W,bindArguments:()=>[],patchThen:()=>W,patchMacroTask:()=>W,patchEventPrototype:()=>W,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>W,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>W,wrapWithCurrentZone:()=>W,filterProperties:()=>[],attachOriginToPatched:()=>W,_redefineProperty:()=>W,patchCallbacks:()=>W,nativeScheduleMicroTask:q};let U={parent:null,zone:new d(null,null)},re=null,ee=0;function W(){}o("Zone","Zone"),e.Zone=d}(typeof window<"u"&&window||typeof self<"u"&&self||global);const ie=Object.getOwnPropertyDescriptor,Ee=Object.defineProperty,de=Object.getPrototypeOf,ge=Object.create,Ve=Array.prototype.slice,Oe="addEventListener",Se="removeEventListener",Ze=Zone.__symbol__(Oe),Ne=Zone.__symbol__(Se),ce="true",ae="false",ke=Zone.__symbol__("");function Ie(e,n){return Zone.current.wrap(e,n)}function Me(e,n,i,o,c){return Zone.current.scheduleMacroTask(e,n,i,o,c)}const A=Zone.__symbol__,Pe=typeof window<"u",Te=Pe?window:void 0,Y=Pe&&Te||"object"==typeof self&&self||global;function Le(e,n){for(let i=e.length-1;i>=0;i--)"function"==typeof e[i]&&(e[i]=Ie(e[i],n+"_"+i));return e}function Fe(e){return!e||!1!==e.writable&&!("function"==typeof e.get&&typeof e.set>"u")}const Be=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,we=!("nw"in Y)&&typeof Y.process<"u"&&"[object process]"==={}.toString.call(Y.process),je=!we&&!Be&&!(!Pe||!Te.HTMLElement),Ue=typeof Y.process<"u"&&"[object process]"==={}.toString.call(Y.process)&&!Be&&!(!Pe||!Te.HTMLElement),Re={},We=function(e){if(!(e=e||Y.event))return;let n=Re[e.type];n||(n=Re[e.type]=A("ON_PROPERTY"+e.type));const i=this||e.target||Y,o=i[n];let c;if(je&&i===Te&&"error"===e.type){const a=e;c=o&&o.call(this,a.message,a.filename,a.lineno,a.colno,a.error),!0===c&&e.preventDefault()}else c=o&&o.apply(this,arguments),null!=c&&!c&&e.preventDefault();return c};function qe(e,n,i){let o=ie(e,n);if(!o&&i&&ie(i,n)&&(o={enumerable:!0,configurable:!0}),!o||!o.configurable)return;const c=A("on"+n+"patched");if(e.hasOwnProperty(c)&&e[c])return;delete o.writable,delete o.value;const a=o.get,y=o.set,d=n.slice(2);let P=Re[d];P||(P=Re[d]=A("ON_PROPERTY"+d)),o.set=function(v){let m=this;!m&&e===Y&&(m=Y),m&&("function"==typeof m[P]&&m.removeEventListener(d,We),y&&y.call(m,null),m[P]=v,"function"==typeof v&&m.addEventListener(d,We,!1))},o.get=function(){let v=this;if(!v&&e===Y&&(v=Y),!v)return null;const m=v[P];if(m)return m;if(a){let L=a.call(this);if(L)return o.set.call(this,L),"function"==typeof v.removeAttribute&&v.removeAttribute(n),L}return null},Ee(e,n,o),e[c]=!0}function Xe(e,n,i){if(n)for(let o=0;o<n.length;o++)qe(e,"on"+n[o],i);else{const o=[];for(const c in e)"on"==c.slice(0,2)&&o.push(c);for(let c=0;c<o.length;c++)qe(e,o[c],i)}}const ne=A("originalInstance");function ve(e){const n=Y[e];if(!n)return;Y[A(e)]=n,Y[e]=function(){const c=Le(arguments,e);switch(c.length){case 0:this[ne]=new n;break;case 1:this[ne]=new n(c[0]);break;case 2:this[ne]=new n(c[0],c[1]);break;case 3:this[ne]=new n(c[0],c[1],c[2]);break;case 4:this[ne]=new n(c[0],c[1],c[2],c[3]);break;default:throw new Error("Arg list too long.")}},ue(Y[e],n);const i=new n(function(){});let o;for(o in i)"XMLHttpRequest"===e&&"responseBlob"===o||function(c){"function"==typeof i[c]?Y[e].prototype[c]=function(){return this[ne][c].apply(this[ne],arguments)}:Ee(Y[e].prototype,c,{set:function(a){"function"==typeof a?(this[ne][c]=Ie(a,e+"."+c),ue(this[ne][c],a)):this[ne][c]=a},get:function(){return this[ne][c]}})}(o);for(o in n)"prototype"!==o&&n.hasOwnProperty(o)&&(Y[e][o]=n[o])}function le(e,n,i){let o=e;for(;o&&!o.hasOwnProperty(n);)o=de(o);!o&&e[n]&&(o=e);const c=A(n);let a=null;if(o&&(!(a=o[c])||!o.hasOwnProperty(c))&&(a=o[c]=o[n],Fe(o&&ie(o,n)))){const d=i(a,c,n);o[n]=function(){return d(this,arguments)},ue(o[n],a)}return a}function lt(e,n,i){let o=null;function c(a){const y=a.data;return y.args[y.cbIdx]=function(){a.invoke.apply(this,arguments)},o.apply(y.target,y.args),a}o=le(e,n,a=>function(y,d){const P=i(y,d);return P.cbIdx>=0&&"function"==typeof d[P.cbIdx]?Me(P.name,d[P.cbIdx],P,c):a.apply(y,d)})}function ue(e,n){e[A("OriginalDelegate")]=n}let ze=!1,Ae=!1;function ft(){if(ze)return Ae;ze=!0;try{const e=Te.navigator.userAgent;(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/")||-1!==e.indexOf("Edge/"))&&(Ae=!0)}catch{}return Ae}Zone.__load_patch("ZoneAwarePromise",(e,n,i)=>{const o=Object.getOwnPropertyDescriptor,c=Object.defineProperty,y=i.symbol,d=[],P=!0===e[y("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],v=y("Promise"),m=y("then");i.onUnhandledError=l=>{if(i.showUncaughtError()){const u=l&&l.rejection;u?console.error("Unhandled Promise rejection:",u instanceof Error?u.message:u,"; Zone:",l.zone.name,"; Task:",l.task&&l.task.source,"; Value:",u,u instanceof Error?u.stack:void 0):console.error(l)}},i.microtaskDrainDone=()=>{for(;d.length;){const l=d.shift();try{l.zone.runGuarded(()=>{throw l.throwOriginal?l.rejection:l})}catch(u){N(u)}}};const Z=y("unhandledPromiseRejectionHandler");function N(l){i.onUnhandledError(l);try{const u=n[Z];"function"==typeof u&&u.call(this,l)}catch{}}function B(l){return l&&l.then}function H(l){return l}function J(l){return t.reject(l)}const q=y("state"),R=y("value"),_=y("finally"),K=y("parentPromiseValue"),x=y("parentPromiseState"),j=null,p=!0,G=!1;function I(l,u){return s=>{try{z(l,u,s)}catch(f){z(l,!1,f)}}}const w=function(){let l=!1;return function(s){return function(){l||(l=!0,s.apply(null,arguments))}}},oe=y("currentTaskTrace");function z(l,u,s){const f=w();if(l===s)throw new TypeError("Promise resolved with itself");if(l[q]===j){let g=null;try{("object"==typeof s||"function"==typeof s)&&(g=s&&s.then)}catch(b){return f(()=>{z(l,!1,b)})(),l}if(u!==G&&s instanceof t&&s.hasOwnProperty(q)&&s.hasOwnProperty(R)&&s[q]!==j)re(s),z(l,s[q],s[R]);else if(u!==G&&"function"==typeof g)try{g.call(s,f(I(l,u)),f(I(l,!1)))}catch(b){f(()=>{z(l,!1,b)})()}else{l[q]=u;const b=l[R];if(l[R]=s,l[_]===_&&u===p&&(l[q]=l[x],l[R]=l[K]),u===G&&s instanceof Error){const T=n.currentTask&&n.currentTask.data&&n.currentTask.data.__creationTrace__;T&&c(s,oe,{configurable:!0,enumerable:!1,writable:!0,value:T})}for(let T=0;T<b.length;)ee(l,b[T++],b[T++],b[T++],b[T++]);if(0==b.length&&u==G){l[q]=0;let T=s;try{throw new Error("Uncaught (in promise): "+function a(l){return l&&l.toString===Object.prototype.toString?(l.constructor&&l.constructor.name||"")+": "+JSON.stringify(l):l?l.toString():Object.prototype.toString.call(l)}(s)+(s&&s.stack?"\n"+s.stack:""))}catch(D){T=D}P&&(T.throwOriginal=!0),T.rejection=s,T.promise=l,T.zone=n.current,T.task=n.currentTask,d.push(T),i.scheduleMicroTask()}}}return l}const U=y("rejectionHandledHandler");function re(l){if(0===l[q]){try{const u=n[U];u&&"function"==typeof u&&u.call(this,{rejection:l[R],promise:l})}catch{}l[q]=G;for(let u=0;u<d.length;u++)l===d[u].promise&&d.splice(u,1)}}function ee(l,u,s,f,g){re(l);const b=l[q],T=b?"function"==typeof f?f:H:"function"==typeof g?g:J;u.scheduleMicroTask("Promise.then",()=>{try{const D=l[R],O=!!s&&_===s[_];O&&(s[K]=D,s[x]=b);const S=u.run(T,void 0,O&&T!==J&&T!==H?[]:[D]);z(s,!0,S)}catch(D){z(s,!1,D)}},s)}const M=function(){},E=e.AggregateError;class t{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(u){return z(new this(null),p,u)}static reject(u){return z(new this(null),G,u)}static any(u){if(!u||"function"!=typeof u[Symbol.iterator])return Promise.reject(new E([],"All promises were rejected"));const s=[];let f=0;try{for(let T of u)f++,s.push(t.resolve(T))}catch{return Promise.reject(new E([],"All promises were rejected"))}if(0===f)return Promise.reject(new E([],"All promises were rejected"));let g=!1;const b=[];return new t((T,D)=>{for(let O=0;O<s.length;O++)s[O].then(S=>{g||(g=!0,T(S))},S=>{b.push(S),f--,0===f&&(g=!0,D(new E(b,"All promises were rejected")))})})}static race(u){let s,f,g=new this((D,O)=>{s=D,f=O});function b(D){s(D)}function T(D){f(D)}for(let D of u)B(D)||(D=this.resolve(D)),D.then(b,T);return g}static all(u){return t.allWithCallback(u)}static allSettled(u){return(this&&this.prototype instanceof t?this:t).allWithCallback(u,{thenCallback:f=>({status:"fulfilled",value:f}),errorCallback:f=>({status:"rejected",reason:f})})}static allWithCallback(u,s){let f,g,b=new this((S,V)=>{f=S,g=V}),T=2,D=0;const O=[];for(let S of u){B(S)||(S=this.resolve(S));const V=D;try{S.then(F=>{O[V]=s?s.thenCallback(F):F,T--,0===T&&f(O)},F=>{s?(O[V]=s.errorCallback(F),T--,0===T&&f(O)):g(F)})}catch(F){g(F)}T++,D++}return T-=2,0===T&&f(O),b}constructor(u){const s=this;if(!(s instanceof t))throw new Error("Must be an instanceof Promise.");s[q]=j,s[R]=[];try{const f=w();u&&u(f(I(s,p)),f(I(s,G)))}catch(f){z(s,!1,f)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return t}then(u,s){var f;let g=null===(f=this.constructor)||void 0===f?void 0:f[Symbol.species];(!g||"function"!=typeof g)&&(g=this.constructor||t);const b=new g(M),T=n.current;return this[q]==j?this[R].push(T,b,u,s):ee(this,T,b,u,s),b}catch(u){return this.then(null,u)}finally(u){var s;let f=null===(s=this.constructor)||void 0===s?void 0:s[Symbol.species];(!f||"function"!=typeof f)&&(f=t);const g=new f(M);g[_]=_;const b=n.current;return this[q]==j?this[R].push(b,g,u,u):ee(this,b,g,u,u),g}}t.resolve=t.resolve,t.reject=t.reject,t.race=t.race,t.all=t.all;const r=e[v]=e.Promise;e.Promise=t;const k=y("thenPatched");function C(l){const u=l.prototype,s=o(u,"then");if(s&&(!1===s.writable||!s.configurable))return;const f=u.then;u[m]=f,l.prototype.then=function(g,b){return new t((D,O)=>{f.call(this,D,O)}).then(g,b)},l[k]=!0}return i.patchThen=C,r&&(C(r),le(e,"fetch",l=>function $(l){return function(u,s){let f=l.apply(u,s);if(f instanceof t)return f;let g=f.constructor;return g[k]||C(g),f}}(l))),Promise[n.__symbol__("uncaughtPromiseErrors")]=d,t}),Zone.__load_patch("toString",e=>{const n=Function.prototype.toString,i=A("OriginalDelegate"),o=A("Promise"),c=A("Error"),a=function(){if("function"==typeof this){const v=this[i];if(v)return"function"==typeof v?n.call(v):Object.prototype.toString.call(v);if(this===Promise){const m=e[o];if(m)return n.call(m)}if(this===Error){const m=e[c];if(m)return n.call(m)}}return n.call(this)};a[i]=n,Function.prototype.toString=a;const y=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":y.call(this)}});let ye=!1;if(typeof window<"u")try{const e=Object.defineProperty({},"passive",{get:function(){ye=!0}});window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch{ye=!1}const ht={useG:!0},te={},Ye={},$e=new RegExp("^"+ke+"(\\w+)(true|false)$"),Ke=A("propagationStopped");function Je(e,n){const i=(n?n(e):e)+ae,o=(n?n(e):e)+ce,c=ke+i,a=ke+o;te[e]={},te[e][ae]=c,te[e][ce]=a}function dt(e,n,i,o){const c=o&&o.add||Oe,a=o&&o.rm||Se,y=o&&o.listeners||"eventListeners",d=o&&o.rmAll||"removeAllListeners",P=A(c),v="."+c+":",Z=function(R,_,K){if(R.isRemoved)return;const x=R.callback;let X;"object"==typeof x&&x.handleEvent&&(R.callback=p=>x.handleEvent(p),R.originalDelegate=x);try{R.invoke(R,_,[K])}catch(p){X=p}const j=R.options;return j&&"object"==typeof j&&j.once&&_[a].call(_,K.type,R.originalDelegate?R.originalDelegate:R.callback,j),X};function N(R,_,K){if(!(_=_||e.event))return;const x=R||_.target||e,X=x[te[_.type][K?ce:ae]];if(X){const j=[];if(1===X.length){const p=Z(X[0],x,_);p&&j.push(p)}else{const p=X.slice();for(let G=0;G<p.length&&(!_||!0!==_[Ke]);G++){const h=Z(p[G],x,_);h&&j.push(h)}}if(1===j.length)throw j[0];for(let p=0;p<j.length;p++){const G=j[p];n.nativeScheduleMicroTask(()=>{throw G})}}}const B=function(R){return N(this,R,!1)},H=function(R){return N(this,R,!0)};function J(R,_){if(!R)return!1;let K=!0;_&&void 0!==_.useG&&(K=_.useG);const x=_&&_.vh;let X=!0;_&&void 0!==_.chkDup&&(X=_.chkDup);let j=!1;_&&void 0!==_.rt&&(j=_.rt);let p=R;for(;p&&!p.hasOwnProperty(c);)p=de(p);if(!p&&R[c]&&(p=R),!p||p[P])return!1;const G=_&&_.eventNameToString,h={},I=p[P]=p[c],w=p[A(a)]=p[a],Q=p[A(y)]=p[y],oe=p[A(d)]=p[d];let z;function U(s,f){return!ye&&"object"==typeof s&&s?!!s.capture:ye&&f?"boolean"==typeof s?{capture:s,passive:!0}:s?"object"==typeof s&&!1!==s.passive?Object.assign(Object.assign({},s),{passive:!0}):s:{passive:!0}:s}_&&_.prepend&&(z=p[A(_.prepend)]=p[_.prepend]);const t=K?function(s){if(!h.isExisting)return I.call(h.target,h.eventName,h.capture?H:B,h.options)}:function(s){return I.call(h.target,h.eventName,s.invoke,h.options)},r=K?function(s){if(!s.isRemoved){const f=te[s.eventName];let g;f&&(g=f[s.capture?ce:ae]);const b=g&&s.target[g];if(b)for(let T=0;T<b.length;T++)if(b[T]===s){b.splice(T,1),s.isRemoved=!0,0===b.length&&(s.allRemoved=!0,s.target[g]=null);break}}if(s.allRemoved)return w.call(s.target,s.eventName,s.capture?H:B,s.options)}:function(s){return w.call(s.target,s.eventName,s.invoke,s.options)},C=_&&_.diff?_.diff:function(s,f){const g=typeof f;return"function"===g&&s.callback===f||"object"===g&&s.originalDelegate===f},$=Zone[A("UNPATCHED_EVENTS")],l=e[A("PASSIVE_EVENTS")],u=function(s,f,g,b,T=!1,D=!1){return function(){const O=this||e;let S=arguments[0];_&&_.transferEventName&&(S=_.transferEventName(S));let V=arguments[1];if(!V)return s.apply(this,arguments);if(we&&"uncaughtException"===S)return s.apply(this,arguments);let F=!1;if("function"!=typeof V){if(!V.handleEvent)return s.apply(this,arguments);F=!0}if(x&&!x(s,V,O,arguments))return;const fe=ye&&!!l&&-1!==l.indexOf(S),se=U(arguments[2],fe);if($)for(let _e=0;_e<$.length;_e++)if(S===$[_e])return fe?s.call(O,S,V,se):s.apply(this,arguments);const xe=!!se&&("boolean"==typeof se||se.capture),nt=!(!se||"object"!=typeof se)&&se.once,gt=Zone.current;let Ge=te[S];Ge||(Je(S,G),Ge=te[S]);const rt=Ge[xe?ce:ae];let De,me=O[rt],ot=!1;if(me){if(ot=!0,X)for(let _e=0;_e<me.length;_e++)if(C(me[_e],V))return}else me=O[rt]=[];const st=O.constructor.name,it=Ye[st];it&&(De=it[S]),De||(De=st+f+(G?G(S):S)),h.options=se,nt&&(h.options.once=!1),h.target=O,h.capture=xe,h.eventName=S,h.isExisting=ot;const be=K?ht:void 0;be&&(be.taskData=h);const he=gt.scheduleEventTask(De,V,be,g,b);return h.target=null,be&&(be.taskData=null),nt&&(se.once=!0),!ye&&"boolean"==typeof he.options||(he.options=se),he.target=O,he.capture=xe,he.eventName=S,F&&(he.originalDelegate=V),D?me.unshift(he):me.push(he),T?O:void 0}};return p[c]=u(I,v,t,r,j),z&&(p.prependListener=u(z,".prependListener:",function(s){return z.call(h.target,h.eventName,s.invoke,h.options)},r,j,!0)),p[a]=function(){const s=this||e;let f=arguments[0];_&&_.transferEventName&&(f=_.transferEventName(f));const g=arguments[2],b=!!g&&("boolean"==typeof g||g.capture),T=arguments[1];if(!T)return w.apply(this,arguments);if(x&&!x(w,T,s,arguments))return;const D=te[f];let O;D&&(O=D[b?ce:ae]);const S=O&&s[O];if(S)for(let V=0;V<S.length;V++){const F=S[V];if(C(F,T))return S.splice(V,1),F.isRemoved=!0,0===S.length&&(F.allRemoved=!0,s[O]=null,"string"==typeof f)&&(s[ke+"ON_PROPERTY"+f]=null),F.zone.cancelTask(F),j?s:void 0}return w.apply(this,arguments)},p[y]=function(){const s=this||e;let f=arguments[0];_&&_.transferEventName&&(f=_.transferEventName(f));const g=[],b=Qe(s,G?G(f):f);for(let T=0;T<b.length;T++){const D=b[T];g.push(D.originalDelegate?D.originalDelegate:D.callback)}return g},p[d]=function(){const s=this||e;let f=arguments[0];if(f){_&&_.transferEventName&&(f=_.transferEventName(f));const g=te[f];if(g){const D=s[g[ae]],O=s[g[ce]];if(D){const S=D.slice();for(let V=0;V<S.length;V++){const F=S[V];this[a].call(this,f,F.originalDelegate?F.originalDelegate:F.callback,F.options)}}if(O){const S=O.slice();for(let V=0;V<S.length;V++){const F=S[V];this[a].call(this,f,F.originalDelegate?F.originalDelegate:F.callback,F.options)}}}}else{const g=Object.keys(s);for(let b=0;b<g.length;b++){const D=$e.exec(g[b]);let O=D&&D[1];O&&"removeListener"!==O&&this[d].call(this,O)}this[d].call(this,"removeListener")}if(j)return this},ue(p[c],I),ue(p[a],w),oe&&ue(p[d],oe),Q&&ue(p[y],Q),!0}let q=[];for(let R=0;R<i.length;R++)q[R]=J(i[R],o);return q}function Qe(e,n){if(!n){const a=[];for(let y in e){const d=$e.exec(y);let P=d&&d[1];if(P&&(!n||P===n)){const v=e[y];if(v)for(let m=0;m<v.length;m++)a.push(v[m])}}return a}let i=te[n];i||(Je(n),i=te[n]);const o=e[i[ae]],c=e[i[ce]];return o?c?o.concat(c):o.slice():c?c.slice():[]}function _t(e,n){const i=e.Event;i&&i.prototype&&n.patchMethod(i.prototype,"stopImmediatePropagation",o=>function(c,a){c[Ke]=!0,o&&o.apply(c,a)})}function Et(e,n,i,o,c){const a=Zone.__symbol__(o);if(n[a])return;const y=n[a]=n[o];n[o]=function(d,P,v){return P&&P.prototype&&c.forEach(function(m){const L=`${i}.${o}::`+m,Z=P.prototype;try{if(Z.hasOwnProperty(m)){const N=e.ObjectGetOwnPropertyDescriptor(Z,m);N&&N.value?(N.value=e.wrapWithCurrentZone(N.value,L),e._redefineProperty(P.prototype,m,N)):Z[m]&&(Z[m]=e.wrapWithCurrentZone(Z[m],L))}else Z[m]&&(Z[m]=e.wrapWithCurrentZone(Z[m],L))}catch{}}),y.call(n,d,P,v)},e.attachOriginToPatched(n[o],y)}function et(e,n,i){if(!i||0===i.length)return n;const o=i.filter(a=>a.target===e);if(!o||0===o.length)return n;const c=o[0].ignoreProperties;return n.filter(a=>-1===c.indexOf(a))}function tt(e,n,i,o){e&&Xe(e,et(e,n,i),o)}function He(e){return Object.getOwnPropertyNames(e).filter(n=>n.startsWith("on")&&n.length>2).map(n=>n.substring(2))}Zone.__load_patch("util",(e,n,i)=>{const o=He(e);i.patchOnProperties=Xe,i.patchMethod=le,i.bindArguments=Le,i.patchMacroTask=lt;const c=n.__symbol__("BLACK_LISTED_EVENTS"),a=n.__symbol__("UNPATCHED_EVENTS");e[a]&&(e[c]=e[a]),e[c]&&(n[c]=n[a]=e[c]),i.patchEventPrototype=_t,i.patchEventTarget=dt,i.isIEOrEdge=ft,i.ObjectDefineProperty=Ee,i.ObjectGetOwnPropertyDescriptor=ie,i.ObjectCreate=ge,i.ArraySlice=Ve,i.patchClass=ve,i.wrapWithCurrentZone=Ie,i.filterProperties=et,i.attachOriginToPatched=ue,i._redefineProperty=Object.defineProperty,i.patchCallbacks=Et,i.getGlobalObjects=()=>({globalSources:Ye,zoneSymbolEventNames:te,eventNames:o,isBrowser:je,isMix:Ue,isNode:we,TRUE_STR:ce,FALSE_STR:ae,ZONE_SYMBOL_PREFIX:ke,ADD_EVENT_LISTENER_STR:Oe,REMOVE_EVENT_LISTENER_STR:Se})});const Ce=A("zoneTask");function pe(e,n,i,o){let c=null,a=null;i+=o;const y={};function d(v){const m=v.data;return m.args[0]=function(){return v.invoke.apply(this,arguments)},m.handleId=c.apply(e,m.args),v}function P(v){return a.call(e,v.data.handleId)}c=le(e,n+=o,v=>function(m,L){if("function"==typeof L[0]){const Z={isPeriodic:"Interval"===o,delay:"Timeout"===o||"Interval"===o?L[1]||0:void 0,args:L},N=L[0];L[0]=function(){try{return N.apply(this,arguments)}finally{Z.isPeriodic||("number"==typeof Z.handleId?delete y[Z.handleId]:Z.handleId&&(Z.handleId[Ce]=null))}};const B=Me(n,L[0],Z,d,P);if(!B)return B;const H=B.data.handleId;return"number"==typeof H?y[H]=B:H&&(H[Ce]=B),H&&H.ref&&H.unref&&"function"==typeof H.ref&&"function"==typeof H.unref&&(B.ref=H.ref.bind(H),B.unref=H.unref.bind(H)),"number"==typeof H||H?H:B}return v.apply(e,L)}),a=le(e,i,v=>function(m,L){const Z=L[0];let N;"number"==typeof Z?N=y[Z]:(N=Z&&Z[Ce],N||(N=Z)),N&&"string"==typeof N.type?"notScheduled"!==N.state&&(N.cancelFn&&N.data.isPeriodic||0===N.runCount)&&("number"==typeof Z?delete y[Z]:Z&&(Z[Ce]=null),N.zone.cancelTask(N)):v.apply(e,L)})}Zone.__load_patch("legacy",e=>{const n=e[Zone.__symbol__("legacyPatch")];n&&n()}),Zone.__load_patch("queueMicrotask",(e,n,i)=>{i.patchMethod(e,"queueMicrotask",o=>function(c,a){n.current.scheduleMicroTask("queueMicrotask",a[0])})}),Zone.__load_patch("timers",e=>{const n="set",i="clear";pe(e,n,i,"Timeout"),pe(e,n,i,"Interval"),pe(e,n,i,"Immediate")}),Zone.__load_patch("requestAnimationFrame",e=>{pe(e,"request","cancel","AnimationFrame"),pe(e,"mozRequest","mozCancel","AnimationFrame"),pe(e,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(e,n)=>{const i=["alert","prompt","confirm"];for(let o=0;o<i.length;o++)le(e,i[o],(a,y,d)=>function(P,v){return n.current.run(a,e,v,d)})}),Zone.__load_patch("EventTarget",(e,n,i)=>{(function mt(e,n){n.patchEventPrototype(e,n)})(e,i),function pt(e,n){if(Zone[n.symbol("patchEventTarget")])return;const{eventNames:i,zoneSymbolEventNames:o,TRUE_STR:c,FALSE_STR:a,ZONE_SYMBOL_PREFIX:y}=n.getGlobalObjects();for(let P=0;P<i.length;P++){const v=i[P],Z=y+(v+a),N=y+(v+c);o[v]={},o[v][a]=Z,o[v][c]=N}const d=e.EventTarget;d&&d.prototype&&n.patchEventTarget(e,n,[d&&d.prototype])}(e,i);const o=e.XMLHttpRequestEventTarget;o&&o.prototype&&i.patchEventTarget(e,i,[o.prototype])}),Zone.__load_patch("MutationObserver",(e,n,i)=>{ve("MutationObserver"),ve("WebKitMutationObserver")}),Zone.__load_patch("IntersectionObserver",(e,n,i)=>{ve("IntersectionObserver")}),Zone.__load_patch("FileReader",(e,n,i)=>{ve("FileReader")}),Zone.__load_patch("on_property",(e,n,i)=>{!function Tt(e,n){if(we&&!Ue||Zone[e.symbol("patchEvents")])return;const i=n.__Zone_ignore_on_properties;let o=[];if(je){const c=window;o=o.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);const a=function ut(){try{const e=Te.navigator.userAgent;if(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/"))return!0}catch{}return!1}()?[{target:c,ignoreProperties:["error"]}]:[];tt(c,He(c),i&&i.concat(a),de(c))}o=o.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let c=0;c<o.length;c++){const a=n[o[c]];a&&a.prototype&&tt(a.prototype,He(a.prototype),i)}}(i,e)}),Zone.__load_patch("customElements",(e,n,i)=>{!function yt(e,n){const{isBrowser:i,isMix:o}=n.getGlobalObjects();(i||o)&&e.customElements&&"customElements"in e&&n.patchCallbacks(n,e.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(e,i)}),Zone.__load_patch("XHR",(e,n)=>{!function P(v){const m=v.XMLHttpRequest;if(!m)return;const L=m.prototype;let N=L[Ze],B=L[Ne];if(!N){const h=v.XMLHttpRequestEventTarget;if(h){const I=h.prototype;N=I[Ze],B=I[Ne]}}const H="readystatechange",J="scheduled";function q(h){const I=h.data,w=I.target;w[a]=!1,w[d]=!1;const Q=w[c];N||(N=w[Ze],B=w[Ne]),Q&&B.call(w,H,Q);const oe=w[c]=()=>{if(w.readyState===w.DONE)if(!I.aborted&&w[a]&&h.state===J){const U=w[n.__symbol__("loadfalse")];if(0!==w.status&&U&&U.length>0){const re=h.invoke;h.invoke=function(){const ee=w[n.__symbol__("loadfalse")];for(let W=0;W<ee.length;W++)ee[W]===h&&ee.splice(W,1);!I.aborted&&h.state===J&&re.call(h)},U.push(h)}else h.invoke()}else!I.aborted&&!1===w[a]&&(w[d]=!0)};return N.call(w,H,oe),w[i]||(w[i]=h),p.apply(w,I.args),w[a]=!0,h}function R(){}function _(h){const I=h.data;return I.aborted=!0,G.apply(I.target,I.args)}const K=le(L,"open",()=>function(h,I){return h[o]=0==I[2],h[y]=I[1],K.apply(h,I)}),X=A("fetchTaskAborting"),j=A("fetchTaskScheduling"),p=le(L,"send",()=>function(h,I){if(!0===n.current[j]||h[o])return p.apply(h,I);{const w={target:h,url:h[y],isPeriodic:!1,args:I,aborted:!1},Q=Me("XMLHttpRequest.send",R,w,q,_);h&&!0===h[d]&&!w.aborted&&Q.state===J&&Q.invoke()}}),G=le(L,"abort",()=>function(h,I){const w=function Z(h){return h[i]}(h);if(w&&"string"==typeof w.type){if(null==w.cancelFn||w.data&&w.data.aborted)return;w.zone.cancelTask(w)}else if(!0===n.current[X])return G.apply(h,I)})}(e);const i=A("xhrTask"),o=A("xhrSync"),c=A("xhrListener"),a=A("xhrScheduled"),y=A("xhrURL"),d=A("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",e=>{e.navigator&&e.navigator.geolocation&&function at(e,n){const i=e.constructor.name;for(let o=0;o<n.length;o++){const c=n[o],a=e[c];if(a){if(!Fe(ie(e,c)))continue;e[c]=(d=>{const P=function(){return d.apply(this,Le(arguments,i+"."+c))};return ue(P,d),P})(a)}}}(e.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(e,n)=>{function i(o){return function(c){Qe(e,o).forEach(y=>{const d=e.PromiseRejectionEvent;if(d){const P=new d(o,{promise:c.promise,reason:c.rejection});y.invoke(P)}})}}e.PromiseRejectionEvent&&(n[A("unhandledPromiseRejectionHandler")]=i("unhandledrejection"),n[A("rejectionHandledHandler")]=i("rejectionhandled"))})}},ie=>{ie(ie.s=7435)}]);
@@ -0,0 +1 @@
1
+ (()=>{"use strict";var e,v={},_={};function r(e){var n=_[e];if(void 0!==n)return n.exports;var t=_[e]={id:e,loaded:!1,exports:{}};return v[e].call(t.exports,t,t.exports,r),t.loaded=!0,t.exports}r.m=v,e=[],r.O=(n,t,f,c)=>{if(!t){var a=1/0;for(o=0;o<e.length;o++){for(var[t,f,c]=e[o],l=!0,i=0;i<t.length;i++)(!1&c||a>=c)&&Object.keys(r.O).every(u=>r.O[u](t[i]))?t.splice(i--,1):(l=!1,c<a&&(a=c));if(l){e.splice(o--,1);var b=f();void 0!==b&&(n=b)}}return n}c=c||0;for(var o=e.length;o>0&&e[o-1][2]>c;o--)e[o]=e[o-1];e[o]=[t,f,c]},r.n=e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return r.d(n,{a:n}),n},(()=>{var n,e=Object.getPrototypeOf?t=>Object.getPrototypeOf(t):t=>t.__proto__;r.t=function(t,f){if(1&f&&(t=this(t)),8&f||"object"==typeof t&&t&&(4&f&&t.__esModule||16&f&&"function"==typeof t.then))return t;var c=Object.create(null);r.r(c);var o={};n=n||[null,e({}),e([]),e(e)];for(var a=2&f&&t;"object"==typeof a&&!~n.indexOf(a);a=e(a))Object.getOwnPropertyNames(a).forEach(l=>o[l]=()=>t[l]);return o.default=()=>t,r.d(c,o),c}})(),r.d=(e,n)=>{for(var t in n)r.o(n,t)&&!r.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:n[t]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce((n,t)=>(r.f[t](e,n),n),[])),r.u=e=>(592===e?"common":e)+"."+{6:"fc79ecc0c0a33462",22:"738096d8317ec65b",46:"8652d978a45ce5ab",126:"cdcda87dcc3da677",170:"f2067bfd5ecb2a86",231:"adb8d56e26375a9c",285:"17f6cbef78acd327",472:"519965afdb7a160d",512:"eddb4675a9016de6",518:"aff0cf9876e146d2",585:"c93552ac67f4550c",592:"34d3e7dcd2b85c7a",616:"507588c0a5d7b9e1",717:"62ca448a74adc1c2",739:"82b92600f9519019",763:"42fa4c0d665819d3",767:"0ce42314dea8dfea",796:"3be8ad424aad7864"}[e]+".js",r.miniCssF=e=>{},r.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),(()=>{var e={},n="pos-marketplace:";r.l=(t,f,c,o)=>{if(e[t])e[t].push(f);else{var a,l;if(void 0!==c)for(var i=document.getElementsByTagName("script"),b=0;b<i.length;b++){var d=i[b];if(d.getAttribute("src")==t||d.getAttribute("data-webpack")==n+c){a=d;break}}a||(l=!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",n+c),a.src=r.tu(t)),e[t]=[f];var s=(g,u)=>{a.onerror=a.onload=null,clearTimeout(p);var m=e[t];if(delete e[t],a.parentNode&&a.parentNode.removeChild(a),m&&m.forEach(h=>h(u)),g)return g(u)},p=setTimeout(s.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=s.bind(null,a.onerror),a.onload=s.bind(null,a.onload),l&&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:n=>n},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@2.3.0/Marketplace/",(()=>{var e={666:0};r.f.j=(f,c)=>{var o=r.o(e,f)?e[f]:void 0;if(0!==o)if(o)c.push(o[2]);else if(666!=f){var a=new Promise((d,s)=>o=e[f]=[d,s]);c.push(o[2]=a);var l=r.p+r.u(f),i=new Error;r.l(l,d=>{if(r.o(e,f)&&(0!==(o=e[f])&&(e[f]=void 0),o)){var s=d&&("load"===d.type?"missing":d.type),p=d&&d.target&&d.target.src;i.message="Loading chunk "+f+" failed.\n("+s+": "+p+")",i.name="ChunkLoadError",i.type=s,i.request=p,o[1](i)}},"chunk-"+f,f)}else e[f]=0},r.O.j=f=>0===e[f];var n=(f,c)=>{var i,b,[o,a,l]=c,d=0;if(o.some(p=>0!==e[p])){for(i in a)r.o(a,i)&&(r.m[i]=a[i]);if(l)var s=l(r)}for(f&&f(c);d<o.length;d++)r.o(e,b=o[d])&&e[b]&&e[b][0](),e[b]=0;return r.O(s)},t=self.webpackChunkpos_marketplace=self.webpackChunkpos_marketplace||[];t.forEach(n.bind(null,0)),t.push=n.bind(null,t.push.bind(t))})()})();
@@ -0,0 +1 @@
1
+ !function(le,de){"object"==typeof exports&&typeof module<"u"?module.exports=de():"function"==typeof define&&define.amd?define(de):le.Popper=de()}(this,function(){"use strict";var le=typeof window<"u"&&typeof document<"u"&&typeof navigator<"u",de=function(){for(var n=["Edge","Trident","Firefox"],s=0;s<n.length;s+=1)if(le&&navigator.userAgent.indexOf(n[s])>=0)return 1;return 0}(),Ce=le&&window.Promise?function _t(n){var s=!1;return function(){s||(s=!0,window.Promise.resolve().then(function(){s=!1,n()}))}}:function Te(n){var s=!1;return function(){s||(s=!0,setTimeout(function(){s=!1,n()},de))}};function _e(n){return n&&"[object Function]"==={}.toString.call(n)}function K(n,s){if(1!==n.nodeType)return[];var c=n.ownerDocument.defaultView.getComputedStyle(n,null);return s?c[s]:c}function xe(n){return"HTML"===n.nodeName?n:n.parentNode||n.host}function he(n){if(!n)return document.body;switch(n.nodeName){case"HTML":case"BODY":return n.ownerDocument.body;case"#document":return n.body}var s=K(n);return/(auto|scroll|overlay)/.test(s.overflow+s.overflowY+s.overflowX)?n:he(xe(n))}function bt(n){return n&&n.referenceNode?n.referenceNode:n}var Qe=le&&!(!window.MSInputMethodContext||!document.documentMode),Le=le&&/MSIE 10/.test(navigator.userAgent);function Se(n){return 11===n?Qe:10===n?Le:Qe||Le}function Ae(n){if(!n)return document.documentElement;for(var s=Se(10)?document.body:null,l=n.offsetParent||null;l===s&&n.nextElementSibling;)l=(n=n.nextElementSibling).offsetParent;var c=l&&l.nodeName;return c&&"BODY"!==c&&"HTML"!==c?-1!==["TH","TD","TABLE"].indexOf(l.nodeName)&&"static"===K(l,"position")?Ae(l):l:n?n.ownerDocument.documentElement:document.documentElement}function G(n){return null!==n.parentNode?G(n.parentNode):n}function pe(n,s){if(!(n&&n.nodeType&&s&&s.nodeType))return document.documentElement;var l=n.compareDocumentPosition(s)&Node.DOCUMENT_POSITION_FOLLOWING,c=l?n:s,u=l?s:n,h=document.createRange();h.setStart(c,0),h.setEnd(u,0);var m=h.commonAncestorContainer;if(n!==m&&s!==m||c.contains(u))return function Q(n){var s=n.nodeName;return"BODY"!==s&&("HTML"===s||Ae(n.firstElementChild)===n)}(m)?m:Ae(m);var g=G(n);return g.host?pe(g.host,s):pe(n,G(s).host)}function ke(n){var s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",l="top"===s?"scrollTop":"scrollLeft",c=n.nodeName;if("BODY"===c||"HTML"===c){var u=n.ownerDocument.documentElement,h=n.ownerDocument.scrollingElement||u;return h[l]}return n[l]}function $t(n,s){var l=arguments.length>2&&void 0!==arguments[2]&&arguments[2],c=ke(s,"top"),u=ke(s,"left"),h=l?-1:1;return n.top+=c*h,n.bottom+=c*h,n.left+=u*h,n.right+=u*h,n}function zt(n,s){var l="x"===s?"Left":"Top",c="Left"===l?"Right":"Bottom";return parseFloat(n["border"+l+"Width"])+parseFloat(n["border"+c+"Width"])}function qt(n,s,l,c){return Math.max(s["offset"+n],s["scroll"+n],l["client"+n],l["offset"+n],l["scroll"+n],Se(10)?parseInt(l["offset"+n])+parseInt(c["margin"+("Height"===n?"Top":"Left")])+parseInt(c["margin"+("Height"===n?"Bottom":"Right")]):0)}function Vt(n){var s=n.body,l=n.documentElement,c=Se(10)&&getComputedStyle(l);return{height:qt("Height",s,l,c),width:qt("Width",s,l,c)}}var yt=function(n,s){if(!(n instanceof s))throw new TypeError("Cannot call a class as a function")},Ut=function(){function n(s,l){for(var c=0;c<l.length;c++){var u=l[c];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(s,u.key,u)}}return function(s,l,c){return l&&n(s.prototype,l),c&&n(s,c),s}}(),Fe=function(n,s,l){return s in n?Object.defineProperty(n,s,{value:l,enumerable:!0,configurable:!0,writable:!0}):n[s]=l,n},ce=Object.assign||function(n){for(var s=1;s<arguments.length;s++){var l=arguments[s];for(var c in l)Object.prototype.hasOwnProperty.call(l,c)&&(n[c]=l[c])}return n};function be(n){return ce({},n,{right:n.left+n.width,bottom:n.top+n.height})}function rt(n){var s={};try{if(Se(10)){s=n.getBoundingClientRect();var l=ke(n,"top"),c=ke(n,"left");s.top+=l,s.left+=c,s.bottom+=l,s.right+=c}else s=n.getBoundingClientRect()}catch{}var u={left:s.left,top:s.top,width:s.right-s.left,height:s.bottom-s.top},h="HTML"===n.nodeName?Vt(n.ownerDocument):{},b=n.offsetWidth-(h.width||n.clientWidth||u.width),O=n.offsetHeight-(h.height||n.clientHeight||u.height);if(b||O){var T=K(n);b-=zt(T,"x"),O-=zt(T,"y"),u.width-=b,u.height-=O}return be(u)}function st(n,s){var l=arguments.length>2&&void 0!==arguments[2]&&arguments[2],c=Se(10),u="HTML"===s.nodeName,h=rt(n),m=rt(s),g=he(n),b=K(s),O=parseFloat(b.borderTopWidth),T=parseFloat(b.borderLeftWidth);l&&u&&(m.top=Math.max(m.top,0),m.left=Math.max(m.left,0));var E=be({top:h.top-m.top-O,left:h.left-m.left-T,width:h.width,height:h.height});if(E.marginTop=0,E.marginLeft=0,!c&&u){var N=parseFloat(b.marginTop),A=parseFloat(b.marginLeft);E.top-=O-N,E.bottom-=O-N,E.left-=T-A,E.right-=T-A,E.marginTop=N,E.marginLeft=A}return(c&&!l?s.contains(g):s===g&&"BODY"!==g.nodeName)&&(E=$t(E,s)),E}function Yt(n){var s=arguments.length>1&&void 0!==arguments[1]&&arguments[1],l=n.ownerDocument.documentElement,c=st(n,l),u=Math.max(l.clientWidth,window.innerWidth||0),h=Math.max(l.clientHeight,window.innerHeight||0),m=s?0:ke(l),g=s?0:ke(l,"left"),b={top:m-c.top+c.marginTop,left:g-c.left+c.marginLeft,width:u,height:h};return be(b)}function wt(n){var s=n.nodeName;if("BODY"===s||"HTML"===s)return!1;if("fixed"===K(n,"position"))return!0;var l=xe(n);return!!l&&wt(l)}function Et(n){if(!n||!n.parentElement||Se())return document.documentElement;for(var s=n.parentElement;s&&"none"===K(s,"transform");)s=s.parentElement;return s||document.documentElement}function Ge(n,s,l,c){var u=arguments.length>4&&void 0!==arguments[4]&&arguments[4],h={top:0,left:0},m=u?Et(n):pe(n,bt(s));if("viewport"===c)h=Yt(m,u);else{var g=void 0;"scrollParent"===c?"BODY"===(g=he(xe(s))).nodeName&&(g=n.ownerDocument.documentElement):g="window"===c?n.ownerDocument.documentElement:c;var b=st(g,m,u);if("HTML"!==g.nodeName||wt(m))h=b;else{var O=Vt(n.ownerDocument),T=O.height,E=O.width;h.top+=b.top-b.marginTop,h.bottom=T+b.top,h.left+=b.left-b.marginLeft,h.right=E+b.left}}var N="number"==typeof(l=l||0);return h.left+=N?l:l.left||0,h.top+=N?l:l.top||0,h.right-=N?l:l.right||0,h.bottom-=N?l:l.bottom||0,h}function Kt(n){return n.width*n.height}function p(n,s,l,c,u){var h=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===n.indexOf("auto"))return n;var m=Ge(l,c,h,u),g={top:{width:m.width,height:s.top-m.top},right:{width:m.right-s.right,height:m.height},bottom:{width:m.width,height:m.bottom-s.bottom},left:{width:s.left-m.left,height:m.height}},b=Object.keys(g).map(function(N){return ce({key:N},g[N],{area:Kt(g[N])})}).sort(function(N,A){return A.area-N.area}),O=b.filter(function(N){return N.width>=l.clientWidth&&N.height>=l.clientHeight}),T=O.length>0?O[0].key:b[0].key,E=n.split("-")[1];return T+(E?"-"+E:"")}function ye(n,s,l){var c=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,u=c?Et(s):pe(s,bt(l));return st(l,u,c)}function $e(n){var l=n.ownerDocument.defaultView.getComputedStyle(n),c=parseFloat(l.marginTop||0)+parseFloat(l.marginBottom||0),u=parseFloat(l.marginLeft||0)+parseFloat(l.marginRight||0);return{width:n.offsetWidth+u,height:n.offsetHeight+c}}function J(n){var s={left:"right",right:"left",bottom:"top",top:"bottom"};return n.replace(/left|right|bottom|top/g,function(l){return s[l]})}function Je(n,s,l){l=l.split("-")[0];var c=$e(n),u={width:c.width,height:c.height},h=-1!==["right","left"].indexOf(l),m=h?"top":"left",g=h?"left":"top",b=h?"height":"width",O=h?"width":"height";return u[m]=s[m]+s[b]/2-c[b]/2,u[g]=l===g?s[g]-c[O]:s[J(g)],u}function we(n,s){return Array.prototype.find?n.find(s):n.filter(s)[0]}function ze(n,s,l){var c=void 0===l?n:n.slice(0,function Xt(n,s,l){if(Array.prototype.findIndex)return n.findIndex(function(u){return u[s]===l});var c=we(n,function(u){return u[s]===l});return n.indexOf(c)}(n,"name",l));return c.forEach(function(u){u.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var h=u.function||u.fn;u.enabled&&_e(h)&&(s.offsets.popper=be(s.offsets.popper),s.offsets.reference=be(s.offsets.reference),s=h(s,u))}),s}function Qt(){if(!this.state.isDestroyed){var n={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};n.offsets.reference=ye(this.state,this.popper,this.reference,this.options.positionFixed),n.placement=p(this.options.placement,n.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),n.originalPlacement=n.placement,n.positionFixed=this.options.positionFixed,n.offsets.popper=Je(this.popper,n.offsets.reference,n.placement),n.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",n=ze(this.modifiers,n),this.state.isCreated?this.options.onUpdate(n):(this.state.isCreated=!0,this.options.onCreate(n))}}function at(n,s){return n.some(function(l){return l.enabled&&l.name===s})}function U(n){for(var s=[!1,"ms","Webkit","Moz","O"],l=n.charAt(0).toUpperCase()+n.slice(1),c=0;c<s.length;c++){var u=s[c],h=u?""+u+l:n;if(typeof document.body.style[h]<"u")return h}return null}function S(){return this.state.isDestroyed=!0,at(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[U("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function Ot(n){var s=n.ownerDocument;return s?s.defaultView:window}function Tt(n,s,l,c){var u="BODY"===n.nodeName,h=u?n.ownerDocument.defaultView:n;h.addEventListener(s,l,{passive:!0}),u||Tt(he(h.parentNode),s,l,c),c.push(h)}function pi(n,s,l,c){l.updateBound=c,Ot(n).addEventListener("resize",l.updateBound,{passive:!0});var u=he(n);return Tt(u,"scroll",l.updateBound,l.scrollParents),l.scrollElement=u,l.eventsEnabled=!0,l}function De(){this.state.eventsEnabled||(this.state=pi(this.reference,0,this.state,this.scheduleUpdate))}function Pe(){this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=function Ne(n,s){return Ot(n).removeEventListener("resize",s.updateBound),s.scrollParents.forEach(function(l){l.removeEventListener("scroll",s.updateBound)}),s.updateBound=null,s.scrollParents=[],s.scrollElement=null,s.eventsEnabled=!1,s}(this.reference,this.state))}function Ie(n){return""!==n&&!isNaN(parseFloat(n))&&isFinite(n)}function At(n,s){Object.keys(s).forEach(function(l){var c="";-1!==["width","height","top","right","bottom","left"].indexOf(l)&&Ie(s[l])&&(c="px"),n.style[l]=s[l]+c})}var Jt=le&&/Firefox/i.test(navigator.userAgent);function ei(n,s,l){var c=we(n,function(g){return g.name===s}),u=!!c&&n.some(function(g){return g.name===l&&g.enabled&&g.order<c.order});if(!u){var h="`"+s+"`";console.warn("`"+l+"` modifier is required by "+h+" modifier in order to work, be sure to include it before "+h+"!")}return u}var Ze=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],ft=Ze.slice(3);function xt(n){var s=arguments.length>1&&void 0!==arguments[1]&&arguments[1],l=ft.indexOf(n),c=ft.slice(l+1).concat(ft.slice(0,l));return s?c.reverse():c}var Lt={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function qe(n){var s=n.placement,l=s.split("-")[0],c=s.split("-")[1];if(c){var u=n.offsets,h=u.reference,m=u.popper,g=-1!==["bottom","top"].indexOf(l),b=g?"left":"top",O=g?"width":"height",T={start:Fe({},b,h[b]),end:Fe({},b,h[b]+h[O]-m[O])};n.offsets.popper=ce({},m,T[c])}return n}},offset:{order:200,enabled:!0,fn:function ee(n,s){var b,l=s.offset,u=n.offsets,h=u.popper,m=u.reference,g=n.placement.split("-")[0];return b=Ie(+l)?[+l,0]:function re(n,s,l,c){var u=[0,0],h=-1!==["right","left"].indexOf(c),m=n.split(/(\+|\-)/).map(function(T){return T.trim()}),g=m.indexOf(we(m,function(T){return-1!==T.search(/,|\s/)}));m[g]&&-1===m[g].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var b=/\s*,\s*|\s+/,O=-1!==g?[m.slice(0,g).concat([m[g].split(b)[0]]),[m[g].split(b)[1]].concat(m.slice(g+1))]:[m];return O=O.map(function(T,E){var N=(1===E?!h:h)?"height":"width",A=!1;return T.reduce(function(C,F){return""===C[C.length-1]&&-1!==["+","-"].indexOf(F)?(C[C.length-1]=F,A=!0,C):A?(C[C.length-1]+=F,A=!1,C):C.concat(F)},[]).map(function(C){return function oe(n,s,l,c){var u=n.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),h=+u[1],m=u[2];return h?0===m.indexOf("%")?be("%p"===m?l:c)[s]/100*h:"vh"===m||"vw"===m?("vh"===m?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*h:h:n}(C,N,s,l)})}),O.forEach(function(T,E){T.forEach(function(N,A){Ie(N)&&(u[E]+=N*("-"===T[A-1]?-1:1))})}),u}(l,h,m,g),"left"===g?(h.top+=b[0],h.left-=b[1]):"right"===g?(h.top+=b[0],h.left+=b[1]):"top"===g?(h.left+=b[0],h.top-=b[1]):"bottom"===g&&(h.left+=b[0],h.top+=b[1]),n.popper=h,n},offset:0},preventOverflow:{order:300,enabled:!0,fn:function ht(n,s){var l=s.boundariesElement||Ae(n.instance.popper);n.instance.reference===l&&(l=Ae(l));var c=U("transform"),u=n.instance.popper.style,h=u.top,m=u.left,g=u[c];u.top="",u.left="",u[c]="";var b=Ge(n.instance.popper,n.instance.reference,s.padding,l,n.positionFixed);u.top=h,u.left=m,u[c]=g,s.boundaries=b;var T=n.offsets.popper,E={primary:function(A){var C=T[A];return T[A]<b[A]&&!s.escapeWithReference&&(C=Math.max(T[A],b[A])),Fe({},A,C)},secondary:function(A){var C="right"===A?"left":"top",F=T[C];return T[A]>b[A]&&!s.escapeWithReference&&(F=Math.min(T[C],b[A]-("right"===A?T.width:T.height))),Fe({},C,F)}};return s.priority.forEach(function(N){var A=-1!==["left","top"].indexOf(N)?"primary":"secondary";T=ce({},T,E[A](N))}),n.offsets.popper=T,n},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function Z(n){var s=n.offsets,l=s.popper,c=s.reference,u=n.placement.split("-")[0],h=Math.floor,m=-1!==["top","bottom"].indexOf(u),g=m?"right":"bottom",b=m?"left":"top",O=m?"width":"height";return l[g]<h(c[b])&&(n.offsets.popper[b]=h(c[b])-l[O]),l[b]>h(c[g])&&(n.offsets.popper[b]=h(c[g])),n}},arrow:{order:500,enabled:!0,fn:function Ct(n,s){var l;if(!ei(n.instance.modifiers,"arrow","keepTogether"))return n;var c=s.element;if("string"==typeof c){if(!(c=n.instance.popper.querySelector(c)))return n}else if(!n.instance.popper.contains(c))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),n;var u=n.placement.split("-")[0],h=n.offsets,m=h.popper,g=h.reference,b=-1!==["left","right"].indexOf(u),O=b?"height":"width",T=b?"Top":"Left",E=T.toLowerCase(),N=b?"left":"top",A=b?"bottom":"right",C=$e(c)[O];g[A]-C<m[E]&&(n.offsets.popper[E]-=m[E]-(g[A]-C)),g[E]+C>m[A]&&(n.offsets.popper[E]+=g[E]+C-m[A]),n.offsets.popper=be(n.offsets.popper);var F=g[E]+g[O]/2-C/2,q=K(n.instance.popper),Oe=parseFloat(q["margin"+T]),te=parseFloat(q["border"+T+"Width"]),X=F-n.offsets.popper[E]-Oe-te;return X=Math.max(Math.min(m[O]-C,X),0),n.arrowElement=c,n.offsets.arrow=(Fe(l={},E,Math.round(X)),Fe(l,N,""),l),n},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function je(n,s){if(at(n.instance.modifiers,"inner")||n.flipped&&n.placement===n.originalPlacement)return n;var l=Ge(n.instance.popper,n.instance.reference,s.padding,s.boundariesElement,n.positionFixed),c=n.placement.split("-")[0],u=J(c),h=n.placement.split("-")[1]||"",m=[];switch(s.behavior){case"flip":m=[c,u];break;case"clockwise":m=xt(c);break;case"counterclockwise":m=xt(c,!0);break;default:m=s.behavior}return m.forEach(function(g,b){if(c!==g||m.length===b+1)return n;c=n.placement.split("-")[0],u=J(c);var O=n.offsets.popper,T=n.offsets.reference,E=Math.floor,N="left"===c&&E(O.right)>E(T.left)||"right"===c&&E(O.left)<E(T.right)||"top"===c&&E(O.bottom)>E(T.top)||"bottom"===c&&E(O.top)<E(T.bottom),A=E(O.left)<E(l.left),C=E(O.right)>E(l.right),F=E(O.top)<E(l.top),q=E(O.bottom)>E(l.bottom),Oe="left"===c&&A||"right"===c&&C||"top"===c&&F||"bottom"===c&&q,te=-1!==["top","bottom"].indexOf(c),ut=!!s.flipVariations&&(te&&"start"===h&&A||te&&"end"===h&&C||!te&&"start"===h&&F||!te&&"end"===h&&q)||!!s.flipVariationsByContent&&(te&&"start"===h&&C||te&&"end"===h&&A||!te&&"start"===h&&q||!te&&"end"===h&&F);(N||Oe||ut)&&(n.flipped=!0,(N||Oe)&&(c=m[b+1]),ut&&(h=function ct(n){return"end"===n?"start":"start"===n?"end":n}(h)),n.placement=c+(h?"-"+h:""),n.offsets.popper=ce({},n.offsets.popper,Je(n.instance.popper,n.offsets.reference,n.placement)),n=ze(n.instance.modifiers,n,"flip"))}),n},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function Ve(n){var s=n.placement,l=s.split("-")[0],c=n.offsets,u=c.popper,h=c.reference,m=-1!==["left","right"].indexOf(l),g=-1===["top","left"].indexOf(l);return u[m?"left":"top"]=h[l]-(g?u[m?"width":"height"]:0),n.placement=J(s),n.offsets.popper=be(u),n}},hide:{order:800,enabled:!0,fn:function Be(n){if(!ei(n.instance.modifiers,"hide","preventOverflow"))return n;var s=n.offsets.reference,l=we(n.instance.modifiers,function(c){return"preventOverflow"===c.name}).boundaries;if(s.bottom<l.top||s.left>l.right||s.top>l.bottom||s.right<l.left){if(!0===n.hide)return n;n.hide=!0,n.attributes["x-out-of-boundaries"]=""}else{if(!1===n.hide)return n;n.hide=!1,n.attributes["x-out-of-boundaries"]=!1}return n}},computeStyle:{order:850,enabled:!0,fn:function Zt(n,s){var l=s.x,c=s.y,u=n.offsets.popper,h=we(n.instance.modifiers,function(X){return"applyStyle"===X.name}).gpuAcceleration;void 0!==h&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var C,F,m=void 0!==h?h:s.gpuAcceleration,g=Ae(n.instance.popper),b=rt(g),O={position:u.position},T=function me(n,s){var l=n.offsets,c=l.popper,h=Math.round,m=Math.floor,g=function(Oe){return Oe},b=h(l.reference.width),O=h(c.width),T=-1!==["left","right"].indexOf(n.placement),E=-1!==n.placement.indexOf("-"),C=s?T||E||b%2==O%2?h:m:g,F=s?h:g;return{left:C(b%2==1&&O%2==1&&!E&&s?c.left-1:c.left),top:F(c.top),bottom:F(c.bottom),right:C(c.right)}}(n,window.devicePixelRatio<2||!Jt),E="bottom"===l?"top":"bottom",N="right"===c?"left":"right",A=U("transform");if(F="bottom"===E?"HTML"===g.nodeName?-g.clientHeight+T.bottom:-b.height+T.bottom:T.top,C="right"===N?"HTML"===g.nodeName?-g.clientWidth+T.right:-b.width+T.right:T.left,m&&A)O[A]="translate3d("+C+"px, "+F+"px, 0)",O[E]=0,O[N]=0,O.willChange="transform";else{var Oe="right"===N?-1:1;O[E]=F*("bottom"===E?-1:1),O[N]=C*Oe,O.willChange=E+", "+N}return n.attributes=ce({},{"x-placement":n.placement},n.attributes),n.styles=ce({},O,n.styles),n.arrowStyles=ce({},n.offsets.arrow,n.arrowStyles),n},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function Me(n){return At(n.instance.popper,n.styles),function Gt(n,s){Object.keys(s).forEach(function(l){!1!==s[l]?n.setAttribute(l,s[l]):n.removeAttribute(l)})}(n.instance.popper,n.attributes),n.arrowElement&&Object.keys(n.arrowStyles).length&&At(n.arrowElement,n.arrowStyles),n},onLoad:function lt(n,s,l,c,u){var h=ye(u,s,n,l.positionFixed),m=p(l.placement,h,s,n,l.modifiers.flip.boundariesElement,l.modifiers.flip.padding);return s.setAttribute("x-placement",m),At(s,{position:l.positionFixed?"fixed":"absolute"}),l},gpuAcceleration:void 0}}},Ee=function(){function n(s,l){var c=this,u=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};yt(this,n),this.scheduleUpdate=function(){return requestAnimationFrame(c.update)},this.update=Ce(this.update.bind(this)),this.options=ce({},n.Defaults,u),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=s&&s.jquery?s[0]:s,this.popper=l&&l.jquery?l[0]:l,this.options.modifiers={},Object.keys(ce({},n.Defaults.modifiers,u.modifiers)).forEach(function(m){c.options.modifiers[m]=ce({},n.Defaults.modifiers[m]||{},u.modifiers?u.modifiers[m]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(m){return ce({name:m},c.options.modifiers[m])}).sort(function(m,g){return m.order-g.order}),this.modifiers.forEach(function(m){m.enabled&&_e(m.onLoad)&&m.onLoad(c.reference,c.popper,c.options,m,c.state)}),this.update();var h=this.options.eventsEnabled;h&&this.enableEventListeners(),this.state.eventsEnabled=h}return Ut(n,[{key:"update",value:function(){return Qt.call(this)}},{key:"destroy",value:function(){return S.call(this)}},{key:"enableEventListeners",value:function(){return De.call(this)}},{key:"disableEventListeners",value:function(){return Pe.call(this)}}]),n}();return Ee.Utils=(typeof window<"u"?window:global).PopperUtils,Ee.placements=Ze,Ee.Defaults=Lt,Ee}),function(le,de){"object"==typeof exports&&typeof module<"u"?module.exports=de():"function"==typeof define&&define.amd?define(de):(le=typeof globalThis<"u"?globalThis:le||self).bootstrap=de()}(this,function(){"use strict";const le="transitionend",de=i=>{let e=i.getAttribute("data-bs-target");if(!e||"#"===e){let t=i.getAttribute("href");if(!t||!t.includes("#")&&!t.startsWith("."))return null;t.includes("#")&&!t.startsWith("#")&&(t=`#${t.split("#")[1]}`),e=t&&"#"!==t?t.trim():null}return e},_t=i=>{const e=de(i);return e&&document.querySelector(e)?e:null},Te=i=>{const e=de(i);return e?document.querySelector(e):null},Ft=i=>{i.dispatchEvent(new Event(le))},Ce=i=>!(!i||"object"!=typeof i)&&(void 0!==i.jquery&&(i=i[0]),void 0!==i.nodeType),_e=i=>Ce(i)?i.jquery?i[0]:i:"string"==typeof i&&i.length>0?document.querySelector(i):null,K=(i,e,t)=>{Object.keys(t).forEach(o=>{const r=t[o],a=e[o],f=a&&Ce(a)?"element":null==(d=a)?`${d}`:{}.toString.call(d).match(/\s([a-z]+)/i)[1].toLowerCase();var d;if(!new RegExp(r).test(f))throw new TypeError(`${i.toUpperCase()}: Option "${o}" provided type "${f}" but expected type "${r}".`)})},xe=i=>!(!Ce(i)||0===i.getClientRects().length)&&"visible"===getComputedStyle(i).getPropertyValue("visibility"),he=i=>!i||i.nodeType!==Node.ELEMENT_NODE||!!i.classList.contains("disabled")||(void 0!==i.disabled?i.disabled:i.hasAttribute("disabled")&&"false"!==i.getAttribute("disabled")),bt=i=>{if(!document.documentElement.attachShadow)return null;if("function"==typeof i.getRootNode){const e=i.getRootNode();return e instanceof ShadowRoot?e:null}return i instanceof ShadowRoot?i:i.parentNode?bt(i.parentNode):null},Qe=()=>{},Se=()=>{const{jQuery:i}=window;return i&&!document.body.hasAttribute("data-bs-no-jquery")?i:null},Ae=[],Q=()=>"rtl"===document.documentElement.dir,G=i=>{var e;e=()=>{const t=Se();if(t){const o=i.NAME,r=t.fn[o];t.fn[o]=i.jQueryInterface,t.fn[o].Constructor=i,t.fn[o].noConflict=()=>(t.fn[o]=r,i.jQueryInterface)}},"loading"===document.readyState?(Ae.length||document.addEventListener("DOMContentLoaded",()=>{Ae.forEach(t=>t())}),Ae.push(e)):e()},pe=i=>{"function"==typeof i&&i()},ke=(i,e,t=!0)=>{if(!t)return void pe(i);const o=(f=>{if(!f)return 0;let{transitionDuration:d,transitionDelay:v}=window.getComputedStyle(f);const y=Number.parseFloat(d),w=Number.parseFloat(v);return y||w?(d=d.split(",")[0],v=v.split(",")[0],1e3*(Number.parseFloat(d)+Number.parseFloat(v))):0})(e)+5;let r=!1;const a=({target:f})=>{f===e&&(r=!0,e.removeEventListener(le,a),pe(i))};e.addEventListener(le,a),setTimeout(()=>{r||Ft(e)},o)},$t=(i,e,t,o)=>{let r=i.indexOf(e);if(-1===r)return i[!t&&o?i.length-1:0];const a=i.length;return r+=t?1:-1,o&&(r=(r+a)%a),i[Math.max(0,Math.min(r,a-1))]},zt=/[^.]*(?=\..*)\.|.*/,qt=/\..*/,Vt=/::\d+$/,yt={};let Ut=1;const Fe={mouseenter:"mouseover",mouseleave:"mouseout"},ce=/^(mouseenter|mouseleave)/i,be=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 rt(i,e){return e&&`${e}::${Ut++}`||i.uidEvent||Ut++}function st(i){const e=rt(i);return i.uidEvent=e,yt[e]=yt[e]||{},yt[e]}function Yt(i,e,t=null){const o=Object.keys(i);for(let r=0,a=o.length;r<a;r++){const f=i[o[r]];if(f.originalHandler===e&&f.delegationSelector===t)return f}return null}function wt(i,e,t){const o="string"==typeof e,r=o?t:e;let a=Kt(i);return be.has(a)||(a=i),[o,r,a]}function Et(i,e,t,o,r){if("string"!=typeof e||!i)return;if(t||(t=o,o=null),ce.test(e)){const x=L=>function(D){if(!D.relatedTarget||D.relatedTarget!==D.delegateTarget&&!D.delegateTarget.contains(D.relatedTarget))return L.call(this,D)};o?o=x(o):t=x(t)}const[a,f,d]=wt(e,t,o),v=st(i),y=v[d]||(v[d]={}),w=Yt(y,f,a?t:null);if(w)return void(w.oneOff=w.oneOff&&r);const _=rt(f,e.replace(zt,"")),I=a?(x=i,L=t,D=o,function k($){const B=x.querySelectorAll(L);for(let{target:P}=$;P&&P!==this;P=P.parentNode)for(let H=B.length;H--;)if(B[H]===P)return $.delegateTarget=P,k.oneOff&&p.off(x,$.type,L,D),D.apply(P,[$]);return null}):function(x,L){return function D(k){return k.delegateTarget=x,D.oneOff&&p.off(x,k.type,L),L.apply(x,[k])}}(i,t);var x,L,D;I.delegationSelector=a?t:null,I.originalHandler=f,I.oneOff=r,I.uidEvent=_,y[_]=I,i.addEventListener(d,I,a)}function Ge(i,e,t,o,r){const a=Yt(e[t],o,r);a&&(i.removeEventListener(t,a,Boolean(r)),delete e[t][a.uidEvent])}function Kt(i){return i=i.replace(qt,""),Fe[i]||i}const p={on(i,e,t,o){Et(i,e,t,o,!1)},one(i,e,t,o){Et(i,e,t,o,!0)},off(i,e,t,o){if("string"!=typeof e||!i)return;const[r,a,f]=wt(e,t,o),d=f!==e,v=st(i),y=e.startsWith(".");if(void 0!==a)return v&&v[f]?void Ge(i,v,f,a,r?t:null):void 0;y&&Object.keys(v).forEach(_=>{!function(I,x,L,D){const k=x[L]||{};Object.keys(k).forEach($=>{if($.includes(D)){const B=k[$];Ge(I,x,L,B.originalHandler,B.delegationSelector)}})}(i,v,_,e.slice(1))});const w=v[f]||{};Object.keys(w).forEach(_=>{const I=_.replace(Vt,"");if(!d||e.includes(I)){const x=w[_];Ge(i,v,f,x.originalHandler,x.delegationSelector)}})},trigger(i,e,t){if("string"!=typeof e||!i)return null;const o=Se(),r=Kt(e),a=e!==r,f=be.has(r);let d,v=!0,y=!0,w=!1,_=null;return a&&o&&(d=o.Event(e,t),o(i).trigger(d),v=!d.isPropagationStopped(),y=!d.isImmediatePropagationStopped(),w=d.isDefaultPrevented()),f?(_=document.createEvent("HTMLEvents"),_.initEvent(r,v,!0)):_=new CustomEvent(e,{bubbles:v,cancelable:!0}),void 0!==t&&Object.keys(t).forEach(I=>{Object.defineProperty(_,I,{get:()=>t[I]})}),w&&_.preventDefault(),y&&i.dispatchEvent(_),_.defaultPrevented&&void 0!==d&&d.preventDefault(),_}},ye=new Map,$e={set(i,e,t){ye.has(i)||ye.set(i,new Map);const o=ye.get(i);o.has(e)||0===o.size?o.set(e,t):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(o.keys())[0]}.`)},get:(i,e)=>ye.has(i)&&ye.get(i).get(e)||null,remove(i,e){if(!ye.has(i))return;const t=ye.get(i);t.delete(e),0===t.size&&ye.delete(i)}};class J{constructor(e){(e=_e(e))&&(this._element=e,$e.set(this._element,this.constructor.DATA_KEY,this))}dispose(){$e.remove(this._element,this.constructor.DATA_KEY),p.off(this._element,this.constructor.EVENT_KEY),Object.getOwnPropertyNames(this).forEach(e=>{this[e]=null})}_queueCallback(e,t,o=!0){ke(e,t,o)}static getInstance(e){return $e.get(_e(e),this.DATA_KEY)}static getOrCreateInstance(e,t={}){return this.getInstance(e)||new this(e,"object"==typeof t?t:null)}static get VERSION(){return"5.1.3"}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}}const Je=(i,e="hide")=>{const o=i.NAME;p.on(document,`click.dismiss${i.EVENT_KEY}`,`[data-bs-dismiss="${o}"]`,function(r){if(["A","AREA"].includes(this.tagName)&&r.preventDefault(),he(this))return;const a=Te(this)||this.closest(`.${o}`);i.getOrCreateInstance(a)[e]()})};class we extends J{static get NAME(){return"alert"}close(){if(p.trigger(this._element,"close.bs.alert").defaultPrevented)return;this._element.classList.remove("show");const e=this._element.classList.contains("fade");this._queueCallback(()=>this._destroyElement(),this._element,e)}_destroyElement(){this._element.remove(),p.trigger(this._element,"closed.bs.alert"),this.dispose()}static jQueryInterface(e){return this.each(function(){const t=we.getOrCreateInstance(this);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e](this)}})}}Je(we,"close"),G(we);const Xt='[data-bs-toggle="button"]';class ze extends J{static get NAME(){return"button"}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle("active"))}static jQueryInterface(e){return this.each(function(){const t=ze.getOrCreateInstance(this);"toggle"===e&&t[e]()})}}function Qt(i){return"true"===i||"false"!==i&&(i===Number(i).toString()?Number(i):""===i||"null"===i?null:i)}function at(i){return i.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}p.on(document,"click.bs.button.data-api",Xt,i=>{i.preventDefault();const e=i.target.closest(Xt);ze.getOrCreateInstance(e).toggle()}),G(ze);const U={setDataAttribute(i,e,t){i.setAttribute(`data-bs-${at(e)}`,t)},removeDataAttribute(i,e){i.removeAttribute(`data-bs-${at(e)}`)},getDataAttributes(i){if(!i)return{};const e={};return Object.keys(i.dataset).filter(t=>t.startsWith("bs")).forEach(t=>{let o=t.replace(/^bs/,"");o=o.charAt(0).toLowerCase()+o.slice(1,o.length),e[o]=Qt(i.dataset[t])}),e},getDataAttribute:(i,e)=>Qt(i.getAttribute(`data-bs-${at(e)}`)),offset(i){const e=i.getBoundingClientRect();return{top:e.top+window.pageYOffset,left:e.left+window.pageXOffset}},position:i=>({top:i.offsetTop,left:i.offsetLeft})},S={find:(i,e=document.documentElement)=>[].concat(...Element.prototype.querySelectorAll.call(e,i)),findOne:(i,e=document.documentElement)=>Element.prototype.querySelector.call(e,i),children:(i,e)=>[].concat(...i.children).filter(t=>t.matches(e)),parents(i,e){const t=[];let o=i.parentNode;for(;o&&o.nodeType===Node.ELEMENT_NODE&&3!==o.nodeType;)o.matches(e)&&t.push(o),o=o.parentNode;return t},prev(i,e){let t=i.previousElementSibling;for(;t;){if(t.matches(e))return[t];t=t.previousElementSibling}return[]},next(i,e){let t=i.nextElementSibling;for(;t;){if(t.matches(e))return[t];t=t.nextElementSibling}return[]},focusableChildren(i){const e=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(t=>`${t}:not([tabindex^="-"])`).join(", ");return this.find(e,i).filter(t=>!he(t)&&xe(t))}},Ot="carousel",Tt={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},pi={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},De="next",Ne="prev",Pe="left",Ie="right",At={ArrowLeft:Ie,ArrowRight:Pe},Gt="slid.bs.carousel",Me="active",lt=".active.carousel-item";class me extends J{constructor(e,t){super(e),this._items=null,this._interval=null,this._activeElement=null,this._isPaused=!1,this._isSliding=!1,this.touchTimeout=null,this.touchStartX=0,this.touchDeltaX=0,this._config=this._getConfig(t),this._indicatorsElement=S.findOne(".carousel-indicators",this._element),this._touchSupported="ontouchstart"in document.documentElement||navigator.maxTouchPoints>0,this._pointerEvent=Boolean(window.PointerEvent),this._addEventListeners()}static get Default(){return Tt}static get NAME(){return Ot}next(){this._slide(De)}nextWhenVisible(){!document.hidden&&xe(this._element)&&this.next()}prev(){this._slide(Ne)}pause(e){e||(this._isPaused=!0),S.findOne(".carousel-item-next, .carousel-item-prev",this._element)&&(Ft(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null}cycle(e){e||(this._isPaused=!1),this._interval&&(clearInterval(this._interval),this._interval=null),this._config&&this._config.interval&&!this._isPaused&&(this._updateInterval(),this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))}to(e){this._activeElement=S.findOne(lt,this._element);const t=this._getItemIndex(this._activeElement);if(!(e>this._items.length-1||e<0)){if(!this._isSliding)return t===e?(this.pause(),void this.cycle()):void this._slide(e>t?De:Ne,this._items[e]);p.one(this._element,Gt,()=>this.to(e))}}_getConfig(e){return e={...Tt,...U.getDataAttributes(this._element),..."object"==typeof e?e:{}},K(Ot,e,pi),e}_handleSwipe(){const e=Math.abs(this.touchDeltaX);if(e<=40)return;const t=e/this.touchDeltaX;this.touchDeltaX=0,t&&this._slide(t>0?Ie:Pe)}_addEventListeners(){this._config.keyboard&&p.on(this._element,"keydown.bs.carousel",e=>this._keydown(e)),"hover"===this._config.pause&&(p.on(this._element,"mouseenter.bs.carousel",e=>this.pause(e)),p.on(this._element,"mouseleave.bs.carousel",e=>this.cycle(e))),this._config.touch&&this._touchSupported&&this._addTouchEventListeners()}_addTouchEventListeners(){const e=a=>this._pointerEvent&&("pen"===a.pointerType||"touch"===a.pointerType),t=a=>{e(a)?this.touchStartX=a.clientX:this._pointerEvent||(this.touchStartX=a.touches[0].clientX)},o=a=>{this.touchDeltaX=a.touches&&a.touches.length>1?0:a.touches[0].clientX-this.touchStartX},r=a=>{e(a)&&(this.touchDeltaX=a.clientX-this.touchStartX),this._handleSwipe(),"hover"===this._config.pause&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(f=>this.cycle(f),500+this._config.interval))};S.find(".carousel-item img",this._element).forEach(a=>{p.on(a,"dragstart.bs.carousel",f=>f.preventDefault())}),this._pointerEvent?(p.on(this._element,"pointerdown.bs.carousel",a=>t(a)),p.on(this._element,"pointerup.bs.carousel",a=>r(a)),this._element.classList.add("pointer-event")):(p.on(this._element,"touchstart.bs.carousel",a=>t(a)),p.on(this._element,"touchmove.bs.carousel",a=>o(a)),p.on(this._element,"touchend.bs.carousel",a=>r(a)))}_keydown(e){if(/input|textarea/i.test(e.target.tagName))return;const t=At[e.key];t&&(e.preventDefault(),this._slide(t))}_getItemIndex(e){return this._items=e&&e.parentNode?S.find(".carousel-item",e.parentNode):[],this._items.indexOf(e)}_getItemByOrder(e,t){return $t(this._items,t,e===De,this._config.wrap)}_triggerSlideEvent(e,t){const o=this._getItemIndex(e),r=this._getItemIndex(S.findOne(lt,this._element));return p.trigger(this._element,"slide.bs.carousel",{relatedTarget:e,direction:t,from:r,to:o})}_setActiveIndicatorElement(e){if(this._indicatorsElement){const t=S.findOne(".active",this._indicatorsElement);t.classList.remove(Me),t.removeAttribute("aria-current");const o=S.find("[data-bs-target]",this._indicatorsElement);for(let r=0;r<o.length;r++)if(Number.parseInt(o[r].getAttribute("data-bs-slide-to"),10)===this._getItemIndex(e)){o[r].classList.add(Me),o[r].setAttribute("aria-current","true");break}}}_updateInterval(){const e=this._activeElement||S.findOne(lt,this._element);if(!e)return;const t=Number.parseInt(e.getAttribute("data-bs-interval"),10);t?(this._config.defaultInterval=this._config.defaultInterval||this._config.interval,this._config.interval=t):this._config.interval=this._config.defaultInterval||this._config.interval}_slide(e,t){const o=this._directionToOrder(e),r=S.findOne(lt,this._element),a=this._getItemIndex(r),f=t||this._getItemByOrder(o,r),d=this._getItemIndex(f),v=Boolean(this._interval),y=o===De,w=y?"carousel-item-start":"carousel-item-end",_=y?"carousel-item-next":"carousel-item-prev",I=this._orderToDirection(o);if(f&&f.classList.contains(Me))return void(this._isSliding=!1);if(this._isSliding||this._triggerSlideEvent(f,I).defaultPrevented||!r||!f)return;this._isSliding=!0,v&&this.pause(),this._setActiveIndicatorElement(f),this._activeElement=f;const x=()=>{p.trigger(this._element,Gt,{relatedTarget:f,direction:I,from:a,to:d})};this._element.classList.contains("slide")?(f.classList.add(_),r.classList.add(w),f.classList.add(w),this._queueCallback(()=>{f.classList.remove(w,_),f.classList.add(Me),r.classList.remove(Me,_,w),this._isSliding=!1,setTimeout(x,0)},r,!0)):(r.classList.remove(Me),f.classList.add(Me),this._isSliding=!1,x()),v&&this.cycle()}_directionToOrder(e){return[Ie,Pe].includes(e)?Q()?e===Pe?Ne:De:e===Pe?De:Ne:e}_orderToDirection(e){return[De,Ne].includes(e)?Q()?e===Ne?Pe:Ie:e===Ne?Ie:Pe:e}static carouselInterface(e,t){const o=me.getOrCreateInstance(e,t);let{_config:r}=o;"object"==typeof t&&(r={...r,...t});const a="string"==typeof t?t:r.slide;if("number"==typeof t)o.to(t);else if("string"==typeof a){if(void 0===o[a])throw new TypeError(`No method named "${a}"`);o[a]()}else r.interval&&r.ride&&(o.pause(),o.cycle())}static jQueryInterface(e){return this.each(function(){me.carouselInterface(this,e)})}static dataApiClickHandler(e){const t=Te(this);if(!t||!t.classList.contains("carousel"))return;const o={...U.getDataAttributes(t),...U.getDataAttributes(this)},r=this.getAttribute("data-bs-slide-to");r&&(o.interval=!1),me.carouselInterface(t,o),r&&me.getInstance(t).to(r),e.preventDefault()}}p.on(document,"click.bs.carousel.data-api","[data-bs-slide], [data-bs-slide-to]",me.dataApiClickHandler),p.on(window,"load.bs.carousel.data-api",()=>{const i=S.find('[data-bs-ride="carousel"]');for(let e=0,t=i.length;e<t;e++)me.carouselInterface(i[e],me.getInstance(i[e]))}),G(me);const Jt="collapse",Zt={toggle:!0,parent:null},ei={toggle:"boolean",parent:"(null|element)"},Ct="show",ct="collapse",Ze="collapsing",ft="collapsed",xt=":scope .collapse .collapse",et='[data-bs-toggle="collapse"]';class je extends J{constructor(e,t){super(e),this._isTransitioning=!1,this._config=this._getConfig(t),this._triggerArray=[];const o=S.find(et);for(let r=0,a=o.length;r<a;r++){const f=o[r],d=_t(f),v=S.find(d).filter(y=>y===this._element);null!==d&&v.length&&(this._selector=d,this._triggerArray.push(f))}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return Zt}static get NAME(){return Jt}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let e,t=[];if(this._config.parent){const f=S.find(xt,this._config.parent);t=S.find(".collapse.show, .collapse.collapsing",this._config.parent).filter(d=>!f.includes(d))}const o=S.findOne(this._selector);if(t.length){const f=t.find(d=>o!==d);if(e=f?je.getInstance(f):null,e&&e._isTransitioning)return}if(p.trigger(this._element,"show.bs.collapse").defaultPrevented)return;t.forEach(f=>{o!==f&&je.getOrCreateInstance(f,{toggle:!1}).hide(),e||$e.set(f,"bs.collapse",null)});const r=this._getDimension();this._element.classList.remove(ct),this._element.classList.add(Ze),this._element.style[r]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const a=`scroll${r[0].toUpperCase()+r.slice(1)}`;this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(Ze),this._element.classList.add(ct,Ct),this._element.style[r]="",p.trigger(this._element,"shown.bs.collapse")},this._element,!0),this._element.style[r]=`${this._element[a]}px`}hide(){if(this._isTransitioning||!this._isShown()||p.trigger(this._element,"hide.bs.collapse").defaultPrevented)return;const e=this._getDimension();this._element.style[e]=`${this._element.getBoundingClientRect()[e]}px`,this._element.classList.add(Ze),this._element.classList.remove(ct,Ct);const t=this._triggerArray.length;for(let o=0;o<t;o++){const r=this._triggerArray[o],a=Te(r);a&&!this._isShown(a)&&this._addAriaAndCollapsedClass([r],!1)}this._isTransitioning=!0,this._element.style[e]="",this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(Ze),this._element.classList.add(ct),p.trigger(this._element,"hidden.bs.collapse")},this._element,!0)}_isShown(e=this._element){return e.classList.contains(Ct)}_getConfig(e){return(e={...Zt,...U.getDataAttributes(this._element),...e}).toggle=Boolean(e.toggle),e.parent=_e(e.parent),K(Jt,e,ei),e}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(!this._config.parent)return;const e=S.find(xt,this._config.parent);S.find(et,this._config.parent).filter(t=>!e.includes(t)).forEach(t=>{const o=Te(t);o&&this._addAriaAndCollapsedClass([t],this._isShown(o))})}_addAriaAndCollapsedClass(e,t){e.length&&e.forEach(o=>{t?o.classList.remove(ft):o.classList.add(ft),o.setAttribute("aria-expanded",t)})}static jQueryInterface(e){return this.each(function(){const t={};"string"==typeof e&&/show|hide/.test(e)&&(t.toggle=!1);const o=je.getOrCreateInstance(this,t);if("string"==typeof e){if(void 0===o[e])throw new TypeError(`No method named "${e}"`);o[e]()}})}}p.on(document,"click.bs.collapse.data-api",et,function(i){("A"===i.target.tagName||i.delegateTarget&&"A"===i.delegateTarget.tagName)&&i.preventDefault();const e=_t(this);S.find(e).forEach(t=>{je.getOrCreateInstance(t,{toggle:!1}).toggle()})}),G(je);var Z="top",oe="bottom",re="right",ee="left",ht="auto",qe=[Z,oe,re,ee],Be="start",Ve="end",ti="clippingParents",Lt="viewport",Ee="popper",n="reference",s=qe.reduce(function(i,e){return i.concat([e+"-"+Be,e+"-"+Ve])},[]),l=[].concat(qe,[ht]).reduce(function(i,e){return i.concat([e,e+"-"+Be,e+"-"+Ve])},[]),c="beforeRead",u="read",h="afterRead",m="beforeMain",g="main",b="afterMain",O="beforeWrite",T="write",E="afterWrite",N=[c,u,h,m,g,b,O,T,E];function A(i){return i?(i.nodeName||"").toLowerCase():null}function C(i){if(null==i)return window;if("[object Window]"!==i.toString()){var e=i.ownerDocument;return e&&e.defaultView||window}return i}function F(i){return i instanceof C(i).Element||i instanceof Element}function q(i){return i instanceof C(i).HTMLElement||i instanceof HTMLElement}function Oe(i){return typeof ShadowRoot<"u"&&(i instanceof C(i).ShadowRoot||i instanceof ShadowRoot)}const te={name:"applyStyles",enabled:!0,phase:"write",fn:function(i){var e=i.state;Object.keys(e.elements).forEach(function(t){var o=e.styles[t]||{},r=e.attributes[t]||{},a=e.elements[t];q(a)&&A(a)&&(Object.assign(a.style,o),Object.keys(r).forEach(function(f){var d=r[f];!1===d?a.removeAttribute(f):a.setAttribute(f,!0===d?"":d)}))})},effect:function(i){var e=i.state,t={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,t.popper),e.styles=t,e.elements.arrow&&Object.assign(e.elements.arrow.style,t.arrow),function(){Object.keys(e.elements).forEach(function(o){var r=e.elements[o],a=e.attributes[o]||{},f=Object.keys(e.styles.hasOwnProperty(o)?e.styles[o]:t[o]).reduce(function(d,v){return d[v]="",d},{});q(r)&&A(r)&&(Object.assign(r.style,f),Object.keys(a).forEach(function(d){r.removeAttribute(d)}))})}},requires:["computeStyles"]};function X(i){return i.split("-")[0]}function Ue(i,e){var t=i.getBoundingClientRect();return{width:t.width/1,height:t.height/1,top:t.top/1,right:t.right/1,bottom:t.bottom/1,left:t.left/1,x:t.left/1,y:t.top/1}}function ut(i){var e=Ue(i),t=i.offsetWidth,o=i.offsetHeight;return Math.abs(e.width-t)<=1&&(t=e.width),Math.abs(e.height-o)<=1&&(o=e.height),{x:i.offsetLeft,y:i.offsetTop,width:t,height:o}}function Pi(i,e){var t=e.getRootNode&&e.getRootNode();if(i.contains(e))return!0;if(t&&Oe(t)){var o=e;do{if(o&&i.isSameNode(o))return!0;o=o.parentNode||o.host}while(o)}return!1}function He(i){return C(i).getComputedStyle(i)}function Qn(i){return["table","td","th"].indexOf(A(i))>=0}function Ye(i){return((F(i)?i.ownerDocument:i.document)||window.document).documentElement}function ii(i){return"html"===A(i)?i:i.assignedSlot||i.parentNode||(Oe(i)?i.host:null)||Ye(i)}function Ii(i){return q(i)&&"fixed"!==He(i).position?i.offsetParent:null}function St(i){for(var e=C(i),t=Ii(i);t&&Qn(t)&&"static"===He(t).position;)t=Ii(t);return t&&("html"===A(t)||"body"===A(t)&&"static"===He(t).position)?e:t||function(o){var r=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&q(o)&&"fixed"===He(o).position)return null;for(var a=ii(o);q(a)&&["html","body"].indexOf(A(a))<0;){var f=He(a);if("none"!==f.transform||"none"!==f.perspective||"paint"===f.contain||-1!==["transform","perspective"].indexOf(f.willChange)||r&&"filter"===f.willChange||r&&f.filter&&"none"!==f.filter)return a;a=a.parentNode}return null}(i)||e}function mi(i){return["top","bottom"].indexOf(i)>=0?"x":"y"}var Ke=Math.max,kt=Math.min,ni=Math.round;function oi(i,e,t){return Ke(i,kt(e,t))}function Mi(i){return Object.assign({},{top:0,right:0,bottom:0,left:0},i)}function ji(i,e){return e.reduce(function(t,o){return t[o]=i,t},{})}const Bi={name:"arrow",enabled:!0,phase:"main",fn:function(i){var e,W,z,t=i.state,o=i.name,r=i.options,a=t.elements.arrow,f=t.modifiersData.popperOffsets,d=X(t.placement),v=mi(d),y=[ee,re].indexOf(d)>=0?"height":"width";if(a&&f){var w=(z=t,Mi("number"!=typeof(W="function"==typeof(W=r.padding)?W(Object.assign({},z.rects,{placement:z.placement})):W)?W:ji(W,qe))),_=ut(a),I="y"===v?Z:ee,x="y"===v?oe:re,L=t.rects.reference[y]+t.rects.reference[v]-f[v]-t.rects.popper[y],D=f[v]-t.rects.reference[v],k=St(a),$=k?"y"===v?k.clientHeight||0:k.clientWidth||0:0,M=$/2-_[y]/2+(L/2-D/2),j=oi(w[I],M,$-_[y]-w[x]);t.modifiersData[o]=((e={})[v]=j,e.centerOffset=j-M,e)}},effect:function(i){var e=i.state,t=i.options.element,o=void 0===t?"[data-popper-arrow]":t;null!=o&&("string"!=typeof o||(o=e.elements.popper.querySelector(o)))&&Pi(e.elements.popper,o)&&(e.elements.arrow=o)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function dt(i){return i.split("-")[1]}var Gn={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Hi(i){var e,ie,ge,Y,t=i.popper,o=i.popperRect,r=i.placement,a=i.variation,f=i.offsets,d=i.position,v=i.gpuAcceleration,y=i.adaptive,w=i.roundOffsets,_=!0===w?(ge=(ie=f).y,Y=window.devicePixelRatio||1,{x:ni(ni(ie.x*Y)/Y)||0,y:ni(ni(ge*Y)/Y)||0}):"function"==typeof w?w(f):f,I=_.x,x=void 0===I?0:I,L=_.y,D=void 0===L?0:L,k=f.hasOwnProperty("x"),$=f.hasOwnProperty("y"),B=ee,P=Z,H=window;if(y){var M=St(t),j="clientHeight",R="clientWidth";M===C(t)&&"static"!==He(M=Ye(t)).position&&"absolute"===d&&(j="scrollHeight",R="scrollWidth"),r!==Z&&(r!==ee&&r!==re||a!==Ve)||(P=oe,D-=M[j]-o.height,D*=v?1:-1),r!==ee&&(r!==Z&&r!==oe||a!==Ve)||(B=re,x-=M[R]-o.width,x*=v?1:-1)}var W,z=Object.assign({position:d},y&&Gn);return Object.assign({},z,v?((W={})[P]=$?"0":"",W[B]=k?"0":"",W.transform=(H.devicePixelRatio||1)<=1?"translate("+x+"px, "+D+"px)":"translate3d("+x+"px, "+D+"px, 0)",W):((e={})[P]=$?D+"px":"",e[B]=k?x+"px":"",e.transform="",e))}const gi={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(i){var e=i.state,t=i.options,o=t.gpuAcceleration,r=void 0===o||o,a=t.adaptive,f=void 0===a||a,d=t.roundOffsets,v=void 0===d||d,y={placement:X(e.placement),variation:dt(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:r};null!=e.modifiersData.popperOffsets&&(e.styles.popper=Object.assign({},e.styles.popper,Hi(Object.assign({},y,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:f,roundOffsets:v})))),null!=e.modifiersData.arrow&&(e.styles.arrow=Object.assign({},e.styles.arrow,Hi(Object.assign({},y,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:v})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})},data:{}};var ri={passive:!0};const vi={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(i){var e=i.state,t=i.instance,o=i.options,r=o.scroll,a=void 0===r||r,f=o.resize,d=void 0===f||f,v=C(e.elements.popper),y=[].concat(e.scrollParents.reference,e.scrollParents.popper);return a&&y.forEach(function(w){w.addEventListener("scroll",t.update,ri)}),d&&v.addEventListener("resize",t.update,ri),function(){a&&y.forEach(function(w){w.removeEventListener("scroll",t.update,ri)}),d&&v.removeEventListener("resize",t.update,ri)}},data:{}};var Jn={left:"right",right:"left",bottom:"top",top:"bottom"};function si(i){return i.replace(/left|right|bottom|top/g,function(e){return Jn[e]})}var Zn={start:"end",end:"start"};function Ri(i){return i.replace(/start|end/g,function(e){return Zn[e]})}function _i(i){var e=C(i);return{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function bi(i){return Ue(Ye(i)).left+_i(i).scrollLeft}function yi(i){var e=He(i);return/auto|scroll|overlay|hidden/.test(e.overflow+e.overflowY+e.overflowX)}function Wi(i){return["html","body","#document"].indexOf(A(i))>=0?i.ownerDocument.body:q(i)&&yi(i)?i:Wi(ii(i))}function Dt(i,e){var t;void 0===e&&(e=[]);var o=Wi(i),r=o===(null==(t=i.ownerDocument)?void 0:t.body),a=C(o),f=r?[a].concat(a.visualViewport||[],yi(o)?o:[]):o,d=e.concat(f);return r?d:d.concat(Dt(ii(f)))}function wi(i){return Object.assign({},i,{left:i.x,top:i.y,right:i.x+i.width,bottom:i.y+i.height})}function Fi(i,e){return e===Lt?wi((o=C(t=i),f=(r=Ye(t)).clientWidth,d=r.clientHeight,v=0,y=0,(a=o.visualViewport)&&(f=a.width,d=a.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(v=a.offsetLeft,y=a.offsetTop)),{width:f,height:d,x:v+bi(t),y})):q(e)?function(t){var o=Ue(t);return o.top=o.top+t.clientTop,o.left=o.left+t.clientLeft,o.bottom=o.top+t.clientHeight,o.right=o.left+t.clientWidth,o.width=t.clientWidth,o.height=t.clientHeight,o.x=o.left,o.y=o.top,o}(e):wi(function(t){var o,r=Ye(t),a=_i(t),f=null==(o=t.ownerDocument)?void 0:o.body,d=Ke(r.scrollWidth,r.clientWidth,f?f.scrollWidth:0,f?f.clientWidth:0),v=Ke(r.scrollHeight,r.clientHeight,f?f.scrollHeight:0,f?f.clientHeight:0),y=-a.scrollLeft+bi(t),w=-a.scrollTop;return"rtl"===He(f||r).direction&&(y+=Ke(r.clientWidth,f?f.clientWidth:0)-d),{width:d,height:v,x:y,y:w}}(Ye(i)));var t,o,r,a,f,d,v,y}function $i(i){var e,t=i.reference,o=i.element,r=i.placement,a=r?X(r):null,f=r?dt(r):null,d=t.x+t.width/2-o.width/2,v=t.y+t.height/2-o.height/2;switch(a){case Z:e={x:d,y:t.y-o.height};break;case oe:e={x:d,y:t.y+t.height};break;case re:e={x:t.x+t.width,y:v};break;case ee:e={x:t.x-o.width,y:v};break;default:e={x:t.x,y:t.y}}var y=a?mi(a):null;if(null!=y){var w="y"===y?"height":"width";switch(f){case Be:e[y]=e[y]-(t[w]/2-o[w]/2);break;case Ve:e[y]=e[y]+(t[w]/2-o[w]/2)}}return e}function pt(i,e){void 0===e&&(e={});var se,ge,Y,V,ot,fe,nt,Re,ne,o=e.placement,r=void 0===o?i.placement:o,a=e.boundary,f=void 0===a?ti:a,d=e.rootBoundary,v=void 0===d?Lt:d,y=e.elementContext,w=void 0===y?Ee:y,_=e.altBoundary,I=void 0!==_&&_,x=e.padding,L=void 0===x?0:x,D=Mi("number"!=typeof L?L:ji(L,qe)),$=i.rects.popper,B=i.elements[I?w===Ee?n:Ee:w],P=(se=F(B)?B:B.contextElement||Ye(i.elements.popper),Y=v,nt="clippingParents"===(ge=f)?(ot=Dt(ii(V=se)),F(fe=["absolute","fixed"].indexOf(He(V).position)>=0&&q(V)?St(V):V)?ot.filter(function(ae){return F(ae)&&Pi(ae,fe)&&"body"!==A(ae)}):[]):[].concat(ge),ne=(Re=[].concat(nt,[Y])).reduce(function(V,ot){var fe=Fi(se,ot);return V.top=Ke(fe.top,V.top),V.right=kt(fe.right,V.right),V.bottom=kt(fe.bottom,V.bottom),V.left=Ke(fe.left,V.left),V},Fi(se,Re[0])),ne.width=ne.right-ne.left,ne.height=ne.bottom-ne.top,ne.x=ne.left,ne.y=ne.top,ne),H=Ue(i.elements.reference),M=$i({reference:H,element:$,strategy:"absolute",placement:r}),j=wi(Object.assign({},$,M)),R=w===Ee?j:H,W={top:P.top-R.top+D.top,bottom:R.bottom-P.bottom+D.bottom,left:P.left-R.left+D.left,right:R.right-P.right+D.right},z=i.modifiersData.offset;if(w===Ee&&z){var ie=z[r];Object.keys(W).forEach(function(se){var ge=[re,oe].indexOf(se)>=0?1:-1,Y=[Z,oe].indexOf(se)>=0?"y":"x";W[se]+=ie[Y]*ge})}return W}const zi={name:"flip",enabled:!0,phase:"main",fn:function(i){var e=i.state,t=i.options,o=i.name;if(!e.modifiersData[o]._skip){for(var r=t.mainAxis,a=void 0===r||r,f=t.altAxis,d=void 0===f||f,v=t.fallbackPlacements,y=t.padding,w=t.boundary,_=t.rootBoundary,I=t.altBoundary,x=t.flipVariations,L=void 0===x||x,D=t.allowedAutoPlacements,k=e.options.placement,$=X(k),B=v||($!==k&&L?function(ae){if(X(ae)===ht)return[];var ve=si(ae);return[Ri(ae),ve,Ri(ve)]}(k):[si(k)]),P=[k].concat(B).reduce(function(ae,ve){return ae.concat(X(ve)===ht?function eo(i,e){void 0===e&&(e={});var r=e.boundary,a=e.rootBoundary,f=e.padding,d=e.flipVariations,v=e.allowedAutoPlacements,y=void 0===v?l:v,w=dt(e.placement),_=w?d?s:s.filter(function(L){return dt(L)===w}):qe,I=_.filter(function(L){return y.indexOf(L)>=0});0===I.length&&(I=_);var x=I.reduce(function(L,D){return L[D]=pt(i,{placement:D,boundary:r,rootBoundary:a,padding:f})[X(D)],L},{});return Object.keys(x).sort(function(L,D){return x[L]-x[D]})}(e,{placement:ve,boundary:w,rootBoundary:_,padding:y,flipVariations:L,allowedAutoPlacements:D}):ve)},[]),H=e.rects.reference,M=e.rects.popper,j=new Map,R=!0,W=P[0],z=0;z<P.length;z++){var ie=P[z],se=X(ie),ge=dt(ie)===Be,Y=[Z,oe].indexOf(se)>=0,nt=Y?"width":"height",Re=pt(e,{placement:ie,boundary:w,rootBoundary:_,altBoundary:I,padding:y}),We=Y?ge?re:ee:ge?oe:Z;H[nt]>M[nt]&&(We=si(We));var ne=si(We),V=[];if(a&&V.push(Re[se]<=0),d&&V.push(Re[We]<=0,Re[ne]<=0),V.every(function(ae){return ae})){W=ie,R=!1;break}j.set(ie,V)}if(R)for(var ot=function(ae){var ve=P.find(function(ui){var Wt=j.get(ui);if(Wt)return Wt.slice(0,ae).every(function(vt){return vt})});if(ve)return W=ve,"break"},fe=L?3:1;fe>0&&"break"!==ot(fe);fe--);e.placement!==W&&(e.modifiersData[o]._skip=!0,e.placement=W,e.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function qi(i,e,t){return void 0===t&&(t={x:0,y:0}),{top:i.top-e.height-t.y,right:i.right-e.width+t.x,bottom:i.bottom-e.height+t.y,left:i.left-e.width-t.x}}function Vi(i){return[Z,re,oe,ee].some(function(e){return i[e]>=0})}const Ui={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(i){var e=i.state,t=i.name,o=e.rects.reference,r=e.rects.popper,a=e.modifiersData.preventOverflow,f=pt(e,{elementContext:"reference"}),d=pt(e,{altBoundary:!0}),v=qi(f,o),y=qi(d,r,a),w=Vi(v),_=Vi(y);e.modifiersData[t]={referenceClippingOffsets:v,popperEscapeOffsets:y,isReferenceHidden:w,hasPopperEscaped:_},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":w,"data-popper-escaped":_})}},Yi={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(i){var e=i.state,o=i.name,r=i.options.offset,a=void 0===r?[0,0]:r,f=l.reduce(function(w,_){return w[_]=(x=e.rects,L=a,D=X(I=_),k=[ee,Z].indexOf(D)>=0?-1:1,B=(B=($="function"==typeof L?L(Object.assign({},x,{placement:I})):L)[0])||0,P=((P=$[1])||0)*k,[ee,re].indexOf(D)>=0?{x:P,y:B}:{x:B,y:P}),w;var I,x,L,D,k,$,B,P},{}),d=f[e.placement],y=d.y;null!=e.modifiersData.popperOffsets&&(e.modifiersData.popperOffsets.x+=d.x,e.modifiersData.popperOffsets.y+=y),e.modifiersData[o]=f}},Ei={name:"popperOffsets",enabled:!0,phase:"read",fn:function(i){var e=i.state;e.modifiersData[i.name]=$i({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})},data:{}},Ki={name:"preventOverflow",enabled:!0,phase:"main",fn:function(i){var e=i.state,t=i.options,o=i.name,r=t.mainAxis,a=void 0===r||r,f=t.altAxis,d=void 0!==f&&f,I=t.tether,x=void 0===I||I,L=t.tetherOffset,D=void 0===L?0:L,k=pt(e,{boundary:t.boundary,rootBoundary:t.rootBoundary,padding:t.padding,altBoundary:t.altBoundary}),$=X(e.placement),B=dt(e.placement),P=!B,H=mi($),M="x"===H?"y":"x",j=e.modifiersData.popperOffsets,R=e.rects.reference,W=e.rects.popper,z="function"==typeof D?D(Object.assign({},e.rects,{placement:e.placement})):D,ie={x:0,y:0};if(j){if(a||d){var se="y"===H?Z:ee,ge="y"===H?oe:re,Y="y"===H?"height":"width",nt=j[H],Re=j[H]+k[se],We=j[H]-k[ge],ne=x?-W[Y]/2:0,V=B===Be?R[Y]:W[Y],ot=B===Be?-W[Y]:-R[Y],fe=e.elements.arrow,ae=x&&fe?ut(fe):{width:0,height:0},ve=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},ui=ve[se],Wt=ve[ge],vt=oi(0,R[Y],ae[Y]),Mo=P?R[Y]/2-ne-vt-ui-z:V-vt-ui-z,jo=P?-R[Y]/2+ne+vt+Wt+z:ot+vt+Wt+z,Ni=e.elements.arrow&&St(e.elements.arrow),zn=e.modifiersData.offset?e.modifiersData.offset[e.placement][H]:0,qn=j[H]+Mo-zn-(Ni?"y"===H?Ni.clientTop||0:Ni.clientLeft||0:0),Vn=j[H]+jo-zn;if(a){var Un=oi(x?kt(Re,qn):Re,nt,x?Ke(We,Vn):We);j[H]=Un,ie[H]=Un-nt}if(d){var di=j[M],Yn=di+k["x"===H?Z:ee],Kn=di-k["x"===H?oe:re],Xn=oi(x?kt(Yn,qn):Yn,di,x?Ke(Kn,Vn):Kn);j[M]=Xn,ie[M]=Xn-di}}e.modifiersData[o]=ie}},requiresIfExists:["offset"]};function to(i,e,t){void 0===t&&(t=!1);var o=q(e);q(e)&&e.getBoundingClientRect();var r,a,f=Ye(e),d=Ue(i),v={scrollLeft:0,scrollTop:0},y={x:0,y:0};return(o||!o&&!t)&&(("body"!==A(e)||yi(f))&&(v=(r=e)!==C(r)&&q(r)?{scrollLeft:(a=r).scrollLeft,scrollTop:a.scrollTop}:_i(r)),q(e)?((y=Ue(e)).x+=e.clientLeft,y.y+=e.clientTop):f&&(y.x=bi(f))),{x:d.left+v.scrollLeft-y.x,y:d.top+v.scrollTop-y.y,width:d.width,height:d.height}}function io(i){var e=new Map,t=new Set,o=[];function r(a){t.add(a.name),[].concat(a.requires||[],a.requiresIfExists||[]).forEach(function(f){if(!t.has(f)){var d=e.get(f);d&&r(d)}}),o.push(a)}return i.forEach(function(a){e.set(a.name,a)}),i.forEach(function(a){t.has(a.name)||r(a)}),o}var Xi={placement:"bottom",modifiers:[],strategy:"absolute"};function Qi(){for(var i=arguments.length,e=new Array(i),t=0;t<i;t++)e[t]=arguments[t];return!e.some(function(o){return!(o&&"function"==typeof o.getBoundingClientRect)})}function ai(i){void 0===i&&(i={});var t=i.defaultModifiers,o=void 0===t?[]:t,r=i.defaultOptions,a=void 0===r?Xi:r;return function(f,d,v){void 0===v&&(v=a);var y,w,_={placement:"bottom",orderedModifiers:[],options:Object.assign({},Xi,a),modifiersData:{},elements:{reference:f,popper:d},attributes:{},styles:{}},I=[],x=!1,L={state:_,setOptions:function(k){var $="function"==typeof k?k(_.options):k;D(),_.options=Object.assign({},a,_.options,$),_.scrollParents={reference:F(f)?Dt(f):f.contextElement?Dt(f.contextElement):[],popper:Dt(d)};var B,P,M,j,H=(B=[].concat(o,_.options.modifiers),P=B.reduce(function(M,j){var R=M[j.name];return M[j.name]=R?Object.assign({},R,j,{options:Object.assign({},R.options,j.options),data:Object.assign({},R.data,j.data)}):j,M},{}),M=Object.keys(P).map(function(M){return P[M]}),j=io(M),N.reduce(function(R,W){return R.concat(j.filter(function(z){return z.phase===W}))},[]));return _.orderedModifiers=H.filter(function(M){return M.enabled}),_.orderedModifiers.forEach(function(M){var R=M.options,z=M.effect;if("function"==typeof z){var ie=z({state:_,name:M.name,instance:L,options:void 0===R?{}:R});I.push(ie||function(){})}}),L.update()},forceUpdate:function(){if(!x){var k=_.elements,$=k.reference,B=k.popper;if(Qi($,B)){_.rects={reference:to($,St(B),"fixed"===_.options.strategy),popper:ut(B)},_.reset=!1,_.placement=_.options.placement,_.orderedModifiers.forEach(function(z){return _.modifiersData[z.name]=Object.assign({},z.data)});for(var P=0;P<_.orderedModifiers.length;P++)if(!0!==_.reset){var H=_.orderedModifiers[P],M=H.fn,j=H.options;"function"==typeof M&&(_=M({state:_,options:void 0===j?{}:j,name:H.name,instance:L})||_)}else _.reset=!1,P=-1}}},update:(y=function(){return new Promise(function(k){L.forceUpdate(),k(_)})},function(){return w||(w=new Promise(function(k){Promise.resolve().then(function(){w=void 0,k(y())})})),w}),destroy:function(){D(),x=!0}};if(!Qi(f,d))return L;function D(){I.forEach(function(k){return k()}),I=[]}return L.setOptions(v).then(function(k){!x&&v.onFirstUpdate&&v.onFirstUpdate(k)}),L}}var no=ai(),oo=ai({defaultModifiers:[vi,Ei,gi,te]}),Oi=ai({defaultModifiers:[vi,Ei,gi,te,Yi,zi,Ki,Bi,Ui]});const Gi=Object.freeze({__proto__:null,popperGenerator:ai,detectOverflow:pt,createPopperBase:no,createPopper:Oi,createPopperLite:oo,top:Z,bottom:oe,right:re,left:ee,auto:ht,basePlacements:qe,start:Be,end:Ve,clippingParents:ti,viewport:Lt,popper:Ee,reference:n,variationPlacements:s,placements:l,beforeRead:c,read:u,afterRead:h,beforeMain:m,main:g,afterMain:b,beforeWrite:O,write:T,afterWrite:E,modifierPhases:N,applyStyles:te,arrow:Bi,computeStyles:gi,eventListeners:vi,flip:zi,hide:Ui,offset:Yi,popperOffsets:Ei,preventOverflow:Ki}),Ti="dropdown",Ai="Escape",Zi="ArrowUp",Ci="ArrowDown",ro=new RegExp("ArrowUp|ArrowDown|Escape"),en="click.bs.dropdown.data-api",tn="keydown.bs.dropdown.data-api",mt="show",Nt='[data-bs-toggle="dropdown"]',xi=".dropdown-menu",so=Q()?"top-end":"top-start",ao=Q()?"top-start":"top-end",lo=Q()?"bottom-end":"bottom-start",co=Q()?"bottom-start":"bottom-end",fo=Q()?"left-start":"right-start",ho=Q()?"right-start":"left-start",uo={offset:[0,2],boundary:"clippingParents",reference:"toggle",display:"dynamic",popperConfig:null,autoClose:!0},po={offset:"(array|string|function)",boundary:"(string|element)",reference:"(string|element|object)",display:"string",popperConfig:"(null|object|function)",autoClose:"(boolean|string)"};class ue extends J{constructor(e,t){super(e),this._popper=null,this._config=this._getConfig(t),this._menu=this._getMenuElement(),this._inNavbar=this._detectNavbar()}static get Default(){return uo}static get DefaultType(){return po}static get NAME(){return Ti}toggle(){return this._isShown()?this.hide():this.show()}show(){if(he(this._element)||this._isShown(this._menu))return;const e={relatedTarget:this._element};if(p.trigger(this._element,"show.bs.dropdown",e).defaultPrevented)return;const t=ue.getParentFromElement(this._element);this._inNavbar?U.setDataAttribute(this._menu,"popper","none"):this._createPopper(t),"ontouchstart"in document.documentElement&&!t.closest(".navbar-nav")&&[].concat(...document.body.children).forEach(o=>p.on(o,"mouseover",Qe)),this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(mt),this._element.classList.add(mt),p.trigger(this._element,"shown.bs.dropdown",e)}hide(){!he(this._element)&&this._isShown(this._menu)&&this._completeHide({relatedTarget:this._element})}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(e){p.trigger(this._element,"hide.bs.dropdown",e).defaultPrevented||("ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach(t=>p.off(t,"mouseover",Qe)),this._popper&&this._popper.destroy(),this._menu.classList.remove(mt),this._element.classList.remove(mt),this._element.setAttribute("aria-expanded","false"),U.removeDataAttribute(this._menu,"popper"),p.trigger(this._element,"hidden.bs.dropdown",e))}_getConfig(e){if(e={...this.constructor.Default,...U.getDataAttributes(this._element),...e},K(Ti,e,this.constructor.DefaultType),"object"==typeof e.reference&&!Ce(e.reference)&&"function"!=typeof e.reference.getBoundingClientRect)throw new TypeError(`${Ti.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return e}_createPopper(e){if(void 0===Gi)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let t=this._element;"parent"===this._config.reference?t=e:Ce(this._config.reference)?t=_e(this._config.reference):"object"==typeof this._config.reference&&(t=this._config.reference);const o=this._getPopperConfig(),r=o.modifiers.find(a=>"applyStyles"===a.name&&!1===a.enabled);this._popper=Oi(t,this._menu,o),r&&U.setDataAttribute(this._menu,"popper","static")}_isShown(e=this._element){return e.classList.contains(mt)}_getMenuElement(){return S.next(this._element,xi)[0]}_getPlacement(){const e=this._element.parentNode;if(e.classList.contains("dropend"))return fo;if(e.classList.contains("dropstart"))return ho;const t="end"===getComputedStyle(this._menu).getPropertyValue("--bs-position").trim();return e.classList.contains("dropup")?t?ao:so:t?co:lo}_detectNavbar(){return null!==this._element.closest(".navbar")}_getOffset(){const{offset:e}=this._config;return"string"==typeof e?e.split(",").map(t=>Number.parseInt(t,10)):"function"==typeof e?t=>e(t,this._element):e}_getPopperConfig(){const e={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return"static"===this._config.display&&(e.modifiers=[{name:"applyStyles",enabled:!1}]),{...e,..."function"==typeof this._config.popperConfig?this._config.popperConfig(e):this._config.popperConfig}}_selectMenuItem({key:e,target:t}){const o=S.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter(xe);o.length&&$t(o,t,e===Ci,!o.includes(t)).focus()}static jQueryInterface(e){return this.each(function(){const t=ue.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}})}static clearMenus(e){if(e&&(2===e.button||"keyup"===e.type&&"Tab"!==e.key))return;const t=S.find(Nt);for(let o=0,r=t.length;o<r;o++){const a=ue.getInstance(t[o]);if(!a||!1===a._config.autoClose||!a._isShown())continue;const f={relatedTarget:a._element};if(e){const d=e.composedPath(),v=d.includes(a._menu);if(d.includes(a._element)||"inside"===a._config.autoClose&&!v||"outside"===a._config.autoClose&&v||a._menu.contains(e.target)&&("keyup"===e.type&&"Tab"===e.key||/input|select|option|textarea|form/i.test(e.target.tagName)))continue;"click"===e.type&&(f.clickEvent=e)}a._completeHide(f)}}static getParentFromElement(e){return Te(e)||e.parentNode}static dataApiKeydownHandler(e){if(/input|textarea/i.test(e.target.tagName)?"Space"===e.key||e.key!==Ai&&(e.key!==Ci&&e.key!==Zi||e.target.closest(xi)):!ro.test(e.key))return;const t=this.classList.contains(mt);if(!t&&e.key===Ai||(e.preventDefault(),e.stopPropagation(),he(this)))return;const o=this.matches(Nt)?this:S.prev(this,Nt)[0],r=ue.getOrCreateInstance(o);if(e.key!==Ai)return e.key===Zi||e.key===Ci?(t||r.show(),void r._selectMenuItem(e)):void(t&&"Space"!==e.key||ue.clearMenus());r.hide()}}p.on(document,tn,Nt,ue.dataApiKeydownHandler),p.on(document,tn,xi,ue.dataApiKeydownHandler),p.on(document,en,ue.clearMenus),p.on(document,"keyup.bs.dropdown.data-api",ue.clearMenus),p.on(document,en,Nt,function(i){i.preventDefault(),ue.getOrCreateInstance(this).toggle()}),G(ue);const nn=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",on=".sticky-top";class Li{constructor(){this._element=document.body}getWidth(){const e=document.documentElement.clientWidth;return Math.abs(window.innerWidth-e)}hide(){const e=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,"paddingRight",t=>t+e),this._setElementAttributes(nn,"paddingRight",t=>t+e),this._setElementAttributes(on,"marginRight",t=>t-e)}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(e,t,o){const r=this.getWidth();this._applyManipulationCallback(e,a=>{if(a!==this._element&&window.innerWidth>a.clientWidth+r)return;this._saveInitialAttribute(a,t);const f=window.getComputedStyle(a)[t];a.style[t]=`${o(Number.parseFloat(f))}px`})}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,"paddingRight"),this._resetElementAttributes(nn,"paddingRight"),this._resetElementAttributes(on,"marginRight")}_saveInitialAttribute(e,t){const o=e.style[t];o&&U.setDataAttribute(e,t,o)}_resetElementAttributes(e,t){this._applyManipulationCallback(e,o=>{const r=U.getDataAttribute(o,t);void 0===r?o.style.removeProperty(t):(U.removeDataAttribute(o,t),o.style[t]=r)})}_applyManipulationCallback(e,t){Ce(e)?t(e):S.find(e,this._element).forEach(t)}isOverflowing(){return this.getWidth()>0}}const mo={className:"modal-backdrop",isVisible:!0,isAnimated:!1,rootElement:"body",clickCallback:null},go={className:"string",isVisible:"boolean",isAnimated:"boolean",rootElement:"(element|string)",clickCallback:"(function|null)"},sn="mousedown.bs.backdrop";class an{constructor(e){this._config=this._getConfig(e),this._isAppended=!1,this._element=null}show(e){this._config.isVisible?(this._append(),this._config.isAnimated&&this._getElement(),this._getElement().classList.add("show"),this._emulateAnimation(()=>{pe(e)})):pe(e)}hide(e){this._config.isVisible?(this._getElement().classList.remove("show"),this._emulateAnimation(()=>{this.dispose(),pe(e)})):pe(e)}_getElement(){if(!this._element){const e=document.createElement("div");e.className=this._config.className,this._config.isAnimated&&e.classList.add("fade"),this._element=e}return this._element}_getConfig(e){return(e={...mo,..."object"==typeof e?e:{}}).rootElement=_e(e.rootElement),K("backdrop",e,go),e}_append(){this._isAppended||(this._config.rootElement.append(this._getElement()),p.on(this._getElement(),sn,()=>{pe(this._config.clickCallback)}),this._isAppended=!0)}dispose(){this._isAppended&&(p.off(this._element,sn),this._element.remove(),this._isAppended=!1)}_emulateAnimation(e){ke(e,this._getElement(),this._config.isAnimated)}}const vo={trapElement:null,autofocus:!0},_o={trapElement:"element",autofocus:"boolean"},ln=".bs.focustrap",cn="backward";class fn{constructor(e){this._config=this._getConfig(e),this._isActive=!1,this._lastTabNavDirection=null}activate(){const{trapElement:e,autofocus:t}=this._config;this._isActive||(t&&e.focus(),p.off(document,ln),p.on(document,"focusin.bs.focustrap",o=>this._handleFocusin(o)),p.on(document,"keydown.tab.bs.focustrap",o=>this._handleKeydown(o)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,p.off(document,ln))}_handleFocusin(e){const{target:t}=e,{trapElement:o}=this._config;if(t===document||t===o||o.contains(t))return;const r=S.focusableChildren(o);0===r.length?o.focus():this._lastTabNavDirection===cn?r[r.length-1].focus():r[0].focus()}_handleKeydown(e){"Tab"===e.key&&(this._lastTabNavDirection=e.shiftKey?cn:"forward")}_getConfig(e){return e={...vo,..."object"==typeof e?e:{}},K("focustrap",e,_o),e}}const dn={backdrop:!0,keyboard:!0,focus:!0},bo={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean"},pn="hidden.bs.modal",mn="show.bs.modal",gn="resize.bs.modal",vn="click.dismiss.bs.modal",_n="keydown.dismiss.bs.modal",bn="mousedown.dismiss.bs.modal",yn="modal-open",Si="modal-static";class tt extends J{constructor(e,t){super(e),this._config=this._getConfig(t),this._dialog=S.findOne(".modal-dialog",this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._ignoreBackdropClick=!1,this._isTransitioning=!1,this._scrollBar=new Li}static get Default(){return dn}static get NAME(){return"modal"}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||this._isTransitioning||p.trigger(this._element,mn,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._isAnimated()&&(this._isTransitioning=!0),this._scrollBar.hide(),document.body.classList.add(yn),this._adjustDialog(),this._setEscapeEvent(),this._setResizeEvent(),p.on(this._dialog,bn,()=>{p.one(this._element,"mouseup.dismiss.bs.modal",t=>{t.target===this._element&&(this._ignoreBackdropClick=!0)})}),this._showBackdrop(()=>this._showElement(e)))}hide(){if(!this._isShown||this._isTransitioning||p.trigger(this._element,"hide.bs.modal").defaultPrevented)return;this._isShown=!1;const e=this._isAnimated();e&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),this._focustrap.deactivate(),this._element.classList.remove("show"),p.off(this._element,vn),p.off(this._dialog,bn),this._queueCallback(()=>this._hideModal(),this._element,e)}dispose(){[window,this._dialog].forEach(e=>p.off(e,".bs.modal")),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new an({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new fn({trapElement:this._element})}_getConfig(e){return e={...dn,...U.getDataAttributes(this._element),..."object"==typeof e?e:{}},K("modal",e,bo),e}_showElement(e){const t=this._isAnimated(),o=S.findOne(".modal-body",this._dialog);this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||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,o&&(o.scrollTop=0),this._element.classList.add("show"),this._queueCallback(()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,p.trigger(this._element,"shown.bs.modal",{relatedTarget:e})},this._dialog,t)}_setEscapeEvent(){this._isShown?p.on(this._element,_n,e=>{this._config.keyboard&&"Escape"===e.key?(e.preventDefault(),this.hide()):this._config.keyboard||"Escape"!==e.key||this._triggerBackdropTransition()}):p.off(this._element,_n)}_setResizeEvent(){this._isShown?p.on(window,gn,()=>this._adjustDialog()):p.off(window,gn)}_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(yn),this._resetAdjustments(),this._scrollBar.reset(),p.trigger(this._element,pn)})}_showBackdrop(e){p.on(this._element,vn,t=>{this._ignoreBackdropClick?this._ignoreBackdropClick=!1:t.target===t.currentTarget&&(!0===this._config.backdrop?this.hide():"static"===this._config.backdrop&&this._triggerBackdropTransition())}),this._backdrop.show(e)}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){if(p.trigger(this._element,"hidePrevented.bs.modal").defaultPrevented)return;const{classList:e,scrollHeight:t,style:o}=this._element,r=t>document.documentElement.clientHeight;!r&&"hidden"===o.overflowY||e.contains(Si)||(r||(o.overflowY="hidden"),e.add(Si),this._queueCallback(()=>{e.remove(Si),r||this._queueCallback(()=>{o.overflowY=""},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const e=this._element.scrollHeight>document.documentElement.clientHeight,t=this._scrollBar.getWidth(),o=t>0;(!o&&e&&!Q()||o&&!e&&Q())&&(this._element.style.paddingLeft=`${t}px`),(o&&!e&&!Q()||!o&&e&&Q())&&(this._element.style.paddingRight=`${t}px`)}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(e,t){return this.each(function(){const o=tt.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===o[e])throw new TypeError(`No method named "${e}"`);o[e](t)}})}}p.on(document,"click.bs.modal.data-api",'[data-bs-toggle="modal"]',function(i){const e=Te(this);["A","AREA"].includes(this.tagName)&&i.preventDefault(),p.one(e,mn,o=>{o.defaultPrevented||p.one(e,pn,()=>{xe(this)&&this.focus()})});const t=S.findOne(".modal.show");t&&tt.getInstance(t).hide(),tt.getOrCreateInstance(e).toggle(this)}),Je(tt),G(tt);const En="offcanvas",On={backdrop:!0,keyboard:!0,scroll:!1},yo={backdrop:"boolean",keyboard:"boolean",scroll:"boolean"},An=".offcanvas.show",Cn="hidden.bs.offcanvas";class Xe extends J{constructor(e,t){super(e),this._config=this._getConfig(t),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get NAME(){return En}static get Default(){return On}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||p.trigger(this._element,"show.bs.offcanvas",{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._element.style.visibility="visible",this._backdrop.show(),this._config.scroll||(new Li).hide(),this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add("show"),this._queueCallback(()=>{this._config.scroll||this._focustrap.activate(),p.trigger(this._element,"shown.bs.offcanvas",{relatedTarget:e})},this._element,!0))}hide(){this._isShown&&(p.trigger(this._element,"hide.bs.offcanvas").defaultPrevented||(this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.remove("show"),this._backdrop.hide(),this._queueCallback(()=>{this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._element.style.visibility="hidden",this._config.scroll||(new Li).reset(),p.trigger(this._element,Cn)},this._element,!0)))}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_getConfig(e){return e={...On,...U.getDataAttributes(this._element),..."object"==typeof e?e:{}},K(En,e,yo),e}_initializeBackDrop(){return new an({className:"offcanvas-backdrop",isVisible:this._config.backdrop,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:()=>this.hide()})}_initializeFocusTrap(){return new fn({trapElement:this._element})}_addEventListeners(){p.on(this._element,"keydown.dismiss.bs.offcanvas",e=>{this._config.keyboard&&"Escape"===e.key&&this.hide()})}static jQueryInterface(e){return this.each(function(){const t=Xe.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e](this)}})}}p.on(document,"click.bs.offcanvas.data-api",'[data-bs-toggle="offcanvas"]',function(i){const e=Te(this);if(["A","AREA"].includes(this.tagName)&&i.preventDefault(),he(this))return;p.one(e,Cn,()=>{xe(this)&&this.focus()});const t=S.findOne(An);t&&t!==e&&Xe.getInstance(t).hide(),Xe.getOrCreateInstance(e).toggle(this)}),p.on(window,"load.bs.offcanvas.data-api",()=>S.find(An).forEach(i=>Xe.getOrCreateInstance(i).show())),Je(Xe),G(Xe);const wo=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),Eo=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^#&/:?]*(?:[#/?]|$))/i,Oo=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i,To=(i,e)=>{const t=i.nodeName.toLowerCase();if(e.includes(t))return!wo.has(t)||Boolean(Eo.test(i.nodeValue)||Oo.test(i.nodeValue));const o=e.filter(r=>r instanceof RegExp);for(let r=0,a=o.length;r<a;r++)if(o[r].test(t))return!0;return!1};function xn(i,e,t){if(!i.length)return i;if(t&&"function"==typeof t)return t(i);const o=(new window.DOMParser).parseFromString(i,"text/html"),r=[].concat(...o.body.querySelectorAll("*"));for(let a=0,f=r.length;a<f;a++){const d=r[a],v=d.nodeName.toLowerCase();if(!Object.keys(e).includes(v)){d.remove();continue}const y=[].concat(...d.attributes),w=[].concat(e["*"]||[],e[v]||[]);y.forEach(_=>{To(_,w)||d.removeAttribute(_.nodeName)})}return o.body.innerHTML}const Ln="tooltip",Ao=new Set(["sanitize","allowList","sanitizeFn"]),Co={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(array|string|function)",container:"(string|element|boolean)",fallbackPlacements:"array",boundary:"(string|element)",customClass:"(string|function)",sanitize:"boolean",sanitizeFn:"(null|function)",allowList:"object",popperConfig:"(null|object|function)"},xo={AUTO:"auto",TOP:"top",RIGHT:Q()?"left":"right",BOTTOM:"bottom",LEFT:Q()?"right":"left"},Lo={animation:!0,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:[0,0],container:!1,fallbackPlacements:["top","right","bottom","left"],boundary:"clippingParents",customClass:"",sanitize:!0,sanitizeFn:null,allowList:{"*":["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:[]},popperConfig:null},So={HIDE:"hide.bs.tooltip",HIDDEN:"hidden.bs.tooltip",SHOW:"show.bs.tooltip",SHOWN:"shown.bs.tooltip",INSERTED:"inserted.bs.tooltip",CLICK:"click.bs.tooltip",FOCUSIN:"focusin.bs.tooltip",FOCUSOUT:"focusout.bs.tooltip",MOUSEENTER:"mouseenter.bs.tooltip",MOUSELEAVE:"mouseleave.bs.tooltip"},li="fade",Pt="show",It="show",Sn=".tooltip-inner",Dn="hide.bs.modal",ci="hover";class it extends J{constructor(e,t){if(void 0===Gi)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(e),this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this._config=this._getConfig(t),this.tip=null,this._setListeners()}static get Default(){return Lo}static get NAME(){return Ln}static get Event(){return So}static get DefaultType(){return Co}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(e){if(this._isEnabled)if(e){const t=this._initializeOnDelegatedTarget(e);t._activeTrigger.click=!t._activeTrigger.click,t._isWithActiveTrigger()?t._enter(null,t):t._leave(null,t)}else{if(this.getTipElement().classList.contains(Pt))return void this._leave(null,this);this._enter(null,this)}}dispose(){clearTimeout(this._timeout),p.off(this._element.closest(".modal"),Dn,this._hideModalHandler),this.tip&&this.tip.remove(),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 e=p.trigger(this._element,this.constructor.Event.SHOW),t=bt(this._element),o=null===t?this._element.ownerDocument.documentElement.contains(this._element):t.contains(this._element);if(e.defaultPrevented||!o)return;"tooltip"===this.constructor.NAME&&this.tip&&this.getTitle()!==this.tip.querySelector(Sn).innerHTML&&(this._disposePopper(),this.tip.remove(),this.tip=null);const r=this.getTipElement(),a=(_=>{do{_+=Math.floor(1e6*Math.random())}while(document.getElementById(_));return _})(this.constructor.NAME);r.setAttribute("id",a),this._element.setAttribute("aria-describedby",a),this._config.animation&&r.classList.add(li);const f="function"==typeof this._config.placement?this._config.placement.call(this,r,this._element):this._config.placement,d=this._getAttachment(f);this._addAttachmentClass(d);const{container:v}=this._config;$e.set(r,this.constructor.DATA_KEY,this),this._element.ownerDocument.documentElement.contains(this.tip)||(v.append(r),p.trigger(this._element,this.constructor.Event.INSERTED)),this._popper?this._popper.update():this._popper=Oi(this._element,r,this._getPopperConfig(d)),r.classList.add(Pt);const y=this._resolvePossibleFunction(this._config.customClass);y&&r.classList.add(...y.split(" ")),"ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach(_=>{p.on(_,"mouseover",Qe)});const w=this.tip.classList.contains(li);this._queueCallback(()=>{const _=this._hoverState;this._hoverState=null,p.trigger(this._element,this.constructor.Event.SHOWN),"out"===_&&this._leave(null,this)},this.tip,w)}hide(){if(!this._popper)return;const e=this.getTipElement();if(p.trigger(this._element,this.constructor.Event.HIDE).defaultPrevented)return;e.classList.remove(Pt),"ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach(o=>p.off(o,"mouseover",Qe)),this._activeTrigger.click=!1,this._activeTrigger.focus=!1,this._activeTrigger.hover=!1;const t=this.tip.classList.contains(li);this._queueCallback(()=>{this._isWithActiveTrigger()||(this._hoverState!==It&&e.remove(),this._cleanTipClass(),this._element.removeAttribute("aria-describedby"),p.trigger(this._element,this.constructor.Event.HIDDEN),this._disposePopper())},this.tip,t),this._hoverState=""}update(){null!==this._popper&&this._popper.update()}isWithContent(){return Boolean(this.getTitle())}getTipElement(){if(this.tip)return this.tip;const e=document.createElement("div");e.innerHTML=this._config.template;const t=e.children[0];return this.setContent(t),t.classList.remove(li,Pt),this.tip=t,this.tip}setContent(e){this._sanitizeAndSetContent(e,this.getTitle(),Sn)}_sanitizeAndSetContent(e,t,o){const r=S.findOne(o,e);t||!r?this.setElementContent(r,t):r.remove()}setElementContent(e,t){if(null!==e)return Ce(t)?(t=_e(t),void(this._config.html?t.parentNode!==e&&(e.innerHTML="",e.append(t)):e.textContent=t.textContent)):void(this._config.html?(this._config.sanitize&&(t=xn(t,this._config.allowList,this._config.sanitizeFn)),e.innerHTML=t):e.textContent=t)}getTitle(){const e=this._element.getAttribute("data-bs-original-title")||this._config.title;return this._resolvePossibleFunction(e)}updateAttachment(e){return"right"===e?"end":"left"===e?"start":e}_initializeOnDelegatedTarget(e,t){return t||this.constructor.getOrCreateInstance(e.delegateTarget,this._getDelegateConfig())}_getOffset(){const{offset:e}=this._config;return"string"==typeof e?e.split(",").map(t=>Number.parseInt(t,10)):"function"==typeof e?t=>e(t,this._element):e}_resolvePossibleFunction(e){return"function"==typeof e?e.call(this._element):e}_getPopperConfig(e){const t={placement:e,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:"onChange",enabled:!0,phase:"afterWrite",fn:o=>this._handlePopperPlacementChange(o)}],onFirstUpdate:o=>{o.options.placement!==o.placement&&this._handlePopperPlacementChange(o)}};return{...t,..."function"==typeof this._config.popperConfig?this._config.popperConfig(t):this._config.popperConfig}}_addAttachmentClass(e){this.getTipElement().classList.add(`${this._getBasicClassPrefix()}-${this.updateAttachment(e)}`)}_getAttachment(e){return xo[e.toUpperCase()]}_setListeners(){this._config.trigger.split(" ").forEach(e=>{if("click"===e)p.on(this._element,this.constructor.Event.CLICK,this._config.selector,t=>this.toggle(t));else if("manual"!==e){const o=e===ci?this.constructor.Event.MOUSELEAVE:this.constructor.Event.FOCUSOUT;p.on(this._element,e===ci?this.constructor.Event.MOUSEENTER:this.constructor.Event.FOCUSIN,this._config.selector,r=>this._enter(r)),p.on(this._element,o,this._config.selector,r=>this._leave(r))}}),this._hideModalHandler=()=>{this._element&&this.hide()},p.on(this._element.closest(".modal"),Dn,this._hideModalHandler),this._config.selector?this._config={...this._config,trigger:"manual",selector:""}:this._fixTitle()}_fixTitle(){const e=this._element.getAttribute("title"),t=typeof this._element.getAttribute("data-bs-original-title");(e||"string"!==t)&&(this._element.setAttribute("data-bs-original-title",e||""),!e||this._element.getAttribute("aria-label")||this._element.textContent||this._element.setAttribute("aria-label",e),this._element.setAttribute("title",""))}_enter(e,t){t=this._initializeOnDelegatedTarget(e,t),e&&(t._activeTrigger["focusin"===e.type?"focus":ci]=!0),t.getTipElement().classList.contains(Pt)||t._hoverState===It?t._hoverState=It:(clearTimeout(t._timeout),t._hoverState=It,t._config.delay&&t._config.delay.show?t._timeout=setTimeout(()=>{t._hoverState===It&&t.show()},t._config.delay.show):t.show())}_leave(e,t){t=this._initializeOnDelegatedTarget(e,t),e&&(t._activeTrigger["focusout"===e.type?"focus":ci]=t._element.contains(e.relatedTarget)),t._isWithActiveTrigger()||(clearTimeout(t._timeout),t._hoverState="out",t._config.delay&&t._config.delay.hide?t._timeout=setTimeout(()=>{"out"===t._hoverState&&t.hide()},t._config.delay.hide):t.hide())}_isWithActiveTrigger(){for(const e in this._activeTrigger)if(this._activeTrigger[e])return!0;return!1}_getConfig(e){const t=U.getDataAttributes(this._element);return Object.keys(t).forEach(o=>{Ao.has(o)&&delete t[o]}),(e={...this.constructor.Default,...t,..."object"==typeof e&&e?e:{}}).container=!1===e.container?document.body:_e(e.container),"number"==typeof e.delay&&(e.delay={show:e.delay,hide:e.delay}),"number"==typeof e.title&&(e.title=e.title.toString()),"number"==typeof e.content&&(e.content=e.content.toString()),K(Ln,e,this.constructor.DefaultType),e.sanitize&&(e.template=xn(e.template,e.allowList,e.sanitizeFn)),e}_getDelegateConfig(){const e={};for(const t in this._config)this.constructor.Default[t]!==this._config[t]&&(e[t]=this._config[t]);return e}_cleanTipClass(){const e=this.getTipElement(),t=new RegExp(`(^|\\s)${this._getBasicClassPrefix()}\\S+`,"g"),o=e.getAttribute("class").match(t);null!==o&&o.length>0&&o.map(r=>r.trim()).forEach(r=>e.classList.remove(r))}_getBasicClassPrefix(){return"bs-tooltip"}_handlePopperPlacementChange(e){const{state:t}=e;t&&(this.tip=t.elements.popper,this._cleanTipClass(),this._addAttachmentClass(this._getAttachment(t.placement)))}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null)}static jQueryInterface(e){return this.each(function(){const t=it.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}})}}G(it);const ko={...it.Default,placement:"right",offset:[0,8],trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>'},Do={...it.DefaultType,content:"(string|element|function)"},No={HIDE:"hide.bs.popover",HIDDEN:"hidden.bs.popover",SHOW:"show.bs.popover",SHOWN:"shown.bs.popover",INSERTED:"inserted.bs.popover",CLICK:"click.bs.popover",FOCUSIN:"focusin.bs.popover",FOCUSOUT:"focusout.bs.popover",MOUSEENTER:"mouseenter.bs.popover",MOUSELEAVE:"mouseleave.bs.popover"};class fi extends it{static get Default(){return ko}static get NAME(){return"popover"}static get Event(){return No}static get DefaultType(){return Do}isWithContent(){return this.getTitle()||this._getContent()}setContent(e){this._sanitizeAndSetContent(e,this.getTitle(),".popover-header"),this._sanitizeAndSetContent(e,this._getContent(),".popover-body")}_getContent(){return this._resolvePossibleFunction(this._config.content)}_getBasicClassPrefix(){return"bs-popover"}static jQueryInterface(e){return this.each(function(){const t=fi.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}})}}G(fi);const Pn="scrollspy",In={offset:10,method:"auto",target:""},Po={offset:"number",method:"string",target:"(string|element)"},gt="active",Di=".nav-link, .list-group-item, .dropdown-item",Mn="position";class Mt extends J{constructor(e,t){super(e),this._scrollElement="BODY"===this._element.tagName?window:this._element,this._config=this._getConfig(t),this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,p.on(this._scrollElement,"scroll.bs.scrollspy",()=>this._process()),this.refresh(),this._process()}static get Default(){return In}static get NAME(){return Pn}refresh(){const t="auto"===this._config.method?this._scrollElement===this._scrollElement.window?"offset":Mn:this._config.method,o=t===Mn?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),S.find(Di,this._config.target).map(r=>{const a=_t(r),f=a?S.findOne(a):null;if(f){const d=f.getBoundingClientRect();if(d.width||d.height)return[U[t](f).top+o,a]}return null}).filter(r=>r).sort((r,a)=>r[0]-a[0]).forEach(r=>{this._offsets.push(r[0]),this._targets.push(r[1])})}dispose(){p.off(this._scrollElement,".bs.scrollspy"),super.dispose()}_getConfig(e){return(e={...In,...U.getDataAttributes(this._element),..."object"==typeof e&&e?e:{}}).target=_e(e.target)||document.documentElement,K(Pn,e,Po),e}_getScrollTop(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop}_getScrollHeight(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)}_getOffsetHeight(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height}_process(){const e=this._getScrollTop()+this._config.offset,t=this._getScrollHeight(),o=this._config.offset+t-this._getOffsetHeight();if(this._scrollHeight!==t&&this.refresh(),e>=o){const r=this._targets[this._targets.length-1];this._activeTarget!==r&&this._activate(r)}else{if(this._activeTarget&&e<this._offsets[0]&&this._offsets[0]>0)return this._activeTarget=null,void this._clear();for(let r=this._offsets.length;r--;)this._activeTarget!==this._targets[r]&&e>=this._offsets[r]&&(void 0===this._offsets[r+1]||e<this._offsets[r+1])&&this._activate(this._targets[r])}}_activate(e){this._activeTarget=e,this._clear();const t=Di.split(",").map(r=>`${r}[data-bs-target="${e}"],${r}[href="${e}"]`),o=S.findOne(t.join(","),this._config.target);o.classList.add(gt),o.classList.contains("dropdown-item")?S.findOne(".dropdown-toggle",o.closest(".dropdown")).classList.add(gt):S.parents(o,".nav, .list-group").forEach(r=>{S.prev(r,".nav-link, .list-group-item").forEach(a=>a.classList.add(gt)),S.prev(r,".nav-item").forEach(a=>{S.children(a,".nav-link").forEach(f=>f.classList.add(gt))})}),p.trigger(this._scrollElement,"activate.bs.scrollspy",{relatedTarget:e})}_clear(){S.find(Di,this._config.target).filter(e=>e.classList.contains(gt)).forEach(e=>e.classList.remove(gt))}static jQueryInterface(e){return this.each(function(){const t=Mt.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}})}}p.on(window,"load.bs.scrollspy.data-api",()=>{S.find('[data-bs-spy="scroll"]').forEach(i=>new Mt(i))}),G(Mt);const jt="active",Hn=".active",Rn=":scope > li > .active";class Bt extends J{static get NAME(){return"tab"}show(){if(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&this._element.classList.contains(jt))return;let e;const t=Te(this._element),o=this._element.closest(".nav, .list-group");o&&(e=S.find("UL"===o.nodeName||"OL"===o.nodeName?Rn:Hn,o),e=e[e.length-1]);const r=e?p.trigger(e,"hide.bs.tab",{relatedTarget:this._element}):null;if(p.trigger(this._element,"show.bs.tab",{relatedTarget:e}).defaultPrevented||null!==r&&r.defaultPrevented)return;this._activate(this._element,o);const a=()=>{p.trigger(e,"hidden.bs.tab",{relatedTarget:this._element}),p.trigger(this._element,"shown.bs.tab",{relatedTarget:e})};t?this._activate(t,t.parentNode,a):a()}_activate(e,t,o){const r=(!t||"UL"!==t.nodeName&&"OL"!==t.nodeName?S.children(t,Hn):S.find(Rn,t))[0],a=o&&r&&r.classList.contains("fade"),f=()=>this._transitionComplete(e,r,o);r&&a?(r.classList.remove("show"),this._queueCallback(f,e,!0)):f()}_transitionComplete(e,t,o){if(t){t.classList.remove(jt);const a=S.findOne(":scope > .dropdown-menu .active",t.parentNode);a&&a.classList.remove(jt),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!1)}e.classList.add(jt),"tab"===e.getAttribute("role")&&e.setAttribute("aria-selected",!0),e.classList.contains("fade")&&e.classList.add("show");let r=e.parentNode;if(r&&"LI"===r.nodeName&&(r=r.parentNode),r&&r.classList.contains("dropdown-menu")){const a=e.closest(".dropdown");a&&S.find(".dropdown-toggle",a).forEach(f=>f.classList.add(jt)),e.setAttribute("aria-expanded",!0)}o&&o()}static jQueryInterface(e){return this.each(function(){const t=Bt.getOrCreateInstance(this);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}})}}p.on(document,"click.bs.tab.data-api",'[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',function(i){["A","AREA"].includes(this.tagName)&&i.preventDefault(),he(this)||Bt.getOrCreateInstance(this).show()}),G(Bt);const Ht="show",hi="showing",Io={animation:"boolean",autohide:"boolean",delay:"number"},$n={animation:!0,autohide:!0,delay:5e3};class Rt extends J{constructor(e,t){super(e),this._config=this._getConfig(t),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get DefaultType(){return Io}static get Default(){return $n}static get NAME(){return"toast"}show(){p.trigger(this._element,"show.bs.toast").defaultPrevented||(this._clearTimeout(),this._config.animation&&this._element.classList.add("fade"),this._element.classList.remove("hide"),this._element.classList.add(Ht),this._element.classList.add(hi),this._queueCallback(()=>{this._element.classList.remove(hi),p.trigger(this._element,"shown.bs.toast"),this._maybeScheduleHide()},this._element,this._config.animation))}hide(){this._element.classList.contains(Ht)&&(p.trigger(this._element,"hide.bs.toast").defaultPrevented||(this._element.classList.add(hi),this._queueCallback(()=>{this._element.classList.add("hide"),this._element.classList.remove(hi),this._element.classList.remove(Ht),p.trigger(this._element,"hidden.bs.toast")},this._element,this._config.animation)))}dispose(){this._clearTimeout(),this._element.classList.contains(Ht)&&this._element.classList.remove(Ht),super.dispose()}_getConfig(e){return e={...$n,...U.getDataAttributes(this._element),..."object"==typeof e&&e?e:{}},K("toast",e,this.constructor.DefaultType),e}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay)))}_onInteraction(e,t){switch(e.type){case"mouseover":case"mouseout":this._hasMouseInteraction=t;break;case"focusin":case"focusout":this._hasKeyboardInteraction=t}if(t)return void this._clearTimeout();const o=e.relatedTarget;this._element===o||this._element.contains(o)||this._maybeScheduleHide()}_setListeners(){p.on(this._element,"mouseover.bs.toast",e=>this._onInteraction(e,!0)),p.on(this._element,"mouseout.bs.toast",e=>this._onInteraction(e,!1)),p.on(this._element,"focusin.bs.toast",e=>this._onInteraction(e,!0)),p.on(this._element,"focusout.bs.toast",e=>this._onInteraction(e,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(e){return this.each(function(){const t=Rt.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e](this)}})}}return Je(Rt),G(Rt),{Alert:we,Button:ze,Carousel:me,Collapse:je,Dropdown:ue,Modal:tt,Offcanvas:Xe,Popover:fi,ScrollSpy:Mt,Tab:Bt,Toast:Rt,Tooltip:it}});