receiptfeedback 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/180.157bd1d903805176.js +1 -0
- package/3rdpartylicenses.txt +315 -0
- package/530.dd4e93b62ef31395.js +1 -0
- package/609.359a127270372791.js +1 -0
- package/assets/css/bootstrap_light.scss +7 -0
- package/assets/css/feedback-styles.scss +51 -0
- package/assets/css/pos_variable.scss +83 -0
- package/assets/icons/icon-128x128.png +0 -0
- package/assets/icons/icon-144x144.png +0 -0
- package/assets/icons/icon-152x152.png +0 -0
- package/assets/icons/icon-192x192.png +0 -0
- package/assets/icons/icon-384x384.png +0 -0
- package/assets/icons/icon-512x512.png +0 -0
- package/assets/icons/icon-72x72.png +0 -0
- package/assets/icons/icon-96x96.png +0 -0
- package/assets/icons/people.jpg +0 -0
- package/assets/icons/warning.png +0 -0
- package/assets/images/star-rating.icons.svg +24 -0
- package/common.5d92d1ca7eb7d8e4.js +1 -0
- package/favicon.ico +0 -0
- package/index.html +23 -0
- package/main.cd9c8aaba275fb3b.js +1 -0
- package/manifest.webmanifest +59 -0
- package/ngsw-worker.js +1852 -0
- package/ngsw.json +103 -0
- package/package.json +11 -0
- package/polyfills.d176d96ff5286db0.js +1 -0
- package/runtime.13a7c88c4290640d.js +1 -0
- package/safety-worker.js +26 -0
- package/scripts.857da030347af49d.js +1 -0
- package/styles.0a672837b6d3c8f6.css +5 -0
- package/worker-basic.min.js +26 -0
package/ngsw.json
ADDED
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
{
|
|
2
|
+
"configVersion": 1,
|
|
3
|
+
"timestamp": 1697684887375,
|
|
4
|
+
"index": "/index.html",
|
|
5
|
+
"assetGroups": [
|
|
6
|
+
{
|
|
7
|
+
"name": "app",
|
|
8
|
+
"installMode": "prefetch",
|
|
9
|
+
"updateMode": "prefetch",
|
|
10
|
+
"cacheQueryOptions": {
|
|
11
|
+
"ignoreVary": true
|
|
12
|
+
},
|
|
13
|
+
"urls": [
|
|
14
|
+
"/180.157bd1d903805176.js",
|
|
15
|
+
"/530.dd4e93b62ef31395.js",
|
|
16
|
+
"/609.359a127270372791.js",
|
|
17
|
+
"/common.5d92d1ca7eb7d8e4.js",
|
|
18
|
+
"/favicon.ico",
|
|
19
|
+
"/index.html",
|
|
20
|
+
"/main.cd9c8aaba275fb3b.js",
|
|
21
|
+
"/manifest.webmanifest",
|
|
22
|
+
"/polyfills.d176d96ff5286db0.js",
|
|
23
|
+
"/runtime.13a7c88c4290640d.js",
|
|
24
|
+
"/scripts.857da030347af49d.js",
|
|
25
|
+
"/styles.0a672837b6d3c8f6.css"
|
|
26
|
+
],
|
|
27
|
+
"patterns": []
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"name": "assets",
|
|
31
|
+
"installMode": "lazy",
|
|
32
|
+
"updateMode": "prefetch",
|
|
33
|
+
"cacheQueryOptions": {
|
|
34
|
+
"ignoreVary": true
|
|
35
|
+
},
|
|
36
|
+
"urls": [
|
|
37
|
+
"/assets/css/bootstrap_light.scss",
|
|
38
|
+
"/assets/css/feedback-styles.scss",
|
|
39
|
+
"/assets/css/pos_variable.scss",
|
|
40
|
+
"/assets/icons/icon-128x128.png",
|
|
41
|
+
"/assets/icons/icon-144x144.png",
|
|
42
|
+
"/assets/icons/icon-152x152.png",
|
|
43
|
+
"/assets/icons/icon-192x192.png",
|
|
44
|
+
"/assets/icons/icon-384x384.png",
|
|
45
|
+
"/assets/icons/icon-512x512.png",
|
|
46
|
+
"/assets/icons/icon-72x72.png",
|
|
47
|
+
"/assets/icons/icon-96x96.png",
|
|
48
|
+
"/assets/icons/people.jpg",
|
|
49
|
+
"/assets/icons/warning.png",
|
|
50
|
+
"/assets/images/star-rating.icons.svg"
|
|
51
|
+
],
|
|
52
|
+
"patterns": []
|
|
53
|
+
}
|
|
54
|
+
],
|
|
55
|
+
"dataGroups": [],
|
|
56
|
+
"hashTable": {
|
|
57
|
+
"/180.157bd1d903805176.js": "f1fe836fdac8dc90be3608cf9b5d6d76de0135f9",
|
|
58
|
+
"/530.dd4e93b62ef31395.js": "b5b9027f45ad141683b10cc16618a85055b9f6cc",
|
|
59
|
+
"/609.359a127270372791.js": "01c88db192bf37f8e87e8563bdddd1cf718f482d",
|
|
60
|
+
"/assets/css/bootstrap_light.scss": "c0b6e1614832c84949cb648f18bba9c7ca957bf3",
|
|
61
|
+
"/assets/css/feedback-styles.scss": "c0afb56f74e6e8e53503e9f031c014ec8ce279eb",
|
|
62
|
+
"/assets/css/pos_variable.scss": "1c4a121e77fa382d97ba44f7eb0558933d82af6f",
|
|
63
|
+
"/assets/icons/icon-128x128.png": "dae3b6ed49bdaf4327b92531d4b5b4a5d30c7532",
|
|
64
|
+
"/assets/icons/icon-144x144.png": "b0bd89982e08f9bd2b642928f5391915b74799a7",
|
|
65
|
+
"/assets/icons/icon-152x152.png": "7479a9477815dfd9668d60f8b3b2fba709b91310",
|
|
66
|
+
"/assets/icons/icon-192x192.png": "1abd80d431a237a853ce38147d8c63752f10933b",
|
|
67
|
+
"/assets/icons/icon-384x384.png": "329749cd6393768d3131ed6304c136b1ca05f2fd",
|
|
68
|
+
"/assets/icons/icon-512x512.png": "559d9c4318b45a1f2b10596bbb4c960fe521dbcc",
|
|
69
|
+
"/assets/icons/icon-72x72.png": "c457e56089a36952cd67156f9996bc4ce54a5ed9",
|
|
70
|
+
"/assets/icons/icon-96x96.png": "3914125a4b445bf111c5627875fc190f560daa41",
|
|
71
|
+
"/assets/icons/people.jpg": "ba9991b13021be602ca811acdab40d1fcf633eb8",
|
|
72
|
+
"/assets/icons/warning.png": "76b0d4db10d5c60fc74caccc59caf854f900f94c",
|
|
73
|
+
"/assets/images/star-rating.icons.svg": "c9b2ed31d6a095b618987d52defd38a28dea458c",
|
|
74
|
+
"/common.5d92d1ca7eb7d8e4.js": "e378033a5d323700663ac647b2e36cf76b471064",
|
|
75
|
+
"/favicon.ico": "22f6a4a3bcaafafb0254e0f2fa4ceb89e505e8b2",
|
|
76
|
+
"/index.html": "78dd425d3e73e54819e51f7af7d1f36eafb0405b",
|
|
77
|
+
"/main.cd9c8aaba275fb3b.js": "8491e0196918971e305ddfed5e5dfed7ba15e27b",
|
|
78
|
+
"/manifest.webmanifest": "bd0cb1bfbedcb4b3b732357c4aae5a08e6e68112",
|
|
79
|
+
"/polyfills.d176d96ff5286db0.js": "3ae1a147b637bbf22b051d544c7035301450e47a",
|
|
80
|
+
"/runtime.13a7c88c4290640d.js": "fa34e5b12cfbc793568115c67767b3d8731374c5",
|
|
81
|
+
"/scripts.857da030347af49d.js": "fe401ef03af3cc9f7b370f6e06eb636d2cca3691",
|
|
82
|
+
"/styles.0a672837b6d3c8f6.css": "96d46e52191097e84b8c4b2c216885fd89448267"
|
|
83
|
+
},
|
|
84
|
+
"navigationUrls": [
|
|
85
|
+
{
|
|
86
|
+
"positive": true,
|
|
87
|
+
"regex": "^\\/.*$"
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"positive": false,
|
|
91
|
+
"regex": "^\\/(?:.+\\/)?[^/]*\\.[^/]*$"
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"positive": false,
|
|
95
|
+
"regex": "^\\/(?:.+\\/)?[^/]*__[^/]*$"
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"positive": false,
|
|
99
|
+
"regex": "^\\/(?:.+\\/)?[^/]*__[^/]*\\/.*$"
|
|
100
|
+
}
|
|
101
|
+
],
|
|
102
|
+
"navigationRequestStrategy": "performance"
|
|
103
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkfeedback=self.webpackChunkfeedback||[]).push([[429],{5321:(ie,Ee,de)=>{de(8332)},8332:()=>{!function(e){const n=e.performance;function s(j){n&&n.mark&&n.mark(j)}function r(j,h){n&&n.measure&&n.measure(j,h)}s("Zone");const i=e.__Zone_symbol_prefix||"__zone_symbol__";function l(j){return i+j}const p=!0===e[l("forceDuplicateZoneCheck")];if(e.Zone){if(p||"function"!=typeof e.Zone.__symbol__)throw new Error("Zone already loaded.");return e.Zone}let E=(()=>{class h{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=h.current;for(;t.parent;)t=t.parent;return t}static get current(){return W.zone}static get currentTask(){return re}static __load_patch(t,_,w=!1){if(oe.hasOwnProperty(t)){if(!w&&p)throw Error("Already loaded patch: "+t)}else if(!e["__Zone_disable_"+t]){const L="Zone:"+t;s(L),oe[t]=_(e,h,Y),r(L,L)}}get parent(){return this._parent}get name(){return this._name}constructor(t,_){this._parent=t,this._name=_?_.name||"unnamed":"<root>",this._properties=_&&_.properties||{},this._zoneDelegate=new v(this,this._parent&&this._parent._zoneDelegate,_)}get(t){const _=this.getZoneWith(t);if(_)return _._properties[t]}getZoneWith(t){let _=this;for(;_;){if(_._properties.hasOwnProperty(t))return _;_=_._parent}return null}fork(t){if(!t)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,t)}wrap(t,_){if("function"!=typeof t)throw new Error("Expecting function got: "+t);const w=this._zoneDelegate.intercept(this,t,_),L=this;return function(){return L.runGuarded(w,this,arguments,_)}}run(t,_,w,L){W={parent:W,zone:this};try{return this._zoneDelegate.invoke(this,t,_,w,L)}finally{W=W.parent}}runGuarded(t,_=null,w,L){W={parent:W,zone:this};try{try{return this._zoneDelegate.invoke(this,t,_,w,L)}catch(a){if(this._zoneDelegate.handleError(this,a))throw a}}finally{W=W.parent}}runTask(t,_,w){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===G&&(t.type===Q||t.type===P))return;const L=t.state!=y;L&&t._transitionTo(y,A),t.runCount++;const a=re;re=t,W={parent:W,zone:this};try{t.type==P&&t.data&&!t.data.isPeriodic&&(t.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,t,_,w)}catch(u){if(this._zoneDelegate.handleError(this,u))throw u}}finally{t.state!==G&&t.state!==d&&(t.type==Q||t.data&&t.data.isPeriodic?L&&t._transitionTo(A,y):(t.runCount=0,this._updateTaskCount(t,-1),L&&t._transitionTo(G,y,G))),W=W.parent,re=a}}scheduleTask(t){if(t.zone&&t.zone!==this){let w=this;for(;w;){if(w===t.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${t.zone.name}`);w=w.parent}}t._transitionTo(z,G);const _=[];t._zoneDelegates=_,t._zone=this;try{t=this._zoneDelegate.scheduleTask(this,t)}catch(w){throw t._transitionTo(d,z,G),this._zoneDelegate.handleError(this,w),w}return t._zoneDelegates===_&&this._updateTaskCount(t,1),t.state==z&&t._transitionTo(A,z),t}scheduleMicroTask(t,_,w,L){return this.scheduleTask(new m(I,t,_,w,L,void 0))}scheduleMacroTask(t,_,w,L,a){return this.scheduleTask(new m(P,t,_,w,L,a))}scheduleEventTask(t,_,w,L,a){return this.scheduleTask(new m(Q,t,_,w,L,a))}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+")");if(t.state===A||t.state===y){t._transitionTo(V,A,y);try{this._zoneDelegate.cancelTask(this,t)}catch(_){throw t._transitionTo(d,V),this._zoneDelegate.handleError(this,_),_}return this._updateTaskCount(t,-1),t._transitionTo(G,V),t.runCount=0,t}}_updateTaskCount(t,_){const w=t._zoneDelegates;-1==_&&(t._zoneDelegates=null);for(let L=0;L<w.length;L++)w[L]._updateTaskCount(t.type,_)}}return h.__symbol__=l,h})();const b={name:"",onHasTask:(j,h,c,t)=>j.hasTask(c,t),onScheduleTask:(j,h,c,t)=>j.scheduleTask(c,t),onInvokeTask:(j,h,c,t,_,w)=>j.invokeTask(c,t,_,w),onCancelTask:(j,h,c,t)=>j.cancelTask(c,t)};class v{constructor(h,c,t){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=h,this._parentDelegate=c,this._forkZS=t&&(t&&t.onFork?t:c._forkZS),this._forkDlgt=t&&(t.onFork?c:c._forkDlgt),this._forkCurrZone=t&&(t.onFork?this.zone:c._forkCurrZone),this._interceptZS=t&&(t.onIntercept?t:c._interceptZS),this._interceptDlgt=t&&(t.onIntercept?c:c._interceptDlgt),this._interceptCurrZone=t&&(t.onIntercept?this.zone:c._interceptCurrZone),this._invokeZS=t&&(t.onInvoke?t:c._invokeZS),this._invokeDlgt=t&&(t.onInvoke?c:c._invokeDlgt),this._invokeCurrZone=t&&(t.onInvoke?this.zone:c._invokeCurrZone),this._handleErrorZS=t&&(t.onHandleError?t:c._handleErrorZS),this._handleErrorDlgt=t&&(t.onHandleError?c:c._handleErrorDlgt),this._handleErrorCurrZone=t&&(t.onHandleError?this.zone:c._handleErrorCurrZone),this._scheduleTaskZS=t&&(t.onScheduleTask?t:c._scheduleTaskZS),this._scheduleTaskDlgt=t&&(t.onScheduleTask?c:c._scheduleTaskDlgt),this._scheduleTaskCurrZone=t&&(t.onScheduleTask?this.zone:c._scheduleTaskCurrZone),this._invokeTaskZS=t&&(t.onInvokeTask?t:c._invokeTaskZS),this._invokeTaskDlgt=t&&(t.onInvokeTask?c:c._invokeTaskDlgt),this._invokeTaskCurrZone=t&&(t.onInvokeTask?this.zone:c._invokeTaskCurrZone),this._cancelTaskZS=t&&(t.onCancelTask?t:c._cancelTaskZS),this._cancelTaskDlgt=t&&(t.onCancelTask?c:c._cancelTaskDlgt),this._cancelTaskCurrZone=t&&(t.onCancelTask?this.zone:c._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const _=t&&t.onHasTask;(_||c&&c._hasTaskZS)&&(this._hasTaskZS=_?t:b,this._hasTaskDlgt=c,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=h,t.onScheduleTask||(this._scheduleTaskZS=b,this._scheduleTaskDlgt=c,this._scheduleTaskCurrZone=this.zone),t.onInvokeTask||(this._invokeTaskZS=b,this._invokeTaskDlgt=c,this._invokeTaskCurrZone=this.zone),t.onCancelTask||(this._cancelTaskZS=b,this._cancelTaskDlgt=c,this._cancelTaskCurrZone=this.zone))}fork(h,c){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,h,c):new E(h,c)}intercept(h,c,t){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,h,c,t):c}invoke(h,c,t,_,w){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,h,c,t,_,w):c.apply(t,_)}handleError(h,c){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,h,c)}scheduleTask(h,c){let t=c;if(this._scheduleTaskZS)this._hasTaskZS&&t._zoneDelegates.push(this._hasTaskDlgtOwner),t=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,h,c),t||(t=c);else if(c.scheduleFn)c.scheduleFn(c);else{if(c.type!=I)throw new Error("Task is missing scheduleFn.");C(c)}return t}invokeTask(h,c,t,_){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,h,c,t,_):c.callback.apply(t,_)}cancelTask(h,c){let t;if(this._cancelTaskZS)t=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,h,c);else{if(!c.cancelFn)throw Error("Task is not cancelable");t=c.cancelFn(c)}return t}hasTask(h,c){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,h,c)}catch(t){this.handleError(h,t)}}_updateTaskCount(h,c){const t=this._taskCounts,_=t[h],w=t[h]=_+c;if(w<0)throw new Error("More tasks executed then were scheduled.");0!=_&&0!=w||this.hasTask(this.zone,{microTask:t.microTask>0,macroTask:t.macroTask>0,eventTask:t.eventTask>0,change:h})}}class m{constructor(h,c,t,_,w,L){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=h,this.source=c,this.data=_,this.scheduleFn=w,this.cancelFn=L,!t)throw new Error("callback is not defined");this.callback=t;const a=this;this.invoke=h===Q&&_&&_.useG?m.invokeTask:function(){return m.invokeTask.call(e,a,this,arguments)}}static invokeTask(h,c,t){h||(h=this),ee++;try{return h.runCount++,h.zone.runTask(h,c,t)}finally{1==ee&&T(),ee--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(G,z)}_transitionTo(h,c,t){if(this._state!==c&&this._state!==t)throw new Error(`${this.type} '${this.source}': can not transition to '${h}', expecting state '${c}'${t?" or '"+t+"'":""}, was '${this._state}'.`);this._state=h,h==G&&(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 M=l("setTimeout"),Z=l("Promise"),N=l("then");let J,U=[],x=!1;function X(j){if(J||e[Z]&&(J=e[Z].resolve(0)),J){let h=J[N];h||(h=J.then),h.call(J,j)}else e[M](j,0)}function C(j){0===ee&&0===U.length&&X(T),j&&U.push(j)}function T(){if(!x){for(x=!0;U.length;){const j=U;U=[];for(let h=0;h<j.length;h++){const c=j[h];try{c.zone.runTask(c,null,null)}catch(t){Y.onUnhandledError(t)}}}Y.microtaskDrainDone(),x=!1}}const K={name:"NO ZONE"},G="notScheduled",z="scheduling",A="scheduled",y="running",V="canceling",d="unknown",I="microTask",P="macroTask",Q="eventTask",oe={},Y={symbol:l,currentZoneFrame:()=>W,onUnhandledError:q,microtaskDrainDone:q,scheduleMicroTask:C,showUncaughtError:()=>!E[l("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:q,patchMethod:()=>q,bindArguments:()=>[],patchThen:()=>q,patchMacroTask:()=>q,patchEventPrototype:()=>q,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>q,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>q,wrapWithCurrentZone:()=>q,filterProperties:()=>[],attachOriginToPatched:()=>q,_redefineProperty:()=>q,patchCallbacks:()=>q,nativeScheduleMicroTask:X};let W={parent:null,zone:new E(null,null)},re=null,ee=0;function q(){}r("Zone","Zone"),e.Zone=E}(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,Se="addEventListener",Oe="removeEventListener",Ze=Zone.__symbol__(Se),Ne=Zone.__symbol__(Oe),ce="true",ae="false",ke=Zone.__symbol__("");function Ie(e,n){return Zone.current.wrap(e,n)}function Me(e,n,s,r,i){return Zone.current.scheduleMacroTask(e,n,s,r,i)}const H=Zone.__symbol__,Pe=typeof window<"u",Te=Pe?window:void 0,$=Pe&&Te||"object"==typeof self&&self||global,ct="removeAttribute";function Le(e,n){for(let s=e.length-1;s>=0;s--)"function"==typeof e[s]&&(e[s]=Ie(e[s],n+"_"+s));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 $)&&typeof $.process<"u"&&"[object process]"==={}.toString.call($.process),Ae=!we&&!Be&&!(!Pe||!Te.HTMLElement),Ue=typeof $.process<"u"&&"[object process]"==={}.toString.call($.process)&&!Be&&!(!Pe||!Te.HTMLElement),Re={},We=function(e){if(!(e=e||$.event))return;let n=Re[e.type];n||(n=Re[e.type]=H("ON_PROPERTY"+e.type));const s=this||e.target||$,r=s[n];let i;return Ae&&s===Te&&"error"===e.type?(i=r&&r.call(this,e.message,e.filename,e.lineno,e.colno,e.error),!0===i&&e.preventDefault()):(i=r&&r.apply(this,arguments),null!=i&&!i&&e.preventDefault()),i};function qe(e,n,s){let r=ie(e,n);if(!r&&s&&ie(s,n)&&(r={enumerable:!0,configurable:!0}),!r||!r.configurable)return;const i=H("on"+n+"patched");if(e.hasOwnProperty(i)&&e[i])return;delete r.writable,delete r.value;const l=r.get,p=r.set,E=n.slice(2);let b=Re[E];b||(b=Re[E]=H("ON_PROPERTY"+E)),r.set=function(v){let m=this;!m&&e===$&&(m=$),m&&("function"==typeof m[b]&&m.removeEventListener(E,We),p&&p.call(m,null),m[b]=v,"function"==typeof v&&m.addEventListener(E,We,!1))},r.get=function(){let v=this;if(!v&&e===$&&(v=$),!v)return null;const m=v[b];if(m)return m;if(l){let M=l.call(this);if(M)return r.set.call(this,M),"function"==typeof v[ct]&&v.removeAttribute(n),M}return null},Ee(e,n,r),e[i]=!0}function Xe(e,n,s){if(n)for(let r=0;r<n.length;r++)qe(e,"on"+n[r],s);else{const r=[];for(const i in e)"on"==i.slice(0,2)&&r.push(i);for(let i=0;i<r.length;i++)qe(e,r[i],s)}}const ne=H("originalInstance");function ve(e){const n=$[e];if(!n)return;$[H(e)]=n,$[e]=function(){const i=Le(arguments,e);switch(i.length){case 0:this[ne]=new n;break;case 1:this[ne]=new n(i[0]);break;case 2:this[ne]=new n(i[0],i[1]);break;case 3:this[ne]=new n(i[0],i[1],i[2]);break;case 4:this[ne]=new n(i[0],i[1],i[2],i[3]);break;default:throw new Error("Arg list too long.")}},ue($[e],n);const s=new n(function(){});let r;for(r in s)"XMLHttpRequest"===e&&"responseBlob"===r||function(i){"function"==typeof s[i]?$[e].prototype[i]=function(){return this[ne][i].apply(this[ne],arguments)}:Ee($[e].prototype,i,{set:function(l){"function"==typeof l?(this[ne][i]=Ie(l,e+"."+i),ue(this[ne][i],l)):this[ne][i]=l},get:function(){return this[ne][i]}})}(r);for(r in n)"prototype"!==r&&n.hasOwnProperty(r)&&($[e][r]=n[r])}function le(e,n,s){let r=e;for(;r&&!r.hasOwnProperty(n);)r=de(r);!r&&e[n]&&(r=e);const i=H(n);let l=null;if(r&&(!(l=r[i])||!r.hasOwnProperty(i))&&(l=r[i]=r[n],Fe(r&&ie(r,n)))){const E=s(l,i,n);r[n]=function(){return E(this,arguments)},ue(r[n],l)}return l}function lt(e,n,s){let r=null;function i(l){const p=l.data;return p.args[p.cbIdx]=function(){l.invoke.apply(this,arguments)},r.apply(p.target,p.args),l}r=le(e,n,l=>function(p,E){const b=s(p,E);return b.cbIdx>=0&&"function"==typeof E[b.cbIdx]?Me(b.name,E[b.cbIdx],b,i):l.apply(p,E)})}function ue(e,n){e[H("OriginalDelegate")]=n}let ze=!1,je=!1;function ft(){if(ze)return je;ze=!0;try{const e=Te.navigator.userAgent;(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/")||-1!==e.indexOf("Edge/"))&&(je=!0)}catch{}return je}Zone.__load_patch("ZoneAwarePromise",(e,n,s)=>{const r=Object.getOwnPropertyDescriptor,i=Object.defineProperty,p=s.symbol,E=[],b=!0===e[p("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],v=p("Promise"),m=p("then"),M="__creationTrace__";s.onUnhandledError=a=>{if(s.showUncaughtError()){const u=a&&a.rejection;u?console.error("Unhandled Promise rejection:",u instanceof Error?u.message:u,"; Zone:",a.zone.name,"; Task:",a.task&&a.task.source,"; Value:",u,u instanceof Error?u.stack:void 0):console.error(a)}},s.microtaskDrainDone=()=>{for(;E.length;){const a=E.shift();try{a.zone.runGuarded(()=>{throw a.throwOriginal?a.rejection:a})}catch(u){N(u)}}};const Z=p("unhandledPromiseRejectionHandler");function N(a){s.onUnhandledError(a);try{const u=n[Z];"function"==typeof u&&u.call(this,a)}catch{}}function U(a){return a&&a.then}function x(a){return a}function J(a){return c.reject(a)}const X=p("state"),C=p("value"),T=p("finally"),K=p("parentPromiseValue"),G=p("parentPromiseState"),z="Promise.then",A=null,y=!0,V=!1,d=0;function I(a,u){return o=>{try{Y(a,u,o)}catch(f){Y(a,!1,f)}}}const P=function(){let a=!1;return function(o){return function(){a||(a=!0,o.apply(null,arguments))}}},Q="Promise resolved with itself",oe=p("currentTaskTrace");function Y(a,u,o){const f=P();if(a===o)throw new TypeError(Q);if(a[X]===A){let k=null;try{("object"==typeof o||"function"==typeof o)&&(k=o&&o.then)}catch(R){return f(()=>{Y(a,!1,R)})(),a}if(u!==V&&o instanceof c&&o.hasOwnProperty(X)&&o.hasOwnProperty(C)&&o[X]!==A)re(o),Y(a,o[X],o[C]);else if(u!==V&&"function"==typeof k)try{k.call(o,f(I(a,u)),f(I(a,!1)))}catch(R){f(()=>{Y(a,!1,R)})()}else{a[X]=u;const R=a[C];if(a[C]=o,a[T]===T&&u===y&&(a[X]=a[G],a[C]=a[K]),u===V&&o instanceof Error){const g=n.currentTask&&n.currentTask.data&&n.currentTask.data[M];g&&i(o,oe,{configurable:!0,enumerable:!1,writable:!0,value:g})}for(let g=0;g<R.length;)ee(a,R[g++],R[g++],R[g++],R[g++]);if(0==R.length&&u==V){a[X]=d;let g=o;try{throw new Error("Uncaught (in promise): "+function l(a){return a&&a.toString===Object.prototype.toString?(a.constructor&&a.constructor.name||"")+": "+JSON.stringify(a):a?a.toString():Object.prototype.toString.call(a)}(o)+(o&&o.stack?"\n"+o.stack:""))}catch(D){g=D}b&&(g.throwOriginal=!0),g.rejection=o,g.promise=a,g.zone=n.current,g.task=n.currentTask,E.push(g),s.scheduleMicroTask()}}}return a}const W=p("rejectionHandledHandler");function re(a){if(a[X]===d){try{const u=n[W];u&&"function"==typeof u&&u.call(this,{rejection:a[C],promise:a})}catch{}a[X]=V;for(let u=0;u<E.length;u++)a===E[u].promise&&E.splice(u,1)}}function ee(a,u,o,f,k){re(a);const R=a[X],g=R?"function"==typeof f?f:x:"function"==typeof k?k:J;u.scheduleMicroTask(z,()=>{try{const D=a[C],S=!!o&&T===o[T];S&&(o[K]=D,o[G]=R);const O=u.run(g,void 0,S&&g!==J&&g!==x?[]:[D]);Y(o,!0,O)}catch(D){Y(o,!1,D)}},o)}const j=function(){},h=e.AggregateError;class c{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(u){return Y(new this(null),y,u)}static reject(u){return Y(new this(null),V,u)}static any(u){if(!u||"function"!=typeof u[Symbol.iterator])return Promise.reject(new h([],"All promises were rejected"));const o=[];let f=0;try{for(let g of u)f++,o.push(c.resolve(g))}catch{return Promise.reject(new h([],"All promises were rejected"))}if(0===f)return Promise.reject(new h([],"All promises were rejected"));let k=!1;const R=[];return new c((g,D)=>{for(let S=0;S<o.length;S++)o[S].then(O=>{k||(k=!0,g(O))},O=>{R.push(O),f--,0===f&&(k=!0,D(new h(R,"All promises were rejected")))})})}static race(u){let o,f,k=new this((D,S)=>{o=D,f=S});function R(D){o(D)}function g(D){f(D)}for(let D of u)U(D)||(D=this.resolve(D)),D.then(R,g);return k}static all(u){return c.allWithCallback(u)}static allSettled(u){return(this&&this.prototype instanceof c?this:c).allWithCallback(u,{thenCallback:f=>({status:"fulfilled",value:f}),errorCallback:f=>({status:"rejected",reason:f})})}static allWithCallback(u,o){let f,k,R=new this((O,F)=>{f=O,k=F}),g=2,D=0;const S=[];for(let O of u){U(O)||(O=this.resolve(O));const F=D;try{O.then(B=>{S[F]=o?o.thenCallback(B):B,g--,0===g&&f(S)},B=>{o?(S[F]=o.errorCallback(B),g--,0===g&&f(S)):k(B)})}catch(B){k(B)}g++,D++}return g-=2,0===g&&f(S),R}constructor(u){const o=this;if(!(o instanceof c))throw new Error("Must be an instanceof Promise.");o[X]=A,o[C]=[];try{const f=P();u&&u(f(I(o,y)),f(I(o,V)))}catch(f){Y(o,!1,f)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return c}then(u,o){let f=this.constructor?.[Symbol.species];(!f||"function"!=typeof f)&&(f=this.constructor||c);const k=new f(j),R=n.current;return this[X]==A?this[C].push(R,k,u,o):ee(this,R,k,u,o),k}catch(u){return this.then(null,u)}finally(u){let o=this.constructor?.[Symbol.species];(!o||"function"!=typeof o)&&(o=c);const f=new o(j);f[T]=T;const k=n.current;return this[X]==A?this[C].push(k,f,u,u):ee(this,k,f,u,u),f}}c.resolve=c.resolve,c.reject=c.reject,c.race=c.race,c.all=c.all;const t=e[v]=e.Promise;e.Promise=c;const _=p("thenPatched");function w(a){const u=a.prototype,o=r(u,"then");if(o&&(!1===o.writable||!o.configurable))return;const f=u.then;u[m]=f,a.prototype.then=function(k,R){return new c((D,S)=>{f.call(this,D,S)}).then(k,R)},a[_]=!0}return s.patchThen=w,t&&(w(t),le(e,"fetch",a=>function L(a){return function(u,o){let f=a.apply(u,o);if(f instanceof c)return f;let k=f.constructor;return k[_]||w(k),f}}(a))),Promise[n.__symbol__("uncaughtPromiseErrors")]=E,c}),Zone.__load_patch("toString",e=>{const n=Function.prototype.toString,s=H("OriginalDelegate"),r=H("Promise"),i=H("Error"),l=function(){if("function"==typeof this){const v=this[s];if(v)return"function"==typeof v?n.call(v):Object.prototype.toString.call(v);if(this===Promise){const m=e[r];if(m)return n.call(m)}if(this===Error){const m=e[i];if(m)return n.call(m)}}return n.call(this)};l[s]=n,Function.prototype.toString=l;const p=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":p.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=H("propagationStopped");function Je(e,n){const s=(n?n(e):e)+ae,r=(n?n(e):e)+ce,i=ke+s,l=ke+r;te[e]={},te[e][ae]=i,te[e][ce]=l}function dt(e,n,s,r){const i=r&&r.add||Se,l=r&&r.rm||Oe,p=r&&r.listeners||"eventListeners",E=r&&r.rmAll||"removeAllListeners",b=H(i),v="."+i+":",m="prependListener",M="."+m+":",Z=function(C,T,K){if(C.isRemoved)return;const G=C.callback;let z;"object"==typeof G&&G.handleEvent&&(C.callback=y=>G.handleEvent(y),C.originalDelegate=G);try{C.invoke(C,T,[K])}catch(y){z=y}const A=C.options;return A&&"object"==typeof A&&A.once&&T[l].call(T,K.type,C.originalDelegate?C.originalDelegate:C.callback,A),z};function N(C,T,K){if(!(T=T||e.event))return;const G=C||T.target||e,z=G[te[T.type][K?ce:ae]];if(z){const A=[];if(1===z.length){const y=Z(z[0],G,T);y&&A.push(y)}else{const y=z.slice();for(let V=0;V<y.length&&(!T||!0!==T[Ke]);V++){const d=Z(y[V],G,T);d&&A.push(d)}}if(1===A.length)throw A[0];for(let y=0;y<A.length;y++){const V=A[y];n.nativeScheduleMicroTask(()=>{throw V})}}}const U=function(C){return N(this,C,!1)},x=function(C){return N(this,C,!0)};function J(C,T){if(!C)return!1;let K=!0;T&&void 0!==T.useG&&(K=T.useG);const G=T&&T.vh;let z=!0;T&&void 0!==T.chkDup&&(z=T.chkDup);let A=!1;T&&void 0!==T.rt&&(A=T.rt);let y=C;for(;y&&!y.hasOwnProperty(i);)y=de(y);if(!y&&C[i]&&(y=C),!y||y[b])return!1;const V=T&&T.eventNameToString,d={},I=y[b]=y[i],P=y[H(l)]=y[l],Q=y[H(p)]=y[p],oe=y[H(E)]=y[E];let Y;T&&T.prepend&&(Y=y[H(T.prepend)]=y[T.prepend]);const c=K?function(o){if(!d.isExisting)return I.call(d.target,d.eventName,d.capture?x:U,d.options)}:function(o){return I.call(d.target,d.eventName,o.invoke,d.options)},t=K?function(o){if(!o.isRemoved){const f=te[o.eventName];let k;f&&(k=f[o.capture?ce:ae]);const R=k&&o.target[k];if(R)for(let g=0;g<R.length;g++)if(R[g]===o){R.splice(g,1),o.isRemoved=!0,0===R.length&&(o.allRemoved=!0,o.target[k]=null);break}}if(o.allRemoved)return P.call(o.target,o.eventName,o.capture?x:U,o.options)}:function(o){return P.call(o.target,o.eventName,o.invoke,o.options)},w=T&&T.diff?T.diff:function(o,f){const k=typeof f;return"function"===k&&o.callback===f||"object"===k&&o.originalDelegate===f},L=Zone[H("UNPATCHED_EVENTS")],a=e[H("PASSIVE_EVENTS")],u=function(o,f,k,R,g=!1,D=!1){return function(){const S=this||e;let O=arguments[0];T&&T.transferEventName&&(O=T.transferEventName(O));let F=arguments[1];if(!F)return o.apply(this,arguments);if(we&&"uncaughtException"===O)return o.apply(this,arguments);let B=!1;if("function"!=typeof F){if(!F.handleEvent)return o.apply(this,arguments);B=!0}if(G&&!G(o,F,S,arguments))return;const fe=ye&&!!a&&-1!==a.indexOf(O),se=function W(o,f){return!ye&&"object"==typeof o&&o?!!o.capture:ye&&f?"boolean"==typeof o?{capture:o,passive:!0}:o?"object"==typeof o&&!1!==o.passive?{...o,passive:!0}:o:{passive:!0}:o}(arguments[2],fe);if(L)for(let _e=0;_e<L.length;_e++)if(O===L[_e])return fe?o.call(S,O,F,se):o.apply(this,arguments);const xe=!!se&&("boolean"==typeof se||se.capture),nt=!(!se||"object"!=typeof se)&&se.once,kt=Zone.current;let Ge=te[O];Ge||(Je(O,V),Ge=te[O]);const rt=Ge[xe?ce:ae];let De,me=S[rt],ot=!1;if(me){if(ot=!0,z)for(let _e=0;_e<me.length;_e++)if(w(me[_e],F))return}else me=S[rt]=[];const st=S.constructor.name,it=Ye[st];it&&(De=it[O]),De||(De=st+f+(V?V(O):O)),d.options=se,nt&&(d.options.once=!1),d.target=S,d.capture=xe,d.eventName=O,d.isExisting=ot;const be=K?ht:void 0;be&&(be.taskData=d);const he=kt.scheduleEventTask(De,F,be,k,R);return d.target=null,be&&(be.taskData=null),nt&&(se.once=!0),!ye&&"boolean"==typeof he.options||(he.options=se),he.target=S,he.capture=xe,he.eventName=O,B&&(he.originalDelegate=F),D?me.unshift(he):me.push(he),g?S:void 0}};return y[i]=u(I,v,c,t,A),Y&&(y[m]=u(Y,M,function(o){return Y.call(d.target,d.eventName,o.invoke,d.options)},t,A,!0)),y[l]=function(){const o=this||e;let f=arguments[0];T&&T.transferEventName&&(f=T.transferEventName(f));const k=arguments[2],R=!!k&&("boolean"==typeof k||k.capture),g=arguments[1];if(!g)return P.apply(this,arguments);if(G&&!G(P,g,o,arguments))return;const D=te[f];let S;D&&(S=D[R?ce:ae]);const O=S&&o[S];if(O)for(let F=0;F<O.length;F++){const B=O[F];if(w(B,g))return O.splice(F,1),B.isRemoved=!0,0===O.length&&(B.allRemoved=!0,o[S]=null,"string"==typeof f)&&(o[ke+"ON_PROPERTY"+f]=null),B.zone.cancelTask(B),A?o:void 0}return P.apply(this,arguments)},y[p]=function(){const o=this||e;let f=arguments[0];T&&T.transferEventName&&(f=T.transferEventName(f));const k=[],R=Qe(o,V?V(f):f);for(let g=0;g<R.length;g++){const D=R[g];k.push(D.originalDelegate?D.originalDelegate:D.callback)}return k},y[E]=function(){const o=this||e;let f=arguments[0];if(f){T&&T.transferEventName&&(f=T.transferEventName(f));const k=te[f];if(k){const D=o[k[ae]],S=o[k[ce]];if(D){const O=D.slice();for(let F=0;F<O.length;F++){const B=O[F];this[l].call(this,f,B.originalDelegate?B.originalDelegate:B.callback,B.options)}}if(S){const O=S.slice();for(let F=0;F<O.length;F++){const B=O[F];this[l].call(this,f,B.originalDelegate?B.originalDelegate:B.callback,B.options)}}}}else{const k=Object.keys(o);for(let R=0;R<k.length;R++){const D=$e.exec(k[R]);let S=D&&D[1];S&&"removeListener"!==S&&this[E].call(this,S)}this[E].call(this,"removeListener")}if(A)return this},ue(y[i],I),ue(y[l],P),oe&&ue(y[E],oe),Q&&ue(y[p],Q),!0}let X=[];for(let C=0;C<s.length;C++)X[C]=J(s[C],r);return X}function Qe(e,n){if(!n){const l=[];for(let p in e){const E=$e.exec(p);let b=E&&E[1];if(b&&(!n||b===n)){const v=e[p];if(v)for(let m=0;m<v.length;m++)l.push(v[m])}}return l}let s=te[n];s||(Je(n),s=te[n]);const r=e[s[ae]],i=e[s[ce]];return r?i?r.concat(i):r.slice():i?i.slice():[]}function _t(e,n){const s=e.Event;s&&s.prototype&&n.patchMethod(s.prototype,"stopImmediatePropagation",r=>function(i,l){i[Ke]=!0,r&&r.apply(i,l)})}function Et(e,n,s,r,i){const l=Zone.__symbol__(r);if(n[l])return;const p=n[l]=n[r];n[r]=function(E,b,v){return b&&b.prototype&&i.forEach(function(m){const M=`${s}.${r}::`+m,Z=b.prototype;try{if(Z.hasOwnProperty(m)){const N=e.ObjectGetOwnPropertyDescriptor(Z,m);N&&N.value?(N.value=e.wrapWithCurrentZone(N.value,M),e._redefineProperty(b.prototype,m,N)):Z[m]&&(Z[m]=e.wrapWithCurrentZone(Z[m],M))}else Z[m]&&(Z[m]=e.wrapWithCurrentZone(Z[m],M))}catch{}}),p.call(n,E,b,v)},e.attachOriginToPatched(n[r],p)}function et(e,n,s){if(!s||0===s.length)return n;const r=s.filter(l=>l.target===e);if(!r||0===r.length)return n;const i=r[0].ignoreProperties;return n.filter(l=>-1===i.indexOf(l))}function tt(e,n,s,r){e&&Xe(e,et(e,n,s),r)}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,s)=>{const r=He(e);s.patchOnProperties=Xe,s.patchMethod=le,s.bindArguments=Le,s.patchMacroTask=lt;const i=n.__symbol__("BLACK_LISTED_EVENTS"),l=n.__symbol__("UNPATCHED_EVENTS");e[l]&&(e[i]=e[l]),e[i]&&(n[i]=n[l]=e[i]),s.patchEventPrototype=_t,s.patchEventTarget=dt,s.isIEOrEdge=ft,s.ObjectDefineProperty=Ee,s.ObjectGetOwnPropertyDescriptor=ie,s.ObjectCreate=ge,s.ArraySlice=Ve,s.patchClass=ve,s.wrapWithCurrentZone=Ie,s.filterProperties=et,s.attachOriginToPatched=ue,s._redefineProperty=Object.defineProperty,s.patchCallbacks=Et,s.getGlobalObjects=()=>({globalSources:Ye,zoneSymbolEventNames:te,eventNames:r,isBrowser:Ae,isMix:Ue,isNode:we,TRUE_STR:ce,FALSE_STR:ae,ZONE_SYMBOL_PREFIX:ke,ADD_EVENT_LISTENER_STR:Se,REMOVE_EVENT_LISTENER_STR:Oe})});const Ce=H("zoneTask");function pe(e,n,s,r){let i=null,l=null;s+=r;const p={};function E(v){const m=v.data;return m.args[0]=function(){return v.invoke.apply(this,arguments)},m.handleId=i.apply(e,m.args),v}function b(v){return l.call(e,v.data.handleId)}i=le(e,n+=r,v=>function(m,M){if("function"==typeof M[0]){const Z={isPeriodic:"Interval"===r,delay:"Timeout"===r||"Interval"===r?M[1]||0:void 0,args:M},N=M[0];M[0]=function(){try{return N.apply(this,arguments)}finally{Z.isPeriodic||("number"==typeof Z.handleId?delete p[Z.handleId]:Z.handleId&&(Z.handleId[Ce]=null))}};const U=Me(n,M[0],Z,E,b);if(!U)return U;const x=U.data.handleId;return"number"==typeof x?p[x]=U:x&&(x[Ce]=U),x&&x.ref&&x.unref&&"function"==typeof x.ref&&"function"==typeof x.unref&&(U.ref=x.ref.bind(x),U.unref=x.unref.bind(x)),"number"==typeof x||x?x:U}return v.apply(e,M)}),l=le(e,s,v=>function(m,M){const Z=M[0];let N;"number"==typeof Z?N=p[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 p[Z]:Z&&(Z[Ce]=null),N.zone.cancelTask(N)):v.apply(e,M)})}Zone.__load_patch("legacy",e=>{const n=e[Zone.__symbol__("legacyPatch")];n&&n()}),Zone.__load_patch("timers",e=>{const n="set",s="clear";pe(e,n,s,"Timeout"),pe(e,n,s,"Interval"),pe(e,n,s,"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 s=["alert","prompt","confirm"];for(let r=0;r<s.length;r++)le(e,s[r],(l,p,E)=>function(b,v){return n.current.run(l,e,v,E)})}),Zone.__load_patch("EventTarget",(e,n,s)=>{(function gt(e,n){n.patchEventPrototype(e,n)})(e,s),function mt(e,n){if(Zone[n.symbol("patchEventTarget")])return;const{eventNames:s,zoneSymbolEventNames:r,TRUE_STR:i,FALSE_STR:l,ZONE_SYMBOL_PREFIX:p}=n.getGlobalObjects();for(let b=0;b<s.length;b++){const v=s[b],Z=p+(v+l),N=p+(v+i);r[v]={},r[v][l]=Z,r[v][i]=N}const E=e.EventTarget;E&&E.prototype&&n.patchEventTarget(e,n,[E&&E.prototype])}(e,s);const r=e.XMLHttpRequestEventTarget;r&&r.prototype&&s.patchEventTarget(e,s,[r.prototype])}),Zone.__load_patch("MutationObserver",(e,n,s)=>{ve("MutationObserver"),ve("WebKitMutationObserver")}),Zone.__load_patch("IntersectionObserver",(e,n,s)=>{ve("IntersectionObserver")}),Zone.__load_patch("FileReader",(e,n,s)=>{ve("FileReader")}),Zone.__load_patch("on_property",(e,n,s)=>{!function Tt(e,n){if(we&&!Ue||Zone[e.symbol("patchEvents")])return;const s=n.__Zone_ignore_on_properties;let r=[];if(Ae){const i=window;r=r.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);const l=function ut(){try{const e=Te.navigator.userAgent;if(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/"))return!0}catch{}return!1}()?[{target:i,ignoreProperties:["error"]}]:[];tt(i,He(i),s&&s.concat(l),de(i))}r=r.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let i=0;i<r.length;i++){const l=n[r[i]];l&&l.prototype&&tt(l.prototype,He(l.prototype),s)}}(s,e)}),Zone.__load_patch("customElements",(e,n,s)=>{!function pt(e,n){const{isBrowser:s,isMix:r}=n.getGlobalObjects();(s||r)&&e.customElements&&"customElements"in e&&n.patchCallbacks(n,e.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(e,s)}),Zone.__load_patch("XHR",(e,n)=>{!function b(v){const m=v.XMLHttpRequest;if(!m)return;const M=m.prototype;let N=M[Ze],U=M[Ne];if(!N){const d=v.XMLHttpRequestEventTarget;if(d){const I=d.prototype;N=I[Ze],U=I[Ne]}}const x="readystatechange",J="scheduled";function X(d){const I=d.data,P=I.target;P[l]=!1,P[E]=!1;const Q=P[i];N||(N=P[Ze],U=P[Ne]),Q&&U.call(P,x,Q);const oe=P[i]=()=>{if(P.readyState===P.DONE)if(!I.aborted&&P[l]&&d.state===J){const W=P[n.__symbol__("loadfalse")];if(0!==P.status&&W&&W.length>0){const re=d.invoke;d.invoke=function(){const ee=P[n.__symbol__("loadfalse")];for(let q=0;q<ee.length;q++)ee[q]===d&&ee.splice(q,1);!I.aborted&&d.state===J&&re.call(d)},W.push(d)}else d.invoke()}else!I.aborted&&!1===P[l]&&(P[E]=!0)};return N.call(P,x,oe),P[s]||(P[s]=d),y.apply(P,I.args),P[l]=!0,d}function C(){}function T(d){const I=d.data;return I.aborted=!0,V.apply(I.target,I.args)}const K=le(M,"open",()=>function(d,I){return d[r]=0==I[2],d[p]=I[1],K.apply(d,I)}),z=H("fetchTaskAborting"),A=H("fetchTaskScheduling"),y=le(M,"send",()=>function(d,I){if(!0===n.current[A]||d[r])return y.apply(d,I);{const P={target:d,url:d[p],isPeriodic:!1,args:I,aborted:!1},Q=Me("XMLHttpRequest.send",C,P,X,T);d&&!0===d[E]&&!P.aborted&&Q.state===J&&Q.invoke()}}),V=le(M,"abort",()=>function(d,I){const P=function Z(d){return d[s]}(d);if(P&&"string"==typeof P.type){if(null==P.cancelFn||P.data&&P.data.aborted)return;P.zone.cancelTask(P)}else if(!0===n.current[z])return V.apply(d,I)})}(e);const s=H("xhrTask"),r=H("xhrSync"),i=H("xhrListener"),l=H("xhrScheduled"),p=H("xhrURL"),E=H("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",e=>{e.navigator&&e.navigator.geolocation&&function at(e,n){const s=e.constructor.name;for(let r=0;r<n.length;r++){const i=n[r],l=e[i];if(l){if(!Fe(ie(e,i)))continue;e[i]=(E=>{const b=function(){return E.apply(this,Le(arguments,s+"."+i))};return ue(b,E),b})(l)}}}(e.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(e,n)=>{function s(r){return function(i){Qe(e,r).forEach(p=>{const E=e.PromiseRejectionEvent;if(E){const b=new E(r,{promise:i.promise,reason:i.rejection});p.invoke(b)}})}}e.PromiseRejectionEvent&&(n[H("unhandledPromiseRejectionHandler")]=s("unhandledrejection"),n[H("rejectionHandledHandler")]=s("rejectionhandled"))}),Zone.__load_patch("queueMicrotask",(e,n,s)=>{!function yt(e,n){n.patchMethod(e,"queueMicrotask",s=>function(r,i){Zone.current.scheduleMicroTask("queueMicrotask",i[0])})}(e,s)})}},ie=>{ie(ie.s=5321)}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(()=>{"use strict";var e,v={},m={};function r(e){var n=m[e];if(void 0!==n)return n.exports;var t=m[e]={exports:{}};return v[e](t,t.exports,r),t.exports}r.m=v,e=[],r.O=(n,t,i,o)=>{if(!t){var a=1/0;for(f=0;f<e.length;f++){for(var[t,i,o]=e[f],c=!0,u=0;u<t.length;u++)(!1&o||a>=o)&&Object.keys(r.O).every(b=>r.O[b](t[u]))?t.splice(u--,1):(c=!1,o<a&&(a=o));if(c){e.splice(f--,1);var l=i();void 0!==l&&(n=l)}}return n}o=o||0;for(var f=e.length;f>0&&e[f-1][2]>o;f--)e[f]=e[f-1];e[f]=[t,i,o]},r.n=e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return r.d(n,{a:n}),n},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)+"."+{180:"157bd1d903805176",530:"dd4e93b62ef31395",592:"5d92d1ca7eb7d8e4",609:"359a127270372791"}[e]+".js",r.miniCssF=e=>{},r.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),(()=>{var e={},n="feedback:";r.l=(t,i,o,f)=>{if(e[t])e[t].push(i);else{var a,c;if(void 0!==o)for(var u=document.getElementsByTagName("script"),l=0;l<u.length;l++){var d=u[l];if(d.getAttribute("src")==t||d.getAttribute("data-webpack")==n+o){a=d;break}}a||(c=!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+o),a.src=r.tu(t)),e[t]=[i];var s=(g,b)=>{a.onerror=a.onload=null,clearTimeout(p);var _=e[t];if(delete e[t],a.parentNode&&a.parentNode.removeChild(a),_&&_.forEach(h=>h(b)),g)return g(b)},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),c&&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})},(()=>{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/receiptfeedback@1.0.0/feedback/",(()=>{var e={666:0};r.f.j=(i,o)=>{var f=r.o(e,i)?e[i]:void 0;if(0!==f)if(f)o.push(f[2]);else if(666!=i){var a=new Promise((d,s)=>f=e[i]=[d,s]);o.push(f[2]=a);var c=r.p+r.u(i),u=new Error;r.l(c,d=>{if(r.o(e,i)&&(0!==(f=e[i])&&(e[i]=void 0),f)){var s=d&&("load"===d.type?"missing":d.type),p=d&&d.target&&d.target.src;u.message="Loading chunk "+i+" failed.\n("+s+": "+p+")",u.name="ChunkLoadError",u.type=s,u.request=p,f[1](u)}},"chunk-"+i,i)}else e[i]=0},r.O.j=i=>0===e[i];var n=(i,o)=>{var u,l,[f,a,c]=o,d=0;if(f.some(p=>0!==e[p])){for(u in a)r.o(a,u)&&(r.m[u]=a[u]);if(c)var s=c(r)}for(i&&i(o);d<f.length;d++)r.o(e,l=f[d])&&e[l]&&e[l][0](),e[l]=0;return r.O(s)},t=self.webpackChunkfeedback=self.webpackChunkfeedback||[];t.forEach(n.bind(null,0)),t.push=n.bind(null,t.push.bind(t))})()})();
|
package/safety-worker.js
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright Google LLC All Rights Reserved.
|
|
4
|
+
*
|
|
5
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
6
|
+
* found in the LICENSE file at https://angular.io/license
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
// tslint:disable:no-console
|
|
10
|
+
|
|
11
|
+
self.addEventListener('install', event => {
|
|
12
|
+
self.skipWaiting();
|
|
13
|
+
});
|
|
14
|
+
|
|
15
|
+
self.addEventListener('activate', event => {
|
|
16
|
+
event.waitUntil(self.clients.claim());
|
|
17
|
+
|
|
18
|
+
event.waitUntil(self.registration.unregister().then(() => {
|
|
19
|
+
console.log('NGSW Safety Worker - unregistered old service worker');
|
|
20
|
+
}));
|
|
21
|
+
|
|
22
|
+
event.waitUntil(caches.keys().then(cacheNames => {
|
|
23
|
+
const ngswCacheNames = cacheNames.filter(name => /^ngsw:/.test(name));
|
|
24
|
+
return Promise.all(ngswCacheNames.map(name => caches.delete(name)));
|
|
25
|
+
}));
|
|
26
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(V,z){"object"==typeof exports&&typeof module<"u"?module.exports=z(require("@popperjs/core")):"function"==typeof define&&define.amd?define(["@popperjs/core"],z):(V=typeof globalThis<"u"?globalThis:V||self).bootstrap=z(V.Popper)}(this,function(V){"use strict";function z(s){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(s)for(const e in s)if("default"!==e){const n=Object.getOwnPropertyDescriptor(s,e);Object.defineProperty(t,e,n.get?n:{enumerable:!0,get:()=>s[e]})}return t.default=s,Object.freeze(t)}const it=z(V),S=new Map,At={set(s,t,e){S.has(s)||S.set(s,new Map);const n=S.get(s);n.has(t)||0===n.size?n.set(t,e):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(n.keys())[0]}.`)},get:(s,t)=>S.has(s)&&S.get(s).get(t)||null,remove(s,t){if(!S.has(s))return;const e=S.get(s);e.delete(t),0===e.size&&S.delete(s)}},Tt="transitionend",Yt=s=>(s&&window.CSS&&window.CSS.escape&&(s=s.replace(/#([^\s"#']+)/g,(t,e)=>`#${CSS.escape(e)}`)),s),Ft=s=>{s.dispatchEvent(new Event(Tt))},b=s=>!(!s||"object"!=typeof s)&&(typeof s.jquery<"u"&&(s=s[0]),typeof s.nodeType<"u"),y=s=>b(s)?s.jquery?s[0]:s:"string"==typeof s&&s.length>0?document.querySelector(Yt(s)):null,H=s=>{if(!b(s)||0===s.getClientRects().length)return!1;const t="visible"===getComputedStyle(s).getPropertyValue("visibility"),e=s.closest("details:not([open])");if(!e)return t;if(e!==s){const n=s.closest("summary");if(n&&n.parentNode!==e||null===n)return!1}return t},O=s=>!(s&&s.nodeType===Node.ELEMENT_NODE&&!s.classList.contains("disabled"))||(typeof s.disabled<"u"?s.disabled:s.hasAttribute("disabled")&&"false"!==s.getAttribute("disabled")),jt=s=>{if(!document.documentElement.attachShadow)return null;if("function"==typeof s.getRootNode){const t=s.getRootNode();return t instanceof ShadowRoot?t:null}return s instanceof ShadowRoot?s:s.parentNode?jt(s.parentNode):null},ot=()=>{},Bt=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,bt=[],d=()=>"rtl"===document.documentElement.dir,f=s=>{(s=>{"loading"===document.readyState?(bt.length||document.addEventListener("DOMContentLoaded",()=>{for(const t of bt)t()}),bt.push(s)):s()})(()=>{const t=Bt();if(t){const e=s.NAME,n=t.fn[e];t.fn[e]=s.jQueryInterface,t.fn[e].Constructor=s,t.fn[e].noConflict=()=>(t.fn[e]=n,s.jQueryInterface)}})},u=(s,t=[],e=s)=>"function"==typeof s?s(...t):e,Ut=(s,t,e=!0)=>{if(!e)return void u(s);const i=(s=>{if(!s)return 0;let{transitionDuration:t,transitionDelay:e}=window.getComputedStyle(s);const n=Number.parseFloat(t),i=Number.parseFloat(e);return n||i?(t=t.split(",")[0],e=e.split(",")[0],1e3*(Number.parseFloat(t)+Number.parseFloat(e))):0})(t)+5;let a=!1;const r=({target:c})=>{c===t&&(a=!0,t.removeEventListener(Tt,r),u(s))};t.addEventListener(Tt,r),setTimeout(()=>{a||Ft(t)},i)},Nt=(s,t,e,n)=>{const i=s.length;let a=s.indexOf(t);return-1===a?!e&&n?s[i-1]:s[0]:(a+=e?1:-1,n&&(a=(a+i)%i),s[Math.max(0,Math.min(a,i-1))])},Qe=/[^.]*(?=\..*)\.|.*/,Xe=/\..*/,Ze=/::\d+$/,Ct={};let Gt=1;const zt={mouseenter:"mouseover",mouseleave:"mouseout"},Je=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 qt(s,t){return t&&`${t}::${Gt++}`||s.uidEvent||Gt++}function Qt(s){const t=qt(s);return s.uidEvent=t,Ct[t]=Ct[t]||{},Ct[t]}function Xt(s,t,e=null){return Object.values(s).find(n=>n.callable===t&&n.delegationSelector===e)}function Zt(s,t,e){const n="string"==typeof t,i=n?e:t||e;let a=te(s);return Je.has(a)||(a=s),[n,i,a]}function Jt(s,t,e,n,i){if("string"!=typeof t||!s)return;let[a,r,c]=Zt(t,e,n);var Go;t in zt&&(Go=r,r=function(G){if(!G.relatedTarget||G.relatedTarget!==G.delegateTarget&&!G.delegateTarget.contains(G.relatedTarget))return Go.call(this,G)});const _=Qt(s),E=_[c]||(_[c]={}),h=Xt(E,r,a?e:null);if(h)return void(h.oneOff=h.oneOff&&i);const T=qt(r,t.replace(Qe,"")),A=a?function es(s,t,e){return function n(i){const a=s.querySelectorAll(t);for(let{target:r}=i;r&&r!==this;r=r.parentNode)for(const c of a)if(c===r)return St(i,{delegateTarget:r}),n.oneOff&&o.off(s,i.type,t,e),e.apply(r,[i])}}(s,e,r):function ts(s,t){return function e(n){return St(n,{delegateTarget:s}),e.oneOff&&o.off(s,n.type,t),t.apply(s,[n])}}(s,r);A.delegationSelector=a?e:null,A.callable=r,A.oneOff=i,A.uidEvent=T,E[T]=A,s.addEventListener(c,A,a)}function vt(s,t,e,n,i){const a=Xt(t[e],n,i);a&&(s.removeEventListener(e,a,!!i),delete t[e][a.uidEvent])}function ss(s,t,e,n){const i=t[e]||{};for(const[a,r]of Object.entries(i))a.includes(n)&&vt(s,t,e,r.callable,r.delegationSelector)}function te(s){return s=s.replace(Xe,""),zt[s]||s}const o={on(s,t,e,n){Jt(s,t,e,n,!1)},one(s,t,e,n){Jt(s,t,e,n,!0)},off(s,t,e,n){if("string"!=typeof t||!s)return;const[i,a,r]=Zt(t,e,n),c=r!==t,_=Qt(s),E=_[r]||{},h=t.startsWith(".");if(typeof a<"u"){if(!Object.keys(E).length)return;vt(s,_,r,a,i?e:null)}else{if(h)for(const T of Object.keys(_))ss(s,_,T,t.slice(1));for(const[T,A]of Object.entries(E)){const gt=T.replace(Ze,"");(!c||t.includes(gt))&&vt(s,_,r,A.callable,A.delegationSelector)}}},trigger(s,t,e){if("string"!=typeof t||!s)return null;const n=Bt();let r=null,c=!0,_=!0,E=!1;t!==te(t)&&n&&(r=n.Event(t,e),n(s).trigger(r),c=!r.isPropagationStopped(),_=!r.isImmediatePropagationStopped(),E=r.isDefaultPrevented());const h=St(new Event(t,{bubbles:c,cancelable:!0}),e);return E&&h.preventDefault(),_&&s.dispatchEvent(h),h.defaultPrevented&&r&&r.preventDefault(),h}};function St(s,t={}){for(const[e,n]of Object.entries(t))try{s[e]=n}catch{Object.defineProperty(s,e,{configurable:!0,get:()=>n})}return s}function ee(s){if("true"===s)return!0;if("false"===s)return!1;if(s===Number(s).toString())return Number(s);if(""===s||"null"===s)return null;if("string"!=typeof s)return s;try{return JSON.parse(decodeURIComponent(s))}catch{return s}}function yt(s){return s.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}const N={setDataAttribute(s,t,e){s.setAttribute(`data-bs-${yt(t)}`,e)},removeDataAttribute(s,t){s.removeAttribute(`data-bs-${yt(t)}`)},getDataAttributes(s){if(!s)return{};const t={},e=Object.keys(s.dataset).filter(n=>n.startsWith("bs")&&!n.startsWith("bsConfig"));for(const n of e){let i=n.replace(/^bs/,"");i=i.charAt(0).toLowerCase()+i.slice(1,i.length),t[i]=ee(s.dataset[n])}return t},getDataAttribute:(s,t)=>ee(s.getAttribute(`data-bs-${yt(t)}`))};class Q{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(t){return t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t}_mergeConfigObj(t,e){const n=b(e)?N.getDataAttribute(e,"config"):{};return{...this.constructor.Default,..."object"==typeof n?n:{},...b(e)?N.getDataAttributes(e):{},..."object"==typeof t?t:{}}}_typeCheckConfig(t,e=this.constructor.DefaultType){for(const[n,i]of Object.entries(e)){const a=t[n],r=b(a)?"element":null==(s=a)?`${s}`:Object.prototype.toString.call(s).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(i).test(r))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${n}" provided type "${r}" but expected type "${i}".`)}var s}}class m extends Q{constructor(t,e){super(),(t=y(t))&&(this._element=t,this._config=this._getConfig(e),At.set(this._element,this.constructor.DATA_KEY,this))}dispose(){At.remove(this._element,this.constructor.DATA_KEY),o.off(this._element,this.constructor.EVENT_KEY);for(const t of Object.getOwnPropertyNames(this))this[t]=null}_queueCallback(t,e,n=!0){Ut(t,e,n)}_getConfig(t){return t=this._mergeConfigObj(t,this._element),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}static getInstance(t){return At.get(y(t),this.DATA_KEY)}static getOrCreateInstance(t,e={}){return this.getInstance(t)||new this(t,"object"==typeof e?e:null)}static get VERSION(){return"5.3.1"}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(t){return`${t}${this.EVENT_KEY}`}}const Ot=s=>{let t=s.getAttribute("data-bs-target");if(!t||"#"===t){let e=s.getAttribute("href");if(!e||!e.includes("#")&&!e.startsWith("."))return null;e.includes("#")&&!e.startsWith("#")&&(e=`#${e.split("#")[1]}`),t=e&&"#"!==e?e.trim():null}return Yt(t)},l={find:(s,t=document.documentElement)=>[].concat(...Element.prototype.querySelectorAll.call(t,s)),findOne:(s,t=document.documentElement)=>Element.prototype.querySelector.call(t,s),children:(s,t)=>[].concat(...s.children).filter(e=>e.matches(t)),parents(s,t){const e=[];let n=s.parentNode.closest(t);for(;n;)e.push(n),n=n.parentNode.closest(t);return e},prev(s,t){let e=s.previousElementSibling;for(;e;){if(e.matches(t))return[e];e=e.previousElementSibling}return[]},next(s,t){let e=s.nextElementSibling;for(;e;){if(e.matches(t))return[e];e=e.nextElementSibling}return[]},focusableChildren(s){const t=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(e=>`${e}:not([tabindex^="-"])`).join(",");return this.find(t,s).filter(e=>!O(e)&&H(e))},getSelectorFromElement(s){const t=Ot(s);return t&&l.findOne(t)?t:null},getElementFromSelector(s){const t=Ot(s);return t?l.findOne(t):null},getMultipleElementsFromSelector(s){const t=Ot(s);return t?l.find(t):[]}},rt=(s,t="hide")=>{const n=s.NAME;o.on(document,`click.dismiss${s.EVENT_KEY}`,`[data-bs-dismiss="${n}"]`,function(i){if(["A","AREA"].includes(this.tagName)&&i.preventDefault(),O(this))return;const a=l.getElementFromSelector(this)||this.closest(`.${n}`);s.getOrCreateInstance(a)[t]()})},se=".bs.alert",os=`close${se}`,rs=`closed${se}`;class X extends m{static get NAME(){return"alert"}close(){if(o.trigger(this._element,os).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(),o.trigger(this._element,rs),this.dispose()}static jQueryInterface(t){return this.each(function(){const e=X.getOrCreateInstance(this);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t](this)}})}}rt(X,"close"),f(X);const ne='[data-bs-toggle="button"]';class Z extends m{static get NAME(){return"button"}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle("active"))}static jQueryInterface(t){return this.each(function(){const e=Z.getOrCreateInstance(this);"toggle"===t&&e[t]()})}}o.on(document,"click.bs.button.data-api",ne,s=>{s.preventDefault();const t=s.target.closest(ne);Z.getOrCreateInstance(t).toggle()}),f(Z);const x=".bs.swipe",ps=`touchstart${x}`,Es=`touchmove${x}`,ms=`touchend${x}`,gs=`pointerdown${x}`,As=`pointerup${x}`,vs={endCallback:null,leftCallback:null,rightCallback:null},Ss={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class at extends Q{constructor(t,e){super(),this._element=t,t&&at.isSupported()&&(this._config=this._getConfig(e),this._deltaX=0,this._supportPointerEvents=!!window.PointerEvent,this._initEvents())}static get Default(){return vs}static get DefaultType(){return Ss}static get NAME(){return"swipe"}dispose(){o.off(this._element,x)}_start(t){this._supportPointerEvents?this._eventIsPointerPenTouch(t)&&(this._deltaX=t.clientX):this._deltaX=t.touches[0].clientX}_end(t){this._eventIsPointerPenTouch(t)&&(this._deltaX=t.clientX-this._deltaX),this._handleSwipe(),u(this._config.endCallback)}_move(t){this._deltaX=t.touches&&t.touches.length>1?0:t.touches[0].clientX-this._deltaX}_handleSwipe(){const t=Math.abs(this._deltaX);if(t<=40)return;const e=t/this._deltaX;this._deltaX=0,e&&u(e>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(o.on(this._element,gs,t=>this._start(t)),o.on(this._element,As,t=>this._end(t)),this._element.classList.add("pointer-event")):(o.on(this._element,ps,t=>this._start(t)),o.on(this._element,Es,t=>this._move(t)),o.on(this._element,ms,t=>this._end(t)))}_eventIsPointerPenTouch(t){return this._supportPointerEvents&&("pen"===t.pointerType||"touch"===t.pointerType)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const D=".bs.carousel",ie=".data-api",J="next",K="prev",W="left",lt="right",Ls=`slide${D}`,Dt=`slid${D}`,$s=`keydown${D}`,Is=`mouseenter${D}`,Ms=`mouseleave${D}`,Rs=`dragstart${D}`,Ps=`load${D}${ie}`,ks=`click${D}${ie}`,oe="carousel",ct="active",re=".active",ae=".carousel-item",Ys=re+ae,Gs={ArrowLeft:lt,ArrowRight:W},zs={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},qs={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class Y extends m{constructor(t,e){super(t,e),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=l.findOne(".carousel-indicators",this._element),this._addEventListeners(),this._config.ride===oe&&this.cycle()}static get Default(){return zs}static get DefaultType(){return qs}static get NAME(){return"carousel"}next(){this._slide(J)}nextWhenVisible(){!document.hidden&&H(this._element)&&this.next()}prev(){this._slide(K)}pause(){this._isSliding&&Ft(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval(()=>this.nextWhenVisible(),this._config.interval)}_maybeEnableCycle(){if(this._config.ride){if(this._isSliding)return void o.one(this._element,Dt,()=>this.cycle());this.cycle()}}to(t){const e=this._getItems();if(t>e.length-1||t<0)return;if(this._isSliding)return void o.one(this._element,Dt,()=>this.to(t));const n=this._getItemIndex(this._getActive());n!==t&&this._slide(t>n?J:K,e[t])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(t){return t.defaultInterval=t.interval,t}_addEventListeners(){this._config.keyboard&&o.on(this._element,$s,t=>this._keydown(t)),"hover"===this._config.pause&&(o.on(this._element,Is,()=>this.pause()),o.on(this._element,Ms,()=>this._maybeEnableCycle())),this._config.touch&&at.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const n of l.find(".carousel-item img",this._element))o.on(n,Rs,i=>i.preventDefault());this._swipeHelper=new at(this._element,{leftCallback:()=>this._slide(this._directionToOrder(W)),rightCallback:()=>this._slide(this._directionToOrder(lt)),endCallback:()=>{"hover"===this._config.pause&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),500+this._config.interval))}})}_keydown(t){if(/input|textarea/i.test(t.target.tagName))return;const e=Gs[t.key];e&&(t.preventDefault(),this._slide(this._directionToOrder(e)))}_getItemIndex(t){return this._getItems().indexOf(t)}_setActiveIndicatorElement(t){if(!this._indicatorsElement)return;const e=l.findOne(re,this._indicatorsElement);e.classList.remove(ct),e.removeAttribute("aria-current");const n=l.findOne(`[data-bs-slide-to="${t}"]`,this._indicatorsElement);n&&(n.classList.add(ct),n.setAttribute("aria-current","true"))}_updateInterval(){const t=this._activeElement||this._getActive();if(!t)return;const e=Number.parseInt(t.getAttribute("data-bs-interval"),10);this._config.interval=e||this._config.defaultInterval}_slide(t,e=null){if(this._isSliding)return;const n=this._getActive(),i=t===J,a=e||Nt(this._getItems(),n,i,this._config.wrap);if(a===n)return;const r=this._getItemIndex(a),c=gt=>o.trigger(this._element,gt,{relatedTarget:a,direction:this._orderToDirection(t),from:this._getItemIndex(n),to:r});if(c(Ls).defaultPrevented||!n||!a)return;const E=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(r),this._activeElement=a;const h=i?"carousel-item-start":"carousel-item-end",T=i?"carousel-item-next":"carousel-item-prev";a.classList.add(T),n.classList.add(h),a.classList.add(h),this._queueCallback(()=>{a.classList.remove(h,T),a.classList.add(ct),n.classList.remove(ct,T,h),this._isSliding=!1,c(Dt)},n,this._isAnimated()),E&&this.cycle()}_isAnimated(){return this._element.classList.contains("slide")}_getActive(){return l.findOne(Ys,this._element)}_getItems(){return l.find(ae,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(t){return d()?t===W?K:J:t===W?J:K}_orderToDirection(t){return d()?t===K?W:lt:t===K?lt:W}static jQueryInterface(t){return this.each(function(){const e=Y.getOrCreateInstance(this,t);if("number"!=typeof t){if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t]()}}else e.to(t)})}}o.on(document,ks,"[data-bs-slide], [data-bs-slide-to]",function(s){const t=l.getElementFromSelector(this);if(!t||!t.classList.contains(oe))return;s.preventDefault();const e=Y.getOrCreateInstance(t),n=this.getAttribute("data-bs-slide-to");return n?(e.to(n),void e._maybeEnableCycle()):"next"===N.getDataAttribute(this,"slide")?(e.next(),void e._maybeEnableCycle()):(e.prev(),void e._maybeEnableCycle())}),o.on(window,Ps,()=>{const s=l.find('[data-bs-ride="carousel"]');for(const t of s)Y.getOrCreateInstance(t)}),f(Y);const tt=".bs.collapse",Zs=`show${tt}`,Js=`shown${tt}`,tn=`hide${tt}`,en=`hidden${tt}`,sn=`click${tt}.data-api`,wt="show",F="collapse",ht="collapsing",on=`:scope .${F} .${F}`,Lt='[data-bs-toggle="collapse"]',hn={parent:null,toggle:!0},un={parent:"(null|element)",toggle:"boolean"};class j extends m{constructor(t,e){super(t,e),this._isTransitioning=!1,this._triggerArray=[];const n=l.find(Lt);for(const i of n){const a=l.getSelectorFromElement(i),r=l.find(a).filter(c=>c===this._element);null!==a&&r.length&&this._triggerArray.push(i)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return hn}static get DefaultType(){return un}static get NAME(){return"collapse"}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let t=[];if(this._config.parent&&(t=this._getFirstLevelChildren(".collapse.show, .collapse.collapsing").filter(c=>c!==this._element).map(c=>j.getOrCreateInstance(c,{toggle:!1}))),t.length&&t[0]._isTransitioning||o.trigger(this._element,Zs).defaultPrevented)return;for(const c of t)c.hide();const n=this._getDimension();this._element.classList.remove(F),this._element.classList.add(ht),this._element.style[n]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const r=`scroll${n[0].toUpperCase()+n.slice(1)}`;this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(ht),this._element.classList.add(F,wt),this._element.style[n]="",o.trigger(this._element,Js)},this._element,!0),this._element.style[n]=`${this._element[r]}px`}hide(){if(this._isTransitioning||!this._isShown()||o.trigger(this._element,tn).defaultPrevented)return;const e=this._getDimension();this._element.style[e]=`${this._element.getBoundingClientRect()[e]}px`,this._element.classList.add(ht),this._element.classList.remove(F,wt);for(const i of this._triggerArray){const a=l.getElementFromSelector(i);a&&!this._isShown(a)&&this._addAriaAndCollapsedClass([i],!1)}this._isTransitioning=!0,this._element.style[e]="",this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(ht),this._element.classList.add(F),o.trigger(this._element,en)},this._element,!0)}_isShown(t=this._element){return t.classList.contains(wt)}_configAfterMerge(t){return t.toggle=!!t.toggle,t.parent=y(t.parent),t}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(!this._config.parent)return;const t=this._getFirstLevelChildren(Lt);for(const e of t){const n=l.getElementFromSelector(e);n&&this._addAriaAndCollapsedClass([e],this._isShown(n))}}_getFirstLevelChildren(t){const e=l.find(on,this._config.parent);return l.find(t,this._config.parent).filter(n=>!e.includes(n))}_addAriaAndCollapsedClass(t,e){if(t.length)for(const n of t)n.classList.toggle("collapsed",!e),n.setAttribute("aria-expanded",e)}static jQueryInterface(t){const e={};return"string"==typeof t&&/show|hide/.test(t)&&(e.toggle=!1),this.each(function(){const n=j.getOrCreateInstance(this,e);if("string"==typeof t){if(typeof n[t]>"u")throw new TypeError(`No method named "${t}"`);n[t]()}})}}o.on(document,sn,Lt,function(s){("A"===s.target.tagName||s.delegateTarget&&"A"===s.delegateTarget.tagName)&&s.preventDefault();for(const t of l.getMultipleElementsFromSelector(this))j.getOrCreateInstance(t,{toggle:!1}).toggle()}),f(j);const le="dropdown",L=".bs.dropdown",$t=".data-api",dn="ArrowUp",he="ArrowDown",pn=`hide${L}`,En=`hidden${L}`,mn=`show${L}`,gn=`shown${L}`,ue=`click${L}${$t}`,_e=`keydown${L}${$t}`,An=`keyup${L}${$t}`,B="show",$='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',Sn=`${$}.${B}`,ut=".dropdown-menu",wn=d()?"top-end":"top-start",Ln=d()?"top-start":"top-end",$n=d()?"bottom-end":"bottom-start",In=d()?"bottom-start":"bottom-end",Mn=d()?"left-start":"right-start",Rn=d()?"right-start":"left-start",Vn={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},Hn={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class g extends m{constructor(t,e){super(t,e),this._popper=null,this._parent=this._element.parentNode,this._menu=l.next(this._element,ut)[0]||l.prev(this._element,ut)[0]||l.findOne(ut,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return Vn}static get DefaultType(){return Hn}static get NAME(){return le}toggle(){return this._isShown()?this.hide():this.show()}show(){if(O(this._element)||this._isShown())return;const t={relatedTarget:this._element};if(!o.trigger(this._element,mn,t).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(".navbar-nav"))for(const n of[].concat(...document.body.children))o.on(n,"mouseover",ot);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(B),this._element.classList.add(B),o.trigger(this._element,gn,t)}}hide(){!O(this._element)&&this._isShown()&&this._completeHide({relatedTarget:this._element})}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(t){if(!o.trigger(this._element,pn,t).defaultPrevented){if("ontouchstart"in document.documentElement)for(const n of[].concat(...document.body.children))o.off(n,"mouseover",ot);this._popper&&this._popper.destroy(),this._menu.classList.remove(B),this._element.classList.remove(B),this._element.setAttribute("aria-expanded","false"),N.removeDataAttribute(this._menu,"popper"),o.trigger(this._element,En,t)}}_getConfig(t){if("object"==typeof(t=super._getConfig(t)).reference&&!b(t.reference)&&"function"!=typeof t.reference.getBoundingClientRect)throw new TypeError(`${le.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return t}_createPopper(){if(typeof it>"u")throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let t=this._element;"parent"===this._config.reference?t=this._parent:b(this._config.reference)?t=y(this._config.reference):"object"==typeof this._config.reference&&(t=this._config.reference);const e=this._getPopperConfig();this._popper=it.createPopper(t,this._menu,e)}_isShown(){return this._menu.classList.contains(B)}_getPlacement(){const t=this._parent;if(t.classList.contains("dropend"))return Mn;if(t.classList.contains("dropstart"))return Rn;if(t.classList.contains("dropup-center"))return"top";if(t.classList.contains("dropdown-center"))return"bottom";const e="end"===getComputedStyle(this._menu).getPropertyValue("--bs-position").trim();return t.classList.contains("dropup")?e?Ln:wn:e?In:$n}_detectNavbar(){return null!==this._element.closest(".navbar")}_getOffset(){const{offset:t}=this._config;return"string"==typeof t?t.split(",").map(e=>Number.parseInt(e,10)):"function"==typeof t?e=>t(e,this._element):t}_getPopperConfig(){const t={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||"static"===this._config.display)&&(N.setDataAttribute(this._menu,"popper","static"),t.modifiers=[{name:"applyStyles",enabled:!1}]),{...t,...u(this._config.popperConfig,[t])}}_selectMenuItem({key:t,target:e}){const n=l.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter(i=>H(i));n.length&&Nt(n,e,t===he,!n.includes(e)).focus()}static jQueryInterface(t){return this.each(function(){const e=g.getOrCreateInstance(this,t);if("string"==typeof t){if(typeof e[t]>"u")throw new TypeError(`No method named "${t}"`);e[t]()}})}static clearMenus(t){if(2===t.button||"keyup"===t.type&&"Tab"!==t.key)return;const e=l.find(Sn);for(const n of e){const i=g.getInstance(n);if(!i||!1===i._config.autoClose)continue;const a=t.composedPath(),r=a.includes(i._menu);if(a.includes(i._element)||"inside"===i._config.autoClose&&!r||"outside"===i._config.autoClose&&r||i._menu.contains(t.target)&&("keyup"===t.type&&"Tab"===t.key||/input|select|option|textarea|form/i.test(t.target.tagName)))continue;const c={relatedTarget:i._element};"click"===t.type&&(c.clickEvent=t),i._completeHide(c)}}static dataApiKeydownHandler(t){const e=/input|textarea/i.test(t.target.tagName),n="Escape"===t.key,i=[dn,he].includes(t.key);if(!i&&!n||e&&!n)return;t.preventDefault();const a=this.matches($)?this:l.prev(this,$)[0]||l.next(this,$)[0]||l.findOne($,t.delegateTarget.parentNode),r=g.getOrCreateInstance(a);if(i)return t.stopPropagation(),r.show(),void r._selectMenuItem(t);r._isShown()&&(t.stopPropagation(),r.hide(),a.focus())}}o.on(document,_e,$,g.dataApiKeydownHandler),o.on(document,_e,ut,g.dataApiKeydownHandler),o.on(document,ue,g.clearMenus),o.on(document,An,g.clearMenus),o.on(document,ue,$,function(s){s.preventDefault(),g.getOrCreateInstance(this).toggle()}),f(g);const de="backdrop",pe=`mousedown.bs.${de}`,Kn={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},Wn={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class Ee extends Q{constructor(t){super(),this._config=this._getConfig(t),this._isAppended=!1,this._element=null}static get Default(){return Kn}static get DefaultType(){return Wn}static get NAME(){return de}show(t){if(!this._config.isVisible)return void u(t);this._append();this._getElement().classList.add("show"),this._emulateAnimation(()=>{u(t)})}hide(t){this._config.isVisible?(this._getElement().classList.remove("show"),this._emulateAnimation(()=>{this.dispose(),u(t)})):u(t)}dispose(){this._isAppended&&(o.off(this._element,pe),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const t=document.createElement("div");t.className=this._config.className,this._config.isAnimated&&t.classList.add("fade"),this._element=t}return this._element}_configAfterMerge(t){return t.rootElement=y(t.rootElement),t}_append(){if(this._isAppended)return;const t=this._getElement();this._config.rootElement.append(t),o.on(t,pe,()=>{u(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(t){Ut(t,this._getElement(),this._config.isAnimated)}}const _t=".bs.focustrap",Fn=`focusin${_t}`,jn=`keydown.tab${_t}`,me="backward",Gn={autofocus:!0,trapElement:null},zn={autofocus:"boolean",trapElement:"element"};class ge extends Q{constructor(t){super(),this._config=this._getConfig(t),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return Gn}static get DefaultType(){return zn}static get NAME(){return"focustrap"}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),o.off(document,_t),o.on(document,Fn,t=>this._handleFocusin(t)),o.on(document,jn,t=>this._handleKeydown(t)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,o.off(document,_t))}_handleFocusin(t){const{trapElement:e}=this._config;if(t.target===document||t.target===e||e.contains(t.target))return;const n=l.focusableChildren(e);0===n.length?e.focus():this._lastTabNavDirection===me?n[n.length-1].focus():n[0].focus()}_handleKeydown(t){"Tab"===t.key&&(this._lastTabNavDirection=t.shiftKey?me:"forward")}}const Ae=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",Te=".sticky-top",dt="padding-right",be="margin-right";class It{constructor(){this._element=document.body}getWidth(){const t=document.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}hide(){const t=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,dt,e=>e+t),this._setElementAttributes(Ae,dt,e=>e+t),this._setElementAttributes(Te,be,e=>e-t)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,dt),this._resetElementAttributes(Ae,dt),this._resetElementAttributes(Te,be)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(t,e,n){const i=this.getWidth();this._applyManipulationCallback(t,r=>{if(r!==this._element&&window.innerWidth>r.clientWidth+i)return;this._saveInitialAttribute(r,e);const c=window.getComputedStyle(r).getPropertyValue(e);r.style.setProperty(e,`${n(Number.parseFloat(c))}px`)})}_saveInitialAttribute(t,e){const n=t.style.getPropertyValue(e);n&&N.setDataAttribute(t,e,n)}_resetElementAttributes(t,e){this._applyManipulationCallback(t,i=>{const a=N.getDataAttribute(i,e);null!==a?(N.removeDataAttribute(i,e),i.style.setProperty(e,a)):i.style.removeProperty(e)})}_applyManipulationCallback(t,e){if(b(t))e(t);else for(const n of l.find(t,this._element))e(n)}}const p=".bs.modal",Zn=`hide${p}`,Jn=`hidePrevented${p}`,Ne=`hidden${p}`,Ce=`show${p}`,ti=`shown${p}`,ei=`resize${p}`,si=`click.dismiss${p}`,ni=`mousedown.dismiss${p}`,ii=`keydown.dismiss${p}`,oi=`click${p}.data-api`,ve="modal-open",Mt="modal-static",ui={backdrop:!0,focus:!0,keyboard:!0},_i={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class I extends m{constructor(t,e){super(t,e),this._dialog=l.findOne(".modal-dialog",this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new It,this._addEventListeners()}static get Default(){return ui}static get DefaultType(){return _i}static get NAME(){return"modal"}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||this._isTransitioning||o.trigger(this._element,Ce,{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(ve),this._adjustDialog(),this._backdrop.show(()=>this._showElement(t)))}hide(){!this._isShown||this._isTransitioning||o.trigger(this._element,Zn).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove("show"),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated()))}dispose(){o.off(window,p),o.off(this._dialog,p),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new Ee({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new ge({trapElement:this._element})}_showElement(t){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;const e=l.findOne(".modal-body",this._dialog);e&&(e.scrollTop=0),this._element.classList.add("show"),this._queueCallback(()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,o.trigger(this._element,ti,{relatedTarget:t})},this._dialog,this._isAnimated())}_addEventListeners(){o.on(this._element,ii,t=>{if("Escape"===t.key){if(this._config.keyboard)return void this.hide();this._triggerBackdropTransition()}}),o.on(window,ei,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),o.on(this._element,ni,t=>{o.one(this._element,si,e=>{if(this._element===t.target&&this._element===e.target){if("static"===this._config.backdrop)return void this._triggerBackdropTransition();this._config.backdrop&&this.hide()}})})}_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(ve),this._resetAdjustments(),this._scrollBar.reset(),o.trigger(this._element,Ne)})}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){if(o.trigger(this._element,Jn).defaultPrevented)return;const e=this._element.scrollHeight>document.documentElement.clientHeight,n=this._element.style.overflowY;"hidden"===n||this._element.classList.contains(Mt)||(e||(this._element.style.overflowY="hidden"),this._element.classList.add(Mt),this._queueCallback(()=>{this._element.classList.remove(Mt),this._queueCallback(()=>{this._element.style.overflowY=n},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const t=this._element.scrollHeight>document.documentElement.clientHeight,e=this._scrollBar.getWidth(),n=e>0;if(n&&!t){const i=d()?"paddingLeft":"paddingRight";this._element.style[i]=`${e}px`}if(!n&&t){const i=d()?"paddingRight":"paddingLeft";this._element.style[i]=`${e}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(t,e){return this.each(function(){const n=I.getOrCreateInstance(this,t);if("string"==typeof t){if(typeof n[t]>"u")throw new TypeError(`No method named "${t}"`);n[t](e)}})}}o.on(document,oi,'[data-bs-toggle="modal"]',function(s){const t=l.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&s.preventDefault(),o.one(t,Ce,i=>{i.defaultPrevented||o.one(t,Ne,()=>{H(this)&&this.focus()})});const e=l.findOne(".modal.show");e&&I.getInstance(e).hide(),I.getOrCreateInstance(t).toggle(this)}),rt(I),f(I);const C=".bs.offcanvas",ye=".data-api",fi=`load${C}${ye}`,De="showing",Le=".offcanvas.show",mi=`show${C}`,gi=`shown${C}`,Ai=`hide${C}`,$e=`hidePrevented${C}`,Ie=`hidden${C}`,Ti=`resize${C}`,bi=`click${C}${ye}`,Ni=`keydown.dismiss${C}`,vi={backdrop:!0,keyboard:!0,scroll:!1},Si={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class v extends m{constructor(t,e){super(t,e),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return vi}static get DefaultType(){return Si}static get NAME(){return"offcanvas"}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||o.trigger(this._element,mi,{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._backdrop.show(),this._config.scroll||(new It).hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(De),this._queueCallback(()=>{(!this._config.scroll||this._config.backdrop)&&this._focustrap.activate(),this._element.classList.add("show"),this._element.classList.remove(De),o.trigger(this._element,gi,{relatedTarget:t})},this._element,!0))}hide(){this._isShown&&!o.trigger(this._element,Ai).defaultPrevented&&(this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add("hiding"),this._backdrop.hide(),this._queueCallback(()=>{this._element.classList.remove("show","hiding"),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||(new It).reset(),o.trigger(this._element,Ie)},this._element,!0))}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const e=!!this._config.backdrop;return new Ee({className:"offcanvas-backdrop",isVisible:e,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:e?()=>{"static"!==this._config.backdrop?this.hide():o.trigger(this._element,$e)}:null})}_initializeFocusTrap(){return new ge({trapElement:this._element})}_addEventListeners(){o.on(this._element,Ni,t=>{if("Escape"===t.key){if(this._config.keyboard)return void this.hide();o.trigger(this._element,$e)}})}static jQueryInterface(t){return this.each(function(){const e=v.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t](this)}})}}o.on(document,bi,'[data-bs-toggle="offcanvas"]',function(s){const t=l.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&s.preventDefault(),O(this))return;o.one(t,Ie,()=>{H(this)&&this.focus()});const e=l.findOne(Le);e&&e!==t&&v.getInstance(e).hide(),v.getOrCreateInstance(t).toggle(this)}),o.on(window,fi,()=>{for(const s of l.find(Le))v.getOrCreateInstance(s).show()}),o.on(window,Ti,()=>{for(const s of l.find("[aria-modal][class*=show][class*=offcanvas-]"))"fixed"!==getComputedStyle(s).position&&v.getOrCreateInstance(s).hide()}),rt(v),f(v);const Me={"*":["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:[]},yi=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),Oi=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,Di=(s,t)=>{const e=s.nodeName.toLowerCase();return t.includes(e)?!yi.has(e)||!!Oi.test(s.nodeValue):t.filter(n=>n instanceof RegExp).some(n=>n.test(e))},$i={allowList:Me,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},Ii={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},Mi={entry:"(string|element|function|null)",selector:"(string|element)"};class Ri extends Q{constructor(t){super(),this._config=this._getConfig(t)}static get Default(){return $i}static get DefaultType(){return Ii}static get NAME(){return"TemplateFactory"}getContent(){return Object.values(this._config.content).map(t=>this._resolvePossibleFunction(t)).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(t){return this._checkContent(t),this._config.content={...this._config.content,...t},this}toHtml(){const t=document.createElement("div");t.innerHTML=this._maybeSanitize(this._config.template);for(const[i,a]of Object.entries(this._config.content))this._setContent(t,a,i);const e=t.children[0],n=this._resolvePossibleFunction(this._config.extraClass);return n&&e.classList.add(...n.split(" ")),e}_typeCheckConfig(t){super._typeCheckConfig(t),this._checkContent(t.content)}_checkContent(t){for(const[e,n]of Object.entries(t))super._typeCheckConfig({selector:e,entry:n},Mi)}_setContent(t,e,n){const i=l.findOne(n,t);if(i){if(!(e=this._resolvePossibleFunction(e)))return void i.remove();if(b(e))return void this._putElementInTemplate(y(e),i);if(this._config.html)return void(i.innerHTML=this._maybeSanitize(e));i.textContent=e}}_maybeSanitize(t){return this._config.sanitize?function wi(s,t,e){if(!s.length)return s;if(e&&"function"==typeof e)return e(s);const i=(new window.DOMParser).parseFromString(s,"text/html"),a=[].concat(...i.body.querySelectorAll("*"));for(const r of a){const c=r.nodeName.toLowerCase();if(!Object.keys(t).includes(c)){r.remove();continue}const _=[].concat(...r.attributes),E=[].concat(t["*"]||[],t[c]||[]);for(const h of _)Di(h,E)||r.removeAttribute(h.nodeName)}return i.body.innerHTML}(t,this._config.allowList,this._config.sanitizeFn):t}_resolvePossibleFunction(t){return u(t,[this])}_putElementInTemplate(t,e){if(this._config.html)return e.innerHTML="",void e.append(t);e.textContent=t.textContent}}const ki=new Set(["sanitize","allowList","sanitizeFn"]),Rt="fade",ft="show",Pe="hide.bs.modal",et="hover",Pt="focus",Xi={AUTO:"auto",TOP:"top",RIGHT:d()?"left":"right",BOTTOM:"bottom",LEFT:d()?"right":"left"},Zi={allowList:Me,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,6],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',title:"",trigger:"hover focus"},Ji={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"};class M extends m{constructor(t,e){if(typeof it>"u")throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(t,e),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return Zi}static get DefaultType(){return Ji}static get NAME(){return"tooltip"}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){if(this._isEnabled){if(this._activeTrigger.click=!this._activeTrigger.click,this._isShown())return void this._leave();this._enter()}}dispose(){clearTimeout(this._timeout),o.off(this._element.closest(".modal"),Pe,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if("none"===this._element.style.display)throw new Error("Please use show on visible elements");if(!this._isWithContent()||!this._isEnabled)return;const t=o.trigger(this._element,this.constructor.eventName("show")),n=(jt(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(t.defaultPrevented||!n)return;this._disposePopper();const i=this._getTipElement();this._element.setAttribute("aria-describedby",i.getAttribute("id"));const{container:a}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(a.append(i),o.trigger(this._element,this.constructor.eventName("inserted"))),this._popper=this._createPopper(i),i.classList.add(ft),"ontouchstart"in document.documentElement)for(const c of[].concat(...document.body.children))o.on(c,"mouseover",ot);this._queueCallback(()=>{o.trigger(this._element,this.constructor.eventName("shown")),!1===this._isHovered&&this._leave(),this._isHovered=!1},this.tip,this._isAnimated())}hide(){if(this._isShown()&&!o.trigger(this._element,this.constructor.eventName("hide")).defaultPrevented){if(this._getTipElement().classList.remove(ft),"ontouchstart"in document.documentElement)for(const i of[].concat(...document.body.children))o.off(i,"mouseover",ot);this._activeTrigger.click=!1,this._activeTrigger[Pt]=!1,this._activeTrigger[et]=!1,this._isHovered=null,this._queueCallback(()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),o.trigger(this._element,this.constructor.eventName("hidden")))},this.tip,this._isAnimated())}}update(){this._popper&&this._popper.update()}_isWithContent(){return!!this._getTitle()}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(t){const e=this._getTemplateFactory(t).toHtml();if(!e)return null;e.classList.remove(Rt,ft),e.classList.add(`bs-${this.constructor.NAME}-auto`);const n=(s=>{do{s+=Math.floor(1e6*Math.random())}while(document.getElementById(s));return s})(this.constructor.NAME).toString();return e.setAttribute("id",n),this._isAnimated()&&e.classList.add(Rt),e}setContent(t){this._newContent=t,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(t){return this._templateFactory?this._templateFactory.changeContent(t):this._templateFactory=new Ri({...this._config,content:t,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{".tooltip-inner":this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(t){return this.constructor.getOrCreateInstance(t.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(Rt)}_isShown(){return this.tip&&this.tip.classList.contains(ft)}_createPopper(t){const e=u(this._config.placement,[this,t,this._element]),n=Xi[e.toUpperCase()];return it.createPopper(this._element,t,this._getPopperConfig(n))}_getOffset(){const{offset:t}=this._config;return"string"==typeof t?t.split(",").map(e=>Number.parseInt(e,10)):"function"==typeof t?e=>t(e,this._element):t}_resolvePossibleFunction(t){return u(t,[this._element])}_getPopperConfig(t){const e={placement:t,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:n=>{this._getTipElement().setAttribute("data-popper-placement",n.state.placement)}}]};return{...e,...u(this._config.popperConfig,[e])}}_setListeners(){const t=this._config.trigger.split(" ");for(const e of t)if("click"===e)o.on(this._element,this.constructor.eventName("click"),this._config.selector,n=>{this._initializeOnDelegatedTarget(n).toggle()});else if("manual"!==e){const n=this.constructor.eventName(e===et?"mouseenter":"focusin"),i=this.constructor.eventName(e===et?"mouseleave":"focusout");o.on(this._element,n,this._config.selector,a=>{const r=this._initializeOnDelegatedTarget(a);r._activeTrigger["focusin"===a.type?Pt:et]=!0,r._enter()}),o.on(this._element,i,this._config.selector,a=>{const r=this._initializeOnDelegatedTarget(a);r._activeTrigger["focusout"===a.type?Pt:et]=r._element.contains(a.relatedTarget),r._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},o.on(this._element.closest(".modal"),Pe,this._hideModalHandler)}_fixTitle(){const t=this._element.getAttribute("title");t&&(!this._element.getAttribute("aria-label")&&!this._element.textContent.trim()&&this._element.setAttribute("aria-label",t),this._element.setAttribute("data-bs-original-title",t),this._element.removeAttribute("title"))}_enter(){this._isShown()||this._isHovered?this._isHovered=!0:(this._isHovered=!0,this._setTimeout(()=>{this._isHovered&&this.show()},this._config.delay.show))}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout(()=>{this._isHovered||this.hide()},this._config.delay.hide))}_setTimeout(t,e){clearTimeout(this._timeout),this._timeout=setTimeout(t,e)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(t){const e=N.getDataAttributes(this._element);for(const n of Object.keys(e))ki.has(n)&&delete e[n];return t={...e,..."object"==typeof t&&t?t:{}},t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t.container=!1===t.container?document.body:y(t.container),"number"==typeof t.delay&&(t.delay={show:t.delay,hide:t.delay}),"number"==typeof t.title&&(t.title=t.title.toString()),"number"==typeof t.content&&(t.content=t.content.toString()),t}_getDelegateConfig(){const t={};for(const[e,n]of Object.entries(this._config))this.constructor.Default[e]!==n&&(t[e]=n);return t.selector=!1,t.trigger="manual",t}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(t){return this.each(function(){const e=M.getOrCreateInstance(this,t);if("string"==typeof t){if(typeof e[t]>"u")throw new TypeError(`No method named "${t}"`);e[t]()}})}}f(M);const no={...M.Default,content:"",offset:[0,8],placement:"right",template:'<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>',trigger:"click"},io={...M.DefaultType,content:"(null|string|element|function)"};class pt extends M{static get Default(){return no}static get DefaultType(){return io}static get NAME(){return"popover"}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{".popover-header":this._getTitle(),".popover-body":this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(t){return this.each(function(){const e=pt.getOrCreateInstance(this,t);if("string"==typeof t){if(typeof e[t]>"u")throw new TypeError(`No method named "${t}"`);e[t]()}})}}f(pt);const kt=".bs.scrollspy",ao=`activate${kt}`,ke=`click${kt}`,lo=`load${kt}.data-api`,U="active",Vt="[href]",Ve=".nav-link",_o=`${Ve}, .nav-item > ${Ve}, .list-group-item`,Eo={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},mo={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class st extends m{constructor(t,e){super(t,e),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement="visible"===getComputedStyle(this._element).overflowY?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return Eo}static get DefaultType(){return mo}static get NAME(){return"scrollspy"}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const t of this._observableSections.values())this._observer.observe(t)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(t){return t.target=y(t.target)||document.body,t.rootMargin=t.offset?`${t.offset}px 0px -30%`:t.rootMargin,"string"==typeof t.threshold&&(t.threshold=t.threshold.split(",").map(e=>Number.parseFloat(e))),t}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(o.off(this._config.target,ke),o.on(this._config.target,ke,Vt,t=>{const e=this._observableSections.get(t.target.hash);if(e){t.preventDefault();const n=this._rootElement||window,i=e.offsetTop-this._element.offsetTop;if(n.scrollTo)return void n.scrollTo({top:i,behavior:"smooth"});n.scrollTop=i}}))}_getNewObserver(){return new IntersectionObserver(e=>this._observerCallback(e),{root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin})}_observerCallback(t){const e=r=>this._targetLinks.get(`#${r.target.id}`),n=r=>{this._previousScrollData.visibleEntryTop=r.target.offsetTop,this._process(e(r))},i=(this._rootElement||document.documentElement).scrollTop,a=i>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=i;for(const r of t){if(!r.isIntersecting){this._activeTarget=null,this._clearActiveClass(e(r));continue}const c=r.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(a&&c){if(n(r),!i)return}else!a&&!c&&n(r)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const t=l.find(Vt,this._config.target);for(const e of t){if(!e.hash||O(e))continue;const n=l.findOne(decodeURI(e.hash),this._element);H(n)&&(this._targetLinks.set(decodeURI(e.hash),e),this._observableSections.set(e.hash,n))}}_process(t){this._activeTarget!==t&&(this._clearActiveClass(this._config.target),this._activeTarget=t,t.classList.add(U),this._activateParents(t),o.trigger(this._element,ao,{relatedTarget:t}))}_activateParents(t){if(t.classList.contains("dropdown-item"))l.findOne(".dropdown-toggle",t.closest(".dropdown")).classList.add(U);else for(const e of l.parents(t,".nav, .list-group"))for(const n of l.prev(e,_o))n.classList.add(U)}_clearActiveClass(t){t.classList.remove(U);const e=l.find(`${Vt}.${U}`,t);for(const n of e)n.classList.remove(U)}static jQueryInterface(t){return this.each(function(){const e=st.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t]()}})}}o.on(window,lo,()=>{for(const s of l.find('[data-bs-spy="scroll"]'))st.getOrCreateInstance(s)}),f(st);const R=".bs.tab",Ao=`hide${R}`,To=`hidden${R}`,bo=`show${R}`,No=`shown${R}`,Co=`click${R}`,vo=`keydown${R}`,So=`load${R}`,yo="ArrowLeft",He="ArrowRight",Oo="ArrowUp",xe="ArrowDown",Ht="Home",Ke="End",P="active",xt="show",Kt=":not(.dropdown-toggle)",Ye='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',Wt=`.nav-link${Kt}, .list-group-item${Kt}, [role="tab"]${Kt}, ${Ye}`,Ro=`.${P}[data-bs-toggle="tab"], .${P}[data-bs-toggle="pill"], .${P}[data-bs-toggle="list"]`;class k extends m{constructor(t){super(t),this._parent=this._element.closest('.list-group, .nav, [role="tablist"]'),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),o.on(this._element,vo,e=>this._keydown(e)))}static get NAME(){return"tab"}show(){const t=this._element;if(this._elemIsActive(t))return;const e=this._getActiveElem(),n=e?o.trigger(e,Ao,{relatedTarget:t}):null;o.trigger(t,bo,{relatedTarget:e}).defaultPrevented||n&&n.defaultPrevented||(this._deactivate(e,t),this._activate(t,e))}_activate(t,e){t&&(t.classList.add(P),this._activate(l.getElementFromSelector(t)),this._queueCallback(()=>{"tab"===t.getAttribute("role")?(t.removeAttribute("tabindex"),t.setAttribute("aria-selected",!0),this._toggleDropDown(t,!0),o.trigger(t,No,{relatedTarget:e})):t.classList.add(xt)},t,t.classList.contains("fade")))}_deactivate(t,e){t&&(t.classList.remove(P),t.blur(),this._deactivate(l.getElementFromSelector(t)),this._queueCallback(()=>{"tab"===t.getAttribute("role")?(t.setAttribute("aria-selected",!1),t.setAttribute("tabindex","-1"),this._toggleDropDown(t,!1),o.trigger(t,To,{relatedTarget:e})):t.classList.remove(xt)},t,t.classList.contains("fade")))}_keydown(t){if(![yo,He,Oo,xe,Ht,Ke].includes(t.key))return;t.stopPropagation(),t.preventDefault();const e=this._getChildren().filter(i=>!O(i));let n;if([Ht,Ke].includes(t.key))n=e[t.key===Ht?0:e.length-1];else{const i=[He,xe].includes(t.key);n=Nt(e,t.target,i,!0)}n&&(n.focus({preventScroll:!0}),k.getOrCreateInstance(n).show())}_getChildren(){return l.find(Wt,this._parent)}_getActiveElem(){return this._getChildren().find(t=>this._elemIsActive(t))||null}_setInitialAttributes(t,e){this._setAttributeIfNotExists(t,"role","tablist");for(const n of e)this._setInitialAttributesOnChild(n)}_setInitialAttributesOnChild(t){t=this._getInnerElement(t);const e=this._elemIsActive(t),n=this._getOuterElement(t);t.setAttribute("aria-selected",e),n!==t&&this._setAttributeIfNotExists(n,"role","presentation"),e||t.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(t,"role","tab"),this._setInitialAttributesOnTargetPanel(t)}_setInitialAttributesOnTargetPanel(t){const e=l.getElementFromSelector(t);e&&(this._setAttributeIfNotExists(e,"role","tabpanel"),t.id&&this._setAttributeIfNotExists(e,"aria-labelledby",`${t.id}`))}_toggleDropDown(t,e){const n=this._getOuterElement(t);if(!n.classList.contains("dropdown"))return;const i=(a,r)=>{const c=l.findOne(a,n);c&&c.classList.toggle(r,e)};i(".dropdown-toggle",P),i(".dropdown-menu",xt),n.setAttribute("aria-expanded",e)}_setAttributeIfNotExists(t,e,n){t.hasAttribute(e)||t.setAttribute(e,n)}_elemIsActive(t){return t.classList.contains(P)}_getInnerElement(t){return t.matches(Wt)?t:l.findOne(Wt,t)}_getOuterElement(t){return t.closest(".nav-item, .list-group-item")||t}static jQueryInterface(t){return this.each(function(){const e=k.getOrCreateInstance(this);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t]()}})}}o.on(document,Co,Ye,function(s){["A","AREA"].includes(this.tagName)&&s.preventDefault(),!O(this)&&k.getOrCreateInstance(this).show()}),o.on(window,So,()=>{for(const s of l.find(Ro))k.getOrCreateInstance(s)}),f(k);const w=".bs.toast",ko=`mouseover${w}`,Vo=`mouseout${w}`,Ho=`focusin${w}`,xo=`focusout${w}`,Ko=`hide${w}`,Wo=`hidden${w}`,Yo=`show${w}`,Fo=`shown${w}`,Et="show",mt="showing",Bo={animation:"boolean",autohide:"boolean",delay:"number"},Uo={animation:!0,autohide:!0,delay:5e3};class nt extends m{constructor(t,e){super(t,e),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return Uo}static get DefaultType(){return Bo}static get NAME(){return"toast"}show(){o.trigger(this._element,Yo).defaultPrevented||(this._clearTimeout(),this._config.animation&&this._element.classList.add("fade"),this._element.classList.remove("hide"),this._element.classList.add(Et,mt),this._queueCallback(()=>{this._element.classList.remove(mt),o.trigger(this._element,Fo),this._maybeScheduleHide()},this._element,this._config.animation))}hide(){this.isShown()&&!o.trigger(this._element,Ko).defaultPrevented&&(this._element.classList.add(mt),this._queueCallback(()=>{this._element.classList.add("hide"),this._element.classList.remove(mt,Et),o.trigger(this._element,Wo)},this._element,this._config.animation))}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(Et),super.dispose()}isShown(){return this._element.classList.contains(Et)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay)))}_onInteraction(t,e){switch(t.type){case"mouseover":case"mouseout":this._hasMouseInteraction=e;break;case"focusin":case"focusout":this._hasKeyboardInteraction=e}if(e)return void this._clearTimeout();const n=t.relatedTarget;this._element===n||this._element.contains(n)||this._maybeScheduleHide()}_setListeners(){o.on(this._element,ko,t=>this._onInteraction(t,!0)),o.on(this._element,Vo,t=>this._onInteraction(t,!1)),o.on(this._element,Ho,t=>this._onInteraction(t,!0)),o.on(this._element,xo,t=>this._onInteraction(t,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(t){return this.each(function(){const e=nt.getOrCreateInstance(this,t);if("string"==typeof t){if(typeof e[t]>"u")throw new TypeError(`No method named "${t}"`);e[t](this)}})}}return rt(nt),f(nt),{Alert:X,Button:Z,Carousel:Y,Collapse:j,Dropdown:g,Modal:I,Offcanvas:v,Popover:pt,ScrollSpy:st,Tab:k,Toast:nt,Tooltip:M}});
|